Checkpoint: Phase 7 complete: Orchestrator Agent добавлен в /agents с меткой CROWN/SYSTEM, кнопками Configure и Open Chat. /chat читает конфиг оркестратора из БД (модель, промпт, инструменты). AgentDetailModal поддерживает isOrchestrator. 24 теста пройдены.

This commit is contained in:
Manus
2026-03-20 17:48:21 -04:00
parent c2fdfdbf72
commit 7aa8eee2ca
11 changed files with 1339 additions and 128 deletions

10
todo.md
View File

@@ -105,3 +105,13 @@
- [x] Add /skills to sidebar navigation
- [x] Update /agents to show seeded agents with Chat button
- [ ] Write tests for orchestrator
## Phase 7: Orchestrator as Configurable System Agent
- [ ] Add isSystem + isOrchestrator fields to agents table (DB migration)
- [ ] Seed Orchestrator as system agent in DB (role=orchestrator, isSystem=true)
- [ ] Update orchestrator.ts to load model/systemPrompt/allowedTools from DB
- [ ] Update /chat to read orchestrator config from DB, show active model in header
- [ ] Update /agents to show Orchestrator with SYSTEM badge, Configure button, no delete
- [ ] AgentDetailModal: orchestrator gets extra tab with system tools (shell, docker, agents mgmt)
- [ ] Add system tools to orchestrator: docker_ps, docker_restart, manage_agents, read_logs
- [ ] /chat header: show current model name + link to Configure Orchestrator