@hawkeyexl/manni 4.27.2 → 4.29.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 (241) hide show
  1. package/README.md +33 -15
  2. package/dist/{batch-4QOPOFXK.js → batch-LKECW5WN.js} +12 -12
  3. package/dist/{build-WZYI3MS4.js → build-PIWP7QEQ.js} +13 -13
  4. package/dist/{calibrate-YF5YOF6P.js → calibrate-QBAVFCXX.js} +13 -13
  5. package/dist/{capture-5OHCZHY6.js → capture-VS4HY2FL.js} +12 -12
  6. package/dist/check-3AZ33DIQ.js +58 -0
  7. package/dist/{check-47CBTBLN.js → check-6T3ZZTBW.js} +12 -12
  8. package/dist/{check-5ENYBRH6.js → check-C7GN5ZUC.js} +10 -10
  9. package/dist/{check-SAZULN2G.js → check-HIIEDFCI.js} +22 -22
  10. package/dist/{check-44L4WMYC.js → check-LKZ2D5Y3.js} +13 -13
  11. package/dist/{chunk-XXDRUBU4.js → chunk-2A7L2AC2.js} +4 -4
  12. package/dist/{chunk-IJWYAAHH.js → chunk-2AC35AS2.js} +8 -8
  13. package/dist/{chunk-4R655S6D.js → chunk-2HZR3H2N.js} +2 -2
  14. package/dist/{chunk-LCON6Z7R.js → chunk-3FDQKFNQ.js} +2 -2
  15. package/dist/{chunk-BGTREDT3.js → chunk-3LAEG2JM.js} +4 -4
  16. package/dist/{chunk-XKNGNNEV.js → chunk-3NGA6KCU.js} +7 -6
  17. package/dist/chunk-3NGA6KCU.js.map +1 -0
  18. package/dist/{chunk-RTWLLWU3.js → chunk-44N4NCOQ.js} +2 -2
  19. package/dist/{chunk-3SCB5GXV.js → chunk-4AWM6625.js} +4 -4
  20. package/dist/{chunk-45IRUXPB.js → chunk-4XTNIPXL.js} +2 -2
  21. package/dist/{chunk-H26QMNA2.js → chunk-4ZKEJPRY.js} +341 -43
  22. package/dist/chunk-4ZKEJPRY.js.map +1 -0
  23. package/dist/{chunk-GILO3UHR.js → chunk-5BHBLVBD.js} +3 -3
  24. package/dist/{chunk-6V4NNZPT.js → chunk-5LSQZBLS.js} +4 -4
  25. package/dist/{chunk-6V4NNZPT.js.map → chunk-5LSQZBLS.js.map} +1 -1
  26. package/dist/{chunk-TZVSVDIP.js → chunk-6FNRVJQC.js} +6 -6
  27. package/dist/{chunk-Z4UB6PUJ.js → chunk-6QMD7FTM.js} +4 -4
  28. package/dist/{chunk-YWJ6G6MY.js → chunk-77RJZP3W.js} +7 -7
  29. package/dist/{chunk-Y26DPZHQ.js → chunk-7QIYWXKX.js} +10 -10
  30. package/dist/{chunk-X3OCJI4B.js → chunk-7SYTA2HW.js} +2 -2
  31. package/dist/{chunk-A7DUATBW.js → chunk-A2DDN2HO.js} +2 -2
  32. package/dist/{chunk-TQIYWZ74.js → chunk-A6FYDQC2.js} +4 -4
  33. package/dist/{chunk-6CFJAAL2.js → chunk-ACHFEEYB.js} +2 -2
  34. package/dist/{chunk-JGGHR7SX.js → chunk-AWJ7UWOH.js} +21 -5
  35. package/dist/{chunk-JGGHR7SX.js.map → chunk-AWJ7UWOH.js.map} +1 -1
  36. package/dist/{chunk-MJM2TAT6.js → chunk-BS2HWHLN.js} +6 -6
  37. package/dist/{chunk-T4U42TI2.js → chunk-C6M7SALA.js} +37 -20
  38. package/dist/chunk-C6M7SALA.js.map +1 -0
  39. package/dist/{chunk-MSJSORZU.js → chunk-C7KHPFDN.js} +8 -8
  40. package/dist/{chunk-WGMLN3XQ.js → chunk-D6HTXNFN.js} +2 -2
  41. package/dist/{chunk-YKMU42SP.js → chunk-DA5RHOH4.js} +5 -5
  42. package/dist/{chunk-NUCWAAEU.js → chunk-DM64IZA5.js} +3 -3
  43. package/dist/{chunk-2CV4IHSH.js → chunk-DT4VOGC6.js} +8 -8
  44. package/dist/{chunk-ZNR3DE3J.js → chunk-FR5IEI5I.js} +3 -3
  45. package/dist/{chunk-XZDADS3C.js → chunk-FRAEC2Y4.js} +3 -3
  46. package/dist/{chunk-NF4ZGAA2.js → chunk-HGL5VY2P.js} +4 -4
  47. package/dist/{chunk-POI7GKE3.js → chunk-HV6QKQTR.js} +3 -3
  48. package/dist/{chunk-XKJ4LPEA.js → chunk-I4C5VROJ.js} +2 -2
  49. package/dist/{chunk-DKJXF2JD.js → chunk-IPET4C6M.js} +10 -10
  50. package/dist/{chunk-KZHL7G3C.js → chunk-IYGSEC73.js} +2 -2
  51. package/dist/{chunk-PTSL6HNS.js → chunk-KCNRAZON.js} +8 -8
  52. package/dist/{chunk-YGICHT4R.js → chunk-KZK5JOET.js} +6 -6
  53. package/dist/{chunk-HZAB5W5K.js → chunk-LD7BSZMJ.js} +5 -5
  54. package/dist/{chunk-YUU632NO.js → chunk-LPTOSRG4.js} +2 -2
  55. package/dist/{chunk-6X2EX232.js → chunk-MD52QS2O.js} +3 -3
  56. package/dist/{chunk-KZVMJGKL.js → chunk-N7HOXMHV.js} +3 -3
  57. package/dist/{chunk-J7YGWYAD.js → chunk-NA3M7JLP.js} +6 -6
  58. package/dist/{chunk-YOOU22BY.js → chunk-OAA6SX2W.js} +3 -3
  59. package/dist/{chunk-J7MCZ3P4.js → chunk-OY7AMSDK.js} +2 -2
  60. package/dist/{chunk-PWV2EBAH.js → chunk-PVAJUMDT.js} +4 -4
  61. package/dist/{chunk-ZWVYT2G6.js → chunk-QEFVMOWF.js} +1 -1
  62. package/dist/chunk-QEFVMOWF.js.map +1 -0
  63. package/dist/{chunk-CXBLMAAN.js → chunk-RZX6I2NY.js} +3 -3
  64. package/dist/{chunk-MMMQAV7J.js → chunk-SF2WTUDR.js} +3 -3
  65. package/dist/{chunk-7XWQZZTR.js → chunk-SFUKZRTP.js} +2 -2
  66. package/dist/{chunk-W3RUAZ7T.js → chunk-SXWPKK4D.js} +2 -2
  67. package/dist/{chunk-Z4VRAU5R.js → chunk-TTHG53NH.js} +6 -6
  68. package/dist/{chunk-KWIK36BF.js → chunk-TWOWMTIH.js} +14 -7
  69. package/dist/chunk-TWOWMTIH.js.map +1 -0
  70. package/dist/{chunk-OVC5QRU3.js → chunk-VGIKTY7D.js} +2 -2
  71. package/dist/{chunk-NWC3HGUL.js → chunk-VQB22TCH.js} +366 -234
  72. package/dist/chunk-VQB22TCH.js.map +1 -0
  73. package/dist/{chunk-YQOXALQH.js → chunk-WV5VMIC5.js} +5 -5
  74. package/dist/{chunk-G2WIQDGN.js → chunk-Y7SBE6TC.js} +3 -3
  75. package/dist/{chunk-OHYFMXR5.js → chunk-YBDRFSOK.js} +5 -5
  76. package/dist/{chunk-L3DKAY2B.js → chunk-YQG4YCQL.js} +3 -3
  77. package/dist/{chunk-24BSKK64.js → chunk-YWHSZSQL.js} +3 -3
  78. package/dist/{chunk-245PK5JC.js → chunk-Z2KVPZYI.js} +2 -2
  79. package/dist/{chunk-245PK5JC.js.map → chunk-Z2KVPZYI.js.map} +1 -1
  80. package/dist/{chunk-TSWQRVHI.js → chunk-ZMLGMLXE.js} +13 -13
  81. package/dist/{chunk-2YGE2RDH.js → chunk-ZWE73OJR.js} +38 -15
  82. package/dist/chunk-ZWE73OJR.js.map +1 -0
  83. package/dist/{cli-ECZYBUCU.js → cli-56Z2RAWA.js} +30 -23
  84. package/dist/{cli-ECZYBUCU.js.map → cli-56Z2RAWA.js.map} +1 -1
  85. package/dist/{cli-5CTDXH46.js → cli-AVOEQZZM.js} +16 -16
  86. package/dist/{cli-XR2HNQHL.js → cli-B3RIVCKY.js} +52 -52
  87. package/dist/{cli-PMOBZK25.js → cli-BI2GQEDM.js} +28 -28
  88. package/dist/cli-BI2GQEDM.js.map +1 -0
  89. package/dist/{cli-WJ77FXIO.js → cli-OIYUAXPA.js} +33 -33
  90. package/dist/{cli-7KW2KTVM.js → cli-OY6RHP5P.js} +7 -7
  91. package/dist/{cli-R6IDEDBM.js → cli-Q3ZRWXB4.js} +19 -19
  92. package/dist/{cli-43QNBABK.js → cli-RMIZNJL3.js} +13 -13
  93. package/dist/{cli-V6FCV76L.js → cli-UINJ634O.js} +2 -2
  94. package/dist/{cli-DG7OR2FQ.js → cli-YAG5OFYC.js} +27 -27
  95. package/dist/{cli-A2ZDCWRU.js → cli-ZTSPDBDE.js} +13 -13
  96. package/dist/cli.js +15 -15
  97. package/dist/docmeta.js +6 -6
  98. package/dist/{github-RZWQU5YT.js → github-B3QCNYMP.js} +12 -12
  99. package/dist/{github-LEIY7MYA.js → github-PLPEWRPJ.js} +10 -10
  100. package/dist/github-XBGWVVIA.js +49 -0
  101. package/dist/index.d.ts +2642 -2542
  102. package/dist/index.js +71 -193
  103. package/dist/index.js.map +1 -1
  104. package/dist/{json-7D6RG6L3.js → json-7ERIDOTV.js} +13 -13
  105. package/dist/{json-DIMCA7FJ.js → json-UNN7BJM6.js} +10 -10
  106. package/dist/{labels-A2QABE4Z.js → labels-XUW7THEE.js} +9 -9
  107. package/dist/{lint-5DD7VDBK.js → lint-NWSLIVHJ.js} +11 -11
  108. package/dist/{list-PVTTSVTK.js → list-BKD62XJ4.js} +12 -12
  109. package/dist/{list-YSAQMVTC.js → list-TXOFFLES.js} +10 -10
  110. package/dist/list-WM4EHFC6.js +56 -0
  111. package/dist/{page-OA2ZD6SR.js → page-CFDNR2OB.js} +9 -9
  112. package/dist/{prepare-XQT6ZY2T.js → prepare-Y7WBJ3RZ.js} +11 -11
  113. package/dist/{pretty-VT3FYQU6.js → pretty-ALGCRVPF.js} +12 -12
  114. package/dist/{pretty-VIBC3XRD.js → pretty-BX6RMDVM.js} +22 -22
  115. package/dist/{pretty-CDIXJ2IB.js → pretty-MTAJRM7S.js} +10 -10
  116. package/dist/{reporters-NWTDJFZ3.js → reporters-OZPJP6UK.js} +4 -4
  117. package/dist/{reporters-SWZCB4H5.js → reporters-QSBVVOX7.js} +10 -10
  118. package/dist/run-UTKXWCM4.js +59 -0
  119. package/dist/sarif-6QY3B2KF.js +50 -0
  120. package/dist/{sarif-AHP2ERK4.js → sarif-JZSDSSBV.js} +8 -8
  121. package/dist/{sarif-KGTPEUQM.js → sarif-KTMQVMN5.js} +8 -8
  122. package/dist/{strategy-66CFSHDS.js → strategy-G25TI5UA.js} +19 -19
  123. package/dist/{term-G5F5C6E3.js → term-YYIAR32K.js} +15 -15
  124. package/dist/{validate-MCQT3JAS.js → validate-VKZJAD77.js} +4 -4
  125. package/package.json +1 -1
  126. package/plugin/manni/.claude-plugin/plugin.json +1 -1
  127. package/schemas/lint/template.json +6 -0
  128. package/templates/lint/tgdp/concept.yaml +46 -0
  129. package/templates/lint/tgdp/how-to.yaml +48 -0
  130. package/templates/lint/tgdp/readme.yaml +35 -0
  131. package/templates/lint/tgdp/reference.yaml +49 -0
  132. package/templates/lint/tgdp/release-notes.yaml +47 -0
  133. package/templates/lint/tgdp/troubleshooting.yaml +35 -0
  134. package/templates/lint/tgdp/tutorial.yaml +38 -0
  135. package/dist/check-ETOMWWIG.js +0 -58
  136. package/dist/chunk-2YGE2RDH.js.map +0 -1
  137. package/dist/chunk-H26QMNA2.js.map +0 -1
  138. package/dist/chunk-KWIK36BF.js.map +0 -1
  139. package/dist/chunk-NWC3HGUL.js.map +0 -1
  140. package/dist/chunk-T4U42TI2.js.map +0 -1
  141. package/dist/chunk-XKNGNNEV.js.map +0 -1
  142. package/dist/chunk-ZWVYT2G6.js.map +0 -1
  143. package/dist/cli-PMOBZK25.js.map +0 -1
  144. package/dist/github-O5YNWCV6.js +0 -49
  145. package/dist/list-ESLZLQX3.js +0 -49
  146. package/dist/run-GM6KO3ZB.js +0 -52
  147. package/dist/sarif-AWP6LGFO.js +0 -50
  148. /package/dist/{batch-4QOPOFXK.js.map → batch-LKECW5WN.js.map} +0 -0
  149. /package/dist/{build-WZYI3MS4.js.map → build-PIWP7QEQ.js.map} +0 -0
  150. /package/dist/{calibrate-YF5YOF6P.js.map → calibrate-QBAVFCXX.js.map} +0 -0
  151. /package/dist/{capture-5OHCZHY6.js.map → capture-VS4HY2FL.js.map} +0 -0
  152. /package/dist/{check-47CBTBLN.js.map → check-3AZ33DIQ.js.map} +0 -0
  153. /package/dist/{check-5ENYBRH6.js.map → check-6T3ZZTBW.js.map} +0 -0
  154. /package/dist/{check-ETOMWWIG.js.map → check-C7GN5ZUC.js.map} +0 -0
  155. /package/dist/{check-SAZULN2G.js.map → check-HIIEDFCI.js.map} +0 -0
  156. /package/dist/{check-44L4WMYC.js.map → check-LKZ2D5Y3.js.map} +0 -0
  157. /package/dist/{chunk-XXDRUBU4.js.map → chunk-2A7L2AC2.js.map} +0 -0
  158. /package/dist/{chunk-IJWYAAHH.js.map → chunk-2AC35AS2.js.map} +0 -0
  159. /package/dist/{chunk-4R655S6D.js.map → chunk-2HZR3H2N.js.map} +0 -0
  160. /package/dist/{chunk-LCON6Z7R.js.map → chunk-3FDQKFNQ.js.map} +0 -0
  161. /package/dist/{chunk-BGTREDT3.js.map → chunk-3LAEG2JM.js.map} +0 -0
  162. /package/dist/{chunk-RTWLLWU3.js.map → chunk-44N4NCOQ.js.map} +0 -0
  163. /package/dist/{chunk-3SCB5GXV.js.map → chunk-4AWM6625.js.map} +0 -0
  164. /package/dist/{chunk-45IRUXPB.js.map → chunk-4XTNIPXL.js.map} +0 -0
  165. /package/dist/{chunk-GILO3UHR.js.map → chunk-5BHBLVBD.js.map} +0 -0
  166. /package/dist/{chunk-TZVSVDIP.js.map → chunk-6FNRVJQC.js.map} +0 -0
  167. /package/dist/{chunk-Z4UB6PUJ.js.map → chunk-6QMD7FTM.js.map} +0 -0
  168. /package/dist/{chunk-YWJ6G6MY.js.map → chunk-77RJZP3W.js.map} +0 -0
  169. /package/dist/{chunk-Y26DPZHQ.js.map → chunk-7QIYWXKX.js.map} +0 -0
  170. /package/dist/{chunk-X3OCJI4B.js.map → chunk-7SYTA2HW.js.map} +0 -0
  171. /package/dist/{chunk-A7DUATBW.js.map → chunk-A2DDN2HO.js.map} +0 -0
  172. /package/dist/{chunk-TQIYWZ74.js.map → chunk-A6FYDQC2.js.map} +0 -0
  173. /package/dist/{chunk-6CFJAAL2.js.map → chunk-ACHFEEYB.js.map} +0 -0
  174. /package/dist/{chunk-MJM2TAT6.js.map → chunk-BS2HWHLN.js.map} +0 -0
  175. /package/dist/{chunk-MSJSORZU.js.map → chunk-C7KHPFDN.js.map} +0 -0
  176. /package/dist/{chunk-WGMLN3XQ.js.map → chunk-D6HTXNFN.js.map} +0 -0
  177. /package/dist/{chunk-YKMU42SP.js.map → chunk-DA5RHOH4.js.map} +0 -0
  178. /package/dist/{chunk-NUCWAAEU.js.map → chunk-DM64IZA5.js.map} +0 -0
  179. /package/dist/{chunk-2CV4IHSH.js.map → chunk-DT4VOGC6.js.map} +0 -0
  180. /package/dist/{chunk-ZNR3DE3J.js.map → chunk-FR5IEI5I.js.map} +0 -0
  181. /package/dist/{chunk-XZDADS3C.js.map → chunk-FRAEC2Y4.js.map} +0 -0
  182. /package/dist/{chunk-NF4ZGAA2.js.map → chunk-HGL5VY2P.js.map} +0 -0
  183. /package/dist/{chunk-POI7GKE3.js.map → chunk-HV6QKQTR.js.map} +0 -0
  184. /package/dist/{chunk-XKJ4LPEA.js.map → chunk-I4C5VROJ.js.map} +0 -0
  185. /package/dist/{chunk-DKJXF2JD.js.map → chunk-IPET4C6M.js.map} +0 -0
  186. /package/dist/{chunk-KZHL7G3C.js.map → chunk-IYGSEC73.js.map} +0 -0
  187. /package/dist/{chunk-PTSL6HNS.js.map → chunk-KCNRAZON.js.map} +0 -0
  188. /package/dist/{chunk-YGICHT4R.js.map → chunk-KZK5JOET.js.map} +0 -0
  189. /package/dist/{chunk-HZAB5W5K.js.map → chunk-LD7BSZMJ.js.map} +0 -0
  190. /package/dist/{chunk-YUU632NO.js.map → chunk-LPTOSRG4.js.map} +0 -0
  191. /package/dist/{chunk-6X2EX232.js.map → chunk-MD52QS2O.js.map} +0 -0
  192. /package/dist/{chunk-KZVMJGKL.js.map → chunk-N7HOXMHV.js.map} +0 -0
  193. /package/dist/{chunk-J7YGWYAD.js.map → chunk-NA3M7JLP.js.map} +0 -0
  194. /package/dist/{chunk-YOOU22BY.js.map → chunk-OAA6SX2W.js.map} +0 -0
  195. /package/dist/{chunk-J7MCZ3P4.js.map → chunk-OY7AMSDK.js.map} +0 -0
  196. /package/dist/{chunk-PWV2EBAH.js.map → chunk-PVAJUMDT.js.map} +0 -0
  197. /package/dist/{chunk-CXBLMAAN.js.map → chunk-RZX6I2NY.js.map} +0 -0
  198. /package/dist/{chunk-MMMQAV7J.js.map → chunk-SF2WTUDR.js.map} +0 -0
  199. /package/dist/{chunk-7XWQZZTR.js.map → chunk-SFUKZRTP.js.map} +0 -0
  200. /package/dist/{chunk-W3RUAZ7T.js.map → chunk-SXWPKK4D.js.map} +0 -0
  201. /package/dist/{chunk-Z4VRAU5R.js.map → chunk-TTHG53NH.js.map} +0 -0
  202. /package/dist/{chunk-OVC5QRU3.js.map → chunk-VGIKTY7D.js.map} +0 -0
  203. /package/dist/{chunk-YQOXALQH.js.map → chunk-WV5VMIC5.js.map} +0 -0
  204. /package/dist/{chunk-G2WIQDGN.js.map → chunk-Y7SBE6TC.js.map} +0 -0
  205. /package/dist/{chunk-OHYFMXR5.js.map → chunk-YBDRFSOK.js.map} +0 -0
  206. /package/dist/{chunk-L3DKAY2B.js.map → chunk-YQG4YCQL.js.map} +0 -0
  207. /package/dist/{chunk-24BSKK64.js.map → chunk-YWHSZSQL.js.map} +0 -0
  208. /package/dist/{chunk-TSWQRVHI.js.map → chunk-ZMLGMLXE.js.map} +0 -0
  209. /package/dist/{cli-5CTDXH46.js.map → cli-AVOEQZZM.js.map} +0 -0
  210. /package/dist/{cli-XR2HNQHL.js.map → cli-B3RIVCKY.js.map} +0 -0
  211. /package/dist/{cli-WJ77FXIO.js.map → cli-OIYUAXPA.js.map} +0 -0
  212. /package/dist/{cli-7KW2KTVM.js.map → cli-OY6RHP5P.js.map} +0 -0
  213. /package/dist/{cli-R6IDEDBM.js.map → cli-Q3ZRWXB4.js.map} +0 -0
  214. /package/dist/{cli-43QNBABK.js.map → cli-RMIZNJL3.js.map} +0 -0
  215. /package/dist/{cli-V6FCV76L.js.map → cli-UINJ634O.js.map} +0 -0
  216. /package/dist/{cli-DG7OR2FQ.js.map → cli-YAG5OFYC.js.map} +0 -0
  217. /package/dist/{cli-A2ZDCWRU.js.map → cli-ZTSPDBDE.js.map} +0 -0
  218. /package/dist/{github-LEIY7MYA.js.map → github-B3QCNYMP.js.map} +0 -0
  219. /package/dist/{github-O5YNWCV6.js.map → github-PLPEWRPJ.js.map} +0 -0
  220. /package/dist/{github-RZWQU5YT.js.map → github-XBGWVVIA.js.map} +0 -0
  221. /package/dist/{json-7D6RG6L3.js.map → json-7ERIDOTV.js.map} +0 -0
  222. /package/dist/{json-DIMCA7FJ.js.map → json-UNN7BJM6.js.map} +0 -0
  223. /package/dist/{labels-A2QABE4Z.js.map → labels-XUW7THEE.js.map} +0 -0
  224. /package/dist/{lint-5DD7VDBK.js.map → lint-NWSLIVHJ.js.map} +0 -0
  225. /package/dist/{list-ESLZLQX3.js.map → list-BKD62XJ4.js.map} +0 -0
  226. /package/dist/{list-PVTTSVTK.js.map → list-TXOFFLES.js.map} +0 -0
  227. /package/dist/{list-YSAQMVTC.js.map → list-WM4EHFC6.js.map} +0 -0
  228. /package/dist/{page-OA2ZD6SR.js.map → page-CFDNR2OB.js.map} +0 -0
  229. /package/dist/{prepare-XQT6ZY2T.js.map → prepare-Y7WBJ3RZ.js.map} +0 -0
  230. /package/dist/{pretty-CDIXJ2IB.js.map → pretty-ALGCRVPF.js.map} +0 -0
  231. /package/dist/{pretty-VIBC3XRD.js.map → pretty-BX6RMDVM.js.map} +0 -0
  232. /package/dist/{pretty-VT3FYQU6.js.map → pretty-MTAJRM7S.js.map} +0 -0
  233. /package/dist/{reporters-NWTDJFZ3.js.map → reporters-OZPJP6UK.js.map} +0 -0
  234. /package/dist/{reporters-SWZCB4H5.js.map → reporters-QSBVVOX7.js.map} +0 -0
  235. /package/dist/{run-GM6KO3ZB.js.map → run-UTKXWCM4.js.map} +0 -0
  236. /package/dist/{sarif-AHP2ERK4.js.map → sarif-6QY3B2KF.js.map} +0 -0
  237. /package/dist/{sarif-AWP6LGFO.js.map → sarif-JZSDSSBV.js.map} +0 -0
  238. /package/dist/{sarif-KGTPEUQM.js.map → sarif-KTMQVMN5.js.map} +0 -0
  239. /package/dist/{strategy-66CFSHDS.js.map → strategy-G25TI5UA.js.map} +0 -0
  240. /package/dist/{term-G5F5C6E3.js.map → term-YYIAR32K.js.map} +0 -0
  241. /package/dist/{validate-MCQT3JAS.js.map → validate-VKZJAD77.js.map} +0 -0
@@ -7,12 +7,12 @@ import {
7
7
  renderTasks,
8
8
  runProcedures,
9
9
  runTasks
10
- } from "./chunk-YWJ6G6MY.js";
10
+ } from "./chunk-77RJZP3W.js";
11
11
  import "./chunk-TT5UDTDM.js";
12
- import "./chunk-6CFJAAL2.js";
12
+ import "./chunk-ACHFEEYB.js";
13
13
  import "./chunk-FQGLRJGX.js";
14
14
  import "./chunk-VHJ72YCD.js";
15
- import "./chunk-G2WIQDGN.js";
15
+ import "./chunk-Y7SBE6TC.js";
16
16
  import "./chunk-BTFXOKCP.js";
17
17
  import "./chunk-6WJUZQQX.js";
18
18
  import "./chunk-NHOGTAPK.js";
@@ -20,25 +20,25 @@ import "./chunk-ZINZTHWO.js";
20
20
  import "./chunk-XG6PVB5S.js";
21
21
  import "./chunk-YNHZHSSM.js";
22
22
  import "./chunk-QS2Z3SWL.js";
23
- import "./chunk-L3DKAY2B.js";
24
- import "./chunk-YOOU22BY.js";
25
- import "./chunk-TZVSVDIP.js";
26
- import "./chunk-OHYFMXR5.js";
23
+ import "./chunk-YQG4YCQL.js";
24
+ import "./chunk-OAA6SX2W.js";
25
+ import "./chunk-6FNRVJQC.js";
26
+ import "./chunk-YBDRFSOK.js";
27
27
  import "./chunk-XTKJNRJ6.js";
28
- import "./chunk-X3OCJI4B.js";
28
+ import "./chunk-7SYTA2HW.js";
29
29
  import "./chunk-OPF3NOKF.js";
30
30
  import "./chunk-BXQLKOOR.js";
31
31
  import "./chunk-JBOXCSTN.js";
32
32
  import "./chunk-HMJZHUCJ.js";
33
- import "./chunk-GILO3UHR.js";
34
- import "./chunk-ZNR3DE3J.js";
35
- import "./chunk-PWV2EBAH.js";
36
- import "./chunk-POI7GKE3.js";
33
+ import "./chunk-5BHBLVBD.js";
34
+ import "./chunk-FR5IEI5I.js";
35
+ import "./chunk-PVAJUMDT.js";
36
+ import "./chunk-HV6QKQTR.js";
37
37
  import {
38
38
  collect
39
- } from "./chunk-W3RUAZ7T.js";
39
+ } from "./chunk-SXWPKK4D.js";
40
40
  import "./chunk-DSWKBZWW.js";
41
- import "./chunk-WGMLN3XQ.js";
41
+ import "./chunk-D6HTXNFN.js";
42
42
  import "./chunk-77AINBYM.js";
43
43
  import "./chunk-QK6VYJHV.js";
44
44
  import {
@@ -52,7 +52,7 @@ import "./chunk-HX44GB4Z.js";
52
52
  import "./chunk-NVYDWVXN.js";
53
53
  import {
54
54
  package_default
55
- } from "./chunk-245PK5JC.js";
55
+ } from "./chunk-Z2KVPZYI.js";
56
56
  import "./chunk-OWBRDNRZ.js";
57
57
  import "./chunk-G3T47CFV.js";
58
58
  import "./chunk-2H7UOFLK.js";
@@ -150,4 +150,4 @@ function buildProgram() {
150
150
  export {
151
151
  buildProgram
152
152
  };
153
- //# sourceMappingURL=cli-5CTDXH46.js.map
153
+ //# sourceMappingURL=cli-AVOEQZZM.js.map
@@ -1,15 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  idHash
4
- } from "./chunk-7XWQZZTR.js";
5
- import "./chunk-BGTREDT3.js";
4
+ } from "./chunk-SFUKZRTP.js";
5
+ import "./chunk-3LAEG2JM.js";
6
6
  import {
7
7
  readStdin
8
8
  } from "./chunk-OZUPJB4J.js";
9
- import "./chunk-4R655S6D.js";
9
+ import "./chunk-2HZR3H2N.js";
10
10
  import "./chunk-4TSWU2SU.js";
11
11
  import "./chunk-VHJ72YCD.js";
12
- import "./chunk-G2WIQDGN.js";
12
+ import "./chunk-Y7SBE6TC.js";
13
13
  import {
14
14
  DEFAULT_CAPTURE_DIR
15
15
  } from "./chunk-6WJUZQQX.js";
@@ -17,37 +17,37 @@ import "./chunk-ZINZTHWO.js";
17
17
  import {
18
18
  impactLines,
19
19
  impactNotice
20
- } from "./chunk-TSWQRVHI.js";
21
- import "./chunk-L3DKAY2B.js";
22
- import "./chunk-6X2EX232.js";
23
- import "./chunk-YOOU22BY.js";
24
- import "./chunk-OVC5QRU3.js";
25
- import "./chunk-KZVMJGKL.js";
26
- import "./chunk-NUCWAAEU.js";
27
- import "./chunk-TZVSVDIP.js";
28
- import "./chunk-OHYFMXR5.js";
20
+ } from "./chunk-ZMLGMLXE.js";
21
+ import "./chunk-YQG4YCQL.js";
22
+ import "./chunk-MD52QS2O.js";
23
+ import "./chunk-OAA6SX2W.js";
24
+ import "./chunk-VGIKTY7D.js";
25
+ import "./chunk-N7HOXMHV.js";
26
+ import "./chunk-DM64IZA5.js";
27
+ import "./chunk-6FNRVJQC.js";
28
+ import "./chunk-YBDRFSOK.js";
29
29
  import "./chunk-XTKJNRJ6.js";
30
- import "./chunk-X3OCJI4B.js";
30
+ import "./chunk-7SYTA2HW.js";
31
31
  import "./chunk-OPF3NOKF.js";
32
- import "./chunk-45IRUXPB.js";
32
+ import "./chunk-4XTNIPXL.js";
33
33
  import "./chunk-BXQLKOOR.js";
34
34
  import "./chunk-JBOXCSTN.js";
35
35
  import "./chunk-HMJZHUCJ.js";
36
- import "./chunk-GILO3UHR.js";
37
- import "./chunk-ZNR3DE3J.js";
38
- import "./chunk-PWV2EBAH.js";
39
- import "./chunk-POI7GKE3.js";
36
+ import "./chunk-5BHBLVBD.js";
37
+ import "./chunk-FR5IEI5I.js";
38
+ import "./chunk-PVAJUMDT.js";
39
+ import "./chunk-HV6QKQTR.js";
40
40
  import {
41
41
  memberOf,
42
42
  retainMembers
43
- } from "./chunk-W3RUAZ7T.js";
43
+ } from "./chunk-SXWPKK4D.js";
44
44
  import "./chunk-DSWKBZWW.js";
45
45
  import {
46
46
  extractorForExtension,
47
47
  resolveTargetSet,
48
48
  supportedExtensions,
49
49
  withSharedWalks
50
- } from "./chunk-WGMLN3XQ.js";
50
+ } from "./chunk-D6HTXNFN.js";
51
51
  import "./chunk-77AINBYM.js";
52
52
  import {
53
53
  escapeWorkflowCommandMessage,
@@ -71,7 +71,7 @@ import {
71
71
  import "./chunk-NVYDWVXN.js";
72
72
  import {
73
73
  package_default
74
- } from "./chunk-245PK5JC.js";
74
+ } from "./chunk-Z2KVPZYI.js";
75
75
  import {
76
76
  programName
77
77
  } from "./chunk-OWBRDNRZ.js";
@@ -370,8 +370,8 @@ function ownSchemaCount(cwd, members) {
370
370
  return n;
371
371
  }
372
372
  async function citedPages(cwd, configPath) {
373
- const { prepareRun, readTarget } = await import("./check-SAZULN2G.js");
374
- const { readPage } = await import("./page-OA2ZD6SR.js");
373
+ const { prepareRun, readTarget } = await import("./check-HIIEDFCI.js");
374
+ const { readPage } = await import("./page-CFDNR2OB.js");
375
375
  const prepared = await prepareRun({ inputs: [], configPath, cwd, checkSources: false }, "checked", "check");
376
376
  let n = 0;
377
377
  for (const file of prepared.files) {
@@ -399,7 +399,7 @@ async function row(domain, family, cwd, members) {
399
399
  }
400
400
  case "docevals": {
401
401
  const [{ runList: listEvals }, { DocevalsError }] = await Promise.all([
402
- import("./list-ESLZLQX3.js"),
402
+ import("./list-WM4EHFC6.js"),
403
403
  import("./types-GV2THIRC.js")
404
404
  ]);
405
405
  let plans;
@@ -414,14 +414,14 @@ async function row(domain, family, cwd, members) {
414
414
  return inPlay(section ? "docevals: section" : pages(n, "declares evals", "declare evals"));
415
415
  }
416
416
  case "term": {
417
- const { runList: listTerms } = await import("./list-YSAQMVTC.js");
417
+ const { runList: listTerms } = await import("./list-TXOFFLES.js");
418
418
  const { terms } = await listTerms({ inputs: [], configPath, cwd, allowEmpty: true });
419
419
  return terms.length > 0 ? inPlay(plural(terms.length, "term")) : notSetUp;
420
420
  }
421
421
  case "strategy": {
422
422
  const [{ runList: listStrategy }, { countsLine }] = await Promise.all([
423
- import("./list-PVTTSVTK.js"),
424
- import("./pretty-VT3FYQU6.js")
423
+ import("./list-BKD62XJ4.js"),
424
+ import("./pretty-ALGCRVPF.js")
425
425
  ]);
426
426
  const { set } = await listStrategy({ inputs: [], configPath, cwd, allowEmpty: true });
427
427
  return set.records.length > 0 ? inPlay(countsLine(set.records)) : notSetUp;
@@ -554,8 +554,8 @@ async function runDomain(domain, ctx) {
554
554
  switch (domain) {
555
555
  case "meta": {
556
556
  const [{ runValidate }, { render: renderMeta }] = await Promise.all([
557
- import("./validate-MCQT3JAS.js"),
558
- import("./reporters-NWTDJFZ3.js")
557
+ import("./validate-VKZJAD77.js"),
558
+ import("./reporters-OZPJP6UK.js")
559
559
  ]);
560
560
  const run2 = await runValidate({ inputs, configPath, cwd, skipDefaultOnly: true, onNotice });
561
561
  if (run2.results.length === 0) {
@@ -575,11 +575,11 @@ async function runDomain(domain, ctx) {
575
575
  { renderCheckGithub: citeGithub },
576
576
  { renderCheckSarif: citeSarif }
577
577
  ] = await Promise.all([
578
- import("./check-SAZULN2G.js"),
579
- import("./pretty-VIBC3XRD.js"),
578
+ import("./check-HIIEDFCI.js"),
579
+ import("./pretty-BX6RMDVM.js"),
580
580
  import("./json-CG2WAD5V.js"),
581
- import("./github-O5YNWCV6.js"),
582
- import("./sarif-AWP6LGFO.js")
581
+ import("./github-XBGWVVIA.js"),
582
+ import("./sarif-6QY3B2KF.js")
583
583
  ]);
584
584
  const run2 = await runCite({ inputs, configPath, cwd, onNotice });
585
585
  if (!run2.pages.some((p) => p.citations.length > 0 || p.findings.length > 0)) {
@@ -605,8 +605,8 @@ async function runDomain(domain, ctx) {
605
605
  case "lint": {
606
606
  if (!family.sections.has("lint")) return { skipped: NOT_SET_UP.lint };
607
607
  const [{ runLint }, { render: renderLint }] = await Promise.all([
608
- import("./lint-5DD7VDBK.js"),
609
- import("./reporters-SWZCB4H5.js")
608
+ import("./lint-NWSLIVHJ.js"),
609
+ import("./reporters-QSBVVOX7.js")
610
610
  ]);
611
611
  const run2 = await runLint({ inputs, configPath, cwd, onNotice });
612
612
  const root = inputs.length === 0 ? resolve4(cwd, family.file.dir) : cwd;
@@ -620,7 +620,7 @@ async function runDomain(domain, ctx) {
620
620
  }
621
621
  case "docevals": {
622
622
  const [{ runRun: runDocevals }, { render: renderDocevals }, { DocevalsError }] = await Promise.all([
623
- import("./run-GM6KO3ZB.js"),
623
+ import("./run-UTKXWCM4.js"),
624
624
  import("./reporters-MK62LRGW.js"),
625
625
  import("./types-GV2THIRC.js")
626
626
  ]);
@@ -659,11 +659,11 @@ async function runDomain(domain, ctx) {
659
659
  { renderFindingsGithub: termGithub },
660
660
  { renderFindingsSarif: termSarif }
661
661
  ] = await Promise.all([
662
- import("./check-5ENYBRH6.js"),
663
- import("./pretty-CDIXJ2IB.js"),
664
- import("./json-DIMCA7FJ.js"),
665
- import("./github-LEIY7MYA.js"),
666
- import("./sarif-KGTPEUQM.js")
662
+ import("./check-C7GN5ZUC.js"),
663
+ import("./pretty-MTAJRM7S.js"),
664
+ import("./json-UNN7BJM6.js"),
665
+ import("./github-PLPEWRPJ.js"),
666
+ import("./sarif-KTMQVMN5.js")
667
667
  ]);
668
668
  const report = await runTerm({ inputs, configPath, cwd, allowEmpty: true, onNotice });
669
669
  if (report.terms === 0) return { skipped: NOT_SET_UP.term };
@@ -692,11 +692,11 @@ async function runDomain(domain, ctx) {
692
692
  { renderFindingsGithub: strategyGithub },
693
693
  { renderFindingsSarif: strategySarif }
694
694
  ] = await Promise.all([
695
- import("./check-47CBTBLN.js"),
696
- import("./pretty-VT3FYQU6.js"),
697
- import("./json-7D6RG6L3.js"),
698
- import("./github-RZWQU5YT.js"),
699
- import("./sarif-AHP2ERK4.js")
695
+ import("./check-6T3ZZTBW.js"),
696
+ import("./pretty-ALGCRVPF.js"),
697
+ import("./json-7ERIDOTV.js"),
698
+ import("./github-B3QCNYMP.js"),
699
+ import("./sarif-JZSDSSBV.js")
700
700
  ]);
701
701
  const report = await runStrategy({ inputs, configPath, cwd, allowEmpty: true, onNotice });
702
702
  if (report.records === 0) return { skipped: NOT_SET_UP.strategy };
@@ -720,8 +720,8 @@ async function runDomain(domain, ctx) {
720
720
  case "graph": {
721
721
  if (!family.sections.has("graph")) return { skipped: NOT_SET_UP.graph };
722
722
  const [{ buildGraph }, { runCheck: runGraph, renderCheck: renderGraph }] = await Promise.all([
723
- import("./build-WZYI3MS4.js"),
724
- import("./check-ETOMWWIG.js")
723
+ import("./build-PIWP7QEQ.js"),
724
+ import("./check-3AZ33DIQ.js")
725
725
  ]);
726
726
  const built = await buildGraph({ config: configPath, cwd });
727
727
  for (const warning of built.warnings) onNotice(warning);
@@ -818,7 +818,7 @@ async function checkUnshared(opts) {
818
818
  async function impactFor(family, cwd, checks, onNotice) {
819
819
  const placed = checks.flatMap((c) => isRan(c) ? c.findings ?? [] : []);
820
820
  if (placed.length === 0) return void 0;
821
- const { impactOf, loadServing } = await import("./strategy-66CFSHDS.js");
821
+ const { impactOf, loadServing } = await import("./strategy-G25TI5UA.js");
822
822
  let serving;
823
823
  try {
824
824
  serving = await loadServing({ cwd, configPath: family.configPath });
@@ -1048,7 +1048,7 @@ async function runTurnCheck(envelope, cwd, seams = {}) {
1048
1048
  let renderTurn;
1049
1049
  try {
1050
1050
  const [{ checkTurn }, reporters] = await Promise.all([
1051
- import("./check-44L4WMYC.js"),
1051
+ import("./check-LKZ2D5Y3.js"),
1052
1052
  import("./runtime-7QE3DW6S.js")
1053
1053
  ]);
1054
1054
  renderTurn = reporters.renderCheck;
@@ -1212,4 +1212,4 @@ export {
1212
1212
  buildStatus,
1213
1213
  hookScope
1214
1214
  };
1215
- //# sourceMappingURL=cli-XR2HNQHL.js.map
1215
+ //# sourceMappingURL=cli-B3RIVCKY.js.map
@@ -3,17 +3,17 @@ import {
3
3
  ENTRY_LABEL,
4
4
  renderCheckSarif,
5
5
  withFindingMessages
6
- } from "./chunk-YKMU42SP.js";
6
+ } from "./chunk-DA5RHOH4.js";
7
7
  import {
8
8
  runAdd,
9
9
  runHistory,
10
10
  runRemove,
11
11
  runUpdate
12
- } from "./chunk-T4U42TI2.js";
12
+ } from "./chunk-C6M7SALA.js";
13
13
  import {
14
14
  parseRepoFlags,
15
15
  runCheck
16
- } from "./chunk-YGICHT4R.js";
16
+ } from "./chunk-KZK5JOET.js";
17
17
  import {
18
18
  renderCheckJson,
19
19
  renderHistoryJson,
@@ -22,45 +22,45 @@ import {
22
22
  } from "./chunk-IM7C3H4W.js";
23
23
  import {
24
24
  renderCheckGithub
25
- } from "./chunk-24BSKK64.js";
25
+ } from "./chunk-YWHSZSQL.js";
26
26
  import {
27
27
  renderCheckPretty,
28
28
  renderHistoryPretty,
29
29
  renderRemovePretty,
30
30
  renderUpdatePretty
31
- } from "./chunk-TQIYWZ74.js";
31
+ } from "./chunk-A6FYDQC2.js";
32
32
  import {
33
33
  shortCommit,
34
34
  shortLine,
35
35
  shortPin,
36
36
  shortSrc
37
- } from "./chunk-XXDRUBU4.js";
37
+ } from "./chunk-2A7L2AC2.js";
38
38
  import {
39
39
  CiteError,
40
40
  asCiteError,
41
41
  spellSource
42
- } from "./chunk-6V4NNZPT.js";
43
- import "./chunk-TSWQRVHI.js";
44
- import "./chunk-L3DKAY2B.js";
45
- import "./chunk-6X2EX232.js";
46
- import "./chunk-YOOU22BY.js";
47
- import "./chunk-OVC5QRU3.js";
48
- import "./chunk-KZVMJGKL.js";
49
- import "./chunk-NUCWAAEU.js";
50
- import "./chunk-TZVSVDIP.js";
51
- import "./chunk-OHYFMXR5.js";
42
+ } from "./chunk-5LSQZBLS.js";
43
+ import "./chunk-ZMLGMLXE.js";
44
+ import "./chunk-YQG4YCQL.js";
45
+ import "./chunk-MD52QS2O.js";
46
+ import "./chunk-OAA6SX2W.js";
47
+ import "./chunk-VGIKTY7D.js";
48
+ import "./chunk-N7HOXMHV.js";
49
+ import "./chunk-DM64IZA5.js";
50
+ import "./chunk-6FNRVJQC.js";
51
+ import "./chunk-YBDRFSOK.js";
52
52
  import "./chunk-XTKJNRJ6.js";
53
- import "./chunk-X3OCJI4B.js";
53
+ import "./chunk-7SYTA2HW.js";
54
54
  import "./chunk-OPF3NOKF.js";
55
- import "./chunk-45IRUXPB.js";
55
+ import "./chunk-4XTNIPXL.js";
56
56
  import "./chunk-BXQLKOOR.js";
57
57
  import "./chunk-JBOXCSTN.js";
58
58
  import "./chunk-HMJZHUCJ.js";
59
- import "./chunk-GILO3UHR.js";
60
- import "./chunk-ZNR3DE3J.js";
59
+ import "./chunk-5BHBLVBD.js";
60
+ import "./chunk-FR5IEI5I.js";
61
61
  import {
62
62
  terminalConfirm
63
- } from "./chunk-PWV2EBAH.js";
63
+ } from "./chunk-PVAJUMDT.js";
64
64
  import {
65
65
  COMMON_FORMAT_LIST,
66
66
  OMITTED_WHEN_CLEAN,
@@ -69,7 +69,7 @@ import {
69
69
  isMachineFormat,
70
70
  isReportFormat,
71
71
  renderJunit
72
- } from "./chunk-POI7GKE3.js";
72
+ } from "./chunk-HV6QKQTR.js";
73
73
  import {
74
74
  collect,
75
75
  configOption,
@@ -78,11 +78,11 @@ import {
78
78
  reportConfig,
79
79
  splitList,
80
80
  splitPageArgument
81
- } from "./chunk-W3RUAZ7T.js";
81
+ } from "./chunk-SXWPKK4D.js";
82
82
  import "./chunk-DSWKBZWW.js";
83
83
  import {
84
84
  STDIN_TOKEN
85
- } from "./chunk-WGMLN3XQ.js";
85
+ } from "./chunk-D6HTXNFN.js";
86
86
  import "./chunk-77AINBYM.js";
87
87
  import "./chunk-QK6VYJHV.js";
88
88
  import {
@@ -98,7 +98,7 @@ import {
98
98
  import "./chunk-NVYDWVXN.js";
99
99
  import {
100
100
  package_default
101
- } from "./chunk-245PK5JC.js";
101
+ } from "./chunk-Z2KVPZYI.js";
102
102
  import "./chunk-OWBRDNRZ.js";
103
103
  import "./chunk-G3T47CFV.js";
104
104
  import "./chunk-2H7UOFLK.js";
@@ -158,7 +158,7 @@ function addMessage(result) {
158
158
  const head = `${result.file}: added ${name} to ${where}`;
159
159
  if (result.markerLine !== void 0) {
160
160
  const at = claimLines === void 0 ? "" : `, claim pinned at ${spellAt(claimLines)}`;
161
- const wrote = result.markerJoined === true ? "joined the marker at line" : "marker at line";
161
+ const wrote = result.markerAdopted === true ? "adopted the marker at line" : result.markerJoined === true ? "joined the marker at line" : "marker at line";
162
162
  const marked = `${head}; ${wrote} ${String(result.markerLine)}${at}`;
163
163
  if (claim === void 0) return marked;
164
164
  if (citation.quote === true) return `${marked} (a block that reproduces ${src})`;
@@ -293,7 +293,7 @@ function buildProgram() {
293
293
  ).argument(
294
294
  "<src>",
295
295
  "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"
296
- ).option("--id <id>", "kebab-case id, unique on the page; required with --marker").option("--marker", "write a cite <id> marker above the paragraph holding the page lines and pin the text it anchors").option("--quote", "the page lines are a fenced block that reproduces the source").option(
296
+ ).option("--id <id>", "kebab-case id, unique on the page; required with --marker").option("--marker", "write a cite <id> marker above the paragraph holding the page lines and pin the text it anchors; a marker already naming the id is adopted without this flag").option("--quote", "the page lines are a fenced block that reproduces the source").option(
297
297
  "--encrypt",
298
298
  "write source.file encrypted, with an hmac-sha256- pin; with no key, offer to create one (an available key encrypts without the flag)"
299
299
  ).option("--no-commit-sha", "do not record HEAD").option("--dry-run", "print the diff; write nothing").option("--as <format>", "force the page format").option("--root <dir>", "directory source paths resolve from (as check)").option(
@@ -592,4 +592,4 @@ export {
592
592
  colorFor,
593
593
  splitPageArgument2 as splitPageArgument
594
594
  };
595
- //# sourceMappingURL=cli-PMOBZK25.js.map
595
+ //# sourceMappingURL=cli-BI2GQEDM.js.map
@@ -0,0 +1 @@
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 =\n result.markerAdopted === true\n ? \"adopted the marker at line\"\n : result.markerJoined === true\n ? \"joined the marker at line\"\n : \"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; a marker already naming the id is adopted without this flag\")\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=\"',\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