failproofai 0.0.14 → 0.0.15-beta.0
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 +6 -6
- package/.next/standalone/.next/prerender-manifest.json +3 -3
- package/.next/standalone/.next/required-server-files.json +2 -2
- package/.next/standalone/.next/server/app/_global-error/page/build-manifest.json +3 -3
- 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 +2 -2
- 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/build-manifest.json +3 -3
- 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 +2 -2
- 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 +15 -15
- package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +15 -15
- 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 +10 -10
- 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 +2 -2
- package/.next/standalone/.next/server/app/api/audit/invite/route.js +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 +1 -1
- package/.next/standalone/.next/server/app/api/audit/run/route.js.nft.json +1 -1
- package/.next/standalone/.next/server/app/api/auth/login-request/route.js +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 +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 +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 +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 +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 +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/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/audit/page/server-reference-manifest.json +2 -2
- package/.next/standalone/.next/server/app/audit/page.js +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 +15 -15
- package/.next/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/index.segments/_full.segment.rsc +15 -15
- package/.next/standalone/.next/server/app/index.segments/_head.segment.rsc +4 -4
- package/.next/standalone/.next/server/app/index.segments/_index.segment.rsc +10 -10
- package/.next/standalone/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/standalone/.next/server/app/page/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/page/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/server/app/page.js +2 -2
- 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/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/policies/page/server-reference-manifest.json +8 -8
- package/.next/standalone/.next/server/app/policies/page.js +2 -2
- 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/build-manifest.json +3 -3
- 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 +4 -4
- 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/build-manifest.json +3 -3
- 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 +4 -4
- 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/build-manifest.json +3 -3
- package/.next/standalone/.next/server/app/projects/page/server-reference-manifest.json +1 -1
- package/.next/standalone/.next/server/app/projects/page.js +3 -3
- 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/chunks/[root-of-the-server]__0-219ec._.js +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0hv08mx._.js → [root-of-the-server]__0-dh5jy._.js} +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__04_h-a5._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__06cuf1y._.js +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0obaznk._.js → [root-of-the-server]__0h3lfmp._.js} +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0jnjf2t._.js +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__0xvsnvt._.js → [root-of-the-server]__0l4vuqm._.js} +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0longh-._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0sb_5m8._.js +4 -4
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0xuaoik._.js +6 -4
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__1hkdkmz._.js → [root-of-the-server]__10oa-v9._.js} +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__16le-kd._.js +1 -1
- package/.next/standalone/.next/server/chunks/{[root-of-the-server]__1i9rknc._.js → [root-of-the-server]__18d-9oi._.js} +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__19120tr._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1fwl2mz._.js +1 -1
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1is3glr._.js +3 -0
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1myjm-d._.js +1 -1
- package/.next/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_17k9e3w.js +6 -6
- package/.next/standalone/.next/server/chunks/node_modules_posthog-node_dist_entrypoints_index_node_mjs_01r25oi._.js +1 -1
- package/.next/standalone/.next/server/chunks/node_modules_posthog-node_dist_entrypoints_index_node_mjs_09z9-p7._.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]__0hdsupo._.js → [root-of-the-server]__0114ewg._.js} +3 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__01od0m6._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__02r5bgf._.js +4 -0
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__1s2b6h0._.js → [root-of-the-server]__04o-kw7._.js} +2 -2
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0e8sjqm._.js +4 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0lkzqax._.js +4 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0lpvwqm._.js +21 -0
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__0ynf7tx._.js → [root-of-the-server]__0qucxyj._.js} +3 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0u02miy._.js +4 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0uno39i._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__170799-._.js +8 -8
- package/.next/standalone/.next/server/chunks/ssr/{[root-of-the-server]__00cz9as._.js → [root-of-the-server]__1apb7k_._.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1ath6v_._.js +4 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1i21qhv._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1nq7ivq._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1py795m._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1qapotl._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1zqz4v8._.js +4 -0
- package/.next/standalone/.next/server/chunks/ssr/_077y5np._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_1-3unkg._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_1e19atl._.js +3 -0
- package/.next/standalone/.next/server/chunks/ssr/_1m_p7pi._.js +3 -0
- 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_audit_loading_tsx_1j1kc6j._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/app_components_project-list_tsx_1ke6anr._.js +3 -0
- 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 +2 -2
- package/.next/standalone/.next/server/chunks/ssr/lib_0xkhw_v._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/lib_hermes-projects_ts_05b8-it._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/lib_openclaw-projects_ts_0qxq3bp._.js +1 -1
- package/.next/standalone/.next/server/chunks/ssr/{node_modules_html-to-image_es_index_0gkzjaa.js → node_modules_html-to-image_es_index_0w82veb.js} +1 -1
- package/.next/standalone/.next/server/chunks/ssr/node_modules_posthog-node_dist_entrypoints_index_node_mjs_11bnuzn._.js +1 -1
- package/.next/standalone/.next/server/middleware-build-manifest.js +6 -6
- 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 +10 -10
- package/.next/standalone/.next/static/chunks/0hn30_j22wpp_.js +6 -0
- package/.next/standalone/.next/static/chunks/{3s8aaig91937v.js → 1_20f96f1253b.js} +1 -1
- package/.next/standalone/.next/static/chunks/1hdhteui932bq.js +1 -0
- package/.next/standalone/.next/static/chunks/{33u59vf_8xpd-.js → 1j2xm011_aoae.js} +1 -1
- package/.next/standalone/.next/static/chunks/1qzsbft-jtnf8.js +1 -0
- package/.next/standalone/.next/static/chunks/{3-ogr79xqbw0h.js → 2mazwb1qmur1p.js} +1 -1
- package/.next/standalone/.next/static/chunks/2pujpnfx4pws6.css +2 -0
- package/.next/standalone/.next/static/chunks/2xbkqlma_-61k.js +1 -0
- package/.next/standalone/.next/static/chunks/{29o4j32z643_a.js → 2y7acsw0--8xf.js} +1 -1
- package/.next/standalone/.next/static/chunks/3060a-0fayz96.js +1 -0
- package/.next/standalone/.next/static/chunks/312ihvhxeuoi_.js +1 -0
- package/.next/standalone/.next/static/chunks/31c084gsop1bb.js +1 -0
- package/.next/standalone/.next/static/chunks/{1ua5armwfph8o.js → 31fmsp1soxi07.js} +1 -1
- package/.next/standalone/.next/static/chunks/{02jcotghcxrbu.js → 3kmwfieo15mr2.js} +1 -1
- package/.next/standalone/.next/static/chunks/{2uh_4k4m296z5.js → 3q9y67-fobgpc.js} +1 -1
- package/.next/standalone/.next/static/chunks/{turbopack-10hj8t5pf33tu.js → turbopack-1lsv92x7klwrn.js} +1 -1
- package/.next/standalone/app/actions/get-hooks-config.ts +85 -0
- package/.next/standalone/app/components/project-list.tsx +229 -42
- package/.next/standalone/app/policies/hooks-client.tsx +112 -14
- package/.next/standalone/app/project/[name]/page.tsx +12 -2
- package/.next/standalone/integration-suite/README.md +43 -1
- package/.next/standalone/integration-suite/ci-entrypoint.sh +21 -6
- package/.next/standalone/integration-suite/install-clis.sh +58 -13
- package/.next/standalone/integration-suite/probe-cli.sh +51 -11
- package/.next/standalone/integration-suite/report.js +52 -6
- package/.next/standalone/integration-suite/run.sh +55 -3
- package/.next/standalone/lib/hermes-profiles.ts +156 -0
- package/.next/standalone/lib/hermes-projects.ts +91 -25
- package/.next/standalone/lib/hermes-sessions.ts +65 -10
- package/.next/standalone/lib/openclaw-projects.ts +111 -18
- package/.next/standalone/lib/openclaw-sessions.ts +20 -0
- package/.next/standalone/lib/paths.ts +36 -0
- package/.next/standalone/lib/project-tree.ts +193 -0
- package/.next/standalone/lib/projects.ts +22 -0
- package/.next/standalone/node_modules/@next/env/package.json +1 -1
- package/.next/standalone/node_modules/next/dist/build/next-config-ts/transpile-config.js +3 -114
- package/.next/standalone/node_modules/next/dist/build/swc/index.js +1 -1
- package/.next/standalone/node_modules/next/dist/cli/next-test.js +2 -1
- package/.next/standalone/node_modules/next/dist/compiled/http-proxy/index.js +5 -5
- package/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +11 -10
- package/.next/standalone/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +11 -10
- package/.next/standalone/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js +2 -2
- package/.next/standalone/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +9 -9
- package/.next/standalone/node_modules/next/dist/lib/install-dependencies.js +1 -1
- package/.next/standalone/node_modules/next/dist/lib/patch-incorrect-lockfile.js +3 -3
- package/.next/standalone/node_modules/next/dist/lib/typescript/loadTsConfig.js +181 -0
- package/.next/standalone/node_modules/next/dist/lib/typescript/missingDependencyError.js +1 -1
- package/.next/standalone/node_modules/next/dist/lib/typescript/runTypeCheckCli.js +53 -0
- package/.next/standalone/node_modules/next/dist/lib/typescript/runTypeScriptCli.js +256 -0
- package/.next/standalone/node_modules/next/dist/lib/verify-typescript-setup.js +97 -56
- package/.next/standalone/node_modules/next/dist/server/app-render/action-handler.js +129 -34
- package/.next/standalone/node_modules/next/dist/server/app-render/manifests-singleton.js +52 -4
- package/.next/standalone/node_modules/next/dist/server/config-schema.js +1 -1
- package/.next/standalone/node_modules/next/dist/server/config-shared.js +1 -2
- package/.next/standalone/node_modules/next/dist/server/config.js +1 -1
- package/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +2 -2
- package/.next/standalone/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1 -1
- package/.next/standalone/node_modules/next/dist/server/image-optimizer.js +8 -27
- package/.next/standalone/node_modules/next/dist/server/lib/app-info-log.js +1 -1
- package/.next/standalone/node_modules/next/dist/server/lib/incremental-cache/index.js +90 -53
- package/.next/standalone/node_modules/next/dist/server/lib/patch-fetch.js +15 -2
- package/.next/standalone/node_modules/next/dist/server/lib/router-utils/proxy-request.js +4 -0
- package/.next/standalone/node_modules/next/dist/server/lib/start-server.js +1 -1
- package/.next/standalone/node_modules/next/dist/server/web/spec-extension/unstable-cache.js +1 -1
- package/.next/standalone/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js +1 -1
- package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/prepare-destination.js +2 -1
- package/.next/standalone/node_modules/next/dist/shared/lib/server-reference-info.js +12 -0
- package/.next/standalone/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
- package/.next/standalone/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
- package/.next/standalone/node_modules/next/dist/telemetry/events/version.js +2 -2
- package/.next/standalone/node_modules/next/package.json +10 -10
- package/.next/standalone/package.json +7 -6
- package/.next/standalone/pi-extension/index.ts +38 -5
- package/.next/standalone/server.js +1 -1
- package/dist/cli.mjs +623 -308
- package/lib/hermes-profiles.ts +156 -0
- package/lib/hermes-projects.ts +91 -25
- package/lib/hermes-sessions.ts +65 -10
- package/lib/openclaw-projects.ts +111 -18
- package/lib/openclaw-sessions.ts +20 -0
- package/lib/paths.ts +36 -0
- package/lib/project-tree.ts +193 -0
- package/lib/projects.ts +22 -0
- package/package.json +7 -6
- package/pi-extension/index.ts +38 -5
- package/scripts/launch.ts +7 -0
- package/src/audit/cli-adapters/hermes.ts +6 -3
- package/src/audit/cli-adapters/openclaw.ts +17 -13
- package/src/hooks/configure-wizard.ts +24 -2
- package/src/hooks/custom-hooks-loader.ts +58 -4
- package/src/hooks/enforcement-capability.ts +266 -0
- package/src/hooks/handler.ts +12 -1
- package/src/hooks/hook-activity-store.ts +14 -0
- package/src/hooks/hooks-config.ts +59 -1
- package/src/hooks/integrations.ts +123 -19
- package/src/hooks/manager.ts +93 -27
- package/src/hooks/policy-evaluator.ts +59 -7
- package/src/hooks/policy-types.ts +26 -0
- package/src/hooks/types.ts +50 -2
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__0q2nbsl._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1d9qen3._.js +0 -3
- package/.next/standalone/.next/server/chunks/[root-of-the-server]__1mrihkj._.js +0 -3
- package/.next/standalone/.next/server/chunks/lib_openclaw-projects_ts_0gc-p24._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__015_i4t._.js +0 -4
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__030k0c6._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__03lv-pe._.js +0 -4
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__042d3cd._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__09q1168._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0qeuy9c._.js +0 -4
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0s89hoe._.js +0 -4
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__0zf8xlq._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__17ai7sy._.js +0 -4
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1d8omgc._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1fax1sl._.js +0 -19
- package/.next/standalone/.next/server/chunks/ssr/[root-of-the-server]__1tkjqka._.js +0 -4
- package/.next/standalone/.next/server/chunks/ssr/_05whahf._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_0_9_ytf._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_1kje4fm._.js +0 -3
- package/.next/standalone/.next/server/chunks/ssr/_1p0-leb._.js +0 -3
- package/.next/standalone/.next/static/chunks/06z_ex1ts3n4s.js +0 -1
- package/.next/standalone/.next/static/chunks/0o0ut0ugd0_-s.js +0 -1
- package/.next/standalone/.next/static/chunks/0xl97x-874k-u.js +0 -1
- package/.next/standalone/.next/static/chunks/19d7hqx8udopz.js +0 -1
- package/.next/standalone/.next/static/chunks/36j05kb2x323i.css +0 -2
- package/.next/standalone/.next/static/chunks/370sj2lgkw5ey.js +0 -1
- package/.next/standalone/.next/static/chunks/3w7g0n0iwwnbs.js +0 -1
- package/.next/standalone/.next/static/chunks/42oeva1-w0z2d.js +0 -6
- /package/.next/standalone/.next/static/{WQRKgSfFekLcC_pvyzp4S → QFmU1xD4R9N_HVfwccP6A}/_buildManifest.js +0 -0
- /package/.next/standalone/.next/static/{WQRKgSfFekLcC_pvyzp4S → QFmU1xD4R9N_HVfwccP6A}/_clientMiddlewareManifest.js +0 -0
- /package/.next/standalone/.next/static/{WQRKgSfFekLcC_pvyzp4S → QFmU1xD4R9N_HVfwccP6A}/_ssgManifest.js +0 -0
|
@@ -207,7 +207,6 @@ const defaultConfig = Object.freeze({
|
|
|
207
207
|
imgOptTimeoutInSeconds: 7,
|
|
208
208
|
imgOptMaxInputPixels: 268402689,
|
|
209
209
|
imgOptSequentialRead: null,
|
|
210
|
-
imgOptSkipMetadata: null,
|
|
211
210
|
isrFlushToDisk: true,
|
|
212
211
|
workerThreads: false,
|
|
213
212
|
proxyTimeout: undefined,
|
|
@@ -236,6 +235,7 @@ const defaultConfig = Object.freeze({
|
|
|
236
235
|
webpackMemoryOptimizations: false,
|
|
237
236
|
optimizeServerReact: true,
|
|
238
237
|
strictRouteTypes: false,
|
|
238
|
+
useTypeScriptCli: false,
|
|
239
239
|
viewTransition: false,
|
|
240
240
|
removeUncaughtErrorAndRejectionListeners: false,
|
|
241
241
|
validateRSCRequestHeaders: !!(process.env.__NEXT_TEST_MODE || !(0, _canaryonlyconfigerror.isStableBuild)()),
|
|
@@ -313,7 +313,6 @@ function getNextConfigRuntime(config) {
|
|
|
313
313
|
imgOptConcurrency: ex.imgOptConcurrency,
|
|
314
314
|
imgOptMaxInputPixels: ex.imgOptMaxInputPixels,
|
|
315
315
|
imgOptSequentialRead: ex.imgOptSequentialRead,
|
|
316
|
-
imgOptSkipMetadata: ex.imgOptSkipMetadata,
|
|
317
316
|
imgOptTimeoutInSeconds: ex.imgOptTimeoutInSeconds,
|
|
318
317
|
proxyClientMaxBodySize: ex.proxyClientMaxBodySize,
|
|
319
318
|
proxyTimeout: ex.proxyTimeout,
|
|
@@ -240,7 +240,7 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
|
|
|
240
240
|
}
|
|
241
241
|
const hasRewrites = opts.fsChecker.rewrites.afterFiles.length > 0 || opts.fsChecker.rewrites.beforeFiles.length > 0 || opts.fsChecker.rewrites.fallback.length > 0;
|
|
242
242
|
const hotReloaderSpan = (0, _trace.trace)('hot-reloader', undefined, {
|
|
243
|
-
version: "16.2.
|
|
243
|
+
version: "16.2.12"
|
|
244
244
|
});
|
|
245
245
|
// Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
|
|
246
246
|
// of the current `next dev` invocation.
|
|
@@ -294,7 +294,7 @@ async function createHotReloaderTurbopack(opts, serverFields, distDir, resetFetc
|
|
|
294
294
|
writeRoutesHashesManifest: false,
|
|
295
295
|
currentNodeJsVersion,
|
|
296
296
|
isPersistentCachingEnabled: (0, _utils2.isFileSystemCacheEnabledForDev)(opts.nextConfig),
|
|
297
|
-
nextVersion: "16.2.
|
|
297
|
+
nextVersion: "16.2.12",
|
|
298
298
|
serverHmr: serverFastRefresh
|
|
299
299
|
}, {
|
|
300
300
|
memoryLimit: (_opts_nextConfig_experimental = opts.nextConfig.experimental) == null ? void 0 : _opts_nextConfig_experimental.turbopackMemoryLimit,
|
|
@@ -234,7 +234,7 @@ class HotReloaderWebpack {
|
|
|
234
234
|
this.previewProps = previewProps;
|
|
235
235
|
this.rewrites = rewrites;
|
|
236
236
|
this.hotReloaderSpan = (0, _trace.trace)('hot-reloader', undefined, {
|
|
237
|
-
version: "16.2.
|
|
237
|
+
version: "16.2.12"
|
|
238
238
|
});
|
|
239
239
|
// Ensure the hotReloaderSpan is flushed immediately as it's the parentSpan for all processing
|
|
240
240
|
// of the current `next dev` invocation.
|
|
@@ -292,7 +292,7 @@ async function deleteFromCacheDir(cacheDir, cacheKey) {
|
|
|
292
292
|
_log.error(`Failed to delete cache key ${cacheKey}`, err);
|
|
293
293
|
});
|
|
294
294
|
}
|
|
295
|
-
async function detectContentType(buffer
|
|
295
|
+
async function detectContentType(buffer) {
|
|
296
296
|
if (buffer.byteLength === 0) {
|
|
297
297
|
return null;
|
|
298
298
|
}
|
|
@@ -465,21 +465,12 @@ async function detectContentType(buffer, skipMetadata, concurrency) {
|
|
|
465
465
|
].every((b, i)=>buffer[i] === b)) {
|
|
466
466
|
return JP2;
|
|
467
467
|
}
|
|
468
|
-
|
|
469
|
-
format = (0, _detector.detector)(buffer);
|
|
470
|
-
if (!format && !skipMetadata) {
|
|
471
|
-
const sharp = getSharp(concurrency);
|
|
472
|
-
const meta = await sharp(buffer).metadata().catch((_)=>null);
|
|
473
|
-
format = meta == null ? void 0 : meta.format;
|
|
474
|
-
}
|
|
468
|
+
const format = (0, _detector.detector)(buffer.subarray(0, 1024));
|
|
475
469
|
switch(format){
|
|
476
|
-
case 'avif':
|
|
477
|
-
return AVIF;
|
|
478
470
|
case 'webp':
|
|
479
471
|
return WEBP;
|
|
480
472
|
case 'png':
|
|
481
473
|
return PNG;
|
|
482
|
-
case 'jpeg':
|
|
483
474
|
case 'jpg':
|
|
484
475
|
return JPEG;
|
|
485
476
|
case 'gif':
|
|
@@ -492,28 +483,14 @@ async function detectContentType(buffer, skipMetadata, concurrency) {
|
|
|
492
483
|
case 'jp2':
|
|
493
484
|
return JP2;
|
|
494
485
|
case 'tiff':
|
|
495
|
-
case 'tif':
|
|
496
486
|
return TIFF;
|
|
497
|
-
case 'pdf':
|
|
498
|
-
return PDF;
|
|
499
487
|
case 'bmp':
|
|
500
488
|
return BMP;
|
|
501
489
|
case 'ico':
|
|
502
490
|
return ICO;
|
|
503
491
|
case 'icns':
|
|
504
492
|
return ICNS;
|
|
505
|
-
case 'dcraw':
|
|
506
|
-
case 'dz':
|
|
507
|
-
case 'exr':
|
|
508
|
-
case 'fits':
|
|
509
493
|
case 'heif':
|
|
510
|
-
case 'input':
|
|
511
|
-
case 'magick':
|
|
512
|
-
case 'openslide':
|
|
513
|
-
case 'ppm':
|
|
514
|
-
case 'rad':
|
|
515
|
-
case 'raw':
|
|
516
|
-
case 'v':
|
|
517
494
|
case 'cur':
|
|
518
495
|
case 'dds':
|
|
519
496
|
case 'j2c':
|
|
@@ -522,8 +499,12 @@ async function detectContentType(buffer, skipMetadata, concurrency) {
|
|
|
522
499
|
case 'psd':
|
|
523
500
|
case 'tga':
|
|
524
501
|
case undefined:
|
|
502
|
+
return null // unsupported formats
|
|
503
|
+
;
|
|
525
504
|
default:
|
|
526
|
-
|
|
505
|
+
format; // exhaustive check
|
|
506
|
+
return null // impossible to reach
|
|
507
|
+
;
|
|
527
508
|
}
|
|
528
509
|
}
|
|
529
510
|
class ImageOptimizerCache {
|
|
@@ -1072,7 +1053,7 @@ async function imageOptimizer(imageUpstream, paramsResult, nextConfig, opts) {
|
|
|
1072
1053
|
const { href, quality, width, mimeType } = paramsResult;
|
|
1073
1054
|
const { buffer: upstreamBuffer, etag: upstreamEtag } = imageUpstream;
|
|
1074
1055
|
const maxAge = Math.max(nextConfig.images.minimumCacheTTL, getMaxAge(imageUpstream.cacheControl));
|
|
1075
|
-
const upstreamType = await detectContentType(upstreamBuffer
|
|
1056
|
+
const upstreamType = await detectContentType(upstreamBuffer);
|
|
1076
1057
|
if (!upstreamType || !upstreamType.startsWith('image/') || upstreamType.includes(',')) {
|
|
1077
1058
|
if (!opts.silent) {
|
|
1078
1059
|
_log.error("The requested resource isn't a valid image for", href, 'received', upstreamType);
|
|
@@ -85,7 +85,7 @@ function logStartInfo({ networkUrl, appUrl, envInfo, logBundler }) {
|
|
|
85
85
|
if (parts.length > 0) {
|
|
86
86
|
versionSuffix = ` (${parts.join(', ')})`;
|
|
87
87
|
}
|
|
88
|
-
_log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"16.2.
|
|
88
|
+
_log.bootstrap(`${(0, _picocolors.bold)((0, _picocolors.purple)(`${_log.prefixes.ready} Next.js ${"16.2.12"}`))}${versionSuffix}`);
|
|
89
89
|
if (appUrl) {
|
|
90
90
|
_log.bootstrap(`- Local: ${appUrl}`);
|
|
91
91
|
}
|
|
@@ -37,6 +37,33 @@ function _interop_require_default(obj) {
|
|
|
37
37
|
default: obj
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
+
function toHex(buffer) {
|
|
41
|
+
// Hex-encode body bytes losslessly: decoding as UTF-8 would collapse
|
|
42
|
+
// distinct bytes (0xff/0xfe to U+FFFD) and collide; Buffer isn't on edge.
|
|
43
|
+
const bytes = isArrayBuffer(buffer) ? new Uint8Array(buffer) : new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
|
44
|
+
let hex = '';
|
|
45
|
+
for (const byte of bytes){
|
|
46
|
+
hex += byte.toString(16).padStart(2, '0');
|
|
47
|
+
}
|
|
48
|
+
return hex;
|
|
49
|
+
}
|
|
50
|
+
// Duck typing to support Edge runtime
|
|
51
|
+
// TODO: Switch to instanceof checks once Edge runtime is removed.
|
|
52
|
+
function isArrayBuffer(buffer) {
|
|
53
|
+
return !('buffer' in buffer);
|
|
54
|
+
}
|
|
55
|
+
function isBodyByteSequence(body) {
|
|
56
|
+
return typeof body === 'object' && 'byteLength' in body;
|
|
57
|
+
}
|
|
58
|
+
function isBodyReadableStream(body) {
|
|
59
|
+
return typeof body.getReader === 'function';
|
|
60
|
+
}
|
|
61
|
+
function isBodyFormDataOrURLSearchParams(body) {
|
|
62
|
+
return typeof body.keys === 'function';
|
|
63
|
+
}
|
|
64
|
+
function isBodyBlob(body) {
|
|
65
|
+
return typeof body.arrayBuffer === 'function';
|
|
66
|
+
}
|
|
40
67
|
class CacheHandler {
|
|
41
68
|
// eslint-disable-next-line
|
|
42
69
|
constructor(_ctx){}
|
|
@@ -47,6 +74,19 @@ class CacheHandler {
|
|
|
47
74
|
async revalidateTag(_tags, _durations) {}
|
|
48
75
|
resetRequestCache() {}
|
|
49
76
|
}
|
|
77
|
+
async function hashString(cacheString) {
|
|
78
|
+
if (process.env.NEXT_RUNTIME === 'edge') {
|
|
79
|
+
const encoder = new TextEncoder();
|
|
80
|
+
const buffer = encoder.encode(cacheString);
|
|
81
|
+
return toHex(await crypto.subtle.digest('SHA-256', buffer));
|
|
82
|
+
} else {
|
|
83
|
+
const crypto1 = require('crypto');
|
|
84
|
+
return crypto1.createHash('sha256').update(cacheString).digest('hex');
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
// this should be bumped anytime a fix is made to cache entries
|
|
88
|
+
// that should bust the cache
|
|
89
|
+
const MAIN_KEY_PREFIX = 'v4';
|
|
50
90
|
class IncrementalCache {
|
|
51
91
|
static #_ = this.debug = !!process.env.NEXT_PRIVATE_DEBUG_CACHE;
|
|
52
92
|
constructor({ fs, dev, flushToDisk, minimalMode, serverDistDir, requestHeaders, maxMemoryCacheSize, getPrerenderManifest, fetchCacheKeyPrefix, CurCacheHandler, allowedRevalidateHeaderKeys }){
|
|
@@ -161,38 +201,34 @@ class IncrementalCache {
|
|
|
161
201
|
var _this_cacheHandler;
|
|
162
202
|
return (_this_cacheHandler = this.cacheHandler) == null ? void 0 : _this_cacheHandler.revalidateTag(tags, durations);
|
|
163
203
|
}
|
|
204
|
+
async generateSimpleCacheKey(input) {
|
|
205
|
+
const cacheString = JSON.stringify([
|
|
206
|
+
MAIN_KEY_PREFIX,
|
|
207
|
+
this.fetchCacheKeyPrefix || '',
|
|
208
|
+
input
|
|
209
|
+
]);
|
|
210
|
+
return hashString(cacheString);
|
|
211
|
+
}
|
|
164
212
|
// x-ref: https://github.com/facebook/react/blob/2655c9354d8e1c54ba888444220f63e836925caa/packages/react/src/ReactFetch.js#L23
|
|
165
213
|
async generateCacheKey(url, init = {}) {
|
|
166
|
-
// this should be bumped anytime a fix is made to cache entries
|
|
167
|
-
// that should bust the cache
|
|
168
|
-
const MAIN_KEY_PREFIX = 'v3';
|
|
169
214
|
const bodyChunks = [];
|
|
170
215
|
const encoder = new TextEncoder();
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
216
|
+
// Will be set implementing https://fetch.spec.whatwg.org/#concept-bodyinit-extract
|
|
217
|
+
let bodyType = null;
|
|
218
|
+
const body = init.body;
|
|
219
|
+
if (body) {
|
|
220
|
+
if (isBodyByteSequence(body)) {
|
|
221
|
+
bodyChunks.push(`bytes:${toHex(body)}`);
|
|
222
|
+
init._ogBody = body;
|
|
223
|
+
} else if (isBodyReadableStream(body)) {
|
|
224
|
+
const readableBody = body;
|
|
179
225
|
const chunks = [];
|
|
180
226
|
try {
|
|
181
227
|
await readableBody.pipeTo(new WritableStream({
|
|
182
228
|
write (chunk) {
|
|
183
|
-
|
|
184
|
-
chunks.push(encoder.encode(chunk));
|
|
185
|
-
bodyChunks.push(chunk);
|
|
186
|
-
} else {
|
|
187
|
-
chunks.push(chunk);
|
|
188
|
-
bodyChunks.push(decoder.decode(chunk, {
|
|
189
|
-
stream: true
|
|
190
|
-
}));
|
|
191
|
-
}
|
|
229
|
+
chunks.push(typeof chunk === 'string' ? encoder.encode(chunk) : chunk);
|
|
192
230
|
}
|
|
193
231
|
}));
|
|
194
|
-
// Flush the decoder.
|
|
195
|
-
bodyChunks.push(decoder.decode());
|
|
196
232
|
// Create a new buffer with all the chunks.
|
|
197
233
|
const length = chunks.reduce((total, arr)=>total + arr.length, 0);
|
|
198
234
|
const arrayBuffer = new Uint8Array(length);
|
|
@@ -202,39 +238,46 @@ class IncrementalCache {
|
|
|
202
238
|
arrayBuffer.set(chunk, offset);
|
|
203
239
|
offset += chunk.length;
|
|
204
240
|
}
|
|
205
|
-
;
|
|
241
|
+
bodyChunks.push(`bytes:${toHex(arrayBuffer)}`);
|
|
206
242
|
init._ogBody = arrayBuffer;
|
|
207
243
|
} catch (err) {
|
|
208
244
|
console.error('Problem reading body', err);
|
|
209
245
|
}
|
|
210
|
-
} else if (
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
])){
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
}
|
|
223
|
-
}))).join(',')}`);
|
|
246
|
+
} else if (isBodyFormDataOrURLSearchParams(body)) {
|
|
247
|
+
bodyType = String(body) === '[object FormData]' ? 'multipart/form-data; boundary=' : 'application/x-www-form-urlencoded;charset=UTF-8';
|
|
248
|
+
const iterable = body;
|
|
249
|
+
init._ogBody = body;
|
|
250
|
+
// Separate, tagged chunks so `["a","b"]` can't collide with `["a,b"]`.
|
|
251
|
+
for (const [key, val] of iterable.entries()){
|
|
252
|
+
bodyChunks.push(`key:${key}`);
|
|
253
|
+
if (typeof val === 'string') {
|
|
254
|
+
bodyChunks.push(`str:${val}`);
|
|
255
|
+
} else {
|
|
256
|
+
bodyChunks.push('file', val.name, val.type, `bytes:${toHex(await val.arrayBuffer())}`);
|
|
257
|
+
}
|
|
224
258
|
}
|
|
225
259
|
// handle blob body
|
|
226
|
-
} else if (
|
|
227
|
-
const blob =
|
|
260
|
+
} else if (isBodyBlob(body)) {
|
|
261
|
+
const blob = body;
|
|
228
262
|
const arrayBuffer = await blob.arrayBuffer();
|
|
229
|
-
bodyChunks.push(
|
|
263
|
+
bodyChunks.push('blob', blob.type, `bytes:${toHex(arrayBuffer)}`);
|
|
230
264
|
init._ogBody = new Blob([
|
|
231
265
|
arrayBuffer
|
|
232
266
|
], {
|
|
233
267
|
type: blob.type
|
|
234
268
|
});
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
269
|
+
bodyType = blob.type;
|
|
270
|
+
} else if (typeof body === 'string') {
|
|
271
|
+
bodyChunks.push(`str:${body}`);
|
|
272
|
+
init._ogBody = body;
|
|
273
|
+
bodyType = 'text/plain;charset=UTF-8';
|
|
274
|
+
} else {
|
|
275
|
+
body;
|
|
276
|
+
throw Object.defineProperty(new Error(`Unsupported body type: ${typeof body}`), "__NEXT_ERROR_CODE", {
|
|
277
|
+
value: "E1145",
|
|
278
|
+
enumerable: false,
|
|
279
|
+
configurable: true
|
|
280
|
+
});
|
|
238
281
|
}
|
|
239
282
|
}
|
|
240
283
|
const headers = typeof (init.headers || {}).keys === 'function' ? Object.fromEntries(init.headers) : Object.assign({}, init.headers);
|
|
@@ -247,6 +290,9 @@ class IncrementalCache {
|
|
|
247
290
|
this.fetchCacheKeyPrefix || '',
|
|
248
291
|
url,
|
|
249
292
|
init.method,
|
|
293
|
+
// Ensures default Content-Type is part of the cache key
|
|
294
|
+
// TODO: Only necessary when headers are not used from the Request instance
|
|
295
|
+
bodyType,
|
|
250
296
|
headers,
|
|
251
297
|
init.mode,
|
|
252
298
|
init.redirect,
|
|
@@ -257,16 +303,7 @@ class IncrementalCache {
|
|
|
257
303
|
init.cache,
|
|
258
304
|
bodyChunks
|
|
259
305
|
]);
|
|
260
|
-
|
|
261
|
-
function bufferToHex(buffer) {
|
|
262
|
-
return Array.prototype.map.call(new Uint8Array(buffer), (b)=>b.toString(16).padStart(2, '0')).join('');
|
|
263
|
-
}
|
|
264
|
-
const buffer = encoder.encode(cacheString);
|
|
265
|
-
return bufferToHex(await crypto.subtle.digest('SHA-256', buffer));
|
|
266
|
-
} else {
|
|
267
|
-
const crypto1 = require('crypto');
|
|
268
|
-
return crypto1.createHash('sha256').update(cacheString).digest('hex');
|
|
269
|
-
}
|
|
306
|
+
return hashString(cacheString);
|
|
270
307
|
}
|
|
271
308
|
async get(cacheKey, ctx) {
|
|
272
309
|
var _this_cacheHandler, _cacheData_value;
|
|
@@ -254,6 +254,19 @@ function createPatchedFetcher(originFetch, { workAsyncStorage, workUnitAsyncStor
|
|
|
254
254
|
return originFetch(input, init);
|
|
255
255
|
}
|
|
256
256
|
const isRequestInput = input && typeof input === 'object' && typeof input.method === 'string';
|
|
257
|
+
// With `fetch(new Request(url), init)`, native fetch lets `init`
|
|
258
|
+
// override the base Request. Merge them into a single effective Request
|
|
259
|
+
// so cacheability, the cache key, and the upstream request all describe
|
|
260
|
+
// the same thing.
|
|
261
|
+
if (isRequestInput && init) {
|
|
262
|
+
// `next` (revalidate/tags) is Next-specific and dropped by
|
|
263
|
+
// `new Request`, so keep it on `init` and move the rest onto input.
|
|
264
|
+
const { next, ...overrides } = init;
|
|
265
|
+
input = new Request(input, overrides);
|
|
266
|
+
init = next ? {
|
|
267
|
+
next
|
|
268
|
+
} : undefined;
|
|
269
|
+
}
|
|
257
270
|
const getRequestMeta = (field)=>{
|
|
258
271
|
// If request input is present but init is not, retrieve from input first.
|
|
259
272
|
const value = init == null ? void 0 : init[field];
|
|
@@ -583,8 +596,8 @@ function createPatchedFetcher(originFetch, { workAsyncStorage, workUnitAsyncStor
|
|
|
583
596
|
if (incrementalCache && (isCacheableRevalidate || serverComponentsHmrCache)) {
|
|
584
597
|
try {
|
|
585
598
|
cacheKey = await incrementalCache.generateCacheKey(fetchUrl, isRequestInput ? input : init);
|
|
586
|
-
} catch (
|
|
587
|
-
console.error(`Failed to generate cache key for`, input);
|
|
599
|
+
} catch (cause) {
|
|
600
|
+
console.error(`Failed to generate cache key for`, input, cause);
|
|
588
601
|
}
|
|
589
602
|
}
|
|
590
603
|
const fetchIdx = workStore.nextFetchId ?? 1;
|
|
@@ -22,6 +22,10 @@ async function proxyRequest(req, res, parsedUrl, upgradeHead, reqBody, proxyTime
|
|
|
22
22
|
delete parsedUrl.query;
|
|
23
23
|
parsedUrl.search = (0, _serverrouteutils.stringifyQuery)(req, query);
|
|
24
24
|
const target = _url.default.format(parsedUrl);
|
|
25
|
+
// Keep in mind that a WHATWG URL's hostname and the parsedUrl's hostname
|
|
26
|
+
// are not strictly equal due to lowercasing, IDN translation, IPv4 and IPv6 normalization, etc.
|
|
27
|
+
// We just make sure this is a valid URL since http-proxy doesn't validate.
|
|
28
|
+
new URL(target);
|
|
25
29
|
const HttpProxy = require('next/dist/compiled/http-proxy');
|
|
26
30
|
const proxy = new HttpProxy({
|
|
27
31
|
target,
|
|
@@ -178,7 +178,7 @@ async function getRequestHandlers({ dir, port, isDev, onDevServerCleanup, server
|
|
|
178
178
|
async function startServer(serverOptions) {
|
|
179
179
|
const { dir, isDev, hostname, minimalMode, allowRetry, keepAliveTimeout, selfSignedCertificate, serverFastRefresh } = serverOptions;
|
|
180
180
|
let { port } = serverOptions;
|
|
181
|
-
process.title = `next-server (v${"16.2.
|
|
181
|
+
process.title = `next-server (v${"16.2.12"})`;
|
|
182
182
|
let handlersReady = ()=>{};
|
|
183
183
|
let handlersError = ()=>{};
|
|
184
184
|
let handlersPromise = new Promise((resolve, reject)=>{
|
|
@@ -80,7 +80,7 @@ function unstable_cache(cb, keyParts, options = {}) {
|
|
|
80
80
|
// @TODO stringify is likely not safe here. We will coerce undefined to null which will make
|
|
81
81
|
// the keyspace smaller than the execution space
|
|
82
82
|
const invocationKey = `${fixedKey}-${JSON.stringify(args)}`;
|
|
83
|
-
const cacheKey = await incrementalCache.
|
|
83
|
+
const cacheKey = await incrementalCache.generateSimpleCacheKey(invocationKey);
|
|
84
84
|
// $urlWithPath,$sortedQueryStringKeys,$hashOfEveryThingElse
|
|
85
85
|
const fetchUrl = `unstable_cache ${fetchUrlPrefix} ${cb.name ? ` ${cb.name}` : cacheKey}`;
|
|
86
86
|
const fetchIdx = (workStore ? workStore.nextFetchId : noStoreFetchIdx) ?? 1;
|
package/.next/standalone/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js
CHANGED
|
@@ -21,7 +21,7 @@ _export(exports, {
|
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
23
|
function isStableBuild() {
|
|
24
|
-
return !"16.2.
|
|
24
|
+
return !"16.2.12"?.includes('canary') && !process.env.__NEXT_TEST_MODE && !process.env.NEXT_PRIVATE_LOCAL_DEV;
|
|
25
25
|
}
|
|
26
26
|
class CanaryOnlyConfigError extends Error {
|
|
27
27
|
constructor(arg){
|
package/.next/standalone/node_modules/next/dist/shared/lib/router/utils/prepare-destination.js
CHANGED
|
@@ -215,7 +215,8 @@ function prepareDestination(args) {
|
|
|
215
215
|
let destHostnameCompiler;
|
|
216
216
|
if (destHostname) {
|
|
217
217
|
destHostnameCompiler = (0, _routematchutils.safeCompile)(destHostname, {
|
|
218
|
-
validate: false
|
|
218
|
+
validate: false,
|
|
219
|
+
encode: encodeURIComponent
|
|
219
220
|
});
|
|
220
221
|
}
|
|
221
222
|
// update any params in query values
|
|
@@ -3,7 +3,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3
3
|
value: true
|
|
4
4
|
});
|
|
5
5
|
0 && (module.exports = {
|
|
6
|
+
SERVER_REFERENCE_ID_LENGTH: null,
|
|
6
7
|
extractInfoFromServerReferenceId: null,
|
|
8
|
+
mightBeServerReferenceId: null,
|
|
7
9
|
omitUnusedArgs: null
|
|
8
10
|
});
|
|
9
11
|
function _export(target, all) {
|
|
@@ -13,13 +15,23 @@ function _export(target, all) {
|
|
|
13
15
|
});
|
|
14
16
|
}
|
|
15
17
|
_export(exports, {
|
|
18
|
+
SERVER_REFERENCE_ID_LENGTH: function() {
|
|
19
|
+
return SERVER_REFERENCE_ID_LENGTH;
|
|
20
|
+
},
|
|
16
21
|
extractInfoFromServerReferenceId: function() {
|
|
17
22
|
return extractInfoFromServerReferenceId;
|
|
18
23
|
},
|
|
24
|
+
mightBeServerReferenceId: function() {
|
|
25
|
+
return mightBeServerReferenceId;
|
|
26
|
+
},
|
|
19
27
|
omitUnusedArgs: function() {
|
|
20
28
|
return omitUnusedArgs;
|
|
21
29
|
}
|
|
22
30
|
});
|
|
31
|
+
const SERVER_REFERENCE_ID_LENGTH = 42;
|
|
32
|
+
function mightBeServerReferenceId(id) {
|
|
33
|
+
return id.length === SERVER_REFERENCE_ID_LENGTH;
|
|
34
|
+
}
|
|
23
35
|
function extractInfoFromServerReferenceId(id) {
|
|
24
36
|
const infoByte = parseInt(id.slice(0, 2), 16);
|
|
25
37
|
const typeBit = infoByte >> 7 & 0x1;
|
|
@@ -12,12 +12,12 @@ const EVENT_VERSION = 'NEXT_CLI_SESSION_STARTED';
|
|
|
12
12
|
function eventCliSession(nextConfig, event) {
|
|
13
13
|
var _nextConfig_experimental_staleTimes, _nextConfig_experimental_staleTimes1, _nextConfig_reactCompiler, _nextConfig_reactCompiler1;
|
|
14
14
|
// This should be an invariant, if it fails our build tooling is broken.
|
|
15
|
-
if (typeof "16.2.
|
|
15
|
+
if (typeof "16.2.12" !== 'string') {
|
|
16
16
|
return [];
|
|
17
17
|
}
|
|
18
18
|
const { images, i18n } = nextConfig || {};
|
|
19
19
|
const payload = {
|
|
20
|
-
nextVersion: "16.2.
|
|
20
|
+
nextVersion: "16.2.12",
|
|
21
21
|
nodeVersion: process.version,
|
|
22
22
|
cliCommand: event.cliCommand,
|
|
23
23
|
isSrcDir: event.isSrcDir,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "next",
|
|
3
|
-
"version": "16.2.
|
|
3
|
+
"version": "16.2.12",
|
|
4
4
|
"description": "The React Framework",
|
|
5
5
|
"main": "./dist/server/next.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"next": "./dist/bin/next"
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@next/env": "16.2.
|
|
81
|
+
"@next/env": "16.2.12",
|
|
82
82
|
"@swc/helpers": "0.5.15",
|
|
83
83
|
"baseline-browser-mapping": "^2.9.19",
|
|
84
84
|
"caniuse-lite": "^1.0.30001579",
|
|
@@ -109,14 +109,14 @@
|
|
|
109
109
|
},
|
|
110
110
|
"optionalDependencies": {
|
|
111
111
|
"sharp": "^0.34.5",
|
|
112
|
-
"@next/swc-darwin-arm64": "16.2.
|
|
113
|
-
"@next/swc-darwin-x64": "16.2.
|
|
114
|
-
"@next/swc-linux-arm64-gnu": "16.2.
|
|
115
|
-
"@next/swc-linux-arm64-musl": "16.2.
|
|
116
|
-
"@next/swc-linux-x64-gnu": "16.2.
|
|
117
|
-
"@next/swc-linux-x64-musl": "16.2.
|
|
118
|
-
"@next/swc-win32-arm64-msvc": "16.2.
|
|
119
|
-
"@next/swc-win32-x64-msvc": "16.2.
|
|
112
|
+
"@next/swc-darwin-arm64": "16.2.12",
|
|
113
|
+
"@next/swc-darwin-x64": "16.2.12",
|
|
114
|
+
"@next/swc-linux-arm64-gnu": "16.2.12",
|
|
115
|
+
"@next/swc-linux-arm64-musl": "16.2.12",
|
|
116
|
+
"@next/swc-linux-x64-gnu": "16.2.12",
|
|
117
|
+
"@next/swc-linux-x64-musl": "16.2.12",
|
|
118
|
+
"@next/swc-win32-arm64-msvc": "16.2.12",
|
|
119
|
+
"@next/swc-win32-x64-msvc": "16.2.12"
|
|
120
120
|
},
|
|
121
121
|
"keywords": [
|
|
122
122
|
"react",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "failproofai",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15-beta.0",
|
|
4
4
|
"description": "The easiest way to manage policies that keep your AI agents reliable, on-task, and running autonomously — for Claude Code & the Agents SDK",
|
|
5
5
|
"bin": {
|
|
6
6
|
"failproofai": "./dist/cli.mjs"
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"access": "public"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@anthropic-ai/sdk": "^0.
|
|
74
|
+
"@anthropic-ai/sdk": "^0.115.0",
|
|
75
75
|
"@mdx-js/mdx": "^3.1.1",
|
|
76
76
|
"@tailwindcss/postcss": "^4.3.1",
|
|
77
77
|
"@tanstack/react-virtual": "^3.14.3",
|
|
@@ -85,9 +85,9 @@
|
|
|
85
85
|
"clsx": "^2.1.1",
|
|
86
86
|
"eslint": "^10.5.0",
|
|
87
87
|
"eslint-config-next": "^16.2.9",
|
|
88
|
-
"jsdom": "^
|
|
88
|
+
"jsdom": "^30.0.0",
|
|
89
89
|
"lucide-react": "^1.18.0",
|
|
90
|
-
"next": "^16.2.
|
|
90
|
+
"next": "^16.2.11",
|
|
91
91
|
"react": "^19.2.4",
|
|
92
92
|
"react-dom": "^19.2.4",
|
|
93
93
|
"tailwind-merge": "^3.4.0",
|
|
@@ -103,10 +103,11 @@
|
|
|
103
103
|
"yaml": "^2.9.0"
|
|
104
104
|
},
|
|
105
105
|
"overrides": {
|
|
106
|
-
"postcss": "8.5.
|
|
106
|
+
"postcss": "8.5.23",
|
|
107
107
|
"eslint-plugin-react-hooks": "7.0.1",
|
|
108
108
|
"vite": "8.0.16",
|
|
109
109
|
"undici": "7.28.0",
|
|
110
|
-
"brace-expansion": "5.0.
|
|
110
|
+
"brace-expansion": "5.0.8",
|
|
111
|
+
"sharp": "0.35.0"
|
|
111
112
|
}
|
|
112
113
|
}
|