agent-yes 1.308.0-beta.822.1 → 1.308.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-g2a7NXfV.js → SUPPORTED_CLIS-Ce_7n97m.js} +3 -3
- package/dist/{SUPPORTED_CLIS-BLYnkdXU.js → SUPPORTED_CLIS-DFpjQ2Ke.js} +2 -2
- package/dist/{agentShare-CPbuzX6_.js → agentShare-Dz_T6b5v.js} +2 -2
- package/dist/{callback-mlc8fh_F.js → callback-CAWItwdn.js} +3 -3
- package/dist/{callback-BrUPWfzC.js → callback-oTjpUn2G.js} +2 -2
- package/dist/cli.js +5 -5
- package/dist/{cmdPs-BkQcgpMm.js → cmdPs-RZU-tTd4.js} +2 -2
- package/dist/index.js +2 -2
- package/dist/{notifyDaemon-B3cBxf0e.js → notifyDaemon-Dh4cLfBU.js} +2 -2
- package/dist/{parentPingLoop-oxshq8c_.js → parentPingLoop-B9QDw20l.js} +2 -2
- package/dist/{rustBinary-BBXMvUrh.js → rustBinary-B603fLUa.js} +2 -2
- package/dist/{rustBinary-BVXl0jO1.js → rustBinary-CTEd2FnZ.js} +2 -2
- package/dist/{schedule-CCd72rUL.js → schedule-DncJhp1d.js} +4 -4
- package/dist/{serve-BDAWlqju.js → serve-BJEDb5Az.js} +22 -22
- package/dist/{setup-BdYFzMCF.js → setup-CxQJtnmp.js} +2 -2
- package/dist/{shareCmd-DlRaowh5.js → shareCmd-96G551OE.js} +5 -5
- package/dist/{subcommands-AMenIpoC.js → subcommands-BJezWaHi.js} +16 -16
- package/dist/{subcommands-CsXAU4nP.js → subcommands-DbdxjvFI.js} +1 -1
- package/dist/{terminal-szkWLu0B.js → terminal-CLjXOXI7.js} +2 -2
- package/dist/{trayApp-D5mTwcU2.js → trayApp-CZwRPF62.js} +2 -2
- package/dist/trayApp-UWX_Bfay.js +5 -0
- package/dist/{ts-Cw3tcySd.js → ts-J77_edCv.js} +3 -3
- package/dist/{versionChecker-BUTz22Z5.js → versionChecker-DcrK7m4z.js} +2 -2
- package/dist/{widget-VjNw0i_9.js → widget-DU-iJOPF.js} +3 -3
- package/dist/{ws-XExAsRus.js → ws-AZ6QSr2M.js} +2 -2
- package/dist/{ws-COWlU1P2.js → ws-CNd9TMOE.js} +2 -2
- package/package.json +2 -2
- package/dist/trayApp-BHDsVzNR.js +0 -5
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import "./versionChecker-
|
|
3
|
-
import "./ts-
|
|
2
|
+
import "./versionChecker-DcrK7m4z.js";
|
|
3
|
+
import "./ts-J77_edCv.js";
|
|
4
4
|
import "./todoAutomation-KgmnTAsD.js";
|
|
5
5
|
import "./JsonlStore-fEAVg5aY.js";
|
|
6
6
|
import "./globalPidIndex-D9fxq9Ad.js";
|
|
7
7
|
import "./pidStore-DXEbQrh-.js";
|
|
8
8
|
import "./messageLog-BrXNxItW.js";
|
|
9
9
|
import "./todoStore-Dre3Yhwt.js";
|
|
10
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
10
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DFpjQ2Ke.js";
|
|
11
11
|
|
|
12
12
|
export { SUPPORTED_CLIS };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as CLIS_CONFIG } from "./ts-
|
|
1
|
+
import { t as CLIS_CONFIG } from "./ts-J77_edCv.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-DFpjQ2Ke.js.map
|
|
@@ -5,7 +5,7 @@ import "./pidStore-DXEbQrh-.js";
|
|
|
5
5
|
import "./messageLog-BrXNxItW.js";
|
|
6
6
|
import "./e2e-C34A1uYu.js";
|
|
7
7
|
import "./configShared-B9gyn11R.js";
|
|
8
|
-
import { ot as resolveOne } from "./subcommands-
|
|
8
|
+
import { ot as resolveOne } from "./subcommands-BJezWaHi.js";
|
|
9
9
|
import "./webrtcLink-D4pMhyvY.js";
|
|
10
10
|
import "./remotes-B0vw-dsd.js";
|
|
11
11
|
import "./roomReplyAlias-CkfEtW2v.js";
|
|
@@ -234,4 +234,4 @@ function transformEvent(rawEvent, agentId, forwarded) {
|
|
|
234
234
|
|
|
235
235
|
//#endregion
|
|
236
236
|
export { createScopedShare, listShares, revokeAllShares, revokeShare };
|
|
237
|
-
//# sourceMappingURL=agentShare-
|
|
237
|
+
//# sourceMappingURL=agentShare-Dz_T6b5v.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as agentYesHome } from "./agentYesHome-JmJC28YX.js";
|
|
2
|
-
import { ot as resolveOne } from "./subcommands-
|
|
2
|
+
import { ot as resolveOne } from "./subcommands-BJezWaHi.js";
|
|
3
3
|
import { a as mintCapability, o as parseExpires } from "./callbackCore-DoPrLOFY.js";
|
|
4
4
|
import { chmodSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
5
5
|
import path from "node:path";
|
|
@@ -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-BJEDb5Az.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-CAWItwdn.js.map
|
|
@@ -5,13 +5,13 @@ import "./pidStore-DXEbQrh-.js";
|
|
|
5
5
|
import "./messageLog-BrXNxItW.js";
|
|
6
6
|
import "./e2e-C34A1uYu.js";
|
|
7
7
|
import "./configShared-B9gyn11R.js";
|
|
8
|
-
import "./subcommands-
|
|
8
|
+
import "./subcommands-BJezWaHi.js";
|
|
9
9
|
import "./webrtcLink-D4pMhyvY.js";
|
|
10
10
|
import "./remotes-B0vw-dsd.js";
|
|
11
11
|
import "./roomReplyAlias-CkfEtW2v.js";
|
|
12
12
|
import "./notifyStore-CNdHlJyW.js";
|
|
13
13
|
import "./senderAncestry-DqbNIecg.js";
|
|
14
14
|
import "./callbackCore-DoPrLOFY.js";
|
|
15
|
-
import { i as loadOrCreateCallbackSecret, n as isCallbackRevoked, r as loadCallbackSecretReadOnly, t as cmdCallback } from "./callback-
|
|
15
|
+
import { i as loadOrCreateCallbackSecret, n as isCallbackRevoked, r as loadCallbackSecretReadOnly, t as cmdCallback } from "./callback-CAWItwdn.js";
|
|
16
16
|
|
|
17
17
|
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-zdFbz1ST.js";
|
|
3
3
|
import { n as logger } from "./logger-CDIsZ-Pp.js";
|
|
4
|
-
import { a as versionString, r as displayVersion, t as checkAndAutoUpdate } from "./versionChecker-
|
|
5
|
-
import { h as getRustBinary } from "./rustBinary-
|
|
4
|
+
import { a as versionString, r as displayVersion, t as checkAndAutoUpdate } from "./versionChecker-DcrK7m4z.js";
|
|
5
|
+
import { h as getRustBinary } from "./rustBinary-CTEd2FnZ.js";
|
|
6
6
|
import { statSync } from "node:fs";
|
|
7
7
|
import { isAbsolute } from "node:path";
|
|
8
8
|
import { argv } from "process";
|
|
@@ -394,7 +394,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
|
|
|
394
394
|
const rawArg = process.argv[2];
|
|
395
395
|
const managerCommands = !invokedCliName(process.argv);
|
|
396
396
|
const isHelpFlag = rawArg === "-h" || rawArg === "--help";
|
|
397
|
-
const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken, isBareManagerInvocation } = await import("./subcommands-
|
|
397
|
+
const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken, isBareManagerInvocation } = await import("./subcommands-DbdxjvFI.js");
|
|
398
398
|
if (isHelpFlag && process.argv.length === 3) {
|
|
399
399
|
await cmdHelp(managerCommands);
|
|
400
400
|
process.exit(0);
|
|
@@ -408,7 +408,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
|
|
|
408
408
|
process.exit(code ?? 0);
|
|
409
409
|
}
|
|
410
410
|
{
|
|
411
|
-
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-
|
|
411
|
+
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-Ce_7n97m.js");
|
|
412
412
|
if (isUnknownManagerToken(rawArg, managerCommands, SUPPORTED_CLIS)) {
|
|
413
413
|
process.stderr.write(`ay: unknown subcommand or CLI '${rawArg}'.\n See 'ay help' for subcommands. To run an agent, name a CLI:\n 'ay <cli> …' (e.g. 'ay claude …') or 'ay --cli <cli> …'.\n`);
|
|
414
414
|
process.exit(1);
|
|
@@ -509,7 +509,7 @@ if (config.useRust) {
|
|
|
509
509
|
process.exit(1);
|
|
510
510
|
}
|
|
511
511
|
if (rustBinary) {
|
|
512
|
-
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-
|
|
512
|
+
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-Ce_7n97m.js");
|
|
513
513
|
const rustArgs = buildRustArgs(process.argv, config.cli, SUPPORTED_CLIS);
|
|
514
514
|
if (config.verbose) {
|
|
515
515
|
console.log(`[rust] Using binary: ${rustBinary}`);
|
|
@@ -5,7 +5,7 @@ import "./pidStore-DXEbQrh-.js";
|
|
|
5
5
|
import "./messageLog-BrXNxItW.js";
|
|
6
6
|
import "./e2e-C34A1uYu.js";
|
|
7
7
|
import "./configShared-B9gyn11R.js";
|
|
8
|
-
import { Dt as buildAgentForest, G as listRecords, Ot as flattenForest, y as deriveLiveState } from "./subcommands-
|
|
8
|
+
import { Dt as buildAgentForest, G as listRecords, Ot as flattenForest, y as deriveLiveState } from "./subcommands-BJezWaHi.js";
|
|
9
9
|
import "./webrtcLink-D4pMhyvY.js";
|
|
10
10
|
import "./remotes-B0vw-dsd.js";
|
|
11
11
|
import "./roomReplyAlias-CkfEtW2v.js";
|
|
@@ -332,4 +332,4 @@ function readPpidSync(pid) {
|
|
|
332
332
|
|
|
333
333
|
//#endregion
|
|
334
334
|
export { cmdPs };
|
|
335
|
-
//# sourceMappingURL=cmdPs-
|
|
335
|
+
//# sourceMappingURL=cmdPs-RZU-tTd4.js.map
|
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-DcrK7m4z.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-J77_edCv.js";
|
|
4
4
|
import { a as renderTree, c as describeBlock, i as renderDigest, l as monitorHint, o as unblockedTasks, r as openBlockers, t as reconcileTodos, u as removeControlCharacters } from "./todoAutomation-KgmnTAsD.js";
|
|
5
5
|
import "./JsonlStore-fEAVg5aY.js";
|
|
6
6
|
import "./globalPidIndex-D9fxq9Ad.js";
|
|
@@ -5,7 +5,7 @@ import "./pidStore-DXEbQrh-.js";
|
|
|
5
5
|
import "./messageLog-BrXNxItW.js";
|
|
6
6
|
import "./e2e-C34A1uYu.js";
|
|
7
7
|
import "./configShared-B9gyn11R.js";
|
|
8
|
-
import { G as listRecords, I as isPidAlive, rt as renderLogTailLines, y as deriveLiveState } from "./subcommands-
|
|
8
|
+
import { G as listRecords, I as isPidAlive, rt as renderLogTailLines, y as deriveLiveState } from "./subcommands-BJezWaHi.js";
|
|
9
9
|
import "./webrtcLink-D4pMhyvY.js";
|
|
10
10
|
import "./remotes-B0vw-dsd.js";
|
|
11
11
|
import "./roomReplyAlias-CkfEtW2v.js";
|
|
@@ -881,4 +881,4 @@ async function ensureDaemon() {
|
|
|
881
881
|
|
|
882
882
|
//#endregion
|
|
883
883
|
export { daemonStatus, ensureDaemon, requestDaemonStop, runDaemon };
|
|
884
|
-
//# sourceMappingURL=notifyDaemon-
|
|
884
|
+
//# sourceMappingURL=notifyDaemon-Dh4cLfBU.js.map
|
|
@@ -338,7 +338,7 @@ async function isParentWatching(parentWrapperPid, parentAgentPid, selfAgentPid,
|
|
|
338
338
|
logger.debug("[parent-ping] watcher lookup failed:", error);
|
|
339
339
|
}
|
|
340
340
|
try {
|
|
341
|
-
const { lastReadAt, READ_WINDOW_MS } = await import("./subcommands-
|
|
341
|
+
const { lastReadAt, READ_WINDOW_MS } = await import("./subcommands-DbdxjvFI.js");
|
|
342
342
|
const last = await lastReadAt(`agent:${parentAgentPid}`, selfAgentPid);
|
|
343
343
|
if (last !== null && now - last <= READ_WINDOW_MS) return true;
|
|
344
344
|
} catch (error) {
|
|
@@ -466,4 +466,4 @@ function startParentPingLoop(opts) {
|
|
|
466
466
|
|
|
467
467
|
//#endregion
|
|
468
468
|
export { startParentPingLoop };
|
|
469
|
-
//# sourceMappingURL=parentPingLoop-
|
|
469
|
+
//# sourceMappingURL=parentPingLoop-B9QDw20l.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./versionChecker-
|
|
2
|
-
import { a as ensureExecutable, c as findRustBinary, d as gcOldBinaryDirs, f as getBinDir, g as hasValidMacSignature, h as getRustBinary, i as ensureAyrsBinary, l as findSpawnHiddenLauncher, m as getDownloadUrl, n as devBuildInfo, o as extractZipWindows, p as getBinaryName, r as downloadBinary, s as findAyrsBinary, t as chmodExtractedBinaries, u as findTrayLauncher } from "./rustBinary-
|
|
1
|
+
import "./versionChecker-DcrK7m4z.js";
|
|
2
|
+
import { a as ensureExecutable, c as findRustBinary, d as gcOldBinaryDirs, f as getBinDir, g as hasValidMacSignature, h as getRustBinary, i as ensureAyrsBinary, l as findSpawnHiddenLauncher, m as getDownloadUrl, n as devBuildInfo, o as extractZipWindows, p as getBinaryName, r as downloadBinary, s as findAyrsBinary, t as chmodExtractedBinaries, u as findTrayLauncher } from "./rustBinary-CTEd2FnZ.js";
|
|
3
3
|
|
|
4
4
|
export { ensureAyrsBinary, findAyrsBinary, gcOldBinaryDirs };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as getInstalledPackage, n as compareVersions } from "./versionChecker-
|
|
1
|
+
import { i as getInstalledPackage, n as compareVersions } from "./versionChecker-DcrK7m4z.js";
|
|
2
2
|
import { execFileSync } from "child_process";
|
|
3
3
|
import { accessSync, chmodSync, constants, existsSync, mkdirSync, readdirSync, rmSync, statSync, unlinkSync } from "fs";
|
|
4
4
|
import { chmod, copyFile } from "fs/promises";
|
|
@@ -480,4 +480,4 @@ async function getRustBinary(options = {}) {
|
|
|
480
480
|
|
|
481
481
|
//#endregion
|
|
482
482
|
export { ensureExecutable as a, findRustBinary as c, gcOldBinaryDirs as d, getBinDir as f, hasValidMacSignature as g, getRustBinary as h, ensureAyrsBinary as i, findSpawnHiddenLauncher as l, getDownloadUrl as m, devBuildInfo as n, extractZipWindows as o, getBinaryName as p, downloadBinary as r, findAyrsBinary as s, chmodExtractedBinaries as t, findTrayLauncher as u };
|
|
483
|
-
//# sourceMappingURL=rustBinary-
|
|
483
|
+
//# sourceMappingURL=rustBinary-CTEd2FnZ.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import "./versionChecker-
|
|
3
|
-
import "./ts-
|
|
2
|
+
import "./versionChecker-DcrK7m4z.js";
|
|
3
|
+
import "./ts-J77_edCv.js";
|
|
4
4
|
import "./todoAutomation-KgmnTAsD.js";
|
|
5
5
|
import "./JsonlStore-fEAVg5aY.js";
|
|
6
6
|
import "./globalPidIndex-D9fxq9Ad.js";
|
|
7
7
|
import "./pidStore-DXEbQrh-.js";
|
|
8
8
|
import "./messageLog-BrXNxItW.js";
|
|
9
9
|
import "./todoStore-Dre3Yhwt.js";
|
|
10
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
10
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DFpjQ2Ke.js";
|
|
11
11
|
import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-B1nCglgu.js";
|
|
12
12
|
import { t as ensureBootAutostart } from "./oxmgrService-CBlFJ_-C.js";
|
|
13
13
|
import { _ as storeFile, f as parseStore } from "./schedules-D6hZ7VpJ.js";
|
|
@@ -166,4 +166,4 @@ async function cmdSchedule(rest) {
|
|
|
166
166
|
|
|
167
167
|
//#endregion
|
|
168
168
|
export { cmdSchedule, scheduleSummary };
|
|
169
|
-
//# sourceMappingURL=schedule-
|
|
169
|
+
//# sourceMappingURL=schedule-DncJhp1d.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import { i as getInstalledPackage } from "./versionChecker-
|
|
3
|
-
import { l as findSpawnHiddenLauncher } from "./rustBinary-
|
|
4
|
-
import { i as answerAsk, o as listAsks } from "./ts-
|
|
2
|
+
import { i as getInstalledPackage } from "./versionChecker-DcrK7m4z.js";
|
|
3
|
+
import { l as findSpawnHiddenLauncher } from "./rustBinary-CTEd2FnZ.js";
|
|
4
|
+
import { i as answerAsk, o as listAsks } from "./ts-J77_edCv.js";
|
|
5
5
|
import { t as agentYesHome$1 } from "./agentYesHome-JmJC28YX.js";
|
|
6
6
|
import { u as removeControlCharacters } from "./todoAutomation-KgmnTAsD.js";
|
|
7
7
|
import { n as permissionBadge, r as CLAUDE_SESSION_PIN_ENV } from "./agentPermissions-CgM1bl6m.js";
|
|
@@ -12,21 +12,21 @@ import { c as isTerminalReply, r as recordInbox, s as isRedundantViewerReply } f
|
|
|
12
12
|
import "./todoStore-Dre3Yhwt.js";
|
|
13
13
|
import "./e2e-C34A1uYu.js";
|
|
14
14
|
import "./configShared-B9gyn11R.js";
|
|
15
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
16
|
-
import { $ as readNotes, Ct as withIpcLock, D as extractNeedsInput, Et as TYPING_BADGE, G as listRecords, H as isUserTyping, L as isSlashCommand, O as extractTaskCounts, Q as readLogForRender, St as resolveWorkDir, T as extractBadges, Tt as shouldFramePaste, at as renderRawLogLines, b as deriveLiveStatus, et as readPtysize, g as controlCodeFromName, it as renderRawLog, nt as recentReadEdges, ot as resolveOne, p as cliDefaults, pt as snapshotStatus, rt as renderLogTailLines, tt as recentMessageEdges, wt as framePaste, xt as writeToIpc } from "./subcommands-
|
|
15
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-DFpjQ2Ke.js";
|
|
16
|
+
import { $ as readNotes, Ct as withIpcLock, D as extractNeedsInput, Et as TYPING_BADGE, G as listRecords, H as isUserTyping, L as isSlashCommand, O as extractTaskCounts, Q as readLogForRender, St as resolveWorkDir, T as extractBadges, Tt as shouldFramePaste, at as renderRawLogLines, b as deriveLiveStatus, et as readPtysize, g as controlCodeFromName, it as renderRawLog, nt as recentReadEdges, ot as resolveOne, p as cliDefaults, pt as snapshotStatus, rt as renderLogTailLines, tt as recentMessageEdges, wt as framePaste, xt as writeToIpc } from "./subcommands-BJezWaHi.js";
|
|
17
17
|
import { i as isWebrtcSpec, o as toWebrtcUrl } from "./webrtcLink-D4pMhyvY.js";
|
|
18
18
|
import "./remotes-B0vw-dsd.js";
|
|
19
19
|
import "./roomReplyAlias-CkfEtW2v.js";
|
|
20
20
|
import { c as isTransientLockMkdirError } from "./notifyStore-CNdHlJyW.js";
|
|
21
21
|
import "./senderAncestry-DqbNIecg.js";
|
|
22
22
|
import { i as frameVisitorMessage, s as verifyCapability, t as MAX_CALLBACK_MSG_BYTES } from "./callbackCore-DoPrLOFY.js";
|
|
23
|
-
import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-
|
|
23
|
+
import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-CAWItwdn.js";
|
|
24
24
|
import { n as sampleTrees } from "./procStats-CkzFrwx7.js";
|
|
25
25
|
import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-B1nCglgu.js";
|
|
26
26
|
import { a as getProvisionRoot, d as isProvisionAllowed, f as resolveSpawnCwd, i as getProvisionHook, l as hasProvisionHook, o as getSpawnHook, t as allowsSkipPermissions, u as hasSpawnHook } from "./workspaceConfig-BmK6COFt.js";
|
|
27
|
-
import { i as importProvisionModule } from "./ws-
|
|
27
|
+
import { i as importProvisionModule } from "./ws-AZ6QSr2M.js";
|
|
28
28
|
import { r as spawnRejectionReason } from "./spawnGate-BkkT7GF2.js";
|
|
29
|
-
import { i as launchTray } from "./trayApp-
|
|
29
|
+
import { i as launchTray } from "./trayApp-CZwRPF62.js";
|
|
30
30
|
import { existsSync, realpathSync, renameSync, watch, writeFileSync } from "node:fs";
|
|
31
31
|
import yargs from "yargs";
|
|
32
32
|
import { appendFile, mkdir, open, readFile, readdir, rename, rm, stat, unlink, writeFile } from "fs/promises";
|
|
@@ -1348,7 +1348,7 @@ async function warnStrayServeProcesses() {
|
|
|
1348
1348
|
}
|
|
1349
1349
|
async function daemonShareRuntime(args) {
|
|
1350
1350
|
const { daemonShareRuntime: decide } = await import("./serveRust-B50JWdfK.js");
|
|
1351
|
-
const { findAyrsBinary } = await import("./rustBinary-
|
|
1351
|
+
const { findAyrsBinary } = await import("./rustBinary-B603fLUa.js");
|
|
1352
1352
|
return decide(args, () => !!findAyrsBinary());
|
|
1353
1353
|
}
|
|
1354
1354
|
function explicitWebrtcUrl(args) {
|
|
@@ -1646,7 +1646,7 @@ async function cmdServeStatus(args) {
|
|
|
1646
1646
|
const token = await loadTokenReadOnly();
|
|
1647
1647
|
const daemonArgs = mgr ? await readDaemonServeArgs(mgr) : null;
|
|
1648
1648
|
const installed = daemonArgs !== null;
|
|
1649
|
-
const { daemonShareLink, foregroundAyrsShareLink } = await import("./shareCmd-
|
|
1649
|
+
const { daemonShareLink, foregroundAyrsShareLink } = await import("./shareCmd-96G551OE.js");
|
|
1650
1650
|
const shareLink = (installed ? await daemonShareLink(daemonArgs) : await foregroundAyrsShareLink()) ?? await readShareLink();
|
|
1651
1651
|
const running = installed ? await readDaemonRunning(mgr) : false;
|
|
1652
1652
|
const a = daemonArgs ?? [];
|
|
@@ -1780,14 +1780,14 @@ Options:
|
|
|
1780
1780
|
const { planRustServe, SERVE_SUBCOMMANDS } = await import("./serveRust-B50JWdfK.js");
|
|
1781
1781
|
const plan = planRustServe(rest);
|
|
1782
1782
|
if (plan.kind === "rust-only") {
|
|
1783
|
-
const { ensureAyrsBinary } = await import("./rustBinary-
|
|
1783
|
+
const { ensureAyrsBinary } = await import("./rustBinary-B603fLUa.js");
|
|
1784
1784
|
const ayrs = await ensureAyrsBinary();
|
|
1785
1785
|
if (ayrs) return runAyrsServe(ayrs, plan.argv);
|
|
1786
1786
|
process.stderr.write(`ay serve: ${plan.feature} needs the Rust daemon (ayrs), which was not found (bun run build:rs, or reinstall)\n`);
|
|
1787
1787
|
return 1;
|
|
1788
1788
|
}
|
|
1789
1789
|
if (plan.kind === "rust") {
|
|
1790
|
-
const { ensureAyrsBinary } = await import("./rustBinary-
|
|
1790
|
+
const { ensureAyrsBinary } = await import("./rustBinary-B603fLUa.js");
|
|
1791
1791
|
const ayrs = await ensureAyrsBinary();
|
|
1792
1792
|
if (ayrs) return runAyrsServe(ayrs, plan.argv);
|
|
1793
1793
|
process.stderr.write("ay serve: ayrs binary not found — running the TypeScript server (bun run build:rs, or reinstall, to get the Rust daemon)\n");
|
|
@@ -2758,7 +2758,7 @@ Options:
|
|
|
2758
2758
|
clis: SUPPORTED_CLIS
|
|
2759
2759
|
});
|
|
2760
2760
|
if (req.method === "GET" && p === "/api/schedule-summary") try {
|
|
2761
|
-
const { scheduleSummary } = await import("./schedule-
|
|
2761
|
+
const { scheduleSummary } = await import("./schedule-DncJhp1d.js");
|
|
2762
2762
|
return Response.json(await scheduleSummary(), { headers: { "Cache-Control": "no-store" } });
|
|
2763
2763
|
} catch {
|
|
2764
2764
|
return new Response("Schedule unavailable", { status: 503 });
|
|
@@ -2785,7 +2785,7 @@ Options:
|
|
|
2785
2785
|
}
|
|
2786
2786
|
});
|
|
2787
2787
|
if (req.method === "GET" && p === "/api/ws") {
|
|
2788
|
-
const ws = await import("./ws-
|
|
2788
|
+
const ws = await import("./ws-CNd9TMOE.js");
|
|
2789
2789
|
try {
|
|
2790
2790
|
await ws.loadProvision();
|
|
2791
2791
|
} catch (e) {
|
|
@@ -2805,7 +2805,7 @@ Options:
|
|
|
2805
2805
|
if (req.method === "GET" && p === "/api/ws/status") {
|
|
2806
2806
|
const dirRaw = url.searchParams.get("path");
|
|
2807
2807
|
if (!dirRaw) return new Response("missing ?path=<workspace dir>", { status: 400 });
|
|
2808
|
-
const ws = await import("./ws-
|
|
2808
|
+
const ws = await import("./ws-CNd9TMOE.js");
|
|
2809
2809
|
let prov;
|
|
2810
2810
|
try {
|
|
2811
2811
|
prov = await ws.loadProvision();
|
|
@@ -2827,7 +2827,7 @@ Options:
|
|
|
2827
2827
|
}
|
|
2828
2828
|
}
|
|
2829
2829
|
if (req.method === "GET" && p === "/api/ws/repos") {
|
|
2830
|
-
const ws = await import("./ws-
|
|
2830
|
+
const ws = await import("./ws-CNd9TMOE.js");
|
|
2831
2831
|
try {
|
|
2832
2832
|
await ws.loadProvision();
|
|
2833
2833
|
} catch (e) {
|
|
@@ -2908,7 +2908,7 @@ Options:
|
|
|
2908
2908
|
const m = /^([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+)$/.exec(repoParam);
|
|
2909
2909
|
if (!m || m[1] === "." || m[1] === ".." || m[2] === "." || m[2] === "..") return new Response("missing/invalid ?repo=<owner>/<repo>", { status: 400 });
|
|
2910
2910
|
const [, owner, repo] = m;
|
|
2911
|
-
const ws = await import("./ws-
|
|
2911
|
+
const ws = await import("./ws-CNd9TMOE.js");
|
|
2912
2912
|
let prov;
|
|
2913
2913
|
try {
|
|
2914
2914
|
prov = await ws.loadProvision();
|
|
@@ -3823,7 +3823,7 @@ Options:
|
|
|
3823
3823
|
const perm = body.perm ?? "r";
|
|
3824
3824
|
if (perm !== "r" && perm !== "rw") return new Response(`invalid perm ${perm} (want r or rw)`, { status: 400 });
|
|
3825
3825
|
try {
|
|
3826
|
-
const { createScopedShare } = await import("./agentShare-
|
|
3826
|
+
const { createScopedShare } = await import("./agentShare-Dz_T6b5v.js");
|
|
3827
3827
|
const share = await createScopedShare({
|
|
3828
3828
|
agent: body.agent,
|
|
3829
3829
|
perm,
|
|
@@ -3838,12 +3838,12 @@ Options:
|
|
|
3838
3838
|
}
|
|
3839
3839
|
}
|
|
3840
3840
|
if (req.method === "GET" && p === "/api/shares") {
|
|
3841
|
-
const { listShares } = await import("./agentShare-
|
|
3841
|
+
const { listShares } = await import("./agentShare-Dz_T6b5v.js");
|
|
3842
3842
|
return Response.json(listShares());
|
|
3843
3843
|
}
|
|
3844
3844
|
const revokeM = /^\/api\/share\/([^/]+)$/.exec(p);
|
|
3845
3845
|
if (req.method === "DELETE" && revokeM) {
|
|
3846
|
-
const { revokeShare } = await import("./agentShare-
|
|
3846
|
+
const { revokeShare } = await import("./agentShare-Dz_T6b5v.js");
|
|
3847
3847
|
const ok = revokeShare(decodeURIComponent(revokeM[1]));
|
|
3848
3848
|
return new Response(ok ? "revoked" : "no such share", { status: ok ? 200 : 404 });
|
|
3849
3849
|
}
|
|
@@ -4156,7 +4156,7 @@ Options:
|
|
|
4156
4156
|
const shutdown = (resolve) => {
|
|
4157
4157
|
if (heartbeat) clearInterval(heartbeat);
|
|
4158
4158
|
closeShare?.();
|
|
4159
|
-
import("./agentShare-
|
|
4159
|
+
import("./agentShare-Dz_T6b5v.js").then((m) => m.revokeAllShares()).catch(() => {});
|
|
4160
4160
|
server?.stop();
|
|
4161
4161
|
Promise.resolve(releaseHostLock?.()).catch(() => {}).then(resolve);
|
|
4162
4162
|
};
|
|
@@ -4169,4 +4169,4 @@ Options:
|
|
|
4169
4169
|
|
|
4170
4170
|
//#endregion
|
|
4171
4171
|
export { cmdServe, inspectServeDaemon, loadTokenReadOnly, mintScopedTermToken, resolveDaemonHttpBase, resolveLocalServeUrl };
|
|
4172
|
-
//# sourceMappingURL=serve-
|
|
4172
|
+
//# sourceMappingURL=serve-BJEDb5Az.js.map
|
|
@@ -97,7 +97,7 @@ async function cmdSetup(rest) {
|
|
|
97
97
|
} catch {}
|
|
98
98
|
if (noShare) return 0;
|
|
99
99
|
process.stdout.write(`\nsharing this machine to agent-yes.com…\n`);
|
|
100
|
-
const { cmdServe } = await import("./serve-
|
|
100
|
+
const { cmdServe } = await import("./serve-BJEDb5Az.js");
|
|
101
101
|
return cmdServe([
|
|
102
102
|
"install",
|
|
103
103
|
"--share",
|
|
@@ -107,4 +107,4 @@ async function cmdSetup(rest) {
|
|
|
107
107
|
|
|
108
108
|
//#endregion
|
|
109
109
|
export { cmdSetup };
|
|
110
|
-
//# sourceMappingURL=setup-
|
|
110
|
+
//# sourceMappingURL=setup-CxQJtnmp.js.map
|
|
@@ -244,7 +244,7 @@ Options:
|
|
|
244
244
|
--port N HTTP port (default: ${DEFAULT_SHARE_PORT}, or the daemon's)\n --path /ay tailscale mount path (default: ${DEFAULT_TS_PATH})\n -y, --yes approve the shown commands without prompting\n --json print {mode, url} as JSON\n\nThe URL carries this host's serve token: whoever holds it can read and steer\nevery agent here. Rotate: rm ~/.agent-yes/.serve-token && ay serve install\n`;
|
|
245
245
|
async function shareRuntimeOf(args) {
|
|
246
246
|
const { daemonShareRuntime } = await import("./serveRust-B50JWdfK.js");
|
|
247
|
-
const { findAyrsBinary } = await import("./rustBinary-
|
|
247
|
+
const { findAyrsBinary } = await import("./rustBinary-B603fLUa.js");
|
|
248
248
|
return daemonShareRuntime(args ?? [], () => !!findAyrsBinary());
|
|
249
249
|
}
|
|
250
250
|
async function daemonShareLink(args) {
|
|
@@ -260,7 +260,7 @@ async function daemonShareLink(args) {
|
|
|
260
260
|
async function foregroundAyrsShareLink() {
|
|
261
261
|
const { readShareRoom, shareLinkFromRoomUrl } = await import("./share-CPtJgXt2.js");
|
|
262
262
|
const { parseWebrtcLink } = await import("./webrtcLink-CGCXjlQJ.js");
|
|
263
|
-
const { isPidAlive } = await import("./subcommands-
|
|
263
|
+
const { isPidAlive } = await import("./subcommands-DbdxjvFI.js");
|
|
264
264
|
const { agentYesHome } = await import("./agentYesHome-CYNNNP71.js");
|
|
265
265
|
const { readFile } = await import("fs/promises");
|
|
266
266
|
const path = await import("path");
|
|
@@ -276,7 +276,7 @@ async function foregroundAyrsShareLink() {
|
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
async function cmdShareStatus(mount) {
|
|
279
|
-
const { inspectServeDaemon } = await import("./serve-
|
|
279
|
+
const { inspectServeDaemon } = await import("./serve-BJEDb5Az.js");
|
|
280
280
|
const [d, ts] = await Promise.all([inspectServeDaemon(), detectTailscale()]);
|
|
281
281
|
const line = (k, v) => process.stdout.write(`${k.padEnd(11)}${v}\n`);
|
|
282
282
|
if (d.args === null) {
|
|
@@ -323,7 +323,7 @@ async function cmdShare(rest) {
|
|
|
323
323
|
process.stderr.write(`ay share: unknown mode '${mode}' — one of ${SHARE_MODES.join(", ")}\n`);
|
|
324
324
|
return 1;
|
|
325
325
|
}
|
|
326
|
-
const { inspectServeDaemon, cmdServe } = await import("./serve-
|
|
326
|
+
const { inspectServeDaemon, cmdServe } = await import("./serve-BJEDb5Az.js");
|
|
327
327
|
const [daemon, ts] = await Promise.all([inspectServeDaemon(), detectTailscale()]);
|
|
328
328
|
const lanIp = pickLanIp(networkInterfaces());
|
|
329
329
|
if (!mode) {
|
|
@@ -448,4 +448,4 @@ async function cmdShare(rest) {
|
|
|
448
448
|
|
|
449
449
|
//#endregion
|
|
450
450
|
export { cmdShare, daemonShareLink, foregroundAyrsShareLink };
|
|
451
|
-
//# sourceMappingURL=shareCmd-
|
|
451
|
+
//# sourceMappingURL=shareCmd-96G551OE.js.map
|
|
@@ -2286,7 +2286,7 @@ async function runSubcommand(argv) {
|
|
|
2286
2286
|
switch (sub) {
|
|
2287
2287
|
case "ls":
|
|
2288
2288
|
case "list": return await cmdLs(rest);
|
|
2289
|
-
case "ps": return await (await import("./cmdPs-
|
|
2289
|
+
case "ps": return await (await import("./cmdPs-RZU-tTd4.js")).cmdPs(rest);
|
|
2290
2290
|
case "status": return await cmdStatus(rest);
|
|
2291
2291
|
case "whoami": return await cmdWhoami(rest);
|
|
2292
2292
|
case "result": return await cmdResult(rest);
|
|
@@ -2337,31 +2337,31 @@ async function runSubcommand(argv) {
|
|
|
2337
2337
|
return cmdCh(rest);
|
|
2338
2338
|
}
|
|
2339
2339
|
case "term": {
|
|
2340
|
-
const { cmdTerm } = await import("./terminal-
|
|
2340
|
+
const { cmdTerm } = await import("./terminal-CLjXOXI7.js");
|
|
2341
2341
|
return cmdTerm(rest);
|
|
2342
2342
|
}
|
|
2343
2343
|
case "widget": {
|
|
2344
|
-
const { cmdWidget } = await import("./widget-
|
|
2344
|
+
const { cmdWidget } = await import("./widget-DU-iJOPF.js");
|
|
2345
2345
|
return cmdWidget(rest);
|
|
2346
2346
|
}
|
|
2347
2347
|
case "mint": {
|
|
2348
|
-
const { cmdMint } = await import("./widget-
|
|
2348
|
+
const { cmdMint } = await import("./widget-DU-iJOPF.js");
|
|
2349
2349
|
return cmdMint(rest);
|
|
2350
2350
|
}
|
|
2351
2351
|
case "serve": {
|
|
2352
|
-
const { cmdServe } = await import("./serve-
|
|
2352
|
+
const { cmdServe } = await import("./serve-BJEDb5Az.js");
|
|
2353
2353
|
return cmdServe(rest);
|
|
2354
2354
|
}
|
|
2355
2355
|
case "tray": {
|
|
2356
|
-
const { cmdTray } = await import("./trayApp-
|
|
2356
|
+
const { cmdTray } = await import("./trayApp-UWX_Bfay.js");
|
|
2357
2357
|
return cmdTray(rest);
|
|
2358
2358
|
}
|
|
2359
2359
|
case "setup": {
|
|
2360
|
-
const { cmdSetup } = await import("./setup-
|
|
2360
|
+
const { cmdSetup } = await import("./setup-CxQJtnmp.js");
|
|
2361
2361
|
return cmdSetup(rest);
|
|
2362
2362
|
}
|
|
2363
2363
|
case "ws": {
|
|
2364
|
-
const { cmdWs } = await import("./ws-
|
|
2364
|
+
const { cmdWs } = await import("./ws-CNd9TMOE.js");
|
|
2365
2365
|
return cmdWs(rest);
|
|
2366
2366
|
}
|
|
2367
2367
|
case "schedules":
|
|
@@ -2374,7 +2374,7 @@ async function runSubcommand(argv) {
|
|
|
2374
2374
|
return cmdCron(rest);
|
|
2375
2375
|
}
|
|
2376
2376
|
case "schedule": {
|
|
2377
|
-
const { cmdSchedule } = await import("./schedule-
|
|
2377
|
+
const { cmdSchedule } = await import("./schedule-DncJhp1d.js");
|
|
2378
2378
|
return cmdSchedule(rest);
|
|
2379
2379
|
}
|
|
2380
2380
|
case "remote": {
|
|
@@ -2382,7 +2382,7 @@ async function runSubcommand(argv) {
|
|
|
2382
2382
|
return cmdRemote(rest);
|
|
2383
2383
|
}
|
|
2384
2384
|
case "share": {
|
|
2385
|
-
const { cmdShare } = await import("./shareCmd-
|
|
2385
|
+
const { cmdShare } = await import("./shareCmd-96G551OE.js");
|
|
2386
2386
|
return cmdShare(rest);
|
|
2387
2387
|
}
|
|
2388
2388
|
case "connect": {
|
|
@@ -2394,7 +2394,7 @@ async function runSubcommand(argv) {
|
|
|
2394
2394
|
return cmdExpose(rest);
|
|
2395
2395
|
}
|
|
2396
2396
|
case "callback": {
|
|
2397
|
-
const { cmdCallback } = await import("./callback-
|
|
2397
|
+
const { cmdCallback } = await import("./callback-oTjpUn2G.js");
|
|
2398
2398
|
return cmdCallback(rest);
|
|
2399
2399
|
}
|
|
2400
2400
|
case "reap":
|
|
@@ -2405,7 +2405,7 @@ async function runSubcommand(argv) {
|
|
|
2405
2405
|
return await cmdDsh(rest);
|
|
2406
2406
|
}
|
|
2407
2407
|
case "gc": {
|
|
2408
|
-
const { gcOldBinaryDirs } = await import("./rustBinary-
|
|
2408
|
+
const { gcOldBinaryDirs } = await import("./rustBinary-B603fLUa.js");
|
|
2409
2409
|
const { gcLogs } = await import("./globalPidIndex-B5c_g_yJ.js");
|
|
2410
2410
|
const bins = gcOldBinaryDirs();
|
|
2411
2411
|
const logs = await gcLogs();
|
|
@@ -6669,7 +6669,7 @@ async function cmdAttach(rest) {
|
|
|
6669
6669
|
const winsizeDir = path$1.join(ayHome, "winsize");
|
|
6670
6670
|
await mkdir(winsizeDir, { recursive: true });
|
|
6671
6671
|
const winsizePath = path$1.join(winsizeDir, String(record.pid));
|
|
6672
|
-
const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-
|
|
6672
|
+
const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-BJEDb5Az.js");
|
|
6673
6673
|
const daemonBase = await resolveDaemonHttpBase().catch(() => null);
|
|
6674
6674
|
const daemonToken = daemonBase ? await loadTokenReadOnly().catch(() => null) ?? "" : "";
|
|
6675
6675
|
const capViewer = `attach:${process.pid}`;
|
|
@@ -7421,7 +7421,7 @@ async function cmdNotify(rest) {
|
|
|
7421
7421
|
}
|
|
7422
7422
|
const ensure = async () => {
|
|
7423
7423
|
if (!argv["ensure-daemon"]) return;
|
|
7424
|
-
const { ensureDaemon } = await import("./notifyDaemon-
|
|
7424
|
+
const { ensureDaemon } = await import("./notifyDaemon-Dh4cLfBU.js");
|
|
7425
7425
|
await ensureDaemon().catch(() => null);
|
|
7426
7426
|
};
|
|
7427
7427
|
await heartbeatWatcher(parent, selfStartedAt);
|
|
@@ -7495,7 +7495,7 @@ async function cmdNotifyCursor(args) {
|
|
|
7495
7495
|
}
|
|
7496
7496
|
async function cmdNotifyd(rest) {
|
|
7497
7497
|
const sub = rest[0] ?? "status";
|
|
7498
|
-
const daemon = await import("./notifyDaemon-
|
|
7498
|
+
const daemon = await import("./notifyDaemon-Dh4cLfBU.js");
|
|
7499
7499
|
switch (sub) {
|
|
7500
7500
|
case "run": return daemon.runDaemon();
|
|
7501
7501
|
case "once": return daemon.runDaemon({ once: true });
|
|
@@ -7522,4 +7522,4 @@ async function cmdNotifyd(rest) {
|
|
|
7522
7522
|
|
|
7523
7523
|
//#endregion
|
|
7524
7524
|
export { readNotes as $, inspectSubmission as A, isUnknownManagerToken as B, envelopeAttribution as C, withIpcLock as Ct, extractNeedsInput as D, buildAgentForest as Dt, extractMenu as E, TYPING_BADGE as Et, isExitRequest as F, listRecords as G, isUserTyping as H, isPidAlive as I, ownedCollapsedPaste as J, matchKeyword as K, isSlashCommand as L, isAgentIdShaped as M, isAgentStuck as N, extractTaskCounts as O, flattenForest as Ot, isBareManagerInvocation as P, readLogForRender as Q, isSubcommand as R, enableRenderDiskCache as S, resolveWorkDir as St, extractBadges as T, shouldFramePaste as Tt, lastReadAt as U, isUnreachableWriteErrno as V, lastStdinAt as W, readAgentPtysize as X, probeStdinReachable as Y, readComposerState as Z, cursorAbs as _, submitStableDraft as _t, READ_PAGE_DEFAULT as a, renderRawLogLines as at, deriveLiveStatus as b, writeKeysPaced as bt, SEND_EXIT_QUEUED as c, resolveResumeArgs as ct, backoffWhileTyping as d, saveRenderDisk as dt, readPtysize as et, buildEnvelope as f, sendPayloadCapError as ft, controlCodeFromName as g, submitAndConfirm as gt, confirmStdinUnreachable as h, stopTipForCli as ht, MAX_RENDER_BYTES as i, renderRawLog as it, interruptSendTarget as j, finalizedLines as k, SEND_EXIT_UNREACHABLE as l, restartHintLines as lt, cmdHelp as m, stdinActivityPath as mt, DRAFT_STABLE_WAITS_MS as n, recentReadEdges as nt, READ_WINDOW_MS as o, resolveOne as ot, cliDefaults as p, snapshotStatus as pt, menuSelectKeys as q, GRACEFUL_EXIT_COMMANDS as r, renderLogTailLines as rt, SEND_BODY_MAX_CHARS as s, resolveReadWindow as st, COMPOSER_WINDOWS as t, recentMessageEdges as tt, TYPING_WINDOW_MS as u, runSubcommand as ut, cwdLabel as v, suggestAgents as vt, envelopeCostFor as w, framePaste as wt, drainerLauncher as x, writeToIpc as xt, deriveLiveState as y, waitForLogQuiet as yt, isSubmitCode as z };
|
|
7525
|
-
//# sourceMappingURL=subcommands-
|
|
7525
|
+
//# sourceMappingURL=subcommands-BJezWaHi.js.map
|
|
@@ -5,7 +5,7 @@ import "./pidStore-DXEbQrh-.js";
|
|
|
5
5
|
import "./messageLog-BrXNxItW.js";
|
|
6
6
|
import "./e2e-C34A1uYu.js";
|
|
7
7
|
import "./configShared-B9gyn11R.js";
|
|
8
|
-
import { $ as readNotes, A as inspectSubmission, B as isUnknownManagerToken, C as envelopeAttribution, D as extractNeedsInput, E as extractMenu, F as isExitRequest, G as listRecords, H as isUserTyping, I as isPidAlive, J as ownedCollapsedPaste, K as matchKeyword, L as isSlashCommand, M as isAgentIdShaped, N as isAgentStuck, O as extractTaskCounts, P as isBareManagerInvocation, Q as readLogForRender, R as isSubcommand, S as enableRenderDiskCache, T as extractBadges, U as lastReadAt, V as isUnreachableWriteErrno, W as lastStdinAt, X as readAgentPtysize, Y as probeStdinReachable, Z as readComposerState, _ as cursorAbs, _t as submitStableDraft, a as READ_PAGE_DEFAULT, at as renderRawLogLines, b as deriveLiveStatus, bt as writeKeysPaced, c as SEND_EXIT_QUEUED, ct as resolveResumeArgs, d as backoffWhileTyping, dt as saveRenderDisk, et as readPtysize, f as buildEnvelope, ft as sendPayloadCapError, g as controlCodeFromName, gt as submitAndConfirm, h as confirmStdinUnreachable, ht as stopTipForCli, i as MAX_RENDER_BYTES, it as renderRawLog, j as interruptSendTarget, k as finalizedLines, l as SEND_EXIT_UNREACHABLE, lt as restartHintLines, m as cmdHelp, mt as stdinActivityPath, n as DRAFT_STABLE_WAITS_MS, nt as recentReadEdges, o as READ_WINDOW_MS, ot as resolveOne, p as cliDefaults, pt as snapshotStatus, q as menuSelectKeys, r as GRACEFUL_EXIT_COMMANDS, rt as renderLogTailLines, s as SEND_BODY_MAX_CHARS, st as resolveReadWindow, t as COMPOSER_WINDOWS, tt as recentMessageEdges, u as TYPING_WINDOW_MS, ut as runSubcommand, v as cwdLabel, vt as suggestAgents, w as envelopeCostFor, x as drainerLauncher, xt as writeToIpc, y as deriveLiveState, yt as waitForLogQuiet, z as isSubmitCode } from "./subcommands-
|
|
8
|
+
import { $ as readNotes, A as inspectSubmission, B as isUnknownManagerToken, C as envelopeAttribution, D as extractNeedsInput, E as extractMenu, F as isExitRequest, G as listRecords, H as isUserTyping, I as isPidAlive, J as ownedCollapsedPaste, K as matchKeyword, L as isSlashCommand, M as isAgentIdShaped, N as isAgentStuck, O as extractTaskCounts, P as isBareManagerInvocation, Q as readLogForRender, R as isSubcommand, S as enableRenderDiskCache, T as extractBadges, U as lastReadAt, V as isUnreachableWriteErrno, W as lastStdinAt, X as readAgentPtysize, Y as probeStdinReachable, Z as readComposerState, _ as cursorAbs, _t as submitStableDraft, a as READ_PAGE_DEFAULT, at as renderRawLogLines, b as deriveLiveStatus, bt as writeKeysPaced, c as SEND_EXIT_QUEUED, ct as resolveResumeArgs, d as backoffWhileTyping, dt as saveRenderDisk, et as readPtysize, f as buildEnvelope, ft as sendPayloadCapError, g as controlCodeFromName, gt as submitAndConfirm, h as confirmStdinUnreachable, ht as stopTipForCli, i as MAX_RENDER_BYTES, it as renderRawLog, j as interruptSendTarget, k as finalizedLines, l as SEND_EXIT_UNREACHABLE, lt as restartHintLines, m as cmdHelp, mt as stdinActivityPath, n as DRAFT_STABLE_WAITS_MS, nt as recentReadEdges, o as READ_WINDOW_MS, ot as resolveOne, p as cliDefaults, pt as snapshotStatus, q as menuSelectKeys, r as GRACEFUL_EXIT_COMMANDS, rt as renderLogTailLines, s as SEND_BODY_MAX_CHARS, st as resolveReadWindow, t as COMPOSER_WINDOWS, tt as recentMessageEdges, u as TYPING_WINDOW_MS, ut as runSubcommand, v as cwdLabel, vt as suggestAgents, w as envelopeCostFor, x as drainerLauncher, xt as writeToIpc, y as deriveLiveState, yt as waitForLogQuiet, z as isSubmitCode } from "./subcommands-BJezWaHi.js";
|
|
9
9
|
import "./webrtcLink-D4pMhyvY.js";
|
|
10
10
|
import "./remotes-B0vw-dsd.js";
|
|
11
11
|
import "./roomReplyAlias-CkfEtW2v.js";
|
|
@@ -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-BJEDb5Az.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-CLjXOXI7.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as findTrayLauncher } from "./rustBinary-
|
|
1
|
+
import { u as findTrayLauncher } from "./rustBinary-CTEd2FnZ.js";
|
|
2
2
|
import { t as agentYesHome } from "./agentYesHome-JmJC28YX.js";
|
|
3
3
|
import { existsSync } from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
@@ -97,4 +97,4 @@ async function cmdTray(args) {
|
|
|
97
97
|
|
|
98
98
|
//#endregion
|
|
99
99
|
export { trayHiddenMarker as a, launchTray as i, hasDesktop as n, isTrayHidden as r, cmdTray as t };
|
|
100
|
-
//# sourceMappingURL=trayApp-
|
|
100
|
+
//# sourceMappingURL=trayApp-CZwRPF62.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 { i as getInstalledPackage } from "./versionChecker-
|
|
3
|
+
import { i as getInstalledPackage } from "./versionChecker-DcrK7m4z.js";
|
|
4
4
|
import { t as agentYesHome } from "./agentYesHome-JmJC28YX.js";
|
|
5
5
|
import { u as removeControlCharacters } from "./todoAutomation-KgmnTAsD.js";
|
|
6
6
|
import { i as stripClaudeSessionPin, t as derivePermissions } from "./agentPermissions-CgM1bl6m.js";
|
|
@@ -2096,7 +2096,7 @@ async function agentYes({ cli, cliArgs = [], skipPermissions = false, prompt, ro
|
|
|
2096
2096
|
}, 100);
|
|
2097
2097
|
const cleanupHeartbeat = () => clearInterval(heartbeatInterval);
|
|
2098
2098
|
shell.onExit(cleanupHeartbeat);
|
|
2099
|
-
const { startParentPingLoop } = await import("./parentPingLoop-
|
|
2099
|
+
const { startParentPingLoop } = await import("./parentPingLoop-B9QDw20l.js");
|
|
2100
2100
|
const parentPingLoop = startParentPingLoop({
|
|
2101
2101
|
parentPid,
|
|
2102
2102
|
selfWrapperPid: process.pid,
|
|
@@ -2359,4 +2359,4 @@ function sleep(ms) {
|
|
|
2359
2359
|
|
|
2360
2360
|
//#endregion
|
|
2361
2361
|
export { hasTodoStore as a, AgentContext as c, answerAsk as i, agentYes as n, listAsks as o, config as r, listAsksForProject as s, CLIS_CONFIG as t };
|
|
2362
|
-
//# sourceMappingURL=ts-
|
|
2362
|
+
//# sourceMappingURL=ts-J77_edCv.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.308.0
|
|
10
|
+
var version = "1.308.0";
|
|
11
11
|
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region ts/versionChecker.ts
|
|
@@ -285,4 +285,4 @@ async function displayVersion() {
|
|
|
285
285
|
|
|
286
286
|
//#endregion
|
|
287
287
|
export { versionString as a, getInstalledPackage as i, compareVersions as n, displayVersion as r, checkAndAutoUpdate as t };
|
|
288
|
-
//# sourceMappingURL=versionChecker-
|
|
288
|
+
//# sourceMappingURL=versionChecker-DcrK7m4z.js.map
|
|
@@ -28,7 +28,7 @@ function parseFlags(args, known) {
|
|
|
28
28
|
}
|
|
29
29
|
/** Resolve the local daemon base URL + token (flags override discovery). */
|
|
30
30
|
async function daemonTarget(flags) {
|
|
31
|
-
const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-
|
|
31
|
+
const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-BJEDb5Az.js");
|
|
32
32
|
const base = typeof flags.base === "string" ? flags.base : await resolveDaemonHttpBase();
|
|
33
33
|
if (!base) throw new Error("no running ay serve daemon found — start `ay serve` or pass --base <url> (e.g. http://127.0.0.1:PORT)");
|
|
34
34
|
const token = typeof flags.token === "string" ? flags.token : await loadTokenReadOnly() ?? "";
|
|
@@ -186,7 +186,7 @@ async function cmdMint(args) {
|
|
|
186
186
|
const bad = caps.filter((c) => !KNOWN_CAPS.has(c));
|
|
187
187
|
if (bad.length) throw new Error(`unknown cap(s): ${bad.join(", ")} (valid: ${[...KNOWN_CAPS].join(", ")})`);
|
|
188
188
|
const ttlSec = parseTtlSec(typeof flags.ttl === "string" ? flags.ttl : "15m");
|
|
189
|
-
const { mintScopedTermToken } = await import("./serve-
|
|
189
|
+
const { mintScopedTermToken } = await import("./serve-BJEDb5Az.js");
|
|
190
190
|
const r = await mintScopedTermToken(target, {
|
|
191
191
|
ttlSec,
|
|
192
192
|
caps
|
|
@@ -202,4 +202,4 @@ async function cmdMint(args) {
|
|
|
202
202
|
|
|
203
203
|
//#endregion
|
|
204
204
|
export { cmdMint, cmdWidget };
|
|
205
|
-
//# sourceMappingURL=widget-
|
|
205
|
+
//# sourceMappingURL=widget-DU-iJOPF.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as listRecords } from "./subcommands-
|
|
1
|
+
import { G as listRecords } from "./subcommands-BJezWaHi.js";
|
|
2
2
|
import { a as getProvisionRoot } from "./workspaceConfig-BmK6COFt.js";
|
|
3
3
|
import { existsSync } from "fs";
|
|
4
4
|
import { lstat, opendir } from "fs/promises";
|
|
@@ -424,4 +424,4 @@ async function cmdWs(args) {
|
|
|
424
424
|
|
|
425
425
|
//#endregion
|
|
426
426
|
export { isPathInside as a, walkWorkspaces as c, importProvisionModule as i, workspaceStatus as l, cmdWs as n, loadProvision as o, collectWorkspaces as r, resolveOperand as s, WS_JSON_SCHEMA as t };
|
|
427
|
-
//# sourceMappingURL=ws-
|
|
427
|
+
//# sourceMappingURL=ws-AZ6QSr2M.js.map
|
|
@@ -5,12 +5,12 @@ import "./pidStore-DXEbQrh-.js";
|
|
|
5
5
|
import "./messageLog-BrXNxItW.js";
|
|
6
6
|
import "./e2e-C34A1uYu.js";
|
|
7
7
|
import "./configShared-B9gyn11R.js";
|
|
8
|
-
import "./subcommands-
|
|
8
|
+
import "./subcommands-BJezWaHi.js";
|
|
9
9
|
import "./webrtcLink-D4pMhyvY.js";
|
|
10
10
|
import "./remotes-B0vw-dsd.js";
|
|
11
11
|
import "./roomReplyAlias-CkfEtW2v.js";
|
|
12
12
|
import "./notifyStore-CNdHlJyW.js";
|
|
13
13
|
import "./senderAncestry-DqbNIecg.js";
|
|
14
|
-
import { a as isPathInside, c as walkWorkspaces, i as importProvisionModule, l as workspaceStatus, n as cmdWs, o as loadProvision, r as collectWorkspaces, s as resolveOperand, t as WS_JSON_SCHEMA } from "./ws-
|
|
14
|
+
import { a as isPathInside, c as walkWorkspaces, i as importProvisionModule, l as workspaceStatus, n as cmdWs, o as loadProvision, r as collectWorkspaces, s as resolveOperand, t as WS_JSON_SCHEMA } from "./ws-AZ6QSr2M.js";
|
|
15
15
|
|
|
16
16
|
export { WS_JSON_SCHEMA, cmdWs, collectWorkspaces, isPathInside, loadProvision, walkWorkspaces, workspaceStatus };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-yes",
|
|
3
|
-
"version": "1.308.0
|
|
3
|
+
"version": "1.308.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",
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"test:coverage": "vitest run --coverage",
|
|
197
197
|
"test:ui": "vitest run --config tests/ui-test/vitest.config.ts",
|
|
198
198
|
"test:ui-dom": "vitest run --config tests/ui-dom/vitest.config.ts",
|
|
199
|
-
"test:auth": "bun test tests/auth/",
|
|
199
|
+
"test:auth": "bun test tests/auth/backend.bun.spec.ts",
|
|
200
200
|
"test:theme": "node tests/ui-test/theme.e2e.mjs"
|
|
201
201
|
},
|
|
202
202
|
"dependencies": {
|
package/dist/trayApp-BHDsVzNR.js
DELETED