@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
|
@@ -7336,6 +7336,7 @@ var require_dist = __commonJS({
|
|
|
7336
7336
|
var import_yaml = __toESM(require_dist(), 1);
|
|
7337
7337
|
var import_yaml2 = __toESM(require_dist(), 1);
|
|
7338
7338
|
var import_yaml3 = __toESM(require_dist(), 1);
|
|
7339
|
+
var import_yaml4 = __toESM(require_dist(), 1);
|
|
7339
7340
|
import { createHash } from "crypto";
|
|
7340
7341
|
import { realpath, stat } from "fs/promises";
|
|
7341
7342
|
import { homedir } from "os";
|
|
@@ -7347,13 +7348,38 @@ import { setTimeout as delay } from "timers/promises";
|
|
|
7347
7348
|
import { mkdir as mkdir2, readFile as readFile2, rename, rm as rm2, stat as stat3, writeFile } from "fs/promises";
|
|
7348
7349
|
import { dirname as dirname3, isAbsolute, join as join2 } from "path";
|
|
7349
7350
|
import { readdir } from "fs/promises";
|
|
7351
|
+
import { mkdir as mkdir3, readFile as readFile3, writeFile as writeFile2 } from "fs/promises";
|
|
7352
|
+
import { dirname as dirname4 } from "path";
|
|
7350
7353
|
var PROVIDERS = [
|
|
7351
7354
|
{
|
|
7352
7355
|
name: "docker",
|
|
7353
7356
|
kind: "local",
|
|
7354
7357
|
label: "Docker (local)",
|
|
7355
7358
|
loginHint: "builds a ~1GB local image; no login needed",
|
|
7356
|
-
|
|
7359
|
+
credentials: { envKeys: [], fields: [] },
|
|
7360
|
+
// The base self-heals: `ensureImage` pulls or builds on create, so a missing
|
|
7361
|
+
// base is a slow first create, never a blocked one.
|
|
7362
|
+
bake: { required: false, approxMinutes: "1", createProgressSteps: 52, bakeProgressSteps: 420 },
|
|
7363
|
+
capabilities: {
|
|
7364
|
+
// `docker commit` — the oldest checkpoint implementation in the repo. It
|
|
7365
|
+
// does NOT hang off `provider.checkpoint` (see the interface doc).
|
|
7366
|
+
checkpoints: true,
|
|
7367
|
+
checkpointReboots: false,
|
|
7368
|
+
ssh: true,
|
|
7369
|
+
persistentSsh: true,
|
|
7370
|
+
// Its localhost sshd is reached by published port, not a direct `ssh
|
|
7371
|
+
// user@host` attach argv.
|
|
7372
|
+
directBoxSsh: false,
|
|
7373
|
+
inbound: false,
|
|
7374
|
+
directGit: false,
|
|
7375
|
+
resync: true,
|
|
7376
|
+
prune: false,
|
|
7377
|
+
vnc: true,
|
|
7378
|
+
dind: true,
|
|
7379
|
+
pauseSemantics: "freeze",
|
|
7380
|
+
// Local engine — there is no hub to route a create to.
|
|
7381
|
+
hubRoutable: false
|
|
7382
|
+
},
|
|
7357
7383
|
blurb: "local Docker containers",
|
|
7358
7384
|
sizeDesc: "Per-provider override of `box.size` for docker. Reserved \u2014 docker sizing is controlled via `box.memory` / `box.cpus` / `box.disk`.",
|
|
7359
7385
|
imageDesc: "Per-provider override of `box.image` for docker (local docker image ref, e.g. `agentbox/box:dev`). Wins over the generic when set."
|
|
@@ -7363,7 +7389,37 @@ var PROVIDERS = [
|
|
|
7363
7389
|
kind: "cloud",
|
|
7364
7390
|
label: "Daytona (cloud sandbox)",
|
|
7365
7391
|
loginHint: "paste an API key from the Daytona dashboard",
|
|
7366
|
-
|
|
7392
|
+
credentials: {
|
|
7393
|
+
envKeys: ["DAYTONA_API_KEY", "DAYTONA_JWT_TOKEN"],
|
|
7394
|
+
fields: [{ key: "apiKey", label: "API key" }]
|
|
7395
|
+
},
|
|
7396
|
+
bake: {
|
|
7397
|
+
required: true,
|
|
7398
|
+
approxMinutes: "7",
|
|
7399
|
+
createProgressSteps: 1900,
|
|
7400
|
+
bakeProgressSteps: 1500
|
|
7401
|
+
},
|
|
7402
|
+
capabilities: {
|
|
7403
|
+
checkpoints: true,
|
|
7404
|
+
// `sb._experimental_createSnapshot` stops the sandbox to capture it.
|
|
7405
|
+
checkpointReboots: true,
|
|
7406
|
+
ssh: true,
|
|
7407
|
+
// The SSH gateway is reached with an expiring token, so an app that dials
|
|
7408
|
+
// in on its own later (codex) finds a dead credential.
|
|
7409
|
+
persistentSsh: false,
|
|
7410
|
+
directBoxSsh: true,
|
|
7411
|
+
inbound: false,
|
|
7412
|
+
directGit: true,
|
|
7413
|
+
resync: true,
|
|
7414
|
+
prune: true,
|
|
7415
|
+
vnc: true,
|
|
7416
|
+
dind: true,
|
|
7417
|
+
// linux-vm `pause()` freezes CPU + memory. The `container` class has no
|
|
7418
|
+
// pause primitive and archives instead (filesystem only) — see backend.ts.
|
|
7419
|
+
pauseSemantics: "freeze",
|
|
7420
|
+
hubRoutable: true,
|
|
7421
|
+
timeoutModel: "inactivity"
|
|
7422
|
+
},
|
|
7367
7423
|
blurb: "Daytona Cloud sandboxes",
|
|
7368
7424
|
sizeDesc: "Per-provider override of `box.size` for daytona. `cpu-memory-disk` GB spec (e.g. `4-8-20`). Only honored on the image/Dockerfile create path; on the snapshot path the size is fixed at bake time (Daytona rejects custom resources on snapshot-resume).",
|
|
7369
7425
|
imageDesc: "Per-provider override of `box.image` for daytona (named snapshot, e.g. `agentbox-base-<fingerprint>`). Written by `agentbox prepare --provider daytona`."
|
|
@@ -7373,7 +7429,33 @@ var PROVIDERS = [
|
|
|
7373
7429
|
kind: "cloud",
|
|
7374
7430
|
label: "Hetzner (cloud VPS)",
|
|
7375
7431
|
loginHint: "paste an API token from the Hetzner Console",
|
|
7376
|
-
|
|
7432
|
+
credentials: {
|
|
7433
|
+
envKeys: ["HCLOUD_TOKEN"],
|
|
7434
|
+
fields: [{ key: "token", label: "API token" }]
|
|
7435
|
+
},
|
|
7436
|
+
bake: {
|
|
7437
|
+
required: true,
|
|
7438
|
+
approxMinutes: "7-10",
|
|
7439
|
+
createProgressSteps: 41,
|
|
7440
|
+
bakeProgressSteps: 900
|
|
7441
|
+
},
|
|
7442
|
+
capabilities: {
|
|
7443
|
+
checkpoints: true,
|
|
7444
|
+
// `create_image` defaults to no-pause, matching `docker commit`.
|
|
7445
|
+
checkpointReboots: false,
|
|
7446
|
+
ssh: true,
|
|
7447
|
+
persistentSsh: true,
|
|
7448
|
+
directBoxSsh: true,
|
|
7449
|
+
inbound: true,
|
|
7450
|
+
directGit: true,
|
|
7451
|
+
resync: true,
|
|
7452
|
+
prune: true,
|
|
7453
|
+
vnc: true,
|
|
7454
|
+
dind: true,
|
|
7455
|
+
// "Hetzner has no archive primitive. Pause ≡ stop." (backend.ts)
|
|
7456
|
+
pauseSemantics: "stop",
|
|
7457
|
+
hubRoutable: true
|
|
7458
|
+
},
|
|
7377
7459
|
blurb: "Hetzner Cloud VPSes",
|
|
7378
7460
|
sizeDesc: "Per-provider override of `box.size` for hetzner. Server type string (e.g. `cx23`, `cx33`, `cx43`).",
|
|
7379
7461
|
imageDesc: "Per-provider override of `box.image` for hetzner (image description, e.g. `agentbox-base-<fingerprint>`). Written by `agentbox prepare --provider hetzner`."
|
|
@@ -7383,7 +7465,38 @@ var PROVIDERS = [
|
|
|
7383
7465
|
kind: "cloud",
|
|
7384
7466
|
label: "Vercel (cloud microVM)",
|
|
7385
7467
|
loginHint: "installs the Vercel sandbox CLI, then a browser sign-in",
|
|
7386
|
-
|
|
7468
|
+
credentials: {
|
|
7469
|
+
envKeys: ["VERCEL_TOKEN", "VERCEL_OIDC_TOKEN", "VERCEL_AUTH_SOURCE"],
|
|
7470
|
+
fields: [
|
|
7471
|
+
{ key: "token", label: "Access token" },
|
|
7472
|
+
{ key: "teamId", label: "Team ID", optional: true },
|
|
7473
|
+
{ key: "projectId", label: "Project ID", optional: true }
|
|
7474
|
+
]
|
|
7475
|
+
},
|
|
7476
|
+
bake: {
|
|
7477
|
+
required: true,
|
|
7478
|
+
approxMinutes: "5-10",
|
|
7479
|
+
createProgressSteps: 33,
|
|
7480
|
+
bakeProgressSteps: 400
|
|
7481
|
+
},
|
|
7482
|
+
capabilities: {
|
|
7483
|
+
checkpoints: true,
|
|
7484
|
+
// `sb.snapshot()` stops the box; the live agent process doesn't survive.
|
|
7485
|
+
checkpointReboots: true,
|
|
7486
|
+
// No SSH at all — attach is a custom tmux bridge over the SDK.
|
|
7487
|
+
ssh: false,
|
|
7488
|
+
persistentSsh: false,
|
|
7489
|
+
directBoxSsh: false,
|
|
7490
|
+
inbound: false,
|
|
7491
|
+
directGit: true,
|
|
7492
|
+
resync: true,
|
|
7493
|
+
prune: true,
|
|
7494
|
+
vnc: true,
|
|
7495
|
+
// Nested containers verified working 2026-06-30 (`launchDockerd: true`).
|
|
7496
|
+
dind: true,
|
|
7497
|
+
pauseSemantics: "freeze",
|
|
7498
|
+
hubRoutable: true
|
|
7499
|
+
},
|
|
7387
7500
|
blurb: "Vercel Sandboxes",
|
|
7388
7501
|
sizeDesc: "Per-provider override of `box.size` for vercel. vCPU count \u2014 one of `1`, `2`, `4`, `8` (Vercel couples RAM at 2048 MB/vCPU). Default 2.",
|
|
7389
7502
|
imageDesc: "Per-provider override of `box.image` for vercel (snapshot id, e.g. `snap_\u2026`). Written by `agentbox prepare --provider vercel`."
|
|
@@ -7393,7 +7506,29 @@ var PROVIDERS = [
|
|
|
7393
7506
|
kind: "cloud",
|
|
7394
7507
|
label: "E2B (cloud microVM)",
|
|
7395
7508
|
loginHint: "paste an API key from the E2B dashboard",
|
|
7396
|
-
|
|
7509
|
+
credentials: {
|
|
7510
|
+
envKeys: ["E2B_API_KEY"],
|
|
7511
|
+
fields: [{ key: "apiKey", label: "API key" }]
|
|
7512
|
+
},
|
|
7513
|
+
bake: { required: true, approxMinutes: "2", createProgressSteps: 34, bakeProgressSteps: 500 },
|
|
7514
|
+
capabilities: {
|
|
7515
|
+
checkpoints: true,
|
|
7516
|
+
checkpointReboots: false,
|
|
7517
|
+
// No SSH — attach is an SDK-streaming PTY bridge.
|
|
7518
|
+
ssh: false,
|
|
7519
|
+
persistentSsh: false,
|
|
7520
|
+
directBoxSsh: false,
|
|
7521
|
+
inbound: false,
|
|
7522
|
+
directGit: true,
|
|
7523
|
+
resync: true,
|
|
7524
|
+
prune: true,
|
|
7525
|
+
vnc: true,
|
|
7526
|
+
// Full root + cap_sys_admin, verified 2026-06-23.
|
|
7527
|
+
dind: true,
|
|
7528
|
+
pauseSemantics: "freeze",
|
|
7529
|
+
hubRoutable: true,
|
|
7530
|
+
timeoutModel: "inactivity"
|
|
7531
|
+
},
|
|
7397
7532
|
blurb: "E2B microVMs",
|
|
7398
7533
|
sizeDesc: "Per-provider override of `box.size` for e2b. `cpu-memory` GB spec (e.g. `4-8`). Template-level: baked by `agentbox prepare --provider e2b --size <spec>`; E2B rejects per-create resources.",
|
|
7399
7534
|
imageDesc: "Per-provider override of `box.image` for e2b (template id or `name:tag`, e.g. `agentbox-base:latest`). Written by `agentbox prepare --provider e2b`."
|
|
@@ -7403,7 +7538,47 @@ var PROVIDERS = [
|
|
|
7403
7538
|
kind: "cloud",
|
|
7404
7539
|
label: "DigitalOcean (cloud VPS)",
|
|
7405
7540
|
loginHint: "paste a Personal Access Token from the DigitalOcean Console",
|
|
7406
|
-
|
|
7541
|
+
credentials: {
|
|
7542
|
+
envKeys: ["DIGITALOCEAN_TOKEN"],
|
|
7543
|
+
fields: [
|
|
7544
|
+
{ key: "token", label: "API token" },
|
|
7545
|
+
// Not a secret: the host writes it to `box.digitaloceanProject`. Blank
|
|
7546
|
+
// means "leave unchanged", never "clear" — clearing is a `config unset`.
|
|
7547
|
+
{
|
|
7548
|
+
key: "project",
|
|
7549
|
+
label: "Project",
|
|
7550
|
+
optional: true,
|
|
7551
|
+
secret: false,
|
|
7552
|
+
hint: "blank leaves it unchanged"
|
|
7553
|
+
}
|
|
7554
|
+
]
|
|
7555
|
+
},
|
|
7556
|
+
bake: {
|
|
7557
|
+
required: true,
|
|
7558
|
+
approxMinutes: "7-10",
|
|
7559
|
+
createProgressSteps: 41,
|
|
7560
|
+
bakeProgressSteps: 900
|
|
7561
|
+
},
|
|
7562
|
+
capabilities: {
|
|
7563
|
+
checkpoints: true,
|
|
7564
|
+
checkpointReboots: false,
|
|
7565
|
+
// A VPS with a real sshd, same shape as hetzner. The pre-descriptor
|
|
7566
|
+
// `IDE_PROVIDERS` / `SSH_MOUNT_PROVIDERS` arrays omitted digitalocean while
|
|
7567
|
+
// listing it in `PROVIDERS_WITH_DIRECT_BOX_SSH` — an oversight, not a
|
|
7568
|
+
// limitation, so `agentbox code` / `open` start working here.
|
|
7569
|
+
ssh: true,
|
|
7570
|
+
persistentSsh: true,
|
|
7571
|
+
directBoxSsh: true,
|
|
7572
|
+
inbound: true,
|
|
7573
|
+
directGit: true,
|
|
7574
|
+
resync: true,
|
|
7575
|
+
prune: true,
|
|
7576
|
+
vnc: true,
|
|
7577
|
+
dind: true,
|
|
7578
|
+
// "DigitalOcean has no archive primitive. Pause ≡ stop (power off)."
|
|
7579
|
+
pauseSemantics: "stop",
|
|
7580
|
+
hubRoutable: true
|
|
7581
|
+
},
|
|
7407
7582
|
blurb: "DigitalOcean Droplets",
|
|
7408
7583
|
sizeDesc: "Per-provider override of `box.size` for digitalocean. Droplet size slug (e.g. `s-2vcpu-4gb`, `s-4vcpu-8gb`).",
|
|
7409
7584
|
imageDesc: "Per-provider override of `box.image` for digitalocean (numeric snapshot id). Written by `agentbox prepare --provider digitalocean`."
|
|
@@ -7412,8 +7587,30 @@ var PROVIDERS = [
|
|
|
7412
7587
|
name: "remote-docker",
|
|
7413
7588
|
kind: "cloud",
|
|
7414
7589
|
label: "Remote Docker (your own machine over SSH)",
|
|
7590
|
+
// It connects as you, over your own ~/.ssh/config — there is no credential
|
|
7591
|
+
// to store, so there is none to check.
|
|
7415
7592
|
loginHint: "point it at an SSH host you can already reach (no login needed)",
|
|
7416
|
-
|
|
7593
|
+
credentials: { envKeys: [], fields: [] },
|
|
7594
|
+
// Usable as soon as one host alias is registered: the image builds lazily on
|
|
7595
|
+
// first create. Readiness is the alias count, not a base marker.
|
|
7596
|
+
bake: { required: false, approxMinutes: "1-3" },
|
|
7597
|
+
capabilities: {
|
|
7598
|
+
checkpoints: true,
|
|
7599
|
+
checkpointReboots: false,
|
|
7600
|
+
ssh: true,
|
|
7601
|
+
persistentSsh: true,
|
|
7602
|
+
// Reached by ProxyJump through the engine, via its own `sshTarget`.
|
|
7603
|
+
directBoxSsh: false,
|
|
7604
|
+
inbound: false,
|
|
7605
|
+
directGit: true,
|
|
7606
|
+
resync: true,
|
|
7607
|
+
prune: true,
|
|
7608
|
+
vnc: true,
|
|
7609
|
+
dind: true,
|
|
7610
|
+
pauseSemantics: "freeze",
|
|
7611
|
+
// Docker on YOUR OWN machine — a control box can't reach it.
|
|
7612
|
+
hubRoutable: false
|
|
7613
|
+
},
|
|
7417
7614
|
blurb: "Docker on a remote machine over SSH",
|
|
7418
7615
|
sizeDesc: "Per-provider override of `box.size` for remote-docker. `cpu-memory` GB spec (e.g. `4-8`) mapped to the container's `--cpus` / `--memory`. Empty = unlimited (the remote engine's defaults).",
|
|
7419
7616
|
imageDesc: "Per-provider override of `box.image` for remote-docker (a docker image ref on the REMOTE engine). Normally left empty: the provider derives a fingerprint-tagged ref (`agentbox/box:<sha12>`) and ensures it on the remote itself."
|
|
@@ -7423,9 +7620,9 @@ var PROVIDER_NAMES = PROVIDERS.map((p) => p.name);
|
|
|
7423
7620
|
var CLOUD_PROVIDER_NAMES = PROVIDERS.filter(
|
|
7424
7621
|
(p) => p.kind === "cloud"
|
|
7425
7622
|
).map((p) => p.name);
|
|
7426
|
-
var HUB_ROUTABLE_PROVIDER_NAMES =
|
|
7427
|
-
(
|
|
7428
|
-
);
|
|
7623
|
+
var HUB_ROUTABLE_PROVIDER_NAMES = PROVIDERS.filter(
|
|
7624
|
+
(p) => p.capabilities.hubRoutable
|
|
7625
|
+
).map((p) => p.name);
|
|
7429
7626
|
function isHubRoutableProvider(name) {
|
|
7430
7627
|
return HUB_ROUTABLE_PROVIDER_NAMES.includes(name);
|
|
7431
7628
|
}
|
|
@@ -7465,6 +7662,7 @@ var BUILT_IN_DEFAULTS = {
|
|
|
7465
7662
|
sizeRemoteDocker: "",
|
|
7466
7663
|
withPlaywright: false,
|
|
7467
7664
|
claudeInstall: "native",
|
|
7665
|
+
claudeTui: "default",
|
|
7468
7666
|
withEnv: false,
|
|
7469
7667
|
resyncOnStart: true,
|
|
7470
7668
|
vnc: true,
|
|
@@ -7557,7 +7755,8 @@ var BUILT_IN_DEFAULTS = {
|
|
|
7557
7755
|
port: 8787,
|
|
7558
7756
|
controlPlaneUrl: void 0,
|
|
7559
7757
|
custodyMaxBodyBytes: 32 * 1024 * 1024,
|
|
7560
|
-
custodyMaxBlobBytes: 100 * 1024 * 1024
|
|
7758
|
+
custodyMaxBlobBytes: 100 * 1024 * 1024,
|
|
7759
|
+
hostReachTimeoutMs: 6e4
|
|
7561
7760
|
},
|
|
7562
7761
|
git: {
|
|
7563
7762
|
pushMode: "auto"
|
|
@@ -7597,9 +7796,9 @@ var BUILT_IN_DEFAULTS = {
|
|
|
7597
7796
|
check: true,
|
|
7598
7797
|
channel: "auto"
|
|
7599
7798
|
},
|
|
7600
|
-
|
|
7601
|
-
|
|
7602
|
-
|
|
7799
|
+
tools: {
|
|
7800
|
+
gh: { enabled: true },
|
|
7801
|
+
request: { enabled: true }
|
|
7603
7802
|
}
|
|
7604
7803
|
};
|
|
7605
7804
|
function joinOr(items) {
|
|
@@ -7672,6 +7871,12 @@ var KEY_REGISTRY = [
|
|
|
7672
7871
|
enumValues: ["native", "npm"],
|
|
7673
7872
|
description: "How `agentbox prepare` installs Claude Code into the base image/snapshot: `native` (Anthropic's installer, the default) or `npm` (@anthropic-ai/claude-code). A fallback for cloud egress IPs the native installer's CDN 403s. Bake-time only \u2014 change it, then re-run `agentbox prepare --provider <name>`."
|
|
7674
7873
|
},
|
|
7874
|
+
{
|
|
7875
|
+
key: "box.claudeTui",
|
|
7876
|
+
type: "enum",
|
|
7877
|
+
enumValues: ["default", "fullscreen", "auto"],
|
|
7878
|
+
description: "Terminal renderer Claude Code uses inside a box: `default` (the classic renderer, the AgentBox default), `fullscreen` (Claude's alternate-screen renderer), or `auto` (let Claude decide). Boxes default to `default` because the fullscreen renderer's differential repaint leaves stale characters behind over a network transport \u2014 visible while scrolling, and cleared only by resizing the terminal. Applied via /etc/agentbox/box.env, so it takes effect on the next box start."
|
|
7879
|
+
},
|
|
7675
7880
|
{
|
|
7676
7881
|
key: "box.withEnv",
|
|
7677
7882
|
type: "bool",
|
|
@@ -7695,7 +7900,7 @@ var KEY_REGISTRY = [
|
|
|
7695
7900
|
{
|
|
7696
7901
|
key: "box.autoApproveSafeHostActions",
|
|
7697
7902
|
type: "bool",
|
|
7698
|
-
description: "Auto-approve the SAFE subset of host actions without a prompt: opening a PR, PR/review comments, re-running CI, pushing to the box's scratch or host-sanctioned branch, checkpoints,
|
|
7903
|
+
description: "Auto-approve the SAFE subset of host actions without a prompt: opening a PR, PR/review comments, re-running CI, pushing to the box's scratch or host-sanctioned branch, checkpoints, calls to a granted host tool, and file copy/download that stays inside the box project folder (non-secret). Uncontained or secret file transfers, non-sanctioned-branch pushes, and PR merge/checkout still prompt. On by default; set false to prompt for every host action (the pre-relax behavior). Superseded by box.autoApproveHostActions, which approves everything. Each auto-approval is recorded as a relay event."
|
|
7699
7904
|
},
|
|
7700
7905
|
{
|
|
7701
7906
|
key: "box.isolateClaudeConfig",
|
|
@@ -7804,7 +8009,7 @@ var KEY_REGISTRY = [
|
|
|
7804
8009
|
{
|
|
7805
8010
|
key: "box.e2bTimeoutMs",
|
|
7806
8011
|
type: "int",
|
|
7807
|
-
description: "Session
|
|
8012
|
+
description: "Session window (ms) a --provider e2b box is created with and re-armed with on every resume; the host keepalive pushes it forward while the agent is working, and doubles as the idle window after which the host pauses the box. Boxes pause rather than die at the window (and at E2B\u2019s own ~1 h Hobby / 24 h Pro cap), keeping filesystem and memory. Default 2700000 (45 min). E2B-only."
|
|
7808
8013
|
},
|
|
7809
8014
|
{
|
|
7810
8015
|
key: "box.cpMaxBytes",
|
|
@@ -7944,6 +8149,12 @@ var KEY_REGISTRY = [
|
|
|
7944
8149
|
description: "Per-request cap (bytes) for the streaming custody blob API (default 104857600 = 100 MiB), which carries payloads too large to buffer as base64 \u2014 chiefly a project's `carry:` material. Defaults to the same value as box.cpMaxBytes so an entry the carry gate accepted at resolve time can actually be stored on a control box; if the two disagree the CLI promises a copy the transport then refuses. Enforced mid-stream (an over-cap upload is cut off, not landed). A control box enforces its own cap via AGENTBOX_CUSTODY_MAX_BLOB_BYTES, so raise both.",
|
|
7945
8150
|
advanced: true
|
|
7946
8151
|
},
|
|
8152
|
+
{
|
|
8153
|
+
key: "relay.hostReachTimeoutMs",
|
|
8154
|
+
type: "int",
|
|
8155
|
+
description: "How long a control box waits (ms, default 60000) for your machine to pick up a copy between a box and your files, before treating it as offline \u2014 and how long a silence must last before a machine that already took the copy is presumed gone. Your machine long-polls the control box while its relay runs, so this is a missed-heartbeat window, not a per-copy timeout: once your machine has the action it can sit on a confirmation prompt for as long as you like. Read on the machine that does the waiting \u2014 set it ON THE CONTROL BOX (its own config, or AGENTBOX_HOST_REACH_TIMEOUT_MS in its deploy env); setting it on your laptop governs nothing, since your laptop is not the one parking the copy. Lower it to fall back to the hub cache sooner on a flaky link, raise it if your machine sleeps often.",
|
|
8156
|
+
advanced: true
|
|
8157
|
+
},
|
|
7947
8158
|
{
|
|
7948
8159
|
key: "git.pushMode",
|
|
7949
8160
|
type: "enum",
|
|
@@ -8052,14 +8263,14 @@ var KEY_REGISTRY = [
|
|
|
8052
8263
|
description: "Which release channel `agentbox self-update` and `install app` follow: `auto` (default) follows the installed build, `nightly` opts into pre-release builds cut from the nightly branch, `stable` opts back out. Nightly always installs the newest build of EITHER channel, so a stable release supersedes the nightlies that preceded it."
|
|
8053
8264
|
},
|
|
8054
8265
|
{
|
|
8055
|
-
key: "
|
|
8266
|
+
key: "tools.gh.enabled",
|
|
8056
8267
|
type: "bool",
|
|
8057
|
-
description:
|
|
8268
|
+
description: "Whether the built-in `gh` host-tool grant is active. True (default) keeps the in-box `gh` shim routing GitHub operations through the host relay with the host's own `gh` auth; false revokes the grant so `gh` stops resolving in new boxes. Every other host tool is opt-in via `agentbox tools add` or an `agentbox.yaml` `tools:` request."
|
|
8058
8269
|
},
|
|
8059
8270
|
{
|
|
8060
|
-
key: "
|
|
8271
|
+
key: "tools.request.enabled",
|
|
8061
8272
|
type: "bool",
|
|
8062
|
-
description:
|
|
8273
|
+
description: "Whether a box may ask the host for access to a new host CLI (`agentbox-ctl tool request <bin>`). True (default) raises a host approval prompt naming the box, the binary and the reason; false refuses the request outright so boxes can only use tools already granted."
|
|
8063
8274
|
}
|
|
8064
8275
|
];
|
|
8065
8276
|
var REGISTRY_BY_KEY = new Map(KEY_REGISTRY.map((d) => [d.key, d]));
|
|
@@ -8373,6 +8584,10 @@ async function configPathFor(scope, cwd) {
|
|
|
8373
8584
|
if (scope === "project") return projectConfigFile(root.root);
|
|
8374
8585
|
return workspaceConfigFile(root.root);
|
|
8375
8586
|
}
|
|
8587
|
+
var GLOBAL_TOOLS_FILE = join(STATE_DIR, "tools.yaml");
|
|
8588
|
+
function projectToolsFile(absPath) {
|
|
8589
|
+
return join(projectConfigDir(absPath), "tools.yaml");
|
|
8590
|
+
}
|
|
8376
8591
|
var warningSink = null;
|
|
8377
8592
|
function setConfigWarningSink(fn) {
|
|
8378
8593
|
warningSink = fn;
|
|
@@ -8836,6 +9051,100 @@ async function touchProjectMeta(absPath, originUrl) {
|
|
|
8836
9051
|
await writeFile(tmp, JSON.stringify(next, null, 2) + "\n", { encoding: "utf8", mode: 420 });
|
|
8837
9052
|
await rename(tmp, metaPath);
|
|
8838
9053
|
}
|
|
9054
|
+
var BUILTIN_GH_GRANT = {
|
|
9055
|
+
name: "gh",
|
|
9056
|
+
bin: "gh",
|
|
9057
|
+
source: "builtin"
|
|
9058
|
+
};
|
|
9059
|
+
async function loadGrantedTools(cwd, opts = {}) {
|
|
9060
|
+
const merged = /* @__PURE__ */ new Map();
|
|
9061
|
+
if (opts.includeBuiltins !== false) merged.set(BUILTIN_GH_GRANT.name, BUILTIN_GH_GRANT);
|
|
9062
|
+
let root = cwd;
|
|
9063
|
+
try {
|
|
9064
|
+
root = (await findProjectRoot(cwd)).root;
|
|
9065
|
+
} catch {
|
|
9066
|
+
}
|
|
9067
|
+
for (const file of [GLOBAL_TOOLS_FILE, projectToolsFile(root)]) {
|
|
9068
|
+
for (const grant of await readToolsFile(file)) merged.set(grant.name, grant);
|
|
9069
|
+
}
|
|
9070
|
+
return merged;
|
|
9071
|
+
}
|
|
9072
|
+
async function resolveProjectToolsFile(cwd) {
|
|
9073
|
+
try {
|
|
9074
|
+
return projectToolsFile((await findProjectRoot(cwd)).root);
|
|
9075
|
+
} catch {
|
|
9076
|
+
return projectToolsFile(cwd);
|
|
9077
|
+
}
|
|
9078
|
+
}
|
|
9079
|
+
async function readToolsFile(file) {
|
|
9080
|
+
let raw;
|
|
9081
|
+
try {
|
|
9082
|
+
raw = await readFile3(file, "utf8");
|
|
9083
|
+
} catch {
|
|
9084
|
+
return [];
|
|
9085
|
+
}
|
|
9086
|
+
let doc;
|
|
9087
|
+
try {
|
|
9088
|
+
doc = (0, import_yaml4.parse)(raw);
|
|
9089
|
+
} catch {
|
|
9090
|
+
return [];
|
|
9091
|
+
}
|
|
9092
|
+
const tools = doc?.tools;
|
|
9093
|
+
if (!tools || typeof tools !== "object") return [];
|
|
9094
|
+
const out = [];
|
|
9095
|
+
for (const [name, value] of Object.entries(tools)) {
|
|
9096
|
+
if (!isValidToolName(name)) continue;
|
|
9097
|
+
const entry = value ?? {};
|
|
9098
|
+
out.push({
|
|
9099
|
+
name,
|
|
9100
|
+
bin: typeof entry.bin === "string" && entry.bin ? entry.bin : name,
|
|
9101
|
+
...stringArray(entry.allow) ? { allow: stringArray(entry.allow) } : {},
|
|
9102
|
+
...stringArray(entry.deny) ? { deny: stringArray(entry.deny) } : {},
|
|
9103
|
+
...typeof entry.timeoutMs === "number" && entry.timeoutMs > 0 ? { timeoutMs: entry.timeoutMs } : {},
|
|
9104
|
+
source: isGrantSource(entry.source) ? entry.source : "cli",
|
|
9105
|
+
...typeof entry.approvedAt === "string" ? { approvedAt: entry.approvedAt } : {}
|
|
9106
|
+
});
|
|
9107
|
+
}
|
|
9108
|
+
return out;
|
|
9109
|
+
}
|
|
9110
|
+
async function writeToolGrant(file, grant) {
|
|
9111
|
+
const existing = await readToolsFile(file);
|
|
9112
|
+
const byName = new Map(existing.map((g) => [g.name, g]));
|
|
9113
|
+
byName.set(grant.name, grant);
|
|
9114
|
+
await persist(file, [...byName.values()]);
|
|
9115
|
+
}
|
|
9116
|
+
async function removeToolGrant(file, name) {
|
|
9117
|
+
const existing = await readToolsFile(file);
|
|
9118
|
+
const kept = existing.filter((g) => g.name !== name);
|
|
9119
|
+
if (kept.length === existing.length) return false;
|
|
9120
|
+
await persist(file, kept);
|
|
9121
|
+
return true;
|
|
9122
|
+
}
|
|
9123
|
+
async function persist(file, grants) {
|
|
9124
|
+
await mkdir3(dirname4(file), { recursive: true });
|
|
9125
|
+
const tools = {};
|
|
9126
|
+
for (const g of grants.sort((a, b) => a.name.localeCompare(b.name))) {
|
|
9127
|
+
const rest = { bin: g.bin, source: g.source };
|
|
9128
|
+
if (g.allow) rest.allow = g.allow;
|
|
9129
|
+
if (g.deny) rest.deny = g.deny;
|
|
9130
|
+
if (g.timeoutMs !== void 0) rest.timeoutMs = g.timeoutMs;
|
|
9131
|
+
if (g.approvedAt) rest.approvedAt = g.approvedAt;
|
|
9132
|
+
tools[g.name] = rest;
|
|
9133
|
+
}
|
|
9134
|
+
const header = "# agentbox host-tool grants \u2014 written by `agentbox tools` and by approved\n# in-box `agentbox-ctl tool request` calls. The relay reads only this file;\n# an agentbox.yaml `tools:` entry is a request until it is approved here.\n";
|
|
9135
|
+
await writeFile2(file, header + (0, import_yaml4.stringify)({ tools }), "utf8");
|
|
9136
|
+
}
|
|
9137
|
+
function isValidToolName(name) {
|
|
9138
|
+
return /^[a-zA-Z0-9][a-zA-Z0-9._+-]{0,63}$/.test(name);
|
|
9139
|
+
}
|
|
9140
|
+
function stringArray(v) {
|
|
9141
|
+
if (!Array.isArray(v)) return void 0;
|
|
9142
|
+
const out = v.filter((x) => typeof x === "string" && x.length > 0);
|
|
9143
|
+
return out.length > 0 ? out : void 0;
|
|
9144
|
+
}
|
|
9145
|
+
function isGrantSource(v) {
|
|
9146
|
+
return v === "builtin" || v === "cli" || v === "yaml" || v === "request";
|
|
9147
|
+
}
|
|
8839
9148
|
|
|
8840
9149
|
export {
|
|
8841
9150
|
require_dist,
|
|
@@ -8871,6 +9180,8 @@ export {
|
|
|
8871
9180
|
projectMetaFile,
|
|
8872
9181
|
workspaceConfigFile,
|
|
8873
9182
|
configPathFor,
|
|
9183
|
+
GLOBAL_TOOLS_FILE,
|
|
9184
|
+
projectToolsFile,
|
|
8874
9185
|
setConfigWarningSink,
|
|
8875
9186
|
loadProjectAgentboxDefaults,
|
|
8876
9187
|
loadEffectiveConfig,
|
|
@@ -8891,5 +9202,12 @@ export {
|
|
|
8891
9202
|
pruneOrphanProjectConfigs,
|
|
8892
9203
|
bumpProjectGcCounter,
|
|
8893
9204
|
registerProject,
|
|
8894
|
-
unregisterProject
|
|
9205
|
+
unregisterProject,
|
|
9206
|
+
BUILTIN_GH_GRANT,
|
|
9207
|
+
loadGrantedTools,
|
|
9208
|
+
resolveProjectToolsFile,
|
|
9209
|
+
readToolsFile,
|
|
9210
|
+
writeToolGrant,
|
|
9211
|
+
removeToolGrant,
|
|
9212
|
+
isValidToolName
|
|
8895
9213
|
};
|