agent-Specialization/modules
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
..
__pycache__ <fix thinking chunk> 2025-11-19 20:47:56 +08:00
file_manager feat(versioning): 重构版本控制为对话级浅备份 + 可选完全备份 2026-07-07 12:07:44 +08:00
mcp_client_manager fix(mcp_client_manager): restore missing imports and dataclass decorators after split 2026-06-25 11:56:19 +08:00
multi_agent wip(multi-agent): 停止按钮软停止链路调试日志+对话切换500修复+子智能体进度面板+多智能体软停止机制 2026-07-14 17:50:15 +08:00
persistent_terminal fix(frontend): 修复刷新后AI等待提示与终端侧边栏重复问题 2026-06-22 20:35:00 +08:00
sub_agent refactor(stop-button): 拆分停止按钮和后台任务控制 2026-07-14 18:34:56 +08:00
terminal_ops fix(terminal_ops): ssh 远程命令中避免重写 /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/bin/python3.9/pip 路径 2026-06-24 17:33:12 +08:00
admin_policy_manager.py fix(mcp): split categories by server and preserve toggle states 2026-04-27 01:42:40 +08:00
api_user_manager.py feat(multi-agent): 子智能体系统升级 2026-07-14 02:28:45 +08:00
approval_agent.py refactor(paths): 统一迁移运行态数据路径到 Astrion 命名空间 2026-07-10 00:35:15 +08:00
auto_approval_service.py fix(permission,docker): enforce docker-specific approval flow and polish permission menu layout 2026-05-11 22:56:10 +08:00
background_command_manager.py feat: 宿主机模式网络沙箱 2026-06-19 00:22:30 +08:00
balance_client.py refactor(config): 统一配置源,迁移数据到 ~/.agents/agents/ 2026-06-13 21:37:02 +08:00
container_file_proxy.py fix(prompt): merge disabled-tool notice into leading system prompts 2026-05-09 18:56:49 +08:00
container_monitor.py docs: refresh readme and phase2 summary 2025-11-23 21:24:09 +08:00
custom_tool_executor.py refactor: remove run_python tool, consolidate all execution to run_command 2026-06-07 16:23:01 +08:00
custom_tool_registry.py feat: add custom tools guide and id validation 2026-01-05 21:46:55 +08:00
easter_egg_manager.py feat: modularize easter egg effects 2025-11-22 13:07:54 +08:00
goal_review_agent.py refactor(paths): 统一迁移运行态数据路径到 Astrion 命名空间 2026-07-10 00:35:15 +08:00
goal_state_manager.py feat(goal): add autonomous goal mode workflow 2026-05-30 12:51:42 +08:00
gui_file_manager.py chore: initial import 2025-11-14 16:44:12 +08:00
host_sandbox_policy.py refactor(paths): 统一迁移运行态数据路径到 Astrion 命名空间 2026-07-10 00:35:15 +08:00
host_sandbox_runner.py feat(sandbox): macOS host sandbox deny-list for sensitive paths 2026-07-09 16:25:04 +08:00
host_workspace_manager.py feat: support setting default workspace/project from frontend 2026-06-19 21:48:24 +08:00
mcp_server_registry.py fix(mcp): split categories by server and preserve toggle states 2026-04-27 01:42:40 +08:00
memory_manager.py feat: index-based memory tool with append/replace/delete 2025-12-14 17:56:18 +08:00
ocr_client.py fix: allow WebTerminal init without OCR API key (openai>=2.40 requires key) 2026-06-19 01:35:39 +08:00
personalization_manager.py feat(ui): 极简模式展开高度限制开关与个人空间持久化 2026-07-11 19:58:35 +08:00
search_engine.py fix(search): 移除 web_search 的 Tavily AI 摘要 2026-06-22 00:18:29 +08:00
shallow_versioning.py fix(versioning): 修复浅备份文件修改归属错误及列表/详情不一致 2026-07-09 18:45:40 +08:00
skill_hint_manager.py chore: add docs and remove sub_agent 2026-03-17 22:46:43 +08:00
skills_manager.py refactor(paths): 统一迁移运行态数据路径到 Astrion 命名空间 2026-07-10 00:35:15 +08:00
terminal_manager.py fix(frontend): 修复刷新后AI等待提示与终端侧边栏重复问题 2026-06-22 20:35:00 +08:00
todo_manager.py feat: support batch todo updates 2026-01-30 18:50:02 +08:00
tool_approval_manager.py feat(permission): add auto-approval mode with approval agent, UI flow, and docs sync 2026-05-11 17:55:27 +08:00
toolbox_container.py refactor: remove run_python tool, consolidate all execution to run_command 2026-06-07 16:23:01 +08:00
upload_security.py feat: add upload quarantine scanning and ui toasts 2025-11-24 14:31:13 +08:00
usage_tracker.py fix: improve api error diagnostics and raise model quotas 2026-03-06 17:02:19 +08:00
user_container_manager.py feat(security): harden host execution model with sandbox/direct controls 2026-05-10 19:19:01 +08:00
user_manager.py feat(multi-agent): 子智能体系统升级 2026-07-14 02:28:45 +08:00
user_question_manager.py feat: add blocking user question tool 2026-05-28 16:30:55 +08:00
versioning_manager.py refactor(paths): 统一迁移运行态数据路径到 Astrion 命名空间 2026-07-10 00:35:15 +08:00
webpage_extractor.py chore: initial import 2025-11-14 16:44:12 +08:00