scip-query 0.6.1 → 0.6.2
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/dist/{chunk-FCC3XJTI.js → chunk-26LSAIEP.js} +2 -2
- package/dist/{chunk-SG35Y7J2.js → chunk-2HEJQBMS.js} +2 -2
- package/dist/chunk-3FG3VLK3.js +65 -0
- package/dist/{chunk-DE5ZBHMK.js → chunk-3J463LOK.js} +2 -2
- package/dist/{chunk-XVDASCN7.js → chunk-3QJ2NOYG.js} +2 -2
- package/dist/{chunk-AJ5PWKD4.js → chunk-3T53QAUS.js} +2 -2
- package/dist/chunk-435YC4OF.js +2 -0
- package/dist/chunk-4LBOHXT7.js +6 -0
- package/dist/chunk-5IM4IQ6N.js +2 -0
- package/dist/{chunk-BDBRZPX3.js → chunk-5NRGSXZQ.js} +2 -2
- package/dist/chunk-5V76WMMZ.js +5 -0
- package/dist/{chunk-HMKJTAZD.js → chunk-5VU2RVKI.js} +2 -2
- package/dist/{chunk-NTDA4A2D.js → chunk-5W22HCSF.js} +2 -2
- package/dist/{chunk-IBGBI3VU.js → chunk-67UXTIFZ.js} +2 -2
- package/dist/{chunk-SDX6MDBL.js → chunk-6ALIV5SZ.js} +2 -2
- package/dist/{chunk-K5FQFCSN.js → chunk-6CTMG3IF.js} +2 -2
- package/dist/{chunk-BQ3INTYT.js → chunk-6XP3KWHC.js} +2 -2
- package/dist/chunk-7DKDFRXQ.js +7 -0
- package/dist/{chunk-LX4H4LLG.js → chunk-7NEBSLI3.js} +2 -2
- package/dist/chunk-AEMTUHQ7.js +2 -0
- package/dist/{chunk-Y7LOQSWY.js → chunk-AVLUWGXG.js} +2 -2
- package/dist/chunk-AZQ3ENHU.js +2 -0
- package/dist/{chunk-ZXKURFVB.js → chunk-AZTWY4OT.js} +2 -2
- package/dist/{chunk-BE6EQIWY.js → chunk-CHW7433E.js} +2 -2
- package/dist/chunk-CW5K3KIF.js +12 -0
- package/dist/{chunk-ZSRXMNMK.js → chunk-F6F2QUIH.js} +3 -3
- package/dist/{chunk-D7KLLMPB.js → chunk-FJV7QT4G.js} +2 -2
- package/dist/chunk-FPDWFGBQ.js +19 -0
- package/dist/chunk-G2SX5EHW.js +2 -0
- package/dist/{chunk-RWE6FHG3.js → chunk-GK6VXKLY.js} +2 -2
- package/dist/{chunk-STOGKRJH.js → chunk-HS5LX75F.js} +2 -2
- package/dist/{chunk-D7YBWSON.js → chunk-HS65NNKP.js} +2 -2
- package/dist/{chunk-DHYIJHXZ.js → chunk-LKCPNPHH.js} +2 -2
- package/dist/{chunk-JS2RNIC7.js → chunk-MQ5FKM2F.js} +2 -2
- package/dist/{chunk-WTSTDJZ7.js → chunk-NFOSOUH6.js} +2 -2
- package/dist/{chunk-4QJ7LVW5.js → chunk-NLWXQMKR.js} +2 -2
- package/dist/{chunk-YIPCV7M7.js → chunk-ORD3HEWI.js} +2 -2
- package/dist/{chunk-2RLP74AO.js → chunk-OU2D2T4A.js} +2 -2
- package/dist/{chunk-NXMYYHDO.js → chunk-P6IUCZA3.js} +2 -2
- package/dist/{chunk-2DSS2NGF.js → chunk-PU7P5NPE.js} +2 -2
- package/dist/chunk-QSTMORTI.js +2 -0
- package/dist/{chunk-QXE6EDY2.js → chunk-RC2PKZSS.js} +2 -2
- package/dist/chunk-S65VVU3R.js +2 -0
- package/dist/{chunk-IYFZS4PV.js → chunk-SPMLGXCE.js} +5 -5
- package/dist/{chunk-GXVB36TG.js → chunk-T26XHATT.js} +2 -2
- package/dist/chunk-TWYHFB5K.js +2 -0
- package/dist/{chunk-XAZTIDST.js → chunk-TXADWK4I.js} +2 -2
- package/dist/chunk-YRUHPGC3.js +7 -0
- package/dist/chunk-ZJM2HD2Z.js +2 -0
- package/dist/chunk-ZORIMKQO.js +2 -0
- package/dist/cli.js +218 -169
- package/dist/{db-BSTtBG_H.d.ts → db-DKhNQ75l.d.ts} +15 -1
- package/dist/index.d.ts +36 -3
- package/dist/index.js +60 -12
- package/dist/queries/affected.d.ts +1 -1
- package/dist/queries/affected.js +1 -1
- package/dist/queries/bottlenecks.d.ts +1 -1
- package/dist/queries/bottlenecks.js +1 -1
- package/dist/queries/by-kind.d.ts +1 -1
- package/dist/queries/by-kind.js +1 -1
- package/dist/queries/call-graph.d.ts +1 -1
- package/dist/queries/call-graph.js +1 -1
- package/dist/queries/change-surface.d.ts +1 -1
- package/dist/queries/change-surface.js +1 -1
- package/dist/queries/code.d.ts +1 -1
- package/dist/queries/code.js +1 -1
- package/dist/queries/complexity-hotspots.d.ts +1 -1
- package/dist/queries/complexity-hotspots.js +1 -1
- package/dist/queries/complexity.d.ts +1 -1
- package/dist/queries/complexity.js +1 -1
- package/dist/queries/convergence.d.ts +1 -1
- package/dist/queries/convergence.js +1 -1
- package/dist/queries/coupling.d.ts +1 -1
- package/dist/queries/coupling.js +1 -1
- package/dist/queries/cycles.d.ts +1 -1
- package/dist/queries/cycles.js +1 -1
- package/dist/queries/dataflow.d.ts +1 -1
- package/dist/queries/dataflow.js +1 -1
- package/dist/queries/dead.d.ts +1 -1
- package/dist/queries/dead.js +1 -1
- package/dist/queries/deep-chains.d.ts +1 -1
- package/dist/queries/deep-chains.js +1 -1
- package/dist/queries/deps.d.ts +1 -1
- package/dist/queries/deps.js +1 -1
- package/dist/queries/diff-impact.d.ts +1 -1
- package/dist/queries/diff-impact.js +1 -1
- package/dist/queries/drift.d.ts +1 -1
- package/dist/queries/drift.js +1 -1
- package/dist/queries/extract-candidates.d.ts +1 -1
- package/dist/queries/extract-candidates.js +1 -1
- package/dist/queries/fan.d.ts +1 -1
- package/dist/queries/fan.js +1 -1
- package/dist/queries/files.d.ts +1 -1
- package/dist/queries/health.d.ts +1 -1
- package/dist/queries/health.js +1 -1
- package/dist/queries/hierarchy.d.ts +1 -1
- package/dist/queries/hierarchy.js +1 -1
- package/dist/queries/hotspots.d.ts +1 -1
- package/dist/queries/hotspots.js +1 -1
- package/dist/queries/imports.d.ts +1 -1
- package/dist/queries/imports.js +1 -1
- package/dist/queries/index.d.ts +1 -1
- package/dist/queries/index.js +1 -1
- package/dist/queries/isolated.d.ts +1 -1
- package/dist/queries/isolated.js +1 -1
- package/dist/queries/members.d.ts +1 -1
- package/dist/queries/members.js +1 -1
- package/dist/queries/methods.d.ts +1 -1
- package/dist/queries/methods.js +1 -1
- package/dist/queries/outline.d.ts +1 -1
- package/dist/queries/outline.js +1 -1
- package/dist/queries/passthrough-candidates.d.ts +1 -1
- package/dist/queries/passthrough-candidates.js +1 -1
- package/dist/queries/redundant-reexports.d.ts +1 -1
- package/dist/queries/redundant-reexports.js +1 -1
- package/dist/queries/refs.d.ts +1 -1
- package/dist/queries/refs.js +1 -1
- package/dist/queries/similar-chains.d.ts +1 -1
- package/dist/queries/similar-chains.js +1 -1
- package/dist/queries/similar-files.d.ts +1 -1
- package/dist/queries/similar-files.js +1 -1
- package/dist/queries/similar-signatures.d.ts +1 -1
- package/dist/queries/similar-signatures.js +1 -1
- package/dist/queries/similar.d.ts +1 -1
- package/dist/queries/similar.js +1 -1
- package/dist/queries/slice.d.ts +1 -1
- package/dist/queries/slice.js +1 -1
- package/dist/queries/stale-abstractions.d.ts +2 -1
- package/dist/queries/stale-abstractions.js +1 -1
- package/dist/queries/stats.d.ts +1 -1
- package/dist/queries/surface.d.ts +1 -1
- package/dist/queries/surface.js +1 -1
- package/dist/queries/symbols.d.ts +1 -1
- package/dist/queries/symbols.js +1 -1
- package/dist/queries/system.d.ts +1 -1
- package/dist/queries/system.js +1 -1
- package/dist/queries/trace.d.ts +1 -1
- package/dist/queries/trace.js +1 -1
- package/dist/queries/wrapper-candidates.d.ts +1 -1
- package/dist/queries/wrapper-candidates.js +1 -1
- package/dist/reindex-worker.js +63 -5
- package/package.json +15 -16
- package/skills/concrete-plan/SKILL.md +48 -22
- package/dist/chunk-5IADAU5B.js +0 -7
- package/dist/chunk-7754WFFV.js +0 -18
- package/dist/chunk-7VOF4ZG6.js +0 -2
- package/dist/chunk-7Z4COVMC.js +0 -2
- package/dist/chunk-EEF3YEHW.js +0 -2
- package/dist/chunk-F2LLHRRZ.js +0 -2
- package/dist/chunk-GNXRLK5G.js +0 -2
- package/dist/chunk-JH3A7HTU.js +0 -2
- package/dist/chunk-K6GBKEQE.js +0 -6
- package/dist/chunk-KO7YJRWP.js +0 -12
- package/dist/chunk-PZ6ESKRH.js +0 -7
- package/dist/chunk-RJ7SPBJ5.js +0 -5
- package/dist/chunk-TINPMWJK.js +0 -2
- package/dist/chunk-UJB62HV3.js +0 -2
- package/dist/chunk-VEUMRDHW.js +0 -2
- package/dist/chunk-WCDXJGYT.js +0 -65
- package/dist/chunk-Y7H6D2EV.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-P6IUCZA3.js";import"../chunk-5IM4IQ6N.js";export{a as diffImpact};
|
|
2
2
|
//# sourceMappingURL=diff-impact.js.map
|
package/dist/queries/drift.d.ts
CHANGED
package/dist/queries/drift.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-FPDWFGBQ.js";import"../chunk-QSTMORTI.js";import"../chunk-AEMTUHQ7.js";import"../chunk-F6F2QUIH.js";import"../chunk-3FG3VLK3.js";import"../chunk-6XP3KWHC.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as drift};
|
|
2
2
|
//# sourceMappingURL=drift.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-G2SX5EHW.js";import"../chunk-AEMTUHQ7.js";import"../chunk-F6F2QUIH.js";import"../chunk-3FG3VLK3.js";import"../chunk-6XP3KWHC.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as extractCandidates};
|
|
2
2
|
//# sourceMappingURL=extract-candidates.js.map
|
package/dist/queries/fan.d.ts
CHANGED
package/dist/queries/fan.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d}from"../chunk-
|
|
1
|
+
import{a,b,c,d}from"../chunk-T26XHATT.js";import"../chunk-NFOSOUH6.js";import"../chunk-3FG3VLK3.js";import"../chunk-6XP3KWHC.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as fanIn,b as fanOut,c as topFanIn,d as topFanOut};
|
|
2
2
|
//# sourceMappingURL=fan.js.map
|
package/dist/queries/files.d.ts
CHANGED
package/dist/queries/health.d.ts
CHANGED
package/dist/queries/health.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-ZJM2HD2Z.js";import"../chunk-YRUHPGC3.js";import"../chunk-4LBOHXT7.js";import"../chunk-LORWXBOO.js";import"../chunk-5V76WMMZ.js";import"../chunk-N3Z2SJCR.js";import"../chunk-AZQ3ENHU.js";import"../chunk-TWYHFB5K.js";import"../chunk-FPDWFGBQ.js";import"../chunk-G2SX5EHW.js";import"../chunk-435YC4OF.js";import"../chunk-CW5K3KIF.js";import"../chunk-QSTMORTI.js";import"../chunk-S65VVU3R.js";import"../chunk-AEMTUHQ7.js";import"../chunk-F6F2QUIH.js";import"../chunk-3FG3VLK3.js";import"../chunk-6XP3KWHC.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as health};
|
|
2
2
|
//# sourceMappingURL=health.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-GK6VXKLY.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as hierarchy};
|
|
2
2
|
//# sourceMappingURL=hierarchy.js.map
|
package/dist/queries/hotspots.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-5W22HCSF.js";import"../chunk-3FG3VLK3.js";import"../chunk-6XP3KWHC.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as hotspots};
|
|
2
2
|
//# sourceMappingURL=hotspots.js.map
|
package/dist/queries/imports.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c}from"../chunk-
|
|
1
|
+
import{a,b,c}from"../chunk-3J463LOK.js";import"../chunk-NFOSOUH6.js";import"../chunk-6XP3KWHC.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{b as importedBy,a as imports,c as unusedImports};
|
|
2
2
|
//# sourceMappingURL=imports.js.map
|
package/dist/queries/index.d.ts
CHANGED
|
@@ -41,5 +41,5 @@ export { dataflow } from './dataflow.js';
|
|
|
41
41
|
export { slice } from './slice.js';
|
|
42
42
|
export { redundantReexports } from './redundant-reexports.js';
|
|
43
43
|
export { similarSignatures } from './similar-signatures.js';
|
|
44
|
-
import '../db-
|
|
44
|
+
import '../db-DKhNQ75l.js';
|
|
45
45
|
import 'better-sqlite3';
|
package/dist/queries/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunk-FVH3Y44U.js";import{a as j}from"../chunk-
|
|
1
|
+
import"../chunk-FVH3Y44U.js";import{a as j}from"../chunk-HS65NNKP.js";import{a as c}from"../chunk-ZORIMKQO.js";import{a as i}from"../chunk-3QJ2NOYG.js";import{a as f}from"../chunk-HS5LX75F.js";import{a as e}from"../chunk-7DKDFRXQ.js";import{a as I}from"../chunk-AVLUWGXG.js";import{a as H}from"../chunk-NLWXQMKR.js";import{a as Z}from"../chunk-TXADWK4I.js";import{a as X}from"../chunk-3T53QAUS.js";import{a as m,b as n,c as o}from"../chunk-3J463LOK.js";import{a as q}from"../chunk-CHW7433E.js";import{a as d}from"../chunk-MQ5FKM2F.js";import{a as p}from"../chunk-OU2D2T4A.js";import{a as Y}from"../chunk-ORD3HEWI.js";import{a as M}from"../chunk-P6IUCZA3.js";import{a as r,b as s,c as t,d as u}from"../chunk-T26XHATT.js";import{a as b}from"../chunk-KYT47WU2.js";import{a as S}from"../chunk-ZJM2HD2Z.js";import{a as O}from"../chunk-YRUHPGC3.js";import{a as F,b as G}from"../chunk-4LBOHXT7.js";import"../chunk-LORWXBOO.js";import{a as Q}from"../chunk-5V76WMMZ.js";import{a}from"../chunk-N3Z2SJCR.js";import{a as z}from"../chunk-AZQ3ENHU.js";import{a as P}from"../chunk-TWYHFB5K.js";import{a as N}from"../chunk-FPDWFGBQ.js";import{a as J}from"../chunk-G2SX5EHW.js";import{a as D}from"../chunk-GK6VXKLY.js";import{a as l}from"../chunk-5W22HCSF.js";import{a as V}from"../chunk-5NRGSXZQ.js";import{a as T}from"../chunk-5VU2RVKI.js";import{a as v,b as w}from"../chunk-AZTWY4OT.js";import{a as x}from"../chunk-435YC4OF.js";import{a as W}from"../chunk-2HEJQBMS.js";import{a as k}from"../chunk-CW5K3KIF.js";import"../chunk-QSTMORTI.js";import{a as C}from"../chunk-67UXTIFZ.js";import{a as g,b as h}from"../chunk-LKCPNPHH.js";import{a as K}from"../chunk-FJV7QT4G.js";import{a as y}from"../chunk-6CTMG3IF.js";import{a as A,b as B}from"../chunk-6ALIV5SZ.js";import{a as E}from"../chunk-26LSAIEP.js";import{a as L}from"../chunk-PU7P5NPE.js";import{a as U}from"../chunk-RC2PKZSS.js";import"../chunk-NFOSOUH6.js";import{a as R}from"../chunk-S65VVU3R.js";import"../chunk-AEMTUHQ7.js";import"../chunk-F6F2QUIH.js";import"../chunk-3FG3VLK3.js";import"../chunk-6XP3KWHC.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{K as affected,y as bottlenecks,A as byKind,E as callGraph,L as changeSurface,U as code,V as complexity,R as complexityHotspots,T as convergence,v as coupling,x as cycles,W as dataflow,k as dead,C as deepChains,g as deps,M as diffImpact,N as drift,J as extractCandidates,r as fanIn,s as fanOut,b as files,S as health,D as hierarchy,l as hotspots,n as importedBy,m as imports,z as isolated,B as kindCounts,q as members,d as methods,p as outline,P as passthroughCandidates,h as rdeps,Y as redundantReexports,e as refs,F as similar,G as similarAll,I as similarChains,H as similarFiles,Z as similarSignatures,X as slice,Q as staleAbstractions,a as stats,j as surface,c as symbols,i as system,w as topCoupling,t as topFanIn,u as topFanOut,f as trace,o as unusedImports,O as wrapperCandidates};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/queries/isolated.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-AZQ3ENHU.js";import"../chunk-QSTMORTI.js";import"../chunk-AEMTUHQ7.js";import"../chunk-F6F2QUIH.js";import"../chunk-3FG3VLK3.js";import"../chunk-6XP3KWHC.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as isolated};
|
|
2
2
|
//# sourceMappingURL=isolated.js.map
|
package/dist/queries/members.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-CHW7433E.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as members};
|
|
2
2
|
//# sourceMappingURL=members.js.map
|
package/dist/queries/methods.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-MQ5FKM2F.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as methods};
|
|
2
2
|
//# sourceMappingURL=methods.js.map
|
package/dist/queries/outline.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-OU2D2T4A.js";import"../chunk-NFOSOUH6.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as outline};
|
|
2
2
|
//# sourceMappingURL=outline.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-TWYHFB5K.js";import"../chunk-3FG3VLK3.js";import"../chunk-6XP3KWHC.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as passthroughCandidates};
|
|
2
2
|
//# sourceMappingURL=passthrough-candidates.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-ORD3HEWI.js";import"../chunk-AEMTUHQ7.js";import"../chunk-F6F2QUIH.js";import"../chunk-3FG3VLK3.js";import"../chunk-6XP3KWHC.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as redundantReexports};
|
|
2
2
|
//# sourceMappingURL=redundant-reexports.js.map
|
package/dist/queries/refs.d.ts
CHANGED
package/dist/queries/refs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-7DKDFRXQ.js";import"../chunk-QSTMORTI.js";import"../chunk-F6F2QUIH.js";import"../chunk-3FG3VLK3.js";import"../chunk-6XP3KWHC.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as refs};
|
|
2
2
|
//# sourceMappingURL=refs.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-AVLUWGXG.js";import"../chunk-3FG3VLK3.js";import"../chunk-6XP3KWHC.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as similarChains};
|
|
2
2
|
//# sourceMappingURL=similar-chains.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-NLWXQMKR.js";import"../chunk-LORWXBOO.js";import"../chunk-3FG3VLK3.js";import"../chunk-6XP3KWHC.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as similarFiles};
|
|
2
2
|
//# sourceMappingURL=similar-files.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-TXADWK4I.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as similarSignatures};
|
|
2
2
|
//# sourceMappingURL=similar-signatures.js.map
|
package/dist/queries/similar.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../chunk-
|
|
1
|
+
import{a,b}from"../chunk-4LBOHXT7.js";import"../chunk-LORWXBOO.js";import"../chunk-AEMTUHQ7.js";import"../chunk-F6F2QUIH.js";import"../chunk-3FG3VLK3.js";import"../chunk-6XP3KWHC.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as similar,b as similarAll};
|
|
2
2
|
//# sourceMappingURL=similar.js.map
|
package/dist/queries/slice.d.ts
CHANGED
package/dist/queries/slice.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-3T53QAUS.js";import"../chunk-QSTMORTI.js";import"../chunk-F6F2QUIH.js";import"../chunk-3FG3VLK3.js";import"../chunk-6XP3KWHC.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as slice};
|
|
2
2
|
//# sourceMappingURL=slice.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as ScipDatabase, J as StaleAbstraction } from '../db-
|
|
1
|
+
import { S as ScipDatabase, J as StaleAbstraction } from '../db-DKhNQ75l.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -21,6 +21,7 @@ import 'better-sqlite3';
|
|
|
21
21
|
declare function staleAbstractions(db: ScipDatabase, opts?: {
|
|
22
22
|
scope?: string;
|
|
23
23
|
minLoc?: number;
|
|
24
|
+
maxLoc?: number;
|
|
24
25
|
limit?: number;
|
|
25
26
|
includeLowConfidence?: boolean;
|
|
26
27
|
}): StaleAbstraction[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-5V76WMMZ.js";import"../chunk-QSTMORTI.js";import"../chunk-F6F2QUIH.js";import"../chunk-3FG3VLK3.js";import"../chunk-6XP3KWHC.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as staleAbstractions};
|
|
2
2
|
//# sourceMappingURL=stale-abstractions.js.map
|
package/dist/queries/stats.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as ScipDatabase, x as SurfaceResult } from '../db-
|
|
1
|
+
import { S as ScipDatabase, x as SurfaceResult } from '../db-DKhNQ75l.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
3
|
|
|
4
4
|
/** Public API surface: what symbols do external consumers actually use from this module? */
|
package/dist/queries/surface.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-HS65NNKP.js";import"../chunk-NFOSOUH6.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as surface};
|
|
2
2
|
//# sourceMappingURL=surface.js.map
|
package/dist/queries/symbols.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-ZORIMKQO.js";import"../chunk-NFOSOUH6.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as symbols};
|
|
2
2
|
//# sourceMappingURL=symbols.js.map
|
package/dist/queries/system.d.ts
CHANGED
package/dist/queries/system.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-3QJ2NOYG.js";import"../chunk-NFOSOUH6.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as system};
|
|
2
2
|
//# sourceMappingURL=system.js.map
|
package/dist/queries/trace.d.ts
CHANGED
package/dist/queries/trace.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-HS5LX75F.js";import"../chunk-QSTMORTI.js";import"../chunk-F6F2QUIH.js";import"../chunk-3FG3VLK3.js";import"../chunk-6XP3KWHC.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as trace};
|
|
2
2
|
//# sourceMappingURL=trace.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-YRUHPGC3.js";import"../chunk-QSTMORTI.js";import"../chunk-AEMTUHQ7.js";import"../chunk-F6F2QUIH.js";import"../chunk-3FG3VLK3.js";import"../chunk-6XP3KWHC.js";import"../chunk-7NEBSLI3.js";import"../chunk-SPMLGXCE.js";import"../chunk-5IM4IQ6N.js";export{a as wrapperCandidates};
|
|
2
2
|
//# sourceMappingURL=wrapper-candidates.js.map
|
package/dist/reindex-worker.js
CHANGED
|
@@ -1,8 +1,66 @@
|
|
|
1
|
-
import{d as L}from"./chunk-4TYGGOLO.js";import{execFileSync as K}from"child_process";import{existsSync as Q,renameSync as V,rmSync as Ue}from"fs";import{basename as Oe,dirname as Te,extname as Fe,join as v}from"path";import{existsSync as le,readdirSync as w}from"fs";import{extname as ce,join as R}from"path";var pe=new Set([".git",".hg",".svn",".idea",".vscode","node_modules","vendor","dist","build","target","bin","obj",".dart_tool",".gradle",".next",".venv","venv","__pycache__"]),ue=[{language:"typescript",files:["tsconfig.json","tsconfig.base.json"],extensions:[".ts",".tsx",".mts",".cts"]},{language:"rust",files:["Cargo.toml"],extensions:[".rs"]},{language:"go",files:["go.mod"],extensions:[".go"]},{language:"java",files:["pom.xml","build.gradle","build.gradle.kts"],extensions:[".java"]},{language:"kotlin",files:["build.gradle.kts"],extensions:[".kt",".kts"]},{language:"scala",files:["build.sbt"],extensions:[".scala"]},{language:"python",files:["pyproject.toml","setup.py","setup.cfg","Pipfile"],extensions:[".py",".pyi"]},{language:"ruby",files:["Gemfile"],extensions:[".rb"]},{language:"cpp",files:["compile_commands.json","CMakeLists.txt","Makefile"],extensions:[".cc",".cpp",".cxx",".hpp",".hh",".hxx"]},{language:"c",files:["compile_commands.json","CMakeLists.txt","Makefile"],extensions:[".c",".h"]},{language:"csharp",globs:["*.csproj","*.sln"],extensions:[".cs"]},{language:"vb",globs:["*.vbproj"],extensions:[".vb"]},{language:"dart",files:["pubspec.yaml"],extensions:[".dart"]},{language:"php",files:["composer.json"],extensions:[".php"]},{language:"javascript",files:["package.json"],extensions:[".js",".jsx",".mjs",".cjs"]}];function N(e){let n=[],r=ge(e),t=he(e);for(let s of ue){if(de(e,s.files)){n.push(s.language);continue}if(me(r,s.globs)){n.push(s.language);continue}xe(t,s.extensions)&&n.push(s.language)}return n.includes("typescript")&&D(n,"javascript"),n.includes("cpp")&&!t.has(".c")&&D(n,"c"),n}function ge(e){try{return w(e)}catch{return[]}}function de(e,n){return n?.length?n.some(r=>le(R(e,r))):!1}function me(e,n){return n?.length?e.some(r=>n.some(t=>fe(r,t))):!1}function fe(e,n){if(n==="*")return!0;if(!n.includes("*"))return e===n;let[r,t]=n.split("*");return e.startsWith(r??"")&&e.endsWith(t??"")}function he(e){let n=new Set,r=[e];for(;r.length>0;){let t=r.pop();if(!t)continue;let s;try{s=w(t,{withFileTypes:!0})}catch{continue}for(let o of s){if(o.name.startsWith(".")&&!o.name.endsWith("proj")&&!o.name.endsWith("sln")&&o.isDirectory())continue;let u=R(t,o.name);if(o.isDirectory()){pe.has(o.name)||r.push(u);continue}let x=ce(o.name).toLowerCase();x&&n.add(x)}}return n}function xe(e,n){return n?.length?n.some(r=>e.has(r)):!1}function D(e,n){let r=e.indexOf(n);r!==-1&&e.splice(r,1)}import{existsSync as M,readdirSync as ye}from"fs";import{join as I}from"path";var be={typescript:{language:"typescript",indexerBinary:"scip-typescript",checkCommand:"npx scip-typescript --version",indexArgs:({outputPath:e,pnpmWorkspaces:n})=>{let r=["scip-typescript","index","--infer-tsconfig","--output",e,"--no-progress-bar"];return n&&r.splice(2,0,"--pnpm-workspaces"),{binary:"npx",args:r}},markerFiles:["tsconfig.json"],installMethods:[{label:"npm",prerequisite:"npm",binary:"npm",args:["install","-g","@sourcegraph/scip-typescript"]}],installUrl:"https://github.com/sourcegraph/scip-typescript",bundledNpmPackage:"@sourcegraph/scip-typescript"},javascript:{language:"javascript",indexerBinary:"scip-typescript",checkCommand:"npx scip-typescript --version",indexArgs:({outputPath:e})=>({binary:"npx",args:["scip-typescript","index","--infer-tsconfig","--output",e,"--no-progress-bar"]}),markerFiles:["package.json"],installMethods:[{label:"npm",prerequisite:"npm",binary:"npm",args:["install","-g","@sourcegraph/scip-typescript"]}],installUrl:"https://github.com/sourcegraph/scip-typescript",bundledNpmPackage:"@sourcegraph/scip-typescript"},java:{language:"java",indexerBinary:"scip-java",checkCommand:"scip-java --version",indexArgs:({outputPath:e})=>({binary:"scip-java",args:["index","--output",e]}),markerFiles:["pom.xml","build.gradle"],installMethods:[],installUrl:"https://github.com/sourcegraph/scip-java/releases"},scala:{language:"scala",indexerBinary:"scip-java",checkCommand:"scip-java --version",indexArgs:({outputPath:e})=>({binary:"scip-java",args:["index","--output",e]}),markerFiles:["build.sbt"],installMethods:[],installUrl:"https://github.com/sourcegraph/scip-java/releases"},kotlin:{language:"kotlin",indexerBinary:"scip-java",checkCommand:"scip-java --version",indexArgs:({outputPath:e})=>({binary:"scip-java",args:["index","--output",e]}),markerFiles:["build.gradle.kts"],installMethods:[],installUrl:"https://github.com/sourcegraph/scip-java/releases"},rust:{language:"rust",indexerBinary:"rust-analyzer",checkCommand:"rust-analyzer --version",indexArgs:({outputPath:e})=>({binary:"rust-analyzer",args:["scip",".","--output",e]}),markerFiles:["Cargo.toml"],installMethods:[{label:"rustup",prerequisite:"rustup",binary:"rustup",args:["component","add","rust-analyzer"]}],installUrl:"https://github.com/rust-lang/rust-analyzer"},python:{language:"python",indexerBinary:"scip-python",binaryAliases:["scip-python-plus"],checkCommand:"npx scip-python --version",indexArgs:({outputPath:e})=>({binary:"npx",args:["scip-python","index","--output",e,"--project-name","project"]}),markerFiles:["pyproject.toml","setup.py"],installMethods:[{label:"npm",prerequisite:"npm",binary:"npm",args:["install","-g","scip-python-plus"]}],installUrl:"https://github.com/PlunderStruck/scip-python",bundledNpmPackage:"scip-python-plus"},ruby:{language:"ruby",indexerBinary:"scip-ruby",checkCommand:"scip-ruby --version",indexArgs:({indexerBinary:e})=>({binary:e,args:["--dir","."]}),defaultOutputPath:"index.scip",markerFiles:["Gemfile"],installMethods:[],installUrl:"https://github.com/sourcegraph/scip-ruby/releases"},go:{language:"go",indexerBinary:"scip-go",checkCommand:"scip-go --version",indexArgs:({outputPath:e})=>({binary:"scip-go",args:["--output",e]}),markerFiles:["go.mod"],installMethods:[{label:"go install",prerequisite:"go",binary:"go",args:["install","github.com/sourcegraph/scip-go@latest"]}],installUrl:"https://github.com/sourcegraph/scip-go"},cpp:{language:"cpp",indexerBinary:"scip-clang",checkCommand:"scip-clang --version",indexArgs:({outputPath:e})=>({binary:"scip-clang",args:["--compdb-path","compile_commands.json","--index-output-path",e]}),markerFiles:["CMakeLists.txt","Makefile"],installMethods:[],installUrl:"https://github.com/sourcegraph/scip-clang/releases"},c:{language:"c",indexerBinary:"scip-clang",checkCommand:"scip-clang --version",indexArgs:({outputPath:e})=>({binary:"scip-clang",args:["--compdb-path","compile_commands.json","--index-output-path",e]}),markerFiles:["CMakeLists.txt","Makefile"],installMethods:[],installUrl:"https://github.com/sourcegraph/scip-clang/releases"},csharp:{language:"csharp",indexerBinary:"scip-dotnet",checkCommand:"scip-dotnet --version",indexArgs:({projectRoot:e,outputPath:n})=>({binary:"scip-dotnet",args:["index",_(e,[".sln",".csproj"])??e,"--output",n,"--working-directory",e]}),markerFiles:["*.csproj","*.sln"],installMethods:[{label:"dotnet",prerequisite:"dotnet",binary:"dotnet",args:["tool","install","--global","scip-dotnet"]}],installUrl:"https://github.com/sourcegraph/scip-dotnet/releases"},vb:{language:"vb",indexerBinary:"scip-dotnet",checkCommand:"scip-dotnet --version",indexArgs:({projectRoot:e,outputPath:n})=>({binary:"scip-dotnet",args:["index",_(e,[".sln",".vbproj"])??e,"--output",n,"--working-directory",e]}),markerFiles:["*.vbproj","*.sln"],installMethods:[{label:"dotnet",prerequisite:"dotnet",binary:"dotnet",args:["tool","install","--global","scip-dotnet"]}],installUrl:"https://github.com/sourcegraph/scip-dotnet/releases"},dart:{language:"dart",indexerBinary:"scip-dart",checkCommand:"scip-dart --version",indexArgs:({indexerBinary:e,outputPath:n})=>({binary:e,args:["--output",n]}),markerFiles:["pubspec.yaml"],installMethods:[{label:"dart pub",prerequisite:"dart",binary:"dart",args:["pub","global","activate","scip_dart"]}],installUrl:"https://github.com/Workiva/scip-dart/releases"},php:{language:"php",indexerBinary:"scip-php",projectLocalBinaries:["vendor/davidrjenni/scip-php/bin/scip-php","vendor/bin/scip-php"],checkCommand:"scip-php --version",indexArgs:({projectRoot:e,indexerBinary:n})=>{let r=I(e,"vendor","bin","scip-php"),t=I(e,"vendor","davidrjenni","scip-php","bin","scip-php");return{binary:"php",args:["-d","error_reporting=E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED",M(t)?t:M(r)?r:n]}},defaultOutputPath:"index.scip",markerFiles:["composer.json"],installMethods:[],installUrl:"https://github.com/davidrjenni/scip-php/releases"}};function A(e){return be[e]}function _(e,n){let r;try{r=ye(e)}catch{return null}for(let t of r)if(n.some(s=>t.endsWith(s)))return I(e,t);return null}import{readFileSync as ve,writeFileSync as Ie}from"fs";import{create as S}from"@bufbuild/protobuf";import{deserializeSCIP as Se,serializeSCIP as ke,DocumentSchema as Ce,IndexSchema as je,SymbolInformationSchema as Pe}from"@c4312/scip";function Ee(e){if(e.length===0)throw new Error("Cannot merge zero SCIP indexes");if(e.length===1)return e[0];let n=$e(e),r=Be(e.flatMap(s=>s.documents??[])),t=O(e.flatMap(s=>s.externalSymbols??[]));return S(je,{metadata:n,documents:r,externalSymbols:t})}function U(e,n){if(e.length===0)throw new Error("Cannot merge zero SCIP files");let r=e.map(s=>Se(ve(s))),t=Ee(r);return Ie(n,Buffer.from(ke(t))),{documentCount:t.documents.length,externalSymbolCount:t.externalSymbols.length,inputCount:e.length}}function $e(e){let n=e[0]?.metadata;if(!n)return;let r=n.projectRoot;for(let t of e.slice(1)){let s=t.metadata?.projectRoot;if(r&&s&&s!==r)throw new Error(`Cannot merge SCIP indexes with different project roots: ${r} vs ${s}`)}return n}function Be(e){let n=new Map;for(let r of e){let t=n.get(r.relativePath);if(!t){n.set(r.relativePath,r);continue}n.set(r.relativePath,S(Ce,{language:t.language||r.language,relativePath:t.relativePath||r.relativePath,occurrences:[...t.occurrences,...r.occurrences],symbols:O([...t.symbols,...r.symbols]),text:De(t.text,r.text),positionEncoding:t.positionEncoding||r.positionEncoding}))}return[...n.values()]}function O(e){let n=new Map;for(let r of e){let t=n.get(r.symbol);if(!t){n.set(r.symbol,r);continue}n.set(r.symbol,S(Pe,{symbol:t.symbol,documentation:we([...t.documentation,...r.documentation]),relationships:Le([...t.relationships,...r.relationships]),kind:t.kind||r.kind,displayName:t.displayName||r.displayName,enclosingSymbol:t.enclosingSymbol||r.enclosingSymbol,signatureDocumentation:t.signatureDocumentation??r.signatureDocumentation}))}return[...n.values()]}function Le(e){let n=new Set,r=[];for(let t of e){let s=[t.symbol,t.isReference?"1":"0",t.isImplementation?"1":"0",t.isTypeDefinition?"1":"0",t.isDefinition?"1":"0"].join("|");n.has(s)||(n.add(s),r.push(t))}return r}function De(e,n){return e?n?e.length>=n.length?e:n:e:n}function we(e){return[...new Set(e)]}import{execFileSync as y}from"child_process";import{existsSync as k}from"fs";import{createRequire as Re}from"module";import{platform as T}from"os";import{join as F}from"path";var Ne=Re(import.meta.url),Me=T()==="win32";function h(e){let n=Me?"where":"which";try{return y(n,[e],{stdio:"pipe"}),!0}catch{return!1}}function q(e){return[e.indexerBinary,...e.binaryAliases??[]]}function C(e){let n=q(e);return n.length===1?n[0]:n.join(" or ")}function b(e){for(let n of q(e))if(h(n))return n;return G(e)?e.indexerBinary:null}function W(e){return b(e)!==null||G(e)}function G(e){if(!e.bundledNpmPackage)return!1;try{return Ne.resolve(`${e.bundledNpmPackage}/package.json`),!0}catch{return!1}}function z(e,n){for(let r of e.projectLocalBinaries??[]){let t=F(n,r);if(k(t))return t}return null}function H(e,n=process.env,r=e.indexerBinary){if(e.indexerBinary!=="scip-dotnet"||J(r,n))return n;let t=_e(r,n);return t?{...n,DOTNET_ROOT:t}:n}function X(e,n){let r=e.installMethods,t=C(e);if(!r?.length)return n(`No auto-install method available for ${t}.`),e.installUrl&&n(`Install manually from: ${e.installUrl}`),!1;for(let s of r)if(h(s.prerequisite)){n(`Installing ${t} via ${s.label}...`);try{y(s.binary,s.args,{stdio:"inherit",timeout:3e5,env:process.env});let o=b(e);if(o){let u=o===e.indexerBinary?"":` (using ${o})`;return n(`Successfully installed ${t} via ${s.label}${u}`),!0}n(`${s.label} command completed but ${t} was not found on PATH`)}catch(o){let u=o instanceof Error?o.message:String(o);n(`${s.label} install failed: ${u}`)}}return n(`Could not auto-install ${t}.`),e.installUrl&&n(`Install manually from: ${e.installUrl}`),!1}function _e(e,n){for(let r of Ae(n))if(J(e,{...n,DOTNET_ROOT:r}))return r;return null}function Ae(e){let n=[],r=e.DOTNET_ROOT;if(r&&k(r)&&n.push(r),T()==="darwin"&&h("brew"))try{let t=y("brew",["--prefix","dotnet@9"],{stdio:"pipe",env:e}).toString().trim(),s=F(t,"libexec");k(s)&&!n.includes(s)&&n.push(s)}catch{}return n}function J(e,n){try{return y(e,["--version"],{stdio:"pipe",env:n}),!0}catch{return!1}}async function Y(e){let{projectRoot:n,maxHeapMb:r=8192,onStatus:t=console.log,skipAutoInstall:s=!1}=e,o=e.outputScip??v(n,"index.scip"),u=e.outputDb??v(n,"index.db"),x=Date.now(),d=e.languages??N(n);if(d.length===0)throw new Error("No supported languages detected in this project. Looked for: tsconfig.json, Cargo.toml, go.mod, pyproject.toml, etc.");if(t(`Detected languages: ${d.join(", ")}`),!h("scip")){if(s)throw new Error(`The scip CLI is required but not found on PATH.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import{d as R}from"./chunk-4TYGGOLO.js";import{execFileSync as ae}from"child_process";import{existsSync as le,renameSync as ce,rmSync as un}from"fs";import{basename as pn,dirname as gn,extname as dn,join as C}from"path";import De from"better-sqlite3";import{existsSync as Ee,readdirSync as we,readFileSync as _e}from"fs";import{extname as D,join as U}from"path";import ve from"ignore";import{readFileSync as Se,existsSync as P}from"fs";import{dirname as k,isAbsolute as N,join as j,relative as Ie,resolve as Ce}from"path";function M(e){let n=ve(),r=!1,t=Pe(e);for(let i of t)try{let s=Se(i,"utf-8");n.add(s),r=!0}catch{}return r||n.add(ke),{isIgnored:i=>B(n,e,i),filter:i=>i.filter(s=>!B(n,e,s))}}function Pe(e){let n=[],r=j(e,".gitignore");P(r)&&n.push(r);let t=k(e),i=0;for(;t!==k(t)&&i<5;){let s=j(t,".gitignore");if(P(s)&&n.push(s),P(j(t,".git")))break;t=k(t),i++}return n}var ke=`
|
|
2
|
+
# Dependencies
|
|
3
|
+
node_modules/
|
|
4
|
+
vendor/
|
|
5
|
+
.bundle/
|
|
6
|
+
|
|
7
|
+
# Build output
|
|
8
|
+
dist/
|
|
9
|
+
build/
|
|
10
|
+
out/
|
|
11
|
+
target/
|
|
12
|
+
bin/
|
|
13
|
+
obj/
|
|
14
|
+
|
|
15
|
+
# Python
|
|
16
|
+
__pycache__/
|
|
17
|
+
*.pyc
|
|
18
|
+
*.pyo
|
|
19
|
+
.venv/
|
|
20
|
+
venv/
|
|
21
|
+
.env/
|
|
22
|
+
env/
|
|
23
|
+
*.egg-info/
|
|
24
|
+
|
|
25
|
+
# Rust
|
|
26
|
+
target/
|
|
27
|
+
|
|
28
|
+
# Java / Kotlin / Scala
|
|
29
|
+
*.class
|
|
30
|
+
.gradle/
|
|
31
|
+
.mvn/
|
|
32
|
+
|
|
33
|
+
# C# / .NET
|
|
34
|
+
bin/
|
|
35
|
+
obj/
|
|
36
|
+
packages/
|
|
37
|
+
|
|
38
|
+
# Go
|
|
39
|
+
vendor/
|
|
40
|
+
|
|
41
|
+
# Dart
|
|
42
|
+
.dart_tool/
|
|
43
|
+
build/
|
|
44
|
+
|
|
45
|
+
# PHP
|
|
46
|
+
vendor/
|
|
47
|
+
|
|
48
|
+
# IDE / OS
|
|
49
|
+
.idea/
|
|
50
|
+
.vscode/
|
|
51
|
+
*.swp
|
|
52
|
+
*.swo
|
|
53
|
+
.DS_Store
|
|
54
|
+
Thumbs.db
|
|
55
|
+
|
|
56
|
+
# Type definitions (often noise in queries)
|
|
57
|
+
*.d.ts
|
|
58
|
+
`;function B(e,n,r){let t=je(n,r);if(!t)return!1;try{return e.ignores(t)}catch{return!1}}function je(e,n){if(!n||n===".")return null;if(!N(n)&&!n.startsWith(".."))return n.replaceAll("\\","/");let r=N(n)?n:Ce(e,n),t=Ie(e,r).replaceAll("\\","/");return!t||t==="."||t.startsWith("..")?null:t}import{readdirSync as Cn}from"fs";import{extname as kn,join as jn}from"path";function F(e){let n=new WeakMap,r=t=>{let i=n.get(t);return i||(i=new Map,n.set(t,i)),i};return{get(t,i,s){let a=r(t);if(a.has(i))return a.get(i);let l=s();return a.set(i,l),l},invalidate(t,i){n.get(t)?.delete(i)},invalidateAll(t){n.delete(t)},size(t){return n.get(t)?.size??0}}}var O=[".vue"],T=new Set(["node_modules",".git","target","dist","build",".next",".nuxt",".cache",".turbo","out","coverage",".scipquery-cache","__pycache__",".venv","venv",".idea",".vscode"]);var En=F("source-files");function V(e){let n=new Set((e.extensions??O).map(s=>s.toLowerCase()));if(n.size===0)return{scanned:0,inserted:0,existing:0};if(!Ee(e.dbPath))throw new Error(`SCIP SQLite database not found at ${e.dbPath}`);let r=M(e.projectRoot),t=Le(e.projectRoot,n).filter(s=>!r.isIgnored(s)),i=new De(e.dbPath);try{let s=t.length===0?new Set:new Set(i.prepare(`SELECT relative_path FROM documents WHERE relative_path IN (${t.map(()=>"?").join(",")})`).all(...t).map(f=>f.relative_path)),a=i.prepare(`INSERT OR IGNORE INTO documents (language, relative_path, position_encoding, text)
|
|
59
|
+
VALUES (?, ?, NULL, ?)`),c=i.transaction(f=>{let p=0;for(let u of f){if(s.has(u))continue;let v=_e(U(e.projectRoot,u),"utf-8"),o=a.run($e(u),u,v);p+=Number(o.changes)}return p})(t),h={scanned:t.length,inserted:c,existing:t.length-c};return e.onStatus?.(`Augmented SQLite documents with ${c} auxiliary source file${c===1?"":"s"} (${h.existing} already present).`),h}finally{i.close()}}function Le(e,n){let r=[],t=i=>{let s=i?U(e,i):e,a=[];try{a=we(s,{withFileTypes:!0})}catch{return}for(let l of a){if(T.has(l.name))continue;let c=i?`${i}/${l.name}`:l.name;if(l.isDirectory()){t(c);continue}n.has(D(l.name).toLowerCase())&&r.push(c)}};return t(""),r.sort()}function $e(e){return D(e).toLowerCase()===".vue"?"vue":D(e).replace(/^\./,"").toLowerCase()||"source"}import{existsSync as Ae,readdirSync as G}from"fs";import{extname as Re,join as q}from"path";var Ne=new Set([".git",".hg",".svn",".idea",".vscode","node_modules","vendor","dist","build","target","bin","obj",".dart_tool",".gradle",".next",".venv","venv","__pycache__"]),Be=[{language:"typescript",files:["tsconfig.json","tsconfig.base.json"],extensions:[".ts",".tsx",".mts",".cts"]},{language:"rust",files:["Cargo.toml"],extensions:[".rs"]},{language:"go",files:["go.mod"],extensions:[".go"]},{language:"java",files:["pom.xml","build.gradle","build.gradle.kts"],extensions:[".java"]},{language:"kotlin",files:["build.gradle.kts"],extensions:[".kt",".kts"]},{language:"scala",files:["build.sbt"],extensions:[".scala"]},{language:"python",files:["pyproject.toml","setup.py","setup.cfg","Pipfile"],extensions:[".py",".pyi"]},{language:"ruby",files:["Gemfile"],extensions:[".rb"]},{language:"cpp",files:["compile_commands.json","CMakeLists.txt","Makefile"],extensions:[".cc",".cpp",".cxx",".hpp",".hh",".hxx"]},{language:"c",files:["compile_commands.json","CMakeLists.txt","Makefile"],extensions:[".c",".h"]},{language:"csharp",globs:["*.csproj","*.sln"],extensions:[".cs"]},{language:"vb",globs:["*.vbproj"],extensions:[".vb"]},{language:"dart",files:["pubspec.yaml"],extensions:[".dart"]},{language:"php",files:["composer.json"],extensions:[".php"]},{language:"javascript",files:["package.json"],extensions:[".js",".jsx",".mjs",".cjs"]}];function z(e){let n=[],r=Me(e),t=Ue(e);for(let i of Be){if(Fe(e,i.files)){n.push(i.language);continue}if(Oe(r,i.globs)){n.push(i.language);continue}Ve(t,i.extensions)&&n.push(i.language)}return n.includes("typescript")&&W(n,"javascript"),n.includes("cpp")&&!t.has(".c")&&W(n,"c"),n}function Me(e){try{return G(e)}catch{return[]}}function Fe(e,n){return n?.length?n.some(r=>Ae(q(e,r))):!1}function Oe(e,n){return n?.length?e.some(r=>n.some(t=>Te(r,t))):!1}function Te(e,n){if(n==="*")return!0;if(!n.includes("*"))return e===n;let[r,t]=n.split("*");return e.startsWith(r??"")&&e.endsWith(t??"")}function Ue(e){let n=new Set,r=[e];for(;r.length>0;){let t=r.pop();if(!t)continue;let i;try{i=G(t,{withFileTypes:!0})}catch{continue}for(let s of i){if(s.name.startsWith(".")&&!s.name.endsWith("proj")&&!s.name.endsWith("sln")&&s.isDirectory())continue;let a=q(t,s.name);if(s.isDirectory()){Ne.has(s.name)||r.push(a);continue}let l=Re(s.name).toLowerCase();l&&n.add(l)}}return n}function Ve(e,n){return n?.length?n.some(r=>e.has(r)):!1}function W(e,n){let r=e.indexOf(n);r!==-1&&e.splice(r,1)}import{existsSync as K,readdirSync as We}from"fs";import{join as E}from"path";var Ge={typescript:{language:"typescript",indexerBinary:"scip-typescript",checkCommand:"npx scip-typescript --version",indexArgs:({outputPath:e,pnpmWorkspaces:n})=>{let r=["scip-typescript","index","--infer-tsconfig","--output",e,"--no-progress-bar"];return n&&r.splice(2,0,"--pnpm-workspaces"),{binary:"npx",args:r}},markerFiles:["tsconfig.json"],installMethods:[{label:"npm",prerequisite:"npm",binary:"npm",args:["install","-g","@sourcegraph/scip-typescript"]}],installUrl:"https://github.com/sourcegraph/scip-typescript",bundledNpmPackage:"@sourcegraph/scip-typescript"},javascript:{language:"javascript",indexerBinary:"scip-typescript",checkCommand:"npx scip-typescript --version",indexArgs:({outputPath:e})=>({binary:"npx",args:["scip-typescript","index","--infer-tsconfig","--output",e,"--no-progress-bar"]}),markerFiles:["package.json"],installMethods:[{label:"npm",prerequisite:"npm",binary:"npm",args:["install","-g","@sourcegraph/scip-typescript"]}],installUrl:"https://github.com/sourcegraph/scip-typescript",bundledNpmPackage:"@sourcegraph/scip-typescript"},java:{language:"java",indexerBinary:"scip-java",checkCommand:"scip-java --version",indexArgs:({outputPath:e})=>({binary:"scip-java",args:["index","--output",e]}),markerFiles:["pom.xml","build.gradle"],installMethods:[],installUrl:"https://github.com/sourcegraph/scip-java/releases"},scala:{language:"scala",indexerBinary:"scip-java",checkCommand:"scip-java --version",indexArgs:({outputPath:e})=>({binary:"scip-java",args:["index","--output",e]}),markerFiles:["build.sbt"],installMethods:[],installUrl:"https://github.com/sourcegraph/scip-java/releases"},kotlin:{language:"kotlin",indexerBinary:"scip-java",checkCommand:"scip-java --version",indexArgs:({outputPath:e})=>({binary:"scip-java",args:["index","--output",e]}),markerFiles:["build.gradle.kts"],installMethods:[],installUrl:"https://github.com/sourcegraph/scip-java/releases"},rust:{language:"rust",indexerBinary:"rust-analyzer",checkCommand:"rust-analyzer --version",indexArgs:({outputPath:e})=>({binary:"rust-analyzer",args:["scip",".","--output",e]}),markerFiles:["Cargo.toml"],installMethods:[{label:"rustup",prerequisite:"rustup",binary:"rustup",args:["component","add","rust-analyzer"]}],installUrl:"https://github.com/rust-lang/rust-analyzer"},python:{language:"python",indexerBinary:"scip-python",binaryAliases:["scip-python-plus"],checkCommand:"npx scip-python --version",indexArgs:({outputPath:e})=>({binary:"npx",args:["scip-python","index","--output",e,"--project-name","project"]}),markerFiles:["pyproject.toml","setup.py"],installMethods:[{label:"npm",prerequisite:"npm",binary:"npm",args:["install","-g","scip-python-plus"]}],installUrl:"https://github.com/PlunderStruck/scip-python",bundledNpmPackage:"scip-python-plus"},ruby:{language:"ruby",indexerBinary:"scip-ruby",checkCommand:"scip-ruby --version",indexArgs:({indexerBinary:e})=>({binary:e,args:["--dir","."]}),defaultOutputPath:"index.scip",markerFiles:["Gemfile"],installMethods:[],installUrl:"https://github.com/sourcegraph/scip-ruby/releases"},go:{language:"go",indexerBinary:"scip-go",checkCommand:"scip-go --version",indexArgs:({outputPath:e})=>({binary:"scip-go",args:["--output",e]}),markerFiles:["go.mod"],installMethods:[{label:"go install",prerequisite:"go",binary:"go",args:["install","github.com/sourcegraph/scip-go@latest"]}],installUrl:"https://github.com/sourcegraph/scip-go"},cpp:{language:"cpp",indexerBinary:"scip-clang",checkCommand:"scip-clang --version",indexArgs:({outputPath:e})=>({binary:"scip-clang",args:["--compdb-path","compile_commands.json","--index-output-path",e]}),markerFiles:["CMakeLists.txt","Makefile"],installMethods:[],installUrl:"https://github.com/sourcegraph/scip-clang/releases"},c:{language:"c",indexerBinary:"scip-clang",checkCommand:"scip-clang --version",indexArgs:({outputPath:e})=>({binary:"scip-clang",args:["--compdb-path","compile_commands.json","--index-output-path",e]}),markerFiles:["CMakeLists.txt","Makefile"],installMethods:[],installUrl:"https://github.com/sourcegraph/scip-clang/releases"},csharp:{language:"csharp",indexerBinary:"scip-dotnet",checkCommand:"scip-dotnet --version",indexArgs:({projectRoot:e,outputPath:n})=>({binary:"scip-dotnet",args:["index",H(e,[".sln",".csproj"])??e,"--output",n,"--working-directory",e]}),markerFiles:["*.csproj","*.sln"],installMethods:[{label:"dotnet",prerequisite:"dotnet",binary:"dotnet",args:["tool","install","--global","scip-dotnet"]}],installUrl:"https://github.com/sourcegraph/scip-dotnet/releases"},vb:{language:"vb",indexerBinary:"scip-dotnet",checkCommand:"scip-dotnet --version",indexArgs:({projectRoot:e,outputPath:n})=>({binary:"scip-dotnet",args:["index",H(e,[".sln",".vbproj"])??e,"--output",n,"--working-directory",e]}),markerFiles:["*.vbproj","*.sln"],installMethods:[{label:"dotnet",prerequisite:"dotnet",binary:"dotnet",args:["tool","install","--global","scip-dotnet"]}],installUrl:"https://github.com/sourcegraph/scip-dotnet/releases"},dart:{language:"dart",indexerBinary:"scip-dart",checkCommand:"scip-dart --version",indexArgs:({indexerBinary:e,outputPath:n})=>({binary:e,args:["--output",n]}),markerFiles:["pubspec.yaml"],installMethods:[{label:"dart pub",prerequisite:"dart",binary:"dart",args:["pub","global","activate","scip_dart"]}],installUrl:"https://github.com/Workiva/scip-dart/releases"},php:{language:"php",indexerBinary:"scip-php",projectLocalBinaries:["vendor/davidrjenni/scip-php/bin/scip-php","vendor/bin/scip-php"],checkCommand:"scip-php --version",indexArgs:({projectRoot:e,indexerBinary:n})=>{let r=E(e,"vendor","bin","scip-php"),t=E(e,"vendor","davidrjenni","scip-php","bin","scip-php");return{binary:"php",args:["-d","error_reporting=E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED",K(t)?t:K(r)?r:n]}},defaultOutputPath:"index.scip",markerFiles:["composer.json"],installMethods:[],installUrl:"https://github.com/davidrjenni/scip-php/releases"}};function X(e){return Ge[e]}function H(e,n){let r;try{r=We(e)}catch{return null}for(let t of r)if(n.some(i=>t.endsWith(i)))return E(e,t);return null}import{readFileSync as qe,writeFileSync as ze}from"fs";import{create as w}from"@bufbuild/protobuf";import{deserializeSCIP as Ke,serializeSCIP as He,DocumentSchema as Xe,IndexSchema as Je,SymbolInformationSchema as Qe}from"@c4312/scip";function Ye(e){if(e.length===0)throw new Error("Cannot merge zero SCIP indexes");if(e.length===1)return e[0];let n=Ze(e),r=en(e.flatMap(i=>i.documents??[])),t=Q(e.flatMap(i=>i.externalSymbols??[]));return w(Je,{metadata:n,documents:r,externalSymbols:t})}function J(e,n){if(e.length===0)throw new Error("Cannot merge zero SCIP files");let r=e.map(i=>Ke(qe(i))),t=Ye(r);return ze(n,Buffer.from(He(t))),{documentCount:t.documents.length,externalSymbolCount:t.externalSymbols.length,inputCount:e.length}}function Ze(e){let n=e[0]?.metadata;if(!n)return;let r=n.projectRoot;for(let t of e.slice(1)){let i=t.metadata?.projectRoot;if(r&&i&&i!==r)throw new Error(`Cannot merge SCIP indexes with different project roots: ${r} vs ${i}`)}return n}function en(e){let n=new Map;for(let r of e){let t=n.get(r.relativePath);if(!t){n.set(r.relativePath,r);continue}n.set(r.relativePath,w(Xe,{language:t.language||r.language,relativePath:t.relativePath||r.relativePath,occurrences:[...t.occurrences,...r.occurrences],symbols:Q([...t.symbols,...r.symbols]),text:tn(t.text,r.text),positionEncoding:t.positionEncoding||r.positionEncoding}))}return[...n.values()]}function Q(e){let n=new Map;for(let r of e){let t=n.get(r.symbol);if(!t){n.set(r.symbol,r);continue}n.set(r.symbol,w(Qe,{symbol:t.symbol,documentation:rn([...t.documentation,...r.documentation]),relationships:nn([...t.relationships,...r.relationships]),kind:t.kind||r.kind,displayName:t.displayName||r.displayName,enclosingSymbol:t.enclosingSymbol||r.enclosingSymbol,signatureDocumentation:t.signatureDocumentation??r.signatureDocumentation}))}return[...n.values()]}function nn(e){let n=new Set,r=[];for(let t of e){let i=[t.symbol,t.isReference?"1":"0",t.isImplementation?"1":"0",t.isTypeDefinition?"1":"0",t.isDefinition?"1":"0"].join("|");n.has(i)||(n.add(i),r.push(t))}return r}function tn(e,n){return e?n?e.length>=n.length?e:n:e:n}function rn(e){return[...new Set(e)]}import{execFileSync as S}from"child_process";import{existsSync as _}from"fs";import{createRequire as sn}from"module";import{platform as Y}from"os";import{join as Z}from"path";var on=sn(import.meta.url),an=Y()==="win32";function b(e){let n=an?"where":"which";try{return S(n,[e],{stdio:"pipe"}),!0}catch{return!1}}function ee(e){return[e.indexerBinary,...e.binaryAliases??[]]}function L(e){let n=ee(e);return n.length===1?n[0]:n.join(" or ")}function I(e){for(let n of ee(e))if(b(n))return n;return te(e)?e.indexerBinary:null}function ne(e){return I(e)!==null||te(e)}function te(e){if(!e.bundledNpmPackage)return!1;try{return on.resolve(`${e.bundledNpmPackage}/package.json`),!0}catch{return!1}}function re(e,n){for(let r of e.projectLocalBinaries??[]){let t=Z(n,r);if(_(t))return t}return null}function ie(e,n=process.env,r=e.indexerBinary){if(e.indexerBinary!=="scip-dotnet"||oe(r,n))return n;let t=ln(r,n);return t?{...n,DOTNET_ROOT:t}:n}function se(e,n){let r=e.installMethods,t=L(e);if(!r?.length)return n(`No auto-install method available for ${t}.`),e.installUrl&&n(`Install manually from: ${e.installUrl}`),!1;for(let i of r)if(b(i.prerequisite)){n(`Installing ${t} via ${i.label}...`);try{S(i.binary,i.args,{stdio:"inherit",timeout:3e5,env:process.env});let s=I(e);if(s){let a=s===e.indexerBinary?"":` (using ${s})`;return n(`Successfully installed ${t} via ${i.label}${a}`),!0}n(`${i.label} command completed but ${t} was not found on PATH`)}catch(s){let a=s instanceof Error?s.message:String(s);n(`${i.label} install failed: ${a}`)}}return n(`Could not auto-install ${t}.`),e.installUrl&&n(`Install manually from: ${e.installUrl}`),!1}function ln(e,n){for(let r of cn(n))if(oe(e,{...n,DOTNET_ROOT:r}))return r;return null}function cn(e){let n=[],r=e.DOTNET_ROOT;if(r&&_(r)&&n.push(r),Y()==="darwin"&&b("brew"))try{let t=S("brew",["--prefix","dotnet@9"],{stdio:"pipe",env:e}).toString().trim(),i=Z(t,"libexec");_(i)&&!n.includes(i)&&n.push(i)}catch{}return n}function oe(e,n){try{return S(e,["--version"],{stdio:"pipe",env:n}),!0}catch{return!1}}async function ue(e){let{projectRoot:n,maxHeapMb:r=8192,onStatus:t=console.log,skipAutoInstall:i=!1}=e,s=e.outputScip??C(n,"index.scip"),a=e.outputDb??C(n,"index.db"),l=Date.now(),c=e.languages??z(n);if(c.length===0)throw new Error("No supported languages detected in this project. Looked for: tsconfig.json, Cargo.toml, go.mod, pyproject.toml, etc.");if(t(`Detected languages: ${c.join(", ")}`),!b("scip")){if(i)throw new Error(`The scip CLI is required but not found on PATH.
|
|
60
|
+
Install from: https://github.com/sourcegraph/scip/releases`);if(t("scip CLI not found on PATH. Attempting auto-install..."),!R(t))throw new Error(`The scip CLI is required but could not be installed.
|
|
61
|
+
Install manually from: https://github.com/sourcegraph/scip/releases`)}let h={...process.env,NODE_OPTIONS:`--max-old-space-size=${r}`},f=c.map((o,m)=>({language:o,scipPath:c.length>1?fn(s,o,m):s})),p=[],u=[];for(let{language:o,scipPath:m}of f){let d=X(o),x=L(d),$=re(d,n);if(!$&&!ne(d)){if(i){let g=`${x} not found on PATH (auto-install disabled). ${d.installUrl??""}`.trim();t(`Skipping ${o}: ${g}`),u.push({language:o,reason:g});continue}if(t(`${x} not found. Attempting auto-install...`),!se(d,t)){let g=`${x} could not be auto-installed. ${d.installUrl?`Install manually from ${d.installUrl}`:`Install ${x} and put it on PATH.`}`;t(`Skipping ${o}: ${g}`),u.push({language:o,reason:g});continue}}let y=$??I(d);if(!y){let g=`${x} was not found after installation checks.`;t(`Skipping ${o}: ${g}`),u.push({language:o,reason:g});continue}t(`Indexing ${o} with ${y}...`);let he=ie(d,h,y),{binary:xe,args:ye}=d.indexArgs({projectRoot:n,outputPath:m,pnpmWorkspaces:e.pnpmWorkspaces,indexerBinary:y});try{ae(xe,ye,{cwd:n,env:he,stdio:"pipe",maxBuffer:50*1024*1024})}catch(g){let be=g instanceof Error?g.message:String(g),A=`${y} indexer failed: ${be.split(`
|
|
62
|
+
`)[0]}`;t(`Skipping ${o}: ${A}`),u.push({language:o,reason:A});continue}mn(d,n,m),p.push({language:o,scipPath:m})}if(p.length===0){let o=u.map(m=>` - ${m.language}: ${m.reason}`).join(`
|
|
5
63
|
`);throw new Error(`No language indexers ran successfully. Install at least one indexer for the languages in this project.
|
|
6
|
-
`+
|
|
64
|
+
`+o)}if(u.length>0&&t(`Indexed ${p.length} of ${c.length} languages; skipped ${u.map(o=>o.language).join(", ")}.`),c.length>1&&(p.length>1?(t(`Merging ${p.length} language indexes...`),J(p.map(o=>o.scipPath),s)):p[0].scipPath!==s&&ce(p[0].scipPath,s)),t("Converting to SQLite..."),!le(s))throw new Error(`SCIP index not found at ${s} after indexing`);try{ae("scip",["expt-convert","--output",a,s],{env:h,stdio:"pipe",maxBuffer:50*1024*1024})}catch(o){let m=o instanceof Error?o.message:String(o);throw new Error(`Failed to convert SCIP index to SQLite: ${m}`,{cause:o})}finally{for(let{scipPath:o}of f)o!==s&&un(o,{force:!0})}V({projectRoot:n,dbPath:a,onStatus:t});let v=Date.now()-l;return t(`Done in ${(v/1e3).toFixed(1)}s`),{languages:p.map(o=>o.language),indexPath:s,dbPath:a,durationMs:v,skipped:u}}function mn(e,n,r){if(!e.defaultOutputPath)return;let t=C(n,e.defaultOutputPath);r!==t&&le(t)&&ce(t,r)}function fn(e,n,r){let t=dn(e)||".scip",i=pn(e,t);return C(gn(e),`${i}.${r+1}.${n}${t}`)}var de=process.env.SCIP_REINDEX_PROJECT_ROOT,me=process.env.SCIP_REINDEX_OUTPUT_SCIP,fe=process.env.SCIP_REINDEX_OUTPUT_DB,pe=process.env.SCIP_REINDEX_LANGUAGES,hn=process.env.SCIP_REINDEX_PNPM_WORKSPACES==="1";(!de||!me||!fe)&&(console.error("reindex-worker: missing required env vars"),process.exit(1));var ge=pe?pe.split(",").filter(Boolean):void 0;ue({projectRoot:de,outputScip:me,outputDb:fe,languages:ge?.length?ge:void 0,pnpmWorkspaces:hn,onStatus:e=>process.stderr.write(`[reindex] ${e}
|
|
7
65
|
`)}).then(()=>{process.exit(0)}).catch(e=>{console.error(`reindex-worker error: ${e}`),process.exit(1)});
|
|
8
66
|
//# sourceMappingURL=reindex-worker.js.map
|