agent-Specialization/static/src/stores
JOJO ae70e4902e refactor(stop-button): 拆分停止按钮和后台任务控制
停止按钮现在只停主智能体,与后台任务无关。
- 后端 cancel_task 简化:移除两段式判断、force_stop参数、is_ma_mode分支
- 删除 _force_stop_multi_agent 方法
- 新增 /api/sub_agents/stop_all 接口(mode=terminate/soft_stop)
- 前端 stopTask 移除 forceStop 概念,只取消主智能体
- 取消期间不再二次点击终结子智能体

子智能体停止按钮:
- InputComposer state bar 加'x个子智能体运行中'按钮
- 独立浮层显示,不依赖 git 栏(参考 askuser 方案)
- 点击传统模式弹窗终结;多智能体弹窗软停止
- App.vue 新增 handleStopAllSubAgents 调 ui.confirmDialog

后台指令停止按钮:
- LeftPanel 后台指令标签右边加停止按钮
- 仅当 panelMode=backgroundCommands 且存在运行中后台指令时显示
- 调 backgroundCommandStore.stopAllCommands 无二次确认

showStopIcon 只看主对话 streaming 状态:
- 后台任务在跑但主对话空闲时显示发送按钮
- 多智能体 / 传统模式统一处理

子智能体 store 加 stopAllAgents(mode) action 调新 API

useLegacySocket task_stopped handler 简化:
- 移除 multi_agent_reloaded 重载
- 移除'再次按下停止按钮以结束后台任务'提示
- 保留 has_running_multi_agent/sub_agents 用于 taskInProgress 判定

清理调试日志:[TaskCancel][stop_debug], [STOP_DEBUG] 全部去掉
保留 ma_debug 框架用于多智能体调试
2026-07-14 18:34:56 +08:00
..
backgroundCommand.ts wip(multi-agent): 停止按钮软停止链路调试日志+对话切换500修复+子智能体进度面板+多智能体软停止机制 2026-07-14 17:50:15 +08:00
chat.ts Fix: user message timestamp from backend, bubble action layout 2026-06-28 01:48:18 +08:00
chatActions.ts feat(web): remove socket dependency from main chat flow 2026-04-03 11:34:42 +08:00
connection.ts feat: restore run mode personalization 2025-12-02 19:03:33 +08:00
conversation.ts fix(multi-agent): 跨事件循环问答、线程安全取消、任务结束汇报格式、工具参数可选 2026-07-12 15:09:16 +08:00
file.ts refactor(frontend): 整理应用逻辑层与状态管理 2026-04-10 14:34:01 +08:00
focus.ts feat: modularize frontend layout 2025-11-25 22:41:15 +08:00
input.ts feat(goal): add autonomous goal mode workflow 2026-05-30 12:51:42 +08:00
model.ts Fix: user message timestamp from backend, bubble action layout 2026-06-28 01:48:18 +08:00
monitor.ts feat(memory): 新增项目记忆系统,整合总体+项目记忆注入 2026-06-10 15:14:01 +08:00
personalization.ts feat(ui): 极简模式展开高度限制开关与个人空间持久化 2026-07-11 19:58:35 +08:00
policy.ts refactor(frontend): 整理应用逻辑层与状态管理 2026-04-10 14:34:01 +08:00
resource.ts perf(status): defer docker stats on startup 2026-05-29 13:55:54 +08:00
subAgent.ts refactor(stop-button): 拆分停止按钮和后台任务控制 2026-07-14 18:34:56 +08:00
task.ts refactor(stop-button): 拆分停止按钮和后台任务控制 2026-07-14 18:34:56 +08:00
tool.ts refactor(frontend): 整理应用逻辑层与状态管理 2026-04-10 14:34:01 +08:00
tutorial.ts feat(branding): 将产品名统一为 Astrion 2026-07-07 18:17:48 +08:00
ui.ts feat(terminal): 实时终端改造为侧边栏面板,支持拖拽分割与自动开关 2026-06-12 00:18:27 +08:00
upload.ts fix(android): 修复App文件下载、PDF卡片展示与本地媒体发送 2026-06-24 00:59:48 +08:00