scip-query 0.24.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +247 -1
- package/README.md +111 -124
- package/dist/augment-vue-worker.js +1 -1
- package/dist/by-kind-PRVFAGTQ.js +2 -0
- package/dist/call-graph-DVPAQV2F.js +2 -0
- package/dist/{call-graph-evidence-BociKRpF.d.ts → call-graph-evidence-CUtj8V2I.d.ts} +1 -1
- package/dist/chunk-2FSBGL5P.js +2 -0
- package/dist/chunk-2HLAFUCY.js +2 -0
- package/dist/chunk-2IWUT6CJ.js +3 -0
- package/dist/chunk-2KNN7GTQ.js +2 -0
- package/dist/chunk-2LHXRE2B.js +8 -0
- package/dist/{chunk-E65ELFKU.js → chunk-2YXE77TJ.js} +2 -2
- package/dist/chunk-36SGVCGX.js +2 -0
- package/dist/chunk-3ABBFPTP.js +2 -0
- package/dist/chunk-3IVFU4FD.js +3 -0
- package/dist/chunk-3JIQS44J.js +7 -0
- package/dist/chunk-3ZRB6DNK.js +7 -0
- package/dist/{chunk-6YTSKJJ3.js → chunk-42EOW5VI.js} +1 -1
- package/dist/{chunk-BHKK5RJY.js → chunk-4BHGBMNO.js} +2 -2
- package/dist/chunk-4BP3UBDG.js +2 -0
- package/dist/chunk-4D6RO7G4.js +2 -0
- package/dist/chunk-4FEWQ6RH.js +2 -0
- package/dist/chunk-4IGEOBG7.js +2 -0
- package/dist/chunk-4QZXBUKC.js +2 -0
- package/dist/chunk-4WBDEVX2.js +4 -0
- package/dist/chunk-4WCUBZU3.js +8 -0
- package/dist/chunk-4WTUBQ36.js +40 -0
- package/dist/chunk-4XQ4O6IM.js +3 -0
- package/dist/chunk-55UQAMZO.js +4 -0
- package/dist/chunk-5D2LVK7O.js +125 -0
- package/dist/chunk-5IYJ56TT.js +2 -0
- package/dist/chunk-5PLMJC7Q.js +2 -0
- package/dist/chunk-5TNQJUR2.js +5 -0
- package/dist/chunk-62BDNPMI.js +2 -0
- package/dist/chunk-64DZ5TXR.js +7 -0
- package/dist/chunk-65245JCM.js +2 -0
- package/dist/chunk-6FFVZZL4.js +2 -0
- package/dist/chunk-6KO5JHAR.js +2 -0
- package/dist/chunk-6LRXOOSX.js +2 -0
- package/dist/chunk-6LSEIIF7.js +2 -0
- package/dist/chunk-6YMNWD3H.js +6 -0
- package/dist/chunk-72AD6ZRR.js +5 -0
- package/dist/chunk-73AAKPUC.js +4 -0
- package/dist/chunk-76CZ77DF.js +2 -0
- package/dist/chunk-7VPEEAAG.js +2 -0
- package/dist/chunk-7WTPQ4NX.js +14 -0
- package/dist/chunk-7Y5T6XDP.js +2 -0
- package/dist/chunk-A2IIGFMJ.js +5 -0
- package/dist/chunk-AB5KCTEV.js +2 -0
- package/dist/chunk-AC566WBP.js +6 -0
- package/dist/chunk-AGWFSTXC.js +3 -0
- package/dist/chunk-AOSIYPTA.js +2 -0
- package/dist/chunk-AUVEWPIF.js +2 -0
- package/dist/chunk-B56T42J3.js +25 -0
- package/dist/chunk-BIQEF5NE.js +2 -0
- package/dist/chunk-BL6XJKTA.js +3 -0
- package/dist/chunk-BMKOQJRI.js +2 -0
- package/dist/chunk-BOZ4EXBB.js +3 -0
- package/dist/chunk-BUTWYEPH.js +2 -0
- package/dist/chunk-BZB4QPIP.js +2 -0
- package/dist/{chunk-6ILKOOGH.js → chunk-CE357GEE.js} +4 -4
- package/dist/chunk-CFN45HFP.js +2 -0
- package/dist/chunk-CFYMZFXT.js +368 -0
- package/dist/chunk-CN5EH7O3.js +2 -0
- package/dist/chunk-D254DNNQ.js +4 -0
- package/dist/chunk-D3FDISIC.js +2 -0
- package/dist/chunk-D3NX5XIE.js +3 -0
- package/dist/chunk-DA7RPPDF.js +3 -0
- package/dist/chunk-DDMC3FON.js +3 -0
- package/dist/chunk-DIO3FUSG.js +2 -0
- package/dist/chunk-DJ2NNSUK.js +3 -0
- package/dist/chunk-DKYQIM3C.js +18 -0
- package/dist/{chunk-OHIV323X.js → chunk-DOOEL2IV.js} +2 -2
- package/dist/chunk-DVFP6PZI.js +2 -0
- package/dist/chunk-E3FDPXZK.js +2 -0
- package/dist/chunk-E7YNJLCB.js +2 -0
- package/dist/chunk-EFGW5JPH.js +2 -0
- package/dist/chunk-EJVTR244.js +13 -0
- package/dist/chunk-EOV7RTRZ.js +2 -0
- package/dist/chunk-ETOIKRHO.js +2 -0
- package/dist/chunk-EYK3ZAO2.js +3 -0
- package/dist/chunk-F2V2LPET.js +52 -0
- package/dist/chunk-F4LUHJTF.js +2 -0
- package/dist/chunk-F4PUT6IT.js +2 -0
- package/dist/chunk-F56GCXXS.js +5 -0
- package/dist/chunk-FC2EVQRM.js +2 -0
- package/dist/chunk-FL7NBMHP.js +3 -0
- package/dist/chunk-FMRN2TRL.js +3 -0
- package/dist/chunk-FVULPZDF.js +20 -0
- package/dist/chunk-GCKCF5FL.js +43 -0
- package/dist/chunk-GH2PYF46.js +2 -0
- package/dist/chunk-GHJAGXIP.js +2 -0
- package/dist/{chunk-2GJSD5GY.js → chunk-GMVSHUKZ.js} +2 -2
- package/dist/chunk-GS6KDO4R.js +2 -0
- package/dist/chunk-GUUBXNN7.js +2 -0
- package/dist/chunk-GVWX5T43.js +80 -0
- package/dist/chunk-GZKFETP5.js +2 -0
- package/dist/chunk-H4EQHO6J.js +9 -0
- package/dist/chunk-H73WY2RM.js +2 -0
- package/dist/chunk-H75GSPRV.js +60 -0
- package/dist/chunk-HDR3AHSV.js +61 -0
- package/dist/chunk-HQBSL74Y.js +2 -0
- package/dist/chunk-HRRFKWPZ.js +2 -0
- package/dist/chunk-HXENDJC6.js +2 -0
- package/dist/chunk-IIBAZNSW.js +21 -0
- package/dist/chunk-INLMWEUU.js +12 -0
- package/dist/chunk-IWQPAF4F.js +2 -0
- package/dist/chunk-IZJ6YUKP.js +35 -0
- package/dist/chunk-J2TMAIN5.js +60 -0
- package/dist/chunk-J5FJMODQ.js +142 -0
- package/dist/chunk-J7HZPIO3.js +2 -0
- package/dist/chunk-JEVRKFRL.js +2 -0
- package/dist/chunk-JFXSGAEB.js +30 -0
- package/dist/chunk-JVRTHGFS.js +3 -0
- package/dist/chunk-JYWEX7RR.js +360 -0
- package/dist/chunk-K3YL22N6.js +2 -0
- package/dist/chunk-K4CN7GXK.js +12 -0
- package/dist/chunk-K5TBVXU4.js +30 -0
- package/dist/chunk-KDDIE2DP.js +9 -0
- package/dist/chunk-KHWRRPV4.js +2 -0
- package/dist/chunk-KI6NBKDY.js +14 -0
- package/dist/chunk-KU3QRSTH.js +2 -0
- package/dist/chunk-KZBJWZJB.js +2 -0
- package/dist/chunk-L7GFM3NP.js +3 -0
- package/dist/chunk-LMO6PK3V.js +35 -0
- package/dist/chunk-LN4YXJJU.js +2 -0
- package/dist/chunk-LOVIZBJ4.js +43 -0
- package/dist/chunk-LPCRK4A2.js +11 -0
- package/dist/chunk-MMHZKBFA.js +2 -0
- package/dist/{chunk-A4WEAK35.js → chunk-MOQQBQRD.js} +2 -2
- package/dist/chunk-N2WN6I3L.js +2 -0
- package/dist/chunk-N3ORQT7L.js +2 -0
- package/dist/chunk-NAZ3RAIW.js +2 -0
- package/dist/chunk-NDUNO5JQ.js +2 -0
- package/dist/chunk-NEIWRNAZ.js +4 -0
- package/dist/chunk-NJJMVD65.js +2 -0
- package/dist/chunk-NLOQOBXI.js +20 -0
- package/dist/chunk-NOLZOVCU.js +2 -0
- package/dist/chunk-NOWINRRN.js +2 -0
- package/dist/chunk-NZAXKGRL.js +16 -0
- package/dist/chunk-O2C4UILI.js +2 -0
- package/dist/chunk-O3RHA6ZT.js +3 -0
- package/dist/chunk-O4UZSPPI.js +3 -0
- package/dist/chunk-OGFV2BUX.js +2 -0
- package/dist/chunk-OZCJXZK6.js +499 -0
- package/dist/chunk-P6ODM7BY.js +2 -0
- package/dist/{chunk-GHNPACNP.js → chunk-PAVGPRHJ.js} +2 -2
- package/dist/chunk-PH52RA7D.js +2 -0
- package/dist/chunk-PKN354TH.js +3 -0
- package/dist/chunk-PWOASWEG.js +11 -0
- package/dist/chunk-QIWXRW72.js +2 -0
- package/dist/chunk-QJRMOK5N.js +2 -0
- package/dist/{chunk-YXPUP5G2.js → chunk-QOIXNWQR.js} +2 -2
- package/dist/chunk-QXEUDXBT.js +3 -0
- package/dist/chunk-QYUVVBMR.js +6 -0
- package/dist/chunk-QZ7KQZRN.js +2 -0
- package/dist/chunk-R6LQBUDH.js +2 -0
- package/dist/chunk-RBS42E55.js +20 -0
- package/dist/chunk-RSJKPCFX.js +26 -0
- package/dist/chunk-S6CZA3MV.js +2 -0
- package/dist/chunk-STMVAHJP.js +2 -0
- package/dist/chunk-SYVPTTVW.js +2 -0
- package/dist/chunk-T6DK3ZP7.js +2 -0
- package/dist/chunk-TKD34PHN.js +4 -0
- package/dist/chunk-TNNQFH7W.js +2 -0
- package/dist/chunk-TNV7SSUF.js +2 -0
- package/dist/chunk-TO7ZR3EH.js +8 -0
- package/dist/chunk-TOU3CHK4.js +2 -0
- package/dist/chunk-TRBI4UKT.js +2 -0
- package/dist/chunk-TZCVNCAN.js +4 -0
- package/dist/chunk-U4LZA5LL.js +3 -0
- package/dist/chunk-U5RIG3JP.js +3 -0
- package/dist/chunk-UP5KXN2I.js +2 -0
- package/dist/chunk-UQFR3NDH.js +5 -0
- package/dist/chunk-UXYXF7GV.js +2 -0
- package/dist/chunk-VB3GOKOS.js +2 -0
- package/dist/{chunk-4FR6GQIT.js → chunk-VF5JZICY.js} +2 -2
- package/dist/chunk-VTY3VK6E.js +2 -0
- package/dist/chunk-VX2O4RIS.js +2 -0
- package/dist/chunk-WKPV2TDZ.js +2 -0
- package/dist/chunk-WOFQ5DTB.js +2 -0
- package/dist/chunk-WS4C6TCK.js +2 -0
- package/dist/chunk-WXU3DGPU.js +2 -0
- package/dist/{chunk-ATXPTSEI.js → chunk-X6RMKHJQ.js} +7 -7
- package/dist/{chunk-44IETFOU.js → chunk-XHMN6ZX7.js} +2 -2
- package/dist/chunk-XHTVFLWW.js +2 -0
- package/dist/chunk-XKIDJCIK.js +2 -0
- package/dist/chunk-XTYTYZPT.js +2 -0
- package/dist/chunk-Y2JHHTTA.js +2 -0
- package/dist/chunk-YGVRMGYN.js +4 -0
- package/dist/chunk-YNQCGEQE.js +2 -0
- package/dist/chunk-YOQVEXVE.js +14 -0
- package/dist/chunk-YRT2WLYY.js +2 -0
- package/dist/chunk-YTAP5Y2G.js +2 -0
- package/dist/chunk-YTYWI7VB.js +2 -0
- package/dist/chunk-YULZRALL.js +2 -0
- package/dist/chunk-Z33WQG4Q.js +2 -0
- package/dist/chunk-ZGTYGDMF.js +16 -0
- package/dist/chunk-ZHMRSZFD.js +43 -0
- package/dist/chunk-ZHSP366W.js +10 -0
- package/dist/chunk-ZIBYCYKK.js +7 -0
- package/dist/chunk-ZLADLUE6.js +3 -0
- package/dist/chunk-ZO4YXUT6.js +4 -0
- package/dist/{chunk-MZPXPSUJ.js → chunk-ZR4HBC2H.js} +2 -2
- package/dist/cli-main.js +6 -6
- package/dist/cli.js +1 -1
- package/dist/{code-B17qEMbt.d.ts → code-BNyrCF3_.d.ts} +3 -2
- package/dist/code-IL5WH3NZ.js +2 -0
- package/dist/code-result-json-ANTBEDFP.js +4 -0
- package/dist/command-descriptors-HEEMDHTU.js +222 -0
- package/dist/deps-EOWFC6FD.js +2 -0
- package/dist/direct-navigation-Y5B6OSIQ.js +3 -0
- package/dist/{exploration-topology-BG4v30HZ.d.ts → exploration-topology-CSgEyAz-.d.ts} +3 -1
- package/dist/files-K4AI3JUM.js +2 -0
- package/dist/{health-BI2a9WPy.d.ts → health-BtfmNrfa.d.ts} +5 -79
- package/dist/hierarchy-6W5NDIFI.js +2 -0
- package/dist/imports-WH365QY4.js +2 -0
- package/dist/index.d.ts +13 -1
- package/dist/index.js +1 -1
- package/dist/members-K3PHMF5S.js +2 -0
- package/dist/methods-E7KVMBX4.js +2 -0
- package/dist/output-continuation-command-BJSY67SN.js +3 -0
- package/dist/output-pagination-UZJ5ACIX.js +24 -0
- package/dist/postinstall.js +1 -1
- package/dist/project-reindex-EP24WT4X.js +3 -0
- package/dist/queries/affected.js +1 -1
- package/dist/queries/architecture.d.ts +15 -4
- package/dist/queries/architecture.js +1 -1
- package/dist/queries/bottlenecks.js +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 -0
- package/dist/queries/change-surface.js +1 -1
- package/dist/queries/cleanup-plan.d.ts +3 -3
- package/dist/queries/cleanup-plan.js +1 -1
- package/dist/queries/co-change.js +1 -1
- package/dist/queries/code.d.ts +1 -1
- package/dist/queries/code.js +1 -1
- package/dist/queries/complexity.d.ts +6 -3
- package/dist/queries/complexity.js +1 -1
- package/dist/queries/context.d.ts +1 -7
- package/dist/queries/context.js +1 -1
- package/dist/queries/coupling.js +1 -1
- package/dist/queries/cycles.js +1 -1
- package/dist/queries/dead.js +1 -1
- package/dist/queries/decorative-checkers.js +1 -1
- package/dist/queries/dependence-slice.d.ts +46 -22
- package/dist/queries/dependence-slice.js +1 -1
- package/dist/queries/dependency-depth.d.ts +1 -7
- package/dist/queries/dependency-depth.js +1 -1
- package/dist/queries/deps.js +1 -1
- package/dist/queries/diff-impact.d.ts +3 -1
- package/dist/queries/diff-impact.js +1 -1
- package/dist/queries/doc-drift.js +1 -1
- package/dist/queries/drift.d.ts +1 -1
- package/dist/queries/drift.js +1 -1
- package/dist/queries/duplicate-bodies.d.ts +1 -1
- package/dist/queries/duplicate-bodies.js +1 -1
- package/dist/queries/entry-map.d.ts +2 -4
- package/dist/queries/entry-map.js +1 -1
- package/dist/queries/evidence.d.ts +121 -61
- package/dist/queries/evidence.js +1 -1
- package/dist/queries/fan.js +1 -1
- package/dist/queries/files.js +1 -1
- package/dist/queries/health.d.ts +1 -1
- package/dist/queries/health.js +1 -1
- package/dist/queries/hierarchy.d.ts +2 -2
- 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 -0
- package/dist/queries/imports.js +1 -1
- package/dist/queries/incomplete-migration.d.ts +3 -3
- package/dist/queries/incomplete-migration.js +1 -1
- package/dist/queries/index.d.ts +15 -64
- package/dist/queries/index.js +1 -1
- package/dist/queries/locality-candidates.d.ts +4 -4
- 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.js +1 -1
- package/dist/queries/not-implemented.d.ts +2 -6
- package/dist/queries/not-implemented.js +1 -1
- package/dist/queries/outline.js +1 -1
- package/dist/queries/passthrough-candidates.js +1 -1
- package/dist/queries/react-component-duplicates.js +1 -1
- package/dist/queries/react-hook-candidates.js +1 -1
- package/dist/queries/react-large-component-pressure.js +1 -1
- package/dist/queries/recent-duplicates.js +1 -1
- package/dist/queries/redundant-reexports.d.ts +4 -14
- package/dist/queries/redundant-reexports.js +1 -1
- package/dist/queries/refs.d.ts +4 -1
- package/dist/queries/refs.js +1 -1
- package/dist/queries/review.d.ts +188 -0
- package/dist/queries/review.js +2 -0
- package/dist/queries/similar-files.d.ts +7 -10
- package/dist/queries/similar-files.js +1 -1
- package/dist/queries/similar-signatures.js +1 -1
- package/dist/queries/similar.d.ts +19 -1
- package/dist/queries/similar.js +1 -1
- package/dist/queries/slice-cohesion.d.ts +205 -0
- package/dist/queries/slice-cohesion.js +2 -0
- package/dist/queries/source-inspection.d.ts +6 -202
- package/dist/queries/source-inspection.js +1 -1
- package/dist/queries/source-search.d.ts +2 -3
- package/dist/queries/source-search.js +1 -1
- package/dist/queries/stats.d.ts +1 -0
- package/dist/queries/stats.js +1 -1
- package/dist/queries/surface.js +1 -1
- package/dist/queries/symbols.js +1 -1
- package/dist/queries/system.d.ts +4 -2
- package/dist/queries/system.js +1 -1
- package/dist/queries/test-quality.d.ts +1 -1
- package/dist/queries/test-quality.js +1 -1
- package/dist/queries/twin-drift.d.ts +1 -1
- package/dist/queries/twin-drift.js +1 -1
- package/dist/queries/unused-imports.js +1 -1
- package/dist/queries/unused-params.d.ts +3 -15
- package/dist/queries/unused-params.js +1 -1
- package/dist/queries/vue-component-duplicates.js +1 -1
- package/dist/queries/vue-composable-candidates.js +1 -1
- package/dist/queries/vue-large-view-pressure.js +1 -1
- package/dist/query-service-fastpath.js +5 -5
- package/dist/query-service-server.js +4 -4
- package/dist/refs-CCBJG7WK.js +2 -0
- package/dist/refs-pagination-DRNLVU4S.js +2 -0
- package/dist/reindex-worker.js +79 -29
- package/dist/reindex.js +45 -45
- package/dist/repository-cache-worker.js +2 -0
- package/dist/runtime.d.ts +8 -8
- package/dist/runtime.js +3 -4
- 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/service-queries-2WAJI7R6.js +6 -0
- package/dist/source-inspection-91U9zdO3.d.ts +341 -0
- package/dist/{source-search-types-Dwz8KeuW.d.ts → source-search-types-DWGYNg8M.d.ts} +15 -2
- package/dist/stats-G7DIV6VU.js +2 -0
- package/dist/surface-IO55UALI.js +2 -0
- package/dist/system-ZBMSHJXU.js +2 -0
- package/dist/{queries/trace.d.ts → trace-BMjw3prn.d.ts} +1 -18
- package/dist/typescript-indexer.js +2 -0
- package/dist/typescript-mailbox-worker.js +1 -1
- package/dist/watch-server.js +3 -3
- package/docs/AGENT_GUIDE.md +19 -128
- package/docs/CLI_JSON_OUTPUT.md +21 -17
- package/docs/COMMAND_REFERENCE.md +34 -49
- package/docs/CURRENT_COMMANDS.md +123 -0
- package/docs/DETECTOR_EVIDENCE_CONTRACTS.md +0 -40
- package/docs/DETECTOR_GUIDE.md +27 -23
- package/docs/PRODUCT_VISION.md +135 -0
- package/docs/PROPERTY_TESTING.md +73 -0
- package/docs/REVIEW.md +76 -0
- package/docs/SKILLS.md +51 -0
- package/docs/WINDOWS_SIDECAR_RELEASE.md +12 -3
- package/docs/accuracy-audit-checklist.md +34 -0
- package/docs/analyzer-inventory.md +2 -2
- package/package.json +18 -80
- package/scripts/evidence-product-contract.mjs +7 -3
- package/scripts/record-review-coverage.mjs +118 -0
- package/scripts/scip-windows-provenance.mjs +29 -19
- package/skills/scip-architecture-review/SKILL.md +57 -0
- package/skills/scip-architecture-review/agents/openai.yaml +4 -0
- package/skills/scip-architecture-review/references/design-checks.md +17 -0
- package/skills/scip-explore/SKILL.md +15 -59
- package/skills/scip-explore/agents/openai.yaml +3 -3
- package/skills/scip-explore/references/external-evidence.md +2 -2
- package/skills/scip-explore/references/information-model.md +26 -29
- package/skills/scip-explore/scripts/capture-evidence.mjs +68 -34
- package/skills/scip-integrity-audit/SKILL.md +53 -181
- package/skills/scip-integrity-audit/agents/openai.yaml +3 -3
- package/skills/scip-integrity-audit/references/integrity-probes.md +27 -0
- package/skills/scip-plan/SKILL.md +39 -65
- package/skills/scip-plan/agents/openai.yaml +2 -2
- package/skills/scip-query/SKILL.md +28 -81
- package/skills/scip-query/agents/openai.yaml +2 -2
- package/skills/scip-query/references/command-guide.md +169 -0
- package/skills/scip-setup/SKILL.md +4 -2
- package/skills/scip-setup/agents/openai.yaml +3 -3
- package/dist/by-kind-H3P6BR5G.js +0 -2
- package/dist/call-graph-VTG2CUOQ.js +0 -2
- package/dist/chunk-26CT72HM.js +0 -2
- package/dist/chunk-2BMSSRBH.js +0 -2
- package/dist/chunk-2M2LSIMY.js +0 -7
- package/dist/chunk-2N6WBNDC.js +0 -29
- package/dist/chunk-2OOY75BW.js +0 -2
- package/dist/chunk-2USA3S3P.js +0 -3
- package/dist/chunk-2VAHDDLM.js +0 -133
- package/dist/chunk-2XWIUW5Z.js +0 -455
- package/dist/chunk-35NLDRZC.js +0 -2
- package/dist/chunk-3AF4TUFK.js +0 -3
- package/dist/chunk-3D4BOXW6.js +0 -20
- package/dist/chunk-3LO4FST5.js +0 -16
- package/dist/chunk-3WTY4LP2.js +0 -3
- package/dist/chunk-3Z5AMSK6.js +0 -29
- package/dist/chunk-4KBTHJLP.js +0 -2
- package/dist/chunk-5BIKR67W.js +0 -2
- package/dist/chunk-5PROPLHI.js +0 -2
- package/dist/chunk-5V7EPTII.js +0 -2
- package/dist/chunk-62LPZCBQ.js +0 -3
- package/dist/chunk-64O2JHQA.js +0 -2
- package/dist/chunk-6D4F5VWG.js +0 -10
- package/dist/chunk-6ERFBC3X.js +0 -3
- package/dist/chunk-6MFXCMZC.js +0 -2
- package/dist/chunk-6O7FACKB.js +0 -2
- package/dist/chunk-6TS3KOXR.js +0 -2
- package/dist/chunk-76QOU4PK.js +0 -3
- package/dist/chunk-7DUI77BN.js +0 -2
- package/dist/chunk-7F45LJKI.js +0 -2
- package/dist/chunk-7F7T6DCR.js +0 -2
- package/dist/chunk-7H6VHWWJ.js +0 -2
- package/dist/chunk-7HXT6YLU.js +0 -5
- package/dist/chunk-7KCZELVM.js +0 -2
- package/dist/chunk-7R4V5ES6.js +0 -6
- package/dist/chunk-7RIRIADH.js +0 -7
- package/dist/chunk-7ZLWLOGT.js +0 -2
- package/dist/chunk-AADQLOQ4.js +0 -38
- package/dist/chunk-AN76MGUE.js +0 -2
- package/dist/chunk-ANLNLY66.js +0 -2
- package/dist/chunk-AX7IDVFT.js +0 -2
- package/dist/chunk-B3X6KU75.js +0 -2
- package/dist/chunk-B7MPDEAK.js +0 -3
- package/dist/chunk-BBB5FBX4.js +0 -2
- package/dist/chunk-BJT7LSPK.js +0 -3
- package/dist/chunk-BJWFVAA5.js +0 -2
- package/dist/chunk-BKVWUP7Y.js +0 -2
- package/dist/chunk-BKZYTLGE.js +0 -35
- package/dist/chunk-BL6DCHQP.js +0 -2
- package/dist/chunk-BOW7SSQH.js +0 -43
- package/dist/chunk-C4RHHCKL.js +0 -7
- package/dist/chunk-C7C6AKAT.js +0 -117
- package/dist/chunk-CD6M6LS2.js +0 -16
- package/dist/chunk-CFE6PSG6.js +0 -2
- package/dist/chunk-CFNIGQMT.js +0 -2
- package/dist/chunk-CKBUBRYD.js +0 -2
- package/dist/chunk-CZW5MZ5B.js +0 -2
- package/dist/chunk-DBBZ63ZX.js +0 -2
- package/dist/chunk-DBN7DMJB.js +0 -18
- package/dist/chunk-DUULLZHZ.js +0 -3
- package/dist/chunk-DV5Y5NOS.js +0 -2
- package/dist/chunk-DZOIKCTM.js +0 -3
- package/dist/chunk-E4PKTOL3.js +0 -2
- package/dist/chunk-E7QR35ST.js +0 -2
- package/dist/chunk-EFSXAINW.js +0 -2
- package/dist/chunk-EHVEIEQN.js +0 -18
- package/dist/chunk-EHYDXE3Z.js +0 -2
- package/dist/chunk-EP63Y6LD.js +0 -2
- package/dist/chunk-EPX6NQN6.js +0 -4
- package/dist/chunk-ETC674NS.js +0 -5
- package/dist/chunk-F5GSBHC6.js +0 -3
- package/dist/chunk-FH3DGXC6.js +0 -2
- package/dist/chunk-FI7VGOR4.js +0 -16
- package/dist/chunk-FJF6VO2P.js +0 -2
- package/dist/chunk-FLMTCX5R.js +0 -2
- package/dist/chunk-FVFDOIM3.js +0 -2
- package/dist/chunk-G2HU5WRN.js +0 -2
- package/dist/chunk-G4ALYS4J.js +0 -2
- package/dist/chunk-G56I7K4W.js +0 -26
- package/dist/chunk-GC4DG2V5.js +0 -2
- package/dist/chunk-GG45PK4S.js +0 -4
- package/dist/chunk-GINH3YQU.js +0 -20
- package/dist/chunk-GTZZVLKJ.js +0 -2
- package/dist/chunk-GXXW5ZHH.js +0 -2
- package/dist/chunk-H5EXS3HM.js +0 -2
- package/dist/chunk-HAXXKRTD.js +0 -4
- package/dist/chunk-HEZWBAZY.js +0 -2
- package/dist/chunk-HMEWLMML.js +0 -2
- package/dist/chunk-HOBOVYPO.js +0 -11
- package/dist/chunk-HRFQ6GW5.js +0 -8
- package/dist/chunk-HX4X7KG3.js +0 -2
- package/dist/chunk-HYT2R7LX.js +0 -4
- package/dist/chunk-IKQVBVQL.js +0 -40
- package/dist/chunk-IW5XQG5G.js +0 -2
- package/dist/chunk-J6GLBBRK.js +0 -4
- package/dist/chunk-J7A4PWFX.js +0 -3
- package/dist/chunk-JCSAZ35V.js +0 -2
- package/dist/chunk-JDU2IV3A.js +0 -2
- package/dist/chunk-JFMEXGFE.js +0 -2
- package/dist/chunk-JFMI5SGB.js +0 -4
- package/dist/chunk-JJP37RGX.js +0 -57
- package/dist/chunk-JZ2A7LDM.js +0 -5
- package/dist/chunk-KMVGRIO2.js +0 -2
- package/dist/chunk-KNLQGXVH.js +0 -80
- package/dist/chunk-KVQCECPR.js +0 -2
- package/dist/chunk-KXXORBZ2.js +0 -4
- package/dist/chunk-L5KYH6U3.js +0 -35
- package/dist/chunk-L6XHYJPZ.js +0 -21
- package/dist/chunk-L7KTFEAV.js +0 -43
- package/dist/chunk-LDXHR5EL.js +0 -23
- package/dist/chunk-LEECKFCJ.js +0 -2
- package/dist/chunk-MHGDSBFX.js +0 -2
- package/dist/chunk-MLQVVDG3.js +0 -74
- package/dist/chunk-MOKUWRHO.js +0 -3
- package/dist/chunk-MPYAPMNE.js +0 -2
- package/dist/chunk-MTDBHTSF.js +0 -2
- package/dist/chunk-MV6SPXCR.js +0 -7
- package/dist/chunk-MWN53KRN.js +0 -60
- package/dist/chunk-MXNGIEPU.js +0 -3
- package/dist/chunk-N55KIE46.js +0 -2
- package/dist/chunk-NB4D3BNM.js +0 -2
- package/dist/chunk-NGKBOT6G.js +0 -23
- package/dist/chunk-NJGKXKQF.js +0 -2
- package/dist/chunk-NJQISBL4.js +0 -8
- package/dist/chunk-NJT3ZEKY.js +0 -16
- package/dist/chunk-NKMKZP6A.js +0 -2
- package/dist/chunk-NODFZ6ED.js +0 -2
- package/dist/chunk-NSM5IEVW.js +0 -2
- package/dist/chunk-NTGUVNR2.js +0 -3
- package/dist/chunk-NU3KFF2O.js +0 -57
- package/dist/chunk-NWLVNU66.js +0 -557
- package/dist/chunk-NYKZMCRC.js +0 -4
- package/dist/chunk-O6BUXZEH.js +0 -6
- package/dist/chunk-ODPDP7A4.js +0 -3
- package/dist/chunk-OIAPEKMT.js +0 -3
- package/dist/chunk-OIOC5EHF.js +0 -3
- package/dist/chunk-ONPPQM4G.js +0 -2
- package/dist/chunk-OUHEZBYI.js +0 -2
- package/dist/chunk-OVGYW7UD.js +0 -29
- package/dist/chunk-OYKU4B3Y.js +0 -2
- package/dist/chunk-POBJ6FR2.js +0 -5
- package/dist/chunk-PSZPMMWN.js +0 -2
- package/dist/chunk-PXTRBKRK.js +0 -3
- package/dist/chunk-Q5JRIHT3.js +0 -4
- package/dist/chunk-Q7ATHARX.js +0 -2
- package/dist/chunk-Q7CSKIDM.js +0 -5
- package/dist/chunk-QBQE7ZJ5.js +0 -3
- package/dist/chunk-QH22UIXP.js +0 -5
- package/dist/chunk-QXCKQTKR.js +0 -60
- package/dist/chunk-RBAD4GJ2.js +0 -13
- package/dist/chunk-RMDPFPNW.js +0 -2
- package/dist/chunk-ROPJDEJZ.js +0 -4
- package/dist/chunk-RVZC6TJE.js +0 -2
- package/dist/chunk-S4QZBKSR.js +0 -3
- package/dist/chunk-SCPMZ73U.js +0 -2
- package/dist/chunk-SIAP5RGI.js +0 -73
- package/dist/chunk-SIX4RFR3.js +0 -3
- package/dist/chunk-SKKXTABJ.js +0 -16
- package/dist/chunk-SSRFUQBD.js +0 -2
- package/dist/chunk-SYVJEEUJ.js +0 -3
- package/dist/chunk-T3CZAZSI.js +0 -8
- package/dist/chunk-T6DWDI5E.js +0 -3
- package/dist/chunk-T6HRIROJ.js +0 -7
- package/dist/chunk-TAA7HXHE.js +0 -2
- package/dist/chunk-TJ2JQYT3.js +0 -2
- package/dist/chunk-TULNMD5T.js +0 -368
- package/dist/chunk-U2FPY5XA.js +0 -3
- package/dist/chunk-U3SXIMII.js +0 -38
- package/dist/chunk-U6KCHXJ4.js +0 -2
- package/dist/chunk-UH3XSKS5.js +0 -9
- package/dist/chunk-UIFUZVCC.js +0 -2
- package/dist/chunk-UXKURIVI.js +0 -2
- package/dist/chunk-V2RBODHL.js +0 -2
- package/dist/chunk-VBKUWB6N.js +0 -2
- package/dist/chunk-VBV6ALJE.js +0 -2
- package/dist/chunk-VDGFWCQV.js +0 -2
- package/dist/chunk-VDSDOEWF.js +0 -2
- package/dist/chunk-VZPWVCLN.js +0 -20
- package/dist/chunk-WDSFQDPN.js +0 -2
- package/dist/chunk-WFA35BGR.js +0 -7
- package/dist/chunk-WLMP3OCW.js +0 -2
- package/dist/chunk-WSA52GOR.js +0 -2
- package/dist/chunk-WYPL7GF7.js +0 -2
- package/dist/chunk-X3YVZAKZ.js +0 -5
- package/dist/chunk-X6OGVFIT.js +0 -2
- package/dist/chunk-XDAUYDFT.js +0 -2
- package/dist/chunk-XKXTR6ZI.js +0 -9
- package/dist/chunk-Y5DFAW5W.js +0 -4
- package/dist/chunk-YSYPDRD5.js +0 -3
- package/dist/chunk-ZFVPWH62.js +0 -5
- package/dist/chunk-ZGIHTH27.js +0 -2
- package/dist/chunk-ZGIQN2SX.js +0 -2
- package/dist/chunk-ZHG4WAHR.js +0 -12
- package/dist/chunk-ZKB2XUEN.js +0 -4
- package/dist/chunk-ZLMXIQLC.js +0 -21
- package/dist/chunk-ZMCQIHI4.js +0 -2
- package/dist/code-TAVIKWJI.js +0 -2
- package/dist/code-result-json-5FEFQCAQ.js +0 -2
- package/dist/command-descriptors-7BKH53Y3.js +0 -343
- package/dist/dataflow-GFBTVDH3.js +0 -2
- package/dist/dependence-slice-GWGQCODG.js +0 -2
- package/dist/deps-4QHVDPYA.js +0 -2
- package/dist/direct-navigation-4UBC6HNW.js +0 -3
- package/dist/entry-map-QCTF4RVY.js +0 -2
- package/dist/files-M2UBF5HJ.js +0 -2
- package/dist/graph-evidence-Bjyky2V4.d.ts +0 -126
- package/dist/hierarchy-2UIHRLW4.js +0 -2
- package/dist/imports-WIE3YZOB.js +0 -2
- package/dist/members-YKD636DA.js +0 -2
- package/dist/methods-VDF4IMYG.js +0 -2
- package/dist/next-anchor-candidates-BwMczMvX.d.ts +0 -90
- package/dist/output-continuation-command-4UMDOOLO.js +0 -3
- package/dist/output-pagination-2GME6OPY.js +0 -19
- package/dist/project-reindex-XEQTRCV5.js +0 -3
- package/dist/queries/anchors.d.ts +0 -123
- package/dist/queries/anchors.js +0 -2
- package/dist/queries/complexity-hotspots.d.ts +0 -40
- package/dist/queries/complexity-hotspots.js +0 -2
- package/dist/queries/convergence.d.ts +0 -33
- package/dist/queries/convergence.js +0 -2
- package/dist/queries/dataflow.d.ts +0 -77
- package/dist/queries/dataflow.js +0 -2
- package/dist/queries/deep-chains.d.ts +0 -5
- package/dist/queries/deep-chains.js +0 -2
- package/dist/queries/extract-candidates.d.ts +0 -79
- package/dist/queries/extract-candidates.js +0 -2
- package/dist/queries/isolated.d.ts +0 -24
- package/dist/queries/isolated.js +0 -2
- package/dist/queries/plan-context.d.ts +0 -33
- package/dist/queries/plan-context.js +0 -2
- package/dist/queries/reference-neighborhood.d.ts +0 -4
- package/dist/queries/reference-neighborhood.js +0 -2
- package/dist/queries/reference-reachability.d.ts +0 -48
- package/dist/queries/reference-reachability.js +0 -2
- package/dist/queries/self-audit.d.ts +0 -69
- package/dist/queries/self-audit.js +0 -2
- package/dist/queries/similar-chains.d.ts +0 -48
- package/dist/queries/similar-chains.js +0 -2
- package/dist/queries/slice.d.ts +0 -4
- package/dist/queries/slice.js +0 -2
- package/dist/queries/stale-abstractions.d.ts +0 -72
- package/dist/queries/stale-abstractions.js +0 -2
- package/dist/queries/system-map.d.ts +0 -449
- package/dist/queries/system-map.js +0 -2
- package/dist/queries/trace.js +0 -2
- package/dist/queries/twin-ab.d.ts +0 -66
- package/dist/queries/twin-ab.js +0 -2
- package/dist/queries/value-flow.d.ts +0 -43
- package/dist/queries/value-flow.js +0 -2
- package/dist/queries/wrapper-candidates.d.ts +0 -49
- package/dist/queries/wrapper-candidates.js +0 -2
- package/dist/refs-JNK5CLM7.js +0 -2
- package/dist/refs-pagination-6BLRYGMV.js +0 -2
- package/dist/slice-PHPVNCWX.js +0 -2
- package/dist/source-snippet-_wrcgmZc.d.ts +0 -15
- package/dist/stats-OOJ74B32.js +0 -2
- package/dist/surface-MQX5MPIV.js +0 -2
- package/dist/symbol-resolution-DBLVXLBC.js +0 -2
- package/dist/system-JOPKV4OG.js +0 -2
- package/dist/trace-I2P2YFH4.js +0 -2
- package/dist/value-flow-JJVMF7NP.js +0 -2
- package/skills/concrete-plan/SKILL.md +0 -8
- package/skills/concrete-plan/agents/openai.yaml +0 -4
- package/skills/conductor/SKILL.md +0 -110
- package/skills/conductor/agents/openai.yaml +0 -4
- package/skills/principal-maintainability-review/SKILL.md +0 -273
- package/skills/principal-maintainability-review/agents/openai.yaml +0 -4
- package/skills/scip-calibrate/SKILL.md +0 -102
- package/skills/scip-calibrate/agents/openai.yaml +0 -4
- package/skills/scip-claim-audit/SKILL.md +0 -113
- package/skills/scip-claim-audit/agents/openai.yaml +0 -4
- package/skills/scip-probe-reachability/SKILL.md +0 -93
- package/skills/scip-probe-reachability/agents/openai.yaml +0 -4
- package/skills/scip-root-cause/SKILL.md +0 -160
- package/skills/scip-root-cause/agents/openai.yaml +0 -4
- package/skills/scip-system-compression/SKILL.md +0 -252
- package/skills/scip-system-compression/agents/openai.yaml +0 -4
- package/skills/scip-system-compression/references/compression-atlas.md +0 -116
- package/skills/scip-system-compression/references/compression-patterns.md +0 -87
- package/skills/scip-twin-drift/SKILL.md +0 -109
- package/skills/scip-twin-drift/agents/openai.yaml +0 -4
|
@@ -1,449 +0,0 @@
|
|
|
1
|
-
import { S as ScipDatabase } from '../db-BwIVAYNB.js';
|
|
2
|
-
import { F as FileKind } from '../file-kind-BKCVMNUf.js';
|
|
3
|
-
import { B as BehaviorSignal, a as BoundarySourceScope, S as SystemMapNextAnchorPacket } from '../next-anchor-candidates-BwMczMvX.js';
|
|
4
|
-
export { b as SystemMapNextAnchor, c as SystemMapNextAnchorAlternative } from '../next-anchor-candidates-BwMczMvX.js';
|
|
5
|
-
import { c as SymbolResolutionCandidate } from '../symbol-types-BIQwfoAx.js';
|
|
6
|
-
import { a as CalleeEvidenceSource } from '../call-graph-evidence-BociKRpF.js';
|
|
7
|
-
import { E as ExplorationSourceLocation, b as ExplorationTopologyNode, c as ExplorationEvidenceSource, a as ExplorationEvidenceStrength, d as ExplorationTopology } from '../exploration-topology-BG4v30HZ.js';
|
|
8
|
-
import 'better-sqlite3';
|
|
9
|
-
import '../config-types-B9B60MiR.js';
|
|
10
|
-
|
|
11
|
-
type ConnectedBehaviorStepRole = 'anchor' | 'connector' | 'junction';
|
|
12
|
-
interface ConnectedBehaviorLine {
|
|
13
|
-
line: number;
|
|
14
|
-
endLine: number;
|
|
15
|
-
depth: number;
|
|
16
|
-
signals: BehaviorSignal[];
|
|
17
|
-
text: string;
|
|
18
|
-
copied: boolean;
|
|
19
|
-
}
|
|
20
|
-
interface ConnectedBehaviorSupportingDeclaration {
|
|
21
|
-
kind: 'compiler-referenced-declaration' | 'focused-causal-target' | 'return-value-transformer';
|
|
22
|
-
symbol: string;
|
|
23
|
-
label: string;
|
|
24
|
-
file: string;
|
|
25
|
-
line: number;
|
|
26
|
-
endLine: number;
|
|
27
|
-
text: string;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* One source-faithful description of a selected construct. An outline accounts
|
|
31
|
-
* for every source statement; exact source is used when outlining would not
|
|
32
|
-
* save characters or the installed parser cannot build a faithful outline.
|
|
33
|
-
*/
|
|
34
|
-
interface ConnectedBehaviorRepresentation {
|
|
35
|
-
kind: 'connector-slice' | 'outline' | 'source';
|
|
36
|
-
constructKind: string;
|
|
37
|
-
signature: string;
|
|
38
|
-
lines: ConnectedBehaviorLine[];
|
|
39
|
-
coverage: {
|
|
40
|
-
sourceStatements: number;
|
|
41
|
-
representedStatements: number;
|
|
42
|
-
copiedStatements: number;
|
|
43
|
-
omittedStatements: number;
|
|
44
|
-
};
|
|
45
|
-
rawCharacters: number;
|
|
46
|
-
renderedCharacters: number;
|
|
47
|
-
supportingDeclarations?: ConnectedBehaviorSupportingDeclaration[];
|
|
48
|
-
omittedSupportingDeclarations?: Array<Omit<ConnectedBehaviorSupportingDeclaration, 'kind' | 'text'> & {
|
|
49
|
-
reason: 'source-too-large';
|
|
50
|
-
}>;
|
|
51
|
-
}
|
|
52
|
-
/** One selected repository construct or non-source junction in connector order. */
|
|
53
|
-
interface ConnectedBehaviorStep {
|
|
54
|
-
id: string;
|
|
55
|
-
nodeId: string;
|
|
56
|
-
order: number;
|
|
57
|
-
role: ConnectedBehaviorStepRole;
|
|
58
|
-
kind: string;
|
|
59
|
-
label: string;
|
|
60
|
-
location: ExplorationTopologyNode['location'];
|
|
61
|
-
behavior: ConnectedBehaviorRepresentation | null;
|
|
62
|
-
}
|
|
63
|
-
/** One original directed graph edge connecting two returned behavior steps. */
|
|
64
|
-
interface ConnectedBehaviorTransition {
|
|
65
|
-
id: string;
|
|
66
|
-
edgeId: string;
|
|
67
|
-
order: number;
|
|
68
|
-
kind: string;
|
|
69
|
-
fromStepId: string;
|
|
70
|
-
toStepId: string;
|
|
71
|
-
directed: true;
|
|
72
|
-
pathTraversal: 'forward' | 'reverse' | 'adjacent';
|
|
73
|
-
evidence: ExplorationEvidenceSource[];
|
|
74
|
-
}
|
|
75
|
-
interface ConnectedBehaviorPath {
|
|
76
|
-
id: string;
|
|
77
|
-
status: 'connected' | 'partial' | 'candidate';
|
|
78
|
-
stepIds: string[];
|
|
79
|
-
transitionIds: string[];
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* A connected behavior packet is a graph-ordered source explanation: selected
|
|
83
|
-
* constructs plus the exact relationships that make them one explored slice.
|
|
84
|
-
*/
|
|
85
|
-
interface ConnectedBehaviorPacket {
|
|
86
|
-
status: 'connected' | 'partial' | 'ambiguous' | 'unavailable';
|
|
87
|
-
steps: ConnectedBehaviorStep[];
|
|
88
|
-
transitions: ConnectedBehaviorTransition[];
|
|
89
|
-
paths: ConnectedBehaviorPath[];
|
|
90
|
-
coverage: {
|
|
91
|
-
candidateNodes: number;
|
|
92
|
-
returnedNodes: number;
|
|
93
|
-
omittedNodeIds: string[];
|
|
94
|
-
returnedTransitions: number;
|
|
95
|
-
withheldStatements: number;
|
|
96
|
-
requestedFocusLocations: ExplorationSourceLocation[];
|
|
97
|
-
matchedFocusLocations: ExplorationSourceLocation[];
|
|
98
|
-
unmatchedFocusLocations: ExplorationSourceLocation[];
|
|
99
|
-
};
|
|
100
|
-
behaviorCommand: string | null;
|
|
101
|
-
exactSourceCommand: string | null;
|
|
102
|
-
}
|
|
103
|
-
interface ConnectedBehaviorOptions {
|
|
104
|
-
/** Soft limit: matched anchors and nodes on an anchor-connector path are never omitted. */
|
|
105
|
-
maxSteps?: number;
|
|
106
|
-
/** Exact source locations that should focus behavior inside otherwise-large selected constructs. */
|
|
107
|
-
focusLocations?: readonly ExplorationSourceLocation[];
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
type SystemMapRelationKind = 'call' | 'contract-symbol' | 'import' | 'reference' | 'runtime-boundary';
|
|
111
|
-
|
|
112
|
-
type SystemMapAnchorKind = 'literal' | 'symbol';
|
|
113
|
-
type SystemMapAnchorStatus = 'matched' | 'ambiguous' | 'missing';
|
|
114
|
-
|
|
115
|
-
type SystemMapEvidenceFloor = 'exact' | 'derived';
|
|
116
|
-
type SystemMapSourceScope = BoundarySourceScope;
|
|
117
|
-
type SystemMapReferenceScope = 'none' | 'all' | 'forward-regions' | 'cross-workspace-or-forward';
|
|
118
|
-
type SystemMapRelationEvidence = CalleeEvidenceSource | 'ast-constructed-member-callsite' | 'ast-factory-callback-callsite' | 'ast-service-member-callsite' | 'ast-member-import-candidate' | 'scip-occurrence-callsite' | 'scip-occurrence-reference' | 'compiler-cross-workspace-symbol' | 'indexed-or-source-reference' | 'indexed-or-source-import' | `runtime-boundary:${string}`;
|
|
119
|
-
type SystemMapRelationStrength = ExplorationEvidenceStrength;
|
|
120
|
-
|
|
121
|
-
interface SystemMapOptions {
|
|
122
|
-
searches?: readonly string[];
|
|
123
|
-
symbols?: readonly string[];
|
|
124
|
-
behaviorFocusLocations?: readonly {
|
|
125
|
-
file: string;
|
|
126
|
-
line: number;
|
|
127
|
-
}[];
|
|
128
|
-
maxDepth?: number;
|
|
129
|
-
expand?: readonly string[];
|
|
130
|
-
relations?: readonly SystemMapRelationKind[];
|
|
131
|
-
evidenceFloor?: SystemMapEvidenceFloor;
|
|
132
|
-
sourceScopes?: readonly SystemMapSourceScope[];
|
|
133
|
-
maxTopologyCharacters?: number;
|
|
134
|
-
topologyFrontiers?: readonly string[];
|
|
135
|
-
/** Stable upstream route IDs to materialize together. */
|
|
136
|
-
routeIds?: readonly string[];
|
|
137
|
-
fullLiteralTraversal?: boolean;
|
|
138
|
-
/** @deprecated Accepted as a no-op; query vocabulary no longer affects graph selection. */
|
|
139
|
-
selectionTerms?: readonly string[];
|
|
140
|
-
}
|
|
141
|
-
interface SystemMapAnchorCandidate extends SymbolResolutionCandidate {
|
|
142
|
-
endLine: number;
|
|
143
|
-
}
|
|
144
|
-
interface SystemMapAnchor {
|
|
145
|
-
kind: SystemMapAnchorKind;
|
|
146
|
-
query: string;
|
|
147
|
-
status: SystemMapAnchorStatus;
|
|
148
|
-
matchedRegionIds: string[];
|
|
149
|
-
matchingLines?: number;
|
|
150
|
-
/** Matches actually materialized as graph traversal seeds. */
|
|
151
|
-
seedMatchingLines?: number;
|
|
152
|
-
/** Embedded-substring and out-of-scope matches that are not traversal eligible. */
|
|
153
|
-
matchOnlyLines?: number;
|
|
154
|
-
/** Matches eligible to seed traversal before a broad-selector guard is applied. */
|
|
155
|
-
eligibleSeedMatchingLines?: number;
|
|
156
|
-
materializedMatchingLines?: number;
|
|
157
|
-
withheldMatchingLines?: number;
|
|
158
|
-
literalTraversal?: 'materialized' | 'withheld-broad';
|
|
159
|
-
representativeMatches?: SystemMapLiteralHit[];
|
|
160
|
-
narrowingCommands?: string[];
|
|
161
|
-
exhaustiveTraversalCommand?: string;
|
|
162
|
-
seedRegionIds?: string[];
|
|
163
|
-
matchOnlyRegionIds?: string[];
|
|
164
|
-
symbolCandidates?: SystemMapAnchorCandidate[];
|
|
165
|
-
totalSymbolCandidates?: number;
|
|
166
|
-
omittedSymbolCandidates?: number;
|
|
167
|
-
}
|
|
168
|
-
interface SystemMapLiteralHit {
|
|
169
|
-
query: string;
|
|
170
|
-
file: string;
|
|
171
|
-
line: number;
|
|
172
|
-
ownerSymbol: string | null;
|
|
173
|
-
ownerShortName: string | null;
|
|
174
|
-
ownerStartLine?: number | null;
|
|
175
|
-
ownerEndLine?: number | null;
|
|
176
|
-
sourceLine: string;
|
|
177
|
-
matchKind?: 'exact-value' | 'boundary' | 'embedded';
|
|
178
|
-
traversalSeed?: boolean;
|
|
179
|
-
}
|
|
180
|
-
interface SystemMapFile {
|
|
181
|
-
file: string;
|
|
182
|
-
kind: FileKind;
|
|
183
|
-
depth: number;
|
|
184
|
-
origins: string[];
|
|
185
|
-
}
|
|
186
|
-
interface SystemMapSymbol {
|
|
187
|
-
symbol: string;
|
|
188
|
-
shortName: string;
|
|
189
|
-
file: string;
|
|
190
|
-
startLine: number;
|
|
191
|
-
endLine: number;
|
|
192
|
-
depth: number;
|
|
193
|
-
origins: string[];
|
|
194
|
-
anchorQueries: string[];
|
|
195
|
-
referenceExpansion: boolean;
|
|
196
|
-
referenceScope: SystemMapReferenceScope;
|
|
197
|
-
}
|
|
198
|
-
interface SystemMapRelation {
|
|
199
|
-
kind: SystemMapRelationKind;
|
|
200
|
-
evidence: SystemMapRelationEvidence;
|
|
201
|
-
fromRegionId: string;
|
|
202
|
-
fromFile: string;
|
|
203
|
-
fromSymbol: string | null;
|
|
204
|
-
toRegionId: string;
|
|
205
|
-
toFile: string;
|
|
206
|
-
toSymbol: string | null;
|
|
207
|
-
/** Source-backed runtime participant used when this endpoint has no compiler symbol. */
|
|
208
|
-
fromBoundaryParticipant?: SystemMapBoundaryParticipant;
|
|
209
|
-
/** Source-backed runtime participant used when this endpoint has no compiler symbol. */
|
|
210
|
-
toBoundaryParticipant?: SystemMapBoundaryParticipant;
|
|
211
|
-
/** Exact source callable used when this endpoint has no compiler symbol. */
|
|
212
|
-
fromSourceConstruct?: SystemMapSourceConstruct;
|
|
213
|
-
/** Exact source callable used when this endpoint has no compiler symbol. */
|
|
214
|
-
toSourceConstruct?: SystemMapSourceConstruct;
|
|
215
|
-
/** Exact normalized rendezvous key that joined the runtime participants. */
|
|
216
|
-
runtimeBoundaryKey?: string;
|
|
217
|
-
line: number | null;
|
|
218
|
-
/** Present in results produced by schema version 1 topology-aware builds. */
|
|
219
|
-
strength?: SystemMapRelationStrength;
|
|
220
|
-
}
|
|
221
|
-
/** One parser-delimited callable that is absent from the compiler symbol catalog. */
|
|
222
|
-
interface SystemMapSourceConstruct {
|
|
223
|
-
file: string;
|
|
224
|
-
name: string;
|
|
225
|
-
startLine: number;
|
|
226
|
-
endLine: number;
|
|
227
|
-
}
|
|
228
|
-
/** One exact producer or consumer observation at a runtime crossing. */
|
|
229
|
-
interface SystemMapBoundaryParticipant {
|
|
230
|
-
observationId: string;
|
|
231
|
-
action: string;
|
|
232
|
-
protocol: string;
|
|
233
|
-
role: string;
|
|
234
|
-
/** Stable, source-derived key parts that distinguish operations sharing one owner file. */
|
|
235
|
-
address?: string;
|
|
236
|
-
file: string;
|
|
237
|
-
line: number;
|
|
238
|
-
endLine: number;
|
|
239
|
-
ownerName: string | null;
|
|
240
|
-
ownerSymbol: string | null;
|
|
241
|
-
}
|
|
242
|
-
interface SystemMapRegionRelation {
|
|
243
|
-
fromRegionId: string;
|
|
244
|
-
toRegionId: string;
|
|
245
|
-
kinds: SystemMapRelationKind[];
|
|
246
|
-
relationCount: number;
|
|
247
|
-
fromFiles: string[];
|
|
248
|
-
toFiles: string[];
|
|
249
|
-
fromSymbols: string[];
|
|
250
|
-
toSymbols: string[];
|
|
251
|
-
evidence: SystemMapRelationEvidence[];
|
|
252
|
-
/** Present in results produced by schema version 1 topology-aware builds. */
|
|
253
|
-
strengths?: SystemMapRelationStrength[];
|
|
254
|
-
}
|
|
255
|
-
interface SystemMapExternalBoundary {
|
|
256
|
-
kind: 'external-import';
|
|
257
|
-
name: string;
|
|
258
|
-
fromRegionIds: string[];
|
|
259
|
-
fromFiles: string[];
|
|
260
|
-
}
|
|
261
|
-
interface SystemMapBoundaryFrontier {
|
|
262
|
-
observationId: string;
|
|
263
|
-
action: string;
|
|
264
|
-
strength: 'exact' | 'derived' | 'candidate';
|
|
265
|
-
file: string;
|
|
266
|
-
line: number;
|
|
267
|
-
ownerShortName: string | null;
|
|
268
|
-
address: string;
|
|
269
|
-
reason: string;
|
|
270
|
-
/** Exact observation context retained even when its runtime peer is unresolved. */
|
|
271
|
-
protocol?: string;
|
|
272
|
-
role?: string;
|
|
273
|
-
modality?: 'must' | 'may' | 'unknown';
|
|
274
|
-
resolution?: 'locally-linked' | 'external' | 'unresolved' | 'ambiguous';
|
|
275
|
-
sourceScope?: BoundarySourceScope;
|
|
276
|
-
keyParts?: Array<{
|
|
277
|
-
name: string;
|
|
278
|
-
value: string;
|
|
279
|
-
evidence: string;
|
|
280
|
-
}>;
|
|
281
|
-
}
|
|
282
|
-
interface SystemMapNotableSymbol {
|
|
283
|
-
shortName: string;
|
|
284
|
-
file: string;
|
|
285
|
-
origins: string[];
|
|
286
|
-
}
|
|
287
|
-
interface SystemMapRegion {
|
|
288
|
-
id: string;
|
|
289
|
-
label: string;
|
|
290
|
-
workspace: string;
|
|
291
|
-
structuralPath: string;
|
|
292
|
-
minDepth: number;
|
|
293
|
-
fileCount: number;
|
|
294
|
-
sourceFileCount: number;
|
|
295
|
-
testFileCount: number;
|
|
296
|
-
symbolCount: number;
|
|
297
|
-
literalHitCount: number;
|
|
298
|
-
anchorQueries: string[];
|
|
299
|
-
relationKinds: SystemMapRelationKind[];
|
|
300
|
-
incomingRegionIds: string[];
|
|
301
|
-
outgoingRegionIds: string[];
|
|
302
|
-
memberCallCandidateRelationCount: number;
|
|
303
|
-
notableSymbols: SystemMapNotableSymbol[];
|
|
304
|
-
omittedNotableSymbols: number;
|
|
305
|
-
expanded: boolean;
|
|
306
|
-
files: SystemMapFile[];
|
|
307
|
-
symbols: SystemMapSymbol[];
|
|
308
|
-
literalHits: SystemMapLiteralHit[];
|
|
309
|
-
relations: SystemMapRelation[];
|
|
310
|
-
}
|
|
311
|
-
interface SystemMapDrilldownAnchor {
|
|
312
|
-
kind: 'symbol' | 'literal';
|
|
313
|
-
regionId: string;
|
|
314
|
-
file: string;
|
|
315
|
-
line: number;
|
|
316
|
-
endLine: number | null;
|
|
317
|
-
label: string;
|
|
318
|
-
}
|
|
319
|
-
interface SystemMapDrilldown {
|
|
320
|
-
command: string | null;
|
|
321
|
-
definitionCommand: string | null;
|
|
322
|
-
candidateAnchors: number;
|
|
323
|
-
selectedAnchors: number;
|
|
324
|
-
omittedAnchors: number;
|
|
325
|
-
anchors: SystemMapDrilldownAnchor[];
|
|
326
|
-
}
|
|
327
|
-
interface SystemMapExpansion {
|
|
328
|
-
command: string | null;
|
|
329
|
-
regionCount: number;
|
|
330
|
-
regionIds: string[];
|
|
331
|
-
candidateRegionCount?: number;
|
|
332
|
-
omittedRegionIds?: string[];
|
|
333
|
-
}
|
|
334
|
-
/** The bounded human topology view; the structured result still retains every region and relation. */
|
|
335
|
-
interface SystemMapPresentation {
|
|
336
|
-
maxCharacters: number;
|
|
337
|
-
estimatedCharacters: number;
|
|
338
|
-
totalEstimatedCharacters: number;
|
|
339
|
-
regionIds: string[];
|
|
340
|
-
omittedRegionIds: string[];
|
|
341
|
-
relationKeys: string[];
|
|
342
|
-
omittedRelations: number;
|
|
343
|
-
complete: boolean;
|
|
344
|
-
expansionCommand: string | null;
|
|
345
|
-
}
|
|
346
|
-
interface SystemMapRelationFamilyCoverage {
|
|
347
|
-
evidence: 'compiler-graph' | 'exact-source' | 'mixed';
|
|
348
|
-
scope: string;
|
|
349
|
-
completeWithinScope: true;
|
|
350
|
-
}
|
|
351
|
-
interface SystemMapCoverage {
|
|
352
|
-
explicitAnchorCount: number;
|
|
353
|
-
requestedRelationKinds: SystemMapRelationKind[];
|
|
354
|
-
evidenceFloor: SystemMapEvidenceFloor;
|
|
355
|
-
includedSourceScopes: BoundarySourceScope[];
|
|
356
|
-
matchedAnchorCount: number;
|
|
357
|
-
literalSearchesComplete: true;
|
|
358
|
-
broadLiteralAnchors?: number;
|
|
359
|
-
withheldLiteralMatches?: number;
|
|
360
|
-
symbolCandidateSetsComplete: boolean;
|
|
361
|
-
omittedSymbolCandidates: number;
|
|
362
|
-
maxTraversalDepth: number;
|
|
363
|
-
frontierSymbols: number;
|
|
364
|
-
frontierFiles: number;
|
|
365
|
-
supportFilesNotTraversed: number;
|
|
366
|
-
filteredUnverifiedCallEdges: number;
|
|
367
|
-
memberCallCandidateEdges: number;
|
|
368
|
-
unresolvedMemberCallsites: number;
|
|
369
|
-
runtimeBoundaryEvidenceAvailable: boolean;
|
|
370
|
-
runtimeBoundaryObservations: number;
|
|
371
|
-
runtimeBoundaryExactLinks: number;
|
|
372
|
-
runtimeBoundaryDerivedLinks: number;
|
|
373
|
-
runtimeBoundaryCandidateLinks: number;
|
|
374
|
-
repositoryRuntimeBoundaryExactLinks: number;
|
|
375
|
-
repositoryRuntimeBoundaryDerivedLinks: number;
|
|
376
|
-
repositoryRuntimeBoundaryCandidateLinks: number;
|
|
377
|
-
runtimeBoundaryTraversedLinks: number;
|
|
378
|
-
runtimeBoundaryFrontiers: number;
|
|
379
|
-
referenceExpansionEligibleSymbols: number;
|
|
380
|
-
referenceExpansionSkippedSymbols: number;
|
|
381
|
-
dynamicDispatchRepresented: boolean;
|
|
382
|
-
runtimeGeneratedLinksRepresented: boolean;
|
|
383
|
-
regionBoundariesAreStructural: true;
|
|
384
|
-
relationFamilies: Record<SystemMapRelationKind | 'literal-anchor', SystemMapRelationFamilyCoverage>;
|
|
385
|
-
blindSpots: string[];
|
|
386
|
-
}
|
|
387
|
-
/** Accounting for the declared query, not a claim that the English task is globally understood. */
|
|
388
|
-
interface SystemMapQueryClosure {
|
|
389
|
-
status: 'accounted' | 'incomplete';
|
|
390
|
-
emitted: {
|
|
391
|
-
regions: number;
|
|
392
|
-
relations: number;
|
|
393
|
-
runtimeLinks: number;
|
|
394
|
-
};
|
|
395
|
-
withheld: {
|
|
396
|
-
symbols: number;
|
|
397
|
-
files: number;
|
|
398
|
-
regions: number;
|
|
399
|
-
drillAnchors: number;
|
|
400
|
-
literalMatches?: number;
|
|
401
|
-
};
|
|
402
|
-
ambiguous: {
|
|
403
|
-
anchors: number;
|
|
404
|
-
omittedSymbolCandidates: number;
|
|
405
|
-
};
|
|
406
|
-
external: number;
|
|
407
|
-
unresolved: number;
|
|
408
|
-
explanation: string;
|
|
409
|
-
}
|
|
410
|
-
interface SystemMapResult {
|
|
411
|
-
anchors: SystemMapAnchor[];
|
|
412
|
-
regions: SystemMapRegion[];
|
|
413
|
-
regionRelations: SystemMapRegionRelation[];
|
|
414
|
-
externalBoundaries: SystemMapExternalBoundary[];
|
|
415
|
-
boundaryFrontiers: SystemMapBoundaryFrontier[];
|
|
416
|
-
unmatchedExpansions: string[];
|
|
417
|
-
expansion?: SystemMapExpansion;
|
|
418
|
-
drilldown?: SystemMapDrilldown;
|
|
419
|
-
presentation: SystemMapPresentation;
|
|
420
|
-
/** Additive universal graph contract; absent only in results serialized by older builds. */
|
|
421
|
-
topology?: ExplorationTopology;
|
|
422
|
-
/** Graph-ordered constructs and the evidence-bearing transitions between them. */
|
|
423
|
-
behavior?: ConnectedBehaviorPacket;
|
|
424
|
-
/** Structurally important callable targets not yet materialized in behavior. */
|
|
425
|
-
nextAnchors?: SystemMapNextAnchorPacket;
|
|
426
|
-
closure: SystemMapQueryClosure;
|
|
427
|
-
coverage: SystemMapCoverage;
|
|
428
|
-
}
|
|
429
|
-
/**
|
|
430
|
-
* Build a layered repository map from explicit literal and symbol anchors.
|
|
431
|
-
*
|
|
432
|
-
* The query does not infer a feature or system from English. It preserves all
|
|
433
|
-
* supplied anchor matches, follows named compiler/source evidence families,
|
|
434
|
-
* and exposes traversal and runtime blind spots in the result.
|
|
435
|
-
*/
|
|
436
|
-
declare function systemMap(db: ScipDatabase, opts: SystemMapOptions): SystemMapResult;
|
|
437
|
-
/**
|
|
438
|
-
* Build only the canonical typed topology for an explicit system-map request.
|
|
439
|
-
*
|
|
440
|
-
* Unlike {@link systemMap}, this operation does not materialize connected
|
|
441
|
-
* behavior, causal corridors, adjacent-recovery candidates, legacy
|
|
442
|
-
* presentation, or expansion commands. Canonical graph projections use this
|
|
443
|
-
* seam so compatibility-only presentation work cannot leak into their cost or
|
|
444
|
-
* semantics.
|
|
445
|
-
*/
|
|
446
|
-
declare function systemMapTopology(db: ScipDatabase, opts: SystemMapOptions): ExplorationTopology;
|
|
447
|
-
declare function systemMapRegionRelationKey(relation: Pick<SystemMapRegionRelation, 'fromRegionId' | 'toRegionId'>): string;
|
|
448
|
-
|
|
449
|
-
export { type ConnectedBehaviorLine, type ConnectedBehaviorOptions, type ConnectedBehaviorPacket, type ConnectedBehaviorPath, type ConnectedBehaviorRepresentation, type ConnectedBehaviorStep, type ConnectedBehaviorStepRole, type ConnectedBehaviorTransition, type SystemMapAnchor, type SystemMapAnchorCandidate, type SystemMapAnchorKind, type SystemMapAnchorStatus, type SystemMapBoundaryFrontier, type SystemMapBoundaryParticipant, type SystemMapCoverage, type SystemMapDrilldown, type SystemMapDrilldownAnchor, type SystemMapEvidenceFloor, type SystemMapExpansion, type SystemMapExternalBoundary, type SystemMapFile, type SystemMapLiteralHit, SystemMapNextAnchorPacket, type SystemMapNotableSymbol, type SystemMapOptions, type SystemMapPresentation, type SystemMapQueryClosure, type SystemMapReferenceScope, type SystemMapRegion, type SystemMapRegionRelation, type SystemMapRelation, type SystemMapRelationEvidence, type SystemMapRelationFamilyCoverage, type SystemMapRelationKind, type SystemMapRelationStrength, type SystemMapResult, type SystemMapSourceConstruct, type SystemMapSourceScope, type SystemMapSymbol, systemMap, systemMapRegionRelationKey, systemMapTopology };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a,b,c}from"../chunk-CD6M6LS2.js";import"../chunk-PXTRBKRK.js";import"../chunk-3TNRNKAT.js";import"../chunk-WSA52GOR.js";import"../chunk-2GJSD5GY.js";import"../chunk-7R4V5ES6.js";import"../chunk-7H6VHWWJ.js";import"../chunk-Y5DFAW5W.js";import"../chunk-NU3KFF2O.js";import"../chunk-GC4DG2V5.js";import"../chunk-BOJ5SVE2.js";import"../chunk-2BMSSRBH.js";import"../chunk-BGBBVSH4.js";import"../chunk-BJWFVAA5.js";import"../chunk-YSYPDRD5.js";import"../chunk-P5XHIJHI.js";import"../chunk-U3SXIMII.js";import"../chunk-J6GLBBRK.js";import"../chunk-SKKXTABJ.js";import"../chunk-KK7GPALL.js";import"../chunk-F5GSBHC6.js";import"../chunk-QBQE7ZJ5.js";import"../chunk-NJQISBL4.js";import"../chunk-FLMTCX5R.js";import"../chunk-YUKYB54I.js";import"../chunk-DHEQMPLW.js";import"../chunk-BOW7SSQH.js";import"../chunk-MTDBHTSF.js";import"../chunk-C7C6AKAT.js";import"../chunk-RBAD4GJ2.js";import"../chunk-ZLMXIQLC.js";import"../chunk-ETC674NS.js";import"../chunk-KNLQGXVH.js";import"../chunk-JZ2A7LDM.js";export{a as systemMap,c as systemMapRegionRelationKey,b as systemMapTopology};
|
|
2
|
-
//# sourceMappingURL=system-map.js.map
|
package/dist/queries/trace.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a,b,c}from"../chunk-ROPJDEJZ.js";import"../chunk-A4WEAK35.js";import"../chunk-WSA52GOR.js";import"../chunk-Y5DFAW5W.js";import"../chunk-BJWFVAA5.js";import"../chunk-YSYPDRD5.js";import"../chunk-P5XHIJHI.js";import"../chunk-J6GLBBRK.js";import"../chunk-SKKXTABJ.js";import"../chunk-KK7GPALL.js";import"../chunk-F5GSBHC6.js";import"../chunk-QBQE7ZJ5.js";import"../chunk-FLMTCX5R.js";import"../chunk-BOW7SSQH.js";import"../chunk-C7C6AKAT.js";import"../chunk-RBAD4GJ2.js";import"../chunk-ZLMXIQLC.js";import"../chunk-ETC674NS.js";import"../chunk-KNLQGXVH.js";import"../chunk-JZ2A7LDM.js";export{c as qualifiedTraceEvidence,a as trace,b as traceEvidence};
|
|
2
|
-
//# sourceMappingURL=trace.js.map
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { S as ScipDatabase } from '../db-BwIVAYNB.js';
|
|
2
|
-
import 'better-sqlite3';
|
|
3
|
-
import '../config-types-B9B60MiR.js';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* twin-ab (Q4): mechanical support for the cleanup integrity scenario
|
|
7
|
-
* ("cross-examine same-concept twins" — feed both the same input and
|
|
8
|
-
* require the same answer). v1 is a scaffold generator, not an executor:
|
|
9
|
-
* generating realistic inputs for arbitrary types is a rabbit hole, so this
|
|
10
|
-
* resolves both referents, verifies they are callable and importable, and
|
|
11
|
-
* emits a ready-to-fill vitest file — the agent fills the input table and
|
|
12
|
-
* runs it.
|
|
13
|
-
*/
|
|
14
|
-
interface TwinAbSymbol {
|
|
15
|
-
ref: string;
|
|
16
|
-
symbol: string;
|
|
17
|
-
shortName: string;
|
|
18
|
-
file: string;
|
|
19
|
-
startLine: number;
|
|
20
|
-
/** Cleaned SCIP signature text (e.g. `(value: string): string`); null when the index has none. */
|
|
21
|
-
signature: string | null;
|
|
22
|
-
/** Top-level parameter count parsed from `signature`; null when unparseable. */
|
|
23
|
-
paramCount: number | null;
|
|
24
|
-
}
|
|
25
|
-
interface TwinAbSuccess {
|
|
26
|
-
ok: true;
|
|
27
|
-
a: TwinAbSymbol;
|
|
28
|
-
b: TwinAbSymbol;
|
|
29
|
-
/** Null when either side's param count is unknown — compatibility cannot be judged. */
|
|
30
|
-
signatureCompatible: boolean | null;
|
|
31
|
-
testSource: string;
|
|
32
|
-
}
|
|
33
|
-
interface TwinAbRefusal {
|
|
34
|
-
ok: false;
|
|
35
|
-
reason: string;
|
|
36
|
-
}
|
|
37
|
-
type TwinAbOutcome = TwinAbSuccess | TwinAbRefusal;
|
|
38
|
-
interface TwinAbOptions {
|
|
39
|
-
refA: string;
|
|
40
|
-
refB: string;
|
|
41
|
-
/** Absolute path used to derive import specifiers in the generated test. */
|
|
42
|
-
outFile: string;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Project-root-relative default `--out` path when the caller doesn't pass
|
|
46
|
-
* one — a deterministic, ref-derived path under a dedicated generated-
|
|
47
|
-
* artifacts directory, mirroring `tla scaffold`'s convention of a fixed
|
|
48
|
-
* project-relative directory (`specs/<moduleName>`) rather than an OS tmp
|
|
49
|
-
* dir. Derived from the raw ref strings (not the resolved symbols) so the
|
|
50
|
-
* caller can compute it before resolution — `twinAb` needs the output path
|
|
51
|
-
* up front to compute import specifiers.
|
|
52
|
-
*/
|
|
53
|
-
declare function defaultTwinAbOutPath(refA: string, refB: string): string;
|
|
54
|
-
/**
|
|
55
|
-
* `outFile` is the absolute path the caller intends to write the generated
|
|
56
|
-
* vitest file to — needed up front so the generated `import` specifiers are
|
|
57
|
-
* correct relative paths, not just the twin's own file paths.
|
|
58
|
-
*/
|
|
59
|
-
declare function twinAb(db: ScipDatabase, options: TwinAbOptions): TwinAbOutcome;
|
|
60
|
-
/**
|
|
61
|
-
* @deprecated Use `twinAb(db, { refA, refB, outFile })` so symbol references
|
|
62
|
-
* cannot be transposed with the output path.
|
|
63
|
-
*/
|
|
64
|
-
declare function twinAb(db: ScipDatabase, refA: string, refB: string, outFile: string): TwinAbOutcome;
|
|
65
|
-
|
|
66
|
-
export { type TwinAbOptions, type TwinAbOutcome, type TwinAbRefusal, type TwinAbSuccess, type TwinAbSymbol, defaultTwinAbOutPath, twinAb };
|
package/dist/queries/twin-ab.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a,b}from"../chunk-IKQVBVQL.js";import"../chunk-NODFZ6ED.js";import"../chunk-CFE6PSG6.js";import"../chunk-2GJSD5GY.js";import"../chunk-VBV6ALJE.js";import"../chunk-BOJ5SVE2.js";import"../chunk-2BMSSRBH.js";import"../chunk-BGBBVSH4.js";import"../chunk-BJWFVAA5.js";import"../chunk-YSYPDRD5.js";import"../chunk-P5XHIJHI.js";import"../chunk-U3SXIMII.js";import"../chunk-J6GLBBRK.js";import"../chunk-SKKXTABJ.js";import"../chunk-KK7GPALL.js";import"../chunk-F5GSBHC6.js";import"../chunk-QBQE7ZJ5.js";import"../chunk-NJQISBL4.js";import"../chunk-FLMTCX5R.js";import"../chunk-YUKYB54I.js";import"../chunk-DHEQMPLW.js";import"../chunk-BOW7SSQH.js";import"../chunk-MTDBHTSF.js";import"../chunk-C7C6AKAT.js";import"../chunk-RBAD4GJ2.js";import"../chunk-ZLMXIQLC.js";import"../chunk-ETC674NS.js";import"../chunk-KNLQGXVH.js";import"../chunk-JZ2A7LDM.js";export{a as defaultTwinAbOutPath,b as twinAb};
|
|
2
|
-
//# sourceMappingURL=twin-ab.js.map
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { S as ScipDatabase } from '../db-BwIVAYNB.js';
|
|
2
|
-
import { G as GraphEvidenceCoverage, b as GraphEvidenceTarget, a as GraphEvidenceEdge } from '../graph-evidence-Bjyky2V4.js';
|
|
3
|
-
import 'better-sqlite3';
|
|
4
|
-
import '../config-types-B9B60MiR.js';
|
|
5
|
-
import '../graph-exploration-contract-CqDsnPQL.js';
|
|
6
|
-
import '../exploration-topology-BG4v30HZ.js';
|
|
7
|
-
|
|
8
|
-
/** Coverage of the conservative value-flow relationships actually proved. */
|
|
9
|
-
interface ValueFlowCoverage {
|
|
10
|
-
status: GraphEvidenceCoverage['status'];
|
|
11
|
-
basis: 'proved-bounded-static-value-flow';
|
|
12
|
-
analysisBasis: 'partial-system-definition-use';
|
|
13
|
-
providers: readonly ['bounded-static-value-flow', 'typescript-local-dependence'];
|
|
14
|
-
supportedRelations: string[];
|
|
15
|
-
unsupportedRelations: string[];
|
|
16
|
-
graph: GraphEvidenceCoverage;
|
|
17
|
-
}
|
|
18
|
-
interface ValueFlowResult {
|
|
19
|
-
kind: 'value-flow';
|
|
20
|
-
targets: GraphEvidenceTarget[];
|
|
21
|
-
edges: GraphEvidenceEdge[];
|
|
22
|
-
coverage: ValueFlowCoverage;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Project proved value transfers around exact symbol or source-location roots.
|
|
26
|
-
*
|
|
27
|
-
* This is intentionally narrower than a whole-program dataflow claim. The
|
|
28
|
-
* providers prove TypeScript local reaching definitions and right-hand-side
|
|
29
|
-
* assignment flow, compiler-resolved argument-to-parameter forwarding,
|
|
30
|
-
* bounded static argument values, and a callee-return-to-call-result transfer
|
|
31
|
-
* when the call result is consumed. Unsupported heap, exception, and dynamic
|
|
32
|
-
* flow remains in graph coverage rather than being relabeled as proved flow.
|
|
33
|
-
*/
|
|
34
|
-
declare function valueFlow(db: ScipDatabase, selectors: {
|
|
35
|
-
symbols?: readonly string[];
|
|
36
|
-
locations?: readonly string[];
|
|
37
|
-
searches?: readonly string[];
|
|
38
|
-
}, options?: {
|
|
39
|
-
maxDepth?: number;
|
|
40
|
-
maxEdges?: number;
|
|
41
|
-
}): ValueFlowResult;
|
|
42
|
-
|
|
43
|
-
export { type ValueFlowCoverage, type ValueFlowResult, valueFlow };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"../chunk-EP63Y6LD.js";import"../chunk-VDGFWCQV.js";import"../chunk-XDAUYDFT.js";import"../chunk-CD6M6LS2.js";import"../chunk-PXTRBKRK.js";import"../chunk-3TNRNKAT.js";import"../chunk-WSA52GOR.js";import"../chunk-2GJSD5GY.js";import"../chunk-7R4V5ES6.js";import"../chunk-7H6VHWWJ.js";import"../chunk-Y5DFAW5W.js";import"../chunk-NU3KFF2O.js";import"../chunk-GC4DG2V5.js";import"../chunk-BOJ5SVE2.js";import"../chunk-2BMSSRBH.js";import"../chunk-BGBBVSH4.js";import"../chunk-BJWFVAA5.js";import"../chunk-YSYPDRD5.js";import"../chunk-P5XHIJHI.js";import"../chunk-U3SXIMII.js";import"../chunk-J6GLBBRK.js";import"../chunk-SKKXTABJ.js";import"../chunk-KK7GPALL.js";import"../chunk-F5GSBHC6.js";import"../chunk-QBQE7ZJ5.js";import"../chunk-NJQISBL4.js";import"../chunk-FLMTCX5R.js";import"../chunk-YUKYB54I.js";import"../chunk-DHEQMPLW.js";import"../chunk-BOW7SSQH.js";import"../chunk-MTDBHTSF.js";import"../chunk-C7C6AKAT.js";import"../chunk-RBAD4GJ2.js";import"../chunk-ZLMXIQLC.js";import"../chunk-ETC674NS.js";import"../chunk-KNLQGXVH.js";import"../chunk-JZ2A7LDM.js";export{a as valueFlow};
|
|
2
|
-
//# sourceMappingURL=value-flow.js.map
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { S as ScipDatabase } from '../db-BwIVAYNB.js';
|
|
2
|
-
import 'better-sqlite3';
|
|
3
|
-
import '../config-types-B9B60MiR.js';
|
|
4
|
-
|
|
5
|
-
type WrapperActionTier = 'direct' | 'signal';
|
|
6
|
-
/**
|
|
7
|
-
* `forwarding`: the body is exactly one call (optionally returned or awaited)
|
|
8
|
-
* whose arguments are plain values — the shape the wrapper claim describes.
|
|
9
|
-
* `helper`: the body prepares something first, passes a callback, a nested
|
|
10
|
-
* call, or a literal it builds, or branches; it merely has one consumer.
|
|
11
|
-
*/
|
|
12
|
-
type WrapperBodyShape = 'forwarding' | 'helper';
|
|
13
|
-
interface WrapperCandidate {
|
|
14
|
-
symbol: string;
|
|
15
|
-
shortName: string;
|
|
16
|
-
file: string;
|
|
17
|
-
startLine: number;
|
|
18
|
-
endLine: number;
|
|
19
|
-
loc: number;
|
|
20
|
-
singleCaller: string;
|
|
21
|
-
singleCallerShort: string;
|
|
22
|
-
callerFanIn: number;
|
|
23
|
-
actionTier: WrapperActionTier;
|
|
24
|
-
bodyShape: WrapperBodyShape;
|
|
25
|
-
boundaryEvidence: string[];
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Find wrapper candidates: symbols called by only one other symbol.
|
|
29
|
-
*
|
|
30
|
-
* These are premature abstractions that add indirection without
|
|
31
|
-
* providing reuse. A function with fan-in = 1 whose sole caller
|
|
32
|
-
* is widely used is a strong signal of unnecessary wrapping.
|
|
33
|
-
*/
|
|
34
|
-
declare function wrapperCandidates(db: ScipDatabase, opts?: {
|
|
35
|
-
scope?: string;
|
|
36
|
-
maxLoc?: number;
|
|
37
|
-
limit?: number;
|
|
38
|
-
scanLimit?: number;
|
|
39
|
-
semantic?: boolean;
|
|
40
|
-
}): WrapperCandidate[];
|
|
41
|
-
/**
|
|
42
|
-
* A file of wrappers that all forward through one receiver (`copy.ts`
|
|
43
|
-
* building notification copy from one catalog object) is a facade over that
|
|
44
|
-
* collaborator: inlining any one of them would breach the surface the file
|
|
45
|
-
* keeps, so the family is a boundary signal rather than inline advice.
|
|
46
|
-
*/
|
|
47
|
-
declare function applyWrapperFacadeEvidence(candidates: readonly WrapperCandidate[], receivers: ReadonlyMap<string, string>): WrapperCandidate[];
|
|
48
|
-
|
|
49
|
-
export { type WrapperActionTier, type WrapperBodyShape, type WrapperCandidate, applyWrapperFacadeEvidence, wrapperCandidates };
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a,b}from"../chunk-T6HRIROJ.js";import"../chunk-CFE6PSG6.js";import"../chunk-GTZZVLKJ.js";import"../chunk-GG45PK4S.js";import"../chunk-OIOC5EHF.js";import"../chunk-FJF6VO2P.js";import"../chunk-XKXTR6ZI.js";import"../chunk-VBV6ALJE.js";import"../chunk-BOJ5SVE2.js";import"../chunk-2BMSSRBH.js";import"../chunk-BGBBVSH4.js";import"../chunk-BJWFVAA5.js";import"../chunk-YSYPDRD5.js";import"../chunk-P5XHIJHI.js";import"../chunk-U3SXIMII.js";import"../chunk-J6GLBBRK.js";import"../chunk-SKKXTABJ.js";import"../chunk-KK7GPALL.js";import"../chunk-F5GSBHC6.js";import"../chunk-QBQE7ZJ5.js";import"../chunk-NJQISBL4.js";import"../chunk-FLMTCX5R.js";import"../chunk-YUKYB54I.js";import"../chunk-DHEQMPLW.js";import"../chunk-BOW7SSQH.js";import"../chunk-MTDBHTSF.js";import"../chunk-C7C6AKAT.js";import"../chunk-RBAD4GJ2.js";import"../chunk-ZLMXIQLC.js";import"../chunk-ETC674NS.js";import"../chunk-KNLQGXVH.js";import"../chunk-JZ2A7LDM.js";export{b as applyWrapperFacadeEvidence,a as wrapperCandidates};
|
|
2
|
-
//# sourceMappingURL=wrapper-candidates.js.map
|
package/dist/refs-JNK5CLM7.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk-T6DWDI5E.js";import"./chunk-WDSFQDPN.js";import"./chunk-ANLNLY66.js";import"./chunk-JCSAZ35V.js";import"./chunk-FI7VGOR4.js";import"./chunk-WRQXLNYE.js";import"./chunk-L7KTFEAV.js";import"./chunk-2USA3S3P.js";import"./chunk-BJT7LSPK.js";import"./chunk-5BIKR67W.js";import"./chunk-CZW5MZ5B.js";import"./chunk-F4FNK44D.js";import"./chunk-ODPDP7A4.js";import"./chunk-MOKUWRHO.js";import"./chunk-FVFDOIM3.js";import"./chunk-2VAHDDLM.js";import"./chunk-YXPUP5G2.js";import"./chunk-BL6DCHQP.js";import"./chunk-EHYDXE3Z.js";import"./chunk-2OOY75BW.js";import"./chunk-U6KCHXJ4.js";import"./chunk-T3I6NHBH.js";import"./chunk-ATXPTSEI.js";import"./chunk-CKBUBRYD.js";import"./chunk-IW5XQG5G.js";import"./chunk-T3CZAZSI.js";import"./chunk-B3PYOSCX.js";import"./chunk-H5EXS3HM.js";import"./chunk-HGFDYOVB.js";import"./chunk-JFMEXGFE.js";import"./chunk-7HXT6YLU.js";import"./chunk-7F45LJKI.js";export{a as refs};
|
|
2
|
-
//# sourceMappingURL=refs-JNK5CLM7.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as y}from"./chunk-T6DWDI5E.js";import"./chunk-WDSFQDPN.js";import"./chunk-ANLNLY66.js";import"./chunk-JCSAZ35V.js";import{k as v,l as S,n as w}from"./chunk-FI7VGOR4.js";import"./chunk-WRQXLNYE.js";import"./chunk-L7KTFEAV.js";import{a as u}from"./chunk-2USA3S3P.js";import{c as d}from"./chunk-BJT7LSPK.js";import"./chunk-5BIKR67W.js";import"./chunk-CZW5MZ5B.js";import"./chunk-F4FNK44D.js";import"./chunk-ODPDP7A4.js";import"./chunk-MOKUWRHO.js";import"./chunk-FVFDOIM3.js";import"./chunk-2VAHDDLM.js";import"./chunk-YXPUP5G2.js";import{g}from"./chunk-BL6DCHQP.js";import"./chunk-EHYDXE3Z.js";import"./chunk-2OOY75BW.js";import"./chunk-U6KCHXJ4.js";import"./chunk-T3I6NHBH.js";import"./chunk-ATXPTSEI.js";import"./chunk-CKBUBRYD.js";import"./chunk-IW5XQG5G.js";import"./chunk-T3CZAZSI.js";import"./chunk-B3PYOSCX.js";import"./chunk-H5EXS3HM.js";import"./chunk-HGFDYOVB.js";import"./chunk-JFMEXGFE.js";import"./chunk-7HXT6YLU.js";import"./chunk-7F45LJKI.js";function j(t,r,e){if(!Number.isSafeInteger(e.limit)||e.limit<=0)throw new Error("Reference page limit must be a positive safe integer.");let n=u(t,r);if(!n)return{rows:[],hasMore:!1,producer:e.producer??"source-keyset",semanticEnrichment:!1};if(e.producer==="complete-only"||e.semantic===!0||n.relativePath.endsWith(".rb"))return m(t,r,e);let a=v(t,n);if(!a)return m(t,r,e);let i=F(t,n),c=x(t,i),f=[],R=e.producer==="source-keyset";for(let l of c){if(e.after&&l<e.after.relativePath)continue;e.instrumentation?.fileScanned?.(l);let h=S(t,a,l);h.length>0&&(R=!0);let P=new Set(h);i?.relativePath===l&&P.add(i.line);for(let k of[...P].sort((s,M)=>s-M)){let s={relativePath:l,line:k};if(!(e.after&&p(s,e.after)<=0)&&(f.push(s),e.instrumentation?.rowAccepted?.(s),R&&f.length>e.limit))return b(f,e.limit)}}return R?b(f,e.limit):m(t,r,e,i)}function p(t,r){return(t.relativePath<r.relativePath?-1:t.relativePath>r.relativePath?1:0)||t.line-r.line}function b(t,r){return{rows:t.slice(0,r),hasMore:t.length>r,producer:"source-keyset",semanticEnrichment:!1}}function m(t,r,e,n){let o=u(t,r),a=e.semantic===!0||o?.relativePath.endsWith(".rb")?y(t,r,{semantic:e.semantic}):D(t,r,n),i=E(a).filter(c=>!e.after||p(c,e.after)>0);for(let c of i.slice(0,e.limit+1))e.instrumentation?.rowAccepted?.(c);return{rows:i.slice(0,e.limit),hasMore:i.length>e.limit,producer:"complete-only",semanticEnrichment:e.semantic===!0}}function D(t,r,e){let n=u(t,r);if(!n)return[];let o=e===void 0?F(t,n):e,a=w(t,n).map(i=>({relativePath:i.file,line:i.line}));return o?[o,...a]:a}function F(t,r){return!g(r.symbol)&&!t.isIgnored(r.relativePath)?{relativePath:r.relativePath,line:r.startLine}:null}function x(t,r){let e=d(t);return!r||e.includes(r.relativePath)?e:[...e,r.relativePath].sort((n,o)=>n<o?-1:n>o?1:0)}function E(t){let r=new Map;for(let e of t)r.set(`${e.relativePath}\0${e.line}`,e);return[...r.values()].sort(p)}export{p as compareReferenceKey,j as referencePage};
|
|
2
|
-
//# sourceMappingURL=refs-pagination-6BLRYGMV.js.map
|
package/dist/slice-PHPVNCWX.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a,b}from"./chunk-AN76MGUE.js";import"./chunk-JFMI5SGB.js";import"./chunk-BGBBVSH4.js";import"./chunk-AADQLOQ4.js";import"./chunk-MTDBHTSF.js";import"./chunk-WDSFQDPN.js";import"./chunk-ANLNLY66.js";import"./chunk-JCSAZ35V.js";import"./chunk-NJGKXKQF.js";import"./chunk-FI7VGOR4.js";import"./chunk-WRQXLNYE.js";import"./chunk-L7KTFEAV.js";import"./chunk-2USA3S3P.js";import"./chunk-YUKYB54I.js";import"./chunk-BJT7LSPK.js";import"./chunk-5BIKR67W.js";import"./chunk-CZW5MZ5B.js";import"./chunk-F4FNK44D.js";import"./chunk-ODPDP7A4.js";import"./chunk-MOKUWRHO.js";import"./chunk-FVFDOIM3.js";import"./chunk-2VAHDDLM.js";import"./chunk-YXPUP5G2.js";import"./chunk-BL6DCHQP.js";import"./chunk-EHYDXE3Z.js";import"./chunk-2OOY75BW.js";import"./chunk-DHEQMPLW.js";import"./chunk-U6KCHXJ4.js";import"./chunk-T3I6NHBH.js";import"./chunk-ATXPTSEI.js";import"./chunk-CKBUBRYD.js";import"./chunk-IW5XQG5G.js";import"./chunk-T3CZAZSI.js";import"./chunk-B3PYOSCX.js";import"./chunk-H5EXS3HM.js";import"./chunk-HGFDYOVB.js";import"./chunk-JFMEXGFE.js";import"./chunk-7HXT6YLU.js";import"./chunk-7F45LJKI.js";export{a as referenceReachability,b as slice};
|
|
2
|
-
//# sourceMappingURL=slice-PHPVNCWX.js.map
|