@pushary/agent-hooks 1.9.161 → 1.9.162

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 (138) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/dist/{api-WHTSBK74.js → api-7NPCSUGY.js} +13 -11
  3. package/dist/bin/pushary-audit.js +3 -3
  4. package/dist/bin/pushary-bell-hook.js +28 -28
  5. package/dist/bin/pushary-bell.js +11 -11
  6. package/dist/bin/pushary-calls.js +15 -15
  7. package/dist/bin/pushary-claude.js +27 -27
  8. package/dist/bin/pushary-clean.js +38 -38
  9. package/dist/bin/pushary-codex-bridge.js +23 -23
  10. package/dist/bin/pushary-codex-hook.js +187 -52
  11. package/dist/bin/pushary-codex-session.js +8 -8
  12. package/dist/bin/pushary-codex.js +16 -16
  13. package/dist/bin/pushary-connect.js +34 -34
  14. package/dist/bin/pushary-cowork.js +5 -5
  15. package/dist/bin/pushary-daemon.js +45 -45
  16. package/dist/bin/pushary-disconnect.js +29 -29
  17. package/dist/bin/pushary-doctor.js +46 -46
  18. package/dist/bin/pushary-elicitation-hook.js +28 -28
  19. package/dist/bin/pushary-gemini-bridge.js +17 -17
  20. package/dist/bin/pushary-gemini-hook.js +32 -32
  21. package/dist/bin/pushary-hook.js +36 -36
  22. package/dist/bin/pushary-login.js +22 -22
  23. package/dist/bin/pushary-logout.js +29 -29
  24. package/dist/bin/pushary-mcp.js +12 -12
  25. package/dist/bin/pushary-mode.js +16 -16
  26. package/dist/bin/pushary-notification-hook.js +27 -27
  27. package/dist/bin/pushary-opencode-hook.js +33 -33
  28. package/dist/bin/pushary-permission-denied-hook.js +36 -36
  29. package/dist/bin/pushary-permission-hook.js +36 -36
  30. package/dist/bin/pushary-post-hook.js +28 -28
  31. package/dist/bin/pushary-prompt-hook.js +27 -27
  32. package/dist/bin/pushary-session-end-hook.js +27 -27
  33. package/dist/bin/pushary-session-start-hook.js +38 -38
  34. package/dist/bin/pushary-setup.js +54 -54
  35. package/dist/bin/pushary-stats.js +5 -5
  36. package/dist/bin/pushary-status.js +35 -35
  37. package/dist/bin/pushary-stop-hook.js +27 -27
  38. package/dist/bin/pushary-stopfailure-hook.js +27 -27
  39. package/dist/bin/pushary-suggestions.js +16 -16
  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 +43 -43
  43. package/dist/bin/pushary-wait.js +16 -16
  44. package/dist/bin/pushary.js +7 -7
  45. package/dist/{chunk-LRTRIDOC.js → chunk-2H7SDIM7.js} +1 -1
  46. package/dist/{chunk-6OSE2IRG.js → chunk-44DRCGP2.js} +2 -2
  47. package/dist/{chunk-OQAIMSHQ.js → chunk-4IBUBMMP.js} +1 -1
  48. package/dist/{chunk-PXLWR4TG.js → chunk-4U3GYVIW.js} +2 -2
  49. package/dist/{chunk-7AQTKVA6.js → chunk-53IBMDX2.js} +4 -4
  50. package/dist/{chunk-DLZ6RK2P.js → chunk-5TU26542.js} +3 -3
  51. package/dist/{chunk-R7RN3Z2T.js → chunk-5ZS73ZLX.js} +2 -2
  52. package/dist/{chunk-VYNC7EYV.js → chunk-644AKJMN.js} +2 -2
  53. package/dist/{chunk-OSCZ4MNE.js → chunk-6QQUGYH6.js} +5 -5
  54. package/dist/{chunk-KKDKPWGM.js → chunk-72SYV43F.js} +1 -1
  55. package/dist/{chunk-UZTGEACF.js → chunk-A5DXHJVS.js} +5 -5
  56. package/dist/{chunk-BTYHDCAP.js → chunk-AP26EU5H.js} +3 -3
  57. package/dist/{chunk-YEB7YWW7.js → chunk-AQKMKVAD.js} +8 -8
  58. package/dist/{chunk-G44FOBHN.js → chunk-BHT76IIB.js} +4 -4
  59. package/dist/{chunk-OOODAKCC.js → chunk-BMOGTNLK.js} +6 -6
  60. package/dist/{chunk-S6ARXVVZ.js → chunk-CSDB5VTI.js} +1 -1
  61. package/dist/{chunk-DHUWAUVL.js → chunk-CWH4LBUW.js} +1 -1
  62. package/dist/{chunk-7IHVTLHK.js → chunk-DAMTDSAE.js} +1 -1
  63. package/dist/{chunk-VIS3EVRH.js → chunk-DSWUG4NV.js} +1 -1
  64. package/dist/{chunk-WNIDBPT2.js → chunk-EFKJCBWA.js} +6 -6
  65. package/dist/{chunk-WTWBHE2Y.js → chunk-EKELMI3A.js} +5 -5
  66. package/dist/{chunk-W6FCSBTM.js → chunk-EPQTCF6A.js} +2 -2
  67. package/dist/{chunk-QLEFFGCN.js → chunk-FIR2MGSB.js} +1 -1
  68. package/dist/{chunk-Z5DOTAFI.js → chunk-G5IL6C6S.js} +3 -3
  69. package/dist/{chunk-26GVUJMR.js → chunk-G6M6YJK4.js} +1 -1
  70. package/dist/{chunk-ONMAG5BF.js → chunk-GJOHGES6.js} +2 -2
  71. package/dist/{chunk-YGHHDDIM.js → chunk-H7OY4AAT.js} +4 -4
  72. package/dist/{chunk-WAFJGQSE.js → chunk-HAOYL5JP.js} +4 -4
  73. package/dist/{chunk-2ABUBECK.js → chunk-I35XT5YY.js} +4 -4
  74. package/dist/{chunk-RZBCXPOV.js → chunk-I5ANEYUK.js} +1 -1
  75. package/dist/{chunk-GJA3KQ3T.js → chunk-I5HCOOAA.js} +5 -5
  76. package/dist/{chunk-HKI4RMZF.js → chunk-IUXXEM4Q.js} +7 -7
  77. package/dist/{chunk-AVRRD6AY.js → chunk-J6KDUXJF.js} +1 -1
  78. package/dist/{chunk-L2ADRR62.js → chunk-JCTS7COD.js} +5 -5
  79. package/dist/{chunk-UH7GJHOO.js → chunk-L3LFCZ5D.js} +3 -3
  80. package/dist/{chunk-EGEZKJHX.js → chunk-L44II2WD.js} +5 -5
  81. package/dist/{chunk-I5HXAELM.js → chunk-L6BMVCQQ.js} +3 -3
  82. package/dist/{chunk-WCXVPYSD.js → chunk-L6NG6EZS.js} +1 -1
  83. package/dist/{chunk-MPYQW4IV.js → chunk-LGR7WXI5.js} +2 -2
  84. package/dist/{chunk-ZIKSHD5M.js → chunk-LQDIOUVU.js} +2 -2
  85. package/dist/{chunk-U36COV3Z.js → chunk-LVRFOGQY.js} +11 -11
  86. package/dist/{chunk-55AHQF63.js → chunk-M2ZGNZRS.js} +2 -0
  87. package/dist/{chunk-Y23YO46U.js → chunk-M74WT5NA.js} +3 -3
  88. package/dist/{chunk-UJT32RSQ.js → chunk-NX3Y36VY.js} +6 -6
  89. package/dist/{chunk-KDHLOPSO.js → chunk-OH2WAG47.js} +1 -1
  90. package/dist/{chunk-7VXHWU7A.js → chunk-P4KAYIMX.js} +4 -4
  91. package/dist/{chunk-5UBV26GO.js → chunk-PIIKLAFY.js} +3 -3
  92. package/dist/{chunk-3F6HE5AK.js → chunk-QKNHNDOY.js} +2 -2
  93. package/dist/{chunk-6NWESDKK.js → chunk-RKURAOFK.js} +4 -4
  94. package/dist/{chunk-TYB2QGJD.js → chunk-RUAGEPUJ.js} +5 -5
  95. package/dist/{chunk-DHX5JZSH.js → chunk-SFYX32FX.js} +4 -4
  96. package/dist/{chunk-OZK75SFS.js → chunk-SKA3U7QI.js} +9 -9
  97. package/dist/{chunk-OXZ75E2Y.js → chunk-SQ4RPZ6O.js} +4 -4
  98. package/dist/{chunk-J36DDPJV.js → chunk-SRSXZINE.js} +1 -1
  99. package/dist/{chunk-AVGYUZVK.js → chunk-SVVZFXDX.js} +6 -6
  100. package/dist/{chunk-ANYLSZN3.js → chunk-SVWCMYR7.js} +6 -6
  101. package/dist/{chunk-LVGRSC44.js → chunk-TMDCIVZ2.js} +5 -5
  102. package/dist/{chunk-7WLKE7QN.js → chunk-TUXX7TKR.js} +2 -2
  103. package/dist/{chunk-GNHXDRO6.js → chunk-U4LHE5DH.js} +1 -1
  104. package/dist/{chunk-F5NJUDGA.js → chunk-UBY7NJCU.js} +18 -18
  105. package/dist/{chunk-BGU56XCS.js → chunk-UPCIKGWA.js} +1 -1
  106. package/dist/{chunk-2PY5DJTC.js → chunk-V3TWYF32.js} +1 -1
  107. package/dist/{chunk-E7K6YCWY.js → chunk-VGLIGBAJ.js} +2 -2
  108. package/dist/{chunk-HKCJZGAJ.js → chunk-VUGF2OC7.js} +3 -3
  109. package/dist/{chunk-YD45WNVQ.js → chunk-W3FE7GTH.js} +1 -1
  110. package/dist/{chunk-XWCLKWKP.js → chunk-WCWWO5QL.js} +1 -1
  111. package/dist/{chunk-DWMQZM52.js → chunk-WIFMTEQI.js} +1 -1
  112. package/dist/{chunk-HHNC6FWO.js → chunk-WWSR5LMP.js} +1 -1
  113. package/dist/{chunk-ATI5XO3E.js → chunk-X5QSIMXA.js} +3 -3
  114. package/dist/{chunk-IGSSDODQ.js → chunk-XIICM4TX.js} +1 -1
  115. package/dist/{chunk-MGOBIHXH.js → chunk-XOSSXRIR.js} +10 -10
  116. package/dist/{chunk-N4OKAE65.js → chunk-Y3ELKLNH.js} +15 -13
  117. package/dist/{chunk-FZCEPG6J.js → chunk-YEVRMDG7.js} +2 -2
  118. package/dist/{chunk-IHYKSPWH.js → chunk-YH6EHCKQ.js} +8 -6
  119. package/dist/{chunk-Y553AEQU.js → chunk-YPG3RXWO.js} +3 -3
  120. package/dist/{chunk-4ZNZS6FM.js → chunk-YUF3AYAP.js} +5 -5
  121. package/dist/{chunk-R7NAG65X.js → chunk-Z23SHFIC.js} +2 -2
  122. package/dist/{chunk-AT5ZLKMQ.js → chunk-ZC42UG7B.js} +5 -5
  123. package/dist/{chunk-5S66DHJS.js → chunk-ZT55PJSW.js} +3 -3
  124. package/dist/{chunk-U3FVVMB3.js → chunk-ZWNFP4HZ.js} +1 -1
  125. package/dist/{codex-app-cards-switch-DPCGWQSX.js → codex-app-cards-switch-PJEY3EU5.js} +11 -11
  126. package/dist/{codex-card-routing-NFIEH66Q.js → codex-card-routing-MNAMCRPO.js} +2 -2
  127. package/dist/{codex-desktop-launch-MARNBY23.js → codex-desktop-launch-AUNDRYOL.js} +1 -1
  128. package/dist/{codex-session-launch-LSNU7CUV.js → codex-session-launch-IZNSTT7N.js} +20 -20
  129. package/dist/{config-5D34OAYM.js → config-LG2RJO37.js} +3 -3
  130. package/dist/{global-upgrade-5XBO6FYU.js → global-upgrade-QE5Q3BYW.js} +9 -9
  131. package/dist/{identity-6QEFK7PW.js → identity-3BT6LWOP.js} +4 -4
  132. package/dist/{live-capabilities-6KOGY6KM.js → live-capabilities-IKTQBLVH.js} +4 -4
  133. package/dist/{paths-7M6V62NO.js → paths-VEUTZJOY.js} +3 -3
  134. package/dist/{reapply-ZECM5JRX.js → reapply-BC2AF55M.js} +31 -31
  135. package/dist/src/index.js +35 -35
  136. package/dist/{upgrade-lock-DI4JY2CU.js → upgrade-lock-NUGEPR75.js} +4 -4
  137. package/dist/{usage-X4BIHYR5.js → usage-TEB5CX2Y.js} +3 -3
  138. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  callDecisionStore,
3
3
  identifyingToolInput
4
- } from "./chunk-N4OKAE65.js";
4
+ } from "./chunk-Y3ELKLNH.js";
5
5
  import {
6
6
  canonicalJson
7
- } from "./chunk-7WLKE7QN.js";
7
+ } from "./chunk-TUXX7TKR.js";
8
8
 
9
9
  // src/phone-approval.ts
10
10
  import { createHash } from "crypto";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  fetchAsCredential
3
- } from "./chunk-DWMQZM52.js";
3
+ } from "./chunk-WIFMTEQI.js";
4
4
  import {
5
5
  keyCheckFromResponse
6
- } from "./chunk-I5HXAELM.js";
6
+ } from "./chunk-L6BMVCQQ.js";
7
7
  import {
8
8
  installNetworkDefaults
9
- } from "./chunk-HKCJZGAJ.js";
9
+ } from "./chunk-VUGF2OC7.js";
10
10
  import {
11
11
  getBaseUrl
12
- } from "./chunk-7IHVTLHK.js";
12
+ } from "./chunk-DAMTDSAE.js";
13
13
  import {
14
14
  isRecord,
15
15
  isToolErrorResult,
16
16
  toolFailureCodeOfResult
17
- } from "./chunk-55AHQF63.js";
17
+ } from "./chunk-M2ZGNZRS.js";
18
18
 
19
19
  // src/retry.ts
20
20
  var isRetryable = (err) => {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  computerOsOfPlatform,
3
3
  isComputerAgent
4
- } from "./chunk-55AHQF63.js";
4
+ } from "./chunk-M2ZGNZRS.js";
5
5
 
6
6
  // src/setup/phone-check.ts
7
7
  var planPhoneCheck = (context) => {
@@ -18,18 +18,18 @@ import {
18
18
  settingSnapshot,
19
19
  writeHermesSetting,
20
20
  writeSetupReceipt
21
- } from "./chunk-2ABUBECK.js";
21
+ } from "./chunk-I35XT5YY.js";
22
22
  import {
23
23
  OPENCLAW_MIN_VERSION,
24
24
  OPENCLAW_PLUGIN_ID,
25
25
  OPENCLAW_PLUGIN_PACKAGE
26
- } from "./chunk-ATI5XO3E.js";
26
+ } from "./chunk-X5QSIMXA.js";
27
27
  import {
28
28
  retryAgentCommand
29
- } from "./chunk-Y553AEQU.js";
29
+ } from "./chunk-YPG3RXWO.js";
30
30
  import {
31
31
  configFilePath
32
- } from "./chunk-7IHVTLHK.js";
32
+ } from "./chunk-DAMTDSAE.js";
33
33
  import {
34
34
  readJsonSafe,
35
35
  writeJsonAtomic
@@ -37,7 +37,7 @@ import {
37
37
  import {
38
38
  readSetupOutcomeProperties,
39
39
  redactSecretsFromContent
40
- } from "./chunk-55AHQF63.js";
40
+ } from "./chunk-M2ZGNZRS.js";
41
41
 
42
42
  // src/hermes/shell-gate.ts
43
43
  var readHermesShellGate = async (launcher) => {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  parseSseMessages
3
- } from "./chunk-OSCZ4MNE.js";
3
+ } from "./chunk-6QQUGYH6.js";
4
4
  import {
5
5
  fetchAsCredential
6
- } from "./chunk-DWMQZM52.js";
6
+ } from "./chunk-WIFMTEQI.js";
7
7
  import {
8
8
  NPX_LATEST_COMMAND
9
- } from "./chunk-RZBCXPOV.js";
9
+ } from "./chunk-I5ANEYUK.js";
10
10
 
11
11
  // src/mcp-stdio-bridge.ts
12
12
  var MCP_BRIDGE_BINARY = "pushary-mcp";
@@ -4,37 +4,37 @@ import {
4
4
  postLiveSession,
5
5
  postLiveSessionUntilAccepted,
6
6
  startLiveSessionHeartbeat
7
- } from "./chunk-S6ARXVVZ.js";
7
+ } from "./chunk-CSDB5VTI.js";
8
8
  import {
9
9
  CommandReceipts,
10
10
  controllerCommandSchema
11
- } from "./chunk-U3FVVMB3.js";
11
+ } from "./chunk-ZWNFP4HZ.js";
12
12
  import {
13
13
  SESSION_IDLE_TIMEOUT_MS,
14
14
  describeIdleWindow,
15
15
  idleDeadlinePassed,
16
16
  startProcessOwnership
17
- } from "./chunk-MPYQW4IV.js";
17
+ } from "./chunk-LGR7WXI5.js";
18
18
  import {
19
19
  spawnClaude
20
20
  } from "./chunk-Y6ILCLKE.js";
21
21
  import {
22
22
  repositoryScopeFor
23
- } from "./chunk-QLEFFGCN.js";
23
+ } from "./chunk-FIR2MGSB.js";
24
24
  import {
25
25
  isAskUserResponse,
26
26
  isDecisionStopped,
27
27
  isWaitForAnswerResponse,
28
28
  withdrawQuestion,
29
29
  writeDegraded
30
- } from "./chunk-IHYKSPWH.js";
30
+ } from "./chunk-YH6EHCKQ.js";
31
31
  import {
32
32
  readCommandAck
33
- } from "./chunk-KDHLOPSO.js";
33
+ } from "./chunk-OH2WAG47.js";
34
34
  import {
35
35
  callMcpTool,
36
36
  isRetryable
37
- } from "./chunk-OSCZ4MNE.js";
37
+ } from "./chunk-6QQUGYH6.js";
38
38
  import {
39
39
  AGENT_QUESTION_DESCRIPTION_MAX,
40
40
  AGENT_QUESTION_HEADER_MAX,
@@ -55,7 +55,7 @@ import {
55
55
  parseCodexQuestions,
56
56
  planElicitationAsk,
57
57
  readElicitationFields
58
- } from "./chunk-55AHQF63.js";
58
+ } from "./chunk-M2ZGNZRS.js";
59
59
 
60
60
  // src/codex-question-owner.ts
61
61
  import { createHash } from "crypto";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  compatibleConfigFile,
3
3
  hasCompatibleHooks
4
- } from "./chunk-LVGRSC44.js";
4
+ } from "./chunk-TMDCIVZ2.js";
5
5
  import {
6
6
  pusharyHookExecutable
7
- } from "./chunk-YGHHDDIM.js";
7
+ } from "./chunk-H7OY4AAT.js";
8
8
  import {
9
9
  isProtectedByScope,
10
10
  registerHookEntry
11
- } from "./chunk-7WLKE7QN.js";
11
+ } from "./chunk-TUXX7TKR.js";
12
12
  import {
13
13
  isRecord
14
- } from "./chunk-55AHQF63.js";
14
+ } from "./chunk-M2ZGNZRS.js";
15
15
 
16
16
  // src/cursor-config.ts
17
17
  var hookCommandOf = (entry) => {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  APPROVAL_RULES_PATH,
3
3
  canChangeApprovalSettings
4
- } from "./chunk-ONMAG5BF.js";
4
+ } from "./chunk-GJOHGES6.js";
5
5
  import {
6
6
  callMcpTool
7
- } from "./chunk-OSCZ4MNE.js";
7
+ } from "./chunk-6QQUGYH6.js";
8
8
  import {
9
9
  absoluteUrl
10
- } from "./chunk-I5HXAELM.js";
10
+ } from "./chunk-L6BMVCQQ.js";
11
11
  import {
12
12
  getBaseUrl
13
- } from "./chunk-7IHVTLHK.js";
13
+ } from "./chunk-DAMTDSAE.js";
14
14
  import {
15
15
  NPX_LATEST_COMMAND
16
- } from "./chunk-RZBCXPOV.js";
16
+ } from "./chunk-I5ANEYUK.js";
17
17
  import {
18
18
  AGENT_STOP_DEFAULT_SECONDS,
19
19
  APPROVAL_MODE_META,
@@ -21,7 +21,7 @@ import {
21
21
  classifyConfirmResponse,
22
22
  isAnswerSource,
23
23
  roundTripAsk
24
- } from "./chunk-55AHQF63.js";
24
+ } from "./chunk-M2ZGNZRS.js";
25
25
 
26
26
  // src/reach.ts
27
27
  var PUSHARY_APP_DOWNLOAD_URL = "https://pushary.com/download";
@@ -10,7 +10,7 @@ import {
10
10
  uploadTranscriptRecords,
11
11
  verifyAnchoredRecipients,
12
12
  wrapSessionKey
13
- } from "./chunk-5UBV26GO.js";
13
+ } from "./chunk-PIIKLAFY.js";
14
14
 
15
15
  // src/live-session.ts
16
16
  var LIVE_TRANSCRIPT_LIMITS = { queuedRecords: 100, recordCharacters: 32 * 1024 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DEFAULT_SESSION
3
- } from "./chunk-N4OKAE65.js";
3
+ } from "./chunk-Y3ELKLNH.js";
4
4
 
5
5
  // src/answer.ts
6
6
  var isDeferAnswer = (value) => value === "defer";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  NPX_LATEST_COMMAND
3
- } from "./chunk-RZBCXPOV.js";
3
+ } from "./chunk-I5ANEYUK.js";
4
4
 
5
5
  // src/config.ts
6
6
  import { readFileSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-7WLKE7QN.js";
3
+ } from "./chunk-TUXX7TKR.js";
4
4
  import {
5
5
  writeFileAtomic
6
6
  } from "./chunk-TODDEIYG.js";
@@ -4,19 +4,19 @@ import {
4
4
  } from "./chunk-Y6ILCLKE.js";
5
5
  import {
6
6
  getMachineId
7
- } from "./chunk-VIS3EVRH.js";
7
+ } from "./chunk-DSWUG4NV.js";
8
8
  import {
9
9
  readControlMode
10
- } from "./chunk-Y23YO46U.js";
10
+ } from "./chunk-M74WT5NA.js";
11
11
  import {
12
12
  pusharyDir
13
- } from "./chunk-7WLKE7QN.js";
13
+ } from "./chunk-TUXX7TKR.js";
14
14
  import {
15
15
  resolveGlobalBinary
16
- } from "./chunk-WAFJGQSE.js";
16
+ } from "./chunk-HAOYL5JP.js";
17
17
  import {
18
18
  getApiKey
19
- } from "./chunk-7IHVTLHK.js";
19
+ } from "./chunk-DAMTDSAE.js";
20
20
  import {
21
21
  readJsonSafe,
22
22
  writeFileAtomic,
@@ -32,7 +32,7 @@ import {
32
32
  } from "./chunk-UQTQ6HPO.js";
33
33
  import {
34
34
  isRecord
35
- } from "./chunk-55AHQF63.js";
35
+ } from "./chunk-M2ZGNZRS.js";
36
36
 
37
37
  // src/daemon-entry-guard.ts
38
38
  import { mkdirSync, readFileSync } from "fs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  announceSubscriptionRequired,
3
3
  isDeferAnswer
4
- } from "./chunk-DHUWAUVL.js";
4
+ } from "./chunk-CWH4LBUW.js";
5
5
  import {
6
6
  askUser,
7
7
  isDecisionStopped,
@@ -9,13 +9,13 @@ import {
9
9
  isThePersonsStop,
10
10
  waitForOpenQuestion,
11
11
  waitForQuestion
12
- } from "./chunk-IHYKSPWH.js";
12
+ } from "./chunk-YH6EHCKQ.js";
13
13
  import {
14
14
  SubscriptionRequiredError
15
- } from "./chunk-OSCZ4MNE.js";
15
+ } from "./chunk-6QQUGYH6.js";
16
16
  import {
17
17
  getMachineId
18
- } from "./chunk-VIS3EVRH.js";
18
+ } from "./chunk-DSWUG4NV.js";
19
19
  import {
20
20
  ASK_CONTEXT_MAX,
21
21
  agentQuestionContext,
@@ -24,7 +24,7 @@ import {
24
24
  parseAgentQuestionAnswers,
25
25
  plainAskOf,
26
26
  questionsShownAsASet
27
- } from "./chunk-55AHQF63.js";
27
+ } from "./chunk-M2ZGNZRS.js";
28
28
 
29
29
  // src/agent-question-ask.ts
30
30
  var STOPPED = { kind: "stopped" };
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-CYTPQDQY.js";
4
4
  import {
5
5
  parseVersion
6
- } from "./chunk-WAFJGQSE.js";
6
+ } from "./chunk-HAOYL5JP.js";
7
7
  import {
8
8
  isRecord
9
- } from "./chunk-55AHQF63.js";
9
+ } from "./chunk-M2ZGNZRS.js";
10
10
 
11
11
  // src/setup/agent-probe.ts
12
12
  import { execSync } from "child_process";
@@ -2,7 +2,7 @@ import {
2
2
  localRepoKey,
3
3
  normalizeRepoRemote,
4
4
  parseGitBranch
5
- } from "./chunk-55AHQF63.js";
5
+ } from "./chunk-M2ZGNZRS.js";
6
6
 
7
7
  // src/repo.ts
8
8
  import { existsSync, readFileSync, statSync } from "fs";
@@ -536,8 +536,8 @@ var loadedOnce = (load) => {
536
536
  };
537
537
 
538
538
  // src/codex-desktop-proxy.ts
539
- var loadThePhone = () => import("./api-WHTSBK74.js");
540
- var loadTheCardRouting = () => import("./codex-card-routing-NFIEH66Q.js");
539
+ var loadThePhone = () => import("./api-7NPCSUGY.js");
540
+ var loadTheCardRouting = () => import("./codex-card-routing-MNAMCRPO.js");
541
541
  var theFirstCardLoadsAgain = () => {
542
542
  };
543
543
  var ASKS_WITHOUT_ROUTING = {};
@@ -1097,7 +1097,7 @@ var codexDesktopCommand = async (args, entry, readAccount) => {
1097
1097
  return runCodexDesktopProxy(engine2, args.slice(3), readAccount, { watchesForCards: layoutIsKnown });
1098
1098
  }
1099
1099
  if (args[0] === APP_CARDS_FLAG) {
1100
- const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-DPCGWQSX.js");
1100
+ const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-PJEY3EU5.js");
1101
1101
  return codexAppCardsCommandOnThisMac(args.slice(1), entry, readAccount);
1102
1102
  }
1103
1103
  if (args.length > 2) throw new Error("Usage: pushary codex --desktop [path/to/Codex.app]");
@@ -25,7 +25,7 @@ import {
25
25
  reportableSessionId,
26
26
  toToolLookup,
27
27
  truncateLine
28
- } from "./chunk-55AHQF63.js";
28
+ } from "./chunk-M2ZGNZRS.js";
29
29
 
30
30
  // ../hook-mapping/src/commit-receipt.ts
31
31
  var COMMIT_OUTPUT_MAX_LENGTH = 65536;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteUrl
3
- } from "./chunk-I5HXAELM.js";
3
+ } from "./chunk-L6BMVCQQ.js";
4
4
  import {
5
5
  KEY_SCOPE
6
- } from "./chunk-55AHQF63.js";
6
+ } from "./chunk-M2ZGNZRS.js";
7
7
 
8
8
  // src/cli/approval-settings-pages.ts
9
9
  var API_KEYS_PATH = "/dashboard/agent/settings";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AGENT_CHOICES
3
- } from "./chunk-AVRRD6AY.js";
3
+ } from "./chunk-J6KDUXJF.js";
4
4
  import {
5
5
  BELL_HOOK_BINARY
6
- } from "./chunk-2PY5DJTC.js";
6
+ } from "./chunk-V3TWYF32.js";
7
7
  import {
8
8
  CLAUDE_HOOK_EVENTS,
9
9
  CODEX_HOOK_EVENTS,
@@ -16,13 +16,13 @@ import {
16
16
  isBridgeLocator,
17
17
  isProtectedByScope,
18
18
  registerHookEntry
19
- } from "./chunk-7WLKE7QN.js";
19
+ } from "./chunk-TUXX7TKR.js";
20
20
  import {
21
21
  CURSOR_GATE_EVENTS,
22
22
  HOOK_BUDGETS,
23
23
  HOOK_LOCATOR_BINARY,
24
24
  hookCommandHoldBudget
25
- } from "./chunk-55AHQF63.js";
25
+ } from "./chunk-M2ZGNZRS.js";
26
26
 
27
27
  // src/gemini-config.ts
28
28
  var GEMINI_HOOK_BINARY = "pushary-gemini-hook";
@@ -14,7 +14,7 @@ import {
14
14
  } from "./chunk-UQTQ6HPO.js";
15
15
  import {
16
16
  redactSecretsFromContent
17
- } from "./chunk-55AHQF63.js";
17
+ } from "./chunk-M2ZGNZRS.js";
18
18
 
19
19
  // src/shell-quote.ts
20
20
  var shellDoubleQuoted = (text) => `"${text.replace(/(["\\$`])/g, "\\$1")}"`;
@@ -455,9 +455,9 @@ var installGlobally = (options) => {
455
455
  }
456
456
  const started = (async () => {
457
457
  if (!npmIsOnPath()) throw new NpmMissingError();
458
- const { withUpgradeLock } = await import("./global-upgrade-5XBO6FYU.js");
459
- const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-DI4JY2CU.js");
460
- const { autoUpdateLock } = await import("./paths-7M6V62NO.js");
458
+ const { withUpgradeLock } = await import("./global-upgrade-QE5Q3BYW.js");
459
+ const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-NUGEPR75.js");
460
+ const { autoUpdateLock } = await import("./paths-VEUTZJOY.js");
461
461
  let result = "skipped";
462
462
  const install = async () => {
463
463
  const platform = process.platform;
@@ -13,7 +13,7 @@ import {
13
13
  uninstallOpenClawPlugin,
14
14
  unsetOpenClawEntry,
15
15
  writeOpenClawEntry
16
- } from "./chunk-ATI5XO3E.js";
16
+ } from "./chunk-X5QSIMXA.js";
17
17
  import {
18
18
  needsShell
19
19
  } from "./chunk-Y6ILCLKE.js";
@@ -25,10 +25,10 @@ import {
25
25
  openClawDirectoriesToLookIn,
26
26
  openClawPluginFolder,
27
27
  openClawSetupReceiptDirectory
28
- } from "./chunk-7WLKE7QN.js";
28
+ } from "./chunk-TUXX7TKR.js";
29
29
  import {
30
30
  resolvePathBinary
31
- } from "./chunk-WAFJGQSE.js";
31
+ } from "./chunk-HAOYL5JP.js";
32
32
  import {
33
33
  readJsonSafe,
34
34
  writeJsonAtomic
@@ -39,7 +39,7 @@ import {
39
39
  } from "./chunk-UQTQ6HPO.js";
40
40
  import {
41
41
  isRecord
42
- } from "./chunk-55AHQF63.js";
42
+ } from "./chunk-M2ZGNZRS.js";
43
43
 
44
44
  // src/hermes/plugin-payload.ts
45
45
  import { createHash } from "crypto";
@@ -6,7 +6,7 @@ import {
6
6
  DISCONNECT_AGENT_IDS,
7
7
  SETUP_AGENT_CHOICES,
8
8
  isApprovalMode
9
- } from "./chunk-55AHQF63.js";
9
+ } from "./chunk-M2ZGNZRS.js";
10
10
 
11
11
  // src/cli/mode-request.ts
12
12
  var parseDuration = (value) => {
@@ -4,13 +4,13 @@ import {
4
4
  configFailureKind,
5
5
  retryAgentCommand,
6
6
  writeSetupConfigFile
7
- } from "./chunk-Y553AEQU.js";
7
+ } from "./chunk-YPG3RXWO.js";
8
8
  import {
9
9
  MCP_BRIDGE_BINARY
10
- } from "./chunk-BTYHDCAP.js";
10
+ } from "./chunk-AP26EU5H.js";
11
11
  import {
12
12
  KEY_FILE_MODE
13
- } from "./chunk-Y23YO46U.js";
13
+ } from "./chunk-M74WT5NA.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-7WLKE7QN.js";
35
+ } from "./chunk-TUXX7TKR.js";
36
36
  import {
37
37
  resolveGlobalBinary
38
- } from "./chunk-WAFJGQSE.js";
38
+ } from "./chunk-HAOYL5JP.js";
39
39
  import {
40
40
  readJsonSafe,
41
41
  writeFileAtomic,
@@ -2,31 +2,31 @@ import {
2
2
  SIGNED_OUT_ON_MAC_MESSAGE,
3
3
  describeSignedOutKey,
4
4
  readSignedOutDiagnosis
5
- } from "./chunk-6OSE2IRG.js";
5
+ } from "./chunk-44DRCGP2.js";
6
6
  import {
7
7
  APPROVAL_RULES_PATH
8
- } from "./chunk-ONMAG5BF.js";
8
+ } from "./chunk-GJOHGES6.js";
9
9
  import {
10
10
  createIo
11
- } from "./chunk-XWCLKWKP.js";
11
+ } from "./chunk-WCWWO5QL.js";
12
12
  import {
13
13
  absoluteUrl,
14
14
  checkApiKey,
15
15
  describeKeyCheck,
16
16
  keyCheckFromResponse
17
- } from "./chunk-I5HXAELM.js";
17
+ } from "./chunk-L6BMVCQQ.js";
18
18
  import {
19
19
  readKeySource
20
- } from "./chunk-Y23YO46U.js";
20
+ } from "./chunk-M74WT5NA.js";
21
21
  import {
22
22
  getBaseUrl
23
- } from "./chunk-7IHVTLHK.js";
23
+ } from "./chunk-DAMTDSAE.js";
24
24
  import {
25
25
  EXIT
26
26
  } from "./chunk-BG4HHB7E.js";
27
27
  import {
28
28
  KEY_SCOPE
29
- } from "./chunk-55AHQF63.js";
29
+ } from "./chunk-M2ZGNZRS.js";
30
30
 
31
31
  // src/cli/report-key.ts
32
32
  var { dim, yellow } = createIo();
@@ -9,7 +9,7 @@ import {
9
9
  isSetupConnectMode,
10
10
  isValidApiKey,
11
11
  normalizeAgentId
12
- } from "./chunk-55AHQF63.js";
12
+ } from "./chunk-M2ZGNZRS.js";
13
13
 
14
14
  // src/setup/options.ts
15
15
  var AGENT_CHOICES = SETUP_AGENT_CHOICES;
@@ -5,13 +5,13 @@ import {
5
5
  } from "./chunk-OYIN77HO.js";
6
6
  import {
7
7
  readMacAppAgentKey
8
- } from "./chunk-OXZ75E2Y.js";
8
+ } from "./chunk-SQ4RPZ6O.js";
9
9
  import {
10
10
  API_KEYS_PATH
11
- } from "./chunk-ONMAG5BF.js";
11
+ } from "./chunk-GJOHGES6.js";
12
12
  import {
13
13
  absoluteUrl
14
- } from "./chunk-I5HXAELM.js";
14
+ } from "./chunk-L6BMVCQQ.js";
15
15
  import {
16
16
  findExportedKeyLines,
17
17
  isAdoptedMacAppKey,
@@ -21,10 +21,10 @@ import {
21
21
  readConfigFileKey,
22
22
  readKeySource,
23
23
  readMacAppKeyPrefix
24
- } from "./chunk-Y23YO46U.js";
24
+ } from "./chunk-M74WT5NA.js";
25
25
  import {
26
26
  isValidApiKey
27
- } from "./chunk-55AHQF63.js";
27
+ } from "./chunk-M2ZGNZRS.js";
28
28
 
29
29
  // src/cli/held-key-revocation.ts
30
30
  var readCliHeldKeys = (profiles) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  realpath
3
- } from "./chunk-W6FCSBTM.js";
3
+ } from "./chunk-EPQTCF6A.js";
4
4
  import {
5
5
  findNativeClaudeInstall
6
6
  } from "./chunk-CYTPQDQY.js";
@@ -12,7 +12,7 @@ import {
12
12
  resolvePackageVersionFromBinary,
13
13
  resolvePathBinary,
14
14
  resolvePathBinaryAsync
15
- } from "./chunk-WAFJGQSE.js";
15
+ } from "./chunk-HAOYL5JP.js";
16
16
  import {
17
17
  CLAUDE_BRIDGE_CAPABILITY,
18
18
  CLAUDE_RESUME_CAPABILITY,
@@ -23,7 +23,7 @@ import {
23
23
  MANAGED_PROVIDERS,
24
24
  SPAWN_CAPABILITY,
25
25
  sessionProvidersAdvertisedBy
26
- } from "./chunk-55AHQF63.js";
26
+ } from "./chunk-M2ZGNZRS.js";
27
27
 
28
28
  // src/live-capabilities.ts
29
29
  import { accessSync, constants, statSync as statSync2 } from "fs";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  cursorGateOwnsClaudeCall,
3
3
  readCursorGateRegistration
4
- } from "./chunk-7VXHWU7A.js";
4
+ } from "./chunk-P4KAYIMX.js";
5
5
  import {
6
6
  registerTranscript
7
- } from "./chunk-MGOBIHXH.js";
7
+ } from "./chunk-XOSSXRIR.js";
8
8
  import {
9
9
  namedEvent
10
- } from "./chunk-LVGRSC44.js";
10
+ } from "./chunk-TMDCIVZ2.js";
11
11
  import {
12
12
  writeDegraded
13
- } from "./chunk-IHYKSPWH.js";
13
+ } from "./chunk-YH6EHCKQ.js";
14
14
  import {
15
15
  claudeShapedHookInput,
16
16
  hookCompatibleProfileBySource,
17
17
  isGrokHookPayload,
18
18
  isGrokSessionEndStop
19
- } from "./chunk-55AHQF63.js";
19
+ } from "./chunk-M2ZGNZRS.js";
20
20
 
21
21
  // src/tool-hook-input.ts
22
22
  var OPTIONAL_TEXT_FIELDS = ["hook_event_name", "session_id", "cwd", "transcript_path", "tool_use_id", "permission_mode", "cursor_version"];
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  pusharyFetch
3
- } from "./chunk-HKCJZGAJ.js";
3
+ } from "./chunk-VUGF2OC7.js";
4
4
  import {
5
5
  getBaseUrl
6
- } from "./chunk-7IHVTLHK.js";
6
+ } from "./chunk-DAMTDSAE.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-55AHQF63.js";
16
+ } from "./chunk-M2ZGNZRS.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;