claude-yes 1.307.0-beta.820.1 → 1.307.0

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 (121) hide show
  1. package/README.md +0 -34
  2. package/dist/{JsonlStore-fEAVg5aY.js → JsonlStore-CB_0sfdT.js} +1 -1
  3. package/dist/SUPPORTED_CLIS-BMbqMThf.js +12 -0
  4. package/dist/{SUPPORTED_CLIS-CCLsrUPj.js → SUPPORTED_CLIS-CxDNMDz5.js} +2 -2
  5. package/dist/{configLoader-CLSX_LND.js → agent-yes.config-CRfpdp3A.js} +42 -4
  6. package/dist/{agentShare-BtYsU1zl.js → agentShare-JNS0C_FQ.js} +14 -14
  7. package/dist/{askCli-DNjFBBqa.js → askCli-D4czi-_j.js} +6 -6
  8. package/dist/{browser-CU933aYj.js → browser-BAFPmEvN.js} +1 -1
  9. package/dist/{browser-BzjhscIR.js → browser-BW90gl2w.js} +5 -5
  10. package/dist/callback-Cp8Q8quk.js +17 -0
  11. package/dist/{callback-vc9GblVt.js → callback-DUSLYQOF.js} +5 -5
  12. package/dist/{callbackCore-D9X-BW1Y.js → callbackCore-BZ_10zyc.js} +1 -1
  13. package/dist/{callbackCore-CaLG7aPo.js → callbackCore-Deve5pv3.js} +1 -1
  14. package/dist/{channels-wGkKOk1z.js → channels-Y36S0ccW.js} +6 -6
  15. package/dist/{channels-BGSdyeQs.js → channels-jIa5fNjY.js} +2 -2
  16. package/dist/channels.js +5 -5
  17. package/dist/cli.js +15 -60
  18. package/dist/{cmdDsh-Buh6yx_Z.js → cmdDsh-DZ8bLsH7.js} +1 -1
  19. package/dist/{cmdKill-CxvLEa4Z.js → cmdKill-DUyZ7Dch.js} +5 -5
  20. package/dist/{cmdPs-Kfxk6_aD.js → cmdPs-CBoOu5tG.js} +14 -14
  21. package/dist/{configShared-B9gyn11R.js → configShared-De4bR5hH.js} +1 -1
  22. package/dist/{cwdConflictWarn-Bo-MXcHc.js → cwdConflictWarn-ml6Qs3Qu.js} +2 -2
  23. package/dist/{cwdPassthroughHint-yMqzDqR-.js → cwdPassthroughHint-CzWh0hrw.js} +1 -1
  24. package/dist/{e2e-C34A1uYu.js → e2e-BdLf8DvY.js} +1 -1
  25. package/dist/{expose-DUTNNQ7K.js → expose-Bhsn5yUz.js} +1 -1
  26. package/dist/{forceKill-BqPcVAsI.js → forceKill-BDqxx4uQ.js} +2 -2
  27. package/dist/{forkNested-NWzwReQd.js → forkNested-DHuYbpaf.js} +3 -3
  28. package/dist/{globalPidIndex-D9fxq9Ad.js → globalPidIndex-C6p_AY4D.js} +2 -10
  29. package/dist/{globalPidIndex-B5c_g_yJ.js → globalPidIndex-DmDCB_X7.js} +1 -1
  30. package/dist/{hist-DuebYWNr.js → hist-DY16wm7g.js} +1 -1
  31. package/dist/{html2canvas-pro.esm-BW1GOcB-.js → html2canvas-pro.esm-Dp-JZojz.js} +1 -1
  32. package/dist/{identity-DlZbkJQS.js → identity-D3hr59eC.js} +1 -1
  33. package/dist/{identity-CcRmDe4W.js → identity-puvd7hVQ.js} +1 -1
  34. package/dist/index.js +8 -8
  35. package/dist/{initMsg-DVDdYJsR.js → initMsg-BEVDWYnv.js} +1 -1
  36. package/dist/{initMsg-Ccwt3Zl0.js → initMsg-GPU52N-j.js} +1 -1
  37. package/dist/{messageLog-BrXNxItW.js → messageLog-CEqe4Hk1.js} +1 -1
  38. package/dist/{needsInput-YjRIX-lx.js → needsInput-hRiWFjGy.js} +1 -1
  39. package/dist/{nodeRuntime-B-N-Vmy5.js → nodeRuntime-DGMQRTGT.js} +1 -1
  40. package/dist/{notifyDaemon-Bzw01eiN.js → notifyDaemon-lazKdIh5.js} +13 -13
  41. package/dist/{notifyStore-Cr4L1LJB.js → notifyStore-C4pH_-zJ.js} +1 -1
  42. package/dist/{notifyStore--pUbdH-t.js → notifyStore-DIfkfKB2.js} +1 -1
  43. package/dist/{openBrowser-DrT49KoY.js → openBrowser-CQAOIrD6.js} +1 -1
  44. package/dist/{oxmgrService-BEkkVQ_I.js → oxmgrService-DlYHmqyI.js} +2 -2
  45. package/dist/oxmgrService-o9L3I6FX.js +3 -0
  46. package/dist/{parentLink-DJCkwoxE.js → parentLink-B7_kEM1v.js} +2 -2
  47. package/dist/{parentLink-eU8ZWi1k.js → parentLink-UiM6WoKm.js} +2 -2
  48. package/dist/{parentPingLoop-dDexc-qC.js → parentPingLoop-BjDJg9XX.js} +7 -7
  49. package/dist/peer-3F7owPWt.js +4 -0
  50. package/dist/{peer-DI_xxui8.js → peer-L-prov9t.js} +3 -3
  51. package/dist/pidStore-B89BOF_T.js +6 -0
  52. package/dist/{pidStore-DXEbQrh-.js → pidStore-DUXifdBr.js} +3 -3
  53. package/dist/{procStats-BvbPF1a2.js → procStats-DwTxj3rs.js} +1 -1
  54. package/dist/{reaper-BTfq0-5j.js → reaper-C2cuougX.js} +1 -1
  55. package/dist/{reaper-A_eEjMxS.js → reaper-DsZhX5FH.js} +1 -1
  56. package/dist/{remotes-Mcv47Ik8.js → remotes-CAZymHd7.js} +3 -3
  57. package/dist/{remotes-DuCBbfG8.js → remotes-W6NhMDfP.js} +3 -3
  58. package/dist/{roomReplyAlias-DcBAdDfr.js → roomReplyAlias-B1EJft2d.js} +3 -3
  59. package/dist/roomReplyAlias-BeGVkAlc.js +6 -0
  60. package/dist/{runningLock-DaVbNt4d.js → runningLock-DMznYh45.js} +1 -1
  61. package/dist/{rustBinary-C0ARLVD0.js → rustBinary-DAjCfAyF.js} +2 -2
  62. package/dist/{rustBinary-CxNpBInV.js → rustBinary-ONO5uylO.js} +2 -2
  63. package/dist/{schedule-CKLNtRhW.js → schedule-C3kP6iVt.js} +15 -15
  64. package/dist/{schedules-CyCEXjq3.js → schedules-BvwTGXU2.js} +1 -1
  65. package/dist/{schedulesCli-1fgNuPVC.js → schedulesCli-Donh0LS2.js} +3 -3
  66. package/dist/{senderAncestry-DAO9fNCT.js → senderAncestry-CVHeKk1Y.js} +1 -1
  67. package/dist/{senderAncestry-C-hBTX_v.js → senderAncestry-KhAUPCQs.js} +1 -1
  68. package/dist/{serve-n4nOmk2c.js → serve-BgvRcZJO.js} +51 -52
  69. package/dist/{serveRust-CvXeHHZD.js → serveRust-76_apYb8.js} +3 -3
  70. package/dist/{setup-BlQmNrAF.js → setup-B4PG8bIZ.js} +4 -4
  71. package/dist/{share-BJ78YmNu.js → share-CbFetL5H.js} +2 -2
  72. package/dist/{share-Bq8CEWOU.js → share-_TPYAGWC.js} +2 -2
  73. package/dist/{shareCmd-BGVLKF9h.js → shareCmd-Cv5egnZu.js} +10 -10
  74. package/dist/spawnGate-DhPgMs0Y.js +5 -0
  75. package/dist/{spawnGate-BbXnT_bJ.js → spawnGate-nUrmf4dd.js} +3 -3
  76. package/dist/{store-MjCqeJDI.js → store-xmBpqPUq.js} +1 -1
  77. package/dist/{subcommands-BFCTWqVS.js → subcommands-Bdd5bHsZ.js} +42 -43
  78. package/dist/{subcommands-D1PGATw2.js → subcommands-Cau6tkwY.js} +12 -12
  79. package/dist/{systemPathLink-D4w0d1g_.js → systemPathLink-DI9WdoqQ.js} +1 -1
  80. package/dist/{terminal-Dx12JFKD.js → terminal-C-1Z7j4-.js} +2 -2
  81. package/dist/terminal.js +1 -1
  82. package/dist/{todoAutomation-KgmnTAsD.js → todoAutomation-CKlrxuZv.js} +2 -2
  83. package/dist/{todoCli-KlmdphDn.js → todoCli-BllShFnc.js} +6 -6
  84. package/dist/{todoIdentity--FkENDOE.js → todoIdentity-DeDp7LKl.js} +2 -2
  85. package/dist/{todoStore-Dre3Yhwt.js → todoStore-msRCEUi1.js} +2 -2
  86. package/dist/{tray-B7YfZ0UA.js → tray-RIjHSw7z.js} +2 -2
  87. package/dist/trayApp-C4r6KlfO.js +5 -0
  88. package/dist/{trayApp-Dga7T0oz.js → trayApp-CqeFfHgd.js} +2 -2
  89. package/dist/{ts-rld6SQ7W.js → ts-C71xOb-7.js} +79 -20
  90. package/dist/{versionChecker-Cc5Wv_w9.js → versionChecker-D8NBQ4lX.js} +2 -2
  91. package/dist/{webrtcLink-Cknj61A1.js → webrtcLink-DcvacEci.js} +2 -2
  92. package/dist/{webrtcLink-vJVMbW35.js → webrtcLink-WxS1nTIs.js} +2 -2
  93. package/dist/{webrtcRemote-BXcSWa2i.js → webrtcRemote-B4pwES4i.js} +3 -3
  94. package/dist/{widget-DT4WLjli.js → widget-Dd1pZenI.js} +3 -3
  95. package/dist/widget.js +1 -1
  96. package/dist/widgets.js +5 -5
  97. package/dist/{workspaceConfig-gqJ3pTM4.js → workspaceConfig-DjEklzxf.js} +1 -1
  98. package/dist/{ws-DPR4xkmz.js → ws-C3YRpaU2.js} +3 -3
  99. package/dist/ws-CMsFt4oK.js +16 -0
  100. package/package.json +1 -1
  101. package/ts/cli.ts +1 -40
  102. package/ts/globalPidIndex.ts +2 -19
  103. package/ts/parseCliArgs.spec.ts +0 -10
  104. package/ts/parseCliArgs.ts +0 -22
  105. package/ts/subcommands.ts +0 -6
  106. package/dist/SUPPORTED_CLIS-B-eB4iuK.js +0 -12
  107. package/dist/agent-yes.config-ByXwI-t3.js +0 -47
  108. package/dist/agentPermissions-CgM1bl6m.js +0 -62
  109. package/dist/callback-CHvaHPKp.js +0 -17
  110. package/dist/configLoader-D9O9zwKR.js +0 -5
  111. package/dist/detach-CUPQbXtv.js +0 -58
  112. package/dist/launch-BRXNFCBA.js +0 -74
  113. package/dist/launch-CMznER0r.js +0 -3
  114. package/dist/oxmgrService-CXDx2gq-.js +0 -3
  115. package/dist/peer-BSZQbKB7.js +0 -4
  116. package/dist/pidStore-BRU1Q0uN.js +0 -6
  117. package/dist/roomReplyAlias-YVKAzxv-.js +0 -6
  118. package/dist/runner-Cqa0n41s.js +0 -530
  119. package/dist/spawnGate-BLLSFzwz.js +0 -5
  120. package/dist/trayApp-BAcNMe7V.js +0 -5
  121. package/dist/ws-Qg-36Hko.js +0 -16
package/README.md CHANGED
@@ -712,37 +712,3 @@ be committed.
712
712
  ## License
713
713
 
714
714
  MIT
715
-
716
- ### Claude stream sessions (preview)
717
-
718
- PTY remains the default. When Claude's own arguments request
719
- `--output-format stream-json`, `ay` detects the protocol, records `mode: "stream"`,
720
- and captures NDJSON through pipes in the TypeScript runtime. It does not add
721
- stream flags to a native invocation:
722
-
723
- ```sh
724
- ay claude -p --input-format stream-json --output-format stream-json --verbose --replay-user-messages -- "task"
725
- ```
726
-
727
- `ay --stream claude "task"` is optional shorthand that appends those native
728
- flags (and the stdio permission protocol). There is no config transport default.
729
- Output-only stream invocations are also captured; bidirectional sends require
730
- explicit `--input-format stream-json --replay-user-messages`.
731
-
732
- Each session writes normalized `<pid>.events.jsonl`, original `<pid>.native.jsonl`,
733
- and a readable `<pid>.raw.log` under the working directory's `.agent-yes/`.
734
- Stream capture currently requires macOS or Linux. `ay --detach claude ...` starts a
735
- background TypeScript wrapper and prints its registered CLI pid.
736
- Permission requests are recorded; use an explicit Claude permission policy for
737
- unattended sessions until approval commands are available.
738
-
739
- Native stream flags also work after the wrapper separator, for example
740
- `ay --detach claude -- -p --input-format stream-json --output-format stream-json --verbose --replay-user-messages --model haiku "task"`.
741
- The initial stream task is passed verbatim, without PTY init-message envelopes.
742
- The registry mirrors active/idle turn transitions, and event files preserve stream
743
- identity when an older registry writer drops the transport field.
744
-
745
- This capture-only change rejects `ay send` for stream sessions rather than claiming
746
- terminal input was delivered. Replay-confirmed stream delivery is added in #562.
747
- Successful CLI exit also cleans up its detached process group, including remaining
748
- descendants that inherited the output pipes.
@@ -185,4 +185,4 @@ function generateId() {
185
185
 
186
186
  //#endregion
187
187
  export { JsonlStore as t };
188
- //# sourceMappingURL=JsonlStore-fEAVg5aY.js.map
188
+ //# sourceMappingURL=JsonlStore-CB_0sfdT.js.map
@@ -0,0 +1,12 @@
1
+ import "./logger-CDIsZ-Pp.js";
2
+ import "./versionChecker-D8NBQ4lX.js";
3
+ import "./ts-C71xOb-7.js";
4
+ import "./todoAutomation-CKlrxuZv.js";
5
+ import "./JsonlStore-CB_0sfdT.js";
6
+ import "./globalPidIndex-C6p_AY4D.js";
7
+ import "./pidStore-DUXifdBr.js";
8
+ import "./messageLog-CEqe4Hk1.js";
9
+ import "./todoStore-msRCEUi1.js";
10
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CxDNMDz5.js";
11
+
12
+ export { SUPPORTED_CLIS };
@@ -1,8 +1,8 @@
1
- import { t as CLIS_CONFIG } from "./ts-rld6SQ7W.js";
1
+ import { t as CLIS_CONFIG } from "./ts-C71xOb-7.js";
2
2
 
3
3
  //#region ts/SUPPORTED_CLIS.ts
4
4
  const SUPPORTED_CLIS = Object.keys(CLIS_CONFIG);
5
5
 
6
6
  //#endregion
7
7
  export { SUPPORTED_CLIS as t };
8
- //# sourceMappingURL=SUPPORTED_CLIS-CCLsrUPj.js.map
8
+ //# sourceMappingURL=SUPPORTED_CLIS-CxDNMDz5.js.map
@@ -1,10 +1,17 @@
1
1
  import { n as logger } from "./logger-CDIsZ-Pp.js";
2
- import { n as normalizeAgentYesConfig } from "./configShared-B9gyn11R.js";
2
+ import { n as normalizeAgentYesConfig, t as loadSharedCliDefaults } from "./configShared-De4bR5hH.js";
3
3
  import path from "node:path";
4
4
  import os from "node:os";
5
- import { access, readFile, writeFile } from "node:fs/promises";
5
+ import { access, mkdir, readFile, writeFile } from "node:fs/promises";
6
6
  import { parse } from "yaml";
7
7
 
8
+ //#region ts/defineConfig.ts
9
+ async function defineCliYesConfig(cfg) {
10
+ if (typeof cfg === "function") cfg = await cfg({ clis: {} });
11
+ return cfg;
12
+ }
13
+
14
+ //#endregion
8
15
  //#region ts/utils.ts
9
16
  function deepMixin(target, source, ...more) {
10
17
  for (const key in source) if (source[key] && typeof source[key] === "object" && !Array.isArray(source[key])) {
@@ -187,5 +194,36 @@ async function ensureSchemaInConfigFiles(options = {}) {
187
194
  }
188
195
 
189
196
  //#endregion
190
- export { loadCascadingConfig as n, deepMixin as r, ensureSchemaInConfigFiles as t };
191
- //# sourceMappingURL=configLoader-CLSX_LND.js.map
197
+ //#region agent-yes.config.ts
198
+ logger.debug("loading cli-yes.config.ts from " + import.meta.url);
199
+ ensureSchemaInConfigFiles().catch(() => {});
200
+ const configDir = await (async () => {
201
+ const homeConfigDir = path.resolve(os.homedir(), ".agent-yes");
202
+ if (await mkdir(homeConfigDir, { recursive: true }).then(() => true).catch(() => false)) {
203
+ logger.debug("[config] Using home directory:", homeConfigDir);
204
+ return homeConfigDir;
205
+ }
206
+ const tmpConfigDir = path.resolve("/tmp/.agent-yes");
207
+ if (await mkdir(tmpConfigDir, { recursive: true })) {
208
+ logger.debug("[config] Using workspace directory:", tmpConfigDir);
209
+ return tmpConfigDir;
210
+ }
211
+ })();
212
+ const cascadingConfig = await loadCascadingConfig();
213
+ const legacyConfigs = await Promise.all([
214
+ import(path.resolve(os.homedir(), ".agent-yes/config.ts")).catch(() => ({ default: {} })).then((mod) => mod.default),
215
+ import(path.resolve(process.cwd(), "node_modules/.agent-yes/config.ts")).catch(() => ({ default: {} })).then((mod) => mod.default),
216
+ import(path.resolve(process.cwd(), ".agent-yes/config.ts")).catch(() => ({ default: {} })).then((mod) => mod.default)
217
+ ]);
218
+ var agent_yes_config_default = deepMixin(await getDefaultConfig(), cascadingConfig, ...legacyConfigs);
219
+ async function getDefaultConfig() {
220
+ return defineCliYesConfig({
221
+ configDir,
222
+ logsDir: configDir && path.resolve(configDir, "logs"),
223
+ clis: await loadSharedCliDefaults(import.meta.url)
224
+ });
225
+ }
226
+
227
+ //#endregion
228
+ export { agent_yes_config_default as default };
229
+ //# sourceMappingURL=agent-yes.config-CRfpdp3A.js.map
@@ -1,17 +1,17 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import "./JsonlStore-fEAVg5aY.js";
3
- import "./globalPidIndex-D9fxq9Ad.js";
4
- import "./pidStore-DXEbQrh-.js";
5
- import "./messageLog-BrXNxItW.js";
6
- import "./e2e-C34A1uYu.js";
7
- import "./configShared-B9gyn11R.js";
8
- import { ot as resolveOne } from "./subcommands-BFCTWqVS.js";
9
- import "./webrtcLink-Cknj61A1.js";
10
- import "./remotes-Mcv47Ik8.js";
11
- import "./roomReplyAlias-DcBAdDfr.js";
12
- import "./notifyStore--pUbdH-t.js";
13
- import "./senderAncestry-DAO9fNCT.js";
14
- import { l as startShare } from "./share-BJ78YmNu.js";
2
+ import "./JsonlStore-CB_0sfdT.js";
3
+ import "./globalPidIndex-C6p_AY4D.js";
4
+ import "./pidStore-DUXifdBr.js";
5
+ import "./messageLog-CEqe4Hk1.js";
6
+ import "./e2e-BdLf8DvY.js";
7
+ import "./configShared-De4bR5hH.js";
8
+ import { ot as resolveOne } from "./subcommands-Bdd5bHsZ.js";
9
+ import "./webrtcLink-DcvacEci.js";
10
+ import "./remotes-CAZymHd7.js";
11
+ import "./roomReplyAlias-B1EJft2d.js";
12
+ import "./notifyStore-DIfkfKB2.js";
13
+ import "./senderAncestry-CVHeKk1Y.js";
14
+ import { l as startShare } from "./share-CbFetL5H.js";
15
15
 
16
16
  //#region ts/agentShare.ts
17
17
  const MAX_SHARES = 8;
@@ -234,4 +234,4 @@ function transformEvent(rawEvent, agentId, forwarded) {
234
234
 
235
235
  //#endregion
236
236
  export { createScopedShare, listShares, revokeAllShares, revokeShare };
237
- //# sourceMappingURL=agentShare-BtYsU1zl.js.map
237
+ //# sourceMappingURL=agentShare-JNS0C_FQ.js.map
@@ -1,9 +1,9 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import "./JsonlStore-fEAVg5aY.js";
3
- import "./globalPidIndex-D9fxq9Ad.js";
4
- import { r as openStore } from "./todoStore-Dre3Yhwt.js";
5
- import { t as formatIdentity } from "./identity-CcRmDe4W.js";
6
- import { a as resolveTodoRoot, i as resolveSelf } from "./todoIdentity--FkENDOE.js";
2
+ import "./JsonlStore-CB_0sfdT.js";
3
+ import "./globalPidIndex-C6p_AY4D.js";
4
+ import { r as openStore } from "./todoStore-msRCEUi1.js";
5
+ import { t as formatIdentity } from "./identity-puvd7hVQ.js";
6
+ import { a as resolveTodoRoot, i as resolveSelf } from "./todoIdentity-DeDp7LKl.js";
7
7
  import yargs from "yargs";
8
8
  import { randomBytes } from "crypto";
9
9
 
@@ -269,4 +269,4 @@ async function runAnswerSubcommand(rest, deps) {
269
269
 
270
270
  //#endregion
271
271
  export { runAnswerSubcommand, runAskSubcommand };
272
- //# sourceMappingURL=askCli-DNjFBBqa.js.map
272
+ //# sourceMappingURL=askCli-D4czi-_j.js.map
@@ -13566,4 +13566,4 @@ const XTERM_CSS = `
13566
13566
 
13567
13567
  //#endregion
13568
13568
  export { AyTerminal as t };
13569
- //# sourceMappingURL=browser-CU933aYj.js.map
13569
+ //# sourceMappingURL=browser-BAFPmEvN.js.map
@@ -1,7 +1,7 @@
1
- import { d as randomHex } from "./e2e-C34A1uYu.js";
2
- import { d as parseChannelLink, f as secretFromTopic, o as deriveChannelId, s as deriveRoom } from "./channels-BGSdyeQs.js";
3
- import { a as renderThread, c as makeOp, f as hlcSend, n as maxHlc, o as sortOps, r as mergeOps, s as isValidOp } from "./store-MjCqeJDI.js";
4
- import { t as ChannelPeer } from "./peer-DI_xxui8.js";
1
+ import { d as randomHex } from "./e2e-BdLf8DvY.js";
2
+ import { d as parseChannelLink, f as secretFromTopic, o as deriveChannelId, s as deriveRoom } from "./channels-jIa5fNjY.js";
3
+ import { a as renderThread, c as makeOp, f as hlcSend, n as maxHlc, o as sortOps, r as mergeOps, s as isValidOp } from "./store-xmBpqPUq.js";
4
+ import { t as ChannelPeer } from "./peer-L-prov9t.js";
5
5
 
6
6
  //#region ts/channels/store.browser.ts
7
7
  const PREFIX = "ay29ch:";
@@ -308,4 +308,4 @@ const WIDGET_HTML = `
308
308
 
309
309
  //#endregion
310
310
  export { AyChannel as t };
311
- //# sourceMappingURL=browser-BzjhscIR.js.map
311
+ //# sourceMappingURL=browser-BW90gl2w.js.map
@@ -0,0 +1,17 @@
1
+ import "./logger-CDIsZ-Pp.js";
2
+ import "./JsonlStore-CB_0sfdT.js";
3
+ import "./globalPidIndex-C6p_AY4D.js";
4
+ import "./pidStore-DUXifdBr.js";
5
+ import "./messageLog-CEqe4Hk1.js";
6
+ import "./e2e-BdLf8DvY.js";
7
+ import "./configShared-De4bR5hH.js";
8
+ import "./subcommands-Bdd5bHsZ.js";
9
+ import "./webrtcLink-DcvacEci.js";
10
+ import "./remotes-CAZymHd7.js";
11
+ import "./roomReplyAlias-B1EJft2d.js";
12
+ import "./notifyStore-DIfkfKB2.js";
13
+ import "./senderAncestry-CVHeKk1Y.js";
14
+ import "./callbackCore-Deve5pv3.js";
15
+ import { i as loadOrCreateCallbackSecret, n as isCallbackRevoked, r as loadCallbackSecretReadOnly, t as cmdCallback } from "./callback-DUSLYQOF.js";
16
+
17
+ export { cmdCallback };
@@ -1,6 +1,6 @@
1
1
  import { t as agentYesHome } from "./agentYesHome-JmJC28YX.js";
2
- import { ot as resolveOne } from "./subcommands-BFCTWqVS.js";
3
- import { a as mintCapability, o as parseExpires } from "./callbackCore-CaLG7aPo.js";
2
+ import { ot as resolveOne } from "./subcommands-Bdd5bHsZ.js";
3
+ import { a as mintCapability, o as parseExpires } from "./callbackCore-Deve5pv3.js";
4
4
  import { chmodSync, readFileSync, renameSync, writeFileSync } from "node:fs";
5
5
  import path from "node:path";
6
6
  import { randomBytes } from "node:crypto";
@@ -72,7 +72,7 @@ async function resolveBase(flag) {
72
72
  if (flag) return flag;
73
73
  if (process.env.AGENT_YES_CALLBACK_BASE) return process.env.AGENT_YES_CALLBACK_BASE;
74
74
  try {
75
- const { resolveLocalServeUrl } = await import("./serve-n4nOmk2c.js");
75
+ const { resolveLocalServeUrl } = await import("./serve-BgvRcZJO.js");
76
76
  const url = await resolveLocalServeUrl();
77
77
  if (url) return url;
78
78
  } catch {}
@@ -170,7 +170,7 @@ async function cmdCallback(rest) {
170
170
  createdAt: Date.now()
171
171
  };
172
172
  saveStore(all);
173
- const { buildSnippet } = await import("./callbackCore-D9X-BW1Y.js");
173
+ const { buildSnippet } = await import("./callbackCore-BZ_10zyc.js");
174
174
  w(`callback ${id} → ${record.cli} #${record.pid} @ ${record.cwd}`);
175
175
  w(`expires: ${new Date(exp).toISOString()} (${expiresSpec})`);
176
176
  w(`endpoint: ${base.replace(/\/+$/, "")}/cb/${cap}`);
@@ -187,4 +187,4 @@ async function cmdCallback(rest) {
187
187
 
188
188
  //#endregion
189
189
  export { loadOrCreateCallbackSecret as i, isCallbackRevoked as n, loadCallbackSecretReadOnly as r, cmdCallback as t };
190
- //# sourceMappingURL=callback-vc9GblVt.js.map
190
+ //# sourceMappingURL=callback-DUSLYQOF.js.map
@@ -1,3 +1,3 @@
1
- import { a as mintCapability, i as frameVisitorMessage, n as MAX_EXPIRES_MS, o as parseExpires, r as buildSnippet, s as verifyCapability, t as MAX_CALLBACK_MSG_BYTES } from "./callbackCore-CaLG7aPo.js";
1
+ import { a as mintCapability, i as frameVisitorMessage, n as MAX_EXPIRES_MS, o as parseExpires, r as buildSnippet, s as verifyCapability, t as MAX_CALLBACK_MSG_BYTES } from "./callbackCore-Deve5pv3.js";
2
2
 
3
3
  export { buildSnippet };
@@ -140,4 +140,4 @@ function buildSnippet(opts) {
140
140
 
141
141
  //#endregion
142
142
  export { mintCapability as a, frameVisitorMessage as i, MAX_EXPIRES_MS as n, parseExpires as o, buildSnippet as r, verifyCapability as s, MAX_CALLBACK_MSG_BYTES as t };
143
- //# sourceMappingURL=callbackCore-CaLG7aPo.js.map
143
+ //# sourceMappingURL=callbackCore-Deve5pv3.js.map
@@ -1,6 +1,6 @@
1
- import "./e2e-C34A1uYu.js";
2
- import { c as formatChannelLink, d as parseChannelLink, f as secretFromTopic, l as formatChannelWebLink, o as deriveChannelId, s as deriveRoom, u as isChannelLink } from "./channels-BGSdyeQs.js";
3
- import { a as renderThread, c as makeOp, f as hlcSend, n as maxHlc, o as sortOps, r as mergeOps, s as isValidOp } from "./store-MjCqeJDI.js";
1
+ import "./e2e-BdLf8DvY.js";
2
+ import { c as formatChannelLink, d as parseChannelLink, f as secretFromTopic, l as formatChannelWebLink, o as deriveChannelId, s as deriveRoom, u as isChannelLink } from "./channels-jIa5fNjY.js";
3
+ import { a as renderThread, c as makeOp, f as hlcSend, n as maxHlc, o as sortOps, r as mergeOps, s as isValidOp } from "./store-xmBpqPUq.js";
4
4
  import { appendFile, chmod, mkdir, readFile, rm, writeFile } from "fs/promises";
5
5
  import os from "os";
6
6
  import path from "path";
@@ -386,8 +386,8 @@ function printOp(op) {
386
386
  * `extraStdin` (pipe mode) drives it. Returns the started peer + a stop fn.
387
387
  */
388
388
  async function runMesh(cwd, entry, opts) {
389
- const { ChannelPeer } = await import("./peer-BSZQbKB7.js");
390
- const { importRTC, getIceServers } = await import("./share-Bq8CEWOU.js");
389
+ const { ChannelPeer } = await import("./peer-3F7owPWt.js");
390
+ const { importRTC, getIceServers } = await import("./share-_TPYAGWC.js");
391
391
  const rtc = await importRTC();
392
392
  const seen = new Set((await readOps(cwd, entry.channelId)).map((o) => o.id));
393
393
  const peer = new ChannelPeer({
@@ -567,4 +567,4 @@ async function cmdCh(args) {
567
567
 
568
568
  //#endregion
569
569
  export { cmdCh };
570
- //# sourceMappingURL=channels-wGkKOk1z.js.map
570
+ //# sourceMappingURL=channels-Y36S0ccW.js.map
@@ -1,4 +1,4 @@
1
- import { m as validateS, u as parseSecret } from "./e2e-C34A1uYu.js";
1
+ import { m as validateS, u as parseSecret } from "./e2e-BdLf8DvY.js";
2
2
 
3
3
  //#region ts/channels/link.ts
4
4
  const CH_DEFAULT_SIGHOST = "s.agent-yes.com";
@@ -134,4 +134,4 @@ function formatUntrustedInbound(op, opts) {
134
134
 
135
135
  //#endregion
136
136
  export { CH_DEFAULT_SIGHOST as a, formatChannelLink as c, parseChannelLink as d, secretFromTopic as f, parseCmd as i, formatChannelWebLink as l, isActionableCmd as n, deriveChannelId as o, isEphemeral as r, deriveRoom as s, formatUntrustedInbound as t, isChannelLink as u };
137
- //# sourceMappingURL=channels-BGSdyeQs.js.map
137
+ //# sourceMappingURL=channels-jIa5fNjY.js.map
package/dist/channels.js CHANGED
@@ -1,7 +1,7 @@
1
- import "./e2e-C34A1uYu.js";
2
- import { a as CH_DEFAULT_SIGHOST, c as formatChannelLink, d as parseChannelLink, f as secretFromTopic, i as parseCmd, l as formatChannelWebLink, n as isActionableCmd, o as deriveChannelId, r as isEphemeral, s as deriveRoom, t as formatUntrustedInbound, u as isChannelLink } from "./channels-BGSdyeQs.js";
3
- import { a as renderThread, c as makeOp, d as formatHlc, f as hlcSend, i as opsMissing, l as opId, n as maxHlc, o as sortOps, p as parseHlc, r as mergeOps, s as isValidOp, t as haveVector, u as compareHlc } from "./store-MjCqeJDI.js";
4
- import "./peer-DI_xxui8.js";
5
- import { t as AyChannel } from "./browser-BzjhscIR.js";
1
+ import "./e2e-BdLf8DvY.js";
2
+ import { a as CH_DEFAULT_SIGHOST, c as formatChannelLink, d as parseChannelLink, f as secretFromTopic, i as parseCmd, l as formatChannelWebLink, n as isActionableCmd, o as deriveChannelId, r as isEphemeral, s as deriveRoom, t as formatUntrustedInbound, u as isChannelLink } from "./channels-jIa5fNjY.js";
3
+ import { a as renderThread, c as makeOp, d as formatHlc, f as hlcSend, i as opsMissing, l as opId, n as maxHlc, o as sortOps, p as parseHlc, r as mergeOps, s as isValidOp, t as haveVector, u as compareHlc } from "./store-xmBpqPUq.js";
4
+ import "./peer-L-prov9t.js";
5
+ import { t as AyChannel } from "./browser-BW90gl2w.js";
6
6
 
7
7
  export { AyChannel, AyChannel as default, CH_DEFAULT_SIGHOST, compareHlc, deriveChannelId, deriveRoom, formatChannelLink, formatChannelWebLink, formatHlc, formatUntrustedInbound, haveVector, hlcSend, isActionableCmd, isChannelLink, isEphemeral, isValidOp, makeOp, maxHlc, mergeOps, opId, opsMissing, parseChannelLink, parseCmd, parseHlc, renderThread, secretFromTopic, sortOps };
package/dist/cli.js CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bun
2
2
  import { t as invokedCliName } from "./invokedCli-zdFbz1ST.js";
3
3
  import { n as logger } from "./logger-CDIsZ-Pp.js";
4
- import { a as versionString, r as displayVersion, t as checkAndAutoUpdate } from "./versionChecker-Cc5Wv_w9.js";
5
- import { h as getRustBinary } from "./rustBinary-C0ARLVD0.js";
4
+ import { a as versionString, r as displayVersion, t as checkAndAutoUpdate } from "./versionChecker-D8NBQ4lX.js";
5
+ import { h as getRustBinary } from "./rustBinary-DAjCfAyF.js";
6
6
  import { statSync } from "node:fs";
7
7
  import { isAbsolute } from "node:path";
8
8
  import { argv } from "process";
@@ -94,11 +94,7 @@ applyCwdGuard();
94
94
  */
95
95
  function parseCliArgs(argv, supportedClis) {
96
96
  const cliName = invokedCliName(argv);
97
- const yargsInstance = yargs(hideBin(argv)).usage("Usage: $0 [agent-yes args] [cli] [agent-cli args] [--] [prompts...]").example("$0 --timeout=30s claude -- solve all todos in my codebase, commit one by one", "Run Claude with a 30 seconds idle timeout (will type /exit when timeout), everything after `--` will be treated as the prompt").example("$0 claude --stdpush", "Run Claude with external stdin input enabled via --append-prompt").option("stream", {
98
- type: "boolean",
99
- default: false,
100
- description: "Run Claude using the stream JSON protocol (TypeScript runtime)"
101
- }).option("robust", {
97
+ const yargsInstance = yargs(hideBin(argv)).usage("Usage: $0 [agent-yes args] [cli] [agent-cli args] [--] [prompts...]").example("$0 --timeout=30s claude -- solve all todos in my codebase, commit one by one", "Run Claude with a 30 seconds idle timeout (will type /exit when timeout), everything after `--` will be treated as the prompt").example("$0 claude --stdpush", "Run Claude with external stdin input enabled via --append-prompt").option("robust", {
102
98
  type: "boolean",
103
99
  default: true,
104
100
  description: "re-spawn Claude with --continue if it crashes, only works for claude yet",
@@ -303,18 +299,6 @@ function parseCliArgs(argv, supportedClis) {
303
299
  const dashPrompt = dashIndex === void 0 ? void 0 : rawArgs.slice(dashIndex + 1).join(" ");
304
300
  if (parsedArgv.exitOnIdle !== void 0) console.warn("\x1B[33m⚠ Warning: --exit-on-idle and -e are deprecated. Please use --timeout instead.\x1B[0m");
305
301
  return {
306
- nativeArgs: (() => {
307
- const args = parsedArgv._[0] && !cliName ? rawArgs.slice((cliArgIndex ?? 0) + 1) : [
308
- ...cliArgsForSpawn,
309
- ...positionalPromptWords,
310
- ...dashIndex === void 0 ? [] : rawArgs.slice(dashIndex + 1)
311
- ];
312
- const separator = args.indexOf("--");
313
- if (parsedArgv._[0] && !cliName && separator !== -1) args.splice(separator, 1);
314
- return args;
315
- })(),
316
- explicitPrompt: parsedArgv.prompt,
317
- stream: parsedArgv.stream,
318
302
  cwd: process.cwd(),
319
303
  env: process.env,
320
304
  cli: cliName || parsedArgv.cli || (dashIndex !== 0 ? parsedArgv._[0]?.toString()?.replace?.(/-yes$/, "") : void 0),
@@ -394,7 +378,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
394
378
  const rawArg = process.argv[2];
395
379
  const managerCommands = !invokedCliName(process.argv);
396
380
  const isHelpFlag = rawArg === "-h" || rawArg === "--help";
397
- const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken, isBareManagerInvocation } = await import("./subcommands-D1PGATw2.js");
381
+ const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken, isBareManagerInvocation } = await import("./subcommands-Cau6tkwY.js");
398
382
  if (isHelpFlag && process.argv.length === 3) {
399
383
  await cmdHelp(managerCommands);
400
384
  process.exit(0);
@@ -408,7 +392,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
408
392
  process.exit(code ?? 0);
409
393
  }
410
394
  {
411
- const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-B-eB4iuK.js");
395
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-BMbqMThf.js");
412
396
  if (isUnknownManagerToken(rawArg, managerCommands, SUPPORTED_CLIS)) {
413
397
  process.stderr.write(`ay: unknown subcommand or CLI '${rawArg}'.\n See 'ay help' for subcommands. To run an agent, name a CLI:\n 'ay <cli> …' (e.g. 'ay claude …') or 'ay --cli <cli> …'.\n`);
414
398
  process.exit(1);
@@ -416,7 +400,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
416
400
  }
417
401
  }
418
402
  {
419
- const { detectCwdPassthrough, SUPPRESS_CWD_WARN_ENV } = await import("./cwdPassthroughHint-yMqzDqR-.js");
403
+ const { detectCwdPassthrough, SUPPRESS_CWD_WARN_ENV } = await import("./cwdPassthroughHint-CzWh0hrw.js");
420
404
  const dep = detectCwdPassthrough(process.argv);
421
405
  if (dep) {
422
406
  console.warn(dep.message);
@@ -426,13 +410,8 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
426
410
  await checkAndAutoUpdate();
427
411
  logger.info(versionString());
428
412
  const config = parseCliArgs(process.argv);
429
- const { loadCascadingConfig } = await import("./configLoader-D9O9zwKR.js");
430
- const { planClaudeStream } = await import("./launch-CMznER0r.js");
431
- const streamCliConfig = (await loadCascadingConfig()).clis?.[config.cli];
432
- if (config.stream && config.cli !== "claude") throw new Error("--stream currently supports claude only");
433
- const streamLaunch = planClaudeStream(config.cli, [...streamCliConfig?.defaultArgs ?? [], ...config.nativeArgs], config.explicitPrompt, config.stream);
434
413
  {
435
- const { stripDetachFlag } = await import("./forkNested-NWzwReQd.js");
414
+ const { stripDetachFlag } = await import("./forkNested-DHuYbpaf.js");
436
415
  const res = stripDetachFlag(process.argv.slice(2), Boolean(config.detach));
437
416
  if (!res.ok) {
438
417
  console.error(res.error);
@@ -444,21 +423,21 @@ if (config.detach && (config.attach || process.env.AGENT_YES_ATTACH === "1")) {
444
423
  console.error("--detach and --attach (or AGENT_YES_ATTACH=1) contradict each other.");
445
424
  process.exit(1);
446
425
  }
447
- if (config.detach && !config.useRust && !streamLaunch) {
426
+ if (config.detach && !config.useRust) {
448
427
  console.error("--detach needs the Rust runtime (drop --no-rust / AGENT_YES_NO_RUST).");
449
428
  process.exit(1);
450
429
  }
451
430
  if (config.tray) {
452
- const { startTray } = await import("./tray-B7YfZ0UA.js");
431
+ const { startTray } = await import("./tray-RIjHSw7z.js");
453
432
  await startTray();
454
433
  await new Promise(() => {});
455
434
  }
456
435
  {
457
- const { ensureTray } = await import("./tray-B7YfZ0UA.js");
436
+ const { ensureTray } = await import("./tray-RIjHSw7z.js");
458
437
  ensureTray();
459
438
  }
460
439
  if (!config.showVersion && !config.appendPrompt && !config.tray) {
461
- const { waitForSpawnCapacity } = await import("./spawnGate-BLLSFzwz.js");
440
+ const { waitForSpawnCapacity } = await import("./spawnGate-DhPgMs0Y.js");
462
441
  await waitForSpawnCapacity({
463
442
  onWait: (reason, waitedMs) => {
464
443
  if (config.verbose || waitedMs === 0) console.error(`[agent-yes] spawn gate: ${reason} — waiting…`);
@@ -467,33 +446,9 @@ if (!config.showVersion && !config.appendPrompt && !config.tray) {
467
446
  });
468
447
  }
469
448
  if (!config.showVersion && !config.appendPrompt && !config.tray) {
470
- const { warnIfCwdOccupied } = await import("./cwdConflictWarn-Bo-MXcHc.js");
449
+ const { warnIfCwdOccupied } = await import("./cwdConflictWarn-ml6Qs3Qu.js");
471
450
  await warnIfCwdOccupied(process.argv);
472
451
  }
473
- if (streamLaunch) {
474
- const { runStream } = await import("./runner-Cqa0n41s.js");
475
- const args = [...streamLaunch.args];
476
- if (config.skipPermissions) args.push("--dangerously-skip-permissions");
477
- if (config.resume) args.push("--continue");
478
- if (config.detach) {
479
- const { detachStream } = await import("./detach-CUPQbXtv.js");
480
- const record = await detachStream({
481
- entry: process.argv[1],
482
- args: process.argv.slice(2),
483
- cwd: config.cwd
484
- });
485
- console.log(`Spawned ${record.cli} stream session as pid ${record.pid}.`);
486
- console.log(` ay tail ${record.pid}\n ay send ${record.pid} "message"`);
487
- process.exit(0);
488
- }
489
- process.exit(await runStream({
490
- ...config,
491
- ...streamLaunch,
492
- cliArgs: args,
493
- binary: streamCliConfig?.binary,
494
- input: process.stdin.isTTY ? void 0 : process.stdin
495
- }));
496
- }
497
452
  if (config.useRust) {
498
453
  let rustBinary;
499
454
  try {
@@ -509,14 +464,14 @@ if (config.useRust) {
509
464
  process.exit(1);
510
465
  }
511
466
  if (rustBinary) {
512
- const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-B-eB4iuK.js");
467
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-BMbqMThf.js");
513
468
  const rustArgs = buildRustArgs(process.argv, config.cli, SUPPORTED_CLIS);
514
469
  if (config.verbose) {
515
470
  console.log(`[rust] Using binary: ${rustBinary}`);
516
471
  console.log(`[rust] Args: ${rustArgs.join(" ")}`);
517
472
  }
518
473
  const attach = config.attach || process.env.AGENT_YES_ATTACH === "1";
519
- const { shouldForkNested, buildSpawnTutorial, waitForRegistration, confirmAgentStarted, predictedLogPath } = await import("./forkNested-NWzwReQd.js");
474
+ const { shouldForkNested, buildSpawnTutorial, waitForRegistration, confirmAgentStarted, predictedLogPath } = await import("./forkNested-DHuYbpaf.js");
520
475
  if (shouldForkNested({
521
476
  isTTY: Boolean(process.stdout.isTTY),
522
477
  ayPid: process.env.AGENT_YES_PID,
@@ -584,7 +539,7 @@ if (config.showVersion) {
584
539
  process.exit(0);
585
540
  }
586
541
  if (config.appendPrompt) {
587
- const { PidStore } = await import("./pidStore-BRU1Q0uN.js");
542
+ const { PidStore } = await import("./pidStore-B89BOF_T.js");
588
543
  const ipcPath = await PidStore.findActiveFifo(process.cwd());
589
544
  if (!ipcPath) {
590
545
  console.error("No active agent with IPC found in current directory.");
@@ -42,4 +42,4 @@ async function cmdDsh(rest, spawn = defaultSpawn) {
42
42
 
43
43
  //#endregion
44
44
  export { cmdDsh };
45
- //# sourceMappingURL=cmdDsh-Buh6yx_Z.js.map
45
+ //# sourceMappingURL=cmdDsh-DZ8bLsH7.js.map
@@ -1,4 +1,4 @@
1
- import { o as pidOwnershipVerdict } from "./senderAncestry-DAO9fNCT.js";
1
+ import { o as pidOwnershipVerdict } from "./senderAncestry-CVHeKk1Y.js";
2
2
  import yargs from "yargs";
3
3
 
4
4
  //#region ts/cmdKill.ts
@@ -54,7 +54,7 @@ async function cmdKill(rest) {
54
54
  return 1;
55
55
  }
56
56
  const pid = Number(sel);
57
- const { readGlobalPids, updateGlobalPidStatus } = await import("./globalPidIndex-B5c_g_yJ.js");
57
+ const { readGlobalPids, updateGlobalPidStatus } = await import("./globalPidIndex-DmDCB_X7.js");
58
58
  const matches = (await readGlobalPids()).filter((r) => r.pid === pid);
59
59
  if (matches.length !== 1) {
60
60
  process.stderr.write(matches.length === 0 ? `ay kill: no registered agent has pid ${pid} (see: ay ls --all)\n` : `ay kill: ${matches.length} registry rows claim pid ${pid} — refusing an ambiguous kill\n`);
@@ -65,7 +65,7 @@ async function cmdKill(rest) {
65
65
  process.stderr.write(`ay kill: pid ${pid} is registered as exited — refusing: the number may belong to another process by now\n`);
66
66
  return 1;
67
67
  }
68
- const { ancestorPids, pidOwnershipVerdict, readAncestryTable } = await import("./senderAncestry-C-hBTX_v.js");
68
+ const { ancestorPids, pidOwnershipVerdict, readAncestryTable } = await import("./senderAncestry-KhAUPCQs.js");
69
69
  const table = await readAncestryTable();
70
70
  const selfPgid = await ownPgid();
71
71
  if (!table || !selfPgid) {
@@ -76,7 +76,7 @@ async function cmdKill(rest) {
76
76
  process.stderr.write(`ay kill: pid ${pid} is alive but is NOT the agent that registered it (the number was reused) — refusing. Retire the stale row with: ay stop ${pid}\n`);
77
77
  return 1;
78
78
  }
79
- const { forceKill, forceKillTargets } = await import("./forceKill-BqPcVAsI.js");
79
+ const { forceKill, forceKillTargets } = await import("./forceKill-BDqxx4uQ.js");
80
80
  const targets = await forceKillTargets(record);
81
81
  const reusedWrapper = reusedWrapperPid(record, table);
82
82
  if (reusedWrapper) {
@@ -113,4 +113,4 @@ async function cmdKill(rest) {
113
113
 
114
114
  //#endregion
115
115
  export { cmdKill };
116
- //# sourceMappingURL=cmdKill-CxvLEa4Z.js.map
116
+ //# sourceMappingURL=cmdKill-DUyZ7Dch.js.map
@@ -1,17 +1,17 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import "./JsonlStore-fEAVg5aY.js";
3
- import "./globalPidIndex-D9fxq9Ad.js";
4
- import "./pidStore-DXEbQrh-.js";
5
- import "./messageLog-BrXNxItW.js";
6
- import "./e2e-C34A1uYu.js";
7
- import "./configShared-B9gyn11R.js";
8
- import { Dt as buildAgentForest, G as listRecords, Ot as flattenForest, y as deriveLiveState } from "./subcommands-BFCTWqVS.js";
9
- import "./webrtcLink-Cknj61A1.js";
10
- import "./remotes-Mcv47Ik8.js";
11
- import "./roomReplyAlias-DcBAdDfr.js";
12
- import "./notifyStore--pUbdH-t.js";
13
- import "./senderAncestry-DAO9fNCT.js";
14
- import { i as systemStats, n as sampleTrees, r as snapshotProcs, t as humanBytes } from "./procStats-BvbPF1a2.js";
2
+ import "./JsonlStore-CB_0sfdT.js";
3
+ import "./globalPidIndex-C6p_AY4D.js";
4
+ import "./pidStore-DUXifdBr.js";
5
+ import "./messageLog-CEqe4Hk1.js";
6
+ import "./e2e-BdLf8DvY.js";
7
+ import "./configShared-De4bR5hH.js";
8
+ import { Dt as buildAgentForest, G as listRecords, Ot as flattenForest, y as deriveLiveState } from "./subcommands-Bdd5bHsZ.js";
9
+ import "./webrtcLink-DcvacEci.js";
10
+ import "./remotes-CAZymHd7.js";
11
+ import "./roomReplyAlias-B1EJft2d.js";
12
+ import "./notifyStore-DIfkfKB2.js";
13
+ import "./senderAncestry-CVHeKk1Y.js";
14
+ import { i as systemStats, n as sampleTrees, r as snapshotProcs, t as humanBytes } from "./procStats-DwTxj3rs.js";
15
15
  import { readFileSync } from "node:fs";
16
16
  import path from "node:path";
17
17
  import yargs from "yargs";
@@ -332,4 +332,4 @@ function readPpidSync(pid) {
332
332
 
333
333
  //#endregion
334
334
  export { cmdPs };
335
- //# sourceMappingURL=cmdPs-Kfxk6_aD.js.map
335
+ //# sourceMappingURL=cmdPs-CBoOu5tG.js.map
@@ -69,4 +69,4 @@ async function loadSharedCliDefaults(fromUrl = import.meta.url) {
69
69
 
70
70
  //#endregion
71
71
  export { normalizeAgentYesConfig as n, loadSharedCliDefaults as t };
72
- //# sourceMappingURL=configShared-B9gyn11R.js.map
72
+ //# sourceMappingURL=configShared-De4bR5hH.js.map
@@ -1,5 +1,5 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import { o as readGlobalPids } from "./globalPidIndex-D9fxq9Ad.js";
2
+ import { o as readGlobalPids } from "./globalPidIndex-C6p_AY4D.js";
3
3
  import path from "path";
4
4
 
5
5
  //#region ts/cwdConflictWarn.ts
@@ -77,4 +77,4 @@ async function warnIfCwdOccupied(rawArgv) {
77
77
 
78
78
  //#endregion
79
79
  export { warnIfCwdOccupied };
80
- //# sourceMappingURL=cwdConflictWarn-Bo-MXcHc.js.map
80
+ //# sourceMappingURL=cwdConflictWarn-ml6Qs3Qu.js.map
@@ -85,4 +85,4 @@ function detectCwdPassthrough(argv) {
85
85
 
86
86
  //#endregion
87
87
  export { SUPPRESS_CWD_WARN_ENV, detectCwdPassthrough };
88
- //# sourceMappingURL=cwdPassthroughHint-yMqzDqR-.js.map
88
+ //# sourceMappingURL=cwdPassthroughHint-CzWh0hrw.js.map
@@ -172,4 +172,4 @@ function randomHex(n) {
172
172
 
173
173
  //#endregion
174
174
  export { computeTranscriptHash as a, open as c, randomHex as d, seal as f, MAX_CHUNK as i, packEnvelope as l, validateS as m, FLAG_CONFIRM as n, deriveAuthToken as o, unpackEnvelope as p, MARKER as r, deriveDirKeys as s, CONFIRM_TIMEOUT_MS as t, parseSecret as u };
175
- //# sourceMappingURL=e2e-C34A1uYu.js.map
175
+ //# sourceMappingURL=e2e-BdLf8DvY.js.map
@@ -549,4 +549,4 @@ async function cmdExpose(args) {
549
549
 
550
550
  //#endregion
551
551
  export { cmdExpose, ensureExposure, listExposures, stopExposure };
552
- //# sourceMappingURL=expose-DUTNNQ7K.js.map
552
+ //# sourceMappingURL=expose-Bhsn5yUz.js.map