agent-Specialization/server
JOJO be061bec78 fix(server): 停止标志改为任务级隔离,修复并行对话互相停止
stop_flags 此前以 user:{username} 级共享 entry:任务启动时兜底复用并
mutate 共享 entry(task/loop 引用被后启动任务覆盖),stop 标志经用户级
key 广播——停任意一个对话,同用户所有并行对话(含跨工作区、传统与
多智能体混合)全部停止,cancel_task 还可能取消错 task 对象。

- state.py: get_stop_flag 新增 include_user 参数;clear_stop_flag 仅在
  user 级索引仍指向本任务 entry 时才清理
- chat_flow.py process_message_task: 每任务新建独立 entry,不再复用
- 8 处运行期检查点(流式/工具循环/重试等待/两个 poll/主循环)改为
  include_user=False,只查任务级 key
- socket 链路(connect 恢复/disconnect/stop_task)保留用户级索引语义

验证: 冒烟 6 用例 OK;并行场景 9 断言脚本验证通过
2026-08-08 23:59:23 +08:00
..
chat feat(ask-user): 弹窗新增「不回答」选项 2026-08-07 14:31:05 +08:00
status fix(windows): 平台适配与稳定性修复(进程终止/编码/原子写/事件竞态/子智能体) 2026-07-31 11:33:57 +08:00
tasks fix(skills): skill 文件读取等待同步窗口,避免并发全量同步误判不存在 2026-08-02 00:00:41 +08:00
__init__.py refactor(cleanup): 移除余额查询功能、清理前端调试日志、规整终端输出 2026-07-25 12:07:04 +08:00
admin.py feat(admin): 二级密码未配置时显示设置引导页,登录 Docker 报错改为原地弹窗 2026-07-25 16:52:42 +08:00
api_auth.py feat: add api admin ui and container status fix 2026-01-25 10:49:52 +08:00
api_v1.py fix(windows): 平台适配与稳定性修复(进程终止/编码/原子写/事件竞态/子智能体) 2026-07-31 11:33:57 +08:00
app_legacy.py refactor(naming): 移除代码中的第三方产品名 2026-07-28 18:43:03 +08:00
app.py refactor: split web_server into modular architecture 2026-01-22 09:21:53 +08:00
auth_helpers.py fix: persist onboarding prompt status and bump android app to 1.0.20 2026-04-07 20:08:33 +08:00
auth.py fix(host): 启动时不再自动创建默认工作区,改为等待用户手动创建 2026-07-29 23:21:06 +08:00
chat_flow_helpers.py refactor(naming): 移除代码中的第三方产品名 2026-07-28 18:43:03 +08:00
chat_flow_runner_helpers.py fix(frontend): 修复多个前端交互问题 2026-07-15 00:31:13 +08:00
chat_flow_runner.py feat: 移除实验性间隔思考模式,推理强度前置到前端 2026-07-21 13:47:53 +08:00
chat_flow_runtime.py feat: 移除实验性间隔思考模式,推理强度前置到前端 2026-07-21 13:47:53 +08:00
chat_flow_stream_loop.py fix(server): 停止标志改为任务级隔离,修复并行对话互相停止 2026-08-08 23:59:23 +08:00
chat_flow_task_main.py fix(server): 停止标志改为任务级隔离,修复并行对话互相停止 2026-08-08 23:59:23 +08:00
chat_flow_task_runner.py refactor: isolate chat task main pipeline module 2026-03-07 20:32:02 +08:00
chat_flow_task_support.py fix(server): 停止标志改为任务级隔离,修复并行对话互相停止 2026-08-08 23:59:23 +08:00
chat_flow_tool_loop.py fix(server): 停止标志改为任务级隔离,修复并行对话互相停止 2026-08-08 23:59:23 +08:00
chat_flow.py fix(server): 停止标志改为任务级隔离,修复并行对话互相停止 2026-08-08 23:59:23 +08:00
context.py fix(host): 修复零工作区新部署的前端死锁 2026-07-30 15:21:02 +08:00
conversation_bootstrap.py feat(quickdock): 新增对话区右侧快捷窗口(待办/子智能体/后台指令/文件记录) 2026-07-22 00:52:36 +08:00
conversation_stats.py refactor(cleanup): 移除余额查询功能、清理前端调试日志、规整终端输出 2026-07-25 12:07:04 +08:00
conversation.py perf(host): 新建对话延迟从10s降至3s并消除后台日志刷屏 2026-07-30 17:42:12 +08:00
deep_compression.py feat(compression): 深度压缩提示词支持轮次/最新输入占位与运行时状态注入 2026-07-26 00:55:24 +08:00
extensions.py refactor: split web_server into modular architecture 2026-01-22 09:21:53 +08:00
files.py feat(input): support file mentions 2026-07-04 22:58:58 +08:00
goal_flow.py fix(ui): refine message visibility and goal approval flow 2026-05-30 16:30:05 +08:00
monitor.py refactor: split web_server into modular architecture 2026-01-22 09:21:53 +08:00
multi_agent.py feat(sub-agent): 子智能体最大轮次支持个人空间自定义 2026-07-31 22:40:20 +08:00
security.py feat: add api v1 bearer auth and polling docs 2026-01-24 02:35:07 +08:00
socket_handlers.py refactor(cleanup): 移除余额查询功能、清理前端调试日志、规整终端输出 2026-07-25 12:07:04 +08:00
state.py fix(server): 停止标志改为任务级隔离,修复并行对话互相停止 2026-08-08 23:59:23 +08:00
usage.py refactor: split web_server into modular architecture 2026-01-22 09:21:53 +08:00
utils_common.py refactor(runtime): 运行态数据迁出源码树到 ~/.agents,日志默认关并加轮转,清理实验残留 2026-06-01 13:17:32 +08:00
work_timer.py fix: 修复对话计时器持久化、子智能体工具美化与状态查询,统一后台通知池 2026-06-25 04:16:44 +08:00