@madarco/agentbox 0.28.1 → 0.29.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 +124 -0
- package/dist/_cloud-attach-HKRHYCY7.js +30 -0
- package/dist/{chunk-JNC7MCWJ.js → chunk-3INUZQTR.js} +10 -10
- package/dist/chunk-3INUZQTR.js.map +1 -0
- package/dist/{chunk-4PR3KJ5X.js → chunk-6PIGTR4D.js} +20 -20
- package/dist/{chunk-NHVGKFVY.js → chunk-7LNXTPEE.js} +340 -22
- package/dist/chunk-7LNXTPEE.js.map +1 -0
- package/dist/{chunk-WB6S4W7O.js → chunk-7Q6BG5AN.js} +2413 -1012
- package/dist/chunk-7Q6BG5AN.js.map +1 -0
- package/dist/{chunk-BUMKBUXS.js → chunk-7QU6XENE.js} +3 -3
- package/dist/chunk-BWE2I5QG.js +17 -0
- package/dist/chunk-BWE2I5QG.js.map +1 -0
- package/dist/{chunk-7ABO7OIF.js → chunk-CO2I3CQI.js} +4 -4
- package/dist/{chunk-OUF3YTQO.js → chunk-DBXCFLAR.js} +14 -17
- package/dist/chunk-DBXCFLAR.js.map +1 -0
- package/dist/{chunk-74VIUGY6.js → chunk-DYETLPUT.js} +6 -9
- package/dist/chunk-DYETLPUT.js.map +1 -0
- package/dist/{chunk-HYXCH4GA.js → chunk-EFVTQ7YB.js} +7 -7
- package/dist/{chunk-46NNZMZT.js → chunk-EPFXLXCW.js} +372 -72
- package/dist/chunk-EPFXLXCW.js.map +1 -0
- package/dist/chunk-GWKGSXDC.js +71 -0
- package/dist/chunk-GWKGSXDC.js.map +1 -0
- package/dist/{chunk-CKD3PRON.js → chunk-GWYD7YBK.js} +12 -9
- package/dist/{chunk-CKD3PRON.js.map → chunk-GWYD7YBK.js.map} +1 -1
- package/dist/{chunk-NHTRTST5.js → chunk-HNWZO2XU.js} +38 -15
- package/dist/chunk-HNWZO2XU.js.map +1 -0
- package/dist/{chunk-EVT2SNF2.js → chunk-HO2ACZES.js} +3 -3
- package/dist/{chunk-V5NWSLWD.js → chunk-HP4L45LW.js} +14 -14
- package/dist/{chunk-B4DAH2F2.js → chunk-LHOKRCNF.js} +3 -3
- package/dist/{chunk-G3H2L3O2.js → chunk-MNDKP4VS.js} +23 -3
- package/dist/chunk-MNDKP4VS.js.map +1 -0
- package/dist/{chunk-JDSYMTMS.js → chunk-NAT2H7J4.js} +110 -66
- package/dist/chunk-NAT2H7J4.js.map +1 -0
- package/dist/{chunk-KFLGXE3R.js → chunk-NGERWFSA.js} +133 -22
- package/dist/chunk-NGERWFSA.js.map +1 -0
- package/dist/{chunk-GFOWBXV7.js → chunk-OKLEPEWZ.js} +460 -253
- package/dist/chunk-OKLEPEWZ.js.map +1 -0
- package/dist/{chunk-YI4GHC2E.js → chunk-QU5BI2HC.js} +12 -15
- package/dist/chunk-QU5BI2HC.js.map +1 -0
- package/dist/{chunk-BWM56FKY.js → chunk-RQURMAPA.js} +11 -11
- package/dist/{chunk-FPMRFMVK.js → chunk-RZCLRWNY.js} +9 -9
- package/dist/{chunk-JQLOGVZK.js → chunk-THUST2QK.js} +85 -21
- package/dist/chunk-THUST2QK.js.map +1 -0
- package/dist/{chunk-OXKW4GWD.js → chunk-UPVP6YGJ.js} +4 -70
- package/dist/chunk-UPVP6YGJ.js.map +1 -0
- package/dist/{chunk-7RSE7ESY.js → chunk-VVNXQ4XS.js} +27 -18
- package/dist/chunk-VVNXQ4XS.js.map +1 -0
- package/dist/{chunk-FGQFVUMH.js → chunk-VY54AX4T.js} +3 -3
- package/dist/{chunk-OUWVN2F2.js → chunk-WGNI24H2.js} +16 -13
- package/dist/chunk-WGNI24H2.js.map +1 -0
- package/dist/{chunk-PSA6GADQ.js → chunk-WHFCJBMO.js} +14 -1
- package/dist/chunk-WHFCJBMO.js.map +1 -0
- package/dist/{chunk-KJ5TCYNI.js → chunk-WHJYOO5H.js} +7 -6
- package/dist/chunk-WHJYOO5H.js.map +1 -0
- package/dist/cloud-backends.js +5 -5
- package/dist/{cloud-poller-SUNA6ZQC-7M5LJHHE.js → cloud-poller-QJRZXB4W-LJ2BRB3L.js} +2 -2
- package/dist/{control-plane-5R7PYRQ6.js → control-plane-UKKYXHIQ.js} +19 -18
- package/dist/cp-hub-upload-BM2OLTOS.js +81 -0
- package/dist/cp-hub-upload-BM2OLTOS.js.map +1 -0
- package/dist/{custody-client-PNCC2HBJ.js → custody-client-NPXJ46TB.js} +5 -4
- package/dist/{deploy-hetzner-SSGSXAKA.js → deploy-hetzner-Y3ILCDRF.js} +10 -10
- package/dist/{dist-RN6JOAG4.js → dist-5OGQ3CJQ.js} +81 -45
- package/dist/{dist-5OR4QTQW.js → dist-7B3VCLZI.js} +9 -9
- package/dist/{dist-EPFS5PRI.js → dist-A5ZEIVAW.js} +10 -10
- package/dist/{dist-6PYXFREL.js → dist-DOEGENNW.js} +61 -16
- package/dist/dist-DOEGENNW.js.map +1 -0
- package/dist/{dist-XQLKK7H3.js → dist-EOGD7KD6.js} +54 -28
- package/dist/dist-EOGD7KD6.js.map +1 -0
- package/dist/{dist-XATN4ZIR.js → dist-FBM2WS5S.js} +22 -4
- package/dist/{dist-POILUDVJ.js → dist-MUTFY7FA.js} +9 -9
- package/dist/{dist-ZNQZHTUN.js → dist-SMDXLPZO.js} +35 -6
- package/dist/{dist-M4O5MU5K.js → dist-VTLQKZ2E.js} +8 -8
- package/dist/{dist-SN2TCRZ5.js → dist-ZJIJHCZB.js} +9 -9
- package/dist/{dist-K5M4HKG7.js → dist-ZNYS7CVF.js} +21 -9
- package/dist/host-reach-drainer-ZJU2STQQ.js +9 -0
- package/dist/hub-Q4VOF4WN.js +37 -0
- package/dist/{hub-adopt-I44VGSBL.js → hub-adopt-OA336ZXZ.js} +8 -8
- package/dist/{hub-api-client-WJPBXZAZ.js → hub-api-client-5U6WOTZ3.js} +2 -2
- package/dist/{hub-docker-target-REEEWUG2.js → hub-docker-target-JKFCABK4.js} +16 -16
- package/dist/index.js +1321 -882
- package/dist/index.js.map +1 -1
- package/dist/prepare-GFWWKWGF.js +41 -0
- package/dist/prepared-custody-KU4PDVBT.js +36 -0
- package/dist/{prepared-state-PV3GUBHO-MF56HWMZ.js → prepared-state-LNQ7DYSU-AR5RMXAO.js} +4 -3
- package/dist/{publish-credentials-BPHUO5VL.js → publish-credentials-3SQXX45P.js} +11 -11
- package/dist/registry-AFKV3EO2.js +18 -0
- package/dist/relay-QH6OEY2V.js +20 -0
- package/dist/relay-QH6OEY2V.js.map +1 -0
- package/dist/{remote-docker-share-RX5ARK45.js → remote-docker-share-RMS6IB5X.js} +11 -11
- package/dist/remote-docker-share-RMS6IB5X.js.map +1 -0
- package/dist/tool-grant-push-T6DRBY3W.js +90 -0
- package/dist/tool-grant-push-T6DRBY3W.js.map +1 -0
- package/package.json +1 -2
- package/runtime/_shared/agentbox-tool-shim +21 -0
- package/runtime/_shared/ctl.cjs +6757 -5299
- package/runtime/_shared/gh-shim +103 -228
- package/runtime/digitalocean/agentbox-tool-shim +21 -0
- package/runtime/digitalocean/ctl.cjs +6757 -5299
- package/runtime/digitalocean/gh-shim +103 -228
- package/runtime/digitalocean/scripts/install-box.sh +9 -15
- package/runtime/docker/Dockerfile.box +8 -18
- package/runtime/docker/packages/ctl/dist/bin.cjs +6757 -5299
- package/runtime/docker/packages/sandbox-docker/scripts/agentbox-tool-shim +21 -0
- package/runtime/docker/packages/sandbox-docker/scripts/gh-shim +103 -228
- package/runtime/e2b/agentbox-tool-shim +21 -0
- package/runtime/e2b/ctl.cjs +6757 -5299
- package/runtime/e2b/gh-shim +103 -228
- package/runtime/e2b/scripts/build-template.sh +5 -9
- package/runtime/hetzner/agentbox-tool-shim +21 -0
- package/runtime/hetzner/ctl.cjs +6757 -5299
- package/runtime/hetzner/gh-shim +103 -228
- package/runtime/hetzner/scripts/install-box.sh +9 -15
- package/runtime/hub/apps/hub/.next/BUILD_ID +1 -1
- package/runtime/hub/apps/hub/.next/app-path-routes-manifest.json +2 -0
- package/runtime/hub/apps/hub/.next/build-manifest.json +3 -3
- package/runtime/hub/apps/hub/.next/routes-manifest.json +16 -0
- package/runtime/hub/apps/hub/.next/server/app/(auth)/api/auth/[...all]/route.js +5 -5
- package/runtime/hub/apps/hub/.next/server/app/(auth)/api/auth/[...all]/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/[id]/answer/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/[id]/answer/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/[action]/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/[action]/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/agent/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/agent/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/branches/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/branches/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/checkpoint/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/checkpoint/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/[op]/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/[op]/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/logs/route.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/logs/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/open/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/open/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/rename/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/rename/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/restart/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/restart/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/vnc/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/vnc/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/vnc/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/vnc/route.js +8 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/vnc/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/vnc/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/vnc/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/checkpoints/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/checkpoints/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/[...path]/route.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/[...path]/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/blob/[...path]/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/blob/[...path]/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/health/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/health/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/bake/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/bake/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/login-code/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/login-code/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/logs/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/logs/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/open-targets/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/open-targets/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/branches/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/branches/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/seed/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/seed/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/credentials/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/credentials/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/prepare/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/prepare/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/prune/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/prune/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/system/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/system/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page_client-reference-manifest.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/vnc/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/vnc/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/vnc/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/vnc/route.js +8 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/vnc/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/vnc/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/vnc/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/custody/page.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/custody/page.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page_client-reference-manifest.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/system/page.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/system/page.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/[...path]/route.js +4 -4
- package/runtime/hub/apps/hub/.next/server/app/[...path]/route.js.nft.json +1 -1
- 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/app-paths-manifest.json +2 -0
- package/runtime/hub/apps/hub/.next/server/chunks/044u_hub__next-internal_server_app_(dashboard)_boxes_[id]_vnc_route_actions_1cy1392.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_boxes_[id]_vnc_route_actions_10y_e83.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/{[externals]__1nj4awx._.js → [externals]__02a249v._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__00f9v4p._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__01nppdu._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__02f8rwr._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__068_052._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__06ma5m4._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__07kp2fu._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__1yi-2wa._.js → [root-of-the-server]__08u01ud._.js} +3 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__098bkh3._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__1hxo1tv._.js → [root-of-the-server]__09hbkgm._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__09tmbom._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0_3m9sf._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0aotdzg._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0bn6-pu._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0cpt9f9._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0d1lmiq._.js +15 -15
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0dom248._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0f0bb7o._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0gb04bp._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0glplq7._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__0xrdbh9._.js → [root-of-the-server]__0gxfyol._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0hsb2ak._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0joqm8t._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0jp-895._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__1leda2s._.js → [root-of-the-server]__0jpqg_t._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__17bhgkz._.js → [root-of-the-server]__0lgnu00._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0lsv9-6._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0pzgufc._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0qfv7z6._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0qlr61y._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0s8srqi._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0urn9j5._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0vb8mk2._.js +4 -0
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__17w5eaa._.js → [root-of-the-server]__0x27ifo._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0y7rvy1._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0zsgjre._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1-bqa8a._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__11uspjg._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__0zvr6ul._.js → [root-of-the-server]__15tgdh6._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__1ek7nxv._.js → [root-of-the-server]__16bz_kz._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__1w7jw4q._.js → [root-of-the-server]__18tehjj._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__1ds8g0e._.js → [root-of-the-server]__1_hzv4s._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__0cgpsh8._.js → [root-of-the-server]__1b5f5h4._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__10-aihp._.js → [root-of-the-server]__1dv80yf._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1eanlxn._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__16lcb2d._.js → [root-of-the-server]__1fc-nvn._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1h4iahl._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__0f-c-eh._.js → [root-of-the-server]__1j0vnh3._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1lgrtx6._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__1unqgd7._.js → [root-of-the-server]__1lz7931._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__1oclxlx._.js → [root-of-the-server]__1n3u6-5._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1qky5cd._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1r2quye._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1rb_nc5._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__0cv16py._.js → [root-of-the-server]__1spr8ss._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1t_juqb._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__0t8kwy3._.js → [root-of-the-server]__1tct9rj._.js} +3 -3
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__0gfa1jg._.js → [root-of-the-server]__1tjtt06._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__09cigc7._.js → [root-of-the-server]__1whjno0._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1wn4-iv._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1x6zxrf._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__0tyixgg._.js → [root-of-the-server]__1xfxc6i._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__1m1_gm_._.js → [root-of-the-server]__1xqcvi4._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__207d30i._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_07icdxf._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0907rw0._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0adm87k._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0g01mkg._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0l_klgd._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0lfm81x._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0tbg83f._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0tms_au._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0zhli27._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_10yfoq5._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_12uhpbp._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_17a9v8y._.js +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/_1c7x9ee._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1n-c443._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1y80vfg._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_214_q-1._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/apps_hub_app_(dashboard)_api_v1_lib_openapi_ts_1yokmzt._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/{packages_relay_dist_0eg7ay1._.js → packages_relay_dist_0p8dnf4._.js} +4 -4
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/{[root-of-the-server]__1plrs94._.js → [root-of-the-server]__0-c5j6l._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0r2xlss._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/_19vy9ni._.js +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_app_(dashboard)_boxes_[id]_page_tsx_1-j_972._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_app_(dashboard)_settings_page_tsx_0hv6n82._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/{packages_relay_dist_1z9j3g0._.js → packages_relay_dist_0sap-2l._.js} +4 -4
- package/runtime/hub/apps/hub/.next/server/functions-config-manifest.json +3 -1
- package/runtime/hub/apps/hub/.next/server/middleware-build-manifest.js +3 -3
- package/runtime/hub/apps/hub/.next/server/middleware.js +1 -1
- package/runtime/hub/apps/hub/.next/server/pages/500.html +1 -1
- package/runtime/hub/apps/hub/.next/static/chunks/{328ny-3zs_h7m.js → 0jefm3re1-2jv.js} +1 -1
- package/runtime/hub/apps/hub/.next/static/chunks/{30h8mz040b5-l.js → 3u4odx1_-dy6b.js} +1 -1
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/boxes/[id]/vnc/route.ts +45 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/lib/openapi.ts +45 -1
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/lib/validate.ts +14 -3
- package/runtime/hub/apps/hub/app/(dashboard)/boxes/[id]/vnc/route.ts +58 -0
- package/runtime/hub/apps/hub/app/(dashboard)/boxes/components/access.tsx +26 -9
- package/runtime/hub/apps/hub/app/(dashboard)/settings/components/provider-actions.tsx +34 -26
- package/runtime/hub/apps/hub/{auth-JMVHQKWY.js → auth-V7KPRWPS.js} +2 -2
- package/runtime/hub/apps/hub/{auth-config-5IFRWOK4.js → auth-config-B3Y3BT2I.js} +2 -2
- package/runtime/hub/apps/hub/{chunk-VKOCY6SX.js → chunk-3AD3MYNV.js} +49 -14
- package/runtime/hub/apps/hub/{chunk-KTVETF3F.js → chunk-3ZDBZYOY.js} +11 -8
- package/runtime/hub/apps/hub/{chunk-LPYK2354.js → chunk-5ABFGGPT.js} +339 -21
- package/runtime/hub/apps/hub/{chunk-UMPTTQBE.js → chunk-GBYD2ODL.js} +458 -251
- package/runtime/hub/apps/hub/{chunk-5TM7XXLT.js → chunk-H5SUXDZA.js} +2833 -1277
- package/runtime/hub/apps/hub/{chunk-QU3FFGJY.js → chunk-UQ5XNPOF.js} +11 -14
- package/runtime/hub/apps/hub/{chunk-3LAHFDJF.js → chunk-VWQNSZGI.js} +22 -2
- package/runtime/hub/apps/hub/{chunk-EZUK53CC.js → chunk-WHGY7HOC.js} +85 -21
- package/runtime/hub/apps/hub/{chunk-D33EV4YZ.js → chunk-ZP4RYI4U.js} +1 -1
- package/runtime/hub/apps/hub/{cloud-poller-SUNA6ZQC-VSKVMYHL.js → cloud-poller-QJRZXB4W-G7ECKNKQ.js} +1 -1
- package/runtime/hub/apps/hub/{dist-ELZHBQEM.js → dist-37EKQ6RZ.js} +11 -11
- package/runtime/hub/apps/hub/{dist-D265LCAN.js → dist-CGH7PEMZ.js} +21 -3
- package/runtime/hub/apps/hub/{dist-SYWTB6RD.js → dist-CMVSARW5.js} +15 -18
- package/runtime/hub/apps/hub/{dist-5HTJSOHS.js → dist-EGXZRZH2.js} +19 -7
- package/runtime/hub/apps/hub/{dist-YK5FFPXZ.js → dist-EOGGFZZS.js} +62 -20
- package/runtime/hub/apps/hub/{dist-E2FTSTCY.js → dist-LJBHOO3K.js} +34 -5
- package/runtime/hub/apps/hub/{dist-N3E5YAYY.js → dist-R77W6WJ5.js} +53 -26
- package/runtime/hub/apps/hub/{dist-JVEDVVVG.js → dist-TH2JZYZY.js} +7 -7
- package/runtime/hub/apps/hub/{dist-2YP57GMB.js → dist-XPRGHQH2.js} +13 -13
- package/runtime/hub/apps/hub/{dist-NKCXH5DW.js → dist-Z2Y5F7AF.js} +6 -6
- package/runtime/hub/apps/hub/docker-compose.yml +1 -0
- package/runtime/hub/apps/hub/{hub-token-MDOBY7MZ.js → hub-token-DDJ5Z6RS.js} +2 -2
- package/runtime/hub/apps/hub/{hub-worker-UFFLF37F.js → hub-worker-DXVMUQWF.js} +16 -16
- package/runtime/hub/apps/hub/lib/boxes/backend-types.ts +11 -0
- package/runtime/hub/apps/hub/lib/boxes/types.ts +43 -0
- package/runtime/hub/apps/hub/lib/boxes/vnc-link.ts +51 -0
- package/runtime/hub/apps/hub/lib/hub-backend.ts +127 -54
- package/runtime/hub/apps/hub/lib/hub-worker.ts +4 -4
- package/runtime/hub/apps/hub/lib/provider-importers.ts +66 -1
- package/runtime/hub/apps/hub/{prepared-state-PV3GUBHO-PPRQDYFR.js → prepared-state-LNQ7DYSU-ABC2EQVI.js} +3 -2
- package/runtime/hub/apps/hub/server.js +130 -72
- package/runtime/hub/apps/hub/server.ts +18 -0
- package/runtime/hub/apps/hub/test/vnc-link.test.ts +61 -0
- package/runtime/hub/apps/hub/tsconfig.tsbuildinfo +1 -1
- package/runtime/hub-deploy/docker-compose.yml +1 -0
- package/runtime/relay/bin.cjs +16623 -14688
- package/runtime/vercel/agentbox-tool-shim +21 -0
- package/runtime/vercel/ctl.cjs +6757 -5299
- package/runtime/vercel/gh-shim +103 -228
- package/runtime/vercel/scripts/provision.sh +5 -9
- package/share/host-skills/agentbox-info/SKILL.md +24 -14
- package/dist/_cloud-attach-Y5HIQ373.js +0 -28
- package/dist/chunk-46NNZMZT.js.map +0 -1
- package/dist/chunk-74VIUGY6.js.map +0 -1
- package/dist/chunk-7RSE7ESY.js.map +0 -1
- package/dist/chunk-G3H2L3O2.js.map +0 -1
- package/dist/chunk-GFOWBXV7.js.map +0 -1
- package/dist/chunk-JDSYMTMS.js.map +0 -1
- package/dist/chunk-JNC7MCWJ.js.map +0 -1
- package/dist/chunk-JQLOGVZK.js.map +0 -1
- package/dist/chunk-KFLGXE3R.js.map +0 -1
- package/dist/chunk-KJ5TCYNI.js.map +0 -1
- package/dist/chunk-NHTRTST5.js.map +0 -1
- package/dist/chunk-NHVGKFVY.js.map +0 -1
- package/dist/chunk-OUF3YTQO.js.map +0 -1
- package/dist/chunk-OUWVN2F2.js.map +0 -1
- package/dist/chunk-OXKW4GWD.js.map +0 -1
- package/dist/chunk-PSA6GADQ.js.map +0 -1
- package/dist/chunk-WB6S4W7O.js.map +0 -1
- package/dist/chunk-YI4GHC2E.js.map +0 -1
- package/dist/dist-6PYXFREL.js.map +0 -1
- package/dist/dist-XQLKK7H3.js.map +0 -1
- package/dist/hub-MJ7O4WXW.js +0 -36
- package/dist/prepare-V4U5HVJU.js +0 -40
- package/dist/prepared-custody-QIXW7MJM.js +0 -35
- package/dist/relay-DRDELF6B.js +0 -20
- package/runtime/_shared/linear-shim +0 -181
- package/runtime/_shared/ntn-shim +0 -95
- package/runtime/digitalocean/linear-shim +0 -181
- package/runtime/digitalocean/ntn-shim +0 -95
- package/runtime/docker/packages/sandbox-docker/scripts/linear-shim +0 -181
- package/runtime/docker/packages/sandbox-docker/scripts/ntn-shim +0 -95
- package/runtime/e2b/linear-shim +0 -181
- package/runtime/e2b/ntn-shim +0 -95
- package/runtime/hetzner/linear-shim +0 -181
- package/runtime/hetzner/ntn-shim +0 -95
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__039tc0m._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0c_3x8u._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ty7ew1._.js +0 -3
- package/runtime/vercel/linear-shim +0 -181
- package/runtime/vercel/ntn-shim +0 -95
- /package/dist/{_cloud-attach-Y5HIQ373.js.map → _cloud-attach-HKRHYCY7.js.map} +0 -0
- /package/dist/{chunk-4PR3KJ5X.js.map → chunk-6PIGTR4D.js.map} +0 -0
- /package/dist/{chunk-BUMKBUXS.js.map → chunk-7QU6XENE.js.map} +0 -0
- /package/dist/{chunk-7ABO7OIF.js.map → chunk-CO2I3CQI.js.map} +0 -0
- /package/dist/{chunk-HYXCH4GA.js.map → chunk-EFVTQ7YB.js.map} +0 -0
- /package/dist/{chunk-EVT2SNF2.js.map → chunk-HO2ACZES.js.map} +0 -0
- /package/dist/{chunk-V5NWSLWD.js.map → chunk-HP4L45LW.js.map} +0 -0
- /package/dist/{chunk-B4DAH2F2.js.map → chunk-LHOKRCNF.js.map} +0 -0
- /package/dist/{chunk-BWM56FKY.js.map → chunk-RQURMAPA.js.map} +0 -0
- /package/dist/{chunk-FPMRFMVK.js.map → chunk-RZCLRWNY.js.map} +0 -0
- /package/dist/{chunk-FGQFVUMH.js.map → chunk-VY54AX4T.js.map} +0 -0
- /package/dist/{cloud-poller-SUNA6ZQC-7M5LJHHE.js.map → cloud-poller-QJRZXB4W-LJ2BRB3L.js.map} +0 -0
- /package/dist/{control-plane-5R7PYRQ6.js.map → control-plane-UKKYXHIQ.js.map} +0 -0
- /package/dist/{custody-client-PNCC2HBJ.js.map → custody-client-NPXJ46TB.js.map} +0 -0
- /package/dist/{deploy-hetzner-SSGSXAKA.js.map → deploy-hetzner-Y3ILCDRF.js.map} +0 -0
- /package/dist/{dist-5OR4QTQW.js.map → dist-5OGQ3CJQ.js.map} +0 -0
- /package/dist/{dist-EPFS5PRI.js.map → dist-7B3VCLZI.js.map} +0 -0
- /package/dist/{dist-K5M4HKG7.js.map → dist-A5ZEIVAW.js.map} +0 -0
- /package/dist/{dist-M4O5MU5K.js.map → dist-FBM2WS5S.js.map} +0 -0
- /package/dist/{dist-POILUDVJ.js.map → dist-MUTFY7FA.js.map} +0 -0
- /package/dist/{dist-RN6JOAG4.js.map → dist-SMDXLPZO.js.map} +0 -0
- /package/dist/{dist-SN2TCRZ5.js.map → dist-VTLQKZ2E.js.map} +0 -0
- /package/dist/{dist-XATN4ZIR.js.map → dist-ZJIJHCZB.js.map} +0 -0
- /package/dist/{dist-ZNQZHTUN.js.map → dist-ZNYS7CVF.js.map} +0 -0
- /package/dist/{hub-MJ7O4WXW.js.map → host-reach-drainer-ZJU2STQQ.js.map} +0 -0
- /package/dist/{hub-adopt-I44VGSBL.js.map → hub-Q4VOF4WN.js.map} +0 -0
- /package/dist/{hub-api-client-WJPBXZAZ.js.map → hub-adopt-OA336ZXZ.js.map} +0 -0
- /package/dist/{prepare-V4U5HVJU.js.map → hub-api-client-5U6WOTZ3.js.map} +0 -0
- /package/dist/{hub-docker-target-REEEWUG2.js.map → hub-docker-target-JKFCABK4.js.map} +0 -0
- /package/dist/{prepared-custody-QIXW7MJM.js.map → prepare-GFWWKWGF.js.map} +0 -0
- /package/dist/{prepared-state-PV3GUBHO-MF56HWMZ.js.map → prepared-custody-KU4PDVBT.js.map} +0 -0
- /package/dist/{relay-DRDELF6B.js.map → prepared-state-LNQ7DYSU-AR5RMXAO.js.map} +0 -0
- /package/dist/{publish-credentials-BPHUO5VL.js.map → publish-credentials-3SQXX45P.js.map} +0 -0
- /package/dist/{remote-docker-share-RX5ARK45.js.map → registry-AFKV3EO2.js.map} +0 -0
- /package/runtime/hub/apps/hub/.next/static/{z7_2bKU93xE7GwllL1Duv → XIx10ozuCZRzwSsiCF_5t}/_buildManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{z7_2bKU93xE7GwllL1Duv → XIx10ozuCZRzwSsiCF_5t}/_clientMiddlewareManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{z7_2bKU93xE7GwllL1Duv → XIx10ozuCZRzwSsiCF_5t}/_ssgManifest.js +0 -0
|
@@ -173,9 +173,11 @@ import {
|
|
|
173
173
|
refreshExport,
|
|
174
174
|
registerBoxWithRelay,
|
|
175
175
|
rehydrateRelayRegistry,
|
|
176
|
+
relayEndpoint,
|
|
176
177
|
removeCheckpoint,
|
|
177
178
|
removeImage,
|
|
178
179
|
removeInBoxWorktree,
|
|
180
|
+
renewClaudeCredential,
|
|
179
181
|
repairIdeOwnership,
|
|
180
182
|
repairVscodeServerOwnership,
|
|
181
183
|
resetPortlessCache,
|
|
@@ -186,6 +188,7 @@ import {
|
|
|
186
188
|
resolveOpencodeVolume,
|
|
187
189
|
resolvePortlessHostStateDir,
|
|
188
190
|
resolveRelayBin,
|
|
191
|
+
resolveVncViewerUrl,
|
|
189
192
|
resyncBox,
|
|
190
193
|
runInteractiveClaudeLogin,
|
|
191
194
|
runInteractiveCodexLogin,
|
|
@@ -214,6 +217,7 @@ import {
|
|
|
214
217
|
startPortlessProxyRoot,
|
|
215
218
|
startShellSession,
|
|
216
219
|
stopBox,
|
|
220
|
+
stopBoxPollerOnRelay,
|
|
217
221
|
stopRelay,
|
|
218
222
|
syncClaudeCredentials,
|
|
219
223
|
uninstallPortlessService,
|
|
@@ -228,11 +232,10 @@ import {
|
|
|
228
232
|
vscodeServerVolumeName,
|
|
229
233
|
waitForTmuxPaneContent,
|
|
230
234
|
warmUpClaudeCredentials
|
|
231
|
-
} from "./chunk-
|
|
232
|
-
import "./chunk-LPYK2354.js";
|
|
235
|
+
} from "./chunk-H5SUXDZA.js";
|
|
233
236
|
import "./chunk-6AVSKCZJ.js";
|
|
234
237
|
import "./chunk-F2JI4GMX.js";
|
|
235
|
-
import "./chunk-
|
|
238
|
+
import "./chunk-VWQNSZGI.js";
|
|
236
239
|
import {
|
|
237
240
|
BUILD_CONTEXT_DIR,
|
|
238
241
|
DEFAULT_BOX_IMAGE,
|
|
@@ -256,7 +259,7 @@ import {
|
|
|
256
259
|
resolveContextFiles,
|
|
257
260
|
tagImage,
|
|
258
261
|
writePreparedDockerState
|
|
259
|
-
} from "./chunk-
|
|
262
|
+
} from "./chunk-3ZDBZYOY.js";
|
|
260
263
|
import {
|
|
261
264
|
AmbiguousBoxError,
|
|
262
265
|
BOX_CLAUDE_PROJECT_DIR,
|
|
@@ -278,19 +281,22 @@ import {
|
|
|
278
281
|
encodeClaudeProjectsKey,
|
|
279
282
|
findBox,
|
|
280
283
|
hostBackupHasCredentials,
|
|
281
|
-
|
|
284
|
+
hostClaudeAccessTokenExpired,
|
|
285
|
+
hostClaudeLoginDead,
|
|
282
286
|
isRealAgentCredential,
|
|
283
287
|
pickFreshBranch,
|
|
284
288
|
readState,
|
|
285
289
|
recordBox,
|
|
286
290
|
recordLastAgent,
|
|
287
291
|
registryRefForSha,
|
|
292
|
+
relayPort,
|
|
288
293
|
removeBoxRecord,
|
|
289
294
|
resolveBoxRef,
|
|
290
295
|
resolveClaudeMemoryDir,
|
|
291
296
|
scanHostEnvFiles,
|
|
292
297
|
stageDynamicSyncTarball
|
|
293
|
-
} from "./chunk-
|
|
298
|
+
} from "./chunk-GBYD2ODL.js";
|
|
299
|
+
import "./chunk-5ABFGGPT.js";
|
|
294
300
|
import "./chunk-EFW34I43.js";
|
|
295
301
|
import "./chunk-TZFWAJVB.js";
|
|
296
302
|
export {
|
|
@@ -446,7 +452,8 @@ export {
|
|
|
446
452
|
getRelayStatus,
|
|
447
453
|
gitWorktreePathFor,
|
|
448
454
|
hostBackupHasCredentials,
|
|
449
|
-
|
|
455
|
+
hostClaudeAccessTokenExpired,
|
|
456
|
+
hostClaudeLoginDead,
|
|
450
457
|
ideProfile,
|
|
451
458
|
ideServerVolumeName,
|
|
452
459
|
imageExists,
|
|
@@ -513,10 +520,13 @@ export {
|
|
|
513
520
|
registerBoxWithRelay,
|
|
514
521
|
registryRefForSha,
|
|
515
522
|
rehydrateRelayRegistry,
|
|
523
|
+
relayEndpoint,
|
|
524
|
+
relayPort,
|
|
516
525
|
removeBoxRecord,
|
|
517
526
|
removeCheckpoint,
|
|
518
527
|
removeImage,
|
|
519
528
|
removeInBoxWorktree,
|
|
529
|
+
renewClaudeCredential,
|
|
520
530
|
repairIdeOwnership,
|
|
521
531
|
repairVscodeServerOwnership,
|
|
522
532
|
resetPortlessCache,
|
|
@@ -530,6 +540,7 @@ export {
|
|
|
530
540
|
resolveOpencodeVolume,
|
|
531
541
|
resolvePortlessHostStateDir,
|
|
532
542
|
resolveRelayBin,
|
|
543
|
+
resolveVncViewerUrl,
|
|
533
544
|
resyncBox,
|
|
534
545
|
runInteractiveClaudeLogin,
|
|
535
546
|
runInteractiveCodexLogin,
|
|
@@ -560,6 +571,7 @@ export {
|
|
|
560
571
|
startPortlessProxyRoot,
|
|
561
572
|
startShellSession,
|
|
562
573
|
stopBox,
|
|
574
|
+
stopBoxPollerOnRelay,
|
|
563
575
|
stopRelay,
|
|
564
576
|
syncClaudeCredentials,
|
|
565
577
|
tagImage,
|
|
@@ -18,13 +18,12 @@ import {
|
|
|
18
18
|
renderInnerCommand,
|
|
19
19
|
resolveCloudCheckpoint,
|
|
20
20
|
writeCloudCheckpointManifest
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-LPYK2354.js";
|
|
21
|
+
} from "./chunk-WHGY7HOC.js";
|
|
22
|
+
import "./chunk-H5SUXDZA.js";
|
|
24
23
|
import "./chunk-6AVSKCZJ.js";
|
|
25
24
|
import "./chunk-F2JI4GMX.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-VWQNSZGI.js";
|
|
26
|
+
import "./chunk-3ZDBZYOY.js";
|
|
28
27
|
import {
|
|
29
28
|
UserFacingError,
|
|
30
29
|
claudeInstallFingerprint,
|
|
@@ -41,11 +40,12 @@ import {
|
|
|
41
40
|
stageAllAgentStatic,
|
|
42
41
|
writeManagedSecrets,
|
|
43
42
|
writePreparedStateRaw
|
|
44
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-GBYD2ODL.js";
|
|
44
|
+
import "./chunk-5ABFGGPT.js";
|
|
45
45
|
import "./chunk-EFW34I43.js";
|
|
46
46
|
import "./chunk-TZFWAJVB.js";
|
|
47
47
|
|
|
48
|
-
// ../../packages/sandbox-e2b/dist/chunk-
|
|
48
|
+
// ../../packages/sandbox-e2b/dist/chunk-2LAU2QE4.js
|
|
49
49
|
import { existsSync, readFileSync } from "fs";
|
|
50
50
|
import { homedir } from "os";
|
|
51
51
|
import { resolve } from "path";
|
|
@@ -202,8 +202,7 @@ var RUNTIME_ASSETS = [
|
|
|
202
202
|
{ name: "agentbox-open", remotePath: "/tmp/agentbox-open", remoteMode: 493 },
|
|
203
203
|
{ name: "gh-shim", remotePath: "/tmp/agentbox-gh-shim", remoteMode: 493 },
|
|
204
204
|
{ name: "git-shim", remotePath: "/tmp/agentbox-git-shim", remoteMode: 493 },
|
|
205
|
-
{ name: "
|
|
206
|
-
{ name: "linear-shim", remotePath: "/tmp/agentbox-linear-shim", remoteMode: 493 },
|
|
205
|
+
{ name: "agentbox-tool-shim", remotePath: "/tmp/agentbox-tool-shim", remoteMode: 493 },
|
|
207
206
|
{ name: "custom-system-CLAUDE.md", remotePath: "/tmp/agentbox-custom-CLAUDE.md", remoteMode: 420 },
|
|
208
207
|
{ name: "claude-managed-settings.json", remotePath: "/tmp/agentbox-managed-settings.json", remoteMode: 420 },
|
|
209
208
|
{ name: "agentbox-codex-hooks.json", remotePath: "/tmp/agentbox-codex-hooks.json", remoteMode: 420 },
|
|
@@ -221,8 +220,7 @@ function candidatesFor(name, opts = {}) {
|
|
|
221
220
|
"agentbox-open": ["packages/sandbox-docker/scripts/agentbox-open"],
|
|
222
221
|
"gh-shim": ["packages/sandbox-docker/scripts/gh-shim"],
|
|
223
222
|
"git-shim": ["packages/sandbox-docker/scripts/git-shim"],
|
|
224
|
-
"
|
|
225
|
-
"linear-shim": ["packages/sandbox-docker/scripts/linear-shim"],
|
|
223
|
+
"agentbox-tool-shim": ["packages/sandbox-docker/scripts/agentbox-tool-shim"],
|
|
226
224
|
"custom-system-CLAUDE.md": ["packages/sandbox-e2b/scripts/custom-system-CLAUDE.md"],
|
|
227
225
|
"claude-managed-settings.json": ["packages/sandbox-docker/scripts/claude-managed-settings.json"],
|
|
228
226
|
"agentbox-codex-hooks.json": ["packages/sandbox-docker/scripts/agentbox-codex-hooks.json"],
|
|
@@ -237,8 +235,7 @@ function candidatesFor(name, opts = {}) {
|
|
|
237
235
|
"agentbox-open": ["e2b/agentbox-open", "docker/packages/sandbox-docker/scripts/agentbox-open"],
|
|
238
236
|
"gh-shim": ["e2b/gh-shim", "docker/packages/sandbox-docker/scripts/gh-shim"],
|
|
239
237
|
"git-shim": ["e2b/git-shim", "docker/packages/sandbox-docker/scripts/git-shim"],
|
|
240
|
-
"
|
|
241
|
-
"linear-shim": ["e2b/linear-shim", "docker/packages/sandbox-docker/scripts/linear-shim"],
|
|
238
|
+
"agentbox-tool-shim": ["e2b/agentbox-tool-shim", "docker/packages/sandbox-docker/scripts/agentbox-tool-shim"],
|
|
242
239
|
"custom-system-CLAUDE.md": ["e2b/custom-system-CLAUDE.md"],
|
|
243
240
|
"claude-managed-settings.json": ["e2b/claude-managed-settings.json", "docker/packages/sandbox-docker/scripts/claude-managed-settings.json"],
|
|
244
241
|
"agentbox-codex-hooks.json": ["e2b/agentbox-codex-hooks.json", "docker/packages/sandbox-docker/scripts/agentbox-codex-hooks.json"],
|
|
@@ -614,6 +611,9 @@ var BOX_USER = "vscode";
|
|
|
614
611
|
var BOX_OWNER = "vscode:vscode";
|
|
615
612
|
var DEFAULT_E2B_DOMAIN = "e2b.app";
|
|
616
613
|
var DEFAULT_TIMEOUT_MS = 45 * 6e4;
|
|
614
|
+
function connectOpts(apiKey, timeoutMs = DEFAULT_TIMEOUT_MS) {
|
|
615
|
+
return { apiKey, timeoutMs };
|
|
616
|
+
}
|
|
617
617
|
var E2B_WEB_PORT = 8080;
|
|
618
618
|
function shq(s) {
|
|
619
619
|
return "'" + s.replace(/'/g, "'\\''") + "'";
|
|
@@ -651,6 +651,9 @@ var e2bBackend = {
|
|
|
651
651
|
// staying on 8080 keeps the in-box ctl flag (AGENTBOX_WEB_PROXY_PORT)
|
|
652
652
|
// identical across cloud providers.
|
|
653
653
|
webProxyPort: E2B_WEB_PORT,
|
|
654
|
+
// See CloudBackend.stageFilesAsRoot: exec runs as the unprivileged `vscode`,
|
|
655
|
+
// so the carry extract's trailing chown needs root.
|
|
656
|
+
stageFilesAsRoot: true,
|
|
654
657
|
async provision(req) {
|
|
655
658
|
const apiKey = resolveApiKey();
|
|
656
659
|
const log = req.onLog ?? (() => {
|
|
@@ -685,9 +688,24 @@ var e2bBackend = {
|
|
|
685
688
|
template,
|
|
686
689
|
// Friendly name (so prune can see it) + the 'agentbox' marker so
|
|
687
690
|
// `list()` can filter out sandboxes provisioned by other tooling.
|
|
688
|
-
metadata: {
|
|
691
|
+
metadata: {
|
|
692
|
+
agentbox: "true",
|
|
693
|
+
"agentbox.name": safeMetadataName(req.name),
|
|
694
|
+
name: safeMetadataName(req.name)
|
|
695
|
+
},
|
|
689
696
|
envs: req.env,
|
|
690
|
-
timeoutMs: req.timeoutMs ?? DEFAULT_TIMEOUT_MS
|
|
697
|
+
timeoutMs: req.timeoutMs ?? DEFAULT_TIMEOUT_MS,
|
|
698
|
+
// Survive the plan cap instead of being destroyed by it. The cap
|
|
699
|
+
// (1 h Hobby / 24 h Pro) is not extendable, so the SDK default of
|
|
700
|
+
// `onTimeout: 'kill'` loses work the keepalive is powerless to save.
|
|
701
|
+
// `pause` preserves filesystem AND memory, and `autoResume` brings
|
|
702
|
+
// the box back on the next inbound request with a fresh window — so
|
|
703
|
+
// the hour mark becomes a brief freeze rather than a dead box.
|
|
704
|
+
//
|
|
705
|
+
// autoResume is also why this backend declares
|
|
706
|
+
// `timeoutModel: 'inactivity'`: once any request revives a paused
|
|
707
|
+
// box, the host must own the idle decision (see below).
|
|
708
|
+
lifecycle: { onTimeout: "pause", autoResume: true }
|
|
691
709
|
})
|
|
692
710
|
);
|
|
693
711
|
log(`e2b: created sandbox ${sb.sandboxId} (template ${template})`);
|
|
@@ -735,7 +753,7 @@ var e2bBackend = {
|
|
|
735
753
|
await withE2bRetry(
|
|
736
754
|
{ method: "start", retryOnAmbiguous: true, attemptTimeoutMs: 12e4 },
|
|
737
755
|
async () => {
|
|
738
|
-
await Sandbox.connect(h.sandboxId,
|
|
756
|
+
await Sandbox.connect(h.sandboxId, connectOpts(apiKey));
|
|
739
757
|
}
|
|
740
758
|
);
|
|
741
759
|
},
|
|
@@ -767,6 +785,14 @@ var e2bBackend = {
|
|
|
767
785
|
await Sandbox.setTimeout(h.sandboxId, ttlMs, { apiKey });
|
|
768
786
|
});
|
|
769
787
|
},
|
|
788
|
+
// E2B's raw timer is absolute, but `provision` sets `lifecycle.autoResume`,
|
|
789
|
+
// and once a paused box revives on ANY inbound request the relay's own
|
|
790
|
+
// `CloudBoxPoller` — which long-polls every cloud box's preview URL forever —
|
|
791
|
+
// becomes an infinite resurrection loop. That is exactly the condition
|
|
792
|
+
// `timeoutModel: 'inactivity'` describes, so the host must own the idle
|
|
793
|
+
// decision (pause the box itself once its agent has been idle a full window)
|
|
794
|
+
// and stop the poller when it does. Same treatment daytona gets.
|
|
795
|
+
timeoutModel: "inactivity",
|
|
770
796
|
async destroy(h) {
|
|
771
797
|
const apiKey = resolveApiKey();
|
|
772
798
|
await withE2bRetry(
|
|
@@ -804,7 +830,7 @@ var e2bBackend = {
|
|
|
804
830
|
backoffMs: opts?.noRetry ? [] : void 0
|
|
805
831
|
},
|
|
806
832
|
async () => {
|
|
807
|
-
const sb = await Sandbox.connect(h.sandboxId,
|
|
833
|
+
const sb = await Sandbox.connect(h.sandboxId, connectOpts(apiKey));
|
|
808
834
|
const user = opts?.user ?? BOX_USER;
|
|
809
835
|
try {
|
|
810
836
|
const r = await sb.commands.run(cmd, {
|
|
@@ -830,7 +856,7 @@ var e2bBackend = {
|
|
|
830
856
|
{ method: "uploadFile", retryOnAmbiguous: true, attemptTimeoutMs: 3e5 },
|
|
831
857
|
async () => {
|
|
832
858
|
const data = await readFile(localPath);
|
|
833
|
-
const sb = await Sandbox.connect(h.sandboxId,
|
|
859
|
+
const sb = await Sandbox.connect(h.sandboxId, connectOpts(apiKey));
|
|
834
860
|
await sb.files.write([{ path: remotePath, data: bufferToArrayBuffer(data) }]);
|
|
835
861
|
try {
|
|
836
862
|
await sb.commands.run(`sudo -n chown ${BOX_OWNER} ${shq(remotePath)}`, {
|
|
@@ -847,7 +873,7 @@ var e2bBackend = {
|
|
|
847
873
|
await withE2bRetry(
|
|
848
874
|
{ method: "downloadFile", retryOnAmbiguous: true, attemptTimeoutMs: 3e5 },
|
|
849
875
|
async () => {
|
|
850
|
-
const sb = await Sandbox.connect(h.sandboxId,
|
|
876
|
+
const sb = await Sandbox.connect(h.sandboxId, connectOpts(apiKey));
|
|
851
877
|
const bytes = await sb.files.read(remotePath, { format: "bytes" });
|
|
852
878
|
const { writeFile } = await import("fs/promises");
|
|
853
879
|
await writeFile(localPath, Buffer.from(bytes));
|
|
@@ -857,7 +883,7 @@ var e2bBackend = {
|
|
|
857
883
|
async listFiles(h, remoteDir) {
|
|
858
884
|
const apiKey = resolveApiKey();
|
|
859
885
|
return withE2bRetry({ method: "listFiles", retryOnAmbiguous: true }, async () => {
|
|
860
|
-
const sb = await Sandbox.connect(h.sandboxId,
|
|
886
|
+
const sb = await Sandbox.connect(h.sandboxId, connectOpts(apiKey));
|
|
861
887
|
const entries = await sb.files.list(remoteDir);
|
|
862
888
|
return entries.map((e) => ({ name: e.name, isDir: e.type === "dir" }));
|
|
863
889
|
});
|
|
@@ -966,6 +992,21 @@ async function doctorChecks() {
|
|
|
966
992
|
return [{ label: "credentials", status: "warn", detail: errSummary(err) }];
|
|
967
993
|
}
|
|
968
994
|
}
|
|
995
|
+
function sizeIgnoredReason(size) {
|
|
996
|
+
let requested;
|
|
997
|
+
try {
|
|
998
|
+
const parsed = parseE2bSize(size);
|
|
999
|
+
if (parsed) requested = `${String(parsed.cpuCount)}-${String(parsed.memoryMB / 1024)}`;
|
|
1000
|
+
} catch {
|
|
1001
|
+
return null;
|
|
1002
|
+
}
|
|
1003
|
+
if (!requested) return null;
|
|
1004
|
+
const prepared = readPreparedState();
|
|
1005
|
+
if (!prepared.base) return null;
|
|
1006
|
+
const baked = prepared.base.size;
|
|
1007
|
+
if (requested === baked) return null;
|
|
1008
|
+
return `e2b: size '${requested}' is ignored at create time; this template was baked at ${baked ?? "the default size"}. E2B resources are fixed at bake time \u2014 re-bake with \`agentbox prepare --provider e2b --size ${requested} --force\` to change them.`;
|
|
1009
|
+
}
|
|
969
1010
|
var BACKEND_NAME = "e2b";
|
|
970
1011
|
var cloudProvider = createCloudProvider(e2bBackend, {
|
|
971
1012
|
// E2B applies resources at the template level (Template.build({ cpuCount,
|
|
@@ -1057,6 +1098,7 @@ var providerModule = {
|
|
|
1057
1098
|
setCredentials: (fields) => Promise.resolve(setE2bCredentials(fields)),
|
|
1058
1099
|
currentBaseFingerprintLive: (claudeInstall) => currentE2bBaseFingerprintLive(claudeInstall),
|
|
1059
1100
|
currentBaseFileHashes: () => currentE2bBaseFileHashes(),
|
|
1101
|
+
sizeIgnoredReason,
|
|
1060
1102
|
doctorChecks
|
|
1061
1103
|
};
|
|
1062
1104
|
export {
|
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
DOCKER_CONTEXT_FILE_MAP,
|
|
19
19
|
ENV_PRUNE_DIRS,
|
|
20
20
|
EXPOSED_HUB_PROFILE,
|
|
21
|
+
FALLBACK_RELAY_PORT,
|
|
21
22
|
GitWorktreeError,
|
|
22
|
-
HUB_RELAY_PORT,
|
|
23
23
|
HUB_TOKEN_FILE,
|
|
24
24
|
HUB_WORKER_CLONE_PREFIX,
|
|
25
25
|
MINIMAL_TRUSTED_CODEX_CONFIG,
|
|
@@ -29,7 +29,9 @@ import {
|
|
|
29
29
|
OPENCODE_PULL_DATA_ITEMS,
|
|
30
30
|
OPEN_INBOUND_SOURCES,
|
|
31
31
|
PLUGINS_FILE,
|
|
32
|
+
PLUGINS_FILE_VERSION,
|
|
32
33
|
PULL_CATEGORIES,
|
|
34
|
+
RELAY_PORT_ENV,
|
|
33
35
|
RUNTIME_ROOT_ENV,
|
|
34
36
|
SEED_MARKER,
|
|
35
37
|
SKILL_EXCLUDE_PREFIXES,
|
|
@@ -68,6 +70,7 @@ import {
|
|
|
68
70
|
claudeExpiresAt,
|
|
69
71
|
claudeInstallFingerprint,
|
|
70
72
|
claudeInventoryScript,
|
|
73
|
+
claudeRefreshExpiresAt,
|
|
71
74
|
claudeSettingsPath,
|
|
72
75
|
claudeSshEntryFor,
|
|
73
76
|
claudeStagedItems,
|
|
@@ -79,6 +82,7 @@ import {
|
|
|
79
82
|
controlPlaneDeployPath,
|
|
80
83
|
controlSockPath,
|
|
81
84
|
defaultBoxSshDir,
|
|
85
|
+
deriveDescriptor,
|
|
82
86
|
deriveRepoLabel,
|
|
83
87
|
describeInbound,
|
|
84
88
|
detectGitRepos,
|
|
@@ -87,6 +91,7 @@ import {
|
|
|
87
91
|
encodeClaudeProjectsKey,
|
|
88
92
|
ensureCloudSshAlias,
|
|
89
93
|
ensureHub,
|
|
94
|
+
ensureProviderDescriptor,
|
|
90
95
|
ensureSshInclude,
|
|
91
96
|
errSummary,
|
|
92
97
|
extractCredentials,
|
|
@@ -99,7 +104,8 @@ import {
|
|
|
99
104
|
getHubStatus,
|
|
100
105
|
hasUnmanagedHostConflict,
|
|
101
106
|
hostBackupHasCredentials,
|
|
102
|
-
|
|
107
|
+
hostClaudeAccessTokenExpired,
|
|
108
|
+
hostClaudeLoginDead,
|
|
103
109
|
hostOpenCommand,
|
|
104
110
|
hubRuntimeEnv,
|
|
105
111
|
isHostOnlyPath,
|
|
@@ -107,7 +113,9 @@ import {
|
|
|
107
113
|
isHubWorkerClone,
|
|
108
114
|
isRealAgentCredential,
|
|
109
115
|
isSupportedApiVersion,
|
|
116
|
+
isValidRelayPort,
|
|
110
117
|
killPid,
|
|
118
|
+
listProviderDescriptors,
|
|
111
119
|
makeHostGitPorts,
|
|
112
120
|
makeRecordingTransport,
|
|
113
121
|
makeStagingDir,
|
|
@@ -136,6 +144,7 @@ import {
|
|
|
136
144
|
planPropagateTargets,
|
|
137
145
|
pluginForProvider,
|
|
138
146
|
pluginProviderNames,
|
|
147
|
+
portIsOccupied,
|
|
139
148
|
preparedStatePathFor,
|
|
140
149
|
processAlive,
|
|
141
150
|
projectSlugFromOriginUrl,
|
|
@@ -158,14 +167,17 @@ import {
|
|
|
158
167
|
recordBox,
|
|
159
168
|
recordBoxSsh,
|
|
160
169
|
recordLastAgent,
|
|
170
|
+
recordPluginDescriptor,
|
|
161
171
|
referencedPluginVersionKeys,
|
|
162
172
|
registryRefForSha,
|
|
173
|
+
relayPort,
|
|
163
174
|
removeBoxRecord,
|
|
164
175
|
removeClaudeSshConfigs,
|
|
165
176
|
removePluginRecord,
|
|
166
177
|
removeStagingDir,
|
|
167
178
|
renderCarryEntries,
|
|
168
179
|
reserveProjectIndex,
|
|
180
|
+
resetRelayPort,
|
|
169
181
|
resolveAgentSpec,
|
|
170
182
|
resolveBoxRef,
|
|
171
183
|
resolveClaudeMemoryDir,
|
|
@@ -174,6 +186,7 @@ import {
|
|
|
174
186
|
resolveContextFilesFrom,
|
|
175
187
|
resolveHubServer,
|
|
176
188
|
resolveInboundSources,
|
|
189
|
+
resolveProviderDescriptor,
|
|
177
190
|
resolveSshConfigTarget,
|
|
178
191
|
resolveStagedRuntimeRoot,
|
|
179
192
|
restartServiceArgv,
|
|
@@ -193,6 +206,7 @@ import {
|
|
|
193
206
|
setHubDockerContext,
|
|
194
207
|
setHubPortlessHooks,
|
|
195
208
|
setInstallMethodNative,
|
|
209
|
+
setRelayPort,
|
|
196
210
|
sha256OfFile,
|
|
197
211
|
shortFingerprint,
|
|
198
212
|
shouldAcceptCredentialUpdate,
|
|
@@ -225,7 +239,8 @@ import {
|
|
|
225
239
|
writeManagedSecrets,
|
|
226
240
|
writePreparedStateRaw,
|
|
227
241
|
writeState
|
|
228
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-GBYD2ODL.js";
|
|
243
|
+
import "./chunk-5ABFGGPT.js";
|
|
229
244
|
import "./chunk-EFW34I43.js";
|
|
230
245
|
import "./chunk-TZFWAJVB.js";
|
|
231
246
|
export {
|
|
@@ -247,8 +262,8 @@ export {
|
|
|
247
262
|
DOCKER_CONTEXT_FILE_MAP,
|
|
248
263
|
ENV_PRUNE_DIRS,
|
|
249
264
|
EXPOSED_HUB_PROFILE,
|
|
265
|
+
FALLBACK_RELAY_PORT,
|
|
250
266
|
GitWorktreeError,
|
|
251
|
-
HUB_RELAY_PORT,
|
|
252
267
|
HUB_TOKEN_FILE,
|
|
253
268
|
HUB_WORKER_CLONE_PREFIX,
|
|
254
269
|
MINIMAL_TRUSTED_CODEX_CONFIG,
|
|
@@ -258,7 +273,9 @@ export {
|
|
|
258
273
|
OPENCODE_PULL_DATA_ITEMS,
|
|
259
274
|
OPEN_INBOUND_SOURCES,
|
|
260
275
|
PLUGINS_FILE,
|
|
276
|
+
PLUGINS_FILE_VERSION,
|
|
261
277
|
PULL_CATEGORIES,
|
|
278
|
+
RELAY_PORT_ENV,
|
|
262
279
|
RUNTIME_ROOT_ENV,
|
|
263
280
|
SEED_MARKER,
|
|
264
281
|
SKILL_EXCLUDE_PREFIXES,
|
|
@@ -297,6 +314,7 @@ export {
|
|
|
297
314
|
claudeExpiresAt,
|
|
298
315
|
claudeInstallFingerprint,
|
|
299
316
|
claudeInventoryScript,
|
|
317
|
+
claudeRefreshExpiresAt,
|
|
300
318
|
claudeSettingsPath,
|
|
301
319
|
claudeSshEntryFor,
|
|
302
320
|
claudeStagedItems,
|
|
@@ -308,6 +326,7 @@ export {
|
|
|
308
326
|
controlPlaneDeployPath,
|
|
309
327
|
controlSockPath,
|
|
310
328
|
defaultBoxSshDir,
|
|
329
|
+
deriveDescriptor,
|
|
311
330
|
deriveRepoLabel,
|
|
312
331
|
describeInbound,
|
|
313
332
|
detectGitRepos,
|
|
@@ -316,6 +335,7 @@ export {
|
|
|
316
335
|
encodeClaudeProjectsKey,
|
|
317
336
|
ensureCloudSshAlias,
|
|
318
337
|
ensureHub,
|
|
338
|
+
ensureProviderDescriptor,
|
|
319
339
|
ensureSshInclude,
|
|
320
340
|
errSummary,
|
|
321
341
|
extractCredentials,
|
|
@@ -328,7 +348,8 @@ export {
|
|
|
328
348
|
getHubStatus,
|
|
329
349
|
hasUnmanagedHostConflict,
|
|
330
350
|
hostBackupHasCredentials,
|
|
331
|
-
|
|
351
|
+
hostClaudeAccessTokenExpired,
|
|
352
|
+
hostClaudeLoginDead,
|
|
332
353
|
hostOpenCommand,
|
|
333
354
|
hubRuntimeEnv,
|
|
334
355
|
isHostOnlyPath,
|
|
@@ -336,7 +357,9 @@ export {
|
|
|
336
357
|
isHubWorkerClone,
|
|
337
358
|
isRealAgentCredential,
|
|
338
359
|
isSupportedApiVersion,
|
|
360
|
+
isValidRelayPort,
|
|
339
361
|
killPid,
|
|
362
|
+
listProviderDescriptors,
|
|
340
363
|
makeHostGitPorts,
|
|
341
364
|
makeRecordingTransport,
|
|
342
365
|
makeStagingDir,
|
|
@@ -365,6 +388,7 @@ export {
|
|
|
365
388
|
planPropagateTargets,
|
|
366
389
|
pluginForProvider,
|
|
367
390
|
pluginProviderNames,
|
|
391
|
+
portIsOccupied,
|
|
368
392
|
preparedStatePathFor,
|
|
369
393
|
processAlive,
|
|
370
394
|
projectSlugFromOriginUrl,
|
|
@@ -387,14 +411,17 @@ export {
|
|
|
387
411
|
recordBox,
|
|
388
412
|
recordBoxSsh,
|
|
389
413
|
recordLastAgent,
|
|
414
|
+
recordPluginDescriptor,
|
|
390
415
|
referencedPluginVersionKeys,
|
|
391
416
|
registryRefForSha,
|
|
417
|
+
relayPort,
|
|
392
418
|
removeBoxRecord,
|
|
393
419
|
removeClaudeSshConfigs,
|
|
394
420
|
removePluginRecord,
|
|
395
421
|
removeStagingDir,
|
|
396
422
|
renderCarryEntries,
|
|
397
423
|
reserveProjectIndex,
|
|
424
|
+
resetRelayPort,
|
|
398
425
|
resolveAgentSpec,
|
|
399
426
|
resolveBoxRef,
|
|
400
427
|
resolveClaudeMemoryDir,
|
|
@@ -403,6 +430,7 @@ export {
|
|
|
403
430
|
resolveContextFilesFrom,
|
|
404
431
|
resolveHubServer,
|
|
405
432
|
resolveInboundSources,
|
|
433
|
+
resolveProviderDescriptor,
|
|
406
434
|
resolveSshConfigTarget,
|
|
407
435
|
resolveStagedRuntimeRoot,
|
|
408
436
|
restartServiceArgv,
|
|
@@ -422,6 +450,7 @@ export {
|
|
|
422
450
|
setHubDockerContext,
|
|
423
451
|
setHubPortlessHooks,
|
|
424
452
|
setInstallMethodNative,
|
|
453
|
+
setRelayPort,
|
|
425
454
|
sha256OfFile,
|
|
426
455
|
shortFingerprint,
|
|
427
456
|
shouldAcceptCredentialUpdate,
|
|
@@ -20,17 +20,12 @@ import {
|
|
|
20
20
|
resolveCloudCheckpoint,
|
|
21
21
|
seedAgentStaticIntoCloudBox,
|
|
22
22
|
writeCloudCheckpointManifest
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import {
|
|
26
|
-
DAYTONA_VM_REGION,
|
|
27
|
-
loadEffectiveConfig,
|
|
28
|
-
resolveDaytonaClass
|
|
29
|
-
} from "./chunk-LPYK2354.js";
|
|
23
|
+
} from "./chunk-WHGY7HOC.js";
|
|
24
|
+
import "./chunk-H5SUXDZA.js";
|
|
30
25
|
import "./chunk-6AVSKCZJ.js";
|
|
31
26
|
import "./chunk-F2JI4GMX.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-VWQNSZGI.js";
|
|
28
|
+
import "./chunk-3ZDBZYOY.js";
|
|
34
29
|
import {
|
|
35
30
|
BOX_IMAGE_REGISTRY,
|
|
36
31
|
DOCKER_CONTEXT_FILE_MAP,
|
|
@@ -47,11 +42,16 @@ import {
|
|
|
47
42
|
stageAllAgentStatic,
|
|
48
43
|
writeManagedSecrets,
|
|
49
44
|
writePreparedStateRaw
|
|
50
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-GBYD2ODL.js";
|
|
46
|
+
import {
|
|
47
|
+
DAYTONA_VM_REGION,
|
|
48
|
+
loadEffectiveConfig,
|
|
49
|
+
resolveDaytonaClass
|
|
50
|
+
} from "./chunk-5ABFGGPT.js";
|
|
51
51
|
import "./chunk-EFW34I43.js";
|
|
52
52
|
import "./chunk-TZFWAJVB.js";
|
|
53
53
|
|
|
54
|
-
// ../../packages/sandbox-daytona/dist/chunk-
|
|
54
|
+
// ../../packages/sandbox-daytona/dist/chunk-URN542P7.js
|
|
55
55
|
import { existsSync } from "fs";
|
|
56
56
|
import { dirname, resolve } from "path";
|
|
57
57
|
import { fileURLToPath } from "url";
|
|
@@ -227,6 +227,7 @@ function writePreparedDaytonaState(opts) {
|
|
|
227
227
|
const stamp = readCliStamp();
|
|
228
228
|
const extras = {
|
|
229
229
|
...opts.size ? { size: opts.size } : {},
|
|
230
|
+
...opts.effectiveSize ? { effectiveSize: opts.effectiveSize } : {},
|
|
230
231
|
...opts.class ? { class: opts.class } : {},
|
|
231
232
|
...opts.env && opts.env.length > 0 ? { env: opts.env } : {}
|
|
232
233
|
};
|
|
@@ -1267,7 +1268,9 @@ function buildDaytonaSeedCommands(usable) {
|
|
|
1267
1268
|
const cmds = [
|
|
1268
1269
|
"USER root",
|
|
1269
1270
|
`COPY ${DAYTONA_CLAUDE_MD_REL} /tmp/agentbox-custom-CLAUDE.md`,
|
|
1270
|
-
...usable.map(
|
|
1271
|
+
...usable.map(
|
|
1272
|
+
(s) => `COPY ${daytonaSeedPaths(s.kind).contextRel} ${daytonaSeedPaths(s.kind).remoteTar}`
|
|
1273
|
+
),
|
|
1271
1274
|
"RUN install -m 0644 /tmp/agentbox-custom-CLAUDE.md /etc/claude-code/CLAUDE.md && rm -f /tmp/agentbox-custom-CLAUDE.md",
|
|
1272
1275
|
...usable.map(
|
|
1273
1276
|
(s) => `RUN mkdir -p ${s.extractDir} && tar -xzf ${daytonaSeedPaths(s.kind).remoteTar} -C ${s.extractDir} --no-same-permissions --no-same-owner -m`
|
|
@@ -1304,9 +1307,7 @@ async function prepareDaytona(opts) {
|
|
|
1304
1307
|
const prepared = readPreparedDaytonaState();
|
|
1305
1308
|
if (!opts.force && fingerprint && preparedMatches(prepared, fingerprint.contextSha256, sizeKey, sandboxClass)) {
|
|
1306
1309
|
try {
|
|
1307
|
-
const existing = await getClient().snapshot.get(
|
|
1308
|
-
prepared?.base?.imageRef ?? snapshotName
|
|
1309
|
-
);
|
|
1310
|
+
const existing = await getClient().snapshot.get(prepared?.base?.imageRef ?? snapshotName);
|
|
1310
1311
|
if (existing?.name) {
|
|
1311
1312
|
log(
|
|
1312
1313
|
`daytona snapshot '${existing.name}' up to date (fingerprint ${fingerprint.contextSha256.slice(0, 12)}) \u2014 skipping rebuild (pass --force to override)`
|
|
@@ -1317,9 +1318,7 @@ async function prepareDaytona(opts) {
|
|
|
1317
1318
|
`recorded snapshot '${prepared?.base?.imageRef ?? snapshotName}' not found on Daytona; rebuilding`
|
|
1318
1319
|
);
|
|
1319
1320
|
} catch {
|
|
1320
|
-
log(
|
|
1321
|
-
`recorded snapshot lookup failed; rebuilding (pass --force to silence)`
|
|
1322
|
-
);
|
|
1321
|
+
log(`recorded snapshot lookup failed; rebuilding (pass --force to silence)`);
|
|
1323
1322
|
}
|
|
1324
1323
|
} else if (!opts.force && fingerprint && prepared?.base?.contextSha256) {
|
|
1325
1324
|
const bakedSize = prepared.extras?.size;
|
|
@@ -1380,10 +1379,15 @@ async function prepareDaytona(opts) {
|
|
|
1380
1379
|
snapshotName: baked.snapshotName,
|
|
1381
1380
|
contextSha256: fingerprint.contextSha256,
|
|
1382
1381
|
size: sizeKey,
|
|
1382
|
+
// This path always sends explicit resources (see the `resources:` line
|
|
1383
|
+
// above), so the effective size is exactly what we asked for.
|
|
1384
|
+
effectiveSize: sizeKey ?? formatDaytonaSize(DAYTONA_DEFAULT_RESOURCES),
|
|
1383
1385
|
class: "linux-vm",
|
|
1384
1386
|
env: baked.env
|
|
1385
1387
|
});
|
|
1386
|
-
log(
|
|
1388
|
+
log(
|
|
1389
|
+
`recorded daytona-prepared.json (fingerprint ${fingerprint.contextSha256.slice(0, 12)})`
|
|
1390
|
+
);
|
|
1387
1391
|
}
|
|
1388
1392
|
const superseded = prepared?.base?.imageRef;
|
|
1389
1393
|
if (superseded && superseded !== baked.snapshotName && prepared?.extras?.class === "linux-vm") {
|
|
@@ -1413,13 +1417,14 @@ async function prepareDaytona(opts) {
|
|
|
1413
1417
|
copyFileSync(daytonaClaudeMd, join(seedContextDir, DAYTONA_CLAUDE_MD_REL));
|
|
1414
1418
|
const usable = stages.filter((s) => s.staged.tarballPath !== null);
|
|
1415
1419
|
for (const s of usable) {
|
|
1416
|
-
copyFileSync(
|
|
1420
|
+
copyFileSync(
|
|
1421
|
+
s.staged.tarballPath,
|
|
1422
|
+
join(seedContextDir, daytonaSeedPaths(s.kind).contextRel)
|
|
1423
|
+
);
|
|
1417
1424
|
}
|
|
1418
1425
|
image = image.dockerfileCommands(buildDaytonaSeedCommands(usable), seedContextDir);
|
|
1419
1426
|
const client = getClient(opts.location ?? "");
|
|
1420
|
-
log(
|
|
1421
|
-
`creating Daytona snapshot '${snapshotName}'${sizeResources ? ` (${sizeKey})` : ""}\u2026`
|
|
1422
|
-
);
|
|
1427
|
+
log(`creating Daytona snapshot '${snapshotName}'${sizeResources ? ` (${sizeKey})` : ""}\u2026`);
|
|
1423
1428
|
const snapshot = await client.snapshot.create(
|
|
1424
1429
|
{
|
|
1425
1430
|
name: snapshotName,
|
|
@@ -1437,11 +1442,13 @@ async function prepareDaytona(opts) {
|
|
|
1437
1442
|
snapshotName: snapshot.name ?? snapshotName,
|
|
1438
1443
|
contextSha256: fingerprint.contextSha256,
|
|
1439
1444
|
size: sizeKey,
|
|
1445
|
+
// Without an explicit size this path lets Daytona pick, so read the
|
|
1446
|
+
// resources back off the created snapshot. Absent when the SDK doesn't
|
|
1447
|
+
// report them — better silent than a guessed number in a warning.
|
|
1448
|
+
effectiveSize: sizeKey ?? snapshotResourceKey(snapshot),
|
|
1440
1449
|
class: "container"
|
|
1441
1450
|
});
|
|
1442
|
-
log(
|
|
1443
|
-
`recorded daytona-prepared.json (fingerprint ${fingerprint.contextSha256.slice(0, 12)})`
|
|
1444
|
-
);
|
|
1451
|
+
log(`recorded daytona-prepared.json (fingerprint ${fingerprint.contextSha256.slice(0, 12)})`);
|
|
1445
1452
|
}
|
|
1446
1453
|
return { snapshotName: snapshot.name ?? snapshotName };
|
|
1447
1454
|
} finally {
|
|
@@ -1465,6 +1472,15 @@ function writeNpmDockerfile(originalPath) {
|
|
|
1465
1472
|
writeFileSync(target, flipped);
|
|
1466
1473
|
return target;
|
|
1467
1474
|
}
|
|
1475
|
+
function formatDaytonaSize(r) {
|
|
1476
|
+
return `${String(r.cpu)}-${String(r.memory)}-${String(r.disk)}`;
|
|
1477
|
+
}
|
|
1478
|
+
function snapshotResourceKey(snapshot) {
|
|
1479
|
+
const r = snapshot?.resources;
|
|
1480
|
+
if (!r || typeof r.cpu !== "number" || typeof r.memory !== "number" || typeof r.disk !== "number")
|
|
1481
|
+
return void 0;
|
|
1482
|
+
return formatDaytonaSize({ cpu: r.cpu, memory: r.memory, disk: r.disk });
|
|
1483
|
+
}
|
|
1468
1484
|
function isAgentboxName(name) {
|
|
1469
1485
|
return typeof name === "string" && name.toLowerCase().startsWith("agentbox");
|
|
1470
1486
|
}
|
|
@@ -1631,6 +1647,16 @@ async function baseSnapshotCheck(snapshotCount) {
|
|
|
1631
1647
|
detail: `${String(snapshotCount)} agentbox snapshot(s)${bakedClass ? ` (base: ${bakedClass})` : ""}`
|
|
1632
1648
|
};
|
|
1633
1649
|
}
|
|
1650
|
+
function sizeIgnoredReason(size) {
|
|
1651
|
+
const parsed = parseDaytonaSize(size);
|
|
1652
|
+
if (!parsed) return null;
|
|
1653
|
+
const requested = `${String(parsed.cpu)}-${String(parsed.memory)}-${String(parsed.disk)}`;
|
|
1654
|
+
const prepared = readPreparedDaytonaState();
|
|
1655
|
+
if (!prepared?.base) return null;
|
|
1656
|
+
const baked = prepared.extras?.effectiveSize ?? prepared.extras?.size;
|
|
1657
|
+
if (requested === baked) return null;
|
|
1658
|
+
return `daytona: size '${requested}' is ignored on the snapshot path; this snapshot was baked at ${baked ?? "the default size"}. Daytona resources are fixed at bake time \u2014 re-bake with \`agentbox prepare --provider daytona --size ${requested} --force\` to change them.`;
|
|
1659
|
+
}
|
|
1634
1660
|
var cloudProvider = createCloudProvider(daytonaBackend, {
|
|
1635
1661
|
defaultResources: { ...DAYTONA_DEFAULT_RESOURCES }
|
|
1636
1662
|
});
|
|
@@ -1650,6 +1676,7 @@ var providerModule = {
|
|
|
1650
1676
|
readCredStatus: readCredStatusSummary,
|
|
1651
1677
|
setCredentials: setDaytonaCredentials,
|
|
1652
1678
|
currentBaseFingerprintLive: (claudeInstall) => currentDaytonaBaseFingerprintLive(claudeInstall),
|
|
1679
|
+
sizeIgnoredReason,
|
|
1653
1680
|
doctorChecks
|
|
1654
1681
|
};
|
|
1655
1682
|
export {
|