@brainervirus/workit-codex 8.28.1 → 8.29.0
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/.codex-plugin/plugin.json +1 -1
- package/dist/launch-mcp.js +14 -1
- package/dist/{workit-hook-27bwpc4a.js → workit-hook-9pq84bdw.js} +1 -1
- package/dist/{workit-hook-2m8a4m5j.js → workit-hook-eaahdgen.js} +14 -1
- package/dist/{workit-hook-0vzd6e1j.js → workit-hook-y685rj7k.js} +1 -1
- package/dist/workit-hook.js +2 -2
- package/package.json +3 -3
package/dist/launch-mcp.js
CHANGED
|
@@ -19292,9 +19292,22 @@ function detectedChecks(root) {
|
|
|
19292
19292
|
return checks;
|
|
19293
19293
|
}
|
|
19294
19294
|
var GATES = ["testing", "verification"];
|
|
19295
|
+
function configFileFor(root) {
|
|
19296
|
+
const own = checksConfigFile(root);
|
|
19297
|
+
if (fs11.existsSync(own))
|
|
19298
|
+
return own;
|
|
19299
|
+
const common = git3(root, ["rev-parse", "--path-format=absolute", "--git-common-dir"]);
|
|
19300
|
+
if (!common || path13.basename(common) !== ".git")
|
|
19301
|
+
return own;
|
|
19302
|
+
const main = path13.dirname(common);
|
|
19303
|
+
if (path13.resolve(main) === path13.resolve(root))
|
|
19304
|
+
return own;
|
|
19305
|
+
const shared = checksConfigFile(main);
|
|
19306
|
+
return fs11.existsSync(shared) ? shared : own;
|
|
19307
|
+
}
|
|
19295
19308
|
function loadCheckConfig(cwd) {
|
|
19296
19309
|
const root = checkRoot(cwd);
|
|
19297
|
-
const file =
|
|
19310
|
+
const file = configFileFor(root);
|
|
19298
19311
|
const legacy = path13.basename(file) === LEGACY_CHECKS_FILE;
|
|
19299
19312
|
const label = legacy ? LEGACY_CHECKS_FILE : CHECKS_FILE;
|
|
19300
19313
|
const note = legacy ? {
|
|
@@ -137,9 +137,22 @@ function detectedChecks(root) {
|
|
|
137
137
|
return checks;
|
|
138
138
|
}
|
|
139
139
|
var GATES = ["testing", "verification"];
|
|
140
|
+
function configFileFor(root) {
|
|
141
|
+
const own = checksConfigFile(root);
|
|
142
|
+
if (fs.existsSync(own))
|
|
143
|
+
return own;
|
|
144
|
+
const common = git(root, ["rev-parse", "--path-format=absolute", "--git-common-dir"]);
|
|
145
|
+
if (!common || path.basename(common) !== ".git")
|
|
146
|
+
return own;
|
|
147
|
+
const main = path.dirname(common);
|
|
148
|
+
if (path.resolve(main) === path.resolve(root))
|
|
149
|
+
return own;
|
|
150
|
+
const shared = checksConfigFile(main);
|
|
151
|
+
return fs.existsSync(shared) ? shared : own;
|
|
152
|
+
}
|
|
140
153
|
function loadCheckConfig(cwd) {
|
|
141
154
|
const root = checkRoot(cwd);
|
|
142
|
-
const file =
|
|
155
|
+
const file = configFileFor(root);
|
|
143
156
|
const legacy = path.basename(file) === LEGACY_CHECKS_FILE;
|
|
144
157
|
const label = legacy ? LEGACY_CHECKS_FILE : CHECKS_FILE;
|
|
145
158
|
const note = legacy ? {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
gateCheckNames,
|
|
15
15
|
checkCommand,
|
|
16
16
|
maybeHeavy2
|
|
17
|
-
} from "./workit-hook-
|
|
17
|
+
} from "./workit-hook-eaahdgen.js";
|
|
18
18
|
// packages/workit-core/src/hooks/descriptor.ts
|
|
19
19
|
var support = (descriptor, axis) => {
|
|
20
20
|
if (axis.startsWith("event:"))
|
package/dist/workit-hook.js
CHANGED
|
@@ -34,7 +34,7 @@ if (tooOld) {
|
|
|
34
34
|
`);
|
|
35
35
|
process.exit(0);
|
|
36
36
|
}
|
|
37
|
-
var { maybeHeavy, stateDir } = await import("./workit-hook-
|
|
37
|
+
var { maybeHeavy, stateDir } = await import("./workit-hook-9pq84bdw.js");
|
|
38
38
|
var { standingPending } = await import("./workit-hook-mk64s4fk.js");
|
|
39
39
|
var payload = "";
|
|
40
40
|
for await (const chunk of process.stdin)
|
|
@@ -79,6 +79,6 @@ if (quiet)
|
|
|
79
79
|
process.stdout.write(`${JSON.stringify({ hookSpecificOutput: { hookEventName: quiet } })}
|
|
80
80
|
`);
|
|
81
81
|
else {
|
|
82
|
-
const { runCodexHook } = await import("./workit-hook-
|
|
82
|
+
const { runCodexHook } = await import("./workit-hook-y685rj7k.js");
|
|
83
83
|
await runCodexHook([payload]);
|
|
84
84
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brainervirus/workit-codex",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.29.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Workit Codex CLI/desktop plugin — shared MCP transport, hooks, method skills, and verifier/reviewer/implementer agents",
|
|
6
6
|
"keywords": [
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"build": "bun scripts/build.ts"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@brainervirus/workit-core": "^8.
|
|
43
|
-
"@brainervirus/workit-mcp": "^8.
|
|
42
|
+
"@brainervirus/workit-core": "^8.29.0",
|
|
43
|
+
"@brainervirus/workit-mcp": "^8.29.0"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
|
46
46
|
"node": ">=24"
|