@brainervirus/workit-opencode 1.0.6 → 1.0.7
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 -4
- package/package.json +2 -2
package/dist/plugin.js
CHANGED
|
@@ -10796,7 +10796,7 @@ async function runAuthorizedExternalAction(input, effect) {
|
|
|
10796
10796
|
const preflight = typeof contract.details === "object" && contract.details !== null && contract.details.outcome === "not_started";
|
|
10797
10797
|
const outcome = input.failureOutcome ?? (preflight ? "not_started" : "unknown");
|
|
10798
10798
|
const settled = settleWithRefresh(outcome, settle(outcome));
|
|
10799
|
-
if (!settled.ok
|
|
10799
|
+
if (!settled.ok)
|
|
10800
10800
|
return settled;
|
|
10801
10801
|
return contract;
|
|
10802
10802
|
}
|
|
@@ -28308,10 +28308,10 @@ var detectBranchPolicy = (workspaceRoot) => {
|
|
|
28308
28308
|
|
|
28309
28309
|
// packages/workit-core/src/core/registration.ts
|
|
28310
28310
|
var CURSOR_RUNTIME_PACKAGE = "@brainervirus/workit-cursor@latest";
|
|
28311
|
-
var CURSOR_HOOK_RUN_COMMAND = `npx -y --prefer-online --package=${CURSOR_RUNTIME_PACKAGE} workit-cursor-hook`;
|
|
28311
|
+
var CURSOR_HOOK_RUN_COMMAND = `npx -y --prefer-online --min-release-age=0 --package=${CURSOR_RUNTIME_PACKAGE} workit-cursor-hook`;
|
|
28312
28312
|
function cursorHooksEntry(_packageDir) {
|
|
28313
28313
|
return {
|
|
28314
|
-
command: `npx -y --prefer-online --package=${CURSOR_RUNTIME_PACKAGE} workit-cursor-session-start`,
|
|
28314
|
+
command: `npx -y --prefer-online --min-release-age=0 --package=${CURSOR_RUNTIME_PACKAGE} workit-cursor-session-start`,
|
|
28315
28315
|
args: []
|
|
28316
28316
|
};
|
|
28317
28317
|
}
|
|
@@ -30789,7 +30789,7 @@ var resolveExternalActionRequest = (root, request, preservedDateMs) => {
|
|
|
30789
30789
|
if (preview.error)
|
|
30790
30790
|
return failure("invalid_input", preview.error);
|
|
30791
30791
|
const target = String(preview.path);
|
|
30792
|
-
const relative = path23.relative(
|
|
30792
|
+
const relative = path23.relative(fs13.realpathSync(root), target).replaceAll(path23.sep, "/") || "CHANGELOG.md";
|
|
30793
30793
|
const normalized = {
|
|
30794
30794
|
operation: request.operation,
|
|
30795
30795
|
payload: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brainervirus/workit-opencode",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Workit OpenCode plugin — native tools, adaptive policy, and fourteen method skills",
|
|
6
6
|
"keywords": [
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"typecheck": "tsc --noEmit"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@brainervirus/workit-core": "^1.0.
|
|
41
|
+
"@brainervirus/workit-core": "^1.0.7"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@opencode-ai/plugin": "1.18.30"
|