@evoscientist/webui 0.2.4 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (934) hide show
  1. package/dist/.next/BUILD_ID +1 -1
  2. package/dist/.next/build-manifest.json +13 -10
  3. package/dist/.next/prerender-manifest.json +18 -3
  4. package/dist/.next/required-server-files.json +31 -12
  5. package/dist/.next/server/app/_global-error/page/build-manifest.json +10 -7
  6. package/dist/.next/server/app/_global-error/page.js +6 -6
  7. package/dist/.next/server/app/_global-error/page.js.nft.json +1 -1
  8. package/dist/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  9. package/dist/.next/server/app/_global-error.html +1 -1
  10. package/dist/.next/server/app/_global-error.meta +11 -4
  11. package/dist/.next/server/app/_global-error.rsc +9 -9
  12. package/dist/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +16 -2
  13. package/dist/.next/server/app/_global-error.segments/_full.segment.rsc +9 -9
  14. package/dist/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  15. package/dist/.next/server/app/_not-found/page/build-manifest.json +10 -7
  16. package/dist/.next/server/app/_not-found/page/next-font-manifest.json +1 -1
  17. package/dist/.next/server/app/_not-found/page.js +9 -10
  18. package/dist/.next/server/app/_not-found/page.js.nft.json +1 -1
  19. package/dist/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  20. package/dist/.next/server/app/_not-found.html +1 -1
  21. package/dist/.next/server/app/_not-found.meta +16 -5
  22. package/dist/.next/server/app/_not-found.rsc +15 -15
  23. package/dist/.next/server/app/_not-found.segments/_full.segment.rsc +15 -15
  24. package/dist/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +22 -2
  25. package/dist/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  26. package/dist/.next/server/app/api/evosci-config/route/build-manifest.json +4 -1
  27. package/dist/.next/server/app/api/evosci-config/route.js +3 -3
  28. package/dist/.next/server/app/api/evosci-config/route.js.nft.json +1 -1
  29. package/dist/.next/server/app/api/evosci-config/route_client-reference-manifest.js +1 -1
  30. package/dist/.next/server/app/api/memory/executions/route/build-manifest.json +4 -1
  31. package/dist/.next/server/app/api/memory/executions/route.js +4 -3
  32. package/dist/.next/server/app/api/memory/executions/route.js.nft.json +1 -1
  33. package/dist/.next/server/app/api/memory/executions/route_client-reference-manifest.js +1 -1
  34. package/dist/.next/server/app/api/memory/observations/route/build-manifest.json +4 -1
  35. package/dist/.next/server/app/api/memory/observations/route.js +4 -3
  36. package/dist/.next/server/app/api/memory/observations/route.js.nft.json +1 -1
  37. package/dist/.next/server/app/api/memory/observations/route_client-reference-manifest.js +1 -1
  38. package/dist/.next/server/app/api/memory/route/build-manifest.json +4 -1
  39. package/dist/.next/server/app/api/memory/route.js +4 -3
  40. package/dist/.next/server/app/api/memory/route.js.nft.json +1 -1
  41. package/dist/.next/server/app/api/memory/route_client-reference-manifest.js +1 -1
  42. package/dist/.next/server/app/api/skills/catalog/route/build-manifest.json +4 -1
  43. package/dist/.next/server/app/api/skills/catalog/route.js +3 -3
  44. package/dist/.next/server/app/api/skills/catalog/route.js.nft.json +1 -1
  45. package/dist/.next/server/app/api/skills/catalog/route_client-reference-manifest.js +1 -1
  46. package/dist/.next/server/app/api/skills/detail/route/build-manifest.json +4 -1
  47. package/dist/.next/server/app/api/skills/detail/route.js +3 -3
  48. package/dist/.next/server/app/api/skills/detail/route.js.nft.json +1 -1
  49. package/dist/.next/server/app/api/skills/detail/route_client-reference-manifest.js +1 -1
  50. package/dist/.next/server/app/api/skills/install/route/build-manifest.json +4 -1
  51. package/dist/.next/server/app/api/skills/install/route.js +3 -3
  52. package/dist/.next/server/app/api/skills/install/route.js.nft.json +1 -1
  53. package/dist/.next/server/app/api/skills/install/route_client-reference-manifest.js +1 -1
  54. package/dist/.next/server/app/api/skills/route/build-manifest.json +4 -1
  55. package/dist/.next/server/app/api/skills/route.js +4 -3
  56. package/dist/.next/server/app/api/skills/route.js.nft.json +1 -1
  57. package/dist/.next/server/app/api/skills/route_client-reference-manifest.js +1 -1
  58. package/dist/.next/server/app/api/workspace/download/route/build-manifest.json +4 -1
  59. package/dist/.next/server/app/api/workspace/download/route.js +4 -3
  60. package/dist/.next/server/app/api/workspace/download/route.js.nft.json +1 -1
  61. package/dist/.next/server/app/api/workspace/download/route_client-reference-manifest.js +1 -1
  62. package/dist/.next/server/app/api/workspace/file/route/build-manifest.json +4 -1
  63. package/dist/.next/server/app/api/workspace/file/route.js +4 -4
  64. package/dist/.next/server/app/api/workspace/file/route.js.nft.json +1 -1
  65. package/dist/.next/server/app/api/workspace/file/route_client-reference-manifest.js +1 -1
  66. package/dist/.next/server/app/api/workspace/route/build-manifest.json +4 -1
  67. package/dist/.next/server/app/api/workspace/route.js +4 -3
  68. package/dist/.next/server/app/api/workspace/route.js.nft.json +1 -1
  69. package/dist/.next/server/app/api/workspace/route_client-reference-manifest.js +1 -1
  70. package/dist/.next/server/app/api/workspace/upload/route/build-manifest.json +4 -1
  71. package/dist/.next/server/app/api/workspace/upload/route.js +4 -3
  72. package/dist/.next/server/app/api/workspace/upload/route.js.nft.json +1 -1
  73. package/dist/.next/server/app/api/workspace/upload/route_client-reference-manifest.js +1 -1
  74. package/dist/.next/server/app/icon.png/route/build-manifest.json +4 -1
  75. package/dist/.next/server/app/icon.png/route.js +4 -4
  76. package/dist/.next/server/app/icon.png/route.js.nft.json +1 -1
  77. package/dist/.next/server/app/index.html +1 -1
  78. package/dist/.next/server/app/index.meta +11 -4
  79. package/dist/.next/server/app/index.rsc +16 -16
  80. package/dist/.next/server/app/index.segments/__PAGE__.segment.rsc +22 -5
  81. package/dist/.next/server/app/index.segments/_full.segment.rsc +16 -16
  82. package/dist/.next/server/app/index.segments/_tree.segment.rsc +3 -3
  83. package/dist/.next/server/app/page/build-manifest.json +10 -7
  84. package/dist/.next/server/app/page/next-font-manifest.json +1 -1
  85. package/dist/.next/server/app/page.js +10 -11
  86. package/dist/.next/server/app/page.js.nft.json +1 -1
  87. package/dist/.next/server/app/page_client-reference-manifest.js +1 -1
  88. package/dist/.next/server/chunks/[externals]__0l8ei7u._.js +3 -0
  89. package/dist/.next/server/chunks/[root-of-the-server]__0239a1s._.js +3 -0
  90. package/dist/.next/server/chunks/[root-of-the-server]__0d2jr7j._.js +3 -0
  91. package/dist/.next/server/chunks/[root-of-the-server]__0jsq76h._.js +6 -0
  92. package/dist/.next/server/chunks/[root-of-the-server]__0k-rs5f._.js +6 -0
  93. package/dist/.next/server/chunks/[root-of-the-server]__0key-2n._.js +3 -0
  94. package/dist/.next/server/chunks/[root-of-the-server]__0l3yhx4._.js +160 -0
  95. package/dist/.next/server/chunks/[root-of-the-server]__0nn8czk._.js +6 -0
  96. package/dist/.next/server/chunks/[root-of-the-server]__0t923su._.js +3 -0
  97. package/dist/.next/server/chunks/[root-of-the-server]__0zqsdzd._.js +3 -0
  98. package/dist/.next/server/chunks/[root-of-the-server]__1alqt3_._.js +6 -0
  99. package/dist/.next/server/chunks/[turbopack]_runtime.js +97 -193
  100. package/dist/.next/server/chunks/_00r_7g_._.js +3 -0
  101. package/dist/.next/server/chunks/_042sj8j._.js +3 -0
  102. package/dist/.next/server/chunks/_0lp3ten._.js +3 -0
  103. package/dist/.next/server/chunks/_0m7b81h._.js +3 -0
  104. package/dist/.next/server/chunks/_13lro7d._.js +3 -0
  105. package/dist/.next/server/chunks/_154zcbx._.js +3 -0
  106. package/dist/.next/server/chunks/_1_oz68h._.js +3 -0
  107. package/dist/.next/server/chunks/_1lqtgjk._.js +3 -0
  108. package/dist/.next/server/chunks/{_next-internal_server_app_api_evosci-config_route_actions_0nka7fr.js → _next-internal_server_app_api_evosci-config_route_actions_13cf33i.js} +1 -1
  109. package/dist/.next/server/chunks/{_next-internal_server_app_api_memory_executions_route_actions_02b~_kt.js → _next-internal_server_app_api_memory_executions_route_actions_041n8x6.js} +1 -1
  110. package/dist/.next/server/chunks/{_next-internal_server_app_api_memory_observations_route_actions_0qhyoqo.js → _next-internal_server_app_api_memory_observations_route_actions_18ivi6u.js} +1 -1
  111. package/dist/.next/server/chunks/{_next-internal_server_app_api_memory_route_actions_0jf5z0q.js → _next-internal_server_app_api_memory_route_actions_0y2o7lg.js} +1 -1
  112. package/dist/.next/server/chunks/{_next-internal_server_app_api_skills_catalog_route_actions_0pp.pug.js → _next-internal_server_app_api_skills_catalog_route_actions_173mjj2.js} +1 -1
  113. package/dist/.next/server/chunks/{_next-internal_server_app_api_skills_detail_route_actions_02~v0so.js → _next-internal_server_app_api_skills_detail_route_actions_058ebza.js} +1 -1
  114. package/dist/.next/server/chunks/{_next-internal_server_app_api_skills_install_route_actions_03-v3ve.js → _next-internal_server_app_api_skills_install_route_actions_06zjol4.js} +1 -1
  115. package/dist/.next/server/chunks/{_next-internal_server_app_api_skills_route_actions_0kp0j6w.js → _next-internal_server_app_api_skills_route_actions_0_9y-ex.js} +1 -1
  116. package/dist/.next/server/chunks/{_next-internal_server_app_api_workspace_download_route_actions_0y83v2y.js → _next-internal_server_app_api_workspace_download_route_actions_1m4_t05.js} +1 -1
  117. package/dist/.next/server/chunks/{_next-internal_server_app_api_workspace_file_route_actions_06tfudj.js → _next-internal_server_app_api_workspace_file_route_actions_0bvzn6g.js} +1 -1
  118. package/dist/.next/server/chunks/{_next-internal_server_app_api_workspace_route_actions_0rc11bi.js → _next-internal_server_app_api_workspace_route_actions_19-xkal.js} +1 -1
  119. package/dist/.next/server/chunks/{_next-internal_server_app_api_workspace_upload_route_actions_070kzk5.js → _next-internal_server_app_api_workspace_upload_route_actions_0ccjxm_.js} +1 -1
  120. package/dist/.next/server/chunks/{_next-internal_server_app_icon_png_route_actions_12.gv.r.js → _next-internal_server_app_icon_png_route_actions_1-lsc8h.js} +1 -1
  121. package/dist/.next/server/chunks/ssr/{0t6k_@mermaid-js_parser_dist_chunks_mermaid-parser_core_chunk-NNHCCRGN_mjs_01.5gnv._.js → 1daa_@mermaid-js_parser_dist_chunks_mermaid-parser_core_chunk-NNHCCRGN_mjs_03i6i8q._.js} +3 -3
  122. package/dist/.next/server/chunks/ssr/{0t6k_mermaid_dist_chunks_mermaid_core_mindmap-definition-RKZ34NQL_mjs_0ya3nf7._.js → 1daa_mermaid_dist_chunks_mermaid_core_mindmap-definition-RKZ34NQL_mjs_1m8bey3._.js} +1 -1
  123. package/dist/.next/server/chunks/ssr/{0t6k_mermaid_dist_chunks_mermaid_core_requirementDiagram-4Y6WPE33_mjs_07c4~j8._.js → 1daa_mermaid_dist_chunks_mermaid_core_requirementDiagram-4Y6WPE33_mjs_0cvy8c2._.js} +1 -1
  124. package/dist/.next/server/chunks/ssr/{0t6k_mermaid_dist_chunks_mermaid_core_timeline-definition-PNZ67QCA_mjs_0i6u~cs._.js → 1daa_mermaid_dist_chunks_mermaid_core_timeline-definition-PNZ67QCA_mjs_0vzw4gu._.js} +1 -1
  125. package/dist/.next/server/chunks/ssr/{0_lp_modules_mermaid_dist_chunks_mermaid_core_gitGraphDiagram-PVQCEYII_mjs_0xc8cuq._.js → 1q96_modules_mermaid_dist_chunks_mermaid_core_gitGraphDiagram-PVQCEYII_mjs_1kl1645._.js} +1 -1
  126. package/dist/.next/server/chunks/ssr/{0_lp_modules_mermaid_dist_chunks_mermaid_core_ishikawaDiagram-YF4QCWOH_mjs_12xi8w0._.js → 1q96_modules_mermaid_dist_chunks_mermaid_core_ishikawaDiagram-YF4QCWOH_mjs_1-btteu._.js} +1 -1
  127. package/dist/.next/server/chunks/ssr/{0_lp_modules_mermaid_dist_chunks_mermaid_core_journeyDiagram-JHISSGLW_mjs_0d.k2tv._.js → 1q96_modules_mermaid_dist_chunks_mermaid_core_journeyDiagram-JHISSGLW_mjs_0omhwqk._.js} +1 -1
  128. package/dist/.next/server/chunks/ssr/{0_lp_modules_mermaid_dist_chunks_mermaid_core_kanban-definition-UN3LZRKU_mjs_02zfksy._.js → 1q96_modules_mermaid_dist_chunks_mermaid_core_kanban-definition-UN3LZRKU_mjs_052rc5y._.js} +1 -1
  129. package/dist/.next/server/chunks/ssr/{0_lp_modules_mermaid_dist_chunks_mermaid_core_quadrantDiagram-W4KKPZXB_mjs_0c30c1e._.js → 1q96_modules_mermaid_dist_chunks_mermaid_core_quadrantDiagram-W4KKPZXB_mjs_0l8r0bx._.js} +1 -1
  130. package/dist/.next/server/chunks/ssr/{0_lp_modules_mermaid_dist_chunks_mermaid_core_sequenceDiagram-3UESZ5HK_mjs_07fd9jw._.js → 1q96_modules_mermaid_dist_chunks_mermaid_core_sequenceDiagram-3UESZ5HK_mjs_0c-9sj0._.js} +1 -1
  131. package/dist/.next/server/chunks/ssr/{0_lp_modules_mermaid_dist_chunks_mermaid_core_wardleyDiagram-YWT4CUSO_mjs_0a2sjhb._.js → 1q96_modules_mermaid_dist_chunks_mermaid_core_wardleyDiagram-YWT4CUSO_mjs_0hqmyh5._.js} +1 -1
  132. package/dist/.next/server/chunks/ssr/{0_lp_modules_mermaid_dist_chunks_mermaid_core_xychartDiagram-2RQKCTM6_mjs_0xpvx~c._.js → 1q96_modules_mermaid_dist_chunks_mermaid_core_xychartDiagram-2RQKCTM6_mjs_1l5rlhy._.js} +1 -1
  133. package/dist/.next/server/chunks/ssr/[root-of-the-server]__0471z20._.js +3 -0
  134. package/dist/.next/server/chunks/ssr/{[root-of-the-server]__031lpnq._.js → [root-of-the-server]__05c-vrc._.js} +7 -7
  135. package/dist/.next/server/chunks/ssr/[root-of-the-server]__09pnxvp._.js +33 -0
  136. package/dist/.next/server/chunks/ssr/[root-of-the-server]__0c75weq._.js +3 -0
  137. package/dist/.next/server/chunks/ssr/[root-of-the-server]__0imtqxe._.js +3 -0
  138. package/dist/.next/server/chunks/ssr/[root-of-the-server]__0nzxyl0._.js +3 -0
  139. package/dist/.next/server/chunks/ssr/[root-of-the-server]__0o0ct70._.js +3 -0
  140. package/dist/.next/server/chunks/ssr/[root-of-the-server]__0owaq8w._.js +12 -0
  141. package/dist/.next/server/chunks/ssr/[root-of-the-server]__0xpcv9w._.js +14 -0
  142. package/dist/.next/server/chunks/ssr/[root-of-the-server]__1f4zvj-._.js +3 -0
  143. package/dist/.next/server/chunks/ssr/[root-of-the-server]__1io3bae._.js +33 -0
  144. package/dist/.next/server/chunks/ssr/[turbopack]_runtime.js +97 -193
  145. package/dist/.next/server/chunks/ssr/_05yvop-._.js +4 -0
  146. package/dist/.next/server/chunks/ssr/{_next-internal_server_app__global-error_page_actions_0k77kol.js → _next-internal_server_app__global-error_page_actions_0zi5s8-.js} +1 -1
  147. package/dist/.next/server/chunks/ssr/{_next-internal_server_app__not-found_page_actions_0eq97pa.js → _next-internal_server_app__not-found_page_actions_0pt47yr.js} +1 -1
  148. package/dist/.next/server/chunks/ssr/_next-internal_server_app_page_actions_0hhsz1j.js +3 -0
  149. package/dist/.next/server/chunks/ssr/{node_modules_0v29g77._.js → node_modules_0-n78w2._.js} +3 -3
  150. package/dist/.next/server/chunks/ssr/node_modules_00cex-8._.js +3 -0
  151. package/dist/.next/server/chunks/ssr/node_modules_0456qqx._.js +17 -0
  152. package/dist/.next/server/chunks/ssr/{node_modules_0po23em._.js → node_modules_07zdzg3._.js} +3 -3
  153. package/dist/.next/server/chunks/ssr/node_modules_082g_84._.js +31 -0
  154. package/dist/.next/server/chunks/ssr/node_modules_0_w_s0o._.js +3 -0
  155. package/dist/.next/server/chunks/ssr/node_modules_0chqc93._.js +11 -0
  156. package/dist/.next/server/chunks/ssr/{node_modules_09w7yel._.js → node_modules_0h91jdk._.js} +2 -2
  157. package/dist/.next/server/chunks/ssr/{node_modules_0x8-epl._.js → node_modules_0i3cah4._.js} +3 -3
  158. package/dist/.next/server/chunks/ssr/node_modules_0jx8vby._.js +3 -0
  159. package/dist/.next/server/chunks/ssr/node_modules_0kh3gaq._.js +45 -0
  160. package/dist/.next/server/chunks/ssr/node_modules_0oiuulr._.js +3 -0
  161. package/dist/.next/server/chunks/ssr/node_modules_0sud39z._.js +3 -0
  162. package/dist/.next/server/chunks/ssr/node_modules_0ty2qhi._.js +3 -0
  163. package/dist/.next/server/chunks/ssr/node_modules_0u1te_7._.js +3 -0
  164. package/dist/.next/server/chunks/ssr/node_modules_0uvms5m._.js +3 -0
  165. package/dist/.next/server/chunks/ssr/{node_modules_0hsalo_._.js → node_modules_0v4zc0t._.js} +2 -2
  166. package/dist/.next/server/chunks/ssr/{node_modules_0j48jbs._.js → node_modules_0xme7lg._.js} +2 -2
  167. package/dist/.next/server/chunks/ssr/node_modules_0z2foqi._.js +3 -0
  168. package/dist/.next/server/chunks/ssr/node_modules_0z4gniu._.js +17 -0
  169. package/dist/.next/server/chunks/ssr/{node_modules_0makin.._.js → node_modules_1-wfv6i._.js} +1 -1
  170. package/dist/.next/server/chunks/ssr/node_modules_111pp7w._.js +3 -0
  171. package/dist/.next/server/chunks/ssr/node_modules_15pczok._.js +3 -0
  172. package/dist/.next/server/chunks/ssr/node_modules_16l6ua_._.js +3 -0
  173. package/dist/.next/server/chunks/ssr/node_modules_16q2m8u._.js +3 -0
  174. package/dist/.next/server/chunks/ssr/node_modules_17rj81n._.js +3 -0
  175. package/dist/.next/server/chunks/ssr/node_modules_1831lye._.js +3 -0
  176. package/dist/.next/server/chunks/ssr/node_modules_19b6jde._.js +3 -0
  177. package/dist/.next/server/chunks/ssr/node_modules_1_jf-yx._.js +17 -0
  178. package/dist/.next/server/chunks/ssr/node_modules_1_v-pb8._.js +3 -0
  179. package/dist/.next/server/chunks/ssr/node_modules_1bmqmso._.js +3 -0
  180. package/dist/.next/server/chunks/ssr/node_modules_1jpcwgl._.js +151 -0
  181. package/dist/.next/server/chunks/ssr/node_modules_1lio4hi._.js +3 -0
  182. package/dist/.next/server/chunks/ssr/{node_modules_0~gyl9u._.js → node_modules_1nck62h._.js} +1 -1
  183. package/dist/.next/server/chunks/ssr/{node_modules_0z~-p3m._.js → node_modules_1p9b60w._.js} +2 -2
  184. package/dist/.next/server/chunks/ssr/node_modules_1tj6b0h._.js +3 -0
  185. package/dist/.next/server/chunks/ssr/{node_modules_0xheqa8._.js → node_modules_1z_uie6._.js} +2 -2
  186. package/dist/.next/server/chunks/ssr/node_modules_1zskgct._.js +26 -0
  187. package/dist/.next/server/chunks/ssr/{node_modules_13oabuj._.js → node_modules_20p8pl7._.js} +2 -2
  188. package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_01lis5y._.js +3 -0
  189. package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_07fm7s3._.js +3 -0
  190. package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0kitx9n._.js +3 -0
  191. package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0x5ivvr._.js +3 -0
  192. package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_145f4t2._.js +3 -0
  193. package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_1_o7dux._.js +3 -0
  194. package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_1alyi8-._.js +3 -0
  195. package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_1bxlr8e._.js +3 -0
  196. package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_1grmhd9._.js +3 -0
  197. package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_00~7fbh._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_01pthdh._.js} +1 -1
  198. package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_01-g753._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_03fanqm._.js} +1 -1
  199. package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_02.ao_s._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0597f-k._.js} +1 -1
  200. package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0l0_~d-._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0__ix0y._.js} +1 -1
  201. package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0c.1f2e._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0muxjzn._.js} +1 -1
  202. package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0pjzhbh._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_16vf13h._.js} +1 -1
  203. package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0uq.qxy._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1fzbfn5._.js} +1 -1
  204. package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0_yd3ib._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1quf15b._.js} +1 -1
  205. package/dist/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0.ksprp._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1vi37xl._.js} +1 -1
  206. package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_20vrei_._.js +3 -0
  207. package/dist/.next/server/chunks/ssr/{node_modules_cytoscape_dist_cytoscape_esm_mjs_0642y5z._.js → node_modules_cytoscape_dist_cytoscape_esm_mjs_0arohj6._.js} +2 -2
  208. package/dist/.next/server/chunks/ssr/node_modules_dagre-d3-es_src_dagre_index_0g66msq.js +3 -0
  209. package/dist/.next/server/chunks/ssr/{node_modules_katex_dist_katex_mjs_0oc7z2j._.js → node_modules_katex_dist_katex_mjs_04eh6b6._.js} +1 -1
  210. package/dist/.next/server/chunks/ssr/{node_modules_katex_dist_katex_mjs_0zuygmo._.js → node_modules_katex_dist_katex_mjs_1oxucd3._.js} +1 -1
  211. package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_blockDiagram-GPEHLZMM_mjs_0bclh9~._.js → node_modules_mermaid_dist_chunks_mermaid_core_blockDiagram-GPEHLZMM_mjs_0jxv2ay._.js} +2 -2
  212. package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_c4Diagram-AAUBKEIU_mjs_11i~hhk._.js → node_modules_mermaid_dist_chunks_mermaid_core_c4Diagram-AAUBKEIU_mjs_1yyt6ej._.js} +1 -1
  213. package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_chunk-3OPIFGDE_mjs_0p4md.t._.js → node_modules_mermaid_dist_chunks_mermaid_core_chunk-3OPIFGDE_mjs_165ua5_._.js} +1 -1
  214. package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_chunk-5ZQYHXKU_mjs_0p7as5d._.js → node_modules_mermaid_dist_chunks_mermaid_core_chunk-5ZQYHXKU_mjs_16ac76u._.js} +2 -2
  215. package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_chunk-727SXJPM_mjs_05x94.y._.js → node_modules_mermaid_dist_chunks_mermaid_core_chunk-727SXJPM_mjs_0a9kagr._.js} +1 -1
  216. package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_chunk-AQP2D5EJ_mjs_0_foecb._.js → node_modules_mermaid_dist_chunks_mermaid_core_chunk-AQP2D5EJ_mjs_1p-51mn._.js} +1 -1
  217. package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_chunk-CSCIHK7Q_mjs_0g3lwf.._.js → node_modules_mermaid_dist_chunks_mermaid_core_chunk-CSCIHK7Q_mjs_0savw5-._.js} +1 -1
  218. package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_chunk-KSCS5N6A_mjs_0.lzb4g._.js → node_modules_mermaid_dist_chunks_mermaid_core_chunk-KSCS5N6A_mjs_1vk17qr._.js} +1 -1
  219. package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_chunk-O5CBEL6O_mjs_041viuq._.js → node_modules_mermaid_dist_chunks_mermaid_core_chunk-O5CBEL6O_mjs_074844c._.js} +1 -1
  220. package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_chunk-XPW4576I_mjs_0h8ib.t._.js → node_modules_mermaid_dist_chunks_mermaid_core_chunk-XPW4576I_mjs_0u9wa-b._.js} +2 -2
  221. package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_dagre-BM42HDAG_mjs_0itw5kh._.js → node_modules_mermaid_dist_chunks_mermaid_core_dagre-BM42HDAG_mjs_0w_brpy._.js} +1 -1
  222. package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_diagram-OG6HWLK6_mjs_0et-fze._.js → node_modules_mermaid_dist_chunks_mermaid_core_diagram-OG6HWLK6_mjs_0pzbdul._.js} +1 -1
  223. package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_erDiagram-TEJ5UH35_mjs_12bfcsi._.js → node_modules_mermaid_dist_chunks_mermaid_core_erDiagram-TEJ5UH35_mjs_1_cyy1q._.js} +1 -1
  224. package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_flowDiagram-I6XJVG4X_mjs_0136c8y._.js → node_modules_mermaid_dist_chunks_mermaid_core_flowDiagram-I6XJVG4X_mjs_01y3363._.js} +1 -1
  225. package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_sankeyDiagram-5OEKKPKP_mjs_0z55106._.js → node_modules_mermaid_dist_chunks_mermaid_core_sankeyDiagram-5OEKKPKP_mjs_1nsv0tt._.js} +1 -1
  226. package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_stateDiagram-AJRCARHV_mjs_0azazz~._.js → node_modules_mermaid_dist_chunks_mermaid_core_stateDiagram-AJRCARHV_mjs_0j4-fk2._.js} +1 -1
  227. package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_chunks_mermaid_core_vennDiagram-CIIHVFJN_mjs_0wzofym._.js → node_modules_mermaid_dist_chunks_mermaid_core_vennDiagram-CIIHVFJN_mjs_1jvbrvq._.js} +1 -1
  228. package/dist/.next/server/chunks/ssr/{node_modules_mermaid_dist_mermaid_core_mjs_0rr2bb.._.js → node_modules_mermaid_dist_mermaid_core_mjs_1ao-jv5._.js} +1 -1
  229. package/dist/.next/server/chunks/ssr/node_modules_next_dist_1n3w9lb._.js +6 -0
  230. package/dist/.next/server/chunks/ssr/node_modules_next_dist_1vz8kh1._.js +3 -0
  231. package/dist/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j3._.js +3 -0
  232. package/dist/.next/server/chunks/ssr/{node_modules_next_dist_client_components_builtin_forbidden_0ghu-f7.js → node_modules_next_dist_client_components_builtin_forbidden_0symwr9.js} +2 -2
  233. package/dist/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0q-w892.js +3 -0
  234. package/dist/.next/server/chunks/ssr/{node_modules_next_dist_client_components_builtin_unauthorized_0cjv-23.js → node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0x.js} +2 -2
  235. package/dist/.next/server/chunks/ssr/{node_modules_roughjs_bundled_rough_esm_0opq-c5.js → node_modules_roughjs_bundled_rough_esm_15c9pcx.js} +1 -1
  236. package/dist/.next/server/middleware-build-manifest.js +13 -10
  237. package/dist/.next/server/next-font-manifest.js +1 -1
  238. package/dist/.next/server/next-font-manifest.json +2 -2
  239. package/dist/.next/server/pages/404.html +1 -1
  240. package/dist/.next/server/pages/500.html +1 -1
  241. package/dist/.next/server/prefetch-hints.json +34 -1
  242. package/dist/.next/server/server-reference-manifest.js +1 -1
  243. package/dist/.next/server/server-reference-manifest.json +1 -1
  244. package/dist/.next/static/chunks/{0wbhqz.-ey98b.js → 01nhrh-3r57wh.js} +1 -1
  245. package/dist/.next/static/chunks/02g89o135esk3.js +22 -0
  246. package/dist/.next/static/chunks/03regxjjibliy.js +29 -0
  247. package/dist/.next/static/chunks/{0n46g0ilh8wj..js → 05cl5ojgc4_ku.js} +6 -6
  248. package/dist/.next/static/chunks/0c4y7_xzemq6-.js +1 -0
  249. package/dist/.next/static/chunks/{0p9rfgg_duajn.js → 0dm2etancr7wp.js} +1 -1
  250. package/dist/.next/static/chunks/{0hq~c-~dp2g~1.js → 0l2v1ybx0rm07.js} +1 -1
  251. package/dist/.next/static/chunks/{104yvyc1ce3q5.js → 0o19535rrdg5j.js} +1 -1
  252. package/dist/.next/static/chunks/0piaur2yhvb4v.js +1 -0
  253. package/dist/.next/static/chunks/{0rhvismtjivza.js → 0s3geiy0as3cz.js} +5 -5
  254. package/dist/.next/static/chunks/12b5tf_04ca4i.js +10 -0
  255. package/dist/.next/static/chunks/{0qm2930z0c.8m.js → 15746zaz9af2k.js} +16 -16
  256. package/dist/.next/static/chunks/15m2ikcj71414.js +1 -0
  257. package/dist/.next/static/chunks/{07znaqalfuldz.js → 17y1ca1c2d1k0.js} +1 -1
  258. package/dist/.next/static/chunks/{187v8dzyf1l-f.js → 18dnd1yq8sjcm.js} +1 -1
  259. package/dist/.next/static/chunks/1h978hs06gqwr.js +1 -0
  260. package/dist/.next/static/chunks/1s8wltynx2kei.js +24 -0
  261. package/dist/.next/static/chunks/1vqrf8u3eyf8l.js +1 -0
  262. package/dist/.next/static/chunks/{11h85j-8~tny3.js → 1wsp3h55ims3-.js} +1 -1
  263. package/dist/.next/static/chunks/1x1nff_ltcu7m.js +1 -0
  264. package/dist/.next/static/chunks/1ztlt8o8gnas8.js +1 -0
  265. package/dist/.next/static/chunks/{0mo3-obfy2_6v.js → 2-tnv5f86ywqz.js} +2 -2
  266. package/dist/.next/static/chunks/20uqpnur2j1hn.js +1 -0
  267. package/dist/.next/static/chunks/{175hd_pl41_vh.js → 26t_0sbrej8uf.js} +2 -2
  268. package/dist/.next/static/chunks/28flaeabfo316.js +31 -0
  269. package/dist/.next/static/chunks/2ba37l0xctlco.js +1 -0
  270. package/dist/.next/static/chunks/2ia3pig2diart.js +43 -0
  271. package/dist/.next/static/chunks/{0ez8v7k1e7v4o.js → 2qe97b2xjvm_s.js} +1 -1
  272. package/dist/.next/static/chunks/2rob7uh46oj_f.js +10 -0
  273. package/dist/.next/static/chunks/2v_t22-0u_seu.js +1 -0
  274. package/dist/.next/static/chunks/2zf625u-tcwdn.js +1 -0
  275. package/dist/.next/static/chunks/{0cs_h74-ljzlt.js → 3-q38f64d_smq.js} +3 -3
  276. package/dist/.next/static/chunks/31ttnjt6g35a0.js +1 -0
  277. package/dist/.next/static/chunks/33t46atd3n2zd.js +1 -0
  278. package/dist/.next/static/chunks/{0dsde0n1co0l..js → 357a_3k2qrz6b.js} +1 -1
  279. package/dist/.next/static/chunks/383s4_f7pq0oz.js +1 -0
  280. package/dist/.next/static/chunks/3cnkwh7z04e3e.js +24 -0
  281. package/dist/.next/static/chunks/{0e~yxiezknbzn.css → 3cyn-rs5rpay6.css} +2 -2
  282. package/dist/.next/static/chunks/3s7at3o7ube_p.js +9 -0
  283. package/dist/.next/static/chunks/{16m14x8k2fnon.js → 3wb9uvu5ii1sy.js} +1 -1
  284. package/dist/.next/static/chunks/41ii5ld31fjk5.js +148 -0
  285. package/dist/.next/static/chunks/turbopack-3cm-eevva8ksw.js +1 -0
  286. package/dist/node_modules/@img/sharp-darwin-arm64/index.cjs +2 -0
  287. package/dist/node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64-0.35.3.node +0 -0
  288. package/dist/node_modules/@img/sharp-darwin-arm64/package.json +5 -4
  289. package/dist/node_modules/@img/sharp-libvips-darwin-arm64/README.md +15 -15
  290. package/dist/node_modules/@img/sharp-libvips-darwin-arm64/lib/glib-2.0/include/glibconfig.h +1 -3
  291. package/dist/node_modules/@img/sharp-libvips-darwin-arm64/lib/{libvips-cpp.8.17.3.dylib → libvips-cpp.8.18.3.dylib} +0 -0
  292. package/dist/node_modules/@img/sharp-libvips-darwin-arm64/package.json +3 -2
  293. package/dist/node_modules/@img/sharp-libvips-darwin-arm64/versions.json +21 -21
  294. package/dist/node_modules/@next/env/dist/index.js +1 -1
  295. package/dist/node_modules/@next/env/package.json +8 -8
  296. package/dist/node_modules/@swc/helpers/esm/_interop_require_default.js +4 -0
  297. package/dist/node_modules/@swc/helpers/esm/_interop_require_wildcard.js +36 -0
  298. package/dist/node_modules/@swc/helpers/package.json +703 -469
  299. package/dist/node_modules/next/dist/build/define-env.js +10 -2
  300. package/dist/node_modules/next/dist/build/duration-to-string.js +2 -3
  301. package/dist/node_modules/next/dist/build/next-config-ts/transpile-config.js +3 -114
  302. package/dist/node_modules/next/dist/build/segment-config/app/app-segment-config.js +35 -19
  303. package/dist/node_modules/next/dist/build/segment-config/app/app-segments.js +11 -1
  304. package/dist/node_modules/next/dist/build/static-paths/app.js +66 -19
  305. package/dist/node_modules/next/dist/build/swc/index.js +84 -23
  306. package/dist/node_modules/next/dist/build/swc/jest-transformer.js +1 -0
  307. package/dist/node_modules/next/dist/build/swc/options.js +13 -5
  308. package/dist/node_modules/next/dist/build/utils.js +112 -70
  309. package/dist/node_modules/next/dist/cli/next-test.js +2 -1
  310. package/dist/node_modules/next/dist/client/components/app-router-headers.js +0 -10
  311. package/dist/node_modules/next/dist/client/components/app-router-instance.js +50 -40
  312. package/dist/node_modules/next/dist/client/components/app-router.js +9 -1
  313. package/dist/node_modules/next/dist/client/components/error-boundary.js +13 -9
  314. package/dist/node_modules/next/dist/client/components/handle-isr-error.js +3 -3
  315. package/dist/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js +2 -2
  316. package/dist/node_modules/next/dist/{server/app-render/instant-validation/instant-samples-client.js → client/components/instant-samples.js} +13 -7
  317. package/dist/node_modules/next/dist/client/components/links.js +25 -8
  318. package/dist/node_modules/next/dist/client/components/nav-failure-handler.js +1 -1
  319. package/dist/node_modules/next/dist/client/components/navigation-dynamic-rendering.js +38 -0
  320. package/dist/node_modules/next/dist/client/components/navigation-untracked.js +5 -3
  321. package/dist/node_modules/next/dist/client/components/navigation.js +30 -9
  322. package/dist/node_modules/next/dist/client/components/offline.js +172 -0
  323. package/dist/node_modules/next/dist/client/components/readonly-url-search-params.js +5 -0
  324. package/dist/node_modules/next/dist/client/components/redirect.js +2 -2
  325. package/dist/node_modules/next/dist/client/components/router-reducer/compute-changed-path.js +5 -1
  326. package/dist/node_modules/next/dist/client/components/router-reducer/create-initial-router-state.js +25 -17
  327. package/dist/node_modules/next/dist/client/components/router-reducer/fetch-server-response.js +196 -50
  328. package/dist/node_modules/next/dist/client/components/router-reducer/is-navigating-to-new-root-layout.js +30 -19
  329. package/dist/node_modules/next/dist/client/components/router-reducer/ppr-navigations.js +235 -102
  330. package/dist/node_modules/next/dist/client/components/router-reducer/reducers/hmr-refresh-reducer.js +8 -2
  331. package/dist/node_modules/next/dist/client/components/router-reducer/reducers/refresh-reducer.js +12 -5
  332. package/dist/node_modules/next/dist/client/components/router-reducer/reducers/restore-reducer.js +15 -2
  333. package/dist/node_modules/next/dist/client/components/router-reducer/reducers/server-action-reducer.js +38 -9
  334. package/dist/node_modules/next/dist/client/components/router-reducer/reducers/server-patch-reducer.js +11 -2
  335. package/dist/node_modules/next/dist/client/components/router-reducer/router-reducer.js +10 -2
  336. package/dist/node_modules/next/dist/client/components/router-transition.js +135 -0
  337. package/dist/node_modules/next/dist/client/components/segment-cache/bfcache.js +9 -7
  338. package/dist/node_modules/next/dist/client/components/segment-cache/cache-key.js +31 -3
  339. package/dist/node_modules/next/dist/client/components/segment-cache/cache-map.js +33 -12
  340. package/dist/node_modules/next/dist/client/components/segment-cache/cache.js +1089 -338
  341. package/dist/node_modules/next/dist/client/components/segment-cache/fetch.js +37 -0
  342. package/dist/node_modules/next/dist/client/components/segment-cache/navigation-testing-lock.js +324 -103
  343. package/dist/node_modules/next/dist/client/components/segment-cache/navigation.js +218 -42
  344. package/dist/node_modules/next/dist/client/components/segment-cache/optimistic-routes.js +222 -117
  345. package/dist/node_modules/next/dist/client/components/segment-cache/prefetch.js +2 -1
  346. package/dist/node_modules/next/dist/client/components/segment-cache/scheduler.js +756 -235
  347. package/dist/node_modules/next/dist/client/components/segment-cache/types.js +19 -4
  348. package/dist/node_modules/next/dist/client/components/segment-cache/vary-path.js +50 -2
  349. package/dist/node_modules/next/dist/client/components/server-async-storage.js +43 -0
  350. package/dist/node_modules/next/dist/client/components/unstable-rethrow.js +15 -8
  351. package/dist/node_modules/next/dist/client/components/use-offline.js +68 -0
  352. package/dist/node_modules/next/dist/client/dev/debug-channel.js +367 -11
  353. package/dist/node_modules/next/dist/client/flight-data-helpers.js +4 -1
  354. package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +2 -1
  355. package/dist/node_modules/next/dist/client/route-params.js +12 -10
  356. package/dist/node_modules/next/dist/compiled/@hapi/accept/index.js +1 -1
  357. package/dist/node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/index.js +1 -1
  358. package/dist/node_modules/next/dist/compiled/@napi-rs/triples/index.js +1 -1
  359. package/dist/node_modules/next/dist/compiled/@opentelemetry/api/index.js +1 -1
  360. package/dist/node_modules/next/dist/compiled/@vercel/detect-agent/index.js +1 -0
  361. package/dist/node_modules/next/dist/compiled/@vercel/detect-agent/package.json +1 -0
  362. package/dist/node_modules/next/dist/compiled/async-retry/index.js +1 -1
  363. package/dist/node_modules/next/dist/compiled/async-sema/index.js +1 -1
  364. package/dist/node_modules/next/dist/compiled/busboy/index.js +1 -1
  365. package/dist/node_modules/next/dist/compiled/bytes/index.js +2 -2
  366. package/dist/node_modules/next/dist/compiled/ci-info/index.js +1 -1
  367. package/dist/node_modules/next/dist/compiled/commander/index.js +1 -1
  368. package/dist/node_modules/next/dist/compiled/comment-json/index.js +2 -2
  369. package/dist/node_modules/next/dist/compiled/compression/index.js +10 -10
  370. package/dist/node_modules/next/dist/compiled/conf/index.js +2 -14
  371. package/dist/node_modules/next/dist/compiled/content-disposition/index.js +2 -2
  372. package/dist/node_modules/next/dist/compiled/cross-spawn/index.js +1 -1
  373. package/dist/node_modules/next/dist/compiled/debug/index.js +1 -1
  374. package/dist/node_modules/next/dist/compiled/edge-runtime/index.js +1 -1
  375. package/dist/node_modules/next/dist/compiled/find-up/index.js +1 -1
  376. package/dist/node_modules/next/dist/compiled/fresh/index.js +2 -2
  377. package/dist/node_modules/next/dist/compiled/httpxy/index.js +1 -0
  378. package/dist/node_modules/next/dist/compiled/httpxy/package.json +1 -0
  379. package/dist/node_modules/next/dist/compiled/image-detector/detector.js +1 -1
  380. package/dist/node_modules/next/dist/compiled/image-size/index.js +1 -1
  381. package/dist/node_modules/next/dist/compiled/ipaddr.js/ipaddr.js +1 -1
  382. package/dist/node_modules/next/dist/compiled/is-animated/index.js +1 -1
  383. package/dist/node_modules/next/dist/compiled/is-docker/index.js +1 -1
  384. package/dist/node_modules/next/dist/compiled/is-wsl/index.js +1 -1
  385. package/dist/node_modules/next/dist/compiled/jsonwebtoken/index.js +3 -3
  386. package/dist/node_modules/next/dist/compiled/nanoid/index.cjs +1 -1
  387. package/dist/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +144 -15
  388. package/dist/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +144 -15
  389. package/dist/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js +3 -3
  390. package/dist/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +12 -12
  391. package/dist/node_modules/next/dist/compiled/p-limit/index.js +1 -1
  392. package/dist/node_modules/next/dist/compiled/p-queue/index.js +1 -1
  393. package/dist/node_modules/next/dist/compiled/path-browserify/index.js +1 -1
  394. package/dist/node_modules/next/dist/compiled/picomatch/index.js +1 -1
  395. package/dist/node_modules/next/dist/compiled/react-is/package.json +3 -3
  396. package/dist/node_modules/next/dist/compiled/semver/index.js +1 -1
  397. package/dist/node_modules/next/dist/compiled/send/index.js +13 -13
  398. package/dist/node_modules/next/dist/compiled/source-map/source-map.js +1 -1
  399. package/dist/node_modules/next/dist/compiled/string-hash/index.js +1 -1
  400. package/dist/node_modules/next/dist/compiled/strip-ansi/index.js +1 -1
  401. package/dist/node_modules/next/dist/compiled/superstruct/index.cjs +1 -1
  402. package/dist/node_modules/next/dist/compiled/tar/index.min.js +1 -1
  403. package/dist/node_modules/next/dist/compiled/text-table/index.js +1 -1
  404. package/dist/node_modules/next/dist/compiled/watchpack/watchpack.js +1 -1
  405. package/dist/node_modules/next/dist/compiled/write-file-atomic/index.js +1 -0
  406. package/dist/node_modules/next/dist/compiled/write-file-atomic/package.json +1 -0
  407. package/dist/node_modules/next/dist/compiled/ws/index.js +1 -1
  408. package/dist/node_modules/next/dist/compiled/zod/index.cjs +1 -1
  409. package/dist/node_modules/next/dist/compiled/zod-validation-error/index.js +1 -1
  410. package/dist/node_modules/next/dist/experimental/testmode/fetch.js +8 -0
  411. package/dist/node_modules/next/dist/experimental/testmode/httpget.js +9 -2
  412. package/dist/node_modules/next/dist/experimental/testmode/server.js +11 -0
  413. package/dist/node_modules/next/dist/lib/bundler.js +72 -1
  414. package/dist/node_modules/next/dist/lib/create-client-router-filter.js +16 -0
  415. package/dist/node_modules/next/dist/lib/find-root.js +187 -33
  416. package/dist/node_modules/next/dist/lib/format-dynamic-import-path.js +23 -4
  417. package/dist/node_modules/next/dist/lib/git-worktree.js +74 -0
  418. package/dist/node_modules/next/dist/lib/helpers/get-pkg-manager.js +10 -8
  419. package/dist/node_modules/next/dist/lib/helpers/git.js +59 -0
  420. package/dist/node_modules/next/dist/lib/install-dependencies.js +1 -1
  421. package/dist/node_modules/next/dist/lib/is-serializable-props.js +5 -0
  422. package/dist/node_modules/next/dist/lib/metadata/get-metadata-route.js +54 -15
  423. package/dist/node_modules/next/dist/lib/metadata/metadata.js +20 -46
  424. package/dist/node_modules/next/dist/lib/metadata/resolve-metadata.js +14 -14
  425. package/dist/node_modules/next/dist/lib/needs-experimental-react.js +2 -2
  426. package/dist/node_modules/next/dist/lib/patch-incorrect-lockfile.js +5 -5
  427. package/dist/node_modules/next/dist/lib/profiles-dir.js +45 -0
  428. package/dist/node_modules/next/dist/lib/require-instrumentation-client.js +10 -4
  429. package/dist/node_modules/next/dist/lib/resolve-build-paths.js +38 -10
  430. package/dist/node_modules/next/dist/lib/turbopack-cache-seed.js +171 -0
  431. package/dist/node_modules/next/dist/lib/typescript/getTypeScriptConfiguration.js +4 -84
  432. package/dist/node_modules/next/dist/lib/typescript/loadTsConfig.js +181 -0
  433. package/dist/node_modules/next/dist/lib/typescript/missingDependencyError.js +2 -3
  434. package/dist/node_modules/next/dist/lib/typescript/runTypeCheckCli.js +53 -0
  435. package/dist/node_modules/next/dist/lib/typescript/runTypeScriptCli.js +256 -0
  436. package/dist/node_modules/next/dist/lib/typescript/writeAppTypeDeclarations.js +2 -0
  437. package/dist/node_modules/next/dist/lib/verify-partytown-setup.js +15 -26
  438. package/dist/node_modules/next/dist/lib/verify-typescript-setup.js +97 -56
  439. package/dist/node_modules/next/dist/server/after/after-context.js +55 -17
  440. package/dist/node_modules/next/dist/server/after/after.js +4 -2
  441. package/dist/node_modules/next/dist/server/api-utils/index.js +20 -4
  442. package/dist/node_modules/next/dist/server/api-utils/node/try-get-preview-data.js +5 -2
  443. package/dist/node_modules/next/dist/server/app-render/action-handler.js +162 -54
  444. package/dist/node_modules/next/dist/server/app-render/app-render-prerender-utils.js +176 -11
  445. package/dist/node_modules/next/dist/server/app-render/app-render.js +3249 -1275
  446. package/dist/node_modules/next/dist/server/app-render/blocking-route-messages.js +181 -0
  447. package/dist/node_modules/next/dist/server/app-render/collect-segment-data.js +531 -210
  448. package/dist/node_modules/next/dist/server/app-render/create-component-styles-and-scripts.js +9 -4
  449. package/dist/node_modules/next/dist/server/app-render/create-component-tree.js +13 -77
  450. package/dist/node_modules/next/dist/server/app-render/create-error-handler.js +19 -18
  451. package/dist/node_modules/next/dist/server/app-render/create-flight-router-state-from-loader-tree.js +78 -26
  452. package/dist/node_modules/next/dist/server/app-render/debug-channel-server.js +26 -9
  453. package/dist/node_modules/next/dist/server/app-render/debug-channel-server.node.js +60 -0
  454. package/dist/node_modules/next/dist/server/app-render/debug-channel-server.web.js +8 -19
  455. package/dist/node_modules/next/dist/server/app-render/dev-validation-error-delivery.js +37 -0
  456. package/dist/node_modules/next/dist/server/app-render/dev-validation-events.js +26 -0
  457. package/dist/node_modules/next/dist/server/app-render/dev-validation-scheduler.js +87 -0
  458. package/dist/node_modules/next/dist/server/app-render/dev-validation-worker-globals.js +41 -0
  459. package/dist/node_modules/next/dist/server/app-render/dev-validation-worker-snapshot.js +79 -0
  460. package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +261 -204
  461. package/dist/node_modules/next/dist/server/app-render/encryption.js +11 -9
  462. package/dist/node_modules/next/dist/server/app-render/entry-base.js +25 -16
  463. package/dist/node_modules/next/dist/server/app-render/get-css-inlined-link-tags.js +2 -6
  464. package/dist/node_modules/next/dist/server/app-render/get-layer-assets.js +11 -7
  465. package/dist/node_modules/next/dist/server/app-render/instant-test-bootstrap.js +20 -0
  466. package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js +21 -3
  467. package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-impl.js +25 -1
  468. package/dist/node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js +24 -4
  469. package/dist/node_modules/next/dist/server/app-render/instant-validation/instant-config.js +119 -59
  470. package/dist/node_modules/next/dist/server/app-render/instant-validation/instant-samples.js +10 -10
  471. package/dist/node_modules/next/dist/server/app-render/instant-validation/instant-validation.js +394 -173
  472. package/dist/node_modules/next/dist/server/app-render/make-get-server-inserted-html.js +3 -4
  473. package/dist/node_modules/next/dist/server/app-render/manifests-singleton.js +78 -15
  474. package/dist/node_modules/next/dist/server/app-render/module-loading/instrument-module-getter.js +32 -0
  475. package/dist/node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js +2 -6
  476. package/dist/node_modules/next/dist/server/app-render/postponed-state.js +78 -5
  477. package/dist/node_modules/next/dist/server/app-render/render-css-resource.js +20 -15
  478. package/dist/node_modules/next/dist/server/app-render/staged-rendering.js +182 -201
  479. package/dist/node_modules/next/dist/server/app-render/stale-time.js +0 -10
  480. package/dist/node_modules/next/dist/server/app-render/stream-ops.js +85 -36
  481. package/dist/node_modules/next/dist/server/app-render/stream-ops.node.js +842 -0
  482. package/dist/node_modules/next/dist/server/app-render/stream-ops.web.js +116 -30
  483. package/dist/node_modules/next/dist/server/app-render/sync-io-messages.js +67 -0
  484. package/dist/node_modules/next/dist/server/app-render/use-flight-response.js +11 -8
  485. package/dist/node_modules/next/dist/server/app-render/vary-params.js +113 -188
  486. package/dist/node_modules/next/dist/server/app-render/wait-for-response.js +36 -0
  487. package/dist/node_modules/next/dist/server/app-render/walk-tree-with-flight-router-state.js +11 -6
  488. package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +33 -63
  489. package/dist/node_modules/next/dist/server/async-storage/draft-mode-provider.js +2 -2
  490. package/dist/node_modules/next/dist/server/async-storage/request-store.js +84 -27
  491. package/dist/node_modules/next/dist/server/async-storage/work-store.js +7 -1
  492. package/dist/node_modules/next/dist/server/base-server.js +147 -72
  493. package/dist/node_modules/next/dist/server/body-streams.js +9 -1
  494. package/dist/node_modules/next/dist/server/client-component-renderer-logger.js +2 -2
  495. package/dist/node_modules/next/dist/server/config-schema.js +84 -10
  496. package/dist/node_modules/next/dist/server/config-shared.js +46 -20
  497. package/dist/node_modules/next/dist/server/config.js +343 -52
  498. package/dist/node_modules/next/dist/server/dev/browser-logs/file-logger.js +4 -4
  499. package/dist/node_modules/next/dist/server/dev/browser-logs/receive-logs.js +152 -100
  500. package/dist/node_modules/next/dist/server/dev/debug-channel.js +48 -23
  501. package/dist/node_modules/next/dist/server/dev/dev-validation-worker-pool.js +232 -0
  502. package/dist/node_modules/next/dist/server/dev/dev-validation-worker.js +308 -0
  503. package/dist/node_modules/next/dist/server/dev/hot-middleware.js +3 -1
  504. package/dist/node_modules/next/dist/server/dev/hot-reloader-rspack.js +1 -1
  505. package/dist/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +420 -144
  506. package/dist/node_modules/next/dist/server/dev/hot-reloader-types.js +2 -0
  507. package/dist/node_modules/next/dist/server/dev/hot-reloader-webpack.js +17 -23
  508. package/dist/node_modules/next/dist/server/dev/log-requests.js +3 -0
  509. package/dist/node_modules/next/dist/server/dev/middleware-turbopack.js +26 -7
  510. package/dist/node_modules/next/dist/server/dev/middleware-webpack.js +20 -8
  511. package/dist/node_modules/next/dist/server/dev/node-stack-frames.js +9 -0
  512. package/dist/node_modules/next/dist/server/dev/require-cache.js +33 -3
  513. package/dist/node_modules/next/dist/server/dev/serialized-errors.js +1 -1
  514. package/dist/node_modules/next/dist/server/dev/static-paths-worker.js +4 -3
  515. package/dist/node_modules/next/dist/server/dev/turbopack-utils.js +52 -12
  516. package/dist/node_modules/next/dist/server/dev/use-cache-probe-pool.js +177 -0
  517. package/dist/node_modules/next/dist/server/dev/use-cache-probe-worker.js +180 -0
  518. package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +200 -23
  519. package/dist/node_modules/next/dist/server/get-page-files.js +20 -3
  520. package/dist/node_modules/next/dist/server/image-optimizer.js +47 -39
  521. package/dist/node_modules/next/dist/server/lib/app-info-log.js +19 -16
  522. package/dist/node_modules/next/dist/server/lib/cache-handlers/default.js +41 -5
  523. package/dist/node_modules/next/dist/server/lib/cpu-profile.js +2 -5
  524. package/dist/node_modules/next/dist/server/lib/dev-bundler-service.js +17 -2
  525. package/dist/node_modules/next/dist/server/lib/encode-header-safe.js +44 -0
  526. package/dist/node_modules/next/dist/server/lib/generate-agent-files.js +180 -0
  527. package/dist/node_modules/next/dist/server/lib/implicit-tags.js +16 -6
  528. package/dist/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js +17 -4
  529. package/dist/node_modules/next/dist/server/lib/incremental-cache/index.js +120 -74
  530. package/dist/node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js +13 -11
  531. package/dist/node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js +1 -1
  532. package/dist/node_modules/next/dist/server/lib/is-non-html-sec-fetch-dest.js +38 -0
  533. package/dist/node_modules/next/dist/server/lib/lazy-module.js +80 -0
  534. package/dist/node_modules/next/dist/server/lib/lru-cache.js +1 -1
  535. package/dist/node_modules/next/dist/server/lib/mock-request.js +1 -1
  536. package/dist/node_modules/next/dist/server/lib/params-utils.js +70 -0
  537. package/dist/node_modules/next/dist/server/lib/patch-fetch.js +66 -17
  538. package/dist/node_modules/next/dist/server/lib/release-compression-stream.js +24 -0
  539. package/dist/node_modules/next/dist/server/lib/render-server.js +3 -1
  540. package/dist/node_modules/next/dist/server/lib/router-server.js +70 -13
  541. package/dist/node_modules/next/dist/server/lib/router-utils/block-cross-site-dev.js +2 -2
  542. package/dist/node_modules/next/dist/server/lib/router-utils/cache-life-type-utils.js +1 -0
  543. package/dist/node_modules/next/dist/server/lib/router-utils/filesystem.js +31 -10
  544. package/dist/node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js +54 -36
  545. package/dist/node_modules/next/dist/server/lib/router-utils/proxy-request.js +19 -9
  546. package/dist/node_modules/next/dist/server/lib/router-utils/resolve-routes.js +5 -2
  547. package/dist/node_modules/next/dist/server/lib/router-utils/root-params-type-utils.js +61 -0
  548. package/dist/node_modules/next/dist/server/lib/router-utils/route-types-utils.js +40 -0
  549. package/dist/node_modules/next/dist/server/lib/router-utils/typegen.js +55 -21
  550. package/dist/node_modules/next/dist/server/lib/source-maps.js +54 -9
  551. package/dist/node_modules/next/dist/server/lib/start-server.js +69 -23
  552. package/dist/node_modules/next/dist/server/lib/streaming-metadata.js +11 -22
  553. package/dist/node_modules/next/dist/server/lib/trace/constants.js +5 -0
  554. package/dist/node_modules/next/dist/server/lib/trace/local-span-recorder.js +385 -0
  555. package/dist/node_modules/next/dist/server/lib/trace/request-insights-identity.js +39 -0
  556. package/dist/node_modules/next/dist/server/lib/trace/request-insights.js +308 -0
  557. package/dist/node_modules/next/dist/server/lib/trace/span-store.js +69 -0
  558. package/dist/node_modules/next/dist/server/lib/trace/tracer.js +123 -11
  559. package/dist/node_modules/next/dist/server/lib/utils.js +14 -0
  560. package/dist/node_modules/next/dist/server/load-components.js +8 -2
  561. package/dist/node_modules/next/dist/server/mcp/get-or-create-mcp-server.js +10 -0
  562. package/dist/node_modules/next/dist/server/mcp/tools/compile-route.js +86 -0
  563. package/dist/node_modules/next/dist/server/mcp/tools/get-compilation-issues.js +68 -0
  564. package/dist/node_modules/next/dist/server/mcp/tools/get-request-insights.js +57 -0
  565. package/dist/node_modules/next/dist/server/mcp/tools/utils/format-compilation-issues.js +72 -0
  566. package/dist/node_modules/next/dist/server/mcp/tools/utils/resolve-path-to-route.js +49 -0
  567. package/dist/node_modules/next/dist/server/next-server.js +30 -16
  568. package/dist/node_modules/next/dist/server/next.js +42 -12
  569. package/dist/node_modules/next/dist/server/node-environment-extensions/io-utils.js +31 -124
  570. package/dist/node_modules/next/dist/server/node-environment-extensions/process-error-handlers.js +156 -77
  571. package/dist/node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js +12 -2
  572. package/dist/node_modules/next/dist/server/og/cache-image-response.js +341 -0
  573. package/dist/node_modules/next/dist/server/og/image-response.js +22 -3
  574. package/dist/node_modules/next/dist/server/patch-error-inspect.js +70 -16
  575. package/dist/node_modules/next/dist/server/pipe-readable.js +73 -1
  576. package/dist/node_modules/next/dist/server/render-result.js +42 -0
  577. package/dist/node_modules/next/dist/server/render.js +3 -1
  578. package/dist/node_modules/next/dist/server/request/connection.js +6 -4
  579. package/dist/node_modules/next/dist/server/request/cookies.js +18 -14
  580. package/dist/node_modules/next/dist/server/request/draft-mode.js +11 -3
  581. package/dist/node_modules/next/dist/server/request/fallback-params.js +1 -1
  582. package/dist/node_modules/next/dist/server/request/headers.js +16 -10
  583. package/dist/node_modules/next/dist/server/request/io.js +96 -0
  584. package/dist/node_modules/next/dist/server/request/params.js +191 -84
  585. package/dist/node_modules/next/dist/server/request/pathname.js +24 -2
  586. package/dist/node_modules/next/dist/server/request/root-params.js +9 -1
  587. package/dist/node_modules/next/dist/server/request/search-params.js +126 -70
  588. package/dist/node_modules/next/dist/server/request/utils.js +39 -6
  589. package/dist/node_modules/next/dist/server/response-cache/index.js +36 -24
  590. package/dist/node_modules/next/dist/server/resume-data-cache/cache-store.js +7 -2
  591. package/dist/node_modules/next/dist/server/resume-data-cache/resume-data-cache.js +25 -7
  592. package/dist/node_modules/next/dist/server/revalidation-utils.js +1 -2
  593. package/dist/node_modules/next/dist/server/route-modules/app-page/module.js +15 -1
  594. package/dist/node_modules/next/dist/server/route-modules/app-page/normalize-request-url.js +40 -3
  595. package/dist/node_modules/next/dist/server/route-modules/app-route/module.js +79 -46
  596. package/dist/node_modules/next/dist/server/route-modules/pages/pages-handler.js +270 -248
  597. package/dist/node_modules/next/dist/server/route-modules/route-module.js +45 -8
  598. package/dist/node_modules/next/dist/server/stream-utils/node-buffered-transform-stream.js +51 -0
  599. package/dist/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js +90 -69
  600. package/dist/node_modules/next/dist/server/typescript/index.js +3 -3
  601. package/dist/node_modules/next/dist/server/typescript/rules/client-boundary.js +7 -4
  602. package/dist/node_modules/next/dist/server/typescript/rules/config.js +50 -28
  603. package/dist/node_modules/next/dist/server/use-cache/cache-life-profile.js +84 -0
  604. package/dist/node_modules/next/dist/server/use-cache/cache-life.js +4 -65
  605. package/dist/node_modules/next/dist/server/use-cache/clone-cache-entry.js +28 -0
  606. package/dist/node_modules/next/dist/server/use-cache/constants.js +24 -8
  607. package/dist/node_modules/next/dist/server/use-cache/handlers.js +166 -13
  608. package/dist/node_modules/next/dist/server/use-cache/tiered-cache-handler.js +145 -0
  609. package/dist/node_modules/next/dist/server/use-cache/use-cache-errors.js +34 -11
  610. package/dist/node_modules/next/dist/server/use-cache/use-cache-probe-globals.js +39 -0
  611. package/dist/node_modules/next/dist/server/use-cache/use-cache-probe-scheduler.js +117 -0
  612. package/dist/node_modules/next/dist/server/use-cache/use-cache-wrapper.js +1475 -458
  613. package/dist/node_modules/next/dist/server/web/adapter.js +37 -4
  614. package/dist/node_modules/next/dist/server/web/edge-route-module-wrapper.js +14 -2
  615. package/dist/node_modules/next/dist/server/web/error.js +15 -0
  616. package/dist/node_modules/next/dist/server/web/sandbox/context.js +8 -2
  617. package/dist/node_modules/next/dist/server/web/sandbox/resource-managers.js +45 -10
  618. package/dist/node_modules/next/dist/server/web/spec-extension/adapters/headers.js +103 -2
  619. package/dist/node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js +15 -0
  620. package/dist/node_modules/next/dist/server/web/spec-extension/revalidate.js +18 -6
  621. package/dist/node_modules/next/dist/server/web/spec-extension/unstable-cache.js +35 -17
  622. package/dist/node_modules/next/dist/server/web/spec-extension/url-pattern.js +1 -2
  623. package/dist/node_modules/next/dist/shared/lib/app-router-types.js +125 -12
  624. package/dist/node_modules/next/dist/shared/lib/constants.js +5 -0
  625. package/dist/node_modules/next/dist/shared/lib/deployment-id.js +1 -1
  626. package/dist/node_modules/next/dist/shared/lib/errors/empty-generate-static-params-error.js +14 -7
  627. package/dist/node_modules/next/dist/shared/lib/errors/hard-deprecated-config-error.js +5 -0
  628. package/dist/node_modules/next/dist/shared/lib/head.js +5 -4
  629. package/dist/node_modules/next/dist/shared/lib/instant-messages.js +43 -0
  630. package/dist/node_modules/next/dist/shared/lib/invariant-error.js +5 -0
  631. package/dist/node_modules/next/dist/shared/lib/request-insights.js +30 -0
  632. package/dist/node_modules/next/dist/shared/lib/router/adapters.js +4 -1
  633. package/dist/node_modules/next/dist/shared/lib/router/routes/app.js +36 -12
  634. package/dist/node_modules/next/dist/shared/lib/router/utils/escape-path-delimiters.js +1 -1
  635. package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +1 -1
  636. package/dist/node_modules/next/dist/shared/lib/router/utils/prepare-destination.js +2 -1
  637. package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +5 -4
  638. package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +1 -1
  639. package/dist/node_modules/next/dist/shared/lib/segment-cache/vary-params-decoding.js +46 -12
  640. package/dist/node_modules/next/dist/shared/lib/server-reference-info.js +12 -0
  641. package/dist/node_modules/next/dist/shared/lib/utils.js +10 -1
  642. package/dist/node_modules/next/dist/telemetry/agent-name.js +20 -0
  643. package/dist/node_modules/next/dist/telemetry/anonymous-meta.js +4 -2
  644. package/dist/node_modules/next/dist/telemetry/events/build.js +13 -0
  645. package/dist/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
  646. package/dist/node_modules/next/dist/telemetry/events/version.js +6 -4
  647. package/dist/node_modules/next/dist/telemetry/storage.js +6 -2
  648. package/dist/node_modules/next/dist/trace/report/to-json.js +7 -1
  649. package/dist/node_modules/next/package.json +16 -255
  650. package/dist/node_modules/semver/package.json +38 -0
  651. package/dist/node_modules/sharp/{lib/channel.js → dist/channel.cjs} +1 -1
  652. package/dist/node_modules/sharp/dist/channel.mjs +177 -0
  653. package/dist/node_modules/sharp/{lib/colour.js → dist/colour.cjs} +11 -7
  654. package/dist/node_modules/sharp/dist/colour.mjs +199 -0
  655. package/dist/node_modules/sharp/{lib/composite.js → dist/composite.cjs} +2 -1
  656. package/dist/node_modules/sharp/dist/composite.mjs +213 -0
  657. package/dist/node_modules/sharp/{lib/constructor.js → dist/constructor.cjs} +41 -29
  658. package/dist/node_modules/sharp/dist/constructor.mjs +511 -0
  659. package/dist/node_modules/sharp/dist/index.cjs +25 -0
  660. package/dist/node_modules/sharp/dist/index.d.cts +1999 -0
  661. package/dist/node_modules/sharp/dist/index.d.mts +2046 -0
  662. package/dist/node_modules/sharp/dist/index.mjs +25 -0
  663. package/dist/node_modules/sharp/{lib/input.js → dist/input.cjs} +27 -22
  664. package/dist/node_modules/sharp/dist/input.mjs +814 -0
  665. package/dist/node_modules/sharp/{lib/is.js → dist/is.cjs} +1 -1
  666. package/dist/node_modules/sharp/dist/is.mjs +143 -0
  667. package/dist/node_modules/sharp/{lib/libvips.js → dist/libvips.cjs} +35 -30
  668. package/dist/node_modules/sharp/dist/libvips.mjs +212 -0
  669. package/dist/node_modules/sharp/{lib/operation.js → dist/operation.cjs} +33 -51
  670. package/dist/node_modules/sharp/dist/operation.mjs +998 -0
  671. package/dist/node_modules/sharp/{lib/output.js → dist/output.cjs} +162 -40
  672. package/dist/node_modules/sharp/dist/output.mjs +1788 -0
  673. package/dist/node_modules/sharp/{lib/resize.js → dist/resize.cjs} +46 -24
  674. package/dist/node_modules/sharp/dist/resize.mjs +617 -0
  675. package/dist/node_modules/sharp/dist/sharp.cjs +174 -0
  676. package/dist/node_modules/sharp/dist/sharp.mjs +174 -0
  677. package/dist/node_modules/sharp/{lib/utility.js → dist/utility.cjs} +18 -8
  678. package/dist/node_modules/sharp/dist/utility.mjs +301 -0
  679. package/dist/node_modules/sharp/node_modules/semver/classes/range.js +17 -4
  680. package/dist/node_modules/sharp/node_modules/semver/classes/semver.js +19 -2
  681. package/dist/node_modules/sharp/node_modules/semver/functions/clean.js +8 -0
  682. package/dist/node_modules/sharp/node_modules/semver/functions/compare-build.js +9 -0
  683. package/dist/node_modules/sharp/node_modules/semver/functions/compare-loose.js +5 -0
  684. package/dist/node_modules/sharp/node_modules/semver/functions/diff.js +60 -0
  685. package/dist/node_modules/sharp/node_modules/semver/functions/inc.js +21 -0
  686. package/dist/node_modules/sharp/node_modules/semver/functions/major.js +5 -0
  687. package/dist/node_modules/sharp/node_modules/semver/functions/minor.js +5 -0
  688. package/dist/node_modules/sharp/node_modules/semver/functions/patch.js +5 -0
  689. package/dist/node_modules/sharp/node_modules/semver/functions/prerelease.js +8 -0
  690. package/dist/node_modules/sharp/node_modules/semver/functions/rcompare.js +5 -0
  691. package/dist/node_modules/sharp/node_modules/semver/functions/rsort.js +5 -0
  692. package/dist/node_modules/sharp/node_modules/semver/functions/sort.js +5 -0
  693. package/dist/node_modules/sharp/node_modules/semver/functions/truncate.js +48 -0
  694. package/dist/node_modules/sharp/node_modules/semver/functions/valid.js +8 -0
  695. package/dist/node_modules/sharp/node_modules/semver/index.js +93 -0
  696. package/dist/node_modules/sharp/node_modules/semver/package.json +2 -2
  697. package/dist/node_modules/sharp/node_modules/semver/ranges/gtr.js +6 -0
  698. package/dist/node_modules/sharp/node_modules/semver/ranges/intersects.js +9 -0
  699. package/dist/node_modules/sharp/node_modules/semver/ranges/ltr.js +6 -0
  700. package/dist/node_modules/sharp/node_modules/semver/ranges/max-satisfying.js +27 -0
  701. package/dist/node_modules/sharp/node_modules/semver/ranges/min-satisfying.js +26 -0
  702. package/dist/node_modules/sharp/node_modules/semver/ranges/min-version.js +63 -0
  703. package/dist/node_modules/sharp/node_modules/semver/ranges/outside.js +82 -0
  704. package/dist/node_modules/sharp/node_modules/semver/ranges/simplify.js +49 -0
  705. package/dist/node_modules/sharp/node_modules/semver/ranges/subset.js +249 -0
  706. package/dist/node_modules/sharp/node_modules/semver/ranges/to-comparators.js +10 -0
  707. package/dist/node_modules/sharp/node_modules/semver/ranges/valid.js +13 -0
  708. package/dist/node_modules/sharp/package.json +77 -52
  709. package/dist/package.json +2 -2
  710. package/dist/server.js +1 -1
  711. package/package.json +2 -2
  712. package/dist/.next/server/app/_global-error.segments/_head.segment.rsc +0 -5
  713. package/dist/.next/server/app/_global-error.segments/_index.segment.rsc +0 -5
  714. package/dist/.next/server/app/_not-found.segments/_head.segment.rsc +0 -6
  715. package/dist/.next/server/app/_not-found.segments/_index.segment.rsc +0 -8
  716. package/dist/.next/server/app/_not-found.segments/_not-found.segment.rsc +0 -5
  717. package/dist/.next/server/app/index.segments/_head.segment.rsc +0 -6
  718. package/dist/.next/server/app/index.segments/_index.segment.rsc +0 -8
  719. package/dist/.next/server/chunks/[externals]_next_dist_0arv.vj._.js +0 -3
  720. package/dist/.next/server/chunks/[root-of-the-server]__04y5ms7._.js +0 -6
  721. package/dist/.next/server/chunks/[root-of-the-server]__05vp2x.._.js +0 -3
  722. package/dist/.next/server/chunks/[root-of-the-server]__08kko28._.js +0 -3
  723. package/dist/.next/server/chunks/[root-of-the-server]__0bpxd~j._.js +0 -3
  724. package/dist/.next/server/chunks/[root-of-the-server]__0cnmh23._.js +0 -3
  725. package/dist/.next/server/chunks/[root-of-the-server]__0j8-xkl._.js +0 -13
  726. package/dist/.next/server/chunks/[root-of-the-server]__0nngqla._.js +0 -6
  727. package/dist/.next/server/chunks/[root-of-the-server]__0o.c5k_._.js +0 -3
  728. package/dist/.next/server/chunks/[root-of-the-server]__0pz~0wz._.js +0 -6
  729. package/dist/.next/server/chunks/[root-of-the-server]__0s6.s21._.js +0 -6
  730. package/dist/.next/server/chunks/[root-of-the-server]__0vunt~c._.js +0 -3
  731. package/dist/.next/server/chunks/[root-of-the-server]__0xoct7b._.js +0 -3
  732. package/dist/.next/server/chunks/[root-of-the-server]__0yvyeh4._.js +0 -3
  733. package/dist/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_0dh.2jf.js +0 -3
  734. package/dist/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_0qs61ly.js +0 -3
  735. package/dist/.next/server/chunks/ssr/[root-of-the-server]__01cqrhy._.js +0 -33
  736. package/dist/.next/server/chunks/ssr/[root-of-the-server]__098zro9._.js +0 -19
  737. package/dist/.next/server/chunks/ssr/[root-of-the-server]__0cylknl._.js +0 -12
  738. package/dist/.next/server/chunks/ssr/[root-of-the-server]__0e_kl3j._.js +0 -3
  739. package/dist/.next/server/chunks/ssr/[root-of-the-server]__0e~coys._.js +0 -3
  740. package/dist/.next/server/chunks/ssr/[root-of-the-server]__0lb9jwe._.js +0 -3
  741. package/dist/.next/server/chunks/ssr/[root-of-the-server]__0tcyn68._.js +0 -33
  742. package/dist/.next/server/chunks/ssr/[root-of-the-server]__0zi~h76._.js +0 -3
  743. package/dist/.next/server/chunks/ssr/[root-of-the-server]__1130a6w._.js +0 -3
  744. package/dist/.next/server/chunks/ssr/[root-of-the-server]__12~42ln._.js +0 -3
  745. package/dist/.next/server/chunks/ssr/_03eop86._.js +0 -4
  746. package/dist/.next/server/chunks/ssr/_next-internal_server_app_page_actions_09-gtaw.js +0 -3
  747. package/dist/.next/server/chunks/ssr/node_modules_0-9jf7s._.js +0 -3
  748. package/dist/.next/server/chunks/ssr/node_modules_0.l_o9k._.js +0 -26
  749. package/dist/.next/server/chunks/ssr/node_modules_00-o__w._.js +0 -45
  750. package/dist/.next/server/chunks/ssr/node_modules_00yk8df._.js +0 -3
  751. package/dist/.next/server/chunks/ssr/node_modules_01rqq7y._.js +0 -3
  752. package/dist/.next/server/chunks/ssr/node_modules_050o3~0._.js +0 -3
  753. package/dist/.next/server/chunks/ssr/node_modules_09x0yif._.js +0 -3
  754. package/dist/.next/server/chunks/ssr/node_modules_0_ce7g1._.js +0 -3
  755. package/dist/.next/server/chunks/ssr/node_modules_0a61e8g._.js +0 -3
  756. package/dist/.next/server/chunks/ssr/node_modules_0a9st_6._.js +0 -3
  757. package/dist/.next/server/chunks/ssr/node_modules_0cdeu-p._.js +0 -6
  758. package/dist/.next/server/chunks/ssr/node_modules_0d91z34._.js +0 -11
  759. package/dist/.next/server/chunks/ssr/node_modules_0exnvlg._.js +0 -17
  760. package/dist/.next/server/chunks/ssr/node_modules_0h3oz6o._.js +0 -3
  761. package/dist/.next/server/chunks/ssr/node_modules_0kf5axs._.js +0 -3
  762. package/dist/.next/server/chunks/ssr/node_modules_0k~wgzn._.js +0 -3
  763. package/dist/.next/server/chunks/ssr/node_modules_0l-2che._.js +0 -3
  764. package/dist/.next/server/chunks/ssr/node_modules_0m8d9.a._.js +0 -3
  765. package/dist/.next/server/chunks/ssr/node_modules_0p1ro75._.js +0 -3
  766. package/dist/.next/server/chunks/ssr/node_modules_0q8gl61._.js +0 -3
  767. package/dist/.next/server/chunks/ssr/node_modules_0s8hn7e._.js +0 -3
  768. package/dist/.next/server/chunks/ssr/node_modules_0skn4ke._.js +0 -3
  769. package/dist/.next/server/chunks/ssr/node_modules_0u1jua0._.js +0 -17
  770. package/dist/.next/server/chunks/ssr/node_modules_0ujy5r7._.js +0 -3
  771. package/dist/.next/server/chunks/ssr/node_modules_0xl3swb._.js +0 -17
  772. package/dist/.next/server/chunks/ssr/node_modules_0yx-7n5._.js +0 -31
  773. package/dist/.next/server/chunks/ssr/node_modules_11r29oo._.js +0 -3
  774. package/dist/.next/server/chunks/ssr/node_modules_12uy2-t._.js +0 -3
  775. package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_00zox90._.js +0 -3
  776. package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_048nvza._.js +0 -3
  777. package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0bqbkzr._.js +0 -3
  778. package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0iy4ann._.js +0 -3
  779. package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0n~wpy6._.js +0 -3
  780. package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0rp8krb._.js +0 -3
  781. package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0se--ys._.js +0 -3
  782. package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_0v554rd._.js +0 -3
  783. package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_12i5eeu._.js +0 -3
  784. package/dist/.next/server/chunks/ssr/node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_13s5vbm._.js +0 -3
  785. package/dist/.next/server/chunks/ssr/node_modules_dagre-d3-es_src_dagre_index_097t5l0.js +0 -3
  786. package/dist/.next/server/chunks/ssr/node_modules_next_dist_0xdsm99._.js +0 -6
  787. package/dist/.next/server/chunks/ssr/node_modules_next_dist_client_components_0inhx6q._.js +0 -3
  788. package/dist/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0lgvd_..js +0 -3
  789. package/dist/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_00t_ate.js +0 -4
  790. package/dist/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_031v14j.js +0 -4
  791. package/dist/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_0rc3ul_.js +0 -4
  792. package/dist/.next/static/chunks/0-.wbb-l7eg0y.js +0 -1
  793. package/dist/.next/static/chunks/0-6znc4v4kg4~.js +0 -1
  794. package/dist/.next/static/chunks/038jxymv2x4u-.js +0 -148
  795. package/dist/.next/static/chunks/08nzg~fbi7p-7.js +0 -1
  796. package/dist/.next/static/chunks/0aqpm5mabssqz.js +0 -1
  797. package/dist/.next/static/chunks/0dcu67gngfgpb.js +0 -4
  798. package/dist/.next/static/chunks/0do2sl_ugmstg.js +0 -10
  799. package/dist/.next/static/chunks/0ge0mq0ea60lx.js +0 -1
  800. package/dist/.next/static/chunks/0h-pxsp01miga.js +0 -1
  801. package/dist/.next/static/chunks/0i8pgzf~hu-3m.js +0 -24
  802. package/dist/.next/static/chunks/0icpvuwlmnlty.js +0 -43
  803. package/dist/.next/static/chunks/0ipk1er3w80bj.js +0 -24
  804. package/dist/.next/static/chunks/0lfej4svc~ist.js +0 -1
  805. package/dist/.next/static/chunks/0lmzx880lnpb..js +0 -1
  806. package/dist/.next/static/chunks/0luwdx.2p-x9e.js +0 -31
  807. package/dist/.next/static/chunks/0npm9l63~4j0v.js +0 -1
  808. package/dist/.next/static/chunks/0r~zu0c3j_b7p.js +0 -1
  809. package/dist/.next/static/chunks/0~b.d.ay4u9zg.js +0 -2
  810. package/dist/.next/static/chunks/112qdnf547wz8.js +0 -1
  811. package/dist/.next/static/chunks/11uh-ttx4zin-.js +0 -9
  812. package/dist/.next/static/chunks/12udp03cbusxh.js +0 -10
  813. package/dist/.next/static/chunks/14i46k409qlt0.js +0 -1
  814. package/dist/.next/static/chunks/14j238ax8coge.js +0 -29
  815. package/dist/.next/static/chunks/14u7twut.vmn5.js +0 -1
  816. package/dist/.next/static/chunks/16k05wezoz4u0.js +0 -1
  817. package/dist/.next/static/chunks/turbopack-12mx7z-ex6m1h.js +0 -1
  818. package/dist/node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64.node +0 -0
  819. package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.js +0 -28
  820. package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.js +0 -32
  821. package/dist/node_modules/next/dist/compiled/http-proxy/index.js +0 -34
  822. package/dist/node_modules/next/dist/compiled/http-proxy/package.json +0 -1
  823. package/dist/node_modules/next/dist/lib/fatal-error.js +0 -14
  824. package/dist/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js +0 -39
  825. package/dist/node_modules/sharp/lib/index.js +0 -16
  826. package/dist/node_modules/sharp/lib/sharp.js +0 -121
  827. /package/dist/.next/static/{7aCwaA3-bL6RnqwYt0PmW → OdIi-OEl7eDEMfmeeT85N}/_buildManifest.js +0 -0
  828. /package/dist/.next/static/{7aCwaA3-bL6RnqwYt0PmW → OdIi-OEl7eDEMfmeeT85N}/_clientMiddlewareManifest.js +0 -0
  829. /package/dist/.next/static/{7aCwaA3-bL6RnqwYt0PmW → OdIi-OEl7eDEMfmeeT85N}/_ssgManifest.js +0 -0
  830. /package/dist/.next/static/chunks/{01ontipw7_pn-.js → 059oqdb-4djh4.js} +0 -0
  831. /package/dist/.next/static/chunks/{03lth2le32c6r.js → 0bk3aw3m9c72a.js} +0 -0
  832. /package/dist/.next/static/chunks/{03l_lqxocp3uj.js → 0bko6sy3fi25l.js} +0 -0
  833. /package/dist/.next/static/chunks/{03v0v690_bw8u.js → 0catqiaei7kwh.js} +0 -0
  834. /package/dist/.next/static/chunks/{03yru4-m-450t.js → 0cm59yzmvnr6a.js} +0 -0
  835. /package/dist/.next/static/chunks/{03~yq9q893hmn.js → 0cz1d0mv5g_q7.js} +0 -0
  836. /package/dist/.next/static/chunks/{06o.rsm2b~dht.js → 0ll25xvc8tvc7.js} +0 -0
  837. /package/dist/.next/static/chunks/{08o5wsrurx9ux.js → 0r-qze3me8owo.js} +0 -0
  838. /package/dist/.next/static/chunks/{09~n7y-jkmjlj.js → 0wf_g68m1dyuq.js} +0 -0
  839. /package/dist/.next/static/chunks/{0awsj.h.eiuen.js → 0z7hf76h0cz39.js} +0 -0
  840. /package/dist/.next/static/chunks/{0axtn1ln1j35_.js → 0zao0i_njogzy.js} +0 -0
  841. /package/dist/.next/static/chunks/{0c5xj4q0jmdu0.js → 11jp13p4e7ycl.js} +0 -0
  842. /package/dist/.next/static/chunks/{0cu8k_dz43e4y.js → 13j02-7zvh70e.js} +0 -0
  843. /package/dist/.next/static/chunks/{0e4xdug~7dxzk.js → 17zvg7jc-nx5v.js} +0 -0
  844. /package/dist/.next/static/chunks/{0f8bbcvfh6x_j.js → 1bi4m489puezc.js} +0 -0
  845. /package/dist/.next/static/chunks/{0gq18q-ip0uh2.js → 1g6nbgmclpjgd.js} +0 -0
  846. /package/dist/.next/static/chunks/{0k9_1v72yx36d.js → 1rxbddx-dyypf.js} +0 -0
  847. /package/dist/.next/static/chunks/{0l3uvjh3oslhq.js → 1un-c368y76x-.js} +0 -0
  848. /package/dist/.next/static/chunks/{0lypu-.xpph9..js → 1x5foe7mtvd8m.js} +0 -0
  849. /package/dist/.next/static/chunks/{0ortphe030oky.js → 24c-6p_4lbozm.js} +0 -0
  850. /package/dist/.next/static/chunks/{0oufb2b491l23.js → 24l5e3uup8rxf.js} +0 -0
  851. /package/dist/.next/static/chunks/{0ps77yd96walr.js → 27n_wru0tprv5.js} +0 -0
  852. /package/dist/.next/static/chunks/{0qfu4h5g.k-yt.js → 29x7ecuc6vybp.js} +0 -0
  853. /package/dist/.next/static/chunks/{0rmt10l3458p_.js → 2dqeid-8xhwun.js} +0 -0
  854. /package/dist/.next/static/chunks/{0s0v8xobo-2ok.js → 2f6739bq5ewxz.js} +0 -0
  855. /package/dist/.next/static/chunks/{0s8nwq43gep9_.js → 2fuc_smcevit1.js} +0 -0
  856. /package/dist/.next/static/chunks/{0spswjguxbqfn.js → 2h7acwi-mfsrx.js} +0 -0
  857. /package/dist/.next/static/chunks/{0xxouzzjw_a6q.js → 2y3wq_x8yyu_b.js} +0 -0
  858. /package/dist/.next/static/chunks/{0ydl92ezt_ppz.js → 2zrfdnujo3u51.js} +0 -0
  859. /package/dist/.next/static/chunks/{16pzrphqjtyli.js → 3-t8rqn47mim5.js} +0 -0
  860. /package/dist/.next/static/chunks/{0~.e-m04zn5l_.js → 3cvv663zekq_n.js} +0 -0
  861. /package/dist/.next/static/chunks/{11luuvvu~stmv.js → 3l6bwn061vy22.js} +0 -0
  862. /package/dist/.next/static/chunks/{11_7qxlc92f5s.js → 3mcxvhb8ujk39.js} +0 -0
  863. /package/dist/.next/static/chunks/{13mjf5q.pema_.js → 3rru41488bc4e.js} +0 -0
  864. /package/dist/.next/static/chunks/{159151ghv9-cc.js → 3x5hww03ialmf.js} +0 -0
  865. /package/dist/.next/static/chunks/{15r_pfbdb2jhp.js → 3ypwau9uw-qzz.js} +0 -0
  866. /package/dist/.next/static/chunks/{182b_f_n0-cdr.js → 44dlrjamdw9zn.js} +0 -0
  867. /package/dist/.next/static/media/{1bffadaabf893a1e-s.16ipb6fqu393i.woff2 → 1bffadaabf893a1e-s.3-6t-g6q0vh0a.woff2} +0 -0
  868. /package/dist/.next/static/media/{2bbe8d2671613f1f-s.067x_6k0k23tk.woff2 → 2bbe8d2671613f1f-s.0k62hbripvv8p.woff2} +0 -0
  869. /package/dist/.next/static/media/{2c55a0e60120577a-s.0bjc5tiuqdqro.woff2 → 2c55a0e60120577a-s.0-dom-5bn10r2.woff2} +0 -0
  870. /package/dist/.next/static/media/{5476f68d60460930-s.0wxq9webf.ew4.woff2 → 5476f68d60460930-s.2uwcyprjm3xu3.woff2} +0 -0
  871. /package/dist/.next/static/media/{83afe278b6a6bb3c-s.p.0q-301v4kxxnr.woff2 → 83afe278b6a6bb3c-s.p.2bn3s6zvc0dyp.woff2} +0 -0
  872. /package/dist/.next/static/media/{9c72aa0f40e4eef8-s.0m6w47a4e5dy9.woff2 → 9c72aa0f40e4eef8-s.1y4-pdgsjb-pw.woff2} +0 -0
  873. /package/dist/.next/static/media/{KaTeX_AMS-Regular.0b~8ki5y928w2.woff → KaTeX_AMS-Regular.10y3kupq4t663.woff} +0 -0
  874. /package/dist/.next/static/media/{KaTeX_AMS-Regular.0p1vbqd84i2~o.woff2 → KaTeX_AMS-Regular.25ieegmnh38ts.woff2} +0 -0
  875. /package/dist/.next/static/media/{KaTeX_AMS-Regular.173t6ktr7uf-w.ttf → KaTeX_AMS-Regular.418dr7cz3fo2x.ttf} +0 -0
  876. /package/dist/.next/static/media/{KaTeX_Caligraphic-Bold.01-pzluls4zgb.woff2 → KaTeX_Caligraphic-Bold.06b-ya9t43ioz.woff2} +0 -0
  877. /package/dist/.next/static/media/{KaTeX_Caligraphic-Bold.0x2v1lwn~880f.woff → KaTeX_Caligraphic-Bold.2vmk2hva4ctha.woff} +0 -0
  878. /package/dist/.next/static/media/{KaTeX_Caligraphic-Bold.16zv5fax0h0ka.ttf → KaTeX_Caligraphic-Bold.40ltxhe834pns.ttf} +0 -0
  879. /package/dist/.next/static/media/{KaTeX_Caligraphic-Regular.02i3z7wig438t.ttf → KaTeX_Caligraphic-Regular.07-7u27-nhn_r.ttf} +0 -0
  880. /package/dist/.next/static/media/{KaTeX_Caligraphic-Regular.0rysu1t-ncjq8.woff2 → KaTeX_Caligraphic-Regular.2eph4dlhid_m9.woff2} +0 -0
  881. /package/dist/.next/static/media/{KaTeX_Caligraphic-Regular.10927swgekwun.woff → KaTeX_Caligraphic-Regular.3gxeetazf831f.woff} +0 -0
  882. /package/dist/.next/static/media/{KaTeX_Fraktur-Bold.0et27v~3~4uhe.ttf → KaTeX_Fraktur-Bold.19yqa_tc9d_gx.ttf} +0 -0
  883. /package/dist/.next/static/media/{KaTeX_Fraktur-Bold.0e-16u10iuyyf.woff → KaTeX_Fraktur-Bold.1alcy76__wdj2.woff} +0 -0
  884. /package/dist/.next/static/media/{KaTeX_Fraktur-Bold.0w23i72~hprpq.woff2 → KaTeX_Fraktur-Bold.2sasz-d-jtw8y.woff2} +0 -0
  885. /package/dist/.next/static/media/{KaTeX_Fraktur-Regular.0b.riegzdfue2.woff → KaTeX_Fraktur-Regular.110oo81prr9n5.woff} +0 -0
  886. /package/dist/.next/static/media/{KaTeX_Fraktur-Regular.0rekyoa-52fj_.woff2 → KaTeX_Fraktur-Regular.2d10y4xmjvzlf.woff2} +0 -0
  887. /package/dist/.next/static/media/{KaTeX_Fraktur-Regular.0vjwa15znhk~4.ttf → KaTeX_Fraktur-Regular.2qhy34r6a05dn.ttf} +0 -0
  888. /package/dist/.next/static/media/{KaTeX_Main-Bold.09i7~607shf-h.ttf → KaTeX_Main-Bold.0us_n0tnxlxu7.ttf} +0 -0
  889. /package/dist/.next/static/media/{KaTeX_Main-Bold.09lmynrorhcbw.woff → KaTeX_Main-Bold.0v1esh257kqpe.woff} +0 -0
  890. /package/dist/.next/static/media/{KaTeX_Main-Bold.16pfc63_du6mx.woff2 → KaTeX_Main-Bold.3-rowy8o6_4ky.woff2} +0 -0
  891. /package/dist/.next/static/media/{KaTeX_Main-BoldItalic.0cp37g7x1q8h6.woff → KaTeX_Main-BoldItalic.13355ck5zr48q.woff} +0 -0
  892. /package/dist/.next/static/media/{KaTeX_Main-BoldItalic.0d54rk08rx11s.woff2 → KaTeX_Main-BoldItalic.14r2naom8mrec.woff2} +0 -0
  893. /package/dist/.next/static/media/{KaTeX_Main-BoldItalic.15j6k~hix2t_0.ttf → KaTeX_Main-BoldItalic.3x_u9cepaced0.ttf} +0 -0
  894. /package/dist/.next/static/media/{KaTeX_Main-Italic.0382gqciexmbu.woff → KaTeX_Main-Italic.0afv392dj4w59.woff} +0 -0
  895. /package/dist/.next/static/media/{KaTeX_Main-Italic.06o5nq0_91v60.woff2 → KaTeX_Main-Italic.0lig0v9j0700p.woff2} +0 -0
  896. /package/dist/.next/static/media/{KaTeX_Main-Italic.0su4i6mm18-wo.ttf → KaTeX_Main-Italic.2hkw3230mfwcv.ttf} +0 -0
  897. /package/dist/.next/static/media/{KaTeX_Main-Regular.08zh8z.7shijf.ttf → KaTeX_Main-Regular.0symfa7dqj6jd.ttf} +0 -0
  898. /package/dist/.next/static/media/{KaTeX_Main-Regular.0diheg01zyoph.woff → KaTeX_Main-Regular.15u8r3b2y7fv4.woff} +0 -0
  899. /package/dist/.next/static/media/{KaTeX_Main-Regular.0kaf-ag2_wkm-.woff2 → KaTeX_Main-Regular.1ryvsdzh2w1_e.woff2} +0 -0
  900. /package/dist/.next/static/media/{KaTeX_Math-BoldItalic.0ajzxypnbx1h1.ttf → KaTeX_Math-BoldItalic.0y5w36a5aq__2.ttf} +0 -0
  901. /package/dist/.next/static/media/{KaTeX_Math-BoldItalic.0ck1myuerwyqw.woff → KaTeX_Math-BoldItalic.12pl58orkw9rg.woff} +0 -0
  902. /package/dist/.next/static/media/{KaTeX_Math-BoldItalic.0ja97dn.cpc87.woff2 → KaTeX_Math-BoldItalic.1oopuu636h4il.woff2} +0 -0
  903. /package/dist/.next/static/media/{KaTeX_Math-Italic.09xkhecjcn5r9.woff → KaTeX_Math-Italic.0w0b1ugh62cfr.woff} +0 -0
  904. /package/dist/.next/static/media/{KaTeX_Math-Italic.0x23a-bmp-5tg.ttf → KaTeX_Math-Italic.2vkekfblmz5nb.ttf} +0 -0
  905. /package/dist/.next/static/media/{KaTeX_Math-Italic.0zrha2c4sl2je.woff2 → KaTeX_Math-Italic.32405s1aq8vas.woff2} +0 -0
  906. /package/dist/.next/static/media/{KaTeX_SansSerif-Bold.05a9.pc1j_zx9.woff2 → KaTeX_SansSerif-Bold.0h3wi2z_eouyg.woff2} +0 -0
  907. /package/dist/.next/static/media/{KaTeX_SansSerif-Bold.0jcl-ayi1uun0.woff → KaTeX_SansSerif-Bold.1ovw5p-yjp56g.woff} +0 -0
  908. /package/dist/.next/static/media/{KaTeX_SansSerif-Bold.0re8y.dm7.mt5.ttf → KaTeX_SansSerif-Bold.2d03q85pwxpti.ttf} +0 -0
  909. /package/dist/.next/static/media/{KaTeX_SansSerif-Italic.0a0234dc3s62j.woff2 → KaTeX_SansSerif-Italic.0wkjc4dm2kcit.woff2} +0 -0
  910. /package/dist/.next/static/media/{KaTeX_SansSerif-Italic.0judofdln9731.woff → KaTeX_SansSerif-Italic.1qavw__2zz8gk.woff} +0 -0
  911. /package/dist/.next/static/media/{KaTeX_SansSerif-Italic.10z1iap9pfus8.ttf → KaTeX_SansSerif-Italic.3i-q087b23-m8.ttf} +0 -0
  912. /package/dist/.next/static/media/{KaTeX_SansSerif-Regular.0h9yjlugq4q_e.woff → KaTeX_SansSerif-Regular.1i4afx8nk8n4r.woff} +0 -0
  913. /package/dist/.next/static/media/{KaTeX_SansSerif-Regular.0v6gcj32-czft.woff2 → KaTeX_SansSerif-Regular.2peiewu59z3d-.woff2} +0 -0
  914. /package/dist/.next/static/media/{KaTeX_SansSerif-Regular.0zm18kga42ebc.ttf → KaTeX_SansSerif-Regular.31pbu25feko_c.ttf} +0 -0
  915. /package/dist/.next/static/media/{KaTeX_Script-Regular.0c4.h-mer83d_.woff2 → KaTeX_Script-Regular.11h14300o9pd0.woff2} +0 -0
  916. /package/dist/.next/static/media/{KaTeX_Script-Regular.0q14y6zkzlpob.ttf → KaTeX_Script-Regular.28p_x7iz71ofe.ttf} +0 -0
  917. /package/dist/.next/static/media/{KaTeX_Script-Regular.0ze6v4r_-99oy.woff → KaTeX_Script-Regular.3110jb9c-bxna.woff} +0 -0
  918. /package/dist/.next/static/media/{KaTeX_Size1-Regular.013x6a4ierotp.woff2 → KaTeX_Size1-Regular.03lhvx36ekcou.woff2} +0 -0
  919. /package/dist/.next/static/media/{KaTeX_Size1-Regular.0kidw0oi.m68o.woff → KaTeX_Size1-Regular.1slf4bh0hc6vm.woff} +0 -0
  920. /package/dist/.next/static/media/{KaTeX_Size1-Regular.0m6y-i6wfokni.ttf → KaTeX_Size1-Regular.1y57-ck23ey8c.ttf} +0 -0
  921. /package/dist/.next/static/media/{KaTeX_Size2-Regular.0blpmluwilgbg.woff → KaTeX_Size2-Regular.0-kwyvx03omo8.woff} +0 -0
  922. /package/dist/.next/static/media/{KaTeX_Size2-Regular.0d5inmyp-tyv3.woff2 → KaTeX_Size2-Regular.14s5gg-puz6h-.woff2} +0 -0
  923. /package/dist/.next/static/media/{KaTeX_Size2-Regular.0wnhnvj-.k9d5.ttf → KaTeX_Size2-Regular.2u0s-b07k2o9m.ttf} +0 -0
  924. /package/dist/.next/static/media/{KaTeX_Size3-Regular.01h0xm_sfctj3.woff → KaTeX_Size3-Regular.04o9a_02gu_e8.woff} +0 -0
  925. /package/dist/.next/static/media/{KaTeX_Size3-Regular.0iukctyhw5j56.woff2 → KaTeX_Size3-Regular.1n1rgzz84z8r9.woff2} +0 -0
  926. /package/dist/.next/static/media/{KaTeX_Size3-Regular.0jl8mqyf4gzpn.ttf → KaTeX_Size3-Regular.1pkn-dge4q0fv.ttf} +0 -0
  927. /package/dist/.next/static/media/{KaTeX_Size4-Regular.0w3.rb_c4stzk.woff2 → KaTeX_Size4-Regular.2sgotkdv3dcyv.woff2} +0 -0
  928. /package/dist/.next/static/media/{KaTeX_Size4-Regular.0wr_9l81-mu06.ttf → KaTeX_Size4-Regular.2uelkfk2yna5e.ttf} +0 -0
  929. /package/dist/.next/static/media/{KaTeX_Size4-Regular.12tvaesf3.zl3.woff → KaTeX_Size4-Regular.3p2r1l7xmebxv.woff} +0 -0
  930. /package/dist/.next/static/media/{KaTeX_Typewriter-Regular.0c4zdxz~8frhm.woff2 → KaTeX_Typewriter-Regular.11gr2d2wuwz77.woff2} +0 -0
  931. /package/dist/.next/static/media/{KaTeX_Typewriter-Regular.0cgrzn5l3kao5.woff → KaTeX_Typewriter-Regular.12f8myjij3617.woff} +0 -0
  932. /package/dist/.next/static/media/{KaTeX_Typewriter-Regular.128~qc3858otl.ttf → KaTeX_Typewriter-Regular.3nee9kjfy6nm8.ttf} +0 -0
  933. /package/dist/.next/static/media/{ad66f9afd8947f86-s.11u06r12fd6v_.woff2 → ad66f9afd8947f86-s.3lvt2whj97whp.woff2} +0 -0
  934. /package/dist/.next/static/media/{icon.0j1xc6-m~vsbh.png → icon.1n_rla2f79pbj.png} +0 -0
@@ -9,6 +9,7 @@ Object.defineProperty(exports, "createHotReloaderTurbopack", {
9
9
  }
10
10
  });
11
11
  const _promises = require("fs/promises");
12
+ const _fs = require("fs");
12
13
  const _inspector = /*#__PURE__*/ _interop_require_wildcard(require("inspector"));
13
14
  const _path = require("path");
14
15
  const _url = require("url");
@@ -21,7 +22,9 @@ const _constants = require("../../shared/lib/constants");
21
22
  const _middlewareturbopack = require("./middleware-turbopack");
22
23
  const _utils = require("../../shared/lib/utils");
23
24
  const _utils1 = require("../utils");
25
+ const _loadmanifestexternal = require("../load-manifest.external");
24
26
  const _requirecache = require("./require-cache");
27
+ const _devvalidationworkerpool = require("./dev-validation-worker-pool");
25
28
  const _renderserver = require("../lib/render-server");
26
29
  const _denormalizepagepath = require("../../shared/lib/page-path/denormalize-page-path");
27
30
  const _trace = require("../../trace");
@@ -37,6 +40,7 @@ const _apppaths = require("../../shared/lib/router/utils/app-paths");
37
40
  const _entries = require("../../build/entries");
38
41
  const _ismetadataroute = require("../../lib/metadata/is-metadata-route");
39
42
  const _patcherrorinspect = require("../patch-error-inspect");
43
+ const _sourcemaps = require("../lib/source-maps");
40
44
  const _getnexterrorfeedbackmiddleware = require("../../next-devtools/server/get-next-error-feedback-middleware");
41
45
  const _utils2 = require("../../shared/lib/turbopack/utils");
42
46
  const _getdevoverlayfontmiddleware = require("../../next-devtools/server/font/get-dev-overlay-font-middleware");
@@ -44,15 +48,20 @@ const _devindicatorserverstate = require("./dev-indicator-server-state");
44
48
  const _devindicatormiddleware = require("../../next-devtools/server/dev-indicator-middleware");
45
49
  const _restartdevservermiddleware = require("../../next-devtools/server/restart-dev-server-middleware");
46
50
  const _compilationevents = require("../../shared/lib/turbopack/compilation-events");
51
+ const _deferredemit = require("../../shared/lib/turbopack/deferred-emit");
47
52
  const _getsupportedbrowsers = require("../../build/get-supported-browsers");
48
53
  const _printbuilderrors = require("../../build/print-build-errors");
49
54
  const _receivelogs = require("./browser-logs/receive-logs");
50
55
  const _normalizepath = require("../../lib/normalize-path");
56
+ const _turbopackcacheseed = require("../../lib/turbopack-cache-seed");
51
57
  const _devtoolsconfigmiddleware = require("../../next-devtools/server/devtools-config-middleware");
52
58
  const _attachnodejsdebuggermiddleware = require("../../next-devtools/server/attach-nodejs-debugger-middleware");
53
59
  const _debugchannel = require("./debug-channel");
54
60
  const _hotreloadersharedutils = require("./hot-reloader-shared-utils");
55
61
  const _getmcpmiddleware = require("../mcp/get-mcp-middleware");
62
+ const _formatcompilationissues = require("../mcp/tools/utils/format-compilation-issues");
63
+ const _requestinsights = require("../lib/trace/request-insights");
64
+ const _resolvepathtoroute = require("../mcp/tools/utils/resolve-path-to-route");
56
65
  const _geterrors = require("../mcp/tools/get-errors");
57
66
  const _getpagemetadata = require("../mcp/tools/get-page-metadata");
58
67
  const _formaterrors = require("../mcp/tools/utils/format-errors");
@@ -110,96 +119,121 @@ const wsServer = new _ws.default.Server({
110
119
  });
111
120
  const isTestMode = !!(process.env.NEXT_TEST_MODE || process.env.__NEXT_TEST_MODE || process.env.DEBUG);
112
121
  const sessionId = Math.floor(Number.MAX_SAFE_INTEGER * Math.random());
113
- function setupServerHmr(project, { clear }) {
114
- const serverHmrSubscriptions = new Map();
115
- /**
116
- * Subscribe to HMR updates for a server chunk.
117
- * @param chunkPath - Server chunk output path (e.g., "server/chunks/ssr/..._.js")
118
- */ function subscribeToServerHmr(chunkPath) {
119
- if (serverHmrSubscriptions.has(chunkPath)) {
120
- return;
122
+ /** Output directory (relative to `distDir`) of server-HMR-managed chunks. */ const SERVER_HMR_CHUNKS_DIR = (0, _path.join)('server', 'chunks');
123
+ /**
124
+ * Collects the output chunk paths touched by a partial HMR update. Both
125
+ * single-chunk `EcmascriptMergedUpdate`s and `ChunkListUpdate`s (which nest
126
+ * per-chunk deltas inside `merged`) are flattened so the manifest cache can be
127
+ * invalidated for every affected chunk after a successful apply.
128
+ */ function collectUpdatedChunkPaths(instruction) {
129
+ const paths = new Set();
130
+ if (instruction.type === 'EcmascriptMergedUpdate') {
131
+ for (const chunkPath of Object.keys(instruction.chunks ?? {})){
132
+ paths.add(chunkPath);
121
133
  }
122
- const subscription = project.hmrEvents(chunkPath, _swc.HmrTarget.Server);
123
- serverHmrSubscriptions.set(chunkPath, subscription);
124
- (async ()=>{
125
- // Skip initial state
126
- await subscription.next();
127
- for await (const result of subscription){
128
- const update = result;
129
- // Fully re-evaluate all chunks from disk. Clears the module cache and
130
- // notifies browsers to refetch RSC.
131
- if (update.type === 'restart') {
132
- await clear();
133
- continue;
134
- }
135
- if (update.type !== 'partial') {
136
- continue;
137
- }
138
- const instruction = update.instruction;
139
- if (!instruction || instruction.type !== 'EcmascriptMergedUpdate') {
134
+ } else if (instruction.type === 'ChunkListUpdate') {
135
+ for (const chunkPath of Object.keys(instruction.chunks ?? {})){
136
+ paths.add(chunkPath);
137
+ }
138
+ for (const merged of instruction.merged ?? []){
139
+ for (const chunkPath of Object.keys(merged.chunks ?? {})){
140
+ paths.add(chunkPath);
141
+ }
142
+ }
143
+ } else {
144
+ throw Object.defineProperty(new Error(`[Server HMR] unreachable: unknown HMR instruction type ${instruction.type}`), "__NEXT_ERROR_CODE", {
145
+ value: "E1459",
146
+ enumerable: false,
147
+ configurable: true
148
+ });
149
+ }
150
+ return Array.from(paths);
151
+ }
152
+ function setupServerHmr(project, { reEvaluateAllModulesExpensive, onApplied }) {
153
+ async function runSubscription() {
154
+ const subscription = project.allHmrEvents(_swc.HmrTarget.Server);
155
+ // Subscribing immediately emits one event describing the current state.
156
+ // There's no previous state to diff it against, so it never carries anything
157
+ // to apply. Drop it; real updates start with the second event.
158
+ await subscription.next();
159
+ for await (const result of subscription){
160
+ const update = result;
161
+ // A 'restart' from the wire protocol means the update can't be applied
162
+ // incrementally, so we must fully re-evaluate all chunks from disk. This
163
+ // clears the module cache and notifies browsers to refetch RSC.
164
+ const requiresFullReEvaluation = update.type === 'restart';
165
+ if (requiresFullReEvaluation) {
166
+ await reEvaluateAllModulesExpensive();
167
+ continue;
168
+ }
169
+ if (update.type !== 'partial') {
170
+ continue;
171
+ }
172
+ // `EcmascriptMergedUpdate` is the only instruction the Node.js runtime
173
+ // knows how to apply; `ChunkListUpdate` is browser-only. Anything else is
174
+ // unknown to us, so ignore it rather than evicting the module cache.
175
+ const instruction = update.instruction;
176
+ if (!instruction || instruction.type !== 'EcmascriptMergedUpdate' && instruction.type !== 'ChunkListUpdate') {
177
+ throw Object.defineProperty(new Error(`[Server HMR] unreachable: unexpected update instruction type ${instruction.type}`), "__NEXT_ERROR_CODE", {
178
+ value: "E1460",
179
+ enumerable: false,
180
+ configurable: true
181
+ });
182
+ }
183
+ // No handler registered yet (before first request, or right after
184
+ // reEvaluateAllModulesExpensive()) — nothing live to update, so skip
185
+ // until the next request.
186
+ const handlers = globalThis.__turbopack_server_hmr_handlers__;
187
+ if (!handlers || handlers.size === 0) {
188
+ continue;
189
+ }
190
+ if (typeof __turbopack_server_hmr_apply__ === 'function') {
191
+ try {
192
+ __turbopack_server_hmr_apply__(update);
193
+ // The validation worker keeps its own copy of the module graph, and
194
+ // applies the same update to it.
195
+ (0, _devvalidationworkerpool.mirrorModuleStateToDevValidationWorker)({
196
+ type: 'apply',
197
+ update
198
+ });
199
+ } catch {
200
+ // A matching runtime tried the apply and threw. Evict require.cache
201
+ // so the next request loads fresh, then skip onApplied. (A no-match
202
+ // update is a no-op and does not throw.)
203
+ await reEvaluateAllModulesExpensive();
140
204
  continue;
141
205
  }
142
- if (typeof __turbopack_server_hmr_apply__ === 'function') {
143
- const applied = __turbopack_server_hmr_apply__(update);
144
- if (!applied) {
145
- await clear();
146
- }
206
+ const updatedChunkPaths = collectUpdatedChunkPaths(instruction);
207
+ // An empty partial only advances the version state (e.g. the seed
208
+ // transition or a new endpoint); nothing changed on disk, so don't
209
+ // invalidate manifests or ping browsers to refetch RSC.
210
+ if (updatedChunkPaths.length > 0) {
211
+ await onApplied(updatedChunkPaths);
147
212
  }
213
+ } else {
214
+ await reEvaluateAllModulesExpensive();
148
215
  }
149
- })().catch(async (err)=>{
150
- console.error('[Server HMR] Subscription error:', err);
151
- serverHmrSubscriptions.delete(chunkPath);
152
- await clear();
153
- });
216
+ }
154
217
  }
155
- // Listen to the Rust bindings update us on changing server HMR chunk paths
218
+ // Start listening for changes in background. Re-subscribe on error so
219
+ // server Fast Refresh continues working for the rest of the dev session.
220
+ // The delay keeps a persistently-failing subscription (which throws on the
221
+ // initial read) from hot-looping through reEvaluateAllModulesExpensive().
156
222
  ;
157
223
  (async ()=>{
158
- try {
159
- const serverHmrChunkPaths = project.hmrChunkNamesSubscribe(_swc.HmrTarget.Server);
160
- // Process chunk paths (both initial and subsequent updates)
161
- for await (const data of serverHmrChunkPaths){
162
- const currentChunkPaths = new Set(data.chunkNames.filter((path)=>path.endsWith('.js')));
163
- // Clean up subscriptions for removed chunk paths (like when pages are deleted)
164
- const chunkPathsToRemove = [];
165
- for (const chunkPath of serverHmrSubscriptions.keys()){
166
- if (!currentChunkPaths.has(chunkPath)) {
167
- chunkPathsToRemove.push(chunkPath);
168
- }
169
- }
170
- for (const chunkPath of chunkPathsToRemove){
171
- var _subscription_return;
172
- const subscription = serverHmrSubscriptions.get(chunkPath);
173
- subscription == null ? void 0 : (_subscription_return = subscription.return) == null ? void 0 : _subscription_return.call(subscription);
174
- serverHmrSubscriptions.delete(chunkPath);
175
- }
176
- // Subscribe to HMR events for new server chunks
177
- for (const chunkPath of currentChunkPaths){
178
- if (!serverHmrSubscriptions.has(chunkPath)) {
179
- subscribeToServerHmr(chunkPath);
180
- }
181
- }
224
+ for(;;){
225
+ try {
226
+ await runSubscription();
227
+ return;
228
+ } catch (err) {
229
+ console.error('[Server HMR] Subscription error, resubscribing:', err);
230
+ await reEvaluateAllModulesExpensive();
231
+ await new Promise((resolve)=>setTimeout(resolve, 1000));
182
232
  }
183
- } catch (err) {
184
- console.error('[Server HMR Setup] Error in chunk path subscription:', err);
185
233
  }
186
234
  })();
187
- return serverHmrSubscriptions;
188
235
  }
189
- /**
190
- * Replaces turbopack:///[project] with the specified project in the `source` field.
191
- */ function rewriteTurbopackSources(projectRoot, sourceMap) {
192
- if ('sections' in sourceMap) {
193
- for (const section of sourceMap.sections){
194
- rewriteTurbopackSources(projectRoot, section.map);
195
- }
196
- } else {
197
- for(let i = 0; i < sourceMap.sources.length; i++){
198
- sourceMap.sources[i] = (0, _url.pathToFileURL)((0, _path.join)(projectRoot, sourceMap.sources[i].replace(/turbopack:\/\/\/\[project\]/, ''))).toString();
199
- }
200
- }
201
- }
202
- function getSourceMapFromTurbopack(project, projectRoot, sourceURL) {
236
+ function getSourceMapFromTurbopack(project, sourceURL) {
203
237
  let sourceMapJson = null;
204
238
  try {
205
239
  sourceMapJson = project.getSourceMapSync(sourceURL);
@@ -207,15 +241,43 @@ function getSourceMapFromTurbopack(project, projectRoot, sourceURL) {
207
241
  if (sourceMapJson === null) {
208
242
  return undefined;
209
243
  } else {
210
- const payload = JSON.parse(sourceMapJson);
211
- // The sourcemap from Turbopack is not yet written to disk so its `sources`
212
- // are not absolute paths yet. We need to rewrite them to be absolute paths.
213
- rewriteTurbopackSources(projectRoot, payload);
214
- return payload;
244
+ return JSON.parse(sourceMapJson);
215
245
  }
216
246
  }
247
+ function getSourceMapURLFromTurbopack(distDir, scriptNameOrSourceURL) {
248
+ // React invokes this with the raw stack-frame filename, which arrives
249
+ // either as an absolute filesystem path or as a `file:` URL. Anything else
250
+ // (`file:` URLs with a query are eval'd server HMR modules carrying inline
251
+ // source maps, `webpack-internal://`, `node:internal/...`, `<anonymous>`,
252
+ // ...) is not something we have an emitted source map for.
253
+ let scriptPath = scriptNameOrSourceURL;
254
+ if (scriptNameOrSourceURL.startsWith('file://')) {
255
+ if (scriptNameOrSourceURL.includes('?')) {
256
+ return null;
257
+ }
258
+ try {
259
+ scriptPath = (0, _url.fileURLToPath)(scriptNameOrSourceURL);
260
+ } catch {
261
+ return null;
262
+ }
263
+ }
264
+ if (!(0, _path.isAbsolute)(scriptPath)) {
265
+ return null;
266
+ }
267
+ // Only chunks emitted into `distDir` have an on-disk source map to point at.
268
+ const relativePath = (0, _path.relative)(distDir, scriptPath);
269
+ if (relativePath.startsWith('..') || // On Windows an absolute path on a different drive is returned unchanged
270
+ // rather than as a `..`-prefixed relative path.
271
+ (0, _path.isAbsolute)(relativePath)) {
272
+ return null;
273
+ }
274
+ // The emitted source map lives next to its chunk with a `.map` suffix (see
275
+ // `SourceMapAsset::path`). Encode through `pathToFileURL` so any special
276
+ // characters in the path are escaped into a well-formed `file:` URL.
277
+ return (0, _url.pathToFileURL)(scriptPath + '.map').href;
278
+ }
217
279
  async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetch, lockfile, serverFastRefresh) {
218
- var _opts_nextConfig_turbopack, _nextConfig_watchOptions, _opts_nextConfig_experimental;
280
+ var _opts_nextConfig_turbopack, _nextConfig_watchOptions;
219
281
  const dev = true;
220
282
  const buildId = 'development';
221
283
  const { nextConfig, dir: projectPath } = opts;
@@ -240,7 +302,7 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
240
302
  }
241
303
  const hasRewrites = opts.fsChecker.rewrites.afterFiles.length > 0 || opts.fsChecker.rewrites.beforeFiles.length > 0 || opts.fsChecker.rewrites.fallback.length > 0;
242
304
  const hotReloaderSpan = (0, _trace.trace)('hot-reloader', undefined, {
243
- version: "16.2.6"
305
+ version: "16.3.3"
244
306
  });
245
307
  // Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
246
308
  // of the current `next dev` invocation.
@@ -262,6 +324,12 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
262
324
  const supportedBrowsers = (0, _getsupportedbrowsers.getSupportedBrowsers)(projectPath, dev);
263
325
  const currentNodeJsVersion = process.versions.node;
264
326
  const rootPath = ((_opts_nextConfig_turbopack = opts.nextConfig.turbopack) == null ? void 0 : _opts_nextConfig_turbopack.root) || opts.nextConfig.outputFileTracingRoot || projectPath;
327
+ if (nextConfig.experimental.turbopackSeedCacheFromWorktree) {
328
+ (0, _turbopackcacheseed.seedTurbopackCacheIfNeeded)({
329
+ projectDir: projectPath,
330
+ distDir
331
+ });
332
+ }
265
333
  const project = await bindings.turbo.createProject({
266
334
  rootPath,
267
335
  projectPath: (0, _normalizepath.normalizePath)((0, _path.relative)(rootPath, projectPath) || '.'),
@@ -294,10 +362,10 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
294
362
  writeRoutesHashesManifest: false,
295
363
  currentNodeJsVersion,
296
364
  isPersistentCachingEnabled: (0, _utils2.isFileSystemCacheEnabledForDev)(opts.nextConfig),
297
- nextVersion: "16.2.6",
365
+ nextVersion: "16.3.3",
298
366
  serverHmr: serverFastRefresh
299
367
  }, {
300
- memoryLimit: (_opts_nextConfig_experimental = opts.nextConfig.experimental) == null ? void 0 : _opts_nextConfig_experimental.turbopackMemoryLimit,
368
+ turbopackMemoryEviction: opts.nextConfig.experimental.turbopackMemoryEvictionMode,
301
369
  isShortSession: false
302
370
  });
303
371
  (0, _compilationevents.backgroundLogCompilationEvents)(project, {
@@ -309,12 +377,18 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
309
377
  ],
310
378
  parentSpan: hotReloaderSpan
311
379
  });
312
- (0, _patcherrorinspect.setBundlerFindSourceMapImplementation)(getSourceMapFromTurbopack.bind(null, project, projectPath));
380
+ (0, _patcherrorinspect.setBundlerFindSourceMapImplementation)(getSourceMapFromTurbopack.bind(null, project));
381
+ let canonicalDistDir = distDir;
382
+ try {
383
+ canonicalDistDir = (0, _fs.realpathSync)(distDir);
384
+ } catch {}
385
+ (0, _sourcemaps.setBundlerFindSourceMapURLImplementation)(getSourceMapURLFromTurbopack.bind(null, canonicalDistDir));
313
386
  // Set up code frame renderer using native bindings
314
387
  const { installCodeFrameSupport } = require('../lib/install-code-frame');
315
388
  installCodeFrameSupport();
316
389
  opts.onDevServerCleanup == null ? void 0 : opts.onDevServerCleanup.call(opts, async ()=>{
317
390
  (0, _patcherrorinspect.setBundlerFindSourceMapImplementation)(()=>undefined);
391
+ (0, _sourcemaps.setBundlerFindSourceMapURLImplementation)(()=>null);
318
392
  await project.onExit();
319
393
  await (lockfile == null ? void 0 : lockfile.unlock());
320
394
  });
@@ -415,9 +489,11 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
415
489
  } else {
416
490
  // Figure out if the server files have changed
417
491
  let hasChange = false;
492
+ const currentPaths = new Set();
418
493
  for (const { path, contentHash } of writtenEndpoint.serverPaths){
419
494
  // We ignore source maps
420
495
  if (path.endsWith('.map')) continue;
496
+ currentPaths.add(path);
421
497
  const localKey = `${key}:${path}`;
422
498
  const localHash = serverPathState.get(localKey);
423
499
  const globalHash = serverPathState.get(path);
@@ -434,28 +510,37 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
434
510
  }
435
511
  }
436
512
  }
513
+ const localKeyPrefix = `${key}:`;
514
+ for (const pathKey of serverPathState.keys()){
515
+ if (pathKey.startsWith(localKeyPrefix) && !currentPaths.has(pathKey.slice(localKeyPrefix.length))) {
516
+ serverPathState.delete(pathKey);
517
+ hasChange = true;
518
+ }
519
+ }
437
520
  if (!hasChange) {
438
521
  return false;
439
522
  }
440
523
  }
524
+ // Edge does not participate in server HMR.
525
+ if (writtenEndpoint.type === 'edge') {
526
+ void (0, _renderserver.clearAllModuleContexts)();
527
+ }
441
528
  const serverPaths = writtenEndpoint.serverPaths.map(({ path: p })=>(0, _path.join)(distDir, p));
442
- const { type: entryType, page: entryPage } = (0, _entrykey.splitEntryKey)(key);
529
+ const { type: entryType } = (0, _entrykey.splitEntryKey)(key);
443
530
  // Server HMR applies to App Router entries built with the Turbopack Node.js
444
- // runtime: app pages and regular route handlers. Edge routes, Pages Router
445
- // pages, middleware/instrumentation, and metadata routes (manifest.ts,
446
- // robots.ts, sitemap.ts, icon.tsx, etc.) are excluded. Metadata routes are
447
- // excluded because they serve HTTP responses directly and must re-execute
448
- // on every request to pick up file changes; the in-place module update
449
- // model of Server HMR does not apply to them.
450
- const usesServerHmr = serverFastRefresh && entryType === 'app' && writtenEndpoint.type !== 'edge' && !(0, _ismetadataroute.isMetadataRoute)(entryPage);
531
+ // runtime: app pages and route handlers (including metadata routes). Edge
532
+ // routes, Pages Router pages, and middleware/instrumentation are excluded.
533
+ const usesServerHmr = serverFastRefresh && entryType === 'app' && writtenEndpoint.type !== 'edge';
534
+ const serverChunksPrefix = SERVER_HMR_CHUNKS_DIR + _path.sep;
451
535
  const filesToDelete = [];
452
536
  for (const file of serverPaths){
453
537
  (0, _renderserver.clearModuleContext)(file);
454
538
  const relativePath = (0, _path.relative)(distDir, file);
455
- if (// For Pages Router, edge routes, middleware, and manifest files:
456
- // clear the sharedCache in evalManifest(), Node.js require.cache,
457
- // and edge runtime module contexts.
458
- force || !usesServerHmr || !(serverHmrSubscriptions == null ? void 0 : serverHmrSubscriptions.has(relativePath))) {
539
+ if (// For Pages Router, edge routes, middleware, and any entry not
540
+ // participating in server HMR: clear the sharedCache in
541
+ // evalManifest(), Node.js require.cache, and edge runtime module
542
+ // contexts.
543
+ force || !usesServerHmr || !relativePath.startsWith(serverChunksPrefix)) {
459
544
  filesToDelete.push(file);
460
545
  }
461
546
  }
@@ -502,9 +587,21 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
502
587
  }
503
588
  };
504
589
  };
505
- let serverHmrSubscriptions;
506
590
  let hmrEventHappened = false;
591
+ // A counter identifying the current version of the compiled output, included
592
+ // by `"use cache"` in dev cache keys so that cached entries revalidate after
593
+ // an edit. It advances once per HMR change event (for App Router pages that
594
+ // is an RSC change, which is what a cached render depends on), independent of
595
+ // how many clients are connected. It deliberately does not advance on `BUILT`
596
+ // messages: those are sent per connected client on every compilation, so
597
+ // advancing there would both churn the hash without an edit and fail to
598
+ // advance it at all when no client is connected.
507
599
  let hmrHash = 0;
600
+ // HACK: Defer sending `building` messages. Turbopack emits a compile pass for every
601
+ // foreground-job cycle, including empty no-op recompiles scheduled by
602
+ // request/render activity that changed no files. This allows us to prevent
603
+ // sending them if we quickly get a `built` message after a `building` message.
604
+ const pendingBuilding = new _deferredemit.DeferredEmit();
508
605
  const clientsWithoutHtmlRequestId = new Set();
509
606
  const clientsByHtmlRequestId = new Map();
510
607
  const cacheStatusesByHtmlRequestId = new Map();
@@ -513,15 +610,37 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
513
610
  const data = typeof message.type === 'number' ? (0, _messages.createBinaryHmrMessageData)(message) : JSON.stringify(message);
514
611
  client.send(data);
515
612
  }
516
- function sendEnqueuedMessages() {
613
+ let updateInProgress = false;
614
+ let pendingServerComponentChanges = false;
615
+ function sendServerComponentChanges() {
616
+ sendHmr('server-component-changes', {
617
+ type: _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.SERVER_COMPONENT_CHANGES
618
+ });
619
+ }
620
+ // Each announcement makes every client refetch its page, so an update's
621
+ // changes are announced once, on the update's end.
622
+ function handleServerComponentChanges() {
623
+ if (updateInProgress) {
624
+ pendingServerComponentChanges = true;
625
+ } else {
626
+ sendServerComponentChanges();
627
+ }
628
+ }
629
+ function hasCompilationErrors() {
517
630
  for (const [, issueMap] of currentEntryIssues){
518
631
  if ([
519
632
  ...issueMap.values()
520
633
  ].filter((i)=>i.severity !== 'warning').length > 0) {
521
- // During compilation errors we want to delay the HMR events until errors are fixed
522
- return;
634
+ return true;
523
635
  }
524
636
  }
637
+ return false;
638
+ }
639
+ function sendEnqueuedMessages() {
640
+ if (hasCompilationErrors()) {
641
+ // During compilation errors we want to delay the HMR events until errors are fixed
642
+ return;
643
+ }
525
644
  for (const client of [
526
645
  ...clientsWithoutHtmlRequestId,
527
646
  ...clientsByHtmlRequestId.values()
@@ -553,6 +672,7 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
553
672
  }
554
673
  const sendEnqueuedMessagesDebounce = (0, _utils1.debounce)(sendEnqueuedMessages, 2);
555
674
  const sendHmr = (id, message)=>{
675
+ pendingBuilding.flush();
556
676
  for (const client of [
557
677
  ...clientsWithoutHtmlRequestId,
558
678
  ...clientsByHtmlRequestId.values()
@@ -569,6 +689,7 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
569
689
  // They are currently not handled on the client at all, so might as well not send them for now.
570
690
  payload.diagnostics = [];
571
691
  payload.issues = [];
692
+ pendingBuilding.flush();
572
693
  for (const client of [
573
694
  ...clientsWithoutHtmlRequestId,
574
695
  ...clientsByHtmlRequestId.values()
@@ -793,7 +914,116 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
793
914
  appDir: opts.appDir,
794
915
  sendHmrMessage: (message)=>hotReloader.send(message),
795
916
  getActiveConnectionCount: ()=>clientsWithoutHtmlRequestId.size + clientsByHtmlRequestId.size,
796
- getDevServerUrl: ()=>process.env.__NEXT_PRIVATE_ORIGIN
917
+ getDevServerUrl: ()=>process.env.__NEXT_PRIVATE_ORIGIN,
918
+ getTurbopackProject: ()=>project,
919
+ compileRoute: async ({ routeSpecifier, path })=>{
920
+ // Resolve the caller's input to a concrete route specifier. The
921
+ // path-mode branch reuses the dev router's own live route table
922
+ // (opts.fsChecker) — the same one resolve-routes.ts consults on
923
+ // every incoming HTTP request — so first-match ordering and live
924
+ // route updates are inherited for free.
925
+ let page;
926
+ if (routeSpecifier != null) {
927
+ page = routeSpecifier;
928
+ } else if (path != null) {
929
+ const resolved = (0, _resolvepathtoroute.resolvePathToRoute)(path, {
930
+ appFiles: opts.fsChecker.appFiles,
931
+ pageFiles: opts.fsChecker.pageFiles,
932
+ dynamicRoutes: opts.fsChecker.getDynamicRoutes()
933
+ });
934
+ if ('notFound' in resolved) {
935
+ const err = Object.defineProperty(new Error(`no route matched for path "${resolved.pathname}"`), "__NEXT_ERROR_CODE", {
936
+ value: "E1277",
937
+ enumerable: false,
938
+ configurable: true
939
+ });
940
+ err.code = 'ENOENT';
941
+ throw err;
942
+ }
943
+ page = resolved.routeSpecifier;
944
+ } else {
945
+ // Tool handler rejects the empty case; defend the boundary.
946
+ throw Object.defineProperty(new Error('compileRoute: either routeSpecifier or path is required'), "__NEXT_ERROR_CODE", {
947
+ value: "E1278",
948
+ enumerable: false,
949
+ configurable: true
950
+ });
951
+ }
952
+ // ensurePage uses findPagePathData when no definition is provided,
953
+ // which calls normalizePagePath("/") → "/index" then findPageFile
954
+ // looking for "index.tsx" — neither of which matches "page.tsx" in
955
+ // the app dir. Pass a synthetic definition instead.
956
+ //
957
+ // currentEntrypoints.app is keyed by originalName which includes the
958
+ // trailing /page or /route segment (e.g. "/page" for the root route,
959
+ // "/blog/[slug]/page" for a dynamic page). Use normalizeAppPath to
960
+ // strip that suffix and find the entry matching the user-facing route.
961
+ let extraOptions = undefined;
962
+ for (const [name] of currentEntrypoints.app){
963
+ if ((0, _apppaths.normalizeAppPath)(name) === page) {
964
+ extraOptions = {
965
+ // Synthesize a definition so ensurePage bypasses findPagePathData.
966
+ // Only page and bundlePath are used from the definition:
967
+ // - page: the originalName used as the route key for currentEntrypoints lookup
968
+ // - bundlePath: must start with "app/" to set isInsideAppDir=true
969
+ definition: {
970
+ page: name,
971
+ bundlePath: `app${name}`,
972
+ filename: ''
973
+ }
974
+ };
975
+ break;
976
+ }
977
+ }
978
+ const ensureOpts = {
979
+ page,
980
+ // Compile both server and client bundles, matching what happens
981
+ // on a real page navigation. Client-only compilation isn't a
982
+ // meaningful MCP use case so we don't expose it as a knob.
983
+ clientOnly: false,
984
+ // Skip wiring HMR subscriptions: there is no client to receive
985
+ // updates for routes compiled this way, and these subscriptions
986
+ // are never unsubscribed (see TODOs in handleRouteType).
987
+ subscribeToChanges: false,
988
+ ...extraOptions
989
+ };
990
+ // Snapshot the current issue maps before compilation so we can
991
+ // identify which entry keys were added or updated by this call.
992
+ // processIssues always creates a new Map() reference, so identity
993
+ // comparison detects changes even for re-compilations.
994
+ const snapshotBefore = new Map(currentEntryIssues);
995
+ // For app-page routes, processIssues is called with throwIssue=true,
996
+ // meaning it throws ModuleBuildError when there are compile errors—but
997
+ // it still writes the issues into currentEntryIssues before throwing.
998
+ // Catch ModuleBuildError so we can read those issues and return them
999
+ // as structured output rather than propagating the throw.
1000
+ let moduleBuildError;
1001
+ try {
1002
+ await hotReloader.ensurePage(ensureOpts);
1003
+ } catch (err) {
1004
+ if (err instanceof _utils2.ModuleBuildError) {
1005
+ moduleBuildError = err;
1006
+ } else {
1007
+ throw err;
1008
+ }
1009
+ }
1010
+ const rawIssues = [];
1011
+ for (const [key, issueMap] of currentEntryIssues){
1012
+ if (snapshotBefore.get(key) !== issueMap) {
1013
+ rawIssues.push(...issueMap.values());
1014
+ }
1015
+ }
1016
+ // If ensurePage threw ModuleBuildError but we found no new issues in
1017
+ // the map (shouldn't happen, but be safe), re-surface the original
1018
+ // error so its message and stack are preserved.
1019
+ if (moduleBuildError && rawIssues.length === 0) {
1020
+ throw moduleBuildError;
1021
+ }
1022
+ return {
1023
+ routeSpecifier: page,
1024
+ issues: (0, _formatcompilationissues.formatCompilationIssues)(rawIssues)
1025
+ };
1026
+ }
797
1027
  })
798
1028
  ] : []
799
1029
  ];
@@ -962,24 +1192,15 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
962
1192
  break;
963
1193
  case 'browser-logs':
964
1194
  {
965
- const browserToTerminalConfig = nextConfig.logging && nextConfig.logging.browserToTerminal;
966
- if (browserToTerminalConfig) {
967
- await (0, _receivelogs.receiveBrowserLogsTurbopack)({
968
- entries: parsedData.entries,
969
- router: parsedData.router,
970
- sourceType: parsedData.sourceType,
971
- project,
972
- projectPath,
973
- distDir,
974
- config: browserToTerminalConfig
975
- });
976
- }
977
- break;
978
- }
979
- case 'client-file-logs':
980
- {
981
- // Always log to file regardless of terminal flag
982
- await (0, _receivelogs.handleClientFileLogs)(parsedData.logs);
1195
+ await (0, _receivelogs.receiveBrowserLogsTurbopack)({
1196
+ entries: parsedData.entries,
1197
+ router: parsedData.router,
1198
+ sourceType: parsedData.sourceType,
1199
+ project,
1200
+ projectPath,
1201
+ distDir,
1202
+ config: nextConfig.logging && nextConfig.logging.browserToTerminal || false
1203
+ });
983
1204
  break;
984
1205
  }
985
1206
  case 'ping':
@@ -1060,7 +1281,8 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
1060
1281
  devtoolsFrontendUrl
1061
1282
  },
1062
1283
  devIndicator: _devindicatorserverstate.devIndicatorServerState,
1063
- devToolsConfig
1284
+ devToolsConfig,
1285
+ requestInsights: nextConfig.experimental.requestInsights || (0, _requestinsights.isRequestInsightsEnabled)() ? (0, _requestinsights.getRequestInsightsSnapshot)() : undefined
1064
1286
  };
1065
1287
  sendToClient(client, syncMessage);
1066
1288
  })();
@@ -1075,6 +1297,15 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
1075
1297
  client.send(payload);
1076
1298
  }
1077
1299
  },
1300
+ getServerComponentsHmrRefreshHash () {
1301
+ // The current server-components generation. Only the change subscription
1302
+ // (an actual recompile) advances `hmrHash`; reloads and config
1303
+ // invalidations don't, so the value stays stable across requests until a
1304
+ // real edit. Returned unconditionally (`"0"` before the first edit) so
1305
+ // `"use cache"` keys are present and consistent for every request,
1306
+ // mirroring webpack's always-present `stats.hash`.
1307
+ return String(hmrHash);
1308
+ },
1078
1309
  sendToLegacyClients (action) {
1079
1310
  const payload = JSON.stringify(action);
1080
1311
  // Clients with a request ID are inferred App Router clients. If Cache
@@ -1205,8 +1436,7 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
1205
1436
  }
1206
1437
  await (0, _renderserver.clearAllModuleContexts)();
1207
1438
  this.send({
1208
- type: _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.SERVER_COMPONENT_CHANGES,
1209
- hash: String(++hmrHash)
1439
+ type: _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.SERVER_COMPONENT_CHANGES
1210
1440
  });
1211
1441
  }
1212
1442
  },
@@ -1215,9 +1445,9 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
1215
1445
  },
1216
1446
  async ensurePage ({ page: inputPage, // Unused parameters
1217
1447
  // clientOnly,
1218
- appPaths, definition, isApp, url: requestUrl }) {
1448
+ appPaths, definition, isApp, url: requestUrl, subscribeToChanges = true }) {
1219
1449
  // When there is no route definition this is an internal file not a route the user added.
1220
- // Middleware and instrumentation are handled in turbpack-utils.ts handleEntrypoints instead.
1450
+ // Middleware and instrumentation are handled in turbopack-utils.ts handleEntrypoints instead.
1221
1451
  if (!definition) {
1222
1452
  if (inputPage === '/middleware') return;
1223
1453
  if (inputPage === '/src/middleware') return;
@@ -1322,14 +1552,18 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
1322
1552
  productionRewrites: undefined,
1323
1553
  logErrors: true,
1324
1554
  hooks: {
1325
- subscribeToChanges: subscribeToClientChanges,
1555
+ // Pass a no-o subscribeToChanges to skip wiring HMR subscriptions for
1556
+ // one-shot compilations (e.g. compile_route MCP tool).
1557
+ subscribeToChanges: subscribeToChanges ? subscribeToClientChanges : async ()=>{},
1558
+ handleServerComponentChanges,
1326
1559
  handleWrittenEndpoint: (id, result, forceDeleteCache)=>{
1327
1560
  currentWrittenEntrypoints.set(id, result);
1328
1561
  assetMapper.setPathsForKey(id, result.clientPaths);
1329
1562
  return clearRequireCache(id, result, {
1330
1563
  force: forceDeleteCache
1331
1564
  });
1332
- }
1565
+ },
1566
+ serverFastRefresh
1333
1567
  }
1334
1568
  });
1335
1569
  } finally{
@@ -1367,12 +1601,16 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
1367
1601
  entrypoints: currentEntrypoints
1368
1602
  });
1369
1603
  async function handleProjectUpdates() {
1604
+ const BUILDING_MESSAGE_DEFER_MS = 100;
1370
1605
  for await (const updateMessage of project.updateInfoSubscribe(30)){
1371
1606
  switch(updateMessage.updateType){
1372
1607
  case 'start':
1373
1608
  {
1374
- hotReloader.send({
1375
- type: _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.BUILDING
1609
+ updateInProgress = true;
1610
+ pendingBuilding.schedule(BUILDING_MESSAGE_DEFER_MS, ()=>{
1611
+ hotReloader.send({
1612
+ type: _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.BUILDING
1613
+ });
1376
1614
  });
1377
1615
  // Mark that HMR has started and we need to call the callback after it settles
1378
1616
  // This ensures onBeforeDeferredEntries will be called again during HMR
@@ -1385,6 +1623,12 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
1385
1623
  }
1386
1624
  case 'end':
1387
1625
  {
1626
+ updateInProgress = false;
1627
+ pendingBuilding.cancel();
1628
+ if (pendingServerComponentChanges) {
1629
+ pendingServerComponentChanges = false;
1630
+ sendServerComponentChanges();
1631
+ }
1388
1632
  sendEnqueuedMessages();
1389
1633
  function addToErrorsMap(errorsMap, issueMap) {
1390
1634
  for (const [key, issue] of issueMap){
@@ -1417,7 +1661,10 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
1417
1661
  addErrors(clientErrors, state.clientIssues);
1418
1662
  sendToClient(client, {
1419
1663
  type: _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.BUILT,
1420
- hash: String(++hmrHash),
1664
+ // Report the current version without advancing it: a completed
1665
+ // compilation is not itself an edit, and this hash is not
1666
+ // consumed by the Turbopack client.
1667
+ hash: String(hmrHash),
1421
1668
  errors: [
1422
1669
  ...clientErrors.values()
1423
1670
  ],
@@ -1446,13 +1693,24 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
1446
1693
  console.error(err);
1447
1694
  process.exit(1);
1448
1695
  });
1696
+ // Tell browsers to refetch RSC (soft refresh, not full page reload).
1697
+ // Skip while there are outstanding compilation errors: an RSC refetch would
1698
+ // 500 and force a full-page navigation, losing client state (e.g. recovering
1699
+ // from a syntax error). A subsequent successful compile/apply fires this
1700
+ // again to refresh.
1701
+ function notifyServerComponentChanges() {
1702
+ if (hasCompilationErrors()) return;
1703
+ hotReloader.send({
1704
+ type: _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.SERVER_COMPONENT_CHANGES
1705
+ });
1706
+ }
1449
1707
  if (serverFastRefresh) {
1450
- serverHmrSubscriptions = setupServerHmr(project, {
1451
- clear: async ()=>{
1452
- // Clear Node's require cache of all Turbopack-built modules
1453
- const chunkPaths = [
1454
- ...(serverHmrSubscriptions == null ? void 0 : serverHmrSubscriptions.keys()) ?? []
1455
- ].map((chunkPath)=>(0, _path.join)(distDir, chunkPath));
1708
+ setupServerHmr(project, {
1709
+ reEvaluateAllModulesExpensive: async ()=>{
1710
+ // Evict every server-HMR-managed chunk from `require.cache`.
1711
+ // Trailing `sep` so e.g. `server/chunks-other/...` doesn't match.
1712
+ const serverChunksDir = (0, _path.join)(distDir, SERVER_HMR_CHUNKS_DIR) + _path.sep;
1713
+ const chunkPaths = Object.keys(require.cache).filter((p)=>p.startsWith(serverChunksDir));
1456
1714
  (0, _requirecache.deleteCache)(chunkPaths);
1457
1715
  // Clear Turbopack's runtime caches
1458
1716
  if (typeof __next__clear_chunk_cache__ === 'function') {
@@ -1461,16 +1719,34 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
1461
1719
  // Reset the server HMR handler registry. All server runtime chunks are
1462
1720
  // cleared from require.cache above; when they're next required they'll
1463
1721
  // re-register into this Map and reinstall the routing dispatcher.
1464
- ;
1465
1722
  globalThis.__turbopack_server_hmr_handlers__ = new Map();
1466
1723
  // Clear all edge contexts
1467
1724
  await (0, _renderserver.clearAllModuleContexts)();
1468
1725
  resetFetch();
1469
- // Tell browsers to refetch RSC (soft refresh, not full page reload)
1470
- hotReloader.send({
1471
- type: _hotreloadertypes.HMR_MESSAGE_SENT_TO_BROWSER.SERVER_COMPONENT_CHANGES,
1472
- hash: String(++hmrHash)
1726
+ // This thread gave up on repairing its module graph in place. The
1727
+ // validation worker cannot repair its own either, so it is dropped and
1728
+ // the next validation loads the build output afresh.
1729
+ (0, _devvalidationworkerpool.dropDevValidationWorker)();
1730
+ notifyServerComponentChanges();
1731
+ },
1732
+ onApplied: (chunkPaths)=>{
1733
+ // Clear the evalManifest() shared cache for each updated chunk so the
1734
+ // next RSC render picks up the HMR-applied module changes. Unlike
1735
+ // a full restart, this does NOT clear require.cache — the HMR-applied
1736
+ // modules in devModuleCache must persist for dep preservation.
1737
+ const manifestPaths = chunkPaths.map((chunkPath)=>(0, _path.join)(distDir, chunkPath));
1738
+ for (const manifestPath of manifestPaths){
1739
+ (0, _loadmanifestexternal.clearManifestCache)(manifestPath);
1740
+ }
1741
+ // This path clears the manifest cache without going through
1742
+ // `deleteCache`, so `onCacheInvalidation` does not report it to the
1743
+ // validation worker. Report it here instead.
1744
+ (0, _devvalidationworkerpool.mirrorModuleStateToDevValidationWorker)({
1745
+ type: 'invalidate',
1746
+ filePaths: manifestPaths,
1747
+ evictModules: false
1473
1748
  });
1749
+ notifyServerComponentChanges();
1474
1750
  }
1475
1751
  });
1476
1752
  }