pushary 1.9.129 → 1.9.130

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 (130) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{api-WTQOMRGG.js → api-MMU454AE.js} +11 -11
  3. package/dist/bin/pushary-audit.js +3 -3
  4. package/dist/bin/pushary-bell-hook.js +27 -27
  5. package/dist/bin/pushary-bell.js +10 -10
  6. package/dist/bin/pushary-claude.js +25 -25
  7. package/dist/bin/pushary-clean.js +34 -34
  8. package/dist/bin/pushary-codex-bridge.js +21 -21
  9. package/dist/bin/pushary-codex-hook.js +34 -34
  10. package/dist/bin/pushary-codex-session.js +8 -8
  11. package/dist/bin/pushary-codex.js +15 -15
  12. package/dist/bin/pushary-connect.js +28 -28
  13. package/dist/bin/pushary-cowork.js +5 -5
  14. package/dist/bin/pushary-daemon.js +42 -42
  15. package/dist/bin/pushary-disconnect.js +27 -27
  16. package/dist/bin/pushary-display-hook.js +5 -2
  17. package/dist/bin/pushary-doctor.js +42 -42
  18. package/dist/bin/pushary-elicitation-hook.js +27 -27
  19. package/dist/bin/pushary-gemini-bridge.js +15 -15
  20. package/dist/bin/pushary-gemini-hook.js +31 -31
  21. package/dist/bin/pushary-hook.js +33 -33
  22. package/dist/bin/pushary-login.js +21 -21
  23. package/dist/bin/pushary-logout.js +26 -26
  24. package/dist/bin/pushary-mcp.js +12 -12
  25. package/dist/bin/pushary-mode.js +15 -15
  26. package/dist/bin/pushary-notification-hook.js +26 -26
  27. package/dist/bin/pushary-opencode-hook.js +30 -30
  28. package/dist/bin/pushary-permission-denied-hook.js +33 -33
  29. package/dist/bin/pushary-permission-hook.js +33 -33
  30. package/dist/bin/pushary-post-hook.js +26 -26
  31. package/dist/bin/pushary-prompt-hook.js +26 -26
  32. package/dist/bin/pushary-session-end-hook.js +26 -26
  33. package/dist/bin/pushary-session-start-hook.js +35 -35
  34. package/dist/bin/pushary-setup.js +49 -49
  35. package/dist/bin/pushary-stats.js +5 -5
  36. package/dist/bin/pushary-status.js +32 -32
  37. package/dist/bin/pushary-stop-hook.js +26 -26
  38. package/dist/bin/pushary-stopfailure-hook.js +26 -26
  39. package/dist/bin/pushary-suggestions.js +15 -15
  40. package/dist/bin/pushary-transcript-register.js +17 -17
  41. package/dist/bin/pushary-transcripts.js +25 -25
  42. package/dist/bin/pushary-upgrade.js +40 -40
  43. package/dist/bin/pushary-wait.js +15 -15
  44. package/dist/bin/pushary.js +7 -7
  45. package/dist/{chunk-JWDGPKKL.js → chunk-25UU4Q4V.js} +1 -1
  46. package/dist/{chunk-TSZDE5NK.js → chunk-2U4MCUVZ.js} +1 -1
  47. package/dist/{chunk-KWFZUAET.js → chunk-2VNYP35D.js} +3 -3
  48. package/dist/{chunk-E4LKBXGP.js → chunk-2YS7YEUW.js} +2 -2
  49. package/dist/{chunk-7H2RWOO2.js → chunk-3R2GILXH.js} +5 -5
  50. package/dist/{chunk-NQSQC5OC.js → chunk-3SDMCBT7.js} +5 -5
  51. package/dist/{chunk-44ZTLOVE.js → chunk-42PVKPHM.js} +1 -1
  52. package/dist/{chunk-W5QKCZ7X.js → chunk-47IBUIDJ.js} +11 -11
  53. package/dist/{chunk-G4JW4QPR.js → chunk-4EQOCSJW.js} +1 -1
  54. package/dist/{chunk-2KVK6YQR.js → chunk-4VVYZJLG.js} +8 -8
  55. package/dist/{chunk-TFHTZ6GE.js → chunk-56DO6XGT.js} +5 -5
  56. package/dist/{chunk-VTT7U6TJ.js → chunk-5AVCVA3Z.js} +3 -3
  57. package/dist/{chunk-PKZJZWYN.js → chunk-66HILP6Q.js} +6 -6
  58. package/dist/{chunk-TEIL5BHZ.js → chunk-6NG7NVTL.js} +4 -4
  59. package/dist/{chunk-G6IAWKZ3.js → chunk-75FJZR2M.js} +3 -3
  60. package/dist/{chunk-QZJ4NGSQ.js → chunk-7A745YEM.js} +3 -3
  61. package/dist/{chunk-OUTWFS6J.js → chunk-7COOVVQJ.js} +2 -2
  62. package/dist/{chunk-BWYZ3YZM.js → chunk-AAMWERYZ.js} +2 -2
  63. package/dist/{chunk-AHEC2K7V.js → chunk-ANPQ6AW6.js} +6 -6
  64. package/dist/{chunk-VSNVDY55.js → chunk-B3X4SME2.js} +6 -6
  65. package/dist/{chunk-IGCXQDYL.js → chunk-BBYFAY3S.js} +10 -10
  66. package/dist/{chunk-ODZBKNIA.js → chunk-BKH4LQJC.js} +2 -2
  67. package/dist/{chunk-MUCBJ2KT.js → chunk-BZOTJ2CO.js} +2 -2
  68. package/dist/{chunk-QFS7JNUD.js → chunk-C2TRPHGA.js} +4 -4
  69. package/dist/{chunk-C74UXIKG.js → chunk-CPSGGBEN.js} +3 -3
  70. package/dist/{chunk-S45FPA72.js → chunk-CRVPT3HO.js} +2 -2
  71. package/dist/{chunk-6X2O5QI7.js → chunk-CVBSETPW.js} +3 -3
  72. package/dist/{chunk-PBK24IVU.js → chunk-DALJA6SH.js} +2 -2
  73. package/dist/{chunk-R5TGBKKZ.js → chunk-DIUFYQ7F.js} +4 -4
  74. package/dist/{chunk-AHHPHJOE.js → chunk-FZWWCDYA.js} +5 -5
  75. package/dist/{chunk-FN3AKOE6.js → chunk-G3IEREIQ.js} +6 -6
  76. package/dist/{chunk-QLIH4BJ6.js → chunk-GQPXW6BL.js} +1 -1
  77. package/dist/{chunk-D3YLMDPE.js → chunk-HE32H3U7.js} +6 -6
  78. package/dist/{chunk-HN63QQWB.js → chunk-HFIIF32E.js} +4 -4
  79. package/dist/{chunk-SISRFK3I.js → chunk-HMHZ4QF3.js} +3 -3
  80. package/dist/{chunk-EJEYQOKX.js → chunk-IVBRL2TT.js} +6 -6
  81. package/dist/{chunk-S6G4C5LS.js → chunk-JGUKBFGP.js} +5 -5
  82. package/dist/{chunk-UZCD6OFJ.js → chunk-JYCAAQUW.js} +1 -1
  83. package/dist/{chunk-FUDV2SJ6.js → chunk-KBAVAEMC.js} +4 -4
  84. package/dist/{chunk-R5ZFWL4F.js → chunk-KWICQAP7.js} +3 -3
  85. package/dist/{chunk-JP3S4FPO.js → chunk-M65LPNIO.js} +1 -0
  86. package/dist/{chunk-PG3BXBVY.js → chunk-ND35WKWA.js} +15 -15
  87. package/dist/{chunk-J74XLYS2.js → chunk-NFK2RHD3.js} +3 -3
  88. package/dist/{chunk-3EXJMRSC.js → chunk-NUOZ46B2.js} +1 -1
  89. package/dist/{chunk-A5L3WBHV.js → chunk-NYFUU23B.js} +1 -1
  90. package/dist/{chunk-VHSN7GCK.js → chunk-PBXXI75U.js} +2 -2
  91. package/dist/{chunk-JK3IYOOR.js → chunk-PEYTSAGK.js} +4 -4
  92. package/dist/{chunk-CCZML6KO.js → chunk-Q4WPTLEX.js} +2 -2
  93. package/dist/{chunk-OH67UPRF.js → chunk-QBJVECFY.js} +2 -2
  94. package/dist/{chunk-WPER6NNY.js → chunk-QBWCBTDH.js} +5 -5
  95. package/dist/{chunk-AN6I3TX7.js → chunk-QEEXR6CD.js} +2 -2
  96. package/dist/{chunk-OOCIVAMY.js → chunk-QIHYQHCC.js} +3 -3
  97. package/dist/{chunk-3SREEE2O.js → chunk-QQEU4LN2.js} +5 -5
  98. package/dist/{chunk-R4JOCIQM.js → chunk-RGVQOOGD.js} +1 -1
  99. package/dist/{chunk-UDH2BDU2.js → chunk-RQMUNSKU.js} +3 -3
  100. package/dist/{chunk-WLRSM634.js → chunk-SWWM3LRZ.js} +10 -6
  101. package/dist/{chunk-RS4BEWEZ.js → chunk-SZSIZCAU.js} +1 -1
  102. package/dist/{chunk-V4OLQBSN.js → chunk-SZYKS433.js} +1 -1
  103. package/dist/{chunk-CFZRNQIQ.js → chunk-T6HX6OTY.js} +1 -1
  104. package/dist/{chunk-XXCJY3KQ.js → chunk-TJ2R3V5A.js} +11 -11
  105. package/dist/{chunk-Q7YNYPRY.js → chunk-VRUEKURE.js} +1 -1
  106. package/dist/{chunk-Y57QT5SH.js → chunk-W3WJUR4P.js} +3 -3
  107. package/dist/{chunk-IAAP4OCC.js → chunk-WDA26JR4.js} +3 -3
  108. package/dist/{chunk-2MBD6JHB.js → chunk-WZ4SIRMH.js} +1 -1
  109. package/dist/{chunk-36I6HFLZ.js → chunk-XGLXVYOH.js} +5 -5
  110. package/dist/{chunk-O3HKUUXP.js → chunk-XHC3UNOK.js} +1 -1
  111. package/dist/{chunk-NXUZBYBA.js → chunk-XMZVQF2J.js} +1 -1
  112. package/dist/{chunk-6F6WN6C2.js → chunk-XQHXVBC2.js} +4 -4
  113. package/dist/{chunk-EFTS75PF.js → chunk-YC6R5CXH.js} +2 -2
  114. package/dist/{chunk-4U55UQ7X.js → chunk-YI6RR4JP.js} +4 -4
  115. package/dist/{chunk-VOFCKEIR.js → chunk-ZABDTVGQ.js} +6 -5
  116. package/dist/{chunk-BNJ4H57M.js → chunk-ZCMVIRD3.js} +1 -1
  117. package/dist/{codex-app-cards-switch-KMLJJA3K.js → codex-app-cards-switch-MZXLPTEJ.js} +11 -11
  118. package/dist/{codex-card-routing-QZCKG6N5.js → codex-card-routing-X2HUY2AV.js} +2 -2
  119. package/dist/{codex-desktop-launch-BYR7AZRC.js → codex-desktop-launch-Z7XUBFPH.js} +1 -1
  120. package/dist/{codex-session-launch-B33B65NA.js → codex-session-launch-L3KAQCLT.js} +18 -18
  121. package/dist/{config-X4S5PT22.js → config-5SNDVPS2.js} +3 -3
  122. package/dist/{global-upgrade-KHN4VJ72.js → global-upgrade-WGWQLBOM.js} +9 -9
  123. package/dist/{identity-ANBW7VRX.js → identity-O6BBNMHO.js} +4 -4
  124. package/dist/{live-capabilities-7O6JXLIM.js → live-capabilities-HQC6V3BG.js} +4 -4
  125. package/dist/{paths-PKHSS7QT.js → paths-ABTFHZQF.js} +3 -3
  126. package/dist/{reapply-2F24DBKV.js → reapply-GHISAECD.js} +28 -28
  127. package/dist/src/index.js +32 -32
  128. package/dist/{upgrade-lock-DVHGL55R.js → upgrade-lock-LUZJZC4C.js} +4 -4
  129. package/dist/{usage-FIAOA3QU.js → usage-XLJK7OTL.js} +3 -3
  130. package/package.json +1 -1
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  pusharyHookExecutable
3
- } from "./chunk-VOFCKEIR.js";
3
+ } from "./chunk-ZABDTVGQ.js";
4
4
  import {
5
5
  bridgeResolvesToApp,
6
6
  cursorUserHooks,
7
7
  executableFileName,
8
8
  isBridgeLocator,
9
9
  liveBridgeProbe
10
- } from "./chunk-WLRSM634.js";
10
+ } from "./chunk-SWWM3LRZ.js";
11
11
  import {
12
12
  atLeast,
13
13
  parseVersion
14
- } from "./chunk-SISRFK3I.js";
14
+ } from "./chunk-HMHZ4QF3.js";
15
15
  import {
16
16
  CURSOR_GATE_COVERAGE,
17
17
  CURSOR_GATE_SCRIPT,
@@ -21,7 +21,7 @@ import {
21
21
  isCursorHookPayload,
22
22
  isRecord,
23
23
  toolsCoveredByGateEntry
24
- } from "./chunk-JP3S4FPO.js";
24
+ } from "./chunk-M65LPNIO.js";
25
25
 
26
26
  // src/cursor-gate-registration.ts
27
27
  import { dirname, isAbsolute, join, resolve } from "path";
@@ -399,9 +399,9 @@ var installGlobally = (options) => {
399
399
  }
400
400
  const started = (async () => {
401
401
  if (!npmIsOnPath()) throw new NpmMissingError();
402
- const { withUpgradeLock } = await import("./global-upgrade-KHN4VJ72.js");
403
- const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-DVHGL55R.js");
404
- const { autoUpdateLock } = await import("./paths-PKHSS7QT.js");
402
+ const { withUpgradeLock } = await import("./global-upgrade-WGWQLBOM.js");
403
+ const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-LUZJZC4C.js");
404
+ const { autoUpdateLock } = await import("./paths-ABTFHZQF.js");
405
405
  let result = "skipped";
406
406
  const install = async () => {
407
407
  const platform = process.platform;
@@ -3,10 +3,10 @@ import {
3
3
  forkFinishWithUpgradeLock,
4
4
  installWithUpgradeLock,
5
5
  releaseAutoUpdateLock
6
- } from "./chunk-VHSN7GCK.js";
6
+ } from "./chunk-PBXXI75U.js";
7
7
  import {
8
8
  phoneStartIsRequired
9
- } from "./chunk-IAAP4OCC.js";
9
+ } from "./chunk-WDA26JR4.js";
10
10
  import {
11
11
  describeAutoUpdateCheck,
12
12
  globalInstallLocation,
@@ -18,25 +18,25 @@ import {
18
18
  readAutoUpdateState,
19
19
  updateAutoUpdateState,
20
20
  upgradeEntryFor
21
- } from "./chunk-CCZML6KO.js";
21
+ } from "./chunk-Q4WPTLEX.js";
22
22
  import {
23
23
  autoUpdateLock,
24
24
  autoUpdateLog,
25
25
  autoUpdateState
26
- } from "./chunk-WLRSM634.js";
26
+ } from "./chunk-SWWM3LRZ.js";
27
27
  import {
28
28
  execNpm,
29
29
  fetchLatestPublishedVersion,
30
30
  npmErrorMessage,
31
31
  readGlobalCliInstallAt,
32
32
  readGlobalPrefix
33
- } from "./chunk-SISRFK3I.js";
33
+ } from "./chunk-HMHZ4QF3.js";
34
34
  import {
35
35
  EXIT
36
36
  } from "./chunk-BG4HHB7E.js";
37
37
  import {
38
38
  NPX_LATEST_COMMAND
39
- } from "./chunk-V4OLQBSN.js";
39
+ } from "./chunk-SZYKS433.js";
40
40
  import {
41
41
  commandsPackage,
42
42
  globalUpgradeEntry,
@@ -3,24 +3,24 @@ import {
3
3
  expectedLaunchCapabilities,
4
4
  hasSpawnProvider,
5
5
  resolveControlPolicy
6
- } from "./chunk-IAAP4OCC.js";
6
+ } from "./chunk-WDA26JR4.js";
7
7
  import {
8
8
  daemonHasRemoteProof,
9
9
  daemonServiceManagerAvailable,
10
10
  hasDaemonServiceDefinition,
11
11
  readDaemonNeedsLogin,
12
12
  readDaemonStatus
13
- } from "./chunk-FN3AKOE6.js";
13
+ } from "./chunk-G3IEREIQ.js";
14
14
  import {
15
15
  getMachineId
16
- } from "./chunk-BNJ4H57M.js";
16
+ } from "./chunk-ZCMVIRD3.js";
17
17
  import {
18
18
  readControlMode,
19
19
  readKeySource
20
- } from "./chunk-6X2O5QI7.js";
20
+ } from "./chunk-CVBSETPW.js";
21
21
  import {
22
22
  getBaseUrl
23
- } from "./chunk-CFZRNQIQ.js";
23
+ } from "./chunk-T6HX6OTY.js";
24
24
  import {
25
25
  getPackageVersion
26
26
  } from "./chunk-WIIMW5YO.js";
@@ -24,7 +24,7 @@ import {
24
24
  reportableSessionId,
25
25
  toToolLookup,
26
26
  truncateLine
27
- } from "./chunk-JP3S4FPO.js";
27
+ } from "./chunk-M65LPNIO.js";
28
28
 
29
29
  // ../hook-mapping/src/commit-receipt.ts
30
30
  var COMMIT_OUTPUT_MAX_LENGTH = 65536;
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  UNNAMED_ACTION
3
- } from "./chunk-UZCD6OFJ.js";
3
+ } from "./chunk-JYCAAQUW.js";
4
4
  import {
5
5
  askUser,
6
6
  isAwayPaused,
7
7
  isLocalQuestionHandoff,
8
8
  unavailableQuestionUnlessRefused,
9
9
  waitForQuestion
10
- } from "./chunk-PKZJZWYN.js";
10
+ } from "./chunk-66HILP6Q.js";
11
11
  import {
12
12
  getMachineId
13
- } from "./chunk-BNJ4H57M.js";
13
+ } from "./chunk-ZCMVIRD3.js";
14
14
  import {
15
15
  hookWaitClamped,
16
16
  hookWaitDeadline,
17
17
  scopeBreachReasonOf
18
- } from "./chunk-JP3S4FPO.js";
18
+ } from "./chunk-M65LPNIO.js";
19
19
 
20
20
  // src/pushed-question.ts
21
21
  var scopeQuestionOf = (verdict) => {
@@ -3,15 +3,15 @@ import {
3
3
  } from "./chunk-XMSDA5WA.js";
4
4
  import {
5
5
  fetchAsCredential
6
- } from "./chunk-44ZTLOVE.js";
6
+ } from "./chunk-42PVKPHM.js";
7
7
  import {
8
8
  getBaseUrl
9
- } from "./chunk-CFZRNQIQ.js";
9
+ } from "./chunk-T6HX6OTY.js";
10
10
  import {
11
11
  compressTranscriptRecord,
12
12
  redactSecretsFromContent,
13
13
  transcriptRecordPlaintext
14
- } from "./chunk-JP3S4FPO.js";
14
+ } from "./chunk-M65LPNIO.js";
15
15
 
16
16
  // src/transcript-api.ts
17
17
  var providerRecipientSchema = external_exports.object({
@@ -9647,6 +9647,7 @@ export {
9647
9647
  resolveAutoResolveOrigin,
9648
9648
  resolvePolicy,
9649
9649
  KILL_REASON,
9650
+ PUSHARY_TOOL_PREFIX,
9650
9651
  isPusharyOwnTool,
9651
9652
  isPusharyConnectorTool,
9652
9653
  shouldDeferToNativeMode,
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  claudeSettingsLocationFor,
3
3
  readClaudePermissionRules
4
- } from "./chunk-BWYZ3YZM.js";
4
+ } from "./chunk-AAMWERYZ.js";
5
5
  import {
6
6
  askAgentQuestions,
7
7
  defersToNativeMode,
8
8
  outcomeOfFailedAsk,
9
9
  storedWaitDeadline
10
- } from "./chunk-AHHPHJOE.js";
10
+ } from "./chunk-FZWWCDYA.js";
11
11
  import {
12
12
  reportMachineDenial
13
- } from "./chunk-Y57QT5SH.js";
13
+ } from "./chunk-W3WJUR4P.js";
14
14
  import {
15
15
  isGatingMoment,
16
16
  recordKeylessMoment
17
- } from "./chunk-TSZDE5NK.js";
17
+ } from "./chunk-2U4MCUVZ.js";
18
18
  import {
19
19
  isAdmitted,
20
20
  readAdmissionRules
21
- } from "./chunk-NQSQC5OC.js";
21
+ } from "./chunk-3SDMCBT7.js";
22
22
  import {
23
23
  isDeferAnswer,
24
24
  oncePerSession
25
- } from "./chunk-3EXJMRSC.js";
25
+ } from "./chunk-NUOZ46B2.js";
26
26
  import {
27
27
  activeHookSource,
28
28
  activeIdentity,
29
29
  namedSource
30
- } from "./chunk-7H2RWOO2.js";
30
+ } from "./chunk-3R2GILXH.js";
31
31
  import {
32
32
  DEFAULT_SESSION,
33
33
  approvalAwaitingRetry,
@@ -48,7 +48,7 @@ import {
48
48
  settleQuestionsForToolUse,
49
49
  sweepFilesOlderThan,
50
50
  userScope
51
- } from "./chunk-XXCJY3KQ.js";
51
+ } from "./chunk-TJ2R3V5A.js";
52
52
  import {
53
53
  UNNAMED_ACTION,
54
54
  deriveAction,
@@ -59,12 +59,12 @@ import {
59
59
  patchDeletesFiles,
60
60
  permissionDeniedAction,
61
61
  scopePathFor
62
- } from "./chunk-UZCD6OFJ.js";
62
+ } from "./chunk-JYCAAQUW.js";
63
63
  import {
64
64
  branchFor,
65
65
  repoKeyFor,
66
66
  repositoryScopeFor
67
- } from "./chunk-R4JOCIQM.js";
67
+ } from "./chunk-RGVQOOGD.js";
68
68
  import {
69
69
  askUser,
70
70
  cancelQuestion,
@@ -81,20 +81,20 @@ import {
81
81
  waitForQuestion,
82
82
  waitsForThePhone,
83
83
  withdrawQuestion
84
- } from "./chunk-PKZJZWYN.js";
84
+ } from "./chunk-66HILP6Q.js";
85
85
  import {
86
86
  getMachineId
87
- } from "./chunk-BNJ4H57M.js";
87
+ } from "./chunk-ZCMVIRD3.js";
88
88
  import {
89
89
  getApiKey,
90
90
  getBaseUrl
91
- } from "./chunk-CFZRNQIQ.js";
91
+ } from "./chunk-T6HX6OTY.js";
92
92
  import {
93
93
  writeFileAtomic
94
94
  } from "./chunk-TODDEIYG.js";
95
95
  import {
96
96
  NPX_LATEST_COMMAND
97
- } from "./chunk-V4OLQBSN.js";
97
+ } from "./chunk-SZYKS433.js";
98
98
  import {
99
99
  AGENT_QUESTION_STRATEGY,
100
100
  AGENT_QUESTION_TOOL,
@@ -163,7 +163,7 @@ import {
163
163
  timeoutActionWithoutLocalPrompt,
164
164
  unansweredRefusalReason,
165
165
  unapprovedScopeReason
166
- } from "./chunk-JP3S4FPO.js";
166
+ } from "./chunk-M65LPNIO.js";
167
167
 
168
168
  // src/terminal-answer-watch.ts
169
169
  import { closeSync, openSync, readSync, statSync } from "fs";
@@ -531,8 +531,8 @@ var loadedOnce = (load) => {
531
531
  };
532
532
 
533
533
  // src/codex-desktop-proxy.ts
534
- var loadThePhone = () => import("./api-WTQOMRGG.js");
535
- var loadTheCardRouting = () => import("./codex-card-routing-QZCKG6N5.js");
534
+ var loadThePhone = () => import("./api-MMU454AE.js");
535
+ var loadTheCardRouting = () => import("./codex-card-routing-X2HUY2AV.js");
536
536
  var theFirstCardLoadsAgain = () => {
537
537
  };
538
538
  var ASKS_WITHOUT_ROUTING = {};
@@ -1085,7 +1085,7 @@ var codexDesktopCommand = async (args, entry, readAccount) => {
1085
1085
  return runCodexDesktopProxy(engine2, args.slice(3), readAccount, { watchesForCards: layoutIsKnown });
1086
1086
  }
1087
1087
  if (args[0] === APP_CARDS_FLAG) {
1088
- const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-KMLJJA3K.js");
1088
+ const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-MZXLPTEJ.js");
1089
1089
  return codexAppCardsCommandOnThisMac(args.slice(1), entry, readAccount);
1090
1090
  }
1091
1091
  if (args.length > 2) throw new Error("Usage: pushary codex --desktop [path/to/Codex.app]");
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DEFAULT_SESSION
3
- } from "./chunk-XXCJY3KQ.js";
3
+ } from "./chunk-TJ2R3V5A.js";
4
4
 
5
5
  // src/answer.ts
6
6
  var isDeferAnswer = (value) => value === "defer";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HOOK_HOLD_BUDGET_ENV,
3
3
  hookHoldBudgetProof
4
- } from "./chunk-JP3S4FPO.js";
4
+ } from "./chunk-M65LPNIO.js";
5
5
 
6
6
  // src/hold-budget.ts
7
7
  var takeHookHoldBudget = (args = process.argv.slice(2), env = process.env) => {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  autoUpdateLock
3
- } from "./chunk-WLRSM634.js";
3
+ } from "./chunk-SWWM3LRZ.js";
4
4
  import {
5
5
  installPackageGlobally,
6
6
  npmErrorMessage,
7
7
  npmExitedOnPermissionDenied
8
- } from "./chunk-SISRFK3I.js";
8
+ } from "./chunk-HMHZ4QF3.js";
9
9
  import {
10
10
  writeJsonAtomic
11
11
  } from "./chunk-TODDEIYG.js";
@@ -12,7 +12,7 @@ import {
12
12
  reachVerdict,
13
13
  reachesYou,
14
14
  verifyDelivery
15
- } from "./chunk-VSNVDY55.js";
15
+ } from "./chunk-B3X4SME2.js";
16
16
  import {
17
17
  humanIsTty,
18
18
  writeHuman
@@ -24,14 +24,14 @@ import {
24
24
  } from "./chunk-FO3MDD26.js";
25
25
  import {
26
26
  reportedInstallSource
27
- } from "./chunk-ODZBKNIA.js";
27
+ } from "./chunk-BKH4LQJC.js";
28
28
  import {
29
29
  NPX_LATEST_COMMAND
30
- } from "./chunk-V4OLQBSN.js";
30
+ } from "./chunk-SZYKS433.js";
31
31
  import {
32
32
  NO_PAIRING_COMPUTER,
33
33
  PAIR_TTL_SECONDS
34
- } from "./chunk-JP3S4FPO.js";
34
+ } from "./chunk-M65LPNIO.js";
35
35
 
36
36
  // src/onboarding.ts
37
37
  import qrcodeTerminal from "qrcode-terminal";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-POFBE6ZY.js";
4
4
  import {
5
5
  autoUpdateState
6
- } from "./chunk-WLRSM634.js";
6
+ } from "./chunk-SWWM3LRZ.js";
7
7
  import {
8
8
  readJsonSafe,
9
9
  writeJsonAtomic
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-WIIMW5YO.js";
18
18
  import {
19
19
  isAutoUpdateResult
20
- } from "./chunk-JP3S4FPO.js";
20
+ } from "./chunk-M65LPNIO.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
  configFilePath
3
- } from "./chunk-CFZRNQIQ.js";
3
+ } from "./chunk-T6HX6OTY.js";
4
4
  import {
5
5
  readJsonSafe,
6
6
  writeJsonAtomic
7
7
  } from "./chunk-TODDEIYG.js";
8
8
  import {
9
9
  readSetupOutcomeProperties
10
- } from "./chunk-JP3S4FPO.js";
10
+ } from "./chunk-M65LPNIO.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;", "&");
@@ -4,13 +4,13 @@ import {
4
4
  configFailureKind,
5
5
  retryAgentCommand,
6
6
  writeSetupConfigFile
7
- } from "./chunk-KWFZUAET.js";
7
+ } from "./chunk-2VNYP35D.js";
8
8
  import {
9
9
  MCP_BRIDGE_BINARY
10
- } from "./chunk-UDH2BDU2.js";
10
+ } from "./chunk-RQMUNSKU.js";
11
11
  import {
12
12
  KEY_FILE_MODE
13
- } from "./chunk-6X2O5QI7.js";
13
+ } from "./chunk-CVBSETPW.js";
14
14
  import {
15
15
  CLINE_SERVER_NAME_TAKEN,
16
16
  CLINE_SETTINGS_REFUSALS,
@@ -32,10 +32,10 @@ import {
32
32
  withClinePusharyServer,
33
33
  withRefreshedClineKey,
34
34
  withoutClinePusharyServer
35
- } from "./chunk-WLRSM634.js";
35
+ } from "./chunk-SWWM3LRZ.js";
36
36
  import {
37
37
  resolveGlobalBinary
38
- } from "./chunk-SISRFK3I.js";
38
+ } from "./chunk-HMHZ4QF3.js";
39
39
  import {
40
40
  readJsonSafe,
41
41
  writeFileAtomic,
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-CYTPQDQY.js";
4
4
  import {
5
5
  parseVersion
6
- } from "./chunk-SISRFK3I.js";
6
+ } from "./chunk-HMHZ4QF3.js";
7
7
  import {
8
8
  isRecord
9
- } from "./chunk-JP3S4FPO.js";
9
+ } from "./chunk-M65LPNIO.js";
10
10
 
11
11
  // src/setup/agent-probe.ts
12
12
  import { execSync } from "child_process";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  pusharyFetch
3
- } from "./chunk-VTT7U6TJ.js";
3
+ } from "./chunk-5AVCVA3Z.js";
4
4
  import {
5
5
  getBaseUrl
6
- } from "./chunk-CFZRNQIQ.js";
6
+ } from "./chunk-T6HX6OTY.js";
7
7
  import {
8
8
  NetworkError
9
9
  } from "./chunk-YU2EUD7O.js";
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  isValidApiKey,
15
15
  normalizeKeyScope
16
- } from "./chunk-JP3S4FPO.js";
16
+ } from "./chunk-M65LPNIO.js";
17
17
 
18
18
  // src/session.ts
19
19
  var samePusharyAccount = (left, right) => left.kind === "ok" && right.kind === "ok" && left.identity.workspaceId !== "" && left.identity.workspaceId === right.identity.workspaceId && left.identity.siteId === right.identity.siteId;
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  fetchAsCredential
3
- } from "./chunk-44ZTLOVE.js";
3
+ } from "./chunk-42PVKPHM.js";
4
4
  import {
5
5
  keyCheckFromResponse
6
- } from "./chunk-OOCIVAMY.js";
6
+ } from "./chunk-QIHYQHCC.js";
7
7
  import {
8
8
  installNetworkDefaults
9
- } from "./chunk-VTT7U6TJ.js";
9
+ } from "./chunk-5AVCVA3Z.js";
10
10
  import {
11
11
  getBaseUrl
12
- } from "./chunk-CFZRNQIQ.js";
12
+ } from "./chunk-T6HX6OTY.js";
13
13
  import {
14
14
  isRecord,
15
15
  isToolErrorResult,
16
16
  toolFailureCodeOfResult
17
- } from "./chunk-JP3S4FPO.js";
17
+ } from "./chunk-M65LPNIO.js";
18
18
 
19
19
  // src/retry.ts
20
20
  var isRetryable = (err) => {
@@ -2,7 +2,7 @@ import {
2
2
  localRepoKey,
3
3
  normalizeRepoRemote,
4
4
  parseGitBranch
5
- } from "./chunk-JP3S4FPO.js";
5
+ } from "./chunk-M65LPNIO.js";
6
6
 
7
7
  // src/repo.ts
8
8
  import { existsSync, readFileSync, statSync } from "fs";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  parseSseMessages
3
- } from "./chunk-3SREEE2O.js";
3
+ } from "./chunk-QQEU4LN2.js";
4
4
  import {
5
5
  fetchAsCredential
6
- } from "./chunk-44ZTLOVE.js";
6
+ } from "./chunk-42PVKPHM.js";
7
7
  import {
8
8
  NPX_LATEST_COMMAND
9
- } from "./chunk-V4OLQBSN.js";
9
+ } from "./chunk-SZYKS433.js";
10
10
 
11
11
  // src/mcp-stdio-bridge.ts
12
12
  var MCP_BRIDGE_BINARY = "pushary-mcp";
@@ -3,7 +3,7 @@ import {
3
3
  formatVersion,
4
4
  quoteIfNeeded,
5
5
  shellDoubleQuoted
6
- } from "./chunk-SISRFK3I.js";
6
+ } from "./chunk-HMHZ4QF3.js";
7
7
  import {
8
8
  writeFileAtomic
9
9
  } from "./chunk-TODDEIYG.js";
@@ -18,8 +18,9 @@ import {
18
18
  HOOK_BUDGETS,
19
19
  HOOK_LOCATOR_BINARY,
20
20
  PRETOOLUSE_GATED_TOOLS,
21
+ PUSHARY_TOOL_PREFIX,
21
22
  withHookHoldBudget
22
- } from "./chunk-JP3S4FPO.js";
23
+ } from "./chunk-M65LPNIO.js";
23
24
 
24
25
  // src/setup/paths.ts
25
26
  import { createHash as createHash2 } from "crypto";
@@ -764,7 +765,7 @@ var needsReregistration = (stored, version) => {
764
765
  // src/claude-config.ts
765
766
  import { isDeepStrictEqual } from "util";
766
767
  var PUSHARY_MCP_URL = "https://pushary.com/api/mcp/mcp";
767
- var PUSHARY_PERMISSION_RULE = "mcp__pushary__*";
768
+ var PUSHARY_PERMISSION_RULE = `${PUSHARY_TOOL_PREFIX}*`;
768
769
  var asRecord3 = (value) => value && typeof value === "object" && !Array.isArray(value) ? value : void 0;
769
770
  var ensureRecord2 = (target, key) => {
770
771
  const existing = asRecord3(target[key]);
@@ -773,7 +774,9 @@ var ensureRecord2 = (target, key) => {
773
774
  target[key] = created;
774
775
  return created;
775
776
  };
776
- var isPusharyPermission = (rule) => typeof rule === "string" && (rule.includes("pushary") || rule.includes("MCP(pushary"));
777
+ var PUSHARY_SERVER_PERMISSION_RULE = "mcp__pushary";
778
+ var PUSHARY_TOOL_PERMISSION_PREFIXES = [PUSHARY_TOOL_PREFIX, "MCP(pushary:"];
779
+ var allowsPusharyTools = (rule) => typeof rule === "string" && (rule === PUSHARY_SERVER_PERMISSION_RULE || PUSHARY_TOOL_PERMISSION_PREFIXES.some((prefix) => rule.startsWith(prefix)));
777
780
  var HOOK_BINARIES = /* @__PURE__ */ new Set([
778
781
  ...CLAUDE_HOOK_EVENTS.map((hook) => hook.binary),
779
782
  HOOK_LOCATOR_BINARY
@@ -863,7 +866,7 @@ var removeClaudeMcpServers = (config) => {
863
866
  var removePusharyToolPermissions = (settings) => {
864
867
  const permissions = asRecord3(settings.permissions);
865
868
  if (!permissions || !Array.isArray(permissions.allow)) return false;
866
- const filtered = permissions.allow.filter((rule) => !isPusharyPermission(rule));
869
+ const filtered = permissions.allow.filter((rule) => !allowsPusharyTools(rule));
867
870
  if (filtered.length === permissions.allow.length) return false;
868
871
  if (filtered.length === 0) delete permissions.allow;
869
872
  else permissions.allow = filtered;
@@ -873,7 +876,7 @@ var removePusharyToolPermissions = (settings) => {
873
876
  var addPusharyToolPermissions = (settings) => {
874
877
  const permissions = ensureRecord2(settings, "permissions");
875
878
  const allow = Array.isArray(permissions.allow) ? permissions.allow : [];
876
- const filtered = allow.filter((rule) => !isPusharyPermission(rule));
879
+ const filtered = allow.filter((rule) => !allowsPusharyTools(rule));
877
880
  if (!filtered.includes(PUSHARY_PERMISSION_RULE)) {
878
881
  filtered.push(PUSHARY_PERMISSION_RULE);
879
882
  }
@@ -1341,6 +1344,7 @@ export {
1341
1344
  registrationSignatures,
1342
1345
  needsReregistration,
1343
1346
  PUSHARY_MCP_URL,
1347
+ allowsPusharyTools,
1344
1348
  isPusharyHook,
1345
1349
  addClaudeMcpServer,
1346
1350
  isClaudeMcpSnapshot,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  guardBinary
3
- } from "./chunk-WLRSM634.js";
3
+ } from "./chunk-SWWM3LRZ.js";
4
4
 
5
5
  // src/bell/install.ts
6
6
  import { join } from "path";
@@ -2,7 +2,7 @@ import {
2
2
  DISCONNECT_AGENT_IDS,
3
3
  SETUP_AGENT_CHOICES,
4
4
  isApprovalMode
5
- } from "./chunk-JP3S4FPO.js";
5
+ } from "./chunk-M65LPNIO.js";
6
6
 
7
7
  // src/cli/mode-request.ts
8
8
  var parseDuration = (value) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  NPX_LATEST_COMMAND
3
- } from "./chunk-V4OLQBSN.js";
3
+ } from "./chunk-SZYKS433.js";
4
4
 
5
5
  // src/config.ts
6
6
  import { readFileSync } from "fs";