pushary 1.9.230 → 1.9.231

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 (143) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/dist/{api-VFQNIMMQ.js → api-2UFTCL6P.js} +11 -11
  3. package/dist/bin/pushary-audit.js +3 -3
  4. package/dist/bin/pushary-bell-hook.js +30 -30
  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 +35 -35
  8. package/dist/bin/pushary-clean.js +46 -46
  9. package/dist/bin/pushary-codex-bridge.js +24 -24
  10. package/dist/bin/pushary-codex-hook.js +36 -36
  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 +70 -70
  16. package/dist/bin/pushary-disconnect.js +32 -32
  17. package/dist/bin/pushary-display-hook.js +3 -1
  18. package/dist/bin/pushary-doctor.js +77 -77
  19. package/dist/bin/pushary-elicitation-hook.js +27 -27
  20. package/dist/bin/pushary-gemini-bridge.js +19 -19
  21. package/dist/bin/pushary-gemini-hook.js +33 -33
  22. package/dist/bin/pushary-hook.js +37 -37
  23. package/dist/bin/pushary-login.js +23 -23
  24. package/dist/bin/pushary-logout.js +30 -30
  25. package/dist/bin/pushary-mcp.js +14 -14
  26. package/dist/bin/pushary-mode.js +16 -16
  27. package/dist/bin/pushary-notification-hook.js +27 -27
  28. package/dist/bin/pushary-opencode-bridge.js +26 -26
  29. package/dist/bin/pushary-opencode-hook.js +44 -44
  30. package/dist/bin/pushary-permission-denied-hook.js +36 -36
  31. package/dist/bin/pushary-permission-hook.js +37 -37
  32. package/dist/bin/pushary-post-hook.js +28 -28
  33. package/dist/bin/pushary-prompt-hook.js +27 -27
  34. package/dist/bin/pushary-session-end-hook.js +30 -30
  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 +92 -92
  38. package/dist/bin/pushary-stats.js +7 -7
  39. package/dist/bin/pushary-status.js +37 -37
  40. package/dist/bin/pushary-stop-hook.js +27 -27
  41. package/dist/bin/pushary-stopfailure-hook.js +27 -27
  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 +27 -27
  45. package/dist/bin/pushary-upgrade.js +64 -64
  46. package/dist/bin/pushary-wait.js +16 -16
  47. package/dist/bin/pushary.js +7 -7
  48. package/dist/{chunk-5QKFTPXC.js → chunk-245CIXWT.js} +1 -1
  49. package/dist/{chunk-TYOPOA3Q.js → chunk-2A7GUQS7.js} +6 -6
  50. package/dist/{chunk-VLPIMIYD.js → chunk-2C32F25J.js} +3 -3
  51. package/dist/{chunk-7LP4B5KW.js → chunk-3G4EAIJN.js} +2 -0
  52. package/dist/{chunk-VKYZ4YUV.js → chunk-3HZ2QTCI.js} +14 -14
  53. package/dist/{chunk-BHOENP7P.js → chunk-3WHGI7GM.js} +5 -5
  54. package/dist/{chunk-CA6V2O4P.js → chunk-47OCEL5C.js} +1 -1
  55. package/dist/{chunk-45YY6DBO.js → chunk-4WEDINFL.js} +4 -4
  56. package/dist/{chunk-KMGLYAGI.js → chunk-54VO6N4L.js} +5 -5
  57. package/dist/{chunk-B7NX5VK4.js → chunk-5JWYKKWH.js} +2 -2
  58. package/dist/{chunk-E5T75JWL.js → chunk-5UCQBBW3.js} +1 -1
  59. package/dist/{chunk-33HUKRXZ.js → chunk-63TBM5P6.js} +2 -2
  60. package/dist/{chunk-WKSI54F2.js → chunk-63YSBJU4.js} +3 -3
  61. package/dist/{chunk-3MRMHSJM.js → chunk-67FGXG4K.js} +4 -4
  62. package/dist/{chunk-E3YL3XXV.js → chunk-6CW2SRVG.js} +1 -1
  63. package/dist/{chunk-LSBIDOLC.js → chunk-6H4WS6V7.js} +5 -5
  64. package/dist/{chunk-NTXYJQMD.js → chunk-6HRHS6D5.js} +5 -3
  65. package/dist/{chunk-UP6UNLLL.js → chunk-6QB5NCSL.js} +1 -1
  66. package/dist/{chunk-YQMZ4VE7.js → chunk-6UOZSRJ5.js} +2 -2
  67. package/dist/{chunk-E4HPZ6G5.js → chunk-7Z6AELYO.js} +4 -4
  68. package/dist/{chunk-ZPHONVJD.js → chunk-AH7LBQFN.js} +8 -8
  69. package/dist/{chunk-YEBUFSBO.js → chunk-CO2NX3IQ.js} +2 -2
  70. package/dist/{chunk-MMDZKAM2.js → chunk-CZ5LJ5NL.js} +2 -2
  71. package/dist/{chunk-5W5R5XEI.js → chunk-D5VPAPIZ.js} +7 -7
  72. package/dist/{chunk-77UIFRGZ.js → chunk-DWFD4VZ4.js} +2 -2
  73. package/dist/{chunk-5GEKKXQK.js → chunk-EC4KHBXK.js} +1 -1
  74. package/dist/{chunk-TJYUSDL5.js → chunk-EO3BUYCB.js} +4 -4
  75. package/dist/{chunk-P4P6M45X.js → chunk-F6GGIJV6.js} +2 -2
  76. package/dist/{chunk-HKOJCK27.js → chunk-FCQDZMVQ.js} +5 -5
  77. package/dist/{chunk-SLY7LXA7.js → chunk-FY3KTLDH.js} +25 -20
  78. package/dist/{chunk-YRV2GA2V.js → chunk-GF7YF2SX.js} +4 -4
  79. package/dist/{chunk-OUTUSZGR.js → chunk-GJLTSGUX.js} +4 -4
  80. package/dist/{chunk-QTJWBUA4.js → chunk-H7H3ILT4.js} +12 -12
  81. package/dist/{chunk-5IFPQWQS.js → chunk-HZ5IKJGX.js} +5 -5
  82. package/dist/{chunk-X7YGD2Y6.js → chunk-I2GMUJYL.js} +3 -3
  83. package/dist/{chunk-NNBCKQC6.js → chunk-IYNGFZZE.js} +2 -2
  84. package/dist/{chunk-WD7Q3TT5.js → chunk-JCPCIMUP.js} +2 -2
  85. package/dist/{chunk-WTOOX47X.js → chunk-JHTPI4C7.js} +10 -10
  86. package/dist/{chunk-MVIQ4BNA.js → chunk-JKQ6GWER.js} +2 -2
  87. package/dist/{chunk-XDYSADIA.js → chunk-JOM4VKY5.js} +4 -4
  88. package/dist/{chunk-URDLHUQI.js → chunk-LB6YKK77.js} +8 -8
  89. package/dist/{chunk-2ZLMVIB5.js → chunk-LF6LPDXK.js} +1 -1
  90. package/dist/{chunk-3CM4LQEB.js → chunk-LTKMKNDZ.js} +1 -1
  91. package/dist/{chunk-XFFPBUYX.js → chunk-LU5ZPLCZ.js} +6 -6
  92. package/dist/{chunk-NTMFDJKD.js → chunk-MOHDLFKO.js} +7 -7
  93. package/dist/{chunk-NNLYSNO2.js → chunk-NO42TVP5.js} +7 -7
  94. package/dist/{chunk-CW6LDFLM.js → chunk-O5NCCAVS.js} +10 -10
  95. package/dist/{chunk-ENOOKJOY.js → chunk-OGWL3JOP.js} +10 -10
  96. package/dist/{chunk-Q7L4H2A3.js → chunk-OIZBOQSL.js} +5 -5
  97. package/dist/{chunk-J3GMEUVP.js → chunk-PGT6ULAQ.js} +1 -1
  98. package/dist/{chunk-YY2EAK3H.js → chunk-PNYSKM76.js} +1 -1
  99. package/dist/{chunk-SYBYJBIC.js → chunk-PQXRQY5A.js} +13 -13
  100. package/dist/{chunk-AHFVMYLC.js → chunk-PSODQKO5.js} +3 -3
  101. package/dist/{chunk-BVLYIGHM.js → chunk-QEWNCL7T.js} +1 -1
  102. package/dist/{chunk-7W6GRR6B.js → chunk-QFKKKYLM.js} +1 -1
  103. package/dist/{chunk-5PPXE3SI.js → chunk-QSIDVKFU.js} +1 -1
  104. package/dist/{chunk-FR5PATBB.js → chunk-QXH2NKLR.js} +2 -2
  105. package/dist/{chunk-EL4TJTOU.js → chunk-R4IXIES3.js} +2 -2
  106. package/dist/{chunk-ZVTROPFZ.js → chunk-RSX65KJ6.js} +4 -4
  107. package/dist/{chunk-I3MD3R2D.js → chunk-S2EWZXZX.js} +3 -3
  108. package/dist/{chunk-TTJA2HH2.js → chunk-SB5PIQAS.js} +6 -6
  109. package/dist/{chunk-UCWQPCIX.js → chunk-SLFXYW4B.js} +25 -17
  110. package/dist/{chunk-AT65NHK5.js → chunk-U4KJ4HAQ.js} +1 -1
  111. package/dist/{chunk-XUT7PHS4.js → chunk-UBWQFHJL.js} +2 -2
  112. package/dist/{chunk-TCYIDR7T.js → chunk-VBVSKK3Q.js} +3 -3
  113. package/dist/{chunk-DKH755WW.js → chunk-VHBRDG4D.js} +1 -1
  114. package/dist/{chunk-JTLRN6MU.js → chunk-VHQD3T7C.js} +4 -4
  115. package/dist/{chunk-363PPP66.js → chunk-VNEMQ3HN.js} +1 -1
  116. package/dist/{chunk-JIQIHE3T.js → chunk-W2UNJC4T.js} +3 -3
  117. package/dist/{chunk-PL2EJ55K.js → chunk-WJ65VWBA.js} +3 -3
  118. package/dist/{chunk-MJIMTNKY.js → chunk-WNQSPLAA.js} +2 -2
  119. package/dist/{chunk-W2J5RMI4.js → chunk-XDO2OTVP.js} +4 -4
  120. package/dist/{chunk-COODHOGD.js → chunk-XGJTO7YL.js} +5 -5
  121. package/dist/{chunk-RPPSP7JL.js → chunk-XHCG3RRW.js} +5 -5
  122. package/dist/{chunk-NPCYWBY5.js → chunk-XHHYNYXF.js} +1 -1
  123. package/dist/{chunk-B2TX7FE7.js → chunk-Y2XF6SNN.js} +1 -1
  124. package/dist/{chunk-XFWZ3WAD.js → chunk-YGAS3ZWI.js} +3 -3
  125. package/dist/{chunk-M7QDLSPI.js → chunk-YQ36OSAY.js} +1 -1
  126. package/dist/{chunk-BQAAS4P4.js → chunk-ZD47H3RP.js} +3 -3
  127. package/dist/{chunk-ASAT72UO.js → chunk-ZULGLIP6.js} +1 -1
  128. package/dist/{codex-app-cards-switch-T7BFX3RY.js → codex-app-cards-switch-NOJL57SS.js} +11 -11
  129. package/dist/{codex-card-routing-IU2IEJIJ.js → codex-card-routing-CWXAIMEW.js} +2 -2
  130. package/dist/{codex-desktop-launch-HHMQ66PO.js → codex-desktop-launch-RSE4YIYP.js} +1 -1
  131. package/dist/{codex-session-launch-6552APX5.js → codex-session-launch-DQNTGRK2.js} +21 -21
  132. package/dist/{config-SXJJPTEN.js → config-4R6GAALL.js} +3 -3
  133. package/dist/{global-upgrade-YTCJ6ASA.js → global-upgrade-MKKYZN3R.js} +9 -9
  134. package/dist/{identity-7SBDT3ZC.js → identity-FIPASCZP.js} +4 -4
  135. package/dist/{live-capabilities-7CVCKDTW.js → live-capabilities-N55D4PBN.js} +4 -4
  136. package/dist/{paths-EHAWEAVV.js → paths-BQZAA7LU.js} +3 -3
  137. package/dist/reapply-GD7WCWPS.js +74 -0
  138. package/dist/src/index.d.ts +9 -10
  139. package/dist/src/index.js +33 -33
  140. package/dist/{upgrade-lock-GKQRE565.js → upgrade-lock-U3TDYSFM.js} +4 -4
  141. package/dist/{usage-5NEPL3OS.js → usage-5SUYZN77.js} +3 -3
  142. package/package.json +1 -1
  143. package/dist/reapply-VF3F42SI.js +0 -74
@@ -4718,9 +4718,11 @@ var withoutDeclinedAgent = (agents, agent) => agents.filter((candidate) => candi
4718
4718
  var FIRST_AUTO_UPDATING_RELEASE = [1, 5, 0];
4719
4719
  var MIN_SAFE_RELEASE = [1, 9, 26];
4720
4720
  var FIRST_RELEASE_DENYING_AUTO_APPROVED_MISSES = [1, 9, 223];
4721
+ var FIRST_RELEASE_GROK_ALWAYS_APPROVE_FOLLOWS_BYPASS_STOPS = [1, 9, 228];
4721
4722
  var FIRST_AUTO_UPDATING_CLI_VERSION = formatReleaseVersion(FIRST_AUTO_UPDATING_RELEASE);
4722
4723
  var MIN_SAFE_CLI_VERSION = formatReleaseVersion(MIN_SAFE_RELEASE);
4723
4724
  var FIRST_CLI_VERSION_DENYING_AUTO_APPROVED_MISSES = formatReleaseVersion(FIRST_RELEASE_DENYING_AUTO_APPROVED_MISSES);
4725
+ var FIRST_CLI_VERSION_GROK_ALWAYS_APPROVE_FOLLOWS_BYPASS_STOPS = formatReleaseVersion(FIRST_RELEASE_GROK_ALWAYS_APPROVE_FOLLOWS_BYPASS_STOPS);
4724
4726
 
4725
4727
  // ../contracts/src/auto-update-report.ts
4726
4728
  var AUTO_UPDATE_RESULTS = ["updated", "current", "needs_manual", "failed", "finish_pending", "finish_blocked"];
@@ -5,7 +5,7 @@ import {
5
5
  ensureCodexTrustsPusharyHooks,
6
6
  hermesHistoryNeedsTheCliHelper,
7
7
  recordInstalledHermesHistoryHelper
8
- } from "./chunk-I3MD3R2D.js";
8
+ } from "./chunk-S2EWZXZX.js";
9
9
  import {
10
10
  hermesReceiptPaths,
11
11
  hermesSetupPredatesThePluginFolder,
@@ -14,7 +14,7 @@ import {
14
14
  refreshHermesPluginFiles,
15
15
  refreshOpenClawPlugin,
16
16
  shippedHermesPlugin
17
- } from "./chunk-45YY6DBO.js";
17
+ } from "./chunk-4WEDINFL.js";
18
18
  import {
19
19
  fxIgnoresInstructionsFile,
20
20
  fxInstructionsBody,
@@ -23,7 +23,7 @@ import {
23
23
  macAppFxBridge,
24
24
  refreshClineKey,
25
25
  switchFxHttpEntryToBridge
26
- } from "./chunk-KMGLYAGI.js";
26
+ } from "./chunk-54VO6N4L.js";
27
27
  import {
28
28
  OPENCODE_HOOK_BINARY,
29
29
  agentHookOwner,
@@ -36,13 +36,16 @@ import {
36
36
  openCodePluginDir,
37
37
  openCodeWired,
38
38
  withOpenCodeAskRules
39
- } from "./chunk-NNLYSNO2.js";
39
+ } from "./chunk-NO42TVP5.js";
40
+ import {
41
+ detectClaudeVersion
42
+ } from "./chunk-5JWYKKWH.js";
40
43
  import {
41
44
  addCompatibleHooks,
42
45
  compatibleConfigFile,
43
46
  compatibleInstructionsFile,
44
47
  hasCompatibleHooks
45
- } from "./chunk-BHOENP7P.js";
48
+ } from "./chunk-3WHGI7GM.js";
46
49
  import {
47
50
  GEMINI_HOOK_BINARY,
48
51
  addGeminiHooks,
@@ -54,16 +57,13 @@ import {
54
57
  geminiWired,
55
58
  hasGeminiHooks,
56
59
  planHooks
57
- } from "./chunk-OUTUSZGR.js";
58
- import {
59
- detectClaudeVersion
60
- } from "./chunk-B7NX5VK4.js";
60
+ } from "./chunk-GJLTSGUX.js";
61
61
  import {
62
62
  transcriptsEnabled
63
- } from "./chunk-UP6UNLLL.js";
63
+ } from "./chunk-6QB5NCSL.js";
64
64
  import {
65
65
  KEY_FILE_MODE
66
- } from "./chunk-XFWZ3WAD.js";
66
+ } from "./chunk-YGAS3ZWI.js";
67
67
  import {
68
68
  CLAUDE_CODE_PUSHARY_PERMISSION_RULES,
69
69
  CLAUDE_HOOK_BINARY,
@@ -110,13 +110,13 @@ import {
110
110
  renderAgentInstructions,
111
111
  supportedClaudeEvents,
112
112
  vscodePluginMcp
113
- } from "./chunk-33HUKRXZ.js";
113
+ } from "./chunk-63TBM5P6.js";
114
114
  import {
115
115
  formatVersion,
116
116
  hookCommandsUseBareNames,
117
117
  resolveGlobalBinDir,
118
118
  resolveGlobalBinary
119
- } from "./chunk-E4HPZ6G5.js";
119
+ } from "./chunk-7Z6AELYO.js";
120
120
  import {
121
121
  readJsonSafe,
122
122
  writeFileAtomic,
@@ -126,7 +126,7 @@ import {
126
126
  HOOK_COMPATIBLE_PROFILES,
127
127
  isCompatibleAgentType,
128
128
  isRecord
129
- } from "./chunk-7LP4B5KW.js";
129
+ } from "./chunk-3G4EAIJN.js";
130
130
 
131
131
  // src/reapply.ts
132
132
  import { dirname, join } from "path";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  addGeminiMcpServer,
3
3
  removeGeminiMcpServer
4
- } from "./chunk-OUTUSZGR.js";
4
+ } from "./chunk-GJLTSGUX.js";
5
5
  import {
6
6
  CLAUDE_CODE_AGENT
7
- } from "./chunk-QTJWBUA4.js";
7
+ } from "./chunk-H7H3ILT4.js";
8
8
  import {
9
9
  compatibleToolLookup
10
- } from "./chunk-UCWQPCIX.js";
10
+ } from "./chunk-SLFXYW4B.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-33HUKRXZ.js";
22
+ } from "./chunk-63TBM5P6.js";
23
23
  import {
24
24
  AGENT_ENFORCEMENT,
25
25
  HOOK_COMPATIBLE_PROFILES,
@@ -32,7 +32,7 @@ import {
32
32
  pusharyMissingReason,
33
33
  refusalOutput,
34
34
  withHookHoldBudget
35
- } from "./chunk-7LP4B5KW.js";
35
+ } from "./chunk-3G4EAIJN.js";
36
36
 
37
37
  // src/config-document.ts
38
38
  import { parse, stringify } from "smol-toml";
@@ -2,7 +2,7 @@ import {
2
2
  isApprovalMode,
3
3
  isRecord,
4
4
  isTimeoutAction
5
- } from "./chunk-7LP4B5KW.js";
5
+ } from "./chunk-3G4EAIJN.js";
6
6
 
7
7
  // src/cli/settings-response.ts
8
8
  var isFiniteNumber = (value) => typeof value === "number" && Number.isFinite(value);
@@ -13,7 +13,7 @@ import {
13
13
  uninstallOpenClawPlugin,
14
14
  unsetOpenClawEntry,
15
15
  writeOpenClawEntry
16
- } from "./chunk-VLPIMIYD.js";
16
+ } from "./chunk-2C32F25J.js";
17
17
  import {
18
18
  needsShell
19
19
  } from "./chunk-3PSNUHC5.js";
@@ -25,10 +25,10 @@ import {
25
25
  openClawDirectoriesToLookIn,
26
26
  openClawPluginFolder,
27
27
  openClawSetupReceiptDirectory
28
- } from "./chunk-33HUKRXZ.js";
28
+ } from "./chunk-63TBM5P6.js";
29
29
  import {
30
30
  resolvePathBinary
31
- } from "./chunk-E4HPZ6G5.js";
31
+ } from "./chunk-7Z6AELYO.js";
32
32
  import {
33
33
  readJsonSafe,
34
34
  writeJsonAtomic
@@ -39,7 +39,7 @@ import {
39
39
  } from "./chunk-CXQWDQCJ.js";
40
40
  import {
41
41
  isRecord
42
- } from "./chunk-7LP4B5KW.js";
42
+ } from "./chunk-3G4EAIJN.js";
43
43
 
44
44
  // src/hermes/plugin-payload.ts
45
45
  import { createHash } from "crypto";
@@ -4,13 +4,13 @@ import {
4
4
  configFailureKind,
5
5
  retryAgentCommand,
6
6
  writeSetupConfigFile
7
- } from "./chunk-BQAAS4P4.js";
7
+ } from "./chunk-ZD47H3RP.js";
8
8
  import {
9
9
  MCP_BRIDGE_BINARY
10
- } from "./chunk-TJYUSDL5.js";
10
+ } from "./chunk-EO3BUYCB.js";
11
11
  import {
12
12
  KEY_FILE_MODE
13
- } from "./chunk-XFWZ3WAD.js";
13
+ } from "./chunk-YGAS3ZWI.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-33HUKRXZ.js";
35
+ } from "./chunk-63TBM5P6.js";
36
36
  import {
37
37
  resolveGlobalBinary
38
- } from "./chunk-E4HPZ6G5.js";
38
+ } from "./chunk-7Z6AELYO.js";
39
39
  import {
40
40
  readJsonSafe,
41
41
  writeFileAtomic,
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-TCE3J44Z.js";
4
4
  import {
5
5
  parseVersion
6
- } from "./chunk-E4HPZ6G5.js";
6
+ } from "./chunk-7Z6AELYO.js";
7
7
  import {
8
8
  isRecord
9
- } from "./chunk-7LP4B5KW.js";
9
+ } from "./chunk-3G4EAIJN.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-7LP4B5KW.js";
5
+ } from "./chunk-3G4EAIJN.js";
6
6
 
7
7
  // src/repo.ts
8
8
  import { existsSync, readFileSync, statSync } from "fs";
@@ -3,7 +3,7 @@ import {
3
3
  formatVersion,
4
4
  quoteIfNeeded,
5
5
  shellDoubleQuoted
6
- } from "./chunk-E4HPZ6G5.js";
6
+ } from "./chunk-7Z6AELYO.js";
7
7
  import {
8
8
  writeFileAtomic
9
9
  } from "./chunk-PM2NRK6Y.js";
@@ -22,7 +22,7 @@ import {
22
22
  PUSHARY_HOSTS,
23
23
  PUSHARY_TOOL_PREFIX,
24
24
  withHookHoldBudget
25
- } from "./chunk-7LP4B5KW.js";
25
+ } from "./chunk-3G4EAIJN.js";
26
26
 
27
27
  // src/setup/paths.ts
28
28
  import { createHash as createHash2 } from "crypto";
@@ -4,10 +4,10 @@ import {
4
4
  } from "./chunk-P6DUWKAO.js";
5
5
  import {
6
6
  fetchAsCredential
7
- } from "./chunk-2ZLMVIB5.js";
7
+ } from "./chunk-LF6LPDXK.js";
8
8
  import {
9
9
  getBaseUrl
10
- } from "./chunk-77UIFRGZ.js";
10
+ } from "./chunk-DWFD4VZ4.js";
11
11
  import {
12
12
  writeJsonAtomicDurable
13
13
  } from "./chunk-PM2NRK6Y.js";
@@ -15,7 +15,7 @@ import {
15
15
  compressTranscriptRecord,
16
16
  redactSecretsFromContent,
17
17
  transcriptRecordPlaintext
18
- } from "./chunk-7LP4B5KW.js";
18
+ } from "./chunk-3G4EAIJN.js";
19
19
 
20
20
  // src/transcript-recipient-pin.ts
21
21
  import { createHash } from "crypto";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  macAppBridgeAvailable
3
- } from "./chunk-NNLYSNO2.js";
3
+ } from "./chunk-NO42TVP5.js";
4
4
  import {
5
5
  keyPrefix
6
- } from "./chunk-XFWZ3WAD.js";
6
+ } from "./chunk-YGAS3ZWI.js";
7
7
  import {
8
8
  bridgeAgentKey
9
- } from "./chunk-33HUKRXZ.js";
9
+ } from "./chunk-63TBM5P6.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-7LP4B5KW.js";
16
+ } from "./chunk-3G4EAIJN.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;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  HOOK_BUDGETS
3
- } from "./chunk-7LP4B5KW.js";
3
+ } from "./chunk-3G4EAIJN.js";
4
4
 
5
5
  // src/opencode-protocol.ts
6
6
  var OPENCODE_PLUGIN_MARKER = "pushary-opencode-plugin w1";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  cursorGateOwnsClaudeCall,
3
3
  readCursorGateRegistration
4
- } from "./chunk-XDYSADIA.js";
4
+ } from "./chunk-JOM4VKY5.js";
5
5
  import {
6
6
  registerTranscript
7
- } from "./chunk-WTOOX47X.js";
7
+ } from "./chunk-JHTPI4C7.js";
8
8
  import {
9
9
  namedEvent
10
- } from "./chunk-BHOENP7P.js";
10
+ } from "./chunk-3WHGI7GM.js";
11
11
  import {
12
12
  writeDegraded
13
- } from "./chunk-CW6LDFLM.js";
13
+ } from "./chunk-O5NCCAVS.js";
14
14
  import {
15
15
  claudeShapedHookInput,
16
16
  hookCompatibleProfileBySource,
17
17
  isGrokHookPayload,
18
18
  isGrokSessionEndStop
19
- } from "./chunk-7LP4B5KW.js";
19
+ } from "./chunk-3G4EAIJN.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,12 +1,14 @@
1
1
  import {
2
2
  canonicalGateInputs,
3
3
  patchDeletesFiles
4
- } from "./chunk-UCWQPCIX.js";
4
+ } from "./chunk-SLFXYW4B.js";
5
5
 
6
6
  // src/gate-call-reading.ts
7
7
  var gateCallReadingOf = (profile, raw) => {
8
- const canonical = canonicalGateInputs(profile.source, raw.tool_name, [raw.tool_input ?? {}], raw.cwd);
9
- return canonical && { ...canonical, deletesFiles: patchDeletesFiles(raw.tool_name, raw.tool_input ?? {}) };
8
+ if (typeof raw.tool_name !== "string" || raw.tool_name.length === 0) return null;
9
+ const toolInput = raw.tool_input ?? {};
10
+ const canonical = canonicalGateInputs(profile.source, raw.tool_name, [toolInput], raw.cwd);
11
+ return canonical && { ...canonical, deletesFiles: patchDeletesFiles(raw.tool_name, toolInput) };
10
12
  };
11
13
 
12
14
  export {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readTranscriptPreference
3
- } from "./chunk-XFWZ3WAD.js";
3
+ } from "./chunk-YGAS3ZWI.js";
4
4
 
5
5
  // src/transcript-setting.ts
6
6
  var transcriptEnvironmentPreference = () => {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  callDecisionStore,
3
3
  identifyingToolInput
4
- } from "./chunk-QTJWBUA4.js";
4
+ } from "./chunk-H7H3ILT4.js";
5
5
  import {
6
6
  canonicalJson
7
- } from "./chunk-33HUKRXZ.js";
7
+ } from "./chunk-63TBM5P6.js";
8
8
 
9
9
  // src/phone-approval.ts
10
10
  import { createHash } from "crypto";
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-CXQWDQCJ.js";
20
20
  import {
21
21
  redactSecretsFromContent
22
- } from "./chunk-7LP4B5KW.js";
22
+ } from "./chunk-3G4EAIJN.js";
23
23
 
24
24
  // src/shell-quote.ts
25
25
  var shellDoubleQuoted = (text) => `"${text.replace(/(["\\$`])/g, "\\$1")}"`;
@@ -600,9 +600,9 @@ var installGlobally = (options) => {
600
600
  }
601
601
  const started = (async () => {
602
602
  if (!npmIsOnPath()) throw new NpmMissingError();
603
- const { withUpgradeLock } = await import("./global-upgrade-YTCJ6ASA.js");
604
- const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-GKQRE565.js");
605
- const { autoUpdateLock } = await import("./paths-EHAWEAVV.js");
603
+ const { withUpgradeLock } = await import("./global-upgrade-MKKYZN3R.js");
604
+ const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-U3TDYSFM.js");
605
+ const { autoUpdateLock } = await import("./paths-BQZAA7LU.js");
606
606
  let result = "skipped";
607
607
  const install = async () => {
608
608
  const planned = readPlannedSetupInstall(process.platform);
@@ -6,17 +6,17 @@ import {
6
6
  postLiveSession,
7
7
  postLiveSessionUntilAccepted,
8
8
  startLiveSessionHeartbeat
9
- } from "./chunk-J3GMEUVP.js";
9
+ } from "./chunk-PGT6ULAQ.js";
10
10
  import {
11
11
  CommandReceipts,
12
12
  controllerCommandSchema
13
- } from "./chunk-DKH755WW.js";
13
+ } from "./chunk-VHBRDG4D.js";
14
14
  import {
15
15
  SESSION_IDLE_TIMEOUT_MS,
16
16
  describeIdleWindow,
17
17
  idleDeadlinePassed,
18
18
  startProcessOwnership
19
- } from "./chunk-P4P6M45X.js";
19
+ } from "./chunk-F6GGIJV6.js";
20
20
  import {
21
21
  spawnClaude
22
22
  } from "./chunk-3PSNUHC5.js";
@@ -25,18 +25,18 @@ import {
25
25
  isWaitForAnswerResponse,
26
26
  withdrawQuestion,
27
27
  writeDegraded
28
- } from "./chunk-CW6LDFLM.js";
28
+ } from "./chunk-O5NCCAVS.js";
29
29
  import {
30
30
  readCommandAck
31
- } from "./chunk-B2TX7FE7.js";
31
+ } from "./chunk-Y2XF6SNN.js";
32
32
  import {
33
33
  callMcpTool,
34
34
  isRetryable
35
- } from "./chunk-5IFPQWQS.js";
35
+ } from "./chunk-HZ5IKJGX.js";
36
36
  import {
37
37
  projectNameFor,
38
38
  repositoryScopeFor
39
- } from "./chunk-E5T75JWL.js";
39
+ } from "./chunk-5UCQBBW3.js";
40
40
  import {
41
41
  AGENT_QUESTION_DESCRIPTION_MAX,
42
42
  AGENT_QUESTION_HEADER_MAX,
@@ -58,7 +58,7 @@ import {
58
58
  parseCodexQuestions,
59
59
  planElicitationAsk,
60
60
  readElicitationFields
61
- } from "./chunk-7LP4B5KW.js";
61
+ } from "./chunk-3G4EAIJN.js";
62
62
 
63
63
  // src/codex-question-owner.ts
64
64
  import { createHash } from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  configFilePath
3
- } from "./chunk-77UIFRGZ.js";
3
+ } from "./chunk-DWFD4VZ4.js";
4
4
  import {
5
5
  normalizeInstallSource
6
- } from "./chunk-7LP4B5KW.js";
6
+ } from "./chunk-3G4EAIJN.js";
7
7
 
8
8
  // src/install-source.ts
9
9
  import { readFileSync } from "fs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  projectNameFor
3
- } from "./chunk-E5T75JWL.js";
3
+ } from "./chunk-5UCQBBW3.js";
4
4
  import {
5
5
  readConfigFileKey
6
- } from "./chunk-XFWZ3WAD.js";
6
+ } from "./chunk-YGAS3ZWI.js";
7
7
 
8
8
  // src/bell/fleet.ts
9
9
  import { closeSync, constants, futimesSync, lstatSync, mkdirSync, openSync, readdirSync, unlinkSync } from "fs";
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  openClawLauncherCandidates
3
- } from "./chunk-VLPIMIYD.js";
3
+ } from "./chunk-2C32F25J.js";
4
4
  import {
5
5
  openCodeConfigDirFrom
6
- } from "./chunk-NNLYSNO2.js";
7
- import {
8
- grokHome
9
- } from "./chunk-BHOENP7P.js";
6
+ } from "./chunk-NO42TVP5.js";
10
7
  import {
11
8
  nativeClaudeInstallPath
12
9
  } from "./chunk-TCE3J44Z.js";
10
+ import {
11
+ grokHome
12
+ } from "./chunk-3WHGI7GM.js";
13
13
  import {
14
14
  claudeConfigDir,
15
15
  clineDataDirectory,
16
16
  codexHomeFrom,
17
17
  openClawEnvironmentOf,
18
18
  openClawPathsFrom
19
- } from "./chunk-33HUKRXZ.js";
19
+ } from "./chunk-63TBM5P6.js";
20
20
  import {
21
21
  HOOK_COMPATIBLE_PROFILES
22
- } from "./chunk-7LP4B5KW.js";
22
+ } from "./chunk-3G4EAIJN.js";
23
23
 
24
24
  // src/vscode-config.ts
25
25
  import { homedir } from "os";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  NPX_LATEST_COMMAND
3
- } from "./chunk-5QKFTPXC.js";
3
+ } from "./chunk-245CIXWT.js";
4
4
  import {
5
5
  isValidApiKey
6
- } from "./chunk-7LP4B5KW.js";
6
+ } from "./chunk-3G4EAIJN.js";
7
7
 
8
8
  // src/config.ts
9
9
  import { readFileSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  guardBinary
3
- } from "./chunk-33HUKRXZ.js";
3
+ } from "./chunk-63TBM5P6.js";
4
4
 
5
5
  // src/bell/install.ts
6
6
  import { join } from "path";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  parseSseMessages
3
- } from "./chunk-5IFPQWQS.js";
3
+ } from "./chunk-HZ5IKJGX.js";
4
4
  import {
5
5
  fetchAsCredential
6
- } from "./chunk-2ZLMVIB5.js";
6
+ } from "./chunk-LF6LPDXK.js";
7
7
  import {
8
8
  malformedApiKeyMessage
9
- } from "./chunk-77UIFRGZ.js";
9
+ } from "./chunk-DWFD4VZ4.js";
10
10
  import {
11
11
  NPX_LATEST_COMMAND
12
- } from "./chunk-5QKFTPXC.js";
12
+ } from "./chunk-245CIXWT.js";
13
13
 
14
14
  // src/mcp-stdio-bridge.ts
15
15
  var MCP_BRIDGE_BINARY = "pushary-mcp";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-33HUKRXZ.js";
3
+ } from "./chunk-63TBM5P6.js";
4
4
  import {
5
5
  readJsonSafe
6
6
  } from "./chunk-PM2NRK6Y.js";
7
7
  import {
8
8
  isRecord
9
- } from "./chunk-7LP4B5KW.js";
9
+ } from "./chunk-3G4EAIJN.js";
10
10
 
11
11
  // src/process-ownership.ts
12
12
  import { createHash, randomUUID } from "crypto";
@@ -18,18 +18,18 @@ import {
18
18
  settingSnapshot,
19
19
  writeHermesSetting,
20
20
  writeSetupReceipt
21
- } from "./chunk-45YY6DBO.js";
21
+ } from "./chunk-4WEDINFL.js";
22
22
  import {
23
23
  OPENCLAW_MIN_VERSION,
24
24
  OPENCLAW_PLUGIN_ID,
25
25
  OPENCLAW_PLUGIN_PACKAGE
26
- } from "./chunk-VLPIMIYD.js";
26
+ } from "./chunk-2C32F25J.js";
27
27
  import {
28
28
  retryAgentCommand
29
- } from "./chunk-BQAAS4P4.js";
29
+ } from "./chunk-ZD47H3RP.js";
30
30
  import {
31
31
  configFilePath
32
- } from "./chunk-77UIFRGZ.js";
32
+ } from "./chunk-DWFD4VZ4.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-7LP4B5KW.js";
40
+ } from "./chunk-3G4EAIJN.js";
41
41
 
42
42
  // src/hermes/shell-gate.ts
43
43
  var readHermesShellGate = async (launcher) => {