@workit-dev/codex 2.27.6 → 2.27.8

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.
@@ -41,6 +41,7 @@ var { procNoticeFile } = await import("./workit-hook-dv9s0sjq.js");
41
41
  var { recordHookRun } = await import("./workit-hook-a7qmf2t8.js");
42
42
  var { observeHookBudget } = await import("./workit-hook-3g6cv3hd.js");
43
43
  var { hasTaskStore, mayReach } = await import("./workit-hook-3c7ce65d.js");
44
+ var { mayHitHookGuard } = await import("./workit-hook-hhg5reqd.js");
44
45
  var YTRACK_WORD = /ytrack(?![\w/-]|\.(?!exe|cmd))/i;
45
46
  var namesYtrack = (text) => {
46
47
  const bare = text.replace(/['"\\]/g, "");
@@ -88,7 +89,7 @@ var quietEvent = () => {
88
89
  if (event === "PostToolUse")
89
90
  return /\bcommit\b/.test(text) ? null : event;
90
91
  const writes = /\b(?:git|gh|glab)\b|>|\b(?:tee|sponge|touch|mkdir|rm|rmdir|mv|cp|truncate|install|ln|patch|dd|sed|perl|set-content|add-content|out-file|new-item|ni|remove-item|del|copy-item|move-item)\b/i.test(text.replace(/\d*>&(?:\d+|-)(?![^\s;&|()<>])|[\d&]*>>?\s*\/dev\/(?:null|stdout|stderr|tty)(?![^\s;&|()<>])/g, " "));
91
- return /\b(?:git|gh|glab|node|tsx|ts-node|bash|sh|zsh|dash|ksh|ruby|perl|php|source)\b|(?:^|[;&|(\n])\s*(?:\w+=\S*\s+)*(?:(?:time|exec|sudo|nice|nohup|env|command|builtin|timeout|stdbuf|if|then|do|while|until|!)\s+(?:-\S+\s+|\d\S*\s+)*)*(?:\.\s+\S|\.{0,2}\/)/.test(text) || guarded(text) || namesYtrack(text) || mayRunUserOnly(text) || writes && (process.platform === "win32" || hasTaskStore(value.cwd)) || mayReach(text, value.cwd) || maybeHeavy(text, value.cwd) ? null : event;
92
+ return /\b(?:git|gh|glab|node|tsx|ts-node|bash|sh|zsh|dash|ksh|ruby|perl|php|source)\b|(?:^|[;&|(\n])\s*(?:\w+=\S*\s+)*(?:(?:time|exec|sudo|nice|nohup|env|command|builtin|timeout|stdbuf|if|then|do|while|until|!)\s+(?:-\S+\s+|\d\S*\s+)*)*(?:\.\s+\S|\.{0,2}\/)/.test(text) || guarded(text) || mayHitHookGuard(text) || namesYtrack(text) || mayRunUserOnly(text) || writes && (process.platform === "win32" || hasTaskStore(value.cwd)) || mayReach(text, value.cwd) || maybeHeavy(text, value.cwd) ? null : event;
92
93
  } catch {
93
94
  return null;
94
95
  }
@@ -101,7 +102,7 @@ if (quiet) {
101
102
  `);
102
103
  } else {
103
104
  try {
104
- const { runCodexHook } = await import("./workit-hook-7h8fzeg2.js");
105
+ const { runCodexHook } = await import("./workit-hook-jbtcvq84.js");
105
106
  await runCodexHook([payload]);
106
107
  } catch (error) {
107
108
  const { answerRuntimeFailure } = await import("./workit-hook-2j7nwxvz.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workit-dev/codex",
3
- "version": "2.27.6",
3
+ "version": "2.27.8",
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": [
@@ -41,8 +41,8 @@
41
41
  "build": "bun scripts/build.ts"
42
42
  },
43
43
  "devDependencies": {
44
- "@workit-dev/core": "^2.27.6",
45
- "@workit-dev/mcp": "^2.27.6"
44
+ "@workit-dev/core": "^2.27.8",
45
+ "@workit-dev/mcp": "^2.27.8"
46
46
  },
47
47
  "engines": {
48
48
  "node": ">=24"