scip-query 0.20.0 → 0.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +81 -0
- package/README.md +255 -884
- package/dist/augment-vue-worker.js +1 -1
- package/dist/by-kind-XXGZGNZ6.js +2 -0
- package/dist/call-graph-VGY3R4L3.js +2 -0
- package/dist/call-graph-evidence-lZa2dwQA.d.ts +11 -0
- package/dist/change-analysis-types-CCtoCHbC.d.ts +9 -0
- package/dist/chunk-26CT72HM.js +2 -0
- package/dist/chunk-27OUNZW5.js +3 -0
- package/dist/chunk-2LJLEM5B.js +2 -0
- package/dist/chunk-3KXFB2FM.js +2 -0
- package/dist/chunk-3T5U2EQ2.js +2 -0
- package/dist/chunk-3TNRNKAT.js +2 -0
- package/dist/{chunk-PXY7F6Y4.js → chunk-3XQLJG7V.js} +5 -5
- package/dist/chunk-3XZELASU.js +2 -0
- package/dist/chunk-3YETOKNO.js +4 -0
- package/dist/chunk-47WX6UC4.js +2 -0
- package/dist/{chunk-7SQQWSY3.js → chunk-4HQYNZ3P.js} +2 -2
- package/dist/chunk-4IASLUOP.js +3 -0
- package/dist/{chunk-KMKTIO2G.js → chunk-4KIPF45P.js} +2 -2
- package/dist/chunk-4SZJF4GK.js +2 -0
- package/dist/chunk-4TOU7HHQ.js +2 -0
- package/dist/chunk-4ZCLDH6T.js +11 -0
- package/dist/{chunk-DQGFVPUV.js → chunk-527HV7JY.js} +3 -3
- package/dist/{chunk-ZTETIQ35.js → chunk-5BJPJUXF.js} +2 -2
- package/dist/chunk-5J3A6RBZ.js +16 -0
- package/dist/chunk-5KIJMEPC.js +2 -0
- package/dist/{chunk-JDOEX4E6.js → chunk-5QM7QT5B.js} +2 -2
- package/dist/chunk-5Z2H76VD.js +11 -0
- package/dist/chunk-63TFRBMB.js +2 -0
- package/dist/chunk-67FK5KGV.js +3 -0
- package/dist/chunk-6DO3VBLV.js +2 -0
- package/dist/chunk-6LS3IG2I.js +13 -0
- package/dist/chunk-6QN4FYQW.js +2 -0
- package/dist/chunk-6X4KO5A7.js +11 -0
- package/dist/chunk-743MEVFJ.js +8 -0
- package/dist/chunk-7G2WIVIX.js +2 -0
- package/dist/chunk-7KCZELVM.js +2 -0
- package/dist/chunk-7MUHSZGN.js +3 -0
- package/dist/chunk-7YZGSLW6.js +3 -0
- package/dist/chunk-7Z4GMCHM.js +117 -0
- package/dist/{chunk-32LVLCLN.js → chunk-AAOEROT3.js} +3 -3
- package/dist/chunk-AFRS7WJU.js +26 -0
- package/dist/chunk-ANCHW2R4.js +57 -0
- package/dist/{chunk-SXP2MBJH.js → chunk-AQF35NGT.js} +2 -2
- package/dist/chunk-ARGPDW2Y.js +6 -0
- package/dist/chunk-B3AREUQK.js +16 -0
- package/dist/chunk-BCTCADNB.js +2 -0
- package/dist/chunk-BM4OTGSY.js +3 -0
- package/dist/chunk-BMKTDJI6.js +16 -0
- package/dist/chunk-BOJ5SVE2.js +2 -0
- package/dist/{chunk-WXZLAAWK.js → chunk-BVR44XXB.js} +2 -2
- package/dist/{chunk-RUJURYSV.js → chunk-BYXWXLKM.js} +2 -2
- package/dist/chunk-BZCRHP46.js +3 -0
- package/dist/chunk-BZYSGZRK.js +2 -0
- package/dist/chunk-C52Q3JEQ.js +2 -0
- package/dist/chunk-C7WSQA6A.js +21 -0
- package/dist/{chunk-BDCC2NPY.js → chunk-CNT4ND5O.js} +2 -2
- package/dist/chunk-CQVDALWQ.js +2 -0
- package/dist/chunk-CTO3TRX7.js +2 -0
- package/dist/chunk-CXT3GZSQ.js +2 -0
- package/dist/{chunk-JVYA47YU.js → chunk-DGM2RJ3I.js} +2 -2
- package/dist/{chunk-7PIO7NKH.js → chunk-DK6MB565.js} +2 -2
- package/dist/chunk-DNPETNXT.js +2 -0
- package/dist/chunk-DRENNWRG.js +2 -0
- package/dist/chunk-DUDUIT5P.js +2 -0
- package/dist/chunk-DXEJ4FLZ.js +21 -0
- package/dist/chunk-DXYMTQZ4.js +2 -0
- package/dist/chunk-DZA7MQMU.js +6 -0
- package/dist/{chunk-ZHXX42OH.js → chunk-DZNWXJN2.js} +4 -4
- package/dist/{chunk-CJST5ETY.js → chunk-E6N6YTVM.js} +2 -2
- package/dist/chunk-E7CJ6O72.js +2 -0
- package/dist/chunk-EJHNTAEE.js +2 -0
- package/dist/chunk-EPLE5O5O.js +2 -0
- package/dist/chunk-F4FNK44D.js +2 -0
- package/dist/chunk-FCGMQETU.js +2 -0
- package/dist/chunk-FIO44MVK.js +3 -0
- package/dist/chunk-FLSVYEPL.js +2 -0
- package/dist/chunk-FOP7HD6H.js +3 -0
- package/dist/chunk-FSPENGSU.js +4 -0
- package/dist/chunk-FUUDUAKM.js +2 -0
- package/dist/chunk-FYCH2EYQ.js +2 -0
- package/dist/{chunk-5E4WNAVD.js → chunk-G47MFF47.js} +2 -2
- package/dist/chunk-G6VV7ROY.js +2 -0
- package/dist/chunk-GBZCVYWA.js +2 -0
- package/dist/chunk-GSHTVE56.js +3 -0
- package/dist/chunk-GTZFKDP3.js +2 -0
- package/dist/{chunk-2HPVVXM5.js → chunk-H2RBDP5S.js} +2 -2
- package/dist/chunk-H5EXS3HM.js +2 -0
- package/dist/chunk-HR5JYLVV.js +4 -0
- package/dist/chunk-HW7FASEL.js +2 -0
- package/dist/chunk-HYU4W353.js +10 -0
- package/dist/{chunk-FKSELJQF.js → chunk-I2LY3KN7.js} +2 -2
- package/dist/chunk-IGBQVEHE.js +2 -0
- package/dist/{chunk-3G66UZBH.js → chunk-IH3K5J6K.js} +2 -2
- package/dist/chunk-IHGK3SZ7.js +29 -0
- package/dist/chunk-IM23CSG5.js +2 -0
- package/dist/chunk-IQMGNIGY.js +2 -0
- package/dist/chunk-ITF3CWS5.js +2 -0
- package/dist/chunk-IZKJQQCQ.js +3 -0
- package/dist/chunk-J4HUBIVF.js +5 -0
- package/dist/{chunk-AZJQQKDD.js → chunk-JGMD6JGB.js} +2 -2
- package/dist/chunk-JLZWYDCZ.js +4 -0
- package/dist/chunk-JO6FK3Q5.js +2 -0
- package/dist/chunk-JSHDCVUM.js +81 -0
- package/dist/chunk-K2DZCH2K.js +2 -0
- package/dist/chunk-K63CAPS2.js +23 -0
- package/dist/chunk-KBIC6JHJ.js +2 -0
- package/dist/chunk-KFFQURUZ.js +2 -0
- package/dist/chunk-KFOYCQAJ.js +9 -0
- package/dist/chunk-KGKCJFWZ.js +6 -0
- package/dist/chunk-KK7GPALL.js +28 -0
- package/dist/chunk-L7WRUNKJ.js +2 -0
- package/dist/{chunk-W4ETQAXM.js → chunk-LFWB7TOJ.js} +2 -2
- package/dist/chunk-LGVTIZPV.js +61 -0
- package/dist/chunk-LIWIV26I.js +29 -0
- package/dist/chunk-LJMWILX6.js +3 -0
- package/dist/{chunk-BPAPWKP6.js → chunk-LXMW6ZAX.js} +8 -8
- package/dist/chunk-MFBVUQJZ.js +2 -0
- package/dist/{chunk-O64IZ6UX.js → chunk-MLTKGHD2.js} +2 -2
- package/dist/chunk-MLTSTKXD.js +5 -0
- package/dist/chunk-MR4ZKWO6.js +57 -0
- package/dist/{chunk-EN3O7VJA.js → chunk-MRXBLYRE.js} +2 -2
- package/dist/chunk-MXNGIEPU.js +3 -0
- package/dist/chunk-N4EFQIRX.js +20 -0
- package/dist/chunk-ND3BWIVN.js +7 -0
- package/dist/chunk-NODZYYGC.js +2 -0
- package/dist/chunk-NP4JFCLE.js +133 -0
- package/dist/chunk-NQXWWE6S.js +8 -0
- package/dist/chunk-NSDPPUDY.js +7 -0
- package/dist/chunk-NT4NVEHU.js +18 -0
- package/dist/chunk-O2VY47Y5.js +325 -0
- package/dist/chunk-O3EX5STE.js +5 -0
- package/dist/chunk-O4PZFAXA.js +3 -0
- package/dist/chunk-OA2BO4DR.js +2 -0
- package/dist/chunk-OFZVFIDF.js +3 -0
- package/dist/{chunk-PQCI4SQX.js → chunk-OG5UK2K7.js} +2 -2
- package/dist/chunk-OMVNRPST.js +2 -0
- package/dist/{chunk-7BAVHKMJ.js → chunk-OU6SDWAM.js} +9 -9
- package/dist/{chunk-LY4WC4AD.js → chunk-OY7PCALC.js} +2 -2
- package/dist/{chunk-A73XVBCR.js → chunk-P3UFF22M.js} +2 -2
- package/dist/chunk-PAZSBPJR.js +3 -0
- package/dist/chunk-PJBYDCBQ.js +38 -0
- package/dist/chunk-PRLU3I7G.js +79 -0
- package/dist/chunk-PU6XDQ2X.js +16 -0
- package/dist/{chunk-3CLX5EOX.js → chunk-PWEQ6CZZ.js} +2 -2
- package/dist/{chunk-XSRF6Q77.js → chunk-PX6QNUYF.js} +2 -2
- package/dist/chunk-Q4MRRB3C.js +3 -0
- package/dist/chunk-QGVUPYBC.js +35 -0
- package/dist/chunk-QH5Q6M5C.js +2 -0
- package/dist/chunk-QLWZUFDT.js +2 -0
- package/dist/chunk-QN2AI3D2.js +3 -0
- package/dist/{chunk-JAYYFEQY.js → chunk-QZCACNV5.js} +2 -2
- package/dist/chunk-RNKRYK6B.js +4 -0
- package/dist/chunk-RSUH7G5T.js +29 -0
- package/dist/chunk-RZWBTKXO.js +5 -0
- package/dist/chunk-SBFDPHKH.js +4 -0
- package/dist/{chunk-HX4GQPZP.js → chunk-SGSPCEFC.js} +3 -3
- package/dist/chunk-SIGVQT43.js +2 -0
- package/dist/chunk-SRIZDEWX.js +4 -0
- package/dist/chunk-SV2LEFVM.js +2 -0
- package/dist/chunk-T2PBOVDI.js +3 -0
- package/dist/chunk-TP2X2C2Y.js +3 -0
- package/dist/chunk-U2MNECDU.js +2 -0
- package/dist/chunk-U7DOYZDH.js +2 -0
- package/dist/chunk-UAQQR55F.js +2 -0
- package/dist/chunk-UBETC3Q2.js +2 -0
- package/dist/chunk-UEQORB2A.js +2 -0
- package/dist/chunk-UM56ZET4.js +38 -0
- package/dist/chunk-UXNXOMXJ.js +2 -0
- package/dist/{chunk-6SHPK5ZE.js → chunk-V6XENWOF.js} +2 -2
- package/dist/chunk-VJAD5WX5.js +2 -0
- package/dist/chunk-VRJG7N3I.js +453 -0
- package/dist/chunk-W7HN6V4E.js +7 -0
- package/dist/chunk-WCIKJ2E3.js +3 -0
- package/dist/chunk-WEXQYJY3.js +5 -0
- package/dist/chunk-WOPZX5GM.js +2 -0
- package/dist/chunk-WRQXLNYE.js +9 -0
- package/dist/{chunk-XKWKXZKW.js → chunk-WV6R37XV.js} +2 -2
- package/dist/{chunk-N5W4YZMK.js → chunk-WZ7V4BQV.js} +2 -2
- package/dist/chunk-WZRNEVYC.js +2 -0
- package/dist/chunk-X5MWO4DM.js +7 -0
- package/dist/chunk-XDAUYDFT.js +2 -0
- package/dist/{chunk-L7AW2QB5.js → chunk-XDOEHEET.js} +2 -2
- package/dist/chunk-XDQX6LDT.js +4 -0
- package/dist/chunk-XFRHBAIT.js +2 -0
- package/dist/chunk-XIPGCT3D.js +5 -0
- package/dist/chunk-XKM5D2XS.js +16 -0
- package/dist/chunk-XNF5T4T2.js +4 -0
- package/dist/chunk-Y2S4YNLH.js +3 -0
- package/dist/chunk-YA72ZUKO.js +2 -0
- package/dist/chunk-YBWE6J32.js +43 -0
- package/dist/chunk-YCXQQ3YB.js +2 -0
- package/dist/chunk-YDTK77JP.js +43 -0
- package/dist/chunk-YF25RQER.js +4 -0
- package/dist/chunk-YKHL4J3G.js +2 -0
- package/dist/chunk-YLNCTPOI.js +4 -0
- package/dist/chunk-YR7VRWNX.js +2 -0
- package/dist/chunk-YT4IQBET.js +3 -0
- package/dist/chunk-YUKYB54I.js +1 -0
- package/dist/chunk-Z2KGMIL4.js +2 -0
- package/dist/chunk-Z2QB75BS.js +3 -0
- package/dist/chunk-Z67JOKRE.js +554 -0
- package/dist/chunk-ZGDHC5AT.js +2 -0
- package/dist/chunk-ZMS4YCY7.js +2 -0
- package/dist/chunk-ZNW5A5VX.js +3 -0
- package/dist/{chunk-TFRAYKN6.js → chunk-ZP2WUVZ5.js} +2 -2
- package/dist/chunk-ZQUNCTEZ.js +2 -0
- package/dist/cli-main.js +8 -0
- package/dist/cli.js +1 -3
- package/dist/code-AXLJBZ6T.js +2 -0
- package/dist/code-B17qEMbt.d.ts +121 -0
- package/dist/code-result-json-CTZHAQXJ.js +2 -0
- package/dist/command-descriptors-6INSCKLW.js +342 -0
- package/dist/{config-types-jVM3D7MA.d.ts → config-types-B9B60MiR.d.ts} +199 -23
- package/dist/dataflow-AFXY423Q.js +2 -0
- package/dist/{db-B5PM5yNk.d.ts → db-BwIVAYNB.d.ts} +1 -1
- package/dist/dependence-slice-2G4X6VSJ.js +2 -0
- package/dist/deps-LMCAV5DO.js +2 -0
- package/dist/direct-navigation-2ONV22Y2.js +3 -0
- package/dist/entry-map-ZOC3VXO5.js +2 -0
- package/dist/exploration-topology-BG4v30HZ.d.ts +256 -0
- package/dist/file-dep-graph-Bqg3t3Px.d.ts +4 -0
- package/dist/file-kind-BKCVMNUf.d.ts +10 -0
- package/dist/files-WJQJLHMH.js +2 -0
- package/dist/graph-evidence-Bjyky2V4.d.ts +126 -0
- package/dist/graph-exploration-contract-CqDsnPQL.d.ts +7 -0
- package/dist/{health-Do5TKSJI.d.ts → health-CPp2Jf1Z.d.ts} +33 -34
- package/dist/hierarchy-ASNIHAX4.js +2 -0
- package/dist/imports-JICEKDKK.js +2 -0
- package/dist/index.d.ts +4 -31
- package/dist/index.js +1 -1
- package/dist/members-C5H2K3MS.js +2 -0
- package/dist/methods-KZOZHSD4.js +2 -0
- package/dist/next-anchor-candidates-BwMczMvX.d.ts +90 -0
- package/dist/output-continuation-command-NX3RH3TP.js +3 -0
- package/dist/output-pagination-3OFL2MJV.js +19 -0
- package/dist/postinstall.js +1 -1
- package/dist/project-reindex-A2SXUH2H.js +3 -0
- package/dist/queries/affected.d.ts +22 -4
- package/dist/queries/affected.js +1 -1
- package/dist/queries/anchors.d.ts +123 -0
- package/dist/queries/anchors.js +2 -0
- package/dist/queries/architecture.d.ts +3 -2
- package/dist/queries/architecture.js +1 -1
- package/dist/queries/bottlenecks.d.ts +26 -7
- package/dist/queries/bottlenecks.js +1 -1
- package/dist/queries/by-kind.d.ts +2 -2
- package/dist/queries/by-kind.js +1 -1
- package/dist/queries/call-graph.d.ts +17 -3
- package/dist/queries/call-graph.js +1 -1
- package/dist/queries/change-surface.d.ts +2 -2
- package/dist/queries/change-surface.js +1 -1
- package/dist/queries/cleanup-plan.d.ts +2 -2
- package/dist/queries/cleanup-plan.js +1 -1
- package/dist/queries/co-change.d.ts +2 -2
- package/dist/queries/co-change.js +1 -1
- package/dist/queries/code.d.ts +5 -26
- package/dist/queries/code.js +1 -1
- package/dist/queries/complexity-hotspots.d.ts +2 -2
- package/dist/queries/complexity-hotspots.js +1 -1
- package/dist/queries/complexity.d.ts +2 -2
- package/dist/queries/complexity.js +1 -1
- package/dist/queries/context.d.ts +145 -0
- package/dist/queries/context.js +2 -0
- package/dist/queries/convergence.d.ts +2 -2
- package/dist/queries/convergence.js +1 -1
- package/dist/queries/coupling.d.ts +8 -3
- package/dist/queries/coupling.js +1 -1
- package/dist/queries/cycles.d.ts +34 -7
- package/dist/queries/cycles.js +1 -1
- package/dist/queries/dataflow.d.ts +40 -14
- package/dist/queries/dataflow.js +1 -1
- package/dist/queries/dead.d.ts +2 -2
- package/dist/queries/dead.js +1 -1
- package/dist/queries/decorative-checkers.d.ts +3 -3
- package/dist/queries/decorative-checkers.js +1 -1
- package/dist/queries/deep-chains.d.ts +4 -38
- package/dist/queries/deep-chains.js +1 -1
- package/dist/queries/dependence-slice.d.ts +47 -0
- package/dist/queries/dependence-slice.js +2 -0
- package/dist/queries/dependency-depth.d.ts +49 -0
- package/dist/queries/dependency-depth.js +2 -0
- package/dist/queries/deps.d.ts +4 -2
- package/dist/queries/deps.js +1 -1
- package/dist/queries/diff-impact.d.ts +3 -3
- package/dist/queries/diff-impact.js +1 -1
- package/dist/queries/doc-drift.d.ts +4 -4
- package/dist/queries/doc-drift.js +1 -1
- package/dist/queries/drift.d.ts +2 -2
- package/dist/queries/drift.js +1 -1
- package/dist/queries/duplicate-bodies.d.ts +2 -2
- package/dist/queries/duplicate-bodies.js +1 -1
- package/dist/queries/entry-map.d.ts +121 -0
- package/dist/queries/entry-map.js +2 -0
- package/dist/queries/evidence.d.ts +70 -0
- package/dist/queries/evidence.js +2 -0
- package/dist/queries/extract-candidates.d.ts +2 -2
- package/dist/queries/extract-candidates.js +1 -1
- package/dist/queries/fan.d.ts +18 -5
- package/dist/queries/fan.js +1 -1
- package/dist/queries/files.d.ts +2 -2
- package/dist/queries/files.js +1 -1
- package/dist/queries/health.d.ts +4 -3
- package/dist/queries/health.js +1 -1
- package/dist/queries/hierarchy.d.ts +5 -3
- package/dist/queries/hierarchy.js +1 -1
- package/dist/queries/hotspots.d.ts +11 -5
- package/dist/queries/hotspots.js +1 -1
- package/dist/queries/imports.d.ts +2 -2
- package/dist/queries/imports.js +1 -1
- package/dist/queries/incomplete-migration.d.ts +4 -4
- package/dist/queries/incomplete-migration.js +1 -1
- package/dist/queries/index.d.ts +56 -136
- package/dist/queries/index.js +1 -1
- package/dist/queries/isolated.d.ts +2 -2
- package/dist/queries/isolated.js +1 -1
- package/dist/queries/locality-candidates.d.ts +2 -2
- package/dist/queries/locality-candidates.js +1 -1
- package/dist/queries/members.d.ts +2 -2
- package/dist/queries/members.js +1 -1
- package/dist/queries/methods.d.ts +2 -2
- package/dist/queries/methods.js +1 -1
- package/dist/queries/not-implemented.d.ts +3 -3
- package/dist/queries/not-implemented.js +1 -1
- package/dist/queries/outline.d.ts +2 -2
- package/dist/queries/outline.js +1 -1
- package/dist/queries/passthrough-candidates.d.ts +5 -9
- package/dist/queries/passthrough-candidates.js +1 -1
- package/dist/queries/plan-context.d.ts +27 -64
- package/dist/queries/plan-context.js +1 -1
- package/dist/queries/react-component-duplicates.d.ts +2 -2
- package/dist/queries/react-component-duplicates.js +1 -1
- package/dist/queries/react-hook-candidates.d.ts +2 -2
- package/dist/queries/react-hook-candidates.js +1 -1
- package/dist/queries/react-large-component-pressure.d.ts +2 -2
- package/dist/queries/react-large-component-pressure.js +1 -1
- package/dist/queries/recent-duplicates.d.ts +2 -2
- package/dist/queries/recent-duplicates.js +1 -1
- package/dist/queries/redundant-reexports.d.ts +2 -2
- package/dist/queries/redundant-reexports.js +1 -1
- package/dist/queries/reference-neighborhood.d.ts +4 -0
- package/dist/queries/reference-neighborhood.js +2 -0
- package/dist/queries/reference-reachability.d.ts +48 -0
- package/dist/queries/reference-reachability.js +2 -0
- package/dist/queries/refs.d.ts +2 -2
- package/dist/queries/refs.js +1 -1
- package/dist/queries/self-audit.d.ts +2 -2
- package/dist/queries/self-audit.js +1 -1
- package/dist/queries/similar-chains.d.ts +2 -2
- package/dist/queries/similar-chains.js +1 -1
- package/dist/queries/similar-files.d.ts +2 -2
- package/dist/queries/similar-files.js +1 -1
- package/dist/queries/similar-signatures.d.ts +2 -2
- package/dist/queries/similar-signatures.js +1 -1
- package/dist/queries/similar.d.ts +2 -2
- package/dist/queries/similar.js +1 -1
- package/dist/queries/slice.d.ts +3 -36
- package/dist/queries/slice.js +1 -1
- package/dist/queries/source-inspection.d.ts +209 -0
- package/dist/queries/source-inspection.js +2 -0
- package/dist/queries/source-search.d.ts +13 -0
- package/dist/queries/source-search.js +2 -0
- package/dist/queries/stale-abstractions.d.ts +2 -2
- package/dist/queries/stale-abstractions.js +1 -1
- package/dist/queries/stats.d.ts +2 -2
- package/dist/queries/surface.d.ts +13 -4
- package/dist/queries/surface.js +1 -1
- package/dist/queries/symbols.d.ts +2 -2
- package/dist/queries/symbols.js +1 -1
- package/dist/queries/system-map.d.ts +449 -0
- package/dist/queries/system-map.js +2 -0
- package/dist/queries/system.d.ts +5 -3
- package/dist/queries/system.js +1 -1
- package/dist/queries/test-quality.d.ts +2 -2
- package/dist/queries/test-quality.js +1 -1
- package/dist/queries/trace.d.ts +47 -3
- package/dist/queries/trace.js +1 -1
- package/dist/queries/twin-ab.d.ts +3 -3
- package/dist/queries/twin-ab.js +1 -1
- package/dist/queries/twin-drift.d.ts +3 -3
- package/dist/queries/twin-drift.js +1 -1
- package/dist/queries/unused-imports.d.ts +2 -2
- package/dist/queries/unused-imports.js +1 -1
- package/dist/queries/unused-params.d.ts +2 -2
- package/dist/queries/unused-params.js +1 -1
- package/dist/queries/value-flow.d.ts +43 -0
- package/dist/queries/value-flow.js +2 -0
- package/dist/queries/vue-component-duplicates.d.ts +2 -2
- package/dist/queries/vue-component-duplicates.js +1 -1
- package/dist/queries/vue-composable-candidates.d.ts +2 -2
- package/dist/queries/vue-composable-candidates.js +1 -1
- package/dist/queries/vue-large-view-pressure.d.ts +2 -2
- package/dist/queries/vue-large-view-pressure.js +1 -1
- package/dist/queries/wrapper-candidates.d.ts +2 -2
- package/dist/queries/wrapper-candidates.js +1 -1
- package/dist/query-service-fastpath.js +6 -0
- package/dist/query-service-server.js +5 -0
- package/dist/refs-ZOORVRQC.js +2 -0
- package/dist/refs-pagination-SRCUOYRD.js +2 -0
- package/dist/reindex-worker.js +85 -86
- package/dist/reindex.d.ts +64 -42
- package/dist/reindex.js +93 -77
- package/dist/repository-text-C0Q8VYdN.d.ts +19 -0
- package/dist/runtime.d.ts +287 -8
- package/dist/runtime.js +4 -3
- package/dist/rust-semantic-session-server.js +1 -1
- package/dist/rust-semantic-session-worker.js +1 -1
- package/dist/rust-semantic-worker.js +1 -1
- package/dist/{scip-cli-BnEwZRLJ.d.ts → scip-cli-H-n59izO.d.ts} +33 -2
- package/dist/slice-NOTBWA7S.js +2 -0
- package/dist/source-search-types-Dwz8KeuW.d.ts +79 -0
- package/dist/source-snippet-_wrcgmZc.d.ts +15 -0
- package/dist/stats-OOJ74B32.js +2 -0
- package/dist/surface-BTBCLKNA.js +2 -0
- package/dist/symbol-resolution-SVSMX4RN.js +2 -0
- package/dist/system-2EIUFP6B.js +2 -0
- package/dist/trace-BB2GHQPG.js +2 -0
- package/dist/typescript-mailbox-worker.js +1 -1
- package/dist/value-flow-OA7AHSUG.js +2 -0
- package/dist/watch-server.js +3 -2
- package/docs/AGENT_GUIDE.md +133 -476
- package/docs/AI_FAILURE_MODES.md +30 -301
- package/docs/API.md +1 -1
- package/docs/API_EVOLUTION.md +6 -0
- package/docs/CLI_JSON_OUTPUT.md +207 -29
- package/docs/COMMAND_REFERENCE.md +255 -154
- package/docs/CONFIGURATION_WRITE_SAFETY.md +14 -13
- package/docs/DETECTOR_EVIDENCE_CONTRACTS.md +84 -0
- package/docs/DETECTOR_GUIDE.md +46 -138
- package/docs/DURABILITY.md +7 -1
- package/docs/INDEX_GENERATIONS.md +6 -0
- package/docs/LOCK_PROTOCOL.md +8 -0
- package/docs/REINDEX_METADATA_COMPATIBILITY.md +13 -3
- package/docs/SECURITY_MODEL.md +39 -42
- package/docs/accuracy-audit-checklist.md +4 -0
- package/docs/accuracy-hardening-goal.md +9 -2
- package/docs/analyzer-inventory.md +59 -264
- package/docs/analyzer-validation-protocol.md +62 -170
- package/docs/architecture-coherence-vision.md +18 -12
- package/docs/locality-analyzer-design.md +1 -1
- package/docs/schemas/cli-json-envelope.schema.json +212 -27
- package/docs/schemas/cli-json-export-receipt.schema.json +25 -0
- package/docs/schemas/cli-output-page.schema.json +1 -1
- package/docs/schemas/observation-receipt.schema.json +164 -0
- package/docs/schemas/project-config.schema.json +37 -45
- package/docs/schemas/suppression-record.schema.json +1 -34
- package/package.json +69 -11
- package/skills/concrete-plan/SKILL.md +8 -0
- package/skills/concrete-plan/agents/openai.yaml +4 -0
- package/skills/scip-explore/SKILL.md +49 -61
- package/skills/scip-explore/agents/openai.yaml +3 -3
- package/skills/scip-explore/references/delegated-exploration.md +51 -0
- package/skills/scip-explore/references/external-evidence.md +72 -0
- package/skills/scip-explore/references/information-model.md +51 -0
- package/skills/scip-explore/scripts/capture-evidence.mjs +666 -0
- package/skills/scip-integrity-audit/SKILL.md +185 -0
- package/skills/scip-integrity-audit/agents/openai.yaml +4 -0
- package/skills/scip-plan/SKILL.md +67 -49
- package/skills/scip-plan/agents/openai.yaml +3 -3
- package/skills/scip-query/SKILL.md +98 -77
- package/skills/scip-query/agents/openai.yaml +3 -3
- package/skills/scip-setup/SKILL.md +10 -102
- package/skills/scip-setup/agents/openai.yaml +3 -3
- package/dist/chunk-26QA6FAI.js +0 -8
- package/dist/chunk-2KAZEZ6M.js +0 -2
- package/dist/chunk-3ORVDL3H.js +0 -2
- package/dist/chunk-46XGSFNI.js +0 -2
- package/dist/chunk-4MAK2HOY.js +0 -6
- package/dist/chunk-4TURLRL5.js +0 -16
- package/dist/chunk-4UQVNCQE.js +0 -2
- package/dist/chunk-55Q3WLZX.js +0 -2
- package/dist/chunk-5I5G2QOX.js +0 -3
- package/dist/chunk-6LDJQXAH.js +0 -2
- package/dist/chunk-6O5TICIZ.js +0 -3
- package/dist/chunk-7O5IKBTZ.js +0 -16
- package/dist/chunk-7S5E7KWT.js +0 -2
- package/dist/chunk-7WPLAODU.js +0 -5
- package/dist/chunk-AFHORGLH.js +0 -42
- package/dist/chunk-AIE7TFJW.js +0 -9
- package/dist/chunk-AQOFWNQJ.js +0 -1
- package/dist/chunk-B2PX5I6M.js +0 -2
- package/dist/chunk-B75HZHUP.js +0 -2
- package/dist/chunk-B7PBSLZN.js +0 -2
- package/dist/chunk-BBW6JFHN.js +0 -2
- package/dist/chunk-BNXCIFVY.js +0 -2
- package/dist/chunk-BS2NMXQZ.js +0 -4
- package/dist/chunk-C3KV2II6.js +0 -2
- package/dist/chunk-C43RDDP4.js +0 -20
- package/dist/chunk-DAFAHMNB.js +0 -42
- package/dist/chunk-DQLPXMH6.js +0 -8
- package/dist/chunk-EKZTZXHZ.js +0 -117
- package/dist/chunk-EW2NTSFA.js +0 -18
- package/dist/chunk-F3Z4OUDS.js +0 -8
- package/dist/chunk-FJH2NW7J.js +0 -66
- package/dist/chunk-FTFP6O3L.js +0 -11
- package/dist/chunk-FYLK2DEJ.js +0 -2
- package/dist/chunk-GH74ASD6.js +0 -11
- package/dist/chunk-GMXWZP2B.js +0 -2
- package/dist/chunk-GOUBFH5O.js +0 -3
- package/dist/chunk-HLF2TX6R.js +0 -2
- package/dist/chunk-HX7M4BDI.js +0 -30
- package/dist/chunk-HZ72SESS.js +0 -128
- package/dist/chunk-IB2N4FIY.js +0 -10
- package/dist/chunk-IZYYAFN5.js +0 -2
- package/dist/chunk-JFGGXWQF.js +0 -947
- package/dist/chunk-JN4NMBEX.js +0 -8
- package/dist/chunk-JW56N3KI.js +0 -4
- package/dist/chunk-JZ2OXNWB.js +0 -2
- package/dist/chunk-KFZNKUNT.js +0 -2
- package/dist/chunk-L5GJNV2T.js +0 -8
- package/dist/chunk-L7JDSCDF.js +0 -4
- package/dist/chunk-LU47HG23.js +0 -14
- package/dist/chunk-LVY7NPF7.js +0 -2
- package/dist/chunk-MKCDWWGV.js +0 -4
- package/dist/chunk-MNE7YG56.js +0 -2
- package/dist/chunk-MRXBEXSY.js +0 -26
- package/dist/chunk-MV7OWDUX.js +0 -2
- package/dist/chunk-NGEXCJJW.js +0 -11
- package/dist/chunk-NIW6JDC5.js +0 -29
- package/dist/chunk-PBUQFCNB.js +0 -16
- package/dist/chunk-POAVPHH7.js +0 -2
- package/dist/chunk-QZ4JVECJ.js +0 -2
- package/dist/chunk-RDO52JGY.js +0 -2
- package/dist/chunk-RJT3TUUZ.js +0 -2
- package/dist/chunk-RVLDN63O.js +0 -4
- package/dist/chunk-RXOXSKY3.js +0 -2
- package/dist/chunk-S7OYBOCK.js +0 -2
- package/dist/chunk-SMNXQT5Z.js +0 -3
- package/dist/chunk-SRAFT254.js +0 -2
- package/dist/chunk-T7YQSHPQ.js +0 -3
- package/dist/chunk-UJCOIXDY.js +0 -2
- package/dist/chunk-UJPRPGCO.js +0 -13
- package/dist/chunk-WCCFZ7V7.js +0 -113
- package/dist/chunk-WUPW3UN3.js +0 -3
- package/dist/chunk-X54AGLVX.js +0 -2
- package/dist/chunk-Y2MVPNKY.js +0 -5
- package/dist/chunk-YKUU5AIC.js +0 -3
- package/dist/chunk-YLCJLTPL.js +0 -2
- package/dist/chunk-YTQVETEO.js +0 -2
- package/dist/chunk-Z4N3MZYA.js +0 -38
- package/dist/chunk-ZJOOT3BG.js +0 -2
- package/dist/chunk-ZK26BAQL.js +0 -2
- package/dist/command-descriptors-DSS46KXI.js +0 -642
- package/dist/diff-gate-types-B0QYpDv1.d.ts +0 -11
- package/dist/direct-navigation-6YHV6IB5.js +0 -3
- package/dist/queries/diff-gate.d.ts +0 -253
- package/dist/queries/diff-gate.js +0 -2
- package/docs/COMMITTED_RECORD_COMPATIBILITY.md +0 -154
- package/docs/analyzer-validation-ledger.md +0 -516
- package/docs/schemas/outcome-event-record.schema.json +0 -95
- package/skills/_shared/SKILL.md +0 -101
- package/skills/_shared/agents/openai.yaml +0 -4
- package/skills/_shared/references/agent-contract-catalog.md +0 -105
- package/skills/_shared/references/command-catalog.md +0 -118
- package/skills/_shared/references/detector-precision-and-diffgate.md +0 -59
- package/skills/_shared/references/evidence-and-dead-code.md +0 -25
- package/skills/scip-audit/SKILL.md +0 -77
- package/skills/scip-audit/agents/openai.yaml +0 -4
- package/skills/scip-audit/references/claims.md +0 -98
- package/skills/scip-audit/references/cleanup.md +0 -100
- package/skills/scip-audit/references/directory.md +0 -222
- package/skills/scip-audit/references/frontend.md +0 -130
- package/skills/scip-audit/references/integrity.md +0 -154
- package/skills/scip-audit/references/maintainability.md +0 -162
- package/skills/scip-audit/references/twin-drift.md +0 -104
- package/skills/scip-diagnose/SKILL.md +0 -52
- package/skills/scip-diagnose/agents/openai.yaml +0 -4
- package/skills/scip-diagnose/references/debug.md +0 -117
- package/skills/scip-diagnose/references/probe-reachability.md +0 -77
- package/skills/scip-diagnose/references/root-cause.md +0 -145
- package/skills/scip-diagnose/references/triage.md +0 -119
- package/skills/scip-explore/references/diagrams.md +0 -40
- package/skills/scip-explore/references/language-playbook.md +0 -49
- package/skills/scip-improve/SKILL.md +0 -56
- package/skills/scip-improve/agents/openai.yaml +0 -4
- package/skills/scip-improve/references/cleanup-batches.md +0 -53
- package/skills/scip-improve/references/directory-moves.md +0 -53
- package/skills/scip-improve/references/doc-reconcile.md +0 -30
- package/skills/scip-improve/references/frontend-extraction.md +0 -39
- package/skills/scip-improve/references/maintainability-mechanism.md +0 -43
- package/skills/scip-improve/references/twin-drift.md +0 -35
- package/skills/scip-plan/references/api-impact.md +0 -19
- package/skills/scip-plan/references/conductor.md +0 -41
- package/skills/scip-plan/references/high-assurance.md +0 -43
- package/skills/scip-plan/references/hyper-optimization.md +0 -50
- package/skills/scip-plan/references/tla-model.md +0 -88
- package/skills/scip-setup/references/bootstrap-workflow.md +0 -119
- package/skills/scip-setup/references/language-verification.md +0 -61
- package/skills/scip-setup/references/lifecycle-commands.md +0 -119
- package/skills/scip-setup/references/per-repo-triage.md +0 -24
- package/skills/scip-verify/SKILL.md +0 -229
- package/skills/scip-verify/agents/openai.yaml +0 -4
- package/skills/scip-verify/references/calibrate-detectors.md +0 -170
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { F as FileKind } from '../file-kind-BKCVMNUf.js';
|
|
2
|
+
import { S as ScipDatabase } from '../db-BwIVAYNB.js';
|
|
3
|
+
import { a as CalleeEvidenceSource } from '../call-graph-evidence-lZa2dwQA.js';
|
|
4
|
+
import 'better-sqlite3';
|
|
5
|
+
import '../config-types-B9B60MiR.js';
|
|
6
|
+
|
|
7
|
+
type AnchorDiscoveryMatchSource = 'symbol' | 'path' | 'documentation' | 'source';
|
|
8
|
+
interface AnchorDiscoveryTermMatch {
|
|
9
|
+
term: string;
|
|
10
|
+
sources: AnchorDiscoveryMatchSource[];
|
|
11
|
+
locations: Array<{
|
|
12
|
+
file: string;
|
|
13
|
+
line: number;
|
|
14
|
+
}>;
|
|
15
|
+
}
|
|
16
|
+
interface AnchorDiscoveryCandidate {
|
|
17
|
+
symbol: string;
|
|
18
|
+
label: string;
|
|
19
|
+
leaf: string;
|
|
20
|
+
file: string;
|
|
21
|
+
line: number;
|
|
22
|
+
endLine: number;
|
|
23
|
+
kind: 'callable' | 'type' | 'symbol';
|
|
24
|
+
fileKind: FileKind;
|
|
25
|
+
matches: AnchorDiscoveryTermMatch[];
|
|
26
|
+
focusLocations: Array<{
|
|
27
|
+
file: string;
|
|
28
|
+
line: number;
|
|
29
|
+
matchedTerms: string[];
|
|
30
|
+
}>;
|
|
31
|
+
matchedTerms: string[];
|
|
32
|
+
symbolMatchedTerms: string[];
|
|
33
|
+
symbolPhraseLength: number;
|
|
34
|
+
identityMatchedTerms: string[];
|
|
35
|
+
rarity: number;
|
|
36
|
+
symbolRarity: number;
|
|
37
|
+
/** Exact slash-delimited query path fragments matched by this candidate's repository path. */
|
|
38
|
+
queryPathMatches?: string[];
|
|
39
|
+
/** Exact current source size for the compiler-owned range, when available. */
|
|
40
|
+
sourceCharacters?: number;
|
|
41
|
+
}
|
|
42
|
+
interface AnchorDiscoveryRelation {
|
|
43
|
+
kind: 'call' | 'runtime-boundary';
|
|
44
|
+
fromSymbol: string;
|
|
45
|
+
fromLabel: string;
|
|
46
|
+
fromFile: string;
|
|
47
|
+
toSymbol: string;
|
|
48
|
+
toLabel: string;
|
|
49
|
+
toFile: string;
|
|
50
|
+
depth: number;
|
|
51
|
+
strength: 'exact' | 'derived';
|
|
52
|
+
evidence: CalleeEvidenceSource | 'scip-occurrence-callsite' | 'ast-member-import-candidate' | `runtime-boundary:${string}`;
|
|
53
|
+
callsiteLine: number | null;
|
|
54
|
+
runtimeBoundaryKey?: string;
|
|
55
|
+
}
|
|
56
|
+
interface AnchorDiscoveryGroup {
|
|
57
|
+
id: string;
|
|
58
|
+
kind: 'cross-boundary-flow' | 'parallel-paths' | 'connected-flow' | 'shared-callee-owners';
|
|
59
|
+
roots: AnchorDiscoveryCandidate[];
|
|
60
|
+
keyAnchors: AnchorDiscoveryCandidate[];
|
|
61
|
+
candidateOwnerCount: number;
|
|
62
|
+
omittedCandidateOwners: AnchorDiscoveryCandidate[];
|
|
63
|
+
ownerRecoveryCommands: string[];
|
|
64
|
+
upstreamEntries: AnchorDiscoveryUpstreamEntry[];
|
|
65
|
+
matchedTerms: string[];
|
|
66
|
+
/** Exact slash-delimited query path fragments covered by the group's roots. */
|
|
67
|
+
queryPathMatches?: string[];
|
|
68
|
+
relations: AnchorDiscoveryRelation[];
|
|
69
|
+
relationCount: number;
|
|
70
|
+
/** Number of independently named sides that carry at least one causal edge. */
|
|
71
|
+
parallelConnectedSides?: number;
|
|
72
|
+
/** Number of independently named sides whose matched root has an outgoing causal edge. */
|
|
73
|
+
parallelOrchestrationSides?: number;
|
|
74
|
+
/** Query vocabulary that occurs in the repository path on every batched side. */
|
|
75
|
+
parallelSharedPathTerms?: string[];
|
|
76
|
+
/** Rarest repository frequency among the shared path terms; lower is more discriminative. */
|
|
77
|
+
parallelSharedPathFrequency?: number;
|
|
78
|
+
/** Matched roots that initiate at least one returned causal relationship. */
|
|
79
|
+
orchestrationRootCount?: number;
|
|
80
|
+
omittedRelations: number;
|
|
81
|
+
systemMapCommand: string;
|
|
82
|
+
}
|
|
83
|
+
interface AnchorDiscoveryUpstreamEntry {
|
|
84
|
+
name: string;
|
|
85
|
+
file: string;
|
|
86
|
+
line: number;
|
|
87
|
+
endLine: number;
|
|
88
|
+
callsiteLine: number;
|
|
89
|
+
}
|
|
90
|
+
interface AnchorDiscoveryResult {
|
|
91
|
+
query: string;
|
|
92
|
+
/** Slash-delimited repository path fragments preserved from the original query. */
|
|
93
|
+
queryPathFragments?: string[];
|
|
94
|
+
normalizedTerms: string[];
|
|
95
|
+
matchedTerms: string[];
|
|
96
|
+
unmatchedTerms: string[];
|
|
97
|
+
groups: AnchorDiscoveryGroup[];
|
|
98
|
+
candidateRoots: AnchorDiscoveryCandidate[];
|
|
99
|
+
candidateRootCount: number;
|
|
100
|
+
analyzedRootCount: number;
|
|
101
|
+
omittedRootCount: number;
|
|
102
|
+
omittedGroupCount: number;
|
|
103
|
+
scannedFiles: number;
|
|
104
|
+
scannedBytes: number;
|
|
105
|
+
recoveryCommand: string | null;
|
|
106
|
+
}
|
|
107
|
+
interface AnchorDiscoveryOptions {
|
|
108
|
+
scope?: string;
|
|
109
|
+
limit?: number;
|
|
110
|
+
full?: boolean;
|
|
111
|
+
semantic?: boolean;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Locate a small set of graph starting points from vocabulary that already
|
|
115
|
+
* exists in the repository. Query words are normalized mechanically; their
|
|
116
|
+
* meaning is not inferred. The highest-ranked owning definitions receive a
|
|
117
|
+
* bounded two-hop call expansion so connected candidates can be selected in
|
|
118
|
+
* one model-visible packet.
|
|
119
|
+
*/
|
|
120
|
+
declare function discoverAnchors(db: ScipDatabase, query: string, options?: AnchorDiscoveryOptions): AnchorDiscoveryResult;
|
|
121
|
+
declare function normalizeAnchorQuery(query: string): string[];
|
|
122
|
+
|
|
123
|
+
export { type AnchorDiscoveryCandidate, type AnchorDiscoveryGroup, type AnchorDiscoveryMatchSource, type AnchorDiscoveryOptions, type AnchorDiscoveryRelation, type AnchorDiscoveryResult, type AnchorDiscoveryTermMatch, type AnchorDiscoveryUpstreamEntry, discoverAnchors, normalizeAnchorQuery };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a,b}from"../chunk-FIO44MVK.js";import"../chunk-KGKCJFWZ.js";import"../chunk-L7WRUNKJ.js";import"../chunk-CXT3GZSQ.js";import"../chunk-FSPENGSU.js";import"../chunk-ANCHW2R4.js";import"../chunk-U2MNECDU.js";import"../chunk-BOJ5SVE2.js";import"../chunk-NODZYYGC.js";import"../chunk-BGBBVSH4.js";import"../chunk-G6VV7ROY.js";import"../chunk-GSHTVE56.js";import"../chunk-P5XHIJHI.js";import"../chunk-UM56ZET4.js";import"../chunk-XDQX6LDT.js";import"../chunk-B3AREUQK.js";import"../chunk-KK7GPALL.js";import"../chunk-7MUHSZGN.js";import"../chunk-FOP7HD6H.js";import"../chunk-743MEVFJ.js";import"../chunk-HW7FASEL.js";import"../chunk-YUKYB54I.js";import"../chunk-DHEQMPLW.js";import"../chunk-YBWE6J32.js";import"../chunk-MTDBHTSF.js";import"../chunk-7Z4GMCHM.js";import"../chunk-6LS3IG2I.js";import"../chunk-C7WSQA6A.js";import"../chunk-JSHDCVUM.js";import"../chunk-WEXQYJY3.js";export{a as discoverAnchors,b as normalizeAnchorQuery};
|
|
2
|
+
//# sourceMappingURL=anchors.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { S as ScipDatabase } from '../db-
|
|
1
|
+
import { G as ArchitectureConfig } from '../config-types-B9B60MiR.js';
|
|
2
|
+
import { S as ScipDatabase } from '../db-BwIVAYNB.js';
|
|
3
3
|
import 'better-sqlite3';
|
|
4
4
|
|
|
5
5
|
interface TestBoundaryViolation {
|
|
@@ -64,6 +64,7 @@ interface ArchitecturePolicyCoverage {
|
|
|
64
64
|
totalBoundaries: number;
|
|
65
65
|
missingRows: string[];
|
|
66
66
|
requiresCompletePolicy: boolean;
|
|
67
|
+
requiresCompleteCoverage?: boolean;
|
|
67
68
|
requiresMinimalPolicy: boolean;
|
|
68
69
|
}
|
|
69
70
|
/** A declared allowance that no observed edge uses. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e,f}from"../chunk-
|
|
1
|
+
import{b as a,c as b,d as c,e as d,f as e,g as f}from"../chunk-4TOU7HHQ.js";import"../chunk-SV2LEFVM.js";import"../chunk-35NLDRZC.js";import"../chunk-743MEVFJ.js";import"../chunk-HW7FASEL.js";import"../chunk-YUKYB54I.js";import"../chunk-DHEQMPLW.js";import"../chunk-YBWE6J32.js";import"../chunk-7Z4GMCHM.js";import"../chunk-6LS3IG2I.js";import"../chunk-C7WSQA6A.js";import"../chunk-JSHDCVUM.js";import"../chunk-WEXQYJY3.js";export{a as ARCHITECTURE_BASELINE_PREFIX,b as analyzeArchitectureGraph,c as architecture,d as architectureFindingIdentities,f as detectCoarseBoundaries,e as hasEnforceableArchitecturePolicy};
|
|
2
2
|
//# sourceMappingURL=architecture.js.map
|
|
@@ -1,18 +1,29 @@
|
|
|
1
|
-
import { S as ScipDatabase } from '../db-
|
|
1
|
+
import { S as ScipDatabase } from '../db-BwIVAYNB.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
-
import '../config-types-
|
|
3
|
+
import '../config-types-B9B60MiR.js';
|
|
4
4
|
|
|
5
|
+
interface CoordinationHubCalleeEvidence {
|
|
6
|
+
symbol: string;
|
|
7
|
+
shortName: string;
|
|
8
|
+
file: string;
|
|
9
|
+
evidenceStrength: 'exact' | 'candidate';
|
|
10
|
+
evidenceSource: string;
|
|
11
|
+
}
|
|
5
12
|
interface BottleneckResult {
|
|
6
13
|
symbol: string;
|
|
7
14
|
shortName: string;
|
|
8
15
|
fanIn: number;
|
|
9
16
|
fanOut: number;
|
|
10
17
|
callerFiles: string[];
|
|
18
|
+
candidateCallerFiles?: string[];
|
|
11
19
|
externalCallees: Array<{
|
|
12
20
|
symbol: string;
|
|
13
21
|
shortName: string;
|
|
14
22
|
file: string;
|
|
15
23
|
}>;
|
|
24
|
+
externalCalleeEvidence?: CoordinationHubCalleeEvidence[];
|
|
25
|
+
candidateExternalCallees?: string[];
|
|
26
|
+
inputBasis?: 'mixed-static-call-or-reference-evidence';
|
|
16
27
|
/** fanIn * fanOut — higher = more central coupling hub */
|
|
17
28
|
score: number;
|
|
18
29
|
definedIn: string;
|
|
@@ -22,11 +33,11 @@ interface BottleneckResult {
|
|
|
22
33
|
recommendation: string;
|
|
23
34
|
}
|
|
24
35
|
/**
|
|
25
|
-
* Find
|
|
26
|
-
*
|
|
36
|
+
* Find coordination hubs: symbols with both many incoming caller/reference
|
|
37
|
+
* evidence files and many outgoing cross-file callable targets.
|
|
27
38
|
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
39
|
+
* This is a coordination-hub heuristic, not a graph-theoretic articulation
|
|
40
|
+
* point or proof that a change is dangerous. Score = fanIn * fanOut.
|
|
30
41
|
*/
|
|
31
42
|
declare function bottlenecks(db: ScipDatabase, opts?: {
|
|
32
43
|
limit?: number;
|
|
@@ -36,5 +47,13 @@ declare function bottlenecks(db: ScipDatabase, opts?: {
|
|
|
36
47
|
scanLimit?: number;
|
|
37
48
|
semantic?: boolean;
|
|
38
49
|
}): BottleneckResult[];
|
|
50
|
+
declare function coordinationHubs(db: ScipDatabase, opts?: {
|
|
51
|
+
limit?: number;
|
|
52
|
+
scope?: string;
|
|
53
|
+
minFanIn?: number;
|
|
54
|
+
minFanOut?: number;
|
|
55
|
+
scanLimit?: number;
|
|
56
|
+
semantic?: boolean;
|
|
57
|
+
}): BottleneckResult[];
|
|
39
58
|
|
|
40
|
-
export { type BottleneckResult, bottlenecks };
|
|
59
|
+
export { type BottleneckResult, type CoordinationHubCalleeEvidence, bottlenecks, coordinationHubs };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a,b}from"../chunk-YCXQQ3YB.js";import"../chunk-BOJ5SVE2.js";import"../chunk-NODZYYGC.js";import"../chunk-BGBBVSH4.js";import"../chunk-G6VV7ROY.js";import"../chunk-GSHTVE56.js";import"../chunk-P5XHIJHI.js";import"../chunk-UM56ZET4.js";import"../chunk-XDQX6LDT.js";import"../chunk-B3AREUQK.js";import"../chunk-KK7GPALL.js";import"../chunk-7MUHSZGN.js";import"../chunk-FOP7HD6H.js";import"../chunk-743MEVFJ.js";import"../chunk-HW7FASEL.js";import"../chunk-YUKYB54I.js";import"../chunk-DHEQMPLW.js";import"../chunk-YBWE6J32.js";import"../chunk-MTDBHTSF.js";import"../chunk-7Z4GMCHM.js";import"../chunk-6LS3IG2I.js";import"../chunk-C7WSQA6A.js";import"../chunk-JSHDCVUM.js";import"../chunk-WEXQYJY3.js";export{a as bottlenecks,b as coordinationHubs};
|
|
2
2
|
//# sourceMappingURL=bottlenecks.js.map
|
package/dist/queries/by-kind.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../chunk-
|
|
1
|
+
import{a,b}from"../chunk-G47MFF47.js";import"../chunk-MTDBHTSF.js";import"../chunk-7Z4GMCHM.js";import"../chunk-6LS3IG2I.js";import"../chunk-C7WSQA6A.js";import"../chunk-JSHDCVUM.js";import"../chunk-WEXQYJY3.js";export{a as byKind,b as kindCounts};
|
|
2
2
|
//# sourceMappingURL=by-kind.js.map
|
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
import { S as ScipDatabase } from '../db-
|
|
1
|
+
import { S as ScipDatabase } from '../db-BwIVAYNB.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
-
import '../config-types-
|
|
3
|
+
import '../config-types-B9B60MiR.js';
|
|
4
4
|
|
|
5
|
+
interface CallGraphEvidenceRow {
|
|
6
|
+
symbol: string;
|
|
7
|
+
shortName: string;
|
|
8
|
+
file: string;
|
|
9
|
+
relationship: 'resolved-call' | 'reference-candidate' | 'chunk-candidate';
|
|
10
|
+
evidenceStrength: 'exact' | 'candidate';
|
|
11
|
+
evidenceSource: string;
|
|
12
|
+
}
|
|
5
13
|
interface CallGraphResult {
|
|
6
14
|
symbol: string;
|
|
7
15
|
shortName: string;
|
|
@@ -17,6 +25,12 @@ interface CallGraphResult {
|
|
|
17
25
|
shortName: string;
|
|
18
26
|
file: string;
|
|
19
27
|
}>;
|
|
28
|
+
callerEvidence?: CallGraphEvidenceRow[];
|
|
29
|
+
calleeEvidence?: CallGraphEvidenceRow[];
|
|
30
|
+
coverage?: {
|
|
31
|
+
scope: 'indexed-static-call-graph';
|
|
32
|
+
blindSpots: string[];
|
|
33
|
+
};
|
|
20
34
|
}
|
|
21
35
|
/**
|
|
22
36
|
* Build a call graph for a symbol: who calls it (incoming) and
|
|
@@ -29,4 +43,4 @@ declare function callGraph(db: ScipDatabase, symbolPattern: string, opts?: {
|
|
|
29
43
|
semantic?: boolean;
|
|
30
44
|
}): CallGraphResult | null;
|
|
31
45
|
|
|
32
|
-
export { type CallGraphResult, callGraph };
|
|
46
|
+
export { type CallGraphEvidenceRow, type CallGraphResult, callGraph };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-VJAD5WX5.js";import"../chunk-BOJ5SVE2.js";import"../chunk-BGBBVSH4.js";import"../chunk-G6VV7ROY.js";import"../chunk-GSHTVE56.js";import"../chunk-P5XHIJHI.js";import"../chunk-UM56ZET4.js";import"../chunk-XDQX6LDT.js";import"../chunk-B3AREUQK.js";import"../chunk-KK7GPALL.js";import"../chunk-7MUHSZGN.js";import"../chunk-FOP7HD6H.js";import"../chunk-YBWE6J32.js";import"../chunk-MTDBHTSF.js";import"../chunk-7Z4GMCHM.js";import"../chunk-6LS3IG2I.js";import"../chunk-C7WSQA6A.js";import"../chunk-JSHDCVUM.js";import"../chunk-WEXQYJY3.js";export{a as callGraph};
|
|
2
2
|
//# sourceMappingURL=call-graph.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as ScipDatabase } from '../db-
|
|
1
|
+
import { S as ScipDatabase } from '../db-BwIVAYNB.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
-
import '../config-types-
|
|
3
|
+
import '../config-types-B9B60MiR.js';
|
|
4
4
|
|
|
5
5
|
type ChangeRiskReasonKind = 'operational-root' | 'published-api' | 'metadata-unavailable';
|
|
6
6
|
interface ChangeRiskReason {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-4ZCLDH6T.js";import"../chunk-QH5Q6M5C.js";import"../chunk-NODZYYGC.js";import"../chunk-BGBBVSH4.js";import"../chunk-G6VV7ROY.js";import"../chunk-GSHTVE56.js";import"../chunk-P5XHIJHI.js";import"../chunk-UM56ZET4.js";import"../chunk-XDQX6LDT.js";import"../chunk-B3AREUQK.js";import"../chunk-KK7GPALL.js";import"../chunk-7MUHSZGN.js";import"../chunk-FOP7HD6H.js";import"../chunk-743MEVFJ.js";import"../chunk-HW7FASEL.js";import"../chunk-YUKYB54I.js";import"../chunk-DHEQMPLW.js";import"../chunk-YBWE6J32.js";import"../chunk-MTDBHTSF.js";import"../chunk-7Z4GMCHM.js";import"../chunk-6LS3IG2I.js";import"../chunk-C7WSQA6A.js";import"../chunk-JSHDCVUM.js";import"../chunk-WEXQYJY3.js";export{a as changeSurface};
|
|
2
2
|
//# sourceMappingURL=change-surface.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as ScipDatabase } from '../db-
|
|
1
|
+
import { S as ScipDatabase } from '../db-BwIVAYNB.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
-
import '../config-types-
|
|
3
|
+
import '../config-types-B9B60MiR.js';
|
|
4
4
|
|
|
5
5
|
interface CleanupPlanEntry {
|
|
6
6
|
symbol: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b}from"../chunk-
|
|
1
|
+
import{a,b}from"../chunk-E6N6YTVM.js";import"../chunk-ZNW5A5VX.js";import"../chunk-V6XENWOF.js";import"../chunk-BOJ5SVE2.js";import"../chunk-NODZYYGC.js";import"../chunk-BGBBVSH4.js";import"../chunk-G6VV7ROY.js";import"../chunk-GSHTVE56.js";import"../chunk-P5XHIJHI.js";import"../chunk-UM56ZET4.js";import"../chunk-XDQX6LDT.js";import"../chunk-B3AREUQK.js";import"../chunk-KK7GPALL.js";import"../chunk-7MUHSZGN.js";import"../chunk-FOP7HD6H.js";import"../chunk-743MEVFJ.js";import"../chunk-HW7FASEL.js";import"../chunk-YUKYB54I.js";import"../chunk-DHEQMPLW.js";import"../chunk-YBWE6J32.js";import"../chunk-MTDBHTSF.js";import"../chunk-7Z4GMCHM.js";import"../chunk-6LS3IG2I.js";import"../chunk-C7WSQA6A.js";import"../chunk-JSHDCVUM.js";import"../chunk-WEXQYJY3.js";export{b as RemovedRangeIndex,a as cleanupPlan};
|
|
2
2
|
//# sourceMappingURL=cleanup-plan.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as ScipDatabase } from '../db-
|
|
1
|
+
import { S as ScipDatabase } from '../db-BwIVAYNB.js';
|
|
2
2
|
import { C as CoChangeCommitScope, a as CoChangeRecency, b as CoChangeSubjectContext, G as GitHistoryMode } from '../git-history-ChNHbfZQ.js';
|
|
3
3
|
import 'better-sqlite3';
|
|
4
|
-
import '../config-types-
|
|
4
|
+
import '../config-types-B9B60MiR.js';
|
|
5
5
|
|
|
6
6
|
type CoChangePartnerClass = 'doc-code' | 'config-code' | 'schema-script' | 'model-view' | 'test-code' | 'same-feature' | 'unknown';
|
|
7
7
|
interface CoChangePartnerClassification {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d,e}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e}from"../chunk-47WX6UC4.js";import"../chunk-BYXWXLKM.js";import"../chunk-P5XHIJHI.js";import"../chunk-743MEVFJ.js";import"../chunk-HW7FASEL.js";import"../chunk-YUKYB54I.js";import"../chunk-DHEQMPLW.js";import"../chunk-YBWE6J32.js";import"../chunk-7Z4GMCHM.js";import"../chunk-6LS3IG2I.js";import"../chunk-C7WSQA6A.js";import"../chunk-JSHDCVUM.js";import"../chunk-WEXQYJY3.js";export{c as classifyCoChangePartner,b as coChange,e as coChangeStructuralLinkChecker,d as declaredCouplingSuggestionForPair,a as isCoChangeNoiseFile};
|
|
2
2
|
//# sourceMappingURL=co-change.js.map
|
package/dist/queries/code.d.ts
CHANGED
|
@@ -1,27 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
export { S as SourceObservationFreshness, a as SourceSemanticFreshnessState } from '../repository-text-C0Q8VYdN.js';
|
|
2
|
+
import '../db-BwIVAYNB.js';
|
|
3
|
+
export { b as CodeBatchEntry, c as CodeBatchResult, d as CodeFileCoverage, e as CodeFileDefinitionLedgerEntry, f as CodeFileMemberMode, g as CodeRangeCoverage, h as CodeResolutionCandidate, C as CodeResult, i as CodeSelectorKind, j as CodeSelectorStatus, l as code, m as codeBatch } from '../code-B17qEMbt.js';
|
|
4
|
+
import './outline.js';
|
|
2
5
|
import 'better-sqlite3';
|
|
3
|
-
import '../config-types-
|
|
4
|
-
|
|
5
|
-
interface CodeResult {
|
|
6
|
-
symbol: string;
|
|
7
|
-
shortName: string;
|
|
8
|
-
relativePath: string;
|
|
9
|
-
startLine: number;
|
|
10
|
-
endLine: number;
|
|
11
|
-
language: string | null;
|
|
12
|
-
source: string;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Read the source code for a symbol, bounded to its definition range.
|
|
16
|
-
* Language-agnostic: just reads the file and extracts the relevant lines.
|
|
17
|
-
*
|
|
18
|
-
* Accepts:
|
|
19
|
-
* - Symbol name pattern: "processVegaMention"
|
|
20
|
-
* - Full short name: "src:modules:chat:processVegaMention"
|
|
21
|
-
* - File:line-line syntax: "src/chat/service.ts:100-200"
|
|
22
|
-
*/
|
|
23
|
-
declare function code(db: ScipDatabase, symbolPattern: string, opts?: {
|
|
24
|
-
context?: number;
|
|
25
|
-
}): CodeResult | null;
|
|
26
|
-
|
|
27
|
-
export { type CodeResult, code };
|
|
6
|
+
import '../config-types-B9B60MiR.js';
|
package/dist/queries/code.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{d as a,e as b}from"../chunk-X5MWO4DM.js";import"../chunk-ARGPDW2Y.js";import"../chunk-2LJLEM5B.js";import"../chunk-GBZCVYWA.js";import"../chunk-Z2QB75BS.js";import"../chunk-QH5Q6M5C.js";import"../chunk-CXT3GZSQ.js";import"../chunk-FSPENGSU.js";import"../chunk-U2MNECDU.js";import"../chunk-UM56ZET4.js";import"../chunk-B3AREUQK.js";import"../chunk-KK7GPALL.js";import"../chunk-7MUHSZGN.js";import"../chunk-HW7FASEL.js";import"../chunk-YUKYB54I.js";import"../chunk-YBWE6J32.js";import"../chunk-MTDBHTSF.js";import"../chunk-7Z4GMCHM.js";import"../chunk-6LS3IG2I.js";import"../chunk-C7WSQA6A.js";import"../chunk-JSHDCVUM.js";import"../chunk-WEXQYJY3.js";export{a as code,b as codeBatch};
|
|
2
2
|
//# sourceMappingURL=code.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as ScipDatabase } from '../db-
|
|
1
|
+
import { S as ScipDatabase } from '../db-BwIVAYNB.js';
|
|
2
2
|
import { BranchEstimateBasis } from './complexity.js';
|
|
3
3
|
import 'better-sqlite3';
|
|
4
|
-
import '../config-types-
|
|
4
|
+
import '../config-types-B9B60MiR.js';
|
|
5
5
|
import '../symbol-types-BIQwfoAx.js';
|
|
6
6
|
|
|
7
7
|
interface ComplexityHotspot {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-JLZWYDCZ.js";import"../chunk-5BJPJUXF.js";import"../chunk-XKM5D2XS.js";import"../chunk-BOJ5SVE2.js";import"../chunk-NODZYYGC.js";import"../chunk-BGBBVSH4.js";import"../chunk-G6VV7ROY.js";import"../chunk-GSHTVE56.js";import"../chunk-P5XHIJHI.js";import"../chunk-UM56ZET4.js";import"../chunk-XDQX6LDT.js";import"../chunk-B3AREUQK.js";import"../chunk-KK7GPALL.js";import"../chunk-7MUHSZGN.js";import"../chunk-FOP7HD6H.js";import"../chunk-743MEVFJ.js";import"../chunk-HW7FASEL.js";import"../chunk-YUKYB54I.js";import"../chunk-DHEQMPLW.js";import"../chunk-YBWE6J32.js";import"../chunk-MTDBHTSF.js";import"../chunk-7Z4GMCHM.js";import"../chunk-6LS3IG2I.js";import"../chunk-C7WSQA6A.js";import"../chunk-JSHDCVUM.js";import"../chunk-WEXQYJY3.js";export{a as complexityHotspots};
|
|
2
2
|
//# sourceMappingURL=complexity-hotspots.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as ScipDatabase } from '../db-
|
|
1
|
+
import { S as ScipDatabase } from '../db-BwIVAYNB.js';
|
|
2
2
|
import { S as SymbolMatch } from '../symbol-types-BIQwfoAx.js';
|
|
3
3
|
import 'better-sqlite3';
|
|
4
|
-
import '../config-types-
|
|
4
|
+
import '../config-types-B9B60MiR.js';
|
|
5
5
|
|
|
6
6
|
interface SyntaxNode {
|
|
7
7
|
type: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a,b,c,d}from"../chunk-
|
|
1
|
+
import{a,b,c,d}from"../chunk-XKM5D2XS.js";import"../chunk-NODZYYGC.js";import"../chunk-BGBBVSH4.js";import"../chunk-G6VV7ROY.js";import"../chunk-GSHTVE56.js";import"../chunk-P5XHIJHI.js";import"../chunk-UM56ZET4.js";import"../chunk-XDQX6LDT.js";import"../chunk-B3AREUQK.js";import"../chunk-KK7GPALL.js";import"../chunk-7MUHSZGN.js";import"../chunk-FOP7HD6H.js";import"../chunk-743MEVFJ.js";import"../chunk-HW7FASEL.js";import"../chunk-YUKYB54I.js";import"../chunk-DHEQMPLW.js";import"../chunk-YBWE6J32.js";import"../chunk-MTDBHTSF.js";import"../chunk-7Z4GMCHM.js";import"../chunk-6LS3IG2I.js";import"../chunk-C7WSQA6A.js";import"../chunk-JSHDCVUM.js";import"../chunk-WEXQYJY3.js";export{b as branchEstimateForDefinition,c as branchEstimatesForDefinitions,a as complexity,d as countBranchesFromAst};
|
|
2
2
|
//# sourceMappingURL=complexity.js.map
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { S as ScipDatabase } from '../db-BwIVAYNB.js';
|
|
2
|
+
import { b as CoChangeSubjectContext } from '../git-history-ChNHbfZQ.js';
|
|
3
|
+
import { AffectedResult } from './affected.js';
|
|
4
|
+
import { CallGraphResult } from './call-graph.js';
|
|
5
|
+
import { ChangeSurfaceResult } from './change-surface.js';
|
|
6
|
+
import { SimilarSymbolResult } from './similar.js';
|
|
7
|
+
import { ComplexityResult } from './complexity.js';
|
|
8
|
+
import { DataflowResult } from './dataflow.js';
|
|
9
|
+
import { DepResult } from './deps.js';
|
|
10
|
+
import { SliceResult } from './reference-reachability.js';
|
|
11
|
+
import { SurfaceResult } from './surface.js';
|
|
12
|
+
import { SystemResult } from './system.js';
|
|
13
|
+
import { TraceResult } from './trace.js';
|
|
14
|
+
import 'better-sqlite3';
|
|
15
|
+
import '../config-types-B9B60MiR.js';
|
|
16
|
+
import '../symbol-types-BIQwfoAx.js';
|
|
17
|
+
import './symbols.js';
|
|
18
|
+
|
|
19
|
+
interface RepositoryContextOptions {
|
|
20
|
+
semantic?: boolean;
|
|
21
|
+
impactDepth?: number;
|
|
22
|
+
sliceDepth?: number;
|
|
23
|
+
scope?: string;
|
|
24
|
+
/** Already-resolved invocation HEAD for snapshot-consistent history evidence. */
|
|
25
|
+
gitHead?: string;
|
|
26
|
+
}
|
|
27
|
+
/** Decision-time history risk for the target's file, from the change graph. */
|
|
28
|
+
interface RepositoryContextHistory {
|
|
29
|
+
/** False when git history is unavailable or no file could be resolved. */
|
|
30
|
+
available: boolean;
|
|
31
|
+
file: string | null;
|
|
32
|
+
churn: {
|
|
33
|
+
changes: number;
|
|
34
|
+
fixChanges: number;
|
|
35
|
+
lastChangedAt: number;
|
|
36
|
+
} | null;
|
|
37
|
+
/** Files that usually change together with this one — edit checklist. */
|
|
38
|
+
coChangePartners: Array<{
|
|
39
|
+
file: string;
|
|
40
|
+
together: number;
|
|
41
|
+
confidence: number;
|
|
42
|
+
subjectContext: CoChangeSubjectContext;
|
|
43
|
+
}>;
|
|
44
|
+
/** Detector suppressions present in the file — known accepted findings. */
|
|
45
|
+
suppressionsInFile: number;
|
|
46
|
+
}
|
|
47
|
+
interface RepositoryContextAffectedConsumer {
|
|
48
|
+
symbol: string;
|
|
49
|
+
shortName: string;
|
|
50
|
+
file: string;
|
|
51
|
+
referenceCount: number;
|
|
52
|
+
}
|
|
53
|
+
interface RepositoryContextConsumerReuseCandidate {
|
|
54
|
+
/** Similarity evidence between one affected consumer and this possible existing owner. */
|
|
55
|
+
candidate: SimilarSymbolResult;
|
|
56
|
+
/** Affected consumers whose bounded similarity scan produced this same possible owner. */
|
|
57
|
+
consumers: RepositoryContextAffectedConsumer[];
|
|
58
|
+
}
|
|
59
|
+
interface RepositoryContextConsumerReuseCoverage {
|
|
60
|
+
totalConsumers: number;
|
|
61
|
+
analyzedConsumers: number;
|
|
62
|
+
omittedConsumers: number;
|
|
63
|
+
perConsumerSearchLimit: number;
|
|
64
|
+
perConsumerCandidateLimit: number;
|
|
65
|
+
candidateLimit: number;
|
|
66
|
+
returnedCandidates: number;
|
|
67
|
+
}
|
|
68
|
+
interface RepositoryContextConsumerReuse {
|
|
69
|
+
candidates: RepositoryContextConsumerReuseCandidate[];
|
|
70
|
+
coverage: RepositoryContextConsumerReuseCoverage;
|
|
71
|
+
}
|
|
72
|
+
interface RepositoryContextPrimaryCallable {
|
|
73
|
+
symbol: string;
|
|
74
|
+
shortName: string;
|
|
75
|
+
file: string;
|
|
76
|
+
}
|
|
77
|
+
interface RepositoryContextSourceSlice extends RepositoryContextPrimaryCallable {
|
|
78
|
+
role: 'target' | 'consumer' | 'reuse-candidate';
|
|
79
|
+
startLine: number;
|
|
80
|
+
endLine: number;
|
|
81
|
+
source: string;
|
|
82
|
+
omittedLines: number;
|
|
83
|
+
/** Exact reference lines inside a consumer-centered source window. */
|
|
84
|
+
focusLines?: number[];
|
|
85
|
+
}
|
|
86
|
+
interface RepositoryContextSourcePacket {
|
|
87
|
+
slices: RepositoryContextSourceSlice[];
|
|
88
|
+
candidateSlices: number;
|
|
89
|
+
omittedSlices: number;
|
|
90
|
+
maxSlices: number;
|
|
91
|
+
maxLinesPerSlice: number;
|
|
92
|
+
maxTotalLines: number;
|
|
93
|
+
targetLineLimit?: number;
|
|
94
|
+
consumerContextLines?: number;
|
|
95
|
+
reuseLineLimit?: number;
|
|
96
|
+
}
|
|
97
|
+
interface RepositoryContextResult {
|
|
98
|
+
target: string;
|
|
99
|
+
/** One callable selected from a file target only when the choice is unambiguous. */
|
|
100
|
+
primaryCallable?: RepositoryContextPrimaryCallable;
|
|
101
|
+
matched: {
|
|
102
|
+
symbol: boolean;
|
|
103
|
+
file: boolean;
|
|
104
|
+
module: boolean;
|
|
105
|
+
};
|
|
106
|
+
history: RepositoryContextHistory;
|
|
107
|
+
trace: TraceResult;
|
|
108
|
+
callGraph: CallGraphResult | null;
|
|
109
|
+
complexity: ComplexityResult | null;
|
|
110
|
+
dataflow: DataflowResult | null;
|
|
111
|
+
backwardSlice: SliceResult | null;
|
|
112
|
+
forwardSlice: SliceResult | null;
|
|
113
|
+
affected: AffectedResult[];
|
|
114
|
+
changeSurface: ChangeSurfaceResult | null;
|
|
115
|
+
deps: DepResult[];
|
|
116
|
+
rdeps: DepResult[];
|
|
117
|
+
system: SystemResult;
|
|
118
|
+
surface: SurfaceResult[];
|
|
119
|
+
/** Bounded existing symbols whose implementation evidence may support reuse. */
|
|
120
|
+
reuseCandidates?: SimilarSymbolResult[];
|
|
121
|
+
/**
|
|
122
|
+
* Bounded possible owners found by comparing functions that directly use
|
|
123
|
+
* the target. Kept separate because this is surrounding-behavior evidence,
|
|
124
|
+
* not evidence that the owner can replace the target itself.
|
|
125
|
+
*/
|
|
126
|
+
affectedConsumerReuse?: RepositoryContextConsumerReuse;
|
|
127
|
+
/** Bounded source slices for the target, its direct consumers, and possible owners. */
|
|
128
|
+
sourcePacket?: RepositoryContextSourcePacket;
|
|
129
|
+
warnings: string[];
|
|
130
|
+
}
|
|
131
|
+
declare function repositoryContext(db: ScipDatabase, target: string, opts?: RepositoryContextOptions): RepositoryContextResult;
|
|
132
|
+
interface AffectedConsumerReuseLimits {
|
|
133
|
+
consumerLimit?: number;
|
|
134
|
+
perConsumerSearchLimit?: number;
|
|
135
|
+
perConsumerCandidateLimit?: number;
|
|
136
|
+
candidateLimit?: number;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Turn compiler-resolved target references into a bounded search for existing
|
|
140
|
+
* owners of the surrounding consumer behavior. Exported for a pure contract
|
|
141
|
+
* test; production supplies `similar` as the evidence source.
|
|
142
|
+
*/
|
|
143
|
+
declare function discoverAffectedConsumerReuse(traceResult: Pick<TraceResult, 'referencedBy'>, targetSymbol: string | null, findSimilar: (consumerSymbol: string) => SimilarSymbolResult[], limits?: AffectedConsumerReuseLimits): RepositoryContextConsumerReuse;
|
|
144
|
+
|
|
145
|
+
export { type RepositoryContextAffectedConsumer, type RepositoryContextConsumerReuse, type RepositoryContextConsumerReuseCandidate, type RepositoryContextConsumerReuseCoverage, type RepositoryContextHistory, type RepositoryContextOptions, type RepositoryContextPrimaryCallable, type RepositoryContextResult, type RepositoryContextSourcePacket, type RepositoryContextSourceSlice, discoverAffectedConsumerReuse, repositoryContext };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a,b}from"../chunk-DZA7MQMU.js";import"../chunk-IHGK3SZ7.js";import"../chunk-XNF5T4T2.js";import"../chunk-ZQUNCTEZ.js";import"../chunk-IGBQVEHE.js";import"../chunk-3YETOKNO.js";import"../chunk-K2DZCH2K.js";import"../chunk-GTZFKDP3.js";import"../chunk-DGM2RJ3I.js";import"../chunk-VJAD5WX5.js";import"../chunk-4ZCLDH6T.js";import"../chunk-47WX6UC4.js";import"../chunk-BYXWXLKM.js";import"../chunk-ARGPDW2Y.js";import"../chunk-GBZCVYWA.js";import"../chunk-QH5Q6M5C.js";import"../chunk-XKM5D2XS.js";import"../chunk-MLTSTKXD.js";import"../chunk-KMVGRIO2.js";import"../chunk-HYU4W353.js";import"../chunk-FSPENGSU.js";import"../chunk-BOJ5SVE2.js";import"../chunk-NODZYYGC.js";import"../chunk-BGBBVSH4.js";import"../chunk-G6VV7ROY.js";import"../chunk-GSHTVE56.js";import"../chunk-P5XHIJHI.js";import"../chunk-UM56ZET4.js";import"../chunk-XDQX6LDT.js";import"../chunk-B3AREUQK.js";import"../chunk-KK7GPALL.js";import"../chunk-7MUHSZGN.js";import"../chunk-FOP7HD6H.js";import"../chunk-743MEVFJ.js";import"../chunk-HW7FASEL.js";import"../chunk-YUKYB54I.js";import"../chunk-DHEQMPLW.js";import"../chunk-YBWE6J32.js";import"../chunk-MTDBHTSF.js";import"../chunk-7Z4GMCHM.js";import"../chunk-6LS3IG2I.js";import"../chunk-C7WSQA6A.js";import"../chunk-JSHDCVUM.js";import"../chunk-WEXQYJY3.js";export{b as discoverAffectedConsumerReuse,a as repositoryContext};
|
|
2
|
+
//# sourceMappingURL=context.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-PWEQ6CZZ.js";import"../chunk-MLTSTKXD.js";import"../chunk-KMVGRIO2.js";import"../chunk-BOJ5SVE2.js";import"../chunk-NODZYYGC.js";import"../chunk-BGBBVSH4.js";import"../chunk-G6VV7ROY.js";import"../chunk-GSHTVE56.js";import"../chunk-P5XHIJHI.js";import"../chunk-UM56ZET4.js";import"../chunk-XDQX6LDT.js";import"../chunk-B3AREUQK.js";import"../chunk-KK7GPALL.js";import"../chunk-7MUHSZGN.js";import"../chunk-FOP7HD6H.js";import"../chunk-743MEVFJ.js";import"../chunk-HW7FASEL.js";import"../chunk-YUKYB54I.js";import"../chunk-DHEQMPLW.js";import"../chunk-YBWE6J32.js";import"../chunk-MTDBHTSF.js";import"../chunk-7Z4GMCHM.js";import"../chunk-6LS3IG2I.js";import"../chunk-C7WSQA6A.js";import"../chunk-JSHDCVUM.js";import"../chunk-WEXQYJY3.js";export{a as convergence};
|
|
2
2
|
//# sourceMappingURL=convergence.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { S as ScipDatabase } from '../db-
|
|
1
|
+
import { S as ScipDatabase } from '../db-BwIVAYNB.js';
|
|
2
2
|
import 'better-sqlite3';
|
|
3
|
-
import '../config-types-
|
|
3
|
+
import '../config-types-B9B60MiR.js';
|
|
4
4
|
|
|
5
5
|
interface CouplingResult {
|
|
6
6
|
file1: string;
|
|
@@ -16,6 +16,7 @@ interface CouplingResult {
|
|
|
16
16
|
* (symbols defined in one and referenced in the other, or vice versa).
|
|
17
17
|
*/
|
|
18
18
|
declare function coupling(db: ScipDatabase, file1: string, file2: string): CouplingResult;
|
|
19
|
+
declare function sharedSymbolCoupling(db: ScipDatabase, file1: string, file2: string): CouplingResult;
|
|
19
20
|
/**
|
|
20
21
|
* Find the most coupled file pairs in the codebase.
|
|
21
22
|
*/
|
|
@@ -23,5 +24,9 @@ declare function topCoupling(db: ScipDatabase, opts?: {
|
|
|
23
24
|
limit?: number;
|
|
24
25
|
scope?: string;
|
|
25
26
|
}): CouplingResult[];
|
|
27
|
+
declare function topSharedSymbolCoupling(db: ScipDatabase, opts?: {
|
|
28
|
+
limit?: number;
|
|
29
|
+
scope?: string;
|
|
30
|
+
}): CouplingResult[];
|
|
26
31
|
|
|
27
|
-
export { type CouplingResult, coupling, topCoupling };
|
|
32
|
+
export { type CouplingResult, coupling, sharedSymbolCoupling, topCoupling, topSharedSymbolCoupling };
|