-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
tracer-bulletEnd-to-end slice to validate approachEnd-to-end slice to validate approach
Description
Goal
Validate a project-scoped chat route using TanStack AI with SolidType-style durable stream output, rendered live in the client.
Minimal Scope
- Implement
/app/projects/:projectId/chatroute. - Add pathless
_chat.tsxlayout containing the chat input/composer. - Add
chat.tsxchild route rendering streamed assistant output. - Add
POST /api/chat/runendpoint using TanStack AI for model streaming. - Write stream chunks to durable stream using the SolidType event schema.
- Subscribe client UI to durable stream and render incoming chunks.
- Happy path only; defer edge/error handling and polish.
Acceptance Criteria
- User can send a message from
/app/projects/:projectId/chatand receive a streamed assistant response. - Durable stream output is visible in the client and drives rendered chat updates.
- Chat input lives in
_chat.tsxpathless layout, not per-child route. - Document implementation learnings and constraints for follow-on phases.
Related Feature
Unlocks: persistence, multi-session UX, workspace-wide chat index.
Additional Context
- Use SolidType durable stream event conventions (
content,tool_call,tool_result,done,error). - Workspace context will come from
user.workspaceIdin follow-up phases.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
tracer-bulletEnd-to-end slice to validate approachEnd-to-end slice to validate approach