Skip to content

Web project picker does not load sessions for selected project #31493

Closed as not planned

Description

@00xObi

Description

When opencode web is started from one project, the web app can list other known projects, but selecting one of those projects can keep the session list scoped to the startup project.

In the API, /project returns the known projects, but /session had no explicit project selector, so web session loading depended on the server startup/current instance context instead of the project selected in the UI.

Expected behavior

Selecting a project in the web UI should load that project's root sessions, even when the web server was started from a different working directory.

Reproduction

  1. Start opencode web from project A.
  2. Create sessions from the CLI in project B.
  3. Open the web app and select project B.
  4. The project list includes project B, but the session list can still show project A/startup-context sessions.

OpenCode version

1.16.2

Operating System

Linux

Activity

  1. github-actions commented on Jun 9, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  2. github-actions commented on Aug 9, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions