agent-yes 1.145.0 → 1.147.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/default.config.yaml +27 -0
- package/dist/SUPPORTED_CLIS-C2-Rtps9.js +8 -0
- package/dist/{SUPPORTED_CLIS-D_aVmqPt.js → SUPPORTED_CLIS-De6GfyvC.js} +2 -2
- package/dist/cli.js +3 -3
- package/dist/index.js +2 -2
- package/dist/{schedule-BDi11K0Y.js → schedule-IkT_l53l.js} +4 -4
- package/dist/{serve-CogqhRFd.js → serve-C9b11SH4.js} +5 -5
- package/dist/{setup-H2coxV-T.js → setup-BYI6LcDs.js} +2 -2
- package/dist/{subcommands-Dm1UwXKC.js → subcommands-BxTqrr8N.js} +1 -1
- package/dist/{subcommands-BcvCjFLt.js → subcommands-DMHGfz29.js} +4 -4
- package/dist/{ts-Cg31cRC5.js → ts-D5fK5hBB.js} +2 -2
- package/dist/{versionChecker-DK7tFI0U.js → versionChecker-Bu0z-j-H.js} +2 -2
- package/lab/ui/index.html +19 -0
- package/package.json +1 -1
- package/dist/SUPPORTED_CLIS-DDFMfNQu.js +0 -8
package/default.config.yaml
CHANGED
|
@@ -44,6 +44,15 @@ clis:
|
|
|
44
44
|
flags: m
|
|
45
45
|
- pattern: '^.{0,4} ?1\. ?Yes'
|
|
46
46
|
flags: m
|
|
47
|
+
# Large-session resume menu on `claude --continue` ("Resume from summary
|
|
48
|
+
# (recommended) / Resume full session / Don't ask again"). The default ❯
|
|
49
|
+
# sits on option 1 (summary); auto-accept it so an unattended restart —
|
|
50
|
+
# including the no-output watchdog's kill+--continue recovery — doesn't
|
|
51
|
+
# re-wedge waiting on this prompt.
|
|
52
|
+
- pattern: '❯ ?1\. ?Resume'
|
|
53
|
+
flags: m
|
|
54
|
+
- pattern: '^.{0,4} ?1\. ?Resume'
|
|
55
|
+
flags: m
|
|
47
56
|
- pattern: Press Enter to continue
|
|
48
57
|
flags: m
|
|
49
58
|
fatal:
|
|
@@ -130,6 +139,15 @@ clis:
|
|
|
130
139
|
flags: m
|
|
131
140
|
- pattern: '^.{0,4} ?1\. ?Yes'
|
|
132
141
|
flags: m
|
|
142
|
+
# Large-session resume menu on `claude --continue` ("Resume from summary
|
|
143
|
+
# (recommended) / Resume full session / Don't ask again"). The default ❯
|
|
144
|
+
# sits on option 1 (summary); auto-accept it so an unattended restart —
|
|
145
|
+
# including the no-output watchdog's kill+--continue recovery — doesn't
|
|
146
|
+
# re-wedge waiting on this prompt.
|
|
147
|
+
- pattern: '❯ ?1\. ?Resume'
|
|
148
|
+
flags: m
|
|
149
|
+
- pattern: '^.{0,4} ?1\. ?Resume'
|
|
150
|
+
flags: m
|
|
133
151
|
- pattern: Press Enter to continue
|
|
134
152
|
flags: m
|
|
135
153
|
fatal:
|
|
@@ -214,6 +232,15 @@ clis:
|
|
|
214
232
|
flags: m
|
|
215
233
|
- pattern: '^.{0,4} ?1\. ?Yes'
|
|
216
234
|
flags: m
|
|
235
|
+
# Large-session resume menu on `claude --continue` ("Resume from summary
|
|
236
|
+
# (recommended) / Resume full session / Don't ask again"). The default ❯
|
|
237
|
+
# sits on option 1 (summary); auto-accept it so an unattended restart —
|
|
238
|
+
# including the no-output watchdog's kill+--continue recovery — doesn't
|
|
239
|
+
# re-wedge waiting on this prompt.
|
|
240
|
+
- pattern: '❯ ?1\. ?Resume'
|
|
241
|
+
flags: m
|
|
242
|
+
- pattern: '^.{0,4} ?1\. ?Resume'
|
|
243
|
+
flags: m
|
|
217
244
|
- pattern: Press Enter to continue
|
|
218
245
|
flags: m
|
|
219
246
|
fatal:
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "./ts-D5fK5hBB.js";
|
|
2
|
+
import "./logger-CDIsZ-Pp.js";
|
|
3
|
+
import "./versionChecker-Bu0z-j-H.js";
|
|
4
|
+
import "./pidStore-fqXqTKkh.js";
|
|
5
|
+
import "./globalPidIndex-DlmmJlO8.js";
|
|
6
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-De6GfyvC.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-D5fK5hBB.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-De6GfyvC.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-uqM2YYA7.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-Bu0z-j-H.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-BxTqrr8N.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-C2-Rtps9.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-D5fK5hBB.js";
|
|
2
2
|
import "./logger-CDIsZ-Pp.js";
|
|
3
|
-
import "./versionChecker-
|
|
3
|
+
import "./versionChecker-Bu0z-j-H.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-D5fK5hBB.js";
|
|
2
2
|
import "./logger-CDIsZ-Pp.js";
|
|
3
|
-
import "./versionChecker-
|
|
3
|
+
import "./versionChecker-Bu0z-j-H.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-De6GfyvC.js";
|
|
7
7
|
import { n as resolveSpawnCwd } from "./workspaceConfig-B3ylOZAO.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-IkT_l53l.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "./ts-
|
|
1
|
+
import "./ts-D5fK5hBB.js";
|
|
2
2
|
import "./logger-CDIsZ-Pp.js";
|
|
3
|
-
import { r as getInstalledPackage } from "./versionChecker-
|
|
3
|
+
import { r as getInstalledPackage } from "./versionChecker-Bu0z-j-H.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-De6GfyvC.js";
|
|
9
9
|
import "./e2e-ClOI_aqV.js";
|
|
10
10
|
import "./webrtcLink-BWhuA74k.js";
|
|
11
11
|
import "./remotes-qK6uozO4.js";
|
|
12
|
-
import { S as snapshotStatus, _ as renderRawLog, c as extractTaskCounts, g as readNotes, i as controlCodeFromName, m as listRecords, o as deriveLiveStatus, w as writeToIpc, y as resolveOne } from "./subcommands-
|
|
12
|
+
import { S as snapshotStatus, _ as renderRawLog, c as extractTaskCounts, g as readNotes, i as controlCodeFromName, m as listRecords, o as deriveLiveStatus, w as writeToIpc, y as resolveOne } from "./subcommands-DMHGfz29.js";
|
|
13
13
|
import yargs from "yargs";
|
|
14
14
|
import { mkdir, open, readFile, stat, writeFile } from "fs/promises";
|
|
15
15
|
import { homedir, hostname, userInfo } from "os";
|
|
@@ -1179,4 +1179,4 @@ Options:
|
|
|
1179
1179
|
|
|
1180
1180
|
//#endregion
|
|
1181
1181
|
export { cmdServe };
|
|
1182
|
-
//# sourceMappingURL=serve-
|
|
1182
|
+
//# sourceMappingURL=serve-C9b11SH4.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-C9b11SH4.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-BYI6LcDs.js.map
|
|
@@ -4,6 +4,6 @@ import "./configShared-C1C04bbq.js";
|
|
|
4
4
|
import "./e2e-ClOI_aqV.js";
|
|
5
5
|
import "./webrtcLink-BWhuA74k.js";
|
|
6
6
|
import "./remotes-qK6uozO4.js";
|
|
7
|
-
import { C as stopTipForCli, S as snapshotStatus, _ as renderRawLog, a as cursorAbs, b as resolveReadWindow, c as extractTaskCounts, d as isExitRequest, f as isPidAlive, g as readNotes, h as matchKeyword, i as controlCodeFromName, l as finalizedLines, m as listRecords, n as READ_PAGE_DEFAULT, o as deriveLiveStatus, p as isSubcommand, r as cmdHelp, s as extractNeedsInput, t as GRACEFUL_EXIT_COMMANDS, u as isAgentStuck, v as renderRawLogLines, w as writeToIpc, x as runSubcommand, y as resolveOne } from "./subcommands-
|
|
7
|
+
import { C as stopTipForCli, S as snapshotStatus, _ as renderRawLog, a as cursorAbs, b as resolveReadWindow, c as extractTaskCounts, d as isExitRequest, f as isPidAlive, g as readNotes, h as matchKeyword, i as controlCodeFromName, l as finalizedLines, m as listRecords, n as READ_PAGE_DEFAULT, o as deriveLiveStatus, p as isSubcommand, r as cmdHelp, s as extractNeedsInput, t as GRACEFUL_EXIT_COMMANDS, u as isAgentStuck, v as renderRawLogLines, w as writeToIpc, x as runSubcommand, y as resolveOne } from "./subcommands-DMHGfz29.js";
|
|
8
8
|
|
|
9
9
|
export { cmdHelp, isSubcommand, runSubcommand };
|
|
@@ -554,15 +554,15 @@ async function runSubcommand(argv) {
|
|
|
554
554
|
case "restart": return await cmdRestart(rest);
|
|
555
555
|
case "note": return await cmdNote(rest);
|
|
556
556
|
case "serve": {
|
|
557
|
-
const { cmdServe } = await import("./serve-
|
|
557
|
+
const { cmdServe } = await import("./serve-C9b11SH4.js");
|
|
558
558
|
return cmdServe(rest);
|
|
559
559
|
}
|
|
560
560
|
case "setup": {
|
|
561
|
-
const { cmdSetup } = await import("./setup-
|
|
561
|
+
const { cmdSetup } = await import("./setup-BYI6LcDs.js");
|
|
562
562
|
return cmdSetup(rest);
|
|
563
563
|
}
|
|
564
564
|
case "schedule": {
|
|
565
|
-
const { cmdSchedule } = await import("./schedule-
|
|
565
|
+
const { cmdSchedule } = await import("./schedule-IkT_l53l.js");
|
|
566
566
|
return cmdSchedule(rest);
|
|
567
567
|
}
|
|
568
568
|
case "remote": {
|
|
@@ -2593,4 +2593,4 @@ async function cmdResultSet(rest) {
|
|
|
2593
2593
|
|
|
2594
2594
|
//#endregion
|
|
2595
2595
|
export { stopTipForCli as C, snapshotStatus as S, renderRawLog as _, cursorAbs as a, resolveReadWindow as b, extractTaskCounts as c, isExitRequest as d, isPidAlive as f, readNotes as g, matchKeyword as h, controlCodeFromName as i, finalizedLines as l, listRecords as m, READ_PAGE_DEFAULT as n, deriveLiveStatus as o, isSubcommand as p, cmdHelp as r, extractNeedsInput as s, GRACEFUL_EXIT_COMMANDS as t, isAgentStuck as u, renderRawLogLines as v, writeToIpc as w, runSubcommand as x, resolveOne as y };
|
|
2596
|
-
//# sourceMappingURL=subcommands-
|
|
2596
|
+
//# sourceMappingURL=subcommands-DMHGfz29.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-Bu0z-j-H.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";
|
|
@@ -1800,4 +1800,4 @@ function sleep(ms) {
|
|
|
1800
1800
|
|
|
1801
1801
|
//#endregion
|
|
1802
1802
|
export { removeControlCharacters as a, AgentContext as i, agentYes as n, config as r, CLIS_CONFIG as t };
|
|
1803
|
-
//# sourceMappingURL=ts-
|
|
1803
|
+
//# sourceMappingURL=ts-D5fK5hBB.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.
|
|
10
|
+
var version = "1.147.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-Bu0z-j-H.js.map
|
package/lab/ui/index.html
CHANGED
|
@@ -3405,6 +3405,25 @@
|
|
|
3405
3405
|
/* addon CDN blocked — terminal still works, just without auto-links */
|
|
3406
3406
|
}
|
|
3407
3407
|
term.open(logEl);
|
|
3408
|
+
// Right-click to copy the current selection (terminal convention): when
|
|
3409
|
+
// text is selected, a context-menu click copies it to the clipboard and
|
|
3410
|
+
// suppresses the browser menu, then clears the selection so the highlight
|
|
3411
|
+
// doesn't linger. With nothing selected we leave the default menu alone
|
|
3412
|
+
// (and a mouse-tracking TUI still gets its own right-click via xterm).
|
|
3413
|
+
// The Clipboard API is undefined over plain HTTP and can reject on a
|
|
3414
|
+
// permission denial — only suppress the menu when we can actually copy,
|
|
3415
|
+
// clear the selection once the write resolves, and swallow a failure
|
|
3416
|
+
// quietly (the highlight stays so the user can retry).
|
|
3417
|
+
term.element?.addEventListener("contextmenu", (ev) => {
|
|
3418
|
+
if (!term || !term.hasSelection()) return;
|
|
3419
|
+
const text = term.getSelection();
|
|
3420
|
+
if (!text || !navigator.clipboard) return;
|
|
3421
|
+
ev.preventDefault();
|
|
3422
|
+
navigator.clipboard.writeText(text).then(
|
|
3423
|
+
() => term.clearSelection(),
|
|
3424
|
+
() => {},
|
|
3425
|
+
);
|
|
3426
|
+
});
|
|
3408
3427
|
// On a phone, auto-focusing yanks up the soft keyboard the moment you open
|
|
3409
3428
|
// an agent — even when you only meant to read the tail. Skip it there; a tap
|
|
3410
3429
|
// on the terminal still focuses to type. Desktop keeps instant keyboard input.
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import "./ts-Cg31cRC5.js";
|
|
2
|
-
import "./logger-CDIsZ-Pp.js";
|
|
3
|
-
import "./versionChecker-DK7tFI0U.js";
|
|
4
|
-
import "./pidStore-fqXqTKkh.js";
|
|
5
|
-
import "./globalPidIndex-DlmmJlO8.js";
|
|
6
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-D_aVmqPt.js";
|
|
7
|
-
|
|
8
|
-
export { SUPPORTED_CLIS };
|