@oqura/wisdom 0.0.0-stage → 0.3.1-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/LICENSE +202 -0
- package/NOTICE +4 -0
- package/README.md +150 -3
- package/dist/src/bin.js +13 -0
- package/dist/src/captures.js +866 -0
- package/dist/src/cli.js +577 -0
- package/dist/src/client.js +116 -0
- package/dist/src/clone.js +72 -0
- package/dist/src/connect.js +87 -0
- package/dist/src/content.js +27 -0
- package/dist/src/conversation.js +254 -0
- package/dist/src/daemon.js +178 -0
- package/dist/src/dashboard.js +32 -0
- package/dist/src/database.js +101 -0
- package/dist/src/discovery.js +525 -0
- package/dist/src/doctor.js +145 -0
- package/dist/src/evidence.js +37 -0
- package/dist/src/handoff.js +60 -0
- package/dist/src/harnesses/claude-code/adapter.js +79 -0
- package/dist/src/harnesses/claude-code/hook.js +63 -0
- package/dist/src/harnesses/claude-code/launch.js +58 -0
- package/dist/src/harnesses/codex/adapter.js +144 -0
- package/dist/src/harnesses/codex/hook.js +102 -0
- package/dist/src/harnesses/codex/launch.js +194 -0
- package/dist/src/harnesses/index.js +53 -0
- package/dist/src/harnesses/launch.js +217 -0
- package/dist/src/harnesses/pi/adapter.js +44 -0
- package/dist/src/harnesses/pi/extension.js +119 -0
- package/dist/src/harnesses/pi/launch.js +82 -0
- package/dist/src/harnesses/types.js +42 -0
- package/dist/src/ledger.js +277 -0
- package/dist/src/markdown.js +173 -0
- package/dist/src/mcp.js +32 -0
- package/dist/src/paths.js +109 -0
- package/dist/src/prices.js +40 -0
- package/dist/src/schema.js +64 -0
- package/dist/src/secrets.js +62 -0
- package/dist/src/share.js +243 -0
- package/dist/src/shared.js +179 -0
- package/dist/src/stats.js +171 -0
- package/dist/src/store.js +2 -0
- package/dist/src/views.js +98 -0
- package/dist/src/workspace.js +294 -0
- package/dist-dashboard/.next/BUILD_ID +1 -0
- package/dist-dashboard/.next/app-path-routes-manifest.json +7 -0
- package/dist-dashboard/.next/build-manifest.json +54 -0
- package/dist-dashboard/.next/package.json +1 -0
- package/dist-dashboard/.next/prerender-manifest.json +69 -0
- package/dist-dashboard/.next/required-server-files.json +374 -0
- package/dist-dashboard/.next/routes-manifest.json +75 -0
- package/dist-dashboard/.next/server/app/_global-error/page/app-paths-manifest.json +3 -0
- package/dist-dashboard/.next/server/app/_global-error/page/build-manifest.json +21 -0
- package/dist-dashboard/.next/server/app/_global-error/page/next-font-manifest.json +6 -0
- package/dist-dashboard/.next/server/app/_global-error/page/react-loadable-manifest.json +1 -0
- package/dist-dashboard/.next/server/app/_global-error/page/server-reference-manifest.json +4 -0
- package/dist-dashboard/.next/server/app/_global-error/page.js +10 -0
- package/dist-dashboard/.next/server/app/_global-error/page.js.map +5 -0
- package/dist-dashboard/.next/server/app/_global-error/page.js.nft.json +1 -0
- package/dist-dashboard/.next/server/app/_global-error/page_client-reference-manifest.js +3 -0
- package/dist-dashboard/.next/server/app/_global-error.html +1 -0
- package/dist-dashboard/.next/server/app/_global-error.meta +30 -0
- package/dist-dashboard/.next/server/app/_global-error.rsc +18 -0
- package/dist-dashboard/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +23 -0
- package/dist-dashboard/.next/server/app/_global-error.segments/_full.segment.rsc +18 -0
- package/dist-dashboard/.next/server/app/_global-error.segments/_tree.segment.rsc +2 -0
- package/dist-dashboard/.next/server/app/_not-found/page/app-paths-manifest.json +3 -0
- package/dist-dashboard/.next/server/app/_not-found/page/build-manifest.json +21 -0
- package/dist-dashboard/.next/server/app/_not-found/page/next-font-manifest.json +6 -0
- package/dist-dashboard/.next/server/app/_not-found/page/react-loadable-manifest.json +1 -0
- package/dist-dashboard/.next/server/app/_not-found/page/server-reference-manifest.json +4 -0
- package/dist-dashboard/.next/server/app/_not-found/page.js +12 -0
- package/dist-dashboard/.next/server/app/_not-found/page.js.map +5 -0
- package/dist-dashboard/.next/server/app/_not-found/page.js.nft.json +1 -0
- package/dist-dashboard/.next/server/app/_not-found/page_client-reference-manifest.js +3 -0
- package/dist-dashboard/.next/server/app/_not-found.html +4 -0
- package/dist-dashboard/.next/server/app/_not-found.meta +35 -0
- package/dist-dashboard/.next/server/app/_not-found.rsc +20 -0
- package/dist-dashboard/.next/server/app/_not-found.segments/_full.segment.rsc +20 -0
- package/dist-dashboard/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +26 -0
- package/dist-dashboard/.next/server/app/_not-found.segments/_tree.segment.rsc +4 -0
- package/dist-dashboard/.next/server/app/api/live/route/app-paths-manifest.json +3 -0
- package/dist-dashboard/.next/server/app/api/live/route/build-manifest.json +12 -0
- package/dist-dashboard/.next/server/app/api/live/route/server-reference-manifest.json +4 -0
- package/dist-dashboard/.next/server/app/api/live/route.js +7 -0
- package/dist-dashboard/.next/server/app/api/live/route.js.map +5 -0
- package/dist-dashboard/.next/server/app/api/live/route.js.nft.json +1 -0
- package/dist-dashboard/.next/server/app/api/live/route_client-reference-manifest.js +3 -0
- package/dist-dashboard/.next/server/app/api/view/route/app-paths-manifest.json +3 -0
- package/dist-dashboard/.next/server/app/api/view/route/build-manifest.json +12 -0
- package/dist-dashboard/.next/server/app/api/view/route/server-reference-manifest.json +4 -0
- package/dist-dashboard/.next/server/app/api/view/route.js +7 -0
- package/dist-dashboard/.next/server/app/api/view/route.js.map +5 -0
- package/dist-dashboard/.next/server/app/api/view/route.js.nft.json +1 -0
- package/dist-dashboard/.next/server/app/api/view/route_client-reference-manifest.js +3 -0
- package/dist-dashboard/.next/server/app/page/app-paths-manifest.json +3 -0
- package/dist-dashboard/.next/server/app/page/build-manifest.json +21 -0
- package/dist-dashboard/.next/server/app/page/next-font-manifest.json +6 -0
- package/dist-dashboard/.next/server/app/page/react-loadable-manifest.json +1 -0
- package/dist-dashboard/.next/server/app/page/server-reference-manifest.json +4 -0
- package/dist-dashboard/.next/server/app/page.js +13 -0
- package/dist-dashboard/.next/server/app/page.js.map +5 -0
- package/dist-dashboard/.next/server/app/page.js.nft.json +1 -0
- package/dist-dashboard/.next/server/app/page_client-reference-manifest.js +3 -0
- package/dist-dashboard/.next/server/app-paths-manifest.json +7 -0
- package/dist-dashboard/.next/server/chunks/[externals]__0bwf06g0pqv3h._.js +3 -0
- package/dist-dashboard/.next/server/chunks/[root-of-the-server]__17sjqi0dthgwf._.js +5 -0
- package/dist-dashboard/.next/server/chunks/[turbopack]_runtime.js +937 -0
- package/dist-dashboard/.next/server/chunks/_0ak64smt0plep._.js +3 -0
- package/dist-dashboard/.next/server/chunks/_17wd0do43vgms._.js +3 -0
- package/dist-dashboard/.next/server/chunks/_1cstru0a1pgds._.js +6 -0
- package/dist-dashboard/.next/server/chunks/_next-internal_server_app_api_live_route_actions_0dk5m02naz6qd.js +3 -0
- package/dist-dashboard/.next/server/chunks/_next-internal_server_app_api_view_route_actions_1xagbxi05m8ul.js +3 -0
- package/dist-dashboard/.next/server/chunks/lib_watchdog_ts_0ica6d9fc6bpo._.js +3 -0
- package/dist-dashboard/.next/server/chunks/ssr/[root-of-the-server]__0m5uvupnpkk3r._.js +3 -0
- package/dist-dashboard/.next/server/chunks/ssr/[root-of-the-server]__0py1t7q9ntzgc._.js +3 -0
- package/dist-dashboard/.next/server/chunks/ssr/[root-of-the-server]__1_44ly6o596ao._.js +3 -0
- package/dist-dashboard/.next/server/chunks/ssr/[root-of-the-server]__1cf6qt9agg_9-._.js +14 -0
- package/dist-dashboard/.next/server/chunks/ssr/[root-of-the-server]__1ireqd10pl8it._.js +6 -0
- package/dist-dashboard/.next/server/chunks/ssr/[root-of-the-server]__1jhlq20oy3-ee._.js +3 -0
- package/dist-dashboard/.next/server/chunks/ssr/[root-of-the-server]__1ru_-wpbt025r._.js +3 -0
- package/dist-dashboard/.next/server/chunks/ssr/[turbopack]_runtime.js +937 -0
- package/dist-dashboard/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0zi5s8-psc_d2.js +3 -0
- package/dist-dashboard/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0pt47yrisjoev.js +3 -0
- package/dist-dashboard/.next/server/chunks/ssr/_next-internal_server_app_page_actions_0hhsz1jew5ls7.js +3 -0
- package/dist-dashboard/.next/server/chunks/ssr/components_Dashboard_tsx_1o2cg2bz5flxn._.js +3 -0
- package/dist-dashboard/.next/server/chunks/ssr/node_modules_01xbj_9zg44kw._.js +33 -0
- package/dist-dashboard/.next/server/chunks/ssr/node_modules_0gxlxpuufujz9._.js +33 -0
- package/dist-dashboard/.next/server/chunks/ssr/node_modules_next_dist_0janj0i6dqko7._.js +6 -0
- package/dist-dashboard/.next/server/chunks/ssr/node_modules_next_dist_1c5t_vsn6u8fr._.js +3 -0
- package/dist-dashboard/.next/server/chunks/ssr/node_modules_next_dist_1hgv5i-pr1hza._.js +3 -0
- package/dist-dashboard/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j32_ibz4._.js +3 -0
- package/dist-dashboard/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9mbf-fh.js +3 -0
- package/dist-dashboard/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0xky89qu.js +3 -0
- package/dist-dashboard/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_12cvwrhav8wvb.js +3 -0
- package/dist-dashboard/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19--w_z4y02i7.js +3 -0
- package/dist-dashboard/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1nazowj1bdbgt.js +3 -0
- package/dist-dashboard/.next/server/functions-config-manifest.json +4 -0
- package/dist-dashboard/.next/server/instrumentation.js +4 -0
- package/dist-dashboard/.next/server/middleware-build-manifest.js +54 -0
- package/dist-dashboard/.next/server/middleware-manifest.json +6 -0
- package/dist-dashboard/.next/server/next-font-manifest.js +1 -0
- package/dist-dashboard/.next/server/next-font-manifest.json +6 -0
- package/dist-dashboard/.next/server/pages/404.html +4 -0
- package/dist-dashboard/.next/server/pages/500.html +1 -0
- package/dist-dashboard/.next/server/pages-manifest.json +4 -0
- package/dist-dashboard/.next/server/prefetch-hints.json +25 -0
- package/dist-dashboard/.next/server/preview-props.json +5 -0
- package/dist-dashboard/.next/server/server-reference-manifest.js +1 -0
- package/dist-dashboard/.next/server/server-reference-manifest.json +5 -0
- package/dist-dashboard/.next/static/V_Lu58_YNtYKUueKtqIh7/_buildManifest.js +11 -0
- package/dist-dashboard/.next/static/V_Lu58_YNtYKUueKtqIh7/_clientMiddlewareManifest.js +1 -0
- package/dist-dashboard/.next/static/V_Lu58_YNtYKUueKtqIh7/_ssgManifest.js +1 -0
- package/dist-dashboard/.next/static/chunks/0cz1d0mv5g_q7.js +1 -0
- package/dist-dashboard/.next/static/chunks/0nwv0w1bwzuep.css +1 -0
- package/dist-dashboard/.next/static/chunks/0r-yur70-ku2o.js +22 -0
- package/dist-dashboard/.next/static/chunks/0umf92h1sb77c.js +1 -0
- package/dist-dashboard/.next/static/chunks/2bmsncssm91b5.js +1 -0
- package/dist-dashboard/.next/static/chunks/2khxl0v1q4i6n.js +1 -0
- package/dist-dashboard/.next/static/chunks/3cfn99dbrcvvp.js +31 -0
- package/dist-dashboard/.next/static/chunks/turbopack-3-ry682tkyiqk.js +1 -0
- package/dist-dashboard/node_modules/@next/env/dist/index.js +1 -0
- package/dist-dashboard/node_modules/@next/env/package.json +36 -0
- package/dist-dashboard/node_modules/@swc/helpers/LICENSE +201 -0
- package/dist-dashboard/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +6 -0
- package/dist-dashboard/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +38 -0
- package/dist-dashboard/node_modules/@swc/helpers/esm/_interop_require_default.js +4 -0
- package/dist-dashboard/node_modules/@swc/helpers/esm/_interop_require_wildcard.js +36 -0
- package/dist-dashboard/node_modules/@swc/helpers/package.json +705 -0
- package/dist-dashboard/node_modules/client-only/index.js +0 -0
- package/dist-dashboard/node_modules/client-only/package.json +19 -0
- package/dist-dashboard/node_modules/next/dist/build/adapter/build-complete.js +1648 -0
- package/dist-dashboard/node_modules/next/dist/build/adapter/fallback-shell-runs.js +140 -0
- package/dist-dashboard/node_modules/next/dist/build/adapter/setup-node-env.external.js +15 -0
- package/dist-dashboard/node_modules/next/dist/build/adapter/synthetic-symlinks.js +85 -0
- package/dist-dashboard/node_modules/next/dist/build/after-production-compile.js +96 -0
- package/dist-dashboard/node_modules/next/dist/build/analysis/extract-const-value.js +229 -0
- package/dist-dashboard/node_modules/next/dist/build/analysis/get-page-static-info.js +646 -0
- package/dist-dashboard/node_modules/next/dist/build/analysis/parse-module.js +20 -0
- package/dist-dashboard/node_modules/next/dist/build/analyze/graph-dump.js +291 -0
- package/dist-dashboard/node_modules/next/dist/build/analyze/index.js +259 -0
- package/dist-dashboard/node_modules/next/dist/build/analyze/snapshot.js +199 -0
- package/dist-dashboard/node_modules/next/dist/build/babel/loader/get-config.js +420 -0
- package/dist-dashboard/node_modules/next/dist/build/babel/loader/index.js +56 -0
- package/dist-dashboard/node_modules/next/dist/build/babel/loader/transform.js +103 -0
- package/dist-dashboard/node_modules/next/dist/build/babel/loader/util.js +20 -0
- package/dist-dashboard/node_modules/next/dist/build/babel/plugins/commonjs.js +42 -0
- package/dist-dashboard/node_modules/next/dist/build/babel/plugins/jsx-pragma.js +74 -0
- package/dist-dashboard/node_modules/next/dist/build/babel/plugins/next-font-unsupported.js +32 -0
- package/dist-dashboard/node_modules/next/dist/build/babel/plugins/next-page-config.js +84 -0
- package/dist-dashboard/node_modules/next/dist/build/babel/plugins/next-page-disallow-re-export-all-exports.js +25 -0
- package/dist-dashboard/node_modules/next/dist/build/babel/plugins/next-ssg-transform.js +329 -0
- package/dist-dashboard/node_modules/next/dist/build/babel/plugins/optimize-hook-destructuring.js +60 -0
- package/dist-dashboard/node_modules/next/dist/build/babel/plugins/react-loadable-plugin.js +145 -0
- package/dist-dashboard/node_modules/next/dist/build/babel/preset.js +250 -0
- package/dist-dashboard/node_modules/next/dist/build/browser-variant-modules.js +28 -0
- package/dist-dashboard/node_modules/next/dist/build/build-context.js +58 -0
- package/dist-dashboard/node_modules/next/dist/build/collect-build-traces.js +552 -0
- package/dist-dashboard/node_modules/next/dist/build/compiler.js +84 -0
- package/dist-dashboard/node_modules/next/dist/build/create-compiler-aliases.js +479 -0
- package/dist-dashboard/node_modules/next/dist/build/define-env.js +257 -0
- package/dist-dashboard/node_modules/next/dist/build/duration-to-string.js +98 -0
- package/dist-dashboard/node_modules/next/dist/build/entries.js +682 -0
- package/dist-dashboard/node_modules/next/dist/build/file-classifier.js +76 -0
- package/dist-dashboard/node_modules/next/dist/build/generate-build-id.js +27 -0
- package/dist-dashboard/node_modules/next/dist/build/generate-routes-manifest.js +93 -0
- package/dist-dashboard/node_modules/next/dist/build/get-babel-config-file.js +35 -0
- package/dist-dashboard/node_modules/next/dist/build/get-babel-loader-config.js +129 -0
- package/dist-dashboard/node_modules/next/dist/build/get-convention-file-base-name.js +29 -0
- package/dist-dashboard/node_modules/next/dist/build/get-static-info-including-layouts.js +80 -0
- package/dist-dashboard/node_modules/next/dist/build/get-supported-browsers.js +38 -0
- package/dist-dashboard/node_modules/next/dist/build/handle-entrypoints.js +170 -0
- package/dist-dashboard/node_modules/next/dist/build/handle-externals.js +286 -0
- package/dist-dashboard/node_modules/next/dist/build/index.js +3027 -0
- package/dist-dashboard/node_modules/next/dist/build/is-writeable.js +26 -0
- package/dist-dashboard/node_modules/next/dist/build/jest/__mocks__/empty.js +10 -0
- package/dist-dashboard/node_modules/next/dist/build/jest/__mocks__/fileMock.js +15 -0
- package/dist-dashboard/node_modules/next/dist/build/jest/__mocks__/nextFontMock.js +20 -0
- package/dist-dashboard/node_modules/next/dist/build/jest/__mocks__/styleMock.js +10 -0
- package/dist-dashboard/node_modules/next/dist/build/jest/jest.js +245 -0
- package/dist-dashboard/node_modules/next/dist/build/jest/object-proxy.js +50 -0
- package/dist-dashboard/node_modules/next/dist/build/load-entrypoint.js +30 -0
- package/dist-dashboard/node_modules/next/dist/build/load-jsconfig.js +178 -0
- package/dist-dashboard/node_modules/next/dist/build/lockfile.js +238 -0
- package/dist-dashboard/node_modules/next/dist/build/manifests/formatter/format-manifest.js +19 -0
- package/dist-dashboard/node_modules/next/dist/build/next-config-ts/require-hook.js +85 -0
- package/dist-dashboard/node_modules/next/dist/build/next-config-ts/transpile-config.js +136 -0
- package/dist-dashboard/node_modules/next/dist/build/next-dir-paths.js +37 -0
- package/dist-dashboard/node_modules/next/dist/build/nft.js +119 -0
- package/dist-dashboard/node_modules/next/dist/build/normalize-catchall-routes.js +28 -0
- package/dist-dashboard/node_modules/next/dist/build/output/format.js +84 -0
- package/dist-dashboard/node_modules/next/dist/build/output/index.js +186 -0
- package/dist-dashboard/node_modules/next/dist/build/output/log.js +135 -0
- package/dist-dashboard/node_modules/next/dist/build/output/store.js +204 -0
- package/dist-dashboard/node_modules/next/dist/build/page-extensions-type.js +6 -0
- package/dist-dashboard/node_modules/next/dist/build/polyfills/fetch/index.js +6 -0
- package/dist-dashboard/node_modules/next/dist/build/polyfills/fetch/whatwg-fetch.js +7 -0
- package/dist-dashboard/node_modules/next/dist/build/polyfills/object-assign.js +6 -0
- package/dist-dashboard/node_modules/next/dist/build/polyfills/object.assign/auto.js +4 -0
- package/dist-dashboard/node_modules/next/dist/build/polyfills/object.assign/implementation.js +4 -0
- package/dist-dashboard/node_modules/next/dist/build/polyfills/object.assign/index.js +19 -0
- package/dist-dashboard/node_modules/next/dist/build/polyfills/object.assign/polyfill.js +6 -0
- package/dist-dashboard/node_modules/next/dist/build/polyfills/object.assign/shim.js +6 -0
- package/dist-dashboard/node_modules/next/dist/build/polyfills/polyfill-module.js +1 -0
- package/dist-dashboard/node_modules/next/dist/build/polyfills/polyfill-nomodule.js +1 -0
- package/dist-dashboard/node_modules/next/dist/build/polyfills/process.js +5 -0
- package/dist-dashboard/node_modules/next/dist/build/preview-key-utils.js +91 -0
- package/dist-dashboard/node_modules/next/dist/build/print-build-errors.js +141 -0
- package/dist-dashboard/node_modules/next/dist/build/progress.js +147 -0
- package/dist-dashboard/node_modules/next/dist/build/rendering-mode.js +26 -0
- package/dist-dashboard/node_modules/next/dist/build/route-bundle-stats.js +155 -0
- package/dist-dashboard/node_modules/next/dist/build/route-discovery.js +381 -0
- package/dist-dashboard/node_modules/next/dist/build/segment-config/app/app-segment-config.js +192 -0
- package/dist-dashboard/node_modules/next/dist/build/segment-config/app/app-segments.js +238 -0
- package/dist-dashboard/node_modules/next/dist/build/segment-config/app/collect-root-param-keys.js +48 -0
- package/dist-dashboard/node_modules/next/dist/build/segment-config/middleware/middleware-config.js +121 -0
- package/dist-dashboard/node_modules/next/dist/build/segment-config/pages/pages-segment-config.js +62 -0
- package/dist-dashboard/node_modules/next/dist/build/sort-by-page-exts.js +30 -0
- package/dist-dashboard/node_modules/next/dist/build/spinner.js +158 -0
- package/dist-dashboard/node_modules/next/dist/build/static-paths/app/extract-pathname-route-param-segments-from-loader-tree.js +143 -0
- package/dist-dashboard/node_modules/next/dist/build/static-paths/app.js +880 -0
- package/dist-dashboard/node_modules/next/dist/build/static-paths/pages.js +137 -0
- package/dist-dashboard/node_modules/next/dist/build/static-paths/param-matching.js +200 -0
- package/dist-dashboard/node_modules/next/dist/build/static-paths/types.js +6 -0
- package/dist-dashboard/node_modules/next/dist/build/static-paths/utils.js +119 -0
- package/dist-dashboard/node_modules/next/dist/build/swc/helpers.js +15 -0
- package/dist-dashboard/node_modules/next/dist/build/swc/index.js +1339 -0
- package/dist-dashboard/node_modules/next/dist/build/swc/install-bindings.js +30 -0
- package/dist-dashboard/node_modules/next/dist/build/swc/jest-transformer.js +77 -0
- package/dist-dashboard/node_modules/next/dist/build/swc/loaderWorkerPool.js +40 -0
- package/dist-dashboard/node_modules/next/dist/build/swc/options.js +411 -0
- package/dist-dashboard/node_modules/next/dist/build/swc/types.js +6 -0
- package/dist-dashboard/node_modules/next/dist/build/templates/app-page-runtime.js +1636 -0
- package/dist-dashboard/node_modules/next/dist/build/templates/app-page.js +59 -0
- package/dist-dashboard/node_modules/next/dist/build/templates/app-route.js +437 -0
- package/dist-dashboard/node_modules/next/dist/build/templates/edge-app-route.js +124 -0
- package/dist-dashboard/node_modules/next/dist/build/templates/edge-ssr-app.js +388 -0
- package/dist-dashboard/node_modules/next/dist/build/templates/edge-ssr.js +380 -0
- package/dist-dashboard/node_modules/next/dist/build/templates/edge-wrapper.js +24 -0
- package/dist-dashboard/node_modules/next/dist/build/templates/helpers.js +36 -0
- package/dist-dashboard/node_modules/next/dist/build/templates/middleware.js +172 -0
- package/dist-dashboard/node_modules/next/dist/build/templates/pages-api.js +211 -0
- package/dist-dashboard/node_modules/next/dist/build/templates/pages-edge-api.js +78 -0
- package/dist-dashboard/node_modules/next/dist/build/templates/pages.js +155 -0
- package/dist-dashboard/node_modules/next/dist/build/turbopack-analyze/index.js +130 -0
- package/dist-dashboard/node_modules/next/dist/build/turbopack-build/impl.js +255 -0
- package/dist-dashboard/node_modules/next/dist/build/turbopack-build/index.js +18 -0
- package/dist-dashboard/node_modules/next/dist/build/turborepo-access-trace/env.js +29 -0
- package/dist-dashboard/node_modules/next/dist/build/turborepo-access-trace/helpers.js +100 -0
- package/dist-dashboard/node_modules/next/dist/build/turborepo-access-trace/index.js +30 -0
- package/dist-dashboard/node_modules/next/dist/build/turborepo-access-trace/result.js +51 -0
- package/dist-dashboard/node_modules/next/dist/build/turborepo-access-trace/tcp.js +41 -0
- package/dist-dashboard/node_modules/next/dist/build/turborepo-access-trace/types.js +8 -0
- package/dist-dashboard/node_modules/next/dist/build/type-check.js +169 -0
- package/dist-dashboard/node_modules/next/dist/build/utils.js +1348 -0
- package/dist-dashboard/node_modules/next/dist/build/validate-app-paths.js +190 -0
- package/dist-dashboard/node_modules/next/dist/build/warn-about-edge-runtime.js +78 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/alias/react-dom-server-experimental.js +34 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/alias/react-dom-server.js +34 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/cache-invalidation.js +87 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/base.js +82 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/css/index.js +573 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/css/loaders/client.js +49 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/css/loaders/file-resolve.js +21 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/css/loaders/getCssModuleLocalIdent.js +37 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/css/loaders/global.js +67 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/css/loaders/index.js +22 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/css/loaders/modules.js +88 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/css/loaders/next-font.js +63 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/css/messages.js +45 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/css/plugins.js +162 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/images/index.js +42 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/config/blocks/images/messages.js +16 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/config/helpers.js +78 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/config/index.js +47 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/config/utils.js +13 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/css-loader/src/CssSyntaxError.js +32 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/css-loader/src/camelcase.js +89 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js +268 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/css-loader/src/plugins/index.js +36 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/css-loader/src/plugins/postcss-icss-parser.js +105 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/css-loader/src/plugins/postcss-import-parser.js +204 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/css-loader/src/plugins/postcss-url-parser.js +314 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/css-loader/src/runtime/api.js +83 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/css-loader/src/runtime/getUrl.js +23 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/css-loader/src/utils.js +459 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/devtool/devtool-style-inject.js +129 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/empty-loader.js +14 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/error-loader.js +32 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/get-module-build-info.js +15 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/instrumentation-client-stub.js +8 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/codegen.js +156 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/index.js +14 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/interface.js +16 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/loader.js +441 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/utils.js +58 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/metadata/discover.js +120 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/metadata/resolve-route-data.js +183 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/metadata/types.js +7 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/modularize-import-loader.js +39 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-app-loader/create-app-route-code.js +61 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-app-loader/index.js +943 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-barrel-loader.js +268 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js +37 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-edge-app-route-loader/index.js +63 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-edge-function-loader.js +55 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-edge-ssr-loader/index.js +108 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-error-browser-binary-loader.js +17 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-action-entry-loader.js +32 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js +45 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-client-module-loader.js +47 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-css-loader.js +52 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-loader/action-client-wrapper.js +33 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-loader/action-validate.js +23 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-loader/cache-wrapper.js +13 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-loader/index.js +199 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-loader/module-proxy.js +14 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-loader/server-reference.js +13 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-loader/track-dynamic-import.js +13 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-flight-server-reference-proxy-loader.js +29 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js +125 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-font-loader/postcss-next-font.js +165 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-image-loader/blur.js +73 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-image-loader/index.js +87 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-instrumentation-client-loader.js +31 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-invalid-import-error-loader.js +24 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-metadata-image-loader.js +153 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-metadata-route-loader.js +342 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-middleware-asset-loader.js +46 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-middleware-loader.js +61 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-middleware-wasm-loader.js +46 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-root-params-loader.js +164 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js +129 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-style-loader/index.js +220 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-style-loader/runtime/injectStylesIntoLinkTag.js +57 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-style-loader/runtime/injectStylesIntoStyleTag.js +217 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-style-loader/runtime/isEqualLocals.js +27 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js +241 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/Error.js +40 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/Warning.js +35 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js +119 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/utils.js +86 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js +97 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/lib/file-protocol.js +70 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/lib/join-function.js +186 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/lib/postcss.js +88 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/lib/value-processor.js +97 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/loaders/utils.js +100 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/build-manifest-plugin-utils.js +65 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/build-manifest-plugin.js +179 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/copy-file-plugin.js +67 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/css-chunking-plugin.js +277 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/css-minimizer-plugin.js +92 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/deferred-entries-plugin.js +115 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/devtools-ignore-list-plugin.js +78 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/eval-source-map-dev-tool-plugin.js +218 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/flight-client-entry-plugin.js +801 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/flight-manifest-plugin.js +429 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/force-complete-runtime.js +42 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/jsconfig-paths-plugin.js +219 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/memory-with-gc-cache-plugin.js +114 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/middleware-plugin.js +629 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/mini-css-extract-plugin.js +24 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/minify-webpack-plugin/src/index.js +188 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/next-font-manifest-plugin.js +120 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/next-trace-entrypoints-plugin.js +547 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/next-types-plugin/index.js +433 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/next-types-plugin/shared.js +14 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/nextjs-require-cache-hot-reloader.js +53 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/optional-peer-dependency-resolve-plugin.js +45 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/pages-manifest-plugin.js +146 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/profiling-plugin.js +282 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/react-loadable-plugin.js +169 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/rspack-flight-client-entry-plugin.js +97 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/rspack-profiling-plugin.js +62 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/slow-module-detection-plugin.js +178 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/subresource-integrity-plugin.js +58 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/telemetry-plugin/telemetry-plugin.js +188 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/telemetry-plugin/update-telemetry-loader-context-from-swc.js +28 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/telemetry-plugin/use-cache-tracker-utils.js +43 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/getModuleTrace.js +89 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/index.js +43 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parse-dynamic-code-evaluation-error.js +19 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseBabel.js +29 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseCss.js +29 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseNextAppLoaderError.js +26 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseNextFontError.js +33 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseNextInvalidImportError.js +26 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseNotFoundError.js +180 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseScss.js +43 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/simpleWebpackError.js +18 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/webpackModuleError.js +138 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/stringify-request.js +15 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack/utils.js +109 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack-build/impl.js +402 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack-build/index.js +184 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack-config-rules/resolve.js +55 -0
- package/dist-dashboard/node_modules/next/dist/build/webpack-config.js +2375 -0
- package/dist-dashboard/node_modules/next/dist/build/worker.js +44 -0
- package/dist-dashboard/node_modules/next/dist/build/write-build-id.js +19 -0
- package/dist-dashboard/node_modules/next/dist/cli/next-test.js +175 -0
- package/dist-dashboard/node_modules/next/dist/client/add-base-path.js +24 -0
- package/dist-dashboard/node_modules/next/dist/client/app-call-server.js +32 -0
- package/dist-dashboard/node_modules/next/dist/client/app-find-source-map-url.js +39 -0
- package/dist-dashboard/node_modules/next/dist/client/assign-location.js +29 -0
- package/dist-dashboard/node_modules/next/dist/client/components/app-router-announcer.js +78 -0
- package/dist-dashboard/node_modules/next/dist/client/components/app-router-headers.js +128 -0
- package/dist-dashboard/node_modules/next/dist/client/components/app-router-instance.js +263 -0
- package/dist-dashboard/node_modules/next/dist/client/components/app-router-state.js +527 -0
- package/dist-dashboard/node_modules/next/dist/client/components/app-router-utils.js +58 -0
- package/dist-dashboard/node_modules/next/dist/client/components/app-router.js +531 -0
- package/dist-dashboard/node_modules/next/dist/client/components/builtin/default.js +35 -0
- package/dist-dashboard/node_modules/next/dist/client/components/builtin/error-styles.js +165 -0
- package/dist-dashboard/node_modules/next/dist/client/components/builtin/global-error.js +100 -0
- package/dist-dashboard/node_modules/next/dist/client/components/dev-root-http-access-fallback-boundary.js +48 -0
- package/dist-dashboard/node_modules/next/dist/client/components/error-boundary.js +148 -0
- package/dist-dashboard/node_modules/next/dist/client/components/errors/graceful-degrade-boundary.js +86 -0
- package/dist-dashboard/node_modules/next/dist/client/components/errors/root-error-boundary.js +41 -0
- package/dist-dashboard/node_modules/next/dist/client/components/forbidden.js +40 -0
- package/dist-dashboard/node_modules/next/dist/client/components/handle-isr-error.js +45 -0
- package/dist-dashboard/node_modules/next/dist/client/components/hooks-server-context.js +42 -0
- package/dist-dashboard/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js +125 -0
- package/dist-dashboard/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +72 -0
- package/dist-dashboard/node_modules/next/dist/client/components/instant-samples.js +127 -0
- package/dist-dashboard/node_modules/next/dist/client/components/is-next-router-error.js +23 -0
- package/dist-dashboard/node_modules/next/dist/client/components/links.js +315 -0
- package/dist-dashboard/node_modules/next/dist/client/components/nav-failure-handler.js +61 -0
- package/dist-dashboard/node_modules/next/dist/client/components/navigation-devtools.js +126 -0
- package/dist-dashboard/node_modules/next/dist/client/components/navigation-dynamic-rendering.js +38 -0
- package/dist-dashboard/node_modules/next/dist/client/components/navigation-untracked.js +68 -0
- package/dist-dashboard/node_modules/next/dist/client/components/navigation.js +242 -0
- package/dist-dashboard/node_modules/next/dist/client/components/navigation.react-server.js +71 -0
- package/dist-dashboard/node_modules/next/dist/client/components/navigator.js +73 -0
- package/dist-dashboard/node_modules/next/dist/client/components/not-found.js +38 -0
- package/dist-dashboard/node_modules/next/dist/client/components/offline.js +172 -0
- package/dist-dashboard/node_modules/next/dist/client/components/prefetch.js +83 -0
- package/dist-dashboard/node_modules/next/dist/client/components/readonly-url-search-params.js +41 -0
- package/dist-dashboard/node_modules/next/dist/client/components/redirect-boundary.js +107 -0
- package/dist-dashboard/node_modules/next/dist/client/components/redirect-error.js +43 -0
- package/dist-dashboard/node_modules/next/dist/client/components/redirect-status-code.js +24 -0
- package/dist-dashboard/node_modules/next/dist/client/components/redirect.js +79 -0
- package/dist-dashboard/node_modules/next/dist/client/components/render-tree.js +1439 -0
- package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/compute-changed-path.js +213 -0
- package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/create-href-from-url.js +21 -0
- package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/create-initial-router-state.js +174 -0
- package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/create-router-cache-key.js +26 -0
- package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/create-segment-key.js +42 -0
- package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/fetch-server-response.js +624 -0
- package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/is-navigating-to-new-root-layout.js +70 -0
- package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/reducers/committed-state.js +49 -0
- package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/reducers/has-interception-route-in-current-tree.js +38 -0
- package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/reducers/hmr-refresh-reducer.js +29 -0
- package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js +56 -0
- package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/reducers/refresh-reducer.js +93 -0
- package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/reducers/restore-reducer.js +78 -0
- package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/reducers/server-action-reducer.js +350 -0
- package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/reducers/server-patch-reducer.js +67 -0
- package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/router-reducer-types.js +70 -0
- package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/router-reducer.js +66 -0
- package/dist-dashboard/node_modules/next/dist/client/components/router-reducer/set-cache-busting-search-param.js +66 -0
- package/dist-dashboard/node_modules/next/dist/client/components/router-transition.js +135 -0
- package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/bfcache.js +120 -0
- package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/cache-key.js +56 -0
- package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/cache-map.js +326 -0
- package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/cache.js +2671 -0
- package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/decode-server-response.js +419 -0
- package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/fetch.js +37 -0
- package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/lru.js +152 -0
- package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/navigation-testing-lock.js +415 -0
- package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/optimistic-routes.js +643 -0
- package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/scheduler.js +1809 -0
- package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/types.js +93 -0
- package/dist-dashboard/node_modules/next/dist/client/components/segment-cache/vary-path.js +340 -0
- package/dist-dashboard/node_modules/next/dist/client/components/sequential-router-queue.js +163 -0
- package/dist-dashboard/node_modules/next/dist/client/components/server-async-storage.js +43 -0
- package/dist-dashboard/node_modules/next/dist/client/components/static-generation-bailout.js +42 -0
- package/dist-dashboard/node_modules/next/dist/client/components/unauthorized.js +41 -0
- package/dist-dashboard/node_modules/next/dist/client/components/unrecognized-action-error.js +39 -0
- package/dist-dashboard/node_modules/next/dist/client/components/unresolved-thenable.js +23 -0
- package/dist-dashboard/node_modules/next/dist/client/components/unstable-rethrow.js +31 -0
- package/dist-dashboard/node_modules/next/dist/client/components/use-action-queue.js +140 -0
- package/dist-dashboard/node_modules/next/dist/client/components/use-offline.js +68 -0
- package/dist-dashboard/node_modules/next/dist/client/dev/debug-channel.js +111 -0
- package/dist-dashboard/node_modules/next/dist/client/flight-data-helpers.js +182 -0
- package/dist-dashboard/node_modules/next/dist/client/has-base-path.js +23 -0
- package/dist-dashboard/node_modules/next/dist/client/lib/console.js +177 -0
- package/dist-dashboard/node_modules/next/dist/client/lib/javascript-url.js +32 -0
- package/dist-dashboard/node_modules/next/dist/client/navigation-build-id.js +53 -0
- package/dist-dashboard/node_modules/next/dist/client/normalize-trailing-slash.js +37 -0
- package/dist-dashboard/node_modules/next/dist/client/remove-base-path.js +32 -0
- package/dist-dashboard/node_modules/next/dist/client/route-params.js +271 -0
- package/dist-dashboard/node_modules/next/dist/client/sequential-call-server.js +45 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js +339 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/cookies/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/ponyfill/index.js +46 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/ponyfill/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/primitives/abort-controller.js.text.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/primitives/console.js.text.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/primitives/events.js.text.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/primitives/index.js +5 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/primitives/load.js +18713 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/primitives/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/primitives/stream.js +44 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/primitives/timers.js.text.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@edge-runtime/primitives/url.js.text.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@hapi/accept/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@hapi/accept/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@napi-rs/triples/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@napi-rs/triples/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@opentelemetry/api/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@opentelemetry/api/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@vercel/detect-agent/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/@vercel/detect-agent/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/async-retry/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/async-retry/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/async-sema/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/async-sema/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/busboy/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/busboy/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/bytes/index.js +8 -0
- package/dist-dashboard/node_modules/next/dist/compiled/bytes/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/ci-info/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/ci-info/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/commander/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/commander/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/comment-json/index.js +7 -0
- package/dist-dashboard/node_modules/next/dist/compiled/comment-json/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/compression/index.js +58 -0
- package/dist-dashboard/node_modules/next/dist/compiled/compression/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/conf/index.js +3 -0
- package/dist-dashboard/node_modules/next/dist/compiled/conf/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/content-disposition/index.js +6 -0
- package/dist-dashboard/node_modules/next/dist/compiled/content-disposition/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/cookie/index.js +7 -0
- package/dist-dashboard/node_modules/next/dist/compiled/cookie/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/cross-spawn/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/cross-spawn/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/debug/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/debug/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/edge-runtime/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/edge-runtime/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/find-up/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/find-up/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/fresh/index.js +8 -0
- package/dist-dashboard/node_modules/next/dist/compiled/fresh/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/hash.js/sha256/256.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/hash.js/sha256/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/httpxy/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/httpxy/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/image-detector/detector.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/image-size/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/image-size/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/ipaddr.js/ipaddr.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/ipaddr.js/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/is-animated/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/is-animated/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/is-docker/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/is-docker/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/is-wsl/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/is-wsl/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/jsonwebtoken/index.js +11 -0
- package/dist-dashboard/node_modules/next/dist/compiled/jsonwebtoken/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/nanoid/index.cjs +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/nanoid/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +327 -0
- package/dist-dashboard/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +327 -0
- package/dist-dashboard/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js +8 -0
- package/dist-dashboard/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +20 -0
- package/dist-dashboard/node_modules/next/dist/compiled/p-limit/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/p-limit/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/p-queue/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/p-queue/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/path-browserify/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/path-browserify/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/path-to-regexp/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/path-to-regexp/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/picomatch/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/picomatch/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/react-is/cjs/react-is.development.js +133 -0
- package/dist-dashboard/node_modules/next/dist/compiled/react-is/cjs/react-is.production.js +130 -0
- package/dist-dashboard/node_modules/next/dist/compiled/react-is/index.js +7 -0
- package/dist-dashboard/node_modules/next/dist/compiled/react-is/package.json +26 -0
- package/dist-dashboard/node_modules/next/dist/compiled/regenerator-runtime/package.json +19 -0
- package/dist-dashboard/node_modules/next/dist/compiled/regenerator-runtime/runtime.js +729 -0
- package/dist-dashboard/node_modules/next/dist/compiled/semver/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/semver/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/send/index.js +70 -0
- package/dist-dashboard/node_modules/next/dist/compiled/send/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/source-map/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/source-map/source-map.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/stacktrace-parser/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/string-hash/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/string-hash/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/strip-ansi/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/strip-ansi/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/superstruct/index.cjs +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/superstruct/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/tar/index.min.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/tar/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/text-table/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/text-table/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/watchpack/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/watchpack/watchpack.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/write-file-atomic/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/write-file-atomic/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/ws/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/ws/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/zod/index.cjs +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/zod/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/zod-validation-error/index.js +1 -0
- package/dist-dashboard/node_modules/next/dist/compiled/zod-validation-error/package.json +1 -0
- package/dist-dashboard/node_modules/next/dist/experimental/testmode/context.js +57 -0
- package/dist-dashboard/node_modules/next/dist/experimental/testmode/fetch.js +150 -0
- package/dist-dashboard/node_modules/next/dist/experimental/testmode/httpget.js +33 -0
- package/dist-dashboard/node_modules/next/dist/experimental/testmode/server-edge.js +32 -0
- package/dist-dashboard/node_modules/next/dist/experimental/testmode/server.js +73 -0
- package/dist-dashboard/node_modules/next/dist/export/helpers/create-incremental-cache.js +66 -0
- package/dist-dashboard/node_modules/next/dist/export/utils.js +37 -0
- package/dist-dashboard/node_modules/next/dist/lib/batcher.js +65 -0
- package/dist-dashboard/node_modules/next/dist/lib/build-custom-route.js +46 -0
- package/dist-dashboard/node_modules/next/dist/lib/bundler.js +168 -0
- package/dist-dashboard/node_modules/next/dist/lib/client-and-server-references.js +54 -0
- package/dist-dashboard/node_modules/next/dist/lib/coalesced-function.js +39 -0
- package/dist-dashboard/node_modules/next/dist/lib/compile-error.js +14 -0
- package/dist-dashboard/node_modules/next/dist/lib/constants.js +420 -0
- package/dist-dashboard/node_modules/next/dist/lib/create-client-router-filter.js +83 -0
- package/dist-dashboard/node_modules/next/dist/lib/default-transpiled-packages.json +1 -0
- package/dist-dashboard/node_modules/next/dist/lib/detect-typo.js +51 -0
- package/dist-dashboard/node_modules/next/dist/lib/dist-dir.js +88 -0
- package/dist-dashboard/node_modules/next/dist/lib/download-swc.js +175 -0
- package/dist-dashboard/node_modules/next/dist/lib/fallback.js +88 -0
- package/dist-dashboard/node_modules/next/dist/lib/file-exists.js +53 -0
- package/dist-dashboard/node_modules/next/dist/lib/find-config.js +102 -0
- package/dist-dashboard/node_modules/next/dist/lib/find-pages-dir.js +57 -0
- package/dist-dashboard/node_modules/next/dist/lib/find-root.js +280 -0
- package/dist-dashboard/node_modules/next/dist/lib/format-cli-help-output.js +84 -0
- package/dist-dashboard/node_modules/next/dist/lib/format-dynamic-import-path.js +43 -0
- package/dist-dashboard/node_modules/next/dist/lib/format-server-error.js +75 -0
- package/dist-dashboard/node_modules/next/dist/lib/framework/boundary-components.js +62 -0
- package/dist-dashboard/node_modules/next/dist/lib/framework/boundary-constants.js +36 -0
- package/dist-dashboard/node_modules/next/dist/lib/fs/rename.js +87 -0
- package/dist-dashboard/node_modules/next/dist/lib/fs/write-atomic.js +28 -0
- package/dist-dashboard/node_modules/next/dist/lib/generate-interception-routes-rewrites.js +52 -0
- package/dist-dashboard/node_modules/next/dist/lib/get-files-in-dir.js +33 -0
- package/dist-dashboard/node_modules/next/dist/lib/get-network-host.js +44 -0
- package/dist-dashboard/node_modules/next/dist/lib/get-package-version.js +118 -0
- package/dist-dashboard/node_modules/next/dist/lib/get-project-dir.js +51 -0
- package/dist-dashboard/node_modules/next/dist/lib/git-worktree.js +74 -0
- package/dist-dashboard/node_modules/next/dist/lib/has-necessary-dependencies.js +49 -0
- package/dist-dashboard/node_modules/next/dist/lib/helpers/get-cache-directory.js +62 -0
- package/dist-dashboard/node_modules/next/dist/lib/helpers/get-npx-command.js +29 -0
- package/dist-dashboard/node_modules/next/dist/lib/helpers/get-online.js +50 -0
- package/dist-dashboard/node_modules/next/dist/lib/helpers/get-pkg-manager.js +65 -0
- package/dist-dashboard/node_modules/next/dist/lib/helpers/get-registry.js +41 -0
- package/dist-dashboard/node_modules/next/dist/lib/helpers/get-reserved-port.js +116 -0
- package/dist-dashboard/node_modules/next/dist/lib/helpers/git.js +104 -0
- package/dist-dashboard/node_modules/next/dist/lib/helpers/install.js +83 -0
- package/dist-dashboard/node_modules/next/dist/lib/import-next-warning.js +50 -0
- package/dist-dashboard/node_modules/next/dist/lib/inline-static-env.js +108 -0
- package/dist-dashboard/node_modules/next/dist/lib/install-dependencies.js +40 -0
- package/dist-dashboard/node_modules/next/dist/lib/interop-default.js +16 -0
- package/dist-dashboard/node_modules/next/dist/lib/is-api-route.js +15 -0
- package/dist-dashboard/node_modules/next/dist/lib/is-app-page-route.js +15 -0
- package/dist-dashboard/node_modules/next/dist/lib/is-app-route-route.js +15 -0
- package/dist-dashboard/node_modules/next/dist/lib/is-edge-runtime.js +16 -0
- package/dist-dashboard/node_modules/next/dist/lib/is-error.js +66 -0
- package/dist-dashboard/node_modules/next/dist/lib/is-interception-route-rewrite.js +18 -0
- package/dist-dashboard/node_modules/next/dist/lib/is-internal-component.js +36 -0
- package/dist-dashboard/node_modules/next/dist/lib/is-serializable-props.js +82 -0
- package/dist-dashboard/node_modules/next/dist/lib/known-edge-safe-packages.json +1 -0
- package/dist-dashboard/node_modules/next/dist/lib/load-custom-routes.js +594 -0
- package/dist-dashboard/node_modules/next/dist/lib/memory/gc-observer.js +53 -0
- package/dist-dashboard/node_modules/next/dist/lib/memory/shutdown.js +29 -0
- package/dist-dashboard/node_modules/next/dist/lib/memory/startup.js +47 -0
- package/dist-dashboard/node_modules/next/dist/lib/memory/trace.js +109 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/constants.js +40 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/default-metadata.js +82 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/generate/icon-mark.js +22 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/generate/utils.js +52 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/get-metadata-route.js +162 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/index.js +18 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/is-metadata-route.js +221 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/metadata-context.js +18 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/metadata-elements.js +1498 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/metadata-parallel.js +175 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/metadata-resolution-primitives.js +467 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/metadata.js +174 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/resolve-metadata-parallel.js +632 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/resolve-metadata.js +485 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/resolvers/resolve-basics.js +232 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/resolvers/resolve-icons.js +56 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/resolvers/resolve-opengraph.js +199 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/resolvers/resolve-title.js +40 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/resolvers/resolve-url.js +135 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/types/alternative-urls-types.js +7 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/types/extra-types.js +9 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/types/icons.js +6 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/types/manifest-types.js +6 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/types/metadata-interface.js +18 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/types/metadata-types.js +10 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/types/opengraph-types.js +6 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/types/resolvers.js +6 -0
- package/dist-dashboard/node_modules/next/dist/lib/metadata/types/twitter-types.js +7 -0
- package/dist-dashboard/node_modules/next/dist/lib/mime-type.js +20 -0
- package/dist-dashboard/node_modules/next/dist/lib/mkcert.js +188 -0
- package/dist-dashboard/node_modules/next/dist/lib/multi-file-writer.js +75 -0
- package/dist-dashboard/node_modules/next/dist/lib/needs-experimental-react.js +16 -0
- package/dist-dashboard/node_modules/next/dist/lib/non-nullable.js +15 -0
- package/dist-dashboard/node_modules/next/dist/lib/normalize-path.js +21 -0
- package/dist-dashboard/node_modules/next/dist/lib/oxford-comma-list.js +15 -0
- package/dist-dashboard/node_modules/next/dist/lib/page-types.js +18 -0
- package/dist-dashboard/node_modules/next/dist/lib/patch-incorrect-lockfile.js +181 -0
- package/dist-dashboard/node_modules/next/dist/lib/pick.js +19 -0
- package/dist-dashboard/node_modules/next/dist/lib/picocolors.js +187 -0
- package/dist-dashboard/node_modules/next/dist/lib/pretty-bytes.js +70 -0
- package/dist-dashboard/node_modules/next/dist/lib/profiles-dir.js +45 -0
- package/dist-dashboard/node_modules/next/dist/lib/realpath.js +20 -0
- package/dist-dashboard/node_modules/next/dist/lib/recursive-copy.js +76 -0
- package/dist-dashboard/node_modules/next/dist/lib/recursive-delete.js +176 -0
- package/dist-dashboard/node_modules/next/dist/lib/recursive-readdir.js +124 -0
- package/dist-dashboard/node_modules/next/dist/lib/redirect-status.js +46 -0
- package/dist-dashboard/node_modules/next/dist/lib/require-instrumentation-client.js +32 -0
- package/dist-dashboard/node_modules/next/dist/lib/resolve-build-paths.js +178 -0
- package/dist-dashboard/node_modules/next/dist/lib/resolve-from.js +57 -0
- package/dist-dashboard/node_modules/next/dist/lib/route-pattern-normalizer.js +107 -0
- package/dist-dashboard/node_modules/next/dist/lib/scheduler.js +64 -0
- package/dist-dashboard/node_modules/next/dist/lib/semver-noop.js +18 -0
- package/dist-dashboard/node_modules/next/dist/lib/server-external-packages.jsonc +103 -0
- package/dist-dashboard/node_modules/next/dist/lib/setup-exception-listeners.js +11 -0
- package/dist-dashboard/node_modules/next/dist/lib/static-env.js +88 -0
- package/dist-dashboard/node_modules/next/dist/lib/try-to-parse-path.js +67 -0
- package/dist-dashboard/node_modules/next/dist/lib/turbopack-cache-seed.js +171 -0
- package/dist-dashboard/node_modules/next/dist/lib/turbopack-warning.js +185 -0
- package/dist-dashboard/node_modules/next/dist/lib/typescript/diagnosticFormatter.js +243 -0
- package/dist-dashboard/node_modules/next/dist/lib/typescript/getTypeScriptConfiguration.js +61 -0
- package/dist-dashboard/node_modules/next/dist/lib/typescript/getTypeScriptIntent.js +52 -0
- package/dist-dashboard/node_modules/next/dist/lib/typescript/loadTsConfig.js +181 -0
- package/dist-dashboard/node_modules/next/dist/lib/typescript/missingDependencyError.js +22 -0
- package/dist-dashboard/node_modules/next/dist/lib/typescript/runTypeCheck.js +141 -0
- package/dist-dashboard/node_modules/next/dist/lib/typescript/runTypeCheckCli.js +52 -0
- package/dist-dashboard/node_modules/next/dist/lib/typescript/runTypeScriptCli.js +244 -0
- package/dist-dashboard/node_modules/next/dist/lib/typescript/type-paths.js +51 -0
- package/dist-dashboard/node_modules/next/dist/lib/typescript/writeAppTypeDeclarations.js +77 -0
- package/dist-dashboard/node_modules/next/dist/lib/typescript/writeConfigurationDefaults.js +395 -0
- package/dist-dashboard/node_modules/next/dist/lib/url.js +75 -0
- package/dist-dashboard/node_modules/next/dist/lib/verify-partytown-setup.js +100 -0
- package/dist-dashboard/node_modules/next/dist/lib/verify-root-layout.js +165 -0
- package/dist-dashboard/node_modules/next/dist/lib/verify-typescript-setup.js +271 -0
- package/dist-dashboard/node_modules/next/dist/lib/wait.js +19 -0
- package/dist-dashboard/node_modules/next/dist/lib/warn-missing-react-dependencies.js +33 -0
- package/dist-dashboard/node_modules/next/dist/lib/with-promise-cache.js +24 -0
- package/dist-dashboard/node_modules/next/dist/lib/worker.js +230 -0
- package/dist-dashboard/node_modules/next/dist/server/ReactDOMServerPages.js +16 -0
- package/dist-dashboard/node_modules/next/dist/server/accept-header.js +120 -0
- package/dist-dashboard/node_modules/next/dist/server/after/after-context.js +158 -0
- package/dist-dashboard/node_modules/next/dist/server/after/after.js +24 -0
- package/dist-dashboard/node_modules/next/dist/server/after/awaiter.js +70 -0
- package/dist-dashboard/node_modules/next/dist/server/after/builtin-request-context.js +38 -0
- package/dist-dashboard/node_modules/next/dist/server/after/index.js +21 -0
- package/dist-dashboard/node_modules/next/dist/server/after/run-with-after.js +35 -0
- package/dist-dashboard/node_modules/next/dist/server/api-utils/get-cookie-parser.js +22 -0
- package/dist-dashboard/node_modules/next/dist/server/api-utils/index.js +208 -0
- package/dist-dashboard/node_modules/next/dist/server/api-utils/node/api-resolver.js +355 -0
- package/dist-dashboard/node_modules/next/dist/server/api-utils/node/parse-body.js +67 -0
- package/dist-dashboard/node_modules/next/dist/server/api-utils/node/try-get-preview-data.js +89 -0
- package/dist-dashboard/node_modules/next/dist/server/api-utils/web.js +17 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/action-async-storage-instance.js +14 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/action-async-storage.external.js +13 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/action-handler.js +1088 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/after-task-async-storage-instance.js +14 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/after-task-async-storage.external.js +13 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/app-render-prerender-utils.js +308 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/app-render-render-utils.js +72 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/app-render-scheduling.js +176 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/app-render.js +6631 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/async-local-storage.js +81 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/blocking-route-messages.js +230 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/cache-signal.js +207 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/collect-segment-data.js +1003 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/console-async-storage-instance.js +14 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/console-async-storage.external.js +13 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/create-component-styles-and-scripts.js +39 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/create-component-tree.js +782 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/create-error-handler.js +196 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/create-transport-tree-from-loader-tree.js +190 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/csrf-protection.js +86 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/debug-channel-server.js +47 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/debug-channel-server.node.js +60 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/debug-channel-server.web.js +56 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/dev-validation-error-delivery.js +28 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/dev-validation-events.js +26 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/dev-validation-scheduler.js +86 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/dev-validation-worker-globals.js +41 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/dev-validation-worker-snapshot.js +81 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js +14 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js +36 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/dynamic-rendering-client.js +124 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/dynamic-rendering.js +1132 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/encryption-utils-server.js +114 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/encryption-utils.js +89 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/encryption.js +248 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/entry-base.js +260 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/flight-render-result.js +28 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/get-asset-query-string.js +29 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/get-css-inlined-link-tags.js +45 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/get-layer-assets.js +69 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/get-preloadable-fonts.js +39 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/get-script-nonce-from-header.js +32 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/get-short-dynamic-param-type.js +25 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/has-loading-component-in-tree.js +19 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/instant-test-bootstrap.js +20 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js +31 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/instant-validation/boundary-impl.js +118 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/instant-validation/boundary-tracking.js +38 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/instant-validation/instant-config.js +233 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/instant-validation/instant-samples.js +383 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/instant-validation/instant-validation-error.js +33 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/instant-validation/instant-validation.js +873 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/instant-validation/stream-utils.js +88 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/interop-default.js +17 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/make-get-server-inserted-html.js +91 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/manifests-singleton.js +399 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/metadata-insertion/create-server-inserted-metadata.js +29 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/module-loading/instrument-module-getter.js +32 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/module-loading/track-dynamic-import.js +49 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js +32 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js +62 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/parse-and-validate-flight-router-state.js +37 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/postponed-state.js +266 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/prospective-render-utils.js +70 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/react-large-shell-error.js +17 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/react-server.node.js +39 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/render-css-resource.js +57 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/render-in-browser.js +27 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/required-scripts.js +72 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/rsc/preloads.js +74 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/rsc/taint.js +75 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/segment-config/ensure-static.js +206 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/segment-explorer-path.js +128 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/server-inserted-html.js +77 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/staged-rendering.js +316 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/stale-time.js +101 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/stream-ops.js +155 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/stream-ops.node.js +848 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/stream-ops.web.js +233 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/strip-flight-headers.js +18 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/sync-io-messages.js +59 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/types.js +66 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/use-flight-response.js +204 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/vary-params.js +262 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/wait-for-response.js +36 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/walk-tree-with-flight-router-state.js +235 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/work-async-storage-instance.js +14 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/work-async-storage.external.js +13 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +14 -0
- package/dist-dashboard/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +260 -0
- package/dist-dashboard/node_modules/next/dist/server/async-storage/draft-mode-provider.js +58 -0
- package/dist-dashboard/node_modules/next/dist/server/async-storage/request-store.js +202 -0
- package/dist-dashboard/node_modules/next/dist/server/async-storage/with-store.js +6 -0
- package/dist-dashboard/node_modules/next/dist/server/async-storage/work-store.js +96 -0
- package/dist-dashboard/node_modules/next/dist/server/base-http/helpers.js +36 -0
- package/dist-dashboard/node_modules/next/dist/server/base-http/index.js +54 -0
- package/dist-dashboard/node_modules/next/dist/server/base-http/node.js +143 -0
- package/dist-dashboard/node_modules/next/dist/server/base-http/web.js +116 -0
- package/dist-dashboard/node_modules/next/dist/server/base-server.js +2147 -0
- package/dist-dashboard/node_modules/next/dist/server/body-streams.js +122 -0
- package/dist-dashboard/node_modules/next/dist/server/cache-dir.js +26 -0
- package/dist-dashboard/node_modules/next/dist/server/capsize-font-metrics.json +181516 -0
- package/dist-dashboard/node_modules/next/dist/server/ci-info.js +41 -0
- package/dist-dashboard/node_modules/next/dist/server/client-component-renderer-logger.js +171 -0
- package/dist-dashboard/node_modules/next/dist/server/config-schema.js +852 -0
- package/dist-dashboard/node_modules/next/dist/server/config-shared.js +417 -0
- package/dist-dashboard/node_modules/next/dist/server/config-utils.js +185 -0
- package/dist-dashboard/node_modules/next/dist/server/config.js +1658 -0
- package/dist-dashboard/node_modules/next/dist/server/create-deduped-by-callsite-server-error-logger.js +96 -0
- package/dist-dashboard/node_modules/next/dist/server/crypto-utils.js +70 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/browser-logs/file-logger.js +186 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/browser-logs/receive-logs.js +610 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/browser-logs/source-map.js +222 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/debug-channel.js +108 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/dev-indicator-server-state.js +15 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/dev-validation-worker-pool.js +233 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/dev-validation-worker.js +308 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/get-source-map-from-file.js +80 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/hot-middleware.js +302 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/hot-reloader-rspack.js +171 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/hot-reloader-shared-utils.js +56 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +1894 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/hot-reloader-types.js +63 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1386 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/log-requests.js +152 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/messages.js +66 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/middleware-turbopack.js +406 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/middleware-webpack.js +487 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/node-stack-frames.js +64 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/on-demand-entry-handler.js +773 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/parse-version-info.js +108 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/require-cache.js +109 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/runtime-error-state.js +220 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/serialized-errors.js +63 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/server-action-logger.js +37 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/static-paths-worker.js +107 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/turbopack-utils.js +711 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/use-cache-probe-pool.js +178 -0
- package/dist-dashboard/node_modules/next/dist/server/dev/use-cache-probe-worker.js +181 -0
- package/dist-dashboard/node_modules/next/dist/server/dynamic-rendering-utils.js +528 -0
- package/dist-dashboard/node_modules/next/dist/server/font-utils.js +43 -0
- package/dist-dashboard/node_modules/next/dist/server/get-app-route-from-entrypoint.js +30 -0
- package/dist-dashboard/node_modules/next/dist/server/get-page-files.js +40 -0
- package/dist-dashboard/node_modules/next/dist/server/get-route-from-entrypoint.js +35 -0
- package/dist-dashboard/node_modules/next/dist/server/image-optimizer/detect-content-type.js +229 -0
- package/dist-dashboard/node_modules/next/dist/server/image-optimizer/extract-etag.js +53 -0
- package/dist-dashboard/node_modules/next/dist/server/image-optimizer/get-image-size.js +25 -0
- package/dist-dashboard/node_modules/next/dist/server/image-optimizer/get-max-age.js +41 -0
- package/dist-dashboard/node_modules/next/dist/server/image-optimizer/get-previously-cached-image-or-null.js +22 -0
- package/dist-dashboard/node_modules/next/dist/server/image-optimizer/image-error.js +23 -0
- package/dist-dashboard/node_modules/next/dist/server/image-optimizer/image-type.js +86 -0
- package/dist-dashboard/node_modules/next/dist/server/image-optimizer/transform.js +227 -0
- package/dist-dashboard/node_modules/next/dist/server/image-optimizer.js +878 -0
- package/dist-dashboard/node_modules/next/dist/server/instrumentation/types.js +6 -0
- package/dist-dashboard/node_modules/next/dist/server/instrumentation/utils.js +21 -0
- package/dist-dashboard/node_modules/next/dist/server/internal-utils.js +39 -0
- package/dist-dashboard/node_modules/next/dist/server/is-private-ip.js +36 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/app-dir-module.js +59 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/app-info-log.js +145 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/async-callback-set.js +29 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/cache-control.js +22 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/cache-handlers/default.external.js +18 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/cache-handlers/default.js +192 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/cache-handlers/types.js +8 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/chrome-devtools-workspace.js +112 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/clone-response.js +77 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/cpu-profile.js +56 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/decode-query-path-parameter.js +26 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/dedupe-fetch.js +159 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/dev-bundler-service.js +110 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/disk-lru-cache.external.js +63 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/encode-header-safe.js +44 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/etag.js +56 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/experimental/create-env-definitions.js +48 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/find-page-file.js +147 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/fix-mojibake.js +25 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/format-hostname.js +16 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/generate-agent-files.js +303 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/i18n-provider.js +125 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/implicit-tags.js +87 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js +500 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/incremental-cache/index.js +556 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js +55 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js +81 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js +55 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/install-code-frame.js +22 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/is-ipv6.js +41 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/is-non-html-sec-fetch-dest.js +38 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/is-rsc-request.js +18 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/lazy-module.js +76 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/lazy-result.js +46 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/lru-cache.js +187 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/match-next-data-pathname.js +20 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/mock-request.js +345 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/module-loader/module-loader.js +8 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/module-loader/node-module-loader.js +21 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/module-loader/route-module-loader.js +22 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/node-fs-methods.js +42 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/params-utils.js +52 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/parse-stack.js +46 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/patch-fetch.js +1033 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/patch-set-header.js +45 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/postponed-request-body.js +60 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/release-compression-stream.js +24 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/render-server.js +149 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/route-cache-key.js +77 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/router-server.js +826 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/block-cross-site-dev.js +108 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/build-data-route.js +71 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/build-prefetch-segment-data-route.js +50 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/cache-life-type-utils.js +181 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/decode-path-params.js +38 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/filesystem.js +793 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js +149 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js +110 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/normalize-catchall-routes.js +320 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/proxy-request.js +128 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/resolve-routes.js +652 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/root-params-type-utils.js +61 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/route-types-utils.js +326 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/router-server-context.js +26 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/strict-route-matching-config.js +28 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/typegen.js +938 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/router-utils/types.js +6 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/server-action-request-meta.js +53 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/server-ipc/utils.js +83 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/source-maps.js +241 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/start-server.js +550 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/streaming-metadata.js +27 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/to-route.js +37 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/trace/constants.js +248 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/trace/local-span-recorder.js +385 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/trace/request-insights-identity.js +37 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/trace/request-insights.js +308 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/trace/span-store.js +69 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/trace/tracer.js +392 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/trace/utils.js +16 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/types.js +6 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/utils.js +343 -0
- package/dist-dashboard/node_modules/next/dist/server/lib/worker-utils.js +32 -0
- package/dist-dashboard/node_modules/next/dist/server/load-components.js +190 -0
- package/dist-dashboard/node_modules/next/dist/server/load-default-error-components.js +41 -0
- package/dist-dashboard/node_modules/next/dist/server/load-manifest.external.js +116 -0
- package/dist-dashboard/node_modules/next/dist/server/match-bundle.js +25 -0
- package/dist-dashboard/node_modules/next/dist/server/mcp/get-mcp-middleware.js +51 -0
- package/dist-dashboard/node_modules/next/dist/server/mcp/get-or-create-mcp-server.js +51 -0
- package/dist-dashboard/node_modules/next/dist/server/mcp/mcp-telemetry-tracker.js +82 -0
- package/dist-dashboard/node_modules/next/dist/server/mcp/tools/compile-route.js +86 -0
- package/dist-dashboard/node_modules/next/dist/server/mcp/tools/get-compilation-issues.js +68 -0
- package/dist-dashboard/node_modules/next/dist/server/mcp/tools/get-errors.js +114 -0
- package/dist-dashboard/node_modules/next/dist/server/mcp/tools/get-logs.js +67 -0
- package/dist-dashboard/node_modules/next/dist/server/mcp/tools/get-page-metadata.js +188 -0
- package/dist-dashboard/node_modules/next/dist/server/mcp/tools/get-project-metadata.js +59 -0
- package/dist-dashboard/node_modules/next/dist/server/mcp/tools/get-request-insights.js +57 -0
- package/dist-dashboard/node_modules/next/dist/server/mcp/tools/get-routes.js +136 -0
- package/dist-dashboard/node_modules/next/dist/server/mcp/tools/get-server-action-by-id.js +121 -0
- package/dist-dashboard/node_modules/next/dist/server/mcp/tools/next-instance-error-state.js +31 -0
- package/dist-dashboard/node_modules/next/dist/server/mcp/tools/utils/browser-communication.js +82 -0
- package/dist-dashboard/node_modules/next/dist/server/mcp/tools/utils/format-compilation-issues.js +72 -0
- package/dist-dashboard/node_modules/next/dist/server/mcp/tools/utils/format-errors.js +137 -0
- package/dist-dashboard/node_modules/next/dist/server/mcp/tools/utils/resolve-path-to-route.js +49 -0
- package/dist-dashboard/node_modules/next/dist/server/next-server.js +1453 -0
- package/dist-dashboard/node_modules/next/dist/server/next-typescript.js +13 -0
- package/dist-dashboard/node_modules/next/dist/server/next.js +473 -0
- package/dist-dashboard/node_modules/next/dist/server/node-environment-baseline.js +25 -0
- package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/console-dim.external.js +300 -0
- package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/console-exit.js +49 -0
- package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/console-file.js +56 -0
- package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/date.js +52 -0
- package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/error-inspect.js +8 -0
- package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js +630 -0
- package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/global-behaviors.js +29 -0
- package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/io-utils.js +103 -0
- package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/node-crypto.js +103 -0
- package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/process-error-handlers.js +161 -0
- package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/random.js +28 -0
- package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js +507 -0
- package/dist-dashboard/node_modules/next/dist/server/node-environment-extensions/web-crypto.js +45 -0
- package/dist-dashboard/node_modules/next/dist/server/node-environment.js +19 -0
- package/dist-dashboard/node_modules/next/dist/server/node-polyfill-crypto.js +21 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/absolute-filename-normalizer.js +33 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/built/app/app-bundle-path-normalizer.js +54 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/built/app/app-filename-normalizer.js +22 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/built/app/app-page-normalizer.js +40 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js +55 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/built/app/index.js +42 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/built/pages/index.js +44 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/built/pages/pages-bundle-path-normalizer.js +55 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/built/pages/pages-filename-normalizer.js +22 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/built/pages/pages-page-normalizer.js +19 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/built/pages/pages-pathname-normalizer.js +19 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/locale-route-normalizer.js +26 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/normalizer.js +6 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/normalizers.js +23 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/prefixing-normalizer.js +26 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/request/base-path.js +21 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/request/next-data.js +34 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/request/pathname-normalizer.js +6 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/request/prefix.js +35 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/request/rsc.js +19 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/request/segment-prefix-rsc.js +33 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/request/suffix.js +27 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/underscore-normalizer.js +17 -0
- package/dist-dashboard/node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js +17 -0
- package/dist-dashboard/node_modules/next/dist/server/og/cache-image-response.js +336 -0
- package/dist-dashboard/node_modules/next/dist/server/og/image-response.js +72 -0
- package/dist-dashboard/node_modules/next/dist/server/patch-error-inspect.js +515 -0
- package/dist-dashboard/node_modules/next/dist/server/pipe-readable.js +224 -0
- package/dist-dashboard/node_modules/next/dist/server/post-process.js +39 -0
- package/dist-dashboard/node_modules/next/dist/server/render-result.js +234 -0
- package/dist-dashboard/node_modules/next/dist/server/render.js +1004 -0
- package/dist-dashboard/node_modules/next/dist/server/request/cache-stages.js +250 -0
- package/dist-dashboard/node_modules/next/dist/server/request/connection.js +104 -0
- package/dist-dashboard/node_modules/next/dist/server/request/cookies.js +204 -0
- package/dist-dashboard/node_modules/next/dist/server/request/draft-mode.js +192 -0
- package/dist-dashboard/node_modules/next/dist/server/request/fallback-params.js +109 -0
- package/dist-dashboard/node_modules/next/dist/server/request/headers.js +201 -0
- package/dist-dashboard/node_modules/next/dist/server/request/io.js +87 -0
- package/dist-dashboard/node_modules/next/dist/server/request/params.js +500 -0
- package/dist-dashboard/node_modules/next/dist/server/request/pathname.js +89 -0
- package/dist-dashboard/node_modules/next/dist/server/request/root-params.js +146 -0
- package/dist-dashboard/node_modules/next/dist/server/request/search-params.js +505 -0
- package/dist-dashboard/node_modules/next/dist/server/request/utils.js +77 -0
- package/dist-dashboard/node_modules/next/dist/server/request-meta.js +55 -0
- package/dist-dashboard/node_modules/next/dist/server/require-hook.js +82 -0
- package/dist-dashboard/node_modules/next/dist/server/require.js +109 -0
- package/dist-dashboard/node_modules/next/dist/server/response-cache/index.js +361 -0
- package/dist-dashboard/node_modules/next/dist/server/response-cache/types.js +41 -0
- package/dist-dashboard/node_modules/next/dist/server/response-cache/utils.js +100 -0
- package/dist-dashboard/node_modules/next/dist/server/response-cache/web.js +104 -0
- package/dist-dashboard/node_modules/next/dist/server/resume-data-cache/cache-store.js +119 -0
- package/dist-dashboard/node_modules/next/dist/server/resume-data-cache/resume-data-cache.js +144 -0
- package/dist-dashboard/node_modules/next/dist/server/revalidation-utils.js +158 -0
- package/dist-dashboard/node_modules/next/dist/server/route-definitions/app-page-route-definition.js +16 -0
- package/dist-dashboard/node_modules/next/dist/server/route-definitions/app-route-route-definition.js +6 -0
- package/dist-dashboard/node_modules/next/dist/server/route-definitions/locale-route-definition.js +6 -0
- package/dist-dashboard/node_modules/next/dist/server/route-definitions/pages-api-route-definition.js +6 -0
- package/dist-dashboard/node_modules/next/dist/server/route-definitions/pages-route-definition.js +6 -0
- package/dist-dashboard/node_modules/next/dist/server/route-definitions/route-definition.js +6 -0
- package/dist-dashboard/node_modules/next/dist/server/route-kind.js +32 -0
- package/dist-dashboard/node_modules/next/dist/server/route-matches/app-page-route-match.js +6 -0
- package/dist-dashboard/node_modules/next/dist/server/route-matches/app-route-route-match.js +6 -0
- package/dist-dashboard/node_modules/next/dist/server/route-matches/locale-route-match.js +6 -0
- package/dist-dashboard/node_modules/next/dist/server/route-matches/pages-api-route-match.js +16 -0
- package/dist-dashboard/node_modules/next/dist/server/route-matches/pages-route-match.js +6 -0
- package/dist-dashboard/node_modules/next/dist/server/route-matches/route-match.js +6 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/dev-render-context.js +23 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/helpers/prerender-manifest-matcher.js +52 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/module.compiled.js +36 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/module.js +188 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/module.render.js +39 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/normalize-request-url.js +62 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/parse-request-headers.js +58 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/app-router-context.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/entrypoints.js +87 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/head-manager-context.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/hooks-client-context.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/image-config-context.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/router-context.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/server-inserted-html.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/entrypoints.js +136 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-compiler-runtime.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-dom.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-jsx-dev-runtime.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-jsx-runtime.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-server.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-static.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-webpack-server.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-webpack-static.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/entrypoints.js +121 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-compiler-runtime.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-dom-server.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-dom.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-server-dom-turbopack-client.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-server-dom-webpack-client.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-route/helpers/auto-implement-methods.js +81 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-route/helpers/clean-url.js +24 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-route/helpers/get-pathname-from-absolute-path.js +29 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-route/helpers/is-static-gen-enabled.js +15 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-route/helpers/parsed-url-query-to-params.js +20 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-route/module.compiled.js +36 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-route/module.js +915 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/app-route/shared-modules.js +56 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/checks.js +45 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/builtin/_error.js +100 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/module.compiled.js +20 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/module.js +92 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/module.render.js +20 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/pages-handler.js +576 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/vendored/contexts/app-router-context.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/vendored/contexts/entrypoints.js +102 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/vendored/contexts/head-manager-context.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/vendored/contexts/hooks-client-context.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/vendored/contexts/html-context.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/vendored/contexts/image-config-context.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/vendored/contexts/loadable-context.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/vendored/contexts/loadable.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/vendored/contexts/router-context.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/pages/vendored/contexts/server-inserted-html.js +4 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/pages-api/module.compiled.js +20 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/pages-api/module.js +54 -0
- package/dist-dashboard/node_modules/next/dist/server/route-modules/route-module.js +700 -0
- package/dist-dashboard/node_modules/next/dist/server/runtime-reacts.external.js +46 -0
- package/dist-dashboard/node_modules/next/dist/server/send-payload.js +88 -0
- package/dist-dashboard/node_modules/next/dist/server/send-response.js +70 -0
- package/dist-dashboard/node_modules/next/dist/server/serve-static.js +62 -0
- package/dist-dashboard/node_modules/next/dist/server/server-route-utils.js +30 -0
- package/dist-dashboard/node_modules/next/dist/server/server-utils.js +340 -0
- package/dist-dashboard/node_modules/next/dist/server/setup-http-agent-env.js +27 -0
- package/dist-dashboard/node_modules/next/dist/server/stream-utils/encoded-tags.js +122 -0
- package/dist-dashboard/node_modules/next/dist/server/stream-utils/node-buffered-transform-stream.js +51 -0
- package/dist-dashboard/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js +935 -0
- package/dist-dashboard/node_modules/next/dist/server/stream-utils/uint8array-helpers.js +74 -0
- package/dist-dashboard/node_modules/next/dist/server/typescript/constant.js +100 -0
- package/dist-dashboard/node_modules/next/dist/server/typescript/index.js +199 -0
- package/dist-dashboard/node_modules/next/dist/server/typescript/rules/client-boundary.js +100 -0
- package/dist-dashboard/node_modules/next/dist/server/typescript/rules/config.js +561 -0
- package/dist-dashboard/node_modules/next/dist/server/typescript/rules/entry.js +149 -0
- package/dist-dashboard/node_modules/next/dist/server/typescript/rules/error.js +38 -0
- package/dist-dashboard/node_modules/next/dist/server/typescript/rules/metadata.js +234 -0
- package/dist-dashboard/node_modules/next/dist/server/typescript/rules/server-boundary.js +115 -0
- package/dist-dashboard/node_modules/next/dist/server/typescript/rules/server.js +79 -0
- package/dist-dashboard/node_modules/next/dist/server/typescript/utils.js +212 -0
- package/dist-dashboard/node_modules/next/dist/server/use-cache/cache-life-profile.js +60 -0
- package/dist-dashboard/node_modules/next/dist/server/use-cache/cache-life.js +79 -0
- package/dist-dashboard/node_modules/next/dist/server/use-cache/cache-tag.js +46 -0
- package/dist-dashboard/node_modules/next/dist/server/use-cache/clone-cache-entry.js +28 -0
- package/dist-dashboard/node_modules/next/dist/server/use-cache/constants.js +40 -0
- package/dist-dashboard/node_modules/next/dist/server/use-cache/handlers.js +265 -0
- package/dist-dashboard/node_modules/next/dist/server/use-cache/tiered-cache-handler.js +147 -0
- package/dist-dashboard/node_modules/next/dist/server/use-cache/use-cache-errors.js +58 -0
- package/dist-dashboard/node_modules/next/dist/server/use-cache/use-cache-messages.js +190 -0
- package/dist-dashboard/node_modules/next/dist/server/use-cache/use-cache-probe-globals.js +39 -0
- package/dist-dashboard/node_modules/next/dist/server/use-cache/use-cache-probe-scheduler.js +117 -0
- package/dist-dashboard/node_modules/next/dist/server/use-cache/use-cache-wrapper.js +2689 -0
- package/dist-dashboard/node_modules/next/dist/server/utils.js +73 -0
- package/dist-dashboard/node_modules/next/dist/server/web/adapter.js +407 -0
- package/dist-dashboard/node_modules/next/dist/server/web/edge-route-module-wrapper.js +135 -0
- package/dist-dashboard/node_modules/next/dist/server/web/error.js +54 -0
- package/dist-dashboard/node_modules/next/dist/server/web/exports/index.js +56 -0
- package/dist-dashboard/node_modules/next/dist/server/web/get-edge-preview-props.js +23 -0
- package/dist-dashboard/node_modules/next/dist/server/web/globals.js +116 -0
- package/dist-dashboard/node_modules/next/dist/server/web/http.js +39 -0
- package/dist-dashboard/node_modules/next/dist/server/web/internal-edge-wait-until.js +64 -0
- package/dist-dashboard/node_modules/next/dist/server/web/next-url.js +195 -0
- package/dist-dashboard/node_modules/next/dist/server/web/sandbox/context.js +444 -0
- package/dist-dashboard/node_modules/next/dist/server/web/sandbox/fetch-inline-assets.js +35 -0
- package/dist-dashboard/node_modules/next/dist/server/web/sandbox/index.js +28 -0
- package/dist-dashboard/node_modules/next/dist/server/web/sandbox/resource-managers.js +123 -0
- package/dist-dashboard/node_modules/next/dist/server/web/sandbox/sandbox.js +133 -0
- package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/adapters/headers.js +288 -0
- package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/adapters/next-request.js +138 -0
- package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/adapters/reflect.js +30 -0
- package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js +221 -0
- package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/cookies.js +29 -0
- package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/fetch-event.js +90 -0
- package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/image-response.js +18 -0
- package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/request.js +99 -0
- package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/response.js +128 -0
- package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/revalidate.js +188 -0
- package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/unstable-cache.js +299 -0
- package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/unstable-no-store.js +50 -0
- package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/url-pattern.js +13 -0
- package/dist-dashboard/node_modules/next/dist/server/web/spec-extension/user-agent.js +46 -0
- package/dist-dashboard/node_modules/next/dist/server/web/types.js +6 -0
- package/dist-dashboard/node_modules/next/dist/server/web/utils.js +147 -0
- package/dist-dashboard/node_modules/next/dist/server/web/web-on-close.js +79 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/action-revalidation-kind.js +31 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +50 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/app-router-types.js +169 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/constants.js +458 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/deep-freeze.js +30 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/deployment-id.js +63 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/dset.js +34 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/encode-uri-path.js +15 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/entry-constants.js +36 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/error-source.js +36 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/errors/code-frame.js +21 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/errors/constants.js +19 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/errors/empty-generate-static-params-error.js +27 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/errors/ensure-static-gsp-errors.js +30 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/errors/hard-deprecated-config-error.js +20 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/escape-regexp.js +22 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/get-hostname.js +23 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/hash.js +42 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +18 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/head.js +164 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +60 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/html-context.shared-runtime.js +36 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/htmlescape.js +52 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +25 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/i18n/get-locale-redirect.js +59 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +54 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/image-blur-svg.js +22 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js +19 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/image-config.js +128 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/instant-messages.js +35 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/invariant-error.js +18 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/is-plain-object.js +42 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/is-thenable.js +20 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/isomorphic/path.js +14 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +37 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/lazy-dynamic/react-browser-bailout.js +45 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/loadable-context.shared-runtime.js +19 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/loadable.shared-runtime.js +246 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/magic-identifier.js +198 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/match-local-pattern.js +46 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/match-remote-pattern.js +59 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/modern-browserslist-target.js +15 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/no-fallback-error.external.js +18 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/normalized-asset-prefix.js +28 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/page-path/absolute-path-to-page.js +26 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js +18 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +18 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/page-path/get-page-paths.js +40 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/page-path/normalize-data-path.js +23 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/page-path/normalize-page-path.js +26 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js +19 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/page-path/remove-page-path-tail.js +20 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/promise-with-resolvers.js +26 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/request-insights.js +30 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/adapters.js +139 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/routes/app.js +146 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/add-locale.js +28 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +20 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js +20 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/app-paths.js +84 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/as-path-to-search-params.js +17 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/cache-busting-search-param.js +70 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/escape-path-delimiters.js +16 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js +27 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/format-url.js +111 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +166 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js +52 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/get-route-from-asset-path.js +25 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +90 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/html-bots.js +17 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/index.js +30 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/interception-prefix-from-param-type.js +33 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +151 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/is-bot.js +57 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +26 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/middleware-route-matcher.js +31 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +30 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/parse-path.js +33 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js +39 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/parse-url.js +38 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +20 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/path-match.js +49 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/prepare-destination.js +289 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/querystring.js +110 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/relativize-url.js +40 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js +39 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +22 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/resolve-param-value.js +112 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +113 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +41 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/route-regex.js +256 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +200 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +18 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/rsc-transport.js +108 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/segment-cache/segment-value-encoding.js +86 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/segment-cache/vary-params-decoding.js +87 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/segment.js +90 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +35 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/server-reference-info.js +68 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/side-effect.js +63 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/size-limit.js +40 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/turbopack/internal-error.js +48 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/utils/reflect-utils.js +69 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/utils/warn-once.js +22 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/utils.js +207 -0
- package/dist-dashboard/node_modules/next/dist/shared/lib/zod.js +97 -0
- package/dist-dashboard/node_modules/next/dist/telemetry/agent-name.js +20 -0
- package/dist-dashboard/node_modules/next/dist/telemetry/anonymous-meta.js +91 -0
- package/dist-dashboard/node_modules/next/dist/telemetry/detached-flush.js +49 -0
- package/dist-dashboard/node_modules/next/dist/telemetry/events/build.js +186 -0
- package/dist-dashboard/node_modules/next/dist/telemetry/events/index.js +41 -0
- package/dist-dashboard/node_modules/next/dist/telemetry/events/plugins.js +51 -0
- package/dist-dashboard/node_modules/next/dist/telemetry/events/swc-load-failure.js +55 -0
- package/dist-dashboard/node_modules/next/dist/telemetry/events/version.js +68 -0
- package/dist-dashboard/node_modules/next/dist/telemetry/flush-telemetry.js +19 -0
- package/dist-dashboard/node_modules/next/dist/telemetry/post-telemetry-payload.js +44 -0
- package/dist-dashboard/node_modules/next/dist/telemetry/project-id.js +48 -0
- package/dist-dashboard/node_modules/next/dist/telemetry/storage.js +317 -0
- package/dist-dashboard/node_modules/next/dist/trace/index.js +58 -0
- package/dist-dashboard/node_modules/next/dist/trace/report/index.js +40 -0
- package/dist-dashboard/node_modules/next/dist/trace/report/to-json-build.js +42 -0
- package/dist-dashboard/node_modules/next/dist/trace/report/to-json.js +215 -0
- package/dist-dashboard/node_modules/next/dist/trace/report/to-telemetry.js +36 -0
- package/dist-dashboard/node_modules/next/dist/trace/shared.js +39 -0
- package/dist-dashboard/node_modules/next/dist/trace/trace.js +216 -0
- package/dist-dashboard/node_modules/next/license.md +21 -0
- package/dist-dashboard/node_modules/next/package.json +140 -0
- package/dist-dashboard/node_modules/react/LICENSE +21 -0
- package/dist-dashboard/node_modules/react/cjs/react-compiler-runtime.production.js +16 -0
- package/dist-dashboard/node_modules/react/cjs/react-jsx-dev-runtime.production.js +14 -0
- package/dist-dashboard/node_modules/react/cjs/react-jsx-runtime.production.js +34 -0
- package/dist-dashboard/node_modules/react/cjs/react.development.js +1284 -0
- package/dist-dashboard/node_modules/react/cjs/react.production.js +542 -0
- package/dist-dashboard/node_modules/react/compiler-runtime.js +14 -0
- package/dist-dashboard/node_modules/react/index.js +7 -0
- package/dist-dashboard/node_modules/react/jsx-dev-runtime.js +7 -0
- package/dist-dashboard/node_modules/react/jsx-runtime.js +7 -0
- package/dist-dashboard/node_modules/react/package.json +51 -0
- package/dist-dashboard/node_modules/react-dom/LICENSE +21 -0
- package/dist-dashboard/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js +6603 -0
- package/dist-dashboard/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.js +6692 -0
- package/dist-dashboard/node_modules/react-dom/cjs/react-dom-server.browser.production.js +7414 -0
- package/dist-dashboard/node_modules/react-dom/cjs/react-dom-server.edge.production.js +7518 -0
- package/dist-dashboard/node_modules/react-dom/cjs/react-dom-server.node.production.js +7715 -0
- package/dist-dashboard/node_modules/react-dom/cjs/react-dom.production.js +210 -0
- package/dist-dashboard/node_modules/react-dom/index.js +38 -0
- package/dist-dashboard/node_modules/react-dom/package.json +117 -0
- package/dist-dashboard/node_modules/react-dom/server.browser.js +16 -0
- package/dist-dashboard/node_modules/react-dom/server.edge.js +17 -0
- package/dist-dashboard/node_modules/react-dom/server.node.js +18 -0
- package/dist-dashboard/node_modules/react-dom/static.node.js +14 -0
- package/dist-dashboard/node_modules/styled-jsx/dist/index/index.js +499 -0
- package/dist-dashboard/node_modules/styled-jsx/index.js +1 -0
- package/dist-dashboard/node_modules/styled-jsx/license.md +21 -0
- package/dist-dashboard/node_modules/styled-jsx/package.json +132 -0
- package/dist-dashboard/node_modules/styled-jsx/style.js +1 -0
- package/dist-dashboard/package.json +22 -0
- package/dist-dashboard/public/icons/back-button-96.png +0 -0
- package/dist-dashboard/public/icons/codex.png +0 -0
- package/dist-dashboard/server.js +38 -0
- package/integrations/claude-code/.claude-plugin/plugin.json +5 -0
- package/integrations/claude-code/hook.mjs +5 -0
- package/integrations/codex/hook.mjs +12 -0
- package/package.json +61 -6
- package/skills/wisdom-ledger/SKILL.md +88 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { randomUUID } from 'node:crypto';
|
|
2
|
+
import { deliver, handoffFromEnv } from '../../client.js';
|
|
3
|
+
import { hookDataDir, wisdomHomeData } from '../../paths.js';
|
|
4
|
+
import { exitEnvelope } from './adapter.js';
|
|
5
|
+
/** Unknown tool outcomes stay unknown. A PostToolUse is not proof of success. */
|
|
6
|
+
export function toolError(toolName, response) {
|
|
7
|
+
if (typeof response?.isError === 'boolean')
|
|
8
|
+
return response.isError;
|
|
9
|
+
if (typeof response?.is_error === 'boolean')
|
|
10
|
+
return response.is_error;
|
|
11
|
+
if (toolName !== 'Bash')
|
|
12
|
+
return undefined;
|
|
13
|
+
const code = response?.exit_code ?? response?.exitCode ?? response?.metadata?.exit_code;
|
|
14
|
+
if (typeof code === 'number')
|
|
15
|
+
return code !== 0;
|
|
16
|
+
return exitEnvelope(response);
|
|
17
|
+
}
|
|
18
|
+
// Codex kills a hook at its 40 s timeout, so delivery (10 s) plus starting the daemon
|
|
19
|
+
// (up to 10 s) stays well inside that window.
|
|
20
|
+
const daemonTimeoutMs = 10000;
|
|
21
|
+
/** A spawned subagent's ID, from Codex spawn_agent's result. */
|
|
22
|
+
function childAgentId(toolName, response) {
|
|
23
|
+
if (toolName !== 'spawn_agent')
|
|
24
|
+
return undefined;
|
|
25
|
+
let value = response;
|
|
26
|
+
if (typeof value === 'string') {
|
|
27
|
+
try {
|
|
28
|
+
value = JSON.parse(value);
|
|
29
|
+
}
|
|
30
|
+
catch {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return typeof value?.agent_id === 'string' ? value.agent_id : undefined;
|
|
35
|
+
}
|
|
36
|
+
export function observation(event) {
|
|
37
|
+
const identity = {
|
|
38
|
+
...(typeof event.turn_id === 'string' ? { turnId: event.turn_id } : {}),
|
|
39
|
+
...(typeof event.agent_id === 'string' ? { agentId: event.agent_id } : {}),
|
|
40
|
+
};
|
|
41
|
+
switch (event.hook_event_name) {
|
|
42
|
+
case 'SessionStart': return { type: 'session_started', data: {
|
|
43
|
+
sessionId: event.session_id, source: event.transcript_path, origin: event.source
|
|
44
|
+
} };
|
|
45
|
+
case 'SessionEnd': return { type: 'session_ended', data: { reason: event.reason } };
|
|
46
|
+
case 'UserPromptSubmit': return { type: 'input', ...identity, data: { text: event.prompt } };
|
|
47
|
+
case 'PreToolUse': return { type: 'tool_started', ...identity, toolCallId: event.tool_use_id,
|
|
48
|
+
toolName: event.tool_name, data: { input: event.tool_input } };
|
|
49
|
+
case 'PostToolUse': return { type: 'tool_finished', ...identity, toolCallId: event.tool_use_id,
|
|
50
|
+
toolName: event.tool_name, isError: toolError(event.tool_name, event.tool_response),
|
|
51
|
+
childAgentId: childAgentId(event.tool_name, event.tool_response), data: { response: event.tool_response } };
|
|
52
|
+
case 'Stop': return { type: 'agent_settled', ...identity, data: { lastAssistantMessage: event.last_assistant_message } };
|
|
53
|
+
case 'SubagentStart': return { type: 'subagent_started', ...identity, data: { agentType: event.agent_type } };
|
|
54
|
+
case 'SubagentStop': return { type: 'subagent_stopped', ...identity,
|
|
55
|
+
data: { agentType: event.agent_type, transcriptPath: event.agent_transcript_path, lastAssistantMessage: event.last_assistant_message } };
|
|
56
|
+
case 'PreCompact':
|
|
57
|
+
case 'PostCompact': return { type: 'session_compact', ...identity,
|
|
58
|
+
data: { phase: event.hook_event_name, trigger: event.trigger } };
|
|
59
|
+
default: return undefined;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
/** Runs for every hook of every Codex process that uses Wisdom's home. It never stops
|
|
63
|
+
* Codex: an event the daemon cannot take is kept in the spool. It always answers `{}`
|
|
64
|
+
* (Stop and SubagentStop require JSON); a warning goes to stderr with exit code 1.
|
|
65
|
+
*/
|
|
66
|
+
export async function main(named = process.argv[2], place = process.argv[3]) {
|
|
67
|
+
let event;
|
|
68
|
+
let input = '';
|
|
69
|
+
try {
|
|
70
|
+
for await (const chunk of process.stdin) {
|
|
71
|
+
input += chunk;
|
|
72
|
+
if (Buffer.byteLength(input) > 15 * 1024 * 1024)
|
|
73
|
+
throw new Error('Hook payload exceeds 15 MiB');
|
|
74
|
+
}
|
|
75
|
+
event = JSON.parse(input);
|
|
76
|
+
const mapped = observation(event);
|
|
77
|
+
// The project's copy of the hook stands aside in a tracked session: its home's copy records it.
|
|
78
|
+
if (mapped && !(place === 'project' && wisdomHomeData('codex', process.env.CODEX_HOME))) {
|
|
79
|
+
const dataDir = hookDataDir('codex', process.env.CODEX_HOME, named);
|
|
80
|
+
// A subagent's events name its own rollout file; that is not the session transcript
|
|
81
|
+
// switching. Its transcript is copied separately at SubagentStop.
|
|
82
|
+
const identity = { sessionId: event.session_id, ...(typeof event.agent_id === 'string' ? {} : { source: event.transcript_path }) };
|
|
83
|
+
if (typeof identity.sessionId !== 'string' || !identity.sessionId)
|
|
84
|
+
throw new Error('Codex hook has no session_id');
|
|
85
|
+
// One request: the neutral observation plus the exact received JSON object,
|
|
86
|
+
// kept as a separate record so it never enters clean conversation output.
|
|
87
|
+
const { spooled } = await deliver(dataDir, { harness: 'codex', cwd: typeof event.cwd === 'string' ? event.cwd : process.cwd(), ...handoffFromEnv(),
|
|
88
|
+
observation: { observationId: randomUUID(), ...identity, ...mapped, harnessEvent: event } }, daemonTimeoutMs);
|
|
89
|
+
if (spooled) {
|
|
90
|
+
process.stderr.write(`Wisdom kept this ${event.hook_event_name} to record when its daemon is back (${spooled}). File changes meanwhile are not observed.\n`);
|
|
91
|
+
process.exitCode = 1;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
catch (error) {
|
|
96
|
+
const name = event?.hook_event_name ?? /"hook_event_name"\s*:\s*"(\w+)"/.exec(input)?.[1];
|
|
97
|
+
process.stderr.write(`Wisdom could not record or keep this ${name ?? 'hook'}: ${String(error instanceof Error ? error.message : error)}.\n`);
|
|
98
|
+
process.exitCode = 1;
|
|
99
|
+
}
|
|
100
|
+
process.stdout.write('{}');
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=hook.js.map
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
import fs from 'node:fs';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
import { execFileSync, spawn } from 'node:child_process';
|
|
4
|
+
import { createInterface } from 'node:readline';
|
|
5
|
+
import { home, hookCommand, installSkill, readSettings, resolveCommand, saveOrRemoveSettings, saveSettings, settingsFile, withHooks, withoutHooks } from '../launch.js';
|
|
6
|
+
import { userHome } from '../index.js';
|
|
7
|
+
export const hookEvents = ['SessionStart', 'SessionEnd', 'UserPromptSubmit', 'PreToolUse', 'PostToolUse',
|
|
8
|
+
'Stop', 'SubagentStart', 'SubagentStop', 'PreCompact', 'PostCompact'];
|
|
9
|
+
/** Put Wisdom's hooks in one Codex `hooks.json`, keeping any other hooks there. Returns the command. */
|
|
10
|
+
function writeHooks(dataDir, place) {
|
|
11
|
+
const file = settingsFile(dataDir, 'codex', place);
|
|
12
|
+
const settings = readSettings(file);
|
|
13
|
+
const command = hookCommand('codex', dataDir, place === 'project');
|
|
14
|
+
settings.hooks = withHooks(settings.hooks, hookEvents, command, () => ({}), event => ({ timeout: event === 'SessionEnd' ? 3 : 40 }));
|
|
15
|
+
saveSettings(file, settings);
|
|
16
|
+
return command;
|
|
17
|
+
}
|
|
18
|
+
/** Write Wisdom's hooks to `hooks.json` in Codex's home in Wisdom's folder (verified on
|
|
19
|
+
* Codex CLI 0.164.0: listed as user hooks, enabled, untrusted until reviewed in /hooks).
|
|
20
|
+
* Every Codex process that uses this home loads them; ~/.codex is never touched.
|
|
21
|
+
*/
|
|
22
|
+
export function installCodex(dataDir) {
|
|
23
|
+
const folder = home(dataDir, 'codex');
|
|
24
|
+
const command = writeHooks(dataDir, 'home');
|
|
25
|
+
installSkill(folder);
|
|
26
|
+
return { home: folder, command };
|
|
27
|
+
}
|
|
28
|
+
/** Wisdom's hooks in the project's `.codex/hooks.json` (verified on Codex CLI 0.166.0: loaded
|
|
29
|
+
* only once the project is trusted, from its folder or any below it, and listed as project
|
|
30
|
+
* hooks, untrusted until reviewed in /hooks). Codex uses the person's own home and login.
|
|
31
|
+
*/
|
|
32
|
+
export function connectCodex(dataDir) {
|
|
33
|
+
writeHooks(dataDir, 'project');
|
|
34
|
+
return settingsFile(dataDir, 'codex', 'project');
|
|
35
|
+
}
|
|
36
|
+
/** Take Wisdom's hooks out of the project's `.codex/hooks.json`, leaving everything else. */
|
|
37
|
+
export function disconnectCodex(dataDir) {
|
|
38
|
+
const file = settingsFile(dataDir, 'codex', 'project');
|
|
39
|
+
const settings = readSettings(file);
|
|
40
|
+
const hooks = withoutHooks(settings.hooks);
|
|
41
|
+
if (hooks)
|
|
42
|
+
settings.hooks = hooks;
|
|
43
|
+
else
|
|
44
|
+
delete settings.hooks;
|
|
45
|
+
saveOrRemoveSettings(file, settings);
|
|
46
|
+
}
|
|
47
|
+
/** Read hook metadata only. No thread is started and no model is called. */
|
|
48
|
+
export async function inspectHooks(program, args, cwd, env = process.env) {
|
|
49
|
+
return new Promise((resolve, reject) => {
|
|
50
|
+
const child = spawn(program.command, [...program.args, ...args, 'app-server'], { cwd, env, windowsHide: true, stdio: ['pipe', 'pipe', 'pipe'] });
|
|
51
|
+
let done = false;
|
|
52
|
+
const finish = (error, result) => {
|
|
53
|
+
if (done)
|
|
54
|
+
return;
|
|
55
|
+
done = true;
|
|
56
|
+
clearTimeout(timer);
|
|
57
|
+
lines.close();
|
|
58
|
+
child.stdin.end();
|
|
59
|
+
child.kill();
|
|
60
|
+
if (error)
|
|
61
|
+
reject(error);
|
|
62
|
+
else
|
|
63
|
+
resolve(result);
|
|
64
|
+
};
|
|
65
|
+
const timer = setTimeout(() => finish(new Error('Codex hook inspection timed out')), 15000);
|
|
66
|
+
const lines = createInterface({ input: child.stdout });
|
|
67
|
+
child.stderr.resume(); // Do not echo unrelated configuration or authentication diagnostics.
|
|
68
|
+
const send = (message) => child.stdin.write(JSON.stringify(message) + '\n');
|
|
69
|
+
child.on('error', error => finish(error));
|
|
70
|
+
child.stdin.on('error', error => finish(error));
|
|
71
|
+
child.on('exit', () => finish(new Error('Codex exited before reporting its recording hooks')));
|
|
72
|
+
lines.on('line', line => {
|
|
73
|
+
let message;
|
|
74
|
+
try {
|
|
75
|
+
message = JSON.parse(line);
|
|
76
|
+
}
|
|
77
|
+
catch {
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
if (message.error) {
|
|
81
|
+
finish(new Error(`Codex hook inspection failed: ${message.error.message}`));
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
if (message.id === 1) {
|
|
85
|
+
send({ method: 'initialized' });
|
|
86
|
+
send({ id: 2, method: 'hooks/list', params: { cwds: [cwd] } });
|
|
87
|
+
}
|
|
88
|
+
else if (message.id === 2)
|
|
89
|
+
finish(undefined, message.result);
|
|
90
|
+
});
|
|
91
|
+
send({ id: 1, method: 'initialize', params: { clientInfo: { name: 'wisdom', version: '0.3.0' } } });
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
/** Wisdom's hooks in Codex's home are `user` hooks; in a connected project, `project` hooks. */
|
|
95
|
+
export function requireTrustedHooks(result, command, allowUntrusted = false, place = 'home') {
|
|
96
|
+
const entries = result?.data;
|
|
97
|
+
if (!Array.isArray(entries) || entries.length !== 1 || entries[0].errors?.length) {
|
|
98
|
+
throw new Error('Codex could not load Wisdom hooks. Check Codex configuration and managed hook policy.');
|
|
99
|
+
}
|
|
100
|
+
const missing = hookEvents.filter(event => !entries[0].hooks?.some((hook) => hook.command === command && hook.eventName === event[0].toLowerCase() + event.slice(1)
|
|
101
|
+
&& hook.source === (place === 'project' ? 'project' : 'user') && hook.enabled && (allowUntrusted || hook.trustStatus === 'trusted')));
|
|
102
|
+
if (!missing.length)
|
|
103
|
+
return;
|
|
104
|
+
throw new Error(place === 'project'
|
|
105
|
+
? 'Wisdom hooks in this project are missing, disabled, or untrusted. Start codex in the project, trust the project if it asks, '
|
|
106
|
+
+ 'review Wisdom hooks in /hooks, then quit and retry. Required: ' + missing.join(', ')
|
|
107
|
+
: 'Wisdom hooks are missing, disabled, or untrusted. Run `wisdom track codex --setup-hooks` '
|
|
108
|
+
+ 'with the same --cwd, review Wisdom hooks in /hooks, then quit and retry. Required: ' + missing.join(', '));
|
|
109
|
+
}
|
|
110
|
+
/** Inspect the same config/profile overrides used by the interactive process. */
|
|
111
|
+
export function inspectionArgs(args) {
|
|
112
|
+
const result = [];
|
|
113
|
+
for (let i = 0; i < args.length; i++) {
|
|
114
|
+
const arg = args[i];
|
|
115
|
+
if (/^(?:--cd|-C|--worktree|--remote)(?:=|$)/.test(arg) || /^-C.+/.test(arg)) {
|
|
116
|
+
throw new Error('Use Wisdom --cwd; changing the Codex workspace or attaching remotely is not supported.');
|
|
117
|
+
}
|
|
118
|
+
if (arg === '--dangerously-bypass-hook-trust')
|
|
119
|
+
throw new Error('Review Wisdom hooks with --setup-hooks, or pass Wisdom\'s --trust-all-hooks.');
|
|
120
|
+
if (['-c', '--config', '-p', '--profile', '--enable', '--disable'].includes(arg)) {
|
|
121
|
+
if (!args[i + 1])
|
|
122
|
+
throw new Error(`Missing Codex value for ${arg}`);
|
|
123
|
+
result.push(arg, args[++i]);
|
|
124
|
+
}
|
|
125
|
+
else if (/^(?:--config=|--profile=|--enable=|--disable=|-c.+|-p.+)/.test(arg))
|
|
126
|
+
result.push(arg);
|
|
127
|
+
}
|
|
128
|
+
for (const arg of result) {
|
|
129
|
+
const value = arg.replace(/^(?:--config=|-c)/, '').trim();
|
|
130
|
+
const key = value.split('=', 1)[0].replace(/["'\s]/g, '');
|
|
131
|
+
if (/^(?:hooks(?:\.|$)|features(?:\.hooks)?$|mcp_servers(?:\.wisdom(?:\.|$)|$))/.test(key)
|
|
132
|
+
|| value === 'hooks' || value === '--disable=hooks') {
|
|
133
|
+
throw new Error('Codex arguments cannot override Wisdom hooks or its MCP server.');
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
return result;
|
|
137
|
+
}
|
|
138
|
+
/** node_repl (shipped with the Codex desktop app) can run shell commands and patches
|
|
139
|
+
* inside one MCP call, so hooks see only that outer call. Best-effort config check.
|
|
140
|
+
*/
|
|
141
|
+
export function nodeReplEnabled(configText, overrides) {
|
|
142
|
+
if (overrides.some(arg => /mcp_servers\.node_repl\.enabled\s*=\s*false/.test(arg)))
|
|
143
|
+
return false;
|
|
144
|
+
const section = /^\[mcp_servers\.node_repl\]\s*$([\s\S]*?)(?=^\[(?!mcp_servers\.node_repl[.\]])|(?![\s\S]))/m.exec(configText);
|
|
145
|
+
return !!section && !/^\s*enabled\s*=\s*false\b/m.test(section[1]);
|
|
146
|
+
}
|
|
147
|
+
export const trustAllWarning = 'WARNING: --trust-all-hooks runs every enabled Codex hook without review for this session, '
|
|
148
|
+
+ "including your global hooks and this project's .codex hooks, not only Wisdom's. Use it only in repositories you trust.";
|
|
149
|
+
/** Codex with its home in Wisdom's folder, or, in a connected project, with the person's own
|
|
150
|
+
* home, where the project's hooks record it. Either way its hooks must be trusted first.
|
|
151
|
+
*/
|
|
152
|
+
export async function launchCodex(options) {
|
|
153
|
+
const name = options.command ?? 'codex';
|
|
154
|
+
let program, version;
|
|
155
|
+
try {
|
|
156
|
+
program = resolveCommand(name);
|
|
157
|
+
version = execFileSync(program.command, [...program.args, '--version'], { encoding: 'utf8', windowsHide: true, stdio: ['ignore', 'pipe', 'pipe'] }).trim();
|
|
158
|
+
}
|
|
159
|
+
catch {
|
|
160
|
+
throw new Error(`Cannot run Codex (${name}). Install it or pass --codex-bin.`);
|
|
161
|
+
}
|
|
162
|
+
const { command } = program;
|
|
163
|
+
const match = /codex-cli (\d+)\.(\d+)\.(\d+)/.exec(version);
|
|
164
|
+
if (!match || Number(match[1]) === 0 && Number(match[2]) < 164)
|
|
165
|
+
throw new Error('Codex CLI 0.164.0 or newer is required.');
|
|
166
|
+
const own = options.place === 'project';
|
|
167
|
+
if (own && options.setupHooks)
|
|
168
|
+
throw new Error('--setup-hooks reviews hooks in Wisdom\'s Codex home; in a connected project, review them in /hooks in codex itself');
|
|
169
|
+
// Tracked, Codex keeps its sessions, login, hooks and hook trust in Wisdom's folder, not in
|
|
170
|
+
// ~/.codex. Connected, it keeps its own home; `wisdom connect` wrote the project's hooks.
|
|
171
|
+
const installed = own ? { home: userHome('codex'), command: hookCommand('codex', options.dataDir, true) } : installCodex(options.dataDir);
|
|
172
|
+
const env = own ? {} : { CODEX_HOME: installed.home };
|
|
173
|
+
const overrides = inspectionArgs(options.args);
|
|
174
|
+
if (options.setupHooks) {
|
|
175
|
+
if (options.args.length)
|
|
176
|
+
throw new Error('--setup-hooks does not accept Codex arguments');
|
|
177
|
+
if (options.trustAllHooks)
|
|
178
|
+
throw new Error('--setup-hooks and --trust-all-hooks are alternatives; choose one');
|
|
179
|
+
return { command, env, args: [...program.args, '-C', options.cwd], setupOnly: true };
|
|
180
|
+
}
|
|
181
|
+
requireTrustedHooks(await inspectHooks(program, overrides, options.cwd, { ...process.env, ...env }), installed.command, options.trustAllHooks, options.place);
|
|
182
|
+
if (options.trustAllHooks)
|
|
183
|
+
console.error(trustAllWarning);
|
|
184
|
+
const configFile = path.join(installed.home, 'config.toml');
|
|
185
|
+
if (nodeReplEnabled(fs.existsSync(configFile) ? fs.readFileSync(configFile, 'utf8') : '', overrides)) {
|
|
186
|
+
console.error('Note: the node_repl MCP server is enabled. Commands it runs inside one call are invisible to hooks; '
|
|
187
|
+
+ 'Wisdom still records their file changes. Add -- -c mcp_servers.node_repl.enabled=false to see each command.');
|
|
188
|
+
}
|
|
189
|
+
const mcp = ['-c', `mcp_servers.wisdom.command=${JSON.stringify(process.execPath)}`, '-c',
|
|
190
|
+
`mcp_servers.wisdom.args=${JSON.stringify([options.cliPath, 'mcp', '--data', options.dataDir])}`];
|
|
191
|
+
return { command, env, args: [...program.args, '-C', options.cwd, ...mcp,
|
|
192
|
+
...(options.trustAllHooks ? ['--dangerously-bypass-hook-trust'] : []), ...options.args] };
|
|
193
|
+
}
|
|
194
|
+
//# sourceMappingURL=launch.js.map
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import os from 'node:os';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
import { harnessHome, wisdomHomeData } from '../paths.js';
|
|
4
|
+
import { pi } from './pi/adapter.js';
|
|
5
|
+
import { claudeCode } from './claude-code/adapter.js';
|
|
6
|
+
import { codex } from './codex/adapter.js';
|
|
7
|
+
export const harnesses = { pi, 'claude-code': claudeCode, codex };
|
|
8
|
+
export const harnessNames = Object.keys(harnesses);
|
|
9
|
+
export function adapter(name) {
|
|
10
|
+
const found = harnesses[name];
|
|
11
|
+
if (!found)
|
|
12
|
+
throw new Error(`Unknown harness: ${name}`);
|
|
13
|
+
return found;
|
|
14
|
+
}
|
|
15
|
+
/** The harness's home when a person runs it themselves: its variable, else its default
|
|
16
|
+
* folder. A Wisdom home in the variable is this process running inside a tracked session,
|
|
17
|
+
* not the person's own, so it is passed over.
|
|
18
|
+
*/
|
|
19
|
+
export function userHome(name) {
|
|
20
|
+
const { homeEnv, defaultHome } = adapter(name);
|
|
21
|
+
const set = process.env[homeEnv];
|
|
22
|
+
return set && !wisdomHomeData(name, set) ? path.resolve(set) : path.join(os.homedir(), ...defaultHome);
|
|
23
|
+
}
|
|
24
|
+
/** Where a session runs: in its harness's home in Wisdom's folder, or, when its transcript is
|
|
25
|
+
* kept anywhere else, in the person's own home, where a connected project records it.
|
|
26
|
+
*/
|
|
27
|
+
export function sessionPlace(dataDir, name, source) {
|
|
28
|
+
if (!source)
|
|
29
|
+
return 'home';
|
|
30
|
+
const relative = path.relative(harnessHome(dataDir, name), source);
|
|
31
|
+
return relative.startsWith('..') || path.isAbsolute(relative) ? 'project' : 'home';
|
|
32
|
+
}
|
|
33
|
+
/** The command a person types to continue a session directly: its folder, its home, its
|
|
34
|
+
* harness. Wisdom's home is what keeps a tracked session recording, so the command sets it;
|
|
35
|
+
* a connected session runs in the person's own home, so it is left alone.
|
|
36
|
+
*/
|
|
37
|
+
export function resumeCommands(dataDir, name, sessionId, cwd, source) {
|
|
38
|
+
const { homeEnv, resume } = adapter(name);
|
|
39
|
+
const folder = harnessHome(dataDir, name);
|
|
40
|
+
const command = resume(sessionId).join(' ');
|
|
41
|
+
const literal = (value, quote) => `'${value.replaceAll("'", quote)}'`;
|
|
42
|
+
const own = sessionPlace(dataDir, name, source) === 'project';
|
|
43
|
+
return {
|
|
44
|
+
powershell: `cd -LiteralPath ${literal(cwd, "''")}; ${own ? '' : `$env:${homeEnv} = ${literal(folder, "''")}; `}${command}`,
|
|
45
|
+
posix: `cd ${literal(cwd, "'\\''")} && ${own ? '' : `${homeEnv}=${literal(folder, "'\\''")} `}${command}`,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
/** Normalize one native line at read time, so adapter fixes apply to old captures. */
|
|
49
|
+
export function nativeMessage(name, raw, toolCallId) {
|
|
50
|
+
const { messages } = adapter(name).nativeEntry(JSON.parse(raw));
|
|
51
|
+
return (toolCallId ? messages.find(message => message.toolCallId === toolCallId) : undefined) ?? messages[0] ?? null;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import fs from 'node:fs';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
import { fileURLToPath } from 'node:url';
|
|
4
|
+
import { harnessHome } from '../paths.js';
|
|
5
|
+
import { writeJson } from '../ledger.js';
|
|
6
|
+
/** Find a harness the way the person's shell would. On Windows, Node starts only `.exe` and
|
|
7
|
+
* `.com` files by name, and refuses a `.cmd` without a shell (CVE-2024-27980), which would not
|
|
8
|
+
* escape arguments. npm, pnpm and yarn install a command as a `.cmd` shim, so the shim is
|
|
9
|
+
* followed to the program it starts: an `.exe` itself, a script with this Node. Elsewhere,
|
|
10
|
+
* and when nothing is found, the command is started as named.
|
|
11
|
+
*/
|
|
12
|
+
export function resolveCommand(name) {
|
|
13
|
+
if (process.platform !== 'win32')
|
|
14
|
+
return { command: name, args: [] };
|
|
15
|
+
const file = /[\\/]/.test(name) ? path.resolve(name) : onPath(name);
|
|
16
|
+
if (!file)
|
|
17
|
+
return { command: name, args: [] };
|
|
18
|
+
const extension = path.extname(file).toLowerCase();
|
|
19
|
+
if (['.cmd', '.bat'].includes(extension)) {
|
|
20
|
+
const target = shimTarget(file);
|
|
21
|
+
if (!target)
|
|
22
|
+
throw new Error(`${file} does not name the program it starts; pass that program's path instead.`);
|
|
23
|
+
return ['.exe', '.com'].includes(path.extname(target).toLowerCase()) ? { command: target, args: [] } : { command: process.execPath, args: [target] };
|
|
24
|
+
}
|
|
25
|
+
return ['.js', '.mjs', '.cjs'].includes(extension) ? { command: process.execPath, args: [file] } : { command: file, args: [] };
|
|
26
|
+
}
|
|
27
|
+
/** The first match on PATH, trying PATHEXT's runnable extensions in order, as cmd.exe does. */
|
|
28
|
+
function onPath(name) {
|
|
29
|
+
const runnable = ['.com', '.exe', '.bat', '.cmd'];
|
|
30
|
+
const extensions = path.extname(name) ? [''] : (process.env.PATHEXT ?? runnable.join(';')).toLowerCase().split(';').filter(ext => runnable.includes(ext));
|
|
31
|
+
for (const dir of (process.env.PATH ?? '').split(path.delimiter)) {
|
|
32
|
+
if (!dir)
|
|
33
|
+
continue;
|
|
34
|
+
for (const extension of extensions) {
|
|
35
|
+
const file = path.join(dir.replace(/^"(.*)"$/, '$1'), name + extension);
|
|
36
|
+
if (isFile(file))
|
|
37
|
+
return file;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return undefined;
|
|
41
|
+
}
|
|
42
|
+
/** The program a shim starts: its last quoted path that is a file. cmd-shim (npm, yarn) writes
|
|
43
|
+
* it as `"%dp0%\…"`, pnpm as `"%~dp0\…"`, both relative to the shim; other shims in full.
|
|
44
|
+
*/
|
|
45
|
+
function shimTarget(file) {
|
|
46
|
+
const dir = path.dirname(file);
|
|
47
|
+
return [...fs.readFileSync(file, 'utf8').matchAll(/"([^"]+)"/g)]
|
|
48
|
+
.map(match => match[1].replace(/^%~?dp0%?[\\/]?/i, dir + path.sep))
|
|
49
|
+
.filter(value => !value.includes('%')).map(value => path.resolve(dir, value)).filter(isFile).at(-1);
|
|
50
|
+
}
|
|
51
|
+
const isFile = (file) => { try {
|
|
52
|
+
return fs.statSync(file).isFile();
|
|
53
|
+
}
|
|
54
|
+
catch {
|
|
55
|
+
return false;
|
|
56
|
+
} };
|
|
57
|
+
/** `node "<integrations/<harness>/hook.mjs>" "<data folder>"`: the hook needs nothing else.
|
|
58
|
+
* The copy `wisdom connect` puts in a project's settings ends with `project`, so it can stand
|
|
59
|
+
* aside in a tracked session, whose home holds the same hook.
|
|
60
|
+
*/
|
|
61
|
+
export function hookCommand(harness, dataDir, project = false) {
|
|
62
|
+
const file = fileURLToPath(new URL(`../../../integrations/${harness}/hook.mjs`, import.meta.url)).replaceAll('\\', '/');
|
|
63
|
+
const data = path.resolve(dataDir).replaceAll('\\', '/');
|
|
64
|
+
if (/["\r\n]/.test(file + data))
|
|
65
|
+
throw new Error('Wisdom and its data folder cannot have quotes or newlines in their paths');
|
|
66
|
+
return `node "${file}" "${data}"${project ? ' project' : ''}`;
|
|
67
|
+
}
|
|
68
|
+
/** Where a harness's settings name Wisdom: in its home in Wisdom's folder (`wisdom init`), and
|
|
69
|
+
* in the project (`wisdom connect`), where its own login is used. Skills go under `<skills>/skills`.
|
|
70
|
+
*/
|
|
71
|
+
export const settingsFiles = {
|
|
72
|
+
home: { 'claude-code': 'settings.json', codex: 'hooks.json', pi: 'settings.json' },
|
|
73
|
+
project: {
|
|
74
|
+
'claude-code': { settings: path.join('.claude', 'settings.local.json'), skills: '.claude' },
|
|
75
|
+
codex: { settings: path.join('.codex', 'hooks.json'), skills: '.agents' },
|
|
76
|
+
pi: { settings: path.join('.pi', 'settings.json'), skills: '.agents' },
|
|
77
|
+
},
|
|
78
|
+
};
|
|
79
|
+
/** The settings file that names Wisdom for a harness, in its home or in the project. */
|
|
80
|
+
export function settingsFile(dataDir, harness, place) {
|
|
81
|
+
return place === 'home' ? path.join(harnessHome(dataDir, harness), settingsFiles.home[harness])
|
|
82
|
+
: path.join(path.dirname(path.resolve(dataDir)), settingsFiles.project[harness].settings);
|
|
83
|
+
}
|
|
84
|
+
/** A harness home, created on first use. */
|
|
85
|
+
export function home(dataDir, harness) {
|
|
86
|
+
const folder = harnessHome(dataDir, harness);
|
|
87
|
+
fs.mkdirSync(folder, { recursive: true });
|
|
88
|
+
return folder;
|
|
89
|
+
}
|
|
90
|
+
const shippedSkill = fileURLToPath(new URL('../../../skills/wisdom-ledger/', import.meta.url));
|
|
91
|
+
/** Copy the reading skill into a harness home, so any session there knows how to read
|
|
92
|
+
* recordings, however it was started. Wisdom owns this folder; each install replaces it.
|
|
93
|
+
*/
|
|
94
|
+
export function installSkill(folder) {
|
|
95
|
+
const target = path.join(folder, 'skills', 'wisdom-ledger');
|
|
96
|
+
fs.rmSync(target, { recursive: true, force: true });
|
|
97
|
+
fs.cpSync(shippedSkill, target, { recursive: true });
|
|
98
|
+
}
|
|
99
|
+
/** Take Wisdom's skill out of a folder's `skills`, leaving any other skill as it is. */
|
|
100
|
+
export function removeSkill(folder) {
|
|
101
|
+
fs.rmSync(path.join(folder, 'skills', 'wisdom-ledger'), { recursive: true, force: true });
|
|
102
|
+
for (const empty of [path.join(folder, 'skills'), folder])
|
|
103
|
+
try {
|
|
104
|
+
fs.rmdirSync(empty);
|
|
105
|
+
}
|
|
106
|
+
catch { /* not empty, or gone */ }
|
|
107
|
+
}
|
|
108
|
+
/** Whether a harness's home, or the project, holds this copy of Wisdom's skill. */
|
|
109
|
+
export function skillState(dataDir, harness, place = 'home') {
|
|
110
|
+
const read = (file) => { try {
|
|
111
|
+
return fs.readFileSync(file, 'utf8');
|
|
112
|
+
}
|
|
113
|
+
catch {
|
|
114
|
+
return undefined;
|
|
115
|
+
} };
|
|
116
|
+
const folder = place === 'home' ? harnessHome(dataDir, harness) : path.join(path.dirname(path.resolve(dataDir)), settingsFiles.project[harness].skills);
|
|
117
|
+
const installed = read(path.join(folder, 'skills', 'wisdom-ledger', 'SKILL.md'));
|
|
118
|
+
if (installed === undefined)
|
|
119
|
+
return 'missing';
|
|
120
|
+
return installed === read(path.join(shippedSkill, 'SKILL.md')) ? 'current' : 'outdated';
|
|
121
|
+
}
|
|
122
|
+
/** Read a harness's JSON settings, or none. */
|
|
123
|
+
export function readSettings(file) {
|
|
124
|
+
if (!fs.existsSync(file))
|
|
125
|
+
return {};
|
|
126
|
+
const value = JSON.parse(fs.readFileSync(file, 'utf8'));
|
|
127
|
+
if (!value || typeof value !== 'object' || Array.isArray(value))
|
|
128
|
+
throw new Error(`${file} is not a JSON object`);
|
|
129
|
+
return value;
|
|
130
|
+
}
|
|
131
|
+
/** Put Wisdom's hook under each event of a Claude-style `hooks` object, replacing an
|
|
132
|
+
* earlier Wisdom hook (a moved install) and keeping every other hook as it was.
|
|
133
|
+
*/
|
|
134
|
+
export function withHooks(hooks, events, command, entry, hook = () => ({})) {
|
|
135
|
+
const result = { ...hooks };
|
|
136
|
+
for (const event of events) {
|
|
137
|
+
result[event] = [...(result[event] ?? []).filter(item => !isWisdomHook(item)),
|
|
138
|
+
{ ...entry(event), hooks: [{ type: 'command', command, ...hook(event) }] }];
|
|
139
|
+
}
|
|
140
|
+
return result;
|
|
141
|
+
}
|
|
142
|
+
/** A Claude-style `hooks` object without Wisdom's hooks: an event left with none is dropped,
|
|
143
|
+
* and so is the whole object when nothing else remains. Every other hook stays as it was.
|
|
144
|
+
*/
|
|
145
|
+
export function withoutHooks(hooks) {
|
|
146
|
+
const result = {};
|
|
147
|
+
for (const [event, items] of Object.entries(hooks ?? {})) {
|
|
148
|
+
const kept = (Array.isArray(items) ? items : []).filter(item => !isWisdomHook(item));
|
|
149
|
+
if (kept.length)
|
|
150
|
+
result[event] = kept;
|
|
151
|
+
}
|
|
152
|
+
return Object.keys(result).length ? result : undefined;
|
|
153
|
+
}
|
|
154
|
+
const isWisdomHook = (item) => Array.isArray(item?.hooks) && item.hooks.some((h) => typeof h?.command === 'string'
|
|
155
|
+
&& /integrations\/(?:claude-code|codex)\/hook\.mjs/.test(h.command.replaceAll('\\', '/')));
|
|
156
|
+
export function saveSettings(file, value) {
|
|
157
|
+
fs.mkdirSync(path.dirname(file), { recursive: true });
|
|
158
|
+
writeJson(file, value);
|
|
159
|
+
}
|
|
160
|
+
/** Save settings that no longer name Wisdom; a file left empty is removed, and so is a folder
|
|
161
|
+
* it leaves empty, since Wisdom made them.
|
|
162
|
+
*/
|
|
163
|
+
export function saveOrRemoveSettings(file, value) {
|
|
164
|
+
if (Object.keys(value).length) {
|
|
165
|
+
saveSettings(file, value);
|
|
166
|
+
return;
|
|
167
|
+
}
|
|
168
|
+
fs.rmSync(file, { force: true });
|
|
169
|
+
try {
|
|
170
|
+
fs.rmdirSync(path.dirname(file));
|
|
171
|
+
}
|
|
172
|
+
catch { /* not empty */ }
|
|
173
|
+
}
|
|
174
|
+
/** Harnesses whose home or project settings point at a Wisdom build that is no longer there (the
|
|
175
|
+
* install moved). Their hooks cannot run, so only the session files can be read until init repairs them.
|
|
176
|
+
*/
|
|
177
|
+
export function staleHooks(dataDir) {
|
|
178
|
+
return ['claude-code', 'codex', 'pi'].filter(harness => ['home', 'project']
|
|
179
|
+
.some(place => hookFiles(dataDir, harness, place).some(file => !fs.existsSync(file))));
|
|
180
|
+
}
|
|
181
|
+
/** How one harness's home, or the project, is connected to this copy of Wisdom. `other` means
|
|
182
|
+
* its hooks run a different copy, such as one left under a previous Node version.
|
|
183
|
+
*/
|
|
184
|
+
export function hookState(dataDir, harness, place = 'home') {
|
|
185
|
+
const files = hookFiles(dataDir, harness, place);
|
|
186
|
+
if (!files.length)
|
|
187
|
+
return 'none';
|
|
188
|
+
if (files.some(file => !fs.existsSync(file)))
|
|
189
|
+
return 'stale';
|
|
190
|
+
const expected = harness === 'pi' ? new URL('./pi/extension.js', import.meta.url) : new URL(`../../../integrations/${harness}/hook.mjs`, import.meta.url);
|
|
191
|
+
const same = (file) => path.relative(fileURLToPath(expected), file) === '';
|
|
192
|
+
return files.every(same) ? 'current' : 'other';
|
|
193
|
+
}
|
|
194
|
+
/** The Wisdom files a harness's settings name, in its home or in the project. */
|
|
195
|
+
function hookFiles(dataDir, harness, place) {
|
|
196
|
+
let settings;
|
|
197
|
+
try {
|
|
198
|
+
settings = readSettings(settingsFile(dataDir, harness, place));
|
|
199
|
+
}
|
|
200
|
+
catch {
|
|
201
|
+
return [];
|
|
202
|
+
}
|
|
203
|
+
if (harness === 'pi')
|
|
204
|
+
return (Array.isArray(settings.extensions) ? settings.extensions : [])
|
|
205
|
+
.filter((item) => typeof item === 'string' && /harnesses[\\/]pi[\\/]extension\.js$/.test(item));
|
|
206
|
+
const files = [];
|
|
207
|
+
for (const items of Object.values(settings.hooks ?? {})) {
|
|
208
|
+
for (const item of Array.isArray(items) ? items : [])
|
|
209
|
+
for (const hook of item?.hooks ?? []) {
|
|
210
|
+
const named = /"([^"]*integrations\/(?:claude-code|codex)\/hook\.mjs)"/.exec(String(hook?.command ?? ''))?.[1];
|
|
211
|
+
if (named)
|
|
212
|
+
files.push(named);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
return files;
|
|
216
|
+
}
|
|
217
|
+
//# sourceMappingURL=launch.js.map
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import path from 'node:path';
|
|
2
|
+
import { contentText, count, jsonlFiles } from '../types.js';
|
|
3
|
+
/** Pi's Usage is already additive (input excludes cache) and carries cost. It appears
|
|
4
|
+
* on assistant messages, standalone usage entries (cache warming) and compactions.
|
|
5
|
+
*/
|
|
6
|
+
function usage(entry) {
|
|
7
|
+
const raw = entry?.message?.role === 'assistant' ? entry.message.usage : entry?.usage;
|
|
8
|
+
if (!raw || typeof raw !== 'object' || typeof entry?.id !== 'string')
|
|
9
|
+
return [];
|
|
10
|
+
return [{ key: entry.id, scope: 'call', model: entry.message?.model ?? entry.model, provider: entry.message?.provider ?? entry.provider,
|
|
11
|
+
input: count(raw.input), cacheRead: count(raw.cacheRead), cacheWrite: count(raw.cacheWrite), output: count(raw.output),
|
|
12
|
+
reasoning: count(raw.reasoning), costUsd: typeof raw.cost?.total === 'number' ? raw.cost.total : undefined }];
|
|
13
|
+
}
|
|
14
|
+
// Pi's message blocks (text, thinking, toolCall) already match the neutral shape.
|
|
15
|
+
export const pi = {
|
|
16
|
+
name: 'pi',
|
|
17
|
+
homeEnv: 'PI_CODING_AGENT_DIR',
|
|
18
|
+
defaultHome: ['.pi', 'agent'],
|
|
19
|
+
resume: sessionId => ['pi', '--session', sessionId],
|
|
20
|
+
toolTarget: (_toolName, input) => typeof input?.path === 'string' ? input.path : undefined,
|
|
21
|
+
isDirectFileTool: toolName => ['read', 'edit', 'write'].includes(toolName),
|
|
22
|
+
toolView: toolName => ['edit', 'write'].includes(toolName) ? 'patch' : toolName === 'read' ? 'file' : 'full',
|
|
23
|
+
nativeSession: entry => entry?.type === 'session' && typeof entry.id === 'string' ? entry.id : undefined,
|
|
24
|
+
nativeCwd: entry => entry?.type === 'session' && typeof entry.cwd === 'string' ? entry.cwd : undefined,
|
|
25
|
+
nativeChanges: () => [],
|
|
26
|
+
isScriptStep: () => false,
|
|
27
|
+
// A fork's header is dated when it was made, before its copied lines' dates say otherwise.
|
|
28
|
+
nativeForkedFrom: () => undefined,
|
|
29
|
+
isNotice: () => false,
|
|
30
|
+
// The header's `version` is its file format. The extension reports Pi's own version.
|
|
31
|
+
nativeVersion: () => undefined,
|
|
32
|
+
nativePrompt: entry => entry?.type === 'message' && entry.message?.role === 'user'
|
|
33
|
+
? contentText(entry.message.content)?.trim() || undefined : undefined,
|
|
34
|
+
// sessions/<folder>/<time>_<session>.jsonl
|
|
35
|
+
sessionFiles: home => jsonlFiles(path.join(home, 'sessions'), 1),
|
|
36
|
+
// Only the header names the session and its folder.
|
|
37
|
+
cloneLine: (entry, { sessionId, move }) => entry?.type === 'session'
|
|
38
|
+
? { ...entry, id: sessionId, ...(typeof entry.cwd === 'string' ? { cwd: move(entry.cwd) } : {}) } : entry,
|
|
39
|
+
// sessions/--<the folder, \ / and : as ->--/<ISO time, : and . as ->_<session>.jsonl
|
|
40
|
+
sessionFile: (home, sessionId, cwd, now) => path.join(home, 'sessions', `--${cwd.replace(/[\\/:]/g, '-')}--`, `${now.toISOString().replace(/[:.]/g, '-')}_${sessionId}.jsonl`),
|
|
41
|
+
nativeEntry: entry => ({ id: entry?.id, parentId: entry?.parentId, timestamp: entry?.timestamp,
|
|
42
|
+
kind: String(entry?.type ?? 'unknown'), messages: entry?.message ? [entry.message] : [], usage: usage(entry) }),
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=adapter.js.map
|