You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: expose artifact creation chat API for AI-driven generation #3
Fusion Studio needs an API to create artifacts through AI conversation, not just manual form submission. The flow should be:
User selects artifact kind (app/game/tool/document/template/code)
User describes what they want in natural language
AI generates artifact content (HTML/markdown/code)
Content is streamed back for real-time preview
User iterates via follow-up messages
Proposed API
POST /v1/artifact/chat
{
"kind": "app",
"message": "Build a todo app with dark theme",
"session_id": "..."
}
Response (streaming):
data: {"type": "content", "delta": "<html>..."}
data: {"type": "content", "delta": "<style>..."}
data: {"type": "done", "artifact_id": "..."}
Requirements
Accept kind parameter to guide generation (app→HTML with interactivity, document→markdown structure, etc.)
System prompt includes kind-specific conventions
Streaming output for real-time preview
Return structured artifact metadata on completion
Motivation
Fusion Studio has implemented the UI side (template picker → AI chat sheet → preview). We need the backend API to power this flow. Currently we use AgentBridge.infer() as a workaround, but a dedicated artifact creation API would be cleaner and more reliable.
Activity
release: v0.3.1 — SDK control protocol for code.* and artifact_chat APIs
feat(div-anthropic): /doctor MLX 网关连通 + 模型加载探测 (P4.2 #1+#3) (#92)
chore(release): v0.4.23 补丁版本 (#97)
feat(llm): ctx.llm capability seam (ar-plan PR #3, S1.a) (#155)
feat(llm): ctx.fs + ctx.tools + ctx.exec + ctx.sandbox capability sea…
refactor(screens): extract resume COORDINATOR_MODE match+agent-defs r…
feat(insight-0902): G1 ctx seam ISP/context-management migration
fix: 清零三份审计报告的全部存量问题 (v1 #2/#4 + lint 23→0)
Merge pull request #324 from dahai80/docs/research-report-r3