agent-yes 1.126.0 → 1.127.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.
@@ -1,8 +1,8 @@
1
- import { t as CLIS_CONFIG } from "./ts-mC5Sxj8J.js";
1
+ import { t as CLIS_CONFIG } from "./ts-C6kjiGpb.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-CdY3HoJ6.js.map
8
+ //# sourceMappingURL=SUPPORTED_CLIS-AaS7DGaZ.js.map
@@ -0,0 +1,8 @@
1
+ import "./ts-C6kjiGpb.js";
2
+ import "./logger-B9h0djqx.js";
3
+ import "./versionChecker-ilGsD2LH.js";
4
+ import "./pidStore-CGKIhaJO.js";
5
+ import "./globalPidIndex-C7r2m6s7.js";
6
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-AaS7DGaZ.js";
7
+
8
+ export { SUPPORTED_CLIS };
package/dist/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env bun
2
2
  import { n as logger } from "./logger-B9h0djqx.js";
3
- import { i as versionString, n as displayVersion, r as getInstalledPackage, t as checkAndAutoUpdate } from "./versionChecker-B0h02RsF.js";
3
+ import { i as versionString, n as displayVersion, r as getInstalledPackage, t as checkAndAutoUpdate } from "./versionChecker-ilGsD2LH.js";
4
4
  import { argv } from "process";
5
5
  import { execFileSync, spawn } from "child_process";
6
6
  import ms from "ms";
@@ -482,7 +482,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
482
482
  {
483
483
  const rawArg = process.argv[2];
484
484
  const isHelpFlag = rawArg === "-h" || rawArg === "--help";
485
- const { isSubcommand, runSubcommand, cmdHelp } = await import("./subcommands-muAbavuV.js");
485
+ const { isSubcommand, runSubcommand, cmdHelp } = await import("./subcommands-DtXVoO1S.js");
486
486
  if (isHelpFlag && process.argv.length === 3) {
487
487
  cmdHelp();
488
488
  process.exit(0);
@@ -515,7 +515,7 @@ if (config.useRust) {
515
515
  }
516
516
  }
517
517
  if (rustBinary) {
518
- const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-Rru_Sz2g.js");
518
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-B8xjJZfI.js");
519
519
  const rustArgs = buildRustArgs(process.argv, config.cli, SUPPORTED_CLIS);
520
520
  if (config.verbose) {
521
521
  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-mC5Sxj8J.js";
1
+ import { a as removeControlCharacters, i as AgentContext, n as agentYes, r as config, t as CLIS_CONFIG } from "./ts-C6kjiGpb.js";
2
2
  import "./logger-B9h0djqx.js";
3
- import "./versionChecker-B0h02RsF.js";
3
+ import "./versionChecker-ilGsD2LH.js";
4
4
  import "./pidStore-CGKIhaJO.js";
5
5
  import "./globalPidIndex-C7r2m6s7.js";
6
6
 
@@ -1,9 +1,9 @@
1
- import "./ts-mC5Sxj8J.js";
1
+ import "./ts-C6kjiGpb.js";
2
2
  import "./logger-B9h0djqx.js";
3
- import "./versionChecker-B0h02RsF.js";
3
+ import "./versionChecker-ilGsD2LH.js";
4
4
  import "./pidStore-CGKIhaJO.js";
5
5
  import "./globalPidIndex-C7r2m6s7.js";
6
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CdY3HoJ6.js";
6
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-AaS7DGaZ.js";
7
7
  import { n as resolveSpawnCwd } from "./workspaceConfig-BJO4fzEn.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-DpU_v1GI.js.map
144
+ //# sourceMappingURL=schedule-Cl0GOwj0.js.map
@@ -1,13 +1,13 @@
1
- import "./ts-mC5Sxj8J.js";
1
+ import "./ts-C6kjiGpb.js";
2
2
  import "./logger-B9h0djqx.js";
3
- import { r as getInstalledPackage } from "./versionChecker-B0h02RsF.js";
3
+ import { r as getInstalledPackage } from "./versionChecker-ilGsD2LH.js";
4
4
  import "./pidStore-CGKIhaJO.js";
5
5
  import { a as updateGlobalPidStatus } from "./globalPidIndex-C7r2m6s7.js";
6
6
  import { t as pgidForWrapper } from "./reaper-BkjPN7mw.js";
7
7
  import "./configShared-C5QaNPnz.js";
8
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CdY3HoJ6.js";
8
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-AaS7DGaZ.js";
9
9
  import "./remotes-D8GvSbhf.js";
10
- import { f as readNotes, g as snapshotStatus, m as resolveOne, o as extractTaskCounts, p as renderRawLog, r as controlCodeFromName, u as listRecords, v as writeToIpc } from "./subcommands-CfIvTc92.js";
10
+ import { f as readNotes, g as snapshotStatus, m as resolveOne, o as extractTaskCounts, p as renderRawLog, r as controlCodeFromName, u as listRecords, v as writeToIpc } from "./subcommands-B9oZdbLM.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";
@@ -1107,4 +1107,4 @@ Options:
1107
1107
 
1108
1108
  //#endregion
1109
1109
  export { cmdServe };
1110
- //# sourceMappingURL=serve-TblBCSP1.js.map
1110
+ //# sourceMappingURL=serve-BtmFJZ06.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-TblBCSP1.js");
35
+ const { cmdServe } = await import("./serve-BtmFJZ06.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-Ckac0l6u.js.map
45
+ //# sourceMappingURL=setup-C1kPJD79.js.map
@@ -524,15 +524,15 @@ async function runSubcommand(argv) {
524
524
  case "restart": return await cmdRestart(rest);
525
525
  case "note": return await cmdNote(rest);
526
526
  case "serve": {
527
- const { cmdServe } = await import("./serve-TblBCSP1.js");
527
+ const { cmdServe } = await import("./serve-BtmFJZ06.js");
528
528
  return cmdServe(rest);
529
529
  }
530
530
  case "setup": {
531
- const { cmdSetup } = await import("./setup-Ckac0l6u.js");
531
+ const { cmdSetup } = await import("./setup-C1kPJD79.js");
532
532
  return cmdSetup(rest);
533
533
  }
534
534
  case "schedule": {
535
- const { cmdSchedule } = await import("./schedule-DpU_v1GI.js");
535
+ const { cmdSchedule } = await import("./schedule-Cl0GOwj0.js");
536
536
  return cmdSchedule(rest);
537
537
  }
538
538
  case "remote": {
@@ -2304,4 +2304,4 @@ async function cmdResultSet(rest) {
2304
2304
 
2305
2305
  //#endregion
2306
2306
  export { stopTipForCli as _, extractNeedsInput as a, isPidAlive as c, matchKeyword as d, readNotes as f, snapshotStatus as g, runSubcommand as h, cursorAbs as i, isSubcommand as l, resolveOne as m, cmdHelp as n, extractTaskCounts as o, renderRawLog as p, controlCodeFromName as r, finalizedLines as s, GRACEFUL_EXIT_COMMANDS as t, listRecords as u, writeToIpc as v };
2307
- //# sourceMappingURL=subcommands-CfIvTc92.js.map
2307
+ //# sourceMappingURL=subcommands-B9oZdbLM.js.map
@@ -2,6 +2,6 @@ import "./logger-B9h0djqx.js";
2
2
  import "./globalPidIndex-C7r2m6s7.js";
3
3
  import "./configShared-C5QaNPnz.js";
4
4
  import "./remotes-D8GvSbhf.js";
5
- import { _ as stopTipForCli, a as extractNeedsInput, c as isPidAlive, d as matchKeyword, f as readNotes, g as snapshotStatus, h as runSubcommand, i as cursorAbs, l as isSubcommand, m as resolveOne, n as cmdHelp, o as extractTaskCounts, p as renderRawLog, r as controlCodeFromName, s as finalizedLines, t as GRACEFUL_EXIT_COMMANDS, u as listRecords, v as writeToIpc } from "./subcommands-CfIvTc92.js";
5
+ import { _ as stopTipForCli, a as extractNeedsInput, c as isPidAlive, d as matchKeyword, f as readNotes, g as snapshotStatus, h as runSubcommand, i as cursorAbs, l as isSubcommand, m as resolveOne, n as cmdHelp, o as extractTaskCounts, p as renderRawLog, r as controlCodeFromName, s as finalizedLines, t as GRACEFUL_EXIT_COMMANDS, u as listRecords, v as writeToIpc } from "./subcommands-B9oZdbLM.js";
6
6
 
7
7
  export { cmdHelp, isSubcommand, runSubcommand };
@@ -1,5 +1,5 @@
1
1
  import { n as logger, t as addTransport } from "./logger-B9h0djqx.js";
2
- import { r as getInstalledPackage } from "./versionChecker-B0h02RsF.js";
2
+ import { r as getInstalledPackage } from "./versionChecker-ilGsD2LH.js";
3
3
  import { t as agentYesHome } from "./agentYesHome-BvaUOzCV.js";
4
4
  import { i as shouldUseLock, r as releaseLock, t as acquireLock } from "./runningLock-CJxsoGdb.js";
5
5
  import { t as PidStore } from "./pidStore-CGKIhaJO.js";
@@ -1787,4 +1787,4 @@ function sleep(ms) {
1787
1787
 
1788
1788
  //#endregion
1789
1789
  export { removeControlCharacters as a, AgentContext as i, agentYes as n, config as r, CLIS_CONFIG as t };
1790
- //# sourceMappingURL=ts-mC5Sxj8J.js.map
1790
+ //# sourceMappingURL=ts-C6kjiGpb.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.126.0";
10
+ var version = "1.127.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-B0h02RsF.js.map
218
+ //# sourceMappingURL=versionChecker-ilGsD2LH.js.map
package/lab/ui/index.html CHANGED
@@ -1289,6 +1289,17 @@
1289
1289
  <button class="kb" data-arrow="left" title="Left" aria-label="Left">←</button>
1290
1290
  <button class="kb" data-arrow="right" title="Right" aria-label="Right">→</button>
1291
1291
  <button class="kb" data-key="enter" title="Enter" aria-label="Enter">⏎</button>
1292
+ <!-- lower-frequency nav keys, appended after the common keys so they
1293
+ sort to the right (scroll to reach) without bumping the rest -->
1294
+ <button class="kb" data-arrow="home" title="Home">Home</button>
1295
+ <button class="kb" data-arrow="end" title="End">End</button>
1296
+ <button class="kb" data-tilde="pgup" title="Page Up" aria-label="Page Up">PgUp</button>
1297
+ <button class="kb" data-tilde="pgdn" title="Page Down" aria-label="Page Down">
1298
+ PgDn
1299
+ </button>
1300
+ <button class="kb" data-tilde="del" title="Delete (forward)" aria-label="Delete">
1301
+ Del
1302
+ </button>
1292
1303
  </div>
1293
1304
  <!-- Line composer — the reliable path for typing a prompt on a phone:
1294
1305
  a normal textarea (no IME/autocorrect surprises that plague xterm's
@@ -2336,8 +2347,15 @@
2336
2347
  if (!kb) return;
2337
2348
  // stab = Shift-Tab → CBT (ESC [ Z); back-tab / reverse field nav, and
2338
2349
  // what Claude Code's TUI reads to cycle permission modes.
2350
+ // Fixed byte sequences (no CSI-modifier form).
2339
2351
  const SEQ = { esc: "\x1b", tab: "\t", stab: "\x1b[Z", enter: "\r", cc: "\x03" };
2340
- const ARROW = { up: "A", down: "B", right: "C", left: "D" };
2352
+ // Cursor keys keyed by their CSI/SS3 final byte. Arrows AND Home/End are
2353
+ // DECCKM-aware and take CSI modifiers via the shared cursor path below.
2354
+ const ARROW = { up: "A", down: "B", right: "C", left: "D", home: "H", end: "F" };
2355
+ // VT220 function keys: CSI <N> ~, or CSI <N> ; <m> ~ when modified.
2356
+ const TILDE = { pgup: "5", pgdn: "6", del: "3" };
2357
+ // CSI modifier param shared by cursor + VT220 keys: 1 + Shift + Alt*2 + Ctrl*4.
2358
+ const modNum = () => 1 + (modShift ? 1 : 0) + (modAlt ? 2 : 0) + (modCtrl ? 4 : 0);
2341
2359
  // Don't let a button steal focus — that would drop the soft keyboard and
2342
2360
  // blur whatever the user is typing into (terminal or composer).
2343
2361
  kb.addEventListener("pointerdown", (ev) => {
@@ -2359,17 +2377,24 @@
2359
2377
  if (b.dataset.arrow) {
2360
2378
  const L = ARROW[b.dataset.arrow];
2361
2379
  if (modCtrl || modAlt || modShift) {
2362
- // Modifier + arrow → CSI form ESC [ 1 ; <m> <L>, where
2363
- // m = 1 + Shift(1) + Alt(2) + Ctrl(4) (e.g. Ctrl-Left = ESC [ 1 ; 5 D
2364
- // for word-wise motion). Modified cursor keys are always CSI, never
2365
- // SS3, so DECCKM doesn't apply when a modifier is held.
2366
- seq = "\x1b[1;" + (1 + (modShift ? 1 : 0) + (modAlt ? 2 : 0) + (modCtrl ? 4 : 0)) + L;
2380
+ // Modifier + cursor key → CSI form ESC [ 1 ; <m> <L> (e.g. Ctrl-Left
2381
+ // = ESC [ 1 ; 5 D for word-wise motion). Modified cursor keys are
2382
+ // always CSI, never SS3, so DECCKM doesn't apply when held.
2383
+ seq = "\x1b[1;" + modNum() + L;
2367
2384
  } else {
2368
2385
  // Honour application-cursor-key mode (DECCKM): TUIs that enable it
2369
2386
  // expect SS3 (ESC O x) arrows, not CSI (ESC [ x). xterm tracks it.
2370
2387
  const app = term && term.modes && term.modes.applicationCursorKeysMode;
2371
2388
  seq = (app ? "\x1bO" : "\x1b[") + L;
2372
2389
  }
2390
+ } else if (b.dataset.tilde) {
2391
+ // VT220 function key → CSI <N> ~, or CSI <N> ; <m> ~ when a modifier is
2392
+ // held (e.g. Ctrl+Del = ESC [ 3 ; 5 ~ for word-delete).
2393
+ const N = TILDE[b.dataset.tilde];
2394
+ seq =
2395
+ modCtrl || modAlt || modShift
2396
+ ? "\x1b[" + N + ";" + modNum() + "~"
2397
+ : "\x1b[" + N + "~";
2373
2398
  } else if (b.dataset.key) {
2374
2399
  seq = SEQ[b.dataset.key];
2375
2400
  // Shift+Tab → CBT (ESC [ Z), same as the dedicated ⇧Tab key.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-yes",
3
- "version": "1.126.0",
3
+ "version": "1.127.0",
4
4
  "description": "A wrapper tool that automates interactions with various AI CLI tools by automatically handling common prompts and responses.",
5
5
  "keywords": [
6
6
  "ai",
@@ -1,8 +0,0 @@
1
- import "./ts-mC5Sxj8J.js";
2
- import "./logger-B9h0djqx.js";
3
- import "./versionChecker-B0h02RsF.js";
4
- import "./pidStore-CGKIhaJO.js";
5
- import "./globalPidIndex-C7r2m6s7.js";
6
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CdY3HoJ6.js";
7
-
8
- export { SUPPORTED_CLIS };