1.4 KiB
1.4 KiB
06-03 PLAN — Deploy + Galeria Tabs
Tasks
-
Extend
client/src/pages/DevCenter.tsx— Deploy tab- List
arcadia_agent_defswhere 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
- List
-
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
-
Create
client/src/components/OrchestrateCenter.tsx(if modularizing)- Or inline in DevCenter tabs
-
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