Add websitebuilder app
This commit is contained in:
26
.tmp/tasks/phase2-core-features/subtask_08.json
Normal file
26
.tmp/tasks/phase2-core-features/subtask_08.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"id": "phase2-core-features-08",
|
||||
"seq": "08",
|
||||
"title": "Create message APIs with streaming",
|
||||
"status": "pending",
|
||||
"depends_on": ["07"],
|
||||
"parallel": false,
|
||||
"context_files": [
|
||||
"/Users/kunthawatgreethong/Gitea/moreminimore-vibe/Websitebuilder/.tmp/sessions/phase1-foundation/context.md",
|
||||
"/Users/kunthawatgreethong/Gitea/moreminimore-vibe/Websitebuilder/SPECIFICATION.md"
|
||||
],
|
||||
"acceptance_criteria": [
|
||||
"POST /api/chats/:id/messages creates user message",
|
||||
"GET /api/chats/:id/messages returns chat messages",
|
||||
"Message streaming endpoint returns chunks",
|
||||
"Messages stored with metadata (tokens, tool calls)",
|
||||
"Message order preserved by timestamp",
|
||||
"Streaming handles connection errors"
|
||||
],
|
||||
"deliverables": [
|
||||
"src/app/api/chats/[id]/messages/route.ts",
|
||||
"src/app/api/chats/[id]/messages/stream/route.ts",
|
||||
"src/services/message.service.ts",
|
||||
"src/lib/db/schema.ts (messages table)"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user