claude-yes 1.138.0 → 1.139.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,8 @@
1
+ import "./ts-P6CNRvSi.js";
2
+ import "./logger-CDIsZ-Pp.js";
3
+ import "./versionChecker-zHSmo4jt.js";
4
+ import "./pidStore-fqXqTKkh.js";
5
+ import "./globalPidIndex-DlmmJlO8.js";
6
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CzWRCJq4.js";
7
+
8
+ export { SUPPORTED_CLIS };
@@ -1,8 +1,8 @@
1
- import { t as CLIS_CONFIG } from "./ts-CSn43pN8.js";
1
+ import { t as CLIS_CONFIG } from "./ts-P6CNRvSi.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-D3iEYFql.js.map
8
+ //# sourceMappingURL=SUPPORTED_CLIS-CzWRCJq4.js.map
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-C6bI89jZ.js";
4
+ import { i as versionString, n as displayVersion, r as getInstalledPackage, t as checkAndAutoUpdate } from "./versionChecker-zHSmo4jt.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-DbNS4vIg.js");
483
+ const { isSubcommand, runSubcommand, cmdHelp } = await import("./subcommands-BY_nv7Lo.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-BlYVTStU.js");
516
+ const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-Cn9RnEYl.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-CSn43pN8.js";
1
+ import { a as removeControlCharacters, i as AgentContext, n as agentYes, r as config, t as CLIS_CONFIG } from "./ts-P6CNRvSi.js";
2
2
  import "./logger-CDIsZ-Pp.js";
3
- import "./versionChecker-C6bI89jZ.js";
3
+ import "./versionChecker-zHSmo4jt.js";
4
4
  import "./pidStore-fqXqTKkh.js";
5
5
  import "./globalPidIndex-DlmmJlO8.js";
6
6
 
@@ -1,9 +1,9 @@
1
- import "./ts-CSn43pN8.js";
1
+ import "./ts-P6CNRvSi.js";
2
2
  import "./logger-CDIsZ-Pp.js";
3
- import "./versionChecker-C6bI89jZ.js";
3
+ import "./versionChecker-zHSmo4jt.js";
4
4
  import "./pidStore-fqXqTKkh.js";
5
5
  import "./globalPidIndex-DlmmJlO8.js";
6
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-D3iEYFql.js";
6
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CzWRCJq4.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-Cz9peq9i.js.map
144
+ //# sourceMappingURL=schedule-C7setjMl.js.map
@@ -1,13 +1,13 @@
1
- import "./ts-CSn43pN8.js";
1
+ import "./ts-P6CNRvSi.js";
2
2
  import "./logger-CDIsZ-Pp.js";
3
- import { r as getInstalledPackage } from "./versionChecker-C6bI89jZ.js";
3
+ import { r as getInstalledPackage } from "./versionChecker-zHSmo4jt.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-D3iEYFql.js";
8
+ import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CzWRCJq4.js";
9
9
  import "./remotes-PKKjfTI1.js";
10
- import { d as listRecords, g as resolveOne, i as controlCodeFromName, m as renderRawLog, p as readNotes, s as extractTaskCounts, x as writeToIpc, y as snapshotStatus } from "./subcommands-viZJtGlf.js";
10
+ import { d as listRecords, g as resolveOne, i as controlCodeFromName, m as renderRawLog, p as readNotes, s as extractTaskCounts, x as writeToIpc, y as snapshotStatus } from "./subcommands-bL8zKMni.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";
@@ -1171,4 +1171,4 @@ Options:
1171
1171
 
1172
1172
  //#endregion
1173
1173
  export { cmdServe };
1174
- //# sourceMappingURL=serve-DJrBiSD9.js.map
1174
+ //# sourceMappingURL=serve-JcgTumI2.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-DJrBiSD9.js");
35
+ const { cmdServe } = await import("./serve-JcgTumI2.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-B138hyq0.js.map
45
+ //# sourceMappingURL=setup-tYJ9lg-5.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 { _ as resolveReadWindow, a as cursorAbs, b as stopTipForCli, c as finalizedLines, d as listRecords, f as matchKeyword, g as resolveOne, h as renderRawLogLines, i as controlCodeFromName, l as isPidAlive, m as renderRawLog, n as READ_PAGE_DEFAULT, o as extractNeedsInput, p as readNotes, r as cmdHelp, s as extractTaskCounts, t as GRACEFUL_EXIT_COMMANDS, u as isSubcommand, v as runSubcommand, x as writeToIpc, y as snapshotStatus } from "./subcommands-viZJtGlf.js";
5
+ import { _ as resolveReadWindow, a as cursorAbs, b as stopTipForCli, c as finalizedLines, d as listRecords, f as matchKeyword, g as resolveOne, h as renderRawLogLines, i as controlCodeFromName, l as isPidAlive, m as renderRawLog, n as READ_PAGE_DEFAULT, o as extractNeedsInput, p as readNotes, r as cmdHelp, s as extractTaskCounts, t as GRACEFUL_EXIT_COMMANDS, u as isSubcommand, v as runSubcommand, x as writeToIpc, y as snapshotStatus } from "./subcommands-bL8zKMni.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-DJrBiSD9.js");
536
+ const { cmdServe } = await import("./serve-JcgTumI2.js");
537
537
  return cmdServe(rest);
538
538
  }
539
539
  case "setup": {
540
- const { cmdSetup } = await import("./setup-B138hyq0.js");
540
+ const { cmdSetup } = await import("./setup-tYJ9lg-5.js");
541
541
  return cmdSetup(rest);
542
542
  }
543
543
  case "schedule": {
544
- const { cmdSchedule } = await import("./schedule-Cz9peq9i.js");
544
+ const { cmdSchedule } = await import("./schedule-C7setjMl.js");
545
545
  return cmdSchedule(rest);
546
546
  }
547
547
  case "remote": {
@@ -2428,4 +2428,4 @@ async function cmdResultSet(rest) {
2428
2428
 
2429
2429
  //#endregion
2430
2430
  export { resolveReadWindow as _, cursorAbs as a, stopTipForCli as b, finalizedLines as c, listRecords as d, matchKeyword as f, resolveOne as g, renderRawLogLines as h, controlCodeFromName as i, isPidAlive as l, renderRawLog as m, READ_PAGE_DEFAULT as n, extractNeedsInput as o, readNotes as p, cmdHelp as r, extractTaskCounts as s, GRACEFUL_EXIT_COMMANDS as t, isSubcommand as u, runSubcommand as v, writeToIpc as x, snapshotStatus as y };
2431
- //# sourceMappingURL=subcommands-viZJtGlf.js.map
2431
+ //# sourceMappingURL=subcommands-bL8zKMni.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-C6bI89jZ.js";
2
+ import { r as getInstalledPackage } from "./versionChecker-zHSmo4jt.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-CSn43pN8.js.map
1791
+ //# sourceMappingURL=ts-P6CNRvSi.js.map
@@ -7,7 +7,7 @@ import { fileURLToPath } from "url";
7
7
 
8
8
  //#region package.json
9
9
  var name = "claude-yes";
10
- var version = "1.138.0";
10
+ var version = "1.139.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-C6bI89jZ.js.map
218
+ //# sourceMappingURL=versionChecker-zHSmo4jt.js.map
@@ -462,9 +462,16 @@ export function fitTransform(gridW, gridH, paneW, paneH) {
462
462
  return s > 0.985 && s < 1.04 ? "none" : "scale(" + s.toFixed(4) + ")";
463
463
  }
464
464
 
465
- // Browser-tab title: "<selected agent title> - agent-yes", or the bare console
466
- // title when nothing is selected (blank/whitespace name).
467
- export function docTitle(name) {
465
+ // Browser-tab title: "<glyph> <selected agent title> - agent-yes", or the bare
466
+ // console title when nothing is selected (blank/whitespace name). The leading
467
+ // glyph mirrors the agent's status dot — ● active, ○ idle, ✗ exited — so the tab
468
+ // shows liveness at a glance; an unknown status adds no glyph.
469
+ export function statusGlyph(status) {
470
+ return status === "active" ? "●" : status === "idle" ? "○" : status === "exited" ? "✗" : "";
471
+ }
472
+ export function docTitle(name, status) {
468
473
  const n = name && String(name).trim();
469
- return n ? n + " - agent-yes" : "agent-yes · console";
474
+ if (!n) return "agent-yes · console";
475
+ const g = statusGlyph(status);
476
+ return (g ? g + " " : "") + n + " - agent-yes";
470
477
  }
package/lab/ui/index.html CHANGED
@@ -3161,6 +3161,7 @@
3161
3161
  }
3162
3162
  renderRoomsIfOpen();
3163
3163
  renderList();
3164
+ refreshDocTitle(); // poll may have changed the selected agent's status
3164
3165
  if (autoPid && entries.some((x) => matchSel(x, autoPid))) {
3165
3166
  const tok = autoPid;
3166
3167
  autoPid = null;
@@ -3183,8 +3184,14 @@
3183
3184
  // $("rname") — set on select() and again on the agent's OSC title sequence —
3184
3185
  // so the tab tracks renames in realtime. Reverts to the default when nothing
3185
3186
  // is selected.
3186
- function setDocTitle(name) {
3187
- document.title = docTitle(name); // pure formatter in console-logic.js (tested)
3187
+ // Tab title = status glyph + the live header name + " - agent-yes". Reads the
3188
+ // currently-displayed name ($("rname"), kept fresh by select + onTitleChange)
3189
+ // and the selected entry's status (refreshed by the poll via mergeRender), so
3190
+ // both renames AND active→idle→exited transitions show in realtime.
3191
+ function refreshDocTitle() {
3192
+ const e = sel ? entries.find((x) => x._key === sel) : null;
3193
+ const name = e ? $("rname").textContent : "";
3194
+ document.title = docTitle(name, e && e.status); // pure formatter (tested)
3188
3195
  }
3189
3196
 
3190
3197
  function select(keyOrPid) {
@@ -3229,7 +3236,7 @@
3229
3236
  $("rdot").className = "dot " + e.status;
3230
3237
  const rname = e.title || cliLabel(e) || ident(e) || "agent";
3231
3238
  $("rname").textContent = rname;
3232
- setDocTitle(rname); // tab title follows the selected agent
3239
+ refreshDocTitle(); // tab title follows the selected agent (name + status)
3233
3240
  $("rpid").textContent = "pid " + e.pid;
3234
3241
 
3235
3242
  // Render the agent's native TUI with xterm.js by feeding it the raw PTY
@@ -3278,7 +3285,7 @@
3278
3285
  const title = t && t.trim();
3279
3286
  if (sel !== e._key || !title) return;
3280
3287
  $("rname").textContent = title;
3281
- setDocTitle(title); // realtime rename → update the browser tab too
3288
+ refreshDocTitle(); // realtime rename → update the browser tab too
3282
3289
  // Keep the left panel in lockstep with the terminal header. The row
3283
3290
  // title otherwise only refreshes on the 3s /api/ls poll, so it visibly
3284
3291
  // lagged the live terminal. Patch the current entry (entries is
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-yes",
3
- "version": "1.138.0",
3
+ "version": "1.139.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-CSn43pN8.js";
2
- import "./logger-CDIsZ-Pp.js";
3
- import "./versionChecker-C6bI89jZ.js";
4
- import "./pidStore-fqXqTKkh.js";
5
- import "./globalPidIndex-DlmmJlO8.js";
6
- import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-D3iEYFql.js";
7
-
8
- export { SUPPORTED_CLIS };