@colbymchenry/codegraph-win32-arm64 1.6.2 → 1.6.4
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 +507 -702
- package/lib/dist/bin/codegraph.js.map +1 -1
- package/lib/dist/bin/command-supervision.js +1 -57
- 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 +654 -34
- package/lib/dist/db/queries.d.ts.map +1 -1
- package/lib/dist/db/queries.js +1466 -1470
- 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 +51 -0
- package/lib/dist/directory.d.ts.map +1 -1
- package/lib/dist/directory.js +76 -530
- 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 +35 -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 +11 -101
- package/lib/dist/extraction/astro-extractor.js.map +1 -1
- package/lib/dist/extraction/cfml-extractor.d.ts +27 -1
- package/lib/dist/extraction/cfml-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/cfml-extractor.js +70 -206
- package/lib/dist/extraction/cfml-extractor.js.map +1 -1
- package/lib/dist/extraction/commonjs-requires.js +0 -31
- package/lib/dist/extraction/commonjs-requires.js.map +1 -1
- 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 +157 -207
- package/lib/dist/extraction/function-ref.js.map +1 -1
- package/lib/dist/extraction/generated-detection.js +0 -165
- package/lib/dist/extraction/generated-detection.js.map +1 -1
- package/lib/dist/extraction/grammars.d.ts +73 -4
- package/lib/dist/extraction/grammars.d.ts.map +1 -1
- package/lib/dist/extraction/grammars.js +160 -431
- package/lib/dist/extraction/grammars.js.map +1 -1
- package/lib/dist/extraction/index.d.ts +208 -7
- package/lib/dist/extraction/index.d.ts.map +1 -1
- package/lib/dist/extraction/index.js +594 -1383
- 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 +48 -135
- 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.d.ts +5 -1
- package/lib/dist/extraction/kernel/loader.d.ts.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 +125 -28
- package/lib/dist/extraction/languages/c-cpp.d.ts.map +1 -1
- package/lib/dist/extraction/languages/c-cpp.js +789 -856
- 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.js +3 -55
- package/lib/dist/extraction/languages/csharp.js.map +1 -1
- package/lib/dist/extraction/languages/dart.d.ts +129 -0
- package/lib/dist/extraction/languages/dart.d.ts.map +1 -1
- package/lib/dist/extraction/languages/dart.js +517 -162
- 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 +11 -0
- package/lib/dist/extraction/languages/kotlin.d.ts.map +1 -1
- package/lib/dist/extraction/languages/kotlin.js +43 -197
- 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.d.ts +9 -0
- package/lib/dist/extraction/languages/php.d.ts.map +1 -1
- package/lib/dist/extraction/languages/php.js +207 -44
- 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-macro-calls.d.ts +32 -0
- package/lib/dist/extraction/languages/rust-macro-calls.d.ts.map +1 -0
- package/lib/dist/extraction/languages/rust-macro-calls.js +306 -0
- package/lib/dist/extraction/languages/rust-macro-calls.js.map +1 -0
- 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.js +3 -47
- 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 +64 -0
- package/lib/dist/extraction/languages/typescript.d.ts.map +1 -1
- package/lib/dist/extraction/languages/typescript.js +73 -49
- 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 +42 -7
- package/lib/dist/extraction/parse-budget.d.ts.map +1 -1
- package/lib/dist/extraction/parse-budget.js +39 -15
- package/lib/dist/extraction/parse-budget.js.map +1 -1
- package/lib/dist/extraction/parse-pool.d.ts +29 -17
- package/lib/dist/extraction/parse-pool.d.ts.map +1 -1
- package/lib/dist/extraction/parse-pool.js +49 -193
- 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 +5 -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 +42 -0
- package/lib/dist/extraction/sfc-script.d.ts.map +1 -1
- package/lib/dist/extraction/sfc-script.js +32 -31
- package/lib/dist/extraction/sfc-script.js.map +1 -1
- 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 +1 -38
- package/lib/dist/extraction/store-worker.js.map +1 -1
- package/lib/dist/extraction/store-writer.js +2 -34
- 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 +11 -87
- 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 +4 -152
- 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 +518 -10
- package/lib/dist/extraction/tree-sitter.d.ts.map +1 -1
- package/lib/dist/extraction/tree-sitter.js +2118 -2554
- package/lib/dist/extraction/tree-sitter.js.map +1 -1
- package/lib/dist/extraction/vue-extractor.d.ts +13 -0
- package/lib/dist/extraction/vue-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/vue-extractor.js +52 -92
- package/lib/dist/extraction/vue-extractor.js.map +1 -1
- package/lib/dist/extraction/vue-options-api.js +0 -32
- package/lib/dist/extraction/vue-options-api.js.map +1 -1
- 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-dart.wasm +0 -0
- package/lib/dist/extraction/wasm/tree-sitter-kotlin.wasm +0 -0
- package/lib/dist/extraction/wasm/tree-sitter-swift.wasm +0 -0
- package/lib/dist/extraction/wasm/tree-sitter-vbnet.wasm +0 -0
- package/lib/dist/extraction/wasm-runtime-flags.d.ts +15 -0
- package/lib/dist/extraction/wasm-runtime-flags.d.ts.map +1 -1
- package/lib/dist/extraction/wasm-runtime-flags.js +18 -89
- 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.map +1 -1
- package/lib/dist/graph/branch-guards.js +4 -251
- 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/file-drift.d.ts +35 -0
- package/lib/dist/graph/file-drift.d.ts.map +1 -0
- package/lib/dist/graph/file-drift.js +46 -0
- package/lib/dist/graph/file-drift.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 +82 -223
- 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 +6 -3
- package/lib/dist/graph/queries.d.ts.map +1 -1
- package/lib/dist/graph/queries.js +4 -137
- 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/symbol-references.d.ts +86 -0
- package/lib/dist/graph/symbol-references.d.ts.map +1 -0
- package/lib/dist/graph/symbol-references.js +304 -0
- package/lib/dist/graph/symbol-references.js.map +1 -0
- 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 +33 -0
- package/lib/dist/graph/test-code.d.ts.map +1 -0
- package/lib/dist/graph/test-code.js +104 -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 +96 -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 +214 -26
- package/lib/dist/index.d.ts.map +1 -1
- package/lib/dist/index.js +736 -1112
- 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 +13 -6
- package/lib/dist/installer/index.d.ts.map +1 -1
- package/lib/dist/installer/index.js +27 -160
- package/lib/dist/installer/index.js.map +1 -1
- package/lib/dist/installer/instructions-template.d.ts +16 -1
- package/lib/dist/installer/instructions-template.d.ts.map +1 -1
- package/lib/dist/installer/instructions-template.js +10 -38
- 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.d.ts.map +1 -1
- package/lib/dist/installer/targets/opencode.js +1 -103
- 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 +83 -13
- package/lib/dist/installer/targets/shared.d.ts.map +1 -1
- package/lib/dist/installer/targets/shared.js +201 -131
- 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 +2 -0
- package/lib/dist/mcp/daemon-paths.d.ts.map +1 -1
- package/lib/dist/mcp/daemon-paths.js +9 -85
- package/lib/dist/mcp/daemon-paths.js.map +1 -1
- package/lib/dist/mcp/daemon-proof.d.ts +19 -0
- package/lib/dist/mcp/daemon-proof.d.ts.map +1 -0
- package/lib/dist/mcp/daemon-proof.js +126 -0
- package/lib/dist/mcp/daemon-proof.js.map +1 -0
- package/lib/dist/mcp/daemon-registry.d.ts +47 -2
- package/lib/dist/mcp/daemon-registry.d.ts.map +1 -1
- package/lib/dist/mcp/daemon-registry.js +188 -139
- package/lib/dist/mcp/daemon-registry.js.map +1 -1
- package/lib/dist/mcp/daemon.d.ts +69 -0
- package/lib/dist/mcp/daemon.d.ts.map +1 -1
- package/lib/dist/mcp/daemon.js +186 -376
- 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 +24 -0
- package/lib/dist/mcp/engine.d.ts.map +1 -1
- package/lib/dist/mcp/engine.js +47 -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.d.ts +6 -0
- package/lib/dist/mcp/explore-diagnostics.d.ts.map +1 -1
- package/lib/dist/mcp/explore-diagnostics.js +8 -116
- package/lib/dist/mcp/explore-diagnostics.js.map +1 -1
- package/lib/dist/mcp/explore-one-symbol.d.ts +77 -0
- package/lib/dist/mcp/explore-one-symbol.d.ts.map +1 -0
- package/lib/dist/mcp/explore-one-symbol.js +431 -0
- package/lib/dist/mcp/explore-one-symbol.js.map +1 -0
- 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/hook-client.d.ts +44 -0
- package/lib/dist/mcp/hook-client.d.ts.map +1 -0
- package/lib/dist/mcp/hook-client.js +202 -0
- package/lib/dist/mcp/hook-client.js.map +1 -0
- package/lib/dist/mcp/index-freshness-worker.js +1 -6
- package/lib/dist/mcp/index-freshness-worker.js.map +1 -1
- package/lib/dist/mcp/index-freshness.js +0 -15
- 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 +29 -1
- package/lib/dist/mcp/index.d.ts.map +1 -1
- package/lib/dist/mcp/index.js +131 -300
- 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/opencode-tool-names.d.ts +32 -0
- package/lib/dist/mcp/opencode-tool-names.d.ts.map +1 -0
- package/lib/dist/mcp/opencode-tool-names.js +24 -0
- package/lib/dist/mcp/opencode-tool-names.js.map +1 -0
- 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 +6 -0
- package/lib/dist/mcp/project-lifecycle.d.ts.map +1 -1
- package/lib/dist/mcp/project-lifecycle.js +70 -19
- package/lib/dist/mcp/project-lifecycle.js.map +1 -1
- package/lib/dist/mcp/prompt-explore.d.ts +19 -0
- package/lib/dist/mcp/prompt-explore.d.ts.map +1 -0
- package/lib/dist/mcp/prompt-explore.js +6 -0
- package/lib/dist/mcp/prompt-explore.js.map +1 -0
- package/lib/dist/mcp/proxy.d.ts +25 -7
- package/lib/dist/mcp/proxy.d.ts.map +1 -1
- package/lib/dist/mcp/proxy.js +145 -274
- package/lib/dist/mcp/proxy.js.map +1 -1
- package/lib/dist/mcp/query-pool.d.ts +52 -3
- package/lib/dist/mcp/query-pool.d.ts.map +1 -1
- package/lib/dist/mcp/query-pool.js +114 -123
- 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.d.ts +18 -0
- package/lib/dist/mcp/server-instructions.d.ts.map +1 -1
- package/lib/dist/mcp/server-instructions.js +12 -32
- package/lib/dist/mcp/server-instructions.js.map +1 -1
- package/lib/dist/mcp/session.d.ts +46 -0
- package/lib/dist/mcp/session.d.ts.map +1 -1
- package/lib/dist/mcp/session.js +70 -132
- 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 +157 -18
- package/lib/dist/mcp/tools.d.ts.map +1 -1
- package/lib/dist/mcp/tools.js +797 -3621
- 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.d.ts +20 -0
- package/lib/dist/project-config.d.ts.map +1 -1
- package/lib/dist/project-config.js +31 -140
- 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 +7 -56
- 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 +48 -1
- package/lib/dist/resolution/angular-template-synthesizer.d.ts.map +1 -1
- package/lib/dist/resolution/angular-template-synthesizer.js +401 -65
- package/lib/dist/resolution/angular-template-synthesizer.js.map +1 -1
- 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 +19 -5
- package/lib/dist/resolution/callback-synthesizer.d.ts.map +1 -1
- package/lib/dist/resolution/callback-synthesizer.js +1395 -1343
- 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 +17 -68
- 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/event-emitter-synthesizer.d.ts +39 -0
- package/lib/dist/resolution/event-emitter-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/event-emitter-synthesizer.js +656 -0
- package/lib/dist/resolution/event-emitter-synthesizer.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.map +1 -1
- package/lib/dist/resolution/frameworks/angular-router.js +41 -208
- package/lib/dist/resolution/frameworks/angular-router.js.map +1 -1
- package/lib/dist/resolution/frameworks/aspnet-routes.d.ts +62 -0
- package/lib/dist/resolution/frameworks/aspnet-routes.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/aspnet-routes.js +382 -0
- package/lib/dist/resolution/frameworks/aspnet-routes.js.map +1 -0
- package/lib/dist/resolution/frameworks/astro.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/astro.js +4 -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 +85 -102
- 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/elysia.d.ts +38 -0
- package/lib/dist/resolution/frameworks/elysia.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/elysia.js +683 -0
- package/lib/dist/resolution/frameworks/elysia.js.map +1 -0
- package/lib/dist/resolution/frameworks/expo-modules.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/expo-modules.js +8 -88
- package/lib/dist/resolution/frameworks/expo-modules.js.map +1 -1
- package/lib/dist/resolution/frameworks/expo-router.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/expo-router.js +9 -190
- package/lib/dist/resolution/frameworks/expo-router.js.map +1 -1
- package/lib/dist/resolution/frameworks/express.d.ts +48 -1
- package/lib/dist/resolution/frameworks/express.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/express.js +193 -199
- package/lib/dist/resolution/frameworks/express.js.map +1 -1
- package/lib/dist/resolution/frameworks/fabric.js +1 -104
- 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 +14 -43
- 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 +14 -0
- package/lib/dist/resolution/frameworks/index.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/index.js +16 -50
- 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 +203 -129
- 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 +71 -136
- package/lib/dist/resolution/frameworks/laravel.js.map +1 -1
- package/lib/dist/resolution/frameworks/name-heuristic.js +0 -12
- package/lib/dist/resolution/frameworks/name-heuristic.js.map +1 -1
- package/lib/dist/resolution/frameworks/nestjs.js +2 -199
- 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 +10 -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.js +0 -14
- package/lib/dist/resolution/frameworks/page-component.js.map +1 -1
- package/lib/dist/resolution/frameworks/play.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/play.js +26 -34
- package/lib/dist/resolution/frameworks/play.js.map +1 -1
- package/lib/dist/resolution/frameworks/python.js +5 -102
- 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 +13 -4
- package/lib/dist/resolution/frameworks/react-router.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/react-router.js +10 -82
- package/lib/dist/resolution/frameworks/react-router.js.map +1 -1
- package/lib/dist/resolution/frameworks/react.d.ts +57 -0
- package/lib/dist/resolution/frameworks/react.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/react.js +1449 -191
- package/lib/dist/resolution/frameworks/react.js.map +1 -1
- package/lib/dist/resolution/frameworks/ruby.js +1 -61
- 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 +35 -56
- 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 +7 -75
- 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.js +0 -97
- 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.map +1 -1
- package/lib/dist/resolution/frameworks/vue-router.js +11 -134
- package/lib/dist/resolution/frameworks/vue-router.js.map +1 -1
- package/lib/dist/resolution/frameworks/vue.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/vue.js +42 -114
- 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 +278 -29
- package/lib/dist/resolution/import-resolver.d.ts.map +1 -1
- package/lib/dist/resolution/import-resolver.js +1825 -1396
- package/lib/dist/resolution/import-resolver.js.map +1 -1
- package/lib/dist/resolution/index.d.ts +517 -6
- package/lib/dist/resolution/index.d.ts.map +1 -1
- package/lib/dist/resolution/index.js +1604 -1042
- package/lib/dist/resolution/index.js.map +1 -1
- package/lib/dist/resolution/js-builtins.d.ts +23 -0
- package/lib/dist/resolution/js-builtins.d.ts.map +1 -1
- package/lib/dist/resolution/js-builtins.js +34 -14
- 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 +210 -0
- package/lib/dist/resolution/module-importers.d.ts.map +1 -0
- package/lib/dist/resolution/module-importers.js +673 -0
- package/lib/dist/resolution/module-importers.js.map +1 -0
- package/lib/dist/resolution/name-matcher.d.ts +986 -7
- package/lib/dist/resolution/name-matcher.d.ts.map +1 -1
- package/lib/dist/resolution/name-matcher.js +24176 -6745
- 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/php-web-root.d.ts +39 -0
- package/lib/dist/resolution/php-web-root.d.ts.map +1 -0
- package/lib/dist/resolution/php-web-root.js +141 -0
- package/lib/dist/resolution/php-web-root.js.map +1 -0
- 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/python-overloads.d.ts +10 -0
- package/lib/dist/resolution/python-overloads.d.ts.map +1 -0
- package/lib/dist/resolution/python-overloads.js +75 -0
- package/lib/dist/resolution/python-overloads.js.map +1 -0
- package/lib/dist/resolution/react-router-synthesizer.d.ts.map +1 -1
- package/lib/dist/resolution/react-router-synthesizer.js +3 -55
- package/lib/dist/resolution/react-router-synthesizer.js.map +1 -1
- package/lib/dist/resolution/resolver-pool.d.ts +23 -2
- package/lib/dist/resolution/resolver-pool.d.ts.map +1 -1
- package/lib/dist/resolution/resolver-pool.js +43 -111
- 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 +8 -37
- 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.map +1 -1
- package/lib/dist/resolution/swift-type-visibility.js +62 -104
- package/lib/dist/resolution/swift-type-visibility.js.map +1 -1
- 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.map +1 -1
- package/lib/dist/resolution/tier-synthesizer.js +35 -177
- package/lib/dist/resolution/tier-synthesizer.js.map +1 -1
- package/lib/dist/resolution/type-parameters.d.ts +23 -0
- package/lib/dist/resolution/type-parameters.d.ts.map +1 -1
- package/lib/dist/resolution/type-parameters.js +52 -54
- package/lib/dist/resolution/type-parameters.js.map +1 -1
- package/lib/dist/resolution/types.d.ts +192 -11
- 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 +573 -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 +7 -2
- package/lib/dist/sync/worktree.d.ts.map +1 -1
- package/lib/dist/sync/worktree.js +24 -97
- 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 +15 -135
- 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.js +0 -111
- package/lib/dist/ui-server/api/effects.js.map +1 -1
- package/lib/dist/ui-server/api/entrypoints.js +0 -142
- 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.map +1 -1
- package/lib/dist/ui-server/api/map.js +4 -317
- package/lib/dist/ui-server/api/map.js.map +1 -1
- package/lib/dist/ui-server/api/node.js +0 -111
- 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.map +1 -1
- package/lib/dist/ui-server/api/route-roots.js +2 -44
- package/lib/dist/ui-server/api/route-roots.js.map +1 -1
- package/lib/dist/ui-server/api/routes.d.ts.map +1 -1
- package/lib/dist/ui-server/api/routes.js +4 -60
- 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 +4 -174
- 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 +5 -381
- 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 +19 -94
- package/lib/dist/ui-server/api/trails.js.map +1 -1
- package/lib/dist/ui-server/api/when.js +0 -36
- 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.js +0 -25
- package/lib/dist/ui-server/highlight/bounded-tokenize.js.map +1 -1
- package/lib/dist/ui-server/highlight/index.js +1 -132
- 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.js +0 -5
- package/lib/dist/ui-server/highlight/tokenize-worker.js.map +1 -1
- 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 +18 -5
- package/lib/dist/upgrade/index.d.ts.map +1 -1
- package/lib/dist/upgrade/index.js +73 -229
- 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/worker-teardown.js +0 -47
- package/lib/dist/worker-teardown.js.map +1 -1
- 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
|
@@ -3,11 +3,32 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Coordinates all reference resolution strategies.
|
|
5
5
|
*/
|
|
6
|
-
import { UnresolvedReference, Edge } from '../types';
|
|
6
|
+
import { Language, Node, UnresolvedReference, Edge } from '../types';
|
|
7
7
|
import { QueryBuilder } from '../db/queries';
|
|
8
8
|
import { UnresolvedRef, ResolvedRef, ResolutionResult, ResolutionContext } from './types';
|
|
9
|
+
import { type ProjectScans } from './project-scans';
|
|
10
|
+
import { pythonReopenScope, pythonScriptModuleScope } from './import-resolver';
|
|
9
11
|
import { type MaybeYield } from './cooperative-yield';
|
|
12
|
+
import { FlowChange } from './parameter-flow';
|
|
13
|
+
import { type ManifestDiscovery } from './workspace-packages';
|
|
10
14
|
export * from './types';
|
|
15
|
+
/**
|
|
16
|
+
* Project-relative config path → `<digest>@<stamp>`: a digest of what
|
|
17
|
+
* resolution reads from it (see `moduleConfigDigest`) and the stamp of the file
|
|
18
|
+
* it was read from (see `moduleConfigEntry`), 'absent' for one not there. An
|
|
19
|
+
* older engine wrote the digest alone.
|
|
20
|
+
*/
|
|
21
|
+
export type ModuleConfigSnapshot = Record<string, string>;
|
|
22
|
+
/** A stored snapshot's files (see `getModuleConfigSnapshot`); an index without one, or one an older engine wrote, has none. */
|
|
23
|
+
export declare function parseModuleConfigSnapshot(stored: string | null): ModuleConfigSnapshot;
|
|
24
|
+
/** The files of `now` whose digest differs from `was`'s; a stamp alone moved nothing. */
|
|
25
|
+
export declare function changedModuleConfigs(was: ModuleConfigSnapshot, now: ModuleConfigSnapshot): string[];
|
|
26
|
+
/**
|
|
27
|
+
* The languages whose imports a changed config file governs: the ES-module
|
|
28
|
+
* family for a tsconfig / jsconfig, Go for a go.mod, Rust for a Cargo manifest,
|
|
29
|
+
* C and C++ for a compile database.
|
|
30
|
+
*/
|
|
31
|
+
export declare function moduleConfigLanguages(changed: readonly string[]): Set<Language>;
|
|
11
32
|
/**
|
|
12
33
|
* Reference Resolver
|
|
13
34
|
*
|
|
@@ -18,6 +39,8 @@ export declare class ReferenceResolver {
|
|
|
18
39
|
private queries;
|
|
19
40
|
private context;
|
|
20
41
|
private frameworks;
|
|
42
|
+
/** `frameworks` narrowed to those that resolve each reference language (see getResolvingFrameworks). */
|
|
43
|
+
private frameworksByLanguage;
|
|
21
44
|
private deferredChainRefs;
|
|
22
45
|
private deferredThisMemberRefs;
|
|
23
46
|
private deferredRowIds;
|
|
@@ -35,6 +58,8 @@ export declare class ReferenceResolver {
|
|
|
35
58
|
private methodOwnerIndexCache;
|
|
36
59
|
private supertypeGen;
|
|
37
60
|
private supertypeMemo;
|
|
61
|
+
private supertypeNodeMemo;
|
|
62
|
+
private superclassNodeMemo;
|
|
38
63
|
/** Invalidate the getSupertypes memo — call when resolved edges may have advanced. */
|
|
39
64
|
private advanceSupertypeGeneration;
|
|
40
65
|
private nodesByKindCache;
|
|
@@ -44,13 +69,26 @@ export declare class ReferenceResolver {
|
|
|
44
69
|
private cachesWarmed;
|
|
45
70
|
private projectAliases;
|
|
46
71
|
private dirAliases;
|
|
47
|
-
private
|
|
72
|
+
private phpWebRoots;
|
|
73
|
+
private cargoCrates;
|
|
74
|
+
private compileDbIncludeDirs;
|
|
75
|
+
private layoutIncludeDirs;
|
|
76
|
+
private goModuleByDir;
|
|
77
|
+
private goModules;
|
|
78
|
+
private goPackageDirs;
|
|
48
79
|
private workspacePackages;
|
|
80
|
+
private workspaceDiscovery;
|
|
81
|
+
private moduleConfigFiles;
|
|
49
82
|
constructor(projectRoot: string, queries: QueryBuilder);
|
|
50
83
|
/**
|
|
51
|
-
* Initialize the resolver (detect frameworks, etc.)
|
|
84
|
+
* Initialize the resolver (detect frameworks, etc.). `frameworks` are the
|
|
85
|
+
* names detection gave in the process's main thread, for a worker starting
|
|
86
|
+
* on the same index: a detector may read every source file (Spring, in a
|
|
87
|
+
* project with none of it), and each worker doing that again added up.
|
|
52
88
|
*/
|
|
53
|
-
initialize(): void;
|
|
89
|
+
initialize(frameworks?: readonly string[]): void;
|
|
90
|
+
/** The detected frameworks whose `resolve()` reads a reference written in `language`. */
|
|
91
|
+
private frameworksFor;
|
|
54
92
|
/**
|
|
55
93
|
* Run each framework resolver's cross-file finalization pass and persist
|
|
56
94
|
* the returned node updates. Idempotent — safe to call after every indexAll
|
|
@@ -60,6 +98,34 @@ export declare class ReferenceResolver {
|
|
|
60
98
|
* state and downstream queries see the updated names.
|
|
61
99
|
*/
|
|
62
100
|
runPostExtract(): number;
|
|
101
|
+
/**
|
|
102
|
+
* Bring a framework's cross-file nodes in line with what it wants now:
|
|
103
|
+
* insert the new ones with their references (pending, for the resolution
|
|
104
|
+
* that follows), rename the ones whose name changed, and remove the ones it
|
|
105
|
+
* no longer wants. A removed node's incoming resolution edges go back to
|
|
106
|
+
* being the references that made them, exactly as when a file is deleted,
|
|
107
|
+
* so they rebind elsewhere or park as failed. Unchanged nodes are not
|
|
108
|
+
* touched, so their edges survive. Returns the number of nodes changed.
|
|
109
|
+
*/
|
|
110
|
+
private reconcileCrossFileNodes;
|
|
111
|
+
/**
|
|
112
|
+
* Put back in the pending set the route references whose answer reads a
|
|
113
|
+
* module in `changedFilePaths` (`FrameworkResolver.lazyModules`), for a
|
|
114
|
+
* sync's resolution sweep. Returns the number put back.
|
|
115
|
+
*
|
|
116
|
+
* A route that renders a same-file `const Docs = lazy(() =>
|
|
117
|
+
* import('./pages/Docs'))` binds to the declaration while the module is
|
|
118
|
+
* missing, and nothing revisited it once the module was added: the
|
|
119
|
+
* reference had resolved, so it was never parked for the failed-ref retry,
|
|
120
|
+
* and the rebind of the names a sync defines (CG-33) reaches it only when
|
|
121
|
+
* the module's component is named like the declaration. An edit that gives
|
|
122
|
+
* the module its default export, or moves it to another component, changes
|
|
123
|
+
* the answer the same way: a route's edge follows its old target through
|
|
124
|
+
* the module's re-index. So does a page behind a barrel the module
|
|
125
|
+
* forwards. References written in a changed file were resolved against the
|
|
126
|
+
* new files already.
|
|
127
|
+
*/
|
|
128
|
+
reopenRouteModuleReaders(changedFilePaths: readonly string[]): number;
|
|
63
129
|
/**
|
|
64
130
|
* Pre-build lightweight caches for resolution.
|
|
65
131
|
* Node lookups are now handled by indexed SQLite queries instead of
|
|
@@ -76,12 +142,30 @@ export declare class ReferenceResolver {
|
|
|
76
142
|
* result, same memory — only the event loop keeps turning.
|
|
77
143
|
*/
|
|
78
144
|
warmCachesYielding(onYield: MaybeYield): Promise<void>;
|
|
145
|
+
/** What this resolver has read from the whole project, or reads now, for the workers (see ./project-scans). */
|
|
146
|
+
private projectScans;
|
|
147
|
+
/** Take another thread's reads of the whole project instead of making them here. */
|
|
148
|
+
adoptProjectScans(scans: ProjectScans): void;
|
|
79
149
|
/** `queries.getNodeById` through the resolver's own id → node cache. */
|
|
80
150
|
private nodeById;
|
|
81
151
|
/**
|
|
82
152
|
* Clear internal caches
|
|
83
153
|
*/
|
|
84
154
|
clearCaches(): void;
|
|
155
|
+
/**
|
|
156
|
+
* The module of the nearest `go.mod` at or above project-relative `dir`
|
|
157
|
+
* ('' = the root), never above the project root (#2322). Each directory
|
|
158
|
+
* is read at most once: every directory the walk passes is memoized.
|
|
159
|
+
*/
|
|
160
|
+
private nearestGoModule;
|
|
161
|
+
/**
|
|
162
|
+
* The project's Go modules: the root `go.mod`'s, and the nearest `go.mod`
|
|
163
|
+
* of every directory holding an indexed `.go` file — so an ignored or
|
|
164
|
+
* vendored tree, which holds no indexed file, adds none, and nothing walks
|
|
165
|
+
* the disk. The go tool ignores `testdata/` and `_`/`.`-prefixed
|
|
166
|
+
* directories, so a module there serves only its own files (#2322).
|
|
167
|
+
*/
|
|
168
|
+
private getGoModules;
|
|
85
169
|
/** `readFile` through the LRU content cache (null = read failed, also cached). */
|
|
86
170
|
private readFileCached;
|
|
87
171
|
/**
|
|
@@ -90,6 +174,8 @@ export declare class ReferenceResolver {
|
|
|
90
174
|
* unchanged, and decoding is most of reading a file nobody keeps.
|
|
91
175
|
*/
|
|
92
176
|
private fileContains;
|
|
177
|
+
/** The text a walk over the indexed files reads: see ResolutionContext.scanFile. */
|
|
178
|
+
private scanFile;
|
|
93
179
|
/**
|
|
94
180
|
* Create the resolution context
|
|
95
181
|
*/
|
|
@@ -124,7 +210,43 @@ export declare class ReferenceResolver {
|
|
|
124
210
|
* Calls that land on an alias binding then forward once to the callable
|
|
125
211
|
* the alias names (see ./alias-binding), regardless of the strategy.
|
|
126
212
|
*/
|
|
213
|
+
/**
|
|
214
|
+
* The failed python attribute-chain refs that an edit to `touched` makes
|
|
215
|
+
* resolvable now — what a sync retries after a factory or a base class
|
|
216
|
+
* changed in another file (`pythonAttrRefResolves` answers each one).
|
|
217
|
+
*
|
|
218
|
+
* The candidates are the refs in the files that import a touched file
|
|
219
|
+
* within a few hops, counted once per (calling symbol, name). When there
|
|
220
|
+
* are more than `ceiling` of them — an edit to a module most of the project
|
|
221
|
+
* imports — only those the edit can plausibly reach are kept: an attribute
|
|
222
|
+
* a touched file assigns, a call receiver it defines, a class that
|
|
223
|
+
* subclasses one of its classes, or an attribute assigned from a call to
|
|
224
|
+
* something it defines. Null when even that is over the ceiling; those refs
|
|
225
|
+
* wait for a full index.
|
|
226
|
+
*
|
|
227
|
+
* Past the ceiling, then, these become resolvable only at the next full
|
|
228
|
+
* index: a factory two hops from the edit, a subclass two hops away, and an
|
|
229
|
+
* attribute typed by an annotation — a parameter `c: Client`, or a
|
|
230
|
+
* class-level `c: Client` in a class that only gains the base or import that
|
|
231
|
+
* resolves `Client` in the touched file.
|
|
232
|
+
*/
|
|
233
|
+
pythonAttrRetryCandidates(touched: string[], ceiling?: number): UnresolvedReference[] | null;
|
|
127
234
|
resolveOne(ref: UnresolvedRef): ResolvedRef | null;
|
|
235
|
+
/** The reference resolveOne read last and the context it read it through, for parkable. */
|
|
236
|
+
private lastResolved;
|
|
237
|
+
/** resolveOneIn with every strategy reading the graph through `context`. */
|
|
238
|
+
private resolveOneWith;
|
|
239
|
+
private resolveOneIn;
|
|
240
|
+
/**
|
|
241
|
+
* A Rust function passed through its path (`map(Graph::counts)`, #3254)
|
|
242
|
+
* names what the same path written as a call names, gates included: the
|
|
243
|
+
* call's module, `use` and `Self` rules decide, and a std type that only
|
|
244
|
+
* shares a project type's name reaches nothing. Only a function, an
|
|
245
|
+
* inherent method or a trait's own method counts, never one in an `impl
|
|
246
|
+
* Trait for T` block (isRustTraitImplMember), nor another project type's
|
|
247
|
+
* inherent method (isRustOtherTypesMethod).
|
|
248
|
+
*/
|
|
249
|
+
private resolveRustPathValue;
|
|
128
250
|
private resolveOneInner;
|
|
129
251
|
/**
|
|
130
252
|
* Create edges from resolved references
|
|
@@ -148,6 +270,16 @@ export declare class ReferenceResolver {
|
|
|
148
270
|
* ref's line), so a sibling must not inherit this row's failure (#1269).
|
|
149
271
|
*/
|
|
150
272
|
private static partitionFailedCleanup;
|
|
273
|
+
/**
|
|
274
|
+
* `ref`, which no strategy resolved, with the tail it is parked under when
|
|
275
|
+
* that is not the one its name gives: a reference through an import
|
|
276
|
+
* binding the module doesn't declare by that name waits for the module
|
|
277
|
+
* (see importBindingTail). Decided here, where the file's import mappings
|
|
278
|
+
* are still cached from the attempt — in a resolver-pool worker too. A
|
|
279
|
+
* receiver's type is read through the context the attempt read it in,
|
|
280
|
+
* whose readings it reuses.
|
|
281
|
+
*/
|
|
282
|
+
private parkable;
|
|
151
283
|
/** A deferred attempt is unfinished work, not a final failure (#1577). */
|
|
152
284
|
private nonDeferredFailures;
|
|
153
285
|
private deferReference;
|
|
@@ -254,6 +386,11 @@ export declare class ReferenceResolver {
|
|
|
254
386
|
*/
|
|
255
387
|
resolveAndPersistBatched(onProgress?: (current: number, total: number) => void, batchSize?: number, onSynthesisProgress?: (done: number, total: number) => void, parallel?: {
|
|
256
388
|
dbPath: string;
|
|
389
|
+
/**
|
|
390
|
+
* A full index: the workers may take this resolver's frameworks, detected
|
|
391
|
+
* on this same index, and its reads of files the parse has just read.
|
|
392
|
+
*/
|
|
393
|
+
shareFrameworks?: boolean;
|
|
257
394
|
bulkEdgeLoad?: {
|
|
258
395
|
begin: () => void;
|
|
259
396
|
end: () => void | Promise<void>;
|
|
@@ -269,12 +406,172 @@ export declare class ReferenceResolver {
|
|
|
269
406
|
};
|
|
270
407
|
backpressure?: () => Promise<void> | null;
|
|
271
408
|
}, synthesize?: boolean): Promise<ResolutionResult>;
|
|
409
|
+
/** What a sync has to tell the parameter-flow pass of the files it changes. */
|
|
410
|
+
trackParameterFlows(): FlowChange;
|
|
411
|
+
/**
|
|
412
|
+
* Move each call on a parameter whose class its call sites settle to that
|
|
413
|
+
* class's method, and put back through resolution a call whose flow is gone
|
|
414
|
+
* (see ./parameter-flow). The last pass on `calls` edges, once every call has
|
|
415
|
+
* an answer and the resolver pool is gone: what it holds is off the index's
|
|
416
|
+
* peak. A sync hands in what it changed, and the pass goes only as far as
|
|
417
|
+
* that reaches.
|
|
418
|
+
*/
|
|
419
|
+
resolveParameterFlows(change?: FlowChange): Promise<number>;
|
|
272
420
|
/** Replace synthesis only after every base-resolution pass has finished. */
|
|
273
421
|
refreshSynthesis(dbPath: string, onProgress?: (done: number, total: number) => void, backpressure?: () => Promise<void> | null): Promise<number>;
|
|
422
|
+
/**
|
|
423
|
+
* Digest of the package roots Python import resolution rests on (see
|
|
424
|
+
* `pythonRootFingerprint`). Build configs are read from disk rather than
|
|
425
|
+
* the file cache, so a sync after an edit sees the edit. Empty for a
|
|
426
|
+
* project with no Python.
|
|
427
|
+
*/
|
|
428
|
+
getPythonRootFingerprint(): string;
|
|
429
|
+
/**
|
|
430
|
+
* The workspace packages and path dependencies as package.json files
|
|
431
|
+
* declare them now, read again from disk, and their fingerprint (see
|
|
432
|
+
* `workspaceFingerprint`). The resolver keeps the map for its lifetime, so
|
|
433
|
+
* a sync calls this to see a manifest edit; when the map moved, the
|
|
434
|
+
* resolver takes the new one and drops every memo resolved through the old
|
|
435
|
+
* one, and the caller re-opens what was linked by it.
|
|
436
|
+
*/
|
|
437
|
+
refreshWorkspacePackages(knownManifests?: readonly string[]): string;
|
|
438
|
+
/** The walk the workspace map was last read by (see ManifestDiscovery), or null before any. */
|
|
439
|
+
getWorkspaceDiscovery(): ManifestDiscovery | null;
|
|
440
|
+
/**
|
|
441
|
+
* The module-config files the index was resolved by, with a digest of each
|
|
442
|
+
* (see `moduleConfigSnapshot`): every tsconfig / jsconfig this resolver read
|
|
443
|
+
* (`extends` chains included), every go.mod, and the root's candidates
|
|
444
|
+
* whether present or not, so one that appears is seen too. `previous` is the
|
|
445
|
+
* snapshot the index was stamped with; its files are read again, so a config
|
|
446
|
+
* this process never loaded still counts. `treeMoved` says files came or went
|
|
447
|
+
* since this resolver last looked: a crate under a `crates/*` member names no
|
|
448
|
+
* file the snapshot holds, and a new top folder of headers can be an include
|
|
449
|
+
* directory, so what is read from the tree's layout is read again. A
|
|
450
|
+
* snapshot from before manifests counted has its members to learn too.
|
|
451
|
+
*/
|
|
452
|
+
getModuleConfigSnapshot(previous: string | null, treeMoved?: boolean): ModuleConfigSnapshot;
|
|
453
|
+
/** The Cargo workspace's crates, read from disk the first time; every member's manifest joins the snapshot. */
|
|
454
|
+
private readCargoCrates;
|
|
455
|
+
/**
|
|
456
|
+
* Forget the tsconfig / jsconfig alias maps, the go.mod modules, the Cargo
|
|
457
|
+
* crates and the compile database's directories this resolver read, and
|
|
458
|
+
* every memo resolved through them, so the next reference reads the files as
|
|
459
|
+
* they are now (#2977). The caller re-opens the imports the old maps resolved.
|
|
460
|
+
*/
|
|
461
|
+
resetModuleConfig(): void;
|
|
462
|
+
/** The fingerprint of the workspace map this resolver resolves by (see `workspaceFingerprint`). */
|
|
463
|
+
getWorkspaceFingerprint(): string;
|
|
464
|
+
/**
|
|
465
|
+
* The folder `$_SERVER['DOCUMENT_ROOT']` names for a PHP include in
|
|
466
|
+
* `fromFile` (#3298): the project's `codegraph.json` `webRoot`, else the one
|
|
467
|
+
* the project's own includes agree on for the file's folder (see
|
|
468
|
+
* php-web-root.ts), else null.
|
|
469
|
+
*/
|
|
470
|
+
phpWebRootOf(fromFile: string): string | null;
|
|
471
|
+
/** Every folder holding a `$_SERVER['DOCUMENT_ROOT']` include → the web root inferred for it, read once a pass. */
|
|
472
|
+
private inferredPhpWebRoots;
|
|
473
|
+
/**
|
|
474
|
+
* The web roots PHP's `$_SERVER['DOCUMENT_ROOT']` includes go under now,
|
|
475
|
+
* for a sync to compare with the index's (#3298; see phpWebRootSnapshot).
|
|
476
|
+
*/
|
|
477
|
+
getPhpWebRootSnapshot(): string;
|
|
478
|
+
/** Whether files a sync never touched must take another web root (see phpWebRootsMoved). */
|
|
479
|
+
phpWebRootsMoved(before: string, now: string): boolean;
|
|
480
|
+
/** The folder of the workspace package or path dependency `file` is in (see `workspacePackageDirOf`), or null. */
|
|
481
|
+
workspacePackageDirOf(file: string): string | null;
|
|
482
|
+
/** What a sync must re-open after these Python files were added or removed (see `pythonReopenScope`). */
|
|
483
|
+
getPythonReopenScope(changedFiles: string[]): ReturnType<typeof pythonReopenScope>;
|
|
484
|
+
/** What a sync must re-open after these Python files were edited (see `pythonScriptModuleScope`). */
|
|
485
|
+
getPythonScriptModuleScope(editedFiles: string[]): ReturnType<typeof pythonScriptModuleScope>;
|
|
486
|
+
/** Importers of Python packages whose `__init__.py` was edited, with the names they bind (see `pythonPackageImporters`). */
|
|
487
|
+
getPythonPackageImporters(initFiles: string[]): Map<string, Map<string, string | null>>;
|
|
488
|
+
/** The resolution context, reading build configs from disk rather than the file cache. */
|
|
489
|
+
private diskContext;
|
|
274
490
|
/**
|
|
275
491
|
* Get detected frameworks
|
|
276
492
|
*/
|
|
277
493
|
getDetectedFrameworks(): string[];
|
|
494
|
+
/** The project file a module specifier written in `fromFile` names, as its import resolves it; null when none. */
|
|
495
|
+
resolveModuleFile(specifier: string, fromFile: string, language: Language): string | null;
|
|
496
|
+
/**
|
|
497
|
+
* What `ref` resolves to against the graph as it is now, writing nothing:
|
|
498
|
+
* its target and how it was found, or null. A sync compares it with the
|
|
499
|
+
* edge the reference made before, to re-open only an edge an edit moved.
|
|
500
|
+
*/
|
|
501
|
+
resolveNow(ref: UnresolvedReference): {
|
|
502
|
+
targetNodeId: string;
|
|
503
|
+
resolvedBy: string;
|
|
504
|
+
} | null;
|
|
505
|
+
/** True when a detected router binds navigation calls to its routes (see {@link reopenNavigationsFor}). */
|
|
506
|
+
hasNavigationRouters(): boolean;
|
|
507
|
+
/**
|
|
508
|
+
* Put back in the pending set the navigation calls `routes` — route nodes a
|
|
509
|
+
* sync added, removed or renamed ({@link changedRoutes}) — may now resolve
|
|
510
|
+
* differently, for the sync's resolution sweep: the calls parked as failed,
|
|
511
|
+
* and the calls whose `navigates` edges a router's resolver made. Calls in
|
|
512
|
+
* `changedFilePaths` are left alone; the sync resolved them against the new
|
|
513
|
+
* routes already. Returns the number of references put back.
|
|
514
|
+
*
|
|
515
|
+
* A navigation call names its route by path (`navigate('/login')`) and its
|
|
516
|
+
* reference by the router's method (`navigate`, `history.push`), so a route
|
|
517
|
+
* table that changed in another file is invisible to the rest of sync. A
|
|
518
|
+
* call parked as failed while its route was missing is keyed on `push`,
|
|
519
|
+
* which no synced file defines, and a resolved call keeps the route it bound
|
|
520
|
+
* to while a better one was missing (a catch-all, a parameter route, one arm
|
|
521
|
+
* of a conditional) or a route renamed under it. A full index resolves every
|
|
522
|
+
* call against the final table. Each router says which calls a route of its
|
|
523
|
+
* own can answer (`FrameworkResolver.navigation`): the method tails, and the
|
|
524
|
+
* apps whose files match against that route's table. A name more of those
|
|
525
|
+
* calls share than `perNameCeiling` is skipped, as the symbol retry skips a
|
|
526
|
+
* common tail.
|
|
527
|
+
*/
|
|
528
|
+
reopenNavigationsFor(routes: readonly Node[], changedFilePaths?: readonly string[], perNameCeiling?: number): number;
|
|
529
|
+
/**
|
|
530
|
+
* The edited modules among `modifiedFilePaths` whose default export moved:
|
|
531
|
+
* an edit made `export default A` into `export default B`, or took the
|
|
532
|
+
* default away, while `A` stayed declared. A sync moves the edges other
|
|
533
|
+
* files made into a changed file onto the node that replaces each target, so
|
|
534
|
+
* `new Y()` after `import Y from './x'` kept `A` where a full index links
|
|
535
|
+
* `B`. An `export default` statement is no node, so neither the definition
|
|
536
|
+
* delta nor a failed-reference retry sees it change.
|
|
537
|
+
*
|
|
538
|
+
* The default a module had is read off the edges into it, with no file read:
|
|
539
|
+
* a default or namespace import of it is an `imports` edge into its file
|
|
540
|
+
* node named for the binding, and a whole-name reference through that
|
|
541
|
+
* binding (`Y`, not `Y.run`) that resolved through the import names exactly
|
|
542
|
+
* its default (a namespace binding's `NS` names the file). Only edges bound
|
|
543
|
+
* before this sync resolved anything count (up to `resolvedUpToEdgeId`), and
|
|
544
|
+
* only from files it left alone. A module that forwards its default from
|
|
545
|
+
* another file (`export { default } from './impl'`) has those edges there,
|
|
546
|
+
* so a few of its importers' are read instead. An edit that leaves the
|
|
547
|
+
* default alone, nearly every one, finds them all still on it. Each module
|
|
548
|
+
* comes with the declarations its default was (`was`), as those edges say.
|
|
549
|
+
*/
|
|
550
|
+
changedDefaultExports(modifiedFilePaths: readonly string[], changedFilePaths: readonly string[], resolvedUpToEdgeId: number): Array<{
|
|
551
|
+
path: string;
|
|
552
|
+
language: Language;
|
|
553
|
+
was: string[];
|
|
554
|
+
}>;
|
|
555
|
+
/**
|
|
556
|
+
* Whether a failed import could name one of `files`, the files a sync just
|
|
557
|
+
* added: the test the import retry puts a crowded key's imports to
|
|
558
|
+
* (`QueryBuilder.getRetryableFailedImports`). `utils` is the path stem of a
|
|
559
|
+
* project's own `./utils` and of every `jotai/utils` and `@scope/pkg/utils`
|
|
560
|
+
* import alike, and `assert` the name of every binding of `import * as
|
|
561
|
+
* assert from 'assert'`, so past the retry's ceiling a key holds the few
|
|
562
|
+
* imports an added `utils.ts` or `assert.ts` is for among hundreds that no
|
|
563
|
+
* file of the project is.
|
|
564
|
+
*
|
|
565
|
+
* A JavaScript or TypeScript import reaches a file by the module it is
|
|
566
|
+
* written as (a path, a tsconfig alias or a workspace package, an `index`
|
|
567
|
+
* file and the emitted `.js` of a `.ts` included), by a framework's alias
|
|
568
|
+
* (SvelteKit's `$lib/…`) or by the file's own name (`…/utils.js`). One that
|
|
569
|
+
* none of those lead to an added file — a package, an import binding, a
|
|
570
|
+
* workspace package's subpath only its `exports` map resolves — names none
|
|
571
|
+
* of them. Of an import written in another language this knows nothing, so
|
|
572
|
+
* a crowded key skips it, as it always has.
|
|
573
|
+
*/
|
|
574
|
+
couldNameAnyOf(files: readonly string[]): (reference: UnresolvedReference) => boolean;
|
|
278
575
|
/**
|
|
279
576
|
* True when `receiver` is a local name bound by an import that resolves to a
|
|
280
577
|
* file IN THIS PROJECT — the only case where letting a python
|
|
@@ -291,8 +588,35 @@ export declare class ReferenceResolver {
|
|
|
291
588
|
* Resolving the specifier is the same question resolveViaImport will ask
|
|
292
589
|
* next, so a receiver that passes here is one the qualified path can actually
|
|
293
590
|
* serve; anything else stays a silent miss rather than a wrong edge.
|
|
591
|
+
*
|
|
592
|
+
* Asked of the binding the reference reads, as resolveViaImport asks it, for
|
|
593
|
+
* a receiver the file imports at all: an `import a.b as receiver` inside the
|
|
594
|
+
* calling function (#2600), or the file's imports of the name unless the
|
|
595
|
+
* function binds it itself — a parameter or local named like the module
|
|
596
|
+
* (`def save(store): store.write()`) is a value, and its builtin-named call
|
|
597
|
+
* stays filtered.
|
|
294
598
|
*/
|
|
295
599
|
private isPythonProjectModule;
|
|
600
|
+
/** A python call `x.get(…)` of a method named like a builtin collection, string or file method. */
|
|
601
|
+
private isPythonBuiltinNamedMethodCall;
|
|
602
|
+
/**
|
|
603
|
+
* The file isUnboundPythonBuiltin read last: every name its nodes have and
|
|
604
|
+
* its imports bind, and whether it star-imports a module. References arrive
|
|
605
|
+
* grouped by file, so one slot serves them all.
|
|
606
|
+
*/
|
|
607
|
+
private pythonFileBindings;
|
|
608
|
+
/**
|
|
609
|
+
* Whether a Python reference to a builtin's name (PYTHON_BUILTIN_NAMES) can
|
|
610
|
+
* only mean the builtin: written bare (`self.format()` and `errors.Timeout`
|
|
611
|
+
* name a member), in a file that defines nothing of that name, imports
|
|
612
|
+
* nothing under it and star-imports no module that might export it.
|
|
613
|
+
*/
|
|
614
|
+
private isUnboundPythonBuiltin;
|
|
615
|
+
/**
|
|
616
|
+
* True when the Go file imports `qualifier` — by its last path segment or
|
|
617
|
+
* an alias — from a package of one of the project's own modules.
|
|
618
|
+
*/
|
|
619
|
+
private isGoProjectPackage;
|
|
296
620
|
/**
|
|
297
621
|
* Check if reference is to a built-in or external symbol
|
|
298
622
|
*/
|
|
@@ -340,8 +664,46 @@ export declare class ReferenceResolver {
|
|
|
340
664
|
* edge. Directory comparison is case-insensitive (CFML path resolution is);
|
|
341
665
|
* the class segment itself is matched exactly, which real code satisfies —
|
|
342
666
|
* dotted paths are written to match the on-disk file name.
|
|
667
|
+
*
|
|
668
|
+
* A test suite is no candidate for production code (#2209's rule), and on a
|
|
669
|
+
* tie it yields to the one component outside the test suites (#2650): a
|
|
670
|
+
* TestBox spec mirroring the component's path (`tests/specs/unit/core/
|
|
671
|
+
* basecore.cfc` beside `core/basecore.cfc`) corroborates the same segments,
|
|
672
|
+
* and a mapping root like `contenscms` (onto `contens/`) matches neither.
|
|
673
|
+
*
|
|
674
|
+
* The one exception to corroboration is a path with a single folder segment
|
|
675
|
+
* and a component at the project root (#2652): `wheels.JobWorker` in Wheels'
|
|
676
|
+
* own source, where `wheels` is the mapping onto the root, has no folder of
|
|
677
|
+
* the file's to corroborate. It ranks below any candidate a folder
|
|
678
|
+
* corroborates, and the file must be named like the component.
|
|
343
679
|
*/
|
|
344
680
|
private resolveCfmlComponentPath;
|
|
681
|
+
/**
|
|
682
|
+
* A CFML call chained onto a construction (#2652): `createObject("component",
|
|
683
|
+
* "a.b.Batch").init()` or `new a.b.Batch().init()`, encoded
|
|
684
|
+
* `a.b.Batch().init`. The component is the one its path names, by
|
|
685
|
+
* resolveCfmlComponentPath's rules, or for a bare name the one beside the
|
|
686
|
+
* calling file (where CFML looks first), else the only one of that name. The
|
|
687
|
+
* method is the component's own or one it inherits — inheritance is wired
|
|
688
|
+
* before calls are resolved. Null when either is missing: the bare `init`
|
|
689
|
+
* such a call used to emit matched whichever component's `init` came first.
|
|
690
|
+
*/
|
|
691
|
+
private resolveCfmlConstructedCall;
|
|
692
|
+
/** The CFML component a bare name reaches from `fromFile`: the one in its directory, else the only one so named. */
|
|
693
|
+
private cfmlComponentByName;
|
|
694
|
+
/** A CFML component's method by its lowercased name (CFML names ignore case): its own, else one a supertype has. */
|
|
695
|
+
private cfmlMethodOf;
|
|
696
|
+
/**
|
|
697
|
+
* The file a CFML include names (#2651) — `include "x.cfm";`,
|
|
698
|
+
* `<cfinclude template="x.cfm">`, `cfinclude(template="x.cfm")`. A template
|
|
699
|
+
* path is relative to the directory of the file that includes it
|
|
700
|
+
* (`formlistshared.cfm`, `../shared/helpers.cfm`), or to the web root when
|
|
701
|
+
* it starts with `/`: the project root, when the project is the web root —
|
|
702
|
+
* an assumption, so such a match is less sure. Null when no indexed file is
|
|
703
|
+
* there. CFML code written on a case-blind file system often spells a path
|
|
704
|
+
* in another case, so a single file that matches ignoring case counts too.
|
|
705
|
+
*/
|
|
706
|
+
private resolveCfmlIncludePath;
|
|
345
707
|
/**
|
|
346
708
|
* Resolve a `this.<member>` function-as-value reference (#756/#808) to the
|
|
347
709
|
* ENCLOSING CLASS's own member — never a same-named symbol elsewhere. The
|
|
@@ -369,7 +731,12 @@ export declare class ReferenceResolver {
|
|
|
369
731
|
* framework, import, name-match, chain, CFML component path.
|
|
370
732
|
*
|
|
371
733
|
* For `imports`: the target must be importable. A member that only exists
|
|
372
|
-
* inside a type never is
|
|
734
|
+
* inside a type never is, and neither is the import statement the reference
|
|
735
|
+
* was written in.
|
|
736
|
+
*
|
|
737
|
+
* For a Go type position: the target is a type of the package Go reads the
|
|
738
|
+
* name from, moved there when a strategy found a method, a function or
|
|
739
|
+
* another package's type (see goTypePositionTarget).
|
|
373
740
|
*
|
|
374
741
|
* For `extends`/`implements`, it cannot be describing a real supertype when:
|
|
375
742
|
*
|
|
@@ -410,12 +777,91 @@ export declare class ReferenceResolver {
|
|
|
410
777
|
/**
|
|
411
778
|
* A bare Rust name reaches only what is in scope — every strategy's result,
|
|
412
779
|
* a framework resolver's `Ok(x)` → `struct Ok` construction included (see
|
|
413
|
-
* isRustNameInScope).
|
|
780
|
+
* isRustNameInScope). A call through a path whose type is from outside the
|
|
781
|
+
* project reaches only the project's impls for that type (or of that trait,
|
|
782
|
+
* isRustPathCallReachable). And a call, however written, reaches a project
|
|
783
|
+
* impl on a std type only as Rust would pick it (isRustForeignImplCallable).
|
|
414
784
|
*/
|
|
415
785
|
private gateRustScope;
|
|
786
|
+
/**
|
|
787
|
+
* The context production code is resolved in when the project has Jest or
|
|
788
|
+
* Vitest manual mocks (`__mocks__/`): the graph without them. A mock
|
|
789
|
+
* re-declares its module's names by design and stands in for the module
|
|
790
|
+
* only while a test runs, so production code means what it would mean were
|
|
791
|
+
* the mocks not there (#2455): `formatLabel(name)`, whose import of a
|
|
792
|
+
* workspace package was not followed, is the package's `formatLabel`, never
|
|
793
|
+
* the nearer mock's. Adding or deleting a mock then changes nothing for
|
|
794
|
+
* production code, as a fresh index would have it. Test code, a mock
|
|
795
|
+
* included, keeps the whole graph: a mock is what Jest hands it. Null when
|
|
796
|
+
* the whole graph applies.
|
|
797
|
+
*/
|
|
798
|
+
private mocklessContextFor;
|
|
799
|
+
/** Built on first use from `mocklessBase`; clearCaches drops it, and the memos keyed by it go with it. */
|
|
800
|
+
private mocklessContext;
|
|
801
|
+
private mocklessBase;
|
|
802
|
+
/** The names the project's manual mocks declare, null when it has none; read once per cache window. */
|
|
803
|
+
private manualMocks;
|
|
804
|
+
private manualMockNames;
|
|
805
|
+
/**
|
|
806
|
+
* The context a TS/JS reference is resolved in outside the named class
|
|
807
|
+
* expressions (#2499): one without the classes they declare or their
|
|
808
|
+
* members. An expression's name is bound inside it alone, and its class's
|
|
809
|
+
* value travels in ways resolution doesn't follow. So outside, a reference
|
|
810
|
+
* means what it would were those classes not indexed, with the confidence
|
|
811
|
+
* it had: `const Panel = class Panel {…}` keeps `new Panel()` on the
|
|
812
|
+
* constant, an interface beside a same-named class expression keeps its
|
|
813
|
+
* typed calls, and an `HTMLElement` type stays clear of lit's
|
|
814
|
+
* `HTMLElementShim = class HTMLElement {…}`. A class a CommonJS module
|
|
815
|
+
* exports isn't among them (classExpressions). Null inside a class
|
|
816
|
+
* expression, where the whole graph applies.
|
|
817
|
+
*/
|
|
818
|
+
private classExpressionFreeContextFor;
|
|
819
|
+
/**
|
|
820
|
+
* `base` without the classes class expressions declare and their members.
|
|
821
|
+
* The lookups an import reads a module's exports by (getNodesInFileNamed,
|
|
822
|
+
* getExportedNodesInFile) are left whole.
|
|
823
|
+
*/
|
|
824
|
+
private classExpressionFreeView;
|
|
825
|
+
/** classExpressionFreeContextFor's views, by the context each hides from and what it hides, and each view's context; clearCaches drops both. */
|
|
826
|
+
private classExpressionFreeViews;
|
|
827
|
+
private classExpressionFreeBases;
|
|
828
|
+
/**
|
|
829
|
+
* The names that only class expressions' classes and members carry, which
|
|
830
|
+
* name nothing where classExpressionFreeView hides those: lit's DOM shims
|
|
831
|
+
* (`class HTMLElement`, `class Event`) would otherwise send every
|
|
832
|
+
* `HTMLElement` and `new Event()` across the project through the whole
|
|
833
|
+
* resolution only to find nothing, where before the name pre-filter
|
|
834
|
+
* dropped them. Read once per cache window.
|
|
835
|
+
*/
|
|
836
|
+
private classExpressionOnlyNames;
|
|
837
|
+
/** classExpressionOnlyNames' answer; clearCaches drops it. */
|
|
838
|
+
private classExpressionOnlyNameSet;
|
|
839
|
+
/**
|
|
840
|
+
* The classes named class expressions declare: by name, the files holding
|
|
841
|
+
* them, the ids of them and their members, and the one a member belongs
|
|
842
|
+
* to. Null when there are none. Read once per cache window. A class a
|
|
843
|
+
* CommonJS module exports is left out: the module binds it, so it is read
|
|
844
|
+
* as a declaration is.
|
|
845
|
+
*/
|
|
846
|
+
private classExpressionIndex;
|
|
847
|
+
private classExpressions;
|
|
848
|
+
/** Is `filePath` (project-relative) one of the files the index holds? */
|
|
849
|
+
private isIndexedFile;
|
|
416
850
|
/** The repository's own package name, from its root package.json; null without one. */
|
|
417
851
|
/** Per directory: the package names its package.json and every enclosing one own and depend on. */
|
|
418
852
|
private manifestScopes;
|
|
853
|
+
/** isRegistryCopy's answers, by `node_modules` folder and package name; undefined: not there. */
|
|
854
|
+
private installedPackages;
|
|
855
|
+
/** Per absolute directory: the names of what it holds, exactly as spelled; null when it can't be listed. */
|
|
856
|
+
private directoryListings;
|
|
857
|
+
/** Per importing directory: the `node_modules` folders Node searches from it, nearest first. */
|
|
858
|
+
private searchedModules;
|
|
859
|
+
/** Per `node_modules` folder: its real path. */
|
|
860
|
+
private realModulesDirs;
|
|
861
|
+
/** The package names the project's own manifests give (see projectPackageNames). */
|
|
862
|
+
private ownPackageNames;
|
|
863
|
+
/** The name an installed package's own package.json gives, by `node_modules` folder and import name ('' for none). */
|
|
864
|
+
private installedNames;
|
|
419
865
|
/**
|
|
420
866
|
* Is `source` a package from outside the repository? Only when the importing
|
|
421
867
|
* file's package.json (or an enclosing one) declares it, or it is a Node
|
|
@@ -424,8 +870,65 @@ export declare class ReferenceResolver {
|
|
|
424
870
|
* `~/…`, a nested app's own `@/…` — and stays the project's.
|
|
425
871
|
*/
|
|
426
872
|
private isDeclaredOutsidePackage;
|
|
873
|
+
/**
|
|
874
|
+
* Is `source`, a package name no manifest declares, one the project has
|
|
875
|
+
* installed? A dependency the manifest doesn't list is still a package when
|
|
876
|
+
* it sits in a `node_modules` folder the import would search: hoisted in a
|
|
877
|
+
* monorepo, or pulled in by another package (#3271). An alias this resolver
|
|
878
|
+
* doesn't read (a bundler's `ui`, an import map's `helpers`) has no such
|
|
879
|
+
* folder, so it keeps the project's. So does a package of the project's
|
|
880
|
+
* own: one a `node_modules` entry links to (see isRegistryCopy), or a copy
|
|
881
|
+
* of one (see projectPackageNames). Only a valid npm package name
|
|
882
|
+
* qualifies, so `$lib/…`, `~/…`, `@/…` and `#…` keep the project's.
|
|
883
|
+
*/
|
|
884
|
+
private isInstalledPackage;
|
|
885
|
+
/**
|
|
886
|
+
* Is the package `name` installed in `modules` a copy of one of the
|
|
887
|
+
* project's own packages? It is when a project manifest names it (see
|
|
888
|
+
* projectPackageNames), under the name it is imported by or under the name
|
|
889
|
+
* its own package.json gives, which differs when an install put it under
|
|
890
|
+
* another name (`"kit": "file:../libs/lib"`).
|
|
891
|
+
*/
|
|
892
|
+
private isProjectPackageCopy;
|
|
893
|
+
/**
|
|
894
|
+
* The names of the project's own packages: the `name` of every package.json
|
|
895
|
+
* at or above a directory the index holds files in, and every dependency
|
|
896
|
+
* one of them takes from the project (`workspace:`, `file:`, `link:`,
|
|
897
|
+
* `portal:`, which can install it under another name). An installed copy of
|
|
898
|
+
* one stays the project's: an install that copies a sibling instead of
|
|
899
|
+
* linking it (yarn's `file:`, npm's install-links), or a project that lives
|
|
900
|
+
* inside a `node_modules` folder. Read only when a name would otherwise
|
|
901
|
+
* count as installed.
|
|
902
|
+
*/
|
|
903
|
+
private projectPackageNames;
|
|
904
|
+
/**
|
|
905
|
+
* The `node_modules` folders Node would search from project directory
|
|
906
|
+
* `dir`, nearest first: one in every directory at or above where `dir`
|
|
907
|
+
* really is, past the project root too (a subdirectory indexed on its own
|
|
908
|
+
* installs into its parent). Paths only; the caller lists each one as it
|
|
909
|
+
* gets to it, so a nearer answer leaves the rest unread.
|
|
910
|
+
*/
|
|
911
|
+
private modulesSearchedFrom;
|
|
912
|
+
/**
|
|
913
|
+
* Is the package `name` in the `modules` folder a copy from a registry?
|
|
914
|
+
* True for a folder there, or a link into a `node_modules` folder (pnpm's
|
|
915
|
+
* `.pnpm` store); false for a link to any other folder, which is a sibling
|
|
916
|
+
* package wherever the project's real path puts it (a package linked in
|
|
917
|
+
* from a checkout elsewhere, as `npm link` does, counts as one too, and so
|
|
918
|
+
* keeps today's behaviour); undefined when `modules` doesn't hold it, or
|
|
919
|
+
* holds a broken link, so Node looks further up.
|
|
920
|
+
*/
|
|
921
|
+
private isRegistryCopy;
|
|
922
|
+
private listing;
|
|
427
923
|
private manifestScope;
|
|
428
924
|
/** The one supertype-kind node a TypeScript value shares its name and file with. */
|
|
925
|
+
/**
|
|
926
|
+
* The value a file declares beside a type of the same name — `export
|
|
927
|
+
* function Ok()` beside `export interface Ok`, a class merged with an
|
|
928
|
+
* interface — which a call or `new` written with the name reaches. The
|
|
929
|
+
* first by position; null when the file declares none.
|
|
930
|
+
*/
|
|
931
|
+
private sameNamedValueOfType;
|
|
429
932
|
private sameNamedTypeOfValue;
|
|
430
933
|
private gateLanguage;
|
|
431
934
|
/**
|
|
@@ -435,6 +938,14 @@ export declare class ReferenceResolver {
|
|
|
435
938
|
*/
|
|
436
939
|
private gateFrameworkLanguage;
|
|
437
940
|
}
|
|
941
|
+
/**
|
|
942
|
+
* The routes a sync added, removed or renamed: `before` is every route node
|
|
943
|
+
* before the sync changed a file, `after` every one after its post-extract
|
|
944
|
+
* pass, and a route whose file and path are on one side only changed. A route
|
|
945
|
+
* renamed in place — the same node under a new path — is in the result twice,
|
|
946
|
+
* as its old self and its new one.
|
|
947
|
+
*/
|
|
948
|
+
export declare function changedRoutes(before: readonly Node[], after: readonly Node[]): Node[];
|
|
438
949
|
/**
|
|
439
950
|
* Create a reference resolver instance
|
|
440
951
|
*/
|