pushary 1.9.274 → 1.9.276

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 +8 -0
  2. package/dist/{api-Y3U5NIIN.js → api-OLFIDMS7.js} +12 -12
  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 +14 -14
  7. package/dist/bin/pushary-claude.js +25 -25
  8. package/dist/bin/pushary-clean.js +39 -39
  9. package/dist/bin/pushary-codex-bridge.js +22 -22
  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 +10 -4
  18. package/dist/bin/pushary-doctor.js +48 -48
  19. package/dist/bin/pushary-elicitation-hook.js +27 -27
  20. package/dist/bin/pushary-gemini-bridge.js +17 -17
  21. package/dist/bin/pushary-gemini-hook.js +31 -31
  22. package/dist/bin/pushary-hook.js +35 -35
  23. package/dist/bin/pushary-login.js +42 -42
  24. package/dist/bin/pushary-logout.js +31 -31
  25. package/dist/bin/pushary-mcp.js +12 -12
  26. package/dist/bin/pushary-mode.js +15 -15
  27. package/dist/bin/pushary-notification-hook.js +27 -27
  28. package/dist/bin/pushary-opencode-bridge.js +21 -21
  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 +35 -35
  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 +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 +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 +15 -15
  43. package/dist/bin/pushary-transcript-register.js +16 -16
  44. package/dist/bin/pushary-transcripts.js +25 -25
  45. package/dist/bin/pushary-upgrade.js +47 -47
  46. package/dist/bin/pushary-wait.js +16 -16
  47. package/dist/bin/pushary.js +7 -7
  48. package/dist/{chunk-E6RGE25R.js → chunk-2JZM72KC.js} +5 -5
  49. package/dist/{chunk-ZT4LWTUF.js → chunk-37U5RQKQ.js} +4 -4
  50. package/dist/{chunk-CI6GCK6X.js → chunk-3XNTOZSO.js} +1 -1
  51. package/dist/{chunk-QOGSFTWZ.js → chunk-46NACONX.js} +1 -1
  52. package/dist/{chunk-TFSXOOKJ.js → chunk-4TZE23IY.js} +3 -3
  53. package/dist/{chunk-K6UVBV3O.js → chunk-4YHQYYTJ.js} +2 -2
  54. package/dist/{chunk-N64WW2BV.js → chunk-52T655NA.js} +1 -1
  55. package/dist/{chunk-I7EOPMMH.js → chunk-5CIJT5EW.js} +4 -4
  56. package/dist/{chunk-P36CTTZ6.js → chunk-5MD7VE6J.js} +3 -3
  57. package/dist/{chunk-V5CDWB2X.js → chunk-5PB5PLYU.js} +10 -10
  58. package/dist/{chunk-ZWEMCC4W.js → chunk-5YKEUZCZ.js} +6 -6
  59. package/dist/{chunk-33OPFYPX.js → chunk-6BSQQQPF.js} +3 -3
  60. package/dist/{chunk-V4U3UE2D.js → chunk-6IEGHLAQ.js} +4 -4
  61. package/dist/{chunk-6ZBSGAVJ.js → chunk-6ILWJR5J.js} +1 -1
  62. package/dist/{chunk-NHGWPHMS.js → chunk-6ZYEZF6R.js} +5 -5
  63. package/dist/{chunk-JYYADKEY.js → chunk-7QBTDXGQ.js} +1 -1
  64. package/dist/{chunk-AWFOI5KP.js → chunk-ACOOCU2C.js} +2 -2
  65. package/dist/{chunk-BIVE2ISD.js → chunk-BZCSYGXX.js} +16 -16
  66. package/dist/{chunk-PUOAJYVS.js → chunk-CABA3Y5F.js} +5 -5
  67. package/dist/{chunk-KJ44NXLK.js → chunk-CK2XAWUK.js} +3 -3
  68. package/dist/{chunk-A7G4UFKW.js → chunk-CREEYGND.js} +10 -10
  69. package/dist/{chunk-YWM6DGX3.js → chunk-D6BE2O76.js} +2 -2
  70. package/dist/{chunk-LRX7TEWQ.js → chunk-DFEGXN5S.js} +1 -1
  71. package/dist/{chunk-K6GCGCMX.js → chunk-DHLVNUDU.js} +1 -1
  72. package/dist/{chunk-ZHMA3XMN.js → chunk-DQ4JAE76.js} +46 -16
  73. package/dist/{chunk-KYGOQCXV.js → chunk-DTJ654CO.js} +2 -2
  74. package/dist/{chunk-Z3JYKLYD.js → chunk-DXY77UVL.js} +12 -12
  75. package/dist/{chunk-LFPNXVGA.js → chunk-E6DLZK6F.js} +4 -4
  76. package/dist/{chunk-XXK3SKTN.js → chunk-EA7G2WD3.js} +1 -1
  77. package/dist/{chunk-43HH465R.js → chunk-EL3X6A4S.js} +2 -2
  78. package/dist/{chunk-TUWADETS.js → chunk-ESHKK3NZ.js} +4 -4
  79. package/dist/{chunk-HCYAMXSY.js → chunk-EWT4JVQ6.js} +1 -1
  80. package/dist/{chunk-HR7ESXRE.js → chunk-FDJ74WHC.js} +4 -4
  81. package/dist/{chunk-2ANZYH3C.js → chunk-FI4ZDYXT.js} +6 -6
  82. package/dist/{chunk-NQJL6KGF.js → chunk-FTWDXWIC.js} +2 -2
  83. package/dist/{chunk-TXM4D7YA.js → chunk-GXJ5WI6B.js} +5 -5
  84. package/dist/{chunk-5NAXQRY2.js → chunk-GXXZLEHJ.js} +7 -7
  85. package/dist/{chunk-NWGTAVX6.js → chunk-HF47DPMN.js} +1 -1
  86. package/dist/{chunk-LRGC66O7.js → chunk-HGNBFVY5.js} +4 -4
  87. package/dist/{chunk-V77PFL6B.js → chunk-HYHA7TQV.js} +1 -1
  88. package/dist/{chunk-DZPYGNEZ.js → chunk-HYLZSXGI.js} +7 -7
  89. package/dist/{chunk-4XHFXCLM.js → chunk-I5L4QXWJ.js} +2 -2
  90. package/dist/{chunk-AGIAZ7RG.js → chunk-JOWPUJPT.js} +5 -5
  91. package/dist/{chunk-NTKNQ4DS.js → chunk-KFSWRHKU.js} +2 -2
  92. package/dist/{chunk-D5ZK4VY5.js → chunk-KMCKHX4S.js} +2 -2
  93. package/dist/{chunk-IHFMAN3B.js → chunk-KS2H54MK.js} +1 -1
  94. package/dist/{chunk-XCHNLTFS.js → chunk-LP7DPO3E.js} +1 -1
  95. package/dist/{chunk-FQRSGJ6S.js → chunk-M23WDLIC.js} +3 -3
  96. package/dist/{chunk-QPIJCVDR.js → chunk-M4G55A3C.js} +3 -3
  97. package/dist/{chunk-KIJZSOAD.js → chunk-N6YV7ZYB.js} +6 -6
  98. package/dist/{chunk-FW6JKPTU.js → chunk-NDE2U7MH.js} +3 -3
  99. package/dist/{chunk-WLQL7UE2.js → chunk-OAZ7WMAU.js} +3 -3
  100. package/dist/{chunk-GVUI33P3.js → chunk-OK5XINZK.js} +7 -7
  101. package/dist/{chunk-NTAED56W.js → chunk-PJ2MCXPU.js} +11 -11
  102. package/dist/{chunk-564K2M6C.js → chunk-QMFJHEHJ.js} +1 -1
  103. package/dist/{chunk-4YVRIIJ5.js → chunk-QU5K42CD.js} +2 -2
  104. package/dist/{chunk-ZLEOSUAH.js → chunk-RLDWWF4R.js} +1 -1
  105. package/dist/{chunk-KN3IHK3A.js → chunk-RVEJ2HQO.js} +6 -6
  106. package/dist/{chunk-O4RC7XJY.js → chunk-S3H2J5PJ.js} +1 -1
  107. package/dist/{chunk-UHYTUX6V.js → chunk-SBULIKB5.js} +6 -6
  108. package/dist/{chunk-7WJ5V43Y.js → chunk-SCWBZEDN.js} +5 -5
  109. package/dist/{chunk-I6DUMTSP.js → chunk-SNPJ6XXM.js} +3 -3
  110. package/dist/{chunk-FYYQNP7H.js → chunk-TGS5T7AD.js} +6 -6
  111. package/dist/{chunk-ZDAYRTUA.js → chunk-TRNII2FW.js} +1 -1
  112. package/dist/{chunk-KDGLUQAF.js → chunk-U43TDW57.js} +1 -1
  113. package/dist/{chunk-W2LLSAYX.js → chunk-UIVL7CLE.js} +1 -1
  114. package/dist/{chunk-SQEM7UXQ.js → chunk-UMW3HCWQ.js} +5 -5
  115. package/dist/{chunk-FZCJS2UD.js → chunk-V54U7EAG.js} +4 -4
  116. package/dist/{chunk-OGFNNX5N.js → chunk-WGN5Z3WG.js} +1 -1
  117. package/dist/{chunk-JCNBJAG3.js → chunk-WXYSJULN.js} +4 -4
  118. package/dist/{chunk-MIRBDVJR.js → chunk-X6HX2UHZ.js} +1 -1
  119. package/dist/{chunk-RJBT73ZI.js → chunk-YABFR43V.js} +8 -8
  120. package/dist/{chunk-XAYXKMQE.js → chunk-YIWLOD3H.js} +5 -5
  121. package/dist/{chunk-T3HNDCO7.js → chunk-YN4YRZNF.js} +2 -2
  122. package/dist/{chunk-65V3BAMJ.js → chunk-YNDJIBLB.js} +1 -1
  123. package/dist/{chunk-NKQP72ZT.js → chunk-YWSNBQFN.js} +5 -5
  124. package/dist/{chunk-BSUHG6MP.js → chunk-YXDPRTVM.js} +4 -4
  125. package/dist/{chunk-BO7GYM5V.js → chunk-ZCSQCI3V.js} +1 -1
  126. package/dist/{chunk-RPEOOA2T.js → chunk-ZM3LMIDN.js} +1 -1
  127. package/dist/{chunk-GNIGB5IZ.js → chunk-ZMMCHRJF.js} +5 -5
  128. package/dist/{chunk-6YKYLFJQ.js → chunk-ZMVHJCM2.js} +1 -1
  129. package/dist/{chunk-2Q2UO6OG.js → chunk-ZW2BWWIP.js} +2 -2
  130. package/dist/{codex-app-cards-switch-6LQKXXRG.js → codex-app-cards-switch-5LUDTLSJ.js} +11 -11
  131. package/dist/{codex-card-routing-ROPZYGGD.js → codex-card-routing-3KMBEQOC.js} +2 -2
  132. package/dist/{codex-desktop-launch-2WLYP3DE.js → codex-desktop-launch-AJWF2S4W.js} +3 -3
  133. package/dist/{codex-session-launch-ZLMBVG2B.js → codex-session-launch-VSXLEJVF.js} +21 -21
  134. package/dist/{config-V7QZVFKH.js → config-YXLVQ5T7.js} +3 -3
  135. package/dist/{global-upgrade-5KS52ZKC.js → global-upgrade-KHCU2JYT.js} +9 -9
  136. package/dist/{identity-3OQ3YY6R.js → identity-CGMWCMVP.js} +4 -4
  137. package/dist/{live-capabilities-5C66HXJR.js → live-capabilities-NLUOLMSU.js} +4 -4
  138. package/dist/{paths-3IRY5CPE.js → paths-KDPFVDE5.js} +3 -3
  139. package/dist/{reapply-PRZDZU3C.js → reapply-7ALGSM56.js} +34 -34
  140. package/dist/src/index.js +33 -33
  141. package/dist/{upgrade-lock-4AQQPPQW.js → upgrade-lock-CRYW2DXA.js} +4 -4
  142. package/dist/{usage-AAJJHAJM.js → usage-Q3DQZVW2.js} +3 -3
  143. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  projectNameFor
3
- } from "./chunk-O4RC7XJY.js";
3
+ } from "./chunk-S3H2J5PJ.js";
4
4
  import {
5
5
  readConfigFileKey
6
- } from "./chunk-KYGOQCXV.js";
6
+ } from "./chunk-DTJ654CO.js";
7
7
 
8
8
  // src/bell/fleet.ts
9
9
  import { closeSync, constants, futimesSync, lstatSync, mkdirSync, openSync, readdirSync, unlinkSync } from "fs";
@@ -7,30 +7,30 @@ import {
7
7
  restorePhoneApprovals,
8
8
  setAsidePhoneApprovalsOfOtherCalls,
9
9
  takePhoneApproval
10
- } from "./chunk-2Q2UO6OG.js";
10
+ } from "./chunk-ZW2BWWIP.js";
11
11
  import {
12
12
  claudeSettingsLocationFor,
13
13
  readClaudePermissionRules
14
- } from "./chunk-YWM6DGX3.js";
14
+ } from "./chunk-D6BE2O76.js";
15
15
  import {
16
16
  defersToNativeMode
17
- } from "./chunk-V77PFL6B.js";
17
+ } from "./chunk-HYHA7TQV.js";
18
18
  import {
19
19
  reportMachineDenial
20
- } from "./chunk-HR7ESXRE.js";
20
+ } from "./chunk-FDJ74WHC.js";
21
21
  import {
22
22
  isGatingMoment,
23
23
  recordKeylessMoment
24
- } from "./chunk-CI6GCK6X.js";
24
+ } from "./chunk-3XNTOZSO.js";
25
25
  import {
26
26
  isAdmitted,
27
27
  readAdmissionRules
28
- } from "./chunk-XAYXKMQE.js";
28
+ } from "./chunk-YIWLOD3H.js";
29
29
  import {
30
30
  activeHookSource,
31
31
  activeIdentity,
32
32
  namedSource
33
- } from "./chunk-UHYTUX6V.js";
33
+ } from "./chunk-SBULIKB5.js";
34
34
  import {
35
35
  DEFAULT_SESSION,
36
36
  allow,
@@ -72,7 +72,7 @@ import {
72
72
  storedWaitDeadline,
73
73
  sweepFilesOlderThan,
74
74
  userScope
75
- } from "./chunk-NTAED56W.js";
75
+ } from "./chunk-PJ2MCXPU.js";
76
76
  import {
77
77
  UNNAMED_ACTION,
78
78
  deriveAction,
@@ -83,7 +83,7 @@ import {
83
83
  patchDeletesFiles,
84
84
  permissionDeniedAction,
85
85
  scopePathFor
86
- } from "./chunk-LRX7TEWQ.js";
86
+ } from "./chunk-DFEGXN5S.js";
87
87
  import {
88
88
  askUser,
89
89
  cancelQuestion,
@@ -97,30 +97,30 @@ import {
97
97
  sendNotification,
98
98
  waitForQuestion,
99
99
  withdrawQuestion
100
- } from "./chunk-DZPYGNEZ.js";
100
+ } from "./chunk-HYLZSXGI.js";
101
101
  import {
102
102
  branchFor,
103
103
  projectNameFor,
104
104
  repoKeyFor,
105
105
  repositoryScopeFor
106
- } from "./chunk-O4RC7XJY.js";
106
+ } from "./chunk-S3H2J5PJ.js";
107
107
  import {
108
108
  getMachineId
109
- } from "./chunk-OGFNNX5N.js";
109
+ } from "./chunk-WGN5Z3WG.js";
110
110
  import {
111
111
  POSTTOOLUSE_MIRRORED_TOOLS
112
- } from "./chunk-K6UVBV3O.js";
112
+ } from "./chunk-4YHQYYTJ.js";
113
113
  import {
114
114
  getApiKey,
115
115
  getBaseUrl,
116
116
  isMalformedApiKeyError
117
- } from "./chunk-NQJL6KGF.js";
117
+ } from "./chunk-FTWDXWIC.js";
118
118
  import {
119
119
  writeFileAtomic
120
120
  } from "./chunk-PM2NRK6Y.js";
121
121
  import {
122
122
  NPX_LATEST_COMMAND
123
- } from "./chunk-RPEOOA2T.js";
123
+ } from "./chunk-ZM3LMIDN.js";
124
124
  import {
125
125
  AGENT_QUESTION_STRATEGY,
126
126
  AGENT_QUESTION_TOOL,
@@ -192,7 +192,7 @@ import {
192
192
  terminalStaysLiveForTheCall,
193
193
  timeoutActionWithoutLocalPrompt,
194
194
  unapprovedScopeReason
195
- } from "./chunk-ZHMA3XMN.js";
195
+ } from "./chunk-DQ4JAE76.js";
196
196
 
197
197
  // src/terminal-answer-watch.ts
198
198
  import { closeSync, openSync, readSync, statSync } from "fs";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  fetchAsCredential
3
- } from "./chunk-K6GCGCMX.js";
3
+ } from "./chunk-DHLVNUDU.js";
4
4
  import {
5
5
  keyCheckFromResponse
6
- } from "./chunk-KJ44NXLK.js";
6
+ } from "./chunk-CK2XAWUK.js";
7
7
  import {
8
8
  installNetworkDefaults
9
- } from "./chunk-P36CTTZ6.js";
9
+ } from "./chunk-5MD7VE6J.js";
10
10
  import {
11
11
  getBaseUrl
12
- } from "./chunk-NQJL6KGF.js";
12
+ } from "./chunk-FTWDXWIC.js";
13
13
  import {
14
14
  isRecord,
15
15
  isToolErrorResult,
16
16
  toolFailureCodeOfResult
17
- } from "./chunk-ZHMA3XMN.js";
17
+ } from "./chunk-DQ4JAE76.js";
18
18
 
19
19
  // src/retry.ts
20
20
  var isRetryable = (err) => {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  pusharyFetch
3
- } from "./chunk-P36CTTZ6.js";
3
+ } from "./chunk-5MD7VE6J.js";
4
4
  import {
5
5
  getBaseUrl
6
- } from "./chunk-NQJL6KGF.js";
6
+ } from "./chunk-FTWDXWIC.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-ZHMA3XMN.js";
16
+ } from "./chunk-DQ4JAE76.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,35 +1,35 @@
1
1
  import {
2
2
  MANAGED_CLAUDE_SETTINGS_BY_PLATFORM
3
- } from "./chunk-YWM6DGX3.js";
3
+ } from "./chunk-D6BE2O76.js";
4
4
  import {
5
5
  declinedAgentsFile,
6
6
  readDeclinedAgents
7
- } from "./chunk-D5ZK4VY5.js";
7
+ } from "./chunk-KMCKHX4S.js";
8
8
  import {
9
9
  OPENCODE_HOOK_BINARY,
10
10
  openCodeConfigDir,
11
11
  openCodePluginFile
12
- } from "./chunk-GVUI33P3.js";
12
+ } from "./chunk-OK5XINZK.js";
13
13
  import {
14
14
  openCodePluginArgv
15
- } from "./chunk-IHFMAN3B.js";
15
+ } from "./chunk-KS2H54MK.js";
16
16
  import {
17
17
  liveCursorGateCoverage
18
- } from "./chunk-WLQL7UE2.js";
18
+ } from "./chunk-OAZ7WMAU.js";
19
19
  import {
20
20
  compatibleConfigFile,
21
21
  compatibleHookEvents,
22
22
  grokHome
23
- } from "./chunk-UHYTUX6V.js";
23
+ } from "./chunk-SBULIKB5.js";
24
24
  import {
25
25
  parseConfigDocument
26
- } from "./chunk-BO7GYM5V.js";
26
+ } from "./chunk-ZCSQCI3V.js";
27
27
  import {
28
28
  DEFAULT_HOOKS_KEY_PATH,
29
29
  GEMINI_HOOK_BINARY,
30
30
  GEMINI_HOOK_EVENTS,
31
31
  hooksAt
32
- } from "./chunk-ZT4LWTUF.js";
32
+ } from "./chunk-37U5RQKQ.js";
33
33
  import {
34
34
  CODEX_EARLIER_APPROVAL_MATCHERS,
35
35
  CODEX_HOOK_BINARY,
@@ -57,7 +57,7 @@ import {
57
57
  parseHookArgv,
58
58
  parseHookCommand,
59
59
  supportedClaudeEvents
60
- } from "./chunk-K6UVBV3O.js";
60
+ } from "./chunk-4YHQYYTJ.js";
61
61
  import {
62
62
  readRegularJsonFile,
63
63
  readRegularTextFile
@@ -71,7 +71,7 @@ import {
71
71
  OPENCODE_APPROVAL_EVENT,
72
72
  isRecord,
73
73
  matcherMatchesEveryCall
74
- } from "./chunk-ZHMA3XMN.js";
74
+ } from "./chunk-DQ4JAE76.js";
75
75
 
76
76
  // src/hook-wiring.ts
77
77
  import { createHash } from "crypto";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  claudeConfigDir
3
- } from "./chunk-K6UVBV3O.js";
3
+ } from "./chunk-4YHQYYTJ.js";
4
4
  import {
5
5
  claudePermissionRulesFromSettings
6
- } from "./chunk-ZHMA3XMN.js";
6
+ } from "./chunk-DQ4JAE76.js";
7
7
 
8
8
  // src/claude-permission-rules.ts
9
9
  import { readFileSync, statSync } from "fs";
@@ -29,7 +29,7 @@ import {
29
29
  reportableSessionId,
30
30
  toToolLookup,
31
31
  truncateLine
32
- } from "./chunk-ZHMA3XMN.js";
32
+ } from "./chunk-DQ4JAE76.js";
33
33
 
34
34
  // ../hook-mapping/src/commit-receipt.ts
35
35
  var COMMIT_OUTPUT_MAX_LENGTH = 65536;
@@ -5,7 +5,7 @@ import {
5
5
  MCP_CREDENTIAL_REJECTION_BODY,
6
6
  isRecord,
7
7
  responseRejectsCredential
8
- } from "./chunk-ZHMA3XMN.js";
8
+ } from "./chunk-DQ4JAE76.js";
9
9
 
10
10
  // src/credential-rejection.ts
11
11
  import { createHash, randomUUID } from "crypto";
@@ -1959,7 +1959,20 @@ var CLOSED_QUESTION_WINDOW_MS = 24 * 60 * 60 * 1e3;
1959
1959
  var SHELL_WORD_SEPARATOR = /[ \t\n]/;
1960
1960
  var ARITHMETIC_EVALUATING_EXPANSION = /\$[#+=~^]*(?:[A-Za-z_][A-Za-z0-9_]*|[0-9]+|[-?$!@*#])?\[/;
1961
1961
  var VISIBLE_ESCAPE = /\\[\s\S]/g;
1962
- var trimShellWhitespace = (command) => command.replace(/^[ \t\n]+|[ \t\n]+$/g, "");
1962
+ var indexAfterLeadingShellWhitespace = (command) => {
1963
+ let index = 0;
1964
+ while (index < command.length && SHELL_WORD_SEPARATOR.test(command.charAt(index))) index += 1;
1965
+ return index;
1966
+ };
1967
+ var indexOfTrailingShellWhitespace = (command, start) => {
1968
+ let index = command.length;
1969
+ while (index > start && SHELL_WORD_SEPARATOR.test(command.charAt(index - 1))) index -= 1;
1970
+ return index;
1971
+ };
1972
+ var trimShellWhitespace = (command) => {
1973
+ const start = indexAfterLeadingShellWhitespace(command);
1974
+ return command.slice(start, indexOfTrailingShellWhitespace(command, start));
1975
+ };
1963
1976
  var DOUBLE_QUOTE_ESCAPABLE = /* @__PURE__ */ new Set(['"', "\\", "$", "`"]);
1964
1977
  var SEGMENT_SEPARATORS = /* @__PURE__ */ new Set([";", "\n", "&", "|"]);
1965
1978
  var DOUBLED_SEPARATORS = /* @__PURE__ */ new Set(["&", "|"]);
@@ -6834,7 +6847,13 @@ var SAFE_FIND_TOKENS = /* @__PURE__ */ new Set([
6834
6847
  "-D",
6835
6848
  "-O"
6836
6849
  ]);
6837
- var SAFE_REDIRECTION = /\s*(?:[0-9]*>&[0-9-]+|(?:[0-9]*|&)>>?\s*\/dev\/null)/g;
6850
+ var A_LONG_RUN = /\s{32}|\d{32}/;
6851
+ var NOT_LATER_IN_A_RUN_OF_DIGITS = String.raw`(?!(?<=\d)\d)`;
6852
+ var NOT_LATER_IN_A_RUN_OF_DIGITS_A_HEREDOC_MAY_OWN = String.raw`(?!(?<=(?<!<)\d)\d)`;
6853
+ var NOT_LATER_IN_A_RUN_OF_BLANKS_OR_DIGITS = String.raw`(?<!\s)${NOT_LATER_IN_A_RUN_OF_DIGITS}`;
6854
+ var boundedOnLongRuns = (everyday, oncePerRun) => ({ everyday, startingOncePerRun: new RegExp(`${oncePerRun}(?:${everyday.source})`, everyday.flags) });
6855
+ var patternFor = (pattern, text3) => A_LONG_RUN.test(text3) ? pattern.startingOncePerRun : pattern.everyday;
6856
+ var SAFE_REDIRECTION = boundedOnLongRuns(/\s*(?:[0-9]*>&[0-9-]+|(?:[0-9]*|&)>>?\s*\/dev\/null)/g, NOT_LATER_IN_A_RUN_OF_BLANKS_OR_DIGITS);
6838
6857
  var LEADING_SPACE_AND_DIGITS = /^(\s*)(\d*)/;
6839
6858
  var A_SHELL_WORD_BREAK = /[\s;&|()<>]/;
6840
6859
  var digitsThatContinueTheWordBefore = (redirection, offset, text3) => {
@@ -6956,7 +6975,7 @@ var argumentsMayExpand = (segment) => {
6956
6975
  const visible = shellVisibleText(segment);
6957
6976
  return visible === null || EXPANSION_THAT_CAN_BECOME_A_FLAG.test(visible.replace(SHELL_QUOTE_CHARACTERS, ""));
6958
6977
  };
6959
- var blankedSafeRedirections = (text3) => text3.replace(SAFE_REDIRECTION, (redirection) => " ".repeat(redirection.length));
6978
+ var blankedSafeRedirections = (text3) => text3.replace(patternFor(SAFE_REDIRECTION, text3), (redirection) => " ".repeat(redirection.length));
6960
6979
  var segmentsSplitWhereVisible = (command, visible, separators) => {
6961
6980
  const segments = [];
6962
6981
  let start = 0;
@@ -7245,7 +7264,10 @@ var argumentsHideTheEffect = (name, args) => {
7245
7264
  return (meaningful[0]?.text.startsWith("-") ?? false) || subcommandWordsOf(meaningful).some((word) => word.expands || RUNNER_SUBCOMMANDS.has(word.text));
7246
7265
  };
7247
7266
  var invocationHidesItsEffect = ({ program, args }) => program !== void 0 && ([program, ...args].some((word) => word.comment) || programHidesItsEffect(program) || argumentsHideTheEffect(basenameOf(program.text), args));
7248
- var commandForReading = (command) => withHeredocSubstitutionsAsQuotedText(command).replace(SHELL_LINE_CONTINUATION, "").replace(SAFE_REDIRECTION, digitsThatContinueTheWordBefore);
7267
+ var commandForReading = (command) => {
7268
+ const joined = withHeredocSubstitutionsAsQuotedText(command).replace(SHELL_LINE_CONTINUATION, "");
7269
+ return joined.replace(patternFor(SAFE_REDIRECTION, joined), digitsThatContinueTheWordBefore);
7270
+ };
7249
7271
  var readableCommandSegments = (command) => shellCommandSegments(commandForReading(command));
7250
7272
  var invocationTextWith = ({ program, args }, wordText) => {
7251
7273
  if (program === void 0) return "";
@@ -9449,7 +9471,7 @@ var withoutShellGrouping = (segment) => {
9449
9471
  while (closesAGroupItDidNotOpen(text3)) text3 = text3.slice(0, -1).trimEnd();
9450
9472
  return text3;
9451
9473
  };
9452
- var HEREDOC_OPERATOR3 = /(?<!<)\d*<<(?!<)-?[ \t]*(?:'([A-Za-z_]\w*)'|"([A-Za-z_]\w*)"|\\?([A-Za-z_]\w*))/g;
9474
+ var HEREDOC_OPERATOR3 = boundedOnLongRuns(/(?<!<)\d*<<(?!<)-?[ \t]*(?:'([A-Za-z_]\w*)'|"([A-Za-z_]\w*)"|\\?([A-Za-z_]\w*))/g, NOT_LATER_IN_A_RUN_OF_DIGITS_A_HEREDOC_MAY_OWN);
9453
9475
  var HEREDOC_MARK = "\uE001";
9454
9476
  var withHeredocBodiesSetAside = (command) => {
9455
9477
  const lines = command.split("\n");
@@ -9457,8 +9479,8 @@ var withHeredocBodiesSetAside = (command) => {
9457
9479
  const bodies = [];
9458
9480
  for (let index = 0; index < lines.length; index += 1) {
9459
9481
  const line = lines[index] ?? "";
9460
- const delimiters = [...line.matchAll(HEREDOC_OPERATOR3)].map((match) => match[1] ?? match[2] ?? match[3] ?? "");
9461
- kept.push(line.replace(HEREDOC_OPERATOR3, ` ${HEREDOC_MARK} `));
9482
+ const delimiters = [...line.matchAll(patternFor(HEREDOC_OPERATOR3, line))].map((match) => match[1] ?? match[2] ?? match[3] ?? "");
9483
+ kept.push(line.replace(patternFor(HEREDOC_OPERATOR3, line), ` ${HEREDOC_MARK} `));
9462
9484
  for (const delimiter of delimiters) {
9463
9485
  const body = [];
9464
9486
  for (index += 1; index < lines.length && !mightEndAHeredoc(lines[index] ?? "", delimiter); index += 1) {
@@ -9472,7 +9494,7 @@ var withHeredocBodiesSetAside = (command) => {
9472
9494
  return { text: kept.join("\n"), bodies };
9473
9495
  };
9474
9496
  var REDIRECTION_TARGET = String.raw`(?:'[^']*'|"[^"]*"|[^\s;|&()<>]+)`;
9475
- var INPUT_REDIRECTION = new RegExp(String.raw`\d*(?:<<<|<(?![<(&>]))\s*${REDIRECTION_TARGET}`, "g");
9497
+ var INPUT_REDIRECTION = boundedOnLongRuns(new RegExp(String.raw`\d*(?:<<<|<(?![<(&>]))\s*${REDIRECTION_TARGET}`, "g"), NOT_LATER_IN_A_RUN_OF_DIGITS);
9476
9498
  var OUTPUT_REDIRECTION = new RegExp(String.raw`(?<!\d)(?:\d*|&)(?:>>?|>\||<>|>&|<&)\s*(${REDIRECTION_TARGET})`, "g");
9477
9499
  var REDIRECTED_INPUT_MARK = "\uE000";
9478
9500
  var ROUGH_SEPARATORS = ["&&", "||", "$(", "\n", ";", "|", "&", "`", "(", ")", "{", "}"];
@@ -9552,7 +9574,7 @@ var withoutOutputRedirectionTargets = (text3) => {
9552
9574
  var roughSegmentsOf = (command) => {
9553
9575
  const { text: text3, bodies } = withHeredocBodiesSetAside(commandForReading(command));
9554
9576
  const markedInput = (redirection, offset, whole) => `${digitsThatContinueTheWordBefore(redirection, offset, whole)} ${REDIRECTED_INPUT_MARK} `;
9555
- const pieces = roughPiecesOf(withoutOutputRedirectionTargets(text3.replace(INPUT_REDIRECTION, markedInput)));
9577
+ const pieces = roughPiecesOf(withoutOutputRedirectionTargets(text3.replace(patternFor(INPUT_REDIRECTION, text3), markedInput)));
9556
9578
  let heredocsSeen = 0;
9557
9579
  return pieces.map((piece, index) => {
9558
9580
  const heredocCount = occurrencesOf(piece.text, HEREDOC_MARK);
@@ -9909,7 +9931,7 @@ var commandStartsWithProgramUnderHomeOrPwd = (command, invocation, innermost) =>
9909
9931
  const programText = innermost.program?.text ?? "";
9910
9932
  return invocation.program?.text === programText && PROGRAM_PATH_UNDER_HOME_OR_PWD.test(programText) && command.trimStart().replace(LEADING_QUOTE, "").startsWith(programText);
9911
9933
  };
9912
- var SUBSTITUTION_AS_A_PROGRAM = new RegExp(String.raw`(?:^|[;&|({\n]|(?:^|[\s;&|({])(?:${WORDS_THAT_OPEN_A_COMMAND2})\s)\s*"?(?:\$\(|\`)`);
9934
+ var SUBSTITUTION_AS_A_PROGRAM = new RegExp(String.raw`(?:^\s*|[;&|({]\s*|\n[^\S\n]*|(?:^|[\s;&|({])(?:${WORDS_THAT_OPEN_A_COMMAND2})\s\s*)"?(?:\$\(|\`)`);
9913
9935
  var runsASubstitutionAsAProgram = (command) => {
9914
9936
  const visible = shellVisibleText(withHeredocBodiesSetAside(commandForReading(command)).text);
9915
9937
  return visible !== null && SUBSTITUTION_AS_A_PROGRAM.test(visible);
@@ -12857,19 +12879,24 @@ var stepsARuleMayName = (input, mayRunANamedProgram, depth, budget) => {
12857
12879
  if (read.kind === "too_many_functions" || !readsWithin(budget, totalLengthOf(read.steps))) return STEPS_NOT_READ_IN_FULL;
12858
12880
  const pieces = stepsWithTheirRedirections(command);
12859
12881
  const steps = [.../* @__PURE__ */ new Set([...read.steps, ...pieces.length >= SEVERAL_COMMANDS ? pieces : []])].filter(isAnotherCommandThan(command)).filter(mayRunANamedProgram).filter(showsWhatItRunsOnItsOwn(input.toolName));
12860
- calls.push(...steps.map(callOfAStep(input, toolInput)));
12882
+ calls.push(...steps.map(callOfAStep(withoutStandingDeniesOfTheWholeTool(input), toolInput)));
12861
12883
  }
12862
12884
  } catch {
12863
12885
  return STEPS_NOT_READ_IN_FULL;
12864
12886
  }
12865
12887
  return depth >= MAX_SPELLING_DEPTH && calls.length > 0 ? STEPS_NOT_READ_IN_FULL : { kind: "read", steps: calls };
12866
12888
  };
12867
- var withOnlyItsStandingDenies = (config) => ({
12889
+ var isAStandingDenyOfAnArgumentOf = (toolName) => (policy) => isAutoDeny(policy) && namesAnArgumentOf(policy.tool, toolName);
12890
+ var withOnlyItsStandingDeniesOfAnArgument = (config, toolName) => ({
12868
12891
  ...config,
12869
- policies: config.policies.filter(isAutoDeny)
12892
+ policies: config.policies.filter(isAStandingDenyOfAnArgumentOf(toolName))
12893
+ });
12894
+ var withoutStandingDeniesOfTheWholeTool = (input) => ({
12895
+ ...input,
12896
+ config: { ...input.config, policies: input.config.policies.filter((policy) => !isAutoDeny(policy) || namesAnArgumentOf(policy.tool, input.toolName)) }
12870
12897
  });
12871
12898
  var isARefusal = (verdict) => verdict.kind === "deny";
12872
- var refusalsByTheStandingDeniesOfTheWholeCall = (input) => [gateVerdictOfTheCall({ ...input, config: withOnlyItsStandingDenies(input.config) })].filter(isARefusal);
12899
+ var refusalsByTheStandingDeniesOfTheWholeCall = (input) => [gateVerdictOfTheCall({ ...input, config: withOnlyItsStandingDeniesOfAnArgument(input.config, input.toolName) })].filter(isARefusal);
12873
12900
  var verdictsHeldToTheirOwnSteps = (steps, depth, budget) => {
12874
12901
  const verdicts = [];
12875
12902
  for (const { command, call } of steps) {
@@ -12906,11 +12933,14 @@ var readingWithEachSubstitutionPrintingWhatItShows = (command) => {
12906
12933
  const substitutions = commandSubstitutionsReadIn(command);
12907
12934
  return substitutions.kind === "read" && substitutions.eachPrintingWhatItVisiblyPrints !== substitutions.eachPrintingOneWord ? [substitutions.eachPrintingWhatItVisiblyPrints] : [];
12908
12935
  };
12909
- var A_REDIRECTION = new RegExp(String.raw`(?:&>{1,2}|\d*(?:>{1,2}\|?|<))[ \t]*${REDIRECTION_TARGET}`, "g");
12936
+ var A_REDIRECTION = boundedOnLongRuns(new RegExp(String.raw`(?:&>{1,2}|\d*(?:>{1,2}\|?|<))[ \t]*${REDIRECTION_TARGET}`, "g"), NOT_LATER_IN_A_RUN_OF_DIGITS);
12910
12937
  var A_RUN_OF_BLANKS = /[ \t]{2,}/g;
12911
12938
  var A_RUN_OF_LINE_BREAKS = /\n{2,}/g;
12912
12939
  var withoutRunsOfBlanks = (command) => command.replace(A_RUN_OF_BLANKS, " ").replace(A_RUN_OF_LINE_BREAKS, "\n");
12913
- var withoutRedirections = (command) => withRedirectionsThatHoldNoSeparator(command).replace(A_REDIRECTION, " ");
12940
+ var withoutRedirections = (command) => {
12941
+ const text3 = withRedirectionsThatHoldNoSeparator(command);
12942
+ return text3.replace(patternFor(A_REDIRECTION, text3), " ");
12943
+ };
12914
12944
  var stepsWithTheirVariableProgramsSpelledOut = (command) => {
12915
12945
  const texts = /* @__PURE__ */ new Set([withoutRunsOfBlanks(command), withoutRunsOfBlanks(withoutRedirections(command))]);
12916
12946
  const steps = [...texts].flatMap((text3) => commandsWithEachVariableProgramRead(text3, { characters: Math.max(LEAST_VALUE_READING_TEXT_IN_A_CALL, command.length) }));
@@ -2,7 +2,7 @@ import {
2
2
  apiKeyInForce,
3
3
  configFilePath,
4
4
  keyPrefixToShow
5
- } from "./chunk-NQJL6KGF.js";
5
+ } from "./chunk-FTWDXWIC.js";
6
6
  import {
7
7
  backupFile,
8
8
  backupFileInto,
@@ -15,7 +15,7 @@ import {
15
15
  isRecord,
16
16
  isValidApiKey,
17
17
  normalizeInstallSource
18
- } from "./chunk-ZHMA3XMN.js";
18
+ } from "./chunk-DQ4JAE76.js";
19
19
 
20
20
  // src/install-source.ts
21
21
  import { readFileSync } from "fs";
@@ -5,7 +5,7 @@ import {
5
5
  ensureCodexTrustsPusharyHooks,
6
6
  hermesHistoryNeedsTheCliHelper,
7
7
  recordInstalledHermesHistoryHelper
8
- } from "./chunk-TFSXOOKJ.js";
8
+ } from "./chunk-4TZE23IY.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-TUWADETS.js";
17
+ } from "./chunk-ESHKK3NZ.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-E6RGE25R.js";
26
+ } from "./chunk-2JZM72KC.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-GVUI33P3.js";
39
+ } from "./chunk-OK5XINZK.js";
40
40
  import {
41
41
  detectClaudeVersion
42
- } from "./chunk-XXK3SKTN.js";
42
+ } from "./chunk-EA7G2WD3.js";
43
43
  import {
44
44
  addCompatibleHooks,
45
45
  compatibleConfigFile,
46
46
  compatibleInstructionsFile,
47
47
  hasCompatibleHooks
48
- } from "./chunk-UHYTUX6V.js";
48
+ } from "./chunk-SBULIKB5.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-ZT4LWTUF.js";
60
+ } from "./chunk-37U5RQKQ.js";
61
61
  import {
62
62
  transcriptsEnabled
63
- } from "./chunk-6YKYLFJQ.js";
63
+ } from "./chunk-ZMVHJCM2.js";
64
64
  import {
65
65
  KEY_FILE_MODE
66
- } from "./chunk-KYGOQCXV.js";
66
+ } from "./chunk-DTJ654CO.js";
67
67
  import {
68
68
  CLAUDE_CODE_PUSHARY_PERMISSION_RULES,
69
69
  CLAUDE_HOOK_BINARY,
@@ -113,7 +113,7 @@ import {
113
113
  replaceCodexMcpEmbeddedKey,
114
114
  supportedClaudeEvents,
115
115
  vscodePluginMcp
116
- } from "./chunk-K6UVBV3O.js";
116
+ } from "./chunk-4YHQYYTJ.js";
117
117
  import {
118
118
  formatVersion
119
119
  } from "./chunk-6ICPEJY5.js";
@@ -121,7 +121,7 @@ import {
121
121
  hookCommandsUseBareNames,
122
122
  resolveGlobalBinDir,
123
123
  resolveGlobalBinary
124
- } from "./chunk-LFPNXVGA.js";
124
+ } from "./chunk-E6DLZK6F.js";
125
125
  import {
126
126
  readJsonSafe,
127
127
  writeFileAtomic,
@@ -131,7 +131,7 @@ import {
131
131
  HOOK_COMPATIBLE_PROFILES,
132
132
  isCompatibleAgentType,
133
133
  isRecord
134
- } from "./chunk-ZHMA3XMN.js";
134
+ } from "./chunk-DQ4JAE76.js";
135
135
 
136
136
  // src/reapply.ts
137
137
  import { dirname, join } from "path";
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-CXQWDQCJ.js";
20
20
  import {
21
21
  redactSecretsFromContent
22
- } from "./chunk-ZHMA3XMN.js";
22
+ } from "./chunk-DQ4JAE76.js";
23
23
 
24
24
  // src/shell-quote.ts
25
25
  var shellDoubleQuoted = (text) => `"${text.replace(/(["\\$`])/g, "\\$1")}"`;
@@ -610,9 +610,9 @@ var installGlobally = (options) => {
610
610
  }
611
611
  const started = (async () => {
612
612
  if (!npmIsOnPath()) throw new NpmMissingError();
613
- const { withUpgradeLock } = await import("./global-upgrade-5KS52ZKC.js");
614
- const { canonicalLockPath, installWithUpgradeLock, leftAnUnfinishedInstallHere, ownsUpgradeLock } = await import("./upgrade-lock-4AQQPPQW.js");
615
- const { autoUpdateLock } = await import("./paths-3IRY5CPE.js");
613
+ const { withUpgradeLock } = await import("./global-upgrade-KHCU2JYT.js");
614
+ const { canonicalLockPath, installWithUpgradeLock, leftAnUnfinishedInstallHere, ownsUpgradeLock } = await import("./upgrade-lock-CRYW2DXA.js");
615
+ const { autoUpdateLock } = await import("./paths-KDPFVDE5.js");
616
616
  const lockPath = options.lockPath ?? autoUpdateLock();
617
617
  const lockFile = canonicalLockPath(lockPath);
618
618
  const unfinishedHere = failuresThisProcessLeftUnfinished.get(lockFile);
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-6ICPEJY5.js";
7
7
  import {
8
8
  isRecord
9
- } from "./chunk-ZHMA3XMN.js";
9
+ } from "./chunk-DQ4JAE76.js";
10
10
 
11
11
  // src/setup/agent-probe.ts
12
12
  import { execSync } from "child_process";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  autoUpdateLock
3
- } from "./chunk-K6UVBV3O.js";
3
+ } from "./chunk-4YHQYYTJ.js";
4
4
  import {
5
5
  installPackageGlobally,
6
6
  npmErrorMessage,
7
7
  throwIfNpmRefusesInstall
8
- } from "./chunk-LFPNXVGA.js";
8
+ } from "./chunk-E6DLZK6F.js";
9
9
  import {
10
10
  writeJsonAtomic
11
11
  } from "./chunk-PM2NRK6Y.js";
@@ -16,7 +16,7 @@ import {
16
16
  uninstallOpenClawPlugin,
17
17
  unsetOpenClawEntry,
18
18
  writeOpenClawEntry
19
- } from "./chunk-33OPFYPX.js";
19
+ } from "./chunk-6BSQQQPF.js";
20
20
  import {
21
21
  needsShell
22
22
  } from "./chunk-3PSNUHC5.js";
@@ -28,14 +28,14 @@ import {
28
28
  openClawDirectoriesToLookIn,
29
29
  openClawPluginFolder,
30
30
  openClawSetupReceiptDirectory
31
- } from "./chunk-K6UVBV3O.js";
31
+ } from "./chunk-4YHQYYTJ.js";
32
32
  import {
33
33
  atLeast,
34
34
  parseVersion
35
35
  } from "./chunk-6ICPEJY5.js";
36
36
  import {
37
37
  resolvePathBinary
38
- } from "./chunk-LFPNXVGA.js";
38
+ } from "./chunk-E6DLZK6F.js";
39
39
  import {
40
40
  readJsonSafe,
41
41
  writeJsonAtomic
@@ -46,7 +46,7 @@ import {
46
46
  } from "./chunk-CXQWDQCJ.js";
47
47
  import {
48
48
  isRecord
49
- } from "./chunk-ZHMA3XMN.js";
49
+ } from "./chunk-DQ4JAE76.js";
50
50
 
51
51
  // src/hermes/plugin-payload.ts
52
52
  import { createHash } from "crypto";
@@ -2,7 +2,7 @@ import {
2
2
  MCP_TOOLS_THAT_SEND_SOMETHING_OUT_LABEL,
3
3
  MCP_TOOLS_THAT_SEND_SOMETHING_OUT_PATTERN,
4
4
  WILDCARD_TOOL_PATTERN
5
- } from "./chunk-ZHMA3XMN.js";
5
+ } from "./chunk-DQ4JAE76.js";
6
6
 
7
7
  // src/wait-ladder.ts
8
8
  var WAIT_RULE_LABELS = {
@@ -4,21 +4,21 @@ import {
4
4
  claimThrottle,
5
5
  releaseThrottle,
6
6
  reportEvent
7
- } from "./chunk-NTAED56W.js";
7
+ } from "./chunk-PJ2MCXPU.js";
8
8
  import {
9
9
  deriveToolTarget,
10
10
  permissionDeniedAction
11
- } from "./chunk-LRX7TEWQ.js";
11
+ } from "./chunk-DFEGXN5S.js";
12
12
  import {
13
13
  projectNameFor
14
- } from "./chunk-O4RC7XJY.js";
14
+ } from "./chunk-S3H2J5PJ.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-ZHMA3XMN.js";
21
+ } from "./chunk-DQ4JAE76.js";
22
22
 
23
23
  // src/machine-decision-audit.ts
24
24
  var MACHINE_DECISION_REPORT_TIMEOUT_MS = 800;