refactor: unify skills+cli runtime and streamline ag-ui flow

This commit is contained in:
qzl
2026-04-22 17:09:37 +08:00
parent eeed737949
commit 4d55df45ab
111 changed files with 4858 additions and 3264 deletions
+2 -5
View File
@@ -242,11 +242,8 @@ SSE 协议中的工具名字段保持后端原样,不做服务端翻译:
"stage": "worker",
"status": "success" | "partial_success" | "failed",
"answer": "...",
"key_points": [],
"result_type": "execution_report" | "clarification" | "error_report" | "unknown",
"suggested_actions": [],
"error": null,
"ui_schema": {}
"error": null
}
```
@@ -427,5 +424,5 @@ WHERE (visibility_mask & 2) != 0
| agent 输出 visibility_mask | `UI_HISTORY \| CONTEXT_ASSEMBLY`memory stage 仅 `UI_HISTORY` | `UI_HISTORY` |
| 进入 /history | ✅ | ✅(仅 agent 输出) |
| 进入 context assembly | ✅(自动) | ❌(通过 run_input 注入) |
| enabled_tools 来源 | `system_agents.yaml` worker 配置 | `AutomationJob.config.enabled_tools` |
| enabled_skills 来源 | `system_agents.yaml` worker 配置 | `AutomationJob.config.enabled_skills` |
| context 配置来源 | `system_agents.yaml` router context_messages | `AutomationJob.config.context` |