Skip to content

Sessions not persisting across web and desktop #15982

Closed

Description

@Manvay-S

Description

Sessions not persisting across web and desktop due to incorrect project key format in web for windows.

The sessions are still accessible via direct session id however.

Unable to validate this against mac and linux

As a result of this there is some weird behavior where permission notifications surface from "hidden" sessions where its hidden due to the incorrect path display (/ vs \ ) when you click to switch to the session it puts the desktop UI in a bugged state and blanks out session history but shows the actual hidden session and allows you to interact with it.

Plugins

None

OpenCode version

1.2.16

Steps to reproduce

  1. Start an opencode server.
  2. Open up opencode desktop against an arbitrary project and create a sample session.
  3. Hit the server on your browser lets say its on port 4096 so you open up localhost:4096 and try opening up the same project. via the ctrl + p utility. Your desktop session will not be there.

Screenshot and/or share link

Desktop path link:

Image

Web Path Link:

Image

Top session as you can see is different both are the same file path on the server.

Operating System

Windows 11 pro

Terminal

windows terminal

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Mar 4, 2026
  2. github-actions commented on Mar 4, 2026

    @github-actions
    Contributor

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

    If your issue is distinct, please clarify what's different so we can keep it open.

  3. Manvay-S commented on Mar 4, 2026

    @Manvay-S
    Author

    closing as duplicate

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)windows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions