Supercode Updater
OpenCode V2 TUI plugin: check and update server plugins and TUI packages, with update info for managed tools
0
425
21 in 7 days
36.1
Multi-signal model
4 days ago
2026-10-01
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@glaicer/supercode-plugin-updater@1.0.6"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@glaicer/supercode-plugin-updater@1.0.6"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D @glaicer/supercode-plugin-updaterOpenCode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
OpenCode installs plugins and built-in tools (prettier, biome, …) into its cache and never updates them. This plugin fixes that: it checks npm for newer versions and lets you update them from one screen.
Run /plugin-updates, pick what you want with Space / A, then:
U— update the selected pluginsX— reinstall the selected managed tools (this restarts the server)R— re-check right now
That's it. A few things worth knowing:
- Server-side plugin updates apply live; TUI plugin updates take effect after you restart the TUI. The screen tells you which is which.
- Managed tools get reinstalled by OpenCode itself on next use, so
Xrestarts the server — the confirmation warns you about that. - Rows that can't be updated (pinned versions, local paths) are shown but not selectable.
- The plugin never deletes anything except the cache of tools you explicitly reinstalled.
If updates are found, you'll also get a toast once a day — no more than that.
Install
OpenCode v2 (current release, 1.0.6):
opencode plugin add @glaicer/supercode-plugin-updater
OpenCode v1 (use the 0.3.0 release — it's a different API):
opencode plugin @glaicer/supercode-plugin-updater@0.3.0
Restart OpenCode after installing. The first start may be slow — that's OpenCode downloading the package into its cache, it happens once.
Development
npm run build # precompile the Solid TUI entrypoint into dist/
npm run typecheck # tsc --noEmit
npm test # node --test, network-free
License
MIT
Similar plugins
Supercode Turn Timer
@glaicer/supercode-turn-timer
OpenCode TUI plugin: elapsed-time timer for the current turn, inline in the prompt footer.
Message Copy
opencode-message-copy
Fuzzy-search, preview, and copy any user or assistant message from the OpenCode TUI.
Requesty
@christiangalsterer/opencode-requesty-plugin
opencode TUI plugin: shows Requesty.ai monthly budget, current spend, and per-model cost distribution in the session sidebar, in the session prompt and with a detail dialog via the /requesty command