agent-yes 1.306.3-beta.819.1 → 1.307.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-CCF7shxg.js → SUPPORTED_CLIS-BOGmmIrH.js} +3 -3
- package/dist/{SUPPORTED_CLIS-DArtWpuL.js → SUPPORTED_CLIS-qL9_2DZ8.js} +2 -2
- package/dist/{agentShare-CsJsH-Dd.js → agentShare-C2oXrGvf.js} +2 -2
- package/dist/{callback-BXEz6pKt.js → callback-CNL-PGwh.js} +2 -2
- package/dist/{callback-CgsitnDL.js → callback-ie8yyKma.js} +3 -3
- package/dist/cli.js +5 -5
- package/dist/{cmdPs-D_OUlmDa.js → cmdPs-CfR5qCiO.js} +2 -2
- package/dist/index.js +2 -2
- package/dist/{notifyDaemon-XZkm14E_.js → notifyDaemon-DcAbvP43.js} +2 -2
- package/dist/{parentPingLoop-MusvEzUn.js → parentPingLoop-BYT4XgfN.js} +2 -2
- package/dist/{rustBinary-qxjswvdM.js → rustBinary-BjsZbiv5.js} +2 -2
- package/dist/{rustBinary-aVcHP8hD.js → rustBinary-CXQGcJEm.js} +2 -2
- package/dist/{schedule-DLXGgL5L.js → schedule-zacFV53l.js} +4 -4
- package/dist/{serve-Bv9romOO.js → serve-C38WYmzz.js} +22 -22
- package/dist/{setup-DxCsJ1va.js → setup-CeAisuhv.js} +2 -2
- package/dist/{shareCmd-BlyavBFs.js → shareCmd-foO5MbJp.js} +5 -5
- package/dist/{subcommands-HUEsqib4.js → subcommands-DE31Tfv_.js} +16 -16
- package/dist/{subcommands-BuCov57g.js → subcommands-DLQEC24N.js} +1 -1
- package/dist/{terminal-Dhv5F8VR.js → terminal-CBbp6PfB.js} +2 -2
- package/dist/trayApp-BSOmax2E.js +5 -0
- package/dist/{trayApp-CD6NOP5U.js → trayApp-C9SZOPpw.js} +2 -2
- package/dist/{ts-RXGBDphn.js → ts-CO1H1P2R.js} +3 -3
- package/dist/{versionChecker-BHk-52of.js → versionChecker-CG--tQsV.js} +2 -2
- package/dist/{widget-Coku2qhh.js → widget-CI7BtN94.js} +3 -3
- package/dist/{ws-VQkQQmHi.js → ws-DLJSBws6.js} +2 -2
- package/dist/{ws-BCRKtzD0.js → ws-W5nWHjDt.js} +2 -2
- package/package.json +1 -1
- package/dist/trayApp-8MN-AHfM.js +0 -5
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import "./versionChecker-
|
|
3
|
-
import "./ts-
|
|
2
|
+
import "./versionChecker-CG--tQsV.js";
|
|
3
|
+
import "./ts-CO1H1P2R.js";
|
|
4
4
|
import "./todoAutomation-CKlrxuZv.js";
|
|
5
5
|
import "./JsonlStore-CB_0sfdT.js";
|
|
6
6
|
import "./globalPidIndex-C6p_AY4D.js";
|
|
7
7
|
import "./pidStore-DUXifdBr.js";
|
|
8
8
|
import "./messageLog-CEqe4Hk1.js";
|
|
9
9
|
import "./todoStore-msRCEUi1.js";
|
|
10
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
10
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-qL9_2DZ8.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-CO1H1P2R.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-qL9_2DZ8.js.map
|
|
@@ -5,7 +5,7 @@ import "./pidStore-DUXifdBr.js";
|
|
|
5
5
|
import "./messageLog-CEqe4Hk1.js";
|
|
6
6
|
import "./e2e-BdLf8DvY.js";
|
|
7
7
|
import "./configShared-De4bR5hH.js";
|
|
8
|
-
import { ot as resolveOne } from "./subcommands-
|
|
8
|
+
import { ot as resolveOne } from "./subcommands-DE31Tfv_.js";
|
|
9
9
|
import "./webrtcLink-DcvacEci.js";
|
|
10
10
|
import "./remotes-CAZymHd7.js";
|
|
11
11
|
import "./roomReplyAlias-B1EJft2d.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-C2oXrGvf.js.map
|
|
@@ -5,13 +5,13 @@ import "./pidStore-DUXifdBr.js";
|
|
|
5
5
|
import "./messageLog-CEqe4Hk1.js";
|
|
6
6
|
import "./e2e-BdLf8DvY.js";
|
|
7
7
|
import "./configShared-De4bR5hH.js";
|
|
8
|
-
import "./subcommands-
|
|
8
|
+
import "./subcommands-DE31Tfv_.js";
|
|
9
9
|
import "./webrtcLink-DcvacEci.js";
|
|
10
10
|
import "./remotes-CAZymHd7.js";
|
|
11
11
|
import "./roomReplyAlias-B1EJft2d.js";
|
|
12
12
|
import "./notifyStore-DIfkfKB2.js";
|
|
13
13
|
import "./senderAncestry-CVHeKk1Y.js";
|
|
14
14
|
import "./callbackCore-Deve5pv3.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-ie8yyKma.js";
|
|
16
16
|
|
|
17
17
|
export { cmdCallback };
|
|
@@ -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-DE31Tfv_.js";
|
|
3
3
|
import { a as mintCapability, o as parseExpires } from "./callbackCore-Deve5pv3.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-C38WYmzz.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-ie8yyKma.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-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-CG--tQsV.js";
|
|
5
|
+
import { h as getRustBinary } from "./rustBinary-CXQGcJEm.js";
|
|
6
6
|
import { statSync } from "node:fs";
|
|
7
7
|
import { isAbsolute } from "node:path";
|
|
8
8
|
import { argv } from "process";
|
|
@@ -378,7 +378,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
|
|
|
378
378
|
const rawArg = process.argv[2];
|
|
379
379
|
const managerCommands = !invokedCliName(process.argv);
|
|
380
380
|
const isHelpFlag = rawArg === "-h" || rawArg === "--help";
|
|
381
|
-
const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken, isBareManagerInvocation } = await import("./subcommands-
|
|
381
|
+
const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken, isBareManagerInvocation } = await import("./subcommands-DLQEC24N.js");
|
|
382
382
|
if (isHelpFlag && process.argv.length === 3) {
|
|
383
383
|
await cmdHelp(managerCommands);
|
|
384
384
|
process.exit(0);
|
|
@@ -392,7 +392,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
|
|
|
392
392
|
process.exit(code ?? 0);
|
|
393
393
|
}
|
|
394
394
|
{
|
|
395
|
-
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-
|
|
395
|
+
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-BOGmmIrH.js");
|
|
396
396
|
if (isUnknownManagerToken(rawArg, managerCommands, SUPPORTED_CLIS)) {
|
|
397
397
|
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`);
|
|
398
398
|
process.exit(1);
|
|
@@ -464,7 +464,7 @@ if (config.useRust) {
|
|
|
464
464
|
process.exit(1);
|
|
465
465
|
}
|
|
466
466
|
if (rustBinary) {
|
|
467
|
-
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-
|
|
467
|
+
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-BOGmmIrH.js");
|
|
468
468
|
const rustArgs = buildRustArgs(process.argv, config.cli, SUPPORTED_CLIS);
|
|
469
469
|
if (config.verbose) {
|
|
470
470
|
console.log(`[rust] Using binary: ${rustBinary}`);
|
|
@@ -5,7 +5,7 @@ import "./pidStore-DUXifdBr.js";
|
|
|
5
5
|
import "./messageLog-CEqe4Hk1.js";
|
|
6
6
|
import "./e2e-BdLf8DvY.js";
|
|
7
7
|
import "./configShared-De4bR5hH.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-DE31Tfv_.js";
|
|
9
9
|
import "./webrtcLink-DcvacEci.js";
|
|
10
10
|
import "./remotes-CAZymHd7.js";
|
|
11
11
|
import "./roomReplyAlias-B1EJft2d.js";
|
|
@@ -332,4 +332,4 @@ function readPpidSync(pid) {
|
|
|
332
332
|
|
|
333
333
|
//#endregion
|
|
334
334
|
export { cmdPs };
|
|
335
|
-
//# sourceMappingURL=cmdPs-
|
|
335
|
+
//# sourceMappingURL=cmdPs-CfR5qCiO.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, i as answerAsk, l as AgentContext, n as agentYes, o as listAsks, r as config, s as listAsksForProject, t as CLIS_CONFIG } from "./ts-
|
|
2
|
+
import "./versionChecker-CG--tQsV.js";
|
|
3
|
+
import { a as hasTodoStore, i as answerAsk, l as AgentContext, n as agentYes, o as listAsks, r as config, s as listAsksForProject, t as CLIS_CONFIG } from "./ts-CO1H1P2R.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-CKlrxuZv.js";
|
|
5
5
|
import "./JsonlStore-CB_0sfdT.js";
|
|
6
6
|
import "./globalPidIndex-C6p_AY4D.js";
|
|
@@ -5,7 +5,7 @@ import "./pidStore-DUXifdBr.js";
|
|
|
5
5
|
import "./messageLog-CEqe4Hk1.js";
|
|
6
6
|
import "./e2e-BdLf8DvY.js";
|
|
7
7
|
import "./configShared-De4bR5hH.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-DE31Tfv_.js";
|
|
9
9
|
import "./webrtcLink-DcvacEci.js";
|
|
10
10
|
import "./remotes-CAZymHd7.js";
|
|
11
11
|
import "./roomReplyAlias-B1EJft2d.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-DcAbvP43.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-DLQEC24N.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-BYT4XgfN.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-CG--tQsV.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-CXQGcJEm.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-CG--tQsV.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-CXQGcJEm.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import "./versionChecker-
|
|
3
|
-
import "./ts-
|
|
2
|
+
import "./versionChecker-CG--tQsV.js";
|
|
3
|
+
import "./ts-CO1H1P2R.js";
|
|
4
4
|
import "./todoAutomation-CKlrxuZv.js";
|
|
5
5
|
import "./JsonlStore-CB_0sfdT.js";
|
|
6
6
|
import "./globalPidIndex-C6p_AY4D.js";
|
|
7
7
|
import "./pidStore-DUXifdBr.js";
|
|
8
8
|
import "./messageLog-CEqe4Hk1.js";
|
|
9
9
|
import "./todoStore-msRCEUi1.js";
|
|
10
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
10
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-qL9_2DZ8.js";
|
|
11
11
|
import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-DGMQRTGT.js";
|
|
12
12
|
import { t as ensureBootAutostart } from "./oxmgrService-DlYHmqyI.js";
|
|
13
13
|
import { _ as storeFile, f as parseStore } from "./schedules-BvwTGXU2.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-zacFV53l.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 { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-
|
|
2
|
+
import { i as getInstalledPackage } from "./versionChecker-CG--tQsV.js";
|
|
3
|
+
import { l as findSpawnHiddenLauncher } from "./rustBinary-CXQGcJEm.js";
|
|
4
|
+
import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-CO1H1P2R.js";
|
|
5
5
|
import { t as agentYesHome$1 } from "./agentYesHome-JmJC28YX.js";
|
|
6
6
|
import { u as removeControlCharacters } from "./todoAutomation-CKlrxuZv.js";
|
|
7
7
|
import "./JsonlStore-CB_0sfdT.js";
|
|
@@ -11,21 +11,21 @@ import { c as isTerminalReply, r as recordInbox, s as isRedundantViewerReply } f
|
|
|
11
11
|
import "./todoStore-msRCEUi1.js";
|
|
12
12
|
import "./e2e-BdLf8DvY.js";
|
|
13
13
|
import "./configShared-De4bR5hH.js";
|
|
14
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
15
|
-
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-
|
|
14
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-qL9_2DZ8.js";
|
|
15
|
+
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-DE31Tfv_.js";
|
|
16
16
|
import { i as isWebrtcSpec, o as toWebrtcUrl } from "./webrtcLink-DcvacEci.js";
|
|
17
17
|
import "./remotes-CAZymHd7.js";
|
|
18
18
|
import "./roomReplyAlias-B1EJft2d.js";
|
|
19
19
|
import { c as isTransientLockMkdirError } from "./notifyStore-DIfkfKB2.js";
|
|
20
20
|
import "./senderAncestry-CVHeKk1Y.js";
|
|
21
21
|
import { i as frameVisitorMessage, s as verifyCapability, t as MAX_CALLBACK_MSG_BYTES } from "./callbackCore-Deve5pv3.js";
|
|
22
|
-
import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-
|
|
22
|
+
import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-ie8yyKma.js";
|
|
23
23
|
import { n as sampleTrees } from "./procStats-DwTxj3rs.js";
|
|
24
24
|
import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-DGMQRTGT.js";
|
|
25
25
|
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-DjEklzxf.js";
|
|
26
|
-
import { i as importProvisionModule } from "./ws-
|
|
26
|
+
import { i as importProvisionModule } from "./ws-DLJSBws6.js";
|
|
27
27
|
import { r as spawnRejectionReason } from "./spawnGate-nUrmf4dd.js";
|
|
28
|
-
import { i as launchTray } from "./trayApp-
|
|
28
|
+
import { i as launchTray } from "./trayApp-C9SZOPpw.js";
|
|
29
29
|
import { existsSync, realpathSync, renameSync, watch, writeFileSync } from "node:fs";
|
|
30
30
|
import yargs from "yargs";
|
|
31
31
|
import { appendFile, mkdir, open, readFile, readdir, rename, rm, stat, unlink, writeFile } from "fs/promises";
|
|
@@ -1347,7 +1347,7 @@ async function warnStrayServeProcesses() {
|
|
|
1347
1347
|
}
|
|
1348
1348
|
async function daemonShareRuntime(args) {
|
|
1349
1349
|
const { daemonShareRuntime: decide } = await import("./serveRust-76_apYb8.js");
|
|
1350
|
-
const { findAyrsBinary } = await import("./rustBinary-
|
|
1350
|
+
const { findAyrsBinary } = await import("./rustBinary-BjsZbiv5.js");
|
|
1351
1351
|
return decide(args, () => !!findAyrsBinary());
|
|
1352
1352
|
}
|
|
1353
1353
|
function explicitWebrtcUrl(args) {
|
|
@@ -1645,7 +1645,7 @@ async function cmdServeStatus(args) {
|
|
|
1645
1645
|
const token = await loadTokenReadOnly();
|
|
1646
1646
|
const daemonArgs = mgr ? await readDaemonServeArgs(mgr) : null;
|
|
1647
1647
|
const installed = daemonArgs !== null;
|
|
1648
|
-
const { daemonShareLink, foregroundAyrsShareLink } = await import("./shareCmd-
|
|
1648
|
+
const { daemonShareLink, foregroundAyrsShareLink } = await import("./shareCmd-foO5MbJp.js");
|
|
1649
1649
|
const shareLink = (installed ? await daemonShareLink(daemonArgs) : await foregroundAyrsShareLink()) ?? await readShareLink();
|
|
1650
1650
|
const running = installed ? await readDaemonRunning(mgr) : false;
|
|
1651
1651
|
const a = daemonArgs ?? [];
|
|
@@ -1779,14 +1779,14 @@ Options:
|
|
|
1779
1779
|
const { planRustServe, SERVE_SUBCOMMANDS } = await import("./serveRust-76_apYb8.js");
|
|
1780
1780
|
const plan = planRustServe(rest);
|
|
1781
1781
|
if (plan.kind === "rust-only") {
|
|
1782
|
-
const { ensureAyrsBinary } = await import("./rustBinary-
|
|
1782
|
+
const { ensureAyrsBinary } = await import("./rustBinary-BjsZbiv5.js");
|
|
1783
1783
|
const ayrs = await ensureAyrsBinary();
|
|
1784
1784
|
if (ayrs) return runAyrsServe(ayrs, plan.argv);
|
|
1785
1785
|
process.stderr.write(`ay serve: ${plan.feature} needs the Rust daemon (ayrs), which was not found (bun run build:rs, or reinstall)\n`);
|
|
1786
1786
|
return 1;
|
|
1787
1787
|
}
|
|
1788
1788
|
if (plan.kind === "rust") {
|
|
1789
|
-
const { ensureAyrsBinary } = await import("./rustBinary-
|
|
1789
|
+
const { ensureAyrsBinary } = await import("./rustBinary-BjsZbiv5.js");
|
|
1790
1790
|
const ayrs = await ensureAyrsBinary();
|
|
1791
1791
|
if (ayrs) return runAyrsServe(ayrs, plan.argv);
|
|
1792
1792
|
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");
|
|
@@ -2757,7 +2757,7 @@ Options:
|
|
|
2757
2757
|
clis: SUPPORTED_CLIS
|
|
2758
2758
|
});
|
|
2759
2759
|
if (req.method === "GET" && p === "/api/schedule-summary") try {
|
|
2760
|
-
const { scheduleSummary } = await import("./schedule-
|
|
2760
|
+
const { scheduleSummary } = await import("./schedule-zacFV53l.js");
|
|
2761
2761
|
return Response.json(await scheduleSummary(), { headers: { "Cache-Control": "no-store" } });
|
|
2762
2762
|
} catch {
|
|
2763
2763
|
return new Response("Schedule unavailable", { status: 503 });
|
|
@@ -2784,7 +2784,7 @@ Options:
|
|
|
2784
2784
|
}
|
|
2785
2785
|
});
|
|
2786
2786
|
if (req.method === "GET" && p === "/api/ws") {
|
|
2787
|
-
const ws = await import("./ws-
|
|
2787
|
+
const ws = await import("./ws-W5nWHjDt.js");
|
|
2788
2788
|
try {
|
|
2789
2789
|
await ws.loadProvision();
|
|
2790
2790
|
} catch (e) {
|
|
@@ -2804,7 +2804,7 @@ Options:
|
|
|
2804
2804
|
if (req.method === "GET" && p === "/api/ws/status") {
|
|
2805
2805
|
const dirRaw = url.searchParams.get("path");
|
|
2806
2806
|
if (!dirRaw) return new Response("missing ?path=<workspace dir>", { status: 400 });
|
|
2807
|
-
const ws = await import("./ws-
|
|
2807
|
+
const ws = await import("./ws-W5nWHjDt.js");
|
|
2808
2808
|
let prov;
|
|
2809
2809
|
try {
|
|
2810
2810
|
prov = await ws.loadProvision();
|
|
@@ -2826,7 +2826,7 @@ Options:
|
|
|
2826
2826
|
}
|
|
2827
2827
|
}
|
|
2828
2828
|
if (req.method === "GET" && p === "/api/ws/repos") {
|
|
2829
|
-
const ws = await import("./ws-
|
|
2829
|
+
const ws = await import("./ws-W5nWHjDt.js");
|
|
2830
2830
|
try {
|
|
2831
2831
|
await ws.loadProvision();
|
|
2832
2832
|
} catch (e) {
|
|
@@ -2907,7 +2907,7 @@ Options:
|
|
|
2907
2907
|
const m = /^([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+)$/.exec(repoParam);
|
|
2908
2908
|
if (!m || m[1] === "." || m[1] === ".." || m[2] === "." || m[2] === "..") return new Response("missing/invalid ?repo=<owner>/<repo>", { status: 400 });
|
|
2909
2909
|
const [, owner, repo] = m;
|
|
2910
|
-
const ws = await import("./ws-
|
|
2910
|
+
const ws = await import("./ws-W5nWHjDt.js");
|
|
2911
2911
|
let prov;
|
|
2912
2912
|
try {
|
|
2913
2913
|
prov = await ws.loadProvision();
|
|
@@ -3822,7 +3822,7 @@ Options:
|
|
|
3822
3822
|
const perm = body.perm ?? "r";
|
|
3823
3823
|
if (perm !== "r" && perm !== "rw") return new Response(`invalid perm ${perm} (want r or rw)`, { status: 400 });
|
|
3824
3824
|
try {
|
|
3825
|
-
const { createScopedShare } = await import("./agentShare-
|
|
3825
|
+
const { createScopedShare } = await import("./agentShare-C2oXrGvf.js");
|
|
3826
3826
|
const share = await createScopedShare({
|
|
3827
3827
|
agent: body.agent,
|
|
3828
3828
|
perm,
|
|
@@ -3837,12 +3837,12 @@ Options:
|
|
|
3837
3837
|
}
|
|
3838
3838
|
}
|
|
3839
3839
|
if (req.method === "GET" && p === "/api/shares") {
|
|
3840
|
-
const { listShares } = await import("./agentShare-
|
|
3840
|
+
const { listShares } = await import("./agentShare-C2oXrGvf.js");
|
|
3841
3841
|
return Response.json(listShares());
|
|
3842
3842
|
}
|
|
3843
3843
|
const revokeM = /^\/api\/share\/([^/]+)$/.exec(p);
|
|
3844
3844
|
if (req.method === "DELETE" && revokeM) {
|
|
3845
|
-
const { revokeShare } = await import("./agentShare-
|
|
3845
|
+
const { revokeShare } = await import("./agentShare-C2oXrGvf.js");
|
|
3846
3846
|
const ok = revokeShare(decodeURIComponent(revokeM[1]));
|
|
3847
3847
|
return new Response(ok ? "revoked" : "no such share", { status: ok ? 200 : 404 });
|
|
3848
3848
|
}
|
|
@@ -4155,7 +4155,7 @@ Options:
|
|
|
4155
4155
|
const shutdown = (resolve) => {
|
|
4156
4156
|
if (heartbeat) clearInterval(heartbeat);
|
|
4157
4157
|
closeShare?.();
|
|
4158
|
-
import("./agentShare-
|
|
4158
|
+
import("./agentShare-C2oXrGvf.js").then((m) => m.revokeAllShares()).catch(() => {});
|
|
4159
4159
|
server?.stop();
|
|
4160
4160
|
Promise.resolve(releaseHostLock?.()).catch(() => {}).then(resolve);
|
|
4161
4161
|
};
|
|
@@ -4168,4 +4168,4 @@ Options:
|
|
|
4168
4168
|
|
|
4169
4169
|
//#endregion
|
|
4170
4170
|
export { cmdServe, inspectServeDaemon, loadTokenReadOnly, mintScopedTermToken, resolveDaemonHttpBase, resolveLocalServeUrl };
|
|
4171
|
-
//# sourceMappingURL=serve-
|
|
4171
|
+
//# sourceMappingURL=serve-C38WYmzz.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-C38WYmzz.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-CeAisuhv.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-76_apYb8.js");
|
|
247
|
-
const { findAyrsBinary } = await import("./rustBinary-
|
|
247
|
+
const { findAyrsBinary } = await import("./rustBinary-BjsZbiv5.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-_TPYAGWC.js");
|
|
262
262
|
const { parseWebrtcLink } = await import("./webrtcLink-WxS1nTIs.js");
|
|
263
|
-
const { isPidAlive } = await import("./subcommands-
|
|
263
|
+
const { isPidAlive } = await import("./subcommands-DLQEC24N.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-C38WYmzz.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-C38WYmzz.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-foO5MbJp.js.map
|
|
@@ -2070,7 +2070,7 @@ async function runSubcommand(argv) {
|
|
|
2070
2070
|
switch (sub) {
|
|
2071
2071
|
case "ls":
|
|
2072
2072
|
case "list": return await cmdLs(rest);
|
|
2073
|
-
case "ps": return await (await import("./cmdPs-
|
|
2073
|
+
case "ps": return await (await import("./cmdPs-CfR5qCiO.js")).cmdPs(rest);
|
|
2074
2074
|
case "status": return await cmdStatus(rest);
|
|
2075
2075
|
case "whoami": return await cmdWhoami(rest);
|
|
2076
2076
|
case "result": return await cmdResult(rest);
|
|
@@ -2121,31 +2121,31 @@ async function runSubcommand(argv) {
|
|
|
2121
2121
|
return cmdCh(rest);
|
|
2122
2122
|
}
|
|
2123
2123
|
case "term": {
|
|
2124
|
-
const { cmdTerm } = await import("./terminal-
|
|
2124
|
+
const { cmdTerm } = await import("./terminal-CBbp6PfB.js");
|
|
2125
2125
|
return cmdTerm(rest);
|
|
2126
2126
|
}
|
|
2127
2127
|
case "widget": {
|
|
2128
|
-
const { cmdWidget } = await import("./widget-
|
|
2128
|
+
const { cmdWidget } = await import("./widget-CI7BtN94.js");
|
|
2129
2129
|
return cmdWidget(rest);
|
|
2130
2130
|
}
|
|
2131
2131
|
case "mint": {
|
|
2132
|
-
const { cmdMint } = await import("./widget-
|
|
2132
|
+
const { cmdMint } = await import("./widget-CI7BtN94.js");
|
|
2133
2133
|
return cmdMint(rest);
|
|
2134
2134
|
}
|
|
2135
2135
|
case "serve": {
|
|
2136
|
-
const { cmdServe } = await import("./serve-
|
|
2136
|
+
const { cmdServe } = await import("./serve-C38WYmzz.js");
|
|
2137
2137
|
return cmdServe(rest);
|
|
2138
2138
|
}
|
|
2139
2139
|
case "tray": {
|
|
2140
|
-
const { cmdTray } = await import("./trayApp-
|
|
2140
|
+
const { cmdTray } = await import("./trayApp-BSOmax2E.js");
|
|
2141
2141
|
return cmdTray(rest);
|
|
2142
2142
|
}
|
|
2143
2143
|
case "setup": {
|
|
2144
|
-
const { cmdSetup } = await import("./setup-
|
|
2144
|
+
const { cmdSetup } = await import("./setup-CeAisuhv.js");
|
|
2145
2145
|
return cmdSetup(rest);
|
|
2146
2146
|
}
|
|
2147
2147
|
case "ws": {
|
|
2148
|
-
const { cmdWs } = await import("./ws-
|
|
2148
|
+
const { cmdWs } = await import("./ws-W5nWHjDt.js");
|
|
2149
2149
|
return cmdWs(rest);
|
|
2150
2150
|
}
|
|
2151
2151
|
case "schedules":
|
|
@@ -2158,7 +2158,7 @@ async function runSubcommand(argv) {
|
|
|
2158
2158
|
return cmdCron(rest);
|
|
2159
2159
|
}
|
|
2160
2160
|
case "schedule": {
|
|
2161
|
-
const { cmdSchedule } = await import("./schedule-
|
|
2161
|
+
const { cmdSchedule } = await import("./schedule-zacFV53l.js");
|
|
2162
2162
|
return cmdSchedule(rest);
|
|
2163
2163
|
}
|
|
2164
2164
|
case "remote": {
|
|
@@ -2166,7 +2166,7 @@ async function runSubcommand(argv) {
|
|
|
2166
2166
|
return cmdRemote(rest);
|
|
2167
2167
|
}
|
|
2168
2168
|
case "share": {
|
|
2169
|
-
const { cmdShare } = await import("./shareCmd-
|
|
2169
|
+
const { cmdShare } = await import("./shareCmd-foO5MbJp.js");
|
|
2170
2170
|
return cmdShare(rest);
|
|
2171
2171
|
}
|
|
2172
2172
|
case "connect": {
|
|
@@ -2178,7 +2178,7 @@ async function runSubcommand(argv) {
|
|
|
2178
2178
|
return cmdExpose(rest);
|
|
2179
2179
|
}
|
|
2180
2180
|
case "callback": {
|
|
2181
|
-
const { cmdCallback } = await import("./callback-
|
|
2181
|
+
const { cmdCallback } = await import("./callback-CNL-PGwh.js");
|
|
2182
2182
|
return cmdCallback(rest);
|
|
2183
2183
|
}
|
|
2184
2184
|
case "reap":
|
|
@@ -2189,7 +2189,7 @@ async function runSubcommand(argv) {
|
|
|
2189
2189
|
return await cmdDsh(rest);
|
|
2190
2190
|
}
|
|
2191
2191
|
case "gc": {
|
|
2192
|
-
const { gcOldBinaryDirs } = await import("./rustBinary-
|
|
2192
|
+
const { gcOldBinaryDirs } = await import("./rustBinary-BjsZbiv5.js");
|
|
2193
2193
|
const { gcLogs } = await import("./globalPidIndex-DmDCB_X7.js");
|
|
2194
2194
|
const bins = gcOldBinaryDirs();
|
|
2195
2195
|
const logs = await gcLogs();
|
|
@@ -6341,7 +6341,7 @@ async function cmdAttach(rest) {
|
|
|
6341
6341
|
const winsizeDir = path.join(ayHome, "winsize");
|
|
6342
6342
|
await mkdir(winsizeDir, { recursive: true });
|
|
6343
6343
|
const winsizePath = path.join(winsizeDir, String(record.pid));
|
|
6344
|
-
const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-
|
|
6344
|
+
const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-C38WYmzz.js");
|
|
6345
6345
|
const daemonBase = await resolveDaemonHttpBase().catch(() => null);
|
|
6346
6346
|
const daemonToken = daemonBase ? await loadTokenReadOnly().catch(() => null) ?? "" : "";
|
|
6347
6347
|
const capViewer = `attach:${process.pid}`;
|
|
@@ -7090,7 +7090,7 @@ async function cmdNotify(rest) {
|
|
|
7090
7090
|
}
|
|
7091
7091
|
const ensure = async () => {
|
|
7092
7092
|
if (!argv["ensure-daemon"]) return;
|
|
7093
|
-
const { ensureDaemon } = await import("./notifyDaemon-
|
|
7093
|
+
const { ensureDaemon } = await import("./notifyDaemon-DcAbvP43.js");
|
|
7094
7094
|
await ensureDaemon().catch(() => null);
|
|
7095
7095
|
};
|
|
7096
7096
|
await heartbeatWatcher(parent, selfStartedAt);
|
|
@@ -7164,7 +7164,7 @@ async function cmdNotifyCursor(args) {
|
|
|
7164
7164
|
}
|
|
7165
7165
|
async function cmdNotifyd(rest) {
|
|
7166
7166
|
const sub = rest[0] ?? "status";
|
|
7167
|
-
const daemon = await import("./notifyDaemon-
|
|
7167
|
+
const daemon = await import("./notifyDaemon-DcAbvP43.js");
|
|
7168
7168
|
switch (sub) {
|
|
7169
7169
|
case "run": return daemon.runDaemon();
|
|
7170
7170
|
case "once": return daemon.runDaemon({ once: true });
|
|
@@ -7191,4 +7191,4 @@ async function cmdNotifyd(rest) {
|
|
|
7191
7191
|
|
|
7192
7192
|
//#endregion
|
|
7193
7193
|
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 };
|
|
7194
|
-
//# sourceMappingURL=subcommands-
|
|
7194
|
+
//# sourceMappingURL=subcommands-DE31Tfv_.js.map
|
|
@@ -5,7 +5,7 @@ import "./pidStore-DUXifdBr.js";
|
|
|
5
5
|
import "./messageLog-CEqe4Hk1.js";
|
|
6
6
|
import "./e2e-BdLf8DvY.js";
|
|
7
7
|
import "./configShared-De4bR5hH.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-DE31Tfv_.js";
|
|
9
9
|
import "./webrtcLink-DcvacEci.js";
|
|
10
10
|
import "./remotes-CAZymHd7.js";
|
|
11
11
|
import "./roomReplyAlias-B1EJft2d.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-C38WYmzz.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-CBbp6PfB.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as findTrayLauncher } from "./rustBinary-
|
|
1
|
+
import { u as findTrayLauncher } from "./rustBinary-CXQGcJEm.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-C9SZOPpw.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-CG--tQsV.js";
|
|
4
4
|
import { t as agentYesHome } from "./agentYesHome-JmJC28YX.js";
|
|
5
5
|
import { u as removeControlCharacters } from "./todoAutomation-CKlrxuZv.js";
|
|
6
6
|
import { i as shouldUseLock, r as releaseLock, t as acquireLock } from "./runningLock-DMznYh45.js";
|
|
@@ -2155,7 +2155,7 @@ async function agentYes({ cli, cliArgs = [], skipPermissions = false, prompt, ro
|
|
|
2155
2155
|
}, 100);
|
|
2156
2156
|
const cleanupHeartbeat = () => clearInterval(heartbeatInterval);
|
|
2157
2157
|
shell.onExit(cleanupHeartbeat);
|
|
2158
|
-
const { startParentPingLoop } = await import("./parentPingLoop-
|
|
2158
|
+
const { startParentPingLoop } = await import("./parentPingLoop-BYT4XgfN.js");
|
|
2159
2159
|
const parentPingLoop = startParentPingLoop({
|
|
2160
2160
|
parentPid,
|
|
2161
2161
|
selfWrapperPid: process.pid,
|
|
@@ -2418,4 +2418,4 @@ function sleep(ms) {
|
|
|
2418
2418
|
|
|
2419
2419
|
//#endregion
|
|
2420
2420
|
export { hasTodoStore as a, permissionBadge as c, answerAsk as i, AgentContext as l, agentYes as n, listAsks as o, config as r, listAsksForProject as s, CLIS_CONFIG as t, CLAUDE_SESSION_PIN_ENV as u };
|
|
2421
|
-
//# sourceMappingURL=ts-
|
|
2421
|
+
//# sourceMappingURL=ts-CO1H1P2R.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.307.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-CG--tQsV.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-C38WYmzz.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-C38WYmzz.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-CI7BtN94.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as listRecords } from "./subcommands-
|
|
1
|
+
import { G as listRecords } from "./subcommands-DE31Tfv_.js";
|
|
2
2
|
import { a as getProvisionRoot } from "./workspaceConfig-DjEklzxf.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-DLJSBws6.js.map
|
|
@@ -5,12 +5,12 @@ import "./pidStore-DUXifdBr.js";
|
|
|
5
5
|
import "./messageLog-CEqe4Hk1.js";
|
|
6
6
|
import "./e2e-BdLf8DvY.js";
|
|
7
7
|
import "./configShared-De4bR5hH.js";
|
|
8
|
-
import "./subcommands-
|
|
8
|
+
import "./subcommands-DE31Tfv_.js";
|
|
9
9
|
import "./webrtcLink-DcvacEci.js";
|
|
10
10
|
import "./remotes-CAZymHd7.js";
|
|
11
11
|
import "./roomReplyAlias-B1EJft2d.js";
|
|
12
12
|
import "./notifyStore-DIfkfKB2.js";
|
|
13
13
|
import "./senderAncestry-CVHeKk1Y.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-DLJSBws6.js";
|
|
15
15
|
|
|
16
16
|
export { WS_JSON_SCHEMA, cmdWs, collectWorkspaces, isPathInside, loadProvision, walkWorkspaces, workspaceStatus };
|
package/package.json
CHANGED
package/dist/trayApp-8MN-AHfM.js
DELETED