@madarco/agentbox 0.31.4 → 0.32.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 +50 -0
- package/dist/_cloud-attach-UXH3VKTM.js +31 -0
- package/dist/{chunk-VQONUZE4.js → chunk-2W3W3KNR.js} +4 -4
- package/dist/{chunk-RUKTOHK7.js → chunk-3AYSA62C.js} +2 -2
- package/dist/{chunk-EXF4PLBN.js → chunk-3ISG5THX.js} +3 -3
- package/dist/{chunk-BYZPRB7U.js → chunk-5D46PE5V.js} +5 -5
- package/dist/{chunk-IF4VXKJK.js → chunk-5F5NBZG7.js} +3 -3
- package/dist/{chunk-ZUTC2JZM.js → chunk-65G5R2HW.js} +27 -5
- package/dist/chunk-65G5R2HW.js.map +1 -0
- package/dist/{chunk-KCDLAP5Q.js → chunk-66GAYIJZ.js} +3252 -936
- package/dist/chunk-66GAYIJZ.js.map +1 -0
- package/dist/{chunk-IQMDGAMB.js → chunk-6N7OSMEA.js} +4 -4
- package/dist/{chunk-CUIJ2PIN.js → chunk-7PTM6JEX.js} +26 -22
- package/dist/{chunk-CUIJ2PIN.js.map → chunk-7PTM6JEX.js.map} +1 -1
- package/dist/{chunk-EP4IFSV5.js → chunk-B3C6NQB7.js} +75 -26
- package/dist/chunk-B3C6NQB7.js.map +1 -0
- package/dist/{chunk-L567TKOK.js → chunk-BJLUG6TE.js} +5 -5
- package/dist/{chunk-AYREFYEF.js → chunk-BV2UZ4SG.js} +4 -4
- package/dist/{chunk-MBZ4UOWF.js → chunk-EAT5IEWA.js} +3 -3
- package/dist/{chunk-ENFWBFBI.js → chunk-GBEV7ETR.js} +4 -4
- package/dist/{chunk-4NO5MO2P.js → chunk-GLIWCNFE.js} +6 -6
- package/dist/chunk-GVNKIACA.js +223 -0
- package/dist/chunk-GVNKIACA.js.map +1 -0
- package/dist/{chunk-VWJBQGXD.js → chunk-HCKRUAHW.js} +6 -6
- package/dist/{chunk-IFPTD73K.js → chunk-HUVSTEJR.js} +2 -2
- package/dist/{chunk-NKHRFR5G.js → chunk-IL7R2X6B.js} +16 -16
- package/dist/{chunk-5UX2HAF4.js → chunk-IQ4WLVXE.js} +43 -43
- package/dist/{chunk-AAMPHDB2.js → chunk-JL4EJ4EH.js} +5 -5
- package/dist/{chunk-OXBWZG2N.js → chunk-KTB7JGPA.js} +4 -4
- package/dist/{chunk-YL3VEQTS.js → chunk-LFBCFWG6.js} +5 -5
- package/dist/{chunk-MJZPECVQ.js → chunk-M2DWTQRF.js} +2 -2
- package/dist/{chunk-PXH3DERD.js → chunk-MB2K74BI.js} +164 -2
- package/dist/chunk-MB2K74BI.js.map +1 -0
- package/dist/{chunk-2MBELUE6.js → chunk-NGCG3IBH.js} +9 -9
- package/dist/{chunk-QT4MOS6R.js → chunk-NX27A3F2.js} +23 -23
- package/dist/{chunk-4Y365UYP.js → chunk-OUHDSEVQ.js} +2 -2
- package/dist/{chunk-M6VAID7T.js → chunk-QBVRWGXD.js} +2 -2
- package/dist/{chunk-VOVRWIBC.js → chunk-QLZPJIWF.js} +13 -13
- package/dist/{chunk-GCS5XAPC.js → chunk-R3XDO4SN.js} +3 -3
- package/dist/{chunk-IQ6BQ2LX.js → chunk-RF7Q7SHU.js} +3 -3
- package/dist/{chunk-YSC4VY43.js → chunk-SAEZJZ5Z.js} +3 -3
- package/dist/{chunk-QDVIMN57.js → chunk-TDPHZWJI.js} +4 -4
- package/dist/{chunk-QWWDG5B7.js → chunk-U5MUWZOS.js} +6 -6
- package/dist/{chunk-LR5RNEVO.js → chunk-ULQPPQ23.js} +3 -3
- package/dist/{chunk-75JF44DH.js → chunk-VWSERFTW.js} +2 -2
- package/dist/{chunk-4LSLXBFN.js → chunk-XFMCRD2J.js} +6 -6
- package/dist/{chunk-X6SZPGL5.js → chunk-YNAJUTYC.js} +6 -6
- package/dist/{chunk-C67DVYWA.js → chunk-ZKOLV4ZN.js} +37 -2
- package/dist/chunk-ZKOLV4ZN.js.map +1 -0
- package/dist/{cli-XRF7WFE5.js → cli-HFZMZWRM.js} +8 -8
- package/dist/{cli-KT5X4J74.js → cli-HPYDF5AP.js} +8 -8
- package/dist/{cli-HFLU5QTD.js → cli-PWK63DQI.js} +7 -7
- package/dist/{cli-7JW54ZTA.js → cli-RC5F6DYP.js} +8 -8
- package/dist/{cli-7Z7BD23R.js → cli-S7RGCNHG.js} +7 -7
- package/dist/cloud-backends.js +4 -4
- package/dist/{control-plane-DGLF4MBB.js → control-plane-HRJRAYKV.js} +19 -19
- package/dist/{cp-hub-upload-7YESYCVS.js → cp-hub-upload-N4PPUZHE.js} +6 -6
- package/dist/{custody-client-P7SCEDU2.js → custody-client-KYEZET6C.js} +4 -4
- package/dist/{deploy-hetzner-FOCNRRB2.js → deploy-hetzner-A42GILM3.js} +8 -8
- package/dist/{dist-63YBVZW4.js → dist-5OXP2N6H.js} +8 -8
- package/dist/{dist-36WLI6E2.js → dist-64QL2Q5L.js} +6 -6
- package/dist/{dist-MITAKWKQ.js → dist-D4LLY6JV.js} +7 -7
- package/dist/{dist-TJJ6KBNZ.js → dist-ETGTZQUT.js} +255 -5
- package/dist/{dist-54VRDCUU.js → dist-GS36Y2CW.js} +7 -7
- package/dist/{dist-CBPQZPQN.js → dist-HGUSK4LL.js} +7 -7
- package/dist/{dist-E4VLIH3H.js → dist-JU5COR7Y.js} +7 -7
- package/dist/{dist-2CAWJQT5.js → dist-NJ2U42MZ.js} +9 -5
- package/dist/{dist-FHPNYDCF.js → dist-URWWHI3X.js} +8 -2
- package/dist/{dist-XSAPZOEG.js → dist-Z4S5EKUS.js} +7 -7
- package/dist/{host-reach-drainer-XFLSMTSX.js → host-reach-drainer-WIKLZSLZ.js} +2 -2
- package/dist/host-session-YP5RKV6T.js +29 -0
- package/dist/hub-A6U3YB5D.js +39 -0
- package/dist/{hub-adopt-IYZ3WXYN.js → hub-adopt-O4LQLW6N.js} +6 -6
- package/dist/{hub-api-client-WOZ2BQ6H.js → hub-api-client-BI3E37CF.js} +3 -3
- package/dist/{hub-docker-target-IQHX6OYX.js → hub-docker-target-D67UXZSU.js} +13 -13
- package/dist/index.js +1223 -229
- package/dist/index.js.map +1 -1
- package/dist/{plugin-update-2ACFHFUI.js → plugin-update-LI3QDA4K.js} +4 -4
- package/dist/prepare-5Y7DWMZ7.js +45 -0
- package/dist/prepared-custody-L6PXXLD3.js +39 -0
- package/dist/{prepared-state-FO74QUCP-PZLOM6HD.js → prepared-state-FO74QUCP-M4Q2X3KN.js} +3 -3
- package/dist/{publish-credentials-TO5IIW2T.js → publish-credentials-WJ4KLIMW.js} +8 -8
- package/dist/{registry-X33JZU6B.js → registry-6VF5VPGD.js} +4 -4
- package/dist/relay-732OVYXR.js +22 -0
- package/dist/{remote-docker-share-YADHIHXV.js → remote-docker-share-WY5U5USV.js} +10 -10
- package/dist/remote-docker-share-WY5U5USV.js.map +1 -0
- package/dist/{tool-grant-push-7G2QAN3J.js → tool-grant-push-YQYYNMRQ.js} +3 -3
- package/package.json +1 -1
- package/runtime/_shared/ctl.cjs +1026 -309
- package/runtime/digitalocean/ctl.cjs +1026 -309
- package/runtime/docker/packages/ctl/dist/bin.cjs +1026 -309
- package/runtime/e2b/ctl.cjs +1026 -309
- package/runtime/hetzner/ctl.cjs +1026 -309
- package/runtime/hub/apps/hub/.next/BUILD_ID +1 -1
- package/runtime/hub/apps/hub/.next/app-path-routes-manifest.json +24 -0
- package/runtime/hub/apps/hub/.next/build-manifest.json +3 -3
- package/runtime/hub/apps/hub/.next/routes-manifest.json +188 -0
- 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 +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/[id]/answer/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/[action]/route.js +4 -4
- 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 +2 -2
- 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 +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/checkpoint/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/clone/route.js +2 -2
- 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 +4 -4
- 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 +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/open/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/rename/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/rename/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/restart/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/restart/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/upload/route.js +2 -2
- 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 +4 -4
- 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/custody/[...path]/route.js +3 -3
- 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 +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/login-code/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/login-code/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/logs/route.js.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/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/attach/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/attach/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/attach/route.js +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/attach/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/attach/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/attach/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/message/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/message/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/message/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/message/route.js +10 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/message/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/message/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/message/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/notes/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/notes/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/notes/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/notes/route.js +10 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/notes/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/notes/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/notes/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/resume/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/resume/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/resume/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/resume/route.js +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/resume/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/resume/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/resume/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/route.js +10 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/stop/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/stop/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/stop/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/stop/route.js +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/stop/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/stop/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/stop/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/detect/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/detect/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/detect/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/detect/route.js +10 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/detect/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/detect/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/detect/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/route.js +10 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/route_client-reference-manifest.js +3 -0
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/credentials/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/credentials/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/prepare/route.js +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/prepare/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/size-check/route.js +2 -2
- 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 +2 -2
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/prune/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/system/route.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/tasks/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/tasks/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/tasks/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/tasks/route.js +10 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/tasks/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/tasks/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/tasks/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/route.js +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/sessions/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/sessions/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/sessions/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/sessions/route.js +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/sessions/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/sessions/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/sessions/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/start/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/start/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/start/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/start/route.js +10 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/start/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/start/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/start/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rename/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rename/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rename/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rename/route.js +10 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rename/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rename/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rename/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rescan/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rescan/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rescan/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rescan/route.js +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rescan/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rescan/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rescan/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/route.js +10 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/assign/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/assign/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/assign/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/assign/route.js +10 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/assign/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/assign/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/assign/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/done/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/done/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/done/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/done/route.js +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/done/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/done/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/done/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/route.js +10 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/unassign/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/unassign/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/unassign/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/unassign/route.js +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/unassign/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/unassign/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/unassign/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/assign/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/assign/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/assign/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/assign/route.js +10 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/assign/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/assign/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/assign/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/reorder/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/reorder/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/reorder/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/reorder/route.js +10 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/reorder/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/reorder/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/reorder/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/route.js +10 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/timeline/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/timeline/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/timeline/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/timeline/route.js +10 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/timeline/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/timeline/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/timeline/route_client-reference-manifest.js +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/route/app-paths-manifest.json +3 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/route/build-manifest.json +9 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/route/server-reference-manifest.json +4 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/route.js +10 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/route.js.map +5 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/route.js.nft.json +1 -0
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/route_client-reference-manifest.js +3 -0
- 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.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.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.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.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.js.nft.json +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page_client-reference-manifest.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(dashboard)/system/page.js.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/page_client-reference-manifest.js +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_client-reference-manifest.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app-paths-manifest.json +24 -0
- package/runtime/hub/apps/hub/.next/server/chunks/00je_(dashboard)_api_v1_workspaces_[id]_tasks_[taskId]_assign_route_actions_1sufsej.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/00je_(dashboard)_api_v1_workspaces_[id]_tasks_[taskId]_done_route_actions_216dixx.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/044u_hub__next-internal_server_app_(dashboard)_api_v1_managers_route_actions_1_vtgih.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/044u_hub__next-internal_server_app_(dashboard)_api_v1_tasks_route_actions_1h8tg_m.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/05v5_app_(dashboard)_api_v1_workspaces_[id]_managers_sessions_route_actions_16dksub.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/05v5_app_(dashboard)_api_v1_workspaces_[id]_managers_start_route_actions_1g-vmis.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/05v5_app_(dashboard)_api_v1_workspaces_[id]_tasks_[taskId]_route_actions_03oih6y.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/05v5_app_(dashboard)_api_v1_workspaces_[id]_tasks_assign_route_actions_196zwo9.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/05v5_app_(dashboard)_api_v1_workspaces_[id]_tasks_reorder_route_actions_1zkcfk-.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/0ssw__next-internal_server_app_(dashboard)_api_v1_workspaces_route_actions_12a7_y8.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/0web_next-internal_server_app_(dashboard)_api_v1_managers_[id]_route_actions_07cpyb_.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_managers_[id]_attach_route_actions_0o-khw8.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_managers_[id]_message_route_actions_0rjcqe5.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_managers_[id]_notes_route_actions_1-mf4r_.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_managers_[id]_resume_route_actions_0-cm1mu.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_managers_[id]_stop_route_actions_16nrl1r.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_managers_detect_route_actions_1sdbs-_.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_workspaces_[id]_managers_route_actions_1sxymv0.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_workspaces_[id]_rename_route_actions_0df5zi2.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_workspaces_[id]_rescan_route_actions_1yra_w8.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_workspaces_[id]_route_actions_1f56n_0.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_workspaces_[id]_tasks_route_actions_1t-6quw.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_workspaces_[id]_timeline_route_actions_0pbxblt.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/1viy_api_v1_workspaces_[id]_tasks_[taskId]_unassign_route_actions_18a1p_r.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0-c97gb._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__0spnud2._.js → [root-of-the-server]__0-kl55b._.js} +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__028ifqb._.js → [root-of-the-server]__0-xlf9z._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__074mxl5._.js → [root-of-the-server]__0004tsz._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__00bupbc._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__1cpr4qy._.js → [root-of-the-server]__0126167._.js} +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__01fy5q0._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__02c077x._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__1ta1gr1._.js → [root-of-the-server]__02sueng._.js} +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__0nndlre._.js → [root-of-the-server]__04-gm8c._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__05uinnp._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__06wy8zz._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__071c-t4._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__08jg8w8._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__09059m-._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__092y7_z._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__09ti2-t._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__09y4pdw._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0_mog_h._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0a689u5._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0a8ere2._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0bzqrje._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0c_r3oe._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0cdoz9i._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0cmu4sk._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0cxjxz0._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0d27tlu._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0d3fx1z._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0dm5oqm._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0dy5g2k._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0e1uaxg._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0e6_t-d._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ets4cd._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0f2u0ul._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0f9p_4f._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0f_jmq2._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0fksz_r._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0fpygqn._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0gym-rp._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0hhlb2_._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0i9phow._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ikyoac._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0j72bti._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0jb371p._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0jq6cdw._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0jt1d2s._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0kcw8t0._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0kdt9-i._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0l27vs0._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0lc-j_n._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0lna-vq._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0m5woxc._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0mi9xib._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0muy7eg._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0nn0_b5._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0no30or._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0o3sjtx._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0onk5r0._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0pik2ie._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0qde3vr._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0qt_r6a._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ry8baf._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0sg4y_2._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0sgjn2j._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0st6oln._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0t0p64l._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0tbl11-._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ve_tqz._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0w4smfx._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0wo4sqj._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0wujjkl._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0xbu3yj._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0xl1-w6._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0yct1tu._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0yg67t0._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ykw5oe._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__1c1rcl-._.js → [root-of-the-server]__0zznyx2._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1--u2xl._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1-8sj4i._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__10kmcrt._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__10l_-cd._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__10yfcvu._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__112hqrh._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__11c-21i._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__11qbpq8._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__11s1mrd._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__128w1nz._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__12b2kuv._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__12gbq5m._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__13nfpq5._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__13vl4-h._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__153b7kv._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__157kmse._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__16695dw._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__166_uek._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__16o0ij7._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__175lucf._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__17p53e3._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__17y9pmx._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__18ec5_t._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__18xpvkc._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1925hyw._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__19ew1r2._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__19grunx._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1_4v0mh._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1_cbcl1._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1_wb2uh._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1_xgm2e._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1an6-yb._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1c0ex8m._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1c1e08-._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1c9f4uu._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ci8hc2._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1cs6d52._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1d60scp._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1dicjoc._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1diipl4._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1dp2exz._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1epnstn._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1fjnz2l._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1g5wnt2._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1g9v7bq._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1gon0_4._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1h_59cs._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1h_q3sn._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1hlugb4._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1hux-70._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1i-7bnu._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1i_el2y._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1j6clag._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1k6q17t._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1khvg39._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1lx9lyn._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1m36v6k._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1mgu19x._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1mhyrr5._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1mk_lpu._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1mt32fu._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1n1_2tw._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1na4sdw._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ntihlm._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1odu62n._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1q6xrlt._.js +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1r4x1-y._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1rjs_x0._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1rxud0j._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1s5app0._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1sjz59l._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1slo4q_._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1thrazp._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1twtnwr._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1txvsbk._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1uch-60._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1um2jum._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1vnnuo1._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1wegvep._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1wi5roz._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1xa9oiv._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ypmy86._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1zml9me._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1zrf_a6._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__2019yzl._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__20jyxyo._.js +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__20ybhif._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__20zl5fr._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__212dyoi._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__218oup-._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__21abvx9._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/_0907rw0._.js +2 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0mcxq5g._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0vg6gvw._.js +41 -41
- package/runtime/hub/apps/hub/.next/server/chunks/apps_hub_app_(dashboard)_api_v1_lib_openapi_ts_1yokmzt._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/apps_hub_app_(dashboard)_api_v1_lib_validate_ts_16dhbzz._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/packages_relay_dist_control-plane_03a-9aj.js +6 -6
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__03-x9xy._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__1jqga8h._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0r2xlss._.js +2 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/_14-qzbg._.js +26 -26
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/packages_relay_dist_control-plane_0ve-wz4.js +1 -1
- package/runtime/hub/apps/hub/.next/server/functions-config-manifest.json +24 -0
- package/runtime/hub/apps/hub/.next/server/middleware-build-manifest.js +3 -3
- package/runtime/hub/apps/hub/.next/server/pages/500.html +1 -1
- package/runtime/hub/apps/hub/.next/static/chunks/{31e1wjin30i__.css → 03_fxfc3849ms.css} +1 -1
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/boxes/[id]/[action]/route.ts +4 -2
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/boxes/[id]/git/[op]/route.ts +6 -4
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/boxes/route.ts +2 -1
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/lib/actor.ts +48 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/lib/envelope.ts +5 -2
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/lib/openapi.ts +1687 -52
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/lib/validate.ts +527 -1
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/managers/[id]/attach/route.ts +26 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/managers/[id]/message/route.ts +34 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/managers/[id]/notes/route.ts +26 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/managers/[id]/resume/route.ts +26 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/managers/[id]/route.ts +34 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/managers/[id]/stop/route.ts +23 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/managers/detect/route.ts +33 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/managers/route.ts +27 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/tasks/route.ts +30 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/managers/route.ts +19 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/managers/sessions/route.ts +22 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/managers/start/route.ts +61 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/rename/route.ts +25 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/rescan/route.ts +20 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/route.ts +34 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/assign/route.ts +33 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/done/route.ts +23 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/route.ts +54 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/unassign/route.ts +25 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/tasks/assign/route.ts +34 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/tasks/reorder/route.ts +33 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/tasks/route.ts +59 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/timeline/route.ts +25 -0
- package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/route.ts +31 -0
- package/runtime/hub/apps/hub/{chunk-SM2XYDPL.js → chunk-FBNAIUXZ.js} +36 -1
- package/runtime/hub/apps/hub/{chunk-F6GOERHP.js → chunk-GGHXBTGL.js} +3 -3
- package/runtime/hub/apps/hub/{chunk-7IIG6MIB.js → chunk-LEELYQVR.js} +9 -9
- package/runtime/hub/apps/hub/{chunk-AAF4CYVH.js → chunk-MD2UNTZR.js} +5 -5
- package/runtime/hub/apps/hub/{chunk-7JBH42LK.js → chunk-MQ7AJUJJ.js} +2 -2
- package/runtime/hub/apps/hub/{chunk-AIFVVQPX.js → chunk-OFJRKISZ.js} +3317 -1031
- package/runtime/hub/apps/hub/{dist-DS5LGBGK.js → dist-3LDUYWPK.js} +7 -1
- package/runtime/hub/apps/hub/{dist-YOTRYCRK.js → dist-DENRW6O5.js} +7 -3
- package/runtime/hub/apps/hub/{dist-BKCL4HAA.js → dist-NQYEPZJY.js} +4 -4
- package/runtime/hub/apps/hub/{dist-H7NIUVBD.js → dist-RIXE6NHS.js} +5 -5
- package/runtime/hub/apps/hub/{dist-YG4RVC24.js → dist-RK6SSH23.js} +5 -5
- package/runtime/hub/apps/hub/{dist-MQADLEEQ.js → dist-U5SDGYOA.js} +4 -4
- package/runtime/hub/apps/hub/{dist-LV6CHJVA.js → dist-U6XVHUNU.js} +4 -4
- package/runtime/hub/apps/hub/{dist-RJBPZWSZ.js → dist-W4YRUL6E.js} +4 -4
- package/runtime/hub/apps/hub/{dist-VENYRIRW.js → dist-Y3Q5YEOC.js} +4 -4
- package/runtime/hub/apps/hub/{hub-worker-DLFLGKCV.js → hub-worker-DVATYYST.js} +6 -6
- package/runtime/hub/apps/hub/lib/backend/background.ts +19 -0
- package/runtime/hub/apps/hub/lib/backend/box-facts.ts +97 -0
- package/runtime/hub/apps/hub/lib/backend/box-prs.ts +213 -0
- package/runtime/hub/apps/hub/lib/backend/deps.ts +99 -0
- package/runtime/hub/apps/hub/lib/backend/errors.ts +7 -0
- package/runtime/hub/apps/hub/lib/backend/github-prs.ts +302 -0
- package/runtime/hub/apps/hub/lib/backend/managers.ts +748 -0
- package/runtime/hub/apps/hub/lib/backend/timeline-lanes.ts +150 -0
- package/runtime/hub/apps/hub/lib/backend/timeline.ts +611 -0
- package/runtime/hub/apps/hub/lib/backend/workspaces.ts +439 -0
- package/runtime/hub/apps/hub/lib/boxes/backend-types.ts +355 -10
- package/runtime/hub/apps/hub/lib/boxes/postgres-source.ts +3 -0
- package/runtime/hub/apps/hub/lib/boxes/source.ts +18 -1
- package/runtime/hub/apps/hub/lib/boxes/types.ts +66 -0
- package/runtime/hub/apps/hub/lib/hub-backend.ts +114 -7
- package/runtime/hub/apps/hub/{prepared-state-FO74QUCP-FZ6PT4LA.js → prepared-state-FO74QUCP-75UBPW5I.js} +2 -2
- package/runtime/hub/apps/hub/server.js +2032 -163
- package/runtime/hub/apps/hub/test/backend-managers-background.test.ts +336 -0
- package/runtime/hub/apps/hub/test/backend-managers.test.ts +493 -0
- package/runtime/hub/apps/hub/test/backend-workspaces.test.ts +208 -0
- package/runtime/hub/apps/hub/test/box-prs.test.ts +198 -0
- package/runtime/hub/apps/hub/test/timeline-lanes.test.ts +261 -0
- package/runtime/hub/apps/hub/test/timeline.test.ts +1185 -0
- package/runtime/hub/apps/hub/test/validate.test.ts +252 -0
- package/runtime/hub/apps/hub/tsconfig.tsbuildinfo +1 -1
- package/runtime/relay/bin.cjs +1399 -616
- package/runtime/vercel/ctl.cjs +1026 -309
- package/share/host-skills/agentbox-info/SKILL.md +25 -4
- package/dist/_cloud-attach-B3BCOZ7U.js +0 -31
- package/dist/chunk-C67DVYWA.js.map +0 -1
- package/dist/chunk-EP4IFSV5.js.map +0 -1
- package/dist/chunk-KCDLAP5Q.js.map +0 -1
- package/dist/chunk-PXH3DERD.js.map +0 -1
- package/dist/chunk-ZUTC2JZM.js.map +0 -1
- package/dist/hub-OMGLWQEV.js +0 -39
- package/dist/prepare-OOZF37J6.js +0 -45
- package/dist/prepared-custody-E7CSZJ6V.js +0 -39
- package/dist/relay-7D5NOFKS.js +0 -22
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__00o_3sf._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__08xwxyo._.js +0 -3
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1-mtsr6._.js +0 -3
- /package/dist/{_cloud-attach-B3BCOZ7U.js.map → _cloud-attach-UXH3VKTM.js.map} +0 -0
- /package/dist/{chunk-VQONUZE4.js.map → chunk-2W3W3KNR.js.map} +0 -0
- /package/dist/{chunk-RUKTOHK7.js.map → chunk-3AYSA62C.js.map} +0 -0
- /package/dist/{chunk-EXF4PLBN.js.map → chunk-3ISG5THX.js.map} +0 -0
- /package/dist/{chunk-BYZPRB7U.js.map → chunk-5D46PE5V.js.map} +0 -0
- /package/dist/{chunk-IF4VXKJK.js.map → chunk-5F5NBZG7.js.map} +0 -0
- /package/dist/{chunk-IQMDGAMB.js.map → chunk-6N7OSMEA.js.map} +0 -0
- /package/dist/{chunk-L567TKOK.js.map → chunk-BJLUG6TE.js.map} +0 -0
- /package/dist/{chunk-AYREFYEF.js.map → chunk-BV2UZ4SG.js.map} +0 -0
- /package/dist/{chunk-MBZ4UOWF.js.map → chunk-EAT5IEWA.js.map} +0 -0
- /package/dist/{chunk-ENFWBFBI.js.map → chunk-GBEV7ETR.js.map} +0 -0
- /package/dist/{chunk-4NO5MO2P.js.map → chunk-GLIWCNFE.js.map} +0 -0
- /package/dist/{chunk-VWJBQGXD.js.map → chunk-HCKRUAHW.js.map} +0 -0
- /package/dist/{chunk-IFPTD73K.js.map → chunk-HUVSTEJR.js.map} +0 -0
- /package/dist/{chunk-NKHRFR5G.js.map → chunk-IL7R2X6B.js.map} +0 -0
- /package/dist/{chunk-5UX2HAF4.js.map → chunk-IQ4WLVXE.js.map} +0 -0
- /package/dist/{chunk-AAMPHDB2.js.map → chunk-JL4EJ4EH.js.map} +0 -0
- /package/dist/{chunk-OXBWZG2N.js.map → chunk-KTB7JGPA.js.map} +0 -0
- /package/dist/{chunk-YL3VEQTS.js.map → chunk-LFBCFWG6.js.map} +0 -0
- /package/dist/{chunk-MJZPECVQ.js.map → chunk-M2DWTQRF.js.map} +0 -0
- /package/dist/{chunk-2MBELUE6.js.map → chunk-NGCG3IBH.js.map} +0 -0
- /package/dist/{chunk-QT4MOS6R.js.map → chunk-NX27A3F2.js.map} +0 -0
- /package/dist/{chunk-4Y365UYP.js.map → chunk-OUHDSEVQ.js.map} +0 -0
- /package/dist/{chunk-M6VAID7T.js.map → chunk-QBVRWGXD.js.map} +0 -0
- /package/dist/{chunk-VOVRWIBC.js.map → chunk-QLZPJIWF.js.map} +0 -0
- /package/dist/{chunk-GCS5XAPC.js.map → chunk-R3XDO4SN.js.map} +0 -0
- /package/dist/{chunk-IQ6BQ2LX.js.map → chunk-RF7Q7SHU.js.map} +0 -0
- /package/dist/{chunk-YSC4VY43.js.map → chunk-SAEZJZ5Z.js.map} +0 -0
- /package/dist/{chunk-QDVIMN57.js.map → chunk-TDPHZWJI.js.map} +0 -0
- /package/dist/{chunk-QWWDG5B7.js.map → chunk-U5MUWZOS.js.map} +0 -0
- /package/dist/{chunk-LR5RNEVO.js.map → chunk-ULQPPQ23.js.map} +0 -0
- /package/dist/{chunk-75JF44DH.js.map → chunk-VWSERFTW.js.map} +0 -0
- /package/dist/{chunk-4LSLXBFN.js.map → chunk-XFMCRD2J.js.map} +0 -0
- /package/dist/{chunk-X6SZPGL5.js.map → chunk-YNAJUTYC.js.map} +0 -0
- /package/dist/{cli-7JW54ZTA.js.map → cli-HFZMZWRM.js.map} +0 -0
- /package/dist/{cli-7Z7BD23R.js.map → cli-HPYDF5AP.js.map} +0 -0
- /package/dist/{cli-HFLU5QTD.js.map → cli-PWK63DQI.js.map} +0 -0
- /package/dist/{cli-KT5X4J74.js.map → cli-RC5F6DYP.js.map} +0 -0
- /package/dist/{cli-XRF7WFE5.js.map → cli-S7RGCNHG.js.map} +0 -0
- /package/dist/{control-plane-DGLF4MBB.js.map → control-plane-HRJRAYKV.js.map} +0 -0
- /package/dist/{cp-hub-upload-7YESYCVS.js.map → cp-hub-upload-N4PPUZHE.js.map} +0 -0
- /package/dist/{custody-client-P7SCEDU2.js.map → custody-client-KYEZET6C.js.map} +0 -0
- /package/dist/{deploy-hetzner-FOCNRRB2.js.map → deploy-hetzner-A42GILM3.js.map} +0 -0
- /package/dist/{dist-2CAWJQT5.js.map → dist-5OXP2N6H.js.map} +0 -0
- /package/dist/{dist-36WLI6E2.js.map → dist-64QL2Q5L.js.map} +0 -0
- /package/dist/{dist-63YBVZW4.js.map → dist-D4LLY6JV.js.map} +0 -0
- /package/dist/{dist-CBPQZPQN.js.map → dist-ETGTZQUT.js.map} +0 -0
- /package/dist/{dist-54VRDCUU.js.map → dist-GS36Y2CW.js.map} +0 -0
- /package/dist/{dist-FHPNYDCF.js.map → dist-HGUSK4LL.js.map} +0 -0
- /package/dist/{dist-E4VLIH3H.js.map → dist-JU5COR7Y.js.map} +0 -0
- /package/dist/{dist-MITAKWKQ.js.map → dist-NJ2U42MZ.js.map} +0 -0
- /package/dist/{dist-TJJ6KBNZ.js.map → dist-URWWHI3X.js.map} +0 -0
- /package/dist/{dist-XSAPZOEG.js.map → dist-Z4S5EKUS.js.map} +0 -0
- /package/dist/{host-reach-drainer-XFLSMTSX.js.map → host-reach-drainer-WIKLZSLZ.js.map} +0 -0
- /package/dist/{hub-OMGLWQEV.js.map → host-session-YP5RKV6T.js.map} +0 -0
- /package/dist/{hub-adopt-IYZ3WXYN.js.map → hub-A6U3YB5D.js.map} +0 -0
- /package/dist/{hub-api-client-WOZ2BQ6H.js.map → hub-adopt-O4LQLW6N.js.map} +0 -0
- /package/dist/{prepare-OOZF37J6.js.map → hub-api-client-BI3E37CF.js.map} +0 -0
- /package/dist/{hub-docker-target-IQHX6OYX.js.map → hub-docker-target-D67UXZSU.js.map} +0 -0
- /package/dist/{plugin-update-2ACFHFUI.js.map → plugin-update-LI3QDA4K.js.map} +0 -0
- /package/dist/{prepared-custody-E7CSZJ6V.js.map → prepare-5Y7DWMZ7.js.map} +0 -0
- /package/dist/{prepared-state-FO74QUCP-PZLOM6HD.js.map → prepared-custody-L6PXXLD3.js.map} +0 -0
- /package/dist/{registry-X33JZU6B.js.map → prepared-state-FO74QUCP-M4Q2X3KN.js.map} +0 -0
- /package/dist/{publish-credentials-TO5IIW2T.js.map → publish-credentials-WJ4KLIMW.js.map} +0 -0
- /package/dist/{relay-7D5NOFKS.js.map → registry-6VF5VPGD.js.map} +0 -0
- /package/dist/{remote-docker-share-YADHIHXV.js.map → relay-732OVYXR.js.map} +0 -0
- /package/dist/{tool-grant-push-7G2QAN3J.js.map → tool-grant-push-YQYYNMRQ.js.map} +0 -0
- /package/runtime/hub/apps/hub/.next/static/{o9_g9S5JH-r8bfNfmPa5H → psd9s1F7NglKqhj4_onRN}/_buildManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{o9_g9S5JH-r8bfNfmPa5H → psd9s1F7NglKqhj4_onRN}/_clientMiddlewareManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{o9_g9S5JH-r8bfNfmPa5H → psd9s1F7NglKqhj4_onRN}/_ssgManifest.js +0 -0
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
AGENTBOX_HUB_SSH_ALIAS,
|
|
4
4
|
AGENTS_STATIC_BOX_DIR,
|
|
5
5
|
AGENT_SEED_MARKER,
|
|
6
|
+
AGENT_SESSION_ENV_VARS,
|
|
6
7
|
AGENT_SYNC_SPECS,
|
|
7
8
|
AgentInstallError,
|
|
8
9
|
BACKUP_GITIGNORE_ENTRY,
|
|
@@ -86,6 +87,7 @@ import {
|
|
|
86
87
|
botDir,
|
|
87
88
|
botWorkspaceRoot,
|
|
88
89
|
boxGitCheckout,
|
|
90
|
+
boxGitCurrentBranch,
|
|
89
91
|
boxGitNewBranch,
|
|
90
92
|
boxGitPull,
|
|
91
93
|
boxGitPush,
|
|
@@ -299,6 +301,7 @@ import {
|
|
|
299
301
|
scpDownload,
|
|
300
302
|
scpUpload,
|
|
301
303
|
scratchBranchName,
|
|
304
|
+
scrubAgentSessionEnv,
|
|
302
305
|
secretsEnvPath,
|
|
303
306
|
seedAgentsVolume,
|
|
304
307
|
seedExcludeTarArgs,
|
|
@@ -348,7 +351,7 @@ import {
|
|
|
348
351
|
writeManagedSecrets,
|
|
349
352
|
writePreparedStateRaw,
|
|
350
353
|
writeState
|
|
351
|
-
} from "./chunk-
|
|
354
|
+
} from "./chunk-FBNAIUXZ.js";
|
|
352
355
|
import "./chunk-EFW34I43.js";
|
|
353
356
|
import {
|
|
354
357
|
resolveAgentInstall,
|
|
@@ -360,6 +363,7 @@ export {
|
|
|
360
363
|
AGENTBOX_HUB_SSH_ALIAS,
|
|
361
364
|
AGENTS_STATIC_BOX_DIR,
|
|
362
365
|
AGENT_SEED_MARKER,
|
|
366
|
+
AGENT_SESSION_ENV_VARS,
|
|
363
367
|
AGENT_SYNC_SPECS,
|
|
364
368
|
AgentInstallError,
|
|
365
369
|
BACKUP_GITIGNORE_ENTRY,
|
|
@@ -443,6 +447,7 @@ export {
|
|
|
443
447
|
botDir,
|
|
444
448
|
botWorkspaceRoot,
|
|
445
449
|
boxGitCheckout,
|
|
450
|
+
boxGitCurrentBranch,
|
|
446
451
|
boxGitNewBranch,
|
|
447
452
|
boxGitPull,
|
|
448
453
|
boxGitPush,
|
|
@@ -657,6 +662,7 @@ export {
|
|
|
657
662
|
scpDownload,
|
|
658
663
|
scpUpload,
|
|
659
664
|
scratchBranchName,
|
|
665
|
+
scrubAgentSessionEnv,
|
|
660
666
|
secretsEnvPath,
|
|
661
667
|
seedAgentsVolume,
|
|
662
668
|
seedExcludeTarArgs,
|
|
@@ -99,6 +99,7 @@ import {
|
|
|
99
99
|
installAuthorizedKey,
|
|
100
100
|
installPortless,
|
|
101
101
|
installPortlessService,
|
|
102
|
+
installPortlessServiceDetailed,
|
|
102
103
|
isShellSessionName,
|
|
103
104
|
killShellSession,
|
|
104
105
|
launchDockerdDaemon,
|
|
@@ -159,6 +160,7 @@ import {
|
|
|
159
160
|
seedLabels,
|
|
160
161
|
seedWorkspace,
|
|
161
162
|
seedWorkspaceFromDir,
|
|
163
|
+
serviceLogShowsConflict,
|
|
162
164
|
setEngineOverride,
|
|
163
165
|
setRelayNotice,
|
|
164
166
|
setUpBoxSshd,
|
|
@@ -185,7 +187,7 @@ import {
|
|
|
185
187
|
volumeSettingsTarget,
|
|
186
188
|
volumeSizeBytes,
|
|
187
189
|
vscodeServerVolumeName
|
|
188
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-OFJRKISZ.js";
|
|
189
191
|
import {
|
|
190
192
|
BUILD_CONTEXT_DIR,
|
|
191
193
|
DEFAULT_BOX_IMAGE,
|
|
@@ -211,7 +213,7 @@ import {
|
|
|
211
213
|
tagImage,
|
|
212
214
|
variantImageRef,
|
|
213
215
|
writePreparedDockerState
|
|
214
|
-
} from "./chunk-
|
|
216
|
+
} from "./chunk-MD2UNTZR.js";
|
|
215
217
|
import {
|
|
216
218
|
BOX_CLAUDE_PROJECT_DIR,
|
|
217
219
|
BOX_DYNAMIC_SYNC_MANIFEST,
|
|
@@ -243,7 +245,7 @@ import {
|
|
|
243
245
|
resolveClaudeMemoryDir,
|
|
244
246
|
scanHostEnvFiles,
|
|
245
247
|
stageDynamicSyncTarball
|
|
246
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-FBNAIUXZ.js";
|
|
247
249
|
import "./chunk-EFW34I43.js";
|
|
248
250
|
import {
|
|
249
251
|
AmbiguousBoxError,
|
|
@@ -387,6 +389,7 @@ export {
|
|
|
387
389
|
installAuthorizedKey,
|
|
388
390
|
installPortless,
|
|
389
391
|
installPortlessService,
|
|
392
|
+
installPortlessServiceDetailed,
|
|
390
393
|
isAuthRetryable,
|
|
391
394
|
isGhcrTarget,
|
|
392
395
|
isRealAgentCredential,
|
|
@@ -466,6 +469,7 @@ export {
|
|
|
466
469
|
seedLabels,
|
|
467
470
|
seedWorkspace,
|
|
468
471
|
seedWorkspaceFromDir,
|
|
472
|
+
serviceLogShowsConflict,
|
|
469
473
|
setEngineOverride,
|
|
470
474
|
setRelayNotice,
|
|
471
475
|
setUpBoxSshd,
|
|
@@ -20,16 +20,16 @@ import {
|
|
|
20
20
|
renderInnerCommand,
|
|
21
21
|
resolveCloudCheckpoint,
|
|
22
22
|
writeCloudCheckpointManifest
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MQ7AJUJJ.js";
|
|
24
24
|
import {
|
|
25
25
|
detectPortless,
|
|
26
26
|
portlessDoctorRow,
|
|
27
27
|
portlessServiceStatus
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-OFJRKISZ.js";
|
|
29
29
|
import {
|
|
30
30
|
BUILD_CONTEXT_DIR,
|
|
31
31
|
computeDockerContextFingerprint
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-MD2UNTZR.js";
|
|
33
33
|
import {
|
|
34
34
|
BOX_IMAGE_REGISTRY,
|
|
35
35
|
SshTunnelManager,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
sshOptArgs,
|
|
46
46
|
variantFingerprint,
|
|
47
47
|
writePreparedStateRaw
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-FBNAIUXZ.js";
|
|
49
49
|
import {
|
|
50
50
|
execa
|
|
51
51
|
} from "./chunk-EFW34I43.js";
|
|
@@ -50,11 +50,11 @@ import {
|
|
|
50
50
|
validateServerChoice,
|
|
51
51
|
withHetznerRetry,
|
|
52
52
|
writePreparedState
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-GGHXBTGL.js";
|
|
54
54
|
import "./chunk-OF242BLD.js";
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-MQ7AJUJJ.js";
|
|
56
|
+
import "./chunk-OFJRKISZ.js";
|
|
57
|
+
import "./chunk-MD2UNTZR.js";
|
|
58
58
|
import {
|
|
59
59
|
mintSshKey,
|
|
60
60
|
scpDownload,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
sshExec,
|
|
63
63
|
sshOptArgs,
|
|
64
64
|
waitForSsh
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-FBNAIUXZ.js";
|
|
66
66
|
import "./chunk-EFW34I43.js";
|
|
67
67
|
import "./chunk-2LE76CT3.js";
|
|
68
68
|
import "./chunk-3OTB7DIH.js";
|
|
@@ -2,7 +2,7 @@ import { createRequire as __cr } from 'node:module'; import { fileURLToPath as _
|
|
|
2
2
|
import {
|
|
3
3
|
applyControlPlaneConfig,
|
|
4
4
|
resolveHubDeployAssets
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GGHXBTGL.js";
|
|
6
6
|
import {
|
|
7
7
|
$e,
|
|
8
8
|
BD,
|
|
@@ -18,13 +18,13 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
createCloudProvider,
|
|
20
20
|
stageAllAgentStatic
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-MQ7AJUJJ.js";
|
|
22
22
|
import {
|
|
23
23
|
detectPortless,
|
|
24
24
|
portlessDoctorRow,
|
|
25
25
|
portlessServiceStatus
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-OFJRKISZ.js";
|
|
27
|
+
import "./chunk-MD2UNTZR.js";
|
|
28
28
|
import {
|
|
29
29
|
SshTunnelManager,
|
|
30
30
|
agentSetArg,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
variantFingerprint,
|
|
55
55
|
waitForSsh,
|
|
56
56
|
writePreparedStateRaw
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-FBNAIUXZ.js";
|
|
58
58
|
import {
|
|
59
59
|
execa
|
|
60
60
|
} from "./chunk-EFW34I43.js";
|
|
@@ -21,9 +21,9 @@ import {
|
|
|
21
21
|
seedAgentStaticIntoCloudBox,
|
|
22
22
|
stageAllAgentStatic,
|
|
23
23
|
writeCloudCheckpointManifest
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-MQ7AJUJJ.js";
|
|
25
|
+
import "./chunk-OFJRKISZ.js";
|
|
26
|
+
import "./chunk-MD2UNTZR.js";
|
|
27
27
|
import {
|
|
28
28
|
BOX_IMAGE_REGISTRY,
|
|
29
29
|
DOCKER_CONTEXT_FILE_MAP,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
variantFingerprint,
|
|
46
46
|
writeManagedSecrets,
|
|
47
47
|
writePreparedStateRaw
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-FBNAIUXZ.js";
|
|
49
49
|
import "./chunk-EFW34I43.js";
|
|
50
50
|
import {
|
|
51
51
|
providerWarning,
|
|
@@ -19,9 +19,9 @@ import {
|
|
|
19
19
|
resolveCloudCheckpoint,
|
|
20
20
|
stageAllAgentStatic,
|
|
21
21
|
writeCloudCheckpointManifest
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
22
|
+
} from "./chunk-MQ7AJUJJ.js";
|
|
23
|
+
import "./chunk-OFJRKISZ.js";
|
|
24
|
+
import "./chunk-MD2UNTZR.js";
|
|
25
25
|
import {
|
|
26
26
|
agentSetArg,
|
|
27
27
|
computeContextManifest,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
variantFingerprint,
|
|
43
43
|
writeManagedSecrets,
|
|
44
44
|
writePreparedStateRaw
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-FBNAIUXZ.js";
|
|
46
46
|
import "./chunk-EFW34I43.js";
|
|
47
47
|
import {
|
|
48
48
|
UserFacingError,
|
|
@@ -23,9 +23,9 @@ import {
|
|
|
23
23
|
resolveCloudCheckpoint,
|
|
24
24
|
stageAllAgentStatic,
|
|
25
25
|
writeCloudCheckpointManifest
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-MQ7AJUJJ.js";
|
|
27
|
+
import "./chunk-OFJRKISZ.js";
|
|
28
|
+
import "./chunk-MD2UNTZR.js";
|
|
29
29
|
import {
|
|
30
30
|
agentSetArg,
|
|
31
31
|
computeContextManifest,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
variantFingerprint,
|
|
47
47
|
writeManagedSecrets,
|
|
48
48
|
writePreparedStateRaw
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-FBNAIUXZ.js";
|
|
50
50
|
import {
|
|
51
51
|
execa
|
|
52
52
|
} from "./chunk-EFW34I43.js";
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
verifyDetachedSession,
|
|
77
77
|
writeCloudCheckpointManifest,
|
|
78
78
|
writePreparedToCustodyStore
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-MQ7AJUJJ.js";
|
|
80
80
|
import {
|
|
81
81
|
CODEX_CREDENTIALS_BACKUP_FILE,
|
|
82
82
|
CREDENTIALS_BACKUP_FILE,
|
|
@@ -97,12 +97,12 @@ import {
|
|
|
97
97
|
resetPortlessCache,
|
|
98
98
|
resolvePortlessHostStateDir,
|
|
99
99
|
startPortlessProxy
|
|
100
|
-
} from "./chunk-
|
|
101
|
-
import "./chunk-
|
|
100
|
+
} from "./chunk-OFJRKISZ.js";
|
|
101
|
+
import "./chunk-MD2UNTZR.js";
|
|
102
102
|
import {
|
|
103
103
|
isRealAgentCredential,
|
|
104
104
|
stageAgentsStaticForUpload
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-FBNAIUXZ.js";
|
|
106
106
|
import "./chunk-EFW34I43.js";
|
|
107
107
|
import "./chunk-2LE76CT3.js";
|
|
108
108
|
import "./chunk-3OTB7DIH.js";
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
hydratePreparedFromCustody,
|
|
4
4
|
isRuntimeProviderName,
|
|
5
5
|
loadProviderModuleByName
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LEELYQVR.js";
|
|
7
7
|
import {
|
|
8
8
|
applyProjectSeed,
|
|
9
9
|
startDetachedCloudAgent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MQ7AJUJJ.js";
|
|
11
11
|
import {
|
|
12
12
|
FsCustodyStore,
|
|
13
13
|
GitHubAppLeaser,
|
|
@@ -20,8 +20,8 @@ import {
|
|
|
20
20
|
queueLogPath,
|
|
21
21
|
toAuthedHttpsUrl,
|
|
22
22
|
toHttpsUrl
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-OFJRKISZ.js";
|
|
24
|
+
import "./chunk-MD2UNTZR.js";
|
|
25
25
|
import {
|
|
26
26
|
AGENT_SYNC_SPECS,
|
|
27
27
|
HUB_WORKER_CLONE_PREFIX,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
resolveAgentSpec,
|
|
33
33
|
shouldAcceptCredentialUpdate,
|
|
34
34
|
writeCredentialBackup
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-FBNAIUXZ.js";
|
|
36
36
|
import "./chunk-EFW34I43.js";
|
|
37
37
|
import {
|
|
38
38
|
isServiceAgent,
|
|
@@ -200,7 +200,7 @@ function makeHubCreateBox(opts) {
|
|
|
200
200
|
const { name: providerName, remoteHost } = parseProviderSpec(provider);
|
|
201
201
|
if (!isRuntimeProviderName(providerName)) throw new Error(`unknown provider ${provider}`);
|
|
202
202
|
if (remoteHost) {
|
|
203
|
-
const rd = await import("./dist-
|
|
203
|
+
const rd = await import("./dist-NQYEPZJY.js");
|
|
204
204
|
if (!rd.getHostAlias(remoteHost)) {
|
|
205
205
|
throw new Error(
|
|
206
206
|
`unknown remote-docker host '${remoteHost}' on this hub \u2014 share it from the machine that owns it (\`agentbox remote-docker share ${remoteHost}\`)`
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Timeline bookkeeping that runs after a mutation has answered: off the request
|
|
2
|
+
// path, and every failure swallowed, so a log miss never changes a response.
|
|
3
|
+
const pending = new Set<Promise<void>>();
|
|
4
|
+
|
|
5
|
+
export function inBackground(work: () => Promise<unknown>): void {
|
|
6
|
+
const p = Promise.resolve()
|
|
7
|
+
.then(work)
|
|
8
|
+
.then(
|
|
9
|
+
() => undefined,
|
|
10
|
+
() => undefined,
|
|
11
|
+
);
|
|
12
|
+
pending.add(p);
|
|
13
|
+
void p.then(() => pending.delete(p));
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/** Wait until every background write started so far has finished (tests). */
|
|
17
|
+
export async function backgroundSettled(): Promise<void> {
|
|
18
|
+
while (pending.size > 0) await Promise.all([...pending]);
|
|
19
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
// The box seams the timeline reads (`BackendDeps.boxFacts` / `boxFact` /
|
|
2
|
+
// `boxDiffStat`), built from the host's box records. Kept out of
|
|
3
|
+
// `hub-backend.ts`, which only hands in the functions it owns.
|
|
4
|
+
import { hashProjectPath } from '@agentbox/config';
|
|
5
|
+
import type { BoxRecord, Provider } from '@agentbox/core';
|
|
6
|
+
import { BOX_WORKSPACE } from '@agentbox/sandbox-core';
|
|
7
|
+
import type { ListedBox } from '@agentbox/sandbox-docker';
|
|
8
|
+
import type { DiffStat, TimelineBoxFact } from './deps';
|
|
9
|
+
import { parseShortstat } from './timeline';
|
|
10
|
+
|
|
11
|
+
export interface BoxFactSources {
|
|
12
|
+
listBoxes(): Promise<ListedBox[]>;
|
|
13
|
+
/** The persisted record for one box (`state.json`), with no per-box probing. */
|
|
14
|
+
readBoxRecord(id: string): Promise<BoxRecord | undefined>;
|
|
15
|
+
providerForBox(box: BoxRecord): Promise<Provider>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const STATE_PROBE_TIMEOUT_MS = 3000;
|
|
19
|
+
|
|
20
|
+
export function boxFactOf(b: BoxRecord & { state?: string }): TimelineBoxFact {
|
|
21
|
+
const root = b.projectRoot ?? b.workspacePath ?? b.id;
|
|
22
|
+
const tree = b.gitWorktrees?.[0];
|
|
23
|
+
const branches = [
|
|
24
|
+
tree?.sanctionedBranch,
|
|
25
|
+
tree?.branch,
|
|
26
|
+
b.cloud?.sanctionedBranch,
|
|
27
|
+
b.cloud?.workspaceBranch,
|
|
28
|
+
].filter((x): x is string => Boolean(x));
|
|
29
|
+
const agent = b.lastAgent === 'claude-code' ? 'claude' : b.lastAgent;
|
|
30
|
+
return {
|
|
31
|
+
id: b.id,
|
|
32
|
+
name: b.name,
|
|
33
|
+
branches: [...new Set(branches)],
|
|
34
|
+
...(b.state ? { state: b.state } : {}),
|
|
35
|
+
...(agent ? { agent } : {}),
|
|
36
|
+
projectRoot: root,
|
|
37
|
+
projectId: hashProjectPath(root),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function withTimeout<T>(p: Promise<T>, ms: number): Promise<T | undefined> {
|
|
42
|
+
return new Promise((resolve) => {
|
|
43
|
+
const t = setTimeout(() => resolve(undefined), ms);
|
|
44
|
+
t.unref?.();
|
|
45
|
+
p.then(
|
|
46
|
+
(v) => {
|
|
47
|
+
clearTimeout(t);
|
|
48
|
+
resolve(v);
|
|
49
|
+
},
|
|
50
|
+
() => {
|
|
51
|
+
clearTimeout(t);
|
|
52
|
+
resolve(undefined);
|
|
53
|
+
},
|
|
54
|
+
);
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function createBoxFactSeams(src: BoxFactSources): {
|
|
59
|
+
boxFacts(): Promise<TimelineBoxFact[]>;
|
|
60
|
+
boxFact(id: string, opts?: { withState?: boolean }): Promise<TimelineBoxFact | undefined>;
|
|
61
|
+
boxDiffStat(box: TimelineBoxFact): Promise<DiffStat | null>;
|
|
62
|
+
} {
|
|
63
|
+
// The record a fact was built from, so a diff of a box that was just listed
|
|
64
|
+
// does not list the whole fleet again to find it.
|
|
65
|
+
const recordOf = new WeakMap<TimelineBoxFact, BoxRecord>();
|
|
66
|
+
const remember = (fact: TimelineBoxFact, rec: BoxRecord): TimelineBoxFact => {
|
|
67
|
+
recordOf.set(fact, rec);
|
|
68
|
+
return fact;
|
|
69
|
+
};
|
|
70
|
+
return {
|
|
71
|
+
async boxFacts() {
|
|
72
|
+
return (await src.listBoxes()).map((b) => remember(boxFactOf(b), b));
|
|
73
|
+
},
|
|
74
|
+
async boxFact(id, opts) {
|
|
75
|
+
const rec = await src.readBoxRecord(id);
|
|
76
|
+
if (!rec) return undefined;
|
|
77
|
+
let state: string | undefined;
|
|
78
|
+
if (opts?.withState) {
|
|
79
|
+
state =
|
|
80
|
+
rec.provider && rec.provider !== 'docker'
|
|
81
|
+
? rec.cloud?.lastState
|
|
82
|
+
: await withTimeout(
|
|
83
|
+
src.providerForBox(rec).then((p) => p.probeState(rec)),
|
|
84
|
+
STATE_PROBE_TIMEOUT_MS,
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
return remember(boxFactOf(state ? { ...rec, state } : rec), rec);
|
|
88
|
+
},
|
|
89
|
+
async boxDiffStat(fact) {
|
|
90
|
+
const box = recordOf.get(fact) ?? (await src.readBoxRecord(fact.id));
|
|
91
|
+
if (!box) return null;
|
|
92
|
+
const provider = await src.providerForBox(box);
|
|
93
|
+
const r = await provider.exec(box, ['git', 'diff', '--shortstat'], { cwd: BOX_WORKSPACE });
|
|
94
|
+
return r.exitCode === 0 ? parseShortstat(r.stdout) : null;
|
|
95
|
+
},
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
// A box's pull request for the box payload (`Box.pr`), read from the workspace
|
|
2
|
+
// timeline and the GitHub sync's in-memory PR states. `GET /boxes` is polled every
|
|
3
|
+
// few seconds, so each workspace's index is rebuilt only when its log file or
|
|
4
|
+
// the sync's states change.
|
|
5
|
+
import { stat } from 'node:fs/promises';
|
|
6
|
+
import {
|
|
7
|
+
findWorkspaceContaining,
|
|
8
|
+
listWorkspaces,
|
|
9
|
+
readTimeline,
|
|
10
|
+
resolveWorkspaceDir,
|
|
11
|
+
timelineFile,
|
|
12
|
+
type TimelineEvent,
|
|
13
|
+
type WorkspaceRecord,
|
|
14
|
+
} from '@agentbox/relay';
|
|
15
|
+
import type { GithubPrSync } from './github-prs';
|
|
16
|
+
import type { Box, BoxPr } from '../boxes/types';
|
|
17
|
+
|
|
18
|
+
interface PrCandidate extends BoxPr {
|
|
19
|
+
/** The PR's earliest logged event: which of two PRs on one branch is newer. */
|
|
20
|
+
firstAt: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface WorkspacePrIndex {
|
|
24
|
+
byBoxId: Map<string, PrCandidate[]>;
|
|
25
|
+
byBranch: Map<string, PrCandidate[]>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
type PrStateOf = (repo: string, number: number) => BoxPr['state'] | undefined;
|
|
29
|
+
|
|
30
|
+
const STATE_OF_EVENT: Partial<Record<TimelineEvent['type'], BoxPr['state']>> = {
|
|
31
|
+
'pr.opened': 'open',
|
|
32
|
+
'pr.ready': 'ready',
|
|
33
|
+
'pr.merged': 'merged',
|
|
34
|
+
'pr.closed': 'closed',
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* The log's own verdict, strongest first. The log cannot un-append, so a PR
|
|
39
|
+
* logged ready and later closed is closed, and one merged is merged whatever
|
|
40
|
+
* followed; a live state from the sync overrides this when there is one.
|
|
41
|
+
*/
|
|
42
|
+
const LOG_STATE_RANK: Record<BoxPr['state'], number> = { merged: 3, closed: 2, ready: 1, open: 0 };
|
|
43
|
+
|
|
44
|
+
function push(map: Map<string, PrCandidate[]>, key: string, pr: PrCandidate): void {
|
|
45
|
+
const list = map.get(key);
|
|
46
|
+
if (!list) map.set(key, [pr]);
|
|
47
|
+
else if (!list.includes(pr)) list.push(pr);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function indexTimelinePrs(events: TimelineEvent[], prState?: PrStateOf): WorkspacePrIndex {
|
|
51
|
+
const prs = new Map<
|
|
52
|
+
string,
|
|
53
|
+
{ pr: PrCandidate; logState: BoxPr['state']; boxIds: Set<string>; branches: Set<string> }
|
|
54
|
+
>();
|
|
55
|
+
for (const ev of events) {
|
|
56
|
+
const state = STATE_OF_EVENT[ev.type];
|
|
57
|
+
if (!state || !ev.pr?.repo || typeof ev.pr.number !== 'number') continue;
|
|
58
|
+
const key = `${ev.pr.repo}#${String(ev.pr.number)}`;
|
|
59
|
+
let row = prs.get(key);
|
|
60
|
+
if (!row) {
|
|
61
|
+
row = {
|
|
62
|
+
pr: { repo: ev.pr.repo, number: ev.pr.number, state, firstAt: ev.at },
|
|
63
|
+
logState: state,
|
|
64
|
+
boxIds: new Set(),
|
|
65
|
+
branches: new Set(),
|
|
66
|
+
};
|
|
67
|
+
prs.set(key, row);
|
|
68
|
+
}
|
|
69
|
+
if (ev.at < row.pr.firstAt) row.pr.firstAt = ev.at;
|
|
70
|
+
if (LOG_STATE_RANK[state] > LOG_STATE_RANK[row.logState]) row.logState = state;
|
|
71
|
+
if (ev.pr.url && !row.pr.url) row.pr.url = ev.pr.url;
|
|
72
|
+
if (ev.boxId) row.boxIds.add(ev.boxId);
|
|
73
|
+
if (ev.pr.head) row.branches.add(ev.pr.head);
|
|
74
|
+
if (ev.branch) row.branches.add(ev.branch);
|
|
75
|
+
}
|
|
76
|
+
const index: WorkspacePrIndex = { byBoxId: new Map(), byBranch: new Map() };
|
|
77
|
+
for (const row of prs.values()) {
|
|
78
|
+
row.pr.state = prState?.(row.pr.repo, row.pr.number) ?? row.logState;
|
|
79
|
+
for (const id of row.boxIds) push(index.byBoxId, id, row.pr);
|
|
80
|
+
for (const br of row.branches) push(index.byBranch, br, row.pr);
|
|
81
|
+
}
|
|
82
|
+
return index;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
function isActive(pr: BoxPr): boolean {
|
|
86
|
+
return pr.state === 'open' || pr.state === 'ready';
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/** An open PR over a merged or closed one (a branch reused after a merge), then the newest. */
|
|
90
|
+
export function pickBoxPr(candidates: readonly PrCandidate[]): BoxPr | undefined {
|
|
91
|
+
let best: PrCandidate | undefined;
|
|
92
|
+
for (const c of candidates) {
|
|
93
|
+
if (!best) {
|
|
94
|
+
best = c;
|
|
95
|
+
continue;
|
|
96
|
+
}
|
|
97
|
+
if (isActive(c) !== isActive(best)) {
|
|
98
|
+
if (isActive(c)) best = c;
|
|
99
|
+
continue;
|
|
100
|
+
}
|
|
101
|
+
if (c.firstAt > best.firstAt || (c.firstAt === best.firstAt && c.number > best.number)) {
|
|
102
|
+
best = c;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
if (!best) return undefined;
|
|
106
|
+
return {
|
|
107
|
+
repo: best.repo,
|
|
108
|
+
number: best.number,
|
|
109
|
+
...(best.url ? { url: best.url } : {}),
|
|
110
|
+
state: best.state,
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
function branchesOf(box: Box): string[] {
|
|
115
|
+
const out = new Set<string>();
|
|
116
|
+
if (box.branch) out.add(box.branch);
|
|
117
|
+
for (const wt of box.gitWorktrees ?? []) if (wt.branch) out.add(wt.branch);
|
|
118
|
+
return [...out];
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Box ids are unique, so a box-id match is taken from any workspace. A branch
|
|
123
|
+
* (`agentbox/<name>`) is not, so it matches only in the box's own workspace.
|
|
124
|
+
*/
|
|
125
|
+
export function prForBox(
|
|
126
|
+
box: Box,
|
|
127
|
+
indexes: ReadonlyMap<string, WorkspacePrIndex>,
|
|
128
|
+
wsId: string | undefined,
|
|
129
|
+
): BoxPr | undefined {
|
|
130
|
+
const byId: PrCandidate[] = [];
|
|
131
|
+
for (const idx of indexes.values()) byId.push(...(idx.byBoxId.get(box.id) ?? []));
|
|
132
|
+
if (byId.length) return pickBoxPr(byId);
|
|
133
|
+
const idx = wsId ? indexes.get(wsId) : undefined;
|
|
134
|
+
if (!idx) return undefined;
|
|
135
|
+
const byBranch: PrCandidate[] = [];
|
|
136
|
+
for (const br of branchesOf(box)) {
|
|
137
|
+
for (const c of idx.byBranch.get(br) ?? []) if (!byBranch.includes(c)) byBranch.push(c);
|
|
138
|
+
}
|
|
139
|
+
return pickBoxPr(byBranch);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export type BoxPrOf = (box: Box) => BoxPr | undefined;
|
|
143
|
+
|
|
144
|
+
export interface BoxPrLookup {
|
|
145
|
+
/** A sync lookup for one `getData()`. Never rejects: a workspace that cannot be read has no PRs. */
|
|
146
|
+
resolver(wsByProject: ReadonlyMap<string, string>): Promise<BoxPrOf>;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export interface BoxPrLookupOptions {
|
|
150
|
+
sync?: Pick<GithubPrSync, 'prState' | 'statesVersion'>;
|
|
151
|
+
readEvents?: (wsId: string) => Promise<TimelineEvent[]>;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
interface CacheEntry {
|
|
155
|
+
stamp: string;
|
|
156
|
+
index: WorkspacePrIndex;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
const NONE: BoxPrOf = () => undefined;
|
|
160
|
+
|
|
161
|
+
export function createBoxPrLookup(opts: BoxPrLookupOptions = {}): BoxPrLookup {
|
|
162
|
+
const readEvents = opts.readEvents ?? ((wsId: string) => readTimeline(wsId));
|
|
163
|
+
const cache = new Map<string, CacheEntry>();
|
|
164
|
+
|
|
165
|
+
async function indexOf(ws: WorkspaceRecord): Promise<WorkspacePrIndex | null> {
|
|
166
|
+
const dir = await resolveWorkspaceDir(ws.id);
|
|
167
|
+
if (!dir) return null;
|
|
168
|
+
const st = await stat(timelineFile(dir)).catch(() => null);
|
|
169
|
+
if (!st) {
|
|
170
|
+
cache.delete(ws.id);
|
|
171
|
+
return null;
|
|
172
|
+
}
|
|
173
|
+
const stamp = `${String(st.mtimeMs)}:${String(st.size)}:${String(opts.sync?.statesVersion() ?? 0)}`;
|
|
174
|
+
const hit = cache.get(ws.id);
|
|
175
|
+
if (hit?.stamp === stamp) return hit.index;
|
|
176
|
+
const prState: PrStateOf | undefined = opts.sync
|
|
177
|
+
? (repo, n) => opts.sync!.prState(repo, n)
|
|
178
|
+
: undefined;
|
|
179
|
+
const index = indexTimelinePrs(await readEvents(ws.id), prState);
|
|
180
|
+
cache.set(ws.id, { stamp, index });
|
|
181
|
+
return index;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
return {
|
|
185
|
+
async resolver(wsByProject) {
|
|
186
|
+
try {
|
|
187
|
+
const records = await listWorkspaces();
|
|
188
|
+
if (records.length === 0) {
|
|
189
|
+
cache.clear();
|
|
190
|
+
return NONE;
|
|
191
|
+
}
|
|
192
|
+
const indexes = new Map<string, WorkspacePrIndex>();
|
|
193
|
+
await Promise.all(
|
|
194
|
+
records.map(async (ws) => {
|
|
195
|
+
const idx = await indexOf(ws).catch(() => null);
|
|
196
|
+
if (idx) indexes.set(ws.id, idx);
|
|
197
|
+
}),
|
|
198
|
+
);
|
|
199
|
+
const listed = new Set(records.map((r) => r.id));
|
|
200
|
+
for (const id of cache.keys()) if (!listed.has(id)) cache.delete(id);
|
|
201
|
+
if (indexes.size === 0) return NONE;
|
|
202
|
+
return (box) => {
|
|
203
|
+
const wsId =
|
|
204
|
+
wsByProject.get(box.projectId) ??
|
|
205
|
+
(box.projectRoot ? findWorkspaceContaining(records, box.projectRoot)?.id : undefined);
|
|
206
|
+
return prForBox(box, indexes, wsId);
|
|
207
|
+
};
|
|
208
|
+
} catch {
|
|
209
|
+
return NONE;
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
};
|
|
213
|
+
}
|