failproofai 0.0.6-beta.3 → 0.0.6-beta.4

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 (509) hide show
  1. package/.next/standalone/.next/BUILD_ID +1 -1
  2. package/.next/standalone/.next/build-manifest.json +3 -3
  3. package/.next/standalone/.next/prerender-manifest.json +3 -3
  4. package/.next/standalone/.next/required-server-files.json +7 -1
  5. package/.next/standalone/.next/server/app/_global-error/page/server-reference-manifest.json +1 -1
  6. package/.next/standalone/.next/server/app/_global-error/page.js.nft.json +1 -1
  7. package/.next/standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  8. package/.next/standalone/.next/server/app/_global-error.html +1 -1
  9. package/.next/standalone/.next/server/app/_global-error.rsc +7 -7
  10. package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +2 -2
  11. package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +7 -7
  12. package/.next/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +3 -3
  13. package/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +3 -3
  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/server-reference-manifest.json +1 -1
  16. package/.next/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
  17. package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  18. package/.next/standalone/.next/server/app/_not-found.html +2 -2
  19. package/.next/standalone/.next/server/app/_not-found.rsc +17 -17
  20. package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +17 -17
  21. package/.next/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
  22. package/.next/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +11 -11
  23. package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
  24. package/.next/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
  25. package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  26. package/.next/standalone/.next/server/app/index.html +1 -1
  27. package/.next/standalone/.next/server/app/index.rsc +16 -16
  28. package/.next/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  29. package/.next/standalone/.next/server/app/index.segments/_full.segment.rsc +16 -16
  30. package/.next/standalone/.next/server/app/index.segments/_head.segment.rsc +4 -4
  31. package/.next/standalone/.next/server/app/index.segments/_index.segment.rsc +11 -11
  32. package/.next/standalone/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  33. package/.next/standalone/.next/server/app/page/server-reference-manifest.json +1 -1
  34. package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
  35. package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  36. package/.next/standalone/.next/server/app/policies/page/server-reference-manifest.json +8 -8
  37. package/.next/standalone/.next/server/app/policies/page.js.nft.json +1 -1
  38. package/.next/standalone/.next/server/app/policies/page_client-reference-manifest.js +1 -1
  39. package/.next/standalone/.next/server/app/project/[name]/page/server-reference-manifest.json +1 -1
  40. package/.next/standalone/.next/server/app/project/[name]/page.js.nft.json +1 -1
  41. package/.next/standalone/.next/server/app/project/[name]/page_client-reference-manifest.js +1 -1
  42. package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page/react-loadable-manifest.json +2 -2
  43. package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page/server-reference-manifest.json +2 -2
  44. package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page.js.nft.json +1 -1
  45. package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page_client-reference-manifest.js +1 -1
  46. package/.next/standalone/.next/server/app/projects/page/server-reference-manifest.json +1 -1
  47. package/.next/standalone/.next/server/app/projects/page.js.nft.json +1 -1
  48. package/.next/standalone/.next/server/app/projects/page_client-reference-manifest.js +1 -1
  49. package/.next/standalone/.next/server/chunks/[root-of-the-server]__0g72weg._.js +1 -1
  50. package/.next/standalone/.next/server/chunks/package_json_[json]_cjs_0z7w.hh._.js +1 -1
  51. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__092s1ta._.js +2 -2
  52. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__09icjsf._.js +2 -2
  53. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0g.lg8b._.js +2 -2
  54. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0h..k-e._.js +2 -2
  55. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0okos0k._.js +2 -2
  56. package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__0kyh86x._.js → [root-of-the-server]__0om-5pe._.js} +2 -2
  57. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0w6l33k._.js +1 -1
  58. package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__096k.db._.js → [root-of-the-server]__111.vxi._.js} +2 -2
  59. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__11pa2ra._.js +2 -2
  60. package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__12t-wym._.js +2 -2
  61. package/.next/standalone/.next/server/chunks/ssr/_10lm7or._.js +2 -2
  62. package/.next/standalone/.next/server/chunks/ssr/app_global-error_tsx_0xerkr6._.js +1 -1
  63. package/.next/standalone/.next/server/chunks/ssr/app_policies_hooks-client_tsx_0q-m0y-._.js +1 -1
  64. package/.next/standalone/.next/server/chunks/ssr/node_modules_posthog-node_dist_entrypoints_index_node_mjs_0mebn66._.js +1 -1
  65. package/.next/standalone/.next/server/middleware-build-manifest.js +3 -3
  66. package/.next/standalone/.next/server/pages/404.html +2 -2
  67. package/.next/standalone/.next/server/pages/500.html +1 -1
  68. package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
  69. package/.next/standalone/.next/server/server-reference-manifest.json +9 -9
  70. package/.next/standalone/.next/static/chunks/{01pmw1-asbek~.js → 02dqjyv6_9mhq.js} +2 -2
  71. package/.next/standalone/.next/static/chunks/{051m32nx~n5yr.js → 070orfsl6.xal.js} +1 -1
  72. package/.next/standalone/.next/static/chunks/0mir9jdxn35~s.css +1 -0
  73. package/.next/standalone/.next/static/chunks/{0mazj-p-~2kc6.js → 0o547jv-k_k35.js} +1 -1
  74. package/.next/standalone/.next/static/chunks/0pk2h2.mjxy.m.js +6 -0
  75. package/.next/standalone/.next/static/chunks/{0l-mu4okl-cj1.js → 0rcwkbh24w38b.js} +1 -1
  76. package/.next/standalone/.next/static/chunks/{0-dm_9a6nsc2l.js → 140xx_tfr~lm_.js} +1 -1
  77. package/.next/standalone/.next/static/chunks/{156zca6aewyr-.js → 169_e4dq~1~b6.js} +1 -1
  78. package/.next/standalone/.next/static/chunks/{0a-yctdwn368y.js → 17ne4p.1sw1jy.js} +1 -1
  79. package/.next/standalone/next.config.ts +6 -0
  80. package/.next/standalone/package.json +2 -2
  81. package/.next/standalone/server.js +1 -1
  82. package/dist/cli.mjs +2 -2
  83. package/package.json +2 -2
  84. package/scripts/prune-standalone.mjs +128 -0
  85. package/.next/standalone/.claude/settings.json +0 -316
  86. package/.next/standalone/.failproofai/policies/review-policies.mjs +0 -113
  87. package/.next/standalone/.failproofai/policies/workflow-policies.mjs +0 -63
  88. package/.next/standalone/.failproofai/policies-config.json +0 -39
  89. package/.next/standalone/.next/static/chunks/0gu_a.a80ritd.css +0 -1
  90. package/.next/standalone/.next/static/chunks/0qakntsrpc~1j.js +0 -6
  91. package/.next/standalone/AGENTS.md +0 -80
  92. package/.next/standalone/CHANGELOG.md +0 -158
  93. package/.next/standalone/CLAUDE.md +0 -165
  94. package/.next/standalone/CONTRIBUTING.md +0 -76
  95. package/.next/standalone/Dockerfile.docs +0 -12
  96. package/.next/standalone/LICENSE +0 -42
  97. package/.next/standalone/README.md +0 -301
  98. package/.next/standalone/bin/failproofai.mjs +0 -439
  99. package/.next/standalone/bun.lock +0 -1119
  100. package/.next/standalone/components.json +0 -23
  101. package/.next/standalone/dist/cli.mjs +0 -4696
  102. package/.next/standalone/dist/index.js +0 -80
  103. package/.next/standalone/docs/ar/architecture.mdx +0 -334
  104. package/.next/standalone/docs/ar/built-in-policies.mdx +0 -574
  105. package/.next/standalone/docs/ar/cli/dashboard.mdx +0 -28
  106. package/.next/standalone/docs/ar/cli/environment-variables.mdx +0 -34
  107. package/.next/standalone/docs/ar/cli/hook.mdx +0 -31
  108. package/.next/standalone/docs/ar/cli/install-policies.mdx +0 -48
  109. package/.next/standalone/docs/ar/cli/list-policies.mdx +0 -31
  110. package/.next/standalone/docs/ar/cli/remove-policies.mdx +0 -43
  111. package/.next/standalone/docs/ar/cli/version.mdx +0 -13
  112. package/.next/standalone/docs/ar/configuration.mdx +0 -223
  113. package/.next/standalone/docs/ar/custom-policies.mdx +0 -354
  114. package/.next/standalone/docs/ar/dashboard.mdx +0 -142
  115. package/.next/standalone/docs/ar/examples.mdx +0 -307
  116. package/.next/standalone/docs/ar/for-agents.mdx +0 -39
  117. package/.next/standalone/docs/ar/getting-started.mdx +0 -187
  118. package/.next/standalone/docs/ar/introduction.mdx +0 -58
  119. package/.next/standalone/docs/ar/package-aliases.mdx +0 -82
  120. package/.next/standalone/docs/ar/testing.mdx +0 -261
  121. package/.next/standalone/docs/architecture.mdx +0 -332
  122. package/.next/standalone/docs/built-in-policies.mdx +0 -574
  123. package/.next/standalone/docs/cli/dashboard.mdx +0 -28
  124. package/.next/standalone/docs/cli/environment-variables.mdx +0 -34
  125. package/.next/standalone/docs/cli/hook.mdx +0 -30
  126. package/.next/standalone/docs/cli/install-policies.mdx +0 -47
  127. package/.next/standalone/docs/cli/list-policies.mdx +0 -31
  128. package/.next/standalone/docs/cli/remove-policies.mdx +0 -43
  129. package/.next/standalone/docs/cli/version.mdx +0 -12
  130. package/.next/standalone/docs/configuration.mdx +0 -222
  131. package/.next/standalone/docs/custom-policies.mdx +0 -353
  132. package/.next/standalone/docs/dashboard.mdx +0 -142
  133. package/.next/standalone/docs/de/architecture.mdx +0 -332
  134. package/.next/standalone/docs/de/built-in-policies.mdx +0 -574
  135. package/.next/standalone/docs/de/cli/dashboard.mdx +0 -28
  136. package/.next/standalone/docs/de/cli/environment-variables.mdx +0 -34
  137. package/.next/standalone/docs/de/cli/hook.mdx +0 -30
  138. package/.next/standalone/docs/de/cli/install-policies.mdx +0 -47
  139. package/.next/standalone/docs/de/cli/list-policies.mdx +0 -31
  140. package/.next/standalone/docs/de/cli/remove-policies.mdx +0 -43
  141. package/.next/standalone/docs/de/cli/version.mdx +0 -12
  142. package/.next/standalone/docs/de/configuration.mdx +0 -222
  143. package/.next/standalone/docs/de/custom-policies.mdx +0 -353
  144. package/.next/standalone/docs/de/dashboard.mdx +0 -142
  145. package/.next/standalone/docs/de/examples.mdx +0 -307
  146. package/.next/standalone/docs/de/for-agents.mdx +0 -38
  147. package/.next/standalone/docs/de/getting-started.mdx +0 -186
  148. package/.next/standalone/docs/de/introduction.mdx +0 -57
  149. package/.next/standalone/docs/de/package-aliases.mdx +0 -82
  150. package/.next/standalone/docs/de/testing.mdx +0 -260
  151. package/.next/standalone/docs/docs.json +0 -1002
  152. package/.next/standalone/docs/es/architecture.mdx +0 -332
  153. package/.next/standalone/docs/es/built-in-policies.mdx +0 -574
  154. package/.next/standalone/docs/es/cli/dashboard.mdx +0 -28
  155. package/.next/standalone/docs/es/cli/environment-variables.mdx +0 -34
  156. package/.next/standalone/docs/es/cli/hook.mdx +0 -30
  157. package/.next/standalone/docs/es/cli/install-policies.mdx +0 -47
  158. package/.next/standalone/docs/es/cli/list-policies.mdx +0 -31
  159. package/.next/standalone/docs/es/cli/remove-policies.mdx +0 -43
  160. package/.next/standalone/docs/es/cli/version.mdx +0 -12
  161. package/.next/standalone/docs/es/configuration.mdx +0 -222
  162. package/.next/standalone/docs/es/custom-policies.mdx +0 -353
  163. package/.next/standalone/docs/es/dashboard.mdx +0 -142
  164. package/.next/standalone/docs/es/examples.mdx +0 -307
  165. package/.next/standalone/docs/es/for-agents.mdx +0 -38
  166. package/.next/standalone/docs/es/getting-started.mdx +0 -186
  167. package/.next/standalone/docs/es/introduction.mdx +0 -57
  168. package/.next/standalone/docs/es/package-aliases.mdx +0 -82
  169. package/.next/standalone/docs/es/testing.mdx +0 -260
  170. package/.next/standalone/docs/examples.mdx +0 -307
  171. package/.next/standalone/docs/favicon.ico +0 -0
  172. package/.next/standalone/docs/for-agents.mdx +0 -38
  173. package/.next/standalone/docs/fr/architecture.mdx +0 -332
  174. package/.next/standalone/docs/fr/built-in-policies.mdx +0 -574
  175. package/.next/standalone/docs/fr/cli/dashboard.mdx +0 -28
  176. package/.next/standalone/docs/fr/cli/environment-variables.mdx +0 -34
  177. package/.next/standalone/docs/fr/cli/hook.mdx +0 -30
  178. package/.next/standalone/docs/fr/cli/install-policies.mdx +0 -47
  179. package/.next/standalone/docs/fr/cli/list-policies.mdx +0 -31
  180. package/.next/standalone/docs/fr/cli/remove-policies.mdx +0 -43
  181. package/.next/standalone/docs/fr/cli/version.mdx +0 -12
  182. package/.next/standalone/docs/fr/configuration.mdx +0 -222
  183. package/.next/standalone/docs/fr/custom-policies.mdx +0 -353
  184. package/.next/standalone/docs/fr/dashboard.mdx +0 -142
  185. package/.next/standalone/docs/fr/examples.mdx +0 -307
  186. package/.next/standalone/docs/fr/for-agents.mdx +0 -38
  187. package/.next/standalone/docs/fr/getting-started.mdx +0 -186
  188. package/.next/standalone/docs/fr/introduction.mdx +0 -57
  189. package/.next/standalone/docs/fr/package-aliases.mdx +0 -82
  190. package/.next/standalone/docs/fr/testing.mdx +0 -260
  191. package/.next/standalone/docs/getting-started.mdx +0 -186
  192. package/.next/standalone/docs/he/architecture.mdx +0 -333
  193. package/.next/standalone/docs/he/built-in-policies.mdx +0 -575
  194. package/.next/standalone/docs/he/cli/dashboard.mdx +0 -28
  195. package/.next/standalone/docs/he/cli/environment-variables.mdx +0 -34
  196. package/.next/standalone/docs/he/cli/hook.mdx +0 -30
  197. package/.next/standalone/docs/he/cli/install-policies.mdx +0 -47
  198. package/.next/standalone/docs/he/cli/list-policies.mdx +0 -32
  199. package/.next/standalone/docs/he/cli/remove-policies.mdx +0 -43
  200. package/.next/standalone/docs/he/cli/version.mdx +0 -12
  201. package/.next/standalone/docs/he/configuration.mdx +0 -223
  202. package/.next/standalone/docs/he/custom-policies.mdx +0 -353
  203. package/.next/standalone/docs/he/dashboard.mdx +0 -142
  204. package/.next/standalone/docs/he/examples.mdx +0 -307
  205. package/.next/standalone/docs/he/for-agents.mdx +0 -38
  206. package/.next/standalone/docs/he/getting-started.mdx +0 -186
  207. package/.next/standalone/docs/he/introduction.mdx +0 -57
  208. package/.next/standalone/docs/he/package-aliases.mdx +0 -82
  209. package/.next/standalone/docs/he/testing.mdx +0 -260
  210. package/.next/standalone/docs/hi/architecture.mdx +0 -334
  211. package/.next/standalone/docs/hi/built-in-policies.mdx +0 -572
  212. package/.next/standalone/docs/hi/cli/dashboard.mdx +0 -28
  213. package/.next/standalone/docs/hi/cli/environment-variables.mdx +0 -34
  214. package/.next/standalone/docs/hi/cli/hook.mdx +0 -30
  215. package/.next/standalone/docs/hi/cli/install-policies.mdx +0 -47
  216. package/.next/standalone/docs/hi/cli/list-policies.mdx +0 -31
  217. package/.next/standalone/docs/hi/cli/remove-policies.mdx +0 -43
  218. package/.next/standalone/docs/hi/cli/version.mdx +0 -12
  219. package/.next/standalone/docs/hi/configuration.mdx +0 -222
  220. package/.next/standalone/docs/hi/custom-policies.mdx +0 -354
  221. package/.next/standalone/docs/hi/dashboard.mdx +0 -142
  222. package/.next/standalone/docs/hi/examples.mdx +0 -309
  223. package/.next/standalone/docs/hi/for-agents.mdx +0 -38
  224. package/.next/standalone/docs/hi/getting-started.mdx +0 -187
  225. package/.next/standalone/docs/hi/introduction.mdx +0 -57
  226. package/.next/standalone/docs/hi/package-aliases.mdx +0 -82
  227. package/.next/standalone/docs/hi/testing.mdx +0 -260
  228. package/.next/standalone/docs/i18n/README.ar.md +0 -312
  229. package/.next/standalone/docs/i18n/README.de.md +0 -307
  230. package/.next/standalone/docs/i18n/README.es.md +0 -307
  231. package/.next/standalone/docs/i18n/README.fr.md +0 -307
  232. package/.next/standalone/docs/i18n/README.he.md +0 -312
  233. package/.next/standalone/docs/i18n/README.hi.md +0 -307
  234. package/.next/standalone/docs/i18n/README.it.md +0 -307
  235. package/.next/standalone/docs/i18n/README.ja.md +0 -307
  236. package/.next/standalone/docs/i18n/README.ko.md +0 -307
  237. package/.next/standalone/docs/i18n/README.pt-br.md +0 -307
  238. package/.next/standalone/docs/i18n/README.ru.md +0 -308
  239. package/.next/standalone/docs/i18n/README.tr.md +0 -307
  240. package/.next/standalone/docs/i18n/README.vi.md +0 -307
  241. package/.next/standalone/docs/i18n/README.zh.md +0 -307
  242. package/.next/standalone/docs/introduction.mdx +0 -57
  243. package/.next/standalone/docs/it/architecture.mdx +0 -334
  244. package/.next/standalone/docs/it/built-in-policies.mdx +0 -574
  245. package/.next/standalone/docs/it/cli/dashboard.mdx +0 -28
  246. package/.next/standalone/docs/it/cli/environment-variables.mdx +0 -34
  247. package/.next/standalone/docs/it/cli/hook.mdx +0 -30
  248. package/.next/standalone/docs/it/cli/install-policies.mdx +0 -47
  249. package/.next/standalone/docs/it/cli/list-policies.mdx +0 -31
  250. package/.next/standalone/docs/it/cli/remove-policies.mdx +0 -43
  251. package/.next/standalone/docs/it/cli/version.mdx +0 -12
  252. package/.next/standalone/docs/it/configuration.mdx +0 -222
  253. package/.next/standalone/docs/it/custom-policies.mdx +0 -353
  254. package/.next/standalone/docs/it/dashboard.mdx +0 -142
  255. package/.next/standalone/docs/it/examples.mdx +0 -307
  256. package/.next/standalone/docs/it/for-agents.mdx +0 -38
  257. package/.next/standalone/docs/it/getting-started.mdx +0 -186
  258. package/.next/standalone/docs/it/introduction.mdx +0 -57
  259. package/.next/standalone/docs/it/package-aliases.mdx +0 -82
  260. package/.next/standalone/docs/it/testing.mdx +0 -260
  261. package/.next/standalone/docs/ja/architecture.mdx +0 -332
  262. package/.next/standalone/docs/ja/built-in-policies.mdx +0 -572
  263. package/.next/standalone/docs/ja/cli/dashboard.mdx +0 -28
  264. package/.next/standalone/docs/ja/cli/environment-variables.mdx +0 -34
  265. package/.next/standalone/docs/ja/cli/hook.mdx +0 -30
  266. package/.next/standalone/docs/ja/cli/install-policies.mdx +0 -47
  267. package/.next/standalone/docs/ja/cli/list-policies.mdx +0 -31
  268. package/.next/standalone/docs/ja/cli/remove-policies.mdx +0 -43
  269. package/.next/standalone/docs/ja/cli/version.mdx +0 -12
  270. package/.next/standalone/docs/ja/configuration.mdx +0 -222
  271. package/.next/standalone/docs/ja/custom-policies.mdx +0 -353
  272. package/.next/standalone/docs/ja/dashboard.mdx +0 -142
  273. package/.next/standalone/docs/ja/examples.mdx +0 -307
  274. package/.next/standalone/docs/ja/for-agents.mdx +0 -38
  275. package/.next/standalone/docs/ja/getting-started.mdx +0 -186
  276. package/.next/standalone/docs/ja/introduction.mdx +0 -57
  277. package/.next/standalone/docs/ja/package-aliases.mdx +0 -82
  278. package/.next/standalone/docs/ja/testing.mdx +0 -260
  279. package/.next/standalone/docs/ko/architecture.mdx +0 -332
  280. package/.next/standalone/docs/ko/built-in-policies.mdx +0 -572
  281. package/.next/standalone/docs/ko/cli/dashboard.mdx +0 -28
  282. package/.next/standalone/docs/ko/cli/environment-variables.mdx +0 -34
  283. package/.next/standalone/docs/ko/cli/hook.mdx +0 -30
  284. package/.next/standalone/docs/ko/cli/install-policies.mdx +0 -47
  285. package/.next/standalone/docs/ko/cli/list-policies.mdx +0 -31
  286. package/.next/standalone/docs/ko/cli/remove-policies.mdx +0 -43
  287. package/.next/standalone/docs/ko/cli/version.mdx +0 -12
  288. package/.next/standalone/docs/ko/configuration.mdx +0 -222
  289. package/.next/standalone/docs/ko/custom-policies.mdx +0 -353
  290. package/.next/standalone/docs/ko/dashboard.mdx +0 -142
  291. package/.next/standalone/docs/ko/examples.mdx +0 -307
  292. package/.next/standalone/docs/ko/for-agents.mdx +0 -38
  293. package/.next/standalone/docs/ko/getting-started.mdx +0 -186
  294. package/.next/standalone/docs/ko/introduction.mdx +0 -57
  295. package/.next/standalone/docs/ko/package-aliases.mdx +0 -82
  296. package/.next/standalone/docs/ko/testing.mdx +0 -260
  297. package/.next/standalone/docs/logo/dark.svg +0 -21
  298. package/.next/standalone/docs/logo/exosphere-dark.png +0 -0
  299. package/.next/standalone/docs/logo/exosphere-light.png +0 -0
  300. package/.next/standalone/docs/logo/light.svg +0 -21
  301. package/.next/standalone/docs/package-aliases.mdx +0 -82
  302. package/.next/standalone/docs/pt-br/architecture.mdx +0 -332
  303. package/.next/standalone/docs/pt-br/built-in-policies.mdx +0 -574
  304. package/.next/standalone/docs/pt-br/cli/dashboard.mdx +0 -28
  305. package/.next/standalone/docs/pt-br/cli/environment-variables.mdx +0 -34
  306. package/.next/standalone/docs/pt-br/cli/hook.mdx +0 -30
  307. package/.next/standalone/docs/pt-br/cli/install-policies.mdx +0 -47
  308. package/.next/standalone/docs/pt-br/cli/list-policies.mdx +0 -31
  309. package/.next/standalone/docs/pt-br/cli/remove-policies.mdx +0 -43
  310. package/.next/standalone/docs/pt-br/cli/version.mdx +0 -12
  311. package/.next/standalone/docs/pt-br/configuration.mdx +0 -222
  312. package/.next/standalone/docs/pt-br/custom-policies.mdx +0 -353
  313. package/.next/standalone/docs/pt-br/dashboard.mdx +0 -142
  314. package/.next/standalone/docs/pt-br/examples.mdx +0 -307
  315. package/.next/standalone/docs/pt-br/for-agents.mdx +0 -38
  316. package/.next/standalone/docs/pt-br/getting-started.mdx +0 -186
  317. package/.next/standalone/docs/pt-br/introduction.mdx +0 -57
  318. package/.next/standalone/docs/pt-br/package-aliases.mdx +0 -82
  319. package/.next/standalone/docs/pt-br/testing.mdx +0 -260
  320. package/.next/standalone/docs/ru/architecture.mdx +0 -333
  321. package/.next/standalone/docs/ru/built-in-policies.mdx +0 -574
  322. package/.next/standalone/docs/ru/cli/dashboard.mdx +0 -28
  323. package/.next/standalone/docs/ru/cli/environment-variables.mdx +0 -34
  324. package/.next/standalone/docs/ru/cli/hook.mdx +0 -30
  325. package/.next/standalone/docs/ru/cli/install-policies.mdx +0 -48
  326. package/.next/standalone/docs/ru/cli/list-policies.mdx +0 -32
  327. package/.next/standalone/docs/ru/cli/remove-policies.mdx +0 -43
  328. package/.next/standalone/docs/ru/cli/version.mdx +0 -12
  329. package/.next/standalone/docs/ru/configuration.mdx +0 -222
  330. package/.next/standalone/docs/ru/custom-policies.mdx +0 -354
  331. package/.next/standalone/docs/ru/dashboard.mdx +0 -142
  332. package/.next/standalone/docs/ru/examples.mdx +0 -309
  333. package/.next/standalone/docs/ru/for-agents.mdx +0 -38
  334. package/.next/standalone/docs/ru/getting-started.mdx +0 -186
  335. package/.next/standalone/docs/ru/introduction.mdx +0 -57
  336. package/.next/standalone/docs/ru/package-aliases.mdx +0 -82
  337. package/.next/standalone/docs/ru/testing.mdx +0 -260
  338. package/.next/standalone/docs/testing.mdx +0 -260
  339. package/.next/standalone/docs/tr/architecture.mdx +0 -333
  340. package/.next/standalone/docs/tr/built-in-policies.mdx +0 -574
  341. package/.next/standalone/docs/tr/cli/dashboard.mdx +0 -28
  342. package/.next/standalone/docs/tr/cli/environment-variables.mdx +0 -34
  343. package/.next/standalone/docs/tr/cli/hook.mdx +0 -30
  344. package/.next/standalone/docs/tr/cli/install-policies.mdx +0 -47
  345. package/.next/standalone/docs/tr/cli/list-policies.mdx +0 -31
  346. package/.next/standalone/docs/tr/cli/remove-policies.mdx +0 -44
  347. package/.next/standalone/docs/tr/cli/version.mdx +0 -12
  348. package/.next/standalone/docs/tr/configuration.mdx +0 -222
  349. package/.next/standalone/docs/tr/custom-policies.mdx +0 -353
  350. package/.next/standalone/docs/tr/dashboard.mdx +0 -142
  351. package/.next/standalone/docs/tr/examples.mdx +0 -308
  352. package/.next/standalone/docs/tr/for-agents.mdx +0 -38
  353. package/.next/standalone/docs/tr/getting-started.mdx +0 -186
  354. package/.next/standalone/docs/tr/introduction.mdx +0 -57
  355. package/.next/standalone/docs/tr/package-aliases.mdx +0 -82
  356. package/.next/standalone/docs/tr/testing.mdx +0 -260
  357. package/.next/standalone/docs/vi/architecture.mdx +0 -334
  358. package/.next/standalone/docs/vi/built-in-policies.mdx +0 -572
  359. package/.next/standalone/docs/vi/cli/dashboard.mdx +0 -28
  360. package/.next/standalone/docs/vi/cli/environment-variables.mdx +0 -34
  361. package/.next/standalone/docs/vi/cli/hook.mdx +0 -30
  362. package/.next/standalone/docs/vi/cli/install-policies.mdx +0 -47
  363. package/.next/standalone/docs/vi/cli/list-policies.mdx +0 -31
  364. package/.next/standalone/docs/vi/cli/remove-policies.mdx +0 -43
  365. package/.next/standalone/docs/vi/cli/version.mdx +0 -13
  366. package/.next/standalone/docs/vi/configuration.mdx +0 -222
  367. package/.next/standalone/docs/vi/custom-policies.mdx +0 -353
  368. package/.next/standalone/docs/vi/dashboard.mdx +0 -142
  369. package/.next/standalone/docs/vi/examples.mdx +0 -308
  370. package/.next/standalone/docs/vi/for-agents.mdx +0 -38
  371. package/.next/standalone/docs/vi/getting-started.mdx +0 -186
  372. package/.next/standalone/docs/vi/introduction.mdx +0 -57
  373. package/.next/standalone/docs/vi/package-aliases.mdx +0 -82
  374. package/.next/standalone/docs/vi/testing.mdx +0 -260
  375. package/.next/standalone/docs/zh/architecture.mdx +0 -332
  376. package/.next/standalone/docs/zh/built-in-policies.mdx +0 -570
  377. package/.next/standalone/docs/zh/cli/dashboard.mdx +0 -28
  378. package/.next/standalone/docs/zh/cli/environment-variables.mdx +0 -34
  379. package/.next/standalone/docs/zh/cli/hook.mdx +0 -30
  380. package/.next/standalone/docs/zh/cli/install-policies.mdx +0 -47
  381. package/.next/standalone/docs/zh/cli/list-policies.mdx +0 -31
  382. package/.next/standalone/docs/zh/cli/remove-policies.mdx +0 -43
  383. package/.next/standalone/docs/zh/cli/version.mdx +0 -12
  384. package/.next/standalone/docs/zh/configuration.mdx +0 -222
  385. package/.next/standalone/docs/zh/custom-policies.mdx +0 -353
  386. package/.next/standalone/docs/zh/dashboard.mdx +0 -142
  387. package/.next/standalone/docs/zh/examples.mdx +0 -307
  388. package/.next/standalone/docs/zh/for-agents.mdx +0 -38
  389. package/.next/standalone/docs/zh/getting-started.mdx +0 -186
  390. package/.next/standalone/docs/zh/introduction.mdx +0 -57
  391. package/.next/standalone/docs/zh/package-aliases.mdx +0 -82
  392. package/.next/standalone/docs/zh/testing.mdx +0 -260
  393. package/.next/standalone/eslint.config.mjs +0 -15
  394. package/.next/standalone/examples/convention-policies/security-policies.mjs +0 -40
  395. package/.next/standalone/examples/convention-policies/workflow-policies.mjs +0 -41
  396. package/.next/standalone/examples/policies-advanced/index.js +0 -103
  397. package/.next/standalone/examples/policies-advanced/utils.js +0 -35
  398. package/.next/standalone/examples/policies-basic.js +0 -77
  399. package/.next/standalone/examples/policies-notification.js +0 -104
  400. package/.next/standalone/node_modules/@img/colour/color.cjs +0 -1594
  401. package/.next/standalone/node_modules/@img/colour/index.cjs +0 -1
  402. package/.next/standalone/node_modules/@img/colour/package.json +0 -45
  403. package/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/README.md +0 -46
  404. package/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/lib/glib-2.0/include/glibconfig.h +0 -221
  405. package/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/lib/index.js +0 -1
  406. package/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.17.3 +0 -0
  407. package/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/package.json +0 -42
  408. package/.next/standalone/node_modules/@img/sharp-libvips-linux-x64/versions.json +0 -30
  409. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/README.md +0 -46
  410. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/glib-2.0/include/glibconfig.h +0 -221
  411. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js +0 -1
  412. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.3 +0 -0
  413. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +0 -42
  414. package/.next/standalone/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +0 -30
  415. package/.next/standalone/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64.node +0 -0
  416. package/.next/standalone/node_modules/@img/sharp-linux-x64/package.json +0 -46
  417. package/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node +0 -0
  418. package/.next/standalone/node_modules/@img/sharp-linuxmusl-x64/package.json +0 -46
  419. package/.next/standalone/node_modules/detect-libc/lib/detect-libc.js +0 -313
  420. package/.next/standalone/node_modules/detect-libc/lib/elf.js +0 -39
  421. package/.next/standalone/node_modules/detect-libc/lib/filesystem.js +0 -51
  422. package/.next/standalone/node_modules/detect-libc/lib/process.js +0 -24
  423. package/.next/standalone/node_modules/detect-libc/package.json +0 -44
  424. package/.next/standalone/node_modules/sharp/lib/channel.js +0 -177
  425. package/.next/standalone/node_modules/sharp/lib/colour.js +0 -195
  426. package/.next/standalone/node_modules/sharp/lib/composite.js +0 -212
  427. package/.next/standalone/node_modules/sharp/lib/constructor.js +0 -499
  428. package/.next/standalone/node_modules/sharp/lib/index.js +0 -16
  429. package/.next/standalone/node_modules/sharp/lib/input.js +0 -809
  430. package/.next/standalone/node_modules/sharp/lib/is.js +0 -143
  431. package/.next/standalone/node_modules/sharp/lib/libvips.js +0 -207
  432. package/.next/standalone/node_modules/sharp/lib/operation.js +0 -1016
  433. package/.next/standalone/node_modules/sharp/lib/output.js +0 -1666
  434. package/.next/standalone/node_modules/sharp/lib/resize.js +0 -595
  435. package/.next/standalone/node_modules/sharp/lib/sharp.js +0 -121
  436. package/.next/standalone/node_modules/sharp/lib/utility.js +0 -291
  437. package/.next/standalone/node_modules/sharp/node_modules/semver/classes/comparator.js +0 -143
  438. package/.next/standalone/node_modules/sharp/node_modules/semver/classes/range.js +0 -557
  439. package/.next/standalone/node_modules/sharp/node_modules/semver/classes/semver.js +0 -333
  440. package/.next/standalone/node_modules/sharp/node_modules/semver/functions/cmp.js +0 -54
  441. package/.next/standalone/node_modules/sharp/node_modules/semver/functions/coerce.js +0 -62
  442. package/.next/standalone/node_modules/sharp/node_modules/semver/functions/compare.js +0 -7
  443. package/.next/standalone/node_modules/sharp/node_modules/semver/functions/eq.js +0 -5
  444. package/.next/standalone/node_modules/sharp/node_modules/semver/functions/gt.js +0 -5
  445. package/.next/standalone/node_modules/sharp/node_modules/semver/functions/gte.js +0 -5
  446. package/.next/standalone/node_modules/sharp/node_modules/semver/functions/lt.js +0 -5
  447. package/.next/standalone/node_modules/sharp/node_modules/semver/functions/lte.js +0 -5
  448. package/.next/standalone/node_modules/sharp/node_modules/semver/functions/neq.js +0 -5
  449. package/.next/standalone/node_modules/sharp/node_modules/semver/functions/parse.js +0 -18
  450. package/.next/standalone/node_modules/sharp/node_modules/semver/functions/satisfies.js +0 -12
  451. package/.next/standalone/node_modules/sharp/node_modules/semver/internal/constants.js +0 -37
  452. package/.next/standalone/node_modules/sharp/node_modules/semver/internal/debug.js +0 -11
  453. package/.next/standalone/node_modules/sharp/node_modules/semver/internal/identifiers.js +0 -29
  454. package/.next/standalone/node_modules/sharp/node_modules/semver/internal/lrucache.js +0 -42
  455. package/.next/standalone/node_modules/sharp/node_modules/semver/internal/parse-options.js +0 -17
  456. package/.next/standalone/node_modules/sharp/node_modules/semver/internal/re.js +0 -223
  457. package/.next/standalone/node_modules/sharp/node_modules/semver/package.json +0 -78
  458. package/.next/standalone/node_modules/sharp/package.json +0 -202
  459. package/.next/standalone/scripts/alias-proxy.js +0 -18
  460. package/.next/standalone/scripts/dev.ts +0 -3
  461. package/.next/standalone/scripts/install-telemetry.mjs +0 -108
  462. package/.next/standalone/scripts/launch.ts +0 -83
  463. package/.next/standalone/scripts/parse-script-args.ts +0 -87
  464. package/.next/standalone/scripts/postinstall.mjs +0 -121
  465. package/.next/standalone/scripts/preuninstall.mjs +0 -131
  466. package/.next/standalone/scripts/publish-aliases.mjs +0 -87
  467. package/.next/standalone/scripts/start.ts +0 -3
  468. package/.next/standalone/scripts/sync-hook-events-prompt.md +0 -60
  469. package/.next/standalone/scripts/translate-docs/cache.ts +0 -62
  470. package/.next/standalone/scripts/translate-docs/cli.ts +0 -357
  471. package/.next/standalone/scripts/translate-docs/config.ts +0 -248
  472. package/.next/standalone/scripts/translate-docs/mdx-translator.ts +0 -153
  473. package/.next/standalone/scripts/translate-docs/mintlify-nav.ts +0 -107
  474. package/.next/standalone/scripts/translate-docs/readme-translator.ts +0 -154
  475. package/.next/standalone/scripts/translate-docs/translator.ts +0 -68
  476. package/.next/standalone/scripts/translate-docs/types.ts +0 -43
  477. package/.next/standalone/src/auth/login.ts +0 -104
  478. package/.next/standalone/src/auth/logout.ts +0 -50
  479. package/.next/standalone/src/auth/token-store.ts +0 -64
  480. package/.next/standalone/src/cli-error.ts +0 -18
  481. package/.next/standalone/src/hooks/builtin-policies.ts +0 -1615
  482. package/.next/standalone/src/hooks/custom-hooks-loader.ts +0 -205
  483. package/.next/standalone/src/hooks/custom-hooks-registry.ts +0 -30
  484. package/.next/standalone/src/hooks/handler.ts +0 -222
  485. package/.next/standalone/src/hooks/hook-activity-store.ts +0 -349
  486. package/.next/standalone/src/hooks/hook-logger.ts +0 -133
  487. package/.next/standalone/src/hooks/hook-telemetry.ts +0 -43
  488. package/.next/standalone/src/hooks/hooks-config.ts +0 -166
  489. package/.next/standalone/src/hooks/install-prompt.ts +0 -357
  490. package/.next/standalone/src/hooks/llm-client.ts +0 -90
  491. package/.next/standalone/src/hooks/loader-utils.ts +0 -178
  492. package/.next/standalone/src/hooks/manager.ts +0 -692
  493. package/.next/standalone/src/hooks/policy-evaluator.ts +0 -224
  494. package/.next/standalone/src/hooks/policy-helpers.ts +0 -16
  495. package/.next/standalone/src/hooks/policy-registry.ts +0 -90
  496. package/.next/standalone/src/hooks/policy-types.ts +0 -77
  497. package/.next/standalone/src/hooks/types.ts +0 -63
  498. package/.next/standalone/src/index.ts +0 -19
  499. package/.next/standalone/src/posthog-key.ts +0 -5
  500. package/.next/standalone/src/relay/daemon.ts +0 -362
  501. package/.next/standalone/src/relay/pid.ts +0 -76
  502. package/.next/standalone/src/relay/queue.ts +0 -225
  503. package/.next/standalone/tailwind.config.ts +0 -11
  504. package/.next/standalone/tsconfig.json +0 -42
  505. package/.next/standalone/vitest.config.e2e.mts +0 -24
  506. package/.next/standalone/vitest.config.mts +0 -23
  507. /package/.next/standalone/.next/static/{r-wX0MuAfCjbhJm3phQc8 → wOkJXoch1UmRAmyIuKZWc}/_buildManifest.js +0 -0
  508. /package/.next/standalone/.next/static/{r-wX0MuAfCjbhJm3phQc8 → wOkJXoch1UmRAmyIuKZWc}/_clientMiddlewareManifest.js +0 -0
  509. /package/.next/standalone/.next/static/{r-wX0MuAfCjbhJm3phQc8 → wOkJXoch1UmRAmyIuKZWc}/_ssgManifest.js +0 -0
@@ -1,223 +0,0 @@
1
- 'use strict'
2
-
3
- const {
4
- MAX_SAFE_COMPONENT_LENGTH,
5
- MAX_SAFE_BUILD_LENGTH,
6
- MAX_LENGTH,
7
- } = require('./constants')
8
- const debug = require('./debug')
9
- exports = module.exports = {}
10
-
11
- // The actual regexps go on exports.re
12
- const re = exports.re = []
13
- const safeRe = exports.safeRe = []
14
- const src = exports.src = []
15
- const safeSrc = exports.safeSrc = []
16
- const t = exports.t = {}
17
- let R = 0
18
-
19
- const LETTERDASHNUMBER = '[a-zA-Z0-9-]'
20
-
21
- // Replace some greedy regex tokens to prevent regex dos issues. These regex are
22
- // used internally via the safeRe object since all inputs in this library get
23
- // normalized first to trim and collapse all extra whitespace. The original
24
- // regexes are exported for userland consumption and lower level usage. A
25
- // future breaking change could export the safer regex only with a note that
26
- // all input should have extra whitespace removed.
27
- const safeRegexReplacements = [
28
- ['\\s', 1],
29
- ['\\d', MAX_LENGTH],
30
- [LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH],
31
- ]
32
-
33
- const makeSafeRegex = (value) => {
34
- for (const [token, max] of safeRegexReplacements) {
35
- value = value
36
- .split(`${token}*`).join(`${token}{0,${max}}`)
37
- .split(`${token}+`).join(`${token}{1,${max}}`)
38
- }
39
- return value
40
- }
41
-
42
- const createToken = (name, value, isGlobal) => {
43
- const safe = makeSafeRegex(value)
44
- const index = R++
45
- debug(name, index, value)
46
- t[name] = index
47
- src[index] = value
48
- safeSrc[index] = safe
49
- re[index] = new RegExp(value, isGlobal ? 'g' : undefined)
50
- safeRe[index] = new RegExp(safe, isGlobal ? 'g' : undefined)
51
- }
52
-
53
- // The following Regular Expressions can be used for tokenizing,
54
- // validating, and parsing SemVer version strings.
55
-
56
- // ## Numeric Identifier
57
- // A single `0`, or a non-zero digit followed by zero or more digits.
58
-
59
- createToken('NUMERICIDENTIFIER', '0|[1-9]\\d*')
60
- createToken('NUMERICIDENTIFIERLOOSE', '\\d+')
61
-
62
- // ## Non-numeric Identifier
63
- // Zero or more digits, followed by a letter or hyphen, and then zero or
64
- // more letters, digits, or hyphens.
65
-
66
- createToken('NONNUMERICIDENTIFIER', `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`)
67
-
68
- // ## Main Version
69
- // Three dot-separated numeric identifiers.
70
-
71
- createToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\.` +
72
- `(${src[t.NUMERICIDENTIFIER]})\\.` +
73
- `(${src[t.NUMERICIDENTIFIER]})`)
74
-
75
- createToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` +
76
- `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` +
77
- `(${src[t.NUMERICIDENTIFIERLOOSE]})`)
78
-
79
- // ## Pre-release Version Identifier
80
- // A numeric identifier, or a non-numeric identifier.
81
- // Non-numeric identifiers include numeric identifiers but can be longer.
82
- // Therefore non-numeric identifiers must go first.
83
-
84
- createToken('PRERELEASEIDENTIFIER', `(?:${src[t.NONNUMERICIDENTIFIER]
85
- }|${src[t.NUMERICIDENTIFIER]})`)
86
-
87
- createToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NONNUMERICIDENTIFIER]
88
- }|${src[t.NUMERICIDENTIFIERLOOSE]})`)
89
-
90
- // ## Pre-release Version
91
- // Hyphen, followed by one or more dot-separated pre-release version
92
- // identifiers.
93
-
94
- createToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]
95
- }(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`)
96
-
97
- createToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]
98
- }(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`)
99
-
100
- // ## Build Metadata Identifier
101
- // Any combination of digits, letters, or hyphens.
102
-
103
- createToken('BUILDIDENTIFIER', `${LETTERDASHNUMBER}+`)
104
-
105
- // ## Build Metadata
106
- // Plus sign, followed by one or more period-separated build metadata
107
- // identifiers.
108
-
109
- createToken('BUILD', `(?:\\+(${src[t.BUILDIDENTIFIER]
110
- }(?:\\.${src[t.BUILDIDENTIFIER]})*))`)
111
-
112
- // ## Full Version String
113
- // A main version, followed optionally by a pre-release version and
114
- // build metadata.
115
-
116
- // Note that the only major, minor, patch, and pre-release sections of
117
- // the version string are capturing groups. The build metadata is not a
118
- // capturing group, because it should not ever be used in version
119
- // comparison.
120
-
121
- createToken('FULLPLAIN', `v?${src[t.MAINVERSION]
122
- }${src[t.PRERELEASE]}?${
123
- src[t.BUILD]}?`)
124
-
125
- createToken('FULL', `^${src[t.FULLPLAIN]}$`)
126
-
127
- // like full, but allows v1.2.3 and =1.2.3, which people do sometimes.
128
- // also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty
129
- // common in the npm registry.
130
- createToken('LOOSEPLAIN', `[v=\\s]*${src[t.MAINVERSIONLOOSE]
131
- }${src[t.PRERELEASELOOSE]}?${
132
- src[t.BUILD]}?`)
133
-
134
- createToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`)
135
-
136
- createToken('GTLT', '((?:<|>)?=?)')
137
-
138
- // Something like "2.*" or "1.2.x".
139
- // Note that "x.x" is a valid xRange identifer, meaning "any version"
140
- // Only the first item is strictly required.
141
- createToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`)
142
- createToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`)
143
-
144
- createToken('XRANGEPLAIN', `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})` +
145
- `(?:\\.(${src[t.XRANGEIDENTIFIER]})` +
146
- `(?:\\.(${src[t.XRANGEIDENTIFIER]})` +
147
- `(?:${src[t.PRERELEASE]})?${
148
- src[t.BUILD]}?` +
149
- `)?)?`)
150
-
151
- createToken('XRANGEPLAINLOOSE', `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` +
152
- `(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +
153
- `(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +
154
- `(?:${src[t.PRERELEASELOOSE]})?${
155
- src[t.BUILD]}?` +
156
- `)?)?`)
157
-
158
- createToken('XRANGE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`)
159
- createToken('XRANGELOOSE', `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`)
160
-
161
- // Coercion.
162
- // Extract anything that could conceivably be a part of a valid semver
163
- createToken('COERCEPLAIN', `${'(^|[^\\d])' +
164
- '(\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +
165
- `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +
166
- `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`)
167
- createToken('COERCE', `${src[t.COERCEPLAIN]}(?:$|[^\\d])`)
168
- createToken('COERCEFULL', src[t.COERCEPLAIN] +
169
- `(?:${src[t.PRERELEASE]})?` +
170
- `(?:${src[t.BUILD]})?` +
171
- `(?:$|[^\\d])`)
172
- createToken('COERCERTL', src[t.COERCE], true)
173
- createToken('COERCERTLFULL', src[t.COERCEFULL], true)
174
-
175
- // Tilde ranges.
176
- // Meaning is "reasonably at or greater than"
177
- createToken('LONETILDE', '(?:~>?)')
178
-
179
- createToken('TILDETRIM', `(\\s*)${src[t.LONETILDE]}\\s+`, true)
180
- exports.tildeTrimReplace = '$1~'
181
-
182
- createToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`)
183
- createToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`)
184
-
185
- // Caret ranges.
186
- // Meaning is "at least and backwards compatible with"
187
- createToken('LONECARET', '(?:\\^)')
188
-
189
- createToken('CARETTRIM', `(\\s*)${src[t.LONECARET]}\\s+`, true)
190
- exports.caretTrimReplace = '$1^'
191
-
192
- createToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`)
193
- createToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`)
194
-
195
- // A simple gt/lt/eq thing, or just "" to indicate "any version"
196
- createToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`)
197
- createToken('COMPARATOR', `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`)
198
-
199
- // An expression to strip any whitespace between the gtlt and the thing
200
- // it modifies, so that `> 1.2.3` ==> `>1.2.3`
201
- createToken('COMPARATORTRIM', `(\\s*)${src[t.GTLT]
202
- }\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true)
203
- exports.comparatorTrimReplace = '$1$2$3'
204
-
205
- // Something like `1.2.3 - 1.2.4`
206
- // Note that these all use the loose form, because they'll be
207
- // checked against either the strict or loose comparator form
208
- // later.
209
- createToken('HYPHENRANGE', `^\\s*(${src[t.XRANGEPLAIN]})` +
210
- `\\s+-\\s+` +
211
- `(${src[t.XRANGEPLAIN]})` +
212
- `\\s*$`)
213
-
214
- createToken('HYPHENRANGELOOSE', `^\\s*(${src[t.XRANGEPLAINLOOSE]})` +
215
- `\\s+-\\s+` +
216
- `(${src[t.XRANGEPLAINLOOSE]})` +
217
- `\\s*$`)
218
-
219
- // Star ranges basically just allow anything at all.
220
- createToken('STAR', '(<|>)?=?\\s*\\*')
221
- // >=0.0.0 is like a star
222
- createToken('GTE0', '^\\s*>=\\s*0\\.0\\.0\\s*$')
223
- createToken('GTE0PRE', '^\\s*>=\\s*0\\.0\\.0-0\\s*$')
@@ -1,78 +0,0 @@
1
- {
2
- "name": "semver",
3
- "version": "7.7.4",
4
- "description": "The semantic version parser used by npm.",
5
- "main": "index.js",
6
- "scripts": {
7
- "test": "tap",
8
- "snap": "tap",
9
- "lint": "npm run eslint",
10
- "postlint": "template-oss-check",
11
- "lintfix": "npm run eslint -- --fix",
12
- "posttest": "npm run lint",
13
- "template-oss-apply": "template-oss-apply --force",
14
- "eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
15
- },
16
- "devDependencies": {
17
- "@npmcli/eslint-config": "^6.0.0",
18
- "@npmcli/template-oss": "4.29.0",
19
- "benchmark": "^2.1.4",
20
- "tap": "^16.0.0"
21
- },
22
- "license": "ISC",
23
- "repository": {
24
- "type": "git",
25
- "url": "git+https://github.com/npm/node-semver.git"
26
- },
27
- "bin": {
28
- "semver": "bin/semver.js"
29
- },
30
- "files": [
31
- "bin/",
32
- "lib/",
33
- "classes/",
34
- "functions/",
35
- "internal/",
36
- "ranges/",
37
- "index.js",
38
- "preload.js",
39
- "range.bnf"
40
- ],
41
- "tap": {
42
- "timeout": 30,
43
- "coverage-map": "map.js",
44
- "nyc-arg": [
45
- "--exclude",
46
- "tap-snapshots/**"
47
- ]
48
- },
49
- "engines": {
50
- "node": ">=10"
51
- },
52
- "author": "GitHub Inc.",
53
- "templateOSS": {
54
- "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
55
- "version": "4.29.0",
56
- "engines": ">=10",
57
- "distPaths": [
58
- "classes/",
59
- "functions/",
60
- "internal/",
61
- "ranges/",
62
- "index.js",
63
- "preload.js",
64
- "range.bnf"
65
- ],
66
- "allowPaths": [
67
- "/classes/",
68
- "/functions/",
69
- "/internal/",
70
- "/ranges/",
71
- "/index.js",
72
- "/preload.js",
73
- "/range.bnf",
74
- "/benchmarks"
75
- ],
76
- "publish": "true"
77
- }
78
- }
@@ -1,202 +0,0 @@
1
- {
2
- "name": "sharp",
3
- "description": "High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images",
4
- "version": "0.34.5",
5
- "author": "Lovell Fuller <npm@lovell.info>",
6
- "homepage": "https://sharp.pixelplumbing.com",
7
- "contributors": [
8
- "Pierre Inglebert <pierre.inglebert@gmail.com>",
9
- "Jonathan Ong <jonathanrichardong@gmail.com>",
10
- "Chanon Sajjamanochai <chanon.s@gmail.com>",
11
- "Juliano Julio <julianojulio@gmail.com>",
12
- "Daniel Gasienica <daniel@gasienica.ch>",
13
- "Julian Walker <julian@fiftythree.com>",
14
- "Amit Pitaru <pitaru.amit@gmail.com>",
15
- "Brandon Aaron <hello.brandon@aaron.sh>",
16
- "Andreas Lind <andreas@one.com>",
17
- "Maurus Cuelenaere <mcuelenaere@gmail.com>",
18
- "Linus Unnebäck <linus@folkdatorn.se>",
19
- "Victor Mateevitsi <mvictoras@gmail.com>",
20
- "Alaric Holloway <alaric.holloway@gmail.com>",
21
- "Bernhard K. Weisshuhn <bkw@codingforce.com>",
22
- "Chris Riley <criley@primedia.com>",
23
- "David Carley <dacarley@gmail.com>",
24
- "John Tobin <john@limelightmobileinc.com>",
25
- "Kenton Gray <kentongray@gmail.com>",
26
- "Felix Bünemann <Felix.Buenemann@gmail.com>",
27
- "Samy Al Zahrani <samyalzahrany@gmail.com>",
28
- "Chintan Thakkar <lemnisk8@gmail.com>",
29
- "F. Orlando Galashan <frulo@gmx.de>",
30
- "Kleis Auke Wolthuizen <info@kleisauke.nl>",
31
- "Matt Hirsch <mhirsch@media.mit.edu>",
32
- "Matthias Thoemmes <thoemmes@gmail.com>",
33
- "Patrick Paskaris <patrick@paskaris.gr>",
34
- "Jérémy Lal <kapouer@melix.org>",
35
- "Rahul Nanwani <r.nanwani@gmail.com>",
36
- "Alice Monday <alice0meta@gmail.com>",
37
- "Kristo Jorgenson <kristo.jorgenson@gmail.com>",
38
- "YvesBos <yves_bos@outlook.com>",
39
- "Guy Maliar <guy@tailorbrands.com>",
40
- "Nicolas Coden <nicolas@ncoden.fr>",
41
- "Matt Parrish <matt.r.parrish@gmail.com>",
42
- "Marcel Bretschneider <marcel.bretschneider@gmail.com>",
43
- "Matthew McEachen <matthew+github@mceachen.org>",
44
- "Jarda Kotěšovec <jarda.kotesovec@gmail.com>",
45
- "Kenric D'Souza <kenric.dsouza@gmail.com>",
46
- "Oleh Aleinyk <oleg.aleynik@gmail.com>",
47
- "Marcel Bretschneider <marcel.bretschneider@gmail.com>",
48
- "Andrea Bianco <andrea.bianco@unibas.ch>",
49
- "Rik Heywood <rik@rik.org>",
50
- "Thomas Parisot <hi@oncletom.io>",
51
- "Nathan Graves <nathanrgraves+github@gmail.com>",
52
- "Tom Lokhorst <tom@lokhorst.eu>",
53
- "Espen Hovlandsdal <espen@hovlandsdal.com>",
54
- "Sylvain Dumont <sylvain.dumont35@gmail.com>",
55
- "Alun Davies <alun.owain.davies@googlemail.com>",
56
- "Aidan Hoolachan <ajhoolachan21@gmail.com>",
57
- "Axel Eirola <axel.eirola@iki.fi>",
58
- "Freezy <freezy@xbmc.org>",
59
- "Daiz <taneli.vatanen@gmail.com>",
60
- "Julian Aubourg <j@ubourg.net>",
61
- "Keith Belovay <keith@picthrive.com>",
62
- "Michael B. Klein <mbklein@gmail.com>",
63
- "Jordan Prudhomme <jordan@raboland.fr>",
64
- "Ilya Ovdin <iovdin@gmail.com>",
65
- "Andargor <andargor@yahoo.com>",
66
- "Paul Neave <paul.neave@gmail.com>",
67
- "Brendan Kennedy <brenwken@gmail.com>",
68
- "Brychan Bennett-Odlum <git@brychan.io>",
69
- "Edward Silverton <e.silverton@gmail.com>",
70
- "Roman Malieiev <aromaleev@gmail.com>",
71
- "Tomas Szabo <tomas.szabo@deftomat.com>",
72
- "Robert O'Rourke <robert@o-rourke.org>",
73
- "Guillermo Alfonso Varela Chouciño <guillevch@gmail.com>",
74
- "Christian Flintrup <chr@gigahost.dk>",
75
- "Manan Jadhav <manan@motionden.com>",
76
- "Leon Radley <leon@radley.se>",
77
- "alza54 <alza54@thiocod.in>",
78
- "Jacob Smith <jacob@frende.me>",
79
- "Michael Nutt <michael@nutt.im>",
80
- "Brad Parham <baparham@gmail.com>",
81
- "Taneli Vatanen <taneli.vatanen@gmail.com>",
82
- "Joris Dugué <zaruike10@gmail.com>",
83
- "Chris Banks <christopher.bradley.banks@gmail.com>",
84
- "Ompal Singh <ompal.hitm09@gmail.com>",
85
- "Brodan <christopher.hranj@gmail.com>",
86
- "Ankur Parihar <ankur.github@gmail.com>",
87
- "Brahim Ait elhaj <brahima@gmail.com>",
88
- "Mart Jansink <m.jansink@gmail.com>",
89
- "Lachlan Newman <lachnewman007@gmail.com>",
90
- "Dennis Beatty <dennis@dcbeatty.com>",
91
- "Ingvar Stepanyan <me@rreverser.com>",
92
- "Don Denton <don@happycollision.com>"
93
- ],
94
- "scripts": {
95
- "build": "node install/build.js",
96
- "install": "node install/check.js || npm run build",
97
- "clean": "rm -rf src/build/ .nyc_output/ coverage/ test/fixtures/output.*",
98
- "test": "npm run lint && npm run test-unit",
99
- "lint": "npm run lint-cpp && npm run lint-js && npm run lint-types",
100
- "lint-cpp": "cpplint --quiet src/*.h src/*.cc",
101
- "lint-js": "biome lint",
102
- "lint-types": "tsd --files ./test/types/sharp.test-d.ts",
103
- "test-leak": "./test/leak/leak.sh",
104
- "test-unit": "node --experimental-test-coverage test/unit.mjs",
105
- "package-from-local-build": "node npm/from-local-build.js",
106
- "package-release-notes": "node npm/release-notes.js",
107
- "docs-build": "node docs/build.mjs",
108
- "docs-serve": "cd docs && npm start",
109
- "docs-publish": "cd docs && npm run build && npx firebase-tools deploy --project pixelplumbing --only hosting:pixelplumbing-sharp"
110
- },
111
- "type": "commonjs",
112
- "main": "lib/index.js",
113
- "types": "lib/index.d.ts",
114
- "files": [
115
- "install",
116
- "lib",
117
- "src/*.{cc,h,gyp}"
118
- ],
119
- "repository": {
120
- "type": "git",
121
- "url": "git://github.com/lovell/sharp.git"
122
- },
123
- "keywords": [
124
- "jpeg",
125
- "png",
126
- "webp",
127
- "avif",
128
- "tiff",
129
- "gif",
130
- "svg",
131
- "jp2",
132
- "dzi",
133
- "image",
134
- "resize",
135
- "thumbnail",
136
- "crop",
137
- "embed",
138
- "libvips",
139
- "vips"
140
- ],
141
- "dependencies": {
142
- "@img/colour": "^1.0.0",
143
- "detect-libc": "^2.1.2",
144
- "semver": "^7.7.3"
145
- },
146
- "optionalDependencies": {
147
- "@img/sharp-darwin-arm64": "0.34.5",
148
- "@img/sharp-darwin-x64": "0.34.5",
149
- "@img/sharp-libvips-darwin-arm64": "1.2.4",
150
- "@img/sharp-libvips-darwin-x64": "1.2.4",
151
- "@img/sharp-libvips-linux-arm": "1.2.4",
152
- "@img/sharp-libvips-linux-arm64": "1.2.4",
153
- "@img/sharp-libvips-linux-ppc64": "1.2.4",
154
- "@img/sharp-libvips-linux-riscv64": "1.2.4",
155
- "@img/sharp-libvips-linux-s390x": "1.2.4",
156
- "@img/sharp-libvips-linux-x64": "1.2.4",
157
- "@img/sharp-libvips-linuxmusl-arm64": "1.2.4",
158
- "@img/sharp-libvips-linuxmusl-x64": "1.2.4",
159
- "@img/sharp-linux-arm": "0.34.5",
160
- "@img/sharp-linux-arm64": "0.34.5",
161
- "@img/sharp-linux-ppc64": "0.34.5",
162
- "@img/sharp-linux-riscv64": "0.34.5",
163
- "@img/sharp-linux-s390x": "0.34.5",
164
- "@img/sharp-linux-x64": "0.34.5",
165
- "@img/sharp-linuxmusl-arm64": "0.34.5",
166
- "@img/sharp-linuxmusl-x64": "0.34.5",
167
- "@img/sharp-wasm32": "0.34.5",
168
- "@img/sharp-win32-arm64": "0.34.5",
169
- "@img/sharp-win32-ia32": "0.34.5",
170
- "@img/sharp-win32-x64": "0.34.5"
171
- },
172
- "devDependencies": {
173
- "@biomejs/biome": "^2.3.4",
174
- "@cpplint/cli": "^0.1.0",
175
- "@emnapi/runtime": "^1.7.0",
176
- "@img/sharp-libvips-dev": "1.2.4",
177
- "@img/sharp-libvips-dev-wasm32": "1.2.4",
178
- "@img/sharp-libvips-win32-arm64": "1.2.4",
179
- "@img/sharp-libvips-win32-ia32": "1.2.4",
180
- "@img/sharp-libvips-win32-x64": "1.2.4",
181
- "@types/node": "*",
182
- "emnapi": "^1.7.0",
183
- "exif-reader": "^2.0.2",
184
- "extract-zip": "^2.0.1",
185
- "icc": "^3.0.0",
186
- "jsdoc-to-markdown": "^9.1.3",
187
- "node-addon-api": "^8.5.0",
188
- "node-gyp": "^11.5.0",
189
- "tar-fs": "^3.1.1",
190
- "tsd": "^0.33.0"
191
- },
192
- "license": "Apache-2.0",
193
- "engines": {
194
- "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
195
- },
196
- "config": {
197
- "libvips": ">=8.17.3"
198
- },
199
- "funding": {
200
- "url": "https://opencollective.com/libvips"
201
- }
202
- }
@@ -1,18 +0,0 @@
1
- #!/usr/bin/env node
2
- 'use strict';
3
- const { spawnSync } = require('child_process');
4
- const path = require('path');
5
- const isWin = process.platform === 'win32';
6
-
7
- // Use the npm-generated bin wrapper so the bun shebang is handled correctly
8
- // on all platforms (including the .cmd wrapper on Windows).
9
- const binary = path.join(
10
- __dirname, '..', 'node_modules', '.bin',
11
- isWin ? 'failproofai.cmd' : 'failproofai'
12
- );
13
-
14
- const result = spawnSync(binary, process.argv.slice(2), {
15
- stdio: 'inherit',
16
- shell: isWin,
17
- });
18
- process.exit(result.status ?? 1);
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env node
2
- import { launch } from "./launch";
3
- launch("dev");
@@ -1,108 +0,0 @@
1
- /**
2
- * Lightweight PostHog telemetry for npm install/uninstall lifecycle scripts.
3
- *
4
- * Uses fetch() directly — no external dependencies, Node.js built-ins only.
5
- * Mirrors the pattern used in src/hooks/hook-telemetry.ts.
6
- */
7
- import { createHmac, randomUUID } from "node:crypto";
8
- import { execSync } from "node:child_process";
9
- import { readFileSync, writeFileSync, mkdirSync } from "node:fs";
10
- import { homedir, platform, arch, hostname, cpus } from "node:os";
11
- import { join } from "node:path";
12
-
13
- const NAMESPACE = "failproofai-telemetry-v1";
14
- const API_KEY = "phc_Ac1Ww1GqKc0z1SyrRWbmatEeQdlOQIsDEEdP8l8JRgX";
15
- const CAPTURE_URL = "https://us.i.posthog.com/capture/";
16
-
17
- function hashToId(raw) {
18
- return createHmac("sha256", NAMESPACE).update(raw).digest("hex");
19
- }
20
-
21
- function getInstanceId() {
22
- // Tier 1: existing ~/.failproofai/instance-id file (consistent with server-side ID)
23
- const idDir = join(homedir(), ".failproofai");
24
- const idFile = join(idDir, "instance-id");
25
- try {
26
- const existing = readFileSync(idFile, "utf-8").trim();
27
- if (existing) return existing;
28
- } catch {}
29
-
30
- // Tier 2: OS-native machine ID (hashed, survives cache deletion)
31
- try {
32
- const p = platform();
33
- if (p === "linux") {
34
- for (const machineIdPath of ["/etc/machine-id", "/var/lib/dbus/machine-id"]) {
35
- try {
36
- const id = readFileSync(machineIdPath, "utf-8").trim();
37
- if (id) return hashToId(id);
38
- } catch {}
39
- }
40
- } else if (p === "darwin") {
41
- const out = execSync("ioreg -rd1 -c IOPlatformExpertDevice", {
42
- encoding: "utf-8",
43
- timeout: 3000,
44
- });
45
- const m = out.match(/"IOPlatformUUID"\s*=\s*"([^"]+)"/);
46
- if (m?.[1]) return hashToId(m[1]);
47
- } else if (p === "win32") {
48
- const out = execSync(
49
- 'reg query "HKLM\\SOFTWARE\\Microsoft\\Cryptography" /v MachineGuid',
50
- { encoding: "utf-8", timeout: 3000 }
51
- );
52
- const m = out.match(/MachineGuid\s+REG_SZ\s+(\S+)/);
53
- if (m?.[1]) return hashToId(m[1]);
54
- }
55
- } catch {}
56
-
57
- // Tier 3: hashed system properties
58
- try {
59
- const sysProps = [
60
- hostname(),
61
- homedir(),
62
- platform(),
63
- arch(),
64
- cpus()[0]?.model ?? "",
65
- ].join(":");
66
- return hashToId(sysProps);
67
- } catch {}
68
-
69
- // Tier 4: random UUID written to file for future consistency
70
- const id = randomUUID();
71
- try {
72
- mkdirSync(idDir, { recursive: true });
73
- writeFileSync(idFile, id, "utf-8");
74
- } catch {}
75
- return id;
76
- }
77
-
78
- /**
79
- * Track a named event to PostHog. No-op when telemetry is disabled.
80
- * Uses process.env.npm_package_version (set automatically by npm in lifecycle scripts).
81
- */
82
- export async function trackInstallEvent(event, properties = {}) {
83
- if (process.env.FAILPROOFAI_TELEMETRY_DISABLED === "1") return;
84
-
85
- const version = process.env.npm_package_version ?? "unknown";
86
- const body = JSON.stringify({
87
- api_key: process.env.FAILPROOFAI_POSTHOG_KEY ?? API_KEY,
88
- event,
89
- distinct_id: getInstanceId(),
90
- properties: {
91
- ...properties,
92
- $lib: "failproofai-install",
93
- failproofai_version: version,
94
- },
95
- });
96
-
97
- await fetch(
98
- process.env.FAILPROOFAI_POSTHOG_HOST
99
- ? `${process.env.FAILPROOFAI_POSTHOG_HOST}/capture/`
100
- : CAPTURE_URL,
101
- {
102
- method: "POST",
103
- headers: { "Content-Type": "application/json" },
104
- body,
105
- signal: AbortSignal.timeout(5000),
106
- }
107
- );
108
- }