Uh oh!
There was an error while loading. Please reload this page.
feat(tui): add vertical session tabs - #40072
Merged
Merged
Conversation
Uh oh!
There was an error while loading. Please reload this page.
github-actionsBot
pushed a commit
to ReStranger/opencode
that referenced
this pull request
Aug 3, 2026
* upstream/v2: test(core): stabilize shell integration timing (anomalyco#40084) fix(core): route Bedrock packages natively (anomalyco#40165) feat(ai): add native Bedrock Mantle support (anomalyco#40119) fix(tui): reserve home and end for navigation (anomalyco#40123) refactor(ai): align multimodal naming (anomalyco#40073) refactor(tui): remove redundant code (anomalyco#40081) fix(tui): discover plugins across config roots (anomalyco#39988) fix(tui): make vertical tabs responsive (anomalyco#40080) feat(tui): add vertical session tabs (anomalyco#40072) fix: preserve provider error status (anomalyco#39976) fix(tui): prevent sidebar scrollbar flash (anomalyco#40056) feat(tui): prioritize favorite model search results (anomalyco#40049)
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 freeto 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
Adds an optional vertical session-tab rail to the V2 full-screen TUI.
/settings→ Tabs → Vertical.How
packages/tui/src/app.tsxselects horizontal or vertical placement.packages/tui/src/component/session-tabs.tsxrenders the rail, metadata, scrolling, drag reordering, title truncation, and status colors.packages/tui/src/component/tab-pulse.tsxsupports independent inner/outer animation channels so adjacent tabs blend without coupling their transitions.packages/tui/src/context/session-tabs-model.tscentralizes responsive rail sizing.packages/tui/src/routes/session/index.tsxaccounts for the occupied rail width in session layout calculations.packages/tui/src/config/index.tsxanddialog-config.tsxexposetabs.vertical.bun run dev:liveconnects a worktree TUI to the electedopencode2service while reusing thenextTUI state channel.Scope
session.time.updated; tracked in V2: session.time_updated goes stale during active turns, breaking recency sort #36893.Testing
bun typecheckinpackages/tuibun turbo typecheck --concurrency=3: 33 tasks successfulbun run dev:liveagainst the elected V2 serviceDemo
The capture below shows the source-built TUI connected to the live V2 service, with vertical tabs, project metadata, active/unread states, and title-edge fading.
Flow