Skip to content

feat(web): add subagent status card UI and message step transform - #122

Open
johnjheejin wants to merge 1 commit into
L1M80:developfrom
johnjheejin:feat/121/subagent-status-card
Open

feat(web): add subagent status card UI and message step transform#122
johnjheejin wants to merge 1 commit into
L1M80:developfrom
johnjheejin:feat/121/subagent-status-card

Conversation

@johnjheejin

Copy link
Copy Markdown
Contributor

Summary

Adds dedicated subagent status card UI rendering and step transforms for Antigravity subagent calls (invoke_subagent, define_subagent, manage_subagents, send_message).

Rationale & Changes

  • Transforms (stepsToMessages.ts):
    • Detects subagent tool calls (invoke_subagent, define_subagent, manage_subagents, send_message) or step types.
    • Emits CORTEX_STEP_TYPE_SUBAGENT system messages for dedicated rendering.
  • UI Components (StepCards.tsx, Icons.tsx, ChatPanel.tsx):
    • Adds SubagentCard displaying subagent Role, TypeName badge, Action summary, and expandable prompt / instruction details.
    • Includes IconUsers SVG icon for consistent visual representation.
  • Styling (step-cards.css):
    • Adds custom styles for .subagent-card, .subagent-type-badge, and prompt dropdown.
  • Tests (stepsToMessages.test.ts):
    • Unit tests verifying invoke_subagent tool calls map properly to CORTEX_STEP_TYPE_SUBAGENT.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant