agent-yes 1.253.1 → 1.254.0-beta.604.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-22yaX30k.js +11 -0
- package/dist/{SUPPORTED_CLIS-nQwnN3Up.js → SUPPORTED_CLIS-OTUIDkSB.js} +2 -2
- package/dist/{agentShare-BhHEV1Ts.js → agentShare-CrMTIFlh.js} +2 -2
- package/dist/{callback-CINvGucS.js → callback-B0SAXyRe.js} +3 -3
- package/dist/{callback-6o6tVezi.js → callback-B_86n7Bo.js} +2 -2
- package/dist/cli.js +5 -5
- package/dist/index.js +3 -3
- package/dist/{notifyDaemon-BEGl3P1o.js → notifyDaemon-6VkKLd04.js} +2 -2
- package/dist/{rustBinary-CTdch_JN.js → rustBinary-CwFUkRDh.js} +2 -2
- package/dist/{schedule-FN5orHbi.js → schedule-Bs4qNr0T.js} +5 -5
- package/dist/{serve-CFn09opX.js → serve-C0aA6ATb.js} +15 -15
- package/dist/{setup-DFgCFV89.js → setup-2vc8_sdT.js} +2 -2
- package/dist/{subcommands-BqTqhrz1.js → subcommands-CBvLCvlD.js} +23 -17
- package/dist/{subcommands-eV1RpdlZ.js → subcommands-PY4YO8DG.js} +1 -1
- package/dist/{terminal-CBQPCkBW.js → terminal-BDt_ZxkU.js} +2 -2
- package/dist/{todoAutomation-Buo457VO.js → todoAutomation-BQRW614S.js} +4 -4
- package/dist/{todoCli-CVYCQrmX.js → todoCli-4WIHwq-e.js} +4 -4
- package/dist/{trayApp-DqnZ0NIu.js → trayApp-60Zvt1Vr.js} +2 -2
- package/dist/trayApp-ChVQLBUQ.js +5 -0
- package/dist/{ts-DwRdbutj.js → ts-YSLlwp-i.js} +3 -3
- package/dist/{versionChecker-NNCGAAMY.js → versionChecker-BJhm6j0j.js} +2 -2
- package/dist/{widget-D3py_Par.js → widget-D1W6D-ml.js} +3 -3
- package/dist/{ws-Cp_elVzz.js → ws-CnhNeuRA.js} +2 -2
- package/lab/ui/index.html +238 -57
- package/package.json +1 -1
- package/ts/askApi.spec.ts +23 -23
- package/ts/channels/op.spec.ts +1 -1
- package/ts/channels.spec.ts +5 -5
- package/ts/cli.ts +1 -1
- package/ts/subcommands.ts +11 -3
- package/ts/terminal/browser.ts +1 -1
- package/ts/todoAutomation.spec.ts +2 -2
- package/ts/todoAutomation.ts +1 -1
- package/ts/todoBlock.spec.ts +2 -2
- package/ts/todoCli.spec.ts +11 -11
- package/ts/todoCli.ts +2 -2
- package/ts/todoDigest.spec.ts +1 -1
- package/ts/todoDigest.ts +1 -1
- package/ts/todoLifecycle.spec.ts +2 -2
- package/ts/todoStore.spec.ts +19 -19
- package/ts/todoStore.ts +1 -1
- package/dist/SUPPORTED_CLIS-DVSWBBiE.js +0 -11
- package/dist/trayApp-IIKYh-U1.js +0 -5
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "./logger-CDIsZ-Pp.js";
|
|
2
|
+
import "./versionChecker-BJhm6j0j.js";
|
|
3
|
+
import "./ts-YSLlwp-i.js";
|
|
4
|
+
import "./todoAutomation-BQRW614S.js";
|
|
5
|
+
import "./JsonlStore-CPGIR0Wy.js";
|
|
6
|
+
import "./globalPidIndex-D9DOSd-c.js";
|
|
7
|
+
import "./pidStore-vnX0bgra.js";
|
|
8
|
+
import "./messageLog-C-YIzhRj.js";
|
|
9
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-OTUIDkSB.js";
|
|
10
|
+
|
|
11
|
+
export { SUPPORTED_CLIS };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as CLIS_CONFIG } from "./ts-
|
|
1
|
+
import { t as CLIS_CONFIG } from "./ts-YSLlwp-i.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-OTUIDkSB.js.map
|
|
@@ -3,7 +3,7 @@ import "./globalPidIndex-D9DOSd-c.js";
|
|
|
3
3
|
import "./messageLog-C-YIzhRj.js";
|
|
4
4
|
import "./e2e-CEIdJGZ7.js";
|
|
5
5
|
import "./configShared-IBbnn9b8.js";
|
|
6
|
-
import { P as resolveOne } from "./subcommands-
|
|
6
|
+
import { P as resolveOne } from "./subcommands-CBvLCvlD.js";
|
|
7
7
|
import "./webrtcLink-BMYneHbu.js";
|
|
8
8
|
import "./remotes-a0bGDae9.js";
|
|
9
9
|
import { a as startShare } from "./share-BGl3wutJ.js";
|
|
@@ -229,4 +229,4 @@ function transformEvent(rawEvent, agentId, forwarded) {
|
|
|
229
229
|
|
|
230
230
|
//#endregion
|
|
231
231
|
export { createScopedShare, listShares, revokeAllShares, revokeShare };
|
|
232
|
-
//# sourceMappingURL=agentShare-
|
|
232
|
+
//# sourceMappingURL=agentShare-CrMTIFlh.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as agentYesHome } from "./agentYesHome-CtmsY6I-.js";
|
|
2
|
-
import { P as resolveOne } from "./subcommands-
|
|
2
|
+
import { P as resolveOne } from "./subcommands-CBvLCvlD.js";
|
|
3
3
|
import { a as mintCapability, o as parseExpires } from "./callbackCore-Dd28_cBM.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-C0aA6ATb.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-B0SAXyRe.js.map
|
|
@@ -3,10 +3,10 @@ import "./globalPidIndex-D9DOSd-c.js";
|
|
|
3
3
|
import "./messageLog-C-YIzhRj.js";
|
|
4
4
|
import "./e2e-CEIdJGZ7.js";
|
|
5
5
|
import "./configShared-IBbnn9b8.js";
|
|
6
|
-
import "./subcommands-
|
|
6
|
+
import "./subcommands-CBvLCvlD.js";
|
|
7
7
|
import "./webrtcLink-BMYneHbu.js";
|
|
8
8
|
import "./remotes-a0bGDae9.js";
|
|
9
9
|
import "./callbackCore-Dd28_cBM.js";
|
|
10
|
-
import { i as loadOrCreateCallbackSecret, n as isCallbackRevoked, r as loadCallbackSecretReadOnly, t as cmdCallback } from "./callback-
|
|
10
|
+
import { i as loadOrCreateCallbackSecret, n as isCallbackRevoked, r as loadCallbackSecretReadOnly, t as cmdCallback } from "./callback-B0SAXyRe.js";
|
|
11
11
|
|
|
12
12
|
export { cmdCallback };
|
package/dist/cli.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
import { t as invokedCliName } from "./invokedCli-uqM2YYA7.js";
|
|
3
3
|
import { n as logger } from "./logger-CDIsZ-Pp.js";
|
|
4
|
-
import { i as versionString, n as displayVersion, t as checkAndAutoUpdate } from "./versionChecker-
|
|
5
|
-
import { r as getRustBinary } from "./rustBinary-
|
|
4
|
+
import { i as versionString, n as displayVersion, t as checkAndAutoUpdate } from "./versionChecker-BJhm6j0j.js";
|
|
5
|
+
import { r as getRustBinary } from "./rustBinary-CwFUkRDh.js";
|
|
6
6
|
import { argv } from "process";
|
|
7
7
|
import { spawn } from "child_process";
|
|
8
8
|
import ms from "ms";
|
|
@@ -285,7 +285,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
|
|
|
285
285
|
const rawArg = process.argv[2];
|
|
286
286
|
const managerCommands = !invokedCliName(process.argv);
|
|
287
287
|
const isHelpFlag = rawArg === "-h" || rawArg === "--help";
|
|
288
|
-
const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken } = await import("./subcommands-
|
|
288
|
+
const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken } = await import("./subcommands-PY4YO8DG.js");
|
|
289
289
|
if (isHelpFlag && process.argv.length === 3) {
|
|
290
290
|
await cmdHelp(managerCommands);
|
|
291
291
|
process.exit(0);
|
|
@@ -295,7 +295,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
|
|
|
295
295
|
process.exit(code ?? 0);
|
|
296
296
|
}
|
|
297
297
|
{
|
|
298
|
-
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-
|
|
298
|
+
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-22yaX30k.js");
|
|
299
299
|
if (isUnknownManagerToken(rawArg, managerCommands, SUPPORTED_CLIS)) {
|
|
300
300
|
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`);
|
|
301
301
|
process.exit(1);
|
|
@@ -346,7 +346,7 @@ if (config.useRust) {
|
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
348
|
if (rustBinary) {
|
|
349
|
-
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-
|
|
349
|
+
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-22yaX30k.js");
|
|
350
350
|
const rustArgs = buildRustArgs(process.argv, config.cli, SUPPORTED_CLIS);
|
|
351
351
|
if (config.verbose) {
|
|
352
352
|
console.log(`[rust] Using binary: ${rustBinary}`);
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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-
|
|
4
|
-
import { _ as isKnownKind, a as renderTree, b as statesOf, c as monitorHint, d as openStore, f as DONE_STATE, g as initialState, h as canTransition, i as renderDigest, l as CycleError, m as ORPHANED_STATE, o as unblockedTasks, p as LIFECYCLES, r as openBlockers, s as describeBlock, t as reconcileTodos, u as TodoStore, v as nextStates, x as removeControlCharacters, y as requiredGate } from "./todoAutomation-
|
|
2
|
+
import "./versionChecker-BJhm6j0j.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-YSLlwp-i.js";
|
|
4
|
+
import { _ as isKnownKind, a as renderTree, b as statesOf, c as monitorHint, d as openStore, f as DONE_STATE, g as initialState, h as canTransition, i as renderDigest, l as CycleError, m as ORPHANED_STATE, o as unblockedTasks, p as LIFECYCLES, r as openBlockers, s as describeBlock, t as reconcileTodos, u as TodoStore, v as nextStates, x as removeControlCharacters, y as requiredGate } from "./todoAutomation-BQRW614S.js";
|
|
5
5
|
import "./JsonlStore-CPGIR0Wy.js";
|
|
6
6
|
import "./globalPidIndex-D9DOSd-c.js";
|
|
7
7
|
import "./pidStore-vnX0bgra.js";
|
|
@@ -3,7 +3,7 @@ import "./globalPidIndex-D9DOSd-c.js";
|
|
|
3
3
|
import "./messageLog-C-YIzhRj.js";
|
|
4
4
|
import "./e2e-CEIdJGZ7.js";
|
|
5
5
|
import "./configShared-IBbnn9b8.js";
|
|
6
|
-
import { $ as shouldStealLock, C as listRecords, J as hostId, K as appendEvent, Q as readInbox, X as listInboxParents, Z as liveWatchers, _ as isPidAlive, c as deriveLiveState, et as daemonLockDir, j as renderLogTailLines, nt as notifyDir, q as gcInboxes, tt as daemonLockOwnerPath } from "./subcommands-
|
|
6
|
+
import { $ as shouldStealLock, C as listRecords, J as hostId, K as appendEvent, Q as readInbox, X as listInboxParents, Z as liveWatchers, _ as isPidAlive, c as deriveLiveState, et as daemonLockDir, j as renderLogTailLines, nt as notifyDir, q as gcInboxes, tt as daemonLockOwnerPath } from "./subcommands-CBvLCvlD.js";
|
|
7
7
|
import "./webrtcLink-BMYneHbu.js";
|
|
8
8
|
import "./remotes-a0bGDae9.js";
|
|
9
9
|
import { mkdir, readFile, rename, rm, stat, writeFile } from "fs/promises";
|
|
@@ -836,4 +836,4 @@ async function ensureDaemon() {
|
|
|
836
836
|
|
|
837
837
|
//#endregion
|
|
838
838
|
export { daemonStatus, ensureDaemon, requestDaemonStop, runDaemon };
|
|
839
|
-
//# sourceMappingURL=notifyDaemon-
|
|
839
|
+
//# sourceMappingURL=notifyDaemon-6VkKLd04.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as getInstalledPackage } from "./versionChecker-
|
|
1
|
+
import { r as getInstalledPackage } from "./versionChecker-BJhm6j0j.js";
|
|
2
2
|
import { execFileSync } from "child_process";
|
|
3
3
|
import { existsSync, mkdirSync, unlinkSync } from "fs";
|
|
4
4
|
import { chmod, copyFile } from "fs/promises";
|
|
@@ -243,4 +243,4 @@ async function getRustBinary(options = {}) {
|
|
|
243
243
|
|
|
244
244
|
//#endregion
|
|
245
245
|
export { findTrayLauncher as n, getRustBinary as r, findSpawnHiddenLauncher as t };
|
|
246
|
-
//# sourceMappingURL=rustBinary-
|
|
246
|
+
//# sourceMappingURL=rustBinary-CwFUkRDh.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import "./versionChecker-
|
|
3
|
-
import "./ts-
|
|
4
|
-
import "./todoAutomation-
|
|
2
|
+
import "./versionChecker-BJhm6j0j.js";
|
|
3
|
+
import "./ts-YSLlwp-i.js";
|
|
4
|
+
import "./todoAutomation-BQRW614S.js";
|
|
5
5
|
import "./JsonlStore-CPGIR0Wy.js";
|
|
6
6
|
import "./globalPidIndex-D9DOSd-c.js";
|
|
7
7
|
import "./pidStore-vnX0bgra.js";
|
|
8
8
|
import "./messageLog-C-YIzhRj.js";
|
|
9
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
9
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-OTUIDkSB.js";
|
|
10
10
|
import { f as resolveSpawnCwd } from "./workspaceConfig-CpilQzMY.js";
|
|
11
11
|
import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-BtL6Oo1o.js";
|
|
12
12
|
import { createHash } from "node:crypto";
|
|
@@ -153,4 +153,4 @@ async function cmdSchedule(rest) {
|
|
|
153
153
|
|
|
154
154
|
//#endregion
|
|
155
155
|
export { cmdSchedule };
|
|
156
|
-
//# sourceMappingURL=schedule-
|
|
156
|
+
//# sourceMappingURL=schedule-Bs4qNr0T.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import { r as getInstalledPackage } from "./versionChecker-
|
|
3
|
-
import { t 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 { r as getInstalledPackage } from "./versionChecker-BJhm6j0j.js";
|
|
3
|
+
import { t as findSpawnHiddenLauncher } from "./rustBinary-CwFUkRDh.js";
|
|
4
|
+
import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-YSLlwp-i.js";
|
|
5
5
|
import { t as agentYesHome$1 } from "./agentYesHome-CtmsY6I-.js";
|
|
6
|
-
import { x as removeControlCharacters } from "./todoAutomation-
|
|
6
|
+
import { x as removeControlCharacters } from "./todoAutomation-BQRW614S.js";
|
|
7
7
|
import "./JsonlStore-CPGIR0Wy.js";
|
|
8
8
|
import { a as updateGlobalPidStatus } from "./globalPidIndex-D9DOSd-c.js";
|
|
9
9
|
import "./pidStore-vnX0bgra.js";
|
|
@@ -11,16 +11,16 @@ import { r as recordInbox } from "./messageLog-C-YIzhRj.js";
|
|
|
11
11
|
import { t as pgidForWrapper } from "./reaper-DP49VCKx.js";
|
|
12
12
|
import "./e2e-CEIdJGZ7.js";
|
|
13
13
|
import "./configShared-IBbnn9b8.js";
|
|
14
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
15
|
-
import { A as recentReadEdges, C as listRecords, D as readNotes, G as writeToIpc, M as renderRawLog, N as renderRawLogLines, O as readPtysize, P as resolveOne, Y as isTransientLockMkdirError, f as extractNeedsInput, j as renderLogTailLines, k as recentMessageEdges, l as deriveLiveStatus, o as controlCodeFromName, p as extractTaskCounts, rt as TYPING_BADGE, u as extractBadges, x as isUserTyping, z as snapshotStatus } from "./subcommands-
|
|
14
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-OTUIDkSB.js";
|
|
15
|
+
import { A as recentReadEdges, C as listRecords, D as readNotes, G as writeToIpc, M as renderRawLog, N as renderRawLogLines, O as readPtysize, P as resolveOne, Y as isTransientLockMkdirError, f as extractNeedsInput, j as renderLogTailLines, k as recentMessageEdges, l as deriveLiveStatus, o as controlCodeFromName, p as extractTaskCounts, rt as TYPING_BADGE, u as extractBadges, x as isUserTyping, z as snapshotStatus } from "./subcommands-CBvLCvlD.js";
|
|
16
16
|
import "./webrtcLink-BMYneHbu.js";
|
|
17
17
|
import "./remotes-a0bGDae9.js";
|
|
18
18
|
import { i as frameVisitorMessage, s as verifyCapability, t as MAX_CALLBACK_MSG_BYTES } from "./callbackCore-Dd28_cBM.js";
|
|
19
|
-
import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-
|
|
19
|
+
import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-B0SAXyRe.js";
|
|
20
20
|
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-CpilQzMY.js";
|
|
21
21
|
import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-BtL6Oo1o.js";
|
|
22
22
|
import { r as spawnRejectionReason } from "./spawnGate-BFJPdHCQ.js";
|
|
23
|
-
import { i as launchTray } from "./trayApp-
|
|
23
|
+
import { i as launchTray } from "./trayApp-60Zvt1Vr.js";
|
|
24
24
|
import yargs from "yargs";
|
|
25
25
|
import { appendFile, mkdir, open, readFile, readdir, rename, rm, stat, unlink, writeFile } from "fs/promises";
|
|
26
26
|
import { arch, cpus, freemem, homedir, hostname, loadavg, platform, totalmem, uptime, userInfo } from "os";
|
|
@@ -2367,7 +2367,7 @@ Options:
|
|
|
2367
2367
|
}
|
|
2368
2368
|
});
|
|
2369
2369
|
if (req.method === "GET" && p === "/api/ws") {
|
|
2370
|
-
const ws = await import("./ws-
|
|
2370
|
+
const ws = await import("./ws-CnhNeuRA.js");
|
|
2371
2371
|
try {
|
|
2372
2372
|
await ws.loadProvision();
|
|
2373
2373
|
} catch (e) {
|
|
@@ -2387,7 +2387,7 @@ Options:
|
|
|
2387
2387
|
if (req.method === "GET" && p === "/api/ws/status") {
|
|
2388
2388
|
const dirRaw = url.searchParams.get("path");
|
|
2389
2389
|
if (!dirRaw) return new Response("missing ?path=<workspace dir>", { status: 400 });
|
|
2390
|
-
const ws = await import("./ws-
|
|
2390
|
+
const ws = await import("./ws-CnhNeuRA.js");
|
|
2391
2391
|
let prov;
|
|
2392
2392
|
try {
|
|
2393
2393
|
prov = await ws.loadProvision();
|
|
@@ -3144,7 +3144,7 @@ Options:
|
|
|
3144
3144
|
const perm = body.perm ?? "r";
|
|
3145
3145
|
if (perm !== "r" && perm !== "rw") return new Response(`invalid perm ${perm} (want r or rw)`, { status: 400 });
|
|
3146
3146
|
try {
|
|
3147
|
-
const { createScopedShare } = await import("./agentShare-
|
|
3147
|
+
const { createScopedShare } = await import("./agentShare-CrMTIFlh.js");
|
|
3148
3148
|
const share = await createScopedShare({
|
|
3149
3149
|
agent: body.agent,
|
|
3150
3150
|
perm,
|
|
@@ -3159,12 +3159,12 @@ Options:
|
|
|
3159
3159
|
}
|
|
3160
3160
|
}
|
|
3161
3161
|
if (req.method === "GET" && p === "/api/shares") {
|
|
3162
|
-
const { listShares } = await import("./agentShare-
|
|
3162
|
+
const { listShares } = await import("./agentShare-CrMTIFlh.js");
|
|
3163
3163
|
return Response.json(listShares());
|
|
3164
3164
|
}
|
|
3165
3165
|
const revokeM = /^\/api\/share\/([^/]+)$/.exec(p);
|
|
3166
3166
|
if (req.method === "DELETE" && revokeM) {
|
|
3167
|
-
const { revokeShare } = await import("./agentShare-
|
|
3167
|
+
const { revokeShare } = await import("./agentShare-CrMTIFlh.js");
|
|
3168
3168
|
const ok = revokeShare(decodeURIComponent(revokeM[1]));
|
|
3169
3169
|
return new Response(ok ? "revoked" : "no such share", { status: ok ? 200 : 404 });
|
|
3170
3170
|
}
|
|
@@ -3466,7 +3466,7 @@ Options:
|
|
|
3466
3466
|
const shutdown = (resolve) => {
|
|
3467
3467
|
if (heartbeat) clearInterval(heartbeat);
|
|
3468
3468
|
closeShare?.();
|
|
3469
|
-
import("./agentShare-
|
|
3469
|
+
import("./agentShare-CrMTIFlh.js").then((m) => m.revokeAllShares()).catch(() => {});
|
|
3470
3470
|
server?.stop();
|
|
3471
3471
|
Promise.resolve(releaseHostLock?.()).catch(() => {}).then(resolve);
|
|
3472
3472
|
};
|
|
@@ -3479,4 +3479,4 @@ Options:
|
|
|
3479
3479
|
|
|
3480
3480
|
//#endregion
|
|
3481
3481
|
export { cmdServe, loadTokenReadOnly, mintScopedTermToken, resolveDaemonHttpBase, resolveLocalServeUrl };
|
|
3482
|
-
//# sourceMappingURL=serve-
|
|
3482
|
+
//# sourceMappingURL=serve-C0aA6ATb.js.map
|
|
@@ -32,7 +32,7 @@ async function cmdSetup(rest) {
|
|
|
32
32
|
if (!existsSync(abs)) process.stderr.write(` note: that directory doesn't exist yet — create it, or agents spawned there will fail\n`);
|
|
33
33
|
if (noShare) return 0;
|
|
34
34
|
process.stdout.write(`\nsharing this machine to agent-yes.com…\n`);
|
|
35
|
-
const { cmdServe } = await import("./serve-
|
|
35
|
+
const { cmdServe } = await import("./serve-C0aA6ATb.js");
|
|
36
36
|
return cmdServe([
|
|
37
37
|
"install",
|
|
38
38
|
"--share",
|
|
@@ -42,4 +42,4 @@ async function cmdSetup(rest) {
|
|
|
42
42
|
|
|
43
43
|
//#endregion
|
|
44
44
|
export { cmdSetup };
|
|
45
|
-
//# sourceMappingURL=setup-
|
|
45
|
+
//# sourceMappingURL=setup-2vc8_sdT.js.map
|
|
@@ -1288,7 +1288,7 @@ function isSubcommand(name, managerCommands = true) {
|
|
|
1288
1288
|
* Footgun guard for the MANAGER entry (`ay`/`agent-yes`): true when the first arg
|
|
1289
1289
|
* is a bare word (not a flag) that is neither a subcommand nor a known CLI — a
|
|
1290
1290
|
* typo, or a newer subcommand run on an older build. The caller should error
|
|
1291
|
-
* rather than silently spawn an agent with the word as a prompt (
|
|
1291
|
+
* rather than silently spawn an agent with the word as a prompt (operator 2026-07-26:
|
|
1292
1292
|
* bare `ay <prompt>` is too dangerous; a spawn must name a CLI — `ay <cli> …` or
|
|
1293
1293
|
* `--cli`). Never fires for cli-bound aliases (cy/claude-yes/…), where the first
|
|
1294
1294
|
* word is legitimately the prompt, nor for flags or an empty invocation.
|
|
@@ -1331,7 +1331,7 @@ async function runSubcommand(argv) {
|
|
|
1331
1331
|
case "restart": return await cmdRestart(rest);
|
|
1332
1332
|
case "note": return await cmdNote(rest);
|
|
1333
1333
|
case "todo": {
|
|
1334
|
-
const { runTodoSubcommand } = await import("./todoCli-
|
|
1334
|
+
const { runTodoSubcommand } = await import("./todoCli-4WIHwq-e.js");
|
|
1335
1335
|
return runTodoSubcommand(rest);
|
|
1336
1336
|
}
|
|
1337
1337
|
case "ch":
|
|
@@ -1340,35 +1340,35 @@ async function runSubcommand(argv) {
|
|
|
1340
1340
|
return cmdCh(rest);
|
|
1341
1341
|
}
|
|
1342
1342
|
case "term": {
|
|
1343
|
-
const { cmdTerm } = await import("./terminal-
|
|
1343
|
+
const { cmdTerm } = await import("./terminal-BDt_ZxkU.js");
|
|
1344
1344
|
return cmdTerm(rest);
|
|
1345
1345
|
}
|
|
1346
1346
|
case "widget": {
|
|
1347
|
-
const { cmdWidget } = await import("./widget-
|
|
1347
|
+
const { cmdWidget } = await import("./widget-D1W6D-ml.js");
|
|
1348
1348
|
return cmdWidget(rest);
|
|
1349
1349
|
}
|
|
1350
1350
|
case "mint": {
|
|
1351
|
-
const { cmdMint } = await import("./widget-
|
|
1351
|
+
const { cmdMint } = await import("./widget-D1W6D-ml.js");
|
|
1352
1352
|
return cmdMint(rest);
|
|
1353
1353
|
}
|
|
1354
1354
|
case "serve": {
|
|
1355
|
-
const { cmdServe } = await import("./serve-
|
|
1355
|
+
const { cmdServe } = await import("./serve-C0aA6ATb.js");
|
|
1356
1356
|
return cmdServe(rest);
|
|
1357
1357
|
}
|
|
1358
1358
|
case "tray": {
|
|
1359
|
-
const { cmdTray } = await import("./trayApp-
|
|
1359
|
+
const { cmdTray } = await import("./trayApp-ChVQLBUQ.js");
|
|
1360
1360
|
return cmdTray(rest);
|
|
1361
1361
|
}
|
|
1362
1362
|
case "setup": {
|
|
1363
|
-
const { cmdSetup } = await import("./setup-
|
|
1363
|
+
const { cmdSetup } = await import("./setup-2vc8_sdT.js");
|
|
1364
1364
|
return cmdSetup(rest);
|
|
1365
1365
|
}
|
|
1366
1366
|
case "ws": {
|
|
1367
|
-
const { cmdWs } = await import("./ws-
|
|
1367
|
+
const { cmdWs } = await import("./ws-CnhNeuRA.js");
|
|
1368
1368
|
return cmdWs(rest);
|
|
1369
1369
|
}
|
|
1370
1370
|
case "schedule": {
|
|
1371
|
-
const { cmdSchedule } = await import("./schedule-
|
|
1371
|
+
const { cmdSchedule } = await import("./schedule-Bs4qNr0T.js");
|
|
1372
1372
|
return cmdSchedule(rest);
|
|
1373
1373
|
}
|
|
1374
1374
|
case "remote": {
|
|
@@ -1380,7 +1380,7 @@ async function runSubcommand(argv) {
|
|
|
1380
1380
|
return cmdExpose(rest);
|
|
1381
1381
|
}
|
|
1382
1382
|
case "callback": {
|
|
1383
|
-
const { cmdCallback } = await import("./callback-
|
|
1383
|
+
const { cmdCallback } = await import("./callback-B_86n7Bo.js");
|
|
1384
1384
|
return cmdCallback(rest);
|
|
1385
1385
|
}
|
|
1386
1386
|
case "reap":
|
|
@@ -2134,7 +2134,7 @@ async function cmdLs(rest) {
|
|
|
2134
2134
|
type: "boolean",
|
|
2135
2135
|
default: false,
|
|
2136
2136
|
description: "Show this help"
|
|
2137
|
-
}).example("ay ls", "list local + all configured remotes").example("ay ls --local", "only this machine's agents").example("ay ls --all", "include exited agents").example("ay ls --json", "machine-readable output").example("ay ls --watch", "stream state transitions for a whole fan-out as NDJSON").example("ay ls
|
|
2137
|
+
}).example("ay ls", "list local + all configured remotes").example("ay ls --local", "only this machine's agents").example("ay ls --all", "include exited agents").example("ay ls --json", "machine-readable output").example("ay ls --watch", "stream state transitions for a whole fan-out as NDJSON").example("ay ls myrepo", "filter by cwd/prompt keyword").help(false).version(false).exitProcess(false);
|
|
2138
2138
|
const argv = await y.parseAsync();
|
|
2139
2139
|
if (argv.help || argv.h) {
|
|
2140
2140
|
process.stdout.write(await y.getHelp() + "\n");
|
|
@@ -3150,6 +3150,11 @@ async function cmdSend(rest) {
|
|
|
3150
3150
|
default: false,
|
|
3151
3151
|
alias: "async",
|
|
3152
3152
|
description: "Fire-and-forget: skip the paste-settle wait and submit confirmation, don't retry a swallowed Enter (also: AGENT_YES_SEND_NO_WAIT=1)"
|
|
3153
|
+
}).option("raw", {
|
|
3154
|
+
type: "boolean",
|
|
3155
|
+
default: false,
|
|
3156
|
+
alias: "no-wrap",
|
|
3157
|
+
description: "Send the body verbatim: omit the <ay-msg …> attribution wrapper that agent senders add by default (also: AGENT_YES_SEND_RAW=1)"
|
|
3153
3158
|
}).help(false).version(false).exitProcess(false).parseAsync();
|
|
3154
3159
|
const opts = {
|
|
3155
3160
|
all: argv.all,
|
|
@@ -3178,6 +3183,7 @@ async function cmdSend(rest) {
|
|
|
3178
3183
|
body = Buffer.concat(chunks).toString("utf-8").trimEnd();
|
|
3179
3184
|
} else body = rawMessage;
|
|
3180
3185
|
const force = Boolean(argv.force) || process.env.AGENT_YES_FORCE_SEND === "1";
|
|
3186
|
+
const raw = Boolean(argv.raw) || process.env.AGENT_YES_SEND_RAW === "1";
|
|
3181
3187
|
const sender = await enforceSendGuards(record, force);
|
|
3182
3188
|
if (isExitRequest(body)) {
|
|
3183
3189
|
const reason = sender.agent ? `requested by ${sender.agent.cli} #${sender.agent.pid} @ ${shortenPath(sender.agent.cwd)}` : `requested via 'ay send ${keyword} exit'`;
|
|
@@ -3189,7 +3195,7 @@ async function cmdSend(rest) {
|
|
|
3189
3195
|
let prefix = "";
|
|
3190
3196
|
let suffix = "";
|
|
3191
3197
|
let nonce;
|
|
3192
|
-
if (sender.agent && !isSlashCommand(body)) {
|
|
3198
|
+
if (sender.agent && !isSlashCommand(body) && !raw) {
|
|
3193
3199
|
nonce = randomBytes$1(4).toString("hex");
|
|
3194
3200
|
prefix = `<ay-msg ${nonce} from ${sender.agent.cli} #${sender.agent.pid} @ ${shortenPath(sender.agent.cwd)} — reply: ay send ${replyTarget} "...">\n`;
|
|
3195
3201
|
suffix = `\n</ay-msg ${nonce}>`;
|
|
@@ -3783,7 +3789,7 @@ async function cmdAttach(rest) {
|
|
|
3783
3789
|
const winsizeDir = path.join(ayHome, "winsize");
|
|
3784
3790
|
await mkdir(winsizeDir, { recursive: true });
|
|
3785
3791
|
const winsizePath = path.join(winsizeDir, String(record.pid));
|
|
3786
|
-
const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-
|
|
3792
|
+
const { resolveDaemonHttpBase, loadTokenReadOnly } = await import("./serve-C0aA6ATb.js");
|
|
3787
3793
|
const daemonBase = await resolveDaemonHttpBase().catch(() => null);
|
|
3788
3794
|
const daemonToken = daemonBase ? await loadTokenReadOnly().catch(() => null) ?? "" : "";
|
|
3789
3795
|
const capViewer = `attach:${process.pid}`;
|
|
@@ -4493,7 +4499,7 @@ async function cmdNotify(rest) {
|
|
|
4493
4499
|
}
|
|
4494
4500
|
const ensure = async () => {
|
|
4495
4501
|
if (!argv["ensure-daemon"]) return;
|
|
4496
|
-
const { ensureDaemon } = await import("./notifyDaemon-
|
|
4502
|
+
const { ensureDaemon } = await import("./notifyDaemon-6VkKLd04.js");
|
|
4497
4503
|
await ensureDaemon().catch(() => null);
|
|
4498
4504
|
};
|
|
4499
4505
|
await heartbeatWatcher(parent, selfStartedAt);
|
|
@@ -4567,7 +4573,7 @@ async function cmdNotifyCursor(args) {
|
|
|
4567
4573
|
}
|
|
4568
4574
|
async function cmdNotifyd(rest) {
|
|
4569
4575
|
const sub = rest[0] ?? "status";
|
|
4570
|
-
const daemon = await import("./notifyDaemon-
|
|
4576
|
+
const daemon = await import("./notifyDaemon-6VkKLd04.js");
|
|
4571
4577
|
switch (sub) {
|
|
4572
4578
|
case "run": return daemon.runDaemon();
|
|
4573
4579
|
case "once": return daemon.runDaemon({ once: true });
|
|
@@ -4594,4 +4600,4 @@ async function cmdNotifyd(rest) {
|
|
|
4594
4600
|
|
|
4595
4601
|
//#endregion
|
|
4596
4602
|
export { shouldStealLock as $, recentReadEdges as A, stdinActivityPath as B, listRecords as C, readNotes as D, readAgentPtysize as E, resolveReadWindow as F, writeToIpc as G, submitAndConfirm as H, resolveResumeArgs as I, hostId as J, appendEvent as K, restartHintLines as L, renderRawLog as M, renderRawLogLines as N, readPtysize as O, resolveOne as P, readInbox as Q, runSubcommand as R, lastStdinAt as S, menuSelectKeys as T, waitForLogQuiet as U, stopTipForCli as V, writeKeysPaced as W, listInboxParents as X, isTransientLockMkdirError as Y, liveWatchers as Z, isPidAlive as _, cmdHelp as a, isUnknownManagerToken as b, deriveLiveState as c, extractMenu as d, daemonLockDir as et, extractNeedsInput as f, isExitRequest as g, isAgentStuck as h, backoffWhileTyping as i, renderLogTailLines as j, recentMessageEdges as k, deriveLiveStatus as l, finalizedLines as m, READ_PAGE_DEFAULT as n, notifyDir as nt, controlCodeFromName as o, extractTaskCounts as p, gcInboxes as q, TYPING_WINDOW_MS as r, TYPING_BADGE as rt, cursorAbs as s, GRACEFUL_EXIT_COMMANDS as t, daemonLockOwnerPath as tt, extractBadges as u, isSlashCommand as v, matchKeyword as w, isUserTyping as x, isSubcommand as y, snapshotStatus as z };
|
|
4597
|
-
//# sourceMappingURL=subcommands-
|
|
4603
|
+
//# sourceMappingURL=subcommands-CBvLCvlD.js.map
|
|
@@ -3,7 +3,7 @@ import "./globalPidIndex-D9DOSd-c.js";
|
|
|
3
3
|
import "./messageLog-C-YIzhRj.js";
|
|
4
4
|
import "./e2e-CEIdJGZ7.js";
|
|
5
5
|
import "./configShared-IBbnn9b8.js";
|
|
6
|
-
import { A as recentReadEdges, B as stdinActivityPath, C as listRecords, D as readNotes, E as readAgentPtysize, F as resolveReadWindow, G as writeToIpc, H as submitAndConfirm, I as resolveResumeArgs, L as restartHintLines, M as renderRawLog, N as renderRawLogLines, O as readPtysize, P as resolveOne, R as runSubcommand, S as lastStdinAt, T as menuSelectKeys, U as waitForLogQuiet, V as stopTipForCli, W as writeKeysPaced, _ as isPidAlive, a as cmdHelp, b as isUnknownManagerToken, c as deriveLiveState, d as extractMenu, f as extractNeedsInput, g as isExitRequest, h as isAgentStuck, i as backoffWhileTyping, j as renderLogTailLines, k as recentMessageEdges, l as deriveLiveStatus, m as finalizedLines, n as READ_PAGE_DEFAULT, o as controlCodeFromName, p as extractTaskCounts, r as TYPING_WINDOW_MS, s as cursorAbs, t as GRACEFUL_EXIT_COMMANDS, u as extractBadges, v as isSlashCommand, w as matchKeyword, x as isUserTyping, y as isSubcommand, z as snapshotStatus } from "./subcommands-
|
|
6
|
+
import { A as recentReadEdges, B as stdinActivityPath, C as listRecords, D as readNotes, E as readAgentPtysize, F as resolveReadWindow, G as writeToIpc, H as submitAndConfirm, I as resolveResumeArgs, L as restartHintLines, M as renderRawLog, N as renderRawLogLines, O as readPtysize, P as resolveOne, R as runSubcommand, S as lastStdinAt, T as menuSelectKeys, U as waitForLogQuiet, V as stopTipForCli, W as writeKeysPaced, _ as isPidAlive, a as cmdHelp, b as isUnknownManagerToken, c as deriveLiveState, d as extractMenu, f as extractNeedsInput, g as isExitRequest, h as isAgentStuck, i as backoffWhileTyping, j as renderLogTailLines, k as recentMessageEdges, l as deriveLiveStatus, m as finalizedLines, n as READ_PAGE_DEFAULT, o as controlCodeFromName, p as extractTaskCounts, r as TYPING_WINDOW_MS, s as cursorAbs, t as GRACEFUL_EXIT_COMMANDS, u as extractBadges, v as isSlashCommand, w as matchKeyword, x as isUserTyping, y as isSubcommand, z as snapshotStatus } from "./subcommands-CBvLCvlD.js";
|
|
7
7
|
import "./webrtcLink-BMYneHbu.js";
|
|
8
8
|
import "./remotes-a0bGDae9.js";
|
|
9
9
|
|
|
@@ -98,7 +98,7 @@ async function cmdTermMint(args) {
|
|
|
98
98
|
if (flags.ro && flags.interactive) throw new Error("--ro and --interactive are mutually exclusive");
|
|
99
99
|
const ttlSec = parseTtlSec(typeof flags.ttl === "string" ? flags.ttl : "15m");
|
|
100
100
|
const canSend = flags.interactive === true;
|
|
101
|
-
const { mintScopedTermToken } = await import("./serve-
|
|
101
|
+
const { mintScopedTermToken } = await import("./serve-C0aA6ATb.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-BDt_ZxkU.js.map
|
|
@@ -663,7 +663,7 @@ var TodoStore = class TodoStore {
|
|
|
663
663
|
async rmDep(id, blockerId) {
|
|
664
664
|
return this.rawUpdate(id, (fresh) => ({ blockedBy: fresh.blockedBy.filter((d) => d !== blockerId) }));
|
|
665
665
|
}
|
|
666
|
-
/** True when `from` transitively depends on `target` via `blockedBy` edges. Ported from the equivalent, already-tested algorithm in
|
|
666
|
+
/** True when `from` transitively depends on `target` via `blockedBy` edges. Ported from the equivalent, already-tested algorithm in a private sibling CLI's store.ts. */
|
|
667
667
|
dependsOn(from, target, seen = /* @__PURE__ */ new Set()) {
|
|
668
668
|
if (from === target) return true;
|
|
669
669
|
if (seen.has(from)) return false;
|
|
@@ -726,7 +726,7 @@ function describeBlock(block) {
|
|
|
726
726
|
* (`todoCli.ts`) and any future web view.
|
|
727
727
|
*
|
|
728
728
|
* `unblockedTasks` is ported near-verbatim from the equivalent, already
|
|
729
|
-
* mutation-tested algorithm in
|
|
729
|
+
* mutation-tested algorithm in a private sibling CLI's `deps.ts` (a closed-source
|
|
730
730
|
* downstream consumer of an earlier, less general version of this idea) —
|
|
731
731
|
* generalized here to the new `TodoRecord` shape and the `done` state name
|
|
732
732
|
* from `todoLifecycle.ts` instead of a hardcoded status string.
|
|
@@ -862,7 +862,7 @@ function renderDigest(tasks) {
|
|
|
862
862
|
* of requiring every state change to be typed by hand.
|
|
863
863
|
*
|
|
864
864
|
* `reconcileTodos` is pure — decision logic only, no I/O — exactly the same
|
|
865
|
-
* "decide" / "do" split
|
|
865
|
+
* "decide" / "do" split a private sibling CLI's existing `watchdog.ts`
|
|
866
866
|
* (`decideActions`) already uses successfully: the hard-to-get-right parts
|
|
867
867
|
* (edge cases) live in a function that takes plain data in and returns plain
|
|
868
868
|
* data out, so they are trivially unit-testable without a real store, real
|
|
@@ -958,4 +958,4 @@ function reconcileTodos(tasks, agents, registeredGates) {
|
|
|
958
958
|
|
|
959
959
|
//#endregion
|
|
960
960
|
export { isKnownKind as _, renderTree as a, statesOf as b, monitorHint as c, openStore as d, DONE_STATE as f, initialState as g, canTransition as h, renderDigest as i, CycleError as l, ORPHANED_STATE as m, buildTreeJSON as n, unblockedTasks as o, LIFECYCLES as p, openBlockers as r, describeBlock as s, reconcileTodos as t, TodoStore as u, nextStates as v, removeControlCharacters as x, requiredGate as y };
|
|
961
|
-
//# sourceMappingURL=todoAutomation-
|
|
961
|
+
//# sourceMappingURL=todoAutomation-BQRW614S.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import { _ as isKnownKind, a as renderTree, d as openStore, i as renderDigest, l as CycleError, n as buildTreeJSON, o as unblockedTasks, p as LIFECYCLES, s as describeBlock, t as reconcileTodos, x as removeControlCharacters } from "./todoAutomation-
|
|
2
|
+
import { _ as isKnownKind, a as renderTree, d as openStore, i as renderDigest, l as CycleError, n as buildTreeJSON, o as unblockedTasks, p as LIFECYCLES, s as describeBlock, t as reconcileTodos, x as removeControlCharacters } from "./todoAutomation-BQRW614S.js";
|
|
3
3
|
import "./JsonlStore-CPGIR0Wy.js";
|
|
4
4
|
import { i as readGlobalPids } from "./globalPidIndex-D9DOSd-c.js";
|
|
5
5
|
import yargs from "yargs";
|
|
@@ -25,8 +25,8 @@ import yargs from "yargs";
|
|
|
25
25
|
* Argument parsing: a real yargs COMMAND TREE — one `yargs(argv)` instance
|
|
26
26
|
* with a `CommandModule` per verb registered via `.command()`, `--root`/
|
|
27
27
|
* `--format` declared once as `global: true` options on that same instance —
|
|
28
|
-
* matching the pattern
|
|
29
|
-
* (`todoCommand`/`lsCmd` etc. in that repo's `commands/todo.ts`), per
|
|
28
|
+
* matching the pattern a private sibling repo's CLI already uses
|
|
29
|
+
* (`todoCommand`/`lsCmd` etc. in that repo's `commands/todo.ts`), per the operator's
|
|
30
30
|
* explicit feedback that this gives better help behavior for free: a real
|
|
31
31
|
* `.command()` tree yields an auto-generated `ay todo --help` listing every
|
|
32
32
|
* verb with its description, and per-verb `--help`/usage, neither of which
|
|
@@ -456,4 +456,4 @@ async function runTodoSubcommand(rest0) {
|
|
|
456
456
|
|
|
457
457
|
//#endregion
|
|
458
458
|
export { runTodoSubcommand };
|
|
459
|
-
//# sourceMappingURL=todoCli-
|
|
459
|
+
//# sourceMappingURL=todoCli-4WIHwq-e.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as findTrayLauncher } from "./rustBinary-
|
|
1
|
+
import { n as findTrayLauncher } from "./rustBinary-CwFUkRDh.js";
|
|
2
2
|
import { t as agentYesHome } from "./agentYesHome-CtmsY6I-.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-60Zvt1Vr.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as __esmMin, r as __exportAll } from "./chunk-cZBX9HZv.js";
|
|
2
2
|
import { n as logger, t as addTransport } from "./logger-CDIsZ-Pp.js";
|
|
3
|
-
import { r as getInstalledPackage } from "./versionChecker-
|
|
3
|
+
import { r as getInstalledPackage } from "./versionChecker-BJhm6j0j.js";
|
|
4
4
|
import { t as agentYesHome } from "./agentYesHome-CtmsY6I-.js";
|
|
5
|
-
import { d as openStore, p as LIFECYCLES, x as removeControlCharacters } from "./todoAutomation-
|
|
5
|
+
import { d as openStore, p as LIFECYCLES, x as removeControlCharacters } from "./todoAutomation-BQRW614S.js";
|
|
6
6
|
import { i as shouldUseLock, r as releaseLock, t as acquireLock } from "./runningLock-DBoONoM-.js";
|
|
7
7
|
import { i as readGlobalPids } from "./globalPidIndex-D9DOSd-c.js";
|
|
8
8
|
import { t as PidStore } from "./pidStore-vnX0bgra.js";
|
|
@@ -2155,4 +2155,4 @@ function sleep(ms) {
|
|
|
2155
2155
|
|
|
2156
2156
|
//#endregion
|
|
2157
2157
|
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 };
|
|
2158
|
-
//# sourceMappingURL=ts-
|
|
2158
|
+
//# sourceMappingURL=ts-YSLlwp-i.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.254.0-beta.604.1";
|
|
11
11
|
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region ts/versionChecker.ts
|
|
@@ -215,4 +215,4 @@ async function displayVersion() {
|
|
|
215
215
|
|
|
216
216
|
//#endregion
|
|
217
217
|
export { versionString as i, displayVersion as n, getInstalledPackage as r, checkAndAutoUpdate as t };
|
|
218
|
-
//# sourceMappingURL=versionChecker-
|
|
218
|
+
//# sourceMappingURL=versionChecker-BJhm6j0j.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-C0aA6ATb.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-C0aA6ATb.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-D1W6D-ml.js.map
|
|
@@ -3,7 +3,7 @@ import "./globalPidIndex-D9DOSd-c.js";
|
|
|
3
3
|
import "./messageLog-C-YIzhRj.js";
|
|
4
4
|
import "./e2e-CEIdJGZ7.js";
|
|
5
5
|
import "./configShared-IBbnn9b8.js";
|
|
6
|
-
import { C as listRecords } from "./subcommands-
|
|
6
|
+
import { C as listRecords } from "./subcommands-CBvLCvlD.js";
|
|
7
7
|
import "./webrtcLink-BMYneHbu.js";
|
|
8
8
|
import "./remotes-a0bGDae9.js";
|
|
9
9
|
import { a as getProvisionRoot } from "./workspaceConfig-CpilQzMY.js";
|
|
@@ -418,4 +418,4 @@ async function cmdWs(args) {
|
|
|
418
418
|
|
|
419
419
|
//#endregion
|
|
420
420
|
export { WS_JSON_SCHEMA, cmdWs, collectWorkspaces, isPathInside, loadProvision, workspaceStatus };
|
|
421
|
-
//# sourceMappingURL=ws-
|
|
421
|
+
//# sourceMappingURL=ws-CnhNeuRA.js.map
|