Skip to content

Conversation

@luccast
Copy link
Owner

@luccast luccast commented Jan 28, 2026

Summary

  • Subagent sessions now nest under their parent channel in the sidebar instead of appearing as flat entries
  • Parent sessions labeled "main", subagents labeled "subagent" with 🦞 emoji
  • Orphan subagents (no matched parent) grouped at bottom
  • Platform filter excludes subagent sessions (they inherit parent context)

Test plan

  • Open /monitor with active subagent spawns
  • Verify subagents appear indented under parent channel
  • Verify collapsed sidebar shows 🦞 for subagents
  • Verify filter input matches subagent agentId
  • Verify platform filter chips only show parent platforms

…ed filtering

- Introduced SubagentItem component for rendering subagent sessions.
- Grouped subagents under their parent sessions based on the spawnedBy relationship.
- Updated filtering logic to separate parent sessions from subagents.
- Enhanced sorting and display of sessions, including orphan subagents.
- Improved UI for session selection and status indication.

This update improves the organization and usability of the session list in the monitor component.
…ntId

- Changed the displayed identifier in the SessionList component from agentId to recipient for improved clarity in session representation.
…onality

- Introduced functionality to pin node positions upon drag-end, enhancing user experience in the ActionGraph component.
- Added a button to reorganize the layout, clearing pinned positions and reapplying the layout for better visual management.
- Updated the node state handling to incorporate pinned positions during layout updates, ensuring a smoother interaction with the graph.
- Changed the CSS class for text wrapping in ExecNode to improve readability.
- Modified the border and box shadow logic in SessionNode to enhance visual feedback based on session status, particularly for 'thinking' states.
@luccast luccast changed the title feat(monitor): nest subagent sessions under parent channels feat(monitor): nest subagent sessions, ui, qol improvements Jan 28, 2026
- Added logic to determine which sessions are in a "thinking" state based on the latest action type in the ActionGraph component.
- Updated SessionNode to accept a new `thinking` property, modifying the visual feedback (border and box shadow) to reflect this state, improving user experience and clarity in session status.
@luccast luccast changed the title feat(monitor): nest subagent sessions, ui, qol improvements feat(monitor): nest subagent sessions, reorganizing feature Jan 28, 2026
- Added functionality to collapse and expand subagent groups within the SessionList component.
- Introduced a new state to manage collapsed groups and updated the UI to reflect the expanded/collapsed state with a ChevronDown icon.
- Enhanced user experience by allowing users to easily navigate through subagent sessions.
- Adjusted padding and alignment for improved layout in the SessionList component.
- Increased ChevronDown icon size for better visibility.
- Enhanced text styling for consistency and readability.
- Updated SubagentItem animations to improve performance and visual feedback.
- Replaced AnimatePresence with motion.div for better control over height and opacity transitions during group collapse/expand.
- Simplified initial animation states for a smoother user experience.
@luccast luccast merged commit 1c0388c into master Jan 28, 2026
@luccast luccast deleted the luccast/subagent-sidebar-nesting branch January 29, 2026 01:11
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.

2 participants