codebaseiq 0.1.0 → 0.3.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 (447) hide show
  1. package/CHANGELOG.md +89 -0
  2. package/README.md +1 -1
  3. package/dist/augment-vue-worker.js +1 -1
  4. package/dist/{chunk-ZMI2JSX2.js → chunk-23C5AD3B.js} +2 -2
  5. package/dist/chunk-2E6OUPCF.js +2 -0
  6. package/dist/chunk-2EDX3JT5.js +3 -0
  7. package/dist/chunk-2I2UHZET.js +2 -0
  8. package/dist/{chunk-T3DGWPXM.js → chunk-2OMXFE64.js} +2 -2
  9. package/dist/chunk-2PRONPAS.js +3 -0
  10. package/dist/{chunk-GW6Z3WGY.js → chunk-356EZBIP.js} +2 -2
  11. package/dist/{chunk-UDS562V4.js → chunk-36JC5BG2.js} +2 -2
  12. package/dist/chunk-3RR2K7EZ.js +20 -0
  13. package/dist/{chunk-JE3WZ6II.js → chunk-3RSBGWGL.js} +2 -2
  14. package/dist/{chunk-VE5AVNMP.js → chunk-3VJ3OCRE.js} +2 -2
  15. package/dist/{chunk-FDGD5AB5.js → chunk-4LK5OIPW.js} +2 -2
  16. package/dist/chunk-5DSL3NT2.js +17 -0
  17. package/dist/chunk-5FWR5HLG.js +90 -0
  18. package/dist/chunk-5IC2WZAL.js +22 -0
  19. package/dist/{chunk-MVB3DAEY.js → chunk-5IZRKWTZ.js} +2 -2
  20. package/dist/{chunk-Q65CQ4XL.js → chunk-5LL4KEHO.js} +2 -2
  21. package/dist/chunk-5T44HG5Y.js +88 -0
  22. package/dist/{chunk-TRRC4ZJ7.js → chunk-5ZI2PPI7.js} +2 -2
  23. package/dist/{chunk-7XAN6GKB.js → chunk-67VJAYVR.js} +2 -2
  24. package/dist/{chunk-MOVBWNIP.js → chunk-6BF3VYEF.js} +2 -2
  25. package/dist/chunk-6JMAVFL4.js +3 -0
  26. package/dist/chunk-6O3KXIDL.js +2 -0
  27. package/dist/{chunk-JOIRNPPY.js → chunk-6VREELBC.js} +2 -2
  28. package/dist/chunk-6WAPPQ5F.js +82 -0
  29. package/dist/{chunk-FW53T7EB.js → chunk-75KJGYX7.js} +2 -2
  30. package/dist/chunk-7GAK2F3H.js +77 -0
  31. package/dist/{chunk-UBGWN7I4.js → chunk-7JELP5YE.js} +2 -2
  32. package/dist/chunk-7UCDGXRW.js +8 -0
  33. package/dist/{chunk-L57ZKWVG.js → chunk-AEXQYQD7.js} +2 -2
  34. package/dist/chunk-AQI4N64O.js +22 -0
  35. package/dist/{chunk-ICFDQHAM.js → chunk-AURCQHSG.js} +2 -2
  36. package/dist/{chunk-I2T2LLK2.js → chunk-BBP7HVBJ.js} +2 -2
  37. package/dist/{chunk-OFBE4NGP.js → chunk-BFBIMTCJ.js} +2 -2
  38. package/dist/{chunk-JEJLSICM.js → chunk-BGGB5N53.js} +2 -2
  39. package/dist/{chunk-TIIC3ZE7.js → chunk-BRQL7AFJ.js} +2 -2
  40. package/dist/{chunk-YSNONTJ2.js → chunk-BWL3PMPT.js} +2 -2
  41. package/dist/chunk-C6WKPKCF.js +127 -0
  42. package/dist/{chunk-YESXMKX3.js → chunk-C7OUW52M.js} +2 -2
  43. package/dist/chunk-C7QWUBR2.js +545 -0
  44. package/dist/{chunk-4WKDMDEW.js → chunk-CCIYWXX6.js} +2 -2
  45. package/dist/{chunk-FAJQ7LWY.js → chunk-CIYA2KZN.js} +2 -2
  46. package/dist/{chunk-VEXUL62T.js → chunk-CR3OG6SQ.js} +2 -2
  47. package/dist/{chunk-JSOYNVWH.js → chunk-CVHOQONG.js} +2 -2
  48. package/dist/{chunk-LU3BMVH2.js → chunk-CW6AXOLR.js} +2 -2
  49. package/dist/{chunk-TXXOEMZJ.js → chunk-D53LWANR.js} +2 -2
  50. package/dist/{chunk-DO6WQD2T.js → chunk-D62CTZX6.js} +2 -2
  51. package/dist/{chunk-N3IQCBCF.js → chunk-D7AZAOZX.js} +2 -2
  52. package/dist/{chunk-RDBI2RXU.js → chunk-D7DOB27N.js} +7 -7
  53. package/dist/chunk-DAKIGMIK.js +21 -0
  54. package/dist/chunk-DDN2F6GB.js +2 -0
  55. package/dist/chunk-DUKHVPU5.js +4 -0
  56. package/dist/chunk-DVWO7RBC.js +2 -0
  57. package/dist/{chunk-HKQUXIFO.js → chunk-E52K4L2W.js} +2 -2
  58. package/dist/chunk-EIBGSU2R.js +2 -0
  59. package/dist/chunk-EN4AHLL3.js +3 -0
  60. package/dist/chunk-EQNMD62X.js +51 -0
  61. package/dist/{chunk-ENCCHKM6.js → chunk-EXZ7VLRY.js} +4 -4
  62. package/dist/{chunk-NEDP5RFQ.js → chunk-F3QSL4W2.js} +2 -2
  63. package/dist/{chunk-O6QTXQPJ.js → chunk-F74LZWCE.js} +2 -2
  64. package/dist/{chunk-BH5F2Q4O.js → chunk-FEIZXBLH.js} +2 -2
  65. package/dist/chunk-FH5WG4LE.js +2 -0
  66. package/dist/{chunk-BVAJLC5A.js → chunk-FOZ74V56.js} +2 -2
  67. package/dist/{chunk-L4NRUAGJ.js → chunk-FQTIFWLR.js} +2 -2
  68. package/dist/chunk-FTTV7IRX.js +355 -0
  69. package/dist/chunk-FWQGH2N2.js +2 -0
  70. package/dist/{chunk-CAUCPUOF.js → chunk-GDHWOA57.js} +2 -2
  71. package/dist/{chunk-6MUIJMVL.js → chunk-GIDCP7KV.js} +2 -2
  72. package/dist/{chunk-ZV3JV5G5.js → chunk-GL6UTNUB.js} +2 -2
  73. package/dist/chunk-GP7C5VAE.js +2 -0
  74. package/dist/{chunk-FQKZWM4L.js → chunk-GQLDYCWS.js} +5 -5
  75. package/dist/chunk-GQXXOS55.js +2 -0
  76. package/dist/{chunk-H3LGFZVK.js → chunk-GUFPEFBG.js} +2 -2
  77. package/dist/{chunk-NNOKTMZT.js → chunk-GV2CEZCW.js} +2 -2
  78. package/dist/{chunk-FETNQCFO.js → chunk-GVAF222T.js} +2 -2
  79. package/dist/chunk-GWYZVVKY.js +21 -0
  80. package/dist/{chunk-7FND7D7N.js → chunk-HENP2O4A.js} +2 -2
  81. package/dist/{chunk-LZYFLFEH.js → chunk-HINZQKSY.js} +2 -2
  82. package/dist/{chunk-RR7SX44N.js → chunk-HQA7EBSK.js} +2 -2
  83. package/dist/{chunk-XMQ23E27.js → chunk-HVFB3PME.js} +2 -2
  84. package/dist/chunk-I22IZYDI.js +2 -0
  85. package/dist/chunk-ICUL7XRT.js +21 -0
  86. package/dist/{chunk-CQP3THUZ.js → chunk-IHSLIIL3.js} +2 -2
  87. package/dist/{chunk-34WBMAYK.js → chunk-ITSJMNUD.js} +2 -2
  88. package/dist/{chunk-PX4RYAAK.js → chunk-IZDPGOZR.js} +2 -2
  89. package/dist/chunk-J3GLP7Q5.js +3 -0
  90. package/dist/{chunk-CVYSU6BX.js → chunk-J7AMBVWF.js} +2 -2
  91. package/dist/{chunk-Y6KHROC3.js → chunk-JCMFBF4Z.js} +2 -2
  92. package/dist/chunk-JFIA2JI3.js +3 -0
  93. package/dist/chunk-JLZLLLW5.js +3 -0
  94. package/dist/{chunk-5PUWMSDU.js → chunk-JSNTHRLQ.js} +2 -2
  95. package/dist/{chunk-C6SBF2WH.js → chunk-JX6ZWDOS.js} +2 -2
  96. package/dist/{chunk-4XTAUQFD.js → chunk-JYI7CV25.js} +2 -2
  97. package/dist/chunk-K7JLSGCJ.js +8 -0
  98. package/dist/{chunk-XWUOUWYI.js → chunk-KPZGTB2O.js} +2 -2
  99. package/dist/{chunk-VXYS3FZD.js → chunk-LKUTSP4G.js} +2 -2
  100. package/dist/{chunk-GTXSJDCO.js → chunk-LMTSB3TB.js} +2 -2
  101. package/dist/chunk-LONKINMJ.js +543 -0
  102. package/dist/{chunk-WMPRTGH2.js → chunk-LQHYYIOB.js} +2 -2
  103. package/dist/{chunk-VUIYB2V3.js → chunk-LZSQ6X7E.js} +2 -2
  104. package/dist/{chunk-ST7V3SKN.js → chunk-M2Y6PCFE.js} +2 -2
  105. package/dist/chunk-MEUHIDI3.js +7 -0
  106. package/dist/{chunk-OZYRSMSH.js → chunk-MHWMEZDA.js} +2 -2
  107. package/dist/{chunk-RKEJ6VTF.js → chunk-MQW6SJ4P.js} +2 -2
  108. package/dist/{chunk-J77SU6VA.js → chunk-MSI3K7PJ.js} +2 -2
  109. package/dist/chunk-MVRGB4KJ.js +278 -0
  110. package/dist/{chunk-DQMDCD24.js → chunk-MZNMASFM.js} +2 -2
  111. package/dist/{chunk-ID63777H.js → chunk-NBCQZSGR.js} +2 -2
  112. package/dist/chunk-NBZKSTXP.js +2 -0
  113. package/dist/{chunk-SZD2KF7Q.js → chunk-NCJILOAK.js} +2 -2
  114. package/dist/{chunk-C7QOQX32.js → chunk-NDKOVQFG.js} +2 -2
  115. package/dist/{chunk-UNBY47BC.js → chunk-NEWHKGVD.js} +2 -2
  116. package/dist/{chunk-PYAB5SM6.js → chunk-O2M3VNDY.js} +2 -2
  117. package/dist/chunk-OFGOOL6U.js +3 -0
  118. package/dist/{chunk-SWHMHUKF.js → chunk-OQUCBKOI.js} +2 -2
  119. package/dist/{chunk-7MGU3HPH.js → chunk-P4NVCOM7.js} +2 -2
  120. package/dist/{chunk-ANFVSJWQ.js → chunk-PFC44E6D.js} +2 -2
  121. package/dist/{chunk-EZNMUY67.js → chunk-PHNCEUXX.js} +2 -2
  122. package/dist/{chunk-4FC325IF.js → chunk-PTQPPPG2.js} +2 -2
  123. package/dist/chunk-PUVNH4PO.js +3 -0
  124. package/dist/chunk-Q23IMHXS.js +343 -0
  125. package/dist/chunk-Q3ZCQY2Y.js +3 -0
  126. package/dist/{chunk-KMITESMT.js → chunk-Q4XEU3UH.js} +2 -2
  127. package/dist/{chunk-QKPLA6IC.js → chunk-QEOWONKY.js} +2 -2
  128. package/dist/{chunk-BJ6SQAEN.js → chunk-QMOZZ2VX.js} +2 -2
  129. package/dist/chunk-RCIGX23V.js +60 -0
  130. package/dist/{chunk-IOP6FWIM.js → chunk-RIYJ4L33.js} +2 -2
  131. package/dist/chunk-RJVAPMHF.js +14 -0
  132. package/dist/chunk-SB7NASHU.js +2 -0
  133. package/dist/{chunk-UZGZB3VB.js → chunk-SGMNWYTH.js} +2 -2
  134. package/dist/chunk-SMDIEDM4.js +27 -0
  135. package/dist/chunk-SV2LEFVM.js +2 -0
  136. package/dist/chunk-SX72EVMY.js +3 -0
  137. package/dist/chunk-T5X7DK6C.js +3 -0
  138. package/dist/{chunk-6NW7MU72.js → chunk-T6MQNNAC.js} +2 -2
  139. package/dist/chunk-T75DS2E6.js +21 -0
  140. package/dist/{chunk-HRWGYWRJ.js → chunk-TEANKHUU.js} +2 -2
  141. package/dist/chunk-TJBOJUVN.js +3 -0
  142. package/dist/{chunk-XLQ3GLWZ.js → chunk-TJWVT4DO.js} +2 -2
  143. package/dist/{chunk-7NVGT435.js → chunk-TNJGTQWO.js} +2 -2
  144. package/dist/{chunk-NE6IU5ZD.js → chunk-TOTWJZIX.js} +2 -2
  145. package/dist/{chunk-PBI2LFKH.js → chunk-TPO7XC5Z.js} +2 -2
  146. package/dist/{chunk-HPJRBHVT.js → chunk-U33PMPNW.js} +2 -2
  147. package/dist/{chunk-QHRNXP3C.js → chunk-U7NUXDQO.js} +2 -2
  148. package/dist/chunk-UC2FD2PS.js +4 -0
  149. package/dist/{chunk-PIOMTC27.js → chunk-UQE4XFSA.js} +2 -2
  150. package/dist/chunk-UQYQBLJX.js +5 -0
  151. package/dist/{chunk-KWVHSKHK.js → chunk-USOAJHY7.js} +2 -2
  152. package/dist/{chunk-GCHRX4YW.js → chunk-UW6KD57C.js} +2 -2
  153. package/dist/{chunk-PTAWHLVJ.js → chunk-VGWZ4MOY.js} +2 -2
  154. package/dist/{chunk-XME3HPXZ.js → chunk-VWYGCMV5.js} +2 -2
  155. package/dist/{chunk-AKB7V7TV.js → chunk-W7YLRXZE.js} +2 -2
  156. package/dist/{chunk-SYDJMPES.js → chunk-WK2IQJPK.js} +2 -2
  157. package/dist/{chunk-RBAS5ZHI.js → chunk-WWCV4E6J.js} +2 -2
  158. package/dist/{chunk-OL6KJP3N.js → chunk-XMJ53WG4.js} +2 -2
  159. package/dist/chunk-XN3EKMLI.js +4 -0
  160. package/dist/chunk-XQAVQVIL.js +3 -0
  161. package/dist/{chunk-IJ4HMYBE.js → chunk-XQPPURLQ.js} +2 -2
  162. package/dist/{chunk-OVTS4DKB.js → chunk-YHPG3S2U.js} +2 -2
  163. package/dist/{chunk-WOQBZPIF.js → chunk-YRKP7PM7.js} +2 -2
  164. package/dist/chunk-YT4DVWUV.js +11 -0
  165. package/dist/chunk-YTJHCGYB.js +61 -0
  166. package/dist/chunk-Z35GOVEH.js +2 -0
  167. package/dist/{chunk-OLF4MA5W.js → chunk-Z6RL7XOE.js} +4 -4
  168. package/dist/{chunk-UP3BUZR5.js → chunk-ZAFGY22Q.js} +2 -2
  169. package/dist/{chunk-CO5R3UNA.js → chunk-ZB4C5TTR.js} +2 -2
  170. package/dist/{chunk-ZZXSWSN6.js → chunk-ZNH33XIB.js} +2 -2
  171. package/dist/{chunk-EMNIHCRB.js → chunk-ZQ62NNKN.js} +2 -2
  172. package/dist/cli-context-FJL2JHOE.js +3 -0
  173. package/dist/cli-context-PQNWHMCQ.js +2 -0
  174. package/dist/cli-program-UO7PZD6V.js +7 -0
  175. package/dist/cli.js +1 -1
  176. package/dist/{code-DlqpBDd0.d.ts → code-DfX3xeWy.d.ts} +1 -1
  177. package/dist/code-viewer-KIXEYQNJ.js +12 -0
  178. package/dist/code-viewer-VHLBLIUM.js +11 -0
  179. package/dist/command-descriptors-F5P2V3NW.js +335 -0
  180. package/dist/command-descriptors-YCLATF5I.js +337 -0
  181. package/dist/{config-types-BNoC96J3.d.ts → config-types-D6X5S68_.d.ts} +50 -0
  182. package/dist/{db-D7sauVFH.d.ts → db-BoG_PWYH.d.ts} +2 -2
  183. package/dist/direct-navigation-4XJTXIDT.js +2 -0
  184. package/dist/direct-navigation-J5MVYYAD.js +3 -0
  185. package/dist/{graph-evidence-BIFqyisO.d.ts → graph-evidence-D1jx1Cql.d.ts} +1 -1
  186. package/dist/{health-DJaZXg8I.d.ts → health-DkYBS5BI.d.ts} +1 -1
  187. package/dist/index.d.ts +2 -2
  188. package/dist/index.js +1 -1
  189. package/dist/invocation-command-descriptors-RWV4VAI4.js +2 -0
  190. package/dist/invocation-command-descriptors-U76PN7IY.js +3 -0
  191. package/dist/{scip-cli-B7N3haxa.d.ts → maintenance-types-CdL5eQii.d.ts} +2 -21
  192. package/dist/output-continuation-command-BL25S26S.js +3 -0
  193. package/dist/output-continuation-command-BTETTXEC.js +2 -0
  194. package/dist/postinstall.js +1 -1
  195. package/dist/project-reindex-CRJU3IFG.js +2 -0
  196. package/dist/project-reindex-TQFCOA2O.js +3 -0
  197. package/dist/queries/affected.d.ts +2 -2
  198. package/dist/queries/affected.js +1 -1
  199. package/dist/queries/anchors.d.ts +2 -2
  200. package/dist/queries/anchors.js +1 -1
  201. package/dist/queries/architecture.d.ts +2 -2
  202. package/dist/queries/architecture.js +1 -1
  203. package/dist/queries/bottlenecks.d.ts +2 -2
  204. package/dist/queries/bottlenecks.js +1 -1
  205. package/dist/queries/by-kind.d.ts +2 -2
  206. package/dist/queries/by-kind.js +1 -1
  207. package/dist/queries/call-graph.d.ts +2 -2
  208. package/dist/queries/call-graph.js +1 -1
  209. package/dist/queries/change-surface.d.ts +2 -2
  210. package/dist/queries/change-surface.js +1 -1
  211. package/dist/queries/cleanup-plan.d.ts +2 -2
  212. package/dist/queries/cleanup-plan.js +1 -1
  213. package/dist/queries/co-change.d.ts +2 -2
  214. package/dist/queries/co-change.js +1 -1
  215. package/dist/queries/code.d.ts +3 -3
  216. package/dist/queries/code.js +1 -1
  217. package/dist/queries/complexity-hotspots.d.ts +2 -2
  218. package/dist/queries/complexity-hotspots.js +1 -1
  219. package/dist/queries/complexity.d.ts +2 -2
  220. package/dist/queries/complexity.js +1 -1
  221. package/dist/queries/context.d.ts +2 -2
  222. package/dist/queries/context.js +1 -1
  223. package/dist/queries/convergence.d.ts +2 -2
  224. package/dist/queries/convergence.js +1 -1
  225. package/dist/queries/coupling.d.ts +2 -2
  226. package/dist/queries/coupling.js +1 -1
  227. package/dist/queries/cycles.d.ts +2 -2
  228. package/dist/queries/cycles.js +1 -1
  229. package/dist/queries/dataflow.d.ts +2 -2
  230. package/dist/queries/dataflow.js +1 -1
  231. package/dist/queries/dead.d.ts +2 -2
  232. package/dist/queries/dead.js +1 -1
  233. package/dist/queries/decorative-checkers.d.ts +2 -2
  234. package/dist/queries/decorative-checkers.js +1 -1
  235. package/dist/queries/deep-chains.d.ts +2 -2
  236. package/dist/queries/deep-chains.js +1 -1
  237. package/dist/queries/dependence-slice.d.ts +3 -3
  238. package/dist/queries/dependence-slice.js +1 -1
  239. package/dist/queries/dependency-depth.d.ts +2 -2
  240. package/dist/queries/dependency-depth.js +1 -1
  241. package/dist/queries/deps.d.ts +2 -2
  242. package/dist/queries/deps.js +1 -1
  243. package/dist/queries/diff-impact.d.ts +2 -2
  244. package/dist/queries/diff-impact.js +1 -1
  245. package/dist/queries/doc-drift.d.ts +2 -2
  246. package/dist/queries/doc-drift.js +1 -1
  247. package/dist/queries/drift.d.ts +2 -2
  248. package/dist/queries/drift.js +1 -1
  249. package/dist/queries/duplicate-bodies.d.ts +2 -2
  250. package/dist/queries/duplicate-bodies.js +1 -1
  251. package/dist/queries/entry-map.d.ts +2 -2
  252. package/dist/queries/entry-map.js +1 -1
  253. package/dist/queries/evidence.d.ts +3 -3
  254. package/dist/queries/evidence.js +1 -1
  255. package/dist/queries/extract-candidates.d.ts +2 -2
  256. package/dist/queries/extract-candidates.js +1 -1
  257. package/dist/queries/fan.d.ts +2 -2
  258. package/dist/queries/fan.js +1 -1
  259. package/dist/queries/files.d.ts +2 -2
  260. package/dist/queries/files.js +1 -1
  261. package/dist/queries/health.d.ts +3 -3
  262. package/dist/queries/health.js +1 -1
  263. package/dist/queries/hierarchy.d.ts +2 -2
  264. package/dist/queries/hierarchy.js +1 -1
  265. package/dist/queries/hotspots.d.ts +2 -2
  266. package/dist/queries/hotspots.js +1 -1
  267. package/dist/queries/imports.d.ts +2 -2
  268. package/dist/queries/imports.js +1 -1
  269. package/dist/queries/incomplete-migration.d.ts +2 -2
  270. package/dist/queries/incomplete-migration.js +1 -1
  271. package/dist/queries/index.d.ts +5 -5
  272. package/dist/queries/index.js +1 -1
  273. package/dist/queries/isolated.d.ts +2 -2
  274. package/dist/queries/isolated.js +1 -1
  275. package/dist/queries/locality-candidates.d.ts +2 -2
  276. package/dist/queries/locality-candidates.js +1 -1
  277. package/dist/queries/members.d.ts +2 -2
  278. package/dist/queries/members.js +1 -1
  279. package/dist/queries/methods.d.ts +2 -2
  280. package/dist/queries/methods.js +1 -1
  281. package/dist/queries/not-implemented.d.ts +2 -2
  282. package/dist/queries/not-implemented.js +1 -1
  283. package/dist/queries/outline.d.ts +2 -2
  284. package/dist/queries/outline.js +1 -1
  285. package/dist/queries/passthrough-candidates.d.ts +2 -2
  286. package/dist/queries/passthrough-candidates.js +1 -1
  287. package/dist/queries/plan-context.d.ts +2 -2
  288. package/dist/queries/plan-context.js +1 -1
  289. package/dist/queries/react-component-duplicates.d.ts +2 -2
  290. package/dist/queries/react-component-duplicates.js +1 -1
  291. package/dist/queries/react-hook-candidates.d.ts +2 -2
  292. package/dist/queries/react-hook-candidates.js +1 -1
  293. package/dist/queries/react-large-component-pressure.d.ts +2 -2
  294. package/dist/queries/react-large-component-pressure.js +1 -1
  295. package/dist/queries/recent-duplicates.d.ts +2 -2
  296. package/dist/queries/recent-duplicates.js +1 -1
  297. package/dist/queries/redundant-reexports.d.ts +2 -2
  298. package/dist/queries/redundant-reexports.js +1 -1
  299. package/dist/queries/reference-neighborhood.d.ts +2 -2
  300. package/dist/queries/reference-neighborhood.js +1 -1
  301. package/dist/queries/reference-reachability.d.ts +2 -2
  302. package/dist/queries/reference-reachability.js +1 -1
  303. package/dist/queries/refs.d.ts +2 -2
  304. package/dist/queries/refs.js +1 -1
  305. package/dist/queries/self-audit.d.ts +2 -2
  306. package/dist/queries/self-audit.js +1 -1
  307. package/dist/queries/similar-chains.d.ts +2 -2
  308. package/dist/queries/similar-chains.js +1 -1
  309. package/dist/queries/similar-files.d.ts +2 -2
  310. package/dist/queries/similar-files.js +1 -1
  311. package/dist/queries/similar-signatures.d.ts +2 -2
  312. package/dist/queries/similar-signatures.js +1 -1
  313. package/dist/queries/similar.d.ts +2 -2
  314. package/dist/queries/similar.js +1 -1
  315. package/dist/queries/slice.d.ts +2 -2
  316. package/dist/queries/slice.js +1 -1
  317. package/dist/queries/source-inspection.d.ts +4 -4
  318. package/dist/queries/source-inspection.js +1 -1
  319. package/dist/queries/source-search.d.ts +2 -2
  320. package/dist/queries/source-search.js +1 -1
  321. package/dist/queries/stale-abstractions.d.ts +2 -2
  322. package/dist/queries/stale-abstractions.js +1 -1
  323. package/dist/queries/stats.d.ts +2 -2
  324. package/dist/queries/surface.d.ts +2 -2
  325. package/dist/queries/surface.js +1 -1
  326. package/dist/queries/symbols.d.ts +2 -2
  327. package/dist/queries/symbols.js +1 -1
  328. package/dist/queries/system-map.d.ts +2 -2
  329. package/dist/queries/system-map.js +1 -1
  330. package/dist/queries/system.d.ts +2 -2
  331. package/dist/queries/system.js +1 -1
  332. package/dist/queries/test-quality.d.ts +2 -2
  333. package/dist/queries/test-quality.js +1 -1
  334. package/dist/queries/trace.d.ts +2 -2
  335. package/dist/queries/trace.js +1 -1
  336. package/dist/queries/twin-ab.d.ts +2 -2
  337. package/dist/queries/twin-ab.js +1 -1
  338. package/dist/queries/twin-drift.d.ts +2 -2
  339. package/dist/queries/twin-drift.js +1 -1
  340. package/dist/queries/unused-imports.d.ts +2 -2
  341. package/dist/queries/unused-imports.js +1 -1
  342. package/dist/queries/unused-params.d.ts +2 -2
  343. package/dist/queries/unused-params.js +1 -1
  344. package/dist/queries/value-flow.d.ts +3 -3
  345. package/dist/queries/value-flow.js +1 -1
  346. package/dist/queries/vue-component-duplicates.d.ts +2 -2
  347. package/dist/queries/vue-component-duplicates.js +1 -1
  348. package/dist/queries/vue-composable-candidates.d.ts +2 -2
  349. package/dist/queries/vue-composable-candidates.js +1 -1
  350. package/dist/queries/vue-large-view-pressure.d.ts +2 -2
  351. package/dist/queries/vue-large-view-pressure.js +1 -1
  352. package/dist/queries/wrapper-candidates.d.ts +2 -2
  353. package/dist/queries/wrapper-candidates.js +1 -1
  354. package/dist/reindex-worker.js +2 -2
  355. package/dist/reindex.d.ts +3 -5
  356. package/dist/reindex.js +72 -33
  357. package/dist/runtime.d.ts +23 -4
  358. package/dist/runtime.js +3 -3
  359. package/dist/rust-semantic-session-server.js +1 -1
  360. package/dist/rust-semantic-session-worker.js +1 -1
  361. package/dist/rust-semantic-worker.js +1 -1
  362. package/dist/sentinel-ensure-command-OSWGCFFL.js +3 -0
  363. package/dist/sentinel-ensure-command-SPW7XQLB.js +2 -0
  364. package/dist/sentinel-hook.js +39 -0
  365. package/dist/sentinel-worker.js +16 -0
  366. package/dist/typescript-mailbox-worker.js +1 -1
  367. package/dist/watch-server.js +6 -6
  368. package/docs/COMMAND_REFERENCE.md +5 -3
  369. package/docs/INDEX_GENERATIONS.md +2 -2
  370. package/docs/NPM_RELEASE.md +323 -0
  371. package/docs/schemas/npm-release-state.schema.json +4 -13
  372. package/docs/schemas/project-config.schema.json +159 -0
  373. package/package.json +10 -14
  374. package/skills/codebaseiq/SKILL.md +1 -1
  375. package/skills/concrete-plan/SKILL.md +1 -1
  376. package/ui/view/api.js +450 -0
  377. package/ui/view/app.js +394 -0
  378. package/ui/view/builder.js +323 -0
  379. package/ui/view/file-panel.js +170 -0
  380. package/ui/view/focus.js +379 -0
  381. package/ui/view/index.html +54 -0
  382. package/ui/view/map.js +424 -0
  383. package/ui/view/styles.css +1125 -0
  384. package/dist/chunk-2Q2LW5JW.js +0 -14
  385. package/dist/chunk-2X7V4HS4.js +0 -88
  386. package/dist/chunk-3IER7Q6H.js +0 -12
  387. package/dist/chunk-3JSXXYTZ.js +0 -345
  388. package/dist/chunk-476NR5B7.js +0 -2
  389. package/dist/chunk-5VKBFZZU.js +0 -3
  390. package/dist/chunk-6BQ3DSPK.js +0 -2
  391. package/dist/chunk-6CS3UQTN.js +0 -3
  392. package/dist/chunk-6OAHRI2D.js +0 -6
  393. package/dist/chunk-ADTBPVUZ.js +0 -21
  394. package/dist/chunk-BFFZDZQV.js +0 -2
  395. package/dist/chunk-BMYOV5GP.js +0 -77
  396. package/dist/chunk-C74PPYLA.js +0 -3
  397. package/dist/chunk-CWONGW6P.js +0 -3
  398. package/dist/chunk-DDZ7VHWV.js +0 -20
  399. package/dist/chunk-DR2LURYU.js +0 -3
  400. package/dist/chunk-ECQBG7PW.js +0 -564
  401. package/dist/chunk-EF2R3WNQ.js +0 -2
  402. package/dist/chunk-FM5BPL4V.js +0 -60
  403. package/dist/chunk-G6XFR4ZL.js +0 -4
  404. package/dist/chunk-GTIYTDRE.js +0 -562
  405. package/dist/chunk-HOA5YGOH.js +0 -3
  406. package/dist/chunk-KUW32IRO.js +0 -2
  407. package/dist/chunk-LTA3BRZX.js +0 -2
  408. package/dist/chunk-NAUD7LCA.js +0 -2
  409. package/dist/chunk-NCZUNH3E.js +0 -109
  410. package/dist/chunk-NNJ2KZZG.js +0 -4
  411. package/dist/chunk-NNO6A2PO.js +0 -2
  412. package/dist/chunk-OGTFJ3XD.js +0 -2
  413. package/dist/chunk-Q5ELPRKQ.js +0 -2
  414. package/dist/chunk-Q72QSKXC.js +0 -308
  415. package/dist/chunk-QCN62RTF.js +0 -3
  416. package/dist/chunk-QW7EP6WI.js +0 -21
  417. package/dist/chunk-RU65DDUP.js +0 -215
  418. package/dist/chunk-SELM5MER.js +0 -2
  419. package/dist/chunk-SMRBZ6EC.js +0 -2
  420. package/dist/chunk-SNNWPCN7.js +0 -4
  421. package/dist/chunk-TFZB6XTM.js +0 -239
  422. package/dist/chunk-UCD3H3UZ.js +0 -5
  423. package/dist/chunk-UXM43C7T.js +0 -3
  424. package/dist/chunk-VFY6Y2H6.js +0 -61
  425. package/dist/chunk-WE5RZHZ7.js +0 -5
  426. package/dist/chunk-YMGZZEW4.js +0 -2
  427. package/dist/chunk-YVCIMIOC.js +0 -12
  428. package/dist/chunk-Z54RD7VL.js +0 -3
  429. package/dist/chunk-ZKX2FRS6.js +0 -15
  430. package/dist/cli-context-3SNLDYBM.js +0 -3
  431. package/dist/cli-context-T3B7W6GG.js +0 -2
  432. package/dist/cli-program-YNOXO72B.js +0 -7
  433. package/dist/command-descriptors-6AOUKWW7.js +0 -346
  434. package/dist/command-descriptors-ZFKJSRUP.js +0 -344
  435. package/dist/direct-navigation-DP4LVMRX.js +0 -3
  436. package/dist/direct-navigation-FLUS3BT6.js +0 -2
  437. package/dist/invocation-command-descriptors-QT2JMY5J.js +0 -3
  438. package/dist/invocation-command-descriptors-YN4QJEAX.js +0 -2
  439. package/dist/output-continuation-command-2V2SL4TD.js +0 -2
  440. package/dist/output-continuation-command-65J5IP3O.js +0 -3
  441. package/dist/project-reindex-5JOKXAXT.js +0 -2
  442. package/dist/project-reindex-UQBIKO4M.js +0 -3
  443. package/docs/WINDOWS_SIDECAR_RELEASE.md +0 -424
  444. package/docs/schemas/windows-sidecar-provenance.schema.json +0 -137
  445. package/scripts/build-codebaseiq-windows.mjs +0 -197
  446. package/scripts/codebaseiq-windows-provenance.mjs +0 -364
  447. package/scripts/verify-codebaseiq-windows.mjs +0 -29
@@ -0,0 +1,323 @@
1
+ # npm Release
2
+
3
+ `codebaseiq` is published to npm as one package. This runbook covers how a
4
+ release is prepared, published, and recovered, and is the publisher checklist
5
+ for the workstation that runs it.
6
+
7
+ A release is one irreversible registry publication of an exact tarball.
8
+ Unlike a database transaction, it cannot be rolled back. Its essential safety
9
+ property is therefore not atomicity: it is that every registry state the
10
+ process can leave behind identifies the intended bytes, is observed before the
11
+ next irreversible step, and can be reconciled by rerunning one command.
12
+
13
+ ## Authority and guarantees
14
+
15
+ The registry and the immutability of npm versions are the release authority. A
16
+ local checkout, a local state record, and a successful `npm publish` exit code
17
+ are all evidence, never proof. A release is eligible to publish only when all
18
+ of these facts agree:
19
+
20
+ 1. The Git checkout is clean, and `HEAD` is the same object ID before and after
21
+ the preflight and the pack.
22
+ 2. One canonical, credential-free HTTPS npm registry is resolved and retained
23
+ for the complete run.
24
+ 3. Typecheck, the production dependency audit, the complete test suite, and
25
+ lint (which includes formatting, the production build, API compatibility,
26
+ downstream compilation, and skill link checks) all pass.
27
+ 4. The packed tarball's own `package.json` names the reviewed package and
28
+ version.
29
+ 5. The registry either does not have that version (an explicit `E404`) or has
30
+ it with bytes identical to the local tarball.
31
+
32
+ ## Publisher checklist
33
+
34
+ This checklist covers a release run from a workstation. It is the entry point
35
+ for the operator runbook below.
36
+
37
+ A workstation release is the only one available. The repository's release
38
+ workflow is a preflight: it reports the plan, carries no registry credential,
39
+ and cannot publish. Two facts keep it that way. The declaration build needs more
40
+ memory than a standard hosted runner has, for the reason recorded in the
41
+ `//build` note in `package.json`. And the release lock is checkout-local, so it
42
+ could not serialize a runner against a workstation: exactly one host may run
43
+ the coordinator in publish mode at a time.
44
+
45
+ ### Workstation prerequisites
46
+
47
+ None of these are checked by the coordinator, and each one fails late if it is
48
+ missing.
49
+
50
+ - **Repository credentials.** The remote is private, so the clone needs a
51
+ credential helper, a token, or an SSH remote. Nothing in the repository
52
+ provisions this, and the coordinator only ever reads local `HEAD`.
53
+ - **A Git identity**, because the release change must be committed before the
54
+ coordinator will run. A signing configuration inherited from another machine
55
+ needs a usable key: suite cases that commit do not disable signing.
56
+ - **A checkout whose line endings are LF.** `format:check` is the first thing
57
+ `lint` runs, and `lint` is the last preflight command, so a checkout made with
58
+ `core.autocrlf=true` fails after typecheck, the audit, and the complete suite
59
+ have already passed. Put the checkout on the Linux filesystem.
60
+ - **Node.js** at or above the `engines` floor.
61
+ - **Memory above the declaration build's requirement**, recorded with its
62
+ measured thresholds in the `//build` note in `package.json`. Under WSL2 this
63
+ is a `.wslconfig` setting on the Windows host, outside the checkout, and it
64
+ takes effect only after the virtual machine is restarted.
65
+ - **Disk for work that never appears in the checkout**: a temporary tree holding
66
+ the packed tarball and, when the version already exists, the tarball
67
+ downloaded from the registry. `TMPDIR` must be writable; the coordinator
68
+ creates its temporary tree before anything else.
69
+ - **Network reachability** for the npm registry and for the production
70
+ dependency audit.
71
+ - **A registry credential keyed to the registry the coordinator resolves.**
72
+ Authentication is never checked before publication. A token stored under a
73
+ different host key still produces a clean dry run, because an anonymous
74
+ lookup answers `E404` and the package reads as absent; it fails only at
75
+ publication, after the complete preflight.
76
+ - **Development dependencies installed.** Every release entry point runs through
77
+ `vite-node`, which arrives only as a transitive development dependency. An
78
+ install that omits them, including one caused by an exported
79
+ `NODE_ENV=production`, fails before any gate runs.
80
+ - **A terminal, or an exported `CI`.** The reporter is selected on that variable
81
+ alone. Redirecting or piping a run with `CI` unset selects the reporter whose
82
+ main-process cost fails a suite in which every test passed.
83
+ - **Knowledge of which optional toolchains are present.** Cases that skip on a
84
+ bare machine become real work when their toolchain exists: `cargo` on `PATH`
85
+ compiles a Rust kernel, and a Java runtime with the cached model-checker jar
86
+ runs a specification. A developer workstation is where these are present.
87
+
88
+ ### Order of work
89
+
90
+ 1. Establish credentials and Git identity, then clone.
91
+ 2. Confirm the checkout is clean with `git status --porcelain=v1
92
+ --untracked-files=all`. The cleanliness gate runs twice, before preflight and
93
+ again after the pack, so anything a run leaves behind aborts it at the end.
94
+ 3. Install dependencies.
95
+ 4. Follow the operator runbook below.
96
+
97
+ ### First publish
98
+
99
+ Three traps have no representation in the failure table, because each one is
100
+ reachable before the coordinator reports anything:
101
+
102
+ - **Do not move `HEAD` between the dry run and the publication.** The dry run
103
+ writes the durable record before its own branch is taken, and that record
104
+ pins the source revision. Committing a fix the dry run revealed is enough to
105
+ make the publication refuse. The recovery for a first publish is to move the
106
+ recorded file out of the coordinate-stable path, which is ignored by Git, and
107
+ rerun the dry run at the new revision. Do not bump a version to satisfy a
108
+ local bookkeeping file when nothing has reached the registry.
109
+ - **Confirm the name is ownable before burning a preflight.** Registry presence
110
+ is decided per version, and only `E404` counts as absent. A name owned by
111
+ someone else without this version reads as absent, so the coordinator runs
112
+ everything and fails at publication on a permission error it does not
113
+ interpret.
114
+ - **A malformed lock is the one thing a rerun cannot clear.** A lock whose owner
115
+ is a dead process is reclaimed automatically; a corrupt record fails closed and
116
+ reports contention until it is removed by hand.
117
+
118
+ A release that bumps the version must update the version expectations in
119
+ `tests/scripts/runtime-support-contract.test.ts` and the recorded version in
120
+ `package-lock.json` in the same commit. The suite runs as a preflight command,
121
+ so a bump without that edit fails before anything is packed.
122
+
123
+ ## Registry identity gate
124
+
125
+ A packed package identity is the npm package coordinate plus the exact tarball
126
+ SHA-1, SHA-512, and size, observed from one locally created `.tgz`. What
127
+ distinguishes it from a version-existence check is that it identifies the bytes
128
+ intended for installation, not merely the name under which some bytes were
129
+ published.
130
+
131
+ Before any registry mutation, the release flow:
132
+
133
+ 1. packs the package once, with lifecycle scripts disabled, into a private
134
+ temporary directory;
135
+ 2. recomputes the tarball hashes and size instead of trusting npm's JSON
136
+ report; and
137
+ 3. extracts `package/package.json` from the tar archive under a 64 MiB
138
+ decompression ceiling and requires its name and version to equal the
139
+ reviewed `package.json`.
140
+
141
+ For an existing version, the flow reads npm's `dist` identity, downloads the
142
+ published tarball with lifecycle scripts disabled, recomputes its hashes, and
143
+ requires all of the following to agree:
144
+
145
+ - registry metadata and downloaded tarball SHA-1 and SHA-512;
146
+ - local and registry package names and versions; and
147
+ - local and registry tarball SHA-1 and SHA-512.
148
+
149
+ An explicit npm `E404` is the only evidence that authorizes the
150
+ not-yet-published branch. Authentication failures, timeouts, output-limit
151
+ failures, malformed metadata, generic proxy errors, and server failures are
152
+ ambiguous registry states and stop the release. Pack and registry commands
153
+ have finite 120-second and 30-second deadlines respectively, a 4 MiB captured
154
+ output ceiling, and typed timeout/output/exit failure classification.
155
+
156
+ The coordinator publishes an already verified local `.tgz`, not a directory
157
+ that npm could repack differently. If a publish command fails because another
158
+ process won the race, the coordinator rereads and downloads the winning
159
+ registry version. It may continue only when the winner has the same complete
160
+ identity; a different winner requires a new package version.
161
+
162
+ ## Release coordinator
163
+
164
+ The release coordinator is the repository command that owns the whole
165
+ sequence. It differs from a lifecycle hook by packing and validating the
166
+ artifact before any registry mutation, recording local recovery evidence, and
167
+ verifying registry truth after the publication:
168
+
169
+ 1. acquire the token-owned release lock;
170
+ 2. require a clean Git checkout and record the exact `HEAD` object ID;
171
+ 3. resolve one canonical credential-free HTTPS npm registry and retain it for
172
+ the complete run;
173
+ 4. run typecheck, the production dependency audit, the complete test suite, and
174
+ lint;
175
+ 5. pack the package with lifecycle scripts disabled;
176
+ 6. extract the packed `package.json` and require its coordinate;
177
+ 7. require Git `HEAD` and complete tracked/untracked working-tree cleanliness
178
+ to be unchanged;
179
+ 8. durably record the registry and the local tarball identity before reading
180
+ the registry;
181
+ 9. observe and fully verify the registry coordinate, always passing the
182
+ retained registry URL explicitly, before the publish;
183
+ 10. publish and verify the package if absent, then durably record that fact; and
184
+ 11. remove the private pack and release the owned lock.
185
+
186
+ Every Git, npm pack, registry, publish, test, and lint process has a finite
187
+ deadline and captured-output limit. A cleanup or lock-release failure produces
188
+ a nonzero outcome without erasing an earlier build, registry, or publication
189
+ failure from the diagnostic.
190
+
191
+ ### Operator runbook
192
+
193
+ Prepare and commit the complete release change first. The checkout must be
194
+ clean because the recorded source revision is the wider evidence from which
195
+ the packed artifact was tested and produced.
196
+
197
+ 1. Bump the package version.
198
+ 2. Review and commit the version, lockfile, changelog, schemas, release code,
199
+ and tests.
200
+ 3. Run:
201
+
202
+ ```bash
203
+ npm run release:npm:dry-run
204
+ ```
205
+
206
+ This runs the complete local preflight, packs the artifact, writes the
207
+ local recovery record, and reads/downloads any existing registry version.
208
+ It never invokes `npm publish`.
209
+
210
+ 4. Review the reported coordinate, integrity, registry state, and the JSON
211
+ record under `.codebaseiq/releases/`.
212
+ 5. Run:
213
+
214
+ ```bash
215
+ npm run release:npm
216
+ ```
217
+
218
+ 6. Require the final output to say that the exact registry identity is
219
+ verified. A later retry of the same command is safe: it repeats local
220
+ preflight and registry verification, but it does not republish an already
221
+ identical coordinate.
222
+
223
+ Do not run `npm publish` directly. The root `prepublishOnly` guard refuses that
224
+ path because npm's lifecycle cannot run the preflight, record or recover local
225
+ state, or reconcile an ambiguous publish against the registry. An operator can
226
+ deliberately bypass lifecycle scripts with npm's `--ignore-scripts` option;
227
+ that is an administrative capability outside the repository's enforcement
228
+ boundary, not an alternate supported release path. The coordinator itself uses
229
+ `--ignore-scripts` only when publishing the tarball it has already packed,
230
+ hashed, inspected, and recorded.
231
+
232
+ ### Durable local release state
233
+
234
+ A local release-state record is a schema-versioned JSON recovery fact stored
235
+ outside the npm tarball under `.codebaseiq/releases/`. It is distinguished
236
+ from registry authority by recording what this checkout intended and what an
237
+ earlier run verified, while never permitting a later run to skip fresh
238
+ registry observation.
239
+
240
+ Schema version 2 records:
241
+
242
+ - a content-derived `releaseId`;
243
+ - the clean Git revision used for preflight and packing;
244
+ - the canonical HTTPS npm registry on which the coordinate is interpreted;
245
+ - the package's name, version, byte size, SHA-1, and SHA-512 integrity;
246
+ - `createdAt` and nondecreasing `updatedAt` timestamps;
247
+ - the writer identity; and
248
+ - a canonical set of completed facts: `local-preflight-complete` and
249
+ `main-registry-verified`.
250
+
251
+ The registry fact is an independent observation, not a fictional transaction
252
+ log. For example, an old or manually created state may lack
253
+ `main-registry-verified` while the registry already has the exact package. The
254
+ next coordinator run still verifies the coordinate and records the fact without
255
+ publishing.
256
+
257
+ The path is stable for one package coordinate. Repacking different bytes,
258
+ using a different source revision, or selecting a different registry under
259
+ that same version therefore collides with the existing record and stops before
260
+ registry work. The record is atomically replaced while the release lock is
261
+ owned. The coordinator reports `directory-durable` when the host synchronizes
262
+ the containing directory and `file-flushed; directory sync unsupported` when
263
+ Windows exposes only the bounded file guarantee; a real synchronization failure
264
+ aborts the run. It is intentionally ignored by Git and omitted from the npm
265
+ package: it is local recovery state, not portable release authority. Fresh
266
+ registry observation, immutable npm versions, and exact package identity remain
267
+ the external safety authority regardless of the local result. The normative
268
+ shape is `docs/schemas/npm-release-state.schema.json`.
269
+
270
+ Current-schema additive fields are tolerated. Malformed JSON, a wrong
271
+ discriminator, an invalid identity, a noncanonical stage list, or an
272
+ unsupported schema fails closed. Do not hand-edit a damaged record. Preserve it
273
+ for diagnosis, move it out of the coordinate-stable path, and rerun from the
274
+ exact recorded source revision; the new run will recompute local bytes and
275
+ reverify the registry coordinate before acquiring publication authority.
276
+
277
+ ## Failure and recovery
278
+
279
+ | Observed state or failure | Safe outcome and recovery |
280
+ | ------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
281
+ | Dirty checkout before preflight | Stop before tests and registry reads; commit, remove, or intentionally ignore/restore every tracked or untracked path |
282
+ | Missing, insecure, credential-bearing, or malformed registry URL | Stop before tests and registry reads; configure one canonical credential-free HTTPS npm registry |
283
+ | Git revision or any tracked/untracked path changes during preflight | Stop before the state record and registry reads; remove the concurrent editor and rerun from one completely clean revision |
284
+ | Test, lint, build, API, or pack fails | No registry mutation has occurred; fix the local failure and rerun |
285
+ | Packed `package.json` names a different coordinate | Stop before the state record and registry reads; fix the package metadata and rerun |
286
+ | Initial state publication fails | No registry read or mutation has occurred; repair local filesystem durability/permissions and rerun |
287
+ | State contains only `local-preflight-complete` | Registry is freshly reconciled; an absent package is published |
288
+ | Package is exact, state is stale or absent | Record the observed fact and finish without publication |
289
+ | Publish succeeds but its state write fails | Retry observes the exact registry identity and records completion |
290
+ | Publish reports failure but an identical winner is visible | Accept the registry fact after downloading and hashing it; continue |
291
+ | Publish and its immediate registry reconciliation both fail | Report both causal failures; rerun the coordinator to establish registry truth before another publication decision |
292
+ | Publish returns success but identity is not yet visible | Stop after bounded visibility retries; rerun the coordinator rather than publishing blindly |
293
+ | Registry query times out, is unauthorized, or is malformed | Stop; ambiguity is not converted to absence |
294
+ | Published tarball disagrees with `dist` metadata | Stop; treat the download or registry metadata as corrupt |
295
+ | Existing coordinate has different bytes | Stop; npm versions are immutable, so bump the package version |
296
+ | State records different source or bytes under the same version | Stop before registry reads; resume the recorded revision, or bump the package version |
297
+ | Configured registry differs from the recorded release registry | Stop before registry reads; restore the intended registry or begin a new package version for the other registry |
298
+ | Malformed or unsupported local state | Preserve and move the artifact for diagnosis; rerun from the recorded revision so local and registry facts are rebuilt |
299
+ | Release lock is held by a live owner | Wait; a dead attributable owner is reclaimed conservatively, while unverifiable ownership fails closed |
300
+ | Cleanup and an earlier operation both fail | Both failures are reported; inspect registry/state first, then rerun to reconcile |
301
+ | Lock ownership changes before release | Command exits nonzero; do not infer failure or success from the local message—rerun and require exact registry identity |
302
+
303
+ ## Compatibility
304
+
305
+ The local release-state schema is versioned independently of the package.
306
+ Version 2 is the single-package record. Additive current fields are
307
+ compatible; removing or reinterpreting a required identity, source, stage, or
308
+ timestamp field requires a new schema and an explicit recovery policy.
309
+
310
+ Version 1 recorded two packages and is not read: a version 1 record is
311
+ rejected as an unsupported schema rather than migrated. It would also never be
312
+ found, because the record path is now derived from the single package
313
+ coordinate. Records are local, ignored by Git, and describe only an earlier
314
+ run's intent, so leaving one in place is harmless; the registry remains the
315
+ authority.
316
+
317
+ ## Retired Windows sidecar
318
+
319
+ Earlier releases published a second package, `codebaseiq-windows`, ahead of the
320
+ main package. It existed only to carry the `scip` index converter's Windows
321
+ executables, which codebaseiq no longer invokes. Releases now neither build,
322
+ pin, nor publish it. Versions already on the registry are untouched, and
323
+ nothing here unpublishes them.
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "https://github.com/PlunderStruck/codebaseiq/blob/main/docs/schemas/npm-release-state.schema.json",
4
4
  "title": "codebaseiq npm release state",
5
- "description": "Durable local progress for one exact main-package and Windows-sidecar npm release.",
5
+ "description": "Durable local progress for one exact codebaseiq npm release.",
6
6
  "type": "object",
7
7
  "required": [
8
8
  "kind",
@@ -20,7 +20,7 @@
20
20
  "const": "codebaseiq-npm-release-state"
21
21
  },
22
22
  "schemaVersion": {
23
- "const": 1
23
+ "const": 2
24
24
  },
25
25
  "releaseId": {
26
26
  "type": "string",
@@ -56,13 +56,10 @@
56
56
  },
57
57
  "packages": {
58
58
  "type": "object",
59
- "required": ["main", "sidecar"],
59
+ "required": ["main"],
60
60
  "properties": {
61
61
  "main": {
62
62
  "$ref": "#/$defs/packageIdentity"
63
- },
64
- "sidecar": {
65
- "$ref": "#/$defs/packageIdentity"
66
63
  }
67
64
  },
68
65
  "additionalProperties": true
@@ -72,20 +69,14 @@
72
69
  "minItems": 1,
73
70
  "uniqueItems": true,
74
71
  "items": {
75
- "enum": ["local-preflight-complete", "sidecar-registry-verified", "main-registry-verified"]
72
+ "enum": ["local-preflight-complete", "main-registry-verified"]
76
73
  },
77
74
  "oneOf": [
78
75
  {
79
76
  "const": ["local-preflight-complete"]
80
77
  },
81
- {
82
- "const": ["local-preflight-complete", "sidecar-registry-verified"]
83
- },
84
78
  {
85
79
  "const": ["local-preflight-complete", "main-registry-verified"]
86
- },
87
- {
88
- "const": ["local-preflight-complete", "sidecar-registry-verified", "main-registry-verified"]
89
80
  }
90
81
  ]
91
82
  },
@@ -39,6 +39,8 @@
39
39
  },
40
40
  "description": "Resident query execution settings."
41
41
  },
42
+ "builder": { "$ref": "#/$defs/builder" },
43
+ "sentinel": { "$ref": "#/$defs/sentinel" },
42
44
  "indexer": {
43
45
  "type": "object",
44
46
  "propertyNames": { "$ref": "#/$defs/supportedLanguage" },
@@ -313,6 +315,163 @@
313
315
  "properties": {
314
316
  "snapshotPaths": { "$ref": "#/$defs/stringArray" }
315
317
  }
318
+ },
319
+ "builderEmbeddingsEndpoint": {
320
+ "type": "object",
321
+ "required": ["name", "baseUrl", "model"],
322
+ "additionalProperties": true,
323
+ "properties": {
324
+ "name": {
325
+ "type": "string",
326
+ "pattern": "^[A-Za-z0-9_.-]{1,64}$"
327
+ },
328
+ "baseUrl": {
329
+ "type": "string",
330
+ "pattern": "^https?://"
331
+ },
332
+ "model": {
333
+ "type": "string",
334
+ "minLength": 1
335
+ },
336
+ "queryPrefix": {
337
+ "type": "string"
338
+ },
339
+ "documentPrefix": {
340
+ "type": "string"
341
+ },
342
+ "healthTimeoutMs": {
343
+ "type": "integer",
344
+ "exclusiveMinimum": 0
345
+ },
346
+ "warmTimeoutMs": {
347
+ "type": "integer",
348
+ "exclusiveMinimum": 0
349
+ },
350
+ "requestTimeoutMs": {
351
+ "type": "integer",
352
+ "exclusiveMinimum": 0
353
+ },
354
+ "batchSize": {
355
+ "type": "integer",
356
+ "exclusiveMinimum": 0
357
+ },
358
+ "dimensions": {
359
+ "type": "integer",
360
+ "exclusiveMinimum": 0
361
+ },
362
+ "apiKeyEnv": {
363
+ "type": "string",
364
+ "minLength": 1,
365
+ "description": "Name of the environment variable holding a bearer token. Ignored in the committed config; set it in .codebaseiq.local.json."
366
+ },
367
+ "allowRemote": {
368
+ "type": "boolean",
369
+ "description": "Permit a host outside loopback and private networks. Ignored in the committed config; set it in .codebaseiq.local.json."
370
+ }
371
+ }
372
+ },
373
+ "builderAgentCommand": {
374
+ "type": "object",
375
+ "required": ["name", "argv"],
376
+ "additionalProperties": true,
377
+ "properties": {
378
+ "name": {
379
+ "type": "string",
380
+ "pattern": "^[A-Za-z0-9_.-]{1,64}$"
381
+ },
382
+ "argv": {
383
+ "type": "array",
384
+ "minItems": 1,
385
+ "items": {
386
+ "type": "string"
387
+ },
388
+ "description": "Command line without a shell. {schemaJson}, {schemaFile}, and {outputFile} may appear only as whole arguments."
389
+ },
390
+ "timeoutMs": {
391
+ "type": "integer",
392
+ "exclusiveMinimum": 0
393
+ },
394
+ "maxOutputBytes": {
395
+ "type": "integer",
396
+ "exclusiveMinimum": 0
397
+ }
398
+ }
399
+ },
400
+ "builder": {
401
+ "type": "object",
402
+ "additionalProperties": true,
403
+ "description": "Symbol builder settings. Per-developer endpoints, credentials, and agent commands belong in .codebaseiq.local.json, whose builder block overrides this one.",
404
+ "properties": {
405
+ "mode": {
406
+ "enum": ["agent", "embeddings", "auto"]
407
+ },
408
+ "chain": {
409
+ "type": "array",
410
+ "items": {
411
+ "type": "string",
412
+ "pattern": "^(embeddings|agent):[A-Za-z0-9_.-]{1,64}$"
413
+ },
414
+ "description": "Ordered provider references such as embeddings:homelab or agent:claude."
415
+ },
416
+ "embeddings": {
417
+ "type": "object",
418
+ "additionalProperties": true,
419
+ "properties": {
420
+ "endpoints": {
421
+ "type": "array",
422
+ "items": {
423
+ "$ref": "#/$defs/builderEmbeddingsEndpoint"
424
+ }
425
+ },
426
+ "indexBudgetMs": {
427
+ "type": "integer",
428
+ "exclusiveMinimum": 0
429
+ },
430
+ "minCoverage": {
431
+ "type": "number",
432
+ "minimum": 0,
433
+ "maximum": 1
434
+ },
435
+ "maxCardChars": {
436
+ "type": "integer",
437
+ "exclusiveMinimum": 0
438
+ },
439
+ "topBandMargin": {
440
+ "type": "number",
441
+ "minimum": 0,
442
+ "maximum": 1
443
+ }
444
+ }
445
+ },
446
+ "agent": {
447
+ "type": "object",
448
+ "additionalProperties": true,
449
+ "properties": {
450
+ "commands": {
451
+ "type": "array",
452
+ "items": {
453
+ "$ref": "#/$defs/builderAgentCommand"
454
+ },
455
+ "description": "Ignored in the committed config; set it in .codebaseiq.local.json."
456
+ },
457
+ "cacheTtlHours": {
458
+ "type": "integer",
459
+ "exclusiveMinimum": 0
460
+ }
461
+ }
462
+ }
463
+ }
464
+ },
465
+ "sentinel": {
466
+ "type": "object",
467
+ "additionalProperties": true,
468
+ "description": "Trailing sentinel for agent sessions. Delivery mode and mute state are per-user and not committed.",
469
+ "properties": {
470
+ "enabled": {
471
+ "type": "boolean",
472
+ "description": "Run the trailing sentinel for agent sessions in this project (default: false)."
473
+ }
474
+ }
316
475
  }
317
476
  }
318
477
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codebaseiq",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "Evidence and verification for AI coding agents: map code, reuse concepts, finish migrations, and gate diffs.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,12 +24,10 @@
24
24
  "docs/assets/**/*",
25
25
  "docs/schemas/**/*",
26
26
  "docs/*.md",
27
- "scripts/build-codebaseiq-windows.mjs",
28
27
  "scripts/evidence-product-contract.mjs",
29
- "scripts/codebaseiq-windows-provenance.mjs",
30
- "scripts/verify-codebaseiq-windows.mjs",
31
28
  "skills/**/*.md",
32
- "skills/**/agents/*.yaml"
29
+ "skills/**/agents/*.yaml",
30
+ "ui/view/**/*"
33
31
  ],
34
32
  "sideEffects": false,
35
33
  "exports": {
@@ -370,8 +368,8 @@
370
368
  "scripts": {
371
369
  "build": "node --max-old-space-size=12288 ./node_modules/tsup/dist/cli-default.js",
372
370
  "dev": "tsup --watch",
373
- "format": "prettier --write \"{src,tests,scripts}/**/*.{ts,tsx,js,mjs,json}\" \"*.{ts,js,json}\"",
374
- "format:check": "prettier --check \"{src,tests,scripts}/**/*.{ts,tsx,js,mjs,json}\" \"*.{ts,js,json}\"",
371
+ "format": "prettier --write \"{src,tests,scripts}/**/*.{ts,tsx,js,mjs,json}\" \"ui/view/**/*.{js,css,html}\" \"*.{ts,js,json}\"",
372
+ "format:check": "prettier --check \"{src,tests,scripts}/**/*.{ts,tsx,js,mjs,json}\" \"ui/view/**/*.{js,css,html}\" \"*.{ts,js,json}\"",
375
373
  "test": "vitest run",
376
374
  "soak:cache-lifecycle": "npm run build && vite-node scripts/cache-lifecycle-soak.ts",
377
375
  "test:watch": "vitest",
@@ -380,21 +378,19 @@
380
378
  "api:report": "node scripts/api-surface-contract.mjs report",
381
379
  "api:check": "npm run build && node scripts/api-surface-contract.mjs check && tsc -p tests/fixtures/public-api-consumer/tsconfig.json",
382
380
  "api:update": "npm run build && node scripts/api-surface-contract.mjs update",
383
- "lint": "npm run format:check && eslint src tests tsup.config.ts scripts/api-surface-contract.mjs scripts/audit-production-dependencies.mjs scripts/build-codebaseiq-windows.mjs scripts/cache-lifecycle-soak.ts scripts/codex-exploration-sandbox.mjs scripts/codex-exploration-trial-core.mjs scripts/codex-exploration-trial.mjs scripts/compare-exploration-trials.mjs scripts/exploration-benchmark-core.mjs scripts/exploration-benchmark.mjs scripts/npm-release-state.ts scripts/npm-release.ts scripts/publish-codebaseiq-windows.ts scripts/release-npm-guard.ts scripts/release-npm.ts scripts/codebaseiq-windows-package-identity.ts scripts/codebaseiq-windows-provenance.mjs scripts/codebaseiq-windows-release.ts scripts/verify-identity-collision-cli.mjs scripts/verify-codebaseiq-windows.mjs scripts/verify-codebaseiq-windows-registry.ts && npm run api:check && node scripts/check-skill-links.mjs",
384
- "build:codebaseiq-windows": "node scripts/build-codebaseiq-windows.mjs",
385
- "verify:codebaseiq-windows": "node scripts/verify-codebaseiq-windows.mjs",
381
+ "lint": "npm run format:check && eslint src tests ui/view tsup.config.ts scripts/api-surface-contract.mjs scripts/audit-production-dependencies.mjs scripts/cache-lifecycle-soak.ts scripts/codex-exploration-sandbox.mjs scripts/codex-exploration-trial-core.mjs scripts/codex-exploration-trial.mjs scripts/compare-exploration-trials.mjs scripts/exploration-benchmark-core.mjs scripts/exploration-benchmark.mjs scripts/npm-release-state.ts scripts/npm-release.ts scripts/release-npm-guard.ts scripts/release-npm.ts scripts/npm-package-identity.ts scripts/npm-release-runtime.ts scripts/verify-identity-collision-cli.mjs && npm run api:check && node scripts/check-skill-links.mjs",
386
382
  "verify:identity-collision-cli": "node scripts/verify-identity-collision-cli.mjs",
387
- "verify:codebaseiq-windows-registry": "vite-node scripts/verify-codebaseiq-windows-registry.ts",
388
383
  "bench:evidence-products": "node scripts/evidence-product-contract.mjs",
389
384
  "bench:exploration": "node scripts/exploration-benchmark.mjs",
390
385
  "bench:exploration:codex": "node scripts/codex-exploration-trial.mjs",
391
386
  "bench:exploration:compare": "node scripts/compare-exploration-trials.mjs",
392
387
  "bench:native-symbol-leaf": "node scripts/bench-native-symbol-leaf.mjs",
393
388
  "calibrate": "node scripts/accuracy-calibration.mjs",
389
+ "calibrate:sentinel": "vite-node scripts/sentinel-replay.ts",
390
+ "calibrate:sentinel-review": "vite-node scripts/sentinel-shadow-review.ts",
394
391
  "docs:commands": "vite-node scripts/render-command-reference.ts --write",
395
392
  "prepublishOnly": "vite-node scripts/release-npm-guard.ts",
396
393
  "postinstall": "node dist/postinstall.js || true",
397
- "publish:codebaseiq-windows": "vite-node scripts/publish-codebaseiq-windows.ts",
398
394
  "release:npm": "vite-node scripts/release-npm.ts",
399
395
  "release:npm:dry-run": "vite-node scripts/release-npm.ts --dry-run"
400
396
  },
@@ -417,7 +413,7 @@
417
413
  ],
418
414
  "license": "Apache-2.0",
419
415
  "engines": {
420
- "node": ">=22.0.0"
416
+ "node": ">=22.15.0"
421
417
  },
422
418
  "dependencies": {
423
419
  "@bufbuild/protobuf": "^2.11.0",
@@ -427,6 +423,7 @@
427
423
  "better-sqlite3": "^13.0.2",
428
424
  "chokidar": "^4.0.3",
429
425
  "commander": "^13.1.0",
426
+ "cytoscape": "^3.34.3",
430
427
  "ignore": "^7.0.3",
431
428
  "ts-morph": "^28.0.0"
432
429
  },
@@ -434,7 +431,6 @@
434
431
  "optionalDependencies": {
435
432
  "@sourcegraph/scip-typescript": "0.4.0",
436
433
  "scip-python-plus": "0.7.5",
437
- "codebaseiq-windows": "0.1.0",
438
434
  "tree-sitter": "0.21.1",
439
435
  "tree-sitter-c": "0.23.2",
440
436
  "tree-sitter-c-sharp": "0.23.1",
@@ -72,4 +72,4 @@ Read request, observed facts, calibration, coverage, and recovery together. A co
72
72
 
73
73
  Before answering, compare the draft to the selected statement-complete behavior—not merely to a remembered narrative. Preserve every observed behavior-changing predicate, returned default, separately merged field, cache invalidation, and cleanup effect that is material to the question. When two named fields use different merge or lifecycle operations, do not collapse them into a generic word such as “properties.” If the evidence already contains a missing detail, repair the answer; do not reopen exploration.
74
74
 
75
- Use codebaseiq rather than a parallel grep/read workflow for tracked text. Native tools are for edits, checks, binary content, or an explicitly reported unsupported gap. After edits, use `diff-impact` when consumers matter, `architecture` for declared boundaries, and `health` for quality or cleanup analysis.
75
+ Use codebaseiq rather than a parallel grep/read workflow for tracked text. Native tools are for edits, checks, binary content, or an explicitly reported unsupported gap. After edits, use `diff-impact` when consumers matter, `architecture` for declared boundaries, and `health` for quality or cleanup analysis. Before adding a new helper, run `codebaseiq reuse` with `--term`, `--name`, and `--calls` probes you choose; its results are heuristic candidates to confirm with `code` or `evidence`, not exact facts.
@@ -67,7 +67,7 @@ Include this section only when an unknown can change the implementation. Name th
67
67
  ## Required reasoning
68
68
 
69
69
  - Cite direct evidence for each changed owner and material consumer.
70
- - Compare an existing reuse candidate before adding a new helper, wrapper, hook, component, or module.
70
+ - Compare an existing reuse candidate before adding a new helper, wrapper, hook, component, or module; `codebaseiq reuse` with probes you choose lists candidates to confirm with `code`.
71
71
  - Name behavior that must remain true.
72
72
  - Name residue that the change must remove.
73
73
  - Include architecture rules that constrain dependency direction.