Skip to content

v1.3.2 — fix: meter missing on opencode 1.x (revert optional peers)

Choose a tag to compare

@yangwudong yangwudong released this 06 Nov 11:49
· 1 commit to main since this release

Fix: the meter did not appear with v1.3.1

v1.3.1 made the @opentui/*, solid-js and @opencode-ai/plugin peer dependencies optional to slim the install. On opencode 1.x (tested on 1.19.5), the plugin then failed to load and the meter disappeared. This release reverts that change: the peers are installed again.

Everything else from v1.3.1 stays: the dev tree's security overrides and vitest 4 upgrade (npm audit: 0), and the npm run smoke-install check in CI/Publish, which now asserts the required peers are installed.

No change to the plugin code (tui.tsx).

Updating

Run npm cache clean --force, delete ~/.cache/opencode/packages/@jack-yang/opencode-tps-meter@latest, then run opencode plugin @jack-yang/opencode-tps-meter -g -f and restart opencode.