@madarco/agentbox 0.31.2 → 0.31.3
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 +10 -0
- package/dist/_cloud-attach-QB72ZV7T.js +31 -0
- package/dist/{chunk-FDHOIH3V.js → chunk-6GJDU3FN.js} +11 -11
- package/dist/{chunk-DS4K7ISX.js → chunk-6RREIUAE.js} +7 -2
- package/dist/chunk-6RREIUAE.js.map +1 -0
- package/dist/{chunk-67JVG72A.js → chunk-744IB5WM.js} +4 -4
- package/dist/{chunk-NWIQQB6U.js → chunk-7PDYVJ2Q.js} +2 -2
- package/dist/{chunk-BBQ3VYLV.js → chunk-BMZOMC6X.js} +2 -2
- package/dist/{chunk-TQL4VWVV.js → chunk-D67Q5MNA.js} +2 -2
- package/dist/{chunk-3LJH547J.js → chunk-DKUSSE5G.js} +2 -2
- package/dist/{chunk-FUJRTZBN.js → chunk-E2RPG54S.js} +3 -3
- package/dist/{chunk-HDSUUWTX.js → chunk-EHLPIWRR.js} +2 -2
- package/dist/{chunk-EK32GLP5.js → chunk-EZPCCJPE.js} +21 -21
- package/dist/{chunk-S3LDXOIT.js → chunk-FVBEUPVM.js} +5 -5
- package/dist/{chunk-IZTWZJMF.js → chunk-GYUOXSUX.js} +3 -3
- package/dist/{chunk-LBBPEDRD.js → chunk-GZHJVCBG.js} +9 -9
- package/dist/{chunk-RBEELJCJ.js → chunk-JS5DLUUX.js} +10 -10
- package/dist/{chunk-UMK4HA6G.js → chunk-M42UQWVO.js} +4 -4
- package/dist/{chunk-CDY4CMZX.js → chunk-MBFN2XNU.js} +5 -5
- package/dist/{chunk-6F6OUFLD.js → chunk-MKZHCLFJ.js} +3 -3
- package/dist/{chunk-3T4CPP3U.js → chunk-PYPIECDD.js} +16 -16
- package/dist/{chunk-QYUHZOIW.js → chunk-Q3BHXL47.js} +3 -3
- package/dist/{chunk-3S5RZCIG.js → chunk-QB7XVOYW.js} +4 -4
- package/dist/{chunk-H3BU75PN.js → chunk-QER5WHBC.js} +5 -5
- package/dist/{chunk-BT7OQHZ4.js → chunk-QTMUJETE.js} +4 -4
- package/dist/{chunk-QOFQZRDG.js → chunk-QWUZJCF5.js} +3 -3
- package/dist/{chunk-NGUNB6M2.js → chunk-RNYH5465.js} +2 -2
- package/dist/{chunk-KKTCDNRO.js → chunk-S3SJIWSU.js} +6 -6
- package/dist/{chunk-OUKDAUKX.js → chunk-SHFU2KSY.js} +3 -3
- package/dist/{chunk-LFN6QCM6.js → chunk-SZTHLJ5J.js} +6 -6
- package/dist/{chunk-BNMTBKQJ.js → chunk-UENVVGWE.js} +3 -3
- package/dist/{chunk-N5LNX6X2.js → chunk-UWKJ3HIA.js} +3 -3
- package/dist/{chunk-MH63I6AL.js → chunk-V5IMDVV5.js} +6 -6
- package/dist/{chunk-QUD42WO2.js → chunk-VEO6ZYQY.js} +6 -6
- package/dist/{chunk-2756BRPK.js → chunk-VIB2FMJJ.js} +30 -30
- package/dist/{chunk-IQJ6OUN5.js → chunk-VNXWOWQ7.js} +4 -4
- package/dist/{chunk-ABKHJ2QL.js → chunk-W7P2HHFI.js} +5 -5
- package/dist/{chunk-NS4DBXZR.js → chunk-WMILLMJZ.js} +4 -4
- package/dist/{chunk-ERLTFI35.js → chunk-XHCGVCSA.js} +5 -5
- package/dist/{chunk-BKTP27TW.js → chunk-XLFQXROC.js} +2 -2
- package/dist/{chunk-TMFNWCUQ.js → chunk-ZK6KD7ME.js} +7 -5
- package/dist/chunk-ZK6KD7ME.js.map +1 -0
- package/dist/{chunk-AUBVCSFL.js → chunk-ZMNLEZJB.js} +6 -6
- package/dist/{cli-JRP3VNEM.js → cli-I6TXLNRQ.js} +8 -8
- package/dist/{cli-YXG2QKDM.js → cli-JNOPYAUM.js} +8 -8
- package/dist/{cli-BILGBUVD.js → cli-VU2ALT6L.js} +7 -7
- package/dist/{cli-UUPHZRKG.js → cli-W2WNV64V.js} +8 -8
- package/dist/{cli-MCXZDAEN.js → cli-YYXO4WX5.js} +7 -7
- package/dist/cloud-backends.js +4 -4
- package/dist/{control-plane-54U2RAMT.js → control-plane-JUAINN2X.js} +19 -19
- package/dist/{cp-hub-upload-7GJQO4FY.js → cp-hub-upload-VHU5TBHQ.js} +6 -6
- package/dist/{custody-client-G4SNQYTT.js → custody-client-5OHF3SEX.js} +4 -4
- package/dist/{deploy-hetzner-X6WUZPPJ.js → deploy-hetzner-RTQW3B7P.js} +8 -8
- package/dist/{dist-VBOFIW7E.js → dist-5HJBDLJP.js} +7 -7
- package/dist/{dist-RWC4EWSU.js → dist-64YIP2AZ.js} +3 -3
- package/dist/{dist-V3P3SIBU.js → dist-7IANPBF4.js} +7 -7
- package/dist/{dist-JCVHBCEV.js → dist-7RMVQOWJ.js} +7 -7
- package/dist/{dist-MY3UXECL.js → dist-EDCGUXVI.js} +5 -5
- package/dist/{dist-NC2UMRWF.js → dist-H4FFY5TX.js} +7 -7
- package/dist/{dist-F3HWDZ32.js → dist-H72NQCKO.js} +8 -8
- package/dist/{dist-TSPUGLQM.js → dist-NJOKYHDI.js} +2 -2
- package/dist/{dist-HPXCGKM4.js → dist-UGI5L7BN.js} +7 -7
- package/dist/{dist-JLQLHSN6.js → dist-XWDFVTFR.js} +6 -6
- package/dist/{host-reach-drainer-CF7YGFI4.js → host-reach-drainer-GTNLQWWM.js} +2 -2
- package/dist/hub-C5B3CRP6.js +39 -0
- package/dist/{hub-adopt-OQUIDTUW.js → hub-adopt-TVDMOZSP.js} +6 -6
- package/dist/{hub-api-client-WBXO4BUG.js → hub-api-client-RISAC6GB.js} +3 -3
- package/dist/{hub-docker-target-JHOIAOIF.js → hub-docker-target-QEALUMIZ.js} +13 -13
- package/dist/index.js +60 -60
- package/dist/{plugin-update-FZKBBDMJ.js → plugin-update-LG45ZFCU.js} +4 -4
- package/dist/prepare-6JLTXX65.js +45 -0
- package/dist/prepared-custody-YVVTL2ZM.js +39 -0
- package/dist/{prepared-state-FO74QUCP-RX7DKZ7J.js → prepared-state-FO74QUCP-SW3QMBW5.js} +3 -3
- package/dist/{publish-credentials-GKZGTWEI.js → publish-credentials-T7DDJVC4.js} +8 -8
- package/dist/{registry-IKU6MBLX.js → registry-UCFNYOAU.js} +4 -4
- package/dist/relay-W73AIA35.js +22 -0
- package/dist/{remote-docker-share-YWI2UXGS.js → remote-docker-share-SY7CWW5R.js} +10 -10
- package/dist/{tool-grant-push-KMMSJPGK.js → tool-grant-push-OJHLVAPZ.js} +3 -3
- package/package.json +1 -1
- package/runtime/_shared/ctl.cjs +6 -1
- package/runtime/digitalocean/ctl.cjs +6 -1
- package/runtime/docker/packages/ctl/dist/bin.cjs +6 -1
- package/runtime/e2b/ctl.cjs +6 -1
- package/runtime/hetzner/ctl.cjs +6 -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/chunks/_0vg6gvw._.js +22 -22
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/_14-qzbg._.js +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-V4YXLMFI.js → chunk-IDL7RJBP.js} +6 -1
- package/runtime/hub/apps/hub/{chunk-IDIFPYTE.js → chunk-KTWFE5BB.js} +6 -4
- package/runtime/hub/apps/hub/{chunk-V6HJFB7G.js → chunk-MIETKCV4.js} +2 -2
- package/runtime/hub/apps/hub/{chunk-NHYDZVES.js → chunk-ORTYCJ2U.js} +3 -3
- package/runtime/hub/apps/hub/{chunk-MIEBOFHZ.js → chunk-PM2365RW.js} +5 -5
- package/runtime/hub/apps/hub/{chunk-6CRH52LO.js → chunk-VNLPJ45F.js} +9 -9
- package/runtime/hub/apps/hub/{dist-C2JJTBDD.js → dist-3IYYT3II.js} +4 -4
- package/runtime/hub/apps/hub/{dist-I275RO6P.js → dist-4DVVLHK2.js} +1 -1
- package/runtime/hub/apps/hub/{dist-RW6RLHQK.js → dist-LMXU56B2.js} +4 -4
- package/runtime/hub/apps/hub/{dist-VLKRF6NH.js → dist-LOZYEDXA.js} +3 -3
- package/runtime/hub/apps/hub/{dist-K4GLZWXS.js → dist-OAS6A7E4.js} +4 -4
- package/runtime/hub/apps/hub/{dist-SINRABCR.js → dist-RWN4Z57N.js} +4 -4
- package/runtime/hub/apps/hub/{dist-BIXUQKSK.js → dist-UPKSCLZ2.js} +4 -4
- package/runtime/hub/apps/hub/{dist-VOIDY4IM.js → dist-VF56FSKH.js} +5 -5
- package/runtime/hub/apps/hub/{dist-B5IUHK2B.js → dist-WA2LO2DU.js} +5 -5
- package/runtime/hub/apps/hub/{hub-worker-HSKRQMH5.js → hub-worker-6JAWRLP2.js} +6 -6
- package/runtime/hub/apps/hub/{prepared-state-FO74QUCP-UL4TQJT4.js → prepared-state-FO74QUCP-QR6ZNI3Q.js} +2 -2
- package/runtime/hub/apps/hub/server.js +12 -12
- package/runtime/relay/bin.cjs +6 -1
- package/runtime/vercel/ctl.cjs +6 -1
- package/dist/_cloud-attach-N3JJD7JF.js +0 -31
- package/dist/chunk-DS4K7ISX.js.map +0 -1
- package/dist/chunk-TMFNWCUQ.js.map +0 -1
- package/dist/hub-PITRE4LQ.js +0 -39
- package/dist/prepare-WAIDHKO3.js +0 -45
- package/dist/prepared-custody-ALF6YHQC.js +0 -39
- package/dist/relay-7VSUDQPP.js +0 -22
- /package/dist/{_cloud-attach-N3JJD7JF.js.map → _cloud-attach-QB72ZV7T.js.map} +0 -0
- /package/dist/{chunk-FDHOIH3V.js.map → chunk-6GJDU3FN.js.map} +0 -0
- /package/dist/{chunk-67JVG72A.js.map → chunk-744IB5WM.js.map} +0 -0
- /package/dist/{chunk-NWIQQB6U.js.map → chunk-7PDYVJ2Q.js.map} +0 -0
- /package/dist/{chunk-BBQ3VYLV.js.map → chunk-BMZOMC6X.js.map} +0 -0
- /package/dist/{chunk-TQL4VWVV.js.map → chunk-D67Q5MNA.js.map} +0 -0
- /package/dist/{chunk-3LJH547J.js.map → chunk-DKUSSE5G.js.map} +0 -0
- /package/dist/{chunk-FUJRTZBN.js.map → chunk-E2RPG54S.js.map} +0 -0
- /package/dist/{chunk-HDSUUWTX.js.map → chunk-EHLPIWRR.js.map} +0 -0
- /package/dist/{chunk-EK32GLP5.js.map → chunk-EZPCCJPE.js.map} +0 -0
- /package/dist/{chunk-S3LDXOIT.js.map → chunk-FVBEUPVM.js.map} +0 -0
- /package/dist/{chunk-IZTWZJMF.js.map → chunk-GYUOXSUX.js.map} +0 -0
- /package/dist/{chunk-LBBPEDRD.js.map → chunk-GZHJVCBG.js.map} +0 -0
- /package/dist/{chunk-RBEELJCJ.js.map → chunk-JS5DLUUX.js.map} +0 -0
- /package/dist/{chunk-UMK4HA6G.js.map → chunk-M42UQWVO.js.map} +0 -0
- /package/dist/{chunk-CDY4CMZX.js.map → chunk-MBFN2XNU.js.map} +0 -0
- /package/dist/{chunk-6F6OUFLD.js.map → chunk-MKZHCLFJ.js.map} +0 -0
- /package/dist/{chunk-3T4CPP3U.js.map → chunk-PYPIECDD.js.map} +0 -0
- /package/dist/{chunk-QYUHZOIW.js.map → chunk-Q3BHXL47.js.map} +0 -0
- /package/dist/{chunk-3S5RZCIG.js.map → chunk-QB7XVOYW.js.map} +0 -0
- /package/dist/{chunk-H3BU75PN.js.map → chunk-QER5WHBC.js.map} +0 -0
- /package/dist/{chunk-BT7OQHZ4.js.map → chunk-QTMUJETE.js.map} +0 -0
- /package/dist/{chunk-QOFQZRDG.js.map → chunk-QWUZJCF5.js.map} +0 -0
- /package/dist/{chunk-NGUNB6M2.js.map → chunk-RNYH5465.js.map} +0 -0
- /package/dist/{chunk-KKTCDNRO.js.map → chunk-S3SJIWSU.js.map} +0 -0
- /package/dist/{chunk-OUKDAUKX.js.map → chunk-SHFU2KSY.js.map} +0 -0
- /package/dist/{chunk-LFN6QCM6.js.map → chunk-SZTHLJ5J.js.map} +0 -0
- /package/dist/{chunk-BNMTBKQJ.js.map → chunk-UENVVGWE.js.map} +0 -0
- /package/dist/{chunk-N5LNX6X2.js.map → chunk-UWKJ3HIA.js.map} +0 -0
- /package/dist/{chunk-MH63I6AL.js.map → chunk-V5IMDVV5.js.map} +0 -0
- /package/dist/{chunk-QUD42WO2.js.map → chunk-VEO6ZYQY.js.map} +0 -0
- /package/dist/{chunk-2756BRPK.js.map → chunk-VIB2FMJJ.js.map} +0 -0
- /package/dist/{chunk-IQJ6OUN5.js.map → chunk-VNXWOWQ7.js.map} +0 -0
- /package/dist/{chunk-ABKHJ2QL.js.map → chunk-W7P2HHFI.js.map} +0 -0
- /package/dist/{chunk-NS4DBXZR.js.map → chunk-WMILLMJZ.js.map} +0 -0
- /package/dist/{chunk-ERLTFI35.js.map → chunk-XHCGVCSA.js.map} +0 -0
- /package/dist/{chunk-BKTP27TW.js.map → chunk-XLFQXROC.js.map} +0 -0
- /package/dist/{chunk-AUBVCSFL.js.map → chunk-ZMNLEZJB.js.map} +0 -0
- /package/dist/{cli-BILGBUVD.js.map → cli-I6TXLNRQ.js.map} +0 -0
- /package/dist/{cli-JRP3VNEM.js.map → cli-JNOPYAUM.js.map} +0 -0
- /package/dist/{cli-MCXZDAEN.js.map → cli-VU2ALT6L.js.map} +0 -0
- /package/dist/{cli-UUPHZRKG.js.map → cli-W2WNV64V.js.map} +0 -0
- /package/dist/{cli-YXG2QKDM.js.map → cli-YYXO4WX5.js.map} +0 -0
- /package/dist/{control-plane-54U2RAMT.js.map → control-plane-JUAINN2X.js.map} +0 -0
- /package/dist/{cp-hub-upload-7GJQO4FY.js.map → cp-hub-upload-VHU5TBHQ.js.map} +0 -0
- /package/dist/{custody-client-G4SNQYTT.js.map → custody-client-5OHF3SEX.js.map} +0 -0
- /package/dist/{deploy-hetzner-X6WUZPPJ.js.map → deploy-hetzner-RTQW3B7P.js.map} +0 -0
- /package/dist/{dist-VBOFIW7E.js.map → dist-5HJBDLJP.js.map} +0 -0
- /package/dist/{dist-F3HWDZ32.js.map → dist-64YIP2AZ.js.map} +0 -0
- /package/dist/{dist-HPXCGKM4.js.map → dist-7IANPBF4.js.map} +0 -0
- /package/dist/{dist-JCVHBCEV.js.map → dist-7RMVQOWJ.js.map} +0 -0
- /package/dist/{dist-JLQLHSN6.js.map → dist-EDCGUXVI.js.map} +0 -0
- /package/dist/{dist-MY3UXECL.js.map → dist-H4FFY5TX.js.map} +0 -0
- /package/dist/{dist-NC2UMRWF.js.map → dist-H72NQCKO.js.map} +0 -0
- /package/dist/{dist-RWC4EWSU.js.map → dist-NJOKYHDI.js.map} +0 -0
- /package/dist/{dist-TSPUGLQM.js.map → dist-UGI5L7BN.js.map} +0 -0
- /package/dist/{dist-V3P3SIBU.js.map → dist-XWDFVTFR.js.map} +0 -0
- /package/dist/{host-reach-drainer-CF7YGFI4.js.map → host-reach-drainer-GTNLQWWM.js.map} +0 -0
- /package/dist/{hub-PITRE4LQ.js.map → hub-C5B3CRP6.js.map} +0 -0
- /package/dist/{hub-adopt-OQUIDTUW.js.map → hub-adopt-TVDMOZSP.js.map} +0 -0
- /package/dist/{hub-api-client-WBXO4BUG.js.map → hub-api-client-RISAC6GB.js.map} +0 -0
- /package/dist/{hub-docker-target-JHOIAOIF.js.map → hub-docker-target-QEALUMIZ.js.map} +0 -0
- /package/dist/{plugin-update-FZKBBDMJ.js.map → plugin-update-LG45ZFCU.js.map} +0 -0
- /package/dist/{prepare-WAIDHKO3.js.map → prepare-6JLTXX65.js.map} +0 -0
- /package/dist/{prepared-custody-ALF6YHQC.js.map → prepared-custody-YVVTL2ZM.js.map} +0 -0
- /package/dist/{prepared-state-FO74QUCP-RX7DKZ7J.js.map → prepared-state-FO74QUCP-SW3QMBW5.js.map} +0 -0
- /package/dist/{publish-credentials-GKZGTWEI.js.map → publish-credentials-T7DDJVC4.js.map} +0 -0
- /package/dist/{registry-IKU6MBLX.js.map → registry-UCFNYOAU.js.map} +0 -0
- /package/dist/{relay-7VSUDQPP.js.map → relay-W73AIA35.js.map} +0 -0
- /package/dist/{remote-docker-share-YWI2UXGS.js.map → remote-docker-share-SY7CWW5R.js.map} +0 -0
- /package/dist/{tool-grant-push-KMMSJPGK.js.map → tool-grant-push-OJHLVAPZ.js.map} +0 -0
- /package/runtime/hub/apps/hub/.next/static/{cXSQmUIAB12u7BgxO4JPy → kg0mtyaaNMvU3P8p7nLPa}/_buildManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{cXSQmUIAB12u7BgxO4JPy → kg0mtyaaNMvU3P8p7nLPa}/_clientMiddlewareManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{cXSQmUIAB12u7BgxO4JPy → kg0mtyaaNMvU3P8p7nLPa}/_ssgManifest.js +0 -0
|
@@ -11,14 +11,14 @@ import {
|
|
|
11
11
|
setInstallMethodNative,
|
|
12
12
|
trustWorkspace,
|
|
13
13
|
warmUpClaudeCredentials
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-UWKJ3HIA.js";
|
|
15
15
|
import {
|
|
16
16
|
registerAgentCloudModule
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-UENVVGWE.js";
|
|
18
18
|
import {
|
|
19
19
|
registerAgentSyncModule,
|
|
20
20
|
syncClaudeCredentials
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ZK6KD7ME.js";
|
|
22
22
|
import {
|
|
23
23
|
STAGE_NO_SPECIALS,
|
|
24
24
|
STAGE_WRITABLE_CHMOD,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
resolveAgentSpec,
|
|
33
33
|
stageSingleFileTarball,
|
|
34
34
|
tarballFromDir
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-6RREIUAE.js";
|
|
36
36
|
import {
|
|
37
37
|
AmbiguousBoxError,
|
|
38
38
|
BoxNotFoundError,
|
|
@@ -328,4 +328,4 @@ export {
|
|
|
328
328
|
registerClaudeAgent,
|
|
329
329
|
handleLifecycleError
|
|
330
330
|
};
|
|
331
|
-
//# sourceMappingURL=chunk-
|
|
331
|
+
//# sourceMappingURL=chunk-QER5WHBC.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
confirm,
|
|
4
4
|
log2
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RNYH5465.js";
|
|
6
6
|
import {
|
|
7
7
|
SUPPORTED_SDK_API_VERSIONS,
|
|
8
8
|
addPluginRecord,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
isSupportedApiVersion,
|
|
11
11
|
readPluginRegistrySync,
|
|
12
12
|
removePluginRecord
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6RREIUAE.js";
|
|
14
14
|
import {
|
|
15
15
|
PROVIDER_NAMES
|
|
16
16
|
} from "./chunk-ES6DXNUA.js";
|
|
@@ -236,7 +236,7 @@ pluginCommand.command("info").argument("<name>", "provider name or package name"
|
|
|
236
236
|
process.stdout.write(JSON.stringify(hit, null, 2) + "\n");
|
|
237
237
|
});
|
|
238
238
|
pluginCommand.command("update").argument("[name]", "provider or package name to update (default: all registered plugins)").option("--dry-run", "show what would change without installing anything", false).option("-y, --yes", "accepted for symmetry with `add`; this command never prompts", false).description("update registered provider plugins to their newest SDK-compatible release").action(async (name, opts) => {
|
|
239
|
-
const { runPluginUpdates } = await import("./plugin-update-
|
|
239
|
+
const { runPluginUpdates } = await import("./plugin-update-LG45ZFCU.js");
|
|
240
240
|
const report = await runPluginUpdates({
|
|
241
241
|
dryRun: opts.dryRun === true,
|
|
242
242
|
...name === void 0 ? {} : { only: name },
|
|
@@ -269,4 +269,4 @@ export {
|
|
|
269
269
|
resolvePackage,
|
|
270
270
|
pluginCommand
|
|
271
271
|
};
|
|
272
|
-
//# sourceMappingURL=chunk-
|
|
272
|
+
//# sourceMappingURL=chunk-QTMUJETE.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
resolveSshConfigTarget,
|
|
19
19
|
shouldAcceptCredentialUpdate,
|
|
20
20
|
writeCredentialBackup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-6RREIUAE.js";
|
|
22
22
|
import {
|
|
23
23
|
isContainedInWorkspace,
|
|
24
24
|
isResolvedBranch,
|
|
@@ -1149,7 +1149,7 @@ async function handleRemoteBoxesRequest(req, deps) {
|
|
|
1149
1149
|
async function reapLocalBoxState(boxId, sandboxId, log) {
|
|
1150
1150
|
let removed = false;
|
|
1151
1151
|
try {
|
|
1152
|
-
const { mutateState, readState: readState2, boxSshDirForProvider: boxSshDirForProvider2 } = await import("./dist-
|
|
1152
|
+
const { mutateState, readState: readState2, boxSshDirForProvider: boxSshDirForProvider2 } = await import("./dist-NJOKYHDI.js");
|
|
1153
1153
|
const state = await readState2();
|
|
1154
1154
|
const record = state.boxes.find((b) => b.id === boxId);
|
|
1155
1155
|
if (record) {
|
|
@@ -9482,4 +9482,4 @@ export {
|
|
|
9482
9482
|
startRelayDaemon,
|
|
9483
9483
|
RemoteStore
|
|
9484
9484
|
};
|
|
9485
|
-
//# sourceMappingURL=chunk-
|
|
9485
|
+
//# sourceMappingURL=chunk-QWUZJCF5.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
resolveAgentSpec
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6RREIUAE.js";
|
|
5
5
|
import {
|
|
6
6
|
parseProviderWarning
|
|
7
7
|
} from "./chunk-7N3CJNR5.js";
|
|
@@ -583,4 +583,4 @@ export {
|
|
|
583
583
|
RESUME_SEED,
|
|
584
584
|
defineAgentModule
|
|
585
585
|
};
|
|
586
|
-
//# sourceMappingURL=chunk-
|
|
586
|
+
//# sourceMappingURL=chunk-RNYH5465.js.map
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
resolveContextFilesFrom,
|
|
16
16
|
variantFingerprint,
|
|
17
17
|
writePreparedStateRaw
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6RREIUAE.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveAgentInstall
|
|
21
21
|
} from "./chunk-7N3CJNR5.js";
|
|
@@ -226,7 +226,7 @@ async function buildImage(opts = {}) {
|
|
|
226
226
|
return ref;
|
|
227
227
|
}
|
|
228
228
|
async function pullOrBuild(ref, fingerprint, opts = {}) {
|
|
229
|
-
const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-FO74QUCP-
|
|
229
|
+
const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-FO74QUCP-SW3QMBW5.js");
|
|
230
230
|
const registry = opts.registry ?? BOX_IMAGE_REGISTRY;
|
|
231
231
|
const allowPull = opts.allowPull !== false;
|
|
232
232
|
if (allowPull && registry && fingerprint) {
|
|
@@ -324,8 +324,8 @@ async function buildDerivedAgentImage(opts) {
|
|
|
324
324
|
}
|
|
325
325
|
}
|
|
326
326
|
async function ensureImage(ref = DEFAULT_BOX_IMAGE, opts = {}) {
|
|
327
|
-
const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedMatches: preparedMatches2 } = await import("./prepared-state-FO74QUCP-
|
|
328
|
-
const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-FO74QUCP-
|
|
327
|
+
const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedMatches: preparedMatches2 } = await import("./prepared-state-FO74QUCP-SW3QMBW5.js");
|
|
328
|
+
const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-FO74QUCP-SW3QMBW5.js");
|
|
329
329
|
const agentSettings = opts.agentSettings ?? await resolveProjectAgentSettings();
|
|
330
330
|
const agents = normalizeAgentSet(opts.agents);
|
|
331
331
|
const baseRef = ref;
|
|
@@ -405,7 +405,7 @@ function classifyDockerBaseFreshness(input) {
|
|
|
405
405
|
return { state: "fresh" };
|
|
406
406
|
}
|
|
407
407
|
async function evaluateDockerBaseFreshness(opts = {}) {
|
|
408
|
-
const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedShaFor: preparedShaFor2 } = await import("./prepared-state-FO74QUCP-
|
|
408
|
+
const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedShaFor: preparedShaFor2 } = await import("./prepared-state-FO74QUCP-SW3QMBW5.js");
|
|
409
409
|
const ref = opts.ref ?? DEFAULT_BOX_IMAGE;
|
|
410
410
|
const imagePresent = await imageExists(ref);
|
|
411
411
|
if (!imagePresent) return { state: "unprepared" };
|
|
@@ -507,4 +507,4 @@ export {
|
|
|
507
507
|
preparedShaFor,
|
|
508
508
|
preparedMatches
|
|
509
509
|
};
|
|
510
|
-
//# sourceMappingURL=chunk-
|
|
510
|
+
//# sourceMappingURL=chunk-S3SJIWSU.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
HubApiError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XLFQXROC.js";
|
|
5
5
|
import {
|
|
6
6
|
AGENT_SYNC_SPECS,
|
|
7
7
|
isRealAgentCredential,
|
|
8
8
|
readCredentialBackup
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6RREIUAE.js";
|
|
10
10
|
|
|
11
11
|
// src/control-plane/custody-client.ts
|
|
12
12
|
import { createHash } from "crypto";
|
|
@@ -191,4 +191,4 @@ export {
|
|
|
191
191
|
planPush,
|
|
192
192
|
collectAgentCredentialUploads
|
|
193
193
|
};
|
|
194
|
-
//# sourceMappingURL=chunk-
|
|
194
|
+
//# sourceMappingURL=chunk-SHFU2KSY.js.map
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
isShareablePreparedProvider,
|
|
4
4
|
localBakeBlocksAdoption,
|
|
5
5
|
resolveCustodyTarget
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VIB2FMJJ.js";
|
|
7
7
|
import {
|
|
8
8
|
pullPreparedFromCustody,
|
|
9
9
|
pushPreparedToCustody,
|
|
10
10
|
writePreparedToCustodyStore
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UENVVGWE.js";
|
|
12
12
|
import {
|
|
13
13
|
getRuntimeProviderNames,
|
|
14
14
|
loadProviderModule
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GZHJVCBG.js";
|
|
16
16
|
import {
|
|
17
17
|
readPreparedStateRaw
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6RREIUAE.js";
|
|
19
19
|
import {
|
|
20
20
|
boxImageConfigKey,
|
|
21
21
|
isProviderKind,
|
|
@@ -85,7 +85,7 @@ async function sharePreparedBase(providerName, log) {
|
|
|
85
85
|
if (!isShareablePreparedProvider(providerName)) return;
|
|
86
86
|
try {
|
|
87
87
|
if (isControlBox()) {
|
|
88
|
-
const { FsCustodyStore } = await import("./dist-
|
|
88
|
+
const { FsCustodyStore } = await import("./dist-64YIP2AZ.js");
|
|
89
89
|
await writePreparedToCustodyStore(providerName, new FsCustodyStore(), log);
|
|
90
90
|
return;
|
|
91
91
|
}
|
|
@@ -106,4 +106,4 @@ export {
|
|
|
106
106
|
adoptPreparedBases,
|
|
107
107
|
sharePreparedBase
|
|
108
108
|
};
|
|
109
|
-
//# sourceMappingURL=chunk-
|
|
109
|
+
//# sourceMappingURL=chunk-SZTHLJ5J.js.map
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
registerBoxWithRelay,
|
|
15
15
|
skipWebProxyAlias,
|
|
16
16
|
stopBoxPollerOnRelay
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZK6KD7ME.js";
|
|
18
18
|
import {
|
|
19
19
|
AGENTS_STATIC_BOX_DIR,
|
|
20
20
|
AGENT_SYNC_SPECS,
|
|
@@ -73,7 +73,7 @@ import {
|
|
|
73
73
|
withServiceSignIn,
|
|
74
74
|
writeCredentialBackup,
|
|
75
75
|
writePreparedStateRaw
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-6RREIUAE.js";
|
|
77
77
|
import {
|
|
78
78
|
SYNC_DRYRUN_ENV,
|
|
79
79
|
UserFacingError,
|
|
@@ -4417,4 +4417,4 @@ export {
|
|
|
4417
4417
|
openWebAppOnVncScreen,
|
|
4418
4418
|
makeMockCloudBackend
|
|
4419
4419
|
};
|
|
4420
|
-
//# sourceMappingURL=chunk-
|
|
4420
|
+
//# sourceMappingURL=chunk-UENVVGWE.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
ensureVolume,
|
|
9
9
|
orbstackVolumePath,
|
|
10
10
|
volumeExists
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZK6KD7ME.js";
|
|
12
12
|
import {
|
|
13
13
|
AgentInstallError,
|
|
14
14
|
agentTuiEnv,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
oauthRefreshExpiresAt,
|
|
20
20
|
referencedPluginVersionKeys,
|
|
21
21
|
resolveAgentSpec
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6RREIUAE.js";
|
|
23
23
|
import {
|
|
24
24
|
LIVE_DATABASE_EXCLUDES,
|
|
25
25
|
requireAgentCredential
|
|
@@ -860,4 +860,4 @@ export {
|
|
|
860
860
|
formatDetachNotice,
|
|
861
861
|
claudeSessionInfo
|
|
862
862
|
};
|
|
863
|
-
//# sourceMappingURL=chunk-
|
|
863
|
+
//# sourceMappingURL=chunk-UWKJ3HIA.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
runInteractiveCodexLogin,
|
|
11
11
|
startCodexSession,
|
|
12
12
|
volumeHasCodexAuth
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-Q3BHXL47.js";
|
|
14
14
|
import {
|
|
15
15
|
BOX_WORKSPACE,
|
|
16
16
|
TeleportError,
|
|
@@ -26,17 +26,17 @@ import {
|
|
|
26
26
|
stripAnsi,
|
|
27
27
|
trimUrl,
|
|
28
28
|
withLoginDefaults
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-RNYH5465.js";
|
|
30
30
|
import {
|
|
31
31
|
CODEX_CREDENTIALS_BACKUP_FILE,
|
|
32
32
|
extractCodexCredentials
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ZK6KD7ME.js";
|
|
34
34
|
import {
|
|
35
35
|
ensureImage
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-S3SJIWSU.js";
|
|
37
37
|
import {
|
|
38
38
|
resolveAgentSpec
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-6RREIUAE.js";
|
|
40
40
|
|
|
41
41
|
// ../../packages/agent-codex/dist/cli/index.js
|
|
42
42
|
import { access } from "fs/promises";
|
|
@@ -688,4 +688,4 @@ export {
|
|
|
688
688
|
upsertCodexPluginEnable,
|
|
689
689
|
installCodexPlugin
|
|
690
690
|
};
|
|
691
|
-
//# sourceMappingURL=chunk-
|
|
691
|
+
//# sourceMappingURL=chunk-V5IMDVV5.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
runInteractiveOpencodeLogin,
|
|
12
12
|
startOpencodeSession,
|
|
13
13
|
volumeHasOpencodeAuth
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GYUOXSUX.js";
|
|
15
15
|
import {
|
|
16
16
|
INVALID_CODE,
|
|
17
17
|
URL_BODY,
|
|
@@ -26,17 +26,17 @@ import {
|
|
|
26
26
|
text,
|
|
27
27
|
trimUrl,
|
|
28
28
|
withLoginDefaults
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-RNYH5465.js";
|
|
30
30
|
import {
|
|
31
31
|
OPENCODE_CREDENTIALS_BACKUP_FILE,
|
|
32
32
|
extractOpencodeCredentials
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ZK6KD7ME.js";
|
|
34
34
|
import {
|
|
35
35
|
ensureImage
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-S3SJIWSU.js";
|
|
37
37
|
import {
|
|
38
38
|
resolveAgentSpec
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-6RREIUAE.js";
|
|
40
40
|
|
|
41
41
|
// ../../packages/agent-opencode/dist/cli/index.js
|
|
42
42
|
import { access } from "fs/promises";
|
|
@@ -294,4 +294,4 @@ export {
|
|
|
294
294
|
opencodeCliSpec,
|
|
295
295
|
agentModule
|
|
296
296
|
};
|
|
297
|
-
//# sourceMappingURL=chunk-
|
|
297
|
+
//# sourceMappingURL=chunk-VEO6ZYQY.js.map
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
hubApiTargetFrom,
|
|
4
4
|
withHubClient
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FVBEUPVM.js";
|
|
6
6
|
import {
|
|
7
7
|
CustodyClient,
|
|
8
8
|
collectAgentCredentialUploads,
|
|
9
9
|
planPush
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SHFU2KSY.js";
|
|
11
11
|
import {
|
|
12
12
|
compareSemver,
|
|
13
13
|
isNewer
|
|
@@ -23,16 +23,16 @@ import {
|
|
|
23
23
|
projectHasEnv,
|
|
24
24
|
resolveVercelApiAuth,
|
|
25
25
|
upsertProjectEnv
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-MKZHCLFJ.js";
|
|
27
27
|
import {
|
|
28
28
|
deployControlPlaneToDigitalOcean,
|
|
29
29
|
destroyControlPlaneOnDigitalOcean,
|
|
30
30
|
readDigitalOceanCredStatus,
|
|
31
31
|
updateControlPlaneOnDigitalOcean
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-MBFN2XNU.js";
|
|
33
33
|
import {
|
|
34
34
|
providerForCreate
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-DKUSSE5G.js";
|
|
36
36
|
import {
|
|
37
37
|
assertReachableRecord,
|
|
38
38
|
persistDeployRecord,
|
|
@@ -42,14 +42,14 @@ import {
|
|
|
42
42
|
runHetznerDeploy,
|
|
43
43
|
runHetznerDestroy,
|
|
44
44
|
runHetznerUpdate
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-QB7XVOYW.js";
|
|
46
46
|
import {
|
|
47
47
|
openCommandLog
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-RNYH5465.js";
|
|
49
49
|
import {
|
|
50
50
|
HubApiClient,
|
|
51
51
|
HubApiError
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-XLFQXROC.js";
|
|
53
53
|
import {
|
|
54
54
|
loadControlPlaneEnv,
|
|
55
55
|
readControlPlaneEnvMap,
|
|
@@ -57,10 +57,10 @@ import {
|
|
|
57
57
|
} from "./chunk-QNYGNHM2.js";
|
|
58
58
|
import {
|
|
59
59
|
handleLifecycleError
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-QER5WHBC.js";
|
|
61
61
|
import {
|
|
62
62
|
detectEgressIp
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-WMILLMJZ.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-UENVVGWE.js";
|
|
72
72
|
import {
|
|
73
73
|
GitHubAppLeaser,
|
|
74
74
|
PostgresStore,
|
|
@@ -79,11 +79,11 @@ import {
|
|
|
79
79
|
makeControlPlaneCreateBox,
|
|
80
80
|
parseGitRemote,
|
|
81
81
|
toAuthedHttpsUrl
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-QWUZJCF5.js";
|
|
83
83
|
import {
|
|
84
84
|
getRuntimeProviderNames,
|
|
85
85
|
loadProviderModule
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-GZHJVCBG.js";
|
|
87
87
|
import {
|
|
88
88
|
AGENTBOX_HUB_SSH_ALIAS,
|
|
89
89
|
AGENT_SYNC_SPECS,
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
relayPort,
|
|
96
96
|
resolveSshConfigTarget,
|
|
97
97
|
stopHub
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-6RREIUAE.js";
|
|
99
99
|
import {
|
|
100
100
|
isAgentKind
|
|
101
101
|
} from "./chunk-7N3CJNR5.js";
|
|
@@ -814,8 +814,8 @@ function detectExecutionMethod(input) {
|
|
|
814
814
|
}
|
|
815
815
|
|
|
816
816
|
// src/version.ts
|
|
817
|
-
var AGENTBOX_VERSION = true ? "0.31.
|
|
818
|
-
var AGENTBOX_COMMIT = true ? "
|
|
817
|
+
var AGENTBOX_VERSION = true ? "0.31.3" : "0.0.0-dev";
|
|
818
|
+
var AGENTBOX_COMMIT = true ? "5d31d140" : "dev";
|
|
819
819
|
|
|
820
820
|
// src/commands/install-app.ts
|
|
821
821
|
import { intro, log, outro } from "@clack/prompts";
|
|
@@ -1695,7 +1695,7 @@ async function restoreTunnelIfExposed(log3 = () => {
|
|
|
1695
1695
|
async function readLocalRecord() {
|
|
1696
1696
|
try {
|
|
1697
1697
|
const { readFile: readFile6 } = await import("fs/promises");
|
|
1698
|
-
const { controlPlaneDeployPath } = await import("./dist-
|
|
1698
|
+
const { controlPlaneDeployPath } = await import("./dist-NJOKYHDI.js");
|
|
1699
1699
|
const rec = JSON.parse(
|
|
1700
1700
|
await readFile6(controlPlaneDeployPath(), "utf8")
|
|
1701
1701
|
);
|
|
@@ -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-QEALUMIZ.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-QEALUMIZ.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-C5B3CRP6.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") {
|
|
@@ -2555,8 +2555,8 @@ async function resolveCustodyApiTarget(urlFlag, opts = {}) {
|
|
|
2555
2555
|
return { url: api.url, apiKey: api.apiKey };
|
|
2556
2556
|
}
|
|
2557
2557
|
async function autostartLocalHub() {
|
|
2558
|
-
const { ensureHub: ensureHub2 } = await import("./dist-
|
|
2559
|
-
const { rehydrateFromState } = await import("./relay-
|
|
2558
|
+
const { ensureHub: ensureHub2 } = await import("./dist-NJOKYHDI.js");
|
|
2559
|
+
const { rehydrateFromState } = await import("./relay-W73AIA35.js");
|
|
2560
2560
|
const s = spinner();
|
|
2561
2561
|
s.start("starting local hub");
|
|
2562
2562
|
try {
|
|
@@ -2571,8 +2571,8 @@ async function autostartLocalHub() {
|
|
|
2571
2571
|
}
|
|
2572
2572
|
}
|
|
2573
2573
|
async function restartLocalHubForToken() {
|
|
2574
|
-
const { ensureHub: ensureHub2, stopHub: stopHub2 } = await import("./dist-
|
|
2575
|
-
const { rehydrateFromState } = await import("./relay-
|
|
2574
|
+
const { ensureHub: ensureHub2, stopHub: stopHub2 } = await import("./dist-NJOKYHDI.js");
|
|
2575
|
+
const { rehydrateFromState } = await import("./relay-W73AIA35.js");
|
|
2576
2576
|
const s = spinner();
|
|
2577
2577
|
s.start("hub token missing \u2014 restarting local hub");
|
|
2578
2578
|
try {
|
|
@@ -2588,10 +2588,10 @@ 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-C5B3CRP6.js");
|
|
2592
2592
|
let target = await resolveHubTarget(urlFlag, { preferLocal: opts.preferLocal });
|
|
2593
2593
|
if (target.mode === "local" && !opts.quiet) {
|
|
2594
|
-
const { getHubStatus: getHubStatus2, readHubToken } = await import("./dist-
|
|
2594
|
+
const { getHubStatus: getHubStatus2, readHubToken } = await import("./dist-NJOKYHDI.js");
|
|
2595
2595
|
const st = await getHubStatus2();
|
|
2596
2596
|
if (!(st.running && st.ui)) {
|
|
2597
2597
|
if (!await autostartLocalHub()) return null;
|
|
@@ -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-YVVTL2ZM.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-SY7CWW5R.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-QEALUMIZ.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-VIB2FMJJ.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
generateRelayToken
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZK6KD7ME.js";
|
|
5
5
|
import {
|
|
6
6
|
registrationToBoxRecord
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QWUZJCF5.js";
|
|
8
8
|
import {
|
|
9
9
|
allocateProjectIndex,
|
|
10
10
|
boxSshDirForProvider,
|
|
11
11
|
defaultBoxSshDir,
|
|
12
12
|
readState,
|
|
13
13
|
recordBox
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6RREIUAE.js";
|
|
15
15
|
|
|
16
16
|
// src/control-plane/hub-adopt.ts
|
|
17
17
|
import { execa } from "execa";
|
|
@@ -148,4 +148,4 @@ export {
|
|
|
148
148
|
hubBoxToRegistration,
|
|
149
149
|
adoptHubBox
|
|
150
150
|
};
|
|
151
|
-
//# sourceMappingURL=chunk-
|
|
151
|
+
//# sourceMappingURL=chunk-VNXWOWQ7.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
log2,
|
|
9
9
|
spinner3,
|
|
10
10
|
withLoginDefaults
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-RNYH5465.js";
|
|
12
12
|
import {
|
|
13
13
|
CONTAINER_USER,
|
|
14
14
|
buildTermSafeTmuxExec,
|
|
@@ -17,15 +17,15 @@ import {
|
|
|
17
17
|
ensureVolume,
|
|
18
18
|
extractVolumeAuthToBackup,
|
|
19
19
|
volumeExists
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ZK6KD7ME.js";
|
|
21
21
|
import {
|
|
22
22
|
ensureImage
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-S3SJIWSU.js";
|
|
24
24
|
import {
|
|
25
25
|
AgentInstallError,
|
|
26
26
|
ensureAgentInstalled,
|
|
27
27
|
resolveAgentSpec
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-6RREIUAE.js";
|
|
29
29
|
import {
|
|
30
30
|
agentConfigVolume,
|
|
31
31
|
agentPushExcludes,
|
|
@@ -608,4 +608,4 @@ export {
|
|
|
608
608
|
resolvePiTeleport,
|
|
609
609
|
agentModule
|
|
610
610
|
};
|
|
611
|
-
//# sourceMappingURL=chunk-
|
|
611
|
+
//# sourceMappingURL=chunk-W7P2HHFI.js.map
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createCloudProvider,
|
|
4
4
|
stageAllAgentStatic
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UENVVGWE.js";
|
|
6
6
|
import {
|
|
7
7
|
detectPortless,
|
|
8
8
|
portlessDoctorRow,
|
|
9
9
|
portlessServiceStatus
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZK6KD7ME.js";
|
|
11
11
|
import {
|
|
12
12
|
SshTunnelManager,
|
|
13
13
|
agentSetArg,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
waitForSsh,
|
|
39
39
|
writeManagedSecrets,
|
|
40
40
|
writePreparedStateRaw
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-6RREIUAE.js";
|
|
42
42
|
import {
|
|
43
43
|
UserFacingError,
|
|
44
44
|
resolveAgentInstall
|
|
@@ -2789,4 +2789,4 @@ export {
|
|
|
2789
2789
|
hetznerProvider,
|
|
2790
2790
|
providerModule
|
|
2791
2791
|
};
|
|
2792
|
-
//# sourceMappingURL=chunk-
|
|
2792
|
+
//# sourceMappingURL=chunk-WMILLMJZ.js.map
|
|
@@ -13,16 +13,16 @@ import {
|
|
|
13
13
|
renderInnerCommand,
|
|
14
14
|
resolveCloudCheckpoint,
|
|
15
15
|
writeCloudCheckpointManifest
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UENVVGWE.js";
|
|
17
17
|
import {
|
|
18
18
|
detectPortless,
|
|
19
19
|
portlessDoctorRow,
|
|
20
20
|
portlessServiceStatus
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ZK6KD7ME.js";
|
|
22
22
|
import {
|
|
23
23
|
BUILD_CONTEXT_DIR,
|
|
24
24
|
computeDockerContextFingerprint
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-S3SJIWSU.js";
|
|
26
26
|
import {
|
|
27
27
|
BOX_IMAGE_REGISTRY,
|
|
28
28
|
SshTunnelManager,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
sshOptArgs,
|
|
39
39
|
variantFingerprint,
|
|
40
40
|
writePreparedStateRaw
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-6RREIUAE.js";
|
|
42
42
|
import {
|
|
43
43
|
hashProjectPath,
|
|
44
44
|
loadEffectiveConfig,
|
|
@@ -1302,4 +1302,4 @@ export {
|
|
|
1302
1302
|
remoteDockerProvider,
|
|
1303
1303
|
providerModule
|
|
1304
1304
|
};
|
|
1305
|
-
//# sourceMappingURL=chunk-
|
|
1305
|
+
//# sourceMappingURL=chunk-XHCGVCSA.js.map
|