feat(ui): inert full-screen app shell#6
Merged
Conversation
Add the UI-v2 full-screen prompt_toolkit app shell: a persistent layout of a scrolling chat pane, a custom rounded multi-line input dock, and the always-on status bar — so the bar and input never scroll away mid-turn. The dock border is hand-drawn (rounded corners, ASCII fallback) rather than prompt_toolkit's Frame, which only draws square corners and reserves completion-menu height inside the box. One shared render-time terminal width drives the border line and the pane/dock wrap. This shell is inert: Enter echoes the dock text into the pane, /exit quits, PageUp/Down and the wheel scroll the pane. No runtime, model, or AI turn is wired (later branches), and the non-TTY PlainInput path is untouched. status_bar() gains an optional, default-None branch segment (byte-identical when omitted), fed by a fail-closed .git/HEAD read. DESIGN.md gains section 31.12; section 31.11 notes the branch segment.
lavindeep
added a commit
that referenced
this pull request
Jul 2, 2026
feat(ui): inert full-screen app shell
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.
Branch 2/9 of the UI v2 full-screen TUI rework.
What
The inert full-screen prompt_toolkit
Applicationskeleton: a scrolling chat pane, a custom rounded multi-line input dock, and the persistent status bar — so the bar and input never scroll away mid-turn.Frame, which draws square corners and reserves completion-menu height inside the box). ASCII fallback for non-unicode terminals.status_bar()gains an optional, default-Nonebranchsegment (⎇ <branch>), byte-identical when omitted, fed by a fail-closed.git/HEADread.Inert scope (later branches wire the rest)
Enter echoes the dock text into the pane;
/exitquits; PageUp/Down and the wheel scroll the pane. No runtime/model/AI turn, no Rich→ANSI pane rendering, no thinking indicator, cancellation, approvals, or queue. The non-TTYPlainInputpath is untouched.Verification
mypy --strictclean, 1286 passed (24 new cases).DummyOutputproves the app constructs, submitted text lands in the pane, Alt+Enter inserts a newline, and/exitexits.