agent-yes 1.302.1 → 1.302.2
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/README.md +24 -0
- package/dist/{JsonlStore-BqF7AQ6E.js → JsonlStore-BpYZZTap.js} +1 -1
- package/dist/SUPPORTED_CLIS-C5Uhdl61.js +12 -0
- package/dist/{SUPPORTED_CLIS-CNBBncE3.js → SUPPORTED_CLIS-FBshN0v2.js} +2 -2
- package/dist/{agent-yes.config-C77SodMP.js → agent-yes.config-CRfpdp3A.js} +2 -2
- package/dist/{agentShare-Cl810NKM.js → agentShare-CNgCQMY9.js} +12 -12
- package/dist/agentYesHome-CYNNNP71.js +3 -0
- package/dist/{agentYesHome-BNtn19J4.js → agentYesHome-JmJC28YX.js} +1 -1
- package/dist/{askCli-DFsWcgpF.js → askCli-J9hHcgJz.js} +6 -6
- package/dist/{browser-XQnbPssj.js → browser-BW90gl2w.js} +5 -5
- package/dist/{browser-wkzxw6lx.js → browser-BmxN1Ur9.js} +1 -1
- package/dist/callback-CbZ-H_Pn.js +15 -0
- package/dist/{callback-zMFnYwsJ.js → callback-ayc9yXqJ.js} +6 -6
- package/dist/{callbackCore-LDxJc8LY.js → callbackCore-BVEHd6Yt.js} +1 -1
- package/dist/{callbackCore-Bl2gGcxg.js → callbackCore-DXVwvq0X.js} +1 -1
- package/dist/{channels-rhxQArqN.js → channels-BLdkzCbv.js} +6 -6
- package/dist/{channels-C3w3eAES.js → channels-jIa5fNjY.js} +2 -2
- package/dist/channels.js +5 -5
- package/dist/cli.js +12 -12
- package/dist/{cmdDsh-BySPA9hP.js → cmdDsh-CymghOa0.js} +1 -1
- package/dist/{cmdPs-D2EqOHbX.js → cmdPs-CDj-l5Pk.js} +12 -12
- package/dist/{configShared-DKTgiz7K.js → configShared-De4bR5hH.js} +1 -1
- package/dist/{cwdConflictWarn-sQUONAye.js → cwdConflictWarn-DXh7qJz6.js} +2 -2
- package/dist/{cwdPassthroughHint-CDEGVteh.js → cwdPassthroughHint-DADidTOP.js} +1 -1
- package/dist/{e2e-z1xpwSAg.js → e2e-BdLf8DvY.js} +1 -1
- package/dist/{expose-BlddYYx9.js → expose-ZFn10b_l.js} +1 -1
- package/dist/{forkNested-xtEeYpBQ.js → forkNested-DD_4xEL8.js} +3 -3
- package/dist/{globalPidIndex-DC93JhHQ.js → globalPidIndex-BftWlg2V.js} +1 -1
- package/dist/{globalPidIndex-CRH9L9tn.js → globalPidIndex-CRB5KtyL.js} +1 -1
- package/dist/{hist-DZxq7NMA.js → hist-Dy-JVuUY.js} +1 -1
- package/dist/{html2canvas-pro.esm-DbGFekkq.js → html2canvas-pro.esm-Dp-JZojz.js} +1 -1
- package/dist/{identity-CKRuYUFi.js → identity-Bk-aG_xl.js} +1 -1
- package/dist/{identity-DFr3dfTO.js → identity-DA7YI9km.js} +1 -1
- package/dist/index.js +8 -8
- package/dist/{initMsg-axyQAPLK.js → initMsg-BGBIVi_Q.js} +1 -1
- package/dist/{initMsg-DoltWTZj.js → initMsg-NleE4YLm.js} +1 -1
- package/dist/{messageLog-Brx3w6zT.js → messageLog-Dq_ka-Bt.js} +1 -1
- package/dist/{needsInput-BHopZGM8.js → needsInput-D__56HYf.js} +1 -1
- package/dist/{nodeRuntime-CipjIwfO.js → nodeRuntime-oANVaOqi.js} +2 -2
- package/dist/{notifyDaemon-Cb_fbw4f.js → notifyDaemon-DZbd5fTj.js} +11 -11
- package/dist/{notifyStore-CdsB3crt.js → notifyStore-D9cNjXFG.js} +1 -1
- package/dist/{notifyStore-2SWKGwZI.js → notifyStore-DI4iKFut.js} +2 -2
- package/dist/{openBrowser-THOzOGNm.js → openBrowser-B6ZyKxfP.js} +1 -1
- package/dist/{parentLink-CfbxykCv.js → parentLink-CB8Nc-dr.js} +2 -2
- package/dist/{parentLink-BILJ32nA.js → parentLink-qUr7dRdh.js} +2 -2
- package/dist/{parentPingLoop-CxGlfXtx.js → parentPingLoop-Bim6u0OH.js} +7 -7
- package/dist/peer-3F7owPWt.js +4 -0
- package/dist/{peer-BZyUyCt3.js → peer-L-prov9t.js} +3 -3
- package/dist/{pidStore-DXWqzTSz.js → pidStore-433kvh9D.js} +4 -4
- package/dist/pidStore-BRlKRHXY.js +6 -0
- package/dist/{procStats-CyD8h5nx.js → procStats-xvUthnOx.js} +1 -1
- package/dist/{reaper-UimuuTfO.js → reaper-C2cuougX.js} +2 -2
- package/dist/{reaper-BDMiMfwK.js → reaper-DsZhX5FH.js} +1 -1
- package/dist/{remotes-CQTEY8Gt.js → remotes-ByjpYjQ9.js} +3 -3
- package/dist/{remotes-B4CNXwDS.js → remotes-D10E_xUn.js} +3 -3
- package/dist/{runningLock-BOIPD_Vs.js → runningLock-DMznYh45.js} +1 -1
- package/dist/{rustBinary-TAG9KjfA.js → rustBinary-Btf18sk5.js} +2 -2
- package/dist/{rustBinary-CdKZfsFO.js → rustBinary-DklBSefL.js} +2 -2
- package/dist/{schedule-CXv0m_lY.js → schedule-DzqTosvJ.js} +12 -12
- package/dist/{serve-D1mS0HGo.js → serve-DdHbUWtG.js} +48 -48
- package/dist/{serveRust-BAawe83i.js → serveRust-BEzTqFRy.js} +1 -1
- package/dist/{setup-BjCpfCKB.js → setup-CzKkVYp8.js} +4 -4
- package/dist/{share-nmgSIjYP.js → share-530eCWft.js} +2 -2
- package/dist/{share-CLataFnI.js → share-Jl8Eia9b.js} +2 -2
- package/dist/{shareCmd-DgpP8FKm.js → shareCmd-DinezAHY.js} +26 -8
- package/dist/spawnGate-CsQ4_N5h.js +5 -0
- package/dist/{spawnGate-YpHopveO.js → spawnGate-SX13EqI3.js} +3 -3
- package/dist/{store-CnxYGoia.js → store-xmBpqPUq.js} +1 -1
- package/dist/{subcommands-Dk6tKM6B.js → subcommands-fX4Ygx3a.js} +37 -37
- package/dist/{subcommands-9u1ssw3u.js → subcommands-oIARj_mJ.js} +11 -11
- package/dist/{systemPathLink-DoyBuRQq.js → systemPathLink-eWUYHNXm.js} +1 -1
- package/dist/{terminal-D9TFbA7o.js → terminal-DlW0KNym.js} +2 -2
- package/dist/terminal.js +1 -1
- package/dist/{todoAutomation-CbVVS4re.js → todoAutomation-TTp_Qz9G.js} +2 -2
- package/dist/{todoCli-DwYlxIAY.js → todoCli-B62mo9af.js} +6 -6
- package/dist/{todoIdentity-CAmnkzzP.js → todoIdentity-CY1UkEs7.js} +2 -2
- package/dist/{todoStore-DF6vxHgV.js → todoStore-C9RTz0Vs.js} +2 -2
- package/dist/{tray-BcpHVeMk.js → tray-DJtC0yib.js} +2 -2
- package/dist/{trayApp-C3W5js5E.js → trayApp-DWVdr0Pr.js} +3 -3
- package/dist/trayApp-F_Xs3C2N.js +5 -0
- package/dist/{ts-hQmDVOPh.js → ts-D29CMeWZ.js} +15 -15
- package/dist/{versionChecker-5Ku8-XVc.js → versionChecker-DrjMn-XI.js} +2 -2
- package/dist/webrtcLink-CAdvnRM0.js +4 -0
- package/dist/{webrtcLink-DFRyWNMs.js → webrtcLink-CKnjNGaV.js} +3 -3
- package/dist/{webrtcRemote-Cy5kB8aR.js → webrtcRemote-BYy2lTTl.js} +15 -8
- package/dist/{widget-WjEcwJva.js → widget-CvcvPWF9.js} +3 -3
- package/dist/widget.js +1 -1
- package/dist/widgets.js +5 -5
- package/dist/{workspaceConfig-DTvPtr5j.js → workspaceConfig-CWGh8o36.js} +2 -2
- package/dist/{ws-MMgJ4-yD.js → ws-Cbx5sfsd.js} +3 -3
- package/dist/ws-DDB8jh0f.js +14 -0
- package/package.json +1 -1
- package/ts/serve.ts +3 -2
- package/ts/share.spec.ts +13 -0
- package/ts/shareCmd.ts +25 -0
- package/ts/webrtcRemote.ts +13 -4
- package/dist/SUPPORTED_CLIS-CmzXJEui.js +0 -12
- package/dist/callback-FGoFC8om.js +0 -15
- package/dist/peer-CGSJluSw.js +0 -4
- package/dist/pidStore-Bpe8i_oU.js +0 -6
- package/dist/spawnGate-BUEswFgo.js +0 -5
- package/dist/trayApp-CL67LMa0.js +0 -5
- package/dist/ws-tVhgSZfa.js +0 -14
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { n as logger } from "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import "./JsonlStore-
|
|
3
|
-
import "./globalPidIndex-
|
|
4
|
-
import "./pidStore-
|
|
5
|
-
import "./messageLog-
|
|
6
|
-
import "./e2e-
|
|
7
|
-
import "./configShared-
|
|
8
|
-
import { $ as renderLogTailLines, N as isPidAlive, V as listRecords, v as deriveLiveState } from "./subcommands-
|
|
9
|
-
import { f as readInbox, g as daemonLockOwnerPath, h as daemonLockDir, i as gcInboxes, l as listInboxParents, m as shouldStealLock, n as appendEvent, s as hostId, u as liveWatchers, x as notifyDir } from "./notifyStore-
|
|
10
|
-
import "./webrtcLink-
|
|
11
|
-
import "./remotes-
|
|
2
|
+
import "./JsonlStore-BpYZZTap.js";
|
|
3
|
+
import "./globalPidIndex-CRB5KtyL.js";
|
|
4
|
+
import "./pidStore-433kvh9D.js";
|
|
5
|
+
import "./messageLog-Dq_ka-Bt.js";
|
|
6
|
+
import "./e2e-BdLf8DvY.js";
|
|
7
|
+
import "./configShared-De4bR5hH.js";
|
|
8
|
+
import { $ as renderLogTailLines, N as isPidAlive, V as listRecords, v as deriveLiveState } from "./subcommands-fX4Ygx3a.js";
|
|
9
|
+
import { f as readInbox, g as daemonLockOwnerPath, h as daemonLockDir, i as gcInboxes, l as listInboxParents, m as shouldStealLock, n as appendEvent, s as hostId, u as liveWatchers, x as notifyDir } from "./notifyStore-DI4iKFut.js";
|
|
10
|
+
import "./webrtcLink-CKnjNGaV.js";
|
|
11
|
+
import "./remotes-D10E_xUn.js";
|
|
12
12
|
import { mkdir, readFile, rename, rm, stat, writeFile } from "fs/promises";
|
|
13
13
|
import { randomUUID } from "node:crypto";
|
|
14
14
|
import { execFile, execFileSync } from "node:child_process";
|
|
@@ -879,4 +879,4 @@ async function ensureDaemon() {
|
|
|
879
879
|
|
|
880
880
|
//#endregion
|
|
881
881
|
export { daemonStatus, ensureDaemon, requestDaemonStop, runDaemon };
|
|
882
|
-
//# sourceMappingURL=notifyDaemon-
|
|
882
|
+
//# sourceMappingURL=notifyDaemon-DZbd5fTj.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import { a as getCursor, c as isTransientLockMkdirError, d as minConsumerCursor, f as readInbox, i as gcInboxes, l as listInboxParents, m as shouldStealLock, n as appendEvent, o as heartbeatWatcher, p as setCursor, r as clearWatcher, s as hostId, t as acquireLock, u as liveWatchers } from "./notifyStore-
|
|
2
|
+
import { a as getCursor, c as isTransientLockMkdirError, d as minConsumerCursor, f as readInbox, i as gcInboxes, l as listInboxParents, m as shouldStealLock, n as appendEvent, o as heartbeatWatcher, p as setCursor, r as clearWatcher, s as hostId, t as acquireLock, u as liveWatchers } from "./notifyStore-DI4iKFut.js";
|
|
3
3
|
|
|
4
4
|
export { liveWatchers };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as logger } from "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import { t as agentYesHome } from "./agentYesHome-
|
|
2
|
+
import { t as agentYesHome } from "./agentYesHome-JmJC28YX.js";
|
|
3
3
|
import { appendFile, mkdir, readFile, readdir, rename, rm, stat, writeFile } from "fs/promises";
|
|
4
4
|
import path from "path";
|
|
5
5
|
import { randomUUID } from "node:crypto";
|
|
@@ -556,4 +556,4 @@ async function liveWatchers(now = Date.now()) {
|
|
|
556
556
|
|
|
557
557
|
//#endregion
|
|
558
558
|
export { postmortemStartedAt as S, filterSinceSeq as _, getCursor as a, maxSeq as b, isTransientLockMkdirError as c, minConsumerCursor as d, readInbox as f, daemonLockOwnerPath as g, daemonLockDir as h, gcInboxes as i, listInboxParents as l, shouldStealLock as m, appendEvent as n, heartbeatWatcher as o, setCursor as p, clearWatcher as r, hostId as s, acquireLock as t, liveWatchers as u, filterSinceTs as v, notifyDir as x, filterUnread as y };
|
|
559
|
-
//# sourceMappingURL=notifyStore-
|
|
559
|
+
//# sourceMappingURL=notifyStore-DI4iKFut.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as readGlobalPids } from "./globalPidIndex-
|
|
1
|
+
import { a as readGlobalPids } from "./globalPidIndex-CRB5KtyL.js";
|
|
2
2
|
|
|
3
3
|
//#region ts/parentLink.ts
|
|
4
4
|
/**
|
|
@@ -50,4 +50,4 @@ function spawnerFromRecords(records, parentPid) {
|
|
|
50
50
|
|
|
51
51
|
//#endregion
|
|
52
52
|
export { spawnerFromRecords as n, resolveSpawner as t };
|
|
53
|
-
//# sourceMappingURL=parentLink-
|
|
53
|
+
//# sourceMappingURL=parentLink-CB8Nc-dr.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import "./globalPidIndex-
|
|
3
|
-
import { n as spawnerFromRecords, t as resolveSpawner } from "./parentLink-
|
|
2
|
+
import "./globalPidIndex-CRB5KtyL.js";
|
|
3
|
+
import { n as spawnerFromRecords, t as resolveSpawner } from "./parentLink-CB8Nc-dr.js";
|
|
4
4
|
|
|
5
5
|
export { resolveSpawner };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as logger } from "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import "./globalPidIndex-
|
|
3
|
-
import { t as classifyNeedsInput } from "./needsInput-
|
|
4
|
-
import { n as replyTargetOf, r as shortenHome } from "./initMsg-
|
|
5
|
-
import { t as resolveSpawner } from "./parentLink-
|
|
2
|
+
import "./globalPidIndex-CRB5KtyL.js";
|
|
3
|
+
import { t as classifyNeedsInput } from "./needsInput-D__56HYf.js";
|
|
4
|
+
import { n as replyTargetOf, r as shortenHome } from "./initMsg-BGBIVi_Q.js";
|
|
5
|
+
import { t as resolveSpawner } from "./parentLink-CB8Nc-dr.js";
|
|
6
6
|
import { spawn } from "node:child_process";
|
|
7
7
|
|
|
8
8
|
//#region ts/parentPing.ts
|
|
@@ -332,13 +332,13 @@ function shouldDeliverReport(opts) {
|
|
|
332
332
|
*/
|
|
333
333
|
async function isParentWatching(parentWrapperPid, parentAgentPid, selfAgentPid, now = Date.now()) {
|
|
334
334
|
try {
|
|
335
|
-
const { liveWatchers } = await import("./notifyStore-
|
|
335
|
+
const { liveWatchers } = await import("./notifyStore-D9cNjXFG.js");
|
|
336
336
|
if ((await liveWatchers(now)).has(parentWrapperPid)) return true;
|
|
337
337
|
} catch (error) {
|
|
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-oIARj_mJ.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-Bim6u0OH.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as computeTranscriptHash, c as open, d as randomHex, f as seal, l as packEnvelope, n as FLAG_CONFIRM, o as deriveAuthToken, p as unpackEnvelope, s as deriveDirKeys, t as CONFIRM_TIMEOUT_MS } from "./e2e-
|
|
2
|
-
import { i as opsMissing, s as isValidOp, t as haveVector } from "./store-
|
|
1
|
+
import { a as computeTranscriptHash, c as open, d as randomHex, f as seal, l as packEnvelope, n as FLAG_CONFIRM, o as deriveAuthToken, p as unpackEnvelope, s as deriveDirKeys, t as CONFIRM_TIMEOUT_MS } from "./e2e-BdLf8DvY.js";
|
|
2
|
+
import { i as opsMissing, s as isValidOp, t as haveVector } from "./store-xmBpqPUq.js";
|
|
3
3
|
|
|
4
4
|
//#region ts/channels/peer.ts
|
|
5
5
|
const SIGNAL_SUBPROTOCOL = "ay-signal-1";
|
|
@@ -363,4 +363,4 @@ var ChannelPeer = class {
|
|
|
363
363
|
|
|
364
364
|
//#endregion
|
|
365
365
|
export { ChannelPeer as t };
|
|
366
|
-
//# sourceMappingURL=peer-
|
|
366
|
+
//# sourceMappingURL=peer-L-prov9t.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as logger } from "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import { t as agentYesHome } from "./agentYesHome-
|
|
3
|
-
import { t as JsonlStore } from "./JsonlStore-
|
|
4
|
-
import { i as pruneOldLogs, r as maybeCompactGlobalPids, s as updateGlobalPidStatus, t as appendGlobalPid } from "./globalPidIndex-
|
|
2
|
+
import { t as agentYesHome } from "./agentYesHome-JmJC28YX.js";
|
|
3
|
+
import { t as JsonlStore } from "./JsonlStore-BpYZZTap.js";
|
|
4
|
+
import { i as pruneOldLogs, r as maybeCompactGlobalPids, s as updateGlobalPidStatus, t as appendGlobalPid } from "./globalPidIndex-CRB5KtyL.js";
|
|
5
5
|
import { mkdir, writeFile } from "fs/promises";
|
|
6
6
|
import path from "path";
|
|
7
7
|
import { randomBytes } from "node:crypto";
|
|
@@ -197,4 +197,4 @@ pid-db/
|
|
|
197
197
|
|
|
198
198
|
//#endregion
|
|
199
199
|
export { PidStore as t };
|
|
200
|
-
//# sourceMappingURL=pidStore-
|
|
200
|
+
//# sourceMappingURL=pidStore-433kvh9D.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as agentYesHome } from "./agentYesHome-
|
|
1
|
+
import { t as agentYesHome } from "./agentYesHome-JmJC28YX.js";
|
|
2
2
|
import { appendFile, mkdir, readFile, readdir, rename, unlink, writeFile } from "fs/promises";
|
|
3
3
|
import path from "path";
|
|
4
4
|
|
|
@@ -107,4 +107,4 @@ async function pruneStaleActivityMarkers() {
|
|
|
107
107
|
|
|
108
108
|
//#endregion
|
|
109
109
|
export { register as n, sweep as r, pgidForWrapper as t };
|
|
110
|
-
//# sourceMappingURL=reaper-
|
|
110
|
+
//# sourceMappingURL=reaper-C2cuougX.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./e2e-
|
|
2
|
-
import "./webrtcLink-
|
|
3
|
-
import { a as deleteRemoteAlias, c as parseShareUrl, d as writeRemoteAlias, i as defaultConnectAlias, l as readRemotes, n as cmdConnect, o as maskRemoteUrl, r as cmdRemote, s as parseDirectRemoteSpec, t as MASK, u as resolveRemoteSpec } from "./remotes-
|
|
1
|
+
import "./e2e-BdLf8DvY.js";
|
|
2
|
+
import "./webrtcLink-CKnjNGaV.js";
|
|
3
|
+
import { a as deleteRemoteAlias, c as parseShareUrl, d as writeRemoteAlias, i as defaultConnectAlias, l as readRemotes, n as cmdConnect, o as maskRemoteUrl, r as cmdRemote, s as parseDirectRemoteSpec, t as MASK, u as resolveRemoteSpec } from "./remotes-D10E_xUn.js";
|
|
4
4
|
|
|
5
5
|
export { cmdConnect, cmdRemote };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as parseWebrtcLink, r as isWebrtcSpec } from "./webrtcLink-CKnjNGaV.js";
|
|
2
2
|
import { mkdir, readFile, writeFile } from "fs/promises";
|
|
3
3
|
import { homedir } from "os";
|
|
4
4
|
import path from "path";
|
|
@@ -136,7 +136,7 @@ async function resolveRemoteSpec(spec) {
|
|
|
136
136
|
* The bridge lives for the rest of the process (torn down on `process.exit`).
|
|
137
137
|
*/
|
|
138
138
|
async function resolveWebrtc(link, keyword, label) {
|
|
139
|
-
const { startWebrtcBridge } = await import("./webrtcRemote-
|
|
139
|
+
const { startWebrtcBridge } = await import("./webrtcRemote-BYy2lTTl.js");
|
|
140
140
|
const bridge = await startWebrtcBridge(link);
|
|
141
141
|
return {
|
|
142
142
|
url: bridge.baseUrl,
|
|
@@ -321,4 +321,4 @@ async function cmdConnect(rest) {
|
|
|
321
321
|
|
|
322
322
|
//#endregion
|
|
323
323
|
export { deleteRemoteAlias as a, parseShareUrl as c, writeRemoteAlias as d, defaultConnectAlias as i, readRemotes as l, cmdConnect as n, maskRemoteUrl as o, cmdRemote as r, parseDirectRemoteSpec as s, MASK as t, resolveRemoteSpec as u };
|
|
324
|
-
//# sourceMappingURL=remotes-
|
|
324
|
+
//# sourceMappingURL=remotes-D10E_xUn.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-DrjMn-XI.js";
|
|
2
2
|
import { execFileSync } from "child_process";
|
|
3
3
|
import { accessSync, chmodSync, constants, existsSync, mkdirSync, readdirSync, rmSync, statSync, unlinkSync } from "fs";
|
|
4
4
|
import { chmod, copyFile } from "fs/promises";
|
|
@@ -414,4 +414,4 @@ async function getRustBinary(options = {}) {
|
|
|
414
414
|
|
|
415
415
|
//#endregion
|
|
416
416
|
export { findAyrsBinary as a, findTrayLauncher as c, getBinaryName as d, getDownloadUrl as f, ensureExecutable as i, gcOldBinaryDirs as l, hasValidMacSignature as m, devBuildInfo as n, findRustBinary as o, getRustBinary as p, downloadBinary as r, findSpawnHiddenLauncher as s, chmodExtractedBinaries as t, getBinDir as u };
|
|
417
|
-
//# sourceMappingURL=rustBinary-
|
|
417
|
+
//# sourceMappingURL=rustBinary-Btf18sk5.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./versionChecker-
|
|
2
|
-
import { a as findAyrsBinary, c as findTrayLauncher, d as getBinaryName, f as getDownloadUrl, i as ensureExecutable, l as gcOldBinaryDirs, m as hasValidMacSignature, n as devBuildInfo, o as findRustBinary, p as getRustBinary, r as downloadBinary, s as findSpawnHiddenLauncher, t as chmodExtractedBinaries, u as getBinDir } from "./rustBinary-
|
|
1
|
+
import "./versionChecker-DrjMn-XI.js";
|
|
2
|
+
import { a as findAyrsBinary, c as findTrayLauncher, d as getBinaryName, f as getDownloadUrl, i as ensureExecutable, l as gcOldBinaryDirs, m as hasValidMacSignature, n as devBuildInfo, o as findRustBinary, p as getRustBinary, r as downloadBinary, s as findSpawnHiddenLauncher, t as chmodExtractedBinaries, u as getBinDir } from "./rustBinary-Btf18sk5.js";
|
|
3
3
|
|
|
4
4
|
export { findAyrsBinary, gcOldBinaryDirs };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import "./versionChecker-
|
|
3
|
-
import "./ts-
|
|
4
|
-
import "./todoAutomation-
|
|
5
|
-
import "./JsonlStore-
|
|
6
|
-
import "./globalPidIndex-
|
|
7
|
-
import "./pidStore-
|
|
8
|
-
import "./messageLog-
|
|
9
|
-
import "./todoStore-
|
|
10
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
11
|
-
import { f as resolveSpawnCwd } from "./workspaceConfig-
|
|
12
|
-
import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-
|
|
2
|
+
import "./versionChecker-DrjMn-XI.js";
|
|
3
|
+
import "./ts-D29CMeWZ.js";
|
|
4
|
+
import "./todoAutomation-TTp_Qz9G.js";
|
|
5
|
+
import "./JsonlStore-BpYZZTap.js";
|
|
6
|
+
import "./globalPidIndex-CRB5KtyL.js";
|
|
7
|
+
import "./pidStore-433kvh9D.js";
|
|
8
|
+
import "./messageLog-Dq_ka-Bt.js";
|
|
9
|
+
import "./todoStore-C9RTz0Vs.js";
|
|
10
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-FBshN0v2.js";
|
|
11
|
+
import { f as resolveSpawnCwd } from "./workspaceConfig-CWGh8o36.js";
|
|
12
|
+
import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-oANVaOqi.js";
|
|
13
13
|
import { createHash } from "node:crypto";
|
|
14
14
|
|
|
15
15
|
//#region ts/oxmgrService.ts
|
|
@@ -154,4 +154,4 @@ async function cmdSchedule(rest) {
|
|
|
154
154
|
|
|
155
155
|
//#endregion
|
|
156
156
|
export { cmdSchedule };
|
|
157
|
-
//# sourceMappingURL=schedule-
|
|
157
|
+
//# sourceMappingURL=schedule-DzqTosvJ.js.map
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import "./logger-CDIsZ-Pp.js";
|
|
2
|
-
import { i as getInstalledPackage } from "./versionChecker-
|
|
3
|
-
import { s as findSpawnHiddenLauncher } from "./rustBinary-
|
|
4
|
-
import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-
|
|
5
|
-
import { t as agentYesHome$1 } from "./agentYesHome-
|
|
6
|
-
import { u as removeControlCharacters } from "./todoAutomation-
|
|
7
|
-
import "./JsonlStore-
|
|
8
|
-
import { s as updateGlobalPidStatus } from "./globalPidIndex-
|
|
9
|
-
import "./pidStore-
|
|
10
|
-
import { r as recordInbox, s as isTerminalReply } from "./messageLog-
|
|
11
|
-
import { t as pgidForWrapper } from "./reaper-
|
|
12
|
-
import "./todoStore-
|
|
13
|
-
import "./e2e-
|
|
14
|
-
import "./configShared-
|
|
15
|
-
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-
|
|
16
|
-
import { $ as renderLogTailLines, C as extractBadges, E as extractTaskCounts, J as readLogForRender, P as isSlashCommand, Q as recentReadEdges, R as isUserTyping, T as extractNeedsInput, V as listRecords, X as readPtysize, Y as readNotes, Z as recentMessageEdges, _t as shouldFramePaste, ct as snapshotStatus, et as renderRawLog, f as cliDefaults, gt as framePaste, h as controlCodeFromName, ht as withIpcLock, mt as writeToIpc, nt as resolveOne, tt as renderRawLogLines, vt as TYPING_BADGE, y as deriveLiveStatus } from "./subcommands-
|
|
17
|
-
import { c as isTransientLockMkdirError } from "./notifyStore-
|
|
18
|
-
import {
|
|
19
|
-
import "./remotes-
|
|
20
|
-
import { i as frameVisitorMessage, s as verifyCapability, t as MAX_CALLBACK_MSG_BYTES } from "./callbackCore-
|
|
21
|
-
import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-
|
|
22
|
-
import { n as sampleTrees } from "./procStats-
|
|
23
|
-
import { a as getProvisionRoot, d as isProvisionAllowed, f as resolveSpawnCwd, i as getProvisionHook, l as hasProvisionHook, o as getSpawnHook, t as allowsSkipPermissions, u as hasSpawnHook } from "./workspaceConfig-
|
|
24
|
-
import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-
|
|
25
|
-
import { i as importProvisionModule } from "./ws-
|
|
26
|
-
import { r as spawnRejectionReason } from "./spawnGate-
|
|
27
|
-
import { i as launchTray } from "./trayApp-
|
|
2
|
+
import { i as getInstalledPackage } from "./versionChecker-DrjMn-XI.js";
|
|
3
|
+
import { s as findSpawnHiddenLauncher } from "./rustBinary-Btf18sk5.js";
|
|
4
|
+
import { c as permissionBadge, i as answerAsk, o as listAsks, u as CLAUDE_SESSION_PIN_ENV } from "./ts-D29CMeWZ.js";
|
|
5
|
+
import { t as agentYesHome$1 } from "./agentYesHome-JmJC28YX.js";
|
|
6
|
+
import { u as removeControlCharacters } from "./todoAutomation-TTp_Qz9G.js";
|
|
7
|
+
import "./JsonlStore-BpYZZTap.js";
|
|
8
|
+
import { s as updateGlobalPidStatus } from "./globalPidIndex-CRB5KtyL.js";
|
|
9
|
+
import "./pidStore-433kvh9D.js";
|
|
10
|
+
import { r as recordInbox, s as isTerminalReply } from "./messageLog-Dq_ka-Bt.js";
|
|
11
|
+
import { t as pgidForWrapper } from "./reaper-C2cuougX.js";
|
|
12
|
+
import "./todoStore-C9RTz0Vs.js";
|
|
13
|
+
import "./e2e-BdLf8DvY.js";
|
|
14
|
+
import "./configShared-De4bR5hH.js";
|
|
15
|
+
import { t as SUPPORTED_CLIS } from "./SUPPORTED_CLIS-FBshN0v2.js";
|
|
16
|
+
import { $ as renderLogTailLines, C as extractBadges, E as extractTaskCounts, J as readLogForRender, P as isSlashCommand, Q as recentReadEdges, R as isUserTyping, T as extractNeedsInput, V as listRecords, X as readPtysize, Y as readNotes, Z as recentMessageEdges, _t as shouldFramePaste, ct as snapshotStatus, et as renderRawLog, f as cliDefaults, gt as framePaste, h as controlCodeFromName, ht as withIpcLock, mt as writeToIpc, nt as resolveOne, tt as renderRawLogLines, vt as TYPING_BADGE, y as deriveLiveStatus } from "./subcommands-fX4Ygx3a.js";
|
|
17
|
+
import { c as isTransientLockMkdirError } from "./notifyStore-DI4iKFut.js";
|
|
18
|
+
import { a as toWebrtcUrl, r as isWebrtcSpec } from "./webrtcLink-CKnjNGaV.js";
|
|
19
|
+
import "./remotes-D10E_xUn.js";
|
|
20
|
+
import { i as frameVisitorMessage, s as verifyCapability, t as MAX_CALLBACK_MSG_BYTES } from "./callbackCore-DXVwvq0X.js";
|
|
21
|
+
import { n as isCallbackRevoked, r as loadCallbackSecretReadOnly } from "./callback-ayc9yXqJ.js";
|
|
22
|
+
import { n as sampleTrees } from "./procStats-xvUthnOx.js";
|
|
23
|
+
import { a as getProvisionRoot, d as isProvisionAllowed, f as resolveSpawnCwd, i as getProvisionHook, l as hasProvisionHook, o as getSpawnHook, t as allowsSkipPermissions, u as hasSpawnHook } from "./workspaceConfig-CWGh8o36.js";
|
|
24
|
+
import { n as liveEnv, t as ensureNodeRuntime } from "./nodeRuntime-oANVaOqi.js";
|
|
25
|
+
import { i as importProvisionModule } from "./ws-Cbx5sfsd.js";
|
|
26
|
+
import { r as spawnRejectionReason } from "./spawnGate-SX13EqI3.js";
|
|
27
|
+
import { i as launchTray } from "./trayApp-DWVdr0Pr.js";
|
|
28
28
|
import yargs from "yargs";
|
|
29
29
|
import { appendFile, mkdir, open, readFile, readdir, rename, rm, stat, unlink, writeFile } from "fs/promises";
|
|
30
30
|
import { arch, cpus, freemem, homedir, hostname, loadavg, platform, totalmem, uptime, userInfo } from "os";
|
|
@@ -1343,8 +1343,8 @@ async function warnStrayServeProcesses() {
|
|
|
1343
1343
|
process.stderr.write(`warning: ${stray.length} unmanaged ay serve process(es) running (pid ${pids.join(", ")}) — they will fight the daemon for the WebRTC room; stop them: kill ${pids.join(" ")}\n`);
|
|
1344
1344
|
}
|
|
1345
1345
|
async function daemonShareRuntime(args) {
|
|
1346
|
-
const { daemonShareRuntime: decide } = await import("./serveRust-
|
|
1347
|
-
const { findAyrsBinary } = await import("./rustBinary-
|
|
1346
|
+
const { daemonShareRuntime: decide } = await import("./serveRust-BEzTqFRy.js");
|
|
1347
|
+
const { findAyrsBinary } = await import("./rustBinary-DklBSefL.js");
|
|
1348
1348
|
return decide(args, () => !!findAyrsBinary());
|
|
1349
1349
|
}
|
|
1350
1350
|
function explicitWebrtcUrl(args) {
|
|
@@ -1482,7 +1482,7 @@ async function cmdServeDaemon(sub, args) {
|
|
|
1482
1482
|
let shareLinkMinted = false;
|
|
1483
1483
|
let roomFile = ".share-room";
|
|
1484
1484
|
if (webrtcDaemon) try {
|
|
1485
|
-
const { loadOrCreateShareRoom, shareLinkFromRoomUrl, shareRoomFileName } = await import("./share-
|
|
1485
|
+
const { loadOrCreateShareRoom, shareLinkFromRoomUrl, shareRoomFileName } = await import("./share-530eCWft.js");
|
|
1486
1486
|
const runtime = await daemonShareRuntime(effArgs);
|
|
1487
1487
|
roomFile = shareRoomFileName(runtime);
|
|
1488
1488
|
const explicit = explicitWebrtcUrl(effArgs);
|
|
@@ -1493,7 +1493,7 @@ async function cmdServeDaemon(sub, args) {
|
|
|
1493
1493
|
if (!webrtcDaemon) return;
|
|
1494
1494
|
if (shareLink) {
|
|
1495
1495
|
process.stdout.write(`\nshared over WebRTC — open this link (the token is eaten from the URL on open):\n ${shareLink}\n` + (shareLinkMinted ? ` (persistent room — same link across restarts; delete ~/.agent-yes/${roomFile} to rotate)\n` : ``));
|
|
1496
|
-
const { offerOpenInBrowser } = await import("./openBrowser-
|
|
1496
|
+
const { offerOpenInBrowser } = await import("./openBrowser-B6ZyKxfP.js");
|
|
1497
1497
|
await offerOpenInBrowser(shareLink);
|
|
1498
1498
|
} else process.stdout.write(`
|
|
1499
1499
|
the WebRTC share link carries a secret, so the daemon does NOT log it —
|
|
@@ -1642,8 +1642,8 @@ async function cmdServeStatus(args) {
|
|
|
1642
1642
|
const token = await loadTokenReadOnly();
|
|
1643
1643
|
const daemonArgs = mgr ? await readDaemonServeArgs(mgr) : null;
|
|
1644
1644
|
const installed = daemonArgs !== null;
|
|
1645
|
-
const { daemonShareLink } = await import("./shareCmd-
|
|
1646
|
-
const shareLink = (installed ? await daemonShareLink(daemonArgs) :
|
|
1645
|
+
const { daemonShareLink, foregroundAyrsShareLink } = await import("./shareCmd-DinezAHY.js");
|
|
1646
|
+
const shareLink = (installed ? await daemonShareLink(daemonArgs) : await foregroundAyrsShareLink()) ?? await readShareLink();
|
|
1647
1647
|
const running = installed ? await readDaemonRunning(mgr) : false;
|
|
1648
1648
|
const a = daemonArgs ?? [];
|
|
1649
1649
|
const local = argsUsePortless(a);
|
|
@@ -1769,10 +1769,10 @@ Options:
|
|
|
1769
1769
|
return 0;
|
|
1770
1770
|
}
|
|
1771
1771
|
{
|
|
1772
|
-
const { planRustServe } = await import("./serveRust-
|
|
1772
|
+
const { planRustServe } = await import("./serveRust-BEzTqFRy.js");
|
|
1773
1773
|
const plan = planRustServe(rest);
|
|
1774
1774
|
if (plan.kind === "rust") {
|
|
1775
|
-
const { findAyrsBinary } = await import("./rustBinary-
|
|
1775
|
+
const { findAyrsBinary } = await import("./rustBinary-DklBSefL.js");
|
|
1776
1776
|
const ayrs = findAyrsBinary();
|
|
1777
1777
|
if (ayrs) return runAyrsServe(ayrs, plan.argv);
|
|
1778
1778
|
process.stderr.write("ay serve: ayrs binary not found — running the TypeScript server (bun run build:rs, or reinstall, to get the Rust daemon)\n");
|
|
@@ -2747,7 +2747,7 @@ Options:
|
|
|
2747
2747
|
}
|
|
2748
2748
|
});
|
|
2749
2749
|
if (req.method === "GET" && p === "/api/ws") {
|
|
2750
|
-
const ws = await import("./ws-
|
|
2750
|
+
const ws = await import("./ws-DDB8jh0f.js");
|
|
2751
2751
|
try {
|
|
2752
2752
|
await ws.loadProvision();
|
|
2753
2753
|
} catch (e) {
|
|
@@ -2767,7 +2767,7 @@ Options:
|
|
|
2767
2767
|
if (req.method === "GET" && p === "/api/ws/status") {
|
|
2768
2768
|
const dirRaw = url.searchParams.get("path");
|
|
2769
2769
|
if (!dirRaw) return new Response("missing ?path=<workspace dir>", { status: 400 });
|
|
2770
|
-
const ws = await import("./ws-
|
|
2770
|
+
const ws = await import("./ws-DDB8jh0f.js");
|
|
2771
2771
|
let prov;
|
|
2772
2772
|
try {
|
|
2773
2773
|
prov = await ws.loadProvision();
|
|
@@ -2789,7 +2789,7 @@ Options:
|
|
|
2789
2789
|
}
|
|
2790
2790
|
}
|
|
2791
2791
|
if (req.method === "GET" && p === "/api/ws/repos") {
|
|
2792
|
-
const ws = await import("./ws-
|
|
2792
|
+
const ws = await import("./ws-DDB8jh0f.js");
|
|
2793
2793
|
try {
|
|
2794
2794
|
await ws.loadProvision();
|
|
2795
2795
|
} catch (e) {
|
|
@@ -2870,7 +2870,7 @@ Options:
|
|
|
2870
2870
|
const m = /^([A-Za-z0-9_.-]+)\/([A-Za-z0-9_.-]+)$/.exec(repoParam);
|
|
2871
2871
|
if (!m || m[1] === "." || m[1] === ".." || m[2] === "." || m[2] === "..") return new Response("missing/invalid ?repo=<owner>/<repo>", { status: 400 });
|
|
2872
2872
|
const [, owner, repo] = m;
|
|
2873
|
-
const ws = await import("./ws-
|
|
2873
|
+
const ws = await import("./ws-DDB8jh0f.js");
|
|
2874
2874
|
let prov;
|
|
2875
2875
|
try {
|
|
2876
2876
|
prov = await ws.loadProvision();
|
|
@@ -3788,7 +3788,7 @@ Options:
|
|
|
3788
3788
|
const perm = body.perm ?? "r";
|
|
3789
3789
|
if (perm !== "r" && perm !== "rw") return new Response(`invalid perm ${perm} (want r or rw)`, { status: 400 });
|
|
3790
3790
|
try {
|
|
3791
|
-
const { createScopedShare } = await import("./agentShare-
|
|
3791
|
+
const { createScopedShare } = await import("./agentShare-CNgCQMY9.js");
|
|
3792
3792
|
const share = await createScopedShare({
|
|
3793
3793
|
agent: body.agent,
|
|
3794
3794
|
perm,
|
|
@@ -3803,12 +3803,12 @@ Options:
|
|
|
3803
3803
|
}
|
|
3804
3804
|
}
|
|
3805
3805
|
if (req.method === "GET" && p === "/api/shares") {
|
|
3806
|
-
const { listShares } = await import("./agentShare-
|
|
3806
|
+
const { listShares } = await import("./agentShare-CNgCQMY9.js");
|
|
3807
3807
|
return Response.json(listShares());
|
|
3808
3808
|
}
|
|
3809
3809
|
const revokeM = /^\/api\/share\/([^/]+)$/.exec(p);
|
|
3810
3810
|
if (req.method === "DELETE" && revokeM) {
|
|
3811
|
-
const { revokeShare } = await import("./agentShare-
|
|
3811
|
+
const { revokeShare } = await import("./agentShare-CNgCQMY9.js");
|
|
3812
3812
|
const ok = revokeShare(decodeURIComponent(revokeM[1]));
|
|
3813
3813
|
return new Response(ok ? "revoked" : "no such share", { status: ok ? 200 : 404 });
|
|
3814
3814
|
}
|
|
@@ -3822,7 +3822,7 @@ Options:
|
|
|
3822
3822
|
const port = Number(body.port);
|
|
3823
3823
|
if (!Number.isInteger(port) || port < 1 || port > 65535) return new Response("valid port required", { status: 400 });
|
|
3824
3824
|
try {
|
|
3825
|
-
const { ensureExposure } = await import("./expose-
|
|
3825
|
+
const { ensureExposure } = await import("./expose-ZFn10b_l.js");
|
|
3826
3826
|
const h = await ensureExposure(port, body.relay);
|
|
3827
3827
|
return Response.json({
|
|
3828
3828
|
id: h.id,
|
|
@@ -3836,12 +3836,12 @@ Options:
|
|
|
3836
3836
|
}
|
|
3837
3837
|
}
|
|
3838
3838
|
if (req.method === "GET" && p === "/api/exposes") {
|
|
3839
|
-
const { listExposures } = await import("./expose-
|
|
3839
|
+
const { listExposures } = await import("./expose-ZFn10b_l.js");
|
|
3840
3840
|
return Response.json(listExposures());
|
|
3841
3841
|
}
|
|
3842
3842
|
const unexposeM = /^\/api\/expose\/(\d+)$/.exec(p);
|
|
3843
3843
|
if (req.method === "DELETE" && unexposeM) {
|
|
3844
|
-
const { stopExposure } = await import("./expose-
|
|
3844
|
+
const { stopExposure } = await import("./expose-ZFn10b_l.js");
|
|
3845
3845
|
const ok = stopExposure(Number(unexposeM[1]));
|
|
3846
3846
|
return new Response(ok ? "revoked" : "no such exposure", { status: ok ? 200 : 404 });
|
|
3847
3847
|
}
|
|
@@ -4070,7 +4070,7 @@ Options:
|
|
|
4070
4070
|
if (wantWebrtc) {
|
|
4071
4071
|
const explicitUrl = explicitRoomUrl;
|
|
4072
4072
|
try {
|
|
4073
|
-
const { startShare, loadOrCreateShareRoom } = await import("./share-
|
|
4073
|
+
const { startShare, loadOrCreateShareRoom } = await import("./share-530eCWft.js");
|
|
4074
4074
|
const linkFile = path.join(process.env.AGENT_YES_HOME ?? path.join(homedir(), ".agent-yes"), ".share-link");
|
|
4075
4075
|
const announce = async (room, link, joinLink, rotated) => {
|
|
4076
4076
|
const lead = rotated ? "the room was rejected by signaling (stale generation) — rotated to a fresh link" : "shared over WebRTC — open this link (the token is eaten from the URL on open)";
|
|
@@ -4078,7 +4078,7 @@ Options:
|
|
|
4078
4078
|
const persistNote = explicitUrl ? "\n" : ` (persistent room — same link across restarts; delete ~/.agent-yes/.share-room to rotate)\n\n`;
|
|
4079
4079
|
process.stdout.write(`${wantHttp ? "\n" : ""}${lead}:\n ${link}\n\nto attach ANOTHER machine to this room, open this there (or paste it into\n\`ay serve --webrtc\`) — one machine per link:\n ${joinLink}\n` + persistNote);
|
|
4080
4080
|
if (!rotated) {
|
|
4081
|
-
const { offerOpenInBrowser } = await import("./openBrowser-
|
|
4081
|
+
const { offerOpenInBrowser } = await import("./openBrowser-B6ZyKxfP.js");
|
|
4082
4082
|
await offerOpenInBrowser(link);
|
|
4083
4083
|
}
|
|
4084
4084
|
} else {
|
|
@@ -4120,7 +4120,7 @@ Options:
|
|
|
4120
4120
|
const shutdown = (resolve) => {
|
|
4121
4121
|
if (heartbeat) clearInterval(heartbeat);
|
|
4122
4122
|
closeShare?.();
|
|
4123
|
-
import("./agentShare-
|
|
4123
|
+
import("./agentShare-CNgCQMY9.js").then((m) => m.revokeAllShares()).catch(() => {});
|
|
4124
4124
|
server?.stop();
|
|
4125
4125
|
Promise.resolve(releaseHostLock?.()).catch(() => {}).then(resolve);
|
|
4126
4126
|
};
|
|
@@ -4133,4 +4133,4 @@ Options:
|
|
|
4133
4133
|
|
|
4134
4134
|
//#endregion
|
|
4135
4135
|
export { cmdServe, inspectServeDaemon, loadTokenReadOnly, mintScopedTermToken, resolveDaemonHttpBase, resolveLocalServeUrl };
|
|
4136
|
-
//# sourceMappingURL=serve-
|
|
4136
|
+
//# sourceMappingURL=serve-DdHbUWtG.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as getWorkspaceRoot, p as setWorkspaceRoot } from "./workspaceConfig-
|
|
1
|
+
import { c as getWorkspaceRoot, p as setWorkspaceRoot } from "./workspaceConfig-CWGh8o36.js";
|
|
2
2
|
import { homedir } from "os";
|
|
3
3
|
import path from "path";
|
|
4
4
|
import { existsSync } from "node:fs";
|
|
@@ -88,7 +88,7 @@ async function cmdSetup(rest) {
|
|
|
88
88
|
process.stdout.write(`workspace root: ${abs}\n`);
|
|
89
89
|
if (!existsSync(abs)) process.stderr.write(` note: that directory doesn't exist yet — create it, or agents spawned there will fail\n`);
|
|
90
90
|
try {
|
|
91
|
-
const { linkBunBinsToSystemPath } = await import("./systemPathLink-
|
|
91
|
+
const { linkBunBinsToSystemPath } = await import("./systemPathLink-eWUYHNXm.js");
|
|
92
92
|
const r = linkBunBinsToSystemPath();
|
|
93
93
|
if (r && (r.linked.length || r.refreshed.length)) {
|
|
94
94
|
const n = r.linked.length + r.refreshed.length;
|
|
@@ -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-DdHbUWtG.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-CzKkVYp8.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./e2e-
|
|
2
|
-
import { a as readShareRoom, c as shareRoomPath, i as loadOrCreateShareRoom, l as startShare, n as getIceServers, o as shareLinkFromRoomUrl, r as importRTC, s as shareRoomFileName, t as formatRoomLink } from "./share-
|
|
1
|
+
import "./e2e-BdLf8DvY.js";
|
|
2
|
+
import { a as readShareRoom, c as shareRoomPath, i as loadOrCreateShareRoom, l as startShare, n as getIceServers, o as shareLinkFromRoomUrl, r as importRTC, s as shareRoomFileName, t as formatRoomLink } from "./share-Jl8Eia9b.js";
|
|
3
3
|
|
|
4
4
|
export { getIceServers, importRTC, loadOrCreateShareRoom, readShareRoom, shareLinkFromRoomUrl, shareRoomFileName, startShare };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as computeTranscriptHash, c as open$1, d as randomHex, f as seal, i as MAX_CHUNK, l as packEnvelope, n as FLAG_CONFIRM, o as deriveAuthToken, p as unpackEnvelope, r as MARKER, s as deriveDirKeys, t as CONFIRM_TIMEOUT_MS, u as parseSecret } from "./e2e-
|
|
1
|
+
import { a as computeTranscriptHash, c as open$1, d as randomHex, f as seal, i as MAX_CHUNK, l as packEnvelope, n as FLAG_CONFIRM, o as deriveAuthToken, p as unpackEnvelope, r as MARKER, s as deriveDirKeys, t as CONFIRM_TIMEOUT_MS, u as parseSecret } from "./e2e-BdLf8DvY.js";
|
|
2
2
|
import { mkdir, readFile, writeFile } from "fs/promises";
|
|
3
3
|
import { homedir } from "os";
|
|
4
4
|
import path from "path";
|
|
@@ -642,4 +642,4 @@ async function startShare(opts) {
|
|
|
642
642
|
|
|
643
643
|
//#endregion
|
|
644
644
|
export { readShareRoom as a, shareRoomPath as c, loadOrCreateShareRoom as i, startShare as l, getIceServers as n, shareLinkFromRoomUrl as o, importRTC as r, shareRoomFileName as s, formatRoomLink as t };
|
|
645
|
-
//# sourceMappingURL=share-
|
|
645
|
+
//# sourceMappingURL=share-Jl8Eia9b.js.map
|