agent-yes 1.265.3-beta.638.1 → 1.265.3

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 (39) hide show
  1. package/dist/{SUPPORTED_CLIS-CxhFcKYE.js → SUPPORTED_CLIS-DnYyo_km.js} +3 -3
  2. package/dist/{SUPPORTED_CLIS-d54JN56W.js → SUPPORTED_CLIS-X3jH37iY.js} +2 -2
  3. package/dist/{agentShare-DfOyCgGV.js → agentShare-D8Qx06xK.js} +3 -3
  4. package/dist/{callback-D9Mcs-XY.js → callback-C5A5zDzb.js} +3 -3
  5. package/dist/{callback-CW-wl9Km.js → callback-CByNygd_.js} +3 -3
  6. package/dist/cli.js +8 -8
  7. package/dist/index.js +2 -2
  8. package/dist/{nodeRuntime-CT0w6zsB.js → nodeRuntime-vhOBffJ3.js} +1 -1
  9. package/dist/{notifyDaemon-DyVlLuRm.js → notifyDaemon-DuKvOHJJ.js} +3 -3
  10. package/dist/{openBrowser-Cw8hg7ok.js → openBrowser-D-aQjh3y.js} +1 -1
  11. package/dist/{remotes-iIvqiFWK.js → remotes-Cn-wszbK.js} +2 -2
  12. package/dist/{remotes-DWVw-Q7V.js → remotes-lOhHSoSS.js} +1 -1
  13. package/dist/{rustBinary-ChIKa5I8.js → rustBinary-CkTiZVJ4.js} +2 -2
  14. package/dist/{schedule-DzXN07yB.js → schedule-R6C567wG.js} +6 -6
  15. package/dist/{serve-BVM404K_.js → serve-bXCIgnq_.js} +23 -23
  16. package/dist/{setup-BwlDQw2L.js → setup-CtUFv2Se.js} +4 -4
  17. package/dist/{spawnGate-BmsTv340.js → spawnGate-D0E1uRP7.js} +2 -2
  18. package/dist/{spawnGate-S6EoFdzX.js → spawnGate-DqKBA07k.js} +1 -1
  19. package/dist/{subcommands-Bbo1fJ3a.js → subcommands-Cbhtldub.js} +18 -22
  20. package/dist/{subcommands-Cdyw7Q0R.js → subcommands-CnARtyVR.js} +2 -2
  21. package/dist/{systemPathLink-CjLmiPbB.js → systemPathLink-DTAhFXFx.js} +1 -1
  22. package/dist/{terminal-DplsxoJn.js → terminal-B8jbz_HG.js} +2 -2
  23. package/dist/{todoCli-DZmOmcvd.js → todoCli-CngDeaT2.js} +1 -1
  24. package/dist/{tray-Cjm3a8JH.js → tray-wWMvGWeY.js} +1 -1
  25. package/dist/trayApp-Bx0qlt3A.js +5 -0
  26. package/dist/{trayApp-BZzL_JJ_.js → trayApp-CZR7Thm6.js} +2 -2
  27. package/dist/{ts-CSADqtSE.js → ts-ZKWh7obB.js} +2 -2
  28. package/dist/{versionChecker-GqFFfKO5.js → versionChecker-C6RmYXss.js} +2 -2
  29. package/dist/{webrtcRemote-zQybN9IR.js → webrtcRemote-BkZcA5yq.js} +1 -1
  30. package/dist/{widget-CqlumW_y.js → widget-BOcpTCTQ.js} +3 -3
  31. package/dist/{workspaceConfig-BDqp7fYl.js → workspaceConfig-Bxuk_MOq.js} +1 -1
  32. package/dist/{ws-9YmajFtE.js → ws-C9NmPMjN.js} +3 -3
  33. package/dist/{ws-BcsHjEUt.js → ws-CPJxObp_.js} +3 -3
  34. package/package.json +1 -1
  35. package/ts/hist.spec.ts +3 -18
  36. package/ts/hist.ts +4 -13
  37. package/ts/subcommands.ts +0 -8
  38. package/dist/hist-CoXBBjJt.js +0 -442
  39. package/dist/trayApp-DKBSoxSq.js +0 -5
@@ -1,11 +1,11 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import "./versionChecker-GqFFfKO5.js";
3
- import "./ts-CSADqtSE.js";
2
+ import "./versionChecker-C6RmYXss.js";
3
+ import "./ts-ZKWh7obB.js";
4
4
  import "./todoAutomation-BQRW614S.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
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-d54JN56W.js";
9
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-X3jH37iY.js";
10
10
 
11
11
  export { SUPPORTED_CLIS };
@@ -1,8 +1,8 @@
1
- import { t as CLIS_CONFIG } from "./ts-CSADqtSE.js";
1
+ import { t as CLIS_CONFIG } from "./ts-ZKWh7obB.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-d54JN56W.js.map
8
+ //# sourceMappingURL=SUPPORTED_CLIS-X3jH37iY.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 { R as resolveOne } from "./subcommands-Bbo1fJ3a.js";
6
+ import { R as resolveOne } from "./subcommands-Cbhtldub.js";
7
7
  import "./webrtcLink-CS4D-3G1.js";
8
- import "./remotes-iIvqiFWK.js";
8
+ import "./remotes-Cn-wszbK.js";
9
9
  import { a as startShare } from "./share-B-e_9WBx.js";
10
10
 
11
11
  //#region ts/agentShare.ts
@@ -229,4 +229,4 @@ function transformEvent(rawEvent, agentId, forwarded) {
229
229
 
230
230
  //#endregion
231
231
  export { createScopedShare, listShares, revokeAllShares, revokeShare };
232
- //# sourceMappingURL=agentShare-DfOyCgGV.js.map
232
+ //# sourceMappingURL=agentShare-D8Qx06xK.js.map
@@ -1,5 +1,5 @@
1
1
  import { t as agentYesHome } from "./agentYesHome-CtmsY6I-.js";
2
- import { R as resolveOne } from "./subcommands-Bbo1fJ3a.js";
2
+ import { R as resolveOne } from "./subcommands-Cbhtldub.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-BVM404K_.js");
75
+ const { resolveLocalServeUrl } = await import("./serve-bXCIgnq_.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-D9Mcs-XY.js.map
190
+ //# sourceMappingURL=callback-C5A5zDzb.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-Bbo1fJ3a.js";
6
+ import "./subcommands-Cbhtldub.js";
7
7
  import "./webrtcLink-CS4D-3G1.js";
8
- import "./remotes-iIvqiFWK.js";
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-D9Mcs-XY.js";
10
+ import { i as loadOrCreateCallbackSecret, n as isCallbackRevoked, r as loadCallbackSecretReadOnly, t as cmdCallback } from "./callback-C5A5zDzb.js";
11
11
 
12
12
  export { cmdCallback };
package/dist/cli.js CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env bun
2
2
  import { t as invokedCliName } from "./invokedCli-uqM2YYA7.js";
3
3
  import { n as logger } from "./logger-CDIsZ-Pp.js";
4
- import { i as versionString, n as displayVersion, t as checkAndAutoUpdate } from "./versionChecker-GqFFfKO5.js";
5
- import { r as getRustBinary } from "./rustBinary-ChIKa5I8.js";
4
+ import { i as versionString, n as displayVersion, t as checkAndAutoUpdate } from "./versionChecker-C6RmYXss.js";
5
+ import { r as getRustBinary } from "./rustBinary-CkTiZVJ4.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-Cdyw7Q0R.js");
298
+ const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken, isBareManagerInvocation } = await import("./subcommands-CnARtyVR.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-CxhFcKYE.js");
312
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-DnYyo_km.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);
@@ -328,16 +328,16 @@ await checkAndAutoUpdate();
328
328
  logger.info(versionString());
329
329
  const config = parseCliArgs(process.argv);
330
330
  if (config.tray) {
331
- const { startTray } = await import("./tray-Cjm3a8JH.js");
331
+ const { startTray } = await import("./tray-wWMvGWeY.js");
332
332
  await startTray();
333
333
  await new Promise(() => {});
334
334
  }
335
335
  {
336
- const { ensureTray } = await import("./tray-Cjm3a8JH.js");
336
+ const { ensureTray } = await import("./tray-wWMvGWeY.js");
337
337
  ensureTray();
338
338
  }
339
339
  if (!config.showVersion && !config.appendPrompt && !config.tray) {
340
- const { waitForSpawnCapacity } = await import("./spawnGate-S6EoFdzX.js");
340
+ const { waitForSpawnCapacity } = await import("./spawnGate-DqKBA07k.js");
341
341
  await waitForSpawnCapacity({
342
342
  onWait: (reason, waitedMs) => {
343
343
  if (config.verbose || waitedMs === 0) console.error(`[agent-yes] spawn gate: ${reason} — waiting…`);
@@ -360,7 +360,7 @@ if (config.useRust) {
360
360
  }
361
361
  }
362
362
  if (rustBinary) {
363
- const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-CxhFcKYE.js");
363
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-DnYyo_km.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}`);
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import "./versionChecker-GqFFfKO5.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-CSADqtSE.js";
2
+ import "./versionChecker-C6RmYXss.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-ZKWh7obB.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";
@@ -53,4 +53,4 @@ async function ensureNodeRuntime(which = Bun.which) {
53
53
 
54
54
  //#endregion
55
55
  export { liveEnv as n, ensureNodeRuntime as t };
56
- //# sourceMappingURL=nodeRuntime-CT0w6zsB.js.map
56
+ //# sourceMappingURL=nodeRuntime-vhOBffJ3.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 { E as listRecords, F as renderLogTailLines, Q as hostId, X as appendEvent, Z as gcInboxes, at as daemonLockOwnerPath, b as isPidAlive, et as listInboxParents, it as daemonLockDir, nt as readInbox, ot as notifyDir, rt as shouldStealLock, tt as liveWatchers, u as deriveLiveState } from "./subcommands-Bbo1fJ3a.js";
6
+ import { E as listRecords, F as renderLogTailLines, Q as hostId, X as appendEvent, Z as gcInboxes, at as daemonLockOwnerPath, b as isPidAlive, et as listInboxParents, it as daemonLockDir, nt as readInbox, ot as notifyDir, rt as shouldStealLock, tt as liveWatchers, u as deriveLiveState } from "./subcommands-Cbhtldub.js";
7
7
  import "./webrtcLink-CS4D-3G1.js";
8
- import "./remotes-iIvqiFWK.js";
8
+ import "./remotes-Cn-wszbK.js";
9
9
  import { mkdir, readFile, rename, rm, stat, writeFile } from "fs/promises";
10
10
  import { randomUUID } from "node:crypto";
11
11
  import { execFile, execFileSync } from "node:child_process";
@@ -836,4 +836,4 @@ async function ensureDaemon() {
836
836
 
837
837
  //#endregion
838
838
  export { daemonStatus, ensureDaemon, requestDaemonStop, runDaemon };
839
- //# sourceMappingURL=notifyDaemon-DyVlLuRm.js.map
839
+ //# sourceMappingURL=notifyDaemon-DuKvOHJJ.js.map
@@ -68,4 +68,4 @@ async function offerOpenInBrowser(url, prompt = "Open in browser now? [Y/n] ") {
68
68
 
69
69
  //#endregion
70
70
  export { offerOpenInBrowser };
71
- //# sourceMappingURL=openBrowser-Cw8hg7ok.js.map
71
+ //# sourceMappingURL=openBrowser-D-aQjh3y.js.map
@@ -86,7 +86,7 @@ async function resolveRemoteSpec(spec) {
86
86
  * The bridge lives for the rest of the process (torn down on `process.exit`).
87
87
  */
88
88
  async function resolveWebrtc(link, keyword) {
89
- const { startWebrtcBridge } = await import("./webrtcRemote-zQybN9IR.js");
89
+ const { startWebrtcBridge } = await import("./webrtcRemote-BkZcA5yq.js");
90
90
  const bridge = await startWebrtcBridge(link);
91
91
  return {
92
92
  url: bridge.baseUrl,
@@ -173,4 +173,4 @@ async function cmdRemote(rest) {
173
173
 
174
174
  //#endregion
175
175
  export { resolveRemoteSpec as a, readRemotes as i, deleteRemoteAlias as n, writeRemoteAlias as o, parseDirectRemoteSpec as r, cmdRemote as t };
176
- //# sourceMappingURL=remotes-iIvqiFWK.js.map
176
+ //# sourceMappingURL=remotes-Cn-wszbK.js.map
@@ -1,5 +1,5 @@
1
1
  import "./e2e-CUMZC53I.js";
2
2
  import "./webrtcLink-CS4D-3G1.js";
3
- import { a as resolveRemoteSpec, i as readRemotes, n as deleteRemoteAlias, o as writeRemoteAlias, r as parseDirectRemoteSpec, t as cmdRemote } from "./remotes-iIvqiFWK.js";
3
+ import { a as resolveRemoteSpec, i as readRemotes, n as deleteRemoteAlias, o as writeRemoteAlias, r as parseDirectRemoteSpec, t as cmdRemote } from "./remotes-Cn-wszbK.js";
4
4
 
5
5
  export { cmdRemote };
@@ -1,4 +1,4 @@
1
- import { r as getInstalledPackage } from "./versionChecker-GqFFfKO5.js";
1
+ import { r as getInstalledPackage } from "./versionChecker-C6RmYXss.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-ChIKa5I8.js.map
246
+ //# sourceMappingURL=rustBinary-CkTiZVJ4.js.map
@@ -1,14 +1,14 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import "./versionChecker-GqFFfKO5.js";
3
- import "./ts-CSADqtSE.js";
2
+ import "./versionChecker-C6RmYXss.js";
3
+ import "./ts-ZKWh7obB.js";
4
4
  import "./todoAutomation-BQRW614S.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
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-d54JN56W.js";
10
- import { f as resolveSpawnCwd } from "./workspaceConfig-BDqp7fYl.js";
11
- import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-CT0w6zsB.js";
9
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-X3jH37iY.js";
10
+ import { f as resolveSpawnCwd } from "./workspaceConfig-Bxuk_MOq.js";
11
+ import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-vhOBffJ3.js";
12
12
  import { createHash } from "node:crypto";
13
13
 
14
14
  //#region ts/oxmgrService.ts
@@ -153,4 +153,4 @@ async function cmdSchedule(rest) {
153
153
 
154
154
  //#endregion
155
155
  export { cmdSchedule };
156
- //# sourceMappingURL=schedule-DzXN07yB.js.map
156
+ //# sourceMappingURL=schedule-R6C567wG.js.map
@@ -1,7 +1,7 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
- import { r as getInstalledPackage } from "./versionChecker-GqFFfKO5.js";
3
- import { t as findSpawnHiddenLauncher } from "./rustBinary-ChIKa5I8.js";
4
- import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-CSADqtSE.js";
2
+ import { r as getInstalledPackage } from "./versionChecker-C6RmYXss.js";
3
+ import { t as findSpawnHiddenLauncher } from "./rustBinary-CkTiZVJ4.js";
4
+ import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-ZKWh7obB.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-d54JN56W.js";
15
- import { $ as isTransientLockMkdirError, A as readLogForRender, E as listRecords, F as renderLogTailLines, I as renderRawLog, L as renderRawLogLines, M as readPtysize, N as recentMessageEdges, P as recentReadEdges, R as resolveOne, U as snapshotStatus, Y as writeToIpc, c as controlCodeFromName, d as deriveLiveStatus, f as extractBadges, h as extractTaskCounts, j as readNotes, m as extractNeedsInput, st as TYPING_BADGE, w as isUserTyping } from "./subcommands-Bbo1fJ3a.js";
14
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-X3jH37iY.js";
15
+ import { $ as isTransientLockMkdirError, A as readLogForRender, E as listRecords, F as renderLogTailLines, I as renderRawLog, L as renderRawLogLines, M as readPtysize, N as recentMessageEdges, P as recentReadEdges, R as resolveOne, U as snapshotStatus, Y as writeToIpc, c as controlCodeFromName, d as deriveLiveStatus, f as extractBadges, h as extractTaskCounts, j as readNotes, m as extractNeedsInput, st as TYPING_BADGE, w as isUserTyping } from "./subcommands-Cbhtldub.js";
16
16
  import "./webrtcLink-CS4D-3G1.js";
17
- import "./remotes-iIvqiFWK.js";
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-D9Mcs-XY.js";
20
- import { a as getProvisionRoot, d as isProvisionAllowed, f as resolveSpawnCwd, i as getProvisionHook, l as hasProvisionHook, o as getSpawnHook, t as allowsSkipPermissions, u as hasSpawnHook } from "./workspaceConfig-BDqp7fYl.js";
21
- import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-CT0w6zsB.js";
22
- import { i as importProvisionModule } from "./ws-BcsHjEUt.js";
23
- import { r as spawnRejectionReason } from "./spawnGate-BmsTv340.js";
24
- import { i as launchTray } from "./trayApp-BZzL_JJ_.js";
19
+ import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-C5A5zDzb.js";
20
+ import { a as getProvisionRoot, d as isProvisionAllowed, f as resolveSpawnCwd, i as getProvisionHook, l as hasProvisionHook, o as getSpawnHook, t as allowsSkipPermissions, u as hasSpawnHook } from "./workspaceConfig-Bxuk_MOq.js";
21
+ import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-vhOBffJ3.js";
22
+ import { i as importProvisionModule } from "./ws-CPJxObp_.js";
23
+ import { r as spawnRejectionReason } from "./spawnGate-D0E1uRP7.js";
24
+ import { i as launchTray } from "./trayApp-CZR7Thm6.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";
@@ -1277,7 +1277,7 @@ async function cmdServeDaemon(sub, args) {
1277
1277
  if (!webrtcDaemon) return;
1278
1278
  if (shareLink) {
1279
1279
  process.stdout.write(`\nshared over WebRTC — open this link (the token is eaten from the URL on open):\n ${shareLink}\n` + (shareLinkMinted ? ` (persistent room — same link across restarts; delete ~/.agent-yes/.share-room to rotate)\n` : ``));
1280
- const { offerOpenInBrowser } = await import("./openBrowser-Cw8hg7ok.js");
1280
+ const { offerOpenInBrowser } = await import("./openBrowser-D-aQjh3y.js");
1281
1281
  await offerOpenInBrowser(shareLink);
1282
1282
  } else process.stdout.write("\nthe WebRTC share link carries a secret, so the daemon does NOT log it —\nread it from ~/.agent-yes/.share-link (mode 0600). The room persists in\n~/.agent-yes/.share-room, so the link survives restarts.\n");
1283
1283
  };
@@ -2434,7 +2434,7 @@ Options:
2434
2434
  }
2435
2435
  });
2436
2436
  if (req.method === "GET" && p === "/api/ws") {
2437
- const ws = await import("./ws-9YmajFtE.js");
2437
+ const ws = await import("./ws-C9NmPMjN.js");
2438
2438
  try {
2439
2439
  await ws.loadProvision();
2440
2440
  } catch (e) {
@@ -2454,7 +2454,7 @@ Options:
2454
2454
  if (req.method === "GET" && p === "/api/ws/status") {
2455
2455
  const dirRaw = url.searchParams.get("path");
2456
2456
  if (!dirRaw) return new Response("missing ?path=<workspace dir>", { status: 400 });
2457
- const ws = await import("./ws-9YmajFtE.js");
2457
+ const ws = await import("./ws-C9NmPMjN.js");
2458
2458
  let prov;
2459
2459
  try {
2460
2460
  prov = await ws.loadProvision();
@@ -2476,7 +2476,7 @@ Options:
2476
2476
  }
2477
2477
  }
2478
2478
  if (req.method === "GET" && p === "/api/ws/repos") {
2479
- const ws = await import("./ws-9YmajFtE.js");
2479
+ const ws = await import("./ws-C9NmPMjN.js");
2480
2480
  try {
2481
2481
  await ws.loadProvision();
2482
2482
  } catch (e) {
@@ -2557,7 +2557,7 @@ Options:
2557
2557
  const m = /^([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+)$/.exec(repoParam);
2558
2558
  if (!m || m[1] === "." || m[1] === ".." || m[2] === "." || m[2] === "..") return new Response("missing/invalid ?repo=<owner>/<repo>", { status: 400 });
2559
2559
  const [, owner, repo] = m;
2560
- const ws = await import("./ws-9YmajFtE.js");
2560
+ const ws = await import("./ws-C9NmPMjN.js");
2561
2561
  let prov;
2562
2562
  try {
2563
2563
  prov = await ws.loadProvision();
@@ -3465,7 +3465,7 @@ Options:
3465
3465
  const perm = body.perm ?? "r";
3466
3466
  if (perm !== "r" && perm !== "rw") return new Response(`invalid perm ${perm} (want r or rw)`, { status: 400 });
3467
3467
  try {
3468
- const { createScopedShare } = await import("./agentShare-DfOyCgGV.js");
3468
+ const { createScopedShare } = await import("./agentShare-D8Qx06xK.js");
3469
3469
  const share = await createScopedShare({
3470
3470
  agent: body.agent,
3471
3471
  perm,
@@ -3480,12 +3480,12 @@ Options:
3480
3480
  }
3481
3481
  }
3482
3482
  if (req.method === "GET" && p === "/api/shares") {
3483
- const { listShares } = await import("./agentShare-DfOyCgGV.js");
3483
+ const { listShares } = await import("./agentShare-D8Qx06xK.js");
3484
3484
  return Response.json(listShares());
3485
3485
  }
3486
3486
  const revokeM = /^\/api\/share\/([^/]+)$/.exec(p);
3487
3487
  if (req.method === "DELETE" && revokeM) {
3488
- const { revokeShare } = await import("./agentShare-DfOyCgGV.js");
3488
+ const { revokeShare } = await import("./agentShare-D8Qx06xK.js");
3489
3489
  const ok = revokeShare(decodeURIComponent(revokeM[1]));
3490
3490
  return new Response(ok ? "revoked" : "no such share", { status: ok ? 200 : 404 });
3491
3491
  }
@@ -3745,7 +3745,7 @@ Options:
3745
3745
  const persistNote = explicitUrl ? "\n" : ` (persistent room — same link across restarts; delete ~/.agent-yes/.share-room to rotate)\n\n`;
3746
3746
  process.stdout.write(`${wantHttp ? "\n" : ""}${lead}:\n ${link}\n` + persistNote);
3747
3747
  if (!rotated) {
3748
- const { offerOpenInBrowser } = await import("./openBrowser-Cw8hg7ok.js");
3748
+ const { offerOpenInBrowser } = await import("./openBrowser-D-aQjh3y.js");
3749
3749
  await offerOpenInBrowser(link);
3750
3750
  }
3751
3751
  } else {
@@ -3787,7 +3787,7 @@ Options:
3787
3787
  const shutdown = (resolve) => {
3788
3788
  if (heartbeat) clearInterval(heartbeat);
3789
3789
  closeShare?.();
3790
- import("./agentShare-DfOyCgGV.js").then((m) => m.revokeAllShares()).catch(() => {});
3790
+ import("./agentShare-D8Qx06xK.js").then((m) => m.revokeAllShares()).catch(() => {});
3791
3791
  server?.stop();
3792
3792
  Promise.resolve(releaseHostLock?.()).catch(() => {}).then(resolve);
3793
3793
  };
@@ -3800,4 +3800,4 @@ Options:
3800
3800
 
3801
3801
  //#endregion
3802
3802
  export { cmdServe, loadTokenReadOnly, mintScopedTermToken, resolveDaemonHttpBase, resolveLocalServeUrl };
3803
- //# sourceMappingURL=serve-BVM404K_.js.map
3803
+ //# sourceMappingURL=serve-bXCIgnq_.js.map
@@ -1,4 +1,4 @@
1
- import { c as getWorkspaceRoot, p as setWorkspaceRoot } from "./workspaceConfig-BDqp7fYl.js";
1
+ import { c as getWorkspaceRoot, p as setWorkspaceRoot } from "./workspaceConfig-Bxuk_MOq.js";
2
2
  import { existsSync } from "node:fs";
3
3
  import { stdin, stdout } from "node:process";
4
4
  import { createInterface } from "node:readline/promises";
@@ -31,7 +31,7 @@ async function cmdSetup(rest) {
31
31
  process.stdout.write(`workspace root: ${abs}\n`);
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
  try {
34
- const { linkBunBinsToSystemPath } = await import("./systemPathLink-CjLmiPbB.js");
34
+ const { linkBunBinsToSystemPath } = await import("./systemPathLink-DTAhFXFx.js");
35
35
  const r = linkBunBinsToSystemPath();
36
36
  if (r && (r.linked.length || r.refreshed.length)) {
37
37
  const n = r.linked.length + r.refreshed.length;
@@ -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-BVM404K_.js");
43
+ const { cmdServe } = await import("./serve-bXCIgnq_.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-BwlDQw2L.js.map
53
+ //# sourceMappingURL=setup-CtUFv2Se.js.map
@@ -1,5 +1,5 @@
1
1
  import { i as readGlobalPids } from "./globalPidIndex-Dq4KY2IV.js";
2
- import { n as getMaxAgents, r as getMinFreeMb, s as getSpawnWaitMs } from "./workspaceConfig-BDqp7fYl.js";
2
+ import { n as getMaxAgents, r as getMinFreeMb, s as getSpawnWaitMs } from "./workspaceConfig-Bxuk_MOq.js";
3
3
  import { readFile } from "fs/promises";
4
4
 
5
5
  //#region ts/spawnGate.ts
@@ -104,4 +104,4 @@ async function waitForSpawnCapacity(opts) {
104
104
 
105
105
  //#endregion
106
106
  export { waitForSpawnCapacity as i, spawnGateEnabled as n, spawnRejectionReason as r, memAvailableMb as t };
107
- //# sourceMappingURL=spawnGate-BmsTv340.js.map
107
+ //# sourceMappingURL=spawnGate-D0E1uRP7.js.map
@@ -1,5 +1,5 @@
1
1
  import "./logger-CDIsZ-Pp.js";
2
2
  import "./globalPidIndex-Dq4KY2IV.js";
3
- import { i as waitForSpawnCapacity, n as spawnGateEnabled, r as spawnRejectionReason, t as memAvailableMb } from "./spawnGate-BmsTv340.js";
3
+ import { i as waitForSpawnCapacity, n as spawnGateEnabled, r as spawnRejectionReason, t as memAvailableMb } from "./spawnGate-D0E1uRP7.js";
4
4
 
5
5
  export { waitForSpawnCapacity };
@@ -5,7 +5,7 @@ import { a as updateGlobalPidStatus, i as readGlobalPids } from "./globalPidInde
5
5
  import { a as recordOutbox, i as recordMessage, n as readMailbox, t as partyMatches } from "./messageLog-BYFwioFY.js";
6
6
  import { t as loadSharedCliDefaults } from "./configShared-DtHMBCl7.js";
7
7
  import { n as isWebrtcSpec } from "./webrtcLink-CS4D-3G1.js";
8
- import { a as resolveRemoteSpec, i as readRemotes } from "./remotes-iIvqiFWK.js";
8
+ import { a as resolveRemoteSpec, i as readRemotes } from "./remotes-Cn-wszbK.js";
9
9
  import { spawn } from "child_process";
10
10
  import ms from "ms";
11
11
  import yargs from "yargs";
@@ -1403,8 +1403,6 @@ const SUBCOMMANDS = new Set([
1403
1403
  "cat",
1404
1404
  "tail",
1405
1405
  "head",
1406
- "hist",
1407
- "history",
1408
1406
  "send",
1409
1407
  "msgs",
1410
1408
  "key",
@@ -1530,8 +1528,6 @@ async function runSubcommand(argv) {
1530
1528
  case "cat": return await cmdRead(rest, { mode: "cat" });
1531
1529
  case "tail": return await cmdRead(rest, { mode: "tail" });
1532
1530
  case "head": return await cmdRead(rest, { mode: "head" });
1533
- case "hist":
1534
- case "history": return await (await import("./hist-CoXBBjJt.js")).cmdHist(rest);
1535
1531
  case "send": return await cmdSend(rest);
1536
1532
  case "msgs": return await cmdMsgs(rest);
1537
1533
  case "key": return await cmdKey(rest);
@@ -1543,7 +1539,7 @@ async function runSubcommand(argv) {
1543
1539
  case "restart": return await cmdRestart(rest);
1544
1540
  case "note": return await cmdNote(rest);
1545
1541
  case "todo": {
1546
- const { runTodoSubcommand } = await import("./todoCli-DZmOmcvd.js");
1542
+ const { runTodoSubcommand } = await import("./todoCli-CngDeaT2.js");
1547
1543
  return runTodoSubcommand(rest);
1548
1544
  }
1549
1545
  case "ch":
@@ -1552,39 +1548,39 @@ async function runSubcommand(argv) {
1552
1548
  return cmdCh(rest);
1553
1549
  }
1554
1550
  case "term": {
1555
- const { cmdTerm } = await import("./terminal-DplsxoJn.js");
1551
+ const { cmdTerm } = await import("./terminal-B8jbz_HG.js");
1556
1552
  return cmdTerm(rest);
1557
1553
  }
1558
1554
  case "widget": {
1559
- const { cmdWidget } = await import("./widget-CqlumW_y.js");
1555
+ const { cmdWidget } = await import("./widget-BOcpTCTQ.js");
1560
1556
  return cmdWidget(rest);
1561
1557
  }
1562
1558
  case "mint": {
1563
- const { cmdMint } = await import("./widget-CqlumW_y.js");
1559
+ const { cmdMint } = await import("./widget-BOcpTCTQ.js");
1564
1560
  return cmdMint(rest);
1565
1561
  }
1566
1562
  case "serve": {
1567
- const { cmdServe } = await import("./serve-BVM404K_.js");
1563
+ const { cmdServe } = await import("./serve-bXCIgnq_.js");
1568
1564
  return cmdServe(rest);
1569
1565
  }
1570
1566
  case "tray": {
1571
- const { cmdTray } = await import("./trayApp-DKBSoxSq.js");
1567
+ const { cmdTray } = await import("./trayApp-Bx0qlt3A.js");
1572
1568
  return cmdTray(rest);
1573
1569
  }
1574
1570
  case "setup": {
1575
- const { cmdSetup } = await import("./setup-BwlDQw2L.js");
1571
+ const { cmdSetup } = await import("./setup-CtUFv2Se.js");
1576
1572
  return cmdSetup(rest);
1577
1573
  }
1578
1574
  case "ws": {
1579
- const { cmdWs } = await import("./ws-9YmajFtE.js");
1575
+ const { cmdWs } = await import("./ws-C9NmPMjN.js");
1580
1576
  return cmdWs(rest);
1581
1577
  }
1582
1578
  case "schedule": {
1583
- const { cmdSchedule } = await import("./schedule-DzXN07yB.js");
1579
+ const { cmdSchedule } = await import("./schedule-R6C567wG.js");
1584
1580
  return cmdSchedule(rest);
1585
1581
  }
1586
1582
  case "remote": {
1587
- const { cmdRemote } = await import("./remotes-DWVw-Q7V.js");
1583
+ const { cmdRemote } = await import("./remotes-lOhHSoSS.js");
1588
1584
  return cmdRemote(rest);
1589
1585
  }
1590
1586
  case "expose": {
@@ -1592,7 +1588,7 @@ async function runSubcommand(argv) {
1592
1588
  return cmdExpose(rest);
1593
1589
  }
1594
1590
  case "callback": {
1595
- const { cmdCallback } = await import("./callback-CW-wl9Km.js");
1591
+ const { cmdCallback } = await import("./callback-CByNygd_.js");
1596
1592
  return cmdCallback(rest);
1597
1593
  }
1598
1594
  case "reap":
@@ -1663,7 +1659,7 @@ async function cmdHelp(managerCommands = true) {
1663
1659
  const wsLines = managerCommands ? " ay ws ls [--status] list <owner>/<repo>/tree/<branch> workspaces\n ay ws new <owner>/<repo>[@branch] clone/refresh a workspace (ay ws help for more)\n" : ``;
1664
1660
  const self = process.env.AGENT_YES_PID ? await resolveSender() : null;
1665
1661
  const agentSection = self ? await buildAgentContextSection(self) : "";
1666
- process.stdout.write(agentSection + "ay - agent-yes CLI\n\nManagement:\n ay ls [keyword] list running agents\n ay tail [-f] [-n N] <keyword> last N lines (96), -f to follow\n ay read <keyword> [page opts] paginate: --last/--head N, --range A:B,\n --before-line L [--limit N]\n ay cat <keyword> full log\n ay head <keyword> first N lines\n ay hist [-n 6] [--all] [--json] past agent conversations (claude/codex\n transcripts, incl. exited sessions);\n this cwd unless --all\n ay send <keyword> <msg> send a message (keyword '.' = agent in this cwd)\n ay msgs [keyword] [--in|--out] inter-agent message log (sent + received)\n ay ch mk|join|send|read|tail <topic> local-first E2E channels: AI ↔ humans on a topic (ay ch help)\n ay term embed <pid> <script> to embed a live read-only agent terminal in a page (ay term help)\n ay widget ls | read selection|dom read an opted-in page widget's context (selection/DOM) (ay widget help)\n ay mint <target> --caps ... mint a scoped, short-TTL capability token (embeddable in a page)\n ay key <keyword> <key...> send raw keystrokes (down/up/enter/esc/…) — drives menus\n ay select <keyword> <N> pick option N of a needs_input selection menu\n ay attach <keyword> interactive attach (detach: Ctrl-\\)\n ay stop <keyword> graceful shutdown (/exit for claude/codex)\n ay exit <keyword> [reason] graceful shutdown, recording who/why (= 'ay send <kw> exit')\n ay restart <keyword> [--fresh] stop (if live) + relaunch resuming the session; --fresh replays the prompt\n ay status <keyword> agent status snapshot\n ay whoami [--json] (inside an agent) your own registry identity + reply address\n ay result <keyword> [--wait] pull an agent's structured result envelope\n ay result set '<json>' (inside an agent) deposit your result envelope\n ay reap kill process groups leaked by dead agents\n ay deepseek|ds [-- <codex args>] run codex via the local DeepSeek adapter (DEEPSEEK_API_KEY)\n" + wsLines + "\nRemote:\n" + setupLine + " ay schedule <when> <cli> -- <msg> run an agent on a schedule (HH:MM or cron)\n ay serve [--port N] start HTTP API server (prints token)\n ay serve status show serve daemon/server status\n ay remote add <alias> http://<token>@<host>:<port>\n ay remote ls / rm <alias> manage saved remotes\n ay expose <port> share localhost:<port> at https://<id>.agent-yes.com (private link)\n ay callback --expires 7d mint an embeddable message-me widget for one agent\n ay ls <token>@<host>:<port> connect inline (no alias needed)\n ay send <token>@<host>:<port>:<kw> <msg>\n\nRun an agent (naming a CLI is what launches one — bare 'ay' shows this help):\n ay <claude|codex|gemini|...> [options] -- [prompt]\n ay claude -- \"fix the bug in auth.ts\"\n cy [options] -- [prompt] shortcut for 'ay claude' (bare 'cy' starts claude)\n ay claude --help full agent-runner options\n\nLabs (examples at https://github.com/snomiao/agent-yes/tree/main/lab):\n local-role-play/ designer + builder on one machine\n http-remote/ ay serve remote access demo\n p2p-pairing/ libp2p P2P (needs: cargo build --features swarm)\n");
1662
+ process.stdout.write(agentSection + "ay - agent-yes CLI\n\nManagement:\n ay ls [keyword] list running agents\n ay tail [-f] [-n N] <keyword> last N lines (96), -f to follow\n ay read <keyword> [page opts] paginate: --last/--head N, --range A:B,\n --before-line L [--limit N]\n ay cat <keyword> full log\n ay head <keyword> first N lines\n ay send <keyword> <msg> send a message (keyword '.' = agent in this cwd)\n ay msgs [keyword] [--in|--out] inter-agent message log (sent + received)\n ay ch mk|join|send|read|tail <topic> local-first E2E channels: AI ↔ humans on a topic (ay ch help)\n ay term embed <pid> <script> to embed a live read-only agent terminal in a page (ay term help)\n ay widget ls | read selection|dom read an opted-in page widget's context (selection/DOM) (ay widget help)\n ay mint <target> --caps ... mint a scoped, short-TTL capability token (embeddable in a page)\n ay key <keyword> <key...> send raw keystrokes (down/up/enter/esc/…) — drives menus\n ay select <keyword> <N> pick option N of a needs_input selection menu\n ay attach <keyword> interactive attach (detach: Ctrl-\\)\n ay stop <keyword> graceful shutdown (/exit for claude/codex)\n ay exit <keyword> [reason] graceful shutdown, recording who/why (= 'ay send <kw> exit')\n ay restart <keyword> [--fresh] stop (if live) + relaunch resuming the session; --fresh replays the prompt\n ay status <keyword> agent status snapshot\n ay whoami [--json] (inside an agent) your own registry identity + reply address\n ay result <keyword> [--wait] pull an agent's structured result envelope\n ay result set '<json>' (inside an agent) deposit your result envelope\n ay reap kill process groups leaked by dead agents\n ay deepseek|ds [-- <codex args>] run codex via the local DeepSeek adapter (DEEPSEEK_API_KEY)\n" + wsLines + "\nRemote:\n" + setupLine + " ay schedule <when> <cli> -- <msg> run an agent on a schedule (HH:MM or cron)\n ay serve [--port N] start HTTP API server (prints token)\n ay serve status show serve daemon/server status\n ay remote add <alias> http://<token>@<host>:<port>\n ay remote ls / rm <alias> manage saved remotes\n ay expose <port> share localhost:<port> at https://<id>.agent-yes.com (private link)\n ay callback --expires 7d mint an embeddable message-me widget for one agent\n ay ls <token>@<host>:<port> connect inline (no alias needed)\n ay send <token>@<host>:<port>:<kw> <msg>\n\nRun an agent (naming a CLI is what launches one — bare 'ay' shows this help):\n ay <claude|codex|gemini|...> [options] -- [prompt]\n ay claude -- \"fix the bug in auth.ts\"\n cy [options] -- [prompt] shortcut for 'ay claude' (bare 'cy' starts claude)\n ay claude --help full agent-runner options\n\nLabs (examples at https://github.com/snomiao/agent-yes/tree/main/lab):\n local-role-play/ designer + builder on one machine\n http-remote/ ay serve remote access demo\n p2p-pairing/ libp2p P2P (needs: cargo build --features swarm)\n");
1667
1663
  return 0;
1668
1664
  }
1669
1665
  function matchKeyword(record, keyword) {
@@ -2043,7 +2039,7 @@ async function fetchRemoteRecordsRaw(url, token, opts) {
2043
2039
  let base = url;
2044
2040
  let bearer = token;
2045
2041
  if (isWebrtcSpec(url)) {
2046
- const { startWebrtcBridge } = await import("./webrtcRemote-zQybN9IR.js");
2042
+ const { startWebrtcBridge } = await import("./webrtcRemote-BkZcA5yq.js");
2047
2043
  bridge = await startWebrtcBridge(url);
2048
2044
  base = bridge.baseUrl;
2049
2045
  bearer = bridge.token;
@@ -4080,7 +4076,7 @@ async function cmdAttach(rest) {
4080
4076
  const winsizeDir = path.join(ayHome, "winsize");
4081
4077
  await mkdir(winsizeDir, { recursive: true });
4082
4078
  const winsizePath = path.join(winsizeDir, String(record.pid));
4083
- const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-BVM404K_.js");
4079
+ const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-bXCIgnq_.js");
4084
4080
  const daemonBase = await resolveDaemonHttpBase().catch(() => null);
4085
4081
  const daemonToken = daemonBase ? await loadTokenReadOnly().catch(() => null) ?? "" : "";
4086
4082
  const capViewer = `attach:${process.pid}`;
@@ -4790,7 +4786,7 @@ async function cmdNotify(rest) {
4790
4786
  }
4791
4787
  const ensure = async () => {
4792
4788
  if (!argv["ensure-daemon"]) return;
4793
- const { ensureDaemon } = await import("./notifyDaemon-DyVlLuRm.js");
4789
+ const { ensureDaemon } = await import("./notifyDaemon-DuKvOHJJ.js");
4794
4790
  await ensureDaemon().catch(() => null);
4795
4791
  };
4796
4792
  await heartbeatWatcher(parent, selfStartedAt);
@@ -4864,7 +4860,7 @@ async function cmdNotifyCursor(args) {
4864
4860
  }
4865
4861
  async function cmdNotifyd(rest) {
4866
4862
  const sub = rest[0] ?? "status";
4867
- const daemon = await import("./notifyDaemon-DyVlLuRm.js");
4863
+ const daemon = await import("./notifyDaemon-DuKvOHJJ.js");
4868
4864
  switch (sub) {
4869
4865
  case "run": return daemon.runDaemon();
4870
4866
  case "once": return daemon.runDaemon({ once: true });
@@ -4891,4 +4887,4 @@ async function cmdNotifyd(rest) {
4891
4887
 
4892
4888
  //#endregion
4893
4889
  export { isTransientLockMkdirError as $, readLogForRender as A, resolveResumeArgs as B, isUnknownManagerToken as C, matchKeyword as D, listRecords as E, renderLogTailLines as F, stopTipForCli as G, runSubcommand as H, renderRawLog as I, writeKeysPaced as J, submitAndConfirm as K, renderRawLogLines as L, readPtysize as M, recentMessageEdges as N, menuSelectKeys as O, recentReadEdges as P, hostId as Q, resolveOne as R, isSubcommand as S, lastStdinAt as T, snapshotStatus as U, restartHintLines as V, stdinActivityPath as W, appendEvent as X, writeToIpc as Y, gcInboxes as Z, isAgentStuck as _, backoffWhileTyping as a, daemonLockOwnerPath as at, isPidAlive as b, controlCodeFromName as c, deriveLiveStatus as d, listInboxParents as et, extractBadges as f, finalizedLines as g, extractTaskCounts as h, TYPING_WINDOW_MS as i, daemonLockDir as it, readNotes as j, readAgentPtysize as k, cursorAbs as l, extractNeedsInput as m, MAX_RENDER_BYTES as n, readInbox as nt, cmdDeepseek as o, notifyDir as ot, extractMenu as p, waitForLogQuiet as q, READ_PAGE_DEFAULT as r, shouldStealLock as rt, cmdHelp as s, TYPING_BADGE as st, GRACEFUL_EXIT_COMMANDS as t, liveWatchers as tt, deriveLiveState as u, isBareManagerInvocation as v, isUserTyping as w, isSlashCommand as x, isExitRequest as y, resolveReadWindow as z };
4894
- //# sourceMappingURL=subcommands-Bbo1fJ3a.js.map
4890
+ //# sourceMappingURL=subcommands-Cbhtldub.js.map
@@ -3,8 +3,8 @@ 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 readLogForRender, B as resolveResumeArgs, C as isUnknownManagerToken, D as matchKeyword, E as listRecords, F as renderLogTailLines, G as stopTipForCli, H as runSubcommand, I as renderRawLog, J as writeKeysPaced, K as submitAndConfirm, L as renderRawLogLines, M as readPtysize, N as recentMessageEdges, O as menuSelectKeys, P as recentReadEdges, R as resolveOne, S as isSubcommand, T as lastStdinAt, U as snapshotStatus, V as restartHintLines, W as stdinActivityPath, Y as writeToIpc, _ as isAgentStuck, a as backoffWhileTyping, b as isPidAlive, c as controlCodeFromName, d as deriveLiveStatus, f as extractBadges, g as finalizedLines, h as extractTaskCounts, i as TYPING_WINDOW_MS, j as readNotes, k as readAgentPtysize, l as cursorAbs, m as extractNeedsInput, n as MAX_RENDER_BYTES, o as cmdDeepseek, p as extractMenu, q as waitForLogQuiet, r as READ_PAGE_DEFAULT, s as cmdHelp, t as GRACEFUL_EXIT_COMMANDS, u as deriveLiveState, v as isBareManagerInvocation, w as isUserTyping, x as isSlashCommand, y as isExitRequest, z as resolveReadWindow } from "./subcommands-Bbo1fJ3a.js";
6
+ import { A as readLogForRender, B as resolveResumeArgs, C as isUnknownManagerToken, D as matchKeyword, E as listRecords, F as renderLogTailLines, G as stopTipForCli, H as runSubcommand, I as renderRawLog, J as writeKeysPaced, K as submitAndConfirm, L as renderRawLogLines, M as readPtysize, N as recentMessageEdges, O as menuSelectKeys, P as recentReadEdges, R as resolveOne, S as isSubcommand, T as lastStdinAt, U as snapshotStatus, V as restartHintLines, W as stdinActivityPath, Y as writeToIpc, _ as isAgentStuck, a as backoffWhileTyping, b as isPidAlive, c as controlCodeFromName, d as deriveLiveStatus, f as extractBadges, g as finalizedLines, h as extractTaskCounts, i as TYPING_WINDOW_MS, j as readNotes, k as readAgentPtysize, l as cursorAbs, m as extractNeedsInput, n as MAX_RENDER_BYTES, o as cmdDeepseek, p as extractMenu, q as waitForLogQuiet, r as READ_PAGE_DEFAULT, s as cmdHelp, t as GRACEFUL_EXIT_COMMANDS, u as deriveLiveState, v as isBareManagerInvocation, w as isUserTyping, x as isSlashCommand, y as isExitRequest, z as resolveReadWindow } from "./subcommands-Cbhtldub.js";
7
7
  import "./webrtcLink-CS4D-3G1.js";
8
- import "./remotes-iIvqiFWK.js";
8
+ import "./remotes-Cn-wszbK.js";
9
9
 
10
10
  export { cmdHelp, isBareManagerInvocation, isSubcommand, isUnknownManagerToken, runSubcommand };
@@ -88,4 +88,4 @@ function linkBunBinsToSystemPath(opts) {
88
88
 
89
89
  //#endregion
90
90
  export { linkBunBinsToSystemPath };
91
- //# sourceMappingURL=systemPathLink-CjLmiPbB.js.map
91
+ //# sourceMappingURL=systemPathLink-DTAhFXFx.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-BVM404K_.js");
101
+ const { mintScopedTermToken } = await import("./serve-bXCIgnq_.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-DplsxoJn.js.map
138
+ //# sourceMappingURL=terminal-B8jbz_HG.js.map