agent-yes 1.302.1-beta.780.1 → 1.302.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{SUPPORTED_CLIS-B50FPv-j.js → SUPPORTED_CLIS-CNBBncE3.js} +2 -2
- package/dist/{SUPPORTED_CLIS-CaUIF-Z_.js → SUPPORTED_CLIS-CmzXJEui.js} +3 -3
- package/dist/{agentShare-OK7aksas.js → agentShare-Cl810NKM.js} +2 -2
- package/dist/{callback-TUwoj54B.js → callback-FGoFC8om.js} +2 -2
- package/dist/{callback-DzkxQxIn.js → callback-zMFnYwsJ.js} +3 -3
- package/dist/cli.js +5 -5
- package/dist/{cmdPs-CmsHkcSD.js → cmdPs-D2EqOHbX.js} +2 -2
- package/dist/index.js +2 -2
- package/dist/{notifyDaemon-9NbDpfhc.js → notifyDaemon-Cb_fbw4f.js} +2 -2
- package/dist/{parentPingLoop-L4Ix3Czp.js → parentPingLoop-CxGlfXtx.js} +2 -2
- package/dist/{rustBinary-ByuU1mcI.js → rustBinary-CdKZfsFO.js} +2 -2
- package/dist/{rustBinary-CoOIIKPl.js → rustBinary-TAG9KjfA.js} +2 -2
- package/dist/{schedule-BOUPZAgi.js → schedule-CXv0m_lY.js} +4 -4
- package/dist/{serve-Bkiks3SH.js → serve-D1mS0HGo.js} +20 -20
- package/dist/{setup-D3YHQ7D4.js → setup-BjCpfCKB.js} +2 -2
- package/dist/{shareCmd-hVU4VN89.js → shareCmd-DgpP8FKm.js} +4 -4
- package/dist/{subcommands-dwnjvGZA.js → subcommands-9u1ssw3u.js} +1 -1
- package/dist/{subcommands-B1N-AW_V.js → subcommands-Dk6tKM6B.js} +16 -16
- package/dist/{terminal-KamR1jQA.js → terminal-D9TFbA7o.js} +2 -2
- package/dist/{trayApp-O1UOad-x.js → trayApp-C3W5js5E.js} +2 -2
- package/dist/trayApp-CL67LMa0.js +5 -0
- package/dist/{ts-C44pzD1B.js → ts-hQmDVOPh.js} +3 -3
- package/dist/{versionChecker-CJ-jmNsz.js → versionChecker-5Ku8-XVc.js} +2 -2
- package/dist/{widget-DGo4rLqY.js → widget-WjEcwJva.js} +3 -3
- package/dist/{ws-DGj90Xwd.js → ws-MMgJ4-yD.js} +2 -2
- package/dist/{ws-B6hjKoMo.js → ws-tVhgSZfa.js} +2 -2
- package/package.json +1 -1
- package/dist/trayApp-DyX5nsBP.js +0 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as CLIS_CONFIG } from "./ts-
|
|
1
|
+
import { t as CLIS_CONFIG } from "./ts-hQmDVOPh.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-CNBBncE3.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import "./versionChecker-
|
|
3
|
-
import "./ts-
|
|
2
|
+
import "./versionChecker-5Ku8-XVc.js";
|
|
3
|
+
import "./ts-hQmDVOPh.js";
|
|
4
4
|
import "./todoAutomation-CbVVS4re.js";
|
|
5
5
|
import "./JsonlStore-BqF7AQ6E.js";
|
|
6
6
|
import "./globalPidIndex-CRH9L9tn.js";
|
|
7
7
|
import "./pidStore-DXWqzTSz.js";
|
|
8
8
|
import "./messageLog-Brx3w6zT.js";
|
|
9
9
|
import "./todoStore-DF6vxHgV.js";
|
|
10
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
10
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CNBBncE3.js";
|
|
11
11
|
|
|
12
12
|
export { SUPPORTED_CLIS };
|
|
@@ -5,7 +5,7 @@ import "./pidStore-DXWqzTSz.js";
|
|
|
5
5
|
import "./messageLog-Brx3w6zT.js";
|
|
6
6
|
import "./e2e-z1xpwSAg.js";
|
|
7
7
|
import "./configShared-DKTgiz7K.js";
|
|
8
|
-
import { nt as resolveOne } from "./subcommands-
|
|
8
|
+
import { nt as resolveOne } from "./subcommands-Dk6tKM6B.js";
|
|
9
9
|
import "./notifyStore-2SWKGwZI.js";
|
|
10
10
|
import "./webrtcLink-DFRyWNMs.js";
|
|
11
11
|
import "./remotes-B4CNXwDS.js";
|
|
@@ -232,4 +232,4 @@ function transformEvent(rawEvent, agentId, forwarded) {
|
|
|
232
232
|
|
|
233
233
|
//#endregion
|
|
234
234
|
export { createScopedShare, listShares, revokeAllShares, revokeShare };
|
|
235
|
-
//# sourceMappingURL=agentShare-
|
|
235
|
+
//# sourceMappingURL=agentShare-Cl810NKM.js.map
|
|
@@ -5,11 +5,11 @@ import "./pidStore-DXWqzTSz.js";
|
|
|
5
5
|
import "./messageLog-Brx3w6zT.js";
|
|
6
6
|
import "./e2e-z1xpwSAg.js";
|
|
7
7
|
import "./configShared-DKTgiz7K.js";
|
|
8
|
-
import "./subcommands-
|
|
8
|
+
import "./subcommands-Dk6tKM6B.js";
|
|
9
9
|
import "./notifyStore-2SWKGwZI.js";
|
|
10
10
|
import "./webrtcLink-DFRyWNMs.js";
|
|
11
11
|
import "./remotes-B4CNXwDS.js";
|
|
12
12
|
import "./callbackCore-Bl2gGcxg.js";
|
|
13
|
-
import { i as loadOrCreateCallbackSecret, n as isCallbackRevoked, r as loadCallbackSecretReadOnly, t as cmdCallback } from "./callback-
|
|
13
|
+
import { i as loadOrCreateCallbackSecret, n as isCallbackRevoked, r as loadCallbackSecretReadOnly, t as cmdCallback } from "./callback-zMFnYwsJ.js";
|
|
14
14
|
|
|
15
15
|
export { cmdCallback };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as agentYesHome } from "./agentYesHome-BNtn19J4.js";
|
|
2
|
-
import { nt as resolveOne } from "./subcommands-
|
|
2
|
+
import { nt as resolveOne } from "./subcommands-Dk6tKM6B.js";
|
|
3
3
|
import { a as mintCapability, o as parseExpires } from "./callbackCore-Bl2gGcxg.js";
|
|
4
4
|
import { randomBytes } from "node:crypto";
|
|
5
5
|
import { chmodSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
@@ -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-D1mS0HGo.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-zMFnYwsJ.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 { p as getRustBinary } from "./rustBinary-
|
|
4
|
+
import { a as versionString, r as displayVersion, t as checkAndAutoUpdate } from "./versionChecker-5Ku8-XVc.js";
|
|
5
|
+
import { p as getRustBinary } from "./rustBinary-TAG9KjfA.js";
|
|
6
6
|
import { argv } from "process";
|
|
7
7
|
import { spawn } from "child_process";
|
|
8
8
|
import ms from "ms";
|
|
@@ -295,7 +295,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
|
|
|
295
295
|
const rawArg = process.argv[2];
|
|
296
296
|
const managerCommands = !invokedCliName(process.argv);
|
|
297
297
|
const isHelpFlag = rawArg === "-h" || rawArg === "--help";
|
|
298
|
-
const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken, isBareManagerInvocation } = await import("./subcommands-
|
|
298
|
+
const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken, isBareManagerInvocation } = await import("./subcommands-9u1ssw3u.js");
|
|
299
299
|
if (isHelpFlag && process.argv.length === 3) {
|
|
300
300
|
await cmdHelp(managerCommands);
|
|
301
301
|
process.exit(0);
|
|
@@ -309,7 +309,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
|
|
|
309
309
|
process.exit(code ?? 0);
|
|
310
310
|
}
|
|
311
311
|
{
|
|
312
|
-
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-
|
|
312
|
+
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-CmzXJEui.js");
|
|
313
313
|
if (isUnknownManagerToken(rawArg, managerCommands, SUPPORTED_CLIS)) {
|
|
314
314
|
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`);
|
|
315
315
|
process.exit(1);
|
|
@@ -360,7 +360,7 @@ if (config.useRust) {
|
|
|
360
360
|
}
|
|
361
361
|
}
|
|
362
362
|
if (rustBinary) {
|
|
363
|
-
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-
|
|
363
|
+
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-CmzXJEui.js");
|
|
364
364
|
const rustArgs = buildRustArgs(process.argv, config.cli, SUPPORTED_CLIS);
|
|
365
365
|
if (config.verbose) {
|
|
366
366
|
console.log(`[rust] Using binary: ${rustBinary}`);
|
|
@@ -5,7 +5,7 @@ import "./pidStore-DXWqzTSz.js";
|
|
|
5
5
|
import "./messageLog-Brx3w6zT.js";
|
|
6
6
|
import "./e2e-z1xpwSAg.js";
|
|
7
7
|
import "./configShared-DKTgiz7K.js";
|
|
8
|
-
import { V as listRecords, bt as flattenForest, v as deriveLiveState, yt as buildAgentForest } from "./subcommands-
|
|
8
|
+
import { V as listRecords, bt as flattenForest, v as deriveLiveState, yt as buildAgentForest } from "./subcommands-Dk6tKM6B.js";
|
|
9
9
|
import "./notifyStore-2SWKGwZI.js";
|
|
10
10
|
import "./webrtcLink-DFRyWNMs.js";
|
|
11
11
|
import "./remotes-B4CNXwDS.js";
|
|
@@ -330,4 +330,4 @@ function readPpidSync(pid) {
|
|
|
330
330
|
|
|
331
331
|
//#endregion
|
|
332
332
|
export { cmdPs };
|
|
333
|
-
//# sourceMappingURL=cmdPs-
|
|
333
|
+
//# sourceMappingURL=cmdPs-D2EqOHbX.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-5Ku8-XVc.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-hQmDVOPh.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-CbVVS4re.js";
|
|
5
5
|
import "./JsonlStore-BqF7AQ6E.js";
|
|
6
6
|
import "./globalPidIndex-CRH9L9tn.js";
|
|
@@ -5,7 +5,7 @@ import "./pidStore-DXWqzTSz.js";
|
|
|
5
5
|
import "./messageLog-Brx3w6zT.js";
|
|
6
6
|
import "./e2e-z1xpwSAg.js";
|
|
7
7
|
import "./configShared-DKTgiz7K.js";
|
|
8
|
-
import { $ as renderLogTailLines, N as isPidAlive, V as listRecords, v as deriveLiveState } from "./subcommands-
|
|
8
|
+
import { $ as renderLogTailLines, N as isPidAlive, V as listRecords, v as deriveLiveState } from "./subcommands-Dk6tKM6B.js";
|
|
9
9
|
import { f as readInbox, g as daemonLockOwnerPath, h as daemonLockDir, i as gcInboxes, l as listInboxParents, m as shouldStealLock, n as appendEvent, s as hostId, u as liveWatchers, x as notifyDir } from "./notifyStore-2SWKGwZI.js";
|
|
10
10
|
import "./webrtcLink-DFRyWNMs.js";
|
|
11
11
|
import "./remotes-B4CNXwDS.js";
|
|
@@ -879,4 +879,4 @@ async function ensureDaemon() {
|
|
|
879
879
|
|
|
880
880
|
//#endregion
|
|
881
881
|
export { daemonStatus, ensureDaemon, requestDaemonStop, runDaemon };
|
|
882
|
-
//# sourceMappingURL=notifyDaemon-
|
|
882
|
+
//# sourceMappingURL=notifyDaemon-Cb_fbw4f.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-9u1ssw3u.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-CxGlfXtx.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./versionChecker-
|
|
2
|
-
import { a as findAyrsBinary, c as findTrayLauncher, d as getBinaryName, f as getDownloadUrl, i as ensureExecutable, l as gcOldBinaryDirs, m as hasValidMacSignature, n as devBuildInfo, o as findRustBinary, p as getRustBinary, r as downloadBinary, s as findSpawnHiddenLauncher, t as chmodExtractedBinaries, u as getBinDir } from "./rustBinary-
|
|
1
|
+
import "./versionChecker-5Ku8-XVc.js";
|
|
2
|
+
import { a as findAyrsBinary, c as findTrayLauncher, d as getBinaryName, f as getDownloadUrl, i as ensureExecutable, l as gcOldBinaryDirs, m as hasValidMacSignature, n as devBuildInfo, o as findRustBinary, p as getRustBinary, r as downloadBinary, s as findSpawnHiddenLauncher, t as chmodExtractedBinaries, u as getBinDir } from "./rustBinary-TAG9KjfA.js";
|
|
3
3
|
|
|
4
4
|
export { 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-5Ku8-XVc.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";
|
|
@@ -414,4 +414,4 @@ async function getRustBinary(options = {}) {
|
|
|
414
414
|
|
|
415
415
|
//#endregion
|
|
416
416
|
export { findAyrsBinary as a, findTrayLauncher as c, getBinaryName as d, getDownloadUrl as f, ensureExecutable as i, gcOldBinaryDirs as l, hasValidMacSignature as m, devBuildInfo as n, findRustBinary as o, getRustBinary as p, downloadBinary as r, findSpawnHiddenLauncher as s, chmodExtractedBinaries as t, getBinDir as u };
|
|
417
|
-
//# sourceMappingURL=rustBinary-
|
|
417
|
+
//# sourceMappingURL=rustBinary-TAG9KjfA.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import "./versionChecker-
|
|
3
|
-
import "./ts-
|
|
2
|
+
import "./versionChecker-5Ku8-XVc.js";
|
|
3
|
+
import "./ts-hQmDVOPh.js";
|
|
4
4
|
import "./todoAutomation-CbVVS4re.js";
|
|
5
5
|
import "./JsonlStore-BqF7AQ6E.js";
|
|
6
6
|
import "./globalPidIndex-CRH9L9tn.js";
|
|
7
7
|
import "./pidStore-DXWqzTSz.js";
|
|
8
8
|
import "./messageLog-Brx3w6zT.js";
|
|
9
9
|
import "./todoStore-DF6vxHgV.js";
|
|
10
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
10
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CNBBncE3.js";
|
|
11
11
|
import { f as resolveSpawnCwd } from "./workspaceConfig-DTvPtr5j.js";
|
|
12
12
|
import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-CipjIwfO.js";
|
|
13
13
|
import { createHash } from "node:crypto";
|
|
@@ -154,4 +154,4 @@ async function cmdSchedule(rest) {
|
|
|
154
154
|
|
|
155
155
|
//#endregion
|
|
156
156
|
export { cmdSchedule };
|
|
157
|
-
//# sourceMappingURL=schedule-
|
|
157
|
+
//# sourceMappingURL=schedule-CXv0m_lY.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import { i as getInstalledPackage } from "./versionChecker-
|
|
3
|
-
import { s 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-5Ku8-XVc.js";
|
|
3
|
+
import { s as findSpawnHiddenLauncher } from "./rustBinary-TAG9KjfA.js";
|
|
4
|
+
import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-hQmDVOPh.js";
|
|
5
5
|
import { t as agentYesHome$1 } from "./agentYesHome-BNtn19J4.js";
|
|
6
6
|
import { u as removeControlCharacters } from "./todoAutomation-CbVVS4re.js";
|
|
7
7
|
import "./JsonlStore-BqF7AQ6E.js";
|
|
@@ -12,19 +12,19 @@ import { t as pgidForWrapper } from "./reaper-UimuuTfO.js";
|
|
|
12
12
|
import "./todoStore-DF6vxHgV.js";
|
|
13
13
|
import "./e2e-z1xpwSAg.js";
|
|
14
14
|
import "./configShared-DKTgiz7K.js";
|
|
15
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
16
|
-
import { $ as renderLogTailLines, C as extractBadges, E as extractTaskCounts, J as readLogForRender, P as isSlashCommand, Q as recentReadEdges, R as isUserTyping, T as extractNeedsInput, V as listRecords, X as readPtysize, Y as readNotes, Z as recentMessageEdges, _t as shouldFramePaste, ct as snapshotStatus, et as renderRawLog, f as cliDefaults, gt as framePaste, h as controlCodeFromName, ht as withIpcLock, mt as writeToIpc, nt as resolveOne, tt as renderRawLogLines, vt as TYPING_BADGE, y as deriveLiveStatus } from "./subcommands-
|
|
15
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CNBBncE3.js";
|
|
16
|
+
import { $ as renderLogTailLines, C as extractBadges, E as extractTaskCounts, J as readLogForRender, P as isSlashCommand, Q as recentReadEdges, R as isUserTyping, T as extractNeedsInput, V as listRecords, X as readPtysize, Y as readNotes, Z as recentMessageEdges, _t as shouldFramePaste, ct as snapshotStatus, et as renderRawLog, f as cliDefaults, gt as framePaste, h as controlCodeFromName, ht as withIpcLock, mt as writeToIpc, nt as resolveOne, tt as renderRawLogLines, vt as TYPING_BADGE, y as deriveLiveStatus } from "./subcommands-Dk6tKM6B.js";
|
|
17
17
|
import { c as isTransientLockMkdirError } from "./notifyStore-2SWKGwZI.js";
|
|
18
18
|
import { i as toWebrtcUrl, n as isWebrtcSpec } from "./webrtcLink-DFRyWNMs.js";
|
|
19
19
|
import "./remotes-B4CNXwDS.js";
|
|
20
20
|
import { i as frameVisitorMessage, s as verifyCapability, t as MAX_CALLBACK_MSG_BYTES } from "./callbackCore-Bl2gGcxg.js";
|
|
21
|
-
import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-
|
|
21
|
+
import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-zMFnYwsJ.js";
|
|
22
22
|
import { n as sampleTrees } from "./procStats-CyD8h5nx.js";
|
|
23
23
|
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-DTvPtr5j.js";
|
|
24
24
|
import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-CipjIwfO.js";
|
|
25
|
-
import { i as importProvisionModule } from "./ws-
|
|
25
|
+
import { i as importProvisionModule } from "./ws-MMgJ4-yD.js";
|
|
26
26
|
import { r as spawnRejectionReason } from "./spawnGate-YpHopveO.js";
|
|
27
|
-
import { i as launchTray } from "./trayApp-
|
|
27
|
+
import { i as launchTray } from "./trayApp-C3W5js5E.js";
|
|
28
28
|
import yargs from "yargs";
|
|
29
29
|
import { appendFile, mkdir, open, readFile, readdir, rename, rm, stat, unlink, writeFile } from "fs/promises";
|
|
30
30
|
import { arch, cpus, freemem, homedir, hostname, loadavg, platform, totalmem, uptime, userInfo } from "os";
|
|
@@ -1344,7 +1344,7 @@ async function warnStrayServeProcesses() {
|
|
|
1344
1344
|
}
|
|
1345
1345
|
async function daemonShareRuntime(args) {
|
|
1346
1346
|
const { daemonShareRuntime: decide } = await import("./serveRust-BAawe83i.js");
|
|
1347
|
-
const { findAyrsBinary } = await import("./rustBinary-
|
|
1347
|
+
const { findAyrsBinary } = await import("./rustBinary-CdKZfsFO.js");
|
|
1348
1348
|
return decide(args, () => !!findAyrsBinary());
|
|
1349
1349
|
}
|
|
1350
1350
|
function explicitWebrtcUrl(args) {
|
|
@@ -1642,7 +1642,7 @@ async function cmdServeStatus(args) {
|
|
|
1642
1642
|
const token = await loadTokenReadOnly();
|
|
1643
1643
|
const daemonArgs = mgr ? await readDaemonServeArgs(mgr) : null;
|
|
1644
1644
|
const installed = daemonArgs !== null;
|
|
1645
|
-
const { daemonShareLink } = await import("./shareCmd-
|
|
1645
|
+
const { daemonShareLink } = await import("./shareCmd-DgpP8FKm.js");
|
|
1646
1646
|
const shareLink = (installed ? await daemonShareLink(daemonArgs) : null) ?? await readShareLink();
|
|
1647
1647
|
const running = installed ? await readDaemonRunning(mgr) : false;
|
|
1648
1648
|
const a = daemonArgs ?? [];
|
|
@@ -1772,7 +1772,7 @@ Options:
|
|
|
1772
1772
|
const { planRustServe } = await import("./serveRust-BAawe83i.js");
|
|
1773
1773
|
const plan = planRustServe(rest);
|
|
1774
1774
|
if (plan.kind === "rust") {
|
|
1775
|
-
const { findAyrsBinary } = await import("./rustBinary-
|
|
1775
|
+
const { findAyrsBinary } = await import("./rustBinary-CdKZfsFO.js");
|
|
1776
1776
|
const ayrs = findAyrsBinary();
|
|
1777
1777
|
if (ayrs) return runAyrsServe(ayrs, plan.argv);
|
|
1778
1778
|
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");
|
|
@@ -2747,7 +2747,7 @@ Options:
|
|
|
2747
2747
|
}
|
|
2748
2748
|
});
|
|
2749
2749
|
if (req.method === "GET" && p === "/api/ws") {
|
|
2750
|
-
const ws = await import("./ws-
|
|
2750
|
+
const ws = await import("./ws-tVhgSZfa.js");
|
|
2751
2751
|
try {
|
|
2752
2752
|
await ws.loadProvision();
|
|
2753
2753
|
} catch (e) {
|
|
@@ -2767,7 +2767,7 @@ Options:
|
|
|
2767
2767
|
if (req.method === "GET" && p === "/api/ws/status") {
|
|
2768
2768
|
const dirRaw = url.searchParams.get("path");
|
|
2769
2769
|
if (!dirRaw) return new Response("missing ?path=<workspace dir>", { status: 400 });
|
|
2770
|
-
const ws = await import("./ws-
|
|
2770
|
+
const ws = await import("./ws-tVhgSZfa.js");
|
|
2771
2771
|
let prov;
|
|
2772
2772
|
try {
|
|
2773
2773
|
prov = await ws.loadProvision();
|
|
@@ -2789,7 +2789,7 @@ Options:
|
|
|
2789
2789
|
}
|
|
2790
2790
|
}
|
|
2791
2791
|
if (req.method === "GET" && p === "/api/ws/repos") {
|
|
2792
|
-
const ws = await import("./ws-
|
|
2792
|
+
const ws = await import("./ws-tVhgSZfa.js");
|
|
2793
2793
|
try {
|
|
2794
2794
|
await ws.loadProvision();
|
|
2795
2795
|
} catch (e) {
|
|
@@ -2870,7 +2870,7 @@ Options:
|
|
|
2870
2870
|
const m = /^([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+)$/.exec(repoParam);
|
|
2871
2871
|
if (!m || m[1] === "." || m[1] === ".." || m[2] === "." || m[2] === "..") return new Response("missing/invalid ?repo=<owner>/<repo>", { status: 400 });
|
|
2872
2872
|
const [, owner, repo] = m;
|
|
2873
|
-
const ws = await import("./ws-
|
|
2873
|
+
const ws = await import("./ws-tVhgSZfa.js");
|
|
2874
2874
|
let prov;
|
|
2875
2875
|
try {
|
|
2876
2876
|
prov = await ws.loadProvision();
|
|
@@ -3788,7 +3788,7 @@ Options:
|
|
|
3788
3788
|
const perm = body.perm ?? "r";
|
|
3789
3789
|
if (perm !== "r" && perm !== "rw") return new Response(`invalid perm ${perm} (want r or rw)`, { status: 400 });
|
|
3790
3790
|
try {
|
|
3791
|
-
const { createScopedShare } = await import("./agentShare-
|
|
3791
|
+
const { createScopedShare } = await import("./agentShare-Cl810NKM.js");
|
|
3792
3792
|
const share = await createScopedShare({
|
|
3793
3793
|
agent: body.agent,
|
|
3794
3794
|
perm,
|
|
@@ -3803,12 +3803,12 @@ Options:
|
|
|
3803
3803
|
}
|
|
3804
3804
|
}
|
|
3805
3805
|
if (req.method === "GET" && p === "/api/shares") {
|
|
3806
|
-
const { listShares } = await import("./agentShare-
|
|
3806
|
+
const { listShares } = await import("./agentShare-Cl810NKM.js");
|
|
3807
3807
|
return Response.json(listShares());
|
|
3808
3808
|
}
|
|
3809
3809
|
const revokeM = /^\/api\/share\/([^/]+)$/.exec(p);
|
|
3810
3810
|
if (req.method === "DELETE" && revokeM) {
|
|
3811
|
-
const { revokeShare } = await import("./agentShare-
|
|
3811
|
+
const { revokeShare } = await import("./agentShare-Cl810NKM.js");
|
|
3812
3812
|
const ok = revokeShare(decodeURIComponent(revokeM[1]));
|
|
3813
3813
|
return new Response(ok ? "revoked" : "no such share", { status: ok ? 200 : 404 });
|
|
3814
3814
|
}
|
|
@@ -4120,7 +4120,7 @@ Options:
|
|
|
4120
4120
|
const shutdown = (resolve) => {
|
|
4121
4121
|
if (heartbeat) clearInterval(heartbeat);
|
|
4122
4122
|
closeShare?.();
|
|
4123
|
-
import("./agentShare-
|
|
4123
|
+
import("./agentShare-Cl810NKM.js").then((m) => m.revokeAllShares()).catch(() => {});
|
|
4124
4124
|
server?.stop();
|
|
4125
4125
|
Promise.resolve(releaseHostLock?.()).catch(() => {}).then(resolve);
|
|
4126
4126
|
};
|
|
@@ -4133,4 +4133,4 @@ Options:
|
|
|
4133
4133
|
|
|
4134
4134
|
//#endregion
|
|
4135
4135
|
export { cmdServe, inspectServeDaemon, loadTokenReadOnly, mintScopedTermToken, resolveDaemonHttpBase, resolveLocalServeUrl };
|
|
4136
|
-
//# sourceMappingURL=serve-
|
|
4136
|
+
//# sourceMappingURL=serve-D1mS0HGo.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-D1mS0HGo.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-BjCpfCKB.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-BAawe83i.js");
|
|
247
|
-
const { findAyrsBinary } = await import("./rustBinary-
|
|
247
|
+
const { findAyrsBinary } = await import("./rustBinary-CdKZfsFO.js");
|
|
248
248
|
return daemonShareRuntime(args ?? [], () => !!findAyrsBinary());
|
|
249
249
|
}
|
|
250
250
|
async function daemonShareLink(args) {
|
|
@@ -258,7 +258,7 @@ async function daemonShareLink(args) {
|
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
async function cmdShareStatus(mount) {
|
|
261
|
-
const { inspectServeDaemon } = await import("./serve-
|
|
261
|
+
const { inspectServeDaemon } = await import("./serve-D1mS0HGo.js");
|
|
262
262
|
const [d, ts] = await Promise.all([inspectServeDaemon(), detectTailscale()]);
|
|
263
263
|
const line = (k, v) => process.stdout.write(`${k.padEnd(11)}${v}\n`);
|
|
264
264
|
if (d.args === null) {
|
|
@@ -305,7 +305,7 @@ async function cmdShare(rest) {
|
|
|
305
305
|
process.stderr.write(`ay share: unknown mode '${mode}' — one of ${SHARE_MODES.join(", ")}\n`);
|
|
306
306
|
return 1;
|
|
307
307
|
}
|
|
308
|
-
const { inspectServeDaemon, cmdServe } = await import("./serve-
|
|
308
|
+
const { inspectServeDaemon, cmdServe } = await import("./serve-D1mS0HGo.js");
|
|
309
309
|
const [daemon, ts] = await Promise.all([inspectServeDaemon(), detectTailscale()]);
|
|
310
310
|
const lanIp = pickLanIp(networkInterfaces());
|
|
311
311
|
if (!mode) {
|
|
@@ -430,4 +430,4 @@ async function cmdShare(rest) {
|
|
|
430
430
|
|
|
431
431
|
//#endregion
|
|
432
432
|
export { cmdShare, daemonShareLink };
|
|
433
|
-
//# sourceMappingURL=shareCmd-
|
|
433
|
+
//# sourceMappingURL=shareCmd-DgpP8FKm.js.map
|
|
@@ -5,7 +5,7 @@ import "./pidStore-DXWqzTSz.js";
|
|
|
5
5
|
import "./messageLog-Brx3w6zT.js";
|
|
6
6
|
import "./e2e-z1xpwSAg.js";
|
|
7
7
|
import "./configShared-DKTgiz7K.js";
|
|
8
|
-
import { $ as renderLogTailLines, A as isAgentStuck, B as lastStdinAt, C as extractBadges, D as finalizedLines, E as extractTaskCounts, F as isSubcommand, G as probeStdinReachable, H as matchKeyword, I as isUnknownManagerToken, J as readLogForRender, K as readAgentPtysize, L as isUnreachableWriteErrno, M as isExitRequest, N as isPidAlive, O as inspectSubmission, P as isSlashCommand, Q as recentReadEdges, R as isUserTyping, S as envelopeCostFor, T as extractNeedsInput, U as menuSelectKeys, V as listRecords, W as ownedCollapsedPaste, X as readPtysize, Y as readNotes, Z as recentMessageEdges, _ as cwdLabel, a as READ_WINDOW_MS, at as restartHintLines, b as drainerLauncher, c as SEND_EXIT_UNREACHABLE, ct as snapshotStatus, d as buildEnvelope, dt as submitAndConfirm, et as renderRawLog, f as cliDefaults, ft as waitForLogQuiet, g as cursorAbs, h as controlCodeFromName, i as READ_PAGE_DEFAULT, it as resolveResumeArgs, j as isBareManagerInvocation, k as isAgentIdShaped, l as TYPING_WINDOW_MS, lt as stdinActivityPath, m as confirmStdinUnreachable, mt as writeToIpc, n as GRACEFUL_EXIT_COMMANDS, nt as resolveOne, o as SEND_BODY_MAX_CHARS, ot as runSubcommand, p as cmdHelp, pt as writeKeysPaced, q as readComposerState, r as MAX_RENDER_BYTES, rt as resolveReadWindow, s as SEND_EXIT_QUEUED, st as sendPayloadCapError, t as COMPOSER_WINDOWS, tt as renderRawLogLines, u as backoffWhileTyping, ut as stopTipForCli, v as deriveLiveState, w as extractMenu, x as envelopeAttribution, y as deriveLiveStatus, z as lastReadAt } from "./subcommands-
|
|
8
|
+
import { $ as renderLogTailLines, A as isAgentStuck, B as lastStdinAt, C as extractBadges, D as finalizedLines, E as extractTaskCounts, F as isSubcommand, G as probeStdinReachable, H as matchKeyword, I as isUnknownManagerToken, J as readLogForRender, K as readAgentPtysize, L as isUnreachableWriteErrno, M as isExitRequest, N as isPidAlive, O as inspectSubmission, P as isSlashCommand, Q as recentReadEdges, R as isUserTyping, S as envelopeCostFor, T as extractNeedsInput, U as menuSelectKeys, V as listRecords, W as ownedCollapsedPaste, X as readPtysize, Y as readNotes, Z as recentMessageEdges, _ as cwdLabel, a as READ_WINDOW_MS, at as restartHintLines, b as drainerLauncher, c as SEND_EXIT_UNREACHABLE, ct as snapshotStatus, d as buildEnvelope, dt as submitAndConfirm, et as renderRawLog, f as cliDefaults, ft as waitForLogQuiet, g as cursorAbs, h as controlCodeFromName, i as READ_PAGE_DEFAULT, it as resolveResumeArgs, j as isBareManagerInvocation, k as isAgentIdShaped, l as TYPING_WINDOW_MS, lt as stdinActivityPath, m as confirmStdinUnreachable, mt as writeToIpc, n as GRACEFUL_EXIT_COMMANDS, nt as resolveOne, o as SEND_BODY_MAX_CHARS, ot as runSubcommand, p as cmdHelp, pt as writeKeysPaced, q as readComposerState, r as MAX_RENDER_BYTES, rt as resolveReadWindow, s as SEND_EXIT_QUEUED, st as sendPayloadCapError, t as COMPOSER_WINDOWS, tt as renderRawLogLines, u as backoffWhileTyping, ut as stopTipForCli, v as deriveLiveState, w as extractMenu, x as envelopeAttribution, y as deriveLiveStatus, z as lastReadAt } from "./subcommands-Dk6tKM6B.js";
|
|
9
9
|
import "./notifyStore-2SWKGwZI.js";
|
|
10
10
|
import "./webrtcLink-DFRyWNMs.js";
|
|
11
11
|
import "./remotes-B4CNXwDS.js";
|
|
@@ -2143,7 +2143,7 @@ async function runSubcommand(argv) {
|
|
|
2143
2143
|
switch (sub) {
|
|
2144
2144
|
case "ls":
|
|
2145
2145
|
case "list": return await cmdLs(rest);
|
|
2146
|
-
case "ps": return await (await import("./cmdPs-
|
|
2146
|
+
case "ps": return await (await import("./cmdPs-D2EqOHbX.js")).cmdPs(rest);
|
|
2147
2147
|
case "status": return await cmdStatus(rest);
|
|
2148
2148
|
case "whoami": return await cmdWhoami(rest);
|
|
2149
2149
|
case "result": return await cmdResult(rest);
|
|
@@ -2192,35 +2192,35 @@ async function runSubcommand(argv) {
|
|
|
2192
2192
|
return cmdCh(rest);
|
|
2193
2193
|
}
|
|
2194
2194
|
case "term": {
|
|
2195
|
-
const { cmdTerm } = await import("./terminal-
|
|
2195
|
+
const { cmdTerm } = await import("./terminal-D9TFbA7o.js");
|
|
2196
2196
|
return cmdTerm(rest);
|
|
2197
2197
|
}
|
|
2198
2198
|
case "widget": {
|
|
2199
|
-
const { cmdWidget } = await import("./widget-
|
|
2199
|
+
const { cmdWidget } = await import("./widget-WjEcwJva.js");
|
|
2200
2200
|
return cmdWidget(rest);
|
|
2201
2201
|
}
|
|
2202
2202
|
case "mint": {
|
|
2203
|
-
const { cmdMint } = await import("./widget-
|
|
2203
|
+
const { cmdMint } = await import("./widget-WjEcwJva.js");
|
|
2204
2204
|
return cmdMint(rest);
|
|
2205
2205
|
}
|
|
2206
2206
|
case "serve": {
|
|
2207
|
-
const { cmdServe } = await import("./serve-
|
|
2207
|
+
const { cmdServe } = await import("./serve-D1mS0HGo.js");
|
|
2208
2208
|
return cmdServe(rest);
|
|
2209
2209
|
}
|
|
2210
2210
|
case "tray": {
|
|
2211
|
-
const { cmdTray } = await import("./trayApp-
|
|
2211
|
+
const { cmdTray } = await import("./trayApp-CL67LMa0.js");
|
|
2212
2212
|
return cmdTray(rest);
|
|
2213
2213
|
}
|
|
2214
2214
|
case "setup": {
|
|
2215
|
-
const { cmdSetup } = await import("./setup-
|
|
2215
|
+
const { cmdSetup } = await import("./setup-BjCpfCKB.js");
|
|
2216
2216
|
return cmdSetup(rest);
|
|
2217
2217
|
}
|
|
2218
2218
|
case "ws": {
|
|
2219
|
-
const { cmdWs } = await import("./ws-
|
|
2219
|
+
const { cmdWs } = await import("./ws-tVhgSZfa.js");
|
|
2220
2220
|
return cmdWs(rest);
|
|
2221
2221
|
}
|
|
2222
2222
|
case "schedule": {
|
|
2223
|
-
const { cmdSchedule } = await import("./schedule-
|
|
2223
|
+
const { cmdSchedule } = await import("./schedule-CXv0m_lY.js");
|
|
2224
2224
|
return cmdSchedule(rest);
|
|
2225
2225
|
}
|
|
2226
2226
|
case "remote": {
|
|
@@ -2228,7 +2228,7 @@ async function runSubcommand(argv) {
|
|
|
2228
2228
|
return cmdRemote(rest);
|
|
2229
2229
|
}
|
|
2230
2230
|
case "share": {
|
|
2231
|
-
const { cmdShare } = await import("./shareCmd-
|
|
2231
|
+
const { cmdShare } = await import("./shareCmd-DgpP8FKm.js");
|
|
2232
2232
|
return cmdShare(rest);
|
|
2233
2233
|
}
|
|
2234
2234
|
case "connect": {
|
|
@@ -2240,7 +2240,7 @@ async function runSubcommand(argv) {
|
|
|
2240
2240
|
return cmdExpose(rest);
|
|
2241
2241
|
}
|
|
2242
2242
|
case "callback": {
|
|
2243
|
-
const { cmdCallback } = await import("./callback-
|
|
2243
|
+
const { cmdCallback } = await import("./callback-FGoFC8om.js");
|
|
2244
2244
|
return cmdCallback(rest);
|
|
2245
2245
|
}
|
|
2246
2246
|
case "reap":
|
|
@@ -2251,7 +2251,7 @@ async function runSubcommand(argv) {
|
|
|
2251
2251
|
return await cmdDsh(rest);
|
|
2252
2252
|
}
|
|
2253
2253
|
case "gc": {
|
|
2254
|
-
const { gcOldBinaryDirs } = await import("./rustBinary-
|
|
2254
|
+
const { gcOldBinaryDirs } = await import("./rustBinary-CdKZfsFO.js");
|
|
2255
2255
|
const { gcLogs } = await import("./globalPidIndex-DC93JhHQ.js");
|
|
2256
2256
|
const bins = gcOldBinaryDirs();
|
|
2257
2257
|
const logs = await gcLogs();
|
|
@@ -6005,7 +6005,7 @@ async function cmdAttach(rest) {
|
|
|
6005
6005
|
const winsizeDir = path.join(ayHome, "winsize");
|
|
6006
6006
|
await mkdir(winsizeDir, { recursive: true });
|
|
6007
6007
|
const winsizePath = path.join(winsizeDir, String(record.pid));
|
|
6008
|
-
const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-
|
|
6008
|
+
const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-D1mS0HGo.js");
|
|
6009
6009
|
const daemonBase = await resolveDaemonHttpBase().catch(() => null);
|
|
6010
6010
|
const daemonToken = daemonBase ? await loadTokenReadOnly().catch(() => null) ?? "" : "";
|
|
6011
6011
|
const capViewer = `attach:${process.pid}`;
|
|
@@ -6754,7 +6754,7 @@ async function cmdNotify(rest) {
|
|
|
6754
6754
|
}
|
|
6755
6755
|
const ensure = async () => {
|
|
6756
6756
|
if (!argv["ensure-daemon"]) return;
|
|
6757
|
-
const { ensureDaemon } = await import("./notifyDaemon-
|
|
6757
|
+
const { ensureDaemon } = await import("./notifyDaemon-Cb_fbw4f.js");
|
|
6758
6758
|
await ensureDaemon().catch(() => null);
|
|
6759
6759
|
};
|
|
6760
6760
|
await heartbeatWatcher(parent, selfStartedAt);
|
|
@@ -6828,7 +6828,7 @@ async function cmdNotifyCursor(args) {
|
|
|
6828
6828
|
}
|
|
6829
6829
|
async function cmdNotifyd(rest) {
|
|
6830
6830
|
const sub = rest[0] ?? "status";
|
|
6831
|
-
const daemon = await import("./notifyDaemon-
|
|
6831
|
+
const daemon = await import("./notifyDaemon-Cb_fbw4f.js");
|
|
6832
6832
|
switch (sub) {
|
|
6833
6833
|
case "run": return daemon.runDaemon();
|
|
6834
6834
|
case "once": return daemon.runDaemon({ once: true });
|
|
@@ -6855,4 +6855,4 @@ async function cmdNotifyd(rest) {
|
|
|
6855
6855
|
|
|
6856
6856
|
//#endregion
|
|
6857
6857
|
export { renderLogTailLines as $, isAgentStuck as A, lastStdinAt as B, extractBadges as C, finalizedLines as D, extractTaskCounts as E, isSubcommand as F, probeStdinReachable as G, matchKeyword as H, isUnknownManagerToken as I, readLogForRender as J, readAgentPtysize as K, isUnreachableWriteErrno as L, isExitRequest as M, isPidAlive as N, inspectSubmission as O, isSlashCommand as P, recentReadEdges as Q, isUserTyping as R, envelopeCostFor as S, extractNeedsInput as T, menuSelectKeys as U, listRecords as V, ownedCollapsedPaste as W, readPtysize as X, readNotes as Y, recentMessageEdges as Z, cwdLabel as _, shouldFramePaste as _t, READ_WINDOW_MS as a, restartHintLines as at, drainerLauncher as b, flattenForest as bt, SEND_EXIT_UNREACHABLE as c, snapshotStatus as ct, buildEnvelope as d, submitAndConfirm as dt, renderRawLog as et, cliDefaults as f, waitForLogQuiet as ft, cursorAbs as g, framePaste as gt, controlCodeFromName as h, withIpcLock as ht, READ_PAGE_DEFAULT as i, resolveResumeArgs as it, isBareManagerInvocation as j, isAgentIdShaped as k, TYPING_WINDOW_MS as l, stdinActivityPath as lt, confirmStdinUnreachable as m, writeToIpc as mt, GRACEFUL_EXIT_COMMANDS as n, resolveOne as nt, SEND_BODY_MAX_CHARS as o, runSubcommand as ot, cmdHelp as p, writeKeysPaced as pt, readComposerState as q, MAX_RENDER_BYTES as r, resolveReadWindow as rt, SEND_EXIT_QUEUED as s, sendPayloadCapError as st, COMPOSER_WINDOWS as t, renderRawLogLines as tt, backoffWhileTyping as u, stopTipForCli as ut, deriveLiveState as v, TYPING_BADGE as vt, extractMenu as w, envelopeAttribution as x, deriveLiveStatus as y, buildAgentForest as yt, lastReadAt as z };
|
|
6858
|
-
//# sourceMappingURL=subcommands-
|
|
6858
|
+
//# sourceMappingURL=subcommands-Dk6tKM6B.js.map
|
|
@@ -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-D1mS0HGo.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-D9TFbA7o.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as findTrayLauncher } from "./rustBinary-
|
|
1
|
+
import { c as findTrayLauncher } from "./rustBinary-TAG9KjfA.js";
|
|
2
2
|
import { t as agentYesHome } from "./agentYesHome-BNtn19J4.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-C3W5js5E.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-5Ku8-XVc.js";
|
|
4
4
|
import { t as agentYesHome } from "./agentYesHome-BNtn19J4.js";
|
|
5
5
|
import { u as removeControlCharacters } from "./todoAutomation-CbVVS4re.js";
|
|
6
6
|
import { i as shouldUseLock, r as releaseLock, t as acquireLock } from "./runningLock-BOIPD_Vs.js";
|
|
@@ -2086,7 +2086,7 @@ async function agentYes({ cli, cliArgs = [], skipPermissions = false, prompt, ro
|
|
|
2086
2086
|
}, 100);
|
|
2087
2087
|
const cleanupHeartbeat = () => clearInterval(heartbeatInterval);
|
|
2088
2088
|
shell.onExit(cleanupHeartbeat);
|
|
2089
|
-
const { startParentPingLoop } = await import("./parentPingLoop-
|
|
2089
|
+
const { startParentPingLoop } = await import("./parentPingLoop-CxGlfXtx.js");
|
|
2090
2090
|
const parentPingLoop = startParentPingLoop({
|
|
2091
2091
|
parentPid,
|
|
2092
2092
|
selfWrapperPid: process.pid,
|
|
@@ -2349,4 +2349,4 @@ function sleep(ms) {
|
|
|
2349
2349
|
|
|
2350
2350
|
//#endregion
|
|
2351
2351
|
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 };
|
|
2352
|
-
//# sourceMappingURL=ts-
|
|
2352
|
+
//# sourceMappingURL=ts-hQmDVOPh.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.302.1
|
|
10
|
+
var version = "1.302.1";
|
|
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-5Ku8-XVc.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-D1mS0HGo.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-D1mS0HGo.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-WjEcwJva.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { V as listRecords } from "./subcommands-
|
|
1
|
+
import { V as listRecords } from "./subcommands-Dk6tKM6B.js";
|
|
2
2
|
import { a as getProvisionRoot } from "./workspaceConfig-DTvPtr5j.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-MMgJ4-yD.js.map
|
|
@@ -5,10 +5,10 @@ import "./pidStore-DXWqzTSz.js";
|
|
|
5
5
|
import "./messageLog-Brx3w6zT.js";
|
|
6
6
|
import "./e2e-z1xpwSAg.js";
|
|
7
7
|
import "./configShared-DKTgiz7K.js";
|
|
8
|
-
import "./subcommands-
|
|
8
|
+
import "./subcommands-Dk6tKM6B.js";
|
|
9
9
|
import "./notifyStore-2SWKGwZI.js";
|
|
10
10
|
import "./webrtcLink-DFRyWNMs.js";
|
|
11
11
|
import "./remotes-B4CNXwDS.js";
|
|
12
|
-
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-
|
|
12
|
+
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-MMgJ4-yD.js";
|
|
13
13
|
|
|
14
14
|
export { WS_JSON_SCHEMA, cmdWs, collectWorkspaces, isPathInside, loadProvision, walkWorkspaces, workspaceStatus };
|
package/package.json
CHANGED
package/dist/trayApp-DyX5nsBP.js
DELETED