Skip to content

Comments

feat(cli): add --global flag to session list command#14573

Open
zer0Black wants to merge 1 commit intoanomalyco:devfrom
zer0Black:dev
Open

feat(cli): add --global flag to session list command#14573
zer0Black wants to merge 1 commit intoanomalyco:devfrom
zer0Black:dev

Conversation

@zer0Black
Copy link

@zer0Black zer0Black commented Feb 21, 2026

  • Add --global / -g option to list sessions across all projects
  • Reuse formatSessionTable/JSON for output (directory field shows project)

Issue for this PR

Closes #14561

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

add feature for #14561

If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!

How did you verify your code works?

./packages/opencode/dist/opencode-windows-x64/bin/opencode session list -g is work

Screenshots / recordings

image image

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

- Add --global / -g option to list sessions across all projects
- Reuse formatSessionTable/JSON for output (directory field shows project)
@github-actions github-actions bot added needs:compliance This means the issue will auto-close after 2 hours. needs:issue labels Feb 21, 2026
@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@zer0Black
Copy link
Author

Closes #14561

@github-actions github-actions bot removed needs:issue needs:compliance This means the issue will auto-close after 2 hours. labels Feb 21, 2026
@github-actions
Copy link
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]:add session list global cli

1 participant