fix: support OpenCode 2.0.10 - #12
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update the indicator to use
ctx.theme.text.mutedand pin the OpenCode development packages to2.0.10. Adapt the compatibility check and CI setup to stable version numbers and the renamedopencodeexecutable. Also include the existing comment cleanup.The README retains the historical beta compatibility reference and explains the theme change: hosts that only expose
text.subduedrender the indicator in pure white instead of the muted theme color.Validation
opencode v2.0.10.beta-19381theme and OpenTUI 0.5.10 and 0.5.11 confirmed that the label renders, updates, and settles, but falls back to white whenmutedis absent. These were headless rendering tests with simulated session events, not full older-CLI integration tests.