v2.0.0
Installation
Fresh install
npm install -g https://github.com/Khip01/opencode-rich-presence/releases/download/v2.0.0/opencode-rich-presence-v2.0.0.tgz
rich-presence installThen add this to ~/.config/opencode/opencode.json (or .jsonc):
{
"plugin": ["opencode-rich-presence"]
}Update from previous v2.x
rich-presence updateMigrating from v1.0.0 (legacy Linux-only)
v1.0.0 used bash install/uninstall scripts which are no longer included.
- Back up your old
~/.config/opencode/discord-config.jsonif you have one. - Run the fresh install command above.
- Run
rich-presence installto set up the new config file. - Restore your settings into the new config (App ID, presence templates).
- Restart OpenCode.
See the README for full documentation.
Full Changelog: v1.0.0...v2.0.0