@madarco/agentbox 0.33.0 → 0.33.1
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 +39 -0
- package/dist/_cloud-attach-KEFEQ2YH.js +32 -0
- package/dist/{chunk-L55DASHB.js → chunk-2SKTXZGX.js} +8 -8
- package/dist/{chunk-YZZKWZO2.js → chunk-3PTSPFR6.js} +7 -1
- package/dist/chunk-3PTSPFR6.js.map +1 -0
- package/dist/{chunk-BKOKMZNK.js → chunk-3QTWB66F.js} +6 -6
- package/dist/{chunk-VSWIJHCH.js → chunk-5ZBNVZSU.js} +3 -3
- package/dist/{chunk-IX7S6NJR.js → chunk-72LKKHPI.js} +4 -4
- package/dist/{chunk-AXAMPAP3.js → chunk-7ELRQNNH.js} +3 -3
- package/dist/chunk-7ELRQNNH.js.map +1 -0
- package/dist/{chunk-WJ4MZESJ.js → chunk-7RDDR6BW.js} +27 -8
- package/dist/chunk-7RDDR6BW.js.map +1 -0
- package/dist/{chunk-7TPGIQOP.js → chunk-BORN6FJK.js} +10 -10
- package/dist/{chunk-OVLM2EZV.js → chunk-CUMSI7N3.js} +97 -83
- package/dist/chunk-CUMSI7N3.js.map +1 -0
- package/dist/{chunk-Z6LK4P54.js → chunk-EUE6F7HL.js} +40 -12
- package/dist/chunk-EUE6F7HL.js.map +1 -0
- package/dist/{chunk-7AMMBUEW.js → chunk-F2CNFPIA.js} +67 -33
- package/dist/chunk-F2CNFPIA.js.map +1 -0
- package/dist/{chunk-77IAHAQY.js → chunk-FBQC6TKM.js} +6 -6
- package/dist/{chunk-IJFP7N34.js → chunk-FPYYDMCR.js} +26 -9
- package/dist/chunk-FPYYDMCR.js.map +1 -0
- package/dist/{chunk-U7J7JT6R.js → chunk-G35FJ4KT.js} +108 -43
- package/dist/chunk-G35FJ4KT.js.map +1 -0
- package/dist/{chunk-JUTAYI2N.js → chunk-GCUJUUNE.js} +5 -5
- package/dist/{chunk-S77B5POZ.js → chunk-GKBAEX2P.js} +6 -6
- package/dist/{chunk-XKUF67M6.js → chunk-GT7VDGNV.js} +4 -4
- package/dist/{chunk-52OXHGKQ.js → chunk-HNPYVRX7.js} +35 -16
- package/dist/chunk-HNPYVRX7.js.map +1 -0
- package/dist/{chunk-AGHR7XOJ.js → chunk-HOJKUVH6.js} +3 -3
- package/dist/{chunk-PENAXZMR.js → chunk-INJIW6PP.js} +7 -7
- package/dist/{chunk-OYWP4SII.js → chunk-IZPNDZXI.js} +5 -5
- package/dist/{chunk-U3BCLGTH.js → chunk-JHS4ROJH.js} +11 -11
- package/dist/{chunk-CWN4DJYI.js → chunk-JVZZPJ2C.js} +3 -3
- package/dist/{chunk-KOGQNHV3.js → chunk-KA67IGEG.js} +4 -4
- package/dist/{chunk-OTAYAFYF.js → chunk-KRF2JODE.js} +3 -3
- package/dist/{chunk-SDWKZLGP.js → chunk-LFMJXQDL.js} +5 -5
- package/dist/{chunk-FM7PHYBD.js → chunk-NEU5B2VO.js} +162 -8
- package/dist/chunk-NEU5B2VO.js.map +1 -0
- package/dist/{chunk-2U4HKKM7.js → chunk-NSYCXUN5.js} +6 -6
- package/dist/{chunk-U4Z5OOOD.js → chunk-NZN3BME7.js} +32 -12
- package/dist/chunk-NZN3BME7.js.map +1 -0
- package/dist/{chunk-KWDFEQO6.js → chunk-PI4A3TGV.js} +24 -71
- package/dist/chunk-PI4A3TGV.js.map +1 -0
- package/dist/{chunk-HS6B3CE4.js → chunk-PJCIZLIX.js} +472 -138
- package/dist/chunk-PJCIZLIX.js.map +1 -0
- package/dist/{chunk-GERRSRQZ.js → chunk-PZK5KRFB.js} +12 -10
- package/dist/{chunk-GERRSRQZ.js.map → chunk-PZK5KRFB.js.map} +1 -1
- package/dist/{chunk-5JDGKHWH.js → chunk-QALBGVPR.js} +2 -2
- package/dist/{chunk-JCDC5S32.js → chunk-QDBDDJKT.js} +4 -4
- package/dist/{chunk-R7J7WFM5.js → chunk-QUBP3AZD.js} +220 -49
- package/dist/chunk-QUBP3AZD.js.map +1 -0
- package/dist/{chunk-YVIC7TNH.js → chunk-QZW3WXBW.js} +43 -23
- package/dist/{chunk-YVIC7TNH.js.map → chunk-QZW3WXBW.js.map} +1 -1
- package/dist/{chunk-ZPFTFIKP.js → chunk-S5WFZHC5.js} +5 -5
- package/dist/{chunk-UFOUBCPW.js → chunk-UDSNFS67.js} +34 -36
- package/dist/{chunk-UFOUBCPW.js.map → chunk-UDSNFS67.js.map} +1 -1
- package/dist/{chunk-PVZUQTLW.js → chunk-VUTEVIYG.js} +5 -5
- package/dist/{chunk-3HJQZQ76.js → chunk-WNFUSPZR.js} +25 -72
- package/dist/chunk-WNFUSPZR.js.map +1 -0
- package/dist/{chunk-OWCTDO67.js → chunk-WVBTRK6R.js} +13 -13
- package/dist/{chunk-4IQGL4KD.js → chunk-ZMKRUD6J.js} +6 -6
- package/dist/{chunk-J2AD7MLR.js → chunk-ZQWOZ5BL.js} +3 -3
- package/dist/{cli-6IPZVUXF.js → cli-B4VVKKYV.js} +10 -10
- package/dist/{cli-QIBPY2HQ.js → cli-ENMWXMKO.js} +10 -10
- package/dist/{cli-QSV6K33P.js → cli-F2UBHH7H.js} +11 -11
- package/dist/{cli-E2ZC5S4U.js → cli-JKSQBGRO.js} +11 -11
- package/dist/{cli-3WZP5JHA.js → cli-MIIWRJDK.js} +11 -11
- package/dist/cloud-backends.js +6 -6
- package/dist/{control-plane-I2QKMHPK.js → control-plane-R4ELXZHL.js} +22 -22
- package/dist/{cp-hub-upload-GW566DGZ.js → cp-hub-upload-IUQVJGOW.js} +10 -10
- package/dist/custody-client-PVDBOT7Y.js +18 -0
- package/dist/{deploy-hetzner-IIAXES7B.js → deploy-hetzner-KY6KWN4M.js} +11 -11
- package/dist/{dist-4K66F4UR.js → dist-2QGMP2UI.js} +10 -10
- package/dist/{dist-SZTW3RMB.js → dist-5MCQFGLX.js} +28 -8
- package/dist/{dist-XZXZSTTA.js → dist-7EKSUISW.js} +33 -18
- package/dist/dist-7EKSUISW.js.map +1 -0
- package/dist/{dist-5RMJLMYG.js → dist-EIVYC2MR.js} +3 -3
- package/dist/{dist-VKKHIHCZ.js → dist-JWXPKGPZ.js} +10 -10
- package/dist/{dist-HIQCE4H2.js → dist-ONAAPVBD.js} +21 -11
- package/dist/{dist-WR2HYACA.js → dist-OXLTCVA2.js} +10 -10
- package/dist/{dist-WTPYXNRH.js → dist-PBO4UHJK.js} +2 -2
- package/dist/{dist-YED5YJQN.js → dist-RCBMUPVR.js} +12 -4
- package/dist/{dist-IXPKVU3R.js → dist-TD74GXLP.js} +6 -6
- package/dist/{dist-44RSFOGQ.js → dist-VCZ3LZPJ.js} +22 -12
- package/dist/{dist-3EZQDIOD.js → dist-WGV7LRDC.js} +11 -9
- package/dist/{host-reach-drainer-A4ZO6UKT.js → host-reach-drainer-AZYC6UIB.js} +2 -2
- package/dist/{host-session-POJP4WO6.js → host-session-EGUDGE4R.js} +12 -12
- package/dist/hub-76RHPA7X.js +40 -0
- package/dist/{hub-adopt-YR7S5TNB.js → hub-adopt-5G7SKI2E.js} +9 -9
- package/dist/{hub-api-client-BUQDTSQ3.js → hub-api-client-WPZTG5AT.js} +5 -5
- package/dist/{hub-docker-target-XA5U2ZU5.js → hub-docker-target-CNJHYH4B.js} +16 -16
- package/dist/index.js +299 -224
- package/dist/index.js.map +1 -1
- package/dist/{manager-pty-XCGH6AUC-EZML75UO.js → manager-pty-XCGH6AUC-O3UNISN2.js} +5 -5
- package/dist/{plugin-update-BIPJZA24.js → plugin-update-UZYPWL4N.js} +6 -6
- package/dist/prepare-4GOTJXQL.js +48 -0
- package/dist/prepared-custody-4YJ4ZT7J.js +40 -0
- package/dist/{prepared-state-FO74QUCP-4WLAYPEO.js → prepared-state-FO74QUCP-GUIPQORN.js} +5 -5
- package/dist/pty-host.js +4 -4
- package/dist/{publish-credentials-N2JD2D3A.js → publish-credentials-RLRLNL33.js} +12 -12
- package/dist/registry-QMHCNR5X.js +18 -0
- package/dist/relay-VBWFCWKK.js +23 -0
- package/dist/{remote-docker-share-GIH6JNKY.js → remote-docker-share-TKG7SXHX.js} +13 -13
- package/dist/{tool-grant-push-7K765QKW.js → tool-grant-push-V7E3Y2W6.js} +3 -3
- package/package.json +2 -1
- package/runtime/_shared/ctl.cjs +138 -40
- package/runtime/digitalocean/ctl.cjs +138 -40
- package/runtime/docker/packages/ctl/dist/bin.cjs +138 -40
- package/runtime/e2b/ctl.cjs +138 -40
- package/runtime/hetzner/ctl.cjs +138 -40
- package/runtime/hub/apps/hub/.next/BUILD_ID +1 -1
- package/runtime/hub/apps/hub/.next/build-manifest.json +3 -3
- package/runtime/hub/apps/hub/.next/prerender-manifest.json +3 -3
- package/runtime/hub/apps/hub/.next/server/app/(auth)/signin/page/next-font-manifest.json +3 -3
- package/runtime/hub/apps/hub/.next/server/app/(auth)/signin/page_client-reference-manifest.js +1 -1
- 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.nft.json +1 -1
- 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.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/backup/route.js.nft.json +1 -1
- 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.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/clone/route.js.nft.json +1 -1
- 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.nft.json +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.nft.json +1 -1
- 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.nft.json +1 -1
- 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.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/upload/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/vnc/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/web/route.js.nft.json +1 -1
- 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.nft.json +1 -1
- 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.nft.json +1 -1
- 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.nft.json +1 -1
- 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.nft.json +1 -1
- 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/managers/[id]/attach/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/attach-box/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/heartbeat/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/message/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/notes/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/pin/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/resume/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/stop/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/detect/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/route.js.nft.json +1 -1
- 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]/bots/route.js.nft.json +1 -1
- 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]/create-preflight/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/restore/route.js.nft.json +1 -1
- 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.nft.json +1 -1
- 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.nft.json +1 -1
- 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/[id]/size-check/route.js.nft.json +1 -1
- 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.nft.json +1 -1
- 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)/api/v1/tasks/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/register/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/sessions/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/start/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rename/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/assign/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/done/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/unassign/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/assign/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/reorder/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/timeline/events/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/timeline/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page/next-font-manifest.json +3 -3
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page/server-reference-manifest.json +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)/approvals/page_client-reference-manifest.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page/next-font-manifest.json +3 -3
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page/server-reference-manifest.json +12 -12
- 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.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/web/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/custody/page/next-font-manifest.json +3 -3
- 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)/custody/page_client-reference-manifest.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page/next-font-manifest.json +3 -3
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page/server-reference-manifest.json +12 -12
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page/next-font-manifest.json +3 -3
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page/server-reference-manifest.json +8 -8
- 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)/projects/[id]/page_client-reference-manifest.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page/next-font-manifest.json +3 -3
- 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/next-font-manifest.json +3 -3
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/system/page.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/system/page_client-reference-manifest.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/[...path]/route.js +1 -1
- 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/_not-found/page/next-font-manifest.json +3 -3
- package/runtime/hub/apps/hub/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0-5e8ze._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0-di9rg._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__008zqfx._.js → [root-of-the-server]__0-ovzfw._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0-r5e8q._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__007hogi._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__0-kl55b._.js → [root-of-the-server]__00bh9gb._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__00dc6yl._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__00zpt4k._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__017tfb_._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__01dlun3._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__01mhbng._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__03jx5m5._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__03l4evb._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__0126167._.js → [root-of-the-server]__03uelft._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__03wt33b._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__03z-u4h._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__02s5f9s._.js → [root-of-the-server]__048c4u3._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__04glef0._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__04za-91._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__05cnibm._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__06e_no_._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__06g2ncr._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__06vmwu8._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__06wzlsi._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__07f11r9._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__07mtcs1._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__084o93l._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__085_re5._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__08kj50f._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__08txtdi._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__092u79y._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__09j-kzo._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__09umuy8._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__09wu-6r._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0_60dmv._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0_f5r-w._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ahciyb._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ajp0a3._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ao_4th._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0aqoqhn._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0b3_azq._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0cjjwg7._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0d1lmiq._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0d1wl4f._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0d2ce-o._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0dfklvw._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0dgkz7l._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0dlg6e7._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0dq5edp._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0drzmcj._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0dvyt4d._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0dyqk31._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0eliqqa._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0eluwey._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0f5v0j5._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0f7g_na._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0fn2qow._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0frnoss._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0g0e1x-._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0gdwl-b._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0gfhbl7._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0gsie0d._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0hg36y7._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0hz77cq._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0i501ph._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0j5jaq9._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0j7_6c5._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0jm5dx1._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0k-t2mr._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ktkk27._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0kxp4k8._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0l-mqzk._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0l7rw-n._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0lb45m6._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0lvczy2._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0m9zj9m._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0mg-juc._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0mriv1n._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0n4gqir._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0new-8d._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0nuc9du._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0nxnhun._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0o42jfc._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0o7zz8d._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0omb75h._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0p4ta6t._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0p5_ap9._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0pan9yi._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0pr6h1j._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0pz23t_._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0qcvt0o._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0qn4mea._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0qp0txx._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0qsn9xm._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0qx8qwu._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0r6p-ql._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0r6tfw8._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0sgdrnp._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ssn3y9._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0te8u6u._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ukg6s1._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0up7ls4._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0uvnrnf._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0v2xw5s._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0v5qu_p._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__12p0ia1._.js → [root-of-the-server]__0vku_ep._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0vuhl78._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0w52bth._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0wq5ukd._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0wx561s._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0wxo4bk._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0xfcui-._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0xm7z28._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0xqz1om._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0xur24w._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0xw3pee._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0xwht7v._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0y20q9b._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0zfq7yk._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0zi_qda._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0zpm7wg._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0zxlzp1._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1-a4wnf._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1-fpw4q._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1-iro6m._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1-o35-u._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1043gy8._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__10kehs5._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__10s1755._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__11d3dgq._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__126lrtu._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__12n9728._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__13hluml._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__13hzwlv._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__14c4h72._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__14oho-o._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__14zr9zt._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__153axa9._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1582-3i._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__15v83nk._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__16e-k-w._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__16m0mie._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__16ta_9y._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__17a3r0z._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__17kg43w._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__18g18yc._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__18m4f3-._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__190vthx._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__19vezsz._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__19vgyci._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1_ulp2r._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1a6hiz5._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1apqdye._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1avjial._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1cicer7._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1crkcf8._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1dra_qf._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1eearvr._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1eewe3-._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1fd1yxa._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1fyknn9._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1g24h4v._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1goi44d._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1hf8-7y._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1hn7h11._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1i9e2ly._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1j6cxj7._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1jwn6xy._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1kw00ov._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1l0xu4g._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1laa5r-._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1lo6_vz._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1lzumk3._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1m1qnsg._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1m26y4h._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1m5qi0d._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1m7oktq._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1mq0v7p._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1n29-mo._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1n5aq-l._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1nhwizo._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1o2vpkc._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1o9euia._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1otvs-z._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1p3nshl._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1pbl8am._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1q9a118._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1q9klny._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1qf5sar._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1qjpnlw._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1qpcmfu._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1r8kqe3._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ra-lry._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1rousb3._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1rvwwj8._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1rwfadw._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1sj1ox_._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1sq9444._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1sqteyf._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1th4k80._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1umt_5v._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ux-zjb._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1v5fjky._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1vspjdn._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1w02nxp._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1winv-x._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1wj9na5._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1x-8rww._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ybyads._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1yzs5_p._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1z3bc6x._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1zh-p_4._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1zj2l_d._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1zqt33m._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1zr57k3._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1zxsjfn._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__20ga3fy._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__20gp3bg._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__20k17-b._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__20o508x._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__20zx91s._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__219zam7._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/_03slv7y._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_03u-l9s._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_048yy7t._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_05_hmgg._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_08cr70o._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0907rw0._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_09bu8dh._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0_2z437._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0_s1tx9._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0_ue2iy._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0b6vmhh._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0bxg62j._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0cc3kcz._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0ccgezr._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0e50cwx._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0ek1dkx._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0g94rtj._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0hwl0oy._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0ihch2c._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0jal0nm._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0jvwv07._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0mpj2yt._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0n22m88._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0ndtf84._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0o1r-if._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0opn03l._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0p-2n50._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0qf4357._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0tbb47v._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0ubchhn._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0ul-64a._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0v--tpg._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0v3xwi-._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0vg6gvw._.js +42 -40
- package/runtime/hub/apps/hub/.next/server/chunks/_0y497n2._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0zvfiwd._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_100tsj5._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_11-rqgb._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_113fejt._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_12juepz._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_12w22u2._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_134-gub._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_14kba0u._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_16ec74_._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_17ntgn8._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1c27mjg._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1c4zrlu._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1cmknl6._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1g8ctu7._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1grz1bu._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1itx6m_._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1jaoh3w._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1ktt212._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1ldaou_._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1n3e-p-._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1onbxt8._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1pudgbl._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1qmsz02._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1r3ah1o._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1t24c_5._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1vv20kp._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1whgbe7._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1wj2dpr._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1wsllw4._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1yk56nw._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1yumxg7._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_1zlfubf._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_204rqiz._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_2056rpg._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_2056tby._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/packages_agent-registry_dist_index_1ze3mqq.js +13 -13
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/044u_hub__next-internal_server_app_(dashboard)_projects_[id]_page_actions_15f56np.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0515n2f._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0h3qrm-._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0o-fklw._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/{[root-of-the-server]__0m1akem._.js → [root-of-the-server]__1jkmxi2._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0kpdmm-._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0kzd494._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0ozyjt1._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0r2xlss._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/_14-qzbg._.js +33 -31
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/_1hrzkwr._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_0j5-o0f._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_17myqp5._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub__next-internal_server_app_(dashboard)_approvals_page_actions_1mi0bpn.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub__next-internal_server_app_(dashboard)_boxes_[id]_page_actions_0k7kgn2.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub__next-internal_server_app_(dashboard)_page_actions_1t3u0xy.js +1 -1
- 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)_boxes_components_box-table_tsx_0a9pyn_._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_app_(dashboard)_page_tsx_0o2z21l._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/packages_agent-registry_dist_index_0z476w4.js +1 -1
- package/runtime/hub/apps/hub/.next/server/middleware-build-manifest.js +3 -3
- package/runtime/hub/apps/hub/.next/server/next-font-manifest.js +1 -1
- package/runtime/hub/apps/hub/.next/server/next-font-manifest.json +27 -27
- package/runtime/hub/apps/hub/.next/server/pages/500.html +1 -1
- package/runtime/hub/apps/hub/.next/server/server-reference-manifest.js +1 -1
- package/runtime/hub/apps/hub/.next/server/server-reference-manifest.json +19 -19
- package/runtime/hub/apps/hub/.next/static/chunks/{2hxatwkh8fha9.js → 02sqxeus8w0s0.js} +1 -1
- package/runtime/hub/apps/hub/.next/static/chunks/{0tmbn9jje8ulx.js → 03ceb0qh4s52a.js} +1 -1
- package/runtime/hub/apps/hub/.next/static/chunks/{03_fxfc3849ms.css → 0ofk3im5p6gn-.css} +2 -2
- package/runtime/hub/apps/hub/.next/static/chunks/{38dg0m6sbz8hx.js → 0qhuf1a_7byq-.js} +1 -1
- package/runtime/hub/apps/hub/.next/static/chunks/{05dzzanyo20wx.js → 0u50pq99k9z_4.js} +1 -1
- package/runtime/hub/apps/hub/.next/static/chunks/{27t0b0mja1zpt.js → 0x0l4io4rdmuq.js} +1 -1
- package/runtime/hub/apps/hub/.next/static/chunks/{1ct_kocalf1mw.js → 22rj-g4qe8jny.js} +1 -1
- package/runtime/hub/apps/hub/.next/static/chunks/{22fqc0ktzjo6x.js → 23kzsoacq647n.js} +1 -1
- package/runtime/hub/apps/hub/.next/static/media/02263ebadd758ea4-s.1iu7q7yw-zhgt.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/1a69062cfe6f77f8-s.26axk51fv0nvx.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/23b7a97ae3b5c134-s.p.17c61zbdzi3u-.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/2e95a7d252b9825a-s.1at6z4kbofh3w.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/2fe89d53234c61d4-s.1h7k3aqd68qji.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/59b15b4bcd7b1eb5-s.0g4pmka8j2u20.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/68757d6cddeff913-s.07-q_h5lq3omo.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/77ce6907447ba740-s.1thpl3j71vtxe.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/99e609270109b47d-s.p.30xqm3yldpj47.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/9a4838fcda0d1bca-s.13qpbrx2rg1iz.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/a7afbb44bec2bb18-s.42z9vm7u0i9n-.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/bfc9b7e66b1caeca-s.3hdclex1x_th1.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/e532fa1b9921e1cd-s.1v7x_qdpnbwoz.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/effe91970fc4db64-s.p.27korwsf9c79u.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/f7cb89c1bcef4d27-s.3ajilh452uwtx.woff2 +0 -0
- package/runtime/hub/apps/hub/{auth-3K7Z7LVZ.js → auth-475LXXJA.js} +2 -2
- package/runtime/hub/apps/hub/{auth-config-G23WLTGN.js → auth-config-SPDXLHDX.js} +2 -2
- package/runtime/hub/apps/hub/{chunk-GGYNXEOD.js → chunk-3WRZVFOY.js} +521 -189
- package/runtime/hub/apps/hub/{chunk-RNUUXV2X.js → chunk-67LASBXO.js} +107 -42
- package/runtime/hub/apps/hub/{chunk-VQUZQ5MH.js → chunk-6ND54VG2.js} +161 -7
- package/runtime/hub/apps/hub/{chunk-7B4VZTUH.js → chunk-7XCRB6GS.js} +96 -82
- package/runtime/hub/apps/hub/{chunk-BEK5SYX5.js → chunk-DAMV47HM.js} +6 -0
- package/runtime/hub/apps/hub/{chunk-RAIBV7TH.js → chunk-FPLCH64R.js} +1 -1
- package/runtime/hub/apps/hub/{chunk-64GCEGJK.js → chunk-KJHUOHQ5.js} +4 -4
- package/runtime/hub/apps/hub/{chunk-OWAJTG3G.js → chunk-XGNMYL3X.js} +11 -11
- package/runtime/hub/apps/hub/{chunk-FWMBOJTZ.js → chunk-YBYUNY5P.js} +7 -7
- package/runtime/hub/apps/hub/{chunk-L5XPW2AU.js → chunk-ZVLJG772.js} +24 -71
- package/runtime/hub/apps/hub/{dist-QXOLLT4Y.js → dist-2KUVFXS3.js} +19 -9
- package/runtime/hub/apps/hub/{dist-D4JO7PAL.js → dist-2PUSTW2W.js} +1 -1
- package/runtime/hub/apps/hub/{dist-I5V4YM32.js → dist-67P6KLUY.js} +2 -2
- package/runtime/hub/apps/hub/dist-7PN6FTJV.js +26176 -0
- package/runtime/hub/apps/hub/{dist-BX2OAELL.js → dist-O53WU2K6.js} +11 -3
- package/runtime/hub/apps/hub/{dist-4GYSUKN3.js → dist-ODKJZJI2.js} +7 -7
- package/runtime/hub/apps/hub/{dist-R7ZY7ZTV.js → dist-SUHXQDYN.js} +26 -6
- package/runtime/hub/apps/hub/{dist-IHHRC4JW.js → dist-UMA73Z3V.js} +7 -7
- package/runtime/hub/apps/hub/{dist-LZWGXCOQ.js → dist-VHXEBJX5.js} +9 -7
- package/runtime/hub/apps/hub/{dist-TWRKOELH.js → dist-XOMGXTMI.js} +26 -71
- package/runtime/hub/apps/hub/{dist-33UWJJFG.js → dist-ZSRBJAWL.js} +27 -10
- package/runtime/hub/apps/hub/{hub-token-EIS7FVL2.js → hub-token-VMKQH4IY.js} +2 -2
- package/runtime/hub/apps/hub/{hub-worker-2LVMIS5H.js → hub-worker-5WDNMFCP.js} +9 -9
- package/runtime/hub/apps/hub/{manager-pty-XCGH6AUC-VJSNM3A6.js → manager-pty-XCGH6AUC-ZYM2ENVR.js} +4 -4
- package/runtime/hub/apps/hub/package.json +2 -1
- package/runtime/hub/apps/hub/{prepared-state-FO74QUCP-LZNKUFC7.js → prepared-state-FO74QUCP-L5OKEU42.js} +4 -4
- package/runtime/hub/apps/hub/server.js +296 -123
- package/runtime/relay/bin.cjs +131 -33
- package/runtime/vercel/ctl.cjs +138 -40
- package/dist/_cloud-attach-F25HDXWB.js +0 -32
- package/dist/chunk-3HJQZQ76.js.map +0 -1
- package/dist/chunk-52OXHGKQ.js.map +0 -1
- package/dist/chunk-7AMMBUEW.js.map +0 -1
- package/dist/chunk-AXAMPAP3.js.map +0 -1
- package/dist/chunk-FM7PHYBD.js.map +0 -1
- package/dist/chunk-HS6B3CE4.js.map +0 -1
- package/dist/chunk-IJFP7N34.js.map +0 -1
- package/dist/chunk-KWDFEQO6.js.map +0 -1
- package/dist/chunk-OVLM2EZV.js.map +0 -1
- package/dist/chunk-R7J7WFM5.js.map +0 -1
- package/dist/chunk-U4Z5OOOD.js.map +0 -1
- package/dist/chunk-U7J7JT6R.js.map +0 -1
- package/dist/chunk-WJ4MZESJ.js.map +0 -1
- package/dist/chunk-YZZKWZO2.js.map +0 -1
- package/dist/chunk-Z6LK4P54.js.map +0 -1
- package/dist/custody-client-F3OAOAC7.js +0 -18
- package/dist/dist-XZXZSTTA.js.map +0 -1
- package/dist/hub-GHFEW3K2.js +0 -40
- package/dist/prepare-O4BUJIOQ.js +0 -48
- package/dist/prepared-custody-UTSSUTXF.js +0 -40
- package/dist/registry-IPDCZDNW.js +0 -18
- package/dist/relay-P5CXEGAZ.js +0 -23
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0-0scfb._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__00a4c3f._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__00tx9tm._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__02-rdq0._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__02kc2og._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__02sueng._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__02ywgcg._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__03_xi2c._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__03fxkqp._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__04-i6rm._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__04b75a4._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__04d3pe5._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__05_wgfq._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__071c-t4._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__07fobp5._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__081d104._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__08h5jgt._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__09grt_m._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__09jbqbh._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__09y4pdw._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0_t5f3m._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0_xcmfv._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0a6e0vs._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0a8ere2._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0azx8z8._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0bok80z._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0bv_k0d._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0c1o4qr._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0c5mzbr._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0cc5lpl._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ce13qa._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0cyy9az._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0d34880._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0dfvo5-._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0dtq9pr._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0dw7c0k._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0e6_t-d._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0edd68z._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0engd-e._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0eua3wn._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ewh0df._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0f_4fiu._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0fkjz20._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0fknr6k._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0fxx69a._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0g7gynv._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0gl-4ha._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0gr6v_i._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0h181r5._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0h668tm._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0i65ptk._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0iyr5bm._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0j0vl7q._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0jvk7x8._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0jz3x26._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0k_7aj_._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0lc-j_n._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0mid58_._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0mq5e3o._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0n5hh_2._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0neufba._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0nqggrc._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0nx6w0m._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0o4rocd._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0olhyt4._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0pe9g30._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0pik2ie._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0qkpqk7._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0qt_r6a._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0qudrhk._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0r0v_c_._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0r4qvs6._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0rf4g7g._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0s4vdow._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0s5ck78._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0scmgnp._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0sn7av8._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0soiiqi._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0sz5p6g._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0tl6p7k._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0tv5sah._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0usxinp._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0v5krdd._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0vgxotx._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0vsn71u._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0x5eodh._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0x_rx1f._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0xo5ak-._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0xt0w30._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0y-rry-._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0y3snn7._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ygnbei._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0yio_n7._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0yxeq50._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0z2lkh_._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0zd42wf._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0zi14f-._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0zxv1ul._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0zyutsi._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1-90xgw._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__106reiu._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__112hqrh._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__113ijth._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__11qbpq8._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__11xey3v._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__121vdp5._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__12b40mo._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__12i61td._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__12tjfss._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__139ha9-._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__13dk6en._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__13j6tof._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__13nfpq5._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__14opl53._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__14pxg1e._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__15gc6-s._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__15k2wx5._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__15umca-._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__162e1zj._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__166_uek._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__16pmnr6._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__174fgjv._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__17df14g._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__17jzikc._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__17y9pmx._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__18pwzaw._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__192ppv6._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__198-esg._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__19al998._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__19m88da._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__19nlcuf._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1_4v0mh._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1_dmv53._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1_xgm2e._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1_zs8b5._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1abclgc._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1aboxh4._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1bh1dxz._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1cb0_wq._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1cbn_et._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1cggpv7._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1cnhbta._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1cpqqag._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1cs6d52._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1d-v8kt._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1d-yop_._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1d60scp._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1dhzd1_._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1diw0ei._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1dogvkr._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ectuq4._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ehcanu._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1em476i._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1f9l4qz._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1h4akof._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1i9bs12._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1jbtokr._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1jelopi._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1jnfrsy._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1k934r7._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1kt9_sy._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1kv_jgw._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1l_uof1._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1lareew._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1lgn5_b._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1lnherq._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1lyqerb._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1me3irq._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1mh1-lh._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1mk_lpu._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1muxcy9._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1mx0_-f._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1no5aw3._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1noanyg._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ntihlm._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ob9yn9._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1odu62n._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1oy_ypa._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1p6khix._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1pg2kzv._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1pk410t._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1pta31u._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1pz2967._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1q9ds80._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1qt1i63._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1rr4obb._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1rzg628._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1sdw2ls._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1szemyb._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1t88a94._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1tfkm3m._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1txvsbk._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1uhiv-4._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1utvnlp._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1vc_bp9._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1w25h0t._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1wc9zwl._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ws4ucz._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1wx5ltv._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1xi8hyy._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1xl-uhz._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1xlddup._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1y3gko6._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1y9wbb2._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ypmy86._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ysubik._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1yzmh_p._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1z7mgd6._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ztoaz1._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__2019yzl._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__20opvks._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__20ygien._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0bv8m80._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__1ay9-4x._.js +0 -3
- package/runtime/hub/apps/hub/.next/static/media/02263ebadd758ea4-s.29yke99gs9qpn.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/1a69062cfe6f77f8-s.0o-3_g79811ob.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/23b7a97ae3b5c134-s.p.226pwps5o-gq_.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/2e95a7d252b9825a-s.15orukf5wyxb5.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/2fe89d53234c61d4-s.1u30mmyq6lnsd.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/59b15b4bcd7b1eb5-s.2vemzm0itqzfy.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/68757d6cddeff913-s.1i-sca43-qwng.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/99e609270109b47d-s.p.40sczeszzbjw1.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/9a4838fcda0d1bca-s.0ngr-xkgqz1kf.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/a7afbb44bec2bb18-s.1qc6dx89jd2qv.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/e532fa1b9921e1cd-s.3cb5lpr2l6xud.woff2 +0 -0
- package/runtime/hub/apps/hub/.next/static/media/effe91970fc4db64-s.p.0oace-s_gkfks.woff2 +0 -0
- package/runtime/hub/apps/hub/dist-25JLZKGB.js +0 -1278
- /package/dist/{_cloud-attach-F25HDXWB.js.map → _cloud-attach-KEFEQ2YH.js.map} +0 -0
- /package/dist/{chunk-L55DASHB.js.map → chunk-2SKTXZGX.js.map} +0 -0
- /package/dist/{chunk-BKOKMZNK.js.map → chunk-3QTWB66F.js.map} +0 -0
- /package/dist/{chunk-VSWIJHCH.js.map → chunk-5ZBNVZSU.js.map} +0 -0
- /package/dist/{chunk-IX7S6NJR.js.map → chunk-72LKKHPI.js.map} +0 -0
- /package/dist/{chunk-7TPGIQOP.js.map → chunk-BORN6FJK.js.map} +0 -0
- /package/dist/{chunk-77IAHAQY.js.map → chunk-FBQC6TKM.js.map} +0 -0
- /package/dist/{chunk-JUTAYI2N.js.map → chunk-GCUJUUNE.js.map} +0 -0
- /package/dist/{chunk-S77B5POZ.js.map → chunk-GKBAEX2P.js.map} +0 -0
- /package/dist/{chunk-XKUF67M6.js.map → chunk-GT7VDGNV.js.map} +0 -0
- /package/dist/{chunk-AGHR7XOJ.js.map → chunk-HOJKUVH6.js.map} +0 -0
- /package/dist/{chunk-PENAXZMR.js.map → chunk-INJIW6PP.js.map} +0 -0
- /package/dist/{chunk-OYWP4SII.js.map → chunk-IZPNDZXI.js.map} +0 -0
- /package/dist/{chunk-U3BCLGTH.js.map → chunk-JHS4ROJH.js.map} +0 -0
- /package/dist/{chunk-CWN4DJYI.js.map → chunk-JVZZPJ2C.js.map} +0 -0
- /package/dist/{chunk-KOGQNHV3.js.map → chunk-KA67IGEG.js.map} +0 -0
- /package/dist/{chunk-OTAYAFYF.js.map → chunk-KRF2JODE.js.map} +0 -0
- /package/dist/{chunk-SDWKZLGP.js.map → chunk-LFMJXQDL.js.map} +0 -0
- /package/dist/{chunk-2U4HKKM7.js.map → chunk-NSYCXUN5.js.map} +0 -0
- /package/dist/{chunk-5JDGKHWH.js.map → chunk-QALBGVPR.js.map} +0 -0
- /package/dist/{chunk-JCDC5S32.js.map → chunk-QDBDDJKT.js.map} +0 -0
- /package/dist/{chunk-ZPFTFIKP.js.map → chunk-S5WFZHC5.js.map} +0 -0
- /package/dist/{chunk-PVZUQTLW.js.map → chunk-VUTEVIYG.js.map} +0 -0
- /package/dist/{chunk-OWCTDO67.js.map → chunk-WVBTRK6R.js.map} +0 -0
- /package/dist/{chunk-4IQGL4KD.js.map → chunk-ZMKRUD6J.js.map} +0 -0
- /package/dist/{chunk-J2AD7MLR.js.map → chunk-ZQWOZ5BL.js.map} +0 -0
- /package/dist/{cli-3WZP5JHA.js.map → cli-B4VVKKYV.js.map} +0 -0
- /package/dist/{cli-6IPZVUXF.js.map → cli-ENMWXMKO.js.map} +0 -0
- /package/dist/{cli-E2ZC5S4U.js.map → cli-F2UBHH7H.js.map} +0 -0
- /package/dist/{cli-QIBPY2HQ.js.map → cli-JKSQBGRO.js.map} +0 -0
- /package/dist/{cli-QSV6K33P.js.map → cli-MIIWRJDK.js.map} +0 -0
- /package/dist/{control-plane-I2QKMHPK.js.map → control-plane-R4ELXZHL.js.map} +0 -0
- /package/dist/{cp-hub-upload-GW566DGZ.js.map → cp-hub-upload-IUQVJGOW.js.map} +0 -0
- /package/dist/{custody-client-F3OAOAC7.js.map → custody-client-PVDBOT7Y.js.map} +0 -0
- /package/dist/{deploy-hetzner-IIAXES7B.js.map → deploy-hetzner-KY6KWN4M.js.map} +0 -0
- /package/dist/{dist-3EZQDIOD.js.map → dist-2QGMP2UI.js.map} +0 -0
- /package/dist/{dist-44RSFOGQ.js.map → dist-5MCQFGLX.js.map} +0 -0
- /package/dist/{dist-4K66F4UR.js.map → dist-EIVYC2MR.js.map} +0 -0
- /package/dist/{dist-VKKHIHCZ.js.map → dist-JWXPKGPZ.js.map} +0 -0
- /package/dist/{dist-5RMJLMYG.js.map → dist-ONAAPVBD.js.map} +0 -0
- /package/dist/{dist-HIQCE4H2.js.map → dist-OXLTCVA2.js.map} +0 -0
- /package/dist/{dist-IXPKVU3R.js.map → dist-PBO4UHJK.js.map} +0 -0
- /package/dist/{dist-SZTW3RMB.js.map → dist-RCBMUPVR.js.map} +0 -0
- /package/dist/{dist-WR2HYACA.js.map → dist-TD74GXLP.js.map} +0 -0
- /package/dist/{dist-WTPYXNRH.js.map → dist-VCZ3LZPJ.js.map} +0 -0
- /package/dist/{dist-YED5YJQN.js.map → dist-WGV7LRDC.js.map} +0 -0
- /package/dist/{host-reach-drainer-A4ZO6UKT.js.map → host-reach-drainer-AZYC6UIB.js.map} +0 -0
- /package/dist/{host-session-POJP4WO6.js.map → host-session-EGUDGE4R.js.map} +0 -0
- /package/dist/{hub-GHFEW3K2.js.map → hub-76RHPA7X.js.map} +0 -0
- /package/dist/{hub-adopt-YR7S5TNB.js.map → hub-adopt-5G7SKI2E.js.map} +0 -0
- /package/dist/{hub-api-client-BUQDTSQ3.js.map → hub-api-client-WPZTG5AT.js.map} +0 -0
- /package/dist/{hub-docker-target-XA5U2ZU5.js.map → hub-docker-target-CNJHYH4B.js.map} +0 -0
- /package/dist/{manager-pty-XCGH6AUC-EZML75UO.js.map → manager-pty-XCGH6AUC-O3UNISN2.js.map} +0 -0
- /package/dist/{plugin-update-BIPJZA24.js.map → plugin-update-UZYPWL4N.js.map} +0 -0
- /package/dist/{prepare-O4BUJIOQ.js.map → prepare-4GOTJXQL.js.map} +0 -0
- /package/dist/{prepared-custody-UTSSUTXF.js.map → prepared-custody-4YJ4ZT7J.js.map} +0 -0
- /package/dist/{prepared-state-FO74QUCP-4WLAYPEO.js.map → prepared-state-FO74QUCP-GUIPQORN.js.map} +0 -0
- /package/dist/{publish-credentials-N2JD2D3A.js.map → publish-credentials-RLRLNL33.js.map} +0 -0
- /package/dist/{registry-IPDCZDNW.js.map → registry-QMHCNR5X.js.map} +0 -0
- /package/dist/{relay-P5CXEGAZ.js.map → relay-VBWFCWKK.js.map} +0 -0
- /package/dist/{remote-docker-share-GIH6JNKY.js.map → remote-docker-share-TKG7SXHX.js.map} +0 -0
- /package/dist/{tool-grant-push-7K765QKW.js.map → tool-grant-push-V7E3Y2W6.js.map} +0 -0
- /package/runtime/hub/apps/hub/.next/static/{TMo35nbBXDtyGUs4P3Q_H → 2QUBvK0xJqbyGzVe1RBzl}/_buildManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{TMo35nbBXDtyGUs4P3Q_H → 2QUBvK0xJqbyGzVe1RBzl}/_clientMiddlewareManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{TMo35nbBXDtyGUs4P3Q_H → 2QUBvK0xJqbyGzVe1RBzl}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/commands/prepare.ts","../src/commands/_agent-setting-flag.ts","../../../packages/agent-opencode/src/index.ts","../../../packages/agent-opencode/src/cloud-sync.ts","../../../packages/agent-opencode/src/host-stage.ts","../../../packages/agent-opencode/src/staged-items.ts","../../../packages/agent-codex/src/index.ts","../../../packages/agent-codex/src/cloud-sync.ts","../../../packages/agent-codex/src/host-stage.ts","../../../packages/agent-codex/src/staged-items.ts","../src/control-plane/hub-prepare.ts","../src/control-plane/control-box-inventory.ts"],"sourcesContent":["/**\n * `agentbox prepare` — provider-neutral \"build the base image\" command.\n *\n * Three modes:\n *\n * - `agentbox prepare` → status only: show the inventory of\n * prepared base images / shared\n * volumes across all providers, plus\n * the project's pinned `box.image`.\n * - `agentbox prepare --provider X` → run prepare for X, then re-print\n * the relevant status section.\n * - `agentbox prepare --status` → status only (explicit; same as\n * no-args, but useful when scripted).\n *\n * Docker `prepare` builds `agentbox/box:dev` locally. Daytona `prepare`\n * builds a layered `Image` (Dockerfile.box + the three agent static tarballs)\n * and registers it via `daytona.snapshot.create({ name, image })`, then pins\n * `box.image: <name>` into the project config.\n *\n * Replaces the old `agentbox daytona publish-snapshot` (which used the\n * broken `_experimental_createSnapshot` API).\n */\n\nimport { intro, log, spinner } from '@clack/prompts';\nimport { allAgentSettings, loadEffectiveConfig, unsetConfigValue } from '@agentbox/config';\nimport type { AgentSettingsMap } from '@agentbox/sandbox-core';\nimport { mergeAgentSettings, parseAgentSettingFlags } from './_agent-setting-flag.js';\nimport {\n DEFAULT_BOX_IMAGE,\n imageInfo,\n volumeExists,\n type ImageInfo,\n} from '@agentbox/sandbox-docker';\nimport { SHARED_CLAUDE_VOLUME } from '@agentbox/agent-claude';\nimport { SHARED_OPENCODE_VOLUME } from '@agentbox/agent-opencode';\nimport { SHARED_CODEX_VOLUME } from '@agentbox/agent-codex';\nimport { Command } from 'commander';\nimport { parseProviderWarning, UserFacingError } from '@agentbox/core';\nimport type { Provider } from '@agentbox/core';\nimport { getProvider, isKnownProvider } from '../provider/registry.js';\nimport { getRuntimeProviderNames } from '../provider/loaders.js';\nimport { parseProviderSpec } from '../provider/spec.js';\nimport { deadlineFetch, hostReachable } from '@agentbox/sandbox-cloud';\nimport { controlBoxKnowsHost } from '../control-plane/remote-docker-share.js';\nimport { bakeViaHub } from '../control-plane/hub-prepare.js';\nimport {\n dockerProviderRefusal,\n localDockerUnsupportedWarning,\n} from '../control-plane/remote-hub.js';\nimport { HubApiClient } from '../control-plane/hub-api-client.js';\nimport {\n buildControlBoxInventory,\n renderControlBoxInventory,\n type ControlBoxInventory,\n} from '../control-plane/control-box-inventory.js';\nimport {\n localExposedLoopbackUrl,\n resolveCustodyTarget,\n resolveHubApiClient,\n resolveHubApiTarget,\n} from './control-plane.js';\n\ninterface PrepareOptions {\n provider?: string;\n force?: boolean;\n yes?: boolean;\n status?: boolean;\n agentSetting?: string[];\n agents?: string;\n build?: boolean;\n name?: string;\n location?: string;\n size?: string;\n}\n\ninterface DockerStatus {\n daemon: 'reachable' | 'unreachable';\n image?: ImageInfo;\n volumes: Array<{ name: string; exists: boolean }>;\n}\n\nasync function dockerStatus(): Promise<DockerStatus> {\n let img: ImageInfo;\n try {\n img = await imageInfo(DEFAULT_BOX_IMAGE);\n } catch {\n return { daemon: 'unreachable', volumes: [] };\n }\n const names = [SHARED_CLAUDE_VOLUME, SHARED_CODEX_VOLUME, SHARED_OPENCODE_VOLUME];\n const volumes = await Promise.all(\n names.map(async (name) => ({ name, exists: await volumeExists(name).catch(() => false) })),\n );\n return { daemon: 'reachable', image: img, volumes };\n}\n\nfunction humanBytes(n?: number): string {\n if (n === undefined || !Number.isFinite(n)) return '—';\n if (n >= 1024 ** 3) return `${(n / 1024 ** 3).toFixed(2)} GB`;\n if (n >= 1024 ** 2) return `${(n / 1024 ** 2).toFixed(1)} MB`;\n if (n >= 1024) return `${(n / 1024).toFixed(1)} KB`;\n return `${String(n)} B`;\n}\n\nfunction humanAge(iso?: string): string {\n if (!iso) return '—';\n const t = Date.parse(iso);\n if (!Number.isFinite(t)) return iso;\n const ageSec = Math.max(0, (Date.now() - t) / 1000);\n if (ageSec < 60) return `${ageSec.toFixed(0)}s ago`;\n if (ageSec < 3600) return `${(ageSec / 60).toFixed(0)}m ago`;\n if (ageSec < 86400) return `${(ageSec / 3600).toFixed(1)}h ago`;\n return `${(ageSec / 86400).toFixed(1)}d ago`;\n}\n\nfunction pad(s: string, width: number): string {\n return s.length >= width ? s : s + ' '.repeat(width - s.length);\n}\n\nasync function renderDocker(status: DockerStatus): Promise<string[]> {\n const out: string[] = ['docker:'];\n if (status.daemon === 'unreachable') {\n out.push(' docker daemon unreachable (is Docker running?)');\n return out;\n }\n if (!status.image?.exists) {\n out.push(\n ` image ${DEFAULT_BOX_IMAGE} (not built — run \\`agentbox prepare --provider docker\\`)`,\n );\n } else {\n out.push(\n ` image ${pad(DEFAULT_BOX_IMAGE, 30)} ${pad(humanBytes(status.image.sizeBytes), 10)} built ${humanAge(status.image.createdAt)}`,\n );\n }\n for (const v of status.volumes) {\n if (v.exists) {\n out.push(` vol ${pad(v.name, 30)} present`);\n } else {\n out.push(\n ` vol ${pad(v.name, 30)} (none — seeded lazily on first \\`agentbox claude/codex/opencode\\`)`,\n );\n }\n }\n return out;\n}\n\ninterface DaytonaStatusUnknown {\n configured: false;\n reason?: string;\n}\ninterface DaytonaStatusOk {\n configured: true;\n snapshots: Array<{\n name: string;\n state?: string;\n sizeGb?: number;\n createdAt?: string;\n errorReason?: string;\n }>;\n volumes: Array<{ name: string; state?: string; lastUsedAt?: string }>;\n reason?: string;\n}\ntype DaytonaStatusResult = DaytonaStatusUnknown | DaytonaStatusOk;\n\nasync function daytonaStatus(): Promise<DaytonaStatusResult> {\n try {\n const mod = await import('@agentbox/sandbox-daytona');\n return (await mod.getDaytonaStatus()) as DaytonaStatusResult;\n } catch (err) {\n return {\n configured: false,\n reason: err instanceof Error ? err.message.split('\\n')[0] : String(err),\n };\n }\n}\n\ninterface E2bStatusUnknown {\n configured: false;\n reason?: string;\n}\ninterface E2bStatusOk {\n configured: true;\n templateId?: string;\n templateName?: string;\n createdAt?: string;\n cliVersion?: string;\n contextSha256?: string;\n /** Per-agent-set derived templates, `''` (the base) excluded. */\n variants?: Array<{ agents: string; templateName?: string; createdAt?: string }>;\n}\ntype E2bStatusResult = E2bStatusUnknown | E2bStatusOk;\n\nasync function e2bStatus(): Promise<E2bStatusResult> {\n try {\n const mod = await import('@agentbox/sandbox-e2b');\n const cred = mod.readE2bCredStatus();\n if (cred.auth === 'none') {\n return { configured: false, reason: 'not configured — run `agentbox e2b login`' };\n }\n const prepared = mod.readPreparedState();\n if (!prepared.base) return { configured: true };\n return {\n configured: true,\n templateId: prepared.base.templateId,\n templateName: prepared.base.templateName,\n createdAt: prepared.base.createdAt,\n cliVersion: prepared.base.cliVersion,\n contextSha256: prepared.base.contextSha256,\n variants: Object.entries(prepared.variants ?? {})\n .filter(([agents]) => agents !== '')\n .map(([agents, v]) => ({\n agents,\n templateName: v.templateName ?? v.templateId,\n createdAt: v.createdAt,\n })),\n };\n } catch (err) {\n return {\n configured: false,\n reason: err instanceof Error ? err.message.split('\\n')[0] : String(err),\n };\n }\n}\n\nfunction renderE2b(status: E2bStatusResult): string[] {\n const out: string[] = ['e2b:'];\n if (!status.configured) {\n out.push(` ${status.reason ?? '(not configured)'}`);\n return out;\n }\n if (!status.templateId) {\n out.push(' no agentbox template — run `agentbox prepare --provider e2b`');\n return out;\n }\n // No pin marker: like vercel, the e2b backend never reads `req.image`, so\n // `box.imageE2b` is written by every bake and never consulted. Printing\n // \"(pinned in project)\" for it claimed a control the user does not have.\n out.push(\n ` base ${pad(status.templateName ?? status.templateId, 40)} ${pad(status.cliVersion ?? '—', 10)} ${humanAge(status.createdAt)}`,\n );\n for (const v of status.variants ?? []) {\n out.push(\n ` ${pad(v.agents, 6)} ${pad(v.templateName ?? '—', 40)} ${pad('—', 10)} ${humanAge(v.createdAt)}`,\n );\n }\n return out;\n}\n\ninterface VercelStatusUnknown {\n configured: false;\n reason?: string;\n}\ninterface VercelStatusOk {\n configured: true;\n snapshotId?: string;\n createdAt?: string;\n cliVersion?: string;\n /** Per-agent-set derived snapshots, `''` (the base) excluded. */\n variants?: Array<{ agents: string; snapshotId?: string; createdAt?: string }>;\n}\ntype VercelStatusResult = VercelStatusUnknown | VercelStatusOk;\n\nasync function vercelStatus(): Promise<VercelStatusResult> {\n try {\n const mod = await import('@agentbox/sandbox-vercel');\n const prepared = mod.readPreparedState();\n if (!prepared.base) return { configured: true };\n return {\n configured: true,\n snapshotId: prepared.base.snapshotId,\n createdAt: prepared.base.createdAt,\n cliVersion: prepared.base.cliVersion,\n variants: Object.entries(prepared.variants ?? {})\n .filter(([agents]) => agents !== '')\n .map(([agents, v]) => ({ agents, snapshotId: v.snapshotId, createdAt: v.createdAt })),\n };\n } catch (err) {\n return {\n configured: false,\n reason: err instanceof Error ? err.message.split('\\n')[0] : String(err),\n };\n }\n}\n\nfunction renderVercel(status: VercelStatusResult): string[] {\n const out: string[] = ['vercel:'];\n if (!status.configured) {\n out.push(` ${status.reason ?? '(not configured)'}`);\n return out;\n }\n if (!status.snapshotId) {\n out.push(' no base snapshot — run `agentbox prepare --provider vercel`');\n return out;\n }\n out.push(\n ` base ${pad(status.snapshotId, 40)} ${pad(status.cliVersion ?? '—', 10)} ${humanAge(status.createdAt)}`,\n );\n for (const v of status.variants ?? []) {\n out.push(\n ` ${pad(v.agents, 6)} ${pad(v.snapshotId ?? '—', 40)} ${pad('—', 10)} ${humanAge(v.createdAt)}`,\n );\n }\n return out;\n}\n\ninterface HetznerStatusUnknown {\n configured: false;\n reason?: string;\n}\ninterface HetznerStatusOk {\n configured: true;\n imageId?: number;\n description?: string;\n createdAt?: string;\n cliVersion?: string;\n variants?: Array<{ agents: string; description?: string; createdAt?: string }>;\n}\ntype HetznerStatusResult = HetznerStatusUnknown | HetznerStatusOk;\n\nasync function hetznerStatus(): Promise<HetznerStatusResult> {\n try {\n const mod = await import('@agentbox/sandbox-hetzner');\n const prepared = mod.readPreparedState();\n if (!prepared.base) return { configured: true };\n return {\n configured: true,\n imageId: prepared.base.imageId,\n description: prepared.base.description,\n createdAt: prepared.base.createdAt,\n cliVersion: prepared.base.cliVersion,\n variants: Object.entries(prepared.variants ?? {})\n .filter(([agents]) => agents !== '')\n .map(([agents, v]) => ({ agents, description: v.description, createdAt: v.createdAt })),\n };\n } catch (err) {\n return {\n configured: false,\n reason: err instanceof Error ? err.message.split('\\n')[0] : String(err),\n };\n }\n}\n\nfunction renderHetzner(status: HetznerStatusResult, pinnedImage?: string): string[] {\n const out: string[] = ['hetzner:'];\n if (!status.configured) {\n out.push(` ${status.reason ?? '(not configured)'}`);\n return out;\n }\n if (status.imageId === undefined) {\n out.push(' no base snapshot — run `agentbox prepare --provider hetzner`');\n return out;\n }\n const pinned =\n pinnedImage && (pinnedImage === status.description || pinnedImage === String(status.imageId))\n ? ' (pinned in project)'\n : '';\n out.push(\n ` base ${pad(status.description ?? String(status.imageId), 40)} ${pad(status.cliVersion ?? '—', 10)} ${humanAge(status.createdAt)}${pinned}`,\n );\n for (const v of status.variants ?? []) {\n out.push(\n ` ${pad(v.agents, 6)} ${pad(v.description ?? '—', 40)} ${pad('—', 10)} ${humanAge(v.createdAt)}`,\n );\n }\n return out;\n}\n\ninterface DigitalOceanStatusUnknown {\n configured: false;\n reason?: string;\n}\ninterface DigitalOceanStatusOk {\n configured: true;\n imageId?: number;\n description?: string;\n createdAt?: string;\n cliVersion?: string;\n /** Per-agent-set derived snapshots, `''` (the base) excluded. */\n variants?: Array<{ agents: string; description?: string; createdAt?: string }>;\n}\ntype DigitalOceanStatusResult = DigitalOceanStatusUnknown | DigitalOceanStatusOk;\n\nasync function digitalOceanStatus(): Promise<DigitalOceanStatusResult> {\n try {\n const mod = await import('@agentbox/sandbox-digitalocean');\n if (mod.readDigitalOceanCredStatus().source === 'none') {\n return { configured: false, reason: 'not configured — run `agentbox digitalocean login`' };\n }\n const prepared = mod.readPreparedState();\n if (!prepared.base) return { configured: true };\n return {\n configured: true,\n imageId: prepared.base.imageId,\n description: prepared.base.description,\n createdAt: prepared.base.createdAt,\n cliVersion: prepared.base.cliVersion,\n variants: Object.entries(prepared.variants ?? {})\n .filter(([agents]) => agents !== '')\n .map(([agents, v]) => ({ agents, description: v.description, createdAt: v.createdAt })),\n };\n } catch (err) {\n return {\n configured: false,\n reason: err instanceof Error ? err.message.split('\\n')[0] : String(err),\n };\n }\n}\n\nfunction renderDigitalOcean(status: DigitalOceanStatusResult, pinnedImage?: string): string[] {\n const out: string[] = ['digitalocean:'];\n if (!status.configured) {\n out.push(` ${status.reason ?? '(not configured)'}`);\n return out;\n }\n if (status.imageId === undefined) {\n out.push(' no base snapshot — run `agentbox prepare --provider digitalocean`');\n return out;\n }\n const pinned =\n pinnedImage && (pinnedImage === status.description || pinnedImage === String(status.imageId))\n ? ' (pinned in project)'\n : '';\n out.push(\n ` base ${pad(status.description ?? String(status.imageId), 40)} ${pad(status.cliVersion ?? '—', 10)} ${humanAge(status.createdAt)}${pinned}`,\n );\n for (const v of status.variants ?? []) {\n out.push(\n ` ${pad(v.agents, 6)} ${pad(v.description ?? '—', 40)} ${pad('—', 10)} ${humanAge(v.createdAt)}`,\n );\n }\n return out;\n}\n\nfunction renderDaytona(status: DaytonaStatusResult, pinnedImage?: string): string[] {\n const out: string[] = ['daytona:'];\n if (!status.configured) {\n out.push(\n ` (not configured — \\`agentbox daytona login\\` to set up${status.reason ? `; ${status.reason}` : ''})`,\n );\n return out;\n }\n if (status.reason) out.push(` warn: ${status.reason}`);\n if (status.snapshots.length === 0) {\n out.push(' no agentbox snapshots — run `agentbox prepare --provider daytona`');\n } else {\n for (const s of status.snapshots) {\n const sizeStr = s.sizeGb !== undefined ? `${s.sizeGb.toFixed(2)} GB` : '—';\n const pinned = pinnedImage && pinnedImage === s.name ? ' (pinned in project)' : '';\n const tail =\n s.state === 'error' && s.errorReason\n ? ` error: ${s.errorReason.slice(0, 80)}`\n : ` ${humanAge(s.createdAt)}`;\n out.push(\n ` snap ${pad(s.name, 40)} ${pad(s.state ?? '—', 10)} ${pad(sizeStr, 10)}${tail}${pinned}`,\n );\n }\n }\n if (status.volumes.length === 0) {\n out.push(' no agentbox volumes — created lazily on first cloud `agentbox create`');\n } else {\n for (const v of status.volumes) {\n const last = v.lastUsedAt ? ` last used ${humanAge(v.lastUsedAt)}` : '';\n out.push(` vol ${pad(v.name, 40)} ${pad(v.state ?? '—', 10)}${last}`);\n }\n }\n return out;\n}\n\n/**\n * Bound on the control-box status read. `?freshness=1` makes the hub hash its\n * own build context, so it is not instant — but this is an interactive status\n * command, and an unreachable box must cost a fixed, small amount of time.\n */\nconst CONTROL_BOX_STATUS_MS = 5000;\n\n/**\n * The control box's own provider inventory, or nothing when none is configured.\n *\n * Only reported for a GENUINELY remote control box: a co-located hub (a local hub,\n * or `hub expose` on this machine) bakes on this same machine, so the local\n * provider rows already describe it and a second \"control box\" block would just\n * mislabel it. The one read both the text reports and `doctor --json` consume —\n * `buildControlBoxInventory` holds the decision, this supplies its IO.\n */\nexport async function fetchControlBoxInventory(): Promise<ControlBoxInventory | null> {\n // The resolved target is reused by `listProviders` (it carries the API key the\n // url alone does not), so it is captured here rather than resolved twice.\n let resolved: Awaited<ReturnType<typeof resolveHubApiTarget>> | null = null;\n return buildControlBoxInventory({\n coLocated: () => hubIsCoLocated().catch(() => true),\n target: async () => {\n resolved = await resolveHubApiTarget(undefined, { quiet: true }).catch(() => null);\n return resolved ? { url: resolved.url } : null;\n },\n // Probe with a socket we own before spending the budget: a fetch to an\n // unreachable host can't be cancelled, and this is a status command.\n reachable: (url) => hostReachable(url, CONTROL_BOX_STATUS_MS),\n listProviders: async () => {\n if (!resolved) return null;\n const client = new HubApiClient({\n ...resolved,\n fetchImpl: deadlineFetch(AbortSignal.timeout(CONTROL_BOX_STATUS_MS)),\n });\n return client.listProviders({ freshness: true }).catch(() => null);\n },\n });\n}\n\n/** The text block `prepare --status` and `doctor` append. Exported for doctor. */\nexport async function renderControlBoxProviders(): Promise<string[]> {\n return renderControlBoxInventory(await fetchControlBoxInventory());\n}\n\nasync function showStatus(opts: { onlyProvider?: string }): Promise<void> {\n const cfg = await loadEffectiveConfig(process.cwd()).catch(() => null);\n const pinnedRaw = cfg?.effective.box.image;\n // Only treat as \"user-pinned\" if it differs from the docker default tag\n // — that one is just the fallback ref the docker provider builds locally.\n const pinned =\n typeof pinnedRaw === 'string' && pinnedRaw.length > 0 && pinnedRaw !== DEFAULT_BOX_IMAGE\n ? pinnedRaw\n : undefined;\n const lines: string[] = [];\n\n const wantDocker = !opts.onlyProvider || opts.onlyProvider === 'docker';\n const wantDaytona = !opts.onlyProvider || opts.onlyProvider === 'daytona';\n const wantE2b = !opts.onlyProvider || opts.onlyProvider === 'e2b';\n const wantDigitalOcean = !opts.onlyProvider || opts.onlyProvider === 'digitalocean';\n const wantHetzner = !opts.onlyProvider || opts.onlyProvider === 'hetzner';\n const wantVercel = !opts.onlyProvider || opts.onlyProvider === 'vercel';\n\n if (wantDocker) {\n const status = await dockerStatus();\n lines.push(...(await renderDocker(status)));\n }\n if (wantDaytona) {\n if (lines.length > 0) lines.push('');\n const status = await daytonaStatus();\n lines.push(...renderDaytona(status, pinned));\n }\n if (wantE2b) {\n if (lines.length > 0) lines.push('');\n const status = await e2bStatus();\n lines.push(...renderE2b(status));\n }\n if (wantDigitalOcean) {\n if (lines.length > 0) lines.push('');\n const status = await digitalOceanStatus();\n const doPinned =\n typeof cfg?.effective.box.imageDigitalocean === 'string' &&\n cfg.effective.box.imageDigitalocean.length > 0\n ? cfg.effective.box.imageDigitalocean\n : undefined;\n lines.push(...renderDigitalOcean(status, doPinned));\n }\n if (wantHetzner) {\n if (lines.length > 0) lines.push('');\n const hetznerPinned =\n typeof cfg?.effective.box.imageHetzner === 'string' &&\n cfg.effective.box.imageHetzner.length > 0\n ? cfg.effective.box.imageHetzner\n : undefined;\n lines.push(...renderHetzner(await hetznerStatus(), hetznerPinned));\n }\n if (wantVercel) {\n if (lines.length > 0) lines.push('');\n // No pin marker: the vercel backend never reads `req.image`, so\n // `box.imageVercel` is written by the bake but never consulted.\n lines.push(...renderVercel(await vercelStatus()));\n }\n if (pinned) {\n lines.push('');\n lines.push(`project pin: box.image = ${pinned}`);\n }\n // With a control box configured, ITS bakes are the ones a cloud create boots —\n // so an inventory that only ever showed this machine's was describing the\n // wrong host. Appended, never substituted: the local rows still matter for\n // docker (always built on this machine) and for the co-located-hub case.\n if (!opts.onlyProvider) lines.push(...(await renderControlBoxProviders()));\n process.stdout.write(lines.join('\\n') + '\\n');\n}\n\nexport interface RunPrepareOptions {\n /** Rebuild even if the image / snapshot already exists. */\n force?: boolean;\n /** Skip the Daytona cost-notice. */\n yes?: boolean;\n /** Host workspace dir (defaults to `process.cwd()`). */\n cwd?: string;\n /** Suppress the post-prepare status block. */\n suppressStatus?: boolean;\n /**\n * Per-agent settings for the bake. CLI override of the `<agent>.<key>` config\n * keys; falls back to the effective config.\n */\n agentSettings?: AgentSettingsMap;\n /** Agents to bake into the base. Omitted = agentless. */\n agents?: string[];\n /**\n * Bake INPUTS (not routing) threaded to the hub bake. Each is a per-invocation\n * override; when absent the hub worker fills it from its effective config.\n * - `build`: force a local docker build instead of pulling the registry base.\n * - `size`: bake-time VM size (daytona `cpu-mem-disk`, e2b `cpu-mem`).\n * - `location`: bake datacenter / region (hetzner / digitalocean / daytona).\n * - `name`: snapshot name (daytona).\n */\n build?: boolean;\n size?: string;\n location?: string;\n name?: string;\n}\n\n/**\n * Whether the hub the bake will run on is THIS machine (a local hub, or a control\n * box exposed on loopback via `hub expose`). Decides whether the prepared-state\n * the worker writes is already here (co-located → nothing to adopt) or on a remote\n * control box's disk (adopt the record back from custody).\n */\nasync function hubIsCoLocated(): Promise<boolean> {\n // Lazy import mirrors resolveHubApiTarget's cycle-avoidance (hub.ts <->\n // control-plane.ts). `hub expose` on this machine reports mode 'remote' but is\n // still co-located, so the loopback check is the second half of the answer.\n const { resolveHubTarget } = await import('./hub.js');\n const target = await resolveHubTarget(undefined).catch(() => null);\n if (target?.mode === 'local') return true;\n return (await localExposedLoopbackUrl().catch(() => null)) !== null;\n}\n\n/**\n * Pure decision: does a bake target the LOCAL hub (`local: true`) or the remote\n * control box (`false`)? This is target selection only — the bake always runs\n * through the same `POST /api/v1/providers/:id/prepare` (or `/hosts/:alias/bake`)\n * route; there is NO inline `provider.prepare` path, which is exactly the second\n * implementation this consolidation exists to delete. The choice is only ever\n * WHICH base URL the one client points at.\n *\n * Extracted pure (IO done by {@link shouldPreferLocalHub}) so the routing is\n * unit-testable — the deleted `resolvePrepareRouting` had this same shape, and\n * dropping it is what regressed the `cloud.viaHub` and remote-docker fallbacks.\n *\n * Local wins when:\n * - the hub is already co-located (no control box, or `hub expose` here);\n * - `cloud.viaHub=false` — the user keeps builds on their own machine even with\n * a control plane configured (the config KEY survives; only the `--local` /\n * `--via-hub` flags were dropped);\n * - `docker`, whose base is an image on THIS machine — baking it on the control\n * box would produce an image on the wrong host;\n * - `remote-docker` whose host alias the control box doesn't know, but the local\n * hub (this machine's `~/.ssh`) does.\n * Otherwise the control box is the target (the default for cloud bakes).\n */\nexport function resolvePrepareTargetKind(input: {\n /** The default hub is already on this machine (local, or `hub expose` here). */\n coLocated: boolean;\n /** `relay.controlPlaneUrl` — a genuine remote control box is configured. */\n controlPlaneUrl: string | undefined;\n /** `cloud.viaHub` — build cloud boxes / bases on the control box by default. */\n viaHub: boolean;\n providerName: string;\n remoteHost?: string;\n /** remote-docker only: whether the control box has the host alias registered. */\n controlBoxKnowsHost?: boolean;\n}): { local: boolean; reason?: string } {\n if (input.coLocated) return { local: true };\n if (!input.controlPlaneUrl) return { local: true };\n if (!input.viaHub) return { local: true, reason: 'cloud.viaHub is off — baking on this machine' };\n if (input.providerName === 'docker') return { local: true };\n if (input.providerName === 'remote-docker' && input.remoteHost && !input.controlBoxKnowsHost) {\n return {\n local: true,\n reason: `the control box has no \\`${input.remoteHost}\\` host registered — baking on this machine's hub`,\n };\n }\n return { local: false };\n}\n\n/**\n * IO wrapper around {@link resolvePrepareTargetKind}: resolves co-location, the\n * effective config, and — only for a remote-docker host that could actually\n * target the control box — the alias check.\n */\nasync function shouldPreferLocalHub(\n providerName: string,\n remoteHost: string | undefined,\n): Promise<{ local: boolean; reason?: string }> {\n const coLocated = await hubIsCoLocated();\n const cfg = await loadEffectiveConfig(process.cwd()).catch(() => null);\n const eff = cfg?.effective;\n const controlPlaneUrl = eff?.relay.controlPlaneUrl;\n const viaHub = eff?.cloud.viaHub ?? true;\n // The alias check is the only networked input, and only remote-docker needs it.\n // Skip it whenever an earlier rule already forces local (no control box,\n // co-located, or cloud.viaHub off) so a normal bake makes no extra round-trip.\n const knowsHost =\n providerName === 'remote-docker' && remoteHost && controlPlaneUrl && viaHub && !coLocated && eff\n ? await controlBoxKnowsHost(remoteHost, eff)\n : undefined;\n return resolvePrepareTargetKind({\n coLocated,\n controlPlaneUrl,\n viaHub,\n providerName,\n remoteHost,\n controlBoxKnowsHost: knowsHost,\n });\n}\n\n/**\n * Bake `providerName` THROUGH the hub — the one prepare path (local hub or remote\n * control box). Throws on failure so internal callers (`install`, the create\n * wizard's stale-base rebuild) can catch it; the top-level command surfaces it.\n * The failure path deliberately does NOT fall back to a local bake: a hub bake\n * that failed for a real reason (no credentials there, a broken build context)\n * would fail the same way here.\n */\nasync function runPrepareViaHub(args: {\n providerName: string;\n provider: Provider;\n force?: boolean;\n agentSettings: AgentSettingsMap;\n agents?: string[];\n build?: boolean;\n size?: string;\n location?: string;\n name?: string;\n remoteHost?: string;\n suppressStatus?: boolean;\n}): Promise<void> {\n // WHICH hub: the local hub on this machine, or the remote control box. Same\n // route either way — target selection, never an inline bake.\n const target = await shouldPreferLocalHub(args.providerName, args.remoteHost);\n if (target.reason) log.info(target.reason);\n // Auto-starts a local hub when that is the target (Step 0). A remote control\n // box with no API key returns null after printing why.\n const client = await resolveHubApiClient(undefined, { preferLocal: target.local });\n // resolveHubApiClient already printed why (no API key, hub wouldn't start).\n if (!client) throw new UserFacingError('could not reach a hub to run the bake');\n // The local hub's worker writes the prepared-state straight to this machine, so\n // choosing local IS the co-located signal — no custody round-trip to adopt.\n const coLocated = target.local;\n // Custody is only the remote-adopt channel; a co-located hub wrote the record\n // straight to this machine, so skip resolving it (and its error path) there.\n const custody = coLocated ? null : await resolveCustodyTarget(undefined, { quiet: true });\n const where = coLocated ? 'hub' : 'control box';\n const what = args.remoteHost ? `${args.providerName} host ${args.remoteHost}` : args.providerName;\n const sp = spinner();\n sp.start(`preparing ${what} on the ${where}…`);\n // Every bake line is rendered as an 80-column spinner frame the NEXT line\n // overwrites, so a decision that changed what got baked (a daytona linux-vm\n // that could only produce a container) was gone a second after it appeared.\n // Hold the marked ones and re-state them once the spinner is down.\n const warnings: string[] = [];\n const outcome = await bakeViaHub({\n client,\n providerName: args.providerName,\n provider: args.provider,\n force: args.force,\n agentSettings: args.agentSettings,\n ...(args.agents ? { agents: args.agents } : {}),\n build: args.build,\n size: args.size,\n location: args.location,\n name: args.name,\n custody,\n coLocated,\n remoteHost: args.remoteHost,\n onLog: (line) => {\n const marked = parseProviderWarning(line);\n if (marked && !warnings.includes(marked)) warnings.push(marked);\n sp.message((marked ?? line).slice(0, 80));\n },\n });\n if (outcome.status === 'failed') {\n sp.stop(`prepare failed on the ${where}: ${outcome.detail}`);\n throw new Error(outcome.detail);\n }\n sp.stop(`prepared ${what} on the ${where}`);\n for (const w of warnings) log.warn(w);\n if (outcome.status === 'baked-not-adopted') {\n // The hub can now create with it; this machine just can't verify it locally.\n log.warn(`${outcome.detail} — cloud creates route to the control box, so this is not fatal`);\n } else if (coLocated) {\n log.success(`prepared ${args.providerName}`);\n } else {\n log.success(\n args.remoteHost\n ? `baked ${args.remoteHost} from the control box — the image is on that host, so this machine sees it too`\n : `adopted the control box's ${args.providerName} base — this machine is current too`,\n );\n }\n // One-shot migration of a stale generic `box.image`. Pre-fix builds wrote every\n // cloud prepare's snapshot id into the shared key, so any non-default value\n // still there poisons every provider that doesn't recognize it. Best-effort —\n // never fail the command on it.\n try {\n const projectCfg = await loadEffectiveConfig(process.cwd()).catch(() => null);\n const projectImage = projectCfg?.layers.project.values.box?.image;\n if (\n typeof projectImage === 'string' &&\n projectImage.length > 0 &&\n projectImage !== DEFAULT_BOX_IMAGE\n ) {\n const cleared = await unsetConfigValue('project', 'box.image', process.cwd());\n if (cleared.existed) {\n log.warn(\n `migrated stale \\`box.image\\` from a previous prepare (was \\`${projectImage}\\`); ` +\n `re-set manually if you actually meant it: \\`agentbox config set --project box.image <ref>\\``,\n );\n }\n }\n } catch (err) {\n log.warn(\n `could not migrate stale box.image (continuing): ${err instanceof Error ? err.message : String(err)}`,\n );\n }\n if (!args.suppressStatus) {\n process.stdout.write('\\n');\n await showStatus({ onlyProvider: args.providerName });\n }\n}\n\n/**\n * Prepare `providerName`'s base — the single entry point the `prepare` command,\n * the install wizard, and the create-time stale-base rebuild all share. The bake\n * ALWAYS runs on the hub (Step 1 of the `/api/v1` consolidation): a local hub is\n * co-located so the artifact lands here, a remote control box is where cloud boxes\n * are built and the record is adopted back. Caller owns any `intro(...)` framing;\n * this manages its own spinner.\n */\nexport async function runPrepare(\n providerSpec: string,\n opts: RunPrepareOptions = {},\n): Promise<void> {\n // Throw, never exit: `runPrepare` is called from the install wizard, the\n // create-time stale-base rebuild and `remote-docker add` — a bare exit would\n // kill those mid-flow instead of letting them report. The `prepare` command\n // itself is unchanged: printCliError renders a UserFacingError's message bare\n // and exits 1, exactly what these did.\n if (!isKnownProvider(providerSpec)) {\n throw new UserFacingError(\n `error: --provider must be one of: ${getRuntimeProviderNames().join(', ')}`,\n );\n }\n // `--provider docker:<host>` bakes the image on that machine's engine. Split\n // the spec: the bare name drives every provider lookup, the host is baked via\n // the hub's per-host endpoint.\n const { name: providerName, remoteHost } = parseProviderSpec(providerSpec);\n\n if (providerName === 'daytona' && !opts.yes && process.stdin.isTTY) {\n process.stdout.write(\n 'This will trigger a Daytona image build (~7 min cold, ~seconds with cache) and ' +\n 'register a named snapshot in your org.\\n' +\n 'Re-run with --yes to skip this notice.\\n',\n );\n }\n\n const provider = await getProvider(providerName);\n if (typeof provider.prepare !== 'function') {\n throw new UserFacingError(`provider '${providerName}' does not implement prepare`);\n }\n\n const cwd = opts.cwd ?? process.cwd();\n const cfg = await loadEffectiveConfig(cwd).catch(() => null);\n // Docker off under a remote hub (Step 12): don't bake a local docker/remote-docker\n // image when a control box owns the fleet. `local` mode (or no cfg) keeps it on.\n if (cfg) {\n const refusal = await dockerProviderRefusal(cfg.effective, providerName, remoteHost, 'prepare');\n if (refusal) throw new UserFacingError(refusal);\n // Allowed but unsupported: `hub.mode=local` under a control box bakes an image\n // only this machine's hub can build boxes from.\n const warning = await localDockerUnsupportedWarning(cfg.effective, providerName);\n if (warning) log.warn(warning);\n }\n // Per-agent settings: `--agent-setting` wins over the config keys, merged so\n // one flag doesn't drop an agent's other configured settings. The remaining\n // bake INPUTS (`build` / `size` / `location` / `name`) are passed through only\n // when the user set the corresponding flag; the hub worker fills any that are\n // absent from ITS effective config (size/region/sandbox class), so one route\n // body serves every bake shape (plan Step 1).\n const agentSettings = mergeAgentSettings(\n cfg ? allAgentSettings(cfg.effective) : {},\n opts.agentSettings,\n );\n // remote-docker: the `docker:<host>` spec first, else the configured default.\n const host =\n providerName === 'remote-docker'\n ? remoteHost || cfg?.effective.box.remoteDockerHost || undefined\n : undefined;\n\n await runPrepareViaHub({\n providerName,\n provider,\n force: opts.force,\n agentSettings,\n ...(opts.agents ? { agents: opts.agents } : {}),\n build: opts.build,\n size: opts.size,\n location: opts.location,\n name: opts.name,\n remoteHost: host,\n suppressStatus: opts.suppressStatus,\n });\n}\n\n/**\n * Agents `--agents` accepts. Kept as a literal rather than derived from\n * AGENT_SYNC_SPECS so the CLI's arg parsing doesn't pull the sync registry into\n * its startup path; the drift is guarded by a test.\n */\nconst PREPARE_AGENTS = ['claude', 'codex', 'opencode', 'pi'];\n\nexport const prepareCommand = new Command('prepare')\n .description(\n 'Build base sandbox images / snapshots, or show what is already prepared across providers. ' +\n 'The bake always runs on the hub — a local hub is this machine; with a control box configured, ' +\n 'it runs there (where cloud boxes are built) and the record is adopted back.',\n )\n .option(\n '-p, --provider <name>',\n 'provider to prepare (docker | daytona | hetzner | vercel | e2b | digitalocean). Omit for status-only.',\n )\n .option('-n, --name <name>', 'snapshot name (Daytona only; default: agentbox-base-<timestamp>)')\n .option('-f, --force', 'rebuild even if the image / snapshot already exists')\n .option(\n '--build',\n 'docker: build the base image locally instead of pulling the prebuilt one from the registry',\n )\n .option('-y, --yes', 'skip confirmation prompts (cost / time warnings)')\n .option('--status', 'show status without preparing anything')\n .option(\n '--agent-setting <agent.key=value>',\n 'set one agent-declared setting for this bake, e.g. `claude.install=npm`. Repeatable; overrides the matching config key. Run `agentbox config list` to see what an agent declares.',\n (value: string, previous: string[] = []) => [...previous, value],\n )\n .option(\n '--agents <list>',\n 'comma-separated agents to bake into the base (claude,codex,opencode,pi). Default: none — agents are added as a derived layer or on demand.',\n )\n .option(\n '--location <name>',\n 'Datacenter/region the bake VPS runs in. Hetzner: nbg1, fsn1, hel1, ash (overrides box.hetznerLocation). DigitalOcean: nyc3, sfo3, ams3, fra1 (overrides box.digitaloceanRegion). Hetzner/DigitalOcean-only.',\n )\n .option(\n '--size <spec>',\n 'bake-time VM size. daytona: cpu-memory-disk GB (e.g. 4-8-20). e2b: cpu-memory GB (e.g. 4-8). Overrides box.size / box.size<Provider>. Ignored by docker/hetzner/vercel.',\n )\n .action(async (opts: PrepareOptions) => {\n // Status-only path: no provider, or explicit --status.\n if (!opts.provider || opts.status) {\n await showStatus({});\n return;\n }\n\n let agentSettings: AgentSettingsMap | undefined;\n if (opts.agentSetting !== undefined) {\n const parsed = parseAgentSettingFlags(opts.agentSetting);\n if (typeof parsed === 'string') {\n process.stderr.write(`error: ${parsed}\\n`);\n process.exit(1);\n }\n agentSettings = parsed;\n }\n\n let agents: string[] | undefined;\n if (opts.agents !== undefined) {\n const parsed = opts.agents\n .split(',')\n .map((a) => a.trim())\n .filter((a) => a.length > 0);\n const unknown = parsed.filter((a) => !PREPARE_AGENTS.includes(a));\n if (unknown.length > 0) {\n process.stderr.write(\n `error: --agents got unknown agent(s): ${unknown.join(', ')} (known: ${PREPARE_AGENTS.join(', ')})\\n`,\n );\n process.exit(1);\n }\n agents = parsed;\n }\n\n const providerName = opts.provider.trim();\n intro(`preparing ${providerName} base image`);\n // Errors propagate to `program.parseAsync().catch` so they reach the user\n // via `console.error` — a bare `catch { process.exit(1) }` here would\n // silently swallow getProvider() failures (e.g. an ensureCredentials cancel)\n // that fall outside runPrepare's inner spinner error handler.\n await runPrepare(providerName, {\n force: opts.force,\n yes: opts.yes,\n agentSettings,\n agents,\n build: opts.build,\n size: opts.size,\n location: opts.location,\n name: opts.name,\n });\n });\n","/**\n * `--agent-setting <agent>.<key>=<value>` — the CLI face of an agent's own\n * declared settings.\n *\n * One generic flag rather than one flag per setting: which settings exist is a\n * runtime fact (`AgentSyncSpec.settings`, including an agent installed from an\n * npm package), so a commander option per setting could only ever cover the\n * built-ins. Validation is against the DECLARATION, so a typo still fails\n * loudly and an enum still lists its values.\n */\n\nimport { findAgentSpec } from '@agentbox/sandbox-core';\nimport type { AgentSettingsMap } from '@agentbox/sandbox-core';\nimport { enumListMembers, type AgentSettingSpec } from '@agentbox/core';\n\n/** Parse the repeated flag values, or return one error message. */\nexport function parseAgentSettingFlags(values: readonly string[]): AgentSettingsMap | string {\n const out: Record<string, Record<string, string | boolean>> = {};\n for (const raw of values) {\n const eq = raw.indexOf('=');\n if (eq <= 0) return `--agent-setting expects <agent>.<key>=<value>, got \"${raw}\"`;\n const path = raw.slice(0, eq).trim();\n const value = raw.slice(eq + 1);\n const dot = path.indexOf('.');\n if (dot <= 0 || dot === path.length - 1) {\n return `--agent-setting expects <agent>.<key>=<value>, got \"${raw}\"`;\n }\n const agentId = path.slice(0, dot);\n const key = path.slice(dot + 1);\n const spec = findAgentSpec(agentId);\n if (!spec) return `--agent-setting: unknown agent \"${agentId}\"`;\n const declared = spec.settings?.find((s) => s.key === key);\n if (!declared) {\n const known = (spec.settings ?? []).map((s) => `${spec.id}.${s.key}`);\n return known.length > 0\n ? `--agent-setting: ${spec.id} declares no setting \"${key}\" (known: ${known.join(', ')})`\n : `--agent-setting: ${spec.id} declares no settings`;\n }\n const coerced = coerceSetting(declared, value);\n if (typeof coerced === 'string') return `--agent-setting ${path}: ${coerced}`;\n (out[spec.id] ??= {})[key] = coerced.value;\n }\n return out;\n}\n\nfunction coerceSetting(\n declared: AgentSettingSpec,\n raw: string,\n): { value: string | boolean } | string {\n if (declared.type === 'bool') {\n if (['true', 'yes', '1'].includes(raw.toLowerCase())) return { value: true };\n if (['false', 'no', '0'].includes(raw.toLowerCase())) return { value: false };\n return `expected a boolean, got \"${raw}\"`;\n }\n if (declared.type === 'enum') {\n const allowed = declared.enumValues ?? [];\n if (!allowed.includes(raw)) return `must be one of: ${allowed.join(', ')}`;\n }\n if (declared.type === 'enum-list') {\n const allowed = declared.enumValues ?? [];\n const unknown = enumListMembers(raw).filter((m) => !allowed.includes(m));\n if (unknown.length > 0) {\n return `unknown ${unknown.length === 1 ? 'value' : 'values'} ${unknown.join(', ')} — pick from: ${allowed.join(', ')} (comma-separated)`;\n }\n }\n return { value: raw };\n}\n\n/**\n * CLI overrides layered onto the config-resolved settings, PER AGENT rather than\n * per agent-block: `--agent-setting claude.install=npm` must not drop the\n * `claude.tui` the project's config set.\n */\nexport function mergeAgentSettings(\n base: AgentSettingsMap,\n overrides: AgentSettingsMap | undefined,\n): AgentSettingsMap {\n if (!overrides) return base;\n const out: Record<string, Record<string, string | boolean>> = {};\n for (const [id, values] of Object.entries(base)) out[id] = { ...values };\n for (const [id, values] of Object.entries(overrides)) out[id] = { ...out[id], ...values };\n return out;\n}\n","/**\n * OpenCode as a package. Same shape as `@agentbox/agent-codex`: everything\n * OpenCode-specific about running it in a docker box lives here, and\n * `sandbox-docker` receives it through the `AgentSyncModule` registry rather\n * than importing it.\n */\n\nimport { resolveAgentSpec } from '@agentbox/sandbox-core';\nimport {\n extractOpencodeCredentials,\n loopbackEndpointNotes,\n registerAgentSyncModule,\n type AgentSyncModule,\n} from '@agentbox/sandbox-docker';\nimport { registerAgentCloudModule, type AgentCloudModule } from '@agentbox/sandbox-cloud';\nimport { seedOpencodeModelState } from './cloud-sync.js';\nimport { stageOpencodeCredentialsForUpload, stageOpencodeStaticForUpload } from './host-stage.js';\nimport {\n buildOpencodeMounts,\n ensureOpencodeVolume,\n opencodeSessionInfo,\n resolveOpencodeVolume,\n} from './docker-sync.js';\n\n/** OpenCode's docker behavior. No post-sync hook and no expiring credential. */\nexport const opencodeSyncModule: AgentSyncModule = {\n id: 'opencode',\n resolveVolume: (opts) => resolveOpencodeVolume(opts),\n buildMounts: (spec, env) => buildOpencodeMounts(spec, env),\n ensureVolume: async (spec, opts) => {\n const r = await ensureOpencodeVolume(spec, opts);\n return {\n created: r.created,\n synced: r.synced,\n notes: await loopbackEndpointNotes('opencode', r.loopbackEndpoints),\n };\n },\n sessionInfo: (container) => opencodeSessionInfo(container),\n // Extract-only, same as codex: no host bind mount and no expiry field, so the\n // helper is called unconditionally and reports { copied: false } if there is\n // no volume to read.\n refreshHostBackup: async (image) => {\n await extractOpencodeCredentials(resolveAgentSpec('opencode').dockerVolume, image);\n },\n};\n\n/**\n * OpenCode's cloud behavior: seed the host's selected model. A cloud box's state\n * dir is ephemeral, so the host is authoritative on every create.\n */\nexport const opencodeCloudModule: AgentCloudModule = {\n id: 'opencode',\n afterSeed: (backend, handle, opts) => seedOpencodeModelState(backend, handle, opts),\n // Static staging is the generic registry-driven stager (OpenCode's\n // multi-source layout is entirely `staticPaths` data) plus a report of any\n // host-loopback provider baseURL, which a cloud box cannot reach.\n stageStatic: () => stageOpencodeStaticForUpload(),\n stageCredentials: () => stageOpencodeCredentialsForUpload(),\n};\n\n/** Register OpenCode on both layers. Called by `@agentbox/agent-modules`. */\nexport function registerOpencodeAgent(): void {\n registerAgentSyncModule(opencodeSyncModule);\n registerAgentCloudModule(opencodeCloudModule);\n}\n\nexport { seedOpencodeModelState } from './cloud-sync.js';\nexport * from './docker-sync.js';\n\nexport { opencodeStagedItems } from './staged-items.js';\n","/**\n * OpenCode's cloud-side behavior: seed the host's selected model into a freshly\n * created cloud box.\n *\n * It lived in `sandbox-cloud/src/sync/agent-credentials.ts` and was called by\n * name from `cloud-sync.ts` — one of the three per-agent steps that made adding\n * an agent mean editing the shared cloud layer.\n */\n\nimport type { CloudBackend, CloudHandle } from '@agentbox/core';\nimport { resolveAgentSpec } from '@agentbox/sandbox-core';\nimport { stageOpencodeStateForUpload } from './host-stage.js';\n\n/**\n * Box-side OpenCode state dir. Derived from the agent's declared `XDG_STATE_HOME`\n * (OpenCode appends `opencode/` to it), falling back to the XDG default for an\n * agent that declares none — so the seed always lands where the in-box agent\n * will actually look.\n */\nconst OPENCODE_STATE_DIR = ((): string => {\n const stateHome = resolveAgentSpec('opencode').boxRunEnv['XDG_STATE_HOME'];\n return stateHome ? `${stateHome}/opencode` : '/home/vscode/.local/state/opencode';\n})();\n\n/**\n * Seed the host's selected OpenCode model (`~/.local/state/opencode/model.json`)\n * into the box's state dir, host-authoritative, on **every** create. The\n * destination follows the agent's declared `XDG_STATE_HOME`, so it stays the dir\n * the in-box opencode actually reads.\n *\n * Unlike credentials (a seed-once volume), the cloud box's state dir is ephemeral\n * — there is no persistent per-box store on either cloud (Daytona's only shared\n * volume holds credentials; Hetzner has none), so the host is authoritative each\n * create and there is no marker to gate on. Without this, OpenCode boots a cloud\n * box with its built-in default model instead of the one the user picked on the\n * host. Provider-agnostic: runs on any `CloudBackend` (`exec` + `uploadFile`).\n *\n * Best-effort: a failure logs and leaves the box on OpenCode's default — it must\n * never fail box creation.\n */\nexport async function seedOpencodeModelState(\n backend: CloudBackend,\n handle: CloudHandle,\n opts: { onLog?: (line: string) => void } = {},\n): Promise<void> {\n const log = opts.onLog ?? (() => {});\n const staged = await stageOpencodeStateForUpload();\n if (staged.tarballPath === null) {\n log('opencode: no host model selection to seed');\n return;\n }\n try {\n const remoteTar = '/tmp/agentbox-opencode-state.tar.gz';\n await backend.uploadFile(handle, staged.tarballPath, remoteTar);\n const res = await backend.exec(\n handle,\n `set -e; mkdir -p ${OPENCODE_STATE_DIR}; ` +\n `tar -xzf ${remoteTar} -C ${OPENCODE_STATE_DIR}; ` +\n `chown -R vscode:vscode ${OPENCODE_STATE_DIR} 2>/dev/null || true; ` +\n `rm -f ${remoteTar}`,\n );\n if (res.exitCode !== 0) {\n log(\n `opencode: model-state seed failed (exit ${String(res.exitCode)}); ` +\n `box falls back to OpenCode's default model. stderr: ${res.stderr.slice(-200)}`,\n );\n return;\n }\n log('opencode: model selection seeded ✓');\n } finally {\n await staged.cleanup();\n }\n}\n","/**\n * OpenCode's host-side staging.\n *\n * Two of these are more than a copy — the credentials tarball prefers a cloud\n * backup over the host's real `auth.json`, and the model-state tarball ships a\n * single file from a different tree — so they cannot be expressed as\n * `staticPaths` data. The static one IS pure data; it stays here beside its\n * siblings rather than being the one opencode stager living somewhere else.\n *\n * These lived in `sandbox-core/src/sync/host-stage.ts` while the published SDK\n * exported them by name. SDK v3 replaced the three per-agent stagers with\n * `stageAllAgentStatic`, which reaches an agent's own through\n * `AgentCloudModule.stageStatic` — so the last reason to keep them in a shared\n * layer that must not know about agents is gone. The rsync/tar primitives they\n * use are still exported from `sandbox-core`.\n */\n\nimport { homedir } from 'node:os';\nimport { formatLoopbackUnreachable, providerWarning, scanLoopbackJsonFiles } from '@agentbox/core';\nimport { join } from 'node:path';\nimport {\n emptyResult,\n pathExists,\n stageAgentStaticForUpload,\n stageSingleFileTarball,\n type StageResult,\n} from '@agentbox/sandbox-core';\nimport { opencodeEndpointFiles } from './endpoints.js';\n\nexport interface StageOpencodeOptions {\n hostHome?: string;\n}\n\n/**\n * Filtered tarball of opencode static config. Layout extracts into\n * `/home/vscode/.local/share/opencode/`:\n *\n * ./<data files> ← from ~/.local/share/opencode/ (minus auth.json)\n * ./config/<config files> ← from ~/.config/opencode/\n *\n * Both sources, their `relocToSubpath` and their excludes are registry data, so\n * this is the generic stager with nothing added. `auth.json` and the two-way\n * state tree ship separately (their own variants below).\n */\nexport async function stageOpencodeStaticForUpload(\n opts: StageOpencodeOptions = {},\n): Promise<StageResult> {\n const staged = await stageAgentStaticForUpload('opencode', opts);\n // Reported, never rewritten: a cloud box has no route back to this machine (#403).\n const endpoints = await scanLoopbackJsonFiles(opencodeEndpointFiles(opts.hostHome ?? homedir()));\n return {\n ...staged,\n warnings: [\n ...staged.warnings,\n ...endpoints.map((e) => providerWarning(formatLoopbackUnreachable('opencode', e))),\n ],\n };\n}\n\n/**\n * Tarball with **only** `auth.json`. Prefers the cloud backup\n * `~/.agentbox/opencode-credentials.json` (captured from a previous cloud box);\n * falls back to the host's real `~/.local/share/opencode/auth.json`. Returns an\n * empty result when neither exists.\n */\nexport async function stageOpencodeCredentialsForUpload(\n opts: StageOpencodeOptions = {},\n): Promise<StageResult> {\n const hostHome = opts.hostHome ?? homedir();\n // Cloud backup under <hostHome>/.agentbox, derived from hostHome so the path\n // tracks the active home and tests stay hermetic; production matches\n // OPENCODE_CREDENTIALS_BACKUP_FILE.\n const cloudBackup = join(hostHome, '.agentbox', 'opencode-credentials.json');\n if (await pathExists(cloudBackup)) {\n return stageSingleFileTarball('opencode-creds', cloudBackup, 'auth.json');\n }\n const hostAuth = join(hostHome, '.local', 'share', 'opencode', 'auth.json');\n if (!(await pathExists(hostAuth))) return emptyResult();\n return stageSingleFileTarball('opencode-creds', hostAuth, 'auth.json');\n}\n\n/**\n * Tarball with **only** the selected-model state (`model.json`, sourced from\n * `~/.local/state/opencode/model.json`). Extracts to a box's state dir so a\n * fresh box inherits the host's active model instead of OpenCode's default.\n * Returns an empty result when the host has never picked a model.\n */\nexport async function stageOpencodeStateForUpload(\n opts: StageOpencodeOptions = {},\n): Promise<StageResult> {\n const hostHome = opts.hostHome ?? homedir();\n const hostModel = join(hostHome, '.local', 'state', 'opencode', 'model.json');\n if (!(await pathExists(hostModel))) return emptyResult();\n return stageSingleFileTarball('opencode-state', hostModel, 'model.json');\n}\n","/**\n * Map opencode's pull labels (`auth.json`, `config/<item>`) to volume-style\n * rels. See `@agentbox/agent-claude`'s `staged-items.ts` for why these live with\n * their agents rather than as a three-arm table in `sandbox-core`.\n */\n\nimport type { StagedItem } from '@agentbox/sandbox-core';\n\nexport function opencodeStagedItems(newItems: string[]): StagedItem[] {\n return newItems.map((label) => {\n const name = label.startsWith('config/') ? label.slice('config/'.length) : label;\n const isFile = name === 'auth.json' || name === 'opencode.json' || name === 'opencode.jsonc';\n return { rel: label, label, kind: isFile ? ('file' as const) : ('dir' as const) };\n });\n}\n","/**\n * Codex as a package.\n *\n * Everything Codex-specific about running it in a docker box lives here, and\n * `sandbox-docker` no longer imports any of it — it receives `codexSyncModule`\n * through the `AgentSyncModule` registry. That inversion is what lets an agent\n * be a package at all: an agent's behavior depends on `sandbox-docker`, so\n * `sandbox-docker` importing it back is a dependency cycle turbo refuses.\n *\n * The CLI re-exports what it needs from here; nothing below this package does.\n */\n\nimport { resolveAgentSpec } from '@agentbox/sandbox-core';\nimport {\n extractCodexCredentials,\n loopbackEndpointNotes,\n registerAgentSyncModule,\n type AgentSyncModule,\n} from '@agentbox/sandbox-docker';\nimport { registerAgentCloudModule, type AgentCloudModule } from '@agentbox/sandbox-cloud';\nimport { ensureCodexAgentsOverride } from './cloud-sync.js';\nimport { stageCodexCredentialsForUpload, stageCodexStaticForUpload } from './host-stage.js';\nimport {\n buildCodexMounts,\n codexSessionInfo,\n ensureCodexVolume,\n resolveCodexVolume,\n seedCodexAgentsOverride,\n} from './docker-sync.js';\n\n/** Codex's docker behavior, in the shape `sandbox-docker` asks for. */\nexport const codexSyncModule: AgentSyncModule = {\n id: 'codex',\n resolveVolume: (opts) => resolveCodexVolume(opts),\n buildMounts: (spec, env) => buildCodexMounts(spec, env),\n ensureVolume: async (spec, opts) => {\n const r = await ensureCodexVolume(spec, opts);\n return {\n created: r.created,\n synced: r.synced,\n notes: await loopbackEndpointNotes('codex', r.loopbackEndpoints),\n };\n },\n sessionInfo: (container) => codexSessionInfo(container),\n // The AGENTS.override.md box-facts fold. It used to be called by name from\n // `docker-sync.ts`; it is Codex's own post-sync step now.\n // Extract-only: unlike claude there is no docker bind mount of the host's real\n // ~/.codex into the box, and codex's auth.json carries no expiry field to gate\n // on — so always try, and let the helper report no-op when there is no volume.\n refreshHostBackup: async (image) => {\n await extractCodexCredentials(resolveAgentSpec('codex').dockerVolume, image);\n },\n afterVolumeSync: async (volume, image) => {\n const r = await seedCodexAgentsOverride(volume, image);\n return { notes: r.seeded ? ['seeded AGENTS.override.md with box facts'] : [] };\n },\n};\n\n/** Codex's cloud behavior — the same box-facts fold, for a box with no volume. */\nexport const codexCloudModule: AgentCloudModule = {\n id: 'codex',\n afterSeed: (backend, handle, opts) => ensureCodexAgentsOverride(backend, handle, opts),\n // Codex's staging is more than a copy of its declared paths — it sanitizes\n // config.toml's host-only entries and purges orphan marketplace caches — so\n // it supplies its own rather than riding the generic stager.\n stageStatic: () => stageCodexStaticForUpload(),\n stageCredentials: () => stageCodexCredentialsForUpload(),\n};\n\n/** Register Codex on both layers. Called by `@agentbox/agent-modules`. */\nexport function registerCodexAgent(): void {\n registerAgentSyncModule(codexSyncModule);\n registerAgentCloudModule(codexCloudModule);\n}\n\n// The CLI still reaches for these by name; they move behind the module contract\n// as the remaining phases convert their call sites.\nexport { ensureCodexAgentsOverride } from './cloud-sync.js';\nexport * from './docker-sync.js';\nexport * from './host-stage.js';\nexport * from './box-config.js';\n\nexport { codexStagedItems } from './staged-items.js';\n\n// The plugin installer is exported from `@agentbox/agent-codex/cli`, NOT here.\n// This entry is imported by `sandbox-docker`'s module registry and reaches the\n// hub bundle; the installer pulls `@agentbox/cli-kit` for its logger, and\n// cli-kit carries the pty backend, so re-exporting it here fails the hub's\n// esbuild bundle on a `.node` binary. Subpath entries keep that cost where it\n// belongs.\n","/**\n * Codex's cloud-side behavior: fold the box facts into `AGENTS.override.md` on a\n * freshly seeded cloud box.\n *\n * The docker twin is `afterVolumeSync` in this package's `index.ts`; this is the\n * same idea for a box that has no docker volume. It lived in\n * `sandbox-cloud/src/sync/` and was called by name from `cloud-sync.ts`, which\n * is what made adding an agent mean editing the shared cloud layer.\n */\nimport type { CloudBackend, CloudHandle } from '@agentbox/core';\nimport { buildCodexAgentsOverrideScript, CODEX_OVERRIDE_WROTE_MARKER } from './docker-sync.js';\n\n/** CODEX_HOME is `/home/vscode/.codex` on every provider (the box user is `vscode`). */\nconst BOX_CODEX_HOME = '/home/vscode/.codex';\n\n/**\n * Cloud counterpart of the docker `seedCodexAgentsOverride`: regenerate\n * `~/.codex/AGENTS.override.md` in-box so the Codex agent reads the box \"system\n * prompt\" (`/etc/claude-code/CLAUDE.md`, installed on every provider). Runs the\n * SAME shared script as docker, in-box via `backend.exec`. The exec user varies\n * (vscode on vercel/e2b, root-then-sudo on hetzner), so target the fixed\n * `/home/vscode/.codex` path and normalize ownership to vscode afterwards rather\n * than relying on `$HOME`. Best-effort: a failure must never fail box creation.\n *\n * Call after the codex config/home is in place (post `ensureAgentHomeDirsOwned`)\n * so a synced user `AGENTS.md` is folded in beneath the facts.\n */\nexport async function ensureCodexAgentsOverride(\n backend: CloudBackend,\n handle: CloudHandle,\n opts: { onLog?: (line: string) => void } = {},\n): Promise<void> {\n const log = opts.onLog ?? (() => {});\n const script =\n buildCodexAgentsOverrideScript(BOX_CODEX_HOME) +\n `\\nchown vscode:vscode \"$OVR\" 2>/dev/null || true` +\n `\\nchmod 0644 \"$OVR\" 2>/dev/null || true`;\n try {\n // Cloud backends signal script failure via a non-zero exitCode rather than\n // throwing, so a `set -e` abort (perms, missing paths) must be read off the\n // result — otherwise we'd log success while the box booted without facts.\n // The script also exits 0 in the no-op case (box-facts file absent) without\n // writing, so gate the \"seeded\" log on the wrote-marker, not just exit 0.\n const res = await backend.exec(handle, script);\n if (res.exitCode !== 0)\n log(\n `codex AGENTS.override seed failed (continuing): exit ${res.exitCode}${\n res.stderr.trim() ? `: ${res.stderr.trim()}` : ''\n }`,\n );\n else if (res.stdout.includes(CODEX_OVERRIDE_WROTE_MARKER))\n log('seeded Codex AGENTS.override.md');\n else log('codex AGENTS.override skipped: box-facts file absent');\n } catch (err) {\n log(\n `codex AGENTS.override seed failed (continuing): ${err instanceof Error ? err.message : String(err)}`,\n );\n }\n}\n","import {\n agentPushExcludes,\n formatLoopbackUnreachable,\n providerWarning,\n type LoopbackEndpoint,\n} from '@agentbox/core';\n/**\n * Codex's host-side staging — the part that is more than a copy.\n *\n * It sanitizes `config.toml`'s host-only entries (desktop-Codex MCP servers\n * pointing at macOS paths) and purges marketplace caches the sanitize orphaned.\n * Neither is expressible as `staticPaths` data, which is why codex supplies its\n * own stager instead of riding the generic one.\n *\n * Here rather than in `sandbox-core` because it is codex's, and `sandbox-core`\n * cannot import an agent package. `stageAllAgentStatic` reaches it through\n * `AgentCloudModule.stageStatic`; the rsync/tar primitives come from\n * `sandbox-core`.\n */\n\nimport { readdir, readFile, rm, writeFile } from 'node:fs/promises';\nimport { homedir } from 'node:os';\nimport { join } from 'node:path';\nimport { execa } from 'execa';\nimport {\n emptyResult,\n findBrokenSymlinks,\n makeCleanup,\n mkStageDir,\n pathExists,\n resolveAgentSpec,\n STAGE_NO_SPECIALS,\n STAGE_WRITABLE_CHMOD,\n stageSingleFileTarball,\n tarballFromDir,\n type StageResult,\n} from '@agentbox/sandbox-core';\nimport { sanitizeCodexConfigForBox } from './box-config.js';\n\n// ---------- codex ----------\n\nexport interface StageCodexOptions {\n hostHome?: string;\n}\n\n// Registry data (single source of truth, drift-guarded by the registry test).\n// Bare patterns mapped to `--exclude=` at the rsync call. Highlights: the\n// `state_*.sqlite*` threads index is the resume-cwd source (rebuilt in-box from\n// rollouts, so seeding it would trap a teleported session at the host cwd);\n// `packages`/`plugins/.plugin-appserver`/`computer-use` are heavy macOS-only\n// artifacts that balloon the staged tarball (~800 MB → ~0.5 MB).\nconst CODEX_STATIC_EXCLUDES = ((): readonly string[] => {\n const spec = resolveAgentSpec('codex');\n const path = spec.staticPaths[0];\n return path ? agentPushExcludes(spec, path, 'snapshot') : [];\n})();\n// `--include` carve-ins (the `.tmp/marketplaces/` snapshots) — must be emitted\n// before the excludes; see the registry's codex spec for the rationale.\nconst CODEX_STATIC_INCLUDES = resolveAgentSpec('codex').staticPaths[0]?.include ?? [];\n\nconst CODEX_KEYCHAIN_WARNING =\n 'codex: ~/.codex/auth.json missing. On macOS the codex CLI defaults to ' +\n \"storing the OAuth token in the system Keychain, which isn't reachable \" +\n 'from a remote sandbox. To share creds with cloud boxes either:\\n' +\n ' - add `cli_auth_credentials_store = \"file\"` to ~/.codex/config.toml ' +\n 'then re-run `codex login`, or\\n' +\n ' - set OPENAI_API_KEY in your environment, or\\n' +\n ' - run `codex login --with-api-key` for a file-backed login.\\n' +\n 'Skipping codex seed; in-box codex will prompt for sign-in.';\n\n/**\n * Filtered tarball of `~/.codex/` **excluding** `auth.json`. Extracts into\n * `/home/vscode/.codex/` on the sandbox FS at snapshot-bake time.\n *\n * `-L` dereferences EVERY symlink (codex sprouts links into `~/.nvm` for the\n * `applypatch` argv0 trick and into `~/.agents/skills/*`); produces a\n * symlink-free archive suitable for the FUSE-backed Daytona volume and the\n * sandbox FS alike. Broken symlinks would abort rsync under `-L`, so pre-scan\n * and skip them.\n */\n/**\n * Best-effort, in-place sanitize of a staged `config.toml`: drops host-only-path\n * `mcp_servers` / `notify` / local marketplaces via {@link\n * sanitizeCodexConfigForBox}. A missing file, a parse failure, or any IO error\n * leaves the file untouched — staging must never fail on config sanitization.\n *\n * Returns the marketplace names kept in the sanitized config (the keep-set for\n * {@link purgeOrphanCodexMarketplaceDirs}); a missing config keeps nothing, and\n * `null` signals \"unknown\" (parse/IO failure) so the caller skips the purge —\n * never delete on unknown.\n */\nasync function sanitizeStagedCodexConfig(\n configPath: string,\n hostHome: string,\n): Promise<{ keptMarketplaces: string[]; loopbackEndpoints: LoopbackEndpoint[] } | null> {\n try {\n if (!(await pathExists(configPath))) return { keptMarketplaces: [], loopbackEndpoints: [] };\n // No `loopbackHost`: a cloud box has no route back to this machine, so a\n // loopback endpoint is reported, never rewritten (#403).\n const { text, changed, keptMarketplaces, loopbackEndpoints } = sanitizeCodexConfigForBox(\n await readFile(configPath, 'utf8'),\n hostHome,\n );\n if (changed) await writeFile(configPath, text);\n return { keptMarketplaces, loopbackEndpoints };\n } catch {\n // leave the rsynced copy as-is\n return null;\n }\n}\n\n/**\n * Delete staged marketplace artifacts whose marketplace is absent from the\n * sanitized config: `plugins/cache/<name>` (installed-plugin payloads — the\n * host's desktop-app caches carry macOS junk like native-prebuild\n * node_modules) and `.tmp/marketplaces/<name>` (snapshot checkouts, incl.\n * codex's transient `.staging`). Best-effort; missing dirs are fine.\n */\nasync function purgeOrphanCodexMarketplaceDirs(\n stageDir: string,\n keptMarketplaces: string[],\n): Promise<void> {\n const kept = new Set(keptMarketplaces);\n for (const rel of ['plugins/cache', '.tmp/marketplaces']) {\n const dir = join(stageDir, rel);\n let entries: string[];\n try {\n entries = await readdir(dir);\n } catch {\n continue; // dir absent — nothing staged for it\n }\n for (const name of entries) {\n if (kept.has(name)) continue;\n await rm(join(dir, name), { recursive: true, force: true });\n }\n }\n}\n\nexport async function stageCodexStaticForUpload(\n opts: StageCodexOptions = {},\n): Promise<StageResult> {\n const hostHome = opts.hostHome ?? homedir();\n const hostCodex = join(hostHome, '.codex');\n if (!(await pathExists(hostCodex))) return emptyResult();\n\n const stageDir = await mkStageDir('codex-static');\n let tarballPath: string | null = null;\n try {\n const codexBroken = await findBrokenSymlinks(hostCodex);\n // Rule order matters (first-match-wins): broken-symlink excludes first\n // (exact anchored paths — a broken symlink inside a marketplace checkout\n // would abort the `-L` rsync if the includes matched it first), then the\n // `.tmp/marketplaces` includes, then the static excludes.\n await execa('rsync', [\n '-a',\n STAGE_WRITABLE_CHMOD,\n STAGE_NO_SPECIALS,\n '-L',\n ...codexBroken.map((r) => `--exclude=/${r}`),\n ...CODEX_STATIC_INCLUDES.map((p) => `--include=${p}`),\n ...CODEX_STATIC_EXCLUDES.map((p) => `--exclude=${p}`),\n `${hostCodex}/`,\n `${stageDir}/`,\n ]);\n // Strip host-only-path entries (desktop-Codex.app MCP servers like\n // node_repl, a macOS notify helper, local-source marketplaces) from the\n // staged config.toml so the in-box codex doesn't try to exec macOS paths.\n // Best-effort: a parse failure leaves the rsynced copy intact.\n const sanitized = await sanitizeStagedCodexConfig(join(stageDir, 'config.toml'), hostHome);\n // Drop caches/snapshots of marketplaces the sanitize removed (or that no\n // config references). Skipped when the keep-set is unknown (sanitize\n // failure) — never delete on unknown.\n if (sanitized !== null) {\n await purgeOrphanCodexMarketplaceDirs(stageDir, sanitized.keptMarketplaces);\n }\n tarballPath = await tarballFromDir(stageDir, 'codex-static');\n return {\n tarballPath,\n cleanup: makeCleanup([stageDir, tarballPath]),\n warnings: (sanitized?.loopbackEndpoints ?? []).map((e) =>\n providerWarning(formatLoopbackUnreachable('codex', e)),\n ),\n };\n } catch (err) {\n await rm(stageDir, { recursive: true, force: true });\n if (tarballPath) await rm(tarballPath, { force: true });\n throw err;\n }\n}\n\n// ---------- agents (shared ~/.agents skills) ----------\n\n/**\n * Tarball with **only** `auth.json`. Prefers the cloud backup\n * `~/.agentbox/codex-credentials.json` (a login captured from a previous cloud\n * box by `extractCloudAgentCredentials`); falls back to the host's real\n * `~/.codex/auth.json` so a fresh project still bootstraps from a host login.\n * Surfaces the macOS Keychain landmine as a warning when neither exists — see\n * `CODEX_KEYCHAIN_WARNING`.\n */\nexport async function stageCodexCredentialsForUpload(\n opts: StageCodexOptions = {},\n): Promise<StageResult> {\n const hostHome = opts.hostHome ?? homedir();\n // Prefer the cloud backup under <hostHome>/.agentbox. Derive it from hostHome\n // (rather than the module-load `CODEX_CREDENTIALS_BACKUP_FILE` constant) so the\n // path tracks the active home: production uses the real home — identical to the\n // constant — while tests/callers can redirect the whole lookup via hostHome.\n const cloudBackup = join(hostHome, '.agentbox', 'codex-credentials.json');\n if (await pathExists(cloudBackup)) {\n return stageSingleFileTarball('codex-creds', cloudBackup, 'auth.json');\n }\n const hostAuth = join(hostHome, '.codex', 'auth.json');\n if (!(await pathExists(hostAuth))) return emptyResult([CODEX_KEYCHAIN_WARNING]);\n return stageSingleFileTarball('codex-creds', hostAuth, 'auth.json');\n}\n","/**\n * Map codex's pull items to staged-item descriptors. See\n * `@agentbox/agent-claude`'s `staged-items.ts` for why these live with their\n * agents rather than as a three-arm table in `sandbox-core`.\n */\n\nimport type { StagedItem } from '@agentbox/sandbox-core';\n\n/** `config.toml` / `auth.json` are files; `prompts` is a directory. */\nexport function codexStagedItems(newItems: string[]): StagedItem[] {\n return newItems.map((name) => ({\n rel: name,\n label: name,\n kind: name === 'prompts' ? ('dir' as const) : ('file' as const),\n }));\n}\n","/**\n * Bake a provider's base THROUGH the hub, from this machine — the one prepare\n * path, local hub or remote control box alike (`docs/hub-api-single-path-plan.md`\n * Step 1). The hub runs the bake in its own queue worker; this drives it and\n * reports the verdict.\n *\n * Two shapes, decided by whether the hub is co-located with this CLI:\n * - **Co-located** (a local hub, or `hub expose` on this machine): the worker\n * writes the prepared-state to THIS machine's `~/.agentbox` directly, so\n * there is nothing to adopt — a `done` job is the whole story.\n * - **Remote control box**: the worker wrote the record to ITS disk + custody;\n * we pull it back so both machines end up current from one bake. (With\n * `cloud.viaHub`, a cloud box is also built there, so baking there is where\n * the snapshot needs to live anyway.)\n *\n * The hub already exposes everything this needs (`POST /api/v1/providers/:id/prepare`,\n * `GET /api/v1/jobs/:id`, `GET /api/v1/jobs/:id/logs`); nothing new on that side.\n */\nimport { pullPreparedFromCustody } from '@agentbox/sandbox-cloud';\nimport type { Provider } from '@agentbox/core';\nimport type { AgentSettingsMap } from '@agentbox/sandbox-core';\nimport { HubApiError, type HubApiClient } from './hub-api-client.js';\nimport { pinAdoptedBase } from './prepared-custody.js';\n\n/** How often the job's terminal status is re-checked while the log streams. */\nconst JOB_POLL_MS = 3000;\n/**\n * Cap on a single bake. Generous: a cold daytona/e2b image build is genuinely\n * ~10 minutes, and a bake that outlives this is still running on the hub — the\n * user is told where to watch it rather than left with a hung terminal.\n */\nconst BAKE_TIMEOUT_MS = 45 * 60_000;\n\nexport type HubBakeOutcome =\n /**\n * The hub baked it and the result is current on THIS machine — either a\n * co-located hub wrote the prepared-state here directly, or we adopted a remote\n * control box's record. Nothing left to do.\n */\n | { status: 'adopted' }\n /** The hub baked it, but its record didn't reach our prepared-state. */\n | { status: 'baked-not-adopted'; detail: string }\n | { status: 'failed'; detail: string };\n\nfunction delay(ms: number): Promise<void> {\n return new Promise((resolve) => setTimeout(resolve, ms));\n}\n\n/**\n * Run a bake on the control box and adopt the resulting record.\n *\n * The log stream is advisory — a dropped connection must never read as a\n * successful bake — so the verdict always comes from polling the job itself.\n */\nexport async function bakeViaHub(args: {\n client: HubApiClient;\n providerName: string;\n provider: Provider;\n force?: boolean;\n agentSettings: AgentSettingsMap;\n agents?: string[];\n /**\n * Bake INPUTS threaded from the CLI's flags (`--build` / `--size` / `--location`\n * / `--name`). They ride the same route body; the hub worker fills any that are\n * absent from its own effective config. Not routing — see the plan's Step 1.\n */\n build?: boolean;\n size?: string;\n location?: string;\n name?: string;\n custody: { url: string; adminToken: string } | null;\n /**\n * Whether the hub runs on THIS machine (a local hub, or `hub expose`). When\n * true, the worker's prepared-state write already lands in this machine's\n * `~/.agentbox`, so there is no custody round-trip to adopt.\n */\n coLocated: boolean;\n /**\n * remote-docker only: the host alias to bake. It goes to a different endpoint\n * (`/hosts/:alias/bake`), because the unit of a remote-docker base is a host,\n * not the provider — there is no single `remote-docker` base to prepare.\n */\n remoteHost?: string;\n onLog: (line: string) => void;\n}): Promise<HubBakeOutcome> {\n let jobId: string;\n try {\n jobId = args.remoteHost\n ? await args.client.bakeHost(args.remoteHost)\n : await args.client.prepareProvider(args.providerName, {\n force: args.force,\n agentSettings: args.agentSettings,\n ...(args.agents ? { agents: args.agents } : {}),\n build: args.build,\n size: args.size,\n location: args.location,\n name: args.name,\n });\n } catch (err) {\n // A precheck failure on the hub (no credentials there, docker down) is a\n // 409 with a real message — surface it verbatim rather than as \"failed\".\n const detail =\n err instanceof HubApiError ? err.message : err instanceof Error ? err.message : String(err);\n return { status: 'failed', detail };\n }\n\n const abort = new AbortController();\n // Fire-and-forget: the stream ends when the hub closes it. Errors are ignored\n // on purpose — losing the log must not lose the bake.\n const streaming = args.client\n .streamJobLog(jobId, args.onLog, abort.signal)\n .catch(() => undefined);\n\n const deadline = Date.now() + BAKE_TIMEOUT_MS;\n let status = 'queued';\n // The failed job's own reason. Without it the caller only ever learned that a\n // job \"ended failed\" and had to go read the hub's log to find out why — so\n // every bake failure, however precisely diagnosed on the hub side, reached the\n // user as an opaque line plus a stack trace. `create` already surfaces this\n // field; `prepare` was throwing it away.\n let jobError: string | undefined;\n try {\n for (;;) {\n await delay(JOB_POLL_MS);\n const job = await args.client.getJob(jobId).catch(() => null);\n // A job that vanished (hub restarted mid-bake) is not a success.\n if (!job) {\n status = 'gone';\n break;\n }\n status = job.status;\n jobError = job.error;\n if (status === 'done' || status === 'failed' || status === 'cancelled') break;\n if (Date.now() > deadline) {\n return {\n status: 'failed',\n detail: `the bake is still running on the control box after ${String(Math.round(BAKE_TIMEOUT_MS / 60_000))} minutes — watch job ${jobId} there`,\n };\n }\n }\n } finally {\n abort.abort();\n await streaming;\n }\n\n if (status !== 'done') {\n const reason = jobError?.trim();\n return {\n status: 'failed',\n detail: reason\n ? `${reason}\\n (control box bake job ${jobId} ended ${status})`\n : `the control box's bake job ${jobId} ended ${status}`,\n };\n }\n\n // A remote-docker bake put the image on the REMOTE HOST, which this machine\n // reaches too, and \"is that host baked?\" is answered by asking its engine —\n // never by a local file. So there is nothing to adopt, and nothing to pin.\n // (The local `remote-docker-prepared.json` history stays silent about a bake\n // this machine didn't run; that file is explicitly a log for `prepare\n // --status` / `doctor`, not the readiness check.)\n if (args.remoteHost) return { status: 'adopted' };\n\n // Co-located hub (local, or `hub expose`): the worker wrote the prepared-state\n // straight into this machine's `~/.agentbox` and pinned the config, so a `done`\n // job means the base is already current here. No custody round-trip.\n if (args.coLocated) return { status: 'adopted' };\n\n // The hub's bake wrote its record into custody (`sharePreparedBase` →\n // `writePreparedToCustodyStore`), so adopting is a plain custody read.\n if (!args.custody) {\n return {\n status: 'baked-not-adopted',\n detail: 'no control-box admin token, so its bake record could not be read back',\n };\n }\n const fingerprint = await Promise.resolve(args.provider.baseFingerprint?.()).catch(\n () => undefined,\n );\n const res = await pullPreparedFromCustody(args.providerName, fingerprint, {\n controlPlaneUrl: args.custody.url,\n adminToken: args.custody.adminToken,\n log: args.onLog,\n }).catch(() => ({ adopted: false, record: undefined }));\n if (!res.adopted) {\n return {\n status: 'baked-not-adopted',\n detail: `the control box baked ${args.providerName}, but its record does not match this machine's build context`,\n };\n }\n // Same pin a local bake writes: some providers (daytona) resolve their base\n // from `box.image<Provider>`, not from prepared-state.\n await pinAdoptedBase(args.providerName, res.record, args.onLog);\n return { status: 'adopted' };\n}\n","/**\n * The control box's own provider inventory — the ONE reading of\n * `GET /api/v1/providers?freshness=1` that both `agentbox prepare --status` /\n * `doctor` (text) and `doctor --json` (the menu-bar app's source) render.\n *\n * The local provider rows of either report describe THIS machine; with a control\n * box configured it is the control box's bakes a cloud create boots from, so a\n * consumer that cannot tell the two machines apart silently reports the wrong one.\n */\n\nimport type { HubApiProvider } from './hub-api-client.js';\n\n/** One cloud provider as the control box reports it. */\nexport interface ControlBoxProviderRow {\n id: string;\n /** The control box holds credentials for it. */\n hasCredentials: boolean;\n /** Its base is baked there (a create can boot from it). */\n configured: boolean;\n /** Freshness of that bake against the CONTROL BOX's build context. */\n baseStatus?: 'fresh' | 'stale' | 'unprepared' | 'unknown';\n /** The one-word state the text report prints for this row, so both agree. */\n state: string;\n}\n\n/**\n * Present whenever a genuinely remote control box is configured — including when\n * it cannot be reached, which is carried as `reachable: false` rather than by\n * omission: absent has to mean \"no control box\", or a consumer reading only the\n * local rows would never learn that a second machine exists.\n */\nexport interface ControlBoxInventory {\n url: string;\n reachable: boolean;\n /** Why the inventory is empty, when `reachable` is false. */\n error?: string;\n providers: ControlBoxProviderRow[];\n}\n\n/** IO the inventory needs, injected so the decision itself is unit-testable. */\nexport interface ControlBoxInventoryDeps {\n /** True for a local hub or `hub expose` here — then there is nothing to report. */\n coLocated: () => Promise<boolean>;\n /** The configured hub target, or null when none resolves. */\n target: () => Promise<{ url: string } | null>;\n /** Cheap owned-socket probe before spending the fetch budget. */\n reachable: (url: string) => Promise<boolean>;\n /** `GET /api/v1/providers?freshness=1`, or null when it failed. */\n listProviders: () => Promise<HubApiProvider[] | null>;\n}\n\nconst UNREACHABLE = 'could not read its baked providers';\n\n/** The state word a row reads as — credentials first, then bake, then freshness. */\nfunction providerState(p: HubApiProvider): string {\n if (!p.hasCredentials) return 'no credentials';\n if (!p.configured) return 'not baked';\n return p.baseStatus ?? 'baked';\n}\n\n/** Docker-family providers are a local engine's business, never the control box's. */\nfunction isCloudProvider(p: HubApiProvider): boolean {\n return p.id !== 'docker' && p.id !== 'remote-docker';\n}\n\n/**\n * The inventory, or null when there is nothing to report: no control box, or one\n * that IS this machine. Never throws and never blocks past the caller's probe\n * budget — both `doctor` and `prepare --status` must stay scriptable.\n */\nexport async function buildControlBoxInventory(\n deps: ControlBoxInventoryDeps,\n): Promise<ControlBoxInventory | null> {\n if (await deps.coLocated()) return null;\n const target = await deps.target();\n if (!target) return null;\n if (!(await deps.reachable(target.url))) {\n return { url: target.url, reachable: false, error: UNREACHABLE, providers: [] };\n }\n const providers = await deps.listProviders();\n if (!providers) return { url: target.url, reachable: false, error: UNREACHABLE, providers: [] };\n return {\n url: target.url,\n reachable: true,\n providers: providers.filter(isCloudProvider).map((p) => ({\n id: p.id,\n hasCredentials: p.hasCredentials === true,\n configured: p.configured,\n ...(p.baseStatus ? { baseStatus: p.baseStatus } : {}),\n state: providerState(p),\n })),\n };\n}\n\nfunction pad(s: string, width: number): string {\n return s.length >= width ? s : s + ' '.repeat(width - s.length);\n}\n\n/** The text form (`prepare --status`, `doctor`) of the same inventory. */\nexport function renderControlBoxInventory(inv: ControlBoxInventory | null): string[] {\n if (!inv) return [];\n if (!inv.reachable) return ['', `control box: unreachable — ${inv.error ?? UNREACHABLE}`];\n if (inv.providers.length === 0) return [];\n const out = ['', 'control box (where cloud boxes are built):'];\n for (const p of inv.providers) out.push(` ${pad(p.id, 16)} ${p.state}`);\n return out;\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,SAAS,OAAO,KAAK,eAAe;;;ACP7B,SAAS,uBAAuB,QAAsD;AAC3F,QAAM,MAAwD,CAAC;AAC/D,aAAW,OAAO,QAAQ;AACxB,UAAM,KAAK,IAAI,QAAQ,GAAG;AAC1B,QAAI,MAAM,EAAG,QAAO,uDAAuD,GAAG;AAC9E,UAAM,OAAO,IAAI,MAAM,GAAG,EAAE,EAAE,KAAK;AACnC,UAAM,QAAQ,IAAI,MAAM,KAAK,CAAC;A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;AACvD,QAAI,OAAO,WAAW,UAAU;AAC9B,cAAQ,OAAO,MAAM,UAAU,MAAM;AAAA,CAAI;AACzC,cAAQ,KAAK,CAAC;AAAA,IAChB;AACA,oBAAgB;AAAA,EAClB;AAEA,MAAI;AACJ,MAAI,KAAK,WAAW,QAAW;AAC7B,UAAM,SAAS,KAAK,OACjB,MAAM,GAAG,EACT,IAAI,CAAC,MAAM,EAAE,KAAK,CAAC,EACnB,OAAO,CAAC,MAAM,EAAE,SAAS,CAAC;AAC7B,UAAM,UAAU,OAAO,OAAO,CAAC,MAAM,CAAC,eAAe,SAAS,CAAC,CAAC;AAChE,QAAI,QAAQ,SAAS,GAAG;AACtB,cAAQ,OAAO;AAAA,QACb,yCAAyC,QAAQ,KAAK,IAAI,CAAC,YAAY,eAAe,KAAK,IAAI,CAAC;AAAA;AAAA,MAClG;AACA,cAAQ,KAAK,CAAC;AAAA,IAChB;AACA,aAAS;AAAA,EACX;AAEA,QAAM,eAAe,KAAK,SAAS,KAAK;AACxC,QAAM,aAAa,YAAY,aAAa;AAK5C,QAAM,WAAW,cAAc;AAAA,IAC7B,OAAO,KAAK;AAAA,IACZ,KAAK,KAAK;AAAA,IACV;AAAA,IACA;AAAA,IACA,OAAO,KAAK;AAAA,IACZ,MAAM,KAAK;AAAA,IACX,UAAU,KAAK;AAAA,IACf,MAAM,KAAK;AAAA,EACb,CAAC;AACH,CAAC;","names":["log","resolveAgentSpec","homedir","join","log","join","homedir","resolveAgentSpec","pad"]}
|
|
@@ -11,11 +11,11 @@ import {
|
|
|
11
11
|
runInteractiveOpencodeLogin,
|
|
12
12
|
startOpencodeSession,
|
|
13
13
|
volumeHasOpencodeAuth
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EUE6F7HL.js";
|
|
15
15
|
import {
|
|
16
16
|
OPENCODE_CREDENTIALS_BACKUP_FILE,
|
|
17
17
|
extractOpencodeCredentials
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PJCIZLIX.js";
|
|
19
19
|
import {
|
|
20
20
|
INVALID_CODE,
|
|
21
21
|
URL_BODY,
|
|
@@ -30,13 +30,13 @@ import {
|
|
|
30
30
|
text,
|
|
31
31
|
trimUrl,
|
|
32
32
|
withLoginDefaults
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-7ELRQNNH.js";
|
|
34
34
|
import {
|
|
35
35
|
ensureImage
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-2SKTXZGX.js";
|
|
37
37
|
import {
|
|
38
38
|
resolveAgentSpec
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-G35FJ4KT.js";
|
|
40
40
|
|
|
41
41
|
// ../../packages/agent-opencode/dist/cli/index.js
|
|
42
42
|
import { access } from "fs/promises";
|
|
@@ -294,4 +294,4 @@ export {
|
|
|
294
294
|
opencodeCliSpec,
|
|
295
295
|
agentModule
|
|
296
296
|
};
|
|
297
|
-
//# sourceMappingURL=chunk-
|
|
297
|
+
//# sourceMappingURL=chunk-FBQC6TKM.js.map
|
|
@@ -13,16 +13,18 @@ import {
|
|
|
13
13
|
renderInnerCommand,
|
|
14
14
|
resolveCloudCheckpoint,
|
|
15
15
|
writeCloudCheckpointManifest
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CUMSI7N3.js";
|
|
17
17
|
import {
|
|
18
|
+
MISSING_DOCKER_INIT_WARNING,
|
|
18
19
|
detectPortless,
|
|
20
|
+
isMissingDockerInit,
|
|
19
21
|
portlessDoctorRow,
|
|
20
22
|
portlessServiceStatus
|
|
21
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PJCIZLIX.js";
|
|
22
24
|
import {
|
|
23
25
|
BUILD_CONTEXT_DIR,
|
|
24
26
|
computeDockerContextFingerprint
|
|
25
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-2SKTXZGX.js";
|
|
26
28
|
import {
|
|
27
29
|
BOX_IMAGE_REGISTRY,
|
|
28
30
|
SshTunnelManager,
|
|
@@ -38,13 +40,13 @@ import {
|
|
|
38
40
|
sshOptArgs,
|
|
39
41
|
variantFingerprint,
|
|
40
42
|
writePreparedStateRaw
|
|
41
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-G35FJ4KT.js";
|
|
42
44
|
import {
|
|
43
45
|
hashProjectPath,
|
|
44
46
|
loadEffectiveConfig,
|
|
45
47
|
sanitizeMnemonic,
|
|
46
48
|
setConfigValue
|
|
47
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-3PTSPFR6.js";
|
|
48
50
|
|
|
49
51
|
// ../../packages/sandbox-remote-docker/dist/chunk-DYTGMKKU.js
|
|
50
52
|
import { existsSync, mkdirSync, readFileSync, renameSync, writeFileSync } from "fs";
|
|
@@ -675,11 +677,14 @@ function buildRunArgv(opts) {
|
|
|
675
677
|
// the local docker provider; we still avoid --privileged.
|
|
676
678
|
"--cap-add=SYS_ADMIN",
|
|
677
679
|
"--cap-add=NET_ADMIN",
|
|
680
|
+
// Inner dockerd bind-mounts /proc/<pid>/ns/net of a non-root container init, which needs PTRACE_MODE_READ.
|
|
681
|
+
"--cap-add=SYS_PTRACE",
|
|
678
682
|
"--device=/dev/fuse",
|
|
679
683
|
"--security-opt=apparmor:unconfined",
|
|
680
684
|
"--security-opt=seccomp=unconfined",
|
|
681
685
|
"--cgroupns=private"
|
|
682
686
|
];
|
|
687
|
+
if (opts.init !== false) argv.push("--init");
|
|
683
688
|
if (opts.nestedEngine) {
|
|
684
689
|
argv.push("--user", "0");
|
|
685
690
|
}
|
|
@@ -697,6 +702,9 @@ function buildRunArgv(opts) {
|
|
|
697
702
|
}
|
|
698
703
|
var remoteDockerBackend = {
|
|
699
704
|
name: BACKEND_NAME,
|
|
705
|
+
// `prepare` here builds only the shared agentless image on the remote engine,
|
|
706
|
+
// never the host's agent config, so every create seeds it.
|
|
707
|
+
seedsAgentStaticAtCreate: true,
|
|
700
708
|
async provision(req) {
|
|
701
709
|
const log2 = req.onLog ?? (() => {
|
|
702
710
|
});
|
|
@@ -738,7 +746,7 @@ var remoteDockerBackend = {
|
|
|
738
746
|
if (nestedEngine) {
|
|
739
747
|
log2("[provision] remote engine is itself an AgentBox box \u2014 running the box init as root");
|
|
740
748
|
}
|
|
741
|
-
const
|
|
749
|
+
const runOpts = {
|
|
742
750
|
container,
|
|
743
751
|
image,
|
|
744
752
|
env: req.env ?? {},
|
|
@@ -747,9 +755,18 @@ var remoteDockerBackend = {
|
|
|
747
755
|
nestedEngine,
|
|
748
756
|
...cpu !== void 0 ? { cpu } : {},
|
|
749
757
|
...memory !== void 0 ? { memory } : {}
|
|
750
|
-
}
|
|
758
|
+
};
|
|
751
759
|
log2(`[provision] docker run ${container} on ${remote.spec}`);
|
|
752
|
-
|
|
760
|
+
try {
|
|
761
|
+
await dockerOnRemoteOrThrow(target, buildRunArgv(runOpts), { timeoutMs: 3e5 });
|
|
762
|
+
} catch (err) {
|
|
763
|
+
if (!isMissingDockerInit(String(err))) throw err;
|
|
764
|
+
await dockerOnRemote(target, ["rm", "-f", container]);
|
|
765
|
+
log2(`[provision] ${MISSING_DOCKER_INIT_WARNING}`);
|
|
766
|
+
await dockerOnRemoteOrThrow(target, buildRunArgv({ ...runOpts, init: false }), {
|
|
767
|
+
timeoutMs: 3e5
|
|
768
|
+
});
|
|
769
|
+
}
|
|
753
770
|
return {
|
|
754
771
|
sandboxId,
|
|
755
772
|
resources: {
|
|
@@ -1302,4 +1319,4 @@ export {
|
|
|
1302
1319
|
remoteDockerProvider,
|
|
1303
1320
|
providerModule
|
|
1304
1321
|
};
|
|
1305
|
-
//# sourceMappingURL=chunk-
|
|
1322
|
+
//# sourceMappingURL=chunk-FPYYDMCR.js.map
|