opencode-discord 1.5.0 → 1.5.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/README.md +38 -0
- package/package.json +3 -2
package/README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# opencode-discord
|
|
2
|
+
|
|
3
|
+
Discord Rich Presence plugin for [OpenCode](https://opencode.ai). Shows your AI coding activity in Discord.
|
|
4
|
+
|
|
5
|
+
> **Note:** This project is not built by the OpenCode team and is not affiliated with them in any way.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
Add to your `opencode.json`:
|
|
10
|
+
|
|
11
|
+
```json
|
|
12
|
+
{
|
|
13
|
+
"plugin": ["opencode-discord"]
|
|
14
|
+
}
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Make sure Discord desktop is running. Your status will show contextual info like:
|
|
18
|
+
|
|
19
|
+
- **Waiting for response...** — AI is generating
|
|
20
|
+
- **Editing main.ts** — editing a file
|
|
21
|
+
- **Running terminal commands** — using bash
|
|
22
|
+
- **Reading config.json** — reading files
|
|
23
|
+
- **No active session** — idle
|
|
24
|
+
|
|
25
|
+
## Rich Presence Assets
|
|
26
|
+
|
|
27
|
+
Upload these assets to your [Discord Application](https://discord.com/developers/applications) under Rich Presence > Art Assets:
|
|
28
|
+
|
|
29
|
+
| Name | Description |
|
|
30
|
+
|------|-------------|
|
|
31
|
+
| `opencode` | Large image (main logo) |
|
|
32
|
+
| `thinking` | Small image (AI generating) |
|
|
33
|
+
| `active` | Small image (session active) |
|
|
34
|
+
| `idle` | Small image (idle) |
|
|
35
|
+
|
|
36
|
+
## License
|
|
37
|
+
|
|
38
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-discord",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.1",
|
|
4
4
|
"description": "Discord Rich Presence plugin for OpenCode — shows your AI coding activity in Discord",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
|
7
7
|
"files": [
|
|
8
|
-
"index.ts"
|
|
8
|
+
"index.ts",
|
|
9
|
+
"README.md"
|
|
9
10
|
],
|
|
10
11
|
"keywords": [
|
|
11
12
|
"opencode",
|