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.
- package/dist/SUPPORTED_CLIS-Cn9RnEYl.js +8 -0
- package/dist/{SUPPORTED_CLIS-D3iEYFql.js → SUPPORTED_CLIS-CzWRCJq4.js} +2 -2
- package/dist/cli.js +3 -3
- package/dist/index.js +2 -2
- package/dist/{schedule-Cz9peq9i.js → schedule-C7setjMl.js} +4 -4
- package/dist/{serve-DJrBiSD9.js → serve-JcgTumI2.js} +5 -5
- package/dist/{setup-B138hyq0.js → setup-tYJ9lg-5.js} +2 -2
- package/dist/{subcommands-DbNS4vIg.js → subcommands-BY_nv7Lo.js} +1 -1
- package/dist/{subcommands-viZJtGlf.js → subcommands-bL8zKMni.js} +4 -4
- package/dist/{ts-CSn43pN8.js → ts-P6CNRvSi.js} +2 -2
- package/dist/{versionChecker-C6bI89jZ.js → versionChecker-zHSmo4jt.js} +2 -2
- package/lab/ui/console-logic.js +11 -4
- package/lab/ui/index.html +11 -4
- package/package.json +1 -1
- package/dist/SUPPORTED_CLIS-BlYVTStU.js +0 -8
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
1
|
+
import "./ts-P6CNRvSi.js";
|
|
2
2
|
import "./logger-CDIsZ-Pp.js";
|
|
3
|
-
import "./versionChecker-
|
|
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-
|
|
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-
|
|
144
|
+
//# sourceMappingURL=schedule-C7setjMl.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./ts-
|
|
1
|
+
import "./ts-P6CNRvSi.js";
|
|
2
2
|
import "./logger-CDIsZ-Pp.js";
|
|
3
|
-
import { r as getInstalledPackage } from "./versionChecker-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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.
|
|
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-
|
|
218
|
+
//# sourceMappingURL=versionChecker-zHSmo4jt.js.map
|
package/lab/ui/console-logic.js
CHANGED
|
@@ -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
|
|
466
|
-
// title when nothing is selected (blank/whitespace name).
|
|
467
|
-
|
|
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
|
-
|
|
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
|
-
|
|
3187
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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,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 };
|