agent-yes 1.307.0 → 1.308.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 (123) hide show
  1. package/README.md +53 -0
  2. package/dist/{JsonlStore-CB_0sfdT.js → JsonlStore-fEAVg5aY.js} +1 -1
  3. package/dist/SUPPORTED_CLIS-Ce_7n97m.js +12 -0
  4. package/dist/{SUPPORTED_CLIS-qL9_2DZ8.js → SUPPORTED_CLIS-DFpjQ2Ke.js} +2 -2
  5. package/dist/agent-yes.config-ByXwI-t3.js +47 -0
  6. package/dist/agentPermissions-CgM1bl6m.js +62 -0
  7. package/dist/{agentShare-C2oXrGvf.js → agentShare-Dz_T6b5v.js} +14 -14
  8. package/dist/{askCli-D4czi-_j.js → askCli-BjQOqpvv.js} +6 -6
  9. package/dist/{browser-BW90gl2w.js → browser-BzjhscIR.js} +5 -5
  10. package/dist/{browser-BAFPmEvN.js → browser-CU933aYj.js} +1 -1
  11. package/dist/{callback-ie8yyKma.js → callback-CAWItwdn.js} +5 -5
  12. package/dist/callback-oTjpUn2G.js +17 -0
  13. package/dist/{callbackCore-Deve5pv3.js → callbackCore-DoPrLOFY.js} +1 -1
  14. package/dist/{callbackCore-BZ_10zyc.js → callbackCore-TE7HjQm9.js} +1 -1
  15. package/dist/{channels-jIa5fNjY.js → channels-BGSdyeQs.js} +2 -2
  16. package/dist/{channels-Y36S0ccW.js → channels-bw-b9z0l.js} +6 -6
  17. package/dist/channels.js +5 -5
  18. package/dist/claude-DLN2dvVD.js +180 -0
  19. package/dist/cli.js +60 -15
  20. package/dist/{cmdDsh-DZ8bLsH7.js → cmdDsh-h7V2ThH5.js} +1 -1
  21. package/dist/{cmdKill-DUyZ7Dch.js → cmdKill-b5I7H8wx.js} +5 -5
  22. package/dist/{cmdPs-CfR5qCiO.js → cmdPs-RZU-tTd4.js} +14 -14
  23. package/dist/{agent-yes.config-CRfpdp3A.js → configLoader-CLSX_LND.js} +4 -42
  24. package/dist/configLoader-D9O9zwKR.js +5 -0
  25. package/dist/{configShared-De4bR5hH.js → configShared-B9gyn11R.js} +1 -1
  26. package/dist/{cwdConflictWarn-ml6Qs3Qu.js → cwdConflictWarn-BQ8vH915.js} +2 -2
  27. package/dist/{cwdPassthroughHint-CzWh0hrw.js → cwdPassthroughHint-h4dQQCLO.js} +1 -1
  28. package/dist/detach-B_n7xRl2.js +58 -0
  29. package/dist/{e2e-BdLf8DvY.js → e2e-C34A1uYu.js} +1 -1
  30. package/dist/{expose-Bhsn5yUz.js → expose-BKxcKYt-.js} +1 -1
  31. package/dist/{forceKill-BDqxx4uQ.js → forceKill-BAqKNR_f.js} +2 -2
  32. package/dist/{forkNested-DHuYbpaf.js → forkNested-CVSWfZT6.js} +3 -3
  33. package/dist/{globalPidIndex-DmDCB_X7.js → globalPidIndex-B5c_g_yJ.js} +1 -1
  34. package/dist/{globalPidIndex-C6p_AY4D.js → globalPidIndex-D9fxq9Ad.js} +10 -2
  35. package/dist/{hist-DY16wm7g.js → hist-OSUKO8sb.js} +1 -1
  36. package/dist/{html2canvas-pro.esm-Dp-JZojz.js → html2canvas-pro.esm-BW1GOcB-.js} +1 -1
  37. package/dist/{identity-D3hr59eC.js → identity-BVHHqtvP.js} +1 -1
  38. package/dist/{identity-puvd7hVQ.js → identity-CtwRW1nD.js} +1 -1
  39. package/dist/index.js +8 -8
  40. package/dist/{initMsg-GPU52N-j.js → initMsg-C1tgHfYP.js} +1 -1
  41. package/dist/{initMsg-BEVDWYnv.js → initMsg-CkrZjsX-.js} +1 -1
  42. package/dist/launch-BlKMU2ZA.js +74 -0
  43. package/dist/launch-CMran68t.js +3 -0
  44. package/dist/{messageLog-CEqe4Hk1.js → messageLog-BrXNxItW.js} +1 -1
  45. package/dist/{needsInput-hRiWFjGy.js → needsInput-B3aPVSqs.js} +1 -1
  46. package/dist/{nodeRuntime-DGMQRTGT.js → nodeRuntime-B1nCglgu.js} +1 -1
  47. package/dist/{notifyDaemon-DcAbvP43.js → notifyDaemon-Dh4cLfBU.js} +13 -13
  48. package/dist/{notifyStore-C4pH_-zJ.js → notifyStore-B7DLD83Q.js} +1 -1
  49. package/dist/{notifyStore-DIfkfKB2.js → notifyStore-CNdHlJyW.js} +1 -1
  50. package/dist/{openBrowser-CQAOIrD6.js → openBrowser-CwhGNBhv.js} +1 -1
  51. package/dist/oxmgrService-C0nYf9CD.js +3 -0
  52. package/dist/{oxmgrService-DlYHmqyI.js → oxmgrService-CBlFJ_-C.js} +2 -2
  53. package/dist/{parentLink-UiM6WoKm.js → parentLink-C2gocHk9.js} +2 -2
  54. package/dist/{parentLink-B7_kEM1v.js → parentLink-EVI_0cLu.js} +2 -2
  55. package/dist/{parentPingLoop-BYT4XgfN.js → parentPingLoop-B9QDw20l.js} +7 -7
  56. package/dist/peer-BSZQbKB7.js +4 -0
  57. package/dist/{peer-L-prov9t.js → peer-DI_xxui8.js} +3 -3
  58. package/dist/pidStore-BRU1Q0uN.js +6 -0
  59. package/dist/{pidStore-DUXifdBr.js → pidStore-DXEbQrh-.js} +3 -3
  60. package/dist/{procStats-DwTxj3rs.js → procStats-CkzFrwx7.js} +1 -1
  61. package/dist/{reaper-DsZhX5FH.js → reaper-A_eEjMxS.js} +1 -1
  62. package/dist/{reaper-C2cuougX.js → reaper-BTfq0-5j.js} +1 -1
  63. package/dist/{remotes-CAZymHd7.js → remotes-B0vw-dsd.js} +3 -3
  64. package/dist/{remotes-W6NhMDfP.js → remotes-TKXkCV76.js} +3 -3
  65. package/dist/roomReplyAlias-0xfUQlda.js +6 -0
  66. package/dist/{roomReplyAlias-B1EJft2d.js → roomReplyAlias-CkfEtW2v.js} +3 -3
  67. package/dist/runner-B1vocYOj.js +371 -0
  68. package/dist/{runningLock-DMznYh45.js → runningLock-DaVbNt4d.js} +1 -1
  69. package/dist/{rustBinary-BjsZbiv5.js → rustBinary-B603fLUa.js} +2 -2
  70. package/dist/{rustBinary-CXQGcJEm.js → rustBinary-CTEd2FnZ.js} +2 -2
  71. package/dist/{schedule-zacFV53l.js → schedule-DncJhp1d.js} +15 -15
  72. package/dist/{schedules-BvwTGXU2.js → schedules-D6hZ7VpJ.js} +1 -1
  73. package/dist/{schedulesCli-Donh0LS2.js → schedulesCli-DSBZwREE.js} +3 -3
  74. package/dist/{senderAncestry-KhAUPCQs.js → senderAncestry-Brb-cYni.js} +1 -1
  75. package/dist/{senderAncestry-CVHeKk1Y.js → senderAncestry-DqbNIecg.js} +1 -1
  76. package/dist/{serve-C38WYmzz.js → serve-BJEDb5Az.js} +52 -51
  77. package/dist/{serveRust-76_apYb8.js → serveRust-B50JWdfK.js} +3 -3
  78. package/dist/{setup-CeAisuhv.js → setup-CxQJtnmp.js} +4 -4
  79. package/dist/{share-_TPYAGWC.js → share-CPtJgXt2.js} +2 -2
  80. package/dist/{share-CbFetL5H.js → share-zVt71n2g.js} +2 -2
  81. package/dist/{shareCmd-foO5MbJp.js → shareCmd-96G551OE.js} +10 -10
  82. package/dist/{spawnGate-nUrmf4dd.js → spawnGate-BkkT7GF2.js} +3 -3
  83. package/dist/spawnGate-Ky21E51l.js +5 -0
  84. package/dist/{store-xmBpqPUq.js → store-MjCqeJDI.js} +1 -1
  85. package/dist/{subcommands-DE31Tfv_.js → subcommands-BJezWaHi.js} +455 -124
  86. package/dist/{subcommands-DLQEC24N.js → subcommands-DbdxjvFI.js} +12 -12
  87. package/dist/{systemPathLink-DI9WdoqQ.js → systemPathLink-BQE53HED.js} +1 -1
  88. package/dist/{terminal-CBbp6PfB.js → terminal-CLjXOXI7.js} +2 -2
  89. package/dist/terminal.js +1 -1
  90. package/dist/{todoAutomation-CKlrxuZv.js → todoAutomation-KgmnTAsD.js} +2 -2
  91. package/dist/{todoCli-BllShFnc.js → todoCli-ammnk6Wv.js} +6 -6
  92. package/dist/{todoIdentity-DeDp7LKl.js → todoIdentity-DzjduXlF.js} +2 -2
  93. package/dist/{todoStore-msRCEUi1.js → todoStore-Dre3Yhwt.js} +2 -2
  94. package/dist/{tray-RIjHSw7z.js → tray-C4sCiT8B.js} +2 -2
  95. package/dist/{trayApp-C9SZOPpw.js → trayApp-CZwRPF62.js} +2 -2
  96. package/dist/trayApp-UWX_Bfay.js +5 -0
  97. package/dist/{ts-CO1H1P2R.js → ts-J77_edCv.js} +20 -79
  98. package/dist/{versionChecker-CG--tQsV.js → versionChecker-DcrK7m4z.js} +2 -2
  99. package/dist/{webrtcLink-WxS1nTIs.js → webrtcLink-CGCXjlQJ.js} +2 -2
  100. package/dist/{webrtcLink-DcvacEci.js → webrtcLink-D4pMhyvY.js} +2 -2
  101. package/dist/{webrtcRemote-B4pwES4i.js → webrtcRemote-DdCC3aZC.js} +3 -3
  102. package/dist/{widget-CI7BtN94.js → widget-DU-iJOPF.js} +3 -3
  103. package/dist/widget.js +1 -1
  104. package/dist/widgets.js +5 -5
  105. package/dist/{workspaceConfig-DjEklzxf.js → workspaceConfig-BmK6COFt.js} +1 -1
  106. package/dist/{ws-DLJSBws6.js → ws-AZ6QSr2M.js} +3 -3
  107. package/dist/ws-CNd9TMOE.js +16 -0
  108. package/package.json +1 -1
  109. package/ts/cli.ts +40 -1
  110. package/ts/globalPidIndex.ts +19 -2
  111. package/ts/parseCliArgs.spec.ts +10 -0
  112. package/ts/parseCliArgs.ts +22 -0
  113. package/ts/subcommands.spec.ts +2 -2
  114. package/ts/subcommands.ts +186 -13
  115. package/dist/SUPPORTED_CLIS-BOGmmIrH.js +0 -12
  116. package/dist/callback-CNL-PGwh.js +0 -17
  117. package/dist/oxmgrService-o9L3I6FX.js +0 -3
  118. package/dist/peer-3F7owPWt.js +0 -4
  119. package/dist/pidStore-B89BOF_T.js +0 -6
  120. package/dist/roomReplyAlias-BeGVkAlc.js +0 -6
  121. package/dist/spawnGate-DhPgMs0Y.js +0 -5
  122. package/dist/trayApp-BSOmax2E.js +0 -5
  123. package/dist/ws-W5nWHjDt.js +0 -16
@@ -1,4 +1,4 @@
1
- import { i as getInstalledPackage, n as compareVersions } from "./versionChecker-CG--tQsV.js";
1
+ import { i as getInstalledPackage, n as compareVersions } from "./versionChecker-DcrK7m4z.js";
2
2
  import { execFileSync } from "child_process";
3
3
  import { accessSync, chmodSync, constants, existsSync, mkdirSync, readdirSync, rmSync, statSync, unlinkSync } from "fs";
4
4
  import { chmod, copyFile } from "fs/promises";
@@ -480,4 +480,4 @@ async function getRustBinary(options = {}) {
480
480
 
481
481
  //#endregion
482
482
  export { ensureExecutable as a, findRustBinary as c, gcOldBinaryDirs as d, getBinDir as f, hasValidMacSignature as g, getRustBinary as h, ensureAyrsBinary as i, findSpawnHiddenLauncher as l, getDownloadUrl as m, devBuildInfo as n, extractZipWindows as o, getBinaryName as p, downloadBinary as r, findAyrsBinary as s, chmodExtractedBinaries as t, findTrayLauncher as u };
483
- //# sourceMappingURL=rustBinary-CXQGcJEm.js.map
483
+ //# sourceMappingURL=rustBinary-CTEd2FnZ.js.map
@@ -1,17 +1,17 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import "./versionChecker-CG--tQsV.js";
3
- import "./ts-CO1H1P2R.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-qL9_2DZ8.js";
11
- import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-DGMQRTGT.js";
12
- import { t as ensureBootAutostart } from "./oxmgrService-DlYHmqyI.js";
13
- import { _ as storeFile, f as parseStore } from "./schedules-BvwTGXU2.js";
14
- import { f as resolveSpawnCwd } from "./workspaceConfig-DjEklzxf.js";
2
+ import "./versionChecker-DcrK7m4z.js";
3
+ import "./ts-J77_edCv.js";
4
+ import "./todoAutomation-KgmnTAsD.js";
5
+ import "./JsonlStore-fEAVg5aY.js";
6
+ import "./globalPidIndex-D9fxq9Ad.js";
7
+ import "./pidStore-DXEbQrh-.js";
8
+ import "./messageLog-BrXNxItW.js";
9
+ import "./todoStore-Dre3Yhwt.js";
10
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DFpjQ2Ke.js";
11
+ import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-B1nCglgu.js";
12
+ import { t as ensureBootAutostart } from "./oxmgrService-CBlFJ_-C.js";
13
+ import { _ as storeFile, f as parseStore } from "./schedules-D6hZ7VpJ.js";
14
+ import { f as resolveSpawnCwd } from "./workspaceConfig-BmK6COFt.js";
15
15
  import { createHash } from "node:crypto";
16
16
  import { execFile } from "node:child_process";
17
17
  import { readFile } from "node:fs/promises";
@@ -103,7 +103,7 @@ async function cmdSchedule(rest) {
103
103
  process.stdout.write(`scheduled agents are named '${SCHED_PREFIX}*':\n`);
104
104
  const code = (await run([oxmgrBin, "list"])).code;
105
105
  process.stdout.write(`\nay cron reminders (fired by the scheduler daemon):\n`);
106
- await (await import("./schedulesCli-Donh0LS2.js")).cmdCron(["ls"]);
106
+ await (await import("./schedulesCli-DSBZwREE.js")).cmdCron(["ls"]);
107
107
  return code;
108
108
  }
109
109
  if (sub === "remove" || sub === "rm" || sub === "delete") {
@@ -166,4 +166,4 @@ async function cmdSchedule(rest) {
166
166
 
167
167
  //#endregion
168
168
  export { cmdSchedule, scheduleSummary };
169
- //# sourceMappingURL=schedule-zacFV53l.js.map
169
+ //# sourceMappingURL=schedule-DncJhp1d.js.map
@@ -444,4 +444,4 @@ function legacyRows(oxmgrList) {
444
444
 
445
445
  //#endregion
446
446
  export { storeFile as _, launchdDaemonPlist as a, wakeDelay as b, nextCronId as c, parseState as d, parseStore as f, stateFile as g, resolveTarget as h, fmtTime as i, nextRuns as l, renderMessage as m, DAEMON_NAME as n, legacyRows as o, pickAutostart as p, SCHEDULES_HELP as r, logFile as s, CRON_HELP as t, parseCronAdd as u, systemdDaemonUnit as v, windowsTaskArgs as x, tick as y };
447
- //# sourceMappingURL=schedules-BvwTGXU2.js.map
447
+ //# sourceMappingURL=schedules-D6hZ7VpJ.js.map
@@ -1,4 +1,4 @@
1
- import { _ as storeFile, a as launchdDaemonPlist, b as wakeDelay, c as nextCronId, d as parseState, f as parseStore, g as stateFile, h as resolveTarget, i as fmtTime, l as nextRuns, m as renderMessage, n as DAEMON_NAME, o as legacyRows, p as pickAutostart, r as SCHEDULES_HELP, s as logFile, t as CRON_HELP, u as parseCronAdd, v as systemdDaemonUnit, x as windowsTaskArgs, y as tick } from "./schedules-BvwTGXU2.js";
1
+ import { _ as storeFile, a as launchdDaemonPlist, b as wakeDelay, c as nextCronId, d as parseState, f as parseStore, g as stateFile, h as resolveTarget, i as fmtTime, l as nextRuns, m as renderMessage, n as DAEMON_NAME, o as legacyRows, p as pickAutostart, r as SCHEDULES_HELP, s as logFile, t as CRON_HELP, u as parseCronAdd, v as systemdDaemonUnit, x as windowsTaskArgs, y as tick } from "./schedules-D6hZ7VpJ.js";
2
2
  import { spawn, spawnSync } from "child_process";
3
3
  import { appendFileSync, existsSync, mkdirSync, openSync, readFileSync, renameSync, watch, writeFileSync } from "fs";
4
4
  import { homedir } from "os";
@@ -264,7 +264,7 @@ async function ensureDaemon(verbose) {
264
264
  "always"
265
265
  ]);
266
266
  if (ok) {
267
- const { ensureBootAutostart } = await import("./oxmgrService-o9L3I6FX.js");
267
+ const { ensureBootAutostart } = await import("./oxmgrService-C0nYf9CD.js");
268
268
  await ensureBootAutostart(which("oxmgr")).catch(() => false);
269
269
  }
270
270
  } else if (kind === "systemd") {
@@ -340,4 +340,4 @@ async function cmdSchedules(argv) {
340
340
 
341
341
  //#endregion
342
342
  export { cmdCron, cmdSchedules };
343
- //# sourceMappingURL=schedulesCli-Donh0LS2.js.map
343
+ //# sourceMappingURL=schedulesCli-DSBZwREE.js.map
@@ -1,3 +1,3 @@
1
- import { a as parseProcessTable, i as parseEtime, n as ancestorPids, o as pidOwnershipVerdict, r as findAgentAncestor, s as readAncestryTable, t as ageMatchesRegistration } from "./senderAncestry-CVHeKk1Y.js";
1
+ import { a as parseProcessTable, i as parseEtime, n as ancestorPids, o as pidOwnershipVerdict, r as findAgentAncestor, s as readAncestryTable, t as ageMatchesRegistration } from "./senderAncestry-DqbNIecg.js";
2
2
 
3
3
  export { ancestorPids, pidOwnershipVerdict, readAncestryTable };
@@ -170,4 +170,4 @@ async function readAncestryTable(read = readProcessTable) {
170
170
 
171
171
  //#endregion
172
172
  export { parseProcessTable as a, parseEtime as i, ancestorPids as n, pidOwnershipVerdict as o, findAgentAncestor as r, readAncestryTable as s, ageMatchesRegistration as t };
173
- //# sourceMappingURL=senderAncestry-CVHeKk1Y.js.map
173
+ //# sourceMappingURL=senderAncestry-DqbNIecg.js.map
@@ -1,31 +1,32 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import { i as getInstalledPackage } from "./versionChecker-CG--tQsV.js";
3
- import { l as findSpawnHiddenLauncher } from "./rustBinary-CXQGcJEm.js";
4
- import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-CO1H1P2R.js";
2
+ import { i as getInstalledPackage } from "./versionChecker-DcrK7m4z.js";
3
+ import { l as findSpawnHiddenLauncher } from "./rustBinary-CTEd2FnZ.js";
4
+ import { i as answerAsk, o as listAsks } from "./ts-J77_edCv.js";
5
5
  import { t as agentYesHome$1 } from "./agentYesHome-JmJC28YX.js";
6
- import { u as removeControlCharacters } from "./todoAutomation-CKlrxuZv.js";
7
- import "./JsonlStore-CB_0sfdT.js";
8
- import { c as updateGlobalPidStatus } from "./globalPidIndex-C6p_AY4D.js";
9
- import "./pidStore-DUXifdBr.js";
10
- import { c as isTerminalReply, r as recordInbox, s as isRedundantViewerReply } from "./messageLog-CEqe4Hk1.js";
11
- import "./todoStore-msRCEUi1.js";
12
- import "./e2e-BdLf8DvY.js";
13
- import "./configShared-De4bR5hH.js";
14
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-qL9_2DZ8.js";
15
- import { $ as readNotes, Ct as withIpcLock, D as extractNeedsInput, Et as TYPING_BADGE, G as listRecords, H as isUserTyping, L as isSlashCommand, O as extractTaskCounts, Q as readLogForRender, St as resolveWorkDir, T as extractBadges, Tt as shouldFramePaste, at as renderRawLogLines, b as deriveLiveStatus, et as readPtysize, g as controlCodeFromName, it as renderRawLog, nt as recentReadEdges, ot as resolveOne, p as cliDefaults, pt as snapshotStatus, rt as renderLogTailLines, tt as recentMessageEdges, wt as framePaste, xt as writeToIpc } from "./subcommands-DE31Tfv_.js";
16
- import { i as isWebrtcSpec, o as toWebrtcUrl } from "./webrtcLink-DcvacEci.js";
17
- import "./remotes-CAZymHd7.js";
18
- import "./roomReplyAlias-B1EJft2d.js";
19
- import { c as isTransientLockMkdirError } from "./notifyStore-DIfkfKB2.js";
20
- import "./senderAncestry-CVHeKk1Y.js";
21
- import { i as frameVisitorMessage, s as verifyCapability, t as MAX_CALLBACK_MSG_BYTES } from "./callbackCore-Deve5pv3.js";
22
- import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-ie8yyKma.js";
23
- import { n as sampleTrees } from "./procStats-DwTxj3rs.js";
24
- import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-DGMQRTGT.js";
25
- import { a as getProvisionRoot, d as isProvisionAllowed, f as resolveSpawnCwd, i as getProvisionHook, l as hasProvisionHook, o as getSpawnHook, t as allowsSkipPermissions, u as hasSpawnHook } from "./workspaceConfig-DjEklzxf.js";
26
- import { i as importProvisionModule } from "./ws-DLJSBws6.js";
27
- import { r as spawnRejectionReason } from "./spawnGate-nUrmf4dd.js";
28
- import { i as launchTray } from "./trayApp-C9SZOPpw.js";
6
+ import { u as removeControlCharacters } from "./todoAutomation-KgmnTAsD.js";
7
+ import { n as permissionBadge, r as CLAUDE_SESSION_PIN_ENV } from "./agentPermissions-CgM1bl6m.js";
8
+ import "./JsonlStore-fEAVg5aY.js";
9
+ import { c as updateGlobalPidStatus } from "./globalPidIndex-D9fxq9Ad.js";
10
+ import "./pidStore-DXEbQrh-.js";
11
+ import { c as isTerminalReply, r as recordInbox, s as isRedundantViewerReply } from "./messageLog-BrXNxItW.js";
12
+ import "./todoStore-Dre3Yhwt.js";
13
+ import "./e2e-C34A1uYu.js";
14
+ import "./configShared-B9gyn11R.js";
15
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DFpjQ2Ke.js";
16
+ import { $ as readNotes, Ct as withIpcLock, D as extractNeedsInput, Et as TYPING_BADGE, G as listRecords, H as isUserTyping, L as isSlashCommand, O as extractTaskCounts, Q as readLogForRender, St as resolveWorkDir, T as extractBadges, Tt as shouldFramePaste, at as renderRawLogLines, b as deriveLiveStatus, et as readPtysize, g as controlCodeFromName, it as renderRawLog, nt as recentReadEdges, ot as resolveOne, p as cliDefaults, pt as snapshotStatus, rt as renderLogTailLines, tt as recentMessageEdges, wt as framePaste, xt as writeToIpc } from "./subcommands-BJezWaHi.js";
17
+ import { i as isWebrtcSpec, o as toWebrtcUrl } from "./webrtcLink-D4pMhyvY.js";
18
+ import "./remotes-B0vw-dsd.js";
19
+ import "./roomReplyAlias-CkfEtW2v.js";
20
+ import { c as isTransientLockMkdirError } from "./notifyStore-CNdHlJyW.js";
21
+ import "./senderAncestry-DqbNIecg.js";
22
+ import { i as frameVisitorMessage, s as verifyCapability, t as MAX_CALLBACK_MSG_BYTES } from "./callbackCore-DoPrLOFY.js";
23
+ import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-CAWItwdn.js";
24
+ import { n as sampleTrees } from "./procStats-CkzFrwx7.js";
25
+ import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-B1nCglgu.js";
26
+ import { a as getProvisionRoot, d as isProvisionAllowed, f as resolveSpawnCwd, i as getProvisionHook, l as hasProvisionHook, o as getSpawnHook, t as allowsSkipPermissions, u as hasSpawnHook } from "./workspaceConfig-BmK6COFt.js";
27
+ import { i as importProvisionModule } from "./ws-AZ6QSr2M.js";
28
+ import { r as spawnRejectionReason } from "./spawnGate-BkkT7GF2.js";
29
+ import { i as launchTray } from "./trayApp-CZwRPF62.js";
29
30
  import { existsSync, realpathSync, renameSync, watch, writeFileSync } from "node:fs";
30
31
  import yargs from "yargs";
31
32
  import { appendFile, mkdir, open, readFile, readdir, rename, rm, stat, unlink, writeFile } from "fs/promises";
@@ -1346,8 +1347,8 @@ async function warnStrayServeProcesses() {
1346
1347
  process.stderr.write(`warning: ${stray.length} unmanaged ay serve process(es) running (pid ${pids.join(", ")}) — they will fight the daemon for the WebRTC room; stop them: kill ${pids.join(" ")}\n`);
1347
1348
  }
1348
1349
  async function daemonShareRuntime(args) {
1349
- const { daemonShareRuntime: decide } = await import("./serveRust-76_apYb8.js");
1350
- const { findAyrsBinary } = await import("./rustBinary-BjsZbiv5.js");
1350
+ const { daemonShareRuntime: decide } = await import("./serveRust-B50JWdfK.js");
1351
+ const { findAyrsBinary } = await import("./rustBinary-B603fLUa.js");
1351
1352
  return decide(args, () => !!findAyrsBinary());
1352
1353
  }
1353
1354
  function explicitWebrtcUrl(args) {
@@ -1485,7 +1486,7 @@ async function cmdServeDaemon(sub, args) {
1485
1486
  let shareLinkMinted = false;
1486
1487
  let roomFile = ".share-room";
1487
1488
  if (webrtcDaemon) try {
1488
- const { loadOrCreateShareRoom, shareLinkFromRoomUrl, shareRoomFileName } = await import("./share-_TPYAGWC.js");
1489
+ const { loadOrCreateShareRoom, shareLinkFromRoomUrl, shareRoomFileName } = await import("./share-CPtJgXt2.js");
1489
1490
  const runtime = await daemonShareRuntime(effArgs);
1490
1491
  roomFile = shareRoomFileName(runtime);
1491
1492
  const explicit = explicitWebrtcUrl(effArgs);
@@ -1496,7 +1497,7 @@ async function cmdServeDaemon(sub, args) {
1496
1497
  if (!webrtcDaemon) return;
1497
1498
  if (shareLink) {
1498
1499
  process.stdout.write(`\nshared over WebRTC — open this link (the token is eaten from the URL on open):\n ${shareLink}\n` + (shareLinkMinted ? ` (persistent room — same link across restarts; delete ~/.agent-yes/${roomFile} to rotate)\n` : ``));
1499
- const { offerOpenInBrowser } = await import("./openBrowser-CQAOIrD6.js");
1500
+ const { offerOpenInBrowser } = await import("./openBrowser-CwhGNBhv.js");
1500
1501
  await offerOpenInBrowser(shareLink);
1501
1502
  } else process.stdout.write(`
1502
1503
  the WebRTC share link carries a secret, so the daemon does NOT log it —
@@ -1645,7 +1646,7 @@ async function cmdServeStatus(args) {
1645
1646
  const token = await loadTokenReadOnly();
1646
1647
  const daemonArgs = mgr ? await readDaemonServeArgs(mgr) : null;
1647
1648
  const installed = daemonArgs !== null;
1648
- const { daemonShareLink, foregroundAyrsShareLink } = await import("./shareCmd-foO5MbJp.js");
1649
+ const { daemonShareLink, foregroundAyrsShareLink } = await import("./shareCmd-96G551OE.js");
1649
1650
  const shareLink = (installed ? await daemonShareLink(daemonArgs) : await foregroundAyrsShareLink()) ?? await readShareLink();
1650
1651
  const running = installed ? await readDaemonRunning(mgr) : false;
1651
1652
  const a = daemonArgs ?? [];
@@ -1776,17 +1777,17 @@ Options:
1776
1777
  return 0;
1777
1778
  }
1778
1779
  {
1779
- const { planRustServe, SERVE_SUBCOMMANDS } = await import("./serveRust-76_apYb8.js");
1780
+ const { planRustServe, SERVE_SUBCOMMANDS } = await import("./serveRust-B50JWdfK.js");
1780
1781
  const plan = planRustServe(rest);
1781
1782
  if (plan.kind === "rust-only") {
1782
- const { ensureAyrsBinary } = await import("./rustBinary-BjsZbiv5.js");
1783
+ const { ensureAyrsBinary } = await import("./rustBinary-B603fLUa.js");
1783
1784
  const ayrs = await ensureAyrsBinary();
1784
1785
  if (ayrs) return runAyrsServe(ayrs, plan.argv);
1785
1786
  process.stderr.write(`ay serve: ${plan.feature} needs the Rust daemon (ayrs), which was not found (bun run build:rs, or reinstall)\n`);
1786
1787
  return 1;
1787
1788
  }
1788
1789
  if (plan.kind === "rust") {
1789
- const { ensureAyrsBinary } = await import("./rustBinary-BjsZbiv5.js");
1790
+ const { ensureAyrsBinary } = await import("./rustBinary-B603fLUa.js");
1790
1791
  const ayrs = await ensureAyrsBinary();
1791
1792
  if (ayrs) return runAyrsServe(ayrs, plan.argv);
1792
1793
  process.stderr.write("ay serve: ayrs binary not found — running the TypeScript server (bun run build:rs, or reinstall, to get the Rust daemon)\n");
@@ -2757,7 +2758,7 @@ Options:
2757
2758
  clis: SUPPORTED_CLIS
2758
2759
  });
2759
2760
  if (req.method === "GET" && p === "/api/schedule-summary") try {
2760
- const { scheduleSummary } = await import("./schedule-zacFV53l.js");
2761
+ const { scheduleSummary } = await import("./schedule-DncJhp1d.js");
2761
2762
  return Response.json(await scheduleSummary(), { headers: { "Cache-Control": "no-store" } });
2762
2763
  } catch {
2763
2764
  return new Response("Schedule unavailable", { status: 503 });
@@ -2784,7 +2785,7 @@ Options:
2784
2785
  }
2785
2786
  });
2786
2787
  if (req.method === "GET" && p === "/api/ws") {
2787
- const ws = await import("./ws-W5nWHjDt.js");
2788
+ const ws = await import("./ws-CNd9TMOE.js");
2788
2789
  try {
2789
2790
  await ws.loadProvision();
2790
2791
  } catch (e) {
@@ -2804,7 +2805,7 @@ Options:
2804
2805
  if (req.method === "GET" && p === "/api/ws/status") {
2805
2806
  const dirRaw = url.searchParams.get("path");
2806
2807
  if (!dirRaw) return new Response("missing ?path=<workspace dir>", { status: 400 });
2807
- const ws = await import("./ws-W5nWHjDt.js");
2808
+ const ws = await import("./ws-CNd9TMOE.js");
2808
2809
  let prov;
2809
2810
  try {
2810
2811
  prov = await ws.loadProvision();
@@ -2826,7 +2827,7 @@ Options:
2826
2827
  }
2827
2828
  }
2828
2829
  if (req.method === "GET" && p === "/api/ws/repos") {
2829
- const ws = await import("./ws-W5nWHjDt.js");
2830
+ const ws = await import("./ws-CNd9TMOE.js");
2830
2831
  try {
2831
2832
  await ws.loadProvision();
2832
2833
  } catch (e) {
@@ -2907,7 +2908,7 @@ Options:
2907
2908
  const m = /^([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+)$/.exec(repoParam);
2908
2909
  if (!m || m[1] === "." || m[1] === ".." || m[2] === "." || m[2] === "..") return new Response("missing/invalid ?repo=<owner>/<repo>", { status: 400 });
2909
2910
  const [, owner, repo] = m;
2910
- const ws = await import("./ws-W5nWHjDt.js");
2911
+ const ws = await import("./ws-CNd9TMOE.js");
2911
2912
  let prov;
2912
2913
  try {
2913
2914
  prov = await ws.loadProvision();
@@ -3270,7 +3271,7 @@ Options:
3270
3271
  const { keyword, code = "enter", from = null, raw = false } = body;
3271
3272
  let msg = body.msg ?? "";
3272
3273
  if (!raw && msg.startsWith("<ay-msg ") && msg.includes("<alias-for-room-")) {
3273
- const { fillRoomAlias, roomAliases } = await import("./roomReplyAlias-BeGVkAlc.js");
3274
+ const { fillRoomAlias, roomAliases } = await import("./roomReplyAlias-0xfUQlda.js");
3274
3275
  const aliases = await roomAliases();
3275
3276
  msg = fillRoomAlias(msg, (room) => aliases.get(room));
3276
3277
  }
@@ -3346,7 +3347,7 @@ Options:
3346
3347
  if (process.platform === "win32") return new Response("force-kill unsupported on a Windows serve", { status: 501 });
3347
3348
  try {
3348
3349
  const record = await resolveOne(keyword, defaultOpts({ all: true }));
3349
- const { forceKill, forceKillTargets } = await import("./forceKill-BDqxx4uQ.js");
3350
+ const { forceKill, forceKillTargets } = await import("./forceKill-BAqKNR_f.js");
3350
3351
  const { killed } = forceKill(await forceKillTargets(record));
3351
3352
  await updateGlobalPidStatus(record.pid, {
3352
3353
  status: "exited",
@@ -3822,7 +3823,7 @@ Options:
3822
3823
  const perm = body.perm ?? "r";
3823
3824
  if (perm !== "r" && perm !== "rw") return new Response(`invalid perm ${perm} (want r or rw)`, { status: 400 });
3824
3825
  try {
3825
- const { createScopedShare } = await import("./agentShare-C2oXrGvf.js");
3826
+ const { createScopedShare } = await import("./agentShare-Dz_T6b5v.js");
3826
3827
  const share = await createScopedShare({
3827
3828
  agent: body.agent,
3828
3829
  perm,
@@ -3837,12 +3838,12 @@ Options:
3837
3838
  }
3838
3839
  }
3839
3840
  if (req.method === "GET" && p === "/api/shares") {
3840
- const { listShares } = await import("./agentShare-C2oXrGvf.js");
3841
+ const { listShares } = await import("./agentShare-Dz_T6b5v.js");
3841
3842
  return Response.json(listShares());
3842
3843
  }
3843
3844
  const revokeM = /^\/api\/share\/([^/]+)$/.exec(p);
3844
3845
  if (req.method === "DELETE" && revokeM) {
3845
- const { revokeShare } = await import("./agentShare-C2oXrGvf.js");
3846
+ const { revokeShare } = await import("./agentShare-Dz_T6b5v.js");
3846
3847
  const ok = revokeShare(decodeURIComponent(revokeM[1]));
3847
3848
  return new Response(ok ? "revoked" : "no such share", { status: ok ? 200 : 404 });
3848
3849
  }
@@ -3856,7 +3857,7 @@ Options:
3856
3857
  const port = Number(body.port);
3857
3858
  if (!Number.isInteger(port) || port < 1 || port > 65535) return new Response("valid port required", { status: 400 });
3858
3859
  try {
3859
- const { ensureExposure } = await import("./expose-Bhsn5yUz.js");
3860
+ const { ensureExposure } = await import("./expose-BKxcKYt-.js");
3860
3861
  const h = await ensureExposure(port, body.relay);
3861
3862
  return Response.json({
3862
3863
  id: h.id,
@@ -3870,12 +3871,12 @@ Options:
3870
3871
  }
3871
3872
  }
3872
3873
  if (req.method === "GET" && p === "/api/exposes") {
3873
- const { listExposures } = await import("./expose-Bhsn5yUz.js");
3874
+ const { listExposures } = await import("./expose-BKxcKYt-.js");
3874
3875
  return Response.json(listExposures());
3875
3876
  }
3876
3877
  const unexposeM = /^\/api\/expose\/(\d+)$/.exec(p);
3877
3878
  if (req.method === "DELETE" && unexposeM) {
3878
- const { stopExposure } = await import("./expose-Bhsn5yUz.js");
3879
+ const { stopExposure } = await import("./expose-BKxcKYt-.js");
3879
3880
  const ok = stopExposure(Number(unexposeM[1]));
3880
3881
  return new Response(ok ? "revoked" : "no such exposure", { status: ok ? 200 : 404 });
3881
3882
  }
@@ -4105,7 +4106,7 @@ Options:
4105
4106
  if (wantWebrtc) {
4106
4107
  const explicitUrl = explicitRoomUrl;
4107
4108
  try {
4108
- const { startShare, loadOrCreateShareRoom } = await import("./share-_TPYAGWC.js");
4109
+ const { startShare, loadOrCreateShareRoom } = await import("./share-CPtJgXt2.js");
4109
4110
  const linkFile = path.join(process.env.AGENT_YES_HOME ?? path.join(homedir(), ".agent-yes"), ".share-link");
4110
4111
  const announce = async (room, link, joinLink, rotated) => {
4111
4112
  const lead = rotated ? "the room was rejected by signaling (stale generation) — rotated to a fresh link" : "shared over WebRTC — open this link (the token is eaten from the URL on open)";
@@ -4113,7 +4114,7 @@ Options:
4113
4114
  const persistNote = explicitUrl ? "\n" : ` (persistent room — same link across restarts; delete ~/.agent-yes/.share-room to rotate)\n\n`;
4114
4115
  process.stdout.write(`${wantHttp ? "\n" : ""}${lead}:\n ${link}\n\nto attach ANOTHER machine to this room, open this there (or paste it into\n\`ay serve --webrtc\`) — one machine per link:\n ${joinLink}\n` + persistNote);
4115
4116
  if (!rotated) {
4116
- const { offerOpenInBrowser } = await import("./openBrowser-CQAOIrD6.js");
4117
+ const { offerOpenInBrowser } = await import("./openBrowser-CwhGNBhv.js");
4117
4118
  await offerOpenInBrowser(link);
4118
4119
  }
4119
4120
  } else {
@@ -4155,7 +4156,7 @@ Options:
4155
4156
  const shutdown = (resolve) => {
4156
4157
  if (heartbeat) clearInterval(heartbeat);
4157
4158
  closeShare?.();
4158
- import("./agentShare-C2oXrGvf.js").then((m) => m.revokeAllShares()).catch(() => {});
4159
+ import("./agentShare-Dz_T6b5v.js").then((m) => m.revokeAllShares()).catch(() => {});
4159
4160
  server?.stop();
4160
4161
  Promise.resolve(releaseHostLock?.()).catch(() => {}).then(resolve);
4161
4162
  };
@@ -4168,4 +4169,4 @@ Options:
4168
4169
 
4169
4170
  //#endregion
4170
4171
  export { cmdServe, inspectServeDaemon, loadTokenReadOnly, mintScopedTermToken, resolveDaemonHttpBase, resolveLocalServeUrl };
4171
- //# sourceMappingURL=serve-C38WYmzz.js.map
4172
+ //# sourceMappingURL=serve-BJEDb5Az.js.map
@@ -1,5 +1,5 @@
1
- import "./e2e-BdLf8DvY.js";
2
- import { o as toWebrtcUrl } from "./webrtcLink-DcvacEci.js";
1
+ import "./e2e-C34A1uYu.js";
2
+ import { o as toWebrtcUrl } from "./webrtcLink-D4pMhyvY.js";
3
3
 
4
4
  //#region ts/serveRust.ts
5
5
  /**
@@ -209,4 +209,4 @@ function daemonShareRuntime(args, hasAyrs, env = process.env) {
209
209
 
210
210
  //#endregion
211
211
  export { SERVE_SUBCOMMANDS, daemonShareRuntime, planRustServe };
212
- //# sourceMappingURL=serveRust-76_apYb8.js.map
212
+ //# sourceMappingURL=serveRust-B50JWdfK.js.map
@@ -1,4 +1,4 @@
1
- import { c as getWorkspaceRoot, p as setWorkspaceRoot } from "./workspaceConfig-DjEklzxf.js";
1
+ import { c as getWorkspaceRoot, p as setWorkspaceRoot } from "./workspaceConfig-BmK6COFt.js";
2
2
  import { existsSync } from "node:fs";
3
3
  import { homedir } from "os";
4
4
  import path from "path";
@@ -88,7 +88,7 @@ async function cmdSetup(rest) {
88
88
  process.stdout.write(`workspace root: ${abs}\n`);
89
89
  if (!existsSync(abs)) process.stderr.write(` note: that directory doesn't exist yet — create it, or agents spawned there will fail\n`);
90
90
  try {
91
- const { linkBunBinsToSystemPath } = await import("./systemPathLink-DI9WdoqQ.js");
91
+ const { linkBunBinsToSystemPath } = await import("./systemPathLink-BQE53HED.js");
92
92
  const r = linkBunBinsToSystemPath();
93
93
  if (r && (r.linked.length || r.refreshed.length)) {
94
94
  const n = r.linked.length + r.refreshed.length;
@@ -97,7 +97,7 @@ async function cmdSetup(rest) {
97
97
  } catch {}
98
98
  if (noShare) return 0;
99
99
  process.stdout.write(`\nsharing this machine to agent-yes.com…\n`);
100
- const { cmdServe } = await import("./serve-C38WYmzz.js");
100
+ const { cmdServe } = await import("./serve-BJEDb5Az.js");
101
101
  return cmdServe([
102
102
  "install",
103
103
  "--share",
@@ -107,4 +107,4 @@ async function cmdSetup(rest) {
107
107
 
108
108
  //#endregion
109
109
  export { cmdSetup };
110
- //# sourceMappingURL=setup-CeAisuhv.js.map
110
+ //# sourceMappingURL=setup-CxQJtnmp.js.map
@@ -1,4 +1,4 @@
1
- import "./e2e-BdLf8DvY.js";
2
- import { a as readShareRoom, c as shareRoomPath, i as loadOrCreateShareRoom, l as startShare, n as getIceServers, o as shareLinkFromRoomUrl, r as importRTC, s as shareRoomFileName, t as formatRoomLink } from "./share-CbFetL5H.js";
1
+ import "./e2e-C34A1uYu.js";
2
+ import { a as readShareRoom, c as shareRoomPath, i as loadOrCreateShareRoom, l as startShare, n as getIceServers, o as shareLinkFromRoomUrl, r as importRTC, s as shareRoomFileName, t as formatRoomLink } from "./share-zVt71n2g.js";
3
3
 
4
4
  export { getIceServers, importRTC, loadOrCreateShareRoom, readShareRoom, shareLinkFromRoomUrl, shareRoomFileName, startShare };
@@ -1,4 +1,4 @@
1
- import { a as computeTranscriptHash, c as open$1, d as randomHex, f as seal, i as MAX_CHUNK, l as packEnvelope, n as FLAG_CONFIRM, o as deriveAuthToken, p as unpackEnvelope, r as MARKER, s as deriveDirKeys, t as CONFIRM_TIMEOUT_MS, u as parseSecret } from "./e2e-BdLf8DvY.js";
1
+ import { a as computeTranscriptHash, c as open$1, d as randomHex, f as seal, i as MAX_CHUNK, l as packEnvelope, n as FLAG_CONFIRM, o as deriveAuthToken, p as unpackEnvelope, r as MARKER, s as deriveDirKeys, t as CONFIRM_TIMEOUT_MS, u as parseSecret } from "./e2e-C34A1uYu.js";
2
2
  import { mkdir, readFile, writeFile } from "fs/promises";
3
3
  import { homedir } from "os";
4
4
  import path from "path";
@@ -642,4 +642,4 @@ async function startShare(opts) {
642
642
 
643
643
  //#endregion
644
644
  export { readShareRoom as a, shareRoomPath as c, loadOrCreateShareRoom as i, startShare as l, getIceServers as n, shareLinkFromRoomUrl as o, importRTC as r, shareRoomFileName as s, formatRoomLink as t };
645
- //# sourceMappingURL=share-CbFetL5H.js.map
645
+ //# sourceMappingURL=share-zVt71n2g.js.map
@@ -243,12 +243,12 @@ shown first and needs a y at a [y/N] prompt.
243
243
  Options:
244
244
  --port N HTTP port (default: ${DEFAULT_SHARE_PORT}, or the daemon's)\n --path /ay tailscale mount path (default: ${DEFAULT_TS_PATH})\n -y, --yes approve the shown commands without prompting\n --json print {mode, url} as JSON\n\nThe URL carries this host's serve token: whoever holds it can read and steer\nevery agent here. Rotate: rm ~/.agent-yes/.serve-token && ay serve install\n`;
245
245
  async function shareRuntimeOf(args) {
246
- const { daemonShareRuntime } = await import("./serveRust-76_apYb8.js");
247
- const { findAyrsBinary } = await import("./rustBinary-BjsZbiv5.js");
246
+ const { daemonShareRuntime } = await import("./serveRust-B50JWdfK.js");
247
+ const { findAyrsBinary } = await import("./rustBinary-B603fLUa.js");
248
248
  return daemonShareRuntime(args ?? [], () => !!findAyrsBinary());
249
249
  }
250
250
  async function daemonShareLink(args) {
251
- const { readShareRoom, shareLinkFromRoomUrl } = await import("./share-_TPYAGWC.js");
251
+ const { readShareRoom, shareLinkFromRoomUrl } = await import("./share-CPtJgXt2.js");
252
252
  const room = await readShareRoom(await shareRuntimeOf(args));
253
253
  if (!room) return null;
254
254
  try {
@@ -258,9 +258,9 @@ async function daemonShareLink(args) {
258
258
  }
259
259
  }
260
260
  async function foregroundAyrsShareLink() {
261
- const { readShareRoom, shareLinkFromRoomUrl } = await import("./share-_TPYAGWC.js");
262
- const { parseWebrtcLink } = await import("./webrtcLink-WxS1nTIs.js");
263
- const { isPidAlive } = await import("./subcommands-DLQEC24N.js");
261
+ const { readShareRoom, shareLinkFromRoomUrl } = await import("./share-CPtJgXt2.js");
262
+ const { parseWebrtcLink } = await import("./webrtcLink-CGCXjlQJ.js");
263
+ const { isPidAlive } = await import("./subcommands-DbdxjvFI.js");
264
264
  const { agentYesHome } = await import("./agentYesHome-CYNNNP71.js");
265
265
  const { readFile } = await import("fs/promises");
266
266
  const path = await import("path");
@@ -276,7 +276,7 @@ async function foregroundAyrsShareLink() {
276
276
  }
277
277
  }
278
278
  async function cmdShareStatus(mount) {
279
- const { inspectServeDaemon } = await import("./serve-C38WYmzz.js");
279
+ const { inspectServeDaemon } = await import("./serve-BJEDb5Az.js");
280
280
  const [d, ts] = await Promise.all([inspectServeDaemon(), detectTailscale()]);
281
281
  const line = (k, v) => process.stdout.write(`${k.padEnd(11)}${v}\n`);
282
282
  if (d.args === null) {
@@ -323,7 +323,7 @@ async function cmdShare(rest) {
323
323
  process.stderr.write(`ay share: unknown mode '${mode}' — one of ${SHARE_MODES.join(", ")}\n`);
324
324
  return 1;
325
325
  }
326
- const { inspectServeDaemon, cmdServe } = await import("./serve-C38WYmzz.js");
326
+ const { inspectServeDaemon, cmdServe } = await import("./serve-BJEDb5Az.js");
327
327
  const [daemon, ts] = await Promise.all([inspectServeDaemon(), detectTailscale()]);
328
328
  const lanIp = pickLanIp(networkInterfaces());
329
329
  if (!mode) {
@@ -414,7 +414,7 @@ async function cmdShare(rest) {
414
414
  let url;
415
415
  const port = state.port ?? (portArg ? Number(portArg) : DEFAULT_SHARE_PORT);
416
416
  if (mode === "webrtc") {
417
- const { loadOrCreateShareRoom, shareLinkFromRoomUrl } = await import("./share-_TPYAGWC.js");
417
+ const { loadOrCreateShareRoom, shareLinkFromRoomUrl } = await import("./share-CPtJgXt2.js");
418
418
  url = shareLinkFromRoomUrl(await loadOrCreateShareRoom(void 0, await shareRuntimeOf(state.args)));
419
419
  } else if (mode === "portless") url = state.consoleUrl ?? httpShareUrl("https://agent-yes.localhost", state.token);
420
420
  else if (mode === "local") url = httpShareUrl(`http://127.0.0.1:${port}`, state.token);
@@ -448,4 +448,4 @@ async function cmdShare(rest) {
448
448
 
449
449
  //#endregion
450
450
  export { cmdShare, daemonShareLink, foregroundAyrsShareLink };
451
- //# sourceMappingURL=shareCmd-foO5MbJp.js.map
451
+ //# sourceMappingURL=shareCmd-96G551OE.js.map
@@ -1,5 +1,5 @@
1
- import { o as readGlobalPids } from "./globalPidIndex-C6p_AY4D.js";
2
- import { n as getMaxAgents, r as getMinFreeMb, s as getSpawnWaitMs } from "./workspaceConfig-DjEklzxf.js";
1
+ import { o as readGlobalPids } from "./globalPidIndex-D9fxq9Ad.js";
2
+ import { n as getMaxAgents, r as getMinFreeMb, s as getSpawnWaitMs } from "./workspaceConfig-BmK6COFt.js";
3
3
  import { readFile } from "fs/promises";
4
4
 
5
5
  //#region ts/spawnGate.ts
@@ -104,4 +104,4 @@ async function waitForSpawnCapacity(opts) {
104
104
 
105
105
  //#endregion
106
106
  export { waitForSpawnCapacity as i, spawnGateEnabled as n, spawnRejectionReason as r, memAvailableMb as t };
107
- //# sourceMappingURL=spawnGate-nUrmf4dd.js.map
107
+ //# sourceMappingURL=spawnGate-BkkT7GF2.js.map
@@ -0,0 +1,5 @@
1
+ import "./logger-CDIsZ-Pp.js";
2
+ import "./globalPidIndex-D9fxq9Ad.js";
3
+ import { i as waitForSpawnCapacity, n as spawnGateEnabled, r as spawnRejectionReason, t as memAvailableMb } from "./spawnGate-BkkT7GF2.js";
4
+
5
+ export { waitForSpawnCapacity };
@@ -211,4 +211,4 @@ function opsMissing(local, remoteHave) {
211
211
 
212
212
  //#endregion
213
213
  export { renderThread as a, makeOp as c, formatHlc as d, hlcSend as f, opsMissing as i, opId as l, maxHlc as n, sortOps as o, parseHlc as p, mergeOps as r, isValidOp as s, haveVector as t, compareHlc as u };
214
- //# sourceMappingURL=store-xmBpqPUq.js.map
214
+ //# sourceMappingURL=store-MjCqeJDI.js.map