agent_crew icon indicating copy to clipboard operation
agent_crew copied to clipboard

Display skill installation status with error handling in Team Monitor

Open sre-helmcode opened this issue 9 months ago • 1 comments

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

  • SkillStatus type exists in types/index.ts with pending | installed | failed states
  • TeamMonitorPage has a basic skill status indicator (green/yellow/red dot)
  • No real data flows from the backend — skill_statuses is never populated

Expected Behavior

  1. Show a skills section per agent in the Team Monitor page
  2. Display each skill with its installation status:
    • Installed: green indicator + skill name
    • Pending: yellow indicator + "Installing..."
    • Failed: red indicator + skill name + error message (expandable)
  3. Show a summary warning/toast if any skills failed to install
  4. 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

sre-helmcode avatar Feb 22 '26 11:02 sre-helmcode

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.

sre-helmcode avatar Feb 22 '26 12:02 sre-helmcode