agent-Specialization/core
JOJO e5808ea5be refactor(server,web): remove Socket.IO entirely, unify on REST polling
- task event stream (_append_event) is now the sole realtime channel for web and CLI
- status snapshots: idle 5s polling of /api/status (was status_update push); operation initiator gets state from REST responses
- terminal panel: REST polling (list 5s, output 1.5s, prefix-matched incremental xterm writes)
- multi-tab passive sync deliberately degrades to polling-based perception
- delete socket_handlers/broadcast/useLegacySocket (2103-line dead file); extensions.py keeps only run_background
- remove socket token chain (/api/socket-token, prune/consume_socket_token, pending_socket_tokens)
- app.run(threaded=True) replaces socketio.run; reapers switched to plain threading
- drop flask-socketio/socket.io-client/websockets dependencies
- docs: AGENTS.md section 12.5 (replacement map + hard constraints), plus CLI rewrite companion doc updates

Co-authored-by: Astrion powered by Kimi-K3 <astrion-agent@users.noreply.github.com>
2026-09-11 17:28:47 +08:00
..
main_terminal_parts feat(tools): edit_file old_string 不足3行升级为硬拒绝 2026-09-10 19:14:36 +08:00
main_terminal.py feat(execution-plane): Execution Contract 与替身执行器(改造第 4 步) 2026-09-07 23:00:31 +08:00
tool_config.py refactor(tools): remove zombie close_sub_agent tool 2026-09-10 13:41:12 +08:00
tool_loading.py feat(tools): 工具动态加载——低频工具按需注入,对话文件快照为准 2026-09-10 17:07:15 +08:00
web_terminal.py refactor(server,web): remove Socket.IO entirely, unify on REST polling 2026-09-11 17:28:47 +08:00