agent_crew
agent_crew copied to clipboard
Display skill installation status with error handling in Team Monitor
Summary
The frontend has partial support for skill statuses (SkillStatus type, color indicators) but it's not connected to real backend data. After the backend implements skill installation reporting, the frontend needs to properly display installation results including errors.
Current Behavior
SkillStatustype exists intypes/index.tswithpending | installed | failedstatesTeamMonitorPagehas a basic skill status indicator (green/yellow/red dot)- No real data flows from the backend —
skill_statusesis never populated
Expected Behavior
- Show a skills section per agent in the Team Monitor page
- Display each skill with its installation status:
- Installed: green indicator + skill name
- Pending: yellow indicator + "Installing..."
- Failed: red indicator + skill name + error message (expandable)
- Show a summary warning/toast if any skills failed to install
- Optionally: dedicated skills panel showing all skills across all agents
Design Requirements
- Use existing color scheme (green/yellow/red)
- Failed skills should show the error message on click/hover
- Summary notification (Toast) when skills finish installing with failures
- Keep it consistent with the existing ActivityPanel card design
Acceptance Criteria
- [ ] Skill statuses are fetched from the backend per agent
- [ ] Each skill shows correct status indicator (installed/pending/failed)
- [ ] Failed skills display error details
- [ ] Toast notification warns about failed skill installations
- [ ] Responsive design works on all screen sizes
- [ ] Unit tests for skill status components
Implemented in 7d514bb. SkillStatusPanel shows per-agent skill installation status with color-coded indicators (green/installed, yellow/pending, red/failed), expandable error details, and collapsible panel. Handles NATS envelope unwrapping. 28 unit tests.