@pushary/agent-hooks 1.7.0 → 1.7.1

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.
Files changed (97) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/bin/pushary-bell-hook.js +23 -23
  3. package/dist/bin/pushary-bell.js +10 -10
  4. package/dist/bin/pushary-claude.js +25 -25
  5. package/dist/bin/pushary-clean.js +116 -71
  6. package/dist/bin/pushary-codex-bridge.js +17 -17
  7. package/dist/bin/pushary-codex-hook.js +30 -30
  8. package/dist/bin/pushary-codex.js +12 -12
  9. package/dist/bin/pushary-connect.js +14 -14
  10. package/dist/bin/pushary-cowork.js +5 -5
  11. package/dist/bin/pushary-daemon.js +27 -27
  12. package/dist/bin/pushary-disconnect.js +17 -17
  13. package/dist/bin/pushary-doctor.js +68 -40
  14. package/dist/bin/pushary-elicitation-hook.js +24 -24
  15. package/dist/bin/pushary-gemini-bridge.js +12 -12
  16. package/dist/bin/pushary-gemini-hook.js +27 -27
  17. package/dist/bin/pushary-hook.js +31 -31
  18. package/dist/bin/pushary-login.js +13 -13
  19. package/dist/bin/pushary-logout.js +8 -8
  20. package/dist/bin/pushary-mcp.js +8 -8
  21. package/dist/bin/pushary-mode.js +10 -10
  22. package/dist/bin/pushary-notification-hook.js +27 -27
  23. package/dist/bin/pushary-opencode-hook.js +26 -26
  24. package/dist/bin/pushary-permission-denied-hook.js +31 -31
  25. package/dist/bin/pushary-permission-hook.js +30 -30
  26. package/dist/bin/pushary-post-hook.js +27 -27
  27. package/dist/bin/pushary-prompt-hook.js +27 -27
  28. package/dist/bin/pushary-session-end-hook.js +27 -27
  29. package/dist/bin/pushary-session-start-hook.js +31 -31
  30. package/dist/bin/pushary-setup.js +114 -89
  31. package/dist/bin/pushary-stats.js +5 -5
  32. package/dist/bin/pushary-status.js +16 -16
  33. package/dist/bin/pushary-stop-hook.js +27 -27
  34. package/dist/bin/pushary-stopfailure-hook.js +27 -27
  35. package/dist/bin/pushary-suggestions.js +5 -5
  36. package/dist/bin/pushary-transcript-register.js +19 -19
  37. package/dist/bin/pushary-transcripts.js +7 -7
  38. package/dist/bin/pushary-upgrade.js +20 -20
  39. package/dist/bin/pushary-wait.js +10 -10
  40. package/dist/bin/pushary.js +6 -6
  41. package/dist/{chunk-YYINL576.js → chunk-2FU43B5Q.js} +2 -2
  42. package/dist/{chunk-D6BULEJW.js → chunk-3QE3BHBW.js} +2 -2
  43. package/dist/{chunk-52NVBNJT.js → chunk-3QORH5EJ.js} +3 -3
  44. package/dist/{chunk-PUDBG3GM.js → chunk-3T35OE7C.js} +2 -2
  45. package/dist/{chunk-DVQDPI3T.js → chunk-42XR73I2.js} +8 -8
  46. package/dist/{chunk-X6KDKOV5.js → chunk-43SSQCWO.js} +3 -3
  47. package/dist/{chunk-DNJUSFBL.js → chunk-454KMJHF.js} +7 -5
  48. package/dist/{chunk-DZURML2D.js → chunk-4C4NRDIC.js} +1 -1
  49. package/dist/{chunk-6ADZQFVW.js → chunk-55RO62FV.js} +1 -1
  50. package/dist/{chunk-QXAK5RFU.js → chunk-62TEPRWQ.js} +1 -1
  51. package/dist/{chunk-2PS6QWDW.js → chunk-6PV2JQ64.js} +2 -2
  52. package/dist/{chunk-7OS4IHGI.js → chunk-6SJQ442W.js} +2 -2
  53. package/dist/{chunk-UC65FJJT.js → chunk-7GI6QC3M.js} +2 -2
  54. package/dist/{chunk-EAQMWJPG.js → chunk-7GYGVQBU.js} +8 -8
  55. package/dist/{chunk-73T6MSU5.js → chunk-AAGLDXH4.js} +5 -5
  56. package/dist/{chunk-HDRNWNVP.js → chunk-AHWJHLG5.js} +7 -28
  57. package/dist/{chunk-BWYJ6AAF.js → chunk-BYVB3RX3.js} +2 -2
  58. package/dist/{chunk-B3UXMSMW.js → chunk-EIZW73P5.js} +1 -1
  59. package/dist/{chunk-B234346F.js → chunk-H6JV44TE.js} +1 -1
  60. package/dist/{chunk-J2355HR7.js → chunk-IGBDOZUO.js} +1 -1
  61. package/dist/{chunk-DANOZVZK.js → chunk-JMBG47WV.js} +30 -1
  62. package/dist/{chunk-KW2RRR7D.js → chunk-JTQDP4ZL.js} +3 -3
  63. package/dist/{chunk-WUNZAE7I.js → chunk-KBLIVEFJ.js} +5 -5
  64. package/dist/{chunk-V6QRSU2G.js → chunk-KSNAAMU5.js} +4 -4
  65. package/dist/{chunk-2C7CCWVX.js → chunk-MCNS4725.js} +1 -1
  66. package/dist/{chunk-5HLTWFJ6.js → chunk-MWVCDP64.js} +1 -1
  67. package/dist/{chunk-L4H2Q2S4.js → chunk-NAAZCNKI.js} +153 -13
  68. package/dist/{chunk-B3YQANFN.js → chunk-NID4UZDN.js} +1 -1
  69. package/dist/{chunk-JNXVOU6Y.js → chunk-NQFGVAT6.js} +2 -2
  70. package/dist/{chunk-BH2SKSSK.js → chunk-O5JD7UI5.js} +1 -1
  71. package/dist/{chunk-5RUIFDTP.js → chunk-O5PRIYFZ.js} +30 -2
  72. package/dist/{chunk-V4AQBAVG.js → chunk-OAL44FM2.js} +1 -1
  73. package/dist/{chunk-KXMZMZD3.js → chunk-OTZHT34O.js} +1 -1
  74. package/dist/{chunk-XNCMT7YY.js → chunk-P5CBNSYL.js} +1 -1
  75. package/dist/{chunk-JXUAXO74.js → chunk-Q7QRR6YL.js} +2 -2
  76. package/dist/{chunk-BBKNJJVX.js → chunk-QPR33SHS.js} +6 -6
  77. package/dist/{chunk-LEZFOTMI.js → chunk-SNWNA3MQ.js} +1 -1
  78. package/dist/{chunk-R2XCLT6I.js → chunk-SVEMF2VO.js} +4 -4
  79. package/dist/{chunk-ROQK7IN3.js → chunk-UPKP67TA.js} +2 -2
  80. package/dist/{chunk-SQRWHALT.js → chunk-VCMFKZON.js} +2 -2
  81. package/dist/{chunk-IJ6ECPA6.js → chunk-WM3U2RUK.js} +8 -8
  82. package/dist/{chunk-KYQXUGH7.js → chunk-WSC53O7I.js} +3 -3
  83. package/dist/{chunk-ZQ7IDOKY.js → chunk-WZWXBTRF.js} +3 -3
  84. package/dist/{chunk-PQ4F64M2.js → chunk-XDASEYRS.js} +3 -3
  85. package/dist/{chunk-YROGUPOZ.js → chunk-XFNVG3OV.js} +1 -1
  86. package/dist/{chunk-CVALVGA7.js → chunk-XMN37YJH.js} +1 -1
  87. package/dist/{chunk-VKVIAZQO.js → chunk-XPMOCJHN.js} +1 -1
  88. package/dist/{chunk-B76WVEDX.js → chunk-XPTCPU6V.js} +1 -1
  89. package/dist/{chunk-O2LEPIU6.js → chunk-Y6GKOZBT.js} +1 -1
  90. package/dist/{chunk-4F46VIEE.js → chunk-YQN7S57T.js} +6 -6
  91. package/dist/{chunk-UOAQ6QMP.js → chunk-YZKS3ME3.js} +2 -2
  92. package/dist/{chunk-S3UD4V6W.js → chunk-ZEMSCGDD.js} +6 -1
  93. package/dist/{chunk-EGKXSQCY.js → chunk-ZIIYTQHC.js} +4 -4
  94. package/dist/{reapply-6PH3FMPX.js → reapply-66GQIBXN.js} +9 -9
  95. package/dist/src/index.js +19 -19
  96. package/package.json +1 -1
  97. package/dist/chunk-P32LPT2L.js +0 -6
@@ -3,7 +3,7 @@ import {
3
3
  HOOK_LOCATOR_BINARY,
4
4
  isReleaseVersion,
5
5
  withHookHoldBudget
6
- } from "./chunk-YROGUPOZ.js";
6
+ } from "./chunk-XFNVG3OV.js";
7
7
 
8
8
  // src/npm.ts
9
9
  import { execFileSync, execSync } from "child_process";
@@ -244,10 +244,6 @@ var guardedArgv = (target, args = [], platform = process.platform) => {
244
244
  return [shell, ...shellArgs, HOOK_GUARD_SCRIPTS[guardKindOf(target)], path, ...args];
245
245
  };
246
246
 
247
- // src/removal-scope.ts
248
- var namesAppLocator = (command) => command.includes(HOOK_LOCATOR_BINARY);
249
- var isProtectedByScope = (command, scope) => scope?.keepAppWiring === true && namesAppLocator(command);
250
-
251
247
  // src/codex-config.ts
252
248
  import { createHash } from "crypto";
253
249
  import { homedir } from "os";
@@ -299,6 +295,10 @@ var registerHookEntry = (existing, isOurs, entry) => {
299
295
  return rewritten;
300
296
  };
301
297
 
298
+ // src/removal-scope.ts
299
+ var namesAppLocator = (command) => command.includes(HOOK_LOCATOR_BINARY);
300
+ var isProtectedByScope = (command, scope) => scope?.keepAppWiring === true && namesAppLocator(command);
301
+
302
302
  // src/canonical-json.ts
303
303
  var canonicalJson = (value) => {
304
304
  if (value === null || typeof value !== "object") return JSON.stringify(value);
@@ -626,6 +626,7 @@ var autoUpdateLog = () => join3(pusharyDir(), "logs", "auto-update.log");
626
626
  var clientReportClaims = () => join3(pusharyDir(), "client-reports");
627
627
  var claudeRegistrationReceipt = () => join3(pusharyDir(), "setup", "claude-registration.json");
628
628
  var hermesConfigReceipt = () => join3(pusharyDir(), "setup", "hermes-config.json");
629
+ var fxQuestionRuleReceipt = () => join3(pusharyDir(), "setup", "fx-question-rule.json");
629
630
  var hookTakeoverReceipt = (agent) => join3(pusharyDir(), "setup", `hook-takeover-${agent}.json`);
630
631
  var codexSkillDir2 = () => join3(codexHome(), "skills", "pushary");
631
632
  var codexAgentsMd2 = () => join3(codexHome(), "AGENTS.md");
@@ -704,6 +705,7 @@ export {
704
705
  clientReportClaims,
705
706
  claudeRegistrationReceipt,
706
707
  hermesConfigReceipt,
708
+ fxQuestionRuleReceipt,
707
709
  hookTakeoverReceipt,
708
710
  codexSkillDir2,
709
711
  codexAgentsMd2,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PRETOOLUSE_GATED_TOOLS
3
- } from "./chunk-YROGUPOZ.js";
3
+ } from "./chunk-XFNVG3OV.js";
4
4
 
5
5
  // src/claude-tools.ts
6
6
  var POSTTOOLUSE_MIRROR_ONLY_TOOLS = ["TodoWrite", "Task", "WebFetch", "WebSearch"];
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readConfigFileKey
3
- } from "./chunk-UOAQ6QMP.js";
3
+ } from "./chunk-YZKS3ME3.js";
4
4
 
5
5
  // src/bell/fleet.ts
6
6
  import { closeSync, constants, futimesSync, lstatSync, mkdirSync, openSync, readdirSync, unlinkSync } from "fs";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-3EGEA4KH.js";
10
10
  import {
11
11
  getBaseUrl
12
- } from "./chunk-V4AQBAVG.js";
12
+ } from "./chunk-OAL44FM2.js";
13
13
 
14
14
  // src/cli/login-ui.ts
15
15
  import { hostname } from "os";
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-KZERVKTD.js";
4
4
  import {
5
5
  renderCommandHelp
6
- } from "./chunk-B3UXMSMW.js";
6
+ } from "./chunk-EIZW73P5.js";
7
7
  import {
8
8
  getPackageVersion
9
- } from "./chunk-YROGUPOZ.js";
9
+ } from "./chunk-XFNVG3OV.js";
10
10
 
11
11
  // src/cli/usage.ts
12
12
  var exitOnHelpFlag = (command) => {
@@ -6,10 +6,10 @@ import {
6
6
  codexHooksJsonIn,
7
7
  isPusharyCodexCommand,
8
8
  resolvePathBinary
9
- } from "./chunk-DNJUSFBL.js";
9
+ } from "./chunk-454KMJHF.js";
10
10
  import {
11
11
  getPackageVersion
12
- } from "./chunk-YROGUPOZ.js";
12
+ } from "./chunk-XFNVG3OV.js";
13
13
 
14
14
  // src/codex-app-server.ts
15
15
  import { existsSync, realpathSync } from "fs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  registerTranscript
3
- } from "./chunk-EAQMWJPG.js";
3
+ } from "./chunk-7GYGVQBU.js";
4
4
  import {
5
5
  writeDegraded
6
- } from "./chunk-V6QRSU2G.js";
6
+ } from "./chunk-KSNAAMU5.js";
7
7
 
8
8
  // src/tool-hook-input.ts
9
9
  var OPTIONAL_TEXT_FIELDS = ["hook_event_name", "session_id", "cwd", "transcript_path", "tool_use_id", "permission_mode"];
@@ -6,38 +6,38 @@ import {
6
6
  } from "./chunk-SGZJ5LYH.js";
7
7
  import {
8
8
  hookOwnerOf
9
- } from "./chunk-R2XCLT6I.js";
9
+ } from "./chunk-SVEMF2VO.js";
10
10
  import {
11
11
  ensureDaemonRunning
12
- } from "./chunk-73T6MSU5.js";
12
+ } from "./chunk-AAGLDXH4.js";
13
13
  import {
14
14
  buildTranscriptRecords,
15
15
  decodePublicKey,
16
16
  generateSessionKey,
17
17
  wrapSessionKey
18
- } from "./chunk-BH2SKSSK.js";
18
+ } from "./chunk-O5JD7UI5.js";
19
19
  import {
20
20
  fetchTranscriptRecipients,
21
21
  uploadTranscriptRecords
22
- } from "./chunk-KXMZMZD3.js";
22
+ } from "./chunk-OTZHT34O.js";
23
23
  import {
24
24
  transcriptEnvironmentPreference,
25
25
  transcriptsEnabled
26
- } from "./chunk-B76WVEDX.js";
26
+ } from "./chunk-XPTCPU6V.js";
27
27
  import {
28
28
  readTranscriptPreference
29
- } from "./chunk-UOAQ6QMP.js";
29
+ } from "./chunk-YZKS3ME3.js";
30
30
  import {
31
31
  codexHome,
32
32
  pusharyDir
33
- } from "./chunk-DNJUSFBL.js";
33
+ } from "./chunk-454KMJHF.js";
34
34
  import {
35
35
  writeJsonAtomic
36
36
  } from "./chunk-T7E75EKA.js";
37
37
  import {
38
38
  getApiKey,
39
39
  getBaseUrl
40
- } from "./chunk-V4AQBAVG.js";
40
+ } from "./chunk-OAL44FM2.js";
41
41
 
42
42
  // src/transcript-registration.ts
43
43
  import { createHash } from "crypto";
@@ -4,14 +4,14 @@ import {
4
4
  } from "./chunk-XHKBHWLX.js";
5
5
  import {
6
6
  readControlMode
7
- } from "./chunk-UOAQ6QMP.js";
7
+ } from "./chunk-YZKS3ME3.js";
8
8
  import {
9
9
  getMachineId
10
- } from "./chunk-XNCMT7YY.js";
10
+ } from "./chunk-P5CBNSYL.js";
11
11
  import {
12
12
  pusharyDir,
13
13
  resolveGlobalBinary
14
- } from "./chunk-DNJUSFBL.js";
14
+ } from "./chunk-454KMJHF.js";
15
15
  import {
16
16
  readJsonSafe,
17
17
  writeFileAtomic,
@@ -20,10 +20,10 @@ import {
20
20
  } from "./chunk-T7E75EKA.js";
21
21
  import {
22
22
  getApiKey
23
- } from "./chunk-V4AQBAVG.js";
23
+ } from "./chunk-OAL44FM2.js";
24
24
  import {
25
25
  getPackageVersion
26
- } from "./chunk-YROGUPOZ.js";
26
+ } from "./chunk-XFNVG3OV.js";
27
27
 
28
28
  // src/daemon-lifecycle.ts
29
29
  import { dirname, join, win32 as win32Path } from "path";
@@ -8,21 +8,23 @@ import {
8
8
  writeHuman
9
9
  } from "./chunk-QCGNGEGE.js";
10
10
  import {
11
+ clipToRow,
12
+ terminalColumns,
11
13
  useColor
12
- } from "./chunk-5RUIFDTP.js";
14
+ } from "./chunk-O5PRIYFZ.js";
13
15
  import {
14
16
  callMcpTool
15
- } from "./chunk-JNXVOU6Y.js";
17
+ } from "./chunk-NQFGVAT6.js";
16
18
  import {
17
19
  reportedInstallSource
18
- } from "./chunk-ROQK7IN3.js";
20
+ } from "./chunk-UPKP67TA.js";
19
21
  import {
20
22
  NPX_LATEST_COMMAND
21
- } from "./chunk-B3UXMSMW.js";
23
+ } from "./chunk-EIZW73P5.js";
22
24
  import {
23
25
  PAIR_TTL_SECONDS,
24
26
  isAnswerSource
25
- } from "./chunk-YROGUPOZ.js";
27
+ } from "./chunk-XFNVG3OV.js";
26
28
 
27
29
  // src/reach.ts
28
30
  var reachVerdict = (channels) => {
@@ -462,29 +464,6 @@ var writeStatusLine = (text) => {
462
464
  ` : ` ${text}
463
465
  `);
464
466
  };
465
- var visibleLength = (text) => text.replace(/\x1b\[[0-9;]*m/g, "").length;
466
- var clipToRow = (text, columns) => {
467
- const budget = columns - 4;
468
- if (budget <= 1 || visibleLength(text) <= budget) return text;
469
- let visible = 0;
470
- let out = "";
471
- for (let i = 0; i < text.length; i += 1) {
472
- const escape = /^\x1b\[[0-9;]*m/.exec(text.slice(i));
473
- if (escape) {
474
- out += escape[0];
475
- i += escape[0].length - 1;
476
- continue;
477
- }
478
- if (visible >= budget - 1) break;
479
- out += text[i];
480
- visible += 1;
481
- }
482
- return `${out}\u2026`;
483
- };
484
- var terminalColumns = () => {
485
- const columns = process.stdout.columns;
486
- return typeof columns === "number" && columns > 0 ? columns : 80;
487
- };
488
467
  var startSpinner = (getLabel) => {
489
468
  if (!humanIsTty()) {
490
469
  writeHuman(` ${getLabel()}
@@ -3,14 +3,14 @@ import {
3
3
  } from "./chunk-POFBE6ZY.js";
4
4
  import {
5
5
  autoUpdateState
6
- } from "./chunk-DNJUSFBL.js";
6
+ } from "./chunk-454KMJHF.js";
7
7
  import {
8
8
  readJsonSafe,
9
9
  writeJsonAtomic
10
10
  } from "./chunk-T7E75EKA.js";
11
11
  import {
12
12
  ownPackageRoot
13
- } from "./chunk-YROGUPOZ.js";
13
+ } from "./chunk-XFNVG3OV.js";
14
14
 
15
15
  // src/auto-update.ts
16
16
  import { spawn } from "child_process";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SETUP_AGENT_CHOICES
3
- } from "./chunk-YROGUPOZ.js";
3
+ } from "./chunk-XFNVG3OV.js";
4
4
 
5
5
  // src/cli/commands.ts
6
6
  var NPX_LATEST_COMMAND = "npx @pushary/agent-hooks@latest";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  NPX_LATEST_COMMAND
3
- } from "./chunk-B3UXMSMW.js";
3
+ } from "./chunk-EIZW73P5.js";
4
4
 
5
5
  // src/setup/codex-trust.ts
6
6
  var CODEX_TRUST_TELEMETRY = {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HOOK_HOLD_BUDGET_ENV,
3
3
  hookHoldBudgetProof
4
- } from "./chunk-YROGUPOZ.js";
4
+ } from "./chunk-XFNVG3OV.js";
5
5
 
6
6
  // src/hold-budget.ts
7
7
  var takeHookHoldBudget = (args = process.argv.slice(2), env = process.env) => {
@@ -1,6 +1,11 @@
1
1
  import {
2
+ pusharyHookExecutable
3
+ } from "./chunk-XDASEYRS.js";
4
+ import {
5
+ isProtectedByScope,
6
+ registerHookEntry,
2
7
  resolvePathBinary
3
- } from "./chunk-DNJUSFBL.js";
8
+ } from "./chunk-454KMJHF.js";
4
9
 
5
10
  // src/hermes-config.ts
6
11
  import { execFileSync } from "child_process";
@@ -260,6 +265,28 @@ var installAgentSkill = async (request, effects) => {
260
265
  return "packaged-copy";
261
266
  };
262
267
 
268
+ // src/cursor-config.ts
269
+ var hookCommandOf = (entry) => {
270
+ const command = entry && typeof entry === "object" && !Array.isArray(entry) ? entry.command : void 0;
271
+ return typeof command === "string" ? command : "";
272
+ };
273
+ var isPusharyCursorEntry = (entry) => pusharyHookExecutable(hookCommandOf(entry)) !== null;
274
+ var registerCursorGate = (existing, entry) => registerHookEntry(existing, isPusharyCursorEntry, entry);
275
+ var withoutPusharyCursorHooks = (hooks, scope) => {
276
+ let removed = 0;
277
+ const kept = {};
278
+ for (const [event, entries] of Object.entries(hooks)) {
279
+ if (!Array.isArray(entries)) {
280
+ kept[event] = entries;
281
+ continue;
282
+ }
283
+ const others = entries.filter((entry) => !isPusharyCursorEntry(entry) || isProtectedByScope(hookCommandOf(entry), scope));
284
+ removed += entries.length - others.length;
285
+ if (others.length > 0 || entries.length === 0) kept[event] = others;
286
+ }
287
+ return { hooks: kept, removed };
288
+ };
289
+
263
290
  // src/cli/dry-run.ts
264
291
  import { execFileSync as execFileSync2 } from "child_process";
265
292
  import { rmSync as rmSync2, writeFileSync as writeFileSync2 } from "fs";
@@ -302,6 +329,8 @@ export {
302
329
  PUSHARY_SKILL_NAME,
303
330
  installSkillViaSkillsCli,
304
331
  installAgentSkill,
332
+ registerCursorGate,
333
+ withoutPusharyCursorHooks,
305
334
  createGuards,
306
335
  describeSetupSideEffects
307
336
  };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  readExistingMachineId
3
- } from "./chunk-XNCMT7YY.js";
3
+ } from "./chunk-P5CBNSYL.js";
4
4
  import {
5
5
  NetworkError
6
6
  } from "./chunk-7QLSKOSU.js";
7
7
  import {
8
8
  getBaseUrl
9
- } from "./chunk-V4AQBAVG.js";
9
+ } from "./chunk-OAL44FM2.js";
10
10
  import {
11
11
  clientContextHeaders,
12
12
  getPackageVersion
13
- } from "./chunk-YROGUPOZ.js";
13
+ } from "./chunk-XFNVG3OV.js";
14
14
 
15
15
  // src/cli/net.ts
16
16
  import { createRequire } from "module";
@@ -3,28 +3,28 @@ import {
3
3
  addPusharyToolPermissions,
4
4
  isPusharyHook,
5
5
  removeClaudeMcpServers
6
- } from "./chunk-KYQXUGH7.js";
6
+ } from "./chunk-WSC53O7I.js";
7
7
  import {
8
8
  CLAUDE_HOOK_EVENTS,
9
9
  addGeminiMcpServer,
10
10
  removeGeminiMcpServer
11
- } from "./chunk-ZQ7IDOKY.js";
11
+ } from "./chunk-WZWXBTRF.js";
12
12
  import {
13
13
  CLAUDE_CODE_AGENT,
14
14
  parseApplyPatchFiles
15
- } from "./chunk-IJ6ECPA6.js";
15
+ } from "./chunk-WM3U2RUK.js";
16
16
  import {
17
17
  guardBinary,
18
18
  holdBudgetOf,
19
19
  registerHookEntry
20
- } from "./chunk-DNJUSFBL.js";
20
+ } from "./chunk-454KMJHF.js";
21
21
  import {
22
22
  PHONE_ANSWERED_TOOLS,
23
23
  hookCompatibleProfile,
24
24
  hookCompatibleProfileBySource,
25
25
  toToolLookup,
26
26
  withHookHoldBudget
27
- } from "./chunk-YROGUPOZ.js";
27
+ } from "./chunk-XFNVG3OV.js";
28
28
 
29
29
  // src/compatible-config.ts
30
30
  import { homedir } from "os";
@@ -4,18 +4,18 @@ import {
4
4
  } from "./chunk-POFBE6ZY.js";
5
5
  import {
6
6
  isNetworkFailure
7
- } from "./chunk-KW2RRR7D.js";
7
+ } from "./chunk-JTQDP4ZL.js";
8
8
  import {
9
9
  clientReportClaims
10
- } from "./chunk-DNJUSFBL.js";
10
+ } from "./chunk-454KMJHF.js";
11
11
  import {
12
12
  getApiKey,
13
13
  getBaseUrl
14
- } from "./chunk-V4AQBAVG.js";
14
+ } from "./chunk-OAL44FM2.js";
15
15
  import {
16
16
  CLIENT_REPORT_PATH,
17
17
  degradedLine
18
- } from "./chunk-YROGUPOZ.js";
18
+ } from "./chunk-XFNVG3OV.js";
19
19
 
20
20
  // src/client-report-claim.ts
21
21
  import { createHash } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isSafeReadOnlyCommand
3
- } from "./chunk-YROGUPOZ.js";
3
+ } from "./chunk-XFNVG3OV.js";
4
4
 
5
5
  // src/ledger.ts
6
6
  import { appendFileSync, existsSync, mkdirSync, readFileSync, renameSync, rmSync, statSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  HOOK_LOCATOR_BINARY
3
- } from "./chunk-YROGUPOZ.js";
3
+ } from "./chunk-XFNVG3OV.js";
4
4
 
5
5
  // src/diagnostics/bridge.ts
6
6
  import { execFileSync } from "child_process";