@madarco/agentbox 0.32.0 → 0.32.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/CHANGELOG.md +11 -0
- package/dist/{_cloud-attach-6RKS3MAP.js → _cloud-attach-UXH3VKTM.js} +8 -8
- package/dist/{chunk-X6CO4WIX.js → chunk-2W3W3KNR.js} +3 -3
- package/dist/{chunk-L4KBYI3I.js → chunk-5D46PE5V.js} +3 -3
- package/dist/{chunk-6XMOBI5V.js → chunk-5F5NBZG7.js} +2 -2
- package/dist/{chunk-XNZ6UHTM.js → chunk-65G5R2HW.js} +5 -5
- package/dist/{chunk-WLEGSKKE.js → chunk-6N7OSMEA.js} +3 -3
- package/dist/{chunk-TAZYSVLT.js → chunk-7PTM6JEX.js} +6 -6
- package/dist/{chunk-PE5LPD23.js → chunk-B3C6NQB7.js} +10 -4
- package/dist/chunk-B3C6NQB7.js.map +1 -0
- package/dist/{chunk-CXAWPWGZ.js → chunk-BJLUG6TE.js} +2 -2
- package/dist/{chunk-KOTW7QQW.js → chunk-BV2UZ4SG.js} +3 -3
- package/dist/{chunk-WTOG3CC6.js → chunk-EAT5IEWA.js} +2 -2
- package/dist/{chunk-XLJ4D4FI.js → chunk-GBEV7ETR.js} +2 -2
- package/dist/{chunk-RIXW4HSE.js → chunk-GLIWCNFE.js} +3 -3
- package/dist/{chunk-EDJ6O6CI.js → chunk-HCKRUAHW.js} +3 -3
- package/dist/{chunk-3L2DIPRM.js → chunk-HUVSTEJR.js} +2 -2
- package/dist/{chunk-GSMQL4IJ.js → chunk-IL7R2X6B.js} +12 -12
- package/dist/{chunk-5OKDSI6M.js → chunk-IQ4WLVXE.js} +21 -21
- package/dist/{chunk-MPTE57BZ.js → chunk-JL4EJ4EH.js} +4 -4
- package/dist/{chunk-7QTBRHB7.js → chunk-KTB7JGPA.js} +2 -2
- package/dist/{chunk-S7LPQXR5.js → chunk-LFBCFWG6.js} +4 -4
- package/dist/{chunk-CDRKQ5BH.js → chunk-NGCG3IBH.js} +8 -8
- package/dist/{chunk-2APGFWEU.js → chunk-NX27A3F2.js} +18 -18
- package/dist/{chunk-JWQYZ6V4.js → chunk-OUHDSEVQ.js} +2 -2
- package/dist/{chunk-YSACCMUB.js → chunk-QLZPJIWF.js} +7 -7
- package/dist/{chunk-MI3V2MAE.js → chunk-R3XDO4SN.js} +2 -2
- package/dist/{chunk-4FOXMGJ7.js → chunk-RF7Q7SHU.js} +2 -2
- package/dist/{chunk-ANSPBIYG.js → chunk-SAEZJZ5Z.js} +2 -2
- package/dist/{chunk-XTNAIM7X.js → chunk-U5MUWZOS.js} +4 -4
- package/dist/{chunk-27S7QLDF.js → chunk-ULQPPQ23.js} +2 -2
- package/dist/{chunk-AWI2TSWS.js → chunk-VWSERFTW.js} +2 -2
- package/dist/{chunk-MO3QJTVS.js → chunk-XFMCRD2J.js} +3 -3
- package/dist/{cli-ZGYSHJP7.js → cli-HFZMZWRM.js} +4 -4
- package/dist/{cli-IFXU5XNZ.js → cli-HPYDF5AP.js} +4 -4
- package/dist/{cli-RQJUQJEP.js → cli-PWK63DQI.js} +3 -3
- package/dist/{cli-MZSWFSTW.js → cli-RC5F6DYP.js} +4 -4
- package/dist/{cli-O3WXOFNS.js → cli-S7RGCNHG.js} +3 -3
- package/dist/cloud-backends.js +3 -3
- package/dist/{control-plane-3TII2JGM.js → control-plane-HRJRAYKV.js} +13 -13
- package/dist/{cp-hub-upload-3W7Z4BMT.js → cp-hub-upload-N4PPUZHE.js} +3 -3
- package/dist/{deploy-hetzner-EO5PFKBG.js → deploy-hetzner-A42GILM3.js} +5 -5
- package/dist/{dist-BFH537FO.js → dist-5OXP2N6H.js} +5 -5
- package/dist/{dist-V224SH3Z.js → dist-64QL2Q5L.js} +3 -3
- package/dist/{dist-3AR6L5MF.js → dist-D4LLY6JV.js} +4 -4
- package/dist/{dist-4GHNQ2AK.js → dist-GS36Y2CW.js} +3 -3
- package/dist/{dist-IABCQB5D.js → dist-HGUSK4LL.js} +4 -4
- package/dist/{dist-RPBA2EL5.js → dist-JU5COR7Y.js} +3 -3
- package/dist/{dist-JJZ3NZRO.js → dist-NJ2U42MZ.js} +2 -2
- package/dist/{dist-H2CSUDEI.js → dist-Z4S5EKUS.js} +4 -4
- package/dist/{host-reach-drainer-NYN3YXHG.js → host-reach-drainer-WIKLZSLZ.js} +2 -2
- package/dist/{hub-OWUC4IGW.js → hub-A6U3YB5D.js} +16 -16
- package/dist/{hub-adopt-HYXFUPPO.js → hub-adopt-O4LQLW6N.js} +3 -3
- package/dist/{hub-docker-target-6ODSK7ZE.js → hub-docker-target-D67UXZSU.js} +8 -8
- package/dist/index.js +49 -49
- package/dist/prepare-5Y7DWMZ7.js +45 -0
- package/dist/{prepared-custody-WSHX6XTQ.js → prepared-custody-L6PXXLD3.js} +14 -14
- package/dist/{publish-credentials-FCEQSIPE.js → publish-credentials-WJ4KLIMW.js} +4 -4
- package/dist/{registry-GG23NEBF.js → registry-6VF5VPGD.js} +3 -3
- package/dist/{relay-YUOIK3HN.js → relay-732OVYXR.js} +6 -6
- package/dist/{remote-docker-share-4Z4VVUPG.js → remote-docker-share-WY5U5USV.js} +5 -5
- package/dist/{tool-grant-push-A2JYLJVF.js → tool-grant-push-YQYYNMRQ.js} +3 -3
- package/package.json +1 -1
- package/runtime/hub/apps/hub/.next/BUILD_ID +1 -1
- package/runtime/hub/apps/hub/.next/build-manifest.json +3 -3
- package/runtime/hub/apps/hub/.next/server/app/_global-error.html +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/middleware-build-manifest.js +3 -3
- package/runtime/hub/apps/hub/.next/server/pages/500.html +1 -1
- package/runtime/hub/apps/hub/{chunk-G2AEPH7C.js → chunk-GGHXBTGL.js} +2 -2
- package/runtime/hub/apps/hub/{chunk-JX5JUFSR.js → chunk-LEELYQVR.js} +8 -8
- package/runtime/hub/apps/hub/{chunk-BR4WVGWJ.js → chunk-MQ7AJUJJ.js} +1 -1
- package/runtime/hub/apps/hub/{chunk-EVB2OTLU.js → chunk-OFJRKISZ.js} +9 -3
- package/runtime/hub/apps/hub/{dist-Y2263LMY.js → dist-DENRW6O5.js} +1 -1
- package/runtime/hub/apps/hub/{dist-XUNBQ4WM.js → dist-NQYEPZJY.js} +2 -2
- package/runtime/hub/apps/hub/{dist-GGLWLMY6.js → dist-RIXE6NHS.js} +3 -3
- package/runtime/hub/apps/hub/{dist-HLLYJGIT.js → dist-RK6SSH23.js} +3 -3
- package/runtime/hub/apps/hub/{dist-CJ6QFUFV.js → dist-U5SDGYOA.js} +2 -2
- package/runtime/hub/apps/hub/{dist-UFMCOK3W.js → dist-U6XVHUNU.js} +2 -2
- package/runtime/hub/apps/hub/{dist-YV4M6NJO.js → dist-W4YRUL6E.js} +2 -2
- package/runtime/hub/apps/hub/{dist-IIQU4I42.js → dist-Y3Q5YEOC.js} +2 -2
- package/runtime/hub/apps/hub/{hub-worker-LJYEEAJL.js → hub-worker-DVATYYST.js} +4 -4
- package/runtime/hub/apps/hub/server.js +10 -10
- package/dist/chunk-PE5LPD23.js.map +0 -1
- package/dist/prepare-MYFNDJPP.js +0 -45
- /package/dist/{_cloud-attach-6RKS3MAP.js.map → _cloud-attach-UXH3VKTM.js.map} +0 -0
- /package/dist/{chunk-X6CO4WIX.js.map → chunk-2W3W3KNR.js.map} +0 -0
- /package/dist/{chunk-L4KBYI3I.js.map → chunk-5D46PE5V.js.map} +0 -0
- /package/dist/{chunk-6XMOBI5V.js.map → chunk-5F5NBZG7.js.map} +0 -0
- /package/dist/{chunk-XNZ6UHTM.js.map → chunk-65G5R2HW.js.map} +0 -0
- /package/dist/{chunk-WLEGSKKE.js.map → chunk-6N7OSMEA.js.map} +0 -0
- /package/dist/{chunk-TAZYSVLT.js.map → chunk-7PTM6JEX.js.map} +0 -0
- /package/dist/{chunk-CXAWPWGZ.js.map → chunk-BJLUG6TE.js.map} +0 -0
- /package/dist/{chunk-KOTW7QQW.js.map → chunk-BV2UZ4SG.js.map} +0 -0
- /package/dist/{chunk-WTOG3CC6.js.map → chunk-EAT5IEWA.js.map} +0 -0
- /package/dist/{chunk-XLJ4D4FI.js.map → chunk-GBEV7ETR.js.map} +0 -0
- /package/dist/{chunk-RIXW4HSE.js.map → chunk-GLIWCNFE.js.map} +0 -0
- /package/dist/{chunk-EDJ6O6CI.js.map → chunk-HCKRUAHW.js.map} +0 -0
- /package/dist/{chunk-3L2DIPRM.js.map → chunk-HUVSTEJR.js.map} +0 -0
- /package/dist/{chunk-GSMQL4IJ.js.map → chunk-IL7R2X6B.js.map} +0 -0
- /package/dist/{chunk-5OKDSI6M.js.map → chunk-IQ4WLVXE.js.map} +0 -0
- /package/dist/{chunk-MPTE57BZ.js.map → chunk-JL4EJ4EH.js.map} +0 -0
- /package/dist/{chunk-7QTBRHB7.js.map → chunk-KTB7JGPA.js.map} +0 -0
- /package/dist/{chunk-S7LPQXR5.js.map → chunk-LFBCFWG6.js.map} +0 -0
- /package/dist/{chunk-CDRKQ5BH.js.map → chunk-NGCG3IBH.js.map} +0 -0
- /package/dist/{chunk-2APGFWEU.js.map → chunk-NX27A3F2.js.map} +0 -0
- /package/dist/{chunk-JWQYZ6V4.js.map → chunk-OUHDSEVQ.js.map} +0 -0
- /package/dist/{chunk-YSACCMUB.js.map → chunk-QLZPJIWF.js.map} +0 -0
- /package/dist/{chunk-MI3V2MAE.js.map → chunk-R3XDO4SN.js.map} +0 -0
- /package/dist/{chunk-4FOXMGJ7.js.map → chunk-RF7Q7SHU.js.map} +0 -0
- /package/dist/{chunk-ANSPBIYG.js.map → chunk-SAEZJZ5Z.js.map} +0 -0
- /package/dist/{chunk-XTNAIM7X.js.map → chunk-U5MUWZOS.js.map} +0 -0
- /package/dist/{chunk-27S7QLDF.js.map → chunk-ULQPPQ23.js.map} +0 -0
- /package/dist/{chunk-AWI2TSWS.js.map → chunk-VWSERFTW.js.map} +0 -0
- /package/dist/{chunk-MO3QJTVS.js.map → chunk-XFMCRD2J.js.map} +0 -0
- /package/dist/{cli-IFXU5XNZ.js.map → cli-HFZMZWRM.js.map} +0 -0
- /package/dist/{cli-MZSWFSTW.js.map → cli-HPYDF5AP.js.map} +0 -0
- /package/dist/{cli-O3WXOFNS.js.map → cli-PWK63DQI.js.map} +0 -0
- /package/dist/{cli-RQJUQJEP.js.map → cli-RC5F6DYP.js.map} +0 -0
- /package/dist/{cli-ZGYSHJP7.js.map → cli-S7RGCNHG.js.map} +0 -0
- /package/dist/{control-plane-3TII2JGM.js.map → control-plane-HRJRAYKV.js.map} +0 -0
- /package/dist/{cp-hub-upload-3W7Z4BMT.js.map → cp-hub-upload-N4PPUZHE.js.map} +0 -0
- /package/dist/{deploy-hetzner-EO5PFKBG.js.map → deploy-hetzner-A42GILM3.js.map} +0 -0
- /package/dist/{dist-3AR6L5MF.js.map → dist-5OXP2N6H.js.map} +0 -0
- /package/dist/{dist-BFH537FO.js.map → dist-64QL2Q5L.js.map} +0 -0
- /package/dist/{dist-H2CSUDEI.js.map → dist-D4LLY6JV.js.map} +0 -0
- /package/dist/{dist-4GHNQ2AK.js.map → dist-GS36Y2CW.js.map} +0 -0
- /package/dist/{dist-IABCQB5D.js.map → dist-HGUSK4LL.js.map} +0 -0
- /package/dist/{dist-RPBA2EL5.js.map → dist-JU5COR7Y.js.map} +0 -0
- /package/dist/{dist-JJZ3NZRO.js.map → dist-NJ2U42MZ.js.map} +0 -0
- /package/dist/{dist-V224SH3Z.js.map → dist-Z4S5EKUS.js.map} +0 -0
- /package/dist/{host-reach-drainer-NYN3YXHG.js.map → host-reach-drainer-WIKLZSLZ.js.map} +0 -0
- /package/dist/{hub-OWUC4IGW.js.map → hub-A6U3YB5D.js.map} +0 -0
- /package/dist/{hub-adopt-HYXFUPPO.js.map → hub-adopt-O4LQLW6N.js.map} +0 -0
- /package/dist/{hub-docker-target-6ODSK7ZE.js.map → hub-docker-target-D67UXZSU.js.map} +0 -0
- /package/dist/{prepare-MYFNDJPP.js.map → prepare-5Y7DWMZ7.js.map} +0 -0
- /package/dist/{prepared-custody-WSHX6XTQ.js.map → prepared-custody-L6PXXLD3.js.map} +0 -0
- /package/dist/{publish-credentials-FCEQSIPE.js.map → publish-credentials-WJ4KLIMW.js.map} +0 -0
- /package/dist/{registry-GG23NEBF.js.map → registry-6VF5VPGD.js.map} +0 -0
- /package/dist/{relay-YUOIK3HN.js.map → relay-732OVYXR.js.map} +0 -0
- /package/dist/{remote-docker-share-4Z4VVUPG.js.map → remote-docker-share-WY5U5USV.js.map} +0 -0
- /package/dist/{tool-grant-push-A2JYLJVF.js.map → tool-grant-push-YQYYNMRQ.js.map} +0 -0
- /package/runtime/hub/apps/hub/.next/static/{QDhlg7V_fEVGv_NfM2cEJ → psd9s1F7NglKqhj4_onRN}/_buildManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{QDhlg7V_fEVGv_NfM2cEJ → psd9s1F7NglKqhj4_onRN}/_clientMiddlewareManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{QDhlg7V_fEVGv_NfM2cEJ → psd9s1F7NglKqhj4_onRN}/_ssgManifest.js +0 -0
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
ensureVolume,
|
|
18
18
|
extractVolumeAuthToBackup,
|
|
19
19
|
volumeExists
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-B3C6NQB7.js";
|
|
21
21
|
import {
|
|
22
22
|
ensureImage
|
|
23
23
|
} from "./chunk-YNAJUTYC.js";
|
|
@@ -608,4 +608,4 @@ export {
|
|
|
608
608
|
resolvePiTeleport,
|
|
609
609
|
agentModule
|
|
610
610
|
};
|
|
611
|
-
//# sourceMappingURL=chunk-
|
|
611
|
+
//# sourceMappingURL=chunk-BJLUG6TE.js.map
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createCloudProvider,
|
|
4
4
|
stageAllAgentStatic
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EAT5IEWA.js";
|
|
6
6
|
import {
|
|
7
7
|
detectPortless,
|
|
8
8
|
portlessDoctorRow,
|
|
9
9
|
portlessServiceStatus
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-B3C6NQB7.js";
|
|
11
11
|
import {
|
|
12
12
|
SshTunnelManager,
|
|
13
13
|
agentSetArg,
|
|
@@ -2789,4 +2789,4 @@ export {
|
|
|
2789
2789
|
hetznerProvider,
|
|
2790
2790
|
providerModule
|
|
2791
2791
|
};
|
|
2792
|
-
//# sourceMappingURL=chunk-
|
|
2792
|
+
//# sourceMappingURL=chunk-BV2UZ4SG.js.map
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
registerBoxWithRelay,
|
|
15
15
|
skipWebProxyAlias,
|
|
16
16
|
stopBoxPollerOnRelay
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-B3C6NQB7.js";
|
|
18
18
|
import {
|
|
19
19
|
AGENTS_STATIC_BOX_DIR,
|
|
20
20
|
AGENT_SYNC_SPECS,
|
|
@@ -4417,4 +4417,4 @@ export {
|
|
|
4417
4417
|
openWebAppOnVncScreen,
|
|
4418
4418
|
makeMockCloudBackend
|
|
4419
4419
|
};
|
|
4420
|
-
//# sourceMappingURL=chunk-
|
|
4420
|
+
//# sourceMappingURL=chunk-EAT5IEWA.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
buildTmuxSessionArgs,
|
|
9
9
|
ensureVolume,
|
|
10
10
|
volumeExists
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-B3C6NQB7.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveAgentSpec
|
|
14
14
|
} from "./chunk-ZKOLV4ZN.js";
|
|
@@ -195,4 +195,4 @@ export {
|
|
|
195
195
|
EXAMPLE_LOGIN_SPEC,
|
|
196
196
|
agentModule
|
|
197
197
|
};
|
|
198
|
-
//# sourceMappingURL=chunk-
|
|
198
|
+
//# sourceMappingURL=chunk-GBEV7ETR.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
runInteractiveOpencodeLogin,
|
|
12
12
|
startOpencodeSession,
|
|
13
13
|
volumeHasOpencodeAuth
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-RF7Q7SHU.js";
|
|
15
15
|
import {
|
|
16
16
|
INVALID_CODE,
|
|
17
17
|
URL_BODY,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
OPENCODE_CREDENTIALS_BACKUP_FILE,
|
|
32
32
|
extractOpencodeCredentials
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-B3C6NQB7.js";
|
|
34
34
|
import {
|
|
35
35
|
ensureImage
|
|
36
36
|
} from "./chunk-YNAJUTYC.js";
|
|
@@ -294,4 +294,4 @@ export {
|
|
|
294
294
|
opencodeCliSpec,
|
|
295
295
|
agentModule
|
|
296
296
|
};
|
|
297
|
-
//# sourceMappingURL=chunk-
|
|
297
|
+
//# sourceMappingURL=chunk-GLIWCNFE.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
runInteractiveCodexLogin,
|
|
11
11
|
startCodexSession,
|
|
12
12
|
volumeHasCodexAuth
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5F5NBZG7.js";
|
|
14
14
|
import {
|
|
15
15
|
BOX_WORKSPACE,
|
|
16
16
|
TeleportError,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
CODEX_CREDENTIALS_BACKUP_FILE,
|
|
32
32
|
extractCodexCredentials
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-B3C6NQB7.js";
|
|
34
34
|
import {
|
|
35
35
|
ensureImage
|
|
36
36
|
} from "./chunk-YNAJUTYC.js";
|
|
@@ -688,4 +688,4 @@ export {
|
|
|
688
688
|
upsertCodexPluginEnable,
|
|
689
689
|
installCodexPlugin
|
|
690
690
|
};
|
|
691
|
-
//# sourceMappingURL=chunk-
|
|
691
|
+
//# sourceMappingURL=chunk-HCKRUAHW.js.map
|
|
@@ -5,7 +5,7 @@ async function ensureHostReachDrainer(box) {
|
|
|
5
5
|
try {
|
|
6
6
|
if ((box.provider ?? "docker") === "docker") return;
|
|
7
7
|
if (!box.cloud?.controlPlaneUrl) return;
|
|
8
|
-
const { ensureRelay } = await import("./dist-
|
|
8
|
+
const { ensureRelay } = await import("./dist-NJ2U42MZ.js");
|
|
9
9
|
await ensureRelay();
|
|
10
10
|
} catch {
|
|
11
11
|
}
|
|
@@ -14,4 +14,4 @@ async function ensureHostReachDrainer(box) {
|
|
|
14
14
|
export {
|
|
15
15
|
ensureHostReachDrainer
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=chunk-
|
|
17
|
+
//# sourceMappingURL=chunk-HUVSTEJR.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
boxOwningHubIsLocal
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-65G5R2HW.js";
|
|
5
5
|
import {
|
|
6
6
|
ensureHostReachDrainer
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HUVSTEJR.js";
|
|
8
8
|
import {
|
|
9
9
|
providerForBox
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OUHDSEVQ.js";
|
|
11
11
|
import {
|
|
12
12
|
loadPtyBackend
|
|
13
13
|
} from "./chunk-QBVRWGXD.js";
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
seedDeclaredFilesForLaunch,
|
|
20
20
|
startDetachedCloudAgent,
|
|
21
21
|
startDetachedSession
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-EAT5IEWA.js";
|
|
23
23
|
import {
|
|
24
24
|
execInBox,
|
|
25
25
|
readBoxStatus
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-B3C6NQB7.js";
|
|
27
27
|
import {
|
|
28
28
|
isValidBoxStatus
|
|
29
29
|
} from "./chunk-66GAYIJZ.js";
|
|
@@ -52,11 +52,11 @@ import { log, spinner } from "@clack/prompts";
|
|
|
52
52
|
|
|
53
53
|
// src/agents/index.ts
|
|
54
54
|
var AGENT_MODULES = {
|
|
55
|
-
claude: () => import("./cli-
|
|
56
|
-
codex: () => import("./cli-
|
|
57
|
-
opencode: () => import("./cli-
|
|
58
|
-
pi: () => import("./cli-
|
|
59
|
-
example: () => import("./cli-
|
|
55
|
+
claude: () => import("./cli-HFZMZWRM.js"),
|
|
56
|
+
codex: () => import("./cli-RC5F6DYP.js"),
|
|
57
|
+
opencode: () => import("./cli-HPYDF5AP.js"),
|
|
58
|
+
pi: () => import("./cli-PWK63DQI.js"),
|
|
59
|
+
example: () => import("./cli-S7RGCNHG.js")
|
|
60
60
|
};
|
|
61
61
|
async function loadAgentModule(id) {
|
|
62
62
|
const importer = AGENT_MODULES[id];
|
|
@@ -2702,7 +2702,7 @@ async function resolveBoxHubTarget(box) {
|
|
|
2702
2702
|
async function resolveBoxPromptSource(box, opts = {}) {
|
|
2703
2703
|
const target = await resolveBoxHubTarget(box).catch(() => "none");
|
|
2704
2704
|
if (target === "none" || target === "no-token") {
|
|
2705
|
-
const { resolveHubApiTarget } = await import("./control-plane-
|
|
2705
|
+
const { resolveHubApiTarget } = await import("./control-plane-HRJRAYKV.js");
|
|
2706
2706
|
const local = await resolveHubApiTarget(void 0, { preferLocal: true, quiet: opts.quiet });
|
|
2707
2707
|
if (!local) return null;
|
|
2708
2708
|
return {
|
|
@@ -2910,4 +2910,4 @@ export {
|
|
|
2910
2910
|
cloudAgentAttach,
|
|
2911
2911
|
cloudAgentStartDetached
|
|
2912
2912
|
};
|
|
2913
|
-
//# sourceMappingURL=chunk-
|
|
2913
|
+
//# sourceMappingURL=chunk-IL7R2X6B.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
hubApiTargetFrom,
|
|
8
8
|
withHubClient
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-65G5R2HW.js";
|
|
10
10
|
import {
|
|
11
11
|
assertReachableRecord,
|
|
12
12
|
persistDeployRecord,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
runHetznerDeploy,
|
|
17
17
|
runHetznerDestroy,
|
|
18
18
|
runHetznerUpdate
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-2W3W3KNR.js";
|
|
20
20
|
import {
|
|
21
21
|
CustodyClient,
|
|
22
22
|
collectAgentCredentialUploads,
|
|
@@ -33,16 +33,16 @@ import {
|
|
|
33
33
|
projectHasEnv,
|
|
34
34
|
resolveVercelApiAuth,
|
|
35
35
|
upsertProjectEnv
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-R3XDO4SN.js";
|
|
37
37
|
import {
|
|
38
38
|
deployControlPlaneToDigitalOcean,
|
|
39
39
|
destroyControlPlaneOnDigitalOcean,
|
|
40
40
|
readDigitalOceanCredStatus,
|
|
41
41
|
updateControlPlaneOnDigitalOcean
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-JL4EJ4EH.js";
|
|
43
43
|
import {
|
|
44
44
|
providerForCreate
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-OUHDSEVQ.js";
|
|
46
46
|
import {
|
|
47
47
|
openCommandLog
|
|
48
48
|
} from "./chunk-QBVRWGXD.js";
|
|
@@ -57,10 +57,10 @@ import {
|
|
|
57
57
|
} from "./chunk-QNYGNHM2.js";
|
|
58
58
|
import {
|
|
59
59
|
handleLifecycleError
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-LFBCFWG6.js";
|
|
61
61
|
import {
|
|
62
62
|
detectEgressIp
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-BV2UZ4SG.js";
|
|
64
64
|
import {
|
|
65
65
|
applyProjectSeed,
|
|
66
66
|
deadlineFetch,
|
|
@@ -68,7 +68,7 @@ import {
|
|
|
68
68
|
pushPreparedToCustody,
|
|
69
69
|
pushProjectSeedToCustody,
|
|
70
70
|
readGitOriginUrl
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-EAT5IEWA.js";
|
|
72
72
|
import {
|
|
73
73
|
GitHubAppLeaser,
|
|
74
74
|
PostgresStore,
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
import {
|
|
84
84
|
getRuntimeProviderNames,
|
|
85
85
|
loadProviderModule
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-NGCG3IBH.js";
|
|
87
87
|
import {
|
|
88
88
|
AGENTBOX_HUB_SSH_ALIAS,
|
|
89
89
|
AGENT_SYNC_SPECS,
|
|
@@ -814,8 +814,8 @@ function detectExecutionMethod(input) {
|
|
|
814
814
|
}
|
|
815
815
|
|
|
816
816
|
// src/version.ts
|
|
817
|
-
var AGENTBOX_VERSION = true ? "0.32.
|
|
818
|
-
var AGENTBOX_COMMIT = true ? "
|
|
817
|
+
var AGENTBOX_VERSION = true ? "0.32.1" : "0.0.0-dev";
|
|
818
|
+
var AGENTBOX_COMMIT = true ? "c539c7d2" : "dev";
|
|
819
819
|
|
|
820
820
|
// src/commands/install-app.ts
|
|
821
821
|
import { intro, log, outro } from "@clack/prompts";
|
|
@@ -2305,7 +2305,7 @@ var setUrlSub = new Command2("set-url").description("Point boxes + the CLI at a
|
|
|
2305
2305
|
try {
|
|
2306
2306
|
const trimmed = await applyControlPlaneUrl(url);
|
|
2307
2307
|
log2.success(`Set relay.controlPlaneUrl = ${trimmed}`);
|
|
2308
|
-
const { ensureHubDockerTarget } = await import("./hub-docker-target-
|
|
2308
|
+
const { ensureHubDockerTarget } = await import("./hub-docker-target-D67UXZSU.js");
|
|
2309
2309
|
await ensureHubDockerTarget((line) => {
|
|
2310
2310
|
log2.info(line);
|
|
2311
2311
|
});
|
|
@@ -2323,7 +2323,7 @@ var unsetUrlSub = new Command2("unset-url").description("Stop using a control pl
|
|
|
2323
2323
|
if (!g.existed && !p.existed) {
|
|
2324
2324
|
log2.info("No control plane was configured (relay.controlPlaneUrl not set).");
|
|
2325
2325
|
} else {
|
|
2326
|
-
const { removeHubDockerTarget } = await import("./hub-docker-target-
|
|
2326
|
+
const { removeHubDockerTarget } = await import("./hub-docker-target-D67UXZSU.js");
|
|
2327
2327
|
await removeHubDockerTarget((line) => {
|
|
2328
2328
|
log2.info(line);
|
|
2329
2329
|
});
|
|
@@ -2536,7 +2536,7 @@ async function resolveCustodyTarget(urlFlag, opts = {}) {
|
|
|
2536
2536
|
return { url, adminToken };
|
|
2537
2537
|
}
|
|
2538
2538
|
async function resolveCustodyApiTarget(urlFlag, opts = {}) {
|
|
2539
|
-
const { resolveHubTarget } = await import("./hub-
|
|
2539
|
+
const { resolveHubTarget } = await import("./hub-A6U3YB5D.js");
|
|
2540
2540
|
const noCredentialError = "A control box is configured but no custody credential is available. Set AGENTBOX_HUB_API_KEY\n(or AGENTBOX_RELAY_ADMIN_TOKEN), or run this from the machine that ran `agentbox hub setup`\n(it writes both to ~/.agentbox/control-plane) \u2014 custody / SSH-key pull needs one of them.";
|
|
2541
2541
|
const target = await resolveHubTarget(urlFlag);
|
|
2542
2542
|
if (target.mode === "remote") {
|
|
@@ -2556,7 +2556,7 @@ async function resolveCustodyApiTarget(urlFlag, opts = {}) {
|
|
|
2556
2556
|
}
|
|
2557
2557
|
async function autostartLocalHub() {
|
|
2558
2558
|
const { ensureHub: ensureHub2 } = await import("./dist-URWWHI3X.js");
|
|
2559
|
-
const { rehydrateFromState } = await import("./relay-
|
|
2559
|
+
const { rehydrateFromState } = await import("./relay-732OVYXR.js");
|
|
2560
2560
|
const s = spinner();
|
|
2561
2561
|
s.start("starting local hub");
|
|
2562
2562
|
try {
|
|
@@ -2572,7 +2572,7 @@ async function autostartLocalHub() {
|
|
|
2572
2572
|
}
|
|
2573
2573
|
async function restartLocalHubForToken() {
|
|
2574
2574
|
const { ensureHub: ensureHub2, stopHub: stopHub2 } = await import("./dist-URWWHI3X.js");
|
|
2575
|
-
const { rehydrateFromState } = await import("./relay-
|
|
2575
|
+
const { rehydrateFromState } = await import("./relay-732OVYXR.js");
|
|
2576
2576
|
const s = spinner();
|
|
2577
2577
|
s.start("hub token missing \u2014 restarting local hub");
|
|
2578
2578
|
try {
|
|
@@ -2588,7 +2588,7 @@ async function restartLocalHubForToken() {
|
|
|
2588
2588
|
}
|
|
2589
2589
|
}
|
|
2590
2590
|
async function resolveHubApiTarget(urlFlag, opts = {}) {
|
|
2591
|
-
const { resolveHubTarget } = await import("./hub-
|
|
2591
|
+
const { resolveHubTarget } = await import("./hub-A6U3YB5D.js");
|
|
2592
2592
|
let target = await resolveHubTarget(urlFlag, { preferLocal: opts.preferLocal });
|
|
2593
2593
|
if (target.mode === "local" && !opts.quiet) {
|
|
2594
2594
|
const { getHubStatus: getHubStatus2, readHubToken } = await import("./dist-URWWHI3X.js");
|
|
@@ -3483,7 +3483,7 @@ async function syncBakesWithControlBox(url) {
|
|
|
3483
3483
|
const hubVersion = (await probeControlPlaneStatus(target.url)).version;
|
|
3484
3484
|
const results = [];
|
|
3485
3485
|
const providers = getRuntimeProviderNames().filter(isShareablePreparedProvider);
|
|
3486
|
-
const { adoptPreparedBases } = await import("./prepared-custody-
|
|
3486
|
+
const { adoptPreparedBases } = await import("./prepared-custody-L6PXXLD3.js");
|
|
3487
3487
|
const pulled = await adoptPreparedBases().catch(() => ({
|
|
3488
3488
|
adopted: [],
|
|
3489
3489
|
pending: []
|
|
@@ -3589,12 +3589,12 @@ async function syncAgentCredentialsIfChanged(url) {
|
|
|
3589
3589
|
async function finalizeControlBoxState(url) {
|
|
3590
3590
|
await syncAgentCredentials(url, { announce: true });
|
|
3591
3591
|
await syncBakesWithControlBox(url);
|
|
3592
|
-
const { syncSharedHosts } = await import("./remote-docker-share-
|
|
3592
|
+
const { syncSharedHosts } = await import("./remote-docker-share-WY5U5USV.js");
|
|
3593
3593
|
await syncSharedHosts(url, (line) => {
|
|
3594
3594
|
log2.info(line);
|
|
3595
3595
|
});
|
|
3596
3596
|
try {
|
|
3597
|
-
const { ensureHubDockerTarget } = await import("./hub-docker-target-
|
|
3597
|
+
const { ensureHubDockerTarget } = await import("./hub-docker-target-D67UXZSU.js");
|
|
3598
3598
|
await ensureHubDockerTarget((line) => {
|
|
3599
3599
|
log2.info(line);
|
|
3600
3600
|
});
|
|
@@ -3681,4 +3681,4 @@ export {
|
|
|
3681
3681
|
syncAgentCredentialsIfChanged,
|
|
3682
3682
|
controlPlaneSubcommands
|
|
3683
3683
|
};
|
|
3684
|
-
//# sourceMappingURL=chunk-
|
|
3684
|
+
//# sourceMappingURL=chunk-IQ4WLVXE.js.map
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import {
|
|
3
3
|
applyControlPlaneConfig,
|
|
4
4
|
resolveHubDeployAssets
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BV2UZ4SG.js";
|
|
6
6
|
import {
|
|
7
7
|
createCloudProvider,
|
|
8
8
|
stageAllAgentStatic
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EAT5IEWA.js";
|
|
10
10
|
import {
|
|
11
11
|
detectPortless,
|
|
12
12
|
portlessDoctorRow,
|
|
13
13
|
portlessServiceStatus
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-B3C6NQB7.js";
|
|
15
15
|
import {
|
|
16
16
|
SshTunnelManager,
|
|
17
17
|
agentSetArg,
|
|
@@ -2537,4 +2537,4 @@ export {
|
|
|
2537
2537
|
digitaloceanProvider,
|
|
2538
2538
|
providerModule
|
|
2539
2539
|
};
|
|
2540
|
-
//# sourceMappingURL=chunk-
|
|
2540
|
+
//# sourceMappingURL=chunk-JL4EJ4EH.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
generateRelayToken
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-B3C6NQB7.js";
|
|
5
5
|
import {
|
|
6
6
|
registrationToBoxRecord
|
|
7
7
|
} from "./chunk-66GAYIJZ.js";
|
|
@@ -148,4 +148,4 @@ export {
|
|
|
148
148
|
hubBoxToRegistration,
|
|
149
149
|
adoptHubBox
|
|
150
150
|
};
|
|
151
|
-
//# sourceMappingURL=chunk-
|
|
151
|
+
//# sourceMappingURL=chunk-KTB7JGPA.js.map
|
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
setInstallMethodNative,
|
|
12
12
|
trustWorkspace,
|
|
13
13
|
warmUpClaudeCredentials
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SAEZJZ5Z.js";
|
|
15
15
|
import {
|
|
16
16
|
registerAgentCloudModule
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-EAT5IEWA.js";
|
|
18
18
|
import {
|
|
19
19
|
registerAgentSyncModule,
|
|
20
20
|
syncClaudeCredentials
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-B3C6NQB7.js";
|
|
22
22
|
import {
|
|
23
23
|
STAGE_NO_SPECIALS,
|
|
24
24
|
STAGE_WRITABLE_CHMOD,
|
|
@@ -328,4 +328,4 @@ export {
|
|
|
328
328
|
registerClaudeAgent,
|
|
329
329
|
handleLifecycleError
|
|
330
330
|
};
|
|
331
|
-
//# sourceMappingURL=chunk-
|
|
331
|
+
//# sourceMappingURL=chunk-LFBCFWG6.js.map
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
// src/provider/loaders.ts
|
|
14
14
|
import { pathToFileURL } from "url";
|
|
15
15
|
var IMPORTERS = {
|
|
16
|
-
docker: () => import("./dist-
|
|
17
|
-
daytona: () => import("./dist-
|
|
18
|
-
hetzner: () => import("./dist-
|
|
19
|
-
vercel: () => import("./dist-
|
|
20
|
-
e2b: () => import("./dist-
|
|
21
|
-
digitalocean: () => import("./dist-
|
|
22
|
-
"remote-docker": () => import("./dist-
|
|
16
|
+
docker: () => import("./dist-NJ2U42MZ.js"),
|
|
17
|
+
daytona: () => import("./dist-GS36Y2CW.js"),
|
|
18
|
+
hetzner: () => import("./dist-Z4S5EKUS.js"),
|
|
19
|
+
vercel: () => import("./dist-D4LLY6JV.js"),
|
|
20
|
+
e2b: () => import("./dist-JU5COR7Y.js"),
|
|
21
|
+
digitalocean: () => import("./dist-5OXP2N6H.js"),
|
|
22
|
+
"remote-docker": () => import("./dist-HGUSK4LL.js")
|
|
23
23
|
};
|
|
24
24
|
function pickProviderModule(mod, name) {
|
|
25
25
|
const m = mod;
|
|
@@ -64,4 +64,4 @@ export {
|
|
|
64
64
|
getRuntimeProviderNames,
|
|
65
65
|
isRuntimeProvider
|
|
66
66
|
};
|
|
67
|
-
//# sourceMappingURL=chunk-
|
|
67
|
+
//# sourceMappingURL=chunk-NGCG3IBH.js.map
|
|
@@ -9,55 +9,55 @@ import {
|
|
|
9
9
|
resolveCodexVolume,
|
|
10
10
|
sanitizeCodexConfigForBox,
|
|
11
11
|
seedCodexAgentsOverride
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5F5NBZG7.js";
|
|
13
13
|
import {
|
|
14
14
|
SHARED_OPENCODE_VOLUME,
|
|
15
15
|
buildOpencodeMounts,
|
|
16
16
|
ensureOpencodeVolume,
|
|
17
17
|
opencodeSessionInfo,
|
|
18
18
|
resolveOpencodeVolume
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RF7Q7SHU.js";
|
|
20
20
|
import {
|
|
21
21
|
dockerProviderRefusal
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ULQPPQ23.js";
|
|
23
23
|
import {
|
|
24
24
|
pinAdoptedBase
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-U5MUWZOS.js";
|
|
26
26
|
import {
|
|
27
27
|
localExposedLoopbackUrl,
|
|
28
28
|
resolveCustodyTarget,
|
|
29
29
|
resolveHubApiClient,
|
|
30
30
|
resolveHubApiTarget
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-IQ4WLVXE.js";
|
|
32
32
|
import {
|
|
33
33
|
getProvider,
|
|
34
34
|
isKnownProvider
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-OUHDSEVQ.js";
|
|
36
36
|
import {
|
|
37
37
|
controlBoxKnowsHost
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-QLZPJIWF.js";
|
|
39
39
|
import {
|
|
40
40
|
HubApiClient,
|
|
41
41
|
HubApiError
|
|
42
42
|
} from "./chunk-MB2K74BI.js";
|
|
43
43
|
import {
|
|
44
44
|
SHARED_CLAUDE_VOLUME
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-SAEZJZ5Z.js";
|
|
46
46
|
import {
|
|
47
47
|
deadlineFetch,
|
|
48
48
|
hostReachable,
|
|
49
49
|
pullPreparedFromCustody,
|
|
50
50
|
registerAgentCloudModule
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-EAT5IEWA.js";
|
|
52
52
|
import {
|
|
53
53
|
extractCodexCredentials,
|
|
54
54
|
extractOpencodeCredentials,
|
|
55
55
|
registerAgentSyncModule,
|
|
56
56
|
volumeExists
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-B3C6NQB7.js";
|
|
58
58
|
import {
|
|
59
59
|
getRuntimeProviderNames
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-NGCG3IBH.js";
|
|
61
61
|
import {
|
|
62
62
|
DEFAULT_BOX_IMAGE,
|
|
63
63
|
imageInfo
|
|
@@ -523,7 +523,7 @@ async function renderDocker(status) {
|
|
|
523
523
|
}
|
|
524
524
|
async function daytonaStatus() {
|
|
525
525
|
try {
|
|
526
|
-
const mod = await import("./dist-
|
|
526
|
+
const mod = await import("./dist-GS36Y2CW.js");
|
|
527
527
|
return await mod.getDaytonaStatus();
|
|
528
528
|
} catch (err) {
|
|
529
529
|
return {
|
|
@@ -534,7 +534,7 @@ async function daytonaStatus() {
|
|
|
534
534
|
}
|
|
535
535
|
async function e2bStatus() {
|
|
536
536
|
try {
|
|
537
|
-
const mod = await import("./dist-
|
|
537
|
+
const mod = await import("./dist-JU5COR7Y.js");
|
|
538
538
|
const cred = mod.readE2bCredStatus();
|
|
539
539
|
if (cred.auth === "none") {
|
|
540
540
|
return { configured: false, reason: "not configured \u2014 run `agentbox e2b login`" };
|
|
@@ -583,7 +583,7 @@ function renderE2b(status) {
|
|
|
583
583
|
}
|
|
584
584
|
async function vercelStatus() {
|
|
585
585
|
try {
|
|
586
|
-
const mod = await import("./dist-
|
|
586
|
+
const mod = await import("./dist-D4LLY6JV.js");
|
|
587
587
|
const prepared = mod.readPreparedState();
|
|
588
588
|
if (!prepared.base) return { configured: true };
|
|
589
589
|
return {
|
|
@@ -622,7 +622,7 @@ function renderVercel(status) {
|
|
|
622
622
|
}
|
|
623
623
|
async function hetznerStatus() {
|
|
624
624
|
try {
|
|
625
|
-
const mod = await import("./dist-
|
|
625
|
+
const mod = await import("./dist-Z4S5EKUS.js");
|
|
626
626
|
const prepared = mod.readPreparedState();
|
|
627
627
|
if (!prepared.base) return { configured: true };
|
|
628
628
|
return {
|
|
@@ -663,7 +663,7 @@ function renderHetzner(status, pinnedImage) {
|
|
|
663
663
|
}
|
|
664
664
|
async function digitalOceanStatus() {
|
|
665
665
|
try {
|
|
666
|
-
const mod = await import("./dist-
|
|
666
|
+
const mod = await import("./dist-5OXP2N6H.js");
|
|
667
667
|
if (mod.readDigitalOceanCredStatus().source === "none") {
|
|
668
668
|
return { configured: false, reason: "not configured \u2014 run `agentbox digitalocean login`" };
|
|
669
669
|
}
|
|
@@ -807,7 +807,7 @@ async function showStatus(opts) {
|
|
|
807
807
|
process.stdout.write(lines.join("\n") + "\n");
|
|
808
808
|
}
|
|
809
809
|
async function hubIsCoLocated() {
|
|
810
|
-
const { resolveHubTarget } = await import("./hub-
|
|
810
|
+
const { resolveHubTarget } = await import("./hub-A6U3YB5D.js");
|
|
811
811
|
const target = await resolveHubTarget(void 0).catch(() => null);
|
|
812
812
|
if (target?.mode === "local") return true;
|
|
813
813
|
return await localExposedLoopbackUrl().catch(() => null) !== null;
|
|
@@ -1024,4 +1024,4 @@ export {
|
|
|
1024
1024
|
runPrepare,
|
|
1025
1025
|
prepareCommand
|
|
1026
1026
|
};
|
|
1027
|
-
//# sourceMappingURL=chunk-
|
|
1027
|
+
//# sourceMappingURL=chunk-NX27A3F2.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
getRuntimeProviderNames,
|
|
4
4
|
isRuntimeProvider,
|
|
5
5
|
loadProviderModule
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NGCG3IBH.js";
|
|
7
7
|
import {
|
|
8
8
|
REMOTE_DOCKER,
|
|
9
9
|
parseProviderSpec
|
|
@@ -68,4 +68,4 @@ export {
|
|
|
68
68
|
providerForBox,
|
|
69
69
|
providerForCreate
|
|
70
70
|
};
|
|
71
|
-
//# sourceMappingURL=chunk-
|
|
71
|
+
//# sourceMappingURL=chunk-OUHDSEVQ.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
hostKeyDir,
|
|
5
5
|
listHostAliases,
|
|
6
6
|
parseRemoteTarget
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5D46PE5V.js";
|
|
8
8
|
import {
|
|
9
9
|
log2
|
|
10
10
|
} from "./chunk-QBVRWGXD.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-MB2K74BI.js";
|
|
14
14
|
import {
|
|
15
15
|
quoteShellArg
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-EAT5IEWA.js";
|
|
17
17
|
import {
|
|
18
18
|
mintSshKey,
|
|
19
19
|
resolveSshConfigTarget,
|
|
@@ -164,7 +164,7 @@ async function locallySharedAliases() {
|
|
|
164
164
|
return out;
|
|
165
165
|
}
|
|
166
166
|
async function shareAfterAdd(alias) {
|
|
167
|
-
const { localExposedLoopbackUrl, resolveHubApiClient } = await import("./control-plane-
|
|
167
|
+
const { localExposedLoopbackUrl, resolveHubApiClient } = await import("./control-plane-HRJRAYKV.js");
|
|
168
168
|
const cfg = await loadEffectiveConfig(process.cwd()).catch(() => null);
|
|
169
169
|
const url = cfg?.effective.relay.controlPlaneUrl;
|
|
170
170
|
if (!url) return;
|
|
@@ -192,7 +192,7 @@ The host is registered here, so \`agentbox docker:${alias} \u2026\` still works
|
|
|
192
192
|
async function syncSharedHosts(urlFlag, onLog) {
|
|
193
193
|
const aliases = await locallySharedAliases();
|
|
194
194
|
if (aliases.length === 0) return;
|
|
195
|
-
const { localExposedLoopbackUrl, resolveHubApiClient } = await import("./control-plane-
|
|
195
|
+
const { localExposedLoopbackUrl, resolveHubApiClient } = await import("./control-plane-HRJRAYKV.js");
|
|
196
196
|
if (await localExposedLoopbackUrl().catch(() => null) !== null) return;
|
|
197
197
|
const client = await resolveHubApiClient(urlFlag, { quiet: true });
|
|
198
198
|
if (!client) {
|
|
@@ -210,9 +210,9 @@ var CONTROL_BOX_STATUS_MS = 5e3;
|
|
|
210
210
|
async function controlBoxKnowsHost(alias, effective) {
|
|
211
211
|
if (!alias || !effective.relay?.controlPlaneUrl) return false;
|
|
212
212
|
const [{ resolveHubApiTarget }, { HubApiClient }, { deadlineFetch, hostReachable }] = await Promise.all([
|
|
213
|
-
import("./control-plane-
|
|
213
|
+
import("./control-plane-HRJRAYKV.js"),
|
|
214
214
|
import("./hub-api-client-BI3E37CF.js"),
|
|
215
|
-
import("./dist-
|
|
215
|
+
import("./dist-64QL2Q5L.js")
|
|
216
216
|
]);
|
|
217
217
|
const target = await resolveHubApiTarget(void 0, { quiet: true }).catch(() => null);
|
|
218
218
|
if (!target) return false;
|
|
@@ -246,4 +246,4 @@ export {
|
|
|
246
246
|
hubCanRunEngine,
|
|
247
247
|
unsharedHostReason
|
|
248
248
|
};
|
|
249
|
-
//# sourceMappingURL=chunk-
|
|
249
|
+
//# sourceMappingURL=chunk-QLZPJIWF.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
resolveCloudCheckpoint,
|
|
11
11
|
stageAllAgentStatic,
|
|
12
12
|
writeCloudCheckpointManifest
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EAT5IEWA.js";
|
|
14
14
|
import {
|
|
15
15
|
agentSetArg,
|
|
16
16
|
computeContextManifest,
|
|
@@ -1909,4 +1909,4 @@ export {
|
|
|
1909
1909
|
vercelProvider,
|
|
1910
1910
|
providerModule
|
|
1911
1911
|
};
|
|
1912
|
-
//# sourceMappingURL=chunk-
|
|
1912
|
+
//# sourceMappingURL=chunk-R3XDO4SN.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
createDockerSyncTransport,
|
|
7
7
|
ensureVolume,
|
|
8
8
|
volumeExists
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-B3C6NQB7.js";
|
|
10
10
|
import {
|
|
11
11
|
AgentInstallError,
|
|
12
12
|
ensureAgentInstalled,
|
|
@@ -278,4 +278,4 @@ export {
|
|
|
278
278
|
volumeHasOpencodeAuth,
|
|
279
279
|
opencodeSessionInfo
|
|
280
280
|
};
|
|
281
|
-
//# sourceMappingURL=chunk-
|
|
281
|
+
//# sourceMappingURL=chunk-RF7Q7SHU.js.map
|