Skip to content

"opencode session list" doesn't list all sessions. #25978

@mikaelj

Description

@mikaelj

Description

I have a session named Foo active.

In another terminal, I run "opencode session list". Foo is nowhere to be found, nor is the associated session ID.

Yet, I can quit the Foo session and resume it with the commandline printed out after exit, i.e "opencode -s sess_......".

Plugins

No response

OpenCode version

1.4.39

Steps to reproduce

  1. Do work in a lot of sessions so the sessions list is big
  2. Keep a couple of sessions active i.e. where opencode wasn't exited
  3. Rename these sesssions
  4. In a terminal, run opencode session list
  5. Try finding your active sessions either by name or session id.
  6. Session not found.

NOTE: Only some sessions are missing. No idea why.

Screenshot and/or share link

No response

Operating System

macOS 15.7

Terminal

iTerm2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions