## 背景 Fusion Studio 正在构建项目级知识库功能 (对标 Claude.ai Projects),需要调用 fusion-code 的 memdir/session/CLAUDE.md 解析能力。 ## 当前状态 fusion-code 的以下功能仅在 CLI 内部使用,无法从外部程序调用: - memdir (MEMORY.md 管理) - session history - CLAUDE.md 解析 - agent memory ## 请求 暴露项目级 API,供 Fusion Studio 通过 HTTP/JSON-RPC 调用: 1. **项目上下文 API**: `GET /api/project/context` — 返回项目 CLAUDE.md + MEMORY.md 内容 2. **Session History API**: `GET /api/sessions` / `GET /api/sessions/:id` — 列出/获取会话历史 3. **Memory API**: `GET /api/memory` / `POST /api/memory` — 读写项目记忆 ## 用例 - Fusion Studio ProjectsPanel 展示项目上下文 - 对话历史恢复 - 项目记忆持久化 ## 优先级 P0 — 阻塞 Fusion Studio 项目级对话绑定功能
Activity
dahai80 commentedon Jul 29, 2026
PR: #15
fix(doctor): /doctor 检测 FUSION_* vs ANTHROPIC_* 环境变量冲突 (P4.2 §6) (#90)
feat(div-anthropic): /doctor MLX 网关连通 + 模型加载探测 (P4.2 #1+#3) (#92)
feat(plugins): .fusion-plugin manifest schemaVersion + sha256 STRICT …
refactor(screens): extract resume metadata-clear + haiku-reset (audit…
docs: report #6 - clear residual FILL markers in section 3
docs: report #6 - resume validation 1/3, cap is the binding constraint
Merge pull request #368 from dahai80/docs-report6