@madarco/agentbox 0.31.3 → 0.32.0
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 +47 -0
- package/README.md +2 -0
- package/dist/_cloud-attach-6RKS3MAP.js +31 -0
- package/dist/{chunk-E2RPG54S.js → chunk-27S7QLDF.js} +3 -3
- package/dist/{chunk-EZPCCJPE.js → chunk-2APGFWEU.js} +24 -24
- package/dist/{chunk-7PDYVJ2Q.js → chunk-3AYSA62C.js} +3 -3
- package/dist/{chunk-SHFU2KSY.js → chunk-3ISG5THX.js} +3 -3
- package/dist/{chunk-D67Q5MNA.js → chunk-3L2DIPRM.js} +2 -2
- package/dist/{chunk-GYUOXSUX.js → chunk-4FOXMGJ7.js} +4 -4
- package/dist/{chunk-VIB2FMJJ.js → chunk-5OKDSI6M.js} +44 -44
- package/dist/{chunk-QWUZJCF5.js → chunk-66GAYIJZ.js} +3253 -937
- package/dist/chunk-66GAYIJZ.js.map +1 -0
- package/dist/{chunk-Q3BHXL47.js → chunk-6XMOBI5V.js} +4 -4
- package/dist/{chunk-VNXWOWQ7.js → chunk-7QTBRHB7.js} +4 -4
- package/dist/{chunk-UWKJ3HIA.js → chunk-ANSPBIYG.js} +4 -4
- package/dist/{chunk-7N3CJNR5.js → chunk-AWFTAHGF.js} +20 -7
- package/dist/chunk-AWFTAHGF.js.map +1 -0
- package/dist/{chunk-EHLPIWRR.js → chunk-AWI2TSWS.js} +2 -2
- package/dist/{chunk-GZHJVCBG.js → chunk-CDRKQ5BH.js} +9 -9
- package/dist/{chunk-W7P2HHFI.js → chunk-CXAWPWGZ.js} +6 -6
- package/dist/{chunk-V5IMDVV5.js → chunk-EDJ6O6CI.js} +6 -6
- package/dist/{chunk-PYPIECDD.js → chunk-GSMQL4IJ.js} +17 -17
- package/dist/chunk-GVNKIACA.js +223 -0
- package/dist/chunk-GVNKIACA.js.map +1 -0
- package/dist/{chunk-DKUSSE5G.js → chunk-JWQYZ6V4.js} +2 -2
- package/dist/{chunk-WMILLMJZ.js → chunk-KOTW7QQW.js} +5 -5
- package/dist/{chunk-XHCGVCSA.js → chunk-L4KBYI3I.js} +5 -5
- package/dist/{chunk-BMZOMC6X.js → chunk-M2DWTQRF.js} +3 -3
- package/dist/{chunk-XLFQXROC.js → chunk-MB2K74BI.js} +165 -3
- package/dist/chunk-MB2K74BI.js.map +1 -0
- package/dist/{chunk-MKZHCLFJ.js → chunk-MI3V2MAE.js} +4 -4
- package/dist/{chunk-ZMNLEZJB.js → chunk-MO3QJTVS.js} +7 -7
- package/dist/{chunk-MBFN2XNU.js → chunk-MPTE57BZ.js} +6 -6
- package/dist/{chunk-ZK6KD7ME.js → chunk-PE5LPD23.js} +68 -25
- package/dist/chunk-PE5LPD23.js.map +1 -0
- package/dist/{chunk-RNYH5465.js → chunk-QBVRWGXD.js} +3 -3
- package/dist/{chunk-VEO6ZYQY.js → chunk-RIXW4HSE.js} +6 -6
- package/dist/{chunk-QER5WHBC.js → chunk-S7LPQXR5.js} +6 -6
- package/dist/{chunk-JS5DLUUX.js → chunk-TAZYSVLT.js} +26 -22
- package/dist/{chunk-JS5DLUUX.js.map → chunk-TAZYSVLT.js.map} +1 -1
- package/dist/{chunk-QTMUJETE.js → chunk-TDPHZWJI.js} +4 -4
- package/dist/{chunk-M42UQWVO.js → chunk-WLEGSKKE.js} +4 -4
- package/dist/{chunk-UENVVGWE.js → chunk-WTOG3CC6.js} +4 -4
- package/dist/{chunk-QB7XVOYW.js → chunk-X6CO4WIX.js} +4 -4
- package/dist/{chunk-744IB5WM.js → chunk-XLJ4D4FI.js} +4 -4
- package/dist/{chunk-FVBEUPVM.js → chunk-XNZ6UHTM.js} +27 -5
- package/dist/chunk-XNZ6UHTM.js.map +1 -0
- package/dist/{chunk-SZTHLJ5J.js → chunk-XTNAIM7X.js} +6 -6
- package/dist/{chunk-S3SJIWSU.js → chunk-YNAJUTYC.js} +7 -7
- package/dist/{chunk-6GJDU3FN.js → chunk-YSACCMUB.js} +13 -13
- package/dist/{chunk-6RREIUAE.js → chunk-ZKOLV4ZN.js} +39 -4
- package/dist/chunk-ZKOLV4ZN.js.map +1 -0
- package/dist/{cli-JNOPYAUM.js → cli-IFXU5XNZ.js} +9 -9
- package/dist/{cli-I6TXLNRQ.js → cli-MZSWFSTW.js} +9 -9
- package/dist/{cli-VU2ALT6L.js → cli-O3WXOFNS.js} +8 -8
- package/dist/{cli-YYXO4WX5.js → cli-RQJUQJEP.js} +8 -8
- package/dist/{cli-W2WNV64V.js → cli-ZGYSHJP7.js} +9 -9
- package/dist/cloud-backends.js +5 -5
- package/dist/{control-plane-JUAINN2X.js → control-plane-3TII2JGM.js} +20 -20
- package/dist/{cp-hub-upload-VHU5TBHQ.js → cp-hub-upload-3W7Z4BMT.js} +7 -7
- package/dist/{custody-client-5OHF3SEX.js → custody-client-KYEZET6C.js} +5 -5
- package/dist/{deploy-hetzner-RTQW3B7P.js → deploy-hetzner-EO5PFKBG.js} +9 -9
- package/dist/{dist-H4FFY5TX.js → dist-3AR6L5MF.js} +8 -8
- package/dist/{dist-5HJBDLJP.js → dist-4GHNQ2AK.js} +8 -8
- package/dist/{dist-H72NQCKO.js → dist-BFH537FO.js} +9 -9
- package/dist/{dist-MBPDLQUR.js → dist-BUCKUE4V.js} +2 -2
- package/dist/{dist-64YIP2AZ.js → dist-ETGTZQUT.js} +256 -6
- package/dist/{dist-UGI5L7BN.js → dist-H2CSUDEI.js} +8 -8
- package/dist/{dist-7IANPBF4.js → dist-IABCQB5D.js} +8 -8
- package/dist/{dist-EDCGUXVI.js → dist-JJZ3NZRO.js} +10 -6
- package/dist/{dist-7RMVQOWJ.js → dist-RPBA2EL5.js} +8 -8
- package/dist/{dist-NJOKYHDI.js → dist-URWWHI3X.js} +9 -3
- package/dist/{dist-XWDFVTFR.js → dist-V224SH3Z.js} +7 -7
- package/dist/{host-reach-drainer-GTNLQWWM.js → host-reach-drainer-NYN3YXHG.js} +2 -2
- package/dist/host-session-YP5RKV6T.js +29 -0
- package/dist/hub-OWUC4IGW.js +39 -0
- package/dist/{hub-adopt-TVDMOZSP.js → hub-adopt-HYXFUPPO.js} +7 -7
- package/dist/{hub-api-client-RISAC6GB.js → hub-api-client-BI3E37CF.js} +4 -4
- package/dist/{hub-docker-target-QEALUMIZ.js → hub-docker-target-6ODSK7ZE.js} +14 -14
- package/dist/index.js +1224 -230
- package/dist/index.js.map +1 -1
- package/dist/{plugin-update-LG45ZFCU.js → plugin-update-LI3QDA4K.js} +5 -5
- package/dist/prepare-MYFNDJPP.js +45 -0
- package/dist/prepared-custody-WSHX6XTQ.js +39 -0
- package/dist/{prepared-state-FO74QUCP-SW3QMBW5.js → prepared-state-FO74QUCP-M4Q2X3KN.js} +4 -4
- package/dist/{publish-credentials-T7DDJVC4.js → publish-credentials-FCEQSIPE.js} +9 -9
- package/dist/{registry-UCFNYOAU.js → registry-GG23NEBF.js} +5 -5
- package/dist/relay-YUOIK3HN.js +22 -0
- package/dist/{remote-docker-share-SY7CWW5R.js → remote-docker-share-4Z4VVUPG.js} +11 -11
- package/dist/remote-docker-share-4Z4VVUPG.js.map +1 -0
- package/dist/{tool-grant-push-OJHLVAPZ.js → tool-grant-push-A2JYLJVF.js} +3 -3
- package/package.json +1 -1
- package/runtime/_shared/ctl.cjs +1046 -316
- package/runtime/digitalocean/ctl.cjs +1046 -316
- package/runtime/docker/packages/ctl/dist/bin.cjs +1046 -316
- package/runtime/e2b/ctl.cjs +1046 -316
- package/runtime/hetzner/ctl.cjs +1046 -316
- 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]__074mxl5._.js → [root-of-the-server]__0-xlf9z._.js} +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__028ifqb._.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_agent-registry_dist_index_1ze3mqq.js +28 -19
- 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_agent-registry_dist_index_0z476w4.js +26 -17
- 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-FQY5OEWX.js → chunk-2LE76CT3.js} +19 -6
- package/runtime/hub/apps/hub/{chunk-MIETKCV4.js → chunk-BR4WVGWJ.js} +3 -3
- package/runtime/hub/apps/hub/{chunk-KTWFE5BB.js → chunk-EVB2OTLU.js} +3312 -1032
- package/runtime/hub/apps/hub/{chunk-IDL7RJBP.js → chunk-FBNAIUXZ.js} +38 -3
- package/runtime/hub/apps/hub/{chunk-ORTYCJ2U.js → chunk-G2AEPH7C.js} +4 -4
- package/runtime/hub/apps/hub/{chunk-VNLPJ45F.js → chunk-JX5JUFSR.js} +9 -9
- package/runtime/hub/apps/hub/{chunk-PM2365RW.js → chunk-MD2UNTZR.js} +6 -6
- package/runtime/hub/apps/hub/{dist-4DVVLHK2.js → dist-3LDUYWPK.js} +8 -2
- package/runtime/hub/apps/hub/{dist-RWN4Z57N.js → dist-CJ6QFUFV.js} +5 -5
- package/runtime/hub/apps/hub/{dist-FM26NQ4V.js → dist-D36FTGG6.js} +1 -1
- package/runtime/hub/apps/hub/{dist-VF56FSKH.js → dist-GGLWLMY6.js} +6 -6
- package/runtime/hub/apps/hub/{dist-WA2LO2DU.js → dist-HLLYJGIT.js} +6 -6
- package/runtime/hub/apps/hub/{dist-OAS6A7E4.js → dist-IIQU4I42.js} +5 -5
- package/runtime/hub/apps/hub/{dist-3IYYT3II.js → dist-UFMCOK3W.js} +5 -5
- package/runtime/hub/apps/hub/{dist-LMXU56B2.js → dist-XUNBQ4WM.js} +5 -5
- package/runtime/hub/apps/hub/{dist-LOZYEDXA.js → dist-Y2263LMY.js} +8 -4
- package/runtime/hub/apps/hub/{dist-UPKSCLZ2.js → dist-YV4M6NJO.js} +5 -5
- package/runtime/hub/apps/hub/{hub-worker-6JAWRLP2.js → hub-worker-LJYEEAJL.js} +7 -7
- 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-QR6ZNI3Q.js → prepared-state-FO74QUCP-75UBPW5I.js} +3 -3
- package/runtime/hub/apps/hub/server.js +2033 -164
- 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 +1419 -623
- package/runtime/vercel/ctl.cjs +1046 -316
- package/share/host-skills/agentbox-info/SKILL.md +25 -4
- package/dist/_cloud-attach-QB72ZV7T.js +0 -31
- package/dist/chunk-6RREIUAE.js.map +0 -1
- package/dist/chunk-7N3CJNR5.js.map +0 -1
- package/dist/chunk-FVBEUPVM.js.map +0 -1
- package/dist/chunk-QWUZJCF5.js.map +0 -1
- package/dist/chunk-XLFQXROC.js.map +0 -1
- package/dist/chunk-ZK6KD7ME.js.map +0 -1
- package/dist/hub-C5B3CRP6.js +0 -39
- package/dist/prepare-6JLTXX65.js +0 -45
- package/dist/prepared-custody-YVVTL2ZM.js +0 -39
- package/dist/relay-W73AIA35.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-QB72ZV7T.js.map → _cloud-attach-6RKS3MAP.js.map} +0 -0
- /package/dist/{chunk-E2RPG54S.js.map → chunk-27S7QLDF.js.map} +0 -0
- /package/dist/{chunk-EZPCCJPE.js.map → chunk-2APGFWEU.js.map} +0 -0
- /package/dist/{chunk-7PDYVJ2Q.js.map → chunk-3AYSA62C.js.map} +0 -0
- /package/dist/{chunk-SHFU2KSY.js.map → chunk-3ISG5THX.js.map} +0 -0
- /package/dist/{chunk-D67Q5MNA.js.map → chunk-3L2DIPRM.js.map} +0 -0
- /package/dist/{chunk-GYUOXSUX.js.map → chunk-4FOXMGJ7.js.map} +0 -0
- /package/dist/{chunk-VIB2FMJJ.js.map → chunk-5OKDSI6M.js.map} +0 -0
- /package/dist/{chunk-Q3BHXL47.js.map → chunk-6XMOBI5V.js.map} +0 -0
- /package/dist/{chunk-VNXWOWQ7.js.map → chunk-7QTBRHB7.js.map} +0 -0
- /package/dist/{chunk-UWKJ3HIA.js.map → chunk-ANSPBIYG.js.map} +0 -0
- /package/dist/{chunk-EHLPIWRR.js.map → chunk-AWI2TSWS.js.map} +0 -0
- /package/dist/{chunk-GZHJVCBG.js.map → chunk-CDRKQ5BH.js.map} +0 -0
- /package/dist/{chunk-W7P2HHFI.js.map → chunk-CXAWPWGZ.js.map} +0 -0
- /package/dist/{chunk-V5IMDVV5.js.map → chunk-EDJ6O6CI.js.map} +0 -0
- /package/dist/{chunk-PYPIECDD.js.map → chunk-GSMQL4IJ.js.map} +0 -0
- /package/dist/{chunk-DKUSSE5G.js.map → chunk-JWQYZ6V4.js.map} +0 -0
- /package/dist/{chunk-WMILLMJZ.js.map → chunk-KOTW7QQW.js.map} +0 -0
- /package/dist/{chunk-XHCGVCSA.js.map → chunk-L4KBYI3I.js.map} +0 -0
- /package/dist/{chunk-BMZOMC6X.js.map → chunk-M2DWTQRF.js.map} +0 -0
- /package/dist/{chunk-MKZHCLFJ.js.map → chunk-MI3V2MAE.js.map} +0 -0
- /package/dist/{chunk-ZMNLEZJB.js.map → chunk-MO3QJTVS.js.map} +0 -0
- /package/dist/{chunk-MBFN2XNU.js.map → chunk-MPTE57BZ.js.map} +0 -0
- /package/dist/{chunk-RNYH5465.js.map → chunk-QBVRWGXD.js.map} +0 -0
- /package/dist/{chunk-VEO6ZYQY.js.map → chunk-RIXW4HSE.js.map} +0 -0
- /package/dist/{chunk-QER5WHBC.js.map → chunk-S7LPQXR5.js.map} +0 -0
- /package/dist/{chunk-QTMUJETE.js.map → chunk-TDPHZWJI.js.map} +0 -0
- /package/dist/{chunk-M42UQWVO.js.map → chunk-WLEGSKKE.js.map} +0 -0
- /package/dist/{chunk-UENVVGWE.js.map → chunk-WTOG3CC6.js.map} +0 -0
- /package/dist/{chunk-QB7XVOYW.js.map → chunk-X6CO4WIX.js.map} +0 -0
- /package/dist/{chunk-744IB5WM.js.map → chunk-XLJ4D4FI.js.map} +0 -0
- /package/dist/{chunk-SZTHLJ5J.js.map → chunk-XTNAIM7X.js.map} +0 -0
- /package/dist/{chunk-S3SJIWSU.js.map → chunk-YNAJUTYC.js.map} +0 -0
- /package/dist/{chunk-6GJDU3FN.js.map → chunk-YSACCMUB.js.map} +0 -0
- /package/dist/{cli-I6TXLNRQ.js.map → cli-IFXU5XNZ.js.map} +0 -0
- /package/dist/{cli-JNOPYAUM.js.map → cli-MZSWFSTW.js.map} +0 -0
- /package/dist/{cli-VU2ALT6L.js.map → cli-O3WXOFNS.js.map} +0 -0
- /package/dist/{cli-W2WNV64V.js.map → cli-RQJUQJEP.js.map} +0 -0
- /package/dist/{cli-YYXO4WX5.js.map → cli-ZGYSHJP7.js.map} +0 -0
- /package/dist/{control-plane-JUAINN2X.js.map → control-plane-3TII2JGM.js.map} +0 -0
- /package/dist/{cp-hub-upload-VHU5TBHQ.js.map → cp-hub-upload-3W7Z4BMT.js.map} +0 -0
- /package/dist/{custody-client-5OHF3SEX.js.map → custody-client-KYEZET6C.js.map} +0 -0
- /package/dist/{deploy-hetzner-RTQW3B7P.js.map → deploy-hetzner-EO5PFKBG.js.map} +0 -0
- /package/dist/{dist-64YIP2AZ.js.map → dist-3AR6L5MF.js.map} +0 -0
- /package/dist/{dist-5HJBDLJP.js.map → dist-4GHNQ2AK.js.map} +0 -0
- /package/dist/{dist-7IANPBF4.js.map → dist-BFH537FO.js.map} +0 -0
- /package/dist/{dist-EDCGUXVI.js.map → dist-BUCKUE4V.js.map} +0 -0
- /package/dist/{dist-H4FFY5TX.js.map → dist-ETGTZQUT.js.map} +0 -0
- /package/dist/{dist-H72NQCKO.js.map → dist-H2CSUDEI.js.map} +0 -0
- /package/dist/{dist-MBPDLQUR.js.map → dist-IABCQB5D.js.map} +0 -0
- /package/dist/{dist-NJOKYHDI.js.map → dist-JJZ3NZRO.js.map} +0 -0
- /package/dist/{dist-7RMVQOWJ.js.map → dist-RPBA2EL5.js.map} +0 -0
- /package/dist/{dist-UGI5L7BN.js.map → dist-URWWHI3X.js.map} +0 -0
- /package/dist/{dist-XWDFVTFR.js.map → dist-V224SH3Z.js.map} +0 -0
- /package/dist/{host-reach-drainer-GTNLQWWM.js.map → host-reach-drainer-NYN3YXHG.js.map} +0 -0
- /package/dist/{hub-C5B3CRP6.js.map → host-session-YP5RKV6T.js.map} +0 -0
- /package/dist/{hub-adopt-TVDMOZSP.js.map → hub-OWUC4IGW.js.map} +0 -0
- /package/dist/{hub-api-client-RISAC6GB.js.map → hub-adopt-HYXFUPPO.js.map} +0 -0
- /package/dist/{prepare-6JLTXX65.js.map → hub-api-client-BI3E37CF.js.map} +0 -0
- /package/dist/{hub-docker-target-QEALUMIZ.js.map → hub-docker-target-6ODSK7ZE.js.map} +0 -0
- /package/dist/{plugin-update-LG45ZFCU.js.map → plugin-update-LI3QDA4K.js.map} +0 -0
- /package/dist/{prepared-custody-YVVTL2ZM.js.map → prepare-MYFNDJPP.js.map} +0 -0
- /package/dist/{prepared-state-FO74QUCP-SW3QMBW5.js.map → prepared-custody-WSHX6XTQ.js.map} +0 -0
- /package/dist/{registry-UCFNYOAU.js.map → prepared-state-FO74QUCP-M4Q2X3KN.js.map} +0 -0
- /package/dist/{publish-credentials-T7DDJVC4.js.map → publish-credentials-FCEQSIPE.js.map} +0 -0
- /package/dist/{relay-W73AIA35.js.map → registry-GG23NEBF.js.map} +0 -0
- /package/dist/{remote-docker-share-SY7CWW5R.js.map → relay-YUOIK3HN.js.map} +0 -0
- /package/dist/{tool-grant-push-OJHLVAPZ.js.map → tool-grant-push-A2JYLJVF.js.map} +0 -0
- /package/runtime/hub/apps/hub/.next/static/{kg0mtyaaNMvU3P8p7nLPa → QDhlg7V_fEVGv_NfM2cEJ}/_buildManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{kg0mtyaaNMvU3P8p7nLPa → QDhlg7V_fEVGv_NfM2cEJ}/_clientMiddlewareManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{kg0mtyaaNMvU3P8p7nLPa → QDhlg7V_fEVGv_NfM2cEJ}/_ssgManifest.js +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[49714,e=>{"use strict";let t=["claude","codex","opencode","pi","none"],r=["claude","codex","opencode","pi"],o=["docker","daytona","hetzner","vercel","e2b","digitalocean","remote-docker"],n=["start","pause","resume","stop","destroy","screen"];function s(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}let i=/^[A-Za-z0-9][A-Za-z0-9._-]{0,99}$/,a=/^[A-Za-z0-9][A-Za-z0-9._-]*$/,u=["checkout","branch","pull","push","push-host"],l=["claude","codex","herdr","cmux","vscode","iterm2","finder"];function f(e,t){return void 0===e?{ok:!0,value:void 0}:"string"!=typeof e?{ok:!1,message:`${t} must be a string`}:{ok:!0,value:e}}function m(e,t){return void 0===e?{ok:!0,value:void 0}:"boolean"!=typeof e?{ok:!1,message:`${t} must be a boolean`}:{ok:!0,value:e}}function d(e,t){return void 0===e?{ok:!0,value:void 0}:"number"==typeof e&&Number.isFinite(e)?{ok:!0,value:e}:{ok:!1,message:`${t} must be a number`}}function g(e,t){if(void 0===e)return{ok:!0,value:void 0};if(!Array.isArray(e))return{ok:!1,message:`${t} must be an array of strings`};for(let r of e)if("string"!=typeof r)return{ok:!1,message:`${t} must be an array of strings`};return{ok:!0,value:e.length>0?e:void 0}}async function k(e){let t=await e.text();if(0===t.trim().length)return{ok:!0,value:{}};try{return{ok:!0,value:JSON.parse(t)}}catch{return{ok:!1,message:"body is not valid JSON"}}}e.s(["AGENTS",0,t,"GIT_OPS",0,u,"LIFECYCLE_ACTIONS",0,n,"isGitOp",0,function(e){return u.includes(e)},"isLifecycleAction",0,function(e){return n.includes(e)},"isProviderId",0,function(e){return o.includes(e)||/^[a-z][a-z0-9-]{0,39}$/.test(e)},"parseAnswer",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{answer:t,cancelled:r,openedByClient:o}=e;return"y"!==t&&"n"!==t?{ok:!1,message:"answer must be 'y' or 'n'"}:void 0!==o&&"boolean"!=typeof o?{ok:!1,message:"openedByClient must be a boolean when present"}:void 0!==r&&"boolean"!=typeof r?{ok:!1,message:"cancelled must be a boolean when present"}:{ok:!0,value:{answer:t,...!0===r?{cancelled:!0}:{},...!0===o?{openedByClient:!0}:{}}}},"parseBoxBackup",0,function(e){if(null==e)return{ok:!0,value:{}};if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t=f(e.name,"name");if(!t.ok)return t;let r=f(e.agent,"agent");if(!r.ok)return r;let o=d(e.keep,"keep");if(!o.ok)return o;if(void 0!==o.value&&(!Number.isInteger(o.value)||o.value<1))return{ok:!1,message:"keep must be a positive integer"};let n=m(e.includeNodeModules,"includeNodeModules");return n.ok?{ok:!0,value:{name:t.value,keep:o.value,agent:r.value,includeNodeModules:n.value}}:n},"parseCheckpointCreate",0,function(e){if(null==e)return{ok:!0,value:{}};if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t=f(e.name,"name");if(!t.ok)return t;let r=m(e.merged,"merged");if(!r.ok)return r;let o=m(e.setDefault,"setDefault");if(!o.ok)return o;let n=m(e.replace,"replace");return n.ok?{ok:!0,value:{name:t.value,merged:r.value,setDefault:o.value,replace:n.value}}:n},"parseCloneBox",0,function(e){if(null==e)return{ok:!0,value:{}};if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{name:t,provider:r,into:o,includeNodeModules:n,persistent:i}=e,a={},u=(e,t)=>{if(null==e)return{ok:!0,value:void 0};if("string"!=typeof e)return{ok:!1,message:`${t} must be a string`};let r=e.trim();return{ok:!0,value:r.length>0?r:void 0}},l=u(t,"name");if(!l.ok)return l;void 0!==l.value&&(a.name=l.value);let f=u(r,"provider");if(!f.ok)return f;void 0!==f.value&&(a.provider=f.value);let m=u(o,"into");if(!m.ok)return m;if(void 0!==m.value){var d;if(!((d=m.value).startsWith("/")||/^[a-zA-Z]:[\\/]/.test(d)||d.startsWith("\\\\")))return{ok:!1,message:`into must be an absolute path (got "${m.value}") — it names a directory on the hub's machine, which has no notion of your working directory`};a.into=m.value}return void 0!==n&&"boolean"!=typeof n?{ok:!1,message:"includeNodeModules must be a boolean"}:(!0===n&&(a.includeNodeModules=!0),void 0!==i&&"boolean"!=typeof i)?{ok:!1,message:"persistent must be a boolean"}:("boolean"==typeof i&&(a.persistent=i),{ok:!0,value:a})},"parseCreateBox",0,function(e,r=t){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{projectId:n,repoUrl:i,agent:a,provider:u,name:l,prompt:k,fromBranch:v,setupWizard:c}=e,{agentArgs:p,startAgent:b,foreground:y,opts:h}=e,j="string"==typeof n&&n.length>0,N="string"==typeof i&&i.length>0;if(!j&&!N)return{ok:!1,message:"one of projectId or repoUrl is required (string)"};if(j&&N)return{ok:!1,message:"send exactly one of projectId or repoUrl, not both"};if(void 0!==n&&"string"!=typeof n)return{ok:!1,message:"projectId must be a string"};if(void 0!==i&&"string"!=typeof i)return{ok:!1,message:"repoUrl must be a string"};if("string"!=typeof a||!r.includes(a))return{ok:!1,message:`agent must be one of ${r.join(", ")}`,details:{got:a}};let O="string"==typeof u&&/^(?:docker|remote-docker):[A-Za-z0-9][A-Za-z0-9._-]*$/.test(u);if(void 0!==u&&!O&&("string"!=typeof u||!/^[a-z][a-z0-9-]{0,39}$/.test(u)))return{ok:!1,message:`provider must be one of ${o.join(", ")}, a registered plugin provider, or a docker:<host> spec`,details:{got:u}};if(void 0!==l&&"string"!=typeof l)return{ok:!1,message:"name must be a string"};if(void 0!==k&&"string"!=typeof k)return{ok:!1,message:"prompt must be a string"};let S=f(v,"fromBranch");if(!S.ok)return S;let A=m(c,"setupWizard");if(!A.ok)return A;let J=g(p,"agentArgs");if(!J.ok)return J;let P=m(b,"startAgent");if(!P.ok)return P;let w=m(y,"foreground");if(!w.ok)return w;let z=function(e){if(void 0===e)return{ok:!0,value:void 0};if(!s(e))return{ok:!1,message:"opts must be a JSON object"};let t={};for(let r of["image","snapshot","memory","cpus","pidsLimit","disk","size","location","inbound","useBranch","imageRegistry","remoteHost","sessionName"]){let o=f(e[r],`opts.${r}`);if(!o.ok)return o;void 0!==o.value&&(t[r]=o.value)}for(let r of["hostSnapshot","withPlaywright","withEnv","vnc","persistent","resync","sharedDockerCache","portless","build","credentialSync","dangerouslySkipPermissions","carryYes","carryAsk"]){let o=m(e[r],`opts.${r}`);if(!o.ok)return o;void 0!==o.value&&(t[r]=o.value)}let r=d(e.bundleDepth,"opts.bundleDepth");if(!r.ok)return r;void 0!==r.value&&(t.bundleDepth=r.value);let o=g(e.envFiles,"opts.envFiles");if(!o.ok)return o;if(void 0!==o.value&&(t.envFiles=o.value),void 0!==e.gitPushMode){let r=["auto","relay","lease","direct"];if("string"!=typeof e.gitPushMode||!r.includes(e.gitPushMode))return{ok:!1,message:`opts.gitPushMode must be one of ${r.join(", ")}`};t.gitPushMode=e.gitPushMode}if(void 0!==e.carry){if(!Array.isArray(e.carry))return{ok:!1,message:"opts.carry must be an array"};t.carry=e.carry}let n=g(e.borrowCredentials,"opts.borrowCredentials");if(!n.ok)return n;if(void 0!==n.value&&(t.borrowCredentials=n.value),void 0!==e.promptAnswers){if(!Array.isArray(e.promptAnswers))return{ok:!1,message:"opts.promptAnswers must be an array"};for(let[t,r]of e.promptAnswers.entries())if(!s(r)||"string"!=typeof r.id||"string"!=typeof r.value)return{ok:!1,message:`opts.promptAnswers[${String(t)}] must be { id: string, value: string }`};t.promptAnswers=e.promptAnswers}return{ok:!0,value:t}}(h);return z.ok?{ok:!0,value:{projectId:j?n:void 0,repoUrl:N?i:void 0,agent:a,provider:u,name:l,prompt:k,agentArgs:J.value,startAgent:P.value,foreground:w.value,fromBranch:S.value,setupWizard:A.value,opts:z.value}}:z},"parseCreatePreflight",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t="string"==typeof e.agent?e.agent.trim():"";if(0===t.length)return{ok:!1,message:"agent is required (string)"};let r=f(e.provider,"provider");if(!r.ok)return r;let o=m(e.carryAsk,"carryAsk");return o.ok?{ok:!0,value:{agent:t,...void 0!==r.value?{provider:r.value}:{},...void 0!==o.value?{carryAsk:o.value}:{}}}:o},"parseGitBranch",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{name:t,from:r}=e;if("string"!=typeof t||0===t.trim().length)return{ok:!1,message:"name is required (non-empty string)"};let o=f(r,"from");return o.ok?{ok:!0,value:{name:t,from:o.value}}:o},"parseGitCheckout",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{branch:t}=e;if("string"!=typeof t||0===t.trim().length)return{ok:!1,message:"branch is required (non-empty string)"};let r=g(e.args,"args");return r.ok?{ok:!0,value:{branch:t,args:r.value}}:r},"parseGitPull",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t=f(e.remote,"remote");if(!t.ok)return t;let r=m(e.ffOnly,"ffOnly");if(!r.ok)return r;let o=g(e.args,"args");return o.ok?{ok:!0,value:{remote:t.value,ffOnly:r.value,args:o.value}}:o},"parseGitPush",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t=f(e.remote,"remote");if(!t.ok)return t;let r=m(e.force,"force");if(!r.ok)return r;let o=g(e.args,"args");return o.ok?{ok:!0,value:{remote:t.value,force:r.value,args:o.value}}:o},"parseGitPushHost",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t=f(e.as,"as");if(!t.ok)return t;let r=m(e.force,"force");if(!r.ok)return r;let o=g(e.args,"args");return o.ok?{ok:!0,value:{as:t.value,force:r.value,args:o.value}}:o},"parseHostUpsert",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{alias:t,ssh:r,default:o,connection:n,identity:i}=e;if("string"!=typeof t||!a.test(t))return{ok:!1,message:"alias must be a plain name (letters, digits, ., _, -; no @, :, /)"};if("string"!=typeof r||0===r.trim().length)return{ok:!1,message:"ssh is required (an ~/.ssh/config alias or [user@]host[:port])"};let u=m(o,"default");if(!u.ok)return u;let l={alias:t,ssh:r.trim(),default:u.value};if(void 0!==n){if(!s(n))return{ok:!1,message:"connection must be an object"};let{host:e,user:t,port:r}=n;if("string"!=typeof e||0===e.trim().length)return{ok:!1,message:"connection.host is required when connection is given"};if(/[@/\s]/.test(e.trim()))return{ok:!1,message:"connection.host must be a hostname or IP"};let o={host:e.trim()};if(void 0!==t){if("string"!=typeof t||0===t.trim().length)return{ok:!1,message:"connection.user must be a non-empty string"};o.user=t.trim()}if(void 0!==r){if("number"!=typeof r||!Number.isInteger(r)||r<1||r>65535)return{ok:!1,message:"connection.port must be a port number"};o.port=r}l.connection=o}if(void 0!==i){if("string"!=typeof i||!i.includes("PRIVATE KEY"))return{ok:!1,message:"identity must be a PEM-encoded private key"};if(Buffer.byteLength(i,"utf8")>16384)return{ok:!1,message:"identity is too large to be a private key"};if(!l.connection)return{ok:!1,message:"identity requires connection (send the ssh -G expansion)"};l.identity=i}return{ok:!0,value:l}},"parseLoginCode",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{code:t}=e;return"string"!=typeof t||0===t.trim().length?{ok:!1,message:"code is required (non-empty string)"}:{ok:!0,value:{code:t.trim()}}},"parseOpenIn",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{app:t}=e;return"string"==typeof t&&l.includes(t)?{ok:!0,value:{app:t}}:{ok:!1,message:`app must be one of ${l.join(", ")}`,details:{got:t}}},"parseProject",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{path:t,parent:r,name:o,git:n}=e,a="string"==typeof t&&t.length>0,u=void 0!==r||void 0!==o||void 0!==n;if(a&&u)return{ok:!1,message:"send either { path } or { parent, name }, not both"};if(a)return{ok:!0,value:{kind:"register",path:t}};if(!u)return{ok:!1,message:"path (register a folder) or parent + name (create one) is required"};if("string"!=typeof r||0===r.length)return{ok:!1,message:"parent is required (absolute directory path)"};if("string"!=typeof o||!i.test(o))return{ok:!1,message:"name must be a single folder name (letters, digits, . _ -; no leading dot, no slashes)"};let l=m(n,"git");return l.ok?{ok:!0,value:{kind:"create",parent:r,name:o,git:l.value??!1}}:l},"parseProviderCredentials",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t={};for(let[r,o]of Object.entries(e)){if("string"!=typeof o)return{ok:!1,message:`field ${r} must be a string`};t[r]=o}return 0===Object.keys(t).length?{ok:!1,message:"at least one credential field is required"}:{ok:!0,value:t}},"parseProviderPrepare",0,function(e){if(null==e)return{ok:!0,value:{}};if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{force:t,agentSettings:o,agents:n,build:i,size:a,location:u,name:l}=e,d=m(t,"force");if(!d.ok)return d;let k=function(e){if(void 0===e)return{ok:!0,value:void 0};let t={ok:!1,message:"agentSettings must be an object of {agent: {key: string|boolean}}"};if(!s(e))return t;let r={};for(let[o,n]of Object.entries(e)){if(!s(n))return t;let e={};for(let[r,o]of Object.entries(n)){if("string"!=typeof o&&"boolean"!=typeof o)return t;e[r]=o}r[o]=e}return{ok:!0,value:Object.keys(r).length>0?r:void 0}}(o);if(!k.ok)return k;let v=g(n,"agents");if(!v.ok)return v;if(void 0!==(v.value??[]).find(e=>!r.includes(e)))return{ok:!1,message:`agents must each be one of ${r.join(", ")}`};let c=m(i,"build");if(!c.ok)return c;let p=f(a,"size");if(!p.ok)return p;let b=f(u,"location");if(!b.ok)return b;let y=f(l,"name");return y.ok?{ok:!0,value:{force:d.value,agentSettings:k.value,agents:v.value,build:c.value,size:p.value,location:b.value,name:y.value}}:y},"parsePrune",0,function(e){if(null==e)return{ok:!0,value:{}};if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t=m(e.all,"all");if(!t.ok)return t;let r=m(e.dryRun,"dryRun");if(!r.ok)return r;let o=f(e.provider,"provider");return o.ok?{ok:!0,value:{all:t.value,dryRun:r.value,provider:o.value}}:o},"parseRenameBox",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{displayName:t}=e;return"string"!=typeof t?{ok:!1,message:"displayName is required (string; empty string clears the label)"}:t.trim().length>60?{ok:!1,message:"displayName too long (max 60 chars)"}:{ok:!0,value:{displayName:t}}},"parseRestoreProject",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};if("string"!=typeof e.bot||0===e.bot.trim().length)return{ok:!1,message:"bot is required (string)"};let t=f(e.stamp,"stamp");if(!t.ok)return t;let r=f(e.name,"name");if(!r.ok)return r;let o=f(e.provider,"provider");if(!o.ok)return o;let n=f(e.into,"into");if(!n.ok)return n;if(void 0!==n.value&&n.value.length>0&&!n.value.startsWith("/"))return{ok:!1,message:"into must be an absolute path"};let i=m(e.force,"force");if(!i.ok)return i;let a=m(e.persistent,"persistent");return a.ok?{ok:!0,value:{bot:e.bot.trim(),stamp:t.value,name:r.value,provider:o.value,into:n.value,force:i.value,persistent:a.value}}:a},"parseServiceRestart",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t=f(e.name,"name");return t.ok?{ok:!0,value:{name:t.value}}:t},"parseSizeCheck",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t=f(e.size,"size");return t.ok?void 0===t.value?{ok:!1,message:"size is required"}:{ok:!0,value:t.value}:t},"readJson",0,k])}];
|
|
1
|
+
module.exports=[49714,e=>{"use strict";let t=["claude","codex","opencode","pi","none"],r=["claude","codex","opencode","pi"],o=["docker","daytona","hetzner","vercel","e2b","digitalocean","remote-docker"],n=["start","pause","resume","stop","destroy","screen"];function s(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}let a=/^[A-Za-z0-9][A-Za-z0-9._-]{0,99}$/,i=/^[A-Za-z0-9][A-Za-z0-9._-]*$/,u=["checkout","branch","pull","push","push-host"],l=["claude","codex","herdr","cmux","vscode","iterm2","finder"];function f(e,t){return void 0===e?{ok:!0,value:void 0}:"string"!=typeof e?{ok:!1,message:`${t} must be a string`}:{ok:!0,value:e}}function m(e,t){return void 0===e?{ok:!0,value:void 0}:"boolean"!=typeof e?{ok:!1,message:`${t} must be a boolean`}:{ok:!0,value:e}}function d(e,t){return void 0===e?{ok:!0,value:void 0}:"number"==typeof e&&Number.isFinite(e)?{ok:!0,value:e}:{ok:!1,message:`${t} must be a number`}}function g(e,t){if(void 0===e)return{ok:!0,value:void 0};if(!Array.isArray(e))return{ok:!1,message:`${t} must be an array of strings`};for(let r of e)if("string"!=typeof r)return{ok:!1,message:`${t} must be an array of strings`};return{ok:!0,value:e.length>0?e:void 0}}async function k(e){let t=await e.text();if(0===t.trim().length)return{ok:!0,value:{}};try{return{ok:!0,value:JSON.parse(t)}}catch{return{ok:!1,message:"body is not valid JSON"}}}let v=["todo","in_progress","blocked","done"],p=/^T-\d+$/,b=["claude","codex","opencode","pi"],c=["note","replan","plan"];function y(e,t="note"){if(void 0===e)return{ok:!0,value:void 0};if("string"!=typeof e)return{ok:!1,message:`${t} must be a string`};if(e.length>2e3)return{ok:!1,message:`${t} too long (max ${String(2e3)} chars)`};let r=e.trim();return{ok:!0,value:r.length>0?r:void 0}}function h(e){let t=y(e,"text");return t.ok?t.value?{ok:!0,value:t.value}:{ok:!1,message:"text is required (non-empty string)"}:t}let j=/^[A-Za-z0-9_.-]{1,100}\/[A-Za-z0-9_.-]{1,100}$/;function N(e){return"string"==typeof e&&v.includes(e)}function x(e){if(void 0===e)return{ok:!0,value:void 0};if(!s(e))return{ok:!1,message:"externalRef must be an object"};let{kind:t,id:r,url:o}=e;if("string"!=typeof t||0===t.length)return{ok:!1,message:"externalRef.kind is required (string)"};if("string"!=typeof r||0===r.length)return{ok:!1,message:"externalRef.id is required (string)"};let n=f(o,"externalRef.url");return n.ok?{ok:!0,value:{kind:t,id:r,...n.value?{url:n.value}:{}}}:n}function I(e,t){if(!Array.isArray(e)||0===e.length)return{ok:!1,message:`${t} is required (non-empty array of task ids)`};for(let r of e)if("string"!=typeof r||!p.test(r))return{ok:!1,message:`${t} entries must be task ids like T-1`};return{ok:!0,value:e}}let S=/^[A-Za-z0-9][A-Za-z0-9_-]{0,63}$/,O=/^[0-9a-f]{16}$/;function A(e,t){return void 0===e?{ok:!0,value:void 0}:"string"==typeof e&&O.test(e)?{ok:!0,value:e}:{ok:!1,message:`${t} must be a manager id (16 hex)`}}let J=["running","stopped"];e.s(["AGENTS",0,t,"GIT_OPS",0,u,"LIFECYCLE_ACTIONS",0,n,"MANAGER_AGENT_NAMES",0,b,"isForce",0,function(e){let t=new URL(e.url).searchParams.get("force");return"1"===t||"true"===t},"isGitOp",0,function(e){return u.includes(e)},"isLifecycleAction",0,function(e){return n.includes(e)},"isManagerStatus",0,function(e){return"string"==typeof e&&J.includes(e)},"isProviderId",0,function(e){return o.includes(e)||/^[a-z][a-z0-9-]{0,39}$/.test(e)},"isTaskStatus",0,N,"parseAnswer",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{answer:t,cancelled:r,openedByClient:o}=e;return"y"!==t&&"n"!==t?{ok:!1,message:"answer must be 'y' or 'n'"}:void 0!==o&&"boolean"!=typeof o?{ok:!1,message:"openedByClient must be a boolean when present"}:void 0!==r&&"boolean"!=typeof r?{ok:!1,message:"cancelled must be a boolean when present"}:{ok:!0,value:{answer:t,...!0===r?{cancelled:!0}:{},...!0===o?{openedByClient:!0}:{}}}},"parseBoxBackup",0,function(e){if(null==e)return{ok:!0,value:{}};if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t=f(e.name,"name");if(!t.ok)return t;let r=f(e.agent,"agent");if(!r.ok)return r;let o=d(e.keep,"keep");if(!o.ok)return o;if(void 0!==o.value&&(!Number.isInteger(o.value)||o.value<1))return{ok:!1,message:"keep must be a positive integer"};let n=m(e.includeNodeModules,"includeNodeModules");return n.ok?{ok:!0,value:{name:t.value,keep:o.value,agent:r.value,includeNodeModules:n.value}}:n},"parseCheckpointCreate",0,function(e){if(null==e)return{ok:!0,value:{}};if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t=f(e.name,"name");if(!t.ok)return t;let r=m(e.merged,"merged");if(!r.ok)return r;let o=m(e.setDefault,"setDefault");if(!o.ok)return o;let n=m(e.replace,"replace");return n.ok?{ok:!0,value:{name:t.value,merged:r.value,setDefault:o.value,replace:n.value}}:n},"parseCloneBox",0,function(e){if(null==e)return{ok:!0,value:{}};if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{name:t,provider:r,into:o,includeNodeModules:n,persistent:a}=e,i={},u=(e,t)=>{if(null==e)return{ok:!0,value:void 0};if("string"!=typeof e)return{ok:!1,message:`${t} must be a string`};let r=e.trim();return{ok:!0,value:r.length>0?r:void 0}},l=u(t,"name");if(!l.ok)return l;void 0!==l.value&&(i.name=l.value);let f=u(r,"provider");if(!f.ok)return f;void 0!==f.value&&(i.provider=f.value);let m=u(o,"into");if(!m.ok)return m;if(void 0!==m.value){var d;if(!((d=m.value).startsWith("/")||/^[a-zA-Z]:[\\/]/.test(d)||d.startsWith("\\\\")))return{ok:!1,message:`into must be an absolute path (got "${m.value}") — it names a directory on the hub's machine, which has no notion of your working directory`};i.into=m.value}return void 0!==n&&"boolean"!=typeof n?{ok:!1,message:"includeNodeModules must be a boolean"}:(!0===n&&(i.includeNodeModules=!0),void 0!==a&&"boolean"!=typeof a)?{ok:!1,message:"persistent must be a boolean"}:("boolean"==typeof a&&(i.persistent=a),{ok:!0,value:i})},"parseCreateBox",0,function(e,r=t){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{projectId:n,repoUrl:a,agent:i,provider:u,name:l,prompt:k,fromBranch:v,setupWizard:p}=e,{agentArgs:b,startAgent:c,foreground:y,opts:h,managerId:j}=e,N="string"==typeof n&&n.length>0,x="string"==typeof a&&a.length>0;if(!N&&!x)return{ok:!1,message:"one of projectId or repoUrl is required (string)"};if(N&&x)return{ok:!1,message:"send exactly one of projectId or repoUrl, not both"};if(void 0!==n&&"string"!=typeof n)return{ok:!1,message:"projectId must be a string"};if(void 0!==a&&"string"!=typeof a)return{ok:!1,message:"repoUrl must be a string"};if("string"!=typeof i||!r.includes(i))return{ok:!1,message:`agent must be one of ${r.join(", ")}`,details:{got:i}};let I="string"==typeof u&&/^(?:docker|remote-docker):[A-Za-z0-9][A-Za-z0-9._-]*$/.test(u);if(void 0!==u&&!I&&("string"!=typeof u||!/^[a-z][a-z0-9-]{0,39}$/.test(u)))return{ok:!1,message:`provider must be one of ${o.join(", ")}, a registered plugin provider, or a docker:<host> spec`,details:{got:u}};if(void 0!==l&&"string"!=typeof l)return{ok:!1,message:"name must be a string"};if(void 0!==k&&"string"!=typeof k)return{ok:!1,message:"prompt must be a string"};let S=f(v,"fromBranch");if(!S.ok)return S;let O=m(p,"setupWizard");if(!O.ok)return O;let J=g(b,"agentArgs");if(!J.ok)return J;let $=m(c,"startAgent");if(!$.ok)return $;let P=m(y,"foreground");if(!P.ok)return P;let w=function(e){if(void 0===e)return{ok:!0,value:void 0};if(!s(e))return{ok:!1,message:"opts must be a JSON object"};let t={};for(let r of["image","snapshot","memory","cpus","pidsLimit","disk","size","location","inbound","useBranch","imageRegistry","remoteHost","sessionName"]){let o=f(e[r],`opts.${r}`);if(!o.ok)return o;void 0!==o.value&&(t[r]=o.value)}for(let r of["hostSnapshot","withPlaywright","withEnv","vnc","persistent","resync","sharedDockerCache","portless","build","credentialSync","dangerouslySkipPermissions","carryYes","carryAsk"]){let o=m(e[r],`opts.${r}`);if(!o.ok)return o;void 0!==o.value&&(t[r]=o.value)}let r=d(e.bundleDepth,"opts.bundleDepth");if(!r.ok)return r;void 0!==r.value&&(t.bundleDepth=r.value);let o=g(e.envFiles,"opts.envFiles");if(!o.ok)return o;if(void 0!==o.value&&(t.envFiles=o.value),void 0!==e.gitPushMode){let r=["auto","relay","lease","direct"];if("string"!=typeof e.gitPushMode||!r.includes(e.gitPushMode))return{ok:!1,message:`opts.gitPushMode must be one of ${r.join(", ")}`};t.gitPushMode=e.gitPushMode}if(void 0!==e.carry){if(!Array.isArray(e.carry))return{ok:!1,message:"opts.carry must be an array"};t.carry=e.carry}let n=g(e.borrowCredentials,"opts.borrowCredentials");if(!n.ok)return n;if(void 0!==n.value&&(t.borrowCredentials=n.value),void 0!==e.promptAnswers){if(!Array.isArray(e.promptAnswers))return{ok:!1,message:"opts.promptAnswers must be an array"};for(let[t,r]of e.promptAnswers.entries())if(!s(r)||"string"!=typeof r.id||"string"!=typeof r.value)return{ok:!1,message:`opts.promptAnswers[${String(t)}] must be { id: string, value: string }`};t.promptAnswers=e.promptAnswers}return{ok:!0,value:t}}(h);if(!w.ok)return w;let z=A(j,"managerId");return z.ok?{ok:!0,value:{...z.value?{managerId:z.value}:{},projectId:N?n:void 0,repoUrl:x?a:void 0,agent:i,provider:u,name:l,prompt:k,agentArgs:J.value,startAgent:$.value,foreground:P.value,fromBranch:S.value,setupWizard:O.value,opts:w.value}}:z},"parseCreatePreflight",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t="string"==typeof e.agent?e.agent.trim():"";if(0===t.length)return{ok:!1,message:"agent is required (string)"};let r=f(e.provider,"provider");if(!r.ok)return r;let o=m(e.carryAsk,"carryAsk");return o.ok?{ok:!0,value:{agent:t,...void 0!==r.value?{provider:r.value}:{},...void 0!==o.value?{carryAsk:o.value}:{}}}:o},"parseGitBranch",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{name:t,from:r}=e;if("string"!=typeof t||0===t.trim().length)return{ok:!1,message:"name is required (non-empty string)"};let o=f(r,"from");return o.ok?{ok:!0,value:{name:t,from:o.value}}:o},"parseGitCheckout",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{branch:t}=e;if("string"!=typeof t||0===t.trim().length)return{ok:!1,message:"branch is required (non-empty string)"};let r=g(e.args,"args");return r.ok?{ok:!0,value:{branch:t,args:r.value}}:r},"parseGitPull",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t=f(e.remote,"remote");if(!t.ok)return t;let r=m(e.ffOnly,"ffOnly");if(!r.ok)return r;let o=g(e.args,"args");return o.ok?{ok:!0,value:{remote:t.value,ffOnly:r.value,args:o.value}}:o},"parseGitPush",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t=f(e.remote,"remote");if(!t.ok)return t;let r=m(e.force,"force");if(!r.ok)return r;let o=g(e.args,"args");return o.ok?{ok:!0,value:{remote:t.value,force:r.value,args:o.value}}:o},"parseGitPushHost",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t=f(e.as,"as");if(!t.ok)return t;let r=m(e.force,"force");if(!r.ok)return r;let o=g(e.args,"args");return o.ok?{ok:!0,value:{as:t.value,force:r.value,args:o.value}}:o},"parseHostUpsert",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{alias:t,ssh:r,default:o,connection:n,identity:a}=e;if("string"!=typeof t||!i.test(t))return{ok:!1,message:"alias must be a plain name (letters, digits, ., _, -; no @, :, /)"};if("string"!=typeof r||0===r.trim().length)return{ok:!1,message:"ssh is required (an ~/.ssh/config alias or [user@]host[:port])"};let u=m(o,"default");if(!u.ok)return u;let l={alias:t,ssh:r.trim(),default:u.value};if(void 0!==n){if(!s(n))return{ok:!1,message:"connection must be an object"};let{host:e,user:t,port:r}=n;if("string"!=typeof e||0===e.trim().length)return{ok:!1,message:"connection.host is required when connection is given"};if(/[@/\s]/.test(e.trim()))return{ok:!1,message:"connection.host must be a hostname or IP"};let o={host:e.trim()};if(void 0!==t){if("string"!=typeof t||0===t.trim().length)return{ok:!1,message:"connection.user must be a non-empty string"};o.user=t.trim()}if(void 0!==r){if("number"!=typeof r||!Number.isInteger(r)||r<1||r>65535)return{ok:!1,message:"connection.port must be a port number"};o.port=r}l.connection=o}if(void 0!==a){if("string"!=typeof a||!a.includes("PRIVATE KEY"))return{ok:!1,message:"identity must be a PEM-encoded private key"};if(Buffer.byteLength(a,"utf8")>16384)return{ok:!1,message:"identity is too large to be a private key"};if(!l.connection)return{ok:!1,message:"identity requires connection (send the ssh -G expansion)"};l.identity=a}return{ok:!0,value:l}},"parseLoginCode",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{code:t}=e;return"string"!=typeof t||0===t.trim().length?{ok:!1,message:"code is required (non-empty string)"}:{ok:!0,value:{code:t.trim()}}},"parseManagerDetect",0,function(e,t=b){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{agent:r,sessionId:o,cwd:n,pid:a,host:i,managerId:u,boxId:l,boxJobId:m,tmuxPane:d,tmuxSession:g}=e;if(void 0!==d&&("string"!=typeof d||!/^%\d+$/.test(d)))return{ok:!1,message:"tmuxPane must be a tmux pane id like %3"};if(void 0!==g&&("string"!=typeof g||!/^agentbox-manager-[0-9a-f]{16}$/.test(g)))return{ok:!1,message:"tmuxSession must be an agentbox-manager-<16 hex> session name"};if("string"!=typeof r||!t.includes(r))return{ok:!1,message:`agent must be one of ${t.join(", ")}`};if("string"!=typeof o||!S.test(o))return{ok:!1,message:"sessionId is required (alphanumeric with - or _)"};if("string"!=typeof n||!n.startsWith("/")||n.length>4096)return{ok:!1,message:"cwd must be an absolute path"};if(void 0!==a&&("number"!=typeof a||!Number.isInteger(a)||a<=0))return{ok:!1,message:"pid must be a positive integer"};let k=f(i,"host");if(!k.ok)return k;if(void 0!==k.value&&k.value.length>255)return{ok:!1,message:"host too long (max 255 chars)"};let v=A(u,"managerId");if(!v.ok)return v;let p=f(l,"boxId");if(!p.ok)return p;let c=f(m,"boxJobId");return c.ok?p.value&&c.value?{ok:!1,message:"send either boxId or boxJobId, not both"}:{ok:!0,value:{agent:r,sessionId:o,cwd:n,...void 0!==a?{pid:a}:{},...k.value?{host:k.value}:{},...v.value?{managerId:v.value}:{},..."string"==typeof d?{tmuxPane:d}:{},..."string"==typeof g?{tmuxSession:g}:{},...p.value?{boxId:p.value}:{},...c.value?{boxJobId:c.value}:{}}}:c},"parseManagerMessage",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t=h(e.text);if(!t.ok)return t;let{prNumber:r,repo:o}=e;if(void 0!==r&&("number"!=typeof r||!Number.isInteger(r)||r<=0))return{ok:!1,message:"prNumber must be a positive integer"};if(void 0!==o){if("string"!=typeof o||!j.test(o))return{ok:!1,message:"repo must be owner/name"};if(void 0===r)return{ok:!1,message:"repo needs prNumber"}}return{ok:!0,value:{text:t.value,...void 0!==r?{prNumber:r}:{},...void 0!==o?{repo:o}:{}}}},"parseManagerNote",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t=h(e.text);if(!t.ok)return t;let{kind:r}=e;return void 0===r||c.includes(r)?{ok:!0,value:{text:t.value,...r?{kind:r}:{}}}:{ok:!1,message:`kind must be one of ${c.join(", ")}`}},"parseManagerStart",0,function(e,t=b){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{agent:r,sessionId:o,restart:n}=e;if("string"!=typeof r||!t.includes(r))return{ok:!1,message:`agent must be one of ${t.join(", ")}`};let a=f(o,"sessionId");if(!a.ok)return a;if(void 0!==a.value&&!S.test(a.value))return{ok:!1,message:"sessionId must be alphanumeric with - or _"};let i=m(n,"restart");return i.ok?{ok:!0,value:{agent:r,...a.value?{sessionId:a.value}:{},...void 0!==i.value?{restart:i.value}:{}}}:i},"parseOpenIn",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{app:t}=e;return"string"==typeof t&&l.includes(t)?{ok:!0,value:{app:t}}:{ok:!1,message:`app must be one of ${l.join(", ")}`,details:{got:t}}},"parseProject",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{path:t,parent:r,name:o,git:n}=e,i="string"==typeof t&&t.length>0,u=void 0!==r||void 0!==o||void 0!==n;if(i&&u)return{ok:!1,message:"send either { path } or { parent, name }, not both"};if(i)return{ok:!0,value:{kind:"register",path:t}};if(!u)return{ok:!1,message:"path (register a folder) or parent + name (create one) is required"};if("string"!=typeof r||0===r.length)return{ok:!1,message:"parent is required (absolute directory path)"};if("string"!=typeof o||!a.test(o))return{ok:!1,message:"name must be a single folder name (letters, digits, . _ -; no leading dot, no slashes)"};let l=m(n,"git");return l.ok?{ok:!0,value:{kind:"create",parent:r,name:o,git:l.value??!1}}:l},"parseProviderCredentials",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t={};for(let[r,o]of Object.entries(e)){if("string"!=typeof o)return{ok:!1,message:`field ${r} must be a string`};t[r]=o}return 0===Object.keys(t).length?{ok:!1,message:"at least one credential field is required"}:{ok:!0,value:t}},"parseProviderPrepare",0,function(e){if(null==e)return{ok:!0,value:{}};if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{force:t,agentSettings:o,agents:n,build:a,size:i,location:u,name:l}=e,d=m(t,"force");if(!d.ok)return d;let k=function(e){if(void 0===e)return{ok:!0,value:void 0};let t={ok:!1,message:"agentSettings must be an object of {agent: {key: string|boolean}}"};if(!s(e))return t;let r={};for(let[o,n]of Object.entries(e)){if(!s(n))return t;let e={};for(let[r,o]of Object.entries(n)){if("string"!=typeof o&&"boolean"!=typeof o)return t;e[r]=o}r[o]=e}return{ok:!0,value:Object.keys(r).length>0?r:void 0}}(o);if(!k.ok)return k;let v=g(n,"agents");if(!v.ok)return v;if(void 0!==(v.value??[]).find(e=>!r.includes(e)))return{ok:!1,message:`agents must each be one of ${r.join(", ")}`};let p=m(a,"build");if(!p.ok)return p;let b=f(i,"size");if(!b.ok)return b;let c=f(u,"location");if(!c.ok)return c;let y=f(l,"name");return y.ok?{ok:!0,value:{force:d.value,agentSettings:k.value,agents:v.value,build:p.value,size:b.value,location:c.value,name:y.value}}:y},"parsePrune",0,function(e){if(null==e)return{ok:!0,value:{}};if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t=m(e.all,"all");if(!t.ok)return t;let r=m(e.dryRun,"dryRun");if(!r.ok)return r;let o=f(e.provider,"provider");return o.ok?{ok:!0,value:{all:t.value,dryRun:r.value,provider:o.value}}:o},"parseRenameBox",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{displayName:t}=e;return"string"!=typeof t?{ok:!1,message:"displayName is required (string; empty string clears the label)"}:t.trim().length>60?{ok:!1,message:"displayName too long (max 60 chars)"}:{ok:!0,value:{displayName:t}}},"parseRestoreProject",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};if("string"!=typeof e.bot||0===e.bot.trim().length)return{ok:!1,message:"bot is required (string)"};let t=f(e.stamp,"stamp");if(!t.ok)return t;let r=f(e.name,"name");if(!r.ok)return r;let o=f(e.provider,"provider");if(!o.ok)return o;let n=f(e.into,"into");if(!n.ok)return n;if(void 0!==n.value&&n.value.length>0&&!n.value.startsWith("/"))return{ok:!1,message:"into must be an absolute path"};let a=m(e.force,"force");if(!a.ok)return a;let i=m(e.persistent,"persistent");return i.ok?{ok:!0,value:{bot:e.bot.trim(),stamp:t.value,name:r.value,provider:o.value,into:n.value,force:a.value,persistent:i.value}}:i},"parseServiceRestart",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t=f(e.name,"name");return t.ok?{ok:!0,value:{name:t.value}}:t},"parseSizeCheck",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t=f(e.size,"size");return t.ok?void 0===t.value?{ok:!1,message:"size is required"}:{ok:!0,value:t.value}:t},"parseTaskAssign",0,function(e,t={}){let r;if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{ids:o,boxId:n,boxJobId:a}=e;if(t.requireIds||void 0!==o){let e=I(o,"ids");if(!e.ok)return e;r=e.value}let i=f(n,"boxId");if(!i.ok)return i;let u=f(a,"boxJobId");if(!u.ok)return u;if(!i.value&&!u.value)return{ok:!1,message:"boxId or boxJobId is required"};if(i.value&&u.value)return{ok:!1,message:"send either boxId or boxJobId, not both"};let l=y(e.note);return l.ok?{ok:!0,value:{...r?{ids:r}:{},...i.value?{boxId:i.value}:{},...u.value?{boxJobId:u.value}:{},...l.value?{note:l.value}:{}}}:l},"parseTaskCreate",0,function(e){let t;if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{title:r,description:o,projectId:n,dependsOn:a,createdBy:i,externalRef:u,boxId:l,boxJobId:m}=e,d=A(e.managerId,"managerId");if(!d.ok)return d;let g=y(e.note);if(!g.ok)return g;if("string"!=typeof r||0===r.trim().length)return{ok:!1,message:"title is required (non-empty string)"};if(r.length>300)return{ok:!1,message:"title too long (max 300 chars)"};let k=f(o,"description");if(!k.ok)return k;let v=f(n,"projectId");if(!v.ok)return v;let p=x(u);if(!p.ok)return p;let b=f(l,"boxId");if(!b.ok)return b;let c=f(m,"boxJobId");if(!c.ok)return c;if(b.value&&c.value)return{ok:!1,message:"send either boxId or boxJobId, not both"};if(void 0!==i&&"human"!==i&&"manager"!==i&&"api"!==i)return{ok:!1,message:"createdBy must be one of human, manager, api"};if(void 0!==a){let e=I(a,"dependsOn");if(!e.ok)return e;t=e.value}return{ok:!0,value:{title:r.trim(),...k.value?{description:k.value}:{},...v.value?{projectId:v.value}:{},...t?{dependsOn:t}:{},...i?{createdBy:i}:{},...p.value?{externalRef:p.value}:{},...b.value?{boxId:b.value}:{},...c.value?{boxJobId:c.value}:{},...d.value?{managerId:d.value}:{},...g.value?{note:g.value}:{}}}},"parseTaskReorder",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let t=I(e.ids,"ids");if(!t.ok)return t;let r=y(e.note);return r.ok?{ok:!0,value:{ids:t.value,...r.value?{note:r.value}:{}}}:r},"parseTaskUpdate",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{title:t,description:r,status:o,projectId:n,dependsOn:a,externalRef:i,managerId:u}=e,l={};if(void 0!==t){if("string"!=typeof t||0===t.trim().length)return{ok:!1,message:"title must be a non-empty string"};if(t.length>300)return{ok:!1,message:"title too long (max 300 chars)"};l.title=t.trim()}let m=f(r,"description");if(!m.ok)return m;if(void 0!==m.value&&(l.description=m.value),void 0!==o){if(!N(o))return{ok:!1,message:`status must be one of ${v.join(", ")}`};l.status=o}if(void 0!==n){if(null!==n&&"string"!=typeof n)return{ok:!1,message:"projectId must be a string or null"};l.projectId=n}if(void 0!==a)if(Array.isArray(a)&&0===a.length)l.dependsOn=[];else{let e=I(a,"dependsOn");if(!e.ok)return e;l.dependsOn=e.value}let d=x(i);if(!d.ok)return d;if(d.value&&(l.externalRef=d.value),void 0!==u)if(null===u)l.managerId=null;else{let e=A(u,"managerId");if(!e.ok)return e;l.managerId=e.value??null}if(0===Object.keys(l).length)return{ok:!1,message:"no updatable field in body"};let g=y(e.note);return g.ok?(g.value&&(l.note=g.value),{ok:!0,value:l}):g},"parseTimelineQuery",0,function(e){let t={};for(let r of("0"===e.searchParams.get("sync")&&(t.sync=!1),["before","since"])){let o=e.searchParams.get(r);if(null===o||""===o)continue;let n=Date.parse(o);if(Number.isNaN(n))return{ok:!1,message:`${r} must be an ISO date-time`};t[r]=new Date(n).toISOString()}let r=e.searchParams.get("limit");if(null!==r&&""!==r){let e=Number(r);if(!Number.isInteger(e)||e<1||e>500)return{ok:!1,message:`limit must be an integer from 1 to ${String(500)}`};t.limit=e}return{ok:!0,value:t}},"parseWorkspaceAdd",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{path:t,name:r}=e;if("string"!=typeof t||0===t.length)return{ok:!1,message:"path is required (absolute path on the hub host)"};if(!t.startsWith("/"))return{ok:!1,message:"path must be absolute"};let o=f(r,"name");return o.ok?void 0!==o.value&&0===o.value.trim().length?{ok:!1,message:"name must not be empty"}:(o.value?.length??0)>60?{ok:!1,message:"name too long (max 60 chars)"}:{ok:!0,value:{path:t,...o.value?{name:o.value}:{}}}:o},"parseWorkspaceRename",0,function(e){if(!s(e))return{ok:!1,message:"body must be a JSON object"};let{name:t}=e;return"string"!=typeof t||0===t.trim().length?{ok:!1,message:"name is required (non-empty string)"}:t.length>60?{ok:!1,message:"name too long (max 60 chars)"}:{ok:!0,value:{name:t}}},"readJson",0,k])}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=apps_hub_app_%28dashboard%29_api_v1_lib_validate_ts_16dhbzz._.js.map
|
package/runtime/hub/apps/hub/.next/server/chunks/packages_agent-registry_dist_index_1ze3mqq.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
module.exports=[85233,e=>{"use strict";let t,n;var o=e.i(14747),a=e.i(46063),s=e.i(72939),r=e.i(22734),i=e.i(24868),l=`${s.BOX_HOME}/.claude`,c=`if [ -f ${s.SETUP_GUIDE_PATH} ]; then install -d -o ${s.BOX_USER} -g ${s.BOX_USER} ${l}/skills && install -d -o ${s.BOX_USER} -g ${s.BOX_USER} ${l}/skills/agentbox-setup && install -o ${s.BOX_USER} -g ${s.BOX_USER} -m 0644 ${s.SETUP_GUIDE_PATH} ${l}/skills/agentbox-setup/SKILL.md; fi`,d={id:"claude",aliases:["claude-code"],wireId:"claude-code",sessionName:"claude",binary:"claude",install:{recipe:{kind:"script",url:"https://claude.ai/install.sh",retries:3},runAs:"box-user",alternatesFrom:"install",postInstall:[...(0,s.agentDirPrelude)([l],"claude"),`ln -sfn ${l}/_claude.json ${s.BOX_HOME}/.claude.json`,`ln -sfn ${s.BOX_CREDS_DIR}/claude/.credentials.json ${l}/.credentials.json`,`chown -h ${s.BOX_USER}:${s.BOX_USER} ${s.BOX_HOME}/.claude.json ${l}/.credentials.json`,c].join(" && "),alternates:{npm:{recipe:{kind:"npm",package:"@anthropic-ai/claude-code"},runAs:"root",postInstall:[...(0,s.agentDirPrelude)([`${s.BOX_HOME}/.local/bin`,l],"claude"),`ln -sf "$(command -v claude)" ${s.BOX_HOME}/.local/bin/claude`,`ln -sfn ${l}/_claude.json ${s.BOX_HOME}/.claude.json`,`ln -sfn ${s.BOX_CREDS_DIR}/claude/.credentials.json ${l}/.credentials.json`,`chown -h ${s.BOX_USER}:${s.BOX_USER} ${s.BOX_HOME}/.local/bin/claude ${s.BOX_HOME}/.claude.json ${l}/.credentials.json`,c].join(" && ")}}},dockerVolume:"agentbox-claude-config",staticPaths:[{hostHomeRel:[".claude"],boxDir:l,exclude:["node_modules","projects","workflows","sessions","history.jsonl","file-history","shell-snapshots","backups","session-env","paste-cache","cache","telemetry","tasks","downloads","chrome","ide","debug","mcp-needs-auth-cache.json","stats-cache.json"]}],credential:{boxRelPath:".credentials.json",boxAbsPath:`${l}/.credentials.json`,hostBackup:(0,o.join)(a.STATE_DIR,"claude-credentials.json"),cloudMountPath:"/home/vscode/.agentbox-creds/claude",cloudSubpath:"claude/",realShape:"claude-oauth",freshness:{jsonPath:["claudeAiOauth","expiresAt"]}},forwardedEnvKeys:["ANTHROPIC_API_KEY","CLAUDE_CODE_OAUTH_TOKEN","CLAUDE_EFFORT","ANTHROPIC_MODEL"],boxRunEnv:{},tuiEnv:{default:{CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN:"1"},fullscreen:{CLAUDE_CODE_NO_FLICKER:"1"},auto:{}},tuiEnvFrom:"tui",settings:[{key:"install",type:"enum",enumValues:["native","npm"],default:"native",description:"How Claude Code is installed into a box image: `native` runs Anthropic's installer (the recommended path), `npm` installs @anthropic-ai/claude-code. Use `npm` on hosts whose egress IP the native CDN 403s. Bake-time - changing it re-derives the agent layer.",affectsBake:!0},{key:"tui",type:"enum",enumValues:["default","fullscreen","auto"],default:"default",description:"Terminal renderer Claude Code uses inside a box. Claude's `fullscreen` renderer repaints differentially and leaves stale characters in the blank areas of the screen over a network transport - visible while scrolling, cleared only by resizing the terminal. Boxes pin the classic renderer; set `fullscreen` to opt back in, or `auto` to let Claude decide. Rides the launch, so it takes effect on the agent's next start."}],seeds:[{bakedPath:s.SETUP_GUIDE_PATH,destRel:"skills/agentbox-setup/SKILL.md",sharedAsset:"agentbox-setup-skill.md",label:"the /agentbox-setup skill"}],caps:{resume:!0,teleport:"full",activitySource:["hooks","scraper"]},pull:{categories:["skills","agents","commands"],jsonMerges:[{rel:"plugins/installed_plugins.json",projection:"plugins"},{rel:"plugins/known_marketplaces.json",projection:"root"}]}},u=`${s.BOX_HOME}/.codex`,p={id:"codex",aliases:[],sessionName:"codex",binary:"codex",install:{recipe:{kind:"npm",package:"@openai/codex"},runAs:"root",packages:["bubblewrap"],packagesOptional:!0,postInstall:[...(0,s.agentDirPrelude)([u],"codex"),`ln -sfn ${s.BOX_CREDS_DIR}/codex/auth.json ${u}/auth.json`,`chown -h ${s.BOX_USER}:${s.BOX_USER} ${u}/auth.json`].join(" && ")},dockerVolume:"agentbox-codex-config",staticPaths:[{hostHomeRel:[".codex"],boxDir:u,include:["/.tmp/","/.tmp/marketplaces/***"],exclude:["sessions","log","history.jsonl","hooks.json","external_agent_session_imports.json","sqlite","cache","vendor_imports","tmp","/.tmp/*",".tmp",".codex-global-state.json",".codex-global-state.json.bak",".personality_migration","shell_snapshots","session_index.jsonl","models_cache.json","installation_id","version.json","packages","plugins/.plugin-appserver","computer-use","archived_sessions"]}],credential:{boxRelPath:"auth.json",boxAbsPath:`${u}/auth.json`,hostBackup:(0,o.join)(a.STATE_DIR,"codex-credentials.json"),cloudMountPath:"/home/vscode/.agentbox-creds/codex",cloudSubpath:"codex/",realShape:"nonempty-json"},forwardedEnvKeys:["OPENAI_API_KEY"],boxRunEnv:{},seeds:[{bakedPath:"/usr/local/share/agentbox/codex-hooks.json",destRel:"hooks.json",sharedAsset:"agentbox-codex-hooks.json",label:"Codex activity hooks"}],launchFlags:["--enable","hooks","--dangerously-bypass-hook-trust"],caps:{resume:!0,teleport:"full",activitySource:["hooks","scraper"]},pull:{items:[{group:"data",names:["config.toml","auth.json","prompts"]}]}},h=`${s.BOX_HOME}/.agentbox-example`,m={id:"example",aliases:[],hidden:!0,sessionName:"example",binary:"bash",install:{recipe:{kind:"exec",script:"true"},runAs:"root",postInstall:[...(0,s.agentDirPrelude)([h],"example")].join(" && ")},dockerVolume:"agentbox-example-config",staticPaths:[{hostHomeRel:[".agentbox-example"],boxDir:h}],credential:{boxRelPath:"auth.json",boxAbsPath:`${h}/auth.json`,hostBackup:(0,o.join)(a.STATE_DIR,"example-credentials.json"),cloudMountPath:`${s.BOX_CREDS_DIR}/example`,cloudSubpath:"example/",realShape:"nonempty-json"},forwardedEnvKeys:[],boxRunEnv:{},caps:{resume:!1,teleport:"stub",teleportStubReason:"The example agent is a seam canary with no conversation to teleport. Run `agentbox example` to start a fresh box.",activitySource:[]},pull:{items:[{group:"data",names:["auth.json"]}]}},
|
|
1
|
+
module.exports=[85233,e=>{"use strict";let t,n;var o=e.i(14747),a=e.i(46063),s=e.i(72939),r=e.i(22734),i=e.i(24868),l=`${s.BOX_HOME}/.claude`,c=`if [ -f ${s.SETUP_GUIDE_PATH} ]; then install -d -o ${s.BOX_USER} -g ${s.BOX_USER} ${l}/skills && install -d -o ${s.BOX_USER} -g ${s.BOX_USER} ${l}/skills/agentbox-setup && install -o ${s.BOX_USER} -g ${s.BOX_USER} -m 0644 ${s.SETUP_GUIDE_PATH} ${l}/skills/agentbox-setup/SKILL.md; fi`,d={id:"claude",aliases:["claude-code"],wireId:"claude-code",sessionName:"claude",binary:"claude",install:{recipe:{kind:"script",url:"https://claude.ai/install.sh",retries:3},runAs:"box-user",alternatesFrom:"install",postInstall:[...(0,s.agentDirPrelude)([l],"claude"),`ln -sfn ${l}/_claude.json ${s.BOX_HOME}/.claude.json`,`ln -sfn ${s.BOX_CREDS_DIR}/claude/.credentials.json ${l}/.credentials.json`,`chown -h ${s.BOX_USER}:${s.BOX_USER} ${s.BOX_HOME}/.claude.json ${l}/.credentials.json`,c].join(" && "),alternates:{npm:{recipe:{kind:"npm",package:"@anthropic-ai/claude-code"},runAs:"root",postInstall:[...(0,s.agentDirPrelude)([`${s.BOX_HOME}/.local/bin`,l],"claude"),`ln -sf "$(command -v claude)" ${s.BOX_HOME}/.local/bin/claude`,`ln -sfn ${l}/_claude.json ${s.BOX_HOME}/.claude.json`,`ln -sfn ${s.BOX_CREDS_DIR}/claude/.credentials.json ${l}/.credentials.json`,`chown -h ${s.BOX_USER}:${s.BOX_USER} ${s.BOX_HOME}/.local/bin/claude ${s.BOX_HOME}/.claude.json ${l}/.credentials.json`,c].join(" && ")}}},dockerVolume:"agentbox-claude-config",staticPaths:[{hostHomeRel:[".claude"],boxDir:l,exclude:["node_modules","projects","workflows","sessions","history.jsonl","file-history","shell-snapshots","backups","session-env","paste-cache","cache","telemetry","tasks","downloads","chrome","ide","debug","mcp-needs-auth-cache.json","stats-cache.json"]}],credential:{boxRelPath:".credentials.json",boxAbsPath:`${l}/.credentials.json`,hostBackup:(0,o.join)(a.STATE_DIR,"claude-credentials.json"),cloudMountPath:"/home/vscode/.agentbox-creds/claude",cloudSubpath:"claude/",realShape:"claude-oauth",freshness:{jsonPath:["claudeAiOauth","expiresAt"]}},forwardedEnvKeys:["ANTHROPIC_API_KEY","CLAUDE_CODE_OAUTH_TOKEN","CLAUDE_EFFORT","ANTHROPIC_MODEL"],boxRunEnv:{},tuiEnv:{default:{CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN:"1"},fullscreen:{CLAUDE_CODE_NO_FLICKER:"1"},auto:{}},tuiEnvFrom:"tui",settings:[{key:"install",type:"enum",enumValues:["native","npm"],default:"native",description:"How Claude Code is installed into a box image: `native` runs Anthropic's installer (the recommended path), `npm` installs @anthropic-ai/claude-code. Use `npm` on hosts whose egress IP the native CDN 403s. Bake-time - changing it re-derives the agent layer.",affectsBake:!0},{key:"tui",type:"enum",enumValues:["default","fullscreen","auto"],default:"default",description:"Terminal renderer Claude Code uses inside a box. Claude's `fullscreen` renderer repaints differentially and leaves stale characters in the blank areas of the screen over a network transport - visible while scrolling, cleared only by resizing the terminal. Boxes pin the classic renderer; set `fullscreen` to opt back in, or `auto` to let Claude decide. Rides the launch, so it takes effect on the agent's next start."}],seeds:[{bakedPath:s.SETUP_GUIDE_PATH,destRel:"skills/agentbox-setup/SKILL.md",sharedAsset:"agentbox-setup-skill.md",label:"the /agentbox-setup skill"}],caps:{resume:!0,teleport:"full",activitySource:["hooks","scraper"]},pull:{categories:["skills","agents","commands"],jsonMerges:[{rel:"plugins/installed_plugins.json",projection:"plugins"},{rel:"plugins/known_marketplaces.json",projection:"root"}]}},u=`${s.BOX_HOME}/.codex`,p={id:"codex",aliases:[],sessionName:"codex",binary:"codex",install:{recipe:{kind:"npm",package:"@openai/codex"},runAs:"root",packages:["bubblewrap"],packagesOptional:!0,postInstall:[...(0,s.agentDirPrelude)([u],"codex"),`ln -sfn ${s.BOX_CREDS_DIR}/codex/auth.json ${u}/auth.json`,`chown -h ${s.BOX_USER}:${s.BOX_USER} ${u}/auth.json`].join(" && ")},dockerVolume:"agentbox-codex-config",staticPaths:[{hostHomeRel:[".codex"],boxDir:u,include:["/.tmp/","/.tmp/marketplaces/***"],exclude:["sessions","log","history.jsonl","hooks.json","external_agent_session_imports.json","sqlite","cache","vendor_imports","tmp","/.tmp/*",".tmp",".codex-global-state.json",".codex-global-state.json.bak",".personality_migration","shell_snapshots","session_index.jsonl","models_cache.json","installation_id","version.json","packages","plugins/.plugin-appserver","computer-use","archived_sessions"]}],credential:{boxRelPath:"auth.json",boxAbsPath:`${u}/auth.json`,hostBackup:(0,o.join)(a.STATE_DIR,"codex-credentials.json"),cloudMountPath:"/home/vscode/.agentbox-creds/codex",cloudSubpath:"codex/",realShape:"nonempty-json"},forwardedEnvKeys:["OPENAI_API_KEY"],boxRunEnv:{},seeds:[{bakedPath:"/usr/local/share/agentbox/codex-hooks.json",destRel:"hooks.json",sharedAsset:"agentbox-codex-hooks.json",label:"Codex activity hooks"}],launchFlags:["--enable","hooks","--dangerously-bypass-hook-trust"],caps:{resume:!0,teleport:"full",activitySource:["hooks","scraper"]},pull:{items:[{group:"data",names:["config.toml","auth.json","prompts"]}]}},h=`${s.BOX_HOME}/.agentbox-example`,m={id:"example",aliases:[],hidden:!0,sessionName:"example",binary:"bash",install:{recipe:{kind:"exec",script:"true"},runAs:"root",postInstall:[...(0,s.agentDirPrelude)([h],"example")].join(" && ")},dockerVolume:"agentbox-example-config",staticPaths:[{hostHomeRel:[".agentbox-example"],boxDir:h}],credential:{boxRelPath:"auth.json",boxAbsPath:`${h}/auth.json`,hostBackup:(0,o.join)(a.STATE_DIR,"example-credentials.json"),cloudMountPath:`${s.BOX_CREDS_DIR}/example`,cloudSubpath:"example/",realShape:"nonempty-json"},forwardedEnvKeys:[],boxRunEnv:{},caps:{resume:!1,teleport:"stub",teleportStubReason:"The example agent is a seam canary with no conversation to teleport. Run `agentbox example` to start a fresh box.",activitySource:[]},pull:{items:[{group:"data",names:["auth.json"]}]}},f=`${s.BOX_HOME}/.openclaw`,g=`${f}/xdg`,b=`${s.BOX_HOME}/.config/openclaw`,x="/opt/agentbox/skills",y="/usr/local/share/agentbox/identity-skill.md",E=s.IDENTITY_RULES_SENTINEL,$="/etc/claude-code/CLAUDE.md",_="/workspace/.agentbox",k=`
|
|
2
2
|
const [skillDir, ctxPath, rawDirs, rawEntries, rawHooksEnabled] = process.argv.slice(2);
|
|
3
3
|
const read = (s) => {
|
|
4
4
|
try {
|
|
@@ -27,28 +27,37 @@ process.stdout.write(
|
|
|
27
27
|
},
|
|
28
28
|
}),
|
|
29
29
|
);
|
|
30
|
-
`;function O(e){return`'${e.replace(/'/g,"'\\''")}'`}var w=`${
|
|
30
|
+
`;function O(e){return`'${e.replace(/'/g,"'\\''")}'`}var w=`${f}/.agentbox-model-auth.sha256`,A=`
|
|
31
|
+
let j;
|
|
32
|
+
try { const s = require('fs').readFileSync(0, 'utf8'); j = JSON.parse(s.slice(s.indexOf('{'))); } catch { process.exit(1); }
|
|
33
|
+
process.exit(j?.plugin?.trust?.reason === 'trusted-official' ? 0 : 1);
|
|
34
|
+
`,S=`
|
|
31
35
|
const j = JSON.parse(require('fs').readFileSync(process.argv[1], 'utf8'));
|
|
32
36
|
process.exit(typeof j?.tokens?.refresh_token === 'string' && j.tokens.refresh_token.length > 0 ? 0 : 1);
|
|
33
|
-
`,
|
|
37
|
+
`,j={id:"openclaw",aliases:[],sessionName:"openclaw",binary:"openclaw",install:{recipe:{kind:"npm",package:"openclaw",allowScripts:!0},runAs:"root",postInstall:[...(0,s.agentDirPrelude)([f,g,`${s.BOX_HOME}/.config`]),`rm -rf ${b}`,`ln -sfn ${g} ${b}`,`chown -h ${s.BOX_USER}:${s.BOX_USER} ${b}`].join(" && ")},dockerVolume:"agentbox-openclaw-config",staticPaths:[{hostHomeRel:[".openclaw"],boxDir:f,exclude:["openclaw.json","openclaw.json.bak","config-journal-fingerprint.key",".agentbox-overlay.json",".agentbox-model-auth.sha256","exec-approvals.json*","state","migration","tmp"]},{hostHomeRel:[".config","openclaw"],boxDir:f,relocToSubpath:"xdg"}],modelAuth:{sources:[{kind:"agent",agent:"codex",label:"Your Codex login (ChatGPT subscription OAuth)"}],ingest:{kind:"serviceTask",task:"openclaw-model-auth"},promptOnCreate:!0},settings:[{key:"modelAuth",type:"enum-list",enumValues:["none","codex"],default:"none",description:"Which host model-provider logins a new OpenClaw box is seeded with, comma-separated. `codex` copies your Codex (ChatGPT) OAuth login into the box, where OpenClaw imports it and refreshes it independently from then on. `none` leaves model auth for you to configure in the box, and is only valid on its own. `--model-auth` overrides per create."}],forwardedEnvKeys:[],boxRunEnv:{OPENCLAW_WORKSPACE_DIR:"/workspace"},service:{name:"openclaw",command:"openclaw gateway",restart:"always",needs:["openclaw-render"],readyWhen:{http:`http://127.0.0.1:${String(18789)}/healthz`},expose:{port:18789,as:80},rejectsProxyHeaders:!0,repl:["openclaw","tui"],tasks:[{name:"openclaw-onboard",runOnce:"marker",command:"openclaw onboard --non-interactive --accept-risk --mode local --skip-channels --skip-health --no-install-daemon"},{name:"openclaw-model-auth",command:(n=(t=p.credential.boxAbsPath).slice(0,t.lastIndexOf("/")),`set -u
|
|
34
38
|
auth=${O(t)}
|
|
35
39
|
marker=${O(w)}
|
|
36
40
|
if [ ! -s "$auth" ]; then echo "openclaw-model-auth: no borrowed Codex login at $auth"; exit 0; fi
|
|
37
|
-
if ! node -e ${O(
|
|
41
|
+
if ! node -e ${O(S)} "$auth"; then echo "openclaw-model-auth: $auth is not a Codex ChatGPT login"; exit 0; fi
|
|
38
42
|
seen=$(sha256sum "$auth" | cut -d" " -f1)
|
|
43
|
+
codex_trusted() { openclaw plugins inspect codex --json 2>/dev/null | node -e ${O(A)}; }
|
|
44
|
+
if ! codex_trusted; then
|
|
45
|
+
echo "openclaw-model-auth: installing the @openclaw/codex plugin"
|
|
46
|
+
openclaw plugins install clawhub:@openclaw/codex --force || exit 0
|
|
47
|
+
fi
|
|
39
48
|
if [ -f "$marker" ] && [ "$(cat "$marker")" = "$seen" ]; then
|
|
40
49
|
echo "openclaw-model-auth: this Codex login is already imported"
|
|
41
50
|
exit 0
|
|
42
51
|
fi
|
|
43
|
-
if [ ! -d ${O(`${g}/extensions/codex`)} ]; then
|
|
44
|
-
echo "openclaw-model-auth: installing the @openclaw/codex plugin"
|
|
45
|
-
openclaw plugins install clawhub:@openclaw/codex || exit 0
|
|
46
|
-
fi
|
|
47
52
|
echo "openclaw-model-auth: importing the Codex login into the OpenClaw auth store"
|
|
48
53
|
if openclaw migrate apply codex --from ${O(n)} --include-secrets --item auth:openai --yes --no-backup --force; then
|
|
49
54
|
printf %s "$seen" > "$marker" && chmod 600 "$marker"
|
|
50
55
|
fi
|
|
51
|
-
|
|
56
|
+
if ! codex_trusted; then
|
|
57
|
+
echo "openclaw-model-auth: the @openclaw/codex plugin lost its install record; reinstalling"
|
|
58
|
+
openclaw plugins install clawhub:@openclaw/codex --force || true
|
|
59
|
+
fi
|
|
60
|
+
exit 0`),needs:["openclaw-onboard"]},{name:"openclaw-agentbox-env",command:["set -u",...[["/usr/local/share/agentbox/setup-guide.md","agentbox-setup"],[y,"agentbox-identity"]].flatMap(([e,t])=>[`if [ -f ${e} ]; then`,` D=${x}/${t}`,' (sudo -n mkdir -p "$D" 2>/dev/null || mkdir -p "$D") || true',` (sudo -n install -m 0644 ${e} "$D/SKILL.md" 2>/dev/null ||`,` install -m 0644 ${e} "$D/SKILL.md") || true`,"fi"]),`IDENTITY_NUDGE=${O("\n## Your identity is not portable yet\n\nThis workspace declares no `identity` replacement rules, so a bot spawned\nfrom it with `agentbox clone` would introduce itself with YOUR name and\nanswer to YOUR handle. On your first turn, follow the `agentbox-identity`\nskill once to write them, then carry on with whatever you were asked.\n")}`,`if [ -f ${$} ]; then`,` mkdir -p ${_} || true`,` TMP=${_}/AGENTS.md.agentbox.tmp`," {"," printf '%s\\n\\n' '<!-- agentbox:box-facts (generated every boot; edit AGENTS.md instead) -->'",` cat ${$}`,` if [ -f ${y} ] && ! grep -qs '${E}' /workspace/agentbox.yaml 2>/dev/null; then`," printf '%s' \"$IDENTITY_NUDGE\""," fi",` } > "$TMP" && mv "$TMP" ${_}/AGENTS.md || true`,"fi","if openclaw config validate >/dev/null 2>&1; then"," DIRS=$(openclaw config get 'skills.load.extraDirs' 2>/dev/null || true)"," ENTRIES=$(openclaw config get 'hooks.internal.entries' 2>/dev/null || true)"," HOOKS=$(openclaw config get 'hooks.internal.enabled' 2>/dev/null || true)"," PROG=/tmp/agentbox-openclaw-config-merge.cjs"," cat > \"$PROG\" <<'AGENTBOX_MERGE_EOF'",k.trim(),"AGENTBOX_MERGE_EOF",` node "$PROG" ${x} .agentbox/AGENTS.md "$DIRS" "$ENTRIES" "$HOOKS" |`," openclaw config patch --stdin >/dev/null || true",' rm -f "$PROG" || true',"fi","exit 0"].join("\n"),needs:["openclaw-model-auth"]},{name:"openclaw-render",command:"agentbox-ctl agent render openclaw",needs:["openclaw-agentbox-env"]}],urlFields:[{label:"token",command:["openclaw","dashboard","--json","--no-open"],jsonPath:"url",fromUrlFragment:"token",fragmentKey:"token"}]},configRender:{file:`${f}/openclaw.json`,overlayKey:"openclaw",applyCmd:"openclaw config patch --stdin",dryRunFlag:"--dry-run",validate:"openclaw config validate"},caps:{surface:"service",resume:!1,teleport:"stub",teleportStubReason:"OpenClaw is a gateway the box hosts, not a conversation you attach to. Open its Control UI with `agentbox openclaw url`.",activitySource:[]},clone:{drop:["AGENTS.md","USER.md"],render:["SOUL.md","IDENTITY.md"],perBoxCarry:[{src:"~/.agentbox/openclaw/{{AGENTBOX_BOX_NAME}}.env",dest:"~/.openclaw/.env",mode:384,optional:!0}]},pull:{categories:["agents"]},stateBackup:{exclude:["tmp"]}};function v(e){return`'${e.replace(/'/g,"'\\''")}'`}var P=`
|
|
52
61
|
const fs = require('fs');
|
|
53
62
|
const path = require('path');
|
|
54
63
|
const [seedPath, storePath, key] = process.argv.slice(1);
|
|
@@ -85,23 +94,23 @@ store[key] = {
|
|
|
85
94
|
};
|
|
86
95
|
fs.mkdirSync(path.dirname(storePath), { recursive: true });
|
|
87
96
|
fs.writeFileSync(storePath, JSON.stringify(store, null, 2), { mode: 0o600 });
|
|
88
|
-
`;function
|
|
89
|
-
seed=${
|
|
90
|
-
store=${
|
|
91
|
-
marker=${
|
|
92
|
-
if [ ! -s "$seed" ]; then echo ${
|
|
97
|
+
`;function R(e){let t=e.seedPath??p.credential.boxAbsPath,n=`${e.agentId}-model-auth`;return`set -u
|
|
98
|
+
seed=${v(t)}
|
|
99
|
+
store=${v(e.storePath)}
|
|
100
|
+
marker=${v(e.marker)}
|
|
101
|
+
if [ ! -s "$seed" ]; then echo ${v(`${n}: no borrowed Codex login at ${t}`)}; exit 0; fi
|
|
93
102
|
seen=$(sha256sum "$seed" | cut -d" " -f1)
|
|
94
103
|
if [ -f "$marker" ] && [ "$(cat "$marker")" = "$seen" ]; then
|
|
95
|
-
echo ${
|
|
104
|
+
echo ${v(`${n}: this Codex login is already imported`)}
|
|
96
105
|
exit 0
|
|
97
106
|
fi
|
|
98
|
-
if node -e ${
|
|
99
|
-
echo ${
|
|
107
|
+
if node -e ${v(P)} "$seed" "$store" ${v(e.providerKey)}; then
|
|
108
|
+
echo ${v(`${n}: imported the Codex login as ${e.providerKey}`)}
|
|
100
109
|
printf %s "$seen" > "$marker" && chmod 600 "$marker"
|
|
101
110
|
else
|
|
102
111
|
echo "${n}: $seed is not a usable Codex ChatGPT login"
|
|
103
112
|
fi
|
|
104
|
-
exit 0`}function
|
|
105
|
-
`,"utf8")}async function
|
|
113
|
+
exit 0`}function I(e){return`/run/agentbox/model-auth-${e}.sha256`}var T=`${s.BOX_HOME}/.local/share/opencode`,N={id:"opencode",aliases:[],sessionName:"opencode",binary:"opencode",install:{recipe:{kind:"npm",package:"opencode-ai"},runAs:"root",postInstall:[...(0,s.agentDirPrelude)([T],"opencode"),`ln -sfn ${s.BOX_CREDS_DIR}/opencode/auth.json ${T}/auth.json`,`chown -R ${s.BOX_USER}:${s.BOX_USER} ${s.BOX_HOME}/.local`,`chown -h ${s.BOX_USER}:${s.BOX_USER} ${T}/auth.json`].join(" && ")},dockerVolume:"agentbox-opencode-config",staticPaths:[{hostHomeRel:[".local","share","opencode"],boxDir:T,exclude:["storage","log","project","cache","bin","repos","snapshot","config"]},{hostHomeRel:[".config","opencode"],boxDir:T,relocToSubpath:"config"},{hostHomeRel:[".local","state","opencode"],boxDir:T,relocToSubpath:".state/opencode",update:!0,exclude:["locks"],stagedAs:"state"}],credential:{boxRelPath:"auth.json",boxAbsPath:`${T}/auth.json`,hostBackup:(0,o.join)(a.STATE_DIR,"opencode-credentials.json"),cloudMountPath:"/home/vscode/.agentbox-creds/opencode",cloudSubpath:"opencode/",realShape:"nonempty-json"},forwardedEnvKeys:["ANTHROPIC_API_KEY","OPENAI_API_KEY","OPENROUTER_API_KEY","GEMINI_API_KEY","GOOGLE_GENERATIVE_AI_API_KEY","GOOGLE_API_KEY","GROQ_API_KEY"],boxRunEnv:{OPENCODE_CONFIG_DIR:`${T}/config`,XDG_STATE_HOME:`${T}/.state`},seeds:[{bakedPath:"/usr/local/share/agentbox/opencode-agentbox-plugin.js",destRel:"config/plugins/agentbox-state.js",sharedAsset:"opencode-agentbox-plugin.js",label:"the agentbox-state plugin"}],caps:{resume:!1,teleport:"stub",teleportStubReason:"OpenCode session teleport is not yet supported in agentbox (sessions live in a multi-tenant SQLite DB at ~/.local/share/opencode/opencode.db; per-project extraction is tracked for a follow-up). Run `agentbox opencode` without -c / --resume to start a fresh session, or open an issue if you need this feature.",activitySource:["plugin"]},pull:{items:[{group:"data",names:["auth.json"]},{group:"config",names:["opencode.json","opencode.jsonc","agents","commands","modes","plugins","skills","tools","themes"]}]},modelAuth:{sources:[{kind:"agent",agent:"codex",label:"Your Codex login (ChatGPT subscription OAuth)"}],ingest:{kind:"command",name:"opencode-model-auth",command:R({agentId:"opencode",storePath:`${T}/auth.json`,providerKey:"openai",marker:I("opencode")})}},settings:[{key:"modelAuth",type:"enum-list",enumValues:["none","codex"],default:"none",description:"Which host model-provider logins a new opencode box is seeded with, comma-separated. `codex` copies your Codex (ChatGPT) OAuth login into the box and imports it as `openai`. `none` leaves model auth to the box, and is only valid on its own. `--model-auth` overrides per create."}]},D=`${s.BOX_HOME}/.pi/agent`,C={id:"pi",aliases:[],sessionName:"pi",binary:"pi",install:{recipe:{kind:"npm",package:"@earendil-works/pi-coding-agent"},runAs:"root",postInstall:['if [ "$(node -p \'process.versions.node.split(".")[0]\' 2>/dev/null || echo 0)" -lt 22 ]; then echo "agentbox: pi needs Node >= 22.19, but this box has $(node --version 2>/dev/null || echo none). Re-bake this provider\'s base (agentbox prepare --provider <name>) to get a newer Node." >&2; exit 65; fi',...(0,s.agentDirPrelude)([`${s.BOX_HOME}/.pi`,D],"pi"),`ln -sfn ${s.BOX_CREDS_DIR}/pi/auth.json ${D}/auth.json`,`chown -h ${s.BOX_USER}:${s.BOX_USER} ${D}/auth.json`].join(" && ")},dockerVolume:"agentbox-pi-config",staticPaths:[{hostHomeRel:[".pi","agent"],boxDir:D,exclude:["sessions","bin","models-store.json","trust.json"]}],credential:{boxRelPath:"auth.json",boxAbsPath:`${D}/auth.json`,hostBackup:(0,o.join)(a.STATE_DIR,"pi-credentials.json"),cloudMountPath:`${s.BOX_CREDS_DIR}/pi`,cloudSubpath:"pi/",realShape:"nonempty-json"},forwardedEnvKeys:["ANTHROPIC_API_KEY","OPENAI_API_KEY","GEMINI_API_KEY","OPENROUTER_API_KEY","XAI_API_KEY","GROQ_API_KEY","AI_GATEWAY_API_KEY","HF_TOKEN","AWS_BEARER_TOKEN_BEDROCK"],boxRunEnv:{PI_SKIP_VERSION_CHECK:"1"},seeds:[{bakedPath:"/usr/local/share/agentbox/pi-agentbox-extension.js",destRel:"extensions/agentbox-state.js",sharedAsset:"pi-agentbox-extension.js",label:"the agentbox-state extension"}],launchFlags:["-a"],caps:{resume:!0,teleport:"full",activitySource:["plugin"]},pull:{items:[{group:"data",names:["auth.json","settings.json","AGENTS.md","SYSTEM.md","APPEND_SYSTEM.md"]}],categories:["extensions","skills","prompts","themes"]},modelAuth:{sources:[{kind:"agent",agent:"codex",label:"Your Codex login (ChatGPT subscription OAuth)"}],ingest:{kind:"command",name:"pi-model-auth",command:R({agentId:"pi",storePath:`${D}/auth.json`,providerKey:"openai-codex",marker:I("pi")})}},settings:[{key:"modelAuth",type:"enum-list",enumValues:["none","codex"],default:"none",description:"Which host model-provider logins a new pi box is seeded with, comma-separated. `codex` copies your Codex (ChatGPT) OAuth login into the box and imports it as `openai-codex`. `none` leaves model auth to the box, and is only valid on its own. `--model-auth` overrides per create."}]},B=[1];function X(e){return B.includes(e)}var G={version:1,agents:[]},H=["id","aliases","sessionName","binary","install","dockerVolume","staticPaths","forwardedEnvKeys","boxRunEnv","caps"],U=["npm","script","exec"],K=["root","box-user"];function M(e){if(null===e||"object"!=typeof e)return"not an object";let t=H.filter(t=>void 0===e[t]);if(t.length>0)return`missing required field(s): ${t.join(", ")}`;if("string"!=typeof e.id||0===e.id.length)return"`id` must be a non-empty string";if(!Array.isArray(e.aliases))return"`aliases` must be an array";let n=function(e){if(null===e||"object"!=typeof e)return"`install` must be an object";let t=e.recipe;if(void 0===t||"object"!=typeof t||null===t)return'`install.recipe` is required (`{ kind: "npm" | "script" | "exec", … }`)';let n=t.kind;return"string"==typeof n&&U.includes(n)?"npm"===n&&"string"!=typeof t.package?"`install.recipe.package` is required for the npm recipe":"script"===n&&"string"!=typeof t.url?"`install.recipe.url` is required for the script recipe":"exec"===n&&"string"!=typeof t.script?"`install.recipe.script` is required for the exec recipe":"string"==typeof e.runAs&&K.includes(e.runAs)?null:`\`install.runAs\` must be one of ${K.join(", ")}`:`\`install.recipe.kind\` must be one of ${U.join(", ")}`}(e.install)??(void 0===e.credential?null:function(e){if(null===e||"object"!=typeof e)return"`credential` must be an object";if("string"!=typeof e.boxAbsPath||!e.boxAbsPath.startsWith("/"))return"`credential.boxAbsPath` must be an absolute in-box path";if("string"!=typeof e.hostBackup||!e.hostBackup.startsWith("/"))return"`credential.hostBackup` must be an absolute host path (the fan-out writes to it)";if("string"!=typeof e.cloudSubpath||!e.cloudSubpath.endsWith("/"))return"`credential.cloudSubpath` must be a sub-directory, ending in `/` (e.g. `myagent/`)";if("claude-oauth"!==e.realShape&&"nonempty-json"!==e.realShape)return"`credential.realShape` must be 'claude-oauth' or 'nonempty-json'";let t=e.freshness;if(void 0!==t){let e=t.jsonPath;if(!Array.isArray(e)||0===e.length||e.some(e=>"string"!=typeof e||0===e.length))return"`credential.freshness.jsonPath` must be a non-empty array of property names"}return null}(e.credential))??(void 0===e.clone?null:function(e){if(null===e||"object"!=typeof e)return"`clone` must be an object";for(let t of["drop","render"]){let n=e[t];if(void 0!==n){if(!Array.isArray(n)||n.some(e=>"string"!=typeof e||0===e.length))return`\`clone.${t}\` must be an array of non-empty workspace-relative paths`;for(let e of n)if(e.startsWith("/")||e.split("/").includes(".."))return`\`clone.${t}\` entries must be workspace-relative, without '..' (got "${e}")`}}let t=e.perBoxCarry;if(void 0!==t){if(!Array.isArray(t))return"`clone.perBoxCarry` must be an array";for(let[e,n]of t.entries()){if(null===n||"object"!=typeof n)return`\`clone.perBoxCarry[${e}]\` must be an object`;if("string"!=typeof n.src||!(n.src.startsWith("/")||n.src.startsWith("~/")))return`\`clone.perBoxCarry[${e}].src\` must be an absolute host path or start with '~/'`;if("string"!=typeof n.dest||!(n.dest.startsWith("/")||n.dest.startsWith("~/")))return`\`clone.perBoxCarry[${e}].dest\` must be an absolute in-box path or start with '~/'`;if(void 0!==n.mode&&"number"!=typeof n.mode)return`\`clone.perBoxCarry[${e}].mode\` must be a number (e.g. 0o600)`}}return null}(e.clone))??function(e){if(!Array.isArray(e))return"`staticPaths` must be an array";for(let[t,n]of e.entries()){if(null===n||"object"!=typeof n)return`\`staticPaths[${t}]\` must be an object`;if(!Array.isArray(n.hostHomeRel)||0===n.hostHomeRel.length||n.hostHomeRel.some(e=>"string"!=typeof e||0===e.length))return`\`staticPaths[${t}].hostHomeRel\` must be a non-empty array of non-empty path segments`;if("string"!=typeof n.boxDir||!n.boxDir.startsWith("/"))return`\`staticPaths[${t}].boxDir\` must be an absolute in-box path`}return null}(e.staticPaths);if(null!==n)return n;try{JSON.parse(JSON.stringify(e))}catch{return"not JSON-serializable"}return null}function L(e=a.AGENTS_FILE){try{var t;if(!(0,r.existsSync)(e))return{...G};return(t=JSON.parse((0,r.readFileSync)(e,"utf8")))&&1===t.version&&Array.isArray(t.agents)?t:{...G}}catch{return{...G}}}function F(e=a.AGENTS_FILE){let t=[];for(let n of L(e).agents)if(X(n.apiVersion))for(let e of Object.values(n.specs??{}))null===M(e)&&t.push(e);return t}async function Y(e){let t,n;try{t=await (0,i.readFile)(e,"utf8")}catch(e){if("ENOENT"===e.code)return{...G};throw e}try{n=JSON.parse(t)}catch{throw Error(`${e} is not valid JSON \u2014 fix or remove it before adding an agent`)}let o=n;if(!o||1!==o.version||!Array.isArray(o.agents))throw Error(`${e} is not a recognized agent registry \u2014 fix or remove it`);return o}async function V(e,t){await (0,i.mkdir)((0,o.dirname)(e),{recursive:!0}),await (0,i.writeFile)(e,`${JSON.stringify(t,null,2)}
|
|
114
|
+
`,"utf8")}async function W(e,t=a.AGENTS_FILE){let n=await Y(t);n.agents=[...n.agents.filter(t=>t.packageName!==e.packageName),e],await V(t,n)}async function J(e,t=a.AGENTS_FILE){let n=await Y(t),o=n.agents.length;return n.agents=n.agents.filter(t=>t.packageName!==e),n.agents.length!==o&&(await V(t,n),!0)}var q=[d,p,N,C,j,m],z=Q(q,F());function Q(e,t){let n=new Set(e.flatMap(e=>[e.id,...e.aliases]));return[...e,...t.filter(e=>![e.id,...e.aliases].some(e=>n.has(e)))]}function Z(){return z.filter(e=>!e.hidden)}e.s(["AGENTS_FILE_VERSION",0,1,"AGENT_SPECS",0,z,"BUILTIN_AGENT_SPECS",0,q,"SUPPORTED_AGENT_API_VERSIONS",0,B,"addAgentPluginRecord",0,W,"agentSpecProblem",0,M,"allAgentSpecs",0,function(){return Q(q,F())},"builtinAgentIds",0,function(){return q.map(e=>e.id)},"findAgentSpec",0,function(e){return z.find(t=>t.id===e||t.aliases.includes(e))},"isSupportedAgentApiVersion",0,X,"pluginAgentSpecs",0,F,"pluginForAgent",0,function(e,t=a.AGENTS_FILE){return L(t).agents.find(t=>e in(t.specs??{}))},"readAgentRegistrySync",0,L,"removeAgentPluginRecord",0,J,"visibleAgentIds",0,function(){return Z().map(e=>e.id)},"visibleAgentSpecs",0,Z])}];
|
|
106
115
|
|
|
107
116
|
//# sourceMappingURL=packages_agent-registry_dist_index_1ze3mqq.js.map
|