scip-query 0.4.3 → 0.6.0

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.
Files changed (199) hide show
  1. package/dist/chunk-2DSS2NGF.js +10 -0
  2. package/dist/chunk-2RLP74AO.js +2 -0
  3. package/dist/chunk-4QJ7LVW5.js +2 -0
  4. package/dist/chunk-4TYGGOLO.js +5 -0
  5. package/dist/chunk-5IADAU5B.js +7 -0
  6. package/dist/chunk-7754WFFV.js +18 -0
  7. package/dist/chunk-7VOF4ZG6.js +2 -0
  8. package/dist/chunk-7Z4COVMC.js +2 -0
  9. package/dist/chunk-AJ5PWKD4.js +2 -0
  10. package/dist/chunk-BDBRZPX3.js +7 -0
  11. package/dist/chunk-BE6EQIWY.js +2 -0
  12. package/dist/chunk-BQ3INTYT.js +8 -0
  13. package/dist/chunk-D7KLLMPB.js +2 -0
  14. package/dist/chunk-D7YBWSON.js +29 -0
  15. package/dist/chunk-DE5ZBHMK.js +39 -0
  16. package/dist/chunk-DHYIJHXZ.js +33 -0
  17. package/dist/chunk-EEF3YEHW.js +2 -0
  18. package/dist/chunk-F2LLHRRZ.js +2 -0
  19. package/dist/chunk-FCC3XJTI.js +2 -0
  20. package/dist/chunk-GNXRLK5G.js +2 -0
  21. package/dist/chunk-GXVB36TG.js +62 -0
  22. package/dist/chunk-HMKJTAZD.js +2 -0
  23. package/dist/chunk-IBGBI3VU.js +2 -0
  24. package/dist/chunk-IYFZS4PV.js +84 -0
  25. package/dist/chunk-JH3A7HTU.js +2 -0
  26. package/dist/chunk-JS2RNIC7.js +2 -0
  27. package/dist/chunk-K5FQFCSN.js +41 -0
  28. package/dist/chunk-K6GBKEQE.js +6 -0
  29. package/dist/chunk-KO7YJRWP.js +12 -0
  30. package/dist/chunk-KYT47WU2.js +4 -0
  31. package/dist/chunk-LORWXBOO.js +2 -0
  32. package/dist/chunk-LX4H4LLG.js +89 -0
  33. package/dist/chunk-N3Z2SJCR.js +2 -0
  34. package/dist/chunk-NTDA4A2D.js +25 -0
  35. package/dist/chunk-NXMYYHDO.js +24 -0
  36. package/dist/chunk-PZ6ESKRH.js +7 -0
  37. package/dist/chunk-QXE6EDY2.js +6 -0
  38. package/dist/chunk-RJ7SPBJ5.js +5 -0
  39. package/dist/chunk-RWE6FHG3.js +3 -0
  40. package/dist/chunk-SDX6MDBL.js +2 -0
  41. package/dist/chunk-SG35Y7J2.js +2 -0
  42. package/dist/chunk-STOGKRJH.js +4 -0
  43. package/dist/chunk-TINPMWJK.js +2 -0
  44. package/dist/chunk-UJB62HV3.js +2 -0
  45. package/dist/chunk-VEUMRDHW.js +2 -0
  46. package/dist/chunk-WCDXJGYT.js +65 -0
  47. package/dist/chunk-WTSTDJZ7.js +6 -0
  48. package/dist/chunk-XAZTIDST.js +2 -0
  49. package/dist/chunk-XVDASCN7.js +35 -0
  50. package/dist/chunk-Y7H6D2EV.js +2 -0
  51. package/dist/chunk-Y7LOQSWY.js +2 -0
  52. package/dist/chunk-YIPCV7M7.js +70 -0
  53. package/dist/chunk-ZSRXMNMK.js +5 -0
  54. package/dist/chunk-ZXKURFVB.js +56 -0
  55. package/dist/cli.js +509 -8938
  56. package/dist/{db-6F9R9e_t.d.ts → db-BSTtBG_H.d.ts} +146 -1
  57. package/dist/index.d.ts +11 -2
  58. package/dist/index.js +13 -1616
  59. package/dist/postinstall.js +4 -100
  60. package/dist/queries/affected.d.ts +1 -1
  61. package/dist/queries/affected.js +1 -8
  62. package/dist/queries/bottlenecks.d.ts +1 -1
  63. package/dist/queries/bottlenecks.js +1 -8
  64. package/dist/queries/by-kind.d.ts +1 -4
  65. package/dist/queries/by-kind.js +1 -10
  66. package/dist/queries/call-graph.d.ts +1 -1
  67. package/dist/queries/call-graph.js +1 -8
  68. package/dist/queries/change-surface.d.ts +4 -1
  69. package/dist/queries/change-surface.js +1 -8
  70. package/dist/queries/code.d.ts +1 -1
  71. package/dist/queries/code.js +1 -8
  72. package/dist/queries/complexity-hotspots.d.ts +5 -3
  73. package/dist/queries/complexity-hotspots.js +1 -8
  74. package/dist/queries/complexity.d.ts +1 -1
  75. package/dist/queries/complexity.js +1 -8
  76. package/dist/queries/convergence.d.ts +1 -1
  77. package/dist/queries/convergence.js +1 -8
  78. package/dist/queries/coupling.d.ts +1 -1
  79. package/dist/queries/coupling.js +1 -10
  80. package/dist/queries/cycles.d.ts +1 -1
  81. package/dist/queries/cycles.js +1 -8
  82. package/dist/queries/dataflow.d.ts +1 -1
  83. package/dist/queries/dataflow.js +1 -8
  84. package/dist/queries/dead.d.ts +1 -1
  85. package/dist/queries/dead.js +1 -9
  86. package/dist/queries/deep-chains.d.ts +9 -1
  87. package/dist/queries/deep-chains.js +1 -8
  88. package/dist/queries/deps.d.ts +1 -1
  89. package/dist/queries/deps.js +1 -10
  90. package/dist/queries/diff-impact.d.ts +1 -1
  91. package/dist/queries/diff-impact.js +1 -7
  92. package/dist/queries/drift.d.ts +1 -1
  93. package/dist/queries/drift.js +1 -8
  94. package/dist/queries/extract-candidates.d.ts +1 -1
  95. package/dist/queries/extract-candidates.js +1 -8
  96. package/dist/queries/fan.d.ts +1 -1
  97. package/dist/queries/fan.js +1 -14
  98. package/dist/queries/files.d.ts +1 -1
  99. package/dist/queries/files.js +1 -6
  100. package/dist/queries/health.d.ts +1 -1
  101. package/dist/queries/health.js +1 -20
  102. package/dist/queries/hierarchy.d.ts +1 -1
  103. package/dist/queries/hierarchy.js +1 -8
  104. package/dist/queries/hotspots.d.ts +1 -1
  105. package/dist/queries/hotspots.js +1 -8
  106. package/dist/queries/imports.d.ts +1 -1
  107. package/dist/queries/imports.js +1 -12
  108. package/dist/queries/index.d.ts +1 -1
  109. package/dist/queries/index.js +1 -197
  110. package/dist/queries/isolated.d.ts +1 -1
  111. package/dist/queries/isolated.js +1 -9
  112. package/dist/queries/members.d.ts +4 -1
  113. package/dist/queries/members.js +1 -8
  114. package/dist/queries/methods.d.ts +1 -1
  115. package/dist/queries/methods.js +1 -8
  116. package/dist/queries/outline.d.ts +4 -1
  117. package/dist/queries/outline.js +1 -8
  118. package/dist/queries/passthrough-candidates.d.ts +1 -1
  119. package/dist/queries/passthrough-candidates.js +1 -8
  120. package/dist/queries/redundant-reexports.d.ts +1 -1
  121. package/dist/queries/redundant-reexports.js +1 -9
  122. package/dist/queries/refs.d.ts +1 -1
  123. package/dist/queries/refs.js +1 -8
  124. package/dist/queries/similar-chains.d.ts +1 -1
  125. package/dist/queries/similar-chains.js +1 -8
  126. package/dist/queries/similar-files.d.ts +1 -1
  127. package/dist/queries/similar-files.js +1 -8
  128. package/dist/queries/similar-signatures.d.ts +1 -1
  129. package/dist/queries/similar-signatures.js +1 -8
  130. package/dist/queries/similar.d.ts +1 -1
  131. package/dist/queries/similar.js +1 -10
  132. package/dist/queries/slice.d.ts +1 -1
  133. package/dist/queries/slice.js +1 -8
  134. package/dist/queries/stale-abstractions.d.ts +15 -5
  135. package/dist/queries/stale-abstractions.js +1 -8
  136. package/dist/queries/stats.d.ts +1 -1
  137. package/dist/queries/stats.js +1 -6
  138. package/dist/queries/surface.d.ts +1 -1
  139. package/dist/queries/surface.js +1 -8
  140. package/dist/queries/symbols.d.ts +1 -1
  141. package/dist/queries/symbols.js +1 -9
  142. package/dist/queries/system.d.ts +6 -2
  143. package/dist/queries/system.js +1 -9
  144. package/dist/queries/trace.d.ts +1 -1
  145. package/dist/queries/trace.js +1 -9
  146. package/dist/queries/wrapper-candidates.d.ts +1 -1
  147. package/dist/queries/wrapper-candidates.js +1 -8
  148. package/dist/reindex-worker.js +7 -672
  149. package/package.json +20 -2
  150. package/dist/chunk-334PCFO3.js +0 -221
  151. package/dist/chunk-46ZTW4AI.js +0 -61
  152. package/dist/chunk-4TYLS5XX.js +0 -10
  153. package/dist/chunk-4YN3PE57.js +0 -124
  154. package/dist/chunk-5YB6UXQ3.js +0 -101
  155. package/dist/chunk-6PVHJ332.js +0 -44
  156. package/dist/chunk-74RFWB5T.js +0 -24
  157. package/dist/chunk-7KGTWDAX.js +0 -87
  158. package/dist/chunk-7OGXSMLY.js +0 -105
  159. package/dist/chunk-AEBM56CO.js +0 -69
  160. package/dist/chunk-B747RITP.js +0 -38
  161. package/dist/chunk-B7LDMCUS.js +0 -110
  162. package/dist/chunk-C2VSV54P.js +0 -110
  163. package/dist/chunk-DIYEUFVP.js +0 -81
  164. package/dist/chunk-E74RY6AQ.js +0 -93
  165. package/dist/chunk-FIMTTUGE.js +0 -165
  166. package/dist/chunk-FMAYH7GS.js +0 -2542
  167. package/dist/chunk-FO2CBB7U.js +0 -23
  168. package/dist/chunk-HESWGDIV.js +0 -162
  169. package/dist/chunk-HL2LXSBW.js +0 -34
  170. package/dist/chunk-HW76DVE4.js +0 -216
  171. package/dist/chunk-IC5NTO47.js +0 -53
  172. package/dist/chunk-J34HAAEQ.js +0 -59
  173. package/dist/chunk-JSXGC2EH.js +0 -151
  174. package/dist/chunk-LQXBFCP2.js +0 -87
  175. package/dist/chunk-NML6M5AS.js +0 -37
  176. package/dist/chunk-NNFP4ZRF.js +0 -72
  177. package/dist/chunk-NWXTQGUE.js +0 -49
  178. package/dist/chunk-NYZ6INK3.js +0 -95
  179. package/dist/chunk-OMVF3BHY.js +0 -84
  180. package/dist/chunk-P3VCDYMJ.js +0 -269
  181. package/dist/chunk-PGQXIAJF.js +0 -79
  182. package/dist/chunk-PKDFXASW.js +0 -76
  183. package/dist/chunk-PSK5BPFE.js +0 -82
  184. package/dist/chunk-QZ4FRB65.js +0 -341
  185. package/dist/chunk-R2QBMQQN.js +0 -185
  186. package/dist/chunk-T3ALCNCP.js +0 -113
  187. package/dist/chunk-T6UVM534.js +0 -213
  188. package/dist/chunk-U74VYTLX.js +0 -46
  189. package/dist/chunk-UIRCHPOU.js +0 -34
  190. package/dist/chunk-UNS6ZQVX.js +0 -71
  191. package/dist/chunk-VJMTX3OR.js +0 -115
  192. package/dist/chunk-XJSPWHNT.js +0 -64
  193. package/dist/chunk-XMZAC2VU.js +0 -84
  194. package/dist/chunk-Y7FKURZG.js +0 -130
  195. package/dist/chunk-YMSJCSRG.js +0 -213
  196. package/dist/chunk-YQIWS5V6.js +0 -172
  197. package/dist/chunk-ZPEI7DRJ.js +0 -66
  198. package/dist/queries/clean-signature.d.ts +0 -9
  199. package/dist/queries/clean-signature.js +0 -7
@@ -16,6 +16,111 @@ interface PathFilter {
16
16
  filter: (paths: string[]) => string[];
17
17
  }
18
18
 
19
+ /**
20
+ * A symbol's location in the SCIP index. The minimum data needed to
21
+ * identify a definition: which document it lives in, which lines it
22
+ * spans, and the global symbol id. Used as a lightweight handle when
23
+ * the caller doesn't need the symbol's textual name or path.
24
+ */
25
+ interface SymbolLocation {
26
+ documentId: number;
27
+ startLine: number;
28
+ endLine: number;
29
+ symbolId: number;
30
+ }
31
+ /**
32
+ * A SymbolLocation plus the human-readable bits: the SCIP symbol string
33
+ * and the document's relative path. Returned by lookup helpers like
34
+ * `findFirstSymbolMatch` so callers don't have to round-trip through the
35
+ * documents table to get a path or symbol name.
36
+ */
37
+ interface SymbolMatch extends SymbolLocation {
38
+ symbol: string;
39
+ relativePath: string;
40
+ }
41
+ /**
42
+ * Reference-site of a symbol — where (file + line) the symbol is used,
43
+ * and the smallest enclosing definition at that line (for credit
44
+ * attribution in reverse-index views).
45
+ */
46
+ interface ReferenceSite {
47
+ file: string;
48
+ line: number;
49
+ enclosingSymbol: string | null;
50
+ }
51
+ /**
52
+ * A full definition record: SymbolMatch plus per-symbol metadata
53
+ * (leaf name, parent type, kind, documentation, enclosing symbol).
54
+ * Used by the catalog APIs (`getDefinitionsForFile`, `getAllDefinitions`,
55
+ * `getScopedDefinitions`) so consumers don't have to re-derive any of
56
+ * these per-record.
57
+ */
58
+ interface IndexedDefinition extends SymbolMatch {
59
+ leaf: string;
60
+ parentTypeName: string | null;
61
+ isFunctionLike: boolean;
62
+ isTypeLike: boolean;
63
+ kind: number | null;
64
+ documentation: string | null;
65
+ enclosingSymbol: string | null;
66
+ }
67
+ /**
68
+ * Internal scoring shape used by `path-resolver` to rank document path
69
+ * candidates against a user-supplied file pattern. Not part of any
70
+ * public CLI interface.
71
+ */
72
+ interface DocumentPathCandidate {
73
+ relativePath: string;
74
+ score: number;
75
+ }
76
+ /**
77
+ * A single import binding parsed out of a source file. Captures both the
78
+ * lexical shape (kind, names, source path) and a usage flag computed from
79
+ * the source's body — `used` is `true` when the imported binding's local
80
+ * name appears anywhere in the file outside the import statement itself.
81
+ *
82
+ * Producers: each per-language parser in `src/language-parsers/*.ts`.
83
+ * Consumers: import-graph queries (`imports`, `drift`, `redundant-reexports`),
84
+ * unused-imports queries, and the import-attribution path inside
85
+ * `identifier-attribution.ts`.
86
+ */
87
+ interface ParsedSourceImport {
88
+ importedName: string;
89
+ localName: string | null;
90
+ sourcePath: string | null;
91
+ kind: 'named' | 'default' | 'namespace' | 'side-effect';
92
+ used: boolean;
93
+ usedMembers: string[];
94
+ }
95
+ /**
96
+ * A single export-from binding parsed out of a source file. Used by the
97
+ * languages that have an explicit re-export construct (Rust `pub use`,
98
+ * Dart `export`) to surface what a barrel module re-shapes.
99
+ */
100
+ interface ParsedSourceExport {
101
+ sourcePath: string | null;
102
+ specifier: string;
103
+ }
104
+ /**
105
+ * A re-export statement in a JavaScript/TypeScript source file — one of:
106
+ * export { X [as Y] } from './path'
107
+ * export type { X } from './path'
108
+ * export * from './path'
109
+ * export * as Ns from './path'
110
+ *
111
+ * The `sourcePath` is the resolved, project-relative path to the re-exported
112
+ * module (same convention as ParsedSourceImport.sourcePath).
113
+ */
114
+ interface ParsedReExport {
115
+ kind: 'named' | 'star' | 'star-as';
116
+ sourcePath: string | null;
117
+ /** For 'named': the list of re-exported identifiers as they appear in THIS file. */
118
+ names: string[];
119
+ /** Start line in the source (0-indexed) — inclusive. */
120
+ startLine: number;
121
+ /** End line in the source (0-indexed) — inclusive. */
122
+ endLine: number;
123
+ }
19
124
  /** Parsed components of a SCIP symbol string */
20
125
  interface ScipSymbol {
21
126
  /** The indexer scheme (e.g. "scip-typescript", "scip-java", "rust-analyzer") */
@@ -161,6 +266,15 @@ interface CouplingResult {
161
266
  interface CycleResult {
162
267
  /** Files forming a cycle, in order */
163
268
  path: string[];
269
+ /**
270
+ * Classification of the cycle:
271
+ * - 'real': architectural cycle worth fixing
272
+ * - 'module-hierarchy': barrel-file pattern (mod.rs / index.ts /
273
+ * __init__.py declaring children that re-import
274
+ * parent re-exports). Standard module structure,
275
+ * not actionable.
276
+ */
277
+ kind: 'real' | 'module-hierarchy';
164
278
  }
165
279
  interface BottleneckResult {
166
280
  symbol: string;
@@ -258,7 +372,31 @@ interface StaleAbstraction {
258
372
  startLine: number;
259
373
  endLine: number;
260
374
  loc: number;
375
+ /**
376
+ * Cross-file consumers NOT counting files that only re-export the symbol
377
+ * through a barrel (`export { X } from '...'`). Barrel files expand the
378
+ * public surface; they aren't real consumers.
379
+ */
261
380
  consumers: number;
381
+ /** Number of files whose only reference is a passthrough re-export. */
382
+ barrelConsumers: number;
383
+ /** What the definition is syntactically — detected from source at the definition line. */
384
+ kind: 'class' | 'interface' | 'type' | 'enum' | 'other';
385
+ /**
386
+ * Does the defining file itself reference the type outside its own declaration?
387
+ * `false` is the strongest stale signal — the type lives in a file that never
388
+ * uses it (misplaced types file), while another file is its only consumer.
389
+ */
390
+ definerUsesType: boolean;
391
+ /**
392
+ * Ranked confidence in the "stale" verdict:
393
+ * 'high' — consumers === 0, OR consumers === 1 && !definerUsesType && kind !== 'class'.
394
+ * 'medium' — consumers <= 1 with one of the signals pointing weakly stale.
395
+ * 'low' — consumers === 1 but kind === 'class' (likely encapsulation, not over-abstraction).
396
+ */
397
+ confidence: 'high' | 'medium' | 'low';
398
+ /** Short human-readable explanation of why this was flagged. */
399
+ reason: string;
262
400
  }
263
401
  interface ComplexityHotspot {
264
402
  symbol: string;
@@ -536,6 +674,13 @@ interface IndexerConfig {
536
674
  installMethods?: InstallMethod[];
537
675
  /** URL for manual installation if auto-install fails */
538
676
  installUrl?: string;
677
+ /**
678
+ * npm package bundled with scip-query as an optionalDependency. When this
679
+ * package resolves locally (i.e. it installed successfully), the indexer is
680
+ * considered available even if its binary isn't on PATH — `npx <binary>`
681
+ * will pick up the local install.
682
+ */
683
+ bundledNpmPackage?: string;
539
684
  }
540
685
  interface ScipQueryConfig {
541
686
  /** Path to the SQLite database (index.db) */
@@ -662,4 +807,4 @@ declare class ScipDatabase {
662
807
  close(): void;
663
808
  }
664
809
 
665
- export { type DeadSymbolResult as $, type AffectedResult as A, type BottleneckResult as B, type CallGraphResult as C, type DataflowResult as D, type ExtractCandidate as E, type FanResult as F, type StaleAbstraction as G, type HealthReport as H, type ImportResult as I, type SliceResult as J, type RedundantReexport as K, type SimilarSignatureGroup as L, type MemberResult as M, type ScipSymbol as N, type OutlineNode as O, type PassthroughCandidate as P, type ScipLocalSymbol as Q, type RefResult as R, ScipDatabase as S, type TraceResult as T, type UnusedImportResult as U, type SupportedLanguage as V, type WrapperCandidate as W, type IndexerConfig as X, type ProjectConfig as Y, type WatcherStatus as Z, type ChangeSurfaceEntry as _, type ByKindResult as a, type DescriptorSuffix as a0, type DriftResult as a1, type HealthAction as a2, type IndexerOverrides as a3, type InstallMethod as a4, type ScipDescriptor as a5, type ScipQueryConfig as a6, type WatchConfig as a7, createGitignoreFilter as a8, type ChangeSurfaceResult as b, type CodeResult as c, type ComplexityHotspot as d, type ComplexityResult as e, type ConvergenceResult as f, type CouplingResult as g, type CycleResult as h, type DeadOptions as i, type DeadSummary as j, type DeepChainResult as k, type DepResult as l, type DiffImpactResult as m, type DriftSummary as n, type FileResult as o, type HierarchyNode as p, type HotspotResult as q, type IsolatedResult as r, type MethodResult as s, type StatsResult as t, type SymbolResult as u, type SystemResult as v, type SurfaceResult as w, type SimilarSymbolResult as x, type SimilarFileResult as y, type SimilarChainResult as z };
810
+ export { type DeadSymbolResult as $, type AffectedResult as A, type BottleneckResult as B, type CallGraphResult as C, type DataflowResult as D, type ExtractCandidate as E, type FanResult as F, type SimilarChainResult as G, type HealthReport as H, type ImportResult as I, type StaleAbstraction as J, type SliceResult as K, type SimilarSignatureGroup as L, type MemberResult as M, type ScipSymbol as N, type OutlineNode as O, type PassthroughCandidate as P, type ScipLocalSymbol as Q, type RedundantReexport as R, ScipDatabase as S, type TraceResult as T, type UnusedImportResult as U, type SupportedLanguage as V, type WrapperCandidate as W, type IndexerConfig as X, type ProjectConfig as Y, type WatcherStatus as Z, type ChangeSurfaceEntry as _, type ByKindResult as a, type DescriptorSuffix as a0, type DocumentPathCandidate as a1, type DriftResult as a2, type HealthAction as a3, type IndexedDefinition as a4, type IndexerOverrides as a5, type InstallMethod as a6, type ParsedReExport as a7, type ParsedSourceExport as a8, type ParsedSourceImport as a9, type ReferenceSite as aa, type ScipDescriptor as ab, type ScipQueryConfig as ac, type SymbolLocation as ad, type SymbolMatch as ae, type WatchConfig as af, createGitignoreFilter as ag, type ChangeSurfaceResult as b, type CodeResult as c, type ComplexityHotspot as d, type ComplexityResult as e, type ConvergenceResult as f, type CouplingResult as g, type CycleResult as h, type DeadOptions as i, type DeadSummary as j, type DeepChainResult as k, type DepResult as l, type DiffImpactResult as m, type DriftSummary as n, type FileResult as o, type HierarchyNode as p, type HotspotResult as q, type IsolatedResult as r, type MethodResult as s, type StatsResult as t, type SymbolResult as u, type RefResult as v, type SystemResult as w, type SurfaceResult as x, type SimilarSymbolResult as y, type SimilarFileResult as z };
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { N as ScipSymbol, Q as ScipLocalSymbol, V as SupportedLanguage, X as IndexerConfig, Y as ProjectConfig, Z as WatcherStatus } from './db-6F9R9e_t.js';
2
- export { A as AffectedResult, B as BottleneckResult, a as ByKindResult, C as CallGraphResult, _ as ChangeSurfaceEntry, b as ChangeSurfaceResult, c as CodeResult, d as ComplexityHotspot, e as ComplexityResult, f as ConvergenceResult, g as CouplingResult, h as CycleResult, D as DataflowResult, i as DeadOptions, j as DeadSummary, $ as DeadSymbolResult, k as DeepChainResult, l as DepResult, a0 as DescriptorSuffix, m as DiffImpactResult, a1 as DriftResult, n as DriftSummary, E as ExtractCandidate, F as FanResult, o as FileResult, a2 as HealthAction, H as HealthReport, p as HierarchyNode, q as HotspotResult, I as ImportResult, a3 as IndexerOverrides, a4 as InstallMethod, r as IsolatedResult, M as MemberResult, s as MethodResult, O as OutlineNode, P as PassthroughCandidate, K as RedundantReexport, R as RefResult, S as ScipDatabase, a5 as ScipDescriptor, a6 as ScipQueryConfig, z as SimilarChainResult, y as SimilarFileResult, L as SimilarSignatureGroup, x as SimilarSymbolResult, J as SliceResult, G as StaleAbstraction, t as StatsResult, w as SurfaceResult, u as SymbolResult, v as SystemResult, T as TraceResult, U as UnusedImportResult, a7 as WatchConfig, W as WrapperCandidate, a8 as createGitignoreFilter } from './db-6F9R9e_t.js';
1
+ import { N as ScipSymbol, Q as ScipLocalSymbol, V as SupportedLanguage, X as IndexerConfig, Y as ProjectConfig, Z as WatcherStatus } from './db-BSTtBG_H.js';
2
+ export { A as AffectedResult, B as BottleneckResult, a as ByKindResult, C as CallGraphResult, _ as ChangeSurfaceEntry, b as ChangeSurfaceResult, c as CodeResult, d as ComplexityHotspot, e as ComplexityResult, f as ConvergenceResult, g as CouplingResult, h as CycleResult, D as DataflowResult, i as DeadOptions, j as DeadSummary, $ as DeadSymbolResult, k as DeepChainResult, l as DepResult, a0 as DescriptorSuffix, m as DiffImpactResult, a1 as DocumentPathCandidate, a2 as DriftResult, n as DriftSummary, E as ExtractCandidate, F as FanResult, o as FileResult, a3 as HealthAction, H as HealthReport, p as HierarchyNode, q as HotspotResult, I as ImportResult, a4 as IndexedDefinition, a5 as IndexerOverrides, a6 as InstallMethod, r as IsolatedResult, M as MemberResult, s as MethodResult, O as OutlineNode, a7 as ParsedReExport, a8 as ParsedSourceExport, a9 as ParsedSourceImport, P as PassthroughCandidate, R as RedundantReexport, v as RefResult, aa as ReferenceSite, S as ScipDatabase, ab as ScipDescriptor, ac as ScipQueryConfig, G as SimilarChainResult, z as SimilarFileResult, L as SimilarSignatureGroup, y as SimilarSymbolResult, K as SliceResult, J as StaleAbstraction, t as StatsResult, x as SurfaceResult, ad as SymbolLocation, ae as SymbolMatch, u as SymbolResult, w as SystemResult, T as TraceResult, U as UnusedImportResult, af as WatchConfig, W as WrapperCandidate, ag as createGitignoreFilter } from './db-BSTtBG_H.js';
3
3
  export { stats } from './queries/stats.js';
4
4
  export { files } from './queries/files.js';
5
5
  export { symbols } from './queries/symbols.js';
@@ -157,10 +157,19 @@ interface ReindexOptions {
157
157
  skipAutoInstall?: boolean;
158
158
  }
159
159
  interface ReindexResult {
160
+ /** Languages that were successfully indexed. */
160
161
  languages: SupportedLanguage[];
161
162
  indexPath: string;
162
163
  dbPath: string;
163
164
  durationMs: number;
165
+ /**
166
+ * Languages detected in the project but skipped because their indexer
167
+ * could not be located, installed, or run. Each entry includes the reason.
168
+ */
169
+ skipped: {
170
+ language: SupportedLanguage;
171
+ reason: string;
172
+ }[];
164
173
  }
165
174
  /**
166
175
  * Reindex a project: detect languages, run the appropriate SCIP indexer(s),