@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
|
@@ -12,6 +12,129 @@ const errorResponse = {
|
|
|
12
12
|
},
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
+
const managerIdParam = {
|
|
16
|
+
name: 'id',
|
|
17
|
+
in: 'path',
|
|
18
|
+
required: true,
|
|
19
|
+
schema: { type: 'string', pattern: '^[0-9a-f]{16}$' },
|
|
20
|
+
description: 'Manager id.',
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
const workspaceIdParam = {
|
|
24
|
+
name: 'id',
|
|
25
|
+
in: 'path',
|
|
26
|
+
required: true,
|
|
27
|
+
schema: { type: 'string' },
|
|
28
|
+
description: 'Workspace id.',
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
const detectSchema = {
|
|
32
|
+
type: 'object',
|
|
33
|
+
properties: {
|
|
34
|
+
manager: { $ref: '#/components/schemas/Manager' },
|
|
35
|
+
workspace: { $ref: '#/components/schemas/Workspace' },
|
|
36
|
+
},
|
|
37
|
+
required: ['manager', 'workspace'],
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
const NOTE_DESCRIPTION =
|
|
41
|
+
"Why: recorded on the workspace timeline as a `manager.note` next to this change (stamped with the caller's manager and turn when the CLI sends `X-AgentBox-Session`).";
|
|
42
|
+
|
|
43
|
+
const timelineEventTypes = [
|
|
44
|
+
'task.created',
|
|
45
|
+
'task.status',
|
|
46
|
+
'task.assigned',
|
|
47
|
+
'task.unassigned',
|
|
48
|
+
'task.removed',
|
|
49
|
+
'manager.joined',
|
|
50
|
+
'manager.started',
|
|
51
|
+
'manager.resumed',
|
|
52
|
+
'manager.stopped',
|
|
53
|
+
'manager.note',
|
|
54
|
+
'manager.message',
|
|
55
|
+
'box.created',
|
|
56
|
+
'box.ready',
|
|
57
|
+
'box.failed',
|
|
58
|
+
'box.started',
|
|
59
|
+
'box.stopped',
|
|
60
|
+
'box.destroyed',
|
|
61
|
+
'box.branch',
|
|
62
|
+
'git.push',
|
|
63
|
+
'pr.opened',
|
|
64
|
+
'pr.ready',
|
|
65
|
+
'pr.merged',
|
|
66
|
+
'pr.closed',
|
|
67
|
+
];
|
|
68
|
+
|
|
69
|
+
const taskStatusEnum = { type: 'string', enum: ['todo', 'in_progress', 'blocked', 'done'] };
|
|
70
|
+
|
|
71
|
+
const timelineEventProperties = {
|
|
72
|
+
id: {
|
|
73
|
+
type: 'string',
|
|
74
|
+
description: 'Time-sortable: zero-padded base-36 ms, then a random suffix.',
|
|
75
|
+
},
|
|
76
|
+
at: { type: 'string', description: 'ISO time.' },
|
|
77
|
+
type: { type: 'string', enum: timelineEventTypes },
|
|
78
|
+
actor: { type: 'string', enum: ['human', 'manager', 'box', 'hub', 'github'] },
|
|
79
|
+
managerId: { type: 'string' },
|
|
80
|
+
turn: {
|
|
81
|
+
type: 'number',
|
|
82
|
+
description:
|
|
83
|
+
"The manager session's turn when this happened; only when its transcript is on the hub's disk.",
|
|
84
|
+
},
|
|
85
|
+
prompt: { type: 'string', description: "That turn's prompt, as a one-line title." },
|
|
86
|
+
boxId: { type: 'string' },
|
|
87
|
+
boxName: { type: 'string' },
|
|
88
|
+
agent: { type: 'string' },
|
|
89
|
+
branch: {
|
|
90
|
+
type: 'string',
|
|
91
|
+
description:
|
|
92
|
+
'`box.branch`: the branch the box is on after the switch, as the hub sanctioned it.',
|
|
93
|
+
},
|
|
94
|
+
base: {
|
|
95
|
+
type: 'string',
|
|
96
|
+
description:
|
|
97
|
+
"`box.created`: the branch the box forked from (the create's `fromBranch`, else the branch the project's host checkout was on; absent when unknown). `box.ready`: the create's `fromBranch`, only when it had one. `box.branch`: the branch it switched away from.",
|
|
98
|
+
},
|
|
99
|
+
projectId: { type: 'string' },
|
|
100
|
+
taskIds: {
|
|
101
|
+
type: 'array',
|
|
102
|
+
items: { type: 'string' },
|
|
103
|
+
description: 'Captured when the event was written (a task later leaves its box).',
|
|
104
|
+
},
|
|
105
|
+
task: {
|
|
106
|
+
type: 'object',
|
|
107
|
+
properties: {
|
|
108
|
+
id: { type: 'string' },
|
|
109
|
+
title: { type: 'string' },
|
|
110
|
+
from: taskStatusEnum,
|
|
111
|
+
to: taskStatusEnum,
|
|
112
|
+
},
|
|
113
|
+
required: ['id', 'title'],
|
|
114
|
+
},
|
|
115
|
+
pr: { $ref: '#/components/schemas/TimelinePr' },
|
|
116
|
+
text: { type: 'string', description: 'A note, or the message sent to a manager.' },
|
|
117
|
+
noteKind: { type: 'string', enum: ['note', 'replan', 'plan'] },
|
|
118
|
+
boxRunning: {
|
|
119
|
+
type: 'boolean',
|
|
120
|
+
description: '`task.assigned`: the box was already running (it was given more work).',
|
|
121
|
+
},
|
|
122
|
+
additions: {
|
|
123
|
+
type: 'number',
|
|
124
|
+
description:
|
|
125
|
+
'`git.push`: lines the push added, read from the host repo when it was recorded (the old tip to the new, or the merge base with the default branch for a first push or a force-push that rewrote the old tip). Absent when it could not be read.',
|
|
126
|
+
},
|
|
127
|
+
deletions: {
|
|
128
|
+
type: 'number',
|
|
129
|
+
description: '`git.push`: lines the push removed (see `additions`).',
|
|
130
|
+
},
|
|
131
|
+
key: {
|
|
132
|
+
type: 'string',
|
|
133
|
+
description:
|
|
134
|
+
'Dedupe key (`pr:<repo>#<n>:merged`, `job:<jobId>:ready`); an event whose key is already logged is not appended again.',
|
|
135
|
+
},
|
|
136
|
+
};
|
|
137
|
+
|
|
15
138
|
export function buildOpenApi(): Record<string, unknown> {
|
|
16
139
|
return {
|
|
17
140
|
openapi: '3.1.0',
|
|
@@ -52,6 +175,20 @@ export function buildOpenApi(): Record<string, unknown> {
|
|
|
52
175
|
name: 'Custody',
|
|
53
176
|
description: 'What the control box holds in custody (metadata only — never values).',
|
|
54
177
|
},
|
|
178
|
+
{
|
|
179
|
+
name: 'Workspaces',
|
|
180
|
+
description:
|
|
181
|
+
'Folders grouping one or more projects, each owning a task list and its manager sessions.',
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
name: 'Tasks',
|
|
185
|
+
description: 'Units of work, prioritized by list order and assigned to boxes.',
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
name: 'Managers',
|
|
189
|
+
description:
|
|
190
|
+
'Host agent sessions that create and watch boxes: detected from your terminal, or run by the hub in tmux.',
|
|
191
|
+
},
|
|
55
192
|
],
|
|
56
193
|
paths: {
|
|
57
194
|
'/health': {
|
|
@@ -711,51 +848,1147 @@ export function buildOpenApi(): Record<string, unknown> {
|
|
|
711
848
|
},
|
|
712
849
|
responses: {
|
|
713
850
|
'200': {
|
|
714
|
-
description: 'Clone staged; create job enqueued',
|
|
851
|
+
description: 'Clone staged; create job enqueued',
|
|
852
|
+
content: {
|
|
853
|
+
'application/json': {
|
|
854
|
+
schema: {
|
|
855
|
+
type: 'object',
|
|
856
|
+
properties: {
|
|
857
|
+
jobId: { type: 'string' },
|
|
858
|
+
name: { type: 'string' },
|
|
859
|
+
workspace: {
|
|
860
|
+
type: 'string',
|
|
861
|
+
description: "Host dir the clone's workspace was exported to.",
|
|
862
|
+
},
|
|
863
|
+
provider: { type: 'string' },
|
|
864
|
+
carryAsk: {
|
|
865
|
+
type: 'boolean',
|
|
866
|
+
description:
|
|
867
|
+
'Show the `carry:` question again for a list this project has already approved. A standing approval otherwise removes the prompt entirely, so this is how a client offers a review — and, by answering Skip/Cancel on the create, a way to withdraw it.',
|
|
868
|
+
},
|
|
869
|
+
files: { type: 'integer' },
|
|
870
|
+
persistent: {
|
|
871
|
+
type: 'boolean',
|
|
872
|
+
description:
|
|
873
|
+
"The always-on flag resolved for the clone. Absent when neither the request nor the source box had an opinion, leaving it to the hub's `box.persistent`.",
|
|
874
|
+
},
|
|
875
|
+
},
|
|
876
|
+
required: ['jobId', 'name', 'workspace', 'provider', 'files'],
|
|
877
|
+
},
|
|
878
|
+
},
|
|
879
|
+
},
|
|
880
|
+
},
|
|
881
|
+
'400': errorResponse,
|
|
882
|
+
'401': errorResponse,
|
|
883
|
+
'404': errorResponse,
|
|
884
|
+
'409': errorResponse,
|
|
885
|
+
'503': errorResponse,
|
|
886
|
+
},
|
|
887
|
+
},
|
|
888
|
+
},
|
|
889
|
+
'/boxes/{id}/open': {
|
|
890
|
+
post: {
|
|
891
|
+
tags: ['Box services'],
|
|
892
|
+
summary: 'Open the box in a host app',
|
|
893
|
+
description:
|
|
894
|
+
'Launch the box in a host GUI app (Codex, VS Code/Cursor, cmux, Herdr, iTerm2) by re-shelling `agentbox open --in <app>`. Only works on a localhost hub running on macOS; a remote hub / non-macOS host refuses. An app must be installed and provider-eligible (e.g. Codex is Hetzner-only) — see GET /open-targets.',
|
|
895
|
+
parameters: [{ name: 'id', in: 'path', required: true, schema: { type: 'string' } }],
|
|
896
|
+
requestBody: {
|
|
897
|
+
required: true,
|
|
898
|
+
content: {
|
|
899
|
+
'application/json': {
|
|
900
|
+
schema: {
|
|
901
|
+
type: 'object',
|
|
902
|
+
properties: {
|
|
903
|
+
app: { type: 'string', enum: ['codex', 'herdr', 'cmux', 'vscode', 'iterm2'] },
|
|
904
|
+
},
|
|
905
|
+
required: ['app'],
|
|
906
|
+
},
|
|
907
|
+
},
|
|
908
|
+
},
|
|
909
|
+
},
|
|
910
|
+
responses: {
|
|
911
|
+
'200': {
|
|
912
|
+
description: 'Launched',
|
|
913
|
+
content: {
|
|
914
|
+
'application/json': {
|
|
915
|
+
schema: { type: 'object', properties: { ok: { const: true } }, required: ['ok'] },
|
|
916
|
+
},
|
|
917
|
+
},
|
|
918
|
+
},
|
|
919
|
+
'400': errorResponse,
|
|
920
|
+
'401': errorResponse,
|
|
921
|
+
'404': errorResponse,
|
|
922
|
+
'409': errorResponse,
|
|
923
|
+
'503': errorResponse,
|
|
924
|
+
},
|
|
925
|
+
},
|
|
926
|
+
},
|
|
927
|
+
'/open-targets': {
|
|
928
|
+
get: {
|
|
929
|
+
tags: ['Box services'],
|
|
930
|
+
summary: 'Which host apps this hub can open a box in',
|
|
931
|
+
description:
|
|
932
|
+
'Reports whether the hub can launch host GUI apps (`supported` — true only on a localhost hub on macOS) and, if so, which of Codex/Herdr/cmux/VS Code/iTerm2 are installed plus their provider eligibility. Backs the box detail page "Apps" launchers.',
|
|
933
|
+
responses: {
|
|
934
|
+
'200': {
|
|
935
|
+
description: 'Open targets',
|
|
936
|
+
content: {
|
|
937
|
+
'application/json': {
|
|
938
|
+
schema: {
|
|
939
|
+
type: 'object',
|
|
940
|
+
properties: {
|
|
941
|
+
supported: { type: 'boolean' },
|
|
942
|
+
targets: {
|
|
943
|
+
type: ['object', 'null'],
|
|
944
|
+
additionalProperties: {
|
|
945
|
+
type: 'object',
|
|
946
|
+
properties: {
|
|
947
|
+
available: { type: 'boolean' },
|
|
948
|
+
providers: { type: 'array', items: { type: 'string' } },
|
|
949
|
+
},
|
|
950
|
+
required: ['available'],
|
|
951
|
+
},
|
|
952
|
+
},
|
|
953
|
+
},
|
|
954
|
+
required: ['supported', 'targets'],
|
|
955
|
+
},
|
|
956
|
+
},
|
|
957
|
+
},
|
|
958
|
+
},
|
|
959
|
+
'401': errorResponse,
|
|
960
|
+
},
|
|
961
|
+
},
|
|
962
|
+
},
|
|
963
|
+
'/workspaces': {
|
|
964
|
+
get: {
|
|
965
|
+
tags: ['Workspaces'],
|
|
966
|
+
summary: 'List registered workspaces',
|
|
967
|
+
description:
|
|
968
|
+
'A workspace is a folder on the hub host grouping one or more projects; it owns a task list and its manager sessions. One is created automatically when a manager session is detected in a folder no workspace contains. Empty on a hosted hub, which holds no host folders.',
|
|
969
|
+
responses: {
|
|
970
|
+
'200': {
|
|
971
|
+
description: 'Workspaces',
|
|
972
|
+
content: {
|
|
973
|
+
'application/json': {
|
|
974
|
+
schema: {
|
|
975
|
+
type: 'object',
|
|
976
|
+
properties: {
|
|
977
|
+
workspaces: {
|
|
978
|
+
type: 'array',
|
|
979
|
+
items: { $ref: '#/components/schemas/Workspace' },
|
|
980
|
+
},
|
|
981
|
+
},
|
|
982
|
+
required: ['workspaces'],
|
|
983
|
+
},
|
|
984
|
+
},
|
|
985
|
+
},
|
|
986
|
+
},
|
|
987
|
+
'401': errorResponse,
|
|
988
|
+
},
|
|
989
|
+
},
|
|
990
|
+
post: {
|
|
991
|
+
tags: ['Workspaces'],
|
|
992
|
+
summary: 'Register a folder as a workspace',
|
|
993
|
+
description:
|
|
994
|
+
'Scans the folder and its immediate subfolders for projects (a `.git` or an `agentbox.yaml`) and registers each one, so they appear in `GET /projects` too. Idempotent: re-posting a registered root rescans it.',
|
|
995
|
+
requestBody: {
|
|
996
|
+
required: true,
|
|
997
|
+
content: {
|
|
998
|
+
'application/json': {
|
|
999
|
+
schema: {
|
|
1000
|
+
type: 'object',
|
|
1001
|
+
properties: {
|
|
1002
|
+
path: { type: 'string', description: 'Absolute path on the hub host.' },
|
|
1003
|
+
name: {
|
|
1004
|
+
type: 'string',
|
|
1005
|
+
description: 'Display name (default: folder basename).',
|
|
1006
|
+
},
|
|
1007
|
+
},
|
|
1008
|
+
required: ['path'],
|
|
1009
|
+
},
|
|
1010
|
+
},
|
|
1011
|
+
},
|
|
1012
|
+
},
|
|
1013
|
+
responses: {
|
|
1014
|
+
'200': {
|
|
1015
|
+
description: 'The workspace',
|
|
1016
|
+
content: {
|
|
1017
|
+
'application/json': { schema: { $ref: '#/components/schemas/Workspace' } },
|
|
1018
|
+
},
|
|
1019
|
+
},
|
|
1020
|
+
'400': errorResponse,
|
|
1021
|
+
'401': errorResponse,
|
|
1022
|
+
'503': errorResponse,
|
|
1023
|
+
},
|
|
1024
|
+
},
|
|
1025
|
+
},
|
|
1026
|
+
'/workspaces/{id}': {
|
|
1027
|
+
get: {
|
|
1028
|
+
tags: ['Workspaces'],
|
|
1029
|
+
summary: 'Get one workspace',
|
|
1030
|
+
parameters: [
|
|
1031
|
+
{
|
|
1032
|
+
name: 'id',
|
|
1033
|
+
in: 'path',
|
|
1034
|
+
required: true,
|
|
1035
|
+
schema: { type: 'string' },
|
|
1036
|
+
description: 'Workspace id.',
|
|
1037
|
+
},
|
|
1038
|
+
],
|
|
1039
|
+
responses: {
|
|
1040
|
+
'200': {
|
|
1041
|
+
description: 'The workspace',
|
|
1042
|
+
content: {
|
|
1043
|
+
'application/json': { schema: { $ref: '#/components/schemas/Workspace' } },
|
|
1044
|
+
},
|
|
1045
|
+
},
|
|
1046
|
+
'401': errorResponse,
|
|
1047
|
+
'404': errorResponse,
|
|
1048
|
+
},
|
|
1049
|
+
},
|
|
1050
|
+
delete: {
|
|
1051
|
+
tags: ['Workspaces'],
|
|
1052
|
+
summary: 'Unregister a workspace',
|
|
1053
|
+
description:
|
|
1054
|
+
'Drops the workspace record, its tasks and its managers. The folder, its projects and their boxes are untouched. Refused (409) while any of its managers is running, unless `force=1`.',
|
|
1055
|
+
parameters: [
|
|
1056
|
+
{
|
|
1057
|
+
name: 'id',
|
|
1058
|
+
in: 'path',
|
|
1059
|
+
required: true,
|
|
1060
|
+
schema: { type: 'string' },
|
|
1061
|
+
description: 'Workspace id.',
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
name: 'force',
|
|
1065
|
+
in: 'query',
|
|
1066
|
+
schema: { type: 'string', enum: ['1', 'true'] },
|
|
1067
|
+
description: 'Remove it even while one of its managers reads as running.',
|
|
1068
|
+
},
|
|
1069
|
+
],
|
|
1070
|
+
responses: {
|
|
1071
|
+
'200': {
|
|
1072
|
+
description: 'Done',
|
|
1073
|
+
content: {
|
|
1074
|
+
'application/json': {
|
|
1075
|
+
schema: { type: 'object', properties: { ok: { const: true } }, required: ['ok'] },
|
|
1076
|
+
},
|
|
1077
|
+
},
|
|
1078
|
+
},
|
|
1079
|
+
'401': errorResponse,
|
|
1080
|
+
'404': errorResponse,
|
|
1081
|
+
'409': errorResponse,
|
|
1082
|
+
'503': errorResponse,
|
|
1083
|
+
},
|
|
1084
|
+
},
|
|
1085
|
+
},
|
|
1086
|
+
'/workspaces/{id}/rename': {
|
|
1087
|
+
post: {
|
|
1088
|
+
tags: ['Workspaces'],
|
|
1089
|
+
summary: 'Rename a workspace',
|
|
1090
|
+
parameters: [
|
|
1091
|
+
{
|
|
1092
|
+
name: 'id',
|
|
1093
|
+
in: 'path',
|
|
1094
|
+
required: true,
|
|
1095
|
+
schema: { type: 'string' },
|
|
1096
|
+
description: 'Workspace id.',
|
|
1097
|
+
},
|
|
1098
|
+
],
|
|
1099
|
+
requestBody: {
|
|
1100
|
+
required: true,
|
|
1101
|
+
content: {
|
|
1102
|
+
'application/json': {
|
|
1103
|
+
schema: {
|
|
1104
|
+
type: 'object',
|
|
1105
|
+
properties: { name: { type: 'string', maxLength: 60 } },
|
|
1106
|
+
required: ['name'],
|
|
1107
|
+
},
|
|
1108
|
+
},
|
|
1109
|
+
},
|
|
1110
|
+
},
|
|
1111
|
+
responses: {
|
|
1112
|
+
'200': {
|
|
1113
|
+
description: 'The workspace',
|
|
1114
|
+
content: {
|
|
1115
|
+
'application/json': { schema: { $ref: '#/components/schemas/Workspace' } },
|
|
1116
|
+
},
|
|
1117
|
+
},
|
|
1118
|
+
'400': errorResponse,
|
|
1119
|
+
'401': errorResponse,
|
|
1120
|
+
'404': errorResponse,
|
|
1121
|
+
'503': errorResponse,
|
|
1122
|
+
},
|
|
1123
|
+
},
|
|
1124
|
+
},
|
|
1125
|
+
'/workspaces/{id}/rescan': {
|
|
1126
|
+
post: {
|
|
1127
|
+
tags: ['Workspaces'],
|
|
1128
|
+
summary: 'Re-discover the projects under a workspace',
|
|
1129
|
+
description:
|
|
1130
|
+
'A repo cloned into the folder after registration is invisible until this runs.',
|
|
1131
|
+
parameters: [
|
|
1132
|
+
{
|
|
1133
|
+
name: 'id',
|
|
1134
|
+
in: 'path',
|
|
1135
|
+
required: true,
|
|
1136
|
+
schema: { type: 'string' },
|
|
1137
|
+
description: 'Workspace id.',
|
|
1138
|
+
},
|
|
1139
|
+
],
|
|
1140
|
+
responses: {
|
|
1141
|
+
'200': {
|
|
1142
|
+
description: 'The workspace',
|
|
1143
|
+
content: {
|
|
1144
|
+
'application/json': { schema: { $ref: '#/components/schemas/Workspace' } },
|
|
1145
|
+
},
|
|
1146
|
+
},
|
|
1147
|
+
'401': errorResponse,
|
|
1148
|
+
'404': errorResponse,
|
|
1149
|
+
'503': errorResponse,
|
|
1150
|
+
},
|
|
1151
|
+
},
|
|
1152
|
+
},
|
|
1153
|
+
'/workspaces/{id}/tasks': {
|
|
1154
|
+
get: {
|
|
1155
|
+
tags: ['Tasks'],
|
|
1156
|
+
summary: "List a workspace's tasks",
|
|
1157
|
+
description:
|
|
1158
|
+
'In priority order (the list order IS the priority). Assignments are healed on read: a task pointed at a create job moves to the box id once the worker records it, and a task whose box is gone returns to the backlog.',
|
|
1159
|
+
parameters: [
|
|
1160
|
+
{
|
|
1161
|
+
name: 'id',
|
|
1162
|
+
in: 'path',
|
|
1163
|
+
required: true,
|
|
1164
|
+
schema: { type: 'string' },
|
|
1165
|
+
description: 'Workspace id.',
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
name: 'status',
|
|
1169
|
+
in: 'query',
|
|
1170
|
+
schema: { type: 'string', enum: ['todo', 'in_progress', 'blocked', 'done'] },
|
|
1171
|
+
},
|
|
1172
|
+
{ name: 'projectId', in: 'query', schema: { type: 'string' } },
|
|
1173
|
+
{ name: 'boxId', in: 'query', schema: { type: 'string' } },
|
|
1174
|
+
{ name: 'managerId', in: 'query', schema: { type: 'string' } },
|
|
1175
|
+
],
|
|
1176
|
+
responses: {
|
|
1177
|
+
'200': {
|
|
1178
|
+
description: 'Tasks',
|
|
1179
|
+
content: {
|
|
1180
|
+
'application/json': {
|
|
1181
|
+
schema: {
|
|
1182
|
+
type: 'object',
|
|
1183
|
+
properties: {
|
|
1184
|
+
tasks: { type: 'array', items: { $ref: '#/components/schemas/WorkTask' } },
|
|
1185
|
+
},
|
|
1186
|
+
required: ['tasks'],
|
|
1187
|
+
},
|
|
1188
|
+
},
|
|
1189
|
+
},
|
|
1190
|
+
},
|
|
1191
|
+
'400': errorResponse,
|
|
1192
|
+
'401': errorResponse,
|
|
1193
|
+
'404': errorResponse,
|
|
1194
|
+
},
|
|
1195
|
+
},
|
|
1196
|
+
post: {
|
|
1197
|
+
tags: ['Tasks'],
|
|
1198
|
+
summary: 'Add a task',
|
|
1199
|
+
parameters: [
|
|
1200
|
+
{
|
|
1201
|
+
name: 'id',
|
|
1202
|
+
in: 'path',
|
|
1203
|
+
required: true,
|
|
1204
|
+
schema: { type: 'string' },
|
|
1205
|
+
description: 'Workspace id.',
|
|
1206
|
+
},
|
|
1207
|
+
],
|
|
1208
|
+
requestBody: {
|
|
1209
|
+
required: true,
|
|
1210
|
+
content: {
|
|
1211
|
+
'application/json': {
|
|
1212
|
+
schema: {
|
|
1213
|
+
type: 'object',
|
|
1214
|
+
properties: {
|
|
1215
|
+
title: { type: 'string', maxLength: 300 },
|
|
1216
|
+
description: { type: 'string' },
|
|
1217
|
+
projectId: { type: 'string', description: 'Scope the task to one project.' },
|
|
1218
|
+
dependsOn: { type: 'array', items: { type: 'string', pattern: '^T-\\d+$' } },
|
|
1219
|
+
createdBy: { type: 'string', enum: ['human', 'manager', 'api'] },
|
|
1220
|
+
externalRef: { $ref: '#/components/schemas/WorkTaskExternalRef' },
|
|
1221
|
+
boxId: { type: 'string', description: 'Assign to this box immediately.' },
|
|
1222
|
+
boxJobId: {
|
|
1223
|
+
type: 'string',
|
|
1224
|
+
description: 'Assign to the box this create job will produce.',
|
|
1225
|
+
},
|
|
1226
|
+
managerId: {
|
|
1227
|
+
type: 'string',
|
|
1228
|
+
pattern: '^[0-9a-f]{16}$',
|
|
1229
|
+
description:
|
|
1230
|
+
"The manager session this task belongs to; 400 when it belongs to another workspace (or is unknown). Omitted with a box: the box's manager, when it is this workspace's.",
|
|
1231
|
+
},
|
|
1232
|
+
note: {
|
|
1233
|
+
type: 'string',
|
|
1234
|
+
maxLength: 2000,
|
|
1235
|
+
description: NOTE_DESCRIPTION,
|
|
1236
|
+
},
|
|
1237
|
+
},
|
|
1238
|
+
required: ['title'],
|
|
1239
|
+
},
|
|
1240
|
+
},
|
|
1241
|
+
},
|
|
1242
|
+
},
|
|
1243
|
+
responses: {
|
|
1244
|
+
'201': {
|
|
1245
|
+
description: 'The task',
|
|
1246
|
+
content: {
|
|
1247
|
+
'application/json': { schema: { $ref: '#/components/schemas/WorkTask' } },
|
|
1248
|
+
},
|
|
1249
|
+
},
|
|
1250
|
+
'400': errorResponse,
|
|
1251
|
+
'401': errorResponse,
|
|
1252
|
+
'404': errorResponse,
|
|
1253
|
+
'409': errorResponse,
|
|
1254
|
+
'503': errorResponse,
|
|
1255
|
+
},
|
|
1256
|
+
},
|
|
1257
|
+
},
|
|
1258
|
+
'/workspaces/{id}/tasks/reorder': {
|
|
1259
|
+
post: {
|
|
1260
|
+
tags: ['Tasks'],
|
|
1261
|
+
summary: 'Set the whole task order',
|
|
1262
|
+
description:
|
|
1263
|
+
"`ids` must be an exact permutation of the workspace's tasks — a partial list would silently renumber the rest, and this order is the priority the manager reads.",
|
|
1264
|
+
parameters: [
|
|
1265
|
+
{
|
|
1266
|
+
name: 'id',
|
|
1267
|
+
in: 'path',
|
|
1268
|
+
required: true,
|
|
1269
|
+
schema: { type: 'string' },
|
|
1270
|
+
description: 'Workspace id.',
|
|
1271
|
+
},
|
|
1272
|
+
],
|
|
1273
|
+
requestBody: {
|
|
1274
|
+
required: true,
|
|
1275
|
+
content: {
|
|
1276
|
+
'application/json': {
|
|
1277
|
+
schema: {
|
|
1278
|
+
type: 'object',
|
|
1279
|
+
properties: {
|
|
1280
|
+
ids: { type: 'array', items: { type: 'string', pattern: '^T-\\d+$' } },
|
|
1281
|
+
note: {
|
|
1282
|
+
type: 'string',
|
|
1283
|
+
maxLength: 2000,
|
|
1284
|
+
description: NOTE_DESCRIPTION,
|
|
1285
|
+
},
|
|
1286
|
+
},
|
|
1287
|
+
required: ['ids'],
|
|
1288
|
+
},
|
|
1289
|
+
},
|
|
1290
|
+
},
|
|
1291
|
+
},
|
|
1292
|
+
responses: {
|
|
1293
|
+
'200': {
|
|
1294
|
+
description: 'Tasks',
|
|
1295
|
+
content: {
|
|
1296
|
+
'application/json': {
|
|
1297
|
+
schema: {
|
|
1298
|
+
type: 'object',
|
|
1299
|
+
properties: {
|
|
1300
|
+
tasks: { type: 'array', items: { $ref: '#/components/schemas/WorkTask' } },
|
|
1301
|
+
},
|
|
1302
|
+
required: ['tasks'],
|
|
1303
|
+
},
|
|
1304
|
+
},
|
|
1305
|
+
},
|
|
1306
|
+
},
|
|
1307
|
+
'400': errorResponse,
|
|
1308
|
+
'401': errorResponse,
|
|
1309
|
+
'404': errorResponse,
|
|
1310
|
+
'503': errorResponse,
|
|
1311
|
+
},
|
|
1312
|
+
},
|
|
1313
|
+
},
|
|
1314
|
+
'/workspaces/{id}/tasks/assign': {
|
|
1315
|
+
post: {
|
|
1316
|
+
tags: ['Tasks'],
|
|
1317
|
+
summary: 'Assign several tasks to one box',
|
|
1318
|
+
description:
|
|
1319
|
+
'The bulk form the manager uses when it groups tasks that touch the same files into one box. Exactly one of `boxId` / `boxJobId`; a `todo` task becomes `in_progress`.',
|
|
1320
|
+
parameters: [
|
|
1321
|
+
{
|
|
1322
|
+
name: 'id',
|
|
1323
|
+
in: 'path',
|
|
1324
|
+
required: true,
|
|
1325
|
+
schema: { type: 'string' },
|
|
1326
|
+
description: 'Workspace id.',
|
|
1327
|
+
},
|
|
1328
|
+
],
|
|
1329
|
+
requestBody: {
|
|
1330
|
+
required: true,
|
|
1331
|
+
content: {
|
|
1332
|
+
'application/json': {
|
|
1333
|
+
schema: {
|
|
1334
|
+
type: 'object',
|
|
1335
|
+
properties: {
|
|
1336
|
+
ids: { type: 'array', items: { type: 'string', pattern: '^T-\\d+$' } },
|
|
1337
|
+
boxId: { type: 'string' },
|
|
1338
|
+
boxJobId: { type: 'string' },
|
|
1339
|
+
note: {
|
|
1340
|
+
type: 'string',
|
|
1341
|
+
maxLength: 2000,
|
|
1342
|
+
description: NOTE_DESCRIPTION,
|
|
1343
|
+
},
|
|
1344
|
+
},
|
|
1345
|
+
required: ['ids'],
|
|
1346
|
+
},
|
|
1347
|
+
},
|
|
1348
|
+
},
|
|
1349
|
+
},
|
|
1350
|
+
responses: {
|
|
1351
|
+
'200': {
|
|
1352
|
+
description: 'Tasks',
|
|
1353
|
+
content: {
|
|
1354
|
+
'application/json': {
|
|
1355
|
+
schema: {
|
|
1356
|
+
type: 'object',
|
|
1357
|
+
properties: {
|
|
1358
|
+
tasks: { type: 'array', items: { $ref: '#/components/schemas/WorkTask' } },
|
|
1359
|
+
},
|
|
1360
|
+
required: ['tasks'],
|
|
1361
|
+
},
|
|
1362
|
+
},
|
|
1363
|
+
},
|
|
1364
|
+
},
|
|
1365
|
+
'400': errorResponse,
|
|
1366
|
+
'401': errorResponse,
|
|
1367
|
+
'404': errorResponse,
|
|
1368
|
+
'409': errorResponse,
|
|
1369
|
+
'503': errorResponse,
|
|
1370
|
+
},
|
|
1371
|
+
},
|
|
1372
|
+
},
|
|
1373
|
+
'/workspaces/{id}/tasks/{taskId}': {
|
|
1374
|
+
get: {
|
|
1375
|
+
tags: ['Tasks'],
|
|
1376
|
+
summary: 'Get one task',
|
|
1377
|
+
parameters: [
|
|
1378
|
+
{
|
|
1379
|
+
name: 'id',
|
|
1380
|
+
in: 'path',
|
|
1381
|
+
required: true,
|
|
1382
|
+
schema: { type: 'string' },
|
|
1383
|
+
description: 'Workspace id.',
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
name: 'taskId',
|
|
1387
|
+
in: 'path',
|
|
1388
|
+
required: true,
|
|
1389
|
+
schema: { type: 'string', pattern: '^T-\\d+$' },
|
|
1390
|
+
},
|
|
1391
|
+
],
|
|
1392
|
+
responses: {
|
|
1393
|
+
'200': {
|
|
1394
|
+
description: 'The task',
|
|
1395
|
+
content: {
|
|
1396
|
+
'application/json': { schema: { $ref: '#/components/schemas/WorkTask' } },
|
|
1397
|
+
},
|
|
1398
|
+
},
|
|
1399
|
+
'401': errorResponse,
|
|
1400
|
+
'404': errorResponse,
|
|
1401
|
+
},
|
|
1402
|
+
},
|
|
1403
|
+
post: {
|
|
1404
|
+
tags: ['Tasks'],
|
|
1405
|
+
summary: 'Update a task',
|
|
1406
|
+
description:
|
|
1407
|
+
'Partial update (this API has no PATCH). `projectId: null` clears the project scope and `managerId: null` the manager; an omitted field is left alone.',
|
|
1408
|
+
parameters: [
|
|
1409
|
+
{
|
|
1410
|
+
name: 'id',
|
|
1411
|
+
in: 'path',
|
|
1412
|
+
required: true,
|
|
1413
|
+
schema: { type: 'string' },
|
|
1414
|
+
description: 'Workspace id.',
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
name: 'taskId',
|
|
1418
|
+
in: 'path',
|
|
1419
|
+
required: true,
|
|
1420
|
+
schema: { type: 'string', pattern: '^T-\\d+$' },
|
|
1421
|
+
},
|
|
1422
|
+
],
|
|
1423
|
+
requestBody: {
|
|
1424
|
+
required: true,
|
|
1425
|
+
content: {
|
|
1426
|
+
'application/json': {
|
|
1427
|
+
schema: {
|
|
1428
|
+
type: 'object',
|
|
1429
|
+
properties: {
|
|
1430
|
+
title: { type: 'string', maxLength: 300 },
|
|
1431
|
+
description: { type: 'string' },
|
|
1432
|
+
status: { type: 'string', enum: ['todo', 'in_progress', 'blocked', 'done'] },
|
|
1433
|
+
projectId: { type: 'string', nullable: true },
|
|
1434
|
+
dependsOn: { type: 'array', items: { type: 'string', pattern: '^T-\\d+$' } },
|
|
1435
|
+
externalRef: { $ref: '#/components/schemas/WorkTaskExternalRef' },
|
|
1436
|
+
managerId: {
|
|
1437
|
+
type: 'string',
|
|
1438
|
+
nullable: true,
|
|
1439
|
+
description:
|
|
1440
|
+
'`null` clears the manager; 400 for a manager of another workspace (or an unknown one).',
|
|
1441
|
+
},
|
|
1442
|
+
note: {
|
|
1443
|
+
type: 'string',
|
|
1444
|
+
maxLength: 2000,
|
|
1445
|
+
description: NOTE_DESCRIPTION,
|
|
1446
|
+
},
|
|
1447
|
+
},
|
|
1448
|
+
},
|
|
1449
|
+
},
|
|
1450
|
+
},
|
|
1451
|
+
},
|
|
1452
|
+
responses: {
|
|
1453
|
+
'200': {
|
|
1454
|
+
description: 'The task',
|
|
1455
|
+
content: {
|
|
1456
|
+
'application/json': { schema: { $ref: '#/components/schemas/WorkTask' } },
|
|
1457
|
+
},
|
|
1458
|
+
},
|
|
1459
|
+
'400': errorResponse,
|
|
1460
|
+
'401': errorResponse,
|
|
1461
|
+
'404': errorResponse,
|
|
1462
|
+
'409': errorResponse,
|
|
1463
|
+
'503': errorResponse,
|
|
1464
|
+
},
|
|
1465
|
+
},
|
|
1466
|
+
delete: {
|
|
1467
|
+
tags: ['Tasks'],
|
|
1468
|
+
summary: 'Remove a task',
|
|
1469
|
+
description: "Also drops the id from every other task's dependsOn.",
|
|
1470
|
+
parameters: [
|
|
1471
|
+
{
|
|
1472
|
+
name: 'id',
|
|
1473
|
+
in: 'path',
|
|
1474
|
+
required: true,
|
|
1475
|
+
schema: { type: 'string' },
|
|
1476
|
+
description: 'Workspace id.',
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
name: 'taskId',
|
|
1480
|
+
in: 'path',
|
|
1481
|
+
required: true,
|
|
1482
|
+
schema: { type: 'string', pattern: '^T-\\d+$' },
|
|
1483
|
+
},
|
|
1484
|
+
],
|
|
1485
|
+
responses: {
|
|
1486
|
+
'200': {
|
|
1487
|
+
description: 'Done',
|
|
1488
|
+
content: {
|
|
1489
|
+
'application/json': {
|
|
1490
|
+
schema: { type: 'object', properties: { ok: { const: true } }, required: ['ok'] },
|
|
1491
|
+
},
|
|
1492
|
+
},
|
|
1493
|
+
},
|
|
1494
|
+
'401': errorResponse,
|
|
1495
|
+
'404': errorResponse,
|
|
1496
|
+
'503': errorResponse,
|
|
1497
|
+
},
|
|
1498
|
+
},
|
|
1499
|
+
},
|
|
1500
|
+
'/workspaces/{id}/tasks/{taskId}/done': {
|
|
1501
|
+
post: {
|
|
1502
|
+
tags: ['Tasks'],
|
|
1503
|
+
summary: 'Mark a task done',
|
|
1504
|
+
parameters: [
|
|
1505
|
+
{
|
|
1506
|
+
name: 'id',
|
|
1507
|
+
in: 'path',
|
|
1508
|
+
required: true,
|
|
1509
|
+
schema: { type: 'string' },
|
|
1510
|
+
description: 'Workspace id.',
|
|
1511
|
+
},
|
|
1512
|
+
{
|
|
1513
|
+
name: 'taskId',
|
|
1514
|
+
in: 'path',
|
|
1515
|
+
required: true,
|
|
1516
|
+
schema: { type: 'string', pattern: '^T-\\d+$' },
|
|
1517
|
+
},
|
|
1518
|
+
],
|
|
1519
|
+
responses: {
|
|
1520
|
+
'200': {
|
|
1521
|
+
description: 'The task',
|
|
1522
|
+
content: {
|
|
1523
|
+
'application/json': { schema: { $ref: '#/components/schemas/WorkTask' } },
|
|
1524
|
+
},
|
|
1525
|
+
},
|
|
1526
|
+
'401': errorResponse,
|
|
1527
|
+
'404': errorResponse,
|
|
1528
|
+
'503': errorResponse,
|
|
1529
|
+
},
|
|
1530
|
+
},
|
|
1531
|
+
},
|
|
1532
|
+
'/workspaces/{id}/tasks/{taskId}/assign': {
|
|
1533
|
+
post: {
|
|
1534
|
+
tags: ['Tasks'],
|
|
1535
|
+
summary: 'Assign one task to a box',
|
|
1536
|
+
description: 'Exactly one of `boxId` / `boxJobId`.',
|
|
1537
|
+
parameters: [
|
|
1538
|
+
{
|
|
1539
|
+
name: 'id',
|
|
1540
|
+
in: 'path',
|
|
1541
|
+
required: true,
|
|
1542
|
+
schema: { type: 'string' },
|
|
1543
|
+
description: 'Workspace id.',
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
name: 'taskId',
|
|
1547
|
+
in: 'path',
|
|
1548
|
+
required: true,
|
|
1549
|
+
schema: { type: 'string', pattern: '^T-\\d+$' },
|
|
1550
|
+
},
|
|
1551
|
+
],
|
|
1552
|
+
requestBody: {
|
|
1553
|
+
required: true,
|
|
1554
|
+
content: {
|
|
1555
|
+
'application/json': {
|
|
1556
|
+
schema: {
|
|
1557
|
+
type: 'object',
|
|
1558
|
+
properties: {
|
|
1559
|
+
boxId: { type: 'string' },
|
|
1560
|
+
boxJobId: { type: 'string' },
|
|
1561
|
+
note: { type: 'string', maxLength: 2000, description: NOTE_DESCRIPTION },
|
|
1562
|
+
},
|
|
1563
|
+
},
|
|
1564
|
+
},
|
|
1565
|
+
},
|
|
1566
|
+
},
|
|
1567
|
+
responses: {
|
|
1568
|
+
'200': {
|
|
1569
|
+
description: 'The task',
|
|
1570
|
+
content: {
|
|
1571
|
+
'application/json': { schema: { $ref: '#/components/schemas/WorkTask' } },
|
|
1572
|
+
},
|
|
1573
|
+
},
|
|
1574
|
+
'400': errorResponse,
|
|
1575
|
+
'401': errorResponse,
|
|
1576
|
+
'404': errorResponse,
|
|
1577
|
+
'409': errorResponse,
|
|
1578
|
+
'503': errorResponse,
|
|
1579
|
+
},
|
|
1580
|
+
},
|
|
1581
|
+
},
|
|
1582
|
+
'/workspaces/{id}/tasks/{taskId}/unassign': {
|
|
1583
|
+
post: {
|
|
1584
|
+
tags: ['Tasks'],
|
|
1585
|
+
summary: 'Return a task to the backlog',
|
|
1586
|
+
description: 'Finished work stays finished; only an in-progress task reverts to todo.',
|
|
1587
|
+
parameters: [
|
|
1588
|
+
{
|
|
1589
|
+
name: 'id',
|
|
1590
|
+
in: 'path',
|
|
1591
|
+
required: true,
|
|
1592
|
+
schema: { type: 'string' },
|
|
1593
|
+
description: 'Workspace id.',
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
name: 'taskId',
|
|
1597
|
+
in: 'path',
|
|
1598
|
+
required: true,
|
|
1599
|
+
schema: { type: 'string', pattern: '^T-\\d+$' },
|
|
1600
|
+
},
|
|
1601
|
+
],
|
|
1602
|
+
responses: {
|
|
1603
|
+
'200': {
|
|
1604
|
+
description: 'The task',
|
|
1605
|
+
content: {
|
|
1606
|
+
'application/json': { schema: { $ref: '#/components/schemas/WorkTask' } },
|
|
1607
|
+
},
|
|
1608
|
+
},
|
|
1609
|
+
'401': errorResponse,
|
|
1610
|
+
'404': errorResponse,
|
|
1611
|
+
'503': errorResponse,
|
|
1612
|
+
},
|
|
1613
|
+
},
|
|
1614
|
+
},
|
|
1615
|
+
'/managers': {
|
|
1616
|
+
get: {
|
|
1617
|
+
tags: ['Managers'],
|
|
1618
|
+
summary: 'List manager sessions across every workspace',
|
|
1619
|
+
description:
|
|
1620
|
+
'A manager is a host agent session that creates and watches boxes: `external` (a claude/codex session in your own terminal, registered when the `agentbox` CLI runs inside it) or `hub` (one this hub started in tmux). Running first, then the most recently seen. `status` is derived from the process — the tmux session for a hub manager, the pid for an external one reported from this host, else a 30-minute last-seen window. Empty on a hosted hub.',
|
|
1621
|
+
parameters: [
|
|
1622
|
+
{ name: 'workspaceId', in: 'query', schema: { type: 'string' } },
|
|
1623
|
+
{
|
|
1624
|
+
name: 'status',
|
|
1625
|
+
in: 'query',
|
|
1626
|
+
schema: { type: 'string', enum: ['running', 'stopped'] },
|
|
1627
|
+
},
|
|
1628
|
+
],
|
|
1629
|
+
responses: {
|
|
1630
|
+
'200': {
|
|
1631
|
+
description: 'Managers',
|
|
1632
|
+
content: {
|
|
1633
|
+
'application/json': {
|
|
1634
|
+
schema: {
|
|
1635
|
+
type: 'object',
|
|
1636
|
+
properties: {
|
|
1637
|
+
managers: { type: 'array', items: { $ref: '#/components/schemas/Manager' } },
|
|
1638
|
+
},
|
|
1639
|
+
required: ['managers'],
|
|
1640
|
+
},
|
|
1641
|
+
},
|
|
1642
|
+
},
|
|
1643
|
+
},
|
|
1644
|
+
'400': errorResponse,
|
|
1645
|
+
'401': errorResponse,
|
|
1646
|
+
},
|
|
1647
|
+
},
|
|
1648
|
+
},
|
|
1649
|
+
'/managers/detect': {
|
|
1650
|
+
post: {
|
|
1651
|
+
tags: ['Managers'],
|
|
1652
|
+
summary: 'Register the host session a CLI call came from',
|
|
1653
|
+
description:
|
|
1654
|
+
"Matched by `(agent, sessionId)`, so repeating it refreshes one record (`lastSeenAt`, `pid`). A `managerId` (the caller's `$AGENTBOX_MANAGER`) joins the session to the hub-run manager it runs in. When no workspace contains `cwd`, one is created there, named after the folder — except at `/`, the hub user's home folder or a folder above it, or a `cwd` that is not a folder on this hub, which answer 400. A session already registered stays in its workspace. `boxId` / `boxJobId` attaches a box this session just made in the same call. 201 when a manager or workspace was created, 200 when an existing one was refreshed.",
|
|
1655
|
+
requestBody: {
|
|
1656
|
+
required: true,
|
|
1657
|
+
content: {
|
|
1658
|
+
'application/json': {
|
|
1659
|
+
schema: {
|
|
1660
|
+
type: 'object',
|
|
1661
|
+
properties: {
|
|
1662
|
+
agent: {
|
|
1663
|
+
type: 'string',
|
|
1664
|
+
description:
|
|
1665
|
+
'An agent this hub knows with a session surface (not a service agent).',
|
|
1666
|
+
},
|
|
1667
|
+
sessionId: {
|
|
1668
|
+
type: 'string',
|
|
1669
|
+
description: 'Claude session uuid / codex thread uuid.',
|
|
1670
|
+
},
|
|
1671
|
+
cwd: { type: 'string', description: 'Absolute folder the session runs in.' },
|
|
1672
|
+
pid: {
|
|
1673
|
+
type: 'integer',
|
|
1674
|
+
description:
|
|
1675
|
+
"The agent process, probed for liveness when `host` is this hub's; its start time is recorded then too, so a reused pid does not read as running.",
|
|
1676
|
+
},
|
|
1677
|
+
host: {
|
|
1678
|
+
type: 'string',
|
|
1679
|
+
description: 'Hostname of the machine the session runs on.',
|
|
1680
|
+
},
|
|
1681
|
+
managerId: { type: 'string', pattern: '^[0-9a-f]{16}$' },
|
|
1682
|
+
tmuxPane: {
|
|
1683
|
+
type: 'string',
|
|
1684
|
+
pattern: '^%\\d+$',
|
|
1685
|
+
description:
|
|
1686
|
+
"`$TMUX_PANE` of the session's terminal, so POST /managers/{id}/message can type into it.",
|
|
1687
|
+
},
|
|
1688
|
+
tmuxSession: {
|
|
1689
|
+
type: 'string',
|
|
1690
|
+
pattern: '^agentbox-manager-[0-9a-f]{16}$',
|
|
1691
|
+
description:
|
|
1692
|
+
"The AgentBox manager tmux session that pane belongs to. When it exists on the hub's machine and started in `cwd`, the manager is recorded as `hub`-run from it (a session from before managers were detected is adopted). A session hosted by Claude's background daemon never sends it: the daemon drops TMUX.",
|
|
1693
|
+
},
|
|
1694
|
+
boxId: { type: 'string' },
|
|
1695
|
+
boxJobId: { type: 'string' },
|
|
1696
|
+
},
|
|
1697
|
+
required: ['agent', 'sessionId', 'cwd'],
|
|
1698
|
+
},
|
|
1699
|
+
},
|
|
1700
|
+
},
|
|
1701
|
+
},
|
|
1702
|
+
responses: {
|
|
1703
|
+
'200': {
|
|
1704
|
+
description: 'Refreshed',
|
|
1705
|
+
content: { 'application/json': { schema: detectSchema } },
|
|
1706
|
+
},
|
|
1707
|
+
'201': {
|
|
1708
|
+
description: 'Created',
|
|
1709
|
+
content: { 'application/json': { schema: detectSchema } },
|
|
1710
|
+
},
|
|
1711
|
+
'400': errorResponse,
|
|
1712
|
+
'401': errorResponse,
|
|
1713
|
+
'503': errorResponse,
|
|
1714
|
+
},
|
|
1715
|
+
},
|
|
1716
|
+
},
|
|
1717
|
+
'/managers/{id}': {
|
|
1718
|
+
get: {
|
|
1719
|
+
tags: ['Managers'],
|
|
1720
|
+
summary: 'Get one manager',
|
|
1721
|
+
parameters: [managerIdParam],
|
|
1722
|
+
responses: {
|
|
1723
|
+
'200': {
|
|
1724
|
+
description: 'Manager',
|
|
1725
|
+
content: { 'application/json': { schema: { $ref: '#/components/schemas/Manager' } } },
|
|
1726
|
+
},
|
|
1727
|
+
'401': errorResponse,
|
|
1728
|
+
'404': errorResponse,
|
|
1729
|
+
},
|
|
1730
|
+
},
|
|
1731
|
+
delete: {
|
|
1732
|
+
tags: ['Managers'],
|
|
1733
|
+
summary: 'Forget a manager',
|
|
1734
|
+
description:
|
|
1735
|
+
'Drops the record. Its boxes and tasks are untouched (tasks keep a `managerId` nothing resolves). Refused (409) while it runs, unless `force=1` — which forgets it regardless of status and leaves its process (a tmux session, a terminal) alone.',
|
|
1736
|
+
parameters: [
|
|
1737
|
+
managerIdParam,
|
|
1738
|
+
{
|
|
1739
|
+
name: 'force',
|
|
1740
|
+
in: 'query',
|
|
1741
|
+
schema: { type: 'string', enum: ['1', 'true'] },
|
|
1742
|
+
description: 'Forget it regardless of status.',
|
|
1743
|
+
},
|
|
1744
|
+
],
|
|
1745
|
+
responses: {
|
|
1746
|
+
'200': {
|
|
1747
|
+
description: 'Forgotten',
|
|
1748
|
+
content: {
|
|
1749
|
+
'application/json': {
|
|
1750
|
+
schema: {
|
|
1751
|
+
type: 'object',
|
|
1752
|
+
properties: { ok: { type: 'boolean' } },
|
|
1753
|
+
required: ['ok'],
|
|
1754
|
+
},
|
|
1755
|
+
},
|
|
1756
|
+
},
|
|
1757
|
+
},
|
|
1758
|
+
'401': errorResponse,
|
|
1759
|
+
'404': errorResponse,
|
|
1760
|
+
'409': errorResponse,
|
|
1761
|
+
'503': errorResponse,
|
|
1762
|
+
},
|
|
1763
|
+
},
|
|
1764
|
+
},
|
|
1765
|
+
'/managers/{id}/stop': {
|
|
1766
|
+
post: {
|
|
1767
|
+
tags: ['Managers'],
|
|
1768
|
+
summary: 'Stop a hub-run manager',
|
|
1769
|
+
description:
|
|
1770
|
+
"Kills its tmux session. Idempotent; the record is kept so it can be resumed. An external manager is your own terminal process, which the hub never signals: 409 while it runs, a no-op once it has exited. A claude manager whose session runs in Claude's background daemon is never ended by this: only the hub's attach session (POST /managers/{id}/attach) is closed, and the answer carries `notice` saying the session keeps running (end it with `claude stop <id>`).",
|
|
1771
|
+
parameters: [managerIdParam],
|
|
1772
|
+
responses: {
|
|
1773
|
+
'200': {
|
|
1774
|
+
description:
|
|
1775
|
+
"Manager, plus `notice` (string) when the agent session was left running in Claude's background daemon.",
|
|
1776
|
+
content: { 'application/json': { schema: { $ref: '#/components/schemas/Manager' } } },
|
|
1777
|
+
},
|
|
1778
|
+
'401': errorResponse,
|
|
1779
|
+
'404': errorResponse,
|
|
1780
|
+
'409': errorResponse,
|
|
1781
|
+
'503': errorResponse,
|
|
1782
|
+
},
|
|
1783
|
+
},
|
|
1784
|
+
},
|
|
1785
|
+
'/managers/{id}/resume': {
|
|
1786
|
+
post: {
|
|
1787
|
+
tags: ['Managers'],
|
|
1788
|
+
summary: "Resume a manager's session in the hub",
|
|
1789
|
+
description:
|
|
1790
|
+
"Reopens the session in a tmux session the hub owns (`claude --resume <id>` / `codex resume <id>`, run in the manager's `cwd`), and the manager becomes `hub`-run. 409 while the session still runs anywhere (two processes writing one transcript corrupt it), for a manager with no session id, for an agent whose sessions cannot be resumed, and for an external session reported from another host (its transcript is not on this machine); 503 when the hub host has no tmux.",
|
|
1791
|
+
parameters: [managerIdParam],
|
|
1792
|
+
responses: {
|
|
1793
|
+
'200': {
|
|
1794
|
+
description: 'Manager',
|
|
1795
|
+
content: { 'application/json': { schema: { $ref: '#/components/schemas/Manager' } } },
|
|
1796
|
+
},
|
|
1797
|
+
'401': errorResponse,
|
|
1798
|
+
'404': errorResponse,
|
|
1799
|
+
'409': errorResponse,
|
|
1800
|
+
'503': errorResponse,
|
|
1801
|
+
},
|
|
1802
|
+
},
|
|
1803
|
+
},
|
|
1804
|
+
'/managers/{id}/attach': {
|
|
1805
|
+
post: {
|
|
1806
|
+
tags: ['Managers'],
|
|
1807
|
+
summary: "Open a manager's Claude background session in the hub",
|
|
1808
|
+
description:
|
|
1809
|
+
"For a claude manager whose session is a detached Claude Code background session (`background` on the manager): starts, or reuses, the tmux session `agentbox-manager-<managerId>` on the hub user's default tmux server running `claude attach <background.id>` in the manager's `cwd`, and answers the manager with `attachCommand` for it. The record keeps its kind, session id and pid. The session keeps running in Claude's daemon when that tmux session ends, and the manager stays `running`. 409 when the manager has no running background session, or when something the hub can see may already show it (an AgentBox tmux session starting in its folder, or a `claude attach` client); 503 when the hub host has no tmux.",
|
|
1810
|
+
parameters: [managerIdParam],
|
|
1811
|
+
responses: {
|
|
1812
|
+
'200': {
|
|
1813
|
+
description: 'Manager',
|
|
1814
|
+
content: { 'application/json': { schema: { $ref: '#/components/schemas/Manager' } } },
|
|
1815
|
+
},
|
|
1816
|
+
'401': errorResponse,
|
|
1817
|
+
'404': errorResponse,
|
|
1818
|
+
'409': errorResponse,
|
|
1819
|
+
'503': errorResponse,
|
|
1820
|
+
},
|
|
1821
|
+
},
|
|
1822
|
+
},
|
|
1823
|
+
'/managers/{id}/notes': {
|
|
1824
|
+
post: {
|
|
1825
|
+
tags: ['Managers', 'Timeline'],
|
|
1826
|
+
summary: 'Record a manager note on the timeline',
|
|
1827
|
+
description:
|
|
1828
|
+
"A note explaining what the manager decided (`kind`: `note`, `replan` when it re-planned, `plan` when it made one). Stamped with the manager's current turn and that turn's prompt when its transcript is on this hub's disk.",
|
|
1829
|
+
parameters: [managerIdParam],
|
|
1830
|
+
requestBody: {
|
|
1831
|
+
required: true,
|
|
1832
|
+
content: {
|
|
1833
|
+
'application/json': {
|
|
1834
|
+
schema: {
|
|
1835
|
+
type: 'object',
|
|
1836
|
+
properties: {
|
|
1837
|
+
text: { type: 'string', maxLength: 2000 },
|
|
1838
|
+
kind: { type: 'string', enum: ['note', 'replan', 'plan'] },
|
|
1839
|
+
},
|
|
1840
|
+
required: ['text'],
|
|
1841
|
+
},
|
|
1842
|
+
},
|
|
1843
|
+
},
|
|
1844
|
+
},
|
|
1845
|
+
responses: {
|
|
1846
|
+
'201': {
|
|
1847
|
+
description: 'The recorded event',
|
|
1848
|
+
content: {
|
|
1849
|
+
'application/json': { schema: { $ref: '#/components/schemas/TimelineEvent' } },
|
|
1850
|
+
},
|
|
1851
|
+
},
|
|
1852
|
+
'400': errorResponse,
|
|
1853
|
+
'401': errorResponse,
|
|
1854
|
+
'404': errorResponse,
|
|
1855
|
+
'409': errorResponse,
|
|
1856
|
+
'503': errorResponse,
|
|
1857
|
+
},
|
|
1858
|
+
},
|
|
1859
|
+
},
|
|
1860
|
+
'/managers/{id}/message': {
|
|
1861
|
+
post: {
|
|
1862
|
+
tags: ['Managers', 'Timeline'],
|
|
1863
|
+
summary: "Type a message into a manager's session",
|
|
1864
|
+
description:
|
|
1865
|
+
"Types `text` into the session and submits it (newlines are flattened to spaces). A running hub-run manager gets it in its tmux session (`delivered: session`); a running external manager in the tmux pane it reported at detect (`pane`, only when it runs on this hub's machine); a stopped manager with a session is resumed in the hub's tmux with the text as its prompt (`resumed`). A running external manager outside tmux answers 409 with code `manager_unreachable` — a client offers the text to paste instead. `prNumber` (with `repo`, `owner/name`, when the workspace spans several repos) ties the message to a PR, which is how a later merge shows `approvedByYou`; without `repo` the PR is matched only when one repo in the log has that number. Records `manager.message` on success.",
|
|
1866
|
+
parameters: [managerIdParam],
|
|
1867
|
+
requestBody: {
|
|
1868
|
+
required: true,
|
|
1869
|
+
content: {
|
|
1870
|
+
'application/json': {
|
|
1871
|
+
schema: {
|
|
1872
|
+
type: 'object',
|
|
1873
|
+
properties: {
|
|
1874
|
+
text: { type: 'string', maxLength: 2000 },
|
|
1875
|
+
prNumber: { type: 'integer', minimum: 1 },
|
|
1876
|
+
repo: {
|
|
1877
|
+
type: 'string',
|
|
1878
|
+
pattern: '^[A-Za-z0-9_.-]{1,100}/[A-Za-z0-9_.-]{1,100}$',
|
|
1879
|
+
description: '`owner/name` of the PR; requires `prNumber`.',
|
|
1880
|
+
},
|
|
1881
|
+
},
|
|
1882
|
+
required: ['text'],
|
|
1883
|
+
},
|
|
1884
|
+
},
|
|
1885
|
+
},
|
|
1886
|
+
},
|
|
1887
|
+
responses: {
|
|
1888
|
+
'200': {
|
|
1889
|
+
description: 'Delivered',
|
|
1890
|
+
content: {
|
|
1891
|
+
'application/json': {
|
|
1892
|
+
schema: {
|
|
1893
|
+
type: 'object',
|
|
1894
|
+
properties: {
|
|
1895
|
+
delivered: { type: 'string', enum: ['session', 'pane', 'resumed'] },
|
|
1896
|
+
manager: { $ref: '#/components/schemas/Manager' },
|
|
1897
|
+
event: {
|
|
1898
|
+
oneOf: [{ $ref: '#/components/schemas/TimelineEvent' }, { type: 'null' }],
|
|
1899
|
+
},
|
|
1900
|
+
},
|
|
1901
|
+
required: ['delivered', 'manager', 'event'],
|
|
1902
|
+
},
|
|
1903
|
+
},
|
|
1904
|
+
},
|
|
1905
|
+
},
|
|
1906
|
+
'400': errorResponse,
|
|
1907
|
+
'401': errorResponse,
|
|
1908
|
+
'404': errorResponse,
|
|
1909
|
+
'409': errorResponse,
|
|
1910
|
+
'503': errorResponse,
|
|
1911
|
+
},
|
|
1912
|
+
},
|
|
1913
|
+
},
|
|
1914
|
+
'/workspaces/{id}/timeline': {
|
|
1915
|
+
get: {
|
|
1916
|
+
tags: ['Timeline'],
|
|
1917
|
+
summary: "A workspace's timeline",
|
|
1918
|
+
description:
|
|
1919
|
+
"What happened in the workspace, newest first: task, manager, box, push and PR events from its append-only log, with 3+ task creates from one manager turn (within 10 minutes) collapsed into one `plan` item. `live` holds the rows true right now, never stored: a box working an in-progress task (with its uncommitted diff when running) and a ready PR nobody merged yet (`awaiting`, `approved` once a message about it was sent). `?since=` adds a `summary` of what changed since then. A GitHub sync (`gh pr list` on the repos behind the workspace's projects) starts in the background when the last one is over a minute old; `github` reports it, and rows it adds fire the usual change event.",
|
|
1920
|
+
parameters: [
|
|
1921
|
+
workspaceIdParam,
|
|
1922
|
+
{
|
|
1923
|
+
name: 'before',
|
|
1924
|
+
in: 'query',
|
|
1925
|
+
schema: { type: 'string' },
|
|
1926
|
+
description: 'Only items strictly older than this ISO time (paging).',
|
|
1927
|
+
},
|
|
1928
|
+
{
|
|
1929
|
+
name: 'limit',
|
|
1930
|
+
in: 'query',
|
|
1931
|
+
schema: { type: 'integer', minimum: 1, maximum: 500, default: 100 },
|
|
1932
|
+
},
|
|
1933
|
+
{
|
|
1934
|
+
name: 'since',
|
|
1935
|
+
in: 'query',
|
|
1936
|
+
schema: { type: 'string' },
|
|
1937
|
+
description: 'ISO time the summary counts from; items are not filtered by it.',
|
|
1938
|
+
},
|
|
1939
|
+
{
|
|
1940
|
+
name: 'sync',
|
|
1941
|
+
in: 'query',
|
|
1942
|
+
schema: { type: 'string', enum: ['0'] },
|
|
1943
|
+
description:
|
|
1944
|
+
'`0`: do not start a GitHub sync; `github` reports the last one (`syncing` before any). For a small read on every refresh. Any other value, or none, keeps the default.',
|
|
1945
|
+
},
|
|
1946
|
+
],
|
|
1947
|
+
responses: {
|
|
1948
|
+
'200': {
|
|
1949
|
+
description: 'Timeline',
|
|
1950
|
+
content: {
|
|
1951
|
+
'application/json': { schema: { $ref: '#/components/schemas/Timeline' } },
|
|
1952
|
+
},
|
|
1953
|
+
},
|
|
1954
|
+
'400': errorResponse,
|
|
1955
|
+
'401': errorResponse,
|
|
1956
|
+
'404': errorResponse,
|
|
1957
|
+
},
|
|
1958
|
+
},
|
|
1959
|
+
},
|
|
1960
|
+
'/workspaces/{id}/managers': {
|
|
1961
|
+
get: {
|
|
1962
|
+
tags: ['Managers'],
|
|
1963
|
+
summary: "List a workspace's managers",
|
|
1964
|
+
parameters: [workspaceIdParam],
|
|
1965
|
+
responses: {
|
|
1966
|
+
'200': {
|
|
1967
|
+
description: 'Managers',
|
|
715
1968
|
content: {
|
|
716
1969
|
'application/json': {
|
|
717
1970
|
schema: {
|
|
718
1971
|
type: 'object',
|
|
719
1972
|
properties: {
|
|
720
|
-
|
|
721
|
-
name: { type: 'string' },
|
|
722
|
-
workspace: {
|
|
723
|
-
type: 'string',
|
|
724
|
-
description: "Host dir the clone's workspace was exported to.",
|
|
725
|
-
},
|
|
726
|
-
provider: { type: 'string' },
|
|
727
|
-
carryAsk: {
|
|
728
|
-
type: 'boolean',
|
|
729
|
-
description:
|
|
730
|
-
'Show the `carry:` question again for a list this project has already approved. A standing approval otherwise removes the prompt entirely, so this is how a client offers a review — and, by answering Skip/Cancel on the create, a way to withdraw it.',
|
|
731
|
-
},
|
|
732
|
-
files: { type: 'integer' },
|
|
733
|
-
persistent: {
|
|
734
|
-
type: 'boolean',
|
|
735
|
-
description:
|
|
736
|
-
"The always-on flag resolved for the clone. Absent when neither the request nor the source box had an opinion, leaving it to the hub's `box.persistent`.",
|
|
737
|
-
},
|
|
1973
|
+
managers: { type: 'array', items: { $ref: '#/components/schemas/Manager' } },
|
|
738
1974
|
},
|
|
739
|
-
required: ['
|
|
1975
|
+
required: ['managers'],
|
|
740
1976
|
},
|
|
741
1977
|
},
|
|
742
1978
|
},
|
|
743
1979
|
},
|
|
744
|
-
'400': errorResponse,
|
|
745
1980
|
'401': errorResponse,
|
|
746
1981
|
'404': errorResponse,
|
|
747
|
-
'409': errorResponse,
|
|
748
|
-
'503': errorResponse,
|
|
749
1982
|
},
|
|
750
1983
|
},
|
|
751
1984
|
},
|
|
752
|
-
'/
|
|
1985
|
+
'/workspaces/{id}/managers/start': {
|
|
753
1986
|
post: {
|
|
754
|
-
tags: ['
|
|
755
|
-
summary: '
|
|
1987
|
+
tags: ['Managers'],
|
|
1988
|
+
summary: 'Start a manager agent in the workspace folder',
|
|
756
1989
|
description:
|
|
757
|
-
'
|
|
758
|
-
parameters: [
|
|
1990
|
+
'Runs a coding agent LOCALLY in the workspace folder, in a detached tmux session the hub owns, with AGENTBOX_WORKSPACE and AGENTBOX_MANAGER set. Clients attach to that session rather than the hub proxying a terminal. Send `agent` — one this hub knows, has installed, and can attach to (a `service` agent is a daemon and is refused) — optionally with a `sessionId` to resume (claude and codex only). A `sessionId` some manager already holds resumes that manager rather than creating a second one (409 while it runs, unless `restart` and it is hub-run). There is deliberately no free-form command, and `sessionId` must look like an id: this runs on the hub host, not in a box. 503 when the hub host has no tmux.',
|
|
1991
|
+
parameters: [workspaceIdParam],
|
|
759
1992
|
requestBody: {
|
|
760
1993
|
required: true,
|
|
761
1994
|
content: {
|
|
@@ -763,21 +1996,31 @@ export function buildOpenApi(): Record<string, unknown> {
|
|
|
763
1996
|
schema: {
|
|
764
1997
|
type: 'object',
|
|
765
1998
|
properties: {
|
|
766
|
-
|
|
1999
|
+
agent: {
|
|
2000
|
+
type: 'string',
|
|
2001
|
+
description:
|
|
2002
|
+
'An agent this hub knows (GET /agents); the built-ins are claude, codex, opencode and pi.',
|
|
2003
|
+
},
|
|
2004
|
+
sessionId: {
|
|
2005
|
+
type: 'string',
|
|
2006
|
+
description:
|
|
2007
|
+
'Resume this session (claude and codex only; refused for any other agent).',
|
|
2008
|
+
},
|
|
2009
|
+
restart: {
|
|
2010
|
+
type: 'boolean',
|
|
2011
|
+
description:
|
|
2012
|
+
'With a `sessionId` whose hub-run manager is running: restart it instead of refusing.',
|
|
2013
|
+
},
|
|
767
2014
|
},
|
|
768
|
-
required: ['
|
|
2015
|
+
required: ['agent'],
|
|
769
2016
|
},
|
|
770
2017
|
},
|
|
771
2018
|
},
|
|
772
2019
|
},
|
|
773
2020
|
responses: {
|
|
774
2021
|
'200': {
|
|
775
|
-
description: '
|
|
776
|
-
content: {
|
|
777
|
-
'application/json': {
|
|
778
|
-
schema: { type: 'object', properties: { ok: { const: true } }, required: ['ok'] },
|
|
779
|
-
},
|
|
780
|
-
},
|
|
2022
|
+
description: 'Manager',
|
|
2023
|
+
content: { 'application/json': { schema: { $ref: '#/components/schemas/Manager' } } },
|
|
781
2024
|
},
|
|
782
2025
|
'400': errorResponse,
|
|
783
2026
|
'401': errorResponse,
|
|
@@ -787,38 +2030,74 @@ export function buildOpenApi(): Record<string, unknown> {
|
|
|
787
2030
|
},
|
|
788
2031
|
},
|
|
789
2032
|
},
|
|
790
|
-
'/
|
|
2033
|
+
'/workspaces/{id}/managers/sessions': {
|
|
791
2034
|
get: {
|
|
792
|
-
tags: ['
|
|
793
|
-
summary: '
|
|
2035
|
+
tags: ['Managers'],
|
|
2036
|
+
summary: 'Resumable agent sessions for the workspace folder',
|
|
794
2037
|
description:
|
|
795
|
-
'
|
|
2038
|
+
'Read from the agent\'s own on-disk store, for the "resume a session" picker, newest first. Only claude and codex are readable today; for anything else `supported: false` means that agent\'s session format is not one we can resume — not an error.',
|
|
2039
|
+
parameters: [
|
|
2040
|
+
workspaceIdParam,
|
|
2041
|
+
{ name: 'agent', in: 'query', schema: { type: 'string', default: 'claude' } },
|
|
2042
|
+
],
|
|
796
2043
|
responses: {
|
|
797
2044
|
'200': {
|
|
798
|
-
description: '
|
|
2045
|
+
description: 'Sessions',
|
|
799
2046
|
content: {
|
|
800
2047
|
'application/json': {
|
|
801
2048
|
schema: {
|
|
802
2049
|
type: 'object',
|
|
803
2050
|
properties: {
|
|
2051
|
+
agent: { type: 'string' },
|
|
804
2052
|
supported: { type: 'boolean' },
|
|
805
|
-
|
|
806
|
-
type:
|
|
807
|
-
|
|
808
|
-
type: 'object',
|
|
809
|
-
properties: {
|
|
810
|
-
available: { type: 'boolean' },
|
|
811
|
-
providers: { type: 'array', items: { type: 'string' } },
|
|
812
|
-
},
|
|
813
|
-
required: ['available'],
|
|
814
|
-
},
|
|
2053
|
+
sessions: {
|
|
2054
|
+
type: 'array',
|
|
2055
|
+
items: { $ref: '#/components/schemas/HostSession' },
|
|
815
2056
|
},
|
|
816
2057
|
},
|
|
817
|
-
required: ['supported', '
|
|
2058
|
+
required: ['agent', 'supported', 'sessions'],
|
|
2059
|
+
},
|
|
2060
|
+
},
|
|
2061
|
+
},
|
|
2062
|
+
},
|
|
2063
|
+
'401': errorResponse,
|
|
2064
|
+
'404': errorResponse,
|
|
2065
|
+
},
|
|
2066
|
+
},
|
|
2067
|
+
},
|
|
2068
|
+
'/tasks': {
|
|
2069
|
+
get: {
|
|
2070
|
+
tags: ['Tasks'],
|
|
2071
|
+
summary: 'List tasks across every workspace',
|
|
2072
|
+
description:
|
|
2073
|
+
'The cross-workspace read a fleet view needs: answers "what is assigned to this box" without knowing which workspace owns it.',
|
|
2074
|
+
parameters: [
|
|
2075
|
+
{ name: 'workspaceId', in: 'query', schema: { type: 'string' } },
|
|
2076
|
+
{ name: 'projectId', in: 'query', schema: { type: 'string' } },
|
|
2077
|
+
{ name: 'boxId', in: 'query', schema: { type: 'string' } },
|
|
2078
|
+
{ name: 'managerId', in: 'query', schema: { type: 'string' } },
|
|
2079
|
+
{
|
|
2080
|
+
name: 'status',
|
|
2081
|
+
in: 'query',
|
|
2082
|
+
schema: { type: 'string', enum: ['todo', 'in_progress', 'blocked', 'done'] },
|
|
2083
|
+
},
|
|
2084
|
+
],
|
|
2085
|
+
responses: {
|
|
2086
|
+
'200': {
|
|
2087
|
+
description: 'Tasks',
|
|
2088
|
+
content: {
|
|
2089
|
+
'application/json': {
|
|
2090
|
+
schema: {
|
|
2091
|
+
type: 'object',
|
|
2092
|
+
properties: {
|
|
2093
|
+
tasks: { type: 'array', items: { $ref: '#/components/schemas/WorkTask' } },
|
|
2094
|
+
},
|
|
2095
|
+
required: ['tasks'],
|
|
818
2096
|
},
|
|
819
2097
|
},
|
|
820
2098
|
},
|
|
821
2099
|
},
|
|
2100
|
+
'400': errorResponse,
|
|
822
2101
|
'401': errorResponse,
|
|
823
2102
|
},
|
|
824
2103
|
},
|
|
@@ -2172,6 +3451,11 @@ export function buildOpenApi(): Record<string, unknown> {
|
|
|
2172
3451
|
type: 'object',
|
|
2173
3452
|
properties: {
|
|
2174
3453
|
id: { type: 'string' },
|
|
3454
|
+
managerId: {
|
|
3455
|
+
type: 'string',
|
|
3456
|
+
description:
|
|
3457
|
+
'The manager session that created this box. Absent for a box made from the web UI or the tray, and on a hosted hub.',
|
|
3458
|
+
},
|
|
2175
3459
|
projectId: { type: 'string' },
|
|
2176
3460
|
repo: { type: 'string' },
|
|
2177
3461
|
branch: { type: 'string' },
|
|
@@ -2232,6 +3516,18 @@ export function buildOpenApi(): Record<string, unknown> {
|
|
|
2232
3516
|
description:
|
|
2233
3517
|
"The box's agent declares a state backup, so `POST /boxes/{id}/backup` captures its IDENTITY (gateway token, pairings, history) and not just a workspace. Present for a service bot (openclaw); absent for a coding-agent box.",
|
|
2234
3518
|
},
|
|
3519
|
+
pr: {
|
|
3520
|
+
type: 'object',
|
|
3521
|
+
description:
|
|
3522
|
+
"The box's pull request: matched in its workspace timeline by box id, else by the box branch against the PR head; the newest wins, an open one over a merged or closed one. `state` is the last GitHub sync's when the hub has one, else the log's. ABSENT means no data: no known PR, no workspace, or the hosted plane.",
|
|
3523
|
+
properties: {
|
|
3524
|
+
repo: { type: 'string', description: '`owner/name`.' },
|
|
3525
|
+
number: { type: 'number' },
|
|
3526
|
+
url: { type: 'string' },
|
|
3527
|
+
state: { type: 'string', enum: ['open', 'ready', 'merged', 'closed'] },
|
|
3528
|
+
},
|
|
3529
|
+
required: ['repo', 'number', 'state'],
|
|
3530
|
+
},
|
|
2235
3531
|
agentStatus: {
|
|
2236
3532
|
type: 'object',
|
|
2237
3533
|
description:
|
|
@@ -2303,6 +3599,339 @@ export function buildOpenApi(): Record<string, unknown> {
|
|
|
2303
3599
|
},
|
|
2304
3600
|
required: ['id', 'projectId', 'status', 'agent'],
|
|
2305
3601
|
},
|
|
3602
|
+
Workspace: {
|
|
3603
|
+
type: 'object',
|
|
3604
|
+
description:
|
|
3605
|
+
'A folder on the hub host grouping one or more projects, owning a task list and a manager.',
|
|
3606
|
+
properties: {
|
|
3607
|
+
id: {
|
|
3608
|
+
type: 'string',
|
|
3609
|
+
description: 'Hash of the canonical root (same key space as a project id).',
|
|
3610
|
+
},
|
|
3611
|
+
name: { type: 'string' },
|
|
3612
|
+
root: { type: 'string', description: 'Absolute folder path on the hub host.' },
|
|
3613
|
+
projectIds: { type: 'array', items: { type: 'string' } },
|
|
3614
|
+
taskCounts: {
|
|
3615
|
+
type: 'object',
|
|
3616
|
+
properties: { open: { type: 'number' }, done: { type: 'number' } },
|
|
3617
|
+
required: ['open', 'done'],
|
|
3618
|
+
},
|
|
3619
|
+
managers: {
|
|
3620
|
+
type: 'object',
|
|
3621
|
+
description: 'How many manager sessions this workspace has, and how many run now.',
|
|
3622
|
+
properties: { running: { type: 'number' }, total: { type: 'number' } },
|
|
3623
|
+
required: ['running', 'total'],
|
|
3624
|
+
},
|
|
3625
|
+
createdAt: { type: 'string' },
|
|
3626
|
+
updatedAt: { type: 'string' },
|
|
3627
|
+
},
|
|
3628
|
+
required: ['id', 'name', 'root', 'projectIds', 'createdAt', 'updatedAt'],
|
|
3629
|
+
},
|
|
3630
|
+
WorkTaskExternalRef: {
|
|
3631
|
+
type: 'object',
|
|
3632
|
+
description:
|
|
3633
|
+
'Back-reference to an external tracker. One ticket routinely becomes several tasks.',
|
|
3634
|
+
properties: {
|
|
3635
|
+
kind: { type: 'string', example: 'linear' },
|
|
3636
|
+
id: { type: 'string' },
|
|
3637
|
+
url: { type: 'string' },
|
|
3638
|
+
},
|
|
3639
|
+
required: ['kind', 'id'],
|
|
3640
|
+
},
|
|
3641
|
+
TimelinePr: {
|
|
3642
|
+
type: 'object',
|
|
3643
|
+
properties: {
|
|
3644
|
+
repo: { type: 'string', description: '`owner/name`.' },
|
|
3645
|
+
number: { type: 'number' },
|
|
3646
|
+
title: { type: 'string' },
|
|
3647
|
+
url: { type: 'string' },
|
|
3648
|
+
base: { type: 'string' },
|
|
3649
|
+
head: { type: 'string' },
|
|
3650
|
+
additions: { type: 'number' },
|
|
3651
|
+
deletions: { type: 'number' },
|
|
3652
|
+
checks: { type: 'string', enum: ['pass', 'fail', 'pending', 'none'] },
|
|
3653
|
+
mergeState: { type: 'string' },
|
|
3654
|
+
autoMerge: { type: 'boolean' },
|
|
3655
|
+
mergedBy: { type: 'string' },
|
|
3656
|
+
},
|
|
3657
|
+
required: ['repo', 'number', 'title', 'url', 'base', 'head'],
|
|
3658
|
+
},
|
|
3659
|
+
TimelineEvent: {
|
|
3660
|
+
type: 'object',
|
|
3661
|
+
description: "One line of a workspace's append-only timeline log.",
|
|
3662
|
+
properties: timelineEventProperties,
|
|
3663
|
+
required: ['id', 'at', 'type', 'actor'],
|
|
3664
|
+
},
|
|
3665
|
+
TimelineBranchUrl: {
|
|
3666
|
+
type: 'string',
|
|
3667
|
+
description:
|
|
3668
|
+
"The row's branch on the web, e.g. `https://github.com/acme/storefront-web/tree/feat/checkout-copy`, each branch segment URL-encoded. Added at read time, never stored. Present only when the row names a branch (`pr.head` on a PR row, else `branch`) and its repo is known: from `pr.url`, else a repo the GitHub sync resolved, else the row's project or box repo as the last sync cached it.",
|
|
3669
|
+
},
|
|
3670
|
+
TimelineLane: {
|
|
3671
|
+
type: 'object',
|
|
3672
|
+
description:
|
|
3673
|
+
'Where a row sits when the timeline is drawn as a branch graph. Assigned at read time over the whole log before paging, so a lane keeps its id on every page; set on every item and live row.',
|
|
3674
|
+
properties: {
|
|
3675
|
+
id: {
|
|
3676
|
+
type: 'string',
|
|
3677
|
+
description:
|
|
3678
|
+
'`trunk`, `box:<boxId>`, or `branch:<head>` for a pull request no box is known to own.',
|
|
3679
|
+
},
|
|
3680
|
+
kind: { type: 'string', enum: ['trunk', 'box', 'branch'] },
|
|
3681
|
+
from: {
|
|
3682
|
+
type: 'string',
|
|
3683
|
+
description:
|
|
3684
|
+
"On the lane's oldest row: the lane it forked from (the box lane that last carried its `base`, else `trunk`). Absent on a page that does not reach the fork.",
|
|
3685
|
+
},
|
|
3686
|
+
into: {
|
|
3687
|
+
type: 'string',
|
|
3688
|
+
description:
|
|
3689
|
+
'`pr.merged`: the lane it merged into (the box lane carrying `pr.base`, else `trunk`). The row stays on its own lane.',
|
|
3690
|
+
},
|
|
3691
|
+
branch: {
|
|
3692
|
+
type: 'string',
|
|
3693
|
+
description: "The lane's branch, on its first row and on every row where it changes.",
|
|
3694
|
+
},
|
|
3695
|
+
open: {
|
|
3696
|
+
type: 'boolean',
|
|
3697
|
+
description:
|
|
3698
|
+
"On the lane's live rows and its newest item when the lane goes on: a live row exists, or the box still exists and is running or has unmerged work.",
|
|
3699
|
+
},
|
|
3700
|
+
},
|
|
3701
|
+
required: ['id', 'kind'],
|
|
3702
|
+
},
|
|
3703
|
+
TimelineItem: {
|
|
3704
|
+
type: 'object',
|
|
3705
|
+
description:
|
|
3706
|
+
'A timeline row: an event, or a `plan` that 3+ `task.created` events from one manager turn collapsed into.',
|
|
3707
|
+
properties: {
|
|
3708
|
+
...timelineEventProperties,
|
|
3709
|
+
type: { type: 'string', enum: [...timelineEventTypes, 'plan'] },
|
|
3710
|
+
count: { type: 'number', description: '`plan`: how many tasks it created.' },
|
|
3711
|
+
approvedByYou: {
|
|
3712
|
+
type: 'boolean',
|
|
3713
|
+
description: '`pr.merged`: a message about this PR was sent before it merged.',
|
|
3714
|
+
},
|
|
3715
|
+
branchUrl: { $ref: '#/components/schemas/TimelineBranchUrl' },
|
|
3716
|
+
lane: { $ref: '#/components/schemas/TimelineLane' },
|
|
3717
|
+
},
|
|
3718
|
+
required: ['id', 'at', 'type', 'actor'],
|
|
3719
|
+
},
|
|
3720
|
+
TimelineLiveItem: {
|
|
3721
|
+
type: 'object',
|
|
3722
|
+
description: 'A row true right now, built at read time.',
|
|
3723
|
+
properties: {
|
|
3724
|
+
id: { type: 'string' },
|
|
3725
|
+
type: { type: 'string', enum: ['task.in_progress', 'pr.ready'] },
|
|
3726
|
+
at: { type: 'string' },
|
|
3727
|
+
boxId: { type: 'string' },
|
|
3728
|
+
boxName: { type: 'string' },
|
|
3729
|
+
agent: { type: 'string' },
|
|
3730
|
+
branch: { type: 'string' },
|
|
3731
|
+
branchUrl: { $ref: '#/components/schemas/TimelineBranchUrl' },
|
|
3732
|
+
managerId: { type: 'string' },
|
|
3733
|
+
task: {
|
|
3734
|
+
type: 'object',
|
|
3735
|
+
properties: { id: { type: 'string' }, title: { type: 'string' } },
|
|
3736
|
+
required: ['id', 'title'],
|
|
3737
|
+
},
|
|
3738
|
+
taskIds: { type: 'array', items: { type: 'string' } },
|
|
3739
|
+
filesChanged: { type: 'number' },
|
|
3740
|
+
additions: { type: 'number' },
|
|
3741
|
+
deletions: { type: 'number' },
|
|
3742
|
+
pr: { $ref: '#/components/schemas/TimelinePr' },
|
|
3743
|
+
awaiting: { type: 'boolean' },
|
|
3744
|
+
approved: { type: 'boolean' },
|
|
3745
|
+
lane: { $ref: '#/components/schemas/TimelineLane' },
|
|
3746
|
+
},
|
|
3747
|
+
required: ['id', 'type', 'at'],
|
|
3748
|
+
},
|
|
3749
|
+
TimelineSummary: {
|
|
3750
|
+
type: 'object',
|
|
3751
|
+
properties: {
|
|
3752
|
+
since: { type: 'string' },
|
|
3753
|
+
merged: { type: 'number' },
|
|
3754
|
+
additions: { type: 'number' },
|
|
3755
|
+
deletions: { type: 'number' },
|
|
3756
|
+
tasksDone: { type: 'number' },
|
|
3757
|
+
awaiting: {
|
|
3758
|
+
type: 'number',
|
|
3759
|
+
description:
|
|
3760
|
+
"Ready PRs not approved yet, plus pending approvals on the workspace's boxes.",
|
|
3761
|
+
},
|
|
3762
|
+
},
|
|
3763
|
+
required: ['since', 'merged', 'additions', 'deletions', 'tasksDone', 'awaiting'],
|
|
3764
|
+
},
|
|
3765
|
+
Timeline: {
|
|
3766
|
+
type: 'object',
|
|
3767
|
+
properties: {
|
|
3768
|
+
items: { type: 'array', items: { $ref: '#/components/schemas/TimelineItem' } },
|
|
3769
|
+
live: { type: 'array', items: { $ref: '#/components/schemas/TimelineLiveItem' } },
|
|
3770
|
+
summary: { $ref: '#/components/schemas/TimelineSummary' },
|
|
3771
|
+
github: {
|
|
3772
|
+
type: 'string',
|
|
3773
|
+
enum: ['ok', 'syncing', 'unavailable'],
|
|
3774
|
+
description:
|
|
3775
|
+
'`unavailable`: no gh, not logged in, or no GitHub repo behind the workspace.',
|
|
3776
|
+
},
|
|
3777
|
+
},
|
|
3778
|
+
required: ['items', 'live', 'github'],
|
|
3779
|
+
},
|
|
3780
|
+
WorkTask: {
|
|
3781
|
+
type: 'object',
|
|
3782
|
+
properties: {
|
|
3783
|
+
id: { type: 'string', pattern: '^T-\\d+$' },
|
|
3784
|
+
workspaceId: { type: 'string' },
|
|
3785
|
+
projectId: { type: 'string' },
|
|
3786
|
+
title: { type: 'string' },
|
|
3787
|
+
description: { type: 'string' },
|
|
3788
|
+
status: { type: 'string', enum: ['todo', 'in_progress', 'blocked', 'done'] },
|
|
3789
|
+
order: {
|
|
3790
|
+
type: 'number',
|
|
3791
|
+
description: 'Position in the list; the order IS the priority.',
|
|
3792
|
+
},
|
|
3793
|
+
boxId: { type: 'string' },
|
|
3794
|
+
boxJobId: {
|
|
3795
|
+
type: 'string',
|
|
3796
|
+
description: 'A create job that has not produced a box yet; healed to boxId on read.',
|
|
3797
|
+
},
|
|
3798
|
+
managerId: {
|
|
3799
|
+
type: 'string',
|
|
3800
|
+
description:
|
|
3801
|
+
'The manager session this task belongs to. Set by `agentbox tasks add` inside a session, and inherited from the box on assignment.',
|
|
3802
|
+
},
|
|
3803
|
+
dependsOn: { type: 'array', items: { type: 'string' } },
|
|
3804
|
+
createdBy: { type: 'string', enum: ['human', 'manager', 'api'] },
|
|
3805
|
+
externalRef: { $ref: '#/components/schemas/WorkTaskExternalRef' },
|
|
3806
|
+
createdAt: { type: 'string' },
|
|
3807
|
+
updatedAt: { type: 'string' },
|
|
3808
|
+
doneAt: { type: 'string' },
|
|
3809
|
+
},
|
|
3810
|
+
required: [
|
|
3811
|
+
'id',
|
|
3812
|
+
'workspaceId',
|
|
3813
|
+
'title',
|
|
3814
|
+
'status',
|
|
3815
|
+
'order',
|
|
3816
|
+
'createdBy',
|
|
3817
|
+
'createdAt',
|
|
3818
|
+
'updatedAt',
|
|
3819
|
+
],
|
|
3820
|
+
},
|
|
3821
|
+
Manager: {
|
|
3822
|
+
type: 'object',
|
|
3823
|
+
description: 'A host agent session that creates and watches boxes. Many per workspace.',
|
|
3824
|
+
properties: {
|
|
3825
|
+
id: { type: 'string', pattern: '^[0-9a-f]{16}$' },
|
|
3826
|
+
workspaceId: { type: 'string' },
|
|
3827
|
+
workspaceName: { type: 'string' },
|
|
3828
|
+
agent: { type: 'string' },
|
|
3829
|
+
kind: {
|
|
3830
|
+
type: 'string',
|
|
3831
|
+
enum: ['external', 'hub'],
|
|
3832
|
+
description:
|
|
3833
|
+
'`external`: a session in your own terminal the hub only observes. `hub`: one the hub runs in tmux, which can be attached to and stopped.',
|
|
3834
|
+
},
|
|
3835
|
+
status: { type: 'string', enum: ['running', 'stopped'] },
|
|
3836
|
+
resumable: {
|
|
3837
|
+
type: 'boolean',
|
|
3838
|
+
description:
|
|
3839
|
+
'Whether POST /managers/{id}/resume would be accepted now: false while it runs, without a session id, for an agent whose sessions cannot be resumed, and for an external session that ran on another machine (its transcript is not on this hub). A GUI disables Resume on false.',
|
|
3840
|
+
},
|
|
3841
|
+
resumeBlockedBy: {
|
|
3842
|
+
type: 'string',
|
|
3843
|
+
enum: ['running', 'other-host', 'unsupported-agent', 'no-session'],
|
|
3844
|
+
description:
|
|
3845
|
+
'Why `resumable` is false, in the order a resume checks: `other-host` (an external session reported from another machine), `running`, `no-session` (no session id yet), `unsupported-agent`. Absent when `resumable` is true.',
|
|
3846
|
+
},
|
|
3847
|
+
cwd: {
|
|
3848
|
+
type: 'string',
|
|
3849
|
+
description: 'Folder the session runs in; a resume runs there.',
|
|
3850
|
+
},
|
|
3851
|
+
sessionId: { type: 'string' },
|
|
3852
|
+
title: { type: 'string', description: "The session's first user turn, when readable." },
|
|
3853
|
+
host: { type: 'string' },
|
|
3854
|
+
pid: { type: 'number' },
|
|
3855
|
+
pidStartedAt: {
|
|
3856
|
+
type: 'string',
|
|
3857
|
+
description:
|
|
3858
|
+
"The pid's start time (`ps -o lstart=`), recorded when the session reported the hub's own host. A live pid with a different start time is a reused pid, and the manager reads as stopped.",
|
|
3859
|
+
},
|
|
3860
|
+
tmuxSession: { type: 'string' },
|
|
3861
|
+
tmuxPane: {
|
|
3862
|
+
type: 'string',
|
|
3863
|
+
description:
|
|
3864
|
+
"External only: the tmux pane the session's terminal reported, where a message can be typed.",
|
|
3865
|
+
},
|
|
3866
|
+
attachCommand: {
|
|
3867
|
+
type: 'string',
|
|
3868
|
+
description:
|
|
3869
|
+
"Ready-to-run tmux attach command: a running hub-run manager's session, or the hub's attach session for a Claude background session while it is up.",
|
|
3870
|
+
},
|
|
3871
|
+
background: {
|
|
3872
|
+
type: 'object',
|
|
3873
|
+
description:
|
|
3874
|
+
"A claude manager whose session is a detached Claude Code background session (`claude --bg`, listed by `claude agents`): running in Claude's daemon and shown by nothing the hub can see. POST /managers/{id}/attach opens it. The manager is `running` while the session is, whatever else is attached. Read from `claude agents --json --all` at most every 15 s.",
|
|
3875
|
+
properties: {
|
|
3876
|
+
id: { type: 'string', description: 'The short id `claude attach` takes.' },
|
|
3877
|
+
status: { type: 'string', description: '`busy`, `idle`, `waiting`, …' },
|
|
3878
|
+
state: { type: 'string', description: '`working`, `done`, …' },
|
|
3879
|
+
name: { type: 'string' },
|
|
3880
|
+
},
|
|
3881
|
+
required: ['id'],
|
|
3882
|
+
},
|
|
3883
|
+
terminalSession: {
|
|
3884
|
+
type: 'string',
|
|
3885
|
+
description:
|
|
3886
|
+
"A running external manager's likely terminal: the one AgentBox tmux session (`agentbox-manager-*`) that started in its folder and no manager owns, such as a session from before managers were detected. A guess, never adopted: a client may offer to open it (`tmux attach -t =<name>`).",
|
|
3887
|
+
},
|
|
3888
|
+
boxIds: { type: 'array', items: { type: 'string' } },
|
|
3889
|
+
boxJobIds: {
|
|
3890
|
+
type: 'array',
|
|
3891
|
+
items: { type: 'string' },
|
|
3892
|
+
description:
|
|
3893
|
+
'Create jobs that have not produced a box yet; healed to boxIds on read.',
|
|
3894
|
+
},
|
|
3895
|
+
taskCounts: {
|
|
3896
|
+
type: 'object',
|
|
3897
|
+
properties: { open: { type: 'number' }, done: { type: 'number' } },
|
|
3898
|
+
required: ['open', 'done'],
|
|
3899
|
+
},
|
|
3900
|
+
createdAt: { type: 'string' },
|
|
3901
|
+
lastSeenAt: { type: 'string' },
|
|
3902
|
+
startedAt: { type: 'string' },
|
|
3903
|
+
stoppedAt: { type: 'string' },
|
|
3904
|
+
lastExit: {
|
|
3905
|
+
type: 'number',
|
|
3906
|
+
description: "A hub-run agent's own exit code, when it ended on its own.",
|
|
3907
|
+
},
|
|
3908
|
+
},
|
|
3909
|
+
required: [
|
|
3910
|
+
'id',
|
|
3911
|
+
'workspaceId',
|
|
3912
|
+
'workspaceName',
|
|
3913
|
+
'agent',
|
|
3914
|
+
'kind',
|
|
3915
|
+
'status',
|
|
3916
|
+
'resumable',
|
|
3917
|
+
'cwd',
|
|
3918
|
+
'boxIds',
|
|
3919
|
+
'boxJobIds',
|
|
3920
|
+
'taskCounts',
|
|
3921
|
+
'createdAt',
|
|
3922
|
+
'lastSeenAt',
|
|
3923
|
+
],
|
|
3924
|
+
},
|
|
3925
|
+
HostSession: {
|
|
3926
|
+
type: 'object',
|
|
3927
|
+
properties: {
|
|
3928
|
+
id: { type: 'string' },
|
|
3929
|
+
agent: { type: 'string' },
|
|
3930
|
+
title: { type: 'string', description: 'First user turn of the transcript.' },
|
|
3931
|
+
updatedAt: { type: 'string' },
|
|
3932
|
+
},
|
|
3933
|
+
required: ['id', 'agent', 'title', 'updatedAt'],
|
|
3934
|
+
},
|
|
2306
3935
|
Project: {
|
|
2307
3936
|
type: 'object',
|
|
2308
3937
|
properties: {
|
|
@@ -2741,6 +4370,12 @@ export function buildOpenApi(): Record<string, unknown> {
|
|
|
2741
4370
|
description:
|
|
2742
4371
|
"An interactive create — the hub runs it in the ungated foreground lane so it doesn't queue behind background jobs.",
|
|
2743
4372
|
},
|
|
4373
|
+
managerId: {
|
|
4374
|
+
type: 'string',
|
|
4375
|
+
pattern: '^[0-9a-f]{16}$',
|
|
4376
|
+
description:
|
|
4377
|
+
'The manager session this create came from (`POST /managers/detect` returns it). The job is attached to it, so the box reports that `managerId`.',
|
|
4378
|
+
},
|
|
2744
4379
|
opts: {
|
|
2745
4380
|
type: 'object',
|
|
2746
4381
|
additionalProperties: true,
|