Repository navigation
v1.1.2 — fix install failure on opencode >=1.18 (ERESOLVE)
Fixed
- Plugin could not be installed on opencode >= 1.18 —
opencode plugin add @jack-yang/opencode-tps-meterfailed withunable to resolve dependency tree(npm ERESOLVE).
Why
Newer @opencode-ai/plugin pulls @opentui/core 0.5.x, but this package's peer range ^0.4.2 capped it below 0.5. opencode's installer uses npm's strict arborist resolver, so the tree became unresolvable. (bun only warns on peer conflicts, which is why local testing didn't catch it.)
Change
Widen peer ranges (metadata only, no code change):
@opentui/core:^0.4.2→>=0.4.2 <1@opentui/solid:^0.4.2→>=0.4.2 <1
Reinstall
opencode plugin @jack-yang/opencode-tps-meter -g -fIf it still fails with unable to resolve dependency tree right after this release, your local npm cache (~/.npm) still holds the pre-1.1.2 metadata. Refresh it once:
npm cache clean --force