You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TUI: session directory filter keybind is inactive inside the session picker #42060
Opening a dialog pushes "modal" (packages/tui/src/ui/dialog.tsx), so that whole layer goes inactive. The session picker is a dialog.
Confirmed by pushing the mode directly in a test: getOpencodeModeStack(keymap).push("modal") takes the command from 1 active binding to 0.
Expected
The toggle decides which sessions the picker lists, so it should be reachable while the picker is open. appGlobalBindingCommands is gathered without a mode and already holds session.list and the quick-switch commands for this reason.
Second, smaller problem
The command ends with an unconditional dialog.clear(). If it is triggered while the picker is open, the picker closes, so you cannot see the result of the toggle. The picker's resource queries on sync.session.query(), so it re-lists in place if left open.
Re-submitting the fix from #42056 as a fresh PR: #50432
That PR was closed by the automated cleanup (created >1 month, <2 reactions), not on the merits. Same approach: move app.toggle.session_directory_filter out of the base-mode bindings so it stays active while the picker dialog is open, plus a footer hint showing the current scope (#42058).
In v2, press Ctrl+A inside the session picker to switch between current-directory and all-project sessions. The results update in place and the picker stays open. To get v2: npm i -g @opencode/cli@latest or curl -fsSL https://opencode.ai/v2/install | bash (desktop: update the app). If you still see this on v2, please open a new issue with the details.
Activity
github-actions commentedon Aug 12, 2026
For keybind-related issues, please also check our pinned keybinds documentation: #4997
Mattheinrichs commentedon Sep 21, 2026
Re-submitting the fix from #42056 as a fresh PR: #50432
That PR was closed by the automated cleanup (created >1 month, <2 reactions), not on the merits. Same approach: move
app.toggle.session_directory_filterout of the base-mode bindings so it stays active while the picker dialog is open, plus a footer hint showing the current scope (#42058).Original fix by @thepigdestroyer.
neriousy commentedon Oct 19, 2026
In v2, press Ctrl+A inside the session picker to switch between current-directory and all-project sessions. The results update in place and the picker stays open. To get v2:
npm i -g @opencode/cli@latestorcurl -fsSL https://opencode.ai/v2/install | bash(desktop: update the app). If you still see this on v2, please open a new issue with the details.