agent-yes 1.235.0 → 1.235.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.
- package/dist/{SUPPORTED_CLIS-bR0WRF1u.js → SUPPORTED_CLIS-Cn6VL_pU.js} +2 -2
- package/dist/{SUPPORTED_CLIS-CRZm6egf.js → SUPPORTED_CLIS-DS815H76.js} +3 -3
- package/dist/{agentShare-CDlBR4Uy.js → agentShare-DPpEOa6M.js} +2 -2
- package/dist/{callback-C2di5TX_.js → callback-BBi7cQME.js} +3 -3
- package/dist/{callback-V6QcjSsd.js → callback-BHNjyXNU.js} +2 -2
- package/dist/cli.js +4 -4
- package/dist/index.js +2 -2
- package/dist/{notifyDaemon-DCyvULRq.js → notifyDaemon-Bk9j9x7S.js} +2 -2
- package/dist/{rustBinary-ANsUDZvY.js → rustBinary-DBdtA_Nk.js} +2 -2
- package/dist/{schedule-BRIQvf5G.js → schedule-Cszo4hwr.js} +4 -4
- package/dist/{serve-Daan3vKM.js → serve-BLWE9Qgt.js} +13 -13
- package/dist/{setup-CtFlmvyB.js → setup-9kmSPmaW.js} +2 -2
- package/dist/{subcommands-N42cTHzJ.js → subcommands-8qeO_aMF.js} +8 -8
- package/dist/{subcommands-EpBxFe-q.js → subcommands-CnkEQfyK.js} +1 -1
- package/dist/{ts-CXWE-170.js → ts-HOZtW52L.js} +2 -2
- package/dist/{versionChecker-KNi2Wu4a.js → versionChecker-t-qt-HYQ.js} +2 -2
- package/dist/{ws-Cdd5ZyS3.js → ws-BcRnKVFY.js} +2 -2
- package/lab/ui/index.html +14 -8
- package/lab/ui/sw.js +10 -3
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as CLIS_CONFIG } from "./ts-
|
|
1
|
+
import { t as CLIS_CONFIG } from "./ts-HOZtW52L.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-Cn6VL_pU.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./ts-
|
|
1
|
+
import "./ts-HOZtW52L.js";
|
|
2
2
|
import "./logger-CDIsZ-Pp.js";
|
|
3
|
-
import "./versionChecker-
|
|
3
|
+
import "./versionChecker-t-qt-HYQ.js";
|
|
4
4
|
import "./todoAutomation-x6guaQXc.js";
|
|
5
5
|
import "./JsonlStore-CWOA3aDH.js";
|
|
6
6
|
import "./globalPidIndex-Ca4sTr1b.js";
|
|
7
7
|
import "./pidStore-Hjba3K6Q.js";
|
|
8
8
|
import "./messageLog-zVGWLX7w.js";
|
|
9
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
9
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-Cn6VL_pU.js";
|
|
10
10
|
|
|
11
11
|
export { SUPPORTED_CLIS };
|
|
@@ -3,7 +3,7 @@ import "./globalPidIndex-Ca4sTr1b.js";
|
|
|
3
3
|
import "./messageLog-zVGWLX7w.js";
|
|
4
4
|
import "./e2e-CYlKpfxa.js";
|
|
5
5
|
import "./configShared-BXz2vi4Q.js";
|
|
6
|
-
import { N as resolveOne } from "./subcommands-
|
|
6
|
+
import { N as resolveOne } from "./subcommands-8qeO_aMF.js";
|
|
7
7
|
import "./webrtcLink-CEYNs0pt.js";
|
|
8
8
|
import "./remotes-BM3Zm8Wh.js";
|
|
9
9
|
import { a as startShare } from "./share-D4K0JnHg.js";
|
|
@@ -229,4 +229,4 @@ function transformEvent(rawEvent, agentId, forwarded) {
|
|
|
229
229
|
|
|
230
230
|
//#endregion
|
|
231
231
|
export { createScopedShare, listShares, revokeAllShares, revokeShare };
|
|
232
|
-
//# sourceMappingURL=agentShare-
|
|
232
|
+
//# sourceMappingURL=agentShare-DPpEOa6M.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as agentYesHome } from "./agentYesHome-CtHb5b71.js";
|
|
2
|
-
import { N as resolveOne } from "./subcommands-
|
|
2
|
+
import { N as resolveOne } from "./subcommands-8qeO_aMF.js";
|
|
3
3
|
import { a as mintCapability, o as parseExpires } from "./callbackCore-Me97qn68.js";
|
|
4
4
|
import { randomBytes } from "node:crypto";
|
|
5
5
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
@@ -72,7 +72,7 @@ async function resolveBase(flag) {
|
|
|
72
72
|
if (flag) return flag;
|
|
73
73
|
if (process.env.AGENT_YES_CALLBACK_BASE) return process.env.AGENT_YES_CALLBACK_BASE;
|
|
74
74
|
try {
|
|
75
|
-
const { resolveLocalServeUrl } = await import("./serve-
|
|
75
|
+
const { resolveLocalServeUrl } = await import("./serve-BLWE9Qgt.js");
|
|
76
76
|
const url = await resolveLocalServeUrl();
|
|
77
77
|
if (url) return url;
|
|
78
78
|
} catch {}
|
|
@@ -187,4 +187,4 @@ async function cmdCallback(rest) {
|
|
|
187
187
|
|
|
188
188
|
//#endregion
|
|
189
189
|
export { loadOrCreateCallbackSecret as i, isCallbackRevoked as n, loadCallbackSecretReadOnly as r, cmdCallback as t };
|
|
190
|
-
//# sourceMappingURL=callback-
|
|
190
|
+
//# sourceMappingURL=callback-BBi7cQME.js.map
|
|
@@ -3,10 +3,10 @@ import "./globalPidIndex-Ca4sTr1b.js";
|
|
|
3
3
|
import "./messageLog-zVGWLX7w.js";
|
|
4
4
|
import "./e2e-CYlKpfxa.js";
|
|
5
5
|
import "./configShared-BXz2vi4Q.js";
|
|
6
|
-
import "./subcommands-
|
|
6
|
+
import "./subcommands-8qeO_aMF.js";
|
|
7
7
|
import "./webrtcLink-CEYNs0pt.js";
|
|
8
8
|
import "./remotes-BM3Zm8Wh.js";
|
|
9
9
|
import "./callbackCore-Me97qn68.js";
|
|
10
|
-
import { i as loadOrCreateCallbackSecret, n as isCallbackRevoked, r as loadCallbackSecretReadOnly, t as cmdCallback } from "./callback-
|
|
10
|
+
import { i as loadOrCreateCallbackSecret, n as isCallbackRevoked, r as loadCallbackSecretReadOnly, t as cmdCallback } from "./callback-BBi7cQME.js";
|
|
11
11
|
|
|
12
12
|
export { cmdCallback };
|
package/dist/cli.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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, t as checkAndAutoUpdate } from "./versionChecker-
|
|
5
|
-
import { n as getRustBinary } from "./rustBinary-
|
|
4
|
+
import { i as versionString, n as displayVersion, t as checkAndAutoUpdate } from "./versionChecker-t-qt-HYQ.js";
|
|
5
|
+
import { n as getRustBinary } from "./rustBinary-DBdtA_Nk.js";
|
|
6
6
|
import { argv } from "process";
|
|
7
7
|
import { spawn } from "child_process";
|
|
8
8
|
import ms from "ms";
|
|
@@ -285,7 +285,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
|
|
|
285
285
|
const rawArg = process.argv[2];
|
|
286
286
|
const managerCommands = !invokedCliName(process.argv);
|
|
287
287
|
const isHelpFlag = rawArg === "-h" || rawArg === "--help";
|
|
288
|
-
const { isSubcommand, runSubcommand, cmdHelp } = await import("./subcommands-
|
|
288
|
+
const { isSubcommand, runSubcommand, cmdHelp } = await import("./subcommands-CnkEQfyK.js");
|
|
289
289
|
if (isHelpFlag && process.argv.length === 3) {
|
|
290
290
|
await cmdHelp(managerCommands);
|
|
291
291
|
process.exit(0);
|
|
@@ -331,7 +331,7 @@ if (config.useRust) {
|
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
333
|
if (rustBinary) {
|
|
334
|
-
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-
|
|
334
|
+
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-DS815H76.js");
|
|
335
335
|
const rustArgs = buildRustArgs(process.argv, config.cli, SUPPORTED_CLIS);
|
|
336
336
|
if (config.verbose) {
|
|
337
337
|
console.log(`[rust] Using binary: ${rustBinary}`);
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as hasTodoStore, c as AgentContext, i as answerAsk, n as agentYes, o as listAsks, r as config, s as listAsksForProject, t as CLIS_CONFIG } from "./ts-
|
|
1
|
+
import { a as hasTodoStore, c as AgentContext, i as answerAsk, n as agentYes, o as listAsks, r as config, s as listAsksForProject, t as CLIS_CONFIG } from "./ts-HOZtW52L.js";
|
|
2
2
|
import "./logger-CDIsZ-Pp.js";
|
|
3
|
-
import "./versionChecker-
|
|
3
|
+
import "./versionChecker-t-qt-HYQ.js";
|
|
4
4
|
import { _ as isKnownKind, a as renderTree, b as statesOf, c as monitorHint, d as openStore, f as DONE_STATE, g as initialState, h as canTransition, i as renderDigest, l as CycleError, m as ORPHANED_STATE, o as unblockedTasks, p as LIFECYCLES, r as openBlockers, s as describeBlock, t as reconcileTodos, u as TodoStore, v as nextStates, x as removeControlCharacters, y as requiredGate } from "./todoAutomation-x6guaQXc.js";
|
|
5
5
|
import "./JsonlStore-CWOA3aDH.js";
|
|
6
6
|
import "./globalPidIndex-Ca4sTr1b.js";
|
|
@@ -3,7 +3,7 @@ import "./globalPidIndex-Ca4sTr1b.js";
|
|
|
3
3
|
import "./messageLog-zVGWLX7w.js";
|
|
4
4
|
import "./e2e-CYlKpfxa.js";
|
|
5
5
|
import "./configShared-BXz2vi4Q.js";
|
|
6
|
-
import { $ as daemonLockDir, A as renderLogTailLines, G as appendEvent, K as gcInboxes, Q as shouldStealLock, S as listRecords, X as liveWatchers, Y as listInboxParents, Z as readInbox, _ as isPidAlive, c as deriveLiveState, et as daemonLockOwnerPath, q as hostId, tt as notifyDir } from "./subcommands-
|
|
6
|
+
import { $ as daemonLockDir, A as renderLogTailLines, G as appendEvent, K as gcInboxes, Q as shouldStealLock, S as listRecords, X as liveWatchers, Y as listInboxParents, Z as readInbox, _ as isPidAlive, c as deriveLiveState, et as daemonLockOwnerPath, q as hostId, tt as notifyDir } from "./subcommands-8qeO_aMF.js";
|
|
7
7
|
import "./webrtcLink-CEYNs0pt.js";
|
|
8
8
|
import "./remotes-BM3Zm8Wh.js";
|
|
9
9
|
import { mkdir, readFile, rename, rm, stat, writeFile } from "fs/promises";
|
|
@@ -589,4 +589,4 @@ async function ensureDaemon() {
|
|
|
589
589
|
|
|
590
590
|
//#endregion
|
|
591
591
|
export { daemonStatus, ensureDaemon, requestDaemonStop, runDaemon };
|
|
592
|
-
//# sourceMappingURL=notifyDaemon-
|
|
592
|
+
//# sourceMappingURL=notifyDaemon-Bk9j9x7S.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as getInstalledPackage } from "./versionChecker-
|
|
1
|
+
import { r as getInstalledPackage } from "./versionChecker-t-qt-HYQ.js";
|
|
2
2
|
import { execFileSync } from "child_process";
|
|
3
3
|
import { existsSync, mkdirSync, unlinkSync } from "fs";
|
|
4
4
|
import { chmod, copyFile } from "fs/promises";
|
|
@@ -225,4 +225,4 @@ async function getRustBinary(options = {}) {
|
|
|
225
225
|
|
|
226
226
|
//#endregion
|
|
227
227
|
export { getRustBinary as n, findSpawnHiddenLauncher as t };
|
|
228
|
-
//# sourceMappingURL=rustBinary-
|
|
228
|
+
//# sourceMappingURL=rustBinary-DBdtA_Nk.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./ts-
|
|
1
|
+
import "./ts-HOZtW52L.js";
|
|
2
2
|
import "./logger-CDIsZ-Pp.js";
|
|
3
|
-
import "./versionChecker-
|
|
3
|
+
import "./versionChecker-t-qt-HYQ.js";
|
|
4
4
|
import "./todoAutomation-x6guaQXc.js";
|
|
5
5
|
import "./JsonlStore-CWOA3aDH.js";
|
|
6
6
|
import "./globalPidIndex-Ca4sTr1b.js";
|
|
7
7
|
import "./pidStore-Hjba3K6Q.js";
|
|
8
8
|
import "./messageLog-zVGWLX7w.js";
|
|
9
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
9
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-Cn6VL_pU.js";
|
|
10
10
|
import { d as resolveSpawnCwd } from "./workspaceConfig-DWLYPDdx.js";
|
|
11
11
|
import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-BF_kAOwO.js";
|
|
12
12
|
import { createHash } from "node:crypto";
|
|
@@ -153,4 +153,4 @@ async function cmdSchedule(rest) {
|
|
|
153
153
|
|
|
154
154
|
//#endregion
|
|
155
155
|
export { cmdSchedule };
|
|
156
|
-
//# sourceMappingURL=schedule-
|
|
156
|
+
//# sourceMappingURL=schedule-Cszo4hwr.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as answerAsk, l as CLAUDE_SESSION_PIN_ENV, o as listAsks } from "./ts-
|
|
1
|
+
import { i as answerAsk, l as CLAUDE_SESSION_PIN_ENV, o as listAsks } from "./ts-HOZtW52L.js";
|
|
2
2
|
import "./logger-CDIsZ-Pp.js";
|
|
3
|
-
import { r as getInstalledPackage } from "./versionChecker-
|
|
4
|
-
import { t as findSpawnHiddenLauncher } from "./rustBinary-
|
|
3
|
+
import { r as getInstalledPackage } from "./versionChecker-t-qt-HYQ.js";
|
|
4
|
+
import { t as findSpawnHiddenLauncher } from "./rustBinary-DBdtA_Nk.js";
|
|
5
5
|
import { t as agentYesHome$1 } from "./agentYesHome-CtHb5b71.js";
|
|
6
6
|
import { x as removeControlCharacters } from "./todoAutomation-x6guaQXc.js";
|
|
7
7
|
import "./JsonlStore-CWOA3aDH.js";
|
|
@@ -11,12 +11,12 @@ import { r as recordInbox } from "./messageLog-zVGWLX7w.js";
|
|
|
11
11
|
import { t as pgidForWrapper } from "./reaper-iQXyufgp.js";
|
|
12
12
|
import "./e2e-CYlKpfxa.js";
|
|
13
13
|
import "./configShared-BXz2vi4Q.js";
|
|
14
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
15
|
-
import { A as renderLogTailLines, D as readPtysize, E as readNotes, J as isTransientLockMkdirError, M as renderRawLogLines, N as resolveOne, O as recentMessageEdges, R as snapshotStatus, S as listRecords, W as writeToIpc, b as isUserTyping, f as extractNeedsInput, j as renderRawLog, k as recentReadEdges, l as deriveLiveStatus, nt as TYPING_BADGE, o as controlCodeFromName, p as extractTaskCounts, u as extractBadges } from "./subcommands-
|
|
14
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-Cn6VL_pU.js";
|
|
15
|
+
import { A as renderLogTailLines, D as readPtysize, E as readNotes, J as isTransientLockMkdirError, M as renderRawLogLines, N as resolveOne, O as recentMessageEdges, R as snapshotStatus, S as listRecords, W as writeToIpc, b as isUserTyping, f as extractNeedsInput, j as renderRawLog, k as recentReadEdges, l as deriveLiveStatus, nt as TYPING_BADGE, o as controlCodeFromName, p as extractTaskCounts, u as extractBadges } from "./subcommands-8qeO_aMF.js";
|
|
16
16
|
import "./webrtcLink-CEYNs0pt.js";
|
|
17
17
|
import "./remotes-BM3Zm8Wh.js";
|
|
18
18
|
import { i as frameVisitorMessage, s as verifyCapability, t as MAX_CALLBACK_MSG_BYTES } from "./callbackCore-Me97qn68.js";
|
|
19
|
-
import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-
|
|
19
|
+
import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-BBi7cQME.js";
|
|
20
20
|
import { a as getSpawnHook, c as hasProvisionHook, d as resolveSpawnCwd, i as getProvisionRoot, l as hasSpawnHook, r as getProvisionHook, u as isProvisionAllowed } from "./workspaceConfig-DWLYPDdx.js";
|
|
21
21
|
import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-BF_kAOwO.js";
|
|
22
22
|
import { r as spawnRejectionReason } from "./spawnGate-CRMR19Ql.js";
|
|
@@ -2038,7 +2038,7 @@ Options:
|
|
|
2038
2038
|
}
|
|
2039
2039
|
});
|
|
2040
2040
|
if (req.method === "GET" && p === "/api/ws") {
|
|
2041
|
-
const ws = await import("./ws-
|
|
2041
|
+
const ws = await import("./ws-BcRnKVFY.js");
|
|
2042
2042
|
try {
|
|
2043
2043
|
await ws.loadProvision();
|
|
2044
2044
|
} catch (e) {
|
|
@@ -2058,7 +2058,7 @@ Options:
|
|
|
2058
2058
|
if (req.method === "GET" && p === "/api/ws/status") {
|
|
2059
2059
|
const dirRaw = url.searchParams.get("path");
|
|
2060
2060
|
if (!dirRaw) return new Response("missing ?path=<workspace dir>", { status: 400 });
|
|
2061
|
-
const ws = await import("./ws-
|
|
2061
|
+
const ws = await import("./ws-BcRnKVFY.js");
|
|
2062
2062
|
let prov;
|
|
2063
2063
|
try {
|
|
2064
2064
|
prov = await ws.loadProvision();
|
|
@@ -2647,7 +2647,7 @@ Options:
|
|
|
2647
2647
|
const perm = body.perm ?? "r";
|
|
2648
2648
|
if (perm !== "r" && perm !== "rw") return new Response(`invalid perm ${perm} (want r or rw)`, { status: 400 });
|
|
2649
2649
|
try {
|
|
2650
|
-
const { createScopedShare } = await import("./agentShare-
|
|
2650
|
+
const { createScopedShare } = await import("./agentShare-DPpEOa6M.js");
|
|
2651
2651
|
const share = await createScopedShare({
|
|
2652
2652
|
agent: body.agent,
|
|
2653
2653
|
perm,
|
|
@@ -2662,12 +2662,12 @@ Options:
|
|
|
2662
2662
|
}
|
|
2663
2663
|
}
|
|
2664
2664
|
if (req.method === "GET" && p === "/api/shares") {
|
|
2665
|
-
const { listShares } = await import("./agentShare-
|
|
2665
|
+
const { listShares } = await import("./agentShare-DPpEOa6M.js");
|
|
2666
2666
|
return Response.json(listShares());
|
|
2667
2667
|
}
|
|
2668
2668
|
const revokeM = /^\/api\/share\/([^/]+)$/.exec(p);
|
|
2669
2669
|
if (req.method === "DELETE" && revokeM) {
|
|
2670
|
-
const { revokeShare } = await import("./agentShare-
|
|
2670
|
+
const { revokeShare } = await import("./agentShare-DPpEOa6M.js");
|
|
2671
2671
|
const ok = revokeShare(decodeURIComponent(revokeM[1]));
|
|
2672
2672
|
return new Response(ok ? "revoked" : "no such share", { status: ok ? 200 : 404 });
|
|
2673
2673
|
}
|
|
@@ -2969,7 +2969,7 @@ Options:
|
|
|
2969
2969
|
const shutdown = (resolve) => {
|
|
2970
2970
|
if (heartbeat) clearInterval(heartbeat);
|
|
2971
2971
|
closeShare?.();
|
|
2972
|
-
import("./agentShare-
|
|
2972
|
+
import("./agentShare-DPpEOa6M.js").then((m) => m.revokeAllShares()).catch(() => {});
|
|
2973
2973
|
server?.stop();
|
|
2974
2974
|
Promise.resolve(releaseHostLock?.()).catch(() => {}).then(resolve);
|
|
2975
2975
|
};
|
|
@@ -2982,4 +2982,4 @@ Options:
|
|
|
2982
2982
|
|
|
2983
2983
|
//#endregion
|
|
2984
2984
|
export { cmdServe, resolveLocalServeUrl };
|
|
2985
|
-
//# sourceMappingURL=serve-
|
|
2985
|
+
//# sourceMappingURL=serve-BLWE9Qgt.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-BLWE9Qgt.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-9kmSPmaW.js.map
|
|
@@ -1250,19 +1250,19 @@ async function runSubcommand(argv) {
|
|
|
1250
1250
|
return cmdCh(rest);
|
|
1251
1251
|
}
|
|
1252
1252
|
case "serve": {
|
|
1253
|
-
const { cmdServe } = await import("./serve-
|
|
1253
|
+
const { cmdServe } = await import("./serve-BLWE9Qgt.js");
|
|
1254
1254
|
return cmdServe(rest);
|
|
1255
1255
|
}
|
|
1256
1256
|
case "setup": {
|
|
1257
|
-
const { cmdSetup } = await import("./setup-
|
|
1257
|
+
const { cmdSetup } = await import("./setup-9kmSPmaW.js");
|
|
1258
1258
|
return cmdSetup(rest);
|
|
1259
1259
|
}
|
|
1260
1260
|
case "ws": {
|
|
1261
|
-
const { cmdWs } = await import("./ws-
|
|
1261
|
+
const { cmdWs } = await import("./ws-BcRnKVFY.js");
|
|
1262
1262
|
return cmdWs(rest);
|
|
1263
1263
|
}
|
|
1264
1264
|
case "schedule": {
|
|
1265
|
-
const { cmdSchedule } = await import("./schedule-
|
|
1265
|
+
const { cmdSchedule } = await import("./schedule-Cszo4hwr.js");
|
|
1266
1266
|
return cmdSchedule(rest);
|
|
1267
1267
|
}
|
|
1268
1268
|
case "remote": {
|
|
@@ -1274,7 +1274,7 @@ async function runSubcommand(argv) {
|
|
|
1274
1274
|
return cmdExpose(rest);
|
|
1275
1275
|
}
|
|
1276
1276
|
case "callback": {
|
|
1277
|
-
const { cmdCallback } = await import("./callback-
|
|
1277
|
+
const { cmdCallback } = await import("./callback-BHNjyXNU.js");
|
|
1278
1278
|
return cmdCallback(rest);
|
|
1279
1279
|
}
|
|
1280
1280
|
case "reap":
|
|
@@ -4312,7 +4312,7 @@ async function cmdNotify(rest) {
|
|
|
4312
4312
|
}
|
|
4313
4313
|
const ensure = async () => {
|
|
4314
4314
|
if (!argv["ensure-daemon"]) return;
|
|
4315
|
-
const { ensureDaemon } = await import("./notifyDaemon-
|
|
4315
|
+
const { ensureDaemon } = await import("./notifyDaemon-Bk9j9x7S.js");
|
|
4316
4316
|
await ensureDaemon().catch(() => null);
|
|
4317
4317
|
};
|
|
4318
4318
|
await heartbeatWatcher(parent, selfStartedAt);
|
|
@@ -4386,7 +4386,7 @@ async function cmdNotifyCursor(args) {
|
|
|
4386
4386
|
}
|
|
4387
4387
|
async function cmdNotifyd(rest) {
|
|
4388
4388
|
const sub = rest[0] ?? "status";
|
|
4389
|
-
const daemon = await import("./notifyDaemon-
|
|
4389
|
+
const daemon = await import("./notifyDaemon-Bk9j9x7S.js");
|
|
4390
4390
|
switch (sub) {
|
|
4391
4391
|
case "run": return daemon.runDaemon();
|
|
4392
4392
|
case "once": return daemon.runDaemon({ once: true });
|
|
@@ -4413,4 +4413,4 @@ async function cmdNotifyd(rest) {
|
|
|
4413
4413
|
|
|
4414
4414
|
//#endregion
|
|
4415
4415
|
export { daemonLockDir as $, renderLogTailLines as A, stopTipForCli as B, matchKeyword as C, readPtysize as D, readNotes as E, resolveResumeArgs as F, appendEvent as G, waitForLogQuiet as H, restartHintLines as I, isTransientLockMkdirError as J, gcInboxes as K, runSubcommand as L, renderRawLogLines as M, resolveOne as N, recentMessageEdges as O, resolveReadWindow as P, shouldStealLock as Q, snapshotStatus as R, listRecords as S, readAgentPtysize as T, writeKeysPaced as U, submitAndConfirm as V, writeToIpc as W, liveWatchers as X, listInboxParents as Y, readInbox as Z, isPidAlive as _, cmdHelp as a, isUserTyping as b, deriveLiveState as c, extractMenu as d, daemonLockOwnerPath as et, extractNeedsInput as f, isExitRequest as g, isAgentStuck as h, backoffWhileTyping as i, renderRawLog as j, recentReadEdges as k, deriveLiveStatus as l, finalizedLines as m, READ_PAGE_DEFAULT as n, TYPING_BADGE as nt, controlCodeFromName as o, extractTaskCounts as p, hostId as q, TYPING_WINDOW_MS as r, cursorAbs as s, GRACEFUL_EXIT_COMMANDS as t, notifyDir as tt, extractBadges as u, isSlashCommand as v, menuSelectKeys as w, lastStdinAt as x, isSubcommand as y, stdinActivityPath as z };
|
|
4416
|
-
//# sourceMappingURL=subcommands-
|
|
4416
|
+
//# sourceMappingURL=subcommands-8qeO_aMF.js.map
|
|
@@ -3,7 +3,7 @@ import "./globalPidIndex-Ca4sTr1b.js";
|
|
|
3
3
|
import "./messageLog-zVGWLX7w.js";
|
|
4
4
|
import "./e2e-CYlKpfxa.js";
|
|
5
5
|
import "./configShared-BXz2vi4Q.js";
|
|
6
|
-
import { A as renderLogTailLines, B as stopTipForCli, C as matchKeyword, D as readPtysize, E as readNotes, F as resolveResumeArgs, H as waitForLogQuiet, I as restartHintLines, L as runSubcommand, M as renderRawLogLines, N as resolveOne, O as recentMessageEdges, P as resolveReadWindow, R as snapshotStatus, S as listRecords, T as readAgentPtysize, U as writeKeysPaced, V as submitAndConfirm, W as writeToIpc, _ as isPidAlive, a as cmdHelp, b as isUserTyping, c as deriveLiveState, d as extractMenu, f as extractNeedsInput, g as isExitRequest, h as isAgentStuck, i as backoffWhileTyping, j as renderRawLog, k as recentReadEdges, l as deriveLiveStatus, m as finalizedLines, n as READ_PAGE_DEFAULT, o as controlCodeFromName, p as extractTaskCounts, r as TYPING_WINDOW_MS, s as cursorAbs, t as GRACEFUL_EXIT_COMMANDS, u as extractBadges, v as isSlashCommand, w as menuSelectKeys, x as lastStdinAt, y as isSubcommand, z as stdinActivityPath } from "./subcommands-
|
|
6
|
+
import { A as renderLogTailLines, B as stopTipForCli, C as matchKeyword, D as readPtysize, E as readNotes, F as resolveResumeArgs, H as waitForLogQuiet, I as restartHintLines, L as runSubcommand, M as renderRawLogLines, N as resolveOne, O as recentMessageEdges, P as resolveReadWindow, R as snapshotStatus, S as listRecords, T as readAgentPtysize, U as writeKeysPaced, V as submitAndConfirm, W as writeToIpc, _ as isPidAlive, a as cmdHelp, b as isUserTyping, c as deriveLiveState, d as extractMenu, f as extractNeedsInput, g as isExitRequest, h as isAgentStuck, i as backoffWhileTyping, j as renderRawLog, k as recentReadEdges, l as deriveLiveStatus, m as finalizedLines, n as READ_PAGE_DEFAULT, o as controlCodeFromName, p as extractTaskCounts, r as TYPING_WINDOW_MS, s as cursorAbs, t as GRACEFUL_EXIT_COMMANDS, u as extractBadges, v as isSlashCommand, w as menuSelectKeys, x as lastStdinAt, y as isSubcommand, z as stdinActivityPath } from "./subcommands-8qeO_aMF.js";
|
|
7
7
|
import "./webrtcLink-CEYNs0pt.js";
|
|
8
8
|
import "./remotes-BM3Zm8Wh.js";
|
|
9
9
|
|
|
@@ -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-t-qt-HYQ.js";
|
|
3
3
|
import { t as agentYesHome } from "./agentYesHome-CtHb5b71.js";
|
|
4
4
|
import { d as openStore, p as LIFECYCLES, x as removeControlCharacters } from "./todoAutomation-x6guaQXc.js";
|
|
5
5
|
import { i as shouldUseLock, r as releaseLock, t as acquireLock } from "./runningLock-BFk3Mo8K.js";
|
|
@@ -2044,4 +2044,4 @@ function sleep(ms) {
|
|
|
2044
2044
|
|
|
2045
2045
|
//#endregion
|
|
2046
2046
|
export { hasTodoStore as a, AgentContext as c, answerAsk as i, CLAUDE_SESSION_PIN_ENV as l, agentYes as n, listAsks as o, config as r, listAsksForProject as s, CLIS_CONFIG as t };
|
|
2047
|
-
//# sourceMappingURL=ts-
|
|
2047
|
+
//# sourceMappingURL=ts-HOZtW52L.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.235.
|
|
10
|
+
var version = "1.235.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-
|
|
218
|
+
//# sourceMappingURL=versionChecker-t-qt-HYQ.js.map
|
|
@@ -3,7 +3,7 @@ import "./globalPidIndex-Ca4sTr1b.js";
|
|
|
3
3
|
import "./messageLog-zVGWLX7w.js";
|
|
4
4
|
import "./e2e-CYlKpfxa.js";
|
|
5
5
|
import "./configShared-BXz2vi4Q.js";
|
|
6
|
-
import { S as listRecords } from "./subcommands-
|
|
6
|
+
import { S as listRecords } from "./subcommands-8qeO_aMF.js";
|
|
7
7
|
import "./webrtcLink-CEYNs0pt.js";
|
|
8
8
|
import "./remotes-BM3Zm8Wh.js";
|
|
9
9
|
import { i as getProvisionRoot } from "./workspaceConfig-DWLYPDdx.js";
|
|
@@ -418,4 +418,4 @@ async function cmdWs(args) {
|
|
|
418
418
|
|
|
419
419
|
//#endregion
|
|
420
420
|
export { WS_JSON_SCHEMA, cmdWs, collectWorkspaces, isPathInside, loadProvision, workspaceStatus };
|
|
421
|
-
//# sourceMappingURL=ws-
|
|
421
|
+
//# sourceMappingURL=ws-BcRnKVFY.js.map
|
package/lab/ui/index.html
CHANGED
|
@@ -1855,14 +1855,20 @@
|
|
|
1855
1855
|
<link rel="modulepreload" href="./console-logic.js" />
|
|
1856
1856
|
<link rel="modulepreload" href="./rtc.js" />
|
|
1857
1857
|
<link rel="modulepreload" href="./e2e.js" />
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1858
|
+
<!-- xterm.js + addons — vendored same-origin (was cdn.jsdelivr.net). A
|
|
1859
|
+
third-party CDN on the critical render path (the terminal can't paint
|
|
1860
|
+
without xterm) meant a separate DNS+TLS handshake and 5 cross-origin
|
|
1861
|
+
fetches on every open, NOT in the SW precache, and jsdelivr is slow/
|
|
1862
|
+
throttled in much of Asia. Local copies are HTTP/2-multiplexed with the
|
|
1863
|
+
rest of /w/, CF-edge-cached, SW-precached (offline), and region-neutral.
|
|
1864
|
+
Pinned: xterm 5.5.0, addon-fit 0.10.0, addon-web-links 0.11.0,
|
|
1865
|
+
addon-clipboard 0.1.0. Load order preserved (classic sync scripts define
|
|
1866
|
+
the Terminal/FitAddon globals before console-logic.js runs). -->
|
|
1867
|
+
<link rel="stylesheet" href="./vendor/xterm.min.css" />
|
|
1868
|
+
<script src="./vendor/xterm.min.js"></script>
|
|
1869
|
+
<script src="./vendor/addon-fit.min.js"></script>
|
|
1870
|
+
<script src="./vendor/addon-web-links.min.js"></script>
|
|
1871
|
+
<script src="./vendor/addon-clipboard.min.js"></script>
|
|
1866
1872
|
<!-- QR generator (MIT, Kazuhiko Arase) — vendored locally so single-agent
|
|
1867
1873
|
share QR codes render offline under `ay serve --http`. Classic script:
|
|
1868
1874
|
defines the global `qrcode`. -->
|
package/lab/ui/sw.js
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
// versioned wire protocol to the signaling server, so it must never run stale —
|
|
5
5
|
// online we always fetch fresh (and refresh the cache); the cache is only a
|
|
6
6
|
// fallback when offline, which is what makes the installed app launchable with no
|
|
7
|
-
// network. WebSocket signaling
|
|
8
|
-
//
|
|
9
|
-
const CACHE = "agent-yes-w-
|
|
7
|
+
// network. WebSocket signaling passes straight through (not a GET we own). xterm
|
|
8
|
+
// is now vendored same-origin (see SHELL / index.html), so it's precached too.
|
|
9
|
+
const CACHE = "agent-yes-w-v4";
|
|
10
10
|
// Preview proxy: <scope>p/<encSrc>/<port>/* renders a machine's local dev
|
|
11
11
|
// server INSIDE the console's existing WebRTC tunnel (peer-to-peer, off the
|
|
12
12
|
// edge relay). We can't own the RTCPeerConnection here, so we forward each
|
|
@@ -128,6 +128,13 @@ const SHELL = [
|
|
|
128
128
|
"./qrcode.js",
|
|
129
129
|
"./manifest.webmanifest",
|
|
130
130
|
"./icon.svg",
|
|
131
|
+
// Vendored xterm.js + addons (were cdn.jsdelivr.net, off-critical-path & never
|
|
132
|
+
// cached). Precaching them makes /w/ open offline and region-independent.
|
|
133
|
+
"./vendor/xterm.min.css",
|
|
134
|
+
"./vendor/xterm.min.js",
|
|
135
|
+
"./vendor/addon-fit.min.js",
|
|
136
|
+
"./vendor/addon-web-links.min.js",
|
|
137
|
+
"./vendor/addon-clipboard.min.js",
|
|
131
138
|
];
|
|
132
139
|
|
|
133
140
|
self.addEventListener("install", (e) => {
|
package/package.json
CHANGED