Repository navigation
fix(deps): align @opentui peer range with @opencode/plugin 2.2.7 - #36
Merged
Merged
Conversation
Bumps the minor-and-patch group with 7 updates: | Package | From | To | | --- | --- | --- | | [oxfmt](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxfmt) | `0.76.0` | `0.78.0` | | [oxlint](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxlint) | `1.91.0` | `1.93.0` | | [@opencode/plugin](https://github.com/anomalyco/opencode/tree/HEAD/packages/plugin) | `2.2.5` | `2.2.7` | | [@opencode/client](https://github.com/anomalyco/opencode/tree/HEAD/packages/client) | `2.2.5` | `2.2.7` | | [@opencode/theme](https://github.com/anomalyco/opencode/tree/HEAD/packages/theme) | `2.2.5` | `2.2.7` | | [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `8.3.5` | `8.3.8` | | [vite-plugin-solid](https://github.com/solidjs/solid-vite-plugin) | `2.11.15` | `2.11.16` | Updates `oxfmt` from 0.76.0 to 0.78.0 - [Release notes](https://github.com/oxc-project/oxc/releases) - [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxfmt/CHANGELOG.md) - [Commits](https://github.com/oxc-project/oxc/commits/oxfmt_v0.78.0/npm/oxfmt) Updates `oxlint` from 1.91.0 to 1.93.0 - [Release notes](https://github.com/oxc-project/oxc/releases) - [Changelog](https://github.com/oxc-project/oxc/blob/main/npm/oxlint/CHANGELOG.md) - [Commits](https://github.com/oxc-project/oxc/commits/oxlint_v1.93.0/npm/oxlint) Updates `@opencode/plugin` from 2.2.5 to 2.2.7 - [Release notes](https://github.com/anomalyco/opencode/releases) - [Changelog](https://github.com/anomalyco/opencode/blob/dev/CHANGELOG.md) - [Commits](https://github.com/anomalyco/opencode/commits/v2.2.7/packages/plugin) Updates `@opencode/client` from 2.2.5 to 2.2.7 - [Release notes](https://github.com/anomalyco/opencode/releases) - [Changelog](https://github.com/anomalyco/opencode/blob/dev/CHANGELOG.md) - [Commits](https://github.com/anomalyco/opencode/commits/v2.2.7/packages/client) Updates `@opencode/theme` from 2.2.5 to 2.2.7 - [Release notes](https://github.com/anomalyco/opencode/releases) - [Changelog](https://github.com/anomalyco/opencode/blob/dev/CHANGELOG.md) - [Commits](https://github.com/anomalyco/opencode/commits/v2.2.7/packages/theme) Updates `vite` from 8.3.5 to 8.3.8 - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v8.3.8/packages/vite) Updates `vite-plugin-solid` from 2.11.15 to 2.11.16 - [Release notes](https://github.com/solidjs/solid-vite-plugin/releases) - [Changelog](https://github.com/solidjs/solid-vite-plugin/blob/main/CHANGELOG.md) - [Commits](https://github.com/solidjs/solid-vite-plugin/compare/vite-plugin-solid@2.11.15...vite-plugin-solid@2.11.16) --- updated-dependencies: - dependency-name: oxfmt dependency-version: 0.78.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: oxlint dependency-version: 1.93.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: "@opencode/plugin" dependency-version: 2.2.7 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: "@opencode/client" dependency-version: 2.2.7 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: "@opencode/theme" dependency-version: 2.2.7 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: vite dependency-version: 8.3.8 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: vite-plugin-solid dependency-version: 2.11.16 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-and-patch ... Signed-off-by: dependabot[bot] <support@github.com>
`@opencode/plugin` 2.2.7 raised its peer range to `@opentui/core >= 0.8.1`,
while this package still pinned `@opentui/core`/`@opentui/solid` to 0.8.0.
Two copies of `@opentui/core` then resolved (0.8.0 for our TUI code, 0.8.1 via
`@opencode/theme`), and `SyntaxStyle` — which has the private field `lib` —
became two nominally distinct types that never assign:
tui/ui.tsx(57,3): TS2322 Accessor<SyntaxStyle(0.8.1)> is not assignable to
Accessor<SyntaxStyle(0.8.0)> (separate declarations of a private property 'lib')
tui/ui.tsx(59,43): TS2345 'NativeScene' is not assignable to 'NativeResourceOwner'
The test jobs passed because tests never type-check `ui.tsx`; only the
format/lint/types/build job failed.
Pin the devDependencies to 0.8.1 so the tree holds one copy. The peer RANGES
stay `>= 0.8.0`, so a consumer on a newer `@opentui` is still satisfied — only
our own dev tree is pinned.
Verified: `bun run typecheck` clean, `bun run check` 427 tests, `bun run build`
(TUI + GUI + web, 18 protocol schemas) all pass.
syn7xx
changed the base branch from
dependabot/bun/minor-and-patch-2619601a86
to
main
November 17, 2026 15:44
syn7xx
force-pushed
the
fix/deps-opentui
branch
from
November 17, 2026 15:45
9892364 to
c55eb2f
Compare
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.
Fixes the failing Check (format, lint, types, build) job on #32.
Why #32 fails
Dependabot's bump raises
@opencode/pluginto 2.2.7. Its peer range is@opentui/core >= 0.8.1, butpackages/plugin/package.jsonstill pins@opentui/coreand@opentui/solidto 0.8.0.The tree then resolves two copies of
@opentui/core:0.8.0— the one our TUI code imports, from the pinned devDependency;0.8.1— pulled in by@opencode/theme2.2.7.SyntaxStylecarries a private fieldlib, so the two copies are nominally distinct types and never assignable:That is why the type job fails while the three test jobs pass: tests never type-check
ui.tsx.Fix
Pin the peer packages to the version
@opencode/plugin2.2.7 requires (0.8.1), so the tree holds one copy. The peer ranges stay>= 0.8.0— a consumer on a newer@opentuiis still satisfied; only our own dev tree is pinned.Verification
bun run typecheck— clean (was 3 errors intui/ui.tsx)bun run check— 427 tests, format/lint/types all greenbun run build— TUI, GUI and web bundles built, 18 protocol schemas checkedbun.lockregenerated: one@opentui/coreat 0.8.1Once this is merged into #32's branch (or #32 rebased on it), dependabot's PR should go green.