@tyroneross/navgator 0.2.2 → 0.10.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/.claude-plugin/marketplace.json +24 -11
- package/.claude-plugin/plugin.json +16 -11
- package/.codex-plugin/plugin.json +30 -0
- package/AGENTS.md +468 -0
- package/CLAUDE.md +431 -28
- package/LICENSE +202 -21
- package/README.md +735 -53
- package/VERSIONING.md +62 -0
- package/agents/architecture-advisor.md +6 -2
- package/agents/architecture-investigator.md +166 -0
- package/agents/architecture-planner.md +163 -0
- package/agents/external-resolver.md +97 -0
- package/commands/feedback.md +37 -0
- package/commands/gator.md +48 -0
- package/commands/plan.md +28 -0
- package/commands/scan.md +20 -0
- package/dist/agent-output.d.ts +32 -0
- package/dist/agent-output.d.ts.map +1 -0
- package/dist/agent-output.js +238 -0
- package/dist/agent-output.js.map +1 -0
- package/dist/architecture-index.d.ts +190 -0
- package/dist/architecture-index.d.ts.map +1 -0
- package/dist/architecture-index.js +626 -0
- package/dist/architecture-index.js.map +1 -0
- package/dist/architecture-insights.d.ts +29 -0
- package/dist/architecture-insights.d.ts.map +1 -0
- package/dist/architecture-insights.js +213 -0
- package/dist/architecture-insights.js.map +1 -0
- package/dist/audit/index.d.ts +84 -0
- package/dist/audit/index.d.ts.map +1 -0
- package/dist/audit/index.js +511 -0
- package/dist/audit/index.js.map +1 -0
- package/dist/audit/oracles/common.d.ts +37 -0
- package/dist/audit/oracles/common.d.ts.map +1 -0
- package/dist/audit/oracles/common.js +129 -0
- package/dist/audit/oracles/common.js.map +1 -0
- package/dist/audit/oracles/cron.d.ts +10 -0
- package/dist/audit/oracles/cron.d.ts.map +1 -0
- package/dist/audit/oracles/cron.js +35 -0
- package/dist/audit/oracles/cron.js.map +1 -0
- package/dist/audit/oracles/imports-scip.d.ts +25 -0
- package/dist/audit/oracles/imports-scip.d.ts.map +1 -0
- package/dist/audit/oracles/imports-scip.js +98 -0
- package/dist/audit/oracles/imports-scip.js.map +1 -0
- package/dist/audit/oracles/index.d.ts +30 -0
- package/dist/audit/oracles/index.d.ts.map +1 -0
- package/dist/audit/oracles/index.js +100 -0
- package/dist/audit/oracles/index.js.map +1 -0
- package/dist/audit/oracles/npm.d.ts +11 -0
- package/dist/audit/oracles/npm.d.ts.map +1 -0
- package/dist/audit/oracles/npm.js +37 -0
- package/dist/audit/oracles/npm.js.map +1 -0
- package/dist/audit/oracles/prisma.d.ts +42 -0
- package/dist/audit/oracles/prisma.d.ts.map +1 -0
- package/dist/audit/oracles/prisma.js +162 -0
- package/dist/audit/oracles/prisma.js.map +1 -0
- package/dist/audit/oracles/queue.d.ts +22 -0
- package/dist/audit/oracles/queue.d.ts.map +1 -0
- package/dist/audit/oracles/queue.js +114 -0
- package/dist/audit/oracles/queue.js.map +1 -0
- package/dist/audit/sampler.d.ts +166 -0
- package/dist/audit/sampler.d.ts.map +1 -0
- package/dist/audit/sampler.js +452 -0
- package/dist/audit/sampler.js.map +1 -0
- package/dist/audit/self-test.d.ts +74 -0
- package/dist/audit/self-test.d.ts.map +1 -0
- package/dist/audit/self-test.js +254 -0
- package/dist/audit/self-test.js.map +1 -0
- package/dist/audit/spc.d.ts +92 -0
- package/dist/audit/spc.d.ts.map +1 -0
- package/dist/audit/spc.js +225 -0
- package/dist/audit/spc.js.map +1 -0
- package/dist/audit/verifiers.d.ts +85 -0
- package/dist/audit/verifiers.d.ts.map +1 -0
- package/dist/audit/verifiers.js +456 -0
- package/dist/audit/verifiers.js.map +1 -0
- package/dist/classify.d.ts +19 -0
- package/dist/classify.d.ts.map +1 -0
- package/dist/classify.js +124 -0
- package/dist/classify.js.map +1 -0
- package/dist/cli/commands/arch-diff.d.ts +15 -0
- package/dist/cli/commands/arch-diff.d.ts.map +1 -0
- package/dist/cli/commands/arch-diff.js +132 -0
- package/dist/cli/commands/arch-diff.js.map +1 -0
- package/dist/cli/commands/arch-index.d.ts +21 -0
- package/dist/cli/commands/arch-index.d.ts.map +1 -0
- package/dist/cli/commands/arch-index.js +96 -0
- package/dist/cli/commands/arch-index.js.map +1 -0
- package/dist/cli/commands/audit-report.d.ts +50 -0
- package/dist/cli/commands/audit-report.d.ts.map +1 -0
- package/dist/cli/commands/audit-report.js +315 -0
- package/dist/cli/commands/audit-report.js.map +1 -0
- package/dist/cli/commands/connections.d.ts +3 -0
- package/dist/cli/commands/connections.d.ts.map +1 -0
- package/dist/cli/commands/connections.js +128 -0
- package/dist/cli/commands/connections.js.map +1 -0
- package/dist/cli/commands/coverage.d.ts +30 -0
- package/dist/cli/commands/coverage.d.ts.map +1 -0
- package/dist/cli/commands/coverage.js +111 -0
- package/dist/cli/commands/coverage.js.map +1 -0
- package/dist/cli/commands/dead.d.ts +3 -0
- package/dist/cli/commands/dead.d.ts.map +1 -0
- package/dist/cli/commands/dead.js +82 -0
- package/dist/cli/commands/dead.js.map +1 -0
- package/dist/cli/commands/deep-map.d.ts +18 -0
- package/dist/cli/commands/deep-map.d.ts.map +1 -0
- package/dist/cli/commands/deep-map.js +582 -0
- package/dist/cli/commands/deep-map.js.map +1 -0
- package/dist/cli/commands/diagram.d.ts +3 -0
- package/dist/cli/commands/diagram.d.ts.map +1 -0
- package/dist/cli/commands/diagram.js +107 -0
- package/dist/cli/commands/diagram.js.map +1 -0
- package/dist/cli/commands/doctor.d.ts +67 -0
- package/dist/cli/commands/doctor.d.ts.map +1 -0
- package/dist/cli/commands/doctor.js +446 -0
- package/dist/cli/commands/doctor.js.map +1 -0
- package/dist/cli/commands/explore.d.ts +3 -0
- package/dist/cli/commands/explore.d.ts.map +1 -0
- package/dist/cli/commands/explore.js +51 -0
- package/dist/cli/commands/explore.js.map +1 -0
- package/dist/cli/commands/find.d.ts +3 -0
- package/dist/cli/commands/find.d.ts.map +1 -0
- package/dist/cli/commands/find.js +151 -0
- package/dist/cli/commands/find.js.map +1 -0
- package/dist/cli/commands/freshness.d.ts +20 -0
- package/dist/cli/commands/freshness.d.ts.map +1 -0
- package/dist/cli/commands/freshness.js +107 -0
- package/dist/cli/commands/freshness.js.map +1 -0
- package/dist/cli/commands/helpers.d.ts +12 -0
- package/dist/cli/commands/helpers.d.ts.map +1 -0
- package/dist/cli/commands/helpers.js +75 -0
- package/dist/cli/commands/helpers.js.map +1 -0
- package/dist/cli/commands/impact.d.ts +3 -0
- package/dist/cli/commands/impact.d.ts.map +1 -0
- package/dist/cli/commands/impact.js +175 -0
- package/dist/cli/commands/impact.js.map +1 -0
- package/dist/cli/commands/lessons.d.ts +6 -0
- package/dist/cli/commands/lessons.d.ts.map +1 -0
- package/dist/cli/commands/lessons.js +289 -0
- package/dist/cli/commands/lessons.js.map +1 -0
- package/dist/cli/commands/list.d.ts +3 -0
- package/dist/cli/commands/list.d.ts.map +1 -0
- package/dist/cli/commands/list.js +81 -0
- package/dist/cli/commands/list.js.map +1 -0
- package/dist/cli/commands/llm-map.d.ts +3 -0
- package/dist/cli/commands/llm-map.d.ts.map +1 -0
- package/dist/cli/commands/llm-map.js +124 -0
- package/dist/cli/commands/llm-map.js.map +1 -0
- package/dist/cli/commands/misc.d.ts +66 -0
- package/dist/cli/commands/misc.d.ts.map +1 -0
- package/dist/cli/commands/misc.js +630 -0
- package/dist/cli/commands/misc.js.map +1 -0
- package/dist/cli/commands/portfolio.d.ts +14 -0
- package/dist/cli/commands/portfolio.d.ts.map +1 -0
- package/dist/cli/commands/portfolio.js +147 -0
- package/dist/cli/commands/portfolio.js.map +1 -0
- package/dist/cli/commands/prompts.d.ts +3 -0
- package/dist/cli/commands/prompts.d.ts.map +1 -0
- package/dist/cli/commands/prompts.js +77 -0
- package/dist/cli/commands/prompts.js.map +1 -0
- package/dist/cli/commands/remote.d.ts +9 -0
- package/dist/cli/commands/remote.d.ts.map +1 -0
- package/dist/cli/commands/remote.js +130 -0
- package/dist/cli/commands/remote.js.map +1 -0
- package/dist/cli/commands/review.d.ts +3 -0
- package/dist/cli/commands/review.d.ts.map +1 -0
- package/dist/cli/commands/review.js +46 -0
- package/dist/cli/commands/review.js.map +1 -0
- package/dist/cli/commands/rules.d.ts +36 -0
- package/dist/cli/commands/rules.d.ts.map +1 -0
- package/dist/cli/commands/rules.js +133 -0
- package/dist/cli/commands/rules.js.map +1 -0
- package/dist/cli/commands/scan.d.ts +3 -0
- package/dist/cli/commands/scan.d.ts.map +1 -0
- package/dist/cli/commands/scan.js +232 -0
- package/dist/cli/commands/scan.js.map +1 -0
- package/dist/cli/commands/schema.d.ts +3 -0
- package/dist/cli/commands/schema.d.ts.map +1 -0
- package/dist/cli/commands/schema.js +129 -0
- package/dist/cli/commands/schema.js.map +1 -0
- package/dist/cli/commands/status.d.ts +3 -0
- package/dist/cli/commands/status.d.ts.map +1 -0
- package/dist/cli/commands/status.js +354 -0
- package/dist/cli/commands/status.js.map +1 -0
- package/dist/cli/commands/subgraph.d.ts +3 -0
- package/dist/cli/commands/subgraph.d.ts.map +1 -0
- package/dist/cli/commands/subgraph.js +57 -0
- package/dist/cli/commands/subgraph.js.map +1 -0
- package/dist/cli/commands/temporal.d.ts +3 -0
- package/dist/cli/commands/temporal.d.ts.map +1 -0
- package/dist/cli/commands/temporal.js +126 -0
- package/dist/cli/commands/temporal.js.map +1 -0
- package/dist/cli/commands/trace.d.ts +3 -0
- package/dist/cli/commands/trace.d.ts.map +1 -0
- package/dist/cli/commands/trace.js +70 -0
- package/dist/cli/commands/trace.js.map +1 -0
- package/dist/cli/exit-codes.d.ts +42 -0
- package/dist/cli/exit-codes.d.ts.map +1 -0
- package/dist/cli/exit-codes.js +41 -0
- package/dist/cli/exit-codes.js.map +1 -0
- package/dist/cli/index.js +149 -828
- package/dist/cli/index.js.map +1 -1
- package/dist/component-identity.d.ts +30 -0
- package/dist/component-identity.d.ts.map +1 -0
- package/dist/component-identity.js +61 -0
- package/dist/component-identity.js.map +1 -0
- package/dist/config.d.ts +27 -3
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +129 -19
- package/dist/config.js.map +1 -1
- package/dist/coverage.d.ts +37 -0
- package/dist/coverage.d.ts.map +1 -0
- package/dist/coverage.js +200 -0
- package/dist/coverage.js.map +1 -0
- package/dist/dashboard-session.d.ts +91 -0
- package/dist/dashboard-session.d.ts.map +1 -0
- package/dist/dashboard-session.js +136 -0
- package/dist/dashboard-session.js.map +1 -0
- package/dist/deep-map/escalate.d.ts +68 -0
- package/dist/deep-map/escalate.d.ts.map +1 -0
- package/dist/deep-map/escalate.js +289 -0
- package/dist/deep-map/escalate.js.map +1 -0
- package/dist/deep-map/filter.d.ts +72 -0
- package/dist/deep-map/filter.d.ts.map +1 -0
- package/dist/deep-map/filter.js +139 -0
- package/dist/deep-map/filter.js.map +1 -0
- package/dist/deep-map/ingest.d.ts +60 -0
- package/dist/deep-map/ingest.d.ts.map +1 -0
- package/dist/deep-map/ingest.js +319 -0
- package/dist/deep-map/ingest.js.map +1 -0
- package/dist/deep-map/load.d.ts +44 -0
- package/dist/deep-map/load.d.ts.map +1 -0
- package/dist/deep-map/load.js +111 -0
- package/dist/deep-map/load.js.map +1 -0
- package/dist/deep-map/packets.d.ts +52 -0
- package/dist/deep-map/packets.d.ts.map +1 -0
- package/dist/deep-map/packets.js +441 -0
- package/dist/deep-map/packets.js.map +1 -0
- package/dist/deep-map/partition.d.ts +81 -0
- package/dist/deep-map/partition.d.ts.map +1 -0
- package/dist/deep-map/partition.js +253 -0
- package/dist/deep-map/partition.js.map +1 -0
- package/dist/deep-map/report.d.ts +17 -0
- package/dist/deep-map/report.d.ts.map +1 -0
- package/dist/deep-map/report.js +67 -0
- package/dist/deep-map/report.js.map +1 -0
- package/dist/deep-map/store.d.ts +58 -0
- package/dist/deep-map/store.d.ts.map +1 -0
- package/dist/deep-map/store.js +238 -0
- package/dist/deep-map/store.js.map +1 -0
- package/dist/deep-map/types.d.ts +321 -0
- package/dist/deep-map/types.d.ts.map +1 -0
- package/dist/deep-map/types.js +63 -0
- package/dist/deep-map/types.js.map +1 -0
- package/dist/diagram.d.ts.map +1 -1
- package/dist/diagram.js +59 -1
- package/dist/diagram.js.map +1 -1
- package/dist/diff.d.ts +112 -0
- package/dist/diff.d.ts.map +1 -0
- package/dist/diff.js +551 -0
- package/dist/diff.js.map +1 -0
- package/dist/enrich/cache.d.ts +41 -0
- package/dist/enrich/cache.d.ts.map +1 -0
- package/dist/enrich/cache.js +97 -0
- package/dist/enrich/cache.js.map +1 -0
- package/dist/enrich/external-enrichment.types.d.ts +91 -0
- package/dist/enrich/external-enrichment.types.d.ts.map +1 -0
- package/dist/enrich/external-enrichment.types.js +38 -0
- package/dist/enrich/external-enrichment.types.js.map +1 -0
- package/dist/enrich/external-resolver.d.ts +95 -0
- package/dist/enrich/external-resolver.d.ts.map +1 -0
- package/dist/enrich/external-resolver.js +224 -0
- package/dist/enrich/external-resolver.js.map +1 -0
- package/dist/enrich/fetchers.d.ts +36 -0
- package/dist/enrich/fetchers.d.ts.map +1 -0
- package/dist/enrich/fetchers.js +111 -0
- package/dist/enrich/fetchers.js.map +1 -0
- package/dist/entry-points.d.ts +107 -0
- package/dist/entry-points.d.ts.map +1 -0
- package/dist/entry-points.js +394 -0
- package/dist/entry-points.js.map +1 -0
- package/dist/explore-report.d.ts +70 -0
- package/dist/explore-report.d.ts.map +1 -0
- package/dist/explore-report.js +141 -0
- package/dist/explore-report.js.map +1 -0
- package/dist/file-resolve.d.ts +35 -0
- package/dist/file-resolve.d.ts.map +1 -0
- package/dist/file-resolve.js +159 -0
- package/dist/file-resolve.js.map +1 -0
- package/dist/freshness/dirty-ledger.d.ts +35 -0
- package/dist/freshness/dirty-ledger.d.ts.map +1 -0
- package/dist/freshness/dirty-ledger.js +310 -0
- package/dist/freshness/dirty-ledger.js.map +1 -0
- package/dist/freshness/drainer.d.ts +63 -0
- package/dist/freshness/drainer.d.ts.map +1 -0
- package/dist/freshness/drainer.js +199 -0
- package/dist/freshness/drainer.js.map +1 -0
- package/dist/freshness/paths.d.ts +13 -0
- package/dist/freshness/paths.d.ts.map +1 -0
- package/dist/freshness/paths.js +35 -0
- package/dist/freshness/paths.js.map +1 -0
- package/dist/freshness/scan-lock.d.ts +8 -0
- package/dist/freshness/scan-lock.d.ts.map +1 -0
- package/dist/freshness/scan-lock.js +8 -0
- package/dist/freshness/scan-lock.js.map +1 -0
- package/dist/freshness/stamp.d.ts +25 -0
- package/dist/freshness/stamp.d.ts.map +1 -0
- package/dist/freshness/stamp.js +50 -0
- package/dist/freshness/stamp.js.map +1 -0
- package/dist/git-aware/canonical.d.ts +41 -0
- package/dist/git-aware/canonical.d.ts.map +1 -0
- package/dist/git-aware/canonical.js +111 -0
- package/dist/git-aware/canonical.js.map +1 -0
- package/dist/git-aware/paths.d.ts +7 -0
- package/dist/git-aware/paths.d.ts.map +1 -0
- package/dist/git-aware/paths.js +34 -0
- package/dist/git-aware/paths.js.map +1 -0
- package/dist/git-aware/premerge-diff.d.ts +32 -0
- package/dist/git-aware/premerge-diff.d.ts.map +1 -0
- package/dist/git-aware/premerge-diff.js +87 -0
- package/dist/git-aware/premerge-diff.js.map +1 -0
- package/dist/git-aware/refs.d.ts +32 -0
- package/dist/git-aware/refs.d.ts.map +1 -0
- package/dist/git-aware/refs.js +129 -0
- package/dist/git-aware/refs.js.map +1 -0
- package/dist/git.d.ts +26 -0
- package/dist/git.d.ts.map +1 -0
- package/dist/git.js +47 -0
- package/dist/git.js.map +1 -0
- package/dist/gitignore-safety.d.ts +41 -0
- package/dist/gitignore-safety.d.ts.map +1 -0
- package/dist/gitignore-safety.js +159 -0
- package/dist/gitignore-safety.js.map +1 -0
- package/dist/home-config.d.ts +60 -0
- package/dist/home-config.d.ts.map +1 -0
- package/dist/home-config.js +170 -0
- package/dist/home-config.js.map +1 -0
- package/dist/impact.d.ts +20 -0
- package/dist/impact.d.ts.map +1 -0
- package/dist/impact.js +89 -0
- package/dist/impact.js.map +1 -0
- package/dist/index.d.ts +41 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +56 -1
- package/dist/index.js.map +1 -1
- package/dist/lessons-store.d.ts +93 -0
- package/dist/lessons-store.d.ts.map +1 -0
- package/dist/lessons-store.js +265 -0
- package/dist/lessons-store.js.map +1 -0
- package/dist/llm-dedup.d.ts +46 -0
- package/dist/llm-dedup.d.ts.map +1 -0
- package/dist/llm-dedup.js +382 -0
- package/dist/llm-dedup.js.map +1 -0
- package/dist/mcp/server.d.ts +9 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +152 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/tools.d.ts +305 -0
- package/dist/mcp/tools.d.ts.map +1 -0
- package/dist/mcp/tools.js +853 -0
- package/dist/mcp/tools.js.map +1 -0
- package/dist/memory/health.d.ts +130 -0
- package/dist/memory/health.d.ts.map +1 -0
- package/dist/memory/health.js +366 -0
- package/dist/memory/health.js.map +1 -0
- package/dist/memory/mirror.d.ts +84 -0
- package/dist/memory/mirror.d.ts.map +1 -0
- package/dist/memory/mirror.js +377 -0
- package/dist/memory/mirror.js.map +1 -0
- package/dist/memory/store.d.ts +305 -0
- package/dist/memory/store.d.ts.map +1 -0
- package/dist/memory/store.js +820 -0
- package/dist/memory/store.js.map +1 -0
- package/dist/metrics/pagerank-louvain.d.ts +44 -0
- package/dist/metrics/pagerank-louvain.d.ts.map +1 -0
- package/dist/metrics/pagerank-louvain.js +128 -0
- package/dist/metrics/pagerank-louvain.js.map +1 -0
- package/dist/parsers/scip-runner.d.ts +63 -0
- package/dist/parsers/scip-runner.d.ts.map +1 -0
- package/dist/parsers/scip-runner.js +179 -0
- package/dist/parsers/scip-runner.js.map +1 -0
- package/dist/portfolio/cross-repo.d.ts +13 -0
- package/dist/portfolio/cross-repo.d.ts.map +1 -0
- package/dist/portfolio/cross-repo.js +169 -0
- package/dist/portfolio/cross-repo.js.map +1 -0
- package/dist/portfolio/discover.d.ts +11 -0
- package/dist/portfolio/discover.d.ts.map +1 -0
- package/dist/portfolio/discover.js +77 -0
- package/dist/portfolio/discover.js.map +1 -0
- package/dist/portfolio/scan.d.ts +86 -0
- package/dist/portfolio/scan.d.ts.map +1 -0
- package/dist/portfolio/scan.js +185 -0
- package/dist/portfolio/scan.js.map +1 -0
- package/dist/portfolio/types.d.ts +109 -0
- package/dist/portfolio/types.d.ts.map +1 -0
- package/dist/portfolio/types.js +10 -0
- package/dist/portfolio/types.js.map +1 -0
- package/dist/projects.d.ts +162 -0
- package/dist/projects.d.ts.map +1 -0
- package/dist/projects.js +579 -0
- package/dist/projects.js.map +1 -0
- package/dist/registry-journal.d.ts +199 -0
- package/dist/registry-journal.d.ts.map +1 -0
- package/dist/registry-journal.js +489 -0
- package/dist/registry-journal.js.map +1 -0
- package/dist/registry-lock.d.ts +113 -0
- package/dist/registry-lock.d.ts.map +1 -0
- package/dist/registry-lock.js +281 -0
- package/dist/registry-lock.js.map +1 -0
- package/dist/remote/clone.d.ts +46 -0
- package/dist/remote/clone.d.ts.map +1 -0
- package/dist/remote/clone.js +154 -0
- package/dist/remote/clone.js.map +1 -0
- package/dist/remote/github-url.d.ts +33 -0
- package/dist/remote/github-url.d.ts.map +1 -0
- package/dist/remote/github-url.js +109 -0
- package/dist/remote/github-url.js.map +1 -0
- package/dist/remote/scan-remote.d.ts +54 -0
- package/dist/remote/scan-remote.d.ts.map +1 -0
- package/dist/remote/scan-remote.js +114 -0
- package/dist/remote/scan-remote.js.map +1 -0
- package/dist/resolve.d.ts +25 -0
- package/dist/resolve.d.ts.map +1 -0
- package/dist/resolve.js +149 -0
- package/dist/resolve.js.map +1 -0
- package/dist/review-report.d.ts +50 -0
- package/dist/review-report.d.ts.map +1 -0
- package/dist/review-report.js +123 -0
- package/dist/review-report.js.map +1 -0
- package/dist/rules.d.ts +135 -0
- package/dist/rules.d.ts.map +1 -0
- package/dist/rules.js +640 -0
- package/dist/rules.js.map +1 -0
- package/dist/sandbox.d.ts +38 -0
- package/dist/sandbox.d.ts.map +1 -0
- package/dist/sandbox.js +96 -0
- package/dist/sandbox.js.map +1 -0
- package/dist/scan-lock.d.ts +73 -0
- package/dist/scan-lock.d.ts.map +1 -0
- package/dist/scan-lock.js +555 -0
- package/dist/scan-lock.js.map +1 -0
- package/dist/scanner.d.ts +212 -18
- package/dist/scanner.d.ts.map +1 -1
- package/dist/scanner.js +2493 -244
- package/dist/scanner.js.map +1 -1
- package/dist/scanners/connections/ast-scanner.d.ts +9 -2
- package/dist/scanners/connections/ast-scanner.d.ts.map +1 -1
- package/dist/scanners/connections/ast-scanner.js +19 -4
- package/dist/scanners/connections/ast-scanner.js.map +1 -1
- package/dist/scanners/connections/import-scanner.d.ts +37 -0
- package/dist/scanners/connections/import-scanner.d.ts.map +1 -0
- package/dist/scanners/connections/import-scanner.js +756 -0
- package/dist/scanners/connections/import-scanner.js.map +1 -0
- package/dist/scanners/connections/llm-call-tracer.d.ts +2 -2
- package/dist/scanners/connections/llm-call-tracer.d.ts.map +1 -1
- package/dist/scanners/connections/llm-call-tracer.js +280 -20
- package/dist/scanners/connections/llm-call-tracer.js.map +1 -1
- package/dist/scanners/connections/prisma-calls.d.ts +11 -0
- package/dist/scanners/connections/prisma-calls.d.ts.map +1 -0
- package/dist/scanners/connections/prisma-calls.js +237 -0
- package/dist/scanners/connections/prisma-calls.js.map +1 -0
- package/dist/scanners/connections/python-imports.d.ts +47 -0
- package/dist/scanners/connections/python-imports.d.ts.map +1 -0
- package/dist/scanners/connections/python-imports.js +309 -0
- package/dist/scanners/connections/python-imports.js.map +1 -0
- package/dist/scanners/connections/service-calls.d.ts +1 -1
- package/dist/scanners/connections/service-calls.d.ts.map +1 -1
- package/dist/scanners/connections/service-calls.js +35 -3
- package/dist/scanners/connections/service-calls.js.map +1 -1
- package/dist/scanners/content/markdown-scanner.d.ts +15 -0
- package/dist/scanners/content/markdown-scanner.d.ts.map +1 -0
- package/dist/scanners/content/markdown-scanner.js +347 -0
- package/dist/scanners/content/markdown-scanner.js.map +1 -0
- package/dist/scanners/infrastructure/cron-scanner.d.ts +14 -0
- package/dist/scanners/infrastructure/cron-scanner.d.ts.map +1 -0
- package/dist/scanners/infrastructure/cron-scanner.js +383 -0
- package/dist/scanners/infrastructure/cron-scanner.js.map +1 -0
- package/dist/scanners/infrastructure/deploy-scanner.d.ts +11 -0
- package/dist/scanners/infrastructure/deploy-scanner.d.ts.map +1 -0
- package/dist/scanners/infrastructure/deploy-scanner.js +508 -0
- package/dist/scanners/infrastructure/deploy-scanner.js.map +1 -0
- package/dist/scanners/infrastructure/env-scanner.d.ts +55 -0
- package/dist/scanners/infrastructure/env-scanner.d.ts.map +1 -0
- package/dist/scanners/infrastructure/env-scanner.js +431 -0
- package/dist/scanners/infrastructure/env-scanner.js.map +1 -0
- package/dist/scanners/infrastructure/field-usage-analyzer.d.ts +52 -0
- package/dist/scanners/infrastructure/field-usage-analyzer.d.ts.map +1 -0
- package/dist/scanners/infrastructure/field-usage-analyzer.js +480 -0
- package/dist/scanners/infrastructure/field-usage-analyzer.js.map +1 -0
- package/dist/scanners/infrastructure/prisma-parser.d.ts +23 -0
- package/dist/scanners/infrastructure/prisma-parser.d.ts.map +1 -0
- package/dist/scanners/infrastructure/prisma-parser.js +200 -0
- package/dist/scanners/infrastructure/prisma-parser.js.map +1 -0
- package/dist/scanners/infrastructure/prisma-scanner.d.ts +30 -0
- package/dist/scanners/infrastructure/prisma-scanner.d.ts.map +1 -0
- package/dist/scanners/infrastructure/prisma-scanner.js +329 -0
- package/dist/scanners/infrastructure/prisma-scanner.js.map +1 -0
- package/dist/scanners/infrastructure/queue-scanner.d.ts +14 -0
- package/dist/scanners/infrastructure/queue-scanner.d.ts.map +1 -0
- package/dist/scanners/infrastructure/queue-scanner.js +455 -0
- package/dist/scanners/infrastructure/queue-scanner.js.map +1 -0
- package/dist/scanners/infrastructure/typespec-validator.d.ts +50 -0
- package/dist/scanners/infrastructure/typespec-validator.d.ts.map +1 -0
- package/dist/scanners/infrastructure/typespec-validator.js +407 -0
- package/dist/scanners/infrastructure/typespec-validator.js.map +1 -0
- package/dist/scanners/packages/cargo.d.ts +14 -0
- package/dist/scanners/packages/cargo.d.ts.map +1 -0
- package/dist/scanners/packages/cargo.js +443 -0
- package/dist/scanners/packages/cargo.js.map +1 -0
- package/dist/scanners/packages/swift.d.ts +5 -0
- package/dist/scanners/packages/swift.d.ts.map +1 -1
- package/dist/scanners/packages/swift.js +43 -0
- package/dist/scanners/packages/swift.js.map +1 -1
- package/dist/scanners/prompts/detector.d.ts +13 -2
- package/dist/scanners/prompts/detector.d.ts.map +1 -1
- package/dist/scanners/prompts/detector.js +97 -46
- package/dist/scanners/prompts/detector.js.map +1 -1
- package/dist/scanners/prompts/index.d.ts +1 -1
- package/dist/scanners/prompts/index.d.ts.map +1 -1
- package/dist/scanners/prompts/index.js +2 -2
- package/dist/scanners/prompts/index.js.map +1 -1
- package/dist/scanners/rust/code-scanner.d.ts +17 -0
- package/dist/scanners/rust/code-scanner.d.ts.map +1 -0
- package/dist/scanners/rust/code-scanner.js +477 -0
- package/dist/scanners/rust/code-scanner.js.map +1 -0
- package/dist/scanners/scan-limits.d.ts +34 -0
- package/dist/scanners/scan-limits.d.ts.map +1 -0
- package/dist/scanners/scan-limits.js +107 -0
- package/dist/scanners/scan-limits.js.map +1 -0
- package/dist/scanners/swift/code-scanner.d.ts +16 -1
- package/dist/scanners/swift/code-scanner.d.ts.map +1 -1
- package/dist/scanners/swift/code-scanner.js +745 -40
- package/dist/scanners/swift/code-scanner.js.map +1 -1
- package/dist/scanners/swift/swiftui-scanner.d.ts +45 -0
- package/dist/scanners/swift/swiftui-scanner.d.ts.map +1 -0
- package/dist/scanners/swift/swiftui-scanner.js +624 -0
- package/dist/scanners/swift/swiftui-scanner.js.map +1 -0
- package/dist/scanners/xcode/pbxproj-parser.d.ts +32 -0
- package/dist/scanners/xcode/pbxproj-parser.d.ts.map +1 -0
- package/dist/scanners/xcode/pbxproj-parser.js +407 -0
- package/dist/scanners/xcode/pbxproj-parser.js.map +1 -0
- package/dist/scanners/xcode/storyboard-scanner.d.ts +13 -0
- package/dist/scanners/xcode/storyboard-scanner.d.ts.map +1 -0
- package/dist/scanners/xcode/storyboard-scanner.js +246 -0
- package/dist/scanners/xcode/storyboard-scanner.js.map +1 -0
- package/dist/setup.d.ts.map +1 -1
- package/dist/setup.js +16 -64
- package/dist/setup.js.map +1 -1
- package/dist/storage/markdown-view.d.ts +49 -0
- package/dist/storage/markdown-view.d.ts.map +1 -0
- package/dist/storage/markdown-view.js +233 -0
- package/dist/storage/markdown-view.js.map +1 -0
- package/dist/storage.d.ts +244 -9
- package/dist/storage.d.ts.map +1 -1
- package/dist/storage.js +1022 -87
- package/dist/storage.js.map +1 -1
- package/dist/subgraph.d.ts +30 -0
- package/dist/subgraph.d.ts.map +1 -0
- package/dist/subgraph.js +106 -0
- package/dist/subgraph.js.map +1 -0
- package/dist/temporal/git-store.d.ts +65 -0
- package/dist/temporal/git-store.d.ts.map +1 -0
- package/dist/temporal/git-store.js +166 -0
- package/dist/temporal/git-store.js.map +1 -0
- package/dist/trace.d.ts +39 -0
- package/dist/trace.d.ts.map +1 -0
- package/dist/trace.js +353 -0
- package/dist/trace.js.map +1 -0
- package/dist/types.d.ts +598 -6
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +53 -0
- package/dist/types.js.map +1 -1
- package/dist/vendor-paths.d.ts +30 -0
- package/dist/vendor-paths.d.ts.map +1 -0
- package/dist/vendor-paths.js +67 -0
- package/dist/vendor-paths.js.map +1 -0
- package/dist/version.d.ts +5 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +8 -0
- package/dist/version.js.map +1 -0
- package/hooks/hooks.json +1 -55
- package/hooks/mark-dirty.sh +20 -0
- package/hooks/post-bash-suggest.sh +30 -0
- package/hooks/post-edit-suggest.sh +29 -0
- package/hooks/pre-edit-warn.sh +28 -0
- package/hooks/session-start.sh +19 -0
- package/hooks/stop-suggest.sh +49 -0
- package/mcp-optin/README.md +67 -0
- package/mcp-optin/claude.mcp.json +8 -0
- package/mcp-optin/codex.mcp.json +9 -0
- package/package.json +47 -25
- package/scripts/install-codex-plugin.sh +756 -0
- package/scripts/install-plugin.sh +473 -64
- package/scripts/promote-lessons.py +385 -0
- package/skills/architecture-export/SKILL.md +83 -0
- package/skills/architecture-scan/SKILL.md +69 -0
- package/skills/code-review/SKILL.md +375 -0
- package/skills/impact-analysis/SKILL.md +78 -0
- package/skills/infrastructure-scanning/SKILL.md +44 -0
- package/skills/navgator-setup/SKILL.md +205 -0
- package/web/runtime/.next/BUILD_ID +1 -0
- package/web/runtime/.next/app-path-routes-manifest.json +18 -0
- package/web/runtime/.next/build-manifest.json +20 -0
- package/web/runtime/.next/prerender-manifest.json +85 -0
- package/web/runtime/.next/required-server-files.json +334 -0
- package/web/runtime/.next/routes-manifest.json +156 -0
- package/web/runtime/.next/server/app/_global-error/page/build-manifest.json +16 -0
- package/web/runtime/.next/server/app/_global-error/page.js +9 -0
- package/web/runtime/.next/server/app/_global-error/page.js.nft.json +1 -0
- package/web/runtime/.next/server/app/_global-error/page_client-reference-manifest.js +3 -0
- package/web/runtime/.next/server/app/_global-error.html +1 -0
- package/web/runtime/.next/server/app/_global-error.rsc +14 -0
- package/web/runtime/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +5 -0
- package/web/runtime/.next/server/app/_global-error.segments/_full.segment.rsc +14 -0
- package/web/runtime/.next/server/app/_global-error.segments/_head.segment.rsc +5 -0
- package/web/runtime/.next/server/app/_global-error.segments/_index.segment.rsc +5 -0
- package/web/runtime/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -0
- package/web/runtime/.next/server/app/_not-found/page/build-manifest.json +16 -0
- package/web/runtime/.next/server/app/_not-found/page/next-font-manifest.json +11 -0
- package/web/runtime/.next/server/app/_not-found/page.js +12 -0
- package/web/runtime/.next/server/app/_not-found/page.js.nft.json +1 -0
- package/web/runtime/.next/server/app/_not-found/page_client-reference-manifest.js +3 -0
- package/web/runtime/.next/server/app/_not-found.html +1 -0
- package/web/runtime/.next/server/app/_not-found.rsc +19 -0
- package/web/runtime/.next/server/app/_not-found.segments/_full.segment.rsc +19 -0
- package/web/runtime/.next/server/app/_not-found.segments/_head.segment.rsc +6 -0
- package/web/runtime/.next/server/app/_not-found.segments/_index.segment.rsc +8 -0
- package/web/runtime/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +5 -0
- package/web/runtime/.next/server/app/_not-found.segments/_not-found.segment.rsc +5 -0
- package/web/runtime/.next/server/app/_not-found.segments/_tree.segment.rsc +3 -0
- package/web/runtime/.next/server/app/api/components/route/build-manifest.json +9 -0
- package/web/runtime/.next/server/app/api/components/route.js +7 -0
- package/web/runtime/.next/server/app/api/components/route.js.nft.json +1 -0
- package/web/runtime/.next/server/app/api/components/route_client-reference-manifest.js +3 -0
- package/web/runtime/.next/server/app/api/connections/route/build-manifest.json +9 -0
- package/web/runtime/.next/server/app/api/connections/route.js +7 -0
- package/web/runtime/.next/server/app/api/connections/route.js.nft.json +1 -0
- package/web/runtime/.next/server/app/api/connections/route_client-reference-manifest.js +3 -0
- package/web/runtime/.next/server/app/api/coverage/route/app-paths-manifest.json +3 -0
- package/web/runtime/.next/server/app/api/coverage/route/build-manifest.json +9 -0
- package/web/runtime/.next/server/app/api/coverage/route.js +7 -0
- package/web/runtime/.next/server/app/api/coverage/route.js.nft.json +1 -0
- package/web/runtime/.next/server/app/api/coverage/route_client-reference-manifest.js +3 -0
- package/web/runtime/.next/server/app/api/graph/route/build-manifest.json +9 -0
- package/web/runtime/.next/server/app/api/graph/route.js +7 -0
- package/web/runtime/.next/server/app/api/graph/route.js.nft.json +1 -0
- package/web/runtime/.next/server/app/api/graph/route_client-reference-manifest.js +3 -0
- package/web/runtime/.next/server/app/api/projects/route/build-manifest.json +9 -0
- package/web/runtime/.next/server/app/api/projects/route.js +7 -0
- package/web/runtime/.next/server/app/api/projects/route.js.nft.json +1 -0
- package/web/runtime/.next/server/app/api/projects/route_client-reference-manifest.js +3 -0
- package/web/runtime/.next/server/app/api/prompts/route/build-manifest.json +9 -0
- package/web/runtime/.next/server/app/api/prompts/route.js +8 -0
- package/web/runtime/.next/server/app/api/prompts/route.js.nft.json +1 -0
- package/web/runtime/.next/server/app/api/prompts/route_client-reference-manifest.js +3 -0
- package/web/runtime/.next/server/app/api/registry-health/route/app-paths-manifest.json +3 -0
- package/web/runtime/.next/server/app/api/registry-health/route/build-manifest.json +9 -0
- package/web/runtime/.next/server/app/api/registry-health/route.js +6 -0
- package/web/runtime/.next/server/app/api/registry-health/route.js.nft.json +1 -0
- package/web/runtime/.next/server/app/api/registry-health/route_client-reference-manifest.js +3 -0
- package/web/runtime/.next/server/app/api/rules/route/app-paths-manifest.json +3 -0
- package/web/runtime/.next/server/app/api/rules/route/build-manifest.json +9 -0
- package/web/runtime/.next/server/app/api/rules/route.js +7 -0
- package/web/runtime/.next/server/app/api/rules/route.js.nft.json +1 -0
- package/web/runtime/.next/server/app/api/rules/route_client-reference-manifest.js +3 -0
- package/web/runtime/.next/server/app/api/scan/route/build-manifest.json +9 -0
- package/web/runtime/.next/server/app/api/scan/route.js +7 -0
- package/web/runtime/.next/server/app/api/scan/route.js.nft.json +1 -0
- package/web/runtime/.next/server/app/api/scan/route_client-reference-manifest.js +3 -0
- package/web/runtime/.next/server/app/api/settings/route/build-manifest.json +9 -0
- package/web/runtime/.next/server/app/api/settings/route/server-reference-manifest.json +4 -0
- package/web/runtime/.next/server/app/api/settings/route.js +7 -0
- package/web/runtime/.next/server/app/api/settings/route.js.map +5 -0
- package/web/runtime/.next/server/app/api/settings/route.js.nft.json +1 -0
- package/web/runtime/.next/server/app/api/settings/route_client-reference-manifest.js +3 -0
- package/web/runtime/.next/server/app/api/status/route/build-manifest.json +9 -0
- package/web/runtime/.next/server/app/api/status/route/server-reference-manifest.json +4 -0
- package/web/runtime/.next/server/app/api/status/route.js +7 -0
- package/web/runtime/.next/server/app/api/status/route.js.map +5 -0
- package/web/runtime/.next/server/app/api/status/route.js.nft.json +1 -0
- package/web/runtime/.next/server/app/api/status/route_client-reference-manifest.js +3 -0
- package/web/runtime/.next/server/app/api/subgraph/route/app-paths-manifest.json +3 -0
- package/web/runtime/.next/server/app/api/subgraph/route/build-manifest.json +9 -0
- package/web/runtime/.next/server/app/api/subgraph/route/server-reference-manifest.json +4 -0
- package/web/runtime/.next/server/app/api/subgraph/route.js +7 -0
- package/web/runtime/.next/server/app/api/subgraph/route.js.map +5 -0
- package/web/runtime/.next/server/app/api/subgraph/route.js.nft.json +1 -0
- package/web/runtime/.next/server/app/api/subgraph/route_client-reference-manifest.js +3 -0
- package/web/runtime/.next/server/app/api/trace/route/app-paths-manifest.json +3 -0
- package/web/runtime/.next/server/app/api/trace/route/build-manifest.json +9 -0
- package/web/runtime/.next/server/app/api/trace/route/server-reference-manifest.json +4 -0
- package/web/runtime/.next/server/app/api/trace/route.js +7 -0
- package/web/runtime/.next/server/app/api/trace/route.js.map +5 -0
- package/web/runtime/.next/server/app/api/trace/route.js.nft.json +1 -0
- package/web/runtime/.next/server/app/api/trace/route_client-reference-manifest.js +3 -0
- package/web/runtime/.next/server/app/index.html +1 -0
- package/web/runtime/.next/server/app/index.rsc +23 -0
- package/web/runtime/.next/server/app/index.segments/__PAGE__.segment.rsc +9 -0
- package/web/runtime/.next/server/app/index.segments/_full.segment.rsc +23 -0
- package/web/runtime/.next/server/app/index.segments/_head.segment.rsc +6 -0
- package/web/runtime/.next/server/app/index.segments/_index.segment.rsc +8 -0
- package/web/runtime/.next/server/app/index.segments/_tree.segment.rsc +5 -0
- package/web/runtime/.next/server/app/page/build-manifest.json +16 -0
- package/web/runtime/.next/server/app/page/next-font-manifest.json +11 -0
- package/web/runtime/.next/server/app/page/server-reference-manifest.json +4 -0
- package/web/runtime/.next/server/app/page.js +13 -0
- package/web/runtime/.next/server/app/page.js.map +5 -0
- package/web/runtime/.next/server/app/page.js.nft.json +1 -0
- package/web/runtime/.next/server/app/page_client-reference-manifest.js +3 -0
- package/web/runtime/.next/server/app-paths-manifest.json +18 -0
- package/web/runtime/.next/server/chunks/[externals]__05l4bet._.js +3 -0
- package/web/runtime/.next/server/chunks/[root-of-the-server]__056mgo_._.js +20 -0
- package/web/runtime/.next/server/chunks/[root-of-the-server]__0_k1tzx._.js +3 -0
- package/web/runtime/.next/server/chunks/[root-of-the-server]__0d-ts7d._.js +3 -0
- package/web/runtime/.next/server/chunks/[root-of-the-server]__0fo8n2u._.js +3 -0
- package/web/runtime/.next/server/chunks/[root-of-the-server]__0i-k0ag._.js +3 -0
- package/web/runtime/.next/server/chunks/[root-of-the-server]__0i3hbar._.js +3 -0
- package/web/runtime/.next/server/chunks/[root-of-the-server]__0uvvtqn._.js +3 -0
- package/web/runtime/.next/server/chunks/[root-of-the-server]__0xuaoik._.js +15 -0
- package/web/runtime/.next/server/chunks/[root-of-the-server]__10psfhb._.js +3 -0
- package/web/runtime/.next/server/chunks/[root-of-the-server]__12eq1it._.js +5 -0
- package/web/runtime/.next/server/chunks/[root-of-the-server]__14j842l._.js +3 -0
- package/web/runtime/.next/server/chunks/[root-of-the-server]__1a_7qvz._.js +3 -0
- package/web/runtime/.next/server/chunks/[root-of-the-server]__1k5hws0._.js +3 -0
- package/web/runtime/.next/server/chunks/[root-of-the-server]__1q2pd1s._.js +3 -0
- package/web/runtime/.next/server/chunks/[root-of-the-server]__1rcdz8m._.js +3 -0
- package/web/runtime/.next/server/chunks/[root-of-the-server]__1vxkow2._.js +3 -0
- package/web/runtime/.next/server/chunks/[turbopack]_runtime.js +903 -0
- package/web/runtime/.next/server/chunks/_next-internal_server_app_api_components_route_actions_1sc-nuu.js +3 -0
- package/web/runtime/.next/server/chunks/_next-internal_server_app_api_connections_route_actions_20wls3v.js +3 -0
- package/web/runtime/.next/server/chunks/_next-internal_server_app_api_coverage_route_actions_16f5ldo.js +3 -0
- package/web/runtime/.next/server/chunks/_next-internal_server_app_api_graph_route_actions_0jb26mw.js +3 -0
- package/web/runtime/.next/server/chunks/_next-internal_server_app_api_projects_route_actions_0h5ne2f.js +3 -0
- package/web/runtime/.next/server/chunks/_next-internal_server_app_api_prompts_route_actions_0pc_dbq.js +3 -0
- package/web/runtime/.next/server/chunks/_next-internal_server_app_api_registry-health_route_actions_13v9930.js +3 -0
- package/web/runtime/.next/server/chunks/_next-internal_server_app_api_rules_route_actions_1qjfstf.js +3 -0
- package/web/runtime/.next/server/chunks/_next-internal_server_app_api_scan_route_actions_0_k8ox1.js +3 -0
- package/web/runtime/.next/server/chunks/_next-internal_server_app_api_settings_route_actions_1bpm9ac.js +3 -0
- package/web/runtime/.next/server/chunks/_next-internal_server_app_api_status_route_actions_1qgdeto.js +3 -0
- package/web/runtime/.next/server/chunks/_next-internal_server_app_api_subgraph_route_actions_1zy-3xw.js +3 -0
- package/web/runtime/.next/server/chunks/_next-internal_server_app_api_trace_route_actions_09yhvhh.js +3 -0
- package/web/runtime/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_1cdz2zc.js +3 -0
- package/web/runtime/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_1h09hx7.js +19 -0
- package/web/runtime/.next/server/chunks/ssr/[root-of-the-server]__03o8wzg._.js +3 -0
- package/web/runtime/.next/server/chunks/ssr/[root-of-the-server]__0dmjl_-._.js +3 -0
- package/web/runtime/.next/server/chunks/ssr/[root-of-the-server]__0ln09ua._.js +3 -0
- package/web/runtime/.next/server/chunks/ssr/[root-of-the-server]__16duv6v._.js +3 -0
- package/web/runtime/.next/server/chunks/ssr/[root-of-the-server]__1dky4g0._.js +33 -0
- package/web/runtime/.next/server/chunks/ssr/[root-of-the-server]__1vhgpuw._.js +33 -0
- package/web/runtime/.next/server/chunks/ssr/[root-of-the-server]__1y5s__6._.js +3 -0
- package/web/runtime/.next/server/chunks/ssr/[turbopack]_runtime.js +903 -0
- package/web/runtime/.next/server/chunks/ssr/_1cfmrz7._.js +25 -0
- package/web/runtime/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_0zi5s8-.js +3 -0
- package/web/runtime/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_0pt47yr.js +3 -0
- package/web/runtime/.next/server/chunks/ssr/_next-internal_server_app_page_actions_0hhsz1j.js +3 -0
- package/web/runtime/.next/server/chunks/ssr/node_modules_0h91jdk._.js +33 -0
- package/web/runtime/.next/server/chunks/ssr/node_modules_@swc_helpers_cjs__interop_require_default_cjs_1ztp13a._.js +3 -0
- package/web/runtime/.next/server/chunks/ssr/node_modules_next_dist_18tu5cb._.js +6 -0
- package/web/runtime/.next/server/chunks/ssr/node_modules_next_dist_1_ziy9k._.js +21 -0
- package/web/runtime/.next/server/chunks/ssr/node_modules_next_dist_client_components_0wpq8j3._.js +3 -0
- package/web/runtime/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_forbidden_0symwr9.js +3 -0
- package/web/runtime/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_0-o-goa.js +3 -0
- package/web/runtime/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_0l_sp0x.js +3 -0
- package/web/runtime/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_12cvwrh.js +4 -0
- package/web/runtime/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_19--w_z.js +4 -0
- package/web/runtime/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_1nazowj.js +4 -0
- package/web/runtime/.next/server/functions-config-manifest.json +14 -0
- package/web/runtime/.next/server/middleware-build-manifest.js +20 -0
- package/web/runtime/.next/server/middleware.js +5 -0
- package/web/runtime/.next/server/next-font-manifest.js +1 -0
- package/web/runtime/.next/server/next-font-manifest.json +15 -0
- package/web/runtime/.next/server/pages/404.html +1 -0
- package/web/runtime/.next/server/pages/500.html +1 -0
- package/web/runtime/.next/server/prefetch-hints.json +1 -0
- package/web/runtime/.next/server/server-reference-manifest.js +1 -0
- package/web/runtime/.next/server/server-reference-manifest.json +5 -0
- package/web/runtime/.next/static/chunks/0lh3b_825aiwf.css +1 -0
- package/web/runtime/.next/static/chunks/16k9xgpx_hr16.js +23 -0
- package/web/runtime/.next/static/chunks/1d4h-sglyo8ft.js +1 -0
- package/web/runtime/.next/static/chunks/1htrq_0kw706i.js +5 -0
- package/web/runtime/.next/static/chunks/1i1m3-f_1qa77.js +1 -0
- package/web/runtime/.next/static/chunks/1upe53-127sm4.js +1 -0
- package/web/runtime/.next/static/chunks/25c-48-vms73p.css +2 -0
- package/web/runtime/.next/static/chunks/2nwqoerny79-z.js +31 -0
- package/web/runtime/.next/static/chunks/2q7rj7sdyymkj.js +1 -0
- package/web/runtime/.next/static/chunks/turbopack-1zsbqn2yjvkmq.js +1 -0
- package/web/runtime/.next/static/media/4fa387ec64143e14-s.2tuy5pz7dlieh.woff2 +0 -0
- package/web/runtime/.next/static/media/53b9e256198e5412-s.390ncx5urfkfu.woff2 +0 -0
- package/web/runtime/.next/static/media/5ce348bf30bf5439-s.31988l_ccedte.woff2 +0 -0
- package/web/runtime/.next/static/media/6306c77e7c8268e4-s.2dbetqa9o8jxf.woff2 +0 -0
- package/web/runtime/.next/static/media/7178b3e590c64307-s.21jp631_3pja2.woff2 +0 -0
- package/web/runtime/.next/static/media/797e433ab948586e-s.p.0r6juujl39pe6.woff2 +0 -0
- package/web/runtime/.next/static/media/7d817b4c03b0c5f1-s.1uyisp29ctx0d.woff2 +0 -0
- package/web/runtime/.next/static/media/8a480f0b521d4e75-s.1qq4vpdcun5oj.woff2 +0 -0
- package/web/runtime/.next/static/media/bbc41e54d2fcbd21-s.1rgnod-3esatf.woff2 +0 -0
- package/web/runtime/.next/static/media/caa3a2e1cccd8315-s.p.0wgildi0cnwt9.woff2 +0 -0
- package/web/runtime/.next/static/media/fef07dbb0973bf53-s.3p2_lha1f2xer.woff2 +0 -0
- package/web/runtime/.next/static/t3UvrbzeeDimLG5J5Co_p/_clientMiddlewareManifest.js +6 -0
- package/web/runtime/packages/@next/env/dist/index.js +1 -0
- package/web/runtime/packages/@next/env/package.json +35 -0
- package/web/runtime/packages/@swc/helpers/cjs/_interop_require_default.cjs +6 -0
- package/web/runtime/packages/@swc/helpers/cjs/_interop_require_wildcard.cjs +38 -0
- package/web/runtime/packages/@swc/helpers/package.json +471 -0
- package/web/runtime/packages/client-only/index.js +0 -0
- package/web/runtime/packages/client-only/package.json +19 -0
- package/web/runtime/packages/next/dist/build/adapter/setup-node-env.external.js +15 -0
- package/web/runtime/packages/next/dist/build/define-env.js +255 -0
- package/web/runtime/packages/next/dist/build/duration-to-string.js +99 -0
- package/web/runtime/packages/next/dist/build/get-supported-browsers.js +38 -0
- package/web/runtime/packages/next/dist/build/next-config-ts/require-hook.js +85 -0
- package/web/runtime/packages/next/dist/build/next-config-ts/transpile-config.js +140 -0
- package/web/runtime/packages/next/dist/build/output/format.js +84 -0
- package/web/runtime/packages/next/dist/build/output/log.js +135 -0
- package/web/runtime/packages/next/dist/build/segment-config/app/app-segment-config.js +162 -0
- package/web/runtime/packages/next/dist/build/segment-config/app/app-segments.js +137 -0
- package/web/runtime/packages/next/dist/build/segment-config/app/collect-root-param-keys.js +52 -0
- package/web/runtime/packages/next/dist/build/static-paths/app/extract-pathname-route-param-segments-from-loader-tree.js +137 -0
- package/web/runtime/packages/next/dist/build/static-paths/app.js +736 -0
- package/web/runtime/packages/next/dist/build/static-paths/pages.js +169 -0
- package/web/runtime/packages/next/dist/build/static-paths/utils.js +119 -0
- package/web/runtime/packages/next/dist/build/swc/helpers.js +15 -0
- package/web/runtime/packages/next/dist/build/swc/index.js +1348 -0
- package/web/runtime/packages/next/dist/build/swc/install-bindings.js +30 -0
- package/web/runtime/packages/next/dist/build/swc/jest-transformer.js +76 -0
- package/web/runtime/packages/next/dist/build/swc/loaderWorkerPool.js +40 -0
- package/web/runtime/packages/next/dist/build/swc/options.js +403 -0
- package/web/runtime/packages/next/dist/build/swc/types.js +6 -0
- package/web/runtime/packages/next/dist/build/utils.js +1216 -0
- package/web/runtime/packages/next/dist/cli/next-test.js +171 -0
- package/web/runtime/packages/next/dist/client/add-base-path.js +24 -0
- package/web/runtime/packages/next/dist/client/app-call-server.js +34 -0
- package/web/runtime/packages/next/dist/client/app-find-source-map-url.js +39 -0
- package/web/runtime/packages/next/dist/client/assign-location.js +29 -0
- package/web/runtime/packages/next/dist/client/components/app-router-announcer.js +78 -0
- package/web/runtime/packages/next/dist/client/components/app-router-headers.js +138 -0
- package/web/runtime/packages/next/dist/client/components/app-router-instance.js +397 -0
- package/web/runtime/packages/next/dist/client/components/app-router-utils.js +62 -0
- package/web/runtime/packages/next/dist/client/components/app-router.js +514 -0
- package/web/runtime/packages/next/dist/client/components/builtin/default.js +35 -0
- package/web/runtime/packages/next/dist/client/components/builtin/error-styles.js +165 -0
- package/web/runtime/packages/next/dist/client/components/builtin/global-error.js +100 -0
- package/web/runtime/packages/next/dist/client/components/dev-root-http-access-fallback-boundary.js +52 -0
- package/web/runtime/packages/next/dist/client/components/error-boundary.js +144 -0
- package/web/runtime/packages/next/dist/client/components/errors/graceful-degrade-boundary.js +86 -0
- package/web/runtime/packages/next/dist/client/components/errors/root-error-boundary.js +41 -0
- package/web/runtime/packages/next/dist/client/components/forbidden.js +48 -0
- package/web/runtime/packages/next/dist/client/components/handle-isr-error.js +30 -0
- package/web/runtime/packages/next/dist/client/components/hooks-server-context.js +42 -0
- package/web/runtime/packages/next/dist/client/components/http-access-fallback/error-boundary.js +125 -0
- package/web/runtime/packages/next/dist/client/components/http-access-fallback/http-access-fallback.js +72 -0
- package/web/runtime/packages/next/dist/client/components/is-next-router-error.js +23 -0
- package/web/runtime/packages/next/dist/client/components/links.js +299 -0
- package/web/runtime/packages/next/dist/client/components/match-segments.js +32 -0
- package/web/runtime/packages/next/dist/client/components/nav-failure-handler.js +61 -0
- package/web/runtime/packages/next/dist/client/components/navigation-devtools.js +126 -0
- package/web/runtime/packages/next/dist/client/components/navigation-untracked.js +67 -0
- package/web/runtime/packages/next/dist/client/components/navigation.js +225 -0
- package/web/runtime/packages/next/dist/client/components/navigation.react-server.js +75 -0
- package/web/runtime/packages/next/dist/client/components/not-found.js +42 -0
- package/web/runtime/packages/next/dist/client/components/readonly-url-search-params.js +41 -0
- package/web/runtime/packages/next/dist/client/components/redirect-boundary.js +107 -0
- package/web/runtime/packages/next/dist/client/components/redirect-error.js +43 -0
- package/web/runtime/packages/next/dist/client/components/redirect-status-code.js +24 -0
- package/web/runtime/packages/next/dist/client/components/redirect.js +91 -0
- package/web/runtime/packages/next/dist/client/components/router-reducer/compute-changed-path.js +201 -0
- package/web/runtime/packages/next/dist/client/components/router-reducer/create-href-from-url.js +21 -0
- package/web/runtime/packages/next/dist/client/components/router-reducer/create-initial-router-state.js +153 -0
- package/web/runtime/packages/next/dist/client/components/router-reducer/create-router-cache-key.js +32 -0
- package/web/runtime/packages/next/dist/client/components/router-reducer/fetch-server-response.js +457 -0
- package/web/runtime/packages/next/dist/client/components/router-reducer/is-navigating-to-new-root-layout.js +59 -0
- package/web/runtime/packages/next/dist/client/components/router-reducer/ppr-navigations.js +1341 -0
- package/web/runtime/packages/next/dist/client/components/router-reducer/reducers/committed-state.js +49 -0
- package/web/runtime/packages/next/dist/client/components/router-reducer/reducers/find-head-in-cache.js +63 -0
- package/web/runtime/packages/next/dist/client/components/router-reducer/reducers/has-interception-route-in-current-tree.js +38 -0
- package/web/runtime/packages/next/dist/client/components/router-reducer/reducers/hmr-refresh-reducer.js +23 -0
- package/web/runtime/packages/next/dist/client/components/router-reducer/reducers/navigate-reducer.js +56 -0
- package/web/runtime/packages/next/dist/client/components/router-reducer/reducers/refresh-reducer.js +83 -0
- package/web/runtime/packages/next/dist/client/components/router-reducer/reducers/restore-reducer.js +62 -0
- package/web/runtime/packages/next/dist/client/components/router-reducer/reducers/server-action-reducer.js +320 -0
- package/web/runtime/packages/next/dist/client/components/router-reducer/reducers/server-patch-reducer.js +58 -0
- package/web/runtime/packages/next/dist/client/components/router-reducer/router-reducer-types.js +70 -0
- package/web/runtime/packages/next/dist/client/components/router-reducer/router-reducer.js +66 -0
- package/web/runtime/packages/next/dist/client/components/router-reducer/set-cache-busting-search-param.js +66 -0
- package/web/runtime/packages/next/dist/client/components/segment-cache/bfcache.js +128 -0
- package/web/runtime/packages/next/dist/client/components/segment-cache/cache-key.js +28 -0
- package/web/runtime/packages/next/dist/client/components/segment-cache/cache-map.js +305 -0
- package/web/runtime/packages/next/dist/client/components/segment-cache/cache.js +1933 -0
- package/web/runtime/packages/next/dist/client/components/segment-cache/lru.js +152 -0
- package/web/runtime/packages/next/dist/client/components/segment-cache/navigation-testing-lock.js +194 -0
- package/web/runtime/packages/next/dist/client/components/segment-cache/navigation.js +597 -0
- package/web/runtime/packages/next/dist/client/components/segment-cache/optimistic-routes.js +543 -0
- package/web/runtime/packages/next/dist/client/components/segment-cache/prefetch.js +31 -0
- package/web/runtime/packages/next/dist/client/components/segment-cache/scheduler.js +1249 -0
- package/web/runtime/packages/next/dist/client/components/segment-cache/types.js +69 -0
- package/web/runtime/packages/next/dist/client/components/segment-cache/vary-path.js +278 -0
- package/web/runtime/packages/next/dist/client/components/static-generation-bailout.js +42 -0
- package/web/runtime/packages/next/dist/client/components/unauthorized.js +49 -0
- package/web/runtime/packages/next/dist/client/components/unrecognized-action-error.js +39 -0
- package/web/runtime/packages/next/dist/client/components/unresolved-thenable.js +23 -0
- package/web/runtime/packages/next/dist/client/components/unstable-rethrow.browser.js +28 -0
- package/web/runtime/packages/next/dist/client/components/unstable-rethrow.js +25 -0
- package/web/runtime/packages/next/dist/client/components/unstable-rethrow.server.js +32 -0
- package/web/runtime/packages/next/dist/client/components/use-action-queue.js +148 -0
- package/web/runtime/packages/next/dist/client/dev/debug-channel.js +172 -0
- package/web/runtime/packages/next/dist/client/flight-data-helpers.js +232 -0
- package/web/runtime/packages/next/dist/client/has-base-path.js +23 -0
- package/web/runtime/packages/next/dist/client/lib/console.js +177 -0
- package/web/runtime/packages/next/dist/client/lib/javascript-url.js +32 -0
- package/web/runtime/packages/next/dist/client/navigation-build-id.js +53 -0
- package/web/runtime/packages/next/dist/client/normalize-trailing-slash.js +36 -0
- package/web/runtime/packages/next/dist/client/remove-base-path.js +32 -0
- package/web/runtime/packages/next/dist/client/route-params.js +247 -0
- package/web/runtime/packages/next/dist/compiled/@edge-runtime/cookies/index.js +339 -0
- package/web/runtime/packages/next/dist/compiled/@edge-runtime/cookies/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/@edge-runtime/ponyfill/index.js +46 -0
- package/web/runtime/packages/next/dist/compiled/@edge-runtime/ponyfill/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/@edge-runtime/primitives/abort-controller.js.text.js +1 -0
- package/web/runtime/packages/next/dist/compiled/@edge-runtime/primitives/console.js.text.js +1 -0
- package/web/runtime/packages/next/dist/compiled/@edge-runtime/primitives/events.js.text.js +1 -0
- package/web/runtime/packages/next/dist/compiled/@edge-runtime/primitives/index.js +5 -0
- package/web/runtime/packages/next/dist/compiled/@edge-runtime/primitives/load.js +18713 -0
- package/web/runtime/packages/next/dist/compiled/@edge-runtime/primitives/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/@edge-runtime/primitives/stream.js +44 -0
- package/web/runtime/packages/next/dist/compiled/@edge-runtime/primitives/timers.js.text.js +1 -0
- package/web/runtime/packages/next/dist/compiled/@edge-runtime/primitives/url.js.text.js +1 -0
- package/web/runtime/packages/next/dist/compiled/@hapi/accept/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/@hapi/accept/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/@mswjs/interceptors/ClientRequest/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/@mswjs/interceptors/ClientRequest/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/@napi-rs/triples/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/@napi-rs/triples/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/@opentelemetry/api/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/@opentelemetry/api/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/async-retry/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/async-retry/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/async-sema/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/async-sema/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/busboy/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/busboy/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/bytes/index.js +8 -0
- package/web/runtime/packages/next/dist/compiled/bytes/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/ci-info/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/ci-info/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/commander/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/commander/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/comment-json/index.js +7 -0
- package/web/runtime/packages/next/dist/compiled/comment-json/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/compression/index.js +58 -0
- package/web/runtime/packages/next/dist/compiled/compression/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/conf/index.js +15 -0
- package/web/runtime/packages/next/dist/compiled/conf/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/content-disposition/index.js +6 -0
- package/web/runtime/packages/next/dist/compiled/content-disposition/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/cookie/index.js +7 -0
- package/web/runtime/packages/next/dist/compiled/cookie/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/cross-spawn/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/cross-spawn/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/debug/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/debug/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/edge-runtime/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/edge-runtime/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/find-up/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/find-up/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/fresh/index.js +8 -0
- package/web/runtime/packages/next/dist/compiled/fresh/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/http-proxy/index.js +34 -0
- package/web/runtime/packages/next/dist/compiled/http-proxy/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/image-detector/detector.js +1 -0
- package/web/runtime/packages/next/dist/compiled/image-size/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/image-size/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/ipaddr.js/ipaddr.js +1 -0
- package/web/runtime/packages/next/dist/compiled/ipaddr.js/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/is-animated/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/is-animated/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/is-docker/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/is-docker/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/is-wsl/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/is-wsl/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/jsonwebtoken/index.js +11 -0
- package/web/runtime/packages/next/dist/compiled/jsonwebtoken/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/nanoid/index.cjs +1 -0
- package/web/runtime/packages/next/dist/compiled/nanoid/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +55 -0
- package/web/runtime/packages/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +55 -0
- package/web/runtime/packages/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js +6 -0
- package/web/runtime/packages/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +20 -0
- package/web/runtime/packages/next/dist/compiled/p-limit/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/p-limit/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/p-queue/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/p-queue/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/path-browserify/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/path-browserify/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/path-to-regexp/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/path-to-regexp/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/picomatch/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/picomatch/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/react-is/cjs/react-is.development.js +133 -0
- package/web/runtime/packages/next/dist/compiled/react-is/cjs/react-is.production.js +130 -0
- package/web/runtime/packages/next/dist/compiled/react-is/index.js +7 -0
- package/web/runtime/packages/next/dist/compiled/react-is/package.json +26 -0
- package/web/runtime/packages/next/dist/compiled/regenerator-runtime/package.json +19 -0
- package/web/runtime/packages/next/dist/compiled/regenerator-runtime/runtime.js +729 -0
- package/web/runtime/packages/next/dist/compiled/semver/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/semver/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/send/index.js +70 -0
- package/web/runtime/packages/next/dist/compiled/send/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/source-map/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/source-map/source-map.js +1 -0
- package/web/runtime/packages/next/dist/compiled/stacktrace-parser/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js +1 -0
- package/web/runtime/packages/next/dist/compiled/string-hash/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/string-hash/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/strip-ansi/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/strip-ansi/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/superstruct/index.cjs +1 -0
- package/web/runtime/packages/next/dist/compiled/superstruct/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/tar/index.min.js +1 -0
- package/web/runtime/packages/next/dist/compiled/tar/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/text-table/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/text-table/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/watchpack/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/watchpack/watchpack.js +1 -0
- package/web/runtime/packages/next/dist/compiled/ws/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/ws/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/zod/index.cjs +1 -0
- package/web/runtime/packages/next/dist/compiled/zod/package.json +1 -0
- package/web/runtime/packages/next/dist/compiled/zod-validation-error/index.js +1 -0
- package/web/runtime/packages/next/dist/compiled/zod-validation-error/package.json +1 -0
- package/web/runtime/packages/next/dist/experimental/testmode/context.js +57 -0
- package/web/runtime/packages/next/dist/experimental/testmode/fetch.js +142 -0
- package/web/runtime/packages/next/dist/experimental/testmode/httpget.js +26 -0
- package/web/runtime/packages/next/dist/experimental/testmode/server-edge.js +32 -0
- package/web/runtime/packages/next/dist/experimental/testmode/server.js +62 -0
- package/web/runtime/packages/next/dist/export/helpers/create-incremental-cache.js +61 -0
- package/web/runtime/packages/next/dist/lib/batcher.js +65 -0
- package/web/runtime/packages/next/dist/lib/build-custom-route.js +46 -0
- package/web/runtime/packages/next/dist/lib/bundler.js +97 -0
- package/web/runtime/packages/next/dist/lib/client-and-server-references.js +54 -0
- package/web/runtime/packages/next/dist/lib/coalesced-function.js +39 -0
- package/web/runtime/packages/next/dist/lib/compile-error.js +14 -0
- package/web/runtime/packages/next/dist/lib/constants.js +420 -0
- package/web/runtime/packages/next/dist/lib/create-client-router-filter.js +67 -0
- package/web/runtime/packages/next/dist/lib/default-transpiled-packages.json +1 -0
- package/web/runtime/packages/next/dist/lib/detached-promise.js +32 -0
- package/web/runtime/packages/next/dist/lib/detect-typo.js +51 -0
- package/web/runtime/packages/next/dist/lib/download-swc.js +183 -0
- package/web/runtime/packages/next/dist/lib/error-telemetry-utils.js +42 -0
- package/web/runtime/packages/next/dist/lib/fallback.js +100 -0
- package/web/runtime/packages/next/dist/lib/fatal-error.js +14 -0
- package/web/runtime/packages/next/dist/lib/file-exists.js +53 -0
- package/web/runtime/packages/next/dist/lib/find-config.js +102 -0
- package/web/runtime/packages/next/dist/lib/find-pages-dir.js +65 -0
- package/web/runtime/packages/next/dist/lib/find-root.js +126 -0
- package/web/runtime/packages/next/dist/lib/format-cli-help-output.js +84 -0
- package/web/runtime/packages/next/dist/lib/format-dynamic-import-path.js +24 -0
- package/web/runtime/packages/next/dist/lib/format-server-error.js +75 -0
- package/web/runtime/packages/next/dist/lib/framework/boundary-components.js +62 -0
- package/web/runtime/packages/next/dist/lib/framework/boundary-constants.js +36 -0
- package/web/runtime/packages/next/dist/lib/fs/rename.js +87 -0
- package/web/runtime/packages/next/dist/lib/fs/write-atomic.js +28 -0
- package/web/runtime/packages/next/dist/lib/generate-interception-routes-rewrites.js +52 -0
- package/web/runtime/packages/next/dist/lib/get-files-in-dir.js +33 -0
- package/web/runtime/packages/next/dist/lib/get-network-host.js +44 -0
- package/web/runtime/packages/next/dist/lib/get-package-version.js +118 -0
- package/web/runtime/packages/next/dist/lib/get-project-dir.js +51 -0
- package/web/runtime/packages/next/dist/lib/has-necessary-dependencies.js +49 -0
- package/web/runtime/packages/next/dist/lib/helpers/get-cache-directory.js +66 -0
- package/web/runtime/packages/next/dist/lib/helpers/get-npx-command.js +29 -0
- package/web/runtime/packages/next/dist/lib/helpers/get-online.js +50 -0
- package/web/runtime/packages/next/dist/lib/helpers/get-pkg-manager.js +63 -0
- package/web/runtime/packages/next/dist/lib/helpers/get-registry.js +45 -0
- package/web/runtime/packages/next/dist/lib/helpers/get-reserved-port.js +116 -0
- package/web/runtime/packages/next/dist/lib/helpers/install.js +83 -0
- package/web/runtime/packages/next/dist/lib/import-next-warning.js +50 -0
- package/web/runtime/packages/next/dist/lib/inline-static-env.js +112 -0
- package/web/runtime/packages/next/dist/lib/install-dependencies.js +40 -0
- package/web/runtime/packages/next/dist/lib/interop-default.js +16 -0
- package/web/runtime/packages/next/dist/lib/is-api-route.js +15 -0
- package/web/runtime/packages/next/dist/lib/is-app-page-route.js +15 -0
- package/web/runtime/packages/next/dist/lib/is-app-route-route.js +15 -0
- package/web/runtime/packages/next/dist/lib/is-edge-runtime.js +16 -0
- package/web/runtime/packages/next/dist/lib/is-error.js +78 -0
- package/web/runtime/packages/next/dist/lib/is-interception-route-rewrite.js +18 -0
- package/web/runtime/packages/next/dist/lib/is-internal-component.js +36 -0
- package/web/runtime/packages/next/dist/lib/is-serializable-props.js +106 -0
- package/web/runtime/packages/next/dist/lib/known-edge-safe-packages.json +1 -0
- package/web/runtime/packages/next/dist/lib/load-custom-routes.js +594 -0
- package/web/runtime/packages/next/dist/lib/memory/gc-observer.js +53 -0
- package/web/runtime/packages/next/dist/lib/memory/shutdown.js +29 -0
- package/web/runtime/packages/next/dist/lib/memory/startup.js +47 -0
- package/web/runtime/packages/next/dist/lib/memory/trace.js +109 -0
- package/web/runtime/packages/next/dist/lib/metadata/constants.js +40 -0
- package/web/runtime/packages/next/dist/lib/metadata/default-metadata.js +82 -0
- package/web/runtime/packages/next/dist/lib/metadata/generate/icon-mark.js +22 -0
- package/web/runtime/packages/next/dist/lib/metadata/generate/utils.js +52 -0
- package/web/runtime/packages/next/dist/lib/metadata/get-metadata-route.js +123 -0
- package/web/runtime/packages/next/dist/lib/metadata/is-metadata-route.js +221 -0
- package/web/runtime/packages/next/dist/lib/metadata/metadata-context.js +18 -0
- package/web/runtime/packages/next/dist/lib/metadata/metadata.js +1686 -0
- package/web/runtime/packages/next/dist/lib/metadata/resolve-metadata.js +884 -0
- package/web/runtime/packages/next/dist/lib/metadata/resolvers/resolve-basics.js +232 -0
- package/web/runtime/packages/next/dist/lib/metadata/resolvers/resolve-icons.js +56 -0
- package/web/runtime/packages/next/dist/lib/metadata/resolvers/resolve-opengraph.js +199 -0
- package/web/runtime/packages/next/dist/lib/metadata/resolvers/resolve-title.js +40 -0
- package/web/runtime/packages/next/dist/lib/metadata/resolvers/resolve-url.js +135 -0
- package/web/runtime/packages/next/dist/lib/metadata/types/alternative-urls-types.js +7 -0
- package/web/runtime/packages/next/dist/lib/metadata/types/extra-types.js +9 -0
- package/web/runtime/packages/next/dist/lib/metadata/types/icons.js +6 -0
- package/web/runtime/packages/next/dist/lib/metadata/types/manifest-types.js +6 -0
- package/web/runtime/packages/next/dist/lib/metadata/types/metadata-interface.js +18 -0
- package/web/runtime/packages/next/dist/lib/metadata/types/metadata-types.js +10 -0
- package/web/runtime/packages/next/dist/lib/metadata/types/opengraph-types.js +6 -0
- package/web/runtime/packages/next/dist/lib/metadata/types/resolvers.js +6 -0
- package/web/runtime/packages/next/dist/lib/metadata/types/twitter-types.js +7 -0
- package/web/runtime/packages/next/dist/lib/mime-type.js +20 -0
- package/web/runtime/packages/next/dist/lib/mkcert.js +204 -0
- package/web/runtime/packages/next/dist/lib/multi-file-writer.js +75 -0
- package/web/runtime/packages/next/dist/lib/needs-experimental-react.js +16 -0
- package/web/runtime/packages/next/dist/lib/non-nullable.js +15 -0
- package/web/runtime/packages/next/dist/lib/normalize-path.js +21 -0
- package/web/runtime/packages/next/dist/lib/oxford-comma-list.js +15 -0
- package/web/runtime/packages/next/dist/lib/page-types.js +18 -0
- package/web/runtime/packages/next/dist/lib/patch-incorrect-lockfile.js +185 -0
- package/web/runtime/packages/next/dist/lib/pick.js +19 -0
- package/web/runtime/packages/next/dist/lib/picocolors.js +177 -0
- package/web/runtime/packages/next/dist/lib/pretty-bytes.js +74 -0
- package/web/runtime/packages/next/dist/lib/realpath.js +20 -0
- package/web/runtime/packages/next/dist/lib/recursive-copy.js +76 -0
- package/web/runtime/packages/next/dist/lib/recursive-delete.js +137 -0
- package/web/runtime/packages/next/dist/lib/recursive-readdir.js +124 -0
- package/web/runtime/packages/next/dist/lib/redirect-status.js +46 -0
- package/web/runtime/packages/next/dist/lib/require-instrumentation-client.js +26 -0
- package/web/runtime/packages/next/dist/lib/resolve-build-paths.js +154 -0
- package/web/runtime/packages/next/dist/lib/resolve-from.js +65 -0
- package/web/runtime/packages/next/dist/lib/route-pattern-normalizer.js +107 -0
- package/web/runtime/packages/next/dist/lib/scheduler.js +64 -0
- package/web/runtime/packages/next/dist/lib/semver-noop.js +18 -0
- package/web/runtime/packages/next/dist/lib/server-external-packages.jsonc +103 -0
- package/web/runtime/packages/next/dist/lib/setup-exception-listeners.js +11 -0
- package/web/runtime/packages/next/dist/lib/static-env.js +92 -0
- package/web/runtime/packages/next/dist/lib/try-to-parse-path.js +67 -0
- package/web/runtime/packages/next/dist/lib/turbopack-warning.js +185 -0
- package/web/runtime/packages/next/dist/lib/typescript/diagnosticFormatter.js +243 -0
- package/web/runtime/packages/next/dist/lib/typescript/getTypeScriptConfiguration.js +153 -0
- package/web/runtime/packages/next/dist/lib/typescript/getTypeScriptIntent.js +52 -0
- package/web/runtime/packages/next/dist/lib/typescript/loadTsConfig.js +181 -0
- package/web/runtime/packages/next/dist/lib/typescript/missingDependencyError.js +27 -0
- package/web/runtime/packages/next/dist/lib/typescript/runTypeCheck.js +149 -0
- package/web/runtime/packages/next/dist/lib/typescript/runTypeCheckCli.js +53 -0
- package/web/runtime/packages/next/dist/lib/typescript/runTypeScriptCli.js +256 -0
- package/web/runtime/packages/next/dist/lib/typescript/type-paths.js +51 -0
- package/web/runtime/packages/next/dist/lib/typescript/writeAppTypeDeclarations.js +75 -0
- package/web/runtime/packages/next/dist/lib/typescript/writeConfigurationDefaults.js +395 -0
- package/web/runtime/packages/next/dist/lib/url.js +75 -0
- package/web/runtime/packages/next/dist/lib/verify-partytown-setup.js +115 -0
- package/web/runtime/packages/next/dist/lib/verify-root-layout.js +165 -0
- package/web/runtime/packages/next/dist/lib/verify-typescript-setup.js +269 -0
- package/web/runtime/packages/next/dist/lib/wait.js +19 -0
- package/web/runtime/packages/next/dist/lib/with-promise-cache.js +24 -0
- package/web/runtime/packages/next/dist/lib/worker.js +234 -0
- package/web/runtime/packages/next/dist/server/ReactDOMServerPages.js +16 -0
- package/web/runtime/packages/next/dist/server/accept-header.js +132 -0
- package/web/runtime/packages/next/dist/server/after/after-context.js +140 -0
- package/web/runtime/packages/next/dist/server/after/after.js +26 -0
- package/web/runtime/packages/next/dist/server/after/awaiter.js +74 -0
- package/web/runtime/packages/next/dist/server/after/builtin-request-context.js +38 -0
- package/web/runtime/packages/next/dist/server/after/index.js +21 -0
- package/web/runtime/packages/next/dist/server/after/run-with-after.js +35 -0
- package/web/runtime/packages/next/dist/server/api-utils/get-cookie-parser.js +22 -0
- package/web/runtime/packages/next/dist/server/api-utils/index.js +201 -0
- package/web/runtime/packages/next/dist/server/api-utils/node/api-resolver.js +395 -0
- package/web/runtime/packages/next/dist/server/api-utils/node/parse-body.js +79 -0
- package/web/runtime/packages/next/dist/server/api-utils/node/try-get-preview-data.js +86 -0
- package/web/runtime/packages/next/dist/server/api-utils/web.js +17 -0
- package/web/runtime/packages/next/dist/server/app-render/action-async-storage-instance.js +14 -0
- package/web/runtime/packages/next/dist/server/app-render/action-async-storage.external.js +13 -0
- package/web/runtime/packages/next/dist/server/app-render/action-handler.js +1122 -0
- package/web/runtime/packages/next/dist/server/app-render/after-task-async-storage-instance.js +14 -0
- package/web/runtime/packages/next/dist/server/app-render/after-task-async-storage.external.js +13 -0
- package/web/runtime/packages/next/dist/server/app-render/app-render-prerender-utils.js +167 -0
- package/web/runtime/packages/next/dist/server/app-render/app-render-render-utils.js +76 -0
- package/web/runtime/packages/next/dist/server/app-render/app-render-scheduling.js +188 -0
- package/web/runtime/packages/next/dist/server/app-render/app-render.js +4522 -0
- package/web/runtime/packages/next/dist/server/app-render/async-local-storage.js +76 -0
- package/web/runtime/packages/next/dist/server/app-render/cache-signal.js +181 -0
- package/web/runtime/packages/next/dist/server/app-render/collect-segment-data.js +616 -0
- package/web/runtime/packages/next/dist/server/app-render/console-async-storage-instance.js +14 -0
- package/web/runtime/packages/next/dist/server/app-render/console-async-storage.external.js +13 -0
- package/web/runtime/packages/next/dist/server/app-render/create-component-styles-and-scripts.js +33 -0
- package/web/runtime/packages/next/dist/server/app-render/create-component-tree.js +870 -0
- package/web/runtime/packages/next/dist/server/app-render/create-error-handler.js +189 -0
- package/web/runtime/packages/next/dist/server/app-render/create-flight-router-state-from-loader-tree.js +102 -0
- package/web/runtime/packages/next/dist/server/app-render/csrf-protection.js +86 -0
- package/web/runtime/packages/next/dist/server/app-render/debug-channel-server.js +30 -0
- package/web/runtime/packages/next/dist/server/app-render/debug-channel-server.web.js +71 -0
- package/web/runtime/packages/next/dist/server/app-render/dynamic-access-async-storage-instance.js +14 -0
- package/web/runtime/packages/next/dist/server/app-render/dynamic-access-async-storage.external.js +13 -0
- package/web/runtime/packages/next/dist/server/app-render/dynamic-rendering.js +1144 -0
- package/web/runtime/packages/next/dist/server/app-render/encryption-utils-server.js +114 -0
- package/web/runtime/packages/next/dist/server/app-render/encryption-utils.js +93 -0
- package/web/runtime/packages/next/dist/server/app-render/encryption.js +259 -0
- package/web/runtime/packages/next/dist/server/app-render/entry-base.js +256 -0
- package/web/runtime/packages/next/dist/server/app-render/flight-render-result.js +28 -0
- package/web/runtime/packages/next/dist/server/app-render/get-asset-query-string.js +29 -0
- package/web/runtime/packages/next/dist/server/app-render/get-css-inlined-link-tags.js +49 -0
- package/web/runtime/packages/next/dist/server/app-render/get-layer-assets.js +65 -0
- package/web/runtime/packages/next/dist/server/app-render/get-preloadable-fonts.js +39 -0
- package/web/runtime/packages/next/dist/server/app-render/get-script-nonce-from-header.js +32 -0
- package/web/runtime/packages/next/dist/server/app-render/get-short-dynamic-param-type.js +25 -0
- package/web/runtime/packages/next/dist/server/app-render/has-loading-component-in-tree.js +19 -0
- package/web/runtime/packages/next/dist/server/app-render/instant-validation/boundary-constants.js +13 -0
- package/web/runtime/packages/next/dist/server/app-render/instant-validation/boundary-impl.js +103 -0
- package/web/runtime/packages/next/dist/server/app-render/instant-validation/boundary-tracking.js +18 -0
- package/web/runtime/packages/next/dist/server/app-render/instant-validation/instant-config.js +181 -0
- package/web/runtime/packages/next/dist/server/app-render/instant-validation/instant-samples-client.js +128 -0
- package/web/runtime/packages/next/dist/server/app-render/instant-validation/instant-samples.js +432 -0
- package/web/runtime/packages/next/dist/server/app-render/instant-validation/instant-validation-error.js +33 -0
- package/web/runtime/packages/next/dist/server/app-render/instant-validation/instant-validation.js +713 -0
- package/web/runtime/packages/next/dist/server/app-render/instant-validation/stream-utils.js +96 -0
- package/web/runtime/packages/next/dist/server/app-render/interop-default.js +17 -0
- package/web/runtime/packages/next/dist/server/app-render/make-get-server-inserted-html.js +92 -0
- package/web/runtime/packages/next/dist/server/app-render/manifests-singleton.js +312 -0
- package/web/runtime/packages/next/dist/server/app-render/metadata-insertion/create-server-inserted-metadata.js +29 -0
- package/web/runtime/packages/next/dist/server/app-render/module-loading/track-dynamic-import.js +57 -0
- package/web/runtime/packages/next/dist/server/app-render/module-loading/track-module-loading.external.js +32 -0
- package/web/runtime/packages/next/dist/server/app-render/module-loading/track-module-loading.instance.js +66 -0
- package/web/runtime/packages/next/dist/server/app-render/parse-and-validate-flight-router-state.js +49 -0
- package/web/runtime/packages/next/dist/server/app-render/postponed-state.js +157 -0
- package/web/runtime/packages/next/dist/server/app-render/prospective-render-utils.js +74 -0
- package/web/runtime/packages/next/dist/server/app-render/react-large-shell-error.js +17 -0
- package/web/runtime/packages/next/dist/server/app-render/react-server.node.js +39 -0
- package/web/runtime/packages/next/dist/server/app-render/render-css-resource.js +52 -0
- package/web/runtime/packages/next/dist/server/app-render/required-scripts.js +76 -0
- package/web/runtime/packages/next/dist/server/app-render/rsc/postpone.js +18 -0
- package/web/runtime/packages/next/dist/server/app-render/rsc/preloads.js +74 -0
- package/web/runtime/packages/next/dist/server/app-render/rsc/taint.js +79 -0
- package/web/runtime/packages/next/dist/server/app-render/segment-explorer-path.js +128 -0
- package/web/runtime/packages/next/dist/server/app-render/server-inserted-html.js +77 -0
- package/web/runtime/packages/next/dist/server/app-render/staged-rendering.js +343 -0
- package/web/runtime/packages/next/dist/server/app-render/stale-time.js +111 -0
- package/web/runtime/packages/next/dist/server/app-render/stream-ops.js +106 -0
- package/web/runtime/packages/next/dist/server/app-render/stream-ops.web.js +163 -0
- package/web/runtime/packages/next/dist/server/app-render/strip-flight-headers.js +18 -0
- package/web/runtime/packages/next/dist/server/app-render/types.js +65 -0
- package/web/runtime/packages/next/dist/server/app-render/use-flight-response.js +214 -0
- package/web/runtime/packages/next/dist/server/app-render/vary-params.js +336 -0
- package/web/runtime/packages/next/dist/server/app-render/walk-tree-with-flight-router-state.js +232 -0
- package/web/runtime/packages/next/dist/server/app-render/work-async-storage-instance.js +14 -0
- package/web/runtime/packages/next/dist/server/app-render/work-async-storage.external.js +13 -0
- package/web/runtime/packages/next/dist/server/app-render/work-unit-async-storage-instance.js +14 -0
- package/web/runtime/packages/next/dist/server/app-render/work-unit-async-storage.external.js +280 -0
- package/web/runtime/packages/next/dist/server/async-storage/draft-mode-provider.js +62 -0
- package/web/runtime/packages/next/dist/server/async-storage/request-store.js +144 -0
- package/web/runtime/packages/next/dist/server/async-storage/with-store.js +6 -0
- package/web/runtime/packages/next/dist/server/async-storage/work-store.js +92 -0
- package/web/runtime/packages/next/dist/server/base-http/helpers.js +36 -0
- package/web/runtime/packages/next/dist/server/base-http/index.js +54 -0
- package/web/runtime/packages/next/dist/server/base-http/node.js +147 -0
- package/web/runtime/packages/next/dist/server/base-http/web.js +124 -0
- package/web/runtime/packages/next/dist/server/base-server.js +1882 -0
- package/web/runtime/packages/next/dist/server/body-streams.js +114 -0
- package/web/runtime/packages/next/dist/server/cache-dir.js +26 -0
- package/web/runtime/packages/next/dist/server/capsize-font-metrics.json +181516 -0
- package/web/runtime/packages/next/dist/server/ci-info.js +41 -0
- package/web/runtime/packages/next/dist/server/client-component-renderer-logger.js +70 -0
- package/web/runtime/packages/next/dist/server/config-schema.js +727 -0
- package/web/runtime/packages/next/dist/server/config-shared.js +368 -0
- package/web/runtime/packages/next/dist/server/config-utils.js +185 -0
- package/web/runtime/packages/next/dist/server/config.js +1545 -0
- package/web/runtime/packages/next/dist/server/create-deduped-by-callsite-server-error-logger.js +96 -0
- package/web/runtime/packages/next/dist/server/crypto-utils.js +70 -0
- package/web/runtime/packages/next/dist/server/dev/browser-logs/file-logger.js +186 -0
- package/web/runtime/packages/next/dist/server/dev/browser-logs/receive-logs.js +558 -0
- package/web/runtime/packages/next/dist/server/dev/browser-logs/source-map.js +222 -0
- package/web/runtime/packages/next/dist/server/dev/debug-channel.js +87 -0
- package/web/runtime/packages/next/dist/server/dev/dev-indicator-server-state.js +15 -0
- package/web/runtime/packages/next/dist/server/dev/get-source-map-from-file.js +100 -0
- package/web/runtime/packages/next/dist/server/dev/hot-middleware.js +274 -0
- package/web/runtime/packages/next/dist/server/dev/hot-reloader-rspack.js +171 -0
- package/web/runtime/packages/next/dist/server/dev/hot-reloader-shared-utils.js +56 -0
- package/web/runtime/packages/next/dist/server/dev/hot-reloader-turbopack.js +1480 -0
- package/web/runtime/packages/next/dist/server/dev/hot-reloader-types.js +58 -0
- package/web/runtime/packages/next/dist/server/dev/hot-reloader-webpack.js +1386 -0
- package/web/runtime/packages/next/dist/server/dev/log-requests.js +149 -0
- package/web/runtime/packages/next/dist/server/dev/messages.js +74 -0
- package/web/runtime/packages/next/dist/server/dev/middleware-turbopack.js +403 -0
- package/web/runtime/packages/next/dist/server/dev/middleware-webpack.js +483 -0
- package/web/runtime/packages/next/dist/server/dev/node-stack-frames.js +72 -0
- package/web/runtime/packages/next/dist/server/dev/on-demand-entry-handler.js +773 -0
- package/web/runtime/packages/next/dist/server/dev/parse-version-info.js +108 -0
- package/web/runtime/packages/next/dist/server/dev/require-cache.js +79 -0
- package/web/runtime/packages/next/dist/server/dev/serialized-errors.js +67 -0
- package/web/runtime/packages/next/dist/server/dev/server-action-logger.js +37 -0
- package/web/runtime/packages/next/dist/server/dev/static-paths-worker.js +105 -0
- package/web/runtime/packages/next/dist/server/dev/turbopack-utils.js +687 -0
- package/web/runtime/packages/next/dist/server/dynamic-rendering-utils.js +108 -0
- package/web/runtime/packages/next/dist/server/font-utils.js +43 -0
- package/web/runtime/packages/next/dist/server/get-app-route-from-entrypoint.js +30 -0
- package/web/runtime/packages/next/dist/server/get-page-files.js +23 -0
- package/web/runtime/packages/next/dist/server/get-route-from-entrypoint.js +35 -0
- package/web/runtime/packages/next/dist/server/image-optimizer.js +1221 -0
- package/web/runtime/packages/next/dist/server/instrumentation/types.js +6 -0
- package/web/runtime/packages/next/dist/server/instrumentation/utils.js +21 -0
- package/web/runtime/packages/next/dist/server/internal-utils.js +39 -0
- package/web/runtime/packages/next/dist/server/is-private-ip.js +36 -0
- package/web/runtime/packages/next/dist/server/lib/app-dir-module.js +59 -0
- package/web/runtime/packages/next/dist/server/lib/app-info-log.js +132 -0
- package/web/runtime/packages/next/dist/server/lib/async-callback-set.js +29 -0
- package/web/runtime/packages/next/dist/server/lib/cache-control.js +22 -0
- package/web/runtime/packages/next/dist/server/lib/cache-handlers/default.external.js +18 -0
- package/web/runtime/packages/next/dist/server/lib/cache-handlers/default.js +160 -0
- package/web/runtime/packages/next/dist/server/lib/cache-handlers/types.js +8 -0
- package/web/runtime/packages/next/dist/server/lib/chrome-devtools-workspace.js +116 -0
- package/web/runtime/packages/next/dist/server/lib/clone-response.js +77 -0
- package/web/runtime/packages/next/dist/server/lib/cpu-profile.js +59 -0
- package/web/runtime/packages/next/dist/server/lib/decode-query-path-parameter.js +26 -0
- package/web/runtime/packages/next/dist/server/lib/dedupe-fetch.js +163 -0
- package/web/runtime/packages/next/dist/server/lib/dev-bundler-service.js +95 -0
- package/web/runtime/packages/next/dist/server/lib/disk-lru-cache.external.js +57 -0
- package/web/runtime/packages/next/dist/server/lib/encode-cache-tag.js +45 -0
- package/web/runtime/packages/next/dist/server/lib/etag.js +56 -0
- package/web/runtime/packages/next/dist/server/lib/experimental/create-env-definitions.js +48 -0
- package/web/runtime/packages/next/dist/server/lib/experimental/ppr.js +47 -0
- package/web/runtime/packages/next/dist/server/lib/find-page-file.js +147 -0
- package/web/runtime/packages/next/dist/server/lib/fix-mojibake.js +25 -0
- package/web/runtime/packages/next/dist/server/lib/format-hostname.js +16 -0
- package/web/runtime/packages/next/dist/server/lib/i18n-provider.js +129 -0
- package/web/runtime/packages/next/dist/server/lib/implicit-tags.js +80 -0
- package/web/runtime/packages/next/dist/server/lib/incremental-cache/file-system-cache.js +335 -0
- package/web/runtime/packages/next/dist/server/lib/incremental-cache/index.js +538 -0
- package/web/runtime/packages/next/dist/server/lib/incremental-cache/memory-cache.external.js +57 -0
- package/web/runtime/packages/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js +73 -0
- package/web/runtime/packages/next/dist/server/lib/incremental-cache/tags-manifest.external.js +55 -0
- package/web/runtime/packages/next/dist/server/lib/install-code-frame.js +22 -0
- package/web/runtime/packages/next/dist/server/lib/is-ipv6.js +41 -0
- package/web/runtime/packages/next/dist/server/lib/is-rsc-request.js +18 -0
- package/web/runtime/packages/next/dist/server/lib/lazy-result.js +46 -0
- package/web/runtime/packages/next/dist/server/lib/lru-cache.js +191 -0
- package/web/runtime/packages/next/dist/server/lib/match-next-data-pathname.js +18 -0
- package/web/runtime/packages/next/dist/server/lib/mock-request.js +441 -0
- package/web/runtime/packages/next/dist/server/lib/module-loader/module-loader.js +8 -0
- package/web/runtime/packages/next/dist/server/lib/module-loader/node-module-loader.js +25 -0
- package/web/runtime/packages/next/dist/server/lib/module-loader/route-module-loader.js +26 -0
- package/web/runtime/packages/next/dist/server/lib/node-fs-methods.js +28 -0
- package/web/runtime/packages/next/dist/server/lib/parse-stack.js +46 -0
- package/web/runtime/packages/next/dist/server/lib/patch-fetch.js +995 -0
- package/web/runtime/packages/next/dist/server/lib/patch-set-header.js +45 -0
- package/web/runtime/packages/next/dist/server/lib/postponed-request-body.js +64 -0
- package/web/runtime/packages/next/dist/server/lib/render-server.js +155 -0
- package/web/runtime/packages/next/dist/server/lib/router-server.js +699 -0
- package/web/runtime/packages/next/dist/server/lib/router-utils/block-cross-site-dev.js +110 -0
- package/web/runtime/packages/next/dist/server/lib/router-utils/build-data-route.js +48 -0
- package/web/runtime/packages/next/dist/server/lib/router-utils/build-prefetch-segment-data-route.js +50 -0
- package/web/runtime/packages/next/dist/server/lib/router-utils/cache-life-type-utils.js +211 -0
- package/web/runtime/packages/next/dist/server/lib/router-utils/decode-path-params.js +42 -0
- package/web/runtime/packages/next/dist/server/lib/router-utils/filesystem.js +591 -0
- package/web/runtime/packages/next/dist/server/lib/router-utils/instrumentation-globals.external.js +89 -0
- package/web/runtime/packages/next/dist/server/lib/router-utils/instrumentation-node-extensions.js +96 -0
- package/web/runtime/packages/next/dist/server/lib/router-utils/is-postpone.js +16 -0
- package/web/runtime/packages/next/dist/server/lib/router-utils/proxy-request.js +122 -0
- package/web/runtime/packages/next/dist/server/lib/router-utils/resolve-routes.js +643 -0
- package/web/runtime/packages/next/dist/server/lib/router-utils/route-types-utils.js +286 -0
- package/web/runtime/packages/next/dist/server/lib/router-utils/router-server-context.js +26 -0
- package/web/runtime/packages/next/dist/server/lib/router-utils/typegen.js +858 -0
- package/web/runtime/packages/next/dist/server/lib/router-utils/types.js +6 -0
- package/web/runtime/packages/next/dist/server/lib/server-action-request-meta.js +53 -0
- package/web/runtime/packages/next/dist/server/lib/server-ipc/utils.js +83 -0
- package/web/runtime/packages/next/dist/server/lib/source-maps.js +196 -0
- package/web/runtime/packages/next/dist/server/lib/start-server.js +494 -0
- package/web/runtime/packages/next/dist/server/lib/streaming-metadata.js +38 -0
- package/web/runtime/packages/next/dist/server/lib/to-route.js +37 -0
- package/web/runtime/packages/next/dist/server/lib/trace/constants.js +203 -0
- package/web/runtime/packages/next/dist/server/lib/trace/tracer.js +280 -0
- package/web/runtime/packages/next/dist/server/lib/trace/utils.js +16 -0
- package/web/runtime/packages/next/dist/server/lib/types.js +6 -0
- package/web/runtime/packages/next/dist/server/lib/utils.js +278 -0
- package/web/runtime/packages/next/dist/server/lib/worker-utils.js +36 -0
- package/web/runtime/packages/next/dist/server/load-components.js +179 -0
- package/web/runtime/packages/next/dist/server/load-default-error-components.js +41 -0
- package/web/runtime/packages/next/dist/server/load-manifest.external.js +117 -0
- package/web/runtime/packages/next/dist/server/match-bundle.js +25 -0
- package/web/runtime/packages/next/dist/server/mcp/get-mcp-middleware.js +49 -0
- package/web/runtime/packages/next/dist/server/mcp/get-or-create-mcp-server.js +41 -0
- package/web/runtime/packages/next/dist/server/mcp/mcp-telemetry-tracker.js +82 -0
- package/web/runtime/packages/next/dist/server/mcp/tools/get-errors.js +114 -0
- package/web/runtime/packages/next/dist/server/mcp/tools/get-logs.js +67 -0
- package/web/runtime/packages/next/dist/server/mcp/tools/get-page-metadata.js +188 -0
- package/web/runtime/packages/next/dist/server/mcp/tools/get-project-metadata.js +59 -0
- package/web/runtime/packages/next/dist/server/mcp/tools/get-routes.js +136 -0
- package/web/runtime/packages/next/dist/server/mcp/tools/get-server-action-by-id.js +121 -0
- package/web/runtime/packages/next/dist/server/mcp/tools/next-instance-error-state.js +31 -0
- package/web/runtime/packages/next/dist/server/mcp/tools/utils/browser-communication.js +90 -0
- package/web/runtime/packages/next/dist/server/mcp/tools/utils/format-errors.js +137 -0
- package/web/runtime/packages/next/dist/server/next-server.js +1429 -0
- package/web/runtime/packages/next/dist/server/next-typescript.js +13 -0
- package/web/runtime/packages/next/dist/server/next.js +455 -0
- package/web/runtime/packages/next/dist/server/node-environment-baseline.js +25 -0
- package/web/runtime/packages/next/dist/server/node-environment-extensions/console-dim.external.js +301 -0
- package/web/runtime/packages/next/dist/server/node-environment-extensions/console-exit.js +49 -0
- package/web/runtime/packages/next/dist/server/node-environment-extensions/console-file.js +56 -0
- package/web/runtime/packages/next/dist/server/node-environment-extensions/date.js +52 -0
- package/web/runtime/packages/next/dist/server/node-environment-extensions/error-inspect.js +8 -0
- package/web/runtime/packages/next/dist/server/node-environment-extensions/fast-set-immediate.external.js +577 -0
- package/web/runtime/packages/next/dist/server/node-environment-extensions/global-behaviors.js +33 -0
- package/web/runtime/packages/next/dist/server/node-environment-extensions/io-utils.js +195 -0
- package/web/runtime/packages/next/dist/server/node-environment-extensions/node-crypto.js +103 -0
- package/web/runtime/packages/next/dist/server/node-environment-extensions/process-error-handlers.js +91 -0
- package/web/runtime/packages/next/dist/server/node-environment-extensions/random.js +28 -0
- package/web/runtime/packages/next/dist/server/node-environment-extensions/unhandled-rejection.external.js +508 -0
- package/web/runtime/packages/next/dist/server/node-environment-extensions/web-crypto.js +45 -0
- package/web/runtime/packages/next/dist/server/node-environment.js +19 -0
- package/web/runtime/packages/next/dist/server/node-polyfill-crypto.js +21 -0
- package/web/runtime/packages/next/dist/server/normalizers/absolute-filename-normalizer.js +33 -0
- package/web/runtime/packages/next/dist/server/normalizers/built/app/app-bundle-path-normalizer.js +54 -0
- package/web/runtime/packages/next/dist/server/normalizers/built/app/app-filename-normalizer.js +22 -0
- package/web/runtime/packages/next/dist/server/normalizers/built/app/app-page-normalizer.js +40 -0
- package/web/runtime/packages/next/dist/server/normalizers/built/app/app-pathname-normalizer.js +55 -0
- package/web/runtime/packages/next/dist/server/normalizers/built/app/index.js +42 -0
- package/web/runtime/packages/next/dist/server/normalizers/built/pages/index.js +44 -0
- package/web/runtime/packages/next/dist/server/normalizers/built/pages/pages-bundle-path-normalizer.js +55 -0
- package/web/runtime/packages/next/dist/server/normalizers/built/pages/pages-filename-normalizer.js +22 -0
- package/web/runtime/packages/next/dist/server/normalizers/built/pages/pages-page-normalizer.js +19 -0
- package/web/runtime/packages/next/dist/server/normalizers/built/pages/pages-pathname-normalizer.js +19 -0
- package/web/runtime/packages/next/dist/server/normalizers/locale-route-normalizer.js +26 -0
- package/web/runtime/packages/next/dist/server/normalizers/normalizer.js +6 -0
- package/web/runtime/packages/next/dist/server/normalizers/normalizers.js +23 -0
- package/web/runtime/packages/next/dist/server/normalizers/prefixing-normalizer.js +26 -0
- package/web/runtime/packages/next/dist/server/normalizers/request/base-path.js +25 -0
- package/web/runtime/packages/next/dist/server/normalizers/request/next-data.js +38 -0
- package/web/runtime/packages/next/dist/server/normalizers/request/pathname-normalizer.js +6 -0
- package/web/runtime/packages/next/dist/server/normalizers/request/prefix.js +39 -0
- package/web/runtime/packages/next/dist/server/normalizers/request/rsc.js +19 -0
- package/web/runtime/packages/next/dist/server/normalizers/request/segment-prefix-rsc.js +33 -0
- package/web/runtime/packages/next/dist/server/normalizers/request/suffix.js +27 -0
- package/web/runtime/packages/next/dist/server/normalizers/underscore-normalizer.js +17 -0
- package/web/runtime/packages/next/dist/server/normalizers/wrap-normalizer-fn.js +17 -0
- package/web/runtime/packages/next/dist/server/og/image-response.js +53 -0
- package/web/runtime/packages/next/dist/server/patch-error-inspect.js +453 -0
- package/web/runtime/packages/next/dist/server/pipe-readable.js +140 -0
- package/web/runtime/packages/next/dist/server/post-process.js +39 -0
- package/web/runtime/packages/next/dist/server/render-result.js +204 -0
- package/web/runtime/packages/next/dist/server/render.js +1148 -0
- package/web/runtime/packages/next/dist/server/request/connection.js +133 -0
- package/web/runtime/packages/next/dist/server/request/cookies.js +235 -0
- package/web/runtime/packages/next/dist/server/request/draft-mode.js +230 -0
- package/web/runtime/packages/next/dist/server/request/fallback-params.js +95 -0
- package/web/runtime/packages/next/dist/server/request/headers.js +229 -0
- package/web/runtime/packages/next/dist/server/request/params.js +527 -0
- package/web/runtime/packages/next/dist/server/request/pathname.js +119 -0
- package/web/runtime/packages/next/dist/server/request/root-params.js +194 -0
- package/web/runtime/packages/next/dist/server/request/search-params.js +526 -0
- package/web/runtime/packages/next/dist/server/request/utils.js +51 -0
- package/web/runtime/packages/next/dist/server/request-meta.js +55 -0
- package/web/runtime/packages/next/dist/server/require-hook.js +82 -0
- package/web/runtime/packages/next/dist/server/require.js +109 -0
- package/web/runtime/packages/next/dist/server/response-cache/index.js +311 -0
- package/web/runtime/packages/next/dist/server/response-cache/types.js +41 -0
- package/web/runtime/packages/next/dist/server/response-cache/utils.js +104 -0
- package/web/runtime/packages/next/dist/server/response-cache/web.js +101 -0
- package/web/runtime/packages/next/dist/server/resume-data-cache/cache-store.js +96 -0
- package/web/runtime/packages/next/dist/server/resume-data-cache/resume-data-cache.js +124 -0
- package/web/runtime/packages/next/dist/server/revalidation-utils.js +157 -0
- package/web/runtime/packages/next/dist/server/route-definitions/app-page-route-definition.js +16 -0
- package/web/runtime/packages/next/dist/server/route-definitions/app-route-route-definition.js +6 -0
- package/web/runtime/packages/next/dist/server/route-definitions/locale-route-definition.js +6 -0
- package/web/runtime/packages/next/dist/server/route-definitions/pages-api-route-definition.js +6 -0
- package/web/runtime/packages/next/dist/server/route-definitions/pages-route-definition.js +6 -0
- package/web/runtime/packages/next/dist/server/route-definitions/route-definition.js +6 -0
- package/web/runtime/packages/next/dist/server/route-kind.js +32 -0
- package/web/runtime/packages/next/dist/server/route-matcher-managers/default-route-matcher-manager.js +239 -0
- package/web/runtime/packages/next/dist/server/route-matcher-managers/dev-route-matcher-manager.js +120 -0
- package/web/runtime/packages/next/dist/server/route-matcher-managers/route-matcher-manager.js +6 -0
- package/web/runtime/packages/next/dist/server/route-matcher-providers/app-page-route-matcher-provider.js +55 -0
- package/web/runtime/packages/next/dist/server/route-matcher-providers/app-route-route-matcher-provider.js +43 -0
- package/web/runtime/packages/next/dist/server/route-matcher-providers/dev/dev-app-page-route-matcher-provider.js +91 -0
- package/web/runtime/packages/next/dist/server/route-matcher-providers/dev/dev-app-route-route-matcher-provider.js +112 -0
- package/web/runtime/packages/next/dist/server/route-matcher-providers/dev/dev-pages-api-route-matcher-provider.js +77 -0
- package/web/runtime/packages/next/dist/server/route-matcher-providers/dev/dev-pages-route-matcher-provider.js +77 -0
- package/web/runtime/packages/next/dist/server/route-matcher-providers/dev/file-cache-route-matcher-provider.js +28 -0
- package/web/runtime/packages/next/dist/server/route-matcher-providers/dev/helpers/file-reader/batched-file-reader.js +106 -0
- package/web/runtime/packages/next/dist/server/route-matcher-providers/dev/helpers/file-reader/default-file-reader.js +42 -0
- package/web/runtime/packages/next/dist/server/route-matcher-providers/dev/helpers/file-reader/file-reader.js +6 -0
- package/web/runtime/packages/next/dist/server/route-matcher-providers/helpers/cached-route-matcher-provider.js +30 -0
- package/web/runtime/packages/next/dist/server/route-matcher-providers/helpers/manifest-loaders/manifest-loader.js +6 -0
- package/web/runtime/packages/next/dist/server/route-matcher-providers/helpers/manifest-loaders/node-manifest-loader.js +34 -0
- package/web/runtime/packages/next/dist/server/route-matcher-providers/helpers/manifest-loaders/server-manifest-loader.js +20 -0
- package/web/runtime/packages/next/dist/server/route-matcher-providers/manifest-route-matcher-provider.js +21 -0
- package/web/runtime/packages/next/dist/server/route-matcher-providers/pages-api-route-matcher-provider.js +55 -0
- package/web/runtime/packages/next/dist/server/route-matcher-providers/pages-route-matcher-provider.js +64 -0
- package/web/runtime/packages/next/dist/server/route-matcher-providers/route-matcher-provider.js +6 -0
- package/web/runtime/packages/next/dist/server/route-matchers/app-page-route-matcher.js +18 -0
- package/web/runtime/packages/next/dist/server/route-matchers/app-route-route-matcher.js +15 -0
- package/web/runtime/packages/next/dist/server/route-matchers/locale-route-matcher.js +68 -0
- package/web/runtime/packages/next/dist/server/route-matchers/pages-api-route-matcher.js +30 -0
- package/web/runtime/packages/next/dist/server/route-matchers/pages-route-matcher.js +30 -0
- package/web/runtime/packages/next/dist/server/route-matchers/route-matcher.js +54 -0
- package/web/runtime/packages/next/dist/server/route-matches/app-page-route-match.js +6 -0
- package/web/runtime/packages/next/dist/server/route-matches/app-route-route-match.js +6 -0
- package/web/runtime/packages/next/dist/server/route-matches/locale-route-match.js +6 -0
- package/web/runtime/packages/next/dist/server/route-matches/pages-api-route-match.js +16 -0
- package/web/runtime/packages/next/dist/server/route-matches/pages-route-match.js +6 -0
- package/web/runtime/packages/next/dist/server/route-matches/route-match.js +6 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/helpers/prerender-manifest-matcher.js +51 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/module.compiled.js +36 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/module.js +162 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/module.render.js +24 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/normalize-request-url.js +25 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/contexts/app-router-context.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/contexts/entrypoints.js +87 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/contexts/head-manager-context.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/contexts/hooks-client-context.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/contexts/image-config-context.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/contexts/router-context.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/contexts/server-inserted-html.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/rsc/entrypoints.js +140 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/rsc/react-compiler-runtime.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/rsc/react-dom.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/rsc/react-jsx-dev-runtime.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/rsc/react-jsx-runtime.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-server.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-static.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-webpack-server.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-webpack-static.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/rsc/react.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/ssr/entrypoints.js +125 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/ssr/react-compiler-runtime.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/ssr/react-dom-server.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/ssr/react-dom.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/ssr/react-server-dom-turbopack-client.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/ssr/react-server-dom-webpack-client.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-page/vendored/ssr/react.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-route/helpers/auto-implement-methods.js +85 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-route/helpers/clean-url.js +24 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-route/helpers/get-pathname-from-absolute-path.js +29 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-route/helpers/is-static-gen-enabled.js +15 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-route/helpers/parsed-url-query-to-params.js +20 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-route/module.compiled.js +36 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-route/module.js +915 -0
- package/web/runtime/packages/next/dist/server/route-modules/app-route/shared-modules.js +56 -0
- package/web/runtime/packages/next/dist/server/route-modules/checks.js +45 -0
- package/web/runtime/packages/next/dist/server/route-modules/pages/builtin/_error.js +100 -0
- package/web/runtime/packages/next/dist/server/route-modules/pages/module.compiled.js +20 -0
- package/web/runtime/packages/next/dist/server/route-modules/pages/module.js +92 -0
- package/web/runtime/packages/next/dist/server/route-modules/pages/module.render.js +24 -0
- package/web/runtime/packages/next/dist/server/route-modules/pages/pages-handler.js +545 -0
- package/web/runtime/packages/next/dist/server/route-modules/pages/vendored/contexts/app-router-context.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/pages/vendored/contexts/entrypoints.js +102 -0
- package/web/runtime/packages/next/dist/server/route-modules/pages/vendored/contexts/head-manager-context.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/pages/vendored/contexts/hooks-client-context.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/pages/vendored/contexts/html-context.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/pages/vendored/contexts/image-config-context.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/pages/vendored/contexts/loadable-context.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/pages/vendored/contexts/loadable.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/pages/vendored/contexts/router-context.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/pages/vendored/contexts/server-inserted-html.js +4 -0
- package/web/runtime/packages/next/dist/server/route-modules/pages-api/module.compiled.js +20 -0
- package/web/runtime/packages/next/dist/server/route-modules/pages-api/module.js +58 -0
- package/web/runtime/packages/next/dist/server/route-modules/route-module.js +660 -0
- package/web/runtime/packages/next/dist/server/runtime-reacts.external.js +46 -0
- package/web/runtime/packages/next/dist/server/send-payload.js +88 -0
- package/web/runtime/packages/next/dist/server/send-response.js +70 -0
- package/web/runtime/packages/next/dist/server/serve-static.js +66 -0
- package/web/runtime/packages/next/dist/server/server-route-utils.js +30 -0
- package/web/runtime/packages/next/dist/server/server-utils.js +340 -0
- package/web/runtime/packages/next/dist/server/setup-http-agent-env.js +31 -0
- package/web/runtime/packages/next/dist/server/stream-utils/encoded-tags.js +122 -0
- package/web/runtime/packages/next/dist/server/stream-utils/node-web-streams-helper.js +918 -0
- package/web/runtime/packages/next/dist/server/stream-utils/uint8array-helpers.js +74 -0
- package/web/runtime/packages/next/dist/server/typescript/constant.js +98 -0
- package/web/runtime/packages/next/dist/server/typescript/index.js +199 -0
- package/web/runtime/packages/next/dist/server/typescript/rules/client-boundary.js +97 -0
- package/web/runtime/packages/next/dist/server/typescript/rules/config.js +512 -0
- package/web/runtime/packages/next/dist/server/typescript/rules/entry.js +149 -0
- package/web/runtime/packages/next/dist/server/typescript/rules/error.js +38 -0
- package/web/runtime/packages/next/dist/server/typescript/rules/metadata.js +234 -0
- package/web/runtime/packages/next/dist/server/typescript/rules/server-boundary.js +115 -0
- package/web/runtime/packages/next/dist/server/typescript/rules/server.js +79 -0
- package/web/runtime/packages/next/dist/server/typescript/utils.js +212 -0
- package/web/runtime/packages/next/dist/server/use-cache/cache-life.js +163 -0
- package/web/runtime/packages/next/dist/server/use-cache/cache-tag.js +52 -0
- package/web/runtime/packages/next/dist/server/use-cache/constants.js +28 -0
- package/web/runtime/packages/next/dist/server/use-cache/handlers.js +121 -0
- package/web/runtime/packages/next/dist/server/use-cache/use-cache-errors.js +36 -0
- package/web/runtime/packages/next/dist/server/use-cache/use-cache-wrapper.js +1588 -0
- package/web/runtime/packages/next/dist/server/utils.js +73 -0
- package/web/runtime/packages/next/dist/server/web/adapter.js +395 -0
- package/web/runtime/packages/next/dist/server/web/edge-route-module-wrapper.js +124 -0
- package/web/runtime/packages/next/dist/server/web/error.js +54 -0
- package/web/runtime/packages/next/dist/server/web/exports/index.js +56 -0
- package/web/runtime/packages/next/dist/server/web/get-edge-preview-props.js +23 -0
- package/web/runtime/packages/next/dist/server/web/globals.js +128 -0
- package/web/runtime/packages/next/dist/server/web/http.js +39 -0
- package/web/runtime/packages/next/dist/server/web/internal-edge-wait-until.js +64 -0
- package/web/runtime/packages/next/dist/server/web/next-url.js +199 -0
- package/web/runtime/packages/next/dist/server/web/sandbox/context.js +462 -0
- package/web/runtime/packages/next/dist/server/web/sandbox/fetch-inline-assets.js +35 -0
- package/web/runtime/packages/next/dist/server/web/sandbox/index.js +28 -0
- package/web/runtime/packages/next/dist/server/web/sandbox/resource-managers.js +88 -0
- package/web/runtime/packages/next/dist/server/web/sandbox/sandbox.js +137 -0
- package/web/runtime/packages/next/dist/server/web/spec-extension/adapters/headers.js +192 -0
- package/web/runtime/packages/next/dist/server/web/spec-extension/adapters/next-request.js +142 -0
- package/web/runtime/packages/next/dist/server/web/spec-extension/adapters/reflect.js +30 -0
- package/web/runtime/packages/next/dist/server/web/spec-extension/adapters/request-cookies.js +211 -0
- package/web/runtime/packages/next/dist/server/web/spec-extension/cookies.js +29 -0
- package/web/runtime/packages/next/dist/server/web/spec-extension/fetch-event.js +98 -0
- package/web/runtime/packages/next/dist/server/web/spec-extension/image-response.js +22 -0
- package/web/runtime/packages/next/dist/server/web/spec-extension/request.js +99 -0
- package/web/runtime/packages/next/dist/server/web/spec-extension/response.js +136 -0
- package/web/runtime/packages/next/dist/server/web/spec-extension/revalidate.js +215 -0
- package/web/runtime/packages/next/dist/server/web/spec-extension/unstable-cache.js +293 -0
- package/web/runtime/packages/next/dist/server/web/spec-extension/unstable-no-store.js +51 -0
- package/web/runtime/packages/next/dist/server/web/spec-extension/url-pattern.js +14 -0
- package/web/runtime/packages/next/dist/server/web/spec-extension/user-agent.js +46 -0
- package/web/runtime/packages/next/dist/server/web/types.js +6 -0
- package/web/runtime/packages/next/dist/server/web/utils.js +151 -0
- package/web/runtime/packages/next/dist/server/web/web-on-close.js +87 -0
- package/web/runtime/packages/next/dist/shared/lib/action-revalidation-kind.js +31 -0
- package/web/runtime/packages/next/dist/shared/lib/app-router-context.shared-runtime.js +50 -0
- package/web/runtime/packages/next/dist/shared/lib/app-router-types.js +46 -0
- package/web/runtime/packages/next/dist/shared/lib/constants.js +448 -0
- package/web/runtime/packages/next/dist/shared/lib/deep-freeze.js +30 -0
- package/web/runtime/packages/next/dist/shared/lib/deployment-id.js +63 -0
- package/web/runtime/packages/next/dist/shared/lib/dset.js +34 -0
- package/web/runtime/packages/next/dist/shared/lib/encode-uri-path.js +15 -0
- package/web/runtime/packages/next/dist/shared/lib/entry-constants.js +36 -0
- package/web/runtime/packages/next/dist/shared/lib/error-source.js +36 -0
- package/web/runtime/packages/next/dist/shared/lib/errors/canary-only-config-error.js +39 -0
- package/web/runtime/packages/next/dist/shared/lib/errors/code-frame.js +20 -0
- package/web/runtime/packages/next/dist/shared/lib/errors/constants.js +19 -0
- package/web/runtime/packages/next/dist/shared/lib/errors/empty-generate-static-params-error.js +24 -0
- package/web/runtime/packages/next/dist/shared/lib/errors/hard-deprecated-config-error.js +20 -0
- package/web/runtime/packages/next/dist/shared/lib/escape-regexp.js +22 -0
- package/web/runtime/packages/next/dist/shared/lib/get-hostname.js +23 -0
- package/web/runtime/packages/next/dist/shared/lib/hash.js +42 -0
- package/web/runtime/packages/next/dist/shared/lib/head-manager-context.shared-runtime.js +18 -0
- package/web/runtime/packages/next/dist/shared/lib/head.js +163 -0
- package/web/runtime/packages/next/dist/shared/lib/hooks-client-context.shared-runtime.js +60 -0
- package/web/runtime/packages/next/dist/shared/lib/html-context.shared-runtime.js +40 -0
- package/web/runtime/packages/next/dist/shared/lib/htmlescape.js +52 -0
- package/web/runtime/packages/next/dist/shared/lib/i18n/detect-domain-locale.js +25 -0
- package/web/runtime/packages/next/dist/shared/lib/i18n/get-locale-redirect.js +59 -0
- package/web/runtime/packages/next/dist/shared/lib/i18n/normalize-locale-path.js +54 -0
- package/web/runtime/packages/next/dist/shared/lib/image-blur-svg.js +22 -0
- package/web/runtime/packages/next/dist/shared/lib/image-config-context.shared-runtime.js +19 -0
- package/web/runtime/packages/next/dist/shared/lib/image-config.js +77 -0
- package/web/runtime/packages/next/dist/shared/lib/invariant-error.js +18 -0
- package/web/runtime/packages/next/dist/shared/lib/is-plain-object.js +42 -0
- package/web/runtime/packages/next/dist/shared/lib/is-thenable.js +20 -0
- package/web/runtime/packages/next/dist/shared/lib/isomorphic/path.js +14 -0
- package/web/runtime/packages/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +37 -0
- package/web/runtime/packages/next/dist/shared/lib/loadable-context.shared-runtime.js +19 -0
- package/web/runtime/packages/next/dist/shared/lib/loadable.shared-runtime.js +246 -0
- package/web/runtime/packages/next/dist/shared/lib/match-local-pattern.js +46 -0
- package/web/runtime/packages/next/dist/shared/lib/match-remote-pattern.js +63 -0
- package/web/runtime/packages/next/dist/shared/lib/modern-browserslist-target.js +15 -0
- package/web/runtime/packages/next/dist/shared/lib/no-fallback-error.external.js +18 -0
- package/web/runtime/packages/next/dist/shared/lib/normalized-asset-prefix.js +28 -0
- package/web/runtime/packages/next/dist/shared/lib/page-path/absolute-path-to-page.js +26 -0
- package/web/runtime/packages/next/dist/shared/lib/page-path/denormalize-page-path.js +18 -0
- package/web/runtime/packages/next/dist/shared/lib/page-path/ensure-leading-slash.js +18 -0
- package/web/runtime/packages/next/dist/shared/lib/page-path/get-page-paths.js +40 -0
- package/web/runtime/packages/next/dist/shared/lib/page-path/normalize-data-path.js +23 -0
- package/web/runtime/packages/next/dist/shared/lib/page-path/normalize-page-path.js +26 -0
- package/web/runtime/packages/next/dist/shared/lib/page-path/normalize-path-sep.js +19 -0
- package/web/runtime/packages/next/dist/shared/lib/page-path/remove-page-path-tail.js +20 -0
- package/web/runtime/packages/next/dist/shared/lib/promise-with-resolvers.js +26 -0
- package/web/runtime/packages/next/dist/shared/lib/router/adapters.js +136 -0
- package/web/runtime/packages/next/dist/shared/lib/router/routes/app.js +134 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/add-locale.js +28 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/add-path-prefix.js +20 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/add-path-suffix.js +20 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/app-paths.js +62 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/as-path-to-search-params.js +17 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/cache-busting-search-param.js +70 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/escape-path-delimiters.js +16 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/format-next-pathname-info.js +27 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/format-url.js +111 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/get-dynamic-param.js +174 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/get-next-pathname-info.js +52 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/get-route-from-asset-path.js +25 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/get-segment-param.js +90 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/html-bots.js +17 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/index.js +30 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/interception-prefix-from-param-type.js +33 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/interception-routes.js +108 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/is-bot.js +57 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/is-dynamic.js +26 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/middleware-route-matcher.js +31 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/parse-loader-tree.js +30 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/parse-path.js +33 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/parse-relative-url.js +43 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/parse-url.js +38 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/path-has-prefix.js +20 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/path-match.js +49 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/prepare-destination.js +293 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/querystring.js +79 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/relativize-url.js +40 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/remove-path-prefix.js +39 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/remove-trailing-slash.js +21 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/resolve-param-value.js +116 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/route-match-utils.js +113 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/route-matcher.js +45 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/route-regex.js +256 -0
- package/web/runtime/packages/next/dist/shared/lib/router/utils/sorted-routes.js +244 -0
- package/web/runtime/packages/next/dist/shared/lib/router-context.shared-runtime.js +18 -0
- package/web/runtime/packages/next/dist/shared/lib/segment-cache/segment-value-encoding.js +99 -0
- package/web/runtime/packages/next/dist/shared/lib/segment-cache/vary-params-decoding.js +32 -0
- package/web/runtime/packages/next/dist/shared/lib/segment.js +102 -0
- package/web/runtime/packages/next/dist/shared/lib/server-inserted-html.shared-runtime.js +35 -0
- package/web/runtime/packages/next/dist/shared/lib/server-reference-info.js +68 -0
- package/web/runtime/packages/next/dist/shared/lib/side-effect.js +63 -0
- package/web/runtime/packages/next/dist/shared/lib/size-limit.js +40 -0
- package/web/runtime/packages/next/dist/shared/lib/turbopack/internal-error.js +53 -0
- package/web/runtime/packages/next/dist/shared/lib/utils/reflect-utils.js +69 -0
- package/web/runtime/packages/next/dist/shared/lib/utils/warn-once.js +22 -0
- package/web/runtime/packages/next/dist/shared/lib/utils.js +207 -0
- package/web/runtime/packages/next/dist/shared/lib/zod.js +101 -0
- package/web/runtime/packages/next/dist/telemetry/anonymous-meta.js +89 -0
- package/web/runtime/packages/next/dist/telemetry/detached-flush.js +56 -0
- package/web/runtime/packages/next/dist/telemetry/events/build.js +174 -0
- package/web/runtime/packages/next/dist/telemetry/events/index.js +41 -0
- package/web/runtime/packages/next/dist/telemetry/events/plugins.js +51 -0
- package/web/runtime/packages/next/dist/telemetry/events/swc-load-failure.js +55 -0
- package/web/runtime/packages/next/dist/telemetry/events/version.js +66 -0
- package/web/runtime/packages/next/dist/telemetry/flush-telemetry.js +19 -0
- package/web/runtime/packages/next/dist/telemetry/post-telemetry-payload.js +48 -0
- package/web/runtime/packages/next/dist/telemetry/project-id.js +48 -0
- package/web/runtime/packages/next/dist/telemetry/storage.js +301 -0
- package/web/runtime/packages/next/dist/trace/index.js +58 -0
- package/web/runtime/packages/next/dist/trace/report/index.js +37 -0
- package/web/runtime/packages/next/dist/trace/report/to-json-build.js +40 -0
- package/web/runtime/packages/next/dist/trace/report/to-json.js +165 -0
- package/web/runtime/packages/next/dist/trace/report/to-telemetry.js +36 -0
- package/web/runtime/packages/next/dist/trace/shared.js +39 -0
- package/web/runtime/packages/next/dist/trace/trace.js +211 -0
- package/web/runtime/packages/next/package.json +136 -0
- package/web/runtime/packages/react/cjs/react-compiler-runtime.production.js +16 -0
- package/web/runtime/packages/react/cjs/react-jsx-dev-runtime.production.js +14 -0
- package/web/runtime/packages/react/cjs/react-jsx-runtime.production.js +34 -0
- package/web/runtime/packages/react/cjs/react.development.js +1284 -0
- package/web/runtime/packages/react/cjs/react.production.js +542 -0
- package/web/runtime/packages/react/compiler-runtime.js +14 -0
- package/web/runtime/packages/react/index.js +7 -0
- package/web/runtime/packages/react/jsx-dev-runtime.js +7 -0
- package/web/runtime/packages/react/jsx-runtime.js +7 -0
- package/web/runtime/packages/react/package.json +51 -0
- package/web/runtime/packages/react-dom/cjs/react-dom-server-legacy.browser.production.js +6603 -0
- package/web/runtime/packages/react-dom/cjs/react-dom-server-legacy.node.production.js +6692 -0
- package/web/runtime/packages/react-dom/cjs/react-dom-server.browser.production.js +7410 -0
- package/web/runtime/packages/react-dom/cjs/react-dom-server.edge.production.js +7512 -0
- package/web/runtime/packages/react-dom/cjs/react-dom-server.node.production.js +7707 -0
- package/web/runtime/packages/react-dom/cjs/react-dom.production.js +210 -0
- package/web/runtime/packages/react-dom/index.js +38 -0
- package/web/runtime/packages/react-dom/package.json +117 -0
- package/web/runtime/packages/react-dom/server.browser.js +16 -0
- package/web/runtime/packages/react-dom/server.edge.js +17 -0
- package/web/runtime/packages/react-dom/server.node.js +18 -0
- package/web/runtime/packages/react-dom/static.node.js +14 -0
- package/web/runtime/packages/semver/classes/comparator.js +143 -0
- package/web/runtime/packages/semver/classes/range.js +577 -0
- package/web/runtime/packages/semver/classes/semver.js +350 -0
- package/web/runtime/packages/semver/functions/clean.js +8 -0
- package/web/runtime/packages/semver/functions/cmp.js +54 -0
- package/web/runtime/packages/semver/functions/coerce.js +62 -0
- package/web/runtime/packages/semver/functions/compare-build.js +9 -0
- package/web/runtime/packages/semver/functions/compare-loose.js +5 -0
- package/web/runtime/packages/semver/functions/compare.js +7 -0
- package/web/runtime/packages/semver/functions/diff.js +60 -0
- package/web/runtime/packages/semver/functions/eq.js +5 -0
- package/web/runtime/packages/semver/functions/gt.js +5 -0
- package/web/runtime/packages/semver/functions/gte.js +5 -0
- package/web/runtime/packages/semver/functions/inc.js +21 -0
- package/web/runtime/packages/semver/functions/lt.js +5 -0
- package/web/runtime/packages/semver/functions/lte.js +5 -0
- package/web/runtime/packages/semver/functions/major.js +5 -0
- package/web/runtime/packages/semver/functions/minor.js +5 -0
- package/web/runtime/packages/semver/functions/neq.js +5 -0
- package/web/runtime/packages/semver/functions/parse.js +18 -0
- package/web/runtime/packages/semver/functions/patch.js +5 -0
- package/web/runtime/packages/semver/functions/prerelease.js +8 -0
- package/web/runtime/packages/semver/functions/rcompare.js +5 -0
- package/web/runtime/packages/semver/functions/rsort.js +5 -0
- package/web/runtime/packages/semver/functions/satisfies.js +12 -0
- package/web/runtime/packages/semver/functions/sort.js +5 -0
- package/web/runtime/packages/semver/functions/truncate.js +48 -0
- package/web/runtime/packages/semver/functions/valid.js +8 -0
- package/web/runtime/packages/semver/index.js +93 -0
- package/web/runtime/packages/semver/internal/constants.js +37 -0
- package/web/runtime/packages/semver/internal/debug.js +11 -0
- package/web/runtime/packages/semver/internal/identifiers.js +29 -0
- package/web/runtime/packages/semver/internal/lrucache.js +42 -0
- package/web/runtime/packages/semver/internal/parse-options.js +17 -0
- package/web/runtime/packages/semver/internal/re.js +223 -0
- package/web/runtime/packages/semver/package.json +78 -0
- package/web/runtime/packages/semver/ranges/gtr.js +6 -0
- package/web/runtime/packages/semver/ranges/intersects.js +9 -0
- package/web/runtime/packages/semver/ranges/ltr.js +6 -0
- package/web/runtime/packages/semver/ranges/max-satisfying.js +27 -0
- package/web/runtime/packages/semver/ranges/min-satisfying.js +26 -0
- package/web/runtime/packages/semver/ranges/min-version.js +63 -0
- package/web/runtime/packages/semver/ranges/outside.js +82 -0
- package/web/runtime/packages/semver/ranges/simplify.js +49 -0
- package/web/runtime/packages/semver/ranges/subset.js +249 -0
- package/web/runtime/packages/semver/ranges/to-comparators.js +10 -0
- package/web/runtime/packages/semver/ranges/valid.js +13 -0
- package/web/runtime/packages/styled-jsx/dist/index/index.js +499 -0
- package/web/runtime/packages/styled-jsx/index.js +1 -0
- package/web/runtime/packages/styled-jsx/package.json +132 -0
- package/web/runtime/packages/styled-jsx/style.js +1 -0
- package/web/runtime/server.cjs +43 -0
- package/web/server.cjs +4 -0
- package/skills/check/SKILL.md +0 -64
- package/skills/connections/SKILL.md +0 -54
- package/skills/diagram/SKILL.md +0 -64
- package/skills/export/SKILL.md +0 -49
- package/skills/impact/SKILL.md +0 -58
- package/skills/install/SKILL.md +0 -94
- package/skills/scan/SKILL.md +0 -75
- package/skills/status/SKILL.md +0 -37
- package/skills/ui/SKILL.md +0 -43
- package/skills/update/SKILL.md +0 -43
- package/web/.next/standalone/web/.next/BUILD_ID +0 -1
- package/web/.next/standalone/web/.next/app-path-routes-manifest.json +0 -13
- package/web/.next/standalone/web/.next/build-manifest.json +0 -20
- package/web/.next/standalone/web/.next/prerender-manifest.json +0 -88
- package/web/.next/standalone/web/.next/required-server-files.json +0 -317
- package/web/.next/standalone/web/.next/routes-manifest.json +0 -110
- package/web/.next/standalone/web/.next/server/app/_global-error/page/build-manifest.json +0 -17
- package/web/.next/standalone/web/.next/server/app/_global-error/page.js +0 -10
- package/web/.next/standalone/web/.next/server/app/_global-error/page.js.nft.json +0 -1
- package/web/.next/standalone/web/.next/server/app/_global-error/page_client-reference-manifest.js +0 -2
- package/web/.next/standalone/web/.next/server/app/_global-error.html +0 -2
- package/web/.next/standalone/web/.next/server/app/_global-error.rsc +0 -12
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +0 -5
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/_full.segment.rsc +0 -12
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/_head.segment.rsc +0 -7
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/_index.segment.rsc +0 -4
- package/web/.next/standalone/web/.next/server/app/_global-error.segments/_tree.segment.rsc +0 -1
- package/web/.next/standalone/web/.next/server/app/_not-found/page/build-manifest.json +0 -17
- package/web/.next/standalone/web/.next/server/app/_not-found/page/next-font-manifest.json +0 -11
- package/web/.next/standalone/web/.next/server/app/_not-found/page.js +0 -13
- package/web/.next/standalone/web/.next/server/app/_not-found/page.js.nft.json +0 -1
- package/web/.next/standalone/web/.next/server/app/_not-found/page_client-reference-manifest.js +0 -2
- package/web/.next/standalone/web/.next/server/app/_not-found.html +0 -1
- package/web/.next/standalone/web/.next/server/app/_not-found.rsc +0 -17
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_full.segment.rsc +0 -17
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_head.segment.rsc +0 -8
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_index.segment.rsc +0 -8
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +0 -5
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +0 -4
- package/web/.next/standalone/web/.next/server/app/_not-found.segments/_tree.segment.rsc +0 -3
- package/web/.next/standalone/web/.next/server/app/api/components/route/build-manifest.json +0 -11
- package/web/.next/standalone/web/.next/server/app/api/components/route.js +0 -6
- package/web/.next/standalone/web/.next/server/app/api/components/route.js.nft.json +0 -1
- package/web/.next/standalone/web/.next/server/app/api/components/route_client-reference-manifest.js +0 -2
- package/web/.next/standalone/web/.next/server/app/api/connections/route/build-manifest.json +0 -11
- package/web/.next/standalone/web/.next/server/app/api/connections/route.js +0 -6
- package/web/.next/standalone/web/.next/server/app/api/connections/route.js.nft.json +0 -1
- package/web/.next/standalone/web/.next/server/app/api/connections/route_client-reference-manifest.js +0 -2
- package/web/.next/standalone/web/.next/server/app/api/graph/route/build-manifest.json +0 -11
- package/web/.next/standalone/web/.next/server/app/api/graph/route.js +0 -6
- package/web/.next/standalone/web/.next/server/app/api/graph/route.js.nft.json +0 -1
- package/web/.next/standalone/web/.next/server/app/api/graph/route_client-reference-manifest.js +0 -2
- package/web/.next/standalone/web/.next/server/app/api/projects/route/build-manifest.json +0 -11
- package/web/.next/standalone/web/.next/server/app/api/projects/route.js +0 -6
- package/web/.next/standalone/web/.next/server/app/api/projects/route.js.nft.json +0 -1
- package/web/.next/standalone/web/.next/server/app/api/projects/route_client-reference-manifest.js +0 -2
- package/web/.next/standalone/web/.next/server/app/api/prompts/route/build-manifest.json +0 -11
- package/web/.next/standalone/web/.next/server/app/api/prompts/route.js +0 -7
- package/web/.next/standalone/web/.next/server/app/api/prompts/route.js.nft.json +0 -1
- package/web/.next/standalone/web/.next/server/app/api/prompts/route_client-reference-manifest.js +0 -2
- package/web/.next/standalone/web/.next/server/app/api/scan/route/build-manifest.json +0 -11
- package/web/.next/standalone/web/.next/server/app/api/scan/route.js +0 -6
- package/web/.next/standalone/web/.next/server/app/api/scan/route.js.nft.json +0 -1
- package/web/.next/standalone/web/.next/server/app/api/scan/route_client-reference-manifest.js +0 -2
- package/web/.next/standalone/web/.next/server/app/api/settings/route/build-manifest.json +0 -11
- package/web/.next/standalone/web/.next/server/app/api/settings/route.js +0 -6
- package/web/.next/standalone/web/.next/server/app/api/settings/route.js.nft.json +0 -1
- package/web/.next/standalone/web/.next/server/app/api/settings/route_client-reference-manifest.js +0 -2
- package/web/.next/standalone/web/.next/server/app/api/status/route/build-manifest.json +0 -11
- package/web/.next/standalone/web/.next/server/app/api/status/route.js +0 -6
- package/web/.next/standalone/web/.next/server/app/api/status/route.js.nft.json +0 -1
- package/web/.next/standalone/web/.next/server/app/api/status/route_client-reference-manifest.js +0 -2
- package/web/.next/standalone/web/.next/server/app/index.html +0 -1
- package/web/.next/standalone/web/.next/server/app/index.rsc +0 -23
- package/web/.next/standalone/web/.next/server/app/index.segments/__PAGE__.segment.rsc +0 -9
- package/web/.next/standalone/web/.next/server/app/index.segments/_full.segment.rsc +0 -23
- package/web/.next/standalone/web/.next/server/app/index.segments/_head.segment.rsc +0 -8
- package/web/.next/standalone/web/.next/server/app/index.segments/_index.segment.rsc +0 -8
- package/web/.next/standalone/web/.next/server/app/index.segments/_tree.segment.rsc +0 -5
- package/web/.next/standalone/web/.next/server/app/page/build-manifest.json +0 -17
- package/web/.next/standalone/web/.next/server/app/page/next-font-manifest.json +0 -11
- package/web/.next/standalone/web/.next/server/app/page.js +0 -15
- package/web/.next/standalone/web/.next/server/app/page.js.nft.json +0 -1
- package/web/.next/standalone/web/.next/server/app/page_client-reference-manifest.js +0 -2
- package/web/.next/standalone/web/.next/server/app-paths-manifest.json +0 -13
- package/web/.next/standalone/web/.next/server/chunks/2374f_next_dist_esm_build_templates_app-route_0bb4e66a.js +0 -19
- package/web/.next/standalone/web/.next/server/chunks/[root-of-the-server]__006b837d._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/[root-of-the-server]__1ab91221._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/[root-of-the-server]__2e09fec9._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/[root-of-the-server]__38d0390f._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/[root-of-the-server]__539ef30d._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/[root-of-the-server]__594bcf20._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/[root-of-the-server]__b888fadf._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/[root-of-the-server]__f3450c22._.js +0 -21
- package/web/.next/standalone/web/.next/server/chunks/[root-of-the-server]__fa2ec862._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/[turbopack]_runtime.js +0 -770
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_e6039567._.js +0 -6
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_next_dist_09351209._.js +0 -6
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_next_dist_222be7ae._.js +0 -6
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_next_dist_2346e1b3._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_next_dist_cec86455._.js +0 -4
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_next_dist_client_components_9c5d1a14._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_next_dist_client_components_builtin_forbidden_8eae0c85.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_next_dist_client_components_builtin_global-error_81159d60.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_next_dist_client_components_builtin_unauthorized_7d34a31c.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_next_dist_e03afa0e._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_next_dist_esm_build_templates_app-page_2c8d71b9.js +0 -4
- package/web/.next/standalone/web/.next/server/chunks/ssr/2374f_next_dist_server_route-modules_app-page_vendored_ssr_react-dom_8910f04c.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__1a0663e6._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__4306eafc._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__44903626._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__60278e3f._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__61942f24._.js +0 -4
- package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__8c45c3c9._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__9a2f110d._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__ed07bd88._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__f2db61af._.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/[turbopack]_runtime.js +0 -770
- package/web/.next/standalone/web/.next/server/chunks/ssr/web_0103e631._.js +0 -4
- package/web/.next/standalone/web/.next/server/chunks/ssr/web_171de0df._.js +0 -14
- package/web/.next/standalone/web/.next/server/chunks/ssr/web__next-internal_server_app__global-error_page_actions_2a1e94d4.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/web__next-internal_server_app__not-found_page_actions_9eaa9845.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/ssr/web__next-internal_server_app_page_actions_ec26bf28.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/web__next-internal_server_app_api_components_route_actions_c88bf2a6.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/web__next-internal_server_app_api_connections_route_actions_b1d5e95a.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/web__next-internal_server_app_api_graph_route_actions_e2dd052c.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/web__next-internal_server_app_api_projects_route_actions_3f671cbb.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/web__next-internal_server_app_api_prompts_route_actions_85b56166.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/web__next-internal_server_app_api_scan_route_actions_861cde8d.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/web__next-internal_server_app_api_settings_route_actions_e19026ae.js +0 -3
- package/web/.next/standalone/web/.next/server/chunks/web__next-internal_server_app_api_status_route_actions_8b8c6c89.js +0 -3
- package/web/.next/standalone/web/.next/server/functions-config-manifest.json +0 -4
- package/web/.next/standalone/web/.next/server/middleware-build-manifest.js +0 -21
- package/web/.next/standalone/web/.next/server/next-font-manifest.js +0 -1
- package/web/.next/standalone/web/.next/server/next-font-manifest.json +0 -15
- package/web/.next/standalone/web/.next/server/pages/404.html +0 -1
- package/web/.next/standalone/web/.next/server/pages/500.html +0 -2
- package/web/.next/standalone/web/.next/server/server-reference-manifest.js +0 -1
- package/web/.next/standalone/web/.next/server/server-reference-manifest.json +0 -5
- package/web/.next/standalone/web/.next/static/P-ZMQO7_Wnj487ks3guqa/_clientMiddlewareManifest.json +0 -1
- package/web/.next/standalone/web/.next/static/chunks/062ae79751df2759.js +0 -1
- package/web/.next/standalone/web/.next/static/chunks/159889e17b2cf1f8.js +0 -2
- package/web/.next/standalone/web/.next/static/chunks/458d6f37339fc069.js +0 -1
- package/web/.next/standalone/web/.next/static/chunks/6d3d39425a878d7f.js +0 -1
- package/web/.next/standalone/web/.next/static/chunks/8a80e7184ad3a13f.css +0 -2
- package/web/.next/standalone/web/.next/static/chunks/c056475f5f4424b6.css +0 -1
- package/web/.next/standalone/web/.next/static/chunks/c57fee8cce8d7cb9.js +0 -1
- package/web/.next/standalone/web/.next/static/chunks/cb3513192b63e480.js +0 -12
- package/web/.next/standalone/web/.next/static/chunks/dd22b5f2beb2cc31.js +0 -1
- package/web/.next/standalone/web/.next/static/chunks/e0affeef0ddb9a97.js +0 -4
- package/web/.next/standalone/web/.next/static/chunks/f74a6859e1c4d5e3.js +0 -1
- package/web/.next/standalone/web/.next/static/chunks/turbopack-c0c89f9e6f0a38c4.js +0 -3
- package/web/.next/standalone/web/.next/static/media/4fa387ec64143e14-s.c1fdd6c2.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/media/7178b3e590c64307-s.b97b3418.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/media/797e433ab948586e-s.p.dbea232f.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/media/8a480f0b521d4e75-s.8e0177b5.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/media/bbc41e54d2fcbd21-s.799d8ef8.woff2 +0 -0
- package/web/.next/standalone/web/.next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2 +0 -0
- package/web/.next/standalone/web/app/api/components/route.ts +0 -252
- package/web/.next/standalone/web/app/api/connections/route.ts +0 -319
- package/web/.next/standalone/web/app/api/graph/route.ts +0 -235
- package/web/.next/standalone/web/app/api/projects/route.ts +0 -221
- package/web/.next/standalone/web/app/api/prompts/route.ts +0 -328
- package/web/.next/standalone/web/app/api/scan/route.ts +0 -108
- package/web/.next/standalone/web/app/api/settings/route.ts +0 -198
- package/web/.next/standalone/web/app/api/status/route.ts +0 -169
- package/web/.next/standalone/web/app/globals.css +0 -99
- package/web/.next/standalone/web/app/layout.tsx +0 -49
- package/web/.next/standalone/web/app/page.tsx +0 -94
- package/web/.next/standalone/web/components/components-panel.tsx +0 -240
- package/web/.next/standalone/web/components/connections-panel.tsx +0 -220
- package/web/.next/standalone/web/components/diagram-view.tsx +0 -735
- package/web/.next/standalone/web/components/header.tsx +0 -225
- package/web/.next/standalone/web/components/impact-analysis.tsx +0 -358
- package/web/.next/standalone/web/components/llm-tracking-panel.tsx +0 -1483
- package/web/.next/standalone/web/components/settings-panel.tsx +0 -671
- package/web/.next/standalone/web/components/sidebar.tsx +0 -74
- package/web/.next/standalone/web/components/status-overview.tsx +0 -326
- package/web/.next/standalone/web/components/theme-provider.tsx +0 -11
- package/web/.next/standalone/web/components/ui/accordion.tsx +0 -66
- package/web/.next/standalone/web/components/ui/alert-dialog.tsx +0 -157
- package/web/.next/standalone/web/components/ui/alert.tsx +0 -66
- package/web/.next/standalone/web/components/ui/aspect-ratio.tsx +0 -11
- package/web/.next/standalone/web/components/ui/avatar.tsx +0 -53
- package/web/.next/standalone/web/components/ui/badge.tsx +0 -46
- package/web/.next/standalone/web/components/ui/breadcrumb.tsx +0 -109
- package/web/.next/standalone/web/components/ui/button-group.tsx +0 -83
- package/web/.next/standalone/web/components/ui/button.tsx +0 -60
- package/web/.next/standalone/web/components/ui/calendar.tsx +0 -213
- package/web/.next/standalone/web/components/ui/card.tsx +0 -92
- package/web/.next/standalone/web/components/ui/carousel.tsx +0 -241
- package/web/.next/standalone/web/components/ui/chart.tsx +0 -353
- package/web/.next/standalone/web/components/ui/checkbox.tsx +0 -32
- package/web/.next/standalone/web/components/ui/collapsible.tsx +0 -33
- package/web/.next/standalone/web/components/ui/command.tsx +0 -184
- package/web/.next/standalone/web/components/ui/context-menu.tsx +0 -252
- package/web/.next/standalone/web/components/ui/dialog.tsx +0 -143
- package/web/.next/standalone/web/components/ui/drawer.tsx +0 -135
- package/web/.next/standalone/web/components/ui/dropdown-menu.tsx +0 -257
- package/web/.next/standalone/web/components/ui/empty.tsx +0 -104
- package/web/.next/standalone/web/components/ui/field.tsx +0 -244
- package/web/.next/standalone/web/components/ui/form.tsx +0 -167
- package/web/.next/standalone/web/components/ui/hover-card.tsx +0 -44
- package/web/.next/standalone/web/components/ui/input-group.tsx +0 -169
- package/web/.next/standalone/web/components/ui/input-otp.tsx +0 -77
- package/web/.next/standalone/web/components/ui/input.tsx +0 -21
- package/web/.next/standalone/web/components/ui/item.tsx +0 -193
- package/web/.next/standalone/web/components/ui/kbd.tsx +0 -28
- package/web/.next/standalone/web/components/ui/label.tsx +0 -24
- package/web/.next/standalone/web/components/ui/menubar.tsx +0 -276
- package/web/.next/standalone/web/components/ui/navigation-menu.tsx +0 -166
- package/web/.next/standalone/web/components/ui/pagination.tsx +0 -127
- package/web/.next/standalone/web/components/ui/popover.tsx +0 -48
- package/web/.next/standalone/web/components/ui/progress.tsx +0 -31
- package/web/.next/standalone/web/components/ui/radio-group.tsx +0 -45
- package/web/.next/standalone/web/components/ui/resizable.tsx +0 -56
- package/web/.next/standalone/web/components/ui/scroll-area.tsx +0 -58
- package/web/.next/standalone/web/components/ui/select.tsx +0 -185
- package/web/.next/standalone/web/components/ui/separator.tsx +0 -28
- package/web/.next/standalone/web/components/ui/sheet.tsx +0 -139
- package/web/.next/standalone/web/components/ui/sidebar.tsx +0 -726
- package/web/.next/standalone/web/components/ui/skeleton.tsx +0 -13
- package/web/.next/standalone/web/components/ui/slider.tsx +0 -63
- package/web/.next/standalone/web/components/ui/sonner.tsx +0 -25
- package/web/.next/standalone/web/components/ui/spinner.tsx +0 -16
- package/web/.next/standalone/web/components/ui/switch.tsx +0 -31
- package/web/.next/standalone/web/components/ui/table.tsx +0 -116
- package/web/.next/standalone/web/components/ui/tabs.tsx +0 -66
- package/web/.next/standalone/web/components/ui/textarea.tsx +0 -18
- package/web/.next/standalone/web/components/ui/toast.tsx +0 -129
- package/web/.next/standalone/web/components/ui/toaster.tsx +0 -35
- package/web/.next/standalone/web/components/ui/toggle-group.tsx +0 -73
- package/web/.next/standalone/web/components/ui/toggle.tsx +0 -47
- package/web/.next/standalone/web/components/ui/tooltip.tsx +0 -61
- package/web/.next/standalone/web/components/ui/use-mobile.tsx +0 -19
- package/web/.next/standalone/web/components/ui/use-toast.ts +0 -191
- package/web/.next/standalone/web/components.json +0 -21
- package/web/.next/standalone/web/hooks/use-mobile.ts +0 -19
- package/web/.next/standalone/web/hooks/use-toast.ts +0 -191
- package/web/.next/standalone/web/lib/hooks/index.ts +0 -8
- package/web/.next/standalone/web/lib/hooks/use-components.ts +0 -83
- package/web/.next/standalone/web/lib/hooks/use-connections.ts +0 -83
- package/web/.next/standalone/web/lib/hooks/use-projects.ts +0 -116
- package/web/.next/standalone/web/lib/hooks/use-prompts.ts +0 -122
- package/web/.next/standalone/web/lib/hooks/use-settings.ts +0 -135
- package/web/.next/standalone/web/lib/hooks/use-status.ts +0 -80
- package/web/.next/standalone/web/lib/project-context.tsx +0 -46
- package/web/.next/standalone/web/lib/transform.ts +0 -625
- package/web/.next/standalone/web/lib/types.ts +0 -198
- package/web/.next/standalone/web/lib/utils.ts +0 -6
- package/web/.next/standalone/web/next.config.mjs +0 -12
- package/web/.next/standalone/web/package-lock.json +0 -3987
- package/web/.next/standalone/web/package.json +0 -73
- package/web/.next/standalone/web/pnpm-lock.yaml +0 -5
- package/web/.next/standalone/web/postcss.config.mjs +0 -8
- package/web/.next/standalone/web/public/public/apple-icon.png +0 -0
- package/web/.next/standalone/web/public/public/icon-dark-32x32.png +0 -0
- package/web/.next/standalone/web/public/public/icon-light-32x32.png +0 -0
- package/web/.next/standalone/web/public/public/icon.svg +0 -26
- package/web/.next/standalone/web/public/public/navgator-logo.png +0 -0
- package/web/.next/standalone/web/public/public/placeholder-logo.png +0 -0
- package/web/.next/standalone/web/public/public/placeholder-logo.svg +0 -1
- package/web/.next/standalone/web/public/public/placeholder-user.jpg +0 -0
- package/web/.next/standalone/web/public/public/placeholder.jpg +0 -0
- package/web/.next/standalone/web/public/public/placeholder.svg +0 -1
- package/web/.next/standalone/web/server.js +0 -38
- package/web/.next/standalone/web/styles/globals.css +0 -125
- package/web/.next/standalone/web/tsconfig.json +0 -41
- package/web/.next/static/P-ZMQO7_Wnj487ks3guqa/_buildManifest.js +0 -11
- package/web/.next/static/P-ZMQO7_Wnj487ks3guqa/_clientMiddlewareManifest.json +0 -1
- package/web/.next/static/P-ZMQO7_Wnj487ks3guqa/_ssgManifest.js +0 -1
- package/web/.next/static/chunks/062ae79751df2759.js +0 -1
- package/web/.next/static/chunks/159889e17b2cf1f8.js +0 -2
- package/web/.next/static/chunks/458d6f37339fc069.js +0 -1
- package/web/.next/static/chunks/6d3d39425a878d7f.js +0 -1
- package/web/.next/static/chunks/8a80e7184ad3a13f.css +0 -2
- package/web/.next/static/chunks/a6dad97d9634a72d.js +0 -1
- package/web/.next/static/chunks/c056475f5f4424b6.css +0 -1
- package/web/.next/static/chunks/c57fee8cce8d7cb9.js +0 -1
- package/web/.next/static/chunks/cb3513192b63e480.js +0 -12
- package/web/.next/static/chunks/dd22b5f2beb2cc31.js +0 -1
- package/web/.next/static/chunks/e0affeef0ddb9a97.js +0 -4
- package/web/.next/static/chunks/f74a6859e1c4d5e3.js +0 -1
- package/web/.next/static/chunks/turbopack-c0c89f9e6f0a38c4.js +0 -3
- package/web/.next/static/media/4fa387ec64143e14-s.c1fdd6c2.woff2 +0 -0
- package/web/.next/static/media/7178b3e590c64307-s.b97b3418.woff2 +0 -0
- package/web/.next/static/media/797e433ab948586e-s.p.dbea232f.woff2 +0 -0
- package/web/.next/static/media/8a480f0b521d4e75-s.8e0177b5.woff2 +0 -0
- package/web/.next/static/media/bbc41e54d2fcbd21-s.799d8ef8.woff2 +0 -0
- package/web/.next/static/media/caa3a2e1cccd8315-s.p.853070df.woff2 +0 -0
- package/web/public/apple-icon.png +0 -0
- package/web/public/icon-dark-32x32.png +0 -0
- package/web/public/icon-light-32x32.png +0 -0
- package/web/public/icon.svg +0 -26
- package/web/public/navgator-logo.png +0 -0
- package/web/public/placeholder-logo.png +0 -0
- package/web/public/placeholder-logo.svg +0 -1
- package/web/public/placeholder-user.jpg +0 -0
- package/web/public/placeholder.jpg +0 -0
- package/web/public/placeholder.svg +0 -1
- /package/web/{.next/standalone/web → runtime}/.next/package.json +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/_global-error/page/app-paths-manifest.json +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/_global-error/page/next-font-manifest.json +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/_global-error/page/react-loadable-manifest.json +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/_global-error/page/server-reference-manifest.json +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/_global-error/page.js.map +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/_global-error.meta +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/_not-found/page/app-paths-manifest.json +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/_not-found/page/react-loadable-manifest.json +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/_not-found/page/server-reference-manifest.json +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/_not-found/page.js.map +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/_not-found.meta +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/api/components/route/app-paths-manifest.json +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/api/components/route/server-reference-manifest.json +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/api/components/route.js.map +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/api/connections/route/app-paths-manifest.json +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/api/connections/route/server-reference-manifest.json +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/api/connections/route.js.map +0 -0
- /package/web/{.next/standalone/web/.next/server/app/api/graph → runtime/.next/server/app/api/coverage}/route/server-reference-manifest.json +0 -0
- /package/web/{.next/standalone/web/.next/server/app/api/graph → runtime/.next/server/app/api/coverage}/route.js.map +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/api/graph/route/app-paths-manifest.json +0 -0
- /package/web/{.next/standalone/web/.next/server/app/api/projects → runtime/.next/server/app/api/graph}/route/server-reference-manifest.json +0 -0
- /package/web/{.next/standalone/web/.next/server/app/api/projects → runtime/.next/server/app/api/graph}/route.js.map +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/api/projects/route/app-paths-manifest.json +0 -0
- /package/web/{.next/standalone/web/.next/server/app/api/prompts → runtime/.next/server/app/api/projects}/route/server-reference-manifest.json +0 -0
- /package/web/{.next/standalone/web/.next/server/app/api/prompts → runtime/.next/server/app/api/projects}/route.js.map +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/api/prompts/route/app-paths-manifest.json +0 -0
- /package/web/{.next/standalone/web/.next/server/app/api/scan → runtime/.next/server/app/api/prompts}/route/server-reference-manifest.json +0 -0
- /package/web/{.next/standalone/web/.next/server/app/api/scan → runtime/.next/server/app/api/prompts}/route.js.map +0 -0
- /package/web/{.next/standalone/web/.next/server/app/api/settings → runtime/.next/server/app/api/registry-health}/route/server-reference-manifest.json +0 -0
- /package/web/{.next/standalone/web/.next/server/app/api/settings → runtime/.next/server/app/api/registry-health}/route.js.map +0 -0
- /package/web/{.next/standalone/web/.next/server/app/api/status → runtime/.next/server/app/api/rules}/route/server-reference-manifest.json +0 -0
- /package/web/{.next/standalone/web/.next/server/app/api/status → runtime/.next/server/app/api/rules}/route.js.map +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/api/scan/route/app-paths-manifest.json +0 -0
- /package/web/{.next/standalone/web/.next/server/app/page → runtime/.next/server/app/api/scan/route}/server-reference-manifest.json +0 -0
- /package/web/{.next/standalone/web/.next/server/app/page.js.map → runtime/.next/server/app/api/scan/route.js.map} +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/api/settings/route/app-paths-manifest.json +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/api/status/route/app-paths-manifest.json +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/index.meta +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/page/app-paths-manifest.json +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/app/page/react-loadable-manifest.json +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/middleware-manifest.json +0 -0
- /package/web/{.next/standalone/web → runtime}/.next/server/pages-manifest.json +0 -0
- /package/web/{.next/standalone/web/.next/static/chunks/a6dad97d9634a72d.js → runtime/.next/static/chunks/0cz1d0mv5g_q7.js} +0 -0
- /package/web/{.next/standalone/web/.next/static/P-ZMQO7_Wnj487ks3guqa → runtime/.next/static/t3UvrbzeeDimLG5J5Co_p}/_buildManifest.js +0 -0
- /package/web/{.next/standalone/web/.next/static/P-ZMQO7_Wnj487ks3guqa → runtime/.next/static/t3UvrbzeeDimLG5J5Co_p}/_ssgManifest.js +0 -0
- /package/web/{.next/standalone/web → runtime}/public/apple-icon.png +0 -0
- /package/web/{.next/standalone/web → runtime}/public/icon-dark-32x32.png +0 -0
- /package/web/{.next/standalone/web → runtime}/public/icon-light-32x32.png +0 -0
- /package/web/{.next/standalone/web → runtime}/public/icon.svg +0 -0
- /package/web/{.next/standalone/web → runtime}/public/navgator-logo.png +0 -0
- /package/web/{.next/standalone/web → runtime}/public/placeholder-logo.png +0 -0
- /package/web/{.next/standalone/web → runtime}/public/placeholder-logo.svg +0 -0
- /package/web/{.next/standalone/web → runtime}/public/placeholder-user.jpg +0 -0
- /package/web/{.next/standalone/web → runtime}/public/placeholder.jpg +0 -0
- /package/web/{.next/standalone/web → runtime}/public/placeholder.svg +0 -0
package/dist/storage.js
CHANGED
|
@@ -5,7 +5,79 @@
|
|
|
5
5
|
import * as fs from 'fs';
|
|
6
6
|
import * as path from 'path';
|
|
7
7
|
import * as crypto from 'crypto';
|
|
8
|
-
import {
|
|
8
|
+
import { generateStableId, } from './types.js';
|
|
9
|
+
/**
|
|
10
|
+
* Pick the most stable path-like identifier from a component.
|
|
11
|
+
* Prefer the first config_file (e.g. "prisma/schema.prisma" for Prisma models),
|
|
12
|
+
* else fall back to a documentation/repository URL component.
|
|
13
|
+
* Returns undefined if nothing path-like is available.
|
|
14
|
+
*
|
|
15
|
+
* RENAME BEHAVIOR (Run 1.6 — item #6):
|
|
16
|
+
* For path-disambiguated types (source-defined components plus manifest-owned
|
|
17
|
+
* packages, frameworks, databases, queues, and infrastructure) the resulting
|
|
18
|
+
* stable_id includes the canonical path. This prevents collisions when two
|
|
19
|
+
* components share a name in different files
|
|
20
|
+
* (e.g. `src/utils/index.ts` vs `src/lib/index.ts` — both named `index` for
|
|
21
|
+
* the `component` type). The tradeoff: when a file is RENAMED or MOVED its
|
|
22
|
+
* stable_id changes, so the merge step treats the renamed file as a brand-new
|
|
23
|
+
* component and the old stable_id falls out of the surviving set.
|
|
24
|
+
*
|
|
25
|
+
* Correctness is preserved by the integrity check (`runIntegrityCheck`):
|
|
26
|
+
* after merge, missing connection endpoints or orphan components trigger
|
|
27
|
+
* `scan_type='incremental→full'` (full rebuild). Renames thus stay correct
|
|
28
|
+
* but pay the full-scan cost. Not optimal, but keeping path in stable_id is
|
|
29
|
+
* the simpler and safer default.
|
|
30
|
+
*/
|
|
31
|
+
function pickCanonicalPath(c) {
|
|
32
|
+
if (c.source?.config_files?.length) {
|
|
33
|
+
return c.source.config_files[0];
|
|
34
|
+
}
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Backfill stable_id on a component if missing.
|
|
39
|
+
* Idempotent — returns the same component reference (mutated in place).
|
|
40
|
+
* Path-disambiguation is opt-in per-type. Types that can repeat the same name
|
|
41
|
+
* across files or owning manifests include canonical_path. Manifest-scoped
|
|
42
|
+
* ids keep two workspaces with different versions of the same dependency from
|
|
43
|
+
* collapsing during an incremental merge.
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* Public re-export of ensureStableId. Callers (e.g. the scanner during
|
|
47
|
+
* incremental merge) need to populate stable_ids on freshly-scanned
|
|
48
|
+
* in-memory components BEFORE merging with disk-loaded survivors.
|
|
49
|
+
*/
|
|
50
|
+
export function ensureStableIdPublic(c) {
|
|
51
|
+
return ensureStableId(c);
|
|
52
|
+
}
|
|
53
|
+
function ensureStableId(c) {
|
|
54
|
+
if (c.stable_id)
|
|
55
|
+
return c;
|
|
56
|
+
const PATH_DISAMBIGUATED = new Set([
|
|
57
|
+
'api-endpoint',
|
|
58
|
+
'db-table',
|
|
59
|
+
'prompt',
|
|
60
|
+
'worker',
|
|
61
|
+
'component',
|
|
62
|
+
'cron',
|
|
63
|
+
'npm',
|
|
64
|
+
'pip',
|
|
65
|
+
'cargo',
|
|
66
|
+
'spm',
|
|
67
|
+
'go',
|
|
68
|
+
'gem',
|
|
69
|
+
'composer',
|
|
70
|
+
'framework',
|
|
71
|
+
'database',
|
|
72
|
+
'queue',
|
|
73
|
+
'infra',
|
|
74
|
+
]);
|
|
75
|
+
const canonical = PATH_DISAMBIGUATED.has(c.type) ? pickCanonicalPath(c) : undefined;
|
|
76
|
+
c.stable_id = generateStableId(c.type, c.name, canonical);
|
|
77
|
+
return c;
|
|
78
|
+
}
|
|
79
|
+
import { getConfig, getComponentsPath, getConnectionsPath, getIndexPath, getGraphPath, getSnapshotsPath, getHashesPath, getStoragePath, getSummaryPath, getSummaryFullPath, getFileMapPath, getPromptsPath, ensureStorageDirectories, isValidComponentId, isValidConnectionId, SCHEMA_VERSION, STABLE_ID_SCHEME_VERSION, } from './config.js';
|
|
80
|
+
import { detectImportCycles, detectLayerViolations, getTopFanOut, getTopHotspots, } from './architecture-insights.js';
|
|
9
81
|
// =============================================================================
|
|
10
82
|
// COMPONENT STORAGE
|
|
11
83
|
// =============================================================================
|
|
@@ -16,8 +88,9 @@ export async function storeComponent(component, config, projectRoot) {
|
|
|
16
88
|
const cfg = config || getConfig();
|
|
17
89
|
ensureStorageDirectories(cfg, projectRoot);
|
|
18
90
|
const componentsPath = getComponentsPath(cfg, projectRoot);
|
|
91
|
+
ensureStableId(component);
|
|
19
92
|
const filePath = path.join(componentsPath, `${component.component_id}.json`);
|
|
20
|
-
await
|
|
93
|
+
await atomicWriteJSON(filePath, component);
|
|
21
94
|
return {
|
|
22
95
|
component_id: component.component_id,
|
|
23
96
|
file_path: filePath,
|
|
@@ -38,35 +111,67 @@ export async function loadComponent(componentId, config, projectRoot) {
|
|
|
38
111
|
}
|
|
39
112
|
try {
|
|
40
113
|
const content = await fs.promises.readFile(filePath, 'utf-8');
|
|
41
|
-
return JSON.parse(content);
|
|
114
|
+
return ensureStableId(JSON.parse(content));
|
|
42
115
|
}
|
|
43
116
|
catch {
|
|
44
117
|
return null;
|
|
45
118
|
}
|
|
46
119
|
}
|
|
47
120
|
/**
|
|
48
|
-
* Load all components
|
|
121
|
+
* Load all components.
|
|
122
|
+
*
|
|
123
|
+
* R6: per-entity files are opt-in (default off). When they're absent or
|
|
124
|
+
* empty, falls back to the consolidated `components.full.jsonl` written
|
|
125
|
+
* by the scanner. This keeps every existing reader (MCP tools, CLI
|
|
126
|
+
* commands, audit, summary) working unchanged.
|
|
127
|
+
*
|
|
128
|
+
* Read priority: components/ dir → components.full.jsonl → [].
|
|
49
129
|
*/
|
|
50
130
|
export async function loadAllComponents(config, projectRoot) {
|
|
51
131
|
const cfg = config || getConfig();
|
|
52
132
|
const componentsPath = getComponentsPath(cfg, projectRoot);
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
133
|
+
// Primary path: per-entity dir (legacy + opt-in mode).
|
|
134
|
+
if (fs.existsSync(componentsPath)) {
|
|
135
|
+
const files = await fs.promises.readdir(componentsPath);
|
|
136
|
+
const jsonFiles = files.filter((f) => f.endsWith('.json'));
|
|
137
|
+
if (jsonFiles.length > 0) {
|
|
138
|
+
const results = await Promise.all(jsonFiles.map(async (file) => {
|
|
139
|
+
try {
|
|
140
|
+
const filePath = path.join(componentsPath, file);
|
|
141
|
+
const content = await fs.promises.readFile(filePath, 'utf-8');
|
|
142
|
+
return ensureStableId(JSON.parse(content));
|
|
143
|
+
}
|
|
144
|
+
catch {
|
|
145
|
+
return null;
|
|
146
|
+
}
|
|
147
|
+
}));
|
|
148
|
+
return results.filter((c) => c !== null);
|
|
64
149
|
}
|
|
65
|
-
|
|
66
|
-
|
|
150
|
+
}
|
|
151
|
+
// R6 fallback: consolidated full-shape JSONL.
|
|
152
|
+
const storeDir = getStoragePath(cfg, projectRoot);
|
|
153
|
+
const fullJsonlPath = path.join(storeDir, 'components.full.jsonl');
|
|
154
|
+
if (!fs.existsSync(fullJsonlPath))
|
|
155
|
+
return [];
|
|
156
|
+
try {
|
|
157
|
+
const raw = await fs.promises.readFile(fullJsonlPath, 'utf-8');
|
|
158
|
+
const out = [];
|
|
159
|
+
for (const line of raw.split('\n')) {
|
|
160
|
+
const trimmed = line.trim();
|
|
161
|
+
if (!trimmed)
|
|
162
|
+
continue;
|
|
163
|
+
try {
|
|
164
|
+
out.push(ensureStableId(JSON.parse(trimmed)));
|
|
165
|
+
}
|
|
166
|
+
catch {
|
|
167
|
+
// Skip malformed lines — best-effort read.
|
|
168
|
+
}
|
|
67
169
|
}
|
|
68
|
-
|
|
69
|
-
|
|
170
|
+
return out;
|
|
171
|
+
}
|
|
172
|
+
catch {
|
|
173
|
+
return [];
|
|
174
|
+
}
|
|
70
175
|
}
|
|
71
176
|
/**
|
|
72
177
|
* Delete a component by ID
|
|
@@ -95,7 +200,7 @@ export async function storeConnection(connection, config, projectRoot) {
|
|
|
95
200
|
ensureStorageDirectories(cfg, projectRoot);
|
|
96
201
|
const connectionsPath = getConnectionsPath(cfg, projectRoot);
|
|
97
202
|
const filePath = path.join(connectionsPath, `${connection.connection_id}.json`);
|
|
98
|
-
await
|
|
203
|
+
await atomicWriteJSON(filePath, connection);
|
|
99
204
|
return {
|
|
100
205
|
connection_id: connection.connection_id,
|
|
101
206
|
file_path: filePath,
|
|
@@ -123,28 +228,57 @@ export async function loadConnection(connectionId, config, projectRoot) {
|
|
|
123
228
|
}
|
|
124
229
|
}
|
|
125
230
|
/**
|
|
126
|
-
* Load all connections
|
|
231
|
+
* Load all connections.
|
|
232
|
+
*
|
|
233
|
+
* R6: per-entity files are opt-in (default off). When they're absent or
|
|
234
|
+
* empty, falls back to the consolidated `connections.full.jsonl` written
|
|
235
|
+
* by the scanner. Same read-priority as loadAllComponents.
|
|
127
236
|
*/
|
|
128
237
|
export async function loadAllConnections(config, projectRoot) {
|
|
129
238
|
const cfg = config || getConfig();
|
|
130
239
|
const connectionsPath = getConnectionsPath(cfg, projectRoot);
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
240
|
+
// Primary path: per-entity dir (legacy + opt-in mode).
|
|
241
|
+
if (fs.existsSync(connectionsPath)) {
|
|
242
|
+
const files = await fs.promises.readdir(connectionsPath);
|
|
243
|
+
const jsonFiles = files.filter((f) => f.endsWith('.json'));
|
|
244
|
+
if (jsonFiles.length > 0) {
|
|
245
|
+
const results = await Promise.all(jsonFiles.map(async (file) => {
|
|
246
|
+
try {
|
|
247
|
+
const filePath = path.join(connectionsPath, file);
|
|
248
|
+
const content = await fs.promises.readFile(filePath, 'utf-8');
|
|
249
|
+
return JSON.parse(content);
|
|
250
|
+
}
|
|
251
|
+
catch {
|
|
252
|
+
return null;
|
|
253
|
+
}
|
|
254
|
+
}));
|
|
255
|
+
return results.filter((c) => c !== null);
|
|
142
256
|
}
|
|
143
|
-
|
|
144
|
-
|
|
257
|
+
}
|
|
258
|
+
// R6 fallback: consolidated full-shape JSONL.
|
|
259
|
+
const storeDir = getStoragePath(cfg, projectRoot);
|
|
260
|
+
const fullJsonlPath = path.join(storeDir, 'connections.full.jsonl');
|
|
261
|
+
if (!fs.existsSync(fullJsonlPath))
|
|
262
|
+
return [];
|
|
263
|
+
try {
|
|
264
|
+
const raw = await fs.promises.readFile(fullJsonlPath, 'utf-8');
|
|
265
|
+
const out = [];
|
|
266
|
+
for (const line of raw.split('\n')) {
|
|
267
|
+
const trimmed = line.trim();
|
|
268
|
+
if (!trimmed)
|
|
269
|
+
continue;
|
|
270
|
+
try {
|
|
271
|
+
out.push(JSON.parse(trimmed));
|
|
272
|
+
}
|
|
273
|
+
catch {
|
|
274
|
+
// Skip malformed lines.
|
|
275
|
+
}
|
|
145
276
|
}
|
|
146
|
-
|
|
147
|
-
|
|
277
|
+
return out;
|
|
278
|
+
}
|
|
279
|
+
catch {
|
|
280
|
+
return [];
|
|
281
|
+
}
|
|
148
282
|
}
|
|
149
283
|
/**
|
|
150
284
|
* Delete a connection by ID
|
|
@@ -168,11 +302,16 @@ export async function deleteConnection(connectionId, config, projectRoot) {
|
|
|
168
302
|
/**
|
|
169
303
|
* Build and save the index from current components and connections
|
|
170
304
|
*/
|
|
171
|
-
export async function buildIndex(config, projectRoot, projectMetadata) {
|
|
305
|
+
export async function buildIndex(config, projectRoot, projectMetadata, data) {
|
|
172
306
|
const cfg = config || getConfig();
|
|
173
|
-
|
|
174
|
-
|
|
307
|
+
// R6: when the caller hands us the in-memory final state (the scanner does
|
|
308
|
+
// this), use it directly — required since per-entity files are now opt-in
|
|
309
|
+
// (default off) and loadAllComponents/Connections would otherwise return [].
|
|
310
|
+
const components = data?.components ?? (await loadAllComponents(cfg, projectRoot));
|
|
311
|
+
const connections = data?.connections ?? (await loadAllConnections(cfg, projectRoot));
|
|
175
312
|
const index = {
|
|
313
|
+
schema_version: SCHEMA_VERSION,
|
|
314
|
+
stable_id_scheme: STABLE_ID_SCHEME_VERSION,
|
|
176
315
|
version: '1.0.0',
|
|
177
316
|
last_scan: Date.now(),
|
|
178
317
|
project_path: projectRoot || process.cwd(),
|
|
@@ -248,9 +387,9 @@ export async function buildIndex(config, projectRoot, projectMetadata) {
|
|
|
248
387
|
index.stats.connections_by_type[connection.connection_type] =
|
|
249
388
|
(index.stats.connections_by_type[connection.connection_type] || 0) + 1;
|
|
250
389
|
}
|
|
251
|
-
// Save index
|
|
390
|
+
// Save index (atomic: write to .tmp, then rename)
|
|
252
391
|
const indexPath = getIndexPath(cfg, projectRoot);
|
|
253
|
-
await
|
|
392
|
+
await atomicWriteJSON(indexPath, index);
|
|
254
393
|
return index;
|
|
255
394
|
}
|
|
256
395
|
/**
|
|
@@ -264,7 +403,24 @@ export async function loadIndex(config, projectRoot) {
|
|
|
264
403
|
}
|
|
265
404
|
try {
|
|
266
405
|
const content = await fs.promises.readFile(indexPath, 'utf-8');
|
|
267
|
-
|
|
406
|
+
const parsed = JSON.parse(content);
|
|
407
|
+
// Read-time defaults for back-compat with 1.0.0 archives.
|
|
408
|
+
// 1.0.0 archives have no schema_version, last_full_scan, or
|
|
409
|
+
// incrementals_since_full. Synthesize sensible defaults so callers
|
|
410
|
+
// (especially selectScanMode) can treat 1.0.0 + 1.1.0 uniformly.
|
|
411
|
+
if (!parsed.schema_version) {
|
|
412
|
+
parsed.schema_version = '1.0.0';
|
|
413
|
+
}
|
|
414
|
+
if (parsed.last_full_scan === undefined) {
|
|
415
|
+
// Treat the existing last_scan as if it had been a full scan.
|
|
416
|
+
// This is conservative: it ensures the 7-day staleness rule
|
|
417
|
+
// doesn't immediately demand a full scan on the first 1.1.0 run.
|
|
418
|
+
parsed.last_full_scan = parsed.last_scan ?? 0;
|
|
419
|
+
}
|
|
420
|
+
if (parsed.incrementals_since_full === undefined) {
|
|
421
|
+
parsed.incrementals_since_full = 0;
|
|
422
|
+
}
|
|
423
|
+
return parsed;
|
|
268
424
|
}
|
|
269
425
|
catch {
|
|
270
426
|
return null;
|
|
@@ -276,12 +432,14 @@ export async function loadIndex(config, projectRoot) {
|
|
|
276
432
|
/**
|
|
277
433
|
* Build the connection graph
|
|
278
434
|
*/
|
|
279
|
-
export async function buildGraph(config, projectRoot) {
|
|
435
|
+
export async function buildGraph(config, projectRoot, data) {
|
|
280
436
|
const cfg = config || getConfig();
|
|
281
|
-
|
|
282
|
-
const
|
|
437
|
+
// R6: prefer in-memory data when provided (scanner path). See buildIndex.
|
|
438
|
+
const components = data?.components ?? (await loadAllComponents(cfg, projectRoot));
|
|
439
|
+
const connections = data?.connections ?? (await loadAllConnections(cfg, projectRoot));
|
|
283
440
|
const nodes = components.map((c) => ({
|
|
284
441
|
id: c.component_id,
|
|
442
|
+
stable_id: c.stable_id ?? ensureStableId(c).stable_id,
|
|
285
443
|
name: c.name,
|
|
286
444
|
type: c.type,
|
|
287
445
|
layer: c.role.layer,
|
|
@@ -294,6 +452,7 @@ export async function buildGraph(config, projectRoot) {
|
|
|
294
452
|
label: c.description,
|
|
295
453
|
}));
|
|
296
454
|
const graph = {
|
|
455
|
+
schema_version: SCHEMA_VERSION,
|
|
297
456
|
nodes,
|
|
298
457
|
edges,
|
|
299
458
|
metadata: {
|
|
@@ -302,9 +461,9 @@ export async function buildGraph(config, projectRoot) {
|
|
|
302
461
|
connection_count: edges.length,
|
|
303
462
|
},
|
|
304
463
|
};
|
|
305
|
-
// Save graph
|
|
464
|
+
// Save graph (atomic)
|
|
306
465
|
const graphPath = getGraphPath(cfg, projectRoot);
|
|
307
|
-
await
|
|
466
|
+
await atomicWriteJSON(graphPath, graph);
|
|
308
467
|
return graph;
|
|
309
468
|
}
|
|
310
469
|
// =============================================================================
|
|
@@ -314,11 +473,12 @@ export async function buildGraph(config, projectRoot) {
|
|
|
314
473
|
* Build a map of file paths → component IDs for fast lookup in hooks.
|
|
315
474
|
* Sources: component config_files + connection code_reference files + connection locations.
|
|
316
475
|
*/
|
|
317
|
-
export async function buildFileMap(config, projectRoot) {
|
|
476
|
+
export async function buildFileMap(config, projectRoot, data) {
|
|
318
477
|
const cfg = config || getConfig();
|
|
319
478
|
const root = projectRoot || process.cwd();
|
|
320
|
-
|
|
321
|
-
const
|
|
479
|
+
// R6: prefer in-memory data when provided (scanner path). See buildIndex.
|
|
480
|
+
const components = data?.components ?? (await loadAllComponents(cfg, root));
|
|
481
|
+
const connections = data?.connections ?? (await loadAllConnections(cfg, root));
|
|
322
482
|
const fileMap = {};
|
|
323
483
|
// Index config files from components
|
|
324
484
|
for (const c of components) {
|
|
@@ -339,10 +499,34 @@ export async function buildFileMap(config, projectRoot) {
|
|
|
339
499
|
fileMap[conn.to.location.file] = conn.to.component_id;
|
|
340
500
|
}
|
|
341
501
|
}
|
|
502
|
+
const wrapped = {
|
|
503
|
+
schema_version: SCHEMA_VERSION,
|
|
504
|
+
generated_at: Date.now(),
|
|
505
|
+
files: fileMap,
|
|
506
|
+
};
|
|
342
507
|
const fileMapPath = getFileMapPath(cfg, root);
|
|
343
|
-
await
|
|
508
|
+
await atomicWriteJSON(fileMapPath, wrapped);
|
|
344
509
|
return fileMap;
|
|
345
510
|
}
|
|
511
|
+
/**
|
|
512
|
+
* Load the file map (file path → component ID)
|
|
513
|
+
*/
|
|
514
|
+
export async function loadFileMap(config, projectRoot) {
|
|
515
|
+
const cfg = config || getConfig();
|
|
516
|
+
const root = projectRoot || process.cwd();
|
|
517
|
+
const fileMapPath = getFileMapPath(cfg, root);
|
|
518
|
+
if (!fs.existsSync(fileMapPath)) {
|
|
519
|
+
return {};
|
|
520
|
+
}
|
|
521
|
+
try {
|
|
522
|
+
const content = await fs.promises.readFile(fileMapPath, 'utf-8');
|
|
523
|
+
const parsed = JSON.parse(content);
|
|
524
|
+
return parsed.files || {};
|
|
525
|
+
}
|
|
526
|
+
catch {
|
|
527
|
+
return {};
|
|
528
|
+
}
|
|
529
|
+
}
|
|
346
530
|
// =============================================================================
|
|
347
531
|
// PROMPT STORAGE (Tier 2 - Full prompt content for on-demand loading)
|
|
348
532
|
// =============================================================================
|
|
@@ -354,7 +538,11 @@ export async function savePromptScan(promptData, config, projectRoot) {
|
|
|
354
538
|
const root = projectRoot || process.cwd();
|
|
355
539
|
ensureStorageDirectories(cfg, root);
|
|
356
540
|
const promptsPath = getPromptsPath(cfg, root);
|
|
357
|
-
|
|
541
|
+
// Spread schema_version into prompt output
|
|
542
|
+
const output = typeof promptData === 'object' && promptData !== null
|
|
543
|
+
? { schema_version: SCHEMA_VERSION, ...promptData }
|
|
544
|
+
: promptData;
|
|
545
|
+
await atomicWriteJSON(promptsPath, output);
|
|
358
546
|
}
|
|
359
547
|
// =============================================================================
|
|
360
548
|
// SUMMARY GENERATION (Tier 1 - Hot Context for LLMs)
|
|
@@ -369,11 +557,12 @@ const AI_PROVIDER_NAMES = new Set([
|
|
|
369
557
|
* Build a concise markdown summary with pointers to detail files.
|
|
370
558
|
* This is the "hot context" an LLM reads first on cold start.
|
|
371
559
|
*/
|
|
372
|
-
export async function buildSummary(config, projectRoot, promptScan, projectMetadata) {
|
|
560
|
+
export async function buildSummary(config, projectRoot, promptScan, projectMetadata, latestDiff, gitInfo, data) {
|
|
373
561
|
const cfg = config || getConfig();
|
|
374
562
|
const root = projectRoot || process.cwd();
|
|
375
|
-
|
|
376
|
-
const
|
|
563
|
+
// R6: prefer in-memory data when provided (scanner path). See buildIndex.
|
|
564
|
+
const components = data?.components ?? (await loadAllComponents(cfg, root));
|
|
565
|
+
const connections = data?.connections ?? (await loadAllConnections(cfg, root));
|
|
377
566
|
const now = new Date().toISOString();
|
|
378
567
|
const aiComponents = components.filter((c) => AI_PROVIDER_NAMES.has(c.name) || c.type === 'llm' || c.type === 'service');
|
|
379
568
|
// Group components by layer
|
|
@@ -384,11 +573,38 @@ export async function buildSummary(config, projectRoot, promptScan, projectMetad
|
|
|
384
573
|
byLayer.set(layer, []);
|
|
385
574
|
byLayer.get(layer).push(c);
|
|
386
575
|
}
|
|
576
|
+
// Sort each layer by architectural importance (production-critical first, noise last)
|
|
577
|
+
const criticalTypes = new Set(['database', 'queue', 'llm', 'framework', 'infra', 'service', 'cron']);
|
|
578
|
+
const isNoiseComponent = (c) => {
|
|
579
|
+
const file = c.source.config_files[0]?.toLowerCase() || c.name.toLowerCase();
|
|
580
|
+
return /(_archive|__tests__|\.test\.|\.spec\.|\/tests\/|\/scripts\/|\/examples?\/|\/dist\/|\/mock|\.example\.)/.test(file) ||
|
|
581
|
+
c.name.startsWith('_archive') || c.name.endsWith('.test') || c.name.endsWith('.spec');
|
|
582
|
+
};
|
|
583
|
+
for (const [, group] of byLayer) {
|
|
584
|
+
group.sort((a, b) => {
|
|
585
|
+
const aIsCritical = criticalTypes.has(a.type) ? 0 : 1;
|
|
586
|
+
const bIsCritical = criticalTypes.has(b.type) ? 0 : 1;
|
|
587
|
+
if (aIsCritical !== bIsCritical)
|
|
588
|
+
return aIsCritical - bIsCritical;
|
|
589
|
+
const aIsNoise = isNoiseComponent(a) ? 1 : 0;
|
|
590
|
+
const bIsNoise = isNoiseComponent(b) ? 1 : 0;
|
|
591
|
+
if (aIsNoise !== bIsNoise)
|
|
592
|
+
return aIsNoise - bIsNoise;
|
|
593
|
+
const aConns = a.connects_to.length + a.connected_from.length;
|
|
594
|
+
const bConns = b.connects_to.length + b.connected_from.length;
|
|
595
|
+
if (bConns !== aConns)
|
|
596
|
+
return bConns - aConns;
|
|
597
|
+
return a.name.localeCompare(b.name);
|
|
598
|
+
});
|
|
599
|
+
}
|
|
387
600
|
// Build markdown
|
|
388
601
|
const lines = [];
|
|
389
602
|
lines.push('# Architecture Summary');
|
|
390
603
|
lines.push(`> NavGator auto-generated | Scanned: ${now}`);
|
|
391
604
|
lines.push(`> ${components.length} components | ${connections.length} connections | ${aiComponents.length} AI providers`);
|
|
605
|
+
if (gitInfo) {
|
|
606
|
+
lines.push(`> Branch: **${gitInfo.branch}** @ \`${gitInfo.commit}\``);
|
|
607
|
+
}
|
|
392
608
|
lines.push('');
|
|
393
609
|
// Project metadata (agent orientation)
|
|
394
610
|
if (projectMetadata && projectMetadata.type) {
|
|
@@ -428,7 +644,7 @@ export async function buildSummary(config, projectRoot, promptScan, projectMetad
|
|
|
428
644
|
// Components by layer
|
|
429
645
|
lines.push('## Components');
|
|
430
646
|
lines.push('');
|
|
431
|
-
const layerOrder = ['frontend', 'backend', 'database', 'queue', 'infra', 'external'];
|
|
647
|
+
const layerOrder = ['frontend', 'backend', 'database', 'queue', 'infra', 'content', 'external'];
|
|
432
648
|
for (const layer of layerOrder) {
|
|
433
649
|
const group = byLayer.get(layer);
|
|
434
650
|
if (!group || group.length === 0)
|
|
@@ -440,6 +656,63 @@ export async function buildSummary(config, projectRoot, promptScan, projectMetad
|
|
|
440
656
|
}
|
|
441
657
|
lines.push('');
|
|
442
658
|
}
|
|
659
|
+
// Top by PageRank + Mermaid cluster diagram (T6)
|
|
660
|
+
// Reads metrics.json produced by computeAndStoreMetrics during scan.
|
|
661
|
+
try {
|
|
662
|
+
const metricsPath = path.join(getStoragePath(cfg, root), 'metrics.json');
|
|
663
|
+
if (fs.existsSync(metricsPath)) {
|
|
664
|
+
const raw = await fs.promises.readFile(metricsPath, 'utf-8');
|
|
665
|
+
const report = JSON.parse(raw);
|
|
666
|
+
if (!report.suppressed && report.metrics.length > 0) {
|
|
667
|
+
lines.push('## Top by PageRank');
|
|
668
|
+
lines.push(`> ${report.community_count} communities · modularity ${report.modularity?.toFixed(3) ?? 'n/a'}`);
|
|
669
|
+
lines.push('');
|
|
670
|
+
lines.push('| # | Component | PageRank | Community |');
|
|
671
|
+
lines.push('|---|-----------|---------:|----------:|');
|
|
672
|
+
const top = report.metrics.slice(0, 10);
|
|
673
|
+
top.forEach((m, i) => {
|
|
674
|
+
lines.push(`| ${i + 1} | \`${m.name}\` | ${m.pagerank_score.toFixed(4)} | ${m.community_id} |`);
|
|
675
|
+
});
|
|
676
|
+
lines.push('');
|
|
677
|
+
// Inline Mermaid cluster diagram — top 5 communities by PageRank-weighted size.
|
|
678
|
+
const byCommunity = new Map();
|
|
679
|
+
for (const m of report.metrics) {
|
|
680
|
+
if (!byCommunity.has(m.community_id))
|
|
681
|
+
byCommunity.set(m.community_id, []);
|
|
682
|
+
byCommunity.get(m.community_id).push(m);
|
|
683
|
+
}
|
|
684
|
+
const ranked = [...byCommunity.entries()]
|
|
685
|
+
.map(([id, members]) => ({
|
|
686
|
+
id,
|
|
687
|
+
members,
|
|
688
|
+
score: members.reduce((sum, x) => sum + x.pagerank_score, 0),
|
|
689
|
+
}))
|
|
690
|
+
.sort((a, b) => b.score - a.score)
|
|
691
|
+
.slice(0, 5);
|
|
692
|
+
if (ranked.length > 0) {
|
|
693
|
+
const sanitize = (s) => s.replace(/[^a-zA-Z0-9_-]/g, '_').slice(0, 40);
|
|
694
|
+
lines.push('## Cluster Diagram');
|
|
695
|
+
lines.push('```mermaid');
|
|
696
|
+
lines.push('flowchart LR');
|
|
697
|
+
for (const cluster of ranked) {
|
|
698
|
+
const top3 = cluster.members
|
|
699
|
+
.sort((a, b) => b.pagerank_score - a.pagerank_score)
|
|
700
|
+
.slice(0, 3);
|
|
701
|
+
lines.push(` subgraph C${cluster.id}["Community ${cluster.id} (${cluster.members.length} nodes)"]`);
|
|
702
|
+
for (const m of top3) {
|
|
703
|
+
lines.push(` ${sanitize(m.component_id)}["${m.name}"]`);
|
|
704
|
+
}
|
|
705
|
+
lines.push(' end');
|
|
706
|
+
}
|
|
707
|
+
lines.push('```');
|
|
708
|
+
lines.push('');
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
catch {
|
|
714
|
+
// metrics.json missing or malformed — silent skip; legacy scans may not have it.
|
|
715
|
+
}
|
|
443
716
|
// AI/LLM routing table
|
|
444
717
|
if (aiComponents.length > 0 || connections.some((c) => c.connection_type === 'service-call')) {
|
|
445
718
|
lines.push('## AI/LLM Routing');
|
|
@@ -480,31 +753,88 @@ export async function buildSummary(config, projectRoot, promptScan, projectMetad
|
|
|
480
753
|
}
|
|
481
754
|
lines.push('');
|
|
482
755
|
}
|
|
483
|
-
|
|
756
|
+
const hotspots = getTopHotspots(components, connections, 5);
|
|
757
|
+
if (hotspots.length > 0) {
|
|
758
|
+
lines.push('## Hotspots');
|
|
759
|
+
lines.push('> Highest fan-in internal modules. Changes here ripple broadly.');
|
|
760
|
+
lines.push('');
|
|
761
|
+
for (const hotspot of hotspots) {
|
|
762
|
+
const file = hotspot.component.source.config_files?.[0];
|
|
763
|
+
lines.push(`- **${hotspot.component.name}** — ${hotspot.count} dependents${file ? ` (${file})` : ''}`);
|
|
764
|
+
}
|
|
765
|
+
lines.push('');
|
|
766
|
+
}
|
|
767
|
+
const fanOut = getTopFanOut(components, connections, 5).filter((entry) => entry.count >= 5);
|
|
768
|
+
if (fanOut.length > 0) {
|
|
769
|
+
lines.push('## Fan-Out Risks');
|
|
770
|
+
lines.push('> High fan-out modules often accumulate too many responsibilities.');
|
|
771
|
+
lines.push('');
|
|
772
|
+
for (const entry of fanOut) {
|
|
773
|
+
const file = entry.component.source.config_files?.[0];
|
|
774
|
+
lines.push(`- **${entry.component.name}** — imports ${entry.count} modules${file ? ` (${file})` : ''}`);
|
|
775
|
+
}
|
|
776
|
+
lines.push('');
|
|
777
|
+
}
|
|
778
|
+
const layerViolations = detectLayerViolations(components, connections);
|
|
779
|
+
lines.push('## Layer Health');
|
|
780
|
+
if (layerViolations.length === 0) {
|
|
781
|
+
lines.push('- No upward import violations detected from inferred internal layers.');
|
|
782
|
+
}
|
|
783
|
+
else {
|
|
784
|
+
for (const violation of layerViolations.slice(0, 5)) {
|
|
785
|
+
const file = violation.connection.code_reference?.file || violation.from.source.config_files?.[0] || '';
|
|
786
|
+
const line = violation.connection.code_reference?.line_start ? `:${violation.connection.code_reference.line_start}` : '';
|
|
787
|
+
lines.push(`- ${violation.from.name} → ${violation.to.name} (${file}${line}) crosses from tier ${violation.fromTier} to ${violation.toTier}`);
|
|
788
|
+
}
|
|
789
|
+
if (layerViolations.length > 5) {
|
|
790
|
+
lines.push(`- ... and ${layerViolations.length - 5} more`);
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
lines.push('');
|
|
794
|
+
const cycles = detectImportCycles(components, connections, 5);
|
|
795
|
+
lines.push('## Circular Dependencies');
|
|
796
|
+
if (cycles.length === 0) {
|
|
797
|
+
lines.push('- No import cycles detected.');
|
|
798
|
+
}
|
|
799
|
+
else {
|
|
800
|
+
for (const cycle of cycles) {
|
|
801
|
+
lines.push(`- ${cycle.join(' → ')}`);
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
lines.push('');
|
|
805
|
+
// Delta — use structured diff from timeline if available, else fall back to naive comparison
|
|
484
806
|
const summaryPath = getSummaryPath(cfg, root);
|
|
485
|
-
if (
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
lines.push(`- Added: \`${c.name}\` (${c.role.layer})`);
|
|
807
|
+
if (latestDiff && latestDiff.diff.stats.total_changes > 0) {
|
|
808
|
+
const { formatDiffForSummary } = await import('./diff.js');
|
|
809
|
+
const diffLines = formatDiffForSummary(latestDiff);
|
|
810
|
+
lines.push(...diffLines);
|
|
811
|
+
}
|
|
812
|
+
else if (!latestDiff) {
|
|
813
|
+
// Fallback: naive text-based delta for backwards compatibility (no timeline entry provided)
|
|
814
|
+
if (fs.existsSync(summaryPath)) {
|
|
815
|
+
try {
|
|
816
|
+
const prev = await fs.promises.readFile(summaryPath, 'utf-8');
|
|
817
|
+
const prevNames = new Set();
|
|
818
|
+
for (const match of prev.matchAll(/^- \*\*(.+?)\*\*/gm)) {
|
|
819
|
+
prevNames.add(match[1]);
|
|
499
820
|
}
|
|
500
|
-
|
|
501
|
-
|
|
821
|
+
const currentNames = new Set(components.map((c) => c.name));
|
|
822
|
+
const added = components.filter((c) => !prevNames.has(c.name));
|
|
823
|
+
const removed = [...prevNames].filter((n) => !currentNames.has(n));
|
|
824
|
+
if (added.length > 0 || removed.length > 0) {
|
|
825
|
+
lines.push('## Changes Since Last Scan');
|
|
826
|
+
for (const c of added) {
|
|
827
|
+
lines.push(`- Added: \`${c.name}\` (${c.role.layer})`);
|
|
828
|
+
}
|
|
829
|
+
for (const name of removed) {
|
|
830
|
+
lines.push(`- Removed: \`${name}\``);
|
|
831
|
+
}
|
|
832
|
+
lines.push('');
|
|
502
833
|
}
|
|
503
|
-
lines.push('');
|
|
504
834
|
}
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
835
|
+
catch {
|
|
836
|
+
// First scan or parse error — skip delta
|
|
837
|
+
}
|
|
508
838
|
}
|
|
509
839
|
}
|
|
510
840
|
// Prompts section (pointers only — full content in prompts.json)
|
|
@@ -530,6 +860,7 @@ export async function buildSummary(config, projectRoot, promptScan, projectMetad
|
|
|
530
860
|
lines.push(`- Full index: \`index.json\``);
|
|
531
861
|
lines.push(`- Connection graph: \`graph.json\``);
|
|
532
862
|
lines.push(`- File map: \`file_map.json\``);
|
|
863
|
+
lines.push(`- Architecture timeline: \`timeline.json\``);
|
|
533
864
|
if (promptScan && promptScan.prompts.length > 0) {
|
|
534
865
|
lines.push(`- Prompts: \`prompts.json\` (${promptScan.prompts.length} prompts, full content)`);
|
|
535
866
|
}
|
|
@@ -540,14 +871,14 @@ export async function buildSummary(config, projectRoot, promptScan, projectMetad
|
|
|
540
871
|
const lineCount = lines.length;
|
|
541
872
|
const COMPRESSION_THRESHOLD = 150;
|
|
542
873
|
if (lineCount > COMPRESSION_THRESHOLD) {
|
|
543
|
-
// Write full version to
|
|
874
|
+
// Write full version to NAVSUMMARY_FULL.md
|
|
544
875
|
const fullPath = getSummaryFullPath(cfg, root);
|
|
545
876
|
await fs.promises.writeFile(fullPath, fullContent, 'utf-8');
|
|
546
877
|
// Build compressed version: top 10 per layer, AI routing, top 10 connections
|
|
547
878
|
const compressed = [];
|
|
548
879
|
compressed.push('# Architecture Summary (Compressed)');
|
|
549
880
|
compressed.push('');
|
|
550
|
-
compressed.push('> **This is a compressed summary.** Full version: `
|
|
881
|
+
compressed.push('> **This is a compressed summary.** Full version: `NAVSUMMARY_FULL.md`');
|
|
551
882
|
compressed.push('');
|
|
552
883
|
compressed.push(`> NavGator auto-generated | Scanned: ${now}`);
|
|
553
884
|
compressed.push(`> ${components.length} components | ${connections.length} connections | ${aiComponents.length} AI providers`);
|
|
@@ -568,11 +899,33 @@ export async function buildSummary(config, projectRoot, promptScan, projectMetad
|
|
|
568
899
|
compressed.push(`- **${c.name}**${ver} — ${c.role.purpose} \`components/${c.component_id}.json\``);
|
|
569
900
|
}
|
|
570
901
|
if (group.length > 10) {
|
|
571
|
-
compressed.push(`- ... and ${group.length - 10} more (see
|
|
902
|
+
compressed.push(`- ... and ${group.length - 10} more (see NAVSUMMARY_FULL.md)`);
|
|
572
903
|
}
|
|
573
904
|
compressed.push('');
|
|
574
905
|
}
|
|
575
906
|
}
|
|
907
|
+
// Top by PageRank (compressed: top 5 + 1 Mermaid block)
|
|
908
|
+
try {
|
|
909
|
+
const metricsPath = path.join(getStoragePath(cfg, root), 'metrics.json');
|
|
910
|
+
if (fs.existsSync(metricsPath)) {
|
|
911
|
+
const raw = await fs.promises.readFile(metricsPath, 'utf-8');
|
|
912
|
+
const report = JSON.parse(raw);
|
|
913
|
+
if (!report.suppressed && report.metrics.length > 0) {
|
|
914
|
+
compressed.push('## Top by PageRank');
|
|
915
|
+
compressed.push(`> ${report.community_count} communities · modularity ${report.modularity?.toFixed(3) ?? 'n/a'}`);
|
|
916
|
+
compressed.push('');
|
|
917
|
+
compressed.push('| # | Component | PageRank | Community |');
|
|
918
|
+
compressed.push('|---|-----------|---------:|----------:|');
|
|
919
|
+
report.metrics.slice(0, 5).forEach((m, i) => {
|
|
920
|
+
compressed.push(`| ${i + 1} | \`${m.name}\` | ${m.pagerank_score.toFixed(4)} | ${m.community_id} |`);
|
|
921
|
+
});
|
|
922
|
+
compressed.push('');
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
catch {
|
|
927
|
+
// metrics.json missing or malformed — silent skip.
|
|
928
|
+
}
|
|
576
929
|
// AI/LLM routing table (preserved in compressed version)
|
|
577
930
|
if (aiComponents.length > 0 || connections.some((c) => c.connection_type === 'service-call')) {
|
|
578
931
|
compressed.push('## AI/LLM Routing');
|
|
@@ -592,7 +945,7 @@ export async function buildSummary(config, projectRoot, promptScan, projectMetad
|
|
|
592
945
|
compressed.push(`| ${target?.name || '?'} | ${file} | ${line} | ${purpose} | \`connections/${conn.connection_id}.json\` |`);
|
|
593
946
|
}
|
|
594
947
|
if (aiConnections.length > 10) {
|
|
595
|
-
compressed.push(`| ... | | | ${aiConnections.length - 10} more (see
|
|
948
|
+
compressed.push(`| ... | | | ${aiConnections.length - 10} more (see NAVSUMMARY_FULL.md) | |`);
|
|
596
949
|
}
|
|
597
950
|
// AI components with no connections
|
|
598
951
|
for (const c of aiComponents) {
|
|
@@ -604,6 +957,33 @@ export async function buildSummary(config, projectRoot, promptScan, projectMetad
|
|
|
604
957
|
}
|
|
605
958
|
compressed.push('');
|
|
606
959
|
}
|
|
960
|
+
// Runtime Topology section
|
|
961
|
+
const withRuntime = components.filter(c => c.runtime?.resource_type);
|
|
962
|
+
if (withRuntime.length > 0) {
|
|
963
|
+
compressed.push('## Runtime Topology');
|
|
964
|
+
const rtSeen = new Set();
|
|
965
|
+
for (const c of withRuntime) {
|
|
966
|
+
const r = c.runtime;
|
|
967
|
+
if (r.resource_type === 'api')
|
|
968
|
+
continue; // skip noisy env var URLs
|
|
969
|
+
const engine = r.engine || c.name;
|
|
970
|
+
const host = r.endpoint?.host ? ` @ ${r.endpoint.host}${r.endpoint.port ? ':' + r.endpoint.port : ''}` : '';
|
|
971
|
+
const env = r.connection_env_var ? ` (via ${r.connection_env_var})` : '';
|
|
972
|
+
const rtLine = `- **${r.resource_type}**: ${engine}${host}${env}`;
|
|
973
|
+
if (!rtSeen.has(rtLine)) {
|
|
974
|
+
rtSeen.add(rtLine);
|
|
975
|
+
compressed.push(rtLine);
|
|
976
|
+
}
|
|
977
|
+
}
|
|
978
|
+
// Queue names as a group
|
|
979
|
+
const queueComps = withRuntime.filter(c => c.runtime?.resource_type === 'queue');
|
|
980
|
+
if (queueComps.length > 0) {
|
|
981
|
+
const queueNames = queueComps.map(c => c.runtime?.service_name || c.name).join(', ');
|
|
982
|
+
const engine = queueComps[0].runtime?.engine || 'queue';
|
|
983
|
+
compressed.push(`- **queues**: ${queueNames} (${engine})`);
|
|
984
|
+
}
|
|
985
|
+
compressed.push('');
|
|
986
|
+
}
|
|
607
987
|
// Connections (top 10)
|
|
608
988
|
if (connections.length > 0) {
|
|
609
989
|
const maxConns = Math.min(connections.length, 10);
|
|
@@ -618,6 +998,40 @@ export async function buildSummary(config, projectRoot, promptScan, projectMetad
|
|
|
618
998
|
}
|
|
619
999
|
compressed.push('');
|
|
620
1000
|
}
|
|
1001
|
+
if (hotspots.length > 0) {
|
|
1002
|
+
compressed.push('## Hotspots');
|
|
1003
|
+
for (const hotspot of hotspots) {
|
|
1004
|
+
compressed.push(`- **${hotspot.component.name}** — ${hotspot.count} dependents`);
|
|
1005
|
+
}
|
|
1006
|
+
compressed.push('');
|
|
1007
|
+
}
|
|
1008
|
+
if (fanOut.length > 0) {
|
|
1009
|
+
compressed.push('## Fan-Out Risks');
|
|
1010
|
+
for (const entry of fanOut) {
|
|
1011
|
+
compressed.push(`- **${entry.component.name}** — imports ${entry.count} modules`);
|
|
1012
|
+
}
|
|
1013
|
+
compressed.push('');
|
|
1014
|
+
}
|
|
1015
|
+
compressed.push('## Layer Health');
|
|
1016
|
+
if (layerViolations.length === 0) {
|
|
1017
|
+
compressed.push('- No upward import violations detected.');
|
|
1018
|
+
}
|
|
1019
|
+
else {
|
|
1020
|
+
for (const violation of layerViolations.slice(0, 5)) {
|
|
1021
|
+
compressed.push(`- ${violation.from.name} → ${violation.to.name} crosses from tier ${violation.fromTier} to ${violation.toTier}`);
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
compressed.push('');
|
|
1025
|
+
compressed.push('## Circular Dependencies');
|
|
1026
|
+
if (cycles.length === 0) {
|
|
1027
|
+
compressed.push('- No import cycles detected.');
|
|
1028
|
+
}
|
|
1029
|
+
else {
|
|
1030
|
+
for (const cycle of cycles) {
|
|
1031
|
+
compressed.push(`- ${cycle.join(' → ')}`);
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
1034
|
+
compressed.push('');
|
|
621
1035
|
// Add prompts pointer if available
|
|
622
1036
|
if (promptScan && promptScan.prompts.length > 0) {
|
|
623
1037
|
compressed.push(`## Prompts (${promptScan.prompts.length}) — full content: \`prompts.json\``);
|
|
@@ -637,7 +1051,7 @@ export async function buildSummary(config, projectRoot, promptScan, projectMetad
|
|
|
637
1051
|
compressed.push('');
|
|
638
1052
|
}
|
|
639
1053
|
compressed.push('## Detail Pointers');
|
|
640
|
-
compressed.push('- **Full summary**: `
|
|
1054
|
+
compressed.push('- **Full summary**: `NAVSUMMARY_FULL.md`');
|
|
641
1055
|
compressed.push(`- Full index: \`index.json\``);
|
|
642
1056
|
compressed.push(`- Connection graph: \`graph.json\``);
|
|
643
1057
|
compressed.push(`- File map: \`file_map.json\``);
|
|
@@ -681,10 +1095,16 @@ export async function createSnapshot(reason, config, projectRoot) {
|
|
|
681
1095
|
ensureStorageDirectories(cfg, projectRoot);
|
|
682
1096
|
const components = await loadAllComponents(cfg, projectRoot);
|
|
683
1097
|
const connections = await loadAllConnections(cfg, projectRoot);
|
|
1098
|
+
// Build component_id → name lookup for connection name resolution
|
|
1099
|
+
const componentIdToName = new Map();
|
|
1100
|
+
for (const c of components) {
|
|
1101
|
+
componentIdToName.set(c.component_id, c.name);
|
|
1102
|
+
}
|
|
684
1103
|
const timestamp = Date.now();
|
|
685
1104
|
const snapshotId = `SNAP_${new Date(timestamp).toISOString().replace(/[-:T.Z]/g, '').slice(0, 14)}`;
|
|
686
1105
|
const snapshot = {
|
|
687
1106
|
snapshot_id: snapshotId,
|
|
1107
|
+
snapshot_version: '2.0',
|
|
688
1108
|
timestamp,
|
|
689
1109
|
reason,
|
|
690
1110
|
components: components.map((c) => ({
|
|
@@ -693,12 +1113,17 @@ export async function createSnapshot(reason, config, projectRoot) {
|
|
|
693
1113
|
type: c.type,
|
|
694
1114
|
version: c.version,
|
|
695
1115
|
status: c.status,
|
|
1116
|
+
layer: c.role.layer,
|
|
1117
|
+
critical: c.role.critical,
|
|
696
1118
|
})),
|
|
697
1119
|
connections: connections.map((c) => ({
|
|
698
1120
|
connection_id: c.connection_id,
|
|
699
1121
|
from: c.from.component_id,
|
|
700
1122
|
to: c.to.component_id,
|
|
701
1123
|
type: c.connection_type,
|
|
1124
|
+
from_name: componentIdToName.get(c.from.component_id) || '?',
|
|
1125
|
+
to_name: componentIdToName.get(c.to.component_id) || '?',
|
|
1126
|
+
file: c.code_reference?.file,
|
|
702
1127
|
})),
|
|
703
1128
|
stats: {
|
|
704
1129
|
total_components: components.length,
|
|
@@ -717,10 +1142,24 @@ export async function createSnapshot(reason, config, projectRoot) {
|
|
|
717
1142
|
// BULK OPERATIONS
|
|
718
1143
|
// =============================================================================
|
|
719
1144
|
/**
|
|
720
|
-
* Store multiple components at once (parallelized for efficiency)
|
|
1145
|
+
* Store multiple components at once (parallelized for efficiency).
|
|
1146
|
+
*
|
|
1147
|
+
* R6 footprint fix: writes are gated on `config.perEntityFiles` (default
|
|
1148
|
+
* false). When disabled, the consolidated `graph.json`, `index.json`,
|
|
1149
|
+
* `file_map.json`, and `connections.jsonl` are the source of truth and we
|
|
1150
|
+
* skip the per-entity file explosion (~2,475 files × ~3KB each on
|
|
1151
|
+
* the benchmark repo). Component IDs are still stamped onto the in-memory objects
|
|
1152
|
+
* so callers (graph builder, index writer) get stable IDs.
|
|
721
1153
|
*/
|
|
722
1154
|
export async function storeComponents(components, config, projectRoot) {
|
|
723
1155
|
const cfg = config || getConfig();
|
|
1156
|
+
// Stamp stable IDs regardless of write mode — downstream consumers
|
|
1157
|
+
// (graph.json, index.json, file_map.json) depend on these.
|
|
1158
|
+
for (const component of components) {
|
|
1159
|
+
ensureStableId(component);
|
|
1160
|
+
}
|
|
1161
|
+
if (!cfg.perEntityFiles)
|
|
1162
|
+
return;
|
|
724
1163
|
ensureStorageDirectories(cfg, projectRoot);
|
|
725
1164
|
const componentsPath = getComponentsPath(cfg, projectRoot);
|
|
726
1165
|
// Parallelize writes in batches to avoid overwhelming the filesystem
|
|
@@ -729,15 +1168,22 @@ export async function storeComponents(components, config, projectRoot) {
|
|
|
729
1168
|
const batch = components.slice(i, i + batchSize);
|
|
730
1169
|
await Promise.all(batch.map(async (component) => {
|
|
731
1170
|
const filePath = path.join(componentsPath, `${component.component_id}.json`);
|
|
732
|
-
await
|
|
1171
|
+
await atomicWriteJSON(filePath, component);
|
|
733
1172
|
}));
|
|
734
1173
|
}
|
|
735
1174
|
}
|
|
736
1175
|
/**
|
|
737
|
-
* Store multiple connections at once (parallelized for efficiency)
|
|
1176
|
+
* Store multiple connections at once (parallelized for efficiency).
|
|
1177
|
+
*
|
|
1178
|
+
* R6 footprint fix: writes are gated on `config.perEntityFiles` (default
|
|
1179
|
+
* false). When disabled, `connections.jsonl` + `reverse-deps.json` are the
|
|
1180
|
+
* source of truth and we skip the per-edge file explosion (~6,737 files
|
|
1181
|
+
* on the benchmark repo).
|
|
738
1182
|
*/
|
|
739
1183
|
export async function storeConnections(connections, config, projectRoot) {
|
|
740
1184
|
const cfg = config || getConfig();
|
|
1185
|
+
if (!cfg.perEntityFiles)
|
|
1186
|
+
return;
|
|
741
1187
|
ensureStorageDirectories(cfg, projectRoot);
|
|
742
1188
|
const connectionsPath = getConnectionsPath(cfg, projectRoot);
|
|
743
1189
|
// Parallelize writes in batches to avoid overwhelming the filesystem
|
|
@@ -746,10 +1192,59 @@ export async function storeConnections(connections, config, projectRoot) {
|
|
|
746
1192
|
const batch = connections.slice(i, i + batchSize);
|
|
747
1193
|
await Promise.all(batch.map(async (connection) => {
|
|
748
1194
|
const filePath = path.join(connectionsPath, `${connection.connection_id}.json`);
|
|
749
|
-
await
|
|
1195
|
+
await atomicWriteJSON(filePath, connection);
|
|
750
1196
|
}));
|
|
751
1197
|
}
|
|
752
1198
|
}
|
|
1199
|
+
/**
|
|
1200
|
+
* R6 footprint fix: idempotent migration that removes legacy per-entity
|
|
1201
|
+
* JSON files when `perEntityFiles` is disabled (the default).
|
|
1202
|
+
*
|
|
1203
|
+
* Safety: this NEVER deletes the consolidated files (graph.json, index.json,
|
|
1204
|
+
* file_map.json, connections.jsonl, reverse-deps.json, NAVSUMMARY*.md,
|
|
1205
|
+
* hashes.json, timeline.json, etc.). It only touches the contents of the
|
|
1206
|
+
* `components/` and `connections/` subdirectories and removes those
|
|
1207
|
+
* directories themselves once empty. If `perEntityFiles` is true, this is
|
|
1208
|
+
* a no-op.
|
|
1209
|
+
*
|
|
1210
|
+
* Returns a count summary for caller logging.
|
|
1211
|
+
*/
|
|
1212
|
+
export async function migratePerEntityFiles(config, projectRoot) {
|
|
1213
|
+
const cfg = config || getConfig();
|
|
1214
|
+
const summary = { componentsRemoved: 0, connectionsRemoved: 0, dirsRemoved: 0 };
|
|
1215
|
+
// Per-entity mode is on — nothing to migrate; let the writer manage these
|
|
1216
|
+
// dirs as before.
|
|
1217
|
+
if (cfg.perEntityFiles)
|
|
1218
|
+
return summary;
|
|
1219
|
+
for (const dir of [getComponentsPath(cfg, projectRoot), getConnectionsPath(cfg, projectRoot)]) {
|
|
1220
|
+
if (!fs.existsSync(dir))
|
|
1221
|
+
continue;
|
|
1222
|
+
try {
|
|
1223
|
+
const entries = await fs.promises.readdir(dir);
|
|
1224
|
+
const jsonFiles = entries.filter((f) => f.endsWith('.json'));
|
|
1225
|
+
const isComponentsDir = dir.endsWith(`${path.sep}components`) || dir.endsWith('/components');
|
|
1226
|
+
// Delete only `.json` files (legacy per-entity payload). Any other
|
|
1227
|
+
// files (e.g. README, future schema markers) are left untouched.
|
|
1228
|
+
await Promise.all(jsonFiles.map((file) => fs.promises.unlink(path.join(dir, file)).catch(() => { })));
|
|
1229
|
+
if (isComponentsDir)
|
|
1230
|
+
summary.componentsRemoved += jsonFiles.length;
|
|
1231
|
+
else
|
|
1232
|
+
summary.connectionsRemoved += jsonFiles.length;
|
|
1233
|
+
// If the dir is now empty, remove it. Best-effort — leave it if other
|
|
1234
|
+
// files exist (the *.json filter above means non-json siblings survive).
|
|
1235
|
+
const remaining = await fs.promises.readdir(dir);
|
|
1236
|
+
if (remaining.length === 0) {
|
|
1237
|
+
await fs.promises.rmdir(dir).catch(() => { });
|
|
1238
|
+
summary.dirsRemoved += 1;
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
catch {
|
|
1242
|
+
// Best-effort migration: failures (permissions, races) are swallowed
|
|
1243
|
+
// so they never block a scan. Next scan retries automatically.
|
|
1244
|
+
}
|
|
1245
|
+
}
|
|
1246
|
+
return summary;
|
|
1247
|
+
}
|
|
753
1248
|
/**
|
|
754
1249
|
* Clear all stored data (parallelized for efficiency)
|
|
755
1250
|
*/
|
|
@@ -777,6 +1272,14 @@ export async function clearStorage(config, projectRoot) {
|
|
|
777
1272
|
if (fs.existsSync(graphPath)) {
|
|
778
1273
|
deletePromises.push(fs.promises.unlink(graphPath).catch(() => { }));
|
|
779
1274
|
}
|
|
1275
|
+
// R6: delete consolidated full-shape JSONL files. These are always written
|
|
1276
|
+
// by the scanner (even when per-entity files are off) and are the primary
|
|
1277
|
+
// source for loadAllComponents / loadAllConnections. Leaving them behind
|
|
1278
|
+
// after clearStorage causes loadAll* to return stale data if a subsequent
|
|
1279
|
+
// scan crashes before rewriting them.
|
|
1280
|
+
const storeDir = getStoragePath(cfg, projectRoot);
|
|
1281
|
+
deletePromises.push(fs.promises.unlink(path.join(storeDir, 'components.full.jsonl')).catch(() => { }));
|
|
1282
|
+
deletePromises.push(fs.promises.unlink(path.join(storeDir, 'connections.full.jsonl')).catch(() => { }));
|
|
780
1283
|
await Promise.all(deletePromises);
|
|
781
1284
|
}
|
|
782
1285
|
// =============================================================================
|
|
@@ -882,7 +1385,7 @@ export async function saveHashes(hashes, config, projectRoot) {
|
|
|
882
1385
|
files: hashes,
|
|
883
1386
|
};
|
|
884
1387
|
const hashesPath = getHashesPath(cfg, root);
|
|
885
|
-
await
|
|
1388
|
+
await atomicWriteJSON(hashesPath, navHashes);
|
|
886
1389
|
}
|
|
887
1390
|
/**
|
|
888
1391
|
* Load file hashes from disk
|
|
@@ -948,6 +1451,438 @@ export async function detectFileChanges(currentFiles, projectRoot, config) {
|
|
|
948
1451
|
result.removed = Array.from(previousFiles);
|
|
949
1452
|
return result;
|
|
950
1453
|
}
|
|
1454
|
+
// =============================================================================
|
|
1455
|
+
// ATOMIC WRITES (Run 1 — D1)
|
|
1456
|
+
// =============================================================================
|
|
1457
|
+
/**
|
|
1458
|
+
* Atomically write a string to disk. Writes to `<target>.tmp` first, then
|
|
1459
|
+
* renames over `<target>`. fs.rename is atomic on POSIX within the same
|
|
1460
|
+
* filesystem, so a crashed mid-write leaves the prior file intact.
|
|
1461
|
+
*
|
|
1462
|
+
* Use this for any file that must remain readable during/after a scan
|
|
1463
|
+
* (index.json, graph.json, file_map.json, NAVSUMMARY.md, hashes.json).
|
|
1464
|
+
*/
|
|
1465
|
+
export async function atomicWriteFile(target, content, encoding = 'utf-8') {
|
|
1466
|
+
// The suffix must be unique PER CALL, not per millisecond. `pid + Date.now()`
|
|
1467
|
+
// collides for two writes in the same process in the same ms, and the loser's
|
|
1468
|
+
// rename lands a half-written file at `target` — reintroducing exactly the torn
|
|
1469
|
+
// read this helper exists to prevent. Measured at 8 concurrent writers on a
|
|
1470
|
+
// ~200KB payload: 123 of 400 rounds published unparseable JSON before the
|
|
1471
|
+
// random suffix was added.
|
|
1472
|
+
const tmp = `${target}.tmp.${process.pid}.${Date.now()}.${crypto.randomBytes(6).toString('hex')}`;
|
|
1473
|
+
await fs.promises.mkdir(path.dirname(target), { recursive: true });
|
|
1474
|
+
try {
|
|
1475
|
+
await fs.promises.writeFile(tmp, content, encoding);
|
|
1476
|
+
await fs.promises.rename(tmp, target);
|
|
1477
|
+
}
|
|
1478
|
+
catch (error) {
|
|
1479
|
+
// Without this the temp survives every failed write. On a real failure mode
|
|
1480
|
+
// (disk full, permission change, cross-device rename) each attempt leaks a
|
|
1481
|
+
// full copy of the payload beside the target.
|
|
1482
|
+
await fs.promises.rm(tmp, { force: true }).catch(() => { });
|
|
1483
|
+
throw error;
|
|
1484
|
+
}
|
|
1485
|
+
}
|
|
1486
|
+
/**
|
|
1487
|
+
* Atomically write a JSON-serializable value to disk (pretty-printed).
|
|
1488
|
+
*/
|
|
1489
|
+
export async function atomicWriteJSON(target, value) {
|
|
1490
|
+
await atomicWriteFile(target, JSON.stringify(value, null, 2), 'utf-8');
|
|
1491
|
+
}
|
|
1492
|
+
/** Normalize a scanner/storage path into the project-relative POSIX form. */
|
|
1493
|
+
export function normalizeTrackedPath(filePath, projectRoot) {
|
|
1494
|
+
const normalizedSeparators = filePath.replace(/\\/g, '/');
|
|
1495
|
+
const root = path.resolve(projectRoot);
|
|
1496
|
+
const absolute = path.isAbsolute(normalizedSeparators)
|
|
1497
|
+
? path.resolve(normalizedSeparators)
|
|
1498
|
+
: path.resolve(root, normalizedSeparators);
|
|
1499
|
+
const relative = path.relative(root, absolute).replace(/\\/g, '/');
|
|
1500
|
+
return relative.replace(/^\.\//, '');
|
|
1501
|
+
}
|
|
1502
|
+
/**
|
|
1503
|
+
* Partition the prior canonical generation in memory for an incremental scan.
|
|
1504
|
+
*
|
|
1505
|
+
* This is deliberately independent of the physical storage layout. With
|
|
1506
|
+
* consolidated storage enabled there are no per-entity files for
|
|
1507
|
+
* `clearForFiles` to remove, so reloading from disk would incorrectly restore
|
|
1508
|
+
* stale entities from `*.full.jsonl`. Source ownership is determined from a
|
|
1509
|
+
* component's config files and a connection's originating code reference (or
|
|
1510
|
+
* FROM component when the connection lacks a direct code reference).
|
|
1511
|
+
*/
|
|
1512
|
+
export function partitionPriorStateForFiles(components, connections, changedPaths, projectRoot) {
|
|
1513
|
+
const normalizedChanged = new Set(Array.from(changedPaths, (file) => normalizeTrackedPath(file, projectRoot)));
|
|
1514
|
+
const ownedComponentIds = new Set();
|
|
1515
|
+
const survivingComponents = components.filter((component) => {
|
|
1516
|
+
const owned = (component.source?.config_files ?? []).some((file) => normalizedChanged.has(normalizeTrackedPath(file, projectRoot)));
|
|
1517
|
+
if (owned)
|
|
1518
|
+
ownedComponentIds.add(component.component_id);
|
|
1519
|
+
return !owned;
|
|
1520
|
+
});
|
|
1521
|
+
const survivingConnections = connections.filter((connection) => {
|
|
1522
|
+
const sourceFile = connection.code_reference?.file;
|
|
1523
|
+
const ownedByFile = sourceFile
|
|
1524
|
+
? normalizedChanged.has(normalizeTrackedPath(sourceFile, projectRoot))
|
|
1525
|
+
: false;
|
|
1526
|
+
const ownedBySourceComponent = connection.from?.component_id
|
|
1527
|
+
? ownedComponentIds.has(connection.from.component_id)
|
|
1528
|
+
: false;
|
|
1529
|
+
return !ownedByFile && !ownedBySourceComponent;
|
|
1530
|
+
});
|
|
1531
|
+
return {
|
|
1532
|
+
survivingComponents,
|
|
1533
|
+
survivingConnections,
|
|
1534
|
+
componentsRemoved: components.length - survivingComponents.length,
|
|
1535
|
+
connectionsRemoved: connections.length - survivingConnections.length,
|
|
1536
|
+
};
|
|
1537
|
+
}
|
|
1538
|
+
/**
|
|
1539
|
+
* Clear only the components and connections whose source files overlap
|
|
1540
|
+
* `changedPaths`. Used by incremental scans so we re-emit just the touched
|
|
1541
|
+
* subset in the legacy per-entity layout.
|
|
1542
|
+
*
|
|
1543
|
+
* - For components: a component is cleared if any of its `source.config_files`
|
|
1544
|
+
* appears in `changedPaths`.
|
|
1545
|
+
* - For connections: a connection is cleared if its `code_reference.file`
|
|
1546
|
+
* appears in `changedPaths`. (We do NOT delete based on the target's
|
|
1547
|
+
* source files — that would over-clear.)
|
|
1548
|
+
*
|
|
1549
|
+
* This function is physical cleanup only. The scanner partitions its prior
|
|
1550
|
+
* canonical state in memory before calling this function; correctness must not
|
|
1551
|
+
* depend on per-entity files existing.
|
|
1552
|
+
*/
|
|
1553
|
+
export async function clearForFiles(config, projectRoot, changedPaths) {
|
|
1554
|
+
const cfg = config || getConfig();
|
|
1555
|
+
const componentsPath = getComponentsPath(cfg, projectRoot);
|
|
1556
|
+
const connectionsPath = getConnectionsPath(cfg, projectRoot);
|
|
1557
|
+
let componentsCleared = 0;
|
|
1558
|
+
let connectionsCleared = 0;
|
|
1559
|
+
if (changedPaths.size === 0) {
|
|
1560
|
+
return { componentsCleared, connectionsCleared };
|
|
1561
|
+
}
|
|
1562
|
+
const normalizedChanged = new Set(Array.from(changedPaths, (file) => normalizeTrackedPath(file, projectRoot ?? process.cwd())));
|
|
1563
|
+
const root = projectRoot ?? process.cwd();
|
|
1564
|
+
// Components: scan and delete those whose source.config_files overlap.
|
|
1565
|
+
if (fs.existsSync(componentsPath)) {
|
|
1566
|
+
const files = await fs.promises.readdir(componentsPath);
|
|
1567
|
+
await Promise.all(files.map(async (file) => {
|
|
1568
|
+
const fp = path.join(componentsPath, file);
|
|
1569
|
+
try {
|
|
1570
|
+
const content = await fs.promises.readFile(fp, 'utf-8');
|
|
1571
|
+
const c = JSON.parse(content);
|
|
1572
|
+
const sourceFiles = c.source?.config_files ?? [];
|
|
1573
|
+
for (const sf of sourceFiles) {
|
|
1574
|
+
if (normalizedChanged.has(normalizeTrackedPath(sf, root))) {
|
|
1575
|
+
await fs.promises.unlink(fp).catch(() => { });
|
|
1576
|
+
componentsCleared++;
|
|
1577
|
+
return;
|
|
1578
|
+
}
|
|
1579
|
+
}
|
|
1580
|
+
}
|
|
1581
|
+
catch {
|
|
1582
|
+
// Corrupt component file — leave alone; integrity check will catch it.
|
|
1583
|
+
}
|
|
1584
|
+
}));
|
|
1585
|
+
}
|
|
1586
|
+
// Connections: delete those whose origin file is in changedPaths.
|
|
1587
|
+
if (fs.existsSync(connectionsPath)) {
|
|
1588
|
+
const files = await fs.promises.readdir(connectionsPath);
|
|
1589
|
+
await Promise.all(files.map(async (file) => {
|
|
1590
|
+
const fp = path.join(connectionsPath, file);
|
|
1591
|
+
try {
|
|
1592
|
+
const content = await fs.promises.readFile(fp, 'utf-8');
|
|
1593
|
+
const c = JSON.parse(content);
|
|
1594
|
+
const refFile = c.code_reference?.file;
|
|
1595
|
+
if (refFile && normalizedChanged.has(normalizeTrackedPath(refFile, root))) {
|
|
1596
|
+
await fs.promises.unlink(fp).catch(() => { });
|
|
1597
|
+
connectionsCleared++;
|
|
1598
|
+
}
|
|
1599
|
+
}
|
|
1600
|
+
catch {
|
|
1601
|
+
// Corrupt connection — leave alone.
|
|
1602
|
+
}
|
|
1603
|
+
}));
|
|
1604
|
+
}
|
|
1605
|
+
return { componentsCleared, connectionsCleared };
|
|
1606
|
+
}
|
|
1607
|
+
/**
|
|
1608
|
+
* Merge two arrays by stable_id, keeping the incoming entry on collision
|
|
1609
|
+
* (incoming wins because it's the freshly-scanned version of that entity).
|
|
1610
|
+
*
|
|
1611
|
+
* Generic over T because we use it for both components (keyed by stable_id)
|
|
1612
|
+
* and connections (keyed by composite from|to|type|file:line). Caller
|
|
1613
|
+
* supplies the key picker.
|
|
1614
|
+
*/
|
|
1615
|
+
export function mergeByStableId(existing, incoming, pickKey) {
|
|
1616
|
+
const merged = new Map();
|
|
1617
|
+
for (const e of existing) {
|
|
1618
|
+
const k = pickKey(e);
|
|
1619
|
+
if (k)
|
|
1620
|
+
merged.set(k, e);
|
|
1621
|
+
}
|
|
1622
|
+
for (const i of incoming) {
|
|
1623
|
+
const k = pickKey(i);
|
|
1624
|
+
if (k)
|
|
1625
|
+
merged.set(k, i); // incoming overwrites
|
|
1626
|
+
}
|
|
1627
|
+
return Array.from(merged.values());
|
|
1628
|
+
}
|
|
1629
|
+
/**
|
|
1630
|
+
* Load only the connections whose target component's source files include
|
|
1631
|
+
* any path in `changedFiles`. Returns the set of FROM-side source files —
|
|
1632
|
+
* i.e. files that import / depend on something in changedFiles.
|
|
1633
|
+
*
|
|
1634
|
+
* This is the reverse-dependency walk used by selectScanMode to widen the
|
|
1635
|
+
* incremental walk-set so changes to a leaf module re-scan the modules
|
|
1636
|
+
* that depend on it.
|
|
1637
|
+
*
|
|
1638
|
+
* Single-level only. Acceptable for Run 1; deeper transitivity is part of
|
|
1639
|
+
* Run 2's SQC audit layer.
|
|
1640
|
+
*
|
|
1641
|
+
* ALIASED IMPORTS (Run 1.6 — item #7 verify): connection target paths are
|
|
1642
|
+
* stored as RESOLVED, project-relative paths. The import scanner
|
|
1643
|
+
* (`src/scanners/connections/import-scanner.ts:resolveImport`) maps tsconfig
|
|
1644
|
+
* `paths` aliases (e.g. `@/utils/foo`) and `~/`-style aliases to actual file
|
|
1645
|
+
* paths (`src/utils/foo.ts`) before constructing the connection. This means
|
|
1646
|
+
* matching `changedFiles` against `code_reference.file` and the target
|
|
1647
|
+
* component's `source.config_files` is correct without alias-aware
|
|
1648
|
+
* normalization here. See `aliased-imports` test fixture for the regression
|
|
1649
|
+
* lock.
|
|
1650
|
+
*
|
|
1651
|
+
* RUN 1.6 — ITEM #8: This function now reads a derived
|
|
1652
|
+
* `.navgator/architecture/reverse-deps.json` index when present (single file
|
|
1653
|
+
* open per scan). Falls back to the per-edge JSON walk if the index file is
|
|
1654
|
+
* missing, corrupt, or schema-mismatched.
|
|
1655
|
+
*/
|
|
1656
|
+
export async function loadReverseDeps(changedFiles, config, projectRoot) {
|
|
1657
|
+
const cfg = config || getConfig();
|
|
1658
|
+
const out = new Set();
|
|
1659
|
+
if (changedFiles.size === 0)
|
|
1660
|
+
return out;
|
|
1661
|
+
// Run 1.6 — item #8 fast path: read the derived reverse-deps.json index if
|
|
1662
|
+
// present. Single file open vs O(connections) opens.
|
|
1663
|
+
const indexPath = path.join(getStoragePath(cfg, projectRoot), 'reverse-deps.json');
|
|
1664
|
+
if (fs.existsSync(indexPath)) {
|
|
1665
|
+
try {
|
|
1666
|
+
const raw = await fs.promises.readFile(indexPath, 'utf-8');
|
|
1667
|
+
const parsed = JSON.parse(raw);
|
|
1668
|
+
if (parsed && parsed.schema_version === '1.0.0' && parsed.edges) {
|
|
1669
|
+
for (const f of changedFiles) {
|
|
1670
|
+
const importers = parsed.edges[f];
|
|
1671
|
+
if (importers) {
|
|
1672
|
+
for (const imp of importers)
|
|
1673
|
+
out.add(imp);
|
|
1674
|
+
}
|
|
1675
|
+
}
|
|
1676
|
+
return out;
|
|
1677
|
+
}
|
|
1678
|
+
// Bad shape → fall through to legacy walk.
|
|
1679
|
+
}
|
|
1680
|
+
catch {
|
|
1681
|
+
// Corrupt or unreadable → fall through to legacy walk.
|
|
1682
|
+
}
|
|
1683
|
+
}
|
|
1684
|
+
return loadReverseDepsLegacy(changedFiles, config, projectRoot);
|
|
1685
|
+
}
|
|
1686
|
+
/**
|
|
1687
|
+
* Legacy reverse-deps walk: opens every per-edge connection JSON. Retained
|
|
1688
|
+
* as the fallback when `reverse-deps.json` is missing, corrupt, or
|
|
1689
|
+
* schema-mismatched. Also useful as the regression baseline for the index.
|
|
1690
|
+
*/
|
|
1691
|
+
export async function loadReverseDepsLegacy(changedFiles, config, projectRoot) {
|
|
1692
|
+
const cfg = config || getConfig();
|
|
1693
|
+
const connectionsPath = getConnectionsPath(cfg, projectRoot);
|
|
1694
|
+
const componentsPath = getComponentsPath(cfg, projectRoot);
|
|
1695
|
+
const out = new Set();
|
|
1696
|
+
if (changedFiles.size === 0)
|
|
1697
|
+
return out;
|
|
1698
|
+
if (!fs.existsSync(connectionsPath) || !fs.existsSync(componentsPath)) {
|
|
1699
|
+
return out;
|
|
1700
|
+
}
|
|
1701
|
+
// Build component_id → source files map once (all on-disk components).
|
|
1702
|
+
const compSourceFiles = new Map();
|
|
1703
|
+
const compFiles = await fs.promises.readdir(componentsPath);
|
|
1704
|
+
await Promise.all(compFiles.map(async (file) => {
|
|
1705
|
+
try {
|
|
1706
|
+
const content = await fs.promises.readFile(path.join(componentsPath, file), 'utf-8');
|
|
1707
|
+
const c = JSON.parse(content);
|
|
1708
|
+
compSourceFiles.set(c.component_id, c.source?.config_files ?? []);
|
|
1709
|
+
}
|
|
1710
|
+
catch {
|
|
1711
|
+
// Corrupt component — ignore.
|
|
1712
|
+
}
|
|
1713
|
+
}));
|
|
1714
|
+
// Walk connections; if target's component has a source_file in changedFiles,
|
|
1715
|
+
// the FROM-side code_reference.file goes into the walk-set.
|
|
1716
|
+
const connFiles = await fs.promises.readdir(connectionsPath);
|
|
1717
|
+
await Promise.all(connFiles.map(async (file) => {
|
|
1718
|
+
try {
|
|
1719
|
+
const content = await fs.promises.readFile(path.join(connectionsPath, file), 'utf-8');
|
|
1720
|
+
const c = JSON.parse(content);
|
|
1721
|
+
const targetId = c.to?.component_id;
|
|
1722
|
+
if (!targetId)
|
|
1723
|
+
return;
|
|
1724
|
+
const targetSources = compSourceFiles.get(targetId) ?? [];
|
|
1725
|
+
const targetMatches = targetSources.some((sf) => changedFiles.has(sf));
|
|
1726
|
+
// Also cover the case where to.component_id IS a FILE: ref.
|
|
1727
|
+
const directFile = targetId.startsWith('FILE:') ? targetId.slice(5) : undefined;
|
|
1728
|
+
const directMatch = directFile ? changedFiles.has(directFile) : false;
|
|
1729
|
+
if (targetMatches || directMatch) {
|
|
1730
|
+
const fromFile = c.code_reference?.file;
|
|
1731
|
+
if (fromFile)
|
|
1732
|
+
out.add(fromFile);
|
|
1733
|
+
}
|
|
1734
|
+
}
|
|
1735
|
+
catch {
|
|
1736
|
+
// Corrupt connection — ignore.
|
|
1737
|
+
}
|
|
1738
|
+
}));
|
|
1739
|
+
return out;
|
|
1740
|
+
}
|
|
1741
|
+
/**
|
|
1742
|
+
* Build and atomically write `.navgator/architecture/reverse-deps.json` from
|
|
1743
|
+
* the in-memory connection set + components. This avoids re-walking per-edge
|
|
1744
|
+
* JSON files on the next incremental scan.
|
|
1745
|
+
*
|
|
1746
|
+
* Run 1.6 — item #8: HEADLINE PERF WIN. On the benchmark repo's 4,570 connections,
|
|
1747
|
+
* this drops `loadReverseDeps` from ~4,570 file opens to 1.
|
|
1748
|
+
*/
|
|
1749
|
+
export async function buildReverseDepsIndex(components, connections, config, projectRoot) {
|
|
1750
|
+
const cfg = config || getConfig();
|
|
1751
|
+
const indexPath = path.join(getStoragePath(cfg, projectRoot), 'reverse-deps.json');
|
|
1752
|
+
// component_id → source files map (in-memory, no I/O).
|
|
1753
|
+
const compSourceFiles = new Map();
|
|
1754
|
+
for (const c of components) {
|
|
1755
|
+
compSourceFiles.set(c.component_id, c.source?.config_files ?? []);
|
|
1756
|
+
}
|
|
1757
|
+
// Build edges: target_file → list of source files that import/reference it.
|
|
1758
|
+
const edges = {};
|
|
1759
|
+
let edgeCount = 0;
|
|
1760
|
+
for (const c of connections) {
|
|
1761
|
+
const fromFile = c.code_reference?.file;
|
|
1762
|
+
if (!fromFile)
|
|
1763
|
+
continue;
|
|
1764
|
+
const targetId = c.to?.component_id;
|
|
1765
|
+
if (!targetId)
|
|
1766
|
+
continue;
|
|
1767
|
+
// Resolve target file(s) — same logic as loadReverseDepsLegacy.
|
|
1768
|
+
const targetFiles = new Set();
|
|
1769
|
+
const targetSources = compSourceFiles.get(targetId) ?? [];
|
|
1770
|
+
for (const sf of targetSources)
|
|
1771
|
+
targetFiles.add(sf);
|
|
1772
|
+
if (targetId.startsWith('FILE:'))
|
|
1773
|
+
targetFiles.add(targetId.slice(5));
|
|
1774
|
+
// Also use to.location.file when present (e.g. import-scanner stores resolved path here).
|
|
1775
|
+
const locFile = c.to?.location?.file;
|
|
1776
|
+
if (locFile)
|
|
1777
|
+
targetFiles.add(locFile);
|
|
1778
|
+
for (const tf of targetFiles) {
|
|
1779
|
+
if (tf === fromFile)
|
|
1780
|
+
continue; // Skip self-edges
|
|
1781
|
+
if (!edges[tf])
|
|
1782
|
+
edges[tf] = new Set();
|
|
1783
|
+
if (!edges[tf].has(fromFile)) {
|
|
1784
|
+
edges[tf].add(fromFile);
|
|
1785
|
+
edgeCount += 1;
|
|
1786
|
+
}
|
|
1787
|
+
}
|
|
1788
|
+
}
|
|
1789
|
+
// Sets → arrays for JSON.
|
|
1790
|
+
const edgesOut = {};
|
|
1791
|
+
for (const [target, importers] of Object.entries(edges)) {
|
|
1792
|
+
edgesOut[target] = Array.from(importers).sort();
|
|
1793
|
+
}
|
|
1794
|
+
const payload = {
|
|
1795
|
+
schema_version: '1.0.0',
|
|
1796
|
+
generated_at: Date.now(),
|
|
1797
|
+
edges: edgesOut,
|
|
1798
|
+
};
|
|
1799
|
+
await atomicWriteJSON(indexPath, payload);
|
|
1800
|
+
return { path: indexPath, edge_count: edgeCount };
|
|
1801
|
+
}
|
|
1802
|
+
/**
|
|
1803
|
+
* Atomically write `.navgator/architecture/manifest.json` describing the
|
|
1804
|
+
* derived artifacts NavGator just emitted. Best-effort — the scan succeeds
|
|
1805
|
+
* even if this fails.
|
|
1806
|
+
*/
|
|
1807
|
+
export async function buildDerivedManifest(config, projectRoot, details) {
|
|
1808
|
+
const cfg = config || getConfig();
|
|
1809
|
+
const storeDir = getStoragePath(cfg, projectRoot);
|
|
1810
|
+
const manifestPath = path.join(storeDir, 'manifest.json');
|
|
1811
|
+
const now = Date.now();
|
|
1812
|
+
const files = {};
|
|
1813
|
+
const candidates = [
|
|
1814
|
+
{ name: 'index.json' },
|
|
1815
|
+
{ name: 'graph.json' },
|
|
1816
|
+
{ name: 'file_map.json' },
|
|
1817
|
+
{ name: 'reverse-deps.json', source_count: details.reverseDepsEdgeCount },
|
|
1818
|
+
];
|
|
1819
|
+
for (const cand of candidates) {
|
|
1820
|
+
const full = path.join(storeDir, cand.name);
|
|
1821
|
+
try {
|
|
1822
|
+
const stat = await fs.promises.stat(full);
|
|
1823
|
+
files[cand.name] = {
|
|
1824
|
+
generated_at: stat.mtimeMs,
|
|
1825
|
+
...(cand.source_count !== undefined ? { source_count: cand.source_count } : {}),
|
|
1826
|
+
};
|
|
1827
|
+
}
|
|
1828
|
+
catch {
|
|
1829
|
+
// File doesn't exist — skip silently.
|
|
1830
|
+
}
|
|
1831
|
+
}
|
|
1832
|
+
const payload = {
|
|
1833
|
+
schema_version: '1.0.0',
|
|
1834
|
+
generated_at: now,
|
|
1835
|
+
files,
|
|
1836
|
+
};
|
|
1837
|
+
await atomicWriteJSON(manifestPath, payload);
|
|
1838
|
+
return { path: manifestPath };
|
|
1839
|
+
}
|
|
1840
|
+
/**
|
|
1841
|
+
* Run an integrity check on the post-merge state.
|
|
1842
|
+
* - Every connection endpoint (from + to component_id) must exist in
|
|
1843
|
+
* the components set, OR be a FILE:-prefixed unresolved ref.
|
|
1844
|
+
* - Every component's source.config_files must exist on disk
|
|
1845
|
+
* (relative to projectRoot). Missing files → orphan component.
|
|
1846
|
+
* - Optional walkSet narrows the source-file existence check to
|
|
1847
|
+
* files in the walk-set; full-scan callers pass an empty set
|
|
1848
|
+
* (means "check all").
|
|
1849
|
+
*
|
|
1850
|
+
* Returns ok=false on any failure with a list of issue strings.
|
|
1851
|
+
* Caller is expected to log scan_type='incremental→full' and
|
|
1852
|
+
* fall through to a full scan on failure.
|
|
1853
|
+
*/
|
|
1854
|
+
export async function runIntegrityCheck(components, connections, projectRoot, walkSet = new Set()) {
|
|
1855
|
+
const issues = [];
|
|
1856
|
+
// 1. Every connection endpoint must exist (or be FILE:).
|
|
1857
|
+
const ids = new Set(components.map((c) => c.component_id));
|
|
1858
|
+
for (const c of connections) {
|
|
1859
|
+
const fromId = c.from?.component_id;
|
|
1860
|
+
const toId = c.to?.component_id;
|
|
1861
|
+
if (fromId && !fromId.startsWith('FILE:') && !ids.has(fromId)) {
|
|
1862
|
+
issues.push(`connection ${c.connection_id}: missing FROM component ${fromId}`);
|
|
1863
|
+
}
|
|
1864
|
+
if (toId && !toId.startsWith('FILE:') && !ids.has(toId)) {
|
|
1865
|
+
issues.push(`connection ${c.connection_id}: missing TO component ${toId}`);
|
|
1866
|
+
}
|
|
1867
|
+
}
|
|
1868
|
+
// 2. Every component's source.config_files must exist on disk.
|
|
1869
|
+
// If walkSet is non-empty, only check files in the walk-set
|
|
1870
|
+
// (we trust the rest from the prior scan).
|
|
1871
|
+
for (const comp of components) {
|
|
1872
|
+
const sourceFiles = comp.source?.config_files ?? [];
|
|
1873
|
+
for (const sf of sourceFiles) {
|
|
1874
|
+
if (walkSet.size > 0 && !walkSet.has(sf))
|
|
1875
|
+
continue;
|
|
1876
|
+
try {
|
|
1877
|
+
await fs.promises.access(path.join(projectRoot, sf));
|
|
1878
|
+
}
|
|
1879
|
+
catch {
|
|
1880
|
+
issues.push(`component ${comp.component_id} (${comp.name}): missing source file ${sf}`);
|
|
1881
|
+
}
|
|
1882
|
+
}
|
|
1883
|
+
}
|
|
1884
|
+
return { ok: issues.length === 0, issues };
|
|
1885
|
+
}
|
|
951
1886
|
/**
|
|
952
1887
|
* Get a summary of file changes for display
|
|
953
1888
|
*/
|