oudecheng
881fcace47
feat: 添加 todo_write 工具,支持全量替换和增量合并两种模式
- Tool: 纯内存实现 (Arc<RwLock<HashMap>>),零 DB 依赖,解耦持久化
- 状态机: pending → in_progress → completed/cancelled,单 in_progress 约束
- merge=false: 全量替换模式(默认)
- merge=true: 增量更新模式,只传变更的项,其余保留
- 隔离: scope_key = topic_id.unwrap_or(session_id),topic 和子代理隔离
- 持久化: TodoRepository trait + SessionStore SQLite 实现,在 Session 拦截器层完成
- 前端推送: WsOutbound::TodoList 事件
- Prompt: TodoPromptProvider 中文指令,子代理模板也包含
- 测试: 16 个单元测试,全部通过
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-12 14:19:07 +08:00
..
2026-06-12 14:19:07 +08:00
2026-06-02 10:59:13 +08:00
2026-05-21 16:30:09 +08:00
2026-05-21 16:30:09 +08:00
2026-06-04 17:33:01 +08:00
2026-05-19 15:18:04 +08:00
2026-05-01 16:07:20 +08:00
2026-06-06 14:52:54 +08:00
2026-06-06 14:52:54 +08:00
2026-06-12 14:19:07 +08:00
2026-04-28 14:16:30 +08:00
2026-05-21 16:30:09 +08:00
2026-04-28 10:33:31 +08:00
2026-06-11 09:44:47 +08:00
2026-05-21 16:30:09 +08:00
2026-05-23 21:12:39 +08:00
2026-05-21 16:30:09 +08:00
2026-06-12 14:19:07 +08:00
2026-05-20 18:11:16 +08:00
2026-05-01 16:07:20 +08:00