Skip to content

Make cockpit lanes readable at terminal width#475

Merged
NagyVikt merged 1 commit into
mainfrom
agent/codex/dmux-cockpit-sidebar-renderer-2026-04-30-09-44
Apr 30, 2026
Merged

Make cockpit lanes readable at terminal width#475
NagyVikt merged 1 commit into
mainfrom
agent/codex/dmux-cockpit-sidebar-renderer-2026-04-30-09-44

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

The cockpit needs a dmux-style left rail that can summarize active sessions without depending on color libraries or a wider terminal. This adds a pure renderer over the existing cockpit session state shape and locks its terminal output with focused tests.

Constraint: User limited edits to src/cockpit/sidebar.js and test/cockpit-sidebar.test.js
Rejected: Wire the sidebar into the main cockpit renderer | would touch files outside the requested scope
Rejected: Add a color dependency | ASCII markers and optional ANSI are enough for this surface
Confidence: high
Scope-risk: narrow
Directive: Keep renderSidebar pure and width-bounded; integrate it from cockpit control code in a separate scoped change
Tested: node --test test/cockpit-sidebar.test.js
Tested: node --test test/cockpit-sidebar.test.js test/cockpit-render.test.js
Not-tested: live cockpit keyboard/control-pane integration
@NagyVikt NagyVikt merged commit 6015399 into main Apr 30, 2026
2 of 5 checks passed
@NagyVikt NagyVikt deleted the agent/codex/dmux-cockpit-sidebar-renderer-2026-04-30-09-44 branch April 30, 2026 07:48
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