failproofai 1.0.0-beta.6 → 1.0.0-beta.7
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.
- package/.next/standalone/.next/BUILD_ID +1 -1
- package/.next/standalone/.next/build-manifest.json +3 -3
- package/.next/standalone/.next/prerender-manifest.json +3 -3
- package/.next/standalone/.next/required-server-files.json +1 -1
- package/.next/standalone/.next/server/app/_global-error/page/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_global-error.html +1 -1
- package/.next/standalone/.next/server/app/_global-error.rsc +7 -7
- package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +7 -7
- package/.next/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/_not-found.html +1 -1
- package/.next/standalone/.next/server/app/_not-found.rsc +14 -14
- package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +14 -14
- package/.next/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
- package/.next/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +9 -9
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
- package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/api/audit/invite/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/audit/run/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/audit/status/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/auth/login-request/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/auth/login-verify/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/auth/logout/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/auth/reminder/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/auth/status/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/download/[project]/[session]/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/audit/page/server-reference-manifest.json +2 -2
- package/.next/standalone/.next/server/app/audit/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/audit/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/index.html +1 -1
- package/.next/standalone/.next/server/app/index.rsc +14 -14
- package/.next/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/index.segments/_full.segment.rsc +14 -14
- package/.next/standalone/.next/server/app/index.segments/_head.segment.rsc +4 -4
- package/.next/standalone/.next/server/app/index.segments/_index.segment.rsc +9 -9
- package/.next/standalone/.next/server/app/index.segments/_tree.segment.rsc +1 -1
- package/.next/standalone/.next/server/app/page/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/server/app/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/policies/page/server-reference-manifest.json +10 -10
- package/.next/standalone/.next/server/app/policies/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/policies/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/project/[name]/page/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/server/app/project/[name]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/project/[name]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page/react-loadable-manifest.json +2 -2
- package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page/server-reference-manifest.json +2 -2
- package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/project/[name]/session/[sessionId]/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/projects/page/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/server/app/projects/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/projects/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/app/settings/page/server-reference-manifest.json +4 -4
- package/.next/standalone/.next/server/app/settings/page.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__06hexd0._.js +1 -1
- package/.next/standalone/.next/server/chunks/_0lxbzdq._.js +1 -1
- package/.next/standalone/.next/server/chunks/_1zuiiy3._.js +1 -1
- package/.next/standalone/.next/server/chunks/package_json_[json]_cjs_1nxcc4v._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__1_a_gwn._.js → [root-of-the-server]__0c_qcgp._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0kbc9bs._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0spkm68._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1rv-sc9._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1tyf0tc._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1u-wx42._.js +2 -2
- package/.next/standalone/.next/server/chunks/ssr/_04mekdy._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_0r-dsre._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_0rjgfln._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_0se484m._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_0uz7o9y._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{_0igtyj5._.js → _194yh9u._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_1fahg9e._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_1w8sola._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_1w_6p9g._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/app_audit__components_audit-dashboard_tsx_0p9ud47._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/app_global-error_tsx_1kp6l3x._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/app_policies_hooks-client_tsx_19dqvpc._.js +1 -1
- package/.next/standalone/.next/server/middleware-build-manifest.js +3 -3
- package/.next/standalone/.next/server/pages/404.html +1 -1
- package/.next/standalone/.next/server/pages/500.html +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
- package/.next/standalone/.next/server/server-reference-manifest.json +15 -15
- package/.next/standalone/.next/static/chunks/0945ybz3fsvba.js +1 -0
- package/.next/standalone/.next/static/chunks/{3rbpw_waieafm.js → 0gr76ps8_zm26.js} +1 -1
- package/.next/standalone/.next/static/chunks/{0_2n13i94rnw5.js → 0m-m7wgtxdoav.js} +1 -1
- package/.next/standalone/.next/static/chunks/11l6oh9cyb35a.js +1 -0
- package/.next/standalone/.next/static/chunks/166f8qnh03jqc.js +6 -0
- package/.next/standalone/.next/static/chunks/2aej0vi1fm87m.js +1 -0
- package/.next/standalone/.next/static/chunks/{3f_939wi3kfnx.js → 2bxld6-rym3ah.js} +1 -1
- package/.next/standalone/.next/static/chunks/{3p1vpm2_-tfwm.js → 2p2kz4aj1tooj.js} +1 -1
- package/.next/standalone/.next/static/chunks/{28zkwzu50puki.js → 36pc3_8fpb6ic.js} +1 -1
- package/.next/standalone/.next/static/chunks/{34fa65k0cldkj.js → 3t1wr_kx6brwc.js} +1 -1
- package/.next/standalone/package.json +5 -5
- package/.next/standalone/server.js +1 -1
- package/bin/failproofai.mjs +25 -26
- package/dist/cli.mjs +167 -62
- package/dist/worker.mjs +1 -1
- package/package.json +5 -5
- package/src/hooks/configure-wizard.ts +54 -0
- package/src/hooks/daemon-service.ts +10 -2
- package/src/hooks/fp-home.ts +13 -0
- package/src/hooks/onboarding-attempt.ts +179 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1e7-pa7._.js +0 -3
- package/.next/standalone/.next/static/chunks/23557z4e6dtsr.js +0 -1
- package/.next/standalone/.next/static/chunks/3081gykdubv8b.js +0 -1
- package/.next/standalone/.next/static/chunks/35v07j9gc1pvr.js +0 -6
- package/.next/standalone/.next/static/chunks/40ffnfpkeyvb0.js +0 -1
- /package/.next/standalone/.next/static/{Ptn8aBQl_cnNgOd0ebyv0 → LUaLkKg40nSkHrIajexIk}/_buildManifest.js +0 -0
- /package/.next/standalone/.next/static/{Ptn8aBQl_cnNgOd0ebyv0 → LUaLkKg40nSkHrIajexIk}/_clientMiddlewareManifest.js +0 -0
- /package/.next/standalone/.next/static/{Ptn8aBQl_cnNgOd0ebyv0 → LUaLkKg40nSkHrIajexIk}/_ssgManifest.js +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
globalThis.__RSC_MANIFEST = globalThis.__RSC_MANIFEST || {};
|
|
2
|
-
globalThis.__RSC_MANIFEST["/settings/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":39756,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":37457,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":47257,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":92825,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":68017,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":97367,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":27201,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/contexts/PostHogContext.tsx <module evaluation>":{"id":12344,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/contexts/PostHogContext.tsx":{"id":12344,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/app/components/global-error-listeners.tsx <module evaluation>":{"id":97917,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/app/components/global-error-listeners.tsx":{"id":97917,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/contexts/AutoRefreshContext.tsx <module evaluation>":{"id":85881,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/contexts/AutoRefreshContext.tsx":{"id":85881,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/components/navbar.tsx <module evaluation>":{"id":63780,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/components/navbar.tsx":{"id":63780,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/app/components/toast.tsx <module evaluation>":{"id":55574,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/app/components/toast.tsx":{"id":55574,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/app/error.tsx <module evaluation>":{"id":8821,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js","/_next/static/chunks/3xpjn3cdgm-7m.js"],"async":false},"[project]/app/error.tsx":{"id":8821,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js","/_next/static/chunks/3xpjn3cdgm-7m.js"],"async":false},"[project]/app/global-error.tsx <module evaluation>":{"id":53348,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js","/_next/static/chunks/3081gykdubv8b.js"],"async":false},"[project]/app/global-error.tsx":{"id":53348,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js","/_next/static/chunks/3081gykdubv8b.js"],"async":false},"[project]/app/settings/settings-client.tsx <module evaluation>":{"id":93237,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js","/_next/static/chunks/28zkwzu50puki.js"],"async":false},"[project]/app/settings/settings-client.tsx":{"id":93237,"name":"*","chunks":["/_next/static/chunks/40ffnfpkeyvb0.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js","/_next/static/chunks/28zkwzu50puki.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1e7-pa7._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1e7-pa7._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1e7-pa7._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1e7-pa7._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1e7-pa7._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1e7-pa7._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1e7-pa7._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"12344":{"*":{"id":10765,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1e7-pa7._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"97917":{"*":{"id":45550,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1e7-pa7._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"85881":{"*":{"id":6236,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1e7-pa7._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"63780":{"*":{"id":10815,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1e7-pa7._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"55574":{"*":{"id":18952,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1e7-pa7._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"8821":{"*":{"id":78141,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1e7-pa7._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js","server/chunks/ssr/app_209u41o._.js"],"async":false}},"53348":{"*":{"id":3171,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1e7-pa7._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js","server/chunks/ssr/app_global-error_tsx_1kp6l3x._.js"],"async":false}},"93237":{"*":{"id":41857,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__1e7-pa7._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js","server/chunks/ssr/_0rjgfln._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":17910,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":40771,"name":"*","chunks":[],"async":false}},"12344":{"*":{"id":92036,"name":"*","chunks":[],"async":false}},"97917":{"*":{"id":16336,"name":"*","chunks":[],"async":false}},"85881":{"*":{"id":54950,"name":"*","chunks":[],"async":false}},"63780":{"*":{"id":42976,"name":"*","chunks":[],"async":false}},"55574":{"*":{"id":33711,"name":"*","chunks":[],"async":false}},"8821":{"*":{"id":50757,"name":"*","chunks":[],"async":false}},"53348":{"*":{"id":53128,"name":"*","chunks":[],"async":false}},"93237":{"*":{"id":30575,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/app/layout":[{"path":"static/chunks/1bm0q12hgs22l.css","inlined":false}],"[project]/app/error":[{"path":"static/chunks/1bm0q12hgs22l.css","inlined":false}],"[project]/app/global-error":[{"path":"static/chunks/1bm0q12hgs22l.css","inlined":false}],"[project]/app/settings/page":[{"path":"static/chunks/1bm0q12hgs22l.css","inlined":false}]},"entryJSFiles":{"[project]/app/layout":["static/chunks/40ffnfpkeyvb0.js","static/chunks/16p68cybetr31.js","static/chunks/0wwt5o04i4zwh.js"],"[project]/app/error":["static/chunks/40ffnfpkeyvb0.js","static/chunks/16p68cybetr31.js","static/chunks/0wwt5o04i4zwh.js","static/chunks/3xpjn3cdgm-7m.js"],"[project]/app/global-error":["static/chunks/40ffnfpkeyvb0.js","static/chunks/16p68cybetr31.js","static/chunks/0wwt5o04i4zwh.js","static/chunks/3081gykdubv8b.js"],"[project]/app/settings/page":["static/chunks/40ffnfpkeyvb0.js","static/chunks/16p68cybetr31.js","static/chunks/0wwt5o04i4zwh.js","static/chunks/28zkwzu50puki.js"]}};
|
|
2
|
+
globalThis.__RSC_MANIFEST["/settings/page"] = {"moduleLoading":{"prefix":"","crossOrigin":null},"clientModules":{"[project]/node_modules/next/dist/esm/client/components/layout-router.js <module evaluation>":{"id":39756,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/layout-router.js":{"id":39756,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js <module evaluation>":{"id":37457,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":37457,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js <module evaluation>":{"id":47257,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-page.js":{"id":47257,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js <module evaluation>":{"id":92825,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/client-segment.js":{"id":92825,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js <module evaluation>":{"id":68017,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/client/components/http-access-fallback/error-boundary.js":{"id":68017,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js <module evaluation>":{"id":97367,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/framework/boundary-components.js":{"id":97367,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js <module evaluation>":{"id":27201,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/node_modules/next/dist/esm/lib/metadata/generate/icon-mark.js":{"id":27201,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/contexts/PostHogContext.tsx <module evaluation>":{"id":12344,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/contexts/PostHogContext.tsx":{"id":12344,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/app/components/global-error-listeners.tsx <module evaluation>":{"id":97917,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/app/components/global-error-listeners.tsx":{"id":97917,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/contexts/AutoRefreshContext.tsx <module evaluation>":{"id":85881,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/contexts/AutoRefreshContext.tsx":{"id":85881,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/components/navbar.tsx <module evaluation>":{"id":63780,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/components/navbar.tsx":{"id":63780,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/app/components/toast.tsx <module evaluation>":{"id":55574,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/app/components/toast.tsx":{"id":55574,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/app/error.tsx <module evaluation>":{"id":8821,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js","/_next/static/chunks/3xpjn3cdgm-7m.js"],"async":false},"[project]/app/error.tsx":{"id":8821,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js","/_next/static/chunks/3xpjn3cdgm-7m.js"],"async":false},"[project]/app/global-error.tsx <module evaluation>":{"id":53348,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js","/_next/static/chunks/11l6oh9cyb35a.js"],"async":false},"[project]/app/global-error.tsx":{"id":53348,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js","/_next/static/chunks/11l6oh9cyb35a.js"],"async":false},"[project]/app/settings/settings-client.tsx <module evaluation>":{"id":93237,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js","/_next/static/chunks/36pc3_8fpb6ic.js"],"async":false},"[project]/app/settings/settings-client.tsx":{"id":93237,"name":"*","chunks":["/_next/static/chunks/2aej0vi1fm87m.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js","/_next/static/chunks/36pc3_8fpb6ic.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0kbc9bs._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"37457":{"*":{"id":24017,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0kbc9bs._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"47257":{"*":{"id":77682,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0kbc9bs._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"92825":{"*":{"id":97296,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0kbc9bs._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"68017":{"*":{"id":61660,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0kbc9bs._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"97367":{"*":{"id":90574,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0kbc9bs._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"27201":{"*":{"id":60704,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0kbc9bs._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"12344":{"*":{"id":10765,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0kbc9bs._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"97917":{"*":{"id":45550,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0kbc9bs._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"85881":{"*":{"id":6236,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0kbc9bs._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"63780":{"*":{"id":10815,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0kbc9bs._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"55574":{"*":{"id":18952,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0kbc9bs._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js"],"async":false}},"8821":{"*":{"id":78141,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0kbc9bs._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js","server/chunks/ssr/app_209u41o._.js"],"async":false}},"53348":{"*":{"id":3171,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0kbc9bs._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js","server/chunks/ssr/app_global-error_tsx_1kp6l3x._.js"],"async":false}},"93237":{"*":{"id":41857,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0kbc9bs._.js","server/chunks/ssr/lib_utils_ts_0az0sfq._.js","server/chunks/ssr/node_modules_1ynf7el._.js","server/chunks/ssr/node_modules_next_dist_0uboya6._.js","server/chunks/ssr/node_modules_next_1a1kch7._.js","server/chunks/ssr/_0rjgfln._.js"],"async":false}}},"edgeSSRModuleMapping":{},"rscModuleMapping":{"39756":{"*":{"id":26768,"name":"*","chunks":[],"async":false}},"37457":{"*":{"id":17910,"name":"*","chunks":[],"async":false}},"47257":{"*":{"id":92977,"name":"*","chunks":[],"async":false}},"92825":{"*":{"id":48552,"name":"*","chunks":[],"async":false}},"68017":{"*":{"id":83919,"name":"*","chunks":[],"async":false}},"97367":{"*":{"id":24150,"name":"*","chunks":[],"async":false}},"27201":{"*":{"id":40771,"name":"*","chunks":[],"async":false}},"12344":{"*":{"id":92036,"name":"*","chunks":[],"async":false}},"97917":{"*":{"id":16336,"name":"*","chunks":[],"async":false}},"85881":{"*":{"id":54950,"name":"*","chunks":[],"async":false}},"63780":{"*":{"id":42976,"name":"*","chunks":[],"async":false}},"55574":{"*":{"id":33711,"name":"*","chunks":[],"async":false}},"8821":{"*":{"id":50757,"name":"*","chunks":[],"async":false}},"53348":{"*":{"id":53128,"name":"*","chunks":[],"async":false}},"93237":{"*":{"id":30575,"name":"*","chunks":[],"async":false}}},"edgeRscModuleMapping":{},"entryCSSFiles":{"[project]/app/layout":[{"path":"static/chunks/1bm0q12hgs22l.css","inlined":false}],"[project]/app/error":[{"path":"static/chunks/1bm0q12hgs22l.css","inlined":false}],"[project]/app/global-error":[{"path":"static/chunks/1bm0q12hgs22l.css","inlined":false}],"[project]/app/settings/page":[{"path":"static/chunks/1bm0q12hgs22l.css","inlined":false}]},"entryJSFiles":{"[project]/app/layout":["static/chunks/2aej0vi1fm87m.js","static/chunks/16p68cybetr31.js","static/chunks/0wwt5o04i4zwh.js"],"[project]/app/error":["static/chunks/2aej0vi1fm87m.js","static/chunks/16p68cybetr31.js","static/chunks/0wwt5o04i4zwh.js","static/chunks/3xpjn3cdgm-7m.js"],"[project]/app/global-error":["static/chunks/2aej0vi1fm87m.js","static/chunks/16p68cybetr31.js","static/chunks/0wwt5o04i4zwh.js","static/chunks/11l6oh9cyb35a.js"],"[project]/app/settings/page":["static/chunks/2aej0vi1fm87m.js","static/chunks/16p68cybetr31.js","static/chunks/0wwt5o04i4zwh.js","static/chunks/36pc3_8fpb6ic.js"]}};
|
|
3
3
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[50227,(e,t,i)=>{t.exports=e.x("node:path",()=>require("node:path"))},60526,(e,t,i)=>{t.exports=e.x("node:os",()=>require("node:os"))},2157,(e,t,i)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},66680,(e,t,i)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},74533,(e,t,i)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},93133,(e,t,i)=>{t.exports={name:"failproofai",version:"1.0.0-beta.
|
|
1
|
+
module.exports=[50227,(e,t,i)=>{t.exports=e.x("node:path",()=>require("node:path"))},60526,(e,t,i)=>{t.exports=e.x("node:os",()=>require("node:os"))},2157,(e,t,i)=>{t.exports=e.x("node:fs",()=>require("node:fs"))},66680,(e,t,i)=>{t.exports=e.x("node:crypto",()=>require("node:crypto"))},74533,(e,t,i)=>{t.exports=e.x("node:child_process",()=>require("node:child_process"))},93133,(e,t,i)=>{t.exports={name:"failproofai",version:"1.0.0-beta.7",description:"The easiest way to manage policies that keep your AI agents reliable, on-task, and running autonomously — for Claude Code & the Agents SDK",bin:{failproofai:"./dist/cli.mjs",failproofaid:"./bin/failproofaid-shim.mjs"},files:["bin/","src/","scripts/","lib/","pi-extension/","openclaw-plugin/",".next/standalone/","dist/","README.md"],engines:{node:">=20.9.0",bun:">=1.3.0"},scripts:{predev:"bun run build:cli && bun link",dev:"FAILPROOFAI_TELEMETRY_DISABLED=1 bun scripts/dev.ts --port 8020","build:cli":"bun build --target=node --format=esm --outfile=dist/cli.mjs bin/failproofai.mjs --external posthog-node --external sql.js && node -e \"const fs=require('fs');const c=fs.readFileSync('dist/cli.mjs','utf8');fs.writeFileSync('dist/cli.mjs',c.replace('#!/usr/bin/env bun','#!/usr/bin/env node').replace('// @bun\\n',''))\"","build:worker":"bun build --target=node --format=esm --outfile=dist/worker.mjs bin/failproofai-worker.mjs --external posthog-node --external sql.js",build:"bun build --target=node --format=cjs --outfile=dist/index.js src/index.ts && bun run build:cli && bun run build:worker && bun --bun next build && node -e \"const {cpSync}=require('fs');cpSync('.next/static','.next/standalone/.next/static',{recursive:true});\" && node scripts/prune-standalone.mjs",prestart:"bun run build:cli && bun link",start:"FAILPROOFAI_TELEMETRY_DISABLED=1 bun scripts/start.ts",test:"vitest","test:run":"vitest run",lint:"eslint . --config eslint.config.mjs",prepare:"bun run build","test:e2e":"vitest run --config vitest.config.e2e.mts","test:e2e:watch":"vitest --config vitest.config.e2e.mts",translate:"bun scripts/translate-docs/cli.ts","translate:readme":"bun scripts/translate-docs/cli.ts --readme-only","translate:docs":"bun scripts/translate-docs/cli.ts --docs-only","translate:dry-run":"bun scripts/translate-docs/cli.ts --dry-run","translate:validate":"bun scripts/translate-docs/cli.ts --validate","validate:mdx":"bun scripts/validate-mdx.ts"},keywords:["claude","claude-code","claude-agents-sdk","anthropic","ai-agent","agent-reliability","agent-monitoring","autonomous-agent","failure-prevention","developer-tools","devtools","cli","local-first","hooks","policies"],author:"ExosphereHost Inc. <failproofai@exosphere.host>",license:"SEE LICENSE IN LICENSE",homepage:"https://github.com/FailproofAI/failproofai",repository:{type:"git",url:"https://github.com/FailproofAI/failproofai.git"},bugs:{url:"https://github.com/FailproofAI/failproofai/issues"},publishConfig:{access:"public"},devDependencies:{"@anthropic-ai/sdk":"^0.115.0","@mdx-js/mdx":"^3.1.1","@tailwindcss/postcss":"^4.3.1","@tanstack/react-virtual":"^3.14.9","@testing-library/jest-dom":"^7.0.0","@testing-library/react":"^16.3.2","@testing-library/user-event":"^14.6.1","@types/node":"26.1.2","@types/react":"19.2.18","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^6.0.5",clsx:"^2.1.1",eslint:"^10.5.0","eslint-config-next":"^16.2.9",jsdom:"^30.0.1","lucide-react":"^1.28.0",next:"^16.2.11",react:"^19.2.4","react-dom":"^19.2.4","tailwind-merge":"^3.4.0",tailwindcss:"^4.3.1",typescript:"6.0.3",vitest:"^4.1.9"},dependencies:{"html-to-image":"^1.11.13",html2canvas:"^1.4.1","posthog-node":"^5.47.7","smol-toml":"^1.7.1","sql.js":"^1.14.1",yaml:"^2.9.0"},overrides:{postcss:"8.5.23","eslint-plugin-react-hooks":"7.0.1",vite:"8.0.16",undici:"7.29.0","brace-expansion":"5.0.9",sharp:"0.35.0"},optionalDependencies:{"@failproofai/failproofaid-linux-x64":"1.0.0-beta.7","@failproofai/failproofaid-linux-arm64":"1.0.0-beta.7","@failproofai/failproofaid-darwin-x64":"1.0.0-beta.7","@failproofai/failproofaid-darwin-arm64":"1.0.0-beta.7"}}},15855,43477,e=>{"use strict";let t;var i=e.i(2157),r=e.i(50227),s=e.i(60526),n=e.i(66680);function a(e){return e?(0,r.resolve)(e,".failproofai"):process.env.FAILPROOFAI_HOME||(0,r.resolve)((0,s.homedir)(),".failproofai")}e.i(74533);let o=(e,...t)=>e?(0,r.resolve)(a(e),...t):((...e)=>(0,r.resolve)(a(),...e))(...t),l=e=>(0,r.resolve)(o(e,"state"),"telemetry-id");e.s(["configFile",0,e=>o(e,"config.toml"),"telemetryIdFile",0,l],43477);let d=r.default.join(s.default.homedir(),".failproofai"),c=r.default.join(d,"instance-id");function u(e){return n.default.createHmac("sha256","failproofai-telemetry-v1").update(e).digest("hex")}function f(e){let t;try{if(t=l(),i.default.readFileSync(t,"utf-8").trim()===e)return}catch{try{t=l()}catch{return}}try{i.default.mkdirSync(r.default.dirname(t),{recursive:!0});let s=`${t}.${process.pid}.tmp`;i.default.writeFileSync(s,e,{encoding:"utf-8",mode:384}),i.default.renameSync(s,t)}catch{}}e.s(["getInstanceId",0,function(){if(t)return t;let e=function(){try{for(let e of(s.default.platform(),["/etc/machine-id","/var/lib/dbus/machine-id"]))try{let t=i.default.readFileSync(e,"utf-8").trim();if(t)return t}catch{}}catch{}}();if(e)return f(t=u(e)),t;let r=[s.default.hostname(),s.default.homedir(),s.default.platform(),s.default.arch(),s.default.cpus()[0]?.model??""].join(":");return r?f(t=u(r)):f(t=function(){try{let e=i.default.readFileSync(c,"utf-8").trim();if(e)return e}catch{}let e=n.default.randomUUID();try{i.default.mkdirSync(d,{recursive:!0}),i.default.writeFileSync(c,e,"utf-8")}catch{}return e}()),t},"hashToId",0,u],15855)},37581,e=>{e.v(t=>Promise.all(["server/chunks/[externals]__1ifpkx-._.js","server/chunks/node_modules_posthog-node_dist_entrypoints_index_node_mjs_09z9-p7._.js"].map(t=>e.l(t))).then(()=>t(28864)))}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=%5Broot-of-the-server%5D__06hexd0._.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
module.exports=[24214,(e,t,i)=>{t.exports={name:"failproofai",version:"1.0.0-beta.
|
|
1
|
+
module.exports=[24214,(e,t,i)=>{t.exports={name:"failproofai",version:"1.0.0-beta.7",description:"The easiest way to manage policies that keep your AI agents reliable, on-task, and running autonomously — for Claude Code & the Agents SDK",bin:{failproofai:"./dist/cli.mjs",failproofaid:"./bin/failproofaid-shim.mjs"},files:["bin/","src/","scripts/","lib/","pi-extension/","openclaw-plugin/",".next/standalone/","dist/","README.md"],engines:{node:">=20.9.0",bun:">=1.3.0"},scripts:{predev:"bun run build:cli && bun link",dev:"FAILPROOFAI_TELEMETRY_DISABLED=1 bun scripts/dev.ts --port 8020","build:cli":"bun build --target=node --format=esm --outfile=dist/cli.mjs bin/failproofai.mjs --external posthog-node --external sql.js && node -e \"const fs=require('fs');const c=fs.readFileSync('dist/cli.mjs','utf8');fs.writeFileSync('dist/cli.mjs',c.replace('#!/usr/bin/env bun','#!/usr/bin/env node').replace('// @bun\\n',''))\"","build:worker":"bun build --target=node --format=esm --outfile=dist/worker.mjs bin/failproofai-worker.mjs --external posthog-node --external sql.js",build:"bun build --target=node --format=cjs --outfile=dist/index.js src/index.ts && bun run build:cli && bun run build:worker && bun --bun next build && node -e \"const {cpSync}=require('fs');cpSync('.next/static','.next/standalone/.next/static',{recursive:true});\" && node scripts/prune-standalone.mjs",prestart:"bun run build:cli && bun link",start:"FAILPROOFAI_TELEMETRY_DISABLED=1 bun scripts/start.ts",test:"vitest","test:run":"vitest run",lint:"eslint . --config eslint.config.mjs",prepare:"bun run build","test:e2e":"vitest run --config vitest.config.e2e.mts","test:e2e:watch":"vitest --config vitest.config.e2e.mts",translate:"bun scripts/translate-docs/cli.ts","translate:readme":"bun scripts/translate-docs/cli.ts --readme-only","translate:docs":"bun scripts/translate-docs/cli.ts --docs-only","translate:dry-run":"bun scripts/translate-docs/cli.ts --dry-run","translate:validate":"bun scripts/translate-docs/cli.ts --validate","validate:mdx":"bun scripts/validate-mdx.ts"},keywords:["claude","claude-code","claude-agents-sdk","anthropic","ai-agent","agent-reliability","agent-monitoring","autonomous-agent","failure-prevention","developer-tools","devtools","cli","local-first","hooks","policies"],author:"ExosphereHost Inc. <failproofai@exosphere.host>",license:"SEE LICENSE IN LICENSE",homepage:"https://github.com/FailproofAI/failproofai",repository:{type:"git",url:"https://github.com/FailproofAI/failproofai.git"},bugs:{url:"https://github.com/FailproofAI/failproofai/issues"},publishConfig:{access:"public"},devDependencies:{"@anthropic-ai/sdk":"^0.115.0","@mdx-js/mdx":"^3.1.1","@tailwindcss/postcss":"^4.3.1","@tanstack/react-virtual":"^3.14.9","@testing-library/jest-dom":"^7.0.0","@testing-library/react":"^16.3.2","@testing-library/user-event":"^14.6.1","@types/node":"26.1.2","@types/react":"19.2.18","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^6.0.5",clsx:"^2.1.1",eslint:"^10.5.0","eslint-config-next":"^16.2.9",jsdom:"^30.0.1","lucide-react":"^1.28.0",next:"^16.2.11",react:"^19.2.4","react-dom":"^19.2.4","tailwind-merge":"^3.4.0",tailwindcss:"^4.3.1",typescript:"6.0.3",vitest:"^4.1.9"},dependencies:{"html-to-image":"^1.11.13",html2canvas:"^1.4.1","posthog-node":"^5.47.7","smol-toml":"^1.7.1","sql.js":"^1.14.1",yaml:"^2.9.0"},overrides:{postcss:"8.5.23","eslint-plugin-react-hooks":"7.0.1",vite:"8.0.16",undici:"7.29.0","brace-expansion":"5.0.9",sharp:"0.35.0"},optionalDependencies:{"@failproofai/failproofaid-linux-x64":"1.0.0-beta.7","@failproofai/failproofaid-linux-arm64":"1.0.0-beta.7","@failproofai/failproofaid-darwin-x64":"1.0.0-beta.7","@failproofai/failproofaid-darwin-arm64":"1.0.0-beta.7"}}},28067,e=>{"use strict";e.s(["POSTHOG_API_KEY",0,"phc_Ac1Ww1GqKc0z1SyrRWbmatEeQdlOQIsDEEdP8l8JRgX","POSTHOG_PRODUCT",0,"failproofai-oss"])},17694,e=>{"use strict";var t=e.i(2157);e.i(50227);let i=/^(\d{4}-\d{2}-\d{2})?[T ]?(?:(\d{2}):\d{2}(?::\d{2}(?:\.\d+)?)?)?(Z|[-+]\d{2}:\d{2})?$/i;class n extends Date{#e=!1;#t=!1;#i=null;constructor(e){let t=!0,n=!0,r="Z";if("string"==typeof e){let o=e.match(i);o?(o[1]||(t=!1,e=`0000-01-01T${e}`),(n=!!o[2])&&" "===e[10]&&(e=e.replace(" ","T")),o[2]&&+o[2]>23?e="":(r=o[3]||null,e=e.toUpperCase(),!r&&n&&(e+="Z"))):e=""}super(e),isNaN(this.getTime())||(this.#e=t,this.#t=n,this.#i=r)}isDateTime(){return this.#e&&this.#t}isLocal(){return!this.#e||!this.#t||!this.#i}isDate(){return this.#e&&!this.#t}isTime(){return this.#t&&!this.#e}isValid(){return this.#e||this.#t}toISOString(){let e=super.toISOString();if(this.isDate())return e.slice(0,10);if(this.isTime())return e.slice(11,23);if(null===this.#i)return e.slice(0,-1);if("Z"===this.#i)return e;let t=60*this.#i.slice(1,3)+ +this.#i.slice(4,6);return t="-"===this.#i[0]?t:-t,new Date(this.getTime()-6e4*t).toISOString().slice(0,-1)+this.#i}static wrapAsOffsetDateTime(e,t="Z"){let i=new n(e);return i.#i=t,i}static wrapAsLocalDateTime(e){let t=new n(e);return t.#i=null,t}static wrapAsLocalDate(e){let t=new n(e);return t.#t=!1,t.#i=null,t}static wrapAsLocalTime(e){let t=new n(e);return t.#e=!1,t.#i=null,t}}class r extends Error{line;column;codeblock;constructor(e,t){const[i,n]=function(e,t){let i=e.slice(0,t).split(/\r\n|\n|\r/g);return[i.length,i.pop().length+1]}(t.toml,t.ptr),r=function(e,t,i){let n=e.split(/\r\n|\n|\r/g),r="",o=(0|Math.log10(t+1))+1;for(let e=t-1;e<=t+1;e++){let l=n[e-1];l&&(r+=e.toString().padEnd(o," "),r+=": ",r+=l,r+="\n",e===t&&(r+=" ".repeat(o+i+2),r+="^\n"))}return r}(t.toml,i,n);super(`Invalid TOML document: ${e}
|
|
2
2
|
|
|
3
3
|
${r}`,t),this.line=i,this.column=n,this.codeblock=r}}let o=/^((0x[0-9a-fA-F](_?[0-9a-fA-F])*)|(([+-]|0[ob])?\d(_?\d)*))$/,l=/^[+-]?\d(_?\d)*(\.\d(_?\d)*)?([eE][+-]?\d(_?\d)*)?$/,s=/^[+-]?0[0-9_]/;function a(e,t){let i=e[t++],n=i,o="'"===i,l=i===e[t]&&i===e[t+1];l&&("\n"===e[t+=2]?t++:"\r"===e[t]&&"\n"===e[t+1]&&(t+=2));let s="",a=t,f=0;for(let c=t;c<e.length;c++)if(i=e[c],l&&("\n"===i||"\r"===i&&"\n"===e[c+1]))f=f&&3;else if(i<" "&&" "!==i||""===i)throw new r("control characters are not allowed in strings",{toml:e,ptr:c});else if((!f||3===f)&&i===n&&(!l||e[c+1]===n&&e[c+2]===n))return l&&(e[c+3]===n&&c++,e[c+3]===n&&c++),[f?s:s+e.slice(a,c),c+(l?3:1)];else if(f){if(1===f)if("x"===i||"u"===i||"U"===i){let t=0,n="x"===i?2:"u"===i?4:8;for(let i=0;i<n;i++,c++){let i=e.charCodeAt(c+1),n=i>=48&&i<=57?i-48:i>=65&&i<=70?i-65+10:i>=97&&i<=102?i-97+10:-1;if(n<0)throw new r("invalid non-hex character in unicode escape",{toml:e,ptr:c+1});t=t<<4|n}if(t<0||t>1114111||t>=55296&&t<=57343)throw new r("invalid unicode escape",{toml:e,ptr:c});s+=String.fromCodePoint(t),a=c+1,f=0}else if(" "===i||" "===i)f=2;else{if("b"===i)s+="\b";else if("t"===i)s+=" ";else if("n"===i)s+="\n";else if("f"===i)s+="\f";else if("r"===i)s+="\r";else if("e"===i)s+="\x1b";else if('"'===i)s+='"';else if("\\"===i)s+="\\";else throw new r("unrecognized escape sequence",{toml:e,ptr:c});a=c+1,f=0}else if(" "!==i&&" "!==i){if(2===f)throw new r("invalid escape: only line-ending whitespace may be escaped",{toml:e,ptr:a});f=+(!o&&"\\"===i),a=c}}else o||"\\"!==i||(s+=e.slice(a,a=c),f=1);throw new r("unfinished string",{toml:e,ptr:t})}function f(e,t=0,i=e.length){let n=e.indexOf("\n",t);return"\r"===e[n-1]&&n--,n<=i?n:-1}function c(e,t){for(let i=t;i<e.length;i++){let n=e[i];if("\n"===n)return i;if("\r"===n&&"\n"===e[i+1])return i+1;if(n<" "&&" "!==n||""===n)throw new r("control characters are not allowed in comments",{toml:e,ptr:t})}return e.length}function u(e,t,i,n){let r;for(;;){for(;" "===(r=e[t])||" "===r||!i&&("\n"===r||"\r"===r&&"\n"===e[t+1]);)t++;if(n||"#"!==r)break;t=c(e,t)}return t}let d=/^[a-zA-Z0-9-_]+[ \t]*$/;function p(e,t,i="="){let n=t-1,o=[],l=e.indexOf(i,t);if(l<0)throw new r("incomplete key-value: cannot find end of key",{toml:e,ptr:t});do{let s=e[t=++n];if(" "!==s&&" "!==s)if('"'===s||"'"===s){if(s===e[t+1]&&s===e[t+2])throw new r("multiline strings are not allowed in keys",{toml:e,ptr:t});let[c,u]=a(e,t);n=e.indexOf(".",u);let d=e.slice(u,n<0||n>l?l:n),p=f(d);if(p>-1)throw new r("newlines are not allowed in keys",{toml:e,ptr:t+n+p});if(d.trimStart())throw new r("found extra tokens after the string part",{toml:e,ptr:u});if(l<u&&(l=e.indexOf(i,u))<0)throw new r("incomplete key-value: cannot find end of key",{toml:e,ptr:t});o.push(c)}else{n=e.indexOf(".",t);let i=e.slice(t,n<0||n>l?l:n);if(!d.test(i))throw new r("only letter, numbers, dashes and underscores are allowed in keys",{toml:e,ptr:t});o.push(i.trimEnd())}}while(n+1&&n<l)return[o,u(e,l+1,!0,!0)]}function m(e,t,i,n){let r,o,l=t,s=i,a=!1;for(let t=0;t<e.length;t++){if(t){if(l=a?l[r]:l[r]={},s=(o=s[r]).c,0===n&&(1===o.t||2===o.t))return null;if(2===o.t){let e=l.length-1;l=l[e],s=s[e].c}}if((a=Object.hasOwn(l,r=e[t]))&&s[r]?.t===0&&s[r]?.d)return null;a||("__proto__"===r&&(Object.defineProperty(l,r,{enumerable:!0,configurable:!0,writable:!0}),Object.defineProperty(s,r,{enumerable:!0,configurable:!0,writable:!0})),s[r]={t:t<e.length-1&&2===n?3:n,d:!1,i:0,c:{}})}if((o=s[r]).t!==n&&(1!==n||3!==o.t)||(2===n&&(o.d||(o.d=!0,l[r]=[]),l[r].push(l={}),o.c[o.i++]=o={t:1,d:!1,i:0,c:{}}),o.d))return null;if(o.d=!0,1===n)l=a?l[r]:l[r]={};else if(0===n&&a)return null;return[r,l,o.c]}var h=e.i(79857);let b={mode:"oss",daemon:{configured:!1},collector:{sessions:!1,hooks:!0,hooksVerbosity:"decisions",redact:"minimal",environment:"local"},telemetry:{enabled:!0},audit:{auto:!1,intervalDays:7}};e.s(["isTelemetryEnabled",0,function(){if("1"===process.env.FAILPROOFAI_TELEMETRY_DISABLED)return!1;try{return function(){try{let e=function(e,{maxDepth:t=1e3,integersAsBigInt:i}={}){let d={},h={},b=d,w=h;for(let g=u(e,0);g<e.length;){if("["===e[g]){let t="["===e[++g],i=p(e,g+=+t,"]");if(t){if("]"!==e[i[1]-1])throw new r("expected end of table declaration",{toml:e,ptr:i[1]-1});i[1]++}let n=m(i[0],d,h,t?2:1);if(!n)throw new r("trying to redefine an already defined table or value",{toml:e,ptr:g});w=n[2],b=n[1],g=i[1]}else{let d=p(e,g),h=m(d[0],b,w,0);if(!h)throw new r("trying to redefine an already defined table or value",{toml:e,ptr:g});let y=function e(t,i,d,m,h){var b;let w,g;if(0===m)throw new r("document contains excessively nested structures. aborting.",{toml:t,ptr:i});let y=t[i];if("["===y||"{"===y){let[n,o]="["===y?function(t,i,n,o){let l,s=[];for(i++;"]"!==(l=t[i++])&&l;)if(","===l)throw new r("expected value, found comma",{toml:t,ptr:i-1});else if("#"===l)i=c(t,i);else if(" "!==l&&" "!==l&&"\n"!==l&&"\r"!==l){let r=e(t,i-1,"]",n-1,o);s.push(r[0]),i=r[1]}if(!l)throw new r("unfinished array encountered",{toml:t,ptr:i});return[s,i]}(t,i,m,h):function(t,i,n,o){let l,s={},a=new Set;for(i++;"}"!==(l=t[i++])&&l;)if(","===l)throw new r("expected value, found comma",{toml:t,ptr:i-1});else if("#"===l)i=c(t,i);else if(" "!==l&&" "!==l&&"\n"!==l&&"\r"!==l){let l,f=s,c=!1,[u,d]=p(t,i-1);for(let e=0;e<u.length;e++){if(e&&(f=c?f[l]:f[l]={}),(c=Object.hasOwn(f,l=u[e]))&&("object"!=typeof f[l]||a.has(f[l])))throw new r("trying to redefine an already defined value",{toml:t,ptr:i});c||"__proto__"!==l||Object.defineProperty(f,l,{enumerable:!0,configurable:!0,writable:!0})}if(c)throw new r("trying to redefine an already defined value",{toml:t,ptr:i});let[m,h]=e(t,d,"}",n-1,o);a.add(m),f[l]=m,i=h}if(!l)throw new r("unfinished table encountered",{toml:t,ptr:i});return[s,i]}(t,i,m,h);if(d){if(o=u(t,o),","===t[o])o++;else if(t[o]!==d)throw new r("expected comma or end of structure",{toml:t,ptr:o})}return[n,o]}if('"'===y||"'"===y){let[e,n]=a(t,i);if(d){if(n=u(t,n),t[n]&&","!==t[n]&&t[n]!==d&&"\n"!==t[n]&&"\r"!==t[n])throw new r("unexpected character encountered",{toml:t,ptr:n});","===t[n]&&n++}return[e,n]}let v=function(e,t,i,n=!1){if(!i)return(t=f(e,t))<0?e.length:t;for(let r=t;r<e.length;r++){let t=e[r];if("#"===t){if((r=f(e,r))<0)break}else if(","===t)return r+1;else if(t===i||n&&("\n"===t||"\r"===t&&"\n"===e[r+1]))return r}throw new r("cannot find end of structure",{toml:e,ptr:t})}(t,i,d),O=(b=v-(","===t[v-1]),(g=(w=t.slice(i,b)).indexOf("#"))>-1&&(c(t,g),w=w.slice(0,g)),[w.trimEnd(),g]);if(!O[0])throw new r("incomplete key-value declaration: no value specified",{toml:t,ptr:i});return d&&O[1]>-1&&(v=u(t,i+O[1]),","===t[v]&&v++),[function(e,t,i,a){if("true"===e)return!0;if("false"===e)return!1;if("-inf"===e)return-1/0;if("inf"===e||"+inf"===e)return 1/0;if("nan"===e||"+nan"===e||"-nan"===e)return NaN;if("-0"===e)return a?0n:0;let f=o.test(e);if(f||l.test(e)){if(s.test(e))throw new r("leading zeroes are not allowed",{toml:t,ptr:i});let n=+(e=e.replace(/_/g,""));if(isNaN(n))throw new r("invalid number",{toml:t,ptr:i});if(f){if((f=!Number.isSafeInteger(n))&&!a)throw new r("integer value cannot be represented losslessly",{toml:t,ptr:i});(f||!0===a)&&(n=BigInt(e))}return n}let c=new n(e);if(!c.isValid())throw new r("invalid value",{toml:t,ptr:i});return c}(O[0],t,i,h),v]}(e,d[1],void 0,t,i);h[1][h[0]]=y[0],g=y[1]}if(g=u(e,g,!0),e[g]&&"\n"!==e[g]&&"\r"!==e[g])throw new r("each key-value declaration must be followed by an end-of-line",{toml:e,ptr:g});g=u(e,g)}return d}((0,t.readFileSync)((0,h.configFile)(),"utf8")),i=e.mode?.kind,d=e.daemon??{},b=e.collector??{},w=e.telemetry??{},g=e.audit??{};return{mode:"cloud"===i?"cloud":"oss",daemon:{configured:!0===d.configured},collector:{sessions:!0===b.sessions,hooks:!1!==b.hooks,hooksVerbosity:"all"===b.hooks_verbosity||"off"===b.hooks_verbosity?b.hooks_verbosity:"decisions",redact:"off"===b.redact?"off":"minimal",environment:"string"==typeof b.environment?b.environment:"local",machineId:"string"==typeof b.machine_id?b.machine_id:void 0},telemetry:{enabled:!1!==w.enabled},audit:{auto:!0===g.auto,intervalDays:function(e){if("number"!=typeof e||!Number.isFinite(e))return 7;let t=Math.floor(e);return t<1?7:Math.min(t,90)}(g.interval_days)}}}catch{return structuredClone(b)}}().telemetry.enabled}catch{return!0}}],17694)},10659,e=>{"use strict";let t;var i=e.i(2157),n=e.i(50227),r=e.i(60526),o=e.i(66680);e.i(74533);var l=e.i(79857);let s=n.default.join(r.default.homedir(),".failproofai"),a=n.default.join(s,"instance-id");function f(e){return o.default.createHmac("sha256","failproofai-telemetry-v1").update(e).digest("hex")}function c(e){let t;try{if(t=(0,l.telemetryIdFile)(),i.default.readFileSync(t,"utf-8").trim()===e)return}catch{try{t=(0,l.telemetryIdFile)()}catch{return}}try{i.default.mkdirSync(n.default.dirname(t),{recursive:!0});let r=`${t}.${process.pid}.tmp`;i.default.writeFileSync(r,e,{encoding:"utf-8",mode:384}),i.default.renameSync(r,t)}catch{}}e.s(["getInstanceId",0,function(){if(t)return t;let e=function(){try{for(let e of(r.default.platform(),["/etc/machine-id","/var/lib/dbus/machine-id"]))try{let t=i.default.readFileSync(e,"utf-8").trim();if(t)return t}catch{}}catch{}}();if(e)return c(t=f(e)),t;let n=[r.default.hostname(),r.default.homedir(),r.default.platform(),r.default.arch(),r.default.cpus()[0]?.model??""].join(":");return n?c(t=f(n)):c(t=function(){try{let e=i.default.readFileSync(a,"utf-8").trim();if(e)return e}catch{}let e=o.default.randomUUID();try{i.default.mkdirSync(s,{recursive:!0}),i.default.writeFileSync(a,e,"utf-8")}catch{}return e}()),t}])},46501,e=>{"use strict";var t=e.i(10659),i=e.i(17694),n=e.i(24214),r=e.i(28067);let o=r.POSTHOG_API_KEY;async function l(e,t){for(let i=1;i<=5;i++){try{let{signal:i,...n}=t,r=await fetch(e,{...n,signal:AbortSignal.timeout(5e3)});if(r.ok)return r}catch{}if(i<5){let e=Math.min(1e3*2**(i-1),8e3);await new Promise(t=>setTimeout(t,e))}}return new Response("{}",{status:200})}async function s(){try{if(!(0,i.isTelemetryEnabled)()||globalThis.__FAILPROOFAI_POSTHOG__)return;let t=await e.A(78081),n=process.env.FAILPROOFAI_POSTHOG_KEY??o,r=process.env.FAILPROOFAI_POSTHOG_HOST??"https://us.i.posthog.com";globalThis.__FAILPROOFAI_POSTHOG__=new t.PostHog(n,{host:r,flushAt:1,flushInterval:0,requestTimeout:5e3,fetchRetryCount:0,fetch:l});let s=()=>{globalThis.__FAILPROOFAI_POSTHOG__?.shutdown().catch(()=>{})};process.on("beforeExit",s),process.on("SIGTERM",s),process.on("SIGINT",s)}catch(e){console.warn("[failproofai:telemetry] init failed:",e instanceof Error?e.message:e)}}e.s(["initTelemetry",0,s,"trackEvent",0,function(e,o){if(!(0,i.isTelemetryEnabled)())return;let l=globalThis.__FAILPROOFAI_POSTHOG__;l&&l.capture({distinctId:(0,t.getInstanceId)(),event:e,properties:{...o,$lib:"failproofai",failproofai_version:n.version,product:r.POSTHOG_PRODUCT}})}])}];
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
module.exports=[10659,e=>{"use strict";let t;var i=e.i(2157),n=e.i(50227),r=e.i(60526),o=e.i(66680);e.i(74533);var l=e.i(79857);let s=n.default.join(r.default.homedir(),".failproofai"),a=n.default.join(s,"instance-id");function f(e){return o.default.createHmac("sha256","failproofai-telemetry-v1").update(e).digest("hex")}function c(e){let t;try{if(t=(0,l.telemetryIdFile)(),i.default.readFileSync(t,"utf-8").trim()===e)return}catch{try{t=(0,l.telemetryIdFile)()}catch{return}}try{i.default.mkdirSync(n.default.dirname(t),{recursive:!0});let r=`${t}.${process.pid}.tmp`;i.default.writeFileSync(r,e,{encoding:"utf-8",mode:384}),i.default.renameSync(r,t)}catch{}}e.s(["getInstanceId",0,function(){if(t)return t;let e=function(){try{for(let e of(r.default.platform(),["/etc/machine-id","/var/lib/dbus/machine-id"]))try{let t=i.default.readFileSync(e,"utf-8").trim();if(t)return t}catch{}}catch{}}();if(e)return c(t=f(e)),t;let n=[r.default.hostname(),r.default.homedir(),r.default.platform(),r.default.arch(),r.default.cpus()[0]?.model??""].join(":");return n?c(t=f(n)):c(t=function(){try{let e=i.default.readFileSync(a,"utf-8").trim();if(e)return e}catch{}let e=o.default.randomUUID();try{i.default.mkdirSync(s,{recursive:!0}),i.default.writeFileSync(a,e,"utf-8")}catch{}return e}()),t}])},17694,e=>{"use strict";var t=e.i(2157);e.i(50227);let i=/^(\d{4}-\d{2}-\d{2})?[T ]?(?:(\d{2}):\d{2}(?::\d{2}(?:\.\d+)?)?)?(Z|[-+]\d{2}:\d{2})?$/i;class n extends Date{#e=!1;#t=!1;#i=null;constructor(e){let t=!0,n=!0,r="Z";if("string"==typeof e){let o=e.match(i);o?(o[1]||(t=!1,e=`0000-01-01T${e}`),(n=!!o[2])&&" "===e[10]&&(e=e.replace(" ","T")),o[2]&&+o[2]>23?e="":(r=o[3]||null,e=e.toUpperCase(),!r&&n&&(e+="Z"))):e=""}super(e),isNaN(this.getTime())||(this.#e=t,this.#t=n,this.#i=r)}isDateTime(){return this.#e&&this.#t}isLocal(){return!this.#e||!this.#t||!this.#i}isDate(){return this.#e&&!this.#t}isTime(){return this.#t&&!this.#e}isValid(){return this.#e||this.#t}toISOString(){let e=super.toISOString();if(this.isDate())return e.slice(0,10);if(this.isTime())return e.slice(11,23);if(null===this.#i)return e.slice(0,-1);if("Z"===this.#i)return e;let t=60*this.#i.slice(1,3)+ +this.#i.slice(4,6);return t="-"===this.#i[0]?t:-t,new Date(this.getTime()-6e4*t).toISOString().slice(0,-1)+this.#i}static wrapAsOffsetDateTime(e,t="Z"){let i=new n(e);return i.#i=t,i}static wrapAsLocalDateTime(e){let t=new n(e);return t.#i=null,t}static wrapAsLocalDate(e){let t=new n(e);return t.#t=!1,t.#i=null,t}static wrapAsLocalTime(e){let t=new n(e);return t.#e=!1,t.#i=null,t}}class r extends Error{line;column;codeblock;constructor(e,t){const[i,n]=function(e,t){let i=e.slice(0,t).split(/\r\n|\n|\r/g);return[i.length,i.pop().length+1]}(t.toml,t.ptr),r=function(e,t,i){let n=e.split(/\r\n|\n|\r/g),r="",o=(0|Math.log10(t+1))+1;for(let e=t-1;e<=t+1;e++){let l=n[e-1];l&&(r+=e.toString().padEnd(o," "),r+=": ",r+=l,r+="\n",e===t&&(r+=" ".repeat(o+i+2),r+="^\n"))}return r}(t.toml,i,n);super(`Invalid TOML document: ${e}
|
|
2
2
|
|
|
3
|
-
${r}`,t),this.line=i,this.column=n,this.codeblock=r}}let o=/^((0x[0-9a-fA-F](_?[0-9a-fA-F])*)|(([+-]|0[ob])?\d(_?\d)*))$/,l=/^[+-]?\d(_?\d)*(\.\d(_?\d)*)?([eE][+-]?\d(_?\d)*)?$/,s=/^[+-]?0[0-9_]/;function a(e,t){let i=e[t++],n=i,o="'"===i,l=i===e[t]&&i===e[t+1];l&&("\n"===e[t+=2]?t++:"\r"===e[t]&&"\n"===e[t+1]&&(t+=2));let s="",a=t,f=0;for(let c=t;c<e.length;c++)if(i=e[c],l&&("\n"===i||"\r"===i&&"\n"===e[c+1]))f=f&&3;else if(i<" "&&" "!==i||""===i)throw new r("control characters are not allowed in strings",{toml:e,ptr:c});else if((!f||3===f)&&i===n&&(!l||e[c+1]===n&&e[c+2]===n))return l&&(e[c+3]===n&&c++,e[c+3]===n&&c++),[f?s:s+e.slice(a,c),c+(l?3:1)];else if(f){if(1===f)if("x"===i||"u"===i||"U"===i){let t=0,n="x"===i?2:"u"===i?4:8;for(let i=0;i<n;i++,c++){let i=e.charCodeAt(c+1),n=i>=48&&i<=57?i-48:i>=65&&i<=70?i-65+10:i>=97&&i<=102?i-97+10:-1;if(n<0)throw new r("invalid non-hex character in unicode escape",{toml:e,ptr:c+1});t=t<<4|n}if(t<0||t>1114111||t>=55296&&t<=57343)throw new r("invalid unicode escape",{toml:e,ptr:c});s+=String.fromCodePoint(t),a=c+1,f=0}else if(" "===i||" "===i)f=2;else{if("b"===i)s+="\b";else if("t"===i)s+=" ";else if("n"===i)s+="\n";else if("f"===i)s+="\f";else if("r"===i)s+="\r";else if("e"===i)s+="\x1b";else if('"'===i)s+='"';else if("\\"===i)s+="\\";else throw new r("unrecognized escape sequence",{toml:e,ptr:c});a=c+1,f=0}else if(" "!==i&&" "!==i){if(2===f)throw new r("invalid escape: only line-ending whitespace may be escaped",{toml:e,ptr:a});f=+(!o&&"\\"===i),a=c}}else o||"\\"!==i||(s+=e.slice(a,a=c),f=1);throw new r("unfinished string",{toml:e,ptr:t})}function f(e,t=0,i=e.length){let n=e.indexOf("\n",t);return"\r"===e[n-1]&&n--,n<=i?n:-1}function c(e,t){for(let i=t;i<e.length;i++){let n=e[i];if("\n"===n)return i;if("\r"===n&&"\n"===e[i+1])return i+1;if(n<" "&&" "!==n||""===n)throw new r("control characters are not allowed in comments",{toml:e,ptr:t})}return e.length}function u(e,t,i,n){let r;for(;;){for(;" "===(r=e[t])||" "===r||!i&&("\n"===r||"\r"===r&&"\n"===e[t+1]);)t++;if(n||"#"!==r)break;t=c(e,t)}return t}let d=/^[a-zA-Z0-9-_]+[ \t]*$/;function p(e,t,i="="){let n=t-1,o=[],l=e.indexOf(i,t);if(l<0)throw new r("incomplete key-value: cannot find end of key",{toml:e,ptr:t});do{let s=e[t=++n];if(" "!==s&&" "!==s)if('"'===s||"'"===s){if(s===e[t+1]&&s===e[t+2])throw new r("multiline strings are not allowed in keys",{toml:e,ptr:t});let[c,u]=a(e,t);n=e.indexOf(".",u);let d=e.slice(u,n<0||n>l?l:n),p=f(d);if(p>-1)throw new r("newlines are not allowed in keys",{toml:e,ptr:t+n+p});if(d.trimStart())throw new r("found extra tokens after the string part",{toml:e,ptr:u});if(l<u&&(l=e.indexOf(i,u))<0)throw new r("incomplete key-value: cannot find end of key",{toml:e,ptr:t});o.push(c)}else{n=e.indexOf(".",t);let i=e.slice(t,n<0||n>l?l:n);if(!d.test(i))throw new r("only letter, numbers, dashes and underscores are allowed in keys",{toml:e,ptr:t});o.push(i.trimEnd())}}while(n+1&&n<l)return[o,u(e,l+1,!0,!0)]}function m(e,t,i,n){let r,o,l=t,s=i,a=!1;for(let t=0;t<e.length;t++){if(t){if(l=a?l[r]:l[r]={},s=(o=s[r]).c,0===n&&(1===o.t||2===o.t))return null;if(2===o.t){let e=l.length-1;l=l[e],s=s[e].c}}if((a=Object.hasOwn(l,r=e[t]))&&s[r]?.t===0&&s[r]?.d)return null;a||("__proto__"===r&&(Object.defineProperty(l,r,{enumerable:!0,configurable:!0,writable:!0}),Object.defineProperty(s,r,{enumerable:!0,configurable:!0,writable:!0})),s[r]={t:t<e.length-1&&2===n?3:n,d:!1,i:0,c:{}})}if((o=s[r]).t!==n&&(1!==n||3!==o.t)||(2===n&&(o.d||(o.d=!0,l[r]=[]),l[r].push(l={}),o.c[o.i++]=o={t:1,d:!1,i:0,c:{}}),o.d))return null;if(o.d=!0,1===n)l=a?l[r]:l[r]={};else if(0===n&&a)return null;return[r,l,o.c]}var h=e.i(79857);let b={mode:"oss",daemon:{configured:!1},collector:{sessions:!1,hooks:!0,hooksVerbosity:"decisions",redact:"minimal",environment:"local"},telemetry:{enabled:!0},audit:{auto:!1,intervalDays:7}};e.s(["isTelemetryEnabled",0,function(){if("1"===process.env.FAILPROOFAI_TELEMETRY_DISABLED)return!1;try{return function(){try{let e=function(e,{maxDepth:t=1e3,integersAsBigInt:i}={}){let d={},h={},b=d,w=h;for(let g=u(e,0);g<e.length;){if("["===e[g]){let t="["===e[++g],i=p(e,g+=+t,"]");if(t){if("]"!==e[i[1]-1])throw new r("expected end of table declaration",{toml:e,ptr:i[1]-1});i[1]++}let n=m(i[0],d,h,t?2:1);if(!n)throw new r("trying to redefine an already defined table or value",{toml:e,ptr:g});w=n[2],b=n[1],g=i[1]}else{let d=p(e,g),h=m(d[0],b,w,0);if(!h)throw new r("trying to redefine an already defined table or value",{toml:e,ptr:g});let y=function e(t,i,d,m,h){var b;let w,g;if(0===m)throw new r("document contains excessively nested structures. aborting.",{toml:t,ptr:i});let y=t[i];if("["===y||"{"===y){let[n,o]="["===y?function(t,i,n,o){let l,s=[];for(i++;"]"!==(l=t[i++])&&l;)if(","===l)throw new r("expected value, found comma",{toml:t,ptr:i-1});else if("#"===l)i=c(t,i);else if(" "!==l&&" "!==l&&"\n"!==l&&"\r"!==l){let r=e(t,i-1,"]",n-1,o);s.push(r[0]),i=r[1]}if(!l)throw new r("unfinished array encountered",{toml:t,ptr:i});return[s,i]}(t,i,m,h):function(t,i,n,o){let l,s={},a=new Set;for(i++;"}"!==(l=t[i++])&&l;)if(","===l)throw new r("expected value, found comma",{toml:t,ptr:i-1});else if("#"===l)i=c(t,i);else if(" "!==l&&" "!==l&&"\n"!==l&&"\r"!==l){let l,f=s,c=!1,[u,d]=p(t,i-1);for(let e=0;e<u.length;e++){if(e&&(f=c?f[l]:f[l]={}),(c=Object.hasOwn(f,l=u[e]))&&("object"!=typeof f[l]||a.has(f[l])))throw new r("trying to redefine an already defined value",{toml:t,ptr:i});c||"__proto__"!==l||Object.defineProperty(f,l,{enumerable:!0,configurable:!0,writable:!0})}if(c)throw new r("trying to redefine an already defined value",{toml:t,ptr:i});let[m,h]=e(t,d,"}",n-1,o);a.add(m),f[l]=m,i=h}if(!l)throw new r("unfinished table encountered",{toml:t,ptr:i});return[s,i]}(t,i,m,h);if(d){if(o=u(t,o),","===t[o])o++;else if(t[o]!==d)throw new r("expected comma or end of structure",{toml:t,ptr:o})}return[n,o]}if('"'===y||"'"===y){let[e,n]=a(t,i);if(d){if(n=u(t,n),t[n]&&","!==t[n]&&t[n]!==d&&"\n"!==t[n]&&"\r"!==t[n])throw new r("unexpected character encountered",{toml:t,ptr:n});","===t[n]&&n++}return[e,n]}let v=function(e,t,i,n=!1){if(!i)return(t=f(e,t))<0?e.length:t;for(let r=t;r<e.length;r++){let t=e[r];if("#"===t){if((r=f(e,r))<0)break}else if(","===t)return r+1;else if(t===i||n&&("\n"===t||"\r"===t&&"\n"===e[r+1]))return r}throw new r("cannot find end of structure",{toml:e,ptr:t})}(t,i,d),O=(b=v-(","===t[v-1]),(g=(w=t.slice(i,b)).indexOf("#"))>-1&&(c(t,g),w=w.slice(0,g)),[w.trimEnd(),g]);if(!O[0])throw new r("incomplete key-value declaration: no value specified",{toml:t,ptr:i});return d&&O[1]>-1&&(v=u(t,i+O[1]),","===t[v]&&v++),[function(e,t,i,a){if("true"===e)return!0;if("false"===e)return!1;if("-inf"===e)return-1/0;if("inf"===e||"+inf"===e)return 1/0;if("nan"===e||"+nan"===e||"-nan"===e)return NaN;if("-0"===e)return a?0n:0;let f=o.test(e);if(f||l.test(e)){if(s.test(e))throw new r("leading zeroes are not allowed",{toml:t,ptr:i});let n=+(e=e.replace(/_/g,""));if(isNaN(n))throw new r("invalid number",{toml:t,ptr:i});if(f){if((f=!Number.isSafeInteger(n))&&!a)throw new r("integer value cannot be represented losslessly",{toml:t,ptr:i});(f||!0===a)&&(n=BigInt(e))}return n}let c=new n(e);if(!c.isValid())throw new r("invalid value",{toml:t,ptr:i});return c}(O[0],t,i,h),v]}(e,d[1],void 0,t,i);h[1][h[0]]=y[0],g=y[1]}if(g=u(e,g,!0),e[g]&&"\n"!==e[g]&&"\r"!==e[g])throw new r("each key-value declaration must be followed by an end-of-line",{toml:e,ptr:g});g=u(e,g)}return d}((0,t.readFileSync)((0,h.configFile)(),"utf8")),i=e.mode?.kind,d=e.daemon??{},b=e.collector??{},w=e.telemetry??{},g=e.audit??{};return{mode:"cloud"===i?"cloud":"oss",daemon:{configured:!0===d.configured},collector:{sessions:!0===b.sessions,hooks:!1!==b.hooks,hooksVerbosity:"all"===b.hooks_verbosity||"off"===b.hooks_verbosity?b.hooks_verbosity:"decisions",redact:"off"===b.redact?"off":"minimal",environment:"string"==typeof b.environment?b.environment:"local",machineId:"string"==typeof b.machine_id?b.machine_id:void 0},telemetry:{enabled:!1!==w.enabled},audit:{auto:!0===g.auto,intervalDays:function(e){if("number"!=typeof e||!Number.isFinite(e))return 7;let t=Math.floor(e);return t<1?7:Math.min(t,90)}(g.interval_days)}}}catch{return structuredClone(b)}}().telemetry.enabled}catch{return!0}}],17694)},24214,(e,t,i)=>{t.exports={name:"failproofai",version:"1.0.0-beta.6",description:"The easiest way to manage policies that keep your AI agents reliable, on-task, and running autonomously — for Claude Code & the Agents SDK",bin:{failproofai:"./dist/cli.mjs",failproofaid:"./bin/failproofaid-shim.mjs"},files:["bin/","src/","scripts/","lib/","pi-extension/","openclaw-plugin/",".next/standalone/","dist/","README.md"],engines:{node:">=20.9.0",bun:">=1.3.0"},scripts:{predev:"bun run build:cli && bun link",dev:"FAILPROOFAI_TELEMETRY_DISABLED=1 bun scripts/dev.ts --port 8020","build:cli":"bun build --target=node --format=esm --outfile=dist/cli.mjs bin/failproofai.mjs --external posthog-node --external sql.js && node -e \"const fs=require('fs');const c=fs.readFileSync('dist/cli.mjs','utf8');fs.writeFileSync('dist/cli.mjs',c.replace('#!/usr/bin/env bun','#!/usr/bin/env node').replace('// @bun\\n',''))\"","build:worker":"bun build --target=node --format=esm --outfile=dist/worker.mjs bin/failproofai-worker.mjs --external posthog-node --external sql.js",build:"bun build --target=node --format=cjs --outfile=dist/index.js src/index.ts && bun run build:cli && bun run build:worker && bun --bun next build && node -e \"const {cpSync}=require('fs');cpSync('.next/static','.next/standalone/.next/static',{recursive:true});\" && node scripts/prune-standalone.mjs",prestart:"bun run build:cli && bun link",start:"FAILPROOFAI_TELEMETRY_DISABLED=1 bun scripts/start.ts",test:"vitest","test:run":"vitest run",lint:"eslint . --config eslint.config.mjs",prepare:"bun run build","test:e2e":"vitest run --config vitest.config.e2e.mts","test:e2e:watch":"vitest --config vitest.config.e2e.mts",translate:"bun scripts/translate-docs/cli.ts","translate:readme":"bun scripts/translate-docs/cli.ts --readme-only","translate:docs":"bun scripts/translate-docs/cli.ts --docs-only","translate:dry-run":"bun scripts/translate-docs/cli.ts --dry-run","translate:validate":"bun scripts/translate-docs/cli.ts --validate","validate:mdx":"bun scripts/validate-mdx.ts"},keywords:["claude","claude-code","claude-agents-sdk","anthropic","ai-agent","agent-reliability","agent-monitoring","autonomous-agent","failure-prevention","developer-tools","devtools","cli","local-first","hooks","policies"],author:"ExosphereHost Inc. <failproofai@exosphere.host>",license:"SEE LICENSE IN LICENSE",homepage:"https://github.com/FailproofAI/failproofai",repository:{type:"git",url:"https://github.com/FailproofAI/failproofai.git"},bugs:{url:"https://github.com/FailproofAI/failproofai/issues"},publishConfig:{access:"public"},devDependencies:{"@anthropic-ai/sdk":"^0.115.0","@mdx-js/mdx":"^3.1.1","@tailwindcss/postcss":"^4.3.1","@tanstack/react-virtual":"^3.14.9","@testing-library/jest-dom":"^7.0.0","@testing-library/react":"^16.3.2","@testing-library/user-event":"^14.6.1","@types/node":"26.1.2","@types/react":"19.2.18","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^6.0.5",clsx:"^2.1.1",eslint:"^10.5.0","eslint-config-next":"^16.2.9",jsdom:"^30.0.1","lucide-react":"^1.28.0",next:"^16.2.11",react:"^19.2.4","react-dom":"^19.2.4","tailwind-merge":"^3.4.0",tailwindcss:"^4.3.1",typescript:"6.0.3",vitest:"^4.1.9"},dependencies:{"html-to-image":"^1.11.13",html2canvas:"^1.4.1","posthog-node":"^5.47.7","smol-toml":"^1.7.1","sql.js":"^1.14.1",yaml:"^2.9.0"},overrides:{postcss:"8.5.23","eslint-plugin-react-hooks":"7.0.1",vite:"8.0.16",undici:"7.29.0","brace-expansion":"5.0.9",sharp:"0.35.0"},optionalDependencies:{"@failproofai/failproofaid-linux-x64":"1.0.0-beta.6","@failproofai/failproofaid-linux-arm64":"1.0.0-beta.6","@failproofai/failproofaid-darwin-x64":"1.0.0-beta.6","@failproofai/failproofaid-darwin-arm64":"1.0.0-beta.6"}}},28067,e=>{"use strict";e.s(["POSTHOG_API_KEY",0,"phc_Ac1Ww1GqKc0z1SyrRWbmatEeQdlOQIsDEEdP8l8JRgX","POSTHOG_PRODUCT",0,"failproofai-oss"])},46501,e=>{"use strict";var t=e.i(10659),i=e.i(17694),n=e.i(24214),r=e.i(28067);let o=r.POSTHOG_API_KEY;async function l(e,t){for(let i=1;i<=5;i++){try{let{signal:i,...n}=t,r=await fetch(e,{...n,signal:AbortSignal.timeout(5e3)});if(r.ok)return r}catch{}if(i<5){let e=Math.min(1e3*2**(i-1),8e3);await new Promise(t=>setTimeout(t,e))}}return new Response("{}",{status:200})}async function s(){try{if(!(0,i.isTelemetryEnabled)()||globalThis.__FAILPROOFAI_POSTHOG__)return;let t=await e.A(78081),n=process.env.FAILPROOFAI_POSTHOG_KEY??o,r=process.env.FAILPROOFAI_POSTHOG_HOST??"https://us.i.posthog.com";globalThis.__FAILPROOFAI_POSTHOG__=new t.PostHog(n,{host:r,flushAt:1,flushInterval:0,requestTimeout:5e3,fetchRetryCount:0,fetch:l});let s=()=>{globalThis.__FAILPROOFAI_POSTHOG__?.shutdown().catch(()=>{})};process.on("beforeExit",s),process.on("SIGTERM",s),process.on("SIGINT",s)}catch(e){console.warn("[failproofai:telemetry] init failed:",e instanceof Error?e.message:e)}}e.s(["initTelemetry",0,s,"trackEvent",0,function(e,o){if(!(0,i.isTelemetryEnabled)())return;let l=globalThis.__FAILPROOFAI_POSTHOG__;l&&l.capture({distinctId:(0,t.getInstanceId)(),event:e,properties:{...o,$lib:"failproofai",failproofai_version:n.version,product:r.POSTHOG_PRODUCT}})}])}];
|
|
3
|
+
${r}`,t),this.line=i,this.column=n,this.codeblock=r}}let o=/^((0x[0-9a-fA-F](_?[0-9a-fA-F])*)|(([+-]|0[ob])?\d(_?\d)*))$/,l=/^[+-]?\d(_?\d)*(\.\d(_?\d)*)?([eE][+-]?\d(_?\d)*)?$/,s=/^[+-]?0[0-9_]/;function a(e,t){let i=e[t++],n=i,o="'"===i,l=i===e[t]&&i===e[t+1];l&&("\n"===e[t+=2]?t++:"\r"===e[t]&&"\n"===e[t+1]&&(t+=2));let s="",a=t,f=0;for(let c=t;c<e.length;c++)if(i=e[c],l&&("\n"===i||"\r"===i&&"\n"===e[c+1]))f=f&&3;else if(i<" "&&" "!==i||""===i)throw new r("control characters are not allowed in strings",{toml:e,ptr:c});else if((!f||3===f)&&i===n&&(!l||e[c+1]===n&&e[c+2]===n))return l&&(e[c+3]===n&&c++,e[c+3]===n&&c++),[f?s:s+e.slice(a,c),c+(l?3:1)];else if(f){if(1===f)if("x"===i||"u"===i||"U"===i){let t=0,n="x"===i?2:"u"===i?4:8;for(let i=0;i<n;i++,c++){let i=e.charCodeAt(c+1),n=i>=48&&i<=57?i-48:i>=65&&i<=70?i-65+10:i>=97&&i<=102?i-97+10:-1;if(n<0)throw new r("invalid non-hex character in unicode escape",{toml:e,ptr:c+1});t=t<<4|n}if(t<0||t>1114111||t>=55296&&t<=57343)throw new r("invalid unicode escape",{toml:e,ptr:c});s+=String.fromCodePoint(t),a=c+1,f=0}else if(" "===i||" "===i)f=2;else{if("b"===i)s+="\b";else if("t"===i)s+=" ";else if("n"===i)s+="\n";else if("f"===i)s+="\f";else if("r"===i)s+="\r";else if("e"===i)s+="\x1b";else if('"'===i)s+='"';else if("\\"===i)s+="\\";else throw new r("unrecognized escape sequence",{toml:e,ptr:c});a=c+1,f=0}else if(" "!==i&&" "!==i){if(2===f)throw new r("invalid escape: only line-ending whitespace may be escaped",{toml:e,ptr:a});f=+(!o&&"\\"===i),a=c}}else o||"\\"!==i||(s+=e.slice(a,a=c),f=1);throw new r("unfinished string",{toml:e,ptr:t})}function f(e,t=0,i=e.length){let n=e.indexOf("\n",t);return"\r"===e[n-1]&&n--,n<=i?n:-1}function c(e,t){for(let i=t;i<e.length;i++){let n=e[i];if("\n"===n)return i;if("\r"===n&&"\n"===e[i+1])return i+1;if(n<" "&&" "!==n||""===n)throw new r("control characters are not allowed in comments",{toml:e,ptr:t})}return e.length}function u(e,t,i,n){let r;for(;;){for(;" "===(r=e[t])||" "===r||!i&&("\n"===r||"\r"===r&&"\n"===e[t+1]);)t++;if(n||"#"!==r)break;t=c(e,t)}return t}let d=/^[a-zA-Z0-9-_]+[ \t]*$/;function p(e,t,i="="){let n=t-1,o=[],l=e.indexOf(i,t);if(l<0)throw new r("incomplete key-value: cannot find end of key",{toml:e,ptr:t});do{let s=e[t=++n];if(" "!==s&&" "!==s)if('"'===s||"'"===s){if(s===e[t+1]&&s===e[t+2])throw new r("multiline strings are not allowed in keys",{toml:e,ptr:t});let[c,u]=a(e,t);n=e.indexOf(".",u);let d=e.slice(u,n<0||n>l?l:n),p=f(d);if(p>-1)throw new r("newlines are not allowed in keys",{toml:e,ptr:t+n+p});if(d.trimStart())throw new r("found extra tokens after the string part",{toml:e,ptr:u});if(l<u&&(l=e.indexOf(i,u))<0)throw new r("incomplete key-value: cannot find end of key",{toml:e,ptr:t});o.push(c)}else{n=e.indexOf(".",t);let i=e.slice(t,n<0||n>l?l:n);if(!d.test(i))throw new r("only letter, numbers, dashes and underscores are allowed in keys",{toml:e,ptr:t});o.push(i.trimEnd())}}while(n+1&&n<l)return[o,u(e,l+1,!0,!0)]}function m(e,t,i,n){let r,o,l=t,s=i,a=!1;for(let t=0;t<e.length;t++){if(t){if(l=a?l[r]:l[r]={},s=(o=s[r]).c,0===n&&(1===o.t||2===o.t))return null;if(2===o.t){let e=l.length-1;l=l[e],s=s[e].c}}if((a=Object.hasOwn(l,r=e[t]))&&s[r]?.t===0&&s[r]?.d)return null;a||("__proto__"===r&&(Object.defineProperty(l,r,{enumerable:!0,configurable:!0,writable:!0}),Object.defineProperty(s,r,{enumerable:!0,configurable:!0,writable:!0})),s[r]={t:t<e.length-1&&2===n?3:n,d:!1,i:0,c:{}})}if((o=s[r]).t!==n&&(1!==n||3!==o.t)||(2===n&&(o.d||(o.d=!0,l[r]=[]),l[r].push(l={}),o.c[o.i++]=o={t:1,d:!1,i:0,c:{}}),o.d))return null;if(o.d=!0,1===n)l=a?l[r]:l[r]={};else if(0===n&&a)return null;return[r,l,o.c]}var h=e.i(79857);let b={mode:"oss",daemon:{configured:!1},collector:{sessions:!1,hooks:!0,hooksVerbosity:"decisions",redact:"minimal",environment:"local"},telemetry:{enabled:!0},audit:{auto:!1,intervalDays:7}};e.s(["isTelemetryEnabled",0,function(){if("1"===process.env.FAILPROOFAI_TELEMETRY_DISABLED)return!1;try{return function(){try{let e=function(e,{maxDepth:t=1e3,integersAsBigInt:i}={}){let d={},h={},b=d,w=h;for(let g=u(e,0);g<e.length;){if("["===e[g]){let t="["===e[++g],i=p(e,g+=+t,"]");if(t){if("]"!==e[i[1]-1])throw new r("expected end of table declaration",{toml:e,ptr:i[1]-1});i[1]++}let n=m(i[0],d,h,t?2:1);if(!n)throw new r("trying to redefine an already defined table or value",{toml:e,ptr:g});w=n[2],b=n[1],g=i[1]}else{let d=p(e,g),h=m(d[0],b,w,0);if(!h)throw new r("trying to redefine an already defined table or value",{toml:e,ptr:g});let y=function e(t,i,d,m,h){var b;let w,g;if(0===m)throw new r("document contains excessively nested structures. aborting.",{toml:t,ptr:i});let y=t[i];if("["===y||"{"===y){let[n,o]="["===y?function(t,i,n,o){let l,s=[];for(i++;"]"!==(l=t[i++])&&l;)if(","===l)throw new r("expected value, found comma",{toml:t,ptr:i-1});else if("#"===l)i=c(t,i);else if(" "!==l&&" "!==l&&"\n"!==l&&"\r"!==l){let r=e(t,i-1,"]",n-1,o);s.push(r[0]),i=r[1]}if(!l)throw new r("unfinished array encountered",{toml:t,ptr:i});return[s,i]}(t,i,m,h):function(t,i,n,o){let l,s={},a=new Set;for(i++;"}"!==(l=t[i++])&&l;)if(","===l)throw new r("expected value, found comma",{toml:t,ptr:i-1});else if("#"===l)i=c(t,i);else if(" "!==l&&" "!==l&&"\n"!==l&&"\r"!==l){let l,f=s,c=!1,[u,d]=p(t,i-1);for(let e=0;e<u.length;e++){if(e&&(f=c?f[l]:f[l]={}),(c=Object.hasOwn(f,l=u[e]))&&("object"!=typeof f[l]||a.has(f[l])))throw new r("trying to redefine an already defined value",{toml:t,ptr:i});c||"__proto__"!==l||Object.defineProperty(f,l,{enumerable:!0,configurable:!0,writable:!0})}if(c)throw new r("trying to redefine an already defined value",{toml:t,ptr:i});let[m,h]=e(t,d,"}",n-1,o);a.add(m),f[l]=m,i=h}if(!l)throw new r("unfinished table encountered",{toml:t,ptr:i});return[s,i]}(t,i,m,h);if(d){if(o=u(t,o),","===t[o])o++;else if(t[o]!==d)throw new r("expected comma or end of structure",{toml:t,ptr:o})}return[n,o]}if('"'===y||"'"===y){let[e,n]=a(t,i);if(d){if(n=u(t,n),t[n]&&","!==t[n]&&t[n]!==d&&"\n"!==t[n]&&"\r"!==t[n])throw new r("unexpected character encountered",{toml:t,ptr:n});","===t[n]&&n++}return[e,n]}let v=function(e,t,i,n=!1){if(!i)return(t=f(e,t))<0?e.length:t;for(let r=t;r<e.length;r++){let t=e[r];if("#"===t){if((r=f(e,r))<0)break}else if(","===t)return r+1;else if(t===i||n&&("\n"===t||"\r"===t&&"\n"===e[r+1]))return r}throw new r("cannot find end of structure",{toml:e,ptr:t})}(t,i,d),O=(b=v-(","===t[v-1]),(g=(w=t.slice(i,b)).indexOf("#"))>-1&&(c(t,g),w=w.slice(0,g)),[w.trimEnd(),g]);if(!O[0])throw new r("incomplete key-value declaration: no value specified",{toml:t,ptr:i});return d&&O[1]>-1&&(v=u(t,i+O[1]),","===t[v]&&v++),[function(e,t,i,a){if("true"===e)return!0;if("false"===e)return!1;if("-inf"===e)return-1/0;if("inf"===e||"+inf"===e)return 1/0;if("nan"===e||"+nan"===e||"-nan"===e)return NaN;if("-0"===e)return a?0n:0;let f=o.test(e);if(f||l.test(e)){if(s.test(e))throw new r("leading zeroes are not allowed",{toml:t,ptr:i});let n=+(e=e.replace(/_/g,""));if(isNaN(n))throw new r("invalid number",{toml:t,ptr:i});if(f){if((f=!Number.isSafeInteger(n))&&!a)throw new r("integer value cannot be represented losslessly",{toml:t,ptr:i});(f||!0===a)&&(n=BigInt(e))}return n}let c=new n(e);if(!c.isValid())throw new r("invalid value",{toml:t,ptr:i});return c}(O[0],t,i,h),v]}(e,d[1],void 0,t,i);h[1][h[0]]=y[0],g=y[1]}if(g=u(e,g,!0),e[g]&&"\n"!==e[g]&&"\r"!==e[g])throw new r("each key-value declaration must be followed by an end-of-line",{toml:e,ptr:g});g=u(e,g)}return d}((0,t.readFileSync)((0,h.configFile)(),"utf8")),i=e.mode?.kind,d=e.daemon??{},b=e.collector??{},w=e.telemetry??{},g=e.audit??{};return{mode:"cloud"===i?"cloud":"oss",daemon:{configured:!0===d.configured},collector:{sessions:!0===b.sessions,hooks:!1!==b.hooks,hooksVerbosity:"all"===b.hooks_verbosity||"off"===b.hooks_verbosity?b.hooks_verbosity:"decisions",redact:"off"===b.redact?"off":"minimal",environment:"string"==typeof b.environment?b.environment:"local",machineId:"string"==typeof b.machine_id?b.machine_id:void 0},telemetry:{enabled:!1!==w.enabled},audit:{auto:!0===g.auto,intervalDays:function(e){if("number"!=typeof e||!Number.isFinite(e))return 7;let t=Math.floor(e);return t<1?7:Math.min(t,90)}(g.interval_days)}}}catch{return structuredClone(b)}}().telemetry.enabled}catch{return!0}}],17694)},24214,(e,t,i)=>{t.exports={name:"failproofai",version:"1.0.0-beta.7",description:"The easiest way to manage policies that keep your AI agents reliable, on-task, and running autonomously — for Claude Code & the Agents SDK",bin:{failproofai:"./dist/cli.mjs",failproofaid:"./bin/failproofaid-shim.mjs"},files:["bin/","src/","scripts/","lib/","pi-extension/","openclaw-plugin/",".next/standalone/","dist/","README.md"],engines:{node:">=20.9.0",bun:">=1.3.0"},scripts:{predev:"bun run build:cli && bun link",dev:"FAILPROOFAI_TELEMETRY_DISABLED=1 bun scripts/dev.ts --port 8020","build:cli":"bun build --target=node --format=esm --outfile=dist/cli.mjs bin/failproofai.mjs --external posthog-node --external sql.js && node -e \"const fs=require('fs');const c=fs.readFileSync('dist/cli.mjs','utf8');fs.writeFileSync('dist/cli.mjs',c.replace('#!/usr/bin/env bun','#!/usr/bin/env node').replace('// @bun\\n',''))\"","build:worker":"bun build --target=node --format=esm --outfile=dist/worker.mjs bin/failproofai-worker.mjs --external posthog-node --external sql.js",build:"bun build --target=node --format=cjs --outfile=dist/index.js src/index.ts && bun run build:cli && bun run build:worker && bun --bun next build && node -e \"const {cpSync}=require('fs');cpSync('.next/static','.next/standalone/.next/static',{recursive:true});\" && node scripts/prune-standalone.mjs",prestart:"bun run build:cli && bun link",start:"FAILPROOFAI_TELEMETRY_DISABLED=1 bun scripts/start.ts",test:"vitest","test:run":"vitest run",lint:"eslint . --config eslint.config.mjs",prepare:"bun run build","test:e2e":"vitest run --config vitest.config.e2e.mts","test:e2e:watch":"vitest --config vitest.config.e2e.mts",translate:"bun scripts/translate-docs/cli.ts","translate:readme":"bun scripts/translate-docs/cli.ts --readme-only","translate:docs":"bun scripts/translate-docs/cli.ts --docs-only","translate:dry-run":"bun scripts/translate-docs/cli.ts --dry-run","translate:validate":"bun scripts/translate-docs/cli.ts --validate","validate:mdx":"bun scripts/validate-mdx.ts"},keywords:["claude","claude-code","claude-agents-sdk","anthropic","ai-agent","agent-reliability","agent-monitoring","autonomous-agent","failure-prevention","developer-tools","devtools","cli","local-first","hooks","policies"],author:"ExosphereHost Inc. <failproofai@exosphere.host>",license:"SEE LICENSE IN LICENSE",homepage:"https://github.com/FailproofAI/failproofai",repository:{type:"git",url:"https://github.com/FailproofAI/failproofai.git"},bugs:{url:"https://github.com/FailproofAI/failproofai/issues"},publishConfig:{access:"public"},devDependencies:{"@anthropic-ai/sdk":"^0.115.0","@mdx-js/mdx":"^3.1.1","@tailwindcss/postcss":"^4.3.1","@tanstack/react-virtual":"^3.14.9","@testing-library/jest-dom":"^7.0.0","@testing-library/react":"^16.3.2","@testing-library/user-event":"^14.6.1","@types/node":"26.1.2","@types/react":"19.2.18","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^6.0.5",clsx:"^2.1.1",eslint:"^10.5.0","eslint-config-next":"^16.2.9",jsdom:"^30.0.1","lucide-react":"^1.28.0",next:"^16.2.11",react:"^19.2.4","react-dom":"^19.2.4","tailwind-merge":"^3.4.0",tailwindcss:"^4.3.1",typescript:"6.0.3",vitest:"^4.1.9"},dependencies:{"html-to-image":"^1.11.13",html2canvas:"^1.4.1","posthog-node":"^5.47.7","smol-toml":"^1.7.1","sql.js":"^1.14.1",yaml:"^2.9.0"},overrides:{postcss:"8.5.23","eslint-plugin-react-hooks":"7.0.1",vite:"8.0.16",undici:"7.29.0","brace-expansion":"5.0.9",sharp:"0.35.0"},optionalDependencies:{"@failproofai/failproofaid-linux-x64":"1.0.0-beta.7","@failproofai/failproofaid-linux-arm64":"1.0.0-beta.7","@failproofai/failproofaid-darwin-x64":"1.0.0-beta.7","@failproofai/failproofaid-darwin-arm64":"1.0.0-beta.7"}}},28067,e=>{"use strict";e.s(["POSTHOG_API_KEY",0,"phc_Ac1Ww1GqKc0z1SyrRWbmatEeQdlOQIsDEEdP8l8JRgX","POSTHOG_PRODUCT",0,"failproofai-oss"])},46501,e=>{"use strict";var t=e.i(10659),i=e.i(17694),n=e.i(24214),r=e.i(28067);let o=r.POSTHOG_API_KEY;async function l(e,t){for(let i=1;i<=5;i++){try{let{signal:i,...n}=t,r=await fetch(e,{...n,signal:AbortSignal.timeout(5e3)});if(r.ok)return r}catch{}if(i<5){let e=Math.min(1e3*2**(i-1),8e3);await new Promise(t=>setTimeout(t,e))}}return new Response("{}",{status:200})}async function s(){try{if(!(0,i.isTelemetryEnabled)()||globalThis.__FAILPROOFAI_POSTHOG__)return;let t=await e.A(78081),n=process.env.FAILPROOFAI_POSTHOG_KEY??o,r=process.env.FAILPROOFAI_POSTHOG_HOST??"https://us.i.posthog.com";globalThis.__FAILPROOFAI_POSTHOG__=new t.PostHog(n,{host:r,flushAt:1,flushInterval:0,requestTimeout:5e3,fetchRetryCount:0,fetch:l});let s=()=>{globalThis.__FAILPROOFAI_POSTHOG__?.shutdown().catch(()=>{})};process.on("beforeExit",s),process.on("SIGTERM",s),process.on("SIGINT",s)}catch(e){console.warn("[failproofai:telemetry] init failed:",e instanceof Error?e.message:e)}}e.s(["initTelemetry",0,s,"trackEvent",0,function(e,o){if(!(0,i.isTelemetryEnabled)())return;let l=globalThis.__FAILPROOFAI_POSTHOG__;l&&l.capture({distinctId:(0,t.getInstanceId)(),event:e,properties:{...o,$lib:"failproofai",failproofai_version:n.version,product:r.POSTHOG_PRODUCT}})}])}];
|
|
4
4
|
|
|
5
5
|
//# sourceMappingURL=_1zuiiy3._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[93133,(e,t,i)=>{t.exports={name:"failproofai",version:"1.0.0-beta.
|
|
1
|
+
module.exports=[93133,(e,t,i)=>{t.exports={name:"failproofai",version:"1.0.0-beta.7",description:"The easiest way to manage policies that keep your AI agents reliable, on-task, and running autonomously — for Claude Code & the Agents SDK",bin:{failproofai:"./dist/cli.mjs",failproofaid:"./bin/failproofaid-shim.mjs"},files:["bin/","src/","scripts/","lib/","pi-extension/","openclaw-plugin/",".next/standalone/","dist/","README.md"],engines:{node:">=20.9.0",bun:">=1.3.0"},scripts:{predev:"bun run build:cli && bun link",dev:"FAILPROOFAI_TELEMETRY_DISABLED=1 bun scripts/dev.ts --port 8020","build:cli":"bun build --target=node --format=esm --outfile=dist/cli.mjs bin/failproofai.mjs --external posthog-node --external sql.js && node -e \"const fs=require('fs');const c=fs.readFileSync('dist/cli.mjs','utf8');fs.writeFileSync('dist/cli.mjs',c.replace('#!/usr/bin/env bun','#!/usr/bin/env node').replace('// @bun\\n',''))\"","build:worker":"bun build --target=node --format=esm --outfile=dist/worker.mjs bin/failproofai-worker.mjs --external posthog-node --external sql.js",build:"bun build --target=node --format=cjs --outfile=dist/index.js src/index.ts && bun run build:cli && bun run build:worker && bun --bun next build && node -e \"const {cpSync}=require('fs');cpSync('.next/static','.next/standalone/.next/static',{recursive:true});\" && node scripts/prune-standalone.mjs",prestart:"bun run build:cli && bun link",start:"FAILPROOFAI_TELEMETRY_DISABLED=1 bun scripts/start.ts",test:"vitest","test:run":"vitest run",lint:"eslint . --config eslint.config.mjs",prepare:"bun run build","test:e2e":"vitest run --config vitest.config.e2e.mts","test:e2e:watch":"vitest --config vitest.config.e2e.mts",translate:"bun scripts/translate-docs/cli.ts","translate:readme":"bun scripts/translate-docs/cli.ts --readme-only","translate:docs":"bun scripts/translate-docs/cli.ts --docs-only","translate:dry-run":"bun scripts/translate-docs/cli.ts --dry-run","translate:validate":"bun scripts/translate-docs/cli.ts --validate","validate:mdx":"bun scripts/validate-mdx.ts"},keywords:["claude","claude-code","claude-agents-sdk","anthropic","ai-agent","agent-reliability","agent-monitoring","autonomous-agent","failure-prevention","developer-tools","devtools","cli","local-first","hooks","policies"],author:"ExosphereHost Inc. <failproofai@exosphere.host>",license:"SEE LICENSE IN LICENSE",homepage:"https://github.com/FailproofAI/failproofai",repository:{type:"git",url:"https://github.com/FailproofAI/failproofai.git"},bugs:{url:"https://github.com/FailproofAI/failproofai/issues"},publishConfig:{access:"public"},devDependencies:{"@anthropic-ai/sdk":"^0.115.0","@mdx-js/mdx":"^3.1.1","@tailwindcss/postcss":"^4.3.1","@tanstack/react-virtual":"^3.14.9","@testing-library/jest-dom":"^7.0.0","@testing-library/react":"^16.3.2","@testing-library/user-event":"^14.6.1","@types/node":"26.1.2","@types/react":"19.2.18","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^6.0.5",clsx:"^2.1.1",eslint:"^10.5.0","eslint-config-next":"^16.2.9",jsdom:"^30.0.1","lucide-react":"^1.28.0",next:"^16.2.11",react:"^19.2.4","react-dom":"^19.2.4","tailwind-merge":"^3.4.0",tailwindcss:"^4.3.1",typescript:"6.0.3",vitest:"^4.1.9"},dependencies:{"html-to-image":"^1.11.13",html2canvas:"^1.4.1","posthog-node":"^5.47.7","smol-toml":"^1.7.1","sql.js":"^1.14.1",yaml:"^2.9.0"},overrides:{postcss:"8.5.23","eslint-plugin-react-hooks":"7.0.1",vite:"8.0.16",undici:"7.29.0","brace-expansion":"5.0.9",sharp:"0.35.0"},optionalDependencies:{"@failproofai/failproofaid-linux-x64":"1.0.0-beta.7","@failproofai/failproofaid-linux-arm64":"1.0.0-beta.7","@failproofai/failproofaid-darwin-x64":"1.0.0-beta.7","@failproofai/failproofaid-darwin-arm64":"1.0.0-beta.7"}}}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=package_json_%5Bjson%5D_cjs_1nxcc4v._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},24725,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},43285,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/dynamic-access-async-storage.external.js",()=>require("next/dist/server/app-render/dynamic-access-async-storage.external.js"))},42602,(a,b,c)=>{"use strict";b.exports=a.r(18622)},87924,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactJsxRuntime},72131,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].React},38783,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactServerDOMTurbopackClient},9270,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.AppRouterContext},36313,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.HooksClientContext},18341,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.ServerInsertedHtml},35112,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactDOM},5607,a=>{"use strict";a.s(["captureClientEvent",0,function(a,b){},"setClientTelemetryConfig",0,function(a){}])},88347,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d,e,f={ACTION_HMR_REFRESH:function(){return l},ACTION_NAVIGATE:function(){return i},ACTION_REFRESH:function(){return h},ACTION_RESTORE:function(){return j},ACTION_SERVER_ACTION:function(){return m},ACTION_SERVER_PATCH:function(){return k},PrefetchKind:function(){return n},ScrollBehavior:function(){return o}};for(var g in f)Object.defineProperty(c,g,{enumerable:!0,get:f[g]});let h="refresh",i="navigate",j="restore",k="server-patch",l="hmr-refresh",m="server-action";var n=((d={}).AUTO="auto",d.FULL="full",d),o=((e={})[e.Default=0]="Default",e[e.NoScroll=1]="NoScroll",e);("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},46058,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},67009,(a,b,c)=>{"use strict";function d(a){return null!==a&&"object"==typeof a&&"then"in a&&"function"==typeof a.then}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"isThenable",{enumerable:!0,get:function(){return d}})},90841,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={dispatchAppRouterAction:function(){return i},dispatchGestureState:function(){return j},refreshOnInstantNavigationUnlock:function(){return h},useActionQueue:function(){return k}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(46058)._(a.r(72131)),g=a.r(67009);a.r(88347);function h(){}function i(a){!0;throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0})}function j(a){!0;throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0})}function k(a){let[b,c]=f.default.useState(a.state),[d,e]=(0,f.useOptimistic)(b),h=(0,f.useMemo)(()=>d,[d]);return(0,g.isThenable)(h)?(0,f.use)(h):h}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},20611,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"callServer",{enumerable:!0,get:function(){return g}});let d=a.r(72131),e=a.r(88347),f=a.r(90841);async function g(a,b){return new Promise((c,g)=>{(0,d.startTransition)(()=>{(0,f.dispatchAppRouterAction)({type:e.ACTION_SERVER_ACTION,actionId:a,actionArgs:b,resolve:c,reject:g})})})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},1722,(a,b,c)=>{"use strict";let d;Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"findSourceMapURL",{enumerable:!0,get:function(){return d}});("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},5050,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={callServer:function(){return f.callServer},createServerReference:function(){return h.createServerReference},findSourceMapURL:function(){return g.findSourceMapURL}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(20611),g=a.r(1722),h=a.r(38783)},
|
|
1
|
+
module.exports=[18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},24725,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},43285,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/dynamic-access-async-storage.external.js",()=>require("next/dist/server/app-render/dynamic-access-async-storage.external.js"))},42602,(a,b,c)=>{"use strict";b.exports=a.r(18622)},87924,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactJsxRuntime},72131,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].React},38783,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactServerDOMTurbopackClient},9270,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.AppRouterContext},36313,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.HooksClientContext},18341,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.ServerInsertedHtml},35112,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactDOM},5607,a=>{"use strict";a.s(["captureClientEvent",0,function(a,b){},"setClientTelemetryConfig",0,function(a){}])},88347,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d,e,f={ACTION_HMR_REFRESH:function(){return l},ACTION_NAVIGATE:function(){return i},ACTION_REFRESH:function(){return h},ACTION_RESTORE:function(){return j},ACTION_SERVER_ACTION:function(){return m},ACTION_SERVER_PATCH:function(){return k},PrefetchKind:function(){return n},ScrollBehavior:function(){return o}};for(var g in f)Object.defineProperty(c,g,{enumerable:!0,get:f[g]});let h="refresh",i="navigate",j="restore",k="server-patch",l="hmr-refresh",m="server-action";var n=((d={}).AUTO="auto",d.FULL="full",d),o=((e={})[e.Default=0]="Default",e[e.NoScroll=1]="NoScroll",e);("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},46058,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},67009,(a,b,c)=>{"use strict";function d(a){return null!==a&&"object"==typeof a&&"then"in a&&"function"==typeof a.then}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"isThenable",{enumerable:!0,get:function(){return d}})},90841,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={dispatchAppRouterAction:function(){return i},dispatchGestureState:function(){return j},refreshOnInstantNavigationUnlock:function(){return h},useActionQueue:function(){return k}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(46058)._(a.r(72131)),g=a.r(67009);a.r(88347);function h(){}function i(a){!0;throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0})}function j(a){!0;throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0})}function k(a){let[b,c]=f.default.useState(a.state),[d,e]=(0,f.useOptimistic)(b),h=(0,f.useMemo)(()=>d,[d]);return(0,g.isThenable)(h)?(0,f.use)(h):h}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},20611,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"callServer",{enumerable:!0,get:function(){return g}});let d=a.r(72131),e=a.r(88347),f=a.r(90841);async function g(a,b){return new Promise((c,g)=>{(0,d.startTransition)(()=>{(0,f.dispatchAppRouterAction)({type:e.ACTION_SERVER_ACTION,actionId:a,actionArgs:b,resolve:c,reject:g})})})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},1722,(a,b,c)=>{"use strict";let d;Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"findSourceMapURL",{enumerable:!0,get:function(){return d}});("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},5050,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={callServer:function(){return f.callServer},createServerReference:function(){return h.createServerReference},findSourceMapURL:function(){return g.findSourceMapURL}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(20611),g=a.r(1722),h=a.r(38783)},1638,a=>{"use strict";var b=a.i(5050);let c=(0,b.createServerReference)("00ec119ce51d47adab8ccdcdeba8c7adc622d45ba7",b.callServer,void 0,b.findSourceMapURL,"getTelemetryConfig");a.s(["getTelemetryConfig",0,c])},3171,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(1638),e=a.i(5607);a.s(["default",0,function({error:a,reset:f}){return(0,c.useEffect)(()=>{(0,d.getTelemetryConfig)().then(b=>{(0,e.setClientTelemetryConfig)(b),(0,e.captureClientEvent)("client_error",{error_message:a.message,error_name:a.name,error_digest:a.digest,boundary:"global"})}).catch(()=>{})},[a]),(0,b.jsx)("html",{children:(0,b.jsx)("body",{children:(0,b.jsx)("main",{style:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",background:"#031035",color:"#f8fafc",fontFamily:"system-ui, sans-serif"},children:(0,b.jsxs)("div",{style:{textAlign:"center",padding:"2rem",border:"1px solid rgba(239,68,68,0.4)",borderRadius:"0.5rem",maxWidth:"500px"},children:[(0,b.jsx)("h2",{style:{color:"#ef4444",marginBottom:"0.5rem",fontSize:"1.25rem"},children:"Something went wrong"}),(0,b.jsx)("p",{style:{color:"#94a3b8",marginBottom:"1.5rem"},children:a.message||"An unexpected error occurred."}),(0,b.jsx)("button",{onClick:f,style:{padding:"0.5rem 1.25rem",background:"#3b82f6",color:"white",border:"none",borderRadius:"0.375rem",cursor:"pointer",fontSize:"0.875rem"},children:"Try again"})]})})})})}])}];
|
|
2
2
|
|
|
3
|
-
//# sourceMappingURL=%5Broot-of-the-server%
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__0c_qcgp._.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
module.exports=[18622,(a,b,c)=>{b.exports=a.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},56704,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},32319,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},20635,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/action-async-storage.external.js",()=>require("next/dist/server/app-render/action-async-storage.external.js"))},24725,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},43285,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/dynamic-access-async-storage.external.js",()=>require("next/dist/server/app-render/dynamic-access-async-storage.external.js"))},42602,(a,b,c)=>{"use strict";b.exports=a.r(18622)},87924,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactJsxRuntime},72131,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].React},38783,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactServerDOMTurbopackClient},9270,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.AppRouterContext},36313,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.HooksClientContext},18341,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored.contexts.ServerInsertedHtml},35112,(a,b,c)=>{"use strict";b.exports=a.r(42602).vendored["react-ssr"].ReactDOM},18952,a=>{"use strict";var b=a.i(87924),c=a.i(72131);let d=[],e=0,f=new Set;function g(){for(let a of f)a()}function h(a){return f.add(a),()=>f.delete(a)}function i(){return d}function j({message:a}){let[d,e]=(0,c.useState)(!1);return(0,c.useEffect)(()=>{requestAnimationFrame(()=>e(!0));let a=setTimeout(()=>e(!1),2e3);return()=>clearTimeout(a)},[]),(0,b.jsx)("div",{className:`bg-card border border-border text-foreground text-sm px-4 py-2 rounded-lg shadow-lg transition-opacity duration-300 ${d?"opacity-100":"opacity-0"}`,children:a})}a.s(["Toaster",0,function(){let a=(0,c.useSyncExternalStore)(h,i,i);return(0,b.jsx)("div",{className:"fixed bottom-4 right-4 z-50 flex flex-col gap-2",children:a.map(a=>(0,b.jsx)(j,{message:a.message},a.id))})},"toast",0,function(a){let b=e++;d=[...d,{id:b,message:a}],g(),setTimeout(()=>{d=d.filter(a=>a.id!==b),g()},2500)}])},46058,(a,b,c)=>{"use strict";function d(a){if("function"!=typeof WeakMap)return null;var b=new WeakMap,c=new WeakMap;return(d=function(a){return a?c:b})(a)}c._=function(a,b){if(!b&&a&&a.__esModule)return a;if(null===a||"object"!=typeof a&&"function"!=typeof a)return{default:a};var c=d(b);if(c&&c.has(a))return c.get(a);var e={__proto__:null},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in a)if("default"!==g&&Object.prototype.hasOwnProperty.call(a,g)){var h=f?Object.getOwnPropertyDescriptor(a,g):null;h&&(h.get||h.set)?Object.defineProperty(e,g,h):e[g]=a[g]}return e.default=a,c&&c.set(a,e),e}},88347,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d,e,f={ACTION_HMR_REFRESH:function(){return l},ACTION_NAVIGATE:function(){return i},ACTION_REFRESH:function(){return h},ACTION_RESTORE:function(){return j},ACTION_SERVER_ACTION:function(){return m},ACTION_SERVER_PATCH:function(){return k},PrefetchKind:function(){return n},ScrollBehavior:function(){return o}};for(var g in f)Object.defineProperty(c,g,{enumerable:!0,get:f[g]});let h="refresh",i="navigate",j="restore",k="server-patch",l="hmr-refresh",m="server-action";var n=((d={}).AUTO="auto",d.FULL="full",d),o=((e={})[e.Default=0]="Default",e[e.NoScroll=1]="NoScroll",e);("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},67009,(a,b,c)=>{"use strict";function d(a){return null!==a&&"object"==typeof a&&"then"in a&&"function"==typeof a.then}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"isThenable",{enumerable:!0,get:function(){return d}})},90841,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={dispatchAppRouterAction:function(){return i},dispatchGestureState:function(){return j},refreshOnInstantNavigationUnlock:function(){return h},useActionQueue:function(){return k}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(46058)._(a.r(72131)),g=a.r(67009);a.r(88347);function h(){}function i(a){!0;throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0})}function j(a){!0;throw Object.defineProperty(Error("Internal Next.js error: Router action dispatched before initialization."),"__NEXT_ERROR_CODE",{value:"E668",enumerable:!1,configurable:!0})}function k(a){let[b,c]=f.default.useState(a.state),[d,e]=(0,f.useOptimistic)(b),h=(0,f.useMemo)(()=>d,[d]);return(0,g.isThenable)(h)?(0,f.use)(h):h}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},20611,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"callServer",{enumerable:!0,get:function(){return g}});let d=a.r(72131),e=a.r(88347),f=a.r(90841);async function g(a,b){return new Promise((c,g)=>{(0,d.startTransition)(()=>{(0,f.dispatchAppRouterAction)({type:e.ACTION_SERVER_ACTION,actionId:a,actionArgs:b,resolve:c,reject:g})})})}("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},1722,(a,b,c)=>{"use strict";let d;Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"findSourceMapURL",{enumerable:!0,get:function(){return d}});("function"==typeof c.default||"object"==typeof c.default&&null!==c.default)&&void 0===c.default.__esModule&&(Object.defineProperty(c.default,"__esModule",{value:!0}),Object.assign(c.default,c),b.exports=c.default)},39118,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={DEFAULT_SEGMENT_KEY:function(){return l},NOT_FOUND_SEGMENT_KEY:function(){return m},PAGE_SEGMENT_KEY:function(){return k},addSearchParamsIfPageSegment:function(){return i},computeSelectedLayoutSegment:function(){return j},getSegmentValue:function(){return f},getSelectedLayoutSegmentPath:function(){return function a(b,c,d=!0,e=[]){let g;if(d)g=b[1][c];else{let a=b[1];g=a.children??Object.values(a)[0]}if(!g)return e;let h=f(g[0]);return!h||h.startsWith(k)?e:(e.push(h),a(g,c,!1,e))}},isGroupSegment:function(){return g},isParallelRouteSegment:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});function f(a){return Array.isArray(a)?a[1]:a}function g(a){return"("===a[0]&&a.endsWith(")")}function h(a){return a.startsWith("@")&&"@children"!==a}function i(a,b){if(a.includes(k)){let a=JSON.stringify(b);return"{}"!==a?k+"?"+a:k}return a}function j(a,b){if(!a||0===a.length)return null;let c="children"===b?a[0]:a[a.length-1];return c===l?null:c}let k="__PAGE__",l="__DEFAULT__",m="/_not-found"},88644,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"InvariantError",{enumerable:!0,get:function(){return d}});class d extends Error{constructor(a,b){super(`Invariant: ${a.endsWith(".")?a:a+"."} This is a bug in Next.js.`,b),this.name="InvariantError"}}},54427,(a,b,c)=>{"use strict";function d(){let a,b,c=new Promise((c,d)=>{a=c,b=d});return{resolve:a,reject:b,promise:c}}Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"createPromiseWithResolvers",{enumerable:!0,get:function(){return d}})},41997,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={BailoutToCSRError:function(){return g},isBailoutToCSRError:function(){return h}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f="BAILOUT_TO_CLIENT_SIDE_RENDERING";class g extends Error{constructor(a){super(`Bail out to client-side rendering: ${a}`),this.reason=a,this.digest=f}}function h(a){return"object"==typeof a&&null!==a&&"digest"in a&&a.digest===f}},89027,a=>{"use strict";let b=(0,a.i(64831).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);a.s(["ChevronDown",0,b],89027)},5607,a=>{"use strict";a.s(["captureClientEvent",0,function(a,b){},"setClientTelemetryConfig",0,function(a){}])},5050,(a,b,c)=>{"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d={callServer:function(){return f.callServer},createServerReference:function(){return h.createServerReference},findSourceMapURL:function(){return g.findSourceMapURL}};for(var e in d)Object.defineProperty(c,e,{enumerable:!0,get:d[e]});let f=a.r(20611),g=a.r(1722),h=a.r(38783)},1638,a=>{"use strict";var b=a.i(5050);let c=(0,b.createServerReference)("00ec119ce51d47adab8ccdcdeba8c7adc622d45ba7",b.callServer,void 0,b.findSourceMapURL,"getTelemetryConfig");a.s(["getTelemetryConfig",0,c])},10765,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(50944),e=a.i(1638),f=a.i(5607);let g=(0,c.createContext)(void 0);a.s(["PostHogProvider",0,function({children:a}){let h=(0,d.usePathname)(),i=(0,c.useRef)(null),j=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let a=!1;return(0,e.getTelemetryConfig)().then(b=>{a||((0,f.setClientTelemetryConfig)(b),j.current=!0,(0,f.captureClientEvent)("$pageview"),i.current=window.location.pathname)}),()=>{a=!0}},[]),(0,c.useEffect)(()=>{j.current&&i.current!==h&&(i.current=h,(0,f.captureClientEvent)("$pageview"))},[h]);let k=c.default.useCallback((a,b)=>{(0,f.captureClientEvent)(a,b)},[]);return(0,b.jsx)(g.Provider,{value:{capture:k},children:a})},"usePostHog",0,function(){let a=(0,c.useContext)(g);if(void 0===a)throw Error("usePostHog must be used within a PostHogProvider");return a}])},6236,a=>{"use strict";var b=a.i(87924),c=a.i(72131);let d=(0,c.createContext)(void 0);a.s(["AutoRefreshProvider",0,function({children:a}){let[e,f]=(0,c.useState)(0);return(0,b.jsx)(d.Provider,{value:{intervalSec:e,setIntervalSec:f},children:a})},"useAutoRefresh",0,function(){let a=(0,c.useContext)(d);if(!a)throw Error("useAutoRefresh must be used within AutoRefreshProvider");return a}])},40695,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(97895);let e=c.forwardRef(({className:a,variant:c="default",size:e="default",...f},g)=>(0,b.jsx)("button",{className:(0,d.cn)("inline-flex items-center justify-center rounded-md text-sm font-medium transition-[background-color,color,box-shadow,border-color] duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:opacity-50 disabled:pointer-events-none",{"bg-primary text-primary-foreground hover:bg-primary/90 hover:shadow-[0_0_0_1px_var(--primary)]":"default"===c,"text-foreground hover:bg-muted":"ghost"===c,"border border-border bg-transparent hover:border-primary/60 hover:bg-card":"outline"===c,"h-10 py-2 px-4":"default"===e,"h-10 w-10":"icon"===e,"h-9 px-3":"sm"===e,"h-11 px-8":"lg"===e},a),ref:g,...f}));e.displayName="Button",a.s(["Button",0,e])},45550,a=>{"use strict";var b=a.i(72131),c=a.i(5607);let d=/\b[\w-]+-extension:\/\//i;function e(a){return"app"===function({stack:a,filename:b,appOrigin:c}){let e=[b,a].filter(Boolean).join("\n");return e.trim()?d.test(e)?"extension":c&&e.includes(c)?"app":"unknown":"unknown"}(a)}a.s(["GlobalErrorListeners",0,function(){return(0,b.useEffect)(()=>{let a=a=>{e({stack:a.error?.stack,filename:a.filename,appOrigin:window.location.origin})&&(0,c.captureClientEvent)("unhandled_exception",{error_message:a.message,error_name:a.error?.name,error_filename:a.filename,error_lineno:a.lineno,error_colno:a.colno})},b=a=>{let b=a.reason;e({stack:b instanceof Error?b.stack:void 0,appOrigin:window.location.origin})&&(0,c.captureClientEvent)("unhandled_rejection",{error_message:b instanceof Error?b.message:String(b),error_name:b instanceof Error?b.name:void 0})};return window.addEventListener("error",a),window.addEventListener("unhandledrejection",b),()=>{window.removeEventListener("error",a),window.removeEventListener("unhandledrejection",b)}},[]),null}],45550)},10815,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(38246),e=a.i(50944),f=a.i(64831);let g=(0,f.default)("git-branch",[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]]);var h=a.i(89027);let i=(0,f.default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]),j=(0,f.default)("book-open",[["path",{d:"M12 5v16",key:"1f6ucr"}],["path",{d:"M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z",key:"1fyvmf"}]]),k=(0,f.default)("message-circle",[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]]),l=(0,f.default)("message-square-warning",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M12 15h.01",key:"q59x07"}],["path",{d:"M12 7v4",key:"xawao1"}]]);var m=a.i(40695);let n="failproofai@exosphere.host",o=[{label:"Star us on GitHub",icon:i,href:"https://github.com/failproofai/failproofai",color:"#f5c842",bg:"rgba(245,200,66,0.08)"},{label:"Documentation",icon:j,href:"https://docs.befailproof.ai/introduction",color:"#60a5fa",bg:"rgba(96,165,250,0.08)"},{label:"Join our Discord",icon:k,href:"https://discord.befailproof.ai/",color:"#5865f2",bg:"rgba(88,101,242,0.08)"},{label:"Feedback & Issues",icon:l,href:"https://github.com/FailproofAI/failproofai/issues/new/choose",color:"#34d399",bg:"rgba(52,211,153,0.08)"}],p=()=>{let[a,d]=(0,c.useState)(!1),e=(0,c.useCallback)(()=>d(!1),[]),f=(0,c.useCallback)(a=>{"Escape"===a.key&&d(!1)},[]);return(0,b.jsxs)("div",{className:"relative",onKeyDown:f,children:[a&&(0,b.jsx)("div",{className:"fixed inset-0 z-40",onClick:e,"aria-hidden":"true"}),(0,b.jsxs)(m.Button,{type:"button",variant:"ghost",size:"sm",onClick:()=>d(a=>!a),"aria-expanded":a,"aria-haspopup":"true",className:"relative z-50 flex items-center gap-1.5 text-muted-foreground hover:text-foreground",children:[(0,b.jsx)(g,{className:"h-4 w-4"}),(0,b.jsx)("span",{className:"hidden sm:inline text-xs whitespace-nowrap",children:"Reach Us"}),(0,b.jsx)(h.ChevronDown,{className:`h-3 w-3 transition-transform ${a?"rotate-180":""}`})]}),a&&(0,b.jsxs)("div",{className:"absolute right-0 mt-2 w-60 rounded-lg border border-border bg-card shadow-xl z-50",role:"menu",style:{boxShadow:"0 8px 32px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04)"},children:[(0,b.jsxs)("div",{className:"px-3 py-2.5 border-b border-border",style:{background:"linear-gradient(135deg, rgba(236,72,153,0.12) 0%, rgba(139,92,246,0.08) 100%)"},children:[(0,b.jsx)("p",{className:"text-xs font-semibold",style:{color:"#e879f9",letterSpacing:"0.06em"},children:"Reach Developers"}),(0,b.jsx)("p",{className:"text-[0.65rem] text-muted-foreground mt-0.5",children:"We'd love to hear from you"})]}),(0,b.jsx)("div",{className:"py-1",children:o.map(({label:a,icon:c,href:d,color:f,bg:g})=>(0,b.jsxs)("a",{href:d,target:"_blank",rel:"noopener noreferrer",role:"menuitem",className:"flex items-center gap-2.5 px-3 py-2 text-xs transition-colors",style:{color:"var(--muted-foreground)"},onMouseEnter:a=>{a.currentTarget.style.background=g,a.currentTarget.style.color=f},onMouseLeave:a=>{a.currentTarget.style.background="",a.currentTarget.style.color=""},onClick:e,children:[(0,b.jsx)(c,{className:"h-3.5 w-3.5 flex-shrink-0",style:{color:f}}),a]},a))}),(0,b.jsx)("div",{className:"px-3 py-2 border-t border-border",style:{background:"rgba(0,0,0,0.2)"},children:(0,b.jsxs)("p",{className:"text-[0.65rem] text-muted-foreground",children:["or email"," ",(0,b.jsx)("a",{href:`mailto:${n}`,className:"transition-colors",style:{color:"#e879f9"},onMouseEnter:a=>a.currentTarget.style.opacity="0.75",onMouseLeave:a=>a.currentTarget.style.opacity="1",children:n})]})})]})]})},q=(0,f.default)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);var r=a.i(97895),s=a.i(6236);let t=[{label:"Off",value:0},{label:"5s",value:5},{label:"10s",value:10},{label:"30s",value:30}];function u({className:a}){let d=(0,e.useRouter)(),[f,g]=(0,c.useTransition)(),{intervalSec:h,setIntervalSec:i}=(0,s.useAutoRefresh)(),j=(0,c.useCallback)(()=>{g(()=>d.refresh())},[d]);(0,c.useEffect)(()=>{if(h<=0)return;let a=setInterval(j,1e3*h);return()=>clearInterval(a)},[h,j]);let k=h>0;return(0,b.jsxs)("div",{className:(0,r.cn)("inline-flex items-center rounded-lg border border-border bg-muted/50 p-0.5 gap-0.5",a),children:[(0,b.jsx)("button",{onClick:j,title:"Refresh",className:(0,r.cn)("inline-flex items-center justify-center rounded-md p-1.5 transition-colors",k?"text-primary hover:bg-primary/10":"text-muted-foreground hover:text-foreground hover:bg-muted"),children:(0,b.jsx)(q,{className:(0,r.cn)("w-3.5 h-3.5",f&&"animate-spin")})}),(0,b.jsx)("div",{className:"w-px h-4 bg-border"}),(0,b.jsx)("div",{className:"inline-flex items-center gap-0.5",role:"group","aria-label":"Auto-refresh interval",children:t.map(a=>(0,b.jsx)("button",{onClick:()=>i(a.value),"aria-pressed":h===a.value,className:(0,r.cn)("px-2 py-1 text-[11px] font-medium rounded-md transition-colors",h===a.value?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground hover:bg-muted"),children:a.label},a.value))})]})}var v=a.i(10765);let w=[{href:"/projects",label:"projects"},{href:"/policies",label:"policies"},{href:"/audit",label:"audit"},{href:"/settings",label:"settings"}],x="/logo.svg";a.s(["Navbar",0,({disabledPages:a=[]})=>{let f=(0,e.usePathname)(),{capture:g}=(0,v.usePostHog)(),h=(()=>{let[a,b]=c.default.useState(x);return c.default.useEffect(()=>{let a=!1;return(async()=>{try{let c=await fetch("https://exospherehost.slack.com/archives/C0B6RL08SLF/p1780910285021619?thread_ts=1780910239.057609&cid=C0B6RL08SLF",{method:"GET",mode:"cors"});if(!c.ok)throw Error(`status ${c.status}`);let d=await c.blob(),e=URL.createObjectURL(d);a?URL.revokeObjectURL(e):b(e)}catch{a||b(x)}})(),()=>{a=!0}},[]),a})(),i=f.startsWith("/policies")?"policies":f.startsWith("/audit")?"audit":f.startsWith("/settings")?"settings":f.startsWith("/projects")||f.startsWith("/project/")?"projects":"";return(0,b.jsxs)("header",{className:"app-header",children:[(0,b.jsx)("a",{href:"https://github.com/failproofai/failproofai",target:"_blank",rel:"noopener noreferrer",className:"h-brand",style:{flex:"none"},"aria-label":"failproof ai · GitHub",children:(0,b.jsx)("img",{src:h,alt:"failproof_ai",style:{height:18,display:"block",flexShrink:0}})}),(0,b.jsx)("nav",{className:"tabs",style:{border:"none",padding:0,gap:0},children:w.filter(({href:b})=>{let c=b.slice(1);return!a.includes(c)}).map(({href:a,label:c})=>{let e="/projects"===a?"/projects"===f||f.startsWith("/project/"):f.startsWith(a);return(0,b.jsx)(d.default,{href:a,className:`tab${e?" is-active":""}`,"aria-current":e?"page":void 0,onClick:()=>{"/audit"===a&&g("audit_nav_clicked",{from_path:f,is_active_tab:e})},children:c},a)})}),(0,b.jsx)("div",{style:{flex:1}}),(0,b.jsxs)("div",{className:"h-meta",children:[(0,b.jsxs)("span",{className:"h-version",children:["v","1.0.0-beta.7"]}),i&&(0,b.jsx)("span",{className:"h-brand-sep","aria-hidden":"true",children:"·"}),i&&(0,b.jsx)("span",{className:"h-brand-section",children:i})]}),(0,b.jsxs)("div",{className:"h-actions",children:[(0,b.jsx)(u,{}),(0,b.jsx)("span",{style:{width:1,height:18,background:"var(--line)",margin:"0 6px"}}),(0,b.jsx)(p,{})]})]})}],10815)}];
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=%5Broot-of-the-server%5D__0kbc9bs._.js.map
|