@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,119 @@
|
|
|
1
|
+
import fs from 'node:fs';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
import { randomUUID } from 'node:crypto';
|
|
4
|
+
import { deliver, handoffFromEnv } from '../../client.js';
|
|
5
|
+
import { findDataDir, harnessHome } from '../../paths.js';
|
|
6
|
+
/** Wisdom's data folder: the one Pi's agent folder is in, when Pi is tracked; otherwise the
|
|
7
|
+
* project's, since only a connected project's settings load this extension, and Pi loads them
|
|
8
|
+
* when it starts in the project's folder.
|
|
9
|
+
*/
|
|
10
|
+
function dataFolder() {
|
|
11
|
+
const agentDir = process.env.PI_CODING_AGENT_DIR;
|
|
12
|
+
if (agentDir) {
|
|
13
|
+
const data = path.resolve(agentDir, '..', '..', '..');
|
|
14
|
+
if (path.resolve(harnessHome(data, 'pi')) === path.resolve(agentDir))
|
|
15
|
+
return data;
|
|
16
|
+
}
|
|
17
|
+
return findDataDir(process.cwd());
|
|
18
|
+
}
|
|
19
|
+
/** A tracked session in a connected project loads this extension twice: from its home and from
|
|
20
|
+
* the project. One registration records it.
|
|
21
|
+
*/
|
|
22
|
+
const loaded = Symbol.for('wisdom.pi.extension');
|
|
23
|
+
/** The version of the Pi that is running, from its own package. */
|
|
24
|
+
function piVersion() {
|
|
25
|
+
try {
|
|
26
|
+
for (let dir = path.dirname(fs.realpathSync(process.argv[1]));; dir = path.dirname(dir)) {
|
|
27
|
+
const file = path.join(dir, 'package.json');
|
|
28
|
+
if (fs.existsSync(file)) {
|
|
29
|
+
const { name, version } = JSON.parse(fs.readFileSync(file, 'utf8'));
|
|
30
|
+
if (/pi-coding-agent$/.test(name) && typeof version === 'string')
|
|
31
|
+
return version;
|
|
32
|
+
}
|
|
33
|
+
if (path.dirname(dir) === dir)
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
catch {
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
/** Loaded from the settings of Pi's home in Wisdom's folder, or of a connected project. Every event names its
|
|
42
|
+
* session, so /new, /fork, /clone and /resume reach the right record. It never blocks Pi:
|
|
43
|
+
* an event the daemon cannot take is kept in the spool.
|
|
44
|
+
*/
|
|
45
|
+
export default function wisdomTracking(pi) {
|
|
46
|
+
const dataDir = dataFolder();
|
|
47
|
+
if (!dataDir || globalThis[loaded])
|
|
48
|
+
return;
|
|
49
|
+
globalThis[loaded] = true;
|
|
50
|
+
let session;
|
|
51
|
+
let warning;
|
|
52
|
+
let queue = Promise.resolve();
|
|
53
|
+
const harnessVersion = piVersion();
|
|
54
|
+
const handoff = handoffFromEnv();
|
|
55
|
+
// Serial delivery preserves this extension's observation order. The tool_call
|
|
56
|
+
// handler awaits it, so the before-image exists before execution.
|
|
57
|
+
const send = (ctx, data) => {
|
|
58
|
+
const current = session;
|
|
59
|
+
const task = queue.then(async () => {
|
|
60
|
+
if (!current)
|
|
61
|
+
return;
|
|
62
|
+
const { spooled } = await deliver(dataDir, { harness: 'pi', harnessVersion, cwd: current.cwd, ...handoff,
|
|
63
|
+
observation: { observationId: randomUUID(), sessionId: current.sessionId, source: current.source, ...data } });
|
|
64
|
+
if (spooled && !warning) {
|
|
65
|
+
warning = `Wisdom is keeping events to record when its daemon is back (${spooled}).`;
|
|
66
|
+
ctx.ui?.setStatus('wisdom', 'Wisdom: keeping events');
|
|
67
|
+
ctx.ui?.notify(warning, 'warning');
|
|
68
|
+
}
|
|
69
|
+
else if (!spooled && warning) {
|
|
70
|
+
warning = undefined;
|
|
71
|
+
ctx.ui?.setStatus('wisdom', 'Wisdom recording');
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
queue = task.catch(error => { ctx.ui?.notify(`Wisdom could not record or keep an event: ${String(error)}`, 'error'); });
|
|
75
|
+
return queue;
|
|
76
|
+
};
|
|
77
|
+
pi.on('session_start', async (event, ctx) => {
|
|
78
|
+
session = { sessionId: ctx.sessionManager.getSessionId(), source: ctx.sessionManager.getSessionFile() ?? null, cwd: ctx.cwd };
|
|
79
|
+
ctx.ui?.setStatus('wisdom', 'Wisdom recording');
|
|
80
|
+
await send(ctx, { type: 'session_started', data: { sessionId: session.sessionId, source: session.source, origin: event?.reason } });
|
|
81
|
+
});
|
|
82
|
+
pi.on('input', async (event, ctx) => { await send(ctx, { type: 'input', data: event }); return { action: 'continue' }; });
|
|
83
|
+
pi.on('tool_call', async (event, ctx) => {
|
|
84
|
+
await send(ctx, { type: 'tool_started', toolCallId: event.toolCallId, toolName: event.toolName,
|
|
85
|
+
parentToolCallId: event.parentToolCallId, data: { input: event.input } });
|
|
86
|
+
});
|
|
87
|
+
const finished = new Set();
|
|
88
|
+
const result = async (event, ctx) => {
|
|
89
|
+
if (finished.has(event.toolCallId))
|
|
90
|
+
return;
|
|
91
|
+
finished.add(event.toolCallId);
|
|
92
|
+
await send(ctx, { type: 'tool_finished', toolCallId: event.toolCallId, toolName: event.toolName,
|
|
93
|
+
parentToolCallId: event.parentToolCallId, isError: event.isError,
|
|
94
|
+
data: event.result ?? { content: event.content, details: event.details, structuredContent: event.structuredContent } });
|
|
95
|
+
};
|
|
96
|
+
pi.on('tool_result', result);
|
|
97
|
+
// Blocked/validation-failed calls may skip tool_result. Preserve their execution
|
|
98
|
+
// outcome too, while avoiding duplicate normal completion records.
|
|
99
|
+
pi.on('tool_execution_end', result);
|
|
100
|
+
for (const eventName of ['agent_settled', 'session_tree', 'session_compact']) {
|
|
101
|
+
pi.on(eventName, async (event, ctx) => { await send(ctx, { type: eventName, data: eventName === 'agent_settled' ? undefined : event }); });
|
|
102
|
+
}
|
|
103
|
+
pi.on('message_end', async (event, ctx) => {
|
|
104
|
+
// Native session records supply persisted message bodies. Only keep fallback
|
|
105
|
+
// bodies when Pi persistence is disabled, rather than duplicating every message.
|
|
106
|
+
if (!ctx.sessionManager.getSessionFile())
|
|
107
|
+
await send(ctx, { type: 'message', data: event.message });
|
|
108
|
+
});
|
|
109
|
+
pi.on('session_shutdown', async (event, ctx) => {
|
|
110
|
+
await send(ctx, { type: 'session_ended', data: { reason: event?.reason } });
|
|
111
|
+
session = undefined;
|
|
112
|
+
finished.clear();
|
|
113
|
+
});
|
|
114
|
+
pi.registerCommand('wisdom-status', {
|
|
115
|
+
description: 'Show the session Wisdom is recording',
|
|
116
|
+
handler: async (_args, ctx) => ctx.ui.notify(warning ?? `Wisdom is recording session ${session?.sessionId ?? '(none yet)'}`, warning ? 'warning' : 'info')
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
//# sourceMappingURL=extension.js.map
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import fs from 'node:fs';
|
|
2
|
+
import os from 'node:os';
|
|
3
|
+
import path from 'node:path';
|
|
4
|
+
import { fileURLToPath } from 'node:url';
|
|
5
|
+
import { home, installSkill, readSettings, resolveCommand, saveOrRemoveSettings, saveSettings, settingsFile } from '../launch.js';
|
|
6
|
+
import { userHome } from '../index.js';
|
|
7
|
+
/** Reuse the user's Pi installation; do not install another agent. An entry script named with
|
|
8
|
+
* --pi-entry, else the release Pi's own installer made current, else `pi` on PATH (npm).
|
|
9
|
+
*/
|
|
10
|
+
export function piCommand(entry) {
|
|
11
|
+
if (entry)
|
|
12
|
+
return { command: process.execPath, args: [path.resolve(entry)] };
|
|
13
|
+
const root = path.join(os.homedir(), '.pi', 'agent', 'install');
|
|
14
|
+
let version;
|
|
15
|
+
try {
|
|
16
|
+
version = fs.readFileSync(path.join(root, 'current-version'), 'utf8').trim();
|
|
17
|
+
}
|
|
18
|
+
catch {
|
|
19
|
+
return resolveCommand('pi');
|
|
20
|
+
}
|
|
21
|
+
if (!/^[a-zA-Z0-9._-]+$/.test(version) || version === '..')
|
|
22
|
+
throw new Error('Invalid managed Pi version');
|
|
23
|
+
const pkg = path.join(root, 'releases', version, 'node_modules', '@earendil-works', 'pi-coding-agent');
|
|
24
|
+
const metadata = JSON.parse(fs.readFileSync(path.join(pkg, 'package.json'), 'utf8'));
|
|
25
|
+
return { command: process.execPath, args: [path.join(pkg, typeof metadata.bin === 'string' ? metadata.bin : metadata.bin.pi)] };
|
|
26
|
+
}
|
|
27
|
+
/** Pi's agent folder (PI_CODING_AGENT_DIR) in Wisdom's folder, with Wisdom's extension
|
|
28
|
+
* in its settings. Sessions, login and settings stay there; ~/.pi/agent is never touched.
|
|
29
|
+
*/
|
|
30
|
+
export function installPi(dataDir) {
|
|
31
|
+
const folder = home(dataDir, 'pi');
|
|
32
|
+
writeExtension(dataDir, 'home', true);
|
|
33
|
+
installSkill(folder);
|
|
34
|
+
return folder;
|
|
35
|
+
}
|
|
36
|
+
/** Wisdom's extension in the project's `.pi/settings.json` (verified on Pi 1.2.0: loaded once
|
|
37
|
+
* the project is trusted, when Pi starts in the project's folder). Pi uses the person's own
|
|
38
|
+
* agent folder and login. Returns the file.
|
|
39
|
+
*/
|
|
40
|
+
export function connectPi(dataDir) {
|
|
41
|
+
writeExtension(dataDir, 'project', true);
|
|
42
|
+
return settingsFile(dataDir, 'pi', 'project');
|
|
43
|
+
}
|
|
44
|
+
/** Take Wisdom's extension out of the project's `.pi/settings.json`, leaving everything else. */
|
|
45
|
+
export function disconnectPi(dataDir) {
|
|
46
|
+
writeExtension(dataDir, 'project', false);
|
|
47
|
+
}
|
|
48
|
+
/** Add Wisdom's extension to one Pi settings file, replacing an earlier copy, or remove it. */
|
|
49
|
+
function writeExtension(dataDir, place, add) {
|
|
50
|
+
const file = settingsFile(dataDir, 'pi', place);
|
|
51
|
+
const settings = readSettings(file);
|
|
52
|
+
const others = (Array.isArray(settings.extensions) ? settings.extensions : [])
|
|
53
|
+
.filter((item) => typeof item !== 'string' || !/harnesses[\\/]pi[\\/]extension\.js$/.test(item));
|
|
54
|
+
if (add) {
|
|
55
|
+
settings.extensions = [...others, fileURLToPath(new URL('./extension.js', import.meta.url))];
|
|
56
|
+
saveSettings(file, settings);
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
if (others.length)
|
|
60
|
+
settings.extensions = others;
|
|
61
|
+
else
|
|
62
|
+
delete settings.extensions;
|
|
63
|
+
saveOrRemoveSettings(file, settings);
|
|
64
|
+
}
|
|
65
|
+
/** Pi with its agent folder in Wisdom's folder, or, in a connected project, with the person's
|
|
66
|
+
* own, where the project's settings load Wisdom's extension.
|
|
67
|
+
*/
|
|
68
|
+
export function launchPi(options) {
|
|
69
|
+
const own = options.place === 'project';
|
|
70
|
+
const folder = own ? userHome('pi') : installPi(options.dataDir);
|
|
71
|
+
options.args.forEach((arg, i) => {
|
|
72
|
+
if (/^--session-dir(?:=|$)/.test(arg))
|
|
73
|
+
throw new Error('Wisdom chooses where Pi stores sessions; remove --session-dir.');
|
|
74
|
+
const value = arg === '--session' ? options.args[i + 1] : arg.startsWith('--session=') ? arg.slice(10) : undefined;
|
|
75
|
+
if (value && /[\\/]/.test(value) && path.relative(folder, path.resolve(value)).startsWith('..')) {
|
|
76
|
+
throw new Error('Resume a Wisdom session by its ID; a session file outside Wisdom cannot be tracked.');
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
const program = piCommand(options.entry);
|
|
80
|
+
return { command: program.command, env: own ? {} : { PI_CODING_AGENT_DIR: folder }, args: [...program.args, ...options.args] };
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=launch.js.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import fs from 'node:fs';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
export const count = (value) => typeof value === 'number' && Number.isFinite(value) && value > 0 ? value : 0;
|
|
4
|
+
/** A path inside `from` moved to the same place inside `to`; any other path unchanged.
|
|
5
|
+
* Windows paths compare without case.
|
|
6
|
+
*/
|
|
7
|
+
export function moveFolder(from, to) {
|
|
8
|
+
const key = (value) => process.platform === 'win32' ? value.toLowerCase() : value;
|
|
9
|
+
return folder => {
|
|
10
|
+
if (key(folder) === key(from))
|
|
11
|
+
return to;
|
|
12
|
+
const inside = [from + '\\', from + '/'].some(prefix => key(folder).startsWith(key(prefix)));
|
|
13
|
+
return inside ? to + folder.slice(from.length) : folder;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
/** `.jsonl` files `depth` folders below `dir` (0: in it), in name order. */
|
|
17
|
+
export function jsonlFiles(dir, depth) {
|
|
18
|
+
let entries;
|
|
19
|
+
try {
|
|
20
|
+
entries = fs.readdirSync(dir, { withFileTypes: true });
|
|
21
|
+
}
|
|
22
|
+
catch {
|
|
23
|
+
return [];
|
|
24
|
+
}
|
|
25
|
+
return entries.sort((a, b) => a.name.localeCompare(b.name)).flatMap(entry => {
|
|
26
|
+
const full = path.join(dir, entry.name);
|
|
27
|
+
if (depth > 0)
|
|
28
|
+
return entry.isDirectory() ? jsonlFiles(full, depth - 1) : [];
|
|
29
|
+
return entry.isFile() && entry.name.endsWith('.jsonl') ? [full] : [];
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
/** Text blocks of a message's content, joined; undefined when there are none. */
|
|
33
|
+
export function contentText(content) {
|
|
34
|
+
if (typeof content === 'string')
|
|
35
|
+
return content;
|
|
36
|
+
if (!Array.isArray(content))
|
|
37
|
+
return undefined;
|
|
38
|
+
const parts = content.filter((block) => ['text', 'input_text'].includes(block?.type) && typeof block.text === 'string')
|
|
39
|
+
.map((block) => block.text);
|
|
40
|
+
return parts.length ? parts.join('\n') : undefined;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
import fs from 'node:fs';
|
|
2
|
+
import path from 'node:path';
|
|
3
|
+
import { createHash, randomUUID } from 'node:crypto';
|
|
4
|
+
import { preview } from './schema.js';
|
|
5
|
+
import { adapter } from './harnesses/index.js';
|
|
6
|
+
export const hash = (bytes) => createHash('sha256').update(bytes).digest('hex');
|
|
7
|
+
export function writeJson(file, value) {
|
|
8
|
+
fs.writeFileSync(file + '.tmp', JSON.stringify(value, null, 2) + '\n');
|
|
9
|
+
fs.renameSync(file + '.tmp', file);
|
|
10
|
+
}
|
|
11
|
+
/** One capture's native mirror and payload files, backed by the shared database. */
|
|
12
|
+
export class Ledger {
|
|
13
|
+
dir;
|
|
14
|
+
manifest;
|
|
15
|
+
database;
|
|
16
|
+
recoveryGaps = [];
|
|
17
|
+
sourceOffset = 0;
|
|
18
|
+
sourceStopped = false;
|
|
19
|
+
sourceChecked = false;
|
|
20
|
+
sourceTurnId;
|
|
21
|
+
sourceModel;
|
|
22
|
+
gaps = new Set();
|
|
23
|
+
constructor(dir, manifest, database, create = false) {
|
|
24
|
+
this.dir = dir;
|
|
25
|
+
this.manifest = manifest;
|
|
26
|
+
this.database = database;
|
|
27
|
+
if (create) {
|
|
28
|
+
fs.mkdirSync(path.join(dir, 'payloads'), { recursive: true });
|
|
29
|
+
fs.writeFileSync(this.mirror, '', { flag: 'wx' });
|
|
30
|
+
this.saveManifest();
|
|
31
|
+
}
|
|
32
|
+
this.recoveryGaps.splice(0, this.recoveryGaps.length, ...this.database.recovery(manifest.captureId));
|
|
33
|
+
const row = this.database.sql.prepare(`SELECT coalesce(max(
|
|
34
|
+
coalesce(json_extract(body,'$.sourceOffset'),0) + coalesce(json_extract(body,'$.sourceLength'),0)),0) AS n
|
|
35
|
+
FROM records WHERE capture_id=?`).get(manifest.captureId);
|
|
36
|
+
this.sourceOffset = Number(row.n);
|
|
37
|
+
const mirror = this.mirror;
|
|
38
|
+
if (fs.existsSync(mirror) && fs.statSync(mirror).size !== this.sourceOffset) {
|
|
39
|
+
this.recoveryGaps.push('Native mirror byte count differs from indexed references; further mirroring stopped.');
|
|
40
|
+
this.sourceStopped = true;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
/** Byte copy of the harness's native transcript. */
|
|
44
|
+
get mirror() { return path.join(this.dir, 'native-session.jsonl'); }
|
|
45
|
+
saveManifest() { this.database.saveManifest(this.manifest); }
|
|
46
|
+
/** How far the native file has been read. Equals the copy's size until the harness
|
|
47
|
+
* rewrites its file; after that, copying goes on from the file's new end.
|
|
48
|
+
*/
|
|
49
|
+
get sourcePosition() { return this.sourceOffset + (this.manifest.sourceShift ?? 0); }
|
|
50
|
+
/** A native file is copied only if it is this harness's file for this session: it
|
|
51
|
+
* starts with a JSON object, and none of its first lines names another session. A
|
|
52
|
+
* damaged line further in is not a different file; it becomes its own gap when copied.
|
|
53
|
+
*/
|
|
54
|
+
checkSource(source) {
|
|
55
|
+
const fd = fs.openSync(source, 'r');
|
|
56
|
+
let text;
|
|
57
|
+
try {
|
|
58
|
+
const bytes = Buffer.alloc(Math.min(fs.fstatSync(fd).size, 1024 * 1024));
|
|
59
|
+
text = bytes.subarray(0, fs.readSync(fd, bytes, 0, bytes.length, 0)).toString('utf8');
|
|
60
|
+
}
|
|
61
|
+
finally {
|
|
62
|
+
fs.closeSync(fd);
|
|
63
|
+
}
|
|
64
|
+
const harness = adapter(this.manifest.harness);
|
|
65
|
+
const lines = text.split('\n').slice(0, -1).slice(0, 200);
|
|
66
|
+
for (const [index, line] of lines.entries()) {
|
|
67
|
+
let entry;
|
|
68
|
+
try {
|
|
69
|
+
entry = JSON.parse(line);
|
|
70
|
+
}
|
|
71
|
+
catch {
|
|
72
|
+
entry = undefined;
|
|
73
|
+
}
|
|
74
|
+
if (!entry || typeof entry !== 'object' || Array.isArray(entry)) {
|
|
75
|
+
if (index === 0)
|
|
76
|
+
return 'its first line is not a JSON object';
|
|
77
|
+
continue;
|
|
78
|
+
}
|
|
79
|
+
const session = harness.nativeSession(entry);
|
|
80
|
+
if (session && session !== this.manifest.sessionId)
|
|
81
|
+
return `line ${index + 1} belongs to session ${session}`;
|
|
82
|
+
}
|
|
83
|
+
return undefined;
|
|
84
|
+
}
|
|
85
|
+
listRecords() {
|
|
86
|
+
return this.database.records('capture_id=?', [this.manifest.captureId], 'ORDER BY seq');
|
|
87
|
+
}
|
|
88
|
+
findToolStart(toolCallId) {
|
|
89
|
+
return this.database.records("capture_id=? AND tool_call_id=? AND type='tool_started'", [this.manifest.captureId, toolCallId], 'ORDER BY seq LIMIT 1')[0];
|
|
90
|
+
}
|
|
91
|
+
hasObservation(id) {
|
|
92
|
+
return !!this.database.sql.prepare('SELECT 1 FROM records WHERE capture_id=? AND observation_id=?')
|
|
93
|
+
.get(this.manifest.captureId, id);
|
|
94
|
+
}
|
|
95
|
+
get lastSeq() { return this.database.lastSeq(this.manifest.captureId); }
|
|
96
|
+
append(fields) {
|
|
97
|
+
const record = { ...fields, schemaVersion: 1, captureId: this.manifest.captureId,
|
|
98
|
+
id: randomUUID(), seq: this.lastSeq + 1, observedAt: new Date().toISOString() };
|
|
99
|
+
this.database.append(record);
|
|
100
|
+
return record;
|
|
101
|
+
}
|
|
102
|
+
gap(kind, detail) {
|
|
103
|
+
const key = `${kind}:${detail}`;
|
|
104
|
+
if (this.gaps.has(key))
|
|
105
|
+
return;
|
|
106
|
+
this.gaps.add(key);
|
|
107
|
+
this.append({ type: 'gap', summary: key });
|
|
108
|
+
}
|
|
109
|
+
payload(value) {
|
|
110
|
+
const text = typeof value === 'string' ? value : JSON.stringify(value);
|
|
111
|
+
const name = hash(text);
|
|
112
|
+
const file = path.join(this.dir, 'payloads', name);
|
|
113
|
+
if (!fs.existsSync(file))
|
|
114
|
+
fs.writeFileSync(file, text);
|
|
115
|
+
return name;
|
|
116
|
+
}
|
|
117
|
+
readPayload(ref) {
|
|
118
|
+
if (!/^[a-f0-9]{64}$/.test(ref))
|
|
119
|
+
throw new Error('Invalid payload reference');
|
|
120
|
+
return fs.readFileSync(path.join(this.dir, 'payloads', ref), 'utf8');
|
|
121
|
+
}
|
|
122
|
+
readSource(record) {
|
|
123
|
+
if (record.sourceOffset === undefined || record.sourceLength === undefined)
|
|
124
|
+
return '';
|
|
125
|
+
const fd = fs.openSync(this.mirror, 'r');
|
|
126
|
+
try {
|
|
127
|
+
const bytes = Buffer.alloc(record.sourceLength);
|
|
128
|
+
fs.readSync(fd, bytes, 0, bytes.length, record.sourceOffset);
|
|
129
|
+
return bytes.toString('utf8');
|
|
130
|
+
}
|
|
131
|
+
finally {
|
|
132
|
+
fs.closeSync(fd);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
/** Lines of a found session's file that an older session wrote: they keep their bytes
|
|
136
|
+
* here, but its prompts are that session's turns.
|
|
137
|
+
*/
|
|
138
|
+
copiedEntries = new Set();
|
|
139
|
+
/** The harness moved this session's file (Claude Code does on entering a worktree).
|
|
140
|
+
* Copying goes on from the same position in the new file, after the usual check.
|
|
141
|
+
*/
|
|
142
|
+
moveSource(source) {
|
|
143
|
+
const from = this.manifest.source;
|
|
144
|
+
this.manifest.source = source;
|
|
145
|
+
this.sourceChecked = false;
|
|
146
|
+
this.saveManifest();
|
|
147
|
+
this.append({ type: 'source_moved', summary: `Native file moved from ${from} to ${source}; copying continues at byte ${this.sourcePosition}.` });
|
|
148
|
+
}
|
|
149
|
+
/** Preserve native bytes. No line parser that treats Unicode separators as newlines. */
|
|
150
|
+
/** Mirror new native lines. `stopBefore` leaves the first matching line (and all
|
|
151
|
+
* after it) for a later sync, so it is linked to evidence recorded in between.
|
|
152
|
+
* `prompts` records each typed prompt as an input first: only for lines no hook saw.
|
|
153
|
+
*/
|
|
154
|
+
syncSource(stopBefore, prompts = false) {
|
|
155
|
+
const source = this.manifest.source;
|
|
156
|
+
if (!source || !fs.existsSync(source) || this.sourceStopped)
|
|
157
|
+
return;
|
|
158
|
+
const size = fs.statSync(source).size;
|
|
159
|
+
const position = this.sourcePosition;
|
|
160
|
+
if (!size)
|
|
161
|
+
return;
|
|
162
|
+
if (!this.sourceChecked || size < position) {
|
|
163
|
+
const problem = this.checkSource(source);
|
|
164
|
+
if (problem) {
|
|
165
|
+
this.sourceStopped = true;
|
|
166
|
+
this.gap('source-incompatible', `Native file is not this ${this.manifest.harness} session (${problem}); copying stopped.`);
|
|
167
|
+
return;
|
|
168
|
+
}
|
|
169
|
+
this.sourceChecked = true;
|
|
170
|
+
}
|
|
171
|
+
if (size < position) {
|
|
172
|
+
// The harness rewrote its file. What it rewrote is not copied again; the copy keeps
|
|
173
|
+
// every byte read before, and lines added after the rewrite are copied as usual.
|
|
174
|
+
this.manifest.sourceShift = size - this.sourceOffset;
|
|
175
|
+
this.saveManifest();
|
|
176
|
+
this.gap('source-rewritten', `Native file shrank from ${position} to ${size} bytes; copying continues from its new end.`);
|
|
177
|
+
return;
|
|
178
|
+
}
|
|
179
|
+
if (size === position)
|
|
180
|
+
return;
|
|
181
|
+
const fd = fs.openSync(source, 'r');
|
|
182
|
+
try {
|
|
183
|
+
// Bound each poll; subsequent polls drain a large backlog. A native line
|
|
184
|
+
// larger than this bound is an explicit gap, not silent truncation.
|
|
185
|
+
const bytes = Buffer.alloc(Math.min(size - position, 32 * 1024 * 1024));
|
|
186
|
+
const count = fs.readSync(fd, bytes, 0, bytes.length, position);
|
|
187
|
+
let start = 0;
|
|
188
|
+
for (let end = bytes.subarray(0, count).indexOf(10); end >= 0; end = bytes.subarray(0, count).indexOf(10, start)) {
|
|
189
|
+
const line = bytes.subarray(start, end + 1);
|
|
190
|
+
if (stopBefore) {
|
|
191
|
+
let entry;
|
|
192
|
+
try {
|
|
193
|
+
entry = adapter(this.manifest.harness).nativeEntry(JSON.parse(line.toString('utf8')));
|
|
194
|
+
}
|
|
195
|
+
catch { /* recorded as a gap below */ }
|
|
196
|
+
if (entry && stopBefore(entry))
|
|
197
|
+
break;
|
|
198
|
+
}
|
|
199
|
+
fs.appendFileSync(this.mirror, line);
|
|
200
|
+
this.recordSourceLine(line, this.sourceOffset + start, prompts);
|
|
201
|
+
start = end + 1;
|
|
202
|
+
}
|
|
203
|
+
this.sourceOffset += start;
|
|
204
|
+
if (!start && count === 32 * 1024 * 1024)
|
|
205
|
+
this.gap('source-line-oversize', 'Native record exceeds 32 MiB.');
|
|
206
|
+
}
|
|
207
|
+
finally {
|
|
208
|
+
fs.closeSync(fd);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
/** One usage record per model response the transcript reports. Counted once per key
|
|
212
|
+
* in stats; lines from before this capture (resumed history) are marked, not dropped.
|
|
213
|
+
*/
|
|
214
|
+
recordUsage(entry, context) {
|
|
215
|
+
const { sourceModel, ...source } = context;
|
|
216
|
+
for (const usage of entry.usage ?? []) {
|
|
217
|
+
const model = usage.model ?? sourceModel;
|
|
218
|
+
const tokens = usage.input + usage.cacheRead + usage.cacheWrite + usage.output;
|
|
219
|
+
this.append({ type: 'usage', ...source, usageKey: usage.key, usageScope: usage.scope, model, provider: usage.provider,
|
|
220
|
+
beforeCapture: entry.timestamp && entry.timestamp < this.manifest.startedAt ? true : undefined,
|
|
221
|
+
usage: { input: usage.input, cacheRead: usage.cacheRead, cacheWrite: usage.cacheWrite, output: usage.output,
|
|
222
|
+
reasoning: usage.reasoning, costUsd: usage.costUsd },
|
|
223
|
+
summary: usage.scope === 'session-total' ? `usage: session cost $${usage.costUsd?.toFixed(4)}`
|
|
224
|
+
: `usage: ${model ?? 'model'} ${tokens} tokens (${usage.output} out)` });
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
recordSourceLine(line, offset, prompts = false) {
|
|
228
|
+
try {
|
|
229
|
+
const raw = JSON.parse(line.toString('utf8'));
|
|
230
|
+
const harness = adapter(this.manifest.harness);
|
|
231
|
+
const entry = harness.nativeEntry(raw);
|
|
232
|
+
if (entry.turnId)
|
|
233
|
+
this.sourceTurnId = entry.turnId;
|
|
234
|
+
if (entry.model)
|
|
235
|
+
this.sourceModel = entry.model;
|
|
236
|
+
const version = harness.nativeVersion(raw);
|
|
237
|
+
if (version && version !== this.manifest.harnessVersion) {
|
|
238
|
+
this.manifest.harnessVersion = version;
|
|
239
|
+
this.saveManifest();
|
|
240
|
+
}
|
|
241
|
+
const source = { sourceEntryId: entry.id ?? `byte:${offset}:${hash(line)}`, sourceParentId: entry.parentId, sourceTimestamp: entry.timestamp,
|
|
242
|
+
turnId: this.sourceTurnId, sourceOffset: offset, sourceLength: line.length };
|
|
243
|
+
// The prompt opens a turn before its own line is recorded, so that line belongs to it.
|
|
244
|
+
const prompt = prompts && !(entry.id && this.copiedEntries.has(entry.id)) ? harness.nativePrompt(raw) : undefined;
|
|
245
|
+
if (prompt)
|
|
246
|
+
this.append({ type: 'input', inputBasis: 'session-file', notice: harness.isNotice(prompt) || undefined, summary: preview(prompt), dataRef: this.payload({ text: prompt }),
|
|
247
|
+
turnId: this.sourceTurnId, sourceEntryId: source.sourceEntryId, sourceTimestamp: entry.timestamp });
|
|
248
|
+
if (!entry.messages.length)
|
|
249
|
+
this.append({ type: 'source_record', summary: preview(entry.kind), ...source });
|
|
250
|
+
this.recordUsage(entry, { ...source, sourceModel: this.sourceModel });
|
|
251
|
+
// One native line can hold several messages, such as parallel tool results.
|
|
252
|
+
for (const message of entry.messages) {
|
|
253
|
+
const content = message.content;
|
|
254
|
+
const text = typeof content === 'string' ? content : Array.isArray(content)
|
|
255
|
+
? content.filter((block) => block?.type === 'text').map((block) => block.text).join(' ') : entry.kind;
|
|
256
|
+
this.append({ type: 'source_record', summary: preview(text), role: message.role,
|
|
257
|
+
toolCallId: message.toolCallId, toolName: message.toolName, isError: message.isError, ...source });
|
|
258
|
+
// Assistant messages can contain several tool calls. Explicit IDs connect
|
|
259
|
+
// them to results; adjacency and parentId are not call/result correlation.
|
|
260
|
+
if (Array.isArray(content))
|
|
261
|
+
for (const block of content) {
|
|
262
|
+
if (block?.type === 'toolCall' && block.id)
|
|
263
|
+
this.append({ type: 'source_tool_call',
|
|
264
|
+
toolCallId: block.id, toolName: block.name, ...source,
|
|
265
|
+
summary: `${block.name}: ${preview(block.arguments)}` });
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
catch (error) {
|
|
270
|
+
if (error instanceof SyntaxError)
|
|
271
|
+
this.gap('malformed-native-record', `byte ${offset}`);
|
|
272
|
+
else
|
|
273
|
+
throw error;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
//# sourceMappingURL=ledger.js.map
|