pushary 1.9.213 → 1.9.214

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 (141) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{api-XXA3DBK5.js → api-4PUPB24W.js} +11 -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 +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 +39 -39
  9. package/dist/bin/pushary-codex-bridge.js +23 -23
  10. package/dist/bin/pushary-codex-hook.js +34 -34
  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 +35 -35
  14. package/dist/bin/pushary-cowork.js +5 -5
  15. package/dist/bin/pushary-daemon.js +46 -46
  16. package/dist/bin/pushary-disconnect.js +30 -30
  17. package/dist/bin/pushary-display-hook.js +84 -2
  18. package/dist/bin/pushary-doctor.js +47 -47
  19. package/dist/bin/pushary-elicitation-hook.js +27 -27
  20. package/dist/bin/pushary-gemini-bridge.js +18 -18
  21. package/dist/bin/pushary-gemini-hook.js +31 -31
  22. package/dist/bin/pushary-hook.js +34 -34
  23. package/dist/bin/pushary-login.js +22 -22
  24. package/dist/bin/pushary-logout.js +30 -30
  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 +27 -27
  28. package/dist/bin/pushary-opencode-bridge.js +22 -22
  29. package/dist/bin/pushary-opencode-hook.js +32 -32
  30. package/dist/bin/pushary-permission-denied-hook.js +34 -34
  31. package/dist/bin/pushary-permission-hook.js +34 -34
  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 +27 -27
  35. package/dist/bin/pushary-session-start-hook.js +39 -39
  36. package/dist/bin/pushary-sessions.js +14 -14
  37. package/dist/bin/pushary-setup.js +57 -57
  38. package/dist/bin/pushary-stats.js +5 -5
  39. package/dist/bin/pushary-status.js +36 -36
  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 +25 -25
  45. package/dist/bin/pushary-upgrade.js +46 -46
  46. package/dist/bin/pushary-wait.js +16 -16
  47. package/dist/bin/pushary.js +7 -7
  48. package/dist/{chunk-Z6QGSQEN.js → chunk-27AOD6AJ.js} +4 -4
  49. package/dist/{chunk-KQRWWJLF.js → chunk-2WKMK3MA.js} +1 -1
  50. package/dist/{chunk-WXWWCODY.js → chunk-3NS3MQID.js} +1 -1
  51. package/dist/{chunk-IHG2TFXZ.js → chunk-3RMKNFAK.js} +3 -3
  52. package/dist/{chunk-ID7W4YBQ.js → chunk-3ZJWAE7Y.js} +1 -1
  53. package/dist/{chunk-ARTOOCLW.js → chunk-4IASS2L5.js} +1 -1
  54. package/dist/{chunk-YN4Q3ZXZ.js → chunk-4TTCW5NU.js} +4 -4
  55. package/dist/{chunk-RE5KA47K.js → chunk-67DK2CIW.js} +3 -3
  56. package/dist/{chunk-4DXHNWUY.js → chunk-6CD5QFP6.js} +6 -6
  57. package/dist/{chunk-W7Z4GJZI.js → chunk-6PMNHW55.js} +3 -3
  58. package/dist/{chunk-OV7W5JYC.js → chunk-6UG6HV4Y.js} +9 -9
  59. package/dist/{chunk-6FN7NPOE.js → chunk-7JG5HH7Z.js} +2 -2
  60. package/dist/{chunk-7H6BFJU5.js → chunk-7OBWD2XH.js} +1 -1
  61. package/dist/{chunk-NTNEBBYW.js → chunk-A3PPXX6R.js} +8 -8
  62. package/dist/{chunk-5B5PPHJH.js → chunk-ACYVHNR2.js} +1 -1
  63. package/dist/{chunk-Y3OHWGZV.js → chunk-AWDT7VQI.js} +2 -2
  64. package/dist/{chunk-CXLHBAN4.js → chunk-B7W3VGWO.js} +3 -3
  65. package/dist/{chunk-FYAEQIYF.js → chunk-BOAESLW5.js} +4 -4
  66. package/dist/{chunk-RN2PB5JJ.js → chunk-BQTO3K5X.js} +5 -5
  67. package/dist/{chunk-BKTWGQLC.js → chunk-BW74KYAH.js} +4 -4
  68. package/dist/{chunk-6FLCKWIH.js → chunk-CSY3KGUK.js} +5 -5
  69. package/dist/{chunk-2WCI5BY6.js → chunk-D7IVASAJ.js} +2 -2
  70. package/dist/{chunk-47G72ONB.js → chunk-DA2VDGD4.js} +3 -3
  71. package/dist/{chunk-SK6242SK.js → chunk-DXGH7C47.js} +2 -2
  72. package/dist/{chunk-O372NWUI.js → chunk-E3XVIY5H.js} +5 -5
  73. package/dist/{chunk-PSKPKVM6.js → chunk-FB5CFFNH.js} +1 -1
  74. package/dist/{chunk-W6PL3FPJ.js → chunk-FFJKZYQA.js} +4 -4
  75. package/dist/{chunk-SR3FOAJE.js → chunk-FKREGRCQ.js} +2 -2
  76. package/dist/{chunk-6D54GFZC.js → chunk-FWCMADJS.js} +5 -5
  77. package/dist/{chunk-3USB6JEH.js → chunk-GE6BQL5V.js} +3 -3
  78. package/dist/{chunk-ZYXC6ZEQ.js → chunk-GHMNWVIT.js} +1 -1
  79. package/dist/{chunk-GJ5XTWNZ.js → chunk-GX7NST6J.js} +1 -1
  80. package/dist/{chunk-CJRHVIUJ.js → chunk-HIYWW2EL.js} +1 -1
  81. package/dist/{chunk-FJJRXIZC.js → chunk-HY2DPLMM.js} +7 -7
  82. package/dist/{chunk-JKM7YRYV.js → chunk-IAAARTZD.js} +3 -3
  83. package/dist/{chunk-6N73T3G2.js → chunk-IALNFQJX.js} +2 -2
  84. package/dist/{chunk-2OREQ7MI.js → chunk-JBP6KADX.js} +2 -2
  85. package/dist/{chunk-5ML6PZ4U.js → chunk-JZOKFZ27.js} +12 -12
  86. package/dist/{chunk-UPZHYN4N.js → chunk-KG6AOJOA.js} +4 -4
  87. package/dist/{chunk-SGOP6D4K.js → chunk-KMT24TVI.js} +1 -1
  88. package/dist/{chunk-UQQN6ST3.js → chunk-L5EZLYKM.js} +7 -4
  89. package/dist/{chunk-ODF2RMXP.js → chunk-LBN3RGJS.js} +4 -4
  90. package/dist/{chunk-2BKMZ2CZ.js → chunk-LD7QJLE6.js} +5 -5
  91. package/dist/{chunk-4NJBLOER.js → chunk-LUR57S72.js} +2 -2
  92. package/dist/{chunk-7MPVFAYZ.js → chunk-M6I2EQ7J.js} +1 -1
  93. package/dist/{chunk-VKGJ4XY5.js → chunk-MEONDMJP.js} +1 -1
  94. package/dist/{chunk-2DNM6F7C.js → chunk-MPP7EEJJ.js} +5 -5
  95. package/dist/{chunk-LBPGPPHU.js → chunk-MWMN5LUH.js} +2 -2
  96. package/dist/{chunk-G4UCXWJX.js → chunk-O5CC4CF6.js} +6 -6
  97. package/dist/{chunk-FUZSKAEQ.js → chunk-OF6AUDV5.js} +3 -3
  98. package/dist/{chunk-K5IPDN4D.js → chunk-OIGBUSHM.js} +5 -5
  99. package/dist/{chunk-QLKIY3FD.js → chunk-OXTKCSQH.js} +1 -1
  100. package/dist/{chunk-5XBZABC5.js → chunk-P2HYWAEX.js} +2 -2
  101. package/dist/{chunk-3T7KADQO.js → chunk-P6BE3IE6.js} +12 -12
  102. package/dist/{chunk-K3HFMX5R.js → chunk-PIZ2VDOF.js} +6 -6
  103. package/dist/{chunk-JYDVDSBM.js → chunk-PUNSO7UP.js} +6 -6
  104. package/dist/{chunk-53PLSLF5.js → chunk-Q2F7H5AO.js} +16 -16
  105. package/dist/{chunk-POXHWH73.js → chunk-Q4CX35CK.js} +138 -43
  106. package/dist/{chunk-RZISUO3M.js → chunk-QDW4H4BE.js} +10 -10
  107. package/dist/{chunk-KJA5JZXV.js → chunk-R2ZVMZRM.js} +2 -2
  108. package/dist/{chunk-FCIJEVDH.js → chunk-S33W45N6.js} +1 -1
  109. package/dist/{chunk-CR5X46JQ.js → chunk-SQRYZMBT.js} +1 -1
  110. package/dist/{chunk-TBCV2U6Y.js → chunk-SW3YNO4E.js} +1 -1
  111. package/dist/{chunk-T63XZCBU.js → chunk-T56AUJS3.js} +5 -5
  112. package/dist/{chunk-OLD2IPCZ.js → chunk-TFN65TCT.js} +6 -6
  113. package/dist/{chunk-PKDU2BY4.js → chunk-UCEHVBFY.js} +3 -3
  114. package/dist/{chunk-RDWNFNDW.js → chunk-US2O2BCI.js} +4 -4
  115. package/dist/{chunk-ZRDDV7QK.js → chunk-UXQADKBJ.js} +5 -5
  116. package/dist/{chunk-GKMSHV5D.js → chunk-V7BM5U5N.js} +2 -2
  117. package/dist/{chunk-QEMU3P55.js → chunk-VCZQZJIX.js} +3 -3
  118. package/dist/{chunk-VZD4SLJE.js → chunk-WAXSCVF3.js} +5 -5
  119. package/dist/{chunk-VUCXVBDQ.js → chunk-XATTYXWT.js} +3 -3
  120. package/dist/{chunk-GKTQXPUM.js → chunk-XTHQV6DP.js} +1 -1
  121. package/dist/{chunk-HT4WO7V6.js → chunk-YOOH4XZM.js} +7 -7
  122. package/dist/{chunk-HFDNWC2K.js → chunk-ZKTFWYT4.js} +1 -1
  123. package/dist/{chunk-ZJYSZDFR.js → chunk-ZMEZWQ7O.js} +1 -1
  124. package/dist/{chunk-WIWFIQL4.js → chunk-ZOT4PHSL.js} +2 -2
  125. package/dist/{chunk-FBDVDCMC.js → chunk-ZPUSBUTT.js} +4 -4
  126. package/dist/{chunk-QQEJDPYK.js → chunk-ZSIVPFCH.js} +1 -1
  127. package/dist/{codex-app-cards-switch-3A5N6T77.js → codex-app-cards-switch-T7UULQ5T.js} +11 -11
  128. package/dist/{codex-card-routing-SYP6VQTQ.js → codex-card-routing-TTRI27CG.js} +2 -2
  129. package/dist/{codex-desktop-launch-XFYCWMO6.js → codex-desktop-launch-W34FG52F.js} +1 -1
  130. package/dist/{codex-session-launch-O4ZB2CTG.js → codex-session-launch-ZMWMRTP5.js} +20 -20
  131. package/dist/{config-KVGNGI6J.js → config-5EIPFQTD.js} +3 -3
  132. package/dist/{global-upgrade-MRY3EP7V.js → global-upgrade-BW22HRDL.js} +9 -9
  133. package/dist/{identity-PSFVJNH5.js → identity-URZS4PNH.js} +4 -4
  134. package/dist/{live-capabilities-VBKANCXF.js → live-capabilities-IPUVJWHV.js} +4 -4
  135. package/dist/{paths-JPEMX4YI.js → paths-M7UGQE4K.js} +3 -3
  136. package/dist/reapply-423JE23N.js +74 -0
  137. package/dist/src/index.js +33 -33
  138. package/dist/{upgrade-lock-RW44O57U.js → upgrade-lock-GMEQWSHI.js} +4 -4
  139. package/dist/{usage-NCJLUCAW.js → usage-SHIUXLVP.js} +3 -3
  140. package/package.json +1 -1
  141. package/dist/reapply-TBGC63MP.js +0 -74
@@ -13,16 +13,16 @@ import {
13
13
  } from "./chunk-WHB622LP.js";
14
14
  import {
15
15
  keyPrefix
16
- } from "./chunk-PKDU2BY4.js";
16
+ } from "./chunk-UCEHVBFY.js";
17
17
  import {
18
18
  getBaseUrl
19
- } from "./chunk-ZJYSZDFR.js";
19
+ } from "./chunk-ZMEZWQ7O.js";
20
20
  import {
21
21
  NPX_LATEST_COMMAND
22
- } from "./chunk-KQRWWJLF.js";
22
+ } from "./chunk-2WKMK3MA.js";
23
23
  import {
24
24
  isValidApiKey
25
- } from "./chunk-POXHWH73.js";
25
+ } from "./chunk-Q4CX35CK.js";
26
26
 
27
27
  // src/cli/login-ui.ts
28
28
  import { hostname } from "os";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  addGeminiMcpServer,
3
3
  removeGeminiMcpServer
4
- } from "./chunk-Z6QGSQEN.js";
4
+ } from "./chunk-27AOD6AJ.js";
5
5
  import {
6
6
  CLAUDE_CODE_AGENT
7
- } from "./chunk-3T7KADQO.js";
7
+ } from "./chunk-P6BE3IE6.js";
8
8
  import {
9
9
  compatibleToolLookup
10
- } from "./chunk-UQQN6ST3.js";
10
+ } from "./chunk-L5EZLYKM.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-SR3FOAJE.js";
22
+ } from "./chunk-FKREGRCQ.js";
23
23
  import {
24
24
  HOOK_COMPATIBLE_PROFILES,
25
25
  PHONE_ANSWERED_TOOLS,
@@ -30,7 +30,7 @@ import {
30
30
  pusharyMissingReason,
31
31
  refusalOutput,
32
32
  withHookHoldBudget
33
- } from "./chunk-POXHWH73.js";
33
+ } from "./chunk-Q4CX35CK.js";
34
34
 
35
35
  // src/config-document.ts
36
36
  import { parse, stringify } from "smol-toml";
@@ -13,7 +13,7 @@ import {
13
13
  uninstallOpenClawPlugin,
14
14
  unsetOpenClawEntry,
15
15
  writeOpenClawEntry
16
- } from "./chunk-IHG2TFXZ.js";
16
+ } from "./chunk-3RMKNFAK.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-SR3FOAJE.js";
28
+ } from "./chunk-FKREGRCQ.js";
29
29
  import {
30
30
  resolvePathBinary
31
- } from "./chunk-YN4Q3ZXZ.js";
31
+ } from "./chunk-4TTCW5NU.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-POXHWH73.js";
42
+ } from "./chunk-Q4CX35CK.js";
43
43
 
44
44
  // src/hermes/plugin-payload.ts
45
45
  import { createHash } from "crypto";
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  openClawLauncherCandidates
3
- } from "./chunk-IHG2TFXZ.js";
3
+ } from "./chunk-3RMKNFAK.js";
4
4
  import {
5
5
  openCodeConfigDirFrom
6
- } from "./chunk-FJJRXIZC.js";
6
+ } from "./chunk-HY2DPLMM.js";
7
7
  import {
8
8
  nativeClaudeInstallPath
9
9
  } from "./chunk-TCE3J44Z.js";
10
10
  import {
11
11
  grokHome
12
- } from "./chunk-RN2PB5JJ.js";
12
+ } from "./chunk-BQTO3K5X.js";
13
13
  import {
14
14
  claudeConfigDir,
15
15
  clineDataDirectory,
16
16
  codexHomeFrom,
17
17
  openClawEnvironmentOf,
18
18
  openClawPathsFrom
19
- } from "./chunk-SR3FOAJE.js";
19
+ } from "./chunk-FKREGRCQ.js";
20
20
  import {
21
21
  HOOK_COMPATIBLE_PROFILES
22
- } from "./chunk-POXHWH73.js";
22
+ } from "./chunk-Q4CX35CK.js";
23
23
 
24
24
  // src/vscode-config.ts
25
25
  import { homedir } from "os";
@@ -9,7 +9,7 @@ import {
9
9
  installedCodexApp,
10
10
  readCodexAppRuntime,
11
11
  shellQuoted
12
- } from "./chunk-QEMU3P55.js";
12
+ } from "./chunk-VCZQZJIX.js";
13
13
  import {
14
14
  CODEX_APP_LAUNCH_AT_LOGIN_VERB,
15
15
  CODEX_APP_LAUNCH_VARIABLE
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-QCGNGEGE.js";
20
20
  import {
21
21
  xml
22
- } from "./chunk-4DXHNWUY.js";
22
+ } from "./chunk-6CD5QFP6.js";
23
23
  import {
24
24
  writeFileAtomic
25
25
  } from "./chunk-PM2NRK6Y.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  pusharyFetch
3
- } from "./chunk-3USB6JEH.js";
3
+ } from "./chunk-GE6BQL5V.js";
4
4
  import {
5
5
  getBaseUrl
6
- } from "./chunk-ZJYSZDFR.js";
6
+ } from "./chunk-ZMEZWQ7O.js";
7
7
  import {
8
8
  NetworkError
9
9
  } from "./chunk-CINBAX5G.js";
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  isValidApiKey,
15
15
  normalizeKeyScope
16
- } from "./chunk-POXHWH73.js";
16
+ } from "./chunk-Q4CX35CK.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,10 +1,10 @@
1
1
  import {
2
2
  callDecisionStore,
3
3
  identifyingToolInput
4
- } from "./chunk-3T7KADQO.js";
4
+ } from "./chunk-P6BE3IE6.js";
5
5
  import {
6
6
  canonicalJson
7
- } from "./chunk-SR3FOAJE.js";
7
+ } from "./chunk-FKREGRCQ.js";
8
8
 
9
9
  // src/phone-approval.ts
10
10
  import { createHash } from "crypto";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  cursorGateOwnsClaudeCall,
3
3
  readCursorGateRegistration
4
- } from "./chunk-W6PL3FPJ.js";
4
+ } from "./chunk-FFJKZYQA.js";
5
5
  import {
6
6
  registerTranscript
7
- } from "./chunk-RZISUO3M.js";
7
+ } from "./chunk-QDW4H4BE.js";
8
8
  import {
9
9
  namedEvent
10
- } from "./chunk-RN2PB5JJ.js";
10
+ } from "./chunk-BQTO3K5X.js";
11
11
  import {
12
12
  writeDegraded
13
- } from "./chunk-JYDVDSBM.js";
13
+ } from "./chunk-PUNSO7UP.js";
14
14
  import {
15
15
  claudeShapedHookInput,
16
16
  hookCompatibleProfileBySource,
17
17
  isGrokHookPayload,
18
18
  isGrokSessionEndStop
19
- } from "./chunk-POXHWH73.js";
19
+ } from "./chunk-Q4CX35CK.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,6 +1,6 @@
1
1
  import {
2
2
  HOOK_BUDGETS
3
- } from "./chunk-POXHWH73.js";
3
+ } from "./chunk-Q4CX35CK.js";
4
4
 
5
5
  // src/opencode-protocol.ts
6
6
  var OPENCODE_PLUGIN_MARKER = "pushary-opencode-plugin w1";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  pusharyHookExecutable
3
- } from "./chunk-Z6QGSQEN.js";
3
+ } from "./chunk-27AOD6AJ.js";
4
4
  import {
5
5
  bridgeResolvesToApp,
6
6
  cursorUserHooks,
7
7
  executableFileName,
8
8
  isBridgeLocator,
9
9
  liveBridgeProbe
10
- } from "./chunk-SR3FOAJE.js";
10
+ } from "./chunk-FKREGRCQ.js";
11
11
  import {
12
12
  atLeast,
13
13
  parseVersion
14
- } from "./chunk-YN4Q3ZXZ.js";
14
+ } from "./chunk-4TTCW5NU.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-POXHWH73.js";
24
+ } from "./chunk-Q4CX35CK.js";
25
25
 
26
26
  // src/cursor-gate-registration.ts
27
27
  import { dirname, isAbsolute, join, resolve } from "path";
@@ -3,7 +3,7 @@ import {
3
3
  formatVersion,
4
4
  quoteIfNeeded,
5
5
  shellDoubleQuoted
6
- } from "./chunk-YN4Q3ZXZ.js";
6
+ } from "./chunk-4TTCW5NU.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-POXHWH73.js";
25
+ } from "./chunk-Q4CX35CK.js";
26
26
 
27
27
  // src/setup/paths.ts
28
28
  import { createHash as createHash2 } from "crypto";
@@ -3,24 +3,24 @@ import {
3
3
  expectedLaunchCapabilities,
4
4
  hasSpawnProvider,
5
5
  resolveControlPolicy
6
- } from "./chunk-VUCXVBDQ.js";
6
+ } from "./chunk-XATTYXWT.js";
7
7
  import {
8
8
  daemonHasRemoteProof,
9
9
  daemonServiceManagerAvailable,
10
10
  hasDaemonServiceDefinition,
11
11
  readDaemonNeedsLogin,
12
12
  readDaemonStatus
13
- } from "./chunk-4DXHNWUY.js";
13
+ } from "./chunk-6CD5QFP6.js";
14
14
  import {
15
15
  getMachineId
16
- } from "./chunk-CJRHVIUJ.js";
16
+ } from "./chunk-HIYWW2EL.js";
17
17
  import {
18
18
  readControlMode,
19
19
  readKeySource
20
- } from "./chunk-PKDU2BY4.js";
20
+ } from "./chunk-UCEHVBFY.js";
21
21
  import {
22
22
  getBaseUrl
23
- } from "./chunk-ZJYSZDFR.js";
23
+ } from "./chunk-ZMEZWQ7O.js";
24
24
  import {
25
25
  getPackageVersion
26
26
  } from "./chunk-CXQWDQCJ.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  readExistingMachineId
3
- } from "./chunk-CJRHVIUJ.js";
3
+ } from "./chunk-HIYWW2EL.js";
4
4
  import {
5
5
  getBaseUrl
6
- } from "./chunk-ZJYSZDFR.js";
6
+ } from "./chunk-ZMEZWQ7O.js";
7
7
  import {
8
8
  NetworkError
9
9
  } from "./chunk-CINBAX5G.js";
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  clientContextHeaders,
15
15
  redactSecretsFromContent
16
- } from "./chunk-POXHWH73.js";
16
+ } from "./chunk-Q4CX35CK.js";
17
17
 
18
18
  // src/cli/net.ts
19
19
  import { createRequire } from "module";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  redactSecretsFromContent
3
- } from "./chunk-POXHWH73.js";
3
+ } from "./chunk-Q4CX35CK.js";
4
4
 
5
5
  // src/cli/terminal-row.ts
6
6
  var visibleLength = (text) => text.replace(/\x1b\[[0-9;]*m/g, "").length;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readTranscriptPreference
3
- } from "./chunk-PKDU2BY4.js";
3
+ } from "./chunk-UCEHVBFY.js";
4
4
 
5
5
  // src/transcript-setting.ts
6
6
  var transcriptEnvironmentPreference = () => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-SR3FOAJE.js";
3
+ } from "./chunk-FKREGRCQ.js";
4
4
  import {
5
5
  writeFileAtomic
6
6
  } from "./chunk-PM2NRK6Y.js";
@@ -3,7 +3,7 @@ import {
3
3
  openCodePluginArgv,
4
4
  openCodePluginModule,
5
5
  renderOpenCodePlugin
6
- } from "./chunk-QQEJDPYK.js";
6
+ } from "./chunk-ZSIVPFCH.js";
7
7
  import {
8
8
  OPENCODE_FAILED_EVENT,
9
9
  OPENCODE_IDLE_EVENT,
@@ -12,17 +12,17 @@ import {
12
12
  OPENCODE_PLUGIN_SIBLING,
13
13
  OPENCODE_PLUGIN_SIBLING_CONTENTS,
14
14
  OPENCODE_SUBAGENT_IDLE_EVENT
15
- } from "./chunk-PSKPKVM6.js";
15
+ } from "./chunk-FB5CFFNH.js";
16
16
  import {
17
17
  compatibleConfigFile
18
- } from "./chunk-RN2PB5JJ.js";
18
+ } from "./chunk-BQTO3K5X.js";
19
19
  import {
20
20
  hookOwnerOf,
21
21
  hookOwnerOfCommands
22
- } from "./chunk-Z6QGSQEN.js";
22
+ } from "./chunk-27AOD6AJ.js";
23
23
  import {
24
24
  AGENT_CHOICES
25
- } from "./chunk-VKGJ4XY5.js";
25
+ } from "./chunk-MEONDMJP.js";
26
26
  import {
27
27
  OPENCODE_INSTRUCTIONS_LABEL,
28
28
  bridgeStub,
@@ -36,7 +36,7 @@ import {
36
36
  resolveBridgeStub,
37
37
  vscodePluginDir,
38
38
  windowsNodeLauncherFor
39
- } from "./chunk-SR3FOAJE.js";
39
+ } from "./chunk-FKREGRCQ.js";
40
40
  import {
41
41
  readJsonSafe
42
42
  } from "./chunk-PM2NRK6Y.js";
@@ -46,7 +46,7 @@ import {
46
46
  OPENCODE_APPROVAL_EVENT,
47
47
  hookCompatibleProfile,
48
48
  isRecord
49
- } from "./chunk-POXHWH73.js";
49
+ } from "./chunk-Q4CX35CK.js";
50
50
 
51
51
  // src/opencode-config.ts
52
52
  import { existsSync, mkdirSync, readdirSync, readFileSync, rmSync, writeFileSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  serviceNodeFor
3
- } from "./chunk-4DXHNWUY.js";
3
+ } from "./chunk-6CD5QFP6.js";
4
4
  import {
5
5
  OWNER_ONLY_FILE_MODE,
6
6
  readOwnerOnlyJson
@@ -14,14 +14,14 @@ import {
14
14
  codexHome,
15
15
  codexHooksJsonIn,
16
16
  isPusharyCodexCommand
17
- } from "./chunk-SR3FOAJE.js";
17
+ } from "./chunk-FKREGRCQ.js";
18
18
  import {
19
19
  DEFAULT_WINDOWS_PATHEXT,
20
20
  DIRECTLY_STARTABLE_EXTENSIONS,
21
21
  plannedGlobalPackage,
22
22
  readGlobalPrefix,
23
23
  resolvePathBinary
24
- } from "./chunk-YN4Q3ZXZ.js";
24
+ } from "./chunk-4TTCW5NU.js";
25
25
  import {
26
26
  getPackageVersion,
27
27
  globalTranscriptRegisterEntry
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-SR3FOAJE.js";
3
+ } from "./chunk-FKREGRCQ.js";
4
4
  import {
5
5
  readJsonSafe
6
6
  } from "./chunk-PM2NRK6Y.js";
7
7
  import {
8
8
  isRecord
9
- } from "./chunk-POXHWH73.js";
9
+ } from "./chunk-Q4CX35CK.js";
10
10
 
11
11
  // src/process-ownership.ts
12
12
  import { createHash, randomUUID } from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  claudeConfigDir
3
- } from "./chunk-SR3FOAJE.js";
3
+ } from "./chunk-FKREGRCQ.js";
4
4
  import {
5
5
  claudePermissionRulesFromSettings
6
- } from "./chunk-POXHWH73.js";
6
+ } from "./chunk-Q4CX35CK.js";
7
7
 
8
8
  // src/claude-permission-rules.ts
9
9
  import { readFileSync, statSync } from "fs";
@@ -5,7 +5,7 @@ import {
5
5
  ensureCodexTrustsPusharyHooks,
6
6
  hermesHistoryNeedsTheCliHelper,
7
7
  recordInstalledHermesHistoryHelper
8
- } from "./chunk-JKM7YRYV.js";
8
+ } from "./chunk-IAAARTZD.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-BKTWGQLC.js";
17
+ } from "./chunk-BW74KYAH.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-ZRDDV7QK.js";
26
+ } from "./chunk-UXQADKBJ.js";
27
27
  import {
28
28
  OPENCODE_HOOK_BINARY,
29
29
  agentHookOwner,
@@ -36,16 +36,16 @@ import {
36
36
  openCodePluginDir,
37
37
  openCodeWired,
38
38
  withOpenCodeAskRules
39
- } from "./chunk-FJJRXIZC.js";
39
+ } from "./chunk-HY2DPLMM.js";
40
40
  import {
41
41
  detectClaudeVersion
42
- } from "./chunk-GKMSHV5D.js";
42
+ } from "./chunk-V7BM5U5N.js";
43
43
  import {
44
44
  addCompatibleHooks,
45
45
  compatibleConfigFile,
46
46
  compatibleInstructionsFile,
47
47
  hasCompatibleHooks
48
- } from "./chunk-RN2PB5JJ.js";
48
+ } from "./chunk-BQTO3K5X.js";
49
49
  import {
50
50
  GEMINI_HOOK_BINARY,
51
51
  addGeminiHooks,
@@ -57,13 +57,13 @@ import {
57
57
  geminiWired,
58
58
  hasGeminiHooks,
59
59
  planHooks
60
- } from "./chunk-Z6QGSQEN.js";
60
+ } from "./chunk-27AOD6AJ.js";
61
61
  import {
62
62
  transcriptsEnabled
63
- } from "./chunk-GJ5XTWNZ.js";
63
+ } from "./chunk-GX7NST6J.js";
64
64
  import {
65
65
  KEY_FILE_MODE
66
- } from "./chunk-PKDU2BY4.js";
66
+ } from "./chunk-UCEHVBFY.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-SR3FOAJE.js";
113
+ } from "./chunk-FKREGRCQ.js";
114
114
  import {
115
115
  formatVersion,
116
116
  hookCommandsUseBareNames,
117
117
  resolveGlobalBinDir,
118
118
  resolveGlobalBinary
119
- } from "./chunk-YN4Q3ZXZ.js";
119
+ } from "./chunk-4TTCW5NU.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-POXHWH73.js";
129
+ } from "./chunk-Q4CX35CK.js";
130
130
 
131
131
  // src/reapply.ts
132
132
  import { dirname, join } from "path";
@@ -4,21 +4,21 @@ import {
4
4
  claimThrottle,
5
5
  releaseThrottle,
6
6
  reportEvent
7
- } from "./chunk-3T7KADQO.js";
7
+ } from "./chunk-P6BE3IE6.js";
8
8
  import {
9
9
  deriveToolTarget,
10
10
  permissionDeniedAction
11
- } from "./chunk-UQQN6ST3.js";
11
+ } from "./chunk-L5EZLYKM.js";
12
12
  import {
13
13
  projectNameFor
14
- } from "./chunk-QLKIY3FD.js";
14
+ } from "./chunk-OXTKCSQH.js";
15
15
  import {
16
16
  PERMISSION_ALLOWED_EVENT,
17
17
  PERMISSION_DENIED_EVENT,
18
18
  machineApprovalFor,
19
19
  machineDecisionFor,
20
20
  wireVerdictFor
21
- } from "./chunk-POXHWH73.js";
21
+ } from "./chunk-Q4CX35CK.js";
22
22
 
23
23
  // src/machine-decision-audit.ts
24
24
  var MACHINE_DECISION_REPORT_TIMEOUT_MS = 800;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  renderCommandHelp
3
- } from "./chunk-KQRWWJLF.js";
3
+ } from "./chunk-2WKMK3MA.js";
4
4
  import {
5
5
  EXIT
6
6
  } from "./chunk-BG4HHB7E.js";
@@ -26,7 +26,7 @@ import {
26
26
  reportableSessionId,
27
27
  toToolLookup,
28
28
  truncateLine
29
- } from "./chunk-POXHWH73.js";
29
+ } from "./chunk-Q4CX35CK.js";
30
30
 
31
31
  // ../hook-mapping/src/commit-receipt.ts
32
32
  var COMMIT_OUTPUT_MAX_LENGTH = 65536;
@@ -459,15 +459,18 @@ var rawActionBody = (toolName, toolInput) => {
459
459
  if (toolName === "write_stdin" || toolName === "request_permissions") return JSON.stringify(toolInput, null, 2);
460
460
  return firstString(toolInput.url, toolInput.href);
461
461
  };
462
- var deriveActionBody = (toolName, toolInput) => {
462
+ var deriveFullActionBody = (toolName, toolInput) => {
463
463
  try {
464
464
  const raw = rawActionBody(toolName, toolInput);
465
- if (!raw) return void 0;
466
- return capActionBody(redactSecretsDeep(raw));
465
+ return raw ? redactSecretsDeep(raw) : void 0;
467
466
  } catch {
468
467
  return void 0;
469
468
  }
470
469
  };
470
+ var deriveActionBody = (toolName, toolInput) => {
471
+ const full = deriveFullActionBody(toolName, toolInput);
472
+ return full === void 0 ? void 0 : capActionBody(full);
473
+ };
471
474
  var deriveAction = (toolName, toolInput) => truncateLine(describeToolCall(toolName, toolInput, "hook"), DECISION_LINE_MAX);
472
475
  var BLOCKER_BY_MODE = {
473
476
  push_only: "Approval required before this runs",
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  compatibleConfigFile,
3
3
  hasCompatibleHooks
4
- } from "./chunk-RN2PB5JJ.js";
4
+ } from "./chunk-BQTO3K5X.js";
5
5
  import {
6
6
  pusharyHookExecutable
7
- } from "./chunk-Z6QGSQEN.js";
7
+ } from "./chunk-27AOD6AJ.js";
8
8
  import {
9
9
  isProtectedByScope,
10
10
  registerHookEntry
11
- } from "./chunk-SR3FOAJE.js";
11
+ } from "./chunk-FKREGRCQ.js";
12
12
  import {
13
13
  isRecord
14
- } from "./chunk-POXHWH73.js";
14
+ } from "./chunk-Q4CX35CK.js";
15
15
 
16
16
  // src/cursor-config.ts
17
17
  var hookCommandOf = (entry) => {
@@ -5,13 +5,13 @@ import {
5
5
  } from "./chunk-OYIN77HO.js";
6
6
  import {
7
7
  readMacAppAgentKey
8
- } from "./chunk-RDWNFNDW.js";
8
+ } from "./chunk-US2O2BCI.js";
9
9
  import {
10
10
  API_KEYS_PATH
11
- } from "./chunk-KJA5JZXV.js";
11
+ } from "./chunk-R2ZVMZRM.js";
12
12
  import {
13
13
  absoluteUrl
14
- } from "./chunk-47G72ONB.js";
14
+ } from "./chunk-DA2VDGD4.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-PKDU2BY4.js";
24
+ } from "./chunk-UCEHVBFY.js";
25
25
  import {
26
26
  isValidApiKey
27
- } from "./chunk-POXHWH73.js";
27
+ } from "./chunk-Q4CX35CK.js";
28
28
 
29
29
  // src/cli/held-key-revocation.ts
30
30
  var readCliHeldKeys = (profiles) => {
@@ -4,10 +4,10 @@ import {
4
4
  keyPrefix,
5
5
  readConfigFileKey,
6
6
  readMacAppKeyPrefix
7
- } from "./chunk-PKDU2BY4.js";
7
+ } from "./chunk-UCEHVBFY.js";
8
8
  import {
9
9
  NPX_LATEST_COMMAND
10
- } from "./chunk-KQRWWJLF.js";
10
+ } from "./chunk-2WKMK3MA.js";
11
11
 
12
12
  // src/key-signed-out.ts
13
13
  var VERDICT_BY_CHECK = {