pushary 1.9.139 → 1.9.141

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 (135) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/data/vscode-plugin/README.md +2 -0
  3. package/dist/{api-JY6EQT7A.js → api-JWLCKSWR.js} +11 -11
  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 +10 -10
  7. package/dist/bin/pushary-claude.js +27 -27
  8. package/dist/bin/pushary-clean.js +36 -36
  9. package/dist/bin/pushary-codex-bridge.js +23 -23
  10. package/dist/bin/pushary-codex-hook.js +35 -35
  11. package/dist/bin/pushary-codex-session.js +9 -9
  12. package/dist/bin/pushary-codex.js +16 -16
  13. package/dist/bin/pushary-connect.js +29 -29
  14. package/dist/bin/pushary-cowork.js +5 -5
  15. package/dist/bin/pushary-daemon.js +93 -95
  16. package/dist/bin/pushary-disconnect.js +28 -28
  17. package/dist/bin/pushary-display-hook.js +93 -5
  18. package/dist/bin/pushary-doctor.js +43 -43
  19. package/dist/bin/pushary-elicitation-hook.js +28 -28
  20. package/dist/bin/pushary-gemini-bridge.js +19 -18
  21. package/dist/bin/pushary-gemini-hook.js +32 -32
  22. package/dist/bin/pushary-hook.js +35 -35
  23. package/dist/bin/pushary-login.js +21 -21
  24. package/dist/bin/pushary-logout.js +27 -27
  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-hook.js +31 -31
  29. package/dist/bin/pushary-permission-denied-hook.js +35 -35
  30. package/dist/bin/pushary-permission-hook.js +35 -35
  31. package/dist/bin/pushary-post-hook.js +28 -28
  32. package/dist/bin/pushary-prompt-hook.js +27 -27
  33. package/dist/bin/pushary-session-end-hook.js +27 -27
  34. package/dist/bin/pushary-session-start-hook.js +36 -36
  35. package/dist/bin/pushary-setup.js +51 -51
  36. package/dist/bin/pushary-stats.js +5 -5
  37. package/dist/bin/pushary-status.js +33 -33
  38. package/dist/bin/pushary-stop-hook.js +27 -27
  39. package/dist/bin/pushary-stopfailure-hook.js +27 -27
  40. package/dist/bin/pushary-suggestions.js +15 -15
  41. package/dist/bin/pushary-transcript-register.js +17 -17
  42. package/dist/bin/pushary-transcripts.js +25 -25
  43. package/dist/bin/pushary-upgrade.js +41 -41
  44. package/dist/bin/pushary-wait.js +15 -15
  45. package/dist/bin/pushary.js +7 -7
  46. package/dist/{chunk-SVKZKLEP.js → chunk-24BLJAQN.js} +1 -1
  47. package/dist/{chunk-SKVPWXNK.js → chunk-3MFJDZ2L.js} +10 -10
  48. package/dist/{chunk-UTUR6WEA.js → chunk-3MMOB5TM.js} +3 -3
  49. package/dist/{chunk-BURSH6SW.js → chunk-3PALTBFX.js} +4 -4
  50. package/dist/{chunk-P3UCAWUP.js → chunk-3RBUCAO7.js} +6 -6
  51. package/dist/{chunk-KYWH4XUR.js → chunk-3YV26XPH.js} +3 -3
  52. package/dist/{chunk-GGTLV67J.js → chunk-4JR6PPIY.js} +4 -4
  53. package/dist/{chunk-RBPAUX6C.js → chunk-4KHBN7LI.js} +5 -5
  54. package/dist/{chunk-4NLZUCPG.js → chunk-4Y2LO2WB.js} +2 -2
  55. package/dist/{chunk-U7Z53YWH.js → chunk-4ZTPPMLM.js} +4 -4
  56. package/dist/{chunk-J5SMCRIT.js → chunk-5DMGHDOT.js} +5 -5
  57. package/dist/{chunk-LHUA6ADC.js → chunk-62V26PAL.js} +3 -3
  58. package/dist/{chunk-IAWFSD4Q.js → chunk-6DAXKHVX.js} +1 -1
  59. package/dist/{chunk-KDQSPNPH.js → chunk-7EYUDJQ6.js} +16 -16
  60. package/dist/{chunk-KXHGEJVW.js → chunk-7TKF7IFS.js} +2 -2
  61. package/dist/{chunk-KQVURVAP.js → chunk-A6KNDKO5.js} +597 -116
  62. package/dist/{chunk-IDXCVT6W.js → chunk-ACG7RC7N.js} +3 -3
  63. package/dist/{chunk-4RKB6X4S.js → chunk-AIZ5KC2N.js} +2 -2
  64. package/dist/{chunk-BRXKVYTV.js → chunk-ALJL6GDD.js} +1 -1
  65. package/dist/{chunk-M6TJWXST.js → chunk-ARIJUXCG.js} +8 -8
  66. package/dist/{chunk-QTR6KQEU.js → chunk-BFXIQGWS.js} +1 -1
  67. package/dist/{chunk-ZYLZCNOJ.js → chunk-BKWDG5QV.js} +1 -1
  68. package/dist/{chunk-2MJMKM6D.js → chunk-C4VTURGH.js} +1 -1
  69. package/dist/{chunk-IOWB43KY.js → chunk-CAUSBRTJ.js} +1 -1
  70. package/dist/{chunk-DTJZK3MN.js → chunk-CL3OIICA.js} +6 -6
  71. package/dist/{chunk-LHYBHWCK.js → chunk-CUJ2MGG5.js} +2 -2
  72. package/dist/{chunk-H4O4IPWY.js → chunk-CVGVWUNE.js} +5 -5
  73. package/dist/{chunk-3FNBN4JQ.js → chunk-CWCJFCAY.js} +1 -1
  74. package/dist/{chunk-LYLADUYE.js → chunk-D35XQMWO.js} +2 -2
  75. package/dist/{chunk-UZZRSCFR.js → chunk-EADQYNLU.js} +5 -5
  76. package/dist/{chunk-M4G4VWW6.js → chunk-F335PCA4.js} +1 -1
  77. package/dist/{chunk-CQLQFN6B.js → chunk-FKKS4ZC5.js} +3 -12
  78. package/dist/{chunk-2X2JHX77.js → chunk-FOPV3VQD.js} +4 -4
  79. package/dist/{chunk-FSTSLVZJ.js → chunk-GA72NGS7.js} +1 -1
  80. package/dist/{chunk-CZH3JDVB.js → chunk-GGXAZTSW.js} +2 -2
  81. package/dist/{chunk-7MPKMLE3.js → chunk-GX46NBAE.js} +11 -11
  82. package/dist/{chunk-IHUXZGHB.js → chunk-HEXX52SX.js} +1 -1
  83. package/dist/{chunk-S63DCSH4.js → chunk-I547BHSE.js} +4 -4
  84. package/dist/{chunk-OBPBT6RG.js → chunk-I72H3AWD.js} +3 -3
  85. package/dist/{chunk-T5FPA2JO.js → chunk-IR7J5WY4.js} +3 -3
  86. package/dist/{chunk-3PQEUSPK.js → chunk-J2ELAXGI.js} +1 -1
  87. package/dist/{chunk-6RAHONLG.js → chunk-J3NMHMG7.js} +2 -2
  88. package/dist/{chunk-6A6OSNC2.js → chunk-JBQFVXDK.js} +1 -1
  89. package/dist/{chunk-INGRSQVC.js → chunk-KAYK66B3.js} +3 -3
  90. package/dist/{chunk-FIQ7ND7P.js → chunk-LCYHJQGQ.js} +5 -5
  91. package/dist/{chunk-2YMVIBFT.js → chunk-ME2ZKG6Y.js} +12 -12
  92. package/dist/{chunk-LKSFQTGQ.js → chunk-MQJEDVTH.js} +1 -1
  93. package/dist/{chunk-C4F5RUJL.js → chunk-MW6MPOQZ.js} +6 -6
  94. package/dist/{chunk-XQYBTRVW.js → chunk-NDAJSNIZ.js} +1 -1
  95. package/dist/{chunk-DF2CUKN4.js → chunk-NFXWQDZ6.js} +2 -2
  96. package/dist/{chunk-ZAZQHOBS.js → chunk-O2CW5IFD.js} +11 -11
  97. package/dist/{chunk-GVJWHTN2.js → chunk-OR47JOLE.js} +2 -2
  98. package/dist/{chunk-422KDIO5.js → chunk-PD5LSNEK.js} +2 -2
  99. package/dist/{chunk-IEHI64ZN.js → chunk-PDES33BK.js} +1 -1
  100. package/dist/{chunk-AOAIYHAP.js → chunk-PHSPXFAY.js} +5 -5
  101. package/dist/{chunk-AEC72YC3.js → chunk-PNKFGNJF.js} +6 -6
  102. package/dist/{chunk-OBKHLKKB.js → chunk-PY2JHBNC.js} +4 -4
  103. package/dist/{chunk-LSABM2ES.js → chunk-Q4XW5FWF.js} +2 -2
  104. package/dist/{chunk-WES6E62H.js → chunk-Q6EK2GDR.js} +4 -4
  105. package/dist/{chunk-ZNMLL2WN.js → chunk-QNEF5JII.js} +2 -2
  106. package/dist/{chunk-XKXOT2ZU.js → chunk-QVXNSVBS.js} +3 -3
  107. package/dist/{chunk-LVL7XAXK.js → chunk-RO36S2KY.js} +5 -5
  108. package/dist/{chunk-QMKI5RGT.js → chunk-RQCKUCWK.js} +4 -5
  109. package/dist/{chunk-Q5H5AFS7.js → chunk-TIX4DZ2J.js} +3 -3
  110. package/dist/{chunk-E46NE7FB.js → chunk-U4P4NDVB.js} +2 -0
  111. package/dist/{chunk-GCOOOIBX.js → chunk-UJ2WT54H.js} +43 -31
  112. package/dist/{chunk-LGIB72D7.js → chunk-UOKA4ENY.js} +3 -3
  113. package/dist/{chunk-OLJTUTD2.js → chunk-UQ352C7S.js} +37 -33
  114. package/dist/{chunk-7Q6YKZY2.js → chunk-VBYWBGIJ.js} +3 -3
  115. package/dist/{chunk-QG5MJ6NW.js → chunk-VR6VWNLQ.js} +6 -6
  116. package/dist/{chunk-ISDMTGZ3.js → chunk-VTT3WV4C.js} +1 -1
  117. package/dist/{chunk-MAPC5KKZ.js → chunk-XBPBYSNM.js} +2 -2
  118. package/dist/{chunk-FMQBG2TD.js → chunk-XYFKYZCQ.js} +6 -6
  119. package/dist/{chunk-J6CNQ5UK.js → chunk-XYRPLFMD.js} +1 -1
  120. package/dist/{chunk-P6S4CALA.js → chunk-YKL7VBKJ.js} +5 -5
  121. package/dist/{chunk-MNVBO6UO.js → chunk-ZE56WMFL.js} +4 -4
  122. package/dist/{codex-app-cards-switch-TOHSGS5T.js → codex-app-cards-switch-NRAMENRL.js} +12 -12
  123. package/dist/{codex-card-routing-BPCOKSBO.js → codex-card-routing-D7ARIQKL.js} +2 -2
  124. package/dist/{codex-desktop-launch-6LD5GETH.js → codex-desktop-launch-2X4UEMRL.js} +2 -2
  125. package/dist/{codex-session-launch-ZVFPD4ON.js → codex-session-launch-FY5QIZSI.js} +20 -20
  126. package/dist/{config-3AFJSGM2.js → config-NDOIVL6S.js} +3 -3
  127. package/dist/{global-upgrade-6SWFRW5G.js → global-upgrade-MS3WGHEP.js} +9 -9
  128. package/dist/{identity-K2VBL5PB.js → identity-VXA3TZ7U.js} +4 -4
  129. package/dist/{live-capabilities-VQEG7TCE.js → live-capabilities-2LCBHUWN.js} +14 -11
  130. package/dist/{paths-ZAVMBGAQ.js → paths-HOCSWOBY.js} +3 -3
  131. package/dist/{reapply-BXMMOQXK.js → reapply-VYMO3QM6.js} +29 -29
  132. package/dist/src/index.js +34 -34
  133. package/dist/{upgrade-lock-UZN332AO.js → upgrade-lock-XH5AQIOD.js} +4 -4
  134. package/dist/{usage-EDDIN5YZ.js → usage-EVX6CH5H.js} +3 -3
  135. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SETUP_FLAGS
3
- } from "./chunk-IOWB43KY.js";
3
+ } from "./chunk-CAUSBRTJ.js";
4
4
  import {
5
5
  parseFlags
6
6
  } from "./chunk-YPY4YCIZ.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-YU2EUD7O.js";
10
10
  import {
11
11
  NPX_LATEST_COMMAND
12
- } from "./chunk-ZYLZCNOJ.js";
12
+ } from "./chunk-BKWDG5QV.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-KQVURVAP.js";
20
+ } from "./chunk-A6KNDKO5.js";
21
21
 
22
22
  // src/cli/cowork.ts
23
23
  import { readFileSync } from "fs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteUrl
3
- } from "./chunk-LHUA6ADC.js";
3
+ } from "./chunk-62V26PAL.js";
4
4
  import {
5
5
  KEY_SCOPE
6
- } from "./chunk-KQVURVAP.js";
6
+ } from "./chunk-A6KNDKO5.js";
7
7
 
8
8
  // src/cli/approval-settings-pages.ts
9
9
  var API_KEYS_PATH = "/dashboard/agent/settings";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  guardBinary
3
- } from "./chunk-CZH3JDVB.js";
3
+ } from "./chunk-GGXAZTSW.js";
4
4
 
5
5
  // src/bell/install.ts
6
6
  import { join } from "path";
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  MANAGED_CLAUDE_SETTINGS_BY_PLATFORM
3
- } from "./chunk-LYLADUYE.js";
3
+ } from "./chunk-D35XQMWO.js";
4
4
  import {
5
5
  declinedAgentsFile,
6
6
  readDeclinedAgents
7
- } from "./chunk-4NLZUCPG.js";
7
+ } from "./chunk-4Y2LO2WB.js";
8
8
  import {
9
9
  OPENCODE_HOOK_BINARY,
10
10
  openCodeConfigDir,
11
11
  openCodePluginArgv,
12
12
  openCodePluginFile
13
- } from "./chunk-RBPAUX6C.js";
13
+ } from "./chunk-4KHBN7LI.js";
14
14
  import {
15
15
  liveCursorGateCoverage
16
- } from "./chunk-GGTLV67J.js";
16
+ } from "./chunk-4JR6PPIY.js";
17
17
  import {
18
18
  compatibleConfigFile,
19
19
  compatibleHookEvents,
20
20
  grokHome,
21
21
  parseConfigDocument
22
- } from "./chunk-FIQ7ND7P.js";
22
+ } from "./chunk-LCYHJQGQ.js";
23
23
  import {
24
24
  DEFAULT_HOOKS_KEY_PATH,
25
25
  GEMINI_HOOK_BINARY,
26
26
  GEMINI_HOOK_EVENTS,
27
27
  hooksAt
28
- } from "./chunk-OBKHLKKB.js";
28
+ } from "./chunk-PY2JHBNC.js";
29
29
  import {
30
30
  CODEX_EARLIER_APPROVAL_MATCHERS,
31
31
  CODEX_HOOK_BINARY,
@@ -53,7 +53,7 @@ import {
53
53
  parseHookArgv,
54
54
  parseHookCommand,
55
55
  supportedClaudeEvents
56
- } from "./chunk-CZH3JDVB.js";
56
+ } from "./chunk-GGXAZTSW.js";
57
57
  import {
58
58
  readRegularJsonFile,
59
59
  readRegularTextFile
@@ -67,7 +67,7 @@ import {
67
67
  OPENCODE_APPROVAL_EVENT,
68
68
  isRecord,
69
69
  matcherMatchesEveryCall
70
- } from "./chunk-KQVURVAP.js";
70
+ } from "./chunk-A6KNDKO5.js";
71
71
 
72
72
  // src/hook-wiring.ts
73
73
  import { createHash } from "crypto";
@@ -25,7 +25,7 @@ import {
25
25
  reportableSessionId,
26
26
  toToolLookup,
27
27
  truncateLine
28
- } from "./chunk-KQVURVAP.js";
28
+ } from "./chunk-A6KNDKO5.js";
29
29
 
30
30
  // ../hook-mapping/src/commit-receipt.ts
31
31
  var COMMIT_OUTPUT_MAX_LENGTH = 65536;
@@ -2,7 +2,7 @@ import {
2
2
  DISCONNECT_AGENT_IDS,
3
3
  SETUP_AGENT_CHOICES,
4
4
  isApprovalMode
5
- } from "./chunk-KQVURVAP.js";
5
+ } from "./chunk-A6KNDKO5.js";
6
6
 
7
7
  // src/cli/mode-request.ts
8
8
  var parseDuration = (value) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readConfigFileKey
3
- } from "./chunk-XKXOT2ZU.js";
3
+ } from "./chunk-QVXNSVBS.js";
4
4
 
5
5
  // src/bell/fleet.ts
6
6
  import { closeSync, constants, futimesSync, lstatSync, mkdirSync, openSync, readdirSync, unlinkSync } from "fs";
@@ -9,7 +9,7 @@ import {
9
9
  isSetupConnectMode,
10
10
  isValidApiKey,
11
11
  normalizeAgentId
12
- } from "./chunk-KQVURVAP.js";
12
+ } from "./chunk-A6KNDKO5.js";
13
13
 
14
14
  // src/setup/options.ts
15
15
  var AGENT_CHOICES = SETUP_AGENT_CHOICES;
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  APPROVAL_RULES_PATH,
3
3
  canChangeApprovalSettings
4
- } from "./chunk-4RKB6X4S.js";
4
+ } from "./chunk-AIZ5KC2N.js";
5
5
  import {
6
6
  callMcpTool
7
- } from "./chunk-UZZRSCFR.js";
7
+ } from "./chunk-EADQYNLU.js";
8
8
  import {
9
9
  absoluteUrl
10
- } from "./chunk-LHUA6ADC.js";
10
+ } from "./chunk-62V26PAL.js";
11
11
  import {
12
12
  getBaseUrl
13
- } from "./chunk-IEHI64ZN.js";
13
+ } from "./chunk-PDES33BK.js";
14
14
  import {
15
15
  NPX_LATEST_COMMAND
16
- } from "./chunk-ZYLZCNOJ.js";
16
+ } from "./chunk-BKWDG5QV.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-KQVURVAP.js";
24
+ } from "./chunk-A6KNDKO5.js";
25
25
 
26
26
  // src/reach.ts
27
27
  var reachVerdict = (channels) => {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-POFBE6ZY.js";
4
4
  import {
5
5
  autoUpdateState
6
- } from "./chunk-CZH3JDVB.js";
6
+ } from "./chunk-GGXAZTSW.js";
7
7
  import {
8
8
  readJsonSafe,
9
9
  writeJsonAtomic
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-WIIMW5YO.js";
18
18
  import {
19
19
  isAutoUpdateResult
20
- } from "./chunk-KQVURVAP.js";
20
+ } from "./chunk-A6KNDKO5.js";
21
21
 
22
22
  // src/auto-update.ts
23
23
  import { spawn } from "child_process";
@@ -4,13 +4,13 @@ import {
4
4
  configFailureKind,
5
5
  retryAgentCommand,
6
6
  writeSetupConfigFile
7
- } from "./chunk-7Q6YKZY2.js";
7
+ } from "./chunk-VBYWBGIJ.js";
8
8
  import {
9
9
  MCP_BRIDGE_BINARY
10
- } from "./chunk-UTUR6WEA.js";
10
+ } from "./chunk-3MMOB5TM.js";
11
11
  import {
12
12
  KEY_FILE_MODE
13
- } from "./chunk-XKXOT2ZU.js";
13
+ } from "./chunk-QVXNSVBS.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-CZH3JDVB.js";
35
+ } from "./chunk-GGXAZTSW.js";
36
36
  import {
37
37
  resolveGlobalBinary
38
- } from "./chunk-CQLQFN6B.js";
38
+ } from "./chunk-FKKS4ZC5.js";
39
39
  import {
40
40
  readJsonSafe,
41
41
  writeFileAtomic,
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-BG4HHB7E.js";
4
4
  import {
5
5
  renderCommandHelp
6
- } from "./chunk-ZYLZCNOJ.js";
6
+ } from "./chunk-BKWDG5QV.js";
7
7
  import {
8
8
  getPackageVersion
9
9
  } from "./chunk-WIIMW5YO.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  claudeConfigDir
3
- } from "./chunk-CZH3JDVB.js";
3
+ } from "./chunk-GGXAZTSW.js";
4
4
  import {
5
5
  claudePermissionRulesFromSettings
6
- } from "./chunk-KQVURVAP.js";
6
+ } from "./chunk-A6KNDKO5.js";
7
7
 
8
8
  // src/claude-permission-rules.ts
9
9
  import { readFileSync, statSync } from "fs";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  keyCheckFromResponse
3
- } from "./chunk-LHUA6ADC.js";
3
+ } from "./chunk-62V26PAL.js";
4
4
  import {
5
5
  installNetworkDefaults
6
- } from "./chunk-KYWH4XUR.js";
6
+ } from "./chunk-3YV26XPH.js";
7
7
  import {
8
8
  fetchAsCredential
9
- } from "./chunk-IAWFSD4Q.js";
9
+ } from "./chunk-6DAXKHVX.js";
10
10
  import {
11
11
  getBaseUrl
12
- } from "./chunk-IEHI64ZN.js";
12
+ } from "./chunk-PDES33BK.js";
13
13
  import {
14
14
  isRecord,
15
15
  isToolErrorResult,
16
16
  toolFailureCodeOfResult
17
- } from "./chunk-KQVURVAP.js";
17
+ } from "./chunk-A6KNDKO5.js";
18
18
 
19
19
  // src/retry.ts
20
20
  var isRetryable = (err) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DEFAULT_SESSION
3
- } from "./chunk-2YMVIBFT.js";
3
+ } from "./chunk-ME2ZKG6Y.js";
4
4
 
5
5
  // src/answer.ts
6
6
  var isDeferAnswer = (value) => value === "defer";
@@ -254,14 +254,6 @@ var resolveGlobalPackageVersion = (name) => {
254
254
  return void 0;
255
255
  }
256
256
  };
257
- var resolveGlobalPackageVersionAsync = async (name, signal) => {
258
- try {
259
- const { stdout } = await runNpmDiscovery("list -g --depth=0 --json --no-workspaces", signal);
260
- return globalPackageVersionIn(stdout, name);
261
- } catch {
262
- return void 0;
263
- }
264
- };
265
257
  var localImportsPresent = (entry, packageDir, seen = /* @__PURE__ */ new Set()) => {
266
258
  if (seen.has(entry)) return true;
267
259
  seen.add(entry);
@@ -415,9 +407,9 @@ var installGlobally = (options) => {
415
407
  }
416
408
  const started = (async () => {
417
409
  if (!npmIsOnPath()) throw new NpmMissingError();
418
- const { withUpgradeLock } = await import("./global-upgrade-6SWFRW5G.js");
419
- const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-UZN332AO.js");
420
- const { autoUpdateLock } = await import("./paths-ZAVMBGAQ.js");
410
+ const { withUpgradeLock } = await import("./global-upgrade-MS3WGHEP.js");
411
+ const { installWithUpgradeLock, ownsUpgradeLock } = await import("./upgrade-lock-XH5AQIOD.js");
412
+ const { autoUpdateLock } = await import("./paths-HOCSWOBY.js");
421
413
  let result = "skipped";
422
414
  const install = async () => {
423
415
  const platform = process.platform;
@@ -489,7 +481,6 @@ export {
489
481
  resolveBinary,
490
482
  resolvePackageVersionFromBinary,
491
483
  resolveGlobalPackageVersion,
492
- resolveGlobalPackageVersionAsync,
493
484
  readGlobalFolder,
494
485
  readGlobalCliInstallAt,
495
486
  readGlobalCliInstall,
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  compatibleConfigFile,
3
3
  hasCompatibleHooks
4
- } from "./chunk-FIQ7ND7P.js";
4
+ } from "./chunk-LCYHJQGQ.js";
5
5
  import {
6
6
  pusharyHookExecutable
7
- } from "./chunk-OBKHLKKB.js";
7
+ } from "./chunk-PY2JHBNC.js";
8
8
  import {
9
9
  isProtectedByScope,
10
10
  registerHookEntry
11
- } from "./chunk-CZH3JDVB.js";
11
+ } from "./chunk-GGXAZTSW.js";
12
12
  import {
13
13
  isRecord
14
- } from "./chunk-KQVURVAP.js";
14
+ } from "./chunk-A6KNDKO5.js";
15
15
 
16
16
  // src/cursor-config.ts
17
17
  var hookCommandOf = (entry) => {
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  RETRY_ACK,
6
6
  refusedReceiptMessage
7
- } from "./chunk-3PQEUSPK.js";
7
+ } from "./chunk-J2ELAXGI.js";
8
8
 
9
9
  // src/command-receipts.ts
10
10
  import { randomUUID } from "crypto";
@@ -3,7 +3,7 @@ import {
3
3
  formatVersion,
4
4
  quoteIfNeeded,
5
5
  shellDoubleQuoted
6
- } from "./chunk-CQLQFN6B.js";
6
+ } from "./chunk-FKKS4ZC5.js";
7
7
  import {
8
8
  writeFileAtomic
9
9
  } from "./chunk-TODDEIYG.js";
@@ -20,7 +20,7 @@ import {
20
20
  PRETOOLUSE_GATED_TOOLS,
21
21
  PUSHARY_TOOL_PREFIX,
22
22
  withHookHoldBudget
23
- } from "./chunk-KQVURVAP.js";
23
+ } from "./chunk-A6KNDKO5.js";
24
24
 
25
25
  // src/setup/paths.ts
26
26
  import { createHash as createHash2 } from "crypto";
@@ -4,37 +4,37 @@ import {
4
4
  postLiveSession,
5
5
  postLiveSessionUntilAccepted,
6
6
  startLiveSessionHeartbeat
7
- } from "./chunk-QMKI5RGT.js";
7
+ } from "./chunk-RQCKUCWK.js";
8
8
  import {
9
9
  CommandReceipts,
10
10
  controllerCommandSchema
11
- } from "./chunk-FSTSLVZJ.js";
11
+ } from "./chunk-GA72NGS7.js";
12
12
  import {
13
13
  SESSION_IDLE_TIMEOUT_MS,
14
14
  describeIdleWindow,
15
15
  idleDeadlinePassed,
16
16
  startProcessOwnership
17
- } from "./chunk-LSABM2ES.js";
17
+ } from "./chunk-Q4XW5FWF.js";
18
18
  import {
19
19
  repositoryScopeFor
20
- } from "./chunk-6A6OSNC2.js";
20
+ } from "./chunk-JBQFVXDK.js";
21
21
  import {
22
22
  isAskUserResponse,
23
23
  isDecisionStopped,
24
24
  isWaitForAnswerResponse,
25
25
  withdrawQuestion,
26
26
  writeDegraded
27
- } from "./chunk-P3UCAWUP.js";
27
+ } from "./chunk-3RBUCAO7.js";
28
28
  import {
29
29
  callMcpTool,
30
30
  isRetryable
31
- } from "./chunk-UZZRSCFR.js";
31
+ } from "./chunk-EADQYNLU.js";
32
32
  import {
33
33
  spawnClaude
34
34
  } from "./chunk-H6CL3T2S.js";
35
35
  import {
36
36
  readCommandAck
37
- } from "./chunk-3PQEUSPK.js";
37
+ } from "./chunk-J2ELAXGI.js";
38
38
  import {
39
39
  AGENT_QUESTION_DESCRIPTION_MAX,
40
40
  AGENT_QUESTION_HEADER_MAX,
@@ -55,7 +55,7 @@ import {
55
55
  parseCodexQuestions,
56
56
  planElicitationAsk,
57
57
  readElicitationFields
58
- } from "./chunk-KQVURVAP.js";
58
+ } from "./chunk-A6KNDKO5.js";
59
59
 
60
60
  // src/codex-question-owner.ts
61
61
  import { createHash } from "crypto";
@@ -509,8 +509,7 @@ var JsonRpcClient = class {
509
509
  return;
510
510
  }
511
511
  if (message.id !== void 0 && message.method) {
512
- const result = message.method === "item/commandExecution/requestApproval" || message.method === "item/fileChange/requestApproval" ? { decision: "decline" } : message.method === "applyPatchApproval" || message.method === "execCommandApproval" ? { decision: { denied: { rejection: "No interactive Codex client is attached" } } } : null;
513
- this.write(result ? { id: message.id, result } : { id: message.id, error: { code: -32601, message: "Unsupported server request" } });
512
+ this.write({ id: message.id, error: { code: -32601, message: "Unsupported server request" } });
514
513
  return;
515
514
  }
516
515
  if (typeof message.id === "number") {
@@ -754,13 +753,14 @@ var runCodexBridge = async (options) => {
754
753
  if (!threadId) throw new Error("Codex app-server did not return a thread id");
755
754
  ownership = startProcessOwnership({ sessionId: threadId, pid: process.pid, spawnId: options.spawnId });
756
755
  await ownership.ready;
757
- relay = options.transcripts === false ? null : new LiveTranscriptRelay(options, threadId);
756
+ relay = options.transcripts === false ? null : options.transcriptSink?.(threadId) ?? new LiveTranscriptRelay(options, threadId);
758
757
  await postLiveSessionUntilAccepted(
759
758
  options,
760
759
  "/api/agent/event",
761
760
  reportBody("session_start", options.resumeThreadId ? "Session resumed" : "Session started")
762
761
  );
763
762
  linked = true;
763
+ await options.onReady?.(threadId);
764
764
  stopHeartbeat = startLiveSessionHeartbeat(
765
765
  options,
766
766
  reportBody("heartbeat", "Session online"),
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isSafeReadOnlyCommand
3
- } from "./chunk-KQVURVAP.js";
3
+ } from "./chunk-A6KNDKO5.js";
4
4
 
5
5
  // src/ledger.ts
6
6
  import { appendFileSync, existsSync, mkdirSync, readFileSync, renameSync, rmSync, statSync } from "fs";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  openCodeConfigDirFrom
3
- } from "./chunk-RBPAUX6C.js";
3
+ } from "./chunk-4KHBN7LI.js";
4
4
  import {
5
5
  nativeClaudeInstallPath
6
6
  } from "./chunk-CYTPQDQY.js";
7
7
  import {
8
8
  grokHome
9
- } from "./chunk-FIQ7ND7P.js";
9
+ } from "./chunk-LCYHJQGQ.js";
10
10
  import {
11
11
  claudeConfigDir,
12
12
  clineDataDirectory,
13
13
  codexHomeFrom
14
- } from "./chunk-CZH3JDVB.js";
14
+ } from "./chunk-GGXAZTSW.js";
15
15
  import {
16
16
  HOOK_COMPATIBLE_PROFILES
17
- } from "./chunk-KQVURVAP.js";
17
+ } from "./chunk-A6KNDKO5.js";
18
18
 
19
19
  // src/vscode-config.ts
20
20
  import { homedir } from "os";
@@ -4,15 +4,15 @@ import {
4
4
  claimThrottle,
5
5
  releaseThrottle,
6
6
  reportEvent
7
- } from "./chunk-2YMVIBFT.js";
7
+ } from "./chunk-ME2ZKG6Y.js";
8
8
  import {
9
9
  deriveToolTarget,
10
10
  permissionDeniedAction
11
- } from "./chunk-QTR6KQEU.js";
11
+ } from "./chunk-BFXIQGWS.js";
12
12
  import {
13
13
  machineDecisionFor,
14
14
  wireVerdictFor
15
- } from "./chunk-KQVURVAP.js";
15
+ } from "./chunk-A6KNDKO5.js";
16
16
 
17
17
  // src/machine-decision-audit.ts
18
18
  import { basename } from "path";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  CODEX_HOOK_STATUS
3
- } from "./chunk-KXHGEJVW.js";
3
+ } from "./chunk-7TKF7IFS.js";
4
4
  import {
5
5
  retryAgentCommand
6
- } from "./chunk-7Q6YKZY2.js";
6
+ } from "./chunk-VBYWBGIJ.js";
7
7
  import {
8
8
  NPX_LATEST_COMMAND
9
- } from "./chunk-ZYLZCNOJ.js";
9
+ } from "./chunk-BKWDG5QV.js";
10
10
 
11
11
  // src/setup/codex-trust.ts
12
12
  var CODEX_TRUST_TELEMETRY = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isFinalCommandAckRefusal
3
- } from "./chunk-KQVURVAP.js";
3
+ } from "./chunk-A6KNDKO5.js";
4
4
 
5
5
  // src/command-ack-outcome.ts
6
6
  var SETTLED_ACK = { outcome: "settled" };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  autoUpdateLock
3
- } from "./chunk-CZH3JDVB.js";
3
+ } from "./chunk-GGXAZTSW.js";
4
4
  import {
5
5
  installPackageGlobally,
6
6
  npmErrorMessage,
7
7
  npmExitedOnPermissionDenied
8
- } from "./chunk-CQLQFN6B.js";
8
+ } from "./chunk-FKKS4ZC5.js";
9
9
  import {
10
10
  writeJsonAtomic
11
11
  } from "./chunk-TODDEIYG.js";
@@ -2,7 +2,7 @@ import {
2
2
  localRepoKey,
3
3
  normalizeRepoRemote,
4
4
  parseGitBranch
5
- } from "./chunk-KQVURVAP.js";
5
+ } from "./chunk-A6KNDKO5.js";
6
6
 
7
7
  // src/repo.ts
8
8
  import { existsSync, readFileSync, statSync } from "fs";
@@ -3,15 +3,15 @@ import {
3
3
  } from "./chunk-XMSDA5WA.js";
4
4
  import {
5
5
  fetchAsCredential
6
- } from "./chunk-IAWFSD4Q.js";
6
+ } from "./chunk-6DAXKHVX.js";
7
7
  import {
8
8
  getBaseUrl
9
- } from "./chunk-IEHI64ZN.js";
9
+ } from "./chunk-PDES33BK.js";
10
10
  import {
11
11
  compressTranscriptRecord,
12
12
  redactSecretsFromContent,
13
13
  transcriptRecordPlaintext
14
- } from "./chunk-KQVURVAP.js";
14
+ } from "./chunk-A6KNDKO5.js";
15
15
 
16
16
  // src/transcript-api.ts
17
17
  var providerRecipientSchema = external_exports.object({
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  addGeminiMcpServer,
3
3
  removeGeminiMcpServer
4
- } from "./chunk-OBKHLKKB.js";
4
+ } from "./chunk-PY2JHBNC.js";
5
5
  import {
6
6
  CLAUDE_CODE_AGENT
7
- } from "./chunk-2YMVIBFT.js";
7
+ } from "./chunk-ME2ZKG6Y.js";
8
8
  import {
9
9
  compatibleToolLookup
10
- } from "./chunk-QTR6KQEU.js";
10
+ } from "./chunk-BFXIQGWS.js";
11
11
  import {
12
12
  CLAUDE_HOOK_EVENTS,
13
13
  PUSHARY_MCP_URL,
@@ -19,7 +19,7 @@ import {
19
19
  isPusharyHook,
20
20
  registerHookEntry,
21
21
  removeClaudeMcpServers
22
- } from "./chunk-CZH3JDVB.js";
22
+ } from "./chunk-GGXAZTSW.js";
23
23
  import {
24
24
  HOOK_COMPATIBLE_PROFILES,
25
25
  PHONE_ANSWERED_TOOLS,
@@ -30,7 +30,7 @@ import {
30
30
  pusharyMissingReason,
31
31
  refusalOutput,
32
32
  withHookHoldBudget
33
- } from "./chunk-KQVURVAP.js";
33
+ } from "./chunk-A6KNDKO5.js";
34
34
 
35
35
  // src/config-document.ts
36
36
  import { parse, stringify } from "smol-toml";