@brainervirus/workit-opencode 1.1.1 → 1.2.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 +10 -2
- package/dist/plugin.js +1869 -488
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -25,7 +25,9 @@ Local dev variant (absolute path to this repo):
|
|
|
25
25
|
}
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
-
Requirements: OpenCode 1.18.30, Node ≥ 24
|
|
28
|
+
Requirements: OpenCode 1.18.30+ (V1) or 2.0.3 (V2), Node ≥ 24. The published
|
|
29
|
+
plugin is a self-contained Node bundle; its default export is a dual entry
|
|
30
|
+
(`server()` for V1, `setup()` for V2), so the same pin works on both hosts.
|
|
29
31
|
|
|
30
32
|
## What it provides
|
|
31
33
|
|
|
@@ -42,7 +44,13 @@ Requirements: OpenCode 1.18.30, Node ≥ 24 (the published plugin is a self-cont
|
|
|
42
44
|
|
|
43
45
|
## Bundle / runtime model
|
|
44
46
|
|
|
45
|
-
The build bundles the `@opencode-ai/plugin` SDK
|
|
47
|
+
The build bundles the `@opencode-ai/plugin` (V1) and `@opencode/plugin` (V2) SDK surfaces used by the adapters into `dist/plugin.js`, so the published plugin has **no** runtime dependency on either SDK (both stay development/build-only pins). The plugin loads through its real package entry `dist/plugin.js`; only the fourteen method skills ship under `assets/`.
|
|
48
|
+
|
|
49
|
+
The V2 entry registers the same ten tools with `codemode: false`, the fourteen
|
|
50
|
+
skills and `wk-*` commands (user collisions preserved), question receipts for
|
|
51
|
+
`decision.record`, direct-child subagent lineage with durable dispatch claims,
|
|
52
|
+
shell route and worktree denial through `permission.evaluate`, and the
|
|
53
|
+
bootstrap/task/worker context plus compaction injection.
|
|
46
54
|
|
|
47
55
|
## Package scripts
|
|
48
56
|
|