agent-yes 1.270.1 → 1.271.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 (26) hide show
  1. package/dist/{SUPPORTED_CLIS-DAFB-6GC.js → SUPPORTED_CLIS-3wwg1X8T.js} +2 -2
  2. package/dist/{SUPPORTED_CLIS-CgEHfg6k.js → SUPPORTED_CLIS-lreAQcHS.js} +3 -3
  3. package/dist/{agentShare-2HyVIGun.js → agentShare-DnewJUOO.js} +2 -2
  4. package/dist/{callback-DVCbzswC.js → callback-Besk3KFx.js} +2 -2
  5. package/dist/{callback-Ceiao4dV.js → callback-D521tLFf.js} +3 -3
  6. package/dist/cli.js +5 -5
  7. package/dist/{cmdPs-guXwE1CD.js → cmdPs-4An2s2t8.js} +2 -2
  8. package/dist/index.js +2 -2
  9. package/dist/{notifyDaemon-CFO6_oZh.js → notifyDaemon-kIOLWrEI.js} +2 -2
  10. package/dist/{parentPingLoop-BH4qu3JD.js → parentPingLoop-D2A9Fkhf.js} +2 -2
  11. package/dist/{rustBinary-DzkW66Lm.js → rustBinary-BK03gMMg.js} +2 -2
  12. package/dist/{schedule-CJj1MU1L.js → schedule-BdK4RVQ5.js} +4 -4
  13. package/dist/{serve-DjXJihRj.js → serve-XWSfUL8i.js} +17 -17
  14. package/dist/{setup-BvzHgiZZ.js → setup-B-Cui8R6.js} +2 -2
  15. package/dist/{subcommands-DDJ9sWow.js → subcommands-ByZspogJ.js} +1 -1
  16. package/dist/{subcommands-B3yYhAG5.js → subcommands-C3NO344d.js} +14 -14
  17. package/dist/{terminal-BW1__Nur.js → terminal-BxWNOBW4.js} +2 -2
  18. package/dist/{trayApp-BfkcZXlu.js → trayApp-CcQDIINw.js} +2 -2
  19. package/dist/trayApp-XJit7gRr.js +5 -0
  20. package/dist/{ts-Q3AxCJqf.js → ts-BG759sO1.js} +3 -3
  21. package/dist/{versionChecker-CtFlXAFh.js → versionChecker-DCtcFwZ7.js} +2 -2
  22. package/dist/{widget-Bj1cFjqo.js → widget-DobxsxXa.js} +3 -3
  23. package/dist/{ws-DwgqQn6O.js → ws-Bk2cJphr.js} +2 -2
  24. package/dist/{ws-sD4KNCh_.js → ws-DO1UpPDw.js} +2 -2
  25. package/package.json +1 -1
  26. package/dist/trayApp-BhDs3NHt.js +0 -5
@@ -1,8 +1,8 @@
1
- import { t as CLIS_CONFIG } from "./ts-Q3AxCJqf.js";
1
+ import { t as CLIS_CONFIG } from "./ts-BG759sO1.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-DAFB-6GC.js.map
8
+ //# sourceMappingURL=SUPPORTED_CLIS-3wwg1X8T.js.map
@@ -1,12 +1,12 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import "./versionChecker-CtFlXAFh.js";
3
- import "./ts-Q3AxCJqf.js";
2
+ import "./versionChecker-DCtcFwZ7.js";
3
+ import "./ts-BG759sO1.js";
4
4
  import "./todoAutomation-BETGOik9.js";
5
5
  import "./JsonlStore-CPGIR0Wy.js";
6
6
  import "./globalPidIndex-Dq4KY2IV.js";
7
7
  import "./pidStore-DJqSZPJi.js";
8
8
  import "./messageLog-BYFwioFY.js";
9
9
  import "./todoStore-Wk8U4zJ8.js";
10
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DAFB-6GC.js";
10
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-3wwg1X8T.js";
11
11
 
12
12
  export { SUPPORTED_CLIS };
@@ -3,7 +3,7 @@ import "./globalPidIndex-Dq4KY2IV.js";
3
3
  import "./messageLog-BYFwioFY.js";
4
4
  import "./e2e-OLfcNxiv.js";
5
5
  import "./configShared-DYxlvrH0.js";
6
- import { B as resolveOne } from "./subcommands-B3yYhAG5.js";
6
+ import { B as resolveOne } from "./subcommands-C3NO344d.js";
7
7
  import "./notifyStore-Dus2D1XA.js";
8
8
  import "./webrtcLink-B72AQ2eb.js";
9
9
  import "./remotes-IzQHupeo.js";
@@ -230,4 +230,4 @@ function transformEvent(rawEvent, agentId, forwarded) {
230
230
 
231
231
  //#endregion
232
232
  export { createScopedShare, listShares, revokeAllShares, revokeShare };
233
- //# sourceMappingURL=agentShare-2HyVIGun.js.map
233
+ //# sourceMappingURL=agentShare-DnewJUOO.js.map
@@ -3,11 +3,11 @@ import "./globalPidIndex-Dq4KY2IV.js";
3
3
  import "./messageLog-BYFwioFY.js";
4
4
  import "./e2e-OLfcNxiv.js";
5
5
  import "./configShared-DYxlvrH0.js";
6
- import "./subcommands-B3yYhAG5.js";
6
+ import "./subcommands-C3NO344d.js";
7
7
  import "./notifyStore-Dus2D1XA.js";
8
8
  import "./webrtcLink-B72AQ2eb.js";
9
9
  import "./remotes-IzQHupeo.js";
10
10
  import "./callbackCore-Bbe7rpN2.js";
11
- import { i as loadOrCreateCallbackSecret, n as isCallbackRevoked, r as loadCallbackSecretReadOnly, t as cmdCallback } from "./callback-Ceiao4dV.js";
11
+ import { i as loadOrCreateCallbackSecret, n as isCallbackRevoked, r as loadCallbackSecretReadOnly, t as cmdCallback } from "./callback-D521tLFf.js";
12
12
 
13
13
  export { cmdCallback };
@@ -1,5 +1,5 @@
1
1
  import { t as agentYesHome } from "./agentYesHome-CtmsY6I-.js";
2
- import { B as resolveOne } from "./subcommands-B3yYhAG5.js";
2
+ import { B as resolveOne } from "./subcommands-C3NO344d.js";
3
3
  import { a as mintCapability, o as parseExpires } from "./callbackCore-Bbe7rpN2.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-DjXJihRj.js");
75
+ const { resolveLocalServeUrl } = await import("./serve-XWSfUL8i.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-Ceiao4dV.js.map
190
+ //# sourceMappingURL=callback-D521tLFf.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-CtFlXAFh.js";
5
- import { r as getRustBinary } from "./rustBinary-DzkW66Lm.js";
4
+ import { i as versionString, n as displayVersion, t as checkAndAutoUpdate } from "./versionChecker-DCtcFwZ7.js";
5
+ import { r as getRustBinary } from "./rustBinary-BK03gMMg.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, isBareManagerInvocation } = await import("./subcommands-DDJ9sWow.js");
298
+ const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken, isBareManagerInvocation } = await import("./subcommands-ByZspogJ.js");
299
299
  if (isHelpFlag && process.argv.length === 3) {
300
300
  await cmdHelp(managerCommands);
301
301
  process.exit(0);
@@ -309,7 +309,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
309
309
  process.exit(code ?? 0);
310
310
  }
311
311
  {
312
- const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-CgEHfg6k.js");
312
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-lreAQcHS.js");
313
313
  if (isUnknownManagerToken(rawArg, managerCommands, SUPPORTED_CLIS)) {
314
314
  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`);
315
315
  process.exit(1);
@@ -360,7 +360,7 @@ if (config.useRust) {
360
360
  }
361
361
  }
362
362
  if (rustBinary) {
363
- const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-CgEHfg6k.js");
363
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-lreAQcHS.js");
364
364
  const rustArgs = buildRustArgs(process.argv, config.cli, SUPPORTED_CLIS);
365
365
  if (config.verbose) {
366
366
  console.log(`[rust] Using binary: ${rustBinary}`);
@@ -3,7 +3,7 @@ import "./globalPidIndex-Dq4KY2IV.js";
3
3
  import "./messageLog-BYFwioFY.js";
4
4
  import "./e2e-OLfcNxiv.js";
5
5
  import "./configShared-DYxlvrH0.js";
6
- import { O as listRecords, d as deriveLiveState, et as buildAgentForest, tt as flattenForest } from "./subcommands-B3yYhAG5.js";
6
+ import { O as listRecords, d as deriveLiveState, et as buildAgentForest, tt as flattenForest } from "./subcommands-C3NO344d.js";
7
7
  import "./notifyStore-Dus2D1XA.js";
8
8
  import "./webrtcLink-B72AQ2eb.js";
9
9
  import "./remotes-IzQHupeo.js";
@@ -574,4 +574,4 @@ function readPpidSync(pid) {
574
574
 
575
575
  //#endregion
576
576
  export { cmdPs };
577
- //# sourceMappingURL=cmdPs-guXwE1CD.js.map
577
+ //# sourceMappingURL=cmdPs-4An2s2t8.js.map
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import "./versionChecker-CtFlXAFh.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-Q3AxCJqf.js";
2
+ import "./versionChecker-DCtcFwZ7.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-BG759sO1.js";
4
4
  import { a as renderTree, c as describeBlock, i as renderDigest, l as monitorHint, o as unblockedTasks, r as openBlockers, t as reconcileTodos, u as removeControlCharacters } from "./todoAutomation-BETGOik9.js";
5
5
  import "./JsonlStore-CPGIR0Wy.js";
6
6
  import "./globalPidIndex-Dq4KY2IV.js";
@@ -3,7 +3,7 @@ import "./globalPidIndex-Dq4KY2IV.js";
3
3
  import "./messageLog-BYFwioFY.js";
4
4
  import "./e2e-OLfcNxiv.js";
5
5
  import "./configShared-DYxlvrH0.js";
6
- import { L as renderLogTailLines, O as listRecords, d as deriveLiveState, x as isPidAlive } from "./subcommands-B3yYhAG5.js";
6
+ import { L as renderLogTailLines, O as listRecords, d as deriveLiveState, x as isPidAlive } from "./subcommands-C3NO344d.js";
7
7
  import { f as readInbox, g as daemonLockOwnerPath, h as daemonLockDir, i as gcInboxes, l as listInboxParents, m as shouldStealLock, n as appendEvent, s as hostId, u as liveWatchers, x as notifyDir } from "./notifyStore-Dus2D1XA.js";
8
8
  import "./webrtcLink-B72AQ2eb.js";
9
9
  import "./remotes-IzQHupeo.js";
@@ -863,4 +863,4 @@ async function ensureDaemon() {
863
863
 
864
864
  //#endregion
865
865
  export { daemonStatus, ensureDaemon, requestDaemonStop, runDaemon };
866
- //# sourceMappingURL=notifyDaemon-CFO6_oZh.js.map
866
+ //# sourceMappingURL=notifyDaemon-kIOLWrEI.js.map
@@ -338,7 +338,7 @@ async function isParentWatching(parentWrapperPid, parentAgentPid, selfAgentPid,
338
338
  logger.debug("[parent-ping] watcher lookup failed:", error);
339
339
  }
340
340
  try {
341
- const { lastReadAt, READ_WINDOW_MS } = await import("./subcommands-DDJ9sWow.js");
341
+ const { lastReadAt, READ_WINDOW_MS } = await import("./subcommands-ByZspogJ.js");
342
342
  const last = await lastReadAt(`agent:${parentAgentPid}`, selfAgentPid);
343
343
  if (last !== null && now - last <= READ_WINDOW_MS) return true;
344
344
  } catch (error) {
@@ -466,4 +466,4 @@ function startParentPingLoop(opts) {
466
466
 
467
467
  //#endregion
468
468
  export { startParentPingLoop };
469
- //# sourceMappingURL=parentPingLoop-BH4qu3JD.js.map
469
+ //# sourceMappingURL=parentPingLoop-D2A9Fkhf.js.map
@@ -1,4 +1,4 @@
1
- import { r as getInstalledPackage } from "./versionChecker-CtFlXAFh.js";
1
+ import { r as getInstalledPackage } from "./versionChecker-DCtcFwZ7.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-DzkW66Lm.js.map
246
+ //# sourceMappingURL=rustBinary-BK03gMMg.js.map
@@ -1,13 +1,13 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import "./versionChecker-CtFlXAFh.js";
3
- import "./ts-Q3AxCJqf.js";
2
+ import "./versionChecker-DCtcFwZ7.js";
3
+ import "./ts-BG759sO1.js";
4
4
  import "./todoAutomation-BETGOik9.js";
5
5
  import "./JsonlStore-CPGIR0Wy.js";
6
6
  import "./globalPidIndex-Dq4KY2IV.js";
7
7
  import "./pidStore-DJqSZPJi.js";
8
8
  import "./messageLog-BYFwioFY.js";
9
9
  import "./todoStore-Wk8U4zJ8.js";
10
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DAFB-6GC.js";
10
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-3wwg1X8T.js";
11
11
  import { f as resolveSpawnCwd } from "./workspaceConfig-EK7XNsgR.js";
12
12
  import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-CKc1BN5J.js";
13
13
  import { createHash } from "node:crypto";
@@ -154,4 +154,4 @@ async function cmdSchedule(rest) {
154
154
 
155
155
  //#endregion
156
156
  export { cmdSchedule };
157
- //# sourceMappingURL=schedule-CJj1MU1L.js.map
157
+ //# sourceMappingURL=schedule-BdK4RVQ5.js.map
@@ -1,7 +1,7 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import { r as getInstalledPackage } from "./versionChecker-CtFlXAFh.js";
3
- import { t as findSpawnHiddenLauncher } from "./rustBinary-DzkW66Lm.js";
4
- import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-Q3AxCJqf.js";
2
+ import { r as getInstalledPackage } from "./versionChecker-DCtcFwZ7.js";
3
+ import { t as findSpawnHiddenLauncher } from "./rustBinary-BK03gMMg.js";
4
+ import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-BG759sO1.js";
5
5
  import { t as agentYesHome$1 } from "./agentYesHome-CtmsY6I-.js";
6
6
  import { u as removeControlCharacters } from "./todoAutomation-BETGOik9.js";
7
7
  import "./JsonlStore-CPGIR0Wy.js";
@@ -12,18 +12,18 @@ import { t as pgidForWrapper } from "./reaper-C4BvNylH.js";
12
12
  import "./todoStore-Wk8U4zJ8.js";
13
13
  import "./e2e-OLfcNxiv.js";
14
14
  import "./configShared-DYxlvrH0.js";
15
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DAFB-6GC.js";
16
- import { $ as TYPING_BADGE, B as resolveOne, F as recentMessageEdges, G as snapshotStatus, I as recentReadEdges, L as renderLogTailLines, M as readLogForRender, N as readNotes, O as listRecords, P as readPtysize, Q as withIpcLock, R as renderRawLog, T as isUserTyping, Z as writeToIpc, f as deriveLiveStatus, g as extractTaskCounts, h as extractNeedsInput, l as controlCodeFromName, p as extractBadges, z as renderRawLogLines } from "./subcommands-B3yYhAG5.js";
15
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-3wwg1X8T.js";
16
+ import { $ as TYPING_BADGE, B as resolveOne, F as recentMessageEdges, G as snapshotStatus, I as recentReadEdges, L as renderLogTailLines, M as readLogForRender, N as readNotes, O as listRecords, P as readPtysize, Q as withIpcLock, R as renderRawLog, T as isUserTyping, Z as writeToIpc, f as deriveLiveStatus, g as extractTaskCounts, h as extractNeedsInput, l as controlCodeFromName, p as extractBadges, z as renderRawLogLines } from "./subcommands-C3NO344d.js";
17
17
  import { c as isTransientLockMkdirError } from "./notifyStore-Dus2D1XA.js";
18
18
  import "./webrtcLink-B72AQ2eb.js";
19
19
  import "./remotes-IzQHupeo.js";
20
20
  import { i as frameVisitorMessage, s as verifyCapability, t as MAX_CALLBACK_MSG_BYTES } from "./callbackCore-Bbe7rpN2.js";
21
- import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-Ceiao4dV.js";
21
+ import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-D521tLFf.js";
22
22
  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-EK7XNsgR.js";
23
23
  import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-CKc1BN5J.js";
24
- import { i as importProvisionModule } from "./ws-sD4KNCh_.js";
24
+ import { i as importProvisionModule } from "./ws-DO1UpPDw.js";
25
25
  import { r as spawnRejectionReason } from "./spawnGate-CS3oFdJ9.js";
26
- import { i as launchTray } from "./trayApp-BfkcZXlu.js";
26
+ import { i as launchTray } from "./trayApp-CcQDIINw.js";
27
27
  import yargs from "yargs";
28
28
  import { appendFile, mkdir, open, readFile, readdir, rename, rm, stat, unlink, writeFile } from "fs/promises";
29
29
  import { arch, cpus, freemem, homedir, hostname, loadavg, platform, totalmem, uptime, userInfo } from "os";
@@ -2436,7 +2436,7 @@ Options:
2436
2436
  }
2437
2437
  });
2438
2438
  if (req.method === "GET" && p === "/api/ws") {
2439
- const ws = await import("./ws-DwgqQn6O.js");
2439
+ const ws = await import("./ws-Bk2cJphr.js");
2440
2440
  try {
2441
2441
  await ws.loadProvision();
2442
2442
  } catch (e) {
@@ -2456,7 +2456,7 @@ Options:
2456
2456
  if (req.method === "GET" && p === "/api/ws/status") {
2457
2457
  const dirRaw = url.searchParams.get("path");
2458
2458
  if (!dirRaw) return new Response("missing ?path=<workspace dir>", { status: 400 });
2459
- const ws = await import("./ws-DwgqQn6O.js");
2459
+ const ws = await import("./ws-Bk2cJphr.js");
2460
2460
  let prov;
2461
2461
  try {
2462
2462
  prov = await ws.loadProvision();
@@ -2478,7 +2478,7 @@ Options:
2478
2478
  }
2479
2479
  }
2480
2480
  if (req.method === "GET" && p === "/api/ws/repos") {
2481
- const ws = await import("./ws-DwgqQn6O.js");
2481
+ const ws = await import("./ws-Bk2cJphr.js");
2482
2482
  try {
2483
2483
  await ws.loadProvision();
2484
2484
  } catch (e) {
@@ -2559,7 +2559,7 @@ Options:
2559
2559
  const m = /^([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+)$/.exec(repoParam);
2560
2560
  if (!m || m[1] === "." || m[1] === ".." || m[2] === "." || m[2] === "..") return new Response("missing/invalid ?repo=<owner>/<repo>", { status: 400 });
2561
2561
  const [, owner, repo] = m;
2562
- const ws = await import("./ws-DwgqQn6O.js");
2562
+ const ws = await import("./ws-Bk2cJphr.js");
2563
2563
  let prov;
2564
2564
  try {
2565
2565
  prov = await ws.loadProvision();
@@ -3470,7 +3470,7 @@ Options:
3470
3470
  const perm = body.perm ?? "r";
3471
3471
  if (perm !== "r" && perm !== "rw") return new Response(`invalid perm ${perm} (want r or rw)`, { status: 400 });
3472
3472
  try {
3473
- const { createScopedShare } = await import("./agentShare-2HyVIGun.js");
3473
+ const { createScopedShare } = await import("./agentShare-DnewJUOO.js");
3474
3474
  const share = await createScopedShare({
3475
3475
  agent: body.agent,
3476
3476
  perm,
@@ -3485,12 +3485,12 @@ Options:
3485
3485
  }
3486
3486
  }
3487
3487
  if (req.method === "GET" && p === "/api/shares") {
3488
- const { listShares } = await import("./agentShare-2HyVIGun.js");
3488
+ const { listShares } = await import("./agentShare-DnewJUOO.js");
3489
3489
  return Response.json(listShares());
3490
3490
  }
3491
3491
  const revokeM = /^\/api\/share\/([^/]+)$/.exec(p);
3492
3492
  if (req.method === "DELETE" && revokeM) {
3493
- const { revokeShare } = await import("./agentShare-2HyVIGun.js");
3493
+ const { revokeShare } = await import("./agentShare-DnewJUOO.js");
3494
3494
  const ok = revokeShare(decodeURIComponent(revokeM[1]));
3495
3495
  return new Response(ok ? "revoked" : "no such share", { status: ok ? 200 : 404 });
3496
3496
  }
@@ -3795,7 +3795,7 @@ Options:
3795
3795
  const shutdown = (resolve) => {
3796
3796
  if (heartbeat) clearInterval(heartbeat);
3797
3797
  closeShare?.();
3798
- import("./agentShare-2HyVIGun.js").then((m) => m.revokeAllShares()).catch(() => {});
3798
+ import("./agentShare-DnewJUOO.js").then((m) => m.revokeAllShares()).catch(() => {});
3799
3799
  server?.stop();
3800
3800
  Promise.resolve(releaseHostLock?.()).catch(() => {}).then(resolve);
3801
3801
  };
@@ -3808,4 +3808,4 @@ Options:
3808
3808
 
3809
3809
  //#endregion
3810
3810
  export { cmdServe, loadTokenReadOnly, mintScopedTermToken, resolveDaemonHttpBase, resolveLocalServeUrl };
3811
- //# sourceMappingURL=serve-DjXJihRj.js.map
3811
+ //# sourceMappingURL=serve-XWSfUL8i.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-DjXJihRj.js");
43
+ const { cmdServe } = await import("./serve-XWSfUL8i.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-BvzHgiZZ.js.map
53
+ //# sourceMappingURL=setup-B-Cui8R6.js.map
@@ -3,7 +3,7 @@ import "./globalPidIndex-Dq4KY2IV.js";
3
3
  import "./messageLog-BYFwioFY.js";
4
4
  import "./e2e-OLfcNxiv.js";
5
5
  import "./configShared-DYxlvrH0.js";
6
- import { A as menuSelectKeys, B as resolveOne, C as isSubcommand, D as lastStdinAt, E as lastReadAt, F as recentMessageEdges, G as snapshotStatus, H as resolveResumeArgs, I as recentReadEdges, J as submitAndConfirm, K as stdinActivityPath, L as renderLogTailLines, M as readLogForRender, N as readNotes, O as listRecords, P as readPtysize, R as renderRawLog, S as isSlashCommand, T as isUserTyping, U as restartHintLines, V as resolveReadWindow, W as runSubcommand, X as writeKeysPaced, Y as waitForLogQuiet, Z as writeToIpc, _ as finalizedLines, a as TYPING_WINDOW_MS, b as isExitRequest, c as cmdHelp, d as deriveLiveState, f as deriveLiveStatus, g as extractTaskCounts, h as extractNeedsInput, i as READ_WINDOW_MS, j as readAgentPtysize, k as matchKeyword, l as controlCodeFromName, m as extractMenu, n as MAX_RENDER_BYTES, o as backoffWhileTyping, p as extractBadges, q as stopTipForCli, r as READ_PAGE_DEFAULT, s as cmdDeepseek, t as GRACEFUL_EXIT_COMMANDS, u as cursorAbs, v as isAgentStuck, w as isUnknownManagerToken, x as isPidAlive, y as isBareManagerInvocation, z as renderRawLogLines } from "./subcommands-B3yYhAG5.js";
6
+ import { A as menuSelectKeys, B as resolveOne, C as isSubcommand, D as lastStdinAt, E as lastReadAt, F as recentMessageEdges, G as snapshotStatus, H as resolveResumeArgs, I as recentReadEdges, J as submitAndConfirm, K as stdinActivityPath, L as renderLogTailLines, M as readLogForRender, N as readNotes, O as listRecords, P as readPtysize, R as renderRawLog, S as isSlashCommand, T as isUserTyping, U as restartHintLines, V as resolveReadWindow, W as runSubcommand, X as writeKeysPaced, Y as waitForLogQuiet, Z as writeToIpc, _ as finalizedLines, a as TYPING_WINDOW_MS, b as isExitRequest, c as cmdHelp, d as deriveLiveState, f as deriveLiveStatus, g as extractTaskCounts, h as extractNeedsInput, i as READ_WINDOW_MS, j as readAgentPtysize, k as matchKeyword, l as controlCodeFromName, m as extractMenu, n as MAX_RENDER_BYTES, o as backoffWhileTyping, p as extractBadges, q as stopTipForCli, r as READ_PAGE_DEFAULT, s as cmdDeepseek, t as GRACEFUL_EXIT_COMMANDS, u as cursorAbs, v as isAgentStuck, w as isUnknownManagerToken, x as isPidAlive, y as isBareManagerInvocation, z as renderRawLogLines } from "./subcommands-C3NO344d.js";
7
7
  import "./notifyStore-Dus2D1XA.js";
8
8
  import "./webrtcLink-B72AQ2eb.js";
9
9
  import "./remotes-IzQHupeo.js";
@@ -907,7 +907,7 @@ async function runSubcommand(argv) {
907
907
  switch (sub) {
908
908
  case "ls":
909
909
  case "list": return await cmdLs(rest);
910
- case "ps": return await (await import("./cmdPs-guXwE1CD.js")).cmdPs(rest);
910
+ case "ps": return await (await import("./cmdPs-4An2s2t8.js")).cmdPs(rest);
911
911
  case "status": return await cmdStatus(rest);
912
912
  case "whoami": return await cmdWhoami(rest);
913
913
  case "result": return await cmdResult(rest);
@@ -954,35 +954,35 @@ async function runSubcommand(argv) {
954
954
  return cmdCh(rest);
955
955
  }
956
956
  case "term": {
957
- const { cmdTerm } = await import("./terminal-BW1__Nur.js");
957
+ const { cmdTerm } = await import("./terminal-BxWNOBW4.js");
958
958
  return cmdTerm(rest);
959
959
  }
960
960
  case "widget": {
961
- const { cmdWidget } = await import("./widget-Bj1cFjqo.js");
961
+ const { cmdWidget } = await import("./widget-DobxsxXa.js");
962
962
  return cmdWidget(rest);
963
963
  }
964
964
  case "mint": {
965
- const { cmdMint } = await import("./widget-Bj1cFjqo.js");
965
+ const { cmdMint } = await import("./widget-DobxsxXa.js");
966
966
  return cmdMint(rest);
967
967
  }
968
968
  case "serve": {
969
- const { cmdServe } = await import("./serve-DjXJihRj.js");
969
+ const { cmdServe } = await import("./serve-XWSfUL8i.js");
970
970
  return cmdServe(rest);
971
971
  }
972
972
  case "tray": {
973
- const { cmdTray } = await import("./trayApp-BhDs3NHt.js");
973
+ const { cmdTray } = await import("./trayApp-XJit7gRr.js");
974
974
  return cmdTray(rest);
975
975
  }
976
976
  case "setup": {
977
- const { cmdSetup } = await import("./setup-BvzHgiZZ.js");
977
+ const { cmdSetup } = await import("./setup-B-Cui8R6.js");
978
978
  return cmdSetup(rest);
979
979
  }
980
980
  case "ws": {
981
- const { cmdWs } = await import("./ws-DwgqQn6O.js");
981
+ const { cmdWs } = await import("./ws-Bk2cJphr.js");
982
982
  return cmdWs(rest);
983
983
  }
984
984
  case "schedule": {
985
- const { cmdSchedule } = await import("./schedule-CJj1MU1L.js");
985
+ const { cmdSchedule } = await import("./schedule-BdK4RVQ5.js");
986
986
  return cmdSchedule(rest);
987
987
  }
988
988
  case "remote": {
@@ -994,7 +994,7 @@ async function runSubcommand(argv) {
994
994
  return cmdExpose(rest);
995
995
  }
996
996
  case "callback": {
997
- const { cmdCallback } = await import("./callback-DVCbzswC.js");
997
+ const { cmdCallback } = await import("./callback-Besk3KFx.js");
998
998
  return cmdCallback(rest);
999
999
  }
1000
1000
  case "reap":
@@ -3500,7 +3500,7 @@ async function cmdAttach(rest) {
3500
3500
  const winsizeDir = path.join(ayHome, "winsize");
3501
3501
  await mkdir(winsizeDir, { recursive: true });
3502
3502
  const winsizePath = path.join(winsizeDir, String(record.pid));
3503
- const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-DjXJihRj.js");
3503
+ const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-XWSfUL8i.js");
3504
3504
  const daemonBase = await resolveDaemonHttpBase().catch(() => null);
3505
3505
  const daemonToken = daemonBase ? await loadTokenReadOnly().catch(() => null) ?? "" : "";
3506
3506
  const capViewer = `attach:${process.pid}`;
@@ -4210,7 +4210,7 @@ async function cmdNotify(rest) {
4210
4210
  }
4211
4211
  const ensure = async () => {
4212
4212
  if (!argv["ensure-daemon"]) return;
4213
- const { ensureDaemon } = await import("./notifyDaemon-CFO6_oZh.js");
4213
+ const { ensureDaemon } = await import("./notifyDaemon-kIOLWrEI.js");
4214
4214
  await ensureDaemon().catch(() => null);
4215
4215
  };
4216
4216
  await heartbeatWatcher(parent, selfStartedAt);
@@ -4284,7 +4284,7 @@ async function cmdNotifyCursor(args) {
4284
4284
  }
4285
4285
  async function cmdNotifyd(rest) {
4286
4286
  const sub = rest[0] ?? "status";
4287
- const daemon = await import("./notifyDaemon-CFO6_oZh.js");
4287
+ const daemon = await import("./notifyDaemon-kIOLWrEI.js");
4288
4288
  switch (sub) {
4289
4289
  case "run": return daemon.runDaemon();
4290
4290
  case "once": return daemon.runDaemon({ once: true });
@@ -4311,4 +4311,4 @@ async function cmdNotifyd(rest) {
4311
4311
 
4312
4312
  //#endregion
4313
4313
  export { TYPING_BADGE as $, menuSelectKeys as A, resolveOne as B, isSubcommand as C, lastStdinAt as D, lastReadAt as E, recentMessageEdges as F, snapshotStatus as G, resolveResumeArgs as H, recentReadEdges as I, submitAndConfirm as J, stdinActivityPath as K, renderLogTailLines as L, readLogForRender as M, readNotes as N, listRecords as O, readPtysize as P, withIpcLock as Q, renderRawLog as R, isSlashCommand as S, isUserTyping as T, restartHintLines as U, resolveReadWindow as V, runSubcommand as W, writeKeysPaced as X, waitForLogQuiet as Y, writeToIpc as Z, finalizedLines as _, TYPING_WINDOW_MS as a, isExitRequest as b, cmdHelp as c, deriveLiveState as d, buildAgentForest as et, deriveLiveStatus as f, extractTaskCounts as g, extractNeedsInput as h, READ_WINDOW_MS as i, readAgentPtysize as j, matchKeyword as k, controlCodeFromName as l, extractMenu as m, MAX_RENDER_BYTES as n, backoffWhileTyping as o, extractBadges as p, stopTipForCli as q, READ_PAGE_DEFAULT as r, cmdDeepseek as s, GRACEFUL_EXIT_COMMANDS as t, flattenForest as tt, cursorAbs as u, isAgentStuck as v, isUnknownManagerToken as w, isPidAlive as x, isBareManagerInvocation as y, renderRawLogLines as z };
4314
- //# sourceMappingURL=subcommands-B3yYhAG5.js.map
4314
+ //# sourceMappingURL=subcommands-C3NO344d.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-DjXJihRj.js");
101
+ const { mintScopedTermToken } = await import("./serve-XWSfUL8i.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-BW1__Nur.js.map
138
+ //# sourceMappingURL=terminal-BxWNOBW4.js.map
@@ -1,4 +1,4 @@
1
- import { n as findTrayLauncher } from "./rustBinary-DzkW66Lm.js";
1
+ import { n as findTrayLauncher } from "./rustBinary-BK03gMMg.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-BfkcZXlu.js.map
100
+ //# sourceMappingURL=trayApp-CcQDIINw.js.map
@@ -0,0 +1,5 @@
1
+ import "./versionChecker-DCtcFwZ7.js";
2
+ import "./rustBinary-BK03gMMg.js";
3
+ import { a as trayHiddenMarker, i as launchTray, n as hasDesktop, r as isTrayHidden, t as cmdTray } from "./trayApp-CcQDIINw.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-CtFlXAFh.js";
3
+ import { r as getInstalledPackage } from "./versionChecker-DCtcFwZ7.js";
4
4
  import { t as agentYesHome } from "./agentYesHome-CtmsY6I-.js";
5
5
  import { u as removeControlCharacters } from "./todoAutomation-BETGOik9.js";
6
6
  import { i as shouldUseLock, r as releaseLock, t as acquireLock } from "./runningLock-DBoONoM-.js";
@@ -2074,7 +2074,7 @@ async function agentYes({ cli, cliArgs = [], skipPermissions = false, prompt, ro
2074
2074
  }, 100);
2075
2075
  const cleanupHeartbeat = () => clearInterval(heartbeatInterval);
2076
2076
  shell.onExit(cleanupHeartbeat);
2077
- const { startParentPingLoop } = await import("./parentPingLoop-BH4qu3JD.js");
2077
+ const { startParentPingLoop } = await import("./parentPingLoop-D2A9Fkhf.js");
2078
2078
  const parentPingLoop = startParentPingLoop({
2079
2079
  parentPid,
2080
2080
  selfWrapperPid: process.pid,
@@ -2338,4 +2338,4 @@ function sleep(ms) {
2338
2338
 
2339
2339
  //#endregion
2340
2340
  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 };
2341
- //# sourceMappingURL=ts-Q3AxCJqf.js.map
2341
+ //# sourceMappingURL=ts-BG759sO1.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.270.1";
10
+ var version = "1.271.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-CtFlXAFh.js.map
218
+ //# sourceMappingURL=versionChecker-DCtcFwZ7.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-DjXJihRj.js");
31
+ const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-XWSfUL8i.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-DjXJihRj.js");
189
+ const { mintScopedTermToken } = await import("./serve-XWSfUL8i.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-Bj1cFjqo.js.map
205
+ //# sourceMappingURL=widget-DobxsxXa.js.map
@@ -3,10 +3,10 @@ import "./globalPidIndex-Dq4KY2IV.js";
3
3
  import "./messageLog-BYFwioFY.js";
4
4
  import "./e2e-OLfcNxiv.js";
5
5
  import "./configShared-DYxlvrH0.js";
6
- import "./subcommands-B3yYhAG5.js";
6
+ import "./subcommands-C3NO344d.js";
7
7
  import "./notifyStore-Dus2D1XA.js";
8
8
  import "./webrtcLink-B72AQ2eb.js";
9
9
  import "./remotes-IzQHupeo.js";
10
- 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-sD4KNCh_.js";
10
+ 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-DO1UpPDw.js";
11
11
 
12
12
  export { WS_JSON_SCHEMA, cmdWs, collectWorkspaces, isPathInside, loadProvision, walkWorkspaces, workspaceStatus };
@@ -1,4 +1,4 @@
1
- import { O as listRecords } from "./subcommands-B3yYhAG5.js";
1
+ import { O as listRecords } from "./subcommands-C3NO344d.js";
2
2
  import { a as getProvisionRoot } from "./workspaceConfig-EK7XNsgR.js";
3
3
  import { existsSync } from "fs";
4
4
  import { lstat, opendir } from "fs/promises";
@@ -424,4 +424,4 @@ async function cmdWs(args) {
424
424
 
425
425
  //#endregion
426
426
  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 };
427
- //# sourceMappingURL=ws-sD4KNCh_.js.map
427
+ //# sourceMappingURL=ws-DO1UpPDw.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-yes",
3
- "version": "1.270.1",
3
+ "version": "1.271.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-CtFlXAFh.js";
2
- import "./rustBinary-DzkW66Lm.js";
3
- import { a as trayHiddenMarker, i as launchTray, n as hasDesktop, r as isTrayHidden, t as cmdTray } from "./trayApp-BfkcZXlu.js";
4
-
5
- export { cmdTray };