@madarco/agentbox 0.31.4 → 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.
Files changed (722) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist/_cloud-attach-6RKS3MAP.js +31 -0
  3. package/dist/{chunk-LR5RNEVO.js → chunk-27S7QLDF.js} +3 -3
  4. package/dist/{chunk-QT4MOS6R.js → chunk-2APGFWEU.js} +23 -23
  5. package/dist/{chunk-RUKTOHK7.js → chunk-3AYSA62C.js} +2 -2
  6. package/dist/{chunk-EXF4PLBN.js → chunk-3ISG5THX.js} +3 -3
  7. package/dist/{chunk-IFPTD73K.js → chunk-3L2DIPRM.js} +2 -2
  8. package/dist/{chunk-IQ6BQ2LX.js → chunk-4FOXMGJ7.js} +3 -3
  9. package/dist/{chunk-5UX2HAF4.js → chunk-5OKDSI6M.js} +43 -43
  10. package/dist/{chunk-KCDLAP5Q.js → chunk-66GAYIJZ.js} +3252 -936
  11. package/dist/chunk-66GAYIJZ.js.map +1 -0
  12. package/dist/{chunk-IF4VXKJK.js → chunk-6XMOBI5V.js} +3 -3
  13. package/dist/{chunk-OXBWZG2N.js → chunk-7QTBRHB7.js} +4 -4
  14. package/dist/{chunk-YSC4VY43.js → chunk-ANSPBIYG.js} +3 -3
  15. package/dist/{chunk-75JF44DH.js → chunk-AWI2TSWS.js} +2 -2
  16. package/dist/{chunk-2MBELUE6.js → chunk-CDRKQ5BH.js} +9 -9
  17. package/dist/{chunk-L567TKOK.js → chunk-CXAWPWGZ.js} +5 -5
  18. package/dist/{chunk-VWJBQGXD.js → chunk-EDJ6O6CI.js} +6 -6
  19. package/dist/{chunk-NKHRFR5G.js → chunk-GSMQL4IJ.js} +16 -16
  20. package/dist/chunk-GVNKIACA.js +223 -0
  21. package/dist/chunk-GVNKIACA.js.map +1 -0
  22. package/dist/{chunk-4Y365UYP.js → chunk-JWQYZ6V4.js} +2 -2
  23. package/dist/{chunk-AYREFYEF.js → chunk-KOTW7QQW.js} +4 -4
  24. package/dist/{chunk-BYZPRB7U.js → chunk-L4KBYI3I.js} +5 -5
  25. package/dist/{chunk-MJZPECVQ.js → chunk-M2DWTQRF.js} +2 -2
  26. package/dist/{chunk-PXH3DERD.js → chunk-MB2K74BI.js} +164 -2
  27. package/dist/chunk-MB2K74BI.js.map +1 -0
  28. package/dist/{chunk-GCS5XAPC.js → chunk-MI3V2MAE.js} +3 -3
  29. package/dist/{chunk-4LSLXBFN.js → chunk-MO3QJTVS.js} +6 -6
  30. package/dist/{chunk-AAMPHDB2.js → chunk-MPTE57BZ.js} +5 -5
  31. package/dist/{chunk-EP4IFSV5.js → chunk-PE5LPD23.js} +67 -24
  32. package/dist/chunk-PE5LPD23.js.map +1 -0
  33. package/dist/{chunk-M6VAID7T.js → chunk-QBVRWGXD.js} +2 -2
  34. package/dist/{chunk-4NO5MO2P.js → chunk-RIXW4HSE.js} +6 -6
  35. package/dist/{chunk-YL3VEQTS.js → chunk-S7LPQXR5.js} +5 -5
  36. package/dist/{chunk-CUIJ2PIN.js → chunk-TAZYSVLT.js} +26 -22
  37. package/dist/{chunk-CUIJ2PIN.js.map → chunk-TAZYSVLT.js.map} +1 -1
  38. package/dist/{chunk-QDVIMN57.js → chunk-TDPHZWJI.js} +4 -4
  39. package/dist/{chunk-IQMDGAMB.js → chunk-WLEGSKKE.js} +4 -4
  40. package/dist/{chunk-MBZ4UOWF.js → chunk-WTOG3CC6.js} +3 -3
  41. package/dist/{chunk-VQONUZE4.js → chunk-X6CO4WIX.js} +4 -4
  42. package/dist/{chunk-ENFWBFBI.js → chunk-XLJ4D4FI.js} +4 -4
  43. package/dist/{chunk-ZUTC2JZM.js → chunk-XNZ6UHTM.js} +27 -5
  44. package/dist/chunk-XNZ6UHTM.js.map +1 -0
  45. package/dist/{chunk-QWWDG5B7.js → chunk-XTNAIM7X.js} +6 -6
  46. package/dist/{chunk-X6SZPGL5.js → chunk-YNAJUTYC.js} +6 -6
  47. package/dist/{chunk-VOVRWIBC.js → chunk-YSACCMUB.js} +13 -13
  48. package/dist/{chunk-C67DVYWA.js → chunk-ZKOLV4ZN.js} +37 -2
  49. package/dist/chunk-ZKOLV4ZN.js.map +1 -0
  50. package/dist/{cli-KT5X4J74.js → cli-IFXU5XNZ.js} +8 -8
  51. package/dist/{cli-7JW54ZTA.js → cli-MZSWFSTW.js} +8 -8
  52. package/dist/{cli-7Z7BD23R.js → cli-O3WXOFNS.js} +7 -7
  53. package/dist/{cli-HFLU5QTD.js → cli-RQJUQJEP.js} +7 -7
  54. package/dist/{cli-XRF7WFE5.js → cli-ZGYSHJP7.js} +8 -8
  55. package/dist/cloud-backends.js +4 -4
  56. package/dist/{control-plane-DGLF4MBB.js → control-plane-3TII2JGM.js} +19 -19
  57. package/dist/{cp-hub-upload-7YESYCVS.js → cp-hub-upload-3W7Z4BMT.js} +6 -6
  58. package/dist/{custody-client-P7SCEDU2.js → custody-client-KYEZET6C.js} +4 -4
  59. package/dist/{deploy-hetzner-FOCNRRB2.js → deploy-hetzner-EO5PFKBG.js} +8 -8
  60. package/dist/{dist-MITAKWKQ.js → dist-3AR6L5MF.js} +7 -7
  61. package/dist/{dist-54VRDCUU.js → dist-4GHNQ2AK.js} +7 -7
  62. package/dist/{dist-63YBVZW4.js → dist-BFH537FO.js} +8 -8
  63. package/dist/{dist-TJJ6KBNZ.js → dist-ETGTZQUT.js} +255 -5
  64. package/dist/{dist-XSAPZOEG.js → dist-H2CSUDEI.js} +7 -7
  65. package/dist/{dist-CBPQZPQN.js → dist-IABCQB5D.js} +7 -7
  66. package/dist/{dist-2CAWJQT5.js → dist-JJZ3NZRO.js} +9 -5
  67. package/dist/{dist-E4VLIH3H.js → dist-RPBA2EL5.js} +7 -7
  68. package/dist/{dist-FHPNYDCF.js → dist-URWWHI3X.js} +8 -2
  69. package/dist/{dist-36WLI6E2.js → dist-V224SH3Z.js} +6 -6
  70. package/dist/{host-reach-drainer-XFLSMTSX.js → host-reach-drainer-NYN3YXHG.js} +2 -2
  71. package/dist/host-session-YP5RKV6T.js +29 -0
  72. package/dist/hub-OWUC4IGW.js +39 -0
  73. package/dist/{hub-adopt-IYZ3WXYN.js → hub-adopt-HYXFUPPO.js} +6 -6
  74. package/dist/{hub-api-client-WOZ2BQ6H.js → hub-api-client-BI3E37CF.js} +3 -3
  75. package/dist/{hub-docker-target-IQHX6OYX.js → hub-docker-target-6ODSK7ZE.js} +13 -13
  76. package/dist/index.js +1223 -229
  77. package/dist/index.js.map +1 -1
  78. package/dist/{plugin-update-2ACFHFUI.js → plugin-update-LI3QDA4K.js} +4 -4
  79. package/dist/prepare-MYFNDJPP.js +45 -0
  80. package/dist/prepared-custody-WSHX6XTQ.js +39 -0
  81. package/dist/{prepared-state-FO74QUCP-PZLOM6HD.js → prepared-state-FO74QUCP-M4Q2X3KN.js} +3 -3
  82. package/dist/{publish-credentials-TO5IIW2T.js → publish-credentials-FCEQSIPE.js} +8 -8
  83. package/dist/{registry-X33JZU6B.js → registry-GG23NEBF.js} +4 -4
  84. package/dist/relay-YUOIK3HN.js +22 -0
  85. package/dist/{remote-docker-share-YADHIHXV.js → remote-docker-share-4Z4VVUPG.js} +10 -10
  86. package/dist/remote-docker-share-4Z4VVUPG.js.map +1 -0
  87. package/dist/{tool-grant-push-7G2QAN3J.js → tool-grant-push-A2JYLJVF.js} +3 -3
  88. package/package.json +1 -1
  89. package/runtime/_shared/ctl.cjs +1026 -309
  90. package/runtime/digitalocean/ctl.cjs +1026 -309
  91. package/runtime/docker/packages/ctl/dist/bin.cjs +1026 -309
  92. package/runtime/e2b/ctl.cjs +1026 -309
  93. package/runtime/hetzner/ctl.cjs +1026 -309
  94. package/runtime/hub/apps/hub/.next/BUILD_ID +1 -1
  95. package/runtime/hub/apps/hub/.next/app-path-routes-manifest.json +24 -0
  96. package/runtime/hub/apps/hub/.next/build-manifest.json +3 -3
  97. package/runtime/hub/apps/hub/.next/routes-manifest.json +188 -0
  98. package/runtime/hub/apps/hub/.next/server/app/(auth)/signin/page_client-reference-manifest.js +1 -1
  99. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/[id]/answer/route.js +2 -2
  100. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/[id]/answer/route.js.nft.json +1 -1
  101. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/approvals/route.js.nft.json +1 -1
  102. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/[action]/route.js +4 -4
  103. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/[action]/route.js.nft.json +1 -1
  104. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/agent/route.js.nft.json +1 -1
  105. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/backup/route.js +2 -2
  106. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/backup/route.js.nft.json +1 -1
  107. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/branches/route.js.nft.json +1 -1
  108. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/checkpoint/route.js +2 -2
  109. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/checkpoint/route.js.nft.json +1 -1
  110. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/clone/route.js +2 -2
  111. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/clone/route.js.nft.json +1 -1
  112. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/[op]/route.js +4 -4
  113. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/[op]/route.js.nft.json +1 -1
  114. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/git/route.js.nft.json +1 -1
  115. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/logs/route.js.nft.json +1 -1
  116. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/open/route.js +2 -2
  117. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/open/route.js.nft.json +1 -1
  118. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/rename/route.js +2 -2
  119. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/rename/route.js.nft.json +1 -1
  120. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/route.js.nft.json +1 -1
  121. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/restart/route.js +2 -2
  122. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/restart/route.js.nft.json +1 -1
  123. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/services/route.js.nft.json +1 -1
  124. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/upload/route.js +2 -2
  125. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/upload/route.js.nft.json +1 -1
  126. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/vnc/route.js.nft.json +1 -1
  127. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/[id]/web/route.js.nft.json +1 -1
  128. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/route.js +4 -4
  129. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/boxes/route.js.nft.json +1 -1
  130. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/checkpoints/route.js.nft.json +1 -1
  131. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/custody/[...path]/route.js +3 -3
  132. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/bake/route.js.nft.json +1 -1
  133. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/[alias]/route.js.nft.json +1 -1
  134. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/route.js +2 -2
  135. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/hosts/route.js.nft.json +1 -1
  136. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/login-code/route.js +2 -2
  137. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/login-code/route.js.nft.json +1 -1
  138. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/logs/route.js.nft.json +1 -1
  139. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/[id]/route.js.nft.json +1 -1
  140. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/jobs/route.js.nft.json +1 -1
  141. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/attach/route/app-paths-manifest.json +3 -0
  142. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/attach/route/build-manifest.json +9 -0
  143. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/attach/route/server-reference-manifest.json +4 -0
  144. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/attach/route.js +9 -0
  145. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/attach/route.js.map +5 -0
  146. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/attach/route.js.nft.json +1 -0
  147. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/attach/route_client-reference-manifest.js +3 -0
  148. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/message/route/app-paths-manifest.json +3 -0
  149. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/message/route/build-manifest.json +9 -0
  150. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/message/route/server-reference-manifest.json +4 -0
  151. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/message/route.js +10 -0
  152. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/message/route.js.map +5 -0
  153. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/message/route.js.nft.json +1 -0
  154. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/message/route_client-reference-manifest.js +3 -0
  155. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/notes/route/app-paths-manifest.json +3 -0
  156. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/notes/route/build-manifest.json +9 -0
  157. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/notes/route/server-reference-manifest.json +4 -0
  158. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/notes/route.js +10 -0
  159. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/notes/route.js.map +5 -0
  160. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/notes/route.js.nft.json +1 -0
  161. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/notes/route_client-reference-manifest.js +3 -0
  162. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/resume/route/app-paths-manifest.json +3 -0
  163. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/resume/route/build-manifest.json +9 -0
  164. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/resume/route/server-reference-manifest.json +4 -0
  165. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/resume/route.js +9 -0
  166. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/resume/route.js.map +5 -0
  167. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/resume/route.js.nft.json +1 -0
  168. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/resume/route_client-reference-manifest.js +3 -0
  169. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/route/app-paths-manifest.json +3 -0
  170. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/route/build-manifest.json +9 -0
  171. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/route/server-reference-manifest.json +4 -0
  172. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/route.js +10 -0
  173. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/route.js.map +5 -0
  174. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/route.js.nft.json +1 -0
  175. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/route_client-reference-manifest.js +3 -0
  176. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/stop/route/app-paths-manifest.json +3 -0
  177. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/stop/route/build-manifest.json +9 -0
  178. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/stop/route/server-reference-manifest.json +4 -0
  179. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/stop/route.js +9 -0
  180. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/stop/route.js.map +5 -0
  181. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/stop/route.js.nft.json +1 -0
  182. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/[id]/stop/route_client-reference-manifest.js +3 -0
  183. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/detect/route/app-paths-manifest.json +3 -0
  184. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/detect/route/build-manifest.json +9 -0
  185. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/detect/route/server-reference-manifest.json +4 -0
  186. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/detect/route.js +10 -0
  187. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/detect/route.js.map +5 -0
  188. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/detect/route.js.nft.json +1 -0
  189. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/detect/route_client-reference-manifest.js +3 -0
  190. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/route/app-paths-manifest.json +3 -0
  191. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/route/build-manifest.json +9 -0
  192. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/route/server-reference-manifest.json +4 -0
  193. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/route.js +10 -0
  194. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/route.js.map +5 -0
  195. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/route.js.nft.json +1 -0
  196. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/managers/route_client-reference-manifest.js +3 -0
  197. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/open-targets/route.js.nft.json +1 -1
  198. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/bots/route.js.nft.json +1 -1
  199. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/branches/route.js.nft.json +1 -1
  200. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/create-preflight/route.js +2 -2
  201. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/create-preflight/route.js.nft.json +1 -1
  202. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/restore/route.js +2 -2
  203. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/restore/route.js.nft.json +1 -1
  204. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/route.js.nft.json +1 -1
  205. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/[id]/seed/route.js.nft.json +1 -1
  206. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/route.js +2 -2
  207. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/projects/route.js.nft.json +1 -1
  208. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/credentials/route.js +2 -2
  209. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/credentials/route.js.nft.json +1 -1
  210. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/prepare/route.js +2 -2
  211. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/prepare/route.js.nft.json +1 -1
  212. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/size-check/route.js +2 -2
  213. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/[id]/size-check/route.js.nft.json +1 -1
  214. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/providers/route.js.nft.json +1 -1
  215. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/prune/route.js +2 -2
  216. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/prune/route.js.nft.json +1 -1
  217. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/system/route.js.nft.json +1 -1
  218. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/tasks/route/app-paths-manifest.json +3 -0
  219. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/tasks/route/build-manifest.json +9 -0
  220. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/tasks/route/server-reference-manifest.json +4 -0
  221. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/tasks/route.js +10 -0
  222. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/tasks/route.js.map +5 -0
  223. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/tasks/route.js.nft.json +1 -0
  224. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/tasks/route_client-reference-manifest.js +3 -0
  225. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/route/app-paths-manifest.json +3 -0
  226. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/route/build-manifest.json +9 -0
  227. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/route/server-reference-manifest.json +4 -0
  228. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/route.js +9 -0
  229. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/route.js.map +5 -0
  230. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/route.js.nft.json +1 -0
  231. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/route_client-reference-manifest.js +3 -0
  232. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/sessions/route/app-paths-manifest.json +3 -0
  233. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/sessions/route/build-manifest.json +9 -0
  234. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/sessions/route/server-reference-manifest.json +4 -0
  235. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/sessions/route.js +9 -0
  236. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/sessions/route.js.map +5 -0
  237. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/sessions/route.js.nft.json +1 -0
  238. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/sessions/route_client-reference-manifest.js +3 -0
  239. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/start/route/app-paths-manifest.json +3 -0
  240. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/start/route/build-manifest.json +9 -0
  241. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/start/route/server-reference-manifest.json +4 -0
  242. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/start/route.js +10 -0
  243. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/start/route.js.map +5 -0
  244. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/start/route.js.nft.json +1 -0
  245. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/managers/start/route_client-reference-manifest.js +3 -0
  246. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rename/route/app-paths-manifest.json +3 -0
  247. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rename/route/build-manifest.json +9 -0
  248. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rename/route/server-reference-manifest.json +4 -0
  249. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rename/route.js +10 -0
  250. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rename/route.js.map +5 -0
  251. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rename/route.js.nft.json +1 -0
  252. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rename/route_client-reference-manifest.js +3 -0
  253. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rescan/route/app-paths-manifest.json +3 -0
  254. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rescan/route/build-manifest.json +9 -0
  255. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rescan/route/server-reference-manifest.json +4 -0
  256. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rescan/route.js +9 -0
  257. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rescan/route.js.map +5 -0
  258. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rescan/route.js.nft.json +1 -0
  259. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/rescan/route_client-reference-manifest.js +3 -0
  260. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/route/app-paths-manifest.json +3 -0
  261. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/route/build-manifest.json +9 -0
  262. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/route/server-reference-manifest.json +4 -0
  263. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/route.js +10 -0
  264. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/route.js.map +5 -0
  265. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/route.js.nft.json +1 -0
  266. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/route_client-reference-manifest.js +3 -0
  267. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/assign/route/app-paths-manifest.json +3 -0
  268. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/assign/route/build-manifest.json +9 -0
  269. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/assign/route/server-reference-manifest.json +4 -0
  270. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/assign/route.js +10 -0
  271. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/assign/route.js.map +5 -0
  272. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/assign/route.js.nft.json +1 -0
  273. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/assign/route_client-reference-manifest.js +3 -0
  274. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/done/route/app-paths-manifest.json +3 -0
  275. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/done/route/build-manifest.json +9 -0
  276. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/done/route/server-reference-manifest.json +4 -0
  277. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/done/route.js +9 -0
  278. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/done/route.js.map +5 -0
  279. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/done/route.js.nft.json +1 -0
  280. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/done/route_client-reference-manifest.js +3 -0
  281. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/route/app-paths-manifest.json +3 -0
  282. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/route/build-manifest.json +9 -0
  283. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/route/server-reference-manifest.json +4 -0
  284. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/route.js +10 -0
  285. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/route.js.map +5 -0
  286. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/route.js.nft.json +1 -0
  287. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/route_client-reference-manifest.js +3 -0
  288. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/unassign/route/app-paths-manifest.json +3 -0
  289. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/unassign/route/build-manifest.json +9 -0
  290. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/unassign/route/server-reference-manifest.json +4 -0
  291. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/unassign/route.js +9 -0
  292. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/unassign/route.js.map +5 -0
  293. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/unassign/route.js.nft.json +1 -0
  294. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/unassign/route_client-reference-manifest.js +3 -0
  295. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/assign/route/app-paths-manifest.json +3 -0
  296. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/assign/route/build-manifest.json +9 -0
  297. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/assign/route/server-reference-manifest.json +4 -0
  298. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/assign/route.js +10 -0
  299. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/assign/route.js.map +5 -0
  300. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/assign/route.js.nft.json +1 -0
  301. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/assign/route_client-reference-manifest.js +3 -0
  302. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/reorder/route/app-paths-manifest.json +3 -0
  303. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/reorder/route/build-manifest.json +9 -0
  304. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/reorder/route/server-reference-manifest.json +4 -0
  305. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/reorder/route.js +10 -0
  306. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/reorder/route.js.map +5 -0
  307. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/reorder/route.js.nft.json +1 -0
  308. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/reorder/route_client-reference-manifest.js +3 -0
  309. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/route/app-paths-manifest.json +3 -0
  310. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/route/build-manifest.json +9 -0
  311. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/route/server-reference-manifest.json +4 -0
  312. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/route.js +10 -0
  313. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/route.js.map +5 -0
  314. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/route.js.nft.json +1 -0
  315. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/tasks/route_client-reference-manifest.js +3 -0
  316. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/timeline/route/app-paths-manifest.json +3 -0
  317. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/timeline/route/build-manifest.json +9 -0
  318. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/timeline/route/server-reference-manifest.json +4 -0
  319. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/timeline/route.js +10 -0
  320. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/timeline/route.js.map +5 -0
  321. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/timeline/route.js.nft.json +1 -0
  322. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/[id]/timeline/route_client-reference-manifest.js +3 -0
  323. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/route/app-paths-manifest.json +3 -0
  324. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/route/build-manifest.json +9 -0
  325. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/route/server-reference-manifest.json +4 -0
  326. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/route.js +10 -0
  327. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/route.js.map +5 -0
  328. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/route.js.nft.json +1 -0
  329. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/api/v1/workspaces/route_client-reference-manifest.js +3 -0
  330. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page.js.nft.json +1 -1
  331. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page_client-reference-manifest.js +1 -1
  332. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page.js.nft.json +1 -1
  333. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page_client-reference-manifest.js +1 -1
  334. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/vnc/route.js.nft.json +1 -1
  335. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/web/route.js.nft.json +1 -1
  336. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/custody/page.js.nft.json +1 -1
  337. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/custody/page_client-reference-manifest.js +1 -1
  338. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page.js.nft.json +1 -1
  339. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  340. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page.js.nft.json +1 -1
  341. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page_client-reference-manifest.js +1 -1
  342. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page.js.nft.json +1 -1
  343. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page_client-reference-manifest.js +1 -1
  344. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/system/page.js.nft.json +1 -1
  345. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/system/page_client-reference-manifest.js +1 -1
  346. package/runtime/hub/apps/hub/.next/server/app/[...path]/route.js +1 -1
  347. package/runtime/hub/apps/hub/.next/server/app/[...path]/route.js.nft.json +1 -1
  348. package/runtime/hub/apps/hub/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  349. package/runtime/hub/apps/hub/.next/server/app/_global-error.html +1 -1
  350. package/runtime/hub/apps/hub/.next/server/app/_global-error.rsc +1 -1
  351. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  352. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  353. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  354. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  355. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  356. package/runtime/hub/apps/hub/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  357. package/runtime/hub/apps/hub/.next/server/app-paths-manifest.json +24 -0
  358. package/runtime/hub/apps/hub/.next/server/chunks/00je_(dashboard)_api_v1_workspaces_[id]_tasks_[taskId]_assign_route_actions_1sufsej.js +3 -0
  359. package/runtime/hub/apps/hub/.next/server/chunks/00je_(dashboard)_api_v1_workspaces_[id]_tasks_[taskId]_done_route_actions_216dixx.js +3 -0
  360. 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
  361. 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
  362. package/runtime/hub/apps/hub/.next/server/chunks/05v5_app_(dashboard)_api_v1_workspaces_[id]_managers_sessions_route_actions_16dksub.js +3 -0
  363. package/runtime/hub/apps/hub/.next/server/chunks/05v5_app_(dashboard)_api_v1_workspaces_[id]_managers_start_route_actions_1g-vmis.js +3 -0
  364. package/runtime/hub/apps/hub/.next/server/chunks/05v5_app_(dashboard)_api_v1_workspaces_[id]_tasks_[taskId]_route_actions_03oih6y.js +3 -0
  365. package/runtime/hub/apps/hub/.next/server/chunks/05v5_app_(dashboard)_api_v1_workspaces_[id]_tasks_assign_route_actions_196zwo9.js +3 -0
  366. package/runtime/hub/apps/hub/.next/server/chunks/05v5_app_(dashboard)_api_v1_workspaces_[id]_tasks_reorder_route_actions_1zkcfk-.js +3 -0
  367. package/runtime/hub/apps/hub/.next/server/chunks/0ssw__next-internal_server_app_(dashboard)_api_v1_workspaces_route_actions_12a7_y8.js +3 -0
  368. package/runtime/hub/apps/hub/.next/server/chunks/0web_next-internal_server_app_(dashboard)_api_v1_managers_[id]_route_actions_07cpyb_.js +3 -0
  369. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_managers_[id]_attach_route_actions_0o-khw8.js +3 -0
  370. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_managers_[id]_message_route_actions_0rjcqe5.js +3 -0
  371. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_managers_[id]_notes_route_actions_1-mf4r_.js +3 -0
  372. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_managers_[id]_resume_route_actions_0-cm1mu.js +3 -0
  373. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_managers_[id]_stop_route_actions_16nrl1r.js +3 -0
  374. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_managers_detect_route_actions_1sdbs-_.js +3 -0
  375. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_workspaces_[id]_managers_route_actions_1sxymv0.js +3 -0
  376. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_workspaces_[id]_rename_route_actions_0df5zi2.js +3 -0
  377. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_workspaces_[id]_rescan_route_actions_1yra_w8.js +3 -0
  378. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_workspaces_[id]_route_actions_1f56n_0.js +3 -0
  379. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_workspaces_[id]_tasks_route_actions_1t-6quw.js +3 -0
  380. package/runtime/hub/apps/hub/.next/server/chunks/1jcg_server_app_(dashboard)_api_v1_workspaces_[id]_timeline_route_actions_0pbxblt.js +3 -0
  381. package/runtime/hub/apps/hub/.next/server/chunks/1viy_api_v1_workspaces_[id]_tasks_[taskId]_unassign_route_actions_18a1p_r.js +3 -0
  382. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0-c97gb._.js +1 -1
  383. package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__0spnud2._.js → [root-of-the-server]__0-kl55b._.js} +1 -1
  384. package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__028ifqb._.js → [root-of-the-server]__0-xlf9z._.js} +2 -2
  385. package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__074mxl5._.js → [root-of-the-server]__0004tsz._.js} +2 -2
  386. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__00bupbc._.js +1 -1
  387. package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__1cpr4qy._.js → [root-of-the-server]__0126167._.js} +1 -1
  388. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__01fy5q0._.js +1 -1
  389. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__02c077x._.js +3 -0
  390. package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__1ta1gr1._.js → [root-of-the-server]__02sueng._.js} +1 -1
  391. package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__0nndlre._.js → [root-of-the-server]__04-gm8c._.js} +2 -2
  392. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__05uinnp._.js +1 -1
  393. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__06wy8zz._.js +3 -0
  394. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__071c-t4._.js +3 -0
  395. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__08jg8w8._.js +1 -1
  396. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__09059m-._.js +1 -1
  397. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__092y7_z._.js +1 -1
  398. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__09ti2-t._.js +3 -0
  399. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__09y4pdw._.js +3 -0
  400. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0_mog_h._.js +1 -1
  401. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0a689u5._.js +3 -0
  402. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0a8ere2._.js +3 -0
  403. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0bzqrje._.js +3 -0
  404. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0c_r3oe._.js +3 -0
  405. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0cdoz9i._.js +1 -1
  406. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0cmu4sk._.js +1 -1
  407. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0cxjxz0._.js +1 -1
  408. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0d27tlu._.js +3 -0
  409. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0d3fx1z._.js +3 -0
  410. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0dm5oqm._.js +1 -1
  411. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0dy5g2k._.js +1 -1
  412. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0e1uaxg._.js +1 -1
  413. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0e6_t-d._.js +3 -0
  414. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ets4cd._.js +1 -1
  415. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0f2u0ul._.js +1 -1
  416. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0f9p_4f._.js +1 -1
  417. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0f_jmq2._.js +1 -1
  418. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0fksz_r._.js +1 -1
  419. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0fpygqn._.js +3 -0
  420. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0gym-rp._.js +1 -1
  421. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0hhlb2_._.js +1 -1
  422. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0i9phow._.js +1 -1
  423. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ikyoac._.js +1 -1
  424. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0j72bti._.js +1 -1
  425. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0jb371p._.js +1 -1
  426. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0jq6cdw._.js +3 -0
  427. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0jt1d2s._.js +3 -0
  428. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0kcw8t0._.js +1 -1
  429. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0kdt9-i._.js +1 -1
  430. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0l27vs0._.js +1 -1
  431. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0lc-j_n._.js +3 -0
  432. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0lna-vq._.js +3 -0
  433. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0m5woxc._.js +1 -1
  434. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0mi9xib._.js +3 -0
  435. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0muy7eg._.js +3 -0
  436. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0nn0_b5._.js +3 -0
  437. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0no30or._.js +3 -0
  438. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0o3sjtx._.js +1 -1
  439. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0onk5r0._.js +1 -1
  440. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0pik2ie._.js +3 -0
  441. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0qde3vr._.js +1 -1
  442. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0qt_r6a._.js +3 -0
  443. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ry8baf._.js +1 -1
  444. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0sg4y_2._.js +3 -0
  445. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0sgjn2j._.js +1 -1
  446. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0st6oln._.js +1 -1
  447. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0t0p64l._.js +1 -1
  448. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0tbl11-._.js +3 -0
  449. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ve_tqz._.js +1 -1
  450. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0w4smfx._.js +3 -0
  451. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0wo4sqj._.js +1 -1
  452. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0wujjkl._.js +3 -0
  453. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0xbu3yj._.js +3 -0
  454. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0xl1-w6._.js +1 -1
  455. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0yct1tu._.js +1 -1
  456. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0yg67t0._.js +1 -1
  457. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0ykw5oe._.js +3 -0
  458. package/runtime/hub/apps/hub/.next/server/chunks/{[root-of-the-server]__1c1rcl-._.js → [root-of-the-server]__0zznyx2._.js} +2 -2
  459. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1--u2xl._.js +3 -0
  460. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1-8sj4i._.js +1 -1
  461. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__10kmcrt._.js +3 -0
  462. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__10l_-cd._.js +3 -0
  463. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__10yfcvu._.js +1 -1
  464. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__112hqrh._.js +3 -0
  465. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__11c-21i._.js +3 -0
  466. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__11qbpq8._.js +3 -0
  467. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__11s1mrd._.js +1 -1
  468. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__128w1nz._.js +3 -0
  469. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__12b2kuv._.js +1 -1
  470. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__12gbq5m._.js +1 -1
  471. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__13nfpq5._.js +3 -0
  472. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__13vl4-h._.js +1 -1
  473. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__153b7kv._.js +1 -1
  474. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__157kmse._.js +1 -1
  475. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__16695dw._.js +1 -1
  476. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__166_uek._.js +3 -0
  477. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__16o0ij7._.js +1 -1
  478. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__175lucf._.js +1 -1
  479. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__17p53e3._.js +3 -0
  480. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__17y9pmx._.js +3 -0
  481. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__18ec5_t._.js +3 -0
  482. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__18xpvkc._.js +1 -1
  483. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1925hyw._.js +3 -0
  484. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__19ew1r2._.js +3 -0
  485. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__19grunx._.js +1 -1
  486. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1_4v0mh._.js +3 -0
  487. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1_cbcl1._.js +1 -1
  488. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1_wb2uh._.js +3 -0
  489. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1_xgm2e._.js +3 -0
  490. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1an6-yb._.js +3 -0
  491. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1c0ex8m._.js +1 -1
  492. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1c1e08-._.js +3 -0
  493. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1c9f4uu._.js +1 -1
  494. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ci8hc2._.js +1 -1
  495. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1cs6d52._.js +3 -0
  496. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1d60scp._.js +3 -0
  497. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1dicjoc._.js +3 -0
  498. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1diipl4._.js +3 -0
  499. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1dp2exz._.js +1 -1
  500. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1epnstn._.js +1 -1
  501. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1fjnz2l._.js +3 -0
  502. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1g5wnt2._.js +1 -1
  503. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1g9v7bq._.js +1 -1
  504. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1gon0_4._.js +3 -0
  505. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1h_59cs._.js +1 -1
  506. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1h_q3sn._.js +3 -0
  507. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1hlugb4._.js +1 -1
  508. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1hux-70._.js +1 -1
  509. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1i-7bnu._.js +3 -0
  510. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1i_el2y._.js +3 -0
  511. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1j6clag._.js +1 -1
  512. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1k6q17t._.js +3 -0
  513. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1khvg39._.js +1 -1
  514. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1lx9lyn._.js +3 -0
  515. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1m36v6k._.js +1 -1
  516. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1mgu19x._.js +3 -0
  517. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1mhyrr5._.js +3 -0
  518. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1mk_lpu._.js +3 -0
  519. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1mt32fu._.js +1 -1
  520. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1n1_2tw._.js +1 -1
  521. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1na4sdw._.js +3 -0
  522. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ntihlm._.js +3 -0
  523. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1odu62n._.js +3 -0
  524. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1q6xrlt._.js +2 -2
  525. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1r4x1-y._.js +3 -0
  526. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1rjs_x0._.js +1 -1
  527. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1rxud0j._.js +1 -1
  528. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1s5app0._.js +1 -1
  529. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1sjz59l._.js +3 -0
  530. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1slo4q_._.js +1 -1
  531. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1thrazp._.js +3 -0
  532. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1twtnwr._.js +1 -1
  533. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1txvsbk._.js +3 -0
  534. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1uch-60._.js +1 -1
  535. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1um2jum._.js +3 -0
  536. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1vnnuo1._.js +1 -1
  537. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1wegvep._.js +3 -0
  538. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1wi5roz._.js +1 -1
  539. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1xa9oiv._.js +3 -0
  540. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1ypmy86._.js +3 -0
  541. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1zml9me._.js +1 -1
  542. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1zrf_a6._.js +1 -1
  543. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__2019yzl._.js +3 -0
  544. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__20jyxyo._.js +2 -2
  545. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__20ybhif._.js +1 -1
  546. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__20zl5fr._.js +1 -1
  547. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__212dyoi._.js +1 -1
  548. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__218oup-._.js +1 -1
  549. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__21abvx9._.js +3 -0
  550. package/runtime/hub/apps/hub/.next/server/chunks/_0907rw0._.js +2 -1
  551. package/runtime/hub/apps/hub/.next/server/chunks/_0mcxq5g._.js +1 -1
  552. package/runtime/hub/apps/hub/.next/server/chunks/_0vg6gvw._.js +41 -41
  553. package/runtime/hub/apps/hub/.next/server/chunks/apps_hub_app_(dashboard)_api_v1_lib_openapi_ts_1yokmzt._.js +1 -1
  554. package/runtime/hub/apps/hub/.next/server/chunks/apps_hub_app_(dashboard)_api_v1_lib_validate_ts_16dhbzz._.js +1 -1
  555. package/runtime/hub/apps/hub/.next/server/chunks/packages_relay_dist_control-plane_03a-9aj.js +6 -6
  556. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__03-x9xy._.js +1 -1
  557. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__1jqga8h._.js +1 -1
  558. package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0r2xlss._.js +2 -1
  559. package/runtime/hub/apps/hub/.next/server/chunks/ssr/_14-qzbg._.js +26 -26
  560. package/runtime/hub/apps/hub/.next/server/chunks/ssr/packages_relay_dist_control-plane_0ve-wz4.js +1 -1
  561. package/runtime/hub/apps/hub/.next/server/functions-config-manifest.json +24 -0
  562. package/runtime/hub/apps/hub/.next/server/middleware-build-manifest.js +3 -3
  563. package/runtime/hub/apps/hub/.next/server/pages/500.html +1 -1
  564. package/runtime/hub/apps/hub/.next/static/chunks/{31e1wjin30i__.css → 03_fxfc3849ms.css} +1 -1
  565. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/boxes/[id]/[action]/route.ts +4 -2
  566. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/boxes/[id]/git/[op]/route.ts +6 -4
  567. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/boxes/route.ts +2 -1
  568. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/lib/actor.ts +48 -0
  569. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/lib/envelope.ts +5 -2
  570. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/lib/openapi.ts +1687 -52
  571. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/lib/validate.ts +527 -1
  572. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/managers/[id]/attach/route.ts +26 -0
  573. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/managers/[id]/message/route.ts +34 -0
  574. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/managers/[id]/notes/route.ts +26 -0
  575. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/managers/[id]/resume/route.ts +26 -0
  576. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/managers/[id]/route.ts +34 -0
  577. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/managers/[id]/stop/route.ts +23 -0
  578. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/managers/detect/route.ts +33 -0
  579. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/managers/route.ts +27 -0
  580. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/tasks/route.ts +30 -0
  581. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/managers/route.ts +19 -0
  582. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/managers/sessions/route.ts +22 -0
  583. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/managers/start/route.ts +61 -0
  584. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/rename/route.ts +25 -0
  585. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/rescan/route.ts +20 -0
  586. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/route.ts +34 -0
  587. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/assign/route.ts +33 -0
  588. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/done/route.ts +23 -0
  589. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/route.ts +54 -0
  590. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/tasks/[taskId]/unassign/route.ts +25 -0
  591. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/tasks/assign/route.ts +34 -0
  592. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/tasks/reorder/route.ts +33 -0
  593. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/tasks/route.ts +59 -0
  594. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/[id]/timeline/route.ts +25 -0
  595. package/runtime/hub/apps/hub/app/(dashboard)/api/v1/workspaces/route.ts +31 -0
  596. package/runtime/hub/apps/hub/{chunk-7JBH42LK.js → chunk-BR4WVGWJ.js} +2 -2
  597. package/runtime/hub/apps/hub/{chunk-AIFVVQPX.js → chunk-EVB2OTLU.js} +3311 -1031
  598. package/runtime/hub/apps/hub/{chunk-SM2XYDPL.js → chunk-FBNAIUXZ.js} +36 -1
  599. package/runtime/hub/apps/hub/{chunk-F6GOERHP.js → chunk-G2AEPH7C.js} +3 -3
  600. package/runtime/hub/apps/hub/{chunk-7IIG6MIB.js → chunk-JX5JUFSR.js} +9 -9
  601. package/runtime/hub/apps/hub/{chunk-AAF4CYVH.js → chunk-MD2UNTZR.js} +5 -5
  602. package/runtime/hub/apps/hub/{dist-DS5LGBGK.js → dist-3LDUYWPK.js} +7 -1
  603. package/runtime/hub/apps/hub/{dist-MQADLEEQ.js → dist-CJ6QFUFV.js} +4 -4
  604. package/runtime/hub/apps/hub/{dist-H7NIUVBD.js → dist-GGLWLMY6.js} +5 -5
  605. package/runtime/hub/apps/hub/{dist-YG4RVC24.js → dist-HLLYJGIT.js} +5 -5
  606. package/runtime/hub/apps/hub/{dist-VENYRIRW.js → dist-IIQU4I42.js} +4 -4
  607. package/runtime/hub/apps/hub/{dist-LV6CHJVA.js → dist-UFMCOK3W.js} +4 -4
  608. package/runtime/hub/apps/hub/{dist-BKCL4HAA.js → dist-XUNBQ4WM.js} +4 -4
  609. package/runtime/hub/apps/hub/{dist-YOTRYCRK.js → dist-Y2263LMY.js} +7 -3
  610. package/runtime/hub/apps/hub/{dist-RJBPZWSZ.js → dist-YV4M6NJO.js} +4 -4
  611. package/runtime/hub/apps/hub/{hub-worker-DLFLGKCV.js → hub-worker-LJYEEAJL.js} +6 -6
  612. package/runtime/hub/apps/hub/lib/backend/background.ts +19 -0
  613. package/runtime/hub/apps/hub/lib/backend/box-facts.ts +97 -0
  614. package/runtime/hub/apps/hub/lib/backend/box-prs.ts +213 -0
  615. package/runtime/hub/apps/hub/lib/backend/deps.ts +99 -0
  616. package/runtime/hub/apps/hub/lib/backend/errors.ts +7 -0
  617. package/runtime/hub/apps/hub/lib/backend/github-prs.ts +302 -0
  618. package/runtime/hub/apps/hub/lib/backend/managers.ts +748 -0
  619. package/runtime/hub/apps/hub/lib/backend/timeline-lanes.ts +150 -0
  620. package/runtime/hub/apps/hub/lib/backend/timeline.ts +611 -0
  621. package/runtime/hub/apps/hub/lib/backend/workspaces.ts +439 -0
  622. package/runtime/hub/apps/hub/lib/boxes/backend-types.ts +355 -10
  623. package/runtime/hub/apps/hub/lib/boxes/postgres-source.ts +3 -0
  624. package/runtime/hub/apps/hub/lib/boxes/source.ts +18 -1
  625. package/runtime/hub/apps/hub/lib/boxes/types.ts +66 -0
  626. package/runtime/hub/apps/hub/lib/hub-backend.ts +114 -7
  627. package/runtime/hub/apps/hub/{prepared-state-FO74QUCP-FZ6PT4LA.js → prepared-state-FO74QUCP-75UBPW5I.js} +2 -2
  628. package/runtime/hub/apps/hub/server.js +2032 -163
  629. package/runtime/hub/apps/hub/test/backend-managers-background.test.ts +336 -0
  630. package/runtime/hub/apps/hub/test/backend-managers.test.ts +493 -0
  631. package/runtime/hub/apps/hub/test/backend-workspaces.test.ts +208 -0
  632. package/runtime/hub/apps/hub/test/box-prs.test.ts +198 -0
  633. package/runtime/hub/apps/hub/test/timeline-lanes.test.ts +261 -0
  634. package/runtime/hub/apps/hub/test/timeline.test.ts +1185 -0
  635. package/runtime/hub/apps/hub/test/validate.test.ts +252 -0
  636. package/runtime/hub/apps/hub/tsconfig.tsbuildinfo +1 -1
  637. package/runtime/relay/bin.cjs +1399 -616
  638. package/runtime/vercel/ctl.cjs +1026 -309
  639. package/share/host-skills/agentbox-info/SKILL.md +25 -4
  640. package/dist/_cloud-attach-B3BCOZ7U.js +0 -31
  641. package/dist/chunk-C67DVYWA.js.map +0 -1
  642. package/dist/chunk-EP4IFSV5.js.map +0 -1
  643. package/dist/chunk-KCDLAP5Q.js.map +0 -1
  644. package/dist/chunk-PXH3DERD.js.map +0 -1
  645. package/dist/chunk-ZUTC2JZM.js.map +0 -1
  646. package/dist/hub-OMGLWQEV.js +0 -39
  647. package/dist/prepare-OOZF37J6.js +0 -45
  648. package/dist/prepared-custody-E7CSZJ6V.js +0 -39
  649. package/dist/relay-7D5NOFKS.js +0 -22
  650. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__00o_3sf._.js +0 -3
  651. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__08xwxyo._.js +0 -3
  652. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1-mtsr6._.js +0 -3
  653. /package/dist/{_cloud-attach-B3BCOZ7U.js.map → _cloud-attach-6RKS3MAP.js.map} +0 -0
  654. /package/dist/{chunk-LR5RNEVO.js.map → chunk-27S7QLDF.js.map} +0 -0
  655. /package/dist/{chunk-QT4MOS6R.js.map → chunk-2APGFWEU.js.map} +0 -0
  656. /package/dist/{chunk-RUKTOHK7.js.map → chunk-3AYSA62C.js.map} +0 -0
  657. /package/dist/{chunk-EXF4PLBN.js.map → chunk-3ISG5THX.js.map} +0 -0
  658. /package/dist/{chunk-IFPTD73K.js.map → chunk-3L2DIPRM.js.map} +0 -0
  659. /package/dist/{chunk-IQ6BQ2LX.js.map → chunk-4FOXMGJ7.js.map} +0 -0
  660. /package/dist/{chunk-5UX2HAF4.js.map → chunk-5OKDSI6M.js.map} +0 -0
  661. /package/dist/{chunk-IF4VXKJK.js.map → chunk-6XMOBI5V.js.map} +0 -0
  662. /package/dist/{chunk-OXBWZG2N.js.map → chunk-7QTBRHB7.js.map} +0 -0
  663. /package/dist/{chunk-YSC4VY43.js.map → chunk-ANSPBIYG.js.map} +0 -0
  664. /package/dist/{chunk-75JF44DH.js.map → chunk-AWI2TSWS.js.map} +0 -0
  665. /package/dist/{chunk-2MBELUE6.js.map → chunk-CDRKQ5BH.js.map} +0 -0
  666. /package/dist/{chunk-L567TKOK.js.map → chunk-CXAWPWGZ.js.map} +0 -0
  667. /package/dist/{chunk-VWJBQGXD.js.map → chunk-EDJ6O6CI.js.map} +0 -0
  668. /package/dist/{chunk-NKHRFR5G.js.map → chunk-GSMQL4IJ.js.map} +0 -0
  669. /package/dist/{chunk-4Y365UYP.js.map → chunk-JWQYZ6V4.js.map} +0 -0
  670. /package/dist/{chunk-AYREFYEF.js.map → chunk-KOTW7QQW.js.map} +0 -0
  671. /package/dist/{chunk-BYZPRB7U.js.map → chunk-L4KBYI3I.js.map} +0 -0
  672. /package/dist/{chunk-MJZPECVQ.js.map → chunk-M2DWTQRF.js.map} +0 -0
  673. /package/dist/{chunk-GCS5XAPC.js.map → chunk-MI3V2MAE.js.map} +0 -0
  674. /package/dist/{chunk-4LSLXBFN.js.map → chunk-MO3QJTVS.js.map} +0 -0
  675. /package/dist/{chunk-AAMPHDB2.js.map → chunk-MPTE57BZ.js.map} +0 -0
  676. /package/dist/{chunk-M6VAID7T.js.map → chunk-QBVRWGXD.js.map} +0 -0
  677. /package/dist/{chunk-4NO5MO2P.js.map → chunk-RIXW4HSE.js.map} +0 -0
  678. /package/dist/{chunk-YL3VEQTS.js.map → chunk-S7LPQXR5.js.map} +0 -0
  679. /package/dist/{chunk-QDVIMN57.js.map → chunk-TDPHZWJI.js.map} +0 -0
  680. /package/dist/{chunk-IQMDGAMB.js.map → chunk-WLEGSKKE.js.map} +0 -0
  681. /package/dist/{chunk-MBZ4UOWF.js.map → chunk-WTOG3CC6.js.map} +0 -0
  682. /package/dist/{chunk-VQONUZE4.js.map → chunk-X6CO4WIX.js.map} +0 -0
  683. /package/dist/{chunk-ENFWBFBI.js.map → chunk-XLJ4D4FI.js.map} +0 -0
  684. /package/dist/{chunk-QWWDG5B7.js.map → chunk-XTNAIM7X.js.map} +0 -0
  685. /package/dist/{chunk-X6SZPGL5.js.map → chunk-YNAJUTYC.js.map} +0 -0
  686. /package/dist/{chunk-VOVRWIBC.js.map → chunk-YSACCMUB.js.map} +0 -0
  687. /package/dist/{cli-7JW54ZTA.js.map → cli-IFXU5XNZ.js.map} +0 -0
  688. /package/dist/{cli-7Z7BD23R.js.map → cli-MZSWFSTW.js.map} +0 -0
  689. /package/dist/{cli-HFLU5QTD.js.map → cli-O3WXOFNS.js.map} +0 -0
  690. /package/dist/{cli-KT5X4J74.js.map → cli-RQJUQJEP.js.map} +0 -0
  691. /package/dist/{cli-XRF7WFE5.js.map → cli-ZGYSHJP7.js.map} +0 -0
  692. /package/dist/{control-plane-DGLF4MBB.js.map → control-plane-3TII2JGM.js.map} +0 -0
  693. /package/dist/{cp-hub-upload-7YESYCVS.js.map → cp-hub-upload-3W7Z4BMT.js.map} +0 -0
  694. /package/dist/{custody-client-P7SCEDU2.js.map → custody-client-KYEZET6C.js.map} +0 -0
  695. /package/dist/{deploy-hetzner-FOCNRRB2.js.map → deploy-hetzner-EO5PFKBG.js.map} +0 -0
  696. /package/dist/{dist-2CAWJQT5.js.map → dist-3AR6L5MF.js.map} +0 -0
  697. /package/dist/{dist-54VRDCUU.js.map → dist-4GHNQ2AK.js.map} +0 -0
  698. /package/dist/{dist-36WLI6E2.js.map → dist-BFH537FO.js.map} +0 -0
  699. /package/dist/{dist-63YBVZW4.js.map → dist-ETGTZQUT.js.map} +0 -0
  700. /package/dist/{dist-CBPQZPQN.js.map → dist-H2CSUDEI.js.map} +0 -0
  701. /package/dist/{dist-FHPNYDCF.js.map → dist-IABCQB5D.js.map} +0 -0
  702. /package/dist/{dist-MITAKWKQ.js.map → dist-JJZ3NZRO.js.map} +0 -0
  703. /package/dist/{dist-E4VLIH3H.js.map → dist-RPBA2EL5.js.map} +0 -0
  704. /package/dist/{dist-TJJ6KBNZ.js.map → dist-URWWHI3X.js.map} +0 -0
  705. /package/dist/{dist-XSAPZOEG.js.map → dist-V224SH3Z.js.map} +0 -0
  706. /package/dist/{host-reach-drainer-XFLSMTSX.js.map → host-reach-drainer-NYN3YXHG.js.map} +0 -0
  707. /package/dist/{hub-OMGLWQEV.js.map → host-session-YP5RKV6T.js.map} +0 -0
  708. /package/dist/{hub-adopt-IYZ3WXYN.js.map → hub-OWUC4IGW.js.map} +0 -0
  709. /package/dist/{hub-api-client-WOZ2BQ6H.js.map → hub-adopt-HYXFUPPO.js.map} +0 -0
  710. /package/dist/{prepare-OOZF37J6.js.map → hub-api-client-BI3E37CF.js.map} +0 -0
  711. /package/dist/{hub-docker-target-IQHX6OYX.js.map → hub-docker-target-6ODSK7ZE.js.map} +0 -0
  712. /package/dist/{plugin-update-2ACFHFUI.js.map → plugin-update-LI3QDA4K.js.map} +0 -0
  713. /package/dist/{prepared-custody-E7CSZJ6V.js.map → prepare-MYFNDJPP.js.map} +0 -0
  714. /package/dist/{prepared-state-FO74QUCP-PZLOM6HD.js.map → prepared-custody-WSHX6XTQ.js.map} +0 -0
  715. /package/dist/{registry-X33JZU6B.js.map → prepared-state-FO74QUCP-M4Q2X3KN.js.map} +0 -0
  716. /package/dist/{publish-credentials-TO5IIW2T.js.map → publish-credentials-FCEQSIPE.js.map} +0 -0
  717. /package/dist/{relay-7D5NOFKS.js.map → registry-GG23NEBF.js.map} +0 -0
  718. /package/dist/{remote-docker-share-YADHIHXV.js.map → relay-YUOIK3HN.js.map} +0 -0
  719. /package/dist/{tool-grant-push-7G2QAN3J.js.map → tool-grant-push-A2JYLJVF.js.map} +0 -0
  720. /package/runtime/hub/apps/hub/.next/static/{o9_g9S5JH-r8bfNfmPa5H → QDhlg7V_fEVGv_NfM2cEJ}/_buildManifest.js +0 -0
  721. /package/runtime/hub/apps/hub/.next/static/{o9_g9S5JH-r8bfNfmPa5H → QDhlg7V_fEVGv_NfM2cEJ}/_clientMiddlewareManifest.js +0 -0
  722. /package/runtime/hub/apps/hub/.next/static/{o9_g9S5JH-r8bfNfmPa5H → QDhlg7V_fEVGv_NfM2cEJ}/_ssgManifest.js +0 -0
@@ -0,0 +1,34 @@
1
+ // GET /api/v1/managers/:id — one manager with its live status.
2
+ // DELETE /api/v1/managers/:id — forget it. Refused (409) while it runs: the
3
+ // record is the only handle on that session and the boxes it made.
4
+ // `?force=1` forgets it anyway (its process, if any, is left alone).
5
+ import { backendOrNull } from '../../lib/backend';
6
+ import { fail, failFromAction, ok } from '../../lib/envelope';
7
+ import { isForce } from '../../lib/validate';
8
+
9
+ export const runtime = 'nodejs';
10
+ export const dynamic = 'force-dynamic';
11
+
12
+ export async function GET(
13
+ _req: Request,
14
+ ctx: { params: Promise<{ id: string }> },
15
+ ): Promise<Response> {
16
+ const { id } = await ctx.params;
17
+ const backend = backendOrNull();
18
+ if (!backend) return fail('not_found', `unknown manager ${id}`);
19
+ const manager = await backend.getManager(id);
20
+ if (!manager) return fail('not_found', `unknown manager ${id}`);
21
+ return ok(manager);
22
+ }
23
+
24
+ export async function DELETE(
25
+ req: Request,
26
+ ctx: { params: Promise<{ id: string }> },
27
+ ): Promise<Response> {
28
+ const { id } = await ctx.params;
29
+ const backend = backendOrNull();
30
+ if (!backend) return fail('backend_unavailable', 'hub backend unavailable (run the hub server)');
31
+ const res = await backend.removeManager(id, { force: isForce(req) });
32
+ if (!res.ok) return failFromAction(res.error);
33
+ return ok({ ok: true });
34
+ }
@@ -0,0 +1,23 @@
1
+ // POST /api/v1/managers/:id/stop — kill a hub-run manager's tmux session.
2
+ // Idempotent, and the record is kept so it can be resumed. An external manager
3
+ // is the user's own terminal process, which the hub never signals (409 while it runs).
4
+ // A claude manager whose session runs in Claude's background daemon only loses
5
+ // the hub's attach session: the answer carries `notice` saying the session lives on.
6
+ import { backendOrNull } from '../../../lib/backend';
7
+ import { timelineMeta } from '../../../lib/actor';
8
+ import { fail, failFromAction, ok } from '../../../lib/envelope';
9
+
10
+ export const runtime = 'nodejs';
11
+ export const dynamic = 'force-dynamic';
12
+
13
+ export async function POST(
14
+ req: Request,
15
+ ctx: { params: Promise<{ id: string }> },
16
+ ): Promise<Response> {
17
+ const { id } = await ctx.params;
18
+ const backend = backendOrNull();
19
+ if (!backend) return fail('backend_unavailable', 'hub backend unavailable (run the hub server)');
20
+ const res = await backend.stopManager(id, await timelineMeta(req, backend));
21
+ if (!res.ok) return failFromAction(res.error);
22
+ return ok(res.notice ? { ...res.manager, notice: res.notice } : res.manager);
23
+ }
@@ -0,0 +1,33 @@
1
+ // POST /api/v1/managers/detect — register the host agent session a CLI call came
2
+ // from. Matched by (agent, sessionId), so repeating it refreshes one record. When
3
+ // no workspace contains `cwd`, one is created there, named after the folder:
4
+ // nobody declares a workspace before a session can manage boxes. 400 instead
5
+ // when that folder is `/`, the home folder or above it, or not a folder here.
6
+ import { backendOrNull } from '../../lib/backend';
7
+ import { fail, failFromAction, ok } from '../../lib/envelope';
8
+ import { MANAGER_AGENT_NAMES, parseManagerDetect, readJson } from '../../lib/validate';
9
+
10
+ export const runtime = 'nodejs';
11
+ export const dynamic = 'force-dynamic';
12
+
13
+ export async function POST(req: Request): Promise<Response> {
14
+ const backend = backendOrNull();
15
+ if (!backend) return fail('backend_unavailable', 'hub backend unavailable (run the hub server)');
16
+ const parsedBody = await readJson(req);
17
+ if (!parsedBody.ok) return fail('invalid_request', parsedBody.message);
18
+ // Any agent the registry knows that has a session (a `service` agent is a
19
+ // daemon, never a manager). Unlike a start, an agent the hub host has not
20
+ // installed is fine: the session being recorded runs on the caller's machine.
21
+ const sys = globalThis.__AGENTBOX_HUB_SYSTEM;
22
+ const allowedAgents = sys
23
+ ? sys
24
+ .agents()
25
+ .filter((a) => a.surface !== 'service')
26
+ .map((a) => a.id)
27
+ : MANAGER_AGENT_NAMES;
28
+ const parsed = parseManagerDetect(parsedBody.value, allowedAgents);
29
+ if (!parsed.ok) return fail('invalid_request', parsed.message);
30
+ const res = await backend.detectManager(parsed.value);
31
+ if (!res.ok) return res.invalid ? fail('invalid_request', res.error) : failFromAction(res.error);
32
+ return ok({ manager: res.manager, workspace: res.workspace }, res.created ? 201 : 200);
33
+ }
@@ -0,0 +1,27 @@
1
+ // GET /api/v1/managers — every manager session the hub knows, across workspaces:
2
+ // running first, then the most recently seen. Filter with `?workspaceId=` and
3
+ // `?status=running|stopped`. `status` is derived from the process (tmux session
4
+ // or pid), never from the record.
5
+ import { backendOrNull } from '../lib/backend';
6
+ import { fail, ok } from '../lib/envelope';
7
+ import { isManagerStatus } from '../lib/validate';
8
+
9
+ export const runtime = 'nodejs';
10
+ export const dynamic = 'force-dynamic';
11
+
12
+ export async function GET(req: Request): Promise<Response> {
13
+ const backend = backendOrNull();
14
+ // Host-machine state; the hosted/Postgres path holds no managers.
15
+ if (!backend) return ok({ managers: [] });
16
+ const params = new URL(req.url).searchParams;
17
+ const status = params.get('status');
18
+ if (status !== null && !isManagerStatus(status)) {
19
+ return fail('invalid_request', `unknown status ${status}`);
20
+ }
21
+ const workspaceId = params.get('workspaceId');
22
+ const managers = await backend.listManagers({
23
+ ...(status ? { status } : {}),
24
+ ...(workspaceId ? { workspaceId } : {}),
25
+ });
26
+ return ok({ managers });
27
+ }
@@ -0,0 +1,30 @@
1
+ // GET /api/v1/tasks — tasks across every workspace, filterable by
2
+ // `?workspaceId=`, `?projectId=`, `?boxId=`, `?status=`, `?managerId=`. The cross-workspace
3
+ // read a fleet view needs: the per-workspace route answers one list, this one
4
+ // answers "what is assigned to this box" without knowing which workspace owns it.
5
+ import { backendOrNull } from '../lib/backend';
6
+ import { fail, ok } from '../lib/envelope';
7
+ import { isTaskStatus } from '../lib/validate';
8
+
9
+ export const runtime = 'nodejs';
10
+ export const dynamic = 'force-dynamic';
11
+
12
+ export async function GET(req: Request): Promise<Response> {
13
+ const backend = backendOrNull();
14
+ // Host-machine state; the hosted/Postgres path holds no workspaces.
15
+ if (!backend) return ok({ tasks: [] });
16
+
17
+ const params = new URL(req.url).searchParams;
18
+ const status = params.get('status');
19
+ if (status !== null && !isTaskStatus(status)) {
20
+ return fail('invalid_request', `unknown status ${status}`);
21
+ }
22
+ const tasks = await backend.listAllTasks({
23
+ ...(status ? { status } : {}),
24
+ ...(params.get('workspaceId') ? { workspaceId: params.get('workspaceId')! } : {}),
25
+ ...(params.get('projectId') ? { projectId: params.get('projectId')! } : {}),
26
+ ...(params.get('boxId') ? { boxId: params.get('boxId')! } : {}),
27
+ ...(params.get('managerId') ? { managerId: params.get('managerId')! } : {}),
28
+ });
29
+ return ok({ tasks });
30
+ }
@@ -0,0 +1,19 @@
1
+ // GET /api/v1/workspaces/:id/managers — the workspace's manager sessions,
2
+ // running first, then the most recently seen.
3
+ import { backendOrNull } from '../../../lib/backend';
4
+ import { fail, ok } from '../../../lib/envelope';
5
+
6
+ export const runtime = 'nodejs';
7
+ export const dynamic = 'force-dynamic';
8
+
9
+ export async function GET(
10
+ _req: Request,
11
+ ctx: { params: Promise<{ id: string }> },
12
+ ): Promise<Response> {
13
+ const { id } = await ctx.params;
14
+ const backend = backendOrNull();
15
+ if (!backend) return fail('not_found', `unknown workspace ${id}`);
16
+ const managers = await backend.listWorkspaceManagers(id);
17
+ if (!managers) return fail('not_found', `unknown workspace ${id}`);
18
+ return ok({ managers });
19
+ }
@@ -0,0 +1,22 @@
1
+ // GET /api/v1/workspaces/:id/managers/sessions — resumable agent sessions for the
2
+ // workspace folder, read from the agent's own on-disk store. Feeds the "resume a
3
+ // session" picker before a manager is started. `supported: false` means this
4
+ // agent's session format is not one we can resume, which is not an error.
5
+ import { backendOrNull } from '../../../../lib/backend';
6
+ import { fail, ok } from '../../../../lib/envelope';
7
+
8
+ export const runtime = 'nodejs';
9
+ export const dynamic = 'force-dynamic';
10
+
11
+ export async function GET(
12
+ req: Request,
13
+ ctx: { params: Promise<{ id: string }> },
14
+ ): Promise<Response> {
15
+ const { id } = await ctx.params;
16
+ const backend = backendOrNull();
17
+ if (!backend) return fail('not_found', `unknown workspace ${id}`);
18
+ const agent = new URL(req.url).searchParams.get('agent') ?? undefined;
19
+ const res = await backend.listManagerSessions(id, agent);
20
+ if (!res) return fail('not_found', `unknown workspace ${id}`);
21
+ return ok(res);
22
+ }
@@ -0,0 +1,61 @@
1
+ // POST /api/v1/workspaces/:id/managers/start — run a coding agent LOCALLY in the
2
+ // workspace folder, in a detached tmux session the hub owns. The session is the
3
+ // process's home: the CLI, the tray and a plain terminal all attach to the same
4
+ // one rather than the hub proxying a PTY. A `sessionId` some manager already
5
+ // holds resumes THAT manager instead of creating a second one.
6
+ import { backendOrNull } from '../../../../lib/backend';
7
+ import { timelineMeta } from '../../../../lib/actor';
8
+ import { fail, failFromAction, ok } from '../../../../lib/envelope';
9
+ import { MANAGER_AGENT_NAMES, parseManagerStart, readJson } from '../../../../lib/validate';
10
+ import { TMUX_MISSING } from '@/lib/backend/errors';
11
+
12
+ export const runtime = 'nodejs';
13
+ export const dynamic = 'force-dynamic';
14
+
15
+ export async function POST(
16
+ req: Request,
17
+ ctx: { params: Promise<{ id: string }> },
18
+ ): Promise<Response> {
19
+ const { id } = await ctx.params;
20
+ const backend = backendOrNull();
21
+ if (!backend) return fail('backend_unavailable', 'hub backend unavailable (run the hub server)');
22
+
23
+ const parsedBody = await readJson(req);
24
+ if (!parsedBody.ok) return fail('invalid_request', parsedBody.message);
25
+ // Accept whatever the registry actually knows (plugin agents included) rather
26
+ // than the compiled-in list — GET /api/v1/agents offers them, so refusing one
27
+ // here would advertise a manager the start path rejects. Falls back to the
28
+ // built-ins when the seam is absent (the plane path has no registry).
29
+ //
30
+ // A `service` agent is excluded: it is a daemon a box hosts, with no session to
31
+ // attach to, so running one as the manager would produce a tmux session nobody
32
+ // can use. `agentbox manager start` filters the same way.
33
+ //
34
+ // `installed === false` is refused too, which is the opposite of the box path:
35
+ // a box installs its agent on demand, but the manager runs on the hub's own
36
+ // host, where nothing will. Without this the start answers 200 and the session
37
+ // dies a second later with exit 127. Absent means unknown, so only an explicit
38
+ // false is a refusal.
39
+ const sys = globalThis.__AGENTBOX_HUB_SYSTEM;
40
+ const allowedAgents = sys
41
+ ? sys
42
+ .agents()
43
+ .filter((a) => a.surface !== 'service' && a.installed !== false)
44
+ .map((a) => a.id)
45
+ : MANAGER_AGENT_NAMES;
46
+ const parsed = parseManagerStart(parsedBody.value, allowedAgents);
47
+ if (!parsed.ok) return fail('invalid_request', parsed.message);
48
+
49
+ const res = await backend.startManager(
50
+ id,
51
+ parsed.value,
52
+ await timelineMeta(req, backend, { wsId: id }),
53
+ );
54
+ if (!res.ok) {
55
+ // A host without tmux cannot host a manager at all — that is an environment
56
+ // gap on the hub's machine, not a bad request.
57
+ if (res.error === TMUX_MISSING) return fail('backend_unavailable', res.error);
58
+ return failFromAction(res.error);
59
+ }
60
+ return ok(res.manager);
61
+ }
@@ -0,0 +1,25 @@
1
+ // POST /api/v1/workspaces/:id/rename — set the workspace's display name.
2
+ import { backendOrNull } from '../../../lib/backend';
3
+ import { fail, failFromAction, ok } from '../../../lib/envelope';
4
+ import { parseWorkspaceRename, readJson } from '../../../lib/validate';
5
+
6
+ export const runtime = 'nodejs';
7
+ export const dynamic = 'force-dynamic';
8
+
9
+ export async function POST(
10
+ req: Request,
11
+ ctx: { params: Promise<{ id: string }> },
12
+ ): Promise<Response> {
13
+ const { id } = await ctx.params;
14
+ const backend = backendOrNull();
15
+ if (!backend) return fail('backend_unavailable', 'hub backend unavailable (run the hub server)');
16
+
17
+ const parsedBody = await readJson(req);
18
+ if (!parsedBody.ok) return fail('invalid_request', parsedBody.message);
19
+ const parsed = parseWorkspaceRename(parsedBody.value);
20
+ if (!parsed.ok) return fail('invalid_request', parsed.message);
21
+
22
+ const res = await backend.renameWorkspace(id, parsed.value.name);
23
+ if (!res.ok) return failFromAction(res.error);
24
+ return ok(res.workspace);
25
+ }
@@ -0,0 +1,20 @@
1
+ // POST /api/v1/workspaces/:id/rescan — re-discover the projects under the
2
+ // workspace root (a repo cloned into it after registration is invisible until
3
+ // this runs) and register any new one.
4
+ import { backendOrNull } from '../../../lib/backend';
5
+ import { fail, failFromAction, ok } from '../../../lib/envelope';
6
+
7
+ export const runtime = 'nodejs';
8
+ export const dynamic = 'force-dynamic';
9
+
10
+ export async function POST(
11
+ _req: Request,
12
+ ctx: { params: Promise<{ id: string }> },
13
+ ): Promise<Response> {
14
+ const { id } = await ctx.params;
15
+ const backend = backendOrNull();
16
+ if (!backend) return fail('backend_unavailable', 'hub backend unavailable (run the hub server)');
17
+ const res = await backend.rescanWorkspace(id);
18
+ if (!res.ok) return failFromAction(res.error);
19
+ return ok(res.workspace);
20
+ }
@@ -0,0 +1,34 @@
1
+ // GET /api/v1/workspaces/:id — one workspace with its task counts + manager state.
2
+ // DELETE /api/v1/workspaces/:id — unregister it. The folder, its projects and
3
+ // their boxes are untouched; only the workspace record and its tasks go.
4
+ // 409 while one of its managers runs, unless `?force=1`.
5
+ import { backendOrNull } from '../../lib/backend';
6
+ import { fail, failFromAction, ok } from '../../lib/envelope';
7
+ import { isForce } from '../../lib/validate';
8
+
9
+ export const runtime = 'nodejs';
10
+ export const dynamic = 'force-dynamic';
11
+
12
+ export async function GET(
13
+ _req: Request,
14
+ ctx: { params: Promise<{ id: string }> },
15
+ ): Promise<Response> {
16
+ const { id } = await ctx.params;
17
+ const backend = backendOrNull();
18
+ if (!backend) return fail('not_found', `unknown workspace ${id}`);
19
+ const ws = await backend.getWorkspace(id);
20
+ if (!ws) return fail('not_found', `unknown workspace ${id}`);
21
+ return ok(ws);
22
+ }
23
+
24
+ export async function DELETE(
25
+ req: Request,
26
+ ctx: { params: Promise<{ id: string }> },
27
+ ): Promise<Response> {
28
+ const { id } = await ctx.params;
29
+ const backend = backendOrNull();
30
+ if (!backend) return fail('backend_unavailable', 'hub backend unavailable (run the hub server)');
31
+ const res = await backend.removeWorkspace(id, { force: isForce(req) });
32
+ if (!res.ok) return failFromAction(res.error);
33
+ return ok({ ok: true });
34
+ }
@@ -0,0 +1,33 @@
1
+ // POST /api/v1/workspaces/:id/tasks/:taskId/assign — point one task at a box
2
+ // (`{ boxId }`) or at the create job that will become one (`{ boxJobId }`).
3
+ import { backendOrNull } from '../../../../../lib/backend';
4
+ import { timelineMeta } from '../../../../../lib/actor';
5
+ import { fail, failFromAction, ok } from '../../../../../lib/envelope';
6
+ import { parseTaskAssign, readJson } from '../../../../../lib/validate';
7
+
8
+ export const runtime = 'nodejs';
9
+ export const dynamic = 'force-dynamic';
10
+
11
+ export async function POST(
12
+ req: Request,
13
+ ctx: { params: Promise<{ id: string; taskId: string }> },
14
+ ): Promise<Response> {
15
+ const { id, taskId } = await ctx.params;
16
+ const backend = backendOrNull();
17
+ if (!backend) return fail('backend_unavailable', 'hub backend unavailable (run the hub server)');
18
+
19
+ const parsedBody = await readJson(req);
20
+ if (!parsedBody.ok) return fail('invalid_request', parsedBody.message);
21
+ const parsed = parseTaskAssign(parsedBody.value);
22
+ if (!parsed.ok) return fail('invalid_request', parsed.message);
23
+
24
+ const { boxId, boxJobId, note } = parsed.value;
25
+ const res = await backend.assignTasks(
26
+ id,
27
+ [taskId],
28
+ boxId ? { boxId } : { boxJobId: boxJobId! },
29
+ await timelineMeta(req, backend, { wsId: id, note }),
30
+ );
31
+ if (!res.ok) return failFromAction(res.error);
32
+ return ok(res.tasks[0]);
33
+ }
@@ -0,0 +1,23 @@
1
+ // POST /api/v1/workspaces/:id/tasks/:taskId/done — mark the task finished.
2
+ import { backendOrNull } from '../../../../../lib/backend';
3
+ import { timelineMeta } from '../../../../../lib/actor';
4
+ import { fail, failFromAction, ok } from '../../../../../lib/envelope';
5
+
6
+ export const runtime = 'nodejs';
7
+ export const dynamic = 'force-dynamic';
8
+
9
+ export async function POST(
10
+ req: Request,
11
+ ctx: { params: Promise<{ id: string; taskId: string }> },
12
+ ): Promise<Response> {
13
+ const { id, taskId } = await ctx.params;
14
+ const backend = backendOrNull();
15
+ if (!backend) return fail('backend_unavailable', 'hub backend unavailable (run the hub server)');
16
+ const res = await backend.completeTask(
17
+ id,
18
+ taskId,
19
+ await timelineMeta(req, backend, { wsId: id }),
20
+ );
21
+ if (!res.ok) return failFromAction(res.error);
22
+ return ok(res.task);
23
+ }
@@ -0,0 +1,54 @@
1
+ // GET /api/v1/workspaces/:id/tasks/:taskId — one task.
2
+ // POST /api/v1/workspaces/:id/tasks/:taskId — update it (title, description,
3
+ // status, project scope, dependencies, external ref). `projectId: null` clears
4
+ // the scope. POST rather than PATCH: this API has no PATCH anywhere.
5
+ // DELETE /api/v1/workspaces/:id/tasks/:taskId — remove it, and drop it from every
6
+ // other task's `dependsOn`.
7
+ import { backendOrNull } from '../../../../lib/backend';
8
+ import { timelineMeta } from '../../../../lib/actor';
9
+ import { fail, failFromAction, ok } from '../../../../lib/envelope';
10
+ import { parseTaskUpdate, readJson } from '../../../../lib/validate';
11
+
12
+ export const runtime = 'nodejs';
13
+ export const dynamic = 'force-dynamic';
14
+
15
+ type Ctx = { params: Promise<{ id: string; taskId: string }> };
16
+
17
+ export async function GET(_req: Request, ctx: Ctx): Promise<Response> {
18
+ const { id, taskId } = await ctx.params;
19
+ const backend = backendOrNull();
20
+ if (!backend) return fail('not_found', `unknown task ${taskId}`);
21
+ const task = await backend.getTask(id, taskId);
22
+ if (!task) return fail('not_found', `unknown task ${taskId}`);
23
+ return ok(task);
24
+ }
25
+
26
+ export async function POST(req: Request, ctx: Ctx): Promise<Response> {
27
+ const { id, taskId } = await ctx.params;
28
+ const backend = backendOrNull();
29
+ if (!backend) return fail('backend_unavailable', 'hub backend unavailable (run the hub server)');
30
+
31
+ const parsedBody = await readJson(req);
32
+ if (!parsedBody.ok) return fail('invalid_request', parsedBody.message);
33
+ const parsed = parseTaskUpdate(parsedBody.value);
34
+ if (!parsed.ok) return fail('invalid_request', parsed.message);
35
+
36
+ const { note, ...patch } = parsed.value;
37
+ const res = await backend.updateTask(
38
+ id,
39
+ taskId,
40
+ patch,
41
+ await timelineMeta(req, backend, { wsId: id, note }),
42
+ );
43
+ if (!res.ok) return res.invalid ? fail('invalid_request', res.error) : failFromAction(res.error);
44
+ return ok(res.task);
45
+ }
46
+
47
+ export async function DELETE(req: Request, ctx: Ctx): Promise<Response> {
48
+ const { id, taskId } = await ctx.params;
49
+ const backend = backendOrNull();
50
+ if (!backend) return fail('backend_unavailable', 'hub backend unavailable (run the hub server)');
51
+ const res = await backend.removeTask(id, taskId, await timelineMeta(req, backend, { wsId: id }));
52
+ if (!res.ok) return failFromAction(res.error);
53
+ return ok({ ok: true });
54
+ }
@@ -0,0 +1,25 @@
1
+ // POST /api/v1/workspaces/:id/tasks/:taskId/unassign — return the task to the
2
+ // backlog. Finished work is left finished; only an in-progress task reverts to
3
+ // todo.
4
+ import { backendOrNull } from '../../../../../lib/backend';
5
+ import { timelineMeta } from '../../../../../lib/actor';
6
+ import { fail, failFromAction, ok } from '../../../../../lib/envelope';
7
+
8
+ export const runtime = 'nodejs';
9
+ export const dynamic = 'force-dynamic';
10
+
11
+ export async function POST(
12
+ req: Request,
13
+ ctx: { params: Promise<{ id: string; taskId: string }> },
14
+ ): Promise<Response> {
15
+ const { id, taskId } = await ctx.params;
16
+ const backend = backendOrNull();
17
+ if (!backend) return fail('backend_unavailable', 'hub backend unavailable (run the hub server)');
18
+ const res = await backend.unassignTasks(
19
+ id,
20
+ [taskId],
21
+ await timelineMeta(req, backend, { wsId: id }),
22
+ );
23
+ if (!res.ok) return failFromAction(res.error);
24
+ return ok(res.tasks[0]);
25
+ }
@@ -0,0 +1,34 @@
1
+ // POST /api/v1/workspaces/:id/tasks/assign — point several tasks at one box (or
2
+ // at the create job that will become one). This is the bulk form the manager
3
+ // uses when it groups tasks into a box; `todo` tasks become `in_progress`.
4
+ import { backendOrNull } from '../../../../lib/backend';
5
+ import { timelineMeta } from '../../../../lib/actor';
6
+ import { fail, failFromAction, ok } from '../../../../lib/envelope';
7
+ import { parseTaskAssign, readJson } from '../../../../lib/validate';
8
+
9
+ export const runtime = 'nodejs';
10
+ export const dynamic = 'force-dynamic';
11
+
12
+ export async function POST(
13
+ req: Request,
14
+ ctx: { params: Promise<{ id: string }> },
15
+ ): Promise<Response> {
16
+ const { id } = await ctx.params;
17
+ const backend = backendOrNull();
18
+ if (!backend) return fail('backend_unavailable', 'hub backend unavailable (run the hub server)');
19
+
20
+ const parsedBody = await readJson(req);
21
+ if (!parsedBody.ok) return fail('invalid_request', parsedBody.message);
22
+ const parsed = parseTaskAssign(parsedBody.value, { requireIds: true });
23
+ if (!parsed.ok) return fail('invalid_request', parsed.message);
24
+
25
+ const { ids, boxId, boxJobId, note } = parsed.value;
26
+ const res = await backend.assignTasks(
27
+ id,
28
+ ids!,
29
+ boxId ? { boxId } : { boxJobId: boxJobId! },
30
+ await timelineMeta(req, backend, { wsId: id, note }),
31
+ );
32
+ if (!res.ok) return failFromAction(res.error);
33
+ return ok({ tasks: res.tasks });
34
+ }
@@ -0,0 +1,33 @@
1
+ // POST /api/v1/workspaces/:id/tasks/reorder — set the whole priority order.
2
+ // `ids` must be an exact permutation of the workspace's tasks: a partial list
3
+ // would silently renumber the rest, and this order IS the priority the manager
4
+ // reads.
5
+ import { backendOrNull } from '../../../../lib/backend';
6
+ import { timelineMeta } from '../../../../lib/actor';
7
+ import { fail, failFromAction, ok } from '../../../../lib/envelope';
8
+ import { parseTaskReorder, readJson } from '../../../../lib/validate';
9
+
10
+ export const runtime = 'nodejs';
11
+ export const dynamic = 'force-dynamic';
12
+
13
+ export async function POST(
14
+ req: Request,
15
+ ctx: { params: Promise<{ id: string }> },
16
+ ): Promise<Response> {
17
+ const { id } = await ctx.params;
18
+ const backend = backendOrNull();
19
+ if (!backend) return fail('backend_unavailable', 'hub backend unavailable (run the hub server)');
20
+
21
+ const parsedBody = await readJson(req);
22
+ if (!parsedBody.ok) return fail('invalid_request', parsedBody.message);
23
+ const parsed = parseTaskReorder(parsedBody.value);
24
+ if (!parsed.ok) return fail('invalid_request', parsed.message);
25
+
26
+ const res = await backend.reorderTasks(
27
+ id,
28
+ parsed.value.ids,
29
+ await timelineMeta(req, backend, { wsId: id, note: parsed.value.note }),
30
+ );
31
+ if (!res.ok) return failFromAction(res.error);
32
+ return ok({ tasks: res.tasks });
33
+ }
@@ -0,0 +1,59 @@
1
+ // GET /api/v1/workspaces/:id/tasks — the workspace's tasks in priority order,
2
+ // filterable by `?status=`, `?projectId=`, `?boxId=`, `?managerId=`. Assignments are healed
3
+ // against live boxes and create jobs on the way out.
4
+ // POST /api/v1/workspaces/:id/tasks — add a task.
5
+ import { backendOrNull } from '../../../lib/backend';
6
+ import { timelineMeta } from '../../../lib/actor';
7
+ import { fail, failFromAction, ok } from '../../../lib/envelope';
8
+ import { isTaskStatus, parseTaskCreate, readJson } from '../../../lib/validate';
9
+ import type { TaskFilter } from '@/lib/boxes/backend-types';
10
+
11
+ export const runtime = 'nodejs';
12
+ export const dynamic = 'force-dynamic';
13
+
14
+ export async function GET(
15
+ req: Request,
16
+ ctx: { params: Promise<{ id: string }> },
17
+ ): Promise<Response> {
18
+ const { id } = await ctx.params;
19
+ const backend = backendOrNull();
20
+ if (!backend) return fail('not_found', `unknown workspace ${id}`);
21
+
22
+ const url = new URL(req.url);
23
+ const status = url.searchParams.get('status');
24
+ if (status !== null && !isTaskStatus(status)) {
25
+ return fail('invalid_request', `unknown status ${status}`);
26
+ }
27
+ const filter: TaskFilter = {
28
+ ...(status ? { status } : {}),
29
+ ...(url.searchParams.get('projectId') ? { projectId: url.searchParams.get('projectId')! } : {}),
30
+ ...(url.searchParams.get('boxId') ? { boxId: url.searchParams.get('boxId')! } : {}),
31
+ ...(url.searchParams.get('managerId') ? { managerId: url.searchParams.get('managerId')! } : {}),
32
+ };
33
+ const tasks = await backend.listTasks(id, filter);
34
+ if (tasks === null) return fail('not_found', `unknown workspace ${id}`);
35
+ return ok({ tasks });
36
+ }
37
+
38
+ export async function POST(
39
+ req: Request,
40
+ ctx: { params: Promise<{ id: string }> },
41
+ ): Promise<Response> {
42
+ const { id } = await ctx.params;
43
+ const backend = backendOrNull();
44
+ if (!backend) return fail('backend_unavailable', 'hub backend unavailable (run the hub server)');
45
+
46
+ const parsedBody = await readJson(req);
47
+ if (!parsedBody.ok) return fail('invalid_request', parsedBody.message);
48
+ const parsed = parseTaskCreate(parsedBody.value);
49
+ if (!parsed.ok) return fail('invalid_request', parsed.message);
50
+
51
+ const { note, ...input } = parsed.value;
52
+ const res = await backend.addTask(
53
+ id,
54
+ input,
55
+ await timelineMeta(req, backend, { wsId: id, note }),
56
+ );
57
+ if (!res.ok) return res.invalid ? fail('invalid_request', res.error) : failFromAction(res.error);
58
+ return ok(res.task, 201);
59
+ }
@@ -0,0 +1,25 @@
1
+ // GET /api/v1/workspaces/:id/timeline — what happened in the workspace, newest
2
+ // first (`?before=<iso>&limit=`), plus the rows true right now (`live`) and, with
3
+ // `?since=<iso>`, a summary of what changed since then. A GitHub PR sync starts
4
+ // in the background when the last one is over a minute old (never with `?sync=0`);
5
+ // `github` says how it stands, and a new row it finds fires the usual change event.
6
+ import { backendOrNull } from '../../../lib/backend';
7
+ import { fail, ok } from '../../../lib/envelope';
8
+ import { parseTimelineQuery } from '../../../lib/validate';
9
+
10
+ export const runtime = 'nodejs';
11
+ export const dynamic = 'force-dynamic';
12
+
13
+ export async function GET(
14
+ req: Request,
15
+ ctx: { params: Promise<{ id: string }> },
16
+ ): Promise<Response> {
17
+ const { id } = await ctx.params;
18
+ const backend = backendOrNull();
19
+ if (!backend) return fail('not_found', `unknown workspace ${id}`);
20
+ const parsed = parseTimelineQuery(new URL(req.url));
21
+ if (!parsed.ok) return fail('invalid_request', parsed.message);
22
+ const timeline = await backend.getTimeline(id, parsed.value);
23
+ if (!timeline) return fail('not_found', `unknown workspace ${id}`);
24
+ return ok(timeline);
25
+ }