@colbymchenry/codegraph-win32-arm64 1.6.1 → 1.6.3
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 +1 -1
- package/bin/codegraph.cmd +1 -1
- package/lib/dist/.test-build-engine.json +1 -1
- package/lib/dist/.test-build-viewer.json +1 -1
- package/lib/dist/bin/codegraph.d.ts +3 -0
- package/lib/dist/bin/codegraph.d.ts.map +1 -1
- package/lib/dist/bin/codegraph.js +427 -684
- package/lib/dist/bin/codegraph.js.map +1 -1
- package/lib/dist/bin/command-supervision.d.ts +7 -0
- package/lib/dist/bin/command-supervision.d.ts.map +1 -1
- package/lib/dist/bin/command-supervision.js +30 -74
- package/lib/dist/bin/command-supervision.js.map +1 -1
- package/lib/dist/bin/fatal-handler.js +0 -46
- package/lib/dist/bin/fatal-handler.js.map +1 -1
- package/lib/dist/bin/node-version-check.js +0 -33
- package/lib/dist/bin/node-version-check.js.map +1 -1
- package/lib/dist/bin/uninstall.js +0 -19
- package/lib/dist/bin/uninstall.js.map +1 -1
- package/lib/dist/bin/viewer-gate.js +0 -14
- package/lib/dist/bin/viewer-gate.js.map +1 -1
- package/lib/dist/compile-cache.d.ts +2 -0
- package/lib/dist/compile-cache.d.ts.map +1 -0
- package/lib/dist/compile-cache.js +45 -0
- package/lib/dist/compile-cache.js.map +1 -0
- package/lib/dist/context/formatter.js +3 -66
- package/lib/dist/context/formatter.js.map +1 -1
- package/lib/dist/context/index.d.ts +44 -1
- package/lib/dist/context/index.d.ts.map +1 -1
- package/lib/dist/context/index.js +123 -430
- package/lib/dist/context/index.js.map +1 -1
- package/lib/dist/context/markers.js +0 -17
- package/lib/dist/context/markers.js.map +1 -1
- package/lib/dist/db/index.d.ts +44 -1
- package/lib/dist/db/index.d.ts.map +1 -1
- package/lib/dist/db/index.js +123 -395
- package/lib/dist/db/index.js.map +1 -1
- package/lib/dist/db/migrations.d.ts +11 -1
- package/lib/dist/db/migrations.d.ts.map +1 -1
- package/lib/dist/db/migrations.js +71 -79
- package/lib/dist/db/migrations.js.map +1 -1
- package/lib/dist/db/name-substring-index.d.ts +63 -0
- package/lib/dist/db/name-substring-index.d.ts.map +1 -0
- package/lib/dist/db/name-substring-index.js +151 -0
- package/lib/dist/db/name-substring-index.js.map +1 -0
- package/lib/dist/db/node-sqlite.d.ts +19 -0
- package/lib/dist/db/node-sqlite.d.ts.map +1 -0
- package/lib/dist/db/node-sqlite.js +23 -0
- package/lib/dist/db/node-sqlite.js.map +1 -0
- package/lib/dist/db/open-error.d.ts +36 -0
- package/lib/dist/db/open-error.d.ts.map +1 -0
- package/lib/dist/db/open-error.js +63 -0
- package/lib/dist/db/open-error.js.map +1 -0
- package/lib/dist/db/parameter-flow-queries.d.ts +120 -0
- package/lib/dist/db/parameter-flow-queries.d.ts.map +1 -0
- package/lib/dist/db/parameter-flow-queries.js +168 -0
- package/lib/dist/db/parameter-flow-queries.js.map +1 -0
- package/lib/dist/db/queries.d.ts +641 -40
- package/lib/dist/db/queries.d.ts.map +1 -1
- package/lib/dist/db/queries.js +1370 -1398
- package/lib/dist/db/queries.js.map +1 -1
- package/lib/dist/db/reference-tail.d.ts +83 -0
- package/lib/dist/db/reference-tail.d.ts.map +1 -0
- package/lib/dist/db/reference-tail.js +68 -0
- package/lib/dist/db/reference-tail.js.map +1 -0
- package/lib/dist/db/schema.sql +18 -2
- package/lib/dist/db/sqlite-adapter.d.ts +18 -1
- package/lib/dist/db/sqlite-adapter.d.ts.map +1 -1
- package/lib/dist/db/sqlite-adapter.js +12 -62
- package/lib/dist/db/sqlite-adapter.js.map +1 -1
- package/lib/dist/db/synthesis-stage.d.ts.map +1 -1
- package/lib/dist/db/synthesis-stage.js +2 -6
- package/lib/dist/db/synthesis-stage.js.map +1 -1
- package/lib/dist/db/wal-valve.js +1 -153
- package/lib/dist/db/wal-valve.js.map +1 -1
- package/lib/dist/db/wsl-shared-index.js +0 -37
- package/lib/dist/db/wsl-shared-index.js.map +1 -1
- package/lib/dist/directory.d.ts +81 -0
- package/lib/dist/directory.d.ts.map +1 -1
- package/lib/dist/directory.js +91 -500
- package/lib/dist/directory.js.map +1 -1
- package/lib/dist/engine.d.ts +15 -0
- package/lib/dist/engine.d.ts.map +1 -0
- package/lib/dist/engine.js +34 -0
- package/lib/dist/engine.js.map +1 -0
- package/lib/dist/errors.d.ts +10 -0
- package/lib/dist/errors.d.ts.map +1 -1
- package/lib/dist/errors.js +8 -101
- package/lib/dist/errors.js.map +1 -1
- package/lib/dist/extraction/astro-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/astro-extractor.js +15 -133
- package/lib/dist/extraction/astro-extractor.js.map +1 -1
- package/lib/dist/extraction/cfml-extractor.d.ts +102 -10
- package/lib/dist/extraction/cfml-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/cfml-extractor.js +260 -179
- package/lib/dist/extraction/cfml-extractor.js.map +1 -1
- package/lib/dist/extraction/commonjs-requires.d.ts +23 -0
- package/lib/dist/extraction/commonjs-requires.d.ts.map +1 -0
- package/lib/dist/extraction/commonjs-requires.js +37 -0
- package/lib/dist/extraction/commonjs-requires.js.map +1 -0
- package/lib/dist/extraction/dfm-extractor.js +0 -21
- 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 -24
- package/lib/dist/extraction/extraction-version.js.map +1 -1
- package/lib/dist/extraction/function-ref.d.ts +40 -0
- package/lib/dist/extraction/function-ref.d.ts.map +1 -1
- package/lib/dist/extraction/function-ref.js +145 -206
- package/lib/dist/extraction/function-ref.js.map +1 -1
- package/lib/dist/extraction/generated-detection.d.ts +9 -0
- package/lib/dist/extraction/generated-detection.d.ts.map +1 -1
- package/lib/dist/extraction/generated-detection.js +29 -154
- package/lib/dist/extraction/generated-detection.js.map +1 -1
- package/lib/dist/extraction/grammars.d.ts +47 -4
- package/lib/dist/extraction/grammars.d.ts.map +1 -1
- package/lib/dist/extraction/grammars.js +91 -374
- package/lib/dist/extraction/grammars.js.map +1 -1
- package/lib/dist/extraction/index.d.ts +216 -11
- package/lib/dist/extraction/index.d.ts.map +1 -1
- package/lib/dist/extraction/index.js +703 -1368
- package/lib/dist/extraction/index.js.map +1 -1
- package/lib/dist/extraction/kernel/decode.js +0 -16
- package/lib/dist/extraction/kernel/decode.js.map +1 -1
- package/lib/dist/extraction/kernel/index.d.ts +3 -1
- package/lib/dist/extraction/kernel/index.d.ts.map +1 -1
- package/lib/dist/extraction/kernel/index.js +29 -131
- package/lib/dist/extraction/kernel/index.js.map +1 -1
- package/lib/dist/extraction/kernel/layout.js +42 -76
- package/lib/dist/extraction/kernel/layout.js.map +1 -1
- package/lib/dist/extraction/kernel/loader.js +0 -37
- package/lib/dist/extraction/kernel/loader.js.map +1 -1
- package/lib/dist/extraction/languages/arkts.js +0 -59
- package/lib/dist/extraction/languages/arkts.js.map +1 -1
- package/lib/dist/extraction/languages/c-cpp.d.ts +140 -28
- package/lib/dist/extraction/languages/c-cpp.d.ts.map +1 -1
- package/lib/dist/extraction/languages/c-cpp.js +876 -823
- package/lib/dist/extraction/languages/c-cpp.js.map +1 -1
- package/lib/dist/extraction/languages/cfquery.js +0 -9
- package/lib/dist/extraction/languages/cfquery.js.map +1 -1
- package/lib/dist/extraction/languages/cfscript.d.ts +20 -0
- package/lib/dist/extraction/languages/cfscript.d.ts.map +1 -1
- package/lib/dist/extraction/languages/cfscript.js +80 -9
- package/lib/dist/extraction/languages/cfscript.js.map +1 -1
- package/lib/dist/extraction/languages/cobol.js +0 -114
- package/lib/dist/extraction/languages/cobol.js.map +1 -1
- package/lib/dist/extraction/languages/cpp-brace-scopes.d.ts +66 -0
- package/lib/dist/extraction/languages/cpp-brace-scopes.d.ts.map +1 -0
- package/lib/dist/extraction/languages/cpp-brace-scopes.js +343 -0
- package/lib/dist/extraction/languages/cpp-brace-scopes.js.map +1 -0
- package/lib/dist/extraction/languages/cpp-macro-methods.d.ts +41 -0
- package/lib/dist/extraction/languages/cpp-macro-methods.d.ts.map +1 -0
- package/lib/dist/extraction/languages/cpp-macro-methods.js +487 -0
- package/lib/dist/extraction/languages/cpp-macro-methods.js.map +1 -0
- package/lib/dist/extraction/languages/csharp.d.ts.map +1 -1
- package/lib/dist/extraction/languages/csharp.js +11 -54
- package/lib/dist/extraction/languages/csharp.js.map +1 -1
- package/lib/dist/extraction/languages/dart.d.ts +84 -0
- package/lib/dist/extraction/languages/dart.d.ts.map +1 -1
- package/lib/dist/extraction/languages/dart.js +335 -159
- package/lib/dist/extraction/languages/dart.js.map +1 -1
- package/lib/dist/extraction/languages/erlang.d.ts.map +1 -1
- package/lib/dist/extraction/languages/erlang.js +15 -102
- package/lib/dist/extraction/languages/erlang.js.map +1 -1
- package/lib/dist/extraction/languages/go.d.ts +48 -0
- package/lib/dist/extraction/languages/go.d.ts.map +1 -1
- package/lib/dist/extraction/languages/go.js +102 -31
- package/lib/dist/extraction/languages/go.js.map +1 -1
- package/lib/dist/extraction/languages/index.js +0 -6
- package/lib/dist/extraction/languages/index.js.map +1 -1
- package/lib/dist/extraction/languages/java.d.ts.map +1 -1
- package/lib/dist/extraction/languages/java.js +67 -78
- package/lib/dist/extraction/languages/java.js.map +1 -1
- package/lib/dist/extraction/languages/javascript.d.ts.map +1 -1
- package/lib/dist/extraction/languages/javascript.js +2 -12
- package/lib/dist/extraction/languages/javascript.js.map +1 -1
- package/lib/dist/extraction/languages/kotlin.d.ts +15 -0
- package/lib/dist/extraction/languages/kotlin.d.ts.map +1 -1
- package/lib/dist/extraction/languages/kotlin.js +69 -150
- package/lib/dist/extraction/languages/kotlin.js.map +1 -1
- package/lib/dist/extraction/languages/lua.js +2 -39
- package/lib/dist/extraction/languages/lua.js.map +1 -1
- package/lib/dist/extraction/languages/luau.js +0 -14
- package/lib/dist/extraction/languages/luau.js.map +1 -1
- package/lib/dist/extraction/languages/nix.js +0 -16
- package/lib/dist/extraction/languages/nix.js.map +1 -1
- package/lib/dist/extraction/languages/objc.d.ts.map +1 -1
- package/lib/dist/extraction/languages/objc.js +5 -16
- package/lib/dist/extraction/languages/objc.js.map +1 -1
- package/lib/dist/extraction/languages/pascal-preparse.d.ts +66 -0
- package/lib/dist/extraction/languages/pascal-preparse.d.ts.map +1 -0
- package/lib/dist/extraction/languages/pascal-preparse.js +958 -0
- package/lib/dist/extraction/languages/pascal-preparse.js.map +1 -0
- package/lib/dist/extraction/languages/pascal-system.d.ts +11 -0
- package/lib/dist/extraction/languages/pascal-system.d.ts.map +1 -0
- package/lib/dist/extraction/languages/pascal-system.js +23 -0
- package/lib/dist/extraction/languages/pascal-system.js.map +1 -0
- package/lib/dist/extraction/languages/pascal.d.ts.map +1 -1
- package/lib/dist/extraction/languages/pascal.js +3 -4
- package/lib/dist/extraction/languages/pascal.js.map +1 -1
- package/lib/dist/extraction/languages/php.js +5 -42
- package/lib/dist/extraction/languages/php.js.map +1 -1
- package/lib/dist/extraction/languages/python.js +2 -20
- package/lib/dist/extraction/languages/python.js.map +1 -1
- package/lib/dist/extraction/languages/r.js +8 -78
- package/lib/dist/extraction/languages/r.js.map +1 -1
- package/lib/dist/extraction/languages/ruby.d.ts.map +1 -1
- package/lib/dist/extraction/languages/ruby.js +17 -25
- package/lib/dist/extraction/languages/ruby.js.map +1 -1
- package/lib/dist/extraction/languages/rust.d.ts +10 -0
- package/lib/dist/extraction/languages/rust.d.ts.map +1 -1
- package/lib/dist/extraction/languages/rust.js +15 -47
- package/lib/dist/extraction/languages/rust.js.map +1 -1
- package/lib/dist/extraction/languages/scala.js +5 -41
- package/lib/dist/extraction/languages/scala.js.map +1 -1
- package/lib/dist/extraction/languages/solidity.js +1 -82
- package/lib/dist/extraction/languages/solidity.js.map +1 -1
- package/lib/dist/extraction/languages/swift.d.ts +15 -0
- package/lib/dist/extraction/languages/swift.d.ts.map +1 -1
- package/lib/dist/extraction/languages/swift.js +33 -27
- package/lib/dist/extraction/languages/swift.js.map +1 -1
- package/lib/dist/extraction/languages/terraform.js +6 -152
- package/lib/dist/extraction/languages/terraform.js.map +1 -1
- package/lib/dist/extraction/languages/typescript.d.ts +71 -0
- package/lib/dist/extraction/languages/typescript.d.ts.map +1 -1
- package/lib/dist/extraction/languages/typescript.js +86 -41
- package/lib/dist/extraction/languages/typescript.js.map +1 -1
- package/lib/dist/extraction/languages/vbnet.d.ts.map +1 -1
- package/lib/dist/extraction/languages/vbnet.js +9 -42
- package/lib/dist/extraction/languages/vbnet.js.map +1 -1
- package/lib/dist/extraction/lazy-frameworks.d.ts +15 -0
- package/lib/dist/extraction/lazy-frameworks.d.ts.map +1 -0
- package/lib/dist/extraction/lazy-frameworks.js +8 -0
- package/lib/dist/extraction/lazy-frameworks.js.map +1 -0
- package/lib/dist/extraction/liquid-extractor.d.ts +29 -3
- package/lib/dist/extraction/liquid-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/liquid-extractor.js +89 -148
- package/lib/dist/extraction/liquid-extractor.js.map +1 -1
- package/lib/dist/extraction/mybatis-extractor.js +0 -78
- package/lib/dist/extraction/mybatis-extractor.js.map +1 -1
- package/lib/dist/extraction/parse-budget.d.ts +16 -0
- package/lib/dist/extraction/parse-budget.d.ts.map +1 -0
- package/lib/dist/extraction/parse-budget.js +11 -0
- package/lib/dist/extraction/parse-budget.js.map +1 -0
- package/lib/dist/extraction/parse-pool.d.ts +41 -5
- package/lib/dist/extraction/parse-pool.d.ts.map +1 -1
- package/lib/dist/extraction/parse-pool.js +74 -158
- package/lib/dist/extraction/parse-pool.js.map +1 -1
- package/lib/dist/extraction/parse-worker.d.ts +1 -1
- package/lib/dist/extraction/parse-worker.d.ts.map +1 -1
- package/lib/dist/extraction/parse-worker.js +7 -58
- package/lib/dist/extraction/parse-worker.js.map +1 -1
- package/lib/dist/extraction/razor-extractor.d.ts +9 -0
- package/lib/dist/extraction/razor-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/razor-extractor.js +45 -69
- package/lib/dist/extraction/razor-extractor.js.map +1 -1
- package/lib/dist/extraction/razor-script.d.ts +23 -0
- package/lib/dist/extraction/razor-script.d.ts.map +1 -0
- package/lib/dist/extraction/razor-script.js +244 -0
- package/lib/dist/extraction/razor-script.js.map +1 -0
- package/lib/dist/extraction/sfc-script.d.ts +85 -0
- package/lib/dist/extraction/sfc-script.d.ts.map +1 -0
- package/lib/dist/extraction/sfc-script.js +136 -0
- package/lib/dist/extraction/sfc-script.js.map +1 -0
- package/lib/dist/extraction/store-worker.d.ts +1 -1
- package/lib/dist/extraction/store-worker.d.ts.map +1 -1
- package/lib/dist/extraction/store-worker.js +5 -37
- package/lib/dist/extraction/store-worker.js.map +1 -1
- package/lib/dist/extraction/store-writer.d.ts +10 -2
- package/lib/dist/extraction/store-writer.d.ts.map +1 -1
- package/lib/dist/extraction/store-writer.js +8 -32
- package/lib/dist/extraction/store-writer.js.map +1 -1
- package/lib/dist/extraction/svelte-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/svelte-extractor.js +16 -122
- package/lib/dist/extraction/svelte-extractor.js.map +1 -1
- package/lib/dist/extraction/syntax-tokens.d.ts +6 -5
- package/lib/dist/extraction/syntax-tokens.d.ts.map +1 -1
- package/lib/dist/extraction/syntax-tokens.js +6 -153
- package/lib/dist/extraction/syntax-tokens.js.map +1 -1
- package/lib/dist/extraction/tree-sitter-helpers.d.ts +37 -1
- package/lib/dist/extraction/tree-sitter-helpers.d.ts.map +1 -1
- package/lib/dist/extraction/tree-sitter-helpers.js +76 -68
- package/lib/dist/extraction/tree-sitter-helpers.js.map +1 -1
- package/lib/dist/extraction/tree-sitter-types.d.ts +102 -22
- package/lib/dist/extraction/tree-sitter-types.d.ts.map +1 -1
- package/lib/dist/extraction/tree-sitter-types.js +0 -7
- package/lib/dist/extraction/tree-sitter-types.js.map +1 -1
- package/lib/dist/extraction/tree-sitter.d.ts +455 -9
- package/lib/dist/extraction/tree-sitter.d.ts.map +1 -1
- package/lib/dist/extraction/tree-sitter.js +1998 -2517
- package/lib/dist/extraction/tree-sitter.js.map +1 -1
- package/lib/dist/extraction/vue-extractor.d.ts +20 -0
- package/lib/dist/extraction/vue-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/vue-extractor.js +113 -115
- package/lib/dist/extraction/vue-extractor.js.map +1 -1
- package/lib/dist/extraction/vue-options-api.d.ts +28 -0
- package/lib/dist/extraction/vue-options-api.d.ts.map +1 -0
- package/lib/dist/extraction/vue-options-api.js +164 -0
- package/lib/dist/extraction/vue-options-api.js.map +1 -0
- package/lib/dist/extraction/vue-template-calls.d.ts +37 -0
- package/lib/dist/extraction/vue-template-calls.d.ts.map +1 -0
- package/lib/dist/extraction/vue-template-calls.js +497 -0
- package/lib/dist/extraction/vue-template-calls.js.map +1 -0
- package/lib/dist/extraction/wasm/tree-sitter-cobol.wasm +0 -0
- package/lib/dist/extraction/wasm/tree-sitter-kotlin.wasm +0 -0
- package/lib/dist/extraction/wasm/tree-sitter-vbnet.wasm +0 -0
- package/lib/dist/extraction/wasm-runtime-flags.d.ts +6 -0
- package/lib/dist/extraction/wasm-runtime-flags.d.ts.map +1 -1
- package/lib/dist/extraction/wasm-runtime-flags.js +1 -88
- package/lib/dist/extraction/wasm-runtime-flags.js.map +1 -1
- package/lib/dist/file-limits.d.ts +8 -0
- package/lib/dist/file-limits.d.ts.map +1 -1
- package/lib/dist/file-limits.js +13 -28
- package/lib/dist/file-limits.js.map +1 -1
- package/lib/dist/graph/branch-guards.d.ts +17 -0
- package/lib/dist/graph/branch-guards.d.ts.map +1 -1
- package/lib/dist/graph/branch-guards.js +98 -250
- package/lib/dist/graph/branch-guards.js.map +1 -1
- package/lib/dist/graph/call-sites.d.ts +12 -0
- package/lib/dist/graph/call-sites.d.ts.map +1 -0
- package/lib/dist/graph/call-sites.js +17 -0
- package/lib/dist/graph/call-sites.js.map +1 -0
- package/lib/dist/graph/cobol-copybooks.d.ts +75 -0
- package/lib/dist/graph/cobol-copybooks.d.ts.map +1 -0
- package/lib/dist/graph/cobol-copybooks.js +45 -0
- package/lib/dist/graph/cobol-copybooks.js.map +1 -0
- package/lib/dist/graph/dead-code.d.ts +26 -4
- package/lib/dist/graph/dead-code.d.ts.map +1 -1
- package/lib/dist/graph/dead-code.js +157 -311
- package/lib/dist/graph/dead-code.js.map +1 -1
- package/lib/dist/graph/dynamic-boundary-report.js +1 -88
- package/lib/dist/graph/dynamic-boundary-report.js.map +1 -1
- package/lib/dist/graph/file-cycles.d.ts +20 -0
- package/lib/dist/graph/file-cycles.d.ts.map +1 -0
- package/lib/dist/graph/file-cycles.js +79 -0
- package/lib/dist/graph/file-cycles.js.map +1 -0
- package/lib/dist/graph/go-package.d.ts +27 -0
- package/lib/dist/graph/go-package.d.ts.map +1 -0
- package/lib/dist/graph/go-package.js +49 -0
- package/lib/dist/graph/go-package.js.map +1 -0
- package/lib/dist/graph/index.d.ts +2 -0
- package/lib/dist/graph/index.d.ts.map +1 -1
- package/lib/dist/graph/index.js +4 -6
- package/lib/dist/graph/index.js.map +1 -1
- package/lib/dist/graph/named-symbol-flow.d.ts +5 -1
- package/lib/dist/graph/named-symbol-flow.d.ts.map +1 -1
- package/lib/dist/graph/named-symbol-flow.js +85 -219
- package/lib/dist/graph/named-symbol-flow.js.map +1 -1
- package/lib/dist/graph/owning-package.d.ts +59 -0
- package/lib/dist/graph/owning-package.d.ts.map +1 -0
- package/lib/dist/graph/owning-package.js +120 -0
- package/lib/dist/graph/owning-package.js.map +1 -0
- package/lib/dist/graph/queries.d.ts +2 -2
- package/lib/dist/graph/queries.d.ts.map +1 -1
- package/lib/dist/graph/queries.js +2 -135
- package/lib/dist/graph/queries.js.map +1 -1
- package/lib/dist/graph/symbol-lookup.d.ts +15 -3
- package/lib/dist/graph/symbol-lookup.d.ts.map +1 -1
- package/lib/dist/graph/symbol-lookup.js +47 -89
- package/lib/dist/graph/symbol-lookup.js.map +1 -1
- package/lib/dist/graph/synthesized-hop.d.ts +37 -0
- package/lib/dist/graph/synthesized-hop.d.ts.map +1 -0
- package/lib/dist/graph/synthesized-hop.js +62 -0
- package/lib/dist/graph/synthesized-hop.js.map +1 -0
- package/lib/dist/graph/test-code.d.ts +21 -0
- package/lib/dist/graph/test-code.d.ts.map +1 -0
- package/lib/dist/graph/test-code.js +50 -0
- package/lib/dist/graph/test-code.js.map +1 -0
- package/lib/dist/graph/traversal.d.ts +31 -2
- package/lib/dist/graph/traversal.d.ts.map +1 -1
- package/lib/dist/graph/traversal.js +98 -226
- package/lib/dist/graph/traversal.js.map +1 -1
- package/lib/dist/graph/type-hierarchy.js +0 -138
- package/lib/dist/graph/type-hierarchy.js.map +1 -1
- package/lib/dist/index.d.ts +195 -25
- package/lib/dist/index.d.ts.map +1 -1
- package/lib/dist/index.js +697 -1105
- package/lib/dist/index.js.map +1 -1
- package/lib/dist/installer/beta-signup.js +0 -39
- package/lib/dist/installer/beta-signup.js.map +1 -1
- package/lib/dist/installer/config-writer.js +0 -24
- package/lib/dist/installer/config-writer.js.map +1 -1
- package/lib/dist/installer/index.d.ts +9 -5
- package/lib/dist/installer/index.d.ts.map +1 -1
- package/lib/dist/installer/index.js +25 -159
- package/lib/dist/installer/index.js.map +1 -1
- package/lib/dist/installer/instructions-template.d.ts +1 -1
- package/lib/dist/installer/instructions-template.js +0 -37
- package/lib/dist/installer/instructions-template.js.map +1 -1
- package/lib/dist/installer/targets/antigravity.js +0 -113
- package/lib/dist/installer/targets/antigravity.js.map +1 -1
- package/lib/dist/installer/targets/bob.d.ts +20 -0
- package/lib/dist/installer/targets/bob.d.ts.map +1 -0
- package/lib/dist/installer/targets/bob.js +83 -0
- package/lib/dist/installer/targets/bob.js.map +1 -0
- package/lib/dist/installer/targets/claude.d.ts.map +1 -1
- package/lib/dist/installer/targets/claude.js +1 -185
- package/lib/dist/installer/targets/claude.js.map +1 -1
- package/lib/dist/installer/targets/codex.d.ts.map +1 -1
- package/lib/dist/installer/targets/codex.js +17 -109
- 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 +2 -54
- package/lib/dist/installer/targets/copilot-cli.js.map +1 -1
- package/lib/dist/installer/targets/copilot-jetbrains.js +0 -57
- package/lib/dist/installer/targets/copilot-jetbrains.js.map +1 -1
- package/lib/dist/installer/targets/copilot-vscode.js +0 -58
- package/lib/dist/installer/targets/copilot-vscode.js.map +1 -1
- package/lib/dist/installer/targets/cursor.js +7 -88
- package/lib/dist/installer/targets/cursor.js.map +1 -1
- package/lib/dist/installer/targets/droid.d.ts +18 -0
- package/lib/dist/installer/targets/droid.d.ts.map +1 -0
- package/lib/dist/installer/targets/droid.js +92 -0
- package/lib/dist/installer/targets/droid.js.map +1 -0
- package/lib/dist/installer/targets/dsh.d.ts +35 -0
- package/lib/dist/installer/targets/dsh.d.ts.map +1 -0
- package/lib/dist/installer/targets/dsh.js +267 -0
- package/lib/dist/installer/targets/dsh.js.map +1 -0
- package/lib/dist/installer/targets/gemini.js +0 -37
- package/lib/dist/installer/targets/gemini.js.map +1 -1
- package/lib/dist/installer/targets/grok.d.ts +25 -0
- package/lib/dist/installer/targets/grok.d.ts.map +1 -0
- package/lib/dist/installer/targets/grok.js +96 -0
- package/lib/dist/installer/targets/grok.js.map +1 -0
- package/lib/dist/installer/targets/hermes.d.ts +19 -7
- package/lib/dist/installer/targets/hermes.d.ts.map +1 -1
- package/lib/dist/installer/targets/hermes.js +218 -214
- package/lib/dist/installer/targets/hermes.js.map +1 -1
- package/lib/dist/installer/targets/json-config.d.ts +45 -0
- package/lib/dist/installer/targets/json-config.d.ts.map +1 -0
- package/lib/dist/installer/targets/json-config.js +128 -0
- package/lib/dist/installer/targets/json-config.js.map +1 -0
- package/lib/dist/installer/targets/kimi.d.ts +21 -0
- package/lib/dist/installer/targets/kimi.d.ts.map +1 -0
- package/lib/dist/installer/targets/kimi.js +97 -0
- package/lib/dist/installer/targets/kimi.js.map +1 -0
- package/lib/dist/installer/targets/kiro.js +1 -41
- package/lib/dist/installer/targets/kiro.js.map +1 -1
- package/lib/dist/installer/targets/opencode.js +0 -102
- package/lib/dist/installer/targets/opencode.js.map +1 -1
- package/lib/dist/installer/targets/pi.d.ts +24 -0
- package/lib/dist/installer/targets/pi.d.ts.map +1 -0
- package/lib/dist/installer/targets/pi.js +100 -0
- package/lib/dist/installer/targets/pi.js.map +1 -0
- package/lib/dist/installer/targets/qoder.d.ts +23 -0
- package/lib/dist/installer/targets/qoder.d.ts.map +1 -0
- package/lib/dist/installer/targets/qoder.js +83 -0
- package/lib/dist/installer/targets/qoder.js.map +1 -0
- package/lib/dist/installer/targets/qwen.d.ts +21 -0
- package/lib/dist/installer/targets/qwen.d.ts.map +1 -0
- package/lib/dist/installer/targets/qwen.js +115 -0
- package/lib/dist/installer/targets/qwen.js.map +1 -0
- package/lib/dist/installer/targets/registry.d.ts.map +1 -1
- package/lib/dist/installer/targets/registry.js +18 -25
- package/lib/dist/installer/targets/registry.js.map +1 -1
- package/lib/dist/installer/targets/shared.d.ts +81 -11
- package/lib/dist/installer/targets/shared.d.ts.map +1 -1
- package/lib/dist/installer/targets/shared.js +183 -129
- package/lib/dist/installer/targets/shared.js.map +1 -1
- package/lib/dist/installer/targets/toml.d.ts +82 -6
- package/lib/dist/installer/targets/toml.d.ts.map +1 -1
- package/lib/dist/installer/targets/toml.js +318 -112
- package/lib/dist/installer/targets/toml.js.map +1 -1
- package/lib/dist/installer/targets/types.d.ts +1 -1
- package/lib/dist/installer/targets/types.d.ts.map +1 -1
- package/lib/dist/installer/targets/types.js +0 -13
- package/lib/dist/installer/targets/types.js.map +1 -1
- package/lib/dist/installer/targets/windsurf.d.ts +22 -0
- package/lib/dist/installer/targets/windsurf.d.ts.map +1 -0
- package/lib/dist/installer/targets/windsurf.js +90 -0
- package/lib/dist/installer/targets/windsurf.js.map +1 -0
- package/lib/dist/lazy-engine.d.ts +22 -0
- package/lib/dist/lazy-engine.d.ts.map +1 -0
- package/lib/dist/lazy-engine.js +16 -0
- package/lib/dist/lazy-engine.js.map +1 -0
- package/lib/dist/mcp/answer-freshness.js +0 -6
- package/lib/dist/mcp/answer-freshness.js.map +1 -1
- package/lib/dist/mcp/daemon-manager.js +2 -23
- package/lib/dist/mcp/daemon-manager.js.map +1 -1
- package/lib/dist/mcp/daemon-paths.d.ts.map +1 -1
- package/lib/dist/mcp/daemon-paths.js +2 -79
- package/lib/dist/mcp/daemon-paths.js.map +1 -1
- package/lib/dist/mcp/daemon-registry.d.ts +44 -0
- package/lib/dist/mcp/daemon-registry.d.ts.map +1 -1
- package/lib/dist/mcp/daemon-registry.js +189 -118
- package/lib/dist/mcp/daemon-registry.js.map +1 -1
- package/lib/dist/mcp/daemon.d.ts +23 -0
- package/lib/dist/mcp/daemon.d.ts.map +1 -1
- package/lib/dist/mcp/daemon.js +89 -373
- package/lib/dist/mcp/daemon.js.map +1 -1
- package/lib/dist/mcp/dynamic-boundaries.js +4 -78
- package/lib/dist/mcp/dynamic-boundaries.js.map +1 -1
- package/lib/dist/mcp/early-ppid.js +0 -24
- package/lib/dist/mcp/early-ppid.js.map +1 -1
- package/lib/dist/mcp/engine.d.ts +10 -0
- package/lib/dist/mcp/engine.d.ts.map +1 -1
- package/lib/dist/mcp/engine.js +41 -152
- package/lib/dist/mcp/engine.js.map +1 -1
- package/lib/dist/mcp/explore-dedup.js +0 -108
- package/lib/dist/mcp/explore-dedup.js.map +1 -1
- package/lib/dist/mcp/explore-diagnostics.js +0 -116
- package/lib/dist/mcp/explore-diagnostics.js.map +1 -1
- package/lib/dist/mcp/explore-session-state.js +0 -129
- package/lib/dist/mcp/explore-session-state.js.map +1 -1
- package/lib/dist/mcp/index-freshness-worker.js +5 -4
- package/lib/dist/mcp/index-freshness-worker.js.map +1 -1
- package/lib/dist/mcp/index-freshness.d.ts +7 -1
- package/lib/dist/mcp/index-freshness.d.ts.map +1 -1
- package/lib/dist/mcp/index-freshness.js +20 -12
- package/lib/dist/mcp/index-freshness.js.map +1 -1
- package/lib/dist/mcp/index-version-warning.d.ts +21 -0
- package/lib/dist/mcp/index-version-warning.d.ts.map +1 -0
- package/lib/dist/mcp/index-version-warning.js +38 -0
- package/lib/dist/mcp/index-version-warning.js.map +1 -0
- package/lib/dist/mcp/index.d.ts +19 -1
- package/lib/dist/mcp/index.d.ts.map +1 -1
- package/lib/dist/mcp/index.js +118 -293
- package/lib/dist/mcp/index.js.map +1 -1
- package/lib/dist/mcp/liveness-watchdog.d.ts +13 -3
- package/lib/dist/mcp/liveness-watchdog.d.ts.map +1 -1
- package/lib/dist/mcp/liveness-watchdog.js +106 -121
- package/lib/dist/mcp/liveness-watchdog.js.map +1 -1
- package/lib/dist/mcp/ppid-watchdog.js +0 -24
- package/lib/dist/mcp/ppid-watchdog.js.map +1 -1
- package/lib/dist/mcp/process-identity.d.ts +42 -0
- package/lib/dist/mcp/process-identity.d.ts.map +1 -0
- package/lib/dist/mcp/process-identity.js +130 -0
- package/lib/dist/mcp/process-identity.js.map +1 -0
- package/lib/dist/mcp/project-lifecycle.d.ts.map +1 -1
- package/lib/dist/mcp/project-lifecycle.js +55 -21
- package/lib/dist/mcp/project-lifecycle.js.map +1 -1
- package/lib/dist/mcp/proxy.d.ts +26 -8
- package/lib/dist/mcp/proxy.d.ts.map +1 -1
- package/lib/dist/mcp/proxy.js +209 -223
- package/lib/dist/mcp/proxy.js.map +1 -1
- package/lib/dist/mcp/query-pool.d.ts +58 -3
- package/lib/dist/mcp/query-pool.d.ts.map +1 -1
- package/lib/dist/mcp/query-pool.js +140 -100
- package/lib/dist/mcp/query-pool.js.map +1 -1
- package/lib/dist/mcp/query-worker.js +24 -36
- package/lib/dist/mcp/query-worker.js.map +1 -1
- package/lib/dist/mcp/server-instructions.js +0 -31
- package/lib/dist/mcp/server-instructions.js.map +1 -1
- package/lib/dist/mcp/session.d.ts +27 -0
- package/lib/dist/mcp/session.d.ts.map +1 -1
- package/lib/dist/mcp/session.js +29 -130
- package/lib/dist/mcp/session.js.map +1 -1
- package/lib/dist/mcp/startup-handshake.js +1 -48
- package/lib/dist/mcp/startup-handshake.js.map +1 -1
- package/lib/dist/mcp/stdin-teardown.js +0 -28
- package/lib/dist/mcp/stdin-teardown.js.map +1 -1
- package/lib/dist/mcp/stdout-teardown.d.ts +26 -0
- package/lib/dist/mcp/stdout-teardown.d.ts.map +1 -0
- package/lib/dist/mcp/stdout-teardown.js +20 -0
- package/lib/dist/mcp/stdout-teardown.js.map +1 -0
- package/lib/dist/mcp/tools.d.ts +159 -20
- package/lib/dist/mcp/tools.d.ts.map +1 -1
- package/lib/dist/mcp/tools.js +730 -3545
- package/lib/dist/mcp/tools.js.map +1 -1
- package/lib/dist/mcp/transport.d.ts.map +1 -1
- package/lib/dist/mcp/transport.js +4 -96
- package/lib/dist/mcp/transport.js.map +1 -1
- package/lib/dist/mcp/version.d.ts +13 -1
- package/lib/dist/mcp/version.d.ts.map +1 -1
- package/lib/dist/mcp/version.js +19 -21
- package/lib/dist/mcp/version.js.map +1 -1
- package/lib/dist/mcp/writer-lock.d.ts +11 -0
- package/lib/dist/mcp/writer-lock.d.ts.map +1 -1
- package/lib/dist/mcp/writer-lock.js +49 -46
- package/lib/dist/mcp/writer-lock.js.map +1 -1
- package/lib/dist/project-config.js +1 -138
- package/lib/dist/project-config.js.map +1 -1
- package/lib/dist/resolution/alias-binding.d.ts +7 -0
- package/lib/dist/resolution/alias-binding.d.ts.map +1 -1
- package/lib/dist/resolution/alias-binding.js +19 -52
- package/lib/dist/resolution/alias-binding.js.map +1 -1
- package/lib/dist/resolution/ambient-modules.d.ts +185 -0
- package/lib/dist/resolution/ambient-modules.d.ts.map +1 -0
- package/lib/dist/resolution/ambient-modules.js +732 -0
- package/lib/dist/resolution/ambient-modules.js.map +1 -0
- package/lib/dist/resolution/angular-template-synthesizer.d.ts +96 -0
- package/lib/dist/resolution/angular-template-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/angular-template-synthesizer.js +695 -0
- package/lib/dist/resolution/angular-template-synthesizer.js.map +1 -0
- package/lib/dist/resolution/c-feature-variants.d.ts +40 -0
- package/lib/dist/resolution/c-feature-variants.d.ts.map +1 -0
- package/lib/dist/resolution/c-feature-variants.js +249 -0
- package/lib/dist/resolution/c-feature-variants.js.map +1 -0
- package/lib/dist/resolution/c-fnptr-synthesizer.d.ts.map +1 -1
- package/lib/dist/resolution/c-fnptr-synthesizer.js +23 -391
- package/lib/dist/resolution/c-fnptr-synthesizer.js.map +1 -1
- package/lib/dist/resolution/c-macro-renames.d.ts +25 -0
- package/lib/dist/resolution/c-macro-renames.d.ts.map +1 -0
- package/lib/dist/resolution/c-macro-renames.js +95 -0
- package/lib/dist/resolution/c-macro-renames.js.map +1 -0
- package/lib/dist/resolution/callback-synthesizer.d.ts +15 -1
- package/lib/dist/resolution/callback-synthesizer.d.ts.map +1 -1
- package/lib/dist/resolution/callback-synthesizer.js +1487 -1234
- package/lib/dist/resolution/callback-synthesizer.js.map +1 -1
- package/lib/dist/resolution/const-alias-synthesizer.d.ts +48 -0
- package/lib/dist/resolution/const-alias-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/const-alias-synthesizer.js +234 -0
- package/lib/dist/resolution/const-alias-synthesizer.js.map +1 -0
- package/lib/dist/resolution/cooperative-yield.js +0 -27
- package/lib/dist/resolution/cooperative-yield.js.map +1 -1
- package/lib/dist/resolution/cpp-constructor.d.ts.map +1 -1
- package/lib/dist/resolution/cpp-constructor.js +15 -17
- package/lib/dist/resolution/cpp-constructor.js.map +1 -1
- package/lib/dist/resolution/cpp-includers.d.ts +46 -0
- package/lib/dist/resolution/cpp-includers.d.ts.map +1 -0
- package/lib/dist/resolution/cpp-includers.js +153 -0
- package/lib/dist/resolution/cpp-includers.js.map +1 -0
- package/lib/dist/resolution/cpp-macro-visibility.d.ts +16 -0
- package/lib/dist/resolution/cpp-macro-visibility.d.ts.map +1 -1
- package/lib/dist/resolution/cpp-macro-visibility.js +60 -61
- package/lib/dist/resolution/cpp-macro-visibility.js.map +1 -1
- package/lib/dist/resolution/cpp-namespaces.d.ts +54 -0
- package/lib/dist/resolution/cpp-namespaces.d.ts.map +1 -0
- package/lib/dist/resolution/cpp-namespaces.js +151 -0
- package/lib/dist/resolution/cpp-namespaces.js.map +1 -0
- package/lib/dist/resolution/cpp-raw-strings.d.ts +33 -0
- package/lib/dist/resolution/cpp-raw-strings.d.ts.map +1 -0
- package/lib/dist/resolution/cpp-raw-strings.js +167 -0
- package/lib/dist/resolution/cpp-raw-strings.js.map +1 -0
- package/lib/dist/resolution/cpp-supertypes.d.ts +118 -0
- package/lib/dist/resolution/cpp-supertypes.d.ts.map +1 -0
- package/lib/dist/resolution/cpp-supertypes.js +322 -0
- package/lib/dist/resolution/cpp-supertypes.js.map +1 -0
- package/lib/dist/resolution/cpp-template-instantiations.d.ts +83 -0
- package/lib/dist/resolution/cpp-template-instantiations.d.ts.map +1 -0
- package/lib/dist/resolution/cpp-template-instantiations.js +983 -0
- package/lib/dist/resolution/cpp-template-instantiations.js.map +1 -0
- package/lib/dist/resolution/cpp-type-aliases.d.ts +194 -0
- package/lib/dist/resolution/cpp-type-aliases.d.ts.map +1 -0
- package/lib/dist/resolution/cpp-type-aliases.js +648 -0
- package/lib/dist/resolution/cpp-type-aliases.js.map +1 -0
- package/lib/dist/resolution/dart-libraries.d.ts +75 -0
- package/lib/dist/resolution/dart-libraries.d.ts.map +1 -0
- package/lib/dist/resolution/dart-libraries.js +721 -0
- package/lib/dist/resolution/dart-libraries.js.map +1 -0
- package/lib/dist/resolution/dart-local-scope.d.ts +41 -0
- package/lib/dist/resolution/dart-local-scope.d.ts.map +1 -0
- package/lib/dist/resolution/dart-local-scope.js +565 -0
- package/lib/dist/resolution/dart-local-scope.js.map +1 -0
- package/lib/dist/resolution/expo-router-synthesizer.js +0 -52
- package/lib/dist/resolution/expo-router-synthesizer.js.map +1 -1
- package/lib/dist/resolution/frameworks/angular-router.d.ts +142 -0
- package/lib/dist/resolution/frameworks/angular-router.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/angular-router.js +959 -0
- package/lib/dist/resolution/frameworks/angular-router.js.map +1 -0
- package/lib/dist/resolution/frameworks/astro.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/astro.js +30 -60
- package/lib/dist/resolution/frameworks/astro.js.map +1 -1
- package/lib/dist/resolution/frameworks/cargo-workspace.d.ts +18 -1
- package/lib/dist/resolution/frameworks/cargo-workspace.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/cargo-workspace.js +65 -15
- package/lib/dist/resolution/frameworks/cargo-workspace.js.map +1 -1
- package/lib/dist/resolution/frameworks/cics.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/cics.js +7 -33
- package/lib/dist/resolution/frameworks/cics.js.map +1 -1
- package/lib/dist/resolution/frameworks/codeigniter.d.ts +23 -0
- package/lib/dist/resolution/frameworks/codeigniter.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/codeigniter.js +271 -0
- package/lib/dist/resolution/frameworks/codeigniter.js.map +1 -0
- package/lib/dist/resolution/frameworks/component-folder.d.ts +17 -0
- package/lib/dist/resolution/frameworks/component-folder.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/component-folder.js +11 -0
- package/lib/dist/resolution/frameworks/component-folder.js.map +1 -0
- package/lib/dist/resolution/frameworks/csharp.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/csharp.js +106 -101
- package/lib/dist/resolution/frameworks/csharp.js.map +1 -1
- package/lib/dist/resolution/frameworks/drupal.d.ts +17 -8
- package/lib/dist/resolution/frameworks/drupal.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/drupal.js +377 -142
- package/lib/dist/resolution/frameworks/drupal.js.map +1 -1
- package/lib/dist/resolution/frameworks/expo-modules.d.ts +10 -0
- package/lib/dist/resolution/frameworks/expo-modules.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/expo-modules.js +79 -65
- package/lib/dist/resolution/frameworks/expo-modules.js.map +1 -1
- package/lib/dist/resolution/frameworks/expo-router.d.ts +6 -0
- package/lib/dist/resolution/frameworks/expo-router.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/expo-router.js +64 -183
- package/lib/dist/resolution/frameworks/expo-router.js.map +1 -1
- package/lib/dist/resolution/frameworks/express.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/express.js +215 -173
- package/lib/dist/resolution/frameworks/express.js.map +1 -1
- package/lib/dist/resolution/frameworks/fabric.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/fabric.js +11 -112
- package/lib/dist/resolution/frameworks/fabric.js.map +1 -1
- package/lib/dist/resolution/frameworks/go.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/go.js +15 -61
- package/lib/dist/resolution/frameworks/go.js.map +1 -1
- package/lib/dist/resolution/frameworks/goframe.js +1 -55
- package/lib/dist/resolution/frameworks/goframe.js.map +1 -1
- package/lib/dist/resolution/frameworks/index.d.ts +16 -2
- package/lib/dist/resolution/frameworks/index.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/index.js +20 -48
- 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 +209 -147
- package/lib/dist/resolution/frameworks/java.js.map +1 -1
- package/lib/dist/resolution/frameworks/laravel.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/laravel.js +291 -71
- package/lib/dist/resolution/frameworks/laravel.js.map +1 -1
- package/lib/dist/resolution/frameworks/name-heuristic.d.ts +35 -0
- package/lib/dist/resolution/frameworks/name-heuristic.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/name-heuristic.js +33 -0
- package/lib/dist/resolution/frameworks/name-heuristic.js.map +1 -0
- package/lib/dist/resolution/frameworks/nestjs.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/nestjs.js +236 -192
- package/lib/dist/resolution/frameworks/nestjs.js.map +1 -1
- package/lib/dist/resolution/frameworks/next-proxy.d.ts +67 -0
- package/lib/dist/resolution/frameworks/next-proxy.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/next-proxy.js +239 -0
- package/lib/dist/resolution/frameworks/next-proxy.js.map +1 -0
- package/lib/dist/resolution/frameworks/nextjs.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/nextjs.js +11 -66
- package/lib/dist/resolution/frameworks/nextjs.js.map +1 -1
- package/lib/dist/resolution/frameworks/object-literal.js +0 -21
- package/lib/dist/resolution/frameworks/object-literal.js.map +1 -1
- package/lib/dist/resolution/frameworks/package-deps.d.ts +11 -7
- package/lib/dist/resolution/frameworks/package-deps.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/package-deps.js +35 -26
- package/lib/dist/resolution/frameworks/package-deps.js.map +1 -1
- package/lib/dist/resolution/frameworks/page-component.d.ts +20 -0
- package/lib/dist/resolution/frameworks/page-component.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/page-component.js +31 -0
- package/lib/dist/resolution/frameworks/page-component.js.map +1 -0
- package/lib/dist/resolution/frameworks/play.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/play.js +27 -33
- package/lib/dist/resolution/frameworks/play.js.map +1 -1
- package/lib/dist/resolution/frameworks/python.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/python.js +106 -116
- package/lib/dist/resolution/frameworks/python.js.map +1 -1
- package/lib/dist/resolution/frameworks/react-native.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/react-native.js +1 -166
- package/lib/dist/resolution/frameworks/react-native.js.map +1 -1
- package/lib/dist/resolution/frameworks/react-router.d.ts +17 -7
- package/lib/dist/resolution/frameworks/react-router.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/react-router.js +21 -79
- package/lib/dist/resolution/frameworks/react-router.js.map +1 -1
- package/lib/dist/resolution/frameworks/react.d.ts +68 -1
- package/lib/dist/resolution/frameworks/react.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/react.js +1721 -114
- package/lib/dist/resolution/frameworks/react.js.map +1 -1
- package/lib/dist/resolution/frameworks/ruby.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/ruby.js +152 -52
- package/lib/dist/resolution/frameworks/ruby.js.map +1 -1
- package/lib/dist/resolution/frameworks/rust.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/rust.js +51 -70
- package/lib/dist/resolution/frameworks/rust.js.map +1 -1
- package/lib/dist/resolution/frameworks/svelte.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/svelte.js +9 -74
- package/lib/dist/resolution/frameworks/svelte.js.map +1 -1
- package/lib/dist/resolution/frameworks/sveltekit-router.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/sveltekit-router.js +8 -46
- package/lib/dist/resolution/frameworks/sveltekit-router.js.map +1 -1
- package/lib/dist/resolution/frameworks/swift-objc.js +0 -97
- package/lib/dist/resolution/frameworks/swift-objc.js.map +1 -1
- package/lib/dist/resolution/frameworks/swift.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/swift.js +199 -167
- package/lib/dist/resolution/frameworks/swift.js.map +1 -1
- package/lib/dist/resolution/frameworks/tanstack-router.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/tanstack-router.js +9 -130
- package/lib/dist/resolution/frameworks/tanstack-router.js.map +1 -1
- package/lib/dist/resolution/frameworks/terraform.js +1 -85
- package/lib/dist/resolution/frameworks/terraform.js.map +1 -1
- package/lib/dist/resolution/frameworks/vue-router.d.ts +26 -10
- package/lib/dist/resolution/frameworks/vue-router.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/vue-router.js +147 -147
- package/lib/dist/resolution/frameworks/vue-router.js.map +1 -1
- package/lib/dist/resolution/frameworks/vue.d.ts +9 -2
- package/lib/dist/resolution/frameworks/vue.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/vue.js +69 -107
- package/lib/dist/resolution/frameworks/vue.js.map +1 -1
- package/lib/dist/resolution/go-func-field-synthesizer.d.ts +58 -0
- package/lib/dist/resolution/go-func-field-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/go-func-field-synthesizer.js +696 -0
- package/lib/dist/resolution/go-func-field-synthesizer.js.map +1 -0
- package/lib/dist/resolution/go-module.d.ts +23 -7
- package/lib/dist/resolution/go-module.d.ts.map +1 -1
- package/lib/dist/resolution/go-module.js +21 -24
- package/lib/dist/resolution/go-module.js.map +1 -1
- package/lib/dist/resolution/go-stdlib-methods.d.ts +9 -0
- package/lib/dist/resolution/go-stdlib-methods.d.ts.map +1 -0
- package/lib/dist/resolution/go-stdlib-methods.js +224 -0
- package/lib/dist/resolution/go-stdlib-methods.js.map +1 -0
- package/lib/dist/resolution/goframe-synthesizer.js +2 -53
- package/lib/dist/resolution/goframe-synthesizer.js.map +1 -1
- package/lib/dist/resolution/import-resolver.d.ts +298 -23
- package/lib/dist/resolution/import-resolver.d.ts.map +1 -1
- package/lib/dist/resolution/import-resolver.js +1802 -1280
- package/lib/dist/resolution/import-resolver.js.map +1 -1
- package/lib/dist/resolution/index.d.ts +449 -5
- package/lib/dist/resolution/index.d.ts.map +1 -1
- package/lib/dist/resolution/index.js +1477 -981
- package/lib/dist/resolution/index.js.map +1 -1
- package/lib/dist/resolution/js-builtins.d.ts +14 -0
- package/lib/dist/resolution/js-builtins.d.ts.map +1 -1
- package/lib/dist/resolution/js-builtins.js +15 -13
- package/lib/dist/resolution/js-builtins.js.map +1 -1
- package/lib/dist/resolution/js-class-expressions.d.ts +48 -0
- package/lib/dist/resolution/js-class-expressions.d.ts.map +1 -0
- package/lib/dist/resolution/js-class-expressions.js +25 -0
- package/lib/dist/resolution/js-class-expressions.js.map +1 -0
- package/lib/dist/resolution/js-super-calls.d.ts +18 -0
- package/lib/dist/resolution/js-super-calls.d.ts.map +1 -0
- package/lib/dist/resolution/js-super-calls.js +94 -0
- package/lib/dist/resolution/js-super-calls.js.map +1 -0
- package/lib/dist/resolution/jsx-code.d.ts +28 -0
- package/lib/dist/resolution/jsx-code.d.ts.map +1 -0
- package/lib/dist/resolution/jsx-code.js +459 -0
- package/lib/dist/resolution/jsx-code.js.map +1 -0
- package/lib/dist/resolution/lru-cache.d.ts +5 -13
- package/lib/dist/resolution/lru-cache.d.ts.map +1 -1
- package/lib/dist/resolution/lru-cache.js +43 -32
- package/lib/dist/resolution/lru-cache.js.map +1 -1
- package/lib/dist/resolution/memory-budget.js +0 -52
- package/lib/dist/resolution/memory-budget.js.map +1 -1
- package/lib/dist/resolution/module-importers.d.ts +185 -0
- package/lib/dist/resolution/module-importers.d.ts.map +1 -0
- package/lib/dist/resolution/module-importers.js +588 -0
- package/lib/dist/resolution/module-importers.js.map +1 -0
- package/lib/dist/resolution/name-matcher.d.ts +891 -8
- package/lib/dist/resolution/name-matcher.d.ts.map +1 -1
- package/lib/dist/resolution/name-matcher.js +25013 -2928
- package/lib/dist/resolution/name-matcher.js.map +1 -1
- package/lib/dist/resolution/next-router-synthesizer.d.ts +19 -0
- package/lib/dist/resolution/next-router-synthesizer.d.ts.map +1 -1
- package/lib/dist/resolution/next-router-synthesizer.js +46 -28
- package/lib/dist/resolution/next-router-synthesizer.js.map +1 -1
- package/lib/dist/resolution/override-parameters.d.ts +40 -0
- package/lib/dist/resolution/override-parameters.d.ts.map +1 -0
- package/lib/dist/resolution/override-parameters.js +339 -0
- package/lib/dist/resolution/override-parameters.js.map +1 -0
- package/lib/dist/resolution/parameter-flow.d.ts +218 -0
- package/lib/dist/resolution/parameter-flow.d.ts.map +1 -0
- package/lib/dist/resolution/parameter-flow.js +474 -0
- package/lib/dist/resolution/parameter-flow.js.map +1 -0
- package/lib/dist/resolution/pascal-scope.d.ts +91 -0
- package/lib/dist/resolution/pascal-scope.d.ts.map +1 -0
- package/lib/dist/resolution/pascal-scope.js +961 -0
- package/lib/dist/resolution/pascal-scope.js.map +1 -0
- package/lib/dist/resolution/path-aliases.d.ts +32 -4
- package/lib/dist/resolution/path-aliases.d.ts.map +1 -1
- package/lib/dist/resolution/path-aliases.js +43 -110
- package/lib/dist/resolution/path-aliases.js.map +1 -1
- package/lib/dist/resolution/project-scans.d.ts +38 -0
- package/lib/dist/resolution/project-scans.d.ts.map +1 -0
- package/lib/dist/resolution/project-scans.js +30 -0
- package/lib/dist/resolution/project-scans.js.map +1 -0
- package/lib/dist/resolution/react-router-synthesizer.d.ts +2 -0
- package/lib/dist/resolution/react-router-synthesizer.d.ts.map +1 -1
- package/lib/dist/resolution/react-router-synthesizer.js +67 -48
- package/lib/dist/resolution/react-router-synthesizer.js.map +1 -1
- package/lib/dist/resolution/resolver-pool.d.ts +43 -3
- package/lib/dist/resolution/resolver-pool.d.ts.map +1 -1
- package/lib/dist/resolution/resolver-pool.js +55 -97
- package/lib/dist/resolution/resolver-pool.js.map +1 -1
- package/lib/dist/resolution/resolver-worker.d.ts +1 -1
- package/lib/dist/resolution/resolver-worker.d.ts.map +1 -1
- package/lib/dist/resolution/resolver-worker.js +10 -36
- package/lib/dist/resolution/resolver-worker.js.map +1 -1
- package/lib/dist/resolution/resurrect-ref.d.ts +25 -0
- package/lib/dist/resolution/resurrect-ref.d.ts.map +1 -0
- package/lib/dist/resolution/resurrect-ref.js +19 -0
- package/lib/dist/resolution/resurrect-ref.js.map +1 -0
- package/lib/dist/resolution/ruby-constant-paths.d.ts +56 -0
- package/lib/dist/resolution/ruby-constant-paths.d.ts.map +1 -0
- package/lib/dist/resolution/ruby-constant-paths.js +255 -0
- package/lib/dist/resolution/ruby-constant-paths.js.map +1 -0
- package/lib/dist/resolution/ruby-parameter-flow.d.ts +10 -0
- package/lib/dist/resolution/ruby-parameter-flow.d.ts.map +1 -0
- package/lib/dist/resolution/ruby-parameter-flow.js +801 -0
- package/lib/dist/resolution/ruby-parameter-flow.js.map +1 -0
- package/lib/dist/resolution/rust-scopes.d.ts +120 -0
- package/lib/dist/resolution/rust-scopes.d.ts.map +1 -0
- package/lib/dist/resolution/rust-scopes.js +730 -0
- package/lib/dist/resolution/rust-scopes.js.map +1 -0
- package/lib/dist/resolution/shopify-themes.d.ts +10 -0
- package/lib/dist/resolution/shopify-themes.d.ts.map +1 -0
- package/lib/dist/resolution/shopify-themes.js +19 -0
- package/lib/dist/resolution/shopify-themes.js.map +1 -0
- package/lib/dist/resolution/strip-comments.d.ts +20 -1
- package/lib/dist/resolution/strip-comments.d.ts.map +1 -1
- package/lib/dist/resolution/strip-comments.js +164 -119
- package/lib/dist/resolution/strip-comments.js.map +1 -1
- package/lib/dist/resolution/sveltekit-synthesizer.js +0 -64
- package/lib/dist/resolution/sveltekit-synthesizer.js.map +1 -1
- package/lib/dist/resolution/swift-objc-bridge.js +0 -160
- package/lib/dist/resolution/swift-objc-bridge.js.map +1 -1
- package/lib/dist/resolution/swift-type-visibility.d.ts +68 -0
- package/lib/dist/resolution/swift-type-visibility.d.ts.map +1 -0
- package/lib/dist/resolution/swift-type-visibility.js +355 -0
- package/lib/dist/resolution/swift-type-visibility.js.map +1 -0
- package/lib/dist/resolution/synth-utils.js +1 -22
- package/lib/dist/resolution/synth-utils.js.map +1 -1
- package/lib/dist/resolution/tanstack-router-synthesizer.js +0 -32
- package/lib/dist/resolution/tanstack-router-synthesizer.js.map +1 -1
- package/lib/dist/resolution/tauri-synthesizer.d.ts +37 -0
- package/lib/dist/resolution/tauri-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/tauri-synthesizer.js +1038 -0
- package/lib/dist/resolution/tauri-synthesizer.js.map +1 -0
- package/lib/dist/resolution/tier-synthesizer.d.ts +7 -2
- package/lib/dist/resolution/tier-synthesizer.d.ts.map +1 -1
- package/lib/dist/resolution/tier-synthesizer.js +318 -121
- package/lib/dist/resolution/tier-synthesizer.js.map +1 -1
- package/lib/dist/resolution/type-parameters.d.ts +34 -0
- package/lib/dist/resolution/type-parameters.d.ts.map +1 -0
- package/lib/dist/resolution/type-parameters.js +285 -0
- package/lib/dist/resolution/type-parameters.js.map +1 -0
- package/lib/dist/resolution/types.d.ts +209 -10
- package/lib/dist/resolution/types.d.ts.map +1 -1
- package/lib/dist/resolution/types.js +0 -47
- package/lib/dist/resolution/types.js.map +1 -1
- package/lib/dist/resolution/vbnet-receivers.d.ts +92 -0
- package/lib/dist/resolution/vbnet-receivers.d.ts.map +1 -0
- package/lib/dist/resolution/vbnet-receivers.js +1482 -0
- package/lib/dist/resolution/vbnet-receivers.js.map +1 -0
- package/lib/dist/resolution/vue-router-synthesizer.js +0 -31
- package/lib/dist/resolution/vue-router-synthesizer.js.map +1 -1
- package/lib/dist/resolution/workspace-packages.d.ts +206 -15
- package/lib/dist/resolution/workspace-packages.d.ts.map +1 -1
- package/lib/dist/resolution/workspace-packages.js +570 -152
- package/lib/dist/resolution/workspace-packages.js.map +1 -1
- package/lib/dist/search/identifier-segments.js +2 -93
- package/lib/dist/search/identifier-segments.js.map +1 -1
- package/lib/dist/search/query-parser.js +0 -54
- package/lib/dist/search/query-parser.js.map +1 -1
- package/lib/dist/search/query-paths.js +0 -167
- package/lib/dist/search/query-paths.js.map +1 -1
- package/lib/dist/search/query-utils.d.ts +44 -0
- package/lib/dist/search/query-utils.d.ts.map +1 -1
- package/lib/dist/search/query-utils.js +120 -198
- package/lib/dist/search/query-utils.js.map +1 -1
- package/lib/dist/sync/git-hooks.d.ts +14 -5
- package/lib/dist/sync/git-hooks.d.ts.map +1 -1
- package/lib/dist/sync/git-hooks.js +118 -65
- package/lib/dist/sync/git-hooks.js.map +1 -1
- package/lib/dist/sync/index.js +0 -14
- package/lib/dist/sync/index.js.map +1 -1
- package/lib/dist/sync/watch-policy.js +0 -45
- package/lib/dist/sync/watch-policy.js.map +1 -1
- package/lib/dist/sync/watcher.d.ts +29 -11
- package/lib/dist/sync/watcher.d.ts.map +1 -1
- package/lib/dist/sync/watcher.js +83 -487
- package/lib/dist/sync/watcher.js.map +1 -1
- package/lib/dist/sync/worktree.d.ts +29 -2
- package/lib/dist/sync/worktree.d.ts.map +1 -1
- package/lib/dist/sync/worktree.js +59 -78
- package/lib/dist/sync/worktree.js.map +1 -1
- package/lib/dist/telemetry/index.d.ts.map +1 -1
- package/lib/dist/telemetry/index.js +68 -146
- package/lib/dist/telemetry/index.js.map +1 -1
- package/lib/dist/types.d.ts +46 -0
- package/lib/dist/types.d.ts.map +1 -1
- package/lib/dist/types.js +15 -44
- package/lib/dist/types.js.map +1 -1
- package/lib/dist/ui/color.js +0 -19
- package/lib/dist/ui/color.js.map +1 -1
- package/lib/dist/ui/glyphs.js +2 -45
- package/lib/dist/ui/glyphs.js.map +1 -1
- package/lib/dist/ui/shimmer-progress.js +0 -21
- package/lib/dist/ui/shimmer-progress.js.map +1 -1
- package/lib/dist/ui/shimmer-worker.js +0 -22
- package/lib/dist/ui/shimmer-worker.js.map +1 -1
- package/lib/dist/ui-server/api/deadcode.d.ts.map +1 -1
- package/lib/dist/ui-server/api/deadcode.js +2 -31
- package/lib/dist/ui-server/api/deadcode.js.map +1 -1
- package/lib/dist/ui-server/api/effects.d.ts +7 -0
- package/lib/dist/ui-server/api/effects.d.ts.map +1 -1
- package/lib/dist/ui-server/api/effects.js +20 -103
- package/lib/dist/ui-server/api/effects.js.map +1 -1
- package/lib/dist/ui-server/api/entrypoints.d.ts +6 -0
- package/lib/dist/ui-server/api/entrypoints.d.ts.map +1 -1
- package/lib/dist/ui-server/api/entrypoints.js +73 -130
- package/lib/dist/ui-server/api/entrypoints.js.map +1 -1
- package/lib/dist/ui-server/api/events.js +0 -145
- package/lib/dist/ui-server/api/events.js.map +1 -1
- package/lib/dist/ui-server/api/file.js +0 -80
- package/lib/dist/ui-server/api/file.js.map +1 -1
- package/lib/dist/ui-server/api/filecode.js +0 -95
- package/lib/dist/ui-server/api/filecode.js.map +1 -1
- package/lib/dist/ui-server/api/flow.js +0 -149
- package/lib/dist/ui-server/api/flow.js.map +1 -1
- package/lib/dist/ui-server/api/hierarchy.js +0 -28
- package/lib/dist/ui-server/api/hierarchy.js.map +1 -1
- package/lib/dist/ui-server/api/index.js +0 -88
- package/lib/dist/ui-server/api/index.js.map +1 -1
- package/lib/dist/ui-server/api/map.d.ts +41 -6
- package/lib/dist/ui-server/api/map.d.ts.map +1 -1
- package/lib/dist/ui-server/api/map.js +95 -308
- package/lib/dist/ui-server/api/map.js.map +1 -1
- package/lib/dist/ui-server/api/node.d.ts.map +1 -1
- package/lib/dist/ui-server/api/node.js +4 -109
- package/lib/dist/ui-server/api/node.js.map +1 -1
- package/lib/dist/ui-server/api/nodes.js +0 -16
- package/lib/dist/ui-server/api/nodes.js.map +1 -1
- package/lib/dist/ui-server/api/program.js +0 -90
- package/lib/dist/ui-server/api/program.js.map +1 -1
- package/lib/dist/ui-server/api/respond.js +0 -60
- package/lib/dist/ui-server/api/respond.js.map +1 -1
- package/lib/dist/ui-server/api/route-roots.d.ts +6 -0
- package/lib/dist/ui-server/api/route-roots.d.ts.map +1 -1
- package/lib/dist/ui-server/api/route-roots.js +18 -39
- package/lib/dist/ui-server/api/route-roots.js.map +1 -1
- package/lib/dist/ui-server/api/routes.d.ts +2 -0
- package/lib/dist/ui-server/api/routes.d.ts.map +1 -1
- package/lib/dist/ui-server/api/routes.js +47 -47
- package/lib/dist/ui-server/api/routes.js.map +1 -1
- package/lib/dist/ui-server/api/screens.d.ts.map +1 -1
- package/lib/dist/ui-server/api/screens.js +16 -171
- package/lib/dist/ui-server/api/screens.js.map +1 -1
- package/lib/dist/ui-server/api/search.js +0 -62
- package/lib/dist/ui-server/api/search.js.map +1 -1
- package/lib/dist/ui-server/api/session.js +0 -58
- package/lib/dist/ui-server/api/session.js.map +1 -1
- package/lib/dist/ui-server/api/source.d.ts.map +1 -1
- package/lib/dist/ui-server/api/source.js +0 -161
- package/lib/dist/ui-server/api/source.js.map +1 -1
- package/lib/dist/ui-server/api/stats.js +0 -58
- package/lib/dist/ui-server/api/stats.js.map +1 -1
- package/lib/dist/ui-server/api/steps.d.ts.map +1 -1
- package/lib/dist/ui-server/api/steps.js +105 -373
- package/lib/dist/ui-server/api/steps.js.map +1 -1
- package/lib/dist/ui-server/api/trail-store.d.ts +3 -3
- package/lib/dist/ui-server/api/trail-store.d.ts.map +1 -1
- package/lib/dist/ui-server/api/trail-store.js +24 -106
- package/lib/dist/ui-server/api/trail-store.js.map +1 -1
- package/lib/dist/ui-server/api/trails.d.ts.map +1 -1
- package/lib/dist/ui-server/api/trails.js +20 -94
- package/lib/dist/ui-server/api/trails.js.map +1 -1
- package/lib/dist/ui-server/api/when.d.ts +10 -2
- package/lib/dist/ui-server/api/when.d.ts.map +1 -1
- package/lib/dist/ui-server/api/when.js +32 -44
- package/lib/dist/ui-server/api/when.js.map +1 -1
- package/lib/dist/ui-server/api/wire.js +0 -58
- package/lib/dist/ui-server/api/wire.js.map +1 -1
- package/lib/dist/ui-server/assets.js +0 -35
- package/lib/dist/ui-server/assets.js.map +1 -1
- package/lib/dist/ui-server/constants.js +0 -26
- package/lib/dist/ui-server/constants.js.map +1 -1
- package/lib/dist/ui-server/highlight/bounded-tokenize.d.ts +28 -0
- package/lib/dist/ui-server/highlight/bounded-tokenize.d.ts.map +1 -0
- package/lib/dist/ui-server/highlight/bounded-tokenize.js +114 -0
- package/lib/dist/ui-server/highlight/bounded-tokenize.js.map +1 -0
- package/lib/dist/ui-server/highlight/index.d.ts.map +1 -1
- package/lib/dist/ui-server/highlight/index.js +7 -133
- package/lib/dist/ui-server/highlight/index.js.map +1 -1
- package/lib/dist/ui-server/highlight/languages.d.ts +3 -3
- package/lib/dist/ui-server/highlight/languages.js +0 -31
- package/lib/dist/ui-server/highlight/languages.js.map +1 -1
- package/lib/dist/ui-server/highlight/tokenize-worker.d.ts +7 -0
- package/lib/dist/ui-server/highlight/tokenize-worker.d.ts.map +1 -0
- package/lib/dist/ui-server/highlight/tokenize-worker.js +15 -0
- package/lib/dist/ui-server/highlight/tokenize-worker.js.map +1 -0
- package/lib/dist/ui-server/index.d.ts +25 -0
- package/lib/dist/ui-server/index.d.ts.map +1 -1
- package/lib/dist/ui-server/index.js +35 -103
- package/lib/dist/ui-server/index.js.map +1 -1
- package/lib/dist/ui-server/open-browser.js +0 -34
- package/lib/dist/ui-server/open-browser.js.map +1 -1
- package/lib/dist/ui-server/security.d.ts +5 -0
- package/lib/dist/ui-server/security.d.ts.map +1 -1
- package/lib/dist/ui-server/security.js +11 -147
- package/lib/dist/ui-server/security.js.map +1 -1
- package/lib/dist/ui-server/static.js +0 -41
- package/lib/dist/ui-server/static.js.map +1 -1
- package/lib/dist/upgrade/index.d.ts +61 -10
- package/lib/dist/upgrade/index.d.ts.map +1 -1
- package/lib/dist/upgrade/index.js +191 -225
- package/lib/dist/upgrade/index.js.map +1 -1
- package/lib/dist/upgrade/remove-binary.js +2 -67
- package/lib/dist/upgrade/remove-binary.js.map +1 -1
- package/lib/dist/upgrade/update-check.js +1 -81
- package/lib/dist/upgrade/update-check.js.map +1 -1
- package/lib/dist/utils.d.ts +69 -1
- package/lib/dist/utils.d.ts.map +1 -1
- package/lib/dist/utils.js +224 -266
- package/lib/dist/utils.js.map +1 -1
- package/lib/dist/viewer/assets/{index-D4S7YUPf.js → index-BSGpxBr9.js} +60 -58
- package/lib/dist/viewer/index.html +1 -1
- package/lib/dist/worker-teardown.d.ts +48 -0
- package/lib/dist/worker-teardown.d.ts.map +1 -0
- package/lib/dist/worker-teardown.js +53 -0
- package/lib/dist/worker-teardown.js.map +1 -0
- package/lib/kernel/codegraph-kernel.node +2 -2
- package/lib/node_modules/.package-lock.json +4 -4
- package/lib/node_modules/ignore/README.md +138 -8
- package/lib/node_modules/ignore/index.d.ts +56 -20
- package/lib/node_modules/ignore/index.js +1033 -221
- package/lib/node_modules/ignore/legacy.js +871 -178
- package/lib/node_modules/ignore/package.json +10 -4
- package/lib/package.json +14 -8
- package/node.exe +2 -2
- package/package.json +1 -1
|
@@ -27,6 +27,9 @@ export interface UnresolvedRef {
|
|
|
27
27
|
/** `unresolved_refs.id` when loaded from the database — post-pass cleanup
|
|
28
28
|
* targets exactly this row instead of every same-key sibling (#1269). */
|
|
29
29
|
rowId?: number;
|
|
30
|
+
/** The tail a ref that failed to resolve is parked under, when it is not
|
|
31
|
+
* the one its name gives (see `importBindingTail`). */
|
|
32
|
+
nameTail?: string;
|
|
30
33
|
}
|
|
31
34
|
/**
|
|
32
35
|
* A resolved reference
|
|
@@ -49,6 +52,8 @@ export interface ResolvedRef {
|
|
|
49
52
|
edgeKind?: EdgeKind;
|
|
50
53
|
/** Extra metadata the strategy wants persisted on the edge (`href`, …). */
|
|
51
54
|
metadata?: Record<string, unknown>;
|
|
55
|
+
/** Picked by a name-only strategy (the receiver's word, not its type). Not persisted. */
|
|
56
|
+
byName?: boolean;
|
|
52
57
|
/**
|
|
53
58
|
* The OTHER targets, when one reference names several.
|
|
54
59
|
*
|
|
@@ -96,6 +101,15 @@ export interface ResolutionContext {
|
|
|
96
101
|
getNodesInFileNamed?(filePath: string, name: string): Node[];
|
|
97
102
|
/** Get all nodes by name */
|
|
98
103
|
getNodesByName(name: string): Node[];
|
|
104
|
+
/**
|
|
105
|
+
* Whether no node in the index has exactly this name, answered from the
|
|
106
|
+
* resolver's set of every node name rather than a query (#2829). False
|
|
107
|
+
* whenever that set isn't loaded (before `warmCaches`, after
|
|
108
|
+
* `clearCaches`), so a caller only ever acts on a certain absence. A view
|
|
109
|
+
* that hides nodes keeps its base's answer, which stays certain: hiding
|
|
110
|
+
* nodes adds no name. Optional: a context without it never answers.
|
|
111
|
+
*/
|
|
112
|
+
isAbsentName?(name: string): boolean;
|
|
99
113
|
/** Get all nodes by qualified name */
|
|
100
114
|
getNodesByQualifiedName(qualifiedName: string): Node[];
|
|
101
115
|
/** Get all nodes of a kind */
|
|
@@ -115,6 +129,12 @@ export interface ResolutionContext {
|
|
|
115
129
|
readFile(filePath: string): string | null;
|
|
116
130
|
/** `readFile(filePath)?.includes(needle) ?? false` for an ASCII `needle`, without decoding a file that lacks it. */
|
|
117
131
|
fileContains?(filePath: string, needle: string): boolean;
|
|
132
|
+
/**
|
|
133
|
+
* An indexed file's text for a walk over all of them, which keeps none: it
|
|
134
|
+
* stays out of the content cache, and each byte is a character, so anything
|
|
135
|
+
* outside ASCII reads wrongly. Null when the file can't be read.
|
|
136
|
+
*/
|
|
137
|
+
scanFile?(filePath: string): string | null;
|
|
118
138
|
/**
|
|
119
139
|
* `readFile(filePath)` split into lines, LRU-cached per file. Receiver-type
|
|
120
140
|
* inference scans source lines for EVERY `receiver.method()` ref; splitting
|
|
@@ -141,6 +161,17 @@ export interface ResolutionContext {
|
|
|
141
161
|
getAllFiles(): string[];
|
|
142
162
|
/** Get nodes by lowercase name (O(1) lookup for fuzzy matching) */
|
|
143
163
|
getNodesByLowerName(lowerName: string): Node[];
|
|
164
|
+
/**
|
|
165
|
+
* The names of a language's nodes of the given kinds, nothing else decoded:
|
|
166
|
+
* a cheap pre-filter before lookups by name. Optional for external/test
|
|
167
|
+
* contexts.
|
|
168
|
+
*/
|
|
169
|
+
getNodeNamesOfKinds?(language: Language, kinds: readonly Node['kind'][]): string[];
|
|
170
|
+
/**
|
|
171
|
+
* Hands the resolver a node a resolution found by other means, so the gates
|
|
172
|
+
* after it don't fetch it again by id. Optional for external/test contexts.
|
|
173
|
+
*/
|
|
174
|
+
rememberNode?(node: Node): void;
|
|
144
175
|
/**
|
|
145
176
|
* Direct supertypes of the type named `typeName` (same language): the classes
|
|
146
177
|
* it extends and the interfaces / protocols / traits it implements/conforms to,
|
|
@@ -151,6 +182,21 @@ export interface ResolutionContext {
|
|
|
151
182
|
* method). Optional so external/test contexts compile without it.
|
|
152
183
|
*/
|
|
153
184
|
getSupertypes?(typeName: string, language: Language): string[];
|
|
185
|
+
/**
|
|
186
|
+
* The nodes one type declaration extends or implements, through its own
|
|
187
|
+
* resolved `implements`/`extends` edges: where getSupertypes unions those of
|
|
188
|
+
* every type sharing a simple name, this is the supertypes of the node
|
|
189
|
+
* `id`. Empty during the first resolution pass, as getSupertypes is.
|
|
190
|
+
* Optional so external/test contexts compile without it.
|
|
191
|
+
*/
|
|
192
|
+
getSupertypeNodes?(id: string): Node[];
|
|
193
|
+
/**
|
|
194
|
+
* The classes one class declaration extends, through its own resolved
|
|
195
|
+
* `extends` edges alone: the parent a `super.m()` call reaches, never an
|
|
196
|
+
* interface or a class it only implements (#2497). Optional so
|
|
197
|
+
* external/test contexts compile without it.
|
|
198
|
+
*/
|
|
199
|
+
getSuperclassNodes?(id: string): Node[];
|
|
154
200
|
/**
|
|
155
201
|
* Look up a node by its id. Lets matchers derive the FROM-symbol's
|
|
156
202
|
* enclosing-class scope (Swift implicit-self method scoping, `this.X`
|
|
@@ -165,21 +211,58 @@ export interface ResolutionContext {
|
|
|
165
211
|
* Minimal contexts without import resolution may omit this capability. */
|
|
166
212
|
resolveImport?(ref: UnresolvedRef): ResolvedRef | null;
|
|
167
213
|
/**
|
|
168
|
-
*
|
|
169
|
-
*
|
|
214
|
+
* Whether an import specifier, written in `fromFile`, names a module outside
|
|
215
|
+
* the repository: a package that is not a relative path, a tsconfig alias, a
|
|
216
|
+
* workspace member or the repository's own package name, and that resolves
|
|
217
|
+
* to no project file. Supplied by the coordinator, like `resolveImport`.
|
|
218
|
+
*/
|
|
219
|
+
isOutOfRepoImport?(source: string, fromFile: string, language: Language): boolean;
|
|
220
|
+
/**
|
|
221
|
+
* The project file a module specifier, written in `fromFile`, names — the
|
|
222
|
+
* import resolver's own answer (for Python: from the package roots), or null
|
|
223
|
+
* when no project file provides it. Supplied by the coordinator.
|
|
224
|
+
*/
|
|
225
|
+
resolveModuleFile?(source: string, fromFile: string, language: Language): string | null;
|
|
226
|
+
/**
|
|
227
|
+
* Whether `source`, imported from `fromFile`, is a package: one the file's
|
|
228
|
+
* package.json or an enclosing one declares, a Node built-in, or a
|
|
229
|
+
* runtime's virtual module (`node:`, `bun:`, `astro:`…). Such an import
|
|
230
|
+
* never binds to a same-named project module, only to a declaration file
|
|
231
|
+
* the project keeps for the package. Supplied by the coordinator.
|
|
232
|
+
*/
|
|
233
|
+
isDeclaredPackage?(source: string, fromFile: string): boolean;
|
|
234
|
+
/**
|
|
235
|
+
* Whether `filePath` (project-relative) is one of the files the index holds.
|
|
236
|
+
* `fileExists` also answers for a directory and for a file on disk the
|
|
237
|
+
* index never read, such as one under `node_modules`. Supplied by the
|
|
238
|
+
* coordinator; a minimal context can omit it.
|
|
239
|
+
*/
|
|
240
|
+
isIndexedFile?(filePath: string): boolean;
|
|
241
|
+
/**
|
|
242
|
+
* Project import-path aliases (tsconfig/jsconfig `paths`, and `baseUrl`).
|
|
243
|
+
* Returns `null` when the project doesn't define any. Cached per resolver
|
|
170
244
|
* instance — safe to call from any resolver code path. Optional so
|
|
171
245
|
* existing test fixtures and external context implementations
|
|
172
246
|
* compile without modification; production resolver implements it.
|
|
173
247
|
*/
|
|
174
248
|
getProjectAliases?(): import('./path-aliases').AliasMap | null;
|
|
175
249
|
/**
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
* by the Go branch of import resolution to distinguish in-module
|
|
180
|
-
* cross-package imports from third-party packages.
|
|
250
|
+
* The aliases of the tsconfig / jsconfig nearest `fromFile` below the
|
|
251
|
+
* project root that declares `paths` or `baseUrl` — a monorepo app's own
|
|
252
|
+
* `@/*`, a nested Vite app's `"baseUrl": "src"` — or null.
|
|
181
253
|
*/
|
|
182
|
-
|
|
254
|
+
getNearestAliases?(fromFile: string): import('./path-aliases').AliasMap | null;
|
|
255
|
+
/**
|
|
256
|
+
* The project-relative directory (`/`-separated, `.` for the root) of
|
|
257
|
+
* the Go package an import path names, when it is a package of one of the
|
|
258
|
+
* project's own modules — the `go.mod` at the root or any `go.mod` above
|
|
259
|
+
* an indexed `.go` file (#2322) — else `null` (the standard library,
|
|
260
|
+
* third-party modules, a project with no `go.mod`). `fromFile`, the
|
|
261
|
+
* importing file, breaks a tie between two modules declaring one path.
|
|
262
|
+
* Used by the Go branch of resolution to tell in-project cross-package
|
|
263
|
+
* imports from outside ones, and to find the package's files.
|
|
264
|
+
*/
|
|
265
|
+
getGoPackageDir?(importPath: string, fromFile?: string): string | null;
|
|
183
266
|
/**
|
|
184
267
|
* Monorepo workspace member packages, keyed by declared package name.
|
|
185
268
|
* Returns `null` for single-package repos (no `workspaces` field).
|
|
@@ -210,6 +293,19 @@ export interface ResolutionContext {
|
|
|
210
293
|
* relative resolution fails. Optional so existing callers compile.
|
|
211
294
|
*/
|
|
212
295
|
getCppIncludeDirs?(): string[];
|
|
296
|
+
/**
|
|
297
|
+
* The crates of the project's Cargo workspace, each spelling of a name →
|
|
298
|
+
* its member's directory. Optional so minimal contexts compile; they read
|
|
299
|
+
* the manifests themselves (see getCargoWorkspaceCrateMap).
|
|
300
|
+
*/
|
|
301
|
+
getCargoCrates?(): Map<string, string>;
|
|
302
|
+
/**
|
|
303
|
+
* The import node of every C / C++ `#include`, narrowed to the path it
|
|
304
|
+
* spells and where it is written: what ./cpp-includers builds the include
|
|
305
|
+
* graph from. Optional so minimal contexts compile; it falls back to
|
|
306
|
+
* reading the import nodes themselves.
|
|
307
|
+
*/
|
|
308
|
+
getCppIncludeNodes?(): Array<Pick<Node, 'id' | 'name' | 'filePath' | 'language' | 'startLine' | 'startColumn'>>;
|
|
213
309
|
}
|
|
214
310
|
/**
|
|
215
311
|
* Result of framework-specific file extraction.
|
|
@@ -220,14 +316,67 @@ export interface FrameworkExtractionResult {
|
|
|
220
316
|
/** Framework-specific unresolved references (e.g. route -> handler) */
|
|
221
317
|
references: UnresolvedRef[];
|
|
222
318
|
}
|
|
319
|
+
/**
|
|
320
|
+
* Nodes a framework can name only from several files at once, with the
|
|
321
|
+
* references that bind each — and how to recognise the ones an earlier run
|
|
322
|
+
* produced, so a run can remove those it no longer wants.
|
|
323
|
+
*/
|
|
324
|
+
export interface CrossFileNodes extends FrameworkExtractionResult {
|
|
325
|
+
/** The kind every one of these nodes has. */
|
|
326
|
+
kind: Node['kind'];
|
|
327
|
+
/** True for a node this pass produces, and for no node extraction does. */
|
|
328
|
+
owns(node: Node): boolean;
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* The navigation calls a router binds to its routes — `navigate('/login')`,
|
|
332
|
+
* `router.push('/x')` — described so a sync can find the ones a changed route
|
|
333
|
+
* may answer (see `FrameworkResolver.navigation`).
|
|
334
|
+
*/
|
|
335
|
+
export interface NavigationCalls {
|
|
336
|
+
/**
|
|
337
|
+
* The name tails of the calls `claimsReference` accepts as navigation —
|
|
338
|
+
* `push` for `history.push` — which find them through the failed-tail
|
|
339
|
+
* index; `claimsReference` then decides on the whole name.
|
|
340
|
+
*/
|
|
341
|
+
tails: readonly string[];
|
|
342
|
+
/**
|
|
343
|
+
* The files whose navigation calls can name `route`: the path prefixes of
|
|
344
|
+
* the apps whose table it is in (`''` for every file), or null when it is
|
|
345
|
+
* not one of this router's routes.
|
|
346
|
+
*/
|
|
347
|
+
scope(route: Node, context: ResolutionContext): readonly string[] | null;
|
|
348
|
+
}
|
|
223
349
|
/**
|
|
224
350
|
* Framework-specific resolver
|
|
225
351
|
*/
|
|
226
352
|
export interface FrameworkResolver {
|
|
227
353
|
/** Framework name */
|
|
228
354
|
name: string;
|
|
229
|
-
/**
|
|
355
|
+
/**
|
|
356
|
+
* Languages this framework applies to: `extract()` runs only on files in
|
|
357
|
+
* them, and `resolve()` sees only references written in them (unless
|
|
358
|
+
* `resolveLanguages` says otherwise). If omitted, applies to all languages.
|
|
359
|
+
*/
|
|
230
360
|
languages?: Language[];
|
|
361
|
+
/**
|
|
362
|
+
* The languages whose references `resolve()` sees, when they are not
|
|
363
|
+
* `languages`. For a resolver that reads references in languages it
|
|
364
|
+
* extracts nothing from: SvelteKit's `$lib/…` imports and Svelte 5 runes
|
|
365
|
+
* are written in `.ts` / `.js` modules too, but only a `.svelte` file holds
|
|
366
|
+
* a route. Widening `languages` instead would run `extract()` on those
|
|
367
|
+
* files.
|
|
368
|
+
*/
|
|
369
|
+
resolveLanguages?: readonly Language[];
|
|
370
|
+
/**
|
|
371
|
+
* Packages an app declares when it is built on this framework. When set,
|
|
372
|
+
* `extract()` runs only on files of an app whose package.json — the file's
|
|
373
|
+
* own or an enclosing one — declares one of them: in a monorepo with an Expo
|
|
374
|
+
* app beside a Next.js app, Expo Router must not read the Next app's
|
|
375
|
+
* `app/layout.tsx` as a `/layout` screen. When no manifest in the project
|
|
376
|
+
* declares any, detection found the framework by other evidence and the
|
|
377
|
+
* extractor runs on every file, as before.
|
|
378
|
+
*/
|
|
379
|
+
appDependencies?: readonly string[];
|
|
231
380
|
/** Detect if project uses this framework (project-level, called once at startup) */
|
|
232
381
|
detect(context: ResolutionContext): boolean;
|
|
233
382
|
/** Resolve a reference using framework-specific patterns */
|
|
@@ -238,8 +387,20 @@ export interface FrameworkResolver {
|
|
|
238
387
|
* an attribute/descriptor, not a declared symbol (e.g. Django's
|
|
239
388
|
* `self._iterable_class(...)`, React effect callbacks). Returning true lets the
|
|
240
389
|
* ref reach `resolve()` instead of being dropped for having no name match.
|
|
390
|
+
* Asked only about references written in the languages `resolve()` sees.
|
|
241
391
|
*/
|
|
242
392
|
claimsReference?(name: string): boolean;
|
|
393
|
+
/**
|
|
394
|
+
* A reference this framework answers alone. When no framework's `resolve()`
|
|
395
|
+
* links it, it stays unresolved: no import or name strategy guesses past it,
|
|
396
|
+
* as they would for a project function that only shares its name. Nuxt's
|
|
397
|
+
* auto-imported `navigateTo('/x')` names a page, which Vue Router reads;
|
|
398
|
+
* one whose destination is computed, or a path no page serves, calls no
|
|
399
|
+
* function of the project — elk declares a `navigateTo` of its own inside a
|
|
400
|
+
* plugin. Unresolved, a sync can still revisit it when a route appears.
|
|
401
|
+
* Asked only about references written in the languages `resolve()` sees.
|
|
402
|
+
*/
|
|
403
|
+
ownsReference?(ref: UnresolvedRef, context: ResolutionContext): boolean;
|
|
243
404
|
/**
|
|
244
405
|
* Extract framework-specific nodes and references from a file.
|
|
245
406
|
*
|
|
@@ -263,6 +424,39 @@ export interface FrameworkResolver {
|
|
|
263
424
|
* second run can recover the original in-file form from `qualifiedName`.
|
|
264
425
|
*/
|
|
265
426
|
postExtract?(context: ResolutionContext): Node[];
|
|
427
|
+
/**
|
|
428
|
+
* Nodes no single file's `extract()` can decide on — a React Router route
|
|
429
|
+
* table written in one file is a table of routes only because another
|
|
430
|
+
* file hands it to the router. Called after `postExtract` on every index
|
|
431
|
+
* and every sync, it returns the COMPLETE set the framework wants now. The
|
|
432
|
+
* orchestrator inserts the new ones (their references pending, for the
|
|
433
|
+
* resolution that follows), removes the ones an earlier run inserted that
|
|
434
|
+
* are no longer wanted, renames the ones whose name changed, and leaves
|
|
435
|
+
* the rest alone, so an unchanged node keeps its edges. A node lives in the
|
|
436
|
+
* file it is written in, so re-extracting that file drops it until the
|
|
437
|
+
* next run puts it back.
|
|
438
|
+
*/
|
|
439
|
+
crossFileNodes?(context: ResolutionContext): CrossFileNodes;
|
|
440
|
+
/**
|
|
441
|
+
* Set by a router whose `resolve()` binds a navigation call to one of its
|
|
442
|
+
* route nodes. A call whose route did not exist yet was parked as failed, or
|
|
443
|
+
* bound to whatever answered it then (a catch-all, a parameter route), and
|
|
444
|
+
* the retry that matches a failed ref's name tail against the names a sync
|
|
445
|
+
* adds (#1240) never finds it: its name is the router's method, never the
|
|
446
|
+
* route's path. So a sync that adds, removes or renames a route puts the
|
|
447
|
+
* calls this describes back for its resolution sweep.
|
|
448
|
+
*/
|
|
449
|
+
navigation?: NavigationCalls;
|
|
450
|
+
/**
|
|
451
|
+
* The modules whose content `resolve()` reads to answer `ref`, a route
|
|
452
|
+
* node's reference — none for most. A React route that renders a same-file
|
|
453
|
+
* `const Docs = lazy(() => import('./pages/Docs'))` binds to the component
|
|
454
|
+
* that module exports, through any barrel that forwards it, and to the
|
|
455
|
+
* declaration while the module is missing or exports none: the answer
|
|
456
|
+
* changes with those files although no name the reference carries does, so
|
|
457
|
+
* a sync that adds or changes one of them resolves the reference again.
|
|
458
|
+
*/
|
|
459
|
+
lazyModules?(ref: UnresolvedRef, context: ResolutionContext): readonly string[];
|
|
266
460
|
}
|
|
267
461
|
/**
|
|
268
462
|
* Import mapping from a file
|
|
@@ -298,6 +492,11 @@ export type ReExport = {
|
|
|
298
492
|
kind: 'wildcard';
|
|
299
493
|
/** Module specifier of the upstream module. */
|
|
300
494
|
source: string;
|
|
495
|
+
} | {
|
|
496
|
+
/** `export * as ns from './other'`: only `ns` is exported, the module's members through it. */
|
|
497
|
+
kind: 'namespace';
|
|
498
|
+
exportedName: string;
|
|
499
|
+
source: string;
|
|
301
500
|
};
|
|
302
501
|
/**
|
|
303
502
|
* Node kinds an `extends`/`implements` edge may legally TARGET — the things a
|
|
@@ -323,7 +522,7 @@ export type ReExport = {
|
|
|
323
522
|
* for MapperError {}` bound to the local `MapperError::Error` VARIANT. The
|
|
324
523
|
* supertype is out-of-repo and simply unresolvable; a failed ref is correct.
|
|
325
524
|
*/
|
|
326
|
-
export declare const SUPERTYPE_TARGET_KINDS: Set<"function" | "
|
|
525
|
+
export declare const SUPERTYPE_TARGET_KINDS: Set<"function" | "file" | "module" | "class" | "struct" | "interface" | "trait" | "protocol" | "method" | "property" | "field" | "variable" | "constant" | "enum" | "enum_member" | "type_alias" | "namespace" | "parameter" | "import" | "export" | "route" | "component" | "union">;
|
|
327
526
|
/** Scala singleton objects are values, unlike inheritable Ruby modules. */
|
|
328
527
|
export declare function isSupertypeTarget(node: Node): boolean;
|
|
329
528
|
/** True for the reference kinds that assert an inheritance/conformance relation. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/resolution/types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEnE;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,qDAAqD;IACrD,UAAU,EAAE,MAAM,CAAC;IACnB,gCAAgC;IAChC,aAAa,EAAE,MAAM,CAAC;IACtB,wBAAwB;IACxB,aAAa,EAAE,aAAa,CAAC;IAC7B,kCAAkC;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,oCAAoC;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,uCAAuC;IACvC,QAAQ,EAAE,MAAM,CAAC;IACjB,kCAAkC;IAClC,QAAQ,EAAE,QAAQ,CAAC;IACnB,mDAAmD;IACnD,UAAU,CAAC,E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OAAO,CAAC;IACnB,sDAAsD;IACtD,WAAW,EAAE,OAAO,CAAC;IACrB,oCAAoC;IACpC,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAChB;IACE,IAAI,EAAE,OAAO,CAAC;IACd,qCAAqC;IACrC,YAAY,EAAE,MAAM,CAAC;IACrB,gEAAgE;IAChE,YAAY,EAAE,MAAM,CAAC;IACrB,+CAA+C;IAC/C,MAAM,EAAE,MAAM,CAAC;CAChB,GACD;IACE,IAAI,EAAE,UAAU,CAAC;IACjB,+CAA+C;IAC/C,MAAM,EAAE,MAAM,CAAC;CAChB,GACD;IACE,+FAA+F;IAC/F,IAAI,EAAE,WAAW,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEN;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,sBAAsB,uRAGjC,CAAC;AAEH,2EAA2E;AAC3E,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO,CAGrD;AAED,oFAAoF;AACpF,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,aAAa,GAAG,OAAO,CAE5D;AAcD,oEAAoE;AACpE,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,IAAI,CAAC,MAAM,CAAC,GAAG,OAAO,CAE5D;AAED;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,QAAqB,CAAC"}
|
|
@@ -1,72 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Reference Resolution Types
|
|
4
|
-
*
|
|
5
|
-
* Types for the reference resolution system.
|
|
6
|
-
*/
|
|
7
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
3
|
exports.CPP_DEFINE_SIGNATURE = exports.SUPERTYPE_TARGET_KINDS = void 0;
|
|
9
4
|
exports.isSupertypeTarget = isSupertypeTarget;
|
|
10
5
|
exports.isInheritanceRef = isInheritanceRef;
|
|
11
6
|
exports.isImportableKind = isImportableKind;
|
|
12
|
-
/**
|
|
13
|
-
* Node kinds an `extends`/`implements` edge may legally TARGET — the things a
|
|
14
|
-
* type can actually inherit from or conform to.
|
|
15
|
-
*
|
|
16
|
-
* Kept deliberately wide: `type_alias` because TS `class X implements
|
|
17
|
-
* SomeAliasedObjectType` is valid, `component` because a framework component
|
|
18
|
-
* node stands in for a class, and `module`/`namespace` because whole
|
|
19
|
-
* languages inherit from one — Ruby `include Trackable` targets a `module`,
|
|
20
|
-
* Erlang `-behaviour(gen_server)` targets the behaviour module, which Erlang
|
|
21
|
-
* extraction indexes as a `namespace` (the conformance pass in
|
|
22
|
-
* `resolution/index.ts` makes the same `module` allowance).
|
|
23
|
-
*
|
|
24
|
-
* Everything omitted (`enum_member`, `method`, `field`, `property`,
|
|
25
|
-
* `variable`, `constant`, `function`, `parameter`, `import`, `export`,
|
|
26
|
-
* `file`, `route`) can never be a supertype in any supported language, so an
|
|
27
|
-
* inheritance edge pointing at one is false data.
|
|
28
|
-
*
|
|
29
|
-
* Why this is needed: the name-matcher scores node kind as a BONUS,
|
|
30
|
-
* never a filter, and awards no bonus at all for inheritance refs — so a
|
|
31
|
-
* same-named non-type outranked (or, as the sole candidate, was adopted
|
|
32
|
-
* outright as) the real supertype. Rust `use std::error::Error;` + `impl Error
|
|
33
|
-
* for MapperError {}` bound to the local `MapperError::Error` VARIANT. The
|
|
34
|
-
* supertype is out-of-repo and simply unresolvable; a failed ref is correct.
|
|
35
|
-
*/
|
|
36
7
|
exports.SUPERTYPE_TARGET_KINDS = new Set([
|
|
37
8
|
'class', 'struct', 'interface', 'trait', 'protocol', 'enum', 'union',
|
|
38
9
|
'type_alias', 'component', 'module', 'namespace',
|
|
39
10
|
]);
|
|
40
|
-
/** Scala singleton objects are values, unlike inheritable Ruby modules. */
|
|
41
11
|
function isSupertypeTarget(node) {
|
|
42
12
|
return exports.SUPERTYPE_TARGET_KINDS.has(node.kind) &&
|
|
43
13
|
!(node.language === 'scala' && node.kind === 'module');
|
|
44
14
|
}
|
|
45
|
-
/** True for the reference kinds that assert an inheritance/conformance relation. */
|
|
46
15
|
function isInheritanceRef(ref) {
|
|
47
16
|
return ref.referenceKind === 'extends' || ref.referenceKind === 'implements';
|
|
48
17
|
}
|
|
49
|
-
/**
|
|
50
|
-
* Node kinds an `imports` edge may never TARGET: members that only exist
|
|
51
|
-
* INSIDE a type. No language lets you import a class's property, an
|
|
52
|
-
* interface's method or an enum's variant — you import the type that
|
|
53
|
-
* contains it. The name-matcher has no kind filter, so a bare
|
|
54
|
-
* `import path from 'node:path'` (unresolvable, since the module is external)
|
|
55
|
-
* name-matched an interface property called `path` in an unrelated file.
|
|
56
|
-
*/
|
|
57
18
|
const NON_IMPORTABLE_KINDS = new Set([
|
|
58
19
|
'property', 'field', 'method', 'enum_member', 'parameter',
|
|
59
20
|
]);
|
|
60
|
-
/** Can an `imports` reference legally resolve to this node kind? */
|
|
61
21
|
function isImportableKind(kind) {
|
|
62
22
|
return !NON_IMPORTABLE_KINDS.has(kind);
|
|
63
23
|
}
|
|
64
|
-
/**
|
|
65
|
-
* The signature extraction gives a C/C++ `constant` minted from a
|
|
66
|
-
* function-like `preproc_function_def` (`#define NAME(args) …`, #1838). A
|
|
67
|
-
* macro is a value: it is never a `calls` target, and its presence in a
|
|
68
|
-
* translation unit is what makes `NAME(x)` a macro expansion rather than a
|
|
69
|
-
* call.
|
|
70
|
-
*/
|
|
71
24
|
exports.CPP_DEFINE_SIGNATURE = /^\s*#\s*define\b/;
|
|
72
25
|
//# sourceMappingURL=types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/resolution/types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/resolution/types.ts"],"names":[],"mappings":";;;AA8hBA,8CAGC;AAGD,4CAEC;AAeD,4CAEC;AA/BY,QAAA,sBAAsB,GAAG,IAAI,GAAG,CAAe;IAC1D,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO;IACpE,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,WAAW;CACjD,CAAC,CAAC;AAGH,SAAgB,iBAAiB,CAAC,IAAU;IAC1C,OAAO,8BAAsB,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC;QAC1C,CAAC,CAAC,IAAI,CAAC,QAAQ,KAAK,OAAO,IAAI,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC;AAC3D,CAAC;AAGD,SAAgB,gBAAgB,CAAC,GAAkB;IACjD,OAAO,GAAG,CAAC,aAAa,KAAK,SAAS,IAAI,GAAG,CAAC,aAAa,KAAK,YAAY,CAAC;AAC/E,CAAC;AAUD,MAAM,oBAAoB,GAAG,IAAI,GAAG,CAAe;IACjD,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,WAAW;CAC1D,CAAC,CAAC;AAGH,SAAgB,gBAAgB,CAAC,IAAkB;IACjD,OAAO,CAAC,oBAAoB,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AACzC,CAAC;AASY,QAAA,oBAAoB,GAAG,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import type { Node } from '../types';
|
|
2
|
+
import type { ResolutionContext, ResolvedRef, UnresolvedRef } from './types';
|
|
3
|
+
/** Whether two files are in the same VB.NET project — false when either is in none. */
|
|
4
|
+
export declare function sameVbProject(a: string, b: string, context: ResolutionContext): boolean;
|
|
5
|
+
/**
|
|
6
|
+
* Whether a type is one a name written with this qualifier can mean: its
|
|
7
|
+
* namespaces and outer types end with what is written before the name.
|
|
8
|
+
* Designer code's `New System.Drawing.Point(3, 3)` is not staxrip's nested
|
|
9
|
+
* `ButtonEx.SymbolDrawer.Point`; `New API.Base.UserDataBase(…)` is that one.
|
|
10
|
+
*/
|
|
11
|
+
export declare function isVbTypeQualifiedBy(n: Node, qualifier: string, file: string, context: ResolutionContext): boolean;
|
|
12
|
+
/** The call site's own file first, then its project's, the rest after, each in its given order. */
|
|
13
|
+
export declare function preferVbProject(nodes: Node[], ref: UnresolvedRef, context: ResolutionContext): Node[];
|
|
14
|
+
/**
|
|
15
|
+
* The one of several equally good guesses a call means: the one in its own
|
|
16
|
+
* file, else in its own project, else in the nearest directory — or null
|
|
17
|
+
* when none of these tells them apart.
|
|
18
|
+
*/
|
|
19
|
+
export declare function breakVbTie(tied: Node[], ref: UnresolvedRef, context: ResolutionContext): Node | null;
|
|
20
|
+
/**
|
|
21
|
+
* Resolve `receiver.method()` through the receiver's declared type: the
|
|
22
|
+
* type's own method or one it inherits, else an extension method for it,
|
|
23
|
+
* else null — a typed receiver is never a guess. A receiver naming one of the
|
|
24
|
+
* project's types or modules is a shared call on it. Undefined when the type
|
|
25
|
+
* isn't known, or is `Object` (a late-bound call), for the name strategies.
|
|
26
|
+
*/
|
|
27
|
+
export declare function matchVbTypedCall(receiver: string, method: string, ref: UnresolvedRef, context: ResolutionContext, isStdMethod: (name: string) => boolean): ResolvedRef | null | undefined;
|
|
28
|
+
/** Whether a reference is a VB.NET member read through a receiver, which matchVbMemberRead alone resolves. */
|
|
29
|
+
export declare function isVbMemberRead(ref: UnresolvedRef): boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Whether a reference is a VB.NET call through a receiver path, which only a
|
|
32
|
+
* `With` block sends (`.Run()` in `With Me._h`, `With DirectCast(o, T)`) and
|
|
33
|
+
* matchVbPathCall alone resolves. A call through a name (`x.Run`) is the
|
|
34
|
+
* name matcher's, which types it with matchVbTypedCall.
|
|
35
|
+
*/
|
|
36
|
+
export declare function isVbPathCall(ref: UnresolvedRef): boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Resolve a VB.NET member read or write to the member the receiver's type
|
|
39
|
+
* declares or inherits. Through a type's name (#2305) — `AppSession.SessionId`,
|
|
40
|
+
* `AppSession.CurrentUser = "demo"`, `Logger.Level`, `Mode.Fast` — the read
|
|
41
|
+
* links the type as well, and a `Shared` member before a same-named instance
|
|
42
|
+
* one. Through a value — `x.Normal = 3` on a parameter `x As Holder`,
|
|
43
|
+
* `Me._h.Title`, a `With` block's `.Value`, an initializer's `.Switch` — it
|
|
44
|
+
* links the member of the type the value is declared as, whatever that
|
|
45
|
+
* type's name; never a member of the type the receiver's own name would
|
|
46
|
+
* mean. A value named like its type (`theme As Theme`) reads an instance
|
|
47
|
+
* member as a value does and a Shared one as the type does, by VB.NET's
|
|
48
|
+
* "Color Color" rule. A method named either way is called, as without
|
|
49
|
+
* parentheses VB.NET runs it — the overload that takes no arguments — unless
|
|
50
|
+
* `AddressOf` or `NameOf` only names it. Through a namespace — `Billing.Invoice`,
|
|
51
|
+
* `Acme.Billing.Invoice.MaxLines`, a Module's `Assets.Logo` — it links the type
|
|
52
|
+
* or the Module's member the namespace declares. A bare name before the dot
|
|
53
|
+
* that is a field, property or Module variable (`Button1` of `Button1.Text`)
|
|
54
|
+
* is read too, whatever the member read through it.
|
|
55
|
+
* Null when a link of the path is not typed here (an outside type:
|
|
56
|
+
* `Color.Red`, `str.Length`), is late-bound (`Object`), or names two of the
|
|
57
|
+
* project's types.
|
|
58
|
+
*/
|
|
59
|
+
export declare function matchVbMemberRead(ref: UnresolvedRef, context: ResolutionContext): ResolvedRef | null;
|
|
60
|
+
/**
|
|
61
|
+
* Resolve a VB.NET call through a receiver path, which a `With` block sends
|
|
62
|
+
* for its `.Run()` (`With Me._h`, `With user.Settings`, `With
|
|
63
|
+
* DirectCast(o, T)`), as matchVbTypedCall resolves one through a typed name:
|
|
64
|
+
* the method the path's type has or inherits, a read of a field or property
|
|
65
|
+
* it indexes, or an extension method for the type. Null — never a guess by
|
|
66
|
+
* the method's name — when a link of the path is not typed here.
|
|
67
|
+
*/
|
|
68
|
+
export declare function matchVbPathCall(ref: UnresolvedRef, context: ResolutionContext, isStdMethod: (name: string) => boolean): ResolvedRef | null;
|
|
69
|
+
/**
|
|
70
|
+
* Whether an unqualified VB.NET type name can mean `n`: a type nested in a
|
|
71
|
+
* class, structure or interface is named bare only inside it or a type
|
|
72
|
+
* deriving from it — designer code's `New Point(4, 285)` is not staxrip's
|
|
73
|
+
* nested `ButtonEx.SymbolDrawer.Point`. A `Module`'s types belong to its
|
|
74
|
+
* namespace; a file can import the outer type, or alias the nested one
|
|
75
|
+
* (`Imports UserMediaD = SCrawler.DownloadObjects.TDownloader.UserMediaD`).
|
|
76
|
+
* Not judged when no type is around the name.
|
|
77
|
+
*/
|
|
78
|
+
export declare function isVbNestedTypeInScope(n: Node, ref: UnresolvedRef, context: ResolutionContext): boolean;
|
|
79
|
+
/**
|
|
80
|
+
* Whether a receiver-less VB.NET call (or one through `Me` / `MyClass` /
|
|
81
|
+
* `MyBase`) can mean member `n`: one of a type around the call or of a type
|
|
82
|
+
* those inherit, of a `Module`, or of a type the file imports. Not judged
|
|
83
|
+
* when no type is around the call, or `n` is not a member of a type.
|
|
84
|
+
*/
|
|
85
|
+
export declare function isVbMemberInScope(n: Node, ref: UnresolvedRef, context: ResolutionContext): boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Drop this module's per-context memos — file lines and what was read from
|
|
88
|
+
* them — with the resolver's own caches (ReferenceResolver.clearCaches), so a
|
|
89
|
+
* sync never reads a changed file's old declarations.
|
|
90
|
+
*/
|
|
91
|
+
export declare function clearVbnetReceiverMemos(context: ResolutionContext): void;
|
|
92
|
+
//# sourceMappingURL=vbnet-receivers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vbnet-receivers.d.ts","sourceRoot":"","sources":["../../src/resolution/vbnet-receivers.ts"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAslB7E,uFA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