agent-yes 1.306.1 → 1.306.3-beta.818.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-p8hgduB6.js → SUPPORTED_CLIS-CrUh3Oyo.js} +2 -2
- package/dist/{SUPPORTED_CLIS-B39mdr7e.js → SUPPORTED_CLIS-DXzdOwKv.js} +4 -4
- package/dist/{agentShare-BoaV8VZj.js → agentShare-ChBtGqYx.js} +3 -3
- package/dist/{askCli-Dtxxwl28.js → askCli-D4czi-_j.js} +2 -2
- package/dist/{callback-EEXgUsuB.js → callback-D46d8GUZ.js} +3 -3
- package/dist/{callback-D_yBIISN.js → callback-DiI9a-b7.js} +3 -3
- package/dist/cli.js +5 -5
- package/dist/{cmdPs-CJ45gEPR.js → cmdPs-Bk67wfku.js} +3 -3
- package/dist/{identity-C0MxfwI2.js → identity-D3hr59eC.js} +1 -1
- package/dist/{identity-Ckav3-Up.js → identity-puvd7hVQ.js} +3 -3
- package/dist/index.js +3 -3
- package/dist/{messageLog-Dq_ka-Bt.js → messageLog-CEqe4Hk1.js} +14 -2
- package/dist/{notifyDaemon-C07MvUlt.js → notifyDaemon-CAdRsfab.js} +3 -3
- package/dist/{parentPingLoop-Cm6OlLzk.js → parentPingLoop-CbtzHUnN.js} +2 -2
- package/dist/{rustBinary-DPy_bYyI.js → rustBinary-B04cXKyk.js} +2 -2
- package/dist/{rustBinary-Bh2Igu4Z.js → rustBinary-CmBp0_UY.js} +2 -2
- package/dist/{schedule-VkuXWqxD.js → schedule-XclNvts9.js} +5 -5
- package/dist/{serve-dnwPH3nh.js → serve-OUQFYo3J.js} +26 -22
- package/dist/{setup-npETZ2W9.js → setup-DZlBl5i_.js} +2 -2
- package/dist/{shareCmd-BVF0oTps.js → shareCmd-Dk7tedEr.js} +5 -5
- package/dist/{subcommands-Bmah5Csg.js → subcommands-BB8qH10w.js} +2 -2
- package/dist/{subcommands-MajfofbK.js → subcommands-CDOCU2Dr.js} +24 -25
- package/dist/{terminal-DvtOrVtQ.js → terminal-DT9YqzNY.js} +2 -2
- package/dist/trayApp-DIUzVbpC.js +5 -0
- package/dist/{trayApp-CO6E40va.js → trayApp-Dh3DTja2.js} +2 -2
- package/dist/{ts-Hw31sQa6.js → ts-Cv1MB33W.js} +5 -5
- package/dist/{versionChecker-BJtP2P0J.js → versionChecker-C6dcQBbU.js} +2 -2
- package/dist/{widget-83Axsy9v.js → widget-BMvA3DZH.js} +3 -3
- package/dist/{ws-kdJ0SlaR.js → ws-CbJnbj3c.js} +3 -3
- package/dist/{ws-CGXNX2xk.js → ws-MNhoiDoq.js} +2 -2
- package/lab/ui/console-logic.js +2 -2
- package/lab/ui/index.html +82 -39
- package/package.json +1 -1
- package/ts/identity.ts +2 -2
- package/ts/remoteHealth.ts +4 -5
- package/ts/serve.ts +4 -1
- package/ts/subcommands.ts +1 -1
- package/ts/terminalReply.spec.ts +21 -1
- package/ts/terminalReply.ts +14 -0
- package/dist/trayApp-DQz64VKY.js +0 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as CLIS_CONFIG } from "./ts-
|
|
1
|
+
import { t as CLIS_CONFIG } from "./ts-Cv1MB33W.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-CrUh3Oyo.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import "./versionChecker-
|
|
3
|
-
import "./ts-
|
|
2
|
+
import "./versionChecker-C6dcQBbU.js";
|
|
3
|
+
import "./ts-Cv1MB33W.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
|
-
import "./messageLog-
|
|
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-CrUh3Oyo.js";
|
|
11
11
|
|
|
12
12
|
export { SUPPORTED_CLIS };
|
|
@@ -2,10 +2,10 @@ import "./logger-CDIsZ-Pp.js";
|
|
|
2
2
|
import "./JsonlStore-CB_0sfdT.js";
|
|
3
3
|
import "./globalPidIndex-C6p_AY4D.js";
|
|
4
4
|
import "./pidStore-DUXifdBr.js";
|
|
5
|
-
import "./messageLog-
|
|
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-CDOCU2Dr.js";
|
|
9
9
|
import "./webrtcLink-DcvacEci.js";
|
|
10
10
|
import "./remotes-BsMGvAay.js";
|
|
11
11
|
import "./roomReplyAlias-B-v76TA8.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-ChBtGqYx.js.map
|
|
@@ -2,7 +2,7 @@ import "./logger-CDIsZ-Pp.js";
|
|
|
2
2
|
import "./JsonlStore-CB_0sfdT.js";
|
|
3
3
|
import "./globalPidIndex-C6p_AY4D.js";
|
|
4
4
|
import { r as openStore } from "./todoStore-msRCEUi1.js";
|
|
5
|
-
import { t as formatIdentity } from "./identity-
|
|
5
|
+
import { t as formatIdentity } from "./identity-puvd7hVQ.js";
|
|
6
6
|
import { a as resolveTodoRoot, i as resolveSelf } from "./todoIdentity-DeDp7LKl.js";
|
|
7
7
|
import yargs from "yargs";
|
|
8
8
|
import { randomBytes } from "crypto";
|
|
@@ -269,4 +269,4 @@ async function runAnswerSubcommand(rest, deps) {
|
|
|
269
269
|
|
|
270
270
|
//#endregion
|
|
271
271
|
export { runAnswerSubcommand, runAskSubcommand };
|
|
272
|
-
//# sourceMappingURL=askCli-
|
|
272
|
+
//# sourceMappingURL=askCli-D4czi-_j.js.map
|
|
@@ -2,16 +2,16 @@ import "./logger-CDIsZ-Pp.js";
|
|
|
2
2
|
import "./JsonlStore-CB_0sfdT.js";
|
|
3
3
|
import "./globalPidIndex-C6p_AY4D.js";
|
|
4
4
|
import "./pidStore-DUXifdBr.js";
|
|
5
|
-
import "./messageLog-
|
|
5
|
+
import "./messageLog-CEqe4Hk1.js";
|
|
6
6
|
import "./e2e-BdLf8DvY.js";
|
|
7
7
|
import "./configShared-De4bR5hH.js";
|
|
8
|
-
import "./subcommands-
|
|
8
|
+
import "./subcommands-CDOCU2Dr.js";
|
|
9
9
|
import "./webrtcLink-DcvacEci.js";
|
|
10
10
|
import "./remotes-BsMGvAay.js";
|
|
11
11
|
import "./roomReplyAlias-B-v76TA8.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-DiI9a-b7.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-CDOCU2Dr.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-OUQFYo3J.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-DiI9a-b7.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-C6dcQBbU.js";
|
|
5
|
+
import { h as getRustBinary } from "./rustBinary-B04cXKyk.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-BB8qH10w.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-DXzdOwKv.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-DXzdOwKv.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}`);
|
|
@@ -2,10 +2,10 @@ import "./logger-CDIsZ-Pp.js";
|
|
|
2
2
|
import "./JsonlStore-CB_0sfdT.js";
|
|
3
3
|
import "./globalPidIndex-C6p_AY4D.js";
|
|
4
4
|
import "./pidStore-DUXifdBr.js";
|
|
5
|
-
import "./messageLog-
|
|
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-CDOCU2Dr.js";
|
|
9
9
|
import "./webrtcLink-DcvacEci.js";
|
|
10
10
|
import "./remotes-BsMGvAay.js";
|
|
11
11
|
import "./roomReplyAlias-B-v76TA8.js";
|
|
@@ -332,4 +332,4 @@ function readPpidSync(pid) {
|
|
|
332
332
|
|
|
333
333
|
//#endregion
|
|
334
334
|
export { cmdPs };
|
|
335
|
-
//# sourceMappingURL=cmdPs-
|
|
335
|
+
//# sourceMappingURL=cmdPs-Bk67wfku.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as safeBranch, i as readGitBranch, n as localHost, o as safeToken, r as localUser, s as tildify, t as formatIdentity } from "./identity-
|
|
1
|
+
import { a as safeBranch, i as readGitBranch, n as localHost, o as safeToken, r as localUser, s as tildify, t as formatIdentity } from "./identity-puvd7hVQ.js";
|
|
2
2
|
|
|
3
3
|
export { formatIdentity };
|
|
@@ -7,11 +7,11 @@ import { homedir, hostname, userInfo } from "node:os";
|
|
|
7
7
|
* The standardized agent identity string:
|
|
8
8
|
*
|
|
9
9
|
* <username>@<hostname>:<path>:<branch>#<pid>
|
|
10
|
-
*
|
|
10
|
+
* Example: alice@host:~/work/org/repo:main#1111
|
|
11
11
|
*
|
|
12
12
|
* One line answers "who is this agent" across every surface that names one —
|
|
13
13
|
* the `ay send` envelope header, `ay whoami`, logs. The branch segment usually
|
|
14
|
-
* carries the lane name for free (worktree checkouts like `
|
|
14
|
+
* carries the lane name for free (worktree checkouts like `feature/example`
|
|
15
15
|
* or `fix/t173-tone-core` name their purpose), which is why there is no
|
|
16
16
|
* separate role concept.
|
|
17
17
|
*
|
|
@@ -106,4 +106,4 @@ function formatIdentity(parts) {
|
|
|
106
106
|
|
|
107
107
|
//#endregion
|
|
108
108
|
export { safeBranch as a, readGitBranch as i, localHost as n, safeToken as o, localUser as r, tildify as s, formatIdentity as t };
|
|
109
|
-
//# sourceMappingURL=identity-
|
|
109
|
+
//# sourceMappingURL=identity-puvd7hVQ.js.map
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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-C6dcQBbU.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-Cv1MB33W.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";
|
|
7
7
|
import "./pidStore-DUXifdBr.js";
|
|
8
|
-
import "./messageLog-
|
|
8
|
+
import "./messageLog-CEqe4Hk1.js";
|
|
9
9
|
import { a as LIFECYCLES, c as initialState, d as requiredGate, f as statesOf, i as DONE_STATE, l as isKnownKind, n as TodoStore, o as ORPHANED_STATE, r as openStore, s as canTransition, t as CycleError, u as nextStates } from "./todoStore-msRCEUi1.js";
|
|
10
10
|
|
|
11
11
|
export { AgentContext, CLIS_CONFIG, CycleError, DONE_STATE, LIFECYCLES, ORPHANED_STATE, TodoStore, answerAsk, canTransition, config, agentYes as default, describeBlock, hasTodoStore, initialState, isKnownKind, listAsks, listAsksForProject, monitorHint, nextStates, openBlockers, openStore, reconcileTodos, removeControlCharacters, renderDigest, renderTree, requiredGate, statesOf, unblockedTasks };
|
|
@@ -45,6 +45,18 @@ const isTerminalReply = (s) => /^(?:\x1b\[(?:\??\d+(?:;\d+)*R|\?[\d;]*c|>[\d;]*c
|
|
|
45
45
|
* from the producer, which is the only place the intent is known.
|
|
46
46
|
*/
|
|
47
47
|
const isUnpromptedTerminalReply = (s) => /^(?:\x1b\[(?:\?\d+(?:;\d+)*R|\?[\d;]*c|>[\d;]*c|\d*n)|\x1b\](?:10|11|12|4;\d+);rgb:[0-9a-fA-F]{1,4}(?:\/[0-9a-fA-F]{1,4})*(?:\x1b\\|\x07))+$/.test(s);
|
|
48
|
+
/**
|
|
49
|
+
* Should /api/send discard this write instead of putting it on the agent's FIFO?
|
|
50
|
+
*
|
|
51
|
+
* Yes for a `raw` payload that is purely unambiguous CPR / DA / DSR replies. The agent's
|
|
52
|
+
* wrapper already answers those queries itself (ts/xterm-proxy.ts, rs/src/vterm.rs),
|
|
53
|
+
* so each attached console viewer's xterm answering too only adds duplicate or
|
|
54
|
+
* late replies. A late `ESC[<r>;<c>R` that the TUI is no longer waiting for can
|
|
55
|
+
* be split by its escape-timeout parser and leave a stray `R` in the input box.
|
|
56
|
+
* Plain CPR shares its encoding with modified F3 keys. Preserve those bytes
|
|
57
|
+
* unless the producer can identify them as replies. Only `raw` writes qualify.
|
|
58
|
+
*/
|
|
59
|
+
const isRedundantViewerReply = (raw, s) => raw && isTerminalReply(s) && isUnpromptedTerminalReply(s);
|
|
48
60
|
|
|
49
61
|
//#endregion
|
|
50
62
|
//#region ts/messageLog.ts
|
|
@@ -220,5 +232,5 @@ async function readMailbox(cwd, box) {
|
|
|
220
232
|
}
|
|
221
233
|
|
|
222
234
|
//#endregion
|
|
223
|
-
export { recordOutbox as a, recordMessage as i, readMailbox as n, senderLabel as o, recordInbox as r,
|
|
224
|
-
//# sourceMappingURL=messageLog-
|
|
235
|
+
export { recordOutbox as a, isTerminalReply as c, recordMessage as i, readMailbox as n, senderLabel as o, recordInbox as r, isRedundantViewerReply as s, partyMatches as t };
|
|
236
|
+
//# sourceMappingURL=messageLog-CEqe4Hk1.js.map
|
|
@@ -2,10 +2,10 @@ import { n as logger } from "./logger-CDIsZ-Pp.js";
|
|
|
2
2
|
import "./JsonlStore-CB_0sfdT.js";
|
|
3
3
|
import "./globalPidIndex-C6p_AY4D.js";
|
|
4
4
|
import "./pidStore-DUXifdBr.js";
|
|
5
|
-
import "./messageLog-
|
|
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-CDOCU2Dr.js";
|
|
9
9
|
import "./webrtcLink-DcvacEci.js";
|
|
10
10
|
import "./remotes-BsMGvAay.js";
|
|
11
11
|
import "./roomReplyAlias-B-v76TA8.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-CAdRsfab.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-BB8qH10w.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-CbtzHUnN.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as getInstalledPackage, n as compareVersions } from "./versionChecker-
|
|
1
|
+
import { i as getInstalledPackage, n as compareVersions } from "./versionChecker-C6dcQBbU.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-B04cXKyk.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-C6dcQBbU.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-B04cXKyk.js";
|
|
3
3
|
|
|
4
4
|
export { ensureAyrsBinary, findAyrsBinary, gcOldBinaryDirs };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import "./versionChecker-
|
|
3
|
-
import "./ts-
|
|
2
|
+
import "./versionChecker-C6dcQBbU.js";
|
|
3
|
+
import "./ts-Cv1MB33W.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
|
-
import "./messageLog-
|
|
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-CrUh3Oyo.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 { f as resolveSpawnCwd } from "./workspaceConfig-DBgsu81B.js";
|
|
@@ -125,4 +125,4 @@ async function cmdSchedule(rest) {
|
|
|
125
125
|
|
|
126
126
|
//#endregion
|
|
127
127
|
export { cmdSchedule };
|
|
128
|
-
//# sourceMappingURL=schedule-
|
|
128
|
+
//# sourceMappingURL=schedule-XclNvts9.js.map
|
|
@@ -1,31 +1,31 @@
|
|
|
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-C6dcQBbU.js";
|
|
3
|
+
import { l as findSpawnHiddenLauncher } from "./rustBinary-B04cXKyk.js";
|
|
4
|
+
import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-Cv1MB33W.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";
|
|
8
8
|
import { c as updateGlobalPidStatus } from "./globalPidIndex-C6p_AY4D.js";
|
|
9
9
|
import "./pidStore-DUXifdBr.js";
|
|
10
|
-
import { r as recordInbox, s as
|
|
10
|
+
import { c as isTerminalReply, r as recordInbox, s as isRedundantViewerReply } from "./messageLog-CEqe4Hk1.js";
|
|
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-CrUh3Oyo.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-CDOCU2Dr.js";
|
|
16
16
|
import { i as isWebrtcSpec, o as toWebrtcUrl } from "./webrtcLink-DcvacEci.js";
|
|
17
17
|
import "./remotes-BsMGvAay.js";
|
|
18
18
|
import "./roomReplyAlias-B-v76TA8.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-DiI9a-b7.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-DBgsu81B.js";
|
|
26
|
-
import { i as importProvisionModule } from "./ws-
|
|
26
|
+
import { i as importProvisionModule } from "./ws-MNhoiDoq.js";
|
|
27
27
|
import { r as spawnRejectionReason } from "./spawnGate-3YSXiRFS.js";
|
|
28
|
-
import { i as launchTray } from "./trayApp-
|
|
28
|
+
import { i as launchTray } from "./trayApp-Dh3DTja2.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-BfWkeL6T.js");
|
|
1350
|
-
const { findAyrsBinary } = await import("./rustBinary-
|
|
1350
|
+
const { findAyrsBinary } = await import("./rustBinary-CmBp0_UY.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-Dk7tedEr.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-BfWkeL6T.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-CmBp0_UY.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-CmBp0_UY.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");
|
|
@@ -2778,7 +2778,7 @@ Options:
|
|
|
2778
2778
|
}
|
|
2779
2779
|
});
|
|
2780
2780
|
if (req.method === "GET" && p === "/api/ws") {
|
|
2781
|
-
const ws = await import("./ws-
|
|
2781
|
+
const ws = await import("./ws-CbJnbj3c.js");
|
|
2782
2782
|
try {
|
|
2783
2783
|
await ws.loadProvision();
|
|
2784
2784
|
} catch (e) {
|
|
@@ -2798,7 +2798,7 @@ Options:
|
|
|
2798
2798
|
if (req.method === "GET" && p === "/api/ws/status") {
|
|
2799
2799
|
const dirRaw = url.searchParams.get("path");
|
|
2800
2800
|
if (!dirRaw) return new Response("missing ?path=<workspace dir>", { status: 400 });
|
|
2801
|
-
const ws = await import("./ws-
|
|
2801
|
+
const ws = await import("./ws-CbJnbj3c.js");
|
|
2802
2802
|
let prov;
|
|
2803
2803
|
try {
|
|
2804
2804
|
prov = await ws.loadProvision();
|
|
@@ -2820,7 +2820,7 @@ Options:
|
|
|
2820
2820
|
}
|
|
2821
2821
|
}
|
|
2822
2822
|
if (req.method === "GET" && p === "/api/ws/repos") {
|
|
2823
|
-
const ws = await import("./ws-
|
|
2823
|
+
const ws = await import("./ws-CbJnbj3c.js");
|
|
2824
2824
|
try {
|
|
2825
2825
|
await ws.loadProvision();
|
|
2826
2826
|
} catch (e) {
|
|
@@ -2901,7 +2901,7 @@ Options:
|
|
|
2901
2901
|
const m = /^([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+)$/.exec(repoParam);
|
|
2902
2902
|
if (!m || m[1] === "." || m[1] === ".." || m[2] === "." || m[2] === "..") return new Response("missing/invalid ?repo=<owner>/<repo>", { status: 400 });
|
|
2903
2903
|
const [, owner, repo] = m;
|
|
2904
|
-
const ws = await import("./ws-
|
|
2904
|
+
const ws = await import("./ws-CbJnbj3c.js");
|
|
2905
2905
|
let prov;
|
|
2906
2906
|
try {
|
|
2907
2907
|
prov = await ws.loadProvision();
|
|
@@ -3273,6 +3273,10 @@ Options:
|
|
|
3273
3273
|
try {
|
|
3274
3274
|
const record = await resolveOne(keyword, defaultOpts());
|
|
3275
3275
|
if (!record.fifo_file) return new Response(`pid ${record.pid}: no fifo_file`, { status: 409 });
|
|
3276
|
+
if (isRedundantViewerReply(raw, msg)) return Response.json({
|
|
3277
|
+
ok: true,
|
|
3278
|
+
dropped: "reply"
|
|
3279
|
+
});
|
|
3276
3280
|
const trailing = controlCodeFromName(code.toLowerCase());
|
|
3277
3281
|
const fifo = record.fifo_file;
|
|
3278
3282
|
const text = !raw && shouldFramePaste({
|
|
@@ -3812,7 +3816,7 @@ Options:
|
|
|
3812
3816
|
const perm = body.perm ?? "r";
|
|
3813
3817
|
if (perm !== "r" && perm !== "rw") return new Response(`invalid perm ${perm} (want r or rw)`, { status: 400 });
|
|
3814
3818
|
try {
|
|
3815
|
-
const { createScopedShare } = await import("./agentShare-
|
|
3819
|
+
const { createScopedShare } = await import("./agentShare-ChBtGqYx.js");
|
|
3816
3820
|
const share = await createScopedShare({
|
|
3817
3821
|
agent: body.agent,
|
|
3818
3822
|
perm,
|
|
@@ -3827,12 +3831,12 @@ Options:
|
|
|
3827
3831
|
}
|
|
3828
3832
|
}
|
|
3829
3833
|
if (req.method === "GET" && p === "/api/shares") {
|
|
3830
|
-
const { listShares } = await import("./agentShare-
|
|
3834
|
+
const { listShares } = await import("./agentShare-ChBtGqYx.js");
|
|
3831
3835
|
return Response.json(listShares());
|
|
3832
3836
|
}
|
|
3833
3837
|
const revokeM = /^\/api\/share\/([^/]+)$/.exec(p);
|
|
3834
3838
|
if (req.method === "DELETE" && revokeM) {
|
|
3835
|
-
const { revokeShare } = await import("./agentShare-
|
|
3839
|
+
const { revokeShare } = await import("./agentShare-ChBtGqYx.js");
|
|
3836
3840
|
const ok = revokeShare(decodeURIComponent(revokeM[1]));
|
|
3837
3841
|
return new Response(ok ? "revoked" : "no such share", { status: ok ? 200 : 404 });
|
|
3838
3842
|
}
|
|
@@ -4144,7 +4148,7 @@ Options:
|
|
|
4144
4148
|
const shutdown = (resolve) => {
|
|
4145
4149
|
if (heartbeat) clearInterval(heartbeat);
|
|
4146
4150
|
closeShare?.();
|
|
4147
|
-
import("./agentShare-
|
|
4151
|
+
import("./agentShare-ChBtGqYx.js").then((m) => m.revokeAllShares()).catch(() => {});
|
|
4148
4152
|
server?.stop();
|
|
4149
4153
|
Promise.resolve(releaseHostLock?.()).catch(() => {}).then(resolve);
|
|
4150
4154
|
};
|
|
@@ -4157,4 +4161,4 @@ Options:
|
|
|
4157
4161
|
|
|
4158
4162
|
//#endregion
|
|
4159
4163
|
export { cmdServe, inspectServeDaemon, loadTokenReadOnly, mintScopedTermToken, resolveDaemonHttpBase, resolveLocalServeUrl };
|
|
4160
|
-
//# sourceMappingURL=serve-
|
|
4164
|
+
//# sourceMappingURL=serve-OUQFYo3J.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-OUQFYo3J.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-DZlBl5i_.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-BfWkeL6T.js");
|
|
247
|
-
const { findAyrsBinary } = await import("./rustBinary-
|
|
247
|
+
const { findAyrsBinary } = await import("./rustBinary-CmBp0_UY.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-BB8qH10w.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-OUQFYo3J.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-OUQFYo3J.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-Dk7tedEr.js.map
|
|
@@ -2,10 +2,10 @@ import "./logger-CDIsZ-Pp.js";
|
|
|
2
2
|
import "./JsonlStore-CB_0sfdT.js";
|
|
3
3
|
import "./globalPidIndex-C6p_AY4D.js";
|
|
4
4
|
import "./pidStore-DUXifdBr.js";
|
|
5
|
-
import "./messageLog-
|
|
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-CDOCU2Dr.js";
|
|
9
9
|
import "./webrtcLink-DcvacEci.js";
|
|
10
10
|
import "./remotes-BsMGvAay.js";
|
|
11
11
|
import "./roomReplyAlias-B-v76TA8.js";
|