agent-yes 1.258.0 → 1.258.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/dist/{SUPPORTED_CLIS-DTjWc_om.js → SUPPORTED_CLIS-CPsMiUXL.js} +2 -2
  2. package/dist/{SUPPORTED_CLIS-Dov9qOQf.js → SUPPORTED_CLIS-gXLHhZ-S.js} +3 -3
  3. package/dist/{agentShare-n39adLst.js → agentShare-xzm83xt8.js} +2 -2
  4. package/dist/{callback-tnnB0ibj.js → callback-C62Nh0Nz.js} +2 -2
  5. package/dist/{callback-irtAFEXY.js → callback-tmWAos4Y.js} +3 -3
  6. package/dist/cli.js +5 -5
  7. package/dist/index.js +2 -2
  8. package/dist/{notifyDaemon-BKaX7tHT.js → notifyDaemon-BjBOMGUD.js} +2 -2
  9. package/dist/{rustBinary-BjMf3hJs.js → rustBinary-3xArZcQ5.js} +2 -2
  10. package/dist/{schedule-D19dfoUv.js → schedule-5STKhhml.js} +4 -4
  11. package/dist/{serve-CrQavO4J.js → serve-3Mex6lpg.js} +15 -15
  12. package/dist/{setup-D1en_TN3.js → setup-BZ3tYUXL.js} +2 -2
  13. package/dist/{subcommands-bd-cHNKW.js → subcommands-311K9VMn.js} +13 -13
  14. package/dist/{subcommands-B7iBIPXn.js → subcommands-DaNdDfdS.js} +1 -1
  15. package/dist/{terminal-eRiT4Zbo.js → terminal-1puHU7Cl.js} +2 -2
  16. package/dist/trayApp-9x-F2Sy4.js +5 -0
  17. package/dist/{trayApp-BBNKEQbP.js → trayApp-CHbvvV5Y.js} +2 -2
  18. package/dist/{ts-CvUvWb2n.js → ts-DtPPVkoi.js} +2 -2
  19. package/dist/{versionChecker-BKFAk759.js → versionChecker-DL1w1hA0.js} +2 -2
  20. package/dist/{widget-C1GqFymh.js → widget-D38Nymba.js} +3 -3
  21. package/dist/{ws-CWPlW7ia.js → ws-5wbArx1K.js} +2 -2
  22. package/dist/{ws-DgHuhAPq.js → ws-CV0t0WxE.js} +2 -2
  23. package/lab/ui/index.html +12 -57
  24. package/package.json +1 -1
  25. package/dist/trayApp-Cef9w_n4.js +0 -5
@@ -1,8 +1,8 @@
1
- import { t as CLIS_CONFIG } from "./ts-CvUvWb2n.js";
1
+ import { t as CLIS_CONFIG } from "./ts-DtPPVkoi.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-DTjWc_om.js.map
8
+ //# sourceMappingURL=SUPPORTED_CLIS-CPsMiUXL.js.map
@@ -1,11 +1,11 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import "./versionChecker-BKFAk759.js";
3
- import "./ts-CvUvWb2n.js";
2
+ import "./versionChecker-DL1w1hA0.js";
3
+ import "./ts-DtPPVkoi.js";
4
4
  import "./todoAutomation-BQRW614S.js";
5
5
  import "./JsonlStore-CPGIR0Wy.js";
6
6
  import "./globalPidIndex-Dq4KY2IV.js";
7
7
  import "./pidStore-Cmcc8Oej.js";
8
8
  import "./messageLog-BYFwioFY.js";
9
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DTjWc_om.js";
9
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CPsMiUXL.js";
10
10
 
11
11
  export { SUPPORTED_CLIS };
@@ -3,7 +3,7 @@ import "./globalPidIndex-Dq4KY2IV.js";
3
3
  import "./messageLog-BYFwioFY.js";
4
4
  import "./e2e-CUMZC53I.js";
5
5
  import "./configShared-DtHMBCl7.js";
6
- import { I as resolveOne } from "./subcommands-bd-cHNKW.js";
6
+ import { I as resolveOne } from "./subcommands-311K9VMn.js";
7
7
  import "./webrtcLink-CS4D-3G1.js";
8
8
  import "./remotes-Dy4Rg8Yp.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-n39adLst.js.map
232
+ //# sourceMappingURL=agentShare-xzm83xt8.js.map
@@ -3,10 +3,10 @@ import "./globalPidIndex-Dq4KY2IV.js";
3
3
  import "./messageLog-BYFwioFY.js";
4
4
  import "./e2e-CUMZC53I.js";
5
5
  import "./configShared-DtHMBCl7.js";
6
- import "./subcommands-bd-cHNKW.js";
6
+ import "./subcommands-311K9VMn.js";
7
7
  import "./webrtcLink-CS4D-3G1.js";
8
8
  import "./remotes-Dy4Rg8Yp.js";
9
9
  import "./callbackCore-Cg3Ye0ZS.js";
10
- import { i as loadOrCreateCallbackSecret, n as isCallbackRevoked, r as loadCallbackSecretReadOnly, t as cmdCallback } from "./callback-irtAFEXY.js";
10
+ import { i as loadOrCreateCallbackSecret, n as isCallbackRevoked, r as loadCallbackSecretReadOnly, t as cmdCallback } from "./callback-tmWAos4Y.js";
11
11
 
12
12
  export { cmdCallback };
@@ -1,5 +1,5 @@
1
1
  import { t as agentYesHome } from "./agentYesHome-CtmsY6I-.js";
2
- import { I as resolveOne } from "./subcommands-bd-cHNKW.js";
2
+ import { I as resolveOne } from "./subcommands-311K9VMn.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-CrQavO4J.js");
75
+ const { resolveLocalServeUrl } = await import("./serve-3Mex6lpg.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-irtAFEXY.js.map
190
+ //# sourceMappingURL=callback-tmWAos4Y.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-BKFAk759.js";
5
- import { r as getRustBinary } from "./rustBinary-BjMf3hJs.js";
4
+ import { i as versionString, n as displayVersion, t as checkAndAutoUpdate } from "./versionChecker-DL1w1hA0.js";
5
+ import { r as getRustBinary } from "./rustBinary-3xArZcQ5.js";
6
6
  import { argv } from "process";
7
7
  import { spawn } from "child_process";
8
8
  import ms from "ms";
@@ -285,7 +285,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
285
285
  const rawArg = process.argv[2];
286
286
  const managerCommands = !invokedCliName(process.argv);
287
287
  const isHelpFlag = rawArg === "-h" || rawArg === "--help";
288
- const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken } = await import("./subcommands-B7iBIPXn.js");
288
+ const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken } = await import("./subcommands-DaNdDfdS.js");
289
289
  if (isHelpFlag && process.argv.length === 3) {
290
290
  await cmdHelp(managerCommands);
291
291
  process.exit(0);
@@ -295,7 +295,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
295
295
  process.exit(code ?? 0);
296
296
  }
297
297
  {
298
- const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-Dov9qOQf.js");
298
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-gXLHhZ-S.js");
299
299
  if (isUnknownManagerToken(rawArg, managerCommands, SUPPORTED_CLIS)) {
300
300
  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`);
301
301
  process.exit(1);
@@ -346,7 +346,7 @@ if (config.useRust) {
346
346
  }
347
347
  }
348
348
  if (rustBinary) {
349
- const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-Dov9qOQf.js");
349
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-gXLHhZ-S.js");
350
350
  const rustArgs = buildRustArgs(process.argv, config.cli, SUPPORTED_CLIS);
351
351
  if (config.verbose) {
352
352
  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-BKFAk759.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-CvUvWb2n.js";
2
+ import "./versionChecker-DL1w1hA0.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-DtPPVkoi.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-Dq4KY2IV.js";
@@ -3,7 +3,7 @@ import "./globalPidIndex-Dq4KY2IV.js";
3
3
  import "./messageLog-BYFwioFY.js";
4
4
  import "./e2e-CUMZC53I.js";
5
5
  import "./configShared-DtHMBCl7.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-bd-cHNKW.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-311K9VMn.js";
7
7
  import "./webrtcLink-CS4D-3G1.js";
8
8
  import "./remotes-Dy4Rg8Yp.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-BKaX7tHT.js.map
839
+ //# sourceMappingURL=notifyDaemon-BjBOMGUD.js.map
@@ -1,4 +1,4 @@
1
- import { r as getInstalledPackage } from "./versionChecker-BKFAk759.js";
1
+ import { r as getInstalledPackage } from "./versionChecker-DL1w1hA0.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-BjMf3hJs.js.map
246
+ //# sourceMappingURL=rustBinary-3xArZcQ5.js.map
@@ -1,12 +1,12 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import "./versionChecker-BKFAk759.js";
3
- import "./ts-CvUvWb2n.js";
2
+ import "./versionChecker-DL1w1hA0.js";
3
+ import "./ts-DtPPVkoi.js";
4
4
  import "./todoAutomation-BQRW614S.js";
5
5
  import "./JsonlStore-CPGIR0Wy.js";
6
6
  import "./globalPidIndex-Dq4KY2IV.js";
7
7
  import "./pidStore-Cmcc8Oej.js";
8
8
  import "./messageLog-BYFwioFY.js";
9
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DTjWc_om.js";
9
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CPsMiUXL.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-D19dfoUv.js.map
156
+ //# sourceMappingURL=schedule-5STKhhml.js.map
@@ -1,7 +1,7 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import { r as getInstalledPackage } from "./versionChecker-BKFAk759.js";
3
- import { t as findSpawnHiddenLauncher } from "./rustBinary-BjMf3hJs.js";
4
- import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-CvUvWb2n.js";
2
+ import { r as getInstalledPackage } from "./versionChecker-DL1w1hA0.js";
3
+ import { t as findSpawnHiddenLauncher } from "./rustBinary-3xArZcQ5.js";
4
+ import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-DtPPVkoi.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-DTjWc_om.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-bd-cHNKW.js";
14
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CPsMiUXL.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-311K9VMn.js";
16
16
  import "./webrtcLink-CS4D-3G1.js";
17
17
  import "./remotes-Dy4Rg8Yp.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-irtAFEXY.js";
19
+ import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-tmWAos4Y.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-DgHuhAPq.js";
22
+ import { i as importProvisionModule } from "./ws-CV0t0WxE.js";
23
23
  import { r as spawnRejectionReason } from "./spawnGate-D0E1uRP7.js";
24
- import { i as launchTray } from "./trayApp-BBNKEQbP.js";
24
+ import { i as launchTray } from "./trayApp-CHbvvV5Y.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";
@@ -2368,7 +2368,7 @@ Options:
2368
2368
  }
2369
2369
  });
2370
2370
  if (req.method === "GET" && p === "/api/ws") {
2371
- const ws = await import("./ws-CWPlW7ia.js");
2371
+ const ws = await import("./ws-5wbArx1K.js");
2372
2372
  try {
2373
2373
  await ws.loadProvision();
2374
2374
  } catch (e) {
@@ -2388,7 +2388,7 @@ Options:
2388
2388
  if (req.method === "GET" && p === "/api/ws/status") {
2389
2389
  const dirRaw = url.searchParams.get("path");
2390
2390
  if (!dirRaw) return new Response("missing ?path=<workspace dir>", { status: 400 });
2391
- const ws = await import("./ws-CWPlW7ia.js");
2391
+ const ws = await import("./ws-5wbArx1K.js");
2392
2392
  let prov;
2393
2393
  try {
2394
2394
  prov = await ws.loadProvision();
@@ -3145,7 +3145,7 @@ Options:
3145
3145
  const perm = body.perm ?? "r";
3146
3146
  if (perm !== "r" && perm !== "rw") return new Response(`invalid perm ${perm} (want r or rw)`, { status: 400 });
3147
3147
  try {
3148
- const { createScopedShare } = await import("./agentShare-n39adLst.js");
3148
+ const { createScopedShare } = await import("./agentShare-xzm83xt8.js");
3149
3149
  const share = await createScopedShare({
3150
3150
  agent: body.agent,
3151
3151
  perm,
@@ -3160,12 +3160,12 @@ Options:
3160
3160
  }
3161
3161
  }
3162
3162
  if (req.method === "GET" && p === "/api/shares") {
3163
- const { listShares } = await import("./agentShare-n39adLst.js");
3163
+ const { listShares } = await import("./agentShare-xzm83xt8.js");
3164
3164
  return Response.json(listShares());
3165
3165
  }
3166
3166
  const revokeM = /^\/api\/share\/([^/]+)$/.exec(p);
3167
3167
  if (req.method === "DELETE" && revokeM) {
3168
- const { revokeShare } = await import("./agentShare-n39adLst.js");
3168
+ const { revokeShare } = await import("./agentShare-xzm83xt8.js");
3169
3169
  const ok = revokeShare(decodeURIComponent(revokeM[1]));
3170
3170
  return new Response(ok ? "revoked" : "no such share", { status: ok ? 200 : 404 });
3171
3171
  }
@@ -3467,7 +3467,7 @@ Options:
3467
3467
  const shutdown = (resolve) => {
3468
3468
  if (heartbeat) clearInterval(heartbeat);
3469
3469
  closeShare?.();
3470
- import("./agentShare-n39adLst.js").then((m) => m.revokeAllShares()).catch(() => {});
3470
+ import("./agentShare-xzm83xt8.js").then((m) => m.revokeAllShares()).catch(() => {});
3471
3471
  server?.stop();
3472
3472
  Promise.resolve(releaseHostLock?.()).catch(() => {}).then(resolve);
3473
3473
  };
@@ -3480,4 +3480,4 @@ Options:
3480
3480
 
3481
3481
  //#endregion
3482
3482
  export { cmdServe, loadTokenReadOnly, mintScopedTermToken, resolveDaemonHttpBase, resolveLocalServeUrl };
3483
- //# sourceMappingURL=serve-CrQavO4J.js.map
3483
+ //# sourceMappingURL=serve-3Mex6lpg.js.map
@@ -32,7 +32,7 @@ async function cmdSetup(rest) {
32
32
  if (!existsSync(abs)) process.stderr.write(` note: that directory doesn't exist yet — create it, or agents spawned there will fail\n`);
33
33
  if (noShare) return 0;
34
34
  process.stdout.write(`\nsharing this machine to agent-yes.com…\n`);
35
- const { cmdServe } = await import("./serve-CrQavO4J.js");
35
+ const { cmdServe } = await import("./serve-3Mex6lpg.js");
36
36
  return cmdServe([
37
37
  "install",
38
38
  "--share",
@@ -42,4 +42,4 @@ async function cmdSetup(rest) {
42
42
 
43
43
  //#endregion
44
44
  export { cmdSetup };
45
- //# sourceMappingURL=setup-D1en_TN3.js.map
45
+ //# sourceMappingURL=setup-BZ3tYUXL.js.map
@@ -1398,35 +1398,35 @@ async function runSubcommand(argv) {
1398
1398
  return cmdCh(rest);
1399
1399
  }
1400
1400
  case "term": {
1401
- const { cmdTerm } = await import("./terminal-eRiT4Zbo.js");
1401
+ const { cmdTerm } = await import("./terminal-1puHU7Cl.js");
1402
1402
  return cmdTerm(rest);
1403
1403
  }
1404
1404
  case "widget": {
1405
- const { cmdWidget } = await import("./widget-C1GqFymh.js");
1405
+ const { cmdWidget } = await import("./widget-D38Nymba.js");
1406
1406
  return cmdWidget(rest);
1407
1407
  }
1408
1408
  case "mint": {
1409
- const { cmdMint } = await import("./widget-C1GqFymh.js");
1409
+ const { cmdMint } = await import("./widget-D38Nymba.js");
1410
1410
  return cmdMint(rest);
1411
1411
  }
1412
1412
  case "serve": {
1413
- const { cmdServe } = await import("./serve-CrQavO4J.js");
1413
+ const { cmdServe } = await import("./serve-3Mex6lpg.js");
1414
1414
  return cmdServe(rest);
1415
1415
  }
1416
1416
  case "tray": {
1417
- const { cmdTray } = await import("./trayApp-Cef9w_n4.js");
1417
+ const { cmdTray } = await import("./trayApp-9x-F2Sy4.js");
1418
1418
  return cmdTray(rest);
1419
1419
  }
1420
1420
  case "setup": {
1421
- const { cmdSetup } = await import("./setup-D1en_TN3.js");
1421
+ const { cmdSetup } = await import("./setup-BZ3tYUXL.js");
1422
1422
  return cmdSetup(rest);
1423
1423
  }
1424
1424
  case "ws": {
1425
- const { cmdWs } = await import("./ws-CWPlW7ia.js");
1425
+ const { cmdWs } = await import("./ws-5wbArx1K.js");
1426
1426
  return cmdWs(rest);
1427
1427
  }
1428
1428
  case "schedule": {
1429
- const { cmdSchedule } = await import("./schedule-D19dfoUv.js");
1429
+ const { cmdSchedule } = await import("./schedule-5STKhhml.js");
1430
1430
  return cmdSchedule(rest);
1431
1431
  }
1432
1432
  case "remote": {
@@ -1438,7 +1438,7 @@ async function runSubcommand(argv) {
1438
1438
  return cmdExpose(rest);
1439
1439
  }
1440
1440
  case "callback": {
1441
- const { cmdCallback } = await import("./callback-tnnB0ibj.js");
1441
+ const { cmdCallback } = await import("./callback-C62Nh0Nz.js");
1442
1442
  return cmdCallback(rest);
1443
1443
  }
1444
1444
  case "reap":
@@ -3887,7 +3887,7 @@ async function cmdAttach(rest) {
3887
3887
  const winsizeDir = path.join(ayHome, "winsize");
3888
3888
  await mkdir(winsizeDir, { recursive: true });
3889
3889
  const winsizePath = path.join(winsizeDir, String(record.pid));
3890
- const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-CrQavO4J.js");
3890
+ const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-3Mex6lpg.js");
3891
3891
  const daemonBase = await resolveDaemonHttpBase().catch(() => null);
3892
3892
  const daemonToken = daemonBase ? await loadTokenReadOnly().catch(() => null) ?? "" : "";
3893
3893
  const capViewer = `attach:${process.pid}`;
@@ -4597,7 +4597,7 @@ async function cmdNotify(rest) {
4597
4597
  }
4598
4598
  const ensure = async () => {
4599
4599
  if (!argv["ensure-daemon"]) return;
4600
- const { ensureDaemon } = await import("./notifyDaemon-BKaX7tHT.js");
4600
+ const { ensureDaemon } = await import("./notifyDaemon-BjBOMGUD.js");
4601
4601
  await ensureDaemon().catch(() => null);
4602
4602
  };
4603
4603
  await heartbeatWatcher(parent, selfStartedAt);
@@ -4671,7 +4671,7 @@ async function cmdNotifyCursor(args) {
4671
4671
  }
4672
4672
  async function cmdNotifyd(rest) {
4673
4673
  const sub = rest[0] ?? "status";
4674
- const daemon = await import("./notifyDaemon-BKaX7tHT.js");
4674
+ const daemon = await import("./notifyDaemon-BjBOMGUD.js");
4675
4675
  switch (sub) {
4676
4676
  case "run": return daemon.runDaemon();
4677
4677
  case "once": return daemon.runDaemon({ once: true });
@@ -4698,4 +4698,4 @@ async function cmdNotifyd(rest) {
4698
4698
 
4699
4699
  //#endregion
4700
4700
  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 };
4701
- //# sourceMappingURL=subcommands-bd-cHNKW.js.map
4701
+ //# sourceMappingURL=subcommands-311K9VMn.js.map
@@ -3,7 +3,7 @@ import "./globalPidIndex-Dq4KY2IV.js";
3
3
  import "./messageLog-BYFwioFY.js";
4
4
  import "./e2e-CUMZC53I.js";
5
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-bd-cHNKW.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-311K9VMn.js";
7
7
  import "./webrtcLink-CS4D-3G1.js";
8
8
  import "./remotes-Dy4Rg8Yp.js";
9
9
 
@@ -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-CrQavO4J.js");
101
+ const { mintScopedTermToken } = await import("./serve-3Mex6lpg.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-eRiT4Zbo.js.map
138
+ //# sourceMappingURL=terminal-1puHU7Cl.js.map
@@ -0,0 +1,5 @@
1
+ import "./versionChecker-DL1w1hA0.js";
2
+ import "./rustBinary-3xArZcQ5.js";
3
+ import { a as trayHiddenMarker, i as launchTray, n as hasDesktop, r as isTrayHidden, t as cmdTray } from "./trayApp-CHbvvV5Y.js";
4
+
5
+ export { cmdTray };
@@ -1,4 +1,4 @@
1
- import { n as findTrayLauncher } from "./rustBinary-BjMf3hJs.js";
1
+ import { n as findTrayLauncher } from "./rustBinary-3xArZcQ5.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-BBNKEQbP.js.map
100
+ //# sourceMappingURL=trayApp-CHbvvV5Y.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-BKFAk759.js";
3
+ import { r as getInstalledPackage } from "./versionChecker-DL1w1hA0.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";
@@ -2180,4 +2180,4 @@ function sleep(ms) {
2180
2180
 
2181
2181
  //#endregion
2182
2182
  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 };
2183
- //# sourceMappingURL=ts-CvUvWb2n.js.map
2183
+ //# sourceMappingURL=ts-DtPPVkoi.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.258.0";
10
+ var version = "1.258.1";
11
11
 
12
12
  //#endregion
13
13
  //#region ts/versionChecker.ts
@@ -215,4 +215,4 @@ async function displayVersion() {
215
215
 
216
216
  //#endregion
217
217
  export { versionString as i, displayVersion as n, getInstalledPackage as r, checkAndAutoUpdate as t };
218
- //# sourceMappingURL=versionChecker-BKFAk759.js.map
218
+ //# sourceMappingURL=versionChecker-DL1w1hA0.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-CrQavO4J.js");
31
+ const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-3Mex6lpg.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-CrQavO4J.js");
189
+ const { mintScopedTermToken } = await import("./serve-3Mex6lpg.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-C1GqFymh.js.map
205
+ //# sourceMappingURL=widget-D38Nymba.js.map
@@ -3,9 +3,9 @@ import "./globalPidIndex-Dq4KY2IV.js";
3
3
  import "./messageLog-BYFwioFY.js";
4
4
  import "./e2e-CUMZC53I.js";
5
5
  import "./configShared-DtHMBCl7.js";
6
- import "./subcommands-bd-cHNKW.js";
6
+ import "./subcommands-311K9VMn.js";
7
7
  import "./webrtcLink-CS4D-3G1.js";
8
8
  import "./remotes-Dy4Rg8Yp.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-DgHuhAPq.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-CV0t0WxE.js";
10
10
 
11
11
  export { WS_JSON_SCHEMA, cmdWs, collectWorkspaces, isPathInside, loadProvision, workspaceStatus };
@@ -1,4 +1,4 @@
1
- import { w as listRecords } from "./subcommands-bd-cHNKW.js";
1
+ import { w as listRecords } from "./subcommands-311K9VMn.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-DgHuhAPq.js.map
429
+ //# sourceMappingURL=ws-CV0t0WxE.js.map
package/lab/ui/index.html CHANGED
@@ -1365,35 +1365,6 @@
1365
1365
  text-overflow: ellipsis;
1366
1366
  white-space: nowrap;
1367
1367
  }
1368
- .rowcwd {
1369
- display: flex;
1370
- font-family: var(--mono);
1371
- color: var(--muted);
1372
- font-size: 11px;
1373
- min-width: 0;
1374
- }
1375
- .rowcwd .tbranch {
1376
- /* Invisible spacer matching the row's own tree-rail prefix, so the cwd
1377
- line indents under the name column at any nesting depth instead of
1378
- a magic constant that only lines up at depth 0. */
1379
- visibility: hidden;
1380
- }
1381
- .rowcwd .rowcwd-lead {
1382
- flex: none;
1383
- }
1384
- .rowcwd .rowcwd-path {
1385
- flex: 1;
1386
- min-width: 0;
1387
- overflow: hidden;
1388
- text-overflow: ellipsis;
1389
- white-space: nowrap;
1390
- /* Absolute paths share a long, boring prefix (/Users/x/ws/…) — the
1391
- informative part is the tail, so ellipsize from the left/start
1392
- instead of the (default) end. Characters stay in reading order
1393
- (this only flips which end gets clipped, via the bidi algorithm). */
1394
- direction: rtl;
1395
- text-align: left;
1396
- }
1397
1368
  .rowtitle {
1398
1369
  color: var(--fg);
1399
1370
  font-size: 12.5px;
@@ -1410,19 +1381,14 @@
1410
1381
  text-overflow: ellipsis;
1411
1382
  white-space: nowrap;
1412
1383
  }
1413
- /* compact view: dot + cli + live title (or prompt), age — plus the agent's
1414
- cwd as a 2nd line (.rowcwd) underneath. */
1384
+ /* compact view: one line per agent — dot + cli + live title (or prompt),
1385
+ age. The agent's cwd lives in the right-pane title bar (.rcwd), not
1386
+ here — a 2nd line per row costs half the list's density. */
1415
1387
  .row.crow {
1416
- display: flex;
1417
- flex-direction: column;
1418
- gap: 2px;
1419
- padding: 6px 18px;
1420
- }
1421
- .crow1 {
1422
1388
  display: flex;
1423
1389
  align-items: center;
1424
1390
  gap: 8px;
1425
- min-width: 0;
1391
+ padding: 6px 18px;
1426
1392
  }
1427
1393
  /* Tree branch prefix for nested (sub)agents — monospace so the box-drawing
1428
1394
  glyphs line up into continuous │ ├ └ rails across rows. */
@@ -1574,8 +1540,10 @@
1574
1540
  overflow: hidden;
1575
1541
  text-overflow: ellipsis;
1576
1542
  white-space: nowrap;
1577
- /* Ellipsize the boring home/ws prefix, not the informative tail see
1578
- the matching comment on .rowcwd-path. */
1543
+ /* Absolute paths share a long, boring prefix (/Users/x/ws/…)the
1544
+ informative part is the tail, so ellipsize from the left/start
1545
+ instead of the (default) end. Characters stay in reading order
1546
+ (this only flips which end gets clipped, via the bidi algorithm). */
1579
1547
  direction: rtl;
1580
1548
  text-align: left;
1581
1549
  }
@@ -5732,7 +5700,6 @@ my.translate = async (text, lang) => {
5732
5700
  const id = compactIdent(e, ctx, 3, r.parentEntry);
5733
5701
  const cli = cliLabel(e);
5734
5702
  return `<div class="row crow ${e._key === sel ? "sel" : ""}${rowFlags(e)}" data-key="${esc(e._key)}">
5735
- <div class="crow1">
5736
5703
  ${r.branch ? `<span class="tbranch">${esc(r.branch)}</span>` : ""}
5737
5704
  ${pinMarkHtml(e)}
5738
5705
  <span class="dot ${esc(e.status)}"></span>
@@ -5744,19 +5711,7 @@ my.translate = async (text, lang) => {
5744
5711
  ${badgeChipsHtml(e)}
5745
5712
  ${gitChipHtml(e)}
5746
5713
  ${peerChipHtml(e)}
5747
- <span class="age">${age(e)}</span></div>
5748
- ${
5749
- e.cwd
5750
- ? // The leading "/" sits right at the bidi paragraph edge of the
5751
- // rtl-ellipsis trick below and gets reordered to the far end —
5752
- // pin it outside that span so only the actual path direction-flips.
5753
- (() => {
5754
- const lead = e.cwd.startsWith("/") ? "/" : "";
5755
- const rest = e.cwd.slice(lead.length);
5756
- return `<div class="rowcwd" title="${esc(e.cwd)}">${r.branch ? `<span class="tbranch">${esc(r.branch)}</span>` : ""}<span class="rowcwd-lead">${esc(lead)}</span><span class="rowcwd-path">${esc(rest)}</span></div>`;
5757
- })()
5758
- : ""
5759
- }</div>`;
5714
+ <span class="age">${age(e)}</span></div>`;
5760
5715
  })
5761
5716
  .join("") || `<div class="empty">no match</div>`;
5762
5717
  renderSendWires(); // rows were replaced — re-draw the overlay (see below)
@@ -5983,9 +5938,9 @@ my.translate = async (text, lang) => {
5983
5938
  $("rname").textContent = rname;
5984
5939
  refreshDocTitle(); // tab title follows the selected agent (name + status)
5985
5940
  $("rpid").textContent = "pid " + e.pid;
5986
- // Split off the leading "/" before the rtl-ellipsis path span (see the
5987
- // matching .rowcwd-lead comment) it sits at the bidi paragraph edge
5988
- // and would otherwise get reordered to the far end of the line.
5941
+ // Split off the leading "/" before the rtl-ellipsis path span it sits
5942
+ // at the bidi paragraph edge and would otherwise get reordered to the
5943
+ // far end of the line (see the .rcwd-path comment).
5989
5944
  const cwd = e.cwd || "";
5990
5945
  const cwdLead = cwd.startsWith("/") ? "/" : "";
5991
5946
  $("rcwdlead").textContent = cwdLead;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-yes",
3
- "version": "1.258.0",
3
+ "version": "1.258.1",
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-BKFAk759.js";
2
- import "./rustBinary-BjMf3hJs.js";
3
- import { a as trayHiddenMarker, i as launchTray, n as hasDesktop, r as isTrayHidden, t as cmdTray } from "./trayApp-BBNKEQbP.js";
4
-
5
- export { cmdTray };