@node9/proxy 2.19.1 → 2.19.2

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/cli.js CHANGED
@@ -12287,6 +12287,9 @@ async function setupCodex() {
12287
12287
  hooks: [{ type: "command", command: fullPathCommand("check"), timeout: 600 }]
12288
12288
  });
12289
12289
  hooksChanged = true;
12290
+ } else if (!existing.hooks.some((h) => isNode9Hook(h.command ?? ""))) {
12291
+ existing.hooks.push({ type: "command", command: fullPathCommand("check"), timeout: 600 });
12292
+ hooksChanged = true;
12290
12293
  } else {
12291
12294
  for (const h of existing.hooks) {
12292
12295
  const cmd = h.command ?? "";
package/dist/cli.mjs CHANGED
@@ -12293,6 +12293,9 @@ async function setupCodex() {
12293
12293
  hooks: [{ type: "command", command: fullPathCommand("check"), timeout: 600 }]
12294
12294
  });
12295
12295
  hooksChanged = true;
12296
+ } else if (!existing.hooks.some((h) => isNode9Hook(h.command ?? ""))) {
12297
+ existing.hooks.push({ type: "command", command: fullPathCommand("check"), timeout: 600 });
12298
+ hooksChanged = true;
12296
12299
  } else {
12297
12300
  for (const h of existing.hooks) {
12298
12301
  const cmd = h.command ?? "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@node9/proxy",
3
- "version": "2.19.1",
3
+ "version": "2.19.2",
4
4
  "description": "IAM for your AI agents. Set what Claude Code, Codex, Gemini, Cursor and any MCP server are allowed to do, review risky actions before they run, and keep every action on the record.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",