2 Commits

Author SHA1 Message Date
kuaifan
77ebdd2ccb fix(ai): 前端仅在任务/项目对话中显示 /analyze 命令
- /analyze 命令仅在 group_type 为 task 或 project 时显示
- /summarize 命令保持在所有对话类型中可用
- 统一变量名 notifyMsgId -> pendingMsgId

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-01-25 12:32:38 +00:00
kuaifan
5ee5f253ec feat(ai): 添加 /analyze 和 /summarize 对话命令
- 新增 AiDialogCommand 模块处理 AI 命令业务逻辑
- 新增 AiDialogCommandTask 异步任务
- /analyze: 任务对话分析任务状态,项目对话分析项目健康度
- /summarize: 总结对话中的讨论内容
- 前端 ChatInput 添加斜杠命令菜单项
- 支持并发控制,同一对话同时只能执行一个 AI 命令
- 执行状态通过 notice 消息实时反馈

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-01-25 02:07:39 +00:00