Skip to content

Refactor/code organization#92

Open
Avyakta000 wants to merge 3 commits intomainfrom
refactor/code-organization
Open

Refactor/code organization#92
Avyakta000 wants to merge 3 commits intomainfrom
refactor/code-organization

Conversation

@Avyakta000
Copy link
Copy Markdown
Collaborator

No description provided.

…docs

- Adds file-level header summarizing all responsibilities of the route
- Organizes POST handler into clearly labeled sections (auth, action flags,
  edit-message sync, title generation, pre-stream persistence, normalization,
  stream setup, response, and onFinish persistence)
- Adds JSDoc on all helper functions explaining their purpose and parameters
- Adds inline "why" comments to explain non-obvious decisions (e.g. why
  getSession() is used instead of getUser() in the streaming context)
- No logic changes — pure documentation and readability improvement
… Allow public GraphQL queries (e.g. getMcpServers) without auth- Only enforce authentication for user-specific GraphQL operations- Harden shared chat persistence with ownership checks- Fix chat route and playground for secure message handling- Add migration for shared chats security policy
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mcp-client Ready Ready Preview, Comment Mar 30, 2026 8:21pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant