failproofai 1.0.13 → 1.0.15

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 (376) hide show
  1. package/.next/standalone/.next/BUILD_ID +1 -1
  2. package/.next/standalone/.next/build-manifest.json +44 -44
  3. package/.next/standalone/.next/prerender-manifest.json +3 -3
  4. package/.next/standalone/.next/required-server-files.json +1 -1
  5. package/.next/standalone/.next/server/app/_global-error/page/build-manifest.json +6 -6
  6. package/.next/standalone/.next/server/app/_global-error/page/server-reference-manifest.json +1 -1
  7. package/.next/standalone/.next/server/app/_global-error/page.js +2 -3
  8. package/.next/standalone/.next/server/app/_global-error/page.js.nft.json +1 -1
  9. package/.next/standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  10. package/.next/standalone/.next/server/app/_global-error.html +1 -1
  11. package/.next/standalone/.next/server/app/_global-error.rsc +2 -2
  12. package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +2 -2
  13. package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +2 -2
  14. package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  15. package/.next/standalone/.next/server/app/_not-found/page/build-manifest.json +6 -6
  16. package/.next/standalone/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
  17. package/.next/standalone/.next/server/app/_not-found/page.js +3 -4
  18. package/.next/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
  19. package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  20. package/.next/standalone/.next/server/app/_not-found.html +1 -1
  21. package/.next/standalone/.next/server/app/_not-found.rsc +6 -6
  22. package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +6 -6
  23. package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -5
  24. package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  25. package/.next/standalone/.next/server/app/api/audit/invite/route.js +3 -4
  26. package/.next/standalone/.next/server/app/api/audit/invite/route.js.nft.json +1 -1
  27. package/.next/standalone/.next/server/app/api/audit/run/route.js +22 -23
  28. package/.next/standalone/.next/server/app/api/audit/run/route.js.nft.json +1 -1
  29. package/.next/standalone/.next/server/app/api/audit/status/route.js +2 -3
  30. package/.next/standalone/.next/server/app/api/audit/status/route.js.nft.json +1 -1
  31. package/.next/standalone/.next/server/app/api/auth/login-request/route.js +4 -5
  32. package/.next/standalone/.next/server/app/api/auth/login-request/route.js.nft.json +1 -1
  33. package/.next/standalone/.next/server/app/api/auth/login-verify/route.js +4 -5
  34. package/.next/standalone/.next/server/app/api/auth/login-verify/route.js.nft.json +1 -1
  35. package/.next/standalone/.next/server/app/api/auth/logout/route.js +4 -5
  36. package/.next/standalone/.next/server/app/api/auth/logout/route.js.nft.json +1 -1
  37. package/.next/standalone/.next/server/app/api/auth/status/route.js +3 -4
  38. package/.next/standalone/.next/server/app/api/auth/status/route.js.nft.json +1 -1
  39. package/.next/standalone/.next/server/app/api/download/[project]/[session]/route.js +2 -3
  40. package/.next/standalone/.next/server/app/api/download/[project]/[session]/route.js.nft.json +1 -1
  41. package/.next/standalone/.next/server/app/audit/page/build-manifest.json +6 -6
  42. package/.next/standalone/.next/server/app/audit/page/server-reference-manifest.json +2 -2
  43. package/.next/standalone/.next/server/app/audit/page.js +5 -6
  44. package/.next/standalone/.next/server/app/audit/page.js.nft.json +1 -1
  45. package/.next/standalone/.next/server/app/audit/page_client-reference-manifest.js +1 -1
  46. package/.next/standalone/.next/server/app/index.html +1 -1
  47. package/.next/standalone/.next/server/app/index.rsc +6 -6
  48. package/.next/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +5 -5
  49. package/.next/standalone/.next/server/app/index.segments/_full.segment.rsc +6 -6
  50. package/.next/standalone/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  51. package/.next/standalone/.next/server/app/page/build-manifest.json +6 -6
  52. package/.next/standalone/.next/server/app/page/server-reference-manifest.json +1 -1
  53. package/.next/standalone/.next/server/app/page.js +4 -5
  54. package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
  55. package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  56. package/.next/standalone/.next/server/app/policies/page/build-manifest.json +6 -6
  57. package/.next/standalone/.next/server/app/policies/page/server-reference-manifest.json +14 -14
  58. package/.next/standalone/.next/server/app/policies/page.js +4 -5
  59. package/.next/standalone/.next/server/app/policies/page.js.nft.json +1 -1
  60. package/.next/standalone/.next/server/app/policies/page_client-reference-manifest.js +1 -1
  61. package/.next/standalone/.next/server/app/project/[name]/page/build-manifest.json +6 -6
  62. package/.next/standalone/.next/server/app/project/[name]/page/server-reference-manifest.json +1 -1
  63. package/.next/standalone/.next/server/app/project/[name]/page.js +20 -21
  64. package/.next/standalone/.next/server/app/project/[name]/page.js.nft.json +1 -1
  65. package/.next/standalone/.next/server/app/project/[name]/page_client-reference-manifest.js +1 -1
  66. package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page/build-manifest.json +6 -6
  67. package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page/react-loadable-manifest.json +2 -2
  68. package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page/server-reference-manifest.json +2 -2
  69. package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page.js +8 -9
  70. package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page.js.nft.json +1 -1
  71. package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page_client-reference-manifest.js +1 -1
  72. package/.next/standalone/.next/server/app/projects/page/build-manifest.json +6 -6
  73. package/.next/standalone/.next/server/app/projects/page/server-reference-manifest.json +1 -1
  74. package/.next/standalone/.next/server/app/projects/page.js +6 -7
  75. package/.next/standalone/.next/server/app/projects/page.js.nft.json +1 -1
  76. package/.next/standalone/.next/server/app/projects/page_client-reference-manifest.js +1 -1
  77. package/.next/standalone/.next/server/app/settings/page/build-manifest.json +6 -6
  78. package/.next/standalone/.next/server/app/settings/page/server-reference-manifest.json +8 -8
  79. package/.next/standalone/.next/server/app/settings/page.js +3 -4
  80. package/.next/standalone/.next/server/app/settings/page.js.nft.json +1 -1
  81. package/.next/standalone/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  82. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__1a2d0ewycsp6k._.js → [externals]__0h0p9dmv_e7r7._.js} +2 -2
  83. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__1am_1tz0o0aqz._.js → [externals]__1_407huhlmj1m._.js} +2 -2
  84. package/.next/standalone/.next/server/chunks/{[root-of-the-server]__031qp1lkow_kc._.js → [externals]__1rlxpymm37wel._.js} +2 -2
  85. package/.next/standalone/.next/server/chunks/[root-of-the-server]__03s1za0hn71yp._.js +1 -1
  86. package/.next/standalone/.next/server/chunks/[root-of-the-server]__048f1wnr8pysf._.js +63 -0
  87. package/.next/standalone/.next/server/chunks/[root-of-the-server]__07a0sa6fuw5_b._.js +1 -1
  88. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0l-oi4gdtmlo5._.js +3 -0
  89. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0spt0kv8azrpl._.js +1 -1
  90. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0yvyp5b7jmlc4._.js +1 -1
  91. package/.next/standalone/.next/server/chunks/[root-of-the-server]__145vo_drnuvas._.js +1 -1
  92. package/.next/standalone/.next/server/chunks/[root-of-the-server]__1lh8c0mmhdrbj._.js +1 -1
  93. package/.next/standalone/.next/server/chunks/[root-of-the-server]__1oclamblhzhrf._.js +7 -7
  94. package/.next/standalone/.next/server/chunks/[root-of-the-server]__1qjnp3fa0e5g3._.js +3 -0
  95. package/.next/standalone/.next/server/chunks/[turbopack]_runtime.js +7 -9
  96. package/.next/standalone/.next/server/chunks/_02sa8fcu9_9xo._.js +1 -1
  97. package/.next/standalone/.next/server/chunks/_09dz7xva4ce_2._.js +18 -18
  98. package/.next/standalone/.next/server/chunks/_0hf5q4xzyg40j._.js +1 -1
  99. package/.next/standalone/.next/server/chunks/_0tovk6q0miud6._.js +1 -1
  100. package/.next/standalone/.next/server/chunks/_0trp3ycqv17cl._.js +1 -1
  101. package/.next/standalone/.next/server/chunks/_1-2owkp-1_987._.js +1 -1
  102. package/.next/standalone/.next/server/chunks/_13ltj8a9z92o8._.js +1 -1
  103. package/.next/standalone/.next/server/chunks/_15k37au70vjvg._.js +1 -1
  104. package/.next/standalone/.next/server/chunks/_18rfu4__wjhwb._.js +1 -1
  105. package/.next/standalone/.next/server/chunks/_19011-u44143j._.js +1 -1
  106. package/.next/standalone/.next/server/chunks/_1ek68lnh2daur._.js +2 -2
  107. package/.next/standalone/.next/server/chunks/_1fz8m31sndkcu._.js +1 -1
  108. package/.next/standalone/.next/server/chunks/_1ogwigfb0163w._.js +1 -1
  109. package/.next/standalone/.next/server/chunks/_1vslkoe35wok6._.js +1 -1
  110. package/.next/standalone/.next/server/chunks/lib_11qmqmccehybz._.js +1 -1
  111. package/.next/standalone/.next/server/chunks/lib_1sezqnatvr8j-._.js +1 -1
  112. package/.next/standalone/.next/server/chunks/node_modules_posthog-node_dist_entrypoints_index_node_mjs_01r25oigsgz07._.js +1 -2
  113. package/.next/standalone/.next/server/chunks/node_modules_posthog-node_dist_entrypoints_index_node_mjs_09z9-p77cu37y._.js +1 -2
  114. package/.next/standalone/.next/server/chunks/package_json_[json]_cjs_1nxcc4vkpxxu7._.js +1 -1
  115. package/.next/standalone/.next/server/chunks/src_hooks_0_em82s16zfym._.js +2 -2
  116. package/.next/standalone/.next/server/chunks/ssr/[externals]__0ilfh9mfnzsth._.js +3 -0
  117. package/.next/standalone/.next/server/chunks/ssr/[externals]__0ohnuzsaozaca._.js +3 -0
  118. package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__097i34ct1o88x._.js → [externals]__12qr51qgrrt6o._.js} +2 -2
  119. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__021vebe-4il8s._.js +1 -1
  120. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__05-glpesefmmi._.js +3 -0
  121. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__08ch3staq3ejw._.js +1 -1
  122. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0bigvy9xmv2ka._.js +1 -1
  123. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0evgy902m9h5e._.js +1 -1
  124. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0ezoipo-r7_5k._.js +14 -0
  125. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0h1jw32uvrhh0._.js +1 -1
  126. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0h86bl2qf0k_o._.js +1 -1
  127. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0pia5h3p8re4c._.js +1 -1
  128. package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__10v5cyxvj64j4._.js → [root-of-the-server]__0tfnj3v_mp6rv._.js} +1 -1
  129. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-9s1nsw-5q8o._.js +1 -1
  130. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1-ey9fgesfbc0._.js +1 -1
  131. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__15bi9em2xe0x2._.js +1 -1
  132. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__15usvs-ms-0hf._.js +1 -1
  133. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__16gb3_92zvk5x._.js +1 -1
  134. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1avi2kypusyb_._.js +1 -1
  135. package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__20dt376-socef._.js → [root-of-the-server]__1e00l_e_8r_-g._.js} +1 -1
  136. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1mc9-zlnh656_._.js +1 -1
  137. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1ob2uzmms1adf._.js +1 -1
  138. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1r7drlqli-ado._.js +1 -1
  139. package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__0ed1zh4scn7-k._.js → [root-of-the-server]__1tq3x9i_3_860._.js} +1 -1
  140. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1utel1l1-u64v._.js +3 -0
  141. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1vofkb2oq7p7e._.js +1 -1
  142. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1vxwetblyf8vp._.js +1 -1
  143. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__2158020r_amn9._.js +1 -1
  144. package/.next/standalone/.next/server/chunks/ssr/[turbopack]_runtime.js +7 -9
  145. package/.next/standalone/.next/server/chunks/ssr/_0-f9uotv7v2n9._.js +1 -1
  146. package/.next/standalone/.next/server/chunks/ssr/_00e4_rvim31u_._.js +1 -1
  147. package/.next/standalone/.next/server/chunks/ssr/_0bseae9u7g98r._.js +1 -1
  148. package/.next/standalone/.next/server/chunks/ssr/_0eoura3_9gjb-._.js +2 -2
  149. package/.next/standalone/.next/server/chunks/ssr/_0ge1hz9485xpp._.js +3 -0
  150. package/.next/standalone/.next/server/chunks/ssr/_0kqw2_f1ywmpo._.js +1 -1
  151. package/.next/standalone/.next/server/chunks/ssr/_0mouhaflye1ro._.js +1 -1
  152. package/.next/standalone/.next/server/chunks/ssr/_0ouu886szh6yj._.js +10 -10
  153. package/.next/standalone/.next/server/chunks/ssr/_0pedwblqdoh58._.js +1 -1
  154. package/.next/standalone/.next/server/chunks/ssr/_0tfqha481f033._.js +2 -2
  155. package/.next/standalone/.next/server/chunks/ssr/_1_ozgifqv1ssi._.js +1 -1
  156. package/.next/standalone/.next/server/chunks/ssr/_1a516zcgtqius._.js +1 -1
  157. package/.next/standalone/.next/server/chunks/ssr/_1ddpc5gj57uuf._.js +1 -1
  158. package/.next/standalone/.next/server/chunks/ssr/_1djqs9i27e4kg._.js +1 -1
  159. package/.next/standalone/.next/server/chunks/ssr/_1ew6ra24vt-ij._.js +1 -1
  160. package/.next/standalone/.next/server/chunks/ssr/_1or8gixmrpv5i._.js +1 -1
  161. package/.next/standalone/.next/server/chunks/ssr/_1s8zk-upxzp00._.js +1 -1
  162. package/.next/standalone/.next/server/chunks/ssr/_1u9tpla2o6utw._.js +1 -1
  163. package/.next/standalone/.next/server/chunks/ssr/_1v4_ul3sj2lq_._.js +1 -1
  164. package/.next/standalone/.next/server/chunks/ssr/_1y3xzro8ca8t6._.js +1 -1
  165. package/.next/standalone/.next/server/chunks/ssr/_20hn4gn87nsjc._.js +1 -1
  166. package/.next/standalone/.next/server/chunks/ssr/_next-internal_server_app_policies_page_actions_1sp2-yo5_vm5f.js +2 -2
  167. package/.next/standalone/.next/server/chunks/ssr/app_087bt9wus25zs._.js +1 -1
  168. package/.next/standalone/.next/server/chunks/ssr/app_0trz6ik19xz5_._.js +1 -1
  169. package/.next/standalone/.next/server/chunks/ssr/app_1fvisnppn1unv._.js +1 -1
  170. package/.next/standalone/.next/server/chunks/ssr/app_209u41o446my6._.js +1 -1
  171. package/.next/standalone/.next/server/chunks/ssr/app_actions_get-scheduled-audit_ts_0ei9snixb5fd-._.js +1 -1
  172. package/.next/standalone/.next/server/chunks/ssr/app_audit_0hku_y73ischw._.js +1 -1
  173. package/.next/standalone/.next/server/chunks/ssr/app_audit__components_audit-dashboard_tsx_0p9ud47q0xq5w._.js +1 -1
  174. package/.next/standalone/.next/server/chunks/ssr/app_global-error_tsx_1kp6l3x33jqb6._.js +1 -1
  175. package/.next/standalone/.next/server/chunks/ssr/app_policies_hooks-client_tsx_19dqvpcz0uxur._.js +1 -1
  176. package/.next/standalone/.next/server/chunks/ssr/app_settings_02tf1h47jmhhd._.js +1 -1
  177. package/.next/standalone/.next/server/chunks/ssr/lib_16jvhmthj_k3a._.js +1 -1
  178. package/.next/standalone/.next/server/chunks/ssr/node_modules_05vgn62--7c5e._.js +1 -1
  179. package/.next/standalone/.next/server/chunks/ssr/node_modules_0dad4au22rq0p._.js +1 -1
  180. package/.next/standalone/.next/server/chunks/ssr/node_modules_0gxlxpuufujz9._.js +2 -2
  181. package/.next/standalone/.next/server/chunks/ssr/node_modules_0ptcnmeaxvd_a._.js +2 -2
  182. package/.next/standalone/.next/server/chunks/ssr/{node_modules_html-to-image_es_index_1cmkmhnty0-x7.js → node_modules_html-to-image_es_index_0e3yg5gbcfsai.js} +1 -1
  183. package/.next/standalone/.next/server/chunks/ssr/node_modules_next_0bz67659f5z-3._.js +4 -4
  184. package/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_0-amwqbrge23p._.js +6 -0
  185. package/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_0ocrceo0c9psx._.js +4 -4
  186. package/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_1alv566ojmz5j._.js +4 -4
  187. package/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_1et9oq9q9-y3v._.js +1 -1
  188. package/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_1khq67j4vo9y4._.js +1 -1
  189. package/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j32_ibz4._.js +1 -1
  190. package/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_shared_lib_0ftnv26hg1lry._.js +1 -1
  191. package/.next/standalone/.next/server/chunks/ssr/node_modules_posthog-node_dist_entrypoints_index_node_mjs_0dagmbznysrc2._.js +1 -1
  192. package/.next/standalone/.next/server/chunks/ssr/node_modules_posthog-node_dist_entrypoints_index_node_mjs_11bnuznb72p7z._.js +1 -2
  193. package/.next/standalone/.next/server/chunks/ssr/package_json_[json]_cjs_013tntikdft59._.js +1 -1
  194. package/.next/standalone/.next/server/chunks/ssr/src_hooks_0-q0ummbuhlg5._.js +1 -1
  195. package/.next/standalone/.next/server/chunks/ssr/src_hooks_06kzv9ddabn3_._.js +2 -2
  196. package/.next/standalone/.next/server/chunks/ssr/src_hooks_0agdmptetetdt._.js +2 -2
  197. package/.next/standalone/.next/server/chunks/ssr/src_hooks_0g194syq7r7ql._.js +1 -1
  198. package/.next/standalone/.next/server/chunks/ssr/src_hooks_0mdwgjisv4fub._.js +2 -2
  199. package/.next/standalone/.next/server/chunks/ssr/src_hooks_1cv9_c4l1tzrm._.js +2 -2
  200. package/.next/standalone/.next/server/chunks/ssr/src_hooks_1kx9e0dx_1-8o._.js +1 -1
  201. package/.next/standalone/.next/server/middleware-build-manifest.js +44 -44
  202. package/.next/standalone/.next/server/pages/404.html +1 -1
  203. package/.next/standalone/.next/server/pages/500.html +1 -1
  204. package/.next/standalone/.next/server/preview-props.json +3 -3
  205. package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
  206. package/.next/standalone/.next/server/server-reference-manifest.json +23 -23
  207. package/.next/standalone/.next/static/chunks/05g1pu2r8o5q3.js +1 -0
  208. package/.next/standalone/.next/static/chunks/{0mm-e5t9denbu.js → 098vx6twrn-vk.js} +1 -1
  209. package/.next/standalone/.next/static/chunks/0oxlfb02aqo3e.js +1 -0
  210. package/.next/standalone/.next/static/chunks/0p14j2e6dnj1x.js +1 -0
  211. package/.next/standalone/.next/static/chunks/0tiuj32d-qcy3.js +1 -0
  212. package/.next/standalone/.next/static/chunks/0ztuix-ip2oiv.js +1 -0
  213. package/.next/standalone/.next/static/chunks/12ys9uaq6i1h2.js +6 -0
  214. package/.next/standalone/.next/static/chunks/1dudxmlwx2n3q.js +1 -0
  215. package/.next/standalone/.next/static/chunks/1i9zuw01f0ogt.js +22 -0
  216. package/.next/standalone/.next/static/chunks/1osrmi14e2jub.js +1 -0
  217. package/.next/standalone/.next/static/chunks/2hqfk_jgesiw2.js +1 -0
  218. package/.next/standalone/.next/static/chunks/2k6xp6kdy7lmd.js +1 -0
  219. package/.next/standalone/.next/static/chunks/2o8j51ujh1ox4.js +1 -0
  220. package/.next/standalone/.next/static/chunks/2zwsbp8xyfv__.js +1 -0
  221. package/.next/standalone/.next/static/chunks/34rjkinfk6d4p.js +31 -0
  222. package/.next/standalone/.next/static/chunks/38lnk75xvqiug.js +1 -0
  223. package/.next/standalone/.next/static/chunks/{1-0se0uwja_ny.js → 3d6_vjbvr0c2n.js} +1 -1
  224. package/.next/standalone/.next/static/chunks/3i_9ugyh1q1o1.js +1 -0
  225. package/.next/standalone/.next/static/chunks/3o30fiw7llng3.js +1 -0
  226. package/.next/standalone/.next/static/chunks/41ujrab732qi3.css +2 -0
  227. package/.next/standalone/.next/static/chunks/436g_rqa42mr7.js +1 -0
  228. package/.next/standalone/.next/static/chunks/436nql0jk__xy.js +1 -0
  229. package/.next/standalone/.next/static/chunks/{turbopack-3-ry682tkyiqk.js → turbopack-2u1d16houkiyo.js} +1 -1
  230. package/.next/standalone/SECURITY.md +19 -4
  231. package/.next/standalone/assets/logos/failproof-dark.png +0 -0
  232. package/.next/standalone/assets/logos/failproof-light.png +0 -0
  233. package/.next/standalone/fp-cloud-cli/CHANGELOG.md +34 -3
  234. package/.next/standalone/fp-cloud-cli/README.md +14 -7
  235. package/.next/standalone/fp-cloud-cli/fp_cli/_version.py +1 -1
  236. package/.next/standalone/fp-cloud-cli/fp_cli/app.py +2 -8
  237. package/.next/standalone/fp-cloud-cli/fp_cli/auth.py +325 -3
  238. package/.next/standalone/fp-cloud-cli/fp_cli/cloud_output.py +3 -3
  239. package/.next/standalone/fp-cloud-cli/fp_cli/commands/account_cmds.py +1 -11
  240. package/.next/standalone/fp-cloud-cli/fp_cli/commands/auth_cmds.py +218 -51
  241. package/.next/standalone/fp-cloud-cli/fp_cli/commands/orgs_cmds.py +1 -1
  242. package/.next/standalone/fp-cloud-cli/fp_cli/output.py +112 -135
  243. package/.next/standalone/fp-cloud-cli/fp_cli/permissions.py +10 -1
  244. package/.next/standalone/fp-cloud-cli/fp_cli/select.py +85 -6
  245. package/.next/standalone/fp-cloud-cli/fp_cli/theme.py +21 -21
  246. package/.next/standalone/fp-cloud-cli/pyproject.toml +1 -1
  247. package/.next/standalone/fp-cloud-cli/skill/SKILL.md +4 -4
  248. package/.next/standalone/fp-cloud-cli/skill/references/commands.md +4 -4
  249. package/.next/standalone/fp-cloud-cli/tests/fake_cloud_smoke.py +2 -2
  250. package/.next/standalone/fp-cloud-cli/tests/test_browser_login.py +943 -0
  251. package/.next/standalone/fp-cloud-cli/tests/test_cloud_account.py +0 -2
  252. package/.next/standalone/fp-cloud-cli/tests/test_cloud_agent.py +4 -8
  253. package/.next/standalone/fp-cloud-cli/tests/test_cloud_human_views.py +0 -4
  254. package/.next/standalone/fp-cloud-cli/tests/test_commands.py +3 -3
  255. package/.next/standalone/fp-cloud-cli/tests/test_dashboards_agent.py +3 -3
  256. package/.next/standalone/fp-cloud-cli/tests/test_facets.py +1 -1
  257. package/.next/standalone/fp-cloud-cli/tests/test_keys_queries.py +19 -2
  258. package/.next/standalone/fp-cloud-cli/tests/test_operator.py +1 -1
  259. package/.next/standalone/fp-cloud-cli/tests/test_orgs.py +1 -1
  260. package/.next/standalone/fp-cloud-cli/tests/test_output.py +19 -19
  261. package/.next/standalone/fp-cloud-cli/tests/test_round4_behaviour.py +3 -2
  262. package/.next/standalone/fp-cloud-cli/tests/test_screen_language.py +86 -25
  263. package/.next/standalone/fp-cloud-cli/tests/test_whoami.py +1 -1
  264. package/.next/standalone/fp-cloud-cli/uv.lock +200 -13
  265. package/.next/standalone/hermes-plugin/plugin.yaml +1 -1
  266. package/.next/standalone/node_modules/@next/env/package.json +1 -1
  267. package/.next/standalone/node_modules/next/dist/build/swc/index.js +1 -1
  268. package/.next/standalone/node_modules/next/dist/compiled/fast-jwt/index.js +3 -0
  269. package/.next/standalone/node_modules/next/dist/compiled/fast-jwt/package.json +1 -0
  270. package/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +23 -23
  271. package/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +23 -23
  272. package/.next/standalone/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js +1 -1
  273. package/.next/standalone/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +7 -7
  274. package/.next/standalone/node_modules/next/dist/lib/patch-incorrect-lockfile.js +3 -3
  275. package/.next/standalone/node_modules/next/dist/server/api-utils/node/api-resolver.js +8 -5
  276. package/.next/standalone/node_modules/next/dist/server/api-utils/node/try-get-preview-data.js +8 -2
  277. package/.next/standalone/node_modules/next/dist/server/app-render/app-render.js +52 -14
  278. package/.next/standalone/node_modules/next/dist/server/app-render/async-local-storage.js +1 -1
  279. package/.next/standalone/node_modules/next/dist/server/app-render/get-script-nonce-from-header.js +19 -3
  280. package/.next/standalone/node_modules/next/dist/server/app-render/turbopack-bootstrap-script.js +50 -0
  281. package/.next/standalone/node_modules/next/dist/server/base-http/node.js +7 -2
  282. package/.next/standalone/node_modules/next/dist/server/base-server.js +8 -0
  283. package/.next/standalone/node_modules/next/dist/server/config.js +1 -1
  284. package/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +59 -10
  285. package/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1 -1
  286. package/.next/standalone/node_modules/next/dist/server/dev/turbopack-utils.js +15 -0
  287. package/.next/standalone/node_modules/next/dist/server/image-optimizer/detect-content-type.js +24 -20
  288. package/.next/standalone/node_modules/next/dist/server/lib/app-info-log.js +1 -1
  289. package/.next/standalone/node_modules/next/dist/server/lib/dev-bundler-service.js +3 -0
  290. package/.next/standalone/node_modules/next/dist/server/lib/router-server.js +1 -1
  291. package/.next/standalone/node_modules/next/dist/server/lib/start-server.js +1 -1
  292. package/.next/standalone/node_modules/next/dist/server/lib/trace/tracer.js +1 -1
  293. package/.next/standalone/node_modules/next/dist/server/next-server.js +10 -2
  294. package/.next/standalone/node_modules/next/dist/server/render.js +2 -2
  295. package/.next/standalone/node_modules/next/dist/server/route-modules/app-page/parse-request-headers.js +1 -2
  296. package/.next/standalone/node_modules/next/dist/server/send-response.js +12 -0
  297. package/.next/standalone/node_modules/next/dist/server/use-cache/use-cache-wrapper.js +69 -6
  298. package/.next/standalone/node_modules/next/dist/server/web/adapter.js +5 -1
  299. package/.next/standalone/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
  300. package/.next/standalone/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
  301. package/.next/standalone/node_modules/next/dist/telemetry/events/version.js +2 -2
  302. package/.next/standalone/node_modules/next/package.json +10 -10
  303. package/.next/standalone/package.json +12 -12
  304. package/.next/standalone/sdk/python/skill/SKILL.md +5 -0
  305. package/.next/standalone/sdk/python/uv.lock +79 -47
  306. package/.next/standalone/sdk/typescript/CHANGELOG.md +48 -5
  307. package/.next/standalone/sdk/typescript/integration/fixtures/langchain-dup-core/package-lock.json +0 -9
  308. package/.next/standalone/sdk/typescript/integration/fixtures/langchain-dup-core/package.json +2 -1
  309. package/.next/standalone/sdk/typescript/integration/fixtures/llamaindex-0.11/package-lock.json +72 -44
  310. package/.next/standalone/sdk/typescript/integration/fixtures/llamaindex-0.11/package.json +2 -1
  311. package/.next/standalone/sdk/typescript/integration/fixtures/llamaindex-0.12/package-lock.json +72 -44
  312. package/.next/standalone/sdk/typescript/integration/fixtures/llamaindex-0.12/package.json +3 -0
  313. package/.next/standalone/sdk/typescript/integration/fixtures/mastra-0/package-lock.json +18 -332
  314. package/.next/standalone/sdk/typescript/integration/fixtures/mastra-0/package.json +4 -2
  315. package/.next/standalone/sdk/typescript/integration/fixtures/mastra-1/package-lock.json +925 -296
  316. package/.next/standalone/sdk/typescript/integration/fixtures/mastra-1/package.json +3 -8
  317. package/.next/standalone/sdk/typescript/integration/fixtures/nextjs/package-lock.json +319 -317
  318. package/.next/standalone/sdk/typescript/integration/fixtures/nextjs/package.json +3 -3
  319. package/.next/standalone/server.js +1 -1
  320. package/README.md +174 -83
  321. package/dist/cli.mjs +23 -13
  322. package/dist/worker.mjs +1 -1
  323. package/hermes-plugin/plugin.yaml +1 -1
  324. package/openclaw-plugin/daemon-client.js +95 -26
  325. package/openclaw-plugin/hooks.js +4 -1
  326. package/package.json +12 -12
  327. package/src/hooks/delivery-health.ts +11 -1
  328. package/.next/standalone/.next/server/chunks/[root-of-the-server]__038kwryp970nh._.js +0 -3
  329. package/.next/standalone/.next/server/chunks/[root-of-the-server]__08atcie7jzswm._.js +0 -3
  330. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0car70pylmvor._.js +0 -3
  331. package/.next/standalone/.next/server/chunks/[root-of-the-server]__1j6kfp0vzu5rw._.js +0 -3
  332. package/.next/standalone/.next/server/chunks/[root-of-the-server]__1l0ayum_hqqsw._.js +0 -3
  333. package/.next/standalone/.next/server/chunks/[root-of-the-server]__1o9rznwc0w7og._.js +0 -3
  334. package/.next/standalone/.next/server/chunks/[root-of-the-server]__1v1-l-83czzsr._.js +0 -63
  335. package/.next/standalone/.next/server/chunks/node_modules_@opentelemetry_api_build_esm_index_0oo58a7rymoxh.js +0 -3
  336. package/.next/standalone/.next/server/chunks/node_modules_@opentelemetry_api_build_esm_index_1jp9ij0_ddtgk.js +0 -3
  337. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__075uro8t92s0_._.js +0 -14
  338. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0alpzjn3450sr._.js +0 -3
  339. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0aup10z2o8zc1._.js +0 -3
  340. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0bioghlkjf7s7._.js +0 -3
  341. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0nhm28v58ty9z._.js +0 -3
  342. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0vse4qi496ol-._.js +0 -3
  343. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__190xwrr5zrfi3._.js +0 -3
  344. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1guwlpkyurdn9._.js +0 -3
  345. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1jq2bh84rafc7._.js +0 -3
  346. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1k96jctukf65_._.js +0 -3
  347. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1sj-wn2jp6va5._.js +0 -3
  348. package/.next/standalone/.next/server/chunks/ssr/_100nvr7rei3us._.js +0 -3
  349. package/.next/standalone/.next/server/chunks/ssr/node_modules_@opentelemetry_api_build_esm_index_0ntwr8lzj6p2i.js +0 -3
  350. package/.next/standalone/.next/server/chunks/ssr/node_modules_next_dist_0janj0i6dqko7._.js +0 -6
  351. package/.next/standalone/.next/static/chunks/0rucj5pu307i4.js +0 -1
  352. package/.next/standalone/.next/static/chunks/1024g0jaymm46.js +0 -1
  353. package/.next/standalone/.next/static/chunks/165ezyyx0j1ft.js +0 -22
  354. package/.next/standalone/.next/static/chunks/173vw1xs-5m5g.js +0 -1
  355. package/.next/standalone/.next/static/chunks/20cme7d6wv6md.js +0 -1
  356. package/.next/standalone/.next/static/chunks/26c4gmdpsthv6.css +0 -2
  357. package/.next/standalone/.next/static/chunks/2_sj5ssr_m_wm.js +0 -1
  358. package/.next/standalone/.next/static/chunks/2mz-k_jt_76xt.js +0 -1
  359. package/.next/standalone/.next/static/chunks/2ojf3r8g4tn7s.js +0 -1
  360. package/.next/standalone/.next/static/chunks/2tjfp9dirxnku.js +0 -1
  361. package/.next/standalone/.next/static/chunks/2u1m0f-wnhz44.js +0 -1
  362. package/.next/standalone/.next/static/chunks/2ytnb83xmjn3u.js +0 -1
  363. package/.next/standalone/.next/static/chunks/2zyrjasvbmwpq.js +0 -1
  364. package/.next/standalone/.next/static/chunks/31fan-ze541d1.js +0 -1
  365. package/.next/standalone/.next/static/chunks/32s3y34p0t2pe.js +0 -1
  366. package/.next/standalone/.next/static/chunks/36re0fegaocq-.js +0 -1
  367. package/.next/standalone/.next/static/chunks/3fhk60ouw_ae6.js +0 -1
  368. package/.next/standalone/.next/static/chunks/3xgxl1s_in776.js +0 -31
  369. package/.next/standalone/.next/static/chunks/40g_e46c1-j4k.js +0 -6
  370. package/.next/standalone/.next/static/chunks/44yz8zx53euy1.js +0 -1
  371. package/.next/standalone/node_modules/next/dist/compiled/jsonwebtoken/index.js +0 -11
  372. package/.next/standalone/node_modules/next/dist/compiled/jsonwebtoken/package.json +0 -1
  373. package/.next/standalone/node_modules/next/dist/lib/semver-noop.js +0 -18
  374. /package/.next/standalone/.next/static/{4MgI0mZP1iVhhocpUivMm → -AugwIGiiIYcahO4J7mdM}/_buildManifest.js +0 -0
  375. /package/.next/standalone/.next/static/{4MgI0mZP1iVhhocpUivMm → -AugwIGiiIYcahO4J7mdM}/_clientMiddlewareManifest.js +0 -0
  376. /package/.next/standalone/.next/static/{4MgI0mZP1iVhhocpUivMm → -AugwIGiiIYcahO4J7mdM}/_ssgManifest.js +0 -0
@@ -10,6 +10,26 @@ Object.defineProperty(exports, "detectContentType", {
10
10
  });
11
11
  const _detector = require("next/dist/compiled/image-detector/detector.js");
12
12
  const _imagetype = require("./image-type");
13
+ /**
14
+ * ISOBMFF files (AVIF, HEIC) start with an `ftyp` box: a 4-byte big-endian
15
+ * box size, the box type "ftyp", then the major brand. Validating the box
16
+ * size keeps text documents from matching the brand bytes at offset 4, e.g.
17
+ * an SVG starting with the XML comment `<!--ftypavif-->`.
18
+ */ function hasFtypBox(buffer, brand) {
19
+ if (buffer.byteLength < 12) {
20
+ return false;
21
+ }
22
+ const boxSize = buffer.readUInt32BE(0);
23
+ if (boxSize < 16 || boxSize > buffer.byteLength) {
24
+ return false;
25
+ }
26
+ return [
27
+ 0x66,
28
+ 0x74,
29
+ 0x79,
30
+ 0x70
31
+ ].every((b, i)=>buffer[i + 4] === b) && brand.every((b, i)=>buffer[i + 8] === b);
32
+ }
13
33
  async function detectContentType(buffer) {
14
34
  if (buffer.byteLength === 0) {
15
35
  return null;
@@ -74,20 +94,12 @@ async function detectContentType(buffer) {
74
94
  ].every((b, i)=>buffer[i] === b)) {
75
95
  return _imagetype.SVG;
76
96
  }
77
- if ([
78
- 0,
79
- 0,
80
- 0,
81
- 0,
82
- 0x66,
83
- 0x74,
84
- 0x79,
85
- 0x70,
97
+ if (hasFtypBox(buffer, [
86
98
  0x61,
87
99
  0x76,
88
100
  0x69,
89
101
  0x66
90
- ].every((b, i)=>!b || buffer[i] === b)) {
102
+ ])) {
91
103
  return _imagetype.AVIF;
92
104
  }
93
105
  if ([
@@ -142,20 +154,12 @@ async function detectContentType(buffer) {
142
154
  ].every((b, i)=>buffer[i] === b)) {
143
155
  return _imagetype.JXL;
144
156
  }
145
- if ([
146
- 0,
147
- 0,
148
- 0,
149
- 0,
150
- 0x66,
151
- 0x74,
152
- 0x79,
153
- 0x70,
157
+ if (hasFtypBox(buffer, [
154
158
  0x68,
155
159
  0x65,
156
160
  0x69,
157
161
  0x63
158
- ].every((b, i)=>!b || buffer[i] === b)) {
162
+ ])) {
159
163
  return _imagetype.HEIC;
160
164
  }
161
165
  if ([
@@ -83,7 +83,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
83
83
  }
84
84
  function logStartInfo({ networkUrl, appUrl, envInfo, logBundler }) {
85
85
  const versionSuffix = logBundler ? ` (${(0, _bundler.bundlerName)((0, _bundler.getBundlerFromEnv)())})` : '';
86
- _log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"16.4.3"}`))}${versionSuffix}`);
86
+ _log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"16.4.6"}`))}${versionSuffix}`);
87
87
  if (appUrl) {
88
88
  _log.bootstrap(`- Local: ${appUrl}`);
89
89
  }
@@ -45,6 +45,9 @@ class DevBundlerService {
45
45
  });
46
46
  }
47
47
  }
48
+ getClientHmrVersion() {
49
+ return this.bundler.hotReloader.getClientHmrVersion == null ? void 0 : this.bundler.hotReloader.getClientHmrVersion.call(this.bundler.hotReloader);
50
+ }
48
51
  getServerComponentsHmrRefreshHash() {
49
52
  return this.bundler.hotReloader.getServerComponentsHmrRefreshHash();
50
53
  }
@@ -173,7 +173,7 @@ async function initialize(opts) {
173
173
  if (developmentConfig.experimental.agentUpgrade === 'security' || developmentConfig.experimental.agentUpgrade === 'latest' || developmentConfig.experimental.agentUpgrade === 'experimental-future' || process.env.__NEXT_AGENT_UPGRADE || process.env.__NEXT_AGENT_UPGRADE_FORCE_DEVTOOLS_FOR_TESTING === '1') {
174
174
  const { nudgeUpgrade, getUpgradeContext, assessUpgrade } = require('../../lib/upgrade/nudge');
175
175
  const upgradeContext = getUpgradeContext(developmentConfig);
176
- const installedVersion = "16.4.3" || 'unknown';
176
+ const installedVersion = "16.4.6" || 'unknown';
177
177
  const policy = upgradeContext.experimental.agentUpgrade;
178
178
  const forced = process.env.__NEXT_AGENT_UPGRADE === policy;
179
179
  const forceDevToolsForTesting = process.env.__NEXT_AGENT_UPGRADE_FORCE_DEVTOOLS_FOR_TESTING === '1';
@@ -174,7 +174,7 @@ async function getRequestHandlers({ dir, port, isDev, onDevServerCleanup, server
174
174
  async function startServer(serverOptions) {
175
175
  const { dir, isDev, hostname, minimalMode, allowRetry, keepAliveTimeout, selfSignedCertificate, serverFastRefresh } = serverOptions;
176
176
  let { port } = serverOptions;
177
- process.title = `next-server (v${"16.4.3"})`;
177
+ process.title = `next-server (v${"16.4.6"})`;
178
178
  let handlersReady = ()=>{};
179
179
  let handlersError = ()=>{};
180
180
  let handlersPromise = new Promise((resolve, reject)=>{
@@ -110,7 +110,7 @@ class NextTracerImpl {
110
110
  * Since wrap / trace can be defined in any place prior to actual trace subscriber initialization,
111
111
  * This should be lazily evaluated.
112
112
  */ getTracerInstance() {
113
- return trace.getTracer('next.js', "16.4.3");
113
+ return trace.getTracer('next.js', "16.4.6");
114
114
  }
115
115
  isOpenTelemetryEnabled() {
116
116
  var _tracerProvider_getDelegate_constructor, _tracerProvider_getDelegate;
@@ -403,7 +403,10 @@ class NextNodeServer extends _baseserver.default {
403
403
  throw new _tracer.BubbledError(true, result);
404
404
  }
405
405
  for (const [key, value] of Object.entries((0, _utils1.toNodeOutgoingHttpHeaders)(result.response.headers))){
406
- if (key !== 'content-encoding' && value !== undefined) {
406
+ // The body may have been transparently decoded, so the framing
407
+ // headers of the encoded body no longer apply. Matches
408
+ // FORBIDDEN_HEADERS in send-response.ts.
409
+ if (key !== 'content-length' && key !== 'content-encoding' && key !== 'transfer-encoding' && value !== undefined) {
407
410
  res.setHeader(key, value);
408
411
  }
409
412
  }
@@ -1385,8 +1388,13 @@ class NextNodeServer extends _baseserver.default {
1385
1388
  }
1386
1389
  // TODO: (wyattjoh) investigate improving this
1387
1390
  result.response.headers.forEach((value, key)=>{
1391
+ const lowerKey = key.toLowerCase();
1392
+ // `x-middleware-set-cookie` is an internal header not needed for the response
1393
+ if (lowerKey === 'x-middleware-set-cookie') {
1394
+ return;
1395
+ }
1388
1396
  // The append handling is special cased for `set-cookie`.
1389
- if (key.toLowerCase() === 'set-cookie') {
1397
+ if (lowerKey === 'set-cookie') {
1390
1398
  // TODO: (wyattjoh) replace with native response iteration when we can upgrade undici
1391
1399
  for (const cookie of (0, _utils1.splitCookiesString)(value)){
1392
1400
  params.res.appendHeader(key, cookie);
@@ -342,8 +342,7 @@ async function renderToHTMLImpl(req, res, pathname, query, renderOpts, extra, sh
342
342
  if (hasPageScripts) {
343
343
  initialScripts.beforeInteractive = [].concat(hasPageScripts()).filter((script)=>script.props.strategy === 'beforeInteractive').map((script)=>script.props);
344
344
  }
345
- const csp = req.headers['content-security-policy'] || req.headers['content-security-policy-report-only'];
346
- const nonce = typeof csp === 'string' ? (0, _getscriptnoncefromheader.getScriptNonceFromHeader)(csp) : undefined;
345
+ const nonce = (0, _getscriptnoncefromheader.getScriptNonceFromHeaders)(req.headers);
347
346
  const AppContainer = ({ children })=>/*#__PURE__*/ (0, _jsxruntime.jsx)(_approutercontextsharedruntime.AppRouterContext.Provider, {
348
347
  value: appRouter,
349
348
  children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_hooksclientcontextsharedruntime.SearchParamsContext.Provider, {
@@ -906,6 +905,7 @@ async function renderToHTMLImpl(req, res, pathname, query, renderOpts, extra, sh
906
905
  const docComponentsRendered = {};
907
906
  const { assetPrefix, defaultLocale, disableOptimizedLoading, domainLocales, locale, locales } = renderOpts;
908
907
  const htmlProps = {
908
+ initialHmrVersion: process.env.__NEXT_DEV_SERVER ? (0, _requestmeta.getRequestMeta)(req, 'initialHmrVersion') : undefined,
909
909
  __NEXT_DATA__: {
910
910
  props,
911
911
  page: pathname,
@@ -27,8 +27,7 @@ function parseRequestHeaders(headers, options) {
27
27
  const flightRouterState = shouldProvideFlightRouterState ? (0, _parseandvalidateflightrouterstate.parseAndValidateFlightRouterState)(headers[_approuterheaders.NEXT_ROUTER_STATE_TREE_HEADER]) : undefined;
28
28
  // Checks if this is a prefetch of the Route Tree by the Segment Cache
29
29
  const isRouteTreePrefetchRequest = isRSCRequest && headers[_approuterheaders.NEXT_ROUTER_SEGMENT_PREFETCH_HEADER] === '/_tree';
30
- const csp = headers['content-security-policy'] || headers['content-security-policy-report-only'];
31
- const nonce = typeof csp === 'string' ? (0, _getscriptnoncefromheader.getScriptNonceFromHeader)(csp) : undefined;
30
+ const nonce = (0, _getscriptnoncefromheader.getScriptNonceFromHeaders)(headers);
32
31
  const previouslyRevalidatedTags = (0, _serverutils.getPreviouslyRevalidatedTags)(headers, options.previewModeId);
33
32
  let requestId;
34
33
  let htmlRequestId;
@@ -11,6 +11,15 @@ Object.defineProperty(exports, "sendResponse", {
11
11
  const _helpers = require("./base-http/helpers");
12
12
  const _pipereadable = require("./pipe-readable");
13
13
  const _utils = require("./web/utils");
14
+ // The body may have been transparently decoded (e.g. fetch decompresses a
15
+ // gzip body but preserves the original headers), in which case forwarding
16
+ // these headers produces invalid response framing. Matches FORBIDDEN_HEADERS
17
+ // in web/sandbox/sandbox.ts.
18
+ const FORBIDDEN_HEADERS = [
19
+ 'content-length',
20
+ 'content-encoding',
21
+ 'transfer-encoding'
22
+ ];
14
23
  async function sendResponse(req, res, response, waitUntil) {
15
24
  if (// The type check here ensures that `req` is correctly typed, and the
16
25
  // environment variable check provides dead code elimination.
@@ -37,6 +46,9 @@ async function sendResponse(req, res, response, waitUntil) {
37
46
  if (name.toLowerCase() === 'x-middleware-set-cookie') {
38
47
  return;
39
48
  }
49
+ if (FORBIDDEN_HEADERS.includes(name)) {
50
+ return;
51
+ }
40
52
  // The append handling is special cased for `set-cookie`.
41
53
  if (name.toLowerCase() === 'set-cookie') {
42
54
  // TODO: (wyattjoh) replace with native response iteration when we can upgrade undici
@@ -84,7 +84,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
84
84
  }
85
85
  return newObj;
86
86
  }
87
- const nextVersion = "16.4.3";
87
+ const nextVersion = "16.4.6";
88
88
  /**
89
89
  * Encapsulates a pending cache invocation for deduping. Manages lazy stream
90
90
  * tee-ing (via fork()) and metadata access for both intra-request and
@@ -208,6 +208,12 @@ function computeRootParamsCacheKeySuffix(rootParams, paramNames) {
208
208
  rootParams[paramName]
209
209
  ]));
210
210
  }
211
+ function createRootParamsUnavailableError(route, rootParamNames) {
212
+ const paramNames = [
213
+ ...rootParamNames
214
+ ].sort().join(', ');
215
+ return new Error(`Route ${route} used root params (${paramNames}) inside \`"use cache"\` nested within \`unstable_cache\`. Root params are not available in this context.`);
216
+ }
211
217
  // Next-internal cookies that must not vary the private cache key, since they're
212
218
  // not part of the application's own cookie state. The instant-navigation cookie
213
219
  // toggles while a navigation lock is held, so including it would force spurious
@@ -334,6 +340,24 @@ function saveToResumeDataCache(resumeDataCache, serializedCacheKey, pendingCache
334
340
  resumeDataCache.cache.set(serializedCacheKey, rdcResult);
335
341
  debug == null ? void 0 : debug(logPrefix, 'Resume Data Cache entry saved by joiner', serializedCacheKey);
336
342
  }
343
+ /**
344
+ * Registers pending nested metadata with the outer cache store. The supplied
345
+ * promise must fulfill only after metadata propagation completes. Callers must
346
+ * register the promise before returning the nested value.
347
+ */ function trackNestedCacheMetadata(cacheContext, pendingMetadata) {
348
+ const { outerWorkUnitStore } = cacheContext;
349
+ if (cacheContext.skipPropagation || outerWorkUnitStore.type !== 'cache' && outerWorkUnitStore.type !== 'private-cache') {
350
+ return;
351
+ }
352
+ const pendingSet = outerWorkUnitStore.pendingNestedCacheMetadata;
353
+ const tracked = pendingMetadata.finally(()=>{
354
+ pendingSet.delete(tracked);
355
+ });
356
+ // This handler prevents an unhandled rejection if the promise rejects before
357
+ // `collectResult` waits for it.
358
+ tracked.catch(ignoreReject);
359
+ pendingSet.add(tracked);
360
+ }
337
361
  /**
338
362
  * Completes a join onto another invocation's entry, whether that invocation is
339
363
  * still filling or has already finished: forks the stream, saves to this
@@ -351,9 +375,11 @@ function saveToResumeDataCache(resumeDataCache, serializedCacheKey, pendingCache
351
375
  // A failed collection or propagation must still end the read so it cannot
352
376
  // stall prerendering. The catch prevents an unhandled rejection after the
353
377
  // stream has been returned.
354
- sharedCacheEntry.pendingMetadata.then((metadata)=>{
378
+ const pendingPropagation = sharedCacheEntry.pendingMetadata.then((metadata)=>{
355
379
  maybePropagateCacheEntryMetadata(cacheContext, metadata);
356
- }).finally(()=>{
380
+ });
381
+ trackNestedCacheMetadata(cacheContext, pendingPropagation);
382
+ pendingPropagation.finally(()=>{
357
383
  cacheSignal == null ? void 0 : cacheSignal.endRead();
358
384
  }).catch(ignoreReject);
359
385
  return stream;
@@ -461,6 +487,7 @@ function createUseCacheStore(workStore, cacheContext, defaultCacheLife) {
461
487
  draftMode: (0, _workunitasyncstorageexternal.getDraftModeProviderForCacheScope)(workStore, outerWorkUnitStore),
462
488
  rootParams: outerWorkUnitStore.rootParams,
463
489
  readRootParamNames: new Set(),
490
+ pendingNestedCacheMetadata: new Set(),
464
491
  // Every private cache scope is its own work unit. Any cache keyed on
465
492
  // headers() or cookies() needs to be invalidated. Otherwise some
466
493
  // Next.js API semantics leak across render passes.
@@ -515,6 +542,7 @@ function createUseCacheStore(workStore, cacheContext, defaultCacheLife) {
515
542
  draftMode: (0, _workunitasyncstorageexternal.getDraftModeProviderForCacheScope)(workStore, outerWorkUnitStore),
516
543
  rootParams: outerWorkUnitStore.rootParams,
517
544
  readRootParamNames: new Set(),
545
+ pendingNestedCacheMetadata: new Set(),
518
546
  outerOwnerStack: cacheContext.outerOwnerStack,
519
547
  dynamicNestedCacheError: undefined
520
548
  };
@@ -723,6 +751,14 @@ async function collectResult(savedStream, workStore, cacheContext, innerCacheSto
723
751
  } catch (error) {
724
752
  errors.push(error);
725
753
  }
754
+ // Wait for nested metadata before collecting this entry's metadata. React
755
+ // Flight can resolve a nested root model while its referenced promises remain
756
+ // pending. The outer function can omit those promises from its result. Its
757
+ // stream can then finish before the nested metadata propagates. The loop
758
+ // includes promises registered while it waits.
759
+ while(innerCacheStore.pendingNestedCacheMetadata.size > 0){
760
+ await Promise.allSettled(innerCacheStore.pendingNestedCacheMetadata);
761
+ }
726
762
  let idx = 0;
727
763
  const bufferStream = new ReadableStream({
728
764
  pull (controller) {
@@ -1137,21 +1173,29 @@ async function encodeFormData(formData) {
1137
1173
  // might contain that delimeter. We use the length of each field as the delimeter to avoid
1138
1174
  // escaping the values.
1139
1175
  result += key.length.toString(16) + ':' + key;
1140
- let stringValue;
1141
1176
  if (typeof value === 'string') {
1142
- stringValue = value;
1177
+ result += value.length.toString(16) + ':' + value;
1143
1178
  } else {
1144
1179
  // The FormData might contain binary data that is not valid UTF-8 so this cache
1145
1180
  // key may generate a UCS-2 string. Passing this to another service needs to be
1146
1181
  // aware that the key might not be compatible.
1147
1182
  const arrayBuffer = await value.arrayBuffer();
1183
+ let stringValue;
1148
1184
  if (arrayBuffer.byteLength % 2 === 0) {
1149
1185
  stringValue = String.fromCodePoint(...new Uint16Array(arrayBuffer));
1150
1186
  } else {
1151
1187
  stringValue = String.fromCodePoint(...new Uint16Array(arrayBuffer, 0, (arrayBuffer.byteLength - 1) / 2)) + String.fromCodePoint(new Uint8Array(arrayBuffer, arrayBuffer.byteLength - 1, 1)[0]);
1152
1188
  }
1189
+ // 'B' cannot appear in a string field's lowercase hex length prefix, so
1190
+ // it unambiguously marks a binary field. The byte length keeps the field
1191
+ // self-delimiting: n bytes occupy ceil(n/2) code units while a string
1192
+ // field of length n occupies n, which would let a string value absorb
1193
+ // the framing of subsequent fields.
1194
+ // The name and type are part of the key because the cached function
1195
+ // observes them. lastModified is excluded: it defaults to the
1196
+ // construction time and does not survive multipart submission.
1197
+ result += 'B' + value.name.length.toString(16) + ':' + value.name + value.type.length.toString(16) + ':' + value.type + arrayBuffer.byteLength.toString(16) + ':' + stringValue;
1153
1198
  }
1154
- result += stringValue.length.toString(16) + ':' + stringValue;
1155
1199
  }
1156
1200
  return result;
1157
1201
  }
@@ -2063,6 +2107,17 @@ async function cache(kind, id, boundArgsLength, originalFn, args) {
2063
2107
  addKnownRootParamNames(id, metadata.readRootParamNames);
2064
2108
  }
2065
2109
  const updatedRootParamNames = knownRootParamsByFunctionId.get(id);
2110
+ // Throw when the fill read root params and the joiner has none. A
2111
+ // joiner without root params is nested in `unstable_cache`. The
2112
+ // mismatch retry below requires the joiner's root params, so it
2113
+ // cannot separate this joiner from a leader with different values.
2114
+ // A fork would serve the leader's root-param-specific entry, and
2115
+ // `unstable_cache` would persist it under a key that has no root
2116
+ // params.
2117
+ if (updatedRootParamNames && updatedRootParamNames.size > 0 && !rootParams) {
2118
+ cacheSignal == null ? void 0 : cacheSignal.endRead();
2119
+ throw createRootParamsUnavailableError(workStore.route, updatedRootParamNames);
2120
+ }
2066
2121
  if (updatedRootParamNames && rootParams) {
2067
2122
  const newCacheHandlerKey = cacheHandlerKeyBase + computeRootParamsCacheKeySuffix(rootParams, updatedRootParamNames);
2068
2123
  if (newCacheHandlerKey !== cacheHandlerKey) {
@@ -2088,6 +2143,11 @@ async function cache(kind, id, boundArgsLength, originalFn, args) {
2088
2143
  } else {
2089
2144
  // prerender-dynamic — same root param check before hanging
2090
2145
  const updatedRootParamNames = knownRootParamsByFunctionId.get(id);
2146
+ // Same missing-root-params guard as the fork path above.
2147
+ if (updatedRootParamNames && updatedRootParamNames.size > 0 && !rootParams) {
2148
+ cacheSignal == null ? void 0 : cacheSignal.endRead();
2149
+ throw createRootParamsUnavailableError(workStore.route, updatedRootParamNames);
2150
+ }
2091
2151
  if (updatedRootParamNames && rootParams) {
2092
2152
  const newCacheHandlerKey = cacheHandlerKeyBase + computeRootParamsCacheKeySuffix(rootParams, updatedRootParamNames);
2093
2153
  if (newCacheHandlerKey !== cacheHandlerKey) {
@@ -2322,6 +2382,9 @@ async function cache(kind, id, boundArgsLength, originalFn, args) {
2322
2382
  return result.hangingPromise;
2323
2383
  }
2324
2384
  const { stream: newStream, pendingCacheResult } = result;
2385
+ // `collectResult` propagates metadata before `pendingCacheResult`
2386
+ // fulfills.
2387
+ trackNestedCacheMetadata(cacheContext, pendingCacheResult);
2325
2388
  let pendingWrite;
2326
2389
  // When draft mode is enabled, we must not save the cache entry.
2327
2390
  if (!workStore.isDraftMode) {
@@ -215,6 +215,7 @@ async function adapter(params) {
215
215
  });
216
216
  let response;
217
217
  let cookiesFromResponse;
218
+ const isMiddleware = isMiddlewarePage(params.page);
218
219
  // The trace context of the span the middleware span and the downstream
219
220
  // request share as their parent, to forward to the downstream request (see
220
221
  // `forwardTraceContextToRequest`), and the request headers as the
@@ -223,7 +224,6 @@ async function adapter(params) {
223
224
  let forwardedRequestHeaders;
224
225
  response = await propagator(request, ()=>{
225
226
  // we only care to make async storage available for middleware
226
- const isMiddleware = isMiddlewarePage(params.page);
227
227
  if (isMiddleware) {
228
228
  // if we're in an edge function, we only get a subset of `nextConfig` (no `experimental`),
229
229
  // so we have to inject it via DefinePlugin.
@@ -339,6 +339,10 @@ async function adapter(params) {
339
339
  if (response && !(response instanceof Response)) {
340
340
  throw new TypeError('Expected an instance of Response to be returned');
341
341
  }
342
+ if (response && !isMiddleware && response.headers.has('x-middleware-set-cookie')) {
343
+ response = new Response(response.body, response);
344
+ response.headers.delete('x-middleware-set-cookie');
345
+ }
342
346
  if (response && cookiesFromResponse) {
343
347
  response.headers.set('set-cookie', cookiesFromResponse);
344
348
  }
@@ -82,7 +82,7 @@ async function getAnonymousMeta() {
82
82
  isWsl: _iswsl.default,
83
83
  isCI: _ciinfo.isCI,
84
84
  ciName: _ciinfo.isCI && _ciinfo.name || null,
85
- nextVersion: "16.4.3",
85
+ nextVersion: "16.4.6",
86
86
  agentName: await (0, _agentname.getAgentName)()
87
87
  };
88
88
  return traits;
@@ -38,7 +38,7 @@ async function eventSwcLoadFailure(event) {
38
38
  telemetry.record({
39
39
  eventName: EVENT_PLUGIN_PRESENT,
40
40
  payload: {
41
- nextVersion: "16.4.3",
41
+ nextVersion: "16.4.6",
42
42
  glibcVersion,
43
43
  installedSwcPackages,
44
44
  arch: process.arch,
@@ -12,12 +12,12 @@ const EVENT_VERSION = 'NEXT_CLI_SESSION_STARTED';
12
12
  function eventCliSession(nextConfig, event) {
13
13
  var _nextConfig_experimental, _nextConfig_experimental_staleTimes, _nextConfig_experimental_staleTimes1, _nextConfig_reactCompiler, _nextConfig_reactCompiler1;
14
14
  // This should be an invariant, if it fails our build tooling is broken.
15
- if (typeof "16.4.3" !== 'string') {
15
+ if (typeof "16.4.6" !== 'string') {
16
16
  return [];
17
17
  }
18
18
  const { images, i18n } = nextConfig || {};
19
19
  const payload = {
20
- nextVersion: "16.4.3",
20
+ nextVersion: "16.4.6",
21
21
  nodeVersion: process.version,
22
22
  cliCommand: event.cliCommand,
23
23
  isSrcDir: event.isSrcDir,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next",
3
- "version": "16.4.3",
3
+ "version": "16.4.6",
4
4
  "description": "The React Framework",
5
5
  "main": "./dist/server/next.js",
6
6
  "license": "MIT",
@@ -82,7 +82,7 @@
82
82
  "next": "./dist/bin/next"
83
83
  },
84
84
  "dependencies": {
85
- "@next/env": "16.4.3",
85
+ "@next/env": "16.4.6",
86
86
  "@swc/helpers": "0.5.23",
87
87
  "baseline-browser-mapping": "^2.9.19",
88
88
  "caniuse-lite": "^1.0.30001579",
@@ -113,14 +113,14 @@
113
113
  },
114
114
  "optionalDependencies": {
115
115
  "sharp": "^0.35.5",
116
- "@next/swc-darwin-arm64": "16.4.3",
117
- "@next/swc-darwin-x64": "16.4.3",
118
- "@next/swc-linux-arm64-gnu": "16.4.3",
119
- "@next/swc-linux-arm64-musl": "16.4.3",
120
- "@next/swc-linux-x64-gnu": "16.4.3",
121
- "@next/swc-linux-x64-musl": "16.4.3",
122
- "@next/swc-win32-arm64-msvc": "16.4.3",
123
- "@next/swc-win32-x64-msvc": "16.4.3"
116
+ "@next/swc-darwin-arm64": "16.4.6",
117
+ "@next/swc-darwin-x64": "16.4.6",
118
+ "@next/swc-linux-arm64-gnu": "16.4.6",
119
+ "@next/swc-linux-arm64-musl": "16.4.6",
120
+ "@next/swc-linux-x64-gnu": "16.4.6",
121
+ "@next/swc-linux-x64-musl": "16.4.6",
122
+ "@next/swc-win32-arm64-msvc": "16.4.6",
123
+ "@next/swc-win32-x64-msvc": "16.4.6"
124
124
  },
125
125
  "keywords": [
126
126
  "react",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "failproofai",
3
- "version": "1.0.13",
4
- "description": "Observability and enforcement for AI agent harnesses. 40 built-in policies hooked into 12 of them — Claude Code, Codex, Cursor, Hermes, OpenClaw and more — blocking the tool call before it runs. Local dashboard included, no account needed.",
3
+ "version": "1.0.15",
4
+ "description": "The reliability layer for AI agents: see every failure, stop it in realtime. Policies hooked into 12 agent harnesses — Claude Code, Codex, Cursor, Hermes, OpenClaw and more — block the tool call before it runs. Local dashboard included, no account needed.",
5
5
  "bin": {
6
6
  "failproofai": "./dist/cli.mjs",
7
7
  "failproofaid": "./bin/failproofaid-shim.mjs"
@@ -88,14 +88,14 @@
88
88
  "@testing-library/jest-dom": "^7.0.0",
89
89
  "@testing-library/react": "^16.3.2",
90
90
  "@testing-library/user-event": "^14.6.5",
91
- "@types/node": "26.6.5",
91
+ "@types/node": "26.6.6",
92
92
  "@types/react": "19.3.0",
93
93
  "@types/react-dom": "^19.2.3",
94
94
  "@vitejs/plugin-react": "^6.1.0",
95
95
  "clsx": "^2.1.1",
96
96
  "eslint": "^10.9.0",
97
97
  "eslint-config-next": "^16.3.2",
98
- "jsdom": "^30.0.1",
98
+ "jsdom": "^31.0.0",
99
99
  "lucide-react": "^1.33.0",
100
100
  "next": "^16.3.8",
101
101
  "react": "^19.2.4",
@@ -127,15 +127,15 @@
127
127
  "minimatch": "11.0.3"
128
128
  },
129
129
  "optionalDependencies": {
130
- "@failproofai/failproofaid-linux-x64": "1.0.13",
131
- "@failproofai/failproofaid-linux-arm64": "1.0.13",
132
- "@failproofai/failproofaid-darwin-x64": "1.0.13",
133
- "@failproofai/failproofaid-darwin-arm64": "1.0.13"
130
+ "@failproofai/failproofaid-linux-x64": "1.0.15",
131
+ "@failproofai/failproofaid-linux-arm64": "1.0.15",
132
+ "@failproofai/failproofaid-darwin-x64": "1.0.15",
133
+ "@failproofai/failproofaid-darwin-arm64": "1.0.15"
134
134
  },
135
135
  "failproofaidBinaries": {
136
- "linux-x64": "f4e4047ea3b1fc005f2b2d825ab76b02f83a322d946f3f25d09f33e9e913f79d",
137
- "linux-arm64": "5bd5468230f345cedef952293dbd085d68fead2029c88c51d04aefaff629f99b",
138
- "darwin-x64": "897c2e00e392ee7bd429cd4c65132fd2b1a5cd7c8c66aa8a87d4a9cfdd6117c9",
139
- "darwin-arm64": "a63bf038330f2a804d659a16d81d0bca265c08a9b37677d0e252106659848366"
136
+ "linux-x64": "e5c7543ab9aeb5366e804d4cf5aef8ee35ef340f145c1c15f683b76761426fe6",
137
+ "linux-arm64": "06d27497490f7a1cec34f03808a3bf6a5644830fdf7db9133642b464f5affcde",
138
+ "darwin-x64": "763e6a6790d8c247765a83c92f9de65875807c96fee098c15748ac098ff99513",
139
+ "darwin-arm64": "a422303761f70023ad9a8d3a9b0b0e8689adc4669bddd90f72722b3df6b33ab4"
140
140
  }
141
141
  }
@@ -391,6 +391,11 @@ platform is the `fp-cloud-cli` skill's job, from a separate environment.
391
391
 
392
392
  ## 6. Production — the collector has to agree with you
393
393
 
394
+ Temporary network failures and HTTP 408, 429, or 5xx responses leave the daemon's
395
+ telemetry batches eligible for retry. A `422 event_too_large` rejection requires
396
+ reducing the event payload; splitting a batch between complete JSON objects
397
+ cannot shrink a single event. Existing `.poison` batches need manual recovery.
398
+
394
399
  The SDK writes files. It never talks to the network, so from its point of view a
395
400
  completely unshipped integration looks perfect.
396
401