@brainervirus/workit-opencode 1.0.3 → 1.0.5
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 +6 -4
- package/package.json +2 -2
package/dist/plugin.js
CHANGED
|
@@ -13478,7 +13478,7 @@ OpenCode Workit decisions use the native question header "Workit decision: <purp
|
|
|
13478
13478
|
|
|
13479
13479
|
// packages/workit-opencode/src/tools/repo.ts
|
|
13480
13480
|
import path22 from "node:path";
|
|
13481
|
-
import { realpathSync as
|
|
13481
|
+
import { realpathSync as realpathSync8 } from "node:fs";
|
|
13482
13482
|
|
|
13483
13483
|
// node_modules/@opencode-ai/plugin/node_modules/zod/v4/classic/external.js
|
|
13484
13484
|
var exports_external = {};
|
|
@@ -28230,10 +28230,12 @@ import {
|
|
|
28230
28230
|
copyFileSync as copyFileSync2,
|
|
28231
28231
|
cpSync as cpSync2,
|
|
28232
28232
|
existsSync as existsSync11,
|
|
28233
|
+
lstatSync as lstatSync4,
|
|
28233
28234
|
mkdirSync as mkdirSync5,
|
|
28234
28235
|
mkdtempSync,
|
|
28235
28236
|
readFileSync as readFileSync11,
|
|
28236
28237
|
readdirSync as readdirSync6,
|
|
28238
|
+
realpathSync as realpathSync7,
|
|
28237
28239
|
renameSync as renameSync2,
|
|
28238
28240
|
rmSync,
|
|
28239
28241
|
statSync as statSync3,
|
|
@@ -29733,7 +29735,7 @@ function createRepoTools(runtime = defaultRuntime) {
|
|
|
29733
29735
|
entries,
|
|
29734
29736
|
path: changelogPath,
|
|
29735
29737
|
normalize_only,
|
|
29736
|
-
workspace_root:
|
|
29738
|
+
workspace_root: realpathSync8(context.directory)
|
|
29737
29739
|
})));
|
|
29738
29740
|
}
|
|
29739
29741
|
}),
|
|
@@ -29922,7 +29924,7 @@ function createRepoTools(runtime = defaultRuntime) {
|
|
|
29922
29924
|
}
|
|
29923
29925
|
|
|
29924
29926
|
// packages/workit-opencode/src/tools/workit.ts
|
|
29925
|
-
import { realpathSync as
|
|
29927
|
+
import { realpathSync as realpathSync9 } from "node:fs";
|
|
29926
29928
|
import path24 from "node:path";
|
|
29927
29929
|
|
|
29928
29930
|
// packages/workit-core/src/core/tracker-issues.ts
|
|
@@ -31217,7 +31219,7 @@ var sameWorkspace = (expected, observed) => {
|
|
|
31217
31219
|
if (typeof observed !== "string" || !observed)
|
|
31218
31220
|
return false;
|
|
31219
31221
|
try {
|
|
31220
|
-
return
|
|
31222
|
+
return realpathSync9(expected) === realpathSync9(observed);
|
|
31221
31223
|
} catch {
|
|
31222
31224
|
return path24.resolve(expected) === path24.resolve(observed);
|
|
31223
31225
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brainervirus/workit-opencode",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
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.5"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@opencode-ai/plugin": "1.18.30"
|