Skip to content

Conversation

@opencode-agent
Copy link
Contributor

Findings

  • 734962675 feat: add model usage statistics... adds a new user-facing CLI flag: opencode stats --models[=N], showing per-model messages, input/output tokens, and cost.

    • Docs previously covered stats, but not the new --models flag.
    • Updated docs: packages/web/src/content/docs/cli.mdx:400 (added --models to flags table + examples).
  • 76c25ef28 feat(format): add rustfmt formatter... is already documented.

    • Confirmed: packages/web/src/content/docs/formatters.mdx:1 includes a rustfmt row.
  • 7adb6e495 feat(desktop): upgrade to latest version on error page is user-visible (adds “Check for updates” / “Update to X” on the desktop error page), but it’s a small UX enhancement and doesn’t seem to warrant dedicated docs in packages/web/src/content/docs/* right now.

Doc changes made

  • packages/web/src/content/docs/cli.mdx:400
    • Documented opencode stats --models and opencode stats --models 5 with a short example block.

Triggered by scheduled workflow

New%20session%20-%202025-12-31T00%3A26%3A33.004Z
opencode session  |  github run

opencode-agent bot and others added 2 commits December 31, 2025 00:27
Removed examples for the 'opencode stats' command from documentation.
@rekram1-node rekram1-node changed the title Added docs for stats --models flag docs: for stats --models flag Dec 31, 2025
@rekram1-node rekram1-node merged commit a3819e0 into dev Dec 31, 2025
4 checks passed
hk9890 pushed a commit to hk9890/opencode that referenced this pull request Jan 1, 2026
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
dl-alexandre pushed a commit to dl-alexandre/opencode that referenced this pull request Jan 2, 2026
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
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.

2 participants