agent-yes 1.236.0-beta.568.1 → 1.237.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-e1i0VRdq.js → SUPPORTED_CLIS-C0RwjYrz.js} +3 -3
- package/dist/{SUPPORTED_CLIS-XuxgneSF.js → SUPPORTED_CLIS-CDrJz9Xo.js} +2 -2
- package/dist/{agentShare-BjxxMGyT.js → agentShare-Cl_J3dfx.js} +2 -2
- package/dist/{callback-2Uw3s0mZ.js → callback-CFbkvqTh.js} +2 -2
- package/dist/{callback-m9tOLV5o.js → callback-D0_AeyN1.js} +3 -3
- package/dist/cli.js +4 -4
- package/dist/index.js +2 -2
- package/dist/{notifyDaemon-DrkI0qB4.js → notifyDaemon-D_8TRVHt.js} +2 -2
- package/dist/{rustBinary-DFYeR8dt.js → rustBinary-Bb9qJZ5w.js} +2 -2
- package/dist/{schedule-BkHzOZbJ.js → schedule-B8Erb3y6.js} +4 -4
- package/dist/{serve-CwEFL226.js → serve-QejbNTr-.js} +13 -13
- package/dist/{setup-CKC1wlPn.js → setup-Dzi5Cc3g.js} +2 -2
- package/dist/{subcommands-BPqBShp2.js → subcommands-DFr-5FOL.js} +9 -9
- package/dist/{subcommands-DqclylBq.js → subcommands-ymJWO2iv.js} +1 -1
- package/dist/{terminal-D3xhtQTL.js → terminal-vNeFNLT8.js} +2 -2
- package/dist/{ts-1nDdwXWs.js → ts-Dd1FK7sR.js} +2 -2
- package/dist/{versionChecker-C-jgxTmI.js → versionChecker-XfEBINhH.js} +2 -2
- package/dist/{ws-CaiIUSwW.js → ws-Dun8gGiV.js} +2 -2
- package/package.json +3 -3
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import "./versionChecker-
|
|
3
|
-
import "./ts-
|
|
2
|
+
import "./versionChecker-XfEBINhH.js";
|
|
3
|
+
import "./ts-Dd1FK7sR.js";
|
|
4
4
|
import "./todoAutomation-Buo457VO.js";
|
|
5
5
|
import "./JsonlStore-CPGIR0Wy.js";
|
|
6
6
|
import "./globalPidIndex-D9DOSd-c.js";
|
|
7
7
|
import "./pidStore-6EZd5DUv.js";
|
|
8
8
|
import "./messageLog-C-YIzhRj.js";
|
|
9
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
9
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CDrJz9Xo.js";
|
|
10
10
|
|
|
11
11
|
export { SUPPORTED_CLIS };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as CLIS_CONFIG } from "./ts-
|
|
1
|
+
import { t as CLIS_CONFIG } from "./ts-Dd1FK7sR.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-CDrJz9Xo.js.map
|
|
@@ -3,7 +3,7 @@ import "./globalPidIndex-D9DOSd-c.js";
|
|
|
3
3
|
import "./messageLog-C-YIzhRj.js";
|
|
4
4
|
import "./e2e-CEIdJGZ7.js";
|
|
5
5
|
import "./configShared-9wVlbPyC.js";
|
|
6
|
-
import { N as resolveOne } from "./subcommands-
|
|
6
|
+
import { N as resolveOne } from "./subcommands-DFr-5FOL.js";
|
|
7
7
|
import "./webrtcLink-VQhWmKOw.js";
|
|
8
8
|
import "./remotes-Bem6WIyU.js";
|
|
9
9
|
import { a as startShare } from "./share-B9u8-I3y.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-Cl_J3dfx.js.map
|
|
@@ -3,10 +3,10 @@ import "./globalPidIndex-D9DOSd-c.js";
|
|
|
3
3
|
import "./messageLog-C-YIzhRj.js";
|
|
4
4
|
import "./e2e-CEIdJGZ7.js";
|
|
5
5
|
import "./configShared-9wVlbPyC.js";
|
|
6
|
-
import "./subcommands-
|
|
6
|
+
import "./subcommands-DFr-5FOL.js";
|
|
7
7
|
import "./webrtcLink-VQhWmKOw.js";
|
|
8
8
|
import "./remotes-Bem6WIyU.js";
|
|
9
9
|
import "./callbackCore-DAYcemCC.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-D0_AeyN1.js";
|
|
11
11
|
|
|
12
12
|
export { cmdCallback };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as agentYesHome } from "./agentYesHome-CtmsY6I-.js";
|
|
2
|
-
import { N as resolveOne } from "./subcommands-
|
|
2
|
+
import { N as resolveOne } from "./subcommands-DFr-5FOL.js";
|
|
3
3
|
import { a as mintCapability, o as parseExpires } from "./callbackCore-DAYcemCC.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-QejbNTr-.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-D0_AeyN1.js.map
|
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-XfEBINhH.js";
|
|
5
|
+
import { n as getRustBinary } from "./rustBinary-Bb9qJZ5w.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-ymJWO2iv.js");
|
|
289
289
|
if (isHelpFlag && process.argv.length === 3) {
|
|
290
290
|
await cmdHelp(managerCommands);
|
|
291
291
|
process.exit(0);
|
|
@@ -339,7 +339,7 @@ if (config.useRust) {
|
|
|
339
339
|
}
|
|
340
340
|
}
|
|
341
341
|
if (rustBinary) {
|
|
342
|
-
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-
|
|
342
|
+
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-C0RwjYrz.js");
|
|
343
343
|
const rustArgs = buildRustArgs(process.argv, config.cli, SUPPORTED_CLIS);
|
|
344
344
|
if (config.verbose) {
|
|
345
345
|
console.log(`[rust] Using binary: ${rustBinary}`);
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import "./versionChecker-
|
|
3
|
-
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-
|
|
2
|
+
import "./versionChecker-XfEBINhH.js";
|
|
3
|
+
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-Dd1FK7sR.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-Buo457VO.js";
|
|
5
5
|
import "./JsonlStore-CPGIR0Wy.js";
|
|
6
6
|
import "./globalPidIndex-D9DOSd-c.js";
|
|
@@ -3,7 +3,7 @@ import "./globalPidIndex-D9DOSd-c.js";
|
|
|
3
3
|
import "./messageLog-C-YIzhRj.js";
|
|
4
4
|
import "./e2e-CEIdJGZ7.js";
|
|
5
5
|
import "./configShared-9wVlbPyC.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-DFr-5FOL.js";
|
|
7
7
|
import "./webrtcLink-VQhWmKOw.js";
|
|
8
8
|
import "./remotes-Bem6WIyU.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-D_8TRVHt.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as getInstalledPackage } from "./versionChecker-
|
|
1
|
+
import { r as getInstalledPackage } from "./versionChecker-XfEBINhH.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-Bb9qJZ5w.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import "./versionChecker-
|
|
3
|
-
import "./ts-
|
|
2
|
+
import "./versionChecker-XfEBINhH.js";
|
|
3
|
+
import "./ts-Dd1FK7sR.js";
|
|
4
4
|
import "./todoAutomation-Buo457VO.js";
|
|
5
5
|
import "./JsonlStore-CPGIR0Wy.js";
|
|
6
6
|
import "./globalPidIndex-D9DOSd-c.js";
|
|
7
7
|
import "./pidStore-6EZd5DUv.js";
|
|
8
8
|
import "./messageLog-C-YIzhRj.js";
|
|
9
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
9
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CDrJz9Xo.js";
|
|
10
10
|
import { d as resolveSpawnCwd } from "./workspaceConfig-B7HaQ-MI.js";
|
|
11
11
|
import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-Bf88NPqj.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-B8Erb3y6.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import { r as getInstalledPackage } from "./versionChecker-
|
|
3
|
-
import { t as findSpawnHiddenLauncher } from "./rustBinary-
|
|
4
|
-
import { i as answerAsk, l as CLAUDE_SESSION_PIN_ENV, o as listAsks } from "./ts-
|
|
2
|
+
import { r as getInstalledPackage } from "./versionChecker-XfEBINhH.js";
|
|
3
|
+
import { t as findSpawnHiddenLauncher } from "./rustBinary-Bb9qJZ5w.js";
|
|
4
|
+
import { i as answerAsk, l as CLAUDE_SESSION_PIN_ENV, o as listAsks } from "./ts-Dd1FK7sR.js";
|
|
5
5
|
import { t as agentYesHome$1 } from "./agentYesHome-CtmsY6I-.js";
|
|
6
6
|
import { x as removeControlCharacters } from "./todoAutomation-Buo457VO.js";
|
|
7
7
|
import "./JsonlStore-CPGIR0Wy.js";
|
|
@@ -11,12 +11,12 @@ import { r as recordInbox } from "./messageLog-C-YIzhRj.js";
|
|
|
11
11
|
import { t as pgidForWrapper } from "./reaper-DP49VCKx.js";
|
|
12
12
|
import "./e2e-CEIdJGZ7.js";
|
|
13
13
|
import "./configShared-9wVlbPyC.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-CDrJz9Xo.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-DFr-5FOL.js";
|
|
16
16
|
import "./webrtcLink-VQhWmKOw.js";
|
|
17
17
|
import "./remotes-Bem6WIyU.js";
|
|
18
18
|
import { i as frameVisitorMessage, s as verifyCapability, t as MAX_CALLBACK_MSG_BYTES } from "./callbackCore-DAYcemCC.js";
|
|
19
|
-
import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-
|
|
19
|
+
import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-D0_AeyN1.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-B7HaQ-MI.js";
|
|
21
21
|
import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-Bf88NPqj.js";
|
|
22
22
|
import { r as spawnRejectionReason } from "./spawnGate-Bo_LFgt9.js";
|
|
@@ -2179,7 +2179,7 @@ Options:
|
|
|
2179
2179
|
}
|
|
2180
2180
|
});
|
|
2181
2181
|
if (req.method === "GET" && p === "/api/ws") {
|
|
2182
|
-
const ws = await import("./ws-
|
|
2182
|
+
const ws = await import("./ws-Dun8gGiV.js");
|
|
2183
2183
|
try {
|
|
2184
2184
|
await ws.loadProvision();
|
|
2185
2185
|
} catch (e) {
|
|
@@ -2199,7 +2199,7 @@ Options:
|
|
|
2199
2199
|
if (req.method === "GET" && p === "/api/ws/status") {
|
|
2200
2200
|
const dirRaw = url.searchParams.get("path");
|
|
2201
2201
|
if (!dirRaw) return new Response("missing ?path=<workspace dir>", { status: 400 });
|
|
2202
|
-
const ws = await import("./ws-
|
|
2202
|
+
const ws = await import("./ws-Dun8gGiV.js");
|
|
2203
2203
|
let prov;
|
|
2204
2204
|
try {
|
|
2205
2205
|
prov = await ws.loadProvision();
|
|
@@ -2791,7 +2791,7 @@ Options:
|
|
|
2791
2791
|
const perm = body.perm ?? "r";
|
|
2792
2792
|
if (perm !== "r" && perm !== "rw") return new Response(`invalid perm ${perm} (want r or rw)`, { status: 400 });
|
|
2793
2793
|
try {
|
|
2794
|
-
const { createScopedShare } = await import("./agentShare-
|
|
2794
|
+
const { createScopedShare } = await import("./agentShare-Cl_J3dfx.js");
|
|
2795
2795
|
const share = await createScopedShare({
|
|
2796
2796
|
agent: body.agent,
|
|
2797
2797
|
perm,
|
|
@@ -2806,12 +2806,12 @@ Options:
|
|
|
2806
2806
|
}
|
|
2807
2807
|
}
|
|
2808
2808
|
if (req.method === "GET" && p === "/api/shares") {
|
|
2809
|
-
const { listShares } = await import("./agentShare-
|
|
2809
|
+
const { listShares } = await import("./agentShare-Cl_J3dfx.js");
|
|
2810
2810
|
return Response.json(listShares());
|
|
2811
2811
|
}
|
|
2812
2812
|
const revokeM = /^\/api\/share\/([^/]+)$/.exec(p);
|
|
2813
2813
|
if (req.method === "DELETE" && revokeM) {
|
|
2814
|
-
const { revokeShare } = await import("./agentShare-
|
|
2814
|
+
const { revokeShare } = await import("./agentShare-Cl_J3dfx.js");
|
|
2815
2815
|
const ok = revokeShare(decodeURIComponent(revokeM[1]));
|
|
2816
2816
|
return new Response(ok ? "revoked" : "no such share", { status: ok ? 200 : 404 });
|
|
2817
2817
|
}
|
|
@@ -3113,7 +3113,7 @@ Options:
|
|
|
3113
3113
|
const shutdown = (resolve) => {
|
|
3114
3114
|
if (heartbeat) clearInterval(heartbeat);
|
|
3115
3115
|
closeShare?.();
|
|
3116
|
-
import("./agentShare-
|
|
3116
|
+
import("./agentShare-Cl_J3dfx.js").then((m) => m.revokeAllShares()).catch(() => {});
|
|
3117
3117
|
server?.stop();
|
|
3118
3118
|
Promise.resolve(releaseHostLock?.()).catch(() => {}).then(resolve);
|
|
3119
3119
|
};
|
|
@@ -3126,4 +3126,4 @@ Options:
|
|
|
3126
3126
|
|
|
3127
3127
|
//#endregion
|
|
3128
3128
|
export { cmdServe, mintScopedTermToken, resolveLocalServeUrl };
|
|
3129
|
-
//# sourceMappingURL=serve-
|
|
3129
|
+
//# sourceMappingURL=serve-QejbNTr-.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-QejbNTr-.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-Dzi5Cc3g.js.map
|
|
@@ -1251,23 +1251,23 @@ async function runSubcommand(argv) {
|
|
|
1251
1251
|
return cmdCh(rest);
|
|
1252
1252
|
}
|
|
1253
1253
|
case "term": {
|
|
1254
|
-
const { cmdTerm } = await import("./terminal-
|
|
1254
|
+
const { cmdTerm } = await import("./terminal-vNeFNLT8.js");
|
|
1255
1255
|
return cmdTerm(rest);
|
|
1256
1256
|
}
|
|
1257
1257
|
case "serve": {
|
|
1258
|
-
const { cmdServe } = await import("./serve-
|
|
1258
|
+
const { cmdServe } = await import("./serve-QejbNTr-.js");
|
|
1259
1259
|
return cmdServe(rest);
|
|
1260
1260
|
}
|
|
1261
1261
|
case "setup": {
|
|
1262
|
-
const { cmdSetup } = await import("./setup-
|
|
1262
|
+
const { cmdSetup } = await import("./setup-Dzi5Cc3g.js");
|
|
1263
1263
|
return cmdSetup(rest);
|
|
1264
1264
|
}
|
|
1265
1265
|
case "ws": {
|
|
1266
|
-
const { cmdWs } = await import("./ws-
|
|
1266
|
+
const { cmdWs } = await import("./ws-Dun8gGiV.js");
|
|
1267
1267
|
return cmdWs(rest);
|
|
1268
1268
|
}
|
|
1269
1269
|
case "schedule": {
|
|
1270
|
-
const { cmdSchedule } = await import("./schedule-
|
|
1270
|
+
const { cmdSchedule } = await import("./schedule-B8Erb3y6.js");
|
|
1271
1271
|
return cmdSchedule(rest);
|
|
1272
1272
|
}
|
|
1273
1273
|
case "remote": {
|
|
@@ -1279,7 +1279,7 @@ async function runSubcommand(argv) {
|
|
|
1279
1279
|
return cmdExpose(rest);
|
|
1280
1280
|
}
|
|
1281
1281
|
case "callback": {
|
|
1282
|
-
const { cmdCallback } = await import("./callback-
|
|
1282
|
+
const { cmdCallback } = await import("./callback-CFbkvqTh.js");
|
|
1283
1283
|
return cmdCallback(rest);
|
|
1284
1284
|
}
|
|
1285
1285
|
case "reap":
|
|
@@ -4317,7 +4317,7 @@ async function cmdNotify(rest) {
|
|
|
4317
4317
|
}
|
|
4318
4318
|
const ensure = async () => {
|
|
4319
4319
|
if (!argv["ensure-daemon"]) return;
|
|
4320
|
-
const { ensureDaemon } = await import("./notifyDaemon-
|
|
4320
|
+
const { ensureDaemon } = await import("./notifyDaemon-D_8TRVHt.js");
|
|
4321
4321
|
await ensureDaemon().catch(() => null);
|
|
4322
4322
|
};
|
|
4323
4323
|
await heartbeatWatcher(parent, selfStartedAt);
|
|
@@ -4391,7 +4391,7 @@ async function cmdNotifyCursor(args) {
|
|
|
4391
4391
|
}
|
|
4392
4392
|
async function cmdNotifyd(rest) {
|
|
4393
4393
|
const sub = rest[0] ?? "status";
|
|
4394
|
-
const daemon = await import("./notifyDaemon-
|
|
4394
|
+
const daemon = await import("./notifyDaemon-D_8TRVHt.js");
|
|
4395
4395
|
switch (sub) {
|
|
4396
4396
|
case "run": return daemon.runDaemon();
|
|
4397
4397
|
case "once": return daemon.runDaemon({ once: true });
|
|
@@ -4418,4 +4418,4 @@ async function cmdNotifyd(rest) {
|
|
|
4418
4418
|
|
|
4419
4419
|
//#endregion
|
|
4420
4420
|
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 };
|
|
4421
|
-
//# sourceMappingURL=subcommands-
|
|
4421
|
+
//# sourceMappingURL=subcommands-DFr-5FOL.js.map
|
|
@@ -3,7 +3,7 @@ import "./globalPidIndex-D9DOSd-c.js";
|
|
|
3
3
|
import "./messageLog-C-YIzhRj.js";
|
|
4
4
|
import "./e2e-CEIdJGZ7.js";
|
|
5
5
|
import "./configShared-9wVlbPyC.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-DFr-5FOL.js";
|
|
7
7
|
import "./webrtcLink-VQhWmKOw.js";
|
|
8
8
|
import "./remotes-Bem6WIyU.js";
|
|
9
9
|
|
|
@@ -98,7 +98,7 @@ async function cmdTermMint(args) {
|
|
|
98
98
|
if (flags.ro && flags.interactive) throw new Error("--ro and --interactive are mutually exclusive");
|
|
99
99
|
const ttlSec = parseTtlSec(typeof flags.ttl === "string" ? flags.ttl : "15m");
|
|
100
100
|
const canSend = flags.interactive === true;
|
|
101
|
-
const { mintScopedTermToken } = await import("./serve-
|
|
101
|
+
const { mintScopedTermToken } = await import("./serve-QejbNTr-.js");
|
|
102
102
|
const r = await mintScopedTermToken(pid, {
|
|
103
103
|
ttlSec,
|
|
104
104
|
canSend
|
|
@@ -135,4 +135,4 @@ async function cmdTerm(args) {
|
|
|
135
135
|
|
|
136
136
|
//#endregion
|
|
137
137
|
export { cmdTerm };
|
|
138
|
-
//# sourceMappingURL=terminal-
|
|
138
|
+
//# sourceMappingURL=terminal-vNeFNLT8.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as __esmMin, r as __exportAll } from "./chunk-cZBX9HZv.js";
|
|
2
2
|
import { n as logger, t as addTransport } from "./logger-CDIsZ-Pp.js";
|
|
3
|
-
import { r as getInstalledPackage } from "./versionChecker-
|
|
3
|
+
import { r as getInstalledPackage } from "./versionChecker-XfEBINhH.js";
|
|
4
4
|
import { t as agentYesHome } from "./agentYesHome-CtmsY6I-.js";
|
|
5
5
|
import { d as openStore, p as LIFECYCLES, x as removeControlCharacters } from "./todoAutomation-Buo457VO.js";
|
|
6
6
|
import { i as shouldUseLock, r as releaseLock, t as acquireLock } from "./runningLock-DBoONoM-.js";
|
|
@@ -2027,4 +2027,4 @@ function sleep(ms) {
|
|
|
2027
2027
|
|
|
2028
2028
|
//#endregion
|
|
2029
2029
|
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 };
|
|
2030
|
-
//# sourceMappingURL=ts-
|
|
2030
|
+
//# sourceMappingURL=ts-Dd1FK7sR.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.237.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-XfEBINhH.js.map
|
|
@@ -3,7 +3,7 @@ import "./globalPidIndex-D9DOSd-c.js";
|
|
|
3
3
|
import "./messageLog-C-YIzhRj.js";
|
|
4
4
|
import "./e2e-CEIdJGZ7.js";
|
|
5
5
|
import "./configShared-9wVlbPyC.js";
|
|
6
|
-
import { S as listRecords } from "./subcommands-
|
|
6
|
+
import { S as listRecords } from "./subcommands-DFr-5FOL.js";
|
|
7
7
|
import "./webrtcLink-VQhWmKOw.js";
|
|
8
8
|
import "./remotes-Bem6WIyU.js";
|
|
9
9
|
import { i as getProvisionRoot } from "./workspaceConfig-B7HaQ-MI.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-Dun8gGiV.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-yes",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.237.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",
|
|
@@ -144,6 +144,8 @@
|
|
|
144
144
|
},
|
|
145
145
|
"devDependencies": {
|
|
146
146
|
"@google/generative-ai": "^0.24.1",
|
|
147
|
+
"@xterm/addon-fit": "^0.11.0",
|
|
148
|
+
"@xterm/xterm": "^6.0.0",
|
|
147
149
|
"@semantic-release/exec": "^7.1.0",
|
|
148
150
|
"@semantic-release/git": "^10.0.1",
|
|
149
151
|
"@types/bun": "^1.3.6",
|
|
@@ -155,8 +157,6 @@
|
|
|
155
157
|
"@types/yargs": "^17.0.35",
|
|
156
158
|
"@typescript/native-preview": "^7.0.0-dev.20260124.1",
|
|
157
159
|
"@vitest/coverage-v8": "4.1.0",
|
|
158
|
-
"@xterm/addon-fit": "^0.11.0",
|
|
159
|
-
"@xterm/xterm": "^6.0.0",
|
|
160
160
|
"codehost": "^0.32.0",
|
|
161
161
|
"husky": "^9.1.7",
|
|
162
162
|
"lint-staged": "^16.2.7",
|