pushary 1.9.281 → 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 (146) hide show
  1. package/CHANGELOG.md +14 -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 +81 -71
  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-7PRPLYOT.js +93 -0
  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
  146. package/dist/chunk-2SMGO6SE.js +0 -28
@@ -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";
@@ -18,18 +18,18 @@ import {
18
18
  settingSnapshot,
19
19
  writeHermesSetting,
20
20
  writeSetupReceipt
21
- } from "./chunk-67D6KDPJ.js";
21
+ } from "./chunk-AKUQLREQ.js";
22
22
  import {
23
23
  OPENCLAW_MIN_VERSION,
24
24
  OPENCLAW_PLUGIN_ID,
25
25
  OPENCLAW_PLUGIN_PACKAGE
26
- } from "./chunk-DGIMLJ7N.js";
26
+ } from "./chunk-CWQU75DS.js";
27
27
  import {
28
28
  retryAgentCommand
29
- } from "./chunk-4EJ6BFQ6.js";
29
+ } from "./chunk-2JWCBGFX.js";
30
30
  import {
31
31
  configFilePath
32
- } from "./chunk-D35MHKUM.js";
32
+ } from "./chunk-XOZZ7LFC.js";
33
33
  import {
34
34
  readJsonSafe,
35
35
  writeJsonAtomic
@@ -37,7 +37,7 @@ import {
37
37
  import {
38
38
  readSetupOutcomeProperties,
39
39
  redactSecretsFromContent
40
- } from "./chunk-LE2GNKVF.js";
40
+ } from "./chunk-4RPG3SFC.js";
41
41
 
42
42
  // src/hermes/shell-gate.ts
43
43
  var readHermesShellGate = async (launcher, pluginVersion = null) => {
@@ -9,10 +9,10 @@ import {
9
9
  } from "./chunk-3EGEA4KH.js";
10
10
  import {
11
11
  testTrafficHeaders
12
- } from "./chunk-T2JHF3E4.js";
12
+ } from "./chunk-VO22G4MS.js";
13
13
  import {
14
14
  getBaseUrl
15
- } from "./chunk-D35MHKUM.js";
15
+ } from "./chunk-XOZZ7LFC.js";
16
16
  import {
17
17
  CLI_LOCAL_BIND_PATH,
18
18
  LOCAL_CONFIRM_HOST,
@@ -23,7 +23,7 @@ import {
23
23
  isLocalConfirmToken,
24
24
  isPhonePass,
25
25
  localTerminalEntryUrl
26
- } from "./chunk-LE2GNKVF.js";
26
+ } from "./chunk-4RPG3SFC.js";
27
27
 
28
28
  // src/cli/login-ui.ts
29
29
  import { hostname } from "os";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseConfigDocument
3
- } from "./chunk-HJ25OOZL.js";
3
+ } from "./chunk-SL6ZTQA2.js";
4
4
  import {
5
5
  addGeminiMcpServer,
6
6
  removeGeminiMcpServer
7
- } from "./chunk-YEQF4H76.js";
7
+ } from "./chunk-IX2DKVF2.js";
8
8
  import {
9
9
  CLAUDE_CODE_AGENT
10
- } from "./chunk-OVUJLLPD.js";
10
+ } from "./chunk-KMMO3K2C.js";
11
11
  import {
12
12
  compatibleToolLookup
13
- } from "./chunk-2562EGWD.js";
13
+ } from "./chunk-JP7RRADP.js";
14
14
  import {
15
15
  CLAUDE_HOOK_EVENTS,
16
16
  PUSHARY_MCP_URL,
@@ -22,7 +22,7 @@ import {
22
22
  isPusharyHook,
23
23
  registerHookEntry,
24
24
  removeClaudeMcpServers
25
- } from "./chunk-KSHM2X7A.js";
25
+ } from "./chunk-XKSIMUZM.js";
26
26
  import {
27
27
  AGENT_ENFORCEMENT,
28
28
  HOOK_COMPATIBLE_PROFILES,
@@ -36,7 +36,7 @@ import {
36
36
  pusharyMissingReason,
37
37
  refusalOutput,
38
38
  withHookHoldBudget
39
- } from "./chunk-LE2GNKVF.js";
39
+ } from "./chunk-4RPG3SFC.js";
40
40
 
41
41
  // src/compatible-config.ts
42
42
  import { homedir } from "os";
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  cursorGateOwnsClaudeCall,
3
3
  readCursorGateRegistration
4
- } from "./chunk-H5BATWAL.js";
4
+ } from "./chunk-YG5TIW73.js";
5
5
  import {
6
6
  registerTranscript
7
- } from "./chunk-2SE3TSWT.js";
7
+ } from "./chunk-JWMDRKAO.js";
8
8
  import {
9
9
  namedEvent
10
- } from "./chunk-Q5MYEDCP.js";
10
+ } from "./chunk-IP6BVZZL.js";
11
11
  import {
12
12
  writeDegraded
13
- } from "./chunk-T2JHF3E4.js";
13
+ } from "./chunk-VO22G4MS.js";
14
14
  import {
15
15
  claudeShapedHookInput,
16
16
  hookCompatibleProfileBySource,
17
17
  isGrokHookPayload,
18
18
  isGrokSessionEndStop
19
- } from "./chunk-LE2GNKVF.js";
19
+ } from "./chunk-4RPG3SFC.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,9 +1,9 @@
1
1
  import {
2
2
  AGENT_CHOICES
3
- } from "./chunk-DI7VQ4PL.js";
3
+ } from "./chunk-4ZWNL3CK.js";
4
4
  import {
5
5
  BELL_HOOK_BINARY
6
- } from "./chunk-PUDKDFOZ.js";
6
+ } from "./chunk-EGZUBQL6.js";
7
7
  import {
8
8
  CLAUDE_HOOK_EVENTS,
9
9
  CODEX_HOOK_EVENTS,
@@ -16,13 +16,13 @@ import {
16
16
  isBridgeLocator,
17
17
  isProtectedByScope,
18
18
  registerHookEntry
19
- } from "./chunk-KSHM2X7A.js";
19
+ } from "./chunk-XKSIMUZM.js";
20
20
  import {
21
21
  CURSOR_GATE_EVENTS,
22
22
  HOOK_BUDGETS,
23
23
  HOOK_LOCATOR_BINARY,
24
24
  hookCommandHoldBudget
25
- } from "./chunk-LE2GNKVF.js";
25
+ } from "./chunk-4RPG3SFC.js";
26
26
 
27
27
  // src/gemini-config.ts
28
28
  var GEMINI_HOOK_BINARY = "pushary-gemini-hook";
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  APPROVAL_RULES_PATH,
3
3
  canChangeApprovalSettings
4
- } from "./chunk-7CCJLPFF.js";
4
+ } from "./chunk-YARDFZND.js";
5
5
  import {
6
6
  callMcpTool
7
- } from "./chunk-3AKD2IMA.js";
7
+ } from "./chunk-UOABAWQ4.js";
8
8
  import {
9
9
  absoluteUrl
10
- } from "./chunk-QXPI7LOZ.js";
10
+ } from "./chunk-YSR7QVMN.js";
11
11
  import {
12
12
  getBaseUrl
13
- } from "./chunk-D35MHKUM.js";
13
+ } from "./chunk-XOZZ7LFC.js";
14
14
  import {
15
15
  NPX_LATEST_COMMAND
16
- } from "./chunk-USRBNJJX.js";
16
+ } from "./chunk-QU2NSBXD.js";
17
17
  import {
18
18
  AGENT_STOP_DEFAULT_SECONDS,
19
19
  APPROVAL_MODE_META,
@@ -21,7 +21,7 @@ import {
21
21
  classifyConfirmResponse,
22
22
  isAnswerSource,
23
23
  roundTripAsk
24
- } from "./chunk-LE2GNKVF.js";
24
+ } from "./chunk-4RPG3SFC.js";
25
25
 
26
26
  // src/reach.ts
27
27
  var PUSHARY_APP_DOWNLOAD_URL = "https://pushary.com/download";
@@ -14,7 +14,7 @@ import {
14
14
  reachVerdict,
15
15
  reachesYou,
16
16
  verifyDelivery
17
- } from "./chunk-O6LVUSRY.js";
17
+ } from "./chunk-J2UDVVCB.js";
18
18
  import {
19
19
  describeRevokeAttempt,
20
20
  keyNoLongerAccepted,
@@ -29,20 +29,20 @@ import {
29
29
  isCI,
30
30
  terminalColumns,
31
31
  useColor
32
- } from "./chunk-KV65OAIF.js";
32
+ } from "./chunk-N6RX3ZWB.js";
33
33
  import {
34
34
  checkApiKey
35
- } from "./chunk-QXPI7LOZ.js";
35
+ } from "./chunk-YSR7QVMN.js";
36
36
  import {
37
37
  reportedInstallSource
38
- } from "./chunk-DPTI6ZTZ.js";
38
+ } from "./chunk-DTYSJP6K.js";
39
39
  import {
40
40
  NPX_LATEST_COMMAND
41
- } from "./chunk-USRBNJJX.js";
41
+ } from "./chunk-QU2NSBXD.js";
42
42
  import {
43
43
  NO_PAIRING_COMPUTER,
44
44
  PAIR_TTL_SECONDS
45
- } from "./chunk-LE2GNKVF.js";
45
+ } from "./chunk-4RPG3SFC.js";
46
46
 
47
47
  // src/onboarding.ts
48
48
  import qrcodeTerminal from "qrcode-terminal";
@@ -29,7 +29,7 @@ import {
29
29
  reportableSessionId,
30
30
  toToolLookup,
31
31
  truncateLine
32
- } from "./chunk-LE2GNKVF.js";
32
+ } from "./chunk-4RPG3SFC.js";
33
33
 
34
34
  // ../hook-mapping/src/commit-receipt.ts
35
35
  var COMMIT_OUTPUT_MAX_LENGTH = 65536;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pusharyDir
3
- } from "./chunk-KSHM2X7A.js";
3
+ } from "./chunk-XKSIMUZM.js";
4
4
  import {
5
5
  writeFileAtomic
6
6
  } from "./chunk-PM2NRK6Y.js";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  CODEX_HOOK_STATUS,
3
3
  HERMES_HISTORY_HELPER_COMMAND
4
- } from "./chunk-L25W4SZ2.js";
4
+ } from "./chunk-7VL6QZ3C.js";
5
5
  import {
6
6
  HERMES_ALWAYS_ALLOWED_SHELL_RULE,
7
7
  HERMES_COMMAND_ALLOWLIST_KEY,
8
8
  HERMES_GATE_TOOLS_KEY,
9
9
  HERMES_PLUGIN_ASKS_PAST_ALWAYS_ALLOW,
10
10
  HERMES_SHELL_TOOL
11
- } from "./chunk-67D6KDPJ.js";
11
+ } from "./chunk-AKUQLREQ.js";
12
12
  import {
13
13
  retryAgentCommand
14
- } from "./chunk-4EJ6BFQ6.js";
14
+ } from "./chunk-2JWCBGFX.js";
15
15
  import {
16
16
  NPX_LATEST_COMMAND
17
- } from "./chunk-USRBNJJX.js";
17
+ } from "./chunk-QU2NSBXD.js";
18
18
 
19
19
  // src/setup/codex-trust.ts
20
20
  var CODEX_TRUST_TELEMETRY = {
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-WHB622LP.js";
4
4
  import {
5
5
  ensureDaemonRunning
6
- } from "./chunk-3FCGMTG2.js";
6
+ } from "./chunk-SIP2BFVS.js";
7
7
  import {
8
8
  hookOwnerOf
9
- } from "./chunk-YEQF4H76.js";
9
+ } from "./chunk-IX2DKVF2.js";
10
10
  import {
11
11
  hookMeaning
12
- } from "./chunk-2562EGWD.js";
12
+ } from "./chunk-JP7RRADP.js";
13
13
  import {
14
14
  buildTranscriptRecords,
15
15
  changedRecipientsMessage,
@@ -24,11 +24,11 @@ import {
24
24
  uploadTranscriptRecords,
25
25
  verifyAnchoredRecipients,
26
26
  wrapSessionKey
27
- } from "./chunk-VYMBV6M5.js";
27
+ } from "./chunk-Y5INUJ2S.js";
28
28
  import {
29
29
  transcriptEnvironmentPreference,
30
30
  transcriptsEnabled
31
- } from "./chunk-SIZMK3SF.js";
31
+ } from "./chunk-TBCHTCA2.js";
32
32
  import {
33
33
  external_exports,
34
34
  ownedOnlyByThisUser,
@@ -36,19 +36,19 @@ import {
36
36
  } from "./chunk-P6DUWKAO.js";
37
37
  import {
38
38
  fetchAsCredential
39
- } from "./chunk-XKTBFWO2.js";
39
+ } from "./chunk-FIAXP3LF.js";
40
40
  import {
41
41
  readTranscriptPreference
42
- } from "./chunk-DPTI6ZTZ.js";
42
+ } from "./chunk-DTYSJP6K.js";
43
43
  import {
44
44
  claudeConfigDir,
45
45
  codexHome,
46
46
  pusharyDir
47
- } from "./chunk-KSHM2X7A.js";
47
+ } from "./chunk-XKSIMUZM.js";
48
48
  import {
49
49
  getApiKey,
50
50
  getBaseUrl
51
- } from "./chunk-D35MHKUM.js";
51
+ } from "./chunk-XOZZ7LFC.js";
52
52
  import {
53
53
  writeJsonAtomic,
54
54
  writeJsonAtomicDurable
@@ -61,7 +61,7 @@ import {
61
61
  isHookSource,
62
62
  isRecord,
63
63
  redactSecretsFromContent
64
- } from "./chunk-LE2GNKVF.js";
64
+ } from "./chunk-4RPG3SFC.js";
65
65
 
66
66
  // src/transcript-registration.ts
67
67
  import { createHash as createHash4 } from "crypto";
@@ -4,23 +4,23 @@ import {
4
4
  hasDaemonServiceDefinition,
5
5
  readDaemonNeedsLogin,
6
6
  readDaemonStatus
7
- } from "./chunk-3FCGMTG2.js";
7
+ } from "./chunk-SIP2BFVS.js";
8
8
  import {
9
9
  detectProviderLiveCapabilities,
10
10
  expectedLaunchCapabilities,
11
11
  hasSpawnProvider,
12
12
  resolveControlPolicy
13
- } from "./chunk-2NNCVW26.js";
13
+ } from "./chunk-ZUHELFIM.js";
14
14
  import {
15
15
  getMachineId
16
- } from "./chunk-I2OOSUJN.js";
16
+ } from "./chunk-JPSCKMYH.js";
17
17
  import {
18
18
  readControlMode,
19
19
  readKeyInForce
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
  getPackageVersion
26
26
  } from "./chunk-CXQWDQCJ.js";
@@ -32,7 +32,7 @@ import {
32
32
  transcriptTokensIn,
33
33
  transcriptUsageRequest,
34
34
  usageLimitStopOf
35
- } from "./chunk-2562EGWD.js";
35
+ } from "./chunk-JP7RRADP.js";
36
36
  import {
37
37
  isDeferAnswer
38
38
  } from "./chunk-Z25VDYAL.js";
@@ -40,7 +40,7 @@ import {
40
40
  RETRY_ACK,
41
41
  readCommandAck,
42
42
  refusedReceiptMessage
43
- } from "./chunk-M4B3D76U.js";
43
+ } from "./chunk-E4WNMH33.js";
44
44
  import {
45
45
  askUser,
46
46
  cancelQuestionSettledAtComputer,
@@ -57,32 +57,32 @@ import {
57
57
  waitForOpenQuestion,
58
58
  waitForQuestion,
59
59
  writeDegraded
60
- } from "./chunk-T2JHF3E4.js";
60
+ } from "./chunk-VO22G4MS.js";
61
61
  import {
62
62
  SubscriptionRequiredError,
63
63
  isRetryable,
64
64
  withRetry
65
- } from "./chunk-3AKD2IMA.js";
65
+ } from "./chunk-UOABAWQ4.js";
66
66
  import {
67
67
  fetchAsCredential
68
- } from "./chunk-XKTBFWO2.js";
68
+ } from "./chunk-FIAXP3LF.js";
69
69
  import {
70
70
  branchFor,
71
71
  projectNameFor,
72
72
  repoKeyFor
73
- } from "./chunk-YM3TSHT2.js";
73
+ } from "./chunk-AOLCAXRB.js";
74
74
  import {
75
75
  getMachineId
76
- } from "./chunk-I2OOSUJN.js";
76
+ } from "./chunk-JPSCKMYH.js";
77
77
  import {
78
78
  reportedInstallSource
79
- } from "./chunk-DPTI6ZTZ.js";
79
+ } from "./chunk-DTYSJP6K.js";
80
80
  import {
81
81
  IDLE_PROMPT_NOTIFICATION,
82
82
  NOTIFICATION_PUSH_TYPES,
83
83
  POSTTOOLUSE_MIRROR_ONLY_TOOLS,
84
84
  claudeConfigDir
85
- } from "./chunk-KSHM2X7A.js";
85
+ } from "./chunk-XKSIMUZM.js";
86
86
  import {
87
87
  compareVersion,
88
88
  parseVersion
@@ -91,14 +91,14 @@ import {
91
91
  getApiKey,
92
92
  getBaseUrl,
93
93
  isMalformedApiKeyError
94
- } from "./chunk-D35MHKUM.js";
94
+ } from "./chunk-XOZZ7LFC.js";
95
95
  import {
96
96
  writeFileAtomic,
97
97
  writeJsonAtomicDurable
98
98
  } from "./chunk-PM2NRK6Y.js";
99
99
  import {
100
100
  NPX_LATEST_COMMAND
101
- } from "./chunk-USRBNJJX.js";
101
+ } from "./chunk-QU2NSBXD.js";
102
102
  import {
103
103
  getPackageVersion,
104
104
  isKnownReleaseVersion
@@ -164,7 +164,7 @@ import {
164
164
  responseRejectsCredential,
165
165
  unansweredRefusalReason,
166
166
  waitsForThePhone
167
- } from "./chunk-LE2GNKVF.js";
167
+ } from "./chunk-4RPG3SFC.js";
168
168
 
169
169
  // src/pending.ts
170
170
  import { join } from "path";
@@ -608,19 +608,23 @@ var currentPolicy = (policy) => ({ kind: "current", policy });
608
608
  var recordedCacheAgeOf = (cachedAt) => cachedAt ? Date.now() - cachedAt : null;
609
609
  var staleFallback = (policy, cachedAt) => ({ kind: "stale_fallback", policy, cacheAgeMs: recordedCacheAgeOf(cachedAt) });
610
610
  var POLICY_REQUEST_CAPABILITIES_VALUE = policyRequestCapabilitiesHeaderValue(CLI_POLICY_REQUEST_CAPABILITIES);
611
+ var policyHttpRequestOf = (apiKey, agent, repoAware = false, sessionId) => {
612
+ const params = new URLSearchParams();
613
+ if (agent) params.set("agent", agent);
614
+ if (repoAware) params.set("repoAware", "1");
615
+ params.set("scopeAware", "1");
616
+ params.set("sessionToolAware", "1");
617
+ if (sessionId) params.set("sessionId", sessionId);
618
+ return {
619
+ url: `${getBaseUrl()}/api/mcp/policy?${params.toString()}`,
620
+ headers: { "Authorization": `Bearer ${apiKey}`, [POLICY_REQUEST_CAPABILITIES_HEADER]: POLICY_REQUEST_CAPABILITIES_VALUE }
621
+ };
622
+ };
611
623
  var fetchPolicy = async (apiKey, agent, repoAware = false, sessionId, signal) => {
612
624
  return withRetry(async () => {
613
- const baseUrl = getBaseUrl();
614
- const params = new URLSearchParams();
615
- if (agent) params.set("agent", agent);
616
- if (repoAware) params.set("repoAware", "1");
617
- params.set("scopeAware", "1");
618
- params.set("sessionToolAware", "1");
619
- if (sessionId) params.set("sessionId", sessionId);
620
- const query = params.toString();
621
- const url = query ? `${baseUrl}/api/mcp/policy?${query}` : `${baseUrl}/api/mcp/policy`;
625
+ const { url, headers } = policyHttpRequestOf(apiKey, agent, repoAware, sessionId);
622
626
  const response = await fetchAsCredential(apiKey, url, {
623
- headers: { "Authorization": `Bearer ${apiKey}`, [POLICY_REQUEST_CAPABILITIES_HEADER]: POLICY_REQUEST_CAPABILITIES_VALUE },
627
+ headers,
624
628
  signal: AbortSignal.any([AbortSignal.timeout(1e4), ...signal ? [signal] : []])
625
629
  });
626
630
  if (!response.ok) {
@@ -2606,6 +2610,7 @@ export {
2606
2610
  announceSubscriptionRequired,
2607
2611
  announceMalformedApiKey,
2608
2612
  policyRequestFor,
2613
+ policyHttpRequestOf,
2609
2614
  getPolicy,
2610
2615
  getPolicyForStandingDenies,
2611
2616
  reportStandingDeniesFromStalePolicy,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  autoUpdateLock
3
- } from "./chunk-KSHM2X7A.js";
3
+ } from "./chunk-XKSIMUZM.js";
4
4
  import {
5
5
  installPackageGlobally,
6
6
  npmErrorMessage,
7
7
  throwIfNpmRefusesInstall
8
- } from "./chunk-KKPI7MVG.js";
8
+ } from "./chunk-HKXFHEB4.js";
9
9
  import {
10
10
  writeJsonAtomic
11
11
  } from "./chunk-PM2NRK6Y.js";
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  UNSET_IGNORED_SHELL_VALUE_STEP
3
- } from "./chunk-Z7F7SITX.js";
3
+ } from "./chunk-PUNIACRA.js";
4
4
  import {
5
5
  notificationAnswerStep
6
- } from "./chunk-O6LVUSRY.js";
6
+ } from "./chunk-J2UDVVCB.js";
7
7
  import {
8
8
  matchMacAccountStep,
9
9
  retryAgentCommand
10
- } from "./chunk-4EJ6BFQ6.js";
10
+ } from "./chunk-2JWCBGFX.js";
11
11
  import {
12
12
  NPX_LATEST_COMMAND,
13
13
  npmExecSetupCommandFor
14
- } from "./chunk-USRBNJJX.js";
14
+ } from "./chunk-QU2NSBXD.js";
15
15
  import {
16
16
  EXIT
17
17
  } from "./chunk-BG4HHB7E.js";
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  compatibleProfileFor,
23
23
  isCompatibleAgentType
24
- } from "./chunk-LE2GNKVF.js";
24
+ } from "./chunk-4RPG3SFC.js";
25
25
 
26
26
  // src/setup/closing.ts
27
27
  var ACTIVITY_URL = "pushary.com/dashboard/agent/activity";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  computerOsOfPlatform,
3
3
  isComputerAgent
4
- } from "./chunk-LE2GNKVF.js";
4
+ } from "./chunk-4RPG3SFC.js";
5
5
 
6
6
  // src/setup/phone-check.ts
7
7
  var NO_AGENT_CONNECTED_LINE = "Skipping the phone step: no agent was connected, so nothing could ask you anything on your phone yet.";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  redactSecretsFromContent
3
- } from "./chunk-LE2GNKVF.js";
3
+ } from "./chunk-4RPG3SFC.js";
4
4
 
5
5
  // src/cli/terminal-row.ts
6
6
  var visibleLength = (text) => text.replace(/\x1b\[[0-9;]*m/g, "").length;
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-POFBE6ZY.js";
4
4
  import {
5
5
  autoUpdateState
6
- } from "./chunk-KSHM2X7A.js";
6
+ } from "./chunk-XKSIMUZM.js";
7
7
  import {
8
8
  readJsonSafe,
9
9
  writeJsonAtomic
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-CXQWDQCJ.js";
18
18
  import {
19
19
  isAutoUpdateResult
20
- } from "./chunk-LE2GNKVF.js";
20
+ } from "./chunk-4RPG3SFC.js";
21
21
 
22
22
  // src/auto-update.ts
23
23
  import { spawn } from "child_process";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  RETRY_ACK,
6
6
  refusedReceiptMessage
7
- } from "./chunk-M4B3D76U.js";
7
+ } from "./chunk-E4WNMH33.js";
8
8
 
9
9
  // src/command-receipts.ts
10
10
  import { randomUUID } from "crypto";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-U4P4NDVB.js";
17
17
  import {
18
18
  withoutNpmInstallConsent
19
- } from "./chunk-KKPI7MVG.js";
19
+ } from "./chunk-HKXFHEB4.js";
20
20
 
21
21
  // src/codex-desktop-launch.ts
22
22
  import { spawn as spawn2, execFileSync as execFileSync2 } from "child_process";
@@ -539,8 +539,8 @@ var loadedOnce = (load) => {
539
539
  };
540
540
 
541
541
  // src/codex-desktop-proxy.ts
542
- var loadThePhone = () => import("./api-WBSDPSHN.js");
543
- var loadTheCardRouting = () => import("./codex-card-routing-ESKPXKXS.js");
542
+ var loadThePhone = () => import("./api-OJRU3MYI.js");
543
+ var loadTheCardRouting = () => import("./codex-card-routing-PLD74MXM.js");
544
544
  var theFirstCardLoadsAgain = () => {
545
545
  };
546
546
  var ASKS_WITHOUT_ROUTING = {};
@@ -1101,7 +1101,7 @@ var codexDesktopCommand = async (args, entry, readAccount) => {
1101
1101
  return runCodexDesktopProxy(engine2, args.slice(3), readAccount, { watchesForCards: layoutIsKnown });
1102
1102
  }
1103
1103
  if (args[0] === APP_CARDS_FLAG) {
1104
- const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-DGTEKXMX.js");
1104
+ const { codexAppCardsCommandOnThisMac } = await import("./codex-app-cards-switch-2ZVORWWV.js");
1105
1105
  return codexAppCardsCommandOnThisMac(args.slice(1), entry, readAccount);
1106
1106
  }
1107
1107
  if (args.length > 2) throw new Error("Usage: pushary codex --desktop [path/to/Codex.app]");
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  callDecisionStore
3
- } from "./chunk-OVUJLLPD.js";
3
+ } from "./chunk-KMMO3K2C.js";
4
4
  import {
5
5
  claudePromptMayFollowPreToolUseAllow,
6
6
  promptedCallIdentityText
7
- } from "./chunk-2562EGWD.js";
7
+ } from "./chunk-JP7RRADP.js";
8
8
 
9
9
  // src/phone-approval.ts
10
10
  import { createHash as createHash2 } from "crypto";