pushary 1.9.94 → 1.9.97

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 (126) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/{api-QBIRIMGU.js → api-WH3DLHJB.js} +10 -10
  3. package/dist/bin/pushary-bell-hook.js +26 -26
  4. package/dist/bin/pushary-bell.js +10 -10
  5. package/dist/bin/pushary-claude.js +27 -27
  6. package/dist/bin/pushary-clean.js +34 -34
  7. package/dist/bin/pushary-codex-bridge.js +21 -21
  8. package/dist/bin/pushary-codex-hook.js +32 -34
  9. package/dist/bin/pushary-codex-session.js +8 -8
  10. package/dist/bin/pushary-codex.js +14 -14
  11. package/dist/bin/pushary-connect.js +27 -27
  12. package/dist/bin/pushary-cowork.js +5 -5
  13. package/dist/bin/pushary-daemon.js +39 -39
  14. package/dist/bin/pushary-disconnect.js +26 -26
  15. package/dist/bin/pushary-display-hook.js +17 -17
  16. package/dist/bin/pushary-doctor.js +42 -42
  17. package/dist/bin/pushary-elicitation-hook.js +26 -26
  18. package/dist/bin/pushary-gemini-bridge.js +15 -15
  19. package/dist/bin/pushary-gemini-hook.js +28 -28
  20. package/dist/bin/pushary-hook.js +30 -30
  21. package/dist/bin/pushary-login.js +20 -20
  22. package/dist/bin/pushary-logout.js +25 -25
  23. package/dist/bin/pushary-mcp.js +11 -11
  24. package/dist/bin/pushary-mode.js +15 -15
  25. package/dist/bin/pushary-notification-hook.js +25 -25
  26. package/dist/bin/pushary-opencode-hook.js +27 -27
  27. package/dist/bin/pushary-permission-denied-hook.js +30 -30
  28. package/dist/bin/pushary-permission-hook.js +30 -30
  29. package/dist/bin/pushary-post-hook.js +25 -25
  30. package/dist/bin/pushary-prompt-hook.js +25 -25
  31. package/dist/bin/pushary-session-end-hook.js +27 -27
  32. package/dist/bin/pushary-session-start-hook.js +35 -35
  33. package/dist/bin/pushary-setup.js +48 -48
  34. package/dist/bin/pushary-stats.js +5 -5
  35. package/dist/bin/pushary-status.js +32 -32
  36. package/dist/bin/pushary-stop-hook.js +25 -25
  37. package/dist/bin/pushary-stopfailure-hook.js +25 -25
  38. package/dist/bin/pushary-suggestions.js +15 -15
  39. package/dist/bin/pushary-transcript-register.js +18 -18
  40. package/dist/bin/pushary-transcripts.js +26 -26
  41. package/dist/bin/pushary-upgrade.js +40 -40
  42. package/dist/bin/pushary-wait.js +15 -15
  43. package/dist/bin/pushary.js +7 -7
  44. package/dist/{chunk-ANZECRZO.js → chunk-2ZAFA3XI.js} +3 -3
  45. package/dist/{chunk-AMPF5FAS.js → chunk-32577NGL.js} +1 -1
  46. package/dist/{chunk-K3E3NFTT.js → chunk-4D4USO5K.js} +6 -6
  47. package/dist/{chunk-EFCHGKAD.js → chunk-5OLBO5EB.js} +1 -1
  48. package/dist/{chunk-KXCSF2IK.js → chunk-5RNZP53C.js} +6 -6
  49. package/dist/{chunk-ZZ5QZ24I.js → chunk-5U63KUP3.js} +1 -1
  50. package/dist/{chunk-HHKBWPXA.js → chunk-5WOO44TA.js} +5 -5
  51. package/dist/{chunk-4YSFD4RY.js → chunk-5WYXFKZV.js} +1 -1
  52. package/dist/{chunk-5ZBYW7IO.js → chunk-5YRDZE5F.js} +1 -1
  53. package/dist/{chunk-GPGLRSGY.js → chunk-6CDA4R5L.js} +3 -3
  54. package/dist/{chunk-YQCRX4T6.js → chunk-6RGQIKAC.js} +3 -3
  55. package/dist/{chunk-CA2V7TKX.js → chunk-APFQBVQW.js} +6 -6
  56. package/dist/{chunk-4GNFBBE6.js → chunk-AUZITE2H.js} +6 -6
  57. package/dist/{chunk-Z4JULPCS.js → chunk-CB2RYMAO.js} +1 -1
  58. package/dist/{chunk-6SN6L5YT.js → chunk-CG3C2WL7.js} +11 -11
  59. package/dist/{chunk-FQZSKWWL.js → chunk-CMDIKFVL.js} +1 -1
  60. package/dist/{chunk-JLWI2HZF.js → chunk-CP72YEEA.js} +1 -1
  61. package/dist/{chunk-OWCWJBGW.js → chunk-E5WUBHVH.js} +4 -4
  62. package/dist/{chunk-ERQD5UVH.js → chunk-EAJT6RYP.js} +7 -7
  63. package/dist/{chunk-BE4KMA7N.js → chunk-FZQSUS3R.js} +21 -19
  64. package/dist/{chunk-QR7RXGNF.js → chunk-GEA6ZV2P.js} +2 -2
  65. package/dist/{chunk-RGMS5EDS.js → chunk-GN2L5CYF.js} +1 -1
  66. package/dist/{chunk-HRFOVTCQ.js → chunk-GNFUPHPZ.js} +10 -10
  67. package/dist/{chunk-REV2QMUD.js → chunk-HD7AURL6.js} +4 -4
  68. package/dist/{chunk-K56A3LSA.js → chunk-HWEEBVS7.js} +4 -4
  69. package/dist/{chunk-X7GKDLW7.js → chunk-HXUE6IIP.js} +5 -5
  70. package/dist/{chunk-E2WYLZIL.js → chunk-IED5CTYP.js} +3 -3
  71. package/dist/{chunk-KH3QOWTE.js → chunk-IFQKSIID.js} +3 -3
  72. package/dist/{chunk-JCZ7WE5G.js → chunk-JA6GCOW2.js} +7 -7
  73. package/dist/{chunk-AEKTC2DX.js → chunk-JR6FCHAQ.js} +3 -3
  74. package/dist/{chunk-LFIFIIMK.js → chunk-KNVTKFDP.js} +2 -2
  75. package/dist/{chunk-4N6MND55.js → chunk-KYX7VBEE.js} +2 -2
  76. package/dist/{chunk-F74RBPJY.js → chunk-KZTN6OXM.js} +6 -6
  77. package/dist/{chunk-SSXMA23D.js → chunk-LKDAMWTZ.js} +4 -4
  78. package/dist/{chunk-PGCDYBKG.js → chunk-MFJFN4DA.js} +3 -3
  79. package/dist/{chunk-TYHOBIDF.js → chunk-MGYGWHG5.js} +1 -1
  80. package/dist/{chunk-XASOD3XX.js → chunk-MYKZPTAL.js} +1 -1
  81. package/dist/{chunk-MC7I3SZW.js → chunk-NDJ7H2WF.js} +1 -1
  82. package/dist/{chunk-QVCDU4NT.js → chunk-NI3NSURQ.js} +1 -1
  83. package/dist/{chunk-X5DCL36E.js → chunk-NTCVGJFC.js} +4 -4
  84. package/dist/{chunk-JJ2AA3N6.js → chunk-OBB6VTSG.js} +5 -5
  85. package/dist/{chunk-4YPTEVZD.js → chunk-ORVMA5KJ.js} +3 -3
  86. package/dist/{chunk-RCDCFFG4.js → chunk-OW4WEO56.js} +3 -3
  87. package/dist/{chunk-AUIRBCYE.js → chunk-QCEY7TSX.js} +3 -3
  88. package/dist/{chunk-CS2C7S5L.js → chunk-QP3OSLKU.js} +5 -5
  89. package/dist/{chunk-OSDL6OND.js → chunk-R7D3PH2M.js} +6 -6
  90. package/dist/{chunk-QU2G6MM7.js → chunk-R7TVELKF.js} +1 -1
  91. package/dist/{chunk-FSMR6GJT.js → chunk-RILJLDKG.js} +5 -5
  92. package/dist/{chunk-SV6WE5QB.js → chunk-RPY5XCGA.js} +2 -2
  93. package/dist/{chunk-5QSPRDUO.js → chunk-RRA6POT5.js} +1 -1
  94. package/dist/{chunk-BOHUB5VP.js → chunk-RSITUL2U.js} +2 -2
  95. package/dist/{chunk-IB5MLSE3.js → chunk-RZD7ULBJ.js} +1 -1
  96. package/dist/{chunk-6YX4VASU.js → chunk-SXX47FHL.js} +2 -2
  97. package/dist/{chunk-7Y3AQNHV.js → chunk-T35RHO3X.js} +5 -5
  98. package/dist/{chunk-QYP4EEDA.js → chunk-TKOL7DJH.js} +2 -2
  99. package/dist/{chunk-Z5QJONDX.js → chunk-TSSV3NBD.js} +2 -2
  100. package/dist/{chunk-3GZCHFYV.js → chunk-TZE2S3XP.js} +3 -3
  101. package/dist/{chunk-CDIVGMBR.js → chunk-UAUADSJX.js} +2 -2
  102. package/dist/{chunk-HHE7ONVT.js → chunk-VAY5AJ6N.js} +4 -4
  103. package/dist/{chunk-UFT4R4V7.js → chunk-VHOGSWUF.js} +3 -3
  104. package/dist/{chunk-VDBRLNW7.js → chunk-VPT3RDTO.js} +1 -1
  105. package/dist/{chunk-HZQIC3DG.js → chunk-VVHNHETX.js} +2 -2
  106. package/dist/{chunk-2TA5UKNE.js → chunk-VVP4CP4O.js} +10 -10
  107. package/dist/{chunk-UC6IZRXP.js → chunk-W3OTAHLV.js} +4 -4
  108. package/dist/{chunk-5M6ASRLB.js → chunk-W5IW7NZE.js} +1 -1
  109. package/dist/{chunk-XERTD7VZ.js → chunk-WOFHN2IZ.js} +370 -44
  110. package/dist/{chunk-3DASOC3M.js → chunk-X22LLKBY.js} +3 -3
  111. package/dist/{chunk-SKYDYDGX.js → chunk-Z6O6CDTP.js} +5 -5
  112. package/dist/{chunk-QNFDU72D.js → chunk-ZDIQPYM2.js} +1 -1
  113. package/dist/{chunk-IMNXYNBJ.js → chunk-ZFUSWR2P.js} +2 -2
  114. package/dist/{codex-app-cards-switch-QEMMPNK3.js → codex-app-cards-switch-DFZK6GPW.js} +11 -11
  115. package/dist/{codex-desktop-launch-LNIZPXSJ.js → codex-desktop-launch-7QGN7SL7.js} +1 -1
  116. package/dist/{codex-session-launch-IZ4IQDS7.js → codex-session-launch-OWMNCYAH.js} +18 -18
  117. package/dist/{config-3J5OOY3O.js → config-ITPE5M6M.js} +3 -3
  118. package/dist/{global-upgrade-LQM7IFAP.js → global-upgrade-PYEFLMJA.js} +10 -10
  119. package/dist/{identity-IQ3JVAIM.js → identity-WTYTOLG3.js} +4 -4
  120. package/dist/{live-capabilities-3AWVBJSK.js → live-capabilities-HZ42KLZS.js} +5 -5
  121. package/dist/{paths-TAAVCO2D.js → paths-6JUJIM74.js} +3 -3
  122. package/dist/{reapply-37FCVQCJ.js → reapply-5WV6IS5V.js} +28 -28
  123. package/dist/src/index.js +29 -29
  124. package/dist/{upgrade-lock-GWB57A36.js → upgrade-lock-ENAQL63D.js} +4 -4
  125. package/dist/{usage-QJYVQ3GS.js → usage-BO7LGOA3.js} +3 -3
  126. package/package.json +1 -1
@@ -4,24 +4,24 @@ import {
4
4
  outcomeOfFailedAsk,
5
5
  reportMachineDenial,
6
6
  storedWaitDeadline
7
- } from "./chunk-JCZ7WE5G.js";
7
+ } from "./chunk-JA6GCOW2.js";
8
8
  import {
9
9
  isGatingMoment,
10
10
  recordKeylessMoment
11
- } from "./chunk-5QSPRDUO.js";
11
+ } from "./chunk-RRA6POT5.js";
12
12
  import {
13
13
  isAdmitted,
14
14
  readAdmissionRules
15
- } from "./chunk-ERQD5UVH.js";
15
+ } from "./chunk-EAJT6RYP.js";
16
16
  import {
17
17
  isDeferAnswer,
18
18
  oncePerSession
19
- } from "./chunk-RGMS5EDS.js";
19
+ } from "./chunk-GN2L5CYF.js";
20
20
  import {
21
21
  activeHookSource,
22
22
  activeIdentity,
23
23
  namedSource
24
- } from "./chunk-X7GKDLW7.js";
24
+ } from "./chunk-HXUE6IIP.js";
25
25
  import {
26
26
  DEFAULT_SESSION,
27
27
  approvalAwaitingRetry,
@@ -37,7 +37,7 @@ import {
37
37
  recordBlockedActionHint,
38
38
  reportEvent,
39
39
  settleQuestionsForToolUse
40
- } from "./chunk-2TA5UKNE.js";
40
+ } from "./chunk-VVP4CP4O.js";
41
41
  import {
42
42
  UNNAMED_ACTION,
43
43
  deriveAction,
@@ -48,11 +48,11 @@ import {
48
48
  patchDeletesFiles,
49
49
  permissionDeniedAction,
50
50
  scopePathFor
51
- } from "./chunk-QNFDU72D.js";
51
+ } from "./chunk-ZDIQPYM2.js";
52
52
  import {
53
53
  repoKeyFor,
54
54
  repositoryScopeFor
55
- } from "./chunk-Z4JULPCS.js";
55
+ } from "./chunk-CB2RYMAO.js";
56
56
  import {
57
57
  askUser,
58
58
  cancelQuestion,
@@ -69,20 +69,20 @@ import {
69
69
  waitForQuestion,
70
70
  waitsForThePhone,
71
71
  withdrawQuestion
72
- } from "./chunk-SKYDYDGX.js";
72
+ } from "./chunk-Z6O6CDTP.js";
73
73
  import {
74
74
  getMachineId
75
- } from "./chunk-IMNXYNBJ.js";
75
+ } from "./chunk-ZFUSWR2P.js";
76
76
  import {
77
77
  claudeConfigDir
78
- } from "./chunk-LFIFIIMK.js";
78
+ } from "./chunk-KNVTKFDP.js";
79
79
  import {
80
80
  getApiKey,
81
81
  getBaseUrl
82
- } from "./chunk-IB5MLSE3.js";
82
+ } from "./chunk-RZD7ULBJ.js";
83
83
  import {
84
84
  NPX_LATEST_COMMAND
85
- } from "./chunk-FQZSKWWL.js";
85
+ } from "./chunk-CMDIKFVL.js";
86
86
  import {
87
87
  AGENT_QUESTION_STRATEGY,
88
88
  AGENT_QUESTION_TOOL,
@@ -129,6 +129,8 @@ import {
129
129
  isPusharyOwnTool,
130
130
  isRecord,
131
131
  parseAgentQuestions,
132
+ permissionsOffAskReason,
133
+ permissionsOffLineAppliesTo,
132
134
  questionHandedToTheTerminal,
133
135
  questionLimitHandBack,
134
136
  refusesWhenUnanswered,
@@ -137,7 +139,7 @@ import {
137
139
  terminalStaysLiveForTheCall,
138
140
  timeoutActionWithoutLocalPrompt,
139
141
  unansweredRefusalReason
140
- } from "./chunk-XERTD7VZ.js";
142
+ } from "./chunk-WOFHN2IZ.js";
141
143
 
142
144
  // src/terminal-answer-watch.ts
143
145
  import { closeSync, openSync, readSync, statSync } from "fs";
@@ -533,7 +535,7 @@ var emitDecisionEpisode = (apiKey, input, toolPolicy, machineId, toolTarget, dec
533
535
  machineId
534
536
  });
535
537
  };
536
- var dispatchModeHandler = async (apiKey, input, toolPolicy, machineId, trainingConsent = false, scopeReason, scopePath, terminalLive) => {
538
+ var dispatchModeHandler = async (apiKey, input, toolPolicy, machineId, trainingConsent = false, scopeReason, scopePath, terminalLive, askReason) => {
537
539
  const description = describeToolCall(input.tool_name, input.tool_input, "hook");
538
540
  const projectName = basename(input.cwd ?? process.cwd());
539
541
  const sessionId = input.session_id;
@@ -545,7 +547,7 @@ var dispatchModeHandler = async (apiKey, input, toolPolicy, machineId, trainingC
545
547
  toolPath: hookWritePath(input.tool_name, input.tool_input),
546
548
  intent,
547
549
  action: deriveAction(input.tool_name, input.tool_input),
548
- blocker: scopeReason ?? deriveBlocker(toolPolicy.mode),
550
+ blocker: scopeReason ?? deriveBlocker(toolPolicy.mode, askReason),
549
551
  actionBody: deriveActionBody(input.tool_name, input.tool_input),
550
552
  repoKey: repoKeyFor(input.cwd),
551
553
  // Only when the breach is what caused the question, so an ordinary approval
@@ -728,7 +730,7 @@ var claudeGateInput = (modeState, config, input, canonical) => {
728
730
  cwd: input.cwd,
729
731
  ...repositoryScopeFor(input.cwd),
730
732
  sessionId: input.session_id,
731
- permissionMode: input.permission_mode,
733
+ permissionMode: permissionsOffLineAppliesTo(ACTIVE_AGENT.type) ? input.permission_mode : void 0,
732
734
  deletesFiles: patchDeletesFiles(input.tool_name, input.tool_input ?? {})
733
735
  };
734
736
  };
@@ -833,7 +835,7 @@ var handlePreToolUse = async (input, canonical) => {
833
835
  return undecidedCall(SOLE_GATE_UNDECIDED_REASON);
834
836
  default:
835
837
  if (preToolUseHandsOff(input, gateInput, verdict)) return ask(TERMINAL_AND_PHONE_REASON);
836
- return await dispatchModeHandler(apiKey, input, verdict.policy, getMachineId(), modeState.trainingConsent, verdict.scopeReason, verdict.scopePath);
838
+ return await dispatchModeHandler(apiKey, input, verdict.policy, getMachineId(), modeState.trainingConsent, verdict.scopeReason, verdict.scopePath, void 0, permissionsOffAskReason(gateInput, verdict));
837
839
  }
838
840
  } catch (error) {
839
841
  await reportHookFailure("pre_tool_use_failed", error);
@@ -892,7 +894,7 @@ var handlePermissionRequest = async (input, canonical, holdBudgetSeconds) => {
892
894
  return void 0;
893
895
  default:
894
896
  return toPermissionRequestOutput(
895
- await dispatchModeHandler(apiKey, input, verdict.policy, getMachineId(), modeState.trainingConsent, verdict.scopeReason, verdict.scopePath, terminalLiveDispatch)
897
+ await dispatchModeHandler(apiKey, input, verdict.policy, getMachineId(), modeState.trainingConsent, verdict.scopeReason, verdict.scopePath, terminalLiveDispatch, permissionsOffAskReason(gateInput, verdict))
896
898
  );
897
899
  }
898
900
  } catch (error) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  configFilePath
3
- } from "./chunk-IB5MLSE3.js";
3
+ } from "./chunk-RZD7ULBJ.js";
4
4
  import {
5
5
  normalizeInstallSource
6
- } from "./chunk-XERTD7VZ.js";
6
+ } from "./chunk-WOFHN2IZ.js";
7
7
 
8
8
  // src/install-source.ts
9
9
  import { readFileSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DEFAULT_SESSION
3
- } from "./chunk-2TA5UKNE.js";
3
+ } from "./chunk-VVP4CP4O.js";
4
4
 
5
5
  // src/answer.ts
6
6
  var isDeferAnswer = (value) => value === "defer";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ensureCodexTrustsPusharyHooks
3
- } from "./chunk-6YX4VASU.js";
3
+ } from "./chunk-SXX47FHL.js";
4
4
  import {
5
5
  hermesReceiptPaths,
6
6
  hermesSetupPredatesThePluginFolder,
7
7
  installHermesPlugin,
8
8
  refreshHermesPluginFiles,
9
9
  shippedHermesPlugin
10
- } from "./chunk-AEKTC2DX.js";
10
+ } from "./chunk-JR6FCHAQ.js";
11
11
  import {
12
12
  fxIgnoresInstructionsFile,
13
13
  fxInstructionsBody,
@@ -16,7 +16,7 @@ import {
16
16
  macAppFxBridge,
17
17
  refreshClineKey,
18
18
  switchFxHttpEntryToBridge
19
- } from "./chunk-JJ2AA3N6.js";
19
+ } from "./chunk-OBB6VTSG.js";
20
20
  import {
21
21
  OPENCODE_HOOK_BINARY,
22
22
  agentHookOwner,
@@ -28,16 +28,16 @@ import {
28
28
  openCodePluginDir,
29
29
  openCodeWired,
30
30
  withOpenCodeAskRules
31
- } from "./chunk-K3E3NFTT.js";
31
+ } from "./chunk-4D4USO5K.js";
32
32
  import {
33
33
  detectClaudeVersion
34
- } from "./chunk-AUIRBCYE.js";
34
+ } from "./chunk-QCEY7TSX.js";
35
35
  import {
36
36
  addCompatibleHooks,
37
37
  compatibleConfigFile,
38
38
  compatibleInstructionsFile,
39
39
  hasCompatibleHooks
40
- } from "./chunk-X7GKDLW7.js";
40
+ } from "./chunk-HXUE6IIP.js";
41
41
  import {
42
42
  GEMINI_HOOK_BINARY,
43
43
  addGeminiHooks,
@@ -49,7 +49,7 @@ import {
49
49
  geminiWired,
50
50
  hasGeminiHooks,
51
51
  planHooks
52
- } from "./chunk-K56A3LSA.js";
52
+ } from "./chunk-HWEEBVS7.js";
53
53
  import {
54
54
  CLAUDE_HOOK_BINARY,
55
55
  CLAUDE_HOOK_EVENTS,
@@ -95,7 +95,7 @@ import {
95
95
  renderAgentInstructions,
96
96
  supportedClaudeEvents,
97
97
  vscodePluginMcp
98
- } from "./chunk-LFIFIIMK.js";
98
+ } from "./chunk-KNVTKFDP.js";
99
99
  import {
100
100
  formatVersion,
101
101
  hookCommandsUseBareNames,
@@ -104,12 +104,12 @@ import {
104
104
  resolveGlobalBinary,
105
105
  writeFileAtomic,
106
106
  writeJsonAtomic
107
- } from "./chunk-GPGLRSGY.js";
107
+ } from "./chunk-6CDA4R5L.js";
108
108
  import {
109
109
  HOOK_COMPATIBLE_PROFILES,
110
110
  isCompatibleAgentType,
111
111
  isRecord
112
- } from "./chunk-XERTD7VZ.js";
112
+ } from "./chunk-WOFHN2IZ.js";
113
113
 
114
114
  // src/reapply.ts
115
115
  import { dirname, join } from "path";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  resolveInstallSourceFor
3
- } from "./chunk-QR7RXGNF.js";
3
+ } from "./chunk-GEA6ZV2P.js";
4
4
  import {
5
5
  backupFile,
6
6
  readJsonSafe,
7
7
  writeFileAtomic,
8
8
  writeJsonAtomic
9
- } from "./chunk-GPGLRSGY.js";
9
+ } from "./chunk-6CDA4R5L.js";
10
10
  import {
11
11
  configFilePath
12
- } from "./chunk-IB5MLSE3.js";
12
+ } from "./chunk-RZD7ULBJ.js";
13
13
  import {
14
14
  API_KEY_PREFIX_PATTERN,
15
15
  isRecord
16
- } from "./chunk-XERTD7VZ.js";
16
+ } from "./chunk-WOFHN2IZ.js";
17
17
 
18
18
  // src/shell-alias.ts
19
19
  import { homedir } from "os";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AGENT_CHOICES
3
- } from "./chunk-5ZBYW7IO.js";
3
+ } from "./chunk-5YRDZE5F.js";
4
4
  import {
5
5
  BELL_HOOK_BINARY
6
- } from "./chunk-ZZ5QZ24I.js";
6
+ } from "./chunk-5U63KUP3.js";
7
7
  import {
8
8
  CLAUDE_HOOK_EVENTS,
9
9
  CODEX_HOOK_EVENTS,
@@ -13,13 +13,13 @@ import {
13
13
  hookBinaryNameOf,
14
14
  isProtectedByScope,
15
15
  registerHookEntry
16
- } from "./chunk-LFIFIIMK.js";
16
+ } from "./chunk-KNVTKFDP.js";
17
17
  import {
18
18
  CURSOR_GATE_EVENTS,
19
19
  HOOK_BUDGETS,
20
20
  HOOK_LOCATOR_BINARY,
21
21
  hookCommandHoldBudget
22
- } from "./chunk-XERTD7VZ.js";
22
+ } from "./chunk-WOFHN2IZ.js";
23
23
 
24
24
  // src/diagnostics/bridge.ts
25
25
  import { execFileSync } from "child_process";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  addGeminiMcpServer,
3
3
  removeGeminiMcpServer
4
- } from "./chunk-K56A3LSA.js";
4
+ } from "./chunk-HWEEBVS7.js";
5
5
  import {
6
6
  CLAUDE_CODE_AGENT
7
- } from "./chunk-2TA5UKNE.js";
7
+ } from "./chunk-VVP4CP4O.js";
8
8
  import {
9
9
  compatibleToolLookup
10
- } from "./chunk-QNFDU72D.js";
10
+ } from "./chunk-ZDIQPYM2.js";
11
11
  import {
12
12
  CLAUDE_HOOK_EVENTS,
13
13
  PUSHARY_MCP_URL,
@@ -19,7 +19,7 @@ import {
19
19
  isPusharyHook,
20
20
  registerHookEntry,
21
21
  removeClaudeMcpServers
22
- } from "./chunk-LFIFIIMK.js";
22
+ } from "./chunk-KNVTKFDP.js";
23
23
  import {
24
24
  HOOK_COMPATIBLE_PROFILES,
25
25
  PHONE_ANSWERED_TOOLS,
@@ -30,7 +30,7 @@ import {
30
30
  pusharyMissingReason,
31
31
  refusalOutput,
32
32
  withHookHoldBudget
33
- } from "./chunk-XERTD7VZ.js";
33
+ } from "./chunk-WOFHN2IZ.js";
34
34
 
35
35
  // src/config-document.ts
36
36
  import { parse, stringify } from "smol-toml";
@@ -3,11 +3,11 @@ import {
3
3
  } from "./chunk-POFBE6ZY.js";
4
4
  import {
5
5
  autoUpdateState
6
- } from "./chunk-LFIFIIMK.js";
6
+ } from "./chunk-KNVTKFDP.js";
7
7
  import {
8
8
  readJsonSafe,
9
9
  writeJsonAtomic
10
- } from "./chunk-GPGLRSGY.js";
10
+ } from "./chunk-6CDA4R5L.js";
11
11
  import {
12
12
  CLI_PACKAGE_NAMES,
13
13
  POSIX_GLOBAL_ROOT_SEGMENTS,
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-ZVU6WMMU.js";
18
18
  import {
19
19
  isAutoUpdateResult
20
- } from "./chunk-XERTD7VZ.js";
20
+ } from "./chunk-WOFHN2IZ.js";
21
21
 
22
22
  // src/auto-update.ts
23
23
  import { spawn } from "child_process";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  readJsonSafe,
3
3
  writeJsonAtomic
4
- } from "./chunk-GPGLRSGY.js";
4
+ } from "./chunk-6CDA4R5L.js";
5
5
  import {
6
6
  configFilePath
7
- } from "./chunk-IB5MLSE3.js";
7
+ } from "./chunk-RZD7ULBJ.js";
8
8
  import {
9
9
  readSetupOutcomeProperties
10
- } from "./chunk-XERTD7VZ.js";
10
+ } from "./chunk-WOFHN2IZ.js";
11
11
 
12
12
  // src/diagnostics/service-runtime.ts
13
13
  var unescapeXml = (value) => value.replaceAll("&quot;", '"').replaceAll("&apos;", "'").replaceAll("&lt;", "<").replaceAll("&gt;", ">").replaceAll("&amp;", "&");
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  announceSubscriptionRequired,
3
3
  isDeferAnswer
4
- } from "./chunk-RGMS5EDS.js";
4
+ } from "./chunk-GN2L5CYF.js";
5
5
  import {
6
6
  AUTO_DECISION_WINDOW_MS,
7
7
  DEFAULT_SESSION,
8
8
  claimThrottle,
9
9
  releaseThrottle,
10
10
  reportEvent
11
- } from "./chunk-2TA5UKNE.js";
11
+ } from "./chunk-VVP4CP4O.js";
12
12
  import {
13
13
  deriveToolTarget,
14
14
  permissionDeniedAction
15
- } from "./chunk-QNFDU72D.js";
15
+ } from "./chunk-ZDIQPYM2.js";
16
16
  import {
17
17
  askUser,
18
18
  isDecisionStopped,
19
19
  isQuestionLimitRefusal,
20
20
  waitForQuestion
21
- } from "./chunk-SKYDYDGX.js";
21
+ } from "./chunk-Z6O6CDTP.js";
22
22
  import {
23
23
  SubscriptionRequiredError
24
- } from "./chunk-OWCWJBGW.js";
24
+ } from "./chunk-E5WUBHVH.js";
25
25
  import {
26
26
  getMachineId
27
- } from "./chunk-IMNXYNBJ.js";
27
+ } from "./chunk-ZFUSWR2P.js";
28
28
  import {
29
29
  ASK_CONTEXT_MAX,
30
30
  agentQuestionContext,
@@ -36,7 +36,7 @@ import {
36
36
  questionsShownAsASet,
37
37
  shouldDeferToNativeMode,
38
38
  wireVerdictFor
39
- } from "./chunk-XERTD7VZ.js";
39
+ } from "./chunk-WOFHN2IZ.js";
40
40
 
41
41
  // src/machine-decision-audit.ts
42
42
  import { basename } from "path";
@@ -5,19 +5,19 @@ import {
5
5
  hermesAppWiringRecord,
6
6
  hermesConfigReceipt,
7
7
  hermesSetupReceipt
8
- } from "./chunk-LFIFIIMK.js";
8
+ } from "./chunk-KNVTKFDP.js";
9
9
  import {
10
10
  readJsonSafe,
11
11
  resolvePathBinary,
12
12
  writeJsonAtomic
13
- } from "./chunk-GPGLRSGY.js";
13
+ } from "./chunk-6CDA4R5L.js";
14
14
  import {
15
15
  isNewerVersion,
16
16
  isReleaseVersion
17
17
  } from "./chunk-ZVU6WMMU.js";
18
18
  import {
19
19
  isRecord
20
- } from "./chunk-XERTD7VZ.js";
20
+ } from "./chunk-WOFHN2IZ.js";
21
21
 
22
22
  // src/hermes/plugin-payload.ts
23
23
  import { createHash } from "crypto";
@@ -4,7 +4,7 @@ import {
4
4
  quoteIfNeeded,
5
5
  shellDoubleQuoted,
6
6
  writeFileAtomic
7
- } from "./chunk-GPGLRSGY.js";
7
+ } from "./chunk-6CDA4R5L.js";
8
8
  import {
9
9
  cmdShimScriptOf
10
10
  } from "./chunk-ZVU6WMMU.js";
@@ -15,7 +15,7 @@ import {
15
15
  HOOK_LOCATOR_BINARY,
16
16
  PRETOOLUSE_GATED_TOOLS,
17
17
  withHookHoldBudget
18
- } from "./chunk-XERTD7VZ.js";
18
+ } from "./chunk-WOFHN2IZ.js";
19
19
 
20
20
  // src/setup/paths.ts
21
21
  import { createHash as createHash2 } from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  findNativeClaudeInstall
3
- } from "./chunk-QVCDU4NT.js";
3
+ } from "./chunk-NI3NSURQ.js";
4
4
  import {
5
5
  isFile
6
- } from "./chunk-GPGLRSGY.js";
6
+ } from "./chunk-6CDA4R5L.js";
7
7
 
8
8
  // src/wrapper/claudeBinary.ts
9
9
  import { homedir } from "os";
@@ -4,7 +4,7 @@ import {
4
4
  postLiveSession,
5
5
  postLiveSessionUntilAccepted,
6
6
  startLiveSessionHeartbeat
7
- } from "./chunk-EFCHGKAD.js";
7
+ } from "./chunk-5OLBO5EB.js";
8
8
  import {
9
9
  CommandReceipts,
10
10
  controllerCommandSchema
@@ -14,24 +14,24 @@ import {
14
14
  describeIdleWindow,
15
15
  idleDeadlinePassed,
16
16
  startProcessOwnership
17
- } from "./chunk-UFT4R4V7.js";
17
+ } from "./chunk-VHOGSWUF.js";
18
18
  import {
19
19
  spawnClaude
20
20
  } from "./chunk-XHKBHWLX.js";
21
21
  import {
22
22
  repositoryScopeFor
23
- } from "./chunk-Z4JULPCS.js";
23
+ } from "./chunk-CB2RYMAO.js";
24
24
  import {
25
25
  isAskUserResponse,
26
26
  isDecisionStopped,
27
27
  isWaitForAnswerResponse,
28
28
  withdrawQuestion,
29
29
  writeDegraded
30
- } from "./chunk-SKYDYDGX.js";
30
+ } from "./chunk-Z6O6CDTP.js";
31
31
  import {
32
32
  callMcpTool,
33
33
  isRetryable
34
- } from "./chunk-OWCWJBGW.js";
34
+ } from "./chunk-E5WUBHVH.js";
35
35
  import {
36
36
  AGENT_QUESTION_DESCRIPTION_MAX,
37
37
  AGENT_QUESTION_HEADER_MAX,
@@ -52,7 +52,7 @@ import {
52
52
  parseCodexQuestions,
53
53
  planElicitationAsk,
54
54
  readElicitationFields
55
- } from "./chunk-XERTD7VZ.js";
55
+ } from "./chunk-WOFHN2IZ.js";
56
56
 
57
57
  // src/codex-question-owner.ts
58
58
  import { createHash } from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  realpath
3
- } from "./chunk-AUIRBCYE.js";
3
+ } from "./chunk-QCEY7TSX.js";
4
4
  import {
5
5
  findNativeClaudeInstall
6
- } from "./chunk-QVCDU4NT.js";
6
+ } from "./chunk-NI3NSURQ.js";
7
7
  import {
8
8
  readGlobalPrefixAsync,
9
9
  resolveGlobalBinary,
@@ -13,10 +13,10 @@ import {
13
13
  resolvePackageVersionFromBinary,
14
14
  resolvePathBinary,
15
15
  resolvePathBinaryAsync
16
- } from "./chunk-GPGLRSGY.js";
16
+ } from "./chunk-6CDA4R5L.js";
17
17
  import {
18
18
  MANAGED_PROVIDERS
19
- } from "./chunk-XERTD7VZ.js";
19
+ } from "./chunk-WOFHN2IZ.js";
20
20
 
21
21
  // src/live-capabilities.ts
22
22
  import { homedir } from "os";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-LFIFIIMK.js";
3
+ } from "./chunk-KNVTKFDP.js";
4
4
  import {
5
5
  readJsonSafe,
6
6
  writeFileAtomic
7
- } from "./chunk-GPGLRSGY.js";
7
+ } from "./chunk-6CDA4R5L.js";
8
8
  import {
9
9
  DECLINED_AGENTS_FILE,
10
10
  DISCONNECT_AGENT_IDS,
@@ -13,7 +13,7 @@ import {
13
13
  serializeDeclinedAgents,
14
14
  withDeclinedAgent,
15
15
  withoutDeclinedAgent
16
- } from "./chunk-XERTD7VZ.js";
16
+ } from "./chunk-WOFHN2IZ.js";
17
17
 
18
18
  // src/declined-agents-file.ts
19
19
  import { join } from "path";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-KZERVKTD.js";
4
4
  import {
5
5
  renderCommandHelp
6
- } from "./chunk-FQZSKWWL.js";
6
+ } from "./chunk-CMDIKFVL.js";
7
7
  import {
8
8
  getPackageVersion
9
9
  } from "./chunk-ZVU6WMMU.js";
@@ -2,7 +2,7 @@ import {
2
2
  isApprovalMode,
3
3
  isRecord,
4
4
  isTimeoutAction
5
- } from "./chunk-XERTD7VZ.js";
5
+ } from "./chunk-WOFHN2IZ.js";
6
6
 
7
7
  // src/cli/settings-response.ts
8
8
  var isFiniteNumber = (value) => typeof value === "number" && Number.isFinite(value);
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HOOK_HOLD_BUDGET_ENV,
3
3
  hookHoldBudgetProof
4
- } from "./chunk-XERTD7VZ.js";
4
+ } from "./chunk-WOFHN2IZ.js";
5
5
 
6
6
  // src/hold-budget.ts
7
7
  var takeHookHoldBudget = (args = process.argv.slice(2), env = process.env) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isFile
3
- } from "./chunk-GPGLRSGY.js";
3
+ } from "./chunk-6CDA4R5L.js";
4
4
 
5
5
  // src/claude-native-install.ts
6
6
  import { accessSync, constants } from "fs";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  notificationAnswerStep
3
- } from "./chunk-OSDL6OND.js";
3
+ } from "./chunk-R7D3PH2M.js";
4
4
  import {
5
5
  canChangeApprovalSettings
6
- } from "./chunk-HZQIC3DG.js";
6
+ } from "./chunk-VVHNHETX.js";
7
7
  import {
8
8
  matchMacAccountStep,
9
9
  retryAgentCommand
10
- } from "./chunk-3GZCHFYV.js";
10
+ } from "./chunk-TZE2S3XP.js";
11
11
  import {
12
12
  EXIT
13
13
  } from "./chunk-KZERVKTD.js";
14
14
  import {
15
15
  NPX_LATEST_COMMAND
16
- } from "./chunk-FQZSKWWL.js";
16
+ } from "./chunk-CMDIKFVL.js";
17
17
 
18
18
  // src/setup/closing.ts
19
19
  var ACTIVITY_URL = "pushary.com/dashboard/agent/activity";
@@ -4,13 +4,13 @@ import {
4
4
  configFailureKind,
5
5
  retryAgentCommand,
6
6
  writeSetupConfigFile
7
- } from "./chunk-3GZCHFYV.js";
7
+ } from "./chunk-TZE2S3XP.js";
8
8
  import {
9
9
  MCP_BRIDGE_BINARY
10
- } from "./chunk-BOHUB5VP.js";
10
+ } from "./chunk-RSITUL2U.js";
11
11
  import {
12
12
  KEY_FILE_MODE
13
- } from "./chunk-REV2QMUD.js";
13
+ } from "./chunk-HD7AURL6.js";
14
14
  import {
15
15
  CLINE_SERVER_NAME_TAKEN,
16
16
  CLINE_SETTINGS_REFUSALS,
@@ -32,13 +32,13 @@ import {
32
32
  withClinePusharyServer,
33
33
  withRefreshedClineKey,
34
34
  withoutClinePusharyServer
35
- } from "./chunk-LFIFIIMK.js";
35
+ } from "./chunk-KNVTKFDP.js";
36
36
  import {
37
37
  readJsonSafe,
38
38
  resolveGlobalBinary,
39
39
  writeFileAtomic,
40
40
  writeJsonAtomic
41
- } from "./chunk-GPGLRSGY.js";
41
+ } from "./chunk-6CDA4R5L.js";
42
42
 
43
43
  // src/fx-config.ts
44
44
  var FX_SERVER_NAME = "pushary";