Add websitebuilder app
Some checks failed
CI / build (push) Has been cancelled
CI / test (push) Has been cancelled
CI / e2e (push) Has been cancelled
CI / lint (push) Has been cancelled

This commit is contained in:
Kunthawat Greethong
2026-01-26 12:50:12 +07:00
parent 93cfc18d1f
commit 4d1bb6892b
227 changed files with 35610 additions and 75 deletions

View 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)"
]
}