@scrylog/opencode-plugin 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 -1
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -84,7 +84,13 @@ Choose OpenCode, then choose `hooks` mode.
|
|
|
84
84
|
|
|
85
85
|
### 3. Enable the plugin in OpenCode
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
Register the plugin from the main operator CLI:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
scrylog opencode hooks install
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
Or create or update `~/.config/opencode/opencode.json` manually:
|
|
88
94
|
|
|
89
95
|
```json
|
|
90
96
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrylog/opencode-plugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "OpenCode plugin that pushes session events to scrylog daemon",
|
|
5
5
|
"author": "Joel D. Martinez",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,7 +35,9 @@
|
|
|
35
35
|
"clean:node-modules": "rm -rf node_modules",
|
|
36
36
|
"dev": "tsc --watch",
|
|
37
37
|
"prepack": "npm run build",
|
|
38
|
-
"
|
|
38
|
+
"prepublishOnly": "bun run ../../scripts/resolve-catalogs.ts",
|
|
39
|
+
"postpublish": "bun run ../../scripts/restore-catalogs.ts",
|
|
40
|
+
"pack:dry-run": "bun run ../../scripts/resolve-catalogs.ts && npm pack --dry-run && bun run ../../scripts/restore-catalogs.ts"
|
|
39
41
|
},
|
|
40
42
|
"keywords": [
|
|
41
43
|
"opencode",
|
|
@@ -50,8 +52,8 @@
|
|
|
50
52
|
"devDependencies": {
|
|
51
53
|
"@opencode-ai/plugin": "1.4.0",
|
|
52
54
|
"@opencode-ai/sdk": "1.4.10",
|
|
53
|
-
"@types/node": "
|
|
54
|
-
"typescript": "
|
|
55
|
+
"@types/node": "^24.3.0",
|
|
56
|
+
"typescript": "5.9.3"
|
|
55
57
|
},
|
|
56
58
|
"peerDependencies": {
|
|
57
59
|
"@opencode-ai/sdk": "*"
|