Skip to content

feat: pane console as the interactive TUI - #263

Merged
agjs merged 8 commits into
mainfrom
feat/pane-console
Aug 9, 2026
Merged

feat: pane console as the interactive TUI#263
agjs merged 8 commits into
mainfrom
feat/pane-console

Conversation

@agjs

@agjs agjs commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • Make the multi-pane agent console the only interactive UI (classic StatusBar landing path retired; tiny TTYs reject with a clear error).
  • Add role-card chrome (USER / AGENT / PLAN pills + shared hairlines), dense top strip, growing multi-line input, and opaque pane canvas polish.
  • Include worklist driving (--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
  • Interactive smoke: launch REPL, send a turn, confirm USER/AGENT cards, mode chip, growing input, and pane focus/scroll
  • Confirm too-small TTY exits with the pane-console reject message
  • /work or --work checklist path paints the side panel and advances items
  • bun run validate before marking ready for review

agjs added 8 commits August 8, 2026 23:38
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.
@agjs
agjs marked this pull request as ready for review August 9, 2026 09:44
@agjs
agjs merged commit 3be419c into main Aug 9, 2026
8 checks passed
@agjs
agjs deleted the feat/pane-console branch August 9, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant