agent-yes 1.140.0 → 1.140.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.
@@ -1,8 +1,8 @@
1
- import { t as CLIS_CONFIG } from "./ts-Bal_DlNX.js";
1
+ import { t as CLIS_CONFIG } from "./ts-CKCsYKjz.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-DnhSdiHO.js.map
8
+ //# sourceMappingURL=SUPPORTED_CLIS-Cjay1Iru.js.map
@@ -0,0 +1,8 @@
1
+ import "./ts-CKCsYKjz.js";
2
+ import "./logger-CDIsZ-Pp.js";
3
+ import "./versionChecker-CZ6UM9LY.js";
4
+ import "./pidStore-fqXqTKkh.js";
5
+ import "./globalPidIndex-DlmmJlO8.js";
6
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-Cjay1Iru.js";
7
+
8
+ export { SUPPORTED_CLIS };
package/dist/cli.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env bun
2
2
  import { t as invokedCliName } from "./invokedCli-zdFbz1ST.js";
3
3
  import { n as logger } from "./logger-CDIsZ-Pp.js";
4
- import { i as versionString, n as displayVersion, r as getInstalledPackage, t as checkAndAutoUpdate } from "./versionChecker-BRJsYunz.js";
4
+ import { i as versionString, n as displayVersion, r as getInstalledPackage, t as checkAndAutoUpdate } from "./versionChecker-CZ6UM9LY.js";
5
5
  import { argv } from "process";
6
6
  import { execFileSync, spawn } from "child_process";
7
7
  import ms from "ms";
@@ -480,7 +480,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
480
480
  const rawArg = process.argv[2];
481
481
  const managerCommands = !invokedCliName(process.argv);
482
482
  const isHelpFlag = rawArg === "-h" || rawArg === "--help";
483
- const { isSubcommand, runSubcommand, cmdHelp } = await import("./subcommands-jcuTXpcx.js");
483
+ const { isSubcommand, runSubcommand, cmdHelp } = await import("./subcommands-CvO1YYns.js");
484
484
  if (isHelpFlag && process.argv.length === 3) {
485
485
  cmdHelp(managerCommands);
486
486
  process.exit(0);
@@ -513,7 +513,7 @@ if (config.useRust) {
513
513
  }
514
514
  }
515
515
  if (rustBinary) {
516
- const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-vnAMkGCv.js");
516
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-dlEtFEAn.js");
517
517
  const rustArgs = buildRustArgs(process.argv, config.cli, SUPPORTED_CLIS);
518
518
  if (config.verbose) {
519
519
  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-Bal_DlNX.js";
1
+ import { a as removeControlCharacters, i as AgentContext, n as agentYes, r as config, t as CLIS_CONFIG } from "./ts-CKCsYKjz.js";
2
2
  import "./logger-CDIsZ-Pp.js";
3
- import "./versionChecker-BRJsYunz.js";
3
+ import "./versionChecker-CZ6UM9LY.js";
4
4
  import "./pidStore-fqXqTKkh.js";
5
5
  import "./globalPidIndex-DlmmJlO8.js";
6
6
 
@@ -1,9 +1,9 @@
1
- import "./ts-Bal_DlNX.js";
1
+ import "./ts-CKCsYKjz.js";
2
2
  import "./logger-CDIsZ-Pp.js";
3
- import "./versionChecker-BRJsYunz.js";
3
+ import "./versionChecker-CZ6UM9LY.js";
4
4
  import "./pidStore-fqXqTKkh.js";
5
5
  import "./globalPidIndex-DlmmJlO8.js";
6
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DnhSdiHO.js";
6
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-Cjay1Iru.js";
7
7
  import { n as resolveSpawnCwd } from "./workspaceConfig-BCOqRBEW.js";
8
8
  import { createHash } from "node:crypto";
9
9
 
@@ -141,4 +141,4 @@ async function cmdSchedule(rest) {
141
141
 
142
142
  //#endregion
143
143
  export { cmdSchedule };
144
- //# sourceMappingURL=schedule-BBJndWWa.js.map
144
+ //# sourceMappingURL=schedule-DEcxVffO.js.map
@@ -1,13 +1,13 @@
1
- import "./ts-Bal_DlNX.js";
1
+ import "./ts-CKCsYKjz.js";
2
2
  import "./logger-CDIsZ-Pp.js";
3
- import { r as getInstalledPackage } from "./versionChecker-BRJsYunz.js";
3
+ import { r as getInstalledPackage } from "./versionChecker-CZ6UM9LY.js";
4
4
  import "./pidStore-fqXqTKkh.js";
5
5
  import { a as updateGlobalPidStatus } from "./globalPidIndex-DlmmJlO8.js";
6
6
  import { t as pgidForWrapper } from "./reaper-C-eWAxIj.js";
7
7
  import "./configShared-C1C04bbq.js";
8
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DnhSdiHO.js";
8
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-Cjay1Iru.js";
9
9
  import "./remotes-PKKjfTI1.js";
10
- import { S as writeToIpc, _ as resolveOne, b as snapshotStatus, c as extractTaskCounts, f as listRecords, h as renderRawLog, i as controlCodeFromName, m as readNotes, o as deriveLiveStatus } from "./subcommands-Clu93rSP.js";
10
+ import { S as writeToIpc, _ as resolveOne, b as snapshotStatus, c as extractTaskCounts, f as listRecords, h as renderRawLog, i as controlCodeFromName, m as readNotes, o as deriveLiveStatus } from "./subcommands-D4BFGRle.js";
11
11
  import yargs from "yargs";
12
12
  import { mkdir, open, readFile, stat, writeFile } from "fs/promises";
13
13
  import { homedir, hostname, userInfo } from "os";
@@ -1175,4 +1175,4 @@ Options:
1175
1175
 
1176
1176
  //#endregion
1177
1177
  export { cmdServe };
1178
- //# sourceMappingURL=serve-DKAxT4TT.js.map
1178
+ //# sourceMappingURL=serve-BAZlVy52.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-DKAxT4TT.js");
35
+ const { cmdServe } = await import("./serve-BAZlVy52.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-pO43opst.js.map
45
+ //# sourceMappingURL=setup-C9csSnJG.js.map
@@ -2,6 +2,6 @@ import "./logger-CDIsZ-Pp.js";
2
2
  import "./globalPidIndex-DlmmJlO8.js";
3
3
  import "./configShared-C1C04bbq.js";
4
4
  import "./remotes-PKKjfTI1.js";
5
- import { S as writeToIpc, _ as resolveOne, a as cursorAbs, b as snapshotStatus, c as extractTaskCounts, d as isSubcommand, f as listRecords, g as renderRawLogLines, h as renderRawLog, i as controlCodeFromName, l as finalizedLines, m as readNotes, n as READ_PAGE_DEFAULT, o as deriveLiveStatus, p as matchKeyword, r as cmdHelp, s as extractNeedsInput, t as GRACEFUL_EXIT_COMMANDS, u as isPidAlive, v as resolveReadWindow, x as stopTipForCli, y as runSubcommand } from "./subcommands-Clu93rSP.js";
5
+ import { S as writeToIpc, _ as resolveOne, a as cursorAbs, b as snapshotStatus, c as extractTaskCounts, d as isSubcommand, f as listRecords, g as renderRawLogLines, h as renderRawLog, i as controlCodeFromName, l as finalizedLines, m as readNotes, n as READ_PAGE_DEFAULT, o as deriveLiveStatus, p as matchKeyword, r as cmdHelp, s as extractNeedsInput, t as GRACEFUL_EXIT_COMMANDS, u as isPidAlive, v as resolveReadWindow, x as stopTipForCli, y as runSubcommand } from "./subcommands-D4BFGRle.js";
6
6
 
7
7
  export { cmdHelp, isSubcommand, runSubcommand };
@@ -533,15 +533,15 @@ async function runSubcommand(argv) {
533
533
  case "restart": return await cmdRestart(rest);
534
534
  case "note": return await cmdNote(rest);
535
535
  case "serve": {
536
- const { cmdServe } = await import("./serve-DKAxT4TT.js");
536
+ const { cmdServe } = await import("./serve-BAZlVy52.js");
537
537
  return cmdServe(rest);
538
538
  }
539
539
  case "setup": {
540
- const { cmdSetup } = await import("./setup-pO43opst.js");
540
+ const { cmdSetup } = await import("./setup-C9csSnJG.js");
541
541
  return cmdSetup(rest);
542
542
  }
543
543
  case "schedule": {
544
- const { cmdSchedule } = await import("./schedule-BBJndWWa.js");
544
+ const { cmdSchedule } = await import("./schedule-DEcxVffO.js");
545
545
  return cmdSchedule(rest);
546
546
  }
547
547
  case "remote": {
@@ -2440,4 +2440,4 @@ async function cmdResultSet(rest) {
2440
2440
 
2441
2441
  //#endregion
2442
2442
  export { writeToIpc as S, resolveOne as _, cursorAbs as a, snapshotStatus as b, extractTaskCounts as c, isSubcommand as d, listRecords as f, renderRawLogLines as g, renderRawLog as h, controlCodeFromName as i, finalizedLines as l, readNotes as m, READ_PAGE_DEFAULT as n, deriveLiveStatus as o, matchKeyword as p, cmdHelp as r, extractNeedsInput as s, GRACEFUL_EXIT_COMMANDS as t, isPidAlive as u, resolveReadWindow as v, stopTipForCli as x, runSubcommand as y };
2443
- //# sourceMappingURL=subcommands-Clu93rSP.js.map
2443
+ //# sourceMappingURL=subcommands-D4BFGRle.js.map
@@ -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-BRJsYunz.js";
2
+ import { r as getInstalledPackage } from "./versionChecker-CZ6UM9LY.js";
3
3
  import { t as agentYesHome } from "./agentYesHome-_eJa3DaX.js";
4
4
  import { i as shouldUseLock, r as releaseLock, t as acquireLock } from "./runningLock-V4qvXgAw.js";
5
5
  import { t as PidStore } from "./pidStore-fqXqTKkh.js";
@@ -1788,4 +1788,4 @@ function sleep(ms) {
1788
1788
 
1789
1789
  //#endregion
1790
1790
  export { removeControlCharacters as a, AgentContext as i, agentYes as n, config as r, CLIS_CONFIG as t };
1791
- //# sourceMappingURL=ts-Bal_DlNX.js.map
1791
+ //# sourceMappingURL=ts-CKCsYKjz.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.140.0";
10
+ var version = "1.140.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-BRJsYunz.js.map
218
+ //# sourceMappingURL=versionChecker-CZ6UM9LY.js.map
package/lab/ui/index.html CHANGED
@@ -3674,13 +3674,15 @@
3674
3674
  $("omni").style.display = "none";
3675
3675
  }
3676
3676
 
3677
- // The agent the spawn action is anchored to: the highlighted agent row, else
3678
- // the first agent result, else whatever's open in the console.
3677
+ // The agent the spawn action is anchored to. PINNED to the agent currently
3678
+ // open in the console (its cwd/cli), so the spawn target stays put as you
3679
+ // arrow through search results. Falls back to the top result when nothing is
3680
+ // selected yet.
3679
3681
  function omniAnchor() {
3680
- const hi = omniRows[omniIdx];
3681
- if (hi && hi.kind === "agent") return hi.entry;
3682
+ const cur = sel ? entries.find((x) => x._key === sel) : null;
3683
+ if (cur) return cur;
3682
3684
  const first = omniRows.find((r) => r.kind === "agent");
3683
- return first ? first.entry : entries.find((x) => x._key === sel) || null;
3685
+ return first ? first.entry : null;
3684
3686
  }
3685
3687
 
3686
3688
  function renderOmni() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-yes",
3
- "version": "1.140.0",
3
+ "version": "1.140.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,8 +0,0 @@
1
- import "./ts-Bal_DlNX.js";
2
- import "./logger-CDIsZ-Pp.js";
3
- import "./versionChecker-BRJsYunz.js";
4
- import "./pidStore-fqXqTKkh.js";
5
- import "./globalPidIndex-DlmmJlO8.js";
6
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DnhSdiHO.js";
7
-
8
- export { SUPPORTED_CLIS };