opencode-worker 0.1.1 → 0.1.2
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 +11 -0
- package/package.json +16 -4
package/README.md
CHANGED
|
@@ -90,3 +90,14 @@ Closing stdin or SIGINT/SIGTERM/SIGHUP cancels running jobs and records them as
|
|
|
90
90
|
|
|
91
91
|
- `<dir>/.opencode-worker/` holds state, snapshots and logs per run; delete it when done.
|
|
92
92
|
- The before-snapshot copies the whole directory: use small, task-scoped directories.
|
|
93
|
+
|
|
94
|
+
## Releasing
|
|
95
|
+
|
|
96
|
+
Publishing runs in GitHub Actions via npm Trusted Publishing (OIDC): no npm token or OTP.
|
|
97
|
+
|
|
98
|
+
```sh
|
|
99
|
+
npm version patch # bumps package.json, commits, tags vX.Y.Z
|
|
100
|
+
git push --follow-tags # the tag triggers .github/workflows/publish.yml
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
The workflow fails if the tag does not match `package.json` `version`.
|
package/package.json
CHANGED
|
@@ -1,10 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-worker",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Run the official OpenCode CLI as an isolated, time-boxed worker. CLI + MCP stdio server.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/goofy1goober4/opencode-worker.git"
|
|
8
|
+
},
|
|
5
9
|
"type": "module",
|
|
6
|
-
"bin": {
|
|
7
|
-
|
|
8
|
-
|
|
10
|
+
"bin": {
|
|
11
|
+
"opencode-worker": "bin/opencode-worker.mjs"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"bin",
|
|
15
|
+
"lib",
|
|
16
|
+
"README.md"
|
|
17
|
+
],
|
|
18
|
+
"engines": {
|
|
19
|
+
"node": ">=20"
|
|
20
|
+
},
|
|
9
21
|
"license": "MIT"
|
|
10
22
|
}
|