You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(cortex-tui): subagent navigation and improved tool summaries (#540)
* feat(cortex-tui): add subagent conversation navigation
- Add SubagentConversation(String) variant to AppView enum for viewing subagent conversations
- Add viewing_subagent: Option<String> field to AppState to track current subagent
- Add view_subagent_conversation(), return_to_main_conversation(), is_viewing_subagent(), get_viewing_subagent() methods
- Add SubagentView context to HintContext with hints for Esc (back to main) and scroll
- Add render_back_to_main_hint() function for displaying back navigation hint
- Update match expressions to handle new SubagentConversation variant
* fix(cortex-tui): improve tool result summary formatting
- Use '↳' prefix consistently across all tool summaries
- LS tool shows 'items' instead of generic 'lines'
- Glob/Grep show 'Found N files/matches' for clarity
- Add specific handling for Create, MultiEdit, TodoWrite, Task tools
- Default fallback shows 'items' instead of 'lines'
- Add unit tests for new summary formats
* feat(cortex-tui): add ESC key handler for subagent view navigation
- ESC key returns from subagent conversation to main conversation
- Display '← Back to main (Esc)' hint when viewing subagent
- Add SubagentView context for appropriate key hints
0 commit comments