@brainervirus/workit-codex 8.26.0 → 8.27.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.
|
@@ -19747,7 +19747,6 @@ var ALLOWED = new Set(WORKIT_ALLOWED_VERBS);
|
|
|
19747
19747
|
var isBypass = (word) => WORKIT_BYPASS_FLAGS.some((flag) => word === flag || word.startsWith(`${flag}=`));
|
|
19748
19748
|
var isWorkitWord = (word) => /^(?:.*[\\/])?workit(?:-cli)?$/u.test(word);
|
|
19749
19749
|
var bypassReason = (flag) => `Workit: \`${flag}\` overrides a Workit gate, so the user decides this call (no allow rule covers it).`;
|
|
19750
|
-
var EXPANSION_REASON = "Workit: an expansion before `--` could become a bypass flag, so the user decides this call (no allow rule covers it).";
|
|
19751
19750
|
var workitBypassFlag = (command, dialect = "posix") => {
|
|
19752
19751
|
for (const segment of segmentsOf(command, dialect)) {
|
|
19753
19752
|
if (segment.unanalyzable) {
|
|
@@ -19765,9 +19764,6 @@ var workitBypassFlag = (command, dialect = "posix") => {
|
|
|
19765
19764
|
const flag = (end < 0 ? words : words.slice(0, end)).find(isBypass);
|
|
19766
19765
|
if (flag)
|
|
19767
19766
|
return bypassReason(flag.split("=")[0] ?? flag);
|
|
19768
|
-
const limit = start + 1 + (end < 0 ? words.length : end);
|
|
19769
|
-
if (segment.expands?.some((index) => index > start && index < limit))
|
|
19770
|
-
return EXPANSION_REASON;
|
|
19771
19767
|
}
|
|
19772
19768
|
return null;
|
|
19773
19769
|
};
|
package/dist/workit-hook.js
CHANGED
|
@@ -49,6 +49,6 @@ if (quiet)
|
|
|
49
49
|
process.stdout.write(`${JSON.stringify({ hookSpecificOutput: { hookEventName: quiet } })}
|
|
50
50
|
`);
|
|
51
51
|
else {
|
|
52
|
-
const { runCodexHook } = await import("./workit-hook-
|
|
52
|
+
const { runCodexHook } = await import("./workit-hook-sza2zvq6.js");
|
|
53
53
|
await runCodexHook([payload]);
|
|
54
54
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brainervirus/workit-codex",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.27.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.27.0",
|
|
43
|
+
"@brainervirus/workit-mcp": "^8.27.0"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
|
46
46
|
"node": ">=24"
|