agent-yes 1.256.0 → 1.256.1

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 (72) hide show
  1. package/dist/{SUPPORTED_CLIS-DCgfUvkk.js → SUPPORTED_CLIS-BzDARJYP.js} +2 -2
  2. package/dist/SUPPORTED_CLIS-CUrSR0fn.js +11 -0
  3. package/dist/{agent-yes.config-C8e9rNLW.js → agent-yes.config-DzNini0E.js} +2 -2
  4. package/dist/{agentShare-B-UFJIE3.js → agentShare-JbxEAAIb.js} +9 -9
  5. package/dist/{browser-B3dOptjL.js → browser-B7eYrBy7.js} +5 -5
  6. package/dist/{browser-jKmGe4_X.js → browser-DSduVZeZ.js} +1 -1
  7. package/dist/{callback-FHEnYbFh.js → callback-BH4-6FVz.js} +5 -5
  8. package/dist/callback-CDZ0mSn8.js +12 -0
  9. package/dist/{callbackCore-Dd28_cBM.js → callbackCore-Cg3Ye0ZS.js} +1 -1
  10. package/dist/{callbackCore-Cd4mYekY.js → callbackCore-Cv4EOGjE.js} +1 -1
  11. package/dist/{channels-H4PBBker.js → channels-BwpN_8mu.js} +6 -6
  12. package/dist/{channels-BiGUYTuz.js → channels-yE1YUHCl.js} +2 -2
  13. package/dist/channels.js +5 -5
  14. package/dist/cli.js +17 -14
  15. package/dist/{configShared-IBbnn9b8.js → configShared-DtHMBCl7.js} +1 -1
  16. package/dist/{cwdConflictWarn-DEJHqTZ4.js → cwdConflictWarn-DZTxTGXq.js} +2 -2
  17. package/dist/{cwdDeprecation-Cd-4t7lI.js → cwdDeprecation-6iOtwFzS.js} +1 -1
  18. package/dist/{e2e-CEIdJGZ7.js → e2e-CUMZC53I.js} +1 -1
  19. package/dist/{expose-BiJ-51Hm.js → expose-BG17GV7D.js} +1 -1
  20. package/dist/{forkNested-BW2OmXjA.js → forkNested-CgJ1rTnT.js} +26 -14
  21. package/dist/globalPidIndex-CQX_0JSB.js +4 -0
  22. package/dist/{globalPidIndex-D9DOSd-c.js → globalPidIndex-Dq4KY2IV.js} +1 -1
  23. package/dist/{html2canvas-pro.esm-BZqMtqU8.js → html2canvas-pro.esm-cq4l_ZIw.js} +1 -1
  24. package/dist/index.js +5 -5
  25. package/dist/{messageLog-C-YIzhRj.js → messageLog-BYFwioFY.js} +1 -1
  26. package/dist/{nodeRuntime-BtL6Oo1o.js → nodeRuntime-vhOBffJ3.js} +1 -1
  27. package/dist/{notifyDaemon-CnhKvdl7.js → notifyDaemon-7udiA8IF.js} +8 -8
  28. package/dist/{openBrowser-DifNZwyn.js → openBrowser-D-aQjh3y.js} +1 -1
  29. package/dist/peer-Cvntlw1i.js +4 -0
  30. package/dist/{peer-B5JKF4BP.js → peer-DIl5xtx8.js} +3 -3
  31. package/dist/pidStore-BbKqQOS8.js +6 -0
  32. package/dist/{pidStore-vnX0bgra.js → pidStore-Cmcc8Oej.js} +2 -2
  33. package/dist/{reaper-IhkB_RO0.js → reaper-B231i49s.js} +1 -1
  34. package/dist/{reaper-DP49VCKx.js → reaper-C4BvNylH.js} +1 -1
  35. package/dist/{remotes-a0bGDae9.js → remotes-BwytVgTX.js} +3 -3
  36. package/dist/{remotes-DzPup1dS.js → remotes-C71bbp-g.js} +3 -3
  37. package/dist/{rustBinary-B7kmq5S0.js → rustBinary-Cd9DngDh.js} +2 -2
  38. package/dist/{schedule-D8TWPJuH.js → schedule-Otpou3Ni.js} +9 -9
  39. package/dist/{serve-89Gzlv9n.js → serve-JNGfYmLT.js} +33 -33
  40. package/dist/{setup-B-ufpyWj.js → setup-RVV6dnf3.js} +3 -3
  41. package/dist/{share-BGl3wutJ.js → share-B-e_9WBx.js} +2 -2
  42. package/dist/{share-DchOdgBz.js → share-DOnynkf4.js} +2 -2
  43. package/dist/{spawnGate-BFJPdHCQ.js → spawnGate-BGaqQpMd.js} +3 -3
  44. package/dist/spawnGate-DcG_Pn2f.js +5 -0
  45. package/dist/{store-Ck0XRn-K.js → store-BW5NBouz.js} +1 -1
  46. package/dist/{subcommands-Cz_tHj4P.js → subcommands-CAYOfibe.js} +24 -24
  47. package/dist/{subcommands-COp2OWcx.js → subcommands-DEcce_73.js} +7 -7
  48. package/dist/{terminal-83v9Uzt1.js → terminal-CkzqkAST.js} +2 -2
  49. package/dist/terminal.js +1 -1
  50. package/dist/{todoCli-4WIHwq-e.js → todoCli-CaQDl5WR.js} +2 -2
  51. package/dist/{tray-LxRESrQs.js → tray-d0GZiGI9.js} +1 -1
  52. package/dist/trayApp-DmaV4IyV.js +5 -0
  53. package/dist/{trayApp-ChsZpZyQ.js → trayApp-pBLHICYj.js} +2 -2
  54. package/dist/{ts-B4LZq-x9.js → ts-DLM7M0W3.js} +7 -7
  55. package/dist/{versionChecker-CKSvRBvj.js → versionChecker-BlwkAisS.js} +2 -2
  56. package/dist/{webrtcLink-BMYneHbu.js → webrtcLink-CS4D-3G1.js} +2 -2
  57. package/dist/{webrtcRemote-DgoZGUr9.js → webrtcRemote-BXmkHX-i.js} +3 -3
  58. package/dist/{widget-DcPvYum4.js → widget-C2_s8SHw.js} +3 -3
  59. package/dist/widget.js +1 -1
  60. package/dist/widgets.js +5 -5
  61. package/dist/{workspaceConfig-CpilQzMY.js → workspaceConfig-Bxuk_MOq.js} +1 -1
  62. package/dist/{ws-DXmR5W2s.js → ws-833ph696.js} +9 -9
  63. package/package.json +1 -1
  64. package/ts/cli.ts +18 -8
  65. package/ts/forkNested.spec.ts +55 -11
  66. package/ts/forkNested.ts +27 -13
  67. package/dist/SUPPORTED_CLIS-FQCbUoI-.js +0 -11
  68. package/dist/callback-DsimZsq6.js +0 -12
  69. package/dist/peer-D5lr1Afv.js +0 -4
  70. package/dist/pidStore-Bg7wdjxY.js +0 -6
  71. package/dist/spawnGate-Djr4KlF5.js +0 -5
  72. package/dist/trayApp-00UdHVbe.js +0 -5
@@ -1,14 +1,14 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import "./versionChecker-CKSvRBvj.js";
3
- import "./ts-B4LZq-x9.js";
2
+ import "./versionChecker-BlwkAisS.js";
3
+ import "./ts-DLM7M0W3.js";
4
4
  import "./todoAutomation-BQRW614S.js";
5
5
  import "./JsonlStore-CPGIR0Wy.js";
6
- import "./globalPidIndex-D9DOSd-c.js";
7
- import "./pidStore-vnX0bgra.js";
8
- import "./messageLog-C-YIzhRj.js";
9
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DCgfUvkk.js";
10
- import { f as resolveSpawnCwd } from "./workspaceConfig-CpilQzMY.js";
11
- import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-BtL6Oo1o.js";
6
+ import "./globalPidIndex-Dq4KY2IV.js";
7
+ import "./pidStore-Cmcc8Oej.js";
8
+ import "./messageLog-BYFwioFY.js";
9
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-BzDARJYP.js";
10
+ import { f as resolveSpawnCwd } from "./workspaceConfig-Bxuk_MOq.js";
11
+ import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-vhOBffJ3.js";
12
12
  import { createHash } from "node:crypto";
13
13
 
14
14
  //#region ts/oxmgrService.ts
@@ -153,4 +153,4 @@ async function cmdSchedule(rest) {
153
153
 
154
154
  //#endregion
155
155
  export { cmdSchedule };
156
- //# sourceMappingURL=schedule-D8TWPJuH.js.map
156
+ //# sourceMappingURL=schedule-Otpou3Ni.js.map
@@ -1,26 +1,26 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import { r as getInstalledPackage } from "./versionChecker-CKSvRBvj.js";
3
- import { t as findSpawnHiddenLauncher } from "./rustBinary-B7kmq5S0.js";
4
- import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-B4LZq-x9.js";
2
+ import { r as getInstalledPackage } from "./versionChecker-BlwkAisS.js";
3
+ import { t as findSpawnHiddenLauncher } from "./rustBinary-Cd9DngDh.js";
4
+ import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-DLM7M0W3.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";
8
- import { a as updateGlobalPidStatus } from "./globalPidIndex-D9DOSd-c.js";
9
- import "./pidStore-vnX0bgra.js";
10
- import { r as recordInbox } from "./messageLog-C-YIzhRj.js";
11
- import { t as pgidForWrapper } from "./reaper-DP49VCKx.js";
12
- import "./e2e-CEIdJGZ7.js";
13
- import "./configShared-IBbnn9b8.js";
14
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DCgfUvkk.js";
15
- import { A as recentReadEdges, C as listRecords, D as readNotes, G as writeToIpc, M as renderRawLog, N as renderRawLogLines, O as readPtysize, P as resolveOne, Y as isTransientLockMkdirError, f as extractNeedsInput, j as renderLogTailLines, k as recentMessageEdges, l as deriveLiveStatus, o as controlCodeFromName, p as extractTaskCounts, rt as TYPING_BADGE, u as extractBadges, x as isUserTyping, z as snapshotStatus } from "./subcommands-Cz_tHj4P.js";
16
- import "./webrtcLink-BMYneHbu.js";
17
- import "./remotes-a0bGDae9.js";
18
- import { i as frameVisitorMessage, s as verifyCapability, t as MAX_CALLBACK_MSG_BYTES } from "./callbackCore-Dd28_cBM.js";
19
- import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-FHEnYbFh.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-CpilQzMY.js";
21
- import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-BtL6Oo1o.js";
22
- import { r as spawnRejectionReason } from "./spawnGate-BFJPdHCQ.js";
23
- import { i as launchTray } from "./trayApp-ChsZpZyQ.js";
8
+ import { a as updateGlobalPidStatus } from "./globalPidIndex-Dq4KY2IV.js";
9
+ import "./pidStore-Cmcc8Oej.js";
10
+ import { r as recordInbox } from "./messageLog-BYFwioFY.js";
11
+ import { t as pgidForWrapper } from "./reaper-C4BvNylH.js";
12
+ import "./e2e-CUMZC53I.js";
13
+ import "./configShared-DtHMBCl7.js";
14
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-BzDARJYP.js";
15
+ import { A as recentReadEdges, C as listRecords, D as readNotes, G as writeToIpc, M as renderRawLog, N as renderRawLogLines, O as readPtysize, P as resolveOne, Y as isTransientLockMkdirError, f as extractNeedsInput, j as renderLogTailLines, k as recentMessageEdges, l as deriveLiveStatus, o as controlCodeFromName, p as extractTaskCounts, rt as TYPING_BADGE, u as extractBadges, x as isUserTyping, z as snapshotStatus } from "./subcommands-CAYOfibe.js";
16
+ import "./webrtcLink-CS4D-3G1.js";
17
+ import "./remotes-BwytVgTX.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-BH4-6FVz.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-Bxuk_MOq.js";
21
+ import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-vhOBffJ3.js";
22
+ import { r as spawnRejectionReason } from "./spawnGate-BGaqQpMd.js";
23
+ import { i as launchTray } from "./trayApp-pBLHICYj.js";
24
24
  import yargs from "yargs";
25
25
  import { appendFile, mkdir, open, readFile, readdir, rename, rm, stat, unlink, writeFile } from "fs/promises";
26
26
  import { arch, cpus, freemem, homedir, hostname, loadavg, platform, totalmem, uptime, userInfo } from "os";
@@ -1201,7 +1201,7 @@ async function cmdServeDaemon(sub, args) {
1201
1201
  let shareLink = null;
1202
1202
  let shareLinkMinted = false;
1203
1203
  if (webrtcDaemon) try {
1204
- const { loadOrCreateShareRoom, shareLinkFromRoomUrl } = await import("./share-DchOdgBz.js");
1204
+ const { loadOrCreateShareRoom, shareLinkFromRoomUrl } = await import("./share-DOnynkf4.js");
1205
1205
  const explicit = explicitWebrtcUrl(effArgs);
1206
1206
  shareLink = shareLinkFromRoomUrl(explicit ?? await loadOrCreateShareRoom());
1207
1207
  shareLinkMinted = !explicit;
@@ -1210,7 +1210,7 @@ async function cmdServeDaemon(sub, args) {
1210
1210
  if (!webrtcDaemon) return;
1211
1211
  if (shareLink) {
1212
1212
  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` : ``));
1213
- const { offerOpenInBrowser } = await import("./openBrowser-DifNZwyn.js");
1213
+ const { offerOpenInBrowser } = await import("./openBrowser-D-aQjh3y.js");
1214
1214
  await offerOpenInBrowser(shareLink);
1215
1215
  } 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");
1216
1216
  };
@@ -2367,7 +2367,7 @@ Options:
2367
2367
  }
2368
2368
  });
2369
2369
  if (req.method === "GET" && p === "/api/ws") {
2370
- const ws = await import("./ws-DXmR5W2s.js");
2370
+ const ws = await import("./ws-833ph696.js");
2371
2371
  try {
2372
2372
  await ws.loadProvision();
2373
2373
  } catch (e) {
@@ -2387,7 +2387,7 @@ Options:
2387
2387
  if (req.method === "GET" && p === "/api/ws/status") {
2388
2388
  const dirRaw = url.searchParams.get("path");
2389
2389
  if (!dirRaw) return new Response("missing ?path=<workspace dir>", { status: 400 });
2390
- const ws = await import("./ws-DXmR5W2s.js");
2390
+ const ws = await import("./ws-833ph696.js");
2391
2391
  let prov;
2392
2392
  try {
2393
2393
  prov = await ws.loadProvision();
@@ -3144,7 +3144,7 @@ Options:
3144
3144
  const perm = body.perm ?? "r";
3145
3145
  if (perm !== "r" && perm !== "rw") return new Response(`invalid perm ${perm} (want r or rw)`, { status: 400 });
3146
3146
  try {
3147
- const { createScopedShare } = await import("./agentShare-B-UFJIE3.js");
3147
+ const { createScopedShare } = await import("./agentShare-JbxEAAIb.js");
3148
3148
  const share = await createScopedShare({
3149
3149
  agent: body.agent,
3150
3150
  perm,
@@ -3159,12 +3159,12 @@ Options:
3159
3159
  }
3160
3160
  }
3161
3161
  if (req.method === "GET" && p === "/api/shares") {
3162
- const { listShares } = await import("./agentShare-B-UFJIE3.js");
3162
+ const { listShares } = await import("./agentShare-JbxEAAIb.js");
3163
3163
  return Response.json(listShares());
3164
3164
  }
3165
3165
  const revokeM = /^\/api\/share\/([^/]+)$/.exec(p);
3166
3166
  if (req.method === "DELETE" && revokeM) {
3167
- const { revokeShare } = await import("./agentShare-B-UFJIE3.js");
3167
+ const { revokeShare } = await import("./agentShare-JbxEAAIb.js");
3168
3168
  const ok = revokeShare(decodeURIComponent(revokeM[1]));
3169
3169
  return new Response(ok ? "revoked" : "no such share", { status: ok ? 200 : 404 });
3170
3170
  }
@@ -3178,7 +3178,7 @@ Options:
3178
3178
  const port = Number(body.port);
3179
3179
  if (!Number.isInteger(port) || port < 1 || port > 65535) return new Response("valid port required", { status: 400 });
3180
3180
  try {
3181
- const { ensureExposure } = await import("./expose-BiJ-51Hm.js");
3181
+ const { ensureExposure } = await import("./expose-BG17GV7D.js");
3182
3182
  const h = await ensureExposure(port, body.relay);
3183
3183
  return Response.json({
3184
3184
  id: h.id,
@@ -3192,12 +3192,12 @@ Options:
3192
3192
  }
3193
3193
  }
3194
3194
  if (req.method === "GET" && p === "/api/exposes") {
3195
- const { listExposures } = await import("./expose-BiJ-51Hm.js");
3195
+ const { listExposures } = await import("./expose-BG17GV7D.js");
3196
3196
  return Response.json(listExposures());
3197
3197
  }
3198
3198
  const unexposeM = /^\/api\/expose\/(\d+)$/.exec(p);
3199
3199
  if (req.method === "DELETE" && unexposeM) {
3200
- const { stopExposure } = await import("./expose-BiJ-51Hm.js");
3200
+ const { stopExposure } = await import("./expose-BG17GV7D.js");
3201
3201
  const ok = stopExposure(Number(unexposeM[1]));
3202
3202
  return new Response(ok ? "revoked" : "no such exposure", { status: ok ? 200 : 404 });
3203
3203
  }
@@ -3416,7 +3416,7 @@ Options:
3416
3416
  const webrtcVal = argv.webrtc ?? argv.share;
3417
3417
  const explicitUrl = typeof webrtcVal === "string" && webrtcVal.startsWith("webrtc://") ? webrtcVal : void 0;
3418
3418
  try {
3419
- const { startShare, loadOrCreateShareRoom } = await import("./share-DchOdgBz.js");
3419
+ const { startShare, loadOrCreateShareRoom } = await import("./share-DOnynkf4.js");
3420
3420
  const linkFile = path.join(process.env.AGENT_YES_HOME ?? path.join(homedir(), ".agent-yes"), ".share-link");
3421
3421
  const announce = async (room, link, rotated) => {
3422
3422
  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)";
@@ -3424,7 +3424,7 @@ Options:
3424
3424
  const persistNote = explicitUrl ? "\n" : ` (persistent room — same link across restarts; delete ~/.agent-yes/.share-room to rotate)\n\n`;
3425
3425
  process.stdout.write(`${wantHttp ? "\n" : ""}${lead}:\n ${link}\n` + persistNote);
3426
3426
  if (!rotated) {
3427
- const { offerOpenInBrowser } = await import("./openBrowser-DifNZwyn.js");
3427
+ const { offerOpenInBrowser } = await import("./openBrowser-D-aQjh3y.js");
3428
3428
  await offerOpenInBrowser(link);
3429
3429
  }
3430
3430
  } else {
@@ -3466,7 +3466,7 @@ Options:
3466
3466
  const shutdown = (resolve) => {
3467
3467
  if (heartbeat) clearInterval(heartbeat);
3468
3468
  closeShare?.();
3469
- import("./agentShare-B-UFJIE3.js").then((m) => m.revokeAllShares()).catch(() => {});
3469
+ import("./agentShare-JbxEAAIb.js").then((m) => m.revokeAllShares()).catch(() => {});
3470
3470
  server?.stop();
3471
3471
  Promise.resolve(releaseHostLock?.()).catch(() => {}).then(resolve);
3472
3472
  };
@@ -3479,4 +3479,4 @@ Options:
3479
3479
 
3480
3480
  //#endregion
3481
3481
  export { cmdServe, loadTokenReadOnly, mintScopedTermToken, resolveDaemonHttpBase, resolveLocalServeUrl };
3482
- //# sourceMappingURL=serve-89Gzlv9n.js.map
3482
+ //# sourceMappingURL=serve-JNGfYmLT.js.map
@@ -1,4 +1,4 @@
1
- import { c as getWorkspaceRoot, p as setWorkspaceRoot } from "./workspaceConfig-CpilQzMY.js";
1
+ import { c as getWorkspaceRoot, p as setWorkspaceRoot } from "./workspaceConfig-Bxuk_MOq.js";
2
2
  import { existsSync } from "node:fs";
3
3
  import { stdin, stdout } from "node:process";
4
4
  import { createInterface } from "node:readline/promises";
@@ -32,7 +32,7 @@ async function cmdSetup(rest) {
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
  if (noShare) return 0;
34
34
  process.stdout.write(`\nsharing this machine to agent-yes.com…\n`);
35
- const { cmdServe } = await import("./serve-89Gzlv9n.js");
35
+ const { cmdServe } = await import("./serve-JNGfYmLT.js");
36
36
  return cmdServe([
37
37
  "install",
38
38
  "--share",
@@ -42,4 +42,4 @@ async function cmdSetup(rest) {
42
42
 
43
43
  //#endregion
44
44
  export { cmdSetup };
45
- //# sourceMappingURL=setup-B-ufpyWj.js.map
45
+ //# sourceMappingURL=setup-RVV6dnf3.js.map
@@ -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-CEIdJGZ7.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-CUMZC53I.js";
2
2
  import { mkdir, readFile, writeFile } from "fs/promises";
3
3
  import { homedir } from "os";
4
4
  import path from "path";
@@ -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-BGl3wutJ.js.map
630
+ //# sourceMappingURL=share-B-e_9WBx.js.map
@@ -1,4 +1,4 @@
1
- import "./e2e-CEIdJGZ7.js";
2
- import { a as startShare, i as shareLinkFromRoomUrl, n as importRTC, r as loadOrCreateShareRoom, t as getIceServers } from "./share-BGl3wutJ.js";
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";
3
3
 
4
4
  export { getIceServers, importRTC, loadOrCreateShareRoom, shareLinkFromRoomUrl, startShare };
@@ -1,5 +1,5 @@
1
- import { i as readGlobalPids } from "./globalPidIndex-D9DOSd-c.js";
2
- import { n as getMaxAgents, r as getMinFreeMb, s as getSpawnWaitMs } from "./workspaceConfig-CpilQzMY.js";
1
+ import { i as readGlobalPids } from "./globalPidIndex-Dq4KY2IV.js";
2
+ import { n as getMaxAgents, r as getMinFreeMb, s as getSpawnWaitMs } from "./workspaceConfig-Bxuk_MOq.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-BFJPdHCQ.js.map
107
+ //# sourceMappingURL=spawnGate-BGaqQpMd.js.map
@@ -0,0 +1,5 @@
1
+ import "./logger-CDIsZ-Pp.js";
2
+ import "./globalPidIndex-Dq4KY2IV.js";
3
+ import { i as waitForSpawnCapacity, n as spawnGateEnabled, r as spawnRejectionReason, t as memAvailableMb } from "./spawnGate-BGaqQpMd.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-Ck0XRn-K.js.map
214
+ //# sourceMappingURL=store-BW5NBouz.js.map
@@ -1,11 +1,11 @@
1
1
  import { t as invokedCliName } from "./invokedCli-uqM2YYA7.js";
2
2
  import { n as logger } from "./logger-CDIsZ-Pp.js";
3
3
  import { t as agentYesHome } from "./agentYesHome-CtmsY6I-.js";
4
- import { a as updateGlobalPidStatus, i as readGlobalPids } from "./globalPidIndex-D9DOSd-c.js";
5
- import { a as recordOutbox, i as recordMessage, n as readMailbox, t as partyMatches } from "./messageLog-C-YIzhRj.js";
6
- import { t as loadSharedCliDefaults } from "./configShared-IBbnn9b8.js";
7
- import { n as isWebrtcSpec } from "./webrtcLink-BMYneHbu.js";
8
- import { a as resolveRemoteSpec, i as readRemotes } from "./remotes-a0bGDae9.js";
4
+ import { a as updateGlobalPidStatus, i as readGlobalPids } from "./globalPidIndex-Dq4KY2IV.js";
5
+ import { a as recordOutbox, i as recordMessage, n as readMailbox, t as partyMatches } from "./messageLog-BYFwioFY.js";
6
+ import { t as loadSharedCliDefaults } from "./configShared-DtHMBCl7.js";
7
+ import { n as isWebrtcSpec } from "./webrtcLink-CS4D-3G1.js";
8
+ import { a as resolveRemoteSpec, i as readRemotes } from "./remotes-BwytVgTX.js";
9
9
  import ms from "ms";
10
10
  import yargs from "yargs";
11
11
  import { appendFile, mkdir, open, readFile, readdir, rename, rm, stat, writeFile } from "fs/promises";
@@ -1385,60 +1385,60 @@ async function runSubcommand(argv) {
1385
1385
  case "restart": return await cmdRestart(rest);
1386
1386
  case "note": return await cmdNote(rest);
1387
1387
  case "todo": {
1388
- const { runTodoSubcommand } = await import("./todoCli-4WIHwq-e.js");
1388
+ const { runTodoSubcommand } = await import("./todoCli-CaQDl5WR.js");
1389
1389
  return runTodoSubcommand(rest);
1390
1390
  }
1391
1391
  case "ch":
1392
1392
  case "channels": {
1393
- const { cmdCh } = await import("./channels-H4PBBker.js");
1393
+ const { cmdCh } = await import("./channels-BwpN_8mu.js");
1394
1394
  return cmdCh(rest);
1395
1395
  }
1396
1396
  case "term": {
1397
- const { cmdTerm } = await import("./terminal-83v9Uzt1.js");
1397
+ const { cmdTerm } = await import("./terminal-CkzqkAST.js");
1398
1398
  return cmdTerm(rest);
1399
1399
  }
1400
1400
  case "widget": {
1401
- const { cmdWidget } = await import("./widget-DcPvYum4.js");
1401
+ const { cmdWidget } = await import("./widget-C2_s8SHw.js");
1402
1402
  return cmdWidget(rest);
1403
1403
  }
1404
1404
  case "mint": {
1405
- const { cmdMint } = await import("./widget-DcPvYum4.js");
1405
+ const { cmdMint } = await import("./widget-C2_s8SHw.js");
1406
1406
  return cmdMint(rest);
1407
1407
  }
1408
1408
  case "serve": {
1409
- const { cmdServe } = await import("./serve-89Gzlv9n.js");
1409
+ const { cmdServe } = await import("./serve-JNGfYmLT.js");
1410
1410
  return cmdServe(rest);
1411
1411
  }
1412
1412
  case "tray": {
1413
- const { cmdTray } = await import("./trayApp-00UdHVbe.js");
1413
+ const { cmdTray } = await import("./trayApp-DmaV4IyV.js");
1414
1414
  return cmdTray(rest);
1415
1415
  }
1416
1416
  case "setup": {
1417
- const { cmdSetup } = await import("./setup-B-ufpyWj.js");
1417
+ const { cmdSetup } = await import("./setup-RVV6dnf3.js");
1418
1418
  return cmdSetup(rest);
1419
1419
  }
1420
1420
  case "ws": {
1421
- const { cmdWs } = await import("./ws-DXmR5W2s.js");
1421
+ const { cmdWs } = await import("./ws-833ph696.js");
1422
1422
  return cmdWs(rest);
1423
1423
  }
1424
1424
  case "schedule": {
1425
- const { cmdSchedule } = await import("./schedule-D8TWPJuH.js");
1425
+ const { cmdSchedule } = await import("./schedule-Otpou3Ni.js");
1426
1426
  return cmdSchedule(rest);
1427
1427
  }
1428
1428
  case "remote": {
1429
- const { cmdRemote } = await import("./remotes-DzPup1dS.js");
1429
+ const { cmdRemote } = await import("./remotes-C71bbp-g.js");
1430
1430
  return cmdRemote(rest);
1431
1431
  }
1432
1432
  case "expose": {
1433
- const { cmdExpose } = await import("./expose-BiJ-51Hm.js");
1433
+ const { cmdExpose } = await import("./expose-BG17GV7D.js");
1434
1434
  return cmdExpose(rest);
1435
1435
  }
1436
1436
  case "callback": {
1437
- const { cmdCallback } = await import("./callback-DsimZsq6.js");
1437
+ const { cmdCallback } = await import("./callback-CDZ0mSn8.js");
1438
1438
  return cmdCallback(rest);
1439
1439
  }
1440
1440
  case "reap":
1441
- await (await import("./reaper-IhkB_RO0.js")).sweep();
1441
+ await (await import("./reaper-B231i49s.js")).sweep();
1442
1442
  return 0;
1443
1443
  case "help": return cmdHelp(managerCommands);
1444
1444
  default: return null;
@@ -1852,7 +1852,7 @@ async function fetchRemoteRecordsRaw(url, token, opts) {
1852
1852
  let base = url;
1853
1853
  let bearer = token;
1854
1854
  if (isWebrtcSpec(url)) {
1855
- const { startWebrtcBridge } = await import("./webrtcRemote-DgoZGUr9.js");
1855
+ const { startWebrtcBridge } = await import("./webrtcRemote-BXmkHX-i.js");
1856
1856
  bridge = await startWebrtcBridge(url);
1857
1857
  base = bridge.baseUrl;
1858
1858
  bearer = bridge.token;
@@ -3844,7 +3844,7 @@ async function cmdAttach(rest) {
3844
3844
  const winsizeDir = path.join(ayHome, "winsize");
3845
3845
  await mkdir(winsizeDir, { recursive: true });
3846
3846
  const winsizePath = path.join(winsizeDir, String(record.pid));
3847
- const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-89Gzlv9n.js");
3847
+ const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-JNGfYmLT.js");
3848
3848
  const daemonBase = await resolveDaemonHttpBase().catch(() => null);
3849
3849
  const daemonToken = daemonBase ? await loadTokenReadOnly().catch(() => null) ?? "" : "";
3850
3850
  const capViewer = `attach:${process.pid}`;
@@ -4554,7 +4554,7 @@ async function cmdNotify(rest) {
4554
4554
  }
4555
4555
  const ensure = async () => {
4556
4556
  if (!argv["ensure-daemon"]) return;
4557
- const { ensureDaemon } = await import("./notifyDaemon-CnhKvdl7.js");
4557
+ const { ensureDaemon } = await import("./notifyDaemon-7udiA8IF.js");
4558
4558
  await ensureDaemon().catch(() => null);
4559
4559
  };
4560
4560
  await heartbeatWatcher(parent, selfStartedAt);
@@ -4628,7 +4628,7 @@ async function cmdNotifyCursor(args) {
4628
4628
  }
4629
4629
  async function cmdNotifyd(rest) {
4630
4630
  const sub = rest[0] ?? "status";
4631
- const daemon = await import("./notifyDaemon-CnhKvdl7.js");
4631
+ const daemon = await import("./notifyDaemon-7udiA8IF.js");
4632
4632
  switch (sub) {
4633
4633
  case "run": return daemon.runDaemon();
4634
4634
  case "once": return daemon.runDaemon({ once: true });
@@ -4655,4 +4655,4 @@ async function cmdNotifyd(rest) {
4655
4655
 
4656
4656
  //#endregion
4657
4657
  export { shouldStealLock as $, recentReadEdges as A, stdinActivityPath as B, listRecords as C, readNotes as D, readAgentPtysize as E, resolveReadWindow as F, writeToIpc as G, submitAndConfirm as H, resolveResumeArgs as I, hostId as J, appendEvent as K, restartHintLines as L, renderRawLog as M, renderRawLogLines as N, readPtysize as O, resolveOne as P, readInbox as Q, runSubcommand as R, lastStdinAt as S, menuSelectKeys as T, waitForLogQuiet as U, stopTipForCli as V, writeKeysPaced as W, listInboxParents as X, isTransientLockMkdirError as Y, liveWatchers as Z, isPidAlive as _, cmdHelp as a, isUnknownManagerToken as b, deriveLiveState as c, extractMenu as d, daemonLockDir as et, extractNeedsInput as f, isExitRequest as g, isAgentStuck as h, backoffWhileTyping as i, renderLogTailLines as j, recentMessageEdges as k, deriveLiveStatus as l, finalizedLines as m, READ_PAGE_DEFAULT as n, notifyDir as nt, controlCodeFromName as o, extractTaskCounts as p, gcInboxes as q, TYPING_WINDOW_MS as r, TYPING_BADGE as rt, cursorAbs as s, GRACEFUL_EXIT_COMMANDS as t, daemonLockOwnerPath as tt, extractBadges as u, isSlashCommand as v, matchKeyword as w, isUserTyping as x, isSubcommand as y, snapshotStatus as z };
4658
- //# sourceMappingURL=subcommands-Cz_tHj4P.js.map
4658
+ //# sourceMappingURL=subcommands-CAYOfibe.js.map
@@ -1,10 +1,10 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import "./globalPidIndex-D9DOSd-c.js";
3
- import "./messageLog-C-YIzhRj.js";
4
- import "./e2e-CEIdJGZ7.js";
5
- import "./configShared-IBbnn9b8.js";
6
- import { A as recentReadEdges, B as stdinActivityPath, C as listRecords, D as readNotes, E as readAgentPtysize, F as resolveReadWindow, G as writeToIpc, H as submitAndConfirm, I as resolveResumeArgs, L as restartHintLines, M as renderRawLog, N as renderRawLogLines, O as readPtysize, P as resolveOne, R as runSubcommand, S as lastStdinAt, T as menuSelectKeys, U as waitForLogQuiet, V as stopTipForCli, W as writeKeysPaced, _ as isPidAlive, a as cmdHelp, b as isUnknownManagerToken, c as deriveLiveState, d as extractMenu, f as extractNeedsInput, g as isExitRequest, h as isAgentStuck, i as backoffWhileTyping, j as renderLogTailLines, k as recentMessageEdges, l as deriveLiveStatus, m as finalizedLines, n as READ_PAGE_DEFAULT, o as controlCodeFromName, p as extractTaskCounts, r as TYPING_WINDOW_MS, s as cursorAbs, t as GRACEFUL_EXIT_COMMANDS, u as extractBadges, v as isSlashCommand, w as matchKeyword, x as isUserTyping, y as isSubcommand, z as snapshotStatus } from "./subcommands-Cz_tHj4P.js";
7
- import "./webrtcLink-BMYneHbu.js";
8
- import "./remotes-a0bGDae9.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 recentReadEdges, B as stdinActivityPath, C as listRecords, D as readNotes, E as readAgentPtysize, F as resolveReadWindow, G as writeToIpc, H as submitAndConfirm, I as resolveResumeArgs, L as restartHintLines, M as renderRawLog, N as renderRawLogLines, O as readPtysize, P as resolveOne, R as runSubcommand, S as lastStdinAt, T as menuSelectKeys, U as waitForLogQuiet, V as stopTipForCli, W as writeKeysPaced, _ as isPidAlive, a as cmdHelp, b as isUnknownManagerToken, c as deriveLiveState, d as extractMenu, f as extractNeedsInput, g as isExitRequest, h as isAgentStuck, i as backoffWhileTyping, j as renderLogTailLines, k as recentMessageEdges, l as deriveLiveStatus, m as finalizedLines, n as READ_PAGE_DEFAULT, o as controlCodeFromName, p as extractTaskCounts, r as TYPING_WINDOW_MS, s as cursorAbs, t as GRACEFUL_EXIT_COMMANDS, u as extractBadges, v as isSlashCommand, w as matchKeyword, x as isUserTyping, y as isSubcommand, z as snapshotStatus } from "./subcommands-CAYOfibe.js";
7
+ import "./webrtcLink-CS4D-3G1.js";
8
+ import "./remotes-BwytVgTX.js";
9
9
 
10
10
  export { cmdHelp, isSubcommand, isUnknownManagerToken, runSubcommand };
@@ -98,7 +98,7 @@ async function cmdTermMint(args) {
98
98
  if (flags.ro && flags.interactive) throw new Error("--ro and --interactive are mutually exclusive");
99
99
  const ttlSec = parseTtlSec(typeof flags.ttl === "string" ? flags.ttl : "15m");
100
100
  const canSend = flags.interactive === true;
101
- const { mintScopedTermToken } = await import("./serve-89Gzlv9n.js");
101
+ const { mintScopedTermToken } = await import("./serve-JNGfYmLT.js");
102
102
  const r = await mintScopedTermToken(pid, {
103
103
  ttlSec,
104
104
  canSend
@@ -135,4 +135,4 @@ async function cmdTerm(args) {
135
135
 
136
136
  //#endregion
137
137
  export { cmdTerm };
138
- //# sourceMappingURL=terminal-83v9Uzt1.js.map
138
+ //# sourceMappingURL=terminal-CkzqkAST.js.map
package/dist/terminal.js CHANGED
@@ -1,3 +1,3 @@
1
- import { t as AyTerminal } from "./browser-jKmGe4_X.js";
1
+ import { t as AyTerminal } from "./browser-DSduVZeZ.js";
2
2
 
3
3
  export { AyTerminal, AyTerminal as default };
@@ -1,7 +1,7 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
2
  import { _ as isKnownKind, a as renderTree, d as openStore, i as renderDigest, l as CycleError, n as buildTreeJSON, o as unblockedTasks, p as LIFECYCLES, s as describeBlock, t as reconcileTodos, x as removeControlCharacters } from "./todoAutomation-BQRW614S.js";
3
3
  import "./JsonlStore-CPGIR0Wy.js";
4
- import { i as readGlobalPids } from "./globalPidIndex-D9DOSd-c.js";
4
+ import { i as readGlobalPids } from "./globalPidIndex-Dq4KY2IV.js";
5
5
  import yargs from "yargs";
6
6
 
7
7
  //#region ts/todoCli.ts
@@ -456,4 +456,4 @@ async function runTodoSubcommand(rest0) {
456
456
 
457
457
  //#endregion
458
458
  export { runTodoSubcommand };
459
- //# sourceMappingURL=todoCli-4WIHwq-e.js.map
459
+ //# sourceMappingURL=todoCli-CaQDl5WR.js.map
@@ -187,4 +187,4 @@ async function startTray() {
187
187
 
188
188
  //#endregion
189
189
  export { ensureTray, startTray };
190
- //# sourceMappingURL=tray-LxRESrQs.js.map
190
+ //# sourceMappingURL=tray-d0GZiGI9.js.map
@@ -0,0 +1,5 @@
1
+ import "./versionChecker-BlwkAisS.js";
2
+ import "./rustBinary-Cd9DngDh.js";
3
+ import { a as trayHiddenMarker, i as launchTray, n as hasDesktop, r as isTrayHidden, t as cmdTray } from "./trayApp-pBLHICYj.js";
4
+
5
+ export { cmdTray };
@@ -1,4 +1,4 @@
1
- import { n as findTrayLauncher } from "./rustBinary-B7kmq5S0.js";
1
+ import { n as findTrayLauncher } from "./rustBinary-Cd9DngDh.js";
2
2
  import { t as agentYesHome } from "./agentYesHome-CtmsY6I-.js";
3
3
  import { existsSync } from "node:fs";
4
4
  import path from "node:path";
@@ -97,4 +97,4 @@ async function cmdTray(args) {
97
97
 
98
98
  //#endregion
99
99
  export { trayHiddenMarker as a, launchTray as i, hasDesktop as n, isTrayHidden as r, cmdTray as t };
100
- //# sourceMappingURL=trayApp-ChsZpZyQ.js.map
100
+ //# sourceMappingURL=trayApp-pBLHICYj.js.map
@@ -1,13 +1,13 @@
1
1
  import { n as __esmMin, r as __exportAll } from "./chunk-cZBX9HZv.js";
2
2
  import { n as logger, t as addTransport } from "./logger-CDIsZ-Pp.js";
3
- import { r as getInstalledPackage } from "./versionChecker-CKSvRBvj.js";
3
+ import { r as getInstalledPackage } from "./versionChecker-BlwkAisS.js";
4
4
  import { t as agentYesHome } from "./agentYesHome-CtmsY6I-.js";
5
5
  import { d as openStore, p as LIFECYCLES, x as removeControlCharacters } from "./todoAutomation-BQRW614S.js";
6
6
  import { i as shouldUseLock, r as releaseLock, t as acquireLock } from "./runningLock-DBoONoM-.js";
7
- import { i as readGlobalPids } from "./globalPidIndex-D9DOSd-c.js";
8
- import { t as PidStore } from "./pidStore-vnX0bgra.js";
9
- import { r as recordInbox } from "./messageLog-C-YIzhRj.js";
10
- import { n as register, r as sweep } from "./reaper-DP49VCKx.js";
7
+ import { i as readGlobalPids } from "./globalPidIndex-Dq4KY2IV.js";
8
+ import { t as PidStore } from "./pidStore-Cmcc8Oej.js";
9
+ import { r as recordInbox } from "./messageLog-BYFwioFY.js";
10
+ import { n as register, r as sweep } from "./reaper-C4BvNylH.js";
11
11
  import { arch, platform } from "process";
12
12
  import { execSync } from "child_process";
13
13
  import { closeSync, constants, createReadStream, existsSync, mkdirSync, openSync } from "fs";
@@ -1390,7 +1390,7 @@ async function answerAsk(projectRoot, taskId, answer) {
1390
1390
 
1391
1391
  //#endregion
1392
1392
  //#region ts/index.ts
1393
- const config = await import("./agent-yes.config-C8e9rNLW.js").then((mod) => mod.default || mod);
1393
+ const config = await import("./agent-yes.config-DzNini0E.js").then((mod) => mod.default || mod);
1394
1394
  const CLIS_CONFIG = config.clis;
1395
1395
  /**
1396
1396
  * Main function to run agent-cli with automatic yes/no responses
@@ -2155,4 +2155,4 @@ function sleep(ms) {
2155
2155
 
2156
2156
  //#endregion
2157
2157
  export { hasTodoStore as a, permissionBadge as c, answerAsk as i, AgentContext as l, agentYes as n, listAsks as o, config as r, listAsksForProject as s, CLIS_CONFIG as t, CLAUDE_SESSION_PIN_ENV as u };
2158
- //# sourceMappingURL=ts-B4LZq-x9.js.map
2158
+ //# sourceMappingURL=ts-DLM7M0W3.js.map
@@ -7,7 +7,7 @@ import { fileURLToPath } from "url";
7
7
 
8
8
  //#region package.json
9
9
  var name = "agent-yes";
10
- var version = "1.256.0";
10
+ var version = "1.256.1";
11
11
 
12
12
  //#endregion
13
13
  //#region ts/versionChecker.ts
@@ -215,4 +215,4 @@ async function displayVersion() {
215
215
 
216
216
  //#endregion
217
217
  export { versionString as i, displayVersion as n, getInstalledPackage as r, checkAndAutoUpdate as t };
218
- //# sourceMappingURL=versionChecker-CKSvRBvj.js.map
218
+ //# sourceMappingURL=versionChecker-BlwkAisS.js.map
@@ -1,4 +1,4 @@
1
- import { u as parseSecret } from "./e2e-CEIdJGZ7.js";
1
+ import { u as parseSecret } from "./e2e-CUMZC53I.js";
2
2
 
3
3
  //#region ts/webrtcLink.ts
4
4
  const SIGNAL_SUBPROTOCOL = "ay-signal-1";
@@ -42,4 +42,4 @@ function isWebrtcSpec(spec) {
42
42
 
43
43
  //#endregion
44
44
  export { isWebrtcSpec as n, parseWebrtcLink as r, SIGNAL_SUBPROTOCOL as t };
45
- //# sourceMappingURL=webrtcLink-BMYneHbu.js.map
45
+ //# sourceMappingURL=webrtcLink-CS4D-3G1.js.map
@@ -1,5 +1,5 @@
1
- import { a as computeTranscriptHash, c as open, d as randomHex, f as seal, l as packEnvelope, n as FLAG_CONFIRM, o as deriveAuthToken, p as unpackEnvelope, s as deriveDirKeys } from "./e2e-CEIdJGZ7.js";
2
- import { n as isWebrtcSpec, r as parseWebrtcLink, t as SIGNAL_SUBPROTOCOL } from "./webrtcLink-BMYneHbu.js";
1
+ import { a as computeTranscriptHash, c as open, d as randomHex, f as seal, l as packEnvelope, n as FLAG_CONFIRM, o as deriveAuthToken, p as unpackEnvelope, s as deriveDirKeys } from "./e2e-CUMZC53I.js";
2
+ import { n as isWebrtcSpec, r as parseWebrtcLink, t as SIGNAL_SUBPROTOCOL } from "./webrtcLink-CS4D-3G1.js";
3
3
  import { RTCPeerConnection } from "node-datachannel/polyfill";
4
4
 
5
5
  //#region ts/webrtcRemote.ts
@@ -256,4 +256,4 @@ async function startWebrtcBridge(link) {
256
256
 
257
257
  //#endregion
258
258
  export { startWebrtcBridge };
259
- //# sourceMappingURL=webrtcRemote-DgoZGUr9.js.map
259
+ //# sourceMappingURL=webrtcRemote-BXmkHX-i.js.map
@@ -28,7 +28,7 @@ function parseFlags(args, known) {
28
28
  }
29
29
  /** Resolve the local daemon base URL + token (flags override discovery). */
30
30
  async function daemonTarget(flags) {
31
- const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-89Gzlv9n.js");
31
+ const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-JNGfYmLT.js");
32
32
  const base = typeof flags.base === "string" ? flags.base : await resolveDaemonHttpBase();
33
33
  if (!base) throw new Error("no running ay serve daemon found — start `ay serve` or pass --base <url> (e.g. http://127.0.0.1:PORT)");
34
34
  const token = typeof flags.token === "string" ? flags.token : await loadTokenReadOnly() ?? "";
@@ -186,7 +186,7 @@ async function cmdMint(args) {
186
186
  const bad = caps.filter((c) => !KNOWN_CAPS.has(c));
187
187
  if (bad.length) throw new Error(`unknown cap(s): ${bad.join(", ")} (valid: ${[...KNOWN_CAPS].join(", ")})`);
188
188
  const ttlSec = parseTtlSec(typeof flags.ttl === "string" ? flags.ttl : "15m");
189
- const { mintScopedTermToken } = await import("./serve-89Gzlv9n.js");
189
+ const { mintScopedTermToken } = await import("./serve-JNGfYmLT.js");
190
190
  const r = await mintScopedTermToken(target, {
191
191
  ttlSec,
192
192
  caps
@@ -202,4 +202,4 @@ async function cmdMint(args) {
202
202
 
203
203
  //#endregion
204
204
  export { cmdMint, cmdWidget };
205
- //# sourceMappingURL=widget-DcPvYum4.js.map
205
+ //# sourceMappingURL=widget-C2_s8SHw.js.map
package/dist/widget.js CHANGED
@@ -142,7 +142,7 @@ var AyWidget = class {
142
142
  }
143
143
  async h2c(el, viewport, rect, unclipSelector) {
144
144
  const g = globalThis;
145
- const mod = await import("./html2canvas-pro.esm-BZqMtqU8.js");
145
+ const mod = await import("./html2canvas-pro.esm-cq4l_ZIw.js");
146
146
  const html2canvas = mod.default ?? mod;
147
147
  const opts = {
148
148
  backgroundColor: viewport ? "#ffffff" : null,
package/dist/widgets.js CHANGED
@@ -1,8 +1,8 @@
1
- import "./e2e-CEIdJGZ7.js";
2
- import "./channels-BiGUYTuz.js";
3
- import "./peer-B5JKF4BP.js";
4
- import { t as AyChannel } from "./browser-B3dOptjL.js";
5
- import { t as AyTerminal } from "./browser-jKmGe4_X.js";
1
+ import "./e2e-CUMZC53I.js";
2
+ import "./channels-yE1YUHCl.js";
3
+ import "./peer-DIl5xtx8.js";
4
+ import { t as AyChannel } from "./browser-B7eYrBy7.js";
5
+ import { t as AyTerminal } from "./browser-DSduVZeZ.js";
6
6
  import { AyWidget } from "./widget.js";
7
7
 
8
8
  export { AyChannel, AyTerminal, AyWidget };
@@ -215,4 +215,4 @@ function allowsSkipPermissions() {
215
215
 
216
216
  //#endregion
217
217
  export { getProvisionRoot as a, getWorkspaceRoot as c, isProvisionAllowed as d, resolveSpawnCwd as f, getProvisionHook as i, hasProvisionHook as l, getMaxAgents as n, getSpawnHook as o, setWorkspaceRoot as p, getMinFreeMb as r, getSpawnWaitMs as s, allowsSkipPermissions as t, hasSpawnHook as u };
218
- //# sourceMappingURL=workspaceConfig-CpilQzMY.js.map
218
+ //# sourceMappingURL=workspaceConfig-Bxuk_MOq.js.map