Skip to content

feat(tui): add automatic tabs mode - #50456

Merged
thdxr merged 1 commit into
v2from
tabs-auto-mode
Sep 22, 2026
Merged

thdxr merged 1 commit into
v2from
tabs-auto-mode

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • replace the boolean tab setting with tabs.mode: auto, on, or off
  • default to auto, disabling session tabs when HERDR_ENV=1
  • keep tabs.enabled backwards compatible by normalizing it in memory without rewriting config files
  • update settings, docs, and tab configuration fixtures for the new mode

Tests

  • bun test test/config-v2.test.tsx test/context/session-tabs.test.tsx test/component/session-tabs-mouse.test.tsx (packages/tui)
  • bun test test/config.test.ts (packages/cli)
  • bun typecheck (packages/tui, packages/cli)
  • bun run lint
  • bun run check:generated (services/www)

Requested by: @thdxr (dax via Slack)

@thdxr
thdxr enabled auto-merge (squash) September 22, 2026 00:56
@thdxr
thdxr merged commit 5b9dc35 into v2 Sep 22, 2026
10 checks passed
@thdxr
thdxr deleted the tabs-auto-mode branch September 22, 2026 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant