[BUG] Sessions created in standalone mode don't appear when using opencode attach #7788

Closed
opened 2026-02-16 18:08:13 -05:00 by yindo · 1 comment
Owner

Originally created by @manascb1344 on GitHub (Jan 27, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Steps to reproduce:

  1. Run opencode in /path/to/project and create sessions
  2. Exit and run opencode serve
  3. Run opencode attach http://127.0.0.1:4096 in the same directory
  4. Sessions from step 1 don't appear in session list

Expected: All sessions for a folder should be visible regardless of connection mode

Actual: Standalone sessions are hidden when using attach mode

Related issues: #3026, #7186, #10904

Plugins

No response

OpenCode version

1.1.36

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @manascb1344 on GitHub (Jan 27, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description Steps to reproduce: 1. Run `opencode` in /path/to/project and create sessions 2. Exit and run `opencode serve` 3. Run `opencode attach http://127.0.0.1:4096` in the same directory 4. Sessions from step 1 don't appear in session list Expected: All sessions for a folder should be visible regardless of connection mode Actual: Standalone sessions are hidden when using attach mode Related issues: #3026, #7186, #10904 ### Plugins _No response_ ### OpenCode version 1.1.36 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the bug label 2026-02-16 18:08:13 -05:00
yindo closed this issue 2026-02-16 18:08:13 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 27, 2026):

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

  • #10349: Sessions not visible across platforms when syncing data directory (cross-platform session visibility)
  • #8836: session list is showing all sessions not only the ones scoped to the current dir
  • #3551: Sessions are now mixed with home directory session list, disregarding which directory you're in
  • #6098: The sessions list seems to show all history, not the sessions history of the working directory

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 27, 2026): This issue might be a duplicate of existing issues. Please check: - #10349: Sessions not visible across platforms when syncing data directory (cross-platform session visibility) - #8836: session list is showing all sessions not only the ones scoped to the current dir - #3551: Sessions are now mixed with home directory session list, disregarding which directory you're in - #6098: The sessions list seems to show all history, not the sessions history of the working directory Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7788