@monoes/monograph 1.1.0 → 1.2.1
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/.monomind/data/ranked-context.json +1 -1
- package/.monomind/sessions/session-1777578175215.json +15 -0
- package/.monomind/sessions/session-1777823684507.json +15 -0
- package/.monomind/sessions/session-1777928944749.json +15 -0
- package/.monomind/sessions/session-1778052902210.json +15 -0
- package/.monomind/sessions/session-1778056744636.json +15 -0
- package/.monomind/sessions/session-1778061077599.json +15 -0
- package/.monomind/sessions/session-1778102154764.json +15 -0
- package/__tests__/analysis/shape-extractor.test.ts +124 -0
- package/__tests__/analysis/surprise-scorer.test.ts +154 -0
- package/__tests__/cache/extraction-cache.test.ts +45 -0
- package/__tests__/cli/ai-context.test.ts +175 -0
- package/__tests__/cli/augment.test.ts +128 -0
- package/__tests__/cli/doctor.test.ts +125 -0
- package/__tests__/cli/eval-server.test.ts +89 -0
- package/__tests__/cli/setup.test.ts +178 -0
- package/__tests__/cli/skill-gen.test.ts +280 -0
- package/__tests__/fixtures/sample.c +25 -0
- package/__tests__/fixtures/sample.cpp +32 -0
- package/__tests__/fixtures/sample.dart +34 -0
- package/__tests__/fixtures/sample.kt +30 -0
- package/__tests__/fixtures/sample.php +30 -0
- package/__tests__/fixtures/sample.rb +26 -0
- package/__tests__/fixtures/sample.swift +42 -0
- package/__tests__/fixtures/sample.vue +40 -0
- package/__tests__/groups/group-search.test.ts +221 -0
- package/__tests__/groups/group-sync.test.ts +336 -0
- package/__tests__/mcp-resources/resources.test.ts +256 -0
- package/__tests__/mcp-tools/api-impact.test.ts +188 -0
- package/__tests__/mcp-tools/context.test.ts +130 -0
- package/__tests__/mcp-tools/cypher.test.ts +258 -0
- package/__tests__/mcp-tools/detect-changes.test.ts +114 -0
- package/__tests__/mcp-tools/impact.test.ts +133 -0
- package/__tests__/mcp-tools/rename.test.ts +117 -0
- package/__tests__/mcp-tools/route-map.test.ts +237 -0
- package/__tests__/mcp-tools/shape-check.test.ts +202 -0
- package/__tests__/mcp-tools/tool-map.test.ts +135 -0
- package/__tests__/parsers/c.test.ts +28 -0
- package/__tests__/parsers/cpp.test.ts +28 -0
- package/__tests__/parsers/csharp.test.ts +62 -0
- package/__tests__/parsers/dart.test.ts +28 -0
- package/__tests__/parsers/kotlin.test.ts +28 -0
- package/__tests__/parsers/php.test.ts +28 -0
- package/__tests__/parsers/ruby.test.ts +33 -0
- package/__tests__/parsers/swift.test.ts +28 -0
- package/__tests__/parsers/vue.test.ts +28 -0
- package/__tests__/pipeline/phases/corpus-check.test.ts +26 -0
- package/__tests__/pipeline/phases/evidence.test.ts +41 -0
- package/__tests__/pipeline/phases/field-access.test.ts +22 -0
- package/__tests__/pipeline/phases/leiden.test.ts +72 -0
- package/__tests__/pipeline/phases/markdown.test.ts +84 -0
- package/__tests__/pipeline/phases/middleware-extractor.test.ts +131 -0
- package/__tests__/pipeline/phases/orm.test.ts +379 -0
- package/__tests__/pipeline/phases/processes.test.ts +191 -0
- package/__tests__/pipeline/phases/routes.test.ts +195 -0
- package/__tests__/pipeline/phases/scope-resolution.test.ts +133 -0
- package/__tests__/pipeline/phases/tools.test.ts +161 -0
- package/__tests__/pipeline/phases/variables.test.ts +30 -0
- package/__tests__/pipeline/phases/wildcard-synthesis.test.ts +207 -0
- package/__tests__/registry/repo-registry.test.ts +127 -0
- package/__tests__/reporting/graph-report.suggest.test.ts +36 -0
- package/__tests__/reporting/graph-report.test.ts +165 -0
- package/__tests__/search/ast-chunker.test.ts +63 -0
- package/__tests__/search/embed-batch-config.test.ts +52 -0
- package/__tests__/search/http-embedder.test.ts +78 -0
- package/__tests__/search/hybrid-query.test.ts +101 -0
- package/__tests__/search/rrf.test.ts +95 -0
- package/__tests__/security/safe-fetch.test.ts +41 -0
- package/__tests__/security/sensitive-files.test.ts +32 -0
- package/__tests__/skills/platform-skills.test.ts +63 -0
- package/__tests__/staleness/git-staleness.test.ts +107 -0
- package/__tests__/storage/evidence-roundtrip.test.ts +89 -0
- package/__tests__/validation/extraction-validator.test.ts +48 -0
- package/__tests__/web/analyze-api.test.ts +66 -0
- package/__tests__/web/api.test.ts +210 -0
- package/__tests__/web/mcp-http.test.ts +67 -0
- package/__tests__/web/react-ui.test.ts +43 -0
- package/__tests__/wiki/gist-publisher.test.ts +66 -0
- package/__tests__/wiki/providers.test.ts +57 -0
- package/__tests__/wiki/wiki-generator.test.ts +250 -0
- package/dist/src/__tests__/analysis/benchmark.test.d.ts +2 -0
- package/dist/src/__tests__/analysis/benchmark.test.d.ts.map +1 -0
- package/dist/src/__tests__/analysis/benchmark.test.js +54 -0
- package/dist/src/__tests__/analysis/benchmark.test.js.map +1 -0
- package/dist/src/__tests__/analysis/cluster-quality.test.d.ts +2 -0
- package/dist/src/__tests__/analysis/cluster-quality.test.d.ts.map +1 -0
- package/dist/src/__tests__/analysis/cluster-quality.test.js +99 -0
- package/dist/src/__tests__/analysis/cluster-quality.test.js.map +1 -0
- package/dist/src/__tests__/analysis/corpus-health.test.d.ts +2 -0
- package/dist/src/__tests__/analysis/corpus-health.test.d.ts.map +1 -0
- package/dist/src/__tests__/analysis/corpus-health.test.js +29 -0
- package/dist/src/__tests__/analysis/corpus-health.test.js.map +1 -0
- package/dist/src/__tests__/analysis/dependency-health.test.d.ts +2 -0
- package/dist/src/__tests__/analysis/dependency-health.test.d.ts.map +1 -0
- package/dist/src/__tests__/analysis/dependency-health.test.js +96 -0
- package/dist/src/__tests__/analysis/dependency-health.test.js.map +1 -0
- package/dist/src/__tests__/analysis/file-classifier.test.d.ts +2 -0
- package/dist/src/__tests__/analysis/file-classifier.test.d.ts.map +1 -0
- package/dist/src/__tests__/analysis/file-classifier.test.js +49 -0
- package/dist/src/__tests__/analysis/file-classifier.test.js.map +1 -0
- package/dist/src/__tests__/analysis/node-similarity.test.d.ts +2 -0
- package/dist/src/__tests__/analysis/node-similarity.test.d.ts.map +1 -0
- package/dist/src/__tests__/analysis/node-similarity.test.js +66 -0
- package/dist/src/__tests__/analysis/node-similarity.test.js.map +1 -0
- package/dist/src/__tests__/cache/augment-cache.test.d.ts +2 -0
- package/dist/src/__tests__/cache/augment-cache.test.d.ts.map +1 -0
- package/dist/src/__tests__/cache/augment-cache.test.js +47 -0
- package/dist/src/__tests__/cache/augment-cache.test.js.map +1 -0
- package/dist/src/__tests__/cli/check-update.test.d.ts +2 -0
- package/dist/src/__tests__/cli/check-update.test.d.ts.map +1 -0
- package/dist/src/__tests__/cli/check-update.test.js +38 -0
- package/dist/src/__tests__/cli/check-update.test.js.map +1 -0
- package/dist/src/__tests__/cli/hooks-install.test.d.ts +2 -0
- package/dist/src/__tests__/cli/hooks-install.test.d.ts.map +1 -0
- package/dist/src/__tests__/cli/hooks-install.test.js +48 -0
- package/dist/src/__tests__/cli/hooks-install.test.js.map +1 -0
- package/dist/src/__tests__/cli/hooks-marker.test.d.ts +2 -0
- package/dist/src/__tests__/cli/hooks-marker.test.d.ts.map +1 -0
- package/dist/src/__tests__/cli/hooks-marker.test.js +115 -0
- package/dist/src/__tests__/cli/hooks-marker.test.js.map +1 -0
- package/dist/src/__tests__/cli/hooks-status.test.d.ts +2 -0
- package/dist/src/__tests__/cli/hooks-status.test.d.ts.map +1 -0
- package/dist/src/__tests__/cli/hooks-status.test.js +36 -0
- package/dist/src/__tests__/cli/hooks-status.test.js.map +1 -0
- package/dist/src/__tests__/export/adjacency-matrix.test.d.ts +2 -0
- package/dist/src/__tests__/export/adjacency-matrix.test.d.ts.map +1 -0
- package/dist/src/__tests__/export/adjacency-matrix.test.js +103 -0
- package/dist/src/__tests__/export/adjacency-matrix.test.js.map +1 -0
- package/dist/src/__tests__/export/csv.test.d.ts +2 -0
- package/dist/src/__tests__/export/csv.test.d.ts.map +1 -0
- package/dist/src/__tests__/export/csv.test.js +34 -0
- package/dist/src/__tests__/export/csv.test.js.map +1 -0
- package/dist/src/__tests__/export/dot.test.d.ts +2 -0
- package/dist/src/__tests__/export/dot.test.d.ts.map +1 -0
- package/dist/src/__tests__/export/dot.test.js +73 -0
- package/dist/src/__tests__/export/dot.test.js.map +1 -0
- package/dist/src/__tests__/export/gexf.test.d.ts +2 -0
- package/dist/src/__tests__/export/gexf.test.d.ts.map +1 -0
- package/dist/src/__tests__/export/gexf.test.js +66 -0
- package/dist/src/__tests__/export/gexf.test.js.map +1 -0
- package/dist/src/__tests__/export/graphml.test.d.ts +2 -0
- package/dist/src/__tests__/export/graphml.test.d.ts.map +1 -0
- package/dist/src/__tests__/export/graphml.test.js +51 -0
- package/dist/src/__tests__/export/graphml.test.js.map +1 -0
- package/dist/src/__tests__/export/mermaid.test.d.ts +2 -0
- package/dist/src/__tests__/export/mermaid.test.d.ts.map +1 -0
- package/dist/src/__tests__/export/mermaid.test.js +78 -0
- package/dist/src/__tests__/export/mermaid.test.js.map +1 -0
- package/dist/src/__tests__/graph/betweenness.test.d.ts +2 -0
- package/dist/src/__tests__/graph/betweenness.test.d.ts.map +1 -0
- package/dist/src/__tests__/graph/betweenness.test.js +77 -0
- package/dist/src/__tests__/graph/betweenness.test.js.map +1 -0
- package/dist/src/__tests__/graph/cycles.test.d.ts +2 -0
- package/dist/src/__tests__/graph/cycles.test.d.ts.map +1 -0
- package/dist/src/__tests__/graph/cycles.test.js +119 -0
- package/dist/src/__tests__/graph/cycles.test.js.map +1 -0
- package/dist/src/__tests__/graph/dead-code.test.d.ts +2 -0
- package/dist/src/__tests__/graph/dead-code.test.d.ts.map +1 -0
- package/dist/src/__tests__/graph/dead-code.test.js +89 -0
- package/dist/src/__tests__/graph/dead-code.test.js.map +1 -0
- package/dist/src/__tests__/graph/dfs.test.d.ts +2 -0
- package/dist/src/__tests__/graph/dfs.test.d.ts.map +1 -0
- package/dist/src/__tests__/graph/dfs.test.js +56 -0
- package/dist/src/__tests__/graph/dfs.test.js.map +1 -0
- package/dist/src/__tests__/graph/diff-summary.test.d.ts +2 -0
- package/dist/src/__tests__/graph/diff-summary.test.d.ts.map +1 -0
- package/dist/src/__tests__/graph/diff-summary.test.js +74 -0
- package/dist/src/__tests__/graph/diff-summary.test.js.map +1 -0
- package/dist/src/__tests__/graph/edge-filter.test.d.ts +2 -0
- package/dist/src/__tests__/graph/edge-filter.test.d.ts.map +1 -0
- package/dist/src/__tests__/graph/edge-filter.test.js +117 -0
- package/dist/src/__tests__/graph/edge-filter.test.js.map +1 -0
- package/dist/src/__tests__/graph/import-chain.test.d.ts +2 -0
- package/dist/src/__tests__/graph/import-chain.test.d.ts.map +1 -0
- package/dist/src/__tests__/graph/import-chain.test.js +101 -0
- package/dist/src/__tests__/graph/import-chain.test.js.map +1 -0
- package/dist/src/__tests__/graph/merge.test.d.ts +2 -0
- package/dist/src/__tests__/graph/merge.test.d.ts.map +1 -0
- package/dist/src/__tests__/graph/merge.test.js +132 -0
- package/dist/src/__tests__/graph/merge.test.js.map +1 -0
- package/dist/src/__tests__/graph/node-search.test.d.ts +2 -0
- package/dist/src/__tests__/graph/node-search.test.d.ts.map +1 -0
- package/dist/src/__tests__/graph/node-search.test.js +127 -0
- package/dist/src/__tests__/graph/node-search.test.js.map +1 -0
- package/dist/src/__tests__/graph/normalize-id.test.d.ts +2 -0
- package/dist/src/__tests__/graph/normalize-id.test.d.ts.map +1 -0
- package/dist/src/__tests__/graph/normalize-id.test.js +88 -0
- package/dist/src/__tests__/graph/normalize-id.test.js.map +1 -0
- package/dist/src/__tests__/graph/pagerank.test.d.ts +2 -0
- package/dist/src/__tests__/graph/pagerank.test.d.ts.map +1 -0
- package/dist/src/__tests__/graph/pagerank.test.js +87 -0
- package/dist/src/__tests__/graph/pagerank.test.js.map +1 -0
- package/dist/src/__tests__/graph/prune.test.d.ts +2 -0
- package/dist/src/__tests__/graph/prune.test.d.ts.map +1 -0
- package/dist/src/__tests__/graph/prune.test.js +98 -0
- package/dist/src/__tests__/graph/prune.test.js.map +1 -0
- package/dist/src/__tests__/graph/regex-search.test.d.ts +2 -0
- package/dist/src/__tests__/graph/regex-search.test.d.ts.map +1 -0
- package/dist/src/__tests__/graph/regex-search.test.js +128 -0
- package/dist/src/__tests__/graph/regex-search.test.js.map +1 -0
- package/dist/src/__tests__/graph/ripple-impact.test.d.ts +2 -0
- package/dist/src/__tests__/graph/ripple-impact.test.d.ts.map +1 -0
- package/dist/src/__tests__/graph/ripple-impact.test.js +64 -0
- package/dist/src/__tests__/graph/ripple-impact.test.js.map +1 -0
- package/dist/src/__tests__/graph/scc.test.d.ts +2 -0
- package/dist/src/__tests__/graph/scc.test.d.ts.map +1 -0
- package/dist/src/__tests__/graph/scc.test.js +77 -0
- package/dist/src/__tests__/graph/scc.test.js.map +1 -0
- package/dist/src/__tests__/graph/statistics.test.d.ts +2 -0
- package/dist/src/__tests__/graph/statistics.test.d.ts.map +1 -0
- package/dist/src/__tests__/graph/statistics.test.js +197 -0
- package/dist/src/__tests__/graph/statistics.test.js.map +1 -0
- package/dist/src/__tests__/graph/subgraph.test.d.ts +2 -0
- package/dist/src/__tests__/graph/subgraph.test.d.ts.map +1 -0
- package/dist/src/__tests__/graph/subgraph.test.js +116 -0
- package/dist/src/__tests__/graph/subgraph.test.js.map +1 -0
- package/dist/src/__tests__/graph/topo-sort.test.d.ts +2 -0
- package/dist/src/__tests__/graph/topo-sort.test.d.ts.map +1 -0
- package/dist/src/__tests__/graph/topo-sort.test.js +101 -0
- package/dist/src/__tests__/graph/topo-sort.test.js.map +1 -0
- package/dist/src/__tests__/graph/wcc.test.d.ts +2 -0
- package/dist/src/__tests__/graph/wcc.test.d.ts.map +1 -0
- package/dist/src/__tests__/graph/wcc.test.js +91 -0
- package/dist/src/__tests__/graph/wcc.test.js.map +1 -0
- package/dist/src/__tests__/groups/grpc-extractor.test.d.ts +2 -0
- package/dist/src/__tests__/groups/grpc-extractor.test.d.ts.map +1 -0
- package/dist/src/__tests__/groups/grpc-extractor.test.js +42 -0
- package/dist/src/__tests__/groups/grpc-extractor.test.js.map +1 -0
- package/dist/src/__tests__/groups/service-boundary.test.d.ts +2 -0
- package/dist/src/__tests__/groups/service-boundary.test.d.ts.map +1 -0
- package/dist/src/__tests__/groups/service-boundary.test.js +75 -0
- package/dist/src/__tests__/groups/service-boundary.test.js.map +1 -0
- package/dist/src/__tests__/groups/topic-extractor.test.d.ts +2 -0
- package/dist/src/__tests__/groups/topic-extractor.test.d.ts.map +1 -0
- package/dist/src/__tests__/groups/topic-extractor.test.js +37 -0
- package/dist/src/__tests__/groups/topic-extractor.test.js.map +1 -0
- package/dist/src/__tests__/ingest/git-clone.test.d.ts +2 -0
- package/dist/src/__tests__/ingest/git-clone.test.d.ts.map +1 -0
- package/dist/src/__tests__/ingest/git-clone.test.js +100 -0
- package/dist/src/__tests__/ingest/git-clone.test.js.map +1 -0
- package/dist/src/__tests__/ingest/query-memory.test.d.ts +2 -0
- package/dist/src/__tests__/ingest/query-memory.test.d.ts.map +1 -0
- package/dist/src/__tests__/ingest/query-memory.test.js +116 -0
- package/dist/src/__tests__/ingest/query-memory.test.js.map +1 -0
- package/dist/src/__tests__/ingest/transcribe.test.d.ts +2 -0
- package/dist/src/__tests__/ingest/transcribe.test.d.ts.map +1 -0
- package/dist/src/__tests__/ingest/transcribe.test.js +50 -0
- package/dist/src/__tests__/ingest/transcribe.test.js.map +1 -0
- package/dist/src/__tests__/ingest/url-ingest.test.d.ts +2 -0
- package/dist/src/__tests__/ingest/url-ingest.test.d.ts.map +1 -0
- package/dist/src/__tests__/ingest/url-ingest.test.js +43 -0
- package/dist/src/__tests__/ingest/url-ingest.test.js.map +1 -0
- package/dist/src/__tests__/mcp-resources/repo-context-resource.test.d.ts +2 -0
- package/dist/src/__tests__/mcp-resources/repo-context-resource.test.d.ts.map +1 -0
- package/dist/src/__tests__/mcp-resources/repo-context-resource.test.js +34 -0
- package/dist/src/__tests__/mcp-resources/repo-context-resource.test.js.map +1 -0
- package/dist/src/__tests__/mcp-resources/repos-resource.test.d.ts +2 -0
- package/dist/src/__tests__/mcp-resources/repos-resource.test.d.ts.map +1 -0
- package/dist/src/__tests__/mcp-resources/repos-resource.test.js +63 -0
- package/dist/src/__tests__/mcp-resources/repos-resource.test.js.map +1 -0
- package/dist/src/__tests__/mcp-resources/wiki-resource.test.d.ts +2 -0
- package/dist/src/__tests__/mcp-resources/wiki-resource.test.d.ts.map +1 -0
- package/dist/src/__tests__/mcp-resources/wiki-resource.test.js +47 -0
- package/dist/src/__tests__/mcp-resources/wiki-resource.test.js.map +1 -0
- package/dist/src/__tests__/mcp-tools/embed.test.d.ts +2 -0
- package/dist/src/__tests__/mcp-tools/embed.test.d.ts.map +1 -0
- package/dist/src/__tests__/mcp-tools/embed.test.js +12 -0
- package/dist/src/__tests__/mcp-tools/embed.test.js.map +1 -0
- package/dist/src/__tests__/mcp-tools/explain.test.d.ts +2 -0
- package/dist/src/__tests__/mcp-tools/explain.test.d.ts.map +1 -0
- package/dist/src/__tests__/mcp-tools/explain.test.js +42 -0
- package/dist/src/__tests__/mcp-tools/explain.test.js.map +1 -0
- package/dist/src/__tests__/mcp-tools/graph-query.test.d.ts +2 -0
- package/dist/src/__tests__/mcp-tools/graph-query.test.d.ts.map +1 -0
- package/dist/src/__tests__/mcp-tools/graph-query.test.js +41 -0
- package/dist/src/__tests__/mcp-tools/graph-query.test.js.map +1 -0
- package/dist/src/__tests__/mcp-tools/group-sync.test.d.ts +2 -0
- package/dist/src/__tests__/mcp-tools/group-sync.test.d.ts.map +1 -0
- package/dist/src/__tests__/mcp-tools/group-sync.test.js +8 -0
- package/dist/src/__tests__/mcp-tools/group-sync.test.js.map +1 -0
- package/dist/src/__tests__/mcp-tools/impact-filtering.test.d.ts +2 -0
- package/dist/src/__tests__/mcp-tools/impact-filtering.test.d.ts.map +1 -0
- package/dist/src/__tests__/mcp-tools/impact-filtering.test.js +45 -0
- package/dist/src/__tests__/mcp-tools/impact-filtering.test.js.map +1 -0
- package/dist/src/__tests__/mcp-tools/impact.risk.test.d.ts +2 -0
- package/dist/src/__tests__/mcp-tools/impact.risk.test.d.ts.map +1 -0
- package/dist/src/__tests__/mcp-tools/impact.risk.test.js +21 -0
- package/dist/src/__tests__/mcp-tools/impact.risk.test.js.map +1 -0
- package/dist/src/__tests__/mcp-tools/list-repos.test.d.ts +2 -0
- package/dist/src/__tests__/mcp-tools/list-repos.test.d.ts.map +1 -0
- package/dist/src/__tests__/mcp-tools/list-repos.test.js +21 -0
- package/dist/src/__tests__/mcp-tools/list-repos.test.js.map +1 -0
- package/dist/src/__tests__/mcp-tools/neighbors.test.d.ts +2 -0
- package/dist/src/__tests__/mcp-tools/neighbors.test.d.ts.map +1 -0
- package/dist/src/__tests__/mcp-tools/neighbors.test.js +44 -0
- package/dist/src/__tests__/mcp-tools/neighbors.test.js.map +1 -0
- package/dist/src/__tests__/mcp-tools/query.test.d.ts +2 -0
- package/dist/src/__tests__/mcp-tools/query.test.d.ts.map +1 -0
- package/dist/src/__tests__/mcp-tools/query.test.js +37 -0
- package/dist/src/__tests__/mcp-tools/query.test.js.map +1 -0
- package/dist/src/__tests__/parsers/language-parsers.test.d.ts +2 -0
- package/dist/src/__tests__/parsers/language-parsers.test.d.ts.map +1 -0
- package/dist/src/__tests__/parsers/language-parsers.test.js +48 -0
- package/dist/src/__tests__/parsers/language-parsers.test.js.map +1 -0
- package/dist/src/__tests__/parsers/named-bindings.test.d.ts +2 -0
- package/dist/src/__tests__/parsers/named-bindings.test.d.ts.map +1 -0
- package/dist/src/__tests__/parsers/named-bindings.test.js +68 -0
- package/dist/src/__tests__/parsers/named-bindings.test.js.map +1 -0
- package/dist/src/__tests__/pipeline/cluster-only.test.d.ts +2 -0
- package/dist/src/__tests__/pipeline/cluster-only.test.d.ts.map +1 -0
- package/dist/src/__tests__/pipeline/cluster-only.test.js +31 -0
- package/dist/src/__tests__/pipeline/cluster-only.test.js.map +1 -0
- package/dist/src/__tests__/pipeline/incremental.test.d.ts +2 -0
- package/dist/src/__tests__/pipeline/incremental.test.d.ts.map +1 -0
- package/dist/src/__tests__/pipeline/incremental.test.js +38 -0
- package/dist/src/__tests__/pipeline/incremental.test.js.map +1 -0
- package/dist/src/__tests__/pipeline/phases/communities.cohesion.test.d.ts +2 -0
- package/dist/src/__tests__/pipeline/phases/communities.cohesion.test.d.ts.map +1 -0
- package/dist/src/__tests__/pipeline/phases/communities.cohesion.test.js +40 -0
- package/dist/src/__tests__/pipeline/phases/communities.cohesion.test.js.map +1 -0
- package/dist/src/__tests__/pipeline/phases/community-split.test.d.ts +2 -0
- package/dist/src/__tests__/pipeline/phases/community-split.test.d.ts.map +1 -0
- package/dist/src/__tests__/pipeline/phases/community-split.test.js +27 -0
- package/dist/src/__tests__/pipeline/phases/community-split.test.js.map +1 -0
- package/dist/src/__tests__/pipeline/phases/framework-detect.test.d.ts +2 -0
- package/dist/src/__tests__/pipeline/phases/framework-detect.test.d.ts.map +1 -0
- package/dist/src/__tests__/pipeline/phases/framework-detect.test.js +56 -0
- package/dist/src/__tests__/pipeline/phases/framework-detect.test.js.map +1 -0
- package/dist/src/__tests__/pipeline/phases/import-resolver.test.d.ts +2 -0
- package/dist/src/__tests__/pipeline/phases/import-resolver.test.d.ts.map +1 -0
- package/dist/src/__tests__/pipeline/phases/import-resolver.test.js +56 -0
- package/dist/src/__tests__/pipeline/phases/import-resolver.test.js.map +1 -0
- package/dist/src/__tests__/pipeline/phases/parse-arrow.test.d.ts +2 -0
- package/dist/src/__tests__/pipeline/phases/parse-arrow.test.d.ts.map +1 -0
- package/dist/src/__tests__/pipeline/phases/parse-arrow.test.js +30 -0
- package/dist/src/__tests__/pipeline/phases/parse-arrow.test.js.map +1 -0
- package/dist/src/__tests__/pipeline/phases/parse-csharp.test.d.ts +2 -0
- package/dist/src/__tests__/pipeline/phases/parse-csharp.test.d.ts.map +1 -0
- package/dist/src/__tests__/pipeline/phases/parse-csharp.test.js +30 -0
- package/dist/src/__tests__/pipeline/phases/parse-csharp.test.js.map +1 -0
- package/dist/src/__tests__/pipeline/phases/scan.monographignore.test.d.ts +2 -0
- package/dist/src/__tests__/pipeline/phases/scan.monographignore.test.d.ts.map +1 -0
- package/dist/src/__tests__/pipeline/phases/scan.monographignore.test.js +46 -0
- package/dist/src/__tests__/pipeline/phases/scan.monographignore.test.js.map +1 -0
- package/dist/src/__tests__/pipeline/phases/scan.negation.test.d.ts +2 -0
- package/dist/src/__tests__/pipeline/phases/scan.negation.test.d.ts.map +1 -0
- package/dist/src/__tests__/pipeline/phases/scan.negation.test.js +35 -0
- package/dist/src/__tests__/pipeline/phases/scan.negation.test.js.map +1 -0
- package/dist/src/__tests__/pipeline/phases/scope-resolution.go.test.d.ts +2 -0
- package/dist/src/__tests__/pipeline/phases/scope-resolution.go.test.d.ts.map +1 -0
- package/dist/src/__tests__/pipeline/phases/scope-resolution.go.test.js +32 -0
- package/dist/src/__tests__/pipeline/phases/scope-resolution.go.test.js.map +1 -0
- package/dist/src/__tests__/pipeline/phases/scope-resolution.java.test.d.ts +2 -0
- package/dist/src/__tests__/pipeline/phases/scope-resolution.java.test.d.ts.map +1 -0
- package/dist/src/__tests__/pipeline/phases/scope-resolution.java.test.js +28 -0
- package/dist/src/__tests__/pipeline/phases/scope-resolution.java.test.js.map +1 -0
- package/dist/src/__tests__/pipeline/phases/scope-resolution.rust.test.d.ts +2 -0
- package/dist/src/__tests__/pipeline/phases/scope-resolution.rust.test.d.ts.map +1 -0
- package/dist/src/__tests__/pipeline/phases/scope-resolution.rust.test.js +29 -0
- package/dist/src/__tests__/pipeline/phases/scope-resolution.rust.test.js.map +1 -0
- package/dist/src/__tests__/pipeline/phases/suggest-questions.test.d.ts +2 -0
- package/dist/src/__tests__/pipeline/phases/suggest-questions.test.d.ts.map +1 -0
- package/dist/src/__tests__/pipeline/phases/suggest-questions.test.js +42 -0
- package/dist/src/__tests__/pipeline/phases/suggest-questions.test.js.map +1 -0
- package/dist/src/__tests__/pipeline/phases/surprises-scoring.test.d.ts +2 -0
- package/dist/src/__tests__/pipeline/phases/surprises-scoring.test.d.ts.map +1 -0
- package/dist/src/__tests__/pipeline/phases/surprises-scoring.test.js +42 -0
- package/dist/src/__tests__/pipeline/phases/surprises-scoring.test.js.map +1 -0
- package/dist/src/__tests__/pipeline/phases/variables-phase.test.d.ts +2 -0
- package/dist/src/__tests__/pipeline/phases/variables-phase.test.d.ts.map +1 -0
- package/dist/src/__tests__/pipeline/phases/variables-phase.test.js +72 -0
- package/dist/src/__tests__/pipeline/phases/variables-phase.test.js.map +1 -0
- package/dist/src/__tests__/pipeline/phases/wildcard-phase.test.d.ts +2 -0
- package/dist/src/__tests__/pipeline/phases/wildcard-phase.test.d.ts.map +1 -0
- package/dist/src/__tests__/pipeline/phases/wildcard-phase.test.js +59 -0
- package/dist/src/__tests__/pipeline/phases/wildcard-phase.test.js.map +1 -0
- package/dist/src/__tests__/pipeline/runner.parallel.test.d.ts +2 -0
- package/dist/src/__tests__/pipeline/runner.parallel.test.d.ts.map +1 -0
- package/dist/src/__tests__/pipeline/runner.parallel.test.js +66 -0
- package/dist/src/__tests__/pipeline/runner.parallel.test.js.map +1 -0
- package/dist/src/__tests__/reporting/graph-report-confidence.test.d.ts +2 -0
- package/dist/src/__tests__/reporting/graph-report-confidence.test.d.ts.map +1 -0
- package/dist/src/__tests__/reporting/graph-report-confidence.test.js +40 -0
- package/dist/src/__tests__/reporting/graph-report-confidence.test.js.map +1 -0
- package/dist/src/__tests__/reporting/graph-report-gaps.test.d.ts +2 -0
- package/dist/src/__tests__/reporting/graph-report-gaps.test.d.ts.map +1 -0
- package/dist/src/__tests__/reporting/graph-report-gaps.test.js +38 -0
- package/dist/src/__tests__/reporting/graph-report-gaps.test.js.map +1 -0
- package/dist/src/__tests__/scope-resolution/evidence-weights.test.d.ts +2 -0
- package/dist/src/__tests__/scope-resolution/evidence-weights.test.d.ts.map +1 -0
- package/dist/src/__tests__/scope-resolution/evidence-weights.test.js +40 -0
- package/dist/src/__tests__/scope-resolution/evidence-weights.test.js.map +1 -0
- package/dist/src/__tests__/search/diacritic.test.d.ts +2 -0
- package/dist/src/__tests__/search/diacritic.test.d.ts.map +1 -0
- package/dist/src/__tests__/search/diacritic.test.js +23 -0
- package/dist/src/__tests__/search/diacritic.test.js.map +1 -0
- package/dist/src/__tests__/search/embed-stale.test.d.ts +2 -0
- package/dist/src/__tests__/search/embed-stale.test.d.ts.map +1 -0
- package/dist/src/__tests__/search/embed-stale.test.js +38 -0
- package/dist/src/__tests__/search/embed-stale.test.js.map +1 -0
- package/dist/src/__tests__/search/exact-search.test.d.ts +2 -0
- package/dist/src/__tests__/search/exact-search.test.d.ts.map +1 -0
- package/dist/src/__tests__/search/exact-search.test.js +49 -0
- package/dist/src/__tests__/search/exact-search.test.js.map +1 -0
- package/dist/src/__tests__/security/safe-fetch.test.d.ts +2 -0
- package/dist/src/__tests__/security/safe-fetch.test.d.ts.map +1 -0
- package/dist/src/__tests__/security/safe-fetch.test.js +113 -0
- package/dist/src/__tests__/security/safe-fetch.test.js.map +1 -0
- package/dist/src/__tests__/skills/platform-skills.extra.test.d.ts +2 -0
- package/dist/src/__tests__/skills/platform-skills.extra.test.d.ts.map +1 -0
- package/dist/src/__tests__/skills/platform-skills.extra.test.js +31 -0
- package/dist/src/__tests__/skills/platform-skills.extra.test.js.map +1 -0
- package/dist/src/__tests__/web/api.clusters.test.d.ts +2 -0
- package/dist/src/__tests__/web/api.clusters.test.d.ts.map +1 -0
- package/dist/src/__tests__/web/api.clusters.test.js +59 -0
- package/dist/src/__tests__/web/api.clusters.test.js.map +1 -0
- package/dist/src/__tests__/web/api.file.test.d.ts +2 -0
- package/dist/src/__tests__/web/api.file.test.d.ts.map +1 -0
- package/dist/src/__tests__/web/api.file.test.js +38 -0
- package/dist/src/__tests__/web/api.file.test.js.map +1 -0
- package/dist/src/__tests__/web/api.grep.test.d.ts +2 -0
- package/dist/src/__tests__/web/api.grep.test.d.ts.map +1 -0
- package/dist/src/__tests__/web/api.grep.test.js +43 -0
- package/dist/src/__tests__/web/api.grep.test.js.map +1 -0
- package/dist/src/__tests__/web/api.info.test.d.ts +2 -0
- package/dist/src/__tests__/web/api.info.test.d.ts.map +1 -0
- package/dist/src/__tests__/web/api.info.test.js +17 -0
- package/dist/src/__tests__/web/api.info.test.js.map +1 -0
- package/dist/src/__tests__/web/api.jobs.test.d.ts +2 -0
- package/dist/src/__tests__/web/api.jobs.test.d.ts.map +1 -0
- package/dist/src/__tests__/web/api.jobs.test.js +40 -0
- package/dist/src/__tests__/web/api.jobs.test.js.map +1 -0
- package/dist/src/__tests__/web/api.progress.test.d.ts +2 -0
- package/dist/src/__tests__/web/api.progress.test.d.ts.map +1 -0
- package/dist/src/__tests__/web/api.progress.test.js +23 -0
- package/dist/src/__tests__/web/api.progress.test.js.map +1 -0
- package/dist/src/__tests__/web/api.stream.test.d.ts +2 -0
- package/dist/src/__tests__/web/api.stream.test.d.ts.map +1 -0
- package/dist/src/__tests__/web/api.stream.test.js +33 -0
- package/dist/src/__tests__/web/api.stream.test.js.map +1 -0
- package/dist/src/__tests__/wiki/providers-reasoning.test.d.ts +2 -0
- package/dist/src/__tests__/wiki/providers-reasoning.test.d.ts.map +1 -0
- package/dist/src/__tests__/wiki/providers-reasoning.test.js +41 -0
- package/dist/src/__tests__/wiki/providers-reasoning.test.js.map +1 -0
- package/dist/src/__tests__/wiki/wiki-review-mode.test.d.ts +2 -0
- package/dist/src/__tests__/wiki/wiki-review-mode.test.d.ts.map +1 -0
- package/dist/src/__tests__/wiki/wiki-review-mode.test.js +21 -0
- package/dist/src/__tests__/wiki/wiki-review-mode.test.js.map +1 -0
- package/dist/src/analysis/benchmark.d.ts +23 -0
- package/dist/src/analysis/benchmark.d.ts.map +1 -0
- package/dist/src/analysis/benchmark.js +91 -0
- package/dist/src/analysis/benchmark.js.map +1 -0
- package/dist/src/analysis/changed-files.d.ts +15 -0
- package/dist/src/analysis/changed-files.d.ts.map +1 -0
- package/dist/src/analysis/changed-files.js +49 -0
- package/dist/src/analysis/changed-files.js.map +1 -0
- package/dist/src/analysis/changed-workspaces.d.ts +8 -0
- package/dist/src/analysis/changed-workspaces.d.ts.map +1 -0
- package/dist/src/analysis/changed-workspaces.js +66 -0
- package/dist/src/analysis/changed-workspaces.js.map +1 -0
- package/dist/src/analysis/churn-cache.d.ts +31 -0
- package/dist/src/analysis/churn-cache.d.ts.map +1 -0
- package/dist/src/analysis/churn-cache.js +172 -0
- package/dist/src/analysis/churn-cache.js.map +1 -0
- package/dist/src/analysis/churn-trend.d.ts +5 -0
- package/dist/src/analysis/churn-trend.d.ts.map +1 -0
- package/dist/src/analysis/churn-trend.js +73 -0
- package/dist/src/analysis/churn-trend.js.map +1 -0
- package/dist/src/analysis/churn.d.ts +26 -0
- package/dist/src/analysis/churn.d.ts.map +1 -0
- package/dist/src/analysis/churn.js +164 -0
- package/dist/src/analysis/churn.js.map +1 -0
- package/dist/src/analysis/cluster-quality.d.ts +29 -0
- package/dist/src/analysis/cluster-quality.d.ts.map +1 -0
- package/dist/src/analysis/cluster-quality.js +124 -0
- package/dist/src/analysis/cluster-quality.js.map +1 -0
- package/dist/src/analysis/combined.d.ts +13 -0
- package/dist/src/analysis/combined.d.ts.map +1 -0
- package/dist/src/analysis/combined.js +19 -0
- package/dist/src/analysis/combined.js.map +1 -0
- package/dist/src/analysis/corpus-health.d.ts +14 -0
- package/dist/src/analysis/corpus-health.d.ts.map +1 -0
- package/dist/src/analysis/corpus-health.js +20 -0
- package/dist/src/analysis/corpus-health.js.map +1 -0
- package/dist/src/analysis/coverage-gaps.d.ts +26 -0
- package/dist/src/analysis/coverage-gaps.d.ts.map +1 -0
- package/dist/src/analysis/coverage-gaps.js +173 -0
- package/dist/src/analysis/coverage-gaps.js.map +1 -0
- package/dist/src/analysis/cycles.d.ts +16 -0
- package/dist/src/analysis/cycles.d.ts.map +1 -0
- package/dist/src/analysis/cycles.js +201 -0
- package/dist/src/analysis/cycles.js.map +1 -0
- package/dist/src/analysis/dep-classification.d.ts +19 -0
- package/dist/src/analysis/dep-classification.d.ts.map +1 -0
- package/dist/src/analysis/dep-classification.js +129 -0
- package/dist/src/analysis/dep-classification.js.map +1 -0
- package/dist/src/analysis/dependency-health.d.ts +51 -0
- package/dist/src/analysis/dependency-health.d.ts.map +1 -0
- package/dist/src/analysis/dependency-health.js +105 -0
- package/dist/src/analysis/dependency-health.js.map +1 -0
- package/dist/src/analysis/duplicate-exports.d.ts +21 -0
- package/dist/src/analysis/duplicate-exports.d.ts.map +1 -0
- package/dist/src/analysis/duplicate-exports.js +69 -0
- package/dist/src/analysis/duplicate-exports.js.map +1 -0
- package/dist/src/analysis/fallow-suppression.d.ts +12 -0
- package/dist/src/analysis/fallow-suppression.d.ts.map +1 -0
- package/dist/src/analysis/fallow-suppression.js +67 -0
- package/dist/src/analysis/fallow-suppression.js.map +1 -0
- package/dist/src/analysis/feature-flags-config.d.ts +8 -0
- package/dist/src/analysis/feature-flags-config.d.ts.map +1 -0
- package/dist/src/analysis/feature-flags-config.js +41 -0
- package/dist/src/analysis/feature-flags-config.js.map +1 -0
- package/dist/src/analysis/feature-flags.d.ts +35 -0
- package/dist/src/analysis/feature-flags.d.ts.map +1 -0
- package/dist/src/analysis/feature-flags.js +190 -0
- package/dist/src/analysis/feature-flags.js.map +1 -0
- package/dist/src/analysis/file-classifier.d.ts +4 -0
- package/dist/src/analysis/file-classifier.d.ts.map +1 -0
- package/dist/src/analysis/file-classifier.js +74 -0
- package/dist/src/analysis/file-classifier.js.map +1 -0
- package/dist/src/analysis/git-changed-files.d.ts +9 -0
- package/dist/src/analysis/git-changed-files.d.ts.map +1 -0
- package/dist/src/analysis/git-changed-files.js +58 -0
- package/dist/src/analysis/git-changed-files.js.map +1 -0
- package/dist/src/analysis/health-baseline.d.ts +20 -0
- package/dist/src/analysis/health-baseline.d.ts.map +1 -0
- package/dist/src/analysis/health-baseline.js +57 -0
- package/dist/src/analysis/health-baseline.js.map +1 -0
- package/dist/src/analysis/issue-filters.d.ts +28 -0
- package/dist/src/analysis/issue-filters.d.ts.map +1 -0
- package/dist/src/analysis/issue-filters.js +57 -0
- package/dist/src/analysis/issue-filters.js.map +1 -0
- package/dist/src/analysis/list.d.ts +32 -0
- package/dist/src/analysis/list.d.ts.map +1 -0
- package/dist/src/analysis/list.js +44 -0
- package/dist/src/analysis/list.js.map +1 -0
- package/dist/src/analysis/node-similarity.d.ts +53 -0
- package/dist/src/analysis/node-similarity.d.ts.map +1 -0
- package/dist/src/analysis/node-similarity.js +94 -0
- package/dist/src/analysis/node-similarity.js.map +1 -0
- package/dist/src/analysis/private-type-leaks.d.ts +21 -0
- package/dist/src/analysis/private-type-leaks.d.ts.map +1 -0
- package/dist/src/analysis/private-type-leaks.js +83 -0
- package/dist/src/analysis/private-type-leaks.js.map +1 -0
- package/dist/src/analysis/progress.d.ts +12 -0
- package/dist/src/analysis/progress.d.ts.map +1 -0
- package/dist/src/analysis/progress.js +40 -0
- package/dist/src/analysis/progress.js.map +1 -0
- package/dist/src/analysis/project-state.d.ts +30 -0
- package/dist/src/analysis/project-state.d.ts.map +1 -0
- package/dist/src/analysis/project-state.js +69 -0
- package/dist/src/analysis/project-state.js.map +1 -0
- package/dist/src/analysis/regression-config.d.ts +8 -0
- package/dist/src/analysis/regression-config.d.ts.map +1 -0
- package/dist/src/analysis/regression-config.js +40 -0
- package/dist/src/analysis/regression-config.js.map +1 -0
- package/dist/src/analysis/rule-overrides.d.ts +26 -0
- package/dist/src/analysis/rule-overrides.d.ts.map +1 -0
- package/dist/src/analysis/rule-overrides.js +48 -0
- package/dist/src/analysis/rule-overrides.js.map +1 -0
- package/dist/src/analysis/scripts.d.ts +22 -0
- package/dist/src/analysis/scripts.d.ts.map +1 -0
- package/dist/src/analysis/scripts.js +70 -0
- package/dist/src/analysis/scripts.js.map +1 -0
- package/dist/src/analysis/shape-extractor.d.ts +34 -0
- package/dist/src/analysis/shape-extractor.d.ts.map +1 -0
- package/dist/src/analysis/shape-extractor.js +178 -0
- package/dist/src/analysis/shape-extractor.js.map +1 -0
- package/dist/src/analysis/since-duration.d.ts +7 -0
- package/dist/src/analysis/since-duration.d.ts.map +1 -0
- package/dist/src/analysis/since-duration.js +38 -0
- package/dist/src/analysis/since-duration.js.map +1 -0
- package/dist/src/analysis/suppression-context.d.ts +28 -0
- package/dist/src/analysis/suppression-context.d.ts.map +1 -0
- package/dist/src/analysis/suppression-context.js +71 -0
- package/dist/src/analysis/suppression-context.js.map +1 -0
- package/dist/src/analysis/suppressions.d.ts +22 -0
- package/dist/src/analysis/suppressions.d.ts.map +1 -0
- package/dist/src/analysis/suppressions.js +42 -0
- package/dist/src/analysis/suppressions.js.map +1 -0
- package/dist/src/analysis/surprise-scorer.d.ts +32 -0
- package/dist/src/analysis/surprise-scorer.d.ts.map +1 -0
- package/dist/src/analysis/surprise-scorer.js +42 -0
- package/dist/src/analysis/surprise-scorer.js.map +1 -0
- package/dist/src/analysis/targets.d.ts +68 -0
- package/dist/src/analysis/targets.d.ts.map +1 -0
- package/dist/src/analysis/targets.js +153 -0
- package/dist/src/analysis/targets.js.map +1 -0
- package/dist/src/analysis/trace.d.ts +80 -0
- package/dist/src/analysis/trace.d.ts.map +1 -0
- package/dist/src/analysis/trace.js +204 -0
- package/dist/src/analysis/trace.js.map +1 -0
- package/dist/src/analysis/unused-class-members.d.ts +27 -0
- package/dist/src/analysis/unused-class-members.d.ts.map +1 -0
- package/dist/src/analysis/unused-class-members.js +52 -0
- package/dist/src/analysis/unused-class-members.js.map +1 -0
- package/dist/src/analysis/worker-pool.d.ts +17 -0
- package/dist/src/analysis/worker-pool.d.ts.map +1 -0
- package/dist/src/analysis/worker-pool.js +60 -0
- package/dist/src/analysis/worker-pool.js.map +1 -0
- package/dist/src/analysis/workspace-filter.d.ts +29 -0
- package/dist/src/analysis/workspace-filter.d.ts.map +1 -0
- package/dist/src/analysis/workspace-filter.js +67 -0
- package/dist/src/analysis/workspace-filter.js.map +1 -0
- package/dist/src/analyze/boundary-analysis.d.ts +11 -0
- package/dist/src/analyze/boundary-analysis.d.ts.map +1 -0
- package/dist/src/analyze/boundary-analysis.js +101 -0
- package/dist/src/analyze/boundary-analysis.js.map +1 -0
- package/dist/src/analyze/predicates/file.d.ts +5 -0
- package/dist/src/analyze/predicates/file.d.ts.map +1 -0
- package/dist/src/analyze/predicates/file.js +78 -0
- package/dist/src/analyze/predicates/file.js.map +1 -0
- package/dist/src/analyze/predicates/import.d.ts +5 -0
- package/dist/src/analyze/predicates/import.d.ts.map +1 -0
- package/dist/src/analyze/predicates/import.js +90 -0
- package/dist/src/analyze/predicates/import.js.map +1 -0
- package/dist/src/analyze/predicates/lifecycle.d.ts +6 -0
- package/dist/src/analyze/predicates/lifecycle.d.ts.map +1 -0
- package/dist/src/analyze/predicates/lifecycle.js +52 -0
- package/dist/src/analyze/predicates/lifecycle.js.map +1 -0
- package/dist/src/analyze/unused-deps.d.ts +22 -0
- package/dist/src/analyze/unused-deps.d.ts.map +1 -0
- package/dist/src/analyze/unused-deps.js +31 -0
- package/dist/src/analyze/unused-deps.js.map +1 -0
- package/dist/src/analyze/unused-exports.d.ts +18 -0
- package/dist/src/analyze/unused-exports.d.ts.map +1 -0
- package/dist/src/analyze/unused-exports.js +108 -0
- package/dist/src/analyze/unused-exports.js.map +1 -0
- package/dist/src/analyze/unused-files.d.ts +12 -0
- package/dist/src/analyze/unused-files.d.ts.map +1 -0
- package/dist/src/analyze/unused-files.js +30 -0
- package/dist/src/analyze/unused-files.js.map +1 -0
- package/dist/src/api/production-override.d.ts +22 -0
- package/dist/src/api/production-override.d.ts.map +1 -0
- package/dist/src/api/production-override.js +36 -0
- package/dist/src/api/production-override.js.map +1 -0
- package/dist/src/api/programmatic.d.ts +62 -0
- package/dist/src/api/programmatic.d.ts.map +1 -0
- package/dist/src/api/programmatic.js +45 -0
- package/dist/src/api/programmatic.js.map +1 -0
- package/dist/src/audit.d.ts +24 -0
- package/dist/src/audit.d.ts.map +1 -0
- package/dist/src/audit.js +200 -0
- package/dist/src/audit.js.map +1 -0
- package/dist/src/cache/augment-cache.d.ts +14 -0
- package/dist/src/cache/augment-cache.d.ts.map +1 -0
- package/dist/src/cache/augment-cache.js +46 -0
- package/dist/src/cache/augment-cache.js.map +1 -0
- package/dist/src/cache/extraction-cache.d.ts +34 -0
- package/dist/src/cache/extraction-cache.d.ts.map +1 -0
- package/dist/src/cache/extraction-cache.js +54 -0
- package/dist/src/cache/extraction-cache.js.map +1 -0
- package/dist/src/check/filtering.d.ts +11 -0
- package/dist/src/check/filtering.d.ts.map +1 -0
- package/dist/src/check/filtering.js +47 -0
- package/dist/src/check/filtering.js.map +1 -0
- package/dist/src/check/index.d.ts +47 -0
- package/dist/src/check/index.d.ts.map +1 -0
- package/dist/src/check/index.js +39 -0
- package/dist/src/check/index.js.map +1 -0
- package/dist/src/check/output.d.ts +54 -0
- package/dist/src/check/output.d.ts.map +1 -0
- package/dist/src/check/output.js +39 -0
- package/dist/src/check/output.js.map +1 -0
- package/dist/src/check/rules.d.ts +32 -0
- package/dist/src/check/rules.d.ts.map +1 -0
- package/dist/src/check/rules.js +27 -0
- package/dist/src/check/rules.js.map +1 -0
- package/dist/src/ci-template.d.ts +14 -0
- package/dist/src/ci-template.d.ts.map +1 -0
- package/dist/src/ci-template.js +65 -0
- package/dist/src/ci-template.js.map +1 -0
- package/dist/src/cli/ai-context.d.ts +40 -0
- package/dist/src/cli/ai-context.d.ts.map +1 -0
- package/dist/src/cli/ai-context.js +152 -0
- package/dist/src/cli/ai-context.js.map +1 -0
- package/dist/src/cli/augment.d.ts +34 -0
- package/dist/src/cli/augment.d.ts.map +1 -0
- package/dist/src/cli/augment.js +82 -0
- package/dist/src/cli/augment.js.map +1 -0
- package/dist/src/cli/check-update.d.ts +12 -0
- package/dist/src/cli/check-update.d.ts.map +1 -0
- package/dist/src/cli/check-update.js +25 -0
- package/dist/src/cli/check-update.js.map +1 -0
- package/dist/src/cli/doctor.d.ts +33 -0
- package/dist/src/cli/doctor.d.ts.map +1 -0
- package/dist/src/cli/doctor.js +162 -0
- package/dist/src/cli/doctor.js.map +1 -0
- package/dist/src/cli/eval-server.d.ts +29 -0
- package/dist/src/cli/eval-server.d.ts.map +1 -0
- package/dist/src/cli/eval-server.js +96 -0
- package/dist/src/cli/eval-server.js.map +1 -0
- package/dist/src/cli/hooks-install.d.ts +31 -0
- package/dist/src/cli/hooks-install.d.ts.map +1 -0
- package/dist/src/cli/hooks-install.js +175 -0
- package/dist/src/cli/hooks-install.js.map +1 -0
- package/dist/src/cli/setup.d.ts +35 -0
- package/dist/src/cli/setup.d.ts.map +1 -0
- package/dist/src/cli/setup.js +155 -0
- package/dist/src/cli/setup.js.map +1 -0
- package/dist/src/cli/skill-gen.d.ts +20 -0
- package/dist/src/cli/skill-gen.d.ts.map +1 -0
- package/dist/src/cli/skill-gen.js +278 -0
- package/dist/src/cli/skill-gen.js.map +1 -0
- package/dist/src/commands/flags.d.ts +40 -0
- package/dist/src/commands/flags.d.ts.map +1 -0
- package/dist/src/commands/flags.js +36 -0
- package/dist/src/commands/flags.js.map +1 -0
- package/dist/src/config/boundary-config.d.ts +33 -0
- package/dist/src/config/boundary-config.d.ts.map +1 -0
- package/dist/src/config/boundary-config.js +127 -0
- package/dist/src/config/boundary-config.js.map +1 -0
- package/dist/src/config/cli-schema.d.ts +22 -0
- package/dist/src/config/cli-schema.d.ts.map +1 -0
- package/dist/src/config/cli-schema.js +57 -0
- package/dist/src/config/cli-schema.js.map +1 -0
- package/dist/src/config/config-parsing.d.ts +11 -0
- package/dist/src/config/config-parsing.d.ts.map +1 -0
- package/dist/src/config/config-parsing.js +104 -0
- package/dist/src/config/config-parsing.js.map +1 -0
- package/dist/src/config/duplicates-config.d.ts +25 -0
- package/dist/src/config/duplicates-config.d.ts.map +1 -0
- package/dist/src/config/duplicates-config.js +33 -0
- package/dist/src/config/duplicates-config.js.map +1 -0
- package/dist/src/config/external-plugin.d.ts +20 -0
- package/dist/src/config/external-plugin.d.ts.map +1 -0
- package/dist/src/config/external-plugin.js +57 -0
- package/dist/src/config/external-plugin.js.map +1 -0
- package/dist/src/config/health-config.d.ts +17 -0
- package/dist/src/config/health-config.d.ts.map +1 -0
- package/dist/src/config/health-config.js +25 -0
- package/dist/src/config/health-config.js.map +1 -0
- package/dist/src/config/ignore-exports-used-in-file.d.ts +19 -0
- package/dist/src/config/ignore-exports-used-in-file.d.ts.map +1 -0
- package/dist/src/config/ignore-exports-used-in-file.js +34 -0
- package/dist/src/config/ignore-exports-used-in-file.js.map +1 -0
- package/dist/src/config/migration-types.d.ts +24 -0
- package/dist/src/config/migration-types.d.ts.map +1 -0
- package/dist/src/config/migration-types.js +43 -0
- package/dist/src/config/migration-types.js.map +1 -0
- package/dist/src/config/output-format.d.ts +5 -0
- package/dist/src/config/output-format.d.ts.map +1 -0
- package/dist/src/config/output-format.js +21 -0
- package/dist/src/config/output-format.js.map +1 -0
- package/dist/src/config/plugins/builtin.d.ts +5 -0
- package/dist/src/config/plugins/builtin.d.ts.map +1 -0
- package/dist/src/config/plugins/builtin.js +408 -0
- package/dist/src/config/plugins/builtin.js.map +1 -0
- package/dist/src/config/plugins/registry.d.ts +4 -0
- package/dist/src/config/plugins/registry.d.ts.map +1 -0
- package/dist/src/config/plugins/registry.js +82 -0
- package/dist/src/config/plugins/registry.js.map +1 -0
- package/dist/src/config/plugins/types.d.ts +14 -0
- package/dist/src/config/plugins/types.d.ts.map +1 -0
- package/dist/src/config/plugins/types.js +2 -0
- package/dist/src/config/plugins/types.js.map +1 -0
- package/dist/src/config/resolution.d.ts +20 -0
- package/dist/src/config/resolution.d.ts.map +1 -0
- package/dist/src/config/resolution.js +88 -0
- package/dist/src/config/resolution.js.map +1 -0
- package/dist/src/config/rules.d.ts +29 -0
- package/dist/src/config/rules.d.ts.map +1 -0
- package/dist/src/config/rules.js +40 -0
- package/dist/src/config/rules.js.map +1 -0
- package/dist/src/config/schema-gen.d.ts +25 -0
- package/dist/src/config/schema-gen.d.ts.map +1 -0
- package/dist/src/config/schema-gen.js +91 -0
- package/dist/src/config/schema-gen.js.map +1 -0
- package/dist/src/config/types.d.ts +118 -0
- package/dist/src/config/types.d.ts.map +1 -0
- package/dist/src/config/types.js +20 -0
- package/dist/src/config/types.js.map +1 -0
- package/dist/src/config/used-class-members.d.ts +18 -0
- package/dist/src/config/used-class-members.d.ts.map +1 -0
- package/dist/src/config/used-class-members.js +32 -0
- package/dist/src/config/used-class-members.js.map +1 -0
- package/dist/src/config/validate.d.ts +12 -0
- package/dist/src/config/validate.d.ts.map +1 -0
- package/dist/src/config/validate.js +88 -0
- package/dist/src/config/validate.js.map +1 -0
- package/dist/src/config/workspace.d.ts +23 -0
- package/dist/src/config/workspace.d.ts.map +1 -0
- package/dist/src/config/workspace.js +106 -0
- package/dist/src/config/workspace.js.map +1 -0
- package/dist/src/coverage/cloud-client.d.ts +61 -0
- package/dist/src/coverage/cloud-client.d.ts.map +1 -0
- package/dist/src/coverage/cloud-client.js +46 -0
- package/dist/src/coverage/cloud-client.js.map +1 -0
- package/dist/src/coverage/runtime.d.ts +36 -0
- package/dist/src/coverage/runtime.d.ts.map +1 -0
- package/dist/src/coverage/runtime.js +187 -0
- package/dist/src/coverage/runtime.js.map +1 -0
- package/dist/src/coverage/upload-inventory.d.ts +29 -0
- package/dist/src/coverage/upload-inventory.d.ts.map +1 -0
- package/dist/src/coverage/upload-inventory.js +51 -0
- package/dist/src/coverage/upload-inventory.js.map +1 -0
- package/dist/src/coverage/upload-source-maps.d.ts +30 -0
- package/dist/src/coverage/upload-source-maps.d.ts.map +1 -0
- package/dist/src/coverage/upload-source-maps.js +59 -0
- package/dist/src/coverage/upload-source-maps.js.map +1 -0
- package/dist/src/discover/entry-points.d.ts +13 -0
- package/dist/src/discover/entry-points.d.ts.map +1 -0
- package/dist/src/discover/entry-points.js +28 -0
- package/dist/src/discover/entry-points.js.map +1 -0
- package/dist/src/discover/infrastructure-entries.d.ts +10 -0
- package/dist/src/discover/infrastructure-entries.d.ts.map +1 -0
- package/dist/src/discover/infrastructure-entries.js +154 -0
- package/dist/src/discover/infrastructure-entries.js.map +1 -0
- package/dist/src/duplicates/detect/concatenation.d.ts +10 -0
- package/dist/src/duplicates/detect/concatenation.d.ts.map +1 -0
- package/dist/src/duplicates/detect/concatenation.js +24 -0
- package/dist/src/duplicates/detect/concatenation.js.map +1 -0
- package/dist/src/duplicates/detect/extraction.d.ts +10 -0
- package/dist/src/duplicates/detect/extraction.d.ts.map +1 -0
- package/dist/src/duplicates/detect/extraction.js +72 -0
- package/dist/src/duplicates/detect/extraction.js.map +1 -0
- package/dist/src/duplicates/detect/filtering.d.ts +15 -0
- package/dist/src/duplicates/detect/filtering.d.ts.map +1 -0
- package/dist/src/duplicates/detect/filtering.js +91 -0
- package/dist/src/duplicates/detect/filtering.js.map +1 -0
- package/dist/src/duplicates/detect/lcp.d.ts +2 -0
- package/dist/src/duplicates/detect/lcp.d.ts.map +1 -0
- package/dist/src/duplicates/detect/lcp.js +28 -0
- package/dist/src/duplicates/detect/lcp.js.map +1 -0
- package/dist/src/duplicates/detect/ranking.d.ts +5 -0
- package/dist/src/duplicates/detect/ranking.d.ts.map +1 -0
- package/dist/src/duplicates/detect/ranking.js +15 -0
- package/dist/src/duplicates/detect/ranking.js.map +1 -0
- package/dist/src/duplicates/detect/statistics.d.ts +14 -0
- package/dist/src/duplicates/detect/statistics.d.ts.map +1 -0
- package/dist/src/duplicates/detect/statistics.js +42 -0
- package/dist/src/duplicates/detect/statistics.js.map +1 -0
- package/dist/src/duplicates/detect/suffix-array.d.ts +2 -0
- package/dist/src/duplicates/detect/suffix-array.d.ts.map +1 -0
- package/dist/src/duplicates/detect/suffix-array.js +83 -0
- package/dist/src/duplicates/detect/suffix-array.js.map +1 -0
- package/dist/src/duplicates/families.d.ts +24 -0
- package/dist/src/duplicates/families.d.ts.map +1 -0
- package/dist/src/duplicates/families.js +63 -0
- package/dist/src/duplicates/families.js.map +1 -0
- package/dist/src/duplicates/normalize.d.ts +16 -0
- package/dist/src/duplicates/normalize.d.ts.map +1 -0
- package/dist/src/duplicates/normalize.js +45 -0
- package/dist/src/duplicates/normalize.js.map +1 -0
- package/dist/src/duplicates/shingle-filter.d.ts +4 -0
- package/dist/src/duplicates/shingle-filter.d.ts.map +1 -0
- package/dist/src/duplicates/shingle-filter.js +32 -0
- package/dist/src/duplicates/shingle-filter.js.map +1 -0
- package/dist/src/duplicates/token-types.d.ts +45 -0
- package/dist/src/duplicates/token-types.d.ts.map +1 -0
- package/dist/src/duplicates/token-types.js +8 -0
- package/dist/src/duplicates/token-types.js.map +1 -0
- package/dist/src/duplicates/tokenize/index.d.ts +8 -0
- package/dist/src/duplicates/tokenize/index.d.ts.map +1 -0
- package/dist/src/duplicates/tokenize/index.js +105 -0
- package/dist/src/duplicates/tokenize/index.js.map +1 -0
- package/dist/src/error/fallow-error.d.ts +50 -0
- package/dist/src/error/fallow-error.d.ts.map +1 -0
- package/dist/src/error/fallow-error.js +72 -0
- package/dist/src/error/fallow-error.js.map +1 -0
- package/dist/src/error.d.ts +20 -0
- package/dist/src/error.d.ts.map +1 -0
- package/dist/src/error.js +38 -0
- package/dist/src/error.js.map +1 -0
- package/dist/src/export/adjacency-matrix.d.ts +32 -0
- package/dist/src/export/adjacency-matrix.d.ts.map +1 -0
- package/dist/src/export/adjacency-matrix.js +88 -0
- package/dist/src/export/adjacency-matrix.js.map +1 -0
- package/dist/src/export/analysis-json.d.ts +39 -0
- package/dist/src/export/analysis-json.d.ts.map +1 -0
- package/dist/src/export/analysis-json.js +38 -0
- package/dist/src/export/analysis-json.js.map +1 -0
- package/dist/src/export/badge.d.ts +23 -0
- package/dist/src/export/badge.d.ts.map +1 -0
- package/dist/src/export/badge.js +83 -0
- package/dist/src/export/badge.js.map +1 -0
- package/dist/src/export/codeclimate.d.ts +46 -0
- package/dist/src/export/codeclimate.d.ts.map +1 -0
- package/dist/src/export/codeclimate.js +116 -0
- package/dist/src/export/codeclimate.js.map +1 -0
- package/dist/src/export/compact-health.d.ts +68 -0
- package/dist/src/export/compact-health.d.ts.map +1 -0
- package/dist/src/export/compact-health.js +58 -0
- package/dist/src/export/compact-health.js.map +1 -0
- package/dist/src/export/compact.d.ts +13 -0
- package/dist/src/export/compact.d.ts.map +1 -0
- package/dist/src/export/compact.js +74 -0
- package/dist/src/export/compact.js.map +1 -0
- package/dist/src/export/csv.d.ts +7 -0
- package/dist/src/export/csv.d.ts.map +1 -0
- package/dist/src/export/csv.js +20 -0
- package/dist/src/export/csv.js.map +1 -0
- package/dist/src/export/dot.d.ts +14 -0
- package/dist/src/export/dot.d.ts.map +1 -0
- package/dist/src/export/dot.js +37 -0
- package/dist/src/export/dot.js.map +1 -0
- package/dist/src/export/gexf.d.ts +12 -0
- package/dist/src/export/gexf.d.ts.map +1 -0
- package/dist/src/export/gexf.js +51 -0
- package/dist/src/export/gexf.js.map +1 -0
- package/dist/src/export/graphml.d.ts.map +1 -1
- package/dist/src/export/graphml.js +2 -0
- package/dist/src/export/graphml.js.map +1 -1
- package/dist/src/export/html.d.ts.map +1 -1
- package/dist/src/export/html.js +525 -45
- package/dist/src/export/html.js.map +1 -1
- package/dist/src/export/index.d.ts +2 -0
- package/dist/src/export/index.d.ts.map +1 -1
- package/dist/src/export/index.js +2 -0
- package/dist/src/export/index.js.map +1 -1
- package/dist/src/export/markdown.d.ts +31 -0
- package/dist/src/export/markdown.d.ts.map +1 -0
- package/dist/src/export/markdown.js +232 -0
- package/dist/src/export/markdown.js.map +1 -0
- package/dist/src/export/mermaid.d.ts +11 -0
- package/dist/src/export/mermaid.d.ts.map +1 -0
- package/dist/src/export/mermaid.js +94 -0
- package/dist/src/export/mermaid.js.map +1 -0
- package/dist/src/export/sarif.d.ts +60 -0
- package/dist/src/export/sarif.d.ts.map +1 -0
- package/dist/src/export/sarif.js +155 -0
- package/dist/src/export/sarif.js.map +1 -0
- package/dist/src/export/svg.d.ts.map +1 -1
- package/dist/src/export/svg.js +14 -2
- package/dist/src/export/svg.js.map +1 -1
- package/dist/src/fix/deps.d.ts +14 -0
- package/dist/src/fix/deps.d.ts.map +1 -0
- package/dist/src/fix/deps.js +47 -0
- package/dist/src/fix/deps.js.map +1 -0
- package/dist/src/fix/enum-members.d.ts +20 -0
- package/dist/src/fix/enum-members.d.ts.map +1 -0
- package/dist/src/fix/enum-members.js +95 -0
- package/dist/src/fix/enum-members.js.map +1 -0
- package/dist/src/fix/export-surgery.d.ts +14 -0
- package/dist/src/fix/export-surgery.d.ts.map +1 -0
- package/dist/src/fix/export-surgery.js +140 -0
- package/dist/src/fix/export-surgery.js.map +1 -0
- package/dist/src/fix/exports.d.ts +16 -0
- package/dist/src/fix/exports.d.ts.map +1 -0
- package/dist/src/fix/exports.js +65 -0
- package/dist/src/fix/exports.js.map +1 -0
- package/dist/src/fix/orchestrator.d.ts +28 -0
- package/dist/src/fix/orchestrator.d.ts.map +1 -0
- package/dist/src/fix/orchestrator.js +39 -0
- package/dist/src/fix/orchestrator.js.map +1 -0
- package/dist/src/graph/analyzer.d.ts +9 -0
- package/dist/src/graph/analyzer.d.ts.map +1 -1
- package/dist/src/graph/analyzer.js +32 -1
- package/dist/src/graph/analyzer.js.map +1 -1
- package/dist/src/graph/author-analytics.d.ts +20 -0
- package/dist/src/graph/author-analytics.d.ts.map +1 -0
- package/dist/src/graph/author-analytics.js +185 -0
- package/dist/src/graph/author-analytics.js.map +1 -0
- package/dist/src/graph/baseline.d.ts +85 -0
- package/dist/src/graph/baseline.d.ts.map +1 -0
- package/dist/src/graph/baseline.js +319 -0
- package/dist/src/graph/baseline.js.map +1 -0
- package/dist/src/graph/clone-detector.d.ts +15 -0
- package/dist/src/graph/clone-detector.d.ts.map +1 -0
- package/dist/src/graph/clone-detector.js +132 -0
- package/dist/src/graph/clone-detector.js.map +1 -0
- package/dist/src/graph/clone-families.d.ts +34 -0
- package/dist/src/graph/clone-families.d.ts.map +1 -0
- package/dist/src/graph/clone-families.js +100 -0
- package/dist/src/graph/clone-families.js.map +1 -0
- package/dist/src/graph/codeowners-extended.d.ts +42 -0
- package/dist/src/graph/codeowners-extended.d.ts.map +1 -0
- package/dist/src/graph/codeowners-extended.js +85 -0
- package/dist/src/graph/codeowners-extended.js.map +1 -0
- package/dist/src/graph/codeowners-gitlab.d.ts +50 -0
- package/dist/src/graph/codeowners-gitlab.d.ts.map +1 -0
- package/dist/src/graph/codeowners-gitlab.js +126 -0
- package/dist/src/graph/codeowners-gitlab.js.map +1 -0
- package/dist/src/graph/codeowners.d.ts +30 -0
- package/dist/src/graph/codeowners.d.ts.map +1 -0
- package/dist/src/graph/codeowners.js +175 -0
- package/dist/src/graph/codeowners.js.map +1 -0
- package/dist/src/graph/complexity.d.ts +49 -0
- package/dist/src/graph/complexity.d.ts.map +1 -0
- package/dist/src/graph/complexity.js +150 -0
- package/dist/src/graph/complexity.js.map +1 -0
- package/dist/src/graph/cross-reference-findings.d.ts +46 -0
- package/dist/src/graph/cross-reference-findings.d.ts.map +1 -0
- package/dist/src/graph/cross-reference-findings.js +46 -0
- package/dist/src/graph/cross-reference-findings.js.map +1 -0
- package/dist/src/graph/cross-reference.d.ts +26 -0
- package/dist/src/graph/cross-reference.d.ts.map +1 -0
- package/dist/src/graph/cross-reference.js +115 -0
- package/dist/src/graph/cross-reference.js.map +1 -0
- package/dist/src/graph/cycle-detection.d.ts +8 -0
- package/dist/src/graph/cycle-detection.d.ts.map +1 -0
- package/dist/src/graph/cycle-detection.js +233 -0
- package/dist/src/graph/cycle-detection.js.map +1 -0
- package/dist/src/graph/cycles.d.ts +31 -0
- package/dist/src/graph/cycles.d.ts.map +1 -0
- package/dist/src/graph/cycles.js +180 -0
- package/dist/src/graph/cycles.js.map +1 -0
- package/dist/src/graph/dead-code.d.ts +36 -0
- package/dist/src/graph/dead-code.d.ts.map +1 -0
- package/dist/src/graph/dead-code.js +74 -0
- package/dist/src/graph/dead-code.js.map +1 -0
- package/dist/src/graph/dependency-closure.d.ts +18 -0
- package/dist/src/graph/dependency-closure.d.ts.map +1 -0
- package/dist/src/graph/dependency-closure.js +95 -0
- package/dist/src/graph/dependency-closure.js.map +1 -0
- package/dist/src/graph/dfs.d.ts +23 -0
- package/dist/src/graph/dfs.d.ts.map +1 -0
- package/dist/src/graph/dfs.js +86 -0
- package/dist/src/graph/dfs.js.map +1 -0
- package/dist/src/graph/diff.d.ts +2 -0
- package/dist/src/graph/diff.d.ts.map +1 -1
- package/dist/src/graph/diff.js +32 -10
- package/dist/src/graph/diff.js.map +1 -1
- package/dist/src/graph/duplication-stats.d.ts +22 -0
- package/dist/src/graph/duplication-stats.d.ts.map +1 -0
- package/dist/src/graph/duplication-stats.js +54 -0
- package/dist/src/graph/duplication-stats.js.map +1 -0
- package/dist/src/graph/edge-filter.d.ts +25 -0
- package/dist/src/graph/edge-filter.d.ts.map +1 -0
- package/dist/src/graph/edge-filter.js +79 -0
- package/dist/src/graph/edge-filter.js.map +1 -0
- package/dist/src/graph/explain.d.ts +28 -0
- package/dist/src/graph/explain.d.ts.map +1 -0
- package/dist/src/graph/explain.js +104 -0
- package/dist/src/graph/explain.js.map +1 -0
- package/dist/src/graph/external-style-usage.d.ts +22 -0
- package/dist/src/graph/external-style-usage.d.ts.map +1 -0
- package/dist/src/graph/external-style-usage.js +66 -0
- package/dist/src/graph/external-style-usage.js.map +1 -0
- package/dist/src/graph/health-score.d.ts +26 -0
- package/dist/src/graph/health-score.d.ts.map +1 -0
- package/dist/src/graph/health-score.js +148 -0
- package/dist/src/graph/health-score.js.map +1 -0
- package/dist/src/graph/hotspots.d.ts +44 -0
- package/dist/src/graph/hotspots.d.ts.map +1 -0
- package/dist/src/graph/hotspots.js +167 -0
- package/dist/src/graph/hotspots.js.map +1 -0
- package/dist/src/graph/import-chain.d.ts +36 -0
- package/dist/src/graph/import-chain.d.ts.map +1 -0
- package/dist/src/graph/import-chain.js +113 -0
- package/dist/src/graph/import-chain.js.map +1 -0
- package/dist/src/graph/loader.d.ts.map +1 -1
- package/dist/src/graph/loader.js +9 -10
- package/dist/src/graph/loader.js.map +1 -1
- package/dist/src/graph/maintainability.d.ts +26 -0
- package/dist/src/graph/maintainability.d.ts.map +1 -0
- package/dist/src/graph/maintainability.js +119 -0
- package/dist/src/graph/maintainability.js.map +1 -0
- package/dist/src/graph/merge.d.ts +51 -0
- package/dist/src/graph/merge.d.ts.map +1 -0
- package/dist/src/graph/merge.js +109 -0
- package/dist/src/graph/merge.js.map +1 -0
- package/dist/src/graph/mirrored-dirs.d.ts +32 -0
- package/dist/src/graph/mirrored-dirs.d.ts.map +1 -0
- package/dist/src/graph/mirrored-dirs.js +167 -0
- package/dist/src/graph/mirrored-dirs.js.map +1 -0
- package/dist/src/graph/narrowing.d.ts +24 -0
- package/dist/src/graph/narrowing.d.ts.map +1 -0
- package/dist/src/graph/narrowing.js +68 -0
- package/dist/src/graph/narrowing.js.map +1 -0
- package/dist/src/graph/node-search.d.ts +31 -0
- package/dist/src/graph/node-search.d.ts.map +1 -0
- package/dist/src/graph/node-search.js +128 -0
- package/dist/src/graph/node-search.js.map +1 -0
- package/dist/src/graph/node-types.d.ts +42 -0
- package/dist/src/graph/node-types.d.ts.map +1 -0
- package/dist/src/graph/node-types.js +29 -0
- package/dist/src/graph/node-types.js.map +1 -0
- package/dist/src/graph/normalize-id.d.ts +57 -0
- package/dist/src/graph/normalize-id.d.ts.map +1 -0
- package/dist/src/graph/normalize-id.js +109 -0
- package/dist/src/graph/normalize-id.js.map +1 -0
- package/dist/src/graph/pagerank.d.ts +29 -0
- package/dist/src/graph/pagerank.d.ts.map +1 -0
- package/dist/src/graph/pagerank.js +116 -0
- package/dist/src/graph/pagerank.js.map +1 -0
- package/dist/src/graph/prune.d.ts +40 -0
- package/dist/src/graph/prune.d.ts.map +1 -0
- package/dist/src/graph/prune.js +82 -0
- package/dist/src/graph/prune.js.map +1 -0
- package/dist/src/graph/re-exports/propagate.d.ts +11 -0
- package/dist/src/graph/re-exports/propagate.d.ts.map +1 -0
- package/dist/src/graph/re-exports/propagate.js +51 -0
- package/dist/src/graph/re-exports/propagate.js.map +1 -0
- package/dist/src/graph/reachability.d.ts +9 -0
- package/dist/src/graph/reachability.d.ts.map +1 -0
- package/dist/src/graph/reachability.js +72 -0
- package/dist/src/graph/reachability.js.map +1 -0
- package/dist/src/graph/regex-search.d.ts +41 -0
- package/dist/src/graph/regex-search.d.ts.map +1 -0
- package/dist/src/graph/regex-search.js +140 -0
- package/dist/src/graph/regex-search.js.map +1 -0
- package/dist/src/graph/regression.d.ts +48 -0
- package/dist/src/graph/regression.d.ts.map +1 -0
- package/dist/src/graph/regression.js +156 -0
- package/dist/src/graph/regression.js.map +1 -0
- package/dist/src/graph/resolve/discover-types.d.ts +39 -0
- package/dist/src/graph/resolve/discover-types.d.ts.map +1 -0
- package/dist/src/graph/resolve/discover-types.js +19 -0
- package/dist/src/graph/resolve/discover-types.js.map +1 -0
- package/dist/src/graph/resolve/dynamic-imports.d.ts +31 -0
- package/dist/src/graph/resolve/dynamic-imports.d.ts.map +1 -0
- package/dist/src/graph/resolve/dynamic-imports.js +67 -0
- package/dist/src/graph/resolve/dynamic-imports.js.map +1 -0
- package/dist/src/graph/resolve/fallbacks.d.ts +7 -0
- package/dist/src/graph/resolve/fallbacks.d.ts.map +1 -0
- package/dist/src/graph/resolve/fallbacks.js +69 -0
- package/dist/src/graph/resolve/fallbacks.js.map +1 -0
- package/dist/src/graph/resolve/index.d.ts +28 -0
- package/dist/src/graph/resolve/index.d.ts.map +1 -0
- package/dist/src/graph/resolve/index.js +41 -0
- package/dist/src/graph/resolve/index.js.map +1 -0
- package/dist/src/graph/resolve/path-info.d.ts +6 -0
- package/dist/src/graph/resolve/path-info.d.ts.map +1 -0
- package/dist/src/graph/resolve/path-info.js +42 -0
- package/dist/src/graph/resolve/path-info.js.map +1 -0
- package/dist/src/graph/resolve/re-exports.d.ts +3 -0
- package/dist/src/graph/resolve/re-exports.d.ts.map +1 -0
- package/dist/src/graph/resolve/re-exports.js +9 -0
- package/dist/src/graph/resolve/re-exports.js.map +1 -0
- package/dist/src/graph/resolve/react-native.d.ts +4 -0
- package/dist/src/graph/resolve/react-native.d.ts.map +1 -0
- package/dist/src/graph/resolve/react-native.js +27 -0
- package/dist/src/graph/resolve/react-native.js.map +1 -0
- package/dist/src/graph/resolve/require-imports.d.ts +10 -0
- package/dist/src/graph/resolve/require-imports.d.ts.map +1 -0
- package/dist/src/graph/resolve/require-imports.js +8 -0
- package/dist/src/graph/resolve/require-imports.js.map +1 -0
- package/dist/src/graph/resolve/specifier.d.ts +10 -0
- package/dist/src/graph/resolve/specifier.d.ts.map +1 -0
- package/dist/src/graph/resolve/specifier.js +108 -0
- package/dist/src/graph/resolve/specifier.js.map +1 -0
- package/dist/src/graph/resolve/static-imports.d.ts +3 -0
- package/dist/src/graph/resolve/static-imports.d.ts.map +1 -0
- package/dist/src/graph/resolve/static-imports.js +9 -0
- package/dist/src/graph/resolve/static-imports.js.map +1 -0
- package/dist/src/graph/resolve/types.d.ts +82 -0
- package/dist/src/graph/resolve/types.d.ts.map +1 -0
- package/dist/src/graph/resolve/types.js +26 -0
- package/dist/src/graph/resolve/types.js.map +1 -0
- package/dist/src/graph/resolve/upgrades.d.ts +3 -0
- package/dist/src/graph/resolve/upgrades.d.ts.map +1 -0
- package/dist/src/graph/resolve/upgrades.js +29 -0
- package/dist/src/graph/resolve/upgrades.js.map +1 -0
- package/dist/src/graph/ripple-impact.d.ts +57 -0
- package/dist/src/graph/ripple-impact.d.ts.map +1 -0
- package/dist/src/graph/ripple-impact.js +100 -0
- package/dist/src/graph/ripple-impact.js.map +1 -0
- package/dist/src/graph/risk-profile.d.ts +29 -0
- package/dist/src/graph/risk-profile.d.ts.map +1 -0
- package/dist/src/graph/risk-profile.js +135 -0
- package/dist/src/graph/risk-profile.js.map +1 -0
- package/dist/src/graph/shingle-filter.d.ts +6 -0
- package/dist/src/graph/shingle-filter.d.ts.map +1 -0
- package/dist/src/graph/shingle-filter.js +129 -0
- package/dist/src/graph/shingle-filter.js.map +1 -0
- package/dist/src/graph/statistics.d.ts +45 -0
- package/dist/src/graph/statistics.d.ts.map +1 -0
- package/dist/src/graph/statistics.js +134 -0
- package/dist/src/graph/statistics.js.map +1 -0
- package/dist/src/graph/stats.d.ts +40 -0
- package/dist/src/graph/stats.d.ts.map +1 -0
- package/dist/src/graph/stats.js +120 -0
- package/dist/src/graph/stats.js.map +1 -0
- package/dist/src/graph/subgraph.d.ts +13 -0
- package/dist/src/graph/subgraph.d.ts.map +1 -0
- package/dist/src/graph/subgraph.js +123 -0
- package/dist/src/graph/subgraph.js.map +1 -0
- package/dist/src/graph/topo-sort.d.ts +36 -0
- package/dist/src/graph/topo-sort.d.ts.map +1 -0
- package/dist/src/graph/topo-sort.js +140 -0
- package/dist/src/graph/topo-sort.js.map +1 -0
- package/dist/src/graph/wcc.d.ts +42 -0
- package/dist/src/graph/wcc.d.ts.map +1 -0
- package/dist/src/graph/wcc.js +156 -0
- package/dist/src/graph/wcc.js.map +1 -0
- package/dist/src/groups/contract-bridge.d.ts +24 -0
- package/dist/src/groups/contract-bridge.d.ts.map +1 -0
- package/dist/src/groups/contract-bridge.js +81 -0
- package/dist/src/groups/contract-bridge.js.map +1 -0
- package/dist/src/groups/contract-registry.d.ts +69 -0
- package/dist/src/groups/contract-registry.d.ts.map +1 -0
- package/dist/src/groups/contract-registry.js +193 -0
- package/dist/src/groups/contract-registry.js.map +1 -0
- package/dist/src/groups/group-config.d.ts +28 -0
- package/dist/src/groups/group-config.d.ts.map +1 -0
- package/dist/src/groups/group-config.js +90 -0
- package/dist/src/groups/group-config.js.map +1 -0
- package/dist/src/groups/group-search.d.ts +26 -0
- package/dist/src/groups/group-search.d.ts.map +1 -0
- package/dist/src/groups/group-search.js +112 -0
- package/dist/src/groups/group-search.js.map +1 -0
- package/dist/src/groups/group-sync.d.ts +27 -0
- package/dist/src/groups/group-sync.d.ts.map +1 -0
- package/dist/src/groups/group-sync.js +60 -0
- package/dist/src/groups/group-sync.js.map +1 -0
- package/dist/src/groups/grpc-extractor.d.ts +10 -0
- package/dist/src/groups/grpc-extractor.d.ts.map +1 -0
- package/dist/src/groups/grpc-extractor.js +52 -0
- package/dist/src/groups/grpc-extractor.js.map +1 -0
- package/dist/src/groups/service-boundary.d.ts +30 -0
- package/dist/src/groups/service-boundary.d.ts.map +1 -0
- package/dist/src/groups/service-boundary.js +97 -0
- package/dist/src/groups/service-boundary.js.map +1 -0
- package/dist/src/groups/topic-extractor.d.ts +10 -0
- package/dist/src/groups/topic-extractor.d.ts.map +1 -0
- package/dist/src/groups/topic-extractor.js +76 -0
- package/dist/src/groups/topic-extractor.js.map +1 -0
- package/dist/src/health/analysis-counts-snapshot.d.ts +20 -0
- package/dist/src/health/analysis-counts-snapshot.d.ts.map +1 -0
- package/dist/src/health/analysis-counts-snapshot.js +31 -0
- package/dist/src/health/analysis-counts-snapshot.js.map +1 -0
- package/dist/src/health/analysis-counts.d.ts +27 -0
- package/dist/src/health/analysis-counts.d.ts.map +1 -0
- package/dist/src/health/analysis-counts.js +47 -0
- package/dist/src/health/analysis-counts.js.map +1 -0
- package/dist/src/health/complexity-findings.d.ts +60 -0
- package/dist/src/health/complexity-findings.d.ts.map +1 -0
- package/dist/src/health/complexity-findings.js +53 -0
- package/dist/src/health/complexity-findings.js.map +1 -0
- package/dist/src/health/distribution-thresholds.d.ts +16 -0
- package/dist/src/health/distribution-thresholds.d.ts.map +1 -0
- package/dist/src/health/distribution-thresholds.js +36 -0
- package/dist/src/health/distribution-thresholds.js.map +1 -0
- package/dist/src/health/grouping.d.ts +14 -0
- package/dist/src/health/grouping.d.ts.map +1 -0
- package/dist/src/health/grouping.js +109 -0
- package/dist/src/health/grouping.js.map +1 -0
- package/dist/src/health/health-grouping.d.ts +21 -0
- package/dist/src/health/health-grouping.d.ts.map +1 -0
- package/dist/src/health/health-grouping.js +57 -0
- package/dist/src/health/health-grouping.js.map +1 -0
- package/dist/src/health/health-report-types.d.ts +103 -0
- package/dist/src/health/health-report-types.d.ts.map +1 -0
- package/dist/src/health/health-report-types.js +55 -0
- package/dist/src/health/health-report-types.js.map +1 -0
- package/dist/src/health/health-report.d.ts +31 -0
- package/dist/src/health/health-report.d.ts.map +1 -0
- package/dist/src/health/health-report.js +39 -0
- package/dist/src/health/health-report.js.map +1 -0
- package/dist/src/health/health-score.d.ts +37 -0
- package/dist/src/health/health-score.d.ts.map +1 -0
- package/dist/src/health/health-score.js +32 -0
- package/dist/src/health/health-score.js.map +1 -0
- package/dist/src/health/hotspot-utils.d.ts +11 -0
- package/dist/src/health/hotspot-utils.d.ts.map +1 -0
- package/dist/src/health/hotspot-utils.js +34 -0
- package/dist/src/health/hotspot-utils.js.map +1 -0
- package/dist/src/health/hotspots.d.ts +21 -0
- package/dist/src/health/hotspots.d.ts.map +1 -0
- package/dist/src/health/hotspots.js +69 -0
- package/dist/src/health/hotspots.js.map +1 -0
- package/dist/src/health/large-functions.d.ts +16 -0
- package/dist/src/health/large-functions.d.ts.map +1 -0
- package/dist/src/health/large-functions.js +20 -0
- package/dist/src/health/large-functions.js.map +1 -0
- package/dist/src/health/ownership-metrics.d.ts +30 -0
- package/dist/src/health/ownership-metrics.d.ts.map +1 -0
- package/dist/src/health/ownership-metrics.js +31 -0
- package/dist/src/health/ownership-metrics.js.map +1 -0
- package/dist/src/health/ownership-risk.d.ts +19 -0
- package/dist/src/health/ownership-risk.d.ts.map +1 -0
- package/dist/src/health/ownership-risk.js +68 -0
- package/dist/src/health/ownership-risk.js.map +1 -0
- package/dist/src/health/ownership.d.ts +23 -0
- package/dist/src/health/ownership.d.ts.map +1 -0
- package/dist/src/health/ownership.js +125 -0
- package/dist/src/health/ownership.js.map +1 -0
- package/dist/src/health/quality-gate.d.ts +19 -0
- package/dist/src/health/quality-gate.d.ts.map +1 -0
- package/dist/src/health/quality-gate.js +33 -0
- package/dist/src/health/quality-gate.js.map +1 -0
- package/dist/src/health/risk-profile.d.ts +13 -0
- package/dist/src/health/risk-profile.d.ts.map +1 -0
- package/dist/src/health/risk-profile.js +40 -0
- package/dist/src/health/risk-profile.js.map +1 -0
- package/dist/src/health/runtime-coverage-report.d.ts +58 -0
- package/dist/src/health/runtime-coverage-report.d.ts.map +1 -0
- package/dist/src/health/runtime-coverage-report.js +34 -0
- package/dist/src/health/runtime-coverage-report.js.map +1 -0
- package/dist/src/health/runtime-coverage.d.ts +20 -0
- package/dist/src/health/runtime-coverage.d.ts.map +1 -0
- package/dist/src/health/runtime-coverage.js +41 -0
- package/dist/src/health/runtime-coverage.js.map +1 -0
- package/dist/src/health/scores.d.ts +26 -0
- package/dist/src/health/scores.d.ts.map +1 -0
- package/dist/src/health/scores.js +49 -0
- package/dist/src/health/scores.js.map +1 -0
- package/dist/src/health/scoring-types.d.ts +31 -0
- package/dist/src/health/scoring-types.d.ts.map +1 -0
- package/dist/src/health/scoring-types.js +13 -0
- package/dist/src/health/scoring-types.js.map +1 -0
- package/dist/src/health/target-thresholds.d.ts +27 -0
- package/dist/src/health/target-thresholds.d.ts.map +1 -0
- package/dist/src/health/target-thresholds.js +50 -0
- package/dist/src/health/target-thresholds.js.map +1 -0
- package/dist/src/health/target-types.d.ts +24 -0
- package/dist/src/health/target-types.d.ts.map +1 -0
- package/dist/src/health/target-types.js +17 -0
- package/dist/src/health/target-types.js.map +1 -0
- package/dist/src/health/targets.d.ts +15 -0
- package/dist/src/health/targets.d.ts.map +1 -0
- package/dist/src/health/targets.js +117 -0
- package/dist/src/health/targets.js.map +1 -0
- package/dist/src/health/timings.d.ts +26 -0
- package/dist/src/health/timings.d.ts.map +1 -0
- package/dist/src/health/timings.js +53 -0
- package/dist/src/health/timings.js.map +1 -0
- package/dist/src/health/trend-types.d.ts +35 -0
- package/dist/src/health/trend-types.d.ts.map +1 -0
- package/dist/src/health/trend-types.js +23 -0
- package/dist/src/health/trend-types.js.map +1 -0
- package/dist/src/health/trends.d.ts +30 -0
- package/dist/src/health/trends.d.ts.map +1 -0
- package/dist/src/health/trends.js +35 -0
- package/dist/src/health/trends.js.map +1 -0
- package/dist/src/health/vital-signs-compute.d.ts +18 -0
- package/dist/src/health/vital-signs-compute.d.ts.map +1 -0
- package/dist/src/health/vital-signs-compute.js +75 -0
- package/dist/src/health/vital-signs-compute.js.map +1 -0
- package/dist/src/health/vital-signs-snapshot.d.ts +27 -0
- package/dist/src/health/vital-signs-snapshot.d.ts.map +1 -0
- package/dist/src/health/vital-signs-snapshot.js +42 -0
- package/dist/src/health/vital-signs-snapshot.js.map +1 -0
- package/dist/src/health/vital-signs.d.ts +47 -0
- package/dist/src/health/vital-signs.d.ts.map +1 -0
- package/dist/src/health/vital-signs.js +37 -0
- package/dist/src/health/vital-signs.js.map +1 -0
- package/dist/src/index.d.ts +96 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +98 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/ingest/git-clone.d.ts +54 -0
- package/dist/src/ingest/git-clone.d.ts.map +1 -0
- package/dist/src/ingest/git-clone.js +204 -0
- package/dist/src/ingest/git-clone.js.map +1 -0
- package/dist/src/ingest/query-memory.d.ts +48 -0
- package/dist/src/ingest/query-memory.d.ts.map +1 -0
- package/dist/src/ingest/query-memory.js +81 -0
- package/dist/src/ingest/query-memory.js.map +1 -0
- package/dist/src/ingest/transcribe.d.ts +71 -0
- package/dist/src/ingest/transcribe.d.ts.map +1 -0
- package/dist/src/ingest/transcribe.js +199 -0
- package/dist/src/ingest/transcribe.js.map +1 -0
- package/dist/src/ingest/url-ingest.d.ts +16 -0
- package/dist/src/ingest/url-ingest.d.ts.map +1 -0
- package/dist/src/ingest/url-ingest.js +66 -0
- package/dist/src/ingest/url-ingest.js.map +1 -0
- package/dist/src/init/agent-hooks.d.ts +28 -0
- package/dist/src/init/agent-hooks.d.ts.map +1 -0
- package/dist/src/init/agent-hooks.js +64 -0
- package/dist/src/init/agent-hooks.js.map +1 -0
- package/dist/src/init/git-hooks.d.ts +24 -0
- package/dist/src/init/git-hooks.d.ts.map +1 -0
- package/dist/src/init/git-hooks.js +54 -0
- package/dist/src/init/git-hooks.js.map +1 -0
- package/dist/src/init/project-detection.d.ts +29 -0
- package/dist/src/init/project-detection.d.ts.map +1 -0
- package/dist/src/init/project-detection.js +83 -0
- package/dist/src/init/project-detection.js.map +1 -0
- package/dist/src/license/manager.d.ts +45 -0
- package/dist/src/license/manager.d.ts.map +1 -0
- package/dist/src/license/manager.js +85 -0
- package/dist/src/license/manager.js.map +1 -0
- package/dist/src/lsp/code-actions.d.ts +35 -0
- package/dist/src/lsp/code-actions.d.ts.map +1 -0
- package/dist/src/lsp/code-actions.js +81 -0
- package/dist/src/lsp/code-actions.js.map +1 -0
- package/dist/src/lsp/code-lens.d.ts +29 -0
- package/dist/src/lsp/code-lens.d.ts.map +1 -0
- package/dist/src/lsp/code-lens.js +26 -0
- package/dist/src/lsp/code-lens.js.map +1 -0
- package/dist/src/lsp/diagnostics-ext.d.ts +34 -0
- package/dist/src/lsp/diagnostics-ext.d.ts.map +1 -0
- package/dist/src/lsp/diagnostics-ext.js +101 -0
- package/dist/src/lsp/diagnostics-ext.js.map +1 -0
- package/dist/src/lsp/diagnostics-push.d.ts +79 -0
- package/dist/src/lsp/diagnostics-push.d.ts.map +1 -0
- package/dist/src/lsp/diagnostics-push.js +58 -0
- package/dist/src/lsp/diagnostics-push.js.map +1 -0
- package/dist/src/lsp/diagnostics.d.ts +35 -0
- package/dist/src/lsp/diagnostics.d.ts.map +1 -0
- package/dist/src/lsp/diagnostics.js +54 -0
- package/dist/src/lsp/diagnostics.js.map +1 -0
- package/dist/src/lsp/hover.d.ts +25 -0
- package/dist/src/lsp/hover.d.ts.map +1 -0
- package/dist/src/lsp/hover.js +36 -0
- package/dist/src/lsp/hover.js.map +1 -0
- package/dist/src/lsp/server.d.ts +21 -0
- package/dist/src/lsp/server.d.ts.map +1 -0
- package/dist/src/lsp/server.js +200 -0
- package/dist/src/lsp/server.js.map +1 -0
- package/dist/src/mcp/params.d.ts +184 -0
- package/dist/src/mcp/params.d.ts.map +1 -0
- package/dist/src/mcp/params.js +11 -0
- package/dist/src/mcp/params.js.map +1 -0
- package/dist/src/mcp/resources.d.ts +12 -0
- package/dist/src/mcp/resources.d.ts.map +1 -1
- package/dist/src/mcp/resources.js +52 -1
- package/dist/src/mcp/resources.js.map +1 -1
- package/dist/src/mcp/tool-builders.d.ts +63 -0
- package/dist/src/mcp/tool-builders.d.ts.map +1 -0
- package/dist/src/mcp/tool-builders.js +128 -0
- package/dist/src/mcp/tool-builders.js.map +1 -0
- package/dist/src/mcp-resources/communities-resource.d.ts +22 -0
- package/dist/src/mcp-resources/communities-resource.d.ts.map +1 -0
- package/dist/src/mcp-resources/communities-resource.js +37 -0
- package/dist/src/mcp-resources/communities-resource.js.map +1 -0
- package/dist/src/mcp-resources/graph-resource.d.ts +10 -0
- package/dist/src/mcp-resources/graph-resource.d.ts.map +1 -0
- package/dist/src/mcp-resources/graph-resource.js +10 -0
- package/dist/src/mcp-resources/graph-resource.js.map +1 -0
- package/dist/src/mcp-resources/index.d.ts +10 -0
- package/dist/src/mcp-resources/index.d.ts.map +1 -0
- package/dist/src/mcp-resources/index.js +10 -0
- package/dist/src/mcp-resources/index.js.map +1 -0
- package/dist/src/mcp-resources/named-cluster-resource.d.ts +7 -0
- package/dist/src/mcp-resources/named-cluster-resource.d.ts.map +1 -0
- package/dist/src/mcp-resources/named-cluster-resource.js +29 -0
- package/dist/src/mcp-resources/named-cluster-resource.js.map +1 -0
- package/dist/src/mcp-resources/named-process-resource.d.ts +7 -0
- package/dist/src/mcp-resources/named-process-resource.d.ts.map +1 -0
- package/dist/src/mcp-resources/named-process-resource.js +24 -0
- package/dist/src/mcp-resources/named-process-resource.js.map +1 -0
- package/dist/src/mcp-resources/processes-resource.d.ts +24 -0
- package/dist/src/mcp-resources/processes-resource.d.ts.map +1 -0
- package/dist/src/mcp-resources/processes-resource.js +33 -0
- package/dist/src/mcp-resources/processes-resource.js.map +1 -0
- package/dist/src/mcp-resources/repo-context-resource.d.ts +3 -0
- package/dist/src/mcp-resources/repo-context-resource.d.ts.map +1 -0
- package/dist/src/mcp-resources/repo-context-resource.js +30 -0
- package/dist/src/mcp-resources/repo-context-resource.js.map +1 -0
- package/dist/src/mcp-resources/repos-resource.d.ts +13 -0
- package/dist/src/mcp-resources/repos-resource.d.ts.map +1 -0
- package/dist/src/mcp-resources/repos-resource.js +13 -0
- package/dist/src/mcp-resources/repos-resource.js.map +1 -0
- package/dist/src/mcp-resources/schema-resource.d.ts +21 -0
- package/dist/src/mcp-resources/schema-resource.d.ts.map +1 -0
- package/dist/src/mcp-resources/schema-resource.js +21 -0
- package/dist/src/mcp-resources/schema-resource.js.map +1 -0
- package/dist/src/mcp-resources/wiki-resource.d.ts +4 -0
- package/dist/src/mcp-resources/wiki-resource.d.ts.map +1 -0
- package/dist/src/mcp-resources/wiki-resource.js +21 -0
- package/dist/src/mcp-resources/wiki-resource.js.map +1 -0
- package/dist/src/mcp-tools/api-impact.d.ts +24 -0
- package/dist/src/mcp-tools/api-impact.d.ts.map +1 -0
- package/dist/src/mcp-tools/api-impact.js +133 -0
- package/dist/src/mcp-tools/api-impact.js.map +1 -0
- package/dist/src/mcp-tools/context.d.ts +22 -0
- package/dist/src/mcp-tools/context.d.ts.map +1 -0
- package/dist/src/mcp-tools/context.js +71 -0
- package/dist/src/mcp-tools/context.js.map +1 -0
- package/dist/src/mcp-tools/cypher.d.ts +23 -0
- package/dist/src/mcp-tools/cypher.d.ts.map +1 -0
- package/dist/src/mcp-tools/cypher.js +24 -0
- package/dist/src/mcp-tools/cypher.js.map +1 -0
- package/dist/src/mcp-tools/detect-changes.d.ts +19 -0
- package/dist/src/mcp-tools/detect-changes.d.ts.map +1 -0
- package/dist/src/mcp-tools/detect-changes.js +92 -0
- package/dist/src/mcp-tools/detect-changes.js.map +1 -0
- package/dist/src/mcp-tools/embed.d.ts +25 -0
- package/dist/src/mcp-tools/embed.d.ts.map +1 -0
- package/dist/src/mcp-tools/embed.js +33 -0
- package/dist/src/mcp-tools/embed.js.map +1 -0
- package/dist/src/mcp-tools/explain.d.ts +9 -0
- package/dist/src/mcp-tools/explain.d.ts.map +1 -0
- package/dist/src/mcp-tools/explain.js +44 -0
- package/dist/src/mcp-tools/explain.js.map +1 -0
- package/dist/src/mcp-tools/graph-query.d.ts +18 -0
- package/dist/src/mcp-tools/graph-query.d.ts.map +1 -0
- package/dist/src/mcp-tools/graph-query.js +107 -0
- package/dist/src/mcp-tools/graph-query.js.map +1 -0
- package/dist/src/mcp-tools/group-list.d.ts +26 -0
- package/dist/src/mcp-tools/group-list.d.ts.map +1 -0
- package/dist/src/mcp-tools/group-list.js +62 -0
- package/dist/src/mcp-tools/group-list.js.map +1 -0
- package/dist/src/mcp-tools/group-query.d.ts +15 -0
- package/dist/src/mcp-tools/group-query.d.ts.map +1 -0
- package/dist/src/mcp-tools/group-query.js +21 -0
- package/dist/src/mcp-tools/group-query.js.map +1 -0
- package/dist/src/mcp-tools/group-sync.d.ts +17 -0
- package/dist/src/mcp-tools/group-sync.d.ts.map +1 -0
- package/dist/src/mcp-tools/group-sync.js +25 -0
- package/dist/src/mcp-tools/group-sync.js.map +1 -0
- package/dist/src/mcp-tools/impact.d.ts +27 -0
- package/dist/src/mcp-tools/impact.d.ts.map +1 -0
- package/dist/src/mcp-tools/impact.js +131 -0
- package/dist/src/mcp-tools/impact.js.map +1 -0
- package/dist/src/mcp-tools/index.d.ts +23 -0
- package/dist/src/mcp-tools/index.d.ts.map +1 -0
- package/dist/src/mcp-tools/index.js +23 -0
- package/dist/src/mcp-tools/index.js.map +1 -0
- package/dist/src/mcp-tools/list-repos.d.ts +20 -0
- package/dist/src/mcp-tools/list-repos.d.ts.map +1 -0
- package/dist/src/mcp-tools/list-repos.js +28 -0
- package/dist/src/mcp-tools/list-repos.js.map +1 -0
- package/dist/src/mcp-tools/neighbors.d.ts +19 -0
- package/dist/src/mcp-tools/neighbors.d.ts.map +1 -0
- package/dist/src/mcp-tools/neighbors.js +49 -0
- package/dist/src/mcp-tools/neighbors.js.map +1 -0
- package/dist/src/mcp-tools/query.d.ts +51 -0
- package/dist/src/mcp-tools/query.d.ts.map +1 -0
- package/dist/src/mcp-tools/query.js +60 -0
- package/dist/src/mcp-tools/query.js.map +1 -0
- package/dist/src/mcp-tools/rename.d.ts +20 -0
- package/dist/src/mcp-tools/rename.d.ts.map +1 -0
- package/dist/src/mcp-tools/rename.js +95 -0
- package/dist/src/mcp-tools/rename.js.map +1 -0
- package/dist/src/mcp-tools/route-map.d.ts +21 -0
- package/dist/src/mcp-tools/route-map.d.ts.map +1 -0
- package/dist/src/mcp-tools/route-map.js +62 -0
- package/dist/src/mcp-tools/route-map.js.map +1 -0
- package/dist/src/mcp-tools/serve.d.ts +16 -0
- package/dist/src/mcp-tools/serve.d.ts.map +1 -0
- package/dist/src/mcp-tools/serve.js +25 -0
- package/dist/src/mcp-tools/serve.js.map +1 -0
- package/dist/src/mcp-tools/shape-check.d.ts +30 -0
- package/dist/src/mcp-tools/shape-check.d.ts.map +1 -0
- package/dist/src/mcp-tools/shape-check.js +138 -0
- package/dist/src/mcp-tools/shape-check.js.map +1 -0
- package/dist/src/mcp-tools/staleness.d.ts +3 -0
- package/dist/src/mcp-tools/staleness.d.ts.map +1 -0
- package/dist/src/mcp-tools/staleness.js +14 -0
- package/dist/src/mcp-tools/staleness.js.map +1 -0
- package/dist/src/mcp-tools/tool-map.d.ts +14 -0
- package/dist/src/mcp-tools/tool-map.d.ts.map +1 -0
- package/dist/src/mcp-tools/tool-map.js +37 -0
- package/dist/src/mcp-tools/tool-map.js.map +1 -0
- package/dist/src/mcp-tools/wiki-build.d.ts +21 -0
- package/dist/src/mcp-tools/wiki-build.d.ts.map +1 -0
- package/dist/src/mcp-tools/wiki-build.js +20 -0
- package/dist/src/mcp-tools/wiki-build.js.map +1 -0
- package/dist/src/mcp-tools/wiki.d.ts +18 -0
- package/dist/src/mcp-tools/wiki.d.ts.map +1 -0
- package/dist/src/mcp-tools/wiki.js +13 -0
- package/dist/src/mcp-tools/wiki.js.map +1 -0
- package/dist/src/migrate/jscpd.d.ts +9 -0
- package/dist/src/migrate/jscpd.d.ts.map +1 -0
- package/dist/src/migrate/jscpd.js +65 -0
- package/dist/src/migrate/jscpd.js.map +1 -0
- package/dist/src/migrate/jsonc-gen.d.ts +5 -0
- package/dist/src/migrate/jsonc-gen.d.ts.map +1 -0
- package/dist/src/migrate/jsonc-gen.js +36 -0
- package/dist/src/migrate/jsonc-gen.js.map +1 -0
- package/dist/src/migrate/knip.d.ts +15 -0
- package/dist/src/migrate/knip.d.ts.map +1 -0
- package/dist/src/migrate/knip.js +124 -0
- package/dist/src/migrate/knip.js.map +1 -0
- package/dist/src/migrate/toml-gen.d.ts +2 -0
- package/dist/src/migrate/toml-gen.d.ts.map +1 -0
- package/dist/src/migrate/toml-gen.js +52 -0
- package/dist/src/migrate/toml-gen.js.map +1 -0
- package/dist/src/parsers/c.d.ts +3 -0
- package/dist/src/parsers/c.d.ts.map +1 -0
- package/dist/src/parsers/c.js +29 -0
- package/dist/src/parsers/c.js.map +1 -0
- package/dist/src/parsers/cpp.d.ts +3 -0
- package/dist/src/parsers/cpp.d.ts.map +1 -0
- package/dist/src/parsers/cpp.js +27 -0
- package/dist/src/parsers/cpp.js.map +1 -0
- package/dist/src/parsers/csharp.d.ts +3 -0
- package/dist/src/parsers/csharp.d.ts.map +1 -0
- package/dist/src/parsers/csharp.js +41 -0
- package/dist/src/parsers/csharp.js.map +1 -0
- package/dist/src/parsers/dart.d.ts +3 -0
- package/dist/src/parsers/dart.d.ts.map +1 -0
- package/dist/src/parsers/dart.js +37 -0
- package/dist/src/parsers/dart.js.map +1 -0
- package/dist/src/parsers/extractor.d.ts.map +1 -1
- package/dist/src/parsers/extractor.js +20 -0
- package/dist/src/parsers/extractor.js.map +1 -1
- package/dist/src/parsers/kotlin.d.ts +3 -0
- package/dist/src/parsers/kotlin.d.ts.map +1 -0
- package/dist/src/parsers/kotlin.js +34 -0
- package/dist/src/parsers/kotlin.js.map +1 -0
- package/dist/src/parsers/language-parsers.d.ts +11 -0
- package/dist/src/parsers/language-parsers.d.ts.map +1 -0
- package/dist/src/parsers/language-parsers.js +94 -0
- package/dist/src/parsers/language-parsers.js.map +1 -0
- package/dist/src/parsers/loader.d.ts.map +1 -1
- package/dist/src/parsers/loader.js +82 -7
- package/dist/src/parsers/loader.js.map +1 -1
- package/dist/src/parsers/named-bindings.d.ts +10 -0
- package/dist/src/parsers/named-bindings.d.ts.map +1 -0
- package/dist/src/parsers/named-bindings.js +41 -0
- package/dist/src/parsers/named-bindings.js.map +1 -0
- package/dist/src/parsers/php.d.ts +3 -0
- package/dist/src/parsers/php.d.ts.map +1 -0
- package/dist/src/parsers/php.js +35 -0
- package/dist/src/parsers/php.js.map +1 -0
- package/dist/src/parsers/ruby.d.ts +3 -0
- package/dist/src/parsers/ruby.d.ts.map +1 -0
- package/dist/src/parsers/ruby.js +39 -0
- package/dist/src/parsers/ruby.js.map +1 -0
- package/dist/src/parsers/swift.d.ts +3 -0
- package/dist/src/parsers/swift.d.ts.map +1 -0
- package/dist/src/parsers/swift.js +26 -0
- package/dist/src/parsers/swift.js.map +1 -0
- package/dist/src/parsers/vue.d.ts +11 -0
- package/dist/src/parsers/vue.d.ts.map +1 -0
- package/dist/src/parsers/vue.js +75 -0
- package/dist/src/parsers/vue.js.map +1 -0
- package/dist/src/pipeline/cluster-only.d.ts +12 -0
- package/dist/src/pipeline/cluster-only.d.ts.map +1 -0
- package/dist/src/pipeline/cluster-only.js +55 -0
- package/dist/src/pipeline/cluster-only.js.map +1 -0
- package/dist/src/pipeline/effort.d.ts +13 -0
- package/dist/src/pipeline/effort.d.ts.map +1 -0
- package/dist/src/pipeline/effort.js +38 -0
- package/dist/src/pipeline/effort.js.map +1 -0
- package/dist/src/pipeline/orchestrator.d.ts.map +1 -1
- package/dist/src/pipeline/orchestrator.js +51 -3
- package/dist/src/pipeline/orchestrator.js.map +1 -1
- package/dist/src/pipeline/phases/boundary.d.ts +34 -0
- package/dist/src/pipeline/phases/boundary.d.ts.map +1 -0
- package/dist/src/pipeline/phases/boundary.js +113 -0
- package/dist/src/pipeline/phases/boundary.js.map +1 -0
- package/dist/src/pipeline/phases/communities.d.ts +24 -0
- package/dist/src/pipeline/phases/communities.d.ts.map +1 -1
- package/dist/src/pipeline/phases/communities.js +106 -5
- package/dist/src/pipeline/phases/communities.js.map +1 -1
- package/dist/src/pipeline/phases/contextual-proximity.d.ts +7 -0
- package/dist/src/pipeline/phases/contextual-proximity.d.ts.map +1 -0
- package/dist/src/pipeline/phases/contextual-proximity.js +79 -0
- package/dist/src/pipeline/phases/contextual-proximity.js.map +1 -0
- package/dist/src/pipeline/phases/cross-file.d.ts.map +1 -1
- package/dist/src/pipeline/phases/cross-file.js +62 -14
- package/dist/src/pipeline/phases/cross-file.js.map +1 -1
- package/dist/src/pipeline/phases/docs-parse.d.ts +8 -0
- package/dist/src/pipeline/phases/docs-parse.d.ts.map +1 -0
- package/dist/src/pipeline/phases/docs-parse.js +267 -0
- package/dist/src/pipeline/phases/docs-parse.js.map +1 -0
- package/dist/src/pipeline/phases/embeddings.d.ts +6 -0
- package/dist/src/pipeline/phases/embeddings.d.ts.map +1 -0
- package/dist/src/pipeline/phases/embeddings.js +12 -0
- package/dist/src/pipeline/phases/embeddings.js.map +1 -0
- package/dist/src/pipeline/phases/evidence.d.ts +4 -0
- package/dist/src/pipeline/phases/evidence.d.ts.map +1 -0
- package/dist/src/pipeline/phases/evidence.js +7 -0
- package/dist/src/pipeline/phases/evidence.js.map +1 -0
- package/dist/src/pipeline/phases/field-access.d.ts +9 -0
- package/dist/src/pipeline/phases/field-access.d.ts.map +1 -0
- package/dist/src/pipeline/phases/field-access.js +33 -0
- package/dist/src/pipeline/phases/field-access.js.map +1 -0
- package/dist/src/pipeline/phases/framework-detect.d.ts +11 -0
- package/dist/src/pipeline/phases/framework-detect.d.ts.map +1 -0
- package/dist/src/pipeline/phases/framework-detect.js +87 -0
- package/dist/src/pipeline/phases/framework-detect.js.map +1 -0
- package/dist/src/pipeline/phases/god-nodes.d.ts +22 -1
- package/dist/src/pipeline/phases/god-nodes.d.ts.map +1 -1
- package/dist/src/pipeline/phases/god-nodes.js +91 -8
- package/dist/src/pipeline/phases/god-nodes.js.map +1 -1
- package/dist/src/pipeline/phases/import-resolver.d.ts +24 -0
- package/dist/src/pipeline/phases/import-resolver.d.ts.map +1 -0
- package/dist/src/pipeline/phases/import-resolver.js +97 -0
- package/dist/src/pipeline/phases/import-resolver.js.map +1 -0
- package/dist/src/pipeline/phases/leiden.d.ts +22 -0
- package/dist/src/pipeline/phases/leiden.d.ts.map +1 -0
- package/dist/src/pipeline/phases/leiden.js +71 -0
- package/dist/src/pipeline/phases/leiden.js.map +1 -0
- package/dist/src/pipeline/phases/llm-extract.d.ts +7 -0
- package/dist/src/pipeline/phases/llm-extract.d.ts.map +1 -0
- package/dist/src/pipeline/phases/llm-extract.js +143 -0
- package/dist/src/pipeline/phases/llm-extract.js.map +1 -0
- package/dist/src/pipeline/phases/markdown.d.ts +8 -0
- package/dist/src/pipeline/phases/markdown.d.ts.map +1 -0
- package/dist/src/pipeline/phases/markdown.js +103 -0
- package/dist/src/pipeline/phases/markdown.js.map +1 -0
- package/dist/src/pipeline/phases/middleware-extractor.d.ts +14 -0
- package/dist/src/pipeline/phases/middleware-extractor.d.ts.map +1 -0
- package/dist/src/pipeline/phases/middleware-extractor.js +104 -0
- package/dist/src/pipeline/phases/middleware-extractor.js.map +1 -0
- package/dist/src/pipeline/phases/mro.d.ts.map +1 -1
- package/dist/src/pipeline/phases/mro.js +5 -2
- package/dist/src/pipeline/phases/mro.js.map +1 -1
- package/dist/src/pipeline/phases/orm.d.ts +17 -0
- package/dist/src/pipeline/phases/orm.d.ts.map +1 -0
- package/dist/src/pipeline/phases/orm.js +387 -0
- package/dist/src/pipeline/phases/orm.js.map +1 -0
- package/dist/src/pipeline/phases/parse.d.ts +13 -0
- package/dist/src/pipeline/phases/parse.d.ts.map +1 -1
- package/dist/src/pipeline/phases/parse.js +66 -1
- package/dist/src/pipeline/phases/parse.js.map +1 -1
- package/dist/src/pipeline/phases/pdf-parse.d.ts +8 -0
- package/dist/src/pipeline/phases/pdf-parse.d.ts.map +1 -0
- package/dist/src/pipeline/phases/pdf-parse.js +134 -0
- package/dist/src/pipeline/phases/pdf-parse.js.map +1 -0
- package/dist/src/pipeline/phases/processes.d.ts +20 -0
- package/dist/src/pipeline/phases/processes.d.ts.map +1 -0
- package/dist/src/pipeline/phases/processes.js +180 -0
- package/dist/src/pipeline/phases/processes.js.map +1 -0
- package/dist/src/pipeline/phases/re-export-propagation.d.ts +21 -0
- package/dist/src/pipeline/phases/re-export-propagation.d.ts.map +1 -0
- package/dist/src/pipeline/phases/re-export-propagation.js +128 -0
- package/dist/src/pipeline/phases/re-export-propagation.js.map +1 -0
- package/dist/src/pipeline/phases/reachability.d.ts +32 -0
- package/dist/src/pipeline/phases/reachability.d.ts.map +1 -0
- package/dist/src/pipeline/phases/reachability.js +140 -0
- package/dist/src/pipeline/phases/reachability.js.map +1 -0
- package/dist/src/pipeline/phases/routes.d.ts +42 -0
- package/dist/src/pipeline/phases/routes.d.ts.map +1 -0
- package/dist/src/pipeline/phases/routes.js +288 -0
- package/dist/src/pipeline/phases/routes.js.map +1 -0
- package/dist/src/pipeline/phases/scan.d.ts +8 -0
- package/dist/src/pipeline/phases/scan.d.ts.map +1 -1
- package/dist/src/pipeline/phases/scan.js +62 -2
- package/dist/src/pipeline/phases/scan.js.map +1 -1
- package/dist/src/pipeline/phases/scope-resolution.d.ts +20 -0
- package/dist/src/pipeline/phases/scope-resolution.d.ts.map +1 -0
- package/dist/src/pipeline/phases/scope-resolution.js +402 -0
- package/dist/src/pipeline/phases/scope-resolution.js.map +1 -0
- package/dist/src/pipeline/phases/suggest.d.ts.map +1 -1
- package/dist/src/pipeline/phases/suggest.js +20 -2
- package/dist/src/pipeline/phases/suggest.js.map +1 -1
- package/dist/src/pipeline/phases/surprises.d.ts.map +1 -1
- package/dist/src/pipeline/phases/surprises.js +13 -1
- package/dist/src/pipeline/phases/surprises.js.map +1 -1
- package/dist/src/pipeline/phases/tools.d.ts +13 -0
- package/dist/src/pipeline/phases/tools.d.ts.map +1 -0
- package/dist/src/pipeline/phases/tools.js +132 -0
- package/dist/src/pipeline/phases/tools.js.map +1 -0
- package/dist/src/pipeline/phases/variables-phase.d.ts +6 -0
- package/dist/src/pipeline/phases/variables-phase.d.ts.map +1 -0
- package/dist/src/pipeline/phases/variables-phase.js +23 -0
- package/dist/src/pipeline/phases/variables-phase.js.map +1 -0
- package/dist/src/pipeline/phases/variables.d.ts +10 -0
- package/dist/src/pipeline/phases/variables.d.ts.map +1 -0
- package/dist/src/pipeline/phases/variables.js +55 -0
- package/dist/src/pipeline/phases/variables.js.map +1 -0
- package/dist/src/pipeline/phases/wildcard-phase.d.ts +6 -0
- package/dist/src/pipeline/phases/wildcard-phase.d.ts.map +1 -0
- package/dist/src/pipeline/phases/wildcard-phase.js +31 -0
- package/dist/src/pipeline/phases/wildcard-phase.js.map +1 -0
- package/dist/src/pipeline/phases/wildcard-synthesis.d.ts +47 -0
- package/dist/src/pipeline/phases/wildcard-synthesis.d.ts.map +1 -0
- package/dist/src/pipeline/phases/wildcard-synthesis.js +158 -0
- package/dist/src/pipeline/phases/wildcard-synthesis.js.map +1 -0
- package/dist/src/pipeline/progress.d.ts +20 -0
- package/dist/src/pipeline/progress.d.ts.map +1 -0
- package/dist/src/pipeline/progress.js +46 -0
- package/dist/src/pipeline/progress.js.map +1 -0
- package/dist/src/pipeline/runner.d.ts +14 -1
- package/dist/src/pipeline/runner.d.ts.map +1 -1
- package/dist/src/pipeline/runner.js +67 -9
- package/dist/src/pipeline/runner.js.map +1 -1
- package/dist/src/pipeline/types.d.ts +2 -0
- package/dist/src/pipeline/types.d.ts.map +1 -1
- package/dist/src/pipeline/types.js +1 -0
- package/dist/src/pipeline/types.js.map +1 -1
- package/dist/src/query/cypher-parser.d.ts +71 -0
- package/dist/src/query/cypher-parser.d.ts.map +1 -0
- package/dist/src/query/cypher-parser.js +369 -0
- package/dist/src/query/cypher-parser.js.map +1 -0
- package/dist/src/registry/repo-registry.d.ts +49 -0
- package/dist/src/registry/repo-registry.d.ts.map +1 -0
- package/dist/src/registry/repo-registry.js +103 -0
- package/dist/src/registry/repo-registry.js.map +1 -0
- package/dist/src/regression/baseline-deltas.d.ts +21 -0
- package/dist/src/regression/baseline-deltas.d.ts.map +1 -0
- package/dist/src/regression/baseline-deltas.js +148 -0
- package/dist/src/regression/baseline-deltas.js.map +1 -0
- package/dist/src/regression/baseline.d.ts +32 -0
- package/dist/src/regression/baseline.d.ts.map +1 -0
- package/dist/src/regression/baseline.js +45 -0
- package/dist/src/regression/baseline.js.map +1 -0
- package/dist/src/regression/counts.d.ts +45 -0
- package/dist/src/regression/counts.d.ts.map +1 -0
- package/dist/src/regression/counts.js +34 -0
- package/dist/src/regression/counts.js.map +1 -0
- package/dist/src/regression/outcome.d.ts +26 -0
- package/dist/src/regression/outcome.d.ts.map +1 -0
- package/dist/src/regression/outcome.js +36 -0
- package/dist/src/regression/outcome.js.map +1 -0
- package/dist/src/regression/tolerance.d.ts +10 -0
- package/dist/src/regression/tolerance.d.ts.map +1 -0
- package/dist/src/regression/tolerance.js +33 -0
- package/dist/src/regression/tolerance.js.map +1 -0
- package/dist/src/report/attributed-duplication.d.ts +32 -0
- package/dist/src/report/attributed-duplication.d.ts.map +1 -0
- package/dist/src/report/attributed-duplication.js +66 -0
- package/dist/src/report/attributed-duplication.js.map +1 -0
- package/dist/src/report/badge-svg.d.ts +16 -0
- package/dist/src/report/badge-svg.d.ts.map +1 -0
- package/dist/src/report/badge-svg.js +84 -0
- package/dist/src/report/badge-svg.js.map +1 -0
- package/dist/src/report/cross-ref-human.d.ts +24 -0
- package/dist/src/report/cross-ref-human.d.ts.map +1 -0
- package/dist/src/report/cross-ref-human.js +33 -0
- package/dist/src/report/cross-ref-human.js.map +1 -0
- package/dist/src/report/duplication-grouping.d.ts +28 -0
- package/dist/src/report/duplication-grouping.d.ts.map +1 -0
- package/dist/src/report/duplication-grouping.js +45 -0
- package/dist/src/report/duplication-grouping.js.map +1 -0
- package/dist/src/report/grouping.d.ts +65 -0
- package/dist/src/report/grouping.d.ts.map +1 -0
- package/dist/src/report/grouping.js +79 -0
- package/dist/src/report/grouping.js.map +1 -0
- package/dist/src/report/human-check.d.ts +14 -0
- package/dist/src/report/human-check.d.ts.map +1 -0
- package/dist/src/report/human-check.js +249 -0
- package/dist/src/report/human-check.js.map +1 -0
- package/dist/src/report/human-dupes.d.ts +27 -0
- package/dist/src/report/human-dupes.d.ts.map +1 -0
- package/dist/src/report/human-dupes.js +92 -0
- package/dist/src/report/human-dupes.js.map +1 -0
- package/dist/src/report/human-health.d.ts +12 -0
- package/dist/src/report/human-health.d.ts.map +1 -0
- package/dist/src/report/human-health.js +121 -0
- package/dist/src/report/human-health.js.map +1 -0
- package/dist/src/report/human.d.ts +46 -0
- package/dist/src/report/human.d.ts.map +1 -0
- package/dist/src/report/human.js +93 -0
- package/dist/src/report/human.js.map +1 -0
- package/dist/src/report/json-actions.d.ts +25 -0
- package/dist/src/report/json-actions.d.ts.map +1 -0
- package/dist/src/report/json-actions.js +37 -0
- package/dist/src/report/json-actions.js.map +1 -0
- package/dist/src/report/json-builders.d.ts +28 -0
- package/dist/src/report/json-builders.d.ts.map +1 -0
- package/dist/src/report/json-builders.js +34 -0
- package/dist/src/report/json-builders.js.map +1 -0
- package/dist/src/report/json-schema.d.ts +18 -0
- package/dist/src/report/json-schema.d.ts.map +1 -0
- package/dist/src/report/json-schema.js +46 -0
- package/dist/src/report/json-schema.js.map +1 -0
- package/dist/src/report/number-format.d.ts +31 -0
- package/dist/src/report/number-format.d.ts.map +1 -0
- package/dist/src/report/number-format.js +77 -0
- package/dist/src/report/number-format.js.map +1 -0
- package/dist/src/report/output-grouped.d.ts +25 -0
- package/dist/src/report/output-grouped.d.ts.map +1 -0
- package/dist/src/report/output-grouped.js +72 -0
- package/dist/src/report/output-grouped.js.map +1 -0
- package/dist/src/report/pipeline-perf.d.ts +24 -0
- package/dist/src/report/pipeline-perf.d.ts.map +1 -0
- package/dist/src/report/pipeline-perf.js +34 -0
- package/dist/src/report/pipeline-perf.js.map +1 -0
- package/dist/src/report/trace-human.d.ts +62 -0
- package/dist/src/report/trace-human.d.ts.map +1 -0
- package/dist/src/report/trace-human.js +71 -0
- package/dist/src/report/trace-human.js.map +1 -0
- package/dist/src/reporting/graph-report.d.ts +46 -0
- package/dist/src/reporting/graph-report.d.ts.map +1 -0
- package/dist/src/reporting/graph-report.js +313 -0
- package/dist/src/reporting/graph-report.js.map +1 -0
- package/dist/src/results/fallow-results.d.ts +156 -0
- package/dist/src/results/fallow-results.d.ts.map +1 -0
- package/dist/src/results/fallow-results.js +100 -0
- package/dist/src/results/fallow-results.js.map +1 -0
- package/dist/src/results/types.d.ts +73 -0
- package/dist/src/results/types.d.ts.map +1 -0
- package/dist/src/results/types.js +70 -0
- package/dist/src/results/types.js.map +1 -0
- package/dist/src/scope-resolution/evidence-weights.d.ts +24 -0
- package/dist/src/scope-resolution/evidence-weights.d.ts.map +1 -0
- package/dist/src/scope-resolution/evidence-weights.js +34 -0
- package/dist/src/scope-resolution/evidence-weights.js.map +1 -0
- package/dist/src/search/ast-chunker.d.ts +13 -0
- package/dist/src/search/ast-chunker.d.ts.map +1 -0
- package/dist/src/search/ast-chunker.js +166 -0
- package/dist/src/search/ast-chunker.js.map +1 -0
- package/dist/src/search/device-config.d.ts +16 -0
- package/dist/src/search/device-config.d.ts.map +1 -0
- package/dist/src/search/device-config.js +22 -0
- package/dist/src/search/device-config.js.map +1 -0
- package/dist/src/search/diacritic.d.ts +3 -0
- package/dist/src/search/diacritic.d.ts.map +1 -0
- package/dist/src/search/diacritic.js +7 -0
- package/dist/src/search/diacritic.js.map +1 -0
- package/dist/src/search/embed-batch.d.ts +30 -0
- package/dist/src/search/embed-batch.d.ts.map +1 -0
- package/dist/src/search/embed-batch.js +99 -0
- package/dist/src/search/embed-batch.js.map +1 -0
- package/dist/src/search/embedder.d.ts +26 -0
- package/dist/src/search/embedder.d.ts.map +1 -0
- package/dist/src/search/embedder.js +49 -0
- package/dist/src/search/embedder.js.map +1 -0
- package/dist/src/search/exact-search.d.ts +10 -0
- package/dist/src/search/exact-search.d.ts.map +1 -0
- package/dist/src/search/exact-search.js +28 -0
- package/dist/src/search/exact-search.js.map +1 -0
- package/dist/src/search/http-embedder.d.ts +17 -0
- package/dist/src/search/http-embedder.d.ts.map +1 -0
- package/dist/src/search/http-embedder.js +57 -0
- package/dist/src/search/http-embedder.js.map +1 -0
- package/dist/src/search/hybrid-query.d.ts +41 -0
- package/dist/src/search/hybrid-query.d.ts.map +1 -0
- package/dist/src/search/hybrid-query.js +120 -0
- package/dist/src/search/hybrid-query.js.map +1 -0
- package/dist/src/search/rrf.d.ts +24 -0
- package/dist/src/search/rrf.d.ts.map +1 -0
- package/dist/src/search/rrf.js +39 -0
- package/dist/src/search/rrf.js.map +1 -0
- package/dist/src/security/safe-fetch.d.ts +26 -0
- package/dist/src/security/safe-fetch.d.ts.map +1 -0
- package/dist/src/security/safe-fetch.js +112 -0
- package/dist/src/security/safe-fetch.js.map +1 -0
- package/dist/src/security/sensitive-files.d.ts +2 -0
- package/dist/src/security/sensitive-files.d.ts.map +1 -0
- package/dist/src/security/sensitive-files.js +23 -0
- package/dist/src/security/sensitive-files.js.map +1 -0
- package/dist/src/skills/platform-skills.d.ts +54 -0
- package/dist/src/skills/platform-skills.d.ts.map +1 -0
- package/dist/src/skills/platform-skills.js +179 -0
- package/dist/src/skills/platform-skills.js.map +1 -0
- package/dist/src/staleness/git-staleness.d.ts +11 -0
- package/dist/src/staleness/git-staleness.d.ts.map +1 -0
- package/dist/src/staleness/git-staleness.js +46 -0
- package/dist/src/staleness/git-staleness.js.map +1 -0
- package/dist/src/storage/db.d.ts.map +1 -1
- package/dist/src/storage/db.js +15 -1
- package/dist/src/storage/db.js.map +1 -1
- package/dist/src/storage/edge-store.d.ts +2 -0
- package/dist/src/storage/edge-store.d.ts.map +1 -1
- package/dist/src/storage/edge-store.js +31 -4
- package/dist/src/storage/edge-store.js.map +1 -1
- package/dist/src/storage/embedding-store.d.ts +29 -0
- package/dist/src/storage/embedding-store.d.ts.map +1 -0
- package/dist/src/storage/embedding-store.js +77 -0
- package/dist/src/storage/embedding-store.js.map +1 -0
- package/dist/src/storage/file-cache.d.ts +23 -0
- package/dist/src/storage/file-cache.d.ts.map +1 -0
- package/dist/src/storage/file-cache.js +56 -0
- package/dist/src/storage/file-cache.js.map +1 -0
- package/dist/src/storage/fts-store.d.ts +18 -0
- package/dist/src/storage/fts-store.d.ts.map +1 -1
- package/dist/src/storage/fts-store.js +166 -13
- package/dist/src/storage/fts-store.js.map +1 -1
- package/dist/src/storage/node-store.d.ts +31 -0
- package/dist/src/storage/node-store.d.ts.map +1 -1
- package/dist/src/storage/node-store.js +95 -2
- package/dist/src/storage/node-store.js.map +1 -1
- package/dist/src/storage/schema.d.ts +9 -3
- package/dist/src/storage/schema.d.ts.map +1 -1
- package/dist/src/storage/schema.js +56 -2
- package/dist/src/storage/schema.js.map +1 -1
- package/dist/src/storage/suppressions.d.ts +21 -0
- package/dist/src/storage/suppressions.d.ts.map +1 -0
- package/dist/src/storage/suppressions.js +83 -0
- package/dist/src/storage/suppressions.js.map +1 -0
- package/dist/src/storage/unlinked-refs.d.ts +25 -0
- package/dist/src/storage/unlinked-refs.d.ts.map +1 -0
- package/dist/src/storage/unlinked-refs.js +91 -0
- package/dist/src/storage/unlinked-refs.js.map +1 -0
- package/dist/src/types.d.ts +49 -2
- package/dist/src/types.d.ts.map +1 -1
- package/dist/src/types.js.map +1 -1
- package/dist/src/validation/extraction-validator.d.ts +7 -0
- package/dist/src/validation/extraction-validator.d.ts.map +1 -0
- package/dist/src/validation/extraction-validator.js +43 -0
- package/dist/src/validation/extraction-validator.js.map +1 -0
- package/dist/src/watch/watch-runner.d.ts +16 -0
- package/dist/src/watch/watch-runner.d.ts.map +1 -0
- package/dist/src/watch/watch-runner.js +49 -0
- package/dist/src/watch/watch-runner.js.map +1 -0
- package/dist/src/watch/watcher.d.ts +11 -0
- package/dist/src/watch/watcher.d.ts.map +1 -1
- package/dist/src/watch/watcher.js +12 -0
- package/dist/src/watch/watcher.js.map +1 -1
- package/dist/src/web/analyze-api.d.ts +30 -0
- package/dist/src/web/analyze-api.d.ts.map +1 -0
- package/dist/src/web/analyze-api.js +111 -0
- package/dist/src/web/analyze-api.js.map +1 -0
- package/dist/src/web/api.d.ts +85 -0
- package/dist/src/web/api.d.ts.map +1 -0
- package/dist/src/web/api.js +426 -0
- package/dist/src/web/api.js.map +1 -0
- package/dist/src/web/async-jobs.d.ts +30 -0
- package/dist/src/web/async-jobs.d.ts.map +1 -0
- package/dist/src/web/async-jobs.js +65 -0
- package/dist/src/web/async-jobs.js.map +1 -0
- package/dist/src/web/mcp-http.d.ts +20 -0
- package/dist/src/web/mcp-http.d.ts.map +1 -0
- package/dist/src/web/mcp-http.js +180 -0
- package/dist/src/web/mcp-http.js.map +1 -0
- package/dist/src/web/react-ui.d.ts +2 -0
- package/dist/src/web/react-ui.d.ts.map +1 -0
- package/dist/src/web/react-ui.js +79 -0
- package/dist/src/web/react-ui.js.map +1 -0
- package/dist/src/web/server.d.ts +13 -0
- package/dist/src/web/server.d.ts.map +1 -0
- package/dist/src/web/server.js +63 -0
- package/dist/src/web/server.js.map +1 -0
- package/dist/src/wiki/gist-publisher.d.ts +17 -0
- package/dist/src/wiki/gist-publisher.d.ts.map +1 -0
- package/dist/src/wiki/gist-publisher.js +48 -0
- package/dist/src/wiki/gist-publisher.js.map +1 -0
- package/dist/src/wiki/prompt-builder.d.ts +16 -0
- package/dist/src/wiki/prompt-builder.d.ts.map +1 -0
- package/dist/src/wiki/prompt-builder.js +27 -0
- package/dist/src/wiki/prompt-builder.js.map +1 -0
- package/dist/src/wiki/providers.d.ts +20 -0
- package/dist/src/wiki/providers.d.ts.map +1 -0
- package/dist/src/wiki/providers.js +113 -0
- package/dist/src/wiki/providers.js.map +1 -0
- package/dist/src/wiki/wiki-generator.d.ts +56 -0
- package/dist/src/wiki/wiki-generator.d.ts.map +1 -0
- package/dist/src/wiki/wiki-generator.js +147 -0
- package/dist/src/wiki/wiki-generator.js.map +1 -0
- package/dist/src/wiki/wiki-store.d.ts +20 -0
- package/dist/src/wiki/wiki-store.d.ts.map +1 -0
- package/dist/src/wiki/wiki-store.js +39 -0
- package/dist/src/wiki/wiki-store.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +26 -10
- package/src/__tests__/analysis/benchmark.test.ts +59 -0
- package/src/__tests__/analysis/cluster-quality.test.ts +106 -0
- package/src/__tests__/analysis/corpus-health.test.ts +33 -0
- package/src/__tests__/analysis/dependency-health.test.ts +105 -0
- package/src/__tests__/analysis/file-classifier.test.ts +50 -0
- package/src/__tests__/analysis/node-similarity.test.ts +81 -0
- package/src/__tests__/cache/augment-cache.test.ts +55 -0
- package/src/__tests__/cli/check-update.test.ts +42 -0
- package/src/__tests__/cli/hooks-install.test.ts +56 -0
- package/src/__tests__/cli/hooks-marker.test.ts +138 -0
- package/src/__tests__/cli/hooks-status.test.ts +42 -0
- package/src/__tests__/export/adjacency-matrix.test.ts +116 -0
- package/src/__tests__/export/csv.test.ts +39 -0
- package/src/__tests__/export/dot.test.ts +86 -0
- package/src/__tests__/export/gexf.test.ts +78 -0
- package/src/__tests__/export/graphml.test.ts +57 -0
- package/src/__tests__/export/mermaid.test.ts +89 -0
- package/src/__tests__/graph/betweenness.test.ts +89 -0
- package/src/__tests__/graph/cycles.test.ts +131 -0
- package/src/__tests__/graph/dead-code.test.ts +99 -0
- package/src/__tests__/graph/dfs.test.ts +62 -0
- package/src/__tests__/graph/diff-summary.test.ts +83 -0
- package/src/__tests__/graph/edge-filter.test.ts +129 -0
- package/src/__tests__/graph/import-chain.test.ts +111 -0
- package/src/__tests__/graph/merge.test.ts +151 -0
- package/src/__tests__/graph/node-search.test.ts +167 -0
- package/src/__tests__/graph/normalize-id.test.ts +102 -0
- package/src/__tests__/graph/pagerank.test.ts +96 -0
- package/src/__tests__/graph/prune.test.ts +110 -0
- package/src/__tests__/graph/regex-search.test.ts +166 -0
- package/src/__tests__/graph/ripple-impact.test.ts +73 -0
- package/src/__tests__/graph/scc.test.ts +85 -0
- package/src/__tests__/graph/statistics.test.ts +219 -0
- package/src/__tests__/graph/subgraph.test.ts +127 -0
- package/src/__tests__/graph/topo-sort.test.ts +110 -0
- package/src/__tests__/graph/wcc.test.ts +101 -0
- package/src/__tests__/groups/grpc-extractor.test.ts +47 -0
- package/src/__tests__/groups/service-boundary.test.ts +86 -0
- package/src/__tests__/groups/topic-extractor.test.ts +43 -0
- package/src/__tests__/ingest/git-clone.test.ts +128 -0
- package/src/__tests__/ingest/query-memory.test.ts +123 -0
- package/src/__tests__/ingest/transcribe.test.ts +58 -0
- package/src/__tests__/ingest/url-ingest.test.ts +48 -0
- package/src/__tests__/mcp-resources/repo-context-resource.test.ts +37 -0
- package/src/__tests__/mcp-resources/repos-resource.test.ts +71 -0
- package/src/__tests__/mcp-resources/wiki-resource.test.ts +52 -0
- package/src/__tests__/mcp-tools/embed.test.ts +13 -0
- package/src/__tests__/mcp-tools/explain.test.ts +46 -0
- package/src/__tests__/mcp-tools/graph-query.test.ts +45 -0
- package/src/__tests__/mcp-tools/group-sync.test.ts +8 -0
- package/src/__tests__/mcp-tools/impact-filtering.test.ts +48 -0
- package/src/__tests__/mcp-tools/impact.risk.test.ts +24 -0
- package/src/__tests__/mcp-tools/list-repos.test.ts +24 -0
- package/src/__tests__/mcp-tools/neighbors.test.ts +48 -0
- package/src/__tests__/mcp-tools/query.test.ts +42 -0
- package/src/__tests__/parsers/language-parsers.test.ts +52 -0
- package/src/__tests__/parsers/named-bindings.test.ts +73 -0
- package/src/__tests__/pipeline/cluster-only.test.ts +33 -0
- package/src/__tests__/pipeline/incremental.test.ts +41 -0
- package/src/__tests__/pipeline/phases/communities.cohesion.test.ts +43 -0
- package/src/__tests__/pipeline/phases/community-split.test.ts +30 -0
- package/src/__tests__/pipeline/phases/framework-detect.test.ts +65 -0
- package/src/__tests__/pipeline/phases/import-resolver.test.ts +64 -0
- package/src/__tests__/pipeline/phases/parse-arrow.test.ts +33 -0
- package/src/__tests__/pipeline/phases/parse-csharp.test.ts +33 -0
- package/src/__tests__/pipeline/phases/scan.monographignore.test.ts +53 -0
- package/src/__tests__/pipeline/phases/scan.negation.test.ts +40 -0
- package/src/__tests__/pipeline/phases/scope-resolution.go.test.ts +34 -0
- package/src/__tests__/pipeline/phases/scope-resolution.java.test.ts +30 -0
- package/src/__tests__/pipeline/phases/scope-resolution.rust.test.ts +31 -0
- package/src/__tests__/pipeline/phases/suggest-questions.test.ts +46 -0
- package/src/__tests__/pipeline/phases/surprises-scoring.test.ts +46 -0
- package/src/__tests__/pipeline/phases/variables-phase.test.ts +78 -0
- package/src/__tests__/pipeline/phases/wildcard-phase.test.ts +64 -0
- package/src/__tests__/pipeline/runner.parallel.test.ts +78 -0
- package/src/__tests__/reporting/graph-report-confidence.test.ts +43 -0
- package/src/__tests__/reporting/graph-report-gaps.test.ts +41 -0
- package/src/__tests__/scope-resolution/evidence-weights.test.ts +49 -0
- package/src/__tests__/search/diacritic.test.ts +23 -0
- package/src/__tests__/search/embed-stale.test.ts +42 -0
- package/src/__tests__/search/exact-search.test.ts +54 -0
- package/src/__tests__/security/safe-fetch.test.ts +125 -0
- package/src/__tests__/skills/platform-skills.extra.test.ts +36 -0
- package/src/__tests__/web/api.clusters.test.ts +65 -0
- package/src/__tests__/web/api.file.test.ts +44 -0
- package/src/__tests__/web/api.grep.test.ts +47 -0
- package/src/__tests__/web/api.info.test.ts +18 -0
- package/src/__tests__/web/api.jobs.test.ts +47 -0
- package/src/__tests__/web/api.progress.test.ts +25 -0
- package/src/__tests__/web/api.stream.test.ts +35 -0
- package/src/__tests__/wiki/providers-reasoning.test.ts +46 -0
- package/src/__tests__/wiki/wiki-review-mode.test.ts +22 -0
- package/src/analysis/benchmark.ts +132 -0
- package/src/analysis/changed-files.ts +68 -0
- package/src/analysis/changed-workspaces.ts +85 -0
- package/src/analysis/churn-cache.ts +179 -0
- package/src/analysis/churn-trend.ts +57 -0
- package/src/analysis/churn.ts +216 -0
- package/src/analysis/cluster-quality.ts +143 -0
- package/src/analysis/combined.ts +39 -0
- package/src/analysis/corpus-health.ts +41 -0
- package/src/analysis/coverage-gaps.ts +246 -0
- package/src/analysis/cycles.ts +264 -0
- package/src/analysis/dep-classification.ts +167 -0
- package/src/analysis/dependency-health.ts +146 -0
- package/src/analysis/duplicate-exports.ts +110 -0
- package/src/analysis/fallow-suppression.ts +98 -0
- package/src/analysis/feature-flags-config.ts +47 -0
- package/src/analysis/feature-flags.ts +218 -0
- package/src/analysis/file-classifier.ts +84 -0
- package/src/analysis/git-changed-files.ts +62 -0
- package/src/analysis/health-baseline.ts +80 -0
- package/src/analysis/issue-filters.ts +86 -0
- package/src/analysis/list.ts +74 -0
- package/src/analysis/node-similarity.ts +115 -0
- package/src/analysis/private-type-leaks.ts +119 -0
- package/src/analysis/progress.ts +43 -0
- package/src/analysis/project-state.ts +95 -0
- package/src/analysis/regression-config.ts +36 -0
- package/src/analysis/rule-overrides.ts +81 -0
- package/src/analysis/scripts.ts +95 -0
- package/src/analysis/shape-extractor.ts +202 -0
- package/src/analysis/since-duration.ts +42 -0
- package/src/analysis/suppression-context.ts +95 -0
- package/src/analysis/suppressions.ts +80 -0
- package/src/analysis/surprise-scorer.ts +74 -0
- package/src/analysis/targets.ts +238 -0
- package/src/analysis/trace.ts +320 -0
- package/src/analysis/unused-class-members.ts +79 -0
- package/src/analysis/worker-pool.ts +80 -0
- package/src/analysis/workspace-filter.ts +97 -0
- package/src/analyze/boundary-analysis.ts +129 -0
- package/src/analyze/predicates/file.ts +86 -0
- package/src/analyze/predicates/import.ts +90 -0
- package/src/analyze/predicates/lifecycle.ts +55 -0
- package/src/analyze/unused-deps.ts +70 -0
- package/src/analyze/unused-exports.ts +145 -0
- package/src/analyze/unused-files.ts +46 -0
- package/src/api/production-override.ts +63 -0
- package/src/api/programmatic.ts +118 -0
- package/src/audit.ts +234 -0
- package/src/cache/augment-cache.ts +63 -0
- package/src/cache/extraction-cache.ts +59 -0
- package/src/check/filtering.ts +78 -0
- package/src/check/index.ts +99 -0
- package/src/check/output.ts +79 -0
- package/src/check/rules.ts +61 -0
- package/src/ci-template.ts +84 -0
- package/src/cli/ai-context.ts +193 -0
- package/src/cli/augment.ts +114 -0
- package/src/cli/check-update.ts +40 -0
- package/src/cli/doctor.ts +186 -0
- package/src/cli/eval-server.ts +119 -0
- package/src/cli/hooks-install.ts +202 -0
- package/src/cli/setup.ts +197 -0
- package/src/cli/skill-gen.ts +352 -0
- package/src/commands/flags.ts +72 -0
- package/src/config/boundary-config.ts +183 -0
- package/src/config/cli-schema.ts +81 -0
- package/src/config/config-parsing.ts +102 -0
- package/src/config/duplicates-config.ts +62 -0
- package/src/config/external-plugin.ts +77 -0
- package/src/config/health-config.ts +42 -0
- package/src/config/ignore-exports-used-in-file.ts +46 -0
- package/src/config/migration-types.ts +73 -0
- package/src/config/output-format.ts +24 -0
- package/src/config/plugins/builtin.ts +411 -0
- package/src/config/plugins/registry.ts +77 -0
- package/src/config/plugins/types.ts +14 -0
- package/src/config/resolution.ts +102 -0
- package/src/config/rules.ts +70 -0
- package/src/config/schema-gen.ts +115 -0
- package/src/config/types.ts +149 -0
- package/src/config/used-class-members.ts +53 -0
- package/src/config/validate.ts +108 -0
- package/src/config/workspace.ts +137 -0
- package/src/coverage/cloud-client.ts +111 -0
- package/src/coverage/upload-inventory.ts +84 -0
- package/src/coverage/upload-source-maps.ts +97 -0
- package/src/discover/entry-points.ts +51 -0
- package/src/discover/infrastructure-entries.ts +175 -0
- package/src/duplicates/detect/concatenation.ts +37 -0
- package/src/duplicates/detect/extraction.ts +107 -0
- package/src/duplicates/detect/filtering.ts +112 -0
- package/src/duplicates/detect/lcp.ts +27 -0
- package/src/duplicates/detect/ranking.ts +16 -0
- package/src/duplicates/detect/statistics.ts +69 -0
- package/src/duplicates/detect/suffix-array.ts +88 -0
- package/src/duplicates/families.ts +95 -0
- package/src/duplicates/normalize.ts +58 -0
- package/src/duplicates/shingle-filter.ts +37 -0
- package/src/duplicates/token-types.ts +62 -0
- package/src/duplicates/tokenize/index.ts +104 -0
- package/src/error/fallow-error.ts +94 -0
- package/src/error.ts +47 -0
- package/src/export/adjacency-matrix.ts +127 -0
- package/src/export/analysis-json.ts +87 -0
- package/src/export/badge.ts +105 -0
- package/src/export/codeclimate.ts +201 -0
- package/src/export/compact-health.ts +119 -0
- package/src/export/compact.ts +83 -0
- package/src/export/csv.ts +33 -0
- package/src/export/dot.ts +52 -0
- package/src/export/gexf.ts +59 -0
- package/src/export/graphml.ts +2 -0
- package/src/export/html.ts +534 -48
- package/src/export/index.ts +2 -0
- package/src/export/markdown.ts +290 -0
- package/src/export/mermaid.ts +100 -0
- package/src/export/sarif.ts +236 -0
- package/src/export/svg.ts +15 -2
- package/src/fix/deps.ts +70 -0
- package/src/fix/enum-members.ts +103 -0
- package/src/fix/export-surgery.ts +197 -0
- package/src/fix/exports.ts +93 -0
- package/src/fix/orchestrator.ts +67 -0
- package/src/graph/analyzer.ts +41 -1
- package/src/graph/author-analytics.ts +217 -0
- package/src/graph/baseline.ts +423 -0
- package/src/graph/clone-detector.ts +163 -0
- package/src/graph/clone-families.ts +132 -0
- package/src/graph/codeowners-extended.ts +114 -0
- package/src/graph/codeowners-gitlab.ts +150 -0
- package/src/graph/codeowners.ts +217 -0
- package/src/graph/complexity.ts +200 -0
- package/src/graph/cross-reference-findings.ts +85 -0
- package/src/graph/cross-reference.ts +139 -0
- package/src/graph/cycle-detection.ts +311 -0
- package/src/graph/cycles.ts +222 -0
- package/src/graph/dead-code.ts +104 -0
- package/src/graph/dependency-closure.ts +126 -0
- package/src/graph/dfs.ts +118 -0
- package/src/graph/diff.ts +37 -10
- package/src/graph/duplication-stats.ts +79 -0
- package/src/graph/edge-filter.ts +117 -0
- package/src/graph/explain.ts +133 -0
- package/src/graph/external-style-usage.ts +81 -0
- package/src/graph/health-score.ts +182 -0
- package/src/graph/hotspots.ts +215 -0
- package/src/graph/import-chain.ts +148 -0
- package/src/graph/loader.ts +10 -7
- package/src/graph/maintainability.ts +156 -0
- package/src/graph/merge.ts +174 -0
- package/src/graph/mirrored-dirs.ts +202 -0
- package/src/graph/narrowing.ts +92 -0
- package/src/graph/node-search.ts +200 -0
- package/src/graph/node-types.ts +67 -0
- package/src/graph/normalize-id.ts +138 -0
- package/src/graph/pagerank.ts +155 -0
- package/src/graph/prune.ts +95 -0
- package/src/graph/re-exports/propagate.ts +95 -0
- package/src/graph/reachability.ts +99 -0
- package/src/graph/regex-search.ts +229 -0
- package/src/graph/regression.ts +199 -0
- package/src/graph/resolve/discover-types.ts +45 -0
- package/src/graph/resolve/dynamic-imports.ts +102 -0
- package/src/graph/resolve/fallbacks.ts +79 -0
- package/src/graph/resolve/index.ts +68 -0
- package/src/graph/resolve/path-info.ts +41 -0
- package/src/graph/resolve/re-exports.ts +14 -0
- package/src/graph/resolve/react-native.ts +27 -0
- package/src/graph/resolve/require-imports.ts +18 -0
- package/src/graph/resolve/specifier.ts +120 -0
- package/src/graph/resolve/static-imports.ts +14 -0
- package/src/graph/resolve/types.ts +108 -0
- package/src/graph/resolve/upgrades.ts +32 -0
- package/src/graph/ripple-impact.ts +131 -0
- package/src/graph/risk-profile.ts +179 -0
- package/src/graph/shingle-filter.ts +149 -0
- package/src/graph/statistics.ts +161 -0
- package/src/graph/stats.ts +156 -0
- package/src/graph/subgraph.ts +161 -0
- package/src/graph/topo-sort.ts +171 -0
- package/src/graph/wcc.ts +187 -0
- package/src/groups/contract-bridge.ts +103 -0
- package/src/groups/contract-registry.ts +263 -0
- package/src/groups/group-config.ts +108 -0
- package/src/groups/group-search.ts +157 -0
- package/src/groups/group-sync.ts +82 -0
- package/src/groups/grpc-extractor.ts +64 -0
- package/src/groups/service-boundary.ts +119 -0
- package/src/groups/topic-extractor.ts +90 -0
- package/src/health/analysis-counts-snapshot.ts +57 -0
- package/src/health/analysis-counts.ts +70 -0
- package/src/health/complexity-findings.ts +115 -0
- package/src/health/distribution-thresholds.ts +54 -0
- package/src/health/grouping.ts +138 -0
- package/src/health/health-grouping.ts +86 -0
- package/src/health/health-report-types.ts +165 -0
- package/src/health/health-report.ts +81 -0
- package/src/health/health-score.ts +65 -0
- package/src/health/hotspot-utils.ts +55 -0
- package/src/health/hotspots.ts +104 -0
- package/src/health/large-functions.ts +34 -0
- package/src/health/ownership-metrics.ts +61 -0
- package/src/health/ownership-risk.ts +98 -0
- package/src/health/ownership.ts +174 -0
- package/src/health/quality-gate.ts +57 -0
- package/src/health/risk-profile.ts +39 -0
- package/src/health/runtime-coverage-report.ts +101 -0
- package/src/health/runtime-coverage.ts +71 -0
- package/src/health/scores.ts +72 -0
- package/src/health/scoring-types.ts +48 -0
- package/src/health/target-thresholds.ts +92 -0
- package/src/health/target-types.ts +54 -0
- package/src/health/targets.ts +151 -0
- package/src/health/timings.ts +86 -0
- package/src/health/trend-types.ts +57 -0
- package/src/health/trends.ts +86 -0
- package/src/health/vital-signs-compute.ts +108 -0
- package/src/health/vital-signs-snapshot.ts +72 -0
- package/src/health/vital-signs.ts +101 -0
- package/src/index.ts +98 -0
- package/src/ingest/git-clone.ts +246 -0
- package/src/ingest/query-memory.ts +132 -0
- package/src/ingest/transcribe.ts +254 -0
- package/src/ingest/url-ingest.ts +87 -0
- package/src/init/agent-hooks.ts +86 -0
- package/src/init/git-hooks.ts +71 -0
- package/src/init/project-detection.ts +105 -0
- package/src/license/manager.ts +120 -0
- package/src/lsp/code-actions.ts +127 -0
- package/src/lsp/code-lens.ts +56 -0
- package/src/lsp/diagnostics-ext.ts +150 -0
- package/src/lsp/diagnostics-push.ts +103 -0
- package/src/lsp/diagnostics.ts +98 -0
- package/src/lsp/hover.ts +64 -0
- package/src/lsp/server.ts +254 -0
- package/src/mcp/params.ts +201 -0
- package/src/mcp/resources.ts +56 -1
- package/src/mcp/tool-builders.ts +203 -0
- package/src/mcp-resources/communities-resource.ts +72 -0
- package/src/mcp-resources/graph-resource.ts +14 -0
- package/src/mcp-resources/index.ts +9 -0
- package/src/mcp-resources/named-cluster-resource.ts +35 -0
- package/src/mcp-resources/named-process-resource.ts +26 -0
- package/src/mcp-resources/processes-resource.ts +67 -0
- package/src/mcp-resources/repo-context-resource.ts +36 -0
- package/src/mcp-resources/repos-resource.ts +21 -0
- package/src/mcp-resources/schema-resource.ts +46 -0
- package/src/mcp-resources/wiki-resource.ts +23 -0
- package/src/mcp-tools/api-impact.ts +181 -0
- package/src/mcp-tools/context.ts +111 -0
- package/src/mcp-tools/cypher.ts +29 -0
- package/src/mcp-tools/detect-changes.ts +116 -0
- package/src/mcp-tools/embed.ts +56 -0
- package/src/mcp-tools/explain.ts +65 -0
- package/src/mcp-tools/graph-query.ts +128 -0
- package/src/mcp-tools/group-list.ts +88 -0
- package/src/mcp-tools/group-query.ts +26 -0
- package/src/mcp-tools/group-sync.ts +32 -0
- package/src/mcp-tools/impact.ts +196 -0
- package/src/mcp-tools/index.ts +22 -0
- package/src/mcp-tools/list-repos.ts +38 -0
- package/src/mcp-tools/neighbors.ts +80 -0
- package/src/mcp-tools/query.ts +86 -0
- package/src/mcp-tools/rename.ts +118 -0
- package/src/mcp-tools/route-map.ts +98 -0
- package/src/mcp-tools/serve.ts +41 -0
- package/src/mcp-tools/shape-check.ts +182 -0
- package/src/mcp-tools/staleness.ts +13 -0
- package/src/mcp-tools/tool-map.ts +66 -0
- package/src/mcp-tools/wiki-build.ts +42 -0
- package/src/mcp-tools/wiki.ts +28 -0
- package/src/migrate/jscpd.ts +78 -0
- package/src/migrate/jsonc-gen.ts +38 -0
- package/src/migrate/knip.ts +126 -0
- package/src/migrate/toml-gen.ts +48 -0
- package/src/parsers/c.ts +31 -0
- package/src/parsers/cpp.ts +29 -0
- package/src/parsers/csharp.ts +43 -0
- package/src/parsers/dart.ts +39 -0
- package/src/parsers/extractor.ts +22 -0
- package/src/parsers/kotlin.ts +36 -0
- package/src/parsers/language-parsers.ts +120 -0
- package/src/parsers/loader.ts +71 -7
- package/src/parsers/named-bindings.ts +63 -0
- package/src/parsers/php.ts +37 -0
- package/src/parsers/ruby.ts +39 -0
- package/src/parsers/swift.ts +28 -0
- package/src/parsers/vue.ts +79 -0
- package/src/pipeline/cluster-only.ts +64 -0
- package/src/pipeline/effort.ts +50 -0
- package/src/pipeline/orchestrator.ts +57 -4
- package/src/pipeline/phases/boundary.ts +151 -0
- package/src/pipeline/phases/communities.ts +120 -5
- package/src/pipeline/phases/contextual-proximity.ts +88 -0
- package/src/pipeline/phases/cross-file.ts +66 -16
- package/src/pipeline/phases/docs-parse.ts +307 -0
- package/src/pipeline/phases/embeddings.ts +17 -0
- package/src/pipeline/phases/evidence.ts +9 -0
- package/src/pipeline/phases/field-access.ts +49 -0
- package/src/pipeline/phases/framework-detect.ts +109 -0
- package/src/pipeline/phases/god-nodes.ts +125 -10
- package/src/pipeline/phases/import-resolver.ts +114 -0
- package/src/pipeline/phases/leiden.ts +77 -0
- package/src/pipeline/phases/llm-extract.ts +175 -0
- package/src/pipeline/phases/markdown.ts +121 -0
- package/src/pipeline/phases/middleware-extractor.ts +127 -0
- package/src/pipeline/phases/mro.ts +6 -2
- package/src/pipeline/phases/orm.ts +503 -0
- package/src/pipeline/phases/parse.ts +80 -1
- package/src/pipeline/phases/pdf-parse.ts +133 -0
- package/src/pipeline/phases/processes.ts +249 -0
- package/src/pipeline/phases/re-export-propagation.ts +160 -0
- package/src/pipeline/phases/reachability.ts +156 -0
- package/src/pipeline/phases/routes.ts +349 -0
- package/src/pipeline/phases/scan.ts +70 -3
- package/src/pipeline/phases/scope-resolution.ts +489 -0
- package/src/pipeline/phases/suggest.ts +22 -2
- package/src/pipeline/phases/surprises.ts +14 -1
- package/src/pipeline/phases/tools.ts +170 -0
- package/src/pipeline/phases/variables-phase.ts +36 -0
- package/src/pipeline/phases/variables.ts +67 -0
- package/src/pipeline/phases/wildcard-phase.ts +45 -0
- package/src/pipeline/phases/wildcard-synthesis.ts +214 -0
- package/src/pipeline/progress.ts +58 -0
- package/src/pipeline/runner.ts +77 -10
- package/src/pipeline/types.ts +3 -0
- package/src/query/cypher-parser.ts +450 -0
- package/src/registry/repo-registry.ts +126 -0
- package/src/regression/baseline-deltas.ts +215 -0
- package/src/regression/baseline.ts +76 -0
- package/src/regression/counts.ts +87 -0
- package/src/regression/outcome.ts +78 -0
- package/src/regression/tolerance.ts +35 -0
- package/src/report/attributed-duplication.ts +112 -0
- package/src/report/badge-svg.ts +100 -0
- package/src/report/cross-ref-human.ts +50 -0
- package/src/report/duplication-grouping.ts +74 -0
- package/src/report/grouping.ts +137 -0
- package/src/report/human-check.ts +291 -0
- package/src/report/human-dupes.ts +142 -0
- package/src/report/human-health.ts +195 -0
- package/src/report/human.ts +120 -0
- package/src/report/json-actions.ts +91 -0
- package/src/report/json-builders.ts +70 -0
- package/src/report/json-schema.ts +75 -0
- package/src/report/number-format.ts +91 -0
- package/src/report/output-grouped.ts +102 -0
- package/src/report/pipeline-perf.ts +56 -0
- package/src/report/trace-human.ts +127 -0
- package/src/reporting/graph-report.ts +432 -0
- package/src/results/fallow-results.ts +152 -0
- package/src/results/types.ts +149 -0
- package/src/scope-resolution/evidence-weights.ts +41 -0
- package/src/search/ast-chunker.ts +206 -0
- package/src/search/device-config.ts +31 -0
- package/src/search/diacritic.ts +7 -0
- package/src/search/embed-batch.ts +151 -0
- package/src/search/embedder.ts +60 -0
- package/src/search/exact-search.ts +45 -0
- package/src/search/http-embedder.ts +78 -0
- package/src/search/hybrid-query.ts +172 -0
- package/src/search/rrf.ts +51 -0
- package/src/security/safe-fetch.ts +113 -0
- package/src/security/sensitive-files.ts +24 -0
- package/src/skills/platform-skills.ts +233 -0
- package/src/staleness/git-staleness.ts +63 -0
- package/src/storage/db.ts +14 -0
- package/src/storage/edge-store.ts +41 -4
- package/src/storage/embedding-store.ts +108 -0
- package/src/storage/file-cache.ts +78 -0
- package/src/storage/fts-store.ts +198 -17
- package/src/storage/node-store.ts +139 -2
- package/src/storage/schema.ts +62 -2
- package/src/storage/suppressions.ts +145 -0
- package/src/storage/unlinked-refs.ts +117 -0
- package/src/types.ts +70 -4
- package/src/validation/extraction-validator.ts +54 -0
- package/src/watch/watch-runner.ts +64 -0
- package/src/watch/watcher.ts +26 -0
- package/src/web/analyze-api.ts +144 -0
- package/src/web/api.ts +540 -0
- package/src/web/async-jobs.ts +94 -0
- package/src/web/mcp-http.ts +227 -0
- package/src/web/react-ui.ts +78 -0
- package/src/web/server.ts +90 -0
- package/src/web/ui/index.html +204 -0
- package/src/wiki/gist-publisher.ts +76 -0
- package/src/wiki/prompt-builder.ts +35 -0
- package/src/wiki/providers.ts +160 -0
- package/src/wiki/wiki-generator.ts +218 -0
- package/src/wiki/wiki-store.ts +49 -0
- package/tsconfig.json +1 -1
- package/.monomind/sessions/current.json +0 -13
- package/LICENSE +0 -21
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type Database from 'better-sqlite3';
|
|
2
2
|
import type { MonographNode } from '../types.js';
|
|
3
|
-
import { toNormLabel } from '../types.js';
|
|
3
|
+
import { toNormLabel, MonographError } from '../types.js';
|
|
4
4
|
|
|
5
5
|
export function insertNode(db: Database.Database, node: MonographNode): void {
|
|
6
6
|
db.prepare(`
|
|
@@ -23,15 +23,53 @@ export function insertNode(db: Database.Database, node: MonographNode): void {
|
|
|
23
23
|
);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
const INSERT_SQL = `
|
|
27
|
+
INSERT OR REPLACE INTO nodes
|
|
28
|
+
(id, label, name, norm_label, file_path, start_line, end_line,
|
|
29
|
+
community_id, is_exported, language, properties)
|
|
30
|
+
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
|
31
|
+
`;
|
|
32
|
+
|
|
26
33
|
export function insertNodes(db: Database.Database, nodes: MonographNode[]): void {
|
|
34
|
+
if (nodes.length === 0) return;
|
|
35
|
+
// Prepare once and reuse across all rows — avoids N redundant prepare calls
|
|
36
|
+
const stmt = db.prepare(INSERT_SQL);
|
|
27
37
|
const insertMany = db.transaction((rows: MonographNode[]) => {
|
|
28
38
|
for (const n of rows) {
|
|
29
|
-
|
|
39
|
+
stmt.run(
|
|
40
|
+
n.id,
|
|
41
|
+
n.label,
|
|
42
|
+
n.name,
|
|
43
|
+
n.normLabel ?? toNormLabel(n.name),
|
|
44
|
+
n.filePath ?? null,
|
|
45
|
+
n.startLine ?? null,
|
|
46
|
+
n.endLine ?? null,
|
|
47
|
+
n.communityId ?? null,
|
|
48
|
+
n.isExported ? 1 : 0,
|
|
49
|
+
n.language ?? null,
|
|
50
|
+
n.properties ? JSON.stringify(n.properties) : null,
|
|
51
|
+
);
|
|
30
52
|
}
|
|
31
53
|
});
|
|
32
54
|
insertMany(nodes);
|
|
33
55
|
}
|
|
34
56
|
|
|
57
|
+
/** Batch-fetch multiple nodes by ID using a single SQL IN query. Batches at 50 IDs. */
|
|
58
|
+
export function getNodesByIds(db: Database.Database, ids: string[]): MonographNode[] {
|
|
59
|
+
if (ids.length === 0) return [];
|
|
60
|
+
const BATCH = 50;
|
|
61
|
+
const results: MonographNode[] = [];
|
|
62
|
+
for (let i = 0; i < ids.length; i += BATCH) {
|
|
63
|
+
const chunk = ids.slice(i, i + BATCH);
|
|
64
|
+
const placeholders = chunk.map(() => '?').join(',');
|
|
65
|
+
const rows = db
|
|
66
|
+
.prepare(`SELECT * FROM nodes WHERE id IN (${placeholders})`)
|
|
67
|
+
.all(...chunk) as Record<string, unknown>[];
|
|
68
|
+
for (const row of rows) results.push(rowToNode(row));
|
|
69
|
+
}
|
|
70
|
+
return results;
|
|
71
|
+
}
|
|
72
|
+
|
|
35
73
|
export function getNode(db: Database.Database, id: string): MonographNode | undefined {
|
|
36
74
|
const row = db
|
|
37
75
|
.prepare('SELECT * FROM nodes WHERE id = ?')
|
|
@@ -55,6 +93,105 @@ export function countNodes(db: Database.Database): number {
|
|
|
55
93
|
return row.n;
|
|
56
94
|
}
|
|
57
95
|
|
|
96
|
+
// ── Property registry ─────────────────────────────────────────────────────────
|
|
97
|
+
|
|
98
|
+
export interface PropertyDef {
|
|
99
|
+
ident: string;
|
|
100
|
+
type: string;
|
|
101
|
+
cardinality: string;
|
|
102
|
+
viewContext: string;
|
|
103
|
+
closedValues: string[] | null;
|
|
104
|
+
description: string | null;
|
|
105
|
+
queryable: boolean;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
function rowToPropDef(row: Record<string, unknown>): PropertyDef {
|
|
109
|
+
return {
|
|
110
|
+
ident: row.ident as string,
|
|
111
|
+
type: row.type as string,
|
|
112
|
+
cardinality: row.cardinality as string,
|
|
113
|
+
viewContext: row.view_context as string,
|
|
114
|
+
closedValues: row.closed_values ? JSON.parse(row.closed_values as string) : null,
|
|
115
|
+
description: (row.description as string | null) ?? null,
|
|
116
|
+
queryable: (row.queryable as number) === 1,
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/** List all registered property definitions */
|
|
121
|
+
export function listProperties(db: Database.Database): PropertyDef[] {
|
|
122
|
+
const rows = db.prepare('SELECT * FROM node_properties ORDER BY ident').all() as Record<string, unknown>[];
|
|
123
|
+
return rows.map(rowToPropDef);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/** Get a single property definition */
|
|
127
|
+
export function getProperty(db: Database.Database, ident: string): PropertyDef | null {
|
|
128
|
+
const row = db.prepare('SELECT * FROM node_properties WHERE ident = ?').get(ident) as Record<string, unknown> | undefined;
|
|
129
|
+
return row ? rowToPropDef(row) : null;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/** Register or update a custom property */
|
|
133
|
+
export function upsertProperty(db: Database.Database, def: PropertyDef): void {
|
|
134
|
+
db.prepare(`
|
|
135
|
+
INSERT INTO node_properties (ident, type, cardinality, view_context, closed_values, description, queryable)
|
|
136
|
+
VALUES (?, ?, ?, ?, ?, ?, ?)
|
|
137
|
+
ON CONFLICT(ident) DO UPDATE SET
|
|
138
|
+
type = excluded.type,
|
|
139
|
+
cardinality = excluded.cardinality,
|
|
140
|
+
view_context = excluded.view_context,
|
|
141
|
+
closed_values = excluded.closed_values,
|
|
142
|
+
description = excluded.description,
|
|
143
|
+
queryable = excluded.queryable
|
|
144
|
+
`).run(
|
|
145
|
+
def.ident,
|
|
146
|
+
def.type,
|
|
147
|
+
def.cardinality,
|
|
148
|
+
def.viewContext,
|
|
149
|
+
def.closedValues != null ? JSON.stringify(def.closedValues) : null,
|
|
150
|
+
def.description ?? null,
|
|
151
|
+
def.queryable ? 1 : 0,
|
|
152
|
+
);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Query nodes by a typed property value extracted from their JSON properties column.
|
|
157
|
+
* For queryable properties only.
|
|
158
|
+
* @param ident - property ident (e.g. 'layer', 'tags', 'ua_type')
|
|
159
|
+
* @param value - value to match (exact for closed/text, numeric comparison for number)
|
|
160
|
+
* @param comparator - '=' | 'LIKE' | '>' | '<' (default '=')
|
|
161
|
+
*/
|
|
162
|
+
export function queryByProperty(
|
|
163
|
+
db: Database.Database,
|
|
164
|
+
ident: string,
|
|
165
|
+
value: string | number | boolean,
|
|
166
|
+
comparator: '=' | 'LIKE' | '>' | '<' = '=',
|
|
167
|
+
limit = 100,
|
|
168
|
+
): Array<{ id: string; name: string; label: string; filePath: string | null; propertyValue: unknown }> {
|
|
169
|
+
const propDef = getProperty(db, ident);
|
|
170
|
+
if (!propDef) {
|
|
171
|
+
throw new MonographError(`Unknown property: '${ident}'. Register it first with upsertProperty.`);
|
|
172
|
+
}
|
|
173
|
+
if (!propDef.queryable) {
|
|
174
|
+
throw new MonographError(`Property '${ident}' is not queryable (view_context may be 'never' or queryable=false).`);
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
const extractExpr = `json_extract(properties, '$.${ident}')`;
|
|
178
|
+
const rows = db.prepare(`
|
|
179
|
+
SELECT id, name, label, file_path, ${extractExpr} AS property_value
|
|
180
|
+
FROM nodes
|
|
181
|
+
WHERE properties IS NOT NULL
|
|
182
|
+
AND ${extractExpr} ${comparator} ?
|
|
183
|
+
LIMIT ?
|
|
184
|
+
`).all(value, limit) as Array<Record<string, unknown>>;
|
|
185
|
+
|
|
186
|
+
return rows.map(r => ({
|
|
187
|
+
id: r.id as string,
|
|
188
|
+
name: r.name as string,
|
|
189
|
+
label: r.label as string,
|
|
190
|
+
filePath: (r.file_path as string | null) ?? null,
|
|
191
|
+
propertyValue: r.property_value,
|
|
192
|
+
}));
|
|
193
|
+
}
|
|
194
|
+
|
|
58
195
|
function rowToNode(row: Record<string, unknown>): MonographNode {
|
|
59
196
|
return {
|
|
60
197
|
id: row.id as string,
|
package/src/storage/schema.ts
CHANGED
|
@@ -10,7 +10,8 @@ CREATE TABLE IF NOT EXISTS nodes (
|
|
|
10
10
|
community_id INTEGER,
|
|
11
11
|
is_exported INTEGER NOT NULL DEFAULT 0,
|
|
12
12
|
language TEXT,
|
|
13
|
-
properties TEXT
|
|
13
|
+
properties TEXT,
|
|
14
|
+
embedding TEXT
|
|
14
15
|
)`;
|
|
15
16
|
|
|
16
17
|
export const CREATE_EDGES = `
|
|
@@ -21,6 +22,9 @@ CREATE TABLE IF NOT EXISTS edges (
|
|
|
21
22
|
relation TEXT NOT NULL,
|
|
22
23
|
confidence TEXT NOT NULL DEFAULT 'EXTRACTED',
|
|
23
24
|
confidence_score REAL NOT NULL DEFAULT 1.0,
|
|
25
|
+
weight REAL NOT NULL DEFAULT 1.0,
|
|
26
|
+
reason TEXT,
|
|
27
|
+
evidence TEXT,
|
|
24
28
|
FOREIGN KEY (source_id) REFERENCES nodes(id),
|
|
25
29
|
FOREIGN KEY (target_id) REFERENCES nodes(id)
|
|
26
30
|
)`;
|
|
@@ -47,7 +51,21 @@ CREATE VIRTUAL TABLE IF NOT EXISTS nodes_fts USING fts5(
|
|
|
47
51
|
file_path,
|
|
48
52
|
label UNINDEXED,
|
|
49
53
|
content='nodes',
|
|
50
|
-
content_rowid='rowid'
|
|
54
|
+
content_rowid='rowid',
|
|
55
|
+
tokenize='trigram'
|
|
56
|
+
)`;
|
|
57
|
+
|
|
58
|
+
export const CREATE_EMBEDDINGS = `
|
|
59
|
+
CREATE TABLE IF NOT EXISTS embeddings (
|
|
60
|
+
node_id TEXT PRIMARY KEY,
|
|
61
|
+
vector BLOB NOT NULL
|
|
62
|
+
)`;
|
|
63
|
+
|
|
64
|
+
export const CREATE_WIKI_PAGES = `
|
|
65
|
+
CREATE TABLE IF NOT EXISTS wiki_pages (
|
|
66
|
+
community_id TEXT PRIMARY KEY,
|
|
67
|
+
content TEXT NOT NULL,
|
|
68
|
+
generated_at TEXT NOT NULL
|
|
51
69
|
)`;
|
|
52
70
|
|
|
53
71
|
export const CREATE_INDEXES = [
|
|
@@ -60,6 +78,48 @@ export const CREATE_INDEXES = [
|
|
|
60
78
|
`CREATE INDEX IF NOT EXISTS idx_edges_confidence ON edges(confidence)`,
|
|
61
79
|
];
|
|
62
80
|
|
|
81
|
+
export const CREATE_NODE_PROPERTIES = `
|
|
82
|
+
CREATE TABLE IF NOT EXISTS node_properties (
|
|
83
|
+
ident TEXT PRIMARY KEY,
|
|
84
|
+
type TEXT NOT NULL CHECK(type IN ('text','number','boolean','date','node-ref','closed')),
|
|
85
|
+
cardinality TEXT NOT NULL DEFAULT 'one' CHECK(cardinality IN ('one','many')),
|
|
86
|
+
view_context TEXT NOT NULL DEFAULT 'all' CHECK(view_context IN ('all','graph','query','never')),
|
|
87
|
+
closed_values TEXT,
|
|
88
|
+
description TEXT,
|
|
89
|
+
queryable INTEGER NOT NULL DEFAULT 1
|
|
90
|
+
)`;
|
|
91
|
+
|
|
92
|
+
export const SEED_NODE_PROPERTIES = `
|
|
93
|
+
INSERT OR IGNORE INTO node_properties (ident, type, cardinality, view_context, description, queryable) VALUES
|
|
94
|
+
('ua_type', 'closed', 'one', 'query', 'Understand-Anything node type', 1),
|
|
95
|
+
('summary', 'text', 'one', 'all', 'LLM-generated description', 1),
|
|
96
|
+
('tags', 'text', 'many', 'all', 'Semantic tags from analysis', 1),
|
|
97
|
+
('complexity', 'closed', 'one', 'query', 'Code complexity rating', 1),
|
|
98
|
+
('layer', 'closed', 'one', 'graph', 'Architectural layer (community name)', 1),
|
|
99
|
+
('community_id', 'number', 'one', 'query', 'Community cluster id', 1),
|
|
100
|
+
('language', 'text', 'one', 'query', 'Programming language', 1),
|
|
101
|
+
('is_exported', 'boolean', 'one', 'query', 'Whether symbol is exported', 1)`;
|
|
102
|
+
|
|
103
|
+
export const CREATE_SUPPRESSIONS = `
|
|
104
|
+
CREATE TABLE IF NOT EXISTS suppressions (
|
|
105
|
+
id TEXT PRIMARY KEY,
|
|
106
|
+
file_path TEXT NOT NULL,
|
|
107
|
+
line INTEGER NOT NULL DEFAULT 0,
|
|
108
|
+
rule TEXT NOT NULL,
|
|
109
|
+
added_at TEXT NOT NULL,
|
|
110
|
+
last_seen_at TEXT
|
|
111
|
+
)`;
|
|
112
|
+
|
|
113
|
+
export const CREATE_FILE_CACHE = `
|
|
114
|
+
CREATE TABLE IF NOT EXISTS file_cache (
|
|
115
|
+
file_path TEXT PRIMARY KEY,
|
|
116
|
+
content_hash TEXT NOT NULL,
|
|
117
|
+
last_parsed INTEGER NOT NULL,
|
|
118
|
+
node_count INTEGER NOT NULL DEFAULT 0,
|
|
119
|
+
edge_count INTEGER NOT NULL DEFAULT 0
|
|
120
|
+
)
|
|
121
|
+
`;
|
|
122
|
+
|
|
63
123
|
export const FTS_SYNC_TRIGGERS = `
|
|
64
124
|
CREATE TRIGGER IF NOT EXISTS nodes_fts_insert AFTER INSERT ON nodes BEGIN
|
|
65
125
|
INSERT INTO nodes_fts(rowid, id, name, norm_label, file_path, label)
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import type Database from 'better-sqlite3';
|
|
2
|
+
import { randomUUID } from 'crypto';
|
|
3
|
+
|
|
4
|
+
export interface Suppression {
|
|
5
|
+
id: string;
|
|
6
|
+
filePath: string;
|
|
7
|
+
line: number; // 0 = file-wide
|
|
8
|
+
rule: string;
|
|
9
|
+
addedAt: string;
|
|
10
|
+
lastSeenAt?: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface StaleSuppression extends Suppression {
|
|
14
|
+
reason: string; // 'issue_resolved' | 'file_deleted'
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// Add a suppression
|
|
18
|
+
export function addSuppression(
|
|
19
|
+
db: Database.Database,
|
|
20
|
+
filePath: string,
|
|
21
|
+
line: number,
|
|
22
|
+
rule: string,
|
|
23
|
+
): Suppression {
|
|
24
|
+
const id = randomUUID();
|
|
25
|
+
const addedAt = new Date().toISOString();
|
|
26
|
+
|
|
27
|
+
db.prepare(`
|
|
28
|
+
INSERT INTO suppressions (id, file_path, line, rule, added_at, last_seen_at)
|
|
29
|
+
VALUES (?, ?, ?, ?, ?, NULL)
|
|
30
|
+
`).run(id, filePath, line, rule, addedAt);
|
|
31
|
+
|
|
32
|
+
return { id, filePath, line, rule, addedAt };
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// List all suppressions (optionally filter by rule or file)
|
|
36
|
+
export function listSuppressions(
|
|
37
|
+
db: Database.Database,
|
|
38
|
+
filePath?: string,
|
|
39
|
+
rule?: string,
|
|
40
|
+
): Suppression[] {
|
|
41
|
+
let sql = `SELECT id, file_path, line, rule, added_at, last_seen_at FROM suppressions WHERE 1=1`;
|
|
42
|
+
const params: unknown[] = [];
|
|
43
|
+
|
|
44
|
+
if (filePath) {
|
|
45
|
+
sql += ` AND file_path = ?`;
|
|
46
|
+
params.push(filePath);
|
|
47
|
+
}
|
|
48
|
+
if (rule) {
|
|
49
|
+
sql += ` AND rule = ?`;
|
|
50
|
+
params.push(rule);
|
|
51
|
+
}
|
|
52
|
+
sql += ` ORDER BY added_at DESC`;
|
|
53
|
+
|
|
54
|
+
const rows = db.prepare(sql).all(...params) as {
|
|
55
|
+
id: string;
|
|
56
|
+
file_path: string;
|
|
57
|
+
line: number;
|
|
58
|
+
rule: string;
|
|
59
|
+
added_at: string;
|
|
60
|
+
last_seen_at: string | null;
|
|
61
|
+
}[];
|
|
62
|
+
|
|
63
|
+
return rows.map(r => ({
|
|
64
|
+
id: r.id,
|
|
65
|
+
filePath: r.file_path,
|
|
66
|
+
line: r.line,
|
|
67
|
+
rule: r.rule,
|
|
68
|
+
addedAt: r.added_at,
|
|
69
|
+
...(r.last_seen_at != null ? { lastSeenAt: r.last_seen_at } : {}),
|
|
70
|
+
}));
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// Remove a suppression
|
|
74
|
+
export function removeSuppression(db: Database.Database, id: string): void {
|
|
75
|
+
db.prepare(`DELETE FROM suppressions WHERE id = ?`).run(id);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// Check if a finding is suppressed
|
|
79
|
+
// A suppression with line=0 is file-wide and matches any line for the same file+rule
|
|
80
|
+
export function isSuppressed(
|
|
81
|
+
db: Database.Database,
|
|
82
|
+
filePath: string,
|
|
83
|
+
line: number,
|
|
84
|
+
rule: string,
|
|
85
|
+
): Suppression | null {
|
|
86
|
+
const row = db.prepare(`
|
|
87
|
+
SELECT id, file_path, line, rule, added_at, last_seen_at
|
|
88
|
+
FROM suppressions
|
|
89
|
+
WHERE file_path = ? AND rule = ? AND (line = 0 OR line = ?)
|
|
90
|
+
LIMIT 1
|
|
91
|
+
`).get(filePath, rule, line) as {
|
|
92
|
+
id: string;
|
|
93
|
+
file_path: string;
|
|
94
|
+
line: number;
|
|
95
|
+
rule: string;
|
|
96
|
+
added_at: string;
|
|
97
|
+
last_seen_at: string | null;
|
|
98
|
+
} | undefined;
|
|
99
|
+
|
|
100
|
+
if (!row) return null;
|
|
101
|
+
|
|
102
|
+
return {
|
|
103
|
+
id: row.id,
|
|
104
|
+
filePath: row.file_path,
|
|
105
|
+
line: row.line,
|
|
106
|
+
rule: row.rule,
|
|
107
|
+
addedAt: row.added_at,
|
|
108
|
+
...(row.last_seen_at != null ? { lastSeenAt: row.last_seen_at } : {}),
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
// Find stale suppressions
|
|
113
|
+
// A suppression is stale if:
|
|
114
|
+
// - the file no longer exists in the graph (reason: 'file_deleted')
|
|
115
|
+
// - the file exists but no active finding matches file+rule (reason: 'issue_resolved')
|
|
116
|
+
export function findStaleSuppressions(
|
|
117
|
+
db: Database.Database,
|
|
118
|
+
activeFindings: Array<{ filePath: string; rule: string }>,
|
|
119
|
+
): StaleSuppression[] {
|
|
120
|
+
const suppressions = listSuppressions(db);
|
|
121
|
+
if (suppressions.length === 0) return [];
|
|
122
|
+
|
|
123
|
+
// Build a set of all file paths in the graph
|
|
124
|
+
const graphFiles = new Set<string>(
|
|
125
|
+
(db.prepare(`SELECT DISTINCT file_path FROM nodes WHERE file_path IS NOT NULL`).all() as { file_path: string }[])
|
|
126
|
+
.map(r => r.file_path),
|
|
127
|
+
);
|
|
128
|
+
|
|
129
|
+
// Build a set of active finding keys: "filePath::rule"
|
|
130
|
+
const activeFindingKeys = new Set<string>(
|
|
131
|
+
activeFindings.map(f => `${f.filePath}::${f.rule}`),
|
|
132
|
+
);
|
|
133
|
+
|
|
134
|
+
const stale: StaleSuppression[] = [];
|
|
135
|
+
|
|
136
|
+
for (const s of suppressions) {
|
|
137
|
+
if (!graphFiles.has(s.filePath)) {
|
|
138
|
+
stale.push({ ...s, reason: 'file_deleted' });
|
|
139
|
+
} else if (!activeFindingKeys.has(`${s.filePath}::${s.rule}`)) {
|
|
140
|
+
stale.push({ ...s, reason: 'issue_resolved' });
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
return stale;
|
|
145
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import type Database from 'better-sqlite3';
|
|
2
|
+
|
|
3
|
+
export interface UnlinkedReference {
|
|
4
|
+
sourceId: string;
|
|
5
|
+
sourceName: string;
|
|
6
|
+
sourceFilePath: string | null;
|
|
7
|
+
sourceLabel: string;
|
|
8
|
+
targetName: string; // the symbol that was mentioned
|
|
9
|
+
mentionContext: string | null; // snippet of where it was mentioned (from properties.summary)
|
|
10
|
+
confidence: 'high' | 'medium' | 'low';
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Find nodes that mention a target symbol by name in their metadata
|
|
15
|
+
* (summary, file_path, norm_label) but have no explicit edge to any node
|
|
16
|
+
* with that name. These are "mentioned but not linked" — latent coupling.
|
|
17
|
+
*
|
|
18
|
+
* @param db - open monograph database
|
|
19
|
+
* @param targetName - symbol name to search for (e.g. "UserService")
|
|
20
|
+
* @param options.limit - max results (default 50)
|
|
21
|
+
* @param options.excludeSourceId - skip this node id (avoid self-match)
|
|
22
|
+
*/
|
|
23
|
+
export function findUnlinkedReferences(
|
|
24
|
+
db: Database.Database,
|
|
25
|
+
targetName: string,
|
|
26
|
+
options: { limit?: number; excludeSourceId?: string } = {},
|
|
27
|
+
): UnlinkedReference[] {
|
|
28
|
+
const limit = options.limit ?? 50;
|
|
29
|
+
const excludeSourceId = options.excludeSourceId ?? '';
|
|
30
|
+
const pattern = `%${targetName}%`;
|
|
31
|
+
|
|
32
|
+
// Step 1: Find all node IDs that already have an explicit edge to any node
|
|
33
|
+
// whose name matches targetName — these are "already linked" and excluded.
|
|
34
|
+
const linkedRows = db.prepare(`
|
|
35
|
+
SELECT DISTINCT e.source_id FROM edges e
|
|
36
|
+
JOIN nodes n ON n.id = e.target_id
|
|
37
|
+
WHERE n.name = ?
|
|
38
|
+
`).all(targetName) as { source_id: string }[];
|
|
39
|
+
|
|
40
|
+
const linkedIds = new Set(linkedRows.map(r => r.source_id));
|
|
41
|
+
|
|
42
|
+
// Step 2: Find nodes that mention targetName in name, norm_label, or
|
|
43
|
+
// properties JSON — but are NOT in the linked set and not self.
|
|
44
|
+
const rows = db.prepare(`
|
|
45
|
+
SELECT n.id, n.name, n.file_path, n.label, n.properties
|
|
46
|
+
FROM nodes n
|
|
47
|
+
WHERE (
|
|
48
|
+
n.name LIKE ? OR
|
|
49
|
+
n.norm_label LIKE ? OR
|
|
50
|
+
(n.properties IS NOT NULL AND n.properties LIKE ?)
|
|
51
|
+
)
|
|
52
|
+
AND n.name != ?
|
|
53
|
+
LIMIT ?
|
|
54
|
+
`).all(pattern, pattern, pattern, targetName, limit * 4) as Array<{
|
|
55
|
+
id: string;
|
|
56
|
+
name: string;
|
|
57
|
+
file_path: string | null;
|
|
58
|
+
label: string;
|
|
59
|
+
properties: string | null;
|
|
60
|
+
}>;
|
|
61
|
+
|
|
62
|
+
const results: UnlinkedReference[] = [];
|
|
63
|
+
|
|
64
|
+
for (const row of rows) {
|
|
65
|
+
// Skip nodes that already have an explicit edge to the target
|
|
66
|
+
if (linkedIds.has(row.id)) continue;
|
|
67
|
+
// Skip the excluded node (e.g. the target node itself)
|
|
68
|
+
if (excludeSourceId && row.id === excludeSourceId) continue;
|
|
69
|
+
|
|
70
|
+
// Determine confidence and extract mention context
|
|
71
|
+
let confidence: 'high' | 'medium' | 'low';
|
|
72
|
+
let mentionContext: string | null = null;
|
|
73
|
+
|
|
74
|
+
if (row.name.includes(targetName)) {
|
|
75
|
+
// Target name appears in the symbol's own name
|
|
76
|
+
confidence = 'high';
|
|
77
|
+
} else if (row.file_path !== null && row.file_path.includes(targetName)) {
|
|
78
|
+
// Appears in the file path
|
|
79
|
+
confidence = 'medium';
|
|
80
|
+
} else {
|
|
81
|
+
// Only in properties.summary
|
|
82
|
+
confidence = 'low';
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// Extract a 100-char context window from properties.summary if available
|
|
86
|
+
if (row.properties !== null) {
|
|
87
|
+
try {
|
|
88
|
+
const props = JSON.parse(row.properties) as Record<string, unknown>;
|
|
89
|
+
const summary = typeof props['summary'] === 'string' ? props['summary'] : null;
|
|
90
|
+
if (summary !== null && summary.includes(targetName)) {
|
|
91
|
+
const idx = summary.indexOf(targetName);
|
|
92
|
+
const start = Math.max(0, idx - 50);
|
|
93
|
+
const end = Math.min(summary.length, idx + targetName.length + 50);
|
|
94
|
+
mentionContext = summary.slice(start, end);
|
|
95
|
+
// Refine confidence: if we previously set 'low' due to no name/path match,
|
|
96
|
+
// and properties match confirms it, keep 'low'. Otherwise stay as-is.
|
|
97
|
+
}
|
|
98
|
+
} catch {
|
|
99
|
+
// Malformed JSON — skip
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
results.push({
|
|
104
|
+
sourceId: row.id,
|
|
105
|
+
sourceName: row.name,
|
|
106
|
+
sourceFilePath: row.file_path,
|
|
107
|
+
sourceLabel: row.label,
|
|
108
|
+
targetName,
|
|
109
|
+
mentionContext,
|
|
110
|
+
confidence,
|
|
111
|
+
});
|
|
112
|
+
|
|
113
|
+
if (results.length >= limit) break;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
return results;
|
|
117
|
+
}
|
package/src/types.ts
CHANGED
|
@@ -5,7 +5,8 @@ export type NodeLabel =
|
|
|
5
5
|
| 'Variable' | 'Struct' | 'Enum' | 'Macro' | 'Typedef' | 'Union'
|
|
6
6
|
| 'Namespace' | 'Trait' | 'Impl' | 'TypeAlias' | 'Const' | 'Static'
|
|
7
7
|
| 'Property' | 'Record' | 'Delegate' | 'Annotation' | 'Constructor'
|
|
8
|
-
| 'Template' | 'Module' | 'Process' | 'Route' | 'Community' | 'Concept'
|
|
8
|
+
| 'Template' | 'Module' | 'Process' | 'Route' | 'Community' | 'Concept'
|
|
9
|
+
| 'Section' | 'Document' | 'Tool' | 'Entity' | 'Field';
|
|
9
10
|
|
|
10
11
|
export const SYMBOL_NODE_LABELS = new Set<NodeLabel>([
|
|
11
12
|
'Function', 'Class', 'Method', 'Interface', 'Variable', 'Struct', 'Enum',
|
|
@@ -17,10 +18,15 @@ export const SYMBOL_NODE_LABELS = new Set<NodeLabel>([
|
|
|
17
18
|
// ── Edge relations ────────────────────────────────────────────────────────────
|
|
18
19
|
|
|
19
20
|
export type EdgeRelation =
|
|
20
|
-
| 'CONTAINS' | 'DEFINES' | 'CALLS' | 'IMPORTS' | 'EXTENDS' | 'IMPLEMENTS'
|
|
21
|
+
| 'CONTAINS' | 'DEFINES' | 'CALLS' | 'IMPORTS' | 'RE_EXPORTS' | 'EXTENDS' | 'IMPLEMENTS'
|
|
21
22
|
| 'HAS_METHOD' | 'HAS_PROPERTY' | 'ACCESSES' | 'METHOD_OVERRIDES'
|
|
22
23
|
| 'METHOD_IMPLEMENTS' | 'MEMBER_OF' | 'STEP_IN_PROCESS' | 'HANDLES_ROUTE'
|
|
23
|
-
| 'FETCHES' | 'HANDLES_TOOL' | 'ENTRY_POINT_OF' | 'WRAPS' | 'QUERIES'
|
|
24
|
+
| 'FETCHES' | 'HANDLES_TOOL' | 'ENTRY_POINT_OF' | 'WRAPS' | 'QUERIES'
|
|
25
|
+
| 'REFERENCES' | 'PARENT_SECTION' | 'TAGGED_AS' | 'HAS_FIELD'
|
|
26
|
+
// Doc KG — contextual proximity
|
|
27
|
+
| 'CO_OCCURS'
|
|
28
|
+
// Doc KG — LLM-inferred semantic relations
|
|
29
|
+
| 'DESCRIBES' | 'CAUSES' | 'CONTRASTS_WITH' | 'PART_OF' | 'RELATED_TO' | 'USES' | 'STRUCTURALLY_SIMILAR';
|
|
24
30
|
|
|
25
31
|
// ── Confidence ────────────────────────────────────────────────────────────────
|
|
26
32
|
|
|
@@ -45,9 +51,18 @@ export interface MonographNode {
|
|
|
45
51
|
communityId?: number;
|
|
46
52
|
isExported: boolean;
|
|
47
53
|
language?: string;
|
|
54
|
+
reachabilityRole?: 'runtime' | 'test' | 'support' | 'unreachable';
|
|
48
55
|
properties?: Record<string, unknown>;
|
|
49
56
|
}
|
|
50
57
|
|
|
58
|
+
// ── Evidence ──────────────────────────────────────────────────────────────────
|
|
59
|
+
|
|
60
|
+
export interface EvidenceEntry {
|
|
61
|
+
kind: string; // e.g., 'import', 'call', 'heuristic', 'inferred'
|
|
62
|
+
weight: number; // 0-1
|
|
63
|
+
note?: string; // human-readable explanation
|
|
64
|
+
}
|
|
65
|
+
|
|
51
66
|
// ── Edges ─────────────────────────────────────────────────────────────────────
|
|
52
67
|
|
|
53
68
|
export interface MonographEdge {
|
|
@@ -57,6 +72,9 @@ export interface MonographEdge {
|
|
|
57
72
|
relation: EdgeRelation;
|
|
58
73
|
confidence: EdgeConfidence;
|
|
59
74
|
confidenceScore: number;
|
|
75
|
+
weight?: number;
|
|
76
|
+
reason?: string;
|
|
77
|
+
evidence?: EvidenceEntry[];
|
|
60
78
|
}
|
|
61
79
|
|
|
62
80
|
// ── Communities ───────────────────────────────────────────────────────────────
|
|
@@ -76,6 +94,22 @@ export interface GodNode extends MonographNode {
|
|
|
76
94
|
outDegree: number;
|
|
77
95
|
}
|
|
78
96
|
|
|
97
|
+
// ── Complexity metrics ────────────────────────────────────────────────────────
|
|
98
|
+
|
|
99
|
+
export interface ComplexityMetrics {
|
|
100
|
+
cyclomaticComplexity: number;
|
|
101
|
+
cognitiveComplexity: number;
|
|
102
|
+
linesOfCode: number;
|
|
103
|
+
paramCount: number;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export interface CrapScore {
|
|
107
|
+
cc: number;
|
|
108
|
+
coverage: number; // 0-1
|
|
109
|
+
score: number; // CC² × (1-coverage)³ + CC
|
|
110
|
+
risk: 'low' | 'medium' | 'high' | 'critical';
|
|
111
|
+
}
|
|
112
|
+
|
|
79
113
|
// ── Surprising connections ────────────────────────────────────────────────────
|
|
80
114
|
|
|
81
115
|
export interface SurprisingConnection {
|
|
@@ -91,7 +125,39 @@ export type SuggestedQuestion =
|
|
|
91
125
|
| { type: 'bridge_node'; node: MonographNode; commA: number; commB: number }
|
|
92
126
|
| { type: 'verify_inferred'; edge: MonographEdge; inferredFrom: string }
|
|
93
127
|
| { type: 'isolated_nodes'; nodes: MonographNode[]; reason: string }
|
|
94
|
-
| { type: 'low_cohesion'; community: MonographCommunity }
|
|
128
|
+
| { type: 'low_cohesion'; community: MonographCommunity }
|
|
129
|
+
| { type: 'no_signal'; edge: MonographEdge; reason: string }
|
|
130
|
+
| { type: 'thin_community'; communityId: number; memberCount: number; reason: string };
|
|
131
|
+
|
|
132
|
+
// ── Finding actions (structured remediation steps) ────────────────────────────
|
|
133
|
+
|
|
134
|
+
export type FindingActionType =
|
|
135
|
+
| 'investigate' // read/understand the file
|
|
136
|
+
| 'refactor' // reduce complexity or coupling
|
|
137
|
+
| 'delete' // safe to remove
|
|
138
|
+
| 'add-test' // add test coverage
|
|
139
|
+
| 'add-import' // add missing import edge
|
|
140
|
+
| 'extract' // extract to separate module
|
|
141
|
+
| 'review' // human review required
|
|
142
|
+
| 'add-edge'; // add explicit graph relationship
|
|
143
|
+
|
|
144
|
+
export interface FindingAction {
|
|
145
|
+
type: FindingActionType;
|
|
146
|
+
file?: string; // target file path
|
|
147
|
+
symbol?: string; // specific symbol/export name
|
|
148
|
+
description: string; // human-readable instruction
|
|
149
|
+
confidence: 'high' | 'medium' | 'low';
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export interface AnnotatedFinding {
|
|
153
|
+
title: string;
|
|
154
|
+
severity: 'error' | 'warning' | 'info';
|
|
155
|
+
nodeId?: string;
|
|
156
|
+
nodeName?: string;
|
|
157
|
+
filePath?: string | null;
|
|
158
|
+
introduced?: boolean;
|
|
159
|
+
actions: FindingAction[];
|
|
160
|
+
}
|
|
95
161
|
|
|
96
162
|
// ── ID generation ─────────────────────────────────────────────────────────────
|
|
97
163
|
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { MonographNode, MonographEdge, EdgeConfidence, NodeLabel } from '../types.js';
|
|
2
|
+
|
|
3
|
+
export interface ValidationResult {
|
|
4
|
+
valid: boolean;
|
|
5
|
+
errors: string[];
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
const VALID_LABELS = new Set<NodeLabel>([
|
|
9
|
+
'File', 'Folder', 'Function', 'Class', 'Method', 'Interface',
|
|
10
|
+
'Variable', 'Struct', 'Enum', 'Macro', 'Typedef', 'Union',
|
|
11
|
+
'Namespace', 'Trait', 'Impl', 'TypeAlias', 'Const', 'Static',
|
|
12
|
+
'Property', 'Record', 'Delegate', 'Annotation', 'Constructor',
|
|
13
|
+
'Template', 'Module', 'Process', 'Route', 'Community', 'Concept',
|
|
14
|
+
'Document', 'Tool', 'Entity', 'Field',
|
|
15
|
+
]);
|
|
16
|
+
|
|
17
|
+
const VALID_CONFIDENCES = new Set<EdgeConfidence>(['EXTRACTED', 'INFERRED', 'AMBIGUOUS']);
|
|
18
|
+
|
|
19
|
+
export function validateExtraction(
|
|
20
|
+
nodes: MonographNode[],
|
|
21
|
+
edges: MonographEdge[],
|
|
22
|
+
): ValidationResult {
|
|
23
|
+
const errors: string[] = [];
|
|
24
|
+
const nodeIds = new Set(nodes.map(n => n.id));
|
|
25
|
+
|
|
26
|
+
for (const n of nodes) {
|
|
27
|
+
if (!n.id) errors.push(`Node missing id: ${JSON.stringify(n.name)}`);
|
|
28
|
+
if (!n.name) errors.push(`Node ${n.id} missing name`);
|
|
29
|
+
if (!VALID_LABELS.has(n.label as NodeLabel)) {
|
|
30
|
+
errors.push(`Node ${n.id} has invalid label: ${n.label}`);
|
|
31
|
+
}
|
|
32
|
+
if (typeof n.isExported !== 'boolean') {
|
|
33
|
+
errors.push(`Node ${n.id}: isExported must be boolean`);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
for (const e of edges) {
|
|
38
|
+
if (!e.id) errors.push(`Edge missing id`);
|
|
39
|
+
if (!nodeIds.has(e.sourceId)) {
|
|
40
|
+
errors.push(`Edge ${e.id}: sourceId '${e.sourceId}' references unknown node`);
|
|
41
|
+
}
|
|
42
|
+
if (!nodeIds.has(e.targetId)) {
|
|
43
|
+
errors.push(`Edge ${e.id}: targetId '${e.targetId}' references unknown node`);
|
|
44
|
+
}
|
|
45
|
+
if (!VALID_CONFIDENCES.has(e.confidence)) {
|
|
46
|
+
errors.push(`Edge ${e.id}: invalid confidence '${e.confidence}'`);
|
|
47
|
+
}
|
|
48
|
+
if (typeof e.confidenceScore !== 'number') {
|
|
49
|
+
errors.push(`Edge ${e.id}: confidenceScore must be number`);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
return { valid: errors.length === 0, errors };
|
|
54
|
+
}
|