Skip to content

fix: support OpenCode 2.0.10 - #12

Merged
P-Theo merged 2 commits into
mainfrom
chore/opencode-2.0.10
Sep 19, 2026
Merged

P-Theo merged 2 commits into
mainfrom
chore/opencode-2.0.10

Conversation

@P-Theo

@P-Theo P-Theo commented Sep 19, 2026

Copy link
Copy Markdown
Owner

Update the indicator to use ctx.theme.text.muted and pin the OpenCode development packages to 2.0.10. Adapt the compatibility check and CI setup to stable version numbers and the renamed opencode executable. Also include the existing comment cleanup.

The README retains the historical beta compatibility reference and explains the theme change: hosts that only expose text.subdued render the indicator in pure white instead of the muted theme color.

Validation

  • Lint, TypeScript checks, build, and all 68 tests passed with Node 26.4.0 and Bun 1.3.12.
  • The compatibility check confirms the installed CLI reports opencode v2.0.10.
  • Packed-package installation and plugin/schema imports passed.
  • Isolated rendering experiments with the actual beta-19381 theme and OpenTUI 0.5.10 and 0.5.11 confirmed that the label renders, updates, and settles, but falls back to white when muted is absent. These were headless rendering tests with simulated session events, not full older-CLI integration tests.

The current theme API exposes text.muted instead of text.subdued. Update the indicator and pin the development baseline to 2.0.10, including the renamed CLI executable used by CI. Document the white-text fallback observed with older themes.
@P-Theo
P-Theo merged commit 1c770c7 into main Sep 19, 2026
1 check passed
@P-Theo
P-Theo deleted the chore/opencode-2.0.10 branch September 19, 2026 17:35
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.

1 participant