@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
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { loadAllComponents, loadAllConnections, loadFileMap } from '../../storage.js';
|
|
2
|
+
import { getConfig } from '../../config.js';
|
|
3
|
+
import { computeImpact } from '../../impact.js';
|
|
4
|
+
import { wrapInEnvelope } from '../../agent-output.js';
|
|
5
|
+
import { resolveComponent, findCandidates } from '../../resolve.js';
|
|
6
|
+
import { resolveFileConnections, formatFileImpact } from '../../file-resolve.js';
|
|
7
|
+
import { checkDataAvailability } from './helpers.js';
|
|
8
|
+
import { EXIT_CODES } from '../exit-codes.js';
|
|
9
|
+
export function registerImpactCommand(program) {
|
|
10
|
+
program
|
|
11
|
+
.command('impact <component>')
|
|
12
|
+
.description('Show what\'s affected if you change a component')
|
|
13
|
+
.option('--json', 'Output as JSON')
|
|
14
|
+
.option('--agent', 'Output wrapped in agent envelope (implies --json)')
|
|
15
|
+
.action(async (componentName, options) => {
|
|
16
|
+
try {
|
|
17
|
+
const dataWarning = checkDataAvailability();
|
|
18
|
+
if (dataWarning) {
|
|
19
|
+
console.log(dataWarning);
|
|
20
|
+
process.exitCode = EXIT_CODES.NO_DATA;
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
const config = getConfig();
|
|
24
|
+
const components = await loadAllComponents(config);
|
|
25
|
+
const connections = await loadAllConnections(config);
|
|
26
|
+
const fileMap = await loadFileMap(config);
|
|
27
|
+
// Resolve the component (supports name, file path, partial match)
|
|
28
|
+
const component = resolveComponent(componentName, components, fileMap);
|
|
29
|
+
if (!component) {
|
|
30
|
+
// Fall back to file-level import analysis
|
|
31
|
+
const { looksLikeFilePath } = await import('../../file-resolve.js');
|
|
32
|
+
if (looksLikeFilePath(componentName)) {
|
|
33
|
+
const fc = resolveFileConnections(componentName, connections);
|
|
34
|
+
if (fc) {
|
|
35
|
+
if (options.agent) {
|
|
36
|
+
console.log(wrapInEnvelope('impact', {
|
|
37
|
+
file: fc.filePath,
|
|
38
|
+
imported_by: fc.importedBy.length,
|
|
39
|
+
imports: fc.imports.length,
|
|
40
|
+
other_connections: fc.otherFrom.length + fc.otherTo.length,
|
|
41
|
+
importers: fc.importedBy.map(c => ({
|
|
42
|
+
file: c.from.component_id.replace('FILE:', ''),
|
|
43
|
+
line: c.code_reference?.line_start,
|
|
44
|
+
symbol: c.code_reference?.symbol,
|
|
45
|
+
})),
|
|
46
|
+
}));
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
if (options.json) {
|
|
50
|
+
console.log(JSON.stringify(fc, null, 2));
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
console.log(formatFileImpact(fc));
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
console.log(`Component "${componentName}" not found.`);
|
|
58
|
+
const candidates = findCandidates(componentName, components);
|
|
59
|
+
if (candidates.length > 0) {
|
|
60
|
+
console.log('\nDid you mean:');
|
|
61
|
+
for (const name of candidates) {
|
|
62
|
+
console.log(` - ${name}`);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
console.log('\nAvailable components:');
|
|
67
|
+
for (const c of components.slice(0, 10)) {
|
|
68
|
+
console.log(` - ${c.name} (${c.type})`);
|
|
69
|
+
}
|
|
70
|
+
if (components.length > 10) {
|
|
71
|
+
console.log(` ... and ${components.length - 10} more`);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
process.exitCode = EXIT_CODES.NOT_FOUND;
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
// Compute impact with severity
|
|
78
|
+
const impact = computeImpact(component, components, connections);
|
|
79
|
+
// Also compute incoming/outgoing for display
|
|
80
|
+
const incoming = connections.filter((c) => c.to.component_id === component.component_id);
|
|
81
|
+
const outgoing = connections.filter((c) => c.from.component_id === component.component_id);
|
|
82
|
+
if (options.agent) {
|
|
83
|
+
console.log(wrapInEnvelope('impact', {
|
|
84
|
+
component: { name: component.name, type: component.type, layer: component.role.layer },
|
|
85
|
+
severity: impact.severity,
|
|
86
|
+
summary: impact.summary,
|
|
87
|
+
total_files_affected: impact.total_files_affected,
|
|
88
|
+
affected: impact.affected.map((a) => ({
|
|
89
|
+
name: a.component.name,
|
|
90
|
+
type: a.component.type,
|
|
91
|
+
impact_type: a.impact_type,
|
|
92
|
+
change_required: a.change_required,
|
|
93
|
+
})),
|
|
94
|
+
incoming_count: incoming.length,
|
|
95
|
+
outgoing_count: outgoing.length,
|
|
96
|
+
}));
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
if (options.json) {
|
|
100
|
+
console.log(JSON.stringify({
|
|
101
|
+
component,
|
|
102
|
+
severity: impact.severity,
|
|
103
|
+
summary: impact.summary,
|
|
104
|
+
total_files_affected: impact.total_files_affected,
|
|
105
|
+
affected: impact.affected.map((a) => ({
|
|
106
|
+
name: a.component.name,
|
|
107
|
+
type: a.component.type,
|
|
108
|
+
impact_type: a.impact_type,
|
|
109
|
+
change_required: a.change_required,
|
|
110
|
+
})),
|
|
111
|
+
incoming,
|
|
112
|
+
outgoing,
|
|
113
|
+
}, null, 2));
|
|
114
|
+
return;
|
|
115
|
+
}
|
|
116
|
+
console.log(`NavGator - Impact Analysis: ${component.name}\n`);
|
|
117
|
+
console.log('========================================');
|
|
118
|
+
console.log(`Component: ${component.name}`);
|
|
119
|
+
console.log(`Type: ${component.type}`);
|
|
120
|
+
console.log(`Layer: ${component.role.layer}`);
|
|
121
|
+
console.log(`Purpose: ${component.role.purpose}`);
|
|
122
|
+
console.log(`Severity: ${impact.severity.toUpperCase()}`);
|
|
123
|
+
console.log(`Summary: ${impact.summary}`);
|
|
124
|
+
if (incoming.length > 0) {
|
|
125
|
+
console.log(`\nINCOMING CONNECTIONS (${incoming.length}):`);
|
|
126
|
+
console.log('These files/components USE this component:\n');
|
|
127
|
+
for (const conn of incoming) {
|
|
128
|
+
const lineInfo = conn.code_reference.line_start ? `:${conn.code_reference.line_start}` : '';
|
|
129
|
+
console.log(` ${conn.code_reference.file}${lineInfo}`);
|
|
130
|
+
if (conn.code_reference.symbol) {
|
|
131
|
+
const symbolType = conn.code_reference.symbol_type ? ` (${conn.code_reference.symbol_type})` : '';
|
|
132
|
+
console.log(` Symbol: ${conn.code_reference.symbol}${symbolType}`);
|
|
133
|
+
}
|
|
134
|
+
if (conn.code_reference.code_snippet) {
|
|
135
|
+
console.log(` Code: ${conn.code_reference.code_snippet}`);
|
|
136
|
+
}
|
|
137
|
+
console.log('');
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
if (outgoing.length > 0) {
|
|
141
|
+
console.log(`\nOUTGOING CONNECTIONS (${outgoing.length}):`);
|
|
142
|
+
console.log('This component USES these:\n');
|
|
143
|
+
for (const conn of outgoing) {
|
|
144
|
+
const target = components.find((c) => c.component_id === conn.to.component_id);
|
|
145
|
+
console.log(` → ${target?.name || conn.to.component_id}`);
|
|
146
|
+
console.log(` Type: ${conn.connection_type}`);
|
|
147
|
+
console.log('');
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
// Show transitive impacts if any
|
|
151
|
+
const transitiveAffected = impact.affected.filter((a) => a.impact_type === 'transitive');
|
|
152
|
+
if (transitiveAffected.length > 0) {
|
|
153
|
+
console.log(`\nTRANSITIVE IMPACT (${transitiveAffected.length}):`);
|
|
154
|
+
for (const a of transitiveAffected) {
|
|
155
|
+
console.log(` ~ ${a.component.name} (${a.component.type})`);
|
|
156
|
+
console.log(` ${a.change_required}`);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
if (incoming.length === 0 && outgoing.length === 0) {
|
|
160
|
+
console.log('\nNo connections found for this component.');
|
|
161
|
+
}
|
|
162
|
+
console.log('\n========================================');
|
|
163
|
+
console.log(`Files that may need changes if you modify ${component.name}:`);
|
|
164
|
+
const affectedFiles = new Set(incoming.map((c) => c.code_reference.file));
|
|
165
|
+
for (const file of affectedFiles) {
|
|
166
|
+
console.log(` - ${file}`);
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
catch (error) {
|
|
170
|
+
console.error('Impact analysis failed:', error);
|
|
171
|
+
process.exitCode = EXIT_CODES.OPERATIONAL;
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
//# sourceMappingURL=impact.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"impact.js","sourceRoot":"","sources":["../../../src/cli/commands/impact.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACtF,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,gBAAgB,EAAyB,MAAM,uBAAuB,CAAC;AACxG,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,MAAM,UAAU,qBAAqB,CAAC,OAAgB;IACpD,OAAO;SACJ,OAAO,CAAC,oBAAoB,CAAC;SAC7B,WAAW,CAAC,iDAAiD,CAAC;SAC9D,MAAM,CAAC,QAAQ,EAAE,gBAAgB,CAAC;SAClC,MAAM,CAAC,SAAS,EAAE,mDAAmD,CAAC;SACtE,MAAM,CAAC,KAAK,EAAE,aAAa,EAAE,OAAO,EAAE,EAAE;QACvC,IAAI,CAAC;YACH,MAAM,WAAW,GAAG,qBAAqB,EAAE,CAAC;YAC5C,IAAI,WAAW,EAAE,CAAC;gBAChB,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;gBACzB,OAAO,CAAC,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAC;gBACtC,OAAO;YACT,CAAC;YACD,MAAM,MAAM,GAAG,SAAS,EAAE,CAAC;YAC3B,MAAM,UAAU,GAAG,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cAAc,CAAC,IAAI,CAAC,CAAC,CAAC;YAC1E,KAAK,MAAM,IAAI,IAAI,aAAa,EAAE,CAAC;gBACjC,OAAO,CAAC,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC;YAC7B,CAAC;QACH,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,KAAK,CAAC,CAAC;YAChD,OAAO,CAAC,QAAQ,GAAG,UAAU,CAAC,WAAW,CAAC;QAC5C,CAAC;IACH,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lessons.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/lessons.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAgHpC,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA2L7D"}
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NavGator `lessons` subcommand — local + global architectural lessons store.
|
|
3
|
+
*/
|
|
4
|
+
import * as path from 'path';
|
|
5
|
+
import { ensureGlobalLessonsFile, listLessons, searchLessons, findLessonById, promoteLesson, demoteLesson, } from '../../lessons-store.js';
|
|
6
|
+
import { wrapInEnvelope } from '../../agent-output.js';
|
|
7
|
+
import { EXIT_CODES } from '../exit-codes.js';
|
|
8
|
+
// =============================================================================
|
|
9
|
+
// HELPERS
|
|
10
|
+
// =============================================================================
|
|
11
|
+
function isAgentMode(options) {
|
|
12
|
+
return Boolean(options.agent) || process.env.NAVGATOR_AGENT === '1';
|
|
13
|
+
}
|
|
14
|
+
function wantsJson(options) {
|
|
15
|
+
return Boolean(options.json) || isAgentMode(options);
|
|
16
|
+
}
|
|
17
|
+
function emit(command, data, options) {
|
|
18
|
+
if (isAgentMode(options)) {
|
|
19
|
+
console.log(wrapInEnvelope(command, data));
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
if (options.json) {
|
|
23
|
+
console.log(JSON.stringify(data, null, 2));
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
return false;
|
|
27
|
+
}
|
|
28
|
+
function collect(value, previous = []) {
|
|
29
|
+
return previous.concat([value]);
|
|
30
|
+
}
|
|
31
|
+
function formatLessonSummary(l) {
|
|
32
|
+
const tags = l.applies_to;
|
|
33
|
+
const source = l.source_project;
|
|
34
|
+
const promotedMarker = l.promoted ? ' [promoted]' : '';
|
|
35
|
+
const sourceStr = source ? ` [from: ${source}]` : '';
|
|
36
|
+
const tagStr = tags && tags.length > 0 ? ` {${tags.join(', ')}}` : '';
|
|
37
|
+
const pat = l.pattern.length > 80 ? l.pattern.slice(0, 77) + '...' : l.pattern;
|
|
38
|
+
return ` ${l.id.padEnd(40)} ${l.severity.padEnd(9)} ${l.category.padEnd(24)} ${pat}${tagStr}${sourceStr}${promotedMarker}`;
|
|
39
|
+
}
|
|
40
|
+
function printTable(title, lessons) {
|
|
41
|
+
console.log(title);
|
|
42
|
+
console.log('─'.repeat(Math.min(title.length, 60)));
|
|
43
|
+
if (lessons.length === 0) {
|
|
44
|
+
console.log(' (none)');
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
console.log(` ${'ID'.padEnd(40)} ${'SEVERITY'.padEnd(9)} ${'CATEGORY'.padEnd(24)} PATTERN`);
|
|
48
|
+
for (const l of lessons)
|
|
49
|
+
console.log(formatLessonSummary(l));
|
|
50
|
+
}
|
|
51
|
+
function printLessonDetail(l) {
|
|
52
|
+
console.log(`ID: ${l.id}`);
|
|
53
|
+
console.log(`Category: ${l.category}`);
|
|
54
|
+
console.log(`Severity: ${l.severity}`);
|
|
55
|
+
console.log(`Pattern: ${l.pattern}`);
|
|
56
|
+
if (l.signature && l.signature.length > 0) {
|
|
57
|
+
console.log(`Signature: ${l.signature.join(' | ')}`);
|
|
58
|
+
}
|
|
59
|
+
const g = l;
|
|
60
|
+
if (g.source_project)
|
|
61
|
+
console.log(`Source: ${g.source_project}`);
|
|
62
|
+
if (g.applies_to && g.applies_to.length > 0) {
|
|
63
|
+
console.log(`Tags: ${g.applies_to.join(', ')}`);
|
|
64
|
+
}
|
|
65
|
+
if (g.promoted_at)
|
|
66
|
+
console.log(`Promoted: ${g.promoted_at}`);
|
|
67
|
+
if (g.promoted_from)
|
|
68
|
+
console.log(`From: ${g.promoted_from}`);
|
|
69
|
+
if (l.promoted)
|
|
70
|
+
console.log(`Promoted: true (local)`);
|
|
71
|
+
if (l.context) {
|
|
72
|
+
console.log('Context:');
|
|
73
|
+
if (l.context.first_seen)
|
|
74
|
+
console.log(` first_seen: ${l.context.first_seen}`);
|
|
75
|
+
if (l.context.last_seen)
|
|
76
|
+
console.log(` last_seen: ${l.context.last_seen}`);
|
|
77
|
+
if (typeof l.context.occurrences === 'number') {
|
|
78
|
+
console.log(` occurrences: ${l.context.occurrences}`);
|
|
79
|
+
}
|
|
80
|
+
if (l.context.files_affected && l.context.files_affected.length > 0) {
|
|
81
|
+
console.log(` files: ${l.context.files_affected.join(', ')}`);
|
|
82
|
+
}
|
|
83
|
+
if (l.context.resolution)
|
|
84
|
+
console.log(` resolution: ${l.context.resolution}`);
|
|
85
|
+
}
|
|
86
|
+
if (l.example) {
|
|
87
|
+
console.log('Example:');
|
|
88
|
+
if (l.example.bad)
|
|
89
|
+
console.log(` bad: ${l.example.bad}`);
|
|
90
|
+
if (l.example.good)
|
|
91
|
+
console.log(` good: ${l.example.good}`);
|
|
92
|
+
if (l.example.why)
|
|
93
|
+
console.log(` why: ${l.example.why}`);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
// =============================================================================
|
|
97
|
+
// COMMAND
|
|
98
|
+
// =============================================================================
|
|
99
|
+
export function registerLessonsCommand(program) {
|
|
100
|
+
const lessons = program
|
|
101
|
+
.command('lessons')
|
|
102
|
+
.description('Manage local and global architectural lessons');
|
|
103
|
+
// ---- list --------------------------------------------------------------
|
|
104
|
+
lessons
|
|
105
|
+
.command('list')
|
|
106
|
+
.description('List lessons (local by default)')
|
|
107
|
+
.option('--global', 'List the global lessons store')
|
|
108
|
+
.option('--all', 'List local + global lessons combined')
|
|
109
|
+
.option('--json', 'Output as JSON')
|
|
110
|
+
.option('--agent', 'Output wrapped in agent envelope (implies --json)')
|
|
111
|
+
.action((options) => {
|
|
112
|
+
try {
|
|
113
|
+
ensureGlobalLessonsFile();
|
|
114
|
+
const projectRoot = process.cwd();
|
|
115
|
+
let data = [];
|
|
116
|
+
if (options.all) {
|
|
117
|
+
const local = listLessons({ scope: 'local', projectRoot });
|
|
118
|
+
const global = listLessons({ scope: 'global' });
|
|
119
|
+
data = [...local, ...global];
|
|
120
|
+
if (!emit('lessons.list', { scope: 'all', lessons: data }, options)) {
|
|
121
|
+
printTable(`Lessons (local: ${local.length}, global: ${global.length})`, data);
|
|
122
|
+
}
|
|
123
|
+
return;
|
|
124
|
+
}
|
|
125
|
+
if (options.global) {
|
|
126
|
+
const global = listLessons({ scope: 'global' });
|
|
127
|
+
data = global;
|
|
128
|
+
if (!emit('lessons.list', { scope: 'global', lessons: data }, options)) {
|
|
129
|
+
printTable(`Global Lessons (${global.length})`, global);
|
|
130
|
+
}
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
const local = listLessons({ scope: 'local', projectRoot });
|
|
134
|
+
data = local;
|
|
135
|
+
if (!emit('lessons.list', { scope: 'local', project: projectRoot, lessons: data }, options)) {
|
|
136
|
+
printTable(`Local Lessons — ${path.basename(projectRoot)} (${local.length})`, local);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
catch (err) {
|
|
140
|
+
console.error('lessons list failed:', err instanceof Error ? err.message : err);
|
|
141
|
+
process.exitCode = EXIT_CODES.OPERATIONAL;
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
// ---- show --------------------------------------------------------------
|
|
145
|
+
lessons
|
|
146
|
+
.command('show <id>')
|
|
147
|
+
.description('Show full detail for a single lesson')
|
|
148
|
+
.option('--scope <scope>', 'Scope to search (local | global | all)', 'all')
|
|
149
|
+
.option('--json', 'Output as JSON')
|
|
150
|
+
.option('--agent', 'Output wrapped in agent envelope (implies --json)')
|
|
151
|
+
.action((id, options) => {
|
|
152
|
+
try {
|
|
153
|
+
ensureGlobalLessonsFile();
|
|
154
|
+
const projectRoot = process.cwd();
|
|
155
|
+
const scope = (options.scope || 'all');
|
|
156
|
+
let found = null;
|
|
157
|
+
if (scope === 'local' || scope === 'all') {
|
|
158
|
+
found = findLessonById(id, { scope: 'local', projectRoot });
|
|
159
|
+
}
|
|
160
|
+
if (!found && (scope === 'global' || scope === 'all')) {
|
|
161
|
+
found = findLessonById(id, { scope: 'global' });
|
|
162
|
+
}
|
|
163
|
+
if (!found) {
|
|
164
|
+
if (wantsJson(options)) {
|
|
165
|
+
emit('lessons.show', { id, found: false }, options);
|
|
166
|
+
}
|
|
167
|
+
else {
|
|
168
|
+
console.log(`No lesson with id "${id}" in scope=${scope}`);
|
|
169
|
+
}
|
|
170
|
+
process.exitCode = EXIT_CODES.NOT_FOUND;
|
|
171
|
+
return;
|
|
172
|
+
}
|
|
173
|
+
if (!emit('lessons.show', found, options)) {
|
|
174
|
+
printLessonDetail(found);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
catch (err) {
|
|
178
|
+
console.error('lessons show failed:', err instanceof Error ? err.message : err);
|
|
179
|
+
process.exitCode = EXIT_CODES.OPERATIONAL;
|
|
180
|
+
}
|
|
181
|
+
});
|
|
182
|
+
// ---- search ------------------------------------------------------------
|
|
183
|
+
lessons
|
|
184
|
+
.command('search <query>')
|
|
185
|
+
.description('Search lessons by regex against pattern, signature, examples, and resolution')
|
|
186
|
+
.option('--scope <scope>', 'Scope (local | global | all)', 'all')
|
|
187
|
+
.option('--category <cat>', 'Filter by category')
|
|
188
|
+
.option('--severity <sev>', 'Filter by severity (critical | important | minor)')
|
|
189
|
+
.option('--tag <tag>', 'Filter by applies_to tag (repeatable, global only)', collect, [])
|
|
190
|
+
.option('--json', 'Output as JSON')
|
|
191
|
+
.option('--agent', 'Output wrapped in agent envelope (implies --json)')
|
|
192
|
+
.action((query, options) => {
|
|
193
|
+
try {
|
|
194
|
+
ensureGlobalLessonsFile();
|
|
195
|
+
const projectRoot = process.cwd();
|
|
196
|
+
const scope = (options.scope || 'all');
|
|
197
|
+
const results = searchLessons(query, {
|
|
198
|
+
scope,
|
|
199
|
+
projectRoot,
|
|
200
|
+
category: options.category,
|
|
201
|
+
severity: options.severity,
|
|
202
|
+
tags: options.tag && options.tag.length > 0 ? options.tag : undefined,
|
|
203
|
+
});
|
|
204
|
+
if (!emit('lessons.search', { query, scope, results }, options)) {
|
|
205
|
+
printTable(`Search: /${query}/ in ${scope} (${results.length})`, results);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
catch (err) {
|
|
209
|
+
console.error('lessons search failed:', err instanceof Error ? err.message : err);
|
|
210
|
+
process.exitCode = EXIT_CODES.OPERATIONAL;
|
|
211
|
+
}
|
|
212
|
+
});
|
|
213
|
+
// ---- promote -----------------------------------------------------------
|
|
214
|
+
lessons
|
|
215
|
+
.command('promote <id>')
|
|
216
|
+
.description('Promote a local lesson to the global store (copy-then-mark)')
|
|
217
|
+
.option('--tag <tag>', 'applies_to tag (repeatable)', collect, [])
|
|
218
|
+
.option('--project-name <name>', 'Override auto-detected project name')
|
|
219
|
+
.option('--json', 'Output as JSON')
|
|
220
|
+
.option('--agent', 'Output wrapped in agent envelope (implies --json)')
|
|
221
|
+
.action((id, options) => {
|
|
222
|
+
try {
|
|
223
|
+
ensureGlobalLessonsFile();
|
|
224
|
+
const projectRoot = process.cwd();
|
|
225
|
+
const result = promoteLesson(id, projectRoot, {
|
|
226
|
+
applies_to: options.tag && options.tag.length > 0 ? options.tag : undefined,
|
|
227
|
+
project_name: options.projectName,
|
|
228
|
+
});
|
|
229
|
+
// 'not-found' names a lesson id that does not exist — NOT_FOUND.
|
|
230
|
+
// 'already-global' is a state conflict (the lesson exists, the
|
|
231
|
+
// promotion just can't proceed) that fits neither NOT_FOUND nor
|
|
232
|
+
// USAGE cleanly; left at OPERATIONAL as a documented exception (see
|
|
233
|
+
// this task's return notes) rather than inventing a sixth code.
|
|
234
|
+
const promoteExitCode = result.reason === 'not-found'
|
|
235
|
+
? EXIT_CODES.NOT_FOUND
|
|
236
|
+
: EXIT_CODES.OPERATIONAL;
|
|
237
|
+
if (!emit('lessons.promote', result, options)) {
|
|
238
|
+
if (result.promoted) {
|
|
239
|
+
console.log(`Promoted ${id} to global store.`);
|
|
240
|
+
if (result.globalLesson?.applies_to?.length) {
|
|
241
|
+
console.log(` Tags: ${result.globalLesson.applies_to.join(', ')}`);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
else {
|
|
245
|
+
console.log(`Not promoted: ${result.reason}`);
|
|
246
|
+
process.exitCode = promoteExitCode;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
else if (!result.promoted) {
|
|
250
|
+
process.exitCode = promoteExitCode;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
catch (err) {
|
|
254
|
+
console.error('lessons promote failed:', err instanceof Error ? err.message : err);
|
|
255
|
+
process.exitCode = EXIT_CODES.OPERATIONAL;
|
|
256
|
+
}
|
|
257
|
+
});
|
|
258
|
+
// ---- demote ------------------------------------------------------------
|
|
259
|
+
lessons
|
|
260
|
+
.command('demote <id>')
|
|
261
|
+
.description('Remove a lesson from the global store (idempotent; local is untouched)')
|
|
262
|
+
.option('--keep-local', 'No-op flag — kept for symmetry; local is always preserved', true)
|
|
263
|
+
.option('--json', 'Output as JSON')
|
|
264
|
+
.option('--agent', 'Output wrapped in agent envelope (implies --json)')
|
|
265
|
+
.action((id, options) => {
|
|
266
|
+
try {
|
|
267
|
+
ensureGlobalLessonsFile();
|
|
268
|
+
const result = demoteLesson(id);
|
|
269
|
+
// demoteLesson's only failure reason is 'not-found'.
|
|
270
|
+
if (!emit('lessons.demote', result, options)) {
|
|
271
|
+
if (result.demoted) {
|
|
272
|
+
console.log(`Demoted ${id} from global store.`);
|
|
273
|
+
}
|
|
274
|
+
else {
|
|
275
|
+
console.log(`Not demoted: ${result.reason}`);
|
|
276
|
+
process.exitCode = EXIT_CODES.NOT_FOUND;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
else if (!result.demoted) {
|
|
280
|
+
process.exitCode = EXIT_CODES.NOT_FOUND;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
catch (err) {
|
|
284
|
+
console.error('lessons demote failed:', err instanceof Error ? err.message : err);
|
|
285
|
+
process.exitCode = EXIT_CODES.OPERATIONAL;
|
|
286
|
+
}
|
|
287
|
+
});
|
|
288
|
+
}
|
|
289
|
+
//# sourceMappingURL=lessons.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lessons.js","sourceRoot":"","sources":["../../../src/cli/commands/lessons.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,IAAI,MAAM,MAAM,CAAC;AAC7B,OAAO,EACL,uBAAuB,EACvB,WAAW,EACX,aAAa,EACb,cAAc,EACd,aAAa,EACb,YAAY,GAKb,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,gFAAgF;AAChF,UAAU;AACV,gFAAgF;AAEhF,SAAS,WAAW,CAAC,OAA4C;IAC/D,OAAO,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,cAAc,KAAK,GAAG,CAAC;AACtE,CAAC;AAED,SAAS,SAAS,CAAC,OAA4C;IAC7D,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,WAAW,CAAC,OAAO,CAAC,CAAC;AACvD,CAAC;AAED,SAAS,IAAI,CACX,OAAe,EACf,IAAa,EACb,OA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,MAAM,CAAC,OAAO,EAAE,CAAC;oBACnB,OAAO,CAAC,GAAG,CAAC,WAAW,EAAE,qBAAqB,CAAC,CAAC;gBAClD,CAAC;qBAAM,CAAC;oBACN,OAAO,CAAC,GAAG,CAAC,gBAAgB,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;oBAC7C,OAAO,CAAC,QAAQ,GAAG,UAAU,CAAC,SAAS,CAAC;gBAC1C,CAAC;YACH,CAAC;iBAAM,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;gBAC3B,OAAO,CAAC,QAAQ,GAAG,UAAU,CAAC,SAAS,CAAC;YAC1C,CAAC;QACH,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,OAAO,CAAC,KAAK,CAAC,wBAAwB,EAAE,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;YAClF,OAAO,CAAC,QAAQ,GAAG,UAAU,CAAC,WAAW,CAAC;QAC5C,CAAC;IACH,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAQpC,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAiF1D"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { loadAllComponents } from '../../storage.js';
|
|
2
|
+
import { getConfig } from '../../config.js';
|
|
3
|
+
import { wrapInEnvelope } from '../../agent-output.js';
|
|
4
|
+
import { mergeComponentAliases } from '../../component-identity.js';
|
|
5
|
+
import { EXIT_CODES } from '../exit-codes.js';
|
|
6
|
+
import { checkDataAvailability } from './helpers.js';
|
|
7
|
+
export function registerListCommand(program) {
|
|
8
|
+
program
|
|
9
|
+
.command('list')
|
|
10
|
+
.description('List all tracked components')
|
|
11
|
+
.option('-t, --type <type>', 'Filter by type')
|
|
12
|
+
.option('-l, --layer <layer>', 'Filter by layer')
|
|
13
|
+
.option('--json', 'Output as JSON')
|
|
14
|
+
.option('--agent', 'Output wrapped in agent envelope (implies --json)')
|
|
15
|
+
.action(async (options) => {
|
|
16
|
+
try {
|
|
17
|
+
// Must run BEFORE loadAllComponents: checkDataAvailability walks up to
|
|
18
|
+
// the project root and chdir()s there, which is what makes the load
|
|
19
|
+
// return real data when invoked from a subdirectory. `list` and `find`
|
|
20
|
+
// were the only two data commands probing the raw cwd instead, so from
|
|
21
|
+
// `<project>/src` they returned an empty payload while their fourteen
|
|
22
|
+
// siblings returned everything. That was a silent wrong answer before
|
|
23
|
+
// the exit-code contract; once an agent branches on the code it becomes
|
|
24
|
+
// an actively misleading NO_DATA on a project that has been scanned.
|
|
25
|
+
const dataWarning = checkDataAvailability();
|
|
26
|
+
if (dataWarning) {
|
|
27
|
+
console.log(dataWarning);
|
|
28
|
+
process.exitCode = EXIT_CODES.NO_DATA;
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
const config = getConfig();
|
|
32
|
+
let components = await loadAllComponents(config);
|
|
33
|
+
if (options.type) {
|
|
34
|
+
components = components.filter((c) => c.type === options.type);
|
|
35
|
+
}
|
|
36
|
+
if (options.layer) {
|
|
37
|
+
components = components.filter((c) => c.role.layer === options.layer);
|
|
38
|
+
}
|
|
39
|
+
// NO_DATA is decided above by checkDataAvailability(). An empty
|
|
40
|
+
// result from a scan that DID run (e.g. a --type filter matching
|
|
41
|
+
// nothing) is a legitimate empty answer, so it stays SUCCESS.
|
|
42
|
+
if (options.agent) {
|
|
43
|
+
console.log(wrapInEnvelope('list', components));
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
if (options.json) {
|
|
47
|
+
console.log(JSON.stringify(components, null, 2));
|
|
48
|
+
return;
|
|
49
|
+
}
|
|
50
|
+
if (components.length === 0) {
|
|
51
|
+
// The "no NavGator data at all" case already returned above with
|
|
52
|
+
// NO_DATA, so reaching here means a scan ran and tracked nothing.
|
|
53
|
+
console.log('No components found. Try running `navgator scan` to refresh.');
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
// Deduplicate: merge components with same base name + type
|
|
57
|
+
// "Railway Config" and "Railway" → keep the one with more connections
|
|
58
|
+
const dedupedComponents = mergeComponentAliases(components);
|
|
59
|
+
console.log(`NavGator - Components (${dedupedComponents.length})\n`);
|
|
60
|
+
// Group by layer
|
|
61
|
+
const byLayer = {};
|
|
62
|
+
for (const c of dedupedComponents) {
|
|
63
|
+
if (!byLayer[c.role.layer])
|
|
64
|
+
byLayer[c.role.layer] = [];
|
|
65
|
+
byLayer[c.role.layer].push(c);
|
|
66
|
+
}
|
|
67
|
+
for (const [layer, comps] of Object.entries(byLayer)) {
|
|
68
|
+
console.log(`\n${layer.toUpperCase()}:`);
|
|
69
|
+
for (const c of comps) {
|
|
70
|
+
const version = c.version ? `@${c.version}` : '';
|
|
71
|
+
console.log(` ${c.name}${version} (${c.type})`);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
catch (error) {
|
|
76
|
+
console.error('List failed:', error);
|
|
77
|
+
process.exitCode = EXIT_CODES.OPERATIONAL;
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../src/cli/commands/list.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,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