agent-yes 1.265.4 → 1.266.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 (75) hide show
  1. package/dist/{SUPPORTED_CLIS-C3tcRetU.js → SUPPORTED_CLIS-AFV5pjSx.js} +2 -2
  2. package/dist/{SUPPORTED_CLIS-CY3SaV0D.js → SUPPORTED_CLIS-DRVuSo48.js} +3 -3
  3. package/dist/{agentShare-g6N1A6A_.js → agentShare-qdFSp9Uq.js} +6 -5
  4. package/dist/{callback-L4k-v2GG.js → callback-Da7MRLh6.js} +6 -5
  5. package/dist/{callback-z-w0ND5z.js → callback-DfNFdZin.js} +5 -5
  6. package/dist/{callbackCore-Cv4EOGjE.js → callbackCore-DcptaZwH.js} +1 -1
  7. package/dist/{callbackCore-Cg3Ye0ZS.js → callbackCore-K99x3C75.js} +1 -1
  8. package/dist/{channels-BwpN_8mu.js → channels-DQaZbare.js} +2 -2
  9. package/dist/cli.js +11 -11
  10. package/dist/{cwdConflictWarn-DZTxTGXq.js → cwdConflictWarn-CtQhl-vF.js} +1 -1
  11. package/dist/{cwdPassthroughHint-DDVkhBiD.js → cwdPassthroughHint-apaX_O7p.js} +1 -1
  12. package/dist/{expose-BG17GV7D.js → expose-BXn6My6A.js} +1 -1
  13. package/dist/{forkNested-VroZS-nk.js → forkNested-CDfWPiHw.js} +12 -2
  14. package/dist/{hist-CoXBBjJt.js → hist-BpocAe1N.js} +1 -1
  15. package/dist/index.js +2 -2
  16. package/dist/initMsg-BjRseolL.js +3 -0
  17. package/dist/initMsg-C-w4A_eF.js +85 -0
  18. package/dist/needsInput-103zhZ90.js +79 -0
  19. package/dist/{nodeRuntime-CT0w6zsB.js → nodeRuntime-CRoEMWkp.js} +1 -1
  20. package/dist/{notifyDaemon-BL1tmxUK.js → notifyDaemon-BFzqcdN1.js} +32 -5
  21. package/dist/notifyStore-CEDiVyis.js +4 -0
  22. package/dist/notifyStore-Cbw2ZJ0X.js +559 -0
  23. package/dist/{openBrowser-Cw8hg7ok.js → openBrowser-DhQ9pJRi.js} +1 -1
  24. package/dist/parentLink-B798ASCW.js +5 -0
  25. package/dist/parentLink-C0cIRjfL.js +53 -0
  26. package/dist/parentPingLoop-BIKxzbPH.js +469 -0
  27. package/dist/{remotes-DWVw-Q7V.js → remotes-Dg_JscKk.js} +2 -2
  28. package/dist/{remotes-iIvqiFWK.js → remotes-iMhdZytp.js} +3 -3
  29. package/dist/{rustBinary-DSVRhDzO.js → rustBinary-JGNROWfY.js} +2 -2
  30. package/dist/{schedule-i4o5SJ_h.js → schedule-DbLpjgl5.js} +6 -6
  31. package/dist/{serve-CpGJD2Kt.js → serve-ucVXOci1.js} +31 -30
  32. package/dist/{setup-B-iQKsQW.js → setup-De7uYRZb.js} +4 -4
  33. package/dist/{share-DOnynkf4.js → share-Db_zb6gH.js} +1 -1
  34. package/dist/{share-B-e_9WBx.js → share-NUhi-Wdd.js} +1 -1
  35. package/dist/{spawnGate-S6EoFdzX.js → spawnGate-BvaZeHE7.js} +1 -1
  36. package/dist/{spawnGate-BmsTv340.js → spawnGate-CEXVmTtv.js} +2 -2
  37. package/dist/subcommands-C04exkIM.js +11 -0
  38. package/dist/{subcommands-CQPnT5qu.js → subcommands-DtF31RoW.js} +41 -656
  39. package/dist/{systemPathLink-CjLmiPbB.js → systemPathLink-7TFPwJna.js} +1 -1
  40. package/dist/{terminal-CybRgMZu.js → terminal-Dm32SXU-.js} +2 -2
  41. package/dist/{todoCli-DZmOmcvd.js → todoCli-c_R7D7Y-.js} +1 -1
  42. package/dist/{tray-Cjm3a8JH.js → tray-DZnGjJBK.js} +1 -1
  43. package/dist/trayApp-CZbwLK9t.js +5 -0
  44. package/dist/{trayApp-UglHbk_m.js → trayApp-CfkPG0wy.js} +2 -2
  45. package/dist/{ts-nuUnrVcf.js → ts-CGtoPER5.js} +43 -10
  46. package/dist/{versionChecker-CMOLbEEi.js → versionChecker-CJgW9DHY.js} +2 -2
  47. package/dist/{webrtcLink-CS4D-3G1.js → webrtcLink-DyCj380i.js} +1 -1
  48. package/dist/{webrtcRemote-zQybN9IR.js → webrtcRemote-BDg0jjTs.js} +2 -2
  49. package/dist/{widget-y5Bpvwsa.js → widget-DXtaX3QR.js} +3 -3
  50. package/dist/{workspaceConfig-BDqp7fYl.js → workspaceConfig-HiWQzq6A.js} +1 -1
  51. package/dist/{ws-CH8GzcQn.js → ws-CqlS5JhN.js} +5 -4
  52. package/dist/{ws-BrLV-AlH.js → ws-aKRZpI9b.js} +9 -11
  53. package/package.json +1 -1
  54. package/ts/forkNested.spec.ts +22 -0
  55. package/ts/forkNested.ts +19 -0
  56. package/ts/index.ts +77 -12
  57. package/ts/initMsg.spec.ts +114 -0
  58. package/ts/initMsg.ts +107 -0
  59. package/ts/ownerHeartbeat.ts +40 -1
  60. package/ts/parentLink.spec.ts +64 -0
  61. package/ts/parentLink.ts +58 -0
  62. package/ts/parentPing.spec.ts +176 -0
  63. package/ts/parentPing.ts +195 -0
  64. package/ts/parentPingLoop.delivery.spec.ts +236 -0
  65. package/ts/parentPingLoop.spec.ts +79 -0
  66. package/ts/parentPingLoop.ts +196 -0
  67. package/ts/parentPingSend.spec.ts +195 -0
  68. package/ts/parentPingSend.ts +148 -0
  69. package/ts/parentWatching.spec.ts +61 -0
  70. package/ts/parentWatching.ts +89 -0
  71. package/ts/subcommands.ts +11 -2
  72. package/ts/trayApp.spec.ts +31 -4
  73. package/ts/ws.ts +17 -12
  74. package/dist/subcommands-Cgt2-kjg.js +0 -10
  75. package/dist/trayApp-CmwwBg8v.js +0 -5
@@ -1,7 +1,7 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import { r as getInstalledPackage } from "./versionChecker-CMOLbEEi.js";
3
- import { t as findSpawnHiddenLauncher } from "./rustBinary-DSVRhDzO.js";
4
- import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-nuUnrVcf.js";
2
+ import { r as getInstalledPackage } from "./versionChecker-CJgW9DHY.js";
3
+ import { t as findSpawnHiddenLauncher } from "./rustBinary-JGNROWfY.js";
4
+ import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-CGtoPER5.js";
5
5
  import { t as agentYesHome$1 } from "./agentYesHome-CtmsY6I-.js";
6
6
  import { x as removeControlCharacters } from "./todoAutomation-BQRW614S.js";
7
7
  import "./JsonlStore-CPGIR0Wy.js";
@@ -11,17 +11,18 @@ import { r as recordInbox } from "./messageLog-BYFwioFY.js";
11
11
  import { t as pgidForWrapper } from "./reaper-C4BvNylH.js";
12
12
  import "./e2e-CUMZC53I.js";
13
13
  import "./configShared-DtHMBCl7.js";
14
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-C3tcRetU.js";
15
- import { $ as isTransientLockMkdirError, A as readLogForRender, E as listRecords, F as renderLogTailLines, I as renderRawLog, L as renderRawLogLines, M as readPtysize, N as recentMessageEdges, P as recentReadEdges, R as resolveOne, U as snapshotStatus, Y as writeToIpc, c as controlCodeFromName, d as deriveLiveStatus, f as extractBadges, h as extractTaskCounts, j as readNotes, m as extractNeedsInput, st as TYPING_BADGE, w as isUserTyping } from "./subcommands-CQPnT5qu.js";
16
- import "./webrtcLink-CS4D-3G1.js";
17
- import "./remotes-iIvqiFWK.js";
18
- import { i as frameVisitorMessage, s as verifyCapability, t as MAX_CALLBACK_MSG_BYTES } from "./callbackCore-Cg3Ye0ZS.js";
19
- import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-z-w0ND5z.js";
20
- 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-BDqp7fYl.js";
21
- import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-CT0w6zsB.js";
22
- import { i as importProvisionModule } from "./ws-BrLV-AlH.js";
23
- import { r as spawnRejectionReason } from "./spawnGate-BmsTv340.js";
24
- import { i as launchTray } from "./trayApp-UglHbk_m.js";
14
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-AFV5pjSx.js";
15
+ import { B as resolveOne, F as recentMessageEdges, G as snapshotStatus, I as recentReadEdges, L as renderLogTailLines, M as readLogForRender, N as readNotes, O as listRecords, P as readPtysize, Q as TYPING_BADGE, R as renderRawLog, T as isUserTyping, Z as writeToIpc, f as deriveLiveStatus, g as extractTaskCounts, h as extractNeedsInput, l as controlCodeFromName, p as extractBadges, z as renderRawLogLines } from "./subcommands-DtF31RoW.js";
16
+ import { c as isTransientLockMkdirError } from "./notifyStore-Cbw2ZJ0X.js";
17
+ import "./webrtcLink-DyCj380i.js";
18
+ import "./remotes-iMhdZytp.js";
19
+ import { i as frameVisitorMessage, s as verifyCapability, t as MAX_CALLBACK_MSG_BYTES } from "./callbackCore-K99x3C75.js";
20
+ import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-DfNFdZin.js";
21
+ 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-HiWQzq6A.js";
22
+ import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-CRoEMWkp.js";
23
+ import { i as importProvisionModule } from "./ws-aKRZpI9b.js";
24
+ import { r as spawnRejectionReason } from "./spawnGate-CEXVmTtv.js";
25
+ import { i as launchTray } from "./trayApp-CfkPG0wy.js";
25
26
  import yargs from "yargs";
26
27
  import { appendFile, mkdir, open, readFile, readdir, rename, rm, stat, unlink, writeFile } from "fs/promises";
27
28
  import { arch, cpus, freemem, homedir, hostname, loadavg, platform, totalmem, uptime, userInfo } from "os";
@@ -1268,7 +1269,7 @@ async function cmdServeDaemon(sub, args) {
1268
1269
  let shareLink = null;
1269
1270
  let shareLinkMinted = false;
1270
1271
  if (webrtcDaemon) try {
1271
- const { loadOrCreateShareRoom, shareLinkFromRoomUrl } = await import("./share-DOnynkf4.js");
1272
+ const { loadOrCreateShareRoom, shareLinkFromRoomUrl } = await import("./share-Db_zb6gH.js");
1272
1273
  const explicit = explicitWebrtcUrl(effArgs);
1273
1274
  shareLink = shareLinkFromRoomUrl(explicit ?? await loadOrCreateShareRoom());
1274
1275
  shareLinkMinted = !explicit;
@@ -1277,7 +1278,7 @@ async function cmdServeDaemon(sub, args) {
1277
1278
  if (!webrtcDaemon) return;
1278
1279
  if (shareLink) {
1279
1280
  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/.share-room to rotate)\n` : ``));
1280
- const { offerOpenInBrowser } = await import("./openBrowser-Cw8hg7ok.js");
1281
+ const { offerOpenInBrowser } = await import("./openBrowser-DhQ9pJRi.js");
1281
1282
  await offerOpenInBrowser(shareLink);
1282
1283
  } else process.stdout.write("\nthe WebRTC share link carries a secret, so the daemon does NOT log it —\nread it from ~/.agent-yes/.share-link (mode 0600). The room persists in\n~/.agent-yes/.share-room, so the link survives restarts.\n");
1283
1284
  };
@@ -2434,7 +2435,7 @@ Options:
2434
2435
  }
2435
2436
  });
2436
2437
  if (req.method === "GET" && p === "/api/ws") {
2437
- const ws = await import("./ws-CH8GzcQn.js");
2438
+ const ws = await import("./ws-CqlS5JhN.js");
2438
2439
  try {
2439
2440
  await ws.loadProvision();
2440
2441
  } catch (e) {
@@ -2454,7 +2455,7 @@ Options:
2454
2455
  if (req.method === "GET" && p === "/api/ws/status") {
2455
2456
  const dirRaw = url.searchParams.get("path");
2456
2457
  if (!dirRaw) return new Response("missing ?path=<workspace dir>", { status: 400 });
2457
- const ws = await import("./ws-CH8GzcQn.js");
2458
+ const ws = await import("./ws-CqlS5JhN.js");
2458
2459
  let prov;
2459
2460
  try {
2460
2461
  prov = await ws.loadProvision();
@@ -2476,7 +2477,7 @@ Options:
2476
2477
  }
2477
2478
  }
2478
2479
  if (req.method === "GET" && p === "/api/ws/repos") {
2479
- const ws = await import("./ws-CH8GzcQn.js");
2480
+ const ws = await import("./ws-CqlS5JhN.js");
2480
2481
  try {
2481
2482
  await ws.loadProvision();
2482
2483
  } catch (e) {
@@ -2557,7 +2558,7 @@ Options:
2557
2558
  const m = /^([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+)$/.exec(repoParam);
2558
2559
  if (!m || m[1] === "." || m[1] === ".." || m[2] === "." || m[2] === "..") return new Response("missing/invalid ?repo=<owner>/<repo>", { status: 400 });
2559
2560
  const [, owner, repo] = m;
2560
- const ws = await import("./ws-CH8GzcQn.js");
2561
+ const ws = await import("./ws-CqlS5JhN.js");
2561
2562
  let prov;
2562
2563
  try {
2563
2564
  prov = await ws.loadProvision();
@@ -3465,7 +3466,7 @@ Options:
3465
3466
  const perm = body.perm ?? "r";
3466
3467
  if (perm !== "r" && perm !== "rw") return new Response(`invalid perm ${perm} (want r or rw)`, { status: 400 });
3467
3468
  try {
3468
- const { createScopedShare } = await import("./agentShare-g6N1A6A_.js");
3469
+ const { createScopedShare } = await import("./agentShare-qdFSp9Uq.js");
3469
3470
  const share = await createScopedShare({
3470
3471
  agent: body.agent,
3471
3472
  perm,
@@ -3480,12 +3481,12 @@ Options:
3480
3481
  }
3481
3482
  }
3482
3483
  if (req.method === "GET" && p === "/api/shares") {
3483
- const { listShares } = await import("./agentShare-g6N1A6A_.js");
3484
+ const { listShares } = await import("./agentShare-qdFSp9Uq.js");
3484
3485
  return Response.json(listShares());
3485
3486
  }
3486
3487
  const revokeM = /^\/api\/share\/([^/]+)$/.exec(p);
3487
3488
  if (req.method === "DELETE" && revokeM) {
3488
- const { revokeShare } = await import("./agentShare-g6N1A6A_.js");
3489
+ const { revokeShare } = await import("./agentShare-qdFSp9Uq.js");
3489
3490
  const ok = revokeShare(decodeURIComponent(revokeM[1]));
3490
3491
  return new Response(ok ? "revoked" : "no such share", { status: ok ? 200 : 404 });
3491
3492
  }
@@ -3499,7 +3500,7 @@ Options:
3499
3500
  const port = Number(body.port);
3500
3501
  if (!Number.isInteger(port) || port < 1 || port > 65535) return new Response("valid port required", { status: 400 });
3501
3502
  try {
3502
- const { ensureExposure } = await import("./expose-BG17GV7D.js");
3503
+ const { ensureExposure } = await import("./expose-BXn6My6A.js");
3503
3504
  const h = await ensureExposure(port, body.relay);
3504
3505
  return Response.json({
3505
3506
  id: h.id,
@@ -3513,12 +3514,12 @@ Options:
3513
3514
  }
3514
3515
  }
3515
3516
  if (req.method === "GET" && p === "/api/exposes") {
3516
- const { listExposures } = await import("./expose-BG17GV7D.js");
3517
+ const { listExposures } = await import("./expose-BXn6My6A.js");
3517
3518
  return Response.json(listExposures());
3518
3519
  }
3519
3520
  const unexposeM = /^\/api\/expose\/(\d+)$/.exec(p);
3520
3521
  if (req.method === "DELETE" && unexposeM) {
3521
- const { stopExposure } = await import("./expose-BG17GV7D.js");
3522
+ const { stopExposure } = await import("./expose-BXn6My6A.js");
3522
3523
  const ok = stopExposure(Number(unexposeM[1]));
3523
3524
  return new Response(ok ? "revoked" : "no such exposure", { status: ok ? 200 : 404 });
3524
3525
  }
@@ -3737,7 +3738,7 @@ Options:
3737
3738
  const webrtcVal = argv.webrtc ?? argv.share;
3738
3739
  const explicitUrl = typeof webrtcVal === "string" && webrtcVal.startsWith("webrtc://") ? webrtcVal : void 0;
3739
3740
  try {
3740
- const { startShare, loadOrCreateShareRoom } = await import("./share-DOnynkf4.js");
3741
+ const { startShare, loadOrCreateShareRoom } = await import("./share-Db_zb6gH.js");
3741
3742
  const linkFile = path.join(process.env.AGENT_YES_HOME ?? path.join(homedir(), ".agent-yes"), ".share-link");
3742
3743
  const announce = async (room, link, rotated) => {
3743
3744
  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)";
@@ -3745,7 +3746,7 @@ Options:
3745
3746
  const persistNote = explicitUrl ? "\n" : ` (persistent room — same link across restarts; delete ~/.agent-yes/.share-room to rotate)\n\n`;
3746
3747
  process.stdout.write(`${wantHttp ? "\n" : ""}${lead}:\n ${link}\n` + persistNote);
3747
3748
  if (!rotated) {
3748
- const { offerOpenInBrowser } = await import("./openBrowser-Cw8hg7ok.js");
3749
+ const { offerOpenInBrowser } = await import("./openBrowser-DhQ9pJRi.js");
3749
3750
  await offerOpenInBrowser(link);
3750
3751
  }
3751
3752
  } else {
@@ -3787,7 +3788,7 @@ Options:
3787
3788
  const shutdown = (resolve) => {
3788
3789
  if (heartbeat) clearInterval(heartbeat);
3789
3790
  closeShare?.();
3790
- import("./agentShare-g6N1A6A_.js").then((m) => m.revokeAllShares()).catch(() => {});
3791
+ import("./agentShare-qdFSp9Uq.js").then((m) => m.revokeAllShares()).catch(() => {});
3791
3792
  server?.stop();
3792
3793
  Promise.resolve(releaseHostLock?.()).catch(() => {}).then(resolve);
3793
3794
  };
@@ -3800,4 +3801,4 @@ Options:
3800
3801
 
3801
3802
  //#endregion
3802
3803
  export { cmdServe, loadTokenReadOnly, mintScopedTermToken, resolveDaemonHttpBase, resolveLocalServeUrl };
3803
- //# sourceMappingURL=serve-CpGJD2Kt.js.map
3804
+ //# sourceMappingURL=serve-ucVXOci1.js.map
@@ -1,4 +1,4 @@
1
- import { c as getWorkspaceRoot, p as setWorkspaceRoot } from "./workspaceConfig-BDqp7fYl.js";
1
+ import { c as getWorkspaceRoot, p as setWorkspaceRoot } from "./workspaceConfig-HiWQzq6A.js";
2
2
  import { existsSync } from "node:fs";
3
3
  import { stdin, stdout } from "node:process";
4
4
  import { createInterface } from "node:readline/promises";
@@ -31,7 +31,7 @@ async function cmdSetup(rest) {
31
31
  process.stdout.write(`workspace root: ${abs}\n`);
32
32
  if (!existsSync(abs)) process.stderr.write(` note: that directory doesn't exist yet — create it, or agents spawned there will fail\n`);
33
33
  try {
34
- const { linkBunBinsToSystemPath } = await import("./systemPathLink-CjLmiPbB.js");
34
+ const { linkBunBinsToSystemPath } = await import("./systemPathLink-7TFPwJna.js");
35
35
  const r = linkBunBinsToSystemPath();
36
36
  if (r && (r.linked.length || r.refreshed.length)) {
37
37
  const n = r.linked.length + r.refreshed.length;
@@ -40,7 +40,7 @@ async function cmdSetup(rest) {
40
40
  } catch {}
41
41
  if (noShare) return 0;
42
42
  process.stdout.write(`\nsharing this machine to agent-yes.com…\n`);
43
- const { cmdServe } = await import("./serve-CpGJD2Kt.js");
43
+ const { cmdServe } = await import("./serve-ucVXOci1.js");
44
44
  return cmdServe([
45
45
  "install",
46
46
  "--share",
@@ -50,4 +50,4 @@ async function cmdSetup(rest) {
50
50
 
51
51
  //#endregion
52
52
  export { cmdSetup };
53
- //# sourceMappingURL=setup-B-iQKsQW.js.map
53
+ //# sourceMappingURL=setup-De7uYRZb.js.map
@@ -1,4 +1,4 @@
1
1
  import "./e2e-CUMZC53I.js";
2
- import { a as startShare, i as shareLinkFromRoomUrl, n as importRTC, r as loadOrCreateShareRoom, t as getIceServers } from "./share-B-e_9WBx.js";
2
+ import { a as startShare, i as shareLinkFromRoomUrl, n as importRTC, r as loadOrCreateShareRoom, t as getIceServers } from "./share-NUhi-Wdd.js";
3
3
 
4
4
  export { getIceServers, importRTC, loadOrCreateShareRoom, shareLinkFromRoomUrl, startShare };
@@ -627,4 +627,4 @@ async function startShare(opts) {
627
627
 
628
628
  //#endregion
629
629
  export { startShare as a, shareLinkFromRoomUrl as i, importRTC as n, loadOrCreateShareRoom as r, getIceServers as t };
630
- //# sourceMappingURL=share-B-e_9WBx.js.map
630
+ //# sourceMappingURL=share-NUhi-Wdd.js.map
@@ -1,5 +1,5 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
2
  import "./globalPidIndex-Dq4KY2IV.js";
3
- import { i as waitForSpawnCapacity, n as spawnGateEnabled, r as spawnRejectionReason, t as memAvailableMb } from "./spawnGate-BmsTv340.js";
3
+ import { i as waitForSpawnCapacity, n as spawnGateEnabled, r as spawnRejectionReason, t as memAvailableMb } from "./spawnGate-CEXVmTtv.js";
4
4
 
5
5
  export { waitForSpawnCapacity };
@@ -1,5 +1,5 @@
1
1
  import { i as readGlobalPids } from "./globalPidIndex-Dq4KY2IV.js";
2
- import { n as getMaxAgents, r as getMinFreeMb, s as getSpawnWaitMs } from "./workspaceConfig-BDqp7fYl.js";
2
+ import { n as getMaxAgents, r as getMinFreeMb, s as getSpawnWaitMs } from "./workspaceConfig-HiWQzq6A.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-BmsTv340.js.map
107
+ //# sourceMappingURL=spawnGate-CEXVmTtv.js.map
@@ -0,0 +1,11 @@
1
+ import "./logger-CDIsZ-Pp.js";
2
+ import "./globalPidIndex-Dq4KY2IV.js";
3
+ import "./messageLog-BYFwioFY.js";
4
+ import "./e2e-CUMZC53I.js";
5
+ import "./configShared-DtHMBCl7.js";
6
+ import { A as menuSelectKeys, B as resolveOne, C as isSubcommand, D as lastStdinAt, E as lastReadAt, F as recentMessageEdges, G as snapshotStatus, H as resolveResumeArgs, I as recentReadEdges, J as submitAndConfirm, K as stdinActivityPath, L as renderLogTailLines, M as readLogForRender, N as readNotes, O as listRecords, P as readPtysize, R as renderRawLog, S as isSlashCommand, T as isUserTyping, U as restartHintLines, V as resolveReadWindow, W as runSubcommand, X as writeKeysPaced, Y as waitForLogQuiet, Z as writeToIpc, _ as finalizedLines, a as TYPING_WINDOW_MS, b as isExitRequest, c as cmdHelp, d as deriveLiveState, f as deriveLiveStatus, g as extractTaskCounts, h as extractNeedsInput, i as READ_WINDOW_MS, j as readAgentPtysize, k as matchKeyword, l as controlCodeFromName, m as extractMenu, n as MAX_RENDER_BYTES, o as backoffWhileTyping, p as extractBadges, q as stopTipForCli, r as READ_PAGE_DEFAULT, s as cmdDeepseek, t as GRACEFUL_EXIT_COMMANDS, u as cursorAbs, v as isAgentStuck, w as isUnknownManagerToken, x as isPidAlive, y as isBareManagerInvocation, z as renderRawLogLines } from "./subcommands-DtF31RoW.js";
7
+ import "./notifyStore-Cbw2ZJ0X.js";
8
+ import "./webrtcLink-DyCj380i.js";
9
+ import "./remotes-iMhdZytp.js";
10
+
11
+ export { READ_WINDOW_MS, cmdHelp, isBareManagerInvocation, isSubcommand, isUnknownManagerToken, lastReadAt, runSubcommand };