feat: pane console as the interactive TUI - #263
Merged
Merged
Conversation
Ship the multi-pane agent console as the only interactive UI, with role-card chrome, growing input, and worklist driving — WIP draft so the branch is safe.
Pin a Tasks header and cyan done/total in the side panel, and join the under-rule with ├/┤ so the title cell no longer floats.
Status ticks and follow-mode stream chunks keep prevLines warm; resize settles in one paint. Pin tall overlay titles and refresh arch/e2e for the new chrome.
Widen the worklist adaptively and paint CONSOLE checklist glyphs with inset-matched wrap; share ▸ menu chrome across overlays and keep /work approve working under the pane editor.
Replace /work greenfield driving with plan-mode present → approve → nested UUID plans. Status is tools-only; task_complete requires a green gate, and Phase B keeps the session open until the active plan is fully done.
Separate task_complete's gate seam from the model's check tool, fix lint complexity/format drift, regenerate ARCHITECTURE.md, and teach the PTY e2e to drive present_plan.
Resume was rendering USER/AGENT cards at full stdout.columns into a narrower main pane (and after the Tasks rail), so box rails rewrapped. Sync the rail first, pass mainInnerCols, and skip checklist injects from the visual replay (Tasks rail already shows them).
CI's arch drift check is outside bun run validate — keep the map in sync after the resume-path line count change.
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.
Summary
--work//work) with side panel + tick rewrite, plus frame/TUI tests to keep the geometry honest.Test plan
bun test packages/core/tests/frame-tui.test.ts packages/core/tests/message-render.test.ts packages/core/tests/chrome.test.ts packages/core/tests/input-box.test.ts/workor--workchecklist path paints the side panel and advances itemsbun run validatebefore marking ready for review