pushary 1.9.282 → 1.9.283

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 +8 -0
  2. package/dist/{api-WBSDPSHN.js → api-OJRU3MYI.js} +12 -12
  3. package/dist/bin/pushary-ask.js +14 -14
  4. package/dist/bin/pushary-audit.js +3 -3
  5. package/dist/bin/pushary-bell-hook.js +28 -28
  6. package/dist/bin/pushary-bell.js +11 -11
  7. package/dist/bin/pushary-calls.js +14 -14
  8. package/dist/bin/pushary-claude.js +25 -25
  9. package/dist/bin/pushary-clean.js +39 -39
  10. package/dist/bin/pushary-codex-bridge.js +22 -22
  11. package/dist/bin/pushary-codex-hook.js +34 -34
  12. package/dist/bin/pushary-codex-session.js +8 -8
  13. package/dist/bin/pushary-codex.js +16 -16
  14. package/dist/bin/pushary-connect.js +35 -35
  15. package/dist/bin/pushary-cowork.js +5 -5
  16. package/dist/bin/pushary-daemon.js +46 -46
  17. package/dist/bin/pushary-disconnect.js +30 -30
  18. package/dist/bin/pushary-display-hook.js +2 -3
  19. package/dist/bin/pushary-doctor.js +61 -68
  20. package/dist/bin/pushary-elicitation-hook.js +27 -27
  21. package/dist/bin/pushary-gemini-bridge.js +17 -17
  22. package/dist/bin/pushary-gemini-hook.js +31 -31
  23. package/dist/bin/pushary-hook.js +35 -35
  24. package/dist/bin/pushary-login.js +42 -42
  25. package/dist/bin/pushary-logout.js +31 -31
  26. package/dist/bin/pushary-mcp.js +12 -12
  27. package/dist/bin/pushary-mode.js +15 -15
  28. package/dist/bin/pushary-notification-hook.js +27 -27
  29. package/dist/bin/pushary-opencode-bridge.js +21 -21
  30. package/dist/bin/pushary-opencode-hook.js +32 -32
  31. package/dist/bin/pushary-permission-denied-hook.js +34 -34
  32. package/dist/bin/pushary-permission-hook.js +35 -35
  33. package/dist/bin/pushary-post-hook.js +28 -28
  34. package/dist/bin/pushary-prompt-hook.js +27 -27
  35. package/dist/bin/pushary-session-end-hook.js +27 -27
  36. package/dist/bin/pushary-session-start-hook.js +39 -39
  37. package/dist/bin/pushary-sessions.js +12 -12
  38. package/dist/bin/pushary-setup.js +59 -59
  39. package/dist/bin/pushary-stats.js +5 -5
  40. package/dist/bin/pushary-status.js +36 -36
  41. package/dist/bin/pushary-stop-hook.js +27 -27
  42. package/dist/bin/pushary-stopfailure-hook.js +27 -27
  43. package/dist/bin/pushary-suggestions.js +15 -15
  44. package/dist/bin/pushary-transcript-register.js +16 -16
  45. package/dist/bin/pushary-transcripts.js +25 -25
  46. package/dist/bin/pushary-upgrade.js +47 -47
  47. package/dist/bin/pushary-wait.js +67 -30
  48. package/dist/bin/pushary.js +7 -7
  49. package/dist/{chunk-7WCBGOXC.js → chunk-26RKJL2X.js} +2 -2
  50. package/dist/{chunk-4EJ6BFQ6.js → chunk-2JWCBGFX.js} +3 -3
  51. package/dist/{chunk-SCR7JFIZ.js → chunk-3B3UE65E.js} +12 -12
  52. package/dist/{chunk-LE2GNKVF.js → chunk-4RPG3SFC.js} +3 -3
  53. package/dist/{chunk-DI7VQ4PL.js → chunk-4ZWNL3CK.js} +1 -1
  54. package/dist/{chunk-URYZAUMK.js → chunk-5RSXB22M.js} +4 -4
  55. package/dist/{chunk-PATTVCJS.js → chunk-5YSFXK2C.js} +2 -2
  56. package/dist/{chunk-JKMX5HMU.js → chunk-6GCGRTR7.js} +1 -1
  57. package/dist/{chunk-GBMURSB4.js → chunk-6MUWWEYX.js} +7 -7
  58. package/dist/{chunk-7FUEG6WT.js → chunk-6RAIYGKT.js} +1 -1
  59. package/dist/{chunk-GS6XPW45.js → chunk-6VK43QVL.js} +7 -7
  60. package/dist/{chunk-5WZAL3IG.js → chunk-73SEBA5G.js} +4 -4
  61. package/dist/{chunk-YQNGHX3P.js → chunk-7OOQJD33.js} +3 -3
  62. package/dist/{chunk-7DZ7UZQE.js → chunk-7PRPLYOT.js} +31 -6
  63. package/dist/{chunk-L25W4SZ2.js → chunk-7VL6QZ3C.js} +3 -3
  64. package/dist/{chunk-GOMIXT5C.js → chunk-7Y3NHQSD.js} +5 -5
  65. package/dist/{chunk-IJOGKO3Z.js → chunk-AIBGURF2.js} +1 -1
  66. package/dist/{chunk-67D6KDPJ.js → chunk-AKUQLREQ.js} +4 -4
  67. package/dist/{chunk-YM3TSHT2.js → chunk-AOLCAXRB.js} +1 -1
  68. package/dist/{chunk-ZL46IS5W.js → chunk-ATWYNEN4.js} +1 -1
  69. package/dist/{chunk-ODSUVMII.js → chunk-B7SK3EXB.js} +5 -5
  70. package/dist/{chunk-6SJ3YYPS.js → chunk-CA7VX4KS.js} +2 -2
  71. package/dist/{chunk-NQCIACTR.js → chunk-CBA4AVFT.js} +4 -4
  72. package/dist/{chunk-XV54WWNB.js → chunk-CPNPPYQL.js} +3 -3
  73. package/dist/{chunk-DGIMLJ7N.js → chunk-CWQU75DS.js} +3 -3
  74. package/dist/{chunk-DPTI6ZTZ.js → chunk-DTYSJP6K.js} +2 -2
  75. package/dist/{chunk-M4B3D76U.js → chunk-E4WNMH33.js} +1 -1
  76. package/dist/{chunk-3I6Z6YKA.js → chunk-EANJH5FQ.js} +5 -5
  77. package/dist/{chunk-I5RNSFXB.js → chunk-EDVQWYSU.js} +4 -4
  78. package/dist/{chunk-PUDKDFOZ.js → chunk-EGZUBQL6.js} +1 -1
  79. package/dist/{chunk-TCQ3SHEC.js → chunk-EUO5U5V7.js} +6 -6
  80. package/dist/{chunk-XKTBFWO2.js → chunk-FIAXP3LF.js} +1 -1
  81. package/dist/{chunk-VSF3OSWI.js → chunk-FNENGMPK.js} +1 -1
  82. package/dist/{chunk-JP545GB4.js → chunk-FQWIGDXG.js} +1 -1
  83. package/dist/{chunk-AGBCUPRE.js → chunk-GS4D3NTI.js} +5 -5
  84. package/dist/{chunk-KKPI7MVG.js → chunk-HKXFHEB4.js} +4 -4
  85. package/dist/{chunk-QGQA4VUR.js → chunk-HX3RPHIH.js} +8 -8
  86. package/dist/{chunk-VY7Q5MEQ.js → chunk-I67ZGYEY.js} +5 -5
  87. package/dist/{chunk-LKL7VIWF.js → chunk-IASJJRQV.js} +3 -3
  88. package/dist/{chunk-Q5MYEDCP.js → chunk-IP6BVZZL.js} +6 -6
  89. package/dist/{chunk-DWL2XZNZ.js → chunk-IPJRN56U.js} +5 -5
  90. package/dist/{chunk-YEQF4H76.js → chunk-IX2DKVF2.js} +4 -4
  91. package/dist/{chunk-O6LVUSRY.js → chunk-J2UDVVCB.js} +6 -6
  92. package/dist/{chunk-DLRZZHXC.js → chunk-JHYVJYGR.js} +6 -6
  93. package/dist/{chunk-2562EGWD.js → chunk-JP7RRADP.js} +1 -1
  94. package/dist/{chunk-I2OOSUJN.js → chunk-JPSCKMYH.js} +1 -1
  95. package/dist/{chunk-MYXHCXD3.js → chunk-JSYYVEVW.js} +4 -4
  96. package/dist/{chunk-2SE3TSWT.js → chunk-JWMDRKAO.js} +10 -10
  97. package/dist/{chunk-JUZC524C.js → chunk-K4YUNJDY.js} +5 -5
  98. package/dist/{chunk-OVUJLLPD.js → chunk-KMMO3K2C.js} +27 -22
  99. package/dist/{chunk-NL4NVNSD.js → chunk-L2BJVSVI.js} +2 -2
  100. package/dist/{chunk-R5P25UN2.js → chunk-M3MD5Y2O.js} +5 -5
  101. package/dist/{chunk-ENTFHIJ5.js → chunk-M6T24IVX.js} +1 -1
  102. package/dist/{chunk-KV65OAIF.js → chunk-N6RX3ZWB.js} +1 -1
  103. package/dist/{chunk-JXVZO2TC.js → chunk-NWFO2WGB.js} +2 -2
  104. package/dist/{chunk-DEGZHZLH.js → chunk-OOSOLBO2.js} +1 -1
  105. package/dist/{chunk-OPWXKDXN.js → chunk-OQVYOMNI.js} +4 -4
  106. package/dist/{chunk-FYGOACNH.js → chunk-OTIXTZA6.js} +2 -2
  107. package/dist/{chunk-RI6C7WBQ.js → chunk-OYRQZWXW.js} +2 -2
  108. package/dist/{chunk-Z7F7SITX.js → chunk-PUNIACRA.js} +4 -4
  109. package/dist/{chunk-QG742PJG.js → chunk-QSPYUDHD.js} +1 -1
  110. package/dist/{chunk-USRBNJJX.js → chunk-QU2NSBXD.js} +1 -1
  111. package/dist/{chunk-36CZVHOH.js → chunk-RJ5HUNEE.js} +1 -1
  112. package/dist/{chunk-7CIMT2QH.js → chunk-SAFK3BQB.js} +1 -1
  113. package/dist/{chunk-3FCGMTG2.js → chunk-SIP2BFVS.js} +6 -6
  114. package/dist/{chunk-HJ25OOZL.js → chunk-SL6ZTQA2.js} +1 -1
  115. package/dist/{chunk-G6EN7DLG.js → chunk-SWGR226D.js} +10 -10
  116. package/dist/{chunk-6TC6Y5FE.js → chunk-T5D3F6ME.js} +5 -5
  117. package/dist/{chunk-SIZMK3SF.js → chunk-TBCHTCA2.js} +1 -1
  118. package/dist/{chunk-RECYGQIM.js → chunk-TVQWBXV2.js} +16 -16
  119. package/dist/{chunk-7OV4MW6B.js → chunk-UIOTVHQB.js} +2 -2
  120. package/dist/{chunk-3AKD2IMA.js → chunk-UOABAWQ4.js} +6 -6
  121. package/dist/{chunk-T2JHF3E4.js → chunk-VO22G4MS.js} +7 -7
  122. package/dist/{chunk-MZPWMXPX.js → chunk-VYLJWG3B.js} +2 -10
  123. package/dist/{chunk-HPYVOBVO.js → chunk-XC2O4MA3.js} +1 -1
  124. package/dist/chunk-XGWKMWKM.js +42 -0
  125. package/dist/{chunk-KSHM2X7A.js → chunk-XKSIMUZM.js} +2 -2
  126. package/dist/{chunk-D35MHKUM.js → chunk-XOZZ7LFC.js} +2 -2
  127. package/dist/{chunk-VYMBV6M5.js → chunk-Y5INUJ2S.js} +3 -3
  128. package/dist/{chunk-7CCJLPFF.js → chunk-YARDFZND.js} +2 -2
  129. package/dist/{chunk-H5BATWAL.js → chunk-YG5TIW73.js} +3 -3
  130. package/dist/{chunk-QXPI7LOZ.js → chunk-YSR7QVMN.js} +3 -3
  131. package/dist/{chunk-2NNCVW26.js → chunk-ZUHELFIM.js} +3 -3
  132. package/dist/{codex-app-cards-switch-DGTEKXMX.js → codex-app-cards-switch-2ZVORWWV.js} +11 -11
  133. package/dist/{codex-card-routing-ESKPXKXS.js → codex-card-routing-PLD74MXM.js} +2 -2
  134. package/dist/{codex-desktop-launch-HCEBT2IM.js → codex-desktop-launch-BDR7I3AT.js} +3 -3
  135. package/dist/{codex-session-launch-PXWW7EDP.js → codex-session-launch-HZJWXLWT.js} +21 -21
  136. package/dist/{config-PFH6OQ6M.js → config-DY2KBMHL.js} +3 -3
  137. package/dist/{global-upgrade-UU3H3EFW.js → global-upgrade-H4CHC3PX.js} +9 -9
  138. package/dist/{identity-JHCLWMLI.js → identity-BEGPK37L.js} +4 -4
  139. package/dist/{live-capabilities-3K6DM4A3.js → live-capabilities-W4YZO6AH.js} +4 -4
  140. package/dist/{paths-TMTWXB5B.js → paths-J7L3IDOW.js} +3 -3
  141. package/dist/{reapply-RT4T77RQ.js → reapply-3ECJVIWC.js} +34 -34
  142. package/dist/src/index.js +33 -33
  143. package/dist/{upgrade-lock-NGYIAYBZ.js → upgrade-lock-UPLYK4CW.js} +4 -4
  144. package/dist/{usage-LGGUWLJM.js → usage-ZDDF7U5L.js} +3 -3
  145. package/package.json +1 -1
@@ -2,31 +2,31 @@ import {
2
2
  SIGNED_OUT_ON_MAC_MESSAGE,
3
3
  describeSignedOutKey,
4
4
  readSignedOutDiagnosis
5
- } from "./chunk-PATTVCJS.js";
5
+ } from "./chunk-5YSFXK2C.js";
6
6
  import {
7
7
  APPROVAL_RULES_PATH
8
- } from "./chunk-7CCJLPFF.js";
8
+ } from "./chunk-YARDFZND.js";
9
9
  import {
10
10
  createIo
11
- } from "./chunk-KV65OAIF.js";
11
+ } from "./chunk-N6RX3ZWB.js";
12
12
  import {
13
13
  absoluteUrl,
14
14
  checkApiKey,
15
15
  describeKeyCheck,
16
16
  keyCheckFromResponse
17
- } from "./chunk-QXPI7LOZ.js";
17
+ } from "./chunk-YSR7QVMN.js";
18
18
  import {
19
19
  readKeySource
20
- } from "./chunk-DPTI6ZTZ.js";
20
+ } from "./chunk-DTYSJP6K.js";
21
21
  import {
22
22
  getBaseUrl
23
- } from "./chunk-D35MHKUM.js";
23
+ } from "./chunk-XOZZ7LFC.js";
24
24
  import {
25
25
  EXIT
26
26
  } from "./chunk-BG4HHB7E.js";
27
27
  import {
28
28
  KEY_SCOPE
29
- } from "./chunk-LE2GNKVF.js";
29
+ } from "./chunk-4RPG3SFC.js";
30
30
 
31
31
  // src/cli/report-key.ts
32
32
  var { dim, yellow } = createIo();
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  macAppBridgeAvailable
3
- } from "./chunk-GBMURSB4.js";
3
+ } from "./chunk-6MUWWEYX.js";
4
4
  import {
5
5
  keyPrefix
6
- } from "./chunk-DPTI6ZTZ.js";
6
+ } from "./chunk-DTYSJP6K.js";
7
7
  import {
8
8
  bridgeAgentKey
9
- } from "./chunk-KSHM2X7A.js";
9
+ } from "./chunk-XKSIMUZM.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-LE2GNKVF.js";
16
+ } from "./chunk-4RPG3SFC.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,9 +1,9 @@
1
1
  import {
2
2
  readExistingMachineId
3
- } from "./chunk-I2OOSUJN.js";
3
+ } from "./chunk-JPSCKMYH.js";
4
4
  import {
5
5
  getBaseUrl
6
- } from "./chunk-D35MHKUM.js";
6
+ } from "./chunk-XOZZ7LFC.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-LE2GNKVF.js";
16
+ } from "./chunk-4RPG3SFC.js";
17
17
 
18
18
  // src/cli/net.ts
19
19
  import { createRequire } from "module";
@@ -3,8 +3,11 @@ import {
3
3
  MCP_TOOLS_THAT_SEND_SOMETHING_OUT_PATTERN,
4
4
  WILDCARD_TOOL_PATTERN,
5
5
  effectiveWaitSeconds,
6
- hookMaxWaitSeconds
7
- } from "./chunk-LE2GNKVF.js";
6
+ hookMaxWaitSeconds,
7
+ isAutoApprove,
8
+ isAutoDeny,
9
+ isTimeoutAction
10
+ } from "./chunk-4RPG3SFC.js";
8
11
 
9
12
  // src/wait-ladder.ts
10
13
  var WAIT_RULE_LABELS = {
@@ -13,7 +16,18 @@ var WAIT_RULE_LABELS = {
13
16
  };
14
17
  var waitRuleLabelOf = (tool) => Object.hasOwn(WAIT_RULE_LABELS, tool) ? WAIT_RULE_LABELS[tool] ?? tool : tool;
15
18
  var HAND_BACK = "then hand back to the agent's own prompt";
19
+ var RULE_APPROVES_LADDER = "approved by a rule, nothing is asked";
20
+ var RULE_REFUSES_LADDER = "refused by a rule, nothing is asked";
21
+ var standingDecisionLadderOf = (p) => {
22
+ if (!isTimeoutAction(p.timeoutAction)) return null;
23
+ const rule = { timeoutSeconds: p.timeoutSeconds, timeoutAction: p.timeoutAction };
24
+ if (isAutoDeny(rule)) return RULE_REFUSES_LADDER;
25
+ if (isAutoApprove(rule)) return RULE_APPROVES_LADDER;
26
+ return null;
27
+ };
16
28
  var describeWaitLadder = (p) => {
29
+ const standingDecision = standingDecisionLadderOf(p);
30
+ if (standingDecision !== null) return standingDecision;
17
31
  if (p.mode === "terminal_only") return "no approval alerts, the agent's own prompt decides";
18
32
  if (p.mode === "notify_only") return "send an approval alert, then the agent's own prompt decides";
19
33
  if (p.mode === "push_only") {
@@ -36,7 +50,7 @@ var servedPushOnlyWait = (p, agent) => {
36
50
  timeoutAction: handsBack ? HANDED_BACK_ACTION : p.timeoutAction
37
51
  };
38
52
  };
39
- var describeHookWaitLadder = (p, agent) => describeWaitLadder(p.mode === "push_only" ? servedPushOnlyWait(p, agent) : p);
53
+ var describeHookWaitLadder = (p, agent) => standingDecisionLadderOf(p) ?? describeWaitLadder(p.mode === "push_only" ? servedPushOnlyWait(p, agent) : p);
40
54
  var STOPPED_FROM_PUSHARY_LADDER = "agents are stopped from Pushary, every call is refused and nothing waits";
41
55
  var UNREAD_MODE_LADDER = "your mode could not be read, so the waits below may be shorter than what the hook does";
42
56
  var describeGateVerdictWait = (verdict, agent) => {
@@ -44,9 +58,9 @@ var describeGateVerdictWait = (verdict, agent) => {
44
58
  case "kill":
45
59
  return STOPPED_FROM_PUSHARY_LADDER;
46
60
  case "deny":
47
- return "refused by a rule, nothing is asked";
61
+ return RULE_REFUSES_LADDER;
48
62
  case "allow":
49
- return "approved by a rule, nothing is asked";
63
+ return RULE_APPROVES_LADDER;
50
64
  case "defer":
51
65
  return "the agent's own prompt decides";
52
66
  case "gate":
@@ -54,6 +68,14 @@ var describeGateVerdictWait = (verdict, agent) => {
54
68
  }
55
69
  };
56
70
  var gateVerdictRuleOf = (verdict) => verdict.kind === "kill" ? null : verdict.policy.tool;
71
+ var effectiveModeOverrideOf = (modeState, config) => modeState.mode ?? config.modeOverride ?? null;
72
+ var waitLadderNoticeOf = (modeState, config) => {
73
+ if (modeState.kill) return { kind: "stopped" };
74
+ if (modeState.degraded === true) return { kind: "mode_unread" };
75
+ const mode = effectiveModeOverrideOf(modeState, config);
76
+ return mode === null ? { kind: "own_rules" } : { kind: "override_applied", mode };
77
+ };
78
+ var ruleUnderModeOverride = (rule, modeOverride) => modeOverride === null ? rule : { ...rule, mode: modeOverride };
57
79
 
58
80
  export {
59
81
  waitRuleLabelOf,
@@ -64,5 +86,8 @@ export {
64
86
  STOPPED_FROM_PUSHARY_LADDER,
65
87
  UNREAD_MODE_LADDER,
66
88
  describeGateVerdictWait,
67
- gateVerdictRuleOf
89
+ gateVerdictRuleOf,
90
+ effectiveModeOverrideOf,
91
+ waitLadderNoticeOf,
92
+ ruleUnderModeOverride
68
93
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  serviceNodeFor
3
- } from "./chunk-3FCGMTG2.js";
3
+ } from "./chunk-SIP2BFVS.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-KSHM2X7A.js";
17
+ } from "./chunk-XKSIMUZM.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-KKPI7MVG.js";
24
+ } from "./chunk-HKXFHEB4.js";
25
25
  import {
26
26
  getPackageVersion,
27
27
  globalTranscriptRegisterEntry
@@ -9,7 +9,7 @@ import {
9
9
  installedCodexApp,
10
10
  readCodexAppRuntime,
11
11
  shellQuoted
12
- } from "./chunk-OPWXKDXN.js";
12
+ } from "./chunk-OQVYOMNI.js";
13
13
  import {
14
14
  writeHuman
15
15
  } from "./chunk-QCGNGEGE.js";
@@ -20,20 +20,20 @@ import {
20
20
  } from "./chunk-U4P4NDVB.js";
21
21
  import {
22
22
  parseConfigDocument
23
- } from "./chunk-HJ25OOZL.js";
23
+ } from "./chunk-SL6ZTQA2.js";
24
24
  import {
25
25
  xml
26
- } from "./chunk-3FCGMTG2.js";
26
+ } from "./chunk-SIP2BFVS.js";
27
27
  import {
28
28
  codexHomeFrom
29
- } from "./chunk-KSHM2X7A.js";
29
+ } from "./chunk-XKSIMUZM.js";
30
30
  import {
31
31
  readRegularTextFile,
32
32
  writeFileAtomic
33
33
  } from "./chunk-PM2NRK6Y.js";
34
34
  import {
35
35
  isRecord
36
- } from "./chunk-LE2GNKVF.js";
36
+ } from "./chunk-4RPG3SFC.js";
37
37
 
38
38
  // src/codex-app-cards-switch.ts
39
39
  import { execFileSync as execFileSync2 } from "child_process";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  shouldDeferToNativeMode
3
- } from "./chunk-LE2GNKVF.js";
3
+ } from "./chunk-4RPG3SFC.js";
4
4
 
5
5
  // src/native-defer.ts
6
6
  var nativeDeferOptions = () => {
@@ -16,7 +16,7 @@ import {
16
16
  uninstallOpenClawPlugin,
17
17
  unsetOpenClawEntry,
18
18
  writeOpenClawEntry
19
- } from "./chunk-DGIMLJ7N.js";
19
+ } from "./chunk-CWQU75DS.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-KSHM2X7A.js";
31
+ } from "./chunk-XKSIMUZM.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-KKPI7MVG.js";
38
+ } from "./chunk-HKXFHEB4.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-LE2GNKVF.js";
49
+ } from "./chunk-4RPG3SFC.js";
50
50
 
51
51
  // src/hermes/plugin-payload.ts
52
52
  import { createHash } from "crypto";
@@ -2,7 +2,7 @@ import {
2
2
  localRepoKey,
3
3
  normalizeRepoRemote,
4
4
  parseGitBranch
5
- } from "./chunk-LE2GNKVF.js";
5
+ } from "./chunk-4RPG3SFC.js";
6
6
 
7
7
  // src/repo.ts
8
8
  import { existsSync, readFileSync, statSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  HOOK_BUDGETS
3
- } from "./chunk-LE2GNKVF.js";
3
+ } from "./chunk-4RPG3SFC.js";
4
4
 
5
5
  // src/opencode-protocol.ts
6
6
  var OPENCODE_PLUGIN_MARKER = "pushary-opencode-plugin w1";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  openClawLauncherCandidates
3
- } from "./chunk-DGIMLJ7N.js";
3
+ } from "./chunk-CWQU75DS.js";
4
4
  import {
5
5
  openCodeConfigDirFrom
6
- } from "./chunk-GBMURSB4.js";
6
+ } from "./chunk-6MUWWEYX.js";
7
7
  import {
8
8
  grokHome
9
- } from "./chunk-Q5MYEDCP.js";
9
+ } from "./chunk-IP6BVZZL.js";
10
10
  import {
11
11
  nativeClaudeInstallPath
12
12
  } from "./chunk-TCE3J44Z.js";
@@ -16,10 +16,10 @@ import {
16
16
  codexHomeFrom,
17
17
  openClawEnvironmentOf,
18
18
  openClawPathsFrom
19
- } from "./chunk-KSHM2X7A.js";
19
+ } from "./chunk-XKSIMUZM.js";
20
20
  import {
21
21
  HOOK_COMPATIBLE_PROFILES
22
- } from "./chunk-LE2GNKVF.js";
22
+ } from "./chunk-4RPG3SFC.js";
23
23
 
24
24
  // src/vscode-config.ts
25
25
  import { homedir } from "os";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  claudeConfigDir
3
- } from "./chunk-KSHM2X7A.js";
3
+ } from "./chunk-XKSIMUZM.js";
4
4
  import {
5
5
  claudePermissionRulesFromSettings
6
- } from "./chunk-LE2GNKVF.js";
6
+ } from "./chunk-4RPG3SFC.js";
7
7
 
8
8
  // src/claude-permission-rules.ts
9
9
  import { readFileSync, statSync } from "fs";
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  parseSseMessages
3
- } from "./chunk-3AKD2IMA.js";
3
+ } from "./chunk-UOABAWQ4.js";
4
4
  import {
5
5
  fetchAsCredential
6
- } from "./chunk-XKTBFWO2.js";
6
+ } from "./chunk-FIAXP3LF.js";
7
7
  import {
8
8
  malformedApiKeyMessage
9
- } from "./chunk-D35MHKUM.js";
9
+ } from "./chunk-XOZZ7LFC.js";
10
10
  import {
11
11
  NPX_LATEST_COMMAND
12
- } from "./chunk-USRBNJJX.js";
12
+ } from "./chunk-QU2NSBXD.js";
13
13
 
14
14
  // src/mcp-stdio-bridge.ts
15
15
  var MCP_BRIDGE_BINARY = "pushary-mcp";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SETUP_FLAGS
3
- } from "./chunk-DI7VQ4PL.js";
3
+ } from "./chunk-4ZWNL3CK.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-USRBNJJX.js";
12
+ } from "./chunk-QU2NSBXD.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-LE2GNKVF.js";
20
+ } from "./chunk-4RPG3SFC.js";
21
21
 
22
22
  // src/cli/cowork.ts
23
23
  import { readFileSync } from "fs";
@@ -5,13 +5,13 @@ import {
5
5
  OPENCLAW_ENVIRONMENT_KEYS,
6
6
  openClawEnvironmentOf,
7
7
  openClawPathsFrom
8
- } from "./chunk-KSHM2X7A.js";
8
+ } from "./chunk-XKSIMUZM.js";
9
9
  import {
10
10
  resolvePathBinary
11
- } from "./chunk-KKPI7MVG.js";
11
+ } from "./chunk-HKXFHEB4.js";
12
12
  import {
13
13
  isRecord
14
- } from "./chunk-LE2GNKVF.js";
14
+ } from "./chunk-4RPG3SFC.js";
15
15
 
16
16
  // src/openclaw/wiring-state.ts
17
17
  var OPENCLAW_PLUGIN_ID = "pushary";
@@ -2,7 +2,7 @@ import {
2
2
  apiKeyInForce,
3
3
  configFilePath,
4
4
  keyPrefixToShow
5
- } from "./chunk-D35MHKUM.js";
5
+ } from "./chunk-XOZZ7LFC.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-LE2GNKVF.js";
18
+ } from "./chunk-4RPG3SFC.js";
19
19
 
20
20
  // src/install-source.ts
21
21
  import { readFileSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isFinalCommandAckRefusal
3
- } from "./chunk-LE2GNKVF.js";
3
+ } from "./chunk-4RPG3SFC.js";
4
4
 
5
5
  // src/command-ack-outcome.ts
6
6
  var SETTLED_ACK = { outcome: "settled" };
@@ -4,13 +4,13 @@ import {
4
4
  configFailureKind,
5
5
  retryAgentCommand,
6
6
  writeSetupConfigFile
7
- } from "./chunk-4EJ6BFQ6.js";
7
+ } from "./chunk-2JWCBGFX.js";
8
8
  import {
9
9
  MCP_BRIDGE_BINARY
10
- } from "./chunk-NQCIACTR.js";
10
+ } from "./chunk-CBA4AVFT.js";
11
11
  import {
12
12
  KEY_FILE_MODE
13
- } from "./chunk-DPTI6ZTZ.js";
13
+ } from "./chunk-DTYSJP6K.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-KSHM2X7A.js";
35
+ } from "./chunk-XKSIMUZM.js";
36
36
  import {
37
37
  resolveGlobalBinary
38
- } from "./chunk-KKPI7MVG.js";
38
+ } from "./chunk-HKXFHEB4.js";
39
39
  import {
40
40
  readJsonSafe,
41
41
  writeFileAtomic,
@@ -4,21 +4,21 @@ import {
4
4
  claimThrottle,
5
5
  releaseThrottle,
6
6
  reportEvent
7
- } from "./chunk-OVUJLLPD.js";
7
+ } from "./chunk-KMMO3K2C.js";
8
8
  import {
9
9
  deriveToolTarget,
10
10
  permissionDeniedAction
11
- } from "./chunk-2562EGWD.js";
11
+ } from "./chunk-JP7RRADP.js";
12
12
  import {
13
13
  projectNameFor
14
- } from "./chunk-YM3TSHT2.js";
14
+ } from "./chunk-AOLCAXRB.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-LE2GNKVF.js";
21
+ } from "./chunk-4RPG3SFC.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
  guardBinary
3
- } from "./chunk-KSHM2X7A.js";
3
+ } from "./chunk-XKSIMUZM.js";
4
4
 
5
5
  // src/bell/install.ts
6
6
  import { join } from "path";
@@ -3,7 +3,7 @@ import {
3
3
  forkFinishWithUpgradeLock,
4
4
  installWithUpgradeLock,
5
5
  releaseAutoUpdateLock
6
- } from "./chunk-NL4NVNSD.js";
6
+ } from "./chunk-L2BJVSVI.js";
7
7
  import {
8
8
  describeAutoUpdateCheck,
9
9
  globalInstallLocation,
@@ -15,15 +15,15 @@ import {
15
15
  readAutoUpdateState,
16
16
  updateAutoUpdateState,
17
17
  upgradeEntryFor
18
- } from "./chunk-JXVZO2TC.js";
18
+ } from "./chunk-NWFO2WGB.js";
19
19
  import {
20
20
  phoneStartIsRequired
21
- } from "./chunk-2NNCVW26.js";
21
+ } from "./chunk-ZUHELFIM.js";
22
22
  import {
23
23
  autoUpdateLock,
24
24
  autoUpdateLog,
25
25
  autoUpdateState
26
- } from "./chunk-KSHM2X7A.js";
26
+ } from "./chunk-XKSIMUZM.js";
27
27
  import {
28
28
  describeReleaseNpmHolds,
29
29
  execNpm,
@@ -33,10 +33,10 @@ import {
33
33
  npmExitedOnReleaseAge,
34
34
  readGlobalCliInstallAt,
35
35
  readGlobalPrefix
36
- } from "./chunk-KKPI7MVG.js";
36
+ } from "./chunk-HKXFHEB4.js";
37
37
  import {
38
38
  NPX_LATEST_COMMAND
39
- } from "./chunk-USRBNJJX.js";
39
+ } from "./chunk-QU2NSBXD.js";
40
40
  import {
41
41
  EXIT
42
42
  } from "./chunk-BG4HHB7E.js";
@@ -5,7 +5,7 @@ import {
5
5
  MCP_CREDENTIAL_REJECTION_BODY,
6
6
  isRecord,
7
7
  responseRejectsCredential
8
- } from "./chunk-LE2GNKVF.js";
8
+ } from "./chunk-4RPG3SFC.js";
9
9
 
10
10
  // src/credential-rejection.ts
11
11
  import { createHash, randomUUID } from "crypto";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  canonicalGateInputs,
3
3
  patchDeletesFiles
4
- } from "./chunk-2562EGWD.js";
4
+ } from "./chunk-JP7RRADP.js";
5
5
 
6
6
  // src/gate-call-reading.ts
7
7
  var gateCallReadingOf = (profile, raw) => {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  HOOK_HOLD_BUDGET_ENV,
3
3
  hookHoldBudgetProof
4
- } from "./chunk-LE2GNKVF.js";
4
+ } from "./chunk-4RPG3SFC.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
  questionWindowOf
3
- } from "./chunk-OVUJLLPD.js";
3
+ } from "./chunk-KMMO3K2C.js";
4
4
  import {
5
5
  UNNAMED_ACTION
6
- } from "./chunk-2562EGWD.js";
6
+ } from "./chunk-JP7RRADP.js";
7
7
  import {
8
8
  ASK_USER_TIMEOUT_MS,
9
9
  WAIT_END_TIMEOUT_MS,
@@ -11,10 +11,10 @@ import {
11
11
  askUser,
12
12
  unavailableQuestionUnlessRefused,
13
13
  waitForQuestion
14
- } from "./chunk-T2JHF3E4.js";
14
+ } from "./chunk-VO22G4MS.js";
15
15
  import {
16
16
  getMachineId
17
- } from "./chunk-I2OOSUJN.js";
17
+ } from "./chunk-JPSCKMYH.js";
18
18
  import {
19
19
  hookMaxWaitSeconds,
20
20
  hookWaitClamped,
@@ -24,7 +24,7 @@ import {
24
24
  refusesWhenUnanswered,
25
25
  ruleApprovesAfterItsFullWindow,
26
26
  scopeBreachReasonOf
27
- } from "./chunk-LE2GNKVF.js";
27
+ } from "./chunk-4RPG3SFC.js";
28
28
 
29
29
  // src/pushed-question.ts
30
30
  var scopeQuestionOf = (verdict) => {
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-CXQWDQCJ.js";
20
20
  import {
21
21
  redactSecretsFromContent
22
- } from "./chunk-LE2GNKVF.js";
22
+ } from "./chunk-4RPG3SFC.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-UU3H3EFW.js");
614
- const { canonicalLockPath, installWithUpgradeLock, leftAnUnfinishedInstallHere, ownsUpgradeLock } = await import("./upgrade-lock-NGYIAYBZ.js");
615
- const { autoUpdateLock } = await import("./paths-TMTWXB5B.js");
613
+ const { withUpgradeLock } = await import("./global-upgrade-H4CHC3PX.js");
614
+ const { canonicalLockPath, installWithUpgradeLock, leftAnUnfinishedInstallHere, ownsUpgradeLock } = await import("./upgrade-lock-UPLYK4CW.js");
615
+ const { autoUpdateLock } = await import("./paths-J7L3IDOW.js");
616
616
  const lockPath = options.lockPath ?? autoUpdateLock();
617
617
  const lockFile = canonicalLockPath(lockPath);
618
618
  const unfinishedHere = failuresThisProcessLeftUnfinished.get(lockFile);
@@ -6,37 +6,37 @@ import {
6
6
  postLiveSession,
7
7
  postLiveSessionUntilAccepted,
8
8
  startLiveSessionHeartbeat
9
- } from "./chunk-JKMX5HMU.js";
9
+ } from "./chunk-6GCGRTR7.js";
10
10
  import {
11
11
  CommandReceipts,
12
12
  controllerCommandSchema
13
- } from "./chunk-DEGZHZLH.js";
13
+ } from "./chunk-OOSOLBO2.js";
14
14
  import {
15
15
  SESSION_IDLE_TIMEOUT_MS,
16
16
  describeIdleWindow,
17
17
  idleDeadlinePassed,
18
18
  startProcessOwnership
19
- } from "./chunk-RI6C7WBQ.js";
19
+ } from "./chunk-OYRQZWXW.js";
20
20
  import {
21
21
  spawnClaude
22
22
  } from "./chunk-3PSNUHC5.js";
23
23
  import {
24
24
  readCommandAck
25
- } from "./chunk-M4B3D76U.js";
25
+ } from "./chunk-E4WNMH33.js";
26
26
  import {
27
27
  isDecisionStopped,
28
28
  isWaitForAnswerResponse,
29
29
  withdrawQuestion,
30
30
  writeDegraded
31
- } from "./chunk-T2JHF3E4.js";
31
+ } from "./chunk-VO22G4MS.js";
32
32
  import {
33
33
  callMcpTool,
34
34
  isRetryable
35
- } from "./chunk-3AKD2IMA.js";
35
+ } from "./chunk-UOABAWQ4.js";
36
36
  import {
37
37
  projectNameFor,
38
38
  repositoryScopeFor
39
- } from "./chunk-YM3TSHT2.js";
39
+ } from "./chunk-AOLCAXRB.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-LE2GNKVF.js";
61
+ } from "./chunk-4RPG3SFC.js";
62
62
 
63
63
  // src/codex-question-owner.ts
64
64
  import { createHash } from "crypto";