@colbymchenry/codegraph-win32-arm64 1.6.0 → 1.6.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/bin/codegraph +5 -0
- package/lib/dist/.test-build-engine.json +1 -0
- package/lib/dist/.test-build-viewer.json +1 -0
- package/lib/dist/bin/codegraph.d.ts +1 -0
- package/lib/dist/bin/codegraph.d.ts.map +1 -1
- package/lib/dist/bin/codegraph.js +599 -291
- package/lib/dist/bin/codegraph.js.map +1 -1
- package/lib/dist/bin/viewer-gate.d.ts +17 -0
- package/lib/dist/bin/viewer-gate.d.ts.map +1 -0
- package/lib/dist/bin/viewer-gate.js +31 -0
- package/lib/dist/bin/viewer-gate.js.map +1 -0
- package/lib/dist/context/index.d.ts.map +1 -1
- package/lib/dist/context/index.js +43 -2
- package/lib/dist/context/index.js.map +1 -1
- package/lib/dist/db/index.d.ts +21 -2
- package/lib/dist/db/index.d.ts.map +1 -1
- package/lib/dist/db/index.js +86 -31
- package/lib/dist/db/index.js.map +1 -1
- package/lib/dist/db/migrations.d.ts +1 -1
- package/lib/dist/db/migrations.d.ts.map +1 -1
- package/lib/dist/db/migrations.js +40 -1
- package/lib/dist/db/migrations.js.map +1 -1
- package/lib/dist/db/queries.d.ts +423 -3
- package/lib/dist/db/queries.d.ts.map +1 -1
- package/lib/dist/db/queries.js +1026 -33
- package/lib/dist/db/queries.js.map +1 -1
- package/lib/dist/db/schema.sql +11 -1
- package/lib/dist/db/sqlite-adapter.d.ts +2 -0
- package/lib/dist/db/sqlite-adapter.d.ts.map +1 -1
- package/lib/dist/db/sqlite-adapter.js +56 -7
- package/lib/dist/db/sqlite-adapter.js.map +1 -1
- package/lib/dist/db/synthesis-stage.d.ts +12 -0
- package/lib/dist/db/synthesis-stage.d.ts.map +1 -0
- package/lib/dist/db/synthesis-stage.js +89 -0
- package/lib/dist/db/synthesis-stage.js.map +1 -0
- package/lib/dist/db/wal-valve.d.ts +32 -12
- package/lib/dist/db/wal-valve.d.ts.map +1 -1
- package/lib/dist/db/wal-valve.js +65 -22
- package/lib/dist/db/wal-valve.js.map +1 -1
- package/lib/dist/db/wsl-shared-index.d.ts +53 -0
- package/lib/dist/db/wsl-shared-index.d.ts.map +1 -0
- package/lib/dist/db/wsl-shared-index.js +121 -0
- package/lib/dist/db/wsl-shared-index.js.map +1 -0
- package/lib/dist/directory.d.ts +101 -2
- package/lib/dist/directory.d.ts.map +1 -1
- package/lib/dist/directory.js +254 -23
- package/lib/dist/directory.js.map +1 -1
- package/lib/dist/errors.d.ts +14 -0
- package/lib/dist/errors.d.ts.map +1 -1
- package/lib/dist/errors.js +16 -1
- package/lib/dist/errors.js.map +1 -1
- package/lib/dist/extraction/cfml-extractor.d.ts +1 -0
- package/lib/dist/extraction/cfml-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/cfml-extractor.js +15 -3
- package/lib/dist/extraction/cfml-extractor.js.map +1 -1
- package/lib/dist/extraction/dfm-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/dfm-extractor.js +14 -10
- package/lib/dist/extraction/dfm-extractor.js.map +1 -1
- package/lib/dist/extraction/extraction-version.d.ts +1 -1
- package/lib/dist/extraction/extraction-version.js +1 -1
- package/lib/dist/extraction/function-ref.d.ts +6 -4
- package/lib/dist/extraction/function-ref.d.ts.map +1 -1
- package/lib/dist/extraction/function-ref.js +35 -14
- package/lib/dist/extraction/function-ref.js.map +1 -1
- package/lib/dist/extraction/grammars.d.ts +38 -0
- package/lib/dist/extraction/grammars.d.ts.map +1 -1
- package/lib/dist/extraction/grammars.js +77 -1
- package/lib/dist/extraction/grammars.js.map +1 -1
- package/lib/dist/extraction/index.d.ts +113 -15
- package/lib/dist/extraction/index.d.ts.map +1 -1
- package/lib/dist/extraction/index.js +599 -132
- package/lib/dist/extraction/index.js.map +1 -1
- package/lib/dist/extraction/languages/c-cpp.d.ts +58 -0
- package/lib/dist/extraction/languages/c-cpp.d.ts.map +1 -1
- package/lib/dist/extraction/languages/c-cpp.js +291 -15
- package/lib/dist/extraction/languages/c-cpp.js.map +1 -1
- package/lib/dist/extraction/languages/dart.d.ts.map +1 -1
- package/lib/dist/extraction/languages/dart.js +8 -3
- package/lib/dist/extraction/languages/dart.js.map +1 -1
- package/lib/dist/extraction/languages/javascript.js +1 -1
- package/lib/dist/extraction/languages/javascript.js.map +1 -1
- package/lib/dist/extraction/languages/kotlin.d.ts.map +1 -1
- package/lib/dist/extraction/languages/kotlin.js +169 -36
- package/lib/dist/extraction/languages/kotlin.js.map +1 -1
- package/lib/dist/extraction/languages/lua.d.ts.map +1 -1
- package/lib/dist/extraction/languages/lua.js +4 -1
- package/lib/dist/extraction/languages/lua.js.map +1 -1
- package/lib/dist/extraction/languages/python.d.ts.map +1 -1
- package/lib/dist/extraction/languages/python.js +71 -0
- package/lib/dist/extraction/languages/python.js.map +1 -1
- package/lib/dist/extraction/languages/rust.d.ts.map +1 -1
- package/lib/dist/extraction/languages/rust.js +3 -0
- package/lib/dist/extraction/languages/rust.js.map +1 -1
- package/lib/dist/extraction/languages/scala.d.ts.map +1 -1
- package/lib/dist/extraction/languages/scala.js +18 -3
- package/lib/dist/extraction/languages/scala.js.map +1 -1
- package/lib/dist/extraction/languages/typescript.d.ts.map +1 -1
- package/lib/dist/extraction/languages/typescript.js +9 -2
- package/lib/dist/extraction/languages/typescript.js.map +1 -1
- package/lib/dist/extraction/liquid-extractor.d.ts +18 -0
- package/lib/dist/extraction/liquid-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/liquid-extractor.js +98 -22
- package/lib/dist/extraction/liquid-extractor.js.map +1 -1
- package/lib/dist/extraction/mybatis-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/mybatis-extractor.js +6 -4
- package/lib/dist/extraction/mybatis-extractor.js.map +1 -1
- package/lib/dist/extraction/syntax-tokens.d.ts +103 -0
- package/lib/dist/extraction/syntax-tokens.d.ts.map +1 -0
- package/lib/dist/extraction/syntax-tokens.js +381 -0
- package/lib/dist/extraction/syntax-tokens.js.map +1 -0
- package/lib/dist/extraction/tree-sitter-helpers.d.ts +5 -0
- package/lib/dist/extraction/tree-sitter-helpers.d.ts.map +1 -1
- package/lib/dist/extraction/tree-sitter-helpers.js +17 -0
- package/lib/dist/extraction/tree-sitter-helpers.js.map +1 -1
- package/lib/dist/extraction/tree-sitter-types.d.ts +29 -3
- package/lib/dist/extraction/tree-sitter-types.d.ts.map +1 -1
- package/lib/dist/extraction/tree-sitter.d.ts +96 -17
- package/lib/dist/extraction/tree-sitter.d.ts.map +1 -1
- package/lib/dist/extraction/tree-sitter.js +820 -82
- package/lib/dist/extraction/tree-sitter.js.map +1 -1
- package/lib/dist/extraction/wasm/tree-sitter-scala.wasm +0 -0
- package/lib/dist/file-limits.d.ts +40 -0
- package/lib/dist/file-limits.d.ts.map +1 -0
- package/lib/dist/file-limits.js +147 -0
- package/lib/dist/file-limits.js.map +1 -0
- package/lib/dist/graph/branch-guards.d.ts +248 -0
- package/lib/dist/graph/branch-guards.d.ts.map +1 -0
- package/lib/dist/graph/branch-guards.js +2231 -0
- package/lib/dist/graph/branch-guards.js.map +1 -0
- package/lib/dist/graph/dead-code.d.ts +251 -0
- package/lib/dist/graph/dead-code.d.ts.map +1 -0
- package/lib/dist/graph/dead-code.js +776 -0
- package/lib/dist/graph/dead-code.js.map +1 -0
- package/lib/dist/graph/dynamic-boundary-report.d.ts +121 -0
- package/lib/dist/graph/dynamic-boundary-report.d.ts.map +1 -0
- package/lib/dist/graph/dynamic-boundary-report.js +283 -0
- package/lib/dist/graph/dynamic-boundary-report.js.map +1 -0
- package/lib/dist/graph/index.d.ts +4 -0
- package/lib/dist/graph/index.d.ts.map +1 -1
- package/lib/dist/graph/index.js +16 -1
- package/lib/dist/graph/index.js.map +1 -1
- package/lib/dist/graph/named-symbol-flow.d.ts +125 -0
- package/lib/dist/graph/named-symbol-flow.d.ts.map +1 -0
- package/lib/dist/graph/named-symbol-flow.js +552 -0
- package/lib/dist/graph/named-symbol-flow.js.map +1 -0
- package/lib/dist/graph/symbol-lookup.d.ts +83 -0
- package/lib/dist/graph/symbol-lookup.d.ts.map +1 -0
- package/lib/dist/graph/symbol-lookup.js +181 -0
- package/lib/dist/graph/symbol-lookup.js.map +1 -0
- package/lib/dist/graph/traversal.d.ts +9 -0
- package/lib/dist/graph/traversal.d.ts.map +1 -1
- package/lib/dist/graph/traversal.js +61 -35
- package/lib/dist/graph/traversal.js.map +1 -1
- package/lib/dist/graph/type-hierarchy.d.ts +155 -0
- package/lib/dist/graph/type-hierarchy.d.ts.map +1 -0
- package/lib/dist/graph/type-hierarchy.js +382 -0
- package/lib/dist/graph/type-hierarchy.js.map +1 -0
- package/lib/dist/index.d.ts +251 -11
- package/lib/dist/index.d.ts.map +1 -1
- package/lib/dist/index.js +395 -34
- package/lib/dist/index.js.map +1 -1
- package/lib/dist/installer/index.d.ts.map +1 -1
- package/lib/dist/installer/index.js +3 -2
- package/lib/dist/installer/index.js.map +1 -1
- package/lib/dist/installer/targets/antigravity.d.ts.map +1 -1
- package/lib/dist/installer/targets/antigravity.js +14 -2
- package/lib/dist/installer/targets/antigravity.js.map +1 -1
- package/lib/dist/installer/targets/claude.d.ts +3 -0
- package/lib/dist/installer/targets/claude.d.ts.map +1 -1
- package/lib/dist/installer/targets/claude.js +35 -7
- package/lib/dist/installer/targets/claude.js.map +1 -1
- package/lib/dist/installer/targets/codex.d.ts +2 -1
- package/lib/dist/installer/targets/codex.d.ts.map +1 -1
- package/lib/dist/installer/targets/codex.js +14 -4
- package/lib/dist/installer/targets/codex.js.map +1 -1
- package/lib/dist/installer/targets/copilot-cli.d.ts.map +1 -1
- package/lib/dist/installer/targets/copilot-cli.js +7 -1
- package/lib/dist/installer/targets/copilot-cli.js.map +1 -1
- package/lib/dist/installer/targets/opencode.d.ts +16 -5
- package/lib/dist/installer/targets/opencode.d.ts.map +1 -1
- package/lib/dist/installer/targets/opencode.js +73 -22
- package/lib/dist/installer/targets/opencode.js.map +1 -1
- package/lib/dist/installer/targets/shared.d.ts +14 -3
- package/lib/dist/installer/targets/shared.d.ts.map +1 -1
- package/lib/dist/installer/targets/shared.js +39 -11
- package/lib/dist/installer/targets/shared.js.map +1 -1
- package/lib/dist/installer/targets/types.d.ts +7 -0
- package/lib/dist/installer/targets/types.d.ts.map +1 -1
- package/lib/dist/mcp/answer-freshness.d.ts +10 -0
- package/lib/dist/mcp/answer-freshness.d.ts.map +1 -0
- package/lib/dist/mcp/answer-freshness.js +68 -0
- package/lib/dist/mcp/answer-freshness.js.map +1 -0
- package/lib/dist/mcp/daemon-manager.d.ts.map +1 -1
- package/lib/dist/mcp/daemon-manager.js +16 -0
- package/lib/dist/mcp/daemon-manager.js.map +1 -1
- package/lib/dist/mcp/daemon-paths.d.ts +2 -0
- package/lib/dist/mcp/daemon-paths.d.ts.map +1 -1
- package/lib/dist/mcp/daemon-paths.js +12 -3
- package/lib/dist/mcp/daemon-paths.js.map +1 -1
- package/lib/dist/mcp/daemon-registry.d.ts +7 -4
- package/lib/dist/mcp/daemon-registry.d.ts.map +1 -1
- package/lib/dist/mcp/daemon-registry.js +91 -29
- package/lib/dist/mcp/daemon-registry.js.map +1 -1
- package/lib/dist/mcp/daemon.d.ts +17 -7
- package/lib/dist/mcp/daemon.d.ts.map +1 -1
- package/lib/dist/mcp/daemon.js +116 -24
- package/lib/dist/mcp/daemon.js.map +1 -1
- package/lib/dist/mcp/dynamic-boundaries.d.ts +1 -10
- package/lib/dist/mcp/dynamic-boundaries.d.ts.map +1 -1
- package/lib/dist/mcp/dynamic-boundaries.js +46 -42
- package/lib/dist/mcp/dynamic-boundaries.js.map +1 -1
- package/lib/dist/mcp/engine.d.ts +28 -9
- package/lib/dist/mcp/engine.d.ts.map +1 -1
- package/lib/dist/mcp/engine.js +146 -62
- package/lib/dist/mcp/engine.js.map +1 -1
- package/lib/dist/mcp/explore-dedup.d.ts +5 -2
- package/lib/dist/mcp/explore-dedup.d.ts.map +1 -1
- package/lib/dist/mcp/explore-dedup.js +8 -5
- package/lib/dist/mcp/explore-dedup.js.map +1 -1
- package/lib/dist/mcp/index-freshness-worker.d.ts +2 -0
- package/lib/dist/mcp/index-freshness-worker.d.ts.map +1 -0
- package/lib/dist/mcp/index-freshness-worker.js +30 -0
- package/lib/dist/mcp/index-freshness-worker.js.map +1 -0
- package/lib/dist/mcp/index-freshness.d.ts +7 -0
- package/lib/dist/mcp/index-freshness.d.ts.map +1 -0
- package/lib/dist/mcp/index-freshness.js +94 -0
- package/lib/dist/mcp/index-freshness.js.map +1 -0
- package/lib/dist/mcp/index.d.ts +3 -1
- package/lib/dist/mcp/index.d.ts.map +1 -1
- package/lib/dist/mcp/index.js +95 -11
- package/lib/dist/mcp/index.js.map +1 -1
- package/lib/dist/mcp/liveness-watchdog.d.ts +4 -1
- package/lib/dist/mcp/liveness-watchdog.d.ts.map +1 -1
- package/lib/dist/mcp/liveness-watchdog.js +11 -2
- package/lib/dist/mcp/liveness-watchdog.js.map +1 -1
- package/lib/dist/mcp/project-lifecycle.d.ts +9 -0
- package/lib/dist/mcp/project-lifecycle.d.ts.map +1 -0
- package/lib/dist/mcp/project-lifecycle.js +181 -0
- package/lib/dist/mcp/project-lifecycle.js.map +1 -0
- package/lib/dist/mcp/proxy.d.ts.map +1 -1
- package/lib/dist/mcp/proxy.js +9 -0
- package/lib/dist/mcp/proxy.js.map +1 -1
- package/lib/dist/mcp/query-pool.d.ts +2 -2
- package/lib/dist/mcp/query-pool.d.ts.map +1 -1
- package/lib/dist/mcp/query-pool.js +9 -7
- package/lib/dist/mcp/query-pool.js.map +1 -1
- package/lib/dist/mcp/query-worker.js +2 -2
- package/lib/dist/mcp/query-worker.js.map +1 -1
- package/lib/dist/mcp/server-instructions.d.ts +1 -1
- package/lib/dist/mcp/server-instructions.d.ts.map +1 -1
- package/lib/dist/mcp/server-instructions.js +6 -3
- package/lib/dist/mcp/server-instructions.js.map +1 -1
- package/lib/dist/mcp/startup-handshake.d.ts +3 -1
- package/lib/dist/mcp/startup-handshake.d.ts.map +1 -1
- package/lib/dist/mcp/startup-handshake.js +10 -2
- package/lib/dist/mcp/startup-handshake.js.map +1 -1
- package/lib/dist/mcp/tools.d.ts +276 -36
- package/lib/dist/mcp/tools.d.ts.map +1 -1
- package/lib/dist/mcp/tools.js +2295 -980
- package/lib/dist/mcp/tools.js.map +1 -1
- package/lib/dist/mcp/writer-lock.d.ts +61 -0
- package/lib/dist/mcp/writer-lock.d.ts.map +1 -0
- package/lib/dist/mcp/writer-lock.js +260 -0
- package/lib/dist/mcp/writer-lock.js.map +1 -0
- package/lib/dist/resolution/alias-binding.d.ts +56 -0
- package/lib/dist/resolution/alias-binding.d.ts.map +1 -0
- package/lib/dist/resolution/alias-binding.js +127 -0
- package/lib/dist/resolution/alias-binding.js.map +1 -0
- package/lib/dist/resolution/callback-synthesizer.d.ts +23 -1
- package/lib/dist/resolution/callback-synthesizer.d.ts.map +1 -1
- package/lib/dist/resolution/callback-synthesizer.js +291 -143
- package/lib/dist/resolution/callback-synthesizer.js.map +1 -1
- package/lib/dist/resolution/cpp-constructor.d.ts +4 -0
- package/lib/dist/resolution/cpp-constructor.d.ts.map +1 -0
- package/lib/dist/resolution/cpp-constructor.js +123 -0
- package/lib/dist/resolution/cpp-constructor.js.map +1 -0
- package/lib/dist/resolution/cpp-macro-visibility.d.ts +12 -0
- package/lib/dist/resolution/cpp-macro-visibility.d.ts.map +1 -0
- package/lib/dist/resolution/cpp-macro-visibility.js +342 -0
- package/lib/dist/resolution/cpp-macro-visibility.js.map +1 -0
- package/lib/dist/resolution/expo-router-synthesizer.d.ts +32 -0
- package/lib/dist/resolution/expo-router-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/expo-router-synthesizer.js +189 -0
- package/lib/dist/resolution/expo-router-synthesizer.js.map +1 -0
- package/lib/dist/resolution/frameworks/csharp.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/csharp.js +96 -2
- package/lib/dist/resolution/frameworks/csharp.js.map +1 -1
- package/lib/dist/resolution/frameworks/expo-router.d.ts +189 -0
- package/lib/dist/resolution/frameworks/expo-router.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/expo-router.js +785 -0
- package/lib/dist/resolution/frameworks/expo-router.js.map +1 -0
- package/lib/dist/resolution/frameworks/express.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/express.js +251 -16
- package/lib/dist/resolution/frameworks/express.js.map +1 -1
- package/lib/dist/resolution/frameworks/index.d.ts +5 -0
- package/lib/dist/resolution/frameworks/index.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/index.js +29 -1
- package/lib/dist/resolution/frameworks/index.js.map +1 -1
- package/lib/dist/resolution/frameworks/java.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/java.js +79 -47
- package/lib/dist/resolution/frameworks/java.js.map +1 -1
- package/lib/dist/resolution/frameworks/nestjs.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/nestjs.js +6 -14
- package/lib/dist/resolution/frameworks/nestjs.js.map +1 -1
- package/lib/dist/resolution/frameworks/nextjs.d.ts +76 -0
- package/lib/dist/resolution/frameworks/nextjs.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/nextjs.js +328 -0
- package/lib/dist/resolution/frameworks/nextjs.js.map +1 -0
- package/lib/dist/resolution/frameworks/object-literal.d.ts +32 -0
- package/lib/dist/resolution/frameworks/object-literal.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/object-literal.js +139 -0
- package/lib/dist/resolution/frameworks/object-literal.js.map +1 -0
- package/lib/dist/resolution/frameworks/package-deps.d.ts +14 -0
- package/lib/dist/resolution/frameworks/package-deps.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/package-deps.js +78 -0
- package/lib/dist/resolution/frameworks/package-deps.js.map +1 -0
- package/lib/dist/resolution/frameworks/python.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/python.js +166 -0
- package/lib/dist/resolution/frameworks/python.js.map +1 -1
- package/lib/dist/resolution/frameworks/react-native.d.ts +26 -0
- package/lib/dist/resolution/frameworks/react-native.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/react-native.js +153 -14
- package/lib/dist/resolution/frameworks/react-native.js.map +1 -1
- package/lib/dist/resolution/frameworks/react-router.d.ts +46 -0
- package/lib/dist/resolution/frameworks/react-router.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/react-router.js +187 -0
- package/lib/dist/resolution/frameworks/react-router.js.map +1 -0
- package/lib/dist/resolution/frameworks/react.d.ts +2 -1
- package/lib/dist/resolution/frameworks/react.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/react.js +188 -139
- package/lib/dist/resolution/frameworks/react.js.map +1 -1
- package/lib/dist/resolution/frameworks/svelte.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/svelte.js +6 -1
- package/lib/dist/resolution/frameworks/svelte.js.map +1 -1
- package/lib/dist/resolution/frameworks/sveltekit-router.d.ts +36 -0
- package/lib/dist/resolution/frameworks/sveltekit-router.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/sveltekit-router.js +156 -0
- package/lib/dist/resolution/frameworks/sveltekit-router.js.map +1 -0
- package/lib/dist/resolution/frameworks/tanstack-router.d.ts +84 -0
- package/lib/dist/resolution/frameworks/tanstack-router.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/tanstack-router.js +437 -0
- package/lib/dist/resolution/frameworks/tanstack-router.js.map +1 -0
- package/lib/dist/resolution/frameworks/vue-router.d.ts +82 -0
- package/lib/dist/resolution/frameworks/vue-router.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/vue-router.js +377 -0
- package/lib/dist/resolution/frameworks/vue-router.js.map +1 -0
- package/lib/dist/resolution/import-resolver.d.ts +38 -0
- package/lib/dist/resolution/import-resolver.d.ts.map +1 -1
- package/lib/dist/resolution/import-resolver.js +376 -26
- package/lib/dist/resolution/import-resolver.js.map +1 -1
- package/lib/dist/resolution/index.d.ts +89 -25
- package/lib/dist/resolution/index.d.ts.map +1 -1
- package/lib/dist/resolution/index.js +552 -145
- package/lib/dist/resolution/index.js.map +1 -1
- package/lib/dist/resolution/js-builtins.d.ts +13 -0
- package/lib/dist/resolution/js-builtins.d.ts.map +1 -0
- package/lib/dist/resolution/js-builtins.js +46 -0
- package/lib/dist/resolution/js-builtins.js.map +1 -0
- package/lib/dist/resolution/name-matcher.d.ts +69 -22
- package/lib/dist/resolution/name-matcher.d.ts.map +1 -1
- package/lib/dist/resolution/name-matcher.js +1902 -87
- package/lib/dist/resolution/name-matcher.js.map +1 -1
- package/lib/dist/resolution/next-router-synthesizer.d.ts +27 -0
- package/lib/dist/resolution/next-router-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/next-router-synthesizer.js +113 -0
- package/lib/dist/resolution/next-router-synthesizer.js.map +1 -0
- package/lib/dist/resolution/react-router-synthesizer.d.ts +33 -0
- package/lib/dist/resolution/react-router-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/react-router-synthesizer.js +126 -0
- package/lib/dist/resolution/react-router-synthesizer.js.map +1 -0
- package/lib/dist/resolution/resolver-pool.d.ts +2 -0
- package/lib/dist/resolution/resolver-pool.d.ts.map +1 -1
- package/lib/dist/resolution/resolver-pool.js +4 -0
- package/lib/dist/resolution/resolver-pool.js.map +1 -1
- package/lib/dist/resolution/strip-comments.d.ts +6 -0
- package/lib/dist/resolution/strip-comments.d.ts.map +1 -1
- package/lib/dist/resolution/strip-comments.js +58 -0
- package/lib/dist/resolution/strip-comments.js.map +1 -1
- package/lib/dist/resolution/sveltekit-synthesizer.d.ts +58 -0
- package/lib/dist/resolution/sveltekit-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/sveltekit-synthesizer.js +173 -0
- package/lib/dist/resolution/sveltekit-synthesizer.js.map +1 -0
- package/lib/dist/resolution/synth-utils.d.ts +26 -0
- package/lib/dist/resolution/synth-utils.d.ts.map +1 -0
- package/lib/dist/resolution/synth-utils.js +75 -0
- package/lib/dist/resolution/synth-utils.js.map +1 -0
- package/lib/dist/resolution/tanstack-router-synthesizer.d.ts +31 -0
- package/lib/dist/resolution/tanstack-router-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/tanstack-router-synthesizer.js +114 -0
- package/lib/dist/resolution/tanstack-router-synthesizer.js.map +1 -0
- package/lib/dist/resolution/tier-synthesizer.d.ts +49 -0
- package/lib/dist/resolution/tier-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/tier-synthesizer.js +931 -0
- package/lib/dist/resolution/tier-synthesizer.js.map +1 -0
- package/lib/dist/resolution/types.d.ts +78 -2
- package/lib/dist/resolution/types.d.ts.map +1 -1
- package/lib/dist/resolution/types.js +64 -0
- package/lib/dist/resolution/types.js.map +1 -1
- package/lib/dist/resolution/vue-router-synthesizer.d.ts +30 -0
- package/lib/dist/resolution/vue-router-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/vue-router-synthesizer.js +115 -0
- package/lib/dist/resolution/vue-router-synthesizer.js.map +1 -0
- package/lib/dist/search/query-paths.d.ts +50 -1
- package/lib/dist/search/query-paths.d.ts.map +1 -1
- package/lib/dist/search/query-paths.js +227 -12
- package/lib/dist/search/query-paths.js.map +1 -1
- package/lib/dist/search/query-utils.d.ts +15 -0
- package/lib/dist/search/query-utils.d.ts.map +1 -1
- package/lib/dist/search/query-utils.js +35 -7
- package/lib/dist/search/query-utils.js.map +1 -1
- package/lib/dist/sync/watch-policy.d.ts +14 -0
- package/lib/dist/sync/watch-policy.d.ts.map +1 -1
- package/lib/dist/sync/watch-policy.js +19 -0
- package/lib/dist/sync/watch-policy.js.map +1 -1
- package/lib/dist/sync/watcher.d.ts +52 -35
- package/lib/dist/sync/watcher.d.ts.map +1 -1
- package/lib/dist/sync/watcher.js +236 -100
- package/lib/dist/sync/watcher.js.map +1 -1
- package/lib/dist/telemetry/index.d.ts +4 -2
- package/lib/dist/telemetry/index.d.ts.map +1 -1
- package/lib/dist/telemetry/index.js +92 -41
- package/lib/dist/telemetry/index.js.map +1 -1
- package/lib/dist/types.d.ts +1 -1
- package/lib/dist/types.d.ts.map +1 -1
- package/lib/dist/types.js +1 -0
- package/lib/dist/types.js.map +1 -1
- package/lib/dist/ui-server/api/deadcode.d.ts +84 -0
- package/lib/dist/ui-server/api/deadcode.d.ts.map +1 -0
- package/lib/dist/ui-server/api/deadcode.js +136 -0
- package/lib/dist/ui-server/api/deadcode.js.map +1 -0
- package/lib/dist/ui-server/api/effects.d.ts +87 -0
- package/lib/dist/ui-server/api/effects.d.ts.map +1 -0
- package/lib/dist/ui-server/api/effects.js +499 -0
- package/lib/dist/ui-server/api/effects.js.map +1 -0
- package/lib/dist/ui-server/api/entrypoints.d.ts +86 -0
- package/lib/dist/ui-server/api/entrypoints.d.ts.map +1 -0
- package/lib/dist/ui-server/api/entrypoints.js +279 -0
- package/lib/dist/ui-server/api/entrypoints.js.map +1 -0
- package/lib/dist/ui-server/api/events.d.ts +183 -0
- package/lib/dist/ui-server/api/events.d.ts.map +1 -0
- package/lib/dist/ui-server/api/events.js +430 -0
- package/lib/dist/ui-server/api/events.js.map +1 -0
- package/lib/dist/ui-server/api/file.d.ts +66 -0
- package/lib/dist/ui-server/api/file.d.ts.map +1 -0
- package/lib/dist/ui-server/api/file.js +235 -0
- package/lib/dist/ui-server/api/file.js.map +1 -0
- package/lib/dist/ui-server/api/filecode.d.ts +126 -0
- package/lib/dist/ui-server/api/filecode.d.ts.map +1 -0
- package/lib/dist/ui-server/api/filecode.js +205 -0
- package/lib/dist/ui-server/api/filecode.js.map +1 -0
- package/lib/dist/ui-server/api/flow.d.ts +226 -0
- package/lib/dist/ui-server/api/flow.d.ts.map +1 -0
- package/lib/dist/ui-server/api/flow.js +612 -0
- package/lib/dist/ui-server/api/flow.js.map +1 -0
- package/lib/dist/ui-server/api/hierarchy.d.ts +81 -0
- package/lib/dist/ui-server/api/hierarchy.d.ts.map +1 -0
- package/lib/dist/ui-server/api/hierarchy.js +92 -0
- package/lib/dist/ui-server/api/hierarchy.js.map +1 -0
- package/lib/dist/ui-server/api/index.d.ts +90 -0
- package/lib/dist/ui-server/api/index.d.ts.map +1 -0
- package/lib/dist/ui-server/api/index.js +332 -0
- package/lib/dist/ui-server/api/index.js.map +1 -0
- package/lib/dist/ui-server/api/map.d.ts +238 -0
- package/lib/dist/ui-server/api/map.d.ts.map +1 -0
- package/lib/dist/ui-server/api/map.js +681 -0
- package/lib/dist/ui-server/api/map.js.map +1 -0
- package/lib/dist/ui-server/api/node.d.ts +81 -0
- package/lib/dist/ui-server/api/node.d.ts.map +1 -0
- package/lib/dist/ui-server/api/node.js +388 -0
- package/lib/dist/ui-server/api/node.js.map +1 -0
- package/lib/dist/ui-server/api/nodes.d.ts +25 -0
- package/lib/dist/ui-server/api/nodes.d.ts.map +1 -0
- package/lib/dist/ui-server/api/nodes.js +45 -0
- package/lib/dist/ui-server/api/nodes.js.map +1 -0
- package/lib/dist/ui-server/api/program.d.ts +139 -0
- package/lib/dist/ui-server/api/program.d.ts.map +1 -0
- package/lib/dist/ui-server/api/program.js +315 -0
- package/lib/dist/ui-server/api/program.js.map +1 -0
- package/lib/dist/ui-server/api/respond.d.ts +76 -0
- package/lib/dist/ui-server/api/respond.d.ts.map +1 -0
- package/lib/dist/ui-server/api/respond.js +186 -0
- package/lib/dist/ui-server/api/respond.js.map +1 -0
- package/lib/dist/ui-server/api/route-roots.d.ts +39 -0
- package/lib/dist/ui-server/api/route-roots.d.ts.map +1 -0
- package/lib/dist/ui-server/api/route-roots.js +96 -0
- package/lib/dist/ui-server/api/route-roots.js.map +1 -0
- package/lib/dist/ui-server/api/routes.d.ts +59 -0
- package/lib/dist/ui-server/api/routes.d.ts.map +1 -0
- package/lib/dist/ui-server/api/routes.js +108 -0
- package/lib/dist/ui-server/api/routes.js.map +1 -0
- package/lib/dist/ui-server/api/screens.d.ts +117 -0
- package/lib/dist/ui-server/api/screens.d.ts.map +1 -0
- package/lib/dist/ui-server/api/screens.js +611 -0
- package/lib/dist/ui-server/api/screens.js.map +1 -0
- package/lib/dist/ui-server/api/search.d.ts +29 -0
- package/lib/dist/ui-server/api/search.d.ts.map +1 -0
- package/lib/dist/ui-server/api/search.js +232 -0
- package/lib/dist/ui-server/api/search.js.map +1 -0
- package/lib/dist/ui-server/api/session.d.ts +52 -0
- package/lib/dist/ui-server/api/session.d.ts.map +1 -0
- package/lib/dist/ui-server/api/session.js +196 -0
- package/lib/dist/ui-server/api/session.js.map +1 -0
- package/lib/dist/ui-server/api/source.d.ts +200 -0
- package/lib/dist/ui-server/api/source.d.ts.map +1 -0
- package/lib/dist/ui-server/api/source.js +422 -0
- package/lib/dist/ui-server/api/source.js.map +1 -0
- package/lib/dist/ui-server/api/stats.d.ts +27 -0
- package/lib/dist/ui-server/api/stats.d.ts.map +1 -0
- package/lib/dist/ui-server/api/stats.js +164 -0
- package/lib/dist/ui-server/api/stats.js.map +1 -0
- package/lib/dist/ui-server/api/steps.d.ts +274 -0
- package/lib/dist/ui-server/api/steps.d.ts.map +1 -0
- package/lib/dist/ui-server/api/steps.js +1446 -0
- package/lib/dist/ui-server/api/steps.js.map +1 -0
- package/lib/dist/ui-server/api/trail-store.d.ts +142 -0
- package/lib/dist/ui-server/api/trail-store.d.ts.map +1 -0
- package/lib/dist/ui-server/api/trail-store.js +323 -0
- package/lib/dist/ui-server/api/trail-store.js.map +1 -0
- package/lib/dist/ui-server/api/trails.d.ts +163 -0
- package/lib/dist/ui-server/api/trails.d.ts.map +1 -0
- package/lib/dist/ui-server/api/trails.js +369 -0
- package/lib/dist/ui-server/api/trails.js.map +1 -0
- package/lib/dist/ui-server/api/when.d.ts +125 -0
- package/lib/dist/ui-server/api/when.d.ts.map +1 -0
- package/lib/dist/ui-server/api/when.js +251 -0
- package/lib/dist/ui-server/api/when.js.map +1 -0
- package/lib/dist/ui-server/api/wire.d.ts +179 -0
- package/lib/dist/ui-server/api/wire.d.ts.map +1 -0
- package/lib/dist/ui-server/api/wire.js +231 -0
- package/lib/dist/ui-server/api/wire.js.map +1 -0
- package/lib/dist/ui-server/assets.d.ts +40 -0
- package/lib/dist/ui-server/assets.d.ts.map +1 -0
- package/lib/dist/ui-server/assets.js +110 -0
- package/lib/dist/ui-server/assets.js.map +1 -0
- package/lib/dist/ui-server/constants.d.ts +32 -0
- package/lib/dist/ui-server/constants.d.ts.map +1 -0
- package/lib/dist/ui-server/constants.js +35 -0
- package/lib/dist/ui-server/constants.js.map +1 -0
- package/lib/dist/ui-server/highlight/index.d.ts +113 -0
- package/lib/dist/ui-server/highlight/index.d.ts.map +1 -0
- package/lib/dist/ui-server/highlight/index.js +307 -0
- package/lib/dist/ui-server/highlight/index.js.map +1 -0
- package/lib/dist/ui-server/highlight/languages.d.ts +36 -0
- package/lib/dist/ui-server/highlight/languages.d.ts.map +1 -0
- package/lib/dist/ui-server/highlight/languages.js +50 -0
- package/lib/dist/ui-server/highlight/languages.js.map +1 -0
- package/lib/dist/ui-server/index.d.ts +92 -0
- package/lib/dist/ui-server/index.d.ts.map +1 -0
- package/lib/dist/ui-server/index.js +399 -0
- package/lib/dist/ui-server/index.js.map +1 -0
- package/lib/dist/ui-server/open-browser.d.ts +31 -0
- package/lib/dist/ui-server/open-browser.d.ts.map +1 -0
- package/lib/dist/ui-server/open-browser.js +79 -0
- package/lib/dist/ui-server/open-browser.js.map +1 -0
- package/lib/dist/ui-server/security.d.ts +127 -0
- package/lib/dist/ui-server/security.d.ts.map +1 -0
- package/lib/dist/ui-server/security.js +332 -0
- package/lib/dist/ui-server/security.js.map +1 -0
- package/lib/dist/ui-server/static.d.ts +45 -0
- package/lib/dist/ui-server/static.d.ts.map +1 -0
- package/lib/dist/ui-server/static.js +165 -0
- package/lib/dist/ui-server/static.js.map +1 -0
- package/lib/dist/utils.d.ts +14 -2
- package/lib/dist/utils.d.ts.map +1 -1
- package/lib/dist/utils.js +25 -10
- package/lib/dist/utils.js.map +1 -1
- package/lib/dist/viewer/assets/archivo-latin-ext-wght-normal-C4zznr8T.woff2 +0 -0
- package/lib/dist/viewer/assets/archivo-latin-wght-normal-E0tuGl4L.woff2 +0 -0
- package/lib/dist/viewer/assets/archivo-vietnamese-wght-normal-XAtsl5Q_.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-400-italic-2syK4fUT.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-400-italic-CBJ8pzag.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-400-normal-BSMlKf0J.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-400-normal-CEL4l2ZJ.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-500-normal-Ael50iVv.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-500-normal-Bq9vWWag.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-600-normal-CTOM6hUh.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-600-normal-fLZuRloM.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-ext-400-italic-B4oTjJdl.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-ext-400-italic-CBjNughH.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-ext-400-normal-DMdlQ8Kv.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-ext-400-normal-xuaO2J-f.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-ext-500-normal-BIfNGwUT.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-ext-500-normal-BqneJy0T.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-ext-600-normal-9HEixskS.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-cyrillic-ext-600-normal-V-xxqcpd.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-400-italic-66oory27.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-400-italic-BqAiT5Ww.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-500-normal-CB9ihrfo.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-500-normal-DSY6xOcd.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-600-normal-BgSNZQsw.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-600-normal-DWFSQ4vo.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-ext-400-italic-B7_fu1kp.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-ext-400-italic-Bg0ZHwF4.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-ext-400-normal-BmRBH3aV.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-ext-400-normal-D3D2R8hC.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-ext-500-normal-CAhNIIs5.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-ext-500-normal-CZ70TYgx.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-ext-600-normal-D38SheWl.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-latin-ext-600-normal-DmB0ttJJ.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-vietnamese-400-italic-D6eaYXMU.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-vietnamese-400-italic-DRuN92E5.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-vietnamese-400-normal-BulugwFq.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-vietnamese-400-normal-DDuiU_S-.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-vietnamese-500-normal-C8zxqsMH.woff +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-vietnamese-500-normal-DZ4AoWbu.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-vietnamese-600-normal-D2EvbN8M.woff2 +0 -0
- package/lib/dist/viewer/assets/ibm-plex-mono-vietnamese-600-normal-iLQfcSjf.woff +0 -0
- package/lib/dist/viewer/assets/index-CF9yvio6.css +1 -0
- package/lib/dist/viewer/assets/index-D4S7YUPf.js +97 -0
- package/lib/dist/viewer/index.html +16 -0
- package/lib/kernel/codegraph-kernel.node +2 -2
- package/lib/node_modules/.package-lock.json +4 -4
- package/lib/node_modules/picomatch/README.md +56 -51
- package/lib/node_modules/picomatch/lib/constants.js +4 -0
- package/lib/node_modules/picomatch/lib/parse.js +341 -1
- package/lib/node_modules/picomatch/lib/picomatch.js +25 -5
- package/lib/node_modules/picomatch/lib/scan.js +30 -18
- package/lib/node_modules/picomatch/package.json +4 -4
- package/lib/package.json +9 -2
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ exports.getMigrationHistory = getMigrationHistory;
|
|
|
14
14
|
/**
|
|
15
15
|
* Current schema version
|
|
16
16
|
*/
|
|
17
|
-
exports.CURRENT_SCHEMA_VERSION =
|
|
17
|
+
exports.CURRENT_SCHEMA_VERSION = 11;
|
|
18
18
|
/**
|
|
19
19
|
* All migrations in order
|
|
20
20
|
*
|
|
@@ -164,6 +164,45 @@ const migrations = [
|
|
|
164
164
|
db.exec('CREATE INDEX IF NOT EXISTS idx_files_generated ON files(path) WHERE generated = 1');
|
|
165
165
|
},
|
|
166
166
|
},
|
|
167
|
+
{
|
|
168
|
+
version: 10,
|
|
169
|
+
description: 'Track synthesis inputs and stabilize synthesis traversal for incremental refresh (#1988)',
|
|
170
|
+
up: (db) => {
|
|
171
|
+
db.exec(`
|
|
172
|
+
DROP INDEX IF EXISTS idx_nodes_kind;
|
|
173
|
+
CREATE INDEX idx_nodes_kind ON nodes(kind, file_path, start_line, id);
|
|
174
|
+
CREATE TABLE IF NOT EXISTS synthesis_inputs (
|
|
175
|
+
file_path TEXT PRIMARY KEY REFERENCES files(path) ON DELETE CASCADE
|
|
176
|
+
);
|
|
177
|
+
CREATE INDEX IF NOT EXISTS idx_edges_synthesis_site ON edges(CASE WHEN json_valid(metadata) THEN json_extract(metadata, '$.registeredAt') END)
|
|
178
|
+
WHERE CASE WHEN json_valid(metadata) THEN json_extract(metadata, '$.synthesizedBy') END IS NOT NULL;
|
|
179
|
+
UPDATE edges SET metadata = json_set(CASE WHEN json_valid(metadata) THEN metadata ELSE '{}' END, '$.synthesizedBy', 'go-method-contains')
|
|
180
|
+
WHERE kind = 'contains' AND provenance IS NULL AND EXISTS (
|
|
181
|
+
SELECT 1 FROM nodes s JOIN nodes t ON t.id = edges.target
|
|
182
|
+
WHERE s.id = edges.source AND s.language = 'go' AND t.language = 'go'
|
|
183
|
+
AND s.kind IN ('struct', 'class', 'interface', 'enum', 'type_alias') AND t.kind = 'method'
|
|
184
|
+
AND s.file_path != t.file_path
|
|
185
|
+
);
|
|
186
|
+
INSERT OR REPLACE INTO project_metadata(key, value, updated_at)
|
|
187
|
+
VALUES ('synthesis_pending', '1', 0);
|
|
188
|
+
`);
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
version: 11,
|
|
193
|
+
description: 'Guard synthesis metadata lookups against malformed JSON',
|
|
194
|
+
up: (db) => {
|
|
195
|
+
// Existing v10 indexes keep their old expression under IF NOT EXISTS.
|
|
196
|
+
// Rebuild transactionally; the guarded v10 definition also lets older
|
|
197
|
+
// databases containing malformed metadata reach this migration safely.
|
|
198
|
+
db.exec(`
|
|
199
|
+
DROP INDEX IF EXISTS idx_edges_synthesis_site;
|
|
200
|
+
CREATE INDEX idx_edges_synthesis_site
|
|
201
|
+
ON edges(CASE WHEN json_valid(metadata) THEN json_extract(metadata, '$.registeredAt') END)
|
|
202
|
+
WHERE CASE WHEN json_valid(metadata) THEN json_extract(metadata, '$.synthesizedBy') END IS NOT NULL;
|
|
203
|
+
`);
|
|
204
|
+
},
|
|
205
|
+
},
|
|
167
206
|
];
|
|
168
207
|
/**
|
|
169
208
|
* Get the current schema version from the database
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrations.js","sourceRoot":"","sources":["../../src/db/migrations.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;
|
|
1
|
+
{"version":3,"file":"migrations.js","sourceRoot":"","sources":["../../src/db/migrations.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AA2NH,8CAUC;AAcD,sCAiBC;AAKD,wCAGC;AAKD,oDAKC;AAKD,kDAYC;AAnSD;;GAEG;AACU,QAAA,sBAAsB,GAAG,EAAE,CAAC;AAWzC;;;;;GAKG;AACH,MAAM,UAAU,GAAgB;IAC9B;QACE,OAAO,EAAE,CAAC;QACV,WAAW,EAAE,uEAAuE;QACpF,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE;YACT,EAAE,CAAC,IAAI,CAAC;;;;;;;;;;;OAWP,CAAC,CAAC;QACL,CAAC;KACF;IACD;QACE,OAAO,EAAE,CAAC;QACV,WAAW,EAAE,gFAAgF;QAC7F,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE;YACT,EAAE,CAAC,IAAI,CAAC;;OAEP,CAAC,CAAC;QACL,CAAC;KACF;IACD;QACE,OAAO,EAAE,CAAC;QACV,WAAW,EACT,sGAAsG;QACxG,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE;YACT,EAAE,CAAC,IAAI,CAAC;;;OAGP,CAAC,CAAC;QACL,CAAC;KACF;IACD;QACE,OAAO,EAAE,CAAC;QACV,WAAW,EACT,oHAAoH;QACtH,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE;YACT,EAAE,CAAC,IAAI,CAAC;;OAEP,CAAC,CAAC;QACL,CAAC;KACF;IACD;QACE,OAAO,EAAE,CAAC;QACV,WAAW,EACT,uGAAuG;QACzG,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE;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IACtC,OAAO,UAAU;SACd,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,GAAG,OAAO,CAAC;SAClC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC;AAC3C,CAAC;AAED;;GAEG;AACH,SAAgB,mBAAmB,CACjC,EAAkB;IAElB,MAAM,IAAI,GAAG,EAAE;SACZ,OAAO,CAAC,+EAA+E,CAAC;SACxF,GAAG,EAAgF,CAAC;IAEvF,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;QACxB,OAAO,EAAE,GAAG,CAAC,OAAO;QACpB,SAAS,EAAE,GAAG,CAAC,UAAU;QACzB,WAAW,EAAE,GAAG,CAAC,WAAW;KAC7B,CAAC,CAAC,CAAC;AACN,CAAC"}
|
package/lib/dist/db/queries.d.ts
CHANGED
|
@@ -28,12 +28,15 @@ export declare class QueryBuilder {
|
|
|
28
28
|
private db;
|
|
29
29
|
private projectNameTokens;
|
|
30
30
|
private isDeprioritizedPath;
|
|
31
|
+
private _fts5Available;
|
|
31
32
|
private nodeCache;
|
|
32
33
|
private readonly maxCacheSize;
|
|
34
|
+
private dominantFileMemo;
|
|
33
35
|
private stmts;
|
|
34
36
|
private segmentedNames;
|
|
35
37
|
private static readonly MAX_SEGMENTED_NAMES;
|
|
36
38
|
private batchStmts;
|
|
39
|
+
private edgeKindStmts;
|
|
37
40
|
private static readonly BATCH_SIZES;
|
|
38
41
|
/**
|
|
39
42
|
* Run `rows` through a multi-row `INSERT` built as `head + (tuple,)*n`,
|
|
@@ -54,6 +57,7 @@ export declare class QueryBuilder {
|
|
|
54
57
|
* lazily on next use.
|
|
55
58
|
*/
|
|
56
59
|
rebind(db: SqliteDatabase): void;
|
|
60
|
+
private edgeKindStmt;
|
|
57
61
|
/** Set the normalized project-name tokens used to down-weight non-discriminative
|
|
58
62
|
* query words in path scoring (#720). Called once when the project opens. */
|
|
59
63
|
setProjectNameTokens(tokens: Set<string>): void;
|
|
@@ -183,10 +187,24 @@ export declare class QueryBuilder {
|
|
|
183
187
|
* Clear the node cache
|
|
184
188
|
*/
|
|
185
189
|
clearCache(): void;
|
|
190
|
+
/**
|
|
191
|
+
* Whether any node in `filePath` is exported — `getNodesByFile(f).some((n) =>
|
|
192
|
+
* n.isExported)` as one indexed probe, without decoding the file's nodes.
|
|
193
|
+
*/
|
|
194
|
+
fileHasExportedNode(filePath: string): boolean;
|
|
195
|
+
/** The exported nodes of a file, in {@link getNodesByFile} order, decoding only those rows. */
|
|
196
|
+
getExportedNodesByFile(filePath: string): Node[];
|
|
197
|
+
/** The nodes of a file with one name, in {@link getNodesByFile} order, decoding only those rows. */
|
|
198
|
+
getNodesByFileAndName(filePath: string, name: string): Node[];
|
|
186
199
|
/**
|
|
187
200
|
* Get all nodes in a file
|
|
188
201
|
*/
|
|
189
202
|
getNodesByFile(filePath: string): Node[];
|
|
203
|
+
/**
|
|
204
|
+
* Get all nodes in several files at once — one chunked `IN` query rather than
|
|
205
|
+
* one {@link getNodesByFile} per file (#1975).
|
|
206
|
+
*/
|
|
207
|
+
getNodesByFiles(filePaths: readonly string[]): Node[];
|
|
190
208
|
/**
|
|
191
209
|
* Find the file that holds the densest concentration of the project's
|
|
192
210
|
* internal call graph — the "core" file. Used by context-builder to
|
|
@@ -204,12 +222,29 @@ export declare class QueryBuilder {
|
|
|
204
222
|
* Excludes test/spec files from candidacy via path-pattern. The agent's
|
|
205
223
|
* typical question is "how does X work", not "how is X tested", so
|
|
206
224
|
* boosting a test file's directory would be a misfire.
|
|
225
|
+
*
|
|
226
|
+
* The answer depends only on the graph, never on the query, and the
|
|
227
|
+
* aggregation behind it scans every edge — seconds on a large index, paid
|
|
228
|
+
* by every generic explore (#1864). So it is memoized per database change
|
|
229
|
+
* stamp: recomputed only after something wrote to the database.
|
|
207
230
|
*/
|
|
208
231
|
getDominantFile(): {
|
|
209
232
|
filePath: string;
|
|
210
233
|
edgeCount: number;
|
|
211
234
|
nextEdgeCount: number;
|
|
212
235
|
} | null;
|
|
236
|
+
/**
|
|
237
|
+
* A value that differs whenever the database content may have changed
|
|
238
|
+
* since the last call, whoever changed it: `total_changes()` counts the
|
|
239
|
+
* rows this connection inserted, updated or deleted, and
|
|
240
|
+
* `PRAGMA data_version` moves when any OTHER connection — another process's
|
|
241
|
+
* sync, a CLI `codegraph index` beside a running MCP server — commits. Both
|
|
242
|
+
* are O(1), so no write path has to remember to invalidate anything.
|
|
243
|
+
* Coarse on purpose: any write, not just one to nodes/edges, forces a
|
|
244
|
+
* recompute, which only costs time, never a stale answer.
|
|
245
|
+
*/
|
|
246
|
+
private getChangeStamp;
|
|
247
|
+
private computeDominantFile;
|
|
213
248
|
/**
|
|
214
249
|
* Find the file that holds the densest concentration of the project's
|
|
215
250
|
* `route` nodes (framework-emitted: Express/Gin/Flask/Rails/Drupal/etc.).
|
|
@@ -245,6 +280,10 @@ export declare class QueryBuilder {
|
|
|
245
280
|
handlerFile: string;
|
|
246
281
|
handlerLine: number;
|
|
247
282
|
handlerKind: string;
|
|
283
|
+
/** The route node itself: where the URL is REGISTERED, not where it is served. */
|
|
284
|
+
routeId: string;
|
|
285
|
+
routeFile: string;
|
|
286
|
+
routeLine: number;
|
|
248
287
|
}>;
|
|
249
288
|
topHandlerFile: string | null;
|
|
250
289
|
topHandlerFileCount: number;
|
|
@@ -262,6 +301,14 @@ export declare class QueryBuilder {
|
|
|
262
301
|
* memory O(1) in the node count rather than O(nodes) (#610).
|
|
263
302
|
*/
|
|
264
303
|
iterateNodesByKind(kind: NodeKind): IterableIterator<Node>;
|
|
304
|
+
/**
|
|
305
|
+
* iterateNodesByKind narrowed to some languages, in the same canonical
|
|
306
|
+
* order — the ORDER BY is total (`id` is unique), so this yields exactly the
|
|
307
|
+
* nodes a caller filtering iterateNodesByKind by language would keep, in the
|
|
308
|
+
* same sequence. A Go pass on a TypeScript monorepo otherwise materialized
|
|
309
|
+
* every method in the project to find a couple of Go ones.
|
|
310
|
+
*/
|
|
311
|
+
iterateNodesByKindIn(kind: NodeKind, languages: readonly string[]): IterableIterator<Node>;
|
|
265
312
|
/**
|
|
266
313
|
* Get all nodes in the database
|
|
267
314
|
*/
|
|
@@ -307,6 +354,8 @@ export declare class QueryBuilder {
|
|
|
307
354
|
* skip idx_nodes_name under SQLite's default case-insensitive LIKE).
|
|
308
355
|
*/
|
|
309
356
|
getNodesByNamePrefix(prefix: string, limit?: number): Node[];
|
|
357
|
+
/** File nodes whose basename starts with `prefix`, without a result cap. */
|
|
358
|
+
getFileNodesByNamePrefix(prefix: string): Node[];
|
|
310
359
|
/**
|
|
311
360
|
* Get nodes by exact qualified name match (uses idx_nodes_qualified_name index)
|
|
312
361
|
*/
|
|
@@ -351,6 +400,13 @@ export declare class QueryBuilder {
|
|
|
351
400
|
* node count on any real codebase.
|
|
352
401
|
*/
|
|
353
402
|
private searchNodesFuzzy;
|
|
403
|
+
/** Bounded miss diagnostics, independent of relevance filters and ranking. */
|
|
404
|
+
getExploreMissDiagnostics(query: string): {
|
|
405
|
+
matched: string[];
|
|
406
|
+
unmatched: string[];
|
|
407
|
+
candidates: string[];
|
|
408
|
+
limited: boolean;
|
|
409
|
+
};
|
|
354
410
|
/**
|
|
355
411
|
* FTS5 search with prefix matching
|
|
356
412
|
*/
|
|
@@ -381,6 +437,10 @@ export declare class QueryBuilder {
|
|
|
381
437
|
findNodesByNameSubstring(substring: string, options?: SearchOptions & {
|
|
382
438
|
excludePrefix?: boolean;
|
|
383
439
|
}): SearchResult[];
|
|
440
|
+
/** Must run before file replacement/deletion cascades the endpoint edges. */
|
|
441
|
+
hasSynthesizedEdgesTouchingFile(filePath: string): boolean;
|
|
442
|
+
wasSynthesisInput(filePath: string): boolean;
|
|
443
|
+
replaceSynthesisInputs(files: string[]): void;
|
|
384
444
|
/**
|
|
385
445
|
* Insert a new edge
|
|
386
446
|
*/
|
|
@@ -394,13 +454,318 @@ export declare class QueryBuilder {
|
|
|
394
454
|
*/
|
|
395
455
|
deleteEdgesBySource(sourceId: string): void;
|
|
396
456
|
/**
|
|
397
|
-
* Get outgoing edges from a node
|
|
457
|
+
* Get outgoing edges from a node. Preserve the source/kind index order
|
|
458
|
+
* (calls before imports/references), then break ties deterministically.
|
|
398
459
|
*/
|
|
399
460
|
getOutgoingEdges(sourceId: string, kinds?: EdgeKind[], provenance?: string): Edge[];
|
|
400
461
|
/**
|
|
401
|
-
* Get incoming edges to a node
|
|
462
|
+
* Get incoming edges to a node. Kind must precede opaque source IDs:
|
|
463
|
+
* file IDs sort before function IDs, so source-first ordering lets imports
|
|
464
|
+
* displace actual calls in capped caller lists. Keep deterministic ties
|
|
465
|
+
* without changing the target/kind index's established kind precedence.
|
|
402
466
|
*/
|
|
403
467
|
getIncomingEdges(targetId: string, kinds?: EdgeKind[]): Edge[];
|
|
468
|
+
/**
|
|
469
|
+
* Outgoing edges for MANY source nodes in one query.
|
|
470
|
+
*
|
|
471
|
+
* The batch form of {@link getOutgoingEdges}. Building a nested outline needs
|
|
472
|
+
* the `contains` edges of every container in a file at once; doing that one
|
|
473
|
+
* source at a time is a query per symbol on files that have hundreds.
|
|
474
|
+
*/
|
|
475
|
+
getOutgoingEdgesFrom(sourceIds: readonly string[], kinds?: EdgeKind[]): Edge[];
|
|
476
|
+
/**
|
|
477
|
+
* Fan-in (total incoming edge count) for MANY nodes in one query.
|
|
478
|
+
*
|
|
479
|
+
* The per-node alternative — `getIncomingEdges(id).length` — is an indexed
|
|
480
|
+
* lookup each, but a symbol screen rendering a couple of hundred callees
|
|
481
|
+
* would issue a couple of hundred of them. Ids with no incoming edges are
|
|
482
|
+
* absent from the map rather than present as 0, so callers can tell "no
|
|
483
|
+
* edges" from "not asked about".
|
|
484
|
+
*/
|
|
485
|
+
countIncomingEdges(ids: readonly string[]): Map<string, number>;
|
|
486
|
+
/**
|
|
487
|
+
* Incoming edges for MANY target nodes in one query — the mirror of
|
|
488
|
+
* {@link getOutgoingEdgesFrom}. Needed wherever a whole file's inbound edges
|
|
489
|
+
* are wanted at once ("which files import anything in this one?").
|
|
490
|
+
*/
|
|
491
|
+
getIncomingEdgesTo(targetIds: readonly string[], kinds?: EdgeKind[]): Edge[];
|
|
492
|
+
/**
|
|
493
|
+
* Fan-out (total outgoing edge count) for MANY nodes in one query — the
|
|
494
|
+
* mirror of {@link countIncomingEdges}. Ids with no outgoing edges are absent
|
|
495
|
+
* from the map rather than present as 0.
|
|
496
|
+
*/
|
|
497
|
+
countOutgoingEdges(ids: readonly string[]): Map<string, number>;
|
|
498
|
+
/**
|
|
499
|
+
* Symbols nothing in the index points at — the candidate set behind the dead
|
|
500
|
+
* code list (`src/graph/dead-code.ts`).
|
|
501
|
+
*
|
|
502
|
+
* "Points at" is every edge kind EXCEPT `contains`: a class containing a
|
|
503
|
+
* method is structure, not use, and counting it would make every member look
|
|
504
|
+
* reached by its own container. A self-edge is excluded for the same reason
|
|
505
|
+
* a recursive function is not its own caller.
|
|
506
|
+
*
|
|
507
|
+
* One scan, one index probe per candidate. `NOT EXISTS` over
|
|
508
|
+
* `idx_edges_target_kind` is what keeps it that way — the alternative
|
|
509
|
+
* (`LEFT JOIN edges … GROUP BY`) builds a row per edge for the whole table
|
|
510
|
+
* before discarding all but the empty groups. Ordered by position so the
|
|
511
|
+
* answer is stable across runs and groups by file without a second sort.
|
|
512
|
+
*
|
|
513
|
+
* The result is deliberately NOT called dead code: an unreferenced symbol is
|
|
514
|
+
* a symbol with no STATIC reference, and the caller applies the exclusions
|
|
515
|
+
* (tests, generated files, overrides, unresolved names) that turn the
|
|
516
|
+
* candidate set into a claim worth making.
|
|
517
|
+
*/
|
|
518
|
+
getUnreferencedNodes(kinds: readonly string[], limit: number): Array<{
|
|
519
|
+
node: Node;
|
|
520
|
+
generated: boolean;
|
|
521
|
+
}>;
|
|
522
|
+
/**
|
|
523
|
+
* Which of `names` the index holds an UNRESOLVED reference to.
|
|
524
|
+
*
|
|
525
|
+
* The point is honesty about our own blind spots. A `failed` row in
|
|
526
|
+
* `unresolved_refs` records that some file referenced a name and the resolver
|
|
527
|
+
* could not decide what it meant — so a symbol with that name cannot be
|
|
528
|
+
* called unreferenced, whatever the edge table says. It is deliberately
|
|
529
|
+
* matched loosely, on the reference name AND on its tail (`util.greet` →
|
|
530
|
+
* `greet`), because the question being asked is "could this name be the one
|
|
531
|
+
* we failed to follow", and a maybe has to count as a yes.
|
|
532
|
+
*
|
|
533
|
+
* Bounded-lookup like {@link getGeneratedPathsAmong}: the caller holds a
|
|
534
|
+
* candidate list, so this is a chunked probe over `idx_unresolved_name`, not
|
|
535
|
+
* a scan of the table.
|
|
536
|
+
*/
|
|
537
|
+
getUnresolvedNamesAmong(names: Iterable<string>): Set<string>;
|
|
538
|
+
/**
|
|
539
|
+
* Which of `nodeIds` extend or implement a type the resolver could not follow.
|
|
540
|
+
* An ancestor outside the index (`React.Component`, `stream.Transform`, a
|
|
541
|
+
* framework interface) leaves no edge, only this `extends` / `implements`
|
|
542
|
+
* row, so it is the one record that such an ancestor exists (#1973).
|
|
543
|
+
* Chunked probe over `idx_unresolved_from_node`.
|
|
544
|
+
*/
|
|
545
|
+
getUnresolvedSupertypeSourcesAmong(nodeIds: Iterable<string>): Set<string>;
|
|
546
|
+
/**
|
|
547
|
+
* Which of `names` are carried by MORE THAN ONE symbol, at least one of which
|
|
548
|
+
* something points at.
|
|
549
|
+
*
|
|
550
|
+
* The false positive this exists to kill: `CodeGraph.getTopRouteFile` calls
|
|
551
|
+
* `this.queries.getTopRouteFile()`, and the resolver — which prefers a
|
|
552
|
+
* same-name definition in the call site's own file — attaches that edge to
|
|
553
|
+
* the *calling* method. One of the two ends up with a self-edge and the other
|
|
554
|
+
* with nothing at all, and neither is unreferenced. From the edge table the
|
|
555
|
+
* mis-resolution and a genuinely unused twin are the same picture, so the
|
|
556
|
+
* claim is not made about either.
|
|
557
|
+
*
|
|
558
|
+
* Both halves of the condition are load-bearing. **More than one symbol**:
|
|
559
|
+
* a uniquely-named function that only calls itself is genuinely dead, and
|
|
560
|
+
* excluding every recursive function would gut the list. **Self-edges
|
|
561
|
+
* counted**: the self-edge IS the fingerprint of the mis-resolution above, so
|
|
562
|
+
* it has to count as evidence that this name resolves somewhere.
|
|
563
|
+
*
|
|
564
|
+
* Chunked probe over `idx_nodes_name`, bounded by the caller's candidate list.
|
|
565
|
+
*/
|
|
566
|
+
getAmbiguousReferencedNames(names: Iterable<string>): Set<string>;
|
|
567
|
+
/**
|
|
568
|
+
* Which of the given languages the index records an EXPORT marker for.
|
|
569
|
+
*
|
|
570
|
+
* A self-measurement, and the honest basis for a whole class of exclusion.
|
|
571
|
+
* The dead code report's strongest filter is "exported symbols may be reached
|
|
572
|
+
* from outside this repository" — and that filter silently does nothing for a
|
|
573
|
+
* language whose exports are not recorded, either because the extractor does
|
|
574
|
+
* not record them (Rust `pub`) or because the language has no such concept at
|
|
575
|
+
* all (Python, C, Ruby: the header or the module IS the surface). Rather than
|
|
576
|
+
* carry a table of which is which, ask the index: if nothing in this language
|
|
577
|
+
* is marked exported, the filter did not run, and no claim about outside
|
|
578
|
+
* reachability can be made for it.
|
|
579
|
+
*
|
|
580
|
+
* `idx_nodes_language` covers the grouping; the caller passes the handful of
|
|
581
|
+
* languages its candidates are actually in.
|
|
582
|
+
*/
|
|
583
|
+
getLanguagesWithExports(languages: Iterable<string>): Set<string>;
|
|
584
|
+
/**
|
|
585
|
+
* The nodes with the most DISTINCT dependents, most first.
|
|
586
|
+
*
|
|
587
|
+
* "Distinct" is the difference that matters: a helper called forty times from
|
|
588
|
+
* one function has a fan-in of 40 but exactly one dependent. This counts the
|
|
589
|
+
* second thing — the number a reader means by "N callers" — so the top of
|
|
590
|
+
* this list is the set of symbols a change actually radiates furthest from.
|
|
591
|
+
*
|
|
592
|
+
* `contains` is excluded because it is structure, not dependency: counting it
|
|
593
|
+
* would rank every file and class above the code they hold.
|
|
594
|
+
*/
|
|
595
|
+
getTopDependedOn(limit: number): Array<{
|
|
596
|
+
nodeId: string;
|
|
597
|
+
dependents: number;
|
|
598
|
+
}>;
|
|
599
|
+
/**
|
|
600
|
+
* The graph's executable roots — files that RUN something at module level,
|
|
601
|
+
* ranked by how much of the project they set in motion.
|
|
602
|
+
*
|
|
603
|
+
* The engine records a statement at the top level of a file as an edge from
|
|
604
|
+
* the *file* node, so `src/bin/codegraph.ts` calling `program.parse()` at
|
|
605
|
+
* module scope is a `calls` edge out of a `file`. That set is what makes the
|
|
606
|
+
* roots of a dependency graph visible: a library module holds definitions and
|
|
607
|
+
* runs nothing until someone imports it, while a CLI, a worker entry or a
|
|
608
|
+
* build script does its work on the way down the file. `instantiates` counts
|
|
609
|
+
* the same way — `new Server(...)` at module scope is the same act.
|
|
610
|
+
*
|
|
611
|
+
* A call made while initializing a module-level `variable` / `constant` —
|
|
612
|
+
* `const service = new Service()`, `app = FastAPI()` — is attributed to the
|
|
613
|
+
* declared name (#693), not to the file, so the file's own edges alone would
|
|
614
|
+
* miss most of what a real entry point runs. Those names are the file's
|
|
615
|
+
* top-level code too, so `tops` counts them alongside the file node.
|
|
616
|
+
*
|
|
617
|
+
* Ranking multiplies the two things an entry point does: it runs (calls), and
|
|
618
|
+
* it wires the project together (distinct other files its symbols reach). One
|
|
619
|
+
* alone is misleading — a registration table makes hundreds of module-level
|
|
620
|
+
* calls into itself, and a barrel file imports everything and runs nothing.
|
|
621
|
+
* The product puts the file that does both at the top.
|
|
622
|
+
*/
|
|
623
|
+
getTopCallingFiles(limit: number): Array<{
|
|
624
|
+
nodeId: string;
|
|
625
|
+
filePath: string;
|
|
626
|
+
calls: number;
|
|
627
|
+
reaches: number;
|
|
628
|
+
score: number;
|
|
629
|
+
}>;
|
|
630
|
+
/**
|
|
631
|
+
* How many OTHER files depend on each of the given files.
|
|
632
|
+
*
|
|
633
|
+
* Counted through the symbols, not the file nodes: an `imports` edge points
|
|
634
|
+
* at the imported symbol, so a file node almost never receives one and
|
|
635
|
+
* counting edges into it would report every file as depended on by nobody.
|
|
636
|
+
* Same-file edges are excluded, which is what makes zero mean "nothing else
|
|
637
|
+
* in the index reaches into this file" — the honest reading of a root.
|
|
638
|
+
*/
|
|
639
|
+
getFileDependentCounts(filePaths: string[]): Array<{
|
|
640
|
+
filePath: string;
|
|
641
|
+
dependents: number;
|
|
642
|
+
}>;
|
|
643
|
+
/**
|
|
644
|
+
* How far each of the given files reaches OUT: distinct other files its
|
|
645
|
+
* symbols touch, and how many references that is.
|
|
646
|
+
*
|
|
647
|
+
* The mirror of {@link getFileDependentCounts}, and the same reasoning about
|
|
648
|
+
* `contains` and same-file edges applies. It is driven from `nodes` rather
|
|
649
|
+
* than from `edges` so the work is proportional to the files asked about —
|
|
650
|
+
* the entry-points endpoint asks it about every test file in the index, and
|
|
651
|
+
* an edge-first plan would scan the whole table to answer a question about a
|
|
652
|
+
* tenth of it.
|
|
653
|
+
*/
|
|
654
|
+
getFileReachCounts(filePaths: string[]): Array<{
|
|
655
|
+
filePath: string;
|
|
656
|
+
reaches: number;
|
|
657
|
+
refs: number;
|
|
658
|
+
}>;
|
|
659
|
+
/**
|
|
660
|
+
* The `file` nodes for the given paths, in one query.
|
|
661
|
+
*
|
|
662
|
+
* A file's own node is what makes a file row navigable, and looking it up
|
|
663
|
+
* with {@link getNodesInFile} means materialising every symbol in the file to
|
|
664
|
+
* throw all but one away.
|
|
665
|
+
*/
|
|
666
|
+
getFileNodes(filePaths: string[]): Node[];
|
|
667
|
+
/**
|
|
668
|
+
* Roll the whole edge table up to module granularity in one pass.
|
|
669
|
+
*
|
|
670
|
+
* The caller decides what a module IS — it hands in a file → module
|
|
671
|
+
* assignment and gets back the cross-module traffic. That split is
|
|
672
|
+
* deliberate: naming modules is a *policy* (top-level directories, a façade
|
|
673
|
+
* file kept separate, a monorepo root) that belongs where the reader lives,
|
|
674
|
+
* while grouping a million edges by it is *mechanics* that must happen in
|
|
675
|
+
* SQLite. Doing the fold in JavaScript instead means materialising every
|
|
676
|
+
* cross-file edge in memory; doing the naming in SQL means a tower of
|
|
677
|
+
* `instr`/`substr` no one can read.
|
|
678
|
+
*
|
|
679
|
+
* The assignment lands in a TEMP table with a primary key, so the join is
|
|
680
|
+
* indexed and the result set is bounded by modules², not by edges. Temp
|
|
681
|
+
* tables live in SQLite's own temp database, so this stays valid against a
|
|
682
|
+
* read-only main.
|
|
683
|
+
*
|
|
684
|
+
* Two result sets, because they need two different groupings over the same
|
|
685
|
+
* join: `links` counts edges per (module, module, kind), and `pairs` names
|
|
686
|
+
* the busiest symbol pairs behind each link (the map's tooltip). `pairs` is
|
|
687
|
+
* ranked and cut inside SQLite — the un-cut grouping is the one thing here
|
|
688
|
+
* that scales with distinct symbol names rather than with modules. Pairs are
|
|
689
|
+
* ranked by `declared` before raw count, so a link's tooltip names the
|
|
690
|
+
* symbols the source actually points at rather than whichever `has`/`get`
|
|
691
|
+
* happened to name-match most often.
|
|
692
|
+
*
|
|
693
|
+
* `declared` is the subset of a link's edges that came from something the
|
|
694
|
+
* source *writes down*: an import, a qualified name, an inheritance clause,
|
|
695
|
+
* or a call through a typed receiver. It exists because bare name matching
|
|
696
|
+
* (`resolvedBy: 'exact-match'`) is what invents cross-module links out of
|
|
697
|
+
* common method names — `run`, `push`, `finish` — and a map that lets those
|
|
698
|
+
* decide the layering puts the storage layer above the CLI.
|
|
699
|
+
*/
|
|
700
|
+
aggregateModuleGraph(assignments: ReadonlyArray<{
|
|
701
|
+
filePath: string;
|
|
702
|
+
module: string;
|
|
703
|
+
}>, options: {
|
|
704
|
+
kinds: readonly EdgeKind[];
|
|
705
|
+
minConfidence: number;
|
|
706
|
+
topPairsPerLink: number;
|
|
707
|
+
pairKinds: readonly EdgeKind[];
|
|
708
|
+
}): {
|
|
709
|
+
links: Array<{
|
|
710
|
+
source: string;
|
|
711
|
+
target: string;
|
|
712
|
+
kind: EdgeKind;
|
|
713
|
+
count: number;
|
|
714
|
+
declared: number;
|
|
715
|
+
uncertain: number;
|
|
716
|
+
}>;
|
|
717
|
+
pairs: Array<{
|
|
718
|
+
source: string;
|
|
719
|
+
target: string;
|
|
720
|
+
from: string;
|
|
721
|
+
to: string;
|
|
722
|
+
count: number;
|
|
723
|
+
declared: number;
|
|
724
|
+
}>;
|
|
725
|
+
};
|
|
726
|
+
/**
|
|
727
|
+
* Every ordered pair of files where one reaches into the other, once each.
|
|
728
|
+
*
|
|
729
|
+
* The input a cycle finder wants: file-level circular dependencies are the
|
|
730
|
+
* strongly connected components of this graph. One query instead of the
|
|
731
|
+
* dependency lookup per file that {@link GraphQueryManager.findCircularDependencies}
|
|
732
|
+
* does — which matters because a cycle report is only interesting on a large
|
|
733
|
+
* repo, and that is exactly where a query per file stops being affordable.
|
|
734
|
+
*
|
|
735
|
+
* `contains` is excluded (a file "contains" its own symbols, which is not a
|
|
736
|
+
* dependency), and so are same-file edges and low-confidence name matches:
|
|
737
|
+
* a cycle conjured by a common method name is a false alarm a reader cannot
|
|
738
|
+
* check.
|
|
739
|
+
*/
|
|
740
|
+
getCrossFileDependencyPairs(minConfidence: number): Array<{
|
|
741
|
+
source: string;
|
|
742
|
+
target: string;
|
|
743
|
+
}>;
|
|
744
|
+
/**
|
|
745
|
+
* Every unresolved reference recorded in one FILE, ordered by line.
|
|
746
|
+
*
|
|
747
|
+
* The per-symbol form above answers "what does this body reach that the
|
|
748
|
+
* index does not hold". A whole-file reader asks the same question of every
|
|
749
|
+
* line at once, and asking it one symbol at a time is a query per symbol —
|
|
750
|
+
* 153 of them on this repo's largest file. `unresolved_refs.file_path` is
|
|
751
|
+
* indexed, so this is one lookup whatever the file holds.
|
|
752
|
+
*
|
|
753
|
+
* `limit` bounds the answer rather than the work: the caller draws a marker
|
|
754
|
+
* per row, and a generated file with fifty thousand of them would ship
|
|
755
|
+
* megabytes to say something a count already says. Rows come back in line
|
|
756
|
+
* order, so a cap trims the END of the file, which is at least legible.
|
|
757
|
+
*/
|
|
758
|
+
getUnresolvedReferencesInFile(filePath: string, limit?: number): UnresolvedReference[];
|
|
759
|
+
/**
|
|
760
|
+
* References recorded against a symbol that never resolved to a node — the
|
|
761
|
+
* calls and type mentions that leave the index (a third-party package, a
|
|
762
|
+
* runtime builtin, a language construct extraction doesn't model).
|
|
763
|
+
*
|
|
764
|
+
* Read-only. It exists so a reader can say "N calls into symbols outside the
|
|
765
|
+
* index" instead of silently showing a callee list shorter than the body's
|
|
766
|
+
* call sites, which reads as "nothing else happens here".
|
|
767
|
+
*/
|
|
768
|
+
getUnresolvedReferencesFrom(fromNodeId: string): UnresolvedReference[];
|
|
404
769
|
/**
|
|
405
770
|
* Find all edges where both source and target are in the given node set.
|
|
406
771
|
* Useful for recovering inter-node connectivity after BFS.
|
|
@@ -499,6 +864,29 @@ export declare class QueryBuilder {
|
|
|
499
864
|
* restricted to the candidate list: the file that imports it is usually
|
|
500
865
|
* not itself a candidate.
|
|
501
866
|
*
|
|
867
|
+
* ### Interface MEMBERS are transparent to all four conditions
|
|
868
|
+
*
|
|
869
|
+
* A `method_signature` / `property_signature` inside an interface enters the
|
|
870
|
+
* graph as a `method` / `property` node (#1638). Read literally that would
|
|
871
|
+
* break every condition here at once: condition 2 sees non-type kinds and
|
|
872
|
+
* stops flagging, and — worse, because it is silent — condition 4 starts
|
|
873
|
+
* seeing inbound `calls` edges the moment a call site through the shim's API
|
|
874
|
+
* finally has a signature to land on. An ambient `.d.ts` would quietly lose
|
|
875
|
+
* its damping precisely BECAUSE the platform API it declares is widely used.
|
|
876
|
+
*
|
|
877
|
+
* So an interface-owned member is treated the way `parameter` already is: it
|
|
878
|
+
* neither qualifies, disqualifies, nor counts as inbound dependency. That is
|
|
879
|
+
* not a new judgement call, it is what keeps the rule measuring what it was
|
|
880
|
+
* measured on — before #1638 these nodes did not exist, so excluding them
|
|
881
|
+
* reproduces the 0–4% flag rate the thresholds above were tuned against. It
|
|
882
|
+
* is also the semantically right answer: a signature with no body is on the
|
|
883
|
+
* same side of the line as the interface that owns it, and a call edge
|
|
884
|
+
* landing on one is still not a file that can answer a flow question.
|
|
885
|
+
*
|
|
886
|
+
* The interface ITSELF is untouched: the `references` edges an importing
|
|
887
|
+
* module aims at `UploadStorage` still disqualify the file under (4), which
|
|
888
|
+
* is what keeps a depended-on `types.ts` out of the flag.
|
|
889
|
+
*
|
|
502
890
|
* Bounded-lookup like {@link getGeneratedPathsAmong}: callers hold a ranked
|
|
503
891
|
* candidate list, so this is a partial-index probe over a handful of paths.
|
|
504
892
|
*/
|
|
@@ -528,6 +916,33 @@ export declare class QueryBuilder {
|
|
|
528
916
|
* null when nothing is indexed yet. One indexed aggregate, no per-row scan. (#329)
|
|
529
917
|
*/
|
|
530
918
|
getLastIndexedAt(): number | null;
|
|
919
|
+
/**
|
|
920
|
+
* The index's revision marker: how far the last sync got, and how many files
|
|
921
|
+
* it left behind — one query, both numbers.
|
|
922
|
+
*
|
|
923
|
+
* This is the cheapest honest answer to "has the index moved since I last
|
|
924
|
+
* looked". `MAX(indexed_at)` alone is not enough: a sync that only DELETES
|
|
925
|
+
* files (a branch checkout that removed a directory) advances nothing, and
|
|
926
|
+
* the graph the viewer is showing has still changed underneath it. The row
|
|
927
|
+
* count catches exactly that case.
|
|
928
|
+
*/
|
|
929
|
+
getIndexRevision(): {
|
|
930
|
+
lastIndexedAt: number | null;
|
|
931
|
+
fileCount: number;
|
|
932
|
+
};
|
|
933
|
+
/**
|
|
934
|
+
* Files re-indexed strictly after `since` (ms since epoch), newest first.
|
|
935
|
+
*
|
|
936
|
+
* `total` is the real count; `paths` is capped at `limit`. Used by the
|
|
937
|
+
* viewer's live channel to name what a sync just picked up. A file the same
|
|
938
|
+
* sync DELETED cannot appear here — it has no row left — which is why the
|
|
939
|
+
* caller compares {@link getIndexRevision} as well rather than treating an
|
|
940
|
+
* empty list as "nothing happened".
|
|
941
|
+
*/
|
|
942
|
+
getFilesIndexedSince(since: number, limit: number): {
|
|
943
|
+
paths: string[];
|
|
944
|
+
total: number;
|
|
945
|
+
};
|
|
531
946
|
/**
|
|
532
947
|
* Get files that need re-indexing (hash changed)
|
|
533
948
|
*/
|
|
@@ -575,7 +990,7 @@ export declare class QueryBuilder {
|
|
|
575
990
|
* (§7a.2) — while the seek is O(batch) forever. `id` is the rowid alias, so
|
|
576
991
|
* the enumeration order is identical to the OFFSET reader's.
|
|
577
992
|
*/
|
|
578
|
-
getUnresolvedReferencesBatchAfter(afterRowId: number, limit: number): UnresolvedReference[];
|
|
993
|
+
getUnresolvedReferencesBatchAfter(afterRowId: number, limit: number, prerequisites?: boolean): UnresolvedReference[];
|
|
579
994
|
/**
|
|
580
995
|
* Get all tracked file paths (lightweight — no full FileRecord objects)
|
|
581
996
|
*/
|
|
@@ -689,6 +1104,11 @@ export declare class QueryBuilder {
|
|
|
689
1104
|
}>;
|
|
690
1105
|
/** Delete edges by primary key — the rebind pass's half of a re-resolution. */
|
|
691
1106
|
deleteEdgesByIds(edgeIds: number[]): number;
|
|
1107
|
+
/**
|
|
1108
|
+
* Replace resolution edges with their original unresolved references as one
|
|
1109
|
+
* transaction. If ref insertion fails, the edge deletion is rolled back.
|
|
1110
|
+
*/
|
|
1111
|
+
replaceResolutionEdgesWithUnresolvedRefs(edgeIds: number[], refs: UnresolvedReference[]): number;
|
|
692
1112
|
/**
|
|
693
1113
|
* Distinct node names present in the given files — the symbol names a sync
|
|
694
1114
|
* pass uses to look up retryable failed refs after those files changed.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../src/db/queries.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,cAAc,EAAmB,MAAM,kBAAkB,CAAC;AACnE,OAAO,EACL,IAAI,EACJ,IAAI,EACJ,UAAU,EACV,mBAAmB,EACnB,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,aAAa,EACb,YAAY,EACb,MAAM,UAAU,CAAC;AAuClB;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,8BAA8B,OAAO,CAAC;AA+InD;;GAEG;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