agent-yes 1.303.1-beta.792.1 → 1.303.1-beta.794.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-t_5QYk33.js → SUPPORTED_CLIS-CJzYPFbd.js} +2 -2
- package/dist/{SUPPORTED_CLIS-BFep5hb5.js → SUPPORTED_CLIS-bLqlO4rP.js} +3 -3
- package/dist/{agentShare-BoUJNXqm.js → agentShare-BXsyE59-.js} +2 -2
- package/dist/{callback-BnVg1IBI.js → callback-DWONFntW.js} +2 -2
- package/dist/{callback-KSfCHgvN.js → callback-_7RIRc-I.js} +4 -4
- package/dist/cli.js +83 -5
- package/dist/{cmdPs-BMBjSdpr.js → cmdPs-Dibjd-KT.js} +3 -3
- package/dist/{expose-BqaH-tsw.js → expose-Bhsn5yUz.js} +2 -2
- package/dist/index.js +2 -2
- package/dist/{notifyDaemon-D-0GQrD5.js → notifyDaemon-CSPeR6YD.js} +3 -3
- package/dist/{parentPingLoop-DP1MoW_7.js → parentPingLoop-B27zQDad.js} +2 -2
- package/dist/{rustBinary-BDcUKywU.js → rustBinary-C25QE6-X.js} +2 -2
- package/dist/{rustBinary-BqUk1oeN.js → rustBinary-DC-bOr0G.js} +2 -2
- package/dist/{schedule-DicWdnQc.js → schedule-CpRo9F0q.js} +4 -4
- package/dist/{serve-Dj_XGSwX.js → serve-BMWl0k3o.js} +25 -25
- package/dist/{setup-mFtk1aA_.js → setup-cYwWuZ-o.js} +3 -3
- package/dist/{shareCmd-B7GBEO5J.js → shareCmd-DPvwryH5.js} +5 -5
- package/dist/{subcommands-CzNl9RwB.js → subcommands-DP8nxPgW.js} +17 -17
- package/dist/{subcommands-FaMjO2K3.js → subcommands-NwJ6j10w.js} +1 -1
- package/dist/{terminal-DMpjnnTw.js → terminal-Be6ax8Tp.js} +2 -2
- package/dist/trayApp-BRYzmO_n.js +5 -0
- package/dist/{trayApp-3IDyX8ND.js → trayApp-C6Psk7Vj.js} +2 -2
- package/dist/{ts-CRFAyvVD.js → ts-B2c7lZq0.js} +41 -41
- package/dist/{versionChecker-62GqCQuL.js → versionChecker-DTwlwCie.js} +2 -2
- package/dist/{widget-DLCi8qUM.js → widget-DRN0RUoJ.js} +3 -3
- package/dist/{ws-tQGhJ5VC.js → ws-SdNOl0Zr.js} +2 -2
- package/dist/{ws-DUprs8Xw.js → ws-siESNtqn.js} +2 -2
- package/package.json +1 -1
- package/ts/cli.ts +5 -0
- package/ts/cwdGuard.spec.ts +110 -0
- package/ts/cwdGuard.ts +118 -0
- package/dist/trayApp-D8rXs_Ol.js +0 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as CLIS_CONFIG } from "./ts-
|
|
1
|
+
import { t as CLIS_CONFIG } from "./ts-B2c7lZq0.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-CJzYPFbd.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import "./versionChecker-
|
|
3
|
-
import "./ts-
|
|
2
|
+
import "./versionChecker-DTwlwCie.js";
|
|
3
|
+
import "./ts-B2c7lZq0.js";
|
|
4
4
|
import "./todoAutomation-TTp_Qz9G.js";
|
|
5
5
|
import "./JsonlStore-BpYZZTap.js";
|
|
6
6
|
import "./globalPidIndex-CRB5KtyL.js";
|
|
7
7
|
import "./pidStore-433kvh9D.js";
|
|
8
8
|
import "./messageLog-Dq_ka-Bt.js";
|
|
9
9
|
import "./todoStore-C9RTz0Vs.js";
|
|
10
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
10
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CJzYPFbd.js";
|
|
11
11
|
|
|
12
12
|
export { SUPPORTED_CLIS };
|
|
@@ -8,7 +8,7 @@ import "./configShared-De4bR5hH.js";
|
|
|
8
8
|
import "./webrtcLink-va_gAR77.js";
|
|
9
9
|
import "./remotes-B2i_QcdG.js";
|
|
10
10
|
import "./roomReplyAlias-9jb1qmh3.js";
|
|
11
|
-
import { rt as resolveOne } from "./subcommands-
|
|
11
|
+
import { rt as resolveOne } from "./subcommands-DP8nxPgW.js";
|
|
12
12
|
import "./notifyStore-DIfkfKB2.js";
|
|
13
13
|
import "./senderAncestry-CVHeKk1Y.js";
|
|
14
14
|
import { l as startShare } from "./share-CbFetL5H.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-BXsyE59-.js.map
|
|
@@ -8,10 +8,10 @@ import "./configShared-De4bR5hH.js";
|
|
|
8
8
|
import "./webrtcLink-va_gAR77.js";
|
|
9
9
|
import "./remotes-B2i_QcdG.js";
|
|
10
10
|
import "./roomReplyAlias-9jb1qmh3.js";
|
|
11
|
-
import "./subcommands-
|
|
11
|
+
import "./subcommands-DP8nxPgW.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-_7RIRc-I.js";
|
|
16
16
|
|
|
17
17
|
export { cmdCallback };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as agentYesHome } from "./agentYesHome-JmJC28YX.js";
|
|
2
|
-
import { rt as resolveOne } from "./subcommands-
|
|
2
|
+
import { rt as resolveOne } from "./subcommands-DP8nxPgW.js";
|
|
3
3
|
import { a as mintCapability, o as parseExpires } from "./callbackCore-Deve5pv3.js";
|
|
4
|
-
import { randomBytes } from "node:crypto";
|
|
5
4
|
import { chmodSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
6
5
|
import path from "node:path";
|
|
6
|
+
import { randomBytes } from "node:crypto";
|
|
7
7
|
import { mkdir, readFile, writeFile } from "node:fs/promises";
|
|
8
8
|
|
|
9
9
|
//#region ts/callback.ts
|
|
@@ -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-BMWl0k3o.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-_7RIRc-I.js.map
|
package/dist/cli.js
CHANGED
|
@@ -1,14 +1,92 @@
|
|
|
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 { m as getRustBinary } from "./rustBinary-
|
|
4
|
+
import { a as versionString, r as displayVersion, t as checkAndAutoUpdate } from "./versionChecker-DTwlwCie.js";
|
|
5
|
+
import { m as getRustBinary } from "./rustBinary-C25QE6-X.js";
|
|
6
|
+
import { statSync } from "node:fs";
|
|
7
|
+
import { isAbsolute } from "node:path";
|
|
6
8
|
import { argv } from "process";
|
|
7
9
|
import { spawn } from "child_process";
|
|
8
10
|
import ms from "ms";
|
|
9
11
|
import yargs from "yargs";
|
|
10
12
|
import { hideBin } from "yargs/helpers";
|
|
11
13
|
|
|
14
|
+
//#region ts/cwdGuard.ts
|
|
15
|
+
/**
|
|
16
|
+
* Startup guard for a working directory that no longer exists.
|
|
17
|
+
*
|
|
18
|
+
* A shell can sit in a directory that gets deleted and recreated under it —
|
|
19
|
+
* routine here, since `ay ws new` re-clones `<ws>/tree/<branch>` and worktrees
|
|
20
|
+
* get removed and re-added while a terminal is parked inside one. The path
|
|
21
|
+
* still resolves, but the inode the shell holds is gone, so `process.cwd()`
|
|
22
|
+
* throws ENOENT/uv_cwd.
|
|
23
|
+
*
|
|
24
|
+
* Nothing used to catch that. The first thing to call `process.cwd()` was the
|
|
25
|
+
* eager config load (ts/index.ts top-level-awaits agent-yes.config.ts, whose
|
|
26
|
+
* body awaits loadCascadingConfig → process.cwd()), and later execa and
|
|
27
|
+
* bun-pty, so `cy` died with a raw Bun stack trace — three of them — before any
|
|
28
|
+
* of our own error handling existed. No pid record, no log, nothing to read
|
|
29
|
+
* back; see the no-trace symptom in the report that prompted this.
|
|
30
|
+
*
|
|
31
|
+
* So this runs FIRST, before anything else can touch the cwd: recover when the
|
|
32
|
+
* shell's `$PWD` still names a real directory (the recreated workspace — which
|
|
33
|
+
* is where the user meant to be), and otherwise fail with one actionable line
|
|
34
|
+
* instead of a stack trace.
|
|
35
|
+
*
|
|
36
|
+
* Imported for its side effect as the first import of ts/cli.ts: an ES module's
|
|
37
|
+
* imports are evaluated before the importing module's body, so an inline check
|
|
38
|
+
* in cli.ts would already be too late if any import touched the cwd.
|
|
39
|
+
* cwdGuard.spec.ts pins that import position.
|
|
40
|
+
*/
|
|
41
|
+
function staleMessage(pwd) {
|
|
42
|
+
return `agent-yes: this shell's working directory${pwd ? ` ('${pwd}')` : ""} no longer exists.\n It was deleted or replaced while the shell stayed in it, so process.cwd()\n fails (ENOENT/uv_cwd) and no agent can be started here.\n Re-enter it, then retry:\n cd "$PWD" # if the path was recreated\n cd <some-dir> # otherwise, go somewhere that exists\n`;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Is the cwd usable, and can it be recovered when not? Pure given `deps`; the
|
|
46
|
+
* process-mutating `chdir` only runs on the recovery path.
|
|
47
|
+
*/
|
|
48
|
+
function checkCwd(deps = {}) {
|
|
49
|
+
const cwd = deps.cwd ?? (() => process.cwd());
|
|
50
|
+
const chdir = deps.chdir ?? ((dir) => process.chdir(dir));
|
|
51
|
+
const pwd = "pwd" in deps ? deps.pwd : process.env.PWD;
|
|
52
|
+
const isDir = deps.isDir ?? ((dir) => {
|
|
53
|
+
try {
|
|
54
|
+
return statSync(dir).isDirectory();
|
|
55
|
+
} catch {
|
|
56
|
+
return false;
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
try {
|
|
60
|
+
cwd();
|
|
61
|
+
return { state: "ok" };
|
|
62
|
+
} catch {}
|
|
63
|
+
if (pwd && isAbsolute(pwd) && isDir(pwd)) try {
|
|
64
|
+
chdir(pwd);
|
|
65
|
+
return {
|
|
66
|
+
state: "recovered",
|
|
67
|
+
dir: pwd
|
|
68
|
+
};
|
|
69
|
+
} catch {}
|
|
70
|
+
return {
|
|
71
|
+
state: "stale",
|
|
72
|
+
message: staleMessage(pwd)
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
/** Apply the verdict: notify on recovery, exit 1 with one readable line otherwise. */
|
|
76
|
+
function applyCwdGuard(deps = {}, io = {}) {
|
|
77
|
+
const warn = io.warn ?? ((s) => void process.stderr.write(s));
|
|
78
|
+
const fail = io.fail ?? ((s) => {
|
|
79
|
+
process.stderr.write(s);
|
|
80
|
+
process.exit(1);
|
|
81
|
+
});
|
|
82
|
+
const verdict = checkCwd(deps);
|
|
83
|
+
if (verdict.state === "recovered") warn(`agent-yes: the working directory was replaced while this shell sat in it; continuing in ${verdict.dir}\n`);
|
|
84
|
+
else if (verdict.state === "stale") fail(verdict.message);
|
|
85
|
+
return verdict;
|
|
86
|
+
}
|
|
87
|
+
applyCwdGuard();
|
|
88
|
+
|
|
89
|
+
//#endregion
|
|
12
90
|
//#region ts/parseCliArgs.ts
|
|
13
91
|
/**
|
|
14
92
|
* Parse CLI arguments the same way cli.ts does
|
|
@@ -300,7 +378,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
|
|
|
300
378
|
const rawArg = process.argv[2];
|
|
301
379
|
const managerCommands = !invokedCliName(process.argv);
|
|
302
380
|
const isHelpFlag = rawArg === "-h" || rawArg === "--help";
|
|
303
|
-
const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken, isBareManagerInvocation } = await import("./subcommands-
|
|
381
|
+
const { isSubcommand, runSubcommand, cmdHelp, isUnknownManagerToken, isBareManagerInvocation } = await import("./subcommands-NwJ6j10w.js");
|
|
304
382
|
if (isHelpFlag && process.argv.length === 3) {
|
|
305
383
|
await cmdHelp(managerCommands);
|
|
306
384
|
process.exit(0);
|
|
@@ -314,7 +392,7 @@ function buildRustArgs(argv, cliFromScript, supportedClis) {
|
|
|
314
392
|
process.exit(code ?? 0);
|
|
315
393
|
}
|
|
316
394
|
{
|
|
317
|
-
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-
|
|
395
|
+
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-bLqlO4rP.js");
|
|
318
396
|
if (isUnknownManagerToken(rawArg, managerCommands, SUPPORTED_CLIS)) {
|
|
319
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`);
|
|
320
398
|
process.exit(1);
|
|
@@ -386,7 +464,7 @@ if (config.useRust) {
|
|
|
386
464
|
process.exit(1);
|
|
387
465
|
}
|
|
388
466
|
if (rustBinary) {
|
|
389
|
-
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-
|
|
467
|
+
const { SUPPORTED_CLIS } = await import("./SUPPORTED_CLIS-bLqlO4rP.js");
|
|
390
468
|
const rustArgs = buildRustArgs(process.argv, config.cli, SUPPORTED_CLIS);
|
|
391
469
|
if (config.verbose) {
|
|
392
470
|
console.log(`[rust] Using binary: ${rustBinary}`);
|
|
@@ -8,13 +8,13 @@ import "./configShared-De4bR5hH.js";
|
|
|
8
8
|
import "./webrtcLink-va_gAR77.js";
|
|
9
9
|
import "./remotes-B2i_QcdG.js";
|
|
10
10
|
import "./roomReplyAlias-9jb1qmh3.js";
|
|
11
|
-
import { H as listRecords, St as flattenForest, v as deriveLiveState, xt as buildAgentForest } from "./subcommands-
|
|
11
|
+
import { H as listRecords, St as flattenForest, v as deriveLiveState, xt as buildAgentForest } from "./subcommands-DP8nxPgW.js";
|
|
12
12
|
import "./notifyStore-DIfkfKB2.js";
|
|
13
13
|
import "./senderAncestry-CVHeKk1Y.js";
|
|
14
14
|
import { i as systemStats, n as sampleTrees, r as snapshotProcs, t as humanBytes } from "./procStats-DwTxj3rs.js";
|
|
15
|
-
import yargs from "yargs";
|
|
16
15
|
import { readFileSync } from "node:fs";
|
|
17
16
|
import path from "node:path";
|
|
17
|
+
import yargs from "yargs";
|
|
18
18
|
import { homedir } from "node:os";
|
|
19
19
|
|
|
20
20
|
//#region ts/cmdPs.ts
|
|
@@ -332,4 +332,4 @@ function readPpidSync(pid) {
|
|
|
332
332
|
|
|
333
333
|
//#endregion
|
|
334
334
|
export { cmdPs };
|
|
335
|
-
//# sourceMappingURL=cmdPs-
|
|
335
|
+
//# sourceMappingURL=cmdPs-Dibjd-KT.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createHash, randomBytes } from "node:crypto";
|
|
2
1
|
import { chmodSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "node:fs";
|
|
3
2
|
import path from "node:path";
|
|
3
|
+
import { createHash, randomBytes } from "node:crypto";
|
|
4
4
|
import { homedir } from "node:os";
|
|
5
5
|
|
|
6
6
|
//#region node_modules/codehost/src/tunnel/protocol.ts
|
|
@@ -549,4 +549,4 @@ async function cmdExpose(args) {
|
|
|
549
549
|
|
|
550
550
|
//#endregion
|
|
551
551
|
export { cmdExpose, ensureExposure, listExposures, stopExposure };
|
|
552
|
-
//# sourceMappingURL=expose-
|
|
552
|
+
//# sourceMappingURL=expose-Bhsn5yUz.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-DTwlwCie.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-B2c7lZq0.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-TTp_Qz9G.js";
|
|
5
5
|
import "./JsonlStore-BpYZZTap.js";
|
|
6
6
|
import "./globalPidIndex-CRB5KtyL.js";
|
|
@@ -8,13 +8,13 @@ import "./configShared-De4bR5hH.js";
|
|
|
8
8
|
import "./webrtcLink-va_gAR77.js";
|
|
9
9
|
import "./remotes-B2i_QcdG.js";
|
|
10
10
|
import "./roomReplyAlias-9jb1qmh3.js";
|
|
11
|
-
import { H as listRecords, P as isPidAlive, et as renderLogTailLines, v as deriveLiveState } from "./subcommands-
|
|
11
|
+
import { H as listRecords, P as isPidAlive, et as renderLogTailLines, v as deriveLiveState } from "./subcommands-DP8nxPgW.js";
|
|
12
12
|
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-DIfkfKB2.js";
|
|
13
13
|
import "./senderAncestry-CVHeKk1Y.js";
|
|
14
|
+
import { readFileSync, renameSync, unlinkSync, writeFileSync } from "node:fs";
|
|
14
15
|
import { mkdir, readFile, rename, rm, stat, writeFile } from "fs/promises";
|
|
15
16
|
import { randomUUID } from "node:crypto";
|
|
16
17
|
import { execFile, execFileSync } from "node:child_process";
|
|
17
|
-
import { readFileSync, renameSync, unlinkSync, writeFileSync } from "node:fs";
|
|
18
18
|
import { Worker } from "node:worker_threads";
|
|
19
19
|
|
|
20
20
|
//#region ts/notifyRouter.ts
|
|
@@ -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-CSPeR6YD.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-NwJ6j10w.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-B27zQDad.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-DTwlwCie.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";
|
|
@@ -435,4 +435,4 @@ async function getRustBinary(options = {}) {
|
|
|
435
435
|
|
|
436
436
|
//#endregion
|
|
437
437
|
export { ensureExecutable as a, findSpawnHiddenLauncher as c, getBinDir as d, getBinaryName as f, hasValidMacSignature as h, ensureAyrsBinary as i, findTrayLauncher as l, getRustBinary as m, devBuildInfo as n, findAyrsBinary as o, getDownloadUrl as p, downloadBinary as r, findRustBinary as s, chmodExtractedBinaries as t, gcOldBinaryDirs as u };
|
|
438
|
-
//# sourceMappingURL=rustBinary-
|
|
438
|
+
//# sourceMappingURL=rustBinary-C25QE6-X.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./versionChecker-
|
|
2
|
-
import { a as ensureExecutable, c as findSpawnHiddenLauncher, d as getBinDir, f as getBinaryName, h as hasValidMacSignature, i as ensureAyrsBinary, l as findTrayLauncher, m as getRustBinary, n as devBuildInfo, o as findAyrsBinary, p as getDownloadUrl, r as downloadBinary, s as findRustBinary, t as chmodExtractedBinaries, u as gcOldBinaryDirs } from "./rustBinary-
|
|
1
|
+
import "./versionChecker-DTwlwCie.js";
|
|
2
|
+
import { a as ensureExecutable, c as findSpawnHiddenLauncher, d as getBinDir, f as getBinaryName, h as hasValidMacSignature, i as ensureAyrsBinary, l as findTrayLauncher, m as getRustBinary, n as devBuildInfo, o as findAyrsBinary, p as getDownloadUrl, r as downloadBinary, s as findRustBinary, t as chmodExtractedBinaries, u as gcOldBinaryDirs } from "./rustBinary-C25QE6-X.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-DTwlwCie.js";
|
|
3
|
+
import "./ts-B2c7lZq0.js";
|
|
4
4
|
import "./todoAutomation-TTp_Qz9G.js";
|
|
5
5
|
import "./JsonlStore-BpYZZTap.js";
|
|
6
6
|
import "./globalPidIndex-CRB5KtyL.js";
|
|
7
7
|
import "./pidStore-433kvh9D.js";
|
|
8
8
|
import "./messageLog-Dq_ka-Bt.js";
|
|
9
9
|
import "./todoStore-C9RTz0Vs.js";
|
|
10
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
10
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CJzYPFbd.js";
|
|
11
11
|
import { f as resolveSpawnCwd } from "./workspaceConfig-DXWyuf1A.js";
|
|
12
12
|
import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-B1nCglgu.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-CpRo9F0q.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import { i as getInstalledPackage } from "./versionChecker-
|
|
3
|
-
import { c 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-DTwlwCie.js";
|
|
3
|
+
import { c as findSpawnHiddenLauncher } from "./rustBinary-C25QE6-X.js";
|
|
4
|
+
import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-B2c7lZq0.js";
|
|
5
5
|
import { t as agentYesHome$1 } from "./agentYesHome-JmJC28YX.js";
|
|
6
6
|
import { u as removeControlCharacters } from "./todoAutomation-TTp_Qz9G.js";
|
|
7
7
|
import "./JsonlStore-BpYZZTap.js";
|
|
@@ -11,27 +11,27 @@ import { r as recordInbox, s as isTerminalReply } from "./messageLog-Dq_ka-Bt.js
|
|
|
11
11
|
import "./todoStore-C9RTz0Vs.js";
|
|
12
12
|
import "./e2e-BdLf8DvY.js";
|
|
13
13
|
import "./configShared-De4bR5hH.js";
|
|
14
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
14
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-CJzYPFbd.js";
|
|
15
15
|
import { i as isWebrtcSpec, o as toWebrtcUrl } from "./webrtcLink-va_gAR77.js";
|
|
16
16
|
import "./remotes-B2i_QcdG.js";
|
|
17
17
|
import "./roomReplyAlias-9jb1qmh3.js";
|
|
18
|
-
import { $ as recentReadEdges, D as extractTaskCounts, E as extractNeedsInput, F as isSlashCommand, H as listRecords, Q as recentMessageEdges, X as readNotes, Y as readLogForRender, Z as readPtysize, _t as withIpcLock, bt as TYPING_BADGE, et as renderLogTailLines, f as cliDefaults, gt as writeToIpc, h as controlCodeFromName, nt as renderRawLogLines, rt as resolveOne, tt as renderRawLog, ut as snapshotStatus, vt as framePaste, w as extractBadges, y as deriveLiveStatus, yt as shouldFramePaste, z as isUserTyping } from "./subcommands-
|
|
18
|
+
import { $ as recentReadEdges, D as extractTaskCounts, E as extractNeedsInput, F as isSlashCommand, H as listRecords, Q as recentMessageEdges, X as readNotes, Y as readLogForRender, Z as readPtysize, _t as withIpcLock, bt as TYPING_BADGE, et as renderLogTailLines, f as cliDefaults, gt as writeToIpc, h as controlCodeFromName, nt as renderRawLogLines, rt as resolveOne, tt as renderRawLog, ut as snapshotStatus, vt as framePaste, w as extractBadges, y as deriveLiveStatus, yt as shouldFramePaste, z as isUserTyping } from "./subcommands-DP8nxPgW.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-_7RIRc-I.js";
|
|
23
23
|
import { n as sampleTrees } from "./procStats-DwTxj3rs.js";
|
|
24
24
|
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-DXWyuf1A.js";
|
|
25
25
|
import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-B1nCglgu.js";
|
|
26
|
-
import { i as importProvisionModule } from "./ws-
|
|
26
|
+
import { i as importProvisionModule } from "./ws-SdNOl0Zr.js";
|
|
27
27
|
import { r as spawnRejectionReason } from "./spawnGate-CEk6MowO.js";
|
|
28
|
-
import { i as launchTray } from "./trayApp-
|
|
28
|
+
import { i as launchTray } from "./trayApp-C6Psk7Vj.js";
|
|
29
|
+
import { existsSync, realpathSync, renameSync, watch, writeFileSync } from "node:fs";
|
|
29
30
|
import yargs from "yargs";
|
|
30
31
|
import { appendFile, mkdir, open, readFile, readdir, rename, rm, stat, unlink, writeFile } from "fs/promises";
|
|
31
32
|
import { arch, cpus, freemem, homedir, hostname, loadavg, platform, totalmem, uptime, userInfo } from "os";
|
|
32
33
|
import path from "path";
|
|
33
34
|
import { execFileSync } from "node:child_process";
|
|
34
|
-
import { existsSync, realpathSync, renameSync, watch, writeFileSync } from "node:fs";
|
|
35
35
|
import { fileURLToPath } from "node:url";
|
|
36
36
|
import { createHash, createHmac, randomBytes, timingSafeEqual } from "crypto";
|
|
37
37
|
|
|
@@ -1345,7 +1345,7 @@ async function warnStrayServeProcesses() {
|
|
|
1345
1345
|
}
|
|
1346
1346
|
async function daemonShareRuntime(args) {
|
|
1347
1347
|
const { daemonShareRuntime: decide } = await import("./serveRust-DKhCiKjJ.js");
|
|
1348
|
-
const { findAyrsBinary } = await import("./rustBinary-
|
|
1348
|
+
const { findAyrsBinary } = await import("./rustBinary-DC-bOr0G.js");
|
|
1349
1349
|
return decide(args, () => !!findAyrsBinary());
|
|
1350
1350
|
}
|
|
1351
1351
|
function explicitWebrtcUrl(args) {
|
|
@@ -1643,7 +1643,7 @@ async function cmdServeStatus(args) {
|
|
|
1643
1643
|
const token = await loadTokenReadOnly();
|
|
1644
1644
|
const daemonArgs = mgr ? await readDaemonServeArgs(mgr) : null;
|
|
1645
1645
|
const installed = daemonArgs !== null;
|
|
1646
|
-
const { daemonShareLink, foregroundAyrsShareLink } = await import("./shareCmd-
|
|
1646
|
+
const { daemonShareLink, foregroundAyrsShareLink } = await import("./shareCmd-DPvwryH5.js");
|
|
1647
1647
|
const shareLink = (installed ? await daemonShareLink(daemonArgs) : await foregroundAyrsShareLink()) ?? await readShareLink();
|
|
1648
1648
|
const running = installed ? await readDaemonRunning(mgr) : false;
|
|
1649
1649
|
const a = daemonArgs ?? [];
|
|
@@ -1777,14 +1777,14 @@ Options:
|
|
|
1777
1777
|
const { planRustServe, SERVE_SUBCOMMANDS } = await import("./serveRust-DKhCiKjJ.js");
|
|
1778
1778
|
const plan = planRustServe(rest);
|
|
1779
1779
|
if (plan.kind === "rust-only") {
|
|
1780
|
-
const { ensureAyrsBinary } = await import("./rustBinary-
|
|
1780
|
+
const { ensureAyrsBinary } = await import("./rustBinary-DC-bOr0G.js");
|
|
1781
1781
|
const ayrs = await ensureAyrsBinary();
|
|
1782
1782
|
if (ayrs) return runAyrsServe(ayrs, plan.argv);
|
|
1783
1783
|
process.stderr.write(`ay serve: ${plan.feature} needs the Rust daemon (ayrs), which was not found (bun run build:rs, or reinstall)\n`);
|
|
1784
1784
|
return 1;
|
|
1785
1785
|
}
|
|
1786
1786
|
if (plan.kind === "rust") {
|
|
1787
|
-
const { ensureAyrsBinary } = await import("./rustBinary-
|
|
1787
|
+
const { ensureAyrsBinary } = await import("./rustBinary-DC-bOr0G.js");
|
|
1788
1788
|
const ayrs = await ensureAyrsBinary();
|
|
1789
1789
|
if (ayrs) return runAyrsServe(ayrs, plan.argv);
|
|
1790
1790
|
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");
|
|
@@ -2766,7 +2766,7 @@ Options:
|
|
|
2766
2766
|
}
|
|
2767
2767
|
});
|
|
2768
2768
|
if (req.method === "GET" && p === "/api/ws") {
|
|
2769
|
-
const ws = await import("./ws-
|
|
2769
|
+
const ws = await import("./ws-siESNtqn.js");
|
|
2770
2770
|
try {
|
|
2771
2771
|
await ws.loadProvision();
|
|
2772
2772
|
} catch (e) {
|
|
@@ -2786,7 +2786,7 @@ Options:
|
|
|
2786
2786
|
if (req.method === "GET" && p === "/api/ws/status") {
|
|
2787
2787
|
const dirRaw = url.searchParams.get("path");
|
|
2788
2788
|
if (!dirRaw) return new Response("missing ?path=<workspace dir>", { status: 400 });
|
|
2789
|
-
const ws = await import("./ws-
|
|
2789
|
+
const ws = await import("./ws-siESNtqn.js");
|
|
2790
2790
|
let prov;
|
|
2791
2791
|
try {
|
|
2792
2792
|
prov = await ws.loadProvision();
|
|
@@ -2808,7 +2808,7 @@ Options:
|
|
|
2808
2808
|
}
|
|
2809
2809
|
}
|
|
2810
2810
|
if (req.method === "GET" && p === "/api/ws/repos") {
|
|
2811
|
-
const ws = await import("./ws-
|
|
2811
|
+
const ws = await import("./ws-siESNtqn.js");
|
|
2812
2812
|
try {
|
|
2813
2813
|
await ws.loadProvision();
|
|
2814
2814
|
} catch (e) {
|
|
@@ -2889,7 +2889,7 @@ Options:
|
|
|
2889
2889
|
const m = /^([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+)$/.exec(repoParam);
|
|
2890
2890
|
if (!m || m[1] === "." || m[1] === ".." || m[2] === "." || m[2] === "..") return new Response("missing/invalid ?repo=<owner>/<repo>", { status: 400 });
|
|
2891
2891
|
const [, owner, repo] = m;
|
|
2892
|
-
const ws = await import("./ws-
|
|
2892
|
+
const ws = await import("./ws-siESNtqn.js");
|
|
2893
2893
|
let prov;
|
|
2894
2894
|
try {
|
|
2895
2895
|
prov = await ws.loadProvision();
|
|
@@ -3800,7 +3800,7 @@ Options:
|
|
|
3800
3800
|
const perm = body.perm ?? "r";
|
|
3801
3801
|
if (perm !== "r" && perm !== "rw") return new Response(`invalid perm ${perm} (want r or rw)`, { status: 400 });
|
|
3802
3802
|
try {
|
|
3803
|
-
const { createScopedShare } = await import("./agentShare-
|
|
3803
|
+
const { createScopedShare } = await import("./agentShare-BXsyE59-.js");
|
|
3804
3804
|
const share = await createScopedShare({
|
|
3805
3805
|
agent: body.agent,
|
|
3806
3806
|
perm,
|
|
@@ -3815,12 +3815,12 @@ Options:
|
|
|
3815
3815
|
}
|
|
3816
3816
|
}
|
|
3817
3817
|
if (req.method === "GET" && p === "/api/shares") {
|
|
3818
|
-
const { listShares } = await import("./agentShare-
|
|
3818
|
+
const { listShares } = await import("./agentShare-BXsyE59-.js");
|
|
3819
3819
|
return Response.json(listShares());
|
|
3820
3820
|
}
|
|
3821
3821
|
const revokeM = /^\/api\/share\/([^/]+)$/.exec(p);
|
|
3822
3822
|
if (req.method === "DELETE" && revokeM) {
|
|
3823
|
-
const { revokeShare } = await import("./agentShare-
|
|
3823
|
+
const { revokeShare } = await import("./agentShare-BXsyE59-.js");
|
|
3824
3824
|
const ok = revokeShare(decodeURIComponent(revokeM[1]));
|
|
3825
3825
|
return new Response(ok ? "revoked" : "no such share", { status: ok ? 200 : 404 });
|
|
3826
3826
|
}
|
|
@@ -3834,7 +3834,7 @@ Options:
|
|
|
3834
3834
|
const port = Number(body.port);
|
|
3835
3835
|
if (!Number.isInteger(port) || port < 1 || port > 65535) return new Response("valid port required", { status: 400 });
|
|
3836
3836
|
try {
|
|
3837
|
-
const { ensureExposure } = await import("./expose-
|
|
3837
|
+
const { ensureExposure } = await import("./expose-Bhsn5yUz.js");
|
|
3838
3838
|
const h = await ensureExposure(port, body.relay);
|
|
3839
3839
|
return Response.json({
|
|
3840
3840
|
id: h.id,
|
|
@@ -3848,12 +3848,12 @@ Options:
|
|
|
3848
3848
|
}
|
|
3849
3849
|
}
|
|
3850
3850
|
if (req.method === "GET" && p === "/api/exposes") {
|
|
3851
|
-
const { listExposures } = await import("./expose-
|
|
3851
|
+
const { listExposures } = await import("./expose-Bhsn5yUz.js");
|
|
3852
3852
|
return Response.json(listExposures());
|
|
3853
3853
|
}
|
|
3854
3854
|
const unexposeM = /^\/api\/expose\/(\d+)$/.exec(p);
|
|
3855
3855
|
if (req.method === "DELETE" && unexposeM) {
|
|
3856
|
-
const { stopExposure } = await import("./expose-
|
|
3856
|
+
const { stopExposure } = await import("./expose-Bhsn5yUz.js");
|
|
3857
3857
|
const ok = stopExposure(Number(unexposeM[1]));
|
|
3858
3858
|
return new Response(ok ? "revoked" : "no such exposure", { status: ok ? 200 : 404 });
|
|
3859
3859
|
}
|
|
@@ -4132,7 +4132,7 @@ Options:
|
|
|
4132
4132
|
const shutdown = (resolve) => {
|
|
4133
4133
|
if (heartbeat) clearInterval(heartbeat);
|
|
4134
4134
|
closeShare?.();
|
|
4135
|
-
import("./agentShare-
|
|
4135
|
+
import("./agentShare-BXsyE59-.js").then((m) => m.revokeAllShares()).catch(() => {});
|
|
4136
4136
|
server?.stop();
|
|
4137
4137
|
Promise.resolve(releaseHostLock?.()).catch(() => {}).then(resolve);
|
|
4138
4138
|
};
|
|
@@ -4145,4 +4145,4 @@ Options:
|
|
|
4145
4145
|
|
|
4146
4146
|
//#endregion
|
|
4147
4147
|
export { cmdServe, inspectServeDaemon, loadTokenReadOnly, mintScopedTermToken, resolveDaemonHttpBase, resolveLocalServeUrl };
|
|
4148
|
-
//# sourceMappingURL=serve-
|
|
4148
|
+
//# sourceMappingURL=serve-BMWl0k3o.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as getWorkspaceRoot, p as setWorkspaceRoot } from "./workspaceConfig-DXWyuf1A.js";
|
|
2
|
+
import { existsSync } from "node:fs";
|
|
2
3
|
import { homedir } from "os";
|
|
3
4
|
import path from "path";
|
|
4
|
-
import { existsSync } from "node:fs";
|
|
5
5
|
import { stdin, stdout } from "node:process";
|
|
6
6
|
import { createInterface } from "node:readline/promises";
|
|
7
7
|
|
|
@@ -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-BMWl0k3o.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-cYwWuZ-o.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-DKhCiKjJ.js");
|
|
247
|
-
const { findAyrsBinary } = await import("./rustBinary-
|
|
247
|
+
const { findAyrsBinary } = await import("./rustBinary-DC-bOr0G.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-SsInrVHU.js");
|
|
263
|
-
const { isPidAlive } = await import("./subcommands-
|
|
263
|
+
const { isPidAlive } = await import("./subcommands-NwJ6j10w.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-BMWl0k3o.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-BMWl0k3o.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-DPvwryH5.js.map
|