anomalyco / anomalyco/opencode

[FEATURE]: list and navigate sessions

Open
#43,056 3 comments 0 reactions 1 assignee View on GitHub

@nexxeln is already working on this.

Since Aug 17, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Feature hasn't been suggested before.
  • I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request

if you list session using opencode sessions list the result is relative to directory u r in. which is a good thing. however, to list all sessions you hav to querying DB something like this:

sqlite3 -header -column ~/.local/share/opencode/opencode.db "
SELECT
    id,
    title,
    directory,
    datetime(time_updated/1000,'unixepoch','localtime') AS updated
FROM session
ORDER BY time_updated DESC;
"

This feature will helpful when having many projects / sessions. to navigate between sessions and close expired one.
so the command will be opencode sessions list -g -g for global and the result show at least title & directory.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.