agent-yes 1.197.0 → 1.198.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.
@@ -0,0 +1,9 @@
1
+ import "./ts-D9RFyHqn.js";
2
+ import "./logger-CDIsZ-Pp.js";
3
+ import "./versionChecker-DQQIK4Og.js";
4
+ import "./pidStore-BIvsBQ8X.js";
5
+ import "./globalPidIndex-CoNr7tS8.js";
6
+ import "./messageLog-CxrKJj77.js";
7
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-BuScRhc9.js";
8
+
9
+ export { SUPPORTED_CLIS };
@@ -1,8 +1,8 @@
1
- import { t as CLIS_CONFIG } from "./ts-B64pNQlI.js";
1
+ import { t as CLIS_CONFIG } from "./ts-D9RFyHqn.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-BY83eM58.js.map
8
+ //# sourceMappingURL=SUPPORTED_CLIS-BuScRhc9.js.map
@@ -2,7 +2,7 @@ import "./logger-CDIsZ-Pp.js";
2
2
  import "./globalPidIndex-CoNr7tS8.js";
3
3
  import "./messageLog-CxrKJj77.js";
4
4
  import "./configShared-aKTg-sa5.js";
5
- import { M as resolveOne } from "./subcommands-B7UxIJRw.js";
5
+ import { M as resolveOne } from "./subcommands-D7AmlO_6.js";
6
6
  import "./e2e-jb0Hp43q.js";
7
7
  import "./webrtcLink-B7REGtK2.js";
8
8
  import "./remotes-Cim0dBU7.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-DWioPObE.js.map
232
+ //# sourceMappingURL=agentShare-CD1AIPMR.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-DKiSuTSp.js";
5
- import { n as getRustBinary } from "./rustBinary-5HCt7_0b.js";
4
+ import { i as versionString, n as displayVersion, t as checkAndAutoUpdate } from "./versionChecker-DQQIK4Og.js";
5
+ import { n as getRustBinary } from "./rustBinary-DLI26u3O.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 } = await import("./subcommands-DzWBZ6HE.js");
288
+ const { isSubcommand, runSubcommand, cmdHelp } = await import("./subcommands-lUi22sO5.js");
289
289
  if (isHelpFlag && process.argv.length === 3) {
290
290
  await cmdHelp(managerCommands);
291
291
  process.exit(0);
@@ -327,7 +327,7 @@ if (config.useRust) {
327
327
  }
328
328
  }
329
329
  if (rustBinary) {
330
- const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-D4Z--hGm.js");
330
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-Bhb4JKPv.js");
331
331
  const rustArgs = buildRustArgs(process.argv, config.cli, SUPPORTED_CLIS);
332
332
  if (config.verbose) {
333
333
  console.log(`[rust] Using binary: ${rustBinary}`);
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { a as removeControlCharacters, i as AgentContext, n as agentYes, r as config, t as CLIS_CONFIG } from "./ts-B64pNQlI.js";
1
+ import { a as removeControlCharacters, i as AgentContext, n as agentYes, r as config, t as CLIS_CONFIG } from "./ts-D9RFyHqn.js";
2
2
  import "./logger-CDIsZ-Pp.js";
3
- import "./versionChecker-DKiSuTSp.js";
3
+ import "./versionChecker-DQQIK4Og.js";
4
4
  import "./pidStore-BIvsBQ8X.js";
5
5
  import "./globalPidIndex-CoNr7tS8.js";
6
6
  import "./messageLog-CxrKJj77.js";
@@ -2,7 +2,7 @@ import { n as logger } from "./logger-CDIsZ-Pp.js";
2
2
  import "./globalPidIndex-CoNr7tS8.js";
3
3
  import "./messageLog-CxrKJj77.js";
4
4
  import "./configShared-aKTg-sa5.js";
5
- import { $ as notifyDir, G as gcInboxes, J as liveWatchers, K as hostId, Q as daemonLockOwnerPath, S as listRecords, W as appendEvent, X as shouldStealLock, Y as readInbox, Z as daemonLockDir, _ as isPidAlive, c as deriveLiveState, k as renderLogTailLines, q as listInboxParents } from "./subcommands-B7UxIJRw.js";
5
+ import { $ as notifyDir, G as gcInboxes, J as liveWatchers, K as hostId, Q as daemonLockOwnerPath, S as listRecords, W as appendEvent, X as shouldStealLock, Y as readInbox, Z as daemonLockDir, _ as isPidAlive, c as deriveLiveState, k as renderLogTailLines, q as listInboxParents } from "./subcommands-D7AmlO_6.js";
6
6
  import "./e2e-jb0Hp43q.js";
7
7
  import "./webrtcLink-B7REGtK2.js";
8
8
  import "./remotes-Cim0dBU7.js";
@@ -589,4 +589,4 @@ async function ensureDaemon() {
589
589
 
590
590
  //#endregion
591
591
  export { daemonStatus, ensureDaemon, requestDaemonStop, runDaemon };
592
- //# sourceMappingURL=notifyDaemon-CRf_27kE.js.map
592
+ //# sourceMappingURL=notifyDaemon-DYoMC4tA.js.map
@@ -1,4 +1,4 @@
1
- import { r as getInstalledPackage } from "./versionChecker-DKiSuTSp.js";
1
+ import { r as getInstalledPackage } from "./versionChecker-DQQIK4Og.js";
2
2
  import { execFileSync } from "child_process";
3
3
  import { existsSync, mkdirSync, unlinkSync } from "fs";
4
4
  import { chmod, copyFile } from "fs/promises";
@@ -225,4 +225,4 @@ async function getRustBinary(options = {}) {
225
225
 
226
226
  //#endregion
227
227
  export { getRustBinary as n, findSpawnHiddenLauncher as t };
228
- //# sourceMappingURL=rustBinary-5HCt7_0b.js.map
228
+ //# sourceMappingURL=rustBinary-DLI26u3O.js.map
@@ -1,10 +1,10 @@
1
- import "./ts-B64pNQlI.js";
1
+ import "./ts-D9RFyHqn.js";
2
2
  import "./logger-CDIsZ-Pp.js";
3
- import "./versionChecker-DKiSuTSp.js";
3
+ import "./versionChecker-DQQIK4Og.js";
4
4
  import "./pidStore-BIvsBQ8X.js";
5
5
  import "./globalPidIndex-CoNr7tS8.js";
6
6
  import "./messageLog-CxrKJj77.js";
7
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-BY83eM58.js";
7
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-BuScRhc9.js";
8
8
  import { d as resolveSpawnCwd } from "./workspaceConfig-CjaRvTjf.js";
9
9
  import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-CwNJuwH5.js";
10
10
  import { createHash } from "node:crypto";
@@ -151,4 +151,4 @@ async function cmdSchedule(rest) {
151
151
 
152
152
  //#endregion
153
153
  export { cmdSchedule };
154
- //# sourceMappingURL=schedule-CjBcOy-b.js.map
154
+ //# sourceMappingURL=schedule-DAl2mCc9.js.map
@@ -1,14 +1,14 @@
1
- import "./ts-B64pNQlI.js";
1
+ import "./ts-D9RFyHqn.js";
2
2
  import "./logger-CDIsZ-Pp.js";
3
- import { r as getInstalledPackage } from "./versionChecker-DKiSuTSp.js";
4
- import { t as findSpawnHiddenLauncher } from "./rustBinary-5HCt7_0b.js";
3
+ import { r as getInstalledPackage } from "./versionChecker-DQQIK4Og.js";
4
+ import { t as findSpawnHiddenLauncher } from "./rustBinary-DLI26u3O.js";
5
5
  import "./pidStore-BIvsBQ8X.js";
6
6
  import { a as updateGlobalPidStatus } from "./globalPidIndex-CoNr7tS8.js";
7
7
  import { r as recordInbox } from "./messageLog-CxrKJj77.js";
8
8
  import { t as pgidForWrapper } from "./reaper-BUHCyxdF.js";
9
9
  import "./configShared-aKTg-sa5.js";
10
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-BY83eM58.js";
11
- import { A as renderRawLog, D as recentMessageEdges, E as readPtysize, L as snapshotStatus, M as resolveOne, O as recentReadEdges, S as listRecords, T as readNotes, U as writeToIpc, b as isUserTyping, et as TYPING_BADGE, f as extractNeedsInput, k as renderLogTailLines, l as deriveLiveStatus, o as controlCodeFromName, p as extractTaskCounts, u as extractBadges } from "./subcommands-B7UxIJRw.js";
10
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-BuScRhc9.js";
11
+ import { A as renderRawLog, D as recentMessageEdges, E as readPtysize, L as snapshotStatus, M as resolveOne, O as recentReadEdges, S as listRecords, T as readNotes, U as writeToIpc, b as isUserTyping, et as TYPING_BADGE, f as extractNeedsInput, k as renderLogTailLines, l as deriveLiveStatus, o as controlCodeFromName, p as extractTaskCounts, u as extractBadges } from "./subcommands-D7AmlO_6.js";
12
12
  import "./e2e-jb0Hp43q.js";
13
13
  import "./webrtcLink-B7REGtK2.js";
14
14
  import "./remotes-Cim0dBU7.js";
@@ -1972,7 +1972,7 @@ Options:
1972
1972
  const perm = body.perm ?? "r";
1973
1973
  if (perm !== "r" && perm !== "rw") return new Response(`invalid perm ${perm} (want r or rw)`, { status: 400 });
1974
1974
  try {
1975
- const { createScopedShare } = await import("./agentShare-DWioPObE.js");
1975
+ const { createScopedShare } = await import("./agentShare-CD1AIPMR.js");
1976
1976
  const share = await createScopedShare({
1977
1977
  agent: body.agent,
1978
1978
  perm,
@@ -1987,12 +1987,12 @@ Options:
1987
1987
  }
1988
1988
  }
1989
1989
  if (req.method === "GET" && p === "/api/shares") {
1990
- const { listShares } = await import("./agentShare-DWioPObE.js");
1990
+ const { listShares } = await import("./agentShare-CD1AIPMR.js");
1991
1991
  return Response.json(listShares());
1992
1992
  }
1993
1993
  const revokeM = /^\/api\/share\/([^/]+)$/.exec(p);
1994
1994
  if (req.method === "DELETE" && revokeM) {
1995
- const { revokeShare } = await import("./agentShare-DWioPObE.js");
1995
+ const { revokeShare } = await import("./agentShare-CD1AIPMR.js");
1996
1996
  const ok = revokeShare(decodeURIComponent(revokeM[1]));
1997
1997
  return new Response(ok ? "revoked" : "no such share", { status: ok ? 200 : 404 });
1998
1998
  }
@@ -2174,7 +2174,7 @@ Options:
2174
2174
  const shutdown = (resolve) => {
2175
2175
  if (heartbeat) clearInterval(heartbeat);
2176
2176
  closeShare?.();
2177
- import("./agentShare-DWioPObE.js").then((m) => m.revokeAllShares()).catch(() => {});
2177
+ import("./agentShare-CD1AIPMR.js").then((m) => m.revokeAllShares()).catch(() => {});
2178
2178
  server?.stop();
2179
2179
  resolve();
2180
2180
  };
@@ -2187,4 +2187,4 @@ Options:
2187
2187
 
2188
2188
  //#endregion
2189
2189
  export { cmdServe };
2190
- //# sourceMappingURL=serve-C3E8uicL.js.map
2190
+ //# sourceMappingURL=serve-9jP4V1l_.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-C3E8uicL.js");
35
+ const { cmdServe } = await import("./serve-9jP4V1l_.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-C4SKqGy1.js.map
45
+ //# sourceMappingURL=setup-B55UN6xV.js.map
@@ -1127,7 +1127,7 @@ const SUBCOMMANDS = new Set([
1127
1127
  "reap",
1128
1128
  "help"
1129
1129
  ]);
1130
- const MANAGER_SUBCOMMANDS = new Set(["setup"]);
1130
+ const MANAGER_SUBCOMMANDS = new Set(["setup", "ws"]);
1131
1131
  const IDLE_THRESHOLD_MS = 60 * 1e3;
1132
1132
  const STUCK_THRESHOLD_MS = (() => {
1133
1133
  const n = Number(process.env.AGENT_YES_STUCK_MS);
@@ -1184,15 +1184,19 @@ async function runSubcommand(argv) {
1184
1184
  case "restart": return await cmdRestart(rest);
1185
1185
  case "note": return await cmdNote(rest);
1186
1186
  case "serve": {
1187
- const { cmdServe } = await import("./serve-C3E8uicL.js");
1187
+ const { cmdServe } = await import("./serve-9jP4V1l_.js");
1188
1188
  return cmdServe(rest);
1189
1189
  }
1190
1190
  case "setup": {
1191
- const { cmdSetup } = await import("./setup-C4SKqGy1.js");
1191
+ const { cmdSetup } = await import("./setup-B55UN6xV.js");
1192
1192
  return cmdSetup(rest);
1193
1193
  }
1194
+ case "ws": {
1195
+ const { cmdWs } = await import("./ws-BpHPhcPH.js");
1196
+ return cmdWs(rest);
1197
+ }
1194
1198
  case "schedule": {
1195
- const { cmdSchedule } = await import("./schedule-CjBcOy-b.js");
1199
+ const { cmdSchedule } = await import("./schedule-DAl2mCc9.js");
1196
1200
  return cmdSchedule(rest);
1197
1201
  }
1198
1202
  case "remote": {
@@ -1235,9 +1239,10 @@ async function buildAgentContextSection(self) {
1235
1239
  }
1236
1240
  async function cmdHelp(managerCommands = true) {
1237
1241
  const setupLine = managerCommands ? ` ay setup guided setup: pick a workspace, share to agent-yes.com\n` : ``;
1242
+ 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" : ``;
1238
1243
  const self = process.env.AGENT_YES_PID ? await resolveSender() : null;
1239
1244
  const agentSection = self ? await buildAgentContextSection(self) : "";
1240
- 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\n ay msgs [keyword] [--in|--out] inter-agent message log (sent + received)\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 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\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 ls <token>@<host>:<port> connect inline (no alias needed)\n ay send <token>@<host>:<port>:<kw> <msg>\n\nRun an agent:\n ay [claude|codex|gemini|...] [options] -- [prompt]\n ay claude -- \"fix the bug in auth.ts\"\n ay claude --help full agent-runner options\n\nLabs (examples at https://github.com/snomiao/agent-yes/tree/main/lab):\n local-role-play/ designer + builder on one machine\n http-remote/ ay serve remote access demo\n p2p-pairing/ libp2p P2P (needs: cargo build --features swarm)\n");
1245
+ 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\n ay msgs [keyword] [--in|--out] inter-agent message log (sent + received)\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 result <keyword> [--wait] pull an agent's structured result envelope\n ay result set '<json>' (inside an agent) deposit your result envelope\n ay reap kill process groups leaked by dead agents\n" + wsLines + "\nRemote:\n" + setupLine + " ay schedule <when> <cli> -- <msg> run an agent on a schedule (HH:MM or cron)\n ay serve [--port N] start HTTP API server (prints token)\n ay serve status show serve daemon/server status\n ay remote add <alias> http://<token>@<host>:<port>\n ay remote ls / rm <alias> manage saved remotes\n ay expose <port> share localhost:<port> at https://<id>.agent-yes.com (private link)\n ay ls <token>@<host>:<port> connect inline (no alias needed)\n ay send <token>@<host>:<port>:<kw> <msg>\n\nRun an agent:\n ay [claude|codex|gemini|...] [options] -- [prompt]\n ay claude -- \"fix the bug in auth.ts\"\n ay claude --help full agent-runner options\n\nLabs (examples at https://github.com/snomiao/agent-yes/tree/main/lab):\n local-role-play/ designer + builder on one machine\n http-remote/ ay serve remote access demo\n p2p-pairing/ libp2p P2P (needs: cargo build --features swarm)\n");
1241
1246
  return 0;
1242
1247
  }
1243
1248
  function matchKeyword(record, keyword) {
@@ -4211,7 +4216,7 @@ async function cmdNotify(rest) {
4211
4216
  }
4212
4217
  const ensure = async () => {
4213
4218
  if (!argv["ensure-daemon"]) return;
4214
- const { ensureDaemon } = await import("./notifyDaemon-CRf_27kE.js");
4219
+ const { ensureDaemon } = await import("./notifyDaemon-DYoMC4tA.js");
4215
4220
  await ensureDaemon().catch(() => null);
4216
4221
  };
4217
4222
  await heartbeatWatcher(parent, selfStartedAt);
@@ -4285,7 +4290,7 @@ async function cmdNotifyCursor(args) {
4285
4290
  }
4286
4291
  async function cmdNotifyd(rest) {
4287
4292
  const sub = rest[0] ?? "status";
4288
- const daemon = await import("./notifyDaemon-CRf_27kE.js");
4293
+ const daemon = await import("./notifyDaemon-DYoMC4tA.js");
4289
4294
  switch (sub) {
4290
4295
  case "run": return daemon.runDaemon();
4291
4296
  case "once": return daemon.runDaemon({ once: true });
@@ -4312,4 +4317,4 @@ async function cmdNotifyd(rest) {
4312
4317
 
4313
4318
  //#endregion
4314
4319
  export { notifyDir as $, renderRawLog as A, submitAndConfirm as B, matchKeyword as C, recentMessageEdges as D, readPtysize as E, restartHintLines as F, gcInboxes as G, writeKeysPaced as H, runSubcommand as I, liveWatchers as J, hostId as K, snapshotStatus as L, resolveOne as M, resolveReadWindow as N, recentReadEdges as O, resolveResumeArgs as P, daemonLockOwnerPath as Q, stdinActivityPath as R, listRecords as S, readNotes as T, writeToIpc as U, waitForLogQuiet as V, appendEvent as W, shouldStealLock as X, readInbox as Y, daemonLockDir as Z, isPidAlive as _, cmdHelp as a, isUserTyping as b, deriveLiveState as c, extractMenu as d, TYPING_BADGE as et, extractNeedsInput as f, isExitRequest as g, isAgentStuck as h, backoffWhileTyping as i, renderRawLogLines as j, renderLogTailLines as k, deriveLiveStatus as l, finalizedLines as m, READ_PAGE_DEFAULT as n, controlCodeFromName as o, extractTaskCounts as p, listInboxParents as q, TYPING_WINDOW_MS as r, cursorAbs as s, GRACEFUL_EXIT_COMMANDS as t, extractBadges as u, isSlashCommand as v, menuSelectKeys as w, lastStdinAt as x, isSubcommand as y, stopTipForCli as z };
4315
- //# sourceMappingURL=subcommands-B7UxIJRw.js.map
4320
+ //# sourceMappingURL=subcommands-D7AmlO_6.js.map
@@ -2,7 +2,7 @@ import "./logger-CDIsZ-Pp.js";
2
2
  import "./globalPidIndex-CoNr7tS8.js";
3
3
  import "./messageLog-CxrKJj77.js";
4
4
  import "./configShared-aKTg-sa5.js";
5
- import { A as renderRawLog, B as submitAndConfirm, C as matchKeyword, D as recentMessageEdges, E as readPtysize, F as restartHintLines, H as writeKeysPaced, I as runSubcommand, L as snapshotStatus, M as resolveOne, N as resolveReadWindow, O as recentReadEdges, P as resolveResumeArgs, R as stdinActivityPath, S as listRecords, T as readNotes, U as writeToIpc, V as waitForLogQuiet, _ as isPidAlive, a as cmdHelp, b as isUserTyping, c as deriveLiveState, d as extractMenu, f as extractNeedsInput, g as isExitRequest, h as isAgentStuck, i as backoffWhileTyping, j as renderRawLogLines, k as renderLogTailLines, l as deriveLiveStatus, m as finalizedLines, n as READ_PAGE_DEFAULT, o as controlCodeFromName, p as extractTaskCounts, r as TYPING_WINDOW_MS, s as cursorAbs, t as GRACEFUL_EXIT_COMMANDS, u as extractBadges, v as isSlashCommand, w as menuSelectKeys, x as lastStdinAt, y as isSubcommand, z as stopTipForCli } from "./subcommands-B7UxIJRw.js";
5
+ import { A as renderRawLog, B as submitAndConfirm, C as matchKeyword, D as recentMessageEdges, E as readPtysize, F as restartHintLines, H as writeKeysPaced, I as runSubcommand, L as snapshotStatus, M as resolveOne, N as resolveReadWindow, O as recentReadEdges, P as resolveResumeArgs, R as stdinActivityPath, S as listRecords, T as readNotes, U as writeToIpc, V as waitForLogQuiet, _ as isPidAlive, a as cmdHelp, b as isUserTyping, c as deriveLiveState, d as extractMenu, f as extractNeedsInput, g as isExitRequest, h as isAgentStuck, i as backoffWhileTyping, j as renderRawLogLines, k as renderLogTailLines, l as deriveLiveStatus, m as finalizedLines, n as READ_PAGE_DEFAULT, o as controlCodeFromName, p as extractTaskCounts, r as TYPING_WINDOW_MS, s as cursorAbs, t as GRACEFUL_EXIT_COMMANDS, u as extractBadges, v as isSlashCommand, w as menuSelectKeys, x as lastStdinAt, y as isSubcommand, z as stopTipForCli } from "./subcommands-D7AmlO_6.js";
6
6
  import "./e2e-jb0Hp43q.js";
7
7
  import "./webrtcLink-B7REGtK2.js";
8
8
  import "./remotes-Cim0dBU7.js";
@@ -1,5 +1,5 @@
1
1
  import { n as logger, t as addTransport } from "./logger-CDIsZ-Pp.js";
2
- import { r as getInstalledPackage } from "./versionChecker-DKiSuTSp.js";
2
+ import { r as getInstalledPackage } from "./versionChecker-DQQIK4Og.js";
3
3
  import { t as agentYesHome } from "./agentYesHome-CtHb5b71.js";
4
4
  import { i as shouldUseLock, r as releaseLock, t as acquireLock } from "./runningLock-CNMl13dC.js";
5
5
  import { t as PidStore } from "./pidStore-BIvsBQ8X.js";
@@ -1901,4 +1901,4 @@ function sleep(ms) {
1901
1901
 
1902
1902
  //#endregion
1903
1903
  export { removeControlCharacters as a, AgentContext as i, agentYes as n, config as r, CLIS_CONFIG as t };
1904
- //# sourceMappingURL=ts-B64pNQlI.js.map
1904
+ //# sourceMappingURL=ts-D9RFyHqn.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.197.0";
10
+ var version = "1.198.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-DKiSuTSp.js.map
218
+ //# sourceMappingURL=versionChecker-DQQIK4Og.js.map