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/chat route.
- Add pathless
_chat.tsx layout containing the chat input/composer.
- Add
chat.tsx child route rendering streamed assistant output.
- Add
POST /api/chat/run endpoint 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
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.workspaceId in follow-up phases.
Goal
Validate a project-scoped chat route using TanStack AI with SolidType-style durable stream output, rendered live in the client.
Minimal Scope
/app/projects/:projectId/chatroute._chat.tsxlayout containing the chat input/composer.chat.tsxchild route rendering streamed assistant output.POST /api/chat/runendpoint using TanStack AI for model streaming.Acceptance Criteria
/app/projects/:projectId/chatand receive a streamed assistant response._chat.tsxpathless layout, not per-child route.Related Feature
Unlocks: persistence, multi-session UX, workspace-wide chat index.
Additional Context
content,tool_call,tool_result,done,error).user.workspaceIdin follow-up phases.