38 lines
1.4 KiB
Markdown
38 lines
1.4 KiB
Markdown
# 06-03 PLAN — Deploy + Galeria Tabs
|
|
|
|
## Tasks
|
|
|
|
1. **Extend `client/src/pages/DevCenter.tsx` — Deploy tab**
|
|
- List `arcadia_agent_defs` where status = ready OR deployed
|
|
- "Deploy" button → PATCH `/api/agent-defs/:id/deploy` (status → deployed, version++)
|
|
- "Re-montar" button → PATCH status back to draft
|
|
- Expand row → show last blackboard_artifact details (JSON viewer)
|
|
- Version badge per agent
|
|
|
|
2. **Extend `client/src/pages/DevCenter.tsx` — Galeria tab**
|
|
- Grid of cards: deployed agents only
|
|
- Card content: name, description, version, creator, status badge
|
|
- "Executar" button → POST `/api/agent-defs/:id/run` (new blackboard task)
|
|
- "Fork" button → POST create new agent with copied spec (name += " (Copy)")
|
|
- Filter: status dropdown, search by name
|
|
- Empty state message
|
|
|
|
3. **Create `client/src/components/OrchestrateCenter.tsx`** (if modularizing)
|
|
- Or inline in DevCenter tabs
|
|
|
|
4. **Create `client/src/components/AgentGallery.tsx`** (if modularizing)
|
|
- Or inline in DevCenter tabs
|
|
|
|
## Reuse
|
|
- Card/grid layout from AutomationCenter or Skills
|
|
- Status badge from existing components
|
|
- Blackboard task execution logic
|
|
|
|
## Done Criteria
|
|
- Deploy tab lists ready/deployed agents
|
|
- Deploy action increments version
|
|
- Re-montar reverts to draft
|
|
- Galeria shows deployed agents only
|
|
- Run/Fork actions work
|
|
- All filters functional
|