@hawkeyexl/manni 4.27.2 → 4.28.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 (222) hide show
  1. package/README.md +1 -1
  2. package/dist/{batch-4QOPOFXK.js → batch-PR6HELQ3.js} +12 -12
  3. package/dist/{build-WZYI3MS4.js → build-IJIWQIKR.js} +13 -13
  4. package/dist/{calibrate-YF5YOF6P.js → calibrate-OO6JL6BK.js} +13 -13
  5. package/dist/{capture-5OHCZHY6.js → capture-M73GEEBJ.js} +12 -12
  6. package/dist/{check-SAZULN2G.js → check-5PZYQV3S.js} +22 -22
  7. package/dist/{check-44L4WMYC.js → check-FXAHW6N5.js} +13 -13
  8. package/dist/{check-47CBTBLN.js → check-MAB3XYX5.js} +12 -12
  9. package/dist/{check-5ENYBRH6.js → check-V3MJF3LV.js} +10 -10
  10. package/dist/check-WYJYCP4C.js +58 -0
  11. package/dist/{chunk-NF4ZGAA2.js → chunk-232TBIFA.js} +4 -4
  12. package/dist/{chunk-T4U42TI2.js → chunk-2EW7JGHQ.js} +37 -20
  13. package/dist/chunk-2EW7JGHQ.js.map +1 -0
  14. package/dist/{chunk-4R655S6D.js → chunk-4QJJG2DG.js} +2 -2
  15. package/dist/{chunk-ZNR3DE3J.js → chunk-4WKXAVEW.js} +3 -3
  16. package/dist/{chunk-PTSL6HNS.js → chunk-5NFGWFLC.js} +8 -8
  17. package/dist/{chunk-3SCB5GXV.js → chunk-6YUNB4VT.js} +4 -4
  18. package/dist/{chunk-NWC3HGUL.js → chunk-732PX32V.js} +4 -4
  19. package/dist/{chunk-GILO3UHR.js → chunk-7DZ6DJOF.js} +3 -3
  20. package/dist/{chunk-6V4NNZPT.js → chunk-7L6GS7LH.js} +4 -4
  21. package/dist/{chunk-6V4NNZPT.js.map → chunk-7L6GS7LH.js.map} +1 -1
  22. package/dist/{chunk-WGMLN3XQ.js → chunk-A7JU42HX.js} +2 -2
  23. package/dist/{chunk-KZHL7G3C.js → chunk-AXLWNX4Y.js} +2 -2
  24. package/dist/{chunk-MSJSORZU.js → chunk-BEKZC55J.js} +8 -8
  25. package/dist/{chunk-OHYFMXR5.js → chunk-BOVAHVNE.js} +5 -5
  26. package/dist/{chunk-X3OCJI4B.js → chunk-CY3NIZZF.js} +2 -2
  27. package/dist/{chunk-W3RUAZ7T.js → chunk-DEDH7IH3.js} +2 -2
  28. package/dist/{chunk-KZVMJGKL.js → chunk-DJT5F4MT.js} +3 -3
  29. package/dist/{chunk-KWIK36BF.js → chunk-DXGRODYQ.js} +2 -2
  30. package/dist/{chunk-6CFJAAL2.js → chunk-E2ZPFHHR.js} +2 -2
  31. package/dist/{chunk-LCON6Z7R.js → chunk-E6TI5H2P.js} +2 -2
  32. package/dist/{chunk-H26QMNA2.js → chunk-ENK42KDR.js} +6 -6
  33. package/dist/{chunk-MMMQAV7J.js → chunk-FCLA7EH4.js} +3 -3
  34. package/dist/{chunk-BGTREDT3.js → chunk-FK65KN2H.js} +4 -4
  35. package/dist/{chunk-NUCWAAEU.js → chunk-FOUZK5XB.js} +3 -3
  36. package/dist/{chunk-Y26DPZHQ.js → chunk-FWJGGP2J.js} +10 -10
  37. package/dist/{chunk-6X2EX232.js → chunk-GZVHZCUI.js} +3 -3
  38. package/dist/{chunk-G2WIQDGN.js → chunk-H5HWF2RF.js} +3 -3
  39. package/dist/{chunk-YWJ6G6MY.js → chunk-HM2EZX66.js} +7 -7
  40. package/dist/{chunk-PWV2EBAH.js → chunk-HV7R7EP7.js} +4 -4
  41. package/dist/{chunk-XKNGNNEV.js → chunk-HZUYNBWK.js} +6 -6
  42. package/dist/{chunk-XKJ4LPEA.js → chunk-IFMEIUTY.js} +2 -2
  43. package/dist/{chunk-J7YGWYAD.js → chunk-IWZH3YPO.js} +6 -6
  44. package/dist/{chunk-J7MCZ3P4.js → chunk-JMDZFDCS.js} +2 -2
  45. package/dist/{chunk-24BSKK64.js → chunk-JNYYKYOX.js} +3 -3
  46. package/dist/{chunk-YOOU22BY.js → chunk-KGC6FPEP.js} +3 -3
  47. package/dist/{chunk-L3DKAY2B.js → chunk-KIYDAB7Q.js} +3 -3
  48. package/dist/{chunk-45IRUXPB.js → chunk-MSX65NSU.js} +2 -2
  49. package/dist/{chunk-TZVSVDIP.js → chunk-N2RRDNVX.js} +6 -6
  50. package/dist/{chunk-XXDRUBU4.js → chunk-NENXKSOX.js} +4 -4
  51. package/dist/{chunk-IJWYAAHH.js → chunk-NKE3SJ7O.js} +8 -8
  52. package/dist/{chunk-7XWQZZTR.js → chunk-NWS5NNHX.js} +2 -2
  53. package/dist/{chunk-TSWQRVHI.js → chunk-OLFYMD26.js} +13 -13
  54. package/dist/{chunk-2YGE2RDH.js → chunk-P5KEPKW4.js} +5 -5
  55. package/dist/{chunk-YQOXALQH.js → chunk-PDIBXVWI.js} +5 -5
  56. package/dist/{chunk-245PK5JC.js → chunk-QBTDPI57.js} +2 -2
  57. package/dist/{chunk-245PK5JC.js.map → chunk-QBTDPI57.js.map} +1 -1
  58. package/dist/{chunk-2CV4IHSH.js → chunk-RCLF35PJ.js} +8 -8
  59. package/dist/{chunk-YUU632NO.js → chunk-RHNEQRPJ.js} +2 -2
  60. package/dist/{chunk-XZDADS3C.js → chunk-S34LFS5R.js} +3 -3
  61. package/dist/{chunk-YKMU42SP.js → chunk-SWGLTZR3.js} +5 -5
  62. package/dist/{chunk-DKJXF2JD.js → chunk-TKU525DB.js} +10 -10
  63. package/dist/{chunk-Z4UB6PUJ.js → chunk-VDJGTAVP.js} +4 -4
  64. package/dist/{chunk-POI7GKE3.js → chunk-WFHPNJNT.js} +3 -3
  65. package/dist/{chunk-TQIYWZ74.js → chunk-WHG5WJBY.js} +4 -4
  66. package/dist/{chunk-HZAB5W5K.js → chunk-WXDNQMUI.js} +4 -4
  67. package/dist/{chunk-MJM2TAT6.js → chunk-WZDL4XDO.js} +6 -6
  68. package/dist/{chunk-JGGHR7SX.js → chunk-X42S4Y3E.js} +4 -4
  69. package/dist/{chunk-OVC5QRU3.js → chunk-XHBRV4QK.js} +2 -2
  70. package/dist/{chunk-A7DUATBW.js → chunk-XWWYVVKL.js} +2 -2
  71. package/dist/{chunk-YGICHT4R.js → chunk-XXW572PF.js} +6 -6
  72. package/dist/{chunk-RTWLLWU3.js → chunk-YGVCKNKQ.js} +2 -2
  73. package/dist/{chunk-Z4VRAU5R.js → chunk-ZL2KZRNC.js} +6 -6
  74. package/dist/{chunk-CXBLMAAN.js → chunk-ZV3NEWTY.js} +3 -3
  75. package/dist/{cli-7KW2KTVM.js → cli-3FJLVOVV.js} +7 -7
  76. package/dist/{cli-PMOBZK25.js → cli-5ASE6JCZ.js} +28 -28
  77. package/dist/cli-5ASE6JCZ.js.map +1 -0
  78. package/dist/{cli-A2ZDCWRU.js → cli-73QJRBGD.js} +12 -12
  79. package/dist/{cli-XR2HNQHL.js → cli-7OWZWDEE.js} +52 -52
  80. package/dist/{cli-43QNBABK.js → cli-BBKPB2HF.js} +13 -13
  81. package/dist/{cli-R6IDEDBM.js → cli-CWLFP4LA.js} +19 -19
  82. package/dist/{cli-V6FCV76L.js → cli-FZ3TF4OX.js} +2 -2
  83. package/dist/{cli-DG7OR2FQ.js → cli-G7DMKZFI.js} +27 -27
  84. package/dist/{cli-5CTDXH46.js → cli-L5NG7KFW.js} +16 -16
  85. package/dist/{cli-ECZYBUCU.js → cli-QZTJ5LB3.js} +23 -23
  86. package/dist/{cli-WJ77FXIO.js → cli-ZC2XIC3A.js} +33 -33
  87. package/dist/cli.js +15 -15
  88. package/dist/docmeta.js +6 -6
  89. package/dist/{github-LEIY7MYA.js → github-CMA4NVGZ.js} +10 -10
  90. package/dist/github-KD6OPT6N.js +49 -0
  91. package/dist/{github-RZWQU5YT.js → github-YO4WC4Q4.js} +12 -12
  92. package/dist/index.d.ts +5 -0
  93. package/dist/index.js +49 -49
  94. package/dist/{json-DIMCA7FJ.js → json-SFFOWLUQ.js} +10 -10
  95. package/dist/{json-7D6RG6L3.js → json-W4ATTXER.js} +13 -13
  96. package/dist/{labels-A2QABE4Z.js → labels-ILSCGLR2.js} +9 -9
  97. package/dist/{lint-5DD7VDBK.js → lint-YLEK6OWJ.js} +10 -10
  98. package/dist/{list-PVTTSVTK.js → list-BPZQKN4W.js} +12 -12
  99. package/dist/{list-YSAQMVTC.js → list-F3XQLKBG.js} +10 -10
  100. package/dist/{list-ESLZLQX3.js → list-ZDVWETJA.js} +21 -21
  101. package/dist/{page-OA2ZD6SR.js → page-GL2IKGR7.js} +9 -9
  102. package/dist/{prepare-XQT6ZY2T.js → prepare-IWGF6RYG.js} +11 -11
  103. package/dist/{pretty-CDIXJ2IB.js → pretty-IWCYUTFE.js} +10 -10
  104. package/dist/{pretty-VT3FYQU6.js → pretty-MSZCPJCI.js} +12 -12
  105. package/dist/{pretty-VIBC3XRD.js → pretty-T6F4E24U.js} +22 -22
  106. package/dist/{reporters-NWTDJFZ3.js → reporters-4X4NKOXM.js} +4 -4
  107. package/dist/{reporters-SWZCB4H5.js → reporters-FR4AXDLX.js} +9 -9
  108. package/dist/{run-GM6KO3ZB.js → run-4SBRYTKW.js} +21 -21
  109. package/dist/{sarif-KGTPEUQM.js → sarif-EASXSUVZ.js} +8 -8
  110. package/dist/{sarif-AHP2ERK4.js → sarif-K22E6B5M.js} +8 -8
  111. package/dist/sarif-L7IEQ7TT.js +50 -0
  112. package/dist/{strategy-66CFSHDS.js → strategy-N2D5HM4C.js} +19 -19
  113. package/dist/{term-G5F5C6E3.js → term-43EIVTZC.js} +15 -15
  114. package/dist/{validate-MCQT3JAS.js → validate-TQPUQUT2.js} +4 -4
  115. package/package.json +1 -1
  116. package/plugin/manni/.claude-plugin/plugin.json +1 -1
  117. package/dist/check-ETOMWWIG.js +0 -58
  118. package/dist/chunk-T4U42TI2.js.map +0 -1
  119. package/dist/cli-PMOBZK25.js.map +0 -1
  120. package/dist/github-O5YNWCV6.js +0 -49
  121. package/dist/sarif-AWP6LGFO.js +0 -50
  122. /package/dist/{batch-4QOPOFXK.js.map → batch-PR6HELQ3.js.map} +0 -0
  123. /package/dist/{build-WZYI3MS4.js.map → build-IJIWQIKR.js.map} +0 -0
  124. /package/dist/{calibrate-YF5YOF6P.js.map → calibrate-OO6JL6BK.js.map} +0 -0
  125. /package/dist/{capture-5OHCZHY6.js.map → capture-M73GEEBJ.js.map} +0 -0
  126. /package/dist/{check-47CBTBLN.js.map → check-5PZYQV3S.js.map} +0 -0
  127. /package/dist/{check-44L4WMYC.js.map → check-FXAHW6N5.js.map} +0 -0
  128. /package/dist/{check-5ENYBRH6.js.map → check-MAB3XYX5.js.map} +0 -0
  129. /package/dist/{check-ETOMWWIG.js.map → check-V3MJF3LV.js.map} +0 -0
  130. /package/dist/{check-SAZULN2G.js.map → check-WYJYCP4C.js.map} +0 -0
  131. /package/dist/{chunk-NF4ZGAA2.js.map → chunk-232TBIFA.js.map} +0 -0
  132. /package/dist/{chunk-4R655S6D.js.map → chunk-4QJJG2DG.js.map} +0 -0
  133. /package/dist/{chunk-ZNR3DE3J.js.map → chunk-4WKXAVEW.js.map} +0 -0
  134. /package/dist/{chunk-PTSL6HNS.js.map → chunk-5NFGWFLC.js.map} +0 -0
  135. /package/dist/{chunk-3SCB5GXV.js.map → chunk-6YUNB4VT.js.map} +0 -0
  136. /package/dist/{chunk-NWC3HGUL.js.map → chunk-732PX32V.js.map} +0 -0
  137. /package/dist/{chunk-GILO3UHR.js.map → chunk-7DZ6DJOF.js.map} +0 -0
  138. /package/dist/{chunk-WGMLN3XQ.js.map → chunk-A7JU42HX.js.map} +0 -0
  139. /package/dist/{chunk-KZHL7G3C.js.map → chunk-AXLWNX4Y.js.map} +0 -0
  140. /package/dist/{chunk-MSJSORZU.js.map → chunk-BEKZC55J.js.map} +0 -0
  141. /package/dist/{chunk-OHYFMXR5.js.map → chunk-BOVAHVNE.js.map} +0 -0
  142. /package/dist/{chunk-X3OCJI4B.js.map → chunk-CY3NIZZF.js.map} +0 -0
  143. /package/dist/{chunk-W3RUAZ7T.js.map → chunk-DEDH7IH3.js.map} +0 -0
  144. /package/dist/{chunk-KZVMJGKL.js.map → chunk-DJT5F4MT.js.map} +0 -0
  145. /package/dist/{chunk-KWIK36BF.js.map → chunk-DXGRODYQ.js.map} +0 -0
  146. /package/dist/{chunk-6CFJAAL2.js.map → chunk-E2ZPFHHR.js.map} +0 -0
  147. /package/dist/{chunk-LCON6Z7R.js.map → chunk-E6TI5H2P.js.map} +0 -0
  148. /package/dist/{chunk-H26QMNA2.js.map → chunk-ENK42KDR.js.map} +0 -0
  149. /package/dist/{chunk-MMMQAV7J.js.map → chunk-FCLA7EH4.js.map} +0 -0
  150. /package/dist/{chunk-BGTREDT3.js.map → chunk-FK65KN2H.js.map} +0 -0
  151. /package/dist/{chunk-NUCWAAEU.js.map → chunk-FOUZK5XB.js.map} +0 -0
  152. /package/dist/{chunk-Y26DPZHQ.js.map → chunk-FWJGGP2J.js.map} +0 -0
  153. /package/dist/{chunk-6X2EX232.js.map → chunk-GZVHZCUI.js.map} +0 -0
  154. /package/dist/{chunk-G2WIQDGN.js.map → chunk-H5HWF2RF.js.map} +0 -0
  155. /package/dist/{chunk-YWJ6G6MY.js.map → chunk-HM2EZX66.js.map} +0 -0
  156. /package/dist/{chunk-PWV2EBAH.js.map → chunk-HV7R7EP7.js.map} +0 -0
  157. /package/dist/{chunk-XKNGNNEV.js.map → chunk-HZUYNBWK.js.map} +0 -0
  158. /package/dist/{chunk-XKJ4LPEA.js.map → chunk-IFMEIUTY.js.map} +0 -0
  159. /package/dist/{chunk-J7YGWYAD.js.map → chunk-IWZH3YPO.js.map} +0 -0
  160. /package/dist/{chunk-J7MCZ3P4.js.map → chunk-JMDZFDCS.js.map} +0 -0
  161. /package/dist/{chunk-24BSKK64.js.map → chunk-JNYYKYOX.js.map} +0 -0
  162. /package/dist/{chunk-YOOU22BY.js.map → chunk-KGC6FPEP.js.map} +0 -0
  163. /package/dist/{chunk-L3DKAY2B.js.map → chunk-KIYDAB7Q.js.map} +0 -0
  164. /package/dist/{chunk-45IRUXPB.js.map → chunk-MSX65NSU.js.map} +0 -0
  165. /package/dist/{chunk-TZVSVDIP.js.map → chunk-N2RRDNVX.js.map} +0 -0
  166. /package/dist/{chunk-XXDRUBU4.js.map → chunk-NENXKSOX.js.map} +0 -0
  167. /package/dist/{chunk-IJWYAAHH.js.map → chunk-NKE3SJ7O.js.map} +0 -0
  168. /package/dist/{chunk-7XWQZZTR.js.map → chunk-NWS5NNHX.js.map} +0 -0
  169. /package/dist/{chunk-TSWQRVHI.js.map → chunk-OLFYMD26.js.map} +0 -0
  170. /package/dist/{chunk-2YGE2RDH.js.map → chunk-P5KEPKW4.js.map} +0 -0
  171. /package/dist/{chunk-YQOXALQH.js.map → chunk-PDIBXVWI.js.map} +0 -0
  172. /package/dist/{chunk-2CV4IHSH.js.map → chunk-RCLF35PJ.js.map} +0 -0
  173. /package/dist/{chunk-YUU632NO.js.map → chunk-RHNEQRPJ.js.map} +0 -0
  174. /package/dist/{chunk-XZDADS3C.js.map → chunk-S34LFS5R.js.map} +0 -0
  175. /package/dist/{chunk-YKMU42SP.js.map → chunk-SWGLTZR3.js.map} +0 -0
  176. /package/dist/{chunk-DKJXF2JD.js.map → chunk-TKU525DB.js.map} +0 -0
  177. /package/dist/{chunk-Z4UB6PUJ.js.map → chunk-VDJGTAVP.js.map} +0 -0
  178. /package/dist/{chunk-POI7GKE3.js.map → chunk-WFHPNJNT.js.map} +0 -0
  179. /package/dist/{chunk-TQIYWZ74.js.map → chunk-WHG5WJBY.js.map} +0 -0
  180. /package/dist/{chunk-HZAB5W5K.js.map → chunk-WXDNQMUI.js.map} +0 -0
  181. /package/dist/{chunk-MJM2TAT6.js.map → chunk-WZDL4XDO.js.map} +0 -0
  182. /package/dist/{chunk-JGGHR7SX.js.map → chunk-X42S4Y3E.js.map} +0 -0
  183. /package/dist/{chunk-OVC5QRU3.js.map → chunk-XHBRV4QK.js.map} +0 -0
  184. /package/dist/{chunk-A7DUATBW.js.map → chunk-XWWYVVKL.js.map} +0 -0
  185. /package/dist/{chunk-YGICHT4R.js.map → chunk-XXW572PF.js.map} +0 -0
  186. /package/dist/{chunk-RTWLLWU3.js.map → chunk-YGVCKNKQ.js.map} +0 -0
  187. /package/dist/{chunk-Z4VRAU5R.js.map → chunk-ZL2KZRNC.js.map} +0 -0
  188. /package/dist/{chunk-CXBLMAAN.js.map → chunk-ZV3NEWTY.js.map} +0 -0
  189. /package/dist/{cli-7KW2KTVM.js.map → cli-3FJLVOVV.js.map} +0 -0
  190. /package/dist/{cli-A2ZDCWRU.js.map → cli-73QJRBGD.js.map} +0 -0
  191. /package/dist/{cli-XR2HNQHL.js.map → cli-7OWZWDEE.js.map} +0 -0
  192. /package/dist/{cli-43QNBABK.js.map → cli-BBKPB2HF.js.map} +0 -0
  193. /package/dist/{cli-R6IDEDBM.js.map → cli-CWLFP4LA.js.map} +0 -0
  194. /package/dist/{cli-V6FCV76L.js.map → cli-FZ3TF4OX.js.map} +0 -0
  195. /package/dist/{cli-DG7OR2FQ.js.map → cli-G7DMKZFI.js.map} +0 -0
  196. /package/dist/{cli-5CTDXH46.js.map → cli-L5NG7KFW.js.map} +0 -0
  197. /package/dist/{cli-ECZYBUCU.js.map → cli-QZTJ5LB3.js.map} +0 -0
  198. /package/dist/{cli-WJ77FXIO.js.map → cli-ZC2XIC3A.js.map} +0 -0
  199. /package/dist/{github-LEIY7MYA.js.map → github-CMA4NVGZ.js.map} +0 -0
  200. /package/dist/{github-O5YNWCV6.js.map → github-KD6OPT6N.js.map} +0 -0
  201. /package/dist/{github-RZWQU5YT.js.map → github-YO4WC4Q4.js.map} +0 -0
  202. /package/dist/{json-7D6RG6L3.js.map → json-SFFOWLUQ.js.map} +0 -0
  203. /package/dist/{json-DIMCA7FJ.js.map → json-W4ATTXER.js.map} +0 -0
  204. /package/dist/{labels-A2QABE4Z.js.map → labels-ILSCGLR2.js.map} +0 -0
  205. /package/dist/{lint-5DD7VDBK.js.map → lint-YLEK6OWJ.js.map} +0 -0
  206. /package/dist/{list-ESLZLQX3.js.map → list-BPZQKN4W.js.map} +0 -0
  207. /package/dist/{list-PVTTSVTK.js.map → list-F3XQLKBG.js.map} +0 -0
  208. /package/dist/{list-YSAQMVTC.js.map → list-ZDVWETJA.js.map} +0 -0
  209. /package/dist/{page-OA2ZD6SR.js.map → page-GL2IKGR7.js.map} +0 -0
  210. /package/dist/{prepare-XQT6ZY2T.js.map → prepare-IWGF6RYG.js.map} +0 -0
  211. /package/dist/{pretty-CDIXJ2IB.js.map → pretty-IWCYUTFE.js.map} +0 -0
  212. /package/dist/{pretty-VIBC3XRD.js.map → pretty-MSZCPJCI.js.map} +0 -0
  213. /package/dist/{pretty-VT3FYQU6.js.map → pretty-T6F4E24U.js.map} +0 -0
  214. /package/dist/{reporters-NWTDJFZ3.js.map → reporters-4X4NKOXM.js.map} +0 -0
  215. /package/dist/{reporters-SWZCB4H5.js.map → reporters-FR4AXDLX.js.map} +0 -0
  216. /package/dist/{run-GM6KO3ZB.js.map → run-4SBRYTKW.js.map} +0 -0
  217. /package/dist/{sarif-AHP2ERK4.js.map → sarif-EASXSUVZ.js.map} +0 -0
  218. /package/dist/{sarif-AWP6LGFO.js.map → sarif-K22E6B5M.js.map} +0 -0
  219. /package/dist/{sarif-KGTPEUQM.js.map → sarif-L7IEQ7TT.js.map} +0 -0
  220. /package/dist/{strategy-66CFSHDS.js.map → strategy-N2D5HM4C.js.map} +0 -0
  221. /package/dist/{term-G5F5C6E3.js.map → term-43EIVTZC.js.map} +0 -0
  222. /package/dist/{validate-MCQT3JAS.js.map → validate-TQPUQUT2.js.map} +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/cite/cli.ts","../src/cite/reporters/junit.ts"],"sourcesContent":["/**\n * The `cite` domain's commander program. Mounted by `src/cli.ts` under\n * `manni cite`; no entry point of its own. Grammar per proposal 0034: verbs are\n * `check`, `add`, `update`, `remove`, `history`; there is no default subcommand.\n *\n * Follows clig.dev as meta's does: primary output to stdout, diagnostics to\n * stderr, colour only on a TTY and never under `NO_COLOR`/`--no-color`, exit\n * `0` clean, `1` an error-severity finding, `2` operational/usage.\n */\nimport { Command, Option } from \"commander\";\nimport pkg from \"../../package.json\" with { type: \"json\" };\nimport {\n collect,\n configOption,\n explicitFalse,\n readStdin,\n reportConfig,\n splitList,\n} from \"../shared/cli-options.js\";\nimport { shouldColor } from \"../shared/color.js\";\nimport { splitPageArgument as splitSharedPageArgument } from \"../shared/pin.js\";\nimport { terminalConfirm } from \"../shared/prompt.js\";\nimport { fail } from \"../shared/run.js\";\nimport { notice } from \"../shared/warn.js\";\nimport {\n COMMON_FORMAT_LIST,\n OMITTED_WHEN_CLEAN,\n REPORT_FORMAT_LIST,\n STDIN_TOKEN,\n isMachineFormat,\n} from \"../meta/internal.js\";\nimport { REPORT_FORMATS, isReportFormat } from \"../meta/index.js\";\nimport { runAdd } from \"./commands/add.js\";\nimport { runCheck } from \"./commands/check.js\";\nimport { runHistory } from \"./commands/history.js\";\nimport { runRemove } from \"./commands/remove.js\";\nimport { runUpdate } from \"./commands/update.js\";\nimport { parseRepoFlags } from \"./core/config.js\";\nimport { CiteError, asCiteError } from \"./errors.js\";\nimport { spellSource } from \"./core/range.js\";\nimport { shortCommit, shortLine, shortPin, shortSrc } from \"./core/spell.js\";\nimport { renderCheckGithub } from \"./reporters/github.js\";\nimport { renderCheckJson, renderHistoryJson, renderRemoveJson, renderUpdateJson } from \"./reporters/json.js\";\nimport { renderCheckJunit } from \"./reporters/junit.js\";\nimport {\n renderCheckPretty,\n renderHistoryPretty,\n renderRemovePretty,\n renderUpdatePretty,\n} from \"./reporters/pretty.js\";\nimport { renderCheckSarif } from \"./reporters/sarif.js\";\nimport type { AddResult, PageLines } from \"./types.js\";\n\nconst UPDATE_FORMATS = [\"pretty\", \"json\"] as const;\ntype UpdateFormat = (typeof UPDATE_FORMATS)[number];\n/** The same two `update` has: a removal is a write, and writes report alike. */\nconst REMOVE_FORMATS = UPDATE_FORMATS;\ntype RemoveFormat = UpdateFormat;\n/** The same two again: a window is not a finding, so the finding sinks are left out. */\nconst HISTORY_FORMATS = UPDATE_FORMATS;\n\nfunction isHistoryFormat(value: string): value is UpdateFormat {\n return (HISTORY_FORMATS as readonly string[]).includes(value);\n}\n\n/**\n * Whether `command`'s output gets colour: this domain's `--no-color` and\n * `NO_COLOR` turn it off, and otherwise only a TTY turns it on\n * (`shouldColor`). `isTTY` is passed uncoerced: Node leaves it undefined off\n * a terminal, never false, and `shouldColor` reads a missing one as \"not a\n * terminal\".\n */\nexport function colorFor(\n command: Command,\n isTTY: boolean | undefined,\n env?: NodeJS.ProcessEnv,\n): boolean {\n // commander maps --no-color to opts.color === false, on the command that\n // declares it.\n const noColor = colorOwner(command).opts().color === false;\n return shouldColor({ noColor, isTTY, env });\n}\n\n/**\n * The nearest command, this one or an ancestor, that declares `--no-color`:\n * the `cite` program, wherever it is mounted. Not the root: under the\n * umbrella that is `manni`, which has no `--no-color` of its own.\n */\nfunction colorOwner(command: Command): Command {\n for (let c: Command | null = command; c !== null; c = c.parent) {\n if (c.options.some((o) => o.long === \"--no-color\")) return c;\n }\n return command;\n}\n\nfunction isUpdateFormat(value: string): value is UpdateFormat {\n return (UPDATE_FORMATS as readonly string[]).includes(value);\n}\n\nfunction isRemoveFormat(value: string): value is RemoveFormat {\n return (REMOVE_FORMATS as readonly string[]).includes(value);\n}\n\n/**\n * Commander hands an `.action()` callback an untyped bag of option values, so\n * each subcommand declares the shape it actually reads. The `--no-<thing>`\n * flags are `boolean` and never `undefined`: commander supplies `true` when\n * the flag is absent, which is its default and not a choice, so only the\n * explicit `false` travels to the core (`explicitFalse`).\n */\ninterface InputCliOptions {\n /** `--collection <name>`, repeatable; commander's default value is `[]`. */\n collection: string[];\n /** `--ext <list>`; the command splits it. */\n ext?: string;\n /** `--exclude <glob>`, repeatable; commander's default value is `[]`. */\n exclude: string[];\n /** `--as <format>`: force an extractor. */\n as?: string;\n /**\n * `-c, --config <path>` and `--no-config` share one commander attribute:\n * `undefined` with neither flag, the path with `-c`, `false` with\n * `--no-config`. Split by `configOption`.\n */\n config?: string | boolean;\n allowEmpty?: boolean;\n /** `--no-gitignore`. */\n gitignore: boolean;\n /** `--root <dir>`: where `src:` paths resolve from. */\n root?: string;\n}\n\ninterface CheckCliOptions extends InputCliOptions {\n /** `-f, --format <format>`. Always a string: the declaration has a default. */\n format: string;\n quiet?: boolean;\n /**\n * `--baseline [path]` / `--no-baseline`, the same three-state split as\n * `config`: absent leaves the config in charge, a string names a file, `true`\n * is a bare `--baseline` (the default path), `false` is `--no-baseline`.\n */\n baseline?: string | boolean;\n /** `--write-baseline [path]`; `true` for the bare flag. */\n writeBaseline?: string | boolean;\n /** `--no-check-sources`. */\n checkSources: boolean;\n showDiff?: boolean;\n reveal?: boolean;\n /** `--repo <name=dir>`, repeatable; commander's default value is `[]`. */\n repo: string[];\n}\n\ninterface AddCliOptions {\n id?: string;\n marker?: boolean;\n quote?: boolean;\n /** `--encrypt`. */\n encrypt?: boolean;\n /** `--no-commit-sha`. */\n commitSha: boolean;\n dryRun?: boolean;\n as?: string;\n root?: string;\n /** `--repo <name=dir>`, repeatable; commander's default value is `[]`. */\n repo: string[];\n config?: string | boolean;\n}\n\ninterface RemoveCliOptions extends Omit<InputCliOptions, \"root\"> {\n /** `--only <id>`, repeatable; commander's default value is `[]`. */\n only: string[];\n dryRun?: boolean;\n format: string;\n}\n\ninterface HistoryCliOptions extends InputCliOptions {\n /** `--newer-than <duration>`; the core parses it. */\n newerThan?: string;\n format: string;\n}\n\ninterface UpdateCliOptions extends InputCliOptions {\n /** `--no-check-sources`: declared so the refusal names the flag rather than commander rejecting it. */\n checkSources: boolean;\n accept?: boolean;\n recommit?: boolean;\n /** `--only <id>`, repeatable; commander's default value is `[]`. */\n only: string[];\n dryRun?: boolean;\n format: string;\n /** `--repo <name=dir>`, repeatable; commander's default value is `[]`. */\n repo: string[];\n}\n\n/**\n * Split `docs/limits.md:9` or `docs/limits.md:14-18` into the page and the\n * claim's lines, under cite's error contract. The parsing is the shared pin\n * engine's (`splitPageArgument` in `src/shared/pin.ts`).\n */\nexport function splitPageArgument(arg: string): { page: string; lines?: PageLines } {\n return asCiteError(() => splitSharedPageArgument(arg));\n}\n\n/** `line 9`, or `lines 14-18` for a range. */\nfunction spellAt(lines: PageLines, noun = \"line\"): string {\n return lines.start === lines.end\n ? `${noun} ${String(lines.start)}`\n : `${noun}s ${String(lines.start)}-${String(lines.end)}`;\n}\n\n/**\n * What `add` says on success. One sentence composed from the result: what was\n * added, where it went, and what each end is pinned to. Lines are the page's\n * own, after the write. The source is spelled as it was written to the page,\n * abbreviated when it is a ciphertext, and quoted with its first pinned line\n * where the result carries one.\n */\nexport function addMessage(result: AddResult): string {\n const { citation, claimLines } = result;\n const claim = citation.claim;\n const name = citation.id ?? (claim === undefined ? \"a bare pin\" : \"an entry\");\n const src = shortSrc(spellSource(citation.source));\n const commit = citation.source[\"commit-sha\"];\n const quoted = result.sourceLine === undefined ? \"\" : shortLine(result.sourceLine);\n const line = quoted === \"\" ? \"\" : ` \"${quoted}\"`;\n const pin = `${src}${line}, ${shortPin(citation.source.integrity)}, ${commit === undefined ? \"no commit\" : shortCommit(commit)}`;\n // Where it went: the page's own frontmatter, or the manifest that owns the\n // page's citations, at the line the entry now sits on.\n const where =\n result.manifest === undefined\n ? \"frontmatter\"\n : `${result.manifest.file}:${String(result.manifest.line)}`;\n const head = `${result.file}: added ${name} to ${where}`;\n\n if (result.markerLine !== undefined) {\n const at =\n claimLines === undefined ? \"\" : `, claim pinned at ${spellAt(claimLines)}`;\n const wrote = result.markerJoined === true ? \"joined the marker at line\" : \"marker at line\";\n const marked = `${head}; ${wrote} ${String(result.markerLine)}${at}`;\n if (claim === undefined) return marked;\n if (citation.quote === true) return `${marked} (a block that reproduces ${src})`;\n return `${marked} (${shortPin(claim.integrity)}; source ${pin})`;\n }\n // A metadata value is placed by its pointer, not by lines (0108).\n if (claim?.pointer !== undefined) {\n return `${head} (claim at ${claim.pointer}, ${shortPin(claim.integrity)}; source ${pin})`;\n }\n if (claim === undefined || claimLines === undefined) {\n return `${head} (source ${pin})`;\n }\n if (citation.quote === true) {\n return `${head} (claim ${spellAt(claimLines, \"line\")}, a block that reproduces ${src})`;\n }\n return `${head} (claim at ${spellAt(claimLines)}, ${shortPin(claim.integrity)}; source ${pin})`;\n}\n\nexport function buildProgram(): Command {\n const program = new Command();\n program\n .name(\"cite\")\n .description(\n \"Track citations from doc claims to source lines and check them for drift.\",\n )\n .version(pkg.version, \"-V, --version\")\n .option(\"--no-color\", \"disable colored output\")\n // A pointer, not the whole help screen: the message that precedes it\n // already names the offending flag.\n .showHelpAfterError(\"(add --help for usage)\")\n // MUST come before the `.command()` calls below. `copyInheritedSettings`\n // copies `_exitCallback` by value at subcommand-creation time, so an\n // `exitOverride()` installed afterwards leaves every subcommand still\n // calling `process.exit(1)`.\n .exitOverride();\n\n program\n .command(\"check\")\n .description(\"Check every citation in the given pages against its source\")\n .argument(\n \"[paths...]\",\n \"files, directories, or globs to check (use - for stdin)\",\n )\n .option(\n \"--collection <name>\",\n \"configured collection to run over; repeatable\",\n collect,\n [],\n )\n .option(\"--ext <list>\", \"comma-separated extensions for directory walks\")\n .option(\"--exclude <glob>\", \"glob to exclude; repeatable\", collect, [])\n .option(\"--as <format>\", \"force an input format for every input\")\n .option(\n \"-f, --format <format>\",\n `output: ${REPORT_FORMATS.join(\" | \")}`,\n \"pretty\",\n )\n .option(\"-c, --config <path>\", \"path to a manni config file\")\n .option(\"--no-config\", \"ignore any discovered config file\")\n .option(\"-q, --quiet\", \"in pretty output, hide current citations and clean files\")\n .option(\"--allow-empty\", \"treat zero matched files as success\")\n .option(\"--no-gitignore\", \"check files .gitignore covers\")\n // No `defaultValue` and no `.preset()`, for the reasons meta's validate\n // gives: a bare flag must stay distinguishable from a typed path.\n .addOption(\n new Option(\n \"--baseline [path]\",\n \"compare against a baseline; fail only on findings not in it\",\n ),\n )\n .addOption(\n new Option(\n \"--write-baseline [path]\",\n \"record current findings as the baseline, then exit 0\",\n ),\n )\n .option(\"--no-baseline\", \"ignore a baseline configured by `baseline:`\")\n .option(\"--no-check-sources\", \"page-side rules only; every source status is skipped\")\n .option(\n \"--root <dir>\",\n \"directory src: paths resolve from (default: cite.root from config, else the git root, else the current directory)\",\n )\n .option(\n \"--repo <name=dir>\",\n \"a checkout an entry's source.repo may name, as name=dir relative to the current directory; repeatable; overrides cite.repos for that name\",\n collect,\n [],\n )\n .option(\"--show-diff\", \"in pretty output, print the diff and commit subjects for changed\")\n .option(\"--reveal\", \"in pretty output, print the decrypted path beside an encrypted source\")\n .addHelpText(\n \"after\",\n [\n \"\",\n \"Examples:\",\n \" manni cite check docs/ # walk a directory\",\n \" manni cite check --collection guides # one configured collection\",\n ' manni cite check \"docs/**/*.md\" -f github # CI annotations',\n \" manni cite check --show-diff docs/limits.md # see what changed\",\n \" manni cite check --baseline # fail only on new findings\",\n \" cat page.md | manni cite check - --as markdown\",\n ].join(\"\\n\"),\n )\n .action(async (paths: string[], options: CheckCliOptions, command: Command) => {\n try {\n const format = options.format;\n if (!isReportFormat(format)) {\n throw new CiteError(\n `Unknown --format \"${format}\". Use ${REPORT_FORMAT_LIST}.`,\n );\n }\n const exts = options.ext ? splitList(options.ext) : undefined;\n const stdinContent = paths.includes(STDIN_TOKEN) ? await readStdin() : undefined;\n const cwd = process.cwd();\n\n const run = await runCheck({\n inputs: paths,\n collection: options.collection,\n exts,\n exclude: options.exclude,\n as: options.as,\n ...configOption(options.config),\n onConfigLoaded: reportConfig(!isMachineFormat(format), cwd),\n stdinContent,\n // `undefined` rather than `false` when absent, so config still wins.\n allowEmpty: options.allowEmpty ? true : undefined,\n respectGitignore: explicitFalse(options.gitignore),\n onNotice: notice,\n baseline: options.baseline,\n writeBaseline: options.writeBaseline,\n checkSources: explicitFalse(options.checkSources),\n // Only so the run can say git is not there to give diffs; the diffs\n // themselves are the pretty reporter's.\n showDiff: options.showDiff ? true : undefined,\n root: options.root,\n repos: parseRepoFlags(options.repo, (message) => new CiteError(message)),\n });\n\n let text: string;\n switch (format) {\n case \"pretty\":\n text = renderCheckPretty(run, {\n color: colorFor(command, process.stdout.isTTY),\n quiet: Boolean(options.quiet),\n showDiff: Boolean(options.showDiff),\n reveal: Boolean(options.reveal),\n });\n break;\n case \"json\":\n text = renderCheckJson(run);\n break;\n case \"github\":\n text = renderCheckGithub(run);\n break;\n case \"sarif\":\n text = renderCheckSarif(run, { onNotice: notice });\n break;\n case \"junit\":\n text = renderCheckJunit(run);\n break;\n }\n // Only `github` may say nothing on a clean run; every other format\n // owes its envelope even when empty.\n if (text.length > 0 || !OMITTED_WHEN_CLEAN.has(format)) {\n process.stdout.write(`${text}\\n`);\n }\n // `failed` counts files with an unbaselined error-severity finding;\n // warnings never move it.\n process.exitCode = run.summary.failed > 0 ? 1 : 0;\n } catch (err) {\n fail(err);\n }\n });\n\n program\n .command(\"add\")\n .description(\"Mint a citation for a source range and write it to a page\")\n .argument(\n \"<page>\",\n \"the page to cite from, with the claim: page:L or page:L1-L2 for body lines, or record#/pointer for a value on an audience, persona or journey record (use - for stdin, with --as)\",\n )\n .argument(\n \"<src>\",\n \"path, path:L or path:L1-L2 relative to --root, or repo:path with the same line forms for a checkout in cite.repos, or an encrypted ~source\",\n )\n .option(\"--id <id>\", \"kebab-case id, unique on the page; required with --marker\")\n .option(\"--marker\", \"write a cite <id> marker above the paragraph holding the page lines and pin the text it anchors\")\n .option(\"--quote\", \"the page lines are a fenced block that reproduces the source\")\n .option(\n \"--encrypt\",\n \"write source.file encrypted, with an hmac-sha256- pin; with no key, offer to create one (an available key encrypts without the flag)\",\n )\n .option(\"--no-commit-sha\", \"do not record HEAD\")\n .option(\"--dry-run\", \"print the diff; write nothing\")\n .option(\"--as <format>\", \"force the page format\")\n .option(\"--root <dir>\", \"directory source paths resolve from (as check)\")\n .option(\n \"--repo <name=dir>\",\n \"a checkout an entry's source.repo may name, as name=dir relative to the current directory; repeatable; overrides cite.repos for that name\",\n collect,\n [],\n )\n .option(\"-c, --config <path>\", \"path to a manni config file\")\n .option(\"--no-config\", \"ignore any discovered config file\")\n .addHelpText(\n \"after\",\n [\n \"\",\n \"Examples:\",\n \" manni cite add docs/limits.md:9 lib/limits.ts:2 --id fetch-timeout\",\n \" manni cite add docs/limits.md:30 lib/limits.ts:8-12 --id timeouts --marker\",\n \" manni cite add docs/limits.md:14-18 lib/limits.ts:1-3 --quote\",\n \" manni cite add docs/personas/theo.md#/pains/0 notes/2026-09-12.md:3-4 --id terse-messages\",\n \" manni cite add docs/limits.md lib/limits.ts --dry-run\",\n \" cat page.md | manni cite add -:9 lib/limits.ts:2 --as markdown > out.md\",\n ].join(\"\\n\"),\n )\n .action(async (pageArgument: string, src: string, options: AddCliOptions) => {\n try {\n const { page, lines } = splitPageArgument(pageArgument);\n const usingStdin = page === STDIN_TOKEN;\n const stdinContent = usingStdin ? await readStdin() : undefined;\n const dryRun = Boolean(options.dryRun);\n const cwd = process.cwd();\n\n const result = await runAdd({\n page,\n pageLines: lines,\n src,\n id: options.id,\n marker: options.marker ? true : undefined,\n quote: options.quote ? true : undefined,\n // `undefined` when absent, so the key decides: an available one\n // encrypts without the flag.\n encrypt: options.encrypt ? true : undefined,\n commitSha: explicitFalse(options.commitSha),\n dryRun,\n as: options.as,\n ...configOption(options.config),\n // With `-` the page owns stdout; so does the diff under --dry-run.\n onConfigLoaded: reportConfig(!usingStdin && !dryRun, cwd),\n stdinContent,\n root: options.root,\n repos: parseRepoFlags(options.repo, (message) => new CiteError(message)),\n onNotice: notice,\n // Only on a terminal: off one, a missing key is a refusal, not a\n // question nobody can answer. With `-` stdin is the page, so no\n // question is put either.\n confirm: terminalConfirm(),\n });\n\n const message = addMessage(result);\n // A dry run prints every diff the write would make: the page's, and\n // the manifest's when the entry goes there.\n const diffs = [result.diff, result.manifest?.diff ?? \"\"].filter((d) => d.length > 0);\n if (usingStdin) {\n // The rewritten page owns stdout; everything else is a diagnostic.\n process.stdout.write(result.content);\n if (dryRun) for (const diff of diffs) process.stderr.write(`${diff}\\n`);\n process.stderr.write(`${message}\\n`);\n } else if (dryRun) {\n for (const diff of diffs) process.stdout.write(`${diff}\\n`);\n process.stderr.write(`${message}\\n`);\n } else {\n process.stdout.write(`${message}\\n`);\n }\n process.exitCode = 0;\n } catch (err) {\n fail(err);\n }\n });\n\n program\n .command(\"update\")\n .description(\"Rewrite moved citations in place; with --accept, re-mint changed ones\")\n .argument(\n \"[paths...]\",\n \"files, directories, or globs to update (use - for stdin)\",\n )\n .option(\n \"--collection <name>\",\n \"configured collection to run over; repeatable\",\n collect,\n [],\n )\n .option(\"--ext <list>\", \"comma-separated extensions for directory walks\")\n .option(\"--exclude <glob>\", \"glob to exclude; repeatable\", collect, [])\n .option(\"--as <format>\", \"force an input format for every input\")\n .option(\"-c, --config <path>\", \"path to a manni config file\")\n .option(\"--no-config\", \"ignore any discovered config file\")\n .option(\"--allow-empty\", \"treat zero matched files as success\")\n .option(\"--no-gitignore\", \"update files .gitignore covers\")\n .option(\"--no-check-sources\", \"refused: update needs the sources\")\n .option(\"--root <dir>\", \"directory src: paths resolve from (as check)\")\n .option(\n \"--repo <name=dir>\",\n \"a checkout an entry's source.repo may name, as name=dir relative to the current directory; repeatable; overrides cite.repos for that name\",\n collect,\n [],\n )\n .option(\"--accept\", \"re-mint changed and never-true entries at HEAD; prints old and new pins\")\n .option(\n \"--recommit\",\n \"re-record commit-sha to the commit where the pinned lines arrived on HEAD's history, where the recorded commit does not contain them or is outside that history\",\n )\n .option(\"--only <id>\", \"limit to entries with this id; repeatable\", collect, [])\n .option(\"--dry-run\", \"print the diffs; write nothing\")\n .option(\n \"-f, --format <format>\",\n `output: ${UPDATE_FORMATS.join(\" | \")}`,\n \"pretty\",\n )\n .addHelpText(\n \"after\",\n [\n \"\",\n \"Examples:\",\n \" manni cite update docs/ # rewrite moved entries\",\n \" manni cite update --accept --only fetch-timeout docs/limits.md\",\n \" manni cite update --dry-run docs/ # see the diffs first\",\n \" manni cite update --recommit docs/ # repair unsupported commit-sha\",\n ].join(\"\\n\"),\n )\n .action(async (paths: string[], options: UpdateCliOptions, command: Command) => {\n try {\n const format = options.format;\n if (!isUpdateFormat(format)) {\n throw new CiteError(\n `Unknown --format \"${format}\". Use ${COMMON_FORMAT_LIST}.`,\n );\n }\n if (!options.checkSources) {\n throw new CiteError(\n \"update needs the sources: drop --no-check-sources (or `checkSources: false`).\",\n );\n }\n const exts = options.ext ? splitList(options.ext) : undefined;\n const usingStdin = paths.includes(STDIN_TOKEN);\n const stdinContent = usingStdin ? await readStdin() : undefined;\n const dryRun = Boolean(options.dryRun);\n // With `-` the rewritten page owns stdout, as it does for `add -`; a\n // dry run prints the diffs instead, so the report keeps stdout.\n const pageToStdout = usingStdin && !dryRun;\n const cwd = process.cwd();\n\n const run = await runUpdate({\n inputs: paths,\n collection: options.collection,\n exts,\n exclude: options.exclude,\n as: options.as,\n ...configOption(options.config),\n onConfigLoaded: reportConfig(format === \"pretty\" && !pageToStdout, cwd),\n stdinContent,\n allowEmpty: options.allowEmpty ? true : undefined,\n respectGitignore: explicitFalse(options.gitignore),\n onNotice: notice,\n root: options.root,\n repos: parseRepoFlags(options.repo, (message) => new CiteError(message)),\n accept: options.accept ? true : undefined,\n recommit: options.recommit ? true : undefined,\n only: options.only.length > 0 ? options.only : undefined,\n dryRun,\n });\n\n const text =\n format === \"json\"\n ? renderUpdateJson(run)\n : renderUpdatePretty(run, {\n color: colorFor(command, process.stdout.isTTY),\n // The diffs are the point of a dry run; a real run prints\n // what it rewrote and leaves the file to say the rest.\n showDiff: dryRun,\n });\n const stdinPage = pageToStdout ? run.pages.find((page) => page.content !== undefined) : undefined;\n if (stdinPage?.content !== undefined) {\n process.stdout.write(stdinPage.content);\n process.stderr.write(`${text}\\n`);\n } else {\n process.stdout.write(`${text}\\n`);\n }\n // Exit 1 when something was skipped with an error-severity finding:\n // work left undone, `fill`'s precedent.\n process.exitCode = run.exitCode;\n } catch (err) {\n fail(err);\n }\n });\n\n program\n .command(\"remove\")\n .description(\"Remove the named citations from the given pages, markers and all\")\n .argument(\n \"[paths...]\",\n \"files, directories, or globs to remove from (use - for stdin)\",\n )\n .option(\n \"--collection <name>\",\n \"configured collection to run over; repeatable\",\n collect,\n [],\n )\n .option(\"--ext <list>\", \"comma-separated extensions for directory walks\")\n .option(\"--exclude <glob>\", \"glob to exclude; repeatable\", collect, [])\n .option(\"--as <format>\", \"force an input format for every input\")\n .option(\"-c, --config <path>\", \"path to a manni config file\")\n .option(\"--no-config\", \"ignore any discovered config file\")\n .option(\"--allow-empty\", \"treat zero matched files as success\")\n .option(\"--no-gitignore\", \"remove from files .gitignore covers\")\n .option(\n \"--only <id>\",\n \"the entry to remove, by id or by pointer (/citations/N); required, and repeatable\",\n collect,\n [],\n )\n .option(\"--dry-run\", \"print the diffs and the report; write nothing\")\n .option(\n \"-f, --format <format>\",\n `output: ${REMOVE_FORMATS.join(\" | \")}`,\n \"pretty\",\n )\n .addHelpText(\n \"after\",\n [\n \"\",\n \"Examples:\",\n \" manni cite remove docs/limits.md --only fetch-timeout\",\n \" manni cite remove docs/ --only fetch-timeout --only retries --dry-run\",\n \" manni cite remove --collection site --only /citations/3 -f json\",\n ].join(\"\\n\"),\n )\n .action(async (paths: string[], options: RemoveCliOptions, command: Command) => {\n try {\n const format = options.format;\n if (!isRemoveFormat(format)) {\n throw new CiteError(\n `Unknown --format \"${format}\". Use ${COMMON_FORMAT_LIST}.`,\n );\n }\n const exts = options.ext ? splitList(options.ext) : undefined;\n const usingStdin = paths.includes(STDIN_TOKEN);\n const stdinContent = usingStdin ? await readStdin() : undefined;\n const dryRun = Boolean(options.dryRun);\n // With `-` the rewritten page owns stdout, exactly as on `update -`.\n const pageToStdout = usingStdin && !dryRun;\n const cwd = process.cwd();\n\n const run = await runRemove({\n inputs: paths,\n collection: options.collection,\n exts,\n exclude: options.exclude,\n as: options.as,\n ...configOption(options.config),\n onConfigLoaded: reportConfig(format === \"pretty\" && !pageToStdout, cwd),\n stdinContent,\n allowEmpty: options.allowEmpty ? true : undefined,\n respectGitignore: explicitFalse(options.gitignore),\n onNotice: notice,\n only: options.only,\n dryRun,\n });\n\n const text =\n format === \"json\"\n ? renderRemoveJson(run)\n : renderRemovePretty(run, {\n color: colorFor(command, process.stdout.isTTY),\n // The diffs are the point of a dry run; a real run prints\n // what it removed and leaves the file to say the rest.\n showDiff: dryRun,\n dryRun,\n });\n const stdinPage = pageToStdout ? run.pages.find((page) => page.content !== undefined) : undefined;\n if (stdinPage?.content !== undefined) {\n process.stdout.write(stdinPage.content);\n process.stderr.write(`${text}\\n`);\n } else {\n process.stdout.write(`${text}\\n`);\n }\n // Everything named was removed, or previewed: there is no exit 1.\n process.exitCode = 0;\n } catch (err) {\n fail(err);\n }\n });\n\n program\n .command(\"history\")\n .description(\"Walk the git history and report how long each pin stood stale, and which releases shipped it\")\n .argument(\"[paths...]\", \"files, directories, or globs whose citations are walked\")\n .option(\n \"--collection <name>\",\n \"configured collection to walk; repeatable\",\n collect,\n [],\n )\n .option(\"--ext <list>\", \"comma-separated extensions for directory walks\")\n .option(\"--exclude <glob>\", \"glob to exclude; repeatable\", collect, [])\n .option(\"--as <format>\", \"force the page format for every input\")\n .option(\"-c, --config <path>\", \"path to a manni config file\")\n .option(\"--no-config\", \"ignore any discovered config file\")\n .option(\"--allow-empty\", \"treat zero matched files as success\")\n .option(\"--no-gitignore\", \"walk pages .gitignore covers\")\n .option(\"--root <dir>\", \"directory src: paths resolve from (as check)\")\n .option(\n \"--newer-than <duration>\",\n \"walk only the commits within this span of HEAD's committer time, e.g. 90d or 12w\",\n )\n .option(\n \"-f, --format <format>\",\n `output: ${HISTORY_FORMATS.join(\" | \")}`,\n \"pretty\",\n )\n .addHelpText(\n \"after\",\n [\n \"\",\n \"Examples:\",\n \" manni cite history docs/limits.md # one page's stale windows\",\n \" manni cite history # every collection\",\n \" manni cite history -f json | jq .summary.staleSeconds\",\n \" manni cite history --newer-than 90d # the last quarter only\",\n ].join(\"\\n\"),\n )\n .action(async (paths: string[], options: HistoryCliOptions, command: Command) => {\n try {\n const format = options.format;\n if (!isHistoryFormat(format)) {\n throw new CiteError(\n `Unknown --format \"${format}\". Use ${COMMON_FORMAT_LIST}.`,\n );\n }\n const cwd = process.cwd();\n const run = await runHistory({\n inputs: paths,\n collection: options.collection,\n exts: options.ext ? splitList(options.ext) : undefined,\n exclude: options.exclude,\n as: options.as,\n ...configOption(options.config),\n onConfigLoaded: reportConfig(format === \"pretty\", cwd),\n allowEmpty: options.allowEmpty ? true : undefined,\n respectGitignore: explicitFalse(options.gitignore),\n onNotice: notice,\n root: options.root,\n newerThan: options.newerThan,\n });\n const text =\n format === \"json\"\n ? renderHistoryJson(run)\n : renderHistoryPretty(run, { color: colorFor(command, process.stdout.isTTY) });\n process.stdout.write(`${text}\\n`);\n // A report, not a gate: whatever the walk found, it exits 0.\n process.exitCode = 0;\n } catch (err) {\n fail(err);\n }\n });\n\n return program;\n}\n","/**\n * JUnit for `check`: meta's renderer over the adapted results, under the\n * `manni.cite` classname, with each failure's message the one the github\n * annotation carries.\n * Meta's renderer opens every message with the entry's JSON Pointer, `(root)`\n * for a finding about no entry, which says nothing about a citation. The\n * failure's `type` is already the rule id.\n */\nimport { renderJunit } from \"../../meta/index.js\";\nimport type { CheckRun } from \"../types.js\";\nimport { ENTRY_LABEL, withFindingMessages } from \"./sarif.js\";\n\n/** JUnit `classname` for the citation tool's findings. */\nexport const JUNIT_CLASSNAME = \"manni.cite\";\n\n/** A `message=\"` attribute's opening label. The value is escaped, so `message=\"` opens nothing else. */\nconst MESSAGE_LABEL = new RegExp(`message=\"${ENTRY_LABEL.source.replace(/^\\^/, \"\")}`, \"g\");\n\nexport function renderCheckJunit(run: CheckRun): string {\n return renderJunit(withFindingMessages(run), { frame: run.frame, classname: JUNIT_CLASSNAME }).replace(\n MESSAGE_LABEL,\n 'message=\"',\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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O,MAAM,GAAG,IAAI;AAAA,CAAI;AAEhC,cAAQ,WAAW;AAAA,IACrB,SAAS,KAAK;AACZ,WAAK,GAAG;AAAA,IACV;AAAA,EACF,CAAC;AAEH,SAAO;AACT;","names":["splitPageArgument","message"]}
@@ -1,49 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- NAMES_ITS_SUBJECT,
4
- findingMessage,
5
- renderCheckGithub
6
- } from "./chunk-24BSKK64.js";
7
- import "./chunk-TQIYWZ74.js";
8
- import "./chunk-XXDRUBU4.js";
9
- import "./chunk-6V4NNZPT.js";
10
- import "./chunk-TSWQRVHI.js";
11
- import "./chunk-L3DKAY2B.js";
12
- import "./chunk-6X2EX232.js";
13
- import "./chunk-YOOU22BY.js";
14
- import "./chunk-OVC5QRU3.js";
15
- import "./chunk-KZVMJGKL.js";
16
- import "./chunk-NUCWAAEU.js";
17
- import "./chunk-TZVSVDIP.js";
18
- import "./chunk-OHYFMXR5.js";
19
- import "./chunk-XTKJNRJ6.js";
20
- import "./chunk-X3OCJI4B.js";
21
- import "./chunk-OPF3NOKF.js";
22
- import "./chunk-45IRUXPB.js";
23
- import "./chunk-BXQLKOOR.js";
24
- import "./chunk-JBOXCSTN.js";
25
- import "./chunk-HMJZHUCJ.js";
26
- import "./chunk-GILO3UHR.js";
27
- import "./chunk-ZNR3DE3J.js";
28
- import "./chunk-PWV2EBAH.js";
29
- import "./chunk-POI7GKE3.js";
30
- import "./chunk-W3RUAZ7T.js";
31
- import "./chunk-DSWKBZWW.js";
32
- import "./chunk-WGMLN3XQ.js";
33
- import "./chunk-77AINBYM.js";
34
- import "./chunk-QK6VYJHV.js";
35
- import "./chunk-RNVYGWIC.js";
36
- import "./chunk-YEUYKR62.js";
37
- import "./chunk-CDX4QK6O.js";
38
- import "./chunk-HX44GB4Z.js";
39
- import "./chunk-NVYDWVXN.js";
40
- import "./chunk-245PK5JC.js";
41
- import "./chunk-OWBRDNRZ.js";
42
- import "./chunk-G3T47CFV.js";
43
- import "./chunk-2H7UOFLK.js";
44
- export {
45
- NAMES_ITS_SUBJECT,
46
- findingMessage,
47
- renderCheckGithub
48
- };
49
- //# sourceMappingURL=github-O5YNWCV6.js.map
@@ -1,50 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- ENTRY_LABEL,
4
- renderCheckSarif,
5
- withFindingMessages
6
- } from "./chunk-YKMU42SP.js";
7
- import "./chunk-24BSKK64.js";
8
- import "./chunk-TQIYWZ74.js";
9
- import "./chunk-XXDRUBU4.js";
10
- import "./chunk-6V4NNZPT.js";
11
- import "./chunk-TSWQRVHI.js";
12
- import "./chunk-L3DKAY2B.js";
13
- import "./chunk-6X2EX232.js";
14
- import "./chunk-YOOU22BY.js";
15
- import "./chunk-OVC5QRU3.js";
16
- import "./chunk-KZVMJGKL.js";
17
- import "./chunk-NUCWAAEU.js";
18
- import "./chunk-TZVSVDIP.js";
19
- import "./chunk-OHYFMXR5.js";
20
- import "./chunk-XTKJNRJ6.js";
21
- import "./chunk-X3OCJI4B.js";
22
- import "./chunk-OPF3NOKF.js";
23
- import "./chunk-45IRUXPB.js";
24
- import "./chunk-BXQLKOOR.js";
25
- import "./chunk-JBOXCSTN.js";
26
- import "./chunk-HMJZHUCJ.js";
27
- import "./chunk-GILO3UHR.js";
28
- import "./chunk-ZNR3DE3J.js";
29
- import "./chunk-PWV2EBAH.js";
30
- import "./chunk-POI7GKE3.js";
31
- import "./chunk-W3RUAZ7T.js";
32
- import "./chunk-DSWKBZWW.js";
33
- import "./chunk-WGMLN3XQ.js";
34
- import "./chunk-77AINBYM.js";
35
- import "./chunk-QK6VYJHV.js";
36
- import "./chunk-RNVYGWIC.js";
37
- import "./chunk-YEUYKR62.js";
38
- import "./chunk-CDX4QK6O.js";
39
- import "./chunk-HX44GB4Z.js";
40
- import "./chunk-NVYDWVXN.js";
41
- import "./chunk-245PK5JC.js";
42
- import "./chunk-OWBRDNRZ.js";
43
- import "./chunk-G3T47CFV.js";
44
- import "./chunk-2H7UOFLK.js";
45
- export {
46
- ENTRY_LABEL,
47
- renderCheckSarif,
48
- withFindingMessages
49
- };
50
- //# sourceMappingURL=sarif-AWP6LGFO.js.map