feat(tui): implement ! shell mode activation, block cursor navigation, and content pruning #10166

Open
opened 2026-04-17 04:05:46 +00:00 by HAL9000 · 0 comments
Owner

Background

The ! and $ prefix characters activate shell mode in the TUI prompt, allowing users to execute shell commands directly. Block cursor navigation (alt+up/alt+down) enables moving through conversation blocks. Content pruning at 2500 lines prevents the conversation view from growing unbounded and degrading performance.

Acceptance Criteria

  • ! and $ both activate shell mode in PromptInput
  • Shell commands executed and output displayed in conversation view
  • Block cursor navigation with alt+up / alt+down moves between conversation blocks
  • Conversation content pruned at 2500 lines (oldest lines removed first)
  • Test coverage >= 97%

Metadata

  • Commit Message: feat(tui): implement shell mode, block cursor navigation, and content pruning
  • Branch: feature/v3.7.0/tui-shell-mode-cursor-pruning
  • Milestone: v3.7.0
  • Ref: #5305 EPIC: TUI Reference & Command Input System — @, /, ! Mode Parsing (v3.7.0)

Subtasks

  • Implement ! / $ shell mode detection and activation in PromptInput
  • Implement shell command execution and output capture
  • Implement block cursor navigation with alt+up / alt+down
  • Implement conversation content pruning at 2500 lines
  • Write unit tests for shell mode and pruning

Definition of Done

  • Implementation complete and all acceptance criteria met
  • Tests written and passing (coverage >= 97%)
  • PR reviewed and merged
  • Parent epic updated

Automated by CleverAgents Bot
Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor

## Background The `!` and `$` prefix characters activate shell mode in the TUI prompt, allowing users to execute shell commands directly. Block cursor navigation (`alt+up`/`alt+down`) enables moving through conversation blocks. Content pruning at 2500 lines prevents the conversation view from growing unbounded and degrading performance. ## Acceptance Criteria - [ ] `!` and `$` both activate shell mode in `PromptInput` - [ ] Shell commands executed and output displayed in conversation view - [ ] Block cursor navigation with `alt+up` / `alt+down` moves between conversation blocks - [ ] Conversation content pruned at 2500 lines (oldest lines removed first) - [ ] Test coverage >= 97% ## Metadata - **Commit Message**: `feat(tui): implement shell mode, block cursor navigation, and content pruning` - **Branch**: `feature/v3.7.0/tui-shell-mode-cursor-pruning` - **Milestone**: v3.7.0 - **Ref**: #5305 EPIC: TUI Reference & Command Input System — @, /, ! Mode Parsing (v3.7.0) ## Subtasks - [ ] Implement `!` / `$` shell mode detection and activation in `PromptInput` - [ ] Implement shell command execution and output capture - [ ] Implement block cursor navigation with `alt+up` / `alt+down` - [ ] Implement conversation content pruning at 2500 lines - [ ] Write unit tests for shell mode and pruning ## Definition of Done - Implementation complete and all acceptance criteria met - Tests written and passing (coverage >= 97%) - PR reviewed and merged - Parent epic updated --- **Automated by CleverAgents Bot** Supervisor: Epic Planning | Agent: epic-planning-pool-supervisor
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#10166
No description provided.