Skip to content

Web: Sidebar session list hides worktree/sandbox sessions after 1.2.6 upgrade (filters to current directory only) #14082

@benoitheinrich

Description

@benoitheinrich

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

  1. Have a git repo with multiple worktrees, e.g.
    • main repo: /home/USER/dev/REPO
    • worktrees: /home/USER/dev/_wt/REPO-*
  2. Start the Web UI from a neutral directory (not inside the repo), e.g.
    • opencode web
  3. In the Web UI, open/select the project /home/USER/dev/REPO
  4. 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-*
  5. Compare with TUI/CLI: sessions are present as expected (including the worktree directories)

Screenshot and/or share link

Image

Operating System

Linux

Terminal

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions