@madarco/agentbox 0.30.0-nightly.202609030825 → 0.30.0
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 -1
- package/dist/_cloud-attach-Q53QIHTA.js +31 -0
- package/dist/{chunk-NK5NAR2L.js → chunk-47KZVRFH.js} +4 -4
- package/dist/{chunk-RVWELY2S.js → chunk-4FV5EMIF.js} +2 -2
- package/dist/{chunk-QIW4GA6L.js → chunk-53XOKXDR.js} +6 -6
- package/dist/{chunk-ZYKLLAGN.js → chunk-53XXHHCM.js} +4 -4
- package/dist/{chunk-ONREOKLB.js → chunk-5XW7VW6E.js} +2 -2
- package/dist/{chunk-MDBNQ6JK.js → chunk-6AM23U3Z.js} +7 -7
- package/dist/{chunk-WUKE2IW6.js → chunk-6D5BFSSD.js} +7 -7
- package/dist/{chunk-UTT3KYDN.js → chunk-6UAMWZS4.js} +6 -6
- package/dist/{chunk-4I2LSR6J.js → chunk-77SSYYCU.js} +6 -6
- package/dist/{chunk-H6LEX55L.js → chunk-7I5BWVRZ.js} +3 -3
- package/dist/{chunk-RIZMJTUA.js → chunk-BLOEL432.js} +3 -3
- package/dist/{chunk-BTS7HPPG.js → chunk-C3QNKAID.js} +4 -4
- package/dist/{chunk-SCJQK3NW.js → chunk-DDZCQ7IZ.js} +34 -82
- package/dist/chunk-DDZCQ7IZ.js.map +1 -0
- package/dist/{chunk-GBZM4S43.js → chunk-FG33ZFKQ.js} +10 -10
- package/dist/{chunk-LLIWY3RI.js → chunk-FMN47YI5.js} +3 -3
- package/dist/{chunk-BJ32PVT2.js → chunk-FPY5ABJX.js} +8 -2
- package/dist/chunk-FPY5ABJX.js.map +1 -0
- package/dist/{chunk-25JLBUKO.js → chunk-HACCAMSW.js} +31 -31
- package/dist/{chunk-MFCED7SL.js → chunk-HN5IVXCX.js} +5 -5
- package/dist/{chunk-MML6QG4K.js → chunk-HNEHFFU5.js} +3 -3
- package/dist/{chunk-Q3VNEEIO.js → chunk-IQVBQFAA.js} +6 -6
- package/dist/{chunk-2LEREGD5.js → chunk-ITUTNIQS.js} +4 -4
- package/dist/{chunk-PGCPOLNR.js → chunk-JLBKTVEZ.js} +7 -7
- package/dist/{chunk-QCCMFQT4.js → chunk-JRROEWWH.js} +5 -5
- package/dist/{chunk-HDUUJC2L.js → chunk-LPQWBWKG.js} +11 -11
- package/dist/{chunk-PBEDQZ2N.js → chunk-ML3FJ56M.js} +5 -5
- package/dist/{chunk-ZQGJI4AR.js → chunk-P4FYGW47.js} +4 -4
- package/dist/{chunk-5EFT4CTC.js → chunk-QSCBRJ5Q.js} +17 -17
- package/dist/{chunk-C3CCAIKB.js → chunk-S6MSVWED.js} +3 -3
- package/dist/{chunk-HXUBMCJ2.js → chunk-SFVXK36I.js} +3 -3
- package/dist/{chunk-BDOVT7FD.js → chunk-SMIWV44Z.js} +3 -3
- package/dist/{chunk-LIBURMGM.js → chunk-TGXRI7HN.js} +2 -2
- package/dist/{chunk-MP6DRCVS.js → chunk-TNHRU65G.js} +10 -10
- package/dist/{chunk-3NAPTEU6.js → chunk-TYNWBIUK.js} +3 -3
- package/dist/chunk-UPQOX272.js +56 -0
- package/dist/chunk-UPQOX272.js.map +1 -0
- package/dist/{chunk-XTEDAGEB.js → chunk-UW7764AI.js} +6 -6
- package/dist/{chunk-YDWUKQHJ.js → chunk-WLDQHYPW.js} +3 -3
- package/dist/{chunk-KTPNWVTJ.js → chunk-XGX6FKA5.js} +5 -5
- package/dist/chunk-XL2XJST2.js +272 -0
- package/dist/chunk-XL2XJST2.js.map +1 -0
- package/dist/{chunk-6VPCQ2RJ.js → chunk-YAB6I22F.js} +2 -2
- package/dist/{chunk-BY6PMJRD.js → chunk-ZKRCGCTK.js} +5 -5
- package/dist/{cli-4G5HCLI3.js → cli-2IWAIHK5.js} +9 -9
- package/dist/{cli-E2SVJV53.js → cli-5XNKGLA2.js} +9 -9
- package/dist/{cli-BPN5KRU3.js → cli-77WV442S.js} +9 -9
- package/dist/{cli-TTRYI4TB.js → cli-CLIFA5KA.js} +8 -8
- package/dist/{cli-DNBBXGEQ.js → cli-UI5GDWUW.js} +8 -8
- package/dist/cloud-backends.js +5 -5
- package/dist/{control-plane-G2X3K337.js → control-plane-OGU3QDYY.js} +20 -19
- package/dist/{cp-hub-upload-J7HDXCQO.js → cp-hub-upload-AG36SG7R.js} +8 -8
- package/dist/{custody-client-YCKNBSNS.js → custody-client-VGV22EE4.js} +4 -4
- package/dist/{deploy-hetzner-HBY3L3RH.js → deploy-hetzner-SIRNJK4W.js} +9 -9
- package/dist/{dist-RU5CI6WH.js → dist-7PFYX65H.js} +8 -8
- package/dist/{dist-XZDC7L5M.js → dist-FCISQ7AZ.js} +6 -6
- package/dist/{dist-R7VKUXJO.js → dist-FLQM5443.js} +9 -9
- package/dist/{dist-CW66KZCF.js → dist-JJDA35RI.js} +7 -7
- package/dist/{dist-ZV2XHJCX.js → dist-L2HOWYKR.js} +3 -3
- package/dist/{dist-ULLZDJ4N.js → dist-R3AXZS4U.js} +8 -8
- package/dist/{dist-AV7VWPWL.js → dist-R5GNYZMB.js} +8 -8
- package/dist/{dist-T7WFDZZV.js → dist-RRAP6W7Y.js} +8 -8
- package/dist/{dist-NOSQ3RUH.js → dist-V7DRWXWQ.js} +2 -2
- package/dist/{dist-5WVUS62O.js → dist-WFCVR3HH.js} +4 -4
- package/dist/{dist-2DZZJHRO.js → dist-WY5KUWO2.js} +8 -8
- package/dist/{host-reach-drainer-X6ZME5VV.js → host-reach-drainer-6PWL7WDK.js} +2 -2
- package/dist/hub-53B4T5DB.js +39 -0
- package/dist/{hub-adopt-AC2V2AZU.js → hub-adopt-4NLDX4V3.js} +7 -7
- package/dist/{hub-docker-target-VTG4JBA6.js → hub-docker-target-44HNKCHF.js} +13 -13
- package/dist/index.js +400 -563
- package/dist/index.js.map +1 -1
- package/dist/plugin-update-2NBTEHIM.js +392 -0
- package/dist/plugin-update-2NBTEHIM.js.map +1 -0
- package/dist/prepare-X376655E.js +45 -0
- package/dist/prepared-custody-72DN6SHI.js +39 -0
- package/dist/{prepared-state-FO74QUCP-HSQYML6C.js → prepared-state-FO74QUCP-GUVKFFFV.js} +4 -4
- package/dist/{publish-credentials-RQEPMJLN.js → publish-credentials-AWQJPM73.js} +9 -9
- package/dist/{registry-AL2WKSOB.js → registry-VDX5HXY5.js} +5 -5
- package/dist/relay-XSBBQCD7.js +22 -0
- package/dist/{remote-docker-share-LWXVR4WF.js → remote-docker-share-RBGI4POJ.js} +10 -10
- package/dist/{tool-grant-push-5KNW5KEK.js → tool-grant-push-KZYHRNQE.js} +3 -3
- package/package.json +1 -1
- package/runtime/_shared/ctl.cjs +7 -1
- package/runtime/digitalocean/ctl.cjs +7 -1
- package/runtime/docker/packages/ctl/dist/bin.cjs +7 -1
- package/runtime/e2b/ctl.cjs +7 -1
- package/runtime/hetzner/ctl.cjs +7 -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/[root-of-the-server]__0d1lmiq._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0907rw0._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0r2xlss._.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/{auth-GEIMLQGI.js → auth-VVKEHY6D.js} +2 -2
- package/runtime/hub/apps/hub/{auth-config-6BB6TE7X.js → auth-config-CELRTXW4.js} +2 -2
- package/runtime/hub/apps/hub/{chunk-CP6G4E7B.js → chunk-3H4Y5RZR.js} +10 -10
- package/runtime/hub/apps/hub/{chunk-ASEJEDHY.js → chunk-CKJX55N3.js} +1 -1
- package/runtime/hub/apps/hub/{chunk-QSDNA66K.js → chunk-DHQB7N7Z.js} +5 -5
- package/runtime/hub/apps/hub/{chunk-BLWWPFAY.js → chunk-IQFWSXYL.js} +2 -2
- package/runtime/hub/apps/hub/{chunk-FPXDR6BY.js → chunk-K2FCSY35.js} +6 -6
- package/runtime/hub/apps/hub/{chunk-BK54DMXS.js → chunk-MGLPQPXC.js} +7 -1
- package/runtime/hub/apps/hub/{chunk-RGISSFV4.js → chunk-TDGSZ2YN.js} +4 -4
- package/runtime/hub/apps/hub/{chunk-PUVMOK6G.js → chunk-ZPUQMWSU.js} +3 -3
- package/runtime/hub/apps/hub/{dist-B7IQ5EOC.js → dist-4MXHM4J7.js} +6 -6
- package/runtime/hub/apps/hub/{dist-GPQ6G7C7.js → dist-5UJGU74P.js} +4 -4
- package/runtime/hub/apps/hub/{dist-3SKLIIRH.js → dist-6FLFVJAD.js} +5 -5
- package/runtime/hub/apps/hub/{dist-ZHUXPOLZ.js → dist-ACDV26VB.js} +5 -5
- package/runtime/hub/apps/hub/{dist-D6DWSJ47.js → dist-CUTPIV4A.js} +6 -6
- package/runtime/hub/apps/hub/{dist-B2F344L3.js → dist-FY54RV2O.js} +5 -5
- package/runtime/hub/apps/hub/{dist-IGMHT52E.js → dist-HKVERD4R.js} +2 -2
- package/runtime/hub/apps/hub/{dist-DNPCJKZC.js → dist-JCF4VTXA.js} +5 -5
- package/runtime/hub/apps/hub/{dist-PCJ6TJAE.js → dist-LL65H67P.js} +5 -5
- package/runtime/hub/apps/hub/{dist-DUKDNHQC.js → dist-O3UMA7PV.js} +1 -1
- package/runtime/hub/apps/hub/{hub-token-VZAW5JZG.js → hub-token-HRTJQWRD.js} +2 -2
- package/runtime/hub/apps/hub/{hub-worker-Q5Q6VYYQ.js → hub-worker-FXRZC5QZ.js} +7 -7
- package/runtime/hub/apps/hub/{prepared-state-FO74QUCP-UKTRM4UJ.js → prepared-state-FO74QUCP-MBAXU3IE.js} +3 -3
- package/runtime/hub/apps/hub/server.js +17 -17
- package/runtime/hub/apps/hub/tsconfig.tsbuildinfo +1 -1
- package/runtime/relay/bin.cjs +7 -1
- package/runtime/vercel/ctl.cjs +7 -1
- package/dist/_cloud-attach-XYNVFQDX.js +0 -31
- package/dist/chunk-BJ32PVT2.js.map +0 -1
- package/dist/chunk-SCJQK3NW.js.map +0 -1
- package/dist/hub-B5XJBKZG.js +0 -38
- package/dist/prepare-L4FULDA2.js +0 -44
- package/dist/prepared-custody-62QU7ZRX.js +0 -38
- package/dist/relay-OPESPBIN.js +0 -22
- /package/dist/{_cloud-attach-XYNVFQDX.js.map → _cloud-attach-Q53QIHTA.js.map} +0 -0
- /package/dist/{chunk-NK5NAR2L.js.map → chunk-47KZVRFH.js.map} +0 -0
- /package/dist/{chunk-RVWELY2S.js.map → chunk-4FV5EMIF.js.map} +0 -0
- /package/dist/{chunk-QIW4GA6L.js.map → chunk-53XOKXDR.js.map} +0 -0
- /package/dist/{chunk-ZYKLLAGN.js.map → chunk-53XXHHCM.js.map} +0 -0
- /package/dist/{chunk-ONREOKLB.js.map → chunk-5XW7VW6E.js.map} +0 -0
- /package/dist/{chunk-MDBNQ6JK.js.map → chunk-6AM23U3Z.js.map} +0 -0
- /package/dist/{chunk-WUKE2IW6.js.map → chunk-6D5BFSSD.js.map} +0 -0
- /package/dist/{chunk-UTT3KYDN.js.map → chunk-6UAMWZS4.js.map} +0 -0
- /package/dist/{chunk-4I2LSR6J.js.map → chunk-77SSYYCU.js.map} +0 -0
- /package/dist/{chunk-H6LEX55L.js.map → chunk-7I5BWVRZ.js.map} +0 -0
- /package/dist/{chunk-RIZMJTUA.js.map → chunk-BLOEL432.js.map} +0 -0
- /package/dist/{chunk-BTS7HPPG.js.map → chunk-C3QNKAID.js.map} +0 -0
- /package/dist/{chunk-GBZM4S43.js.map → chunk-FG33ZFKQ.js.map} +0 -0
- /package/dist/{chunk-LLIWY3RI.js.map → chunk-FMN47YI5.js.map} +0 -0
- /package/dist/{chunk-25JLBUKO.js.map → chunk-HACCAMSW.js.map} +0 -0
- /package/dist/{chunk-MFCED7SL.js.map → chunk-HN5IVXCX.js.map} +0 -0
- /package/dist/{chunk-MML6QG4K.js.map → chunk-HNEHFFU5.js.map} +0 -0
- /package/dist/{chunk-Q3VNEEIO.js.map → chunk-IQVBQFAA.js.map} +0 -0
- /package/dist/{chunk-2LEREGD5.js.map → chunk-ITUTNIQS.js.map} +0 -0
- /package/dist/{chunk-PGCPOLNR.js.map → chunk-JLBKTVEZ.js.map} +0 -0
- /package/dist/{chunk-QCCMFQT4.js.map → chunk-JRROEWWH.js.map} +0 -0
- /package/dist/{chunk-HDUUJC2L.js.map → chunk-LPQWBWKG.js.map} +0 -0
- /package/dist/{chunk-PBEDQZ2N.js.map → chunk-ML3FJ56M.js.map} +0 -0
- /package/dist/{chunk-ZQGJI4AR.js.map → chunk-P4FYGW47.js.map} +0 -0
- /package/dist/{chunk-5EFT4CTC.js.map → chunk-QSCBRJ5Q.js.map} +0 -0
- /package/dist/{chunk-C3CCAIKB.js.map → chunk-S6MSVWED.js.map} +0 -0
- /package/dist/{chunk-HXUBMCJ2.js.map → chunk-SFVXK36I.js.map} +0 -0
- /package/dist/{chunk-BDOVT7FD.js.map → chunk-SMIWV44Z.js.map} +0 -0
- /package/dist/{chunk-LIBURMGM.js.map → chunk-TGXRI7HN.js.map} +0 -0
- /package/dist/{chunk-MP6DRCVS.js.map → chunk-TNHRU65G.js.map} +0 -0
- /package/dist/{chunk-3NAPTEU6.js.map → chunk-TYNWBIUK.js.map} +0 -0
- /package/dist/{chunk-XTEDAGEB.js.map → chunk-UW7764AI.js.map} +0 -0
- /package/dist/{chunk-YDWUKQHJ.js.map → chunk-WLDQHYPW.js.map} +0 -0
- /package/dist/{chunk-KTPNWVTJ.js.map → chunk-XGX6FKA5.js.map} +0 -0
- /package/dist/{chunk-6VPCQ2RJ.js.map → chunk-YAB6I22F.js.map} +0 -0
- /package/dist/{chunk-BY6PMJRD.js.map → chunk-ZKRCGCTK.js.map} +0 -0
- /package/dist/{cli-4G5HCLI3.js.map → cli-2IWAIHK5.js.map} +0 -0
- /package/dist/{cli-BPN5KRU3.js.map → cli-5XNKGLA2.js.map} +0 -0
- /package/dist/{cli-DNBBXGEQ.js.map → cli-77WV442S.js.map} +0 -0
- /package/dist/{cli-E2SVJV53.js.map → cli-CLIFA5KA.js.map} +0 -0
- /package/dist/{cli-TTRYI4TB.js.map → cli-UI5GDWUW.js.map} +0 -0
- /package/dist/{control-plane-G2X3K337.js.map → control-plane-OGU3QDYY.js.map} +0 -0
- /package/dist/{cp-hub-upload-J7HDXCQO.js.map → cp-hub-upload-AG36SG7R.js.map} +0 -0
- /package/dist/{custody-client-YCKNBSNS.js.map → custody-client-VGV22EE4.js.map} +0 -0
- /package/dist/{deploy-hetzner-HBY3L3RH.js.map → deploy-hetzner-SIRNJK4W.js.map} +0 -0
- /package/dist/{dist-RU5CI6WH.js.map → dist-7PFYX65H.js.map} +0 -0
- /package/dist/{dist-5WVUS62O.js.map → dist-FCISQ7AZ.js.map} +0 -0
- /package/dist/{dist-AV7VWPWL.js.map → dist-FLQM5443.js.map} +0 -0
- /package/dist/{dist-CW66KZCF.js.map → dist-JJDA35RI.js.map} +0 -0
- /package/dist/{dist-NOSQ3RUH.js.map → dist-L2HOWYKR.js.map} +0 -0
- /package/dist/{dist-R7VKUXJO.js.map → dist-R3AXZS4U.js.map} +0 -0
- /package/dist/{dist-T7WFDZZV.js.map → dist-R5GNYZMB.js.map} +0 -0
- /package/dist/{dist-ULLZDJ4N.js.map → dist-RRAP6W7Y.js.map} +0 -0
- /package/dist/{dist-XZDC7L5M.js.map → dist-V7DRWXWQ.js.map} +0 -0
- /package/dist/{dist-ZV2XHJCX.js.map → dist-WFCVR3HH.js.map} +0 -0
- /package/dist/{dist-2DZZJHRO.js.map → dist-WY5KUWO2.js.map} +0 -0
- /package/dist/{host-reach-drainer-X6ZME5VV.js.map → host-reach-drainer-6PWL7WDK.js.map} +0 -0
- /package/dist/{hub-B5XJBKZG.js.map → hub-53B4T5DB.js.map} +0 -0
- /package/dist/{hub-adopt-AC2V2AZU.js.map → hub-adopt-4NLDX4V3.js.map} +0 -0
- /package/dist/{hub-docker-target-VTG4JBA6.js.map → hub-docker-target-44HNKCHF.js.map} +0 -0
- /package/dist/{prepare-L4FULDA2.js.map → prepare-X376655E.js.map} +0 -0
- /package/dist/{prepared-custody-62QU7ZRX.js.map → prepared-custody-72DN6SHI.js.map} +0 -0
- /package/dist/{prepared-state-FO74QUCP-HSQYML6C.js.map → prepared-state-FO74QUCP-GUVKFFFV.js.map} +0 -0
- /package/dist/{publish-credentials-RQEPMJLN.js.map → publish-credentials-AWQJPM73.js.map} +0 -0
- /package/dist/{registry-AL2WKSOB.js.map → registry-VDX5HXY5.js.map} +0 -0
- /package/dist/{relay-OPESPBIN.js.map → relay-XSBBQCD7.js.map} +0 -0
- /package/dist/{remote-docker-share-LWXVR4WF.js.map → remote-docker-share-RBGI4POJ.js.map} +0 -0
- /package/dist/{tool-grant-push-5KNW5KEK.js.map → tool-grant-push-KZYHRNQE.js.map} +0 -0
- /package/runtime/hub/apps/hub/.next/static/{2w8wO7pv1n_07vCbLzF_I → gWbhbVEKPQfY7Cgg4vBKx}/_buildManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{2w8wO7pv1n_07vCbLzF_I → gWbhbVEKPQfY7Cgg4vBKx}/_clientMiddlewareManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{2w8wO7pv1n_07vCbLzF_I → gWbhbVEKPQfY7Cgg4vBKx}/_ssgManifest.js +0 -0
|
@@ -2,24 +2,28 @@
|
|
|
2
2
|
import {
|
|
3
3
|
hubApiTargetFrom,
|
|
4
4
|
withHubClient
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WLDQHYPW.js";
|
|
6
6
|
import {
|
|
7
7
|
CustodyClient,
|
|
8
8
|
collectAgentCredentialUploads,
|
|
9
9
|
planPush
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TGXRI7HN.js";
|
|
11
|
+
import {
|
|
12
|
+
compareSemver,
|
|
13
|
+
isNewer
|
|
14
|
+
} from "./chunk-UPQOX272.js";
|
|
11
15
|
import {
|
|
12
16
|
deployControlPlaneToDigitalOcean,
|
|
13
17
|
destroyControlPlaneOnDigitalOcean,
|
|
14
18
|
readDigitalOceanCredStatus,
|
|
15
19
|
updateControlPlaneOnDigitalOcean
|
|
16
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-IQVBQFAA.js";
|
|
17
21
|
import {
|
|
18
22
|
providerForCreate
|
|
19
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-HNEHFFU5.js";
|
|
20
24
|
import {
|
|
21
25
|
openCommandLog
|
|
22
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-YAB6I22F.js";
|
|
23
27
|
import {
|
|
24
28
|
HubApiClient,
|
|
25
29
|
HubApiError
|
|
@@ -33,7 +37,7 @@ import {
|
|
|
33
37
|
runHetznerDeploy,
|
|
34
38
|
runHetznerDestroy,
|
|
35
39
|
runHetznerUpdate
|
|
36
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-XGX6FKA5.js";
|
|
37
41
|
import {
|
|
38
42
|
loadControlPlaneEnv,
|
|
39
43
|
readControlPlaneEnvMap,
|
|
@@ -41,10 +45,10 @@ import {
|
|
|
41
45
|
} from "./chunk-QNYGNHM2.js";
|
|
42
46
|
import {
|
|
43
47
|
handleLifecycleError
|
|
44
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-JRROEWWH.js";
|
|
45
49
|
import {
|
|
46
50
|
detectEgressIp
|
|
47
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ML3FJ56M.js";
|
|
48
52
|
import {
|
|
49
53
|
createGitDeployment,
|
|
50
54
|
createGitProject,
|
|
@@ -56,7 +60,7 @@ import {
|
|
|
56
60
|
projectHasEnv,
|
|
57
61
|
resolveVercelApiAuth,
|
|
58
62
|
upsertProjectEnv
|
|
59
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-S6MSVWED.js";
|
|
60
64
|
import {
|
|
61
65
|
applyProjectSeed,
|
|
62
66
|
deadlineFetch,
|
|
@@ -64,7 +68,7 @@ import {
|
|
|
64
68
|
pushPreparedToCustody,
|
|
65
69
|
pushProjectSeedToCustody,
|
|
66
70
|
readGitOriginUrl
|
|
67
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-P4FYGW47.js";
|
|
68
72
|
import {
|
|
69
73
|
GitHubAppLeaser,
|
|
70
74
|
PostgresStore,
|
|
@@ -75,11 +79,11 @@ import {
|
|
|
75
79
|
makeControlPlaneCreateBox,
|
|
76
80
|
parseGitRemote,
|
|
77
81
|
toAuthedHttpsUrl
|
|
78
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-ITUTNIQS.js";
|
|
79
83
|
import {
|
|
80
84
|
getRuntimeProviderNames,
|
|
81
85
|
loadProviderModule
|
|
82
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-FG33ZFKQ.js";
|
|
83
87
|
import {
|
|
84
88
|
AGENTBOX_HUB_SSH_ALIAS,
|
|
85
89
|
AGENT_SYNC_SPECS,
|
|
@@ -91,7 +95,7 @@ import {
|
|
|
91
95
|
relayPort,
|
|
92
96
|
resolveSshConfigTarget,
|
|
93
97
|
stopHub
|
|
94
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-TYNWBIUK.js";
|
|
95
99
|
import {
|
|
96
100
|
isAgentKind
|
|
97
101
|
} from "./chunk-JYKQW6NG.js";
|
|
@@ -102,7 +106,7 @@ import {
|
|
|
102
106
|
parseUserConfig,
|
|
103
107
|
setConfigValue,
|
|
104
108
|
unsetConfigValue
|
|
105
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-FPY5ABJX.js";
|
|
106
110
|
|
|
107
111
|
// src/commands/control-plane.ts
|
|
108
112
|
import { confirm as confirm2, isCancel as isCancel3, log as log2, note as note2, select, spinner } from "@clack/prompts";
|
|
@@ -810,8 +814,8 @@ function detectExecutionMethod(input) {
|
|
|
810
814
|
}
|
|
811
815
|
|
|
812
816
|
// src/version.ts
|
|
813
|
-
var AGENTBOX_VERSION = true ? "0.30.0
|
|
814
|
-
var AGENTBOX_COMMIT = true ? "
|
|
817
|
+
var AGENTBOX_VERSION = true ? "0.30.0" : "0.0.0-dev";
|
|
818
|
+
var AGENTBOX_COMMIT = true ? "5251736d" : "dev";
|
|
815
819
|
|
|
816
820
|
// src/commands/install-app.ts
|
|
817
821
|
import { intro, log, outro } from "@clack/prompts";
|
|
@@ -825,57 +829,6 @@ import { setTimeout as delay } from "timers/promises";
|
|
|
825
829
|
|
|
826
830
|
// src/lib/channel.ts
|
|
827
831
|
import { readFile as readFile2 } from "fs/promises";
|
|
828
|
-
|
|
829
|
-
// src/lib/semver-lite.ts
|
|
830
|
-
var VERSION = /^(\d+)\.(\d+)\.(\d+)(?:-([0-9A-Za-z.-]+))?(?:\+[0-9A-Za-z.-]+)?$/;
|
|
831
|
-
function parse(v) {
|
|
832
|
-
const m = VERSION.exec(v.trim());
|
|
833
|
-
if (!m) return null;
|
|
834
|
-
const core = [Number(m[1]), Number(m[2]), Number(m[3])];
|
|
835
|
-
if (core[0] === 0 && core[1] === 0 && core[2] === 0) return null;
|
|
836
|
-
const raw = m[4];
|
|
837
|
-
const pre = raw === void 0 || raw === "" ? [] : raw.split(".");
|
|
838
|
-
if (pre.some((id) => id === "")) return null;
|
|
839
|
-
return { core, pre };
|
|
840
|
-
}
|
|
841
|
-
function compareIdentifiers(a, b) {
|
|
842
|
-
const aNum = /^\d+$/.test(a);
|
|
843
|
-
const bNum = /^\d+$/.test(b);
|
|
844
|
-
if (aNum && bNum) {
|
|
845
|
-
const na = Number(a);
|
|
846
|
-
const nb = Number(b);
|
|
847
|
-
return na < nb ? -1 : na > nb ? 1 : 0;
|
|
848
|
-
}
|
|
849
|
-
if (aNum) return -1;
|
|
850
|
-
if (bNum) return 1;
|
|
851
|
-
return a < b ? -1 : a > b ? 1 : 0;
|
|
852
|
-
}
|
|
853
|
-
function compareSemver(a, b) {
|
|
854
|
-
const pa = parse(a);
|
|
855
|
-
const pb = parse(b);
|
|
856
|
-
if (!pa || !pb) return null;
|
|
857
|
-
for (let i = 0; i < 3; i++) {
|
|
858
|
-
const ai = pa.core[i];
|
|
859
|
-
const bi = pb.core[i];
|
|
860
|
-
if (ai < bi) return -1;
|
|
861
|
-
if (ai > bi) return 1;
|
|
862
|
-
}
|
|
863
|
-
if (pa.pre.length === 0 && pb.pre.length === 0) return 0;
|
|
864
|
-
if (pa.pre.length === 0) return 1;
|
|
865
|
-
if (pb.pre.length === 0) return -1;
|
|
866
|
-
const shared = Math.min(pa.pre.length, pb.pre.length);
|
|
867
|
-
for (let i = 0; i < shared; i++) {
|
|
868
|
-
const c = compareIdentifiers(pa.pre[i], pb.pre[i]);
|
|
869
|
-
if (c !== 0) return c;
|
|
870
|
-
}
|
|
871
|
-
return pa.pre.length < pb.pre.length ? -1 : pa.pre.length > pb.pre.length ? 1 : 0;
|
|
872
|
-
}
|
|
873
|
-
function isNewer(latest, current) {
|
|
874
|
-
if (latest === void 0) return false;
|
|
875
|
-
return compareSemver(latest, current) === 1;
|
|
876
|
-
}
|
|
877
|
-
|
|
878
|
-
// src/lib/channel.ts
|
|
879
832
|
var NIGHTLY_MARKER = "-nightly.";
|
|
880
833
|
var NPM_PACKAGE = "@madarco/agentbox";
|
|
881
834
|
var STABLE_DIST_TAG = "latest";
|
|
@@ -1742,7 +1695,7 @@ async function restoreTunnelIfExposed(log3 = () => {
|
|
|
1742
1695
|
async function readLocalRecord() {
|
|
1743
1696
|
try {
|
|
1744
1697
|
const { readFile: readFile6 } = await import("fs/promises");
|
|
1745
|
-
const { controlPlaneDeployPath } = await import("./dist-
|
|
1698
|
+
const { controlPlaneDeployPath } = await import("./dist-L2HOWYKR.js");
|
|
1746
1699
|
const rec = JSON.parse(
|
|
1747
1700
|
await readFile6(controlPlaneDeployPath(), "utf8")
|
|
1748
1701
|
);
|
|
@@ -2352,7 +2305,7 @@ var setUrlSub = new Command2("set-url").description("Point boxes + the CLI at a
|
|
|
2352
2305
|
try {
|
|
2353
2306
|
const trimmed = await applyControlPlaneUrl(url);
|
|
2354
2307
|
log2.success(`Set relay.controlPlaneUrl = ${trimmed}`);
|
|
2355
|
-
const { ensureHubDockerTarget } = await import("./hub-docker-target-
|
|
2308
|
+
const { ensureHubDockerTarget } = await import("./hub-docker-target-44HNKCHF.js");
|
|
2356
2309
|
await ensureHubDockerTarget((line) => {
|
|
2357
2310
|
log2.info(line);
|
|
2358
2311
|
});
|
|
@@ -2370,7 +2323,7 @@ var unsetUrlSub = new Command2("unset-url").description("Stop using a control pl
|
|
|
2370
2323
|
if (!g.existed && !p.existed) {
|
|
2371
2324
|
log2.info("No control plane was configured (relay.controlPlaneUrl not set).");
|
|
2372
2325
|
} else {
|
|
2373
|
-
const { removeHubDockerTarget } = await import("./hub-docker-target-
|
|
2326
|
+
const { removeHubDockerTarget } = await import("./hub-docker-target-44HNKCHF.js");
|
|
2374
2327
|
await removeHubDockerTarget((line) => {
|
|
2375
2328
|
log2.info(line);
|
|
2376
2329
|
});
|
|
@@ -2583,7 +2536,7 @@ async function resolveCustodyTarget(urlFlag, opts = {}) {
|
|
|
2583
2536
|
return { url, adminToken };
|
|
2584
2537
|
}
|
|
2585
2538
|
async function resolveCustodyApiTarget(urlFlag, opts = {}) {
|
|
2586
|
-
const { resolveHubTarget } = await import("./hub-
|
|
2539
|
+
const { resolveHubTarget } = await import("./hub-53B4T5DB.js");
|
|
2587
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.";
|
|
2588
2541
|
const target = await resolveHubTarget(urlFlag);
|
|
2589
2542
|
if (target.mode === "remote") {
|
|
@@ -2602,8 +2555,8 @@ async function resolveCustodyApiTarget(urlFlag, opts = {}) {
|
|
|
2602
2555
|
return { url: api.url, apiKey: api.apiKey };
|
|
2603
2556
|
}
|
|
2604
2557
|
async function autostartLocalHub() {
|
|
2605
|
-
const { ensureHub: ensureHub2 } = await import("./dist-
|
|
2606
|
-
const { rehydrateFromState } = await import("./relay-
|
|
2558
|
+
const { ensureHub: ensureHub2 } = await import("./dist-L2HOWYKR.js");
|
|
2559
|
+
const { rehydrateFromState } = await import("./relay-XSBBQCD7.js");
|
|
2607
2560
|
const s = spinner();
|
|
2608
2561
|
s.start("starting local hub");
|
|
2609
2562
|
try {
|
|
@@ -2618,8 +2571,8 @@ async function autostartLocalHub() {
|
|
|
2618
2571
|
}
|
|
2619
2572
|
}
|
|
2620
2573
|
async function restartLocalHubForToken() {
|
|
2621
|
-
const { ensureHub: ensureHub2, stopHub: stopHub2 } = await import("./dist-
|
|
2622
|
-
const { rehydrateFromState } = await import("./relay-
|
|
2574
|
+
const { ensureHub: ensureHub2, stopHub: stopHub2 } = await import("./dist-L2HOWYKR.js");
|
|
2575
|
+
const { rehydrateFromState } = await import("./relay-XSBBQCD7.js");
|
|
2623
2576
|
const s = spinner();
|
|
2624
2577
|
s.start("hub token missing \u2014 restarting local hub");
|
|
2625
2578
|
try {
|
|
@@ -2635,10 +2588,10 @@ async function restartLocalHubForToken() {
|
|
|
2635
2588
|
}
|
|
2636
2589
|
}
|
|
2637
2590
|
async function resolveHubApiTarget(urlFlag, opts = {}) {
|
|
2638
|
-
const { resolveHubTarget } = await import("./hub-
|
|
2591
|
+
const { resolveHubTarget } = await import("./hub-53B4T5DB.js");
|
|
2639
2592
|
let target = await resolveHubTarget(urlFlag, { preferLocal: opts.preferLocal });
|
|
2640
2593
|
if (target.mode === "local" && !opts.quiet) {
|
|
2641
|
-
const { getHubStatus: getHubStatus2, readHubToken } = await import("./dist-
|
|
2594
|
+
const { getHubStatus: getHubStatus2, readHubToken } = await import("./dist-L2HOWYKR.js");
|
|
2642
2595
|
const st = await getHubStatus2();
|
|
2643
2596
|
if (!(st.running && st.ui)) {
|
|
2644
2597
|
if (!await autostartLocalHub()) return null;
|
|
@@ -3522,7 +3475,7 @@ async function syncBakesWithControlBox(url) {
|
|
|
3522
3475
|
const hubVersion = (await probeControlPlaneStatus(target.url)).version;
|
|
3523
3476
|
const results = [];
|
|
3524
3477
|
const providers = getRuntimeProviderNames().filter(isShareablePreparedProvider);
|
|
3525
|
-
const { adoptPreparedBases } = await import("./prepared-custody-
|
|
3478
|
+
const { adoptPreparedBases } = await import("./prepared-custody-72DN6SHI.js");
|
|
3526
3479
|
const pulled = await adoptPreparedBases().catch(() => ({
|
|
3527
3480
|
adopted: [],
|
|
3528
3481
|
pending: []
|
|
@@ -3628,12 +3581,12 @@ async function syncAgentCredentialsIfChanged(url) {
|
|
|
3628
3581
|
async function finalizeControlBoxState(url) {
|
|
3629
3582
|
await syncAgentCredentials(url, { announce: true });
|
|
3630
3583
|
await syncBakesWithControlBox(url);
|
|
3631
|
-
const { syncSharedHosts } = await import("./remote-docker-share-
|
|
3584
|
+
const { syncSharedHosts } = await import("./remote-docker-share-RBGI4POJ.js");
|
|
3632
3585
|
await syncSharedHosts(url, (line) => {
|
|
3633
3586
|
log2.info(line);
|
|
3634
3587
|
});
|
|
3635
3588
|
try {
|
|
3636
|
-
const { ensureHubDockerTarget } = await import("./hub-docker-target-
|
|
3589
|
+
const { ensureHubDockerTarget } = await import("./hub-docker-target-44HNKCHF.js");
|
|
3637
3590
|
await ensureHubDockerTarget((line) => {
|
|
3638
3591
|
log2.info(line);
|
|
3639
3592
|
});
|
|
@@ -3671,7 +3624,6 @@ export {
|
|
|
3671
3624
|
localBakeBlocksAdoption,
|
|
3672
3625
|
ensureProjectRepoOnControlPlane,
|
|
3673
3626
|
detectExecutionMethod,
|
|
3674
|
-
isNewer,
|
|
3675
3627
|
NPM_PACKAGE,
|
|
3676
3628
|
STABLE_DIST_TAG,
|
|
3677
3629
|
NIGHTLY_DIST_TAG,
|
|
@@ -3721,4 +3673,4 @@ export {
|
|
|
3721
3673
|
syncAgentCredentialsIfChanged,
|
|
3722
3674
|
controlPlaneSubcommands
|
|
3723
3675
|
};
|
|
3724
|
-
//# sourceMappingURL=chunk-
|
|
3676
|
+
//# sourceMappingURL=chunk-DDZCQ7IZ.js.map
|