failproofai 1.0.0-beta.7 → 1.0.0-beta.8
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/node_modules_next_dist_esm_build_templates_app-route_17k9e3w.js +3 -3
- 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]__0ommekk._.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]__0c_qcgp._.js → [root-of-the-server]__1tkyag1._.js} +2 -2
- 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/[root-of-the-server]__1v185mo._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/_04mekdy._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{_194yh9u._.js → _0i4l3_6._.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/_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/chunks/ssr/src_hooks_builtin-policies_ts_09j2ndl._.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/{2aej0vi1fm87m.js → 02vvywmww22zz.js} +1 -1
- package/.next/standalone/.next/static/chunks/{3t1wr_kx6brwc.js → 0_-focvo4cuiv.js} +1 -1
- package/.next/standalone/.next/static/chunks/{2bxld6-rym3ah.js → 1fwh-2un_l-eo.js} +1 -1
- package/.next/standalone/.next/static/chunks/{2p2kz4aj1tooj.js → 1zrdsxe91qq6i.js} +1 -1
- package/.next/standalone/.next/static/chunks/{0m-m7wgtxdoav.js → 2047vah_v4emu.js} +1 -1
- package/.next/standalone/.next/static/chunks/23hl78dzffun4.js +6 -0
- package/.next/standalone/.next/static/chunks/{11l6oh9cyb35a.js → 2bw0stk-s-1dd.js} +1 -1
- package/.next/standalone/.next/static/chunks/{0gr76ps8_zm26.js → 2r_j5wrkbu5wm.js} +1 -1
- package/.next/standalone/.next/static/chunks/3m8onpqrjxzu5.js +1 -0
- package/.next/standalone/.next/static/chunks/{36pc3_8fpb6ic.js → 3yn1y6ckypqwp.js} +1 -1
- package/.next/standalone/package.json +5 -5
- package/.next/standalone/server.js +1 -1
- package/bin/failproofai.mjs +118 -1
- package/dist/cli.mjs +1166 -101
- package/dist/worker.mjs +77 -6
- package/package.json +5 -5
- package/scripts/repro-npm-install.sh +155 -0
- package/src/hooks/builtin-policies.ts +154 -2
- package/src/hooks/configure-wizard.ts +16 -6
- package/src/hooks/daemon-client.ts +35 -0
- package/src/hooks/daemon-service.ts +227 -22
- package/src/hooks/first-run-gate.ts +9 -1
- package/src/hooks/fp-reset.ts +25 -0
- package/src/hooks/uninstall-cli.ts +345 -0
- package/src/hooks/worker-server.ts +12 -2
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0kbc9bs._.js +0 -3
- package/.next/standalone/.next/static/chunks/0945ybz3fsvba.js +0 -1
- package/.next/standalone/.next/static/chunks/166f8qnh03jqc.js +0 -6
- /package/.next/standalone/.next/static/{LUaLkKg40nSkHrIajexIk → gOR8i03AeQm1VnIayDHVV}/_buildManifest.js +0 -0
- /package/.next/standalone/.next/static/{LUaLkKg40nSkHrIajexIk → gOR8i03AeQm1VnIayDHVV}/_clientMiddlewareManifest.js +0 -0
- /package/.next/standalone/.next/static/{LUaLkKg40nSkHrIajexIk → gOR8i03AeQm1VnIayDHVV}/_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/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"]}};
|
|
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/02vvywmww22zz.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/02vvywmww22zz.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/02vvywmww22zz.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/02vvywmww22zz.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/02vvywmww22zz.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/02vvywmww22zz.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/02vvywmww22zz.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/02vvywmww22zz.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/02vvywmww22zz.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/02vvywmww22zz.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/02vvywmww22zz.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/02vvywmww22zz.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/02vvywmww22zz.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/02vvywmww22zz.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/02vvywmww22zz.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/contexts/PostHogContext.tsx":{"id":12344,"name":"*","chunks":["/_next/static/chunks/02vvywmww22zz.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/02vvywmww22zz.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/02vvywmww22zz.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/02vvywmww22zz.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/contexts/AutoRefreshContext.tsx":{"id":85881,"name":"*","chunks":["/_next/static/chunks/02vvywmww22zz.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/02vvywmww22zz.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js"],"async":false},"[project]/components/navbar.tsx":{"id":63780,"name":"*","chunks":["/_next/static/chunks/02vvywmww22zz.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/02vvywmww22zz.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/02vvywmww22zz.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/02vvywmww22zz.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/02vvywmww22zz.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/02vvywmww22zz.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js","/_next/static/chunks/2bw0stk-s-1dd.js"],"async":false},"[project]/app/global-error.tsx":{"id":53348,"name":"*","chunks":["/_next/static/chunks/02vvywmww22zz.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js","/_next/static/chunks/2bw0stk-s-1dd.js"],"async":false},"[project]/app/settings/settings-client.tsx <module evaluation>":{"id":93237,"name":"*","chunks":["/_next/static/chunks/02vvywmww22zz.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js","/_next/static/chunks/3yn1y6ckypqwp.js"],"async":false},"[project]/app/settings/settings-client.tsx":{"id":93237,"name":"*","chunks":["/_next/static/chunks/02vvywmww22zz.js","/_next/static/chunks/16p68cybetr31.js","/_next/static/chunks/0wwt5o04i4zwh.js","/_next/static/chunks/3yn1y6ckypqwp.js"],"async":false}},"ssrModuleMapping":{"39756":{"*":{"id":2420,"name":"*","chunks":["server/chunks/ssr/[root-of-the-server]__0ommekk._.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]__0ommekk._.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]__0ommekk._.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]__0ommekk._.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]__0ommekk._.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]__0ommekk._.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]__0ommekk._.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]__0ommekk._.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]__0ommekk._.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]__0ommekk._.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]__0ommekk._.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]__0ommekk._.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]__0ommekk._.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]__0ommekk._.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]__0ommekk._.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/02vvywmww22zz.js","static/chunks/16p68cybetr31.js","static/chunks/0wwt5o04i4zwh.js"],"[project]/app/error":["static/chunks/02vvywmww22zz.js","static/chunks/16p68cybetr31.js","static/chunks/0wwt5o04i4zwh.js","static/chunks/3xpjn3cdgm-7m.js"],"[project]/app/global-error":["static/chunks/02vvywmww22zz.js","static/chunks/16p68cybetr31.js","static/chunks/0wwt5o04i4zwh.js","static/chunks/2bw0stk-s-1dd.js"],"[project]/app/settings/page":["static/chunks/02vvywmww22zz.js","static/chunks/16p68cybetr31.js","static/chunks/0wwt5o04i4zwh.js","static/chunks/3yn1y6ckypqwp.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.8",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.8","@failproofai/failproofaid-linux-arm64":"1.0.0-beta.8","@failproofai/failproofaid-darwin-x64":"1.0.0-beta.8","@failproofai/failproofaid-darwin-arm64":"1.0.0-beta.8"}}},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.8",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.8","@failproofai/failproofaid-linux-arm64":"1.0.0-beta.8","@failproofai/failproofaid-darwin-x64":"1.0.0-beta.8","@failproofai/failproofaid-darwin-arm64":"1.0.0-beta.8"}}},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.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}})}])}];
|
|
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.8",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.8","@failproofai/failproofaid-linux-arm64":"1.0.0-beta.8","@failproofai/failproofaid-darwin-x64":"1.0.0-beta.8","@failproofai/failproofaid-darwin-arm64":"1.0.0-beta.8"}}},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
|