scip-query 0.6.9 → 0.7.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.
- package/README.md +3 -1
- package/dist/augment-vue-worker.js +1 -1
- package/dist/chunk-23YIGCYF.js +25 -0
- package/dist/{chunk-V4WRHJU3.js → chunk-2IYEIFPP.js} +6 -6
- package/dist/chunk-2JEFS2YJ.js +2 -0
- package/dist/chunk-33SSUPCB.js +7 -0
- package/dist/chunk-3GNFUVFA.js +2 -0
- package/dist/chunk-3OUC276S.js +2 -0
- package/dist/{chunk-JLFAQ2E2.js → chunk-4STLJYHI.js} +4 -4
- package/dist/chunk-563HLCDW.js +35 -0
- package/dist/chunk-5TT47UMX.js +44 -0
- package/dist/chunk-6H2XIIPY.js +71 -0
- package/dist/{chunk-I5BB33E6.js → chunk-72JOIFXL.js} +3 -3
- package/dist/chunk-7H4RJ4MC.js +2 -0
- package/dist/chunk-7O4MJYIW.js +63 -0
- package/dist/chunk-7OX2O53H.js +62 -0
- package/dist/chunk-A2AVLALL.js +2 -0
- package/dist/chunk-AQYBOORI.js +2 -0
- package/dist/chunk-ARBZM2NF.js +34 -0
- package/dist/{chunk-GRAEZYYU.js → chunk-BI4F6GXI.js} +2 -2
- package/dist/chunk-BOVNTAKQ.js +3 -0
- package/dist/chunk-CKIO6SVS.js +2 -0
- package/dist/chunk-D6Z67MZL.js +2 -0
- package/dist/chunk-DFK54IRN.js +2 -0
- package/dist/chunk-FD37DBTD.js +2 -0
- package/dist/chunk-FOQQDXE7.js +2 -0
- package/dist/chunk-GAQGJ52J.js +11 -0
- package/dist/chunk-IODTPF5H.js +20 -0
- package/dist/chunk-J6Z5YKGQ.js +4 -0
- package/dist/chunk-JB4PUN5S.js +40 -0
- package/dist/chunk-JTXKS5GK.js +3 -0
- package/dist/chunk-KJ3ZJIE5.js +2 -0
- package/dist/chunk-KJ6CW6EK.js +2 -0
- package/dist/{chunk-AXHDRSRI.js → chunk-KNA6Z7JB.js} +3 -3
- package/dist/{chunk-U3GYMGBX.js → chunk-LDV2B7ET.js} +8 -8
- package/dist/chunk-LWYIGRHR.js +5 -0
- package/dist/chunk-MDAYGS6T.js +2 -0
- package/dist/chunk-MX6F756F.js +2 -0
- package/dist/chunk-NHDPYW7O.js +2 -0
- package/dist/{chunk-IIKNAXAE.js → chunk-NKJKI6SE.js} +2 -2
- package/dist/chunk-NN3O7TPH.js +8 -0
- package/dist/chunk-NSTZMBAB.js +18 -0
- package/dist/chunk-NYEMZHUC.js +6 -0
- package/dist/chunk-OHEIZWIA.js +4 -0
- package/dist/chunk-PG3ZI5IH.js +2 -0
- package/dist/chunk-QAEDNTY7.js +2 -0
- package/dist/chunk-QE6MGGUY.js +2 -0
- package/dist/chunk-QPRIYXH4.js +2 -0
- package/dist/chunk-QWJBIBE6.js +3 -0
- package/dist/chunk-RCJEFQOK.js +4 -0
- package/dist/chunk-ROOHENEP.js +61 -0
- package/dist/{chunk-3JGBAAP7.js → chunk-ROZNBWIF.js} +2 -2
- package/dist/chunk-TGK5DFBJ.js +2 -0
- package/dist/chunk-TKDJQ2WD.js +59 -0
- package/dist/chunk-TRNAQABL.js +7 -0
- package/dist/chunk-U75WH4XG.js +2 -0
- package/dist/chunk-V53J46BX.js +2 -0
- package/dist/chunk-V76FCF5F.js +2 -0
- package/dist/chunk-VUBQBW7H.js +16 -0
- package/dist/chunk-WJQY2LGT.js +2 -0
- package/dist/{chunk-ZO5IFJRM.js → chunk-WODJHE6Z.js} +3 -3
- package/dist/{chunk-IX45SWX5.js → chunk-WPLKHAH7.js} +4 -4
- package/dist/chunk-XO6R3X5J.js +2 -0
- package/dist/chunk-YSZNAG4G.js +2 -0
- package/dist/chunk-ZNUPGRPR.js +3 -0
- package/dist/{chunk-UIM4WALN.js → chunk-ZXFTC5ET.js} +4 -4
- package/dist/cli.js +362 -527
- package/dist/config-types-CGIeLEpY.d.ts +108 -0
- package/dist/db-DdTPetj5.d.ts +69 -0
- package/dist/health-x7B4Xu_6.d.ts +119 -0
- package/dist/index.d.ts +100 -334
- package/dist/index.js +3 -131
- package/dist/postinstall.js +1 -1
- package/dist/queries/affected.d.ts +9 -2
- package/dist/queries/affected.js +1 -1
- package/dist/queries/bottlenecks.d.ts +12 -2
- package/dist/queries/bottlenecks.js +1 -1
- package/dist/queries/by-kind.d.ts +12 -2
- package/dist/queries/by-kind.js +1 -1
- package/dist/queries/call-graph.d.ts +19 -2
- package/dist/queries/call-graph.js +1 -1
- package/dist/queries/change-surface.d.ts +16 -2
- package/dist/queries/change-surface.js +1 -1
- package/dist/queries/code.d.ts +12 -2
- package/dist/queries/code.js +1 -1
- package/dist/queries/complexity-hotspots.d.ts +15 -2
- package/dist/queries/complexity-hotspots.js +1 -1
- package/dist/queries/complexity.d.ts +19 -2
- package/dist/queries/complexity.js +1 -1
- package/dist/queries/convergence.d.ts +22 -2
- package/dist/queries/convergence.js +1 -1
- package/dist/queries/coupling.d.ts +8 -2
- package/dist/queries/coupling.js +1 -1
- package/dist/queries/cycles.d.ts +16 -2
- package/dist/queries/cycles.js +1 -1
- package/dist/queries/dataflow.d.ts +32 -2
- package/dist/queries/dataflow.js +1 -1
- package/dist/queries/dead.d.ts +34 -2
- package/dist/queries/dead.js +1 -1
- package/dist/queries/deep-chains.d.ts +8 -2
- package/dist/queries/deep-chains.js +1 -1
- package/dist/queries/deps.d.ts +6 -2
- package/dist/queries/deps.js +1 -1
- package/dist/queries/diff-impact.d.ts +22 -2
- package/dist/queries/diff-impact.js +1 -1
- package/dist/queries/drift.d.ts +18 -2
- package/dist/queries/drift.js +1 -1
- package/dist/queries/extract-candidates.d.ts +19 -2
- package/dist/queries/extract-candidates.js +1 -1
- package/dist/queries/fan.d.ts +7 -2
- package/dist/queries/fan.js +1 -1
- package/dist/queries/files.d.ts +6 -2
- package/dist/queries/files.js +1 -1
- package/dist/queries/health.d.ts +4 -81
- package/dist/queries/health.js +1 -1
- package/dist/queries/hierarchy.d.ts +8 -2
- package/dist/queries/hierarchy.js +1 -1
- package/dist/queries/hotspots.d.ts +10 -2
- package/dist/queries/hotspots.js +1 -1
- package/dist/queries/imports.d.ts +13 -2
- package/dist/queries/imports.js +1 -1
- package/dist/queries/index.d.ts +45 -44
- package/dist/queries/index.js +1 -1
- package/dist/queries/isolated.d.ts +11 -2
- package/dist/queries/isolated.js +1 -1
- package/dist/queries/members.d.ts +10 -2
- package/dist/queries/members.js +1 -1
- package/dist/queries/methods.d.ts +8 -2
- package/dist/queries/methods.js +1 -1
- package/dist/queries/outline.d.ts +10 -2
- package/dist/queries/outline.js +1 -1
- package/dist/queries/passthrough-candidates.d.ts +14 -2
- package/dist/queries/passthrough-candidates.js +1 -1
- package/dist/queries/redundant-reexports.d.ts +13 -2
- package/dist/queries/redundant-reexports.js +1 -1
- package/dist/queries/refs.d.ts +7 -2
- package/dist/queries/refs.js +1 -1
- package/dist/queries/similar-chains.d.ts +21 -2
- package/dist/queries/similar-chains.js +1 -1
- package/dist/queries/similar-files.d.ts +12 -2
- package/dist/queries/similar-files.js +1 -1
- package/dist/queries/similar-signatures.d.ts +16 -2
- package/dist/queries/similar-signatures.js +1 -1
- package/dist/queries/similar.d.ts +21 -2
- package/dist/queries/similar.js +1 -1
- package/dist/queries/slice.d.ts +16 -2
- package/dist/queries/slice.js +1 -1
- package/dist/queries/stale-abstractions.d.ts +36 -3
- package/dist/queries/stale-abstractions.js +1 -1
- package/dist/queries/stats.d.ts +11 -2
- package/dist/queries/stats.js +1 -1
- package/dist/queries/surface.d.ts +8 -2
- package/dist/queries/surface.js +1 -1
- package/dist/queries/symbols.d.ts +10 -2
- package/dist/queries/symbols.js +1 -1
- package/dist/queries/system.d.ts +10 -2
- package/dist/queries/system.js +1 -1
- package/dist/queries/trace.d.ts +18 -2
- package/dist/queries/trace.js +1 -1
- package/dist/queries/wrapper-candidates.d.ts +14 -2
- package/dist/queries/wrapper-candidates.js +1 -1
- package/dist/reindex-worker.js +10 -10
- package/dist/reindex.d.ts +153 -0
- package/dist/reindex.js +69 -0
- package/dist/runtime.d.ts +108 -0
- package/dist/runtime.js +3 -0
- package/dist/scip-cli-a-xOztiK.d.ts +20 -0
- package/package.json +184 -4
- package/dist/chunk-2OP63JQQ.js +0 -2
- package/dist/chunk-33Z6HQBX.js +0 -5
- package/dist/chunk-3F453KPT.js +0 -2
- package/dist/chunk-3PKPUCIJ.js +0 -11
- package/dist/chunk-42BWO2NN.js +0 -2
- package/dist/chunk-4MDCFY3E.js +0 -2
- package/dist/chunk-4QWTQ6YV.js +0 -2
- package/dist/chunk-5IRX5I64.js +0 -5
- package/dist/chunk-5MPZ2A7J.js +0 -2
- package/dist/chunk-67OMD56K.js +0 -90
- package/dist/chunk-6UVVA5I4.js +0 -7
- package/dist/chunk-BAA4EJRX.js +0 -2
- package/dist/chunk-BT36WY5B.js +0 -114
- package/dist/chunk-CLKFDBS6.js +0 -39
- package/dist/chunk-CWMWTHV3.js +0 -2
- package/dist/chunk-DXO2ECRF.js +0 -7
- package/dist/chunk-EHEZLULQ.js +0 -85
- package/dist/chunk-FVH3Y44U.js +0 -1
- package/dist/chunk-GWBRU65E.js +0 -2
- package/dist/chunk-H4DXD2FB.js +0 -5
- package/dist/chunk-I2KUHGMX.js +0 -16
- package/dist/chunk-JMASYYSW.js +0 -2
- package/dist/chunk-KAM4C6ZD.js +0 -4
- package/dist/chunk-LBWLO7NA.js +0 -70
- package/dist/chunk-LJ2YWNQF.js +0 -2
- package/dist/chunk-LLDPR3DG.js +0 -6
- package/dist/chunk-LNUZWWWL.js +0 -2
- package/dist/chunk-NLJCXHFU.js +0 -84
- package/dist/chunk-NRAJIFQA.js +0 -2
- package/dist/chunk-OYRGWW6Z.js +0 -2
- package/dist/chunk-PVMRIOM6.js +0 -33
- package/dist/chunk-QRYEOK3M.js +0 -2
- package/dist/chunk-SF2HYG53.js +0 -4
- package/dist/chunk-SHGPRVWH.js +0 -2
- package/dist/chunk-SMOUOKAO.js +0 -2
- package/dist/chunk-TBJDUS4E.js +0 -71
- package/dist/chunk-TPXWXKL6.js +0 -2
- package/dist/chunk-TTCUMJ43.js +0 -19
- package/dist/chunk-TYR7QY5G.js +0 -2
- package/dist/chunk-UZG3QXTG.js +0 -2
- package/dist/chunk-VDMRAGBK.js +0 -6
- package/dist/chunk-W6SRVK2Y.js +0 -5
- package/dist/chunk-WGYJDGBI.js +0 -25
- package/dist/chunk-WYX3RU2K.js +0 -2
- package/dist/chunk-WZYA234B.js +0 -2
- package/dist/chunk-Y6ZFXZ7B.js +0 -2
- package/dist/chunk-YCN5XEST.js +0 -7
- package/dist/db-Rx8Ho_JF.d.ts +0 -838
- package/dist/queries/drift-policy.d.ts +0 -6
- package/dist/queries/drift-policy.js +0 -2
- package/dist/queries/health-cache-control.d.ts +0 -15
- package/dist/queries/health-cache-control.js +0 -2
package/dist/queries/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunk-
|
|
1
|
+
import{a as X}from"../chunk-WODJHE6Z.js";import{a as q}from"../chunk-CKIO6SVS.js";import{a as V}from"../chunk-WPLKHAH7.js";import{a as Q}from"../chunk-J6Z5YKGQ.js";import{a as re}from"../chunk-ROOHENEP.js";import{a as J}from"../chunk-QWJBIBE6.js";import{a as ee}from"../chunk-ROZNBWIF.js";import{a as $}from"../chunk-QE6MGGUY.js";import{a as oe}from"../chunk-QPRIYXH4.js";import{a as te}from"../chunk-2JEFS2YJ.js";import{a as T}from"../chunk-KNA6Z7JB.js";import{a as L}from"../chunk-23YIGCYF.js";import{a as U,b as W,c as _}from"../chunk-563HLCDW.js";import{a as Z}from"../chunk-V53J46BX.js";import{a as z}from"../chunk-WJQY2LGT.js";import{a as Y}from"../chunk-MDAYGS6T.js";import{a as d}from"../chunk-U75WH4XG.js";import{a as c,b as j}from"../chunk-4STLJYHI.js";import{a as h,b as R,c as C,d as S}from"../chunk-VUBQBW7H.js";import{a as I,b as D,c as H,d as A}from"../chunk-LDV2B7ET.js";import{a as F}from"../chunk-PG3ZI5IH.js";import{a as O,b as K,c as M,d as N}from"../chunk-7H4RJ4MC.js";import{a as B}from"../chunk-OHEIZWIA.js";import{a as G}from"../chunk-AQYBOORI.js";import{a as E}from"../chunk-TRNAQABL.js";import"../chunk-JTXKS5GK.js";import{a as v}from"../chunk-3GNFUVFA.js";import{a as k,b as w}from"../chunk-NYEMZHUC.js";import"../chunk-RKTDEIHF.js";import{a as P}from"../chunk-A2AVLALL.js";import{a as g}from"../chunk-NSTZMBAB.js";import{a as b}from"../chunk-XO6R3X5J.js";import{a as m}from"../chunk-2IYEIFPP.js";import{a}from"../chunk-33SSUPCB.js";import{a as f}from"../chunk-FD37DBTD.js";import"../chunk-V76FCF5F.js";import{a as l}from"../chunk-KJ3ZJIE5.js";import{a as x,b as i}from"../chunk-ZXFTC5ET.js";import{a as y}from"../chunk-BI4F6GXI.js";import{a as u}from"../chunk-FOQQDXE7.js";import{b as n}from"../chunk-D6Z67MZL.js";import{a as e}from"../chunk-72JOIFXL.js";import{a as t}from"../chunk-YSZNAG4G.js";import{a as r,b as o}from"../chunk-3OUC276S.js";import{a as p}from"../chunk-TGK5DFBJ.js";import"../chunk-MX6F756F.js";import{a as s}from"../chunk-GAQGJ52J.js";import"../chunk-DFK54IRN.js";import"../chunk-QAEDNTY7.js";import"../chunk-NKJKI6SE.js";import"../chunk-IODTPF5H.js";import"../chunk-ARBZM2NF.js";import"../chunk-JB4PUN5S.js";import"../chunk-7O4MJYIW.js";import"../chunk-ZNUPGRPR.js";import"../chunk-RCJEFQOK.js";import"../chunk-BOVNTAKQ.js";import"../chunk-KJ6CW6EK.js";import"../chunk-7OX2O53H.js";import"../chunk-5TT47UMX.js";import"../chunk-NHDPYW7O.js";import"../chunk-NN3O7TPH.js";export{O as HEALTH_PHASES,e as affected,t as bottlenecks,r as byKind,p as callGraph,s as changeSurface,m as code,a as complexity,f as complexityHotspots,l as convergence,x as coupling,y as cycles,u as dataflow,n as dead,d as deepChains,c as deps,h as diffImpact,C as diffImpactPartial,R as diffImpactPlan,g as drift,b as extractCandidates,I as fanIn,D as fanOut,F as files,K as health,M as healthPhase,N as healthReportFromPhases,T as hierarchy,L as hotspots,W as importedBy,U as imports,P as isolated,o as kindCounts,Z as members,S as mergeDiffImpactPartials,z as methods,Y as outline,v as passthroughCandidates,j as rdeps,re as redundantReexports,J as refs,k as similar,w as similarAll,ee as similarChains,$ as similarFiles,oe as similarSignatures,te as slice,B as staleAbstractions,G as stats,X as surface,q as symbols,V as system,i as topCoupling,H as topFanIn,A as topFanOut,Q as trace,_ as unusedImports,E as wrapperCandidates};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
import { S as ScipDatabase
|
|
1
|
+
import { S as ScipDatabase } from '../db-DdTPetj5.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
+
import '../config-types-CGIeLEpY.js';
|
|
3
4
|
|
|
5
|
+
interface IsolatedResult {
|
|
6
|
+
symbol: string;
|
|
7
|
+
shortName: string;
|
|
8
|
+
relativePath: string;
|
|
9
|
+
startLine: number;
|
|
10
|
+
endLine: number;
|
|
11
|
+
loc: number;
|
|
12
|
+
}
|
|
4
13
|
/**
|
|
5
14
|
* Find isolated callables: defined locally, referenced by nothing,
|
|
6
15
|
* and calling nothing else. These are truly disconnected leaves.
|
|
@@ -12,4 +21,4 @@ declare function isolated(db: ScipDatabase, opts?: {
|
|
|
12
21
|
semantic?: boolean;
|
|
13
22
|
}): IsolatedResult[];
|
|
14
23
|
|
|
15
|
-
export { isolated };
|
|
24
|
+
export { type IsolatedResult, isolated };
|
package/dist/queries/isolated.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-A2AVLALL.js";import"../chunk-MX6F756F.js";import"../chunk-QAEDNTY7.js";import"../chunk-NKJKI6SE.js";import"../chunk-IODTPF5H.js";import"../chunk-ARBZM2NF.js";import"../chunk-JB4PUN5S.js";import"../chunk-7O4MJYIW.js";import"../chunk-ZNUPGRPR.js";import"../chunk-RCJEFQOK.js";import"../chunk-BOVNTAKQ.js";import"../chunk-KJ6CW6EK.js";import"../chunk-7OX2O53H.js";import"../chunk-5TT47UMX.js";import"../chunk-NHDPYW7O.js";import"../chunk-NN3O7TPH.js";export{a as isolated};
|
|
2
2
|
//# sourceMappingURL=isolated.js.map
|
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
import { S as ScipDatabase
|
|
1
|
+
import { S as ScipDatabase } from '../db-DdTPetj5.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
+
import '../config-types-CGIeLEpY.js';
|
|
3
4
|
|
|
5
|
+
interface MemberResult {
|
|
6
|
+
symbol: string;
|
|
7
|
+
shortName: string;
|
|
8
|
+
startLine: number;
|
|
9
|
+
endLine: number;
|
|
10
|
+
kind: string;
|
|
11
|
+
}
|
|
4
12
|
/**
|
|
5
13
|
* Find all direct children of a symbol (methods, fields, nested types).
|
|
6
14
|
* Uses descriptor-chain fallback when enclosing_symbol is not populated.
|
|
@@ -10,4 +18,4 @@ import 'better-sqlite3';
|
|
|
10
18
|
*/
|
|
11
19
|
declare function members(db: ScipDatabase, symbolPattern: string): MemberResult[];
|
|
12
20
|
|
|
13
|
-
export { members };
|
|
21
|
+
export { type MemberResult, members };
|
package/dist/queries/members.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-V53J46BX.js";import"../chunk-QAEDNTY7.js";import"../chunk-NKJKI6SE.js";import"../chunk-IODTPF5H.js";import"../chunk-ARBZM2NF.js";import"../chunk-JB4PUN5S.js";import"../chunk-7O4MJYIW.js";import"../chunk-ZNUPGRPR.js";import"../chunk-RCJEFQOK.js";import"../chunk-BOVNTAKQ.js";import"../chunk-KJ6CW6EK.js";import"../chunk-7OX2O53H.js";import"../chunk-5TT47UMX.js";import"../chunk-NHDPYW7O.js";import"../chunk-NN3O7TPH.js";export{a as members};
|
|
2
2
|
//# sourceMappingURL=members.js.map
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
import { S as ScipDatabase
|
|
1
|
+
import { S as ScipDatabase } from '../db-DdTPetj5.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
+
import '../config-types-CGIeLEpY.js';
|
|
3
4
|
|
|
5
|
+
interface MethodResult {
|
|
6
|
+
startLine: number;
|
|
7
|
+
endLine: number;
|
|
8
|
+
name: string;
|
|
9
|
+
}
|
|
4
10
|
declare function methods(db: ScipDatabase, className: string): MethodResult[];
|
|
5
11
|
|
|
6
|
-
export { methods };
|
|
12
|
+
export { type MethodResult, methods };
|
package/dist/queries/methods.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-WJQY2LGT.js";import"../chunk-QAEDNTY7.js";import"../chunk-NKJKI6SE.js";import"../chunk-IODTPF5H.js";import"../chunk-ARBZM2NF.js";import"../chunk-JB4PUN5S.js";import"../chunk-7O4MJYIW.js";import"../chunk-ZNUPGRPR.js";import"../chunk-RCJEFQOK.js";import"../chunk-BOVNTAKQ.js";import"../chunk-KJ6CW6EK.js";import"../chunk-7OX2O53H.js";import"../chunk-5TT47UMX.js";import"../chunk-NHDPYW7O.js";import"../chunk-NN3O7TPH.js";export{a as methods};
|
|
2
2
|
//# sourceMappingURL=methods.js.map
|
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
import { S as ScipDatabase
|
|
1
|
+
import { S as ScipDatabase } from '../db-DdTPetj5.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
+
import '../config-types-CGIeLEpY.js';
|
|
3
4
|
|
|
5
|
+
interface OutlineNode {
|
|
6
|
+
symbol: string;
|
|
7
|
+
shortName: string;
|
|
8
|
+
startLine: number;
|
|
9
|
+
endLine: number;
|
|
10
|
+
children: OutlineNode[];
|
|
11
|
+
}
|
|
4
12
|
/**
|
|
5
13
|
* Build a tree-structured outline of symbols in a file,
|
|
6
14
|
* using the enclosing_symbol field to establish parent-child relationships.
|
|
@@ -10,4 +18,4 @@ import 'better-sqlite3';
|
|
|
10
18
|
*/
|
|
11
19
|
declare function outline(db: ScipDatabase, filePattern: string): OutlineNode[];
|
|
12
20
|
|
|
13
|
-
export { outline };
|
|
21
|
+
export { type OutlineNode, outline };
|
package/dist/queries/outline.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-MDAYGS6T.js";import"../chunk-DFK54IRN.js";import"../chunk-ZNUPGRPR.js";import"../chunk-7OX2O53H.js";import"../chunk-5TT47UMX.js";import"../chunk-NHDPYW7O.js";import"../chunk-NN3O7TPH.js";export{a as outline};
|
|
2
2
|
//# sourceMappingURL=outline.js.map
|
|
@@ -1,6 +1,18 @@
|
|
|
1
|
-
import { S as ScipDatabase
|
|
1
|
+
import { S as ScipDatabase } from '../db-DdTPetj5.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
+
import '../config-types-CGIeLEpY.js';
|
|
3
4
|
|
|
5
|
+
interface PassthroughCandidate {
|
|
6
|
+
symbol: string;
|
|
7
|
+
shortName: string;
|
|
8
|
+
file: string;
|
|
9
|
+
startLine: number;
|
|
10
|
+
endLine: number;
|
|
11
|
+
loc: number;
|
|
12
|
+
forwardsTo: string;
|
|
13
|
+
forwardsToShort: string;
|
|
14
|
+
forwardsToFile: string;
|
|
15
|
+
}
|
|
4
16
|
/**
|
|
5
17
|
* Find passthrough candidates: functions that just forward to one
|
|
6
18
|
* other function.
|
|
@@ -17,4 +29,4 @@ declare function passthroughCandidates(db: ScipDatabase, opts?: {
|
|
|
17
29
|
semantic?: boolean;
|
|
18
30
|
}): PassthroughCandidate[];
|
|
19
31
|
|
|
20
|
-
export { passthroughCandidates };
|
|
32
|
+
export { type PassthroughCandidate, passthroughCandidates };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-3GNFUVFA.js";import"../chunk-V76FCF5F.js";import"../chunk-MX6F756F.js";import"../chunk-QAEDNTY7.js";import"../chunk-NKJKI6SE.js";import"../chunk-IODTPF5H.js";import"../chunk-ARBZM2NF.js";import"../chunk-JB4PUN5S.js";import"../chunk-7O4MJYIW.js";import"../chunk-ZNUPGRPR.js";import"../chunk-RCJEFQOK.js";import"../chunk-BOVNTAKQ.js";import"../chunk-KJ6CW6EK.js";import"../chunk-7OX2O53H.js";import"../chunk-5TT47UMX.js";import"../chunk-NHDPYW7O.js";import"../chunk-NN3O7TPH.js";export{a as passthroughCandidates};
|
|
2
2
|
//# sourceMappingURL=passthrough-candidates.js.map
|
|
@@ -1,6 +1,17 @@
|
|
|
1
|
-
import { S as ScipDatabase
|
|
1
|
+
import { S as ScipDatabase } from '../db-DdTPetj5.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
+
import '../config-types-CGIeLEpY.js';
|
|
3
4
|
|
|
5
|
+
interface RedundantReexport {
|
|
6
|
+
barrelFile: string;
|
|
7
|
+
symbol: string;
|
|
8
|
+
shortName: string;
|
|
9
|
+
originalFile: string;
|
|
10
|
+
/** How many consumers import through the barrel */
|
|
11
|
+
barrelConsumers: number;
|
|
12
|
+
/** How many consumers import directly from the source */
|
|
13
|
+
directConsumers: number;
|
|
14
|
+
}
|
|
4
15
|
/**
|
|
5
16
|
* Find barrel re-exports that no consumer actually imports through.
|
|
6
17
|
*
|
|
@@ -19,4 +30,4 @@ declare function redundantReexports(db: ScipDatabase, opts?: {
|
|
|
19
30
|
limit?: number;
|
|
20
31
|
}): RedundantReexport[];
|
|
21
32
|
|
|
22
|
-
export { redundantReexports };
|
|
33
|
+
export { type RedundantReexport, redundantReexports };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-ROOHENEP.js";import"../chunk-QAEDNTY7.js";import"../chunk-NKJKI6SE.js";import"../chunk-IODTPF5H.js";import"../chunk-ARBZM2NF.js";import"../chunk-JB4PUN5S.js";import"../chunk-7O4MJYIW.js";import"../chunk-ZNUPGRPR.js";import"../chunk-RCJEFQOK.js";import"../chunk-BOVNTAKQ.js";import"../chunk-KJ6CW6EK.js";import"../chunk-7OX2O53H.js";import"../chunk-5TT47UMX.js";import"../chunk-NHDPYW7O.js";import"../chunk-NN3O7TPH.js";export{a as redundantReexports};
|
|
2
2
|
//# sourceMappingURL=redundant-reexports.js.map
|
package/dist/queries/refs.d.ts
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
import { S as ScipDatabase
|
|
1
|
+
import { S as ScipDatabase } from '../db-DdTPetj5.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
+
import '../config-types-CGIeLEpY.js';
|
|
3
4
|
|
|
5
|
+
interface RefResult {
|
|
6
|
+
relativePath: string;
|
|
7
|
+
line: number;
|
|
8
|
+
}
|
|
4
9
|
declare function refs(db: ScipDatabase, symbolPattern: string, opts?: {
|
|
5
10
|
semantic?: boolean;
|
|
6
11
|
}): RefResult[];
|
|
7
12
|
|
|
8
|
-
export { refs };
|
|
13
|
+
export { type RefResult, refs };
|
package/dist/queries/refs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-QWJBIBE6.js";import"../chunk-JB4PUN5S.js";import"../chunk-7O4MJYIW.js";import"../chunk-ZNUPGRPR.js";import"../chunk-RCJEFQOK.js";import"../chunk-BOVNTAKQ.js";import"../chunk-KJ6CW6EK.js";import"../chunk-7OX2O53H.js";import"../chunk-5TT47UMX.js";import"../chunk-NHDPYW7O.js";import"../chunk-NN3O7TPH.js";export{a as refs};
|
|
2
2
|
//# sourceMappingURL=refs.js.map
|
|
@@ -1,6 +1,25 @@
|
|
|
1
|
-
import { S as ScipDatabase
|
|
1
|
+
import { S as ScipDatabase } from '../db-DdTPetj5.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
+
import '../config-types-CGIeLEpY.js';
|
|
3
4
|
|
|
5
|
+
interface SimilarChainResult {
|
|
6
|
+
chainA: string[];
|
|
7
|
+
chainB: string[];
|
|
8
|
+
/** Fraction of nodes shared (0-1) */
|
|
9
|
+
similarity: number;
|
|
10
|
+
/** Edit distance between the two chains */
|
|
11
|
+
editDistance: number;
|
|
12
|
+
/** Indices where the chains diverge — the consolidation targets */
|
|
13
|
+
divergencePoints: Array<{
|
|
14
|
+
index: number;
|
|
15
|
+
nodeA: string;
|
|
16
|
+
nodeB: string;
|
|
17
|
+
}>;
|
|
18
|
+
/** Shared prefix */
|
|
19
|
+
commonPrefix: string[];
|
|
20
|
+
/** Shared suffix */
|
|
21
|
+
commonSuffix: string[];
|
|
22
|
+
}
|
|
4
23
|
/**
|
|
5
24
|
* Find end-to-end dependency flows that are structurally similar
|
|
6
25
|
* but diverge at a few points — indicating duplicated pipelines
|
|
@@ -26,4 +45,4 @@ declare function similarChains(db: ScipDatabase, opts?: {
|
|
|
26
45
|
maxChainLength?: number;
|
|
27
46
|
}): SimilarChainResult[];
|
|
28
47
|
|
|
29
|
-
export { similarChains };
|
|
48
|
+
export { type SimilarChainResult, similarChains };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-ROZNBWIF.js";import"../chunk-IODTPF5H.js";import"../chunk-RCJEFQOK.js";import"../chunk-BOVNTAKQ.js";import"../chunk-5TT47UMX.js";import"../chunk-NHDPYW7O.js";import"../chunk-NN3O7TPH.js";export{a as similarChains};
|
|
2
2
|
//# sourceMappingURL=similar-chains.js.map
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
import { S as ScipDatabase
|
|
1
|
+
import { S as ScipDatabase } from '../db-DdTPetj5.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
+
import '../config-types-CGIeLEpY.js';
|
|
3
4
|
|
|
5
|
+
interface SimilarFileResult {
|
|
6
|
+
fileA: string;
|
|
7
|
+
fileB: string;
|
|
8
|
+
/** Jaccard similarity of dependency sets (0-1) */
|
|
9
|
+
similarity: number;
|
|
10
|
+
sharedDeps: string[];
|
|
11
|
+
uniqueToA: string[];
|
|
12
|
+
uniqueToB: string[];
|
|
13
|
+
}
|
|
4
14
|
/**
|
|
5
15
|
* Find files with similar dependency profiles.
|
|
6
16
|
*
|
|
@@ -16,4 +26,4 @@ declare function similarFiles(db: ScipDatabase, opts?: {
|
|
|
16
26
|
filePattern?: string;
|
|
17
27
|
}): SimilarFileResult[];
|
|
18
28
|
|
|
19
|
-
export { similarFiles };
|
|
29
|
+
export { type SimilarFileResult, similarFiles };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-QE6MGGUY.js";import"../chunk-RKTDEIHF.js";import"../chunk-IODTPF5H.js";import"../chunk-RCJEFQOK.js";import"../chunk-BOVNTAKQ.js";import"../chunk-5TT47UMX.js";import"../chunk-NHDPYW7O.js";import"../chunk-NN3O7TPH.js";export{a as similarFiles};
|
|
2
2
|
//# sourceMappingURL=similar-files.js.map
|
|
@@ -1,6 +1,20 @@
|
|
|
1
|
-
import { S as ScipDatabase
|
|
1
|
+
import { S as ScipDatabase } from '../db-DdTPetj5.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
+
import '../config-types-CGIeLEpY.js';
|
|
3
4
|
|
|
5
|
+
interface SimilarSignatureGroup {
|
|
6
|
+
/** The normalized signature shared by all functions in the group */
|
|
7
|
+
signature: string;
|
|
8
|
+
/** Functions that share this signature */
|
|
9
|
+
functions: Array<{
|
|
10
|
+
symbol: string;
|
|
11
|
+
shortName: string;
|
|
12
|
+
file: string;
|
|
13
|
+
startLine: number;
|
|
14
|
+
endLine: number;
|
|
15
|
+
loc: number;
|
|
16
|
+
}>;
|
|
17
|
+
}
|
|
4
18
|
/**
|
|
5
19
|
* Find functions with near-identical type signatures (same parameter types
|
|
6
20
|
* and return type) but different names. These are "same shape" functions
|
|
@@ -22,4 +36,4 @@ declare function similarSignatures(db: ScipDatabase, opts?: {
|
|
|
22
36
|
semantic?: boolean;
|
|
23
37
|
}): SimilarSignatureGroup[];
|
|
24
38
|
|
|
25
|
-
export { similarSignatures };
|
|
39
|
+
export { type SimilarSignatureGroup, similarSignatures };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-QPRIYXH4.js";import"../chunk-MX6F756F.js";import"../chunk-7O4MJYIW.js";import"../chunk-BOVNTAKQ.js";import"../chunk-7OX2O53H.js";import"../chunk-5TT47UMX.js";import"../chunk-NHDPYW7O.js";import"../chunk-NN3O7TPH.js";export{a as similarSignatures};
|
|
2
2
|
//# sourceMappingURL=similar-signatures.js.map
|
|
@@ -1,6 +1,25 @@
|
|
|
1
|
-
import { S as ScipDatabase
|
|
1
|
+
import { S as ScipDatabase } from '../db-DdTPetj5.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
+
import '../config-types-CGIeLEpY.js';
|
|
3
4
|
|
|
5
|
+
interface SimilarSymbolResult {
|
|
6
|
+
symbolA: string;
|
|
7
|
+
shortNameA: string;
|
|
8
|
+
fileA: string;
|
|
9
|
+
symbolB: string;
|
|
10
|
+
shortNameB: string;
|
|
11
|
+
fileB: string;
|
|
12
|
+
/** Similarity score (0-1). Basis says what evidence was compared. */
|
|
13
|
+
similarity: number;
|
|
14
|
+
/** Evidence used for similarity: call graph callees or lexical source tokens. */
|
|
15
|
+
similarityBasis?: 'callees' | 'source-tokens';
|
|
16
|
+
/** Shared callees or source tokens, depending on similarityBasis. */
|
|
17
|
+
sharedCallees: string[];
|
|
18
|
+
/** Callees or source tokens unique to A, depending on similarityBasis. */
|
|
19
|
+
uniqueToA: string[];
|
|
20
|
+
/** Callees or source tokens unique to B, depending on similarityBasis. */
|
|
21
|
+
uniqueToB: string[];
|
|
22
|
+
}
|
|
4
23
|
/**
|
|
5
24
|
* Find functions with similar callee fingerprints using TF-IDF weighted
|
|
6
25
|
* cosine similarity.
|
|
@@ -36,4 +55,4 @@ declare function similarAll(db: ScipDatabase, opts?: {
|
|
|
36
55
|
semantic?: boolean;
|
|
37
56
|
}): SimilarSymbolResult[];
|
|
38
57
|
|
|
39
|
-
export { similar, similarAll };
|
|
58
|
+
export { type SimilarSymbolResult, similar, similarAll };
|
package/dist/queries/similar.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../chunk-
|
|
1
|
+
import{a,b}from"../chunk-NYEMZHUC.js";import"../chunk-RKTDEIHF.js";import"../chunk-MX6F756F.js";import"../chunk-QAEDNTY7.js";import"../chunk-NKJKI6SE.js";import"../chunk-IODTPF5H.js";import"../chunk-ARBZM2NF.js";import"../chunk-JB4PUN5S.js";import"../chunk-7O4MJYIW.js";import"../chunk-ZNUPGRPR.js";import"../chunk-RCJEFQOK.js";import"../chunk-BOVNTAKQ.js";import"../chunk-KJ6CW6EK.js";import"../chunk-7OX2O53H.js";import"../chunk-5TT47UMX.js";import"../chunk-NHDPYW7O.js";import"../chunk-NN3O7TPH.js";export{a as similar,b as similarAll};
|
|
2
2
|
//# sourceMappingURL=similar.js.map
|
package/dist/queries/slice.d.ts
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
|
-
import { S as ScipDatabase
|
|
1
|
+
import { S as ScipDatabase } from '../db-DdTPetj5.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
+
import '../config-types-CGIeLEpY.js';
|
|
3
4
|
|
|
5
|
+
interface SliceResult {
|
|
6
|
+
symbol: string;
|
|
7
|
+
shortName: string;
|
|
8
|
+
direction: 'backward' | 'forward';
|
|
9
|
+
/** Backward: symbols referenced in the same function as the target's definition (inputs) */
|
|
10
|
+
/** Forward: symbols defined by functions that reference the target (outputs) */
|
|
11
|
+
connectedSymbols: Array<{
|
|
12
|
+
symbol: string;
|
|
13
|
+
shortName: string;
|
|
14
|
+
file: string;
|
|
15
|
+
relationship: string;
|
|
16
|
+
}>;
|
|
17
|
+
}
|
|
4
18
|
/**
|
|
5
19
|
* Reference-level program slicing: track what affects a symbol (backward)
|
|
6
20
|
* or what a symbol affects (forward).
|
|
@@ -20,4 +34,4 @@ declare function slice(db: ScipDatabase, symbolPattern: string, opts?: {
|
|
|
20
34
|
semantic?: boolean;
|
|
21
35
|
}): SliceResult | null;
|
|
22
36
|
|
|
23
|
-
export { slice };
|
|
37
|
+
export { type SliceResult, slice };
|
package/dist/queries/slice.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-2JEFS2YJ.js";import"../chunk-QAEDNTY7.js";import"../chunk-NKJKI6SE.js";import"../chunk-IODTPF5H.js";import"../chunk-ARBZM2NF.js";import"../chunk-JB4PUN5S.js";import"../chunk-7O4MJYIW.js";import"../chunk-ZNUPGRPR.js";import"../chunk-RCJEFQOK.js";import"../chunk-BOVNTAKQ.js";import"../chunk-KJ6CW6EK.js";import"../chunk-7OX2O53H.js";import"../chunk-5TT47UMX.js";import"../chunk-NHDPYW7O.js";import"../chunk-NN3O7TPH.js";export{a as slice};
|
|
2
2
|
//# sourceMappingURL=slice.js.map
|
|
@@ -1,6 +1,40 @@
|
|
|
1
|
-
import { S as ScipDatabase
|
|
1
|
+
import { S as ScipDatabase } from '../db-DdTPetj5.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
+
import '../config-types-CGIeLEpY.js';
|
|
3
4
|
|
|
5
|
+
interface StaleAbstraction {
|
|
6
|
+
symbol: string;
|
|
7
|
+
shortName: string;
|
|
8
|
+
file: string;
|
|
9
|
+
startLine: number;
|
|
10
|
+
endLine: number;
|
|
11
|
+
loc: number;
|
|
12
|
+
/**
|
|
13
|
+
* Cross-file consumers NOT counting files that only re-export the symbol
|
|
14
|
+
* through a barrel (`export { X } from '...'`). Barrel files expand the
|
|
15
|
+
* public surface; they aren't real consumers.
|
|
16
|
+
*/
|
|
17
|
+
consumers: number;
|
|
18
|
+
/** Number of files whose only reference is a passthrough re-export. */
|
|
19
|
+
barrelConsumers: number;
|
|
20
|
+
/** What the definition is syntactically — detected from source at the definition line. */
|
|
21
|
+
kind: 'class' | 'interface' | 'type' | 'enum' | 'other';
|
|
22
|
+
/**
|
|
23
|
+
* Does the defining file itself reference the type outside its own declaration?
|
|
24
|
+
* `false` is the strongest stale signal — the type lives in a file that never
|
|
25
|
+
* uses it (misplaced types file), while another file is its only consumer.
|
|
26
|
+
*/
|
|
27
|
+
definerUsesType: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Ranked confidence in the "stale" verdict:
|
|
30
|
+
* 'high' — consumers === 0, OR consumers === 1 && !definerUsesType && kind !== 'class'.
|
|
31
|
+
* 'medium' — consumers <= 1 with one of the signals pointing weakly stale.
|
|
32
|
+
* 'low' — consumers === 1 but kind === 'class' (likely encapsulation, not over-abstraction).
|
|
33
|
+
*/
|
|
34
|
+
confidence: 'high' | 'medium' | 'low';
|
|
35
|
+
/** Short human-readable explanation of why this was flagged. */
|
|
36
|
+
reason: string;
|
|
37
|
+
}
|
|
4
38
|
/**
|
|
5
39
|
* Find stale abstractions: type-level symbols (classes, interfaces, type
|
|
6
40
|
* aliases) that have 0 or 1 *real* cross-file consumers.
|
|
@@ -27,6 +61,5 @@ declare function staleAbstractions(db: ScipDatabase, opts?: {
|
|
|
27
61
|
scanLimit?: number;
|
|
28
62
|
semantic?: boolean;
|
|
29
63
|
}): StaleAbstraction[];
|
|
30
|
-
declare function clearStaleAbstractionsCaches(db: ScipDatabase): void;
|
|
31
64
|
|
|
32
|
-
export {
|
|
65
|
+
export { type StaleAbstraction, staleAbstractions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a
|
|
1
|
+
import{a}from"../chunk-OHEIZWIA.js";import"../chunk-JTXKS5GK.js";import"../chunk-MX6F756F.js";import"../chunk-QAEDNTY7.js";import"../chunk-NKJKI6SE.js";import"../chunk-IODTPF5H.js";import"../chunk-ARBZM2NF.js";import"../chunk-JB4PUN5S.js";import"../chunk-7O4MJYIW.js";import"../chunk-ZNUPGRPR.js";import"../chunk-RCJEFQOK.js";import"../chunk-BOVNTAKQ.js";import"../chunk-KJ6CW6EK.js";import"../chunk-7OX2O53H.js";import"../chunk-5TT47UMX.js";import"../chunk-NHDPYW7O.js";import"../chunk-NN3O7TPH.js";export{a as staleAbstractions};
|
|
2
2
|
//# sourceMappingURL=stale-abstractions.js.map
|
package/dist/queries/stats.d.ts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
import { S as ScipDatabase
|
|
1
|
+
import { S as ScipDatabase } from '../db-DdTPetj5.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
+
import '../config-types-CGIeLEpY.js';
|
|
3
4
|
|
|
5
|
+
interface StatsResult {
|
|
6
|
+
documents: number;
|
|
7
|
+
symbols: number;
|
|
8
|
+
definitions: number;
|
|
9
|
+
references: number;
|
|
10
|
+
indexSizeBytes: number;
|
|
11
|
+
lastBuilt: Date | null;
|
|
12
|
+
}
|
|
4
13
|
declare function stats(db: ScipDatabase): StatsResult;
|
|
5
14
|
|
|
6
|
-
export { stats };
|
|
15
|
+
export { type StatsResult, stats };
|
package/dist/queries/stats.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-AQYBOORI.js";export{a as stats};
|
|
2
2
|
//# sourceMappingURL=stats.js.map
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
import { S as ScipDatabase
|
|
1
|
+
import { S as ScipDatabase } from '../db-DdTPetj5.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
+
import '../config-types-CGIeLEpY.js';
|
|
3
4
|
|
|
5
|
+
interface SurfaceResult {
|
|
6
|
+
consumer: string;
|
|
7
|
+
symbol: string;
|
|
8
|
+
shortName: string;
|
|
9
|
+
}
|
|
4
10
|
/** Public API surface: what symbols do external consumers actually use from this module? */
|
|
5
11
|
declare function surface(db: ScipDatabase, modulePattern: string): SurfaceResult[];
|
|
6
12
|
|
|
7
|
-
export { surface };
|
|
13
|
+
export { type SurfaceResult, surface };
|
package/dist/queries/surface.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-WODJHE6Z.js";import"../chunk-DFK54IRN.js";import"../chunk-QAEDNTY7.js";import"../chunk-NKJKI6SE.js";import"../chunk-IODTPF5H.js";import"../chunk-ARBZM2NF.js";import"../chunk-JB4PUN5S.js";import"../chunk-7O4MJYIW.js";import"../chunk-ZNUPGRPR.js";import"../chunk-RCJEFQOK.js";import"../chunk-BOVNTAKQ.js";import"../chunk-KJ6CW6EK.js";import"../chunk-7OX2O53H.js";import"../chunk-5TT47UMX.js";import"../chunk-NHDPYW7O.js";import"../chunk-NN3O7TPH.js";export{a as surface};
|
|
2
2
|
//# sourceMappingURL=surface.js.map
|
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
import { S as ScipDatabase
|
|
1
|
+
import { S as ScipDatabase } from '../db-DdTPetj5.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
+
import '../config-types-CGIeLEpY.js';
|
|
3
4
|
|
|
5
|
+
interface SymbolResult {
|
|
6
|
+
startLine: number;
|
|
7
|
+
endLine: number;
|
|
8
|
+
symbol: string;
|
|
9
|
+
shortName: string;
|
|
10
|
+
signature: string | null;
|
|
11
|
+
}
|
|
4
12
|
declare function symbols(db: ScipDatabase, filePattern: string): SymbolResult[];
|
|
5
13
|
|
|
6
|
-
export { symbols };
|
|
14
|
+
export { type SymbolResult, symbols };
|
package/dist/queries/symbols.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-CKIO6SVS.js";import"../chunk-DFK54IRN.js";import"../chunk-ZNUPGRPR.js";import"../chunk-7OX2O53H.js";import"../chunk-5TT47UMX.js";import"../chunk-NHDPYW7O.js";import"../chunk-NN3O7TPH.js";export{a as symbols};
|
|
2
2
|
//# sourceMappingURL=symbols.js.map
|
package/dist/queries/system.d.ts
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
|
-
import { S as ScipDatabase
|
|
1
|
+
import { S as ScipDatabase } from '../db-DdTPetj5.js';
|
|
2
|
+
import { SymbolResult } from './symbols.js';
|
|
2
3
|
import 'better-sqlite3';
|
|
4
|
+
import '../config-types-CGIeLEpY.js';
|
|
3
5
|
|
|
6
|
+
interface SystemResult {
|
|
7
|
+
files: string[];
|
|
8
|
+
symbols: SymbolResult[];
|
|
9
|
+
dependsOn: string[];
|
|
10
|
+
dependedOnBy: string[];
|
|
11
|
+
}
|
|
4
12
|
/** Full system map for a module path: files, symbols, deps in/out.
|
|
5
13
|
*
|
|
6
14
|
* Exported-symbol ranges come from getDefinitionsForFile so they are
|
|
@@ -8,4 +16,4 @@ import 'better-sqlite3';
|
|
|
8
16
|
*/
|
|
9
17
|
declare function system(db: ScipDatabase, modulePattern: string): SystemResult;
|
|
10
18
|
|
|
11
|
-
export { system };
|
|
19
|
+
export { type SystemResult, system };
|
package/dist/queries/system.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-WPLKHAH7.js";import"../chunk-DFK54IRN.js";import"../chunk-ZNUPGRPR.js";import"../chunk-7OX2O53H.js";import"../chunk-5TT47UMX.js";import"../chunk-NHDPYW7O.js";import"../chunk-NN3O7TPH.js";export{a as system};
|
|
2
2
|
//# sourceMappingURL=system.js.map
|
package/dist/queries/trace.d.ts
CHANGED
|
@@ -1,8 +1,24 @@
|
|
|
1
|
-
import { S as ScipDatabase
|
|
1
|
+
import { S as ScipDatabase } from '../db-DdTPetj5.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
+
import '../config-types-CGIeLEpY.js';
|
|
3
4
|
|
|
5
|
+
interface TraceResult {
|
|
6
|
+
definitions: Array<{
|
|
7
|
+
relativePath: string;
|
|
8
|
+
startLine: number;
|
|
9
|
+
endLine: number;
|
|
10
|
+
signature: string | null;
|
|
11
|
+
source: string | null;
|
|
12
|
+
}>;
|
|
13
|
+
referencedBy: Array<{
|
|
14
|
+
relativePath: string;
|
|
15
|
+
line: number;
|
|
16
|
+
enclosingSymbol: string | null;
|
|
17
|
+
enclosingShort: string;
|
|
18
|
+
}>;
|
|
19
|
+
}
|
|
4
20
|
declare function trace(db: ScipDatabase, symbolPattern: string, opts?: {
|
|
5
21
|
semantic?: boolean;
|
|
6
22
|
}): TraceResult;
|
|
7
23
|
|
|
8
|
-
export { trace };
|
|
24
|
+
export { type TraceResult, trace };
|
package/dist/queries/trace.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-J6Z5YKGQ.js";import"../chunk-JB4PUN5S.js";import"../chunk-7O4MJYIW.js";import"../chunk-ZNUPGRPR.js";import"../chunk-RCJEFQOK.js";import"../chunk-BOVNTAKQ.js";import"../chunk-KJ6CW6EK.js";import"../chunk-7OX2O53H.js";import"../chunk-5TT47UMX.js";import"../chunk-NHDPYW7O.js";import"../chunk-NN3O7TPH.js";export{a as trace};
|
|
2
2
|
//# sourceMappingURL=trace.js.map
|
|
@@ -1,6 +1,18 @@
|
|
|
1
|
-
import { S as ScipDatabase
|
|
1
|
+
import { S as ScipDatabase } from '../db-DdTPetj5.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
+
import '../config-types-CGIeLEpY.js';
|
|
3
4
|
|
|
5
|
+
interface WrapperCandidate {
|
|
6
|
+
symbol: string;
|
|
7
|
+
shortName: string;
|
|
8
|
+
file: string;
|
|
9
|
+
startLine: number;
|
|
10
|
+
endLine: number;
|
|
11
|
+
loc: number;
|
|
12
|
+
singleCaller: string;
|
|
13
|
+
singleCallerShort: string;
|
|
14
|
+
callerFanIn: number;
|
|
15
|
+
}
|
|
4
16
|
/**
|
|
5
17
|
* Find wrapper candidates: symbols called by only one other symbol.
|
|
6
18
|
*
|
|
@@ -16,4 +28,4 @@ declare function wrapperCandidates(db: ScipDatabase, opts?: {
|
|
|
16
28
|
semantic?: boolean;
|
|
17
29
|
}): WrapperCandidate[];
|
|
18
30
|
|
|
19
|
-
export { wrapperCandidates };
|
|
31
|
+
export { type WrapperCandidate, wrapperCandidates };
|