Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[FEATURE]: Add --search to opencode session list

Open Beginner friendly
#56,843 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
cli

Research direction

Start by tracing the opencode session list command and how it calls the existing session-list API; the issue does not name the relevant files or tests. Add the --search <text> option and pass its value to the API search parameter. Done when the command can find sessions by title through that parameter and the relevant CLI tests cover the option.

Written by the indexing model from the issue text.

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

Add --search <text> to opencode session list and pass it to the existing session-list API search parameter.

This would let scripts find a session by title before resuming it, without reading OpenCode's database directly. I currently use a wrapper that searches titles, fails on zero matches, lets me choose among multiple matches, and then resumes the selected ID.

This is separate from the interactive picker requested in #48718. Literal handling for % and _ is already tracked in #54453 and #54461. Multi-term matching and cross-project search can stay out of the first version.

Dominant language
TypeScript
Stars
215k
Forks
28.9k
Avg merge
11h 19m
Merged PRs (30d)
320

Getting set up

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.

More from anomalyco/opencode

All issues in anomalyco/opencode

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.