@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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../packages/cli-kit/src/agent-login-specs.ts","../../../packages/cli-kit/src/agent-login-bindings.ts","../../../packages/cli-kit/src/skip-permissions.ts","../../../packages/cli-kit/src/pty-backend.ts","../../../packages/cli-kit/src/spinner-line.ts","../../../packages/cli-kit/src/cwd-encoding.ts","../../../packages/cli-kit/src/teleport-types.ts","../../../packages/cli-kit/src/prompt.ts","../../../packages/cli-kit/src/index.ts","../../../packages/cli-kit/src/progress.ts","../../../packages/cli-kit/src/log-file.ts","../../../packages/cli-kit/src/guided-login.ts","../../../packages/cli-kit/src/agent-login-run.ts","../../../packages/cli-kit/src/agent-contract.ts","../../../packages/cli-kit/src/agent-module.ts","../../../packages/cli-kit/src/pty-host.ts","../../../packages/cli-kit/src/pty-ring.ts"],"sourcesContent":["/**\n * Per-agent knowledge for the guided login flow: given the output an agent's\n * `login` command has printed so far, say what it is waiting for. Pure — no pty,\n * no docker — so the detectors are unit-tested against real captured transcripts\n * (each entry encodes a real capture of that agent's login flow).\n *\n * The guided flow exists because handing the user's terminal to an agent's own\n * in-container TUI breaks on terminals we haven't validated (kitty's CSI-u\n * keyboard protocol). Instead we drive the container under a pty and reproduce\n * the interaction with our own host-side clack prompts — which means we have to\n * recognize each prompt from its rendered output.\n */\nimport type { AgentId } from '@agentbox/core';\n\n/** What the login container is currently waiting for. */\nexport type LoginNeed =\n /** Approve in a browser, then paste the code back (claude). */\n | { kind: 'paste-code'; url: string }\n /** Approve in a browser; the flow completes on its own (codex device auth). */\n | { kind: 'browser-only'; url: string; userCode?: string }\n /** A secret typed at a prompt — never echoed, never logged (opencode API key). */\n | { kind: 'secret'; label: string; hint?: string }\n /** A prompt shape we can't drive from the host; the caller falls back to the passthrough. */\n | { kind: 'unsupported'; reason: string };\n\nexport interface AgentLoginSpec {\n agent: AgentId;\n /** Login args used when the caller forwards none. */\n defaultArgs: string[];\n /** What the container is waiting for, or null while it's still working. */\n detect(buf: string): LoginNeed | null;\n /**\n * After input is submitted, output matching this means the agent rejected it\n * and re-prompted (rather than exiting), so the caller can ask again against\n * the same still-valid session.\n */\n invalidInputPattern?: RegExp;\n}\n\n// Strip CSI (color/cursor) escapes only. OSC hyperlinks (OSC 8) embed the URL\n// itself, so leaving them in lets a URL regex still match inside them. Built via\n// RegExp(string) so the ESC byte and the `/` intermediate stay unambiguous.\nconst CSI = new RegExp('\\\\u001b\\\\[[0-9;?]*[ -\\\\/]*[@-~]', 'g');\n\nexport function stripAnsi(text: string): string {\n return text.replace(CSI, '');\n}\n\n/** Trim the punctuation/brackets a URL regex greedily swallows from prose. */\nexport function trimUrl(url: string): string {\n return url.replace(/[\"'`)\\]>]+$/, '').replace(/[.,;]+$/, '');\n}\n\n// The char class excludes whitespace, quotes/brackets, and control bytes (so an\n// OSC-8 hyperlink's trailing BEL terminates the match cleanly).\nexport const URL_BODY = '[^\\\\s\\'\"`<>)\\\\]\\\\u0000-\\\\u001f]';\n\n/** Output meaning \"that input was wrong, try again\" — claude and opencode both re-prompt. */\nexport const INVALID_CODE = /invalid|incorrect|not a valid|try again|expired|rejected/i;\n","/**\n * What a guided login needs from an agent, and nothing about WHICH agents exist.\n *\n * This file used to hold three `<agent>LoginBinding` functions and import each\n * agent's login spec and docker helpers — a per-agent table in shared code, and\n * the last import edge pointing from the shared CLI INTO the agents. Each of\n * those three had exactly one caller: that agent's own runtime, which already\n * exposes the binding through `AgentRuntime.loginBinding`. So the seam was\n * already there; the functions were simply on the wrong side of it.\n *\n * They live beside their runtimes now (`agents/<id>/login-binding.ts`, moving\n * into `packages/agent-<id>/` with the rest of the CLI layer). What is left here\n * is the contract both `guided-login.ts` and the command descriptor refer to by\n * type only.\n */\nimport type { AgentLoginSpec } from './agent-login-specs.js';\n\nexport interface AgentLoginBinding {\n spec: AgentLoginSpec;\n dockerArgv: string[];\n /** True once the login actually wrote credentials into the volume. */\n verify: () => Promise<boolean>;\n /** Post-success work, e.g. claude's warm-up + host-backup sync. */\n finalize?: () => Promise<{ warmed?: boolean }>;\n}\n\n/** An agent's own defaults apply when the user passed no extra args. */\nexport function withLoginDefaults(spec: AgentLoginSpec, extraArgs: string[]): string[] {\n return extraArgs.length > 0 ? extraArgs : spec.defaultArgs;\n}\n","/**\n * The \"skip permission prompts\" injection, as a mechanism with no agent in it.\n *\n * A box is an isolated sandbox, so auto-accepting tool use removes friction the\n * box already makes safe — hence the per-agent config key defaults to on (see\n * BUILT_IN_DEFAULTS in @agentbox/config).\n *\n * Applied at the command layer (where the effective config is resolved) to the\n * arg array that flows to BOTH the docker session start (`start<Agent>Session`)\n * and the cloud attach (`extraArgs` -> `buildCloudAttachInnerCommand`), so one\n * call covers every provider.\n *\n * WHICH flag, and which user args count as \"the user already decided\", is data\n * that belongs to the agent: it lives on that agent's runtime\n * (`AgentRuntime.skipPermissions`), which is `null` for an agent that has no\n * such flag at all — OpenCode. Nothing here knows an agent's name, so a new\n * agent supplies a rule and gets this behavior with no edit to this file.\n */\n\n/** One agent's bypass flag and the user args that mean \"don't inject\". */\nexport interface SkipPermissionsRule {\n /** The flag to prepend. */\n readonly flag: string;\n /**\n * Args that already govern the same surface. Their presence means the user\n * made an explicit choice, which always wins over the config default.\n */\n readonly conflictingArgs: readonly string[];\n}\n\n/**\n * Prepend `rule.flag` unless the user already passed something that governs the\n * same surface, or the config disabled it.\n */\nexport function applySkipPermissions(\n args: string[],\n rule: SkipPermissionsRule,\n enabled: boolean,\n): string[] {\n if (!enabled) return args;\n const conflicting = new Set(rule.conflictingArgs);\n // Match both `--permission-mode plan` and `--permission-mode=plan` — the flag\n // name is everything before the first `=` when the user uses inline syntax.\n const hasConflict = args.some((a) => {\n const eq = a.indexOf('=');\n return conflicting.has(eq === -1 ? a : a.slice(0, eq));\n });\n if (hasConflict) return args;\n return [rule.flag, ...args];\n}\n","import type { Terminal as XtermTerminal } from '@xterm/headless';\n\n/**\n * The `@xterm/headless` `Terminal` class. Injected (not imported) because\n * @xterm/headless is CJS — a static ESM named import breaks Node's loader for\n * the whole CLI, so callers dynamic-import it and pass the ctor through.\n *\n * Used by the dashboard (for its xterm-headless screen-state mirror). The\n * wrapped-pty wrapper does not need it — the inner program writes raw bytes\n * directly to the user's terminal, no parsing required.\n */\nexport type TerminalCtor = new (opts: {\n cols: number;\n rows: number;\n allowProposedApi: boolean;\n scrollback: number;\n convertEol: boolean;\n}) => XtermTerminal;\n\n/**\n * Minimal shape of a node-pty IPty (avoids a hard type dep on the optional\n * module — node-pty is in optionalDependencies, may not be installed).\n */\nexport interface IPtyLike {\n readonly pid?: number;\n onData(cb: (d: string) => void): void;\n onExit(cb: (e: { exitCode: number }) => void): void;\n write(d: string): void;\n resize(cols: number, rows: number): void;\n kill(signal?: string): void;\n}\n\nexport type PtySpawn = (\n file: string,\n args: string[],\n opts: { name: string; cols: number; rows: number; env: NodeJS.ProcessEnv; cwd?: string },\n) => IPtyLike;\n\nexport interface PtyBackend {\n ptySpawn: PtySpawn;\n /** Present for callers that also need the xterm headless ctor (dashboard). */\n termCtor: TerminalCtor;\n}\n\n/**\n * Dynamic-load the optional pty + xterm/headless backends. Returns null\n * when either prebuild is missing (we don't throw — callers decide how to\n * degrade). Centralized here so the dashboard and the wrapped-pty wrapper\n * use the same exact load dance.\n */\nexport async function loadPtyBackend(): Promise<PtyBackend | null> {\n try {\n const ptyMod = (await import('@homebridge/node-pty-prebuilt-multiarch')) as Record<\n string,\n unknown\n >;\n const xtermMod = (await import('@xterm/headless')) as Record<string, unknown>;\n const spawn =\n (ptyMod['spawn'] as unknown) ??\n (ptyMod['default'] as Record<string, unknown> | undefined)?.['spawn'];\n const Terminal =\n (xtermMod['Terminal'] as unknown) ??\n (xtermMod['default'] as Record<string, unknown> | undefined)?.['Terminal'];\n if (typeof spawn !== 'function' || typeof Terminal !== 'function') {\n return null;\n }\n return {\n ptySpawn: spawn as unknown as PtySpawn,\n termCtor: Terminal as unknown as TerminalCtor,\n };\n } catch {\n return null;\n }\n}\n","/**\n * Clamp a spinner message to fit on a single terminal row.\n *\n * @clack/prompts' spinner redraws in place by emitting cursor-up + clear-line\n * sequences sized to the lines it last drew. Two ways the redraw gets out of\n * sync with the actual rendered output:\n *\n * 1. When a single-line message is longer than the terminal is wide, the\n * terminal wraps it onto extra visual rows the spinner doesn't know\n * about — the next frame's clear hits only the last visual row and the\n * rest pile up in scrollback. Docker's build output during the apt-get\n * phase (Get:19 http://ports.ubuntu.com/... long URLs) routinely blows\n * past 100 columns.\n *\n * 2. When the message itself contains embedded newlines (multi-line),\n * clack only redraws the *first* line; subsequent lines from the\n * previous frame stay on the terminal, producing the \"stair-stepped\"\n * pile-up seen during `agentbox create --provider daytona` where\n * Daytona's `Image.fromDockerfile` callback hands us whole multi-line\n * chunks.\n *\n * The fix is to collapse multi-line input to its last non-empty line (the\n * most recent progress signal) and then clamp width.\n *\n * Falls back to the raw single-line input on non-TTY stdout (no spinner is\n * drawn, so wrapping is harmless).\n */\nconst SPINNER_CHROME = 6;\n\nexport function clampSpinnerLine(line: string): string {\n // Collapse to a single line first — the last non-empty line is almost\n // always the freshest progress signal (e.g. \"Get:21 http://... [49 kB]\").\n const collapsed = collapseToLastLine(line);\n const cols = process.stdout.columns;\n if (!process.stdout.isTTY || !cols) return collapsed;\n const trimmed = collapsed.replace(/\\s+$/, '');\n const max = cols - SPINNER_CHROME;\n if (max <= 1 || trimmed.length <= max) return trimmed;\n return `${trimmed.slice(0, max - 1)}…`;\n}\n\nfunction collapseToLastLine(s: string): string {\n // Strip CR (so CRLF and bare \\r progress bars both fold) and split on \\n.\n const lines = s.replace(/\\r/g, '\\n').split('\\n');\n for (let i = lines.length - 1; i >= 0; i--) {\n const line = lines[i];\n if (line && line.trim().length > 0) return line;\n }\n return '';\n}\n","/** In-box absolute workspace path (matches the bind-mount in every provider). */\nexport const BOX_WORKSPACE = '/workspace';\n\n// `encodeClaudeProjectsDir` and `BOX_WORKSPACE_ENCODED` moved to\n// `@agentbox/agent-claude`: the encoding is Claude Code's own\n// `~/.claude/projects/<encoded>/` scheme, and its only consumer is claude's\n// session teleport. `sandbox-core` keeps a separate copy of the same rule\n// (`encodeClaudeProjectsKey`) because it sits below the agent packages and\n// cannot import one — that duplication is the layering, not an oversight.\n","/**\n * Shared types/errors for the session-teleport module. Kept separate so the\n * per-agent files (`claude.ts` / `codex.ts` / `opencode.ts`) don't form an\n * import cycle through `index.ts`.\n */\nimport type { AgentId } from '@agentbox/core';\n\nexport type TeleportAgent = AgentId;\n\nexport type TeleportLogger = (line: string) => void;\n\n/**\n * Caller-supplied \"what resume mode is this\" struct. Mirrors the user-facing\n * flag set:\n * - `{ kind: 'continue' }` for `-c` / `--continue` (newest session for cwd)\n * - `{ kind: 'resume', id }` for `--resume <id>` (specific session)\n */\nexport type ResumeMode = { kind: 'continue' } | { kind: 'resume'; id: string };\n\nexport interface ResolvedTeleport {\n agent: TeleportAgent;\n /** The session id we resolved (uuid). */\n sessionId: string;\n /**\n * Host-side path to the rewritten session file ready for upload. Lives in a\n * tmp dir under `os.tmpdir()` — the caller does not need to clean it up;\n * normal tmp cleanup applies.\n */\n hostFile: string;\n /** Absolute in-box destination path including filename. */\n boxPath: string;\n /** Absolute in-box destination directory — useful for `mkdir -p` before upload. */\n boxParentDir: string;\n /**\n * Canonical argv tokens to prepend to the agent's argv inside the box, e.g.\n * `['--resume', '<uuid>']` for claude or `['resume', '<uuid>']` for codex.\n */\n forwardArgs: string[];\n}\n\nexport class TeleportError extends Error {\n constructor(message: string) {\n super(message);\n this.name = 'TeleportError';\n }\n}\n","// Thin wrapper around @clack/prompts whose interactive input prompts quit the\n// process on Ctrl+C instead of returning the cancel symbol. Without it, the\n// historical `if (isCancel(x) || !x)` pattern at every call site silently\n// mapped Ctrl+C onto a \"No\" answer and the command kept going.\n//\n// Re-exports the rest of the surface (log, spinner, intro, outro, note, cancel,\n// isCancel, group, tasks, …) unchanged so callers swap a single import line.\n\nimport {\n cancel as clackCancel,\n confirm as clackConfirm,\n groupMultiselect as clackGroupMultiselect,\n isCancel,\n multiselect as clackMultiselect,\n password as clackPassword,\n select as clackSelect,\n selectKey as clackSelectKey,\n text as clackText,\n type ConfirmOptions,\n type GroupMultiSelectOptions,\n type MultiSelectOptions,\n type PasswordOptions,\n type SelectOptions,\n type TextOptions,\n} from '@clack/prompts';\n\nexport * from '@clack/prompts';\n\n// 128 + SIGINT (the conventional Ctrl+C exit code).\nfunction onCancel(): never {\n clackCancel('Cancelled.');\n process.exit(130);\n}\n\nexport async function confirm(opts: ConfirmOptions): Promise<boolean> {\n const v = await clackConfirm(opts);\n if (isCancel(v)) onCancel();\n return v;\n}\n\nexport async function select<Value>(opts: SelectOptions<Value>): Promise<Value> {\n const v = await clackSelect<Value>(opts);\n if (isCancel(v)) onCancel();\n return v;\n}\n\nexport async function selectKey<Value extends string>(opts: SelectOptions<Value>): Promise<Value> {\n const v = await clackSelectKey<Value>(opts);\n if (isCancel(v)) onCancel();\n return v;\n}\n\nexport async function multiselect<Value>(opts: MultiSelectOptions<Value>): Promise<Value[]> {\n const v = await clackMultiselect<Value>(opts);\n if (isCancel(v)) onCancel();\n return v;\n}\n\nexport async function groupMultiselect<Value>(\n opts: GroupMultiSelectOptions<Value>,\n): Promise<Value[]> {\n const v = await clackGroupMultiselect<Value>(opts);\n if (isCancel(v)) onCancel();\n return v;\n}\n\nexport async function text(opts: TextOptions): Promise<string> {\n const v = await clackText(opts);\n if (isCancel(v)) onCancel();\n return v;\n}\n\nexport async function password(opts: PasswordOptions): Promise<string> {\n const v = await clackPassword(opts);\n if (isCancel(v)) onCancel();\n return v;\n}\n","/**\n * The shared CLI plumbing an agent needs, as a package.\n *\n * WHY IT EXISTS. Each agent's CLI surface — its command descriptor, runtime,\n * login and teleport — is moving out of `apps/cli/src/agents/<id>/` and into\n * `packages/agent-<id>/`. Those files import a dozen small helpers from around\n * the CLI, and a package cannot import `apps/cli`: that is the same cycle the\n * data/behaviour split exists to avoid.\n *\n * So the helpers move DOWN rather than the agents moving up. Everything here is\n * a leaf or near-leaf — the whole set imports only `@agentbox/core`,\n * `@clack/prompts` and `@xterm/headless` outside itself, which is what made it\n * extractable as one piece rather than a long unravelling.\n *\n * WHAT DOES NOT BELONG HERE. The command FACTORY\n * (`apps/cli/src/agents/command/factory.ts`) stays in the CLI: its closure is\n * the entire create/attach pipeline — ~1,500 lines across `create-action.ts`,\n * `start-attach.ts` and `options.ts`. An agent package exports an\n * `AgentCliSpec` DESCRIPTOR and the CLI builds the command from it, which is\n * the shape `AgentCliSpec` already had. Moving the factory would drag the whole\n * pipeline out of the app for no gain.\n */\n\nexport {\n stripAnsi,\n trimUrl,\n URL_BODY,\n INVALID_CODE,\n type AgentLoginSpec,\n type LoginNeed,\n} from './agent-login-specs.js';\nexport { withLoginDefaults, type AgentLoginBinding } from './agent-login-bindings.js';\nexport { applySkipPermissions, type SkipPermissionsRule } from './skip-permissions.js';\nexport {\n loadPtyBackend,\n type PtyBackend,\n type PtySpawn,\n type IPtyLike,\n type TerminalCtor,\n} from './pty-backend.js';\nexport { clampSpinnerLine } from './spinner-line.js';\nexport { BOX_WORKSPACE } from './cwd-encoding.js';\nexport {\n TeleportError,\n type TeleportAgent,\n type TeleportLogger,\n type ResumeMode,\n type ResolvedTeleport,\n} from './teleport-types.js';\n// The seven cancel-aware wrappers, plus the `@clack/prompts` surface consumers\n// reach through this module.\n//\n// Named rather than `export *`: `prompt.ts` star-re-exports `@clack/prompts`,\n// and `@clack/prompts` is EXTERNAL to this package's bundle, so esbuild cannot\n// see through the star to know what names it carries — a re-export of a\n// re-export of an external module resolves to nothing, and every consumer of\n// `log` / `spinner` / `intro` fails at the CLI's build, not here.\nexport {\n confirm,\n select,\n selectKey,\n multiselect,\n groupMultiselect,\n text,\n password,\n} from './prompt.js';\nexport { intro, log, note, outro, spinner, isCancel, cancel } from '@clack/prompts';\nexport {\n makeProgressReporter,\n imageProgress,\n isImageDecisionLine,\n type ProgressReporter,\n} from './progress.js';\nexport { runGuidedLogin, type GuidedLoginResult } from './guided-login.js';\nexport {\n runAgentLogin,\n rejectionMessage,\n type AgentLoginPhase,\n type AgentLoginPhaseUpdate,\n type RunAgentLoginOptions,\n type RunAgentLoginResult,\n} from './agent-login-run.js';\nexport { openCommandLog, logToActiveCommand, type CommandLog } from './log-file.js';\n\n// The agent CLI contract. It lives here so an agent PACKAGE can implement it —\n// it used to sit in `apps/cli/src/agents/command/types.ts`, which a package\n// cannot import.\nexport type {\n SignInResult,\n AttachExtras,\n CreateRouting,\n HostCredVerdict,\n AgentResumeSupport,\n AgentRuntime,\n AgentLoginHost,\n AgentCommandText,\n AgentCreateContext,\n PreparedSeed,\n AgentPreflight,\n AgentCreateAdjust,\n AgentBeforeCreateContext,\n AgentHostServices,\n AgentSetupWizardRequest,\n AgentSetupWizardOutcome,\n AgentPlanFileRequest,\n AgentClipboardServices,\n AgentCommandHooks,\n HookOutput,\n AgentSubcommands,\n AgentCliSpec,\n AttachWrapped,\n CarryEntries,\n} from './agent-contract.js';\nexport { RESUME_SEED } from './agent-contract.js';\n\nexport { defineAgentModule, type AgentModule, type TeleportResolver } from './agent-module.js';\nexport {\n PtyBackendUnavailable,\n PtyHostAlreadyRunning,\n Utf8Joiner,\n probeSocket,\n startPtyHost,\n type PtyHostHandle,\n type PtyHostSpec,\n} from './pty-host.js';\nexport { PTY_REPLAY_RESET, PtyEscScanner, PtyRing, type PtyRingOptions } from './pty-ring.js';\n","/**\n * `makeProgressReporter(verbose)` — small adapter around the clack spinner\n * that lets long-running commands (`create`, `claude`, `codex`,\n * `opencode`) opt into a `-v / --verbose` mode that bypasses the spinner\n * entirely and streams raw output to stderr.\n *\n * Without `--verbose` the returned object proxies a clack `spinner()`:\n * - `start(label)` → `s.start(label)`\n * - `message(line)` → `s.message(clampSpinnerLine(line))`\n * - `stop(label)` → `s.stop(label)`\n *\n * With `--verbose` the spinner is never created. `start` / `stop` write a\n * single status line to stderr; `message` writes the raw, unclamped line\n * (preserving any newlines from the provider). This is the right mode\n * for the ~7-min cold cloud create where users want to see real progress.\n *\n * Either way, callers should still write every line to `cmdLog` so the\n * full transcript lands in `~/.agentbox/logs/<command>.log`. This helper\n * only handles the user-visible surface.\n */\nimport { spinner } from '@clack/prompts';\nimport { clampSpinnerLine } from './spinner-line.js';\nimport { logToActiveCommand } from './log-file.js';\n\nexport interface ProgressReporter {\n start(label: string): void;\n message(line: string): void;\n /** `code` is clack's stop code — non-zero renders the line as a failure. */\n stop(label: string, code?: number): void;\n}\n\nexport function makeProgressReporter(verbose: boolean): ProgressReporter {\n if (!verbose) {\n const s = spinner();\n return {\n start: (label) => s.start(label),\n message: (line) => s.message(clampSpinnerLine(line)),\n stop: (label, code) => s.stop(label, code),\n };\n }\n return {\n start: (label) => process.stderr.write(`${label} (verbose)\\n`),\n message: (line) => process.stderr.write(line.endsWith('\\n') ? line : line + '\\n'),\n stop: (label) => process.stderr.write(`${label}\\n`),\n };\n}\n\n/**\n * An `onProgress` for `ensureImage` that shows the line on `s` AND records it in\n * the active command log.\n *\n * The image layer decides whether to pull a published base or rebuild it\n * locally (~10 minutes). That decision, and the reason a pull was skipped, used\n * to go only to the spinner — which overwrites itself, so nothing survived to be\n * read afterwards and a rate-limited pull looked exactly like an unpublished\n * tag. Every create-style command routes `ensureImage` through this.\n */\nexport function imageProgress(s: { message(line: string): void }): (line: string) => void {\n return (line) => {\n s.message(clampSpinnerLine(line));\n if (isImageDecisionLine(line)) logToActiveCommand(line);\n };\n}\n\n/**\n * True for `ensureImage`'s own decision lines, false for docker's per-layer\n * output (`<hex>: Pulling fs layer`, `Download complete`, `Extracting`, …).\n *\n * The `[image]` tag alone is not a usable discriminator: some callers prefix\n * *every* forwarded line with it, so matching on the tag would tee a hundred\n * layer lines into the log and bury the one line anyone needs. Match the\n * decision vocabulary instead.\n */\nexport function isImageDecisionLine(line: string): boolean {\n // Reject docker's per-layer output first — `<id>: Pulling fs layer` also\n // contains \"pulling\", so the allowlist alone would admit all of it.\n if (\n /:\\s*(pulling fs layer|waiting|downloading|download complete|extracting|pull complete|already exists|verifying checksum)/i.test(\n line,\n )\n ) {\n return false;\n }\n return DECISION_PATTERNS.some((re) => re.test(line));\n}\n\n/** The vocabulary `ensureImage` / `pullOrBuild` use for the pull-vs-build call. */\nconst DECISION_PATTERNS: RegExp[] = [\n /\\bpulling\\b/i,\n /\\bpulled\\b/i,\n /\\bpull failed\\b/i,\n /\\bbuilding\\b/i,\n /\\bnot present\\b/i,\n /\\bup to date\\b/i,\n /\\bbuild context changed\\b/i,\n /no docker-prepared/i,\n /authenticat/i, // \"retrying authenticated\", \"could not authenticate\"\n /\\bcould not\\b/i,\n];\n","import {\n closeSync,\n mkdirSync,\n openSync,\n renameSync,\n symlinkSync,\n unlinkSync,\n writeFileSync,\n writeSync,\n} from 'node:fs';\nimport { homedir } from 'node:os';\nimport { join } from 'node:path';\nimport { parseProviderWarning } from '@agentbox/core';\n\nexport interface CommandLog {\n /** Absolute path agents can tail. */\n path: string;\n /** Append a line with an ISO timestamp prefix; a trailing newline is added if missing. */\n write(line: string): void;\n /** Append raw bytes verbatim — for subprocess streams that already carry their own newlines. */\n raw(chunk: string): void;\n /** Time a step; emits BEGIN/END markers and elapsed ms. On throw, emits FAIL and rethrows. */\n step<T>(name: string, fn: () => Promise<T>): Promise<T>;\n /**\n * Lines a provider marked with `providerWarning()` — decisions the user must\n * still see once the spinner chrome they streamed through is gone. Collected\n * here rather than at each `onLog` site because a create wires five of them,\n * and a warning is worth exactly as much from any one.\n */\n warnings(): string[];\n /** Idempotent. */\n close(): void;\n}\n\nfunction stateDir(): string {\n return process.env.AGENTBOX_HOME ?? join(homedir(), '.agentbox');\n}\n\nfunction logsDir(): string {\n return join(stateDir(), 'logs');\n}\n\n/**\n * Open a fresh, tee'd log file for a CLI command. Rotates one generation:\n * any prior `<command>.log` becomes `<command>.log.prev`, replacing an\n * older prev. Also updates `<logsDir>/latest.log` to point at the active\n * file so an agent can tail one stable path without knowing the command.\n *\n * Writes are synchronous; callers can fire-and-forget from spinner\n * callbacks. The fd is closed on `close()` and on `process.exit` so a\n * crash still flushes everything that was written.\n */\n/**\n * The log for the command currently running, when one opened a log at all.\n *\n * Exists so deep layers can record a decision without every caller threading a\n * logger down to them. The concrete case: `ensureImage`'s pull-vs-build progress\n * is wired only to a @clack spinner, which overwrites itself — so the single\n * most expensive branch in a create (pull a published image, or rebuild it for\n * ten minutes) left NO trace on disk, and a silently rate-limited pull was\n * indistinguishable from an unpublished tag when reading the logs afterwards.\n */\nlet activeCommandLog: CommandLog | null = null;\n\n/**\n * Append to the active command log, if any. A no-op when nothing opened one\n * (a short command, or a unit test), so callers never need to check.\n */\nexport function logToActiveCommand(line: string): void {\n activeCommandLog?.write(line);\n}\n\nexport function openCommandLog(command: string): CommandLog {\n const dir = logsDir();\n mkdirSync(dir, { recursive: true });\n\n const path = join(dir, `${command}.log`);\n const prev = join(dir, `${command}.log.prev`);\n try {\n // Move the previous run aside. EEXIST on rename is the typical case\n // (a `.prev` from the run before that) — overwrite it.\n renameSync(path, prev);\n } catch {\n /* nothing to rotate */\n }\n\n const fd = openSync(path, 'a');\n const startedAt = new Date().toISOString();\n writeSync(fd, `${startedAt} --- BEGIN ${command} (pid ${String(process.pid)}) ---\\n`);\n\n updateLatestSymlink(dir, path);\n\n let closed = false;\n const closeOnce = (): void => {\n if (closed) return;\n closed = true;\n if (activeCommandLog === log) activeCommandLog = null;\n try {\n writeSync(fd, `${new Date().toISOString()} --- END ${command} ---\\n`);\n } catch {\n /* fd already gone */\n }\n try {\n closeSync(fd);\n } catch {\n /* already closed */\n }\n };\n // Last-resort flush. Don't unhook anything else; this is purely additive.\n process.on('exit', closeOnce);\n\n const warnings: string[] = [];\n const log: CommandLog = {\n path,\n warnings(): string[] {\n return [...warnings];\n },\n write(line: string): void {\n if (closed) return;\n // Collect, but write the line through UNCHANGED. A queued job's log is a\n // transport, not just a record: the hub worker writes here and the CLI\n // streams those lines back, so stripping the marker at this end would\n // consume it before the process that has a terminal ever sees it. Keeping\n // it also makes a past warning greppable in `~/.agentbox/logs`.\n // De-duplicated: a retried step can emit the same warning twice.\n const marked = parseProviderWarning(line.trimEnd());\n if (marked && !warnings.includes(marked)) warnings.push(marked);\n const ts = new Date().toISOString();\n const body = line.endsWith('\\n') ? line : line + '\\n';\n try {\n writeSync(fd, `${ts} ${body}`);\n } catch {\n /* swallow — never break the command on log write failure */\n }\n },\n raw(chunk: string): void {\n if (closed) return;\n try {\n writeSync(fd, chunk);\n } catch {\n /* swallow */\n }\n },\n async step<T>(name: string, fn: () => Promise<T>): Promise<T> {\n const t0 = Date.now();\n this.write(`--- BEGIN ${name} ---`);\n try {\n const out = await fn();\n this.write(`--- END ${name} (${String(Date.now() - t0)}ms) ---`);\n return out;\n } catch (err) {\n const msg = err instanceof Error ? err.message : String(err);\n this.write(`--- FAIL ${name} (${String(Date.now() - t0)}ms): ${msg} ---`);\n throw err;\n }\n },\n close: closeOnce,\n };\n activeCommandLog = log;\n return log;\n}\n\nfunction updateLatestSymlink(dir: string, target: string): void {\n const link = join(dir, 'latest.log');\n try {\n unlinkSync(link);\n } catch {\n /* not present */\n }\n try {\n symlinkSync(target, link);\n } catch {\n // Windows or restricted FS: leave a text pointer instead. Best-effort.\n try {\n writeFileSync(link, target + '\\n');\n } catch {\n /* give up — symlink is a convenience, not a contract */\n }\n }\n}\n","/**\n * Guided login: the TTY default for `agentbox <agent> login`.\n *\n * The legacy `interactive` passthrough hands the user's terminal straight to the\n * agent's own in-container TUI (`docker run -it`, `stdio: 'inherit'`). That TUI\n * negotiates raw-mode and enhanced-keyboard sequences with whatever emulator it\n * finds, and we control none of it — on kitty (CSI-u keyboard protocol) claude's\n * paste-code prompt stops accepting input entirely.\n *\n * Guided mode never gives the container the terminal. The login runs under a pty\n * ({@link runAgentLogin}), its raw stream goes to the command log, and we\n * reproduce the interaction with our own clack prompts on the host — which works\n * the same in every terminal.\n */\n// Deliberately NOT `lib/prompt.js`: that wrapper exits the process on Ctrl+C,\n// which would strand the login container. We need the cancel symbol back so we\n// can abort the pty (killing `docker run --rm`) before exiting.\nimport { isCancel, log, password, spinner, text } from '@clack/prompts';\nimport { runAgentLogin } from './agent-login-run.js';\nimport type { AgentLoginBinding } from './agent-login-bindings.js';\nimport type { LoginNeed } from './agent-login-specs.js';\nimport { openCommandLog } from './log-file.js';\n\nexport interface GuidedLoginResult {\n ok: boolean;\n error?: string;\n warmed?: boolean;\n /** The container asked something we can't drive from the host (see the reason). */\n unsupported?: string;\n /** The user cancelled at one of our prompts. */\n cancelled?: boolean;\n}\n\n/** Show the approval URL on its own line so it stays clickable/selectable. */\nfunction printUrl(url: string): void {\n process.stdout.write(`\\n ${url}\\n\\n`);\n}\n\n/**\n * `createBinding` is a factory rather than a value so the binding's own progress\n * notes (claude's warm-up) land in the command log this function opens.\n */\nexport async function runGuidedLogin(\n agent: string,\n createBinding: (writeLog: (line: string) => void) => AgentLoginBinding,\n): Promise<GuidedLoginResult> {\n const cmdLog = openCommandLog(`${agent}-login`);\n const binding = createBinding((line) => cmdLog.write(line));\n const { spec } = binding;\n const abort = new AbortController();\n\n let pendingInput: string | null = null;\n let prompting = false;\n let cancelled = false;\n\n const s = spinner();\n let spinning = false;\n const startSpinner = (msg: string): void => {\n if (!spinning) {\n s.start(msg);\n spinning = true;\n } else s.message(msg);\n };\n const stopSpinner = (msg?: string): void => {\n if (!spinning) return;\n spinning = false;\n s.stop(msg);\n };\n\n /**\n * Collect what the container is waiting for. Fired from `onPhase` (sync), so\n * it runs detached; `prompting` keeps a re-published phase from stacking a\n * second prompt on the same question.\n */\n const promptFor = (need: LoginNeed, lastError?: string): void => {\n if (prompting || cancelled) return;\n prompting = true;\n void (async () => {\n stopSpinner();\n if (lastError) log.warn(lastError);\n\n let answer: string | symbol;\n if (need.kind === 'secret') {\n if (need.hint) log.info(`Create one at: ${need.hint}`);\n answer = await password({ message: `Enter your ${need.label}` });\n } else if (need.kind === 'paste-code') {\n log.info('Open this URL in a browser and approve access:');\n printUrl(need.url);\n answer = await text({\n message: 'Paste the code from the browser',\n validate: (v) => (v.trim().length === 0 ? 'Paste the code to continue' : undefined),\n });\n } else return; // browser-only / unsupported never prompt\n\n if (isCancel(answer)) {\n cancelled = true;\n cmdLog.write('cancelled at the host prompt');\n abort.abort();\n return;\n }\n pendingInput = answer.trim();\n prompting = false;\n startSpinner('completing sign-in');\n })();\n };\n\n startSpinner('starting sign-in');\n\n const result = await runAgentLogin({\n spec,\n dockerArgv: binding.dockerArgv,\n // The raw container stream goes to the log, NEVER to the user's terminal.\n writeRaw: (chunk) => cmdLog.raw(chunk),\n writeLog: (line) => cmdLog.write(line),\n onPhase: (phase, update) => {\n if (phase === 'awaiting-approval' && update?.url) {\n stopSpinner();\n log.info('Open this URL in a browser and sign in:');\n printUrl(update.url);\n if (update.userCode) log.info(`Enter this one-time code: ${update.userCode}`);\n startSpinner('waiting for you to approve in the browser');\n return;\n }\n if (phase === 'awaiting-code' && update?.need) {\n promptFor(update.need, update.lastError);\n }\n },\n getInput: () => {\n const v = pendingInput;\n pendingInput = null;\n return v;\n },\n verify: binding.verify,\n finalize: binding.finalize,\n signal: abort.signal,\n });\n\n stopSpinner();\n cmdLog.close();\n\n if (cancelled) return { ok: false, cancelled: true };\n return {\n ok: result.ok,\n error: result.error,\n warmed: result.warmed,\n unsupported: result.unsupported,\n };\n}\n","/**\n * Agent-agnostic core of the guided/headless login flow: drive an agent's\n * `login` command in a throwaway docker container under a node-pty, mirror its\n * output to a sink (never to the user's terminal), publish what it is waiting\n * for, feed back whatever the caller collects, and report the outcome.\n *\n * Everything agent-specific is injected: the docker argv, the prompt detectors\n * ({@link AgentLoginSpec}), and the post-exit `verify`/`finalize` hooks. The IPC\n * is injected too (raw/log/phase/input sinks), so callers reuse the same loop\n * with different transports:\n * - `commands/claude.ts` guided mode → clack prompts on the host\n * - `commands/_claude-login-worker.ts` (`--headless`) → file-backed state\n * - the create-job worker (`_run-queued-job.ts`) → the queue manifest's `login` sub-state\n *\n * PKCE requires the URL-printer and the code-exchanger to be the same process,\n * which is why this holds one live login process for its whole lifetime.\n */\nimport { loadPtyBackend } from './pty-backend.js';\nimport { stripAnsi, type AgentLoginSpec, type LoginNeed } from './agent-login-specs.js';\n\nconst URL_TIMEOUT_MS = 60_000;\nconst INPUT_TIMEOUT_MS = 10 * 60_000;\nconst POLL_MS = 500;\nconst BUF_CAP = 64 * 1024;\n\n/**\n * `awaiting-code` covers both the paste-code and secret prompts (the caller\n * collects a string either way). `awaiting-approval` is the browser-only device\n * flow, where nothing is typed. The claude specs never emit `awaiting-approval`,\n * so `runClaudeLogin`'s narrower `LoginPhase` contract still holds.\n */\nexport type AgentLoginPhase =\n | 'starting'\n | 'awaiting-code'\n | 'awaiting-approval'\n | 'exchanging'\n | 'done'\n | 'error';\n\nexport interface AgentLoginPhaseUpdate {\n url?: string;\n /** Device-flow code the browser asks for (codex). */\n userCode?: string;\n /** What the container is waiting for; set alongside an `awaiting-*` phase. */\n need?: LoginNeed;\n error?: string;\n lastError?: string;\n warmed?: boolean;\n exitCode?: number;\n}\n\nexport interface RunAgentLoginOptions {\n spec: AgentLoginSpec;\n /** Full `docker run …` argv for this agent's login (built by the caller). */\n dockerArgv: string[];\n /** Verbatim mirror of the container's pty stream (do NOT reformat, do NOT print). */\n writeRaw: (chunk: string) => void;\n /** Optional annotated log line (progress notes, not the raw stream). */\n writeLog?: (line: string) => void;\n /** Publish a phase transition. */\n onPhase: (phase: AgentLoginPhase, update?: AgentLoginPhaseUpdate) => void;\n /** Poll+consume the input the container is waiting for (null when none yet). */\n getInput: () => string | null | undefined;\n /** True once the login actually wrote credentials (checked after a 0 exit). */\n verify: () => Promise<boolean>;\n /** Post-success work — claude's warm-up + host-backup sync. */\n finalize?: () => Promise<{ warmed?: boolean }>;\n /** Abort the login (e.g. on SIGTERM); resolves with an error result. */\n signal?: AbortSignal;\n urlTimeoutMs?: number;\n /** How long to wait for the user's input (paste-code / secret) or browser approval. */\n inputTimeoutMs?: number;\n}\n\nexport interface RunAgentLoginResult {\n ok: boolean;\n error?: string;\n warmed?: boolean;\n exitCode?: number;\n /** Set when the container asked something we can't drive from the host. */\n unsupported?: string;\n}\n\n/**\n * What to tell the user when the agent rejects their input and re-prompts. The\n * same code path serves both input shapes, so the wording has to follow the\n * need: telling someone whose API key was refused to \"paste a fresh code\" is\n * nonsense.\n */\nexport function rejectionMessage(need: LoginNeed | null): string {\n if (need?.kind === 'secret') return `that ${need.label} was not accepted — try another`;\n return 'the code was not accepted — paste a fresh one';\n}\n\n/** Last meaningful line(s) of buffered output, stripped of escapes and clamped. */\nfunction tailOf(buf: string): string {\n const lines = stripAnsi(buf)\n .replace(/\\r/g, '')\n .split('\\n')\n .map((l) => l.trim())\n .filter((l) => l.length > 0);\n const tail = lines.slice(-2).join(' ');\n return tail.length > 240 ? tail.slice(-240) : tail;\n}\n\n/**\n * Run one agent login to completion. Resolves when the login process exits or a\n * timeout/abort fires; `onPhase` is called for every transition so the caller can\n * mirror state to its own transport.\n */\nexport async function runAgentLogin(opts: RunAgentLoginOptions): Promise<RunAgentLoginResult> {\n const urlTimeoutMs = opts.urlTimeoutMs ?? URL_TIMEOUT_MS;\n const inputTimeoutMs = opts.inputTimeoutMs ?? INPUT_TIMEOUT_MS;\n const writeLog = opts.writeLog ?? ((): void => {});\n const { spec } = opts;\n\n const backend = await loadPtyBackend();\n if (!backend) {\n const error = 'pty-unavailable: the node-pty prebuild is not installed';\n opts.onPhase('error', { error });\n return { ok: false, error };\n }\n\n writeLog(`spawning: docker ${opts.dockerArgv.join(' ')}`);\n\n return await new Promise<RunAgentLoginResult>((resolve) => {\n let buf = '';\n let phase: AgentLoginPhase = 'starting';\n let need: LoginNeed | null = null;\n let lastError: string | undefined;\n let finished = false;\n const disposers: Array<() => void> = [];\n\n // Never emit a phase after the login has finished (e.g. an abort or timeout\n // that already resolved). Otherwise the post-exit finalize continuation could\n // race in and publish `done` after the caller already treated login as failed.\n const setPhase = (next: AgentLoginPhase, update?: AgentLoginPhaseUpdate): void => {\n if (finished) return;\n phase = next;\n opts.onPhase(next, update);\n };\n\n const pty = backend.ptySpawn('docker', opts.dockerArgv, {\n name: 'xterm-256color',\n cols: 200,\n rows: 50,\n env: process.env,\n });\n\n const finish = (result: RunAgentLoginResult): void => {\n if (finished) return;\n finished = true;\n for (const d of disposers) d();\n try {\n pty.kill();\n } catch {\n /* already gone */\n }\n resolve(result);\n };\n\n if (opts.signal) {\n const onAbort = (): void => {\n if (finished) return;\n const error = 'login aborted';\n writeLog('aborted');\n setPhase('error', { error });\n finish({ ok: false, error });\n };\n if (opts.signal.aborted) onAbort();\n else {\n opts.signal.addEventListener('abort', onAbort, { once: true });\n disposers.push(() => opts.signal?.removeEventListener('abort', onAbort));\n }\n }\n\n // Poll for the caller's input; only consume one while actually awaiting it.\n const inputPoll = setInterval(() => {\n if (finished || phase !== 'awaiting-code') return;\n const value = opts.getInput();\n if (value) {\n // Never log the value itself — for opencode it is an API key.\n writeLog('received input; submitting to login');\n setPhase('exchanging');\n pty.write(value + '\\r');\n }\n }, POLL_MS);\n disposers.push(() => clearInterval(inputPoll));\n\n pty.onData((d: string) => {\n buf += d;\n if (buf.length > BUF_CAP) buf = buf.slice(-BUF_CAP);\n opts.writeRaw(d);\n\n if (!need) {\n const found = spec.detect(buf);\n if (!found) return;\n need = found;\n if (found.kind === 'unsupported') {\n writeLog(`unsupported prompt: ${found.reason}`);\n // Nothing has been submitted, so killing here leaves no half-login.\n finish({ ok: false, unsupported: found.reason, error: found.reason });\n return;\n }\n if (found.kind === 'browser-only') {\n writeLog(`published device url: ${found.url}`);\n setPhase('awaiting-approval', { url: found.url, userCode: found.userCode, need: found });\n return;\n }\n const url = found.kind === 'paste-code' ? found.url : undefined;\n if (url) writeLog(`published auth url: ${url}`);\n setPhase('awaiting-code', { url, need: found });\n return;\n }\n\n if (phase === 'exchanging' && spec.invalidInputPattern?.test(d)) {\n lastError = rejectionMessage(need);\n writeLog('input rejected; back to awaiting-code');\n setPhase('awaiting-code', { lastError, need: need ?? undefined });\n }\n });\n\n pty.onExit(({ exitCode }: { exitCode: number }) => {\n if (finished) return;\n writeLog(`login process exited code=${String(exitCode)}`);\n void (async () => {\n let wrote = false;\n try {\n wrote = await opts.verify();\n } catch {\n /* treat as no-creds */\n }\n if (exitCode === 0 && wrote) {\n const { warmed } = (await opts.finalize?.()) ?? {};\n setPhase('done', { warmed });\n finish({ ok: true, warmed, exitCode });\n return;\n }\n const tail = tailOf(buf);\n let error =\n exitCode === 0\n ? 'login exited without writing credentials'\n : `login exited with code ${String(exitCode)}`;\n if (lastError) error = lastError;\n if (tail) error += ` — ${tail}`;\n setPhase('error', { error, exitCode });\n finish({ ok: false, error, exitCode });\n })();\n });\n\n const urlTimer = setTimeout(() => {\n if (need || finished) return;\n const error = `${spec.agent} login never printed an auth URL (see the log)`;\n writeLog('no auth URL within timeout');\n setPhase('error', { error });\n finish({ ok: false, error });\n }, urlTimeoutMs);\n disposers.push(() => clearTimeout(urlTimer));\n\n const inputTimer = setTimeout(() => {\n // Only abort while still WAITING — never kill an in-flight exchange (input\n // submitted near the deadline, or a slow token exchange + finalize, must be\n // allowed to finish). `awaiting-approval` polls the browser, so it waits too.\n if (finished || phase === 'exchanging' || phase === 'done' || phase === 'error') return;\n const error = 'timed out waiting for approval (10 min) — run login again';\n writeLog('no input within timeout; aborting');\n setPhase('error', { error });\n finish({ ok: false, error });\n }, inputTimeoutMs);\n disposers.push(() => clearTimeout(inputTimer));\n });\n}\n","/**\n * The contract between `buildAgentCommand()` and one agent.\n *\n * `agentbox claude`, `agentbox codex` and `agentbox opencode` were three\n * hand-maintained clones: 4,866 lines, of which ~1,070 were byte-identical once\n * the agent's name was normalised out. Everything an agent genuinely needs to\n * say for itself is here, split three ways:\n *\n * - {@link AgentRuntime} — the docker-side bindings and the agent's own login\n * code. It lives in `agents/<id>/runtime.ts`, so a path that only needs to\n * restart a session (`agent-sessions.ts`) can load it without pulling a\n * commander tree behind it.\n * - {@link AgentCommandText} — the strings that differ. Almost every option's\n * help is identical modulo the agent name; only the ones that are genuinely\n * different are slots here, and `test/_fixtures/agent-cli-surface.json` is\n * what proves the rest really were the same.\n * - {@link AgentCommandHooks} — the five places an agent runs its OWN code\n * inside the shared body. Deliberately a closed, small set: if an agent needs\n * a sixth, the body is not actually shared and forking it is the honest answer.\n */\nimport type { AttachOpenIn, EffectiveConfig, UserConfig } from '@agentbox/config';\nimport type { AgentId, ResolvedCarryEntry } from '@agentbox/core';\nimport type { BoxRecord, CreateBoxOptions } from '@agentbox/sandbox-docker';\nimport type { Command } from 'commander';\nimport type { AgentLoginBinding } from './agent-login-bindings.js';\nimport type { ResolvedTeleport } from './teleport-types.js';\nimport type { AgentSyncSpec } from '@agentbox/sandbox-core';\n\n/** Result of an agent's guided-or-passthrough sign-in. */\nexport interface SignInResult {\n ok: boolean;\n error?: string;\n cancelled?: boolean;\n}\n\n/** Extra wrapped-attach wiring only some agents have (claude's clipboard paste). */\n/**\n * The two paste hooks an agent contributes to a wrapped attach.\n *\n * Declared here rather than `Pick`ed off `WrappedAttachOptions`: that type lives\n * in the CLI's PTY compositor, and this contract has to be importable by an\n * agent PACKAGE, which cannot import `apps/cli`. The compositor's options type\n * is structurally compatible, so the direction of the dependency is the only\n * thing that changed.\n */\nexport interface AttachExtras {\n onPasteImage?: () => Promise<'pasted' | 'no-image' | 'error'>;\n onPasteImageFile?: (hostPath: string) => Promise<string | null>;\n}\n\n/**\n * Where a cloud create runs. Mirrors `control-plane/route-create.ts`'s union —\n * two variants, and the contract only ever reads `where`.\n */\nexport type CreateRouting = { where: 'hub' } | { where: 'local'; fellBackReason?: string };\n\n/**\n * An agent's verdict on its own host credentials, for the `-i` pre-flight.\n * `'expired'` is the present-but-unrenewable case; an agent with no such\n * concept simply never returns it.\n */\nexport type HostCredVerdict =\n | { status: 'ok' }\n | { status: 'missing' }\n | { status: 'expired'; message: string };\n\n/**\n * How the box's recorded session is brought back — read by `agent-sessions.ts`\n * on restart/unpause, and by `<agent> attach` when a down box comes back up.\n * Absent for an agent whose registry row says `caps.resume: false`.\n */\nexport interface AgentResumeSupport {\n /**\n * Args that resume the box's recorded session, or null if there is none.\n * `exec` runs a read-only shell snippet in the box and returns its trimmed\n * stdout ('' on any failure) — the probe is a pointer file the in-box activity\n * hooks maintain.\n *\n * The result is always APPENDED to the user's args, never prepended: codex's\n * `resume` is a subcommand that must follow the global flags, and claude's\n * `--resume <id>` is order-insensitive, so one rule covers both.\n */\n resumeArgs(exec: (script: string) => Promise<string>): Promise<string[] | null>;\n}\n\n/** The docker-side bindings + login code for one agent. */\n/**\n * What a login action needs from the app. Two leaf calls, injected rather than\n * imported: `syncAgentCredentialsIfChanged` reaches the control-plane module\n * (2,700 lines) and `handleLifecycleError` maps an error to an exit code — both\n * live in `apps/cli`, which an agent package cannot import.\n */\nexport interface AgentLoginHost {\n /** Push a refreshed credential to the control box. Best-effort, never throws. */\n syncCredentialsIfChanged(): Promise<void>;\n /** Map a lifecycle error to a message + exit code. Never returns. */\n fail(err: unknown): never;\n}\n\nexport interface AgentRuntime {\n /** Shared docker config volume — the one a throwaway login container writes. */\n sharedVolume: string;\n /** Thrown when the in-box tmux session cannot be started; caught by name. */\n SessionError: new (...args: never[]) => Error;\n\n startSession(o: {\n container: string;\n args: string[];\n sessionName: string;\n boxName: string;\n workspacePath: string;\n }): Promise<void>;\n sessionInfo(container: string, sessionName: string): Promise<{ running: boolean }>;\n ensureInstalled(container: string, o: { onProgress: (line: string) => void }): Promise<unknown>;\n ensureVolume(\n target: { volume: string },\n o: { syncFromHost: boolean; image: string; hostWorkspace?: string },\n ): Promise<unknown>;\n buildAttachArgv(container: string, sessionName: string | undefined): string[];\n\n /**\n * The volume `<agent> start` rsyncs the host config into, or undefined to skip\n * the sync entirely. Not the same question for every agent: claude falls back\n * to the shared volume (its config always syncs), while codex and opencode\n * skip when the box has no volume of theirs mounted — a box created by a plain\n * `agentbox create` on a host with no such config.\n */\n resolveConfigVolume(box: BoxRecord): string | undefined;\n /** The `createBox` per-agent config option (`{ codexConfig: { isolate } }`). */\n createBoxConfig(isolate: boolean): Partial<CreateBoxOptions>;\n\n /** `<agent>.sessionName` — a typed accessor, because `@agentbox/config` is a\n * zero-dependency leaf and cannot read the agent registry to generate keys. */\n sessionNameOf(cfg: EffectiveConfig): string;\n /** `box.isolate<Agent>Config`. */\n isolateOf(cfg: EffectiveConfig): boolean;\n /**\n * Per-invocation config overrides this agent's own flags produce:\n * `--session-name`, `--dangerously-skip-permissions` and\n * `--isolate-<id>-config`. Returned as a `UserConfig` fragment because the\n * keys live under per-agent blocks (`codex.sessionName`,\n * `box.isolateCodexConfig`) that `@agentbox/config` cannot generate — it is a\n * zero-dependency leaf with no access to the agent registry.\n */\n cliOverrides(o: {\n sessionName?: string;\n skipPermissions?: boolean;\n isolate?: boolean;\n }): Partial<UserConfig>;\n\n /**\n * The agent's \"never prompt me\" flag, or null when it has none (opencode).\n * Non-null is also what makes the command grow\n * `--dangerously-skip-permissions` / `--no-…`.\n */\n skipPermissions: {\n /** The flag as the agent spells it — quoted in this option's help. */\n flag: string;\n /** What the flag does, in the user's words: `auto-accept tool use`. */\n effect: string;\n /** Prepend the flag unless the user already governed that surface. */\n apply(args: string[], cfg: EffectiveConfig): string[];\n } | null;\n\n /** First-run sign-in offer before a DOCKER box is built. Silent no-op when\n * already authenticated / non-TTY / `--yes`. */\n offerDockerLogin(o: { image: string; yes: boolean; hostWorkspace: string }): Promise<void>;\n /** Same offer before a CLOUD box: cloud has no shared volume, so the login has\n * to land in the host backup for the per-box push to seed. */\n offerCloudLogin(o: { image: string; yes: boolean; hostWorkspace: string }): Promise<void>;\n /** The `<agent> login` subcommand's sign-in: guided under a pty, or the\n * agent's own TUI when forced / unavailable. */\n signIn(image: string, extraArgs: string[], o: { passthrough?: boolean }): Promise<SignInResult>;\n /** Guided-login binding — used by `agentbox <agent> login` machinery. */\n loginBinding(o: {\n image: string;\n extraArgs?: string[];\n writeLog?: (line: string) => void;\n }): AgentLoginBinding;\n /**\n * Whether `<agent> login` needs a terminal. `always` for a flow that prompts\n * (opencode's provider picker); `interactive-only` when the guided flow needs\n * no keystroke at all (codex's device code) and only the `--interactive`\n * passthrough does.\n */\n loginNeedsTty: 'always' | 'interactive-only';\n /**\n * Whether a non-TTY run must already have usable credentials. True for claude:\n * without a terminal there is no way to complete an in-box login, so booting a\n * box whose agent then sits on its login screen wastes the user's time. Absent\n * means \"don't check\".\n */\n requireCredsWhenNonTty?(): Promise<boolean>;\n /**\n * This agent's verdict on its own host credentials, for the `-i` pre-flight.\n *\n * Required, not optional: the shared helper used to dispatch with\n * `agent === 'codex' ? … : opencode`, so an agent nobody had wired got\n * OpenCode's check and a wrong answer. Making it part of the contract turns\n * that into a compile error.\n */\n hostCredStatus(o: {\n image: string;\n env: NodeJS.ProcessEnv;\n isCloud: boolean;\n }): Promise<HostCredVerdict>;\n /** An agent whose login is a protocol of its own replaces the default\n * subcommand body here — see `command/login.ts`. */\n loginCommand?: {\n /** Extra flags, declared BEFORE `--interactive`. */\n options?(cmd: Command): void;\n /**\n * Replaces the whole action.\n *\n * `host` carries the two app-level calls a login needs and an agent package\n * cannot import: pushing a refreshed credential to a control box, and the\n * CLI's error-to-exit-code mapping. Both are leaf calls — plain data in,\n * nothing back — so injecting them is what lets this action live in the\n * agent's own package instead of the app.\n */\n run(args: string[], opts: Record<string, unknown>, host: AgentLoginHost): Promise<void>;\n };\n /**\n * Whether `agentbox <agent>` probes for the binary on a freshly created box.\n * False for claude, which never has: its create always derives an image with\n * the agent baked in. Turning it on would be a behavior change on the daily\n * driver's hot path, so it stays declared rather than silently unified.\n */\n ensureInstalledOnCreate: boolean;\n\n resume?: AgentResumeSupport;\n}\n\n/** Per-agent help strings that are genuinely different, not just re-spelled. */\nexport interface AgentCommandText {\n /** Parent command description. */\n description: string;\n /** `--isolate-<id>-config`: the volume as the user thinks of it (`~/.codex`). */\n isolateVolumeLabel: string;\n /** `start --no-sync-config`: what gets rsynced (`~/.codex`, `OpenCode config`). */\n syncConfigLabel: string;\n /** Example args after `--`, e.g. `-m gpt-5.4`. */\n argsExample: string;\n /** Appended to `-v, --verbose`'s description. */\n verboseExtra?: string;\n /** Appended to `-i, --initial-prompt`'s description. */\n initialPromptExtra?: string;\n /** How this agent names a session handle: `id` or `uuid`. */\n resumeIdWord: string;\n /** Refusal for `-i` alongside `-c` / `--resume`. */\n resumeWithPromptError: string;\n /** Warning when `--via-hub` is overruled because host state is teleported at\n * create time and the hub worker cannot reproduce it. */\n hubIncompatibleReason: string;\n /** `-c` / `--resume` help. Replaced wholesale when `caps.teleport` is a stub. */\n continueHelp: string;\n resumeHelp: string;\n /** Same two, on the `start` subcommand (shorter — no \"and resume from it\"). */\n startContinueHelp: string;\n startResumeHelp: string;\n attachDescription: string;\n startDescription: string;\n /** Refusal when `--resume`/`-c` targets a box whose session is already live. */\n resumeIntoRunningError(boxName: string): string;\n loginDescription: string;\n loginArgsHelp: string;\n loginInteractiveHelp: string;\n}\n\n/** What the create body has already resolved when a hook runs. */\n/**\n * App capabilities an agent's hooks can ask for.\n *\n * These are things the CLI *application* owns — the setup wizard, base-image\n * freshness and re-bake, host clipboard capture, plan-file staging. An agent\n * package cannot import them: it sits BELOW `apps/cli` in the graph, so\n * reaching for them directly would make `apps/cli -> agent package -> apps/cli`.\n *\n * So they are passed in. That is the whole reason this interface exists, and it\n * is what let claude's command descriptor move into `@agentbox/agent-claude`\n * alongside the other three. Nothing here is claude-specific: any agent that\n * wants a setup wizard or image paste gets the same seam.\n */\nexport interface AgentHostServices {\n /**\n * Run the first-run setup wizard, and act on its answer.\n *\n * Deliberately one call rather than three. The caller used to resolve the\n * create route, decide whether this machine's base was even relevant, grade\n * its freshness, run the wizard, and re-bake on `rebuildBase` — five steps of\n * pure app policy that had nothing to do with the agent asking for them. All\n * of it is on this side of the seam now; the agent passes the one thing only\n * it knows and reads plain data back.\n */\n setupWizard(req: AgentSetupWizardRequest): Promise<AgentSetupWizardOutcome>;\n /**\n * Stage a host file for upload into the box as an agent \"plan\" — resolved on\n * the host so a bad path fails before the user pays for a box. Throws on a\n * missing file; the message is already user-facing.\n */\n resolvePlanFile(req: AgentPlanFileRequest): Promise<ResolvedTeleport>;\n /** Host clipboard / image upload, for an agent whose TUI accepts pasted images. */\n clipboard: AgentClipboardServices;\n /** One-time nudge to install the host skill. Safe to call unconditionally. */\n showInstallHint(): void;\n}\n\nexport interface AgentSetupWizardRequest {\n /**\n * False when the user named a checkpoint explicitly (`--snapshot`). A default\n * that turned out to be stale or dead may be discarded; an explicit one never is.\n */\n checkpointFromDefault: boolean;\n}\n\n/**\n * The wizard's answer, as an agent sees it. A subset of the app's own outcome:\n * `rebuildBase` is absent on purpose — the re-bake already happened behind\n * {@link AgentHostServices.setupWizard}.\n */\nexport interface AgentSetupWizardOutcome {\n action: 'proceed' | 'switch-to-claude' | 'launch-with-prompt';\n /** The opening turn the user typed, when `action` is `launch-with-prompt`. */\n initialPrompt?: string;\n /** Host files picked in the env-import multiselect, relative to the workspace. */\n envFilesToImport?: string[];\n /** The resolved default checkpoint must not be used — stale, or its artifact is gone. */\n discardCheckpoint?: boolean;\n}\n\nexport interface AgentPlanFileRequest {\n /** Host path, `~` allowed. */\n path: string;\n hostCwd: string;\n log: (line: string) => void;\n /**\n * In-box directory to upload the plan into — the asking agent's own\n * (`/home/vscode/.claude/plans` for claude). Passed rather than looked up so\n * the staging helper stays agent-neutral.\n */\n boxParentDir: string;\n}\n\nexport interface AgentClipboardServices {\n /**\n * Whether this host can capture a clipboard image at all (macOS, or a Linux\n * desktop with xclip/wl-paste). When false the agent should leave Ctrl+V\n * alone rather than intercept it for a guaranteed-empty paste.\n */\n available(): Promise<boolean>;\n /** Paste the host clipboard image into the box. */\n pasteImage(box: BoxRecord): Promise<'pasted' | 'no-image' | 'error'>;\n /** Upload a host image file into the box; resolves to the in-box path, or null. */\n pasteImageFile(box: BoxRecord, hostPath: string): Promise<string | null>;\n}\n\nexport interface AgentCreateContext {\n opts: Record<string, unknown>;\n /**\n * Whether this create runs on the control box or here — resolved lazily and\n * memoised. Claude's setup wizard has to know before it can decide whether\n * this machine's stale base is even going to be used; the other agents only\n * ask inside the cloud branch, and a docker run that never asks never pays\n * the control-box round trip.\n */\n routing(): Promise<CreateRouting>;\n /** Host workspace (`-w`). */\n workspace: string;\n cfg: EffectiveConfig;\n projectRoot: string;\n providerName: string;\n /** Append a line to `~/.agentbox/logs/<agent>.log`. */\n writeLog(line: string): void;\n /** Close the command log and exit — hooks that refuse must not leak the fd. */\n fail(message: string, code?: number): never;\n /** App capabilities a hook may need; see {@link AgentHostServices}. */\n host: AgentHostServices;\n}\n\n/**\n * A host-side payload prepared BEFORE any box work, uploaded once the box\n * exists. Session teleport and claude's `--plan` are the same shape: resolve on\n * the host so a bad session id fails before the user pays for a box, upload\n * after create, then optionally prefix the agent's argv.\n */\nexport interface PreparedSeed {\n /** Progress label, e.g. `uploading claude session into box`. */\n label: string;\n /** Free-form marker so a later hook can find the seed it produced. */\n tag?: string;\n resolved: ResolvedTeleport;\n /** Args prefixed onto the agent's argv once the upload succeeds. */\n forwardArgs: string[];\n /** True when this seed owns the agent's opening turn, so a resync conflict\n * warning goes to stderr instead of being injected as a prompt. */\n ownsFirstTurn: boolean;\n}\n\nexport interface AgentPreflight {\n seeds: PreparedSeed[];\n /**\n * Forces a local build even when a control box is configured — host state\n * teleported at create time cannot be reproduced by the hub worker.\n *\n * There is deliberately no companion `reason` field: the wording lives once,\n * on `text.hubIncompatibleReason`. When a hook could supply it, claude's\n * `--plan`-only path forgot to, and `--via-hub` printed a blank warning line.\n */\n hubIncompatible?: boolean;\n}\n\n/** Adjustments a `beforeCreate` hook can make (claude's setup wizard). */\nexport interface AgentCreateAdjust {\n /**\n * Replace the resolved checkpoint. Present-but-undefined means \"drop it\" (the\n * wizard discarding a stale or dead default), which is why the body tests for\n * the KEY rather than for a truthy value.\n */\n checkpointRef?: string | undefined;\n /** Rewrite the agent's argv before skip-permissions is layered on. */\n argsTransform?: (args: string[]) => string[];\n /** True when `argsTransform` seeded the agent's opening turn, so a resync\n * conflict warning must go to stderr instead of becoming a second prompt. */\n seedsFirstTurn?: boolean;\n /** Host files to copy into `/workspace` at create time (the wizard's\n * env-import multiselect). */\n envFilesToImport?: string[];\n /** Stop here — the hook already did the work (or the user cancelled). */\n done?: boolean;\n}\n\n/** What `beforeCreate` additionally knows: the body has resolved both by then. */\nexport interface AgentBeforeCreateContext extends AgentCreateContext {\n /** The checkpoint the box would boot from, before any hook adjusts it. */\n checkpointRef: string | undefined;\n preflight: AgentPreflight;\n}\n\nexport interface AgentCommandHooks {\n /**\n * Resolve any ADDITIONAL host state before box work — claude's `--plan`.\n * Session teleport is not here: it is shared, and `base` is what the body\n * already resolved from `-c` / `--resume`, to be extended rather than redone.\n */\n preflight?(ctx: AgentCreateContext, base: AgentPreflight): Promise<AgentPreflight>;\n /** Runs after the gates and before the box is created. */\n beforeCreate?(ctx: AgentBeforeCreateContext): Promise<AgentCreateAdjust>;\n /**\n * Runs on a freshly created docker box, before the agent session starts.\n * Returns lines to log AFTER the spinner stops (claude's plugin-cache prune),\n * so they don't get overwritten by the next spinner message.\n */\n afterCreate?(\n box: BoxRecord,\n ctx: AgentCreateContext & { message: (line: string) => void },\n ): Promise<HookOutput | void>;\n /**\n * Runs on `<agent> start` / `<agent> attach` after the config volume is\n * synced, before the agent is launched — hook/plugin seeding.\n */\n afterVolumeSync?(\n box: BoxRecord,\n o: { volume: string; message: (line: string) => void },\n ): Promise<HookOutput | void>;\n /**\n * Extra wrapped-attach wiring (claude's clipboard paste handlers).\n *\n * Takes the clipboard services alone, not the full {@link AgentHostServices}:\n * attach runs outside a create, so there is no route, checkpoint or wizard to\n * hand it. Passing a bag whose other members would throw would be a lie about\n * what is available here.\n */\n attachExtras?(box: BoxRecord, clipboard: AgentClipboardServices): Promise<AttachExtras>;\n /** Last word on the built command — extra options, extra subcommands. */\n extendCommand?(cmd: Command, subcommands: AgentSubcommands): void;\n}\n\n/**\n * What a hook that runs UNDER the spinner hands back. Anything it wants the user\n * to read has to wait for `spinner.stop()` — a `log.warn` while the spinner is\n * live fights it for the line — so the hook returns callbacks instead of\n * printing.\n */\nexport interface HookOutput {\n deferred?: (() => void)[];\n}\n\n/** The subcommands the factory built, handed to `extendCommand`. */\nexport interface AgentSubcommands {\n attach: Command;\n start: Command;\n login: Command;\n}\n\nexport interface AgentCliSpec {\n id: AgentId;\n /** The registry row, by reference. */\n spec: AgentSyncSpec;\n /** Product name in prose: `Claude Code`, `OpenAI Codex`, `OpenCode`. */\n productName: string;\n /** Short name for intro/outro lines: `Claude`, `Codex`, `OpenCode`. */\n shortName: string;\n runtime: AgentRuntime;\n text: AgentCommandText;\n hooks?: AgentCommandHooks;\n /**\n * Whether this agent's launch can carry an opening turn. False for OpenCode,\n * whose interactive launch takes no seed prompt at all — so a resync-conflict\n * warning is always surfaced on stderr rather than injected.\n */\n acceptsSeedPrompt: boolean;\n /**\n * When the first-run sign-in offer and the Portless opt-in are asked.\n *\n * `before-gates` (claude) puts them ahead of the carry gate and the setup\n * wizard, so the user has signed in before the wizard can spend minutes\n * re-baking a stale base. `before-create` (codex, opencode) puts them right\n * before the box is built, which on the cloud path is AFTER the hub-routing\n * decision — so a box the control box is going to build never prompts for a\n * local login it will not use. Both orders are deliberate; unifying them would\n * lose one of the two properties.\n */\n signInOfferTiming: 'before-gates' | 'before-create';\n /** Attach to this agent's tmux session through the wrapped-pty footer. Built\n * by the factory from the runtime bindings; set here so the create body can\n * finish by attaching. */\n attachWrapped: AttachWrapped;\n}\n\n/** Attach entry point: never returns (ends in `process.exit`). */\nexport type AttachWrapped = (\n box: BoxRecord,\n sessionName: string | undefined,\n reattach: string,\n onError?: (msg: string) => void,\n openIn?: AttachOpenIn,\n) => Promise<never>;\n\n/** {@link PreparedSeed.tag} for the shared `-c` / `--resume` teleport. */\nexport const RESUME_SEED = 'resume';\n\n/** Carry entries resolved by the create body's gates. */\nexport type CarryEntries = ResolvedCarryEntry[];\n","/**\n * The CLI-side module an agent supplies: its login detector, its runtime\n * bindings, and its optional teleport resolver.\n *\n * Split from `apps/cli/src/agents/index.ts` for one reason — an agent PACKAGE\n * has to be able to build one of these, and a package cannot import the app.\n * The literal-import TABLE that loads them stays in the CLI, because its\n * specifiers must be statically resolvable by the CLI's own bundle.\n */\n\nimport type { AgentId } from '@agentbox/core';\nimport { resolveAgentSpec, type AgentSyncSpec } from '@agentbox/sandbox-core';\nimport type { AgentLoginSpec } from './agent-login-specs.js';\nimport type { AgentRuntime } from './agent-contract.js';\nimport type { ResolvedTeleport, ResumeMode, TeleportLogger } from './teleport-types.js';\n\n/** Host-side session resolve for one agent — see `session-teleport/index.ts`. */\nexport type TeleportResolver = (input: {\n hostCwd: string;\n mode: ResumeMode;\n log?: TeleportLogger;\n}) => Promise<ResolvedTeleport>;\n\nexport interface AgentModule {\n id: AgentId;\n /** The registry row, by reference. Never a copy — one source of truth. */\n spec: AgentSyncSpec;\n /** Guided-login prompt detector. */\n login: AgentLoginSpec;\n /**\n * Docker bindings and the agent's own login code — everything the CLI needs\n * that is not the commander tree. Kept here rather than on the command table\n * so a caller that only wants to restart a session (`agent-sessions.ts`) does\n * not pull three commanders' worth of imports to do it.\n */\n runtime: AgentRuntime;\n /**\n * Host session teleport. Absent exactly when the spec declares\n * `caps.teleport: 'stub'`; `prepareTeleport` refuses on the capability before\n * it ever looks here, so the two can never disagree silently.\n */\n teleport?: TeleportResolver;\n}\n\n/**\n * Build an agent's CLI module, taking its registry row BY REFERENCE.\n *\n * Never a copy: `agent-module-table.test.ts` asserts `mod.spec` is identical to\n * `resolveAgentSpec(id)`, so a divergent copy fails rather than drifting.\n */\nexport function defineAgentModule(\n id: AgentId,\n parts: Omit<AgentModule, 'id' | 'spec'>,\n): AgentModule {\n return { id, spec: resolveAgentSpec(id), ...parts };\n}\n","import { timingSafeEqual } from 'node:crypto';\nimport { chmod, rm } from 'node:fs/promises';\nimport { connect, createServer, type Server, type Socket } from 'node:net';\nimport { setTimeout as delay } from 'node:timers/promises';\nimport {\n PTY_PROTOCOL_VERSION,\n PtyFrameDecoder,\n PtyFrameError,\n encodeCtrl,\n encodeData,\n encodeExit,\n type PtyCtrlFromClient,\n type PtyCtrlFromHost,\n type PtyWindowSize,\n} from '@agentbox/core';\nimport {\n ensurePtyDir,\n ptySocketPath,\n removePtySession,\n writePtyMeta,\n type PtySessionMeta,\n} from '@agentbox/sandbox-core';\nimport { loadPtyBackend, type IPtyLike } from './pty-backend.js';\nimport { PTY_REPLAY_RESET, PtyRing } from './pty-ring.js';\n\nexport interface PtyHostSpec {\n managerId: string;\n workspaceId: string;\n agent: string;\n cwd: string;\n /** Login shell; the manager script is handed to it with `-lc`. */\n shell: string;\n script: string;\n env: Record<string, string>;\n token: string;\n runId: string;\n cols: number;\n rows: number;\n pinned: boolean;\n /**\n * `persistent` never reaps: only an explicit stop ends the session. `leased`\n * (the default) reaps once every lease holder has stayed away past the grace\n * window — a session nothing ever leased is never reaped either way.\n */\n lifetime?: 'leased' | 'persistent';\n leaseGraceMs: number;\n scrollbackBytes: number;\n windowSize: PtyWindowSize;\n submitDelayMs: number;\n /** Defaults to ~/.agentbox; tests point it at a temp dir. */\n baseDir?: string;\n}\n\nexport interface PtyHostHandle {\n socketPath: string;\n /** Resolves when the agent has exited and the host has cleaned up. */\n done: Promise<number>;\n stop(reason?: string): Promise<void>;\n}\n\nexport class PtyHostAlreadyRunning extends Error {\n constructor(readonly socketPath: string) {\n super(`a pty host is already listening on ${socketPath}`);\n this.name = 'PtyHostAlreadyRunning';\n }\n}\n\nexport class PtyBackendUnavailable extends Error {\n constructor() {\n super('node-pty is not available (optional prebuild missing)');\n this.name = 'PtyBackendUnavailable';\n }\n}\n\nconst REAP_TICK_MS = 5_000;\nconst NUDGE_DELAY_MS = 50;\nconst STOP_LADDER_MS = 2_000;\nconst HELLO_TIMEOUT_MS = 5_000;\n/** macOS `sun_path` is 104 bytes including the NUL; Linux gives 108. */\nconst MAX_SOCKET_PATH = 100;\n\ninterface Client {\n socket: Socket;\n decoder: PtyFrameDecoder;\n joiner: Utf8Joiner;\n id?: string;\n kind?: string;\n cols: number;\n rows: number;\n /** Last input or resize — reported as idleness, never used for sizing. */\n lastActiveAt: number;\n /**\n * Last attach or explicit resize. Sizing keys off this, not off keystrokes:\n * a client typing in a small window must not silently shrink a larger one the\n * next time some unrelated client attaches or leaves.\n */\n sizedAt: number;\n authed: boolean;\n}\n\ninterface Lease {\n lastSeenAt: number;\n}\n\n/**\n * Splits of a multi-byte character across two reads are rare but real (a chunk\n * boundary falls wherever the kernel put it), and node-pty's `write` takes a\n * string — so an incomplete tail must be held back rather than decoded into a\n * replacement character the agent would receive as garbage.\n */\nexport class Utf8Joiner {\n private tail = new Uint8Array(0);\n private readonly decoder = new TextDecoder('utf-8');\n\n push(chunk: Uint8Array): string {\n const merged = new Uint8Array(this.tail.length + chunk.length);\n merged.set(this.tail, 0);\n merged.set(chunk, this.tail.length);\n const cut = completeLength(merged);\n this.tail = merged.slice(cut);\n return cut === 0 ? '' : this.decoder.decode(merged.slice(0, cut));\n }\n}\n\n/** Length of the prefix of `bytes` that ends on a complete UTF-8 sequence. */\nfunction completeLength(bytes: Uint8Array): number {\n for (let back = 1; back <= 3 && back <= bytes.length; back += 1) {\n const byte = bytes[bytes.length - back] as number;\n if ((byte & 0xc0) === 0x80) continue; // continuation byte, keep walking back\n const need = byte >= 0xf0 ? 4 : byte >= 0xe0 ? 3 : byte >= 0xc0 ? 2 : 1;\n return need > back ? bytes.length - back : bytes.length;\n }\n return bytes.length;\n}\n\nfunction tokenMatches(expected: string, given: string): boolean {\n const a = Buffer.from(expected);\n const b = Buffer.from(given);\n return a.length === b.length && timingSafeEqual(a, b);\n}\n\n/**\n * Is something already serving this socket path? A stale socket file from a\n * crashed host must be replaced, but a live one must never be — unlinking it\n * would strand every attached client while the agent kept running unreachable.\n */\nexport async function probeSocket(path: string): Promise<boolean> {\n return await new Promise<boolean>((resolve) => {\n const sock = connect(path);\n const done = (alive: boolean): void => {\n sock.destroy();\n resolve(alive);\n };\n sock.once('connect', () => done(true));\n sock.once('error', () => done(false));\n setTimeout(() => done(false), 500).unref();\n });\n}\n\nexport async function startPtyHost(spec: PtyHostSpec): Promise<PtyHostHandle> {\n const backend = await loadPtyBackend();\n if (!backend) throw new PtyBackendUnavailable();\n\n const socketPath = ptySocketPath(spec.managerId, spec.baseDir);\n // A unix socket path longer than the platform's `sun_path` fails `listen`\n // with a bare EINVAL, which reads as a kernel problem rather than a path\n // problem. Say what it actually is.\n if (Buffer.byteLength(socketPath) > MAX_SOCKET_PATH) {\n throw new Error(\n `socket path is ${Buffer.byteLength(socketPath)} bytes, over the ${MAX_SOCKET_PATH}-byte unix socket limit: ${socketPath}`,\n );\n }\n await ensurePtyDir(spec.baseDir);\n if (await probeSocket(socketPath)) throw new PtyHostAlreadyRunning(socketPath);\n await rm(socketPath, { force: true });\n\n const clients = new Set<Client>();\n const leases = new Map<string, Lease>();\n const ring = new PtyRing({ maxBytes: spec.scrollbackBytes });\n let everLeased = false;\n let pinned = spec.pinned;\n let leaseGraceMs = spec.leaseGraceMs;\n let windowSize = spec.windowSize;\n let cols = spec.cols;\n let rows = spec.rows;\n let nudging = false;\n let stopping = false;\n let alive = true;\n let nudgeTimer: NodeJS.Timeout | undefined;\n\n /**\n * Every pty call is guarded: the agent can exit between a client's request\n * and the call it triggers (a deferred repaint nudge is the reliable way to\n * hit this), and node-pty throws ENOTTY out of the event loop for a write or\n * resize on a dead pty — an uncaught exception that would take the host with\n * it, killing the session's cleanup along the way.\n */\n const ptyWrite = (data: string): void => {\n if (!alive) return;\n try {\n pty.write(data);\n } catch {\n /* the agent is gone; the exit path handles the rest */\n }\n };\n const ptyResize = (nextCols: number, nextRows: number): void => {\n if (!alive) return;\n try {\n pty.resize(nextCols, nextRows);\n } catch {\n /* same */\n }\n };\n const ptyKill = (signal: string): void => {\n if (!alive) return;\n try {\n pty.kill(signal);\n } catch {\n /* same */\n }\n };\n\n const pty: IPtyLike = backend.ptySpawn(spec.shell, ['-lc', spec.script], {\n name: 'xterm-256color',\n cols,\n rows,\n cwd: spec.cwd,\n // One stable terminfo for every client (tray, CLI, a future web bridge), so\n // the agent's key and mouse encodings do not change with who is attached.\n env: { ...spec.env, TERM: 'xterm-256color' },\n });\n\n // From here on the agent is RUNNING. Anything that throws before the socket\n // is serving would otherwise leave it alive with no meta and no socket — a\n // process nothing can reach, find or reap.\n const killOrphan = (): void => {\n try {\n pty.kill('SIGKILL');\n } catch {\n /* already gone */\n }\n };\n\n const meta: PtySessionMeta = {\n v: 1,\n managerId: spec.managerId,\n workspaceId: spec.workspaceId,\n agent: spec.agent,\n cwd: spec.cwd,\n socket: socketPath,\n pid: process.pid,\n startedAt: new Date().toISOString(),\n token: spec.token,\n runId: spec.runId,\n cols,\n rows,\n pinned,\n leaseGraceMs,\n };\n try {\n await writePtyMeta(meta, spec.baseDir);\n } catch (err) {\n killOrphan();\n throw err;\n }\n\n const send = (client: Client, bytes: Uint8Array): void => {\n if (!client.socket.destroyed) client.socket.write(bytes);\n };\n const tell = (client: Client, message: PtyCtrlFromHost): void =>\n send(client, encodeCtrl(message));\n\n pty.onData((data) => {\n const bytes = Buffer.from(data, 'utf8');\n ring.push(bytes);\n const frame = encodeData(bytes);\n for (const client of clients) if (client.authed) send(client, frame);\n });\n\n let resolveDone: (code: number) => void = () => {};\n const done = new Promise<number>((resolve) => {\n resolveDone = resolve;\n });\n\n pty.onExit(async ({ exitCode }) => {\n alive = false;\n if (nudgeTimer) clearTimeout(nudgeTimer);\n meta.exitCode = exitCode;\n meta.exitedAt = new Date().toISOString();\n const frame = encodeExit(exitCode);\n for (const client of clients) {\n if (client.authed) send(client, frame);\n client.socket.end();\n }\n server.close();\n clearInterval(reaper);\n await removePtySession(spec.managerId, spec.baseDir).catch(() => {});\n resolveDone(exitCode);\n });\n\n /**\n * Clients that are a terminal someone could be watching. The hub's own\n * control connection is not one (it attaches 0x0, reads nothing and leaves).\n */\n const watchers = (except?: Client): number =>\n [...clients].filter((c) => c !== except && c.authed && c.cols > 0 && c.rows > 0).length;\n\n const applySize = (): void => {\n // Only clients that ARE a terminal size the session. The hub connects with\n // 0x0 precisely so it never steers the size, and a pty resized to 0 is not\n // a small pty — node-pty throws, which used to take the host (and the\n // agent) down with it.\n const connected = [...clients].filter((c) => c.authed && c.cols > 0 && c.rows > 0);\n if (connected.length === 0) return;\n let next = connected[0] as Client;\n for (const client of connected) {\n if (windowSize === 'latest' && client.sizedAt > next.sizedAt) next = client;\n if (windowSize === 'smallest' && client.rows * client.cols < next.rows * next.cols)\n next = client;\n if (windowSize === 'largest' && client.rows * client.cols > next.rows * next.cols)\n next = client;\n }\n if (next.cols === cols && next.rows === rows) return;\n cols = next.cols;\n rows = next.rows;\n ptyResize(cols, rows);\n const size: PtyCtrlFromHost = { t: 'size', cols, rows, by: next.id ?? 'unknown' };\n for (const client of clients) if (client.authed) tell(client, size);\n };\n\n /**\n * A replayed frame is a snapshot, not a live one: the agent has no idea a new\n * client appeared. Toggling the size makes it redraw — the same SIGWINCH\n * repaint tmux got for free by owning a screen model.\n */\n const nudgeRepaint = (): void => {\n if (nudging) return;\n nudging = true;\n ptyResize(cols, Math.max(1, rows - 1));\n nudgeTimer = setTimeout(() => {\n ptyResize(cols, rows);\n nudging = false;\n }, NUDGE_DELAY_MS);\n nudgeTimer.unref();\n };\n\n const exitedWithin = async (ms: number): Promise<boolean> =>\n await Promise.race([done.then(() => true), delay(ms).then(() => false)]);\n\n const stopLadder = async (): Promise<void> => {\n if (stopping) return;\n stopping = true;\n ptyKill('SIGHUP');\n if (await exitedWithin(STOP_LADDER_MS)) return;\n ptyKill('SIGTERM');\n if (await exitedWithin(STOP_LADDER_MS)) return;\n ptyKill('SIGKILL');\n };\n\n const onCtrl = async (client: Client, message: PtyCtrlFromClient): Promise<void> => {\n if (message.t === 'hello') {\n if (client.authed) return;\n if (message.v !== PTY_PROTOCOL_VERSION) {\n tell(client, {\n t: 'error',\n code: 'unsupported-version',\n message: `host speaks protocol ${PTY_PROTOCOL_VERSION}`,\n });\n client.socket.end();\n return;\n }\n if (!tokenMatches(spec.token, message.token)) {\n tell(client, { t: 'error', code: 'unauthorized', message: 'bad token' });\n client.socket.end();\n return;\n }\n client.authed = true;\n client.id = message.client.id;\n client.kind = message.client.kind;\n client.cols = message.client.cols;\n client.rows = message.client.rows;\n client.lastActiveAt = Date.now();\n client.sizedAt = Date.now();\n if (message.lease?.hold) {\n everLeased = true;\n leases.set(message.client.id, { lastSeenAt: Date.now() });\n }\n tell(client, {\n t: 'welcome',\n v: PTY_PROTOCOL_VERSION,\n managerId: spec.managerId,\n agent: spec.agent,\n cwd: spec.cwd,\n cols,\n rows,\n clients: [...clients].filter((c) => c.authed).length,\n ...(meta.exitCode === undefined ? {} : { exited: meta.exitCode }),\n });\n if (message.replay !== false) {\n const { prologue, body } = ring.replay();\n tell(client, { t: 'replay-begin', bytes: body.length });\n send(client, encodeData(Buffer.from(PTY_REPLAY_RESET + prologue, 'utf8')));\n if (body.length > 0) send(client, encodeData(body));\n tell(client, { t: 'replay-end' });\n }\n applySize();\n if (client.cols === cols && client.rows === rows) nudgeRepaint();\n return;\n }\n if (!client.authed) {\n tell(client, { t: 'error', code: 'unauthorized', message: 'hello first' });\n client.socket.end();\n return;\n }\n switch (message.t) {\n case 'resize':\n client.cols = message.cols;\n client.rows = message.rows;\n client.lastActiveAt = Date.now();\n client.sizedAt = Date.now();\n applySize();\n return;\n case 'inject': {\n // Newlines are flattened: each one would submit a fragment of the\n // message. The pause before Enter is the same rule the tmux carrier\n // needed — an agent TUI reads a burst ending in Enter as a paste and\n // keeps the Enter as a newline instead of submitting.\n const flat = message.text.replace(/\\s*[\\r\\n]+\\s*/gu, ' ').trim();\n if (flat.length > 0) ptyWrite(flat);\n if (message.submit !== false) {\n await delay(message.submitDelayMs ?? spec.submitDelayMs);\n ptyWrite('\\r');\n }\n return;\n }\n case 'lease':\n everLeased = true;\n leases.set(client.id ?? 'anonymous', { lastSeenAt: Date.now() });\n tell(client, {\n t: 'lease-ack',\n expiresAt: new Date(Date.now() + message.ttlMs + leaseGraceMs).toISOString(),\n });\n return;\n case 'release':\n // An explicit release is \"I am done with this session\", not \"I went\n // away\": no grace window, unless the session is meant to outlive it.\n leases.delete(client.id ?? 'anonymous');\n if (leases.size === 0 && everLeased && !pinned && spec.lifetime !== 'persistent') {\n void stopLadder();\n }\n return;\n case 'stop':\n void stopLadder();\n return;\n case 'signal':\n // INT goes in as a keystroke: the agent is the foreground job of a\n // shell inside the pty, so a signal to the pty's leader would miss it.\n if (message.name === 'INT') ptyWrite('\\u0003');\n else ptyKill(`SIG${message.name}`);\n return;\n case 'status':\n tell(client, {\n t: 'status-report',\n managerId: spec.managerId,\n pid: process.pid,\n clients: [...clients].filter((c) => c.authed).length,\n leaseHolders: [...leases.keys()],\n pinned,\n idleMs: Date.now() - Math.max(...[...clients].map((c) => c.lastActiveAt), 0),\n cols,\n rows,\n });\n return;\n case 'configure':\n if (message.pinned !== undefined) pinned = message.pinned;\n if (message.leaseGraceMs !== undefined) leaseGraceMs = message.leaseGraceMs;\n if (message.windowSize !== undefined) windowSize = message.windowSize;\n meta.pinned = pinned;\n meta.leaseGraceMs = leaseGraceMs;\n await writePtyMeta(meta, spec.baseDir).catch(() => {});\n return;\n case 'bye':\n client.socket.end();\n return;\n default:\n return;\n }\n };\n\n const server: Server = createServer((socket) => {\n socket.setNoDelay(true);\n const client: Client = {\n socket,\n decoder: new PtyFrameDecoder(),\n joiner: new Utf8Joiner(),\n cols: spec.cols,\n rows: spec.rows,\n lastActiveAt: Date.now(),\n sizedAt: Date.now(),\n authed: false,\n };\n clients.add(client);\n const helloTimer = setTimeout(() => {\n if (!client.authed) socket.destroy();\n }, HELLO_TIMEOUT_MS);\n helloTimer.unref();\n\n socket.on('data', (chunk: Buffer) => {\n let frames;\n try {\n frames = client.decoder.push(chunk);\n } catch (err) {\n const code = err instanceof PtyFrameError ? err.code : 'bad-frame';\n tell(client, { t: 'error', code, message: (err as Error).message });\n socket.destroy();\n return;\n }\n for (const frame of frames) {\n if (frame.type === 'input') {\n if (!client.authed) continue;\n client.lastActiveAt = Date.now();\n const text = client.joiner.push(frame.payload);\n if (text.length > 0) ptyWrite(text);\n continue;\n }\n if (frame.type === 'ctrl') {\n void onCtrl(client, frame.message as PtyCtrlFromClient);\n }\n }\n });\n socket.on('error', () => socket.destroy());\n socket.on('close', () => {\n clearTimeout(helloTimer);\n clients.delete(client);\n applySize();\n });\n });\n\n try {\n await new Promise<void>((resolve, reject) => {\n server.once('error', reject);\n server.listen(socketPath, () => resolve());\n });\n } catch (err) {\n killOrphan();\n await removePtySession(spec.managerId, spec.baseDir).catch(() => {});\n throw err;\n }\n await chmod(socketPath, 0o600).catch(() => {});\n\n const reaper = setInterval(() => {\n const now = Date.now();\n // A connected holder is live by definition; only a gone one ages out.\n for (const client of clients) {\n if (client.authed && client.id && leases.has(client.id)) {\n leases.set(client.id, { lastSeenAt: now });\n }\n }\n if (spec.lifetime === 'persistent' || !everLeased || pinned || stopping) return;\n for (const lease of leases.values()) {\n if (now - lease.lastSeenAt <= leaseGraceMs) return;\n }\n // Someone is still looking at it. A lease says \"this session is mine to\n // reap\", never \"nobody else may be here\": a terminal attached by hand holds\n // none, and SIGHUPing the agent out from under it would be the worst\n // possible reading of a client quitting elsewhere.\n if (watchers() > 0) return;\n void stopLadder();\n }, REAP_TICK_MS);\n\n return {\n socketPath,\n done,\n stop: async () => {\n await stopLadder();\n },\n };\n}\n","/**\n * The replay buffer behind \"attach and see what the agent is doing\".\n *\n * tmux could repaint a late attacher because it parsed every byte into a screen\n * model. Owning the pty instead means the host forwards raw bytes, so a client\n * that connects after the agent started has missed both the screen AND the\n * one-shot mode announcements (mouse reporting, bracketed paste, key encoding)\n * that a TUI emits once at startup and never repeats — without them the mouse\n * and paste are dead for that client.\n *\n * So the ring keeps recent output plus two derived facts: the last point in the\n * stream where the screen was wiped (replaying from there is a clean frame, not\n * half of one) and the sticky mode set currently in force.\n */\n\nconst ESC = 0x1b;\n\n/** DEC private modes worth re-asserting for a late attacher. */\nconst STICKY_DEC_MODES = new Set([\n 1, // DECCKM — application cursor keys\n 7, // auto-wrap\n 12, // cursor blink\n 25, // cursor visible\n 1000, // mouse: press/release\n 1002, // mouse: button-drag tracking\n 1003, // mouse: any-motion tracking\n 1004, // focus reporting\n 1005, // mouse: utf-8 coords\n 1006, // mouse: SGR coords\n 1015, // mouse: urxvt coords\n 2004, // bracketed paste\n]);\n\nconst ALT_SCREEN_MODES = new Set([47, 1047, 1049]);\n\ntype ScanState = 'text' | 'esc' | 'csi';\n\n/**\n * Streaming scanner over pty output. Fed byte by byte so a sequence split\n * across two chunks is still understood — the split is the common case, not the\n * edge case, since a chunk boundary falls wherever the kernel decided.\n */\nexport class PtyEscScanner {\n private state: ScanState = 'text';\n private params: number[] = [];\n private paramDigits = '';\n private prefix = '';\n private readonly decModes = new Set<number>();\n private modifyOtherKeys?: string;\n private kittyKeyboard?: string;\n\n /** Absolute stream offset just past the last full-screen wipe. */\n safeOffset = 0;\n /** Absolute count of bytes ever fed. */\n offset = 0;\n altScreen = false;\n\n push(chunk: Uint8Array): void {\n for (const byte of chunk) {\n this.offset += 1;\n this.step(byte);\n }\n }\n\n /** The sticky modes, as the bytes needed to put a fresh client into them. */\n modePrologue(): string {\n let out = '';\n if (this.altScreen) out += '\\u001b[?1049h';\n for (const mode of this.decModes) {\n if (ALT_SCREEN_MODES.has(mode)) continue;\n out += `\\u001b[?${mode}h`;\n }\n if (this.modifyOtherKeys) out += this.modifyOtherKeys;\n if (this.kittyKeyboard) out += this.kittyKeyboard;\n return out;\n }\n\n private step(byte: number): void {\n if (this.state === 'text') {\n if (byte === ESC) this.state = 'esc';\n return;\n }\n if (this.state === 'esc') {\n if (byte === 0x5b) {\n this.state = 'csi';\n this.params = [];\n this.paramDigits = '';\n this.prefix = '';\n return;\n }\n // RIS (ESC c) wipes everything: the cleanest resume point there is.\n if (byte === 0x63) this.markSafe();\n this.state = byte === ESC ? 'esc' : 'text';\n return;\n }\n // CSI: collect prefix/params until a final byte in 0x40..0x7e.\n if (byte >= 0x30 && byte <= 0x39) {\n this.paramDigits += String.fromCharCode(byte);\n return;\n }\n if (byte === 0x3b) {\n this.pushParam();\n return;\n }\n if (byte === 0x3f || byte === 0x3e || byte === 0x3c || byte === 0x3d) {\n this.prefix = String.fromCharCode(byte);\n return;\n }\n if (byte >= 0x20 && byte <= 0x2f) return; // intermediate bytes\n if (byte >= 0x40 && byte <= 0x7e) {\n this.pushParam();\n this.final(String.fromCharCode(byte));\n this.state = 'text';\n return;\n }\n this.state = 'text';\n }\n\n private pushParam(): void {\n if (this.paramDigits.length > 0) {\n this.params.push(Number(this.paramDigits));\n this.paramDigits = '';\n } else if (this.prefix !== '' || this.params.length > 0) {\n this.params.push(0);\n }\n }\n\n private final(ch: string): void {\n if (this.prefix === '?' && (ch === 'h' || ch === 'l')) {\n const on = ch === 'h';\n for (const mode of this.params) {\n if (ALT_SCREEN_MODES.has(mode)) {\n this.altScreen = on;\n this.markSafe();\n }\n if (!STICKY_DEC_MODES.has(mode) && !ALT_SCREEN_MODES.has(mode)) continue;\n if (on) this.decModes.add(mode);\n else this.decModes.delete(mode);\n }\n return;\n }\n if (this.prefix === '>' && ch === 'm') {\n const [mode, level] = this.params;\n if (mode === 4) {\n this.modifyOtherKeys = level === undefined ? '\\u001b[>4m' : `\\u001b[>4;${level}m`;\n }\n return;\n }\n if (this.prefix === '>' && ch === 'u') {\n this.kittyKeyboard = `\\u001b[>${this.params[0] ?? 1}u`;\n return;\n }\n if (this.prefix === '' && ch === 'J' && (this.params[0] === 2 || this.params[0] === 3)) {\n this.markSafe();\n }\n }\n\n private markSafe(): void {\n this.safeOffset = this.offset;\n }\n}\n\nexport interface PtyRingOptions {\n maxBytes: number;\n}\n\n/** Recent pty output, capped, with the scanner's view of where to resume. */\nexport class PtyRing {\n private chunks: Uint8Array[] = [];\n private bytes = 0;\n /** Absolute offset of the first byte still retained. */\n private dropped = 0;\n private readonly scanner = new PtyEscScanner();\n private readonly maxBytes: number;\n\n constructor(opts: PtyRingOptions) {\n this.maxBytes = Math.max(4096, opts.maxBytes);\n }\n\n get altScreen(): boolean {\n return this.scanner.altScreen;\n }\n\n push(chunk: Uint8Array): void {\n if (chunk.length === 0) return;\n this.scanner.push(chunk);\n this.chunks.push(chunk);\n this.bytes += chunk.length;\n while (this.bytes > this.maxBytes) {\n const head = this.chunks[0];\n if (!head) break;\n const excess = this.bytes - this.maxBytes;\n if (head.length <= excess) {\n this.chunks.shift();\n this.bytes -= head.length;\n this.dropped += head.length;\n } else {\n this.chunks[0] = head.slice(excess);\n this.bytes -= excess;\n this.dropped += excess;\n }\n }\n }\n\n /**\n * What a fresh client should be sent: the sticky modes, then output from the\n * last screen wipe (or from whatever is left, when that wipe has already\n * scrolled out of the ring — a partial frame still beats a blank window).\n */\n replay(): { prologue: string; body: Uint8Array } {\n const from = Math.max(this.scanner.safeOffset, this.dropped);\n const skip = from - this.dropped;\n const body = this.concat(skip);\n return { prologue: this.scanner.modePrologue(), body };\n }\n\n private concat(skip: number): Uint8Array {\n const out = new Uint8Array(Math.max(0, this.bytes - skip));\n let remaining = skip;\n let at = 0;\n for (const chunk of this.chunks) {\n if (remaining >= chunk.length) {\n remaining -= chunk.length;\n continue;\n }\n const piece = remaining > 0 ? chunk.slice(remaining) : chunk;\n remaining = 0;\n out.set(piece, at);\n at += piece.length;\n }\n return out;\n }\n}\n\n/**\n * Sent before a replay: leave the alt screen, soft-reset, clear. Deliberately\n * not RIS — a hard reset would also throw away the colors and cursor shape the\n * client's own surface was configured with.\n */\nexport const PTY_REPLAY_RESET = '\\u001b[?1049l\\u001b[!p\\u001b[2J\\u001b[H';\n"],"mappings":";;;;;;;;;;;;;;;;;;;AOQA;EACE,UAAU;EACV,WAAW;EACX,oBAAoB;EACpB;EACA,eAAe;EACf,YAAY;EACZ,UAAU;EACV,aAAa;EACb,QAAQ;OAOH;AAEP,YAAA,kBAAc;ACwCd,SAAS,OAAO,OAAAA,MAAK,MAAM,OAAO,WAAAC,UAAS,YAAAC,WAAU,cAAc;AC9CnE,SAAS,eAAe;ACpBxB;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;OACK;AACP,SAAS,eAAe;AACxB,SAAS,YAAY;ACMrB,SAAS,YAAAC,WAAU,KAAK,YAAAC,WAAU,WAAAC,UAAS,QAAAC,aAAY;AIjBvD,SAAS,uBAAuB;AAChC,SAAS,OAAO,UAAU;AAC1B,SAAS,SAAS,oBAA8C;AAChE,SAAS,cAAc,aAAa;;;;;;;;;;;;;;;;;;AfuCpC,IAAM,MAAM,IAAI,OAAO,mCAAmC,GAAG;AAEtD,SAAS,UAAUC,OAAsB;AAC9C,SAAOA,MAAK,QAAQ,KAAK,EAAE;AAC7B;AAGO,SAAS,QAAQ,KAAqB;AAC3C,SAAO,IAAI,QAAQ,eAAe,EAAE,EAAE,QAAQ,WAAW,EAAE;AAC7D;AAIO,IAAM,WAAW;AAGjB,IAAM,eAAe;AC/BrB,SAAS,kBAAkB,MAAsB,WAA+B;AACrF,SAAO,UAAU,SAAS,IAAI,YAAY,KAAK;AACjD;ACKO,SAAS,qBACd,MACA,MACA,SACU;AACV,MAAI,CAAC,QAAS,QAAO;AACrB,QAAM,cAAc,IAAI,IAAI,KAAK,eAAe;AAGhD,QAAM,cAAc,KAAK,KAAK,CAAC,MAA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AAI,OAAO,IAAI,EAAE,YAAY,IAAI,CAAC;MAC3C;IACF;AACA,QAAI,KAAK,aAAa,gBAAgB,CAAC,cAAc,UAAU,SAAU;AACzE,eAAW,SAAS,OAAO,OAAO,GAAG;AACnC,UAAI,MAAM,MAAM,cAAc,aAAc;IAC9C;AAKA,QAAI,SAAS,IAAI,EAAG;AACpB,SAAK,WAAW;EAClB,GAAG,YAAY;AAEf,SAAO;IACL;IACA;IACA,MAAM,YAAY;AAChB,YAAM,WAAW;IACnB;EACF;AACF;","names":["log","spinner","isCancel","isCancel","password","spinner","text","text","log","spinner","password","isCancel"]}
|