pushary 1.9.262 → 1.9.265

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 (145) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{api-TGVE6ZKD.js → api-J6LZMTBN.js} +11 -11
  3. package/dist/bin/pushary-audit.js +3 -3
  4. package/dist/bin/pushary-bell-hook.js +29 -29
  5. package/dist/bin/pushary-bell.js +12 -12
  6. package/dist/bin/pushary-calls.js +15 -15
  7. package/dist/bin/pushary-claude.js +26 -26
  8. package/dist/bin/pushary-clean.js +40 -40
  9. package/dist/bin/pushary-codex-bridge.js +23 -23
  10. package/dist/bin/pushary-codex-hook.js +35 -35
  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 +36 -36
  14. package/dist/bin/pushary-cowork.js +5 -5
  15. package/dist/bin/pushary-daemon.js +47 -47
  16. package/dist/bin/pushary-disconnect.js +31 -31
  17. package/dist/bin/pushary-display-hook.js +198 -2
  18. package/dist/bin/pushary-doctor.js +52 -51
  19. package/dist/bin/pushary-elicitation-hook.js +28 -28
  20. package/dist/bin/pushary-gemini-bridge.js +18 -18
  21. package/dist/bin/pushary-gemini-hook.js +32 -32
  22. package/dist/bin/pushary-hook.js +36 -36
  23. package/dist/bin/pushary-login.js +23 -23
  24. package/dist/bin/pushary-logout.js +32 -32
  25. package/dist/bin/pushary-mcp.js +12 -12
  26. package/dist/bin/pushary-mode.js +16 -16
  27. package/dist/bin/pushary-notification-hook.js +28 -28
  28. package/dist/bin/pushary-opencode-bridge.js +22 -22
  29. package/dist/bin/pushary-opencode-hook.js +33 -33
  30. package/dist/bin/pushary-permission-denied-hook.js +35 -35
  31. package/dist/bin/pushary-permission-hook.js +36 -36
  32. package/dist/bin/pushary-post-hook.js +29 -29
  33. package/dist/bin/pushary-prompt-hook.js +28 -28
  34. package/dist/bin/pushary-session-end-hook.js +28 -28
  35. package/dist/bin/pushary-session-start-hook.js +40 -40
  36. package/dist/bin/pushary-sessions.js +12 -12
  37. package/dist/bin/pushary-setup.js +60 -60
  38. package/dist/bin/pushary-stats.js +5 -5
  39. package/dist/bin/pushary-status.js +37 -37
  40. package/dist/bin/pushary-stop-hook.js +28 -28
  41. package/dist/bin/pushary-stopfailure-hook.js +28 -28
  42. package/dist/bin/pushary-suggestions.js +16 -16
  43. package/dist/bin/pushary-transcript-register.js +17 -17
  44. package/dist/bin/pushary-transcripts.js +26 -26
  45. package/dist/bin/pushary-upgrade.js +48 -48
  46. package/dist/bin/pushary-wait.js +21 -20
  47. package/dist/bin/pushary.js +7 -7
  48. package/dist/{chunk-IK4MIPI2.js → chunk-2KJYGGZ6.js} +3 -3
  49. package/dist/{chunk-V6MQUYE2.js → chunk-2RAXOB4Y.js} +7 -7
  50. package/dist/{chunk-VDPUBIL2.js → chunk-37LPWX25.js} +2 -2
  51. package/dist/{chunk-APTFA4KF.js → chunk-4CQHOOTR.js} +1 -1
  52. package/dist/{chunk-CTTIW2A3.js → chunk-57K3LBJB.js} +2 -2
  53. package/dist/{chunk-LZRXFGEP.js → chunk-5HT5FDRZ.js} +2 -2
  54. package/dist/{chunk-RX75OG6S.js → chunk-6EYG42OD.js} +6 -6
  55. package/dist/{chunk-QIOPWRBQ.js → chunk-7DRATORT.js} +1 -1
  56. package/dist/{chunk-WFUVBCKK.js → chunk-7MTRSXUI.js} +4 -4
  57. package/dist/{chunk-AURPPDRZ.js → chunk-A32JBM4J.js} +2 -2
  58. package/dist/{chunk-WOEMRT24.js → chunk-AEMFRMHP.js} +3 -3
  59. package/dist/{chunk-OAE54AV7.js → chunk-AFYZW4NA.js} +1 -1
  60. package/dist/{chunk-IMSFJFN6.js → chunk-AHCI4HO3.js} +1 -1
  61. package/dist/{chunk-Q54QQO5E.js → chunk-ANXGIOAH.js} +5 -5
  62. package/dist/{chunk-2DYJTOOU.js → chunk-BBXMSJPK.js} +3 -3
  63. package/dist/{chunk-DU2YTOTA.js → chunk-BEMKLT6F.js} +1 -1
  64. package/dist/{chunk-HMN4XEJE.js → chunk-BN4GUE43.js} +4 -4
  65. package/dist/{chunk-DS3C4SRR.js → chunk-CKEVUBAH.js} +2 -2
  66. package/dist/{chunk-43DXK6WE.js → chunk-DJKLVHGI.js} +1 -1
  67. package/dist/{chunk-CC6BYFNM.js → chunk-E77LZTUK.js} +6 -6
  68. package/dist/{chunk-NHLCREFU.js → chunk-EEDKN264.js} +1 -1
  69. package/dist/{chunk-D2666AVW.js → chunk-EY7ZPBFZ.js} +6 -6
  70. package/dist/{chunk-5SVZXCAJ.js → chunk-FI3QGWFG.js} +1 -1
  71. package/dist/{chunk-SCXUTDQM.js → chunk-FPHURVGE.js} +3 -3
  72. package/dist/{chunk-C4D6R27P.js → chunk-GDUJTSOO.js} +5 -5
  73. package/dist/{chunk-KEC73KH6.js → chunk-GI3A5QH5.js} +1 -1
  74. package/dist/{chunk-BTSJ2W7I.js → chunk-GOSRXI4T.js} +1 -1
  75. package/dist/{chunk-5K5MT22J.js → chunk-GQS7ZZ3S.js} +4 -4
  76. package/dist/{chunk-67UJTXRZ.js → chunk-HGJH3PKN.js} +1 -1
  77. package/dist/{chunk-R33I7ZNR.js → chunk-HJTY3GJG.js} +5 -5
  78. package/dist/{chunk-LE6VFEJU.js → chunk-HRKTB43U.js} +1 -1
  79. package/dist/{chunk-HB3S3KDX.js → chunk-HVBF4P4C.js} +1 -1
  80. package/dist/{chunk-JG4JGAI2.js → chunk-HWJJPG6J.js} +4 -4
  81. package/dist/{chunk-VL4AJPCE.js → chunk-I6ZP7GX4.js} +4 -4
  82. package/dist/{chunk-ZPM6H6GM.js → chunk-ICGOK7N6.js} +1 -1
  83. package/dist/{chunk-CXGRUUUM.js → chunk-IRF23YVI.js} +10 -10
  84. package/dist/{chunk-EHH4PQG7.js → chunk-J43O2OJJ.js} +4 -4
  85. package/dist/{chunk-J7V5ZFZC.js → chunk-J4QQJV4L.js} +6 -6
  86. package/dist/{chunk-HZ76NLD2.js → chunk-K3LBA4XD.js} +6 -6
  87. package/dist/{chunk-I4D4XEIJ.js → chunk-K4R2E25S.js} +5 -5
  88. package/dist/{chunk-FNDKQEJP.js → chunk-KHU46H7O.js} +4 -4
  89. package/dist/{chunk-WCOI5PQU.js → chunk-KIFKXFV5.js} +1 -1
  90. package/dist/{chunk-JUCN4TV4.js → chunk-KQFTD45H.js} +5 -5
  91. package/dist/{chunk-IHH3HGQQ.js → chunk-KTQQBBQR.js} +3 -3
  92. package/dist/{chunk-CVWG2N3Y.js → chunk-KUVKMGTY.js} +12 -0
  93. package/dist/{chunk-CAOMKUSR.js → chunk-L67LOALO.js} +4 -4
  94. package/dist/{chunk-DU5MLJQL.js → chunk-LAA7PD6N.js} +1 -1
  95. package/dist/{chunk-BZ2V2ES3.js → chunk-LANIUUOD.js} +5 -5
  96. package/dist/{chunk-23ELMB2F.js → chunk-LEPTAZLV.js} +2 -2
  97. package/dist/{chunk-FKYZEIH7.js → chunk-LNLQJVSL.js} +10 -10
  98. package/dist/{chunk-YEIHJAE6.js → chunk-LTSE3TEA.js} +3 -3
  99. package/dist/{chunk-W7QW3XFQ.js → chunk-N25DYTSR.js} +4 -4
  100. package/dist/{chunk-JOQAW5BM.js → chunk-NCP5CXKF.js} +12 -12
  101. package/dist/{chunk-IS5WMKN2.js → chunk-NNOQGK5M.js} +3 -3
  102. package/dist/{chunk-DIHUVYT2.js → chunk-NNPMQ6L6.js} +11 -11
  103. package/dist/{chunk-WYYHSHBO.js → chunk-OX6GPAAQ.js} +2 -2
  104. package/dist/{chunk-K5ZEJCJO.js → chunk-P55MQFCO.js} +3 -3
  105. package/dist/{chunk-MJW6P7A6.js → chunk-QLXDNPEN.js} +2 -2
  106. package/dist/{chunk-RA4RSVVJ.js → chunk-R2DXZ3H7.js} +1 -1
  107. package/dist/{chunk-SOJPAKCB.js → chunk-RUGGVWWZ.js} +1 -1
  108. package/dist/{chunk-H4XEEC4I.js → chunk-RUXC23NN.js} +2 -2
  109. package/dist/{chunk-SG4IFPJP.js → chunk-S6YIK7UL.js} +1 -1
  110. package/dist/{chunk-NLW2YDL5.js → chunk-SOWPQ2FC.js} +5 -5
  111. package/dist/{chunk-F6LNIS2Y.js → chunk-SXUSGBNY.js} +1 -1
  112. package/dist/{chunk-T4EVAVKF.js → chunk-T6RUSL5H.js} +5 -5
  113. package/dist/{chunk-EVJ5DPRU.js → chunk-T6WMAF5P.js} +1 -1
  114. package/dist/{chunk-2Q3ZTT57.js → chunk-TCEUXUBI.js} +7 -7
  115. package/dist/{chunk-WV7OME3F.js → chunk-TYCRIIBI.js} +2 -2
  116. package/dist/{chunk-JVZCCUN4.js → chunk-UE3YQBQT.js} +5 -5
  117. package/dist/{chunk-HVY3YUJU.js → chunk-UF55EUBY.js} +1 -1
  118. package/dist/{chunk-73ROMTIN.js → chunk-UKVLAZIH.js} +6 -6
  119. package/dist/{chunk-HSVVH7K2.js → chunk-V2RKBSFJ.js} +1 -1
  120. package/dist/{chunk-VZVKJP3Q.js → chunk-V7KJTDSQ.js} +490 -30
  121. package/dist/{chunk-VSW5ZMPX.js → chunk-VHXEKBUD.js} +3 -3
  122. package/dist/{chunk-YQTU6V4X.js → chunk-VW2YJO5P.js} +2 -2
  123. package/dist/{chunk-EPT6MZBG.js → chunk-W3J2RRNE.js} +5 -5
  124. package/dist/{chunk-FURJQUDT.js → chunk-WEHHOYKI.js} +2 -2
  125. package/dist/{chunk-QWSXLYTX.js → chunk-WPKBOJX6.js} +3 -3
  126. package/dist/{chunk-H4DPB3LK.js → chunk-Z4Z7V3EK.js} +8 -8
  127. package/dist/{chunk-QGYVOSDC.js → chunk-ZBEFKVTK.js} +1 -1
  128. package/dist/{chunk-WTFR2OK4.js → chunk-ZO2CFED5.js} +38 -27
  129. package/dist/{chunk-SLD22IUB.js → chunk-ZQUV2VTD.js} +4 -4
  130. package/dist/{chunk-DOMSM62I.js → chunk-ZTC6RRW2.js} +2 -2
  131. package/dist/{codex-app-cards-switch-CQZL4XI6.js → codex-app-cards-switch-HUTILTTI.js} +12 -12
  132. package/dist/{codex-card-routing-VV2HQAGX.js → codex-card-routing-SNGFGTXM.js} +2 -2
  133. package/dist/{codex-desktop-launch-FYXOQGBR.js → codex-desktop-launch-HF6IMUTX.js} +3 -3
  134. package/dist/{codex-session-launch-A4LDZ4GU.js → codex-session-launch-QLQZTMB7.js} +20 -20
  135. package/dist/{config-EHAN6BUF.js → config-I34XYHBG.js} +3 -3
  136. package/dist/{global-upgrade-EJZ2EX7R.js → global-upgrade-AFRFVNVD.js} +9 -9
  137. package/dist/{identity-L7SFKUOG.js → identity-ZPEQQCFS.js} +4 -4
  138. package/dist/{live-capabilities-QAVKVTKD.js → live-capabilities-GAWWCLCB.js} +4 -4
  139. package/dist/{paths-BD7XIUNJ.js → paths-CHXMUOTC.js} +3 -3
  140. package/dist/reapply-YJ5GKYYN.js +76 -0
  141. package/dist/src/index.js +34 -34
  142. package/dist/{upgrade-lock-Y35PJNJT.js → upgrade-lock-MNUVFYRM.js} +4 -4
  143. package/dist/{usage-E5Z3XUTZ.js → usage-BH2ND6CM.js} +3 -3
  144. package/package.json +1 -1
  145. package/dist/reapply-QFSUMRID.js +0 -76
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  autoUpdateLock
3
- } from "./chunk-AURPPDRZ.js";
3
+ } from "./chunk-A32JBM4J.js";
4
4
  import {
5
5
  installPackageGlobally,
6
6
  npmErrorMessage,
7
7
  throwIfNpmRefusesInstall
8
- } from "./chunk-SLD22IUB.js";
8
+ } from "./chunk-ZQUV2VTD.js";
9
9
  import {
10
10
  writeJsonAtomic
11
11
  } from "./chunk-PM2NRK6Y.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  guardBinary
3
- } from "./chunk-AURPPDRZ.js";
3
+ } from "./chunk-A32JBM4J.js";
4
4
 
5
5
  // src/bell/install.ts
6
6
  import { join } from "path";
@@ -14,7 +14,7 @@ import {
14
14
  reachVerdict,
15
15
  reachesYou,
16
16
  verifyDelivery
17
- } from "./chunk-D2666AVW.js";
17
+ } from "./chunk-EY7ZPBFZ.js";
18
18
  import {
19
19
  describeRevokeAttempt,
20
20
  keyNoLongerAccepted,
@@ -29,20 +29,20 @@ import {
29
29
  isCI,
30
30
  terminalColumns,
31
31
  useColor
32
- } from "./chunk-KEC73KH6.js";
32
+ } from "./chunk-GI3A5QH5.js";
33
33
  import {
34
34
  checkApiKey
35
- } from "./chunk-YEIHJAE6.js";
35
+ } from "./chunk-LTSE3TEA.js";
36
36
  import {
37
37
  reportedInstallSource
38
- } from "./chunk-CTTIW2A3.js";
38
+ } from "./chunk-57K3LBJB.js";
39
39
  import {
40
40
  NPX_LATEST_COMMAND
41
- } from "./chunk-APTFA4KF.js";
41
+ } from "./chunk-4CQHOOTR.js";
42
42
  import {
43
43
  NO_PAIRING_COMPUTER,
44
44
  PAIR_TTL_SECONDS
45
- } from "./chunk-VZVKJP3Q.js";
45
+ } from "./chunk-V7KJTDSQ.js";
46
46
 
47
47
  // src/onboarding.ts
48
48
  import qrcodeTerminal from "qrcode-terminal";
@@ -9,7 +9,7 @@ import {
9
9
  isSetupConnectMode,
10
10
  isValidApiKey,
11
11
  normalizeAgentId
12
- } from "./chunk-VZVKJP3Q.js";
12
+ } from "./chunk-V7KJTDSQ.js";
13
13
 
14
14
  // src/setup/options.ts
15
15
  var AGENT_CHOICES = SETUP_AGENT_CHOICES;
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  APPROVAL_RULES_PATH,
3
3
  canChangeApprovalSettings
4
- } from "./chunk-DOMSM62I.js";
4
+ } from "./chunk-ZTC6RRW2.js";
5
5
  import {
6
6
  callMcpTool
7
- } from "./chunk-C4D6R27P.js";
7
+ } from "./chunk-GDUJTSOO.js";
8
8
  import {
9
9
  absoluteUrl
10
- } from "./chunk-YEIHJAE6.js";
10
+ } from "./chunk-LTSE3TEA.js";
11
11
  import {
12
12
  getBaseUrl
13
- } from "./chunk-WV7OME3F.js";
13
+ } from "./chunk-TYCRIIBI.js";
14
14
  import {
15
15
  NPX_LATEST_COMMAND
16
- } from "./chunk-APTFA4KF.js";
16
+ } from "./chunk-4CQHOOTR.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-VZVKJP3Q.js";
24
+ } from "./chunk-V7KJTDSQ.js";
25
25
 
26
26
  // src/reach.ts
27
27
  var PUSHARY_APP_DOWNLOAD_URL = "https://pushary.com/download";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  renderCommandHelp
3
- } from "./chunk-APTFA4KF.js";
3
+ } from "./chunk-4CQHOOTR.js";
4
4
  import {
5
5
  EXIT
6
6
  } from "./chunk-BG4HHB7E.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SETUP_FLAGS
3
- } from "./chunk-NHLCREFU.js";
3
+ } from "./chunk-EEDKN264.js";
4
4
  import {
5
5
  parseFlags
6
6
  } from "./chunk-BZIBNSQE.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-CINBAX5G.js";
10
10
  import {
11
11
  NPX_LATEST_COMMAND
12
- } from "./chunk-APTFA4KF.js";
12
+ } from "./chunk-4CQHOOTR.js";
13
13
  import {
14
14
  CLAUDE_CONNECTOR_GUIDE,
15
15
  CLAUDE_CONNECTOR_STEPS,
@@ -17,7 +17,7 @@ import {
17
17
  CLAUDE_CONNECTOR_URL,
18
18
  COWORK_CONNECTOR_LIMIT,
19
19
  COWORK_STANDING_INSTRUCTIONS
20
- } from "./chunk-VZVKJP3Q.js";
20
+ } from "./chunk-V7KJTDSQ.js";
21
21
 
22
22
  // src/cli/cowork.ts
23
23
  import { readFileSync } from "fs";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  fetchAsCredential
3
- } from "./chunk-LE6VFEJU.js";
3
+ } from "./chunk-HRKTB43U.js";
4
4
  import {
5
5
  keyCheckFromResponse
6
- } from "./chunk-YEIHJAE6.js";
6
+ } from "./chunk-LTSE3TEA.js";
7
7
  import {
8
8
  installNetworkDefaults
9
- } from "./chunk-IK4MIPI2.js";
9
+ } from "./chunk-2KJYGGZ6.js";
10
10
  import {
11
11
  getBaseUrl
12
- } from "./chunk-WV7OME3F.js";
12
+ } from "./chunk-TYCRIIBI.js";
13
13
  import {
14
14
  isRecord,
15
15
  isToolErrorResult,
16
16
  toolFailureCodeOfResult
17
- } from "./chunk-VZVKJP3Q.js";
17
+ } from "./chunk-V7KJTDSQ.js";
18
18
 
19
19
  // src/retry.ts
20
20
  var isRetryable = (err) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  redactSecretsFromContent
3
- } from "./chunk-VZVKJP3Q.js";
3
+ } from "./chunk-V7KJTDSQ.js";
4
4
 
5
5
  // src/cli/terminal-row.ts
6
6
  var visibleLength = (text) => text.replace(/\x1b\[[0-9;]*m/g, "").length;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HOOK_HOLD_BUDGET_ENV,
3
3
  hookHoldBudgetProof
4
- } from "./chunk-VZVKJP3Q.js";
4
+ } from "./chunk-V7KJTDSQ.js";
5
5
 
6
6
  // src/hold-budget.ts
7
7
  var takeHookHoldBudget = (args = process.argv.slice(2), env = process.env) => {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  AGENT_CHOICES
3
- } from "./chunk-NHLCREFU.js";
3
+ } from "./chunk-EEDKN264.js";
4
4
  import {
5
5
  BELL_HOOK_BINARY
6
- } from "./chunk-43DXK6WE.js";
6
+ } from "./chunk-DJKLVHGI.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-AURPPDRZ.js";
19
+ } from "./chunk-A32JBM4J.js";
20
20
  import {
21
21
  CURSOR_GATE_EVENTS,
22
22
  HOOK_BUDGETS,
23
23
  HOOK_LOCATOR_BINARY,
24
24
  hookCommandHoldBudget
25
- } from "./chunk-VZVKJP3Q.js";
25
+ } from "./chunk-V7KJTDSQ.js";
26
26
 
27
27
  // src/gemini-config.ts
28
28
  var GEMINI_HOOK_BINARY = "pushary-gemini-hook";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  computerOsOfPlatform,
3
3
  isComputerAgent
4
- } from "./chunk-VZVKJP3Q.js";
4
+ } from "./chunk-V7KJTDSQ.js";
5
5
 
6
6
  // src/setup/phone-check.ts
7
7
  var NO_AGENT_CONNECTED_LINE = "Skipping the phone step: no agent was connected, so nothing could ask you anything on your phone yet.";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  cursorGateOwnsClaudeCall,
3
3
  readCursorGateRegistration
4
- } from "./chunk-QWSXLYTX.js";
4
+ } from "./chunk-WPKBOJX6.js";
5
5
  import {
6
6
  registerTranscript
7
- } from "./chunk-CXGRUUUM.js";
7
+ } from "./chunk-IRF23YVI.js";
8
8
  import {
9
9
  namedEvent
10
- } from "./chunk-HZ76NLD2.js";
10
+ } from "./chunk-K3LBA4XD.js";
11
11
  import {
12
12
  writeDegraded
13
- } from "./chunk-RX75OG6S.js";
13
+ } from "./chunk-6EYG42OD.js";
14
14
  import {
15
15
  claudeShapedHookInput,
16
16
  hookCompatibleProfileBySource,
17
17
  isGrokHookPayload,
18
18
  isGrokSessionEndStop
19
- } from "./chunk-VZVKJP3Q.js";
19
+ } from "./chunk-V7KJTDSQ.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"];
@@ -5,7 +5,7 @@ import {
5
5
  MCP_CREDENTIAL_REJECTION_BODY,
6
6
  isRecord,
7
7
  responseRejectsCredential
8
- } from "./chunk-VZVKJP3Q.js";
8
+ } from "./chunk-V7KJTDSQ.js";
9
9
 
10
10
  // src/credential-rejection.ts
11
11
  import { createHash, randomUUID } from "crypto";
@@ -10,7 +10,7 @@ import {
10
10
  uploadTranscriptRecords,
11
11
  verifyAnchoredRecipients,
12
12
  wrapSessionKey
13
- } from "./chunk-WOEMRT24.js";
13
+ } from "./chunk-AEMFRMHP.js";
14
14
 
15
15
  // src/live-session.ts
16
16
  var LIVE_TRANSCRIPT_LIMITS = { queuedRecords: 100, recordCharacters: 32 * 1024 };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  CODEX_HOOK_STATUS,
3
3
  HERMES_HISTORY_HELPER_COMMAND
4
- } from "./chunk-2DYJTOOU.js";
4
+ } from "./chunk-BBXMSJPK.js";
5
5
  import {
6
6
  HERMES_ALWAYS_ALLOWED_SHELL_RULE,
7
7
  HERMES_COMMAND_ALLOWLIST_KEY,
8
8
  HERMES_GATE_TOOLS_KEY,
9
9
  HERMES_SHELL_TOOL
10
- } from "./chunk-CAOMKUSR.js";
10
+ } from "./chunk-L67LOALO.js";
11
11
  import {
12
12
  retryAgentCommand
13
- } from "./chunk-IHH3HGQQ.js";
13
+ } from "./chunk-KTQQBBQR.js";
14
14
  import {
15
15
  NPX_LATEST_COMMAND
16
- } from "./chunk-APTFA4KF.js";
16
+ } from "./chunk-4CQHOOTR.js";
17
17
 
18
18
  // src/setup/codex-trust.ts
19
19
  var CODEX_TRUST_TELEMETRY = {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  macAppBridgeAvailable
3
- } from "./chunk-V6MQUYE2.js";
3
+ } from "./chunk-2RAXOB4Y.js";
4
4
  import {
5
5
  keyPrefix
6
- } from "./chunk-K5ZEJCJO.js";
6
+ } from "./chunk-P55MQFCO.js";
7
7
  import {
8
8
  bridgeAgentKey
9
- } from "./chunk-AURPPDRZ.js";
9
+ } from "./chunk-A32JBM4J.js";
10
10
  import {
11
11
  readJsonSafe
12
12
  } from "./chunk-PM2NRK6Y.js";
13
13
  import {
14
14
  isRecord,
15
15
  isValidApiKey
16
- } from "./chunk-VZVKJP3Q.js";
16
+ } from "./chunk-V7KJTDSQ.js";
17
17
 
18
18
  // src/shared-mcp-key.ts
19
19
  var asRecord = (value) => value !== null && typeof value === "object" && !Array.isArray(value) ? value : void 0;
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-6ICPEJY5.js";
7
7
  import {
8
8
  isRecord
9
- } from "./chunk-VZVKJP3Q.js";
9
+ } from "./chunk-V7KJTDSQ.js";
10
10
 
11
11
  // src/setup/agent-probe.ts
12
12
  import { execSync } from "child_process";
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-WHB622LP.js";
4
4
  import {
5
5
  ensureDaemonRunning
6
- } from "./chunk-J7V5ZFZC.js";
6
+ } from "./chunk-J4QQJV4L.js";
7
7
  import {
8
8
  hookOwnerOf
9
- } from "./chunk-5K5MT22J.js";
9
+ } from "./chunk-GQS7ZZ3S.js";
10
10
  import {
11
11
  hookMeaning
12
- } from "./chunk-HVY3YUJU.js";
12
+ } from "./chunk-UF55EUBY.js";
13
13
  import {
14
14
  buildTranscriptRecords,
15
15
  changedRecipientsMessage,
@@ -24,11 +24,11 @@ import {
24
24
  uploadTranscriptRecords,
25
25
  verifyAnchoredRecipients,
26
26
  wrapSessionKey
27
- } from "./chunk-WOEMRT24.js";
27
+ } from "./chunk-AEMFRMHP.js";
28
28
  import {
29
29
  transcriptEnvironmentPreference,
30
30
  transcriptsEnabled
31
- } from "./chunk-DU2YTOTA.js";
31
+ } from "./chunk-BEMKLT6F.js";
32
32
  import {
33
33
  external_exports,
34
34
  ownedOnlyByThisUser,
@@ -36,19 +36,19 @@ import {
36
36
  } from "./chunk-P6DUWKAO.js";
37
37
  import {
38
38
  fetchAsCredential
39
- } from "./chunk-LE6VFEJU.js";
39
+ } from "./chunk-HRKTB43U.js";
40
40
  import {
41
41
  readTranscriptPreference
42
- } from "./chunk-K5ZEJCJO.js";
42
+ } from "./chunk-P55MQFCO.js";
43
43
  import {
44
44
  claudeConfigDir,
45
45
  codexHome,
46
46
  pusharyDir
47
- } from "./chunk-AURPPDRZ.js";
47
+ } from "./chunk-A32JBM4J.js";
48
48
  import {
49
49
  getApiKey,
50
50
  getBaseUrl
51
- } from "./chunk-WV7OME3F.js";
51
+ } from "./chunk-TYCRIIBI.js";
52
52
  import {
53
53
  writeJsonAtomic,
54
54
  writeJsonAtomicDurable
@@ -61,7 +61,7 @@ import {
61
61
  isHookSource,
62
62
  isRecord,
63
63
  redactSecretsFromContent
64
- } from "./chunk-VZVKJP3Q.js";
64
+ } from "./chunk-V7KJTDSQ.js";
65
65
 
66
66
  // src/transcript-registration.ts
67
67
  import { createHash as createHash4 } from "crypto";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  compatibleConfigFile,
3
3
  hasCompatibleHooks
4
- } from "./chunk-HZ76NLD2.js";
4
+ } from "./chunk-K3LBA4XD.js";
5
5
  import {
6
6
  pusharyHookExecutable
7
- } from "./chunk-5K5MT22J.js";
7
+ } from "./chunk-GQS7ZZ3S.js";
8
8
  import {
9
9
  isProtectedByScope,
10
10
  registerHookEntry
11
- } from "./chunk-AURPPDRZ.js";
11
+ } from "./chunk-A32JBM4J.js";
12
12
  import {
13
13
  isRecord
14
- } from "./chunk-VZVKJP3Q.js";
14
+ } from "./chunk-V7KJTDSQ.js";
15
15
 
16
16
  // src/cursor-config.ts
17
17
  var hookCommandOf = (entry) => {
@@ -4,20 +4,20 @@ import {
4
4
  } from "./chunk-3PSNUHC5.js";
5
5
  import {
6
6
  getMachineId
7
- } from "./chunk-HSVVH7K2.js";
7
+ } from "./chunk-V2RKBSFJ.js";
8
8
  import {
9
9
  readControlMode
10
- } from "./chunk-K5ZEJCJO.js";
10
+ } from "./chunk-P55MQFCO.js";
11
11
  import {
12
12
  pusharyDir
13
- } from "./chunk-AURPPDRZ.js";
13
+ } from "./chunk-A32JBM4J.js";
14
14
  import {
15
15
  resolveGlobalBinary,
16
16
  withoutNpmInstallConsent
17
- } from "./chunk-SLD22IUB.js";
17
+ } from "./chunk-ZQUV2VTD.js";
18
18
  import {
19
19
  getApiKey
20
- } from "./chunk-WV7OME3F.js";
20
+ } from "./chunk-TYCRIIBI.js";
21
21
  import {
22
22
  readJsonSafe,
23
23
  writeFileAtomic,
@@ -33,7 +33,7 @@ import {
33
33
  } from "./chunk-CXQWDQCJ.js";
34
34
  import {
35
35
  isRecord
36
- } from "./chunk-VZVKJP3Q.js";
36
+ } from "./chunk-V7KJTDSQ.js";
37
37
 
38
38
  // src/daemon-entry-guard.ts
39
39
  import { mkdirSync, readFileSync } from "fs";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseConfigDocument
3
- } from "./chunk-RA4RSVVJ.js";
3
+ } from "./chunk-R2DXZ3H7.js";
4
4
  import {
5
5
  addGeminiMcpServer,
6
6
  removeGeminiMcpServer
7
- } from "./chunk-5K5MT22J.js";
7
+ } from "./chunk-GQS7ZZ3S.js";
8
8
  import {
9
9
  CLAUDE_CODE_AGENT
10
- } from "./chunk-DIHUVYT2.js";
10
+ } from "./chunk-NNPMQ6L6.js";
11
11
  import {
12
12
  compatibleToolLookup
13
- } from "./chunk-HVY3YUJU.js";
13
+ } from "./chunk-UF55EUBY.js";
14
14
  import {
15
15
  CLAUDE_HOOK_EVENTS,
16
16
  PUSHARY_MCP_URL,
@@ -22,7 +22,7 @@ import {
22
22
  isPusharyHook,
23
23
  registerHookEntry,
24
24
  removeClaudeMcpServers
25
- } from "./chunk-AURPPDRZ.js";
25
+ } from "./chunk-A32JBM4J.js";
26
26
  import {
27
27
  AGENT_ENFORCEMENT,
28
28
  HOOK_COMPATIBLE_PROFILES,
@@ -36,7 +36,7 @@ import {
36
36
  pusharyMissingReason,
37
37
  refusalOutput,
38
38
  withHookHoldBudget
39
- } from "./chunk-VZVKJP3Q.js";
39
+ } from "./chunk-V7KJTDSQ.js";
40
40
 
41
41
  // src/compatible-config.ts
42
42
  import { homedir } from "os";
@@ -4,13 +4,13 @@ import {
4
4
  configFailureKind,
5
5
  retryAgentCommand,
6
6
  writeSetupConfigFile
7
- } from "./chunk-IHH3HGQQ.js";
7
+ } from "./chunk-KTQQBBQR.js";
8
8
  import {
9
9
  MCP_BRIDGE_BINARY
10
- } from "./chunk-W7QW3XFQ.js";
10
+ } from "./chunk-N25DYTSR.js";
11
11
  import {
12
12
  KEY_FILE_MODE
13
- } from "./chunk-K5ZEJCJO.js";
13
+ } from "./chunk-P55MQFCO.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-AURPPDRZ.js";
35
+ } from "./chunk-A32JBM4J.js";
36
36
  import {
37
37
  resolveGlobalBinary
38
- } from "./chunk-SLD22IUB.js";
38
+ } from "./chunk-ZQUV2VTD.js";
39
39
  import {
40
40
  readJsonSafe,
41
41
  writeFileAtomic,
@@ -4,16 +4,16 @@ import {
4
4
  } from "./chunk-WHB622LP.js";
5
5
  import {
6
6
  keyPrefix
7
- } from "./chunk-K5ZEJCJO.js";
7
+ } from "./chunk-P55MQFCO.js";
8
8
  import {
9
9
  keyPrefixToShow
10
- } from "./chunk-WV7OME3F.js";
10
+ } from "./chunk-TYCRIIBI.js";
11
11
  import {
12
12
  NPX_LATEST_COMMAND
13
- } from "./chunk-APTFA4KF.js";
13
+ } from "./chunk-4CQHOOTR.js";
14
14
  import {
15
15
  isValidApiKey
16
- } from "./chunk-VZVKJP3Q.js";
16
+ } from "./chunk-V7KJTDSQ.js";
17
17
 
18
18
  // src/setup/key-account.ts
19
19
  var isKeyHeldByMacApp = (key, holder) => holder.macAppInstalled && holder.macAppKey === key;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  shouldDeferToNativeMode
3
- } from "./chunk-VZVKJP3Q.js";
3
+ } from "./chunk-V7KJTDSQ.js";
4
4
 
5
5
  // src/native-defer.ts
6
6
  var nativeDeferOptions = () => {
@@ -3,24 +3,24 @@ import {
3
3
  expectedLaunchCapabilities,
4
4
  hasSpawnProvider,
5
5
  resolveControlPolicy
6
- } from "./chunk-VSW5ZMPX.js";
6
+ } from "./chunk-VHXEKBUD.js";
7
7
  import {
8
8
  daemonHasRemoteProof,
9
9
  daemonServiceManagerAvailable,
10
10
  hasDaemonServiceDefinition,
11
11
  readDaemonNeedsLogin,
12
12
  readDaemonStatus
13
- } from "./chunk-J7V5ZFZC.js";
13
+ } from "./chunk-J4QQJV4L.js";
14
14
  import {
15
15
  getMachineId
16
- } from "./chunk-HSVVH7K2.js";
16
+ } from "./chunk-V2RKBSFJ.js";
17
17
  import {
18
18
  readControlMode,
19
19
  readKeyInForce
20
- } from "./chunk-K5ZEJCJO.js";
20
+ } from "./chunk-P55MQFCO.js";
21
21
  import {
22
22
  getBaseUrl
23
- } from "./chunk-WV7OME3F.js";
23
+ } from "./chunk-TYCRIIBI.js";
24
24
  import {
25
25
  getPackageVersion
26
26
  } from "./chunk-CXQWDQCJ.js";
@@ -4,16 +4,16 @@ import {
4
4
  NpmMissingError,
5
5
  NpmPermissionError,
6
6
  NpmReleaseAgeError
7
- } from "./chunk-SLD22IUB.js";
7
+ } from "./chunk-ZQUV2VTD.js";
8
8
  import {
9
9
  writeFileAtomic
10
10
  } from "./chunk-PM2NRK6Y.js";
11
11
  import {
12
12
  NPX_LATEST_COMMAND
13
- } from "./chunk-APTFA4KF.js";
13
+ } from "./chunk-4CQHOOTR.js";
14
14
  import {
15
15
  readSetupAgentFailures
16
- } from "./chunk-VZVKJP3Q.js";
16
+ } from "./chunk-V7KJTDSQ.js";
17
17
 
18
18
  // src/setup/config-write.ts
19
19
  var AgentConfigWriteError = class extends Error {
@@ -1,4 +1,15 @@
1
+ import {
2
+ MCP_TOOLS_THAT_SEND_SOMETHING_OUT_LABEL,
3
+ MCP_TOOLS_THAT_SEND_SOMETHING_OUT_PATTERN,
4
+ WILDCARD_TOOL_PATTERN
5
+ } from "./chunk-V7KJTDSQ.js";
6
+
1
7
  // src/wait-ladder.ts
8
+ var WAIT_RULE_LABELS = {
9
+ [WILDCARD_TOOL_PATTERN]: "default (*)",
10
+ [MCP_TOOLS_THAT_SEND_SOMETHING_OUT_PATTERN]: MCP_TOOLS_THAT_SEND_SOMETHING_OUT_LABEL
11
+ };
12
+ var waitRuleLabelOf = (tool) => Object.hasOwn(WAIT_RULE_LABELS, tool) ? WAIT_RULE_LABELS[tool] ?? tool : tool;
2
13
  var HAND_BACK = "then hand back to the agent's own prompt";
3
14
  var describeWaitLadder = (p) => {
4
15
  if (p.mode === "terminal_only") return "no approval alerts, the agent's own prompt decides";
@@ -12,5 +23,6 @@ var describeWaitLadder = (p) => {
12
23
  };
13
24
 
14
25
  export {
26
+ waitRuleLabelOf,
15
27
  describeWaitLadder
16
28
  };
@@ -16,7 +16,7 @@ import {
16
16
  uninstallOpenClawPlugin,
17
17
  unsetOpenClawEntry,
18
18
  writeOpenClawEntry
19
- } from "./chunk-IS5WMKN2.js";
19
+ } from "./chunk-NNOQGK5M.js";
20
20
  import {
21
21
  needsShell
22
22
  } from "./chunk-3PSNUHC5.js";
@@ -28,10 +28,10 @@ import {
28
28
  openClawDirectoriesToLookIn,
29
29
  openClawPluginFolder,
30
30
  openClawSetupReceiptDirectory
31
- } from "./chunk-AURPPDRZ.js";
31
+ } from "./chunk-A32JBM4J.js";
32
32
  import {
33
33
  resolvePathBinary
34
- } from "./chunk-SLD22IUB.js";
34
+ } from "./chunk-ZQUV2VTD.js";
35
35
  import {
36
36
  readJsonSafe,
37
37
  writeJsonAtomic
@@ -42,7 +42,7 @@ import {
42
42
  } from "./chunk-CXQWDQCJ.js";
43
43
  import {
44
44
  isRecord
45
- } from "./chunk-VZVKJP3Q.js";
45
+ } from "./chunk-V7KJTDSQ.js";
46
46
 
47
47
  // src/hermes/plugin-payload.ts
48
48
  import { createHash } from "crypto";