@madarco/agentbox 0.31.3 → 0.31.4
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 +8 -0
- package/README.md +2 -0
- package/dist/_cloud-attach-B3BCOZ7U.js +31 -0
- package/dist/{chunk-GZHJVCBG.js → chunk-2MBELUE6.js} +9 -9
- package/dist/{chunk-ZMNLEZJB.js → chunk-4LSLXBFN.js} +7 -7
- package/dist/{chunk-VEO6ZYQY.js → chunk-4NO5MO2P.js} +6 -6
- package/dist/{chunk-DKUSSE5G.js → chunk-4Y365UYP.js} +2 -2
- package/dist/{chunk-VIB2FMJJ.js → chunk-5UX2HAF4.js} +31 -31
- package/dist/{chunk-EHLPIWRR.js → chunk-75JF44DH.js} +2 -2
- package/dist/{chunk-MBFN2XNU.js → chunk-AAMPHDB2.js} +6 -6
- package/dist/{chunk-7N3CJNR5.js → chunk-AWFTAHGF.js} +20 -7
- package/dist/chunk-AWFTAHGF.js.map +1 -0
- package/dist/{chunk-WMILLMJZ.js → chunk-AYREFYEF.js} +5 -5
- package/dist/{chunk-XHCGVCSA.js → chunk-BYZPRB7U.js} +5 -5
- package/dist/{chunk-6RREIUAE.js → chunk-C67DVYWA.js} +3 -3
- package/dist/{chunk-JS5DLUUX.js → chunk-CUIJ2PIN.js} +10 -10
- package/dist/{chunk-744IB5WM.js → chunk-ENFWBFBI.js} +4 -4
- package/dist/{chunk-ZK6KD7ME.js → chunk-EP4IFSV5.js} +5 -5
- package/dist/{chunk-SHFU2KSY.js → chunk-EXF4PLBN.js} +3 -3
- package/dist/{chunk-MKZHCLFJ.js → chunk-GCS5XAPC.js} +4 -4
- package/dist/{chunk-Q3BHXL47.js → chunk-IF4VXKJK.js} +4 -4
- package/dist/{chunk-D67Q5MNA.js → chunk-IFPTD73K.js} +2 -2
- package/dist/{chunk-GYUOXSUX.js → chunk-IQ6BQ2LX.js} +4 -4
- package/dist/{chunk-M42UQWVO.js → chunk-IQMDGAMB.js} +4 -4
- package/dist/{chunk-QWUZJCF5.js → chunk-KCDLAP5Q.js} +4 -4
- package/dist/{chunk-W7P2HHFI.js → chunk-L567TKOK.js} +6 -6
- package/dist/{chunk-E2RPG54S.js → chunk-LR5RNEVO.js} +3 -3
- package/dist/{chunk-RNYH5465.js → chunk-M6VAID7T.js} +3 -3
- package/dist/{chunk-UENVVGWE.js → chunk-MBZ4UOWF.js} +4 -4
- package/dist/{chunk-BMZOMC6X.js → chunk-MJZPECVQ.js} +3 -3
- package/dist/{chunk-PYPIECDD.js → chunk-NKHRFR5G.js} +17 -17
- package/dist/{chunk-VNXWOWQ7.js → chunk-OXBWZG2N.js} +4 -4
- package/dist/{chunk-XLFQXROC.js → chunk-PXH3DERD.js} +3 -3
- package/dist/{chunk-QTMUJETE.js → chunk-QDVIMN57.js} +4 -4
- package/dist/{chunk-EZPCCJPE.js → chunk-QT4MOS6R.js} +22 -22
- package/dist/{chunk-SZTHLJ5J.js → chunk-QWWDG5B7.js} +6 -6
- package/dist/{chunk-7PDYVJ2Q.js → chunk-RUKTOHK7.js} +3 -3
- package/dist/{chunk-6GJDU3FN.js → chunk-VOVRWIBC.js} +11 -11
- package/dist/{chunk-QB7XVOYW.js → chunk-VQONUZE4.js} +4 -4
- package/dist/{chunk-V5IMDVV5.js → chunk-VWJBQGXD.js} +6 -6
- package/dist/{chunk-S3SJIWSU.js → chunk-X6SZPGL5.js} +7 -7
- package/dist/{chunk-QER5WHBC.js → chunk-YL3VEQTS.js} +6 -6
- package/dist/{chunk-UWKJ3HIA.js → chunk-YSC4VY43.js} +4 -4
- package/dist/{chunk-FVBEUPVM.js → chunk-ZUTC2JZM.js} +5 -5
- package/dist/{cli-I6TXLNRQ.js → cli-7JW54ZTA.js} +9 -9
- package/dist/{cli-VU2ALT6L.js → cli-7Z7BD23R.js} +8 -8
- package/dist/{cli-YYXO4WX5.js → cli-HFLU5QTD.js} +8 -8
- package/dist/{cli-JNOPYAUM.js → cli-KT5X4J74.js} +9 -9
- package/dist/{cli-W2WNV64V.js → cli-XRF7WFE5.js} +9 -9
- package/dist/cloud-backends.js +5 -5
- package/dist/{control-plane-JUAINN2X.js → control-plane-DGLF4MBB.js} +20 -20
- package/dist/{cp-hub-upload-VHU5TBHQ.js → cp-hub-upload-7YESYCVS.js} +7 -7
- package/dist/{custody-client-5OHF3SEX.js → custody-client-P7SCEDU2.js} +5 -5
- package/dist/{deploy-hetzner-RTQW3B7P.js → deploy-hetzner-FOCNRRB2.js} +9 -9
- package/dist/{dist-EDCGUXVI.js → dist-2CAWJQT5.js} +6 -6
- package/dist/{dist-XWDFVTFR.js → dist-36WLI6E2.js} +7 -7
- package/dist/{dist-5HJBDLJP.js → dist-54VRDCUU.js} +8 -8
- package/dist/{dist-H72NQCKO.js → dist-63YBVZW4.js} +9 -9
- package/dist/{dist-MBPDLQUR.js → dist-BUCKUE4V.js} +2 -2
- package/dist/{dist-7IANPBF4.js → dist-CBPQZPQN.js} +8 -8
- package/dist/{dist-7RMVQOWJ.js → dist-E4VLIH3H.js} +8 -8
- package/dist/{dist-NJOKYHDI.js → dist-FHPNYDCF.js} +3 -3
- package/dist/{dist-H4FFY5TX.js → dist-MITAKWKQ.js} +8 -8
- package/dist/{dist-64YIP2AZ.js → dist-TJJ6KBNZ.js} +4 -4
- package/dist/{dist-UGI5L7BN.js → dist-XSAPZOEG.js} +8 -8
- package/dist/{host-reach-drainer-GTNLQWWM.js → host-reach-drainer-XFLSMTSX.js} +2 -2
- package/dist/hub-OMGLWQEV.js +39 -0
- package/dist/{hub-adopt-TVDMOZSP.js → hub-adopt-IYZ3WXYN.js} +7 -7
- package/dist/{hub-api-client-RISAC6GB.js → hub-api-client-WOZ2BQ6H.js} +4 -4
- package/dist/{hub-docker-target-QEALUMIZ.js → hub-docker-target-IQHX6OYX.js} +14 -14
- package/dist/index.js +61 -61
- package/dist/{plugin-update-LG45ZFCU.js → plugin-update-2ACFHFUI.js} +5 -5
- package/dist/prepare-OOZF37J6.js +45 -0
- package/dist/prepared-custody-E7CSZJ6V.js +39 -0
- package/dist/{prepared-state-FO74QUCP-SW3QMBW5.js → prepared-state-FO74QUCP-PZLOM6HD.js} +4 -4
- package/dist/{publish-credentials-T7DDJVC4.js → publish-credentials-TO5IIW2T.js} +9 -9
- package/dist/{registry-UCFNYOAU.js → registry-X33JZU6B.js} +5 -5
- package/dist/relay-7D5NOFKS.js +22 -0
- package/dist/{remote-docker-share-SY7CWW5R.js → remote-docker-share-YADHIHXV.js} +11 -11
- package/dist/{tool-grant-push-OJHLVAPZ.js → tool-grant-push-7G2QAN3J.js} +3 -3
- package/package.json +1 -1
- package/runtime/_shared/ctl.cjs +20 -7
- package/runtime/digitalocean/ctl.cjs +20 -7
- package/runtime/docker/packages/ctl/dist/bin.cjs +20 -7
- package/runtime/e2b/ctl.cjs +20 -7
- package/runtime/hetzner/ctl.cjs +20 -7
- 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/packages_agent-registry_dist_index_1ze3mqq.js +28 -19
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/packages_agent-registry_dist_index_0z476w4.js +26 -17
- 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-FQY5OEWX.js → chunk-2LE76CT3.js} +19 -6
- package/runtime/hub/apps/hub/{chunk-VNLPJ45F.js → chunk-7IIG6MIB.js} +9 -9
- package/runtime/hub/apps/hub/{chunk-MIETKCV4.js → chunk-7JBH42LK.js} +3 -3
- package/runtime/hub/apps/hub/{chunk-PM2365RW.js → chunk-AAF4CYVH.js} +6 -6
- package/runtime/hub/apps/hub/{chunk-KTWFE5BB.js → chunk-AIFVVQPX.js} +4 -4
- package/runtime/hub/apps/hub/{chunk-ORTYCJ2U.js → chunk-F6GOERHP.js} +4 -4
- package/runtime/hub/apps/hub/{chunk-IDL7RJBP.js → chunk-SM2XYDPL.js} +2 -2
- package/runtime/hub/apps/hub/{dist-LMXU56B2.js → dist-BKCL4HAA.js} +5 -5
- package/runtime/hub/apps/hub/{dist-FM26NQ4V.js → dist-D36FTGG6.js} +1 -1
- package/runtime/hub/apps/hub/{dist-4DVVLHK2.js → dist-DS5LGBGK.js} +2 -2
- package/runtime/hub/apps/hub/{dist-VF56FSKH.js → dist-H7NIUVBD.js} +6 -6
- package/runtime/hub/apps/hub/{dist-3IYYT3II.js → dist-LV6CHJVA.js} +5 -5
- package/runtime/hub/apps/hub/{dist-RWN4Z57N.js → dist-MQADLEEQ.js} +5 -5
- package/runtime/hub/apps/hub/{dist-UPKSCLZ2.js → dist-RJBPZWSZ.js} +5 -5
- package/runtime/hub/apps/hub/{dist-OAS6A7E4.js → dist-VENYRIRW.js} +5 -5
- package/runtime/hub/apps/hub/{dist-WA2LO2DU.js → dist-YG4RVC24.js} +6 -6
- package/runtime/hub/apps/hub/{dist-LOZYEDXA.js → dist-YOTRYCRK.js} +4 -4
- package/runtime/hub/apps/hub/{hub-worker-6JAWRLP2.js → hub-worker-DLFLGKCV.js} +7 -7
- package/runtime/hub/apps/hub/{prepared-state-FO74QUCP-QR6ZNI3Q.js → prepared-state-FO74QUCP-FZ6PT4LA.js} +3 -3
- package/runtime/hub/apps/hub/server.js +13 -13
- package/runtime/relay/bin.cjs +20 -7
- package/runtime/vercel/ctl.cjs +20 -7
- package/dist/_cloud-attach-QB72ZV7T.js +0 -31
- package/dist/chunk-7N3CJNR5.js.map +0 -1
- package/dist/hub-C5B3CRP6.js +0 -39
- package/dist/prepare-6JLTXX65.js +0 -45
- package/dist/prepared-custody-YVVTL2ZM.js +0 -39
- package/dist/relay-W73AIA35.js +0 -22
- /package/dist/{_cloud-attach-QB72ZV7T.js.map → _cloud-attach-B3BCOZ7U.js.map} +0 -0
- /package/dist/{chunk-GZHJVCBG.js.map → chunk-2MBELUE6.js.map} +0 -0
- /package/dist/{chunk-ZMNLEZJB.js.map → chunk-4LSLXBFN.js.map} +0 -0
- /package/dist/{chunk-VEO6ZYQY.js.map → chunk-4NO5MO2P.js.map} +0 -0
- /package/dist/{chunk-DKUSSE5G.js.map → chunk-4Y365UYP.js.map} +0 -0
- /package/dist/{chunk-VIB2FMJJ.js.map → chunk-5UX2HAF4.js.map} +0 -0
- /package/dist/{chunk-EHLPIWRR.js.map → chunk-75JF44DH.js.map} +0 -0
- /package/dist/{chunk-MBFN2XNU.js.map → chunk-AAMPHDB2.js.map} +0 -0
- /package/dist/{chunk-WMILLMJZ.js.map → chunk-AYREFYEF.js.map} +0 -0
- /package/dist/{chunk-XHCGVCSA.js.map → chunk-BYZPRB7U.js.map} +0 -0
- /package/dist/{chunk-6RREIUAE.js.map → chunk-C67DVYWA.js.map} +0 -0
- /package/dist/{chunk-JS5DLUUX.js.map → chunk-CUIJ2PIN.js.map} +0 -0
- /package/dist/{chunk-744IB5WM.js.map → chunk-ENFWBFBI.js.map} +0 -0
- /package/dist/{chunk-ZK6KD7ME.js.map → chunk-EP4IFSV5.js.map} +0 -0
- /package/dist/{chunk-SHFU2KSY.js.map → chunk-EXF4PLBN.js.map} +0 -0
- /package/dist/{chunk-MKZHCLFJ.js.map → chunk-GCS5XAPC.js.map} +0 -0
- /package/dist/{chunk-Q3BHXL47.js.map → chunk-IF4VXKJK.js.map} +0 -0
- /package/dist/{chunk-D67Q5MNA.js.map → chunk-IFPTD73K.js.map} +0 -0
- /package/dist/{chunk-GYUOXSUX.js.map → chunk-IQ6BQ2LX.js.map} +0 -0
- /package/dist/{chunk-M42UQWVO.js.map → chunk-IQMDGAMB.js.map} +0 -0
- /package/dist/{chunk-QWUZJCF5.js.map → chunk-KCDLAP5Q.js.map} +0 -0
- /package/dist/{chunk-W7P2HHFI.js.map → chunk-L567TKOK.js.map} +0 -0
- /package/dist/{chunk-E2RPG54S.js.map → chunk-LR5RNEVO.js.map} +0 -0
- /package/dist/{chunk-RNYH5465.js.map → chunk-M6VAID7T.js.map} +0 -0
- /package/dist/{chunk-UENVVGWE.js.map → chunk-MBZ4UOWF.js.map} +0 -0
- /package/dist/{chunk-BMZOMC6X.js.map → chunk-MJZPECVQ.js.map} +0 -0
- /package/dist/{chunk-PYPIECDD.js.map → chunk-NKHRFR5G.js.map} +0 -0
- /package/dist/{chunk-VNXWOWQ7.js.map → chunk-OXBWZG2N.js.map} +0 -0
- /package/dist/{chunk-XLFQXROC.js.map → chunk-PXH3DERD.js.map} +0 -0
- /package/dist/{chunk-QTMUJETE.js.map → chunk-QDVIMN57.js.map} +0 -0
- /package/dist/{chunk-EZPCCJPE.js.map → chunk-QT4MOS6R.js.map} +0 -0
- /package/dist/{chunk-SZTHLJ5J.js.map → chunk-QWWDG5B7.js.map} +0 -0
- /package/dist/{chunk-7PDYVJ2Q.js.map → chunk-RUKTOHK7.js.map} +0 -0
- /package/dist/{chunk-6GJDU3FN.js.map → chunk-VOVRWIBC.js.map} +0 -0
- /package/dist/{chunk-QB7XVOYW.js.map → chunk-VQONUZE4.js.map} +0 -0
- /package/dist/{chunk-V5IMDVV5.js.map → chunk-VWJBQGXD.js.map} +0 -0
- /package/dist/{chunk-S3SJIWSU.js.map → chunk-X6SZPGL5.js.map} +0 -0
- /package/dist/{chunk-QER5WHBC.js.map → chunk-YL3VEQTS.js.map} +0 -0
- /package/dist/{chunk-UWKJ3HIA.js.map → chunk-YSC4VY43.js.map} +0 -0
- /package/dist/{chunk-FVBEUPVM.js.map → chunk-ZUTC2JZM.js.map} +0 -0
- /package/dist/{cli-I6TXLNRQ.js.map → cli-7JW54ZTA.js.map} +0 -0
- /package/dist/{cli-JNOPYAUM.js.map → cli-7Z7BD23R.js.map} +0 -0
- /package/dist/{cli-VU2ALT6L.js.map → cli-HFLU5QTD.js.map} +0 -0
- /package/dist/{cli-W2WNV64V.js.map → cli-KT5X4J74.js.map} +0 -0
- /package/dist/{cli-YYXO4WX5.js.map → cli-XRF7WFE5.js.map} +0 -0
- /package/dist/{control-plane-JUAINN2X.js.map → control-plane-DGLF4MBB.js.map} +0 -0
- /package/dist/{cp-hub-upload-VHU5TBHQ.js.map → cp-hub-upload-7YESYCVS.js.map} +0 -0
- /package/dist/{custody-client-5OHF3SEX.js.map → custody-client-P7SCEDU2.js.map} +0 -0
- /package/dist/{deploy-hetzner-RTQW3B7P.js.map → deploy-hetzner-FOCNRRB2.js.map} +0 -0
- /package/dist/{dist-64YIP2AZ.js.map → dist-2CAWJQT5.js.map} +0 -0
- /package/dist/{dist-7IANPBF4.js.map → dist-36WLI6E2.js.map} +0 -0
- /package/dist/{dist-5HJBDLJP.js.map → dist-54VRDCUU.js.map} +0 -0
- /package/dist/{dist-EDCGUXVI.js.map → dist-63YBVZW4.js.map} +0 -0
- /package/dist/{dist-H4FFY5TX.js.map → dist-BUCKUE4V.js.map} +0 -0
- /package/dist/{dist-H72NQCKO.js.map → dist-CBPQZPQN.js.map} +0 -0
- /package/dist/{dist-7RMVQOWJ.js.map → dist-E4VLIH3H.js.map} +0 -0
- /package/dist/{dist-MBPDLQUR.js.map → dist-FHPNYDCF.js.map} +0 -0
- /package/dist/{dist-NJOKYHDI.js.map → dist-MITAKWKQ.js.map} +0 -0
- /package/dist/{dist-UGI5L7BN.js.map → dist-TJJ6KBNZ.js.map} +0 -0
- /package/dist/{dist-XWDFVTFR.js.map → dist-XSAPZOEG.js.map} +0 -0
- /package/dist/{host-reach-drainer-GTNLQWWM.js.map → host-reach-drainer-XFLSMTSX.js.map} +0 -0
- /package/dist/{hub-C5B3CRP6.js.map → hub-OMGLWQEV.js.map} +0 -0
- /package/dist/{hub-adopt-TVDMOZSP.js.map → hub-adopt-IYZ3WXYN.js.map} +0 -0
- /package/dist/{hub-api-client-RISAC6GB.js.map → hub-api-client-WOZ2BQ6H.js.map} +0 -0
- /package/dist/{hub-docker-target-QEALUMIZ.js.map → hub-docker-target-IQHX6OYX.js.map} +0 -0
- /package/dist/{plugin-update-LG45ZFCU.js.map → plugin-update-2ACFHFUI.js.map} +0 -0
- /package/dist/{prepare-6JLTXX65.js.map → prepare-OOZF37J6.js.map} +0 -0
- /package/dist/{prepared-custody-YVVTL2ZM.js.map → prepared-custody-E7CSZJ6V.js.map} +0 -0
- /package/dist/{prepared-state-FO74QUCP-SW3QMBW5.js.map → prepared-state-FO74QUCP-PZLOM6HD.js.map} +0 -0
- /package/dist/{publish-credentials-T7DDJVC4.js.map → publish-credentials-TO5IIW2T.js.map} +0 -0
- /package/dist/{registry-UCFNYOAU.js.map → registry-X33JZU6B.js.map} +0 -0
- /package/dist/{relay-W73AIA35.js.map → relay-7D5NOFKS.js.map} +0 -0
- /package/dist/{remote-docker-share-SY7CWW5R.js.map → remote-docker-share-YADHIHXV.js.map} +0 -0
- /package/dist/{tool-grant-push-OJHLVAPZ.js.map → tool-grant-push-7G2QAN3J.js.map} +0 -0
- /package/runtime/hub/apps/hub/.next/static/{kg0mtyaaNMvU3P8p7nLPa → o9_g9S5JH-r8bfNfmPa5H}/_buildManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{kg0mtyaaNMvU3P8p7nLPa → o9_g9S5JH-r8bfNfmPa5H}/_clientMiddlewareManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{kg0mtyaaNMvU3P8p7nLPa → o9_g9S5JH-r8bfNfmPa5H}/_ssgManifest.js +0 -0
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
resolveContextFilesFrom,
|
|
16
16
|
variantFingerprint,
|
|
17
17
|
writePreparedStateRaw
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SM2XYDPL.js";
|
|
19
19
|
import {
|
|
20
20
|
execa
|
|
21
21
|
} from "./chunk-EFW34I43.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveAgentInstall
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-2LE76CT3.js";
|
|
25
25
|
|
|
26
26
|
// ../../packages/sandbox-docker/dist/chunk-VYA47X3J.js
|
|
27
27
|
import { dirname as dirname2, resolve as resolve2 } from "path";
|
|
@@ -227,7 +227,7 @@ async function buildImage(opts = {}) {
|
|
|
227
227
|
return ref;
|
|
228
228
|
}
|
|
229
229
|
async function pullOrBuild(ref, fingerprint, opts = {}) {
|
|
230
|
-
const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-FO74QUCP-
|
|
230
|
+
const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-FO74QUCP-FZ6PT4LA.js");
|
|
231
231
|
const registry = opts.registry ?? BOX_IMAGE_REGISTRY;
|
|
232
232
|
const allowPull = opts.allowPull !== false;
|
|
233
233
|
if (allowPull && registry && fingerprint) {
|
|
@@ -325,8 +325,8 @@ async function buildDerivedAgentImage(opts) {
|
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
async function ensureImage(ref = DEFAULT_BOX_IMAGE, opts = {}) {
|
|
328
|
-
const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedMatches: preparedMatches2 } = await import("./prepared-state-FO74QUCP-
|
|
329
|
-
const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-FO74QUCP-
|
|
328
|
+
const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedMatches: preparedMatches2 } = await import("./prepared-state-FO74QUCP-FZ6PT4LA.js");
|
|
329
|
+
const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-FO74QUCP-FZ6PT4LA.js");
|
|
330
330
|
const agentSettings = opts.agentSettings ?? await resolveProjectAgentSettings();
|
|
331
331
|
const agents = normalizeAgentSet(opts.agents);
|
|
332
332
|
const baseRef = ref;
|
|
@@ -406,7 +406,7 @@ function classifyDockerBaseFreshness(input) {
|
|
|
406
406
|
return { state: "fresh" };
|
|
407
407
|
}
|
|
408
408
|
async function evaluateDockerBaseFreshness(opts = {}) {
|
|
409
|
-
const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedShaFor: preparedShaFor2 } = await import("./prepared-state-FO74QUCP-
|
|
409
|
+
const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedShaFor: preparedShaFor2 } = await import("./prepared-state-FO74QUCP-FZ6PT4LA.js");
|
|
410
410
|
const ref = opts.ref ?? DEFAULT_BOX_IMAGE;
|
|
411
411
|
const imagePresent = await imageExists(ref);
|
|
412
412
|
if (!imagePresent) return { state: "unprepared" };
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
preparedMatches,
|
|
10
10
|
pullOrBuild,
|
|
11
11
|
readPreparedDockerState
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AAF4CYVH.js";
|
|
13
13
|
import {
|
|
14
14
|
AGENT_SYNC_SPECS,
|
|
15
15
|
BOX_HOME,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
withServiceSignIn,
|
|
75
75
|
workspaceExcludes,
|
|
76
76
|
writeCredentialBackup
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-SM2XYDPL.js";
|
|
78
78
|
import {
|
|
79
79
|
execa
|
|
80
80
|
} from "./chunk-EFW34I43.js";
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
resolveRemote,
|
|
108
108
|
sanitizeGitArgs,
|
|
109
109
|
upstreamRef
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-2LE76CT3.js";
|
|
111
111
|
import {
|
|
112
112
|
BUILT_IN_DEFAULTS,
|
|
113
113
|
GLOBAL_CONFIG_FILE,
|
|
@@ -2116,7 +2116,7 @@ async function handleRemoteBoxesRequest(req, deps) {
|
|
|
2116
2116
|
async function reapLocalBoxState(boxId, sandboxId, log) {
|
|
2117
2117
|
let removed = false;
|
|
2118
2118
|
try {
|
|
2119
|
-
const { mutateState, readState: readState2, boxSshDirForProvider: boxSshDirForProvider2 } = await import("./dist-
|
|
2119
|
+
const { mutateState, readState: readState2, boxSshDirForProvider: boxSshDirForProvider2 } = await import("./dist-DS5LGBGK.js");
|
|
2120
2120
|
const state = await readState2();
|
|
2121
2121
|
const record = state.boxes.find((b) => b.id === boxId);
|
|
2122
2122
|
if (record) {
|
|
@@ -13,12 +13,12 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
createCloudProvider,
|
|
15
15
|
stageAllAgentStatic
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7JBH42LK.js";
|
|
17
17
|
import {
|
|
18
18
|
detectPortless,
|
|
19
19
|
portlessDoctorRow,
|
|
20
20
|
portlessServiceStatus
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AIFVVQPX.js";
|
|
22
22
|
import {
|
|
23
23
|
SshTunnelManager,
|
|
24
24
|
agentSetArg,
|
|
@@ -49,14 +49,14 @@ import {
|
|
|
49
49
|
waitForSsh,
|
|
50
50
|
writeManagedSecrets,
|
|
51
51
|
writePreparedStateRaw
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-SM2XYDPL.js";
|
|
53
53
|
import {
|
|
54
54
|
execa
|
|
55
55
|
} from "./chunk-EFW34I43.js";
|
|
56
56
|
import {
|
|
57
57
|
UserFacingError,
|
|
58
58
|
resolveAgentInstall
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-2LE76CT3.js";
|
|
60
60
|
import {
|
|
61
61
|
allAgentSettings,
|
|
62
62
|
loadEffectiveConfig,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
resolveAgentInstall,
|
|
21
21
|
resolveRuleRefs,
|
|
22
22
|
substitutePlaceholders
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-2LE76CT3.js";
|
|
24
24
|
import {
|
|
25
25
|
BUILT_IN_DEFAULTS,
|
|
26
26
|
PROVIDERS,
|
|
@@ -5885,7 +5885,7 @@ async function resolveModelAuth(args) {
|
|
|
5885
5885
|
return resolveModelAuthSources(spec, chosen);
|
|
5886
5886
|
}
|
|
5887
5887
|
async function listAvailableSources(spec, env = process.env) {
|
|
5888
|
-
const { findAgentSpec: findAgentSpec2 } = await import("./dist-
|
|
5888
|
+
const { findAgentSpec: findAgentSpec2 } = await import("./dist-D36FTGG6.js");
|
|
5889
5889
|
const out = [];
|
|
5890
5890
|
for (const s of spec.modelAuth?.sources ?? []) {
|
|
5891
5891
|
if (s.kind === "env") {
|
|
@@ -20,16 +20,16 @@ import {
|
|
|
20
20
|
renderInnerCommand,
|
|
21
21
|
resolveCloudCheckpoint,
|
|
22
22
|
writeCloudCheckpointManifest
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-7JBH42LK.js";
|
|
24
24
|
import {
|
|
25
25
|
detectPortless,
|
|
26
26
|
portlessDoctorRow,
|
|
27
27
|
portlessServiceStatus
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-AIFVVQPX.js";
|
|
29
29
|
import {
|
|
30
30
|
BUILD_CONTEXT_DIR,
|
|
31
31
|
computeDockerContextFingerprint
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-AAF4CYVH.js";
|
|
33
33
|
import {
|
|
34
34
|
BOX_IMAGE_REGISTRY,
|
|
35
35
|
SshTunnelManager,
|
|
@@ -45,11 +45,11 @@ import {
|
|
|
45
45
|
sshOptArgs,
|
|
46
46
|
variantFingerprint,
|
|
47
47
|
writePreparedStateRaw
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-SM2XYDPL.js";
|
|
49
49
|
import {
|
|
50
50
|
execa
|
|
51
51
|
} from "./chunk-EFW34I43.js";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-2LE76CT3.js";
|
|
53
53
|
import {
|
|
54
54
|
hashProjectPath,
|
|
55
55
|
loadEffectiveConfig,
|
|
@@ -348,12 +348,12 @@ import {
|
|
|
348
348
|
writeManagedSecrets,
|
|
349
349
|
writePreparedStateRaw,
|
|
350
350
|
writeState
|
|
351
|
-
} from "./chunk-
|
|
351
|
+
} from "./chunk-SM2XYDPL.js";
|
|
352
352
|
import "./chunk-EFW34I43.js";
|
|
353
353
|
import {
|
|
354
354
|
resolveAgentInstall,
|
|
355
355
|
visibleAgentSpecs
|
|
356
|
-
} from "./chunk-
|
|
356
|
+
} from "./chunk-2LE76CT3.js";
|
|
357
357
|
import "./chunk-3OTB7DIH.js";
|
|
358
358
|
import "./chunk-TZFWAJVB.js";
|
|
359
359
|
export {
|
|
@@ -50,11 +50,11 @@ import {
|
|
|
50
50
|
validateServerChoice,
|
|
51
51
|
withHetznerRetry,
|
|
52
52
|
writePreparedState
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-F6GOERHP.js";
|
|
54
54
|
import "./chunk-OF242BLD.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-7JBH42LK.js";
|
|
56
|
+
import "./chunk-AIFVVQPX.js";
|
|
57
|
+
import "./chunk-AAF4CYVH.js";
|
|
58
58
|
import {
|
|
59
59
|
mintSshKey,
|
|
60
60
|
scpDownload,
|
|
@@ -62,9 +62,9 @@ import {
|
|
|
62
62
|
sshExec,
|
|
63
63
|
sshOptArgs,
|
|
64
64
|
waitForSsh
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-SM2XYDPL.js";
|
|
66
66
|
import "./chunk-EFW34I43.js";
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-2LE76CT3.js";
|
|
68
68
|
import "./chunk-3OTB7DIH.js";
|
|
69
69
|
import "./chunk-6AVSKCZJ.js";
|
|
70
70
|
import "./chunk-F2JI4GMX.js";
|
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
resolveCloudCheckpoint,
|
|
20
20
|
stageAllAgentStatic,
|
|
21
21
|
writeCloudCheckpointManifest
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-7JBH42LK.js";
|
|
23
|
+
import "./chunk-AIFVVQPX.js";
|
|
24
|
+
import "./chunk-AAF4CYVH.js";
|
|
25
25
|
import {
|
|
26
26
|
agentSetArg,
|
|
27
27
|
computeContextManifest,
|
|
@@ -42,12 +42,12 @@ import {
|
|
|
42
42
|
variantFingerprint,
|
|
43
43
|
writeManagedSecrets,
|
|
44
44
|
writePreparedStateRaw
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-SM2XYDPL.js";
|
|
46
46
|
import "./chunk-EFW34I43.js";
|
|
47
47
|
import {
|
|
48
48
|
UserFacingError,
|
|
49
49
|
resolveAgentInstall
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-2LE76CT3.js";
|
|
51
51
|
import "./chunk-3OTB7DIH.js";
|
|
52
52
|
import "./chunk-6AVSKCZJ.js";
|
|
53
53
|
import "./chunk-F2JI4GMX.js";
|
|
@@ -21,9 +21,9 @@ import {
|
|
|
21
21
|
seedAgentStaticIntoCloudBox,
|
|
22
22
|
stageAllAgentStatic,
|
|
23
23
|
writeCloudCheckpointManifest
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-7JBH42LK.js";
|
|
25
|
+
import "./chunk-AIFVVQPX.js";
|
|
26
|
+
import "./chunk-AAF4CYVH.js";
|
|
27
27
|
import {
|
|
28
28
|
BOX_IMAGE_REGISTRY,
|
|
29
29
|
DOCKER_CONTEXT_FILE_MAP,
|
|
@@ -45,12 +45,12 @@ import {
|
|
|
45
45
|
variantFingerprint,
|
|
46
46
|
writeManagedSecrets,
|
|
47
47
|
writePreparedStateRaw
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-SM2XYDPL.js";
|
|
49
49
|
import "./chunk-EFW34I43.js";
|
|
50
50
|
import {
|
|
51
51
|
providerWarning,
|
|
52
52
|
resolveAgentInstall
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-2LE76CT3.js";
|
|
54
54
|
import {
|
|
55
55
|
DAYTONA_VM_REGION,
|
|
56
56
|
loadEffectiveConfig,
|
|
@@ -23,9 +23,9 @@ import {
|
|
|
23
23
|
resolveCloudCheckpoint,
|
|
24
24
|
stageAllAgentStatic,
|
|
25
25
|
writeCloudCheckpointManifest
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-7JBH42LK.js";
|
|
27
|
+
import "./chunk-AIFVVQPX.js";
|
|
28
|
+
import "./chunk-AAF4CYVH.js";
|
|
29
29
|
import {
|
|
30
30
|
agentSetArg,
|
|
31
31
|
computeContextManifest,
|
|
@@ -46,14 +46,14 @@ import {
|
|
|
46
46
|
variantFingerprint,
|
|
47
47
|
writeManagedSecrets,
|
|
48
48
|
writePreparedStateRaw
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-SM2XYDPL.js";
|
|
50
50
|
import {
|
|
51
51
|
execa
|
|
52
52
|
} from "./chunk-EFW34I43.js";
|
|
53
53
|
import {
|
|
54
54
|
UserFacingError,
|
|
55
55
|
resolveAgentInstall
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-2LE76CT3.js";
|
|
57
57
|
import "./chunk-3OTB7DIH.js";
|
|
58
58
|
import "./chunk-6AVSKCZJ.js";
|
|
59
59
|
import "./chunk-F2JI4GMX.js";
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
verifyDetachedSession,
|
|
77
77
|
writeCloudCheckpointManifest,
|
|
78
78
|
writePreparedToCustodyStore
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-7JBH42LK.js";
|
|
80
80
|
import {
|
|
81
81
|
CODEX_CREDENTIALS_BACKUP_FILE,
|
|
82
82
|
CREDENTIALS_BACKUP_FILE,
|
|
@@ -97,14 +97,14 @@ import {
|
|
|
97
97
|
resetPortlessCache,
|
|
98
98
|
resolvePortlessHostStateDir,
|
|
99
99
|
startPortlessProxy
|
|
100
|
-
} from "./chunk-
|
|
101
|
-
import "./chunk-
|
|
100
|
+
} from "./chunk-AIFVVQPX.js";
|
|
101
|
+
import "./chunk-AAF4CYVH.js";
|
|
102
102
|
import {
|
|
103
103
|
isRealAgentCredential,
|
|
104
104
|
stageAgentsStaticForUpload
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-SM2XYDPL.js";
|
|
106
106
|
import "./chunk-EFW34I43.js";
|
|
107
|
-
import "./chunk-
|
|
107
|
+
import "./chunk-2LE76CT3.js";
|
|
108
108
|
import "./chunk-3OTB7DIH.js";
|
|
109
109
|
import "./chunk-6AVSKCZJ.js";
|
|
110
110
|
import "./chunk-F2JI4GMX.js";
|
|
@@ -2,7 +2,7 @@ import { createRequire as __cr } from 'node:module'; import { fileURLToPath as _
|
|
|
2
2
|
import {
|
|
3
3
|
applyControlPlaneConfig,
|
|
4
4
|
resolveHubDeployAssets
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-F6GOERHP.js";
|
|
6
6
|
import {
|
|
7
7
|
$e,
|
|
8
8
|
BD,
|
|
@@ -18,13 +18,13 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
createCloudProvider,
|
|
20
20
|
stageAllAgentStatic
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7JBH42LK.js";
|
|
22
22
|
import {
|
|
23
23
|
detectPortless,
|
|
24
24
|
portlessDoctorRow,
|
|
25
25
|
portlessServiceStatus
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-AIFVVQPX.js";
|
|
27
|
+
import "./chunk-AAF4CYVH.js";
|
|
28
28
|
import {
|
|
29
29
|
SshTunnelManager,
|
|
30
30
|
agentSetArg,
|
|
@@ -54,14 +54,14 @@ import {
|
|
|
54
54
|
variantFingerprint,
|
|
55
55
|
waitForSsh,
|
|
56
56
|
writePreparedStateRaw
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-SM2XYDPL.js";
|
|
58
58
|
import {
|
|
59
59
|
execa
|
|
60
60
|
} from "./chunk-EFW34I43.js";
|
|
61
61
|
import {
|
|
62
62
|
UserFacingError,
|
|
63
63
|
resolveAgentInstall
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-2LE76CT3.js";
|
|
65
65
|
import {
|
|
66
66
|
loadEffectiveConfig,
|
|
67
67
|
setConfigValue,
|
|
@@ -185,7 +185,7 @@ import {
|
|
|
185
185
|
volumeSettingsTarget,
|
|
186
186
|
volumeSizeBytes,
|
|
187
187
|
vscodeServerVolumeName
|
|
188
|
-
} from "./chunk-
|
|
188
|
+
} from "./chunk-AIFVVQPX.js";
|
|
189
189
|
import {
|
|
190
190
|
BUILD_CONTEXT_DIR,
|
|
191
191
|
DEFAULT_BOX_IMAGE,
|
|
@@ -211,7 +211,7 @@ import {
|
|
|
211
211
|
tagImage,
|
|
212
212
|
variantImageRef,
|
|
213
213
|
writePreparedDockerState
|
|
214
|
-
} from "./chunk-
|
|
214
|
+
} from "./chunk-AAF4CYVH.js";
|
|
215
215
|
import {
|
|
216
216
|
BOX_CLAUDE_PROJECT_DIR,
|
|
217
217
|
BOX_DYNAMIC_SYNC_MANIFEST,
|
|
@@ -243,12 +243,12 @@ import {
|
|
|
243
243
|
resolveClaudeMemoryDir,
|
|
244
244
|
scanHostEnvFiles,
|
|
245
245
|
stageDynamicSyncTarball
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-SM2XYDPL.js";
|
|
247
247
|
import "./chunk-EFW34I43.js";
|
|
248
248
|
import {
|
|
249
249
|
AmbiguousBoxError,
|
|
250
250
|
BoxNotFoundError
|
|
251
|
-
} from "./chunk-
|
|
251
|
+
} from "./chunk-2LE76CT3.js";
|
|
252
252
|
import "./chunk-3OTB7DIH.js";
|
|
253
253
|
import "./chunk-6AVSKCZJ.js";
|
|
254
254
|
import "./chunk-F2JI4GMX.js";
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
hydratePreparedFromCustody,
|
|
4
4
|
isRuntimeProviderName,
|
|
5
5
|
loadProviderModuleByName
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7IIG6MIB.js";
|
|
7
7
|
import {
|
|
8
8
|
applyProjectSeed,
|
|
9
9
|
startDetachedCloudAgent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7JBH42LK.js";
|
|
11
11
|
import {
|
|
12
12
|
FsCustodyStore,
|
|
13
13
|
GitHubAppLeaser,
|
|
@@ -20,8 +20,8 @@ import {
|
|
|
20
20
|
queueLogPath,
|
|
21
21
|
toAuthedHttpsUrl,
|
|
22
22
|
toHttpsUrl
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-AIFVVQPX.js";
|
|
24
|
+
import "./chunk-AAF4CYVH.js";
|
|
25
25
|
import {
|
|
26
26
|
AGENT_SYNC_SPECS,
|
|
27
27
|
HUB_WORKER_CLONE_PREFIX,
|
|
@@ -32,13 +32,13 @@ import {
|
|
|
32
32
|
resolveAgentSpec,
|
|
33
33
|
shouldAcceptCredentialUpdate,
|
|
34
34
|
writeCredentialBackup
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-SM2XYDPL.js";
|
|
36
36
|
import "./chunk-EFW34I43.js";
|
|
37
37
|
import {
|
|
38
38
|
isServiceAgent,
|
|
39
39
|
resolveAgentLauncher,
|
|
40
40
|
toQueueKind
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-2LE76CT3.js";
|
|
42
42
|
import {
|
|
43
43
|
parseProviderSpec
|
|
44
44
|
} from "./chunk-3OTB7DIH.js";
|
|
@@ -200,7 +200,7 @@ function makeHubCreateBox(opts) {
|
|
|
200
200
|
const { name: providerName, remoteHost } = parseProviderSpec(provider);
|
|
201
201
|
if (!isRuntimeProviderName(providerName)) throw new Error(`unknown provider ${provider}`);
|
|
202
202
|
if (remoteHost) {
|
|
203
|
-
const rd = await import("./dist-
|
|
203
|
+
const rd = await import("./dist-BKCL4HAA.js");
|
|
204
204
|
if (!rd.getHostAlias(remoteHost)) {
|
|
205
205
|
throw new Error(
|
|
206
206
|
`unknown remote-docker host '${remoteHost}' on this hub \u2014 share it from the machine that owns it (\`agentbox remote-docker share ${remoteHost}\`)`
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
readPreparedDockerState,
|
|
9
9
|
resolveContextFiles,
|
|
10
10
|
writePreparedDockerState
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-AAF4CYVH.js";
|
|
12
|
+
import "./chunk-SM2XYDPL.js";
|
|
13
13
|
import "./chunk-EFW34I43.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-2LE76CT3.js";
|
|
15
15
|
import "./chunk-3OTB7DIH.js";
|
|
16
16
|
import "./chunk-TZFWAJVB.js";
|
|
17
17
|
export {
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
isRuntimeProviderName,
|
|
9
9
|
loadProviderModuleByName,
|
|
10
10
|
registrationProjectKey
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7IIG6MIB.js";
|
|
12
12
|
import {
|
|
13
13
|
baseFreshnessFromFingerprints,
|
|
14
14
|
currentCloudBaseFingerprint,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
openWebAppOnVncScreen,
|
|
19
19
|
registerAgentCloudModule,
|
|
20
20
|
resolveCloudCheckpoint
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7JBH42LK.js";
|
|
22
22
|
import {
|
|
23
23
|
CONTAINER_USER,
|
|
24
24
|
FsCustodyStore,
|
|
@@ -59,8 +59,8 @@ import {
|
|
|
59
59
|
syncClaudeCredentials,
|
|
60
60
|
volumeExists,
|
|
61
61
|
writeQueueLoginCode
|
|
62
|
-
} from "./chunk-
|
|
63
|
-
import "./chunk-
|
|
62
|
+
} from "./chunk-AIFVVQPX.js";
|
|
63
|
+
import "./chunk-AAF4CYVH.js";
|
|
64
64
|
import {
|
|
65
65
|
AGENT_SYNC_SPECS,
|
|
66
66
|
BOTS_DIR_REL,
|
|
@@ -135,7 +135,7 @@ import {
|
|
|
135
135
|
toFileRow,
|
|
136
136
|
uploadWorkspaceToBox,
|
|
137
137
|
writeBackupManifest
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-SM2XYDPL.js";
|
|
139
139
|
import {
|
|
140
140
|
execa
|
|
141
141
|
} from "./chunk-EFW34I43.js";
|
|
@@ -154,7 +154,7 @@ import {
|
|
|
154
154
|
resolveCreatePersistent,
|
|
155
155
|
resolveRuleRefs,
|
|
156
156
|
visibleAgentSpecs
|
|
157
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-2LE76CT3.js";
|
|
158
158
|
import {
|
|
159
159
|
CLOUD_PROVIDER_NAMES,
|
|
160
160
|
agentSettings,
|
|
@@ -3577,7 +3577,7 @@ var freshnessCache = /* @__PURE__ */ new Map();
|
|
|
3577
3577
|
async function providerBaseFreshness(id) {
|
|
3578
3578
|
if (id === "docker") {
|
|
3579
3579
|
try {
|
|
3580
|
-
const { evaluateDockerBaseFreshness } = await import("./dist-
|
|
3580
|
+
const { evaluateDockerBaseFreshness } = await import("./dist-YOTRYCRK.js");
|
|
3581
3581
|
return await evaluateDockerBaseFreshness();
|
|
3582
3582
|
} catch {
|
|
3583
3583
|
return { state: "unknown" };
|
|
@@ -3646,7 +3646,7 @@ async function providerBakeDiff(id) {
|
|
|
3646
3646
|
}
|
|
3647
3647
|
}
|
|
3648
3648
|
async function loadRemoteDockerHostViews() {
|
|
3649
|
-
const rd = await import("./dist-
|
|
3649
|
+
const rd = await import("./dist-BKCL4HAA.js");
|
|
3650
3650
|
const prepared = rd.readPreparedState();
|
|
3651
3651
|
const cfg = await loadEffectiveConfig(os2.homedir());
|
|
3652
3652
|
const dflt = (cfg.effective.box.remoteDockerHost || "").trim();
|
|
@@ -4503,7 +4503,7 @@ function createHubBackend(handle) {
|
|
|
4503
4503
|
const spec = parseProviderSpec(provider);
|
|
4504
4504
|
if (spec.remoteHost) {
|
|
4505
4505
|
const alias = spec.remoteHost;
|
|
4506
|
-
const rd = await import("./dist-
|
|
4506
|
+
const rd = await import("./dist-BKCL4HAA.js");
|
|
4507
4507
|
if (!rd.getHostAlias(alias)) {
|
|
4508
4508
|
return {
|
|
4509
4509
|
ok: false,
|
|
@@ -5234,7 +5234,7 @@ function createHubBackend(handle) {
|
|
|
5234
5234
|
},
|
|
5235
5235
|
async addRemoteDockerHost(alias, ssh, opts) {
|
|
5236
5236
|
try {
|
|
5237
|
-
const rd = await import("./dist-
|
|
5237
|
+
const rd = await import("./dist-BKCL4HAA.js");
|
|
5238
5238
|
const trimmedSsh = ssh.trim();
|
|
5239
5239
|
if (!rd.isValidAlias(alias)) {
|
|
5240
5240
|
return {
|
|
@@ -5283,7 +5283,7 @@ function createHubBackend(handle) {
|
|
|
5283
5283
|
},
|
|
5284
5284
|
async removeRemoteDockerHost(alias) {
|
|
5285
5285
|
try {
|
|
5286
|
-
const rd = await import("./dist-
|
|
5286
|
+
const rd = await import("./dist-BKCL4HAA.js");
|
|
5287
5287
|
rd.removeHostAlias(alias);
|
|
5288
5288
|
rd.removePreparedHost(alias);
|
|
5289
5289
|
const cfg = await loadEffectiveConfig(os2.homedir());
|
|
@@ -5301,7 +5301,7 @@ function createHubBackend(handle) {
|
|
|
5301
5301
|
},
|
|
5302
5302
|
async bakeRemoteDockerHost(alias) {
|
|
5303
5303
|
try {
|
|
5304
|
-
const rd = await import("./dist-
|
|
5304
|
+
const rd = await import("./dist-BKCL4HAA.js");
|
|
5305
5305
|
if (!rd.getHostAlias(alias)) return { ok: false, error: `no such host alias ${alias}` };
|
|
5306
5306
|
const spec = `docker:${alias}`;
|
|
5307
5307
|
const existing = (await loadQueue()).find(
|
|
@@ -5920,7 +5920,7 @@ async function main() {
|
|
|
5920
5920
|
}
|
|
5921
5921
|
let worker;
|
|
5922
5922
|
if (process.env.AGENTBOX_HUB_WORKER === "on") {
|
|
5923
|
-
const { startHubWorker } = await import("./hub-worker-
|
|
5923
|
+
const { startHubWorker } = await import("./hub-worker-DLFLGKCV.js");
|
|
5924
5924
|
worker = startHubWorker({
|
|
5925
5925
|
store: daemon.handle.store,
|
|
5926
5926
|
log: (line) => process.stdout.write(`agentbox-hub-worker: ${line}
|
package/runtime/relay/bin.cjs
CHANGED
|
@@ -21363,16 +21363,19 @@ function buildModelAuthScript() {
|
|
|
21363
21363
|
// ingest" rather than a failed import.
|
|
21364
21364
|
`if ! node -e ${sq(MODEL_AUTH_IS_CODEX_LOGIN)} "$auth"; then echo "openclaw-model-auth: $auth is not a Codex ChatGPT login"; exit 0; fi`,
|
|
21365
21365
|
'seen=$(sha256sum "$auth" | cut -d" " -f1)',
|
|
21366
|
+
`codex_trusted() { openclaw plugins inspect codex --json 2>/dev/null | node -e ${sq(MODEL_AUTH_PLUGIN_TRUSTED)}; }`,
|
|
21367
|
+
// The plugin owns both the import command and the harness the default
|
|
21368
|
+
// model runs on. Before the marker gate, so an imported box whose plugin
|
|
21369
|
+
// lost its record is repaired rather than skipped. `--force` because the
|
|
21370
|
+
// untrusted case leaves the directory behind.
|
|
21371
|
+
"if ! codex_trusted; then",
|
|
21372
|
+
' echo "openclaw-model-auth: installing the @openclaw/codex plugin"',
|
|
21373
|
+
" openclaw plugins install clawhub:@openclaw/codex --force || exit 0",
|
|
21374
|
+
"fi",
|
|
21366
21375
|
'if [ -f "$marker" ] && [ "$(cat "$marker")" = "$seen" ]; then',
|
|
21367
21376
|
' echo "openclaw-model-auth: this Codex login is already imported"',
|
|
21368
21377
|
" exit 0",
|
|
21369
21378
|
"fi",
|
|
21370
|
-
// The plugin owns both the import command and the harness the default
|
|
21371
|
-
// model runs on.
|
|
21372
|
-
`if [ ! -d ${sq(`${OPENCLAW_BOX_DIR}/extensions/codex`)} ]; then`,
|
|
21373
|
-
' echo "openclaw-model-auth: installing the @openclaw/codex plugin"',
|
|
21374
|
-
" openclaw plugins install clawhub:@openclaw/codex || exit 0",
|
|
21375
|
-
"fi",
|
|
21376
21379
|
'echo "openclaw-model-auth: importing the Codex login into the OpenClaw auth store"',
|
|
21377
21380
|
// `--no-backup --force`: the pre-migration archive would snapshot a state
|
|
21378
21381
|
// dir that is fresh on the boot this runs, and the migration report is
|
|
@@ -21380,6 +21383,11 @@ function buildModelAuthScript() {
|
|
|
21380
21383
|
`if openclaw migrate apply codex --from ${sq(home)} --include-secrets --item auth:openai --yes --no-backup --force; then`,
|
|
21381
21384
|
' printf %s "$seen" > "$marker" && chmod 600 "$marker"',
|
|
21382
21385
|
"fi",
|
|
21386
|
+
// The one record loss observed happened across the import, not the install.
|
|
21387
|
+
"if ! codex_trusted; then",
|
|
21388
|
+
' echo "openclaw-model-auth: the @openclaw/codex plugin lost its install record; reinstalling"',
|
|
21389
|
+
" openclaw plugins install clawhub:@openclaw/codex --force || true",
|
|
21390
|
+
"fi",
|
|
21383
21391
|
"exit 0"
|
|
21384
21392
|
].join("\n");
|
|
21385
21393
|
}
|
|
@@ -21695,7 +21703,7 @@ function builtinAgentIds() {
|
|
|
21695
21703
|
function findAgentSpec(id) {
|
|
21696
21704
|
return AGENT_SPECS.find((s) => s.id === id || s.aliases.includes(id));
|
|
21697
21705
|
}
|
|
21698
|
-
var import_path8, import_path9, import_path10, import_path11, import_path12, import_fs2, import_promises21, import_path13, CLAUDE_BOX_DIR, SEED_SETUP_SKILL, claudeSpec, CODEX_BOX_DIR, CODEX_HOOKS_PATH, codexSpec, EXAMPLE_BOX_DIR, exampleSpec, OPENCLAW_BOX_DIR, OPENCLAW_XDG_SUBPATH, OPENCLAW_XDG_BOX_DIR, OPENCLAW_XDG_LINK, GATEWAY_PORT, AGENTBOX_SKILLS_DIR, BAKED_SETUP_SKILL, BAKED_IDENTITY_SKILL, IDENTITY_SENTINEL, WORKSPACE_YAML, BOX_FACTS, AGENTBOX_CTX_DIR, CTX_SENTINEL, MERGE_PROGRAM_PATH, CTX_REL_PATH, OPENCLAW_CONFIG_MERGE_PROGRAM, IDENTITY_NUDGE_TEXT, MODEL_AUTH_MARKER, MODEL_AUTH_IS_CODEX_LOGIN, openclawSpec, IMPORT_JS, OPENCODE_BOX_DIR, OPENCODE_PLUGIN_PATH, opencodeSpec, PI_BOX_DIR, PI_EXTENSION_PATH, piSpec, SUPPORTED_AGENT_API_VERSIONS, AGENTS_FILE_VERSION, EMPTY, REQUIRED_SPEC_FIELDS, RECIPE_KINDS, RUN_AS, BUILTIN_AGENT_SPECS, AGENT_SPECS;
|
|
21706
|
+
var import_path8, import_path9, import_path10, import_path11, import_path12, import_fs2, import_promises21, import_path13, CLAUDE_BOX_DIR, SEED_SETUP_SKILL, claudeSpec, CODEX_BOX_DIR, CODEX_HOOKS_PATH, codexSpec, EXAMPLE_BOX_DIR, exampleSpec, OPENCLAW_BOX_DIR, OPENCLAW_XDG_SUBPATH, OPENCLAW_XDG_BOX_DIR, OPENCLAW_XDG_LINK, GATEWAY_PORT, AGENTBOX_SKILLS_DIR, BAKED_SETUP_SKILL, BAKED_IDENTITY_SKILL, IDENTITY_SENTINEL, WORKSPACE_YAML, BOX_FACTS, AGENTBOX_CTX_DIR, CTX_SENTINEL, MERGE_PROGRAM_PATH, CTX_REL_PATH, OPENCLAW_CONFIG_MERGE_PROGRAM, IDENTITY_NUDGE_TEXT, MODEL_AUTH_MARKER, MODEL_AUTH_PLUGIN_TRUSTED, MODEL_AUTH_IS_CODEX_LOGIN, openclawSpec, IMPORT_JS, OPENCODE_BOX_DIR, OPENCODE_PLUGIN_PATH, opencodeSpec, PI_BOX_DIR, PI_EXTENSION_PATH, piSpec, SUPPORTED_AGENT_API_VERSIONS, AGENTS_FILE_VERSION, EMPTY, REQUIRED_SPEC_FIELDS, RECIPE_KINDS, RUN_AS, BUILTIN_AGENT_SPECS, AGENT_SPECS;
|
|
21699
21707
|
var init_dist3 = __esm({
|
|
21700
21708
|
"../agent-registry/dist/index.js"() {
|
|
21701
21709
|
"use strict";
|
|
@@ -22098,6 +22106,11 @@ process.stdout.write(
|
|
|
22098
22106
|
""
|
|
22099
22107
|
].join("\n");
|
|
22100
22108
|
MODEL_AUTH_MARKER = `${OPENCLAW_BOX_DIR}/.agentbox-model-auth.sha256`;
|
|
22109
|
+
MODEL_AUTH_PLUGIN_TRUSTED = `
|
|
22110
|
+
let j;
|
|
22111
|
+
try { const s = require('fs').readFileSync(0, 'utf8'); j = JSON.parse(s.slice(s.indexOf('{'))); } catch { process.exit(1); }
|
|
22112
|
+
process.exit(j?.plugin?.trust?.reason === 'trusted-official' ? 0 : 1);
|
|
22113
|
+
`;
|
|
22101
22114
|
MODEL_AUTH_IS_CODEX_LOGIN = `
|
|
22102
22115
|
const j = JSON.parse(require('fs').readFileSync(process.argv[1], 'utf8'));
|
|
22103
22116
|
process.exit(typeof j?.tokens?.refresh_token === 'string' && j.tokens.refresh_token.length > 0 ? 0 : 1);
|