agent-yes 1.262.0-beta.626.1 → 1.263.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.
@@ -1,11 +1,11 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import "./versionChecker-D-TKJ1Y-.js";
3
- import "./ts-B22KR56R.js";
2
+ import "./versionChecker-BTLZ3PAb.js";
3
+ import "./ts-BSHR_dga.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-DkxoCLoz.js";
9
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DjFlWHpg.js";
10
10
 
11
11
  export { SUPPORTED_CLIS };
@@ -1,8 +1,8 @@
1
- import { t as CLIS_CONFIG } from "./ts-B22KR56R.js";
1
+ import { t as CLIS_CONFIG } from "./ts-BSHR_dga.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-DkxoCLoz.js.map
8
+ //# sourceMappingURL=SUPPORTED_CLIS-DjFlWHpg.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-BQXIfCNL.js";
6
+ import { L as resolveOne } from "./subcommands-Bo1MSwuC.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-DRmd4F95.js.map
232
+ //# sourceMappingURL=agentShare-BP6wiu_5.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-BQXIfCNL.js";
6
+ import "./subcommands-Bo1MSwuC.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-c7Oe2vIh.js";
10
+ import { i as loadOrCreateCallbackSecret, n as isCallbackRevoked, r as loadCallbackSecretReadOnly, t as cmdCallback } from "./callback-DFUFLIZQ.js";
11
11
 
12
12
  export { cmdCallback };
@@ -1,5 +1,5 @@
1
1
  import { t as agentYesHome } from "./agentYesHome-CtmsY6I-.js";
2
- import { L as resolveOne } from "./subcommands-BQXIfCNL.js";
2
+ import { L as resolveOne } from "./subcommands-Bo1MSwuC.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-JL6zFz3h.js");
75
+ const { resolveLocalServeUrl } = await import("./serve-BEdLsSpv.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-c7Oe2vIh.js.map
190
+ //# sourceMappingURL=callback-DFUFLIZQ.js.map
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-D-TKJ1Y-.js";
5
- import { r as getRustBinary } from "./rustBinary-pyF9zGmg.js";
4
+ import { i as versionString, n as displayVersion, t as checkAndAutoUpdate } from "./versionChecker-BTLZ3PAb.js";
5
+ import { r as getRustBinary } from "./rustBinary-Borvwmya.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-DOwbpkzb.js");
298
+ const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken } = await import("./subcommands-B1YlmRaZ.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-aLwUciKl.js");
308
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS--5E9wO4L.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-aLwUciKl.js");
359
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS--5E9wO4L.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-D-TKJ1Y-.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-B22KR56R.js";
2
+ import "./versionChecker-BTLZ3PAb.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-BSHR_dga.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-BQXIfCNL.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-Bo1MSwuC.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-DOtETcLA.js.map
839
+ //# sourceMappingURL=notifyDaemon-BskLhHdg.js.map
@@ -1,4 +1,4 @@
1
- import { r as getInstalledPackage } from "./versionChecker-D-TKJ1Y-.js";
1
+ import { r as getInstalledPackage } from "./versionChecker-BTLZ3PAb.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-pyF9zGmg.js.map
246
+ //# sourceMappingURL=rustBinary-Borvwmya.js.map
@@ -1,12 +1,12 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import "./versionChecker-D-TKJ1Y-.js";
3
- import "./ts-B22KR56R.js";
2
+ import "./versionChecker-BTLZ3PAb.js";
3
+ import "./ts-BSHR_dga.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-DkxoCLoz.js";
9
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DjFlWHpg.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-vg7zrUe9.js.map
156
+ //# sourceMappingURL=schedule-BSEIVKQ0.js.map
@@ -1,7 +1,7 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import { r as getInstalledPackage } from "./versionChecker-D-TKJ1Y-.js";
3
- import { t as findSpawnHiddenLauncher } from "./rustBinary-pyF9zGmg.js";
4
- import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-B22KR56R.js";
2
+ import { r as getInstalledPackage } from "./versionChecker-BTLZ3PAb.js";
3
+ import { t as findSpawnHiddenLauncher } from "./rustBinary-Borvwmya.js";
4
+ import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-BSHR_dga.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-DkxoCLoz.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-BQXIfCNL.js";
14
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DjFlWHpg.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-Bo1MSwuC.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-c7Oe2vIh.js";
19
+ import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-DFUFLIZQ.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--sMrM-.js";
22
+ import { i as importProvisionModule } from "./ws-DxNNwnrc.js";
23
23
  import { r as spawnRejectionReason } from "./spawnGate-D-68B907.js";
24
- import { i as launchTray } from "./trayApp-B-LpxjEo.js";
24
+ import { i as launchTray } from "./trayApp-CjB5QhdV.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";
@@ -2425,7 +2425,7 @@ Options:
2425
2425
  }
2426
2426
  });
2427
2427
  if (req.method === "GET" && p === "/api/ws") {
2428
- const ws = await import("./ws-D6hRfHBF.js");
2428
+ const ws = await import("./ws-DMudFezi.js");
2429
2429
  try {
2430
2430
  await ws.loadProvision();
2431
2431
  } catch (e) {
@@ -2445,7 +2445,7 @@ Options:
2445
2445
  if (req.method === "GET" && p === "/api/ws/status") {
2446
2446
  const dirRaw = url.searchParams.get("path");
2447
2447
  if (!dirRaw) return new Response("missing ?path=<workspace dir>", { status: 400 });
2448
- const ws = await import("./ws-D6hRfHBF.js");
2448
+ const ws = await import("./ws-DMudFezi.js");
2449
2449
  let prov;
2450
2450
  try {
2451
2451
  prov = await ws.loadProvision();
@@ -2467,7 +2467,7 @@ Options:
2467
2467
  }
2468
2468
  }
2469
2469
  if (req.method === "GET" && p === "/api/ws/repos") {
2470
- const ws = await import("./ws-D6hRfHBF.js");
2470
+ const ws = await import("./ws-DMudFezi.js");
2471
2471
  try {
2472
2472
  await ws.loadProvision();
2473
2473
  } catch (e) {
@@ -2548,7 +2548,7 @@ Options:
2548
2548
  const m = /^([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+)$/.exec(repoParam);
2549
2549
  if (!m || m[1] === "." || m[1] === ".." || m[2] === "." || m[2] === "..") return new Response("missing/invalid ?repo=<owner>/<repo>", { status: 400 });
2550
2550
  const [, owner, repo] = m;
2551
- const ws = await import("./ws-D6hRfHBF.js");
2551
+ const ws = await import("./ws-DMudFezi.js");
2552
2552
  let prov;
2553
2553
  try {
2554
2554
  prov = await ws.loadProvision();
@@ -3456,7 +3456,7 @@ Options:
3456
3456
  const perm = body.perm ?? "r";
3457
3457
  if (perm !== "r" && perm !== "rw") return new Response(`invalid perm ${perm} (want r or rw)`, { status: 400 });
3458
3458
  try {
3459
- const { createScopedShare } = await import("./agentShare-DRmd4F95.js");
3459
+ const { createScopedShare } = await import("./agentShare-BP6wiu_5.js");
3460
3460
  const share = await createScopedShare({
3461
3461
  agent: body.agent,
3462
3462
  perm,
@@ -3471,12 +3471,12 @@ Options:
3471
3471
  }
3472
3472
  }
3473
3473
  if (req.method === "GET" && p === "/api/shares") {
3474
- const { listShares } = await import("./agentShare-DRmd4F95.js");
3474
+ const { listShares } = await import("./agentShare-BP6wiu_5.js");
3475
3475
  return Response.json(listShares());
3476
3476
  }
3477
3477
  const revokeM = /^\/api\/share\/([^/]+)$/.exec(p);
3478
3478
  if (req.method === "DELETE" && revokeM) {
3479
- const { revokeShare } = await import("./agentShare-DRmd4F95.js");
3479
+ const { revokeShare } = await import("./agentShare-BP6wiu_5.js");
3480
3480
  const ok = revokeShare(decodeURIComponent(revokeM[1]));
3481
3481
  return new Response(ok ? "revoked" : "no such share", { status: ok ? 200 : 404 });
3482
3482
  }
@@ -3778,7 +3778,7 @@ Options:
3778
3778
  const shutdown = (resolve) => {
3779
3779
  if (heartbeat) clearInterval(heartbeat);
3780
3780
  closeShare?.();
3781
- import("./agentShare-DRmd4F95.js").then((m) => m.revokeAllShares()).catch(() => {});
3781
+ import("./agentShare-BP6wiu_5.js").then((m) => m.revokeAllShares()).catch(() => {});
3782
3782
  server?.stop();
3783
3783
  Promise.resolve(releaseHostLock?.()).catch(() => {}).then(resolve);
3784
3784
  };
@@ -3791,4 +3791,4 @@ Options:
3791
3791
 
3792
3792
  //#endregion
3793
3793
  export { cmdServe, loadTokenReadOnly, mintScopedTermToken, resolveDaemonHttpBase, resolveLocalServeUrl };
3794
- //# sourceMappingURL=serve-JL6zFz3h.js.map
3794
+ //# sourceMappingURL=serve-BEdLsSpv.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-JL6zFz3h.js");
43
+ const { cmdServe } = await import("./serve-BEdLsSpv.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-CFktAWaF.js.map
53
+ //# sourceMappingURL=setup-DFRvZ_ku.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 { A as readNotes, B as restartHintLines, C as isUserTyping, D as menuSelectKeys, E as matchKeyword, F as renderRawLog, G as submitAndConfirm, H as snapshotStatus, I as renderRawLogLines, J as writeToIpc, K as waitForLogQuiet, L as resolveOne, M as recentMessageEdges, N as recentReadEdges, O as readAgentPtysize, P as renderLogTailLines, R as resolveReadWindow, S as isUnknownManagerToken, T as listRecords, U as stdinActivityPath, V as runSubcommand, W as stopTipForCli, _ as isAgentStuck, a as backoffWhileTyping, b as isSlashCommand, c as controlCodeFromName, d as deriveLiveStatus, f as extractBadges, g as finalizedLines, h as extractTaskCounts, i as TYPING_WINDOW_MS, j as readPtysize, k as readLogForRender, l as cursorAbs, m as extractNeedsInput, n as MAX_RENDER_BYTES, o as cmdDeepseek, p as extractMenu, q as writeKeysPaced, r as READ_PAGE_DEFAULT, s as cmdHelp, t as GRACEFUL_EXIT_COMMANDS, u as deriveLiveState, v as isExitRequest, w as lastStdinAt, x as isSubcommand, y as isPidAlive, z as resolveResumeArgs } from "./subcommands-BQXIfCNL.js";
6
+ import { A as readNotes, B as restartHintLines, C as isUserTyping, D as menuSelectKeys, E as matchKeyword, F as renderRawLog, G as submitAndConfirm, H as snapshotStatus, I as renderRawLogLines, J as writeToIpc, K as waitForLogQuiet, L as resolveOne, M as recentMessageEdges, N as recentReadEdges, O as readAgentPtysize, P as renderLogTailLines, R as resolveReadWindow, S as isUnknownManagerToken, T as listRecords, U as stdinActivityPath, V as runSubcommand, W as stopTipForCli, _ as isAgentStuck, a as backoffWhileTyping, b as isSlashCommand, c as controlCodeFromName, d as deriveLiveStatus, f as extractBadges, g as finalizedLines, h as extractTaskCounts, i as TYPING_WINDOW_MS, j as readPtysize, k as readLogForRender, l as cursorAbs, m as extractNeedsInput, n as MAX_RENDER_BYTES, o as cmdDeepseek, p as extractMenu, q as writeKeysPaced, r as READ_PAGE_DEFAULT, s as cmdHelp, t as GRACEFUL_EXIT_COMMANDS, u as deriveLiveState, v as isExitRequest, w as lastStdinAt, x as isSubcommand, y as isPidAlive, z as resolveResumeArgs } from "./subcommands-Bo1MSwuC.js";
7
7
  import "./webrtcLink-CS4D-3G1.js";
8
8
  import "./remotes-Cn-wszbK.js";
9
9
 
@@ -1428,35 +1428,35 @@ async function runSubcommand(argv) {
1428
1428
  return cmdCh(rest);
1429
1429
  }
1430
1430
  case "term": {
1431
- const { cmdTerm } = await import("./terminal-BO1dIvdc.js");
1431
+ const { cmdTerm } = await import("./terminal-BMQWojIp.js");
1432
1432
  return cmdTerm(rest);
1433
1433
  }
1434
1434
  case "widget": {
1435
- const { cmdWidget } = await import("./widget-BZDtnQte.js");
1435
+ const { cmdWidget } = await import("./widget-BVss0Z9Y.js");
1436
1436
  return cmdWidget(rest);
1437
1437
  }
1438
1438
  case "mint": {
1439
- const { cmdMint } = await import("./widget-BZDtnQte.js");
1439
+ const { cmdMint } = await import("./widget-BVss0Z9Y.js");
1440
1440
  return cmdMint(rest);
1441
1441
  }
1442
1442
  case "serve": {
1443
- const { cmdServe } = await import("./serve-JL6zFz3h.js");
1443
+ const { cmdServe } = await import("./serve-BEdLsSpv.js");
1444
1444
  return cmdServe(rest);
1445
1445
  }
1446
1446
  case "tray": {
1447
- const { cmdTray } = await import("./trayApp-Dul58eSZ.js");
1447
+ const { cmdTray } = await import("./trayApp-DrdktFnW.js");
1448
1448
  return cmdTray(rest);
1449
1449
  }
1450
1450
  case "setup": {
1451
- const { cmdSetup } = await import("./setup-CFktAWaF.js");
1451
+ const { cmdSetup } = await import("./setup-DFRvZ_ku.js");
1452
1452
  return cmdSetup(rest);
1453
1453
  }
1454
1454
  case "ws": {
1455
- const { cmdWs } = await import("./ws-D6hRfHBF.js");
1455
+ const { cmdWs } = await import("./ws-DMudFezi.js");
1456
1456
  return cmdWs(rest);
1457
1457
  }
1458
1458
  case "schedule": {
1459
- const { cmdSchedule } = await import("./schedule-vg7zrUe9.js");
1459
+ const { cmdSchedule } = await import("./schedule-BSEIVKQ0.js");
1460
1460
  return cmdSchedule(rest);
1461
1461
  }
1462
1462
  case "remote": {
@@ -1468,7 +1468,7 @@ async function runSubcommand(argv) {
1468
1468
  return cmdExpose(rest);
1469
1469
  }
1470
1470
  case "callback": {
1471
- const { cmdCallback } = await import("./callback-BYn4x_b3.js");
1471
+ const { cmdCallback } = await import("./callback-B0PQUZcK.js");
1472
1472
  return cmdCallback(rest);
1473
1473
  }
1474
1474
  case "reap":
@@ -4017,7 +4017,7 @@ async function cmdAttach(rest) {
4017
4017
  const winsizeDir = path.join(ayHome, "winsize");
4018
4018
  await mkdir(winsizeDir, { recursive: true });
4019
4019
  const winsizePath = path.join(winsizeDir, String(record.pid));
4020
- const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-JL6zFz3h.js");
4020
+ const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-BEdLsSpv.js");
4021
4021
  const daemonBase = await resolveDaemonHttpBase().catch(() => null);
4022
4022
  const daemonToken = daemonBase ? await loadTokenReadOnly().catch(() => null) ?? "" : "";
4023
4023
  const capViewer = `attach:${process.pid}`;
@@ -4727,7 +4727,7 @@ async function cmdNotify(rest) {
4727
4727
  }
4728
4728
  const ensure = async () => {
4729
4729
  if (!argv["ensure-daemon"]) return;
4730
- const { ensureDaemon } = await import("./notifyDaemon-DOtETcLA.js");
4730
+ const { ensureDaemon } = await import("./notifyDaemon-BskLhHdg.js");
4731
4731
  await ensureDaemon().catch(() => null);
4732
4732
  };
4733
4733
  await heartbeatWatcher(parent, selfStartedAt);
@@ -4801,7 +4801,7 @@ async function cmdNotifyCursor(args) {
4801
4801
  }
4802
4802
  async function cmdNotifyd(rest) {
4803
4803
  const sub = rest[0] ?? "status";
4804
- const daemon = await import("./notifyDaemon-DOtETcLA.js");
4804
+ const daemon = await import("./notifyDaemon-BskLhHdg.js");
4805
4805
  switch (sub) {
4806
4806
  case "run": return daemon.runDaemon();
4807
4807
  case "once": return daemon.runDaemon({ once: true });
@@ -4828,4 +4828,4 @@ async function cmdNotifyd(rest) {
4828
4828
 
4829
4829
  //#endregion
4830
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-BQXIfCNL.js.map
4831
+ //# sourceMappingURL=subcommands-Bo1MSwuC.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-JL6zFz3h.js");
101
+ const { mintScopedTermToken } = await import("./serve-BEdLsSpv.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-BO1dIvdc.js.map
138
+ //# sourceMappingURL=terminal-BMQWojIp.js.map
@@ -1,4 +1,4 @@
1
- import { n as findTrayLauncher } from "./rustBinary-pyF9zGmg.js";
1
+ import { n as findTrayLauncher } from "./rustBinary-Borvwmya.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-B-LpxjEo.js.map
100
+ //# sourceMappingURL=trayApp-CjB5QhdV.js.map
@@ -0,0 +1,5 @@
1
+ import "./versionChecker-BTLZ3PAb.js";
2
+ import "./rustBinary-Borvwmya.js";
3
+ import { a as trayHiddenMarker, i as launchTray, n as hasDesktop, r as isTrayHidden, t as cmdTray } from "./trayApp-CjB5QhdV.js";
4
+
5
+ export { cmdTray };
@@ -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-D-TKJ1Y-.js";
3
+ import { r as getInstalledPackage } from "./versionChecker-BTLZ3PAb.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-B22KR56R.js.map
2184
+ //# sourceMappingURL=ts-BSHR_dga.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.626.1";
10
+ var version = "1.263.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-D-TKJ1Y-.js.map
218
+ //# sourceMappingURL=versionChecker-BTLZ3PAb.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-JL6zFz3h.js");
31
+ const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-BEdLsSpv.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-JL6zFz3h.js");
189
+ const { mintScopedTermToken } = await import("./serve-BEdLsSpv.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-BZDtnQte.js.map
205
+ //# sourceMappingURL=widget-BVss0Z9Y.js.map
@@ -3,9 +3,9 @@ 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-BQXIfCNL.js";
6
+ import "./subcommands-Bo1MSwuC.js";
7
7
  import "./webrtcLink-CS4D-3G1.js";
8
8
  import "./remotes-Cn-wszbK.js";
9
- import { a as isPathInside, c as walkWorkspaces, i as importProvisionModule, l as workspaceStatus, n as cmdWs, o as loadProvision, r as collectWorkspaces, s as resolveOperand, t as WS_JSON_SCHEMA } from "./ws-B--sMrM-.js";
9
+ import { a as isPathInside, c as walkWorkspaces, i as importProvisionModule, l as workspaceStatus, n as cmdWs, o as loadProvision, r as collectWorkspaces, s as resolveOperand, t as WS_JSON_SCHEMA } from "./ws-DxNNwnrc.js";
10
10
 
11
11
  export { WS_JSON_SCHEMA, cmdWs, collectWorkspaces, isPathInside, loadProvision, walkWorkspaces, workspaceStatus };
@@ -1,4 +1,4 @@
1
- import { T as listRecords } from "./subcommands-BQXIfCNL.js";
1
+ import { T as listRecords } from "./subcommands-Bo1MSwuC.js";
2
2
  import { a as getProvisionRoot } from "./workspaceConfig-Bxuk_MOq.js";
3
3
  import { existsSync } from "fs";
4
4
  import { lstat, opendir } from "fs/promises";
@@ -426,4 +426,4 @@ async function cmdWs(args) {
426
426
 
427
427
  //#endregion
428
428
  export { isPathInside as a, walkWorkspaces as c, importProvisionModule as i, workspaceStatus as l, cmdWs as n, loadProvision as o, collectWorkspaces as r, resolveOperand as s, WS_JSON_SCHEMA as t };
429
- //# sourceMappingURL=ws-B--sMrM-.js.map
429
+ //# sourceMappingURL=ws-DxNNwnrc.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-yes",
3
- "version": "1.262.0-beta.626.1",
3
+ "version": "1.263.0",
4
4
  "description": "A wrapper tool that automates interactions with various AI CLI tools by automatically handling common prompts and responses.",
5
5
  "keywords": [
6
6
  "ai",
@@ -1,5 +0,0 @@
1
- import "./versionChecker-D-TKJ1Y-.js";
2
- import "./rustBinary-pyF9zGmg.js";
3
- import { a as trayHiddenMarker, i as launchTray, n as hasDesktop, r as isTrayHidden, t as cmdTray } from "./trayApp-B-LpxjEo.js";
4
-
5
- export { cmdTray };