feat: Add agent workspace system and runtime management

- Add agent core modules (agent_core, factory, registry, skill_loader)
- Add runtime system for agent execution management
- Add REST API for agents, workspaces, and runtime control
- Add process supervisor for agent lifecycle management
- Add workspace template system with agent profiles
- Add frontend RuntimeView and runtime API integration
- Add per-agent skill workspaces for smoke_fullstack run
- Refactor skill system with active/installed separation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-17 16:43:29 +08:00
parent 2daf5717ba
commit 59b44545d0
121 changed files with 8384 additions and 358 deletions

View File

@@ -0,0 +1,21 @@
---
name: 组合决策
description: 整合分析师观点与风险反馈,形成明确的组合层决策。
---
# 组合决策
当你负责把团队分析转化为最终交易决策时,使用这个技能。
## 工作流程
1. 行动前先阅读分析师结论和风险警示。
2. 评估当前组合、现金和保证金约束。
3. 使用决策工具为每个 ticker 记录一个明确决策。
4. 在全部决策记录完成后,总结组合层面的整体理由。
## 约束
- 仓位大小必须遵守资金和保证金限制。
- 当分析师信心与风险信号不一致时,优先采用更小仓位。
- 当任务要求完整决策清单时,不要让任何 ticker 处于未决状态。

View File

@@ -0,0 +1,21 @@
---
name: 组合决策
description: 整合分析师观点与风险反馈,形成明确的组合层决策。
---
# 组合决策
当你负责把团队分析转化为最终交易决策时,使用这个技能。
## 工作流程
1. 行动前先阅读分析师结论和风险警示。
2. 评估当前组合、现金和保证金约束。
3. 使用决策工具为每个 ticker 记录一个明确决策。
4. 在全部决策记录完成后,总结组合层面的整体理由。
## 约束
- 仓位大小必须遵守资金和保证金限制。
- 当分析师信心与风险信号不一致时,优先采用更小仓位。
- 当任务要求完整决策清单时,不要让任何 ticker 处于未决状态。