scip-query 0.5.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -7
- package/dist/chunk-2DSS2NGF.js +10 -0
- package/dist/chunk-2RLP74AO.js +2 -0
- package/dist/chunk-4QJ7LVW5.js +2 -0
- package/dist/chunk-4TYGGOLO.js +5 -0
- package/dist/chunk-5IADAU5B.js +7 -0
- package/dist/chunk-7754WFFV.js +18 -0
- package/dist/chunk-7VOF4ZG6.js +2 -0
- package/dist/chunk-7Z4COVMC.js +2 -0
- package/dist/chunk-AJ5PWKD4.js +2 -0
- package/dist/chunk-BDBRZPX3.js +7 -0
- package/dist/chunk-BE6EQIWY.js +2 -0
- package/dist/chunk-BQ3INTYT.js +8 -0
- package/dist/chunk-D7KLLMPB.js +2 -0
- package/dist/chunk-D7YBWSON.js +29 -0
- package/dist/chunk-DE5ZBHMK.js +39 -0
- package/dist/chunk-DHYIJHXZ.js +33 -0
- package/dist/chunk-EEF3YEHW.js +2 -0
- package/dist/chunk-F2LLHRRZ.js +2 -0
- package/dist/chunk-FCC3XJTI.js +2 -0
- package/dist/chunk-GNXRLK5G.js +2 -0
- package/dist/chunk-GXVB36TG.js +62 -0
- package/dist/chunk-HMKJTAZD.js +2 -0
- package/dist/chunk-IBGBI3VU.js +2 -0
- package/dist/chunk-IYFZS4PV.js +84 -0
- package/dist/chunk-JH3A7HTU.js +2 -0
- package/dist/chunk-JS2RNIC7.js +2 -0
- package/dist/chunk-K5FQFCSN.js +41 -0
- package/dist/chunk-K6GBKEQE.js +6 -0
- package/dist/chunk-KO7YJRWP.js +12 -0
- package/dist/chunk-KYT47WU2.js +4 -0
- package/dist/chunk-LORWXBOO.js +2 -0
- package/dist/chunk-LX4H4LLG.js +89 -0
- package/dist/chunk-N3Z2SJCR.js +2 -0
- package/dist/chunk-NTDA4A2D.js +25 -0
- package/dist/chunk-NXMYYHDO.js +24 -0
- package/dist/chunk-PZ6ESKRH.js +7 -0
- package/dist/chunk-QXE6EDY2.js +6 -0
- package/dist/chunk-RJ7SPBJ5.js +5 -0
- package/dist/chunk-RWE6FHG3.js +3 -0
- package/dist/chunk-SDX6MDBL.js +2 -0
- package/dist/chunk-SG35Y7J2.js +2 -0
- package/dist/chunk-STOGKRJH.js +4 -0
- package/dist/chunk-TINPMWJK.js +2 -0
- package/dist/chunk-UJB62HV3.js +2 -0
- package/dist/chunk-VEUMRDHW.js +2 -0
- package/dist/chunk-WCDXJGYT.js +65 -0
- package/dist/chunk-WTSTDJZ7.js +6 -0
- package/dist/chunk-XAZTIDST.js +2 -0
- package/dist/chunk-XVDASCN7.js +35 -0
- package/dist/chunk-Y7H6D2EV.js +2 -0
- package/dist/chunk-Y7LOQSWY.js +2 -0
- package/dist/chunk-YIPCV7M7.js +70 -0
- package/dist/chunk-ZSRXMNMK.js +5 -0
- package/dist/chunk-ZXKURFVB.js +56 -0
- package/dist/cli.js +509 -8758
- package/dist/{db-6F9R9e_t.d.ts → db-BSTtBG_H.d.ts} +146 -1
- package/dist/index.d.ts +11 -2
- package/dist/index.js +13 -1616
- package/dist/postinstall.js +4 -100
- package/dist/queries/affected.d.ts +1 -1
- package/dist/queries/affected.js +1 -8
- package/dist/queries/bottlenecks.d.ts +1 -1
- package/dist/queries/bottlenecks.js +1 -8
- package/dist/queries/by-kind.d.ts +1 -4
- package/dist/queries/by-kind.js +1 -10
- package/dist/queries/call-graph.d.ts +1 -1
- package/dist/queries/call-graph.js +1 -8
- package/dist/queries/change-surface.d.ts +1 -1
- package/dist/queries/change-surface.js +1 -8
- package/dist/queries/code.d.ts +1 -1
- package/dist/queries/code.js +1 -8
- package/dist/queries/complexity-hotspots.d.ts +5 -10
- package/dist/queries/complexity-hotspots.js +1 -8
- package/dist/queries/complexity.d.ts +1 -1
- package/dist/queries/complexity.js +1 -8
- package/dist/queries/convergence.d.ts +1 -1
- package/dist/queries/convergence.js +1 -8
- package/dist/queries/coupling.d.ts +1 -1
- package/dist/queries/coupling.js +1 -10
- package/dist/queries/cycles.d.ts +1 -1
- package/dist/queries/cycles.js +1 -8
- package/dist/queries/dataflow.d.ts +1 -1
- package/dist/queries/dataflow.js +1 -8
- package/dist/queries/dead.d.ts +1 -1
- package/dist/queries/dead.js +1 -9
- package/dist/queries/deep-chains.d.ts +9 -1
- package/dist/queries/deep-chains.js +1 -8
- package/dist/queries/deps.d.ts +1 -1
- package/dist/queries/deps.js +1 -10
- package/dist/queries/diff-impact.d.ts +1 -1
- package/dist/queries/diff-impact.js +1 -7
- package/dist/queries/drift.d.ts +1 -1
- package/dist/queries/drift.js +1 -8
- package/dist/queries/extract-candidates.d.ts +1 -1
- package/dist/queries/extract-candidates.js +1 -8
- package/dist/queries/fan.d.ts +1 -1
- package/dist/queries/fan.js +1 -14
- package/dist/queries/files.d.ts +1 -1
- package/dist/queries/files.js +1 -6
- package/dist/queries/health.d.ts +1 -1
- package/dist/queries/health.js +1 -20
- package/dist/queries/hierarchy.d.ts +1 -1
- package/dist/queries/hierarchy.js +1 -8
- package/dist/queries/hotspots.d.ts +1 -1
- package/dist/queries/hotspots.js +1 -8
- package/dist/queries/imports.d.ts +1 -1
- package/dist/queries/imports.js +1 -12
- package/dist/queries/index.d.ts +1 -1
- package/dist/queries/index.js +1 -197
- package/dist/queries/isolated.d.ts +1 -1
- package/dist/queries/isolated.js +1 -9
- package/dist/queries/members.d.ts +1 -1
- package/dist/queries/members.js +1 -8
- package/dist/queries/methods.d.ts +1 -1
- package/dist/queries/methods.js +1 -8
- package/dist/queries/outline.d.ts +1 -1
- package/dist/queries/outline.js +1 -8
- package/dist/queries/passthrough-candidates.d.ts +1 -1
- package/dist/queries/passthrough-candidates.js +1 -8
- package/dist/queries/redundant-reexports.d.ts +1 -1
- package/dist/queries/redundant-reexports.js +1 -9
- package/dist/queries/refs.d.ts +1 -1
- package/dist/queries/refs.js +1 -8
- package/dist/queries/similar-chains.d.ts +1 -1
- package/dist/queries/similar-chains.js +1 -8
- package/dist/queries/similar-files.d.ts +1 -1
- package/dist/queries/similar-files.js +1 -8
- package/dist/queries/similar-signatures.d.ts +1 -1
- package/dist/queries/similar-signatures.js +1 -8
- package/dist/queries/similar.d.ts +1 -1
- package/dist/queries/similar.js +1 -10
- package/dist/queries/slice.d.ts +1 -1
- package/dist/queries/slice.js +1 -8
- package/dist/queries/stale-abstractions.d.ts +15 -5
- package/dist/queries/stale-abstractions.js +1 -8
- package/dist/queries/stats.d.ts +1 -1
- package/dist/queries/stats.js +1 -6
- package/dist/queries/surface.d.ts +1 -1
- package/dist/queries/surface.js +1 -8
- package/dist/queries/symbols.d.ts +1 -1
- package/dist/queries/symbols.js +1 -9
- package/dist/queries/system.d.ts +1 -1
- package/dist/queries/system.js +1 -9
- package/dist/queries/trace.d.ts +1 -1
- package/dist/queries/trace.js +1 -9
- package/dist/queries/wrapper-candidates.d.ts +1 -1
- package/dist/queries/wrapper-candidates.js +1 -8
- package/dist/reindex-worker.js +7 -672
- package/package.json +20 -2
- package/skills/concrete-plan/SKILL.md +3 -3
- package/skills/scip-debloat/SKILL.md +3 -6
- package/skills/scip-language-playbook/SKILL.md +2 -0
- package/dist/chunk-2MQ5DPY6.js +0 -61
- package/dist/chunk-2QTYIOJ5.js +0 -165
- package/dist/chunk-3VI4YXCL.js +0 -172
- package/dist/chunk-3VV2G6U7.js +0 -34
- package/dist/chunk-44PFXVXG.js +0 -76
- package/dist/chunk-6SLFQR36.js +0 -64
- package/dist/chunk-74RFWB5T.js +0 -24
- package/dist/chunk-7DBPRGMS.js +0 -221
- package/dist/chunk-DTB724R3.js +0 -110
- package/dist/chunk-FLOYI6I4.js +0 -185
- package/dist/chunk-FO2CBB7U.js +0 -23
- package/dist/chunk-GJT3MO2T.js +0 -17
- package/dist/chunk-HAP4LJKX.js +0 -66
- package/dist/chunk-JCOJQ4I6.js +0 -93
- package/dist/chunk-JGQMOS4V.js +0 -59
- package/dist/chunk-JMD4WJ2Q.js +0 -213
- package/dist/chunk-JSQPZOPO.js +0 -64
- package/dist/chunk-JSXGC2EH.js +0 -151
- package/dist/chunk-JZN3DRCT.js +0 -59
- package/dist/chunk-KMWYB3CX.js +0 -71
- package/dist/chunk-MRM755FU.js +0 -37
- package/dist/chunk-N2XO3Z5F.js +0 -69
- package/dist/chunk-OLW5UL36.js +0 -76
- package/dist/chunk-OMCRXXDX.js +0 -2600
- package/dist/chunk-OWJOHUZE.js +0 -44
- package/dist/chunk-P3VCDYMJ.js +0 -269
- package/dist/chunk-PEDH3D4G.js +0 -53
- package/dist/chunk-POAN4SCR.js +0 -46
- package/dist/chunk-PTMGEBU3.js +0 -101
- package/dist/chunk-PU44HK7P.js +0 -87
- package/dist/chunk-QJI7EECA.js +0 -327
- package/dist/chunk-R5HICGMB.js +0 -110
- package/dist/chunk-RJ2D6YWQ.js +0 -49
- package/dist/chunk-RZ5GYPBP.js +0 -79
- package/dist/chunk-SRLQNO6O.js +0 -101
- package/dist/chunk-UGS7HJI4.js +0 -84
- package/dist/chunk-VKUUXOE7.js +0 -105
- package/dist/chunk-VPUJSJCI.js +0 -84
- package/dist/chunk-VRWVV3EP.js +0 -72
- package/dist/chunk-WJWQEU4A.js +0 -162
- package/dist/chunk-WJZHDUSB.js +0 -40
- package/dist/chunk-WWOCQ5W4.js +0 -34
- package/dist/chunk-X3Q2OVRL.js +0 -77
- package/dist/chunk-Y3P7QKKN.js +0 -27
- package/dist/chunk-Y6FAHY4N.js +0 -81
- package/dist/chunk-YMSJCSRG.js +0 -213
- package/dist/chunk-ZDL3U4W2.js +0 -124
- package/dist/chunk-ZXNX5JRE.js +0 -216
- package/dist/queries/clean-signature.d.ts +0 -17
- package/dist/queries/clean-signature.js +0 -9
|
@@ -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
|
|
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-
|
|
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,
|
|
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),
|