This repository was archived by the owner on Sep 20, 2026. It is now read-only.
Repository navigation
v0.2.1
What's Changed
- feat(self-heal): the plugin now keeps itself consistent — on every launch it checks the npm registry and, if a newer version exists, pins the exact version in your opencode configs, removes stale lockfile pins, and cleans outdated plugin cache directories, so
opencode plugin installjust works (fc8c7fa) - fix(proxy): fixed a race where two concurrent chat requests could wipe a pending payment prompt, causing the tier-selection menu to loop infinitely after paying. A request can now only clear its own pending payment (a0554b8)
- feat(mcp): new
buy_plantool — ask for a plan for any model (not just the active one) and the assistant purchases it via x402 after opencode's approval prompt (79447d2) - fix(plugin): installs now work flawlessly on Windows, macOS, and Linux — Windows gets a
.cmdshim (no privileged symlinks), case-insensitive path handling, andos.homedir()-based config resolution (e791a0d) - feat(proxy): when the active model runs out of credits (402), the proxy now tells you if other models still have remaining credits so you can switch instead of paying — and it detects model switches, clearing stale payment prompts automatically (ff068bc)
Changelog
- feat: self-heal version installation and cleanup stale pins and caches
- fix(proxy): guard pending payment against concurrent response clears
- feat(mcp): add buy_plan tool to purchase time credits for any model
- fix(plugin): make install work cross-platform (win cmd shim, case-insensitive paths)
- feat(proxy): hint about other models with credits on 402 and detect model switches
- chore: bump version to 0.2.1