pushary 1.9.276 → 1.9.277

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 (148) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +1 -0
  3. package/dist/{api-OLFIDMS7.js → api-JDJKIBJ2.js} +12 -12
  4. package/dist/bin/pushary-ask.d.ts +1 -0
  5. package/dist/bin/pushary-ask.js +303 -0
  6. package/dist/bin/pushary-audit.js +3 -3
  7. package/dist/bin/pushary-bell-hook.js +31 -30
  8. package/dist/bin/pushary-bell.js +11 -11
  9. package/dist/bin/pushary-calls.js +14 -14
  10. package/dist/bin/pushary-claude.js +42 -40
  11. package/dist/bin/pushary-clean.js +47 -46
  12. package/dist/bin/pushary-codex-bridge.js +23 -23
  13. package/dist/bin/pushary-codex-hook.js +37 -35
  14. package/dist/bin/pushary-codex-session.js +8 -8
  15. package/dist/bin/pushary-codex.js +17 -16
  16. package/dist/bin/pushary-connect.js +37 -36
  17. package/dist/bin/pushary-cowork.js +5 -5
  18. package/dist/bin/pushary-daemon.js +69 -68
  19. package/dist/bin/pushary-disconnect.js +33 -32
  20. package/dist/bin/pushary-display-hook.js +79 -48
  21. package/dist/bin/pushary-doctor.js +76 -75
  22. package/dist/bin/pushary-elicitation-hook.js +30 -28
  23. package/dist/bin/pushary-gemini-bridge.js +18 -18
  24. package/dist/bin/pushary-gemini-hook.js +34 -32
  25. package/dist/bin/pushary-hook.js +38 -37
  26. package/dist/bin/pushary-login.js +45 -44
  27. package/dist/bin/pushary-logout.js +33 -32
  28. package/dist/bin/pushary-mcp.js +14 -14
  29. package/dist/bin/pushary-mode.js +15 -15
  30. package/dist/bin/pushary-notification-hook.js +28 -27
  31. package/dist/bin/pushary-opencode-bridge.js +25 -25
  32. package/dist/bin/pushary-opencode-hook.js +48 -46
  33. package/dist/bin/pushary-permission-denied-hook.js +35 -34
  34. package/dist/bin/pushary-permission-hook.js +36 -35
  35. package/dist/bin/pushary-post-hook.js +29 -28
  36. package/dist/bin/pushary-prompt-hook.js +28 -27
  37. package/dist/bin/pushary-session-end-hook.js +31 -30
  38. package/dist/bin/pushary-session-start-hook.js +41 -40
  39. package/dist/bin/pushary-sessions.js +12 -12
  40. package/dist/bin/pushary-setup.js +94 -93
  41. package/dist/bin/pushary-stats.js +7 -7
  42. package/dist/bin/pushary-status.js +38 -37
  43. package/dist/bin/pushary-stop-hook.js +28 -27
  44. package/dist/bin/pushary-stopfailure-hook.js +28 -27
  45. package/dist/bin/pushary-suggestions.js +15 -15
  46. package/dist/bin/pushary-transcript-register.js +16 -16
  47. package/dist/bin/pushary-transcripts.js +27 -27
  48. package/dist/bin/pushary-upgrade.js +65 -64
  49. package/dist/bin/pushary-wait.js +16 -16
  50. package/dist/bin/pushary.js +8 -7
  51. package/dist/{chunk-LP7DPO3E.js → chunk-22OYSTAN.js} +1 -1
  52. package/dist/{chunk-YN4YRZNF.js → chunk-2BW7GNNB.js} +2 -2
  53. package/dist/{chunk-ZW2BWWIP.js → chunk-2XAZO2Q3.js} +2 -2
  54. package/dist/{chunk-GXXZLEHJ.js → chunk-33IU43ZR.js} +7 -7
  55. package/dist/{chunk-FDJ74WHC.js → chunk-3CNXRECH.js} +4 -4
  56. package/dist/{chunk-D6BE2O76.js → chunk-3HKTW7AH.js} +2 -2
  57. package/dist/{chunk-RLDWWF4R.js → chunk-4IX2PONM.js} +1 -1
  58. package/dist/{chunk-ESHKK3NZ.js → chunk-5VAI3RDO.js} +4 -4
  59. package/dist/{chunk-N6YV7ZYB.js → chunk-5XVPGNE5.js} +6 -6
  60. package/dist/{chunk-DTJ654CO.js → chunk-5ZX57DNR.js} +2 -2
  61. package/dist/{chunk-6IEGHLAQ.js → chunk-63J4TOMV.js} +4 -4
  62. package/dist/{chunk-M4G55A3C.js → chunk-6RSP2BY4.js} +3 -3
  63. package/dist/{chunk-FTWDXWIC.js → chunk-6X7GXEBI.js} +15 -4
  64. package/dist/{chunk-4TZE23IY.js → chunk-72CPOGDP.js} +3 -3
  65. package/dist/{chunk-PJ2MCXPU.js → chunk-76XC2ICT.js} +18 -19
  66. package/dist/{chunk-YWSNBQFN.js → chunk-7AMWTZTL.js} +5 -5
  67. package/dist/{chunk-ACOOCU2C.js → chunk-7RLMFVUZ.js} +2 -2
  68. package/dist/{chunk-3XNTOZSO.js → chunk-A7PIULSY.js} +1 -1
  69. package/dist/{chunk-ZCSQCI3V.js → chunk-AECDNNRM.js} +1 -1
  70. package/dist/{chunk-6ILWJR5J.js → chunk-B5565Y33.js} +1 -1
  71. package/dist/{chunk-5MD7VE6J.js → chunk-B6RL3XXW.js} +3 -3
  72. package/dist/{chunk-GXJ5WI6B.js → chunk-BAYA2H6O.js} +7 -7
  73. package/dist/{chunk-UMW3HCWQ.js → chunk-C3E5KDBH.js} +10 -10
  74. package/dist/{chunk-X6HX2UHZ.js → chunk-CB2NT2J5.js} +1 -1
  75. package/dist/{chunk-OAZ7WMAU.js → chunk-CUXMOQDW.js} +3 -3
  76. package/dist/{chunk-5PB5PLYU.js → chunk-DFNJBEFV.js} +10 -10
  77. package/dist/{chunk-DFEGXN5S.js → chunk-DIQKY76N.js} +1 -1
  78. package/dist/{chunk-EWT4JVQ6.js → chunk-DISRB3NE.js} +1 -1
  79. package/dist/{chunk-CREEYGND.js → chunk-DMMIXJKD.js} +12 -12
  80. package/dist/{chunk-S3H2J5PJ.js → chunk-DWM7BYVK.js} +1 -1
  81. package/dist/{chunk-KS2H54MK.js → chunk-EEC52E5K.js} +1 -1
  82. package/dist/{chunk-HF47DPMN.js → chunk-ETZUDUCB.js} +1 -1
  83. package/dist/{chunk-SCWBZEDN.js → chunk-FGIJ46DR.js} +5 -5
  84. package/dist/{chunk-DXY77UVL.js → chunk-FSJVDHQ5.js} +14 -14
  85. package/dist/{chunk-QU5K42CD.js → chunk-GJQJHWQ4.js} +2 -2
  86. package/dist/{chunk-V54U7EAG.js → chunk-GP7Q2DCX.js} +4 -4
  87. package/dist/{chunk-ZMVHJCM2.js → chunk-GQDJPX3J.js} +1 -1
  88. package/dist/{chunk-YIWLOD3H.js → chunk-GUL5YSME.js} +5 -5
  89. package/dist/{chunk-M23WDLIC.js → chunk-HMUSFFEH.js} +3 -3
  90. package/dist/{chunk-4YHQYYTJ.js → chunk-HQSTVSDO.js} +169 -74
  91. package/dist/{chunk-TGS5T7AD.js → chunk-I4A6CL5Q.js} +6 -6
  92. package/dist/{chunk-YABFR43V.js → chunk-I5I5PXQL.js} +10 -10
  93. package/dist/{chunk-ZMMCHRJF.js → chunk-ISPN73NA.js} +5 -5
  94. package/dist/{chunk-HYHA7TQV.js → chunk-J2N3BNNE.js} +1 -1
  95. package/dist/{chunk-5YKEUZCZ.js → chunk-JHJPAG6R.js} +6 -6
  96. package/dist/{chunk-ZM3LMIDN.js → chunk-JNPWASVJ.js} +11 -1
  97. package/dist/{chunk-FI4ZDYXT.js → chunk-K5JEB3I4.js} +8 -8
  98. package/dist/{chunk-52T655NA.js → chunk-K5LHDTYS.js} +1 -1
  99. package/dist/{chunk-6ZYEZF6R.js → chunk-KKEX5FAB.js} +8 -8
  100. package/dist/{chunk-YNDJIBLB.js → chunk-KO2QJNTA.js} +1 -1
  101. package/dist/{chunk-JOWPUJPT.js → chunk-LO2LCXNB.js} +5 -5
  102. package/dist/{chunk-46NACONX.js → chunk-MGV6KJJF.js} +1 -1
  103. package/dist/{chunk-EA7G2WD3.js → chunk-MOMA4DD4.js} +1 -1
  104. package/dist/{chunk-2JZM72KC.js → chunk-MZJIL5CA.js} +5 -5
  105. package/dist/{chunk-OK5XINZK.js → chunk-NDDIA2YJ.js} +7 -7
  106. package/dist/{chunk-6BSQQQPF.js → chunk-NLJUHVZJ.js} +3 -3
  107. package/dist/{chunk-5CIJT5EW.js → chunk-OIRKU5GW.js} +4 -4
  108. package/dist/{chunk-SBULIKB5.js → chunk-OMHFKENS.js} +6 -6
  109. package/dist/{chunk-WXYSJULN.js → chunk-QHSJVHNC.js} +4 -4
  110. package/dist/{chunk-E6DLZK6F.js → chunk-QNMJJMZF.js} +4 -4
  111. package/dist/{chunk-CK2XAWUK.js → chunk-QUU74XFH.js} +3 -3
  112. package/dist/{chunk-QMFJHEHJ.js → chunk-R5FAM3I6.js} +1 -1
  113. package/dist/{chunk-TRNII2FW.js → chunk-R7VMXE6A.js} +1 -1
  114. package/dist/{chunk-WGN5Z3WG.js → chunk-SMI5X7BO.js} +1 -1
  115. package/dist/{chunk-U43TDW57.js → chunk-TSKDJNC5.js} +1 -1
  116. package/dist/{chunk-UIVL7CLE.js → chunk-UCX7X333.js} +1 -1
  117. package/dist/{chunk-HYLZSXGI.js → chunk-UXB54PYF.js} +29 -22
  118. package/dist/{chunk-RVEJ2HQO.js → chunk-WCTHF35Z.js} +3 -3
  119. package/dist/{chunk-KMCKHX4S.js → chunk-WFDFDUHU.js} +2 -2
  120. package/dist/{chunk-CABA3Y5F.js → chunk-WG4Y6DJD.js} +24 -11
  121. package/dist/{chunk-DHLVNUDU.js → chunk-WJALXH6I.js} +1 -1
  122. package/dist/{chunk-NDE2U7MH.js → chunk-WTPNWUEQ.js} +3 -3
  123. package/dist/{chunk-EL3X6A4S.js → chunk-WXXAFKZE.js} +2 -2
  124. package/dist/{chunk-BZCSYGXX.js → chunk-WY6VFXYH.js} +22 -20
  125. package/dist/{chunk-KFSWRHKU.js → chunk-XHEF2MQZ.js} +2 -2
  126. package/dist/{chunk-37U5RQKQ.js → chunk-XOALU2TA.js} +4 -4
  127. package/dist/{chunk-SNPJ6XXM.js → chunk-XUIQOGUN.js} +3 -3
  128. package/dist/{chunk-YXDPRTVM.js → chunk-YAV677T2.js} +4 -4
  129. package/dist/{chunk-DQ4JAE76.js → chunk-YBTS5ZR3.js} +6 -2
  130. package/dist/{chunk-7QBTDXGQ.js → chunk-YPTRRRD3.js} +1 -1
  131. package/dist/{chunk-HGNBFVY5.js → chunk-YSDITWDH.js} +4 -4
  132. package/dist/chunk-Z25VDYAL.js +6 -0
  133. package/dist/{chunk-I5L4QXWJ.js → chunk-Z5H2XKMF.js} +2 -2
  134. package/dist/{codex-app-cards-switch-5LUDTLSJ.js → codex-app-cards-switch-YN66WO7X.js} +12 -12
  135. package/dist/{codex-card-routing-3KMBEQOC.js → codex-card-routing-QXVDJGWF.js} +2 -2
  136. package/dist/{codex-desktop-launch-AJWF2S4W.js → codex-desktop-launch-XFRDRYXQ.js} +3 -3
  137. package/dist/{codex-session-launch-VSXLEJVF.js → codex-session-launch-W3SUQJMA.js} +22 -22
  138. package/dist/{config-YXLVQ5T7.js → config-EGAARNM4.js} +9 -3
  139. package/dist/{global-upgrade-KHCU2JYT.js → global-upgrade-KKCSLSUA.js} +9 -9
  140. package/dist/{identity-CGMWCMVP.js → identity-P35TDUOJ.js} +4 -4
  141. package/dist/{live-capabilities-NLUOLMSU.js → live-capabilities-6NS5JAL4.js} +4 -4
  142. package/dist/{paths-KDPFVDE5.js → paths-FCBX57O2.js} +3 -3
  143. package/dist/{reapply-7ALGSM56.js → reapply-KASKVOYN.js} +36 -35
  144. package/dist/src/index.d.ts +14 -3
  145. package/dist/src/index.js +34 -33
  146. package/dist/{upgrade-lock-CRYW2DXA.js → upgrade-lock-HOMFI7KP.js} +4 -4
  147. package/dist/{usage-Q3DQZVW2.js → usage-MAE6ZECN.js} +3 -3
  148. package/package.json +2 -1
@@ -1636,9 +1636,9 @@ var init_partner_developer_guide = __esm({
1636
1636
  PARTNER_API_KEYS_URL = "https://pushary.com/dashboard/agent/settings";
1637
1637
  PARTNER_INSTALL_COMMAND = "npm i @pushary/server";
1638
1638
  PARTNER_DEVELOPER_STEPS = [
1639
- `Install on our server: ${PARTNER_INSTALL_COMMAND}. Create the client with our Partner API key from ${PARTNER_API_KEYS_URL} and keep the key on the server.`,
1639
+ `Install on our server: ${PARTNER_INSTALL_COMMAND}. Create the client with our Partner API key, shown once in onboarding, and keep it on the server. Lost it? Create a new one at ${PARTNER_API_KEYS_URL}.`,
1640
1640
  "For each customer, call pushary.enroll(customerId) and show the universalLink it returns as a button or QR code in our app. They open it in the free Pushary app and allow notifications. Installing the app does not carry the link over, so keep it available until they finish.",
1641
- "Before a risky action, call pushary.authorize({ externalId: customerId, toolName, question }) and run the action only if approved is true.",
1641
+ "Before a risky action, call pushary.decisions.ask({ externalId: customerId, question }) and run the action only if approved is true.",
1642
1642
  "If the answer can come later than the request, create a decision with pushary.decisions.create, save its id, and resume from pushary.decisions.get or the webhook."
1643
1643
  ];
1644
1644
  }
@@ -4103,6 +4103,16 @@ var init_commands = __esm({
4103
4103
  npxLatestCommandFor = (platform) => platform === "win32" ? PUSHARY_CLI_LATEST_FOR_POWERSHELL : PUSHARY_CLI_LATEST;
4104
4104
  NPX_LATEST_COMMAND = npxLatestCommandFor(process.platform);
4105
4105
  COMMAND_LIST = [
4106
+ {
4107
+ name: "ask",
4108
+ module: "pushary-ask",
4109
+ summary: "Ask a question with optional screenshots and print the response as JSON",
4110
+ detail: [
4111
+ 'pushary ask "Ship this layout?" --image checkout.png',
4112
+ "Use --type confirm|select|input and repeat --option for a selection. Attach up to two files with --image.",
4113
+ "Exit 0 means yes for a confirmation or an answered selection/input. Pending or handoff returns 9. A declined confirmation returns 1."
4114
+ ]
4115
+ },
4106
4116
  {
4107
4117
  name: "codex",
4108
4118
  module: "pushary-codex-session",
@@ -4385,6 +4395,19 @@ var init_fsx = __esm({
4385
4395
  }
4386
4396
  });
4387
4397
 
4398
+ // src/mac-app-mcp.ts
4399
+ import { spawn } from "child_process";
4400
+ import { accessSync, constants } from "fs";
4401
+ import { homedir as homedir3 } from "os";
4402
+ import { join as join6 } from "path";
4403
+ import { StringDecoder } from "string_decoder";
4404
+ var init_mac_app_mcp = __esm({
4405
+ "src/mac-app-mcp.ts"() {
4406
+ "use strict";
4407
+ init_src();
4408
+ }
4409
+ });
4410
+
4388
4411
  // src/shell-quote.ts
4389
4412
  var shellDoubleQuoted;
4390
4413
  var init_shell_quote = __esm({
@@ -4403,7 +4426,7 @@ var init_exit = __esm({
4403
4426
 
4404
4427
  // src/npm.ts
4405
4428
  import { promisify } from "util";
4406
- import { exec, execFile, execFileSync, execSync, spawn } from "child_process";
4429
+ import { exec, execFile, execFileSync, execSync, spawn as spawn2 } from "child_process";
4407
4430
  var runFileAsync, runShellAsync, NPM_LOOKUP;
4408
4431
  var init_npm = __esm({
4409
4432
  "src/npm.ts"() {
@@ -4517,12 +4540,13 @@ var init_embedded_mcp_key = __esm({
4517
4540
 
4518
4541
  // src/codex-config.ts
4519
4542
  import { createHash as createHash2 } from "crypto";
4520
- import { homedir as homedir3 } from "os";
4521
- import { join as join6 } from "path";
4543
+ import { homedir as homedir4 } from "os";
4544
+ import { join as join7 } from "path";
4522
4545
  var codexHome, codexHomeFrom, CODEX_TOOL_CALL_MATCHER, CODEX_PRE_TOOL_USE_MATCHER, CODEX_HOOK_EVENTS, CODEX_REQUIRED_APPROVAL_EVENTS, CODEX_HTTP_ONLY_FIELDS, NATIVE_MCP_TRANSPORT_FIELDS;
4523
4546
  var init_codex_config = __esm({
4524
4547
  "src/codex-config.ts"() {
4525
4548
  "use strict";
4549
+ init_mac_app_mcp();
4526
4550
  init_src();
4527
4551
  init_registration_holder();
4528
4552
  init_hook_command();
@@ -4531,8 +4555,8 @@ var init_codex_config = __esm({
4531
4555
  init_removal_scope();
4532
4556
  init_canonical_json();
4533
4557
  init_embedded_mcp_key();
4534
- codexHome = () => codexHomeFrom(homedir3());
4535
- codexHomeFrom = (home) => process.env.CODEX_HOME?.trim() || join6(home, ".codex");
4558
+ codexHome = () => codexHomeFrom(homedir4());
4559
+ codexHomeFrom = (home) => process.env.CODEX_HOME?.trim() || join7(home, ".codex");
4536
4560
  CODEX_TOOL_CALL_MATCHER = "Bash|apply_patch|mcp__.*";
4537
4561
  CODEX_PRE_TOOL_USE_MATCHER = [CODEX_TOOL_CALL_MATCHER, ...CODEX_QUESTION_TOOLS].join("|");
4538
4562
  CODEX_HOOK_EVENTS = [
@@ -4568,8 +4592,8 @@ var init_codex_config = __esm({
4568
4592
  // src/diagnostics/bridge.ts
4569
4593
  import { execFileSync as execFileSync2 } from "child_process";
4570
4594
  import { existsSync as existsSync3, readFileSync as readFileSync6 } from "fs";
4571
- import { homedir as homedir4 } from "os";
4572
- import { dirname as dirname3, join as join7 } from "path";
4595
+ import { homedir as homedir5 } from "os";
4596
+ import { dirname as dirname3, join as join8 } from "path";
4573
4597
  var BRIDGE_HELPER_SUFFIX, BRIDGE_STUB_HELPER_LINE, isBridgeLocator;
4574
4598
  var init_bridge = __esm({
4575
4599
  "src/diagnostics/bridge.ts"() {
@@ -4724,7 +4748,7 @@ var init_instruction_file = __esm({
4724
4748
  });
4725
4749
 
4726
4750
  // src/cline-config.ts
4727
- import { join as join8 } from "path";
4751
+ import { join as join9 } from "path";
4728
4752
  var CLINE_SERVER_NAME, CLINE_TOOL_NOTE, CLINE_SERVER_NAME_TAKEN;
4729
4753
  var init_cline_config = __esm({
4730
4754
  "src/cline-config.ts"() {
@@ -4739,7 +4763,7 @@ var init_cline_config = __esm({
4739
4763
  });
4740
4764
 
4741
4765
  // src/openclaw/openclaw-paths.ts
4742
- import { join as join9, resolve as resolve2 } from "path";
4766
+ import { join as join10, resolve as resolve2 } from "path";
4743
4767
  var init_openclaw_paths = __esm({
4744
4768
  "src/openclaw/openclaw-paths.ts"() {
4745
4769
  "use strict";
@@ -4748,8 +4772,8 @@ var init_openclaw_paths = __esm({
4748
4772
 
4749
4773
  // src/setup/paths.ts
4750
4774
  import { createHash as createHash3 } from "crypto";
4751
- import { homedir as homedir5 } from "os";
4752
- import { join as join10 } from "path";
4775
+ import { homedir as homedir6 } from "os";
4776
+ import { join as join11 } from "path";
4753
4777
  var pusharyDir;
4754
4778
  var init_paths = __esm({
4755
4779
  "src/setup/paths.ts"() {
@@ -4760,7 +4784,7 @@ var init_paths = __esm({
4760
4784
  init_bridge();
4761
4785
  init_cline_config();
4762
4786
  init_openclaw_paths();
4763
- pusharyDir = () => join10(homedir5(), ".pushary");
4787
+ pusharyDir = () => join11(homedir6(), ".pushary");
4764
4788
  }
4765
4789
  });
4766
4790
 
@@ -4815,6 +4839,12 @@ var MalformedApiKeyError = class extends Error {
4815
4839
  this.name = "MalformedApiKeyError";
4816
4840
  }
4817
4841
  };
4842
+ var MissingApiKeyError = class extends Error {
4843
+ constructor() {
4844
+ super(MISSING_API_KEY_MESSAGE);
4845
+ this.name = "MissingApiKeyError";
4846
+ }
4847
+ };
4818
4848
  var isEnvironmentKeyInForce = (read2) => read2.kind === "key" && read2.origin === "environment";
4819
4849
  var readApiKey = () => {
4820
4850
  const read2 = apiKeyInForce({
@@ -4829,9 +4859,10 @@ var getApiKey = () => {
4829
4859
  const read2 = readApiKey();
4830
4860
  if (read2.kind === "key") return read2.key;
4831
4861
  if (read2.kind === "malformed") throw new MalformedApiKeyError(read2);
4832
- throw new Error(MISSING_API_KEY_MESSAGE);
4862
+ throw new MissingApiKeyError();
4833
4863
  };
4834
- var getBaseUrl = () => process.env.PUSHARY_BASE_URL?.trim() || process.env.PUSHARY_API_URL?.trim() || "https://pushary.com";
4864
+ var PUSHARY_PRODUCTION_URL = "https://pushary.com";
4865
+ var getBaseUrl = () => process.env.PUSHARY_BASE_URL?.trim() || process.env.PUSHARY_API_URL?.trim() || PUSHARY_PRODUCTION_URL;
4835
4866
 
4836
4867
  // src/transcript-registration.ts
4837
4868
  init_claude_config_paths();
@@ -4848,12 +4879,12 @@ init_fsx();
4848
4879
  init_paths();
4849
4880
  import { createHash as createHash10 } from "crypto";
4850
4881
  import { lstatSync as lstatSync6, readFileSync as readFileSync19, readdirSync as readdirSync3, realpathSync as realpathSync4, statSync as statSync6, unlinkSync as unlinkSync5 } from "fs";
4851
- import { basename as basename5, dirname as dirname10, isAbsolute as isAbsolute2, join as join22, relative as relative2, resolve as resolve4, sep } from "path";
4882
+ import { basename as basename5, dirname as dirname10, isAbsolute as isAbsolute2, join as join23, relative as relative2, resolve as resolve4, sep } from "path";
4852
4883
 
4853
4884
  // src/transcript-phone-trust.ts
4854
4885
  import { createHash as createHash5 } from "crypto";
4855
4886
  import { mkdirSync as mkdirSync2 } from "fs";
4856
- import { dirname as dirname4, join as join11 } from "path";
4887
+ import { dirname as dirname4, join as join12 } from "path";
4857
4888
 
4858
4889
  // ../../node_modules/zod/v3/external.js
4859
4890
  var external_exports = {};
@@ -8926,7 +8957,7 @@ var approvedPhoneSchema = external_exports.object({ version: external_exports.li
8926
8957
 
8927
8958
  // src/claude-display-draft.ts
8928
8959
  import { closeSync as closeSync2, fstatSync as fstatSync2, lstatSync as lstatSync3, openSync as openSync2, readFileSync as readFileSync8, readSync, unlinkSync as unlinkSync3 } from "fs";
8929
- import { join as join12 } from "path";
8960
+ import { join as join13 } from "path";
8930
8961
  init_src();
8931
8962
 
8932
8963
  // src/crypto.ts
@@ -9013,7 +9044,7 @@ var stateSchema = external_exports.object({
9013
9044
  startedAt: external_exports.number().int().positive(),
9014
9045
  updatedAt: external_exports.number().int().positive()
9015
9046
  });
9016
- var fileFor = (id, directory) => join12(directory, `${id}.display`);
9047
+ var fileFor = (id, directory) => join13(directory, `${id}.display`);
9017
9048
  var readState = (sessionId, runtime) => {
9018
9049
  if (!identifier.safeParse(sessionId).success) return null;
9019
9050
  try {
@@ -9093,12 +9124,12 @@ var captureDisplayDraft = (input, runtime) => {
9093
9124
  // src/transcript-session-key.ts
9094
9125
  init_fsx();
9095
9126
  import { existsSync as existsSync4, mkdirSync as mkdirSync3, readFileSync as readFileSync9, readdirSync, rmSync, statSync as statSync2 } from "fs";
9096
- import { homedir as homedir6 } from "os";
9097
- import { join as join13 } from "path";
9098
- var sessionKeyDirectory = () => process.env.PUSHARY_SESSION_KEY_DIR?.trim() || join13(homedir6(), ".pushary", "sessions");
9127
+ import { homedir as homedir7 } from "os";
9128
+ import { join as join14 } from "path";
9129
+ var sessionKeyDirectory = () => process.env.PUSHARY_SESSION_KEY_DIR?.trim() || join14(homedir7(), ".pushary", "sessions");
9099
9130
  var SESSION_DISPLAY_TTL_MS = 48 * 60 * 60 * 1e3;
9100
9131
  var SAFE_SESSION_ID = /^[A-Za-z0-9._-]{1,128}$/;
9101
- var fileFor2 = (sessionId, directory) => SAFE_SESSION_ID.test(sessionId) ? join13(directory, `${sessionId}.json`) : null;
9132
+ var fileFor2 = (sessionId, directory) => SAFE_SESSION_ID.test(sessionId) ? join14(directory, `${sessionId}.json`) : null;
9102
9133
  var loadSessionKey = (sessionId, directory = sessionKeyDirectory()) => {
9103
9134
  const path = fileFor2(sessionId, directory);
9104
9135
  if (!path || !existsSync4(path)) return null;
@@ -9126,8 +9157,8 @@ init_claude_config_paths();
9126
9157
  init_src();
9127
9158
  init_fsx();
9128
9159
  import { chmodSync as chmodSync2, constants as fsConstants2, copyFileSync as copyFileSync2, existsSync as existsSync5, lstatSync as lstatSync4, mkdirSync as mkdirSync4, readdirSync as readdirSync2, readFileSync as readFileSync11, realpathSync as realpathSync2, rmSync as rmSync2, statSync as statSync3, writeFileSync as writeFileSync3 } from "fs";
9129
- import { homedir as homedir7 } from "os";
9130
- import { basename as basename2, dirname as dirname5, isAbsolute, join as join14, relative } from "path";
9160
+ import { homedir as homedir8 } from "os";
9161
+ import { basename as basename2, dirname as dirname5, isAbsolute, join as join15, relative } from "path";
9131
9162
 
9132
9163
  // src/install-source.ts
9133
9164
  init_src();
@@ -9146,7 +9177,7 @@ var readTranscriptPreference = () => {
9146
9177
  // src/transcript-reader.ts
9147
9178
  init_src();
9148
9179
  import { createHash as createHash8 } from "crypto";
9149
- import { join as join15 } from "path";
9180
+ import { join as join16 } from "path";
9150
9181
  import { closeSync as closeSync4, fstatSync as fstatSync4, openSync as openSync4, readFileSync as readFileSync14, readSync as readSync2, statSync as statSync4 } from "fs";
9151
9182
 
9152
9183
  // src/transcript-source.ts
@@ -9456,7 +9487,7 @@ var PLAN_CONFIGS = {
9456
9487
  };
9457
9488
 
9458
9489
  // src/transcript-sync.ts
9459
- import { join as join16, resolve as resolve3 } from "path";
9490
+ import { join as join17, resolve as resolve3 } from "path";
9460
9491
 
9461
9492
  // src/transcript-capture.ts
9462
9493
  init_src();
@@ -9485,13 +9516,13 @@ var transcriptAccountSchema = external_exports.object({
9485
9516
  var claudeTranscriptPath = (cwd, sessionId) => {
9486
9517
  const projectId = resolve3(cwd).replace(/[^a-zA-Z0-9-]/g, "-");
9487
9518
  const configDir = claudeConfigDir();
9488
- return join16(configDir, "projects", projectId, `${sessionId}.jsonl`);
9519
+ return join17(configDir, "projects", projectId, `${sessionId}.jsonl`);
9489
9520
  };
9490
9521
  var LONGEST_SESSION_HISTORY_RETENTION_DAYS = Math.max(...Object.values(SESSION_HISTORY_RETENTION_DAYS));
9491
9522
 
9492
9523
  // src/transcript-registration.ts
9493
9524
  init_codex_config();
9494
- import { homedir as homedir9 } from "os";
9525
+ import { homedir as homedir10 } from "os";
9495
9526
 
9496
9527
  // src/setup/hook-ownership.ts
9497
9528
  init_bridge();
@@ -9530,7 +9561,7 @@ init_hook_command();
9530
9561
 
9531
9562
  // src/bell/install.ts
9532
9563
  init_hook_command();
9533
- import { join as join17 } from "path";
9564
+ import { join as join18 } from "path";
9534
9565
 
9535
9566
  // src/setup/options.ts
9536
9567
  init_src();
@@ -9560,17 +9591,17 @@ var hookOwnerOfCommands = (commands, appAvailable = true) => {
9560
9591
 
9561
9592
  // src/daemon-lifecycle.ts
9562
9593
  init_src();
9563
- import { dirname as dirname9, join as join21, win32 as win32Path } from "path";
9594
+ import { dirname as dirname9, join as join22, win32 as win32Path } from "path";
9564
9595
  import { existsSync as existsSync6, mkdirSync as mkdirSync8, readFileSync as readFileSync18, realpathSync as realpathSync3, renameSync as renameSync3, statSync as statSync5, unlinkSync as unlinkSync4, writeFileSync as writeFileSync5 } from "fs";
9565
9596
  import { createHash as createHash9, randomUUID as randomUUID3 } from "crypto";
9566
- import { homedir as homedir8, uptime, userInfo } from "os";
9597
+ import { homedir as homedir9, uptime, userInfo } from "os";
9567
9598
 
9568
9599
  // src/identity.ts
9569
9600
  init_fsx();
9570
9601
  init_paths();
9571
9602
  import { randomUUID as randomUUID2 } from "crypto";
9572
9603
  import { linkSync, mkdirSync as mkdirSync6, readFileSync as readFileSync15, rmSync as rmSync3, writeFileSync as writeFileSync4 } from "fs";
9573
- import { dirname as dirname7, join as join18 } from "path";
9604
+ import { dirname as dirname7, join as join19 } from "path";
9574
9605
 
9575
9606
  // src/daemon-lifecycle.ts
9576
9607
  init_version();
@@ -9591,7 +9622,7 @@ import { execFileSync as execFileSync3 } from "child_process";
9591
9622
  // src/daemon-entry-guard.ts
9592
9623
  init_fsx();
9593
9624
  import { mkdirSync as mkdirSync7, readFileSync as readFileSync17 } from "fs";
9594
- import { basename as basename3, dirname as dirname8, join as join19 } from "path";
9625
+ import { basename as basename3, dirname as dirname8, join as join20 } from "path";
9595
9626
  var DAEMON_ENTRY_GUARD_SOURCE = [
9596
9627
  "const { existsSync } = require('node:fs')",
9597
9628
  "if (process.argv[1] && !existsSync(process.argv[1])) process.exit(0)",
@@ -9599,7 +9630,7 @@ var DAEMON_ENTRY_GUARD_SOURCE = [
9599
9630
  ].join("\n");
9600
9631
 
9601
9632
  // src/daemon-supervisor.ts
9602
- import { join as join20 } from "path";
9633
+ import { join as join21 } from "path";
9603
9634
  var SUPERVISOR_LAUNCH_FLAG = "--launch";
9604
9635
 
9605
9636
  // src/daemon-lifecycle.ts
@@ -9789,7 +9820,7 @@ var storedRegistrationSchema = external_exports.object({
9789
9820
  endedAt: external_exports.number().positive().optional(),
9790
9821
  drained: external_exports.boolean().optional()
9791
9822
  });
9792
- var defaultRegistryDirectory = () => process.env.PUSHARY_TRANSCRIPT_REGISTRY_DIR || join22(pusharyDir(), "transcript-capture");
9823
+ var defaultRegistryDirectory = () => process.env.PUSHARY_TRANSCRIPT_REGISTRY_DIR || join23(pusharyDir(), "transcript-capture");
9793
9824
  var cliRegistry = (apiKey = getApiKey()) => ({ apiKey, baseUrl: getBaseUrl(), directory: defaultRegistryDirectory() });
9794
9825
  var accountFor = (registry) => createHash10("sha256").update(`${registry.baseUrl}\0${registry.apiKey}`).digest("hex");
9795
9826
  var TTL = 48 * 60 * 60 * 1e3;
@@ -9800,7 +9831,7 @@ var read = (path) => {
9800
9831
  var consent = (record) => record.consentOverride ?? readTranscriptPreference() ?? true;
9801
9832
  var withoutTrailingSlash = (url) => url.replace(/\/+$/, "");
9802
9833
  var sameServer = (url, registry) => withoutTrailingSlash(url) === withoutTrailingSlash(registry.baseUrl);
9803
- var fileFor3 = (registry, sessionId) => join22(registry.directory, `${createHash10("sha256").update(accountFor(registry) + sessionId).digest("hex")}.json`);
9834
+ var fileFor3 = (registry, sessionId) => join23(registry.directory, `${createHash10("sha256").update(accountFor(registry) + sessionId).digest("hex")}.json`);
9804
9835
  var permitted = (registry, raw2) => raw2.account === accountFor(registry) && consent(raw2) && !raw2.drained && (raw2.source !== "claude" || !!raw2.expectedSiteId || !macOwnsClaudeHooks(raw2.cwd)) && (!raw2.expectedSiteId || raw2.expectedSiteId === raw2.verifiedSiteId && !!raw2.expectedBaseUrl && sameServer(raw2.expectedBaseUrl, registry));
9805
9836
  var registeredTranscriptEnabled = (apiKey, sessionId, registry = cliRegistry(apiKey)) => {
9806
9837
  try {
@@ -9810,9 +9841,9 @@ var registeredTranscriptEnabled = (apiKey, sessionId, registry = cliRegistry(api
9810
9841
  }
9811
9842
  };
9812
9843
  var macOwnsClaudeHooks = (cwd) => [
9813
- join22(claudeConfigDir(), "settings.json"),
9814
- join22(cwd, ".claude", "settings.json"),
9815
- join22(cwd, ".claude", "settings.local.json")
9844
+ join23(claudeConfigDir(), "settings.json"),
9845
+ join23(cwd, ".claude", "settings.json"),
9846
+ join23(cwd, ".claude", "settings.local.json")
9816
9847
  ].some((path) => {
9817
9848
  try {
9818
9849
  return hookOwnerOf(JSON.parse(readFileSync19(path, "utf8"))) === "app";
@@ -9822,13 +9853,13 @@ var macOwnsClaudeHooks = (cwd) => [
9822
9853
  });
9823
9854
  var TRANSCRIPT_ROOT_NAME = { claude: "projects", codex: "sessions", gemini: "tmp", cursor: "projects", hermes: "hermes-history" };
9824
9855
  var transcriptRoots = (source) => {
9825
- const home = homedir9();
9826
- if (source === "codex") return [join22(codexHome(), TRANSCRIPT_ROOT_NAME.codex)];
9827
- if (source === "cursor") return [join22(home, ".cursor", TRANSCRIPT_ROOT_NAME.cursor)];
9828
- if (source === "hermes") return [join22(home, ".pushary", TRANSCRIPT_ROOT_NAME.hermes)];
9829
- if (source === "gemini") return [join22(process.env.GEMINI_CLI_HOME || home, ".gemini", "tmp"), join22(home, ".cache", ".gemini", "tmp")];
9856
+ const home = homedir10();
9857
+ if (source === "codex") return [join23(codexHome(), TRANSCRIPT_ROOT_NAME.codex)];
9858
+ if (source === "cursor") return [join23(home, ".cursor", TRANSCRIPT_ROOT_NAME.cursor)];
9859
+ if (source === "hermes") return [join23(home, ".pushary", TRANSCRIPT_ROOT_NAME.hermes)];
9860
+ if (source === "gemini") return [join23(process.env.GEMINI_CLI_HOME || home, ".gemini", "tmp"), join23(home, ".cache", ".gemini", "tmp")];
9830
9861
  const configured = process.env.CLAUDE_CONFIG_DIR;
9831
- return [join22(configured || join22(home, ".claude"), TRANSCRIPT_ROOT_NAME.claude), join22(home, ".claude", TRANSCRIPT_ROOT_NAME.claude)];
9862
+ return [join23(configured || join23(home, ".claude"), TRANSCRIPT_ROOT_NAME.claude), join23(home, ".claude", TRANSCRIPT_ROOT_NAME.claude)];
9832
9863
  };
9833
9864
  var isAgentTranscriptRoot = (root, source) => isAbsolute2(root) && resolve4(root) === root && basename5(root) === TRANSCRIPT_ROOT_NAME[source];
9834
9865
  var acceptedTranscriptRoots = (source, registeredRoot) => typeof registeredRoot === "string" && isAgentTranscriptRoot(registeredRoot, source) ? [...transcriptRoots(source), registeredRoot] : transcriptRoots(source);
@@ -9838,7 +9869,7 @@ var resolvedSourcePath = (path) => {
9838
9869
  return realpathSync4(absolute);
9839
9870
  } catch {
9840
9871
  const parent = dirname10(absolute);
9841
- return parent === absolute ? absolute : join22(resolvedSourcePath(parent), basename5(absolute));
9872
+ return parent === absolute ? absolute : join23(resolvedSourcePath(parent), basename5(absolute));
9842
9873
  }
9843
9874
  };
9844
9875
  var transcriptRootContaining = (candidate, roots) => {
@@ -4,7 +4,7 @@ import {
4
4
  openClawRepairStep,
5
5
  readHermesShellGate,
6
6
  readSetupFailure
7
- } from "../chunk-JOWPUJPT.js";
7
+ } from "../chunk-LO2LCXNB.js";
8
8
  import {
9
9
  CODEX_HOOK_REMEDY,
10
10
  HERMES_RESTART_COMMAND,
@@ -12,18 +12,21 @@ import {
12
12
  describeHermesShellGate,
13
13
  describeHermesState,
14
14
  hermesRepairStep
15
- } from "../chunk-6IEGHLAQ.js";
15
+ } from "../chunk-63J4TOMV.js";
16
16
  import {
17
17
  describeWaitLadder,
18
18
  waitRuleLabelOf
19
- } from "../chunk-EWT4JVQ6.js";
19
+ } from "../chunk-DISRB3NE.js";
20
20
  import {
21
21
  writeJsonError,
22
22
  writeStdoutFully
23
- } from "../chunk-LP7DPO3E.js";
23
+ } from "../chunk-22OYSTAN.js";
24
+ import {
25
+ readLedgerSummary
26
+ } from "../chunk-A7PIULSY.js";
24
27
  import {
25
28
  fetchChannels
26
- } from "../chunk-TGS5T7AD.js";
29
+ } from "../chunk-I4A6CL5Q.js";
27
30
  import "../chunk-3EGEA4KH.js";
28
31
  import {
29
32
  GET_THE_APP_STEP,
@@ -34,7 +37,7 @@ import {
34
37
  reachVerdict,
35
38
  roundTripEvidence,
36
39
  verifyRoundTrip
37
- } from "../chunk-N6YV7ZYB.js";
40
+ } from "../chunk-5XVPGNE5.js";
38
41
  import {
39
42
  daemonStopsAtLogout,
40
43
  lingerDoctorDetail,
@@ -43,17 +46,25 @@ import {
43
46
  import {
44
47
  readMachineReadiness,
45
48
  readManagedControlEvidence
46
- } from "../chunk-UMW3HCWQ.js";
49
+ } from "../chunk-C3E5KDBH.js";
47
50
  import {
48
51
  assessCodexHookTrust,
49
52
  readCodexTrustForPusharyHooks
50
- } from "../chunk-4TZE23IY.js";
53
+ } from "../chunk-72CPOGDP.js";
54
+ import {
55
+ AUTO_UPDATE_DISABLE_ENV,
56
+ autoUpdateOffReason,
57
+ describeAutoUpdateAnnouncement,
58
+ describeAutoUpdateCheck,
59
+ readAutoUpdateState,
60
+ takeAutoUpdateAnnouncement
61
+ } from "../chunk-GJQJHWQ4.js";
51
62
  import {
52
63
  SIGNED_OUT_ON_MAC_MESSAGE,
53
64
  activeKeyVerdictOf,
54
65
  describeSignedOutKey,
55
66
  readSignedOutDiagnosis
56
- } from "../chunk-YN4YRZNF.js";
67
+ } from "../chunk-2BW7GNNB.js";
57
68
  import {
58
69
  agentProbes,
59
70
  detectAgent,
@@ -62,13 +73,13 @@ import {
62
73
  isPluginRegistered,
63
74
  shortenHome,
64
75
  vscodeSettingsTargets
65
- } from "../chunk-GXJ5WI6B.js";
76
+ } from "../chunk-BAYA2H6O.js";
66
77
  import "../chunk-OYIN77HO.js";
67
78
  import {
68
79
  CONNECTED_THROUGH_MAC_APP,
69
80
  keyWrittenByMacApp,
70
81
  readMacAppConnectionWhenKeyless
71
- } from "../chunk-WXYSJULN.js";
82
+ } from "../chunk-QHSJVHNC.js";
72
83
  import {
73
84
  findHermesLauncher,
74
85
  hasUpdateFrom,
@@ -83,13 +94,13 @@ import {
83
94
  routesHermesQuestions,
84
95
  runsAnOlderPlugin,
85
96
  shippedHermesPlugin
86
- } from "../chunk-ESHKK3NZ.js";
97
+ } from "../chunk-5VAI3RDO.js";
87
98
  import "../chunk-QCGNGEGE.js";
88
99
  import {
89
100
  findOpenClawLauncher,
90
101
  isOpenClawWired,
91
102
  openClawPathsNow
92
- } from "../chunk-6BSQQQPF.js";
103
+ } from "../chunk-NLJUHVZJ.js";
93
104
  import {
94
105
  FX_PROFILE_REFUSALS,
95
106
  FX_PUSHARY_TOOLS_RULE,
@@ -99,11 +110,11 @@ import {
99
110
  inspectClineInstallation,
100
111
  inspectFxInstallation,
101
112
  inspectFxPusharyHttpWiring
102
- } from "../chunk-2JZM72KC.js";
113
+ } from "../chunk-MZJIL5CA.js";
103
114
  import {
104
115
  retryAgentCommand
105
- } from "../chunk-NDE2U7MH.js";
106
- import "../chunk-5CIJT5EW.js";
116
+ } from "../chunk-WTPNWUEQ.js";
117
+ import "../chunk-OIRKU5GW.js";
107
118
  import {
108
119
  cliOwnsAnyAgentHooks,
109
120
  macAppBridgeAvailable,
@@ -112,45 +123,11 @@ import {
112
123
  openCodePluginDir,
113
124
  openCodePluginFile,
114
125
  openCodeWired
115
- } from "../chunk-OK5XINZK.js";
116
- import "../chunk-KS2H54MK.js";
126
+ } from "../chunk-NDDIA2YJ.js";
127
+ import "../chunk-EEC52E5K.js";
117
128
  import {
118
129
  OPENCODE_PLUGIN_PLACEHOLDER
119
- } from "../chunk-RLDWWF4R.js";
120
- import {
121
- keyScopeOf,
122
- pushWindowChangeStep
123
- } from "../chunk-KFSWRHKU.js";
124
- import {
125
- createIo
126
- } from "../chunk-52T655NA.js";
127
- import {
128
- exitOnHelpFlag
129
- } from "../chunk-HF47DPMN.js";
130
- import {
131
- describeMissingControlPrerequisite,
132
- describeOpenCodeLaunchReadiness,
133
- detectProviderLiveCapabilities,
134
- expectedLaunchCapabilities,
135
- hasSpawnProvider,
136
- openCodeLaunchReadiness,
137
- readOpenCodeVersion,
138
- resolveControlPolicy,
139
- resolveProviderBinary
140
- } from "../chunk-M23WDLIC.js";
141
- import "../chunk-EA7G2WD3.js";
142
- import "../chunk-TCE3J44Z.js";
143
- import {
144
- readLedgerSummary
145
- } from "../chunk-3XNTOZSO.js";
146
- import {
147
- AUTO_UPDATE_DISABLE_ENV,
148
- autoUpdateOffReason,
149
- describeAutoUpdateAnnouncement,
150
- describeAutoUpdateCheck,
151
- readAutoUpdateState,
152
- takeAutoUpdateAnnouncement
153
- } from "../chunk-QU5K42CD.js";
130
+ } from "../chunk-4IX2PONM.js";
154
131
  import {
155
132
  compatibleConfigFile,
156
133
  compatibleInstructionsFile,
@@ -158,8 +135,18 @@ import {
158
135
  hasCompatibleHooks,
159
136
  hasCompatibleMcpServer,
160
137
  missingCompatibleHookEvents
161
- } from "../chunk-SBULIKB5.js";
162
- import "../chunk-ZCSQCI3V.js";
138
+ } from "../chunk-OMHFKENS.js";
139
+ import "../chunk-AECDNNRM.js";
140
+ import {
141
+ keyScopeOf,
142
+ pushWindowChangeStep
143
+ } from "../chunk-XHEF2MQZ.js";
144
+ import {
145
+ createIo
146
+ } from "../chunk-K5LHDTYS.js";
147
+ import {
148
+ exitOnHelpFlag
149
+ } from "../chunk-ETZUDUCB.js";
163
150
  import {
164
151
  daemonHasRemoteProof,
165
152
  daemonServiceManagerAvailable,
@@ -172,7 +159,7 @@ import {
172
159
  readServiceExecPath,
173
160
  serviceStartFileChecks,
174
161
  versionManagerOf
175
- } from "../chunk-5YKEUZCZ.js";
162
+ } from "../chunk-JHJPAG6R.js";
176
163
  import {
177
164
  GEMINI_HOOK_BINARY,
178
165
  claudeOtherHolders,
@@ -192,44 +179,58 @@ import {
192
179
  holdsLong,
193
180
  missingGeminiHookEvents,
194
181
  pusharyHookExecutable
195
- } from "../chunk-37U5RQKQ.js";
196
- import "../chunk-PJ2MCXPU.js";
197
- import "../chunk-DFEGXN5S.js";
198
- import "../chunk-46NACONX.js";
199
- import "../chunk-UIVL7CLE.js";
182
+ } from "../chunk-XOALU2TA.js";
183
+ import "../chunk-76XC2ICT.js";
184
+ import "../chunk-DIQKY76N.js";
185
+ import "../chunk-MGV6KJJF.js";
186
+ import "../chunk-Z25VDYAL.js";
187
+ import "../chunk-UCX7X333.js";
200
188
  import {
201
189
  parseFlags
202
190
  } from "../chunk-BZIBNSQE.js";
191
+ import {
192
+ describeMissingControlPrerequisite,
193
+ describeOpenCodeLaunchReadiness,
194
+ detectProviderLiveCapabilities,
195
+ expectedLaunchCapabilities,
196
+ hasSpawnProvider,
197
+ openCodeLaunchReadiness,
198
+ readOpenCodeVersion,
199
+ resolveControlPolicy,
200
+ resolveProviderBinary
201
+ } from "../chunk-HMUSFFEH.js";
202
+ import "../chunk-MOMA4DD4.js";
203
203
  import "../chunk-P6DUWKAO.js";
204
+ import "../chunk-TCE3J44Z.js";
204
205
  import "../chunk-3PSNUHC5.js";
206
+ import "../chunk-TSKDJNC5.js";
205
207
  import {
206
208
  telemetryOptedOut
207
- } from "../chunk-HYLZSXGI.js";
208
- import "../chunk-U43TDW57.js";
209
+ } from "../chunk-UXB54PYF.js";
209
210
  import "../chunk-POFBE6ZY.js";
210
211
  import {
211
212
  callMcpTool,
212
213
  sendMcpRequest
213
- } from "../chunk-CABA3Y5F.js";
214
+ } from "../chunk-WG4Y6DJD.js";
214
215
  import {
215
216
  fetchAsCredential
216
- } from "../chunk-DHLVNUDU.js";
217
- import "../chunk-S3H2J5PJ.js";
217
+ } from "../chunk-WJALXH6I.js";
218
+ import "../chunk-DWM7BYVK.js";
218
219
  import {
219
220
  checkApiKey,
220
221
  describeKeyCheck
221
- } from "../chunk-CK2XAWUK.js";
222
- import "../chunk-5MD7VE6J.js";
222
+ } from "../chunk-QUU74XFH.js";
223
+ import "../chunk-B6RL3XXW.js";
223
224
  import {
224
225
  getMachineId
225
- } from "../chunk-WGN5Z3WG.js";
226
+ } from "../chunk-SMI5X7BO.js";
226
227
  import {
227
228
  keyEnvFilePath,
228
229
  readConfigFileKey,
229
230
  readControlMode,
230
231
  readKeyInForce,
231
232
  readKeySource
232
- } from "../chunk-DTJ654CO.js";
233
+ } from "../chunk-5ZX57DNR.js";
233
234
  import {
234
235
  CLINE_AUTO_APPROVE_STEP,
235
236
  CLINE_LABEL,
@@ -267,7 +268,7 @@ import {
267
268
  readCodexMcpAuth,
268
269
  resolveBridgeStub,
269
270
  vscodePluginDir
270
- } from "../chunk-4YHQYYTJ.js";
271
+ } from "../chunk-HQSTVSDO.js";
271
272
  import "../chunk-6ICPEJY5.js";
272
273
  import {
273
274
  chosenRelease,
@@ -277,11 +278,11 @@ import {
277
278
  npmRunnerWithin,
278
279
  readGlobalCliInstall,
279
280
  resolvePathBinary
280
- } from "../chunk-E6DLZK6F.js";
281
+ } from "../chunk-QNMJJMZF.js";
281
282
  import {
282
283
  getBaseUrl,
283
284
  keyPrefixToShow
284
- } from "../chunk-FTWDXWIC.js";
285
+ } from "../chunk-6X7GXEBI.js";
285
286
  import {
286
287
  UsageError
287
288
  } from "../chunk-CINBAX5G.js";
@@ -290,7 +291,7 @@ import {
290
291
  } from "../chunk-PM2NRK6Y.js";
291
292
  import {
292
293
  NPX_LATEST_COMMAND
293
- } from "../chunk-ZM3LMIDN.js";
294
+ } from "../chunk-JNPWASVJ.js";
294
295
  import {
295
296
  EXIT
296
297
  } from "../chunk-BG4HHB7E.js";
@@ -318,7 +319,7 @@ import {
318
319
  isHookActivationReport,
319
320
  isValidApiKey,
320
321
  redactSecretsFromContent
321
- } from "../chunk-DQ4JAE76.js";
322
+ } from "../chunk-YBTS5ZR3.js";
322
323
  import "../chunk-MLKGABMK.js";
323
324
 
324
325
  // bin/pushary-doctor.ts