tower-studio 0.1.3 → 0.1.6

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 (872) hide show
  1. package/.next/BUILD_ID +1 -0
  2. package/.next/app-path-routes-manifest.json +41 -0
  3. package/.next/build/chunks/0kjx__pnpm_05m.mc_._.js +6681 -0
  4. package/.next/build/chunks/[root-of-the-server]__0a5dngl._.js +206 -0
  5. package/.next/build/chunks/[root-of-the-server]__13e2v6w._.js +500 -0
  6. package/.next/build/chunks/[turbopack-node]_transforms_postcss_ts_0y_r.ay._.js +13 -0
  7. package/.next/build/chunks/[turbopack]_runtime.js +890 -0
  8. package/.next/build/package.json +1 -0
  9. package/.next/build/postcss.js +6 -0
  10. package/.next/build-manifest.json +22 -0
  11. package/.next/cache/.previewinfo +1 -0
  12. package/.next/cache/.rscinfo +1 -0
  13. package/.next/cache/.tsbuildinfo +1 -0
  14. package/.next/diagnostics/build-diagnostics.json +6 -0
  15. package/.next/diagnostics/framework.json +1 -0
  16. package/.next/diagnostics/route-bundle-stats.json +299 -0
  17. package/.next/export-marker.json +6 -0
  18. package/.next/fallback-build-manifest.json +13 -0
  19. package/.next/images-manifest.json +68 -0
  20. package/.next/next-minimal-server.js.nft.json +1 -0
  21. package/.next/next-server.js.nft.json +1 -0
  22. package/.next/package.json +1 -0
  23. package/.next/prerender-manifest.json +278 -0
  24. package/.next/required-server-files.js +339 -0
  25. package/.next/required-server-files.json +339 -0
  26. package/.next/routes-manifest.json +312 -0
  27. package/.next/server/app/_global-error/page/app-paths-manifest.json +3 -0
  28. package/.next/server/app/_global-error/page/build-manifest.json +18 -0
  29. package/.next/server/app/_global-error/page/next-font-manifest.json +6 -0
  30. package/.next/server/app/_global-error/page/react-loadable-manifest.json +1 -0
  31. package/.next/server/app/_global-error/page/server-reference-manifest.json +4 -0
  32. package/.next/server/app/_global-error/page.js +12 -0
  33. package/.next/server/app/_global-error/page.js.nft.json +1 -0
  34. package/.next/server/app/_global-error/page_client-reference-manifest.js +3 -0
  35. package/.next/server/app/_global-error.html +1 -0
  36. package/.next/server/app/_global-error.meta +15 -0
  37. package/.next/server/app/_global-error.rsc +15 -0
  38. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +5 -0
  39. package/.next/server/app/_global-error.segments/_full.segment.rsc +15 -0
  40. package/.next/server/app/_global-error.segments/_head.segment.rsc +6 -0
  41. package/.next/server/app/_global-error.segments/_index.segment.rsc +5 -0
  42. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -0
  43. package/.next/server/app/_not-found/page/app-paths-manifest.json +3 -0
  44. package/.next/server/app/_not-found/page/build-manifest.json +18 -0
  45. package/.next/server/app/_not-found/page/next-font-manifest.json +11 -0
  46. package/.next/server/app/_not-found/page/react-loadable-manifest.json +16 -0
  47. package/.next/server/app/_not-found/page/server-reference-manifest.json +233 -0
  48. package/.next/server/app/_not-found/page.js +20 -0
  49. package/.next/server/app/_not-found/page.js.nft.json +1 -0
  50. package/.next/server/app/_not-found/page_client-reference-manifest.js +3 -0
  51. package/.next/server/app/_not-found.html +1 -0
  52. package/.next/server/app/_not-found.meta +16 -0
  53. package/.next/server/app/_not-found.rsc +24 -0
  54. package/.next/server/app/_not-found.segments/_full.segment.rsc +24 -0
  55. package/.next/server/app/_not-found.segments/_head.segment.rsc +6 -0
  56. package/.next/server/app/_not-found.segments/_index.segment.rsc +12 -0
  57. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -0
  58. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +5 -0
  59. package/.next/server/app/_not-found.segments/_tree.segment.rsc +4 -0
  60. package/.next/server/app/api/adapters/test/route/app-paths-manifest.json +3 -0
  61. package/.next/server/app/api/adapters/test/route/build-manifest.json +9 -0
  62. package/.next/server/app/api/adapters/test/route/server-reference-manifest.json +4 -0
  63. package/.next/server/app/api/adapters/test/route.js +9 -0
  64. package/.next/server/app/api/adapters/test/route.js.nft.json +1 -0
  65. package/.next/server/app/api/adapters/test/route_client-reference-manifest.js +3 -0
  66. package/.next/server/app/api/browse-fs/route/app-paths-manifest.json +3 -0
  67. package/.next/server/app/api/browse-fs/route/build-manifest.json +9 -0
  68. package/.next/server/app/api/browse-fs/route/server-reference-manifest.json +4 -0
  69. package/.next/server/app/api/browse-fs/route.js +7 -0
  70. package/.next/server/app/api/browse-fs/route.js.nft.json +1 -0
  71. package/.next/server/app/api/browse-fs/route_client-reference-manifest.js +3 -0
  72. package/.next/server/app/api/files/assets/[projectId]/[filename]/route/app-paths-manifest.json +3 -0
  73. package/.next/server/app/api/files/assets/[projectId]/[filename]/route/build-manifest.json +9 -0
  74. package/.next/server/app/api/files/assets/[projectId]/[filename]/route/server-reference-manifest.json +4 -0
  75. package/.next/server/app/api/files/assets/[projectId]/[filename]/route.js +7 -0
  76. package/.next/server/app/api/files/assets/[projectId]/[filename]/route.js.nft.json +1 -0
  77. package/.next/server/app/api/files/assets/[projectId]/[filename]/route_client-reference-manifest.js +3 -0
  78. package/.next/server/app/api/git/route/app-paths-manifest.json +3 -0
  79. package/.next/server/app/api/git/route/build-manifest.json +9 -0
  80. package/.next/server/app/api/git/route/server-reference-manifest.json +4 -0
  81. package/.next/server/app/api/git/route.js +8 -0
  82. package/.next/server/app/api/git/route.js.nft.json +1 -0
  83. package/.next/server/app/api/git/route_client-reference-manifest.js +3 -0
  84. package/.next/server/app/api/internal/assets/[projectId]/[filename]/route/app-paths-manifest.json +3 -0
  85. package/.next/server/app/api/internal/assets/[projectId]/[filename]/route/build-manifest.json +9 -0
  86. package/.next/server/app/api/internal/assets/[projectId]/[filename]/route/server-reference-manifest.json +4 -0
  87. package/.next/server/app/api/internal/assets/[projectId]/[filename]/route.js +7 -0
  88. package/.next/server/app/api/internal/assets/[projectId]/[filename]/route.js.nft.json +1 -0
  89. package/.next/server/app/api/internal/assets/[projectId]/[filename]/route_client-reference-manifest.js +3 -0
  90. package/.next/server/app/api/internal/assets/reveal/route/app-paths-manifest.json +3 -0
  91. package/.next/server/app/api/internal/assets/reveal/route/build-manifest.json +9 -0
  92. package/.next/server/app/api/internal/assets/reveal/route/server-reference-manifest.json +4 -0
  93. package/.next/server/app/api/internal/assets/reveal/route.js +7 -0
  94. package/.next/server/app/api/internal/assets/reveal/route.js.nft.json +1 -0
  95. package/.next/server/app/api/internal/assets/reveal/route_client-reference-manifest.js +3 -0
  96. package/.next/server/app/api/internal/assistant/chat/route/app-paths-manifest.json +3 -0
  97. package/.next/server/app/api/internal/assistant/chat/route/build-manifest.json +9 -0
  98. package/.next/server/app/api/internal/assistant/chat/route/server-reference-manifest.json +4 -0
  99. package/.next/server/app/api/internal/assistant/chat/route.js +7 -0
  100. package/.next/server/app/api/internal/assistant/chat/route.js.nft.json +1 -0
  101. package/.next/server/app/api/internal/assistant/chat/route_client-reference-manifest.js +3 -0
  102. package/.next/server/app/api/internal/assistant/images/route/app-paths-manifest.json +3 -0
  103. package/.next/server/app/api/internal/assistant/images/route/build-manifest.json +9 -0
  104. package/.next/server/app/api/internal/assistant/images/route/server-reference-manifest.json +4 -0
  105. package/.next/server/app/api/internal/assistant/images/route.js +9 -0
  106. package/.next/server/app/api/internal/assistant/images/route.js.nft.json +1 -0
  107. package/.next/server/app/api/internal/assistant/images/route_client-reference-manifest.js +3 -0
  108. package/.next/server/app/api/internal/assistant/route/app-paths-manifest.json +3 -0
  109. package/.next/server/app/api/internal/assistant/route/build-manifest.json +9 -0
  110. package/.next/server/app/api/internal/assistant/route/server-reference-manifest.json +4 -0
  111. package/.next/server/app/api/internal/assistant/route.js +7 -0
  112. package/.next/server/app/api/internal/assistant/route.js.nft.json +1 -0
  113. package/.next/server/app/api/internal/assistant/route_client-reference-manifest.js +3 -0
  114. package/.next/server/app/api/internal/assistant/sessions/route/app-paths-manifest.json +3 -0
  115. package/.next/server/app/api/internal/assistant/sessions/route/build-manifest.json +9 -0
  116. package/.next/server/app/api/internal/assistant/sessions/route/server-reference-manifest.json +4 -0
  117. package/.next/server/app/api/internal/assistant/sessions/route.js +7 -0
  118. package/.next/server/app/api/internal/assistant/sessions/route.js.nft.json +1 -0
  119. package/.next/server/app/api/internal/assistant/sessions/route_client-reference-manifest.js +3 -0
  120. package/.next/server/app/api/internal/cache/[...segments]/route/app-paths-manifest.json +3 -0
  121. package/.next/server/app/api/internal/cache/[...segments]/route/build-manifest.json +9 -0
  122. package/.next/server/app/api/internal/cache/[...segments]/route/server-reference-manifest.json +4 -0
  123. package/.next/server/app/api/internal/cache/[...segments]/route.js +7 -0
  124. package/.next/server/app/api/internal/cache/[...segments]/route.js.nft.json +1 -0
  125. package/.next/server/app/api/internal/cache/[...segments]/route_client-reference-manifest.js +3 -0
  126. package/.next/server/app/api/internal/hooks/install/route/app-paths-manifest.json +3 -0
  127. package/.next/server/app/api/internal/hooks/install/route/build-manifest.json +9 -0
  128. package/.next/server/app/api/internal/hooks/install/route/server-reference-manifest.json +4 -0
  129. package/.next/server/app/api/internal/hooks/install/route.js +7 -0
  130. package/.next/server/app/api/internal/hooks/install/route.js.nft.json +1 -0
  131. package/.next/server/app/api/internal/hooks/install/route_client-reference-manifest.js +3 -0
  132. package/.next/server/app/api/internal/hooks/session/route/app-paths-manifest.json +3 -0
  133. package/.next/server/app/api/internal/hooks/session/route/build-manifest.json +9 -0
  134. package/.next/server/app/api/internal/hooks/session/route/server-reference-manifest.json +4 -0
  135. package/.next/server/app/api/internal/hooks/session/route.js +7 -0
  136. package/.next/server/app/api/internal/hooks/session/route.js.nft.json +1 -0
  137. package/.next/server/app/api/internal/hooks/session/route_client-reference-manifest.js +3 -0
  138. package/.next/server/app/api/internal/hooks/stop/route/app-paths-manifest.json +3 -0
  139. package/.next/server/app/api/internal/hooks/stop/route/build-manifest.json +9 -0
  140. package/.next/server/app/api/internal/hooks/stop/route/server-reference-manifest.json +4 -0
  141. package/.next/server/app/api/internal/hooks/stop/route.js +8 -0
  142. package/.next/server/app/api/internal/hooks/stop/route.js.nft.json +1 -0
  143. package/.next/server/app/api/internal/hooks/stop/route_client-reference-manifest.js +3 -0
  144. package/.next/server/app/api/internal/hooks/upload/route/app-paths-manifest.json +3 -0
  145. package/.next/server/app/api/internal/hooks/upload/route/build-manifest.json +9 -0
  146. package/.next/server/app/api/internal/hooks/upload/route/server-reference-manifest.json +4 -0
  147. package/.next/server/app/api/internal/hooks/upload/route.js +7 -0
  148. package/.next/server/app/api/internal/hooks/upload/route.js.nft.json +1 -0
  149. package/.next/server/app/api/internal/hooks/upload/route_client-reference-manifest.js +3 -0
  150. package/.next/server/app/api/internal/notifications/pending/route/app-paths-manifest.json +3 -0
  151. package/.next/server/app/api/internal/notifications/pending/route/build-manifest.json +9 -0
  152. package/.next/server/app/api/internal/notifications/pending/route/server-reference-manifest.json +4 -0
  153. package/.next/server/app/api/internal/notifications/pending/route.js +7 -0
  154. package/.next/server/app/api/internal/notifications/pending/route.js.nft.json +1 -0
  155. package/.next/server/app/api/internal/notifications/pending/route_client-reference-manifest.js +3 -0
  156. package/.next/server/app/api/internal/terminal/[taskId]/buffer/route/app-paths-manifest.json +3 -0
  157. package/.next/server/app/api/internal/terminal/[taskId]/buffer/route/build-manifest.json +9 -0
  158. package/.next/server/app/api/internal/terminal/[taskId]/buffer/route/server-reference-manifest.json +4 -0
  159. package/.next/server/app/api/internal/terminal/[taskId]/buffer/route.js +8 -0
  160. package/.next/server/app/api/internal/terminal/[taskId]/buffer/route.js.nft.json +1 -0
  161. package/.next/server/app/api/internal/terminal/[taskId]/buffer/route_client-reference-manifest.js +3 -0
  162. package/.next/server/app/api/internal/terminal/[taskId]/input/route/app-paths-manifest.json +3 -0
  163. package/.next/server/app/api/internal/terminal/[taskId]/input/route/build-manifest.json +9 -0
  164. package/.next/server/app/api/internal/terminal/[taskId]/input/route/server-reference-manifest.json +4 -0
  165. package/.next/server/app/api/internal/terminal/[taskId]/input/route.js +8 -0
  166. package/.next/server/app/api/internal/terminal/[taskId]/input/route.js.nft.json +1 -0
  167. package/.next/server/app/api/internal/terminal/[taskId]/input/route_client-reference-manifest.js +3 -0
  168. package/.next/server/app/api/internal/terminal/[taskId]/start/route/app-paths-manifest.json +3 -0
  169. package/.next/server/app/api/internal/terminal/[taskId]/start/route/build-manifest.json +9 -0
  170. package/.next/server/app/api/internal/terminal/[taskId]/start/route/server-reference-manifest.json +4 -0
  171. package/.next/server/app/api/internal/terminal/[taskId]/start/route.js +10 -0
  172. package/.next/server/app/api/internal/terminal/[taskId]/start/route.js.nft.json +1 -0
  173. package/.next/server/app/api/internal/terminal/[taskId]/start/route_client-reference-manifest.js +3 -0
  174. package/.next/server/app/api/tasks/[taskId]/diff/route/app-paths-manifest.json +3 -0
  175. package/.next/server/app/api/tasks/[taskId]/diff/route/build-manifest.json +9 -0
  176. package/.next/server/app/api/tasks/[taskId]/diff/route/server-reference-manifest.json +4 -0
  177. package/.next/server/app/api/tasks/[taskId]/diff/route.js +8 -0
  178. package/.next/server/app/api/tasks/[taskId]/diff/route.js.nft.json +1 -0
  179. package/.next/server/app/api/tasks/[taskId]/diff/route_client-reference-manifest.js +3 -0
  180. package/.next/server/app/api/tasks/[taskId]/merge/route/app-paths-manifest.json +3 -0
  181. package/.next/server/app/api/tasks/[taskId]/merge/route/build-manifest.json +9 -0
  182. package/.next/server/app/api/tasks/[taskId]/merge/route/server-reference-manifest.json +4 -0
  183. package/.next/server/app/api/tasks/[taskId]/merge/route.js +9 -0
  184. package/.next/server/app/api/tasks/[taskId]/merge/route.js.nft.json +1 -0
  185. package/.next/server/app/api/tasks/[taskId]/merge/route_client-reference-manifest.js +3 -0
  186. package/.next/server/app/apple-icon.png/route/app-paths-manifest.json +3 -0
  187. package/.next/server/app/apple-icon.png/route/build-manifest.json +9 -0
  188. package/.next/server/app/apple-icon.png/route.js +8 -0
  189. package/.next/server/app/apple-icon.png/route.js.nft.json +1 -0
  190. package/.next/server/app/apple-icon.png.meta +1 -0
  191. package/.next/server/app/favicon.ico/route/app-paths-manifest.json +3 -0
  192. package/.next/server/app/favicon.ico/route/build-manifest.json +9 -0
  193. package/.next/server/app/favicon.ico/route.js +8 -0
  194. package/.next/server/app/favicon.ico/route.js.nft.json +1 -0
  195. package/.next/server/app/favicon.ico.meta +1 -0
  196. package/.next/server/app/icon0.svg/route/app-paths-manifest.json +3 -0
  197. package/.next/server/app/icon0.svg/route/build-manifest.json +9 -0
  198. package/.next/server/app/icon0.svg/route.js +8 -0
  199. package/.next/server/app/icon0.svg/route.js.nft.json +1 -0
  200. package/.next/server/app/icon0.svg.meta +1 -0
  201. package/.next/server/app/icon1.png/route/app-paths-manifest.json +3 -0
  202. package/.next/server/app/icon1.png/route/build-manifest.json +9 -0
  203. package/.next/server/app/icon1.png/route.js +8 -0
  204. package/.next/server/app/icon1.png/route.js.nft.json +1 -0
  205. package/.next/server/app/icon1.png.meta +1 -0
  206. package/.next/server/app/index.html +1 -0
  207. package/.next/server/app/index.meta +16 -0
  208. package/.next/server/app/index.rsc +25 -0
  209. package/.next/server/app/index.segments/__PAGE__.segment.rsc +6 -0
  210. package/.next/server/app/index.segments/_full.segment.rsc +25 -0
  211. package/.next/server/app/index.segments/_head.segment.rsc +6 -0
  212. package/.next/server/app/index.segments/_index.segment.rsc +12 -0
  213. package/.next/server/app/index.segments/_tree.segment.rsc +6 -0
  214. package/.next/server/app/manifest.json/route/app-paths-manifest.json +3 -0
  215. package/.next/server/app/manifest.json/route/build-manifest.json +9 -0
  216. package/.next/server/app/manifest.json/route.js +7 -0
  217. package/.next/server/app/manifest.json/route.js.nft.json +1 -0
  218. package/.next/server/app/manifest.json.meta +1 -0
  219. package/.next/server/app/missions/page/app-paths-manifest.json +3 -0
  220. package/.next/server/app/missions/page/build-manifest.json +18 -0
  221. package/.next/server/app/missions/page/next-font-manifest.json +11 -0
  222. package/.next/server/app/missions/page/react-loadable-manifest.json +16 -0
  223. package/.next/server/app/missions/page/server-reference-manifest.json +401 -0
  224. package/.next/server/app/missions/page.js +22 -0
  225. package/.next/server/app/missions/page.js.nft.json +1 -0
  226. package/.next/server/app/missions/page_client-reference-manifest.js +3 -0
  227. package/.next/server/app/onboarding/page/app-paths-manifest.json +3 -0
  228. package/.next/server/app/onboarding/page/build-manifest.json +18 -0
  229. package/.next/server/app/onboarding/page/next-font-manifest.json +11 -0
  230. package/.next/server/app/onboarding/page/react-loadable-manifest.json +16 -0
  231. package/.next/server/app/onboarding/page/server-reference-manifest.json +233 -0
  232. package/.next/server/app/onboarding/page.js +21 -0
  233. package/.next/server/app/onboarding/page.js.nft.json +1 -0
  234. package/.next/server/app/onboarding/page_client-reference-manifest.js +3 -0
  235. package/.next/server/app/onboarding.html +1 -0
  236. package/.next/server/app/onboarding.meta +15 -0
  237. package/.next/server/app/onboarding.rsc +30 -0
  238. package/.next/server/app/onboarding.segments/_full.segment.rsc +30 -0
  239. package/.next/server/app/onboarding.segments/_head.segment.rsc +6 -0
  240. package/.next/server/app/onboarding.segments/_index.segment.rsc +12 -0
  241. package/.next/server/app/onboarding.segments/_tree.segment.rsc +6 -0
  242. package/.next/server/app/onboarding.segments/onboarding/__PAGE__.segment.rsc +9 -0
  243. package/.next/server/app/onboarding.segments/onboarding.segment.rsc +5 -0
  244. package/.next/server/app/page/app-paths-manifest.json +3 -0
  245. package/.next/server/app/page/build-manifest.json +18 -0
  246. package/.next/server/app/page/next-font-manifest.json +11 -0
  247. package/.next/server/app/page/react-loadable-manifest.json +16 -0
  248. package/.next/server/app/page/server-reference-manifest.json +233 -0
  249. package/.next/server/app/page.js +21 -0
  250. package/.next/server/app/page.js.nft.json +1 -0
  251. package/.next/server/app/page_client-reference-manifest.js +3 -0
  252. package/.next/server/app/settings/page/app-paths-manifest.json +3 -0
  253. package/.next/server/app/settings/page/build-manifest.json +18 -0
  254. package/.next/server/app/settings/page/next-font-manifest.json +11 -0
  255. package/.next/server/app/settings/page/react-loadable-manifest.json +16 -0
  256. package/.next/server/app/settings/page/server-reference-manifest.json +341 -0
  257. package/.next/server/app/settings/page.js +21 -0
  258. package/.next/server/app/settings/page.js.nft.json +1 -0
  259. package/.next/server/app/settings/page_client-reference-manifest.js +3 -0
  260. package/.next/server/app/settings.html +1 -0
  261. package/.next/server/app/settings.meta +15 -0
  262. package/.next/server/app/settings.rsc +30 -0
  263. package/.next/server/app/settings.segments/_full.segment.rsc +30 -0
  264. package/.next/server/app/settings.segments/_head.segment.rsc +6 -0
  265. package/.next/server/app/settings.segments/_index.segment.rsc +12 -0
  266. package/.next/server/app/settings.segments/_tree.segment.rsc +6 -0
  267. package/.next/server/app/settings.segments/settings/__PAGE__.segment.rsc +9 -0
  268. package/.next/server/app/settings.segments/settings.segment.rsc +5 -0
  269. package/.next/server/app/workspaces/[workspaceId]/archive/page/app-paths-manifest.json +3 -0
  270. package/.next/server/app/workspaces/[workspaceId]/archive/page/build-manifest.json +18 -0
  271. package/.next/server/app/workspaces/[workspaceId]/archive/page/next-font-manifest.json +11 -0
  272. package/.next/server/app/workspaces/[workspaceId]/archive/page/react-loadable-manifest.json +16 -0
  273. package/.next/server/app/workspaces/[workspaceId]/archive/page/server-reference-manifest.json +497 -0
  274. package/.next/server/app/workspaces/[workspaceId]/archive/page.js +21 -0
  275. package/.next/server/app/workspaces/[workspaceId]/archive/page.js.nft.json +1 -0
  276. package/.next/server/app/workspaces/[workspaceId]/archive/page_client-reference-manifest.js +3 -0
  277. package/.next/server/app/workspaces/[workspaceId]/assets/page/app-paths-manifest.json +3 -0
  278. package/.next/server/app/workspaces/[workspaceId]/assets/page/build-manifest.json +18 -0
  279. package/.next/server/app/workspaces/[workspaceId]/assets/page/next-font-manifest.json +11 -0
  280. package/.next/server/app/workspaces/[workspaceId]/assets/page/react-loadable-manifest.json +16 -0
  281. package/.next/server/app/workspaces/[workspaceId]/assets/page/server-reference-manifest.json +461 -0
  282. package/.next/server/app/workspaces/[workspaceId]/assets/page.js +21 -0
  283. package/.next/server/app/workspaces/[workspaceId]/assets/page.js.nft.json +1 -0
  284. package/.next/server/app/workspaces/[workspaceId]/assets/page_client-reference-manifest.js +3 -0
  285. package/.next/server/app/workspaces/[workspaceId]/notes/page/app-paths-manifest.json +3 -0
  286. package/.next/server/app/workspaces/[workspaceId]/notes/page/build-manifest.json +18 -0
  287. package/.next/server/app/workspaces/[workspaceId]/notes/page/next-font-manifest.json +11 -0
  288. package/.next/server/app/workspaces/[workspaceId]/notes/page/react-loadable-manifest.json +16 -0
  289. package/.next/server/app/workspaces/[workspaceId]/notes/page/server-reference-manifest.json +401 -0
  290. package/.next/server/app/workspaces/[workspaceId]/notes/page.js +21 -0
  291. package/.next/server/app/workspaces/[workspaceId]/notes/page.js.nft.json +1 -0
  292. package/.next/server/app/workspaces/[workspaceId]/notes/page_client-reference-manifest.js +3 -0
  293. package/.next/server/app/workspaces/[workspaceId]/page/app-paths-manifest.json +3 -0
  294. package/.next/server/app/workspaces/[workspaceId]/page/build-manifest.json +18 -0
  295. package/.next/server/app/workspaces/[workspaceId]/page/next-font-manifest.json +11 -0
  296. package/.next/server/app/workspaces/[workspaceId]/page/react-loadable-manifest.json +16 -0
  297. package/.next/server/app/workspaces/[workspaceId]/page/server-reference-manifest.json +569 -0
  298. package/.next/server/app/workspaces/[workspaceId]/page.js +22 -0
  299. package/.next/server/app/workspaces/[workspaceId]/page.js.nft.json +1 -0
  300. package/.next/server/app/workspaces/[workspaceId]/page_client-reference-manifest.js +3 -0
  301. package/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/page/app-paths-manifest.json +3 -0
  302. package/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/page/build-manifest.json +18 -0
  303. package/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/page/next-font-manifest.json +11 -0
  304. package/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/page/react-loadable-manifest.json +16 -0
  305. package/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/page/server-reference-manifest.json +233 -0
  306. package/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/page.js +21 -0
  307. package/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/page.js.nft.json +1 -0
  308. package/.next/server/app/workspaces/[workspaceId]/projects/[projectId]/page_client-reference-manifest.js +3 -0
  309. package/.next/server/app/workspaces/[workspaceId]/tasks/[taskId]/page/app-paths-manifest.json +3 -0
  310. package/.next/server/app/workspaces/[workspaceId]/tasks/[taskId]/page/build-manifest.json +18 -0
  311. package/.next/server/app/workspaces/[workspaceId]/tasks/[taskId]/page/next-font-manifest.json +11 -0
  312. package/.next/server/app/workspaces/[workspaceId]/tasks/[taskId]/page/react-loadable-manifest.json +22 -0
  313. package/.next/server/app/workspaces/[workspaceId]/tasks/[taskId]/page/server-reference-manifest.json +581 -0
  314. package/.next/server/app/workspaces/[workspaceId]/tasks/[taskId]/page.js +23 -0
  315. package/.next/server/app/workspaces/[workspaceId]/tasks/[taskId]/page.js.nft.json +1 -0
  316. package/.next/server/app/workspaces/[workspaceId]/tasks/[taskId]/page_client-reference-manifest.js +3 -0
  317. package/.next/server/app/workspaces/page/app-paths-manifest.json +3 -0
  318. package/.next/server/app/workspaces/page/build-manifest.json +18 -0
  319. package/.next/server/app/workspaces/page/next-font-manifest.json +11 -0
  320. package/.next/server/app/workspaces/page/react-loadable-manifest.json +16 -0
  321. package/.next/server/app/workspaces/page/server-reference-manifest.json +329 -0
  322. package/.next/server/app/workspaces/page.js +21 -0
  323. package/.next/server/app/workspaces/page.js.nft.json +1 -0
  324. package/.next/server/app/workspaces/page_client-reference-manifest.js +3 -0
  325. package/.next/server/app-paths-manifest.json +41 -0
  326. package/.next/server/chunks/03j-_@anthropic-ai_claude-agent-sdk_sdk_mjs_04597t~._.js +85 -0
  327. package/.next/server/chunks/0cve_next-internal_server_app_api_internal_cache_[___segments]_route_actions_09n1sa3.js +3 -0
  328. package/.next/server/chunks/0tp-_server_app_api_files_assets_[projectId]_[filename]_route_actions_02i2urs.js +3 -0
  329. package/.next/server/chunks/0tp-_server_app_api_internal_assets_[projectId]_[filename]_route_actions_0kjz576.js +3 -0
  330. package/.next/server/chunks/0tp-_server_app_api_internal_notifications_pending_route_actions_08bx38r.js +3 -0
  331. package/.next/server/chunks/0tp-_server_app_api_internal_terminal_[taskId]_buffer_route_actions_0bpyf5x.js +3 -0
  332. package/.next/server/chunks/0tp-_server_app_api_internal_terminal_[taskId]_input_route_actions_0alu32r.js +3 -0
  333. package/.next/server/chunks/0tp-_server_app_api_internal_terminal_[taskId]_start_route_actions_0swqog2.js +3 -0
  334. package/.next/server/chunks/0w1v_zod_v4_classic_external_0m-7hz_.js +39 -0
  335. package/.next/server/chunks/0~.g__next-internal_server_app_api_internal_assistant_chat_route_actions_0x-qbrh.js +3 -0
  336. package/.next/server/chunks/0~.g__next-internal_server_app_api_internal_assistant_images_route_actions_0vws40t.js +3 -0
  337. package/.next/server/chunks/0~.g__next-internal_server_app_api_internal_assistant_sessions_route_actions_0p09rcp.js +3 -0
  338. package/.next/server/chunks/10ge_next_dist_08.3req._.js +13 -0
  339. package/.next/server/chunks/10ge_next_dist_esm_build_templates_app-route_00gmiw_.js +3 -0
  340. package/.next/server/chunks/10ge_next_dist_esm_build_templates_app-route_0jwpolf.js +3 -0
  341. package/.next/server/chunks/10ge_next_dist_esm_build_templates_app-route_0liabcf.js +3 -0
  342. package/.next/server/chunks/10ge_next_dist_esm_build_templates_app-route_0z9_0_i.js +3 -0
  343. package/.next/server/chunks/10ge_next_dist_esm_build_templates_app-route_13w3ubu.js +3 -0
  344. package/.next/server/chunks/10ge_next_dist_esm_build_templates_app-route_13~vb_i.js +4 -0
  345. package/.next/server/chunks/[externals]__02xkqim._.js +3 -0
  346. package/.next/server/chunks/[externals]__09oeovy._.js +3 -0
  347. package/.next/server/chunks/[externals]__0~rg.xo._.js +3 -0
  348. package/.next/server/chunks/[externals]__11rejr-._.js +3 -0
  349. package/.next/server/chunks/[externals]_child_process_0pwkpv9._.js +3 -0
  350. package/.next/server/chunks/[externals]_next_dist_0g2nsos._.js +3 -0
  351. package/.next/server/chunks/[externals]_util_0wtvqkc._.js +3 -0
  352. package/.next/server/chunks/[root-of-the-server]__02p-gd5._.js +3 -0
  353. package/.next/server/chunks/[root-of-the-server]__0319djr._.js +3 -0
  354. package/.next/server/chunks/[root-of-the-server]__043lk8~._.js +4 -0
  355. package/.next/server/chunks/[root-of-the-server]__053y9tf._.js +3 -0
  356. package/.next/server/chunks/[root-of-the-server]__05pxb~w._.js +20 -0
  357. package/.next/server/chunks/[root-of-the-server]__07-am_7._.js +20 -0
  358. package/.next/server/chunks/[root-of-the-server]__09gjz6h._.js +3 -0
  359. package/.next/server/chunks/[root-of-the-server]__0_irb2s._.js +3 -0
  360. package/.next/server/chunks/[root-of-the-server]__0c4edwt._.js +3 -0
  361. package/.next/server/chunks/[root-of-the-server]__0c7y1r0._.js +3 -0
  362. package/.next/server/chunks/[root-of-the-server]__0dj34zn._.js +3 -0
  363. package/.next/server/chunks/[root-of-the-server]__0dqta7g._.js +3 -0
  364. package/.next/server/chunks/[root-of-the-server]__0j3gbp7._.js +3 -0
  365. package/.next/server/chunks/[root-of-the-server]__0ko_rm_._.js +3 -0
  366. package/.next/server/chunks/[root-of-the-server]__0miy2g.._.js +3 -0
  367. package/.next/server/chunks/[root-of-the-server]__0mt-eeb._.js +3 -0
  368. package/.next/server/chunks/[root-of-the-server]__0n-6-hc._.js +3 -0
  369. package/.next/server/chunks/[root-of-the-server]__0nur_ir._.js +3 -0
  370. package/.next/server/chunks/[root-of-the-server]__0pz60q-._.js +20 -0
  371. package/.next/server/chunks/[root-of-the-server]__0q~5ya5._.js +3 -0
  372. package/.next/server/chunks/[root-of-the-server]__0rpqx55._.js +3 -0
  373. package/.next/server/chunks/[root-of-the-server]__0sjsc63._.js +4 -0
  374. package/.next/server/chunks/[root-of-the-server]__0th.w7w._.js +3 -0
  375. package/.next/server/chunks/[root-of-the-server]__0u..agy._.js +11 -0
  376. package/.next/server/chunks/[root-of-the-server]__0umzekq._.js +3 -0
  377. package/.next/server/chunks/[root-of-the-server]__0wu61w.._.js +3 -0
  378. package/.next/server/chunks/[root-of-the-server]__11v.yk_._.js +4 -0
  379. package/.next/server/chunks/[root-of-the-server]__12._zd-._.js +3 -0
  380. package/.next/server/chunks/[root-of-the-server]__130shf~._.js +3 -0
  381. package/.next/server/chunks/[turbopack]_runtime.js +903 -0
  382. package/.next/server/chunks/ssr/03j-_@anthropic-ai_claude-agent-sdk_sdk_mjs_0kr2_y.._.js +84 -0
  383. package/.next/server/chunks/ssr/040e_@monaco-editor_react_dist_index_mjs_0t4i-ho._.js +3 -0
  384. package/.next/server/chunks/ssr/040e_@monaco-editor_react_dist_index_mjs_0z6t1fr._.js +3 -0
  385. package/.next/server/chunks/ssr/0kjx__pnpm_0g9g8h6._.js +3 -0
  386. package/.next/server/chunks/ssr/0kjx__pnpm_0l.5ii.._.js +3 -0
  387. package/.next/server/chunks/ssr/0kjx__pnpm_0wrn.h9._.js +14 -0
  388. package/.next/server/chunks/ssr/0rik_@dnd-kit_core_dist_core_esm_11giptg.js +3 -0
  389. package/.next/server/chunks/ssr/0~.g_src_app_workspaces_[workspaceId]_tasks_[taskId]_task-page-client_tsx_0bbseig._.js +3 -0
  390. package/.next/server/chunks/ssr/10ge_next_00.-vj.._.js +18 -0
  391. package/.next/server/chunks/ssr/10ge_next_dist_01n~t8z._.js +6 -0
  392. package/.next/server/chunks/ssr/10ge_next_dist_06_-w96._.js +19 -0
  393. package/.next/server/chunks/ssr/10ge_next_dist_0pw4my6._.js +6 -0
  394. package/.next/server/chunks/ssr/10ge_next_dist_0wjbiu9._.js +3 -0
  395. package/.next/server/chunks/ssr/10ge_next_dist_0~ti7jc._.js +3 -0
  396. package/.next/server/chunks/ssr/10ge_next_dist_10.ihny._.js +3 -0
  397. package/.next/server/chunks/ssr/10ge_next_dist_client_components_0--gzcy._.js +3 -0
  398. package/.next/server/chunks/ssr/10ge_next_dist_client_components_0eil7-a._.js +33 -0
  399. package/.next/server/chunks/ssr/10ge_next_dist_client_components_builtin_forbidden_0nzsnb2.js +3 -0
  400. package/.next/server/chunks/ssr/10ge_next_dist_client_components_builtin_global-error_125sopd.js +3 -0
  401. package/.next/server/chunks/ssr/10ge_next_dist_client_components_builtin_unauthorized_0z93cpe.js +3 -0
  402. package/.next/server/chunks/ssr/10ge_next_dist_compiled_0g45ze2._.js +3 -0
  403. package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_080g02v.js +4 -0
  404. package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_08khzah.js +4 -0
  405. package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_09~o5q0.js +4 -0
  406. package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_0_rj_f4.js +4 -0
  407. package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_0c-wmj1.js +4 -0
  408. package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_0fjd2ua.js +4 -0
  409. package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_0hpuyf0.js +4 -0
  410. package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_0knnyic.js +4 -0
  411. package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_0oi86k6.js +4 -0
  412. package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_0rmwdra.js +4 -0
  413. package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_0zgisbd.js +4 -0
  414. package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_11pz1fw.js +4 -0
  415. package/.next/server/chunks/ssr/10ge_next_dist_esm_build_templates_app-page_12reczc.js +4 -0
  416. package/.next/server/chunks/ssr/119e_lucide-react_dist_esm_icons_0636jyq._.js +3 -0
  417. package/.next/server/chunks/ssr/[externals]__0of4r_r._.js +3 -0
  418. package/.next/server/chunks/ssr/[externals]__0z1ffhu._.js +3 -0
  419. package/.next/server/chunks/ssr/[externals]_child_process_0pwkpv9._.js +3 -0
  420. package/.next/server/chunks/ssr/[root-of-the-server]__0-0j_z3._.js +3 -0
  421. package/.next/server/chunks/ssr/[root-of-the-server]__0.8y0n9._.js +3 -0
  422. package/.next/server/chunks/ssr/[root-of-the-server]__0.uoh7q._.js +3 -0
  423. package/.next/server/chunks/ssr/[root-of-the-server]__01ws4-7._.js +3 -0
  424. package/.next/server/chunks/ssr/[root-of-the-server]__024-5kd._.js +3 -0
  425. package/.next/server/chunks/ssr/[root-of-the-server]__02ipahf._.js +3 -0
  426. package/.next/server/chunks/ssr/[root-of-the-server]__03.14vw._.js +3 -0
  427. package/.next/server/chunks/ssr/[root-of-the-server]__04xn50b._.js +30 -0
  428. package/.next/server/chunks/ssr/[root-of-the-server]__05452ke._.js +30 -0
  429. package/.next/server/chunks/ssr/[root-of-the-server]__06o5v8i._.js +30 -0
  430. package/.next/server/chunks/ssr/[root-of-the-server]__06sm5cw._.js +3 -0
  431. package/.next/server/chunks/ssr/[root-of-the-server]__09m32ch._.js +3 -0
  432. package/.next/server/chunks/ssr/[root-of-the-server]__0_0kxz4._.js +3 -0
  433. package/.next/server/chunks/ssr/[root-of-the-server]__0adx8p4._.js +30 -0
  434. package/.next/server/chunks/ssr/[root-of-the-server]__0bk3s4l._.js +3 -0
  435. package/.next/server/chunks/ssr/[root-of-the-server]__0d5p5d.._.js +30 -0
  436. package/.next/server/chunks/ssr/[root-of-the-server]__0d7u1lw._.js +3 -0
  437. package/.next/server/chunks/ssr/[root-of-the-server]__0fg8.hp._.js +3 -0
  438. package/.next/server/chunks/ssr/[root-of-the-server]__0gsj3~.._.js +30 -0
  439. package/.next/server/chunks/ssr/[root-of-the-server]__0hvz_0c._.js +3 -0
  440. package/.next/server/chunks/ssr/[root-of-the-server]__0i6glcp._.js +30 -0
  441. package/.next/server/chunks/ssr/[root-of-the-server]__0ibsor_._.js +3 -0
  442. package/.next/server/chunks/ssr/[root-of-the-server]__0j5~a_o._.js +3 -0
  443. package/.next/server/chunks/ssr/[root-of-the-server]__0jgbj6l._.js +3 -0
  444. package/.next/server/chunks/ssr/[root-of-the-server]__0jux8~h._.js +33 -0
  445. package/.next/server/chunks/ssr/[root-of-the-server]__0l~dc3x._.js +3 -0
  446. package/.next/server/chunks/ssr/[root-of-the-server]__0mab0km._.js +3 -0
  447. package/.next/server/chunks/ssr/[root-of-the-server]__0n32nv5._.js +30 -0
  448. package/.next/server/chunks/ssr/[root-of-the-server]__0n8qufu._.js +3 -0
  449. package/.next/server/chunks/ssr/[root-of-the-server]__0ndt9h3._.js +3 -0
  450. package/.next/server/chunks/ssr/[root-of-the-server]__0p~u4y6._.js +3 -0
  451. package/.next/server/chunks/ssr/[root-of-the-server]__0q.du4s._.js +3 -0
  452. package/.next/server/chunks/ssr/[root-of-the-server]__0rs7pkn._.js +3 -0
  453. package/.next/server/chunks/ssr/[root-of-the-server]__0sysz2q._.js +47 -0
  454. package/.next/server/chunks/ssr/[root-of-the-server]__0t25~v8._.js +3 -0
  455. package/.next/server/chunks/ssr/[root-of-the-server]__0ti70do._.js +3 -0
  456. package/.next/server/chunks/ssr/[root-of-the-server]__0uevudp._.js +30 -0
  457. package/.next/server/chunks/ssr/[root-of-the-server]__0wwqzmm._.js +3 -0
  458. package/.next/server/chunks/ssr/[root-of-the-server]__0xt3-qb._.js +3 -0
  459. package/.next/server/chunks/ssr/[root-of-the-server]__0y-lkvf._.js +3 -0
  460. package/.next/server/chunks/ssr/[root-of-the-server]__0zvf.ro._.js +3 -0
  461. package/.next/server/chunks/ssr/[root-of-the-server]__0~jc3l5._.js +3 -0
  462. package/.next/server/chunks/ssr/[root-of-the-server]__11m7m-q._.js +3 -0
  463. package/.next/server/chunks/ssr/[root-of-the-server]__1223b0_._.js +30 -0
  464. package/.next/server/chunks/ssr/[root-of-the-server]__12f810l._.js +3 -0
  465. package/.next/server/chunks/ssr/[root-of-the-server]__13-by9r._.js +33 -0
  466. package/.next/server/chunks/ssr/[root-of-the-server]__13-egel._.js +3 -0
  467. package/.next/server/chunks/ssr/[turbopack]_runtime.js +903 -0
  468. package/.next/server/chunks/ssr/tower_0-nwtka._.js +3 -0
  469. package/.next/server/chunks/ssr/tower_0-omr_b._.js +30 -0
  470. package/.next/server/chunks/ssr/tower_00.hg6u._.js +3 -0
  471. package/.next/server/chunks/ssr/tower_01szasw._.js +3 -0
  472. package/.next/server/chunks/ssr/tower_02he7d6._.js +3 -0
  473. package/.next/server/chunks/ssr/tower_035l~qv._.js +3 -0
  474. package/.next/server/chunks/ssr/tower_03jazku._.js +3 -0
  475. package/.next/server/chunks/ssr/tower_09~lpto._.js +3 -0
  476. package/.next/server/chunks/ssr/tower_0d.car1._.js +30 -0
  477. package/.next/server/chunks/ssr/tower_0egtw-7._.js +30 -0
  478. package/.next/server/chunks/ssr/tower_0gzwyem._.js +3 -0
  479. package/.next/server/chunks/ssr/tower_0h3r32m._.js +30 -0
  480. package/.next/server/chunks/ssr/tower_0kl_bfy._.js +7 -0
  481. package/.next/server/chunks/ssr/tower_0mz4ut.._.js +3 -0
  482. package/.next/server/chunks/ssr/tower_0nuj.0p._.js +39 -0
  483. package/.next/server/chunks/ssr/tower_0pcqezm._.js +3 -0
  484. package/.next/server/chunks/ssr/tower_0r7uuim._.js +30 -0
  485. package/.next/server/chunks/ssr/tower_0sojjnu._.js +3 -0
  486. package/.next/server/chunks/ssr/tower_0tc~.xl._.js +30 -0
  487. package/.next/server/chunks/ssr/tower_0tuq2iz._.js +30 -0
  488. package/.next/server/chunks/ssr/tower_0vo6u9i._.js +3 -0
  489. package/.next/server/chunks/ssr/tower_0wvk~r.._.js +3 -0
  490. package/.next/server/chunks/ssr/tower_10p15te._.js +3 -0
  491. package/.next/server/chunks/ssr/tower_10t13p4._.js +6 -0
  492. package/.next/server/chunks/ssr/tower_117pzh8._.js +3 -0
  493. package/.next/server/chunks/ssr/tower_11q5_.m._.js +3 -0
  494. package/.next/server/chunks/ssr/tower_12sld1c._.js +3 -0
  495. package/.next/server/chunks/ssr/tower_138qlx5._.js +3 -0
  496. package/.next/server/chunks/ssr/tower__next-internal_server_app__global-error_page_actions_13t5~qk.js +3 -0
  497. package/.next/server/chunks/ssr/tower_src_08t.wy-._.js +3 -0
  498. package/.next/server/chunks/ssr/tower_src_actions_agent-actions_ts_0j.e1tn._.js +4 -0
  499. package/.next/server/chunks/ssr/tower_src_actions_file-actions_ts_0424lna._.js +3 -0
  500. package/.next/server/chunks/ssr/tower_src_app_missions_missions-client_tsx_0a9vjyr._.js +3 -0
  501. package/.next/server/chunks/ssr/tower_src_app_onboarding_page_tsx_0_3krz1._.js +3 -0
  502. package/.next/server/chunks/ssr/tower_src_app_settings_page_tsx_0vo5e-o._.js +3 -0
  503. package/.next/server/chunks/ssr/tower_src_app_workspaces_[workspaceId]_assets_assets-page-client_tsx_0zfgzhi._.js +3 -0
  504. package/.next/server/chunks/ssr/tower_src_app_workspaces_[workspaceId]_board-page-client_tsx_0kjp1u0._.js +7 -0
  505. package/.next/server/chunks/ssr/tower_src_components_ui_select_tsx_10ajx~2._.js +3 -0
  506. package/.next/server/chunks/ssr/tower_src_lib_01420_4._.js +3 -0
  507. package/.next/server/chunks/ssr/tower_src_lib_0i-zjpa._.js +3 -0
  508. package/.next/server/chunks/ssr/tower_src_lib_0ja~kdb._.js +3 -0
  509. package/.next/server/chunks/ssr/tower_src_lib_0obw2r8._.js +3 -0
  510. package/.next/server/chunks/ssr/tower_src_lib_0rgfsuf._.js +3 -0
  511. package/.next/server/chunks/ssr/tower_src_lib_constants_ts_0o218_c._.js +3 -0
  512. package/.next/server/chunks/tower_03g~ktv._.js +7 -0
  513. package/.next/server/chunks/tower_05du07.._.js +10 -0
  514. package/.next/server/chunks/tower_0a-x6m.._.js +3 -0
  515. package/.next/server/chunks/tower__next-internal_server_app_api_adapters_test_route_actions_13jw~9b.js +3 -0
  516. package/.next/server/chunks/tower__next-internal_server_app_api_browse-fs_route_actions_0k5p2xy.js +3 -0
  517. package/.next/server/chunks/tower__next-internal_server_app_api_git_route_actions_0rvpodb.js +3 -0
  518. package/.next/server/chunks/tower__next-internal_server_app_api_internal_assets_reveal_route_actions_0idwm6j.js +3 -0
  519. package/.next/server/chunks/tower__next-internal_server_app_api_internal_assistant_route_actions_0rdz1d..js +3 -0
  520. package/.next/server/chunks/tower__next-internal_server_app_api_internal_hooks_install_route_actions_06dxleu.js +3 -0
  521. package/.next/server/chunks/tower__next-internal_server_app_api_internal_hooks_session_route_actions_0wlv4lf.js +3 -0
  522. package/.next/server/chunks/tower__next-internal_server_app_api_internal_hooks_stop_route_actions_101_oub.js +3 -0
  523. package/.next/server/chunks/tower__next-internal_server_app_api_internal_hooks_upload_route_actions_0439qz_.js +3 -0
  524. package/.next/server/chunks/tower__next-internal_server_app_api_tasks_[taskId]_diff_route_actions_0nthc84.js +3 -0
  525. package/.next/server/chunks/tower__next-internal_server_app_api_tasks_[taskId]_merge_route_actions_0g.x0nb.js +3 -0
  526. package/.next/server/chunks/tower__next-internal_server_app_apple-icon_png_route_actions_0bni-sb.js +3 -0
  527. package/.next/server/chunks/tower__next-internal_server_app_favicon_ico_route_actions_0kw~xj2.js +3 -0
  528. package/.next/server/chunks/tower__next-internal_server_app_icon0_svg_route_actions_0nww9-e.js +3 -0
  529. package/.next/server/chunks/tower__next-internal_server_app_icon1_png_route_actions_09h.ywu.js +3 -0
  530. package/.next/server/chunks/tower__next-internal_server_app_manifest_json_route_actions_080ob~r.js +3 -0
  531. package/.next/server/chunks/tower_src_0..vg-t._.js +3 -0
  532. package/.next/server/chunks/tower_src_05rqj.1._.js +3 -0
  533. package/.next/server/chunks/tower_src_lib_0uok6j3._.js +3 -0
  534. package/.next/server/chunks/tower_src_lib_0w8qt4s._.js +3 -0
  535. package/.next/server/chunks/tower_src_lib_constants_ts_0cxd4.p._.js +3 -0
  536. package/.next/server/edge/chunks/0y9m_next_dist_esm_build_templates_edge-wrapper_0cx_eo..js +3 -0
  537. package/.next/server/edge/chunks/tower_0wvfs38._.js +3 -0
  538. package/.next/server/functions-config-manifest.json +22 -0
  539. package/.next/server/instrumentation/middleware-manifest.json +12 -0
  540. package/.next/server/instrumentation.js +4 -0
  541. package/.next/server/instrumentation.js.nft.json +1 -0
  542. package/.next/server/interception-route-rewrite-manifest.js +1 -0
  543. package/.next/server/middleware-build-manifest.js +22 -0
  544. package/.next/server/middleware-manifest.json +6 -0
  545. package/.next/server/next-font-manifest.js +1 -0
  546. package/.next/server/next-font-manifest.json +55 -0
  547. package/.next/server/pages/404.html +1 -0
  548. package/.next/server/pages/500.html +1 -0
  549. package/.next/server/pages-manifest.json +4 -0
  550. package/.next/server/prefetch-hints.json +1 -0
  551. package/.next/server/server-reference-manifest.js +1 -0
  552. package/.next/server/server-reference-manifest.json +2778 -0
  553. package/.next/static/6AW1vTU7iJEkEhqIH0txT/_buildManifest.js +11 -0
  554. package/.next/static/6AW1vTU7iJEkEhqIH0txT/_clientMiddlewareManifest.js +1 -0
  555. package/.next/static/6AW1vTU7iJEkEhqIH0txT/_ssgManifest.js +1 -0
  556. package/.next/static/chunks/0-64z7pmj57~d.js +1 -0
  557. package/.next/static/chunks/00xbbu.nlx92z.js +1 -0
  558. package/.next/static/chunks/00z-g3x93ngvn.js +1 -0
  559. package/.next/static/chunks/03e.4ymu.j5wl.js +1 -0
  560. package/.next/static/chunks/03~yq9q893hmn.js +1 -0
  561. package/.next/static/chunks/049.9ha2n6os5.js +1 -0
  562. package/.next/static/chunks/05-b9qqm3av9~.js +1 -0
  563. package/.next/static/chunks/05j6t69jmpqju.js +1 -0
  564. package/.next/static/chunks/05~v02mkan5z..js +1 -0
  565. package/.next/static/chunks/07a_xadb-3w1a.js +1 -0
  566. package/.next/static/chunks/0_.pyr2jhdqa2.js +5 -0
  567. package/.next/static/chunks/0_c8duf92i~xg.js +1 -0
  568. package/.next/static/chunks/0a2blrvqw8t5y.js +5 -0
  569. package/.next/static/chunks/0abtpeymj-58i.js +1 -0
  570. package/.next/static/chunks/0drgc-oztq6o-.css +1 -0
  571. package/.next/static/chunks/0eaa2lmymh2fx.js +1 -0
  572. package/.next/static/chunks/0j9qriqni_r1..js +2 -0
  573. package/.next/static/chunks/0k.u8sxy~e469.js +4 -0
  574. package/.next/static/chunks/0kc-95qs2~eid.js +1 -0
  575. package/.next/static/chunks/0kojsk~4uroqj.js +1 -0
  576. package/.next/static/chunks/0kt2vohpgb7h6.js +1 -0
  577. package/.next/static/chunks/0kubr70r_r2f2.js +1 -0
  578. package/.next/static/chunks/0lvd52mjiit6s.js +1 -0
  579. package/.next/static/chunks/0mq0uqbbbb1~2.js +1 -0
  580. package/.next/static/chunks/0neevhl_o1ozu.css +2 -0
  581. package/.next/static/chunks/0omj~p3uxkic-.js +1 -0
  582. package/.next/static/chunks/0t-gr6j-c65qb.js +1 -0
  583. package/.next/static/chunks/0tcl81ybuob5i.js +1 -0
  584. package/.next/static/chunks/0ttrpz.l-v-yv.js +1 -0
  585. package/.next/static/chunks/0uqimvsni_op~.js +1 -0
  586. package/.next/static/chunks/0wt3kws~_yr8z.js +1 -0
  587. package/.next/static/chunks/0z-ecklemrfx-.js +1 -0
  588. package/.next/static/chunks/0z2bzovqhl2f5.js +1 -0
  589. package/.next/static/chunks/0z61ts2ro9_k3.js +83 -0
  590. package/.next/static/chunks/0z7bwntvfhxzi.js +12 -0
  591. package/.next/static/chunks/10n23t.1hpb-1.js +1 -0
  592. package/.next/static/chunks/14xzmrt5ly6gq.js +31 -0
  593. package/.next/static/chunks/151wr~6x8aclx.js +1 -0
  594. package/.next/static/chunks/16w-ap~msrwpj.js +1 -0
  595. package/.next/static/chunks/17oc2l.ekcs8b.css +1 -0
  596. package/.next/static/chunks/turbopack-0wjmrsi.z32s0.js +1 -0
  597. package/.next/static/media/4fa387ec64143e14-s.0q3udbd2bu5yp.woff2 +0 -0
  598. package/.next/static/media/7178b3e590c64307-s.11.cyxs5p-0z~.woff2 +0 -0
  599. package/.next/static/media/797e433ab948586e-s.p.0.q-h669a_dqa.woff2 +0 -0
  600. package/.next/static/media/8a480f0b521d4e75-s.06d3mdzz5bre_.woff2 +0 -0
  601. package/.next/static/media/apple-icon.16aocl-s-v2qz.png +0 -0
  602. package/.next/static/media/bbc41e54d2fcbd21-s.0gw~uztddq1df.woff2 +0 -0
  603. package/.next/static/media/caa3a2e1cccd8315-s.p.16t1db8_9y2o~.woff2 +0 -0
  604. package/.next/static/media/favicon.0y2d6j9cou~8p.ico +0 -0
  605. package/.next/static/media/icon0.0a6mkq6meyird.svg +1 -0
  606. package/.next/static/media/icon1.04ux133882seb.png +0 -0
  607. package/.next/trace +2 -0
  608. package/.next/trace-build +1 -0
  609. package/.next/turbopack +0 -0
  610. package/.next/types/routes.d.ts +103 -0
  611. package/.next/types/validator.ts +349 -0
  612. package/package.json +14 -11
  613. package/components.json +0 -25
  614. package/postcss.config.mjs +0 -7
  615. package/prisma/dev.db +0 -0
  616. package/prisma/prisma/dev.db +0 -0
  617. package/prisma/seed.ts +0 -50
  618. package/scripts/init-tower.ts +0 -10
  619. package/scripts/post-tool-hook.js +0 -188
  620. package/scripts/session-start-hook.js +0 -79
  621. package/scripts/stop-hook.js +0 -78
  622. package/skills/tower/SKILL.md +0 -375
  623. package/src/actions/__tests__/agent-actions-username.test.ts +0 -30
  624. package/src/actions/__tests__/asset-actions.test.ts +0 -251
  625. package/src/actions/__tests__/assistant-actions.test.ts +0 -20
  626. package/src/actions/__tests__/cli-profile-actions.test.ts +0 -243
  627. package/src/actions/__tests__/label-actions.test.ts +0 -187
  628. package/src/actions/__tests__/note-actions.test.ts +0 -237
  629. package/src/actions/__tests__/onboarding-actions.test.ts +0 -265
  630. package/src/actions/__tests__/project-actions.test.ts +0 -179
  631. package/src/actions/__tests__/prompt-actions.test.ts +0 -213
  632. package/src/actions/__tests__/report-actions.test.ts +0 -246
  633. package/src/actions/__tests__/search-code-actions.test.ts +0 -308
  634. package/src/actions/__tests__/task-actions-overview.test.ts +0 -58
  635. package/src/actions/__tests__/task-actions-pin.test.ts +0 -79
  636. package/src/actions/__tests__/workspace-actions.test.ts +0 -256
  637. package/src/actions/agent-actions.ts +0 -741
  638. package/src/actions/agent-config-actions.ts +0 -44
  639. package/src/actions/ai-config-actions.ts +0 -51
  640. package/src/actions/asset-actions.ts +0 -131
  641. package/src/actions/assistant-actions.ts +0 -107
  642. package/src/actions/cli-profile-actions.ts +0 -98
  643. package/src/actions/config-actions.ts +0 -84
  644. package/src/actions/file-actions.ts +0 -262
  645. package/src/actions/git-actions.ts +0 -90
  646. package/src/actions/label-actions.ts +0 -67
  647. package/src/actions/note-actions.ts +0 -87
  648. package/src/actions/onboarding-actions.ts +0 -103
  649. package/src/actions/preview-actions.ts +0 -76
  650. package/src/actions/project-actions.ts +0 -222
  651. package/src/actions/prompt-actions.ts +0 -73
  652. package/src/actions/report-actions.ts +0 -141
  653. package/src/actions/search-actions.ts +0 -21
  654. package/src/actions/search-code-actions.ts +0 -185
  655. package/src/actions/task-actions.ts +0 -350
  656. package/src/actions/workspace-actions.ts +0 -224
  657. package/src/app/api/adapters/test/route.ts +0 -52
  658. package/src/app/api/browse-fs/route.ts +0 -90
  659. package/src/app/api/files/assets/[projectId]/[filename]/route.ts +0 -38
  660. package/src/app/api/git/route.ts +0 -367
  661. package/src/app/api/internal/assets/[projectId]/[filename]/route.ts +0 -51
  662. package/src/app/api/internal/assets/reveal/route.ts +0 -71
  663. package/src/app/api/internal/assistant/chat/route.ts +0 -217
  664. package/src/app/api/internal/assistant/images/route.ts +0 -51
  665. package/src/app/api/internal/assistant/route.ts +0 -50
  666. package/src/app/api/internal/assistant/sessions/route.ts +0 -44
  667. package/src/app/api/internal/cache/[...segments]/route.ts +0 -59
  668. package/src/app/api/internal/hooks/install/route.ts +0 -41
  669. package/src/app/api/internal/hooks/session/route.ts +0 -60
  670. package/src/app/api/internal/hooks/stop/route.ts +0 -61
  671. package/src/app/api/internal/hooks/upload/route.ts +0 -173
  672. package/src/app/api/internal/notifications/pending/route.ts +0 -20
  673. package/src/app/api/internal/terminal/[taskId]/buffer/route.ts +0 -48
  674. package/src/app/api/internal/terminal/[taskId]/input/route.ts +0 -64
  675. package/src/app/api/internal/terminal/[taskId]/start/route.ts +0 -37
  676. package/src/app/api/tasks/[taskId]/diff/route.ts +0 -224
  677. package/src/app/api/tasks/[taskId]/merge/route.ts +0 -159
  678. package/src/app/globals.css +0 -247
  679. package/src/app/layout.tsx +0 -63
  680. package/src/app/missions/missions-client.tsx +0 -338
  681. package/src/app/missions/page.tsx +0 -10
  682. package/src/app/onboarding/page.tsx +0 -619
  683. package/src/app/page.tsx +0 -5
  684. package/src/app/settings/page.tsx +0 -7
  685. package/src/app/workspaces/[workspaceId]/archive/archive-page-client.tsx +0 -258
  686. package/src/app/workspaces/[workspaceId]/archive/page.tsx +0 -36
  687. package/src/app/workspaces/[workspaceId]/assets/assets-page-client.tsx +0 -232
  688. package/src/app/workspaces/[workspaceId]/assets/page.tsx +0 -36
  689. package/src/app/workspaces/[workspaceId]/board-page-client.tsx +0 -257
  690. package/src/app/workspaces/[workspaceId]/notes/notes-page-client.tsx +0 -337
  691. package/src/app/workspaces/[workspaceId]/notes/page.tsx +0 -39
  692. package/src/app/workspaces/[workspaceId]/page.tsx +0 -81
  693. package/src/app/workspaces/[workspaceId]/projects/[projectId]/page.tsx +0 -30
  694. package/src/app/workspaces/[workspaceId]/tasks/[taskId]/page.tsx +0 -97
  695. package/src/app/workspaces/[workspaceId]/tasks/[taskId]/task-page-client.tsx +0 -601
  696. package/src/app/workspaces/page.tsx +0 -13
  697. package/src/components/assets/asset-item.tsx +0 -128
  698. package/src/components/assets/asset-list.tsx +0 -31
  699. package/src/components/assets/asset-upload.tsx +0 -216
  700. package/src/components/assets/image-lightbox.tsx +0 -72
  701. package/src/components/assets/text-preview-dialog.tsx +0 -135
  702. package/src/components/assistant/assistant-chat-bubble.tsx +0 -308
  703. package/src/components/assistant/assistant-chat.tsx +0 -215
  704. package/src/components/assistant/assistant-panel.tsx +0 -149
  705. package/src/components/assistant/assistant-provider.tsx +0 -512
  706. package/src/components/assistant/image-preview-modal.tsx +0 -60
  707. package/src/components/assistant/image-thumbnail-strip.tsx +0 -94
  708. package/src/components/board/board-column.tsx +0 -115
  709. package/src/components/board/board-filters.tsx +0 -42
  710. package/src/components/board/board-stats.tsx +0 -52
  711. package/src/components/board/column-tasks-dialog.tsx +0 -100
  712. package/src/components/board/create-task-dialog.tsx +0 -362
  713. package/src/components/board/kanban-board.tsx +0 -169
  714. package/src/components/board/project-tabs.tsx +0 -93
  715. package/src/components/board/task-card-context-menu.tsx +0 -121
  716. package/src/components/board/task-card.tsx +0 -135
  717. package/src/components/layout/__tests__/top-bar-username.test.tsx +0 -24
  718. package/src/components/layout/app-sidebar.tsx +0 -662
  719. package/src/components/layout/folder-browser-dialog.tsx +0 -273
  720. package/src/components/layout/layout-client.tsx +0 -198
  721. package/src/components/layout/search-dialog.tsx +0 -196
  722. package/src/components/layout/sub-page-nav.tsx +0 -54
  723. package/src/components/layout/top-bar.tsx +0 -265
  724. package/src/components/missions/grid-layout-presets.ts +0 -19
  725. package/src/components/missions/grid-preset-picker.tsx +0 -209
  726. package/src/components/missions/merge-missions.ts +0 -30
  727. package/src/components/missions/mission-card.tsx +0 -203
  728. package/src/components/missions/task-picker-dialog.tsx +0 -415
  729. package/src/components/notes/category-filter.tsx +0 -44
  730. package/src/components/notes/note-card.tsx +0 -67
  731. package/src/components/notes/note-editor.tsx +0 -28
  732. package/src/components/notes/note-list.tsx +0 -30
  733. package/src/components/notifications/notification-permission-banner.tsx +0 -49
  734. package/src/components/notifications/use-notification-listener.ts +0 -114
  735. package/src/components/onboarding/__tests__/onboarding-wizard.test.tsx +0 -185
  736. package/src/components/onboarding/guided-tour.tsx +0 -255
  737. package/src/components/onboarding/onboarding-wizard.tsx +0 -84
  738. package/src/components/onboarding/wizard-step-cli.tsx +0 -53
  739. package/src/components/onboarding/wizard-step-username.tsx +0 -59
  740. package/src/components/project/create-project-dialog.tsx +0 -310
  741. package/src/components/project/import-project-dialog.tsx +0 -414
  742. package/src/components/providers/theme-provider.tsx +0 -8
  743. package/src/components/repository/create-branch-dialog.tsx +0 -165
  744. package/src/components/repository/git-changes-panel.tsx +0 -294
  745. package/src/components/repository/git-log-panel.tsx +0 -83
  746. package/src/components/repository/git-stash-panel.tsx +0 -158
  747. package/src/components/repository/repo-sidebar.tsx +0 -855
  748. package/src/components/settings/cli-adapter-tester.tsx +0 -144
  749. package/src/components/settings/settings-page.tsx +0 -2111
  750. package/src/components/task/code-editor.tsx +0 -376
  751. package/src/components/task/code-search.tsx +0 -219
  752. package/src/components/task/diff-editor.tsx +0 -97
  753. package/src/components/task/editor-git-panel.tsx +0 -792
  754. package/src/components/task/editor-tabs.tsx +0 -68
  755. package/src/components/task/execution-timeline.tsx +0 -258
  756. package/src/components/task/file-tree-context-menu.tsx +0 -113
  757. package/src/components/task/file-tree-node.tsx +0 -269
  758. package/src/components/task/file-tree.tsx +0 -575
  759. package/src/components/task/preview-panel.tsx +0 -281
  760. package/src/components/task/task-detail-panel.tsx +0 -455
  761. package/src/components/task/task-diff-view.tsx +0 -207
  762. package/src/components/task/task-file-changes.tsx +0 -19
  763. package/src/components/task/task-merge-confirm-dialog.tsx +0 -152
  764. package/src/components/task/task-metadata.tsx +0 -74
  765. package/src/components/task/task-notes-panel.tsx +0 -219
  766. package/src/components/task/task-overview-drawer.tsx +0 -172
  767. package/src/components/task/task-terminal.tsx +0 -294
  768. package/src/components/task/terminal-portal.tsx +0 -156
  769. package/src/components/task/types.ts +0 -6
  770. package/src/components/ui/avatar.tsx +0 -109
  771. package/src/components/ui/badge.tsx +0 -52
  772. package/src/components/ui/button.tsx +0 -58
  773. package/src/components/ui/card.tsx +0 -103
  774. package/src/components/ui/command.tsx +0 -196
  775. package/src/components/ui/dialog.tsx +0 -160
  776. package/src/components/ui/dropdown-menu.tsx +0 -268
  777. package/src/components/ui/empty-state.tsx +0 -26
  778. package/src/components/ui/error-boundary.tsx +0 -58
  779. package/src/components/ui/input-group.tsx +0 -158
  780. package/src/components/ui/input.tsx +0 -20
  781. package/src/components/ui/label.tsx +0 -20
  782. package/src/components/ui/popover.tsx +0 -90
  783. package/src/components/ui/scroll-area.tsx +0 -55
  784. package/src/components/ui/segmented-control.tsx +0 -42
  785. package/src/components/ui/select.tsx +0 -207
  786. package/src/components/ui/separator.tsx +0 -25
  787. package/src/components/ui/sheet.tsx +0 -138
  788. package/src/components/ui/sonner.tsx +0 -49
  789. package/src/components/ui/switch.tsx +0 -32
  790. package/src/components/ui/tabs.tsx +0 -82
  791. package/src/components/ui/textarea.tsx +0 -18
  792. package/src/components/ui/toast.tsx +0 -86
  793. package/src/components/ui/tooltip.tsx +0 -66
  794. package/src/hooks/__tests__/sse-event-reducer.test.ts +0 -263
  795. package/src/hooks/__tests__/use-assistant-chat.test.ts +0 -34
  796. package/src/hooks/__tests__/use-image-upload.test.ts +0 -443
  797. package/src/hooks/sse-event-reducer.ts +0 -144
  798. package/src/hooks/use-assistant-chat.ts +0 -190
  799. package/src/hooks/use-image-upload.ts +0 -140
  800. package/src/instrumentation.ts +0 -18
  801. package/src/lib/__tests__/assistant-message-converter.test.ts +0 -162
  802. package/src/lib/__tests__/assistant-sessions.test.ts +0 -253
  803. package/src/lib/__tests__/build-multimodal-prompt.test.ts +0 -173
  804. package/src/lib/__tests__/config-reader.test.ts +0 -75
  805. package/src/lib/__tests__/diff-parser.test.ts +0 -212
  806. package/src/lib/__tests__/execution-summary.test.ts +0 -237
  807. package/src/lib/__tests__/file-serve.test.ts +0 -178
  808. package/src/lib/__tests__/file-utils.test.ts +0 -177
  809. package/src/lib/__tests__/internal-api-guard.test.ts +0 -151
  810. package/src/lib/__tests__/logger.test.ts +0 -181
  811. package/src/lib/__tests__/platform.test.ts +0 -566
  812. package/src/lib/__tests__/reveal-route-security.test.ts +0 -65
  813. package/src/lib/__tests__/schemas.test.ts +0 -377
  814. package/src/lib/__tests__/terminal-link-provider.test.ts +0 -160
  815. package/src/lib/__tests__/upload-route-security.test.ts +0 -120
  816. package/src/lib/ai/__tests__/capability-resolver.test.ts +0 -71
  817. package/src/lib/ai/__tests__/claude-cli-adapter.test.ts +0 -103
  818. package/src/lib/ai/__tests__/provider-registry.test.ts +0 -74
  819. package/src/lib/ai/adapters/cli/claude-cli-adapter.ts +0 -166
  820. package/src/lib/ai/capability-resolver.ts +0 -81
  821. package/src/lib/ai/provider-registry.ts +0 -54
  822. package/src/lib/ai/providers/claude.ts +0 -19
  823. package/src/lib/ai/providers/index.ts +0 -12
  824. package/src/lib/ai/types.ts +0 -151
  825. package/src/lib/assistant-constants.ts +0 -2
  826. package/src/lib/assistant-message-converter.ts +0 -131
  827. package/src/lib/assistant-sessions.ts +0 -75
  828. package/src/lib/build-multimodal-prompt.ts +0 -53
  829. package/src/lib/claude-session.ts +0 -156
  830. package/src/lib/cli-test.ts +0 -476
  831. package/src/lib/config-defaults.ts +0 -121
  832. package/src/lib/config-reader.ts +0 -16
  833. package/src/lib/constants.ts +0 -26
  834. package/src/lib/db.ts +0 -28
  835. package/src/lib/diff-parser.ts +0 -132
  836. package/src/lib/execution-summary.ts +0 -287
  837. package/src/lib/file-serve-client.ts +0 -13
  838. package/src/lib/file-serve.ts +0 -32
  839. package/src/lib/file-utils.ts +0 -108
  840. package/src/lib/fs-security.ts +0 -22
  841. package/src/lib/fts.ts +0 -83
  842. package/src/lib/git-api.ts +0 -19
  843. package/src/lib/git-url.ts +0 -244
  844. package/src/lib/i18n/en.ts +0 -754
  845. package/src/lib/i18n/types.ts +0 -4
  846. package/src/lib/i18n/zh.ts +0 -769
  847. package/src/lib/i18n.tsx +0 -64
  848. package/src/lib/init-tower.ts +0 -129
  849. package/src/lib/instrumentation-tasks.ts +0 -116
  850. package/src/lib/internal-api-guard.ts +0 -63
  851. package/src/lib/logger.ts +0 -46
  852. package/src/lib/mime-magic.ts +0 -67
  853. package/src/lib/platform.ts +0 -518
  854. package/src/lib/preview-process.ts +0 -40
  855. package/src/lib/pty/__tests__/ws-server-assistant.test.ts +0 -7
  856. package/src/lib/pty/pty-session.ts +0 -157
  857. package/src/lib/pty/session-store.ts +0 -67
  858. package/src/lib/pty/ws-server.ts +0 -335
  859. package/src/lib/schemas.ts +0 -67
  860. package/src/lib/search.ts +0 -225
  861. package/src/lib/terminal-link-provider.ts +0 -90
  862. package/src/lib/tower-dir.ts +0 -69
  863. package/src/lib/utils.ts +0 -20
  864. package/src/lib/worktree.ts +0 -184
  865. package/src/stores/board-store.ts +0 -46
  866. package/src/stores/task-execution-store.ts +0 -41
  867. package/src/types/index.ts +0 -36
  868. /package/{src/app/apple-icon.png → .next/server/app/apple-icon.png.body} +0 -0
  869. /package/{src/app/favicon.ico → .next/server/app/favicon.ico.body} +0 -0
  870. /package/{src/app/icon0.svg → .next/server/app/icon0.svg.body} +0 -0
  871. /package/{src/app/icon1.png → .next/server/app/icon1.png.body} +0 -0
  872. /package/{src/app/manifest.json → .next/server/app/manifest.json.body} +0 -0
@@ -0,0 +1,890 @@
1
+ const RUNTIME_PUBLIC_PATH = "chunks/[turbopack]_runtime.js";
2
+ const RELATIVE_ROOT_PATH = "../..";
3
+ const ASSET_PREFIX = "/";
4
+ const WORKER_FORWARDED_GLOBALS = [];
5
+ /**
6
+ * This file contains runtime types and functions that are shared between all
7
+ * TurboPack ECMAScript runtimes.
8
+ *
9
+ * It will be prepended to the runtime code of each runtime.
10
+ */ /* eslint-disable @typescript-eslint/no-unused-vars */ /// <reference path="./runtime-types.d.ts" />
11
+ /**
12
+ * Describes why a module was instantiated.
13
+ * Shared between browser and Node.js runtimes.
14
+ */ var SourceType = /*#__PURE__*/ function(SourceType) {
15
+ /**
16
+ * The module was instantiated because it was included in an evaluated chunk's
17
+ * runtime.
18
+ * SourceData is a ChunkPath.
19
+ */ SourceType[SourceType["Runtime"] = 0] = "Runtime";
20
+ /**
21
+ * The module was instantiated because a parent module imported it.
22
+ * SourceData is a ModuleId.
23
+ */ SourceType[SourceType["Parent"] = 1] = "Parent";
24
+ /**
25
+ * The module was instantiated because it was included in a chunk's hot module
26
+ * update.
27
+ * SourceData is an array of ModuleIds or undefined.
28
+ */ SourceType[SourceType["Update"] = 2] = "Update";
29
+ return SourceType;
30
+ }(SourceType || {});
31
+ /**
32
+ * Flag indicating which module object type to create when a module is merged. Set to `true`
33
+ * by each runtime that uses ModuleWithDirection (browser dev-base.ts, nodejs dev-base.ts,
34
+ * nodejs build-base.ts). Browser production (build-base.ts) leaves it as `false` since it
35
+ * uses plain Module objects.
36
+ */ let createModuleWithDirectionFlag = false;
37
+ const REEXPORTED_OBJECTS = new WeakMap();
38
+ /**
39
+ * Constructs the `__turbopack_context__` object for a module.
40
+ */ function Context(module, exports) {
41
+ this.m = module;
42
+ // We need to store this here instead of accessing it from the module object to:
43
+ // 1. Make it available to factories directly, since we rewrite `this` to
44
+ // `__turbopack_context__.e` in CJS modules.
45
+ // 2. Support async modules which rewrite `module.exports` to a promise, so we
46
+ // can still access the original exports object from functions like
47
+ // `esmExport`
48
+ // Ideally we could find a new approach for async modules and drop this property altogether.
49
+ this.e = exports;
50
+ }
51
+ const contextPrototype = Context.prototype;
52
+ const hasOwnProperty = Object.prototype.hasOwnProperty;
53
+ const toStringTag = typeof Symbol !== 'undefined' && Symbol.toStringTag;
54
+ function defineProp(obj, name, options) {
55
+ if (!hasOwnProperty.call(obj, name)) Object.defineProperty(obj, name, options);
56
+ }
57
+ function getOverwrittenModule(moduleCache, id) {
58
+ let module = moduleCache[id];
59
+ if (!module) {
60
+ if (createModuleWithDirectionFlag) {
61
+ // set in development modes for hmr support
62
+ module = createModuleWithDirection(id);
63
+ } else {
64
+ module = createModuleObject(id);
65
+ }
66
+ moduleCache[id] = module;
67
+ }
68
+ return module;
69
+ }
70
+ /**
71
+ * Creates the module object. Only done here to ensure all module objects have the same shape.
72
+ */ function createModuleObject(id) {
73
+ return {
74
+ exports: {},
75
+ error: undefined,
76
+ id,
77
+ namespaceObject: undefined
78
+ };
79
+ }
80
+ function createModuleWithDirection(id) {
81
+ return {
82
+ exports: {},
83
+ error: undefined,
84
+ id,
85
+ namespaceObject: undefined,
86
+ parents: [],
87
+ children: []
88
+ };
89
+ }
90
+ const BindingTag_Value = 0;
91
+ /**
92
+ * Adds the getters to the exports object.
93
+ */ function esm(exports, bindings) {
94
+ defineProp(exports, '__esModule', {
95
+ value: true
96
+ });
97
+ if (toStringTag) defineProp(exports, toStringTag, {
98
+ value: 'Module'
99
+ });
100
+ let i = 0;
101
+ while(i < bindings.length){
102
+ const propName = bindings[i++];
103
+ const tagOrFunction = bindings[i++];
104
+ if (typeof tagOrFunction === 'number') {
105
+ if (tagOrFunction === BindingTag_Value) {
106
+ defineProp(exports, propName, {
107
+ value: bindings[i++],
108
+ enumerable: true,
109
+ writable: false
110
+ });
111
+ } else {
112
+ throw new Error(`unexpected tag: ${tagOrFunction}`);
113
+ }
114
+ } else {
115
+ const getterFn = tagOrFunction;
116
+ if (typeof bindings[i] === 'function') {
117
+ const setterFn = bindings[i++];
118
+ defineProp(exports, propName, {
119
+ get: getterFn,
120
+ set: setterFn,
121
+ enumerable: true
122
+ });
123
+ } else {
124
+ defineProp(exports, propName, {
125
+ get: getterFn,
126
+ enumerable: true
127
+ });
128
+ }
129
+ }
130
+ }
131
+ Object.seal(exports);
132
+ }
133
+ /**
134
+ * Makes the module an ESM with exports
135
+ */ function esmExport(bindings, id) {
136
+ let module;
137
+ let exports;
138
+ if (id != null) {
139
+ module = getOverwrittenModule(this.c, id);
140
+ exports = module.exports;
141
+ } else {
142
+ module = this.m;
143
+ exports = this.e;
144
+ }
145
+ module.namespaceObject = exports;
146
+ esm(exports, bindings);
147
+ }
148
+ contextPrototype.s = esmExport;
149
+ function ensureDynamicExports(module, exports) {
150
+ let reexportedObjects = REEXPORTED_OBJECTS.get(module);
151
+ if (!reexportedObjects) {
152
+ REEXPORTED_OBJECTS.set(module, reexportedObjects = []);
153
+ module.exports = module.namespaceObject = new Proxy(exports, {
154
+ get (target, prop) {
155
+ if (hasOwnProperty.call(target, prop) || prop === 'default' || prop === '__esModule') {
156
+ return Reflect.get(target, prop);
157
+ }
158
+ for (const obj of reexportedObjects){
159
+ const value = Reflect.get(obj, prop);
160
+ if (value !== undefined) return value;
161
+ }
162
+ return undefined;
163
+ },
164
+ ownKeys (target) {
165
+ const keys = Reflect.ownKeys(target);
166
+ for (const obj of reexportedObjects){
167
+ for (const key of Reflect.ownKeys(obj)){
168
+ if (key !== 'default' && !keys.includes(key)) keys.push(key);
169
+ }
170
+ }
171
+ return keys;
172
+ }
173
+ });
174
+ }
175
+ return reexportedObjects;
176
+ }
177
+ /**
178
+ * Dynamically exports properties from an object
179
+ */ function dynamicExport(object, id) {
180
+ let module;
181
+ let exports;
182
+ if (id != null) {
183
+ module = getOverwrittenModule(this.c, id);
184
+ exports = module.exports;
185
+ } else {
186
+ module = this.m;
187
+ exports = this.e;
188
+ }
189
+ const reexportedObjects = ensureDynamicExports(module, exports);
190
+ if (typeof object === 'object' && object !== null) {
191
+ reexportedObjects.push(object);
192
+ }
193
+ }
194
+ contextPrototype.j = dynamicExport;
195
+ function exportValue(value, id) {
196
+ let module;
197
+ if (id != null) {
198
+ module = getOverwrittenModule(this.c, id);
199
+ } else {
200
+ module = this.m;
201
+ }
202
+ module.exports = value;
203
+ }
204
+ contextPrototype.v = exportValue;
205
+ function exportNamespace(namespace, id) {
206
+ let module;
207
+ if (id != null) {
208
+ module = getOverwrittenModule(this.c, id);
209
+ } else {
210
+ module = this.m;
211
+ }
212
+ module.exports = module.namespaceObject = namespace;
213
+ }
214
+ contextPrototype.n = exportNamespace;
215
+ function createGetter(obj, key) {
216
+ return ()=>obj[key];
217
+ }
218
+ /**
219
+ * @returns prototype of the object
220
+ */ const getProto = Object.getPrototypeOf ? (obj)=>Object.getPrototypeOf(obj) : (obj)=>obj.__proto__;
221
+ /** Prototypes that are not expanded for exports */ const LEAF_PROTOTYPES = [
222
+ null,
223
+ getProto({}),
224
+ getProto([]),
225
+ getProto(getProto)
226
+ ];
227
+ /**
228
+ * @param raw
229
+ * @param ns
230
+ * @param allowExportDefault
231
+ * * `false`: will have the raw module as default export
232
+ * * `true`: will have the default property as default export
233
+ */ function interopEsm(raw, ns, allowExportDefault) {
234
+ const bindings = [];
235
+ let defaultLocation = -1;
236
+ for(let current = raw; (typeof current === 'object' || typeof current === 'function') && !LEAF_PROTOTYPES.includes(current); current = getProto(current)){
237
+ for (const key of Object.getOwnPropertyNames(current)){
238
+ bindings.push(key, createGetter(raw, key));
239
+ if (defaultLocation === -1 && key === 'default') {
240
+ defaultLocation = bindings.length - 1;
241
+ }
242
+ }
243
+ }
244
+ // this is not really correct
245
+ // we should set the `default` getter if the imported module is a `.cjs file`
246
+ if (!(allowExportDefault && defaultLocation >= 0)) {
247
+ // Replace the binding with one for the namespace itself in order to preserve iteration order.
248
+ if (defaultLocation >= 0) {
249
+ // Replace the getter with the value
250
+ bindings.splice(defaultLocation, 1, BindingTag_Value, raw);
251
+ } else {
252
+ bindings.push('default', BindingTag_Value, raw);
253
+ }
254
+ }
255
+ esm(ns, bindings);
256
+ return ns;
257
+ }
258
+ function createNS(raw) {
259
+ if (typeof raw === 'function') {
260
+ return function(...args) {
261
+ return raw.apply(this, args);
262
+ };
263
+ } else {
264
+ return Object.create(null);
265
+ }
266
+ }
267
+ function esmImport(id) {
268
+ const module = getOrInstantiateModuleFromParent(id, this.m);
269
+ // any ES module has to have `module.namespaceObject` defined.
270
+ if (module.namespaceObject) return module.namespaceObject;
271
+ // only ESM can be an async module, so we don't need to worry about exports being a promise here.
272
+ const raw = module.exports;
273
+ return module.namespaceObject = interopEsm(raw, createNS(raw), raw && raw.__esModule);
274
+ }
275
+ contextPrototype.i = esmImport;
276
+ function asyncLoader(moduleId) {
277
+ const loader = this.r(moduleId);
278
+ return loader(esmImport.bind(this));
279
+ }
280
+ contextPrototype.A = asyncLoader;
281
+ // Add a simple runtime require so that environments without one can still pass
282
+ // `typeof require` CommonJS checks so that exports are correctly registered.
283
+ const runtimeRequire = // @ts-ignore
284
+ typeof require === 'function' ? require : function require1() {
285
+ throw new Error('Unexpected use of runtime require');
286
+ };
287
+ contextPrototype.t = runtimeRequire;
288
+ function commonJsRequire(id) {
289
+ return getOrInstantiateModuleFromParent(id, this.m).exports;
290
+ }
291
+ contextPrototype.r = commonJsRequire;
292
+ /**
293
+ * Remove fragments and query parameters since they are never part of the context map keys
294
+ *
295
+ * This matches how we parse patterns at resolving time. Arguably we should only do this for
296
+ * strings passed to `import` but the resolve does it for `import` and `require` and so we do
297
+ * here as well.
298
+ */ function parseRequest(request) {
299
+ // Per the URI spec fragments can contain `?` characters, so we should trim it off first
300
+ // https://datatracker.ietf.org/doc/html/rfc3986#section-3.5
301
+ const hashIndex = request.indexOf('#');
302
+ if (hashIndex !== -1) {
303
+ request = request.substring(0, hashIndex);
304
+ }
305
+ const queryIndex = request.indexOf('?');
306
+ if (queryIndex !== -1) {
307
+ request = request.substring(0, queryIndex);
308
+ }
309
+ return request;
310
+ }
311
+ /**
312
+ * `require.context` and require/import expression runtime.
313
+ */ function moduleContext(map) {
314
+ function moduleContext(id) {
315
+ id = parseRequest(id);
316
+ if (hasOwnProperty.call(map, id)) {
317
+ return map[id].module();
318
+ }
319
+ const e = new Error(`Cannot find module '${id}'`);
320
+ e.code = 'MODULE_NOT_FOUND';
321
+ throw e;
322
+ }
323
+ moduleContext.keys = ()=>{
324
+ return Object.keys(map);
325
+ };
326
+ moduleContext.resolve = (id)=>{
327
+ id = parseRequest(id);
328
+ if (hasOwnProperty.call(map, id)) {
329
+ return map[id].id();
330
+ }
331
+ const e = new Error(`Cannot find module '${id}'`);
332
+ e.code = 'MODULE_NOT_FOUND';
333
+ throw e;
334
+ };
335
+ moduleContext.import = async (id)=>{
336
+ return await moduleContext(id);
337
+ };
338
+ return moduleContext;
339
+ }
340
+ contextPrototype.f = moduleContext;
341
+ /**
342
+ * Returns the path of a chunk defined by its data.
343
+ */ function getChunkPath(chunkData) {
344
+ return typeof chunkData === 'string' ? chunkData : chunkData.path;
345
+ }
346
+ function isPromise(maybePromise) {
347
+ return maybePromise != null && typeof maybePromise === 'object' && 'then' in maybePromise && typeof maybePromise.then === 'function';
348
+ }
349
+ function isAsyncModuleExt(obj) {
350
+ return turbopackQueues in obj;
351
+ }
352
+ function createPromise() {
353
+ let resolve;
354
+ let reject;
355
+ const promise = new Promise((res, rej)=>{
356
+ reject = rej;
357
+ resolve = res;
358
+ });
359
+ return {
360
+ promise,
361
+ resolve: resolve,
362
+ reject: reject
363
+ };
364
+ }
365
+ // Load the CompressedmoduleFactories of a chunk into the `moduleFactories` Map.
366
+ // The CompressedModuleFactories format is
367
+ // - 1 or more module ids
368
+ // - a module factory function
369
+ // So walking this is a little complex but the flat structure is also fast to
370
+ // traverse, we can use `typeof` operators to distinguish the two cases.
371
+ function installCompressedModuleFactories(chunkModules, offset, moduleFactories, newModuleId) {
372
+ let i = offset;
373
+ while(i < chunkModules.length){
374
+ let end = i + 1;
375
+ // Find our factory function
376
+ while(end < chunkModules.length && typeof chunkModules[end] !== 'function'){
377
+ end++;
378
+ }
379
+ if (end === chunkModules.length) {
380
+ throw new Error('malformed chunk format, expected a factory function');
381
+ }
382
+ // Install the factory for each module ID that doesn't already have one.
383
+ // When some IDs in this group already have a factory, reuse that existing
384
+ // group factory for the missing IDs to keep all IDs in the group consistent.
385
+ // Otherwise, install the factory from this chunk.
386
+ const moduleFactoryFn = chunkModules[end];
387
+ let existingGroupFactory = undefined;
388
+ for(let j = i; j < end; j++){
389
+ const id = chunkModules[j];
390
+ const existingFactory = moduleFactories.get(id);
391
+ if (existingFactory) {
392
+ existingGroupFactory = existingFactory;
393
+ break;
394
+ }
395
+ }
396
+ const factoryToInstall = existingGroupFactory ?? moduleFactoryFn;
397
+ let didInstallFactory = false;
398
+ for(let j = i; j < end; j++){
399
+ const id = chunkModules[j];
400
+ if (!moduleFactories.has(id)) {
401
+ if (!didInstallFactory) {
402
+ if (factoryToInstall === moduleFactoryFn) {
403
+ applyModuleFactoryName(moduleFactoryFn);
404
+ }
405
+ didInstallFactory = true;
406
+ }
407
+ moduleFactories.set(id, factoryToInstall);
408
+ newModuleId?.(id);
409
+ }
410
+ }
411
+ i = end + 1; // end is pointing at the last factory advance to the next id or the end of the array.
412
+ }
413
+ }
414
+ // everything below is adapted from webpack
415
+ // https://github.com/webpack/webpack/blob/6be4065ade1e252c1d8dcba4af0f43e32af1bdc1/lib/runtime/AsyncModuleRuntimeModule.js#L13
416
+ const turbopackQueues = Symbol('turbopack queues');
417
+ const turbopackExports = Symbol('turbopack exports');
418
+ const turbopackError = Symbol('turbopack error');
419
+ function resolveQueue(queue) {
420
+ if (queue && queue.status !== 1) {
421
+ queue.status = 1;
422
+ queue.forEach((fn)=>fn.queueCount--);
423
+ queue.forEach((fn)=>fn.queueCount-- ? fn.queueCount++ : fn());
424
+ }
425
+ }
426
+ function wrapDeps(deps) {
427
+ return deps.map((dep)=>{
428
+ if (dep !== null && typeof dep === 'object') {
429
+ if (isAsyncModuleExt(dep)) return dep;
430
+ if (isPromise(dep)) {
431
+ const queue = Object.assign([], {
432
+ status: 0
433
+ });
434
+ const obj = {
435
+ [turbopackExports]: {},
436
+ [turbopackQueues]: (fn)=>fn(queue)
437
+ };
438
+ dep.then((res)=>{
439
+ obj[turbopackExports] = res;
440
+ resolveQueue(queue);
441
+ }, (err)=>{
442
+ obj[turbopackError] = err;
443
+ resolveQueue(queue);
444
+ });
445
+ return obj;
446
+ }
447
+ }
448
+ return {
449
+ [turbopackExports]: dep,
450
+ [turbopackQueues]: ()=>{}
451
+ };
452
+ });
453
+ }
454
+ function asyncModule(body, hasAwait) {
455
+ const module = this.m;
456
+ const queue = hasAwait ? Object.assign([], {
457
+ status: -1
458
+ }) : undefined;
459
+ const depQueues = new Set();
460
+ const { resolve, reject, promise: rawPromise } = createPromise();
461
+ const promise = Object.assign(rawPromise, {
462
+ [turbopackExports]: module.exports,
463
+ [turbopackQueues]: (fn)=>{
464
+ queue && fn(queue);
465
+ depQueues.forEach(fn);
466
+ promise['catch'](()=>{});
467
+ }
468
+ });
469
+ const attributes = {
470
+ get () {
471
+ return promise;
472
+ },
473
+ set (v) {
474
+ // Calling `esmExport` leads to this.
475
+ if (v !== promise) {
476
+ promise[turbopackExports] = v;
477
+ }
478
+ }
479
+ };
480
+ Object.defineProperty(module, 'exports', attributes);
481
+ Object.defineProperty(module, 'namespaceObject', attributes);
482
+ function handleAsyncDependencies(deps) {
483
+ const currentDeps = wrapDeps(deps);
484
+ const getResult = ()=>currentDeps.map((d)=>{
485
+ if (d[turbopackError]) throw d[turbopackError];
486
+ return d[turbopackExports];
487
+ });
488
+ const { promise, resolve } = createPromise();
489
+ const fn = Object.assign(()=>resolve(getResult), {
490
+ queueCount: 0
491
+ });
492
+ function fnQueue(q) {
493
+ if (q !== queue && !depQueues.has(q)) {
494
+ depQueues.add(q);
495
+ if (q && q.status === 0) {
496
+ fn.queueCount++;
497
+ q.push(fn);
498
+ }
499
+ }
500
+ }
501
+ currentDeps.map((dep)=>dep[turbopackQueues](fnQueue));
502
+ return fn.queueCount ? promise : getResult();
503
+ }
504
+ function asyncResult(err) {
505
+ if (err) {
506
+ reject(promise[turbopackError] = err);
507
+ } else {
508
+ resolve(promise[turbopackExports]);
509
+ }
510
+ resolveQueue(queue);
511
+ }
512
+ body(handleAsyncDependencies, asyncResult);
513
+ if (queue && queue.status === -1) {
514
+ queue.status = 0;
515
+ }
516
+ }
517
+ contextPrototype.a = asyncModule;
518
+ /**
519
+ * A pseudo "fake" URL object to resolve to its relative path.
520
+ *
521
+ * When UrlRewriteBehavior is set to relative, calls to the `new URL()` will construct url without base using this
522
+ * runtime function to generate context-agnostic urls between different rendering context, i.e ssr / client to avoid
523
+ * hydration mismatch.
524
+ *
525
+ * This is based on webpack's existing implementation:
526
+ * https://github.com/webpack/webpack/blob/87660921808566ef3b8796f8df61bd79fc026108/lib/runtime/RelativeUrlRuntimeModule.js
527
+ */ const relativeURL = function relativeURL(inputUrl) {
528
+ const realUrl = new URL(inputUrl, 'x:/');
529
+ const values = {};
530
+ for(const key in realUrl)values[key] = realUrl[key];
531
+ values.href = inputUrl;
532
+ values.pathname = inputUrl.replace(/[?#].*/, '');
533
+ values.origin = values.protocol = '';
534
+ values.toString = values.toJSON = (..._args)=>inputUrl;
535
+ for(const key in values)Object.defineProperty(this, key, {
536
+ enumerable: true,
537
+ configurable: true,
538
+ value: values[key]
539
+ });
540
+ };
541
+ relativeURL.prototype = URL.prototype;
542
+ contextPrototype.U = relativeURL;
543
+ /**
544
+ * Utility function to ensure all variants of an enum are handled.
545
+ */ function invariant(never, computeMessage) {
546
+ throw new Error(`Invariant: ${computeMessage(never)}`);
547
+ }
548
+ /**
549
+ * Constructs an error message for when a module factory is not available.
550
+ */ function factoryNotAvailableMessage(moduleId, sourceType, sourceData) {
551
+ let instantiationReason;
552
+ switch(sourceType){
553
+ case 0:
554
+ instantiationReason = `as a runtime entry of chunk ${sourceData}`;
555
+ break;
556
+ case 1:
557
+ instantiationReason = `because it was required from module ${sourceData}`;
558
+ break;
559
+ case 2:
560
+ instantiationReason = 'because of an HMR update';
561
+ break;
562
+ default:
563
+ invariant(sourceType, (sourceType)=>`Unknown source type: ${sourceType}`);
564
+ }
565
+ return `Module ${moduleId} was instantiated ${instantiationReason}, but the module factory is not available.`;
566
+ }
567
+ /**
568
+ * A stub function to make `require` available but non-functional in ESM.
569
+ */ function requireStub(_moduleId) {
570
+ throw new Error('dynamic usage of require is not supported');
571
+ }
572
+ contextPrototype.z = requireStub;
573
+ // Make `globalThis` available to the module in a way that cannot be shadowed by a local variable.
574
+ contextPrototype.g = globalThis;
575
+ function applyModuleFactoryName(factory) {
576
+ // Give the module factory a nice name to improve stack traces.
577
+ Object.defineProperty(factory, 'name', {
578
+ value: 'module evaluation'
579
+ });
580
+ }
581
+ /// <reference path="../shared/runtime/runtime-utils.ts" />
582
+ /// A 'base' utilities to support runtime can have externals.
583
+ /// Currently this is for node.js / edge runtime both.
584
+ /// If a fn requires node.js specific behavior, it should be placed in `node-external-utils` instead.
585
+ async function externalImport(id) {
586
+ let raw;
587
+ try {
588
+ raw = await import(id);
589
+ } catch (err) {
590
+ // TODO(alexkirsz) This can happen when a client-side module tries to load
591
+ // an external module we don't provide a shim for (e.g. querystring, url).
592
+ // For now, we fail semi-silently, but in the future this should be a
593
+ // compilation error.
594
+ throw new Error(`Failed to load external module ${id}: ${err}`);
595
+ }
596
+ if (raw && raw.__esModule && raw.default && 'default' in raw.default) {
597
+ return interopEsm(raw.default, createNS(raw), true);
598
+ }
599
+ return raw;
600
+ }
601
+ contextPrototype.y = externalImport;
602
+ function externalRequire(id, thunk, esm = false) {
603
+ let raw;
604
+ try {
605
+ raw = thunk();
606
+ } catch (err) {
607
+ // TODO(alexkirsz) This can happen when a client-side module tries to load
608
+ // an external module we don't provide a shim for (e.g. querystring, url).
609
+ // For now, we fail semi-silently, but in the future this should be a
610
+ // compilation error.
611
+ throw new Error(`Failed to load external module ${id}: ${err}`);
612
+ }
613
+ if (!esm || raw.__esModule) {
614
+ return raw;
615
+ }
616
+ return interopEsm(raw, createNS(raw), true);
617
+ }
618
+ externalRequire.resolve = (id, options)=>{
619
+ return require.resolve(id, options);
620
+ };
621
+ contextPrototype.x = externalRequire;
622
+ /* eslint-disable @typescript-eslint/no-unused-vars */ const path = require('path');
623
+ const relativePathToRuntimeRoot = path.relative(RUNTIME_PUBLIC_PATH, '.');
624
+ // Compute the relative path to the `distDir`.
625
+ const relativePathToDistRoot = path.join(relativePathToRuntimeRoot, RELATIVE_ROOT_PATH);
626
+ const RUNTIME_ROOT = path.resolve(__filename, relativePathToRuntimeRoot);
627
+ // Compute the absolute path to the root, by stripping distDir from the absolute path to this file.
628
+ const ABSOLUTE_ROOT = path.resolve(__filename, relativePathToDistRoot);
629
+ /**
630
+ * Returns an absolute path to the given module path.
631
+ * Module path should be relative, either path to a file or a directory.
632
+ *
633
+ * This fn allows to calculate an absolute path for some global static values, such as
634
+ * `__dirname` or `import.meta.url` that Turbopack will not embeds in compile time.
635
+ * See ImportMetaBinding::code_generation for the usage.
636
+ */ function resolveAbsolutePath(modulePath) {
637
+ if (modulePath) {
638
+ return path.join(ABSOLUTE_ROOT, modulePath);
639
+ }
640
+ return ABSOLUTE_ROOT;
641
+ }
642
+ Context.prototype.P = resolveAbsolutePath;
643
+ /* eslint-disable @typescript-eslint/no-unused-vars */ /// <reference path="../shared/runtime/runtime-utils.ts" />
644
+ function readWebAssemblyAsResponse(path) {
645
+ const { createReadStream } = require('fs');
646
+ const { Readable } = require('stream');
647
+ const stream = createReadStream(path);
648
+ // @ts-ignore unfortunately there's a slight type mismatch with the stream.
649
+ return new Response(Readable.toWeb(stream), {
650
+ headers: {
651
+ 'content-type': 'application/wasm'
652
+ }
653
+ });
654
+ }
655
+ async function compileWebAssemblyFromPath(path) {
656
+ const response = readWebAssemblyAsResponse(path);
657
+ return await WebAssembly.compileStreaming(response);
658
+ }
659
+ async function instantiateWebAssemblyFromPath(path, importsObj) {
660
+ const response = readWebAssemblyAsResponse(path);
661
+ const { instance } = await WebAssembly.instantiateStreaming(response, importsObj);
662
+ return instance.exports;
663
+ }
664
+ /* eslint-disable @typescript-eslint/no-unused-vars */ /// <reference path="../../shared/runtime/runtime-utils.ts" />
665
+ /// <reference path="../../shared-node/base-externals-utils.ts" />
666
+ /// <reference path="../../shared-node/node-externals-utils.ts" />
667
+ /// <reference path="../../shared-node/node-wasm-utils.ts" />
668
+ /// <reference path="./nodejs-globals.d.ts" />
669
+ /**
670
+ * Base Node.js runtime shared between production and development.
671
+ * Contains chunk loading, module caching, and other non-HMR functionality.
672
+ */ process.env.TURBOPACK = '1';
673
+ const url = require('url');
674
+ const moduleFactories = new Map();
675
+ const moduleCache = Object.create(null);
676
+ /**
677
+ * Returns an absolute path to the given module's id.
678
+ */ function resolvePathFromModule(moduleId) {
679
+ const exported = this.r(moduleId);
680
+ const exportedPath = exported?.default ?? exported;
681
+ if (typeof exportedPath !== 'string') {
682
+ return exported;
683
+ }
684
+ const strippedAssetPrefix = exportedPath.slice(ASSET_PREFIX.length);
685
+ const resolved = path.resolve(RUNTIME_ROOT, strippedAssetPrefix);
686
+ return url.pathToFileURL(resolved).href;
687
+ }
688
+ /**
689
+ * Exports a URL value. No suffix is added in Node.js runtime.
690
+ */ function exportUrl(urlValue, id) {
691
+ exportValue.call(this, urlValue, id);
692
+ }
693
+ function loadRuntimeChunk(sourcePath, chunkData) {
694
+ if (typeof chunkData === 'string') {
695
+ loadRuntimeChunkPath(sourcePath, chunkData);
696
+ } else {
697
+ loadRuntimeChunkPath(sourcePath, chunkData.path);
698
+ }
699
+ }
700
+ const loadedChunks = new Set();
701
+ const unsupportedLoadChunk = Promise.resolve(undefined);
702
+ const loadedChunk = Promise.resolve(undefined);
703
+ const chunkCache = new Map();
704
+ function clearChunkCache() {
705
+ chunkCache.clear();
706
+ loadedChunks.clear();
707
+ }
708
+ function loadRuntimeChunkPath(sourcePath, chunkPath) {
709
+ if (!isJs(chunkPath)) {
710
+ // We only support loading JS chunks in Node.js.
711
+ // This branch can be hit when trying to load a CSS chunk.
712
+ return;
713
+ }
714
+ if (loadedChunks.has(chunkPath)) {
715
+ return;
716
+ }
717
+ try {
718
+ const resolved = path.resolve(RUNTIME_ROOT, chunkPath);
719
+ const chunkModules = require(resolved);
720
+ installCompressedModuleFactories(chunkModules, 0, moduleFactories);
721
+ loadedChunks.add(chunkPath);
722
+ } catch (cause) {
723
+ let errorMessage = `Failed to load chunk ${chunkPath}`;
724
+ if (sourcePath) {
725
+ errorMessage += ` from runtime for chunk ${sourcePath}`;
726
+ }
727
+ const error = new Error(errorMessage, {
728
+ cause
729
+ });
730
+ error.name = 'ChunkLoadError';
731
+ throw error;
732
+ }
733
+ }
734
+ function loadChunkAsync(chunkData) {
735
+ const chunkPath = typeof chunkData === 'string' ? chunkData : chunkData.path;
736
+ if (!isJs(chunkPath)) {
737
+ // We only support loading JS chunks in Node.js.
738
+ // This branch can be hit when trying to load a CSS chunk.
739
+ return unsupportedLoadChunk;
740
+ }
741
+ let entry = chunkCache.get(chunkPath);
742
+ if (entry === undefined) {
743
+ try {
744
+ // resolve to an absolute path to simplify `require` handling
745
+ const resolved = path.resolve(RUNTIME_ROOT, chunkPath);
746
+ // TODO: consider switching to `import()` to enable concurrent chunk loading and async file io
747
+ // However this is incompatible with hot reloading (since `import` doesn't use the require cache)
748
+ const chunkModules = require(resolved);
749
+ installCompressedModuleFactories(chunkModules, 0, moduleFactories);
750
+ entry = loadedChunk;
751
+ } catch (cause) {
752
+ const errorMessage = `Failed to load chunk ${chunkPath} from module ${this.m.id}`;
753
+ const error = new Error(errorMessage, {
754
+ cause
755
+ });
756
+ error.name = 'ChunkLoadError';
757
+ // Cache the failure promise, future requests will also get this same rejection
758
+ entry = Promise.reject(error);
759
+ }
760
+ chunkCache.set(chunkPath, entry);
761
+ }
762
+ // TODO: Return an instrumented Promise that React can use instead of relying on referential equality.
763
+ return entry;
764
+ }
765
+ contextPrototype.l = loadChunkAsync;
766
+ function loadChunkAsyncByUrl(chunkUrl) {
767
+ const path1 = url.fileURLToPath(new URL(chunkUrl, RUNTIME_ROOT));
768
+ return loadChunkAsync.call(this, path1);
769
+ }
770
+ contextPrototype.L = loadChunkAsyncByUrl;
771
+ function loadWebAssembly(chunkPath, _edgeModule, imports) {
772
+ const resolved = path.resolve(RUNTIME_ROOT, chunkPath);
773
+ return instantiateWebAssemblyFromPath(resolved, imports);
774
+ }
775
+ contextPrototype.w = loadWebAssembly;
776
+ function loadWebAssemblyModule(chunkPath, _edgeModule) {
777
+ const resolved = path.resolve(RUNTIME_ROOT, chunkPath);
778
+ return compileWebAssemblyFromPath(resolved);
779
+ }
780
+ contextPrototype.u = loadWebAssemblyModule;
781
+ /**
782
+ * Creates a Node.js worker thread by instantiating the given WorkerConstructor
783
+ * with the appropriate path and options, including forwarded globals.
784
+ *
785
+ * @param WorkerConstructor The Worker constructor from worker_threads
786
+ * @param workerPath Path to the worker entry chunk
787
+ * @param workerOptions options to pass to the Worker constructor (optional)
788
+ */ function createWorker(WorkerConstructor, workerPath, workerOptions) {
789
+ // Build the forwarded globals object
790
+ const forwardedGlobals = {};
791
+ for (const name of WORKER_FORWARDED_GLOBALS){
792
+ forwardedGlobals[name] = globalThis[name];
793
+ }
794
+ // Merge workerData with forwarded globals
795
+ const existingWorkerData = workerOptions?.workerData || {};
796
+ const options = {
797
+ ...workerOptions,
798
+ workerData: {
799
+ ...typeof existingWorkerData === 'object' ? existingWorkerData : {},
800
+ __turbopack_globals__: forwardedGlobals
801
+ }
802
+ };
803
+ return new WorkerConstructor(workerPath, options);
804
+ }
805
+ const regexJsUrl = /\.js(?:\?[^#]*)?(?:#.*)?$/;
806
+ /**
807
+ * Checks if a given path/URL ends with .js, optionally followed by ?query or #fragment.
808
+ */ function isJs(chunkUrlOrPath) {
809
+ return regexJsUrl.test(chunkUrlOrPath);
810
+ }
811
+ /* eslint-disable @typescript-eslint/no-unused-vars */ /// <reference path="./runtime-base.ts" />
812
+ /**
813
+ * Production Node.js runtime.
814
+ * Uses ModuleWithDirection and simple module instantiation without HMR support.
815
+ */ // moduleCache and moduleFactories are declared in runtime-base.ts
816
+ // this is read in runtime-utils.ts so it creates a module with direction for hmr
817
+ createModuleWithDirectionFlag = true;
818
+ const nodeContextPrototype = Context.prototype;
819
+ nodeContextPrototype.q = exportUrl;
820
+ nodeContextPrototype.M = moduleFactories;
821
+ // Cast moduleCache to ModuleWithDirection for production mode
822
+ nodeContextPrototype.c = moduleCache;
823
+ nodeContextPrototype.R = resolvePathFromModule;
824
+ nodeContextPrototype.b = createWorker;
825
+ nodeContextPrototype.C = clearChunkCache;
826
+ function instantiateModule(id, sourceType, sourceData) {
827
+ const moduleFactory = moduleFactories.get(id);
828
+ if (typeof moduleFactory !== 'function') {
829
+ // This can happen if modules incorrectly handle HMR disposes/updates,
830
+ // e.g. when they keep a `setTimeout` around which still executes old code
831
+ // and contains e.g. a `require("something")` call.
832
+ throw new Error(factoryNotAvailableMessage(id, sourceType, sourceData));
833
+ }
834
+ const module1 = createModuleWithDirection(id);
835
+ const exports = module1.exports;
836
+ moduleCache[id] = module1;
837
+ const context = new Context(module1, exports);
838
+ // NOTE(alexkirsz) This can fail when the module encounters a runtime error.
839
+ try {
840
+ moduleFactory(context, module1, exports);
841
+ } catch (error) {
842
+ module1.error = error;
843
+ throw error;
844
+ }
845
+ ;
846
+ module1.loaded = true;
847
+ if (module1.namespaceObject && module1.exports !== module1.namespaceObject) {
848
+ // in case of a circular dependency: cjs1 -> esm2 -> cjs1
849
+ interopEsm(module1.exports, module1.namespaceObject);
850
+ }
851
+ return module1;
852
+ }
853
+ /**
854
+ * Retrieves a module from the cache, or instantiate it if it is not cached.
855
+ */ // @ts-ignore
856
+ function getOrInstantiateModuleFromParent(id, sourceModule) {
857
+ const module1 = moduleCache[id];
858
+ if (module1) {
859
+ if (module1.error) {
860
+ throw module1.error;
861
+ }
862
+ return module1;
863
+ }
864
+ return instantiateModule(id, SourceType.Parent, sourceModule.id);
865
+ }
866
+ /**
867
+ * Instantiates a runtime module.
868
+ */ function instantiateRuntimeModule(chunkPath, moduleId) {
869
+ return instantiateModule(moduleId, SourceType.Runtime, chunkPath);
870
+ }
871
+ /**
872
+ * Retrieves a module from the cache, or instantiate it as a runtime module if it is not cached.
873
+ */ // @ts-ignore TypeScript doesn't separate this module space from the browser runtime
874
+ function getOrInstantiateRuntimeModule(chunkPath, moduleId) {
875
+ const module1 = moduleCache[moduleId];
876
+ if (module1) {
877
+ if (module1.error) {
878
+ throw module1.error;
879
+ }
880
+ return module1;
881
+ }
882
+ return instantiateRuntimeModule(chunkPath, moduleId);
883
+ }
884
+ module.exports = (sourcePath)=>({
885
+ m: (id)=>getOrInstantiateRuntimeModule(sourcePath, id),
886
+ c: (chunkData)=>loadRuntimeChunk(sourcePath, chunkData)
887
+ });
888
+
889
+
890
+ //# sourceMappingURL=%5Bturbopack%5D_runtime.js.map