opencode icon indicating copy to clipboard operation
opencode copied to clipboard

[FEATURE]: add projects listing command

Open allen-n opened this issue 1 month ago • 2 comments

Feature hasn't been suggested before.

  • [x] I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Summary

Basically, I wanted to know where all the opencode projects on my machine are and which ones have activity, especially when I don’t remember where I have or haven’t used it

Proposal:

  • add opencode projects cli command to list known projects with session counts, last activity, and worktree status
  • support sorting (path|count|activity), limiting results, and filtering to active projects
  • format output with truncated paths and localized timestamps for readability

allen-n avatar Jan 10 '26 01:01 allen-n

I have a PR for this, will link momentarily.

edit: #7546

allen-n avatar Jan 10 '26 01:01 allen-n

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

  • #7111: Recent projects not found in 'Open Project' dialog search
  • #5638: Desktop app: opening multiple git worktrees from the same repo replaces existing project
  • #3026: /sessions shows empty despite sessions existing in storage

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

github-actions[bot] avatar Jan 10 '26 01:01 github-actions[bot]