|
|
c08c4ab141
|
docs(agentskills): 更新子智能体使用指南
- 强调阻塞/后台模式的唯一判断标准是运行期间有没有别的事情要做
- 强调大范围搜索/调查前必须先自己进行浅层搜索
- 重写示例:国产开源智能体调研、程序 bug 定位
- 拆分后台模式场景:单个子智能体用阻塞,多个子智能体用后台并等待通知
|
2026-07-11 20:40:27 +08:00 |
|
|
|
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 |
|
|
|
a04eca3aab
|
fix: unify background run_command notifications with sub-agent flow
|
2026-04-08 16:13:40 +08:00 |
|
|
|
ad8d3bb155
|
docs: 收紧子智能体skill为禁止代码编写并强化推荐场景
|
2026-04-08 13:01:12 +08:00 |
|
|
|
494edc53e9
|
docs(skill): document blocking and background sub-agent modes
|
2026-04-03 11:35:00 +08:00 |
|
|
|
5ab3acef9c
|
feat: 添加 terminal-guide 和 sub-agent-guide skills
- 新增 terminal-guide skill: 持久化终端使用指南
- 新增 sub-agent-guide skill: 子智能体使用指南
- 优化终端工具定义和执行逻辑
- 更新系统提示词以引用新 skills
- 添加 utils/__init__.py 模块初始化文件
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-03-16 21:17:02 +08:00 |
|