codebaseiq 0.1.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.
Files changed (432) hide show
  1. package/CHANGELOG.md +481 -0
  2. package/LICENSE +202 -0
  3. package/README.md +349 -0
  4. package/dist/augment-vue-worker.js +2 -0
  5. package/dist/call-graph-evidence-gNsxjCW8.d.ts +16 -0
  6. package/dist/change-analysis-types-CCtoCHbC.d.ts +9 -0
  7. package/dist/chunk-2Q2LW5JW.js +14 -0
  8. package/dist/chunk-2X7V4HS4.js +88 -0
  9. package/dist/chunk-34WBMAYK.js +2 -0
  10. package/dist/chunk-35NLDRZC.js +2 -0
  11. package/dist/chunk-362QOSFD.js +3 -0
  12. package/dist/chunk-3IER7Q6H.js +12 -0
  13. package/dist/chunk-3JSXXYTZ.js +345 -0
  14. package/dist/chunk-3LCDIREB.js +4 -0
  15. package/dist/chunk-476NR5B7.js +2 -0
  16. package/dist/chunk-4FC325IF.js +30 -0
  17. package/dist/chunk-4WKDMDEW.js +9 -0
  18. package/dist/chunk-4XTAUQFD.js +2 -0
  19. package/dist/chunk-5PUWMSDU.js +26 -0
  20. package/dist/chunk-5VKBFZZU.js +3 -0
  21. package/dist/chunk-6BQ3DSPK.js +2 -0
  22. package/dist/chunk-6CS3UQTN.js +3 -0
  23. package/dist/chunk-6MUIJMVL.js +6 -0
  24. package/dist/chunk-6NW7MU72.js +40 -0
  25. package/dist/chunk-6OAHRI2D.js +6 -0
  26. package/dist/chunk-6YTSKJJ3.js +2 -0
  27. package/dist/chunk-7FND7D7N.js +2 -0
  28. package/dist/chunk-7MGU3HPH.js +2 -0
  29. package/dist/chunk-7NVGT435.js +2 -0
  30. package/dist/chunk-7XAN6GKB.js +2 -0
  31. package/dist/chunk-AAQQPKCU.js +2 -0
  32. package/dist/chunk-ADTBPVUZ.js +21 -0
  33. package/dist/chunk-AKB7V7TV.js +2 -0
  34. package/dist/chunk-ANFVSJWQ.js +11 -0
  35. package/dist/chunk-B2OB55RR.js +3 -0
  36. package/dist/chunk-B3UYV66Z.js +4 -0
  37. package/dist/chunk-B75HZHUP.js +2 -0
  38. package/dist/chunk-BFFZDZQV.js +2 -0
  39. package/dist/chunk-BGBBVSH4.js +2 -0
  40. package/dist/chunk-BH5F2Q4O.js +2 -0
  41. package/dist/chunk-BJ6SQAEN.js +2 -0
  42. package/dist/chunk-BMYOV5GP.js +77 -0
  43. package/dist/chunk-BVAJLC5A.js +7 -0
  44. package/dist/chunk-C6SBF2WH.js +4 -0
  45. package/dist/chunk-C74PPYLA.js +3 -0
  46. package/dist/chunk-C7QOQX32.js +8 -0
  47. package/dist/chunk-CAUCPUOF.js +7 -0
  48. package/dist/chunk-CO5R3UNA.js +2 -0
  49. package/dist/chunk-CQP3THUZ.js +7 -0
  50. package/dist/chunk-CVYSU6BX.js +16 -0
  51. package/dist/chunk-CWONGW6P.js +3 -0
  52. package/dist/chunk-DDZ7VHWV.js +20 -0
  53. package/dist/chunk-DGXRDLV5.js +2 -0
  54. package/dist/chunk-DO6WQD2T.js +3 -0
  55. package/dist/chunk-DQMDCD24.js +2 -0
  56. package/dist/chunk-DR2LURYU.js +3 -0
  57. package/dist/chunk-DRENNWRG.js +2 -0
  58. package/dist/chunk-ECQBG7PW.js +564 -0
  59. package/dist/chunk-EF2R3WNQ.js +2 -0
  60. package/dist/chunk-ELNRLMC5.js +29 -0
  61. package/dist/chunk-EMNIHCRB.js +18 -0
  62. package/dist/chunk-ENCCHKM6.js +5 -0
  63. package/dist/chunk-EZNMUY67.js +5 -0
  64. package/dist/chunk-FAJQ7LWY.js +3 -0
  65. package/dist/chunk-FDGD5AB5.js +2 -0
  66. package/dist/chunk-FETNQCFO.js +117 -0
  67. package/dist/chunk-FM5BPL4V.js +60 -0
  68. package/dist/chunk-FQKZWM4L.js +49 -0
  69. package/dist/chunk-FW53T7EB.js +2 -0
  70. package/dist/chunk-G6XFR4ZL.js +4 -0
  71. package/dist/chunk-GCHRX4YW.js +4 -0
  72. package/dist/chunk-GTIYTDRE.js +562 -0
  73. package/dist/chunk-GTXSJDCO.js +2 -0
  74. package/dist/chunk-GW6Z3WGY.js +2 -0
  75. package/dist/chunk-H3LGFZVK.js +2 -0
  76. package/dist/chunk-HKQUXIFO.js +2 -0
  77. package/dist/chunk-HOA5YGOH.js +3 -0
  78. package/dist/chunk-HPJRBHVT.js +3 -0
  79. package/dist/chunk-HRWGYWRJ.js +49 -0
  80. package/dist/chunk-I2T2LLK2.js +4 -0
  81. package/dist/chunk-ICFDQHAM.js +3 -0
  82. package/dist/chunk-ID63777H.js +4 -0
  83. package/dist/chunk-IJ4HMYBE.js +3 -0
  84. package/dist/chunk-ILMHV3KM.js +2 -0
  85. package/dist/chunk-IOP6FWIM.js +2 -0
  86. package/dist/chunk-IRQOAM5G.js +2 -0
  87. package/dist/chunk-J77SU6VA.js +38 -0
  88. package/dist/chunk-JE3WZ6II.js +2 -0
  89. package/dist/chunk-JEJLSICM.js +4 -0
  90. package/dist/chunk-JOIRNPPY.js +2 -0
  91. package/dist/chunk-JSOYNVWH.js +3 -0
  92. package/dist/chunk-KMITESMT.js +2 -0
  93. package/dist/chunk-KUW32IRO.js +2 -0
  94. package/dist/chunk-KWVHSKHK.js +31 -0
  95. package/dist/chunk-L4NRUAGJ.js +18 -0
  96. package/dist/chunk-L57ZKWVG.js +6 -0
  97. package/dist/chunk-LTA3BRZX.js +2 -0
  98. package/dist/chunk-LU3BMVH2.js +10 -0
  99. package/dist/chunk-LZYFLFEH.js +2 -0
  100. package/dist/chunk-MOVBWNIP.js +16 -0
  101. package/dist/chunk-MVB3DAEY.js +3 -0
  102. package/dist/chunk-N3IQCBCF.js +29 -0
  103. package/dist/chunk-NAUD7LCA.js +2 -0
  104. package/dist/chunk-NCZUNH3E.js +109 -0
  105. package/dist/chunk-NE6IU5ZD.js +5 -0
  106. package/dist/chunk-NEDP5RFQ.js +60 -0
  107. package/dist/chunk-NMTSZXCL.js +2 -0
  108. package/dist/chunk-NNJ2KZZG.js +4 -0
  109. package/dist/chunk-NNO6A2PO.js +2 -0
  110. package/dist/chunk-NNOKTMZT.js +20 -0
  111. package/dist/chunk-O6QTXQPJ.js +13 -0
  112. package/dist/chunk-OANDYLJQ.js +2 -0
  113. package/dist/chunk-OFBE4NGP.js +2 -0
  114. package/dist/chunk-OGTFJ3XD.js +2 -0
  115. package/dist/chunk-OL6KJP3N.js +16 -0
  116. package/dist/chunk-OLF4MA5W.js +8 -0
  117. package/dist/chunk-OTOKVOJ3.js +2 -0
  118. package/dist/chunk-OVTS4DKB.js +2 -0
  119. package/dist/chunk-OZYRSMSH.js +3 -0
  120. package/dist/chunk-P5XHIJHI.js +2 -0
  121. package/dist/chunk-PBI2LFKH.js +2 -0
  122. package/dist/chunk-PIOMTC27.js +2 -0
  123. package/dist/chunk-PTAWHLVJ.js +6 -0
  124. package/dist/chunk-PX4RYAAK.js +2 -0
  125. package/dist/chunk-PYAB5SM6.js +7 -0
  126. package/dist/chunk-Q5ELPRKQ.js +2 -0
  127. package/dist/chunk-Q65CQ4XL.js +2 -0
  128. package/dist/chunk-Q72QSKXC.js +308 -0
  129. package/dist/chunk-QCN62RTF.js +3 -0
  130. package/dist/chunk-QDCCHMVZ.js +2 -0
  131. package/dist/chunk-QHRNXP3C.js +3 -0
  132. package/dist/chunk-QKPLA6IC.js +2 -0
  133. package/dist/chunk-QOKYJ33H.js +2 -0
  134. package/dist/chunk-QW7EP6WI.js +21 -0
  135. package/dist/chunk-R2NOK63J.js +4 -0
  136. package/dist/chunk-RBAS5ZHI.js +2 -0
  137. package/dist/chunk-RDBI2RXU.js +9 -0
  138. package/dist/chunk-RKEJ6VTF.js +73 -0
  139. package/dist/chunk-RR7SX44N.js +35 -0
  140. package/dist/chunk-RU65DDUP.js +215 -0
  141. package/dist/chunk-SELM5MER.js +2 -0
  142. package/dist/chunk-SGX43S2L.js +2 -0
  143. package/dist/chunk-SMRBZ6EC.js +2 -0
  144. package/dist/chunk-SNNWPCN7.js +4 -0
  145. package/dist/chunk-ST7V3SKN.js +2 -0
  146. package/dist/chunk-SWHMHUKF.js +2 -0
  147. package/dist/chunk-SYDJMPES.js +2 -0
  148. package/dist/chunk-SZD2KF7Q.js +2 -0
  149. package/dist/chunk-T3DGWPXM.js +3 -0
  150. package/dist/chunk-TFZB6XTM.js +239 -0
  151. package/dist/chunk-TIIC3ZE7.js +2 -0
  152. package/dist/chunk-TRRC4ZJ7.js +2 -0
  153. package/dist/chunk-TXXOEMZJ.js +2 -0
  154. package/dist/chunk-UBGWN7I4.js +2 -0
  155. package/dist/chunk-UCD3H3UZ.js +5 -0
  156. package/dist/chunk-UDS562V4.js +5 -0
  157. package/dist/chunk-UNBY47BC.js +3 -0
  158. package/dist/chunk-UP3BUZR5.js +74 -0
  159. package/dist/chunk-UXM43C7T.js +3 -0
  160. package/dist/chunk-UZGZB3VB.js +3 -0
  161. package/dist/chunk-VE5AVNMP.js +2 -0
  162. package/dist/chunk-VEXUL62T.js +2 -0
  163. package/dist/chunk-VFY6Y2H6.js +61 -0
  164. package/dist/chunk-VUIYB2V3.js +2 -0
  165. package/dist/chunk-VXYS3FZD.js +23 -0
  166. package/dist/chunk-WE5RZHZ7.js +5 -0
  167. package/dist/chunk-WMPRTGH2.js +2 -0
  168. package/dist/chunk-WOQBZPIF.js +2 -0
  169. package/dist/chunk-XLQ3GLWZ.js +2 -0
  170. package/dist/chunk-XME3HPXZ.js +2 -0
  171. package/dist/chunk-XMQ23E27.js +2 -0
  172. package/dist/chunk-XWUOUWYI.js +2 -0
  173. package/dist/chunk-XZEE23VG.js +5 -0
  174. package/dist/chunk-Y6KHROC3.js +7 -0
  175. package/dist/chunk-YESXMKX3.js +3 -0
  176. package/dist/chunk-YMGZZEW4.js +2 -0
  177. package/dist/chunk-YSNONTJ2.js +2 -0
  178. package/dist/chunk-YUKYB54I.js +1 -0
  179. package/dist/chunk-YVCIMIOC.js +12 -0
  180. package/dist/chunk-Z54RD7VL.js +3 -0
  181. package/dist/chunk-ZKX2FRS6.js +15 -0
  182. package/dist/chunk-ZMI2JSX2.js +2 -0
  183. package/dist/chunk-ZV3JV5G5.js +8 -0
  184. package/dist/chunk-ZZ3MWF33.js +4 -0
  185. package/dist/chunk-ZZXSWSN6.js +2 -0
  186. package/dist/cli-context-3SNLDYBM.js +3 -0
  187. package/dist/cli-context-T3B7W6GG.js +2 -0
  188. package/dist/cli-program-YNOXO72B.js +7 -0
  189. package/dist/cli.js +3 -0
  190. package/dist/code-DlqpBDd0.d.ts +121 -0
  191. package/dist/command-descriptors-6AOUKWW7.js +346 -0
  192. package/dist/command-descriptors-ZFKJSRUP.js +344 -0
  193. package/dist/command-panels-SZONPMLJ.js +3 -0
  194. package/dist/config-types-BNoC96J3.d.ts +560 -0
  195. package/dist/db-D7sauVFH.d.ts +95 -0
  196. package/dist/direct-navigation-DP4LVMRX.js +3 -0
  197. package/dist/direct-navigation-FLUS3BT6.js +2 -0
  198. package/dist/exploration-topology-BG4v30HZ.d.ts +256 -0
  199. package/dist/file-dep-graph-Bqg3t3Px.d.ts +4 -0
  200. package/dist/file-kind-BKCVMNUf.d.ts +10 -0
  201. package/dist/frontend-behavior-evidence-EfM4_9bc.d.ts +4 -0
  202. package/dist/git-history-ChNHbfZQ.d.ts +13 -0
  203. package/dist/graph-evidence-BIFqyisO.d.ts +131 -0
  204. package/dist/health-DJaZXg8I.d.ts +340 -0
  205. package/dist/index.d.ts +183 -0
  206. package/dist/index.js +2 -0
  207. package/dist/invocation-command-descriptors-QT2JMY5J.js +3 -0
  208. package/dist/invocation-command-descriptors-YN4QJEAX.js +2 -0
  209. package/dist/next-anchor-candidates-BwMczMvX.d.ts +90 -0
  210. package/dist/output-continuation-command-2V2SL4TD.js +2 -0
  211. package/dist/output-continuation-command-65J5IP3O.js +3 -0
  212. package/dist/postinstall.js +3 -0
  213. package/dist/project-reindex-5JOKXAXT.js +2 -0
  214. package/dist/project-reindex-UQBIKO4M.js +3 -0
  215. package/dist/queries/affected.d.ts +40 -0
  216. package/dist/queries/affected.js +2 -0
  217. package/dist/queries/anchors.d.ts +123 -0
  218. package/dist/queries/anchors.js +2 -0
  219. package/dist/queries/architecture.d.ts +166 -0
  220. package/dist/queries/architecture.js +2 -0
  221. package/dist/queries/bottlenecks.d.ts +68 -0
  222. package/dist/queries/bottlenecks.js +2 -0
  223. package/dist/queries/by-kind.d.ts +27 -0
  224. package/dist/queries/by-kind.js +2 -0
  225. package/dist/queries/call-graph.d.ts +52 -0
  226. package/dist/queries/call-graph.js +2 -0
  227. package/dist/queries/change-surface.d.ts +55 -0
  228. package/dist/queries/change-surface.js +2 -0
  229. package/dist/queries/cleanup-plan.d.ts +66 -0
  230. package/dist/queries/cleanup-plan.js +2 -0
  231. package/dist/queries/co-change.d.ts +90 -0
  232. package/dist/queries/co-change.js +2 -0
  233. package/dist/queries/code.d.ts +6 -0
  234. package/dist/queries/code.js +2 -0
  235. package/dist/queries/complexity-hotspots.d.ts +61 -0
  236. package/dist/queries/complexity-hotspots.js +2 -0
  237. package/dist/queries/complexity.d.ts +74 -0
  238. package/dist/queries/complexity.js +2 -0
  239. package/dist/queries/context.d.ts +146 -0
  240. package/dist/queries/context.js +2 -0
  241. package/dist/queries/convergence.d.ts +33 -0
  242. package/dist/queries/convergence.js +2 -0
  243. package/dist/queries/coupling.d.ts +32 -0
  244. package/dist/queries/coupling.js +2 -0
  245. package/dist/queries/cycles.d.ts +66 -0
  246. package/dist/queries/cycles.js +2 -0
  247. package/dist/queries/dataflow.d.ts +77 -0
  248. package/dist/queries/dataflow.js +2 -0
  249. package/dist/queries/dead.d.ts +58 -0
  250. package/dist/queries/dead.js +2 -0
  251. package/dist/queries/decorative-checkers.d.ts +34 -0
  252. package/dist/queries/decorative-checkers.js +2 -0
  253. package/dist/queries/deep-chains.d.ts +5 -0
  254. package/dist/queries/deep-chains.js +2 -0
  255. package/dist/queries/dependence-slice.d.ts +46 -0
  256. package/dist/queries/dependence-slice.js +2 -0
  257. package/dist/queries/dependency-depth.d.ts +49 -0
  258. package/dist/queries/dependency-depth.js +2 -0
  259. package/dist/queries/deps.d.ts +15 -0
  260. package/dist/queries/deps.js +2 -0
  261. package/dist/queries/diff-impact.d.ts +165 -0
  262. package/dist/queries/diff-impact.js +2 -0
  263. package/dist/queries/doc-drift.d.ts +115 -0
  264. package/dist/queries/doc-drift.js +2 -0
  265. package/dist/queries/drift.d.ts +79 -0
  266. package/dist/queries/drift.js +2 -0
  267. package/dist/queries/duplicate-bodies.d.ts +55 -0
  268. package/dist/queries/duplicate-bodies.js +2 -0
  269. package/dist/queries/entry-map.d.ts +121 -0
  270. package/dist/queries/entry-map.js +2 -0
  271. package/dist/queries/evidence.d.ts +70 -0
  272. package/dist/queries/evidence.js +2 -0
  273. package/dist/queries/extract-candidates.d.ts +52 -0
  274. package/dist/queries/extract-candidates.js +2 -0
  275. package/dist/queries/fan.d.ts +53 -0
  276. package/dist/queries/fan.js +2 -0
  277. package/dist/queries/files.d.ts +20 -0
  278. package/dist/queries/files.js +2 -0
  279. package/dist/queries/health.d.ts +8 -0
  280. package/dist/queries/health.js +2 -0
  281. package/dist/queries/hierarchy.d.ts +21 -0
  282. package/dist/queries/hierarchy.js +2 -0
  283. package/dist/queries/hotspots.d.ts +42 -0
  284. package/dist/queries/hotspots.js +2 -0
  285. package/dist/queries/imports.d.ts +34 -0
  286. package/dist/queries/imports.js +2 -0
  287. package/dist/queries/incomplete-migration.d.ts +90 -0
  288. package/dist/queries/incomplete-migration.js +2 -0
  289. package/dist/queries/index.d.ts +180 -0
  290. package/dist/queries/index.js +2 -0
  291. package/dist/queries/isolated.d.ts +24 -0
  292. package/dist/queries/isolated.js +2 -0
  293. package/dist/queries/locality-candidates.d.ts +51 -0
  294. package/dist/queries/locality-candidates.js +2 -0
  295. package/dist/queries/members.d.ts +21 -0
  296. package/dist/queries/members.js +2 -0
  297. package/dist/queries/methods.d.ts +43 -0
  298. package/dist/queries/methods.js +2 -0
  299. package/dist/queries/not-implemented.d.ts +33 -0
  300. package/dist/queries/not-implemented.js +2 -0
  301. package/dist/queries/outline.d.ts +22 -0
  302. package/dist/queries/outline.js +2 -0
  303. package/dist/queries/passthrough-candidates.d.ts +41 -0
  304. package/dist/queries/passthrough-candidates.js +2 -0
  305. package/dist/queries/plan-context.d.ts +33 -0
  306. package/dist/queries/plan-context.js +2 -0
  307. package/dist/queries/react-component-duplicates.d.ts +39 -0
  308. package/dist/queries/react-component-duplicates.js +2 -0
  309. package/dist/queries/react-hook-candidates.d.ts +44 -0
  310. package/dist/queries/react-hook-candidates.js +2 -0
  311. package/dist/queries/react-large-component-pressure.d.ts +34 -0
  312. package/dist/queries/react-large-component-pressure.js +2 -0
  313. package/dist/queries/recent-duplicates.d.ts +79 -0
  314. package/dist/queries/recent-duplicates.js +2 -0
  315. package/dist/queries/redundant-reexports.d.ts +37 -0
  316. package/dist/queries/redundant-reexports.js +2 -0
  317. package/dist/queries/reference-neighborhood.d.ts +4 -0
  318. package/dist/queries/reference-neighborhood.js +2 -0
  319. package/dist/queries/reference-reachability.d.ts +48 -0
  320. package/dist/queries/reference-reachability.js +2 -0
  321. package/dist/queries/refs.d.ts +13 -0
  322. package/dist/queries/refs.js +2 -0
  323. package/dist/queries/self-audit.d.ts +65 -0
  324. package/dist/queries/self-audit.js +2 -0
  325. package/dist/queries/similar-chains.d.ts +48 -0
  326. package/dist/queries/similar-chains.js +2 -0
  327. package/dist/queries/similar-files.d.ts +35 -0
  328. package/dist/queries/similar-files.js +2 -0
  329. package/dist/queries/similar-signatures.d.ts +46 -0
  330. package/dist/queries/similar-signatures.js +2 -0
  331. package/dist/queries/similar.d.ts +187 -0
  332. package/dist/queries/similar.js +2 -0
  333. package/dist/queries/slice.d.ts +4 -0
  334. package/dist/queries/slice.js +2 -0
  335. package/dist/queries/source-inspection.d.ts +209 -0
  336. package/dist/queries/source-inspection.js +2 -0
  337. package/dist/queries/source-search.d.ts +85 -0
  338. package/dist/queries/source-search.js +2 -0
  339. package/dist/queries/stale-abstractions.d.ts +72 -0
  340. package/dist/queries/stale-abstractions.js +2 -0
  341. package/dist/queries/stats.d.ts +15 -0
  342. package/dist/queries/stats.js +2 -0
  343. package/dist/queries/surface.d.ts +22 -0
  344. package/dist/queries/surface.js +2 -0
  345. package/dist/queries/symbols.d.ts +14 -0
  346. package/dist/queries/symbols.js +2 -0
  347. package/dist/queries/system-map.d.ts +449 -0
  348. package/dist/queries/system-map.js +2 -0
  349. package/dist/queries/system.d.ts +21 -0
  350. package/dist/queries/system.js +2 -0
  351. package/dist/queries/test-quality.d.ts +56 -0
  352. package/dist/queries/test-quality.js +2 -0
  353. package/dist/queries/trace.d.ts +68 -0
  354. package/dist/queries/trace.js +2 -0
  355. package/dist/queries/twin-ab.d.ts +66 -0
  356. package/dist/queries/twin-ab.js +2 -0
  357. package/dist/queries/twin-drift.d.ts +119 -0
  358. package/dist/queries/twin-drift.js +2 -0
  359. package/dist/queries/unused-imports.d.ts +4 -0
  360. package/dist/queries/unused-imports.js +2 -0
  361. package/dist/queries/unused-params.d.ts +38 -0
  362. package/dist/queries/unused-params.js +2 -0
  363. package/dist/queries/value-flow.d.ts +42 -0
  364. package/dist/queries/value-flow.js +2 -0
  365. package/dist/queries/vue-component-duplicates.d.ts +43 -0
  366. package/dist/queries/vue-component-duplicates.js +2 -0
  367. package/dist/queries/vue-composable-candidates.d.ts +44 -0
  368. package/dist/queries/vue-composable-candidates.js +2 -0
  369. package/dist/queries/vue-large-view-pressure.d.ts +41 -0
  370. package/dist/queries/vue-large-view-pressure.js +2 -0
  371. package/dist/queries/wrapper-candidates.d.ts +34 -0
  372. package/dist/queries/wrapper-candidates.js +2 -0
  373. package/dist/reindex-worker.js +3 -0
  374. package/dist/reindex.d.ts +254 -0
  375. package/dist/reindex.js +298 -0
  376. package/dist/repository-text-C0Q8VYdN.d.ts +19 -0
  377. package/dist/runtime.d.ts +555 -0
  378. package/dist/runtime.js +4 -0
  379. package/dist/rust-semantic-session-server.js +2 -0
  380. package/dist/rust-semantic-session-worker.js +2 -0
  381. package/dist/rust-semantic-worker.js +2 -0
  382. package/dist/scip-cli-B7N3haxa.d.ts +67 -0
  383. package/dist/source-snippet-_wrcgmZc.d.ts +15 -0
  384. package/dist/symbol-types-BIQwfoAx.d.ts +74 -0
  385. package/dist/typescript-mailbox-worker.js +2 -0
  386. package/dist/watch-server.js +8 -0
  387. package/docs/AGENT_GUIDE.md +148 -0
  388. package/docs/AI_FAILURE_MODES.md +43 -0
  389. package/docs/API.md +40 -0
  390. package/docs/API_EVOLUTION.md +77 -0
  391. package/docs/CLI_JSON_OUTPUT.md +389 -0
  392. package/docs/COMMAND_REFERENCE.md +294 -0
  393. package/docs/CONFIGURATION_WRITE_SAFETY.md +131 -0
  394. package/docs/DETECTOR_GUIDE.md +46 -0
  395. package/docs/DURABILITY.md +159 -0
  396. package/docs/INDEX_GENERATIONS.md +167 -0
  397. package/docs/LOCK_PROTOCOL.md +133 -0
  398. package/docs/MAILBOX_LIFECYCLE.md +224 -0
  399. package/docs/REGEX_POLICY.md +36 -0
  400. package/docs/REINDEX_METADATA_COMPATIBILITY.md +104 -0
  401. package/docs/RUST_DURABLE_SESSION_PROTOCOL.md +126 -0
  402. package/docs/SECURITY_MODEL.md +125 -0
  403. package/docs/TELEMETRY_RETENTION.md +84 -0
  404. package/docs/TIME_SEMANTICS.md +77 -0
  405. package/docs/WATCH_REFRESH_REQUESTS.md +123 -0
  406. package/docs/WINDOWS_SIDECAR_RELEASE.md +424 -0
  407. package/docs/accuracy-audit-checklist.md +304 -0
  408. package/docs/accuracy-hardening-goal.md +500 -0
  409. package/docs/analyzer-inventory.md +78 -0
  410. package/docs/analyzer-validation-protocol.md +84 -0
  411. package/docs/architecture-coherence-vision.md +254 -0
  412. package/docs/assets/codebaseiq-logo-dark.svg +21 -0
  413. package/docs/assets/codebaseiq-logo.svg +24 -0
  414. package/docs/locality-analyzer-design.md +193 -0
  415. package/docs/schemas/cli-json-envelope.schema.json +237 -0
  416. package/docs/schemas/cli-output-page.schema.json +104 -0
  417. package/docs/schemas/npm-release-state.schema.json +146 -0
  418. package/docs/schemas/observation-receipt.schema.json +164 -0
  419. package/docs/schemas/project-config.schema.json +318 -0
  420. package/docs/schemas/suppression-record.schema.json +79 -0
  421. package/docs/schemas/windows-sidecar-provenance.schema.json +137 -0
  422. package/package.json +482 -0
  423. package/scripts/build-codebaseiq-windows.mjs +197 -0
  424. package/scripts/codebaseiq-windows-provenance.mjs +364 -0
  425. package/scripts/evidence-product-contract.mjs +197 -0
  426. package/scripts/verify-codebaseiq-windows.mjs +29 -0
  427. package/skills/codebaseiq/SKILL.md +75 -0
  428. package/skills/codebaseiq/agents/openai.yaml +4 -0
  429. package/skills/codebaseiq-explore/SKILL.md +34 -0
  430. package/skills/codebaseiq-explore/agents/openai.yaml +4 -0
  431. package/skills/concrete-plan/SKILL.md +79 -0
  432. package/skills/concrete-plan/agents/openai.yaml +4 -0
@@ -0,0 +1,449 @@
1
+ import { S as ScipDatabase } from '../db-D7sauVFH.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-gNsxjCW8.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-BNoC96J3.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 };
@@ -0,0 +1,2 @@
1
+ import{a,b,c}from"../chunk-MOVBWNIP.js";import"../chunk-MVB3DAEY.js";import"../chunk-YSNONTJ2.js";import"../chunk-QHRNXP3C.js";import"../chunk-L57ZKWVG.js";import"../chunk-SMRBZ6EC.js";import"../chunk-JEJLSICM.js";import"../chunk-FQKZWM4L.js";import"../chunk-VE5AVNMP.js";import"../chunk-7FND7D7N.js";import"../chunk-BGBBVSH4.js";import"../chunk-JOIRNPPY.js";import"../chunk-6CS3UQTN.js";import"../chunk-P5XHIJHI.js";import"../chunk-J77SU6VA.js";import"../chunk-UCD3H3UZ.js";import"../chunk-CVYSU6BX.js";import"../chunk-ELNRLMC5.js";import"../chunk-UZGZB3VB.js";import"../chunk-ZKX2FRS6.js";import"../chunk-C7QOQX32.js";import"../chunk-TIIC3ZE7.js";import"../chunk-YUKYB54I.js";import"../chunk-OANDYLJQ.js";import"../chunk-NNOKTMZT.js";import"../chunk-SGX43S2L.js";import"../chunk-FETNQCFO.js";import"../chunk-O6QTXQPJ.js";import"../chunk-ADTBPVUZ.js";import"../chunk-BMYOV5GP.js";import"../chunk-CWONGW6P.js";import"../chunk-3LCDIREB.js";import"../chunk-NNJ2KZZG.js";export{a as systemMap,c as systemMapRegionRelationKey,b as systemMapTopology};
2
+ //# sourceMappingURL=system-map.js.map
@@ -0,0 +1,21 @@
1
+ import { S as ScipDatabase } from '../db-D7sauVFH.js';
2
+ import { SymbolResult } from './symbols.js';
3
+ import 'better-sqlite3';
4
+ import '../config-types-BNoC96J3.js';
5
+
6
+ interface SystemResult {
7
+ files: string[];
8
+ symbols: SymbolResult[];
9
+ dependsOn: string[];
10
+ dependedOnBy: string[];
11
+ }
12
+ /** Full system map for a module path: files, symbols, deps in/out.
13
+ *
14
+ * Exported-symbol ranges come from getDefinitionsForFile so they are
15
+ * source-corrected and match `scip symbols` output.
16
+ */
17
+ declare function system(db: ScipDatabase, modulePattern: string): SystemResult;
18
+ /** One-hop module summary; this does not infer a repository subsystem boundary. */
19
+ declare function moduleMap(db: ScipDatabase, modulePattern: string): SystemResult;
20
+
21
+ export { type SystemResult, moduleMap, system };
@@ -0,0 +1,2 @@
1
+ import{a,b}from"../chunk-GCHRX4YW.js";import"../chunk-GW6Z3WGY.js";import"../chunk-GTXSJDCO.js";import"../chunk-UZGZB3VB.js";import"../chunk-NNOKTMZT.js";import"../chunk-FETNQCFO.js";import"../chunk-O6QTXQPJ.js";import"../chunk-ADTBPVUZ.js";import"../chunk-BMYOV5GP.js";import"../chunk-CWONGW6P.js";import"../chunk-3LCDIREB.js";import"../chunk-NNJ2KZZG.js";export{b as moduleMap,a as system};
2
+ //# sourceMappingURL=system.js.map
@@ -0,0 +1,56 @@
1
+ import { S as ScipDatabase } from '../db-D7sauVFH.js';
2
+ import 'better-sqlite3';
3
+ import '../config-types-BNoC96J3.js';
4
+
5
+ /**
6
+ * test-quality (D3): the biggest uncovered surface — test files are not
7
+ * SCIP-indexed (house convention), so this detector works entirely from the
8
+ * source-facts layer (raw source text + `classifyFile`'s test-file
9
+ * classification), never the graph. Three independently reportable
10
+ * sub-checks:
11
+ * - assertion-free: `it`/`test` bodies with no reachable assertion call.
12
+ * - skipped: `it.skip`/`describe.skip`/`xit`/`.todo` inventory with
13
+ * git-blame age on the skip line.
14
+ * - mock-echo: a test asserting the same literal it stubbed into a mock.
15
+ */
16
+ type AssertionFreeSeverity = 'high' | 'low';
17
+ type SkippedTestKind = 'skip' | 'todo';
18
+ type SkipRot = 'rot' | 'workflow' | 'unknown';
19
+ interface AssertionFreeFinding {
20
+ file: string;
21
+ startLine: number;
22
+ endLine: number;
23
+ title: string;
24
+ severity: AssertionFreeSeverity;
25
+ }
26
+ interface SkippedTestFinding {
27
+ file: string;
28
+ startLine: number;
29
+ title: string;
30
+ skipKind: SkippedTestKind;
31
+ blockKind: 'it' | 'test' | 'describe';
32
+ ageDays: number | null;
33
+ rot: SkipRot;
34
+ }
35
+ interface MockEchoFinding {
36
+ file: string;
37
+ startLine: number;
38
+ endLine: number;
39
+ title: string;
40
+ echoedValue: string;
41
+ }
42
+ interface TestQualityReport {
43
+ assertionFree: AssertionFreeFinding[];
44
+ skipped: SkippedTestFinding[];
45
+ mockEcho: MockEchoFinding[];
46
+ }
47
+ interface TestQualityOptions {
48
+ scope?: string;
49
+ limit?: number;
50
+ scanLimit?: number;
51
+ /** Skips older than this many days are reported as 'rot' rather than 'workflow'. Default 60. */
52
+ rotDays?: number;
53
+ }
54
+ declare function testQuality(db: ScipDatabase, opts?: TestQualityOptions): TestQualityReport;
55
+
56
+ export { type AssertionFreeFinding, type AssertionFreeSeverity, type MockEchoFinding, type SkipRot, type SkippedTestFinding, type SkippedTestKind, type TestQualityOptions, type TestQualityReport, testQuality };
@@ -0,0 +1,2 @@
1
+ import{a}from"../chunk-UNBY47BC.js";import"../chunk-4WKDMDEW.js";import"../chunk-B75HZHUP.js";import"../chunk-BGBBVSH4.js";import"../chunk-P5XHIJHI.js";import"../chunk-C7QOQX32.js";import"../chunk-TIIC3ZE7.js";import"../chunk-YUKYB54I.js";import"../chunk-OANDYLJQ.js";import"../chunk-NNOKTMZT.js";import"../chunk-FETNQCFO.js";import"../chunk-O6QTXQPJ.js";import"../chunk-ADTBPVUZ.js";import"../chunk-BMYOV5GP.js";import"../chunk-CWONGW6P.js";import"../chunk-3LCDIREB.js";import"../chunk-NNJ2KZZG.js";export{a as testQuality};
2
+ //# sourceMappingURL=test-quality.js.map
@@ -0,0 +1,68 @@
1
+ import { S as ScipDatabase } from '../db-D7sauVFH.js';
2
+ import 'better-sqlite3';
3
+ import '../config-types-BNoC96J3.js';
4
+
5
+ interface TraceResult {
6
+ definitions: Array<{
7
+ relativePath: string;
8
+ startLine: number;
9
+ endLine: number;
10
+ signature: string | null;
11
+ source: string | null;
12
+ }>;
13
+ referencedBy: Array<{
14
+ relativePath: string;
15
+ line: number;
16
+ enclosingSymbol: string | null;
17
+ enclosingShort: string;
18
+ }>;
19
+ }
20
+ interface TraceEvidenceResult {
21
+ definitions: TraceResult['definitions'];
22
+ referencedBy: Array<TraceResult['referencedBy'][number] & {
23
+ sourceStartLine: number | null;
24
+ sourceEndLine: number | null;
25
+ source: string | null;
26
+ }>;
27
+ }
28
+ type TraceReferenceProvenance = 'source-attribution' | 'scip-reference-chunk';
29
+ type TraceReferenceSourceKind = 'complete-call-expression' | 'non-call-reference' | 'bounded-context' | 'unavailable';
30
+ interface TraceReferenceEvidence {
31
+ relativePath: string;
32
+ line: number;
33
+ provenance: TraceReferenceProvenance;
34
+ sourceKind: TraceReferenceSourceKind;
35
+ }
36
+ interface QualifiedTraceEvidenceResult extends TraceEvidenceResult {
37
+ referenceEvidence: TraceReferenceEvidence[];
38
+ claimSupport: TraceClaimSupport | null;
39
+ }
40
+ type TraceClaimEligibility = {
41
+ status: 'eligible';
42
+ scope: string;
43
+ limitations: string[];
44
+ } | {
45
+ status: 'ineligible';
46
+ scope: string;
47
+ reason: string;
48
+ followup: string | null;
49
+ };
50
+ interface TraceClaimSupport {
51
+ referenceAbsence: TraceClaimEligibility;
52
+ callsitePredicates: TraceClaimEligibility;
53
+ }
54
+ declare function trace(db: ScipDatabase, symbolPattern: string, opts?: {
55
+ semantic?: boolean;
56
+ }): TraceResult;
57
+ /** Trace a symbol and include bounded source around each reference. */
58
+ declare function traceEvidence(db: ScipDatabase, symbolPattern: string, opts?: {
59
+ semantic?: boolean;
60
+ referenceContext?: number;
61
+ }): TraceEvidenceResult;
62
+ /** Trace a symbol with explicit metadata governing which claims its source can support. */
63
+ declare function qualifiedTraceEvidence(db: ScipDatabase, symbolPattern: string, opts?: {
64
+ semantic?: boolean;
65
+ referenceContext?: number;
66
+ }): QualifiedTraceEvidenceResult;
67
+
68
+ export { type QualifiedTraceEvidenceResult, type TraceClaimEligibility, type TraceClaimSupport, type TraceEvidenceResult, type TraceReferenceEvidence, type TraceReferenceProvenance, type TraceReferenceSourceKind, type TraceResult, qualifiedTraceEvidence, trace, traceEvidence };
@@ -0,0 +1,2 @@
1
+ import{a,b,c}from"../chunk-ID63777H.js";import"../chunk-PTAWHLVJ.js";import"../chunk-YSNONTJ2.js";import"../chunk-JEJLSICM.js";import"../chunk-JOIRNPPY.js";import"../chunk-6CS3UQTN.js";import"../chunk-P5XHIJHI.js";import"../chunk-UCD3H3UZ.js";import"../chunk-CVYSU6BX.js";import"../chunk-ELNRLMC5.js";import"../chunk-UZGZB3VB.js";import"../chunk-ZKX2FRS6.js";import"../chunk-TIIC3ZE7.js";import"../chunk-NNOKTMZT.js";import"../chunk-FETNQCFO.js";import"../chunk-O6QTXQPJ.js";import"../chunk-ADTBPVUZ.js";import"../chunk-BMYOV5GP.js";import"../chunk-CWONGW6P.js";import"../chunk-3LCDIREB.js";import"../chunk-NNJ2KZZG.js";export{c as qualifiedTraceEvidence,a as trace,b as traceEvidence};
2
+ //# sourceMappingURL=trace.js.map
@@ -0,0 +1,66 @@
1
+ import { S as ScipDatabase } from '../db-D7sauVFH.js';
2
+ import 'better-sqlite3';
3
+ import '../config-types-BNoC96J3.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 };