glimmervoid 0.52.3-next.948 → 0.52.3-next.951

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 (181) hide show
  1. package/README.md +26 -3
  2. package/dist/bin/binary-main.js +35 -0
  3. package/dist/bin/glimmervoid.js +31 -26
  4. package/dist/chunks/{adapters-BxU3gHSy.js → adapters-D0vKBysu.js} +1 -1
  5. package/dist/chunks/{adapters-CVzfId0G.js → adapters-K-tf8tYZ.js} +77 -54
  6. package/dist/chunks/{agent-api-cli-CMVn_Vut.js → agent-api-cli-ChxXRS3d.js} +1 -1
  7. package/dist/chunks/agent-api-cli-D6Ld1V9y.js +1 -0
  8. package/dist/chunks/{agent-api-core-BJ6YdYV5.js → agent-api-core-DfuQ4RDS.js} +2 -2
  9. package/dist/chunks/agent-home-Ba_VrHA0.js +1 -0
  10. package/dist/chunks/{agent-home-DcnSq2mF.js → agent-home-KhnohDHV.js} +1 -1
  11. package/dist/chunks/agent-home-core-D0DgxTT_.js +1 -0
  12. package/dist/chunks/{agent-home-core-DmcBI03O.js → agent-home-core-DxJ5_9_c.js} +5 -5
  13. package/dist/chunks/{agent-setup-cli-5-ak2L8S.js → agent-setup-cli-CZ82pLNW.js} +3 -3
  14. package/dist/chunks/board-store-client-DNlvZvGx.js +356 -0
  15. package/dist/chunks/{child-process-safe-pP6Vf2i9.js → child-process-safe-DAaWFLd1.js} +1 -1
  16. package/dist/chunks/child-process-safe-DnDmA8Aw.js +1 -0
  17. package/dist/chunks/config-store-2h_954wK.js +1 -0
  18. package/dist/chunks/{config-store-C2jiH99C.js → config-store-BE5X4H-R.js} +4 -4
  19. package/dist/chunks/{config-B2jrRzmA.js → config-wPv6Of22.js} +1 -1
  20. package/dist/chunks/{control-messages-BpR-cN8v.js → control-messages-DkKr9vbw.js} +2 -0
  21. package/dist/chunks/{git-version-BE08x5OZ.js → git-version-Nd3lkOqC.js} +1 -1
  22. package/dist/chunks/{grok-CfJjNDZ0.js → grok-BTD32YhV.js} +50 -27
  23. package/dist/chunks/hook-command-core-9E3QR9Bk.js +25 -0
  24. package/dist/chunks/{host-cli-BD8x8i6p.js → host-cli-SIyKKMs0.js} +3 -3
  25. package/dist/chunks/{host-registry-core-Bh3BRHc9.js → host-registry-core-BZJqNz7o.js} +1 -1
  26. package/dist/chunks/kimi-BsXxRPQ_.js +1 -0
  27. package/dist/chunks/{kimi-B8LkiL4E.js → kimi-bJFSfqLq.js} +10 -132
  28. package/dist/chunks/layout-cache-msy3RopJ.js +390 -0
  29. package/dist/chunks/{layout-worker-core-CI6h58eG.js → layout-worker-core-Bo1IQfa3.js} +3 -389
  30. package/dist/chunks/{main-B4CIt-KG.js → main-2LINq2w0.js} +240 -442
  31. package/dist/chunks/native-probes-DwN2tSGG.js +80 -0
  32. package/dist/chunks/{node-pty-preflight-B6wME-M3.js → node-pty-preflight-D2ktjjKG.js} +2 -27
  33. package/dist/chunks/{pack-agent-D2wZnRVi.js → pack-agent-D-Uh314s.js} +2 -2
  34. package/dist/chunks/{pack-files-CzBfw5Fn.js → pack-files-DggkYpgV.js} +1 -1
  35. package/dist/chunks/{packs-cli-Ci4yTj1B.js → packs-cli-CYC7S_8E.js} +4 -4
  36. package/dist/chunks/{pair-cli-BmGJRcI2.js → pair-cli-X12JQ9zW.js} +2 -2
  37. package/dist/chunks/{pr-flows-cli-BNF9QVGi.js → pr-flows-cli-BsTY76Tt.js} +5 -5
  38. package/dist/chunks/{pr-flows-external-CWchlmQ2.js → pr-flows-external-CFMQl11W.js} +3 -3
  39. package/dist/chunks/{remote-config-dS1_PoT5.js → remote-config-BPeUod_r.js} +1 -1
  40. package/dist/chunks/runtime-paths-DCVulpER.js +1 -0
  41. package/dist/chunks/runtime-paths-DrDchzfV.js +321 -0
  42. package/dist/chunks/settings-cli-CvlYk8mL.js +1 -0
  43. package/dist/chunks/{settings-cli-C54zzPAj.js → settings-cli-Dk5QXFJ2.js} +4 -4
  44. package/dist/chunks/{settings-readout-core-fBEJJwrr.js → settings-readout-core-CtpKozFQ.js} +1 -1
  45. package/dist/chunks/{spawn-env-Blqcl-13.js → spawn-env-VKivL0Ed.js} +3 -0
  46. package/dist/chunks/{ssh-sign-cli-CCme7VUf.js → ssh-sign-cli-DQkDNLZ7.js} +3 -3
  47. package/dist/chunks/{ssh-signing-core-C7Dohjcn.js → ssh-signing-core-CmYFjvrx.js} +2 -2
  48. package/dist/chunks/text-core-BECIwjCW.js +27 -0
  49. package/dist/client/assets/{action-status-CuK78Hsa.js → action-status-rETkOMJb.js} +1 -1
  50. package/dist/client/assets/action-status-rETkOMJb.js.br +0 -0
  51. package/dist/client/assets/{agent-core-BaQ0fpwI.js → agent-core-hnz56MUa.js} +2 -2
  52. package/dist/client/assets/agent-core-hnz56MUa.js.br +0 -0
  53. package/dist/client/assets/{agent-mark-BAt9k76Z.js → agent-mark-B0pG3qXP.js} +1 -1
  54. package/dist/client/assets/agent-mark-B0pG3qXP.js.br +0 -0
  55. package/dist/client/assets/{arena-panel-CfdtcxeE.js → arena-panel-C8v4wRdk.js} +2 -2
  56. package/dist/client/assets/arena-panel-C8v4wRdk.js.br +0 -0
  57. package/dist/client/assets/{benchmark-panel-CdbBr64_.js → benchmark-panel-BuvxsTcB.js} +1 -1
  58. package/dist/client/assets/benchmark-panel-BuvxsTcB.js.br +0 -0
  59. package/dist/client/assets/{boards-view-CpWVOFmC.js → boards-view-B3w-n321.js} +1 -1
  60. package/dist/client/assets/boards-view-B3w-n321.js.br +0 -0
  61. package/dist/client/assets/button-CfhUK7Jn.js +1 -0
  62. package/dist/client/assets/button-CfhUK7Jn.js.br +0 -0
  63. package/dist/client/assets/{card-actions-E63CtRCm.js → card-actions-tzD2Tm0H.js} +1 -1
  64. package/dist/client/assets/{community-panel-Dr67KsW2.js → community-panel-Chdoh8lk.js} +1 -1
  65. package/dist/client/assets/community-panel-Chdoh8lk.js.br +0 -0
  66. package/dist/client/assets/{control-ws-iwqTRpoV.js → control-ws-DEfwcMni.js} +1 -1
  67. package/dist/client/assets/control-ws-DEfwcMni.js.br +0 -0
  68. package/dist/client/assets/{dialogs-B1ajayLE.js → dialogs-3TcMCHP5.js} +1 -1
  69. package/dist/client/assets/dialogs-3TcMCHP5.js.br +0 -0
  70. package/dist/client/assets/{doc-editor-ui-Kp47DbgN.js → doc-editor-ui-C8V8Xx8x.js} +1 -1
  71. package/dist/client/assets/doc-editor-ui-C8V8Xx8x.js.br +0 -0
  72. package/dist/client/assets/{feature-hint-GRn7KJDg.js → feature-hint-D6hkhJYc.js} +1 -1
  73. package/dist/client/assets/feature-hint-D6hkhJYc.js.br +0 -0
  74. package/dist/client/assets/{first-run-checklist-DLttrbR4.js → first-run-checklist-CcH2D3Kr.js} +1 -1
  75. package/dist/client/assets/first-run-checklist-CcH2D3Kr.js.br +0 -0
  76. package/dist/client/assets/{hooks-panel-DSbGe_Mw.js → hooks-panel-D23DNe1J.js} +1 -1
  77. package/dist/client/assets/hooks-panel-D23DNe1J.js.br +0 -0
  78. package/dist/client/assets/{index-Br6za-Gt.js → index-CPfGHAJ4.js} +5 -5
  79. package/dist/client/assets/index-CPfGHAJ4.js.br +0 -0
  80. package/dist/client/assets/{issues-panel-BJfrTn3n.js → issues-panel-Cm-Qeu8a.js} +1 -1
  81. package/dist/client/assets/issues-panel-Cm-Qeu8a.js.br +0 -0
  82. package/dist/client/assets/{lane-read-token-step-DxGdSaNb.js → lane-read-token-step-3P8vTIHC.js} +1 -1
  83. package/dist/client/assets/lane-read-token-step-3P8vTIHC.js.br +0 -0
  84. package/dist/client/assets/{menu-D8BpFeNo.js → menu-DzZGGGGN.js} +1 -1
  85. package/dist/client/assets/menu-DzZGGGGN.js.br +0 -0
  86. package/dist/client/assets/{modal-BVeQuAZ9.js → modal-CjIIQMho.js} +1 -1
  87. package/dist/client/assets/modal-CjIIQMho.js.br +0 -0
  88. package/dist/client/assets/{my-prs-panel-UppCbsv8.js → my-prs-panel-wFWhjV1D.js} +1 -1
  89. package/dist/client/assets/my-prs-panel-wFWhjV1D.js.br +0 -0
  90. package/dist/client/assets/{nyan-cat-DJycWC3a.js → nyan-cat-BNbnWPTK.js} +1 -1
  91. package/dist/client/assets/nyan-cat-BNbnWPTK.js.br +0 -0
  92. package/dist/client/assets/{phone-shell-B7nhQ0pU.js → phone-shell-Dcl9HOom.js} +1 -1
  93. package/dist/client/assets/phone-shell-Dcl9HOom.js.br +0 -0
  94. package/dist/client/assets/{plan-face-1ssMVSfV.js → plan-face-6YCDVGZv.js} +1 -1
  95. package/dist/client/assets/plan-face-6YCDVGZv.js.br +0 -0
  96. package/dist/client/assets/{plan-render-BeAMXwyb.js → plan-render-BmxGXP2c.js} +1 -1
  97. package/dist/client/assets/plan-render-BmxGXP2c.js.br +0 -0
  98. package/dist/client/assets/{pr-queue-columns-Cvd-pg1D.js → pr-queue-columns-D6_CG0Qm.js} +1 -1
  99. package/dist/client/assets/pr-queue-columns-D6_CG0Qm.js.br +0 -0
  100. package/dist/client/assets/{pr-status-icon-BVaP66Xa.js → pr-status-icon-dpJOgyIo.js} +1 -1
  101. package/dist/client/assets/pr-status-icon-dpJOgyIo.js.br +0 -0
  102. package/dist/client/assets/{radar-panel-9XWKwGJx.js → radar-panel-D778OuaR.js} +1 -1
  103. package/dist/client/assets/radar-panel-D778OuaR.js.br +0 -0
  104. package/dist/client/assets/{repo-roots-adder-ClxAors-.js → repo-roots-adder-eVH-7VU2.js} +1 -1
  105. package/dist/client/assets/repo-roots-adder-eVH-7VU2.js.br +0 -0
  106. package/dist/client/assets/{resume-dialog-mhTe6DpZ.js → resume-dialog-BtZE0BHF.js} +1 -1
  107. package/dist/client/assets/resume-dialog-BtZE0BHF.js.br +0 -0
  108. package/dist/client/assets/{review-queue-panel-Cpag9_7Q.js → review-queue-panel-CB7hteVu.js} +1 -1
  109. package/dist/client/assets/review-queue-panel-CB7hteVu.js.br +0 -0
  110. package/dist/client/assets/{session-row-w1qSordo.js → session-row-CGbJfZvw.js} +1 -1
  111. package/dist/client/assets/session-row-CGbJfZvw.js.br +0 -0
  112. package/dist/client/assets/{session-tick-B9JUo7rw.js → session-tick-DrUXWyvz.js} +1 -1
  113. package/dist/client/assets/session-tick-DrUXWyvz.js.br +0 -0
  114. package/dist/client/assets/{settings-panel-DrBHAqZi.js → settings-panel-BVCdtDjh.js} +2 -2
  115. package/dist/client/assets/settings-panel-BVCdtDjh.js.br +0 -0
  116. package/dist/client/assets/{setup-step-CNhiAZn8.js → setup-step-B9ALtknc.js} +1 -1
  117. package/dist/client/assets/setup-step-B9ALtknc.js.br +0 -0
  118. package/dist/client/assets/{trace-panel-BKXlYODv.js → trace-panel-D0o4GDy6.js} +1 -1
  119. package/dist/client/assets/trace-panel-D0o4GDy6.js.br +0 -0
  120. package/dist/client/assets/{usage-panel-j8DtzHTr.js → usage-panel-Cs7PX9Oc.js} +1 -1
  121. package/dist/client/assets/usage-panel-Cs7PX9Oc.js.br +0 -0
  122. package/dist/client/assets/{whiteboard-undo-core-DvEuXr46.js → whiteboard-undo-core-BSuUyjQJ.js} +1 -1
  123. package/dist/client/assets/whiteboard-undo-core-BSuUyjQJ.js.br +0 -0
  124. package/dist/client/assets/{your-day-tip-epKTF9X5.js → your-day-tip-DPdFbFmo.js} +1 -1
  125. package/dist/client/assets/your-day-tip-DPdFbFmo.js.br +0 -0
  126. package/dist/client/index.html +12 -12
  127. package/dist/client/index.html.br +0 -0
  128. package/dist/server/index.js +3 -3
  129. package/dist/server/whiteboard/layout-worker.js +3 -2
  130. package/dist/session/hook-tool-relay.js +5 -3
  131. package/dist/session/statusline-relay.js +1 -1
  132. package/package.json +25 -2
  133. package/dist/chunks/agent-api-cli-Bn6prE_C.js +0 -1
  134. package/dist/chunks/agent-home-DB7dDhC0.js +0 -1
  135. package/dist/chunks/agent-home-core-B3IRzwkX.js +0 -1
  136. package/dist/chunks/child-process-safe-BrQd4i6y.js +0 -1
  137. package/dist/chunks/config-store-B8q1647B.js +0 -1
  138. package/dist/chunks/hook-command-core-Bu5xBKp3.js +0 -16
  139. package/dist/chunks/kimi-yFBcHinT.js +0 -1
  140. package/dist/chunks/runtime-paths-5UK7AN_h.js +0 -85
  141. package/dist/chunks/runtime-paths-BI7m38Nj.js +0 -1
  142. package/dist/chunks/settings-cli-C28g1sTU.js +0 -1
  143. package/dist/client/assets/action-status-CuK78Hsa.js.br +0 -0
  144. package/dist/client/assets/agent-core-BaQ0fpwI.js.br +0 -0
  145. package/dist/client/assets/agent-mark-BAt9k76Z.js.br +0 -0
  146. package/dist/client/assets/arena-panel-CfdtcxeE.js.br +0 -0
  147. package/dist/client/assets/benchmark-panel-CdbBr64_.js.br +0 -0
  148. package/dist/client/assets/boards-view-CpWVOFmC.js.br +0 -0
  149. package/dist/client/assets/button-lPlbTPdg.js +0 -1
  150. package/dist/client/assets/button-lPlbTPdg.js.br +0 -0
  151. package/dist/client/assets/community-panel-Dr67KsW2.js.br +0 -0
  152. package/dist/client/assets/control-ws-iwqTRpoV.js.br +0 -0
  153. package/dist/client/assets/dialogs-B1ajayLE.js.br +0 -0
  154. package/dist/client/assets/doc-editor-ui-Kp47DbgN.js.br +0 -0
  155. package/dist/client/assets/feature-hint-GRn7KJDg.js.br +0 -0
  156. package/dist/client/assets/first-run-checklist-DLttrbR4.js.br +0 -0
  157. package/dist/client/assets/hooks-panel-DSbGe_Mw.js.br +0 -0
  158. package/dist/client/assets/index-Br6za-Gt.js.br +0 -0
  159. package/dist/client/assets/issues-panel-BJfrTn3n.js.br +0 -0
  160. package/dist/client/assets/lane-read-token-step-DxGdSaNb.js.br +0 -0
  161. package/dist/client/assets/menu-D8BpFeNo.js.br +0 -5
  162. package/dist/client/assets/modal-BVeQuAZ9.js.br +0 -0
  163. package/dist/client/assets/my-prs-panel-UppCbsv8.js.br +0 -0
  164. package/dist/client/assets/nyan-cat-DJycWC3a.js.br +0 -0
  165. package/dist/client/assets/phone-shell-B7nhQ0pU.js.br +0 -0
  166. package/dist/client/assets/plan-face-1ssMVSfV.js.br +0 -0
  167. package/dist/client/assets/plan-render-BeAMXwyb.js.br +0 -0
  168. package/dist/client/assets/pr-queue-columns-Cvd-pg1D.js.br +0 -0
  169. package/dist/client/assets/pr-status-icon-BVaP66Xa.js.br +0 -0
  170. package/dist/client/assets/radar-panel-9XWKwGJx.js.br +0 -0
  171. package/dist/client/assets/repo-roots-adder-ClxAors-.js.br +0 -0
  172. package/dist/client/assets/resume-dialog-mhTe6DpZ.js.br +0 -0
  173. package/dist/client/assets/review-queue-panel-Cpag9_7Q.js.br +0 -0
  174. package/dist/client/assets/session-row-w1qSordo.js.br +0 -0
  175. package/dist/client/assets/session-tick-B9JUo7rw.js.br +0 -0
  176. package/dist/client/assets/settings-panel-DrBHAqZi.js.br +0 -0
  177. package/dist/client/assets/setup-step-CNhiAZn8.js.br +0 -0
  178. package/dist/client/assets/trace-panel-BKXlYODv.js.br +0 -0
  179. package/dist/client/assets/usage-panel-j8DtzHTr.js.br +0 -0
  180. package/dist/client/assets/whiteboard-undo-core-DvEuXr46.js.br +0 -0
  181. package/dist/client/assets/your-day-tip-epKTF9X5.js.br +0 -0
package/README.md CHANGED
@@ -18,7 +18,30 @@ It is an orchestrator, not a harness. Your coding agents run unmodified, as real
18
18
 
19
19
  ## Quickstart
20
20
 
21
- **1. Start it.** Windows and macOS:
21
+ **1. Install and start it.** The standalone binary needs no Node. Linux and macOS:
22
+
23
+ ```bash
24
+ curl -LsSf https://github.com/johncwaters/glimmervoid/releases/latest/download/glimmervoid-installer.sh | sh
25
+ glimmervoid
26
+ ```
27
+
28
+ Windows (PowerShell):
29
+
30
+ ```powershell
31
+ powershell -c "irm https://github.com/johncwaters/glimmervoid/releases/latest/download/glimmervoid-installer.ps1 | iex"
32
+ glimmervoid
33
+ ```
34
+
35
+ Homebrew:
36
+
37
+ ```bash
38
+ brew install johncwaters/tap/glimmervoid
39
+ glimmervoid
40
+ ```
41
+
42
+ The curl and PowerShell installers put `glimmervoid` and its updater `glimmervoid-update` in `~/.glimmervoid/bin` and add that folder to your PATH; open a new terminal if `glimmervoid` is not found yet. Homebrew keeps it in its own folder and updates it with `brew upgrade glimmervoid`.
43
+
44
+ With Node 24.15 or newer, npm works too. Windows and macOS:
22
45
 
23
46
  ```bash
24
47
  npx glimmervoid@latest
@@ -57,11 +80,11 @@ To update, run `git pull --ff-only && npm ci && npm run build` and restart. The
57
80
 
58
81
  ## Requirements
59
82
 
60
- - **Node.js 24.15 or newer.** Distro-packaged Node is usually older; use nvm, NodeSource or the official installer.
83
+ - **Node.js 24.15 or newer**, only for the npm install or a source build; the standalone binary carries its own. Distro-packaged Node is usually older; use nvm, NodeSource or the official installer. Coherence, when a repository uses it, runs with the `node` on your PATH.
61
84
  - **Windows 11, Linux or macOS.** CI runs the suite on Linux and installs and starts the package on Windows; macOS is tested by hand.
62
85
  - **An agent CLI** on PATH: Claude Code, Codex, Kimi Code, Grok or another terminal agent.
63
86
  - **git** on PATH, for per-session worktrees.
64
- - **Linux only:** `build-essential` and `python3` to compile node-pty.
87
+ - **Linux npm installs only:** `build-essential` and `python3` to compile node-pty.
65
88
 
66
89
  `glimmervoid doctor` checks all of these.
67
90
 
@@ -0,0 +1,35 @@
1
+ // bin/binary-main.ts
2
+ var BINARY_RUN_SUBCOMMAND = "__run";
3
+ var UNKNOWN_RUN_ENTRY_EXIT_CODE = 2;
4
+ var RELAY_RUN_ENTRIES = /* @__PURE__ */ new Set([
5
+ "hook-relay",
6
+ "command-hook-relay",
7
+ "statusline-relay",
8
+ "hook-tool-relay",
9
+ "posthog-read-gate"
10
+ ]);
11
+ var PACKAGE_BIN_RUN_ENTRIES = /* @__PURE__ */ new Set(["cc-safety-net"]);
12
+ async function entryFileOf(entryName) {
13
+ const { relayPath, resolvePackageBin } = await import("../chunks/runtime-paths-DCVulpER.js");
14
+ if (RELAY_RUN_ENTRIES.has(entryName)) return relayPath(entryName);
15
+ if (PACKAGE_BIN_RUN_ENTRIES.has(entryName)) return resolvePackageBin(entryName, entryName);
16
+ return null;
17
+ }
18
+ async function runEntry(entryName, entryArguments) {
19
+ const entryFile = await entryFileOf(entryName);
20
+ if (!entryFile) {
21
+ process.stderr.write(`glimmervoid: no run entry named ${entryName}\n`);
22
+ process.exit(UNKNOWN_RUN_ENTRY_EXIT_CODE);
23
+ }
24
+ process.argv = [
25
+ process.execPath,
26
+ entryFile,
27
+ ...entryArguments
28
+ ];
29
+ const { pathToFileURL } = await import("node:url");
30
+ await import(pathToFileURL(entryFile).href);
31
+ }
32
+ var [, , subcommand, entryName = "", ...entryArguments] = process.argv;
33
+ if (subcommand === BINARY_RUN_SUBCOMMAND) await runEntry(entryName, entryArguments);
34
+ if (subcommand !== BINARY_RUN_SUBCOMMAND) await import("./glimmervoid.js");
35
+ export {};
@@ -1,13 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import { t as AGENT_API_VERBS } from "../chunks/session-BygOlxkV.js";
3
- import { a as execSync } from "../chunks/child-process-safe-pP6Vf2i9.js";
4
- import { at as OWNED_COMMAND_SPECS, ot as isOwnedCommandName, r as agentCommandHelpLines, st as parseCommand } from "../chunks/agent-api-core-BJ6YdYV5.js";
3
+ import { a as execSync } from "../chunks/child-process-safe-DAaWFLd1.js";
4
+ import { at as OWNED_COMMAND_SPECS, ot as isOwnedCommandName, r as agentCommandHelpLines, st as parseCommand } from "../chunks/agent-api-core-DfuQ4RDS.js";
5
5
  import { t as renderTable } from "../chunks/ascii-figure-core-BegIbndz.js";
6
6
  import { n as glimmervoidHomeDir, t as decideConfigPath } from "../chunks/config-path-core-qUZH9-0F.js";
7
- import { i as parseCommandLine, r as gitDoctorRows, t as probeGitVersion } from "../chunks/git-version-BE08x5OZ.js";
8
- import { r as firstLine, s as nodePtyRebuildHint, t as probeNodePty } from "../chunks/node-pty-preflight-B6wME-M3.js";
7
+ import { i as parseCommandLine, r as gitDoctorRows, t as probeGitVersion } from "../chunks/git-version-Nd3lkOqC.js";
8
+ import { i as nodePtyRebuildHint, t as probeNodePty } from "../chunks/node-pty-preflight-D2ktjjKG.js";
9
+ import { t as firstLine } from "../chunks/text-core-BECIwjCW.js";
9
10
  import { i as errorText } from "../chunks/text-BDF4aFhQ.js";
10
- import { c as packageRoot } from "../chunks/runtime-paths-5UK7AN_h.js";
11
+ import { l as packageRoot } from "../chunks/runtime-paths-DrDchzfV.js";
11
12
  import { i as pnpmGlobalBinDir, n as npmGlobalBinDir, r as onPath, t as formatPathNotice } from "../chunks/path-doctor-CHyvHUpg.js";
12
13
  import fs from "node:fs";
13
14
  import path from "node:path";
@@ -67,7 +68,7 @@ var OWNED_COMMAND_RUNNERS = {
67
68
  return await runDoctor() ? 0 : 1;
68
69
  },
69
70
  pair: async ({ values }) => {
70
- const { runPairCli } = await import("../chunks/pair-cli-BmGJRcI2.js");
71
+ const { runPairCli } = await import("../chunks/pair-cli-X12JQ9zW.js");
71
72
  return runPairCli({
72
73
  isListing: values.list === true,
73
74
  revokeDeviceId: typeof values.revoke === "string" ? values.revoke : null,
@@ -75,27 +76,27 @@ var OWNED_COMMAND_RUNNERS = {
75
76
  });
76
77
  },
77
78
  agent: async () => {
78
- const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-5-ak2L8S.js");
79
+ const { runAgentSetupCli } = await import("../chunks/agent-setup-cli-CZ82pLNW.js");
79
80
  return runAgentSetupCli();
80
81
  },
81
82
  settings: async (parsed) => {
82
- const { runParsedSettingsCli } = await import("../chunks/settings-cli-C28g1sTU.js");
83
+ const { runParsedSettingsCli } = await import("../chunks/settings-cli-CvlYk8mL.js");
83
84
  return runParsedSettingsCli(parsed);
84
85
  },
85
86
  host: async (parsed) => {
86
- const { runHostCli } = await import("../chunks/host-cli-BD8x8i6p.js");
87
+ const { runHostCli } = await import("../chunks/host-cli-SIyKKMs0.js");
87
88
  return runHostCli(parsed);
88
89
  },
89
90
  "pr-flows": async (parsed) => {
90
- const { runPrFlowsCheckCli } = await import("../chunks/pr-flows-cli-BNF9QVGi.js");
91
+ const { runPrFlowsCheckCli } = await import("../chunks/pr-flows-cli-BsTY76Tt.js");
91
92
  return runPrFlowsCheckCli(parsed);
92
93
  },
93
94
  packs: async (parsed) => {
94
- const { runPacksCli } = await import("../chunks/packs-cli-Ci4yTj1B.js");
95
+ const { runPacksCli } = await import("../chunks/packs-cli-CYC7S_8E.js");
95
96
  return runPacksCli(parsed);
96
97
  },
97
98
  "pr-action": async (parsed) => {
98
- const { runPrActionReportCli } = await import("../chunks/pr-flows-cli-BNF9QVGi.js");
99
+ const { runPrActionReportCli } = await import("../chunks/pr-flows-cli-BsTY76Tt.js");
99
100
  return runPrActionReportCli(parsed);
100
101
  },
101
102
  vault: async ({ values }) => {
@@ -111,7 +112,7 @@ var OWNED_COMMAND_RUNNERS = {
111
112
  return runWatchCli({ rawPort: typeof values.port === "string" ? values.port : null });
112
113
  },
113
114
  "ssh-sign": async ({ rawArgs }) => {
114
- const { runSshSignCli } = await import("../chunks/ssh-sign-cli-CCme7VUf.js");
115
+ const { runSshSignCli } = await import("../chunks/ssh-sign-cli-DQkDNLZ7.js");
115
116
  return runSshSignCli(rawArgs);
116
117
  }
117
118
  };
@@ -133,7 +134,7 @@ async function runOwnedCommand(name, subcommandArgs) {
133
134
  return OWNED_COMMAND_RUNNERS[name](parsed);
134
135
  }
135
136
  var SUBCOMMAND_RUNNERS = new Map([...Object.keys(OWNED_COMMAND_SPECS).filter(isOwnedCommandName).map((name) => [name, (subcommandArgs) => runOwnedCommand(name, subcommandArgs)]), ...AGENT_API_VERBS.filter((verb) => !isOwnedCommandName(verb)).map((verb) => [verb, async (subcommandArgs, subcommandName) => {
136
- const { runAgentApiCli } = await import("../chunks/agent-api-cli-Bn6prE_C.js");
137
+ const { runAgentApiCli } = await import("../chunks/agent-api-cli-D6Ld1V9y.js");
137
138
  return runAgentApiCli([subcommandName, ...subcommandArgs]);
138
139
  }])]);
139
140
  var AGENT_INSTALL_COMMAND_BY_ID = {
@@ -147,7 +148,7 @@ function missingAgentText(agentId) {
147
148
  }
148
149
  async function printSessionLimits() {
149
150
  if (!process.env["GLIMMERVOID_AGENT_URL"]) return;
150
- const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-Bn6prE_C.js");
151
+ const { sessionLimitsHelpLines } = await import("../chunks/agent-api-cli-D6Ld1V9y.js");
151
152
  const limitsLines = await sessionLimitsHelpLines();
152
153
  console.log(`\n${limitsLines.join("\n")}`);
153
154
  }
@@ -204,7 +205,7 @@ async function readDeclaredCustomAgents() {
204
205
  declared: [],
205
206
  error: null
206
207
  };
207
- const { loadConfigFile } = await import("../chunks/config-store-B8q1647B.js");
208
+ const { loadConfigFile } = await import("../chunks/config-store-2h_954wK.js");
208
209
  try {
209
210
  const loaded = loadConfigFile(decided.path, { exitOnError: false });
210
211
  if (!loaded.config) return {
@@ -280,7 +281,7 @@ async function runDoctor() {
280
281
  }
281
282
  switchSection("Agents");
282
283
  try {
283
- const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-BxU3gHSy.js");
284
+ const { listAgentIds, describeAgentResolvability, setCustomAgents } = await import("../chunks/adapters-D0vKBysu.js");
284
285
  const declaredCustomAgents = await readDeclaredCustomAgents();
285
286
  if (declaredCustomAgents.error) line("config", declaredCustomAgents.error);
286
287
  setCustomAgents(declaredCustomAgents.declared);
@@ -288,24 +289,25 @@ async function runDoctor() {
288
289
  const { label, path: resolvedPath } = describeAgentResolvability(id);
289
290
  line(`${id} (${label})`, resolvedPath ?? missingAgentText(id));
290
291
  }
291
- const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-5-ak2L8S.js");
292
+ const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-CZ82pLNW.js");
292
293
  const grokSetup = inspectGrokAgentSetup();
293
294
  line("grok hook setup", `${grokSetup.classification}: ${grokSetup.filePath}`);
294
- const { default: kimi } = await import("../chunks/kimi-yFBcHinT.js");
295
- const { describeAgentHome } = await import("../chunks/agent-home-DB7dDhC0.js");
296
- const { KIMI_HOME_PROFILE } = await import("../chunks/agent-home-core-B3IRzwkX.js");
295
+ const { default: kimi } = await import("../chunks/kimi-BsXxRPQ_.js");
296
+ const { describeAgentHome } = await import("../chunks/agent-home-Ba_VrHA0.js");
297
+ const { KIMI_HOME_PROFILE } = await import("../chunks/agent-home-core-D0DgxTT_.js");
297
298
  line("kimi home", describeAgentHome(KIMI_HOME_PROFILE, kimi.expectedHooksBlock()));
298
299
  } catch (err) {
299
300
  line("agents", `probe failed: ${firstLine(errorText(err))}`);
300
301
  }
301
302
  switchSection("Sane YOLO");
302
303
  try {
303
- const { resolvePackageBin } = await import("../chunks/runtime-paths-BI7m38Nj.js");
304
- const { execFileSync } = await import("../chunks/child-process-safe-BrQd4i6y.js");
305
- const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-5-ak2L8S.js");
304
+ const { resolvePackageBin, scriptLaunch } = await import("../chunks/runtime-paths-DCVulpER.js");
305
+ const { execFileSync } = await import("../chunks/child-process-safe-DnDmA8Aw.js");
306
+ const { inspectGrokAgentSetup } = await import("../chunks/agent-setup-cli-CZ82pLNW.js");
306
307
  const binPath = resolvePackageBin("cc-safety-net", "cc-safety-net");
307
308
  line("Sane YOLO", binPath || "not installed");
308
- if (binPath) line("cc-safety-net version", execFileSync(process.execPath, [binPath, "--version"], {
309
+ const [saneYoloLauncher, ...saneYoloLaunchArguments] = binPath ? scriptLaunch(binPath, "cc-safety-net", process.execPath) : [];
310
+ if (saneYoloLauncher) line("cc-safety-net version", execFileSync(saneYoloLauncher, [...saneYoloLaunchArguments, "--version"], {
309
311
  encoding: "utf8",
310
312
  timeout: 3e3
311
313
  }).trim());
@@ -322,6 +324,9 @@ async function runDoctor() {
322
324
  line("reason", nodePty.reason);
323
325
  line("hint", nodePtyRebuildHint(platform));
324
326
  }
327
+ const { isEveryProbeLoading, probeNativeModules } = await import("../chunks/native-probes-DwN2tSGG.js");
328
+ const nativeProbeRows = await probeNativeModules();
329
+ for (const [label, outcome] of nativeProbeRows) line(label, outcome);
325
330
  switchSection("Git");
326
331
  for (const [label, value] of gitDoctorRows(probeGitVersion())) line(label, value);
327
332
  switchSection("Config");
@@ -332,7 +337,7 @@ async function runDoctor() {
332
337
  onPathFlag: false,
333
338
  platform
334
339
  })}`);
335
- return nodePty.ok;
340
+ return nodePty.ok && isEveryProbeLoading(nativeProbeRows);
336
341
  }
337
342
  function resolveNpmGlobalPrefix(exec) {
338
343
  try {
@@ -1 +1 @@
1
- export { o as describeAgentResolvability, f as listAgentIds, g as setCustomAgents } from "./adapters-CVzfId0G.js";
1
+ export { o as describeAgentResolvability, f as listAgentIds, g as setCustomAgents } from "./adapters-K-tf8tYZ.js";
@@ -1,23 +1,23 @@
1
- import { n as buildAgentSpawnCommand, r as resolveAgentCommand, t as kimi } from "./kimi-B8LkiL4E.js";
2
- import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-CfJjNDZ0.js";
3
- import { n as buildAgentEnv } from "./spawn-env-Blqcl-13.js";
4
- import { i as execFileSync, l as spawn, r as execFileAsync } from "./child-process-safe-pP6Vf2i9.js";
1
+ import { b as resolveAgentCommand, s as hookLaunch, y as buildAgentSpawnCommand } from "./runtime-paths-DrDchzfV.js";
2
+ import { i as isSpinnerChar, n as classifyAgentTitle, r as isBrailleChar, t as grok } from "./grok-BTD32YhV.js";
3
+ import { n as buildAgentEnv } from "./spawn-env-VKivL0Ed.js";
4
+ import { i as execFileSync, l as spawn, r as execFileAsync } from "./child-process-safe-DAaWFLd1.js";
5
5
  import { o as isMissingFileError, r as errorMessage, t as errorCode } from "./text-BDF4aFhQ.js";
6
6
  import { c as loadedJsonValue, f as writeJsonAtomicSync, m as writeTextAtomicSync, p as writeTextAtomic, s as loadJsonStateFileSync, t as appendJsonLine } from "./json-file-BmnDu2ZM.js";
7
- import { C as isExperimentalBuild, S as compareReleaseVersions, o as glimmervoidHomeDir } from "./config-store-C2jiH99C.js";
7
+ import { C as isExperimentalBuild, S as compareReleaseVersions, o as glimmervoidHomeDir } from "./config-store-BE5X4H-R.js";
8
8
  import { Dn as FULL_SHA_RE, E as CONVERSATION_TOOL_RESULT_HOOK_EVENT, T as CONVERSATION_PERMISSION_HOOK_EVENT, i as ASK_USER_QUESTION_TOOL_NAME, j as REQUEST_USER_INPUT_TOOL_NAME, kn as shortSha$1 } from "./session-BygOlxkV.js";
9
9
  import { a as rawTextOr, n as isRecord, o as textOr, r as numberOr } from "./coerce-D6vRlIGO.js";
10
- import { l as relayPath } from "./runtime-paths-5UK7AN_h.js";
11
- import { n as shellQuote, t as buildHookCommand } from "./hook-command-core-Bu5xBKp3.js";
10
+ import { n as shellLaunchText, r as shellQuote, t as buildHookCommand } from "./hook-command-core-9E3QR9Bk.js";
12
11
  import { a as QWEN_SANE_YOLO_FLAVOR, n as COPILOT_SANE_YOLO_FLAVOR, o as SANE_YOLO_PATH_ENV, r as GEMINI_SANE_YOLO_FLAVOR, s as saneYoloEnv, t as CODEX_SANE_YOLO_FLAVOR } from "./sane-yolo-DqvfS8ed.js";
13
- import { Vt as HTTP_URL_RE, fn as PLAN_HOOK_EVENT, hn as PLAN_TOOL_NAME, ln as UpdateChannel, mn as PLAN_RESULT_HOOK_EVENT, nn as InstallFlavor } from "./control-messages-BpR-cN8v.js";
12
+ import { Vt as HTTP_URL_RE, fn as PLAN_HOOK_EVENT, hn as PLAN_TOOL_NAME, ln as UpdateChannel, mn as PLAN_RESULT_HOOK_EVENT, nn as InstallFlavor } from "./control-messages-DkKr9vbw.js";
14
13
  import { o as QUESTION_TOOL_HOLD_HOOK_EVENT } from "./question-manager-C_RzS1Ot.js";
15
14
  import { i as safePathSegment, r as isPathInside } from "./paths-C2u2R_6l.js";
16
15
  import { r as nextBackoffMs } from "./backoff-CMhw1Fu8.js";
17
16
  import { n as parseJsonRecord } from "./json-core-B1ov-SNz.js";
18
- import { S as cleanJsonc, _ as renderCodexHookTables, c as CODEX_HOME_PROFILE, f as QWEN_HOME_PROFILE, l as COPILOT_HOME_PROFILE, p as doesProjectConfigTurnHooksOff, t as AGENT_HOME_CONFIG_NAME, u as GEMINI_HOME_PROFILE, v as renderCodexHooksBlock, x as tomlBasicString } from "./agent-home-core-DmcBI03O.js";
19
- import { c as realAgentHome, i as holdPreparedAgentHome, l as releaseAgentHome, n as generatedAgentHomePath, s as readOptionalText } from "./agent-home-DcnSq2mF.js";
20
- import { c as SHELL_AGENT_ID } from "./config-B2jrRzmA.js";
17
+ import { S as cleanJsonc, _ as renderCodexHookTables, c as CODEX_HOME_PROFILE, f as QWEN_HOME_PROFILE, l as COPILOT_HOME_PROFILE, p as doesProjectConfigTurnHooksOff, t as AGENT_HOME_CONFIG_NAME, u as GEMINI_HOME_PROFILE, v as renderCodexHooksBlock, x as tomlBasicString } from "./agent-home-core-DxJ5_9_c.js";
18
+ import { c as realAgentHome, i as holdPreparedAgentHome, l as releaseAgentHome, n as generatedAgentHomePath, s as readOptionalText } from "./agent-home-KhnohDHV.js";
19
+ import { t as kimi } from "./kimi-bJFSfqLq.js";
20
+ import { c as SHELL_AGENT_ID } from "./config-wPv6Of22.js";
21
21
  import fs from "node:fs";
22
22
  import path from "node:path";
23
23
  import os from "node:os";
@@ -35,8 +35,20 @@ function codexGroup(command, matcher = "Bash") {
35
35
  function posthogToolMatcher(tool) {
36
36
  return `^mcp__${tool.serverName ?? ""}__`;
37
37
  }
38
+ function doubleQuoted(commandPart) {
39
+ return `"${toForwardSlashes$1(commandPart)}"`;
40
+ }
38
41
  function posthogGateCommand(tool) {
39
- return `"${toForwardSlashes$1(tool.interpreterPath ?? "node")}" "${toForwardSlashes$1(tool.binPath)}" ${tool.serverName ?? ""} || exit 2`;
42
+ return `${tool.launch.map(doubleQuoted).join(" ")} ${tool.serverName ?? ""} || exit 2`;
43
+ }
44
+ function saneYoloClaudeCommand(tool) {
45
+ const [launcher = "", ...launchArguments] = tool.launch;
46
+ return [
47
+ /^[A-Za-z0-9_.-]+$/.test(launcher) ? launcher : doubleQuoted(launcher),
48
+ ...launchArguments.map(doubleQuoted),
49
+ "hook",
50
+ "--coding-cli"
51
+ ].join(" ");
40
52
  }
41
53
  var HOOK_TOOLS = {
42
54
  saneYolo: {
@@ -50,10 +62,10 @@ var HOOK_TOOLS = {
50
62
  matcher: "Bash|PowerShell|Monitor|Read|Edit|Write|MultiEdit|NotebookEdit|Glob|Grep",
51
63
  hooks: [{
52
64
  type: "command",
53
- command: `node "${toForwardSlashes$1(tool.binPath)}" hook --coding-cli`
65
+ command: saneYoloClaudeCommand(tool)
54
66
  }]
55
67
  }),
56
- codexGroup: (tool) => codexGroup(buildHookCommand(tool.binPath, "hook", ["--codex"])),
68
+ codexGroup: (tool) => codexGroup(buildHookCommand(tool.launch, "hook", ["--codex"])),
57
69
  codexTrustedArgs: () => []
58
70
  },
59
71
  posthogReadGate: {
@@ -755,9 +767,8 @@ var PLAN_TOOL_MATCHER = PLAN_TOOL_NAME;
755
767
  var PR_LINK_TOOL_MATCHER = "Bash";
756
768
  var COMMAND_HINT_TOOL_MATCHER = "Write|Edit|Agent|Task";
757
769
  var FAILED_SHELL_TOOL_MATCHER = "Bash";
758
- var RELAY_PATH$4 = relayPath("statusline-relay");
759
- var COMMAND_HOOK_RELAY_PATH = relayPath("command-hook-relay");
760
- var HOOK_TOOL_RELAY_PATH$4 = relayPath("hook-tool-relay");
770
+ var RELAY_LAUNCH$4 = hookLaunch("statusline-relay");
771
+ var COMMAND_HOOK_RELAY_LAUNCH = hookLaunch("command-hook-relay");
761
772
  function generateToken() {
762
773
  return crypto.randomBytes(32).toString("hex");
763
774
  }
@@ -810,24 +821,24 @@ function readOperatorClaudeSettings(settingsPath) {
810
821
  }
811
822
  })) ?? NO_OPERATOR_SETTINGS;
812
823
  }
813
- function buildStatuslineCommand({ relayPath = RELAY_PATH$4, postUrl, userCommand = null }) {
824
+ function buildStatuslineCommand({ relayLaunch = RELAY_LAUNCH$4, postUrl, userCommand = null }) {
814
825
  const encoded = userCommand ? Buffer.from(userCommand, "utf8").toString("base64") : "-";
815
- return `node ${shellQuote(toForwardSlashes(relayPath))} ${shellQuote(postUrl)} ${shellQuote(encoded)}`;
826
+ return `${shellLaunchText(relayLaunch)} ${shellQuote(postUrl)} ${shellQuote(encoded)}`;
816
827
  }
817
- function buildCommandHookCommand({ relayPath = COMMAND_HOOK_RELAY_PATH, postUrl }) {
818
- return `node ${shellQuote(toForwardSlashes(relayPath))} ${shellQuote(postUrl)}`;
828
+ function buildCommandHookCommand({ relayLaunch = COMMAND_HOOK_RELAY_LAUNCH, postUrl }) {
829
+ return `${shellLaunchText(relayLaunch)} ${shellQuote(postUrl)}`;
819
830
  }
820
831
  function buildRemoteCommandHookCommand({ nodePath, postUrl }) {
821
832
  return `${shellQuote(nodePath)} -e ${shellQuote("let body=\"\";process.stdin.setEncoding(\"utf8\").on(\"data\",(chunk)=>{body+=chunk}).on(\"end\",()=>{fetch(process.argv[1],{method:\"POST\",headers:{\"content-type\":\"application/json\"},body,signal:AbortSignal.timeout(4000)}).then((response)=>response.ok?response.text():\"\").then((text)=>{if(text)process.stdout.write(text)}).catch(()=>{})})")} ${shellQuote(postUrl)}`;
822
833
  }
823
- function buildHookSettings({ port, glimmervoidId, token, timeoutSec = 5, permissions = null, detectScheduledWakeups = true, observeToolCalls = false, enableProjectMcp = false, hookTools = [], planLimits = false, planReview = false, userSettingsPath = null, carryOperatorGuardrails, relayPath = RELAY_PATH$4, commandHookRelayPath = COMMAND_HOOK_RELAY_PATH, hookToolRelayPath = HOOK_TOOL_RELAY_PATH$4, userHooks = [], remoteNodePath = null }) {
834
+ function buildHookSettings({ port, glimmervoidId, token, timeoutSec = 5, permissions = null, detectScheduledWakeups = true, observeToolCalls = false, enableProjectMcp = false, hookTools = [], planLimits = false, planReview = false, userSettingsPath = null, carryOperatorGuardrails, relayLaunch = RELAY_LAUNCH$4, commandHookRelayLaunch = COMMAND_HOOK_RELAY_LAUNCH, userHooks = [], remoteNodePath = null }) {
824
835
  if (!port || !glimmervoidId || !token) throw new Error("buildHookSettings requires port, glimmervoidId, token");
825
836
  const base = `http://127.0.0.1:${port}/hook/${encodeURIComponent(glimmervoidId)}`;
826
837
  const hookUrl = (event) => `${base}/${event.toLowerCase()}?t=${encodeURIComponent(token)}`;
827
838
  const hooks = { SessionStart: [{ hooks: [{
828
839
  type: "command",
829
840
  command: remoteNodePath === null ? buildCommandHookCommand({
830
- relayPath: commandHookRelayPath,
841
+ relayLaunch: commandHookRelayLaunch,
831
842
  postUrl: hookUrl("SessionStart")
832
843
  }) : buildRemoteCommandHookCommand({
833
844
  nodePath: remoteNodePath,
@@ -903,7 +914,7 @@ function buildHookSettings({ port, glimmervoidId, token, timeoutSec = 5, permiss
903
914
  url: hookUrl("PreToolUse"),
904
915
  timeout: timeoutSec
905
916
  }] });
906
- for (const tool of hookTools) preToolUse.push(HOOK_TOOLS[tool.id].claudeEntry(tool, hookToolRelayPath));
917
+ for (const tool of hookTools) preToolUse.push(HOOK_TOOLS[tool.id].claudeEntry(tool));
907
918
  if (preToolUse.length > 0) hooks.PreToolUse = preToolUse;
908
919
  appendUserHooks(hooks, Array.isArray(userHooks) ? userHooks : []);
909
920
  const operatorSettings = readOperatorClaudeSettings(userSettingsPath || path.join(os.homedir(), ".claude", "settings.json"));
@@ -928,7 +939,7 @@ function buildHookSettings({ port, glimmervoidId, token, timeoutSec = 5, permiss
928
939
  if (planLimits) settings.statusLine = {
929
940
  type: "command",
930
941
  command: buildStatuslineCommand({
931
- relayPath,
942
+ relayLaunch,
932
943
  postUrl: `${base}/statusline?t=${encodeURIComponent(token)}`,
933
944
  userCommand: operatorSettings.statuslineCommand
934
945
  })
@@ -2057,6 +2068,9 @@ var NPM_GLOBAL_COMMAND = `npm install -g ${NPM_PACKAGE_NAME}@latest`;
2057
2068
  var NODE_PTY_INSTALL_SCRIPT_FLAG = "--allow-scripts=node-pty";
2058
2069
  var NPX_CACHE_DIRECTORY_NAME = "_npx";
2059
2070
  var CLONE_COMMAND = "git pull --ff-only && npm ci && npm run build";
2071
+ var BINARY_UPDATER_NAME = "glimmervoid-update";
2072
+ var HOMEBREW_COMMAND = "brew upgrade glimmervoid";
2073
+ var HOMEBREW_CELLAR_DIRECTORY_NAME = "Cellar";
2060
2074
  var INSTALL_FLAVORS = new Set(InstallFlavor.options);
2061
2075
  var TAG_VERSION_RE = /^v(\d+\.\d+\.\d+(?:-next\.\d+)?)$/;
2062
2076
  var DEPRECATION_MESSAGE_MAX_CHARS = 500;
@@ -2086,7 +2100,14 @@ function isNpxCachePath(packageRoot) {
2086
2100
  if (typeof packageRoot !== "string") return false;
2087
2101
  return packageRoot.split(/[\\/]/).includes(NPX_CACHE_DIRECTORY_NAME);
2088
2102
  }
2089
- function decideInstallFlavor({ packageRoot, lockfileSha, gitHeadSha, hasGitDir, isInsideNodeModules } = {}) {
2103
+ function isHomebrewCellarPath(executablePath) {
2104
+ return executablePath.split(/[\\/]/).includes(HOMEBREW_CELLAR_DIRECTORY_NAME);
2105
+ }
2106
+ function decideInstallFlavor({ standaloneExecutablePath, packageRoot, lockfileSha, gitHeadSha, hasGitDir, isInsideNodeModules } = {}) {
2107
+ if (standaloneExecutablePath) return {
2108
+ flavor: isHomebrewCellarPath(standaloneExecutablePath) ? "homebrew" : "binary",
2109
+ installedSha: null
2110
+ };
2090
2111
  const fromLockfile = normalizeSha(lockfileSha);
2091
2112
  if (isNpxCachePath(packageRoot)) return {
2092
2113
  flavor: "npx",
@@ -2128,6 +2149,8 @@ function buildNpmGlobalCommand(latestVersion, platform) {
2128
2149
  function buildUpdateCommand(flavor, latestVersion, platform) {
2129
2150
  if (flavor === "npx") return buildNpxCommand(latestVersion, platform);
2130
2151
  if (flavor === "npm-global") return buildNpmGlobalCommand(latestVersion, platform);
2152
+ if (flavor === "binary") return BINARY_UPDATER_NAME;
2153
+ if (flavor === "homebrew") return HOMEBREW_COMMAND;
2131
2154
  return CLONE_COMMAND;
2132
2155
  }
2133
2156
  function buildReleaseUrl(version) {
@@ -2436,11 +2459,11 @@ async function readCodexHookHashes(command, hooks, sessionFolder, env = process.
2436
2459
  // session/adapters/codex.ts
2437
2460
  var ID$3 = "codex";
2438
2461
  var COMMAND_NAME$3 = "codex";
2439
- var RELAY_PATH$3 = relayPath("hook-relay");
2462
+ var RELAY_LAUNCH$3 = hookLaunch("hook-relay");
2440
2463
  var PLAN_PROPOSED_FIELD = "glimmervoid_plan_proposed";
2441
2464
  var ROLLOUT_CHUNK_BYTES = 1048576;
2442
2465
  var ROLLOUT_SCAN_LIMIT_BYTES = 64 * ROLLOUT_CHUNK_BYTES;
2443
- var HOOK_TOOL_RELAY_PATH$3 = relayPath("hook-tool-relay");
2466
+ var HOOK_TOOL_RELAY_LAUNCH$3 = hookLaunch("hook-tool-relay");
2444
2467
  var HOOK_EVENTS$3 = LEGACY_HOOK_EVENTS;
2445
2468
  var envProfile$5 = {
2446
2469
  scrub: [],
@@ -2582,7 +2605,7 @@ function userConfigFolders(env) {
2582
2605
  return codexHomes(env, null);
2583
2606
  }
2584
2607
  var TOML_LITERAL_STRING_FORBIDDEN = /[\x00-\x08\x0a-\x1f\x27\x7f]/;
2585
- function buildHookArgs({ relayPath = RELAY_PATH$3, events = HOOK_EVENTS$3, matchedRelayHooks = [], bypassHookTrust = false, gatesMcpToolCalls = false, hookTools = [], hookToolRelayPath = HOOK_TOOL_RELAY_PATH$3, userHooks = [], observeToolCalls = false, hasHomeHooks = false } = {}) {
2608
+ function buildHookArgs({ relayLaunch = RELAY_LAUNCH$3, events = HOOK_EVENTS$3, matchedRelayHooks = [], bypassHookTrust = false, gatesMcpToolCalls = false, hookTools = [], userHooks = [], observeToolCalls = false, hasHomeHooks = false } = {}) {
2586
2609
  const args = bypassHookTrust ? [TRUST_BYPASS_FLAG] : [];
2587
2610
  const preToolUseGroups = [];
2588
2611
  const groupsByEvent = /* @__PURE__ */ new Map();
@@ -2592,7 +2615,7 @@ function buildHookArgs({ relayPath = RELAY_PATH$3, events = HOOK_EVENTS$3, match
2592
2615
  const relayedEvents = observeToolCalls && !argvEvents.includes("PreToolUse") ? [...argvEvents, "PreToolUse"] : argvEvents;
2593
2616
  const relayedMatchedHooks = observeToolCalls ? argvMatchedHooks.filter(({ event }) => event !== "PreToolUse") : argvMatchedHooks;
2594
2617
  for (const event of relayedEvents) {
2595
- const command = buildHookCommand(relayPath, event);
2618
+ const command = buildHookCommand(relayLaunch, event);
2596
2619
  if (!command) return null;
2597
2620
  if (event === "PreToolUse") {
2598
2621
  preToolUseGroups.push(`{hooks=[{type='command',command='${command}'}]}`);
@@ -2601,7 +2624,7 @@ function buildHookArgs({ relayPath = RELAY_PATH$3, events = HOOK_EVENTS$3, match
2601
2624
  groupsByEvent.set(event, [`{hooks=[{type='command',command='${command}'}]}`]);
2602
2625
  }
2603
2626
  for (const { event, matcher, isAsync } of relayedMatchedHooks) {
2604
- const command = buildHookCommand(relayPath, event);
2627
+ const command = buildHookCommand(relayLaunch, event);
2605
2628
  if (!command) return null;
2606
2629
  const group = `{matcher='${matcher}',hooks=[{type='command',command='${command}'${isAsync ? ",async=true" : ""}}]}`;
2607
2630
  if (event === "PreToolUse") {
@@ -2611,12 +2634,12 @@ function buildHookArgs({ relayPath = RELAY_PATH$3, events = HOOK_EVENTS$3, match
2611
2634
  groupsByEvent.set(event, [...groupsByEvent.get(event) ?? [], group]);
2612
2635
  }
2613
2636
  if (hasQuestionHook(argvMatchedHooks)) {
2614
- const questionHoldCommand = buildHookCommand(relayPath, QUESTION_TOOL_HOLD_HOOK_EVENT);
2637
+ const questionHoldCommand = buildHookCommand(relayLaunch, QUESTION_TOOL_HOLD_HOOK_EVENT);
2615
2638
  if (!questionHoldCommand) return null;
2616
2639
  preToolUseGroups.push(`{matcher='${QUESTION_HOLD_MATCHER}',hooks=[{type='command',command='${questionHoldCommand}'}]}`);
2617
2640
  }
2618
2641
  const groups = argvHookTools.flatMap((tool) => {
2619
- const group = HOOK_TOOLS[tool.id].codexGroup(tool, hookToolRelayPath);
2642
+ const group = HOOK_TOOLS[tool.id].codexGroup(tool);
2620
2643
  return group ? [group] : [];
2621
2644
  });
2622
2645
  preToolUseGroups.push(...groups);
@@ -2696,7 +2719,7 @@ function buildInstalledHookArgs(options = {}) {
2696
2719
  function codexHomeHooks(plan = hookPlanForInstalledCodex()) {
2697
2720
  const hooks = [];
2698
2721
  for (const event of plan.events) {
2699
- const command = buildHookCommand(RELAY_PATH$3, event);
2722
+ const command = buildHookCommand(RELAY_LAUNCH$3, event);
2700
2723
  if (!command) return null;
2701
2724
  hooks.push({
2702
2725
  event,
@@ -2705,7 +2728,7 @@ function codexHomeHooks(plan = hookPlanForInstalledCodex()) {
2705
2728
  });
2706
2729
  }
2707
2730
  for (const { event, matcher, isAsync } of plan.matchedRelayHooks) {
2708
- const command = buildHookCommand(RELAY_PATH$3, event);
2731
+ const command = buildHookCommand(RELAY_LAUNCH$3, event);
2709
2732
  if (!command) return null;
2710
2733
  hooks.push({
2711
2734
  event,
@@ -2715,7 +2738,7 @@ function codexHomeHooks(plan = hookPlanForInstalledCodex()) {
2715
2738
  });
2716
2739
  }
2717
2740
  if (hasQuestionHook(plan.matchedRelayHooks)) {
2718
- const questionHoldCommand = buildHookCommand(RELAY_PATH$3, QUESTION_TOOL_HOLD_HOOK_EVENT);
2741
+ const questionHoldCommand = buildHookCommand(RELAY_LAUNCH$3, QUESTION_TOOL_HOLD_HOOK_EVENT);
2719
2742
  if (!questionHoldCommand) return null;
2720
2743
  hooks.push({
2721
2744
  event: "PreToolUse",
@@ -2733,7 +2756,7 @@ function codexHomeHooks(plan = hookPlanForInstalledCodex()) {
2733
2756
  return hooks;
2734
2757
  }
2735
2758
  function saneYoloHookCommand() {
2736
- return buildHookCommand(HOOK_TOOL_RELAY_PATH$3, "saneYolo", [CODEX_SANE_YOLO_FLAVOR]);
2759
+ return buildHookCommand(HOOK_TOOL_RELAY_LAUNCH$3, "saneYolo", [CODEX_SANE_YOLO_FLAVOR]);
2737
2760
  }
2738
2761
  function installedHookRoute(command, saneYoloCommand, questionHoldCommand) {
2739
2762
  if (command === saneYoloCommand) return "saneYolo";
@@ -2752,7 +2775,7 @@ function describeInstalledHooks$3() {
2752
2775
  isBestEffort: false
2753
2776
  };
2754
2777
  const saneYoloCommand = saneYoloHookCommand();
2755
- const questionHoldCommand = buildHookCommand(RELAY_PATH$3, QUESTION_TOOL_HOLD_HOOK_EVENT);
2778
+ const questionHoldCommand = buildHookCommand(RELAY_LAUNCH$3, QUESTION_TOOL_HOLD_HOOK_EVENT);
2756
2779
  return {
2757
2780
  version,
2758
2781
  isBestEffort: false,
@@ -2858,7 +2881,7 @@ var hooks = {
2858
2881
  describeInstalledHooks: describeInstalledHooks$3,
2859
2882
  injection: {
2860
2883
  kind: "argv-config",
2861
- relayPath: RELAY_PATH$3,
2884
+ relayLaunch: RELAY_LAUNCH$3,
2862
2885
  events: HOOK_EVENTS$3,
2863
2886
  buildHookArgs: buildInstalledHookArgs,
2864
2887
  projectConfigCandidates: PROJECT_CONFIG_CANDIDATES,
@@ -2928,8 +2951,8 @@ var codex = {
2928
2951
  mapHookPromptKind: mapHookPromptKind$3,
2929
2952
  sessionIdOf: sessionIdOf$3,
2930
2953
  HOOK_EVENTS: HOOK_EVENTS$3,
2931
- RELAY_PATH: RELAY_PATH$3,
2932
- HOOK_TOOL_RELAY_PATH: HOOK_TOOL_RELAY_PATH$3,
2954
+ RELAY_LAUNCH: RELAY_LAUNCH$3,
2955
+ HOOK_TOOL_RELAY_LAUNCH: HOOK_TOOL_RELAY_LAUNCH$3,
2933
2956
  TRUST_BYPASS_FLAG,
2934
2957
  SKIP_PERMISSIONS_ARGS,
2935
2958
  UPDATE_CHECK_ARGS,
@@ -2950,8 +2973,8 @@ var codex = {
2950
2973
  // session/adapters/gemini.ts
2951
2974
  var ID$2 = "gemini";
2952
2975
  var COMMAND_NAME$2 = "gemini";
2953
- var RELAY_PATH$2 = relayPath("hook-relay");
2954
- var HOOK_TOOL_RELAY_PATH$2 = relayPath("hook-tool-relay");
2976
+ var RELAY_LAUNCH$2 = hookLaunch("hook-relay");
2977
+ var HOOK_TOOL_RELAY_LAUNCH$2 = hookLaunch("hook-tool-relay");
2955
2978
  var SANE_YOLO_EVENT$2 = "BeforeTool";
2956
2979
  var HOOK_EVENTS$2 = Object.freeze([
2957
2980
  "SessionStart",
@@ -3014,14 +3037,14 @@ var titleProfile$3 = {
3014
3037
  function expectedHooks$2() {
3015
3038
  const hooksByEvent = {};
3016
3039
  for (const event of HOOK_EVENTS$2) {
3017
- const command = buildHookCommand(RELAY_PATH$2, event);
3040
+ const command = buildHookCommand(RELAY_LAUNCH$2, event);
3018
3041
  if (!command) return null;
3019
3042
  hooksByEvent[event] = [{ hooks: [{
3020
3043
  type: "command",
3021
3044
  command
3022
3045
  }] }];
3023
3046
  }
3024
- const saneYoloCommand = buildHookCommand(HOOK_TOOL_RELAY_PATH$2, "saneYolo", [GEMINI_SANE_YOLO_FLAVOR]);
3047
+ const saneYoloCommand = buildHookCommand(HOOK_TOOL_RELAY_LAUNCH$2, "saneYolo", [GEMINI_SANE_YOLO_FLAVOR]);
3025
3048
  if (!saneYoloCommand) return null;
3026
3049
  hooksByEvent[SANE_YOLO_EVENT$2] = [{ hooks: [{
3027
3050
  type: "command",
@@ -3135,8 +3158,8 @@ var gemini = {
3135
3158
  // session/adapters/qwen.ts
3136
3159
  var ID$1 = "qwen";
3137
3160
  var COMMAND_NAME$1 = "qwen";
3138
- var RELAY_PATH$1 = relayPath("hook-relay");
3139
- var HOOK_TOOL_RELAY_PATH$1 = relayPath("hook-tool-relay");
3161
+ var RELAY_LAUNCH$1 = hookLaunch("hook-relay");
3162
+ var HOOK_TOOL_RELAY_LAUNCH$1 = hookLaunch("hook-tool-relay");
3140
3163
  var SANE_YOLO_EVENT$1 = "PreToolUse";
3141
3164
  var HOOK_EVENTS$1 = Object.freeze([
3142
3165
  "SessionStart",
@@ -3202,14 +3225,14 @@ var titleProfile$2 = {
3202
3225
  function expectedHooks$1() {
3203
3226
  const hooksByEvent = {};
3204
3227
  for (const event of HOOK_EVENTS$1) {
3205
- const command = buildHookCommand(RELAY_PATH$1, event);
3228
+ const command = buildHookCommand(RELAY_LAUNCH$1, event);
3206
3229
  if (!command) return null;
3207
3230
  hooksByEvent[event] = [{ hooks: [{
3208
3231
  type: "command",
3209
3232
  command
3210
3233
  }] }];
3211
3234
  }
3212
- const saneYoloCommand = buildHookCommand(HOOK_TOOL_RELAY_PATH$1, "saneYolo", [QWEN_SANE_YOLO_FLAVOR]);
3235
+ const saneYoloCommand = buildHookCommand(HOOK_TOOL_RELAY_LAUNCH$1, "saneYolo", [QWEN_SANE_YOLO_FLAVOR]);
3213
3236
  if (!saneYoloCommand) return null;
3214
3237
  hooksByEvent[SANE_YOLO_EVENT$1] = [{ hooks: [{
3215
3238
  type: "command",
@@ -3421,8 +3444,8 @@ function ensureCopilotFolderTrust(configPath, folder) {
3421
3444
  // session/adapters/copilot.ts
3422
3445
  var ID = "copilot";
3423
3446
  var COMMAND_NAME = "copilot";
3424
- var RELAY_PATH = relayPath("hook-relay");
3425
- var HOOK_TOOL_RELAY_PATH = relayPath("hook-tool-relay");
3447
+ var RELAY_LAUNCH = hookLaunch("hook-relay");
3448
+ var HOOK_TOOL_RELAY_LAUNCH = hookLaunch("hook-tool-relay");
3426
3449
  var SANE_YOLO_EVENT = "preToolUse";
3427
3450
  var HOOK_EVENTS = Object.freeze([
3428
3451
  "sessionStart",
@@ -3494,14 +3517,14 @@ var titleProfile$1 = {
3494
3517
  function expectedHooks() {
3495
3518
  const hooksByEvent = {};
3496
3519
  for (const event of HOOK_EVENTS) {
3497
- const command = buildHookCommand(RELAY_PATH, event);
3520
+ const command = buildHookCommand(RELAY_LAUNCH, event);
3498
3521
  if (!command) return null;
3499
3522
  hooksByEvent[event] = [{
3500
3523
  type: "command",
3501
3524
  command
3502
3525
  }];
3503
3526
  }
3504
- const saneYoloCommand = buildHookCommand(HOOK_TOOL_RELAY_PATH, "saneYolo", [COPILOT_SANE_YOLO_FLAVOR]);
3527
+ const saneYoloCommand = buildHookCommand(HOOK_TOOL_RELAY_LAUNCH, "saneYolo", [COPILOT_SANE_YOLO_FLAVOR]);
3505
3528
  if (!saneYoloCommand) return null;
3506
3529
  hooksByEvent[SANE_YOLO_EVENT] = [{
3507
3530
  type: "command",
@@ -3939,4 +3962,4 @@ function cachedAgentResolvability(agentId) {
3939
3962
  function resetCommandCache() {
3940
3963
  resolvedCommands.clear();
3941
3964
  }
3942
- export { codexSessionIdFromPath as $, removalsJournalPath as $t, pickNewestPublished as A, vendorUsageEntry as At, planUploadRetention as B, agentHookGroupOf as Bt, decideUpdateStatus as C, identityFromRelPath as Ct, parseRegistryDeprecation as D, parseUsageLine as Dt, normalizeUpdateChannel as E, parseJsonLine as Et, decideUploadType as F, generateToken as Ft, containmentRefusalReason as G, readStoredHooks as Gt, TRACE_TAIL_SCAN_BYTES as H, hooksForProject as Ht, exceedsUploadCap as I, sweepOrphans as It, resumeOffsetFrom as J, makeHostScratchDirectory as Jt, isOversizedPartialLine as K, removeHook as Kt, framePathPaste as L, writeSessionSettings as Lt, openContainedFile as M, HOOK_EVENTS$4 as Mt, MAX_UPLOAD_BYTES as N, PLAN_HOLD_RELEASE_MS as Nt, parseRegistryLatest as O, shouldReplace as Ot, buildUploadFilename as P, buildHookSettings as Pt, codexRootCandidates as Q, recordSweptPath as Qt, imageMimeForUploadFilename as R, HOOK_EVENT_CATALOG as Rt, decideInstallFlavor as S, foldReplacementIntoGenerationRollup as St, normalizeSha as T, mergeGenerationRollups as Tt, committedOffsetFromTraceTailOrNull as U, normalizeHook as Ut, MAX_TRANSCRIPT_READ_BYTES as V, appendUserHooks as Vt, completeLineBytes as W, rawStoredHooks as Wt, codexFallbackRoots as X, appendRemovalRecord as Xt, withCommittedOffset as Y, sweepOrphanedHostScratch as Yt, codexHomes as Z, appendRemovalRecordSync as Zt, folderTrustRoot as _, addEntryToTotals as _t, customAgentFingerprint as a, isUsageFile as at, requestCodexAppServer as b, expandAdvisorIterations as bt, hookProfileOf as c, projectDirCandidates as ct, isKnownAgentId as d, sessionsRootCandidates as dt, listClaudeGlobalConfigPathCandidates as en, continuationDelayMs as et, listAgentIds as f, shouldEvaluateDespiteIoFailures as ft, setCustomAgents as g, parseKimiUsageLine as gt, resolveAdapter as h, kimiDedupIdentity as ht, commandFor as i, grokHomes as it, shortSha as j, claudeCode as jt, parseResolvedSha as k, totalTokensOf as kt, isBuiltInAgentId as l, resolveProjectsDirs as lt, resetCommandCache as m, splitLines as mt, DEFAULT_AGENT_ID as n, dedupeCodexFiles as nt, describeAgentResolvability as o, kimiHomes as ot, projectHookConfigRelPaths as p, shouldPersistWarehouse as pt, planContiguousRead as q, upsertHook as qt, cachedAgentResolvability as r, expandTilde as rt, getAdapter as s, passOutcome as st, BUILT_IN_AGENTS as t, HOOK_TOOLS as tn, decideFileRead as tt, isFirstClassAgent as u, scopedClaudeRoots as ut, codex as v, dedupKeys as vt, isCheckFresh as w, isWithinGenerationRecencyWindow as wt, NODE_PTY_INSTALL_SCRIPT_FLAG as x, foldEntryIntoGenerationRollup as xt, readHostCodexVersion as y, emptyTotals as yt, isSafePathSegment as z, ID_RE as zt };
3965
+ export { codexHomes as $, appendRemovalRecordSync as $t, parseRegistryLatest as A, shouldReplace as At, imageMimeForUploadFilename as B, HOOK_EVENT_CATALOG as Bt, NODE_PTY_INSTALL_SCRIPT_FLAG as C, foldEntryIntoGenerationRollup as Ct, normalizeSha as D, mergeGenerationRollups as Dt, isCheckFresh as E, isWithinGenerationRecencyWindow as Et, MAX_UPLOAD_BYTES as F, PLAN_HOLD_RELEASE_MS as Ft, committedOffsetFromTraceTailOrNull as G, normalizeHook as Gt, planUploadRetention as H, agentHookGroupOf as Ht, buildUploadFilename as I, buildHookSettings as It, isOversizedPartialLine as J, removeHook as Jt, completeLineBytes as K, rawStoredHooks as Kt, decideUploadType as L, generateToken as Lt, pickNewestPublished as M, vendorUsageEntry as Mt, shortSha as N, claudeCode as Nt, normalizeUpdateChannel as O, parseJsonLine as Ot, openContainedFile as P, HOOK_EVENTS$4 as Pt, codexFallbackRoots as Q, appendRemovalRecord as Qt, exceedsUploadCap as R, sweepOrphans as Rt, HOMEBREW_COMMAND as S, expandAdvisorIterations as St, decideUpdateStatus as T, identityFromRelPath as Tt, MAX_TRANSCRIPT_READ_BYTES as U, appendUserHooks as Ut, isSafePathSegment as V, ID_RE as Vt, TRACE_TAIL_SCAN_BYTES as W, hooksForProject as Wt, resumeOffsetFrom as X, makeHostScratchDirectory as Xt, planContiguousRead as Y, upsertHook as Yt, withCommittedOffset as Z, sweepOrphanedHostScratch as Zt, folderTrustRoot as _, kimiDedupIdentity as _t, customAgentFingerprint as a, expandTilde as at, requestCodexAppServer as b, dedupKeys as bt, hookProfileOf as c, kimiHomes as ct, isKnownAgentId as d, resolveProjectsDirs as dt, recordSweptPath as en, codexRootCandidates as et, listAgentIds as f, scopedClaudeRoots as ft, setCustomAgents as g, splitLines as gt, resolveAdapter as h, shouldPersistWarehouse as ht, commandFor as i, dedupeCodexFiles as it, parseResolvedSha as j, totalTokensOf as jt, parseRegistryDeprecation as k, parseUsageLine as kt, isBuiltInAgentId as l, passOutcome as lt, resetCommandCache as m, shouldEvaluateDespiteIoFailures as mt, DEFAULT_AGENT_ID as n, listClaudeGlobalConfigPathCandidates as nn, continuationDelayMs as nt, describeAgentResolvability as o, grokHomes as ot, projectHookConfigRelPaths as p, sessionsRootCandidates as pt, containmentRefusalReason as q, readStoredHooks as qt, cachedAgentResolvability as r, HOOK_TOOLS as rn, decideFileRead as rt, getAdapter as s, isUsageFile as st, BUILT_IN_AGENTS as t, removalsJournalPath as tn, codexSessionIdFromPath as tt, isFirstClassAgent as u, projectDirCandidates as ut, codex as v, parseKimiUsageLine as vt, decideInstallFlavor as w, foldReplacementIntoGenerationRollup as wt, BINARY_UPDATER_NAME as x, emptyTotals as xt, readHostCodexVersion as y, addEntryToTotals as yt, framePathPaste as z, writeSessionSettings as zt };
@@ -1,5 +1,5 @@
1
1
  import { a as resolveHookTarget } from "./hook-relay-core-COOPCFwv.js";
2
- import { Q as formatSessionLimits, i as agentCommandSpec, m as isAgentApiVerb, st as parseCommand, t as AGENT_COMMAND_HELP } from "./agent-api-core-BJ6YdYV5.js";
2
+ import { Q as formatSessionLimits, i as agentCommandSpec, m as isAgentApiVerb, st as parseCommand, t as AGENT_COMMAND_HELP } from "./agent-api-core-DfuQ4RDS.js";
3
3
  import { t as AgentNeedReply } from "./secrets-DUjhXqjU.js";
4
4
  import { d as AgentLimitsReply, r as AGENT_URL_ENV } from "./session-BygOlxkV.js";
5
5
  import { D as STEP_STATUSES, E as Op, F as WhiteboardAgentReply } from "./whiteboard-BRwReLkT.js";
@@ -0,0 +1 @@
1
+ export { t as askAgentApi, n as postToAgentIngress, r as runAgentApiCli, i as sessionLimitsHelpLines } from "./agent-api-cli-ChxXRS3d.js";