oc-discord-rpc 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
- ## [0.4.0] - 2026-11-29
10
+ ## [0.4.1] - 2026-11-29
11
11
 
12
12
  ### Added
13
13
 
package/README.md CHANGED
@@ -18,6 +18,8 @@ Add the plugin to `~/.config/opencode/opencode.jsonc` and restart OpenCode:
18
18
 
19
19
  That is all: the plugin ships with a bundled application id and publishes a card out of the box. No Discord Developer Portal account or setup step is needed.
20
20
 
21
+ Verify it after the restart: trigger any tool call in a session. The Discord desktop client should show a `Playing OpenCode` card with the model and reasoning lines and an elapsed timer (for example `0:31`, counted from when OpenCode opened) that keeps running while OpenCode stays open. If nothing appears, confirm the Discord client is running locally and the plugin loaded; `OC_DISCORD_RPC_TRACE=1` logs each decision.
22
+
21
23
  To use your own application for different branding, create an application in the Discord Developer Portal, **enable Rich Presence** for it, and pass its id as `appId` (or set `OC_DISCORD_APP_ID`). A custom application without Rich Presence enabled cannot publish a card; the bundled one already has it enabled.
22
24
 
23
25
  ```jsonc
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oc-discord-rpc",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "An OpenCode plugin that publishes a Discord Rich Presence card for the running turn.",
5
5
  "keywords": [
6
6
  "opencode",