@colbymchenry/codegraph-win32-arm64 1.6.1 → 1.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/codegraph +1 -1
- package/bin/codegraph.cmd +1 -1
- package/lib/dist/.test-build-engine.json +1 -1
- package/lib/dist/.test-build-viewer.json +1 -1
- package/lib/dist/bin/codegraph.d.ts +3 -0
- package/lib/dist/bin/codegraph.d.ts.map +1 -1
- package/lib/dist/bin/codegraph.js +427 -684
- package/lib/dist/bin/codegraph.js.map +1 -1
- package/lib/dist/bin/command-supervision.d.ts +7 -0
- package/lib/dist/bin/command-supervision.d.ts.map +1 -1
- package/lib/dist/bin/command-supervision.js +30 -74
- package/lib/dist/bin/command-supervision.js.map +1 -1
- package/lib/dist/bin/fatal-handler.js +0 -46
- package/lib/dist/bin/fatal-handler.js.map +1 -1
- package/lib/dist/bin/node-version-check.js +0 -33
- package/lib/dist/bin/node-version-check.js.map +1 -1
- package/lib/dist/bin/uninstall.js +0 -19
- package/lib/dist/bin/uninstall.js.map +1 -1
- package/lib/dist/bin/viewer-gate.js +0 -14
- package/lib/dist/bin/viewer-gate.js.map +1 -1
- package/lib/dist/compile-cache.d.ts +2 -0
- package/lib/dist/compile-cache.d.ts.map +1 -0
- package/lib/dist/compile-cache.js +45 -0
- package/lib/dist/compile-cache.js.map +1 -0
- package/lib/dist/context/formatter.js +3 -66
- package/lib/dist/context/formatter.js.map +1 -1
- package/lib/dist/context/index.d.ts +44 -1
- package/lib/dist/context/index.d.ts.map +1 -1
- package/lib/dist/context/index.js +123 -430
- package/lib/dist/context/index.js.map +1 -1
- package/lib/dist/context/markers.js +0 -17
- package/lib/dist/context/markers.js.map +1 -1
- package/lib/dist/db/index.d.ts +44 -1
- package/lib/dist/db/index.d.ts.map +1 -1
- package/lib/dist/db/index.js +123 -395
- package/lib/dist/db/index.js.map +1 -1
- package/lib/dist/db/migrations.d.ts +11 -1
- package/lib/dist/db/migrations.d.ts.map +1 -1
- package/lib/dist/db/migrations.js +71 -79
- package/lib/dist/db/migrations.js.map +1 -1
- package/lib/dist/db/name-substring-index.d.ts +63 -0
- package/lib/dist/db/name-substring-index.d.ts.map +1 -0
- package/lib/dist/db/name-substring-index.js +151 -0
- package/lib/dist/db/name-substring-index.js.map +1 -0
- package/lib/dist/db/node-sqlite.d.ts +19 -0
- package/lib/dist/db/node-sqlite.d.ts.map +1 -0
- package/lib/dist/db/node-sqlite.js +23 -0
- package/lib/dist/db/node-sqlite.js.map +1 -0
- package/lib/dist/db/open-error.d.ts +36 -0
- package/lib/dist/db/open-error.d.ts.map +1 -0
- package/lib/dist/db/open-error.js +63 -0
- package/lib/dist/db/open-error.js.map +1 -0
- package/lib/dist/db/parameter-flow-queries.d.ts +120 -0
- package/lib/dist/db/parameter-flow-queries.d.ts.map +1 -0
- package/lib/dist/db/parameter-flow-queries.js +168 -0
- package/lib/dist/db/parameter-flow-queries.js.map +1 -0
- package/lib/dist/db/queries.d.ts +641 -40
- package/lib/dist/db/queries.d.ts.map +1 -1
- package/lib/dist/db/queries.js +1370 -1398
- package/lib/dist/db/queries.js.map +1 -1
- package/lib/dist/db/reference-tail.d.ts +83 -0
- package/lib/dist/db/reference-tail.d.ts.map +1 -0
- package/lib/dist/db/reference-tail.js +68 -0
- package/lib/dist/db/reference-tail.js.map +1 -0
- package/lib/dist/db/schema.sql +18 -2
- package/lib/dist/db/sqlite-adapter.d.ts +18 -1
- package/lib/dist/db/sqlite-adapter.d.ts.map +1 -1
- package/lib/dist/db/sqlite-adapter.js +12 -62
- package/lib/dist/db/sqlite-adapter.js.map +1 -1
- package/lib/dist/db/synthesis-stage.d.ts.map +1 -1
- package/lib/dist/db/synthesis-stage.js +2 -6
- package/lib/dist/db/synthesis-stage.js.map +1 -1
- package/lib/dist/db/wal-valve.js +1 -153
- package/lib/dist/db/wal-valve.js.map +1 -1
- package/lib/dist/db/wsl-shared-index.js +0 -37
- package/lib/dist/db/wsl-shared-index.js.map +1 -1
- package/lib/dist/directory.d.ts +81 -0
- package/lib/dist/directory.d.ts.map +1 -1
- package/lib/dist/directory.js +91 -500
- package/lib/dist/directory.js.map +1 -1
- package/lib/dist/engine.d.ts +15 -0
- package/lib/dist/engine.d.ts.map +1 -0
- package/lib/dist/engine.js +34 -0
- package/lib/dist/engine.js.map +1 -0
- package/lib/dist/errors.d.ts +10 -0
- package/lib/dist/errors.d.ts.map +1 -1
- package/lib/dist/errors.js +8 -101
- package/lib/dist/errors.js.map +1 -1
- package/lib/dist/extraction/astro-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/astro-extractor.js +15 -133
- package/lib/dist/extraction/astro-extractor.js.map +1 -1
- package/lib/dist/extraction/cfml-extractor.d.ts +102 -10
- package/lib/dist/extraction/cfml-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/cfml-extractor.js +260 -179
- package/lib/dist/extraction/cfml-extractor.js.map +1 -1
- package/lib/dist/extraction/commonjs-requires.d.ts +23 -0
- package/lib/dist/extraction/commonjs-requires.d.ts.map +1 -0
- package/lib/dist/extraction/commonjs-requires.js +37 -0
- package/lib/dist/extraction/commonjs-requires.js.map +1 -0
- package/lib/dist/extraction/dfm-extractor.js +0 -21
- package/lib/dist/extraction/dfm-extractor.js.map +1 -1
- package/lib/dist/extraction/extraction-version.d.ts +1 -1
- package/lib/dist/extraction/extraction-version.js +1 -24
- package/lib/dist/extraction/extraction-version.js.map +1 -1
- package/lib/dist/extraction/function-ref.d.ts +40 -0
- package/lib/dist/extraction/function-ref.d.ts.map +1 -1
- package/lib/dist/extraction/function-ref.js +145 -206
- package/lib/dist/extraction/function-ref.js.map +1 -1
- package/lib/dist/extraction/generated-detection.d.ts +9 -0
- package/lib/dist/extraction/generated-detection.d.ts.map +1 -1
- package/lib/dist/extraction/generated-detection.js +29 -154
- package/lib/dist/extraction/generated-detection.js.map +1 -1
- package/lib/dist/extraction/grammars.d.ts +47 -4
- package/lib/dist/extraction/grammars.d.ts.map +1 -1
- package/lib/dist/extraction/grammars.js +91 -374
- package/lib/dist/extraction/grammars.js.map +1 -1
- package/lib/dist/extraction/index.d.ts +216 -11
- package/lib/dist/extraction/index.d.ts.map +1 -1
- package/lib/dist/extraction/index.js +703 -1368
- package/lib/dist/extraction/index.js.map +1 -1
- package/lib/dist/extraction/kernel/decode.js +0 -16
- package/lib/dist/extraction/kernel/decode.js.map +1 -1
- package/lib/dist/extraction/kernel/index.d.ts +3 -1
- package/lib/dist/extraction/kernel/index.d.ts.map +1 -1
- package/lib/dist/extraction/kernel/index.js +29 -131
- package/lib/dist/extraction/kernel/index.js.map +1 -1
- package/lib/dist/extraction/kernel/layout.js +42 -76
- package/lib/dist/extraction/kernel/layout.js.map +1 -1
- package/lib/dist/extraction/kernel/loader.js +0 -37
- package/lib/dist/extraction/kernel/loader.js.map +1 -1
- package/lib/dist/extraction/languages/arkts.js +0 -59
- package/lib/dist/extraction/languages/arkts.js.map +1 -1
- package/lib/dist/extraction/languages/c-cpp.d.ts +140 -28
- package/lib/dist/extraction/languages/c-cpp.d.ts.map +1 -1
- package/lib/dist/extraction/languages/c-cpp.js +876 -823
- package/lib/dist/extraction/languages/c-cpp.js.map +1 -1
- package/lib/dist/extraction/languages/cfquery.js +0 -9
- package/lib/dist/extraction/languages/cfquery.js.map +1 -1
- package/lib/dist/extraction/languages/cfscript.d.ts +20 -0
- package/lib/dist/extraction/languages/cfscript.d.ts.map +1 -1
- package/lib/dist/extraction/languages/cfscript.js +80 -9
- package/lib/dist/extraction/languages/cfscript.js.map +1 -1
- package/lib/dist/extraction/languages/cobol.js +0 -114
- package/lib/dist/extraction/languages/cobol.js.map +1 -1
- package/lib/dist/extraction/languages/cpp-brace-scopes.d.ts +66 -0
- package/lib/dist/extraction/languages/cpp-brace-scopes.d.ts.map +1 -0
- package/lib/dist/extraction/languages/cpp-brace-scopes.js +343 -0
- package/lib/dist/extraction/languages/cpp-brace-scopes.js.map +1 -0
- package/lib/dist/extraction/languages/cpp-macro-methods.d.ts +41 -0
- package/lib/dist/extraction/languages/cpp-macro-methods.d.ts.map +1 -0
- package/lib/dist/extraction/languages/cpp-macro-methods.js +487 -0
- package/lib/dist/extraction/languages/cpp-macro-methods.js.map +1 -0
- package/lib/dist/extraction/languages/csharp.d.ts.map +1 -1
- package/lib/dist/extraction/languages/csharp.js +11 -54
- package/lib/dist/extraction/languages/csharp.js.map +1 -1
- package/lib/dist/extraction/languages/dart.d.ts +84 -0
- package/lib/dist/extraction/languages/dart.d.ts.map +1 -1
- package/lib/dist/extraction/languages/dart.js +335 -159
- package/lib/dist/extraction/languages/dart.js.map +1 -1
- package/lib/dist/extraction/languages/erlang.d.ts.map +1 -1
- package/lib/dist/extraction/languages/erlang.js +15 -102
- package/lib/dist/extraction/languages/erlang.js.map +1 -1
- package/lib/dist/extraction/languages/go.d.ts +48 -0
- package/lib/dist/extraction/languages/go.d.ts.map +1 -1
- package/lib/dist/extraction/languages/go.js +102 -31
- package/lib/dist/extraction/languages/go.js.map +1 -1
- package/lib/dist/extraction/languages/index.js +0 -6
- package/lib/dist/extraction/languages/index.js.map +1 -1
- package/lib/dist/extraction/languages/java.d.ts.map +1 -1
- package/lib/dist/extraction/languages/java.js +67 -78
- package/lib/dist/extraction/languages/java.js.map +1 -1
- package/lib/dist/extraction/languages/javascript.d.ts.map +1 -1
- package/lib/dist/extraction/languages/javascript.js +2 -12
- package/lib/dist/extraction/languages/javascript.js.map +1 -1
- package/lib/dist/extraction/languages/kotlin.d.ts +15 -0
- package/lib/dist/extraction/languages/kotlin.d.ts.map +1 -1
- package/lib/dist/extraction/languages/kotlin.js +69 -150
- package/lib/dist/extraction/languages/kotlin.js.map +1 -1
- package/lib/dist/extraction/languages/lua.js +2 -39
- package/lib/dist/extraction/languages/lua.js.map +1 -1
- package/lib/dist/extraction/languages/luau.js +0 -14
- package/lib/dist/extraction/languages/luau.js.map +1 -1
- package/lib/dist/extraction/languages/nix.js +0 -16
- package/lib/dist/extraction/languages/nix.js.map +1 -1
- package/lib/dist/extraction/languages/objc.d.ts.map +1 -1
- package/lib/dist/extraction/languages/objc.js +5 -16
- package/lib/dist/extraction/languages/objc.js.map +1 -1
- package/lib/dist/extraction/languages/pascal-preparse.d.ts +66 -0
- package/lib/dist/extraction/languages/pascal-preparse.d.ts.map +1 -0
- package/lib/dist/extraction/languages/pascal-preparse.js +958 -0
- package/lib/dist/extraction/languages/pascal-preparse.js.map +1 -0
- package/lib/dist/extraction/languages/pascal-system.d.ts +11 -0
- package/lib/dist/extraction/languages/pascal-system.d.ts.map +1 -0
- package/lib/dist/extraction/languages/pascal-system.js +23 -0
- package/lib/dist/extraction/languages/pascal-system.js.map +1 -0
- package/lib/dist/extraction/languages/pascal.d.ts.map +1 -1
- package/lib/dist/extraction/languages/pascal.js +3 -4
- package/lib/dist/extraction/languages/pascal.js.map +1 -1
- package/lib/dist/extraction/languages/php.js +5 -42
- package/lib/dist/extraction/languages/php.js.map +1 -1
- package/lib/dist/extraction/languages/python.js +2 -20
- package/lib/dist/extraction/languages/python.js.map +1 -1
- package/lib/dist/extraction/languages/r.js +8 -78
- package/lib/dist/extraction/languages/r.js.map +1 -1
- package/lib/dist/extraction/languages/ruby.d.ts.map +1 -1
- package/lib/dist/extraction/languages/ruby.js +17 -25
- package/lib/dist/extraction/languages/ruby.js.map +1 -1
- package/lib/dist/extraction/languages/rust.d.ts +10 -0
- package/lib/dist/extraction/languages/rust.d.ts.map +1 -1
- package/lib/dist/extraction/languages/rust.js +15 -47
- package/lib/dist/extraction/languages/rust.js.map +1 -1
- package/lib/dist/extraction/languages/scala.js +5 -41
- package/lib/dist/extraction/languages/scala.js.map +1 -1
- package/lib/dist/extraction/languages/solidity.js +1 -82
- package/lib/dist/extraction/languages/solidity.js.map +1 -1
- package/lib/dist/extraction/languages/swift.d.ts +15 -0
- package/lib/dist/extraction/languages/swift.d.ts.map +1 -1
- package/lib/dist/extraction/languages/swift.js +33 -27
- package/lib/dist/extraction/languages/swift.js.map +1 -1
- package/lib/dist/extraction/languages/terraform.js +6 -152
- package/lib/dist/extraction/languages/terraform.js.map +1 -1
- package/lib/dist/extraction/languages/typescript.d.ts +71 -0
- package/lib/dist/extraction/languages/typescript.d.ts.map +1 -1
- package/lib/dist/extraction/languages/typescript.js +86 -41
- package/lib/dist/extraction/languages/typescript.js.map +1 -1
- package/lib/dist/extraction/languages/vbnet.d.ts.map +1 -1
- package/lib/dist/extraction/languages/vbnet.js +9 -42
- package/lib/dist/extraction/languages/vbnet.js.map +1 -1
- package/lib/dist/extraction/lazy-frameworks.d.ts +15 -0
- package/lib/dist/extraction/lazy-frameworks.d.ts.map +1 -0
- package/lib/dist/extraction/lazy-frameworks.js +8 -0
- package/lib/dist/extraction/lazy-frameworks.js.map +1 -0
- package/lib/dist/extraction/liquid-extractor.d.ts +29 -3
- package/lib/dist/extraction/liquid-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/liquid-extractor.js +89 -148
- package/lib/dist/extraction/liquid-extractor.js.map +1 -1
- package/lib/dist/extraction/mybatis-extractor.js +0 -78
- package/lib/dist/extraction/mybatis-extractor.js.map +1 -1
- package/lib/dist/extraction/parse-budget.d.ts +16 -0
- package/lib/dist/extraction/parse-budget.d.ts.map +1 -0
- package/lib/dist/extraction/parse-budget.js +11 -0
- package/lib/dist/extraction/parse-budget.js.map +1 -0
- package/lib/dist/extraction/parse-pool.d.ts +41 -5
- package/lib/dist/extraction/parse-pool.d.ts.map +1 -1
- package/lib/dist/extraction/parse-pool.js +74 -158
- package/lib/dist/extraction/parse-pool.js.map +1 -1
- package/lib/dist/extraction/parse-worker.d.ts +1 -1
- package/lib/dist/extraction/parse-worker.d.ts.map +1 -1
- package/lib/dist/extraction/parse-worker.js +7 -58
- package/lib/dist/extraction/parse-worker.js.map +1 -1
- package/lib/dist/extraction/razor-extractor.d.ts +9 -0
- package/lib/dist/extraction/razor-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/razor-extractor.js +45 -69
- package/lib/dist/extraction/razor-extractor.js.map +1 -1
- package/lib/dist/extraction/razor-script.d.ts +23 -0
- package/lib/dist/extraction/razor-script.d.ts.map +1 -0
- package/lib/dist/extraction/razor-script.js +244 -0
- package/lib/dist/extraction/razor-script.js.map +1 -0
- package/lib/dist/extraction/sfc-script.d.ts +85 -0
- package/lib/dist/extraction/sfc-script.d.ts.map +1 -0
- package/lib/dist/extraction/sfc-script.js +136 -0
- package/lib/dist/extraction/sfc-script.js.map +1 -0
- package/lib/dist/extraction/store-worker.d.ts +1 -1
- package/lib/dist/extraction/store-worker.d.ts.map +1 -1
- package/lib/dist/extraction/store-worker.js +5 -37
- package/lib/dist/extraction/store-worker.js.map +1 -1
- package/lib/dist/extraction/store-writer.d.ts +10 -2
- package/lib/dist/extraction/store-writer.d.ts.map +1 -1
- package/lib/dist/extraction/store-writer.js +8 -32
- package/lib/dist/extraction/store-writer.js.map +1 -1
- package/lib/dist/extraction/svelte-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/svelte-extractor.js +16 -122
- package/lib/dist/extraction/svelte-extractor.js.map +1 -1
- package/lib/dist/extraction/syntax-tokens.d.ts +6 -5
- package/lib/dist/extraction/syntax-tokens.d.ts.map +1 -1
- package/lib/dist/extraction/syntax-tokens.js +6 -153
- package/lib/dist/extraction/syntax-tokens.js.map +1 -1
- package/lib/dist/extraction/tree-sitter-helpers.d.ts +37 -1
- package/lib/dist/extraction/tree-sitter-helpers.d.ts.map +1 -1
- package/lib/dist/extraction/tree-sitter-helpers.js +76 -68
- package/lib/dist/extraction/tree-sitter-helpers.js.map +1 -1
- package/lib/dist/extraction/tree-sitter-types.d.ts +102 -22
- package/lib/dist/extraction/tree-sitter-types.d.ts.map +1 -1
- package/lib/dist/extraction/tree-sitter-types.js +0 -7
- package/lib/dist/extraction/tree-sitter-types.js.map +1 -1
- package/lib/dist/extraction/tree-sitter.d.ts +455 -9
- package/lib/dist/extraction/tree-sitter.d.ts.map +1 -1
- package/lib/dist/extraction/tree-sitter.js +1998 -2517
- package/lib/dist/extraction/tree-sitter.js.map +1 -1
- package/lib/dist/extraction/vue-extractor.d.ts +20 -0
- package/lib/dist/extraction/vue-extractor.d.ts.map +1 -1
- package/lib/dist/extraction/vue-extractor.js +113 -115
- package/lib/dist/extraction/vue-extractor.js.map +1 -1
- package/lib/dist/extraction/vue-options-api.d.ts +28 -0
- package/lib/dist/extraction/vue-options-api.d.ts.map +1 -0
- package/lib/dist/extraction/vue-options-api.js +164 -0
- package/lib/dist/extraction/vue-options-api.js.map +1 -0
- package/lib/dist/extraction/vue-template-calls.d.ts +37 -0
- package/lib/dist/extraction/vue-template-calls.d.ts.map +1 -0
- package/lib/dist/extraction/vue-template-calls.js +497 -0
- package/lib/dist/extraction/vue-template-calls.js.map +1 -0
- package/lib/dist/extraction/wasm/tree-sitter-cobol.wasm +0 -0
- package/lib/dist/extraction/wasm/tree-sitter-kotlin.wasm +0 -0
- package/lib/dist/extraction/wasm/tree-sitter-vbnet.wasm +0 -0
- package/lib/dist/extraction/wasm-runtime-flags.d.ts +6 -0
- package/lib/dist/extraction/wasm-runtime-flags.d.ts.map +1 -1
- package/lib/dist/extraction/wasm-runtime-flags.js +1 -88
- package/lib/dist/extraction/wasm-runtime-flags.js.map +1 -1
- package/lib/dist/file-limits.d.ts +8 -0
- package/lib/dist/file-limits.d.ts.map +1 -1
- package/lib/dist/file-limits.js +13 -28
- package/lib/dist/file-limits.js.map +1 -1
- package/lib/dist/graph/branch-guards.d.ts +17 -0
- package/lib/dist/graph/branch-guards.d.ts.map +1 -1
- package/lib/dist/graph/branch-guards.js +98 -250
- package/lib/dist/graph/branch-guards.js.map +1 -1
- package/lib/dist/graph/call-sites.d.ts +12 -0
- package/lib/dist/graph/call-sites.d.ts.map +1 -0
- package/lib/dist/graph/call-sites.js +17 -0
- package/lib/dist/graph/call-sites.js.map +1 -0
- package/lib/dist/graph/cobol-copybooks.d.ts +75 -0
- package/lib/dist/graph/cobol-copybooks.d.ts.map +1 -0
- package/lib/dist/graph/cobol-copybooks.js +45 -0
- package/lib/dist/graph/cobol-copybooks.js.map +1 -0
- package/lib/dist/graph/dead-code.d.ts +26 -4
- package/lib/dist/graph/dead-code.d.ts.map +1 -1
- package/lib/dist/graph/dead-code.js +157 -311
- package/lib/dist/graph/dead-code.js.map +1 -1
- package/lib/dist/graph/dynamic-boundary-report.js +1 -88
- package/lib/dist/graph/dynamic-boundary-report.js.map +1 -1
- package/lib/dist/graph/file-cycles.d.ts +20 -0
- package/lib/dist/graph/file-cycles.d.ts.map +1 -0
- package/lib/dist/graph/file-cycles.js +79 -0
- package/lib/dist/graph/file-cycles.js.map +1 -0
- package/lib/dist/graph/go-package.d.ts +27 -0
- package/lib/dist/graph/go-package.d.ts.map +1 -0
- package/lib/dist/graph/go-package.js +49 -0
- package/lib/dist/graph/go-package.js.map +1 -0
- package/lib/dist/graph/index.d.ts +2 -0
- package/lib/dist/graph/index.d.ts.map +1 -1
- package/lib/dist/graph/index.js +4 -6
- package/lib/dist/graph/index.js.map +1 -1
- package/lib/dist/graph/named-symbol-flow.d.ts +5 -1
- package/lib/dist/graph/named-symbol-flow.d.ts.map +1 -1
- package/lib/dist/graph/named-symbol-flow.js +85 -219
- package/lib/dist/graph/named-symbol-flow.js.map +1 -1
- package/lib/dist/graph/owning-package.d.ts +59 -0
- package/lib/dist/graph/owning-package.d.ts.map +1 -0
- package/lib/dist/graph/owning-package.js +120 -0
- package/lib/dist/graph/owning-package.js.map +1 -0
- package/lib/dist/graph/queries.d.ts +2 -2
- package/lib/dist/graph/queries.d.ts.map +1 -1
- package/lib/dist/graph/queries.js +2 -135
- package/lib/dist/graph/queries.js.map +1 -1
- package/lib/dist/graph/symbol-lookup.d.ts +15 -3
- package/lib/dist/graph/symbol-lookup.d.ts.map +1 -1
- package/lib/dist/graph/symbol-lookup.js +47 -89
- package/lib/dist/graph/symbol-lookup.js.map +1 -1
- package/lib/dist/graph/synthesized-hop.d.ts +37 -0
- package/lib/dist/graph/synthesized-hop.d.ts.map +1 -0
- package/lib/dist/graph/synthesized-hop.js +62 -0
- package/lib/dist/graph/synthesized-hop.js.map +1 -0
- package/lib/dist/graph/test-code.d.ts +21 -0
- package/lib/dist/graph/test-code.d.ts.map +1 -0
- package/lib/dist/graph/test-code.js +50 -0
- package/lib/dist/graph/test-code.js.map +1 -0
- package/lib/dist/graph/traversal.d.ts +31 -2
- package/lib/dist/graph/traversal.d.ts.map +1 -1
- package/lib/dist/graph/traversal.js +98 -226
- package/lib/dist/graph/traversal.js.map +1 -1
- package/lib/dist/graph/type-hierarchy.js +0 -138
- package/lib/dist/graph/type-hierarchy.js.map +1 -1
- package/lib/dist/index.d.ts +195 -25
- package/lib/dist/index.d.ts.map +1 -1
- package/lib/dist/index.js +697 -1105
- package/lib/dist/index.js.map +1 -1
- package/lib/dist/installer/beta-signup.js +0 -39
- package/lib/dist/installer/beta-signup.js.map +1 -1
- package/lib/dist/installer/config-writer.js +0 -24
- package/lib/dist/installer/config-writer.js.map +1 -1
- package/lib/dist/installer/index.d.ts +9 -5
- package/lib/dist/installer/index.d.ts.map +1 -1
- package/lib/dist/installer/index.js +25 -159
- package/lib/dist/installer/index.js.map +1 -1
- package/lib/dist/installer/instructions-template.d.ts +1 -1
- package/lib/dist/installer/instructions-template.js +0 -37
- package/lib/dist/installer/instructions-template.js.map +1 -1
- package/lib/dist/installer/targets/antigravity.js +0 -113
- package/lib/dist/installer/targets/antigravity.js.map +1 -1
- package/lib/dist/installer/targets/bob.d.ts +20 -0
- package/lib/dist/installer/targets/bob.d.ts.map +1 -0
- package/lib/dist/installer/targets/bob.js +83 -0
- package/lib/dist/installer/targets/bob.js.map +1 -0
- package/lib/dist/installer/targets/claude.d.ts.map +1 -1
- package/lib/dist/installer/targets/claude.js +1 -185
- package/lib/dist/installer/targets/claude.js.map +1 -1
- package/lib/dist/installer/targets/codex.d.ts.map +1 -1
- package/lib/dist/installer/targets/codex.js +17 -109
- package/lib/dist/installer/targets/codex.js.map +1 -1
- package/lib/dist/installer/targets/copilot-cli.d.ts.map +1 -1
- package/lib/dist/installer/targets/copilot-cli.js +2 -54
- package/lib/dist/installer/targets/copilot-cli.js.map +1 -1
- package/lib/dist/installer/targets/copilot-jetbrains.js +0 -57
- package/lib/dist/installer/targets/copilot-jetbrains.js.map +1 -1
- package/lib/dist/installer/targets/copilot-vscode.js +0 -58
- package/lib/dist/installer/targets/copilot-vscode.js.map +1 -1
- package/lib/dist/installer/targets/cursor.js +7 -88
- package/lib/dist/installer/targets/cursor.js.map +1 -1
- package/lib/dist/installer/targets/droid.d.ts +18 -0
- package/lib/dist/installer/targets/droid.d.ts.map +1 -0
- package/lib/dist/installer/targets/droid.js +92 -0
- package/lib/dist/installer/targets/droid.js.map +1 -0
- package/lib/dist/installer/targets/dsh.d.ts +35 -0
- package/lib/dist/installer/targets/dsh.d.ts.map +1 -0
- package/lib/dist/installer/targets/dsh.js +267 -0
- package/lib/dist/installer/targets/dsh.js.map +1 -0
- package/lib/dist/installer/targets/gemini.js +0 -37
- package/lib/dist/installer/targets/gemini.js.map +1 -1
- package/lib/dist/installer/targets/grok.d.ts +25 -0
- package/lib/dist/installer/targets/grok.d.ts.map +1 -0
- package/lib/dist/installer/targets/grok.js +96 -0
- package/lib/dist/installer/targets/grok.js.map +1 -0
- package/lib/dist/installer/targets/hermes.d.ts +19 -7
- package/lib/dist/installer/targets/hermes.d.ts.map +1 -1
- package/lib/dist/installer/targets/hermes.js +218 -214
- package/lib/dist/installer/targets/hermes.js.map +1 -1
- package/lib/dist/installer/targets/json-config.d.ts +45 -0
- package/lib/dist/installer/targets/json-config.d.ts.map +1 -0
- package/lib/dist/installer/targets/json-config.js +128 -0
- package/lib/dist/installer/targets/json-config.js.map +1 -0
- package/lib/dist/installer/targets/kimi.d.ts +21 -0
- package/lib/dist/installer/targets/kimi.d.ts.map +1 -0
- package/lib/dist/installer/targets/kimi.js +97 -0
- package/lib/dist/installer/targets/kimi.js.map +1 -0
- package/lib/dist/installer/targets/kiro.js +1 -41
- package/lib/dist/installer/targets/kiro.js.map +1 -1
- package/lib/dist/installer/targets/opencode.js +0 -102
- package/lib/dist/installer/targets/opencode.js.map +1 -1
- package/lib/dist/installer/targets/pi.d.ts +24 -0
- package/lib/dist/installer/targets/pi.d.ts.map +1 -0
- package/lib/dist/installer/targets/pi.js +100 -0
- package/lib/dist/installer/targets/pi.js.map +1 -0
- package/lib/dist/installer/targets/qoder.d.ts +23 -0
- package/lib/dist/installer/targets/qoder.d.ts.map +1 -0
- package/lib/dist/installer/targets/qoder.js +83 -0
- package/lib/dist/installer/targets/qoder.js.map +1 -0
- package/lib/dist/installer/targets/qwen.d.ts +21 -0
- package/lib/dist/installer/targets/qwen.d.ts.map +1 -0
- package/lib/dist/installer/targets/qwen.js +115 -0
- package/lib/dist/installer/targets/qwen.js.map +1 -0
- package/lib/dist/installer/targets/registry.d.ts.map +1 -1
- package/lib/dist/installer/targets/registry.js +18 -25
- package/lib/dist/installer/targets/registry.js.map +1 -1
- package/lib/dist/installer/targets/shared.d.ts +81 -11
- package/lib/dist/installer/targets/shared.d.ts.map +1 -1
- package/lib/dist/installer/targets/shared.js +183 -129
- package/lib/dist/installer/targets/shared.js.map +1 -1
- package/lib/dist/installer/targets/toml.d.ts +82 -6
- package/lib/dist/installer/targets/toml.d.ts.map +1 -1
- package/lib/dist/installer/targets/toml.js +318 -112
- package/lib/dist/installer/targets/toml.js.map +1 -1
- package/lib/dist/installer/targets/types.d.ts +1 -1
- package/lib/dist/installer/targets/types.d.ts.map +1 -1
- package/lib/dist/installer/targets/types.js +0 -13
- package/lib/dist/installer/targets/types.js.map +1 -1
- package/lib/dist/installer/targets/windsurf.d.ts +22 -0
- package/lib/dist/installer/targets/windsurf.d.ts.map +1 -0
- package/lib/dist/installer/targets/windsurf.js +90 -0
- package/lib/dist/installer/targets/windsurf.js.map +1 -0
- package/lib/dist/lazy-engine.d.ts +22 -0
- package/lib/dist/lazy-engine.d.ts.map +1 -0
- package/lib/dist/lazy-engine.js +16 -0
- package/lib/dist/lazy-engine.js.map +1 -0
- package/lib/dist/mcp/answer-freshness.js +0 -6
- package/lib/dist/mcp/answer-freshness.js.map +1 -1
- package/lib/dist/mcp/daemon-manager.js +2 -23
- package/lib/dist/mcp/daemon-manager.js.map +1 -1
- package/lib/dist/mcp/daemon-paths.d.ts.map +1 -1
- package/lib/dist/mcp/daemon-paths.js +2 -79
- package/lib/dist/mcp/daemon-paths.js.map +1 -1
- package/lib/dist/mcp/daemon-registry.d.ts +44 -0
- package/lib/dist/mcp/daemon-registry.d.ts.map +1 -1
- package/lib/dist/mcp/daemon-registry.js +189 -118
- package/lib/dist/mcp/daemon-registry.js.map +1 -1
- package/lib/dist/mcp/daemon.d.ts +23 -0
- package/lib/dist/mcp/daemon.d.ts.map +1 -1
- package/lib/dist/mcp/daemon.js +89 -373
- package/lib/dist/mcp/daemon.js.map +1 -1
- package/lib/dist/mcp/dynamic-boundaries.js +4 -78
- package/lib/dist/mcp/dynamic-boundaries.js.map +1 -1
- package/lib/dist/mcp/early-ppid.js +0 -24
- package/lib/dist/mcp/early-ppid.js.map +1 -1
- package/lib/dist/mcp/engine.d.ts +10 -0
- package/lib/dist/mcp/engine.d.ts.map +1 -1
- package/lib/dist/mcp/engine.js +41 -152
- package/lib/dist/mcp/engine.js.map +1 -1
- package/lib/dist/mcp/explore-dedup.js +0 -108
- package/lib/dist/mcp/explore-dedup.js.map +1 -1
- package/lib/dist/mcp/explore-diagnostics.js +0 -116
- package/lib/dist/mcp/explore-diagnostics.js.map +1 -1
- package/lib/dist/mcp/explore-session-state.js +0 -129
- package/lib/dist/mcp/explore-session-state.js.map +1 -1
- package/lib/dist/mcp/index-freshness-worker.js +5 -4
- package/lib/dist/mcp/index-freshness-worker.js.map +1 -1
- package/lib/dist/mcp/index-freshness.d.ts +7 -1
- package/lib/dist/mcp/index-freshness.d.ts.map +1 -1
- package/lib/dist/mcp/index-freshness.js +20 -12
- package/lib/dist/mcp/index-freshness.js.map +1 -1
- package/lib/dist/mcp/index-version-warning.d.ts +21 -0
- package/lib/dist/mcp/index-version-warning.d.ts.map +1 -0
- package/lib/dist/mcp/index-version-warning.js +38 -0
- package/lib/dist/mcp/index-version-warning.js.map +1 -0
- package/lib/dist/mcp/index.d.ts +19 -1
- package/lib/dist/mcp/index.d.ts.map +1 -1
- package/lib/dist/mcp/index.js +118 -293
- package/lib/dist/mcp/index.js.map +1 -1
- package/lib/dist/mcp/liveness-watchdog.d.ts +13 -3
- package/lib/dist/mcp/liveness-watchdog.d.ts.map +1 -1
- package/lib/dist/mcp/liveness-watchdog.js +106 -121
- package/lib/dist/mcp/liveness-watchdog.js.map +1 -1
- package/lib/dist/mcp/ppid-watchdog.js +0 -24
- package/lib/dist/mcp/ppid-watchdog.js.map +1 -1
- package/lib/dist/mcp/process-identity.d.ts +42 -0
- package/lib/dist/mcp/process-identity.d.ts.map +1 -0
- package/lib/dist/mcp/process-identity.js +130 -0
- package/lib/dist/mcp/process-identity.js.map +1 -0
- package/lib/dist/mcp/project-lifecycle.d.ts.map +1 -1
- package/lib/dist/mcp/project-lifecycle.js +55 -21
- package/lib/dist/mcp/project-lifecycle.js.map +1 -1
- package/lib/dist/mcp/proxy.d.ts +26 -8
- package/lib/dist/mcp/proxy.d.ts.map +1 -1
- package/lib/dist/mcp/proxy.js +209 -223
- package/lib/dist/mcp/proxy.js.map +1 -1
- package/lib/dist/mcp/query-pool.d.ts +58 -3
- package/lib/dist/mcp/query-pool.d.ts.map +1 -1
- package/lib/dist/mcp/query-pool.js +140 -100
- package/lib/dist/mcp/query-pool.js.map +1 -1
- package/lib/dist/mcp/query-worker.js +24 -36
- package/lib/dist/mcp/query-worker.js.map +1 -1
- package/lib/dist/mcp/server-instructions.js +0 -31
- package/lib/dist/mcp/server-instructions.js.map +1 -1
- package/lib/dist/mcp/session.d.ts +27 -0
- package/lib/dist/mcp/session.d.ts.map +1 -1
- package/lib/dist/mcp/session.js +29 -130
- package/lib/dist/mcp/session.js.map +1 -1
- package/lib/dist/mcp/startup-handshake.js +1 -48
- package/lib/dist/mcp/startup-handshake.js.map +1 -1
- package/lib/dist/mcp/stdin-teardown.js +0 -28
- package/lib/dist/mcp/stdin-teardown.js.map +1 -1
- package/lib/dist/mcp/stdout-teardown.d.ts +26 -0
- package/lib/dist/mcp/stdout-teardown.d.ts.map +1 -0
- package/lib/dist/mcp/stdout-teardown.js +20 -0
- package/lib/dist/mcp/stdout-teardown.js.map +1 -0
- package/lib/dist/mcp/tools.d.ts +159 -20
- package/lib/dist/mcp/tools.d.ts.map +1 -1
- package/lib/dist/mcp/tools.js +730 -3545
- package/lib/dist/mcp/tools.js.map +1 -1
- package/lib/dist/mcp/transport.d.ts.map +1 -1
- package/lib/dist/mcp/transport.js +4 -96
- package/lib/dist/mcp/transport.js.map +1 -1
- package/lib/dist/mcp/version.d.ts +13 -1
- package/lib/dist/mcp/version.d.ts.map +1 -1
- package/lib/dist/mcp/version.js +19 -21
- package/lib/dist/mcp/version.js.map +1 -1
- package/lib/dist/mcp/writer-lock.d.ts +11 -0
- package/lib/dist/mcp/writer-lock.d.ts.map +1 -1
- package/lib/dist/mcp/writer-lock.js +49 -46
- package/lib/dist/mcp/writer-lock.js.map +1 -1
- package/lib/dist/project-config.js +1 -138
- package/lib/dist/project-config.js.map +1 -1
- package/lib/dist/resolution/alias-binding.d.ts +7 -0
- package/lib/dist/resolution/alias-binding.d.ts.map +1 -1
- package/lib/dist/resolution/alias-binding.js +19 -52
- package/lib/dist/resolution/alias-binding.js.map +1 -1
- package/lib/dist/resolution/ambient-modules.d.ts +185 -0
- package/lib/dist/resolution/ambient-modules.d.ts.map +1 -0
- package/lib/dist/resolution/ambient-modules.js +732 -0
- package/lib/dist/resolution/ambient-modules.js.map +1 -0
- package/lib/dist/resolution/angular-template-synthesizer.d.ts +96 -0
- package/lib/dist/resolution/angular-template-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/angular-template-synthesizer.js +695 -0
- package/lib/dist/resolution/angular-template-synthesizer.js.map +1 -0
- package/lib/dist/resolution/c-feature-variants.d.ts +40 -0
- package/lib/dist/resolution/c-feature-variants.d.ts.map +1 -0
- package/lib/dist/resolution/c-feature-variants.js +249 -0
- package/lib/dist/resolution/c-feature-variants.js.map +1 -0
- package/lib/dist/resolution/c-fnptr-synthesizer.d.ts.map +1 -1
- package/lib/dist/resolution/c-fnptr-synthesizer.js +23 -391
- package/lib/dist/resolution/c-fnptr-synthesizer.js.map +1 -1
- package/lib/dist/resolution/c-macro-renames.d.ts +25 -0
- package/lib/dist/resolution/c-macro-renames.d.ts.map +1 -0
- package/lib/dist/resolution/c-macro-renames.js +95 -0
- package/lib/dist/resolution/c-macro-renames.js.map +1 -0
- package/lib/dist/resolution/callback-synthesizer.d.ts +15 -1
- package/lib/dist/resolution/callback-synthesizer.d.ts.map +1 -1
- package/lib/dist/resolution/callback-synthesizer.js +1487 -1234
- package/lib/dist/resolution/callback-synthesizer.js.map +1 -1
- package/lib/dist/resolution/const-alias-synthesizer.d.ts +48 -0
- package/lib/dist/resolution/const-alias-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/const-alias-synthesizer.js +234 -0
- package/lib/dist/resolution/const-alias-synthesizer.js.map +1 -0
- package/lib/dist/resolution/cooperative-yield.js +0 -27
- package/lib/dist/resolution/cooperative-yield.js.map +1 -1
- package/lib/dist/resolution/cpp-constructor.d.ts.map +1 -1
- package/lib/dist/resolution/cpp-constructor.js +15 -17
- package/lib/dist/resolution/cpp-constructor.js.map +1 -1
- package/lib/dist/resolution/cpp-includers.d.ts +46 -0
- package/lib/dist/resolution/cpp-includers.d.ts.map +1 -0
- package/lib/dist/resolution/cpp-includers.js +153 -0
- package/lib/dist/resolution/cpp-includers.js.map +1 -0
- package/lib/dist/resolution/cpp-macro-visibility.d.ts +16 -0
- package/lib/dist/resolution/cpp-macro-visibility.d.ts.map +1 -1
- package/lib/dist/resolution/cpp-macro-visibility.js +60 -61
- package/lib/dist/resolution/cpp-macro-visibility.js.map +1 -1
- package/lib/dist/resolution/cpp-namespaces.d.ts +54 -0
- package/lib/dist/resolution/cpp-namespaces.d.ts.map +1 -0
- package/lib/dist/resolution/cpp-namespaces.js +151 -0
- package/lib/dist/resolution/cpp-namespaces.js.map +1 -0
- package/lib/dist/resolution/cpp-raw-strings.d.ts +33 -0
- package/lib/dist/resolution/cpp-raw-strings.d.ts.map +1 -0
- package/lib/dist/resolution/cpp-raw-strings.js +167 -0
- package/lib/dist/resolution/cpp-raw-strings.js.map +1 -0
- package/lib/dist/resolution/cpp-supertypes.d.ts +118 -0
- package/lib/dist/resolution/cpp-supertypes.d.ts.map +1 -0
- package/lib/dist/resolution/cpp-supertypes.js +322 -0
- package/lib/dist/resolution/cpp-supertypes.js.map +1 -0
- package/lib/dist/resolution/cpp-template-instantiations.d.ts +83 -0
- package/lib/dist/resolution/cpp-template-instantiations.d.ts.map +1 -0
- package/lib/dist/resolution/cpp-template-instantiations.js +983 -0
- package/lib/dist/resolution/cpp-template-instantiations.js.map +1 -0
- package/lib/dist/resolution/cpp-type-aliases.d.ts +194 -0
- package/lib/dist/resolution/cpp-type-aliases.d.ts.map +1 -0
- package/lib/dist/resolution/cpp-type-aliases.js +648 -0
- package/lib/dist/resolution/cpp-type-aliases.js.map +1 -0
- package/lib/dist/resolution/dart-libraries.d.ts +75 -0
- package/lib/dist/resolution/dart-libraries.d.ts.map +1 -0
- package/lib/dist/resolution/dart-libraries.js +721 -0
- package/lib/dist/resolution/dart-libraries.js.map +1 -0
- package/lib/dist/resolution/dart-local-scope.d.ts +41 -0
- package/lib/dist/resolution/dart-local-scope.d.ts.map +1 -0
- package/lib/dist/resolution/dart-local-scope.js +565 -0
- package/lib/dist/resolution/dart-local-scope.js.map +1 -0
- package/lib/dist/resolution/expo-router-synthesizer.js +0 -52
- package/lib/dist/resolution/expo-router-synthesizer.js.map +1 -1
- package/lib/dist/resolution/frameworks/angular-router.d.ts +142 -0
- package/lib/dist/resolution/frameworks/angular-router.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/angular-router.js +959 -0
- package/lib/dist/resolution/frameworks/angular-router.js.map +1 -0
- package/lib/dist/resolution/frameworks/astro.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/astro.js +30 -60
- package/lib/dist/resolution/frameworks/astro.js.map +1 -1
- package/lib/dist/resolution/frameworks/cargo-workspace.d.ts +18 -1
- package/lib/dist/resolution/frameworks/cargo-workspace.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/cargo-workspace.js +65 -15
- package/lib/dist/resolution/frameworks/cargo-workspace.js.map +1 -1
- package/lib/dist/resolution/frameworks/cics.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/cics.js +7 -33
- package/lib/dist/resolution/frameworks/cics.js.map +1 -1
- package/lib/dist/resolution/frameworks/codeigniter.d.ts +23 -0
- package/lib/dist/resolution/frameworks/codeigniter.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/codeigniter.js +271 -0
- package/lib/dist/resolution/frameworks/codeigniter.js.map +1 -0
- package/lib/dist/resolution/frameworks/component-folder.d.ts +17 -0
- package/lib/dist/resolution/frameworks/component-folder.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/component-folder.js +11 -0
- package/lib/dist/resolution/frameworks/component-folder.js.map +1 -0
- package/lib/dist/resolution/frameworks/csharp.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/csharp.js +106 -101
- package/lib/dist/resolution/frameworks/csharp.js.map +1 -1
- package/lib/dist/resolution/frameworks/drupal.d.ts +17 -8
- package/lib/dist/resolution/frameworks/drupal.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/drupal.js +377 -142
- package/lib/dist/resolution/frameworks/drupal.js.map +1 -1
- package/lib/dist/resolution/frameworks/expo-modules.d.ts +10 -0
- package/lib/dist/resolution/frameworks/expo-modules.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/expo-modules.js +79 -65
- package/lib/dist/resolution/frameworks/expo-modules.js.map +1 -1
- package/lib/dist/resolution/frameworks/expo-router.d.ts +6 -0
- package/lib/dist/resolution/frameworks/expo-router.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/expo-router.js +64 -183
- package/lib/dist/resolution/frameworks/expo-router.js.map +1 -1
- package/lib/dist/resolution/frameworks/express.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/express.js +215 -173
- package/lib/dist/resolution/frameworks/express.js.map +1 -1
- package/lib/dist/resolution/frameworks/fabric.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/fabric.js +11 -112
- package/lib/dist/resolution/frameworks/fabric.js.map +1 -1
- package/lib/dist/resolution/frameworks/go.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/go.js +15 -61
- package/lib/dist/resolution/frameworks/go.js.map +1 -1
- package/lib/dist/resolution/frameworks/goframe.js +1 -55
- package/lib/dist/resolution/frameworks/goframe.js.map +1 -1
- package/lib/dist/resolution/frameworks/index.d.ts +16 -2
- package/lib/dist/resolution/frameworks/index.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/index.js +20 -48
- package/lib/dist/resolution/frameworks/index.js.map +1 -1
- package/lib/dist/resolution/frameworks/java.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/java.js +209 -147
- package/lib/dist/resolution/frameworks/java.js.map +1 -1
- package/lib/dist/resolution/frameworks/laravel.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/laravel.js +291 -71
- package/lib/dist/resolution/frameworks/laravel.js.map +1 -1
- package/lib/dist/resolution/frameworks/name-heuristic.d.ts +35 -0
- package/lib/dist/resolution/frameworks/name-heuristic.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/name-heuristic.js +33 -0
- package/lib/dist/resolution/frameworks/name-heuristic.js.map +1 -0
- package/lib/dist/resolution/frameworks/nestjs.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/nestjs.js +236 -192
- package/lib/dist/resolution/frameworks/nestjs.js.map +1 -1
- package/lib/dist/resolution/frameworks/next-proxy.d.ts +67 -0
- package/lib/dist/resolution/frameworks/next-proxy.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/next-proxy.js +239 -0
- package/lib/dist/resolution/frameworks/next-proxy.js.map +1 -0
- package/lib/dist/resolution/frameworks/nextjs.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/nextjs.js +11 -66
- package/lib/dist/resolution/frameworks/nextjs.js.map +1 -1
- package/lib/dist/resolution/frameworks/object-literal.js +0 -21
- package/lib/dist/resolution/frameworks/object-literal.js.map +1 -1
- package/lib/dist/resolution/frameworks/package-deps.d.ts +11 -7
- package/lib/dist/resolution/frameworks/package-deps.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/package-deps.js +35 -26
- package/lib/dist/resolution/frameworks/package-deps.js.map +1 -1
- package/lib/dist/resolution/frameworks/page-component.d.ts +20 -0
- package/lib/dist/resolution/frameworks/page-component.d.ts.map +1 -0
- package/lib/dist/resolution/frameworks/page-component.js +31 -0
- package/lib/dist/resolution/frameworks/page-component.js.map +1 -0
- package/lib/dist/resolution/frameworks/play.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/play.js +27 -33
- package/lib/dist/resolution/frameworks/play.js.map +1 -1
- package/lib/dist/resolution/frameworks/python.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/python.js +106 -116
- package/lib/dist/resolution/frameworks/python.js.map +1 -1
- package/lib/dist/resolution/frameworks/react-native.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/react-native.js +1 -166
- package/lib/dist/resolution/frameworks/react-native.js.map +1 -1
- package/lib/dist/resolution/frameworks/react-router.d.ts +17 -7
- package/lib/dist/resolution/frameworks/react-router.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/react-router.js +21 -79
- package/lib/dist/resolution/frameworks/react-router.js.map +1 -1
- package/lib/dist/resolution/frameworks/react.d.ts +68 -1
- package/lib/dist/resolution/frameworks/react.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/react.js +1721 -114
- package/lib/dist/resolution/frameworks/react.js.map +1 -1
- package/lib/dist/resolution/frameworks/ruby.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/ruby.js +152 -52
- package/lib/dist/resolution/frameworks/ruby.js.map +1 -1
- package/lib/dist/resolution/frameworks/rust.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/rust.js +51 -70
- package/lib/dist/resolution/frameworks/rust.js.map +1 -1
- package/lib/dist/resolution/frameworks/svelte.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/svelte.js +9 -74
- package/lib/dist/resolution/frameworks/svelte.js.map +1 -1
- package/lib/dist/resolution/frameworks/sveltekit-router.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/sveltekit-router.js +8 -46
- package/lib/dist/resolution/frameworks/sveltekit-router.js.map +1 -1
- package/lib/dist/resolution/frameworks/swift-objc.js +0 -97
- package/lib/dist/resolution/frameworks/swift-objc.js.map +1 -1
- package/lib/dist/resolution/frameworks/swift.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/swift.js +199 -167
- package/lib/dist/resolution/frameworks/swift.js.map +1 -1
- package/lib/dist/resolution/frameworks/tanstack-router.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/tanstack-router.js +9 -130
- package/lib/dist/resolution/frameworks/tanstack-router.js.map +1 -1
- package/lib/dist/resolution/frameworks/terraform.js +1 -85
- package/lib/dist/resolution/frameworks/terraform.js.map +1 -1
- package/lib/dist/resolution/frameworks/vue-router.d.ts +26 -10
- package/lib/dist/resolution/frameworks/vue-router.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/vue-router.js +147 -147
- package/lib/dist/resolution/frameworks/vue-router.js.map +1 -1
- package/lib/dist/resolution/frameworks/vue.d.ts +9 -2
- package/lib/dist/resolution/frameworks/vue.d.ts.map +1 -1
- package/lib/dist/resolution/frameworks/vue.js +69 -107
- package/lib/dist/resolution/frameworks/vue.js.map +1 -1
- package/lib/dist/resolution/go-func-field-synthesizer.d.ts +58 -0
- package/lib/dist/resolution/go-func-field-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/go-func-field-synthesizer.js +696 -0
- package/lib/dist/resolution/go-func-field-synthesizer.js.map +1 -0
- package/lib/dist/resolution/go-module.d.ts +23 -7
- package/lib/dist/resolution/go-module.d.ts.map +1 -1
- package/lib/dist/resolution/go-module.js +21 -24
- package/lib/dist/resolution/go-module.js.map +1 -1
- package/lib/dist/resolution/go-stdlib-methods.d.ts +9 -0
- package/lib/dist/resolution/go-stdlib-methods.d.ts.map +1 -0
- package/lib/dist/resolution/go-stdlib-methods.js +224 -0
- package/lib/dist/resolution/go-stdlib-methods.js.map +1 -0
- package/lib/dist/resolution/goframe-synthesizer.js +2 -53
- package/lib/dist/resolution/goframe-synthesizer.js.map +1 -1
- package/lib/dist/resolution/import-resolver.d.ts +298 -23
- package/lib/dist/resolution/import-resolver.d.ts.map +1 -1
- package/lib/dist/resolution/import-resolver.js +1802 -1280
- package/lib/dist/resolution/import-resolver.js.map +1 -1
- package/lib/dist/resolution/index.d.ts +449 -5
- package/lib/dist/resolution/index.d.ts.map +1 -1
- package/lib/dist/resolution/index.js +1477 -981
- package/lib/dist/resolution/index.js.map +1 -1
- package/lib/dist/resolution/js-builtins.d.ts +14 -0
- package/lib/dist/resolution/js-builtins.d.ts.map +1 -1
- package/lib/dist/resolution/js-builtins.js +15 -13
- package/lib/dist/resolution/js-builtins.js.map +1 -1
- package/lib/dist/resolution/js-class-expressions.d.ts +48 -0
- package/lib/dist/resolution/js-class-expressions.d.ts.map +1 -0
- package/lib/dist/resolution/js-class-expressions.js +25 -0
- package/lib/dist/resolution/js-class-expressions.js.map +1 -0
- package/lib/dist/resolution/js-super-calls.d.ts +18 -0
- package/lib/dist/resolution/js-super-calls.d.ts.map +1 -0
- package/lib/dist/resolution/js-super-calls.js +94 -0
- package/lib/dist/resolution/js-super-calls.js.map +1 -0
- package/lib/dist/resolution/jsx-code.d.ts +28 -0
- package/lib/dist/resolution/jsx-code.d.ts.map +1 -0
- package/lib/dist/resolution/jsx-code.js +459 -0
- package/lib/dist/resolution/jsx-code.js.map +1 -0
- package/lib/dist/resolution/lru-cache.d.ts +5 -13
- package/lib/dist/resolution/lru-cache.d.ts.map +1 -1
- package/lib/dist/resolution/lru-cache.js +43 -32
- package/lib/dist/resolution/lru-cache.js.map +1 -1
- package/lib/dist/resolution/memory-budget.js +0 -52
- package/lib/dist/resolution/memory-budget.js.map +1 -1
- package/lib/dist/resolution/module-importers.d.ts +185 -0
- package/lib/dist/resolution/module-importers.d.ts.map +1 -0
- package/lib/dist/resolution/module-importers.js +588 -0
- package/lib/dist/resolution/module-importers.js.map +1 -0
- package/lib/dist/resolution/name-matcher.d.ts +891 -8
- package/lib/dist/resolution/name-matcher.d.ts.map +1 -1
- package/lib/dist/resolution/name-matcher.js +25013 -2928
- package/lib/dist/resolution/name-matcher.js.map +1 -1
- package/lib/dist/resolution/next-router-synthesizer.d.ts +19 -0
- package/lib/dist/resolution/next-router-synthesizer.d.ts.map +1 -1
- package/lib/dist/resolution/next-router-synthesizer.js +46 -28
- package/lib/dist/resolution/next-router-synthesizer.js.map +1 -1
- package/lib/dist/resolution/override-parameters.d.ts +40 -0
- package/lib/dist/resolution/override-parameters.d.ts.map +1 -0
- package/lib/dist/resolution/override-parameters.js +339 -0
- package/lib/dist/resolution/override-parameters.js.map +1 -0
- package/lib/dist/resolution/parameter-flow.d.ts +218 -0
- package/lib/dist/resolution/parameter-flow.d.ts.map +1 -0
- package/lib/dist/resolution/parameter-flow.js +474 -0
- package/lib/dist/resolution/parameter-flow.js.map +1 -0
- package/lib/dist/resolution/pascal-scope.d.ts +91 -0
- package/lib/dist/resolution/pascal-scope.d.ts.map +1 -0
- package/lib/dist/resolution/pascal-scope.js +961 -0
- package/lib/dist/resolution/pascal-scope.js.map +1 -0
- package/lib/dist/resolution/path-aliases.d.ts +32 -4
- package/lib/dist/resolution/path-aliases.d.ts.map +1 -1
- package/lib/dist/resolution/path-aliases.js +43 -110
- package/lib/dist/resolution/path-aliases.js.map +1 -1
- package/lib/dist/resolution/project-scans.d.ts +38 -0
- package/lib/dist/resolution/project-scans.d.ts.map +1 -0
- package/lib/dist/resolution/project-scans.js +30 -0
- package/lib/dist/resolution/project-scans.js.map +1 -0
- package/lib/dist/resolution/react-router-synthesizer.d.ts +2 -0
- package/lib/dist/resolution/react-router-synthesizer.d.ts.map +1 -1
- package/lib/dist/resolution/react-router-synthesizer.js +67 -48
- package/lib/dist/resolution/react-router-synthesizer.js.map +1 -1
- package/lib/dist/resolution/resolver-pool.d.ts +43 -3
- package/lib/dist/resolution/resolver-pool.d.ts.map +1 -1
- package/lib/dist/resolution/resolver-pool.js +55 -97
- package/lib/dist/resolution/resolver-pool.js.map +1 -1
- package/lib/dist/resolution/resolver-worker.d.ts +1 -1
- package/lib/dist/resolution/resolver-worker.d.ts.map +1 -1
- package/lib/dist/resolution/resolver-worker.js +10 -36
- package/lib/dist/resolution/resolver-worker.js.map +1 -1
- package/lib/dist/resolution/resurrect-ref.d.ts +25 -0
- package/lib/dist/resolution/resurrect-ref.d.ts.map +1 -0
- package/lib/dist/resolution/resurrect-ref.js +19 -0
- package/lib/dist/resolution/resurrect-ref.js.map +1 -0
- package/lib/dist/resolution/ruby-constant-paths.d.ts +56 -0
- package/lib/dist/resolution/ruby-constant-paths.d.ts.map +1 -0
- package/lib/dist/resolution/ruby-constant-paths.js +255 -0
- package/lib/dist/resolution/ruby-constant-paths.js.map +1 -0
- package/lib/dist/resolution/ruby-parameter-flow.d.ts +10 -0
- package/lib/dist/resolution/ruby-parameter-flow.d.ts.map +1 -0
- package/lib/dist/resolution/ruby-parameter-flow.js +801 -0
- package/lib/dist/resolution/ruby-parameter-flow.js.map +1 -0
- package/lib/dist/resolution/rust-scopes.d.ts +120 -0
- package/lib/dist/resolution/rust-scopes.d.ts.map +1 -0
- package/lib/dist/resolution/rust-scopes.js +730 -0
- package/lib/dist/resolution/rust-scopes.js.map +1 -0
- package/lib/dist/resolution/shopify-themes.d.ts +10 -0
- package/lib/dist/resolution/shopify-themes.d.ts.map +1 -0
- package/lib/dist/resolution/shopify-themes.js +19 -0
- package/lib/dist/resolution/shopify-themes.js.map +1 -0
- package/lib/dist/resolution/strip-comments.d.ts +20 -1
- package/lib/dist/resolution/strip-comments.d.ts.map +1 -1
- package/lib/dist/resolution/strip-comments.js +164 -119
- package/lib/dist/resolution/strip-comments.js.map +1 -1
- package/lib/dist/resolution/sveltekit-synthesizer.js +0 -64
- package/lib/dist/resolution/sveltekit-synthesizer.js.map +1 -1
- package/lib/dist/resolution/swift-objc-bridge.js +0 -160
- package/lib/dist/resolution/swift-objc-bridge.js.map +1 -1
- package/lib/dist/resolution/swift-type-visibility.d.ts +68 -0
- package/lib/dist/resolution/swift-type-visibility.d.ts.map +1 -0
- package/lib/dist/resolution/swift-type-visibility.js +355 -0
- package/lib/dist/resolution/swift-type-visibility.js.map +1 -0
- package/lib/dist/resolution/synth-utils.js +1 -22
- package/lib/dist/resolution/synth-utils.js.map +1 -1
- package/lib/dist/resolution/tanstack-router-synthesizer.js +0 -32
- package/lib/dist/resolution/tanstack-router-synthesizer.js.map +1 -1
- package/lib/dist/resolution/tauri-synthesizer.d.ts +37 -0
- package/lib/dist/resolution/tauri-synthesizer.d.ts.map +1 -0
- package/lib/dist/resolution/tauri-synthesizer.js +1038 -0
- package/lib/dist/resolution/tauri-synthesizer.js.map +1 -0
- package/lib/dist/resolution/tier-synthesizer.d.ts +7 -2
- package/lib/dist/resolution/tier-synthesizer.d.ts.map +1 -1
- package/lib/dist/resolution/tier-synthesizer.js +318 -121
- package/lib/dist/resolution/tier-synthesizer.js.map +1 -1
- package/lib/dist/resolution/type-parameters.d.ts +34 -0
- package/lib/dist/resolution/type-parameters.d.ts.map +1 -0
- package/lib/dist/resolution/type-parameters.js +285 -0
- package/lib/dist/resolution/type-parameters.js.map +1 -0
- package/lib/dist/resolution/types.d.ts +209 -10
- package/lib/dist/resolution/types.d.ts.map +1 -1
- package/lib/dist/resolution/types.js +0 -47
- package/lib/dist/resolution/types.js.map +1 -1
- package/lib/dist/resolution/vbnet-receivers.d.ts +92 -0
- package/lib/dist/resolution/vbnet-receivers.d.ts.map +1 -0
- package/lib/dist/resolution/vbnet-receivers.js +1482 -0
- package/lib/dist/resolution/vbnet-receivers.js.map +1 -0
- package/lib/dist/resolution/vue-router-synthesizer.js +0 -31
- package/lib/dist/resolution/vue-router-synthesizer.js.map +1 -1
- package/lib/dist/resolution/workspace-packages.d.ts +206 -15
- package/lib/dist/resolution/workspace-packages.d.ts.map +1 -1
- package/lib/dist/resolution/workspace-packages.js +570 -152
- package/lib/dist/resolution/workspace-packages.js.map +1 -1
- package/lib/dist/search/identifier-segments.js +2 -93
- package/lib/dist/search/identifier-segments.js.map +1 -1
- package/lib/dist/search/query-parser.js +0 -54
- package/lib/dist/search/query-parser.js.map +1 -1
- package/lib/dist/search/query-paths.js +0 -167
- package/lib/dist/search/query-paths.js.map +1 -1
- package/lib/dist/search/query-utils.d.ts +44 -0
- package/lib/dist/search/query-utils.d.ts.map +1 -1
- package/lib/dist/search/query-utils.js +120 -198
- package/lib/dist/search/query-utils.js.map +1 -1
- package/lib/dist/sync/git-hooks.d.ts +14 -5
- package/lib/dist/sync/git-hooks.d.ts.map +1 -1
- package/lib/dist/sync/git-hooks.js +118 -65
- package/lib/dist/sync/git-hooks.js.map +1 -1
- package/lib/dist/sync/index.js +0 -14
- package/lib/dist/sync/index.js.map +1 -1
- package/lib/dist/sync/watch-policy.js +0 -45
- package/lib/dist/sync/watch-policy.js.map +1 -1
- package/lib/dist/sync/watcher.d.ts +29 -11
- package/lib/dist/sync/watcher.d.ts.map +1 -1
- package/lib/dist/sync/watcher.js +83 -487
- package/lib/dist/sync/watcher.js.map +1 -1
- package/lib/dist/sync/worktree.d.ts +29 -2
- package/lib/dist/sync/worktree.d.ts.map +1 -1
- package/lib/dist/sync/worktree.js +59 -78
- package/lib/dist/sync/worktree.js.map +1 -1
- package/lib/dist/telemetry/index.d.ts.map +1 -1
- package/lib/dist/telemetry/index.js +68 -146
- package/lib/dist/telemetry/index.js.map +1 -1
- package/lib/dist/types.d.ts +46 -0
- package/lib/dist/types.d.ts.map +1 -1
- package/lib/dist/types.js +15 -44
- package/lib/dist/types.js.map +1 -1
- package/lib/dist/ui/color.js +0 -19
- package/lib/dist/ui/color.js.map +1 -1
- package/lib/dist/ui/glyphs.js +2 -45
- package/lib/dist/ui/glyphs.js.map +1 -1
- package/lib/dist/ui/shimmer-progress.js +0 -21
- package/lib/dist/ui/shimmer-progress.js.map +1 -1
- package/lib/dist/ui/shimmer-worker.js +0 -22
- package/lib/dist/ui/shimmer-worker.js.map +1 -1
- package/lib/dist/ui-server/api/deadcode.d.ts.map +1 -1
- package/lib/dist/ui-server/api/deadcode.js +2 -31
- package/lib/dist/ui-server/api/deadcode.js.map +1 -1
- package/lib/dist/ui-server/api/effects.d.ts +7 -0
- package/lib/dist/ui-server/api/effects.d.ts.map +1 -1
- package/lib/dist/ui-server/api/effects.js +20 -103
- package/lib/dist/ui-server/api/effects.js.map +1 -1
- package/lib/dist/ui-server/api/entrypoints.d.ts +6 -0
- package/lib/dist/ui-server/api/entrypoints.d.ts.map +1 -1
- package/lib/dist/ui-server/api/entrypoints.js +73 -130
- package/lib/dist/ui-server/api/entrypoints.js.map +1 -1
- package/lib/dist/ui-server/api/events.js +0 -145
- package/lib/dist/ui-server/api/events.js.map +1 -1
- package/lib/dist/ui-server/api/file.js +0 -80
- package/lib/dist/ui-server/api/file.js.map +1 -1
- package/lib/dist/ui-server/api/filecode.js +0 -95
- package/lib/dist/ui-server/api/filecode.js.map +1 -1
- package/lib/dist/ui-server/api/flow.js +0 -149
- package/lib/dist/ui-server/api/flow.js.map +1 -1
- package/lib/dist/ui-server/api/hierarchy.js +0 -28
- package/lib/dist/ui-server/api/hierarchy.js.map +1 -1
- package/lib/dist/ui-server/api/index.js +0 -88
- package/lib/dist/ui-server/api/index.js.map +1 -1
- package/lib/dist/ui-server/api/map.d.ts +41 -6
- package/lib/dist/ui-server/api/map.d.ts.map +1 -1
- package/lib/dist/ui-server/api/map.js +95 -308
- package/lib/dist/ui-server/api/map.js.map +1 -1
- package/lib/dist/ui-server/api/node.d.ts.map +1 -1
- package/lib/dist/ui-server/api/node.js +4 -109
- package/lib/dist/ui-server/api/node.js.map +1 -1
- package/lib/dist/ui-server/api/nodes.js +0 -16
- package/lib/dist/ui-server/api/nodes.js.map +1 -1
- package/lib/dist/ui-server/api/program.js +0 -90
- package/lib/dist/ui-server/api/program.js.map +1 -1
- package/lib/dist/ui-server/api/respond.js +0 -60
- package/lib/dist/ui-server/api/respond.js.map +1 -1
- package/lib/dist/ui-server/api/route-roots.d.ts +6 -0
- package/lib/dist/ui-server/api/route-roots.d.ts.map +1 -1
- package/lib/dist/ui-server/api/route-roots.js +18 -39
- package/lib/dist/ui-server/api/route-roots.js.map +1 -1
- package/lib/dist/ui-server/api/routes.d.ts +2 -0
- package/lib/dist/ui-server/api/routes.d.ts.map +1 -1
- package/lib/dist/ui-server/api/routes.js +47 -47
- package/lib/dist/ui-server/api/routes.js.map +1 -1
- package/lib/dist/ui-server/api/screens.d.ts.map +1 -1
- package/lib/dist/ui-server/api/screens.js +16 -171
- package/lib/dist/ui-server/api/screens.js.map +1 -1
- package/lib/dist/ui-server/api/search.js +0 -62
- package/lib/dist/ui-server/api/search.js.map +1 -1
- package/lib/dist/ui-server/api/session.js +0 -58
- package/lib/dist/ui-server/api/session.js.map +1 -1
- package/lib/dist/ui-server/api/source.d.ts.map +1 -1
- package/lib/dist/ui-server/api/source.js +0 -161
- package/lib/dist/ui-server/api/source.js.map +1 -1
- package/lib/dist/ui-server/api/stats.js +0 -58
- package/lib/dist/ui-server/api/stats.js.map +1 -1
- package/lib/dist/ui-server/api/steps.d.ts.map +1 -1
- package/lib/dist/ui-server/api/steps.js +105 -373
- package/lib/dist/ui-server/api/steps.js.map +1 -1
- package/lib/dist/ui-server/api/trail-store.d.ts +3 -3
- package/lib/dist/ui-server/api/trail-store.d.ts.map +1 -1
- package/lib/dist/ui-server/api/trail-store.js +24 -106
- package/lib/dist/ui-server/api/trail-store.js.map +1 -1
- package/lib/dist/ui-server/api/trails.d.ts.map +1 -1
- package/lib/dist/ui-server/api/trails.js +20 -94
- package/lib/dist/ui-server/api/trails.js.map +1 -1
- package/lib/dist/ui-server/api/when.d.ts +10 -2
- package/lib/dist/ui-server/api/when.d.ts.map +1 -1
- package/lib/dist/ui-server/api/when.js +32 -44
- package/lib/dist/ui-server/api/when.js.map +1 -1
- package/lib/dist/ui-server/api/wire.js +0 -58
- package/lib/dist/ui-server/api/wire.js.map +1 -1
- package/lib/dist/ui-server/assets.js +0 -35
- package/lib/dist/ui-server/assets.js.map +1 -1
- package/lib/dist/ui-server/constants.js +0 -26
- package/lib/dist/ui-server/constants.js.map +1 -1
- package/lib/dist/ui-server/highlight/bounded-tokenize.d.ts +28 -0
- package/lib/dist/ui-server/highlight/bounded-tokenize.d.ts.map +1 -0
- package/lib/dist/ui-server/highlight/bounded-tokenize.js +114 -0
- package/lib/dist/ui-server/highlight/bounded-tokenize.js.map +1 -0
- package/lib/dist/ui-server/highlight/index.d.ts.map +1 -1
- package/lib/dist/ui-server/highlight/index.js +7 -133
- package/lib/dist/ui-server/highlight/index.js.map +1 -1
- package/lib/dist/ui-server/highlight/languages.d.ts +3 -3
- package/lib/dist/ui-server/highlight/languages.js +0 -31
- package/lib/dist/ui-server/highlight/languages.js.map +1 -1
- package/lib/dist/ui-server/highlight/tokenize-worker.d.ts +7 -0
- package/lib/dist/ui-server/highlight/tokenize-worker.d.ts.map +1 -0
- package/lib/dist/ui-server/highlight/tokenize-worker.js +15 -0
- package/lib/dist/ui-server/highlight/tokenize-worker.js.map +1 -0
- package/lib/dist/ui-server/index.d.ts +25 -0
- package/lib/dist/ui-server/index.d.ts.map +1 -1
- package/lib/dist/ui-server/index.js +35 -103
- package/lib/dist/ui-server/index.js.map +1 -1
- package/lib/dist/ui-server/open-browser.js +0 -34
- package/lib/dist/ui-server/open-browser.js.map +1 -1
- package/lib/dist/ui-server/security.d.ts +5 -0
- package/lib/dist/ui-server/security.d.ts.map +1 -1
- package/lib/dist/ui-server/security.js +11 -147
- package/lib/dist/ui-server/security.js.map +1 -1
- package/lib/dist/ui-server/static.js +0 -41
- package/lib/dist/ui-server/static.js.map +1 -1
- package/lib/dist/upgrade/index.d.ts +61 -10
- package/lib/dist/upgrade/index.d.ts.map +1 -1
- package/lib/dist/upgrade/index.js +191 -225
- package/lib/dist/upgrade/index.js.map +1 -1
- package/lib/dist/upgrade/remove-binary.js +2 -67
- package/lib/dist/upgrade/remove-binary.js.map +1 -1
- package/lib/dist/upgrade/update-check.js +1 -81
- package/lib/dist/upgrade/update-check.js.map +1 -1
- package/lib/dist/utils.d.ts +69 -1
- package/lib/dist/utils.d.ts.map +1 -1
- package/lib/dist/utils.js +224 -266
- package/lib/dist/utils.js.map +1 -1
- package/lib/dist/viewer/assets/{index-D4S7YUPf.js → index-BSGpxBr9.js} +60 -58
- package/lib/dist/viewer/index.html +1 -1
- package/lib/dist/worker-teardown.d.ts +48 -0
- package/lib/dist/worker-teardown.d.ts.map +1 -0
- package/lib/dist/worker-teardown.js +53 -0
- package/lib/dist/worker-teardown.js.map +1 -0
- package/lib/kernel/codegraph-kernel.node +2 -2
- package/lib/node_modules/.package-lock.json +4 -4
- package/lib/node_modules/ignore/README.md +138 -8
- package/lib/node_modules/ignore/index.d.ts +56 -20
- package/lib/node_modules/ignore/index.js +1033 -221
- package/lib/node_modules/ignore/legacy.js +871 -178
- package/lib/node_modules/ignore/package.json +10 -4
- package/lib/package.json +14 -8
- package/node.exe +2 -2
- package/package.json +1 -1
|
@@ -1,47 +1,65 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* React Router — navigation written as markup.
|
|
4
|
-
*
|
|
5
|
-
* <Link to="/placeorder">Continue</Link>
|
|
6
|
-
* <NavLink to="/profile">Profile</NavLink>
|
|
7
|
-
* <Navigate to="/login" replace />
|
|
8
|
-
* <LinkContainer to="/payment">…</LinkContainer> // react-router-bootstrap
|
|
9
|
-
* <Link to={{ pathname: '/shipping' }}>…</Link> // v5's object form
|
|
10
|
-
*
|
|
11
|
-
* A JSX attribute is not a call, so the extractor records no reference for it
|
|
12
|
-
* and the resolver in `frameworks/react-router.ts` — which binds
|
|
13
|
-
* `history.push` and `navigate` — never sees it. This pass reads every `to`
|
|
14
|
-
* attribute out of the source, attributes it to the component (the innermost
|
|
15
|
-
* function) it is written in, matches it against the React Router route
|
|
16
|
-
* table, and synthesizes one `navigates` edge from the component to the
|
|
17
|
-
* route. That is the edge the Screens view walks back from, so a screen's
|
|
18
|
-
* links are its transitions exactly as its pushes are.
|
|
19
|
-
*
|
|
20
|
-
* Edges are `provenance:'heuristic'`, `synthesizedBy:'react-router-link'`,
|
|
21
|
-
* with the path as written and `registeredAt` = the JSX site. A computed
|
|
22
|
-
* target (`to={next}`) is nothing; a path no route serves is nothing; a
|
|
23
|
-
* relative `to` is nothing, because it is resolved against a nesting this
|
|
24
|
-
* scan does not read. Nothing here runs on a project with no React Router
|
|
25
|
-
* routes.
|
|
26
|
-
*
|
|
27
|
-
* This is `next-router-synthesizer.ts`'s twin — the same shape over the other
|
|
28
|
-
* attribute (`to`, not `href`) and the other table.
|
|
29
|
-
*/
|
|
30
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
3
|
exports.reactRouterLinkEdges = reactRouterLinkEdges;
|
|
32
4
|
const strip_comments_1 = require("./strip-comments");
|
|
5
|
+
const utils_1 = require("../utils");
|
|
33
6
|
const query_utils_1 = require("../search/query-utils");
|
|
34
7
|
const expo_router_1 = require("./frameworks/expo-router");
|
|
35
8
|
const object_literal_1 = require("./frameworks/object-literal");
|
|
36
9
|
const nextjs_1 = require("./frameworks/nextjs");
|
|
37
10
|
const react_router_1 = require("./frameworks/react-router");
|
|
11
|
+
const react_1 = require("./frameworks/react");
|
|
38
12
|
const synth_utils_1 = require("./synth-utils");
|
|
13
|
+
const import_resolver_1 = require("./import-resolver");
|
|
39
14
|
const JSX_FILE = /\.(?:[cm]?[jt]sx?|mdx)$/;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
15
|
+
const LINK_TAGS = ['Link', 'NavLink', 'Navigate', 'Redirect', 'LinkContainer', 'IndexLinkContainer'];
|
|
16
|
+
function linkTagPattern(tags) {
|
|
17
|
+
return new RegExp(`<(${tags.map(utils_1.escapeRegExp).join('|')})\\b((?:[^>]|=>)*?)\\bto\\s*=\\s*(?:"([^"]*)"|'([^']*)'|(?=\\{))`, 'g');
|
|
18
|
+
}
|
|
19
|
+
const LINK_TAG = linkTagPattern(LINK_TAGS);
|
|
20
|
+
const ROUTER_IMPORT = /\bfrom\s*['"]react-router(?:-dom)?['"]/;
|
|
21
|
+
const STYLED_LINK_CONST = /\b(?:export\s+)?(?:const|let)\s+([A-Z][\w$]*)\s*=\s*styled\s*\(\s*(?:Link|NavLink)\s*\)/g;
|
|
22
|
+
const STYLED_LINK_DEFAULT = /\bexport\s+default\s+styled\s*\(\s*(?:Link|NavLink)\s*\)/;
|
|
23
|
+
function linkWrappers(ctx) {
|
|
24
|
+
const named = new Map();
|
|
25
|
+
const defaults = new Set();
|
|
26
|
+
for (const file of ctx.getAllFiles()) {
|
|
27
|
+
if (!JSX_FILE.test(file) || (0, query_utils_1.isTestPath)(file))
|
|
28
|
+
continue;
|
|
29
|
+
if (ctx.fileContains && !ctx.fileContains(file, 'styled'))
|
|
30
|
+
continue;
|
|
31
|
+
const source = ctx.readFile(file);
|
|
32
|
+
if (!source || !/\bstyled\s*\(\s*(?:Link|NavLink)\s*\)/.test(source) || !ROUTER_IMPORT.test(source))
|
|
33
|
+
continue;
|
|
34
|
+
if (STYLED_LINK_DEFAULT.test(source))
|
|
35
|
+
defaults.add(file);
|
|
36
|
+
STYLED_LINK_CONST.lastIndex = 0;
|
|
37
|
+
let m;
|
|
38
|
+
while ((m = STYLED_LINK_CONST.exec(source)) !== null) {
|
|
39
|
+
let set = named.get(file);
|
|
40
|
+
if (!set)
|
|
41
|
+
named.set(file, (set = new Set()));
|
|
42
|
+
set.add(m[1]);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
return { named, defaults };
|
|
46
|
+
}
|
|
47
|
+
function linkTagsFor(file, wrappers, ctx) {
|
|
48
|
+
const tags = [...LINK_TAGS, ...(wrappers.named.get(file) ?? [])];
|
|
49
|
+
if (wrappers.named.size > 0 || wrappers.defaults.size > 0) {
|
|
50
|
+
for (const m of ctx.getImportMappings(file, languageOf(file))) {
|
|
51
|
+
const target = (0, import_resolver_1.resolveImportPath)(m.source, file, languageOf(file), ctx);
|
|
52
|
+
if (!target)
|
|
53
|
+
continue;
|
|
54
|
+
if ((m.isDefault && wrappers.defaults.has(target)) || wrappers.named.get(target)?.has(m.exportedName))
|
|
55
|
+
tags.push(m.localName);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
return tags;
|
|
59
|
+
}
|
|
60
|
+
function languageOf(file) {
|
|
61
|
+
return /\.tsx$/.test(file) ? 'tsx' : /\.[cm]?ts$/.test(file) ? 'typescript' : /\.jsx$/.test(file) ? 'jsx' : 'javascript';
|
|
62
|
+
}
|
|
45
63
|
const MAX_LINKS_PER_COMPONENT = 24;
|
|
46
64
|
async function reactRouterLinkEdges(ctx, onYield) {
|
|
47
65
|
const table = (0, react_router_1.reactRouterTable)(ctx);
|
|
@@ -50,6 +68,7 @@ async function reactRouterLinkEdges(ctx, onYield) {
|
|
|
50
68
|
const edges = [];
|
|
51
69
|
const seen = new Set();
|
|
52
70
|
const perComponent = new Map();
|
|
71
|
+
const wrappers = linkWrappers(ctx);
|
|
53
72
|
let scanned = 0;
|
|
54
73
|
for (const file of ctx.getAllFiles()) {
|
|
55
74
|
if (!JSX_FILE.test(file) || (0, query_utils_1.isTestPath)(file))
|
|
@@ -60,42 +79,42 @@ async function reactRouterLinkEdges(ctx, onYield) {
|
|
|
60
79
|
if ((++scanned & 63) === 0)
|
|
61
80
|
await onYield();
|
|
62
81
|
const source = ctx.readFile(file);
|
|
63
|
-
if (!source ||
|
|
82
|
+
if (!source || !/\bto\s*=/.test(source))
|
|
83
|
+
continue;
|
|
84
|
+
const tags = linkTagsFor(file, wrappers, ctx);
|
|
85
|
+
const pattern = tags.length === LINK_TAGS.length ? LINK_TAG : linkTagPattern(tags);
|
|
86
|
+
if (!new RegExp(`<(?:${tags.map(utils_1.escapeRegExp).join('|')})\\b`).test(source))
|
|
64
87
|
continue;
|
|
65
88
|
const safe = (0, strip_comments_1.stripCommentsForRegex)(source, 'typescript');
|
|
66
89
|
const nodes = ctx.getNodesInFile(file);
|
|
67
90
|
const lineOf = (0, synth_utils_1.makeLineAt)(safe, 1);
|
|
68
|
-
|
|
91
|
+
pattern.lastIndex = 0;
|
|
69
92
|
let m;
|
|
70
|
-
while ((m =
|
|
93
|
+
while ((m = pattern.exec(safe)) !== null) {
|
|
71
94
|
const tag = m[1];
|
|
72
95
|
const quoted = m[3] ?? m[4] ?? null;
|
|
73
96
|
let href;
|
|
74
97
|
if (quoted !== null)
|
|
75
98
|
href = (0, expo_router_1.toHref)(quoted);
|
|
76
99
|
else {
|
|
77
|
-
// `to={…}` holds an EXPRESSION, and it is read with the same reader
|
|
78
|
-
// the `history.push(…)` path uses — a string, a template, a
|
|
79
|
-
// `{ pathname }` object, or a conditional whose arms agree
|
|
80
|
-
// (`to={redirect ? `/register?redirect=${redirect}` : '/register'}`,
|
|
81
|
-
// which is how react-router apps write a link that carries state).
|
|
82
|
-
// Peeking at the first character instead missed every one of those.
|
|
83
100
|
const at = m.index + m[0].length;
|
|
84
101
|
const close = (0, object_literal_1.matchBracket)(safe, at);
|
|
85
102
|
if (close < 0)
|
|
86
103
|
continue;
|
|
87
|
-
|
|
104
|
+
const expr = safe.slice(at + 1, close);
|
|
105
|
+
href = (0, expo_router_1.parseHrefExpression)(expr);
|
|
106
|
+
if (!href) {
|
|
107
|
+
const configured = (0, react_1.configHrefExpression)(expr, file, ctx);
|
|
108
|
+
if (configured)
|
|
109
|
+
href = (0, expo_router_1.parseHrefExpression)(configured);
|
|
110
|
+
}
|
|
88
111
|
}
|
|
89
|
-
// A relative `to` is resolved against the route this markup renders
|
|
90
|
-
// under — a nesting this scan does not read, so it is not a destination.
|
|
91
112
|
if (!href || !href.path.startsWith('/'))
|
|
92
113
|
continue;
|
|
93
114
|
const line = lineOf(m.index);
|
|
94
115
|
const component = (0, synth_utils_1.enclosingFn)(nodes, line);
|
|
95
116
|
if (!component)
|
|
96
117
|
continue;
|
|
97
|
-
// A destination written as a choice names one route per arm, and the
|
|
98
|
-
// user reaches every one of them — each is drawn.
|
|
99
118
|
for (const { node: route, href: arm } of (0, nextjs_1.destinationsForHref)(href, routes)) {
|
|
100
119
|
const key = `${component.id}>${route.id}`;
|
|
101
120
|
if (seen.has(key))
|
|
@@ -114,7 +133,7 @@ async function reactRouterLinkEdges(ctx, onYield) {
|
|
|
114
133
|
metadata: {
|
|
115
134
|
synthesizedBy: 'react-router-link',
|
|
116
135
|
href: arm.display,
|
|
117
|
-
navMethod: tag === 'Navigate' ? 'navigate' : 'link',
|
|
136
|
+
navMethod: tag === 'Navigate' ? 'navigate' : tag === 'Redirect' ? 'redirect' : 'link',
|
|
118
137
|
registeredAt: `${file}:${line}`,
|
|
119
138
|
},
|
|
120
139
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-router-synthesizer.js","sourceRoot":"","sources":["../../src/resolution/react-router-synthesizer.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"react-router-synthesizer.js","sourceRoot":"","sources":["../../src/resolution/react-router-synthesizer.ts"],"names":[],"mappings":";;AAqHA,oDA8EC;AAjKD,qDAAyD;AACzD,oCAAwC;AACxC,uDAAmD;AACnD,0DAAwG;AACxG,gEAA2D;AAC3D,gDAA0D;AAC1D,4DAA6D;AAC7D,8CAA0D;AAC1D,+CAAwD;AACxD,uDAAsD;AAEtD,MAAM,QAAQ,GAAG,yBAAyB,CAAC;AAG3C,MAAM,SAAS,GAAG,CAAC,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,UAAU,EAAE,eAAe,EAAE,o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YAAY,CAAC,GAAG,CAAC,SAAS,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;gBACtC,IAAI,KAAK,GAAG,uBAAuB;oBAAE,SAAS;gBAC9C,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;gBACd,KAAK,CAAC,IAAI,CAAC;oBACT,MAAM,EAAE,SAAS,CAAC,EAAE;oBACpB,MAAM,EAAE,KAAK,CAAC,EAAE;oBAChB,IAAI,EAAE,WAAW;oBACjB,IAAI;oBACJ,UAAU,EAAE,WAAW;oBACvB,QAAQ,EAAE;wBACR,aAAa,EAAE,mBAAmB;wBAClC,IAAI,EAAE,GAAG,CAAC,OAAO;wBACjB,SAAS,EAAE,GAAG,KAAK,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,KAAK,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM;wBACrF,YAAY,EAAE,GAAG,IAAI,IAAI,IAAI,EAAE;qBAChC;iBACF,CAAC,CAAC;YACL,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* back to the sequential path. Kill switch: CODEGRAPH_NO_PARALLEL_RESOLVE=1.
|
|
10
10
|
*/
|
|
11
11
|
import type { Edge, UnresolvedReference } from '../types';
|
|
12
|
+
import type { ProjectScans } from './project-scans';
|
|
12
13
|
import type { ResolvedRef, UnresolvedRef } from './types';
|
|
13
14
|
/** One synthesis pass's output: its edge list + worker-measured wall clock. */
|
|
14
15
|
export interface SynthPassResult {
|
|
@@ -32,13 +33,42 @@ export interface ChunkResult {
|
|
|
32
33
|
* CODEGRAPH_PARALLEL_RESOLVE_MIN=<refs> (0 forces the pool on).
|
|
33
34
|
*/
|
|
34
35
|
export declare function minRefsForPool(): number;
|
|
36
|
+
/**
|
|
37
|
+
* Fewest refs still to settle for the batch loop to boot the pool mid-run
|
|
38
|
+
* from its observed per-ref rate. Booting takes seconds (each worker opens the
|
|
39
|
+
* database and warms a resolver), only batches of MIN_PARALLEL_BATCH refs fan
|
|
40
|
+
* out, and synthesis waits for a booting pool. A rate measured on a busy
|
|
41
|
+
* machine inflates every projection, so with no floor a ten-file project booted
|
|
42
|
+
* the pool in half its runs under heavy load and paid seconds for nothing.
|
|
43
|
+
* Repos the adaptive bar is for (Rust-class per-ref cost) have tens of
|
|
44
|
+
* thousands of refs and still engage.
|
|
45
|
+
*/
|
|
46
|
+
export declare const ADAPTIVE_ENGAGE_MIN_REFS = 20000;
|
|
47
|
+
/** Whether the resolve loop should boot the pool mid-run (see ADAPTIVE_ENGAGE_MIN_REFS). */
|
|
48
|
+
export declare function shouldEngageAdaptively(projectedMs: number, remainingRefs: number, barMs: number): boolean;
|
|
49
|
+
/** The workers resolving is worth, from what it would take alone, in ms. */
|
|
50
|
+
export declare function resolveWorkersWorthStarting(projectedMs: number): number;
|
|
51
|
+
/**
|
|
52
|
+
* The longest a run that starts the pool before its first batch waits for it, in
|
|
53
|
+
* ms. A full index's workers are up in a second or two; a sync's detect the
|
|
54
|
+
* project's frameworks for themselves, which can read every source file. Past
|
|
55
|
+
* this the run goes on on its own thread, as it would with no pool, and takes the
|
|
56
|
+
* pool up if it does come.
|
|
57
|
+
*/
|
|
58
|
+
export declare const POOL_START_WAIT_MS = 30000;
|
|
59
|
+
/** Waits for a pool's start to settle, however it goes, for at most POOL_START_WAIT_MS. */
|
|
60
|
+
export declare function poolStartSettled(start: Promise<void>): Promise<void>;
|
|
35
61
|
export declare class ResolverPool {
|
|
36
62
|
private workers;
|
|
63
|
+
/** The worker that last resolved references of a file. */
|
|
64
|
+
private fileWorkers;
|
|
37
65
|
private nextId;
|
|
38
66
|
private waiters;
|
|
39
67
|
private synthWaiters;
|
|
40
68
|
private recycleWaiters;
|
|
41
69
|
private failed;
|
|
70
|
+
/** Fail the workers still starting: a failure is a pool that will never be ready. */
|
|
71
|
+
private failStarts;
|
|
42
72
|
/**
|
|
43
73
|
* Pool size from CPU headroom, memory headroom, and the explicit override.
|
|
44
74
|
* Pure — every input injected — so the whole matrix is unit-testable.
|
|
@@ -47,7 +77,7 @@ export declare class ResolverPool {
|
|
|
47
77
|
* enumerates the host's CPUs and sized SIX workers inside a 2-CPU cpuset,
|
|
48
78
|
* §7a.1's false-premise finding), minus one for the persisting main thread,
|
|
49
79
|
* floored at 2 so a true 2-core box keeps the pool's ~2× on synthesis,
|
|
50
|
-
* capped at
|
|
80
|
+
* capped at MAX_RESOLVE_WORKERS.
|
|
51
81
|
*
|
|
52
82
|
* Memory term: workers hold real heap at scale (~1GB each against a 4.6GB
|
|
53
83
|
* kernel-scale DB — six of them OOM-killed a 7GB container once real
|
|
@@ -61,6 +91,8 @@ export declare class ResolverPool {
|
|
|
61
91
|
availableParallelism: number;
|
|
62
92
|
memoryBudget: number;
|
|
63
93
|
dbSizeBytes: number;
|
|
94
|
+
/** The workers the work is worth; left out, as many as the machine can carry. */
|
|
95
|
+
worth?: number;
|
|
64
96
|
}): number | null;
|
|
65
97
|
/**
|
|
66
98
|
* Create a pool when the compiled worker exists (absent when running from
|
|
@@ -69,9 +101,11 @@ export declare class ResolverPool {
|
|
|
69
101
|
* otherwise. `CODEGRAPH_RESOLVE_WORKERS` overrides the computed size
|
|
70
102
|
* (0 disables the pool; values are capped at 16).
|
|
71
103
|
*/
|
|
72
|
-
static tryCreate(dbPath: string, projectRoot: string): ResolverPool | null;
|
|
104
|
+
static tryCreate(dbPath: string, projectRoot: string, frameworks?: readonly string[], worth?: number): ResolverPool | null;
|
|
73
105
|
private constructor();
|
|
74
106
|
private fail;
|
|
107
|
+
/** Give every worker what the main thread read from the whole project, ahead of any reference it is sent. */
|
|
108
|
+
shareScans(scans: ProjectScans): void;
|
|
75
109
|
/** Number of workers — how many passes the synthesis fan-out keeps in flight. */
|
|
76
110
|
get size(): number;
|
|
77
111
|
/** Whether this batch is worth fanning out. */
|
|
@@ -103,6 +137,12 @@ export declare class ResolverPool {
|
|
|
103
137
|
* covers the rest of the run.
|
|
104
138
|
*/
|
|
105
139
|
recycleWorkers(): Promise<void>;
|
|
106
|
-
|
|
140
|
+
/**
|
|
141
|
+
* Ask every worker to close; each collects garbage and exits by itself (see
|
|
142
|
+
* worker-teardown.ts). One that hasn't by `closeTimeoutMs` is terminated —
|
|
143
|
+
* but never while it is still starting up: a pool torn down soon after it
|
|
144
|
+
* booted, on a busy machine, can have a worker still loading its modules.
|
|
145
|
+
*/
|
|
146
|
+
destroy(closeTimeoutMs?: number): Promise<void>;
|
|
107
147
|
}
|
|
108
148
|
//# sourceMappingURL=resolver-pool.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolver-pool.d.ts","sourceRoot":"","sources":["../../src/resolution/resolver-pool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAMH,OAAO,KAAK,EAAE,IAAI,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"resolver-pool.d.ts","sourceRoot":"","sources":["../../src/resolution/resolver-pool.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAMH,OAAO,KAAK,EAAE,IAAI,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAI1D,+EAA+E;AAC/E,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,WAAW,EAAE,CAAC;IACxB,UAAU,EAAE,aAAa,EAAE,CAAC;IAC5B,aAAa,EAAE,aAAa,EAAE,CAAC;IAC/B,kBAAkB,EAAE,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E,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,IAAI;IAgC1H,OAAO;IAoEP,OAAO,CAAC,IAAI;IAaZ,6GAA6G;IAC7G,UAAU,CAAC,KAAK,EAAE,YAAY,GAAG,IAAI;IAIrC,iFAAiF;IACjF,IAAI,IAAI,IAAI,MAAM,CAEjB;IAED,+CAA+C;IAC/C,MAAM,CAAC,aAAa,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO;IAI5C,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAI5B;;;OAGG;IACG,YAAY,CAAC,IAAI,EAAE,mBAAmB,EAAE,GAAG,OAAO,CAAC,WAAW,CAAC;IAoCrE;;;;;OAKG;IACG,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC;IAW9D;;;;;;;;;;;;OAYG;IACG,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;IAwBrC;;;;;OAKG;IACG,OAAO,CAAC,cAAc,SAAmB,GAAG,OAAO,CAAC,IAAI,CAAC;CAiBhE"}
|
|
@@ -1,14 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* ResolverPool — main-thread client for the parallel-resolution workers.
|
|
4
|
-
*
|
|
5
|
-
* resolveBatch() splits a rowid-ordered batch into ordered chunks, fans the
|
|
6
|
-
* chunks across the pool, and reassembles the results IN CHUNK ORDER, so the
|
|
7
|
-
* caller's admission (edge inserts, row cleanup, failure parking, deferred
|
|
8
|
-
* post-pass queues) is byte-for-byte the sequence the single-threaded loop
|
|
9
|
-
* would have produced. Any worker failure fails the batch — the caller falls
|
|
10
|
-
* back to the sequential path. Kill switch: CODEGRAPH_NO_PARALLEL_RESOLVE=1.
|
|
11
|
-
*/
|
|
12
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
13
3
|
if (k2 === undefined) k2 = k;
|
|
14
4
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -43,24 +33,20 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
43
33
|
};
|
|
44
34
|
})();
|
|
45
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
-
exports.ResolverPool = void 0;
|
|
36
|
+
exports.ResolverPool = exports.POOL_START_WAIT_MS = exports.ADAPTIVE_ENGAGE_MIN_REFS = void 0;
|
|
47
37
|
exports.minRefsForPool = minRefsForPool;
|
|
38
|
+
exports.shouldEngageAdaptively = shouldEngageAdaptively;
|
|
39
|
+
exports.resolveWorkersWorthStarting = resolveWorkersWorthStarting;
|
|
40
|
+
exports.poolStartSettled = poolStartSettled;
|
|
48
41
|
const worker_threads_1 = require("worker_threads");
|
|
49
42
|
const fs = __importStar(require("fs"));
|
|
50
43
|
const path = __importStar(require("path"));
|
|
51
44
|
const os = __importStar(require("os"));
|
|
52
45
|
const memory_budget_1 = require("./memory-budget");
|
|
46
|
+
const worker_teardown_1 = require("../worker-teardown");
|
|
47
|
+
const CLOSE_TIMEOUT_MS = 5000;
|
|
53
48
|
const MIN_PARALLEL_BATCH = 1000;
|
|
54
49
|
const CHUNK_SIZE = 500;
|
|
55
|
-
/**
|
|
56
|
-
* Minimum TOTAL pending refs before the pool is created at all. Pool boot
|
|
57
|
-
* (module load + readonly DB open + framework detect + cache warm, times N
|
|
58
|
-
* workers) costs real CPU that CONTENDS with sequential resolution on the
|
|
59
|
-
* same cores — measured on a medium repo (~40k refs, ~1.2s of resolution)
|
|
60
|
-
* the pool made indexing slower. It pays off when resolution runs for tens
|
|
61
|
-
* of seconds to minutes (large JVM/Spring-class repos). Override:
|
|
62
|
-
* CODEGRAPH_PARALLEL_RESOLVE_MIN=<refs> (0 forces the pool on).
|
|
63
|
-
*/
|
|
64
50
|
function minRefsForPool() {
|
|
65
51
|
const raw = process.env.CODEGRAPH_PARALLEL_RESOLVE_MIN;
|
|
66
52
|
if (raw !== undefined) {
|
|
@@ -70,30 +56,34 @@ function minRefsForPool() {
|
|
|
70
56
|
}
|
|
71
57
|
return 150_000;
|
|
72
58
|
}
|
|
59
|
+
exports.ADAPTIVE_ENGAGE_MIN_REFS = 20_000;
|
|
60
|
+
function shouldEngageAdaptively(projectedMs, remainingRefs, barMs) {
|
|
61
|
+
return remainingRefs >= exports.ADAPTIVE_ENGAGE_MIN_REFS && projectedMs >= barMs;
|
|
62
|
+
}
|
|
63
|
+
const MAX_RESOLVE_WORKERS = 4;
|
|
64
|
+
const RESOLVE_WORK_PER_WORKER_MS = 2000;
|
|
65
|
+
function resolveWorkersWorthStarting(projectedMs) {
|
|
66
|
+
return Math.ceil(projectedMs / RESOLVE_WORK_PER_WORKER_MS);
|
|
67
|
+
}
|
|
68
|
+
exports.POOL_START_WAIT_MS = 30_000;
|
|
69
|
+
async function poolStartSettled(start) {
|
|
70
|
+
let timer;
|
|
71
|
+
await Promise.race([
|
|
72
|
+
start.catch(() => undefined),
|
|
73
|
+
new Promise((resolve) => { timer = setTimeout(resolve, exports.POOL_START_WAIT_MS); }),
|
|
74
|
+
]);
|
|
75
|
+
clearTimeout(timer);
|
|
76
|
+
}
|
|
77
|
+
const WORKER_YOUNG_GENERATION_MB = 48;
|
|
73
78
|
class ResolverPool {
|
|
74
79
|
workers = [];
|
|
80
|
+
fileWorkers = new Map();
|
|
75
81
|
nextId = 0;
|
|
76
82
|
waiters = new Map();
|
|
77
83
|
synthWaiters = new Map();
|
|
78
84
|
recycleWaiters = new Map();
|
|
79
85
|
failed = null;
|
|
80
|
-
|
|
81
|
-
* Pool size from CPU headroom, memory headroom, and the explicit override.
|
|
82
|
-
* Pure — every input injected — so the whole matrix is unit-testable.
|
|
83
|
-
*
|
|
84
|
-
* CPU term: `availableParallelism` (cpuset/affinity-honest — `os.cpus()`
|
|
85
|
-
* enumerates the host's CPUs and sized SIX workers inside a 2-CPU cpuset,
|
|
86
|
-
* §7a.1's false-premise finding), minus one for the persisting main thread,
|
|
87
|
-
* floored at 2 so a true 2-core box keeps the pool's ~2× on synthesis,
|
|
88
|
-
* capped at the long-standing 6.
|
|
89
|
-
*
|
|
90
|
-
* Memory term: workers hold real heap at scale (~1GB each against a 4.6GB
|
|
91
|
-
* kernel-scale DB — six of them OOM-killed a 7GB container once real
|
|
92
|
-
* 8-core concurrency let them peak simultaneously). Estimate per-worker
|
|
93
|
-
* cost from the DB size, keep 30% of the budget for the main thread, and
|
|
94
|
-
* let the smaller term win. Below 2 workers the pool isn't worth its boot
|
|
95
|
-
* cost — callers get null and stay sequential.
|
|
96
|
-
*/
|
|
86
|
+
failStarts = [];
|
|
97
87
|
static resolvePoolSize(opts) {
|
|
98
88
|
if (opts.explicit !== undefined && opts.explicit !== '') {
|
|
99
89
|
const n = Number.parseInt(opts.explicit, 10);
|
|
@@ -103,25 +93,13 @@ class ResolverPool {
|
|
|
103
93
|
return Math.min(n, 16);
|
|
104
94
|
}
|
|
105
95
|
}
|
|
106
|
-
|
|
107
|
-
// the kernel-scale 2-cpuset envelope: resolution 853s sequential vs
|
|
108
|
-
// 1,150s pooled-6-on-2 (§7a.1), and synthesis is Amdahl-bound by its
|
|
109
|
-
// dominant pass (cFnPtrEdges 306s of 358s) so pooling it bought nothing.
|
|
110
|
-
// ap−1 < 2 ⇒ sequential is the fast path, not a fallback.
|
|
111
|
-
const cpuCap = Math.min(opts.availableParallelism - 1, 6);
|
|
96
|
+
const cpuCap = Math.min(opts.availableParallelism - 1, MAX_RESOLVE_WORKERS);
|
|
112
97
|
const perWorker = Math.min(Math.max(opts.dbSizeBytes * 0.2, 256 * 1024 * 1024), 1.5 * 1024 * 1024 * 1024);
|
|
113
98
|
const memCap = Math.floor((opts.memoryBudget * 0.7) / perWorker);
|
|
114
99
|
const size = Math.min(cpuCap, memCap);
|
|
115
|
-
return size >= 2 ? size : null;
|
|
100
|
+
return size >= 2 ? Math.min(size, Math.max(2, opts.worth ?? size)) : null;
|
|
116
101
|
}
|
|
117
|
-
|
|
118
|
-
* Create a pool when the compiled worker exists (absent when running from
|
|
119
|
-
* source in tests → callers use the sequential path), the kill switch is
|
|
120
|
-
* off, and the machine has the cores AND memory to carry it. Returns null
|
|
121
|
-
* otherwise. `CODEGRAPH_RESOLVE_WORKERS` overrides the computed size
|
|
122
|
-
* (0 disables the pool; values are capped at 16).
|
|
123
|
-
*/
|
|
124
|
-
static tryCreate(dbPath, projectRoot) {
|
|
102
|
+
static tryCreate(dbPath, projectRoot, frameworks, worth) {
|
|
125
103
|
if (process.env.CODEGRAPH_NO_PARALLEL_RESOLVE === '1')
|
|
126
104
|
return null;
|
|
127
105
|
const workerScript = path.join(__dirname, 'resolver-worker.js');
|
|
@@ -131,7 +109,7 @@ class ResolverPool {
|
|
|
131
109
|
try {
|
|
132
110
|
dbSizeBytes = fs.statSync(dbPath).size;
|
|
133
111
|
}
|
|
134
|
-
catch {
|
|
112
|
+
catch { }
|
|
135
113
|
const ap = os.availableParallelism();
|
|
136
114
|
const budget = (0, memory_budget_1.memoryBudgetBytes)();
|
|
137
115
|
const size = ResolverPool.resolvePoolSize({
|
|
@@ -139,31 +117,33 @@ class ResolverPool {
|
|
|
139
117
|
availableParallelism: ap,
|
|
140
118
|
memoryBudget: budget,
|
|
141
119
|
dbSizeBytes,
|
|
120
|
+
worth,
|
|
142
121
|
});
|
|
143
|
-
// Both outcomes log under SYNTH_TIMINGS — a silent null is how §7a.1's
|
|
144
|
-
// diagnostic run hid the memory-term misfire for a whole 25-minute cycle.
|
|
145
122
|
if (process.env.CODEGRAPH_SYNTH_TIMINGS) {
|
|
146
123
|
console.error(`[pool-timing] pool ${size === null ? 'disabled' : `size=${size}`} (ap=${ap} budget=${Math.round(budget / 1024 / 1024)}MB db=${Math.round(dbSizeBytes / 1024 / 1024)}MB)`);
|
|
147
124
|
}
|
|
148
125
|
if (size === null)
|
|
149
126
|
return null;
|
|
150
127
|
try {
|
|
151
|
-
return new ResolverPool(workerScript, dbPath, projectRoot, size);
|
|
128
|
+
return new ResolverPool(workerScript, dbPath, projectRoot, size, frameworks);
|
|
152
129
|
}
|
|
153
130
|
catch {
|
|
154
131
|
return null;
|
|
155
132
|
}
|
|
156
133
|
}
|
|
157
|
-
constructor(workerScript, dbPath, projectRoot, size) {
|
|
134
|
+
constructor(workerScript, dbPath, projectRoot, size, frameworks) {
|
|
158
135
|
for (let i = 0; i < size; i++) {
|
|
159
|
-
const worker = new worker_threads_1.Worker(workerScript);
|
|
136
|
+
const worker = new worker_threads_1.Worker(workerScript, { resourceLimits: { maxYoungGenerationSizeMb: WORKER_YOUNG_GENERATION_MB } });
|
|
137
|
+
const started = (0, worker_teardown_1.workerStarted)(worker);
|
|
160
138
|
let readyResolve;
|
|
161
139
|
let readyReject;
|
|
162
140
|
const ready = new Promise((resolve, reject) => {
|
|
163
141
|
readyResolve = resolve;
|
|
164
142
|
readyReject = reject;
|
|
165
143
|
});
|
|
166
|
-
|
|
144
|
+
ready.catch(() => undefined);
|
|
145
|
+
this.failStarts.push(readyReject);
|
|
146
|
+
const pw = { worker, ready, started, busy: 0 };
|
|
167
147
|
worker.on('message', (msg) => {
|
|
168
148
|
if (msg.type === 'ready') {
|
|
169
149
|
readyResolve();
|
|
@@ -214,45 +194,42 @@ class ResolverPool {
|
|
|
214
194
|
readyReject(this.failed);
|
|
215
195
|
});
|
|
216
196
|
worker.on('exit', (code) => {
|
|
217
|
-
if (code !== 0)
|
|
197
|
+
if (code !== 0)
|
|
218
198
|
this.fail(new Error(`resolver worker exited with code ${code}`));
|
|
219
|
-
|
|
220
|
-
}
|
|
199
|
+
readyReject(this.failed ?? new Error('resolver worker exited before it was ready'));
|
|
221
200
|
});
|
|
222
|
-
worker.postMessage({ type: 'open', dbPath, projectRoot });
|
|
201
|
+
worker.postMessage({ type: 'open', dbPath, projectRoot, frameworks });
|
|
223
202
|
this.workers.push(pw);
|
|
224
203
|
}
|
|
225
204
|
}
|
|
226
205
|
fail(err) {
|
|
227
206
|
if (!this.failed)
|
|
228
207
|
this.failed = err;
|
|
208
|
+
for (const failStart of this.failStarts)
|
|
209
|
+
failStart(this.failed);
|
|
229
210
|
for (const [, waiter] of this.waiters)
|
|
230
211
|
waiter.reject(this.failed);
|
|
231
212
|
this.waiters.clear();
|
|
232
213
|
for (const [, waiter] of this.synthWaiters)
|
|
233
214
|
waiter.reject(this.failed);
|
|
234
215
|
this.synthWaiters.clear();
|
|
235
|
-
// Pending recycles resolve rather than reject: their per-call timeout
|
|
236
|
-
// owns rejection, and the recycle caller checks this.failed next round.
|
|
237
216
|
for (const [, done] of this.recycleWaiters)
|
|
238
217
|
done();
|
|
239
218
|
this.recycleWaiters.clear();
|
|
240
219
|
}
|
|
241
|
-
|
|
220
|
+
shareScans(scans) {
|
|
221
|
+
for (const pw of this.workers)
|
|
222
|
+
pw.worker.postMessage({ type: 'scans', scans });
|
|
223
|
+
}
|
|
242
224
|
get size() {
|
|
243
225
|
return this.workers.length;
|
|
244
226
|
}
|
|
245
|
-
/** Whether this batch is worth fanning out. */
|
|
246
227
|
static worthParallel(batchLength) {
|
|
247
228
|
return batchLength >= MIN_PARALLEL_BATCH;
|
|
248
229
|
}
|
|
249
230
|
async ready() {
|
|
250
231
|
await Promise.all(this.workers.map((w) => w.ready));
|
|
251
232
|
}
|
|
252
|
-
/**
|
|
253
|
-
* Resolve `refs` across the pool. Chunks preserve input order; the returned
|
|
254
|
-
* arrays are the in-order concatenation of the chunk results.
|
|
255
|
-
*/
|
|
256
233
|
async resolveBatch(refs) {
|
|
257
234
|
if (this.failed)
|
|
258
235
|
throw this.failed;
|
|
@@ -260,10 +237,10 @@ class ResolverPool {
|
|
|
260
237
|
for (let i = 0; i < refs.length; i += CHUNK_SIZE) {
|
|
261
238
|
const chunk = refs.slice(i, i + CHUNK_SIZE);
|
|
262
239
|
const id = this.nextId++;
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
240
|
+
const least = this.workers.reduce((a, b) => (b.busy < a.busy ? b : a));
|
|
241
|
+
const holder = this.fileWorkers.get(chunk[0].filePath);
|
|
242
|
+
const pw = holder && holder.busy <= least.busy + 1 ? holder : least;
|
|
243
|
+
this.fileWorkers.set(chunk[chunk.length - 1].filePath, pw);
|
|
267
244
|
pw.busy++;
|
|
268
245
|
chunkPromises.push(new Promise((resolve, reject) => {
|
|
269
246
|
this.waiters.set(id, { resolve, reject });
|
|
@@ -282,12 +259,6 @@ class ResolverPool {
|
|
|
282
259
|
}
|
|
283
260
|
return out;
|
|
284
261
|
}
|
|
285
|
-
/**
|
|
286
|
-
* Run one synthesis pass (by SYNTH_PASSES name) on the least-busy worker.
|
|
287
|
-
* The worker reads the committed graph on its own connection and returns
|
|
288
|
-
* the pass's edge list; the caller merges in canonical order. Rejects on
|
|
289
|
-
* worker failure — the caller retries the pass on the main thread.
|
|
290
|
-
*/
|
|
291
262
|
async runSynthPass(passName) {
|
|
292
263
|
if (this.failed)
|
|
293
264
|
throw this.failed;
|
|
@@ -299,19 +270,6 @@ class ResolverPool {
|
|
|
299
270
|
pw.worker.postMessage({ type: 'synth', id, pass: passName });
|
|
300
271
|
});
|
|
301
272
|
}
|
|
302
|
-
/**
|
|
303
|
-
* Ask every worker to close and reopen its read-only connection, and wait
|
|
304
|
-
* for all acks. MUST be called only at the pool-idle boundary (all fanned
|
|
305
|
-
* chunks settled, next batch not yet dispatched) — the workers close their
|
|
306
|
-
* connections in place. Why: a long-lived reader pins WAL checkpoint
|
|
307
|
-
* progress, and the deep WAL behind it taxes every main-thread B-tree
|
|
308
|
-
* page operation (writes-under-readers, plan §7a.6 — deletes 42.6→118.8s
|
|
309
|
-
* from 0 to 4 attached readers). Releasing the read marks periodically
|
|
310
|
-
* lets the existing checkpoints advance, keeping the WAL shallow WITHOUT
|
|
311
|
-
* the full-park folds an aggressive valve pays (+129s measured at 64MB).
|
|
312
|
-
* A recycle failure fails the pool — the caller's sequential fallback
|
|
313
|
-
* covers the rest of the run.
|
|
314
|
-
*/
|
|
315
273
|
async recycleWorkers() {
|
|
316
274
|
if (this.failed)
|
|
317
275
|
throw this.failed;
|
|
@@ -331,11 +289,11 @@ class ResolverPool {
|
|
|
331
289
|
pw.worker.postMessage({ type: 'recycle', id });
|
|
332
290
|
})));
|
|
333
291
|
}
|
|
334
|
-
async destroy() {
|
|
292
|
+
async destroy(closeTimeoutMs = CLOSE_TIMEOUT_MS) {
|
|
335
293
|
await Promise.all(this.workers.map((pw) => new Promise((resolve) => {
|
|
336
294
|
const t = setTimeout(() => {
|
|
337
|
-
void pw.worker.
|
|
338
|
-
},
|
|
295
|
+
void (0, worker_teardown_1.terminateOnceStarted)(pw.worker, pw.started).then(() => resolve());
|
|
296
|
+
}, closeTimeoutMs);
|
|
339
297
|
pw.worker.once('exit', () => {
|
|
340
298
|
clearTimeout(t);
|
|
341
299
|
resolve();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolver-pool.js","sourceRoot":"","sources":["../../src/resolution/resolver-pool.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CH,wCAOC;AA/CD,mDAAwC;AACxC,uCAAyB;AACzB,2CAA6B;AAC7B,uCAAyB;AAGzB,mDAAoD;AAsBpD,MAAM,kBAAkB,GAAG,IAAI,CAAC;AAChC,MAAM,UAAU,GAAG,GAAG,CAAC;AAEvB;;;;;;;;GAQG;AACH,SAAgB,cAAc;IAC5B,MAAM,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,8BAA8B,CAAC;IACvD,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;QACtB,MAAM,MAAM,GAAG,MAAM,CAAC,QAAQ,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC;QACxC,IAAI,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,MAAM,IAAI,CAAC;YAAE,OAAO,MAAM,CAAC;IAC5D,CAAC;IACD,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,MAAa,YAAY;IAC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