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
@@ -16,6 +16,7 @@
16
16
  * outside this directory — because the capture copies nothing else.
17
17
  */
18
18
  import { createConnection } from "node:net";
19
+ import { performance } from "node:perf_hooks";
19
20
  import { homedir } from "node:os";
20
21
  import { resolve } from "node:path";
21
22
 
@@ -28,12 +29,25 @@ const MAX_FRAME_BYTES = 16 * 1024 * 1024;
28
29
  // applies to the envelope.
29
30
  export const MAX_PAYLOAD_BYTES = 1_048_576;
30
31
 
31
- // The CLI's daemon client budgets these separately for the reason it gives:
32
- // connecting is the "is anything listening" probe, the response covers the
33
- // whole evaluation. 250 ms matches the Hermes plugin; 30 s matches the
34
- // daemon's own read timeout on its worker (worker.rs).
35
- export const CONNECT_TIMEOUT_MS = 250;
32
+ // One budget for the whole request, matching the daemon's own read timeout on
33
+ // its worker (worker.rs).
34
+ //
35
+ // There is deliberately NO separate connect timeout. This client runs on the
36
+ // OpenClaw gateway's event loop, shared with every agent on the gateway. A
37
+ // Unix-socket connect to a live daemon completes in the kernel at once, but
38
+ // the gateway only learns of it on a later loop pass; while the gateway is
39
+ // busy (a cron burst, a large transcript, GC) a timer that is already overdue
40
+ // runs before that connect event. The 250 ms connect timer this replaced
41
+ // therefore measured gateway load, and reported a healthy daemon as
42
+ // unreachable (#1024). A daemon that is not there needs no timer: the connect
43
+ // fails at once with ENOENT or ECONNREFUSED. One that accepts and then hangs is
44
+ // caught by this budget.
36
45
  export const RESPONSE_TIMEOUT_MS = 30_000;
46
+ // A connect that fails outright is retried once after this pause before the
47
+ // call fails closed: long enough to ride out a daemon restart re-binding its
48
+ // socket, short enough that a daemon that is really gone costs one tool call
49
+ // 100 ms.
50
+ export const UNREACHABLE_RETRY_DELAY_MS = 100;
37
51
 
38
52
  const PROTOCOL_MISMATCH_MESSAGE =
39
53
  "failproofaid is running a different protocol version than this plugin, so it cannot " +
@@ -144,16 +158,67 @@ function isVerdict(verdict) {
144
158
  * CLI discards an oversized stdin and evaluates an empty payload;
145
159
  * `oversized: true` lets the caller say so instead of discarding it silently.
146
160
  */
147
- export function requestHookVerdict({
161
+ export function requestHookVerdict(request) {
162
+ return requestWithRetry(request);
163
+ }
164
+
165
+ /**
166
+ * One request, asked a second time if the first never reached the daemon.
167
+ * Only `unreachable` is retried: nothing was sent, so asking again cannot
168
+ * evaluate a call twice. Every other failure came from a daemon that saw the
169
+ * request, and is returned as it is.
170
+ *
171
+ * Both attempts share ONE deadline of `responseTimeoutMs`, set before the
172
+ * first and passed to each attempt as an absolute time: an attempt arms its
173
+ * timer with what is left of it just before connecting (so encoding time
174
+ * counts too), and the retry is skipped when the pause before it would use the
175
+ * rest. A fresh budget per attempt let a call wait twice as long, past the
176
+ * gateway's own hook timeout. Time is read from `performance.now()`, a
177
+ * monotonic clock, so a wall-clock change cannot stretch or shrink the budget.
178
+ *
179
+ * A failed retry keeps its own failure and agent-facing message; its `detail`
180
+ * (gateway log only) names both attempts, so the first attempt's cause is
181
+ * never lost behind the second's.
182
+ */
183
+ async function requestWithRetry(request) {
184
+ const startedAt = performance.now();
185
+ const budgetMs = request.responseTimeoutMs ?? RESPONSE_TIMEOUT_MS;
186
+ const deadline = startedAt + budgetMs;
187
+ const noTimeToRetry = (first) =>
188
+ ({ ...first, detail: `${first.detail}; no time left in the ${budgetMs} ms budget to retry` });
189
+
190
+ const first = await requestOnce({ ...request, deadline, budgetMs });
191
+ if (first.ok || first.failure !== "unreachable") return first;
192
+
193
+ const delayMs = request.retryDelayMs ?? UNREACHABLE_RETRY_DELAY_MS;
194
+ if (deadline - performance.now() - delayMs <= 0) return noTimeToRetry(first);
195
+ await new Promise((resume) => setTimeout(resume, delayMs));
196
+ if (deadline - performance.now() <= 0) return noTimeToRetry(first);
197
+
198
+ const second = await requestOnce({ ...request, deadline, budgetMs });
199
+ if (second.ok) return second;
200
+ return {
201
+ ...second,
202
+ detail:
203
+ `attempt 1: ${first.detail}; attempt 2: ${second.detail ?? second.message}; ` +
204
+ `2 attempts, ${Math.round(performance.now() - startedAt)} ms total`,
205
+ };
206
+ }
207
+
208
+ function requestOnce({
148
209
  event,
149
210
  payload,
150
211
  cwd = "",
151
212
  agentSettingsPath = "",
152
213
  socketPath = daemonSocketPath(),
153
- connectTimeoutMs = CONNECT_TIMEOUT_MS,
154
- responseTimeoutMs = RESPONSE_TIMEOUT_MS,
214
+ // The whole request's budget (for messages) and its absolute end on the
215
+ // performance.now() clock, shared with any retry.
216
+ budgetMs = RESPONSE_TIMEOUT_MS,
217
+ deadline = performance.now() + budgetMs,
155
218
  }) {
156
219
  return new Promise((done) => {
220
+ // Started before encoding, so the elapsed time in `detail` includes it.
221
+ const startedAt = performance.now();
157
222
  let body;
158
223
  let oversized = false;
159
224
  try {
@@ -197,22 +262,32 @@ export function requestHookVerdict({
197
262
  try { socket?.destroy(); } catch { /* already closed */ }
198
263
  done(result);
199
264
  };
265
+ // The agent-facing message stays the same; `detail` says what actually
266
+ // happened, for the gateway log (hooks.js), so the next field report can
267
+ // tell a missing socket from a refused one from a timeout.
268
+ const unreachable = (cause) =>
269
+ finish({ ...failed("unreachable", UNREACHABLE_MESSAGE), detail: `${cause} after ${Math.round(performance.now() - startedAt)} ms` });
200
270
 
271
+ // Measured after encoding, so a large payload's encoding time is charged
272
+ // to the same budget.
273
+ const remainingMs = deadline - performance.now();
274
+ if (remainingMs <= 0) {
275
+ unreachable("no time left in the request budget");
276
+ return;
277
+ }
201
278
  try {
202
279
  socket = createConnection(socketPath);
203
- } catch {
204
- finish(failed("unreachable", UNREACHABLE_MESSAGE));
280
+ } catch (err) {
281
+ unreachable(err?.code ?? err?.message ?? String(err));
205
282
  return;
206
283
  }
207
- timer = setTimeout(() => finish(failed("unreachable", UNREACHABLE_MESSAGE)), connectTimeoutMs);
284
+ timer = setTimeout(() => {
285
+ if (connected) finish(failed("timeout", `failproofaid did not answer within ${budgetMs} ms`));
286
+ else unreachable("no connection within the request budget");
287
+ }, remainingMs);
208
288
 
209
289
  socket.on("connect", () => {
210
290
  connected = true;
211
- clearTimeout(timer);
212
- timer = setTimeout(
213
- () => finish(failed("timeout", `failproofaid did not answer within ${responseTimeoutMs} ms`)),
214
- responseTimeoutMs,
215
- );
216
291
  const header = Buffer.alloc(4);
217
292
  header.writeUInt32BE(body.length, 0);
218
293
  socket.write(Buffer.concat([header, body]));
@@ -237,18 +312,12 @@ export function requestHookVerdict({
237
312
  finish(result.ok && oversized ? { ...result, oversized: true } : result);
238
313
  });
239
314
  socket.on("error", (err) => {
240
- finish(
241
- connected
242
- ? failed("evaluation", `failproofaid connection failed: ${err?.message ?? String(err)}`)
243
- : failed("unreachable", UNREACHABLE_MESSAGE),
244
- );
315
+ if (connected) finish(failed("evaluation", `failproofaid connection failed: ${err?.message ?? String(err)}`));
316
+ else unreachable(err?.code ?? err?.message ?? String(err));
245
317
  });
246
318
  socket.on("close", () => {
247
- finish(
248
- connected
249
- ? failed("evaluation", "failproofaid closed the connection before returning a verdict")
250
- : failed("unreachable", UNREACHABLE_MESSAGE),
251
- );
319
+ if (connected) finish(failed("evaluation", "failproofaid closed the connection before returning a verdict"));
320
+ else unreachable("closed before connecting");
252
321
  });
253
322
  });
254
323
  }
@@ -92,7 +92,10 @@ export function registerFailproofaiHooks(api, {
92
92
  } catch (err) {
93
93
  result = { ok: false, message: `the failproofai plugin failed: ${err?.message ?? String(err)}` };
94
94
  }
95
- if (!result?.ok) logFailure(api, event, result?.message ?? "no verdict");
95
+ if (!result?.ok) {
96
+ const message = result?.message ?? "no verdict";
97
+ logFailure(api, event, result?.detail ? `${message} (${result.detail})` : message);
98
+ }
96
99
  // Same outcome as the CLI's oversized stdin (warn, evaluate an empty
97
100
  // payload), and said out loud for the same reason it is there.
98
101
  else if (result.oversized) {
package/package.json CHANGED
@@ -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
  }
@@ -66,7 +66,7 @@ export interface ParkedName {
66
66
  /**
67
67
  * Mirrors `ParkedName::parse` in `crates/fpai-collect/src/uploader.rs`.
68
68
  *
69
- * Suffixes are stripped right to left (`.cNNN` then `.aN`), and each is parsed
69
+ * Suffixes are stripped right to left (`.cNNN`, `.rN`, `.sN`, `.aN`), and each is parsed
70
70
  * rather than merely matched, which is what keeps a real spool name safe: a
71
71
  * base like `claude-...-0` has no numeric `.c`/`.a` to find, and anything that
72
72
  * looks like one but is not numeric stays part of the base.
@@ -90,6 +90,16 @@ export function parseParkedName(name: string): ParkedName {
90
90
  base = base.slice(0, cIdx);
91
91
  }
92
92
  }
93
+ // The CLI needs status and total attempts; the two rejection budgets are Rust-owned.
94
+ for (const suffix of [".r", ".s"]) {
95
+ const idx = base.lastIndexOf(suffix);
96
+ if (idx === -1) continue;
97
+ const raw = base.slice(idx + 2);
98
+ const n = Number(raw);
99
+ if (/^\+?\d+$/.test(raw) && Number.isInteger(n) && n >= 0 && n <= 0xffffffff) {
100
+ base = base.slice(0, idx);
101
+ }
102
+ }
93
103
  const aIdx = base.lastIndexOf(".a");
94
104
  if (aIdx !== -1) {
95
105
  const n = Number(base.slice(aIdx + 2));
@@ -1,3 +0,0 @@
1
- module.exports=[78500,(e,o,r)=>{o.exports=e.x("node:async_hooks",()=>require("node:async_hooks"))},12714,(e,o,r)=>{o.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},1457,(e,o,r)=>{o.exports=e.x("node:readline",()=>require("node:readline"))},12057,(e,o,r)=>{o.exports=e.x("node:util",()=>require("node:util"))},27028,(e,o,r)=>{o.exports=e.x("node:zlib",()=>require("node:zlib"))},37875,e=>{e.v(e=>Promise.resolve().then(()=>e(7896)))}];
2
-
3
- //# sourceMappingURL=%5Broot-of-the-server%5D__038kwryp970nh._.js.map
@@ -1,3 +0,0 @@
1
- module.exports=[78500,(e,o,r)=>{o.exports=e.x("node:async_hooks",()=>require("node:async_hooks"))},12714,(e,o,r)=>{o.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},1457,(e,o,r)=>{o.exports=e.x("node:readline",()=>require("node:readline"))},12057,(e,o,r)=>{o.exports=e.x("node:util",()=>require("node:util"))},27028,(e,o,r)=>{o.exports=e.x("node:zlib",()=>require("node:zlib"))},37875,e=>{e.v(e=>Promise.resolve().then(()=>e(7896)))}];
2
-
3
- //# sourceMappingURL=%5Broot-of-the-server%5D__08atcie7jzswm._.js.map
@@ -1,3 +0,0 @@
1
- module.exports=[24868,(e,t,s)=>{t.exports=e.x("fs/promises",()=>require("fs/promises"))},66680,(e,t,s)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},2157,(e,t,s)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},12714,(e,t,s)=>{t.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},60526,(e,t,s)=>{t.exports=e.x("node:os",()=>require("node:os"))},50227,(e,t,s)=>{t.exports=e.x("node:path",()=>require("node:path"))},46786,(e,t,s)=>{t.exports=e.x("os",()=>require("os"))},14747,(e,t,s)=>{t.exports=e.x("path",()=>require("path"))},71809,e=>{"use strict";async function t(e,t){let s=Array(e.length),i=0;async function r(){for(;i<e.length;){let t=i++;try{s[t]={status:"fulfilled",value:await e[t]()}}catch(e){s[t]={status:"rejected",reason:e}}}}let o=Array.from({length:Math.min(t,e.length)},()=>r());return await Promise.all(o),s}e.s(["f",0,t])},79364,e=>{"use strict";var t=e.i(79708),s=e.i(40375),i=e.i(81580),r=e.i(83534),o=e.i(28557);async function n(){let e=await (0,t.f)((0,s.devinDbPath)());if(!e)return[];try{return e.query("SELECT id, working_directory, title, created_at, last_activity_at, hidden FROM sessions ORDER BY last_activity_at DESC").filter(e=>!e.hidden).map(e=>{let t=e.working_directory??void 0;return{sessionId:e.id,cwd:t,title:e.title??void 0,projectName:t?(0,i.f)(t):"devin",mtimeMs:(0,s.devinEpochToMs)(e.last_activity_at??e.created_at)}})}catch{return[]}finally{e.close()}}let a=(0,r.f)(n,2);async function d(){let e=await n(),t=new Map;for(let s of e){if(!s.cwd)continue;let e=t.get(s.projectName);(!e||s.mtimeMs>e.latest)&&t.set(s.projectName,{latest:s.mtimeMs,cwd:s.cwd,name:s.projectName})}let s=[];for(let{name:e,cwd:i,latest:r}of t.values()){let t=new Date(r);s.push({name:e,path:i,isDirectory:!0,lastModified:t,lastModifiedFormatted:(0,o.f)(t),cli:["devin"]})}return s.sort((e,t)=>t.lastModified.getTime()-e.lastModified.getTime()),s}async function l(e){let t=(await n()).filter(t=>t.cwd&&t.projectName===e);if(0===t.length)return{cwd:null,sessions:[]};let s=[...t].sort((e,t)=>t.mtimeMs-e.mtimeMs);return{cwd:s[0].cwd??null,sessions:s.map(e=>{let t=new Date(e.mtimeMs);return{name:e.title??e.sessionId,path:`devin-db://${e.sessionId}`,lastModified:t,lastModifiedFormatted:(0,o.f)(t),sessionId:e.sessionId,cli:"devin"}})}}let c=(0,r.f)(d,2),f=(0,r.f)(e=>l(e),2,{maxSize:50});e.s(["getCachedDevinProjects",0,c,"getCachedDevinSessions",0,a,"getCachedDevinSessionsByEncodedName",0,f,"getDevinProjects",0,d,"getDevinSessions",0,n,"getDevinSessionsByEncodedName",0,l])}];
2
-
3
- //# sourceMappingURL=%5Broot-of-the-server%5D__0car70pylmvor._.js.map
@@ -1,3 +0,0 @@
1
- module.exports=[78500,(e,o,r)=>{o.exports=e.x("node:async_hooks",()=>require("node:async_hooks"))},12714,(e,o,r)=>{o.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},1457,(e,o,r)=>{o.exports=e.x("node:readline",()=>require("node:readline"))},12057,(e,o,r)=>{o.exports=e.x("node:util",()=>require("node:util"))},27028,(e,o,r)=>{o.exports=e.x("node:zlib",()=>require("node:zlib"))},37875,e=>{e.v(e=>Promise.resolve().then(()=>e(7896)))}];
2
-
3
- //# sourceMappingURL=%5Broot-of-the-server%5D__1j6kfp0vzu5rw._.js.map
@@ -1,3 +0,0 @@
1
- module.exports=[[94930,e=>{var t=e.i(2157),r=e.i(50227),s=e.i(66680);e.s(["f",0,function(e,n,o={}){let i=o.mode??384,a=o.dirMode??448,d=(0,r.dirname)(e);(0,t.existsSync)(d)||(0,t.mkdirSync)(d,{recursive:!0,mode:a});let c=`${e}.${process.pid}.${(0,s.randomBytes)(6).toString("hex")}.tmp`;try{(0,t.writeFileSync)(c,JSON.stringify(n,null,2),{mode:i});try{(63&(0,t.statSync)(c).mode)!=0&&(0,t.chmodSync)(c,i)}catch{}(0,t.renameSync)(c,e);try{(63&(0,t.statSync)(e).mode)!=0&&(0,t.chmodSync)(e,i)}catch{}}catch(e){try{(0,t.rmSync)(c,{force:!0})}catch{}throw e}}])},69164,e=>{var t=e.i(79708),r=e.i(36618),s=e.i(81580),n=e.i(83534),o=e.i(28557);async function i(){let e=await (0,t.f)((0,r.gooseDbPath)());if(!e)return[];try{return e.query("SELECT id, working_dir, description, name, session_type, created_at, updated_at FROM sessions ORDER BY updated_at DESC").filter(e=>"hidden"!==e.session_type).map(e=>{let t=e.working_dir??void 0,n=(e.description&&e.description.length>0?e.description:e.name)??void 0;return{sessionId:e.id,cwd:t,title:n&&n.length>0?n:void 0,projectName:t?(0,s.f)(t):"goose",mtimeMs:(0,r.gooseTimestampToMs)(e.updated_at??e.created_at)}})}catch{return[]}finally{e.close()}}let a=(0,n.f)(i,2);async function d(){let e=await i(),t=new Map;for(let r of e){if(!r.cwd)continue;let e=t.get(r.projectName);(!e||r.mtimeMs>e.latest)&&t.set(r.projectName,{latest:r.mtimeMs,cwd:r.cwd,name:r.projectName})}let r=[];for(let{name:e,cwd:s,latest:n}of t.values()){let t=new Date(n);r.push({name:e,path:s,isDirectory:!0,lastModified:t,lastModifiedFormatted:(0,o.f)(t),cli:["goose"]})}return r.sort((e,t)=>t.lastModified.getTime()-e.lastModified.getTime()),r}async function c(e){let t=(await i()).filter(t=>t.cwd&&t.projectName===e);if(0===t.length)return{cwd:null,sessions:[]};let r=[...t].sort((e,t)=>t.mtimeMs-e.mtimeMs);return{cwd:r[0].cwd??null,sessions:r.map(e=>{let t=new Date(e.mtimeMs);return{name:e.title??e.sessionId,path:`goose-db://${e.sessionId}`,lastModified:t,lastModifiedFormatted:(0,o.f)(t),sessionId:e.sessionId,cli:"goose"}})}}let l=(0,n.f)(d,2),p=(0,n.f)(e=>c(e),2,{maxSize:50});e.s(["getCachedGooseProjects",0,l,"getCachedGooseSessions",0,a,"getCachedGooseSessionsByEncodedName",0,p,"getGooseProjects",0,d,"getGooseSessions",0,i,"getGooseSessionsByEncodedName",0,c])},40759,e=>{var t=e.i(60526),r=e.i(50227),s=e.i(79708);async function n(e){let n=await (0,s.f)(function(){if(process.env.OPENCODE_DB_PATH)return process.env.OPENCODE_DB_PATH;let e=process.env.OPENCODE_HOME??(0,r.join)((0,t.homedir)(),".local","share","opencode");return(0,r.join)(e,"opencode.db")}());if(!n)return null;try{return e(n)}catch{return null}finally{try{n.close()}catch{}}}async function o(e,t=[]){return n(r=>r.query(e,t))}e.s(["h",0,o,"x",0,n])}],54799,(e,t,r)=>{t.exports=e.x("crypto",()=>require("crypto"))},18622,(e,t,r)=>{t.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},20635,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},24725,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},56704,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(e,t,r)=>{t.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},59043,(e,t,r)=>{t.exports=e.x("next/dist/server/runtime-reacts.external.js",()=>require("next/dist/server/runtime-reacts.external.js"))},93695,(e,t,r)=>{t.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},74533,(e,t,r)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},81111,(e,t,r)=>{t.exports=e.x("node:stream",()=>require("node:stream"))}];
2
-
3
- //# sourceMappingURL=%5Broot-of-the-server%5D__1l0ayum_hqqsw._.js.map
@@ -1,3 +0,0 @@
1
- module.exports=[78500,(e,o,r)=>{o.exports=e.x("node:async_hooks",()=>require("node:async_hooks"))},12714,(e,o,r)=>{o.exports=e.x("node:fs/promises",()=>require("node:fs/promises"))},1457,(e,o,r)=>{o.exports=e.x("node:readline",()=>require("node:readline"))},12057,(e,o,r)=>{o.exports=e.x("node:util",()=>require("node:util"))},27028,(e,o,r)=>{o.exports=e.x("node:zlib",()=>require("node:zlib"))},37875,e=>{e.v(e=>Promise.resolve().then(()=>e(7896)))}];
2
-
3
- //# sourceMappingURL=%5Broot-of-the-server%5D__1o9rznwc0w7og._.js.map