-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Open
Labels
bugSomething isn't workingSomething isn't workingwebRelates to opencode on web / desktopRelates to opencode on web / desktop
Description
Description
After upgrading OpenCode from 1.2.5 -> 1.2.6, the Web UI sidebar session list no longer shows sessions from git worktrees / sandboxes for a repo. The sessions still exist and are visible in the TUI/CLI, and the web server API can return them, but the Web UI sidebar only shows sessions for the current directory (typically the main repo root) and hides sessions whose session.directory is a different worktree/sandbox directory.
This looks like a Web UI scoping/filtering regression (or missing “show sessions across sandboxes” behavior) introduced in 1.2.6. It worked as expected for me on 1.2.5.
Plugins
oh-my-opencode 3.7.3
OpenCode version
1.2.6
Note that it's working by downgrading to 1.2.5
Steps to reproduce
- Have a git repo with multiple worktrees, e.g.
- main repo:
/home/USER/dev/REPO - worktrees:
/home/USER/dev/_wt/REPO-*
- main repo:
- Start the Web UI from a neutral directory (not inside the repo), e.g.
opencode web
- In the Web UI, open/select the project
/home/USER/dev/REPO - Observe the sidebar sessions list: it shows only sessions whose
session.directory == /home/USER/dev/REPO(for me: 28 sessions), but does not show the sessions for worktree directories/home/USER/dev/_wt/REPO-* - Compare with TUI/CLI: sessions are present as expected (including the worktree directories)
Screenshot and/or share link
Operating System
Linux
Terminal
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingwebRelates to opencode on web / desktopRelates to opencode on web / desktop