opencode-cmux 0.1.0 → 0.1.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 +7 -7
- package/package.json +9 -1
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# opencode-cmux
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/opencode-cmux)
|
|
4
|
+
|
|
3
5
|
OpenCode plugin that bridges OpenCode events to cmux notifications and sidebar metadata.
|
|
4
6
|
|
|
5
7
|
## Requirements
|
|
@@ -10,13 +12,7 @@ OpenCode plugin that bridges OpenCode events to cmux notifications and sidebar m
|
|
|
10
12
|
|
|
11
13
|
## Installation
|
|
12
14
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
Install the package and add it to `~/.config/opencode/opencode.json`:
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
npm install -g opencode-cmux
|
|
19
|
-
```
|
|
15
|
+
Add to `~/.config/opencode/opencode.json`:
|
|
20
16
|
|
|
21
17
|
```json
|
|
22
18
|
{
|
|
@@ -24,6 +20,8 @@ npm install -g opencode-cmux
|
|
|
24
20
|
}
|
|
25
21
|
```
|
|
26
22
|
|
|
23
|
+
OpenCode will download the package automatically on next start.
|
|
24
|
+
|
|
27
25
|
### Local / development
|
|
28
26
|
|
|
29
27
|
Build the package, then symlink the output directly into OpenCode's plugin directory:
|
|
@@ -32,6 +30,8 @@ Build the package, then symlink the output directly into OpenCode's plugin direc
|
|
|
32
30
|
ln -sf ~/path/to/opencode-cmux/dist/index.js ~/.config/opencode/plugins/cmux.js
|
|
33
31
|
```
|
|
34
32
|
|
|
33
|
+
Make sure `opencode-cmux` is **not** listed in `opencode.json` when using the symlink, to avoid loading it twice.
|
|
34
|
+
|
|
35
35
|
## What it does
|
|
36
36
|
|
|
37
37
|
| Event | cmux action |
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "opencode-cmux",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"description": "OpenCode plugin that bridges OpenCode events to cmux notifications and sidebar metadata",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
@@ -27,6 +27,14 @@
|
|
|
27
27
|
],
|
|
28
28
|
"author": "Matteo Casonato",
|
|
29
29
|
"license": "MIT",
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "git+https://github.com/0xCaso/opencode-cmux.git"
|
|
33
|
+
},
|
|
34
|
+
"homepage": "https://github.com/0xCaso/opencode-cmux#readme",
|
|
35
|
+
"bugs": {
|
|
36
|
+
"url": "https://github.com/0xCaso/opencode-cmux/issues"
|
|
37
|
+
},
|
|
30
38
|
"peerDependencies": {
|
|
31
39
|
"@opencode-ai/plugin": ">=1.0.0"
|
|
32
40
|
},
|