@workit-dev/opencode 1.4.0 → 1.4.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/dist/plugin.js +4 -3
- package/package.json +2 -2
package/dist/plugin.js
CHANGED
|
@@ -29834,14 +29834,15 @@ var createV2Lifecycle = (deps) => {
|
|
|
29834
29834
|
};
|
|
29835
29835
|
|
|
29836
29836
|
// packages/workit-opencode/src/bootstrap.ts
|
|
29837
|
-
var
|
|
29837
|
+
var OPENCODE_ADDENDUM = "On OpenCode, run external mutations with native host tools or the workit CLI; workit_context is read-only and there is no managed external-action executor, so do not create proposals or request Workit approvals merely to invoke native tools. Record a meaningful user choice with workit_decision directly; it needs no question.";
|
|
29838
29838
|
var cached2;
|
|
29839
29839
|
var getWorkitBootstrap = () => {
|
|
29840
29840
|
if (cached2 !== undefined)
|
|
29841
29841
|
return cached2;
|
|
29842
|
-
cached2 =
|
|
29842
|
+
cached2 = `<workit-contract>
|
|
29843
29843
|
${invariantBootstrap()}
|
|
29844
|
-
|
|
29844
|
+
${OPENCODE_ADDENDUM}
|
|
29845
|
+
</workit-contract>`;
|
|
29845
29846
|
return cached2;
|
|
29846
29847
|
};
|
|
29847
29848
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workit-dev/opencode",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Workit OpenCode plugin — native tools, adaptive policy, and sixteen method skills",
|
|
6
6
|
"keywords": [
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@opencode/plugin": "2.0.18",
|
|
44
|
-
"@workit-dev/core": "^1.4.
|
|
44
|
+
"@workit-dev/core": "^1.4.2"
|
|
45
45
|
},
|
|
46
46
|
"engines": {
|
|
47
47
|
"node": ">=24"
|