vibedoc 1.10.0 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (725) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/app-path-routes-manifest.json +9 -1
  3. package/.next/build-manifest.json +3 -3
  4. package/.next/prerender-manifest.json +41 -13
  5. package/.next/routes-manifest.json +54 -6
  6. package/.next/server/app/(app)/activity/page.js.nft.json +1 -1
  7. package/.next/server/app/(app)/activity/page_client-reference-manifest.js +1 -1
  8. package/.next/server/app/(app)/board/page.js.nft.json +1 -1
  9. package/.next/server/app/(app)/board/page_client-reference-manifest.js +1 -1
  10. package/.next/server/app/(app)/chat/page.js.nft.json +1 -1
  11. package/.next/server/app/(app)/chat/page_client-reference-manifest.js +1 -1
  12. package/.next/server/app/(app)/docs/page.js.nft.json +1 -1
  13. package/.next/server/app/(app)/docs/page_client-reference-manifest.js +1 -1
  14. package/.next/server/app/(app)/explorer/page.js.nft.json +1 -1
  15. package/.next/server/app/(app)/explorer/page_client-reference-manifest.js +1 -1
  16. package/.next/server/app/(app)/graph/page/app-paths-manifest.json +3 -0
  17. package/.next/server/app/(app)/graph/page/build-manifest.json +20 -0
  18. package/.next/server/app/(app)/graph/page/next-font-manifest.json +11 -0
  19. package/.next/server/app/(app)/graph/page/react-loadable-manifest.json +1 -0
  20. package/.next/server/app/(app)/graph/page.js +15 -0
  21. package/.next/server/app/(app)/graph/page.js.nft.json +1 -0
  22. package/.next/server/app/(app)/graph/page_client-reference-manifest.js +3 -0
  23. package/.next/server/app/(app)/manual-tests/page.js.nft.json +1 -1
  24. package/.next/server/app/(app)/manual-tests/page_client-reference-manifest.js +1 -1
  25. package/.next/server/app/(app)/memory/page.js.nft.json +1 -1
  26. package/.next/server/app/(app)/memory/page_client-reference-manifest.js +1 -1
  27. package/.next/server/app/(app)/roadmap/page.js.nft.json +1 -1
  28. package/.next/server/app/(app)/roadmap/page_client-reference-manifest.js +1 -1
  29. package/.next/server/app/(app)/settings/page.js.nft.json +1 -1
  30. package/.next/server/app/(app)/settings/page_client-reference-manifest.js +1 -1
  31. package/.next/server/app/(app)/setup/page.js.nft.json +1 -1
  32. package/.next/server/app/(app)/setup/page_client-reference-manifest.js +1 -1
  33. package/.next/server/app/_global-error.html +1 -1
  34. package/.next/server/app/_global-error.rsc +1 -1
  35. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  36. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  37. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  38. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  39. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  40. package/.next/server/app/_not-found.html +1 -1
  41. package/.next/server/app/_not-found.rsc +2 -2
  42. package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  43. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  44. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  45. package/.next/server/app/activity.html +1 -1
  46. package/.next/server/app/activity.rsc +8 -8
  47. package/.next/server/app/activity.segments/!KGFwcCk/activity/__PAGE__.segment.rsc +6 -6
  48. package/.next/server/app/activity.segments/_full.segment.rsc +8 -8
  49. package/.next/server/app/activity.segments/_tree.segment.rsc +2 -2
  50. package/.next/server/app/api/activity/route.js +2 -2
  51. package/.next/server/app/api/activity/route.js.nft.json +1 -1
  52. package/.next/server/app/api/chat/route.js +2 -2
  53. package/.next/server/app/api/chat/route.js.nft.json +1 -1
  54. package/.next/server/app/api/context/route.js +2 -2
  55. package/.next/server/app/api/context/route.js.nft.json +1 -1
  56. package/.next/server/app/api/conversations/route.js +2 -2
  57. package/.next/server/app/api/conversations/route.js.nft.json +1 -1
  58. package/.next/server/app/api/decisions/route.js +2 -2
  59. package/.next/server/app/api/decisions/route.js.nft.json +1 -1
  60. package/.next/server/app/api/docs/graph/route/app-paths-manifest.json +3 -0
  61. package/.next/server/app/api/docs/graph/route/server-reference-manifest.json +4 -0
  62. package/.next/server/app/api/docs/graph/route.js +9 -0
  63. package/.next/server/app/api/docs/graph/route.js.map +5 -0
  64. package/.next/server/app/api/docs/graph/route.js.nft.json +1 -0
  65. package/.next/server/app/api/docs/graph/route_client-reference-manifest.js +3 -0
  66. package/.next/server/app/api/docs/links/route/app-paths-manifest.json +3 -0
  67. package/.next/server/app/api/docs/links/route/build-manifest.json +12 -0
  68. package/.next/server/app/api/docs/links/route/server-reference-manifest.json +4 -0
  69. package/.next/server/app/api/docs/links/route.js +9 -0
  70. package/.next/server/app/api/docs/links/route.js.map +5 -0
  71. package/.next/server/app/api/docs/links/route.js.nft.json +1 -0
  72. package/.next/server/app/api/docs/links/route_client-reference-manifest.js +3 -0
  73. package/.next/server/app/api/docs/route.js +2 -2
  74. package/.next/server/app/api/docs/route.js.nft.json +1 -1
  75. package/.next/server/app/api/explorer/route.js +2 -2
  76. package/.next/server/app/api/explorer/route.js.nft.json +1 -1
  77. package/.next/server/app/api/mcp/route.js +2 -2
  78. package/.next/server/app/api/mcp/route.js.nft.json +1 -1
  79. package/.next/server/app/api/memory/entries/delete/route.js +2 -2
  80. package/.next/server/app/api/memory/entries/delete/route.js.nft.json +1 -1
  81. package/.next/server/app/api/memory/entries/merge/route/app-paths-manifest.json +3 -0
  82. package/.next/server/app/api/memory/entries/merge/route/build-manifest.json +12 -0
  83. package/.next/server/app/api/memory/entries/merge/route/server-reference-manifest.json +4 -0
  84. package/.next/server/app/api/memory/entries/merge/route.js +9 -0
  85. package/.next/server/app/api/memory/entries/merge/route.js.map +5 -0
  86. package/.next/server/app/api/memory/entries/merge/route.js.nft.json +1 -0
  87. package/.next/server/app/api/memory/entries/merge/route_client-reference-manifest.js +3 -0
  88. package/.next/server/app/api/memory/entries/merge/undo/route/app-paths-manifest.json +3 -0
  89. package/.next/server/app/api/memory/entries/merge/undo/route/build-manifest.json +12 -0
  90. package/.next/server/app/api/memory/entries/merge/undo/route/server-reference-manifest.json +4 -0
  91. package/.next/server/app/api/memory/entries/merge/undo/route.js +9 -0
  92. package/.next/server/app/api/memory/entries/merge/undo/route.js.map +5 -0
  93. package/.next/server/app/api/memory/entries/merge/undo/route.js.nft.json +1 -0
  94. package/.next/server/app/api/memory/entries/merge/undo/route_client-reference-manifest.js +3 -0
  95. package/.next/server/app/api/memory/entries/restore/route.js +2 -2
  96. package/.next/server/app/api/memory/entries/restore/route.js.nft.json +1 -1
  97. package/.next/server/app/api/memory/entries/route.js +2 -2
  98. package/.next/server/app/api/memory/entries/route.js.nft.json +1 -1
  99. package/.next/server/app/api/memory/entries/save/route.js +2 -2
  100. package/.next/server/app/api/memory/entries/save/route.js.nft.json +1 -1
  101. package/.next/server/app/api/memory/graph/route.js +2 -2
  102. package/.next/server/app/api/memory/graph/route.js.nft.json +1 -1
  103. package/.next/server/app/api/memory/health/dismiss/route/app-paths-manifest.json +3 -0
  104. package/.next/server/app/api/memory/health/dismiss/route/build-manifest.json +12 -0
  105. package/.next/server/app/api/memory/health/dismiss/route/server-reference-manifest.json +4 -0
  106. package/.next/server/app/api/memory/health/dismiss/route.js +9 -0
  107. package/.next/server/app/api/memory/health/dismiss/route.js.map +5 -0
  108. package/.next/server/app/api/memory/health/dismiss/route.js.nft.json +1 -0
  109. package/.next/server/app/api/memory/health/dismiss/route_client-reference-manifest.js +3 -0
  110. package/.next/server/app/api/memory/health/route/app-paths-manifest.json +3 -0
  111. package/.next/server/app/api/memory/health/route/build-manifest.json +12 -0
  112. package/.next/server/app/api/memory/health/route/server-reference-manifest.json +4 -0
  113. package/.next/server/app/api/memory/health/route.js +8 -0
  114. package/.next/server/app/api/memory/health/route.js.map +5 -0
  115. package/.next/server/app/api/memory/health/route.js.nft.json +1 -0
  116. package/.next/server/app/api/memory/health/route_client-reference-manifest.js +3 -0
  117. package/.next/server/app/api/memory/history/route.js +2 -2
  118. package/.next/server/app/api/memory/history/route.js.nft.json +1 -1
  119. package/.next/server/app/api/memory/restore/route/app-paths-manifest.json +3 -0
  120. package/.next/server/app/api/memory/restore/route/build-manifest.json +12 -0
  121. package/.next/server/app/api/memory/restore/route/server-reference-manifest.json +4 -0
  122. package/.next/server/app/api/memory/restore/route.js +9 -0
  123. package/.next/server/app/api/memory/restore/route.js.map +5 -0
  124. package/.next/server/app/api/memory/restore/route.js.nft.json +1 -0
  125. package/.next/server/app/api/memory/restore/route_client-reference-manifest.js +3 -0
  126. package/.next/server/app/api/memory/route.js +2 -2
  127. package/.next/server/app/api/memory/route.js.nft.json +1 -1
  128. package/.next/server/app/api/memory/versions/route/app-paths-manifest.json +3 -0
  129. package/.next/server/app/api/memory/versions/route/build-manifest.json +12 -0
  130. package/.next/server/app/api/memory/versions/route/server-reference-manifest.json +4 -0
  131. package/.next/server/app/api/memory/versions/route.js +8 -0
  132. package/.next/server/app/api/memory/versions/route.js.map +5 -0
  133. package/.next/server/app/api/memory/versions/route.js.nft.json +1 -0
  134. package/.next/server/app/api/memory/versions/route_client-reference-manifest.js +3 -0
  135. package/.next/server/app/api/plan/apply/route.js +2 -2
  136. package/.next/server/app/api/plan/apply/route.js.nft.json +1 -1
  137. package/.next/server/app/api/projects/route.js +2 -2
  138. package/.next/server/app/api/projects/route.js.nft.json +1 -1
  139. package/.next/server/app/api/registry/route.js +2 -2
  140. package/.next/server/app/api/registry/route.js.nft.json +1 -1
  141. package/.next/server/app/api/roadmap/create/route.js +2 -2
  142. package/.next/server/app/api/roadmap/create/route.js.nft.json +1 -1
  143. package/.next/server/app/api/roadmap/delete/route.js +2 -2
  144. package/.next/server/app/api/roadmap/delete/route.js.nft.json +1 -1
  145. package/.next/server/app/api/roadmap/generate/route.js +2 -2
  146. package/.next/server/app/api/roadmap/generate/route.js.nft.json +1 -1
  147. package/.next/server/app/api/roadmap/layout/route.js +2 -2
  148. package/.next/server/app/api/roadmap/layout/route.js.nft.json +1 -1
  149. package/.next/server/app/api/roadmap/restore/route.js +2 -2
  150. package/.next/server/app/api/roadmap/restore/route.js.nft.json +1 -1
  151. package/.next/server/app/api/roadmap/route.js +2 -2
  152. package/.next/server/app/api/roadmap/route.js.nft.json +1 -1
  153. package/.next/server/app/api/roadmap/update/route.js +2 -2
  154. package/.next/server/app/api/roadmap/update/route.js.nft.json +1 -1
  155. package/.next/server/app/api/sessions/route.js +2 -2
  156. package/.next/server/app/api/sessions/route.js.nft.json +1 -1
  157. package/.next/server/app/api/settings/route.js +2 -2
  158. package/.next/server/app/api/settings/route.js.nft.json +1 -1
  159. package/.next/server/app/api/setup/generate/route.js +2 -2
  160. package/.next/server/app/api/setup/generate/route.js.nft.json +1 -1
  161. package/.next/server/app/api/setup/write/route.js +2 -2
  162. package/.next/server/app/api/setup/write/route.js.nft.json +1 -1
  163. package/.next/server/app/api/summary/route.js +2 -2
  164. package/.next/server/app/api/summary/route.js.nft.json +1 -1
  165. package/.next/server/app/api/tasks/bulk/route.js +2 -2
  166. package/.next/server/app/api/tasks/bulk/route.js.nft.json +1 -1
  167. package/.next/server/app/api/tasks/create/route.js +2 -2
  168. package/.next/server/app/api/tasks/create/route.js.nft.json +1 -1
  169. package/.next/server/app/api/tasks/delete/route.js +2 -2
  170. package/.next/server/app/api/tasks/delete/route.js.nft.json +1 -1
  171. package/.next/server/app/api/tasks/manual-tests/route.js +2 -2
  172. package/.next/server/app/api/tasks/manual-tests/route.js.nft.json +1 -1
  173. package/.next/server/app/api/tasks/restore/route.js +2 -2
  174. package/.next/server/app/api/tasks/restore/route.js.nft.json +1 -1
  175. package/.next/server/app/api/tasks/review/route.js +2 -2
  176. package/.next/server/app/api/tasks/review/route.js.nft.json +1 -1
  177. package/.next/server/app/api/tasks/route.js +2 -2
  178. package/.next/server/app/api/tasks/route.js.nft.json +1 -1
  179. package/.next/server/app/api/tasks/update/route.js +2 -2
  180. package/.next/server/app/api/tasks/update/route.js.nft.json +1 -1
  181. package/.next/server/app/api/views/route.js +2 -2
  182. package/.next/server/app/api/views/route.js.nft.json +1 -1
  183. package/.next/server/app/board.html +1 -1
  184. package/.next/server/app/board.rsc +8 -8
  185. package/.next/server/app/board.segments/!KGFwcCk/board/__PAGE__.segment.rsc +5 -5
  186. package/.next/server/app/board.segments/_full.segment.rsc +8 -8
  187. package/.next/server/app/board.segments/_tree.segment.rsc +2 -2
  188. package/.next/server/app/chat.html +1 -1
  189. package/.next/server/app/chat.rsc +8 -8
  190. package/.next/server/app/chat.segments/!KGFwcCk/chat/__PAGE__.segment.rsc +9 -11
  191. package/.next/server/app/chat.segments/_full.segment.rsc +8 -8
  192. package/.next/server/app/chat.segments/_tree.segment.rsc +2 -2
  193. package/.next/server/app/docs.html +1 -1
  194. package/.next/server/app/docs.rsc +8 -8
  195. package/.next/server/app/docs.segments/!KGFwcCk/docs/__PAGE__.segment.rsc +5 -5
  196. package/.next/server/app/docs.segments/_full.segment.rsc +8 -8
  197. package/.next/server/app/docs.segments/_tree.segment.rsc +2 -2
  198. package/.next/server/app/explorer.html +1 -1
  199. package/.next/server/app/explorer.rsc +7 -7
  200. package/.next/server/app/explorer.segments/!KGFwcCk/explorer/__PAGE__.segment.rsc +9 -10
  201. package/.next/server/app/explorer.segments/_full.segment.rsc +7 -7
  202. package/.next/server/app/explorer.segments/_tree.segment.rsc +2 -2
  203. package/.next/server/app/graph.html +1 -0
  204. package/.next/server/app/graph.meta +31 -0
  205. package/.next/server/app/graph.rsc +32 -0
  206. package/.next/server/app/graph.segments/!KGFwcCk/graph/__PAGE__.segment.rsc +33 -0
  207. package/.next/server/app/graph.segments/_full.segment.rsc +32 -0
  208. package/.next/server/app/graph.segments/_tree.segment.rsc +6 -0
  209. package/.next/server/app/index.html +1 -1
  210. package/.next/server/app/index.rsc +2 -2
  211. package/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  212. package/.next/server/app/index.segments/_full.segment.rsc +2 -2
  213. package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  214. package/.next/server/app/manual-tests.html +1 -1
  215. package/.next/server/app/manual-tests.rsc +7 -7
  216. package/.next/server/app/manual-tests.segments/!KGFwcCk/manual-tests/__PAGE__.segment.rsc +9 -10
  217. package/.next/server/app/manual-tests.segments/_full.segment.rsc +7 -7
  218. package/.next/server/app/manual-tests.segments/_tree.segment.rsc +2 -2
  219. package/.next/server/app/memory.html +1 -1
  220. package/.next/server/app/memory.rsc +8 -8
  221. package/.next/server/app/memory.segments/!KGFwcCk/memory/__PAGE__.segment.rsc +6 -6
  222. package/.next/server/app/memory.segments/_full.segment.rsc +8 -8
  223. package/.next/server/app/memory.segments/_tree.segment.rsc +2 -2
  224. package/.next/server/app/page.js.nft.json +1 -1
  225. package/.next/server/app/page_client-reference-manifest.js +1 -1
  226. package/.next/server/app/roadmap.html +1 -1
  227. package/.next/server/app/roadmap.rsc +8 -8
  228. package/.next/server/app/roadmap.segments/!KGFwcCk/roadmap/__PAGE__.segment.rsc +5 -5
  229. package/.next/server/app/roadmap.segments/_full.segment.rsc +8 -8
  230. package/.next/server/app/roadmap.segments/_tree.segment.rsc +2 -2
  231. package/.next/server/app/settings.html +1 -1
  232. package/.next/server/app/settings.rsc +7 -7
  233. package/.next/server/app/settings.segments/!KGFwcCk/settings/__PAGE__.segment.rsc +11 -9
  234. package/.next/server/app/settings.segments/_full.segment.rsc +7 -7
  235. package/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
  236. package/.next/server/app/setup.html +1 -1
  237. package/.next/server/app/setup.rsc +7 -7
  238. package/.next/server/app/setup.segments/!KGFwcCk/setup/__PAGE__.segment.rsc +9 -10
  239. package/.next/server/app/setup.segments/_full.segment.rsc +7 -7
  240. package/.next/server/app/setup.segments/_tree.segment.rsc +2 -2
  241. package/.next/server/app-paths-manifest.json +9 -1
  242. package/.next/server/chunks/{11mp_@anthropic-ai_sdk_053zt3c._.js → 11mp_@anthropic-ai_sdk_013qeb4._.js} +1 -1
  243. package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0_zx69c._.js → 11mp_@anthropic-ai_sdk_05ck8py._.js} +1 -1
  244. package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0gvxfg3._.js → 11mp_@anthropic-ai_sdk_05w8m72._.js} +1 -1
  245. package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0gx5t2l._.js → 11mp_@anthropic-ai_sdk_086oevc._.js} +1 -1
  246. package/.next/server/chunks/11mp_@anthropic-ai_sdk_08rl0hf._.js +3 -0
  247. package/.next/server/chunks/11mp_@anthropic-ai_sdk_09ujrsu._.js +3 -0
  248. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0c3_7p7._.js +3 -0
  249. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0cto43x._.js +3 -0
  250. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0fgisb_._.js +3 -0
  251. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0fy8wd3._.js +3 -0
  252. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0fyvizf._.js +3 -0
  253. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0hg0i2g._.js +3 -0
  254. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0i0sz05._.js +3 -0
  255. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0l0j9c6._.js +3 -0
  256. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0lcm61d._.js +3 -0
  257. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0qtva5j._.js +3 -0
  258. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0r4fkdu._.js +3 -0
  259. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0wbae0t._.js +3 -0
  260. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0wxyz1t._.js +3 -0
  261. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0y2cods._.js +3 -0
  262. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0zu0fj1._.js +3 -0
  263. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0zxpgt0._.js +3 -0
  264. package/.next/server/chunks/11mp_@anthropic-ai_sdk_10_cxcd._.js +3 -0
  265. package/.next/server/chunks/11mp_@anthropic-ai_sdk_10gb7d1._.js +3 -0
  266. package/.next/server/chunks/11mp_@anthropic-ai_sdk_12q70bs._.js +3 -0
  267. package/.next/server/chunks/11mp_@anthropic-ai_sdk_149ltk3._.js +3 -0
  268. package/.next/server/chunks/11mp_@anthropic-ai_sdk_165_uiw._.js +3 -0
  269. package/.next/server/chunks/11mp_@anthropic-ai_sdk_19w4zh6._.js +3 -0
  270. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1adck-s._.js +3 -0
  271. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1c2dwoi._.js +3 -0
  272. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1d9lw_2._.js +3 -0
  273. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1db6a7p._.js +3 -0
  274. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1h2f90s._.js +3 -0
  275. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1k5_i1z._.js +3 -0
  276. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1p3mv6i._.js +3 -0
  277. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1qoom5s._.js +3 -0
  278. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1qsbcbe._.js +3 -0
  279. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1rk0x59._.js +3 -0
  280. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1sd98mi._.js +3 -0
  281. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1sumqg8._.js +3 -0
  282. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1t-rt4q._.js +3 -0
  283. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1t-rt4q._.js.map +1 -0
  284. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1tr-k4y._.js +3 -0
  285. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1tr-k4y._.js.map +1 -0
  286. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1xk3c39._.js +3 -0
  287. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1xk3c39._.js.map +1 -0
  288. package/.next/server/chunks/11mp_@anthropic-ai_sdk_206l10_._.js +3 -0
  289. package/.next/server/chunks/11mp_@anthropic-ai_sdk_206l10_._.js.map +1 -0
  290. package/.next/server/chunks/11mp_@anthropic-ai_sdk_20giys9._.js +3 -0
  291. package/.next/server/chunks/11mp_@anthropic-ai_sdk_20giys9._.js.map +1 -0
  292. package/.next/server/chunks/11mp_@anthropic-ai_sdk_20xrvvy._.js +3 -0
  293. package/.next/server/chunks/11mp_@anthropic-ai_sdk_20xrvvy._.js.map +1 -0
  294. package/.next/server/chunks/11mp_@anthropic-ai_sdk_215tg00._.js +3 -0
  295. package/.next/server/chunks/11mp_@anthropic-ai_sdk_215tg00._.js.map +1 -0
  296. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_018s_10._.js +3 -0
  297. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_08d6i7w._.js +3 -0
  298. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_09_fd9g._.js +3 -0
  299. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_0eopml6._.js +3 -0
  300. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_0f5epel._.js +3 -0
  301. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_0okfnhu._.js +3 -0
  302. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_0s8-ha8._.js +3 -0
  303. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_0ujs27r._.js +3 -0
  304. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_0uo7rs8._.js +3 -0
  305. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_0vyq_2d._.js +3 -0
  306. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_0w3js74._.js +3 -0
  307. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_0xa4-uq._.js +3 -0
  308. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_113y3so._.js +3 -0
  309. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_12qcr96._.js +3 -0
  310. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_13ixdy8._.js +3 -0
  311. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1708vst._.js +3 -0
  312. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1_rdguq._.js +3 -0
  313. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1bgpe23._.js +3 -0
  314. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1f-tphn._.js +3 -0
  315. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1h1pqdh._.js +3 -0
  316. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1hfj_1d._.js +3 -0
  317. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1ih2qzz._.js +3 -0
  318. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1jatyl1._.js +3 -0
  319. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1v1zbha._.js +3 -0
  320. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1vyqs5z._.js +3 -0
  321. package/.next/server/chunks/{[root-of-the-server]__0kuhhna._.js → [root-of-the-server]__00usbi3._.js} +2 -2
  322. package/.next/server/chunks/{[root-of-the-server]__1gr4e22._.js → [root-of-the-server]__04cwur0._.js} +2 -2
  323. package/.next/server/chunks/{[root-of-the-server]__06dfvb0._.js → [root-of-the-server]__04ri_ci._.js} +2 -2
  324. package/.next/server/chunks/{[root-of-the-server]__00o3mbd._.js → [root-of-the-server]__05-be3n._.js} +2 -2
  325. package/.next/server/chunks/{[root-of-the-server]__0uu9pgg._.js → [root-of-the-server]__0756_60._.js} +2 -2
  326. package/.next/server/chunks/{[root-of-the-server]__1h5hb6u._.js → [root-of-the-server]__089ay-q._.js} +2 -2
  327. package/.next/server/chunks/{[root-of-the-server]__15jhpgl._.js → [root-of-the-server]__0d4t4q6._.js} +2 -2
  328. package/.next/server/chunks/{[root-of-the-server]__01n_hoh._.js → [root-of-the-server]__0dgwykw._.js} +2 -2
  329. package/.next/server/chunks/[root-of-the-server]__0fn-a8c._.js +105 -0
  330. package/.next/server/chunks/[root-of-the-server]__0fn-a8c._.js.map +1 -0
  331. package/.next/server/chunks/[root-of-the-server]__0lix3ru._.js +3 -0
  332. package/.next/server/chunks/[root-of-the-server]__0lix3ru._.js.map +1 -0
  333. package/.next/server/chunks/{[root-of-the-server]__1kw2vct._.js → [root-of-the-server]__0n0myt9._.js} +2 -2
  334. package/.next/server/chunks/[root-of-the-server]__0pe1qih._.js +3 -0
  335. package/.next/server/chunks/[root-of-the-server]__0pe1qih._.js.map +1 -0
  336. package/.next/server/chunks/[root-of-the-server]__0pvi3ku._.js +105 -0
  337. package/.next/server/chunks/[root-of-the-server]__0pvi3ku._.js.map +1 -0
  338. package/.next/server/chunks/[root-of-the-server]__0rggulw._.js +3 -0
  339. package/.next/server/chunks/[root-of-the-server]__0rggulw._.js.map +1 -0
  340. package/.next/server/chunks/{[root-of-the-server]__076d4xm._.js → [root-of-the-server]__0s-j6z-._.js} +2 -2
  341. package/.next/server/chunks/[root-of-the-server]__0s8v5i-._.js +3 -0
  342. package/.next/server/chunks/[root-of-the-server]__0s8v5i-._.js.map +1 -0
  343. package/.next/server/chunks/{[root-of-the-server]__1e_o8h4._.js → [root-of-the-server]__0yaxn8g._.js} +2 -2
  344. package/.next/server/chunks/[root-of-the-server]__162_l0k._.js +3 -0
  345. package/.next/server/chunks/[root-of-the-server]__162_l0k._.js.map +1 -0
  346. package/.next/server/chunks/{[root-of-the-server]__1-1hfrj._.js → [root-of-the-server]__16smlkg._.js} +2 -2
  347. package/.next/server/chunks/{[root-of-the-server]__19w-7h9._.js → [root-of-the-server]__19yo85m._.js} +2 -2
  348. package/.next/server/chunks/[root-of-the-server]__1_qenei._.js +1 -1
  349. package/.next/server/chunks/[root-of-the-server]__1_qenei._.js.map +1 -1
  350. package/.next/server/chunks/[root-of-the-server]__1lxrobr._.js +3 -0
  351. package/.next/server/chunks/[root-of-the-server]__1lxrobr._.js.map +1 -0
  352. package/.next/server/chunks/{[root-of-the-server]__1rjgpbm._.js → [root-of-the-server]__1mnzsbh._.js} +2 -2
  353. package/.next/server/chunks/{[root-of-the-server]__06z8i6e._.js → [root-of-the-server]__1ntu_6r._.js} +2 -2
  354. package/.next/server/chunks/[root-of-the-server]__1ntu_6r._.js.map +1 -0
  355. package/.next/server/chunks/[root-of-the-server]__1p4ws5z._.js +3 -0
  356. package/.next/server/chunks/[root-of-the-server]__1p4ws5z._.js.map +1 -0
  357. package/.next/server/chunks/[root-of-the-server]__1pjwaan._.js +3 -0
  358. package/.next/server/chunks/{[root-of-the-server]__1af-wfk._.js.map → [root-of-the-server]__1pjwaan._.js.map} +1 -1
  359. package/.next/server/chunks/{[root-of-the-server]__1spley9._.js → [root-of-the-server]__1s0t8r3._.js} +2 -2
  360. package/.next/server/chunks/{[root-of-the-server]__1lt5cds._.js → [root-of-the-server]__1sd3l-d._.js} +2 -2
  361. package/.next/server/chunks/[root-of-the-server]__1skrybv._.js +3 -0
  362. package/.next/server/chunks/[root-of-the-server]__1skrybv._.js.map +1 -0
  363. package/.next/server/chunks/[root-of-the-server]__1vnine1._.js +105 -0
  364. package/.next/server/chunks/[root-of-the-server]__1vnine1._.js.map +1 -0
  365. package/.next/server/chunks/{[root-of-the-server]__05tx02j._.js → [root-of-the-server]__1vzxnjb._.js} +2 -2
  366. package/.next/server/chunks/{[root-of-the-server]__09j_-hj._.js → [root-of-the-server]__1zeys20._.js} +2 -2
  367. package/.next/server/chunks/_04byth9._.js +31 -26
  368. package/.next/server/chunks/_04byth9._.js.map +1 -1
  369. package/.next/server/chunks/_0safx0g._.js +3 -3
  370. package/.next/server/chunks/_0safx0g._.js.map +1 -1
  371. package/.next/server/chunks/_next-internal_server_app_api_docs_graph_route_actions_1nzoqf-.js +3 -0
  372. package/.next/server/chunks/_next-internal_server_app_api_docs_links_route_actions_1q-6jeg.js +3 -0
  373. package/.next/server/chunks/_next-internal_server_app_api_memory_entries_merge_route_actions_1rr-wwt.js +3 -0
  374. package/.next/server/chunks/_next-internal_server_app_api_memory_entries_merge_route_actions_1rr-wwt.js.map +1 -0
  375. package/.next/server/chunks/_next-internal_server_app_api_memory_entries_merge_undo_route_actions_0l6cy9q.js +3 -0
  376. package/.next/server/chunks/_next-internal_server_app_api_memory_entries_merge_undo_route_actions_0l6cy9q.js.map +1 -0
  377. package/.next/server/chunks/_next-internal_server_app_api_memory_health_dismiss_route_actions_0i7_n68.js +3 -0
  378. package/.next/server/chunks/_next-internal_server_app_api_memory_health_dismiss_route_actions_0i7_n68.js.map +1 -0
  379. package/.next/server/chunks/_next-internal_server_app_api_memory_health_route_actions_1lk-_5d.js +3 -0
  380. package/.next/server/chunks/_next-internal_server_app_api_memory_health_route_actions_1lk-_5d.js.map +1 -0
  381. package/.next/server/chunks/_next-internal_server_app_api_memory_restore_route_actions_0679kmo.js +3 -0
  382. package/.next/server/chunks/_next-internal_server_app_api_memory_restore_route_actions_0679kmo.js.map +1 -0
  383. package/.next/server/chunks/_next-internal_server_app_api_memory_versions_route_actions_13mix75.js +3 -0
  384. package/.next/server/chunks/_next-internal_server_app_api_memory_versions_route_actions_13mix75.js.map +1 -0
  385. package/.next/server/chunks/ssr/{0_nd_mermaid_dist_mermaid_core_mjs_0itmgkm._.js → 0_nd_mermaid_dist_mermaid_core_mjs_0y_edkq._.js} +2 -2
  386. package/.next/server/chunks/ssr/0_nd_mermaid_dist_mermaid_core_mjs_0y_edkq._.js.map +1 -0
  387. package/.next/server/chunks/ssr/{1u84_katex_dist_katex_mjs_08jn-sj._.js → 1u84_katex_dist_katex_mjs_0yg8zto._.js} +1 -1
  388. package/.next/server/chunks/ssr/1u84_katex_dist_katex_mjs_0yg8zto._.js.map +1 -0
  389. package/.next/server/chunks/ssr/[root-of-the-server]__1drc5py._.js +3 -0
  390. package/.next/server/chunks/ssr/[root-of-the-server]__1drc5py._.js.map +1 -0
  391. package/.next/server/chunks/ssr/_0-_04ia._.js +3 -0
  392. package/.next/server/chunks/ssr/_0-_04ia._.js.map +1 -0
  393. package/.next/server/chunks/ssr/_02ks8_a._.js +3 -0
  394. package/.next/server/chunks/ssr/_02ks8_a._.js.map +1 -0
  395. package/.next/server/chunks/ssr/_04xff_2._.js +1 -1
  396. package/.next/server/chunks/ssr/_04xff_2._.js.map +1 -1
  397. package/.next/server/chunks/ssr/_0696iog._.js +3 -0
  398. package/.next/server/chunks/ssr/_0696iog._.js.map +1 -0
  399. package/.next/server/chunks/ssr/_0cv0ugs._.js +3 -0
  400. package/.next/server/chunks/ssr/_0cv0ugs._.js.map +1 -0
  401. package/.next/server/chunks/ssr/_0ghj-vx._.js +3 -0
  402. package/.next/server/chunks/ssr/_0ghj-vx._.js.map +1 -0
  403. package/.next/server/chunks/ssr/{_0idb-vo._.js → _0kob2si._.js} +2 -2
  404. package/.next/server/chunks/ssr/_0kob2si._.js.map +1 -0
  405. package/.next/server/chunks/ssr/_0o8t6j-._.js +3 -0
  406. package/.next/server/chunks/ssr/_0o8t6j-._.js.map +1 -0
  407. package/.next/server/chunks/ssr/_128p7pz._.js +3 -0
  408. package/.next/server/chunks/ssr/_128p7pz._.js.map +1 -0
  409. package/.next/server/chunks/ssr/_19k2iz0._.js +2 -2
  410. package/.next/server/chunks/ssr/_19k2iz0._.js.map +1 -1
  411. package/.next/server/chunks/ssr/_1b82nz3._.js +3 -0
  412. package/.next/server/chunks/ssr/_1b82nz3._.js.map +1 -0
  413. package/.next/server/chunks/ssr/_1hm7p_8._.js +3 -0
  414. package/.next/server/chunks/ssr/_1hm7p_8._.js.map +1 -0
  415. package/.next/server/chunks/ssr/{_1s2ya35._.js → _1r_t_wi._.js} +1 -1
  416. package/.next/server/chunks/ssr/_1r_t_wi._.js.map +1 -0
  417. package/.next/server/chunks/ssr/_1s-2jub._.js +3 -0
  418. package/.next/server/chunks/ssr/_1s-2jub._.js.map +1 -0
  419. package/.next/server/chunks/ssr/_next-internal_server_app_(app)_graph_page_actions_041e9i7.js +3 -0
  420. package/.next/server/chunks/ssr/_next-internal_server_app_(app)_graph_page_actions_041e9i7.js.map +1 -0
  421. package/.next/server/chunks/ssr/{node_modules__pnpm_0s7j-tv._.js → node_modules__pnpm_00f4yhs._.js} +1 -1
  422. package/.next/server/chunks/ssr/node_modules__pnpm_00f4yhs._.js.map +1 -0
  423. package/.next/server/chunks/ssr/{node_modules__pnpm_1fry8_2._.js → node_modules__pnpm_035haet._.js} +1 -1
  424. package/.next/server/chunks/ssr/{node_modules__pnpm_0j7asqf._.js → node_modules__pnpm_03an60e._.js} +1 -1
  425. package/.next/server/chunks/ssr/{node_modules__pnpm_0eub17j._.js → node_modules__pnpm_03mp7qw._.js} +2 -2
  426. package/.next/server/chunks/ssr/{node_modules__pnpm_0_83tv8._.js → node_modules__pnpm_03mpmzx._.js} +1 -1
  427. package/.next/server/chunks/ssr/{node_modules__pnpm_0e55e7-._.js → node_modules__pnpm_06_8fr8._.js} +1 -1
  428. package/.next/server/chunks/ssr/{node_modules__pnpm_16bj927._.js → node_modules__pnpm_09nd7ia._.js} +1 -1
  429. package/.next/server/chunks/ssr/{node_modules__pnpm_1ch46nl._.js → node_modules__pnpm_0_e05ka._.js} +1 -1
  430. package/.next/server/chunks/ssr/node_modules__pnpm_0aoa6rg._.js +1 -1
  431. package/.next/server/chunks/ssr/node_modules__pnpm_0aoa6rg._.js.map +1 -1
  432. package/.next/server/chunks/ssr/{node_modules__pnpm_02p2rqs._.js → node_modules__pnpm_0iu4132._.js} +1 -1
  433. package/.next/server/chunks/ssr/{node_modules__pnpm_0iqb0_x._.js → node_modules__pnpm_0j_-le7._.js} +2 -2
  434. package/.next/server/chunks/ssr/node_modules__pnpm_0j_-le7._.js.map +1 -0
  435. package/.next/server/chunks/ssr/{node_modules__pnpm_0abf_e9._.js → node_modules__pnpm_0jampur._.js} +1 -1
  436. package/.next/server/chunks/ssr/{node_modules__pnpm_1hqh95z._.js → node_modules__pnpm_0lkvbt-._.js} +1 -1
  437. package/.next/server/chunks/ssr/{node_modules__pnpm_14j18h7._.js → node_modules__pnpm_0mqeoh-._.js} +2 -2
  438. package/.next/server/chunks/ssr/{node_modules__pnpm_0v_mhl7._.js → node_modules__pnpm_0oyo3yo._.js} +2 -2
  439. package/.next/server/chunks/ssr/{node_modules__pnpm_00lsytc._.js → node_modules__pnpm_0rq9x9q._.js} +2 -2
  440. package/.next/server/chunks/ssr/{node_modules__pnpm_0s63lee._.js → node_modules__pnpm_0tn5pg3._.js} +1 -1
  441. package/.next/server/chunks/ssr/{node_modules__pnpm_0_ajzll._.js → node_modules__pnpm_0x5wj-4._.js} +2 -2
  442. package/.next/server/chunks/ssr/{node_modules__pnpm_0rsfj9v._.js → node_modules__pnpm_0zz55xq._.js} +1 -1
  443. package/.next/server/chunks/ssr/node_modules__pnpm_0zz55xq._.js.map +1 -0
  444. package/.next/server/chunks/ssr/{node_modules__pnpm_1gpkxns._.js → node_modules__pnpm_139-v1i._.js} +1 -1
  445. package/.next/server/chunks/ssr/{node_modules__pnpm_1dc-yxd._.js → node_modules__pnpm_1i_chik._.js} +1 -1
  446. package/.next/server/chunks/ssr/{node_modules__pnpm_060kz-j._.js → node_modules__pnpm_1jgju12._.js} +1 -1
  447. package/.next/server/chunks/ssr/{node_modules__pnpm_0up4z7m._.js → node_modules__pnpm_1n9oeu0._.js} +1 -1
  448. package/.next/server/chunks/ssr/node_modules__pnpm_1oygi6o._.js +3 -0
  449. package/.next/server/chunks/ssr/node_modules__pnpm_1oygi6o._.js.map +1 -0
  450. package/.next/server/chunks/ssr/node_modules__pnpm_1ukodtk._.js +3 -0
  451. package/.next/server/chunks/ssr/node_modules__pnpm_1ukodtk._.js.map +1 -0
  452. package/.next/server/chunks/ssr/{node_modules__pnpm_05-p8zy._.js → node_modules__pnpm_1ws3ez9._.js} +1 -1
  453. package/.next/server/chunks/ssr/{node_modules__pnpm_0gp90ei._.js → node_modules__pnpm_1ydeqw6._.js} +1 -1
  454. package/.next/server/chunks/ssr/{node_modules__pnpm_0jlzk5z._.js → node_modules__pnpm_1zme4rg._.js} +1 -1
  455. package/.next/server/chunks/ssr/{node_modules__pnpm_1oaf50x._.js → node_modules__pnpm_1zum4yd._.js} +1 -1
  456. package/.next/server/chunks/ssr/{node_modules__pnpm_0vuao3_._.js → node_modules__pnpm_2045l51._.js} +1 -1
  457. package/.next/server/chunks/ssr/src_1e9kctc._.js +3 -0
  458. package/.next/server/chunks/ssr/src_1e9kctc._.js.map +1 -0
  459. package/.next/server/chunks/ssr/src_app_(app)_chat_page_tsx_0c3e4l4._.js +1 -1
  460. package/.next/server/chunks/ssr/src_app_(app)_chat_page_tsx_0c3e4l4._.js.map +1 -1
  461. package/.next/server/chunks/ssr/src_app_(app)_graph_page_tsx_1yudb7h._.js +3 -0
  462. package/.next/server/chunks/ssr/src_app_(app)_graph_page_tsx_1yudb7h._.js.map +1 -0
  463. package/.next/server/chunks/ssr/src_app_(app)_layout_tsx_1yu5hom._.js +1 -1
  464. package/.next/server/chunks/ssr/src_app_(app)_layout_tsx_1yu5hom._.js.map +1 -1
  465. package/.next/server/chunks/ssr/src_app_(app)_memory_page_tsx_19jhb1c._.js +3 -2
  466. package/.next/server/chunks/ssr/src_app_(app)_memory_page_tsx_19jhb1c._.js.map +1 -1
  467. package/.next/server/chunks/ssr/src_components_chat_ChatView_tsx_0h5j-e2._.js +1 -1
  468. package/.next/server/chunks/ssr/src_components_chat_ChatView_tsx_0h5j-e2._.js.map +1 -1
  469. package/.next/server/chunks/ssr/src_components_roadmap_RoadmapNodes_tsx_0up_ygp._.js +3 -0
  470. package/.next/server/chunks/ssr/src_components_roadmap_RoadmapNodes_tsx_0up_ygp._.js.map +1 -0
  471. package/.next/server/chunks/ssr/src_context_ChatContext_tsx_0lowp8p._.js +2 -2
  472. package/.next/server/chunks/ssr/src_context_ChatContext_tsx_0lowp8p._.js.map +1 -1
  473. package/.next/server/middleware-build-manifest.js +3 -3
  474. package/.next/server/next-font-manifest.js +1 -1
  475. package/.next/server/next-font-manifest.json +4 -0
  476. package/.next/server/pages/404.html +1 -1
  477. package/.next/server/pages/500.html +1 -1
  478. package/.next/server/prefetch-hints.json +19 -0
  479. package/.next/server/server-reference-manifest.js +1 -1
  480. package/.next/server/server-reference-manifest.json +1 -1
  481. package/.next/static/chunks/03tzhv775qv5m.js +1 -0
  482. package/.next/static/chunks/05rjl54wa6y43.js +1 -0
  483. package/.next/static/chunks/0_8ovyz2sbr3p.js +1 -0
  484. package/.next/static/chunks/0do6j4i1v_c6s.js +1 -0
  485. package/.next/static/chunks/0eax07u1ta6tp.css +1 -0
  486. package/.next/static/chunks/{3xqcluqa32mjv.js → 0h52yb69w77nq.js} +2 -2
  487. package/.next/static/chunks/0kb25y5g772mn.js +1 -0
  488. package/.next/static/chunks/0lfd3aomz4wv4.js +1 -0
  489. package/.next/static/chunks/0pmpdvev8bf-o.js +1 -0
  490. package/.next/static/chunks/0po8atank1p02.js +12 -0
  491. package/.next/static/chunks/{1hh2cxd9ndxf-.js → 10itjt9fhlzr1.js} +13 -13
  492. package/.next/static/chunks/11ou9nrpdg4qo.js +3 -0
  493. package/.next/static/chunks/1b9r_vdcewfu7.js +1 -0
  494. package/.next/static/chunks/1g7st54huk4if.js +1 -0
  495. package/.next/static/chunks/1l8fp2uesk29q.js +1 -0
  496. package/.next/static/chunks/1v63qs4kxxcfh.js +1 -0
  497. package/.next/static/chunks/36s2k2k_w-or8.js +1 -0
  498. package/.next/static/chunks/3ctec-7mnm19m.js +1 -0
  499. package/.next/static/chunks/3x43gd45wlhbl.js +1 -0
  500. package/.next/static/chunks/40diykjra8f9n.js +2107 -0
  501. package/README.md +16 -8
  502. package/package.json +1 -1
  503. package/.next/server/app/api/backlinks/route/app-paths-manifest.json +0 -3
  504. package/.next/server/app/api/backlinks/route.js +0 -8
  505. package/.next/server/app/api/backlinks/route.js.nft.json +0 -1
  506. package/.next/server/app/api/backlinks/route_client-reference-manifest.js +0 -3
  507. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0krkw4y._.js +0 -3
  508. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0l0xzie._.js +0 -3
  509. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0pgjvhr._.js +0 -3
  510. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0r-keh6._.js +0 -3
  511. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0tvfbjt._.js +0 -3
  512. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0u4b8_f._.js +0 -3
  513. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0ud37xh._.js +0 -3
  514. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0v3ar-t._.js +0 -3
  515. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0wk0b65._.js +0 -3
  516. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0wqkd2r._.js +0 -3
  517. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0wypotx._.js +0 -3
  518. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0yuq-9s._.js +0 -3
  519. package/.next/server/chunks/11mp_@anthropic-ai_sdk_0z-e57x._.js +0 -3
  520. package/.next/server/chunks/11mp_@anthropic-ai_sdk_108ltz4._.js +0 -3
  521. package/.next/server/chunks/11mp_@anthropic-ai_sdk_10c_i6_._.js +0 -3
  522. package/.next/server/chunks/11mp_@anthropic-ai_sdk_14jogs8._.js +0 -3
  523. package/.next/server/chunks/11mp_@anthropic-ai_sdk_15u-n39._.js +0 -3
  524. package/.next/server/chunks/11mp_@anthropic-ai_sdk_194ahxu._.js +0 -3
  525. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1ahph2t._.js +0 -3
  526. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1ajy77y._.js +0 -3
  527. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1b57s9p._.js +0 -3
  528. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1brf2xn._.js +0 -3
  529. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1btfw2x._.js +0 -3
  530. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1cyy_q6._.js +0 -3
  531. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1fz9fev._.js +0 -3
  532. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1i_rz7h._.js +0 -3
  533. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1it8zsv._.js +0 -3
  534. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1jzusvd._.js +0 -3
  535. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1lfknr2._.js +0 -3
  536. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1mewd-3._.js +0 -3
  537. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1mkm4u_._.js +0 -3
  538. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1rggqq3._.js +0 -3
  539. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1rhjf1m._.js +0 -3
  540. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1s6ks8c._.js +0 -3
  541. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1u8z4hp._.js +0 -3
  542. package/.next/server/chunks/11mp_@anthropic-ai_sdk_1vyy3_4._.js +0 -3
  543. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_036bvwf._.js +0 -3
  544. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_046taqd._.js +0 -3
  545. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_0bxad5f._.js +0 -3
  546. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_0g65abt._.js +0 -3
  547. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_0pb9bu1._.js +0 -3
  548. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_120-cio._.js +0 -3
  549. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_13uyu_v._.js +0 -3
  550. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_13x2ww0._.js +0 -3
  551. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_17og64d._.js +0 -3
  552. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1e_sh4o._.js +0 -3
  553. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1ecuo9i._.js +0 -3
  554. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1go8d0m._.js +0 -3
  555. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1i13ryx._.js +0 -3
  556. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1jv_hid._.js +0 -3
  557. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1mh5mqk._.js +0 -3
  558. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1oq7e8u._.js +0 -3
  559. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1p-cq-p._.js +0 -3
  560. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1the3g0._.js +0 -3
  561. package/.next/server/chunks/11mp_@anthropic-ai_sdk_index_mjs_1xubh-w._.js +0 -3
  562. package/.next/server/chunks/[root-of-the-server]__0jr_5eq._.js +0 -110
  563. package/.next/server/chunks/[root-of-the-server]__0jr_5eq._.js.map +0 -1
  564. package/.next/server/chunks/[root-of-the-server]__0p4w_o-._.js +0 -3
  565. package/.next/server/chunks/[root-of-the-server]__0p4w_o-._.js.map +0 -1
  566. package/.next/server/chunks/[root-of-the-server]__19rxcu4._.js +0 -110
  567. package/.next/server/chunks/[root-of-the-server]__19rxcu4._.js.map +0 -1
  568. package/.next/server/chunks/[root-of-the-server]__1af-wfk._.js +0 -3
  569. package/.next/server/chunks/[root-of-the-server]__1qd-ecl._.js +0 -110
  570. package/.next/server/chunks/[root-of-the-server]__1qd-ecl._.js.map +0 -1
  571. package/.next/server/chunks/_next-internal_server_app_api_backlinks_route_actions_1_58m09.js +0 -3
  572. package/.next/server/chunks/ssr/1x05_lucide-react_dist_esm_icons_triangle-alert_mjs_0ei-mpz._.js +0 -3
  573. package/.next/server/chunks/ssr/1x05_lucide-react_dist_esm_icons_triangle-alert_mjs_0ei-mpz._.js.map +0 -1
  574. package/.next/server/chunks/ssr/_0h91h9n._.js +0 -3
  575. package/.next/server/chunks/ssr/_0h91h9n._.js.map +0 -1
  576. package/.next/server/chunks/ssr/_0idb-vo._.js.map +0 -1
  577. package/.next/server/chunks/ssr/_0ip7sg0._.js +0 -3
  578. package/.next/server/chunks/ssr/_0ip7sg0._.js.map +0 -1
  579. package/.next/server/chunks/ssr/_0ks_bep._.js +0 -3
  580. package/.next/server/chunks/ssr/_0ks_bep._.js.map +0 -1
  581. package/.next/server/chunks/ssr/_0lqrpim._.js +0 -3
  582. package/.next/server/chunks/ssr/_0lqrpim._.js.map +0 -1
  583. package/.next/server/chunks/ssr/_0qp3gu7._.js +0 -3
  584. package/.next/server/chunks/ssr/_0qp3gu7._.js.map +0 -1
  585. package/.next/server/chunks/ssr/_197jl3g._.js +0 -3
  586. package/.next/server/chunks/ssr/_197jl3g._.js.map +0 -1
  587. package/.next/server/chunks/ssr/_1el478k._.js +0 -3
  588. package/.next/server/chunks/ssr/_1el478k._.js.map +0 -1
  589. package/.next/server/chunks/ssr/_1t76zdx._.js +0 -3
  590. package/.next/server/chunks/ssr/_1t76zdx._.js.map +0 -1
  591. package/.next/server/chunks/ssr/node_modules__pnpm_0al3nfy._.js +0 -3
  592. package/.next/server/chunks/ssr/node_modules__pnpm_0al3nfy._.js.map +0 -1
  593. package/.next/server/chunks/ssr/src_components_0eyr_zi._.js +0 -3
  594. package/.next/server/chunks/ssr/src_components_0eyr_zi._.js.map +0 -1
  595. package/.next/server/chunks/ssr/src_components_1s861m8._.js +0 -3
  596. package/.next/server/chunks/ssr/src_components_1s861m8._.js.map +0 -1
  597. package/.next/static/chunks/08sqjdq-43nbt.js +0 -1
  598. package/.next/static/chunks/09r4_4wr0aga3.js +0 -1
  599. package/.next/static/chunks/0mgifb98wbesa.js +0 -1
  600. package/.next/static/chunks/0xw_sa58zqv5s.js +0 -1
  601. package/.next/static/chunks/1-a3-6c_nce84.js +0 -1
  602. package/.next/static/chunks/149fj-mseo8q3.css +0 -1
  603. package/.next/static/chunks/1c11k-snzp541.js +0 -1
  604. package/.next/static/chunks/1n4_u3om7ye4z.js +0 -2107
  605. package/.next/static/chunks/1qhndyi2gdbkf.js +0 -1
  606. package/.next/static/chunks/1x40-5s54wd5m.js +0 -11
  607. package/.next/static/chunks/24u_rc2tbkhai.js +0 -3
  608. package/.next/static/chunks/30s090l71e1gs.js +0 -1
  609. package/.next/static/chunks/3t8px4aygy1s9.js +0 -1
  610. package/.next/static/chunks/44gr_v5092gwh.js +0 -1
  611. /package/.next/server/app/{api/backlinks/route → (app)/graph/page}/server-reference-manifest.json +0 -0
  612. /package/.next/server/app/{api/backlinks/route.js.map → (app)/graph/page.js.map} +0 -0
  613. /package/.next/server/app/api/{backlinks → docs/graph}/route/build-manifest.json +0 -0
  614. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_053zt3c._.js.map → 11mp_@anthropic-ai_sdk_013qeb4._.js.map} +0 -0
  615. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0_zx69c._.js.map → 11mp_@anthropic-ai_sdk_05ck8py._.js.map} +0 -0
  616. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0gvxfg3._.js.map → 11mp_@anthropic-ai_sdk_05w8m72._.js.map} +0 -0
  617. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0gx5t2l._.js.map → 11mp_@anthropic-ai_sdk_086oevc._.js.map} +0 -0
  618. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0krkw4y._.js.map → 11mp_@anthropic-ai_sdk_08rl0hf._.js.map} +0 -0
  619. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0l0xzie._.js.map → 11mp_@anthropic-ai_sdk_09ujrsu._.js.map} +0 -0
  620. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0pgjvhr._.js.map → 11mp_@anthropic-ai_sdk_0c3_7p7._.js.map} +0 -0
  621. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0r-keh6._.js.map → 11mp_@anthropic-ai_sdk_0cto43x._.js.map} +0 -0
  622. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0tvfbjt._.js.map → 11mp_@anthropic-ai_sdk_0fgisb_._.js.map} +0 -0
  623. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0u4b8_f._.js.map → 11mp_@anthropic-ai_sdk_0fy8wd3._.js.map} +0 -0
  624. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0ud37xh._.js.map → 11mp_@anthropic-ai_sdk_0fyvizf._.js.map} +0 -0
  625. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0v3ar-t._.js.map → 11mp_@anthropic-ai_sdk_0hg0i2g._.js.map} +0 -0
  626. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0wk0b65._.js.map → 11mp_@anthropic-ai_sdk_0i0sz05._.js.map} +0 -0
  627. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0wqkd2r._.js.map → 11mp_@anthropic-ai_sdk_0l0j9c6._.js.map} +0 -0
  628. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0wypotx._.js.map → 11mp_@anthropic-ai_sdk_0lcm61d._.js.map} +0 -0
  629. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0yuq-9s._.js.map → 11mp_@anthropic-ai_sdk_0qtva5j._.js.map} +0 -0
  630. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_0z-e57x._.js.map → 11mp_@anthropic-ai_sdk_0r4fkdu._.js.map} +0 -0
  631. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_108ltz4._.js.map → 11mp_@anthropic-ai_sdk_0wbae0t._.js.map} +0 -0
  632. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_10c_i6_._.js.map → 11mp_@anthropic-ai_sdk_0wxyz1t._.js.map} +0 -0
  633. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_14jogs8._.js.map → 11mp_@anthropic-ai_sdk_0y2cods._.js.map} +0 -0
  634. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_15u-n39._.js.map → 11mp_@anthropic-ai_sdk_0zu0fj1._.js.map} +0 -0
  635. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_194ahxu._.js.map → 11mp_@anthropic-ai_sdk_0zxpgt0._.js.map} +0 -0
  636. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1ahph2t._.js.map → 11mp_@anthropic-ai_sdk_10_cxcd._.js.map} +0 -0
  637. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1ajy77y._.js.map → 11mp_@anthropic-ai_sdk_10gb7d1._.js.map} +0 -0
  638. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1b57s9p._.js.map → 11mp_@anthropic-ai_sdk_12q70bs._.js.map} +0 -0
  639. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1brf2xn._.js.map → 11mp_@anthropic-ai_sdk_149ltk3._.js.map} +0 -0
  640. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1btfw2x._.js.map → 11mp_@anthropic-ai_sdk_165_uiw._.js.map} +0 -0
  641. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1cyy_q6._.js.map → 11mp_@anthropic-ai_sdk_19w4zh6._.js.map} +0 -0
  642. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1fz9fev._.js.map → 11mp_@anthropic-ai_sdk_1adck-s._.js.map} +0 -0
  643. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1i_rz7h._.js.map → 11mp_@anthropic-ai_sdk_1c2dwoi._.js.map} +0 -0
  644. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1it8zsv._.js.map → 11mp_@anthropic-ai_sdk_1d9lw_2._.js.map} +0 -0
  645. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1jzusvd._.js.map → 11mp_@anthropic-ai_sdk_1db6a7p._.js.map} +0 -0
  646. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1lfknr2._.js.map → 11mp_@anthropic-ai_sdk_1h2f90s._.js.map} +0 -0
  647. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1mewd-3._.js.map → 11mp_@anthropic-ai_sdk_1k5_i1z._.js.map} +0 -0
  648. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1mkm4u_._.js.map → 11mp_@anthropic-ai_sdk_1p3mv6i._.js.map} +0 -0
  649. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1rggqq3._.js.map → 11mp_@anthropic-ai_sdk_1qoom5s._.js.map} +0 -0
  650. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1rhjf1m._.js.map → 11mp_@anthropic-ai_sdk_1qsbcbe._.js.map} +0 -0
  651. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1s6ks8c._.js.map → 11mp_@anthropic-ai_sdk_1rk0x59._.js.map} +0 -0
  652. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1u8z4hp._.js.map → 11mp_@anthropic-ai_sdk_1sd98mi._.js.map} +0 -0
  653. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_1vyy3_4._.js.map → 11mp_@anthropic-ai_sdk_1sumqg8._.js.map} +0 -0
  654. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_036bvwf._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_018s_10._.js.map} +0 -0
  655. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_046taqd._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_08d6i7w._.js.map} +0 -0
  656. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_0bxad5f._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_09_fd9g._.js.map} +0 -0
  657. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_0g65abt._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_0eopml6._.js.map} +0 -0
  658. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_0pb9bu1._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_0f5epel._.js.map} +0 -0
  659. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_120-cio._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_0okfnhu._.js.map} +0 -0
  660. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_13uyu_v._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_0s8-ha8._.js.map} +0 -0
  661. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_13x2ww0._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_0ujs27r._.js.map} +0 -0
  662. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_17og64d._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_0uo7rs8._.js.map} +0 -0
  663. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1e_sh4o._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_0vyq_2d._.js.map} +0 -0
  664. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1ecuo9i._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_0w3js74._.js.map} +0 -0
  665. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1go8d0m._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_0xa4-uq._.js.map} +0 -0
  666. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1i13ryx._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_113y3so._.js.map} +0 -0
  667. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1jv_hid._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_12qcr96._.js.map} +0 -0
  668. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1mh5mqk._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_13ixdy8._.js.map} +0 -0
  669. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1oq7e8u._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_1708vst._.js.map} +0 -0
  670. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1p-cq-p._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_1_rdguq._.js.map} +0 -0
  671. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1the3g0._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_1bgpe23._.js.map} +0 -0
  672. /package/.next/server/chunks/{11mp_@anthropic-ai_sdk_index_mjs_1xubh-w._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_1f-tphn._.js.map} +0 -0
  673. /package/.next/server/chunks/{[root-of-the-server]__00o3mbd._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_1h1pqdh._.js.map} +0 -0
  674. /package/.next/server/chunks/{[root-of-the-server]__06z8i6e._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_1hfj_1d._.js.map} +0 -0
  675. /package/.next/server/chunks/{[root-of-the-server]__1kw2vct._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_1ih2qzz._.js.map} +0 -0
  676. /package/.next/server/chunks/{_next-internal_server_app_api_backlinks_route_actions_1_58m09.js.map → 11mp_@anthropic-ai_sdk_index_mjs_1jatyl1._.js.map} +0 -0
  677. /package/.next/server/chunks/{ssr/0_nd_mermaid_dist_mermaid_core_mjs_0itmgkm._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_1v1zbha._.js.map} +0 -0
  678. /package/.next/server/chunks/{ssr/1u84_katex_dist_katex_mjs_08jn-sj._.js.map → 11mp_@anthropic-ai_sdk_index_mjs_1vyqs5z._.js.map} +0 -0
  679. /package/.next/server/chunks/{[root-of-the-server]__0kuhhna._.js.map → [root-of-the-server]__00usbi3._.js.map} +0 -0
  680. /package/.next/server/chunks/{[root-of-the-server]__1gr4e22._.js.map → [root-of-the-server]__04cwur0._.js.map} +0 -0
  681. /package/.next/server/chunks/{[root-of-the-server]__06dfvb0._.js.map → [root-of-the-server]__04ri_ci._.js.map} +0 -0
  682. /package/.next/server/chunks/{ssr/_1s2ya35._.js.map → [root-of-the-server]__05-be3n._.js.map} +0 -0
  683. /package/.next/server/chunks/{[root-of-the-server]__09j_-hj._.js.map → [root-of-the-server]__0756_60._.js.map} +0 -0
  684. /package/.next/server/chunks/{[root-of-the-server]__1h5hb6u._.js.map → [root-of-the-server]__089ay-q._.js.map} +0 -0
  685. /package/.next/server/chunks/{[root-of-the-server]__15jhpgl._.js.map → [root-of-the-server]__0d4t4q6._.js.map} +0 -0
  686. /package/.next/server/chunks/{[root-of-the-server]__01n_hoh._.js.map → [root-of-the-server]__0dgwykw._.js.map} +0 -0
  687. /package/.next/server/chunks/{ssr/node_modules__pnpm_0iqb0_x._.js.map → [root-of-the-server]__0n0myt9._.js.map} +0 -0
  688. /package/.next/server/chunks/{[root-of-the-server]__076d4xm._.js.map → [root-of-the-server]__0s-j6z-._.js.map} +0 -0
  689. /package/.next/server/chunks/{[root-of-the-server]__1e_o8h4._.js.map → [root-of-the-server]__0yaxn8g._.js.map} +0 -0
  690. /package/.next/server/chunks/{[root-of-the-server]__1-1hfrj._.js.map → [root-of-the-server]__16smlkg._.js.map} +0 -0
  691. /package/.next/server/chunks/{[root-of-the-server]__19w-7h9._.js.map → [root-of-the-server]__19yo85m._.js.map} +0 -0
  692. /package/.next/server/chunks/{[root-of-the-server]__1rjgpbm._.js.map → [root-of-the-server]__1mnzsbh._.js.map} +0 -0
  693. /package/.next/server/chunks/{[root-of-the-server]__1spley9._.js.map → [root-of-the-server]__1s0t8r3._.js.map} +0 -0
  694. /package/.next/server/chunks/{[root-of-the-server]__1lt5cds._.js.map → [root-of-the-server]__1sd3l-d._.js.map} +0 -0
  695. /package/.next/server/chunks/{[root-of-the-server]__05tx02j._.js.map → [root-of-the-server]__1vzxnjb._.js.map} +0 -0
  696. /package/.next/server/chunks/{[root-of-the-server]__0uu9pgg._.js.map → [root-of-the-server]__1zeys20._.js.map} +0 -0
  697. /package/.next/server/chunks/{ssr/node_modules__pnpm_0rsfj9v._.js.map → _next-internal_server_app_api_docs_graph_route_actions_1nzoqf-.js.map} +0 -0
  698. /package/.next/server/chunks/{ssr/node_modules__pnpm_0s7j-tv._.js.map → _next-internal_server_app_api_docs_links_route_actions_1q-6jeg.js.map} +0 -0
  699. /package/.next/server/chunks/ssr/{node_modules__pnpm_1fry8_2._.js.map → node_modules__pnpm_035haet._.js.map} +0 -0
  700. /package/.next/server/chunks/ssr/{node_modules__pnpm_0j7asqf._.js.map → node_modules__pnpm_03an60e._.js.map} +0 -0
  701. /package/.next/server/chunks/ssr/{node_modules__pnpm_0eub17j._.js.map → node_modules__pnpm_03mp7qw._.js.map} +0 -0
  702. /package/.next/server/chunks/ssr/{node_modules__pnpm_0_83tv8._.js.map → node_modules__pnpm_03mpmzx._.js.map} +0 -0
  703. /package/.next/server/chunks/ssr/{node_modules__pnpm_0e55e7-._.js.map → node_modules__pnpm_06_8fr8._.js.map} +0 -0
  704. /package/.next/server/chunks/ssr/{node_modules__pnpm_16bj927._.js.map → node_modules__pnpm_09nd7ia._.js.map} +0 -0
  705. /package/.next/server/chunks/ssr/{node_modules__pnpm_1ch46nl._.js.map → node_modules__pnpm_0_e05ka._.js.map} +0 -0
  706. /package/.next/server/chunks/ssr/{node_modules__pnpm_02p2rqs._.js.map → node_modules__pnpm_0iu4132._.js.map} +0 -0
  707. /package/.next/server/chunks/ssr/{node_modules__pnpm_0abf_e9._.js.map → node_modules__pnpm_0jampur._.js.map} +0 -0
  708. /package/.next/server/chunks/ssr/{node_modules__pnpm_1hqh95z._.js.map → node_modules__pnpm_0lkvbt-._.js.map} +0 -0
  709. /package/.next/server/chunks/ssr/{node_modules__pnpm_14j18h7._.js.map → node_modules__pnpm_0mqeoh-._.js.map} +0 -0
  710. /package/.next/server/chunks/ssr/{node_modules__pnpm_0v_mhl7._.js.map → node_modules__pnpm_0oyo3yo._.js.map} +0 -0
  711. /package/.next/server/chunks/ssr/{node_modules__pnpm_00lsytc._.js.map → node_modules__pnpm_0rq9x9q._.js.map} +0 -0
  712. /package/.next/server/chunks/ssr/{node_modules__pnpm_0s63lee._.js.map → node_modules__pnpm_0tn5pg3._.js.map} +0 -0
  713. /package/.next/server/chunks/ssr/{node_modules__pnpm_0_ajzll._.js.map → node_modules__pnpm_0x5wj-4._.js.map} +0 -0
  714. /package/.next/server/chunks/ssr/{node_modules__pnpm_1gpkxns._.js.map → node_modules__pnpm_139-v1i._.js.map} +0 -0
  715. /package/.next/server/chunks/ssr/{node_modules__pnpm_1dc-yxd._.js.map → node_modules__pnpm_1i_chik._.js.map} +0 -0
  716. /package/.next/server/chunks/ssr/{node_modules__pnpm_060kz-j._.js.map → node_modules__pnpm_1jgju12._.js.map} +0 -0
  717. /package/.next/server/chunks/ssr/{node_modules__pnpm_0up4z7m._.js.map → node_modules__pnpm_1n9oeu0._.js.map} +0 -0
  718. /package/.next/server/chunks/ssr/{node_modules__pnpm_05-p8zy._.js.map → node_modules__pnpm_1ws3ez9._.js.map} +0 -0
  719. /package/.next/server/chunks/ssr/{node_modules__pnpm_0gp90ei._.js.map → node_modules__pnpm_1ydeqw6._.js.map} +0 -0
  720. /package/.next/server/chunks/ssr/{node_modules__pnpm_0jlzk5z._.js.map → node_modules__pnpm_1zme4rg._.js.map} +0 -0
  721. /package/.next/server/chunks/ssr/{node_modules__pnpm_1oaf50x._.js.map → node_modules__pnpm_1zum4yd._.js.map} +0 -0
  722. /package/.next/server/chunks/ssr/{node_modules__pnpm_0vuao3_._.js.map → node_modules__pnpm_2045l51._.js.map} +0 -0
  723. /package/.next/static/{qCiKQ9_g49vaoQ-Fewybk → P1gxTEpKVh-OOtIXC432U}/_buildManifest.js +0 -0
  724. /package/.next/static/{qCiKQ9_g49vaoQ-Fewybk → P1gxTEpKVh-OOtIXC432U}/_clientMiddlewareManifest.js +0 -0
  725. /package/.next/static/{qCiKQ9_g49vaoQ-Fewybk → P1gxTEpKVh-OOtIXC432U}/_ssgManifest.js +0 -0
@@ -1,10 +1,10 @@
1
- module.exports=[1351,e=>{"use strict";var t=e.i(233405),a=e.i(799501);let r=`You are the VibeDoc assistant, embedded in a docs/kanban web UI.
1
+ module.exports=[1351,e=>{"use strict";var t=e.i(233405),a=e.i(799501),n=e.i(498768),r=e.i(31451),o=e.i(76569);let i=`You are the VibeDoc assistant, embedded in a docs/kanban web UI.
2
2
  You can only act through the vibedoc_* MCP tools. To edit a doc: read it with vibedoc_read_doc,
3
3
  then call vibedoc_propose_edit with only the spans that change (old_string → new_string), never the
4
4
  whole file. The user reviews a diff and accepts or rejects it, so never claim an edit is applied until they say so.
5
5
  For requests to plan a roadmap or break an epic into tasks, first call vibedoc_get_planning_guide and follow it.
6
- Paths are relative to the project root. Keep replies short and answer in the user's language.`;async function n(e){let n=e.nextUrl.searchParams.get("root")||(0,a.getConfiguredRoot)(),{message:o,sessionId:i,docPath:s}=await e.json();if("string"!=typeof o||!o.trim())return Response.json({error:"message is required"},{status:400});let l=["-p",s?`[Currently open doc: ${s}]
6
+ Paths are relative to the project root. Keep replies short and answer in the user's language.`;function s(e){try{let t=JSON.parse(e);if(t?.type!=="assistant"||!Array.isArray(t.message?.content))return null;return t.message.content.filter(e=>e?.type==="text").map(e=>e.text??"").join("").trim()||null}catch{return null}}async function l(e,t,i,s){let l=await (0,a.readActivity)(e,2e3),d=(0,o.turnSessions)((0,r.groupSessions)(l),l,t).filter(e=>!(0,o.isHandoffWritten)(e,l));if(!d.length)return;let{tasks:c}=await (0,a.listTasks)(e),u=await (0,a.listEpisodes)(e),p=i?`chat ${i}`:"chat";for(let t of d){let r=t.tasks.filter(e=>"done"!==e.lastStatus&&"cancelled"!==e.lastStatus).map(e=>({id:e.id,title:c.find(t=>t.id===e.id)?.title??"",status:e.lastStatus})),i=(0,o.buildEpisode)(t,{source:(0,o.mergeSources)(u.find(e=>e.sessionId===t.id)?.source,p),agent:"claude-code",lastMessage:s,openTasks:r});if(!i)continue;let l=await (0,a.writeEpisode)({sessionId:t.id,markdown:i},e);(0,n.emitUpdate)("episode_saved",{sessionId:t.id,file:l})}}async function d(e){let n=e.nextUrl.searchParams.get("root")||(0,a.getConfiguredRoot)(),{message:r,sessionId:o,docPath:d,conversationId:c}=await e.json();if("string"!=typeof r||!r.trim())return Response.json({error:"message is required"},{status:400});let u=["-p",d?`[Currently open doc: ${d}]
7
7
 
8
- ${o}`:o,"--output-format","stream-json","--verbose","--include-partial-messages","--mcp-config",JSON.stringify({mcpServers:{vibedoc:{type:"http",url:`${e.nextUrl.origin}/api/mcp?root=${encodeURIComponent(n)}`}}}),"--strict-mcp-config","--tools","","--allowedTools","mcp__vibedoc__*","--disallowedTools","mcp__vibedoc__vibedoc_write_doc","mcp__vibedoc__vibedoc_append_doc","mcp__vibedoc__vibedoc_delete_doc","mcp__vibedoc__vibedoc_create_roadmap_item","mcp__vibedoc__vibedoc_delete_entry","--setting-sources","","--disable-slash-commands","--append-system-prompt",r];"string"==typeof i&&i&&l.push("--resume",i);let d={...process.env};delete d.ANTHROPIC_API_KEY;let c=new TextEncoder;return new Response(new ReadableStream({start(a){let r=(0,t.spawn)("claude",l,{cwd:n,env:d,stdio:["ignore","pipe","pipe"]}),o="",i=!1,s=e=>{i||a.enqueue(c.encode(e))},u=()=>{i||(i=!0,a.close())},p=e=>s(JSON.stringify({type:"error",message:e})+"\n");r.stdout.on("data",e=>s(e.toString("utf8"))),r.stderr.on("data",e=>{o+=e.toString("utf8")}),r.on("error",e=>{p("ENOENT"===e.code?"Claude Code CLI not found on PATH. Install it and run `claude` once to log in.":e.message),u()}),r.on("close",e=>{0!==e&&null!==e&&p(o.trim()||`claude exited with code ${e}`),u()}),e.signal.addEventListener("abort",()=>{r.kill("SIGTERM"),u()})}}),{headers:{"Content-Type":"application/x-ndjson","Cache-Control":"no-cache, no-transform"}})}e.s(["POST",0,n,"dynamic",0,"force-dynamic","runtime",0,"nodejs"])},756173,e=>{"use strict";var t=e.i(440807),a=e.i(381144),r=e.i(522639),n=e.i(165892),o=e.i(781831),i=e.i(740095),s=e.i(931106),l=e.i(253258),d=e.i(488026),c=e.i(571998),u=e.i(666314),p=e.i(598783),h=e.i(759703),v=e.i(163677),m=e.i(450859),g=e.i(193695);e.i(582432);var R=e.i(274687);let _=new t.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/chat/route",pathname:"/api/chat",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/chat/route.ts",nextConfigOutput:"",userland:()=>e.r(1351),...{}}),{workAsyncStorage:f,workUnitAsyncStorage:w,serverHooks:C}=_;async function b(e,t,r){r.requestMeta&&(0,n.setRequestMeta)(e,r.requestMeta),_.isDev&&(0,n.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let f="/api/chat/route";f=f.replace(/\/index$/,"")||"/";let w=await _.prepare(e,t,{srcPage:f,multiZoneDraftMode:!1});if(!w)return t.statusCode=400,t.end("Bad Request"),null==r.waitUntil||r.waitUntil.call(r,Promise.resolve()),null;let{buildId:C,deploymentId:b,params:E,nextConfig:y,parsedUrl:T,isDraftMode:x,prerenderManifest:A,routerServerContext:S,isOnDemandRevalidate:P,revalidateOnlyGenerated:N,resolvedPathname:O,clientReferenceManifest:I,serverActionsManifest:q}=w,H=(0,s.normalizeAppPath)(f),U=!!(A.dynamicRoutes[H]||A.routes[O]),M=async()=>((null==S?void 0:S.render404)?await S.render404(e,t,T,!1):t.end("This page could not be found"),null);if(U&&!x){let e=!!A.routes[O],t=A.dynamicRoutes[H];if(t&&!1===t.fallback&&!e){if(y.adapterPath)return await M();throw new g.NoFallbackError}}let k=null;!U||_.isDev||x||(k="/index"===(k=O)?"/":k);let j=!0===_.isDev||!U,D=U&&!j;q&&I&&(0,i.setManifestsSingleton)({page:f,clientReferenceManifest:I,serverActionsManifest:q});let $=e.method||"GET",K=(0,o.getTracer)(),F=K.getActiveScopeSpan(),L=!!(null==S?void 0:S.isWrappedByNextServer),B=!!(0,n.getRequestMeta)(e,"minimalMode"),G=(0,n.getRequestMeta)(e,"incrementalCache")||await _.getIncrementalCache(e,y,A,B);null==G||G.resetRequestCache(),globalThis.__incrementalCache=G;let V={params:E,previewProps:A.preview,renderOpts:{experimental:{authInterrupts:!!y.experimental.authInterrupts,useCacheTimeout:y.experimental.useCacheTimeout},cacheComponents:!!y.cacheComponents,validationLevel:y.experimental.instantInsights.validationLevel,supportsDynamicResponse:j,incrementalCache:G,hmrRefreshHash:(0,n.getRequestMeta)(e,"hmrRefreshHash"),cacheLifeProfiles:y.cacheLife,staticPageGenerationTimeout:y.staticPageGenerationTimeout,waitUntil:r.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,a,r,n)=>_.onRequestError(e,t,r,n,S)},sharedContext:{buildId:C,deploymentId:b}},X=new l.NodeNextRequest(e),Y=new l.NodeNextResponse(t),J=d.NextRequestAdapter.fromNodeNextRequest(X,(0,d.signalFromNodeResponse)(t)),W=async({previousCacheEntry:a})=>{try{if(!B&&P&&N&&!a)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let n=await _.handle(J,V);e.fetchMetrics=V.renderOpts.fetchMetrics;let o=V.renderOpts.pendingWaitUntil;o&&r.waitUntil&&(r.waitUntil(o),o=void 0);let i=V.renderOpts.collectedTags;if(!U)return await (0,p.sendResponse)(X,Y,n,o),null;{let e=await n.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(n.headers);i&&(t[m.NEXT_CACHE_TAGS_HEADER]=i),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let a=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=m.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,r=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=m.INFINITE_CACHE?!1!==a&&a>0?y.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:R.CachedRouteKind.APP_ROUTE,status:n.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:a,expire:r}}}}catch(t){throw(null==a?void 0:a.isStale)&&await _.onRequestError(e,t,{routerKind:"App Router",routePath:f,routeType:"route",revalidateReason:(0,u.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:P})},!1,S),t}},z=async(n,i)=>{try{var s,l;let n=await _.handleResponse({req:e,nextConfig:y,cacheKey:k,routeKind:a.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:A,isRoutePPREnabled:!1,isOnDemandRevalidate:P,revalidateOnlyGenerated:N,responseGenerator:W,waitUntil:r.waitUntil,isMinimalMode:B});if(!U)return;if((null==n||null==(s=n.value)?void 0:s.kind)!==R.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==n||null==(l=n.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});B||t.setHeader("x-nextjs-cache",P?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),x&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let o=(0,h.fromNodeOutgoingHttpHeaders)(n.value.headers);B&&U||o.delete(m.NEXT_CACHE_TAGS_HEADER),!n.cacheControl||t.getHeader("Cache-Control")||o.get("Cache-Control")||o.set("Cache-Control",(0,v.getCacheControlHeader)(n.cacheControl)),await (0,p.sendResponse)(X,Y,new Response(n.value.body,{headers:o,status:n.value.status||200}));return}catch(t){if(t instanceof g.NoFallbackError||await _.onRequestError(e,t,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,u.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:P})},!1,S),U)throw t;await (0,p.sendResponse)(X,Y,new Response(null,{status:500}));return}finally{(()=>{if(!n)return;let e=t.statusCode;n.setAttributes({"http.status_code":e,"next.rsc":!1}),e&&e>=500&&(n.setStatus({code:o.SpanStatusCode.ERROR}),n.setAttribute("error.type",e.toString()));let a=K.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==c.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let r=a.get("next.route")||H,s=`${$} ${r}`;n.setAttributes({"next.route":r,"http.route":r,"next.span_name":s}),n.updateName(s),i&&i!==n&&(i.setAttribute("http.route",r),i.updateName(s))})()}};if(L&&F)await z(F,void 0);else{let t=K.getActiveScopeSpan();await K.withPropagatedContext(e.headers,()=>K.trace(c.BaseServerSpan.handleRequest,{spanName:`${$} ${f}`,kind:o.SpanKind.SERVER,attributes:{"http.method":$,"http.target":e.url}},e=>z(e,t)),void 0,!L)}}e.s(["handler",0,b,"patchFetch",0,function(){return(0,r.patchFetch)({workAsyncStorage:f,workUnitAsyncStorage:w})},"routeModule",0,_,"serverHooks",0,C,"workAsyncStorage",0,f,"workUnitAsyncStorage",0,w])}];
8
+ ${r}`:r,"--output-format","stream-json","--verbose","--include-partial-messages","--mcp-config",JSON.stringify({mcpServers:{vibedoc:{type:"http",url:`${e.nextUrl.origin}/api/mcp?root=${encodeURIComponent(n)}`}}}),"--strict-mcp-config","--tools","","--allowedTools","mcp__vibedoc__*","--disallowedTools","mcp__vibedoc__vibedoc_write_doc","mcp__vibedoc__vibedoc_append_doc","mcp__vibedoc__vibedoc_delete_doc","mcp__vibedoc__vibedoc_create_roadmap_item","mcp__vibedoc__vibedoc_delete_entry","--setting-sources","","--disable-slash-commands","--append-system-prompt",i];"string"==typeof o&&o&&u.push("--resume",o);let p={...process.env};delete p.ANTHROPIC_API_KEY;let h=new TextEncoder;return new Response(new ReadableStream({start(a){let r,o=new Date().toISOString(),i=(0,t.spawn)("claude",u,{cwd:n,env:p,stdio:["ignore","pipe","pipe"]}),d="",m="",v=!1,g=e=>{v||a.enqueue(h.encode(e))},f=()=>{v||(v=!0,a.close())},R=e=>g(JSON.stringify({type:"error",message:e})+"\n");i.stdout.on("data",e=>{let t=e.toString("utf8");g(t);let a=(m+t).split("\n");for(let e of(m=a.pop()??"",a))r=s(e)??r}),i.stderr.on("data",e=>{d+=e.toString("utf8")}),i.on("error",e=>{R("ENOENT"===e.code?"Claude Code CLI not found on PATH. Install it and run `claude` once to log in.":e.message),f()}),i.on("close",e=>{0!==e&&null!==e&&R(d.trim()||`claude exited with code ${e}`),f(),l(n,o,"string"==typeof c?c:null,r=s(m)??r).catch(e=>console.warn(`[vibedoc] episode not written: ${e.message}`))}),e.signal.addEventListener("abort",()=>{i.kill("SIGTERM"),f()})}}),{headers:{"Content-Type":"application/x-ndjson","Cache-Control":"no-cache, no-transform"}})}e.s(["POST",0,d,"dynamic",0,"force-dynamic","runtime",0,"nodejs"])},756173,e=>{"use strict";var t=e.i(440807),a=e.i(381144),n=e.i(522639),r=e.i(165892),o=e.i(781831),i=e.i(740095),s=e.i(931106),l=e.i(253258),d=e.i(488026),c=e.i(571998),u=e.i(666314),p=e.i(598783),h=e.i(759703),m=e.i(163677),v=e.i(450859),g=e.i(193695);e.i(582432);var f=e.i(274687);let R=new t.AppRouteRouteModule({definition:{kind:a.RouteKind.APP_ROUTE,page:"/api/chat/route",pathname:"/api/chat",filename:"route",bundlePath:""},distDir:".next",relativeProjectDir:"",resolvedPagePath:"[project]/src/app/api/chat/route.ts",nextConfigOutput:"",userland:()=>e.r(1351),...{}}),{workAsyncStorage:_,workUnitAsyncStorage:w,serverHooks:y}=R;async function b(e,t,n){n.requestMeta&&(0,r.setRequestMeta)(e,n.requestMeta),R.isDev&&(0,r.addRequestMeta)(e,"devRequestTimingInternalsEnd",process.hrtime.bigint());let _="/api/chat/route";_=_.replace(/\/index$/,"")||"/";let w=await R.prepare(e,t,{srcPage:_,multiZoneDraftMode:!1});if(!w)return t.statusCode=400,t.end("Bad Request"),null==n.waitUntil||n.waitUntil.call(n,Promise.resolve()),null;let{buildId:y,deploymentId:b,params:C,nextConfig:E,parsedUrl:S,isDraftMode:T,prerenderManifest:x,routerServerContext:A,isOnDemandRevalidate:P,revalidateOnlyGenerated:N,resolvedPathname:I,clientReferenceManifest:O,serverActionsManifest:q}=w,H=(0,s.normalizeAppPath)(_),U=!!(x.dynamicRoutes[H]||x.routes[I]),k=async()=>((null==A?void 0:A.render404)?await A.render404(e,t,S,!1):t.end("This page could not be found"),null);if(U&&!T){let e=!!x.routes[I],t=x.dynamicRoutes[H];if(t&&!1===t.fallback&&!e){if(E.adapterPath)return await k();throw new g.NoFallbackError}}let M=null;!U||R.isDev||T||(M="/index"===(M=I)?"/":M);let j=!0===R.isDev||!U,D=U&&!j;q&&O&&(0,i.setManifestsSingleton)({page:_,clientReferenceManifest:O,serverActionsManifest:q});let $=e.method||"GET",K=(0,o.getTracer)(),F=K.getActiveScopeSpan(),L=!!(null==A?void 0:A.isWrappedByNextServer),B=!!(0,r.getRequestMeta)(e,"minimalMode"),G=(0,r.getRequestMeta)(e,"incrementalCache")||await R.getIncrementalCache(e,E,x,B);null==G||G.resetRequestCache(),globalThis.__incrementalCache=G;let V={params:C,previewProps:x.preview,renderOpts:{experimental:{authInterrupts:!!E.experimental.authInterrupts,useCacheTimeout:E.experimental.useCacheTimeout},cacheComponents:!!E.cacheComponents,validationLevel:E.experimental.instantInsights.validationLevel,supportsDynamicResponse:j,incrementalCache:G,hmrRefreshHash:(0,r.getRequestMeta)(e,"hmrRefreshHash"),cacheLifeProfiles:E.cacheLife,staticPageGenerationTimeout:E.staticPageGenerationTimeout,waitUntil:n.waitUntil,onClose:e=>{t.on("close",e)},onAfterTaskError:void 0,onInstrumentationRequestError:(t,a,n,r)=>R.onRequestError(e,t,n,r,A)},sharedContext:{buildId:y,deploymentId:b}},J=new l.NodeNextRequest(e),W=new l.NodeNextResponse(t),X=d.NextRequestAdapter.fromNodeNextRequest(J,(0,d.signalFromNodeResponse)(t)),Y=async({previousCacheEntry:a})=>{try{if(!B&&P&&N&&!a)return t.statusCode=404,t.setHeader("x-nextjs-cache","REVALIDATED"),t.end("This page could not be found"),null;let r=await R.handle(X,V);e.fetchMetrics=V.renderOpts.fetchMetrics;let o=V.renderOpts.pendingWaitUntil;o&&n.waitUntil&&(n.waitUntil(o),o=void 0);let i=V.renderOpts.collectedTags;if(!U)return await (0,p.sendResponse)(J,W,r,o),null;{let e=await r.blob(),t=(0,h.toNodeOutgoingHttpHeaders)(r.headers);i&&(t[v.NEXT_CACHE_TAGS_HEADER]=i),!t["content-type"]&&e.type&&(t["content-type"]=e.type);let a=void 0!==V.renderOpts.collectedRevalidate&&!(V.renderOpts.collectedRevalidate>=v.INFINITE_CACHE)&&V.renderOpts.collectedRevalidate,n=void 0===V.renderOpts.collectedExpire||V.renderOpts.collectedExpire>=v.INFINITE_CACHE?!1!==a&&a>0?E.expireTime:void 0:V.renderOpts.collectedExpire;return{value:{kind:f.CachedRouteKind.APP_ROUTE,status:r.status,body:Buffer.from(await e.arrayBuffer()),headers:t},cacheControl:{revalidate:a,expire:n}}}}catch(t){throw(null==a?void 0:a.isStale)&&await R.onRequestError(e,t,{routerKind:"App Router",routePath:_,routeType:"route",revalidateReason:(0,u.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:P})},!1,A),t}},z=async(r,i)=>{try{var s,l;let r=await R.handleResponse({req:e,nextConfig:E,cacheKey:M,routeKind:a.RouteKind.APP_ROUTE,isFallback:!1,prerenderManifest:x,isRoutePPREnabled:!1,isOnDemandRevalidate:P,revalidateOnlyGenerated:N,responseGenerator:Y,waitUntil:n.waitUntil,isMinimalMode:B});if(!U)return;if((null==r||null==(s=r.value)?void 0:s.kind)!==f.CachedRouteKind.APP_ROUTE)throw Object.defineProperty(Error(`Invariant: app-route received invalid cache entry ${null==r||null==(l=r.value)?void 0:l.kind}`),"__NEXT_ERROR_CODE",{value:"E701",enumerable:!1,configurable:!0});B||t.setHeader("x-nextjs-cache",P?"REVALIDATED":r.isMiss?"MISS":r.isStale?"STALE":"HIT"),T&&t.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate");let o=(0,h.fromNodeOutgoingHttpHeaders)(r.value.headers);B&&U||o.delete(v.NEXT_CACHE_TAGS_HEADER),!r.cacheControl||t.getHeader("Cache-Control")||o.get("Cache-Control")||o.set("Cache-Control",(0,m.getCacheControlHeader)(r.cacheControl)),await (0,p.sendResponse)(J,W,new Response(r.value.body,{headers:o,status:r.value.status||200}));return}catch(t){if(t instanceof g.NoFallbackError||await R.onRequestError(e,t,{routerKind:"App Router",routePath:H,routeType:"route",revalidateReason:(0,u.getRevalidateReason)({isStaticGeneration:D,isOnDemandRevalidate:P})},!1,A),U)throw t;await (0,p.sendResponse)(J,W,new Response(null,{status:500}));return}finally{(()=>{if(!r)return;let e=t.statusCode;r.setAttributes({"http.status_code":e,"next.rsc":!1}),e&&e>=500&&(r.setStatus({code:o.SpanStatusCode.ERROR}),r.setAttribute("error.type",e.toString()));let a=K.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==c.BaseServerSpan.handleRequest)return console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let n=a.get("next.route")||H,s=`${$} ${n}`;r.setAttributes({"next.route":n,"http.route":n,"next.span_name":s}),r.updateName(s),i&&i!==r&&(i.setAttribute("http.route",n),i.updateName(s))})()}};if(L&&F)await z(F,void 0);else{let t=K.getActiveScopeSpan();await K.withPropagatedContext(e.headers,()=>K.trace(c.BaseServerSpan.handleRequest,{spanName:`${$} ${_}`,kind:o.SpanKind.SERVER,attributes:{"http.method":$,"http.target":e.url}},e=>z(e,t)),void 0,!L)}}e.s(["handler",0,b,"patchFetch",0,function(){return(0,n.patchFetch)({workAsyncStorage:_,workUnitAsyncStorage:w})},"routeModule",0,R,"serverHooks",0,y,"workAsyncStorage",0,_,"workUnitAsyncStorage",0,w])}];
9
9
 
10
10
  //# sourceMappingURL=_0safx0g._.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/app/api/chat/route.ts","../../../node_modules/.pnpm/next%4016.3.6_%40babel%2Bcore%407.29.7_%40types%2Bnode%4022.20.4_react-dom%4019.3.0_react%4019.3.0__react%4019.3.0/node_modules/next/src/build/templates/app-route.ts"],"sourcesContent":["/**\n * /api/chat\n *\n * Chat with an agent from the UI, billed to the local Claude Code login (OpenClaw-style).\n * Spawns `claude -p` per turn and pipes its stream-json (NDJSON) output to the browser.\n * Native tools are disabled: the agent can only use VibeDoc's own MCP tools, so every\n * write goes through core.ts and emits SSE updates like any other MCP client.\n */\n\nimport { NextRequest } from 'next/server'\nimport { spawn } from 'child_process'\nimport { getConfiguredRoot } from '@/lib/core'\n\nexport const dynamic = 'force-dynamic'\nexport const runtime = 'nodejs'\n\nconst SYSTEM_PROMPT = `You are the VibeDoc assistant, embedded in a docs/kanban web UI.\nYou can only act through the vibedoc_* MCP tools. To edit a doc: read it with vibedoc_read_doc,\nthen call vibedoc_propose_edit with only the spans that change (old_string → new_string), never the\nwhole file. The user reviews a diff and accepts or rejects it, so never claim an edit is applied until they say so.\nFor requests to plan a roadmap or break an epic into tasks, first call vibedoc_get_planning_guide and follow it.\nPaths are relative to the project root. Keep replies short and answer in the user's language.`\n\nexport async function POST(req: NextRequest) {\n const root = req.nextUrl.searchParams.get('root') || getConfiguredRoot()\n const { message, sessionId, docPath } = await req.json()\n if (typeof message !== 'string' || !message.trim()) {\n return Response.json({ error: 'message is required' }, { status: 400 })\n }\n\n // Doc context goes in the user turn, not the system prompt: resumed sessions reuse the first system prompt.\n const prompt = docPath ? `[Currently open doc: ${docPath}]\\n\\n${message}` : message\n const mcpUrl = `${req.nextUrl.origin}/api/mcp?root=${encodeURIComponent(root)}`\n\n const args = [\n '-p', prompt,\n '--output-format', 'stream-json', '--verbose', '--include-partial-messages',\n '--mcp-config', JSON.stringify({ mcpServers: { vibedoc: { type: 'http', url: mcpUrl } } }),\n '--strict-mcp-config',\n '--tools', '',\n '--allowedTools', 'mcp__vibedoc__*',\n // Content edits must go through vibedoc_propose_edit so the user reviews a diff first; -p can't prompt for deletes.\n // Roadmap items go through vibedoc_propose_plan for the same reason (the planning skill otherwise creates them directly).\n '--disallowedTools', 'mcp__vibedoc__vibedoc_write_doc', 'mcp__vibedoc__vibedoc_append_doc', 'mcp__vibedoc__vibedoc_delete_doc',\n 'mcp__vibedoc__vibedoc_create_roadmap_item', 'mcp__vibedoc__vibedoc_delete_entry',\n '--setting-sources', '',\n '--disable-slash-commands',\n '--append-system-prompt', SYSTEM_PROMPT,\n ]\n if (typeof sessionId === 'string' && sessionId) args.push('--resume', sessionId)\n\n // Without an API key in env, the CLI falls back to the user's claude.ai login (subscription).\n const env = { ...process.env }\n delete env.ANTHROPIC_API_KEY\n\n const encoder = new TextEncoder()\n const stream = new ReadableStream({\n start(controller) {\n const child = spawn('claude', args, { cwd: root, env, stdio: ['ignore', 'pipe', 'pipe'] })\n let stderr = ''\n let closed = false\n const send = (line: string) => { if (!closed) controller.enqueue(encoder.encode(line)) }\n const close = () => { if (!closed) { closed = true; controller.close() } }\n const fail = (message: string) => send(JSON.stringify({ type: 'error', message }) + '\\n')\n\n child.stdout.on('data', (chunk: Buffer) => send(chunk.toString('utf8')))\n child.stderr.on('data', (chunk: Buffer) => { stderr += chunk.toString('utf8') })\n child.on('error', (e: NodeJS.ErrnoException) => {\n fail(e.code === 'ENOENT' ? 'Claude Code CLI not found on PATH. Install it and run `claude` once to log in.' : e.message)\n close()\n })\n child.on('close', (code) => {\n if (code !== 0 && code !== null) fail(stderr.trim() || `claude exited with code ${code}`)\n close()\n })\n req.signal.addEventListener('abort', () => { child.kill('SIGTERM'); close() })\n },\n })\n\n return new Response(stream, {\n headers: { 'Content-Type': 'application/x-ndjson', 'Cache-Control': 'no-cache, no-transform' },\n })\n}\n","import {\n AppRouteRouteModule,\n type AppRouteRouteHandlerContext,\n type AppRouteRouteModuleOptions,\n} from '../../server/route-modules/app-route/module.compiled'\nimport { RouteKind } from '../../server/route-kind'\nimport { patchFetch as _patchFetch } from '../../server/lib/patch-fetch'\nimport type { IncomingMessage, ServerResponse } from 'node:http'\nimport {\n addRequestMeta,\n getRequestMeta,\n setRequestMeta,\n type RequestMeta,\n} from '../../server/request-meta'\nimport {\n getTracer,\n type Span,\n SpanKind,\n SpanStatusCode,\n} from '../../server/lib/trace/tracer'\nimport { setManifestsSingleton } from '../../server/app-render/manifests-singleton'\nimport { normalizeAppPath } from '../../shared/lib/router/utils/app-paths'\nimport { NodeNextRequest, NodeNextResponse } from '../../server/base-http/node'\nimport {\n NextRequestAdapter,\n signalFromNodeResponse,\n} from '../../server/web/spec-extension/adapters/next-request'\nimport { BaseServerSpan } from '../../server/lib/trace/constants'\nimport { getRevalidateReason } from '../../server/instrumentation/utils'\nimport { sendResponse } from '../../server/send-response'\nimport {\n fromNodeOutgoingHttpHeaders,\n toNodeOutgoingHttpHeaders,\n} from '../../server/web/utils'\nimport { getCacheControlHeader } from '../../server/lib/cache-control'\nimport { INFINITE_CACHE, NEXT_CACHE_TAGS_HEADER } from '../../lib/constants'\nimport { NoFallbackError } from '../../shared/lib/no-fallback-error.external'\nimport {\n CachedRouteKind,\n type ResponseCacheEntry,\n type ResponseGenerator,\n} from '../../server/response-cache'\n\n// These are injected by the loader afterwards. This is injected as a variable\n// instead of a replacement because this could also be `undefined` instead of\n// an empty string.\ndeclare const nextConfigOutput: AppRouteRouteModuleOptions['nextConfigOutput']\n\n// We inject the nextConfigOutput here so that we can use them in the route\n// module.\n// INJECT:nextConfigOutput\n\nconst routeModule = new AppRouteRouteModule({\n definition: {\n kind: RouteKind.APP_ROUTE,\n page: 'VAR_DEFINITION_PAGE',\n pathname: 'VAR_DEFINITION_PATHNAME',\n filename: 'VAR_DEFINITION_FILENAME',\n bundlePath: 'VAR_DEFINITION_BUNDLE_PATH',\n },\n distDir: process.env.__NEXT_RELATIVE_DIST_DIR || '',\n relativeProjectDir: process.env.__NEXT_RELATIVE_PROJECT_DIR || '',\n resolvedPagePath: 'VAR_RESOLVED_PAGE_PATH',\n nextConfigOutput,\n // The lazy require factory ensures that:\n // - In dev: devRequestTimingInternalsEnd is set before userland executes,\n // correctly attributing module load time to application-code rather than\n // framework internals.\n // - In all modes: async modules (route files with top-level await) are\n // handled correctly — require() returns a Promise for such modules, which\n // ensureUserland() awaits before the first request is handled.\n userland: () => require('VAR_USERLAND') as typeof import('VAR_USERLAND'),\n // In Turbopack dev mode, also provide a synchronous per-request getter so\n // server HMR updates are picked up without re-executing the entry chunk.\n // Using require() (synchronous) avoids adding async overhead that would be\n // incorrectly attributed to application-code time in devRequestTiming.\n ...(process.env.TURBOPACK && process.env.__NEXT_DEV_SERVER\n ? {\n getUserland: () =>\n require('VAR_USERLAND') as typeof import('VAR_USERLAND'),\n }\n : {}),\n})\n\n// Pull out the exports that we need to expose from the module. This should\n// be eliminated when we've moved the other routes to the new format. These\n// are used to hook into the route.\nconst { workAsyncStorage, workUnitAsyncStorage, serverHooks } = routeModule\n\nfunction patchFetch() {\n return _patchFetch({\n workAsyncStorage,\n workUnitAsyncStorage,\n })\n}\n\nexport {\n routeModule,\n workAsyncStorage,\n workUnitAsyncStorage,\n serverHooks,\n patchFetch,\n}\n\nexport async function handler(\n req: IncomingMessage,\n res: ServerResponse,\n ctx: {\n waitUntil?: (prom: Promise<void>) => void\n requestMeta?: RequestMeta\n }\n) {\n if (ctx.requestMeta) {\n setRequestMeta(req, ctx.requestMeta)\n }\n if (routeModule.isDev) {\n addRequestMeta(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint())\n }\n let srcPage = 'VAR_DEFINITION_PAGE'\n\n // turbopack doesn't normalize `/index` in the page name\n // so we need to to process dynamic routes properly\n // TODO: fix turbopack providing differing value from webpack\n if (process.env.TURBOPACK) {\n srcPage = srcPage.replace(/\\/index$/, '') || '/'\n } else if (srcPage === '/index') {\n // we always normalize /index specifically\n srcPage = '/'\n }\n const multiZoneDraftMode = process.env\n .__NEXT_MULTI_ZONE_DRAFT_MODE as any as boolean\n\n const prepareResult = await routeModule.prepare(req, res, {\n srcPage,\n multiZoneDraftMode,\n })\n\n if (!prepareResult) {\n res.statusCode = 400\n res.end('Bad Request')\n ctx.waitUntil?.(Promise.resolve())\n return null\n }\n\n const {\n buildId,\n deploymentId,\n params,\n nextConfig,\n parsedUrl,\n isDraftMode,\n prerenderManifest,\n routerServerContext,\n isOnDemandRevalidate,\n revalidateOnlyGenerated,\n resolvedPathname,\n clientReferenceManifest,\n serverActionsManifest,\n } = prepareResult\n\n const normalizedSrcPage = normalizeAppPath(srcPage)\n\n let isIsr = Boolean(\n prerenderManifest.dynamicRoutes[normalizedSrcPage] ||\n prerenderManifest.routes[resolvedPathname]\n )\n\n const render404 = async () => {\n // TODO: should route-module itself handle rendering the 404\n if (routerServerContext?.render404) {\n await routerServerContext.render404(req, res, parsedUrl, false)\n } else {\n res.end('This page could not be found')\n }\n return null\n }\n\n if (isIsr && !isDraftMode) {\n const isPrerendered = Boolean(prerenderManifest.routes[resolvedPathname])\n const prerenderInfo = prerenderManifest.dynamicRoutes[normalizedSrcPage]\n\n if (prerenderInfo) {\n if (prerenderInfo.fallback === false && !isPrerendered) {\n if (nextConfig.adapterPath) {\n return await render404()\n }\n throw new NoFallbackError()\n }\n }\n }\n\n let cacheKey: string | null = null\n\n if (isIsr && !routeModule.isDev && !isDraftMode) {\n cacheKey = resolvedPathname\n // ensure /index and / is normalized to one key\n cacheKey = cacheKey === '/index' ? '/' : cacheKey\n }\n\n const supportsDynamicResponse: boolean =\n // If we're in development, we always support dynamic HTML\n routeModule.isDev === true ||\n // If this is not SSG or does not have static paths, then it supports\n // dynamic HTML.\n !isIsr\n\n // This is a revalidation request if the request is for a static\n // page and it is not being resumed from a postponed render and\n // it is not a dynamic RSC request then it is a revalidation\n // request.\n const isStaticGeneration = isIsr && !supportsDynamicResponse\n\n // Before rendering (which initializes component tree modules), we have to\n // set the reference manifests to our global store so Server Action's\n // encryption util can access to them at the top level of the page module.\n if (serverActionsManifest && clientReferenceManifest) {\n setManifestsSingleton({\n page: srcPage,\n clientReferenceManifest,\n serverActionsManifest,\n })\n }\n\n const method = req.method || 'GET'\n const tracer = getTracer()\n const activeSpan = tracer.getActiveScopeSpan()\n const isWrappedByNextServer = Boolean(\n routerServerContext?.isWrappedByNextServer\n )\n const isMinimalMode = Boolean(getRequestMeta(req, 'minimalMode'))\n\n const incrementalCache =\n getRequestMeta(req, 'incrementalCache') ||\n (await routeModule.getIncrementalCache(\n req,\n nextConfig,\n prerenderManifest,\n isMinimalMode\n ))\n\n incrementalCache?.resetRequestCache()\n ;(globalThis as any).__incrementalCache = incrementalCache\n\n const context: AppRouteRouteHandlerContext = {\n params,\n previewProps: prerenderManifest.preview,\n renderOpts: {\n experimental: {\n authInterrupts: Boolean(nextConfig.experimental.authInterrupts),\n useCacheTimeout: nextConfig.experimental.useCacheTimeout,\n },\n cacheComponents: Boolean(nextConfig.cacheComponents),\n validationLevel: nextConfig.experimental.instantInsights.validationLevel,\n supportsDynamicResponse,\n incrementalCache,\n hmrRefreshHash: getRequestMeta(req, 'hmrRefreshHash'),\n cacheLifeProfiles: nextConfig.cacheLife,\n staticPageGenerationTimeout: nextConfig.staticPageGenerationTimeout,\n waitUntil: ctx.waitUntil,\n onClose: (cb) => {\n res.on('close', cb)\n },\n onAfterTaskError: undefined,\n onInstrumentationRequestError: (\n error,\n _request,\n errorContext,\n silenceLog\n ) =>\n routeModule.onRequestError(\n req,\n error,\n errorContext,\n silenceLog,\n routerServerContext\n ),\n },\n sharedContext: {\n buildId,\n deploymentId,\n },\n }\n const nodeNextReq = new NodeNextRequest(req)\n const nodeNextRes = new NodeNextResponse(res)\n\n const nextReq = NextRequestAdapter.fromNodeNextRequest(\n nodeNextReq,\n signalFromNodeResponse(res)\n )\n\n const responseGenerator: ResponseGenerator = async ({\n previousCacheEntry,\n }) => {\n try {\n if (\n !isMinimalMode &&\n isOnDemandRevalidate &&\n revalidateOnlyGenerated &&\n !previousCacheEntry\n ) {\n res.statusCode = 404\n // on-demand revalidate always sets this header\n res.setHeader('x-nextjs-cache', 'REVALIDATED')\n res.end('This page could not be found')\n return null\n }\n\n const response = await routeModule.handle(nextReq, context)\n\n ;(req as any).fetchMetrics = (context.renderOpts as any).fetchMetrics\n let pendingWaitUntil = context.renderOpts.pendingWaitUntil\n\n // Attempt using provided waitUntil if available\n // if it's not we fallback to sendResponse's handling\n if (pendingWaitUntil) {\n if (ctx.waitUntil) {\n ctx.waitUntil(pendingWaitUntil)\n pendingWaitUntil = undefined\n }\n }\n const cacheTags = context.renderOpts.collectedTags\n\n // If the request is for a static response, we can cache it so long\n // as it's not edge.\n if (isIsr) {\n const blob = await response.blob()\n\n // Copy the headers from the response.\n const headers = toNodeOutgoingHttpHeaders(response.headers)\n\n if (cacheTags) {\n headers[NEXT_CACHE_TAGS_HEADER] = cacheTags\n }\n\n if (!headers['content-type'] && blob.type) {\n headers['content-type'] = blob.type\n }\n\n const revalidate =\n typeof context.renderOpts.collectedRevalidate === 'undefined' ||\n context.renderOpts.collectedRevalidate >= INFINITE_CACHE\n ? false\n : context.renderOpts.collectedRevalidate\n\n const expire =\n typeof context.renderOpts.collectedExpire === 'undefined' ||\n context.renderOpts.collectedExpire >= INFINITE_CACHE\n ? // Fall back to the global `expireTime` config when the\n // route has a numeric `revalidate` but didn't declare an\n // explicit `expire` (e.g. via `cacheLife`). This mirrors the\n // build-time fallback in `build/index.ts` so cache entries\n // and the response Cache-Control header agree on the route's\n // effective expire. Routes that opt out of revalidation\n // (`revalidate: false`) or that are dynamic (`revalidate: 0`)\n // keep `expire: undefined`.\n revalidate !== false && revalidate > 0\n ? nextConfig.expireTime\n : undefined\n : context.renderOpts.collectedExpire\n\n // Create the cache entry for the response.\n const cacheEntry: ResponseCacheEntry = {\n value: {\n kind: CachedRouteKind.APP_ROUTE,\n status: response.status,\n body: Buffer.from(await blob.arrayBuffer()),\n headers,\n },\n cacheControl: { revalidate, expire },\n }\n\n return cacheEntry\n } else {\n // send response without caching if not ISR\n await sendResponse(nodeNextReq, nodeNextRes, response, pendingWaitUntil)\n return null\n }\n } catch (err) {\n // if this is a background revalidate we need to report\n // the request error here as it won't be bubbled\n if (previousCacheEntry?.isStale) {\n const silenceLog = false\n await routeModule.onRequestError(\n req,\n err,\n {\n routerKind: 'App Router',\n routePath: srcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration,\n isOnDemandRevalidate,\n }),\n },\n silenceLog,\n routerServerContext\n )\n }\n throw err\n }\n }\n\n const handleResponse = async (\n currentSpan: Span | undefined,\n parentSpan: Span | undefined\n ) => {\n try {\n const cacheEntry = await routeModule.handleResponse({\n req,\n nextConfig,\n cacheKey,\n routeKind: RouteKind.APP_ROUTE,\n isFallback: false,\n prerenderManifest,\n isRoutePPREnabled: false,\n isOnDemandRevalidate,\n revalidateOnlyGenerated,\n responseGenerator,\n waitUntil: ctx.waitUntil,\n isMinimalMode,\n })\n\n // we don't create a cacheEntry for ISR\n if (!isIsr) {\n return\n }\n\n if (cacheEntry?.value?.kind !== CachedRouteKind.APP_ROUTE) {\n throw new Error(\n `Invariant: app-route received invalid cache entry ${cacheEntry?.value?.kind}`\n )\n }\n\n if (!isMinimalMode) {\n res.setHeader(\n 'x-nextjs-cache',\n isOnDemandRevalidate\n ? 'REVALIDATED'\n : cacheEntry.isMiss\n ? 'MISS'\n : cacheEntry.isStale\n ? 'STALE'\n : 'HIT'\n )\n }\n\n // Draft mode should never be cached\n if (isDraftMode) {\n res.setHeader(\n 'Cache-Control',\n 'private, no-cache, no-store, max-age=0, must-revalidate'\n )\n }\n\n const headers = fromNodeOutgoingHttpHeaders(cacheEntry.value.headers)\n\n if (!(isMinimalMode && isIsr)) {\n headers.delete(NEXT_CACHE_TAGS_HEADER)\n }\n\n // If cache control is already set on the response we don't\n // override it to allow users to customize it via next.config\n if (\n cacheEntry.cacheControl &&\n !res.getHeader('Cache-Control') &&\n !headers.get('Cache-Control')\n ) {\n headers.set(\n 'Cache-Control',\n getCacheControlHeader(cacheEntry.cacheControl)\n )\n }\n\n await sendResponse(\n nodeNextReq,\n nodeNextRes,\n // @ts-expect-error - Argument of type 'Buffer<ArrayBufferLike>' is not assignable to parameter of type 'BodyInit | null | undefined'.\n new Response(cacheEntry.value.body, {\n headers,\n status: cacheEntry.value.status || 200,\n })\n )\n return\n } catch (err) {\n if (!(err instanceof NoFallbackError)) {\n const silenceLog = false\n await routeModule.onRequestError(\n req,\n err,\n {\n routerKind: 'App Router',\n routePath: normalizedSrcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration,\n isOnDemandRevalidate,\n }),\n },\n silenceLog,\n routerServerContext\n )\n }\n\n // rethrow so that we can handle serving error page\n\n // If this is during static generation, throw the error again.\n if (isIsr) throw err\n\n // Otherwise, send a 500 response.\n await sendResponse(\n nodeNextReq,\n nodeNextRes,\n new Response(null, { status: 500 })\n )\n return\n } finally {\n ;(() => {\n if (!currentSpan) {\n return\n }\n\n let statusCode = res.statusCode\n\n currentSpan.setAttributes({\n 'http.status_code': statusCode,\n 'next.rsc': false,\n })\n\n if (statusCode && statusCode >= 500) {\n // For 5xx status codes: SHOULD be set to 'Error' span status.\n // x-ref: https://opentelemetry.io/docs/specs/semconv/http/http-spans/#status\n currentSpan.setStatus({\n code: SpanStatusCode.ERROR,\n })\n // For span status 'Error', SHOULD set 'error.type' attribute.\n currentSpan.setAttribute('error.type', statusCode.toString())\n }\n\n const rootSpanAttributes = tracer.getRootSpanAttributes()\n // We were unable to get attributes, probably OTEL is not enabled\n if (!rootSpanAttributes) {\n return\n }\n\n if (\n rootSpanAttributes.get('next.span_type') !==\n BaseServerSpan.handleRequest\n ) {\n console.warn(\n `Unexpected root span type '${rootSpanAttributes.get(\n 'next.span_type'\n )}'. Please report this Next.js issue https://github.com/vercel/next.js`\n )\n return\n }\n\n const route = rootSpanAttributes.get('next.route') || normalizedSrcPage\n const name = `${method} ${route}`\n\n currentSpan.setAttributes({\n 'next.route': route,\n 'http.route': route,\n 'next.span_name': name,\n })\n currentSpan.updateName(name)\n\n // Propagate http.route to the parent span if one exists (e.g.\n // a platform-created HTTP span in adapter deployments).\n if (parentSpan && parentSpan !== currentSpan) {\n parentSpan.setAttribute('http.route', route)\n parentSpan.updateName(name)\n }\n })()\n }\n }\n\n // TODO: activeSpan code path is for when wrapped by\n // next-server can be removed when this is no longer used\n if (isWrappedByNextServer && activeSpan) {\n await handleResponse(activeSpan, undefined)\n } else {\n let parentSpan = tracer.getActiveScopeSpan()\n await tracer.withPropagatedContext(\n req.headers,\n () =>\n tracer.trace(\n BaseServerSpan.handleRequest,\n {\n spanName: `${method} ${srcPage}`,\n kind: SpanKind.SERVER,\n attributes: {\n 'http.method': method,\n 'http.target': req.url,\n },\n },\n (span) => handleResponse(span, parentSpan)\n ),\n undefined,\n !isWrappedByNextServer\n )\n }\n}\n"],"names":["dynamic","runtime","SYSTEM_PROMPT","POST","req","root","nextUrl","searchParams","get","message","sessionId","docPath","json","trim","Response","error","status","prompt","mcpUrl","origin","encodeURIComponent","args","JSON","stringify","mcpServers","vibedoc","type","url","push","env","process","ANTHROPIC_API_KEY","encoder","TextEncoder","stream","ReadableStream","start","controller","child","cwd","stdio","stderr","closed","send","line","enqueue","encode","close","fail","stdout","on","chunk","toString","e","code","signal","addEventListener","kill","headers","AppRouteRouteModule","RouteKind","patchFetch","_patchFetch","addRequestMeta","getRequestMeta","setRequestMeta","getTracer","SpanKind","SpanStatusCode","setManifestsSingleton","normalizeAppPath","NodeNextRequest","NodeNextResponse","NextRequestAdapter","signalFromNodeResponse","BaseServerSpan","getRevalidateReason","sendResponse","fromNodeOutgoingHttpHeaders","toNodeOutgoingHttpHeaders","getCacheControlHeader","INFINITE_CACHE","NEXT_CACHE_TAGS_HEADER","NoFallbackError","CachedRouteKind","routeModule","definition","kind","APP_ROUTE","page","pathname","filename","bundlePath","distDir","__NEXT_RELATIVE_DIST_DIR","relativeProjectDir","__NEXT_RELATIVE_PROJECT_DIR","resolvedPagePath","nextConfigOutput","userland","require","TURBOPACK","__NEXT_DEV_SERVER","getUserland","workAsyncStorage","workUnitAsyncStorage","serverHooks","handler","res","ctx","requestMeta","isDev","hrtime","bigint","srcPage","replace","multiZoneDraftMode","__NEXT_MULTI_ZONE_DRAFT_MODE","prepareResult","prepare","statusCode","end","waitUntil","Promise","resolve","buildId","deploymentId","params","nextConfig","parsedUrl","isDraftMode","prerenderManifest","routerServerContext","isOnDemandRevalidate","revalidateOnlyGenerated","resolvedPathname","clientReferenceManifest","serverActionsManifest","normalizedSrcPage","isIsr","Boolean","dynamicRoutes","routes","render404","isPrerendered","prerenderInfo","fallback","adapterPath","cacheKey","supportsDynamicResponse","isStaticGeneration","method","tracer","activeSpan","getActiveScopeSpan","isWrappedByNextServer","isMinimalMode","incrementalCache","getIncrementalCache","resetRequestCache","globalThis","__incrementalCache","context","previewProps","preview","renderOpts","experimental","authInterrupts","useCacheTimeout","cacheComponents","validationLevel","instantInsights","hmrRefreshHash","cacheLifeProfiles","cacheLife","staticPageGenerationTimeout","onClose","cb","onAfterTaskError","undefined","onInstrumentationRequestError","_request","errorContext","silenceLog","onRequestError","sharedContext","nodeNextReq","nodeNextRes","nextReq","fromNodeNextRequest","responseGenerator","previousCacheEntry","setHeader","response","handle","fetchMetrics","pendingWaitUntil","cacheTags","collectedTags","blob","revalidate","collectedRevalidate","expire","collectedExpire","expireTime","cacheEntry","value","body","Buffer","from","arrayBuffer","cacheControl","err","isStale","routerKind","routePath","routeType","revalidateReason","handleResponse","currentSpan","parentSpan","routeKind","isFallback","isRoutePPREnabled","Error","isMiss","delete","getHeader","set","setAttributes","setStatus","ERROR","setAttribute","rootSpanAttributes","getRootSpanAttributes","handleRequest","console","warn","route","name","updateName","withPropagatedContext","trace","spanName","SERVER","attributes","span"],"mappings":"sCAUA,IAAA,EAAA,EAAA,CAAA,CAAA,QACA,EAAA,EAAA,CAAA,CAAA,QAKA,IAAME,EAAgB,CAA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AA,cAAAA,CAAegK,aAAa,CAC5B,OACAC,QAAQC,IAAI,CACV,CAAC,2BAA2B,EAAEJ,EAAmBjO,GAAG,CAClD,kBACA,qEAAqE,CAAC,EAK5E,IAAMsO,EAAQL,EAAmBjO,GAAG,CAAC,eAAiBkI,EAChDqG,EAAO,CAAA,EAAGxF,EAAO,CAAC,EAAEuF,EAAAA,CAAO,CAEjCnB,EAAYU,aAAa,CAAC,CACxB,aAAcS,EACd,aAAcA,EACd,iBAAkBC,CACpB,GACApB,EAAYqB,UAAU,CAACD,GAInBnB,GAAcA,IAAeD,IAC/BC,EAAWY,OADiC,KACrB,CAAC,aAAcM,GACtClB,EAAWoB,UAAU,CAACD,IAE1B,CAAA,EACF,CACF,EAIA,GAAIpF,GAAyBF,EAC3B,MAAMiE,EAAejE,EADkB,AACN0B,YAC5B,CACL,IAAIyC,EAAapE,EAAOE,kBAAkB,EAC1C,OAAMF,EAAOyF,qBAAqB,CAChC7O,EAAIsD,OAAO,CACX,IACE8F,EAAO0F,KAAK,CACVvK,EAAAA,cAAAA,CAAegK,aAAa,CAC5B,CACEQ,SAAU,CAAA,EAAG5F,EAAO,CAAC,EAAErC,EAAAA,CAAS,CAChC3B,KAAMpB,EAAAA,QAAAA,CAASiL,MAAM,CACrBC,WAAY,CACV,cAAe9F,EACf,cAAenJ,EAAIuB,GAAG,AACxB,CACF,EACA,AAAC2N,GAAS5B,EAAe4B,EAAM1B,SAEnCzC,EACA,CAACxB,EAEL,CACF,mCAhgBA,SAAS9F,EACP,MAAA,CAAA,EAAOC,EAAAA,UAAAA,EAAY,kBACjB0C,uBACAC,CACF,EACF","ignoreList":[1]}
1
+ {"version":3,"sources":["../../../src/app/api/chat/route.ts","../../../node_modules/.pnpm/next%4016.3.6_%40babel%2Bcore%407.29.7_%40types%2Bnode%4022.20.4_react-dom%4019.3.0_react%4019.3.0__react%4019.3.0/node_modules/next/src/build/templates/app-route.ts"],"sourcesContent":["/**\n * /api/chat\n *\n * Chat with an agent from the UI, billed to the local Claude Code login (OpenClaw-style).\n * Spawns `claude -p` per turn and pipes its stream-json (NDJSON) output to the browser.\n * Native tools are disabled: the agent can only use VibeDoc's own MCP tools, so every\n * write goes through core.ts and emits SSE updates like any other MCP client.\n */\n\nimport { NextRequest } from 'next/server'\nimport { spawn } from 'child_process'\nimport { getConfiguredRoot, listEpisodes, listTasks, readActivity, writeEpisode } from '@/lib/core'\nimport { emitUpdate } from '@/lib/events'\nimport { groupSessions } from '@/lib/sessions'\nimport { buildEpisode, isHandoffWritten, mergeSources, turnSessions } from '@/lib/episodes'\n\nexport const dynamic = 'force-dynamic'\nexport const runtime = 'nodejs'\n\nconst SYSTEM_PROMPT = `You are the VibeDoc assistant, embedded in a docs/kanban web UI.\nYou can only act through the vibedoc_* MCP tools. To edit a doc: read it with vibedoc_read_doc,\nthen call vibedoc_propose_edit with only the spans that change (old_string → new_string), never the\nwhole file. The user reviews a diff and accepts or rejects it, so never claim an edit is applied until they say so.\nFor requests to plan a roadmap or break an epic into tasks, first call vibedoc_get_planning_guide and follow it.\nPaths are relative to the project root. Keep replies short and answer in the user's language.`\n\nconst EPISODE_LOOKBACK = 2000 // the whole activity log (ACTIVITY_CAP)\n\n/** Last assistant text in a stream-json line, or null. */\nfunction assistantText(line: string): string | null {\n try {\n const ev = JSON.parse(line)\n if (ev?.type !== 'assistant' || !Array.isArray(ev.message?.content)) return null\n const text = ev.message.content.filter((b: { type?: string }) => b?.type === 'text').map((b: { text?: string }) => b.text ?? '').join('').trim()\n return text || null\n } catch {\n return null\n }\n}\n\n/**\n * R050: each agent session this turn touched that has no MEMORY.md handoff gets `.vibedoc/episodes/<id>.md`.\n * The reply comes from the stream, not the saved chat: the browser saves the chat only after this stream ends.\n */\n// ponytail: agent sessions are per root+actor (stampSession), so chats in one 30-min window share a session and its episode:\n// Source lists every chat that wrote into it, the last turn to end writes its reply, and external `ai` agents still fold in.\n// Upgrade path: stamp chat MCP calls with their own session id.\nasync function writeTurnEpisodes(root: string, since: string, conversationId: string | null, lastMessage: string | undefined) {\n const events = await readActivity(root, EPISODE_LOOKBACK)\n const sessions = turnSessions(groupSessions(events), events, since).filter(s => !isHandoffWritten(s, events))\n if (!sessions.length) return\n const { tasks } = await listTasks(root)\n const prev = await listEpisodes(root)\n const source = conversationId ? `chat ${conversationId}` : 'chat'\n for (const s of sessions) {\n const openTasks = s.tasks\n .filter(t => t.lastStatus !== 'done' && t.lastStatus !== 'cancelled')\n .map(t => ({ id: t.id, title: tasks.find(x => x.id === t.id)?.title ?? '', status: t.lastStatus }))\n const markdown = buildEpisode(s, { source: mergeSources(prev.find(e => e.sessionId === s.id)?.source, source), agent: 'claude-code', lastMessage, openTasks })\n if (!markdown) continue\n const file = await writeEpisode({ sessionId: s.id, markdown }, root)\n emitUpdate('episode_saved', { sessionId: s.id, file })\n }\n}\n\nexport async function POST(req: NextRequest) {\n const root = req.nextUrl.searchParams.get('root') || getConfiguredRoot()\n const { message, sessionId, docPath, conversationId } = await req.json()\n if (typeof message !== 'string' || !message.trim()) {\n return Response.json({ error: 'message is required' }, { status: 400 })\n }\n\n // Doc context goes in the user turn, not the system prompt: resumed sessions reuse the first system prompt.\n const prompt = docPath ? `[Currently open doc: ${docPath}]\\n\\n${message}` : message\n const mcpUrl = `${req.nextUrl.origin}/api/mcp?root=${encodeURIComponent(root)}`\n\n const args = [\n '-p', prompt,\n '--output-format', 'stream-json', '--verbose', '--include-partial-messages',\n '--mcp-config', JSON.stringify({ mcpServers: { vibedoc: { type: 'http', url: mcpUrl } } }),\n '--strict-mcp-config',\n '--tools', '',\n '--allowedTools', 'mcp__vibedoc__*',\n // Content edits must go through vibedoc_propose_edit so the user reviews a diff first; -p can't prompt for deletes.\n // Roadmap items go through vibedoc_propose_plan for the same reason (the planning skill otherwise creates them directly).\n '--disallowedTools', 'mcp__vibedoc__vibedoc_write_doc', 'mcp__vibedoc__vibedoc_append_doc', 'mcp__vibedoc__vibedoc_delete_doc',\n 'mcp__vibedoc__vibedoc_create_roadmap_item', 'mcp__vibedoc__vibedoc_delete_entry',\n '--setting-sources', '',\n '--disable-slash-commands',\n '--append-system-prompt', SYSTEM_PROMPT,\n ]\n if (typeof sessionId === 'string' && sessionId) args.push('--resume', sessionId)\n\n // Without an API key in env, the CLI falls back to the user's claude.ai login (subscription).\n const env = { ...process.env }\n delete env.ANTHROPIC_API_KEY\n\n const encoder = new TextEncoder()\n const stream = new ReadableStream({\n start(controller) {\n const since = new Date().toISOString()\n const child = spawn('claude', args, { cwd: root, env, stdio: ['ignore', 'pipe', 'pipe'] })\n let stderr = ''\n let pending = ''\n let lastMessage: string | undefined\n let closed = false\n const send = (line: string) => { if (!closed) controller.enqueue(encoder.encode(line)) }\n const close = () => { if (!closed) { closed = true; controller.close() } }\n const fail = (message: string) => send(JSON.stringify({ type: 'error', message }) + '\\n')\n\n child.stdout.on('data', (chunk: Buffer) => {\n const text = chunk.toString('utf8')\n send(text)\n const lines = (pending + text).split('\\n')\n pending = lines.pop() ?? ''\n for (const line of lines) lastMessage = assistantText(line) ?? lastMessage\n })\n child.stderr.on('data', (chunk: Buffer) => { stderr += chunk.toString('utf8') })\n child.on('error', (e: NodeJS.ErrnoException) => {\n fail(e.code === 'ENOENT' ? 'Claude Code CLI not found on PATH. Install it and run `claude` once to log in.' : e.message)\n close()\n })\n child.on('close', (code) => {\n if (code !== 0 && code !== null) fail(stderr.trim() || `claude exited with code ${code}`)\n close()\n lastMessage = assistantText(pending) ?? lastMessage\n writeTurnEpisodes(root, since, typeof conversationId === 'string' ? conversationId : null, lastMessage)\n .catch(e => console.warn(`[vibedoc] episode not written: ${(e as Error).message}`))\n })\n req.signal.addEventListener('abort', () => { child.kill('SIGTERM'); close() })\n },\n })\n\n return new Response(stream, {\n headers: { 'Content-Type': 'application/x-ndjson', 'Cache-Control': 'no-cache, no-transform' },\n })\n}\n","import {\n AppRouteRouteModule,\n type AppRouteRouteHandlerContext,\n type AppRouteRouteModuleOptions,\n} from '../../server/route-modules/app-route/module.compiled'\nimport { RouteKind } from '../../server/route-kind'\nimport { patchFetch as _patchFetch } from '../../server/lib/patch-fetch'\nimport type { IncomingMessage, ServerResponse } from 'node:http'\nimport {\n addRequestMeta,\n getRequestMeta,\n setRequestMeta,\n type RequestMeta,\n} from '../../server/request-meta'\nimport {\n getTracer,\n type Span,\n SpanKind,\n SpanStatusCode,\n} from '../../server/lib/trace/tracer'\nimport { setManifestsSingleton } from '../../server/app-render/manifests-singleton'\nimport { normalizeAppPath } from '../../shared/lib/router/utils/app-paths'\nimport { NodeNextRequest, NodeNextResponse } from '../../server/base-http/node'\nimport {\n NextRequestAdapter,\n signalFromNodeResponse,\n} from '../../server/web/spec-extension/adapters/next-request'\nimport { BaseServerSpan } from '../../server/lib/trace/constants'\nimport { getRevalidateReason } from '../../server/instrumentation/utils'\nimport { sendResponse } from '../../server/send-response'\nimport {\n fromNodeOutgoingHttpHeaders,\n toNodeOutgoingHttpHeaders,\n} from '../../server/web/utils'\nimport { getCacheControlHeader } from '../../server/lib/cache-control'\nimport { INFINITE_CACHE, NEXT_CACHE_TAGS_HEADER } from '../../lib/constants'\nimport { NoFallbackError } from '../../shared/lib/no-fallback-error.external'\nimport {\n CachedRouteKind,\n type ResponseCacheEntry,\n type ResponseGenerator,\n} from '../../server/response-cache'\n\n// These are injected by the loader afterwards. This is injected as a variable\n// instead of a replacement because this could also be `undefined` instead of\n// an empty string.\ndeclare const nextConfigOutput: AppRouteRouteModuleOptions['nextConfigOutput']\n\n// We inject the nextConfigOutput here so that we can use them in the route\n// module.\n// INJECT:nextConfigOutput\n\nconst routeModule = new AppRouteRouteModule({\n definition: {\n kind: RouteKind.APP_ROUTE,\n page: 'VAR_DEFINITION_PAGE',\n pathname: 'VAR_DEFINITION_PATHNAME',\n filename: 'VAR_DEFINITION_FILENAME',\n bundlePath: 'VAR_DEFINITION_BUNDLE_PATH',\n },\n distDir: process.env.__NEXT_RELATIVE_DIST_DIR || '',\n relativeProjectDir: process.env.__NEXT_RELATIVE_PROJECT_DIR || '',\n resolvedPagePath: 'VAR_RESOLVED_PAGE_PATH',\n nextConfigOutput,\n // The lazy require factory ensures that:\n // - In dev: devRequestTimingInternalsEnd is set before userland executes,\n // correctly attributing module load time to application-code rather than\n // framework internals.\n // - In all modes: async modules (route files with top-level await) are\n // handled correctly — require() returns a Promise for such modules, which\n // ensureUserland() awaits before the first request is handled.\n userland: () => require('VAR_USERLAND') as typeof import('VAR_USERLAND'),\n // In Turbopack dev mode, also provide a synchronous per-request getter so\n // server HMR updates are picked up without re-executing the entry chunk.\n // Using require() (synchronous) avoids adding async overhead that would be\n // incorrectly attributed to application-code time in devRequestTiming.\n ...(process.env.TURBOPACK && process.env.__NEXT_DEV_SERVER\n ? {\n getUserland: () =>\n require('VAR_USERLAND') as typeof import('VAR_USERLAND'),\n }\n : {}),\n})\n\n// Pull out the exports that we need to expose from the module. This should\n// be eliminated when we've moved the other routes to the new format. These\n// are used to hook into the route.\nconst { workAsyncStorage, workUnitAsyncStorage, serverHooks } = routeModule\n\nfunction patchFetch() {\n return _patchFetch({\n workAsyncStorage,\n workUnitAsyncStorage,\n })\n}\n\nexport {\n routeModule,\n workAsyncStorage,\n workUnitAsyncStorage,\n serverHooks,\n patchFetch,\n}\n\nexport async function handler(\n req: IncomingMessage,\n res: ServerResponse,\n ctx: {\n waitUntil?: (prom: Promise<void>) => void\n requestMeta?: RequestMeta\n }\n) {\n if (ctx.requestMeta) {\n setRequestMeta(req, ctx.requestMeta)\n }\n if (routeModule.isDev) {\n addRequestMeta(req, 'devRequestTimingInternalsEnd', process.hrtime.bigint())\n }\n let srcPage = 'VAR_DEFINITION_PAGE'\n\n // turbopack doesn't normalize `/index` in the page name\n // so we need to to process dynamic routes properly\n // TODO: fix turbopack providing differing value from webpack\n if (process.env.TURBOPACK) {\n srcPage = srcPage.replace(/\\/index$/, '') || '/'\n } else if (srcPage === '/index') {\n // we always normalize /index specifically\n srcPage = '/'\n }\n const multiZoneDraftMode = process.env\n .__NEXT_MULTI_ZONE_DRAFT_MODE as any as boolean\n\n const prepareResult = await routeModule.prepare(req, res, {\n srcPage,\n multiZoneDraftMode,\n })\n\n if (!prepareResult) {\n res.statusCode = 400\n res.end('Bad Request')\n ctx.waitUntil?.(Promise.resolve())\n return null\n }\n\n const {\n buildId,\n deploymentId,\n params,\n nextConfig,\n parsedUrl,\n isDraftMode,\n prerenderManifest,\n routerServerContext,\n isOnDemandRevalidate,\n revalidateOnlyGenerated,\n resolvedPathname,\n clientReferenceManifest,\n serverActionsManifest,\n } = prepareResult\n\n const normalizedSrcPage = normalizeAppPath(srcPage)\n\n let isIsr = Boolean(\n prerenderManifest.dynamicRoutes[normalizedSrcPage] ||\n prerenderManifest.routes[resolvedPathname]\n )\n\n const render404 = async () => {\n // TODO: should route-module itself handle rendering the 404\n if (routerServerContext?.render404) {\n await routerServerContext.render404(req, res, parsedUrl, false)\n } else {\n res.end('This page could not be found')\n }\n return null\n }\n\n if (isIsr && !isDraftMode) {\n const isPrerendered = Boolean(prerenderManifest.routes[resolvedPathname])\n const prerenderInfo = prerenderManifest.dynamicRoutes[normalizedSrcPage]\n\n if (prerenderInfo) {\n if (prerenderInfo.fallback === false && !isPrerendered) {\n if (nextConfig.adapterPath) {\n return await render404()\n }\n throw new NoFallbackError()\n }\n }\n }\n\n let cacheKey: string | null = null\n\n if (isIsr && !routeModule.isDev && !isDraftMode) {\n cacheKey = resolvedPathname\n // ensure /index and / is normalized to one key\n cacheKey = cacheKey === '/index' ? '/' : cacheKey\n }\n\n const supportsDynamicResponse: boolean =\n // If we're in development, we always support dynamic HTML\n routeModule.isDev === true ||\n // If this is not SSG or does not have static paths, then it supports\n // dynamic HTML.\n !isIsr\n\n // This is a revalidation request if the request is for a static\n // page and it is not being resumed from a postponed render and\n // it is not a dynamic RSC request then it is a revalidation\n // request.\n const isStaticGeneration = isIsr && !supportsDynamicResponse\n\n // Before rendering (which initializes component tree modules), we have to\n // set the reference manifests to our global store so Server Action's\n // encryption util can access to them at the top level of the page module.\n if (serverActionsManifest && clientReferenceManifest) {\n setManifestsSingleton({\n page: srcPage,\n clientReferenceManifest,\n serverActionsManifest,\n })\n }\n\n const method = req.method || 'GET'\n const tracer = getTracer()\n const activeSpan = tracer.getActiveScopeSpan()\n const isWrappedByNextServer = Boolean(\n routerServerContext?.isWrappedByNextServer\n )\n const isMinimalMode = Boolean(getRequestMeta(req, 'minimalMode'))\n\n const incrementalCache =\n getRequestMeta(req, 'incrementalCache') ||\n (await routeModule.getIncrementalCache(\n req,\n nextConfig,\n prerenderManifest,\n isMinimalMode\n ))\n\n incrementalCache?.resetRequestCache()\n ;(globalThis as any).__incrementalCache = incrementalCache\n\n const context: AppRouteRouteHandlerContext = {\n params,\n previewProps: prerenderManifest.preview,\n renderOpts: {\n experimental: {\n authInterrupts: Boolean(nextConfig.experimental.authInterrupts),\n useCacheTimeout: nextConfig.experimental.useCacheTimeout,\n },\n cacheComponents: Boolean(nextConfig.cacheComponents),\n validationLevel: nextConfig.experimental.instantInsights.validationLevel,\n supportsDynamicResponse,\n incrementalCache,\n hmrRefreshHash: getRequestMeta(req, 'hmrRefreshHash'),\n cacheLifeProfiles: nextConfig.cacheLife,\n staticPageGenerationTimeout: nextConfig.staticPageGenerationTimeout,\n waitUntil: ctx.waitUntil,\n onClose: (cb) => {\n res.on('close', cb)\n },\n onAfterTaskError: undefined,\n onInstrumentationRequestError: (\n error,\n _request,\n errorContext,\n silenceLog\n ) =>\n routeModule.onRequestError(\n req,\n error,\n errorContext,\n silenceLog,\n routerServerContext\n ),\n },\n sharedContext: {\n buildId,\n deploymentId,\n },\n }\n const nodeNextReq = new NodeNextRequest(req)\n const nodeNextRes = new NodeNextResponse(res)\n\n const nextReq = NextRequestAdapter.fromNodeNextRequest(\n nodeNextReq,\n signalFromNodeResponse(res)\n )\n\n const responseGenerator: ResponseGenerator = async ({\n previousCacheEntry,\n }) => {\n try {\n if (\n !isMinimalMode &&\n isOnDemandRevalidate &&\n revalidateOnlyGenerated &&\n !previousCacheEntry\n ) {\n res.statusCode = 404\n // on-demand revalidate always sets this header\n res.setHeader('x-nextjs-cache', 'REVALIDATED')\n res.end('This page could not be found')\n return null\n }\n\n const response = await routeModule.handle(nextReq, context)\n\n ;(req as any).fetchMetrics = (context.renderOpts as any).fetchMetrics\n let pendingWaitUntil = context.renderOpts.pendingWaitUntil\n\n // Attempt using provided waitUntil if available\n // if it's not we fallback to sendResponse's handling\n if (pendingWaitUntil) {\n if (ctx.waitUntil) {\n ctx.waitUntil(pendingWaitUntil)\n pendingWaitUntil = undefined\n }\n }\n const cacheTags = context.renderOpts.collectedTags\n\n // If the request is for a static response, we can cache it so long\n // as it's not edge.\n if (isIsr) {\n const blob = await response.blob()\n\n // Copy the headers from the response.\n const headers = toNodeOutgoingHttpHeaders(response.headers)\n\n if (cacheTags) {\n headers[NEXT_CACHE_TAGS_HEADER] = cacheTags\n }\n\n if (!headers['content-type'] && blob.type) {\n headers['content-type'] = blob.type\n }\n\n const revalidate =\n typeof context.renderOpts.collectedRevalidate === 'undefined' ||\n context.renderOpts.collectedRevalidate >= INFINITE_CACHE\n ? false\n : context.renderOpts.collectedRevalidate\n\n const expire =\n typeof context.renderOpts.collectedExpire === 'undefined' ||\n context.renderOpts.collectedExpire >= INFINITE_CACHE\n ? // Fall back to the global `expireTime` config when the\n // route has a numeric `revalidate` but didn't declare an\n // explicit `expire` (e.g. via `cacheLife`). This mirrors the\n // build-time fallback in `build/index.ts` so cache entries\n // and the response Cache-Control header agree on the route's\n // effective expire. Routes that opt out of revalidation\n // (`revalidate: false`) or that are dynamic (`revalidate: 0`)\n // keep `expire: undefined`.\n revalidate !== false && revalidate > 0\n ? nextConfig.expireTime\n : undefined\n : context.renderOpts.collectedExpire\n\n // Create the cache entry for the response.\n const cacheEntry: ResponseCacheEntry = {\n value: {\n kind: CachedRouteKind.APP_ROUTE,\n status: response.status,\n body: Buffer.from(await blob.arrayBuffer()),\n headers,\n },\n cacheControl: { revalidate, expire },\n }\n\n return cacheEntry\n } else {\n // send response without caching if not ISR\n await sendResponse(nodeNextReq, nodeNextRes, response, pendingWaitUntil)\n return null\n }\n } catch (err) {\n // if this is a background revalidate we need to report\n // the request error here as it won't be bubbled\n if (previousCacheEntry?.isStale) {\n const silenceLog = false\n await routeModule.onRequestError(\n req,\n err,\n {\n routerKind: 'App Router',\n routePath: srcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration,\n isOnDemandRevalidate,\n }),\n },\n silenceLog,\n routerServerContext\n )\n }\n throw err\n }\n }\n\n const handleResponse = async (\n currentSpan: Span | undefined,\n parentSpan: Span | undefined\n ) => {\n try {\n const cacheEntry = await routeModule.handleResponse({\n req,\n nextConfig,\n cacheKey,\n routeKind: RouteKind.APP_ROUTE,\n isFallback: false,\n prerenderManifest,\n isRoutePPREnabled: false,\n isOnDemandRevalidate,\n revalidateOnlyGenerated,\n responseGenerator,\n waitUntil: ctx.waitUntil,\n isMinimalMode,\n })\n\n // we don't create a cacheEntry for ISR\n if (!isIsr) {\n return\n }\n\n if (cacheEntry?.value?.kind !== CachedRouteKind.APP_ROUTE) {\n throw new Error(\n `Invariant: app-route received invalid cache entry ${cacheEntry?.value?.kind}`\n )\n }\n\n if (!isMinimalMode) {\n res.setHeader(\n 'x-nextjs-cache',\n isOnDemandRevalidate\n ? 'REVALIDATED'\n : cacheEntry.isMiss\n ? 'MISS'\n : cacheEntry.isStale\n ? 'STALE'\n : 'HIT'\n )\n }\n\n // Draft mode should never be cached\n if (isDraftMode) {\n res.setHeader(\n 'Cache-Control',\n 'private, no-cache, no-store, max-age=0, must-revalidate'\n )\n }\n\n const headers = fromNodeOutgoingHttpHeaders(cacheEntry.value.headers)\n\n if (!(isMinimalMode && isIsr)) {\n headers.delete(NEXT_CACHE_TAGS_HEADER)\n }\n\n // If cache control is already set on the response we don't\n // override it to allow users to customize it via next.config\n if (\n cacheEntry.cacheControl &&\n !res.getHeader('Cache-Control') &&\n !headers.get('Cache-Control')\n ) {\n headers.set(\n 'Cache-Control',\n getCacheControlHeader(cacheEntry.cacheControl)\n )\n }\n\n await sendResponse(\n nodeNextReq,\n nodeNextRes,\n // @ts-expect-error - Argument of type 'Buffer<ArrayBufferLike>' is not assignable to parameter of type 'BodyInit | null | undefined'.\n new Response(cacheEntry.value.body, {\n headers,\n status: cacheEntry.value.status || 200,\n })\n )\n return\n } catch (err) {\n if (!(err instanceof NoFallbackError)) {\n const silenceLog = false\n await routeModule.onRequestError(\n req,\n err,\n {\n routerKind: 'App Router',\n routePath: normalizedSrcPage,\n routeType: 'route',\n revalidateReason: getRevalidateReason({\n isStaticGeneration,\n isOnDemandRevalidate,\n }),\n },\n silenceLog,\n routerServerContext\n )\n }\n\n // rethrow so that we can handle serving error page\n\n // If this is during static generation, throw the error again.\n if (isIsr) throw err\n\n // Otherwise, send a 500 response.\n await sendResponse(\n nodeNextReq,\n nodeNextRes,\n new Response(null, { status: 500 })\n )\n return\n } finally {\n ;(() => {\n if (!currentSpan) {\n return\n }\n\n let statusCode = res.statusCode\n\n currentSpan.setAttributes({\n 'http.status_code': statusCode,\n 'next.rsc': false,\n })\n\n if (statusCode && statusCode >= 500) {\n // For 5xx status codes: SHOULD be set to 'Error' span status.\n // x-ref: https://opentelemetry.io/docs/specs/semconv/http/http-spans/#status\n currentSpan.setStatus({\n code: SpanStatusCode.ERROR,\n })\n // For span status 'Error', SHOULD set 'error.type' attribute.\n currentSpan.setAttribute('error.type', statusCode.toString())\n }\n\n const rootSpanAttributes = tracer.getRootSpanAttributes()\n // We were unable to get attributes, probably OTEL is not enabled\n if (!rootSpanAttributes) {\n return\n }\n\n if (\n rootSpanAttributes.get('next.span_type') !==\n BaseServerSpan.handleRequest\n ) {\n console.warn(\n `Unexpected root span type '${rootSpanAttributes.get(\n 'next.span_type'\n )}'. Please report this Next.js issue https://github.com/vercel/next.js`\n )\n return\n }\n\n const route = rootSpanAttributes.get('next.route') || normalizedSrcPage\n const name = `${method} ${route}`\n\n currentSpan.setAttributes({\n 'next.route': route,\n 'http.route': route,\n 'next.span_name': name,\n })\n currentSpan.updateName(name)\n\n // Propagate http.route to the parent span if one exists (e.g.\n // a platform-created HTTP span in adapter deployments).\n if (parentSpan && parentSpan !== currentSpan) {\n parentSpan.setAttribute('http.route', route)\n parentSpan.updateName(name)\n }\n })()\n }\n }\n\n // TODO: activeSpan code path is for when wrapped by\n // next-server can be removed when this is no longer used\n if (isWrappedByNextServer && activeSpan) {\n await handleResponse(activeSpan, undefined)\n } else {\n let parentSpan = tracer.getActiveScopeSpan()\n await tracer.withPropagatedContext(\n req.headers,\n () =>\n tracer.trace(\n BaseServerSpan.handleRequest,\n {\n spanName: `${method} ${srcPage}`,\n kind: SpanKind.SERVER,\n attributes: {\n 'http.method': method,\n 'http.target': req.url,\n },\n },\n (span) => handleResponse(span, parentSpan)\n ),\n undefined,\n !isWrappedByNextServer\n )\n }\n}\n"],"names":["dynamic","runtime","SYSTEM_PROMPT","EPISODE_LOOKBACK","assistantText","line","ev","JSON","parse","type","Array","isArray","message","content","text","filter","b","map","join","trim","writeTurnEpisodes","root","since","conversationId","lastMessage","events","sessions","s","length","tasks","prev","source","openTasks","t","lastStatus","id","title","find","x","status","markdown","e","sessionId","agent","file","POST","req","nextUrl","searchParams","get","docPath","json","Response","error","prompt","mcpUrl","origin","encodeURIComponent","args","stringify","mcpServers","vibedoc","url","push","env","process","ANTHROPIC_API_KEY","encoder","TextEncoder","stream","ReadableStream","start","controller","Date","toISOString","child","cwd","stdio","stderr","pending","closed","send","enqueue","encode","close","fail","stdout","on","chunk","toString","lines","split","pop","code","catch","console","warn","signal","addEventListener","kill","headers","AppRouteRouteModule","RouteKind","patchFetch","_patchFetch","addRequestMeta","getRequestMeta","setRequestMeta","getTracer","SpanKind","SpanStatusCode","setManifestsSingleton","normalizeAppPath","NodeNextRequest","NodeNextResponse","NextRequestAdapter","signalFromNodeResponse","BaseServerSpan","getRevalidateReason","sendResponse","fromNodeOutgoingHttpHeaders","toNodeOutgoingHttpHeaders","getCacheControlHeader","INFINITE_CACHE","NEXT_CACHE_TAGS_HEADER","NoFallbackError","CachedRouteKind","routeModule","definition","kind","APP_ROUTE","page","pathname","filename","bundlePath","distDir","__NEXT_RELATIVE_DIST_DIR","relativeProjectDir","__NEXT_RELATIVE_PROJECT_DIR","resolvedPagePath","nextConfigOutput","userland","require","TURBOPACK","__NEXT_DEV_SERVER","getUserland","workAsyncStorage","workUnitAsyncStorage","serverHooks","handler","res","ctx","requestMeta","isDev","hrtime","bigint","srcPage","replace","multiZoneDraftMode","__NEXT_MULTI_ZONE_DRAFT_MODE","prepareResult","prepare","statusCode","end","waitUntil","Promise","resolve","buildId","deploymentId","params","nextConfig","parsedUrl","isDraftMode","prerenderManifest","routerServerContext","isOnDemandRevalidate","revalidateOnlyGenerated","resolvedPathname","clientReferenceManifest","serverActionsManifest","normalizedSrcPage","isIsr","Boolean","dynamicRoutes","routes","render404","isPrerendered","prerenderInfo","fallback","adapterPath","cacheKey","supportsDynamicResponse","isStaticGeneration","method","tracer","activeSpan","getActiveScopeSpan","isWrappedByNextServer","isMinimalMode","incrementalCache","getIncrementalCache","resetRequestCache","globalThis","__incrementalCache","context","previewProps","preview","renderOpts","experimental","authInterrupts","useCacheTimeout","cacheComponents","validationLevel","instantInsights","hmrRefreshHash","cacheLifeProfiles","cacheLife","staticPageGenerationTimeout","onClose","cb","onAfterTaskError","undefined","onInstrumentationRequestError","_request","errorContext","silenceLog","onRequestError","sharedContext","nodeNextReq","nodeNextRes","nextReq","fromNodeNextRequest","responseGenerator","previousCacheEntry","setHeader","response","handle","fetchMetrics","pendingWaitUntil","cacheTags","collectedTags","blob","revalidate","collectedRevalidate","expire","collectedExpire","expireTime","cacheEntry","value","body","Buffer","from","arrayBuffer","cacheControl","err","isStale","routerKind","routePath","routeType","revalidateReason","handleResponse","currentSpan","parentSpan","routeKind","isFallback","isRoutePPREnabled","Error","isMiss","delete","getHeader","set","setAttributes","setStatus","ERROR","setAttribute","rootSpanAttributes","getRootSpanAttributes","handleRequest","route","name","updateName","withProp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AC,EALA,kBAMvBoE,EAAAA,cAAAA,CAAegK,aAAa,CAC5B,OACAtL,QAAQC,IAAI,CACV,CAAC,2BAA2B,EAAEmL,EAAmBlO,GAAG,CAClD,kBACA,qEAAqE,CAAC,EAK5E,IAAMqO,EAAQH,EAAmBlO,GAAG,CAAC,eAAiBmI,EAChDmG,EAAO,CAAA,EAAGtF,EAAO,CAAC,EAAEqF,EAAAA,CAAO,CAEjCjB,EAAYU,aAAa,CAAC,CACxB,aAAcO,EACd,aAAcA,EACd,iBAAkBC,CACpB,GACAlB,EAAYmB,UAAU,CAACD,GAInBjB,GAAcA,IAAeD,IAC/BC,EAAWY,OADiC,KACrB,CAAC,aAAcI,GACtChB,EAAWkB,UAAU,CAACD,IAE1B,CAAA,EACF,CACF,EAIA,GAAIlF,GAAyBF,EAC3B,MAAMiE,EAAejE,EADkB,KACN0B,OAC5B,CACL,IAAIyC,EAAapE,EAAOE,kBAAkB,EAC1C,OAAMF,EAAOuF,qBAAqB,CAChC3O,EAAIsD,OAAO,CACX,IACE8F,EAAOwF,KAAK,CACVrK,EAAAA,cAAAA,CAAegK,aAAa,CAC5B,CACEM,SAAU,CAAA,EAAG1F,EAAO,CAAC,EAAErC,EAAAA,CAAS,CAChC3B,KAAMpB,EAAAA,QAAAA,CAAS+K,MAAM,CACrBC,WAAY,CACV,cAAe5F,EACf,cAAenJ,EAAIgB,GAAG,AACxB,CACF,EACA,AAACgO,GAAS1B,EAAe0B,EAAMxB,SAEnCzC,EACA,CAACxB,EAEL,CACF,mCAhgBA,SAAS9F,EACP,MAAA,CAAA,EAAOC,EAAAA,UAAAA,EAAY,kBACjB0C,uBACAC,CACF,EACF","ignoreList":[1]}
@@ -0,0 +1,3 @@
1
+ module.exports=[169410,(e,o,d)=>{}];
2
+
3
+ //# sourceMappingURL=_next-internal_server_app_api_docs_graph_route_actions_1nzoqf-.js.map
@@ -0,0 +1,3 @@
1
+ module.exports=[564208,(e,o,d)=>{}];
2
+
3
+ //# sourceMappingURL=_next-internal_server_app_api_docs_links_route_actions_1q-6jeg.js.map
@@ -0,0 +1,3 @@
1
+ module.exports=[555384,(e,o,d)=>{}];
2
+
3
+ //# sourceMappingURL=_next-internal_server_app_api_memory_entries_merge_route_actions_1rr-wwt.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ module.exports=[558643,(e,o,d)=>{}];
2
+
3
+ //# sourceMappingURL=_next-internal_server_app_api_memory_entries_merge_undo_route_actions_0l6cy9q.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ module.exports=[710143,(e,o,d)=>{}];
2
+
3
+ //# sourceMappingURL=_next-internal_server_app_api_memory_health_dismiss_route_actions_0i7_n68.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ module.exports=[789786,(e,o,d)=>{}];
2
+
3
+ //# sourceMappingURL=_next-internal_server_app_api_memory_health_route_actions_1lk-_5d.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ module.exports=[956068,(e,o,d)=>{}];
2
+
3
+ //# sourceMappingURL=_next-internal_server_app_api_memory_restore_route_actions_0679kmo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ module.exports=[900738,(e,o,d)=>{}];
2
+
3
+ //# sourceMappingURL=_next-internal_server_app_api_memory_versions_route_actions_13mix75.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -1,3 +1,3 @@
1
- module.exports=[375102,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules__pnpm_0_ajzll._.js","server/chunks/ssr/node_modules__pnpm_1i0y5-9._.js","server/chunks/ssr/node_modules__pnpm_06wwby6._.js","server/chunks/ssr/0_nd_mermaid_dist_chunks_mermaid_core_chunk-ZIGJFQKS_mjs_1zrfev2._.js","server/chunks/ssr/0_nd_mermaid_dist_chunks_mermaid_core_chunk-MBY4JIJT_mjs_177netf._.js","server/chunks/ssr/0_nd_mermaid_dist_chunks_mermaid_core_chunk-UA2S7LBM_mjs_12azvn5._.js","server/chunks/ssr/0_nd_mermaid_dist_chunks_mermaid_core_chunk-O7XYJQB3_mjs_1q7gem7._.js","server/chunks/ssr/0_nd_mermaid_dist_chunks_mermaid_core_chunk-7INBJB4K_mjs_0-khcme._.js","server/chunks/ssr/0_nd_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_0gn3urr._.js","server/chunks/ssr/0_nd_mermaid_dist_chunks_mermaid_core_chunk-Z7XXMR3K_mjs_1v-ak7s._.js","server/chunks/ssr/node_modules__pnpm_18s99g2._.js","server/chunks/ssr/0_nd_mermaid_dist_mermaid_core_mjs_1aoxgc5._.js","server/chunks/ssr/0upk_roughjs_bundled_rough_esm_0vflsuc.js"].map(b=>a.l(b))).then(()=>b(831615)))}];
1
+ module.exports=[375102,a=>{a.v(b=>Promise.all(["server/chunks/ssr/node_modules__pnpm_0x5wj-4._.js","server/chunks/ssr/node_modules__pnpm_1i0y5-9._.js","server/chunks/ssr/node_modules__pnpm_06wwby6._.js","server/chunks/ssr/0_nd_mermaid_dist_chunks_mermaid_core_chunk-ZIGJFQKS_mjs_1zrfev2._.js","server/chunks/ssr/0_nd_mermaid_dist_chunks_mermaid_core_chunk-MBY4JIJT_mjs_177netf._.js","server/chunks/ssr/0_nd_mermaid_dist_chunks_mermaid_core_chunk-UA2S7LBM_mjs_12azvn5._.js","server/chunks/ssr/0_nd_mermaid_dist_chunks_mermaid_core_chunk-O7XYJQB3_mjs_1q7gem7._.js","server/chunks/ssr/0_nd_mermaid_dist_chunks_mermaid_core_chunk-7INBJB4K_mjs_0-khcme._.js","server/chunks/ssr/0_nd_mermaid_dist_chunks_mermaid_core_chunk-LNGE3PJU_mjs_0gn3urr._.js","server/chunks/ssr/0_nd_mermaid_dist_chunks_mermaid_core_chunk-Z7XXMR3K_mjs_1v-ak7s._.js","server/chunks/ssr/node_modules__pnpm_18s99g2._.js","server/chunks/ssr/0_nd_mermaid_dist_mermaid_core_mjs_1aoxgc5._.js","server/chunks/ssr/0upk_roughjs_bundled_rough_esm_0vflsuc.js"].map(b=>a.l(b))).then(()=>b(831615)))}];
2
2
 
3
- //# sourceMappingURL=0_nd_mermaid_dist_mermaid_core_mjs_0itmgkm._.js.map
3
+ //# sourceMappingURL=0_nd_mermaid_dist_mermaid_core_mjs_0y_edkq._.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -1,3 +1,3 @@
1
1
  module.exports=[389424,a=>{a.v(b=>Promise.all(["server/chunks/ssr/1u84_katex_dist_katex_mjs_1sth3te._.js"].map(b=>a.l(b))).then(()=>b(706823)))}];
2
2
 
3
- //# sourceMappingURL=1u84_katex_dist_katex_mjs_08jn-sj._.js.map
3
+ //# sourceMappingURL=1u84_katex_dist_katex_mjs_0yg8zto._.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ module.exports=[193695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},249194,a=>{"use strict";var b=a.i(463868),c=a.i(423492),d=a.i(779490);a.i(662493);let e=(0,b.instrumentModuleGetter)(()=>a.r(650645)),f=(0,b.instrumentModuleGetter)(()=>a.r(105641)),g=(0,b.instrumentModuleGetter)(()=>a.r(691475)),h=(0,b.instrumentModuleGetter)(()=>a.r(232017)),i=(0,b.instrumentModuleGetter)(()=>a.r(569264)),j=(0,b.instrumentModuleGetter)(()=>a.r(93240)),k=(0,b.instrumentModuleGetter)(()=>a.r(942888)),l=(0,b.instrumentModuleGetter)(()=>a.r(105641)),m=(0,b.instrumentModuleGetter)(()=>a.r(691475)),n=(0,b.instrumentModuleGetter)(()=>a.r(232017)),o=["",{children:["(app)",{children:["graph",{children:["__PAGE__",{},{metadata:{},page:[(0,b.instrumentModuleGetter)(()=>a.r(230742)),"[project]/src/app/(app)/graph/page.tsx"]},[]]},{metadata:{}},[]]},{metadata:{},layout:[j,"[project]/src/app/(app)/layout.tsx"],error:[k,"[project]/src/app/(app)/error.tsx"],"not-found":[l,"[project]/node_modules/.pnpm/next@16.3.6_@babel+core@7.29.7_@types+node@22.20.4_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[m,"[project]/node_modules/.pnpm/next@16.3.6_@babel+core@7.29.7_@types+node@22.20.4_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[n,"[project]/node_modules/.pnpm/next@16.3.6_@babel+core@7.29.7_@types+node@22.20.4_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/next/dist/client/components/builtin/unauthorized.js"]},[]]},{layout:[e,"[project]/src/app/layout.tsx"],"not-found":[f,"[project]/node_modules/.pnpm/next@16.3.6_@babel+core@7.29.7_@types+node@22.20.4_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/next/dist/client/components/builtin/not-found.js"],forbidden:[g,"[project]/node_modules/.pnpm/next@16.3.6_@babel+core@7.29.7_@types+node@22.20.4_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/next/dist/client/components/builtin/forbidden.js"],unauthorized:[h,"[project]/node_modules/.pnpm/next@16.3.6_@babel+core@7.29.7_@types+node@22.20.4_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/next/dist/client/components/builtin/unauthorized.js"],"global-error":[i,"[project]/src/app/global-error.tsx"]},[]],p=a.r.bind(a),q=a.l.bind(a),r=(0,c.createAppPageEntrypoint)({tree:o,page:"/(app)/graph/page",pathname:"/graph",require:p,loadChunk:q,interopDefault:d.interopDefault}),s=r.__next_app__,t=r.routeModule,u=r.handler;a.s(["__next_app__",0,s,"handler",0,u,"routeModule",0,t],744012),a.i(744012);var v=a.i(529772);a.s(["ClientPageRoot",()=>v.ClientPageRoot,"ClientSegmentRoot",()=>v.ClientSegmentRoot,"Fragment",()=>v.Fragment,"HTTPAccessFallbackBoundary",()=>v.HTTPAccessFallbackBoundary,"InstantValidation",()=>v.InstantValidation,"LayoutRouter",()=>v.LayoutRouter,"LoadingBoundaryProvider",()=>v.LoadingBoundaryProvider,"Postpone",()=>v.Postpone,"RenderFromTemplateContext",()=>v.RenderFromTemplateContext,"RootLayoutBoundary",()=>v.RootLayoutBoundary,"SegmentViewNode",()=>v.SegmentViewNode,"SegmentViewStateNode",()=>v.SegmentViewStateNode,"__next_app__",0,s,"captureOwnerStack",()=>v.captureOwnerStack,"collectPrefetchHints",()=>v.collectPrefetchHints,"collectSegmentData",()=>v.collectSegmentData,"createElement",()=>v.createElement,"createMetadataComponents",()=>v.createMetadataComponents,"createPrerenderParamsForClientSegment",()=>v.createPrerenderParamsForClientSegment,"createPrerenderSearchParamsForClientPage",()=>v.createPrerenderSearchParamsForClientPage,"createServerParamsForServerSegment",()=>v.createServerParamsForServerSegment,"createServerSearchParamsForServerPage",()=>v.createServerSearchParamsForServerPage,"createTemporaryReferenceSet",()=>v.createTemporaryReferenceSet,"decodeAction",()=>v.decodeAction,"decodeFormState",()=>v.decodeFormState,"decodeReply",()=>v.decodeReply,"handler",0,u,"isEmptyHTMLPrelude",()=>v.isEmptyHTMLPrelude,"patchFetch",()=>v.patchFetch,"preconnect",()=>v.preconnect,"preloadFont",()=>v.preloadFont,"preloadStyle",()=>v.preloadStyle,"prerender",()=>v.prerender,"prerenderToNodeStream",()=>v.prerenderToNodeStream,"renderToPipeableStream",()=>v.renderToPipeableStream,"renderToReadableStream",()=>v.renderToReadableStream,"routeModule",0,t,"serverHooks",()=>v.serverHooks,"taintObjectReference",()=>v.taintObjectReference],249194)},746003,a=>{"use strict";a.s(["default",()=>b]);let b=(0,a.i(887744).registerClientReference)(function(){throw Error("Attempted to call the default export of [project]/src/app/(app)/graph/page.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/app/(app)/graph/page.tsx","default")},276108,a=>{"use strict";var b=a.i(746003);a.n(b)},230742,function(a){a.n(a.i(276108))}];
2
+
3
+ //# sourceMappingURL=%5Broot-of-the-server%5D__1drc5py._.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../../node_modules/.pnpm/next%4016.3.6_%40babel%2Bcore%407.29.7_%40types%2Bnode%4022.20.4_react-dom%4019.3.0_react%4019.3.0__react%4019.3.0/node_modules/next/dist/esm/build/templates/app-page.js%3Fpage%3D/%28app%29/graph/page","../../../../src/app/%28app%29/graph/page.tsx/__nextjs-internal-proxy.mjs"],"sourcesContent":["import { instrumentModuleGetter } from \"next/dist/server/app-render/module-loading/instrument-module-getter\";\nconst __TURBOPACK__layout__$23$0__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_0\"));\nconst __TURBOPACK__not$2d$found__$23$1__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_1\"));\nconst __TURBOPACK__forbidden__$23$2__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_2\"));\nconst __TURBOPACK__unauthorized__$23$3__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_3\"));\nconst __TURBOPACK__global$2d$error__$23$4__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_4\"));\nconst __TURBOPACK__layout__$23$5__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_5\"));\nconst __TURBOPACK__error__$23$6__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_6\"));\nconst __TURBOPACK__not$2d$found__$23$7__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_7\"));\nconst __TURBOPACK__forbidden__$23$8__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_8\"));\nconst __TURBOPACK__unauthorized__$23$9__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_9\"));\nconst __TURBOPACK__page__$23$10__ = instrumentModuleGetter(() => require(/*turbopackChunkingType: shared*/\"MODULE_10\"));\nimport { createAppPageEntrypoint } from \"next/dist/esm/build/templates/app-page-runtime\";\nimport { interopDefault } from \"next/dist/esm/server/app-render/interop-default\" with {\n 'turbopack-transition': 'next-server-utility'\n};\nconst tree = [\"\", {\n\"children\": [\"(app)\", {\n\"children\": [\"graph\", {\n\"children\": [\"__PAGE__\", {\n}, {\n metadata: { }, \"page\": [__TURBOPACK__page__$23$10__, \"[project]/src/app/(app)/graph/page.tsx\"],\n}, []],\n}, {\n metadata: { },}, []],\n}, {\n metadata: { }, \"layout\": [__TURBOPACK__layout__$23$5__, \"[project]/src/app/(app)/layout.tsx\"],\n \"error\": [__TURBOPACK__error__$23$6__, \"[project]/src/app/(app)/error.tsx\"],\n \"not-found\": [__TURBOPACK__not$2d$found__$23$7__, \"[project]/node_modules/.pnpm/next@16.3.6_@babel+core@7.29.7_@types+node@22.20.4_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/next/dist/client/components/builtin/not-found.js\"],\n \"forbidden\": [__TURBOPACK__forbidden__$23$8__, \"[project]/node_modules/.pnpm/next@16.3.6_@babel+core@7.29.7_@types+node@22.20.4_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/next/dist/client/components/builtin/forbidden.js\"],\n \"unauthorized\": [__TURBOPACK__unauthorized__$23$9__, \"[project]/node_modules/.pnpm/next@16.3.6_@babel+core@7.29.7_@types+node@22.20.4_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/next/dist/client/components/builtin/unauthorized.js\"],\n}, []],\n}, {\n \"layout\": [__TURBOPACK__layout__$23$0__, \"[project]/src/app/layout.tsx\"],\n \"not-found\": [__TURBOPACK__not$2d$found__$23$1__, \"[project]/node_modules/.pnpm/next@16.3.6_@babel+core@7.29.7_@types+node@22.20.4_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/next/dist/client/components/builtin/not-found.js\"],\n \"forbidden\": [__TURBOPACK__forbidden__$23$2__, \"[project]/node_modules/.pnpm/next@16.3.6_@babel+core@7.29.7_@types+node@22.20.4_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/next/dist/client/components/builtin/forbidden.js\"],\n \"unauthorized\": [__TURBOPACK__unauthorized__$23$3__, \"[project]/node_modules/.pnpm/next@16.3.6_@babel+core@7.29.7_@types+node@22.20.4_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/next/dist/client/components/builtin/unauthorized.js\"],\n \"global-error\": [__TURBOPACK__global$2d$error__$23$4__, \"[project]/src/app/global-error.tsx\"],\n}, []]\nconst __next_app_require__ = __turbopack_context__.r.bind(__turbopack_context__)\nconst __next_app_load_chunk__ = __turbopack_context__.l.bind(__turbopack_context__)\nconst entrypoint = createAppPageEntrypoint({\n tree,\n page: \"/(app)/graph/page\",\n pathname: \"/graph\",\n require: __next_app_require__,\n loadChunk: __next_app_load_chunk__,\n interopDefault\n});\nexport const __next_app__ = entrypoint.__next_app__;\nexport const routeModule = entrypoint.routeModule;\nexport const handler = entrypoint.handler;\nexport * from \"next/dist/esm/server/app-render/entry-base\" with {\n 'turbopack-transition': 'next-server-utility'\n};\n\n//# sourceMappingURL=app-page.js.map\n","// This file is generated by next-core EcmascriptClientReferenceModule.\nimport { registerClientReference } from \"react-server-dom-turbopack/server\";\nexport default registerClientReference(\n function() { throw new Error(\"Attempted to call the default export of [project]/src/app/(app)/graph/page.tsx from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.\"); },\n \"[project]/src/app/(app)/graph/page.tsx\",\n \"default\",\n);\n"],"names":["layout #0","not-found #1","forbidden #2","unauthorized #3","global-error #4","layout #5","error #6","not-found #7","forbidden #8","unauthorized #9","page #10","tree","metadata","__next_app_require__","__turbopack_context__","r","bind","__next_app_load_chunk__","l","entrypoint","page","pathname","require","loadChunk","interopDefault","__next_app__","routeModule","handler","Error"],"mappings":"gMAAA,IAAA,EAAA,EAAA,CAAA,CAAA,QAYA,EAAA,EAAA,CAAA,CAAA,QACA,EAAA,EAAA,CAAA,CAAA,QAuCA,EAAA,CAAA,CAAA,QAnDA,IAAMA,EAA+B,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,SACtDC,EAAqC,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,SAC5DC,EAAkC,CAAA,EAAA,EAAA,sBAAsB,AAAtB,EAAuB,IAAA,EAAA,CAAA,CAAA,SACzDC,EAAqC,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,SAC5DC,EAAwC,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,SAC/DC,EAA+B,CAAA,EAAA,EAAA,sBAAsB,AAAtB,EAAuB,IAAA,EAAA,CAAA,CAAA,QACtDC,EAA8B,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,SACrDC,EAAqC,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,SAC5DC,EAAkC,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,SACzDC,EAAqC,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,SAM5DE,EAAO,CAAC,GAAI,CAClB,SAAY,CAAC,QAAS,CACtB,SAAY,CAAC,QAAS,CACtB,SAAY,CAAC,WAAY,CACzB,EAAG,CACDC,SAAU,CAAG,EAAI,KAAQ,CAVS,CAAA,EAAA,EAAA,sBAAA,AAAsB,EAAC,IAAA,EAAA,CAAA,CAAA,SAUF,yCAAyC,AAClG,EAAG,EAAE,CAAC,AACN,EAAG,CACDA,SAAU,CAAG,CAAE,EAAG,EAAE,CAAC,AACvB,EAAG,CACDA,SAAU,CAAG,EAAI,OAAU,CAACP,EAA8B,qCAAqC,CAC/F,MAAS,CAACC,EAA6B,oCAAoC,CAC3E,YAAa,CAACC,EAAoC,4LAA4L,CAC9O,UAAa,CAACC,EAAiC,4LAA4L,CAC3O,aAAgB,CAACC,EAAoC,+LAA+L,AACtP,EAAG,EAAE,CAAC,AACN,EAAG,CACD,OAAU,CAACT,EAA8B,+BAA+B,CACxE,YAAa,CAACC,EAAoC,4LAA4L,CAC9O,UAAa,CAACC,EAAiC,4LAA4L,CAC3O,aAAgB,CAACC,EAAoC,+LAA+L,CACpP,eAAgB,CAACC,EAAuC,qCAAqC,AAC/F,EAAG,EAAE,CAAC,CACAS,EAAuBC,EAAsBC,CAAC,CAACC,IAAI,CAACF,GACpDG,EAA0BH,EAAsBI,CAAC,CAACF,IAAI,CAACF,GACvDK,EAAa,CAAA,EAAA,EAAA,uBAAA,AAAuB,EAAC,MACvCR,EACAS,KAAM,oBACNC,SAAU,SACVC,QAAST,EACTU,UAAWN,EACXO,eAAAA,EAAAA,cACJ,AADkB,GAELC,EAAeN,EAAWM,YAAY,CACtCC,EAAcP,EAAWO,WAAW,CACpCC,EAAUR,EAAWQ,OAAO,m4DCjD1B,CAAA,EADf,AACe,EADf,CAAA,CAAA,QACe,uBAAA,AAAuB,EAClC,WAAa,MAAM,AAAIC,MAAM,0QAA4Q,EACzS,yCACA","ignoreList":[0,1]}
@@ -0,0 +1,3 @@
1
+ module.exports=[658978,a=>{"use strict";var b=a.i(256857);let c={name:"calendar",size:24,node:[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}]]};c.node;let d=(0,b.default)(c);a.s(["Calendar",0,d],658978)},388637,a=>{"use strict";var b=a.i(256857);let c={name:"circle-dashed",size:24,node:[["path",{d:"M10.1 2.182a10 10 0 0 1 3.8 0",key:"5ilxe3"}],["path",{d:"M13.9 21.818a10 10 0 0 1-3.8 0",key:"11zvb9"}],["path",{d:"M17.609 3.721a10 10 0 0 1 2.69 2.7",key:"1iw5b2"}],["path",{d:"M2.182 13.9a10 10 0 0 1 0-3.8",key:"c0bmvh"}],["path",{d:"M20.279 17.609a10 10 0 0 1-2.7 2.69",key:"1ruxm7"}],["path",{d:"M21.818 10.1a10 10 0 0 1 0 3.8",key:"qkgqxc"}],["path",{d:"M3.721 6.391a10 10 0 0 1 2.7-2.69",key:"1mcia2"}],["path",{d:"M6.391 20.279a10 10 0 0 1-2.69-2.7",key:"1fvljs"}]]};c.node;let d=(0,b.default)(c);a.s(["CircleDashed",0,d],388637)},763747,787714,891397,a=>{"use strict";var b=a.i(256857);let c={name:"ellipsis",size:24,node:[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],aliases:["more-horizontal"]};c.node;let d=(0,b.default)(c);a.s(["MoreHorizontal",0,d],763747);var e=a.i(662145),f=a.i(368114),g=a.i(404687),h=a.i(174897),i=a.i(425404),j=a.i(335732);let k=a=>a.stopPropagation(),l="inline-flex min-w-0 items-center gap-1 rounded-sm px-1 -mx-1 text-left outline-hidden hover:bg-surface2 focus-visible:ring-2 focus-visible:ring-accent/60";function m({label:a,value:b,options:c,onChange:d,children:g,className:h}){return(0,e.jsxs)(j.DropdownMenu,{children:[(0,e.jsx)(j.DropdownMenuTrigger,{asChild:!0,children:(0,e.jsx)("button",{type:"button","aria-label":a,draggable:!1,onClick:k,onKeyDown:k,onPointerDown:k,className:(0,f.cn)(l,h),children:g})}),(0,e.jsx)(j.DropdownMenuContent,{align:"start",className:"max-h-72 w-48 overflow-y-auto",onClick:k,onKeyDown:k,children:c.map(a=>(0,e.jsxs)(j.DropdownMenuItem,{onSelect:()=>{a.value!==b&&d(a.value)},children:[a.node??a.label,a.value===b&&(0,e.jsx)(i.Check,{className:"ml-auto size-3.5 text-muted","aria-hidden":!0})]},a.value))})]})}a.s(["InlineDate",0,function({label:a,value:b,onChange:c,children:d,className:g}){let[i,j]=(0,h.useState)(!1),[m,n]=(0,h.useState)(b??""),o=()=>{j(!1),(m||null)!==b&&c(m||null)};return i?(0,e.jsx)("input",{type:"date",autoFocus:!0,"aria-label":a,value:m,onChange:a=>n(a.target.value),onClick:k,onPointerDown:k,onKeyDown:a=>{k(a),"Enter"===a.key&&(a.preventDefault(),o()),"Escape"===a.key&&(a.preventDefault(),j(!1))},onBlur:o,className:"h-6 rounded-sm border border-accent/60 bg-bg px-1 font-mono text-[11px] text-txt scheme-light outline-hidden dark:scheme-dark"}):(0,e.jsx)("button",{type:"button","aria-label":a,draggable:!1,onClick:a=>{k(a),n(b??""),j(!0)},onKeyDown:k,className:(0,f.cn)(l,g),children:d})},"InlineSelect",0,m,"InlineText",0,function({label:a,value:b,onChange:c,children:d,className:g,placeholder:i,startEditing:j=!1,onCancel:m}){let[n,o]=(0,h.useState)(j),[p,q]=(0,h.useState)(b??""),r=()=>{o(!1);let a=p.trim()||null;a!==b?c(a):a||m?.()};return n?(0,e.jsx)("input",{autoFocus:!0,"aria-label":a,value:p,placeholder:i,onChange:a=>q(a.target.value),onClick:k,onPointerDown:k,onKeyDown:a=>{k(a),"Enter"===a.key&&(a.preventDefault(),r()),"Escape"===a.key&&(a.preventDefault(),o(!1),m?.())},onBlur:r,className:"h-7 w-full min-w-0 rounded-sm border border-accent/60 bg-bg px-1.5 text-[13px] text-txt outline-hidden placeholder:text-muted"}):(0,e.jsx)("button",{type:"button","aria-label":a,draggable:!1,onClick:a=>{k(a),q(b??""),o(!0)},onKeyDown:k,className:(0,f.cn)(l,g),children:d})}],787714);let n={P0:"bg-danger/12 text-danger",P1:"bg-amber/12 text-amber",P2:"bg-surface2 text-txt",P3:"bg-surface2 text-muted"};function o({priority:a,className:b}){return(0,e.jsx)("span",{className:(0,f.cn)("inline-flex h-4 shrink-0 items-center rounded-sm px-1 font-mono text-[10px] font-medium leading-none",n[a],b),children:a})}let p=[...g.PRIORITIES.map(a=>({value:a,label:a,node:(0,e.jsx)(o,{priority:a})})),{value:"",label:"No priority",node:(0,e.jsx)("span",{className:"text-muted",children:"No priority"})}];a.s(["PriorityBadge",0,o,"PriorityField",0,function({label:a,value:b,onChange:c,empty:d}){return(0,e.jsx)(m,{label:a,value:b??"",options:p,onChange:a=>c(a||null),children:b?(0,e.jsx)(o,{priority:b}):d??(0,e.jsx)("span",{className:"text-muted",children:"—"})})}],891397)},340753,a=>{"use strict";var b=a.i(256857);let c={name:"list-checks",size:24,node:[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]]};c.node;let d=(0,b.default)(c);a.s(["ListChecks",0,d],340753)},441852,a=>{"use strict";var b=a.i(256857);let c={name:"message-square",size:24,node:[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]};c.node;let d=(0,b.default)(c);a.s(["MessageSquare",0,d],441852)},711366,a=>{"use strict";var b=a.i(256857);let c={name:"minus",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}]]};c.node;let d=(0,b.default)(c);a.s(["Minus",0,d],711366)},661661,a=>{"use strict";var b=a.i(256857);let c={name:"pencil",size:24,node:[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]};c.node;let d=(0,b.default)(c);a.s(["Pencil",0,d],661661)},227246,a=>{"use strict";var b=a.i(256857);let c={name:"refresh-cw",size:24,node:[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]};c.node;let d=(0,b.default)(c);a.s(["RefreshCw",0,d],227246)},340933,a=>{"use strict";var b=a.i(256857);let c={name:"triangle-alert",size:24,node:[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],aliases:["alert-triangle"]};c.node;let d=(0,b.default)(c);a.s(["AlertTriangle",0,d],340933)},578520,a=>{"use strict";var b=a.i(662145),c=a.i(892678),d=a.i(256857);let e={name:"file-pen",size:24,node:[["path",{d:"M12.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v9.34",key:"o6klzx"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10.378 12.622a1 1 0 0 1 3 3.003L8.36 20.637a2 2 0 0 1-.854.506l-2.867.837a.5.5 0 0 1-.62-.62l.836-2.869a2 2 0 0 1 .506-.853z",key:"zhnas1"}]],aliases:["file-edit"]};e.node;let f=(0,d.default)(e);var g=a.i(228705);let h={name:"file-search",size:24,node:[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["circle",{cx:"11.5",cy:"14.5",r:"2.5",key:"1bq0ko"}],["path",{d:"M13.3 16.3 15 18",key:"2quom7"}]]};h.node;let i=(0,d.default)(h);var j=a.i(926128);let k={name:"file-x",size:24,node:[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m14.5 12.5-5 5",key:"b62r18"}],["path",{d:"m9.5 12.5 5 5",key:"1rk7el"}]]};k.node;let l=(0,d.default)(k);var m=a.i(340753),n=a.i(899593),o=a.i(909898),p=a.i(227246),q=a.i(471617),r=a.i(842717),s=a.i(173628);let t={task_updated:m.ListChecks,decision_logged:q.Scale,memory_updated:r.Brain,doc_read:i,doc_created:g.FilePlus,doc_updated:j.FileText,doc_deleted:l,doc_renamed:f,session_start:o.Plug,registry_rebuilt:p.RefreshCw,roadmap_updated:n.Map},u=a=>new Date(a).toLocaleTimeString(void 0,{hour:"2-digit",minute:"2-digit",hourCycle:"h23"});a.s(["ActivityEventRow",0,function({event:a,showActor:d=!1}){let e=t[a.type]??j.FileText;return(0,b.jsxs)("div",{className:"grid grid-cols-[2.75rem_1.5rem_minmax(0,1fr)] items-start py-1.5",children:[(0,b.jsx)("time",{dateTime:a.timestamp,title:new Date(a.timestamp).toLocaleString(),className:"pt-px text-right font-mono text-[11px] leading-5 text-muted tabular-nums",children:u(a.timestamp)}),(0,b.jsx)("span",{className:"flex justify-center pt-[3px]",children:"task_updated"===a.type&&a.taskStatus?(0,b.jsx)(s.StatusIcon,{status:a.taskStatus}):(0,b.jsx)(e,{className:"size-3.5 text-muted","aria-hidden":!0})}),(0,b.jsxs)("div",{className:"flex min-w-0 flex-col gap-0.5 sm:flex-row sm:items-baseline sm:gap-2",children:[(0,b.jsx)("span",{className:"min-w-0 text-sm leading-5 text-txt sm:shrink-0 sm:max-w-[60%] sm:truncate",children:a.title}),a.detail&&(0,b.jsx)("span",{className:"min-w-0 truncate text-xs leading-5 text-muted",children:a.detail}),d&&"human"===a.actor&&(0,b.jsxs)("span",{className:"flex shrink-0 items-center gap-1 font-mono text-[10px] text-muted sm:ml-auto",children:[(0,b.jsx)(c.User,{className:"size-3","aria-hidden":!0}),"you"]})]})]})},"clock",0,u,"timeAgo",0,function(a){let b=(Date.now()-new Date(a).getTime())/1e3;return b<60?"just now":b<3600?`${Math.floor(b/60)}m ago`:b<86400?`${Math.floor(b/3600)}h ago`:`${Math.floor(b/86400)}d ago`}],578520)},815122,a=>{"use strict";var b=a.i(662145),c=a.i(795667),d=a.i(108280),e=a.i(368114),f=a.i(685698),g=a.i(598984);let h={running:"Agent working","needs-answer":"Agent needs you",review:"Plan to review"};a.s(["AgentDot",0,function({attach:a}){let c=(0,f.useItemAgent)(a);return c?(0,b.jsx)(g.StatusMarker,{status:c.status,label:h[c.status]}):null},"AgentMark",0,function({attach:a,className:g}){let i=(0,f.useItemAgent)(a),{show:j}=(0,f.useChats)();if(!i)return null;let k=h[i.status];return(0,b.jsxs)("button",{type:"button",onClick:a=>{a.stopPropagation(),j(i.chatId)},title:`${k} \xb7 open chat`,"aria-label":`${k}, open chat`,className:(0,e.cn)("nodrag inline-flex shrink-0 items-center gap-1 rounded-full border px-1.5 py-px font-mono text-[10px] leading-4 animate-fade-in transition-colors duration-(--duration-fast)","running"===i.status&&"border-accent/50 text-accent hover:bg-accent/10","needs-answer"===i.status&&"border-amber/50 text-amber hover:bg-amber/10","review"===i.status&&"border-accent/50 bg-accent/10 text-accent hover:bg-accent/20",g),children:["running"===i.status?(0,b.jsx)(d.Loader2,{className:"size-3 animate-spin","aria-hidden":!0}):(0,b.jsx)(c.Bot,{className:"size-3","aria-hidden":!0}),k]})}])},192698,a=>{"use strict";var b=a.i(662145),c=a.i(368114);function d({properties:a,className:e,children:f}){let g=a.filter(a=>null!==a.value&&void 0!==a.value&&!1!==a.value);return 0!==g.length||f?(0,b.jsxs)("dl",{className:(0,c.cn)("grid grid-cols-[minmax(6.5rem,8.5rem)_minmax(0,1fr)] items-center gap-x-2 text-[13px]",e),children:[g.map(a=>(0,b.jsxs)("div",{className:"contents",children:[(0,b.jsxs)("dt",{className:"flex min-h-8 min-w-0 items-center gap-2 text-muted",children:[a.icon&&(0,b.jsx)(a.icon,{className:"size-3.5 shrink-0","aria-hidden":!0}),(0,b.jsx)("span",{className:"min-w-0 truncate",children:a.label})]}),(0,b.jsx)("dd",{className:"flex min-h-8 min-w-0 items-center gap-2 text-txt",children:a.value})]},a.id??String(a.label))),f&&(0,b.jsx)("div",{className:"col-span-2 flex min-h-8 items-center",children:f})]}):null}a.s(["ItemPanelHeader",0,function({kicker:a,title:e,menu:f,properties:g,className:h,children:i}){return(0,b.jsxs)("header",{"data-item-header":!0,className:(0,c.cn)("flex shrink-0 flex-col gap-2 border-b border-border px-5 pb-4 pt-4",h),children:[(0,b.jsxs)("div",{className:"flex min-h-7 items-center gap-2 pr-8 font-mono text-[11px] text-muted",children:[(0,b.jsx)("div",{className:"flex min-w-0 flex-1 items-center gap-1",children:a}),f]}),(0,b.jsx)("div",{className:"text-base font-semibold leading-snug text-txt",children:e}),(0,b.jsx)(d,{properties:g,className:"-my-0.5"}),i]})},"PropertyRows",0,d])}];
2
+
3
+ //# sourceMappingURL=_0-_04ia._.js.map