Repository navigation
feat(tui): steering and follow-up queue, collapsible output, @file, markdown/diff - #509
Merged
Merged
Conversation
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
This was referenced Nov 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What (description of the change)
TUI steering + readable output (#462, epic #464 Phase 2):
Alt+Enterqueues the draft (queue rows shown above the editor;Alt+Uppops one back; after the turn settles the head auto-submits, one at a time);Esccancels the turn AND returns the whole queue to the editor (nothing lost).Enterduring a run steers via the existing soft-interrupt machinery (feat(harness): soft interrupt — inject owner message into a running session without cancelling it #377 InterruptQueue): the honest semantics disclosed — the draft is delivered through the shipped interrupt path, NOT a new mid-turn text-injection protocol (no tole-core protocol invented).Ctrl+Oexpands/collapses tool output;Ctrl+Tshows/hides reasoning (transcript-level flags; scrollback is append-only so collapse affects how later blocks render — disclosed, not retroactive).@file search: panel over the cwd (substring filter, capped walk, skip .git/target/node_modules, insert-at-end — the editor has no cursor, disclosed).+/-/@@lines render green/red/dim (tole-core caps the preview at 200 chars — respected, not changed). Diff text sanitized BEFORE styling.Why (the problem you're solving)
Closes #462 — working alongside the agent needs steering, a follow-up queue, and readable output; this is Phase 2 of the TUI epic (#464).
Testing (how you verified this works)
--workspace --all-targets -- -D warningsclean;cargo test --workspace --no-fail-fast1090 passed / 0 failed (implementer's first run hit 4 load flakes — 3 pty timeouts + the knownfailed_append_poisons_until_reopenLocked{pid} class; each passes isolated, clean second run, and the orchestrator rerun confirms 1090/0); bare profile 893 / 0; e2e 5 / 5; attribution grep 0.@insertion at cursor (no editor cursor yet), fuzzy file matching, diff cap (200 chars, tole-core).