@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
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
preparedMatches,
|
|
10
10
|
pullOrBuild,
|
|
11
11
|
readPreparedDockerState
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YBYUNY5P.js";
|
|
13
13
|
import {
|
|
14
14
|
GH_PR_JSON_FIELDS,
|
|
15
15
|
WORKSPACE_LOCK,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
upsertDetectedManager,
|
|
36
36
|
workspaceDir,
|
|
37
37
|
workspaceForBox
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-KJHUOHQ5.js";
|
|
39
39
|
import {
|
|
40
40
|
AGENT_SYNC_SPECS,
|
|
41
41
|
BOX_HOME,
|
|
@@ -102,18 +102,20 @@ import {
|
|
|
102
102
|
withServiceSignIn,
|
|
103
103
|
workspaceExcludes,
|
|
104
104
|
writeCredentialBackup
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-67LASBXO.js";
|
|
106
106
|
import {
|
|
107
107
|
execa
|
|
108
108
|
} from "./chunk-EFW34I43.js";
|
|
109
109
|
import {
|
|
110
110
|
AmbiguousBoxError,
|
|
111
111
|
BoxNotFoundError,
|
|
112
|
+
DOCKER_HOST_ALIAS,
|
|
112
113
|
ReplaceError,
|
|
113
114
|
SYNC_DRYRUN_ENV,
|
|
114
115
|
agentConfigVolume,
|
|
115
116
|
buildNoVncUrl,
|
|
116
117
|
dryRunProviderSync,
|
|
118
|
+
formatLoopbackRewrite,
|
|
117
119
|
generateBoxId,
|
|
118
120
|
isContainedInWorkspace,
|
|
119
121
|
isResolvedBranch,
|
|
@@ -126,6 +128,7 @@ import {
|
|
|
126
128
|
parseReplaceRules,
|
|
127
129
|
parseReplacements,
|
|
128
130
|
pickPrimaryAgent,
|
|
131
|
+
providerWarning,
|
|
129
132
|
pushDestructiveReason,
|
|
130
133
|
realpathSafe,
|
|
131
134
|
remoteTrackingRef,
|
|
@@ -133,9 +136,10 @@ import {
|
|
|
133
136
|
resolveHostPath,
|
|
134
137
|
resolveLandDest,
|
|
135
138
|
resolveRemote,
|
|
139
|
+
rewriteLoopbackInJsonFile,
|
|
136
140
|
sanitizeGitArgs,
|
|
137
141
|
upstreamRef
|
|
138
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-6ND54VG2.js";
|
|
139
143
|
import {
|
|
140
144
|
BUILT_IN_DEFAULTS,
|
|
141
145
|
GLOBAL_CONFIG_FILE,
|
|
@@ -152,7 +156,7 @@ import {
|
|
|
152
156
|
setConfigValue,
|
|
153
157
|
withFileLock,
|
|
154
158
|
writeToolGrant
|
|
155
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-DAMV47HM.js";
|
|
156
160
|
import {
|
|
157
161
|
index,
|
|
158
162
|
integer as integer2,
|
|
@@ -197,9 +201,11 @@ import { homedir as homedir22 } from "os";
|
|
|
197
201
|
import { dirname as dirname24, join as join43 } from "path";
|
|
198
202
|
import { existsSync as existsSync6, mkdirSync as mkdirSync2, renameSync, statSync } from "fs";
|
|
199
203
|
import { basename as basename22, dirname as dirname4, posix, resolve } from "path";
|
|
204
|
+
import { readdir as readdir22, readFile as readFile24, rm as rm23 } from "fs/promises";
|
|
205
|
+
import { join as join52, resolve as resolve2 } from "path";
|
|
200
206
|
import { mkdir as mkdir6, stat as stat5 } from "fs/promises";
|
|
201
207
|
import { homedir as homedir7 } from "os";
|
|
202
|
-
import { basename as basename42, join as
|
|
208
|
+
import { basename as basename42, join as join10, resolve as resolve5 } from "path";
|
|
203
209
|
|
|
204
210
|
// ../../packages/ctl/dist/index.js
|
|
205
211
|
var import_yaml = __toESM(require_dist(), 1);
|
|
@@ -1374,11 +1380,11 @@ var PendingPrompts = class {
|
|
|
1374
1380
|
this.autoApprove?.audit(boxId, params, reason);
|
|
1375
1381
|
}
|
|
1376
1382
|
add(boxId, ev) {
|
|
1377
|
-
return new Promise((
|
|
1383
|
+
return new Promise((resolve6) => {
|
|
1378
1384
|
this.entries.set(ev.id, {
|
|
1379
1385
|
ev,
|
|
1380
1386
|
boxId,
|
|
1381
|
-
resolve:
|
|
1387
|
+
resolve: resolve6,
|
|
1382
1388
|
createdAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
1383
1389
|
});
|
|
1384
1390
|
this.onChange?.();
|
|
@@ -2157,7 +2163,7 @@ async function handleRemoteBoxesRequest(req, deps) {
|
|
|
2157
2163
|
async function reapLocalBoxState(boxId, sandboxId, log) {
|
|
2158
2164
|
let removed = false;
|
|
2159
2165
|
try {
|
|
2160
|
-
const { mutateState, readState: readState3, boxSshDirForProvider: boxSshDirForProvider2 } = await import("./dist-
|
|
2166
|
+
const { mutateState, readState: readState3, boxSshDirForProvider: boxSshDirForProvider2 } = await import("./dist-O53WU2K6.js");
|
|
2161
2167
|
const state = await readState3();
|
|
2162
2168
|
const record = state.boxes.find((b) => b.id === boxId);
|
|
2163
2169
|
if (record) {
|
|
@@ -2638,7 +2644,7 @@ function ghRunContext(workspacePath, originUrl, args) {
|
|
|
2638
2644
|
}
|
|
2639
2645
|
function runHostGh(args, cwd, opts = {}) {
|
|
2640
2646
|
const timeoutMs = opts.timeoutMs ?? GH_RPC_TIMEOUT_MS;
|
|
2641
|
-
return new Promise((
|
|
2647
|
+
return new Promise((resolve6) => {
|
|
2642
2648
|
const child = spawn("gh", args, {
|
|
2643
2649
|
cwd,
|
|
2644
2650
|
// GH_HOST is what points gh at a GitHub Enterprise Server instance; without
|
|
@@ -2652,7 +2658,7 @@ function runHostGh(args, cwd, opts = {}) {
|
|
|
2652
2658
|
const finish = (exitCode) => {
|
|
2653
2659
|
if (settled) return;
|
|
2654
2660
|
settled = true;
|
|
2655
|
-
|
|
2661
|
+
resolve6({ exitCode, stdout, stderr });
|
|
2656
2662
|
};
|
|
2657
2663
|
const timer = setTimeout(() => {
|
|
2658
2664
|
child.kill("SIGTERM");
|
|
@@ -2716,7 +2722,7 @@ async function checkoutGuards(hostMainRepo, registeredBranches) {
|
|
|
2716
2722
|
return null;
|
|
2717
2723
|
}
|
|
2718
2724
|
function runGitProbe(args) {
|
|
2719
|
-
return new Promise((
|
|
2725
|
+
return new Promise((resolve6) => {
|
|
2720
2726
|
const child = spawn("git", args, { env: process.env, stdio: ["ignore", "pipe", "pipe"] });
|
|
2721
2727
|
let stdout = "";
|
|
2722
2728
|
let stderr = "";
|
|
@@ -2727,10 +2733,10 @@ function runGitProbe(args) {
|
|
|
2727
2733
|
stderr += c.toString("utf8");
|
|
2728
2734
|
});
|
|
2729
2735
|
child.on("error", (err) => {
|
|
2730
|
-
|
|
2736
|
+
resolve6({ exitCode: 127, stdout, stderr: stderr + String(err.message ?? err) });
|
|
2731
2737
|
});
|
|
2732
2738
|
child.on("close", (code) => {
|
|
2733
|
-
|
|
2739
|
+
resolve6({ exitCode: code ?? -1, stdout, stderr });
|
|
2734
2740
|
});
|
|
2735
2741
|
});
|
|
2736
2742
|
}
|
|
@@ -2817,8 +2823,8 @@ async function boxPushLineStat(exec, opts = {}) {
|
|
|
2817
2823
|
try {
|
|
2818
2824
|
return await Promise.race([
|
|
2819
2825
|
exec(args),
|
|
2820
|
-
new Promise((
|
|
2821
|
-
const t = setTimeout(() =>
|
|
2826
|
+
new Promise((resolve6) => {
|
|
2827
|
+
const t = setTimeout(() => resolve6(void 0), left);
|
|
2822
2828
|
t.unref?.();
|
|
2823
2829
|
})
|
|
2824
2830
|
]);
|
|
@@ -5504,15 +5510,15 @@ async function captureCpCacheEntry(absPath, prefix, deps, requestPath = absPath)
|
|
|
5504
5510
|
}
|
|
5505
5511
|
}
|
|
5506
5512
|
function run(bin, args, timeout) {
|
|
5507
|
-
return new Promise((
|
|
5508
|
-
execFile(bin, args, { timeout }, (err) => err ? reject(err) :
|
|
5513
|
+
return new Promise((resolve6, reject) => {
|
|
5514
|
+
execFile(bin, args, { timeout }, (err) => err ? reject(err) : resolve6());
|
|
5509
5515
|
});
|
|
5510
5516
|
}
|
|
5511
5517
|
function putBlob(url, filePath, token) {
|
|
5512
5518
|
const target = new URL(url);
|
|
5513
5519
|
const isHttps = target.protocol === "https:";
|
|
5514
5520
|
const transport = isHttps ? httpsRequest : httpRequest;
|
|
5515
|
-
return new Promise((
|
|
5521
|
+
return new Promise((resolve6, reject) => {
|
|
5516
5522
|
const req = transport(
|
|
5517
5523
|
{
|
|
5518
5524
|
host: target.hostname,
|
|
@@ -5528,7 +5534,7 @@ function putBlob(url, filePath, token) {
|
|
|
5528
5534
|
(res) => {
|
|
5529
5535
|
res.resume();
|
|
5530
5536
|
const status = res.statusCode ?? 0;
|
|
5531
|
-
if (status >= 200 && status < 300)
|
|
5537
|
+
if (status >= 200 && status < 300) resolve6();
|
|
5532
5538
|
else reject(new Error(`custody blob PUT \u2192 ${String(status)}`));
|
|
5533
5539
|
}
|
|
5534
5540
|
);
|
|
@@ -5545,7 +5551,7 @@ function putJson(url, body, token) {
|
|
|
5545
5551
|
const isHttps = target.protocol === "https:";
|
|
5546
5552
|
const transport = isHttps ? httpsRequest : httpRequest;
|
|
5547
5553
|
const payload = JSON.stringify(body);
|
|
5548
|
-
return new Promise((
|
|
5554
|
+
return new Promise((resolve6, reject) => {
|
|
5549
5555
|
const req = transport(
|
|
5550
5556
|
{
|
|
5551
5557
|
host: target.hostname,
|
|
@@ -5562,7 +5568,7 @@ function putJson(url, body, token) {
|
|
|
5562
5568
|
(res) => {
|
|
5563
5569
|
res.resume();
|
|
5564
5570
|
const status = res.statusCode ?? 0;
|
|
5565
|
-
if (status >= 200 && status < 300)
|
|
5571
|
+
if (status >= 200 && status < 300) resolve6();
|
|
5566
5572
|
else reject(new Error(`custody PUT \u2192 ${String(status)}`));
|
|
5567
5573
|
}
|
|
5568
5574
|
);
|
|
@@ -5578,7 +5584,7 @@ function putJson(url, body, token) {
|
|
|
5578
5584
|
var HOST_EXEC_DEFAULT_TIMEOUT_MS = 12e4;
|
|
5579
5585
|
var READY_CACHE_TTL_MS = 6e4;
|
|
5580
5586
|
function runHostBinary(bin, argv, cwd, timeoutMs = HOST_EXEC_DEFAULT_TIMEOUT_MS) {
|
|
5581
|
-
return new Promise((
|
|
5587
|
+
return new Promise((resolve6) => {
|
|
5582
5588
|
const child = spawn3(bin, [...argv], {
|
|
5583
5589
|
cwd,
|
|
5584
5590
|
env: process.env,
|
|
@@ -5590,7 +5596,7 @@ function runHostBinary(bin, argv, cwd, timeoutMs = HOST_EXEC_DEFAULT_TIMEOUT_MS)
|
|
|
5590
5596
|
const finish = (exitCode) => {
|
|
5591
5597
|
if (settled) return;
|
|
5592
5598
|
settled = true;
|
|
5593
|
-
|
|
5599
|
+
resolve6({ exitCode, stdout, stderr });
|
|
5594
5600
|
};
|
|
5595
5601
|
const timer = setTimeout(() => {
|
|
5596
5602
|
child.kill("SIGTERM");
|
|
@@ -7005,8 +7011,8 @@ var HostActionQueue = class {
|
|
|
7005
7011
|
params,
|
|
7006
7012
|
createdAt: new Date(this.now()).toISOString()
|
|
7007
7013
|
};
|
|
7008
|
-
return new Promise((
|
|
7009
|
-
this.map.set(id, { action, resolve:
|
|
7014
|
+
return new Promise((resolve6) => {
|
|
7015
|
+
this.map.set(id, { action, resolve: resolve6, delivered: false });
|
|
7010
7016
|
});
|
|
7011
7017
|
}
|
|
7012
7018
|
/**
|
|
@@ -7105,12 +7111,12 @@ var HostReachQueue = class {
|
|
|
7105
7111
|
createdAt: new Date(this.now()).toISOString(),
|
|
7106
7112
|
...opts.cachePrefix ? { cachePrefix: opts.cachePrefix } : {}
|
|
7107
7113
|
};
|
|
7108
|
-
return new Promise((
|
|
7109
|
-
const pending = { action, settle:
|
|
7114
|
+
return new Promise((resolve6) => {
|
|
7115
|
+
const pending = { action, settle: resolve6, delivered: false };
|
|
7110
7116
|
pending.timer = setTimeout(() => {
|
|
7111
7117
|
if (this.map.get(id) === pending && !pending.delivered) {
|
|
7112
7118
|
this.map.delete(id);
|
|
7113
|
-
|
|
7119
|
+
resolve6({ kind: "unreachable", reason: "never-connected" });
|
|
7114
7120
|
}
|
|
7115
7121
|
}, this.graceMs);
|
|
7116
7122
|
pending.timer.unref?.();
|
|
@@ -7132,13 +7138,13 @@ var HostReachQueue = class {
|
|
|
7132
7138
|
if (pollerId !== void 0) this.pollerSeen.set(pollerId, this.lastPollAtMs);
|
|
7133
7139
|
const ready = this.takeUndelivered(pollerId);
|
|
7134
7140
|
if (ready.length > 0) return Promise.resolve(ready);
|
|
7135
|
-
return new Promise((
|
|
7141
|
+
return new Promise((resolve6) => {
|
|
7136
7142
|
const waiter = {
|
|
7137
|
-
resolve:
|
|
7143
|
+
resolve: resolve6,
|
|
7138
7144
|
pollerId,
|
|
7139
7145
|
timer: setTimeout(() => {
|
|
7140
7146
|
this.waiters.delete(waiter);
|
|
7141
|
-
|
|
7147
|
+
resolve6([]);
|
|
7142
7148
|
}, timeoutMs)
|
|
7143
7149
|
};
|
|
7144
7150
|
this.waiters.add(waiter);
|
|
@@ -7459,15 +7465,15 @@ ${age}
|
|
|
7459
7465
|
}
|
|
7460
7466
|
}
|
|
7461
7467
|
function run2(bin, args, timeout) {
|
|
7462
|
-
return new Promise((
|
|
7463
|
-
execFile2(bin, args, { timeout }, (err) => err ? reject(err) :
|
|
7468
|
+
return new Promise((resolve6, reject) => {
|
|
7469
|
+
execFile2(bin, args, { timeout }, (err) => err ? reject(err) : resolve6());
|
|
7464
7470
|
});
|
|
7465
7471
|
}
|
|
7466
7472
|
function runCapture(bin, args, cwd, timeout) {
|
|
7467
|
-
return new Promise((
|
|
7473
|
+
return new Promise((resolve6) => {
|
|
7468
7474
|
execFile2(bin, args, { cwd, timeout }, (err, stdout, stderr) => {
|
|
7469
7475
|
const code = err && typeof err.code === "number" ? err.code : err ? 1 : 0;
|
|
7470
|
-
|
|
7476
|
+
resolve6({ exitCode: code, stdout: stdout || "", stderr: stderr || "" });
|
|
7471
7477
|
});
|
|
7472
7478
|
});
|
|
7473
7479
|
}
|
|
@@ -7600,13 +7606,13 @@ async function stageOutboxTar(data) {
|
|
|
7600
7606
|
return { dir, tarPath };
|
|
7601
7607
|
}
|
|
7602
7608
|
function run3(bin, args, timeout) {
|
|
7603
|
-
return new Promise((
|
|
7604
|
-
execFile3(bin, args, { timeout }, (err) => err ? reject(err) :
|
|
7609
|
+
return new Promise((resolve6, reject) => {
|
|
7610
|
+
execFile3(bin, args, { timeout }, (err) => err ? reject(err) : resolve6());
|
|
7605
7611
|
});
|
|
7606
7612
|
}
|
|
7607
7613
|
function runNode(argv, cwd, timeout) {
|
|
7608
|
-
return new Promise((
|
|
7609
|
-
execFile3(process.execPath, argv, { cwd, timeout }, (err) => err ? reject(err) :
|
|
7614
|
+
return new Promise((resolve6, reject) => {
|
|
7615
|
+
execFile3(process.execPath, argv, { cwd, timeout }, (err) => err ? reject(err) : resolve6());
|
|
7610
7616
|
});
|
|
7611
7617
|
}
|
|
7612
7618
|
var HubNotifier = class {
|
|
@@ -7858,7 +7864,7 @@ function send(res, status, body, contentType = "application/json") {
|
|
|
7858
7864
|
}
|
|
7859
7865
|
}
|
|
7860
7866
|
async function readJsonBody(req) {
|
|
7861
|
-
return new Promise((
|
|
7867
|
+
return new Promise((resolve6, reject) => {
|
|
7862
7868
|
let total = 0;
|
|
7863
7869
|
const chunks = [];
|
|
7864
7870
|
req.on("data", (chunk) => {
|
|
@@ -7873,11 +7879,11 @@ async function readJsonBody(req) {
|
|
|
7873
7879
|
req.on("end", () => {
|
|
7874
7880
|
const text3 = Buffer.concat(chunks).toString("utf8");
|
|
7875
7881
|
if (text3.length === 0) {
|
|
7876
|
-
|
|
7882
|
+
resolve6({});
|
|
7877
7883
|
return;
|
|
7878
7884
|
}
|
|
7879
7885
|
try {
|
|
7880
|
-
|
|
7886
|
+
resolve6(JSON.parse(text3));
|
|
7881
7887
|
} catch (err) {
|
|
7882
7888
|
reject(err instanceof Error ? err : new Error(String(err)));
|
|
7883
7889
|
}
|
|
@@ -7886,7 +7892,7 @@ async function readJsonBody(req) {
|
|
|
7886
7892
|
});
|
|
7887
7893
|
}
|
|
7888
7894
|
async function readRawBody(req, maxBytes = MAX_BODY_BYTES) {
|
|
7889
|
-
return new Promise((
|
|
7895
|
+
return new Promise((resolve6, reject) => {
|
|
7890
7896
|
let total = 0;
|
|
7891
7897
|
const chunks = [];
|
|
7892
7898
|
req.on("data", (chunk) => {
|
|
@@ -7898,7 +7904,7 @@ async function readRawBody(req, maxBytes = MAX_BODY_BYTES) {
|
|
|
7898
7904
|
}
|
|
7899
7905
|
chunks.push(chunk);
|
|
7900
7906
|
});
|
|
7901
|
-
req.on("end", () =>
|
|
7907
|
+
req.on("end", () => resolve6(Buffer.concat(chunks).toString("utf8")));
|
|
7902
7908
|
req.on("error", reject);
|
|
7903
7909
|
});
|
|
7904
7910
|
}
|
|
@@ -9157,10 +9163,10 @@ data: {"ts":"${(/* @__PURE__ */ new Date()).toISOString()}"}
|
|
|
9157
9163
|
close: async () => {
|
|
9158
9164
|
if (pollers) await pollers.stopAll();
|
|
9159
9165
|
hostReach?.stop();
|
|
9160
|
-
await new Promise((
|
|
9166
|
+
await new Promise((resolve6, reject) => {
|
|
9161
9167
|
server.close((err) => {
|
|
9162
9168
|
if (err) reject(err);
|
|
9163
|
-
else
|
|
9169
|
+
else resolve6();
|
|
9164
9170
|
});
|
|
9165
9171
|
});
|
|
9166
9172
|
}
|
|
@@ -9591,10 +9597,10 @@ function isOpenableUrl(value) {
|
|
|
9591
9597
|
return url.protocol === "http:" || url.protocol === "https:";
|
|
9592
9598
|
}
|
|
9593
9599
|
function runHostCommand(argv, timeoutMs = GIT_RPC_TIMEOUT_MS, cwd) {
|
|
9594
|
-
return new Promise((
|
|
9600
|
+
return new Promise((resolve6) => {
|
|
9595
9601
|
const [cmd, ...rest] = argv;
|
|
9596
9602
|
if (!cmd) {
|
|
9597
|
-
|
|
9603
|
+
resolve6({ exitCode: 64, stdout: "", stderr: "empty command" });
|
|
9598
9604
|
return;
|
|
9599
9605
|
}
|
|
9600
9606
|
const child = spawn22(cmd, rest, {
|
|
@@ -9611,7 +9617,7 @@ function runHostCommand(argv, timeoutMs = GIT_RPC_TIMEOUT_MS, cwd) {
|
|
|
9611
9617
|
const finish = (exitCode) => {
|
|
9612
9618
|
if (settled) return;
|
|
9613
9619
|
settled = true;
|
|
9614
|
-
|
|
9620
|
+
resolve6({ exitCode, stdout, stderr });
|
|
9615
9621
|
};
|
|
9616
9622
|
const timer = setTimeout(() => {
|
|
9617
9623
|
child.kill("SIGTERM");
|
|
@@ -9640,11 +9646,11 @@ relay: command timed out after ${String(timeoutMs)}ms
|
|
|
9640
9646
|
async function startRelayServer(opts) {
|
|
9641
9647
|
const handle = createRelayServer(opts);
|
|
9642
9648
|
if (handle.store instanceof WriteThroughStore) await handle.store.hydrate();
|
|
9643
|
-
await new Promise((
|
|
9649
|
+
await new Promise((resolve6, reject) => {
|
|
9644
9650
|
handle.server.once("error", reject);
|
|
9645
9651
|
handle.server.listen(opts.port, opts.host ?? "0.0.0.0", () => {
|
|
9646
9652
|
handle.server.removeListener("error", reject);
|
|
9647
|
-
|
|
9653
|
+
resolve6();
|
|
9648
9654
|
});
|
|
9649
9655
|
});
|
|
9650
9656
|
return handle;
|
|
@@ -9805,7 +9811,7 @@ function toEpoch(iso) {
|
|
|
9805
9811
|
var INSPECT_TIMEOUT_MS = 15e3;
|
|
9806
9812
|
var PAUSE_TIMEOUT_MS = 3e4;
|
|
9807
9813
|
function runDocker(args, timeoutMs) {
|
|
9808
|
-
return new Promise((
|
|
9814
|
+
return new Promise((resolve6) => {
|
|
9809
9815
|
const child = spawn32("docker", args, { stdio: ["ignore", "pipe", "pipe"] });
|
|
9810
9816
|
let stdout = "";
|
|
9811
9817
|
let stderr = "";
|
|
@@ -9813,7 +9819,7 @@ function runDocker(args, timeoutMs) {
|
|
|
9813
9819
|
const finish = (exitCode) => {
|
|
9814
9820
|
if (settled) return;
|
|
9815
9821
|
settled = true;
|
|
9816
|
-
|
|
9822
|
+
resolve6({ exitCode, stdout, stderr });
|
|
9817
9823
|
};
|
|
9818
9824
|
const timer = setTimeout(() => {
|
|
9819
9825
|
child.kill("SIGTERM");
|
|
@@ -10460,7 +10466,7 @@ var HostReachPoller = class {
|
|
|
10460
10466
|
const url = new URL(`${base}/admin/hostreach/events?poller=${this.pollerId}`);
|
|
10461
10467
|
const isHttps = url.protocol === "https:";
|
|
10462
10468
|
const transport = isHttps ? httpsRequest2 : httpRequest2;
|
|
10463
|
-
return new Promise((
|
|
10469
|
+
return new Promise((resolve6) => {
|
|
10464
10470
|
let settled = false;
|
|
10465
10471
|
const finish = (outcome) => {
|
|
10466
10472
|
if (settled) return;
|
|
@@ -10468,7 +10474,7 @@ var HostReachPoller = class {
|
|
|
10468
10474
|
clearTimeout(handshake);
|
|
10469
10475
|
this.activeStream = null;
|
|
10470
10476
|
req.destroy();
|
|
10471
|
-
|
|
10477
|
+
resolve6(outcome);
|
|
10472
10478
|
};
|
|
10473
10479
|
const handshake = setTimeout(() => finish("unusable"), SSE_HANDSHAKE_MS);
|
|
10474
10480
|
handshake.unref?.();
|
|
@@ -10632,7 +10638,7 @@ var HostReachPoller = class {
|
|
|
10632
10638
|
headers["Content-Type"] = "application/json";
|
|
10633
10639
|
headers["Content-Length"] = Buffer.byteLength(payload).toString();
|
|
10634
10640
|
}
|
|
10635
|
-
return new Promise((
|
|
10641
|
+
return new Promise((resolve6, reject) => {
|
|
10636
10642
|
const req = transport(
|
|
10637
10643
|
{
|
|
10638
10644
|
host: url.hostname,
|
|
@@ -10647,7 +10653,7 @@ var HostReachPoller = class {
|
|
|
10647
10653
|
res.on("data", (chunk) => chunks.push(chunk));
|
|
10648
10654
|
res.on(
|
|
10649
10655
|
"end",
|
|
10650
|
-
() =>
|
|
10656
|
+
() => resolve6({ status: res.statusCode ?? 0, text: Buffer.concat(chunks).toString("utf8") })
|
|
10651
10657
|
);
|
|
10652
10658
|
res.on("error", reject);
|
|
10653
10659
|
}
|
|
@@ -10712,7 +10718,7 @@ async function drainCpOutbox(deps) {
|
|
|
10712
10718
|
}
|
|
10713
10719
|
}
|
|
10714
10720
|
function getJson(url, token) {
|
|
10715
|
-
return new Promise((
|
|
10721
|
+
return new Promise((resolve6, reject) => {
|
|
10716
10722
|
const target = new URL(url);
|
|
10717
10723
|
const isHttps = target.protocol === "https:";
|
|
10718
10724
|
const req = (isHttps ? httpsRequest3 : httpRequest3)(
|
|
@@ -10735,7 +10741,7 @@ function getJson(url, token) {
|
|
|
10735
10741
|
return;
|
|
10736
10742
|
}
|
|
10737
10743
|
try {
|
|
10738
|
-
|
|
10744
|
+
resolve6(text3.length > 0 ? JSON.parse(text3) : {});
|
|
10739
10745
|
} catch (err) {
|
|
10740
10746
|
reject(err instanceof Error ? err : new Error(String(err)));
|
|
10741
10747
|
}
|
|
@@ -10751,7 +10757,7 @@ function getJson(url, token) {
|
|
|
10751
10757
|
});
|
|
10752
10758
|
}
|
|
10753
10759
|
function getStream(url, token) {
|
|
10754
|
-
return new Promise((
|
|
10760
|
+
return new Promise((resolve6, reject) => {
|
|
10755
10761
|
const target = new URL(url);
|
|
10756
10762
|
const isHttps = target.protocol === "https:";
|
|
10757
10763
|
const req = (isHttps ? httpsRequest3 : httpRequest3)(
|
|
@@ -10770,7 +10776,7 @@ function getStream(url, token) {
|
|
|
10770
10776
|
reject(new Error(`custody blob GET \u2192 ${String(status)}`));
|
|
10771
10777
|
return;
|
|
10772
10778
|
}
|
|
10773
|
-
|
|
10779
|
+
resolve6(res);
|
|
10774
10780
|
}
|
|
10775
10781
|
);
|
|
10776
10782
|
req.on("error", reject);
|
|
@@ -10782,7 +10788,7 @@ function getStream(url, token) {
|
|
|
10782
10788
|
});
|
|
10783
10789
|
}
|
|
10784
10790
|
function del(url, token) {
|
|
10785
|
-
return new Promise((
|
|
10791
|
+
return new Promise((resolve6, reject) => {
|
|
10786
10792
|
const target = new URL(url);
|
|
10787
10793
|
const isHttps = target.protocol === "https:";
|
|
10788
10794
|
const req = (isHttps ? httpsRequest3 : httpRequest3)(
|
|
@@ -10797,7 +10803,7 @@ function del(url, token) {
|
|
|
10797
10803
|
(res) => {
|
|
10798
10804
|
res.resume();
|
|
10799
10805
|
const status = res.statusCode ?? 0;
|
|
10800
|
-
if (status >= 200 && status < 300)
|
|
10806
|
+
if (status >= 200 && status < 300) resolve6();
|
|
10801
10807
|
else reject(new Error(`outbox DELETE \u2192 ${String(status)}`));
|
|
10802
10808
|
}
|
|
10803
10809
|
);
|
|
@@ -11082,37 +11088,41 @@ async function configureManagerStoreFromConfig(opts = {}) {
|
|
|
11082
11088
|
// ../../packages/sandbox-docker/dist/index.js
|
|
11083
11089
|
import { randomBytes as randomBytes5 } from "crypto";
|
|
11084
11090
|
import { existsSync as existsSync23 } from "fs";
|
|
11085
|
-
import { readFile as
|
|
11091
|
+
import { readFile as readFile33, stat as stat23 } from "fs/promises";
|
|
11086
11092
|
import { homedir as homedir32, userInfo } from "os";
|
|
11087
|
-
import { join as
|
|
11093
|
+
import { join as join6 } from "path";
|
|
11088
11094
|
import { connect } from "net";
|
|
11089
|
-
import { mkdir as mkdir32, readdir as
|
|
11095
|
+
import { mkdir as mkdir32, readdir as readdir32, rm as rm33, stat as stat33 } from "fs/promises";
|
|
11090
11096
|
import { homedir as homedir4, platform } from "os";
|
|
11091
|
-
import { join as
|
|
11092
|
-
import { mkdir as mkdir42, mkdtemp as mkdtemp22, readFile as
|
|
11097
|
+
import { join as join7, resolve as resolve3 } from "path";
|
|
11098
|
+
import { mkdir as mkdir42, mkdtemp as mkdtemp22, readFile as readFile42, readdir as readdir42, rm as rm43, writeFile as writeFile6 } from "fs/promises";
|
|
11093
11099
|
import { homedir as homedir5, tmpdir as tmpdir22 } from "os";
|
|
11094
|
-
import { basename as basename32, join as
|
|
11100
|
+
import { basename as basename32, join as join8 } from "path";
|
|
11095
11101
|
import { stat as stat42 } from "fs/promises";
|
|
11096
11102
|
import { spawn as spawn4 } from "child_process";
|
|
11097
11103
|
import { randomBytes as randomBytes22 } from "crypto";
|
|
11098
11104
|
import { existsSync as existsSync33, openSync as openSync2 } from "fs";
|
|
11099
|
-
import { cp, mkdir as mkdir52, readFile as
|
|
11105
|
+
import { cp, mkdir as mkdir52, readFile as readFile52, readdir as readdir5, rename as rename7, rm as rm52, unlink as unlink2, writeFile as writeFile22 } from "fs/promises";
|
|
11100
11106
|
import { request as httpRequest4 } from "http";
|
|
11101
11107
|
import { createRequire as createRequire2 } from "module";
|
|
11102
11108
|
import { homedir as homedir6 } from "os";
|
|
11103
|
-
import { dirname as dirname32, join as
|
|
11109
|
+
import { dirname as dirname32, join as join9, resolve as resolve4, sep as sep2 } from "path";
|
|
11104
11110
|
import { setTimeout as delay2 } from "timers/promises";
|
|
11105
11111
|
import { fileURLToPath } from "url";
|
|
11106
|
-
import { readdir as
|
|
11112
|
+
import { readdir as readdir6, rm as rm62, stat as stat6 } from "fs/promises";
|
|
11113
|
+
import { join as join12 } from "path";
|
|
11107
11114
|
import { join as join11 } from "path";
|
|
11108
|
-
import { join as join10 } from "path";
|
|
11109
11115
|
import { homedir as homedir8 } from "os";
|
|
11110
|
-
import { join as
|
|
11111
|
-
import { mkdir as mkdir7 } from "fs/promises";
|
|
11112
|
-
import {
|
|
11113
|
-
import {
|
|
11116
|
+
import { join as join13 } from "path";
|
|
11117
|
+
import { mkdir as mkdir7, mkdtemp as mkdtemp32, rm as rm7, writeFile as writeFile32 } from "fs/promises";
|
|
11118
|
+
import { connect as connect2 } from "net";
|
|
11119
|
+
import { networkInterfaces, tmpdir as tmpdir33 } from "os";
|
|
11120
|
+
import { dirname as dirname42, join as join14 } from "path";
|
|
11121
|
+
import { mkdir as mkdir8 } from "fs/promises";
|
|
11122
|
+
import { dirname as dirname5, join as join15 } from "path";
|
|
11123
|
+
import { mkdir as mkdir9, unlink as unlink22, writeFile as writeFile42, readFile as readFile62 } from "fs/promises";
|
|
11114
11124
|
import { homedir as homedir9 } from "os";
|
|
11115
|
-
import { dirname as
|
|
11125
|
+
import { dirname as dirname6, join as join16 } from "path";
|
|
11116
11126
|
var MODULES = /* @__PURE__ */ new Map();
|
|
11117
11127
|
function registerAgentSyncModule(mod) {
|
|
11118
11128
|
MODULES.set(mod.id, mod);
|
|
@@ -11163,6 +11173,9 @@ function tmuxConfigSubcommands(sessionName) {
|
|
|
11163
11173
|
["set", "-t", sessionName, "status", "off"]
|
|
11164
11174
|
];
|
|
11165
11175
|
}
|
|
11176
|
+
function tmuxSessionEnvArgs(env) {
|
|
11177
|
+
return Object.entries(env).flatMap(([k, v]) => ["-e", `${k}=${v}`]);
|
|
11178
|
+
}
|
|
11166
11179
|
function buildTmuxSessionArgs(sessionName) {
|
|
11167
11180
|
const out = [];
|
|
11168
11181
|
for (const sub of tmuxConfigSubcommands(sessionName)) {
|
|
@@ -11351,7 +11364,12 @@ ${String(result.stderr)}`
|
|
|
11351
11364
|
);
|
|
11352
11365
|
}
|
|
11353
11366
|
}
|
|
11354
|
-
|
|
11367
|
+
var MISSING_DOCKER_INIT_RE = /exec: "[^"]*docker-init": (?:executable file not found|stat [^"]*: no such file or directory)/;
|
|
11368
|
+
function isMissingDockerInit(output) {
|
|
11369
|
+
return MISSING_DOCKER_INIT_RE.test(output);
|
|
11370
|
+
}
|
|
11371
|
+
var MISSING_DOCKER_INIT_WARNING = "warning: docker engine has no docker-init; box runs without --init, so orphaned processes will not be reaped";
|
|
11372
|
+
function runBoxArgv(spec, opts = {}) {
|
|
11355
11373
|
const args = [
|
|
11356
11374
|
"run",
|
|
11357
11375
|
"-d",
|
|
@@ -11367,6 +11385,8 @@ async function runBox(spec) {
|
|
|
11367
11385
|
// need. Both are scoped to the outer box's namespaces — inner containers
|
|
11368
11386
|
// can't escape it. We still avoid --privileged for cloud portability.
|
|
11369
11387
|
"--cap-add=NET_ADMIN",
|
|
11388
|
+
// Inner dockerd bind-mounts /proc/<pid>/ns/net of a non-root container init, which needs PTRACE_MODE_READ.
|
|
11389
|
+
"--cap-add=SYS_PTRACE",
|
|
11370
11390
|
// /dev/fuse + SYS_ADMIN + apparmor:unconfined used to be required for the
|
|
11371
11391
|
// outer /workspace FUSE overlay. That overlay is gone, but they're still
|
|
11372
11392
|
// load-bearing for the *inner* dockerd's storage driver, which
|
|
@@ -11390,6 +11410,7 @@ async function runBox(spec) {
|
|
|
11390
11410
|
// on the macOS engines). Boxes use it to reach the host relay process.
|
|
11391
11411
|
"--add-host=host.docker.internal:host-gateway"
|
|
11392
11412
|
];
|
|
11413
|
+
if (opts.init !== false) args.push("--init");
|
|
11393
11414
|
if (process.env.AGENTBOX === "1") {
|
|
11394
11415
|
args.push("--user", "0");
|
|
11395
11416
|
}
|
|
@@ -11419,8 +11440,20 @@ async function runBox(spec) {
|
|
|
11419
11440
|
args.push("-e", `${k}=${val}`);
|
|
11420
11441
|
}
|
|
11421
11442
|
args.push(spec.image, "sleep", "infinity");
|
|
11422
|
-
|
|
11423
|
-
|
|
11443
|
+
return args;
|
|
11444
|
+
}
|
|
11445
|
+
async function runBox(spec) {
|
|
11446
|
+
try {
|
|
11447
|
+
const { stdout } = await execa("docker", runBoxArgv(spec));
|
|
11448
|
+
return stdout.trim();
|
|
11449
|
+
} catch (err) {
|
|
11450
|
+
const stderr = err.stderr;
|
|
11451
|
+
if (!isMissingDockerInit(typeof stderr === "string" ? stderr : String(err))) throw err;
|
|
11452
|
+
await execa("docker", ["rm", "-f", spec.name], { reject: false });
|
|
11453
|
+
spec.onLog?.(MISSING_DOCKER_INIT_WARNING);
|
|
11454
|
+
const { stdout } = await execa("docker", runBoxArgv(spec, { init: false }));
|
|
11455
|
+
return stdout.trim();
|
|
11456
|
+
}
|
|
11424
11457
|
}
|
|
11425
11458
|
async function dockerStorageDriver() {
|
|
11426
11459
|
const result = await execa("docker", ["info", "--format", "{{.Driver}}"], { reject: false });
|
|
@@ -12095,7 +12128,7 @@ var cachedEngine = null;
|
|
|
12095
12128
|
var engineOverride = null;
|
|
12096
12129
|
async function pinnedEngine() {
|
|
12097
12130
|
try {
|
|
12098
|
-
const { loadEffectiveConfig: loadEffectiveConfig2 } = await import("./dist-
|
|
12131
|
+
const { loadEffectiveConfig: loadEffectiveConfig2 } = await import("./dist-2PUSTW2W.js");
|
|
12099
12132
|
const loaded = await loadEffectiveConfig2(process.cwd());
|
|
12100
12133
|
const kind = loaded.effective.engine.kind;
|
|
12101
12134
|
return kind === "auto" ? null : kind;
|
|
@@ -12472,13 +12505,13 @@ async function copyOneEntry(container, entry) {
|
|
|
12472
12505
|
renameNeeded,
|
|
12473
12506
|
parentChainNeeded
|
|
12474
12507
|
} = plan;
|
|
12475
|
-
const
|
|
12508
|
+
const mkdir10 = await execa(
|
|
12476
12509
|
"docker",
|
|
12477
12510
|
["exec", "--user", "0:0", container, "mkdir", "-p", parentDir],
|
|
12478
12511
|
{ reject: false }
|
|
12479
12512
|
);
|
|
12480
|
-
if (
|
|
12481
|
-
throw new Error(`mkdir -p ${parentDir} failed: ${String(
|
|
12513
|
+
if (mkdir10.exitCode !== 0) {
|
|
12514
|
+
throw new Error(`mkdir -p ${parentDir} failed: ${String(mkdir10.stderr).slice(0, 300)}`);
|
|
12482
12515
|
}
|
|
12483
12516
|
if (!plan.isDir) {
|
|
12484
12517
|
const srcDir = dirname24(entry.absSrc);
|
|
@@ -12632,9 +12665,60 @@ async function chownGitBindParents(args) {
|
|
|
12632
12665
|
}
|
|
12633
12666
|
}
|
|
12634
12667
|
}
|
|
12668
|
+
async function guardWorktreeRegistrations(container, gitWorktreePaths, log) {
|
|
12669
|
+
const cfg = await execa(
|
|
12670
|
+
"docker",
|
|
12671
|
+
[
|
|
12672
|
+
"exec",
|
|
12673
|
+
"--user",
|
|
12674
|
+
"root",
|
|
12675
|
+
container,
|
|
12676
|
+
"git",
|
|
12677
|
+
"config",
|
|
12678
|
+
"--system",
|
|
12679
|
+
"gc.worktreePruneExpire",
|
|
12680
|
+
"never"
|
|
12681
|
+
],
|
|
12682
|
+
{ reject: false }
|
|
12683
|
+
);
|
|
12684
|
+
if (cfg.exitCode !== 0) {
|
|
12685
|
+
log(
|
|
12686
|
+
`could not set gc.worktreePruneExpire in-box (best-effort): ${(cfg.stderr || cfg.stdout).trim()}`
|
|
12687
|
+
);
|
|
12688
|
+
}
|
|
12689
|
+
for (const wt of gitWorktreePaths) {
|
|
12690
|
+
const lock = await execa(
|
|
12691
|
+
"docker",
|
|
12692
|
+
[
|
|
12693
|
+
"exec",
|
|
12694
|
+
"--user",
|
|
12695
|
+
"vscode",
|
|
12696
|
+
container,
|
|
12697
|
+
"git",
|
|
12698
|
+
"-C",
|
|
12699
|
+
wt,
|
|
12700
|
+
"worktree",
|
|
12701
|
+
"lock",
|
|
12702
|
+
"--reason",
|
|
12703
|
+
`agentbox box ${container}`,
|
|
12704
|
+
wt
|
|
12705
|
+
],
|
|
12706
|
+
{ reject: false }
|
|
12707
|
+
);
|
|
12708
|
+
const out = (lock.stderr || lock.stdout).trim();
|
|
12709
|
+
if (lock.exitCode !== 0 && !out.includes("already locked")) {
|
|
12710
|
+
log(`could not lock worktree ${wt} (best-effort): ${out}`);
|
|
12711
|
+
}
|
|
12712
|
+
}
|
|
12713
|
+
}
|
|
12635
12714
|
async function bindWorktrees(container, binds, onLog) {
|
|
12636
12715
|
const log = onLog ?? (() => {
|
|
12637
12716
|
});
|
|
12717
|
+
await guardWorktreeRegistrations(
|
|
12718
|
+
container,
|
|
12719
|
+
binds.map((b) => b.gitWorktreePath),
|
|
12720
|
+
log
|
|
12721
|
+
);
|
|
12638
12722
|
const ordered = [...binds].sort(
|
|
12639
12723
|
(a, b) => a.kind === "root" && b.kind !== "root" ? -1 : a.kind !== "root" && b.kind === "root" ? 1 : 0
|
|
12640
12724
|
);
|
|
@@ -12914,13 +12998,24 @@ async function seedWorkspaceFromDir(opts) {
|
|
|
12914
12998
|
log(`seeded /workspace from ${opts.hostSource}`);
|
|
12915
12999
|
}
|
|
12916
13000
|
async function removeInBoxWorktree(args) {
|
|
12917
|
-
const
|
|
12918
|
-
|
|
12919
|
-
|
|
12920
|
-
|
|
12921
|
-
|
|
12922
|
-
|
|
12923
|
-
|
|
13001
|
+
const adminRoot = join52(args.hostMainRepo, ".git", "worktrees");
|
|
13002
|
+
const want = resolve2(args.gitWorktreePath, ".git");
|
|
13003
|
+
let ids;
|
|
13004
|
+
try {
|
|
13005
|
+
ids = await readdir22(adminRoot);
|
|
13006
|
+
} catch {
|
|
13007
|
+
return;
|
|
13008
|
+
}
|
|
13009
|
+
for (const id of ids) {
|
|
13010
|
+
const adminDir = join52(adminRoot, id);
|
|
13011
|
+
let gitdir;
|
|
13012
|
+
try {
|
|
13013
|
+
gitdir = (await readFile24(join52(adminDir, "gitdir"), "utf8")).trim();
|
|
13014
|
+
} catch {
|
|
13015
|
+
continue;
|
|
13016
|
+
}
|
|
13017
|
+
if (resolve2(adminDir, gitdir) === want) await rm23(adminDir, { recursive: true, force: true });
|
|
13018
|
+
}
|
|
12924
13019
|
}
|
|
12925
13020
|
function ctParent(p) {
|
|
12926
13021
|
const i = p.lastIndexOf("/");
|
|
@@ -13459,7 +13554,7 @@ async function portlessServiceStatus(opts = {}) {
|
|
|
13459
13554
|
const installed = m[1]?.toLowerCase() === "yes";
|
|
13460
13555
|
if (!installed) return { installed };
|
|
13461
13556
|
const dir = /^\s*State directory:\s*(.+?)\s*$/im.exec(stdout)?.[1];
|
|
13462
|
-
if (dir && await serviceLogFailing(
|
|
13557
|
+
if (dir && await serviceLogFailing(join6(dir, "service.log"), opts.sinceMs)) {
|
|
13463
13558
|
return { installed, failing: true };
|
|
13464
13559
|
}
|
|
13465
13560
|
return { installed };
|
|
@@ -13472,7 +13567,7 @@ async function portlessServiceStatus(opts = {}) {
|
|
|
13472
13567
|
async function serviceLogFailing(path2, sinceMs) {
|
|
13473
13568
|
try {
|
|
13474
13569
|
const st = await stat23(path2);
|
|
13475
|
-
const text3 = await
|
|
13570
|
+
const text3 = await readFile33(path2, "utf8");
|
|
13476
13571
|
return serviceLogShowsConflict(text3.slice(-4e3), st.mtimeMs, Date.now(), sinceMs);
|
|
13477
13572
|
} catch {
|
|
13478
13573
|
return false;
|
|
@@ -13559,7 +13654,7 @@ async function ensurePortlessProxy(opts = {}) {
|
|
|
13559
13654
|
function portlessStateDirCandidates() {
|
|
13560
13655
|
const env = process.env["PORTLESS_STATE_DIR"];
|
|
13561
13656
|
if (env && env.trim().length > 0) return [env.trim()];
|
|
13562
|
-
return ["/tmp/portless",
|
|
13657
|
+
return ["/tmp/portless", join6(homedir32(), ".portless")];
|
|
13563
13658
|
}
|
|
13564
13659
|
function pidAlive(pid) {
|
|
13565
13660
|
if (!Number.isFinite(pid) || pid <= 0) return false;
|
|
@@ -13572,7 +13667,7 @@ function pidAlive(pid) {
|
|
|
13572
13667
|
}
|
|
13573
13668
|
async function readProxyPid(dir) {
|
|
13574
13669
|
try {
|
|
13575
|
-
const raw = await
|
|
13670
|
+
const raw = await readFile33(join6(dir, "proxy.pid"), "utf8");
|
|
13576
13671
|
const pid = Number.parseInt(raw.trim(), 10);
|
|
13577
13672
|
return Number.isFinite(pid) && pid > 0 ? pid : null;
|
|
13578
13673
|
} catch {
|
|
@@ -13592,17 +13687,17 @@ async function resolvePortlessHostStateDir(override) {
|
|
|
13592
13687
|
if (env && env.trim().length > 0) return env.trim();
|
|
13593
13688
|
const live = await findLivePortlessStateDir();
|
|
13594
13689
|
if (live) return live;
|
|
13595
|
-
const home =
|
|
13690
|
+
const home = join6(homedir32(), ".portless");
|
|
13596
13691
|
if (existsSync23(home)) return home;
|
|
13597
13692
|
if (existsSync23("/tmp/portless")) return "/tmp/portless";
|
|
13598
13693
|
return home;
|
|
13599
13694
|
}
|
|
13600
13695
|
async function tcpAccepts(port, timeoutMs = 400) {
|
|
13601
|
-
return new Promise((
|
|
13696
|
+
return new Promise((resolve6) => {
|
|
13602
13697
|
const socket = connect({ host: "127.0.0.1", port });
|
|
13603
13698
|
const done = (result) => {
|
|
13604
13699
|
socket.destroy();
|
|
13605
|
-
|
|
13700
|
+
resolve6(result);
|
|
13606
13701
|
};
|
|
13607
13702
|
socket.setTimeout(timeoutMs);
|
|
13608
13703
|
socket.once("connect", () => {
|
|
@@ -13642,25 +13737,25 @@ var EXCLUDE_DIRS = /* @__PURE__ */ new Set([
|
|
|
13642
13737
|
".cache",
|
|
13643
13738
|
".parcel-cache"
|
|
13644
13739
|
]);
|
|
13645
|
-
var SNAPSHOTS_ROOT =
|
|
13740
|
+
var SNAPSHOTS_ROOT = join7(homedir4(), ".agentbox", "snapshots");
|
|
13646
13741
|
function snapshotPathFor(box) {
|
|
13647
13742
|
const mnemonic = sanitizeMnemonic(box.name);
|
|
13648
13743
|
const n = box.projectIndex;
|
|
13649
13744
|
const segment = typeof n === "number" && Number.isFinite(n) && n > 0 ? `${box.id}-${String(n)}-${mnemonic}` : `${box.id}-${mnemonic}`;
|
|
13650
|
-
return
|
|
13745
|
+
return join7(SNAPSHOTS_ROOT, segment);
|
|
13651
13746
|
}
|
|
13652
13747
|
async function findExcludedDirs(root, excluded = EXCLUDE_DIRS) {
|
|
13653
13748
|
const matches = [];
|
|
13654
13749
|
const walk = async (dir) => {
|
|
13655
13750
|
let entries;
|
|
13656
13751
|
try {
|
|
13657
|
-
entries = await
|
|
13752
|
+
entries = await readdir32(dir, { withFileTypes: true });
|
|
13658
13753
|
} catch {
|
|
13659
13754
|
return;
|
|
13660
13755
|
}
|
|
13661
13756
|
for (const entry of entries) {
|
|
13662
13757
|
if (!entry.isDirectory()) continue;
|
|
13663
|
-
const abs =
|
|
13758
|
+
const abs = join7(dir, entry.name);
|
|
13664
13759
|
if (excluded.has(entry.name)) {
|
|
13665
13760
|
matches.push(abs);
|
|
13666
13761
|
continue;
|
|
@@ -13672,31 +13767,31 @@ async function findExcludedDirs(root, excluded = EXCLUDE_DIRS) {
|
|
|
13672
13767
|
return matches;
|
|
13673
13768
|
}
|
|
13674
13769
|
async function createSnapshot(opts) {
|
|
13675
|
-
const source =
|
|
13676
|
-
const destination =
|
|
13770
|
+
const source = resolve3(opts.source);
|
|
13771
|
+
const destination = resolve3(opts.destination);
|
|
13677
13772
|
const excluded = opts.excluded ?? EXCLUDE_DIRS;
|
|
13678
13773
|
await mkdir32(SNAPSHOTS_ROOT, { recursive: true });
|
|
13679
13774
|
const cpArgs = platform() === "darwin" ? ["-cR"] : ["-R"];
|
|
13680
13775
|
await execa("cp", [...cpArgs, `${source}/`, destination]);
|
|
13681
13776
|
const toPrune = await findExcludedDirs(destination, excluded);
|
|
13682
|
-
await Promise.all(toPrune.map((p) =>
|
|
13777
|
+
await Promise.all(toPrune.map((p) => rm33(p, { recursive: true, force: true })));
|
|
13683
13778
|
return { destination, prunedPaths: toPrune };
|
|
13684
13779
|
}
|
|
13685
|
-
var CHECKPOINTS_ROOT =
|
|
13780
|
+
var CHECKPOINTS_ROOT = join8(homedir5(), ".agentbox", "checkpoints");
|
|
13686
13781
|
var CHECKPOINT_IMAGE_PREFIX = "agentbox-ckpt-";
|
|
13687
13782
|
function checkpointImageTag(projectRoot, name) {
|
|
13688
13783
|
const mnemonic = sanitizeMnemonic(basename32(projectRoot));
|
|
13689
13784
|
return `${CHECKPOINT_IMAGE_PREFIX}${hashProjectPath(projectRoot)}_${mnemonic}:${name}`;
|
|
13690
13785
|
}
|
|
13691
13786
|
function projectCheckpointsDir(projectRoot) {
|
|
13692
|
-
return
|
|
13787
|
+
return join8(CHECKPOINTS_ROOT, projectDirSegment(projectRoot));
|
|
13693
13788
|
}
|
|
13694
13789
|
function checkpointDir(projectRoot, name) {
|
|
13695
|
-
return
|
|
13790
|
+
return join8(projectCheckpointsDir(projectRoot), name);
|
|
13696
13791
|
}
|
|
13697
13792
|
async function readManifest(dir) {
|
|
13698
13793
|
try {
|
|
13699
|
-
const raw = await
|
|
13794
|
+
const raw = await readFile42(join8(dir, "manifest.json"), "utf8");
|
|
13700
13795
|
const m = JSON.parse(raw);
|
|
13701
13796
|
if (m.schema !== 2 && m.schema !== 3) return null;
|
|
13702
13797
|
return m;
|
|
@@ -13707,13 +13802,13 @@ async function readManifest(dir) {
|
|
|
13707
13802
|
async function listCheckpointsInDir(root) {
|
|
13708
13803
|
let entries;
|
|
13709
13804
|
try {
|
|
13710
|
-
entries = (await
|
|
13805
|
+
entries = (await readdir42(root, { withFileTypes: true })).filter((e) => e.isDirectory()).map((e) => e.name);
|
|
13711
13806
|
} catch {
|
|
13712
13807
|
return [];
|
|
13713
13808
|
}
|
|
13714
13809
|
const out = [];
|
|
13715
13810
|
for (const name of entries) {
|
|
13716
|
-
const dir =
|
|
13811
|
+
const dir = join8(root, name);
|
|
13717
13812
|
const manifest = await readManifest(dir);
|
|
13718
13813
|
if (manifest) out.push({ name, dir, manifest });
|
|
13719
13814
|
}
|
|
@@ -13726,13 +13821,13 @@ async function listCheckpoints(projectRoot) {
|
|
|
13726
13821
|
async function listAllCheckpoints() {
|
|
13727
13822
|
let segments;
|
|
13728
13823
|
try {
|
|
13729
|
-
segments = (await
|
|
13824
|
+
segments = (await readdir42(CHECKPOINTS_ROOT, { withFileTypes: true })).filter((e) => e.isDirectory()).map((e) => e.name);
|
|
13730
13825
|
} catch {
|
|
13731
13826
|
return [];
|
|
13732
13827
|
}
|
|
13733
13828
|
const out = [];
|
|
13734
13829
|
for (const segment of segments) {
|
|
13735
|
-
const items = await listCheckpointsInDir(
|
|
13830
|
+
const items = await listCheckpointsInDir(join8(CHECKPOINTS_ROOT, segment));
|
|
13736
13831
|
if (items.length > 0) out.push({ segment, items });
|
|
13737
13832
|
}
|
|
13738
13833
|
return out;
|
|
@@ -13746,21 +13841,21 @@ async function resolveCheckpoint(projectRoot, ref) {
|
|
|
13746
13841
|
async function listAllCheckpointImages() {
|
|
13747
13842
|
let projectDirs;
|
|
13748
13843
|
try {
|
|
13749
|
-
projectDirs = (await
|
|
13844
|
+
projectDirs = (await readdir42(CHECKPOINTS_ROOT, { withFileTypes: true })).filter((e) => e.isDirectory()).map((e) => e.name);
|
|
13750
13845
|
} catch {
|
|
13751
13846
|
return [];
|
|
13752
13847
|
}
|
|
13753
13848
|
const out = /* @__PURE__ */ new Set();
|
|
13754
13849
|
for (const proj of projectDirs) {
|
|
13755
|
-
const projPath =
|
|
13850
|
+
const projPath = join8(CHECKPOINTS_ROOT, proj);
|
|
13756
13851
|
let names;
|
|
13757
13852
|
try {
|
|
13758
|
-
names = (await
|
|
13853
|
+
names = (await readdir42(projPath, { withFileTypes: true })).filter((e) => e.isDirectory()).map((e) => e.name);
|
|
13759
13854
|
} catch {
|
|
13760
13855
|
continue;
|
|
13761
13856
|
}
|
|
13762
13857
|
for (const name of names) {
|
|
13763
|
-
const manifest = await readManifest(
|
|
13858
|
+
const manifest = await readManifest(join8(projPath, name));
|
|
13764
13859
|
if (manifest) out.add(manifest.image);
|
|
13765
13860
|
}
|
|
13766
13861
|
}
|
|
@@ -13770,7 +13865,7 @@ async function removeCheckpoint(projectRoot, ref) {
|
|
|
13770
13865
|
const dir = checkpointDir(projectRoot, ref);
|
|
13771
13866
|
const manifest = await readManifest(dir);
|
|
13772
13867
|
if (!manifest) return false;
|
|
13773
|
-
await
|
|
13868
|
+
await rm43(dir, { recursive: true, force: true });
|
|
13774
13869
|
await removeImage(manifest.image, { force: true });
|
|
13775
13870
|
return true;
|
|
13776
13871
|
}
|
|
@@ -13936,7 +14031,7 @@ async function createCheckpoint(opts) {
|
|
|
13936
14031
|
cliVersion: stamp.cliVersion,
|
|
13937
14032
|
createdAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
13938
14033
|
};
|
|
13939
|
-
await writeFile6(
|
|
14034
|
+
await writeFile6(join8(dir, "manifest.json"), JSON.stringify(manifest, null, 2) + "\n", "utf8");
|
|
13940
14035
|
if (opts.setDefault) {
|
|
13941
14036
|
await setConfigValue("project", "box.defaultCheckpointDocker", name, opts.projectRoot);
|
|
13942
14037
|
log(`set project default checkpoint (box.defaultCheckpointDocker) -> ${name}`);
|
|
@@ -13951,9 +14046,9 @@ async function flattenImage(sourceTag, destTag, log) {
|
|
|
13951
14046
|
if (create.exitCode !== 0) {
|
|
13952
14047
|
throw new CheckpointError(`docker create for flatten failed`, create.stdout, create.stderr);
|
|
13953
14048
|
}
|
|
13954
|
-
const scratch = await mkdtemp22(
|
|
14049
|
+
const scratch = await mkdtemp22(join8(tmpdir22(), "agentbox-flatten-"));
|
|
13955
14050
|
try {
|
|
13956
|
-
const rootfsPath =
|
|
14051
|
+
const rootfsPath = join8(scratch, "rootfs.tar");
|
|
13957
14052
|
log(`exporting rootfs of ${sourceTag} to ${rootfsPath}`);
|
|
13958
14053
|
const exp = await execa("docker", ["export", "-o", rootfsPath, tmpName], { reject: false });
|
|
13959
14054
|
if (exp.exitCode !== 0) {
|
|
@@ -13966,11 +14061,11 @@ async function flattenImage(sourceTag, destTag, log) {
|
|
|
13966
14061
|
"ADD rootfs.tar /",
|
|
13967
14062
|
...renderConfigDirectives(cfg)
|
|
13968
14063
|
];
|
|
13969
|
-
await writeFile6(
|
|
14064
|
+
await writeFile6(join8(scratch, "Dockerfile"), lines.join("\n") + "\n", "utf8");
|
|
13970
14065
|
log(`building flattened ${destTag} from rootfs.tar (FROM scratch)`);
|
|
13971
14066
|
const build = await execa(
|
|
13972
14067
|
"docker",
|
|
13973
|
-
["build", "-t", destTag, "-f",
|
|
14068
|
+
["build", "-t", destTag, "-f", join8(scratch, "Dockerfile"), scratch],
|
|
13974
14069
|
{ reject: false }
|
|
13975
14070
|
);
|
|
13976
14071
|
if (build.exitCode !== 0) {
|
|
@@ -13978,7 +14073,7 @@ async function flattenImage(sourceTag, destTag, log) {
|
|
|
13978
14073
|
}
|
|
13979
14074
|
} finally {
|
|
13980
14075
|
await execa("docker", ["rm", "-f", tmpName], { reject: false });
|
|
13981
|
-
await
|
|
14076
|
+
await rm43(scratch, { recursive: true, force: true });
|
|
13982
14077
|
}
|
|
13983
14078
|
}
|
|
13984
14079
|
var CheckpointError = class extends Error {
|
|
@@ -14084,11 +14179,11 @@ async function ensureHomeOwnedByVscode(container) {
|
|
|
14084
14179
|
{ reject: false }
|
|
14085
14180
|
);
|
|
14086
14181
|
}
|
|
14087
|
-
var STATE_DIR22 =
|
|
14088
|
-
var PID_FILE =
|
|
14089
|
-
var HUB_PID_FILE =
|
|
14090
|
-
var LOG_FILE =
|
|
14091
|
-
var RELAY_HOME_DIR =
|
|
14182
|
+
var STATE_DIR22 = join9(homedir6(), ".agentbox");
|
|
14183
|
+
var PID_FILE = join9(STATE_DIR22, "relay.pid");
|
|
14184
|
+
var HUB_PID_FILE = join9(STATE_DIR22, "hub.pid");
|
|
14185
|
+
var LOG_FILE = join9(STATE_DIR22, "relay.log");
|
|
14186
|
+
var RELAY_HOME_DIR = join9(STATE_DIR22, "relay");
|
|
14092
14187
|
function relayEndpoint() {
|
|
14093
14188
|
const port = relayPort();
|
|
14094
14189
|
return {
|
|
@@ -14179,7 +14274,7 @@ async function reclaimRelay(reportedPid, log) {
|
|
|
14179
14274
|
}
|
|
14180
14275
|
async function spawnRelay(relayBin, cliEntry, log) {
|
|
14181
14276
|
const logFd = openSync2(LOG_FILE, "a");
|
|
14182
|
-
const cloudBackends = process.env.AGENTBOX_CLOUD_BACKENDS ??
|
|
14277
|
+
const cloudBackends = process.env.AGENTBOX_CLOUD_BACKENDS ?? join9(dirname32(cliEntry), "cloud-backends.js");
|
|
14183
14278
|
const child = spawn4(
|
|
14184
14279
|
process.execPath,
|
|
14185
14280
|
[relayBin, "serve", "--port", String(relayPort()), "--host", "0.0.0.0"],
|
|
@@ -14245,7 +14340,7 @@ see ${LOG_FILE}`);
|
|
|
14245
14340
|
}
|
|
14246
14341
|
async function tailFile(file, maxLines) {
|
|
14247
14342
|
try {
|
|
14248
|
-
const lines = (await
|
|
14343
|
+
const lines = (await readFile52(file, "utf8")).split("\n").filter((l) => l.trim().length > 0);
|
|
14249
14344
|
return lines.slice(-maxLines).join("\n");
|
|
14250
14345
|
} catch {
|
|
14251
14346
|
return "";
|
|
@@ -14256,10 +14351,10 @@ function resolveRelayBin() {
|
|
|
14256
14351
|
if (override && existsSync33(override)) return override;
|
|
14257
14352
|
const here = dirname32(fileURLToPath(import.meta.url));
|
|
14258
14353
|
const candidates = [
|
|
14259
|
-
|
|
14260
|
-
|
|
14261
|
-
|
|
14262
|
-
|
|
14354
|
+
resolve4(here, "..", "runtime", "relay", "bin.cjs"),
|
|
14355
|
+
resolve4(here, "..", "..", "relay", "dist", "bin.cjs"),
|
|
14356
|
+
resolve4(here, "..", "..", "..", "@agentbox", "relay", "dist", "bin.cjs"),
|
|
14357
|
+
resolve4(here, "..", "..", "node_modules", "@agentbox", "relay", "dist", "bin.cjs")
|
|
14263
14358
|
];
|
|
14264
14359
|
for (const c of candidates) {
|
|
14265
14360
|
if (existsSync33(c)) return c;
|
|
@@ -14272,28 +14367,28 @@ async function stageRelayHome(version, log) {
|
|
|
14272
14367
|
if (process.env.AGENTBOX_RELAY_BIN || process.env.AGENTBOX_CLI_ENTRY) return null;
|
|
14273
14368
|
const cliRoot = findCliRoot(dirname32(fileURLToPath(import.meta.url)));
|
|
14274
14369
|
if (cliRoot === null) return null;
|
|
14275
|
-
const homeDir =
|
|
14276
|
-
const stagedEntry =
|
|
14277
|
-
const stagedBin =
|
|
14370
|
+
const homeDir = join9(RELAY_HOME_DIR, version);
|
|
14371
|
+
const stagedEntry = join9(homeDir, "dist", "index.js");
|
|
14372
|
+
const stagedBin = join9(homeDir, "runtime", "relay", "bin.cjs");
|
|
14278
14373
|
if (existsSync33(stagedEntry) && existsSync33(stagedBin)) {
|
|
14279
14374
|
return { relayBin: stagedBin, cliEntry: stagedEntry };
|
|
14280
14375
|
}
|
|
14281
|
-
const nodeModules = resolveDepRoot(
|
|
14376
|
+
const nodeModules = resolveDepRoot(join9(cliRoot, "dist", "index.js"));
|
|
14282
14377
|
if (nodeModules === null) return null;
|
|
14283
14378
|
const tmpDir = `${homeDir}.tmp-${String(process.pid)}`;
|
|
14284
14379
|
try {
|
|
14285
14380
|
await mkdir52(RELAY_HOME_DIR, { recursive: true });
|
|
14286
|
-
await
|
|
14381
|
+
await rm52(tmpDir, { recursive: true, force: true });
|
|
14287
14382
|
await mkdir52(tmpDir, { recursive: true });
|
|
14288
14383
|
for (const sub of ["dist", "runtime", "share"]) {
|
|
14289
|
-
const src =
|
|
14290
|
-
if (existsSync33(src)) await cp(src,
|
|
14384
|
+
const src = join9(cliRoot, sub);
|
|
14385
|
+
if (existsSync33(src)) await cp(src, join9(tmpDir, sub), { recursive: true });
|
|
14291
14386
|
}
|
|
14292
|
-
await cp(nodeModules,
|
|
14293
|
-
await
|
|
14387
|
+
await cp(nodeModules, join9(tmpDir, "node_modules"), { recursive: true, dereference: true });
|
|
14388
|
+
await rm52(homeDir, { recursive: true, force: true });
|
|
14294
14389
|
await rename7(tmpDir, homeDir);
|
|
14295
14390
|
} catch (err) {
|
|
14296
|
-
await
|
|
14391
|
+
await rm52(tmpDir, { recursive: true, force: true }).catch(() => {
|
|
14297
14392
|
});
|
|
14298
14393
|
if (existsSync33(stagedEntry) && existsSync33(stagedBin)) {
|
|
14299
14394
|
return { relayBin: stagedBin, cliEntry: stagedEntry };
|
|
@@ -14309,8 +14404,8 @@ async function stageRelayHome(version, log) {
|
|
|
14309
14404
|
return { relayBin: stagedBin, cliEntry: stagedEntry };
|
|
14310
14405
|
}
|
|
14311
14406
|
function findCliRoot(moduleDir) {
|
|
14312
|
-
for (const root of [
|
|
14313
|
-
if (existsSync33(
|
|
14407
|
+
for (const root of [resolve4(moduleDir, ".."), resolve4(moduleDir, "..", "..")]) {
|
|
14408
|
+
if (existsSync33(join9(root, "dist", "index.js")) && existsSync33(join9(root, "runtime", "relay", "bin.cjs"))) {
|
|
14314
14409
|
return root;
|
|
14315
14410
|
}
|
|
14316
14411
|
}
|
|
@@ -14325,7 +14420,7 @@ function resolveDepRoot(fromFile) {
|
|
|
14325
14420
|
const idx = main.lastIndexOf(marker);
|
|
14326
14421
|
if (idx === -1) return null;
|
|
14327
14422
|
const nm = main.slice(0, idx + marker.length - 1);
|
|
14328
|
-
return existsSync33(
|
|
14423
|
+
return existsSync33(join9(nm, "commander")) ? nm : null;
|
|
14329
14424
|
} catch {
|
|
14330
14425
|
return null;
|
|
14331
14426
|
}
|
|
@@ -14333,13 +14428,13 @@ function resolveDepRoot(fromFile) {
|
|
|
14333
14428
|
async function gcOldRelayHomes(keepVersion) {
|
|
14334
14429
|
let entries;
|
|
14335
14430
|
try {
|
|
14336
|
-
entries = await
|
|
14431
|
+
entries = await readdir5(RELAY_HOME_DIR);
|
|
14337
14432
|
} catch {
|
|
14338
14433
|
return;
|
|
14339
14434
|
}
|
|
14340
14435
|
for (const name of entries) {
|
|
14341
14436
|
if (name === keepVersion) continue;
|
|
14342
|
-
await
|
|
14437
|
+
await rm52(join9(RELAY_HOME_DIR, name), { recursive: true, force: true }).catch(() => {
|
|
14343
14438
|
});
|
|
14344
14439
|
}
|
|
14345
14440
|
}
|
|
@@ -14395,7 +14490,7 @@ async function getRelayStatus() {
|
|
|
14395
14490
|
}
|
|
14396
14491
|
async function readPidFile() {
|
|
14397
14492
|
try {
|
|
14398
|
-
const text3 = await
|
|
14493
|
+
const text3 = await readFile52(PID_FILE, "utf8");
|
|
14399
14494
|
const pid = Number.parseInt(text3.trim(), 10);
|
|
14400
14495
|
return Number.isFinite(pid) && pid > 0 ? pid : null;
|
|
14401
14496
|
} catch {
|
|
@@ -14703,8 +14798,8 @@ async function ensureAgentboxTasksFile(container, services, opts = {}) {
|
|
|
14703
14798
|
return { status: "wrote" };
|
|
14704
14799
|
}
|
|
14705
14800
|
async function writeFileInBox(container, path2, content) {
|
|
14706
|
-
const { execa:
|
|
14707
|
-
const result = await
|
|
14801
|
+
const { execa: execa22 } = await import("./execa-4DLVNM6E.js");
|
|
14802
|
+
const result = await execa22(
|
|
14708
14803
|
"docker",
|
|
14709
14804
|
["exec", "-i", "--user", "vscode", container, "sh", "-c", `cat > ${shellQuote2(path2)}`],
|
|
14710
14805
|
{ input: content, reject: false }
|
|
@@ -14731,7 +14826,7 @@ function sanitizeNameToken(raw) {
|
|
|
14731
14826
|
return raw.toLowerCase().replace(/[^a-z0-9._-]+/g, "-").replace(/-+/g, "-").replace(/^[-._]+|[-._]+$/g, "").slice(0, 30).replace(/[-._]+$/, "");
|
|
14732
14827
|
}
|
|
14733
14828
|
function sanitizeBasename(workspacePath) {
|
|
14734
|
-
return sanitizeNameToken(basename42(
|
|
14829
|
+
return sanitizeNameToken(basename42(resolve5(workspacePath)));
|
|
14735
14830
|
}
|
|
14736
14831
|
function defaultBoxName(workspacePath, id, nameBasis) {
|
|
14737
14832
|
const base = nameBasis ? sanitizeNameToken(nameBasis) : sanitizeBasename(workspacePath);
|
|
@@ -14756,7 +14851,7 @@ async function trustInBoxPortlessCa(container, log) {
|
|
|
14756
14851
|
async function buildIdentityMounts() {
|
|
14757
14852
|
const home = homedir7();
|
|
14758
14853
|
const candidates = [
|
|
14759
|
-
{ src:
|
|
14854
|
+
{ src: join10(home, ".gitconfig"), dst: "/home/vscode/.gitconfig", readOnly: true }
|
|
14760
14855
|
];
|
|
14761
14856
|
const out = [];
|
|
14762
14857
|
for (const c of candidates) {
|
|
@@ -14769,11 +14864,11 @@ async function buildIdentityMounts() {
|
|
|
14769
14864
|
async function createBox(opts) {
|
|
14770
14865
|
const log = opts.onLog ?? (() => {
|
|
14771
14866
|
});
|
|
14772
|
-
const workspace =
|
|
14867
|
+
const workspace = resolve5(opts.workspacePath);
|
|
14773
14868
|
if (!await pathExists2(workspace)) {
|
|
14774
14869
|
throw new Error(`workspace does not exist: ${workspace}`);
|
|
14775
14870
|
}
|
|
14776
|
-
const cfgPath =
|
|
14871
|
+
const cfgPath = join10(workspace, "agentbox.yaml");
|
|
14777
14872
|
if (await pathExists2(cfgPath)) {
|
|
14778
14873
|
try {
|
|
14779
14874
|
const cfg = await loadConfig(cfgPath);
|
|
@@ -14961,7 +15056,7 @@ async function createBox(opts) {
|
|
|
14961
15056
|
const ide = buildIdeMounts(id);
|
|
14962
15057
|
const hostHasAnyStaticPath = async (spec) => {
|
|
14963
15058
|
for (const path2 of spec.staticPaths) {
|
|
14964
|
-
if (await pathExists2(
|
|
15059
|
+
if (await pathExists2(join10(homedir7(), ...path2.hostHomeRel))) return true;
|
|
14965
15060
|
}
|
|
14966
15061
|
return false;
|
|
14967
15062
|
};
|
|
@@ -14977,7 +15072,7 @@ async function createBox(opts) {
|
|
|
14977
15072
|
boxId: id
|
|
14978
15073
|
});
|
|
14979
15074
|
}
|
|
14980
|
-
const agentsSpec = await pathExists2(
|
|
15075
|
+
const agentsSpec = await pathExists2(join10(homedir7(), ".agents")) ? resolveAgentsVolume() : void 0;
|
|
14981
15076
|
const syncCtx = makeSyncContext({
|
|
14982
15077
|
boxName: name,
|
|
14983
15078
|
boxId: id,
|
|
@@ -15014,9 +15109,9 @@ async function createBox(opts) {
|
|
|
15014
15109
|
agentsConfigVolume = agentsSpec.volume;
|
|
15015
15110
|
}
|
|
15016
15111
|
const boxDir = boxRunDirFor2({ id, name, projectIndex });
|
|
15017
|
-
const socketDir =
|
|
15018
|
-
const socketPath =
|
|
15019
|
-
const mergedExportDir =
|
|
15112
|
+
const socketDir = join10(boxDir, "run");
|
|
15113
|
+
const socketPath = join10(socketDir, "ctl.sock");
|
|
15114
|
+
const mergedExportDir = join10(boxDir, "workspace");
|
|
15020
15115
|
await mkdir6(socketDir, { recursive: true });
|
|
15021
15116
|
await mkdir6(mergedExportDir, { recursive: true });
|
|
15022
15117
|
const extraVolumes = await buildIdentityMounts();
|
|
@@ -15178,7 +15273,8 @@ async function createBox(opts) {
|
|
|
15178
15273
|
...vncEnv,
|
|
15179
15274
|
...portlessEnv,
|
|
15180
15275
|
...opts.claudeEnv ?? {}
|
|
15181
|
-
}
|
|
15276
|
+
},
|
|
15277
|
+
onLog: log
|
|
15182
15278
|
});
|
|
15183
15279
|
log(`container ${containerName} started`);
|
|
15184
15280
|
await recordBox(baseRecord);
|
|
@@ -15335,7 +15431,7 @@ async function createBox(opts) {
|
|
|
15335
15431
|
`web port reserved on host 127.0.0.1:${String(webHostPort)} (forwards to the web service once agentbox.yaml sets a service expose:)`
|
|
15336
15432
|
);
|
|
15337
15433
|
}
|
|
15338
|
-
const ssh = await setUpBoxSshd(containerName,
|
|
15434
|
+
const ssh = await setUpBoxSshd(containerName, join10(boxDir, "ssh"), `agentbox-${name}-${id}`);
|
|
15339
15435
|
if (ssh.up && ssh.sshHostPort) {
|
|
15340
15436
|
log(`sshd up on host 127.0.0.1:${String(ssh.sshHostPort)} (loopback-only)`);
|
|
15341
15437
|
} else {
|
|
@@ -15596,7 +15692,7 @@ async function getBoxEndpoints(record, engine, persisted) {
|
|
|
15596
15692
|
for (const svc of persistedServices) pushService(svc.name, svc.port);
|
|
15597
15693
|
} else {
|
|
15598
15694
|
try {
|
|
15599
|
-
const cfg = await loadConfig(
|
|
15695
|
+
const cfg = await loadConfig(join11(record.workspacePath, "agentbox.yaml"));
|
|
15600
15696
|
if (!webServiceName) {
|
|
15601
15697
|
webServiceName = cfg.services.find((s) => s.expose)?.name ?? null;
|
|
15602
15698
|
}
|
|
@@ -15768,7 +15864,7 @@ async function refreshBoxSshd(box) {
|
|
|
15768
15864
|
if (!box.sshEnabled) return box;
|
|
15769
15865
|
const ssh = await setUpBoxSshd(
|
|
15770
15866
|
box.container,
|
|
15771
|
-
|
|
15867
|
+
join12(boxRunDirFor2(box), "ssh"),
|
|
15772
15868
|
`agentbox-${box.name}-${box.id}`
|
|
15773
15869
|
);
|
|
15774
15870
|
if (!ssh.up || !ssh.sshHostPort) return box;
|
|
@@ -15788,9 +15884,9 @@ async function refreshBoxSshd(box) {
|
|
|
15788
15884
|
async function startBox(idOrName) {
|
|
15789
15885
|
const box = await resolveBox(idOrName);
|
|
15790
15886
|
for (const w of box.gitWorktrees ?? []) {
|
|
15791
|
-
if (!await pathExists3(
|
|
15887
|
+
if (!await pathExists3(join12(w.hostMainRepo, ".git"))) {
|
|
15792
15888
|
throw new Error(
|
|
15793
|
-
`main repo for box worktree missing: ${
|
|
15889
|
+
`main repo for box worktree missing: ${join12(w.hostMainRepo, ".git")} (recreate the box)`
|
|
15794
15890
|
);
|
|
15795
15891
|
}
|
|
15796
15892
|
}
|
|
@@ -15997,14 +16093,14 @@ async function destroyBox(idOrName, opts = {}) {
|
|
|
15997
16093
|
let removedSnapshot = null;
|
|
15998
16094
|
if (box.snapshotDir && !opts.keepSnapshot) {
|
|
15999
16095
|
try {
|
|
16000
|
-
await
|
|
16096
|
+
await rm62(box.snapshotDir, { recursive: true, force: true });
|
|
16001
16097
|
removedSnapshot = box.snapshotDir;
|
|
16002
16098
|
} catch {
|
|
16003
16099
|
removedSnapshot = null;
|
|
16004
16100
|
}
|
|
16005
16101
|
}
|
|
16006
16102
|
try {
|
|
16007
|
-
await
|
|
16103
|
+
await rm62(boxRunDirFor2(box), { recursive: true, force: true });
|
|
16008
16104
|
} catch {
|
|
16009
16105
|
}
|
|
16010
16106
|
await removeBoxRecord(box.id);
|
|
@@ -16018,16 +16114,16 @@ async function destroyBox(idOrName, opts = {}) {
|
|
|
16018
16114
|
}
|
|
16019
16115
|
async function listSnapshotDirs() {
|
|
16020
16116
|
try {
|
|
16021
|
-
const entries = await
|
|
16022
|
-
return entries.filter((e) => e.isDirectory()).map((e) =>
|
|
16117
|
+
const entries = await readdir6(SNAPSHOTS_ROOT, { withFileTypes: true });
|
|
16118
|
+
return entries.filter((e) => e.isDirectory()).map((e) => join12(SNAPSHOTS_ROOT, e.name));
|
|
16023
16119
|
} catch {
|
|
16024
16120
|
return [];
|
|
16025
16121
|
}
|
|
16026
16122
|
}
|
|
16027
16123
|
async function listBoxDirs() {
|
|
16028
16124
|
try {
|
|
16029
|
-
const entries = await
|
|
16030
|
-
return entries.filter((e) => e.isDirectory()).map((e) =>
|
|
16125
|
+
const entries = await readdir6(BOXES_ROOT, { withFileTypes: true });
|
|
16126
|
+
return entries.filter((e) => e.isDirectory()).map((e) => join12(BOXES_ROOT, e.name));
|
|
16031
16127
|
} catch {
|
|
16032
16128
|
return [];
|
|
16033
16129
|
}
|
|
@@ -16126,13 +16222,13 @@ async function pruneBoxes(opts = {}) {
|
|
|
16126
16222
|
for (const v of orphanVolumes) await removeVolume(v);
|
|
16127
16223
|
for (const d of orphanSnapshots) {
|
|
16128
16224
|
try {
|
|
16129
|
-
await
|
|
16225
|
+
await rm62(d, { recursive: true, force: true });
|
|
16130
16226
|
} catch {
|
|
16131
16227
|
}
|
|
16132
16228
|
}
|
|
16133
16229
|
for (const d of orphanBoxDirs) {
|
|
16134
16230
|
try {
|
|
16135
|
-
await
|
|
16231
|
+
await rm62(d, { recursive: true, force: true });
|
|
16136
16232
|
} catch {
|
|
16137
16233
|
}
|
|
16138
16234
|
}
|
|
@@ -16216,7 +16312,7 @@ async function volumeSizeBytes(name) {
|
|
|
16216
16312
|
if (!name) return null;
|
|
16217
16313
|
const engine = await detectEngine();
|
|
16218
16314
|
if (engine === "orbstack") {
|
|
16219
|
-
const live =
|
|
16315
|
+
const live = join13(homedir8(), "OrbStack", "docker", "volumes", name);
|
|
16220
16316
|
const sz = await duBytes(live);
|
|
16221
16317
|
if (sz !== null) return sz;
|
|
16222
16318
|
}
|
|
@@ -16277,7 +16373,7 @@ async function allCheckpointImagesBytes() {
|
|
|
16277
16373
|
return any ? total : null;
|
|
16278
16374
|
}
|
|
16279
16375
|
async function agentboxHomeBytes() {
|
|
16280
|
-
return duBytes(
|
|
16376
|
+
return duBytes(join13(homedir8(), ".agentbox"));
|
|
16281
16377
|
}
|
|
16282
16378
|
function limitsFromRecord(record) {
|
|
16283
16379
|
const r = record.resourceLimits;
|
|
@@ -16566,6 +16662,76 @@ var dockerProvider = {
|
|
|
16566
16662
|
return {};
|
|
16567
16663
|
}
|
|
16568
16664
|
};
|
|
16665
|
+
async function localBridgeGateway() {
|
|
16666
|
+
const r = await execa(
|
|
16667
|
+
"docker",
|
|
16668
|
+
["network", "inspect", "bridge", "--format", "{{range .IPAM.Config}}{{.Gateway}} {{end}}"],
|
|
16669
|
+
{ reject: false }
|
|
16670
|
+
);
|
|
16671
|
+
if (r.exitCode !== 0) return null;
|
|
16672
|
+
const gateways = r.stdout.trim().split(/\s+/).filter(Boolean);
|
|
16673
|
+
const local = new Set(
|
|
16674
|
+
Object.values(networkInterfaces()).flat().map((a) => a?.address).filter((a) => typeof a === "string")
|
|
16675
|
+
);
|
|
16676
|
+
return gateways.find((g) => local.has(g)) ?? null;
|
|
16677
|
+
}
|
|
16678
|
+
function tcpReachable(host, port, timeoutMs = 1500) {
|
|
16679
|
+
return new Promise((resolve6) => {
|
|
16680
|
+
const sock = connect2({ host, port });
|
|
16681
|
+
const done = (ok) => {
|
|
16682
|
+
sock.destroy();
|
|
16683
|
+
resolve6(ok);
|
|
16684
|
+
};
|
|
16685
|
+
sock.setTimeout(timeoutMs, () => done(false));
|
|
16686
|
+
sock.once("connect", () => done(true));
|
|
16687
|
+
sock.once("error", () => done(false));
|
|
16688
|
+
});
|
|
16689
|
+
}
|
|
16690
|
+
var gatewayOnce = null;
|
|
16691
|
+
async function loopbackEndpointNotes(agent, endpoints, deps = {}) {
|
|
16692
|
+
const rewritten = endpoints.filter((e) => e.rewrittenTo !== void 0);
|
|
16693
|
+
if (rewritten.length === 0) return [];
|
|
16694
|
+
const notes = rewritten.map((e) => providerWarning(formatLoopbackRewrite(agent, e)));
|
|
16695
|
+
const gateway = await (deps.gateway ?? (() => gatewayOnce ??= localBridgeGateway()))();
|
|
16696
|
+
if (gateway === null) return notes;
|
|
16697
|
+
const reachable = deps.reachable ?? tcpReachable;
|
|
16698
|
+
const ports = [...new Set(rewritten.map((e) => e.port))];
|
|
16699
|
+
for (const port of ports) {
|
|
16700
|
+
if (await reachable(gateway, port)) continue;
|
|
16701
|
+
notes.push(
|
|
16702
|
+
providerWarning(
|
|
16703
|
+
`${agent}: nothing answers on ${gateway}:${String(port)} (the docker bridge), so the box cannot reach the gateway behind ${rewritten.find((e) => e.port === port)?.url ?? ""}. On a Linux docker engine a service bound to 127.0.0.1 is not reachable from containers: bind it to 0.0.0.0 or ${gateway}.`
|
|
16704
|
+
)
|
|
16705
|
+
);
|
|
16706
|
+
}
|
|
16707
|
+
return notes;
|
|
16708
|
+
}
|
|
16709
|
+
async function stageLoopbackOverlay(files) {
|
|
16710
|
+
const endpoints = [];
|
|
16711
|
+
let dir = null;
|
|
16712
|
+
for (const f of files) {
|
|
16713
|
+
const r = await rewriteLoopbackInJsonFile(f.src, {
|
|
16714
|
+
paths: f.paths,
|
|
16715
|
+
source: f.source,
|
|
16716
|
+
rewriteHost: DOCKER_HOST_ALIAS
|
|
16717
|
+
});
|
|
16718
|
+
if (r === null) continue;
|
|
16719
|
+
endpoints.push(...r.endpoints);
|
|
16720
|
+
if (!r.changed) continue;
|
|
16721
|
+
dir ??= await mkdtemp32(join14(tmpdir33(), "agentbox-endpoints-"));
|
|
16722
|
+
const dest = join14(dir, f.rel);
|
|
16723
|
+
await mkdir7(dirname42(dest), { recursive: true });
|
|
16724
|
+
await writeFile32(dest, r.text);
|
|
16725
|
+
}
|
|
16726
|
+
const made = dir;
|
|
16727
|
+
return {
|
|
16728
|
+
dir: made,
|
|
16729
|
+
endpoints,
|
|
16730
|
+
cleanup: async () => {
|
|
16731
|
+
if (made) await rm7(made, { recursive: true, force: true });
|
|
16732
|
+
}
|
|
16733
|
+
};
|
|
16734
|
+
}
|
|
16569
16735
|
async function probeVersion(bin, args = ["--version"]) {
|
|
16570
16736
|
try {
|
|
16571
16737
|
const r = await execa(bin, args, { reject: false });
|
|
@@ -16663,14 +16829,14 @@ var providerModule = {
|
|
|
16663
16829
|
doctorChecks: dockerChecks
|
|
16664
16830
|
};
|
|
16665
16831
|
var posixDirname2 = (rel) => {
|
|
16666
|
-
const d =
|
|
16832
|
+
const d = dirname5(rel);
|
|
16667
16833
|
return d === "." ? "" : d;
|
|
16668
16834
|
};
|
|
16669
16835
|
async function stageItemsFromVolume(volume, image, items, stagingDir) {
|
|
16670
16836
|
if (items.length === 0) return;
|
|
16671
16837
|
for (const item of items) {
|
|
16672
16838
|
const parent = posixDirname2(item.rel);
|
|
16673
|
-
if (parent) await
|
|
16839
|
+
if (parent) await mkdir8(join15(stagingDir, parent), { recursive: true });
|
|
16674
16840
|
}
|
|
16675
16841
|
const uid = process.getuid?.() ?? 0;
|
|
16676
16842
|
const gid = process.getgid?.() ?? 0;
|
|
@@ -16783,12 +16949,12 @@ function volumeSettingsTarget(volume, image, label) {
|
|
|
16783
16949
|
}
|
|
16784
16950
|
};
|
|
16785
16951
|
}
|
|
16786
|
-
var STATE_DIR3 =
|
|
16952
|
+
var STATE_DIR3 = join16(homedir9(), ".agentbox");
|
|
16787
16953
|
var HUB_PORTLESS_ALIAS = "agentbox";
|
|
16788
|
-
var HUB_PORTLESS_FILE =
|
|
16954
|
+
var HUB_PORTLESS_FILE = join16(STATE_DIR3, "hub", "portless-url");
|
|
16789
16955
|
async function readHubPortlessUrl() {
|
|
16790
16956
|
try {
|
|
16791
|
-
const u = (await
|
|
16957
|
+
const u = (await readFile62(HUB_PORTLESS_FILE, "utf8")).trim();
|
|
16792
16958
|
return u.length > 0 ? u : null;
|
|
16793
16959
|
} catch {
|
|
16794
16960
|
return null;
|
|
@@ -16800,7 +16966,7 @@ async function currentHubPortlessUrl() {
|
|
|
16800
16966
|
const portless = await detectPortless();
|
|
16801
16967
|
if (!portless.proxyRunning) return null;
|
|
16802
16968
|
const url = await portlessGetUrl(HUB_PORTLESS_ALIAS);
|
|
16803
|
-
if (url !== cached2) await
|
|
16969
|
+
if (url !== cached2) await writeFile42(HUB_PORTLESS_FILE, url, "utf8").catch(() => {
|
|
16804
16970
|
});
|
|
16805
16971
|
return url;
|
|
16806
16972
|
}
|
|
@@ -16819,8 +16985,8 @@ async function syncHubPortless(enabled, port) {
|
|
|
16819
16985
|
if (!portless.installed) return await teardown();
|
|
16820
16986
|
await portlessAlias(HUB_PORTLESS_ALIAS, port);
|
|
16821
16987
|
const url = await portlessGetUrl(HUB_PORTLESS_ALIAS);
|
|
16822
|
-
await
|
|
16823
|
-
await
|
|
16988
|
+
await mkdir9(dirname6(HUB_PORTLESS_FILE), { recursive: true });
|
|
16989
|
+
await writeFile42(HUB_PORTLESS_FILE, url, "utf8");
|
|
16824
16990
|
return portless.proxyRunning ? url : void 0;
|
|
16825
16991
|
} catch {
|
|
16826
16992
|
return void 0;
|
|
@@ -16885,6 +17051,162 @@ async function ensureBoxBrowserShowingApp(box, provider) {
|
|
|
16885
17051
|
const res = await ensureBoxBrowser(box.container, void 0, target);
|
|
16886
17052
|
return { ...res, target };
|
|
16887
17053
|
}
|
|
17054
|
+
var PROBE_VOLUME = "__agentbox_probe__";
|
|
17055
|
+
var STAGE_MOUNT = "/stage";
|
|
17056
|
+
function agentConfigDir(agent) {
|
|
17057
|
+
const mod = agentSyncModule(agent);
|
|
17058
|
+
if (!mod) return void 0;
|
|
17059
|
+
const { extraVolumes } = mod.buildMounts({ volume: PROBE_VOLUME }, {});
|
|
17060
|
+
for (const spec of extraVolumes) {
|
|
17061
|
+
const parts = spec.split(":");
|
|
17062
|
+
if (parts[0] === PROBE_VOLUME && parts[1]) return parts[1];
|
|
17063
|
+
}
|
|
17064
|
+
return void 0;
|
|
17065
|
+
}
|
|
17066
|
+
function agentConfigStagingVolume(agent, boxId) {
|
|
17067
|
+
return `agentbox-${agent}-config-stage-${boxId}`;
|
|
17068
|
+
}
|
|
17069
|
+
async function mountedVolumeAt(container, dir) {
|
|
17070
|
+
const insp = await inspectContainer(container);
|
|
17071
|
+
if (!insp) return null;
|
|
17072
|
+
const hit = (insp.Mounts ?? []).find((m) => m.Destination === dir && m.Type === "volume");
|
|
17073
|
+
return hit?.Name ?? "";
|
|
17074
|
+
}
|
|
17075
|
+
function noopTarget(volume) {
|
|
17076
|
+
return { volume, mounted: true, flush: async () => {
|
|
17077
|
+
}, release: async () => {
|
|
17078
|
+
} };
|
|
17079
|
+
}
|
|
17080
|
+
function quoteSh(s) {
|
|
17081
|
+
return `'${s.replace(/'/g, `'\\''`)}'`;
|
|
17082
|
+
}
|
|
17083
|
+
async function openAgentConfigTarget(opts) {
|
|
17084
|
+
const dir = agentConfigDir(opts.agent);
|
|
17085
|
+
const fallback = opts.recordVolume ? noopTarget(opts.recordVolume) : void 0;
|
|
17086
|
+
if (!dir) return fallback;
|
|
17087
|
+
const mounted = await mountedVolumeAt(opts.container, dir);
|
|
17088
|
+
if (mounted === null) {
|
|
17089
|
+
throw new Error(
|
|
17090
|
+
`could not inspect ${opts.container} to find what is mounted at ${dir}; not syncing ${opts.agent} config. Check that the container exists (docker ps -a).`
|
|
17091
|
+
);
|
|
17092
|
+
}
|
|
17093
|
+
if (mounted) return noopTarget(mounted);
|
|
17094
|
+
if (!opts.stage) return void 0;
|
|
17095
|
+
const volume = agentConfigStagingVolume(opts.agent, opts.boxId);
|
|
17096
|
+
let interrupted = false;
|
|
17097
|
+
const onSignal = (sig) => {
|
|
17098
|
+
const code = sig === "SIGINT" ? 130 : 143;
|
|
17099
|
+
if (interrupted) process.exit(code);
|
|
17100
|
+
interrupted = true;
|
|
17101
|
+
void dropVolume(volume).finally(() => process.exit(code));
|
|
17102
|
+
};
|
|
17103
|
+
for (const sig of SIGNALS) process.on(sig, onSignal);
|
|
17104
|
+
let released = false;
|
|
17105
|
+
const release = async () => {
|
|
17106
|
+
if (released) return;
|
|
17107
|
+
released = true;
|
|
17108
|
+
for (const sig of SIGNALS) process.removeListener(sig, onSignal);
|
|
17109
|
+
await dropVolume(volume);
|
|
17110
|
+
};
|
|
17111
|
+
try {
|
|
17112
|
+
await dropVolume(volume);
|
|
17113
|
+
await ensureVolume(volume);
|
|
17114
|
+
await pipeOrThrow(
|
|
17115
|
+
`could not stage ${opts.agent} config from ${opts.container}:${dir}`,
|
|
17116
|
+
[
|
|
17117
|
+
"exec",
|
|
17118
|
+
"--user",
|
|
17119
|
+
CONTAINER_USER,
|
|
17120
|
+
opts.container,
|
|
17121
|
+
"sh",
|
|
17122
|
+
"-c",
|
|
17123
|
+
`mkdir -p ${quoteSh(dir)} && tar -C ${quoteSh(dir)} -cf - .`
|
|
17124
|
+
],
|
|
17125
|
+
[
|
|
17126
|
+
"run",
|
|
17127
|
+
"--rm",
|
|
17128
|
+
"-i",
|
|
17129
|
+
"--user",
|
|
17130
|
+
"0",
|
|
17131
|
+
"-v",
|
|
17132
|
+
`${volume}:${STAGE_MOUNT}`,
|
|
17133
|
+
opts.image,
|
|
17134
|
+
"tar",
|
|
17135
|
+
"-C",
|
|
17136
|
+
STAGE_MOUNT,
|
|
17137
|
+
"-xpf",
|
|
17138
|
+
"-"
|
|
17139
|
+
]
|
|
17140
|
+
);
|
|
17141
|
+
} catch (err) {
|
|
17142
|
+
await release();
|
|
17143
|
+
throw err;
|
|
17144
|
+
}
|
|
17145
|
+
return {
|
|
17146
|
+
volume,
|
|
17147
|
+
mounted: false,
|
|
17148
|
+
release,
|
|
17149
|
+
flush: () => pipeOrThrow(
|
|
17150
|
+
`could not copy ${opts.agent} config into ${opts.container}:${dir}`,
|
|
17151
|
+
[
|
|
17152
|
+
"run",
|
|
17153
|
+
"--rm",
|
|
17154
|
+
"--user",
|
|
17155
|
+
"0",
|
|
17156
|
+
"-v",
|
|
17157
|
+
`${volume}:${STAGE_MOUNT}:ro`,
|
|
17158
|
+
opts.image,
|
|
17159
|
+
"tar",
|
|
17160
|
+
"-C",
|
|
17161
|
+
STAGE_MOUNT,
|
|
17162
|
+
"-cf",
|
|
17163
|
+
"-",
|
|
17164
|
+
"."
|
|
17165
|
+
],
|
|
17166
|
+
// Unpacked as root into a scratch dir (keeps owners and symlinks such
|
|
17167
|
+
// as codex's auth.json link), then mirrored in one pass. chown by name:
|
|
17168
|
+
// the box user's uid differs between providers.
|
|
17169
|
+
[
|
|
17170
|
+
"exec",
|
|
17171
|
+
"-i",
|
|
17172
|
+
"--user",
|
|
17173
|
+
"0",
|
|
17174
|
+
opts.container,
|
|
17175
|
+
"sh",
|
|
17176
|
+
"-c",
|
|
17177
|
+
MIRROR_SCRIPT,
|
|
17178
|
+
"sh",
|
|
17179
|
+
dir,
|
|
17180
|
+
CONTAINER_USER
|
|
17181
|
+
]
|
|
17182
|
+
)
|
|
17183
|
+
};
|
|
17184
|
+
}
|
|
17185
|
+
var SIGNALS = ["SIGINT", "SIGTERM"];
|
|
17186
|
+
async function dropVolume(volume) {
|
|
17187
|
+
for (let attempt = 0; attempt < 20; attempt++) {
|
|
17188
|
+
const r = await execa("docker", ["volume", "rm", volume], { reject: false });
|
|
17189
|
+
if (r.exitCode === 0 || /no such volume/i.test(String(r.stderr))) return;
|
|
17190
|
+
await new Promise((resolve6) => setTimeout(resolve6, 250));
|
|
17191
|
+
}
|
|
17192
|
+
}
|
|
17193
|
+
var MIRROR_SCRIPT = [
|
|
17194
|
+
"set -e",
|
|
17195
|
+
"s=$(mktemp -d /tmp/agentbox-config-XXXXXXXX)",
|
|
17196
|
+
`trap 'rm -rf "$s"' EXIT INT TERM HUP`,
|
|
17197
|
+
'tar -C "$s" -xf -',
|
|
17198
|
+
'mkdir -p "$1"',
|
|
17199
|
+
'rsync -a --delete -- "$s/" "$1/"',
|
|
17200
|
+
'chown -R "$2:" "$1"'
|
|
17201
|
+
].join("\n");
|
|
17202
|
+
async function pipeOrThrow(what, from, into) {
|
|
17203
|
+
const [a, b] = await streamTarPipe("docker", from, "docker", into);
|
|
17204
|
+
if (a.exitCode !== 0 || b.exitCode !== 0) {
|
|
17205
|
+
const err = a.exitCode !== 0 ? a.stderr : b.stderr;
|
|
17206
|
+
const text3 = typeof err === "string" ? err : Buffer.from(err ?? []).toString("utf8");
|
|
17207
|
+
throw new Error(`${what}: ${text3.trim().slice(0, 500)}`);
|
|
17208
|
+
}
|
|
17209
|
+
}
|
|
16888
17210
|
|
|
16889
17211
|
export {
|
|
16890
17212
|
DEFAULT_RELAY_PORT,
|
|
@@ -16954,6 +17276,7 @@ export {
|
|
|
16954
17276
|
CONTAINER_USER,
|
|
16955
17277
|
TERM_FALLBACK_SNIPPET,
|
|
16956
17278
|
buildTermSafeTmuxExec,
|
|
17279
|
+
tmuxSessionEnvArgs,
|
|
16957
17280
|
buildTmuxSessionArgs,
|
|
16958
17281
|
buildTmuxConfigShellSnippet,
|
|
16959
17282
|
buildShellArgv,
|
|
@@ -16970,6 +17293,8 @@ export {
|
|
|
16970
17293
|
volumeClaudeCredentials,
|
|
16971
17294
|
parseSyncResult,
|
|
16972
17295
|
syncClaudeCredentials,
|
|
17296
|
+
isMissingDockerInit,
|
|
17297
|
+
MISSING_DOCKER_INIT_WARNING,
|
|
16973
17298
|
execInBox,
|
|
16974
17299
|
removeImage,
|
|
16975
17300
|
volumeExists,
|
|
@@ -17120,6 +17445,10 @@ export {
|
|
|
17120
17445
|
agentboxHomeBytes,
|
|
17121
17446
|
boxResourceStats,
|
|
17122
17447
|
dockerProvider,
|
|
17448
|
+
localBridgeGateway,
|
|
17449
|
+
tcpReachable,
|
|
17450
|
+
loopbackEndpointNotes,
|
|
17451
|
+
stageLoopbackOverlay,
|
|
17123
17452
|
dockerChecks,
|
|
17124
17453
|
providerModule,
|
|
17125
17454
|
stageItemsFromVolume,
|
|
@@ -17129,5 +17458,8 @@ export {
|
|
|
17129
17458
|
browserSessionActive,
|
|
17130
17459
|
desktopOpenCommand,
|
|
17131
17460
|
ensureBoxBrowser,
|
|
17132
|
-
ensureBoxBrowserShowingApp
|
|
17461
|
+
ensureBoxBrowserShowingApp,
|
|
17462
|
+
agentConfigDir,
|
|
17463
|
+
agentConfigStagingVolume,
|
|
17464
|
+
openAgentConfigTarget
|
|
17133
17465
|
};
|