agent-yes 1.262.0-beta.625.1 → 1.262.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 (27) hide show
  1. package/dist/{SUPPORTED_CLIS-DEjq_2pf.js → SUPPORTED_CLIS-BFLGbQmm.js} +3 -3
  2. package/dist/{SUPPORTED_CLIS-BFWn3Ch_.js → SUPPORTED_CLIS-CjKxvhlh.js} +2 -2
  3. package/dist/{agentShare-BVKGlHMf.js → agentShare-LEETLOm1.js} +2 -2
  4. package/dist/{callback-le26KLuF.js → callback-CB3UjryF.js} +3 -3
  5. package/dist/{callback-CaBph6vJ.js → callback-lqCCgSy1.js} +2 -2
  6. package/dist/cli.js +5 -5
  7. package/dist/index.js +2 -2
  8. package/dist/{notifyDaemon-Bc2otuNE.js → notifyDaemon-P6Q7Eo_B.js} +2 -2
  9. package/dist/{rustBinary-BtGVAnEi.js → rustBinary-_qRGhAa5.js} +2 -2
  10. package/dist/{schedule-D1_zb-h7.js → schedule-ChAdx2h6.js} +4 -4
  11. package/dist/{serve-COtnS9Hg.js → serve-DhtgWGZB.js} +17 -17
  12. package/dist/{setup-Czv0Hcd5.js → setup-BlJRaODn.js} +2 -2
  13. package/dist/subcommands-D6O9uRvN.js +10 -0
  14. package/dist/{subcommands-B7TiSxUt.js → subcommands-Zk3brdKt.js} +17 -78
  15. package/dist/{terminal-BYFT2uG0.js → terminal-BVWhnQUf.js} +2 -2
  16. package/dist/trayApp-C6U7Hghi.js +5 -0
  17. package/dist/{trayApp-cw25cAyO.js → trayApp-DtThjl0_.js} +2 -2
  18. package/dist/{ts-DHyghJ6S.js → ts-BqaOPFCQ.js} +2 -2
  19. package/dist/{versionChecker-DlmgNzef.js → versionChecker-D-WLKAN6.js} +2 -2
  20. package/dist/{widget-Di4RbxAl.js → widget-CJyd9t8k.js} +3 -3
  21. package/dist/{ws-B_2CvwjK.js → ws-Vy3mBjNm.js} +2 -2
  22. package/dist/{ws-D267JE5o.js → ws-mG4yeZu8.js} +2 -2
  23. package/package.json +1 -2
  24. package/ts/subcommands.ts +1 -109
  25. package/dist/subcommands-kxK5fpF5.js +0 -10
  26. package/dist/trayApp-x_s_GmCl.js +0 -5
  27. package/scripts/deepseek-codex.ts +0 -580
@@ -1,11 +1,11 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import "./versionChecker-DlmgNzef.js";
3
- import "./ts-DHyghJ6S.js";
2
+ import "./versionChecker-D-WLKAN6.js";
3
+ import "./ts-BqaOPFCQ.js";
4
4
  import "./todoAutomation-BQRW614S.js";
5
5
  import "./JsonlStore-CPGIR0Wy.js";
6
6
  import "./globalPidIndex-pwp7Vb7o.js";
7
7
  import "./pidStore-DfSm1jog.js";
8
8
  import "./messageLog-BYFwioFY.js";
9
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-BFWn3Ch_.js";
9
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CjKxvhlh.js";
10
10
 
11
11
  export { SUPPORTED_CLIS };
@@ -1,8 +1,8 @@
1
- import { t as CLIS_CONFIG } from "./ts-DHyghJ6S.js";
1
+ import { t as CLIS_CONFIG } from "./ts-BqaOPFCQ.js";
2
2
 
3
3
  //#region ts/SUPPORTED_CLIS.ts
4
4
  const SUPPORTED_CLIS = Object.keys(CLIS_CONFIG);
5
5
 
6
6
  //#endregion
7
7
  export { SUPPORTED_CLIS as t };
8
- //# sourceMappingURL=SUPPORTED_CLIS-BFWn3Ch_.js.map
8
+ //# sourceMappingURL=SUPPORTED_CLIS-CjKxvhlh.js.map
@@ -3,7 +3,7 @@ import "./globalPidIndex-pwp7Vb7o.js";
3
3
  import "./messageLog-BYFwioFY.js";
4
4
  import "./e2e-CUMZC53I.js";
5
5
  import "./configShared-DtHMBCl7.js";
6
- import { L as resolveOne } from "./subcommands-B7TiSxUt.js";
6
+ import { I as resolveOne } from "./subcommands-Zk3brdKt.js";
7
7
  import "./webrtcLink-CS4D-3G1.js";
8
8
  import "./remotes-Cn-wszbK.js";
9
9
  import { a as startShare } from "./share-B-e_9WBx.js";
@@ -229,4 +229,4 @@ function transformEvent(rawEvent, agentId, forwarded) {
229
229
 
230
230
  //#endregion
231
231
  export { createScopedShare, listShares, revokeAllShares, revokeShare };
232
- //# sourceMappingURL=agentShare-BVKGlHMf.js.map
232
+ //# sourceMappingURL=agentShare-LEETLOm1.js.map
@@ -1,5 +1,5 @@
1
1
  import { t as agentYesHome } from "./agentYesHome-CtmsY6I-.js";
2
- import { L as resolveOne } from "./subcommands-B7TiSxUt.js";
2
+ import { I as resolveOne } from "./subcommands-Zk3brdKt.js";
3
3
  import { a as mintCapability, o as parseExpires } from "./callbackCore-Cg3Ye0ZS.js";
4
4
  import { randomBytes } from "node:crypto";
5
5
  import { chmodSync, readFileSync, renameSync, writeFileSync } from "node:fs";
@@ -72,7 +72,7 @@ async function resolveBase(flag) {
72
72
  if (flag) return flag;
73
73
  if (process.env.AGENT_YES_CALLBACK_BASE) return process.env.AGENT_YES_CALLBACK_BASE;
74
74
  try {
75
- const { resolveLocalServeUrl } = await import("./serve-COtnS9Hg.js");
75
+ const { resolveLocalServeUrl } = await import("./serve-DhtgWGZB.js");
76
76
  const url = await resolveLocalServeUrl();
77
77
  if (url) return url;
78
78
  } catch {}
@@ -187,4 +187,4 @@ async function cmdCallback(rest) {
187
187
 
188
188
  //#endregion
189
189
  export { loadOrCreateCallbackSecret as i, isCallbackRevoked as n, loadCallbackSecretReadOnly as r, cmdCallback as t };
190
- //# sourceMappingURL=callback-le26KLuF.js.map
190
+ //# sourceMappingURL=callback-CB3UjryF.js.map
@@ -3,10 +3,10 @@ import "./globalPidIndex-pwp7Vb7o.js";
3
3
  import "./messageLog-BYFwioFY.js";
4
4
  import "./e2e-CUMZC53I.js";
5
5
  import "./configShared-DtHMBCl7.js";
6
- import "./subcommands-B7TiSxUt.js";
6
+ import "./subcommands-Zk3brdKt.js";
7
7
  import "./webrtcLink-CS4D-3G1.js";
8
8
  import "./remotes-Cn-wszbK.js";
9
9
  import "./callbackCore-Cg3Ye0ZS.js";
10
- import { i as loadOrCreateCallbackSecret, n as isCallbackRevoked, r as loadCallbackSecretReadOnly, t as cmdCallback } from "./callback-le26KLuF.js";
10
+ import { i as loadOrCreateCallbackSecret, n as isCallbackRevoked, r as loadCallbackSecretReadOnly, t as cmdCallback } from "./callback-CB3UjryF.js";
11
11
 
12
12
  export { cmdCallback };
package/dist/cli.js CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bun
2
2
  import { t as invokedCliName } from "./invokedCli-uqM2YYA7.js";
3
3
  import { n as logger } from "./logger-CDIsZ-Pp.js";
4
- import { i as versionString, n as displayVersion, t as checkAndAutoUpdate } from "./versionChecker-DlmgNzef.js";
5
- import { r as getRustBinary } from "./rustBinary-BtGVAnEi.js";
4
+ import { i as versionString, n as displayVersion, t as checkAndAutoUpdate } from "./versionChecker-D-WLKAN6.js";
5
+ import { r as getRustBinary } from "./rustBinary-_qRGhAa5.js";
6
6
  import { argv } from "process";
7
7
  import { spawn } from "child_process";
8
8
  import ms from "ms";
@@ -295,7 +295,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
295
295
  const rawArg = process.argv[2];
296
296
  const managerCommands = !invokedCliName(process.argv);
297
297
  const isHelpFlag = rawArg === "-h" || rawArg === "--help";
298
- const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken } = await import("./subcommands-kxK5fpF5.js");
298
+ const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken } = await import("./subcommands-D6O9uRvN.js");
299
299
  if (isHelpFlag && process.argv.length === 3) {
300
300
  await cmdHelp(managerCommands);
301
301
  process.exit(0);
@@ -305,7 +305,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
305
305
  process.exit(code ?? 0);
306
306
  }
307
307
  {
308
- const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-DEjq_2pf.js");
308
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-BFLGbQmm.js");
309
309
  if (isUnknownManagerToken(rawArg, managerCommands, SUPPORTED_CLIS)) {
310
310
  process.stderr.write(`ay: unknown subcommand or CLI '${rawArg}'.\n See 'ay help' for subcommands. To run an agent, name a CLI:\n 'ay <cli> …' (e.g. 'ay claude …') or 'ay --cli <cli> …'.\n`);
311
311
  process.exit(1);
@@ -356,7 +356,7 @@ if (config.useRust) {
356
356
  }
357
357
  }
358
358
  if (rustBinary) {
359
- const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-DEjq_2pf.js");
359
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-BFLGbQmm.js");
360
360
  const rustArgs = buildRustArgs(process.argv, config.cli, SUPPORTED_CLIS);
361
361
  if (config.verbose) {
362
362
  console.log(`[rust] Using binary: ${rustBinary}`);
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import "./versionChecker-DlmgNzef.js";
3
- import { a as hasTodoStore, i as answerAsk, l as AgentContext, n as agentYes, o as listAsks, r as config, s as listAsksForProject, t as CLIS_CONFIG } from "./ts-DHyghJ6S.js";
2
+ import "./versionChecker-D-WLKAN6.js";
3
+ import { a as hasTodoStore, i as answerAsk, l as AgentContext, n as agentYes, o as listAsks, r as config, s as listAsksForProject, t as CLIS_CONFIG } from "./ts-BqaOPFCQ.js";
4
4
  import { _ as isKnownKind, a as renderTree, b as statesOf, c as monitorHint, d as openStore, f as DONE_STATE, g as initialState, h as canTransition, i as renderDigest, l as CycleError, m as ORPHANED_STATE, o as unblockedTasks, p as LIFECYCLES, r as openBlockers, s as describeBlock, t as reconcileTodos, u as TodoStore, v as nextStates, x as removeControlCharacters, y as requiredGate } from "./todoAutomation-BQRW614S.js";
5
5
  import "./JsonlStore-CPGIR0Wy.js";
6
6
  import "./globalPidIndex-pwp7Vb7o.js";
@@ -3,7 +3,7 @@ import "./globalPidIndex-pwp7Vb7o.js";
3
3
  import "./messageLog-BYFwioFY.js";
4
4
  import "./e2e-CUMZC53I.js";
5
5
  import "./configShared-DtHMBCl7.js";
6
- import { $ as listInboxParents, P as renderLogTailLines, T as listRecords, X as gcInboxes, Y as appendEvent, Z as hostId, at as notifyDir, et as liveWatchers, it as daemonLockOwnerPath, nt as shouldStealLock, rt as daemonLockDir, tt as readInbox, u as deriveLiveState, y as isPidAlive } from "./subcommands-B7TiSxUt.js";
6
+ import { $ as liveWatchers, J as appendEvent, N as renderLogTailLines, Q as listInboxParents, X as hostId, Y as gcInboxes, et as readInbox, it as notifyDir, l as deriveLiveState, nt as daemonLockDir, rt as daemonLockOwnerPath, tt as shouldStealLock, v as isPidAlive, w as listRecords } from "./subcommands-Zk3brdKt.js";
7
7
  import "./webrtcLink-CS4D-3G1.js";
8
8
  import "./remotes-Cn-wszbK.js";
9
9
  import { mkdir, readFile, rename, rm, stat, writeFile } from "fs/promises";
@@ -836,4 +836,4 @@ async function ensureDaemon() {
836
836
 
837
837
  //#endregion
838
838
  export { daemonStatus, ensureDaemon, requestDaemonStop, runDaemon };
839
- //# sourceMappingURL=notifyDaemon-Bc2otuNE.js.map
839
+ //# sourceMappingURL=notifyDaemon-P6Q7Eo_B.js.map
@@ -1,4 +1,4 @@
1
- import { r as getInstalledPackage } from "./versionChecker-DlmgNzef.js";
1
+ import { r as getInstalledPackage } from "./versionChecker-D-WLKAN6.js";
2
2
  import { execFileSync } from "child_process";
3
3
  import { existsSync, mkdirSync, unlinkSync } from "fs";
4
4
  import { chmod, copyFile } from "fs/promises";
@@ -243,4 +243,4 @@ async function getRustBinary(options = {}) {
243
243
 
244
244
  //#endregion
245
245
  export { findTrayLauncher as n, getRustBinary as r, findSpawnHiddenLauncher as t };
246
- //# sourceMappingURL=rustBinary-BtGVAnEi.js.map
246
+ //# sourceMappingURL=rustBinary-_qRGhAa5.js.map
@@ -1,12 +1,12 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import "./versionChecker-DlmgNzef.js";
3
- import "./ts-DHyghJ6S.js";
2
+ import "./versionChecker-D-WLKAN6.js";
3
+ import "./ts-BqaOPFCQ.js";
4
4
  import "./todoAutomation-BQRW614S.js";
5
5
  import "./JsonlStore-CPGIR0Wy.js";
6
6
  import "./globalPidIndex-pwp7Vb7o.js";
7
7
  import "./pidStore-DfSm1jog.js";
8
8
  import "./messageLog-BYFwioFY.js";
9
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-BFWn3Ch_.js";
9
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CjKxvhlh.js";
10
10
  import { f as resolveSpawnCwd } from "./workspaceConfig-Bxuk_MOq.js";
11
11
  import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-vhOBffJ3.js";
12
12
  import { createHash } from "node:crypto";
@@ -153,4 +153,4 @@ async function cmdSchedule(rest) {
153
153
 
154
154
  //#endregion
155
155
  export { cmdSchedule };
156
- //# sourceMappingURL=schedule-D1_zb-h7.js.map
156
+ //# sourceMappingURL=schedule-ChAdx2h6.js.map
@@ -1,7 +1,7 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import { r as getInstalledPackage } from "./versionChecker-DlmgNzef.js";
3
- import { t as findSpawnHiddenLauncher } from "./rustBinary-BtGVAnEi.js";
4
- import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-DHyghJ6S.js";
2
+ import { r as getInstalledPackage } from "./versionChecker-D-WLKAN6.js";
3
+ import { t as findSpawnHiddenLauncher } from "./rustBinary-_qRGhAa5.js";
4
+ import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-BqaOPFCQ.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,17 @@ 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-BFWn3Ch_.js";
15
- import { A as readNotes, C as isUserTyping, F as renderRawLog, H as snapshotStatus, I as renderRawLogLines, J as writeToIpc, L as resolveOne, M as recentMessageEdges, N as recentReadEdges, P as renderLogTailLines, Q as isTransientLockMkdirError, T as listRecords, c as controlCodeFromName, d as deriveLiveStatus, f as extractBadges, h as extractTaskCounts, j as readPtysize, k as readLogForRender, m as extractNeedsInput, ot as TYPING_BADGE } from "./subcommands-B7TiSxUt.js";
14
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CjKxvhlh.js";
15
+ import { A as readPtysize, F as renderRawLogLines, I as resolveOne, M as recentReadEdges, N as renderLogTailLines, O as readLogForRender, P as renderRawLog, S as isUserTyping, V as snapshotStatus, Z as isTransientLockMkdirError, at as TYPING_BADGE, d as extractBadges, j as recentMessageEdges, k as readNotes, m as extractTaskCounts, p as extractNeedsInput, q as writeToIpc, s as controlCodeFromName, u as deriveLiveStatus, w as listRecords } from "./subcommands-Zk3brdKt.js";
16
16
  import "./webrtcLink-CS4D-3G1.js";
17
17
  import "./remotes-Cn-wszbK.js";
18
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-le26KLuF.js";
19
+ import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-CB3UjryF.js";
20
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
21
  import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-vhOBffJ3.js";
22
- import { i as importProvisionModule } from "./ws-B_2CvwjK.js";
22
+ import { i as importProvisionModule } from "./ws-Vy3mBjNm.js";
23
23
  import { r as spawnRejectionReason } from "./spawnGate-D-68B907.js";
24
- import { i as launchTray } from "./trayApp-cw25cAyO.js";
24
+ import { i as launchTray } from "./trayApp-DtThjl0_.js";
25
25
  import yargs from "yargs";
26
26
  import { appendFile, mkdir, open, readFile, readdir, rename, rm, stat, unlink, writeFile } from "fs/promises";
27
27
  import { arch, cpus, freemem, homedir, hostname, loadavg, platform, totalmem, uptime, userInfo } from "os";
@@ -2395,7 +2395,7 @@ Options:
2395
2395
  }
2396
2396
  });
2397
2397
  if (req.method === "GET" && p === "/api/ws") {
2398
- const ws = await import("./ws-D267JE5o.js");
2398
+ const ws = await import("./ws-mG4yeZu8.js");
2399
2399
  try {
2400
2400
  await ws.loadProvision();
2401
2401
  } catch (e) {
@@ -2415,7 +2415,7 @@ Options:
2415
2415
  if (req.method === "GET" && p === "/api/ws/status") {
2416
2416
  const dirRaw = url.searchParams.get("path");
2417
2417
  if (!dirRaw) return new Response("missing ?path=<workspace dir>", { status: 400 });
2418
- const ws = await import("./ws-D267JE5o.js");
2418
+ const ws = await import("./ws-mG4yeZu8.js");
2419
2419
  let prov;
2420
2420
  try {
2421
2421
  prov = await ws.loadProvision();
@@ -2437,7 +2437,7 @@ Options:
2437
2437
  }
2438
2438
  }
2439
2439
  if (req.method === "GET" && p === "/api/ws/repos") {
2440
- const ws = await import("./ws-D267JE5o.js");
2440
+ const ws = await import("./ws-mG4yeZu8.js");
2441
2441
  try {
2442
2442
  await ws.loadProvision();
2443
2443
  } catch (e) {
@@ -2518,7 +2518,7 @@ Options:
2518
2518
  const m = /^([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+)$/.exec(repoParam);
2519
2519
  if (!m || m[1] === "." || m[1] === ".." || m[2] === "." || m[2] === "..") return new Response("missing/invalid ?repo=<owner>/<repo>", { status: 400 });
2520
2520
  const [, owner, repo] = m;
2521
- const ws = await import("./ws-D267JE5o.js");
2521
+ const ws = await import("./ws-mG4yeZu8.js");
2522
2522
  let prov;
2523
2523
  try {
2524
2524
  prov = await ws.loadProvision();
@@ -3314,7 +3314,7 @@ Options:
3314
3314
  const perm = body.perm ?? "r";
3315
3315
  if (perm !== "r" && perm !== "rw") return new Response(`invalid perm ${perm} (want r or rw)`, { status: 400 });
3316
3316
  try {
3317
- const { createScopedShare } = await import("./agentShare-BVKGlHMf.js");
3317
+ const { createScopedShare } = await import("./agentShare-LEETLOm1.js");
3318
3318
  const share = await createScopedShare({
3319
3319
  agent: body.agent,
3320
3320
  perm,
@@ -3329,12 +3329,12 @@ Options:
3329
3329
  }
3330
3330
  }
3331
3331
  if (req.method === "GET" && p === "/api/shares") {
3332
- const { listShares } = await import("./agentShare-BVKGlHMf.js");
3332
+ const { listShares } = await import("./agentShare-LEETLOm1.js");
3333
3333
  return Response.json(listShares());
3334
3334
  }
3335
3335
  const revokeM = /^\/api\/share\/([^/]+)$/.exec(p);
3336
3336
  if (req.method === "DELETE" && revokeM) {
3337
- const { revokeShare } = await import("./agentShare-BVKGlHMf.js");
3337
+ const { revokeShare } = await import("./agentShare-LEETLOm1.js");
3338
3338
  const ok = revokeShare(decodeURIComponent(revokeM[1]));
3339
3339
  return new Response(ok ? "revoked" : "no such share", { status: ok ? 200 : 404 });
3340
3340
  }
@@ -3636,7 +3636,7 @@ Options:
3636
3636
  const shutdown = (resolve) => {
3637
3637
  if (heartbeat) clearInterval(heartbeat);
3638
3638
  closeShare?.();
3639
- import("./agentShare-BVKGlHMf.js").then((m) => m.revokeAllShares()).catch(() => {});
3639
+ import("./agentShare-LEETLOm1.js").then((m) => m.revokeAllShares()).catch(() => {});
3640
3640
  server?.stop();
3641
3641
  Promise.resolve(releaseHostLock?.()).catch(() => {}).then(resolve);
3642
3642
  };
@@ -3649,4 +3649,4 @@ Options:
3649
3649
 
3650
3650
  //#endregion
3651
3651
  export { cmdServe, loadTokenReadOnly, mintScopedTermToken, resolveDaemonHttpBase, resolveLocalServeUrl };
3652
- //# sourceMappingURL=serve-COtnS9Hg.js.map
3652
+ //# sourceMappingURL=serve-DhtgWGZB.js.map
@@ -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-COtnS9Hg.js");
43
+ const { cmdServe } = await import("./serve-DhtgWGZB.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-Czv0Hcd5.js.map
53
+ //# sourceMappingURL=setup-BlJRaODn.js.map
@@ -0,0 +1,10 @@
1
+ import "./logger-CDIsZ-Pp.js";
2
+ import "./globalPidIndex-pwp7Vb7o.js";
3
+ import "./messageLog-BYFwioFY.js";
4
+ import "./e2e-CUMZC53I.js";
5
+ import "./configShared-DtHMBCl7.js";
6
+ import { A as readPtysize, B as runSubcommand, C as lastStdinAt, D as readAgentPtysize, E as menuSelectKeys, F as renderRawLogLines, G as waitForLogQuiet, H as stdinActivityPath, I as resolveOne, K as writeKeysPaced, L as resolveReadWindow, M as recentReadEdges, N as renderLogTailLines, O as readLogForRender, P as renderRawLog, R as resolveResumeArgs, S as isUserTyping, T as matchKeyword, U as stopTipForCli, V as snapshotStatus, W as submitAndConfirm, _ as isExitRequest, a as backoffWhileTyping, b as isSubcommand, c as cursorAbs, d as extractBadges, f as extractMenu, g as isAgentStuck, h as finalizedLines, i as TYPING_WINDOW_MS, j as recentMessageEdges, k as readNotes, l as deriveLiveState, m as extractTaskCounts, n as MAX_RENDER_BYTES, o as cmdHelp, p as extractNeedsInput, q as writeToIpc, r as READ_PAGE_DEFAULT, s as controlCodeFromName, t as GRACEFUL_EXIT_COMMANDS, u as deriveLiveStatus, v as isPidAlive, w as listRecords, x as isUnknownManagerToken, y as isSlashCommand, z as restartHintLines } from "./subcommands-Zk3brdKt.js";
7
+ import "./webrtcLink-CS4D-3G1.js";
8
+ import "./remotes-Cn-wszbK.js";
9
+
10
+ export { cmdHelp, isSubcommand, isUnknownManagerToken, runSubcommand };
@@ -6,7 +6,6 @@ import { a as recordOutbox, i as recordMessage, n as readMailbox, t as partyMatc
6
6
  import { t as loadSharedCliDefaults } from "./configShared-DtHMBCl7.js";
7
7
  import { n as isWebrtcSpec } from "./webrtcLink-CS4D-3G1.js";
8
8
  import { a as resolveRemoteSpec, i as readRemotes } from "./remotes-Cn-wszbK.js";
9
- import { spawn } from "child_process";
10
9
  import ms from "ms";
11
10
  import yargs from "yargs";
12
11
  import { appendFile, mkdir, open, readFile, readdir, rename, rm, stat, writeFile } from "fs/promises";
@@ -14,7 +13,6 @@ import { homedir } from "os";
14
13
  import path from "path";
15
14
  import { randomUUID } from "node:crypto";
16
15
  import os$1 from "node:os";
17
- import { fileURLToPath } from "node:url";
18
16
  import { randomBytes as randomBytes$1 } from "crypto";
19
17
 
20
18
  //#region ts/agentTree.ts
@@ -1320,8 +1318,6 @@ const SUBCOMMANDS = new Set([
1320
1318
  "expose",
1321
1319
  "callback",
1322
1320
  "reap",
1323
- "deepseek",
1324
- "ds",
1325
1321
  "help"
1326
1322
  ]);
1327
1323
  const MANAGER_SUBCOMMANDS = new Set(["setup", "ws"]);
@@ -1363,28 +1359,6 @@ function isUnknownManagerToken(rawArg, managerCommands, supportedClis) {
1363
1359
  return !supportedClis.includes(rawArg);
1364
1360
  }
1365
1361
  /**
1366
- * Write to stdout and wait until it has actually been handed off.
1367
- *
1368
- * The CLI ends with `process.exit()`, which DISCARDS bytes still sitting in the
1369
- * pipe buffer. Writing to a file completes synchronously so this never showed
1370
- * there, but any consumer that PIPES us silently lost everything past 64KiB.
1371
- * Measured on `ay ls --json` with a large fleet (symval CTO, 2026-08-05):
1372
- *
1373
- * ay ls --json > file 118055 bytes, valid JSON
1374
- * ay ls --json | consumer 65536 bytes, cut mid-multibyte — will not parse
1375
- *
1376
- * The truncation is invisible to the caller: it looks exactly like a small
1377
- * fleet, and an orchestrator that parses this reported 27 of 71 agents.
1378
- *
1379
- * Only capturing the REAL write's completion works. Probing afterwards with an
1380
- * empty `write("")` — by return value, by drain event, or by callback — reports
1381
- * ready while the big write is still queued (all three verified failing), so do
1382
- * not "simplify" this into a flush helper at the exit site.
1383
- */
1384
- async function writeStdoutFlushed(text) {
1385
- if (process.stdout.write(text) === false) await Promise.race([new Promise((resolve) => process.stdout.once("drain", () => resolve())), new Promise((resolve) => setTimeout(resolve, 2e3))]);
1386
- }
1387
- /**
1388
1362
  * Top-level entry. Returns the desired process exit code, or null if argv
1389
1363
  * is not a subcommand invocation.
1390
1364
  */
@@ -1428,35 +1402,35 @@ async function runSubcommand(argv) {
1428
1402
  return cmdCh(rest);
1429
1403
  }
1430
1404
  case "term": {
1431
- const { cmdTerm } = await import("./terminal-BYFT2uG0.js");
1405
+ const { cmdTerm } = await import("./terminal-BVWhnQUf.js");
1432
1406
  return cmdTerm(rest);
1433
1407
  }
1434
1408
  case "widget": {
1435
- const { cmdWidget } = await import("./widget-Di4RbxAl.js");
1409
+ const { cmdWidget } = await import("./widget-CJyd9t8k.js");
1436
1410
  return cmdWidget(rest);
1437
1411
  }
1438
1412
  case "mint": {
1439
- const { cmdMint } = await import("./widget-Di4RbxAl.js");
1413
+ const { cmdMint } = await import("./widget-CJyd9t8k.js");
1440
1414
  return cmdMint(rest);
1441
1415
  }
1442
1416
  case "serve": {
1443
- const { cmdServe } = await import("./serve-COtnS9Hg.js");
1417
+ const { cmdServe } = await import("./serve-DhtgWGZB.js");
1444
1418
  return cmdServe(rest);
1445
1419
  }
1446
1420
  case "tray": {
1447
- const { cmdTray } = await import("./trayApp-x_s_GmCl.js");
1421
+ const { cmdTray } = await import("./trayApp-C6U7Hghi.js");
1448
1422
  return cmdTray(rest);
1449
1423
  }
1450
1424
  case "setup": {
1451
- const { cmdSetup } = await import("./setup-Czv0Hcd5.js");
1425
+ const { cmdSetup } = await import("./setup-BlJRaODn.js");
1452
1426
  return cmdSetup(rest);
1453
1427
  }
1454
1428
  case "ws": {
1455
- const { cmdWs } = await import("./ws-D267JE5o.js");
1429
+ const { cmdWs } = await import("./ws-mG4yeZu8.js");
1456
1430
  return cmdWs(rest);
1457
1431
  }
1458
1432
  case "schedule": {
1459
- const { cmdSchedule } = await import("./schedule-D1_zb-h7.js");
1433
+ const { cmdSchedule } = await import("./schedule-ChAdx2h6.js");
1460
1434
  return cmdSchedule(rest);
1461
1435
  }
1462
1436
  case "remote": {
@@ -1468,14 +1442,12 @@ async function runSubcommand(argv) {
1468
1442
  return cmdExpose(rest);
1469
1443
  }
1470
1444
  case "callback": {
1471
- const { cmdCallback } = await import("./callback-CaBph6vJ.js");
1445
+ const { cmdCallback } = await import("./callback-lqCCgSy1.js");
1472
1446
  return cmdCallback(rest);
1473
1447
  }
1474
1448
  case "reap":
1475
1449
  await (await import("./reaper-B231i49s.js")).sweep();
1476
1450
  return 0;
1477
- case "deepseek":
1478
- case "ds": return cmdDeepseek(rest);
1479
1451
  case "help": return cmdHelp(managerCommands);
1480
1452
  default: return null;
1481
1453
  }
@@ -1486,37 +1458,6 @@ async function runSubcommand(argv) {
1486
1458
  }
1487
1459
  }
1488
1460
  /**
1489
- * `ay deepseek [-- <args>…]` / `ay ds …`: run the local DeepSeek adapter that
1490
- * bridges Codex's Responses API to DeepSeek's chat completions, then spawn
1491
- * `codex` pointed at it. The adapter script lives in this package's
1492
- * `scripts/deepseek-codex.ts` and is Bun-only (Bun.serve / Bun.spawn), so it is
1493
- * re-exec'd via the same bun runtime that's running us — never imported into
1494
- * this process. Extra args are forwarded verbatim to `codex`.
1495
- */
1496
- function cmdDeepseek(rest) {
1497
- const root = path.join(path.dirname(fileURLToPath(import.meta.url)), "..");
1498
- const script = path.join(root, "scripts", "deepseek-codex.ts");
1499
- const child = spawn(process.execPath.split(/[/\\]/).at(-1)?.startsWith("bun") ? process.execPath : "bun", [script, ...rest], {
1500
- cwd: process.cwd(),
1501
- env: {
1502
- ...process.env,
1503
- AGENT_YES_BIN: process.argv[1]
1504
- },
1505
- stdio: "inherit"
1506
- });
1507
- return new Promise((resolve) => {
1508
- child.on("error", (err) => {
1509
- process.stderr.write(`ay deepseek: failed to start: ${err.message}\n`);
1510
- resolve(1);
1511
- });
1512
- child.on("exit", (code, signal) => {
1513
- if (signal) resolve(128 + (signal === "SIGINT" ? 2 : signal === "SIGTERM" ? 15 : 1));
1514
- else resolve(code ?? 1);
1515
- });
1516
- for (const signal of ["SIGINT", "SIGTERM"]) process.on(signal, () => child.kill(signal));
1517
- });
1518
- }
1519
- /**
1520
1461
  * The banner shown by `ay help` / `ay -h` when this process is itself running
1521
1462
  * inside an agent (`AGENT_YES_PID` set — see resolveSender). Answers the three
1522
1463
  * things a nested agent actually needs: who am I, who spawned me, and how do I
@@ -1539,7 +1480,7 @@ async function cmdHelp(managerCommands = true) {
1539
1480
  const wsLines = managerCommands ? " ay ws ls [--status] list <owner>/<repo>/tree/<branch> workspaces\n ay ws new <owner>/<repo>[@branch] clone/refresh a workspace (ay ws help for more)\n" : ``;
1540
1481
  const self = process.env.AGENT_YES_PID ? await resolveSender() : null;
1541
1482
  const agentSection = self ? await buildAgentContextSection(self) : "";
1542
- process.stdout.write(agentSection + "ay - agent-yes CLI\n\nManagement:\n ay ls [keyword] list running agents\n ay tail [-f] [-n N] <keyword> last N lines (96), -f to follow\n ay read <keyword> [page opts] paginate: --last/--head N, --range A:B,\n --before-line L [--limit N]\n ay cat <keyword> full log\n ay head <keyword> first N lines\n ay send <keyword> <msg> send a message (keyword '.' = agent in this cwd)\n ay msgs [keyword] [--in|--out] inter-agent message log (sent + received)\n ay role [name] | ay role <kw> <name> lane/role name shown in the send envelope\n ay ch mk|join|send|read|tail <topic> local-first E2E channels: AI ↔ humans on a topic (ay ch help)\n ay term embed <pid> <script> to embed a live read-only agent terminal in a page (ay term help)\n ay widget ls | read selection|dom read an opted-in page widget's context (selection/DOM) (ay widget help)\n ay mint <target> --caps ... mint a scoped, short-TTL capability token (embeddable in a page)\n ay key <keyword> <key...> send raw keystrokes (down/up/enter/esc/…) — drives menus\n ay select <keyword> <N> pick option N of a needs_input selection menu\n ay attach <keyword> interactive attach (detach: Ctrl-\\)\n ay stop <keyword> graceful shutdown (/exit for claude/codex)\n ay exit <keyword> [reason] graceful shutdown, recording who/why (= 'ay send <kw> exit')\n ay restart <keyword> [--fresh] stop (if live) + relaunch resuming the session; --fresh replays the prompt\n ay status <keyword> agent status snapshot\n ay whoami [--json] (inside an agent) your own registry identity + reply address\n ay result <keyword> [--wait] pull an agent's structured result envelope\n ay result set '<json>' (inside an agent) deposit your result envelope\n ay reap kill process groups leaked by dead agents\n ay deepseek|ds [-- <codex args>] run codex via the local DeepSeek adapter (DEEPSEEK_API_KEY)\n" + wsLines + "\nRemote:\n" + setupLine + " ay schedule <when> <cli> -- <msg> run an agent on a schedule (HH:MM or cron)\n ay serve [--port N] start HTTP API server (prints token)\n ay serve status show serve daemon/server status\n ay remote add <alias> http://<token>@<host>:<port>\n ay remote ls / rm <alias> manage saved remotes\n ay expose <port> share localhost:<port> at https://<id>.agent-yes.com (private link)\n ay callback --expires 7d mint an embeddable message-me widget for one agent\n ay ls <token>@<host>:<port> connect inline (no alias needed)\n ay send <token>@<host>:<port>:<kw> <msg>\n\nRun an agent:\n ay [claude|codex|gemini|...] [options] -- [prompt]\n ay claude -- \"fix the bug in auth.ts\"\n ay claude --help full agent-runner options\n\nLabs (examples at https://github.com/snomiao/agent-yes/tree/main/lab):\n local-role-play/ designer + builder on one machine\n http-remote/ ay serve remote access demo\n p2p-pairing/ libp2p P2P (needs: cargo build --features swarm)\n");
1483
+ process.stdout.write(agentSection + "ay - agent-yes CLI\n\nManagement:\n ay ls [keyword] list running agents\n ay tail [-f] [-n N] <keyword> last N lines (96), -f to follow\n ay read <keyword> [page opts] paginate: --last/--head N, --range A:B,\n --before-line L [--limit N]\n ay cat <keyword> full log\n ay head <keyword> first N lines\n ay send <keyword> <msg> send a message (keyword '.' = agent in this cwd)\n ay msgs [keyword] [--in|--out] inter-agent message log (sent + received)\n ay role [name] | ay role <kw> <name> lane/role name shown in the send envelope\n ay ch mk|join|send|read|tail <topic> local-first E2E channels: AI ↔ humans on a topic (ay ch help)\n ay term embed <pid> <script> to embed a live read-only agent terminal in a page (ay term help)\n ay widget ls | read selection|dom read an opted-in page widget's context (selection/DOM) (ay widget help)\n ay mint <target> --caps ... mint a scoped, short-TTL capability token (embeddable in a page)\n ay key <keyword> <key...> send raw keystrokes (down/up/enter/esc/…) — drives menus\n ay select <keyword> <N> pick option N of a needs_input selection menu\n ay attach <keyword> interactive attach (detach: Ctrl-\\)\n ay stop <keyword> graceful shutdown (/exit for claude/codex)\n ay exit <keyword> [reason] graceful shutdown, recording who/why (= 'ay send <kw> exit')\n ay restart <keyword> [--fresh] stop (if live) + relaunch resuming the session; --fresh replays the prompt\n ay status <keyword> agent status snapshot\n ay whoami [--json] (inside an agent) your own registry identity + reply address\n ay result <keyword> [--wait] pull an agent's structured result envelope\n ay result set '<json>' (inside an agent) deposit your result envelope\n ay reap kill process groups leaked by dead agents\n" + wsLines + "\nRemote:\n" + setupLine + " ay schedule <when> <cli> -- <msg> run an agent on a schedule (HH:MM or cron)\n ay serve [--port N] start HTTP API server (prints token)\n ay serve status show serve daemon/server status\n ay remote add <alias> http://<token>@<host>:<port>\n ay remote ls / rm <alias> manage saved remotes\n ay expose <port> share localhost:<port> at https://<id>.agent-yes.com (private link)\n ay callback --expires 7d mint an embeddable message-me widget for one agent\n ay ls <token>@<host>:<port> connect inline (no alias needed)\n ay send <token>@<host>:<port>:<kw> <msg>\n\nRun an agent:\n ay [claude|codex|gemini|...] [options] -- [prompt]\n ay claude -- \"fix the bug in auth.ts\"\n ay claude --help full agent-runner options\n\nLabs (examples at https://github.com/snomiao/agent-yes/tree/main/lab):\n local-role-play/ designer + builder on one machine\n http-remote/ ay serve remote access demo\n p2p-pairing/ libp2p P2P (needs: cargo build --features swarm)\n");
1543
1484
  return 0;
1544
1485
  }
1545
1486
  function matchKeyword(record, keyword) {
@@ -2322,7 +2263,7 @@ async function cmdLs(rest) {
2322
2263
  ...r,
2323
2264
  ...await deriveLiveState(r)
2324
2265
  })));
2325
- await writeStdoutFlushed(JSON.stringify(enriched, null, 2) + "\n");
2266
+ process.stdout.write(JSON.stringify(enriched, null, 2) + "\n");
2326
2267
  return 0;
2327
2268
  }
2328
2269
  if (records.length === 0) {
@@ -3315,7 +3256,7 @@ async function cmdSend(rest) {
3315
3256
  default: false,
3316
3257
  alias: "no-wrap",
3317
3258
  description: "Send the body verbatim: omit the <ay-msg …> attribution wrapper that agent senders add by default (also: AGENT_YES_SEND_RAW=1)"
3318
- }).help(false).version(false).strictOptions().exitProcess(false).parseAsync();
3259
+ }).help(false).version(false).exitProcess(false).parseAsync();
3319
3260
  const opts = {
3320
3261
  all: argv.all,
3321
3262
  active: false,
@@ -3326,7 +3267,6 @@ async function cmdSend(rest) {
3326
3267
  const keyword = argv._[0] !== void 0 ? String(argv._[0]) : void 0;
3327
3268
  const rawMessage = argv._.slice(1).map(String).join(" ");
3328
3269
  if (!keyword) throw new Error("usage: ay send <keyword> <msg|-> [--code=enter|esc|ctrl-c|ctrl-y|tab|none]");
3329
- if (rawMessage !== "-" && rawMessage.trim() === "") throw new Error("ay send: refusing to send an empty message. Pass the text as a single argument, or use `-` to read the body from stdin (e.g. `ay send <keyword> - < file.txt`).");
3330
3270
  const codeName = argv.code.toLowerCase();
3331
3271
  {
3332
3272
  const remote = await resolveRemoteSpec(keyword);
@@ -3342,7 +3282,6 @@ async function cmdSend(rest) {
3342
3282
  const chunks = [];
3343
3283
  for await (const chunk of process.stdin) chunks.push(chunk);
3344
3284
  body = Buffer.concat(chunks).toString("utf-8").trimEnd();
3345
- if (body.trim() === "") throw new Error("ay send: refusing to send an empty message (stdin was empty).");
3346
3285
  } else body = rawMessage;
3347
3286
  const force = Boolean(argv.force) || process.env.AGENT_YES_FORCE_SEND === "1";
3348
3287
  const raw = Boolean(argv.raw) || process.env.AGENT_YES_SEND_RAW === "1";
@@ -4017,7 +3956,7 @@ async function cmdAttach(rest) {
4017
3956
  const winsizeDir = path.join(ayHome, "winsize");
4018
3957
  await mkdir(winsizeDir, { recursive: true });
4019
3958
  const winsizePath = path.join(winsizeDir, String(record.pid));
4020
- const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-COtnS9Hg.js");
3959
+ const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-DhtgWGZB.js");
4021
3960
  const daemonBase = await resolveDaemonHttpBase().catch(() => null);
4022
3961
  const daemonToken = daemonBase ? await loadTokenReadOnly().catch(() => null) ?? "" : "";
4023
3962
  const capViewer = `attach:${process.pid}`;
@@ -4727,7 +4666,7 @@ async function cmdNotify(rest) {
4727
4666
  }
4728
4667
  const ensure = async () => {
4729
4668
  if (!argv["ensure-daemon"]) return;
4730
- const { ensureDaemon } = await import("./notifyDaemon-Bc2otuNE.js");
4669
+ const { ensureDaemon } = await import("./notifyDaemon-P6Q7Eo_B.js");
4731
4670
  await ensureDaemon().catch(() => null);
4732
4671
  };
4733
4672
  await heartbeatWatcher(parent, selfStartedAt);
@@ -4801,7 +4740,7 @@ async function cmdNotifyCursor(args) {
4801
4740
  }
4802
4741
  async function cmdNotifyd(rest) {
4803
4742
  const sub = rest[0] ?? "status";
4804
- const daemon = await import("./notifyDaemon-Bc2otuNE.js");
4743
+ const daemon = await import("./notifyDaemon-P6Q7Eo_B.js");
4805
4744
  switch (sub) {
4806
4745
  case "run": return daemon.runDaemon();
4807
4746
  case "once": return daemon.runDaemon({ once: true });
@@ -4827,5 +4766,5 @@ async function cmdNotifyd(rest) {
4827
4766
  }
4828
4767
 
4829
4768
  //#endregion
4830
- export { listInboxParents as $, readNotes as A, restartHintLines as B, isUserTyping as C, menuSelectKeys as D, matchKeyword as E, renderRawLog as F, submitAndConfirm as G, snapshotStatus as H, renderRawLogLines as I, writeToIpc as J, waitForLogQuiet as K, resolveOne as L, recentMessageEdges as M, recentReadEdges as N, readAgentPtysize as O, renderLogTailLines as P, isTransientLockMkdirError as Q, resolveReadWindow as R, isUnknownManagerToken as S, listRecords as T, stdinActivityPath as U, runSubcommand as V, stopTipForCli as W, gcInboxes as X, appendEvent as Y, hostId as Z, isAgentStuck as _, backoffWhileTyping as a, notifyDir as at, isSlashCommand as b, controlCodeFromName as c, deriveLiveStatus as d, liveWatchers as et, extractBadges as f, finalizedLines as g, extractTaskCounts as h, TYPING_WINDOW_MS as i, daemonLockOwnerPath as it, readPtysize as j, readLogForRender as k, cursorAbs as l, extractNeedsInput as m, MAX_RENDER_BYTES as n, shouldStealLock as nt, cmdDeepseek as o, TYPING_BADGE as ot, extractMenu as p, writeKeysPaced as q, READ_PAGE_DEFAULT as r, daemonLockDir as rt, cmdHelp as s, GRACEFUL_EXIT_COMMANDS as t, readInbox as tt, deriveLiveState as u, isExitRequest as v, lastStdinAt as w, isSubcommand as x, isPidAlive as y, resolveResumeArgs as z };
4831
- //# sourceMappingURL=subcommands-B7TiSxUt.js.map
4769
+ export { liveWatchers as $, readPtysize as A, runSubcommand as B, lastStdinAt as C, readAgentPtysize as D, menuSelectKeys as E, renderRawLogLines as F, waitForLogQuiet as G, stdinActivityPath as H, resolveOne as I, appendEvent as J, writeKeysPaced as K, resolveReadWindow as L, recentReadEdges as M, renderLogTailLines as N, readLogForRender as O, renderRawLog as P, listInboxParents as Q, resolveResumeArgs as R, isUserTyping as S, matchKeyword as T, stopTipForCli as U, snapshotStatus as V, submitAndConfirm as W, hostId as X, gcInboxes as Y, isTransientLockMkdirError as Z, isExitRequest as _, backoffWhileTyping as a, TYPING_BADGE as at, isSubcommand as b, cursorAbs as c, extractBadges as d, readInbox as et, extractMenu as f, isAgentStuck as g, finalizedLines as h, TYPING_WINDOW_MS as i, notifyDir as it, recentMessageEdges as j, readNotes as k, deriveLiveState as l, extractTaskCounts as m, MAX_RENDER_BYTES as n, daemonLockDir as nt, cmdHelp as o, extractNeedsInput as p, writeToIpc as q, READ_PAGE_DEFAULT as r, daemonLockOwnerPath as rt, controlCodeFromName as s, GRACEFUL_EXIT_COMMANDS as t, shouldStealLock as tt, deriveLiveStatus as u, isPidAlive as v, listRecords as w, isUnknownManagerToken as x, isSlashCommand as y, restartHintLines as z };
4770
+ //# sourceMappingURL=subcommands-Zk3brdKt.js.map
@@ -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-COtnS9Hg.js");
101
+ const { mintScopedTermToken } = await import("./serve-DhtgWGZB.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-BYFT2uG0.js.map
138
+ //# sourceMappingURL=terminal-BVWhnQUf.js.map
@@ -0,0 +1,5 @@
1
+ import "./versionChecker-D-WLKAN6.js";
2
+ import "./rustBinary-_qRGhAa5.js";
3
+ import { a as trayHiddenMarker, i as launchTray, n as hasDesktop, r as isTrayHidden, t as cmdTray } from "./trayApp-DtThjl0_.js";
4
+
5
+ export { cmdTray };
@@ -1,4 +1,4 @@
1
- import { n as findTrayLauncher } from "./rustBinary-BtGVAnEi.js";
1
+ import { n as findTrayLauncher } from "./rustBinary-_qRGhAa5.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-cw25cAyO.js.map
100
+ //# sourceMappingURL=trayApp-DtThjl0_.js.map
@@ -1,6 +1,6 @@
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-DlmgNzef.js";
3
+ import { r as getInstalledPackage } from "./versionChecker-D-WLKAN6.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";
@@ -2181,4 +2181,4 @@ function sleep(ms) {
2181
2181
 
2182
2182
  //#endregion
2183
2183
  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 };
2184
- //# sourceMappingURL=ts-DHyghJ6S.js.map
2184
+ //# sourceMappingURL=ts-BqaOPFCQ.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.262.0-beta.625.1";
10
+ var version = "1.262.0";
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-DlmgNzef.js.map
218
+ //# sourceMappingURL=versionChecker-D-WLKAN6.js.map