|
|
67fdb715f5
|
refactor(messages): 统一运行期消息插入为 [系统通知|source] 前缀的 user 消息
- 新增 server/chat_flow_task_support.inject_runtime_user_message 作为唯一入口,
统一处理 add_conversation + messages.insert + sender(user_message) 三件事
- 子智能体 / 后台 run_command / runtime_guidance / mode notice 全部走该入口,
role 一律 user,inline 仅作 metadata 标记,不再复用 system role 表达语义
- inline poll 移出 tool 执行循环,改为整轮 tool 完成后批量注入,
避免在 assistant.tool_calls 与 tool 序列之间插入 user 导致 API 报错
- 删除 _insert_completion_notice_message / _record_sub_agent_message
以及 build_messages 中 system→user 的回转分支
- 移除已废弃的 wait_sub_agent 工具残留(后端注册、前端图标/动画、
prompts、SKILL 文档;保留 sleep 的 wait_sub_agent_ids 参数)
- 前端取消对 is_auto_generated/auto_message_type 的过滤,
让运行期注入的 user 消息在历史和实时推送中正常渲染
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-23 02:01:36 +08:00 |
|
|
|
ed5315eef6
|
feat: add MCP management and host-only runtime policy
|
2026-04-26 23:49:04 +08:00 |
|
|
|
8991ed5084
|
feat: add read_skill tool and frontend read-skill rendering
|
2026-04-19 16:57:02 +08:00 |
|
|
|
13400f62d5
|
feat: add manage_personalization tool and fix personalization sync
|
2026-04-13 20:22:06 +08:00 |
|
|
|
12c7a4bdd9
|
fix: remove legacy file edit tags
|
2026-03-17 22:43:51 +08:00 |
|
|
|
4be61fe76e
|
feat: unify terminal session controls
|
2026-03-04 23:49:10 +08:00 |
|
|
|
453df30f45
|
refactor: replace file diff tools, simplify todos, disable typewriter
|
2026-01-29 14:20:01 +08:00 |
|
|
|
e2ba632ac8
|
feat: expand model support and qwen-vl ux
|
2026-01-03 07:01:24 +08:00 |
|
|
|
7853830624
|
feat: improve vlm workflow and workspace image serving
|
2026-01-01 18:56:29 +08:00 |
|
|
|
afd1bb9d28
|
feat: add hidden easter egg flood effect
|
2025-11-22 02:25:42 +08:00 |
|
|
|
adb1f1249a
|
feat: add ocr tool for main and sub agent
|
2025-11-18 17:06:48 +08:00 |
|
|
|
f2bfa3f377
|
feat: add sub agent termination control
|
2025-11-15 17:10:58 +08:00 |
|
|
|
0ac246c22b
|
feat: integrate sub agent workflow
|
2025-11-15 02:41:13 +08:00 |
|
|
|
dacc68f46a
|
feat: enhance read tool and config structure
|
2025-11-14 18:33:55 +08:00 |
|
|
|
fea932425a
|
chore: initial import
|
2025-11-14 16:44:12 +08:00 |
|