@hawkeyexl/manni 4.30.0 → 4.32.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 (276) hide show
  1. package/README.md +1 -1
  2. package/dist/{batch-23GVYKFP.js → batch-EXTFKUAM.js} +14 -14
  3. package/dist/{build-CRK3HT5F.js → build-GADI674Y.js} +15 -15
  4. package/dist/{calibrate-2RFP3QX2.js → calibrate-UC4DGHYL.js} +15 -15
  5. package/dist/{capture-267IEE6B.js → capture-HIBYY5R3.js} +14 -14
  6. package/dist/{check-6FCVYM62.js → check-F7HHGF3D.js} +11 -11
  7. package/dist/{check-5QX33J6O.js → check-FQ7N5Z2F.js} +32 -32
  8. package/dist/check-KF453CLV.js +58 -0
  9. package/dist/{check-2HIBGMXD.js → check-PPNKOK37.js} +14 -14
  10. package/dist/check-QA3FIAPV.js +58 -0
  11. package/dist/{chunk-AP3PCNKS.js → chunk-2EA6MOCN.js} +3 -3
  12. package/dist/{chunk-7PF47O3H.js → chunk-2HKNDIP3.js} +6 -6
  13. package/dist/{chunk-4YCPB67J.js → chunk-2JQPC5RK.js} +7 -7
  14. package/dist/chunk-2JQPC5RK.js.map +1 -0
  15. package/dist/{chunk-SWCFJC7W.js → chunk-2KCIETVY.js} +4 -4
  16. package/dist/{chunk-UYKRP3M3.js → chunk-2YV6K44B.js} +6 -6
  17. package/dist/{chunk-DKV6BVW5.js → chunk-3AB4UPAH.js} +3 -3
  18. package/dist/{chunk-SXNK6FPC.js → chunk-3Q2GJERD.js} +11 -8
  19. package/dist/chunk-3Q2GJERD.js.map +1 -0
  20. package/dist/{chunk-7INXFEI7.js → chunk-3SHTLHQ6.js} +7 -7
  21. package/dist/{chunk-WMI2RDSG.js → chunk-3WUATOHK.js} +4 -4
  22. package/dist/{chunk-CMJEB5V5.js → chunk-5LLPUOYC.js} +6 -6
  23. package/dist/{chunk-67GJRC62.js → chunk-5YCFOK6Y.js} +2 -2
  24. package/dist/{chunk-O2STKCTP.js → chunk-6SB3IQWD.js} +9 -9
  25. package/dist/{chunk-OZH46DBT.js → chunk-7OMLNFP7.js} +6 -1
  26. package/dist/chunk-7OMLNFP7.js.map +1 -0
  27. package/dist/{chunk-4L62A7YB.js → chunk-7PMYQS5K.js} +5 -5
  28. package/dist/{cli-A5TGO26R.js → chunk-A2KXDBRL.js} +177 -227
  29. package/dist/chunk-A2KXDBRL.js.map +1 -0
  30. package/dist/{chunk-6KNIQ2SK.js → chunk-B5DAXZLE.js} +7 -7
  31. package/dist/{chunk-VGGIJMDA.js → chunk-BHVVKRVV.js} +2 -2
  32. package/dist/{chunk-C5NE3ZIC.js → chunk-C3WYV3L4.js} +3 -3
  33. package/dist/{chunk-KAIJHQR2.js → chunk-CWDUIJJX.js} +2 -2
  34. package/dist/{chunk-KAIJHQR2.js.map → chunk-CWDUIJJX.js.map} +1 -1
  35. package/dist/{chunk-VCIC7XJB.js → chunk-DUKZLNBC.js} +4 -4
  36. package/dist/{chunk-U4CWWG2Y.js → chunk-DVHVNTP7.js} +2 -2
  37. package/dist/{chunk-TU7T6YRR.js → chunk-EESOMRVW.js} +7 -7
  38. package/dist/{chunk-2FGWZH7A.js → chunk-EOFXK7ON.js} +3 -3
  39. package/dist/{chunk-5S5DYW7W.js → chunk-GC7FAGRL.js} +10 -10
  40. package/dist/{chunk-CZFP6Q5O.js → chunk-GEA5SVJU.js} +8 -8
  41. package/dist/{chunk-ZZGHTXZ2.js → chunk-GY3RMN64.js} +2 -2
  42. package/dist/{chunk-OJZOKTTX.js → chunk-GYEP6KX7.js} +2 -2
  43. package/dist/{chunk-GBZVXEVE.js → chunk-HD4IZVVX.js} +3 -3
  44. package/dist/{chunk-O632I7AB.js → chunk-HG7O47EK.js} +13 -11
  45. package/dist/chunk-HG7O47EK.js.map +1 -0
  46. package/dist/{chunk-ERXM4UF7.js → chunk-IFHB4QBS.js} +5 -5
  47. package/dist/{chunk-77U6NQKQ.js → chunk-IPS3B5WV.js} +3 -3
  48. package/dist/{chunk-3YA6TGWH.js → chunk-J2PUJFA4.js} +5 -5
  49. package/dist/{chunk-ZI7RMN3H.js → chunk-J6QJ7T6M.js} +4 -4
  50. package/dist/{chunk-HXILODV5.js → chunk-JXGJLJOP.js} +2 -2
  51. package/dist/{chunk-MBJINPKU.js → chunk-KJOF3TAE.js} +14 -14
  52. package/dist/{chunk-3VBEUMKQ.js → chunk-KU7MRVTB.js} +2 -2
  53. package/dist/{chunk-OXFNU2IO.js → chunk-L7WBKQ2R.js} +4 -4
  54. package/dist/{chunk-OPF3NOKF.js → chunk-M77SIRUX.js} +1 -1
  55. package/dist/{chunk-OPF3NOKF.js.map → chunk-M77SIRUX.js.map} +1 -1
  56. package/dist/{chunk-JG2QWMDX.js → chunk-MBPDZWYI.js} +457 -366
  57. package/dist/chunk-MBPDZWYI.js.map +1 -0
  58. package/dist/{chunk-4MD2JG2F.js → chunk-MRFSWEJA.js} +2 -2
  59. package/dist/{chunk-BTFXOKCP.js → chunk-MSLBEN74.js} +2 -2
  60. package/dist/chunk-NFZE4MXL.js +14 -0
  61. package/dist/chunk-NFZE4MXL.js.map +1 -0
  62. package/dist/{chunk-ZE3BXQED.js → chunk-OILHKIBL.js} +3 -3
  63. package/dist/{chunk-LGHJFEEH.js → chunk-PKLRFHO5.js} +2 -2
  64. package/dist/{chunk-GK3F3FIP.js → chunk-POPJ4INH.js} +94 -169
  65. package/dist/chunk-POPJ4INH.js.map +1 -0
  66. package/dist/{chunk-NIXJOL7G.js → chunk-PXUAUKLB.js} +3 -3
  67. package/dist/{chunk-E6S3VGN6.js → chunk-Q6INPRTC.js} +5 -5
  68. package/dist/{chunk-CDX4QK6O.js → chunk-QMYR4OI5.js} +29 -2
  69. package/dist/chunk-QMYR4OI5.js.map +1 -0
  70. package/dist/{chunk-SXMTWMZZ.js → chunk-QVDRRK5K.js} +40 -12
  71. package/dist/chunk-QVDRRK5K.js.map +1 -0
  72. package/dist/{chunk-QEFVMOWF.js → chunk-QYKTIRRE.js} +2 -2
  73. package/dist/{chunk-MYYTLNO5.js → chunk-RC7TM74Z.js} +7 -7
  74. package/dist/{chunk-5RCCJ446.js → chunk-RNXOPBBD.js} +9 -9
  75. package/dist/chunk-RNXOPBBD.js.map +1 -0
  76. package/dist/{chunk-K5VWSQ4K.js → chunk-RRXIIMKU.js} +3 -3
  77. package/dist/{chunk-MWWPADYI.js → chunk-RV5GZTXH.js} +6 -6
  78. package/dist/{chunk-KNMDIR7D.js → chunk-SHTMF6PC.js} +3 -4
  79. package/dist/chunk-SHTMF6PC.js.map +1 -0
  80. package/dist/{chunk-YGUAY67B.js → chunk-SMQMGAP3.js} +2 -2
  81. package/dist/{chunk-5MKSZSXH.js → chunk-SVUF42MI.js} +3 -3
  82. package/dist/{chunk-F76DU7FH.js → chunk-TZOBQ3TA.js} +3 -3
  83. package/dist/{chunk-XZFJAVX7.js → chunk-UH7KFBBM.js} +9 -8
  84. package/dist/chunk-UH7KFBBM.js.map +1 -0
  85. package/dist/{chunk-V52AGLNN.js → chunk-UKWWA4T7.js} +3 -3
  86. package/dist/{chunk-YLWI7FR2.js → chunk-UMCTYM7L.js} +3 -3
  87. package/dist/{chunk-TAGYZJQA.js → chunk-VLUJ46LV.js} +51 -21
  88. package/dist/chunk-VLUJ46LV.js.map +1 -0
  89. package/dist/{chunk-6U3XF5VY.js → chunk-VQ3FZVNM.js} +2 -2
  90. package/dist/{chunk-Z3YNYZR2.js → chunk-VXZ2CIH7.js} +2 -2
  91. package/dist/{chunk-RKZ2NPO4.js → chunk-WWP6Y7S7.js} +4 -4
  92. package/dist/{chunk-UUZJP47H.js → chunk-WX7NURTP.js} +8 -8
  93. package/dist/{chunk-7YDGDI26.js → chunk-XWVXPXWI.js} +6 -6
  94. package/dist/{chunk-N3J22ZRL.js → chunk-YAPFEDGW.js} +579 -29
  95. package/dist/chunk-YAPFEDGW.js.map +1 -0
  96. package/dist/{chunk-7ZRX2OPC.js → chunk-Z6T7UX7R.js} +70 -33
  97. package/dist/chunk-Z6T7UX7R.js.map +1 -0
  98. package/dist/{chunk-RRAJMTHV.js → chunk-ZIXRI5XY.js} +4 -4
  99. package/dist/{chunk-5DER6O26.js → chunk-ZWL5ST2M.js} +3 -3
  100. package/dist/{cli-NIHSHMIV.js → cli-5UAQT4OU.js} +8 -8
  101. package/dist/{cli-GKRMSA26.js → cli-67XDE7Q7.js} +28 -28
  102. package/dist/{cli-Y4ARUWKJ.js → cli-EDXJFE5T.js} +3 -3
  103. package/dist/{cli-CCUZFOPQ.js → cli-GJ6GRHZN.js} +19 -19
  104. package/dist/{cli-NKRJ5C4G.js → cli-LQFBUP6H.js} +16 -16
  105. package/dist/{cli-MT4EPC63.js → cli-MXEFSQJC.js} +15 -15
  106. package/dist/{cli-S5CSPYEZ.js → cli-OZ4YL6WS.js} +22 -22
  107. package/dist/{cli-2MHUVZH2.js → cli-PG6Z6YXW.js} +29 -29
  108. package/dist/cli-SSK7GS43.js +80 -0
  109. package/dist/cli-TIQNAQJA.js +133 -0
  110. package/dist/cli-TIQNAQJA.js.map +1 -0
  111. package/dist/{cli-B7QCMRWR.js → cli-W7QU573I.js} +32 -32
  112. package/dist/{cli-KUMDTVHH.js → cli-XXJQS3F3.js} +63 -58
  113. package/dist/cli-XXJQS3F3.js.map +1 -0
  114. package/dist/cli.js +21 -15
  115. package/dist/cli.js.map +1 -1
  116. package/dist/{config-Z3FYLJ6X.js → config-ISXGJ4XM.js} +3 -3
  117. package/dist/docmeta.js +7 -7
  118. package/dist/{github-2PYSX7EK.js → github-IKC7EPZ6.js} +11 -11
  119. package/dist/{github-POT6K5GH.js → github-LUJDHQRN.js} +14 -14
  120. package/dist/github-Z6S7HS6X.js +49 -0
  121. package/dist/graph/embed.d.ts +1 -1
  122. package/dist/graph/embed.js.map +1 -1
  123. package/dist/graph/runtime.d.ts +2 -2
  124. package/dist/graph/runtime.js +4 -4
  125. package/dist/graph/runtime.js.map +1 -1
  126. package/dist/index.d.ts +854 -787
  127. package/dist/index.js +85 -72
  128. package/dist/index.js.map +1 -1
  129. package/dist/{json-ZWSUMRI5.js → json-FBYXDIQQ.js} +11 -11
  130. package/dist/{json-3HPHYGQC.js → json-OZKTEKPS.js} +15 -15
  131. package/dist/{labels-5P4CKGPW.js → labels-MFHU6ZPR.js} +10 -10
  132. package/dist/{lint-K7R4WNMG.js → lint-2TA4DFLT.js} +13 -13
  133. package/dist/list-3RIITWCX.js +56 -0
  134. package/dist/{list-3C7Q6VMU.js → list-JLBUOBV5.js} +14 -14
  135. package/dist/{list-HOTRWPC7.js → list-YO3W3VKA.js} +11 -11
  136. package/dist/{page-6U3CEGTB.js → page-4MZGF2N2.js} +10 -10
  137. package/dist/{prepare-PZVX2VVT.js → prepare-PKGPBUNT.js} +17 -17
  138. package/dist/{pretty-ENVCHUYG.js → pretty-7PT7ETKZ.js} +24 -24
  139. package/dist/{pretty-ODBO2IIJ.js → pretty-YHIPZV5I.js} +11 -11
  140. package/dist/{pretty-53N5ZMM3.js → pretty-YIWBO6C3.js} +14 -14
  141. package/dist/{release-EFLQT3FW.js → release-VQQXI4XB.js} +4 -4
  142. package/dist/{reporters-3GE5FK5L.js → reporters-QJ7QC3XA.js} +12 -12
  143. package/dist/{reporters-MK62LRGW.js → reporters-Y2AUVODK.js} +4 -4
  144. package/dist/{reporters-FWSJ3O4V.js → reporters-ZUKUAWKX.js} +5 -5
  145. package/dist/run-ZK6EY5V7.js +59 -0
  146. package/dist/sarif-HYGCKXCT.js +50 -0
  147. package/dist/{sarif-IFFO37SO.js → sarif-PIUCN7PT.js} +9 -9
  148. package/dist/{sarif-2L4MLVF5.js → sarif-YP2DCLLU.js} +9 -9
  149. package/dist/{strategy-BCRB4A55.js → strategy-E2YCBTAW.js} +21 -21
  150. package/dist/{term-HPRQBB2A.js → term-RLQ6WZUD.js} +16 -16
  151. package/dist/{types-GV2THIRC.js → types-YREQ2DQG.js} +6 -4
  152. package/dist/{validate-TEYFOGI5.js → validate-OPLT7USL.js} +5 -5
  153. package/dist/validate-OPLT7USL.js.map +1 -0
  154. package/package.json +1 -1
  155. package/plugin/manni/.claude-plugin/plugin.json +1 -1
  156. package/dist/check-MYUFZGKO.js +0 -58
  157. package/dist/check-VKQ6GM5D.js +0 -58
  158. package/dist/chunk-4YCPB67J.js.map +0 -1
  159. package/dist/chunk-5RCCJ446.js.map +0 -1
  160. package/dist/chunk-7ZRX2OPC.js.map +0 -1
  161. package/dist/chunk-CDX4QK6O.js.map +0 -1
  162. package/dist/chunk-GK3F3FIP.js.map +0 -1
  163. package/dist/chunk-JG2QWMDX.js.map +0 -1
  164. package/dist/chunk-KNMDIR7D.js.map +0 -1
  165. package/dist/chunk-N3J22ZRL.js.map +0 -1
  166. package/dist/chunk-O632I7AB.js.map +0 -1
  167. package/dist/chunk-OZH46DBT.js.map +0 -1
  168. package/dist/chunk-SXMTWMZZ.js.map +0 -1
  169. package/dist/chunk-SXNK6FPC.js.map +0 -1
  170. package/dist/chunk-TAGYZJQA.js.map +0 -1
  171. package/dist/chunk-XZFJAVX7.js.map +0 -1
  172. package/dist/cli-A5TGO26R.js.map +0 -1
  173. package/dist/cli-KUMDTVHH.js.map +0 -1
  174. package/dist/github-M4QRPNXT.js +0 -49
  175. package/dist/list-O7IREFT2.js +0 -56
  176. package/dist/run-GUHRZ3OX.js +0 -59
  177. package/dist/sarif-2BGXPVSR.js +0 -50
  178. /package/dist/{batch-23GVYKFP.js.map → batch-EXTFKUAM.js.map} +0 -0
  179. /package/dist/{build-CRK3HT5F.js.map → build-GADI674Y.js.map} +0 -0
  180. /package/dist/{calibrate-2RFP3QX2.js.map → calibrate-UC4DGHYL.js.map} +0 -0
  181. /package/dist/{capture-267IEE6B.js.map → capture-HIBYY5R3.js.map} +0 -0
  182. /package/dist/{check-2HIBGMXD.js.map → check-F7HHGF3D.js.map} +0 -0
  183. /package/dist/{check-5QX33J6O.js.map → check-FQ7N5Z2F.js.map} +0 -0
  184. /package/dist/{check-6FCVYM62.js.map → check-KF453CLV.js.map} +0 -0
  185. /package/dist/{check-MYUFZGKO.js.map → check-PPNKOK37.js.map} +0 -0
  186. /package/dist/{check-VKQ6GM5D.js.map → check-QA3FIAPV.js.map} +0 -0
  187. /package/dist/{chunk-AP3PCNKS.js.map → chunk-2EA6MOCN.js.map} +0 -0
  188. /package/dist/{chunk-7PF47O3H.js.map → chunk-2HKNDIP3.js.map} +0 -0
  189. /package/dist/{chunk-SWCFJC7W.js.map → chunk-2KCIETVY.js.map} +0 -0
  190. /package/dist/{chunk-UYKRP3M3.js.map → chunk-2YV6K44B.js.map} +0 -0
  191. /package/dist/{chunk-DKV6BVW5.js.map → chunk-3AB4UPAH.js.map} +0 -0
  192. /package/dist/{chunk-7INXFEI7.js.map → chunk-3SHTLHQ6.js.map} +0 -0
  193. /package/dist/{chunk-WMI2RDSG.js.map → chunk-3WUATOHK.js.map} +0 -0
  194. /package/dist/{chunk-CMJEB5V5.js.map → chunk-5LLPUOYC.js.map} +0 -0
  195. /package/dist/{chunk-67GJRC62.js.map → chunk-5YCFOK6Y.js.map} +0 -0
  196. /package/dist/{chunk-O2STKCTP.js.map → chunk-6SB3IQWD.js.map} +0 -0
  197. /package/dist/{chunk-4L62A7YB.js.map → chunk-7PMYQS5K.js.map} +0 -0
  198. /package/dist/{chunk-6KNIQ2SK.js.map → chunk-B5DAXZLE.js.map} +0 -0
  199. /package/dist/{chunk-VGGIJMDA.js.map → chunk-BHVVKRVV.js.map} +0 -0
  200. /package/dist/{chunk-C5NE3ZIC.js.map → chunk-C3WYV3L4.js.map} +0 -0
  201. /package/dist/{chunk-VCIC7XJB.js.map → chunk-DUKZLNBC.js.map} +0 -0
  202. /package/dist/{chunk-U4CWWG2Y.js.map → chunk-DVHVNTP7.js.map} +0 -0
  203. /package/dist/{chunk-TU7T6YRR.js.map → chunk-EESOMRVW.js.map} +0 -0
  204. /package/dist/{chunk-2FGWZH7A.js.map → chunk-EOFXK7ON.js.map} +0 -0
  205. /package/dist/{chunk-5S5DYW7W.js.map → chunk-GC7FAGRL.js.map} +0 -0
  206. /package/dist/{chunk-CZFP6Q5O.js.map → chunk-GEA5SVJU.js.map} +0 -0
  207. /package/dist/{chunk-ZZGHTXZ2.js.map → chunk-GY3RMN64.js.map} +0 -0
  208. /package/dist/{chunk-OJZOKTTX.js.map → chunk-GYEP6KX7.js.map} +0 -0
  209. /package/dist/{chunk-GBZVXEVE.js.map → chunk-HD4IZVVX.js.map} +0 -0
  210. /package/dist/{chunk-ERXM4UF7.js.map → chunk-IFHB4QBS.js.map} +0 -0
  211. /package/dist/{chunk-77U6NQKQ.js.map → chunk-IPS3B5WV.js.map} +0 -0
  212. /package/dist/{chunk-3YA6TGWH.js.map → chunk-J2PUJFA4.js.map} +0 -0
  213. /package/dist/{chunk-ZI7RMN3H.js.map → chunk-J6QJ7T6M.js.map} +0 -0
  214. /package/dist/{chunk-HXILODV5.js.map → chunk-JXGJLJOP.js.map} +0 -0
  215. /package/dist/{chunk-MBJINPKU.js.map → chunk-KJOF3TAE.js.map} +0 -0
  216. /package/dist/{chunk-3VBEUMKQ.js.map → chunk-KU7MRVTB.js.map} +0 -0
  217. /package/dist/{chunk-OXFNU2IO.js.map → chunk-L7WBKQ2R.js.map} +0 -0
  218. /package/dist/{chunk-4MD2JG2F.js.map → chunk-MRFSWEJA.js.map} +0 -0
  219. /package/dist/{chunk-BTFXOKCP.js.map → chunk-MSLBEN74.js.map} +0 -0
  220. /package/dist/{chunk-ZE3BXQED.js.map → chunk-OILHKIBL.js.map} +0 -0
  221. /package/dist/{chunk-LGHJFEEH.js.map → chunk-PKLRFHO5.js.map} +0 -0
  222. /package/dist/{chunk-NIXJOL7G.js.map → chunk-PXUAUKLB.js.map} +0 -0
  223. /package/dist/{chunk-E6S3VGN6.js.map → chunk-Q6INPRTC.js.map} +0 -0
  224. /package/dist/{chunk-QEFVMOWF.js.map → chunk-QYKTIRRE.js.map} +0 -0
  225. /package/dist/{chunk-MYYTLNO5.js.map → chunk-RC7TM74Z.js.map} +0 -0
  226. /package/dist/{chunk-K5VWSQ4K.js.map → chunk-RRXIIMKU.js.map} +0 -0
  227. /package/dist/{chunk-MWWPADYI.js.map → chunk-RV5GZTXH.js.map} +0 -0
  228. /package/dist/{chunk-YGUAY67B.js.map → chunk-SMQMGAP3.js.map} +0 -0
  229. /package/dist/{chunk-5MKSZSXH.js.map → chunk-SVUF42MI.js.map} +0 -0
  230. /package/dist/{chunk-F76DU7FH.js.map → chunk-TZOBQ3TA.js.map} +0 -0
  231. /package/dist/{chunk-V52AGLNN.js.map → chunk-UKWWA4T7.js.map} +0 -0
  232. /package/dist/{chunk-YLWI7FR2.js.map → chunk-UMCTYM7L.js.map} +0 -0
  233. /package/dist/{chunk-6U3XF5VY.js.map → chunk-VQ3FZVNM.js.map} +0 -0
  234. /package/dist/{chunk-Z3YNYZR2.js.map → chunk-VXZ2CIH7.js.map} +0 -0
  235. /package/dist/{chunk-RKZ2NPO4.js.map → chunk-WWP6Y7S7.js.map} +0 -0
  236. /package/dist/{chunk-UUZJP47H.js.map → chunk-WX7NURTP.js.map} +0 -0
  237. /package/dist/{chunk-7YDGDI26.js.map → chunk-XWVXPXWI.js.map} +0 -0
  238. /package/dist/{chunk-RRAJMTHV.js.map → chunk-ZIXRI5XY.js.map} +0 -0
  239. /package/dist/{chunk-5DER6O26.js.map → chunk-ZWL5ST2M.js.map} +0 -0
  240. /package/dist/{cli-NIHSHMIV.js.map → cli-5UAQT4OU.js.map} +0 -0
  241. /package/dist/{cli-GKRMSA26.js.map → cli-67XDE7Q7.js.map} +0 -0
  242. /package/dist/{cli-Y4ARUWKJ.js.map → cli-EDXJFE5T.js.map} +0 -0
  243. /package/dist/{cli-CCUZFOPQ.js.map → cli-GJ6GRHZN.js.map} +0 -0
  244. /package/dist/{cli-NKRJ5C4G.js.map → cli-LQFBUP6H.js.map} +0 -0
  245. /package/dist/{cli-MT4EPC63.js.map → cli-MXEFSQJC.js.map} +0 -0
  246. /package/dist/{cli-S5CSPYEZ.js.map → cli-OZ4YL6WS.js.map} +0 -0
  247. /package/dist/{cli-2MHUVZH2.js.map → cli-PG6Z6YXW.js.map} +0 -0
  248. /package/dist/{config-Z3FYLJ6X.js.map → cli-SSK7GS43.js.map} +0 -0
  249. /package/dist/{cli-B7QCMRWR.js.map → cli-W7QU573I.js.map} +0 -0
  250. /package/dist/{github-2PYSX7EK.js.map → config-ISXGJ4XM.js.map} +0 -0
  251. /package/dist/{github-M4QRPNXT.js.map → github-IKC7EPZ6.js.map} +0 -0
  252. /package/dist/{github-POT6K5GH.js.map → github-LUJDHQRN.js.map} +0 -0
  253. /package/dist/{json-3HPHYGQC.js.map → github-Z6S7HS6X.js.map} +0 -0
  254. /package/dist/{json-ZWSUMRI5.js.map → json-FBYXDIQQ.js.map} +0 -0
  255. /package/dist/{lint-K7R4WNMG.js.map → json-OZKTEKPS.js.map} +0 -0
  256. /package/dist/{labels-5P4CKGPW.js.map → labels-MFHU6ZPR.js.map} +0 -0
  257. /package/dist/{list-3C7Q6VMU.js.map → lint-2TA4DFLT.js.map} +0 -0
  258. /package/dist/{list-HOTRWPC7.js.map → list-3RIITWCX.js.map} +0 -0
  259. /package/dist/{list-O7IREFT2.js.map → list-JLBUOBV5.js.map} +0 -0
  260. /package/dist/{page-6U3CEGTB.js.map → list-YO3W3VKA.js.map} +0 -0
  261. /package/dist/{pretty-53N5ZMM3.js.map → page-4MZGF2N2.js.map} +0 -0
  262. /package/dist/{prepare-PZVX2VVT.js.map → prepare-PKGPBUNT.js.map} +0 -0
  263. /package/dist/{pretty-ENVCHUYG.js.map → pretty-7PT7ETKZ.js.map} +0 -0
  264. /package/dist/{pretty-ODBO2IIJ.js.map → pretty-YHIPZV5I.js.map} +0 -0
  265. /package/dist/{reporters-3GE5FK5L.js.map → pretty-YIWBO6C3.js.map} +0 -0
  266. /package/dist/{release-EFLQT3FW.js.map → release-VQQXI4XB.js.map} +0 -0
  267. /package/dist/{reporters-FWSJ3O4V.js.map → reporters-QJ7QC3XA.js.map} +0 -0
  268. /package/dist/{reporters-MK62LRGW.js.map → reporters-Y2AUVODK.js.map} +0 -0
  269. /package/dist/{run-GUHRZ3OX.js.map → reporters-ZUKUAWKX.js.map} +0 -0
  270. /package/dist/{sarif-2BGXPVSR.js.map → run-ZK6EY5V7.js.map} +0 -0
  271. /package/dist/{sarif-2L4MLVF5.js.map → sarif-HYGCKXCT.js.map} +0 -0
  272. /package/dist/{sarif-IFFO37SO.js.map → sarif-PIUCN7PT.js.map} +0 -0
  273. /package/dist/{strategy-BCRB4A55.js.map → sarif-YP2DCLLU.js.map} +0 -0
  274. /package/dist/{types-GV2THIRC.js.map → strategy-E2YCBTAW.js.map} +0 -0
  275. /package/dist/{term-HPRQBB2A.js.map → term-RLQ6WZUD.js.map} +0 -0
  276. /package/dist/{validate-TEYFOGI5.js.map → types-YREQ2DQG.js.map} +0 -0
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/lint/types.ts"],"sourcesContent":["/**\n * The contract every other module is written against.\n *\n * Two shapes matter. `DocumentTree` is what a parser owes the rest of the tool:\n * a nested section tree with real source positions, in a vocabulary that has\n * nothing to do with Markdown. `Finding` is what the tool owes its caller.\n * Everything between the two - matching, rules, reporting - touches neither\n * mdast nor Asciidoctor nor parse5, which is what lets a new input format be\n * one file plus a line in the parser registry.\n */\n\nimport { ToolError } from \"../shared/errors.js\";\nimport type { Severity } from \"../shared/severity.js\";\nimport type { Guidance } from \"../shared/guidance.js\";\nimport type { FlareRun } from \"../shared/flare/index.js\";\n\n/**\n * Operational/usage failure. Exits 2; never used for lint findings.\n *\n * Extends the umbrella's `ToolError`, which is what the shared bin runner\n * matches on; the subclass stays so this tool's tests and library callers can\n * match on it by name. Named for its domain, as `A11yError`, `CiteError` and\n * `KeyError` are.\n */\nexport class LintError extends ToolError {\n constructor(message: string) {\n super(message);\n this.name = \"LintError\";\n }\n}\n\n/** A point in a source file. Line and column are 1-based, offset 0-based. */\nexport interface Point {\n line: number;\n column: number;\n offset: number;\n}\n\n/** A half-open source span, `start` inclusive and `end` exclusive. */\nexport interface Position {\n start: Point;\n end: Point;\n}\n\n/**\n * Content kinds a section can hold, named generically so a rule written once\n * works on every format. Each parser maps its own AST onto these: mdast\n * `paragraph`/`code`/`list`, Asciidoctor `paragraph`/`listing`/`ulist`|`olist`,\n * HTML `<p>`/`<pre>`/`<ul>` - all three onto `paragraph`/`codeBlock`/`list`.\n *\n * The vocabulary is wider than any one parser emits today. `table`,\n * `admonition`, `image`, `blockquote`, `definitionList`, and `element` are\n * declared here, and in each `DocumentParser.kinds`, only once a parser\n * actually produces them - see `src/lint/parsers/index.ts`.\n */\nexport type ContentKind =\n | \"paragraph\"\n | \"codeBlock\"\n | \"list\"\n | \"listItem\"\n | \"table\"\n | \"tableRow\"\n | \"tableCell\"\n | \"admonition\"\n | \"image\"\n | \"blockquote\"\n | \"definitionList\"\n | \"definitionItem\"\n | \"element\";\n\nexport interface ContentNodeBase {\n kind: ContentKind;\n position: Position;\n /** Plain-text rendering, used by pattern rules. */\n text: string;\n}\n\nexport interface ParagraphNode extends ContentNodeBase {\n kind: \"paragraph\";\n}\n\nexport interface CodeNode extends ContentNodeBase {\n kind: \"codeBlock\";\n /** Language, when the format carries one. */\n language?: string;\n /** The info-string tail after the language, when the format carries one. */\n fenceInfo?: string;\n}\n\nexport interface ListItemNode {\n kind: \"listItem\";\n position: Position;\n text: string;\n /** Nested content, so item-level paragraph/code/list rules can run. */\n children: ContentNode[];\n}\n\nexport interface ListNode extends ContentNodeBase {\n kind: \"list\";\n ordered: boolean;\n items: ListItemNode[];\n}\n\nexport interface TableCellNode extends ContentNodeBase {\n kind: \"tableCell\";\n children: ContentNode[];\n}\n\nexport interface TableRowNode extends ContentNodeBase {\n kind: \"tableRow\";\n header: boolean;\n children: TableCellNode[];\n}\n\nexport interface TableNode extends ContentNodeBase {\n kind: \"table\";\n children: TableRowNode[];\n}\n\n/**\n * A callout, and the flavor the source gave it.\n *\n * `variant` is optional because not every format names one this vocabulary\n * has. reStructuredText has `hint`, `attention`, `error` and a generic\n * `admonition` directive, and a bare HTML `<aside>` says nothing at all. Those\n * produce an admonition with no variant rather than an invented equivalence:\n * mapping `hint` onto `tip` would make `variant: tip` pass on a page that\n * never said tip. A `variant:` rule reports such a node as a mismatch, and a\n * plain count rule still counts it.\n */\nexport interface AdmonitionNode extends ContentNodeBase {\n kind: \"admonition\";\n variant?: \"note\" | \"tip\" | \"important\" | \"caution\" | \"warning\" | \"danger\";\n children: ContentNode[];\n}\n\nexport interface ImageNode extends ContentNodeBase {\n kind: \"image\";\n url: string;\n alt: string;\n title?: string;\n}\n\nexport interface BlockquoteNode extends ContentNodeBase {\n kind: \"blockquote\";\n children: ContentNode[];\n}\n\nexport interface DefinitionItemNode {\n kind: \"definitionItem\";\n position: Position;\n text: string;\n term: string;\n definition: ContentNode[];\n}\n\nexport interface DefinitionListNode extends ContentNodeBase {\n kind: \"definitionList\";\n children: DefinitionItemNode[];\n}\n\n/**\n * A named wrapper - an MDX/JSX component today, and where HTML and DITA may\n * eventually anchor a custom element. Its children are its own content, never\n * the enclosing section's: a rule reading a section's `children` must not see\n * inside an `<Element>` it did not ask about.\n */\nexport interface ElementNode extends ContentNodeBase {\n kind: \"element\";\n name: string;\n attributes?: Record<string, string | true>;\n children: ContentNode[];\n}\n\nexport type ContentNode =\n | ParagraphNode\n | CodeNode\n | ListNode\n | TableNode\n | AdmonitionNode\n | ImageNode\n | BlockquoteNode\n | DefinitionListNode\n | ElementNode;\n\n/**\n * One section of a document, demarcated by a heading.\n *\n * `slug`/`title`/`level`/`order`/`parentSlug` intentionally match manni graph's\n * `Section` (dockg/src/types.ts), so its graph can be built from this tree.\n *\n * `children` is in document order and is the single source of truth: the\n * paragraph/codeBlock/list counts every rule needs are queries over it, not\n * separately maintained arrays.\n */\nexport interface SectionNode {\n /** Slug of the heading, disambiguated across the document (`install-1`). */\n slug: string;\n /** Heading text, with inline markup flattened. */\n title: string;\n /** Heading level, 1-6. 0 for the implicit lead section before any heading. */\n level: number;\n /** 1-based position among siblings under the same parent. */\n order: number;\n /** Slug of the enclosing section, or null at the top level. */\n parentSlug: string | null;\n /** Span of the title itself. Null for the implicit lead section. */\n titlePosition: Position | null;\n /**\n * The anchor the source itself gives this section, verbatim - an HTML `id`,\n * a DITA `@id`, an AsciiDoc `[[id]]`, a reST `.. _label:` - when it gives\n * one. `slug` stays the slugged title either way: a link written against\n * the source's own id resolves through this, and nothing lint matches on\n * reads it.\n */\n id?: string;\n /**\n * Set on the level-1 section `withMetadataTitle` made from a metadata\n * `title`, so a consumer can tell it from a heading the author wrote. Its\n * `titlePosition` is not enough: a reST title read back as docinfo shares\n * its span with the frontmatter, written or not.\n */\n synthetic?: true;\n /** Span of the whole section: its heading through the last node before the next sibling heading. */\n position: Position;\n /** Direct content, in document order, excluding anything owned by a subsection. */\n children: ContentNode[];\n /** Nested sections, in document order. */\n sections: SectionNode[];\n}\n\n/** What a parser returns for one file. */\nexport interface DocumentTree {\n /** Name of the parser that produced this (`markdown`, `asciidoc`, ...). */\n format: string;\n /** Path the content came from, for error messages. */\n filePath: string;\n /** Raw frontmatter/metadata values, or null when the file carries none. */\n frontmatter: Record<string, unknown> | null;\n /** Span of the frontmatter block, for anchoring findings about it. */\n frontmatterPosition: Position | null;\n /** Top-level sections, in document order. */\n sections: SectionNode[];\n /**\n * Link targets exactly as the source wrote them, in document order, for\n * `manni graph`. No lint rule reads them. Each parser decides what counts:\n * an anchor to elsewhere does, and a stylesheet, a heading's own permalink,\n * or a key reference resolved only at build time does not.\n */\n links: { target: string; position: Position }[];\n /**\n * The MadCap Flare project a topic resolved against, and its target\n * (proposal 0125). Absent for every other page, and for a topic no project\n * holds. `excluded` marks a topic whose root the target excludes: its\n * resolved view, and so `sections`, is empty, while `links` stay.\n */\n flare?: {\n /** The `.flprj` file's name. */\n project: string;\n target?: { name: string; from: \"tools.flare.target\" | \"the only target\" };\n excluded?: true;\n };\n}\n\n/**\n * What a parser may read beyond the page's own bytes. `parse`'s `filePath`\n * is a display label, so the absolute path rides here. A MadCap Flare topic\n * resolves against its project through `flare` (proposal 0125). A parser\n * with no use for either ignores them.\n */\nexport interface ParseContext {\n absPath: string;\n flare?: FlareRun;\n}\n\n/**\n * A parser for one input format.\n *\n * Shaped after docmeta's `MetadataExtractor` so the two registries read the\n * same way. A format is registered only when its parser reads it, so every\n * registered format is one the tool reads, and an extension no parser claims is\n * skipped by name rather than parsed as Markdown.\n */\nexport interface DocumentParser {\n /** Stable name, also used as `DocumentTree.format`. */\n name: string;\n /** Human-readable label for `manni lint tools`. */\n label: string;\n /**\n * The content kinds this parser actually emits today. A capability\n * declaration, not the full `ContentKind` vocabulary: a kind absent here is\n * one no rule will ever see from this parser's trees, whatever the format\n * could in principle represent.\n */\n kinds: ContentKind[];\n /** Lowercase file extensions this parser handles, incl. dot (e.g. \".md\"). */\n extensions: string[];\n /**\n * Extensions safe to collect from a directory walk. Defaults to\n * `extensions`.\n *\n * The two differ when an extension is a generic container rather than a\n * documentation format. `.xml` is the case: this parser can read a DocBook\n * or DITA document named explicitly, but a docs tree also contains\n * `pom.xml`, `sitemap.xml`, and `.csproj`, and sweeping those in turns a\n * clean run into a failure about files the user never asked to lint.\n */\n walkExtensions?: string[];\n /**\n * Parse raw file content into the generic tree. AsciiDoc's parser returns a\n * promise, because Asciidoctor loads a document asynchronously; the others\n * return the tree itself. A caller awaits either.\n */\n parse(\n content: string,\n filePath: string,\n context?: ParseContext,\n ): DocumentTree | Promise<DocumentTree>;\n}\n\n/**\n * How much a finding weighs, on the one scale every manni tool speaks\n * (`src/shared/severity.ts`): `notice | warning | error`.\n *\n * Almost every structural finding is an `error`, since a template either\n * describes a document or it does not. `unsupported_content_kind` is the\n * exception and is a `warning`: the rule never ran, so the page may still be\n * fine, and a warning never moves the exit code.\n *\n * The scale is the family's and not this tool's private pair, because a flag\n * or config key two domains both have carries the same name *and* the same\n * values. Re-exported so `lint.Severity` names the same type a caller already\n * has.\n */\nexport type { Severity };\n\n/**\n * One structural violation.\n *\n * The field set is pinned by manni docevals' tool adapter, which reads\n * `{ type, heading, message, position }` off the JSON reporter. Additions are\n * safe; renames are not.\n */\nexport interface Finding {\n /** Machine-readable rule id, e.g. `missing_section`. */\n type: string;\n /** Heading of the section the finding is anchored to, if any. */\n heading: string | null;\n message: string;\n position: Position;\n severity: Severity;\n /**\n * The template that judged the page and the rule this finding is about, so\n * an author reads what the section is for beside what is wrong with it.\n * `null` when no template stands behind the finding: a parse failure, an\n * unknown doctype, a broken template, or a tool other than manni.\n */\n template?: FindingTemplate | null;\n}\n\n/**\n * What a template asks for, as a finding carries it: the family's guidance\n * shape (`src/shared/guidance.ts`) under lint's released name.\n *\n * - `id` is the template's ref, as `manni lint templates` lists it and\n * `--template` takes it.\n * - `rule` is the rule's `id`. `null` for a rule without one, the template\n * itself, or no rule at all.\n * - `description` is the rule's `description`, or `null` when it has none.\n * - `guide` is the template's `guide`, after `extends`, or `null`.\n */\nexport type FindingTemplate = Guidance;\n\n/**\n * Why a file was not linted.\n *\n * `unreadable` is the one that is not about the document: the file was found,\n * claimed by a parser, and then could not be opened - a denied permission, a\n * symlink loop, a page a doc build moved between the walk and the read. It is a\n * skip rather than a finding because nothing was checked, and calling it a\n * finding would report the docs as wrong when the filesystem was.\n *\n * `excluded` is a MadCap Flare topic whose root carries conditions the run's\n * target excludes (proposal 0125): the target does not build it.\n */\nexport type SkipReason = \"no-template\" | \"unsupported-format\" | \"unreadable\" | \"excluded\";\n\n/** Result of linting one file. */\nexport interface FileResult {\n file: string;\n /** True when the file was linted and produced no findings. */\n success: boolean;\n findings: Finding[];\n /** Template id/ref applied, or null when skipped. */\n template: string | null;\n /** Set when the file was skipped rather than linted. */\n skipped?: SkipReason;\n}\n"],"mappings":";;;;;;AAwBO,IAAM,YAAN,cAAwB,UAAU;AAAA,EACvC,YAAY,SAAiB;AAC3B,UAAM,OAAO;AACb,SAAK,OAAO;AAAA,EACd;AACF;","names":[]}
1
+ {"version":3,"sources":["../src/lint/types.ts"],"sourcesContent":["/**\n * The contract every other module is written against.\n *\n * Two shapes matter. `DocumentTree` is what a parser owes the rest of the tool:\n * a nested section tree with real source positions, in a vocabulary that has\n * nothing to do with Markdown. `Finding` is what the tool owes its caller.\n * Everything between the two - matching, rules, reporting - touches neither\n * mdast nor Asciidoctor nor parse5, which is what lets a new input format be\n * one file plus a line in the parser registry.\n */\n\nimport { ToolError } from \"../shared/errors.js\";\nimport type { Severity } from \"../shared/severity.js\";\nimport type { Guidance } from \"../shared/guidance.js\";\nimport type { FlareRun } from \"../shared/flare/index.js\";\n\n/**\n * Operational/usage failure. Exits 2; never used for lint findings.\n *\n * Extends the umbrella's `ToolError`, which is what the shared bin runner\n * matches on; the subclass stays so this tool's tests and library callers can\n * match on it by name. Named for its domain, as `A11yError`, `CiteError` and\n * `KeyError` are.\n */\nexport class LintError extends ToolError {\n constructor(message: string) {\n super(message);\n this.name = \"LintError\";\n }\n}\n\n/** A point in a source file. Line and column are 1-based, offset 0-based. */\nexport interface Point {\n line: number;\n column: number;\n offset: number;\n}\n\n/** A half-open source span, `start` inclusive and `end` exclusive. */\nexport interface Position {\n start: Point;\n end: Point;\n}\n\n/**\n * Content kinds a section can hold, named generically so a rule written once\n * works on every format. Each parser maps its own AST onto these: mdast\n * `paragraph`/`code`/`list`, Asciidoctor `paragraph`/`listing`/`ulist`|`olist`,\n * HTML `<p>`/`<pre>`/`<ul>` - all three onto `paragraph`/`codeBlock`/`list`.\n *\n * The vocabulary is wider than any one parser emits today. `table`,\n * `admonition`, `image`, `blockquote`, `definitionList`, and `element` are\n * declared here, and in each `DocumentParser.kinds`, only once a parser\n * actually produces them - see `src/lint/parsers/index.ts`.\n */\nexport type ContentKind =\n | \"paragraph\"\n | \"codeBlock\"\n | \"list\"\n | \"listItem\"\n | \"table\"\n | \"tableRow\"\n | \"tableCell\"\n | \"admonition\"\n | \"image\"\n | \"blockquote\"\n | \"definitionList\"\n | \"definitionItem\"\n | \"element\";\n\nexport interface ContentNodeBase {\n kind: ContentKind;\n position: Position;\n /** Plain-text rendering, used by pattern rules. */\n text: string;\n}\n\nexport interface ParagraphNode extends ContentNodeBase {\n kind: \"paragraph\";\n}\n\nexport interface CodeNode extends ContentNodeBase {\n kind: \"codeBlock\";\n /** Language, when the format carries one. */\n language?: string;\n /** The info-string tail after the language, when the format carries one. */\n fenceInfo?: string;\n}\n\nexport interface ListItemNode {\n kind: \"listItem\";\n position: Position;\n text: string;\n /** Nested content, so item-level paragraph/code/list rules can run. */\n children: ContentNode[];\n}\n\nexport interface ListNode extends ContentNodeBase {\n kind: \"list\";\n ordered: boolean;\n items: ListItemNode[];\n}\n\nexport interface TableCellNode extends ContentNodeBase {\n kind: \"tableCell\";\n children: ContentNode[];\n}\n\nexport interface TableRowNode extends ContentNodeBase {\n kind: \"tableRow\";\n header: boolean;\n children: TableCellNode[];\n}\n\nexport interface TableNode extends ContentNodeBase {\n kind: \"table\";\n children: TableRowNode[];\n}\n\n/**\n * A callout, and the flavor the source gave it.\n *\n * `variant` is optional because not every format names one this vocabulary\n * has. reStructuredText has `hint`, `attention`, `error` and a generic\n * `admonition` directive, and a bare HTML `<aside>` says nothing at all. Those\n * produce an admonition with no variant rather than an invented equivalence:\n * mapping `hint` onto `tip` would make `variant: tip` pass on a page that\n * never said tip. A `variant:` rule reports such a node as a mismatch, and a\n * plain count rule still counts it.\n */\nexport interface AdmonitionNode extends ContentNodeBase {\n kind: \"admonition\";\n variant?: \"note\" | \"tip\" | \"important\" | \"caution\" | \"warning\" | \"danger\";\n children: ContentNode[];\n}\n\nexport interface ImageNode extends ContentNodeBase {\n kind: \"image\";\n url: string;\n alt: string;\n title?: string;\n}\n\nexport interface BlockquoteNode extends ContentNodeBase {\n kind: \"blockquote\";\n children: ContentNode[];\n}\n\nexport interface DefinitionItemNode {\n kind: \"definitionItem\";\n position: Position;\n text: string;\n term: string;\n definition: ContentNode[];\n}\n\nexport interface DefinitionListNode extends ContentNodeBase {\n kind: \"definitionList\";\n children: DefinitionItemNode[];\n}\n\n/**\n * A named wrapper - an MDX/JSX component today, and where HTML and DITA may\n * eventually anchor a custom element. Its children are its own content, never\n * the enclosing section's: a rule reading a section's `children` must not see\n * inside an `<Element>` it did not ask about.\n */\nexport interface ElementNode extends ContentNodeBase {\n kind: \"element\";\n name: string;\n attributes?: Record<string, string | true>;\n children: ContentNode[];\n}\n\nexport type ContentNode =\n | ParagraphNode\n | CodeNode\n | ListNode\n | TableNode\n | AdmonitionNode\n | ImageNode\n | BlockquoteNode\n | DefinitionListNode\n | ElementNode;\n\n/**\n * One section of a document, demarcated by a heading.\n *\n * `slug`/`title`/`level`/`order`/`parentSlug` intentionally match manni graph's\n * `Section` (dockg/src/types.ts), so its graph can be built from this tree.\n *\n * `children` is in document order and is the single source of truth: the\n * paragraph/codeBlock/list counts every rule needs are queries over it, not\n * separately maintained arrays.\n */\nexport interface SectionNode {\n /** Slug of the heading, disambiguated across the document (`install-1`). */\n slug: string;\n /** Heading text, with inline markup flattened. */\n title: string;\n /** Heading level, 1-6. 0 for the implicit lead section before any heading. */\n level: number;\n /** 1-based position among siblings under the same parent. */\n order: number;\n /** Slug of the enclosing section, or null at the top level. */\n parentSlug: string | null;\n /** Span of the title itself. Null for the implicit lead section. */\n titlePosition: Position | null;\n /**\n * The anchor the source itself gives this section, verbatim - an HTML `id`,\n * a DITA `@id`, an AsciiDoc `[[id]]`, a reST `.. _label:` - when it gives\n * one. `slug` stays the slugged title either way: a link written against\n * the source's own id resolves through this, and nothing lint matches on\n * reads it.\n */\n id?: string;\n /**\n * Set on the level-1 section `withMetadataTitle` made from a metadata\n * `title`, so a consumer can tell it from a heading the author wrote. Its\n * `titlePosition` is not enough: a reST title read back as docinfo shares\n * its span with the frontmatter, written or not.\n */\n synthetic?: true;\n /** Span of the whole section: its heading through the last node before the next sibling heading. */\n position: Position;\n /** Direct content, in document order, excluding anything owned by a subsection. */\n children: ContentNode[];\n /** Nested sections, in document order. */\n sections: SectionNode[];\n}\n\n/** What a parser returns for one file. */\nexport interface DocumentTree {\n /** Name of the parser that produced this (`markdown`, `asciidoc`, ...). */\n format: string;\n /** Path the content came from, for error messages. */\n filePath: string;\n /** Raw frontmatter/metadata values, or null when the file carries none. */\n frontmatter: Record<string, unknown> | null;\n /** Span of the frontmatter block, for anchoring findings about it. */\n frontmatterPosition: Position | null;\n /** Top-level sections, in document order. */\n sections: SectionNode[];\n /**\n * Link targets exactly as the source wrote them, in document order, for\n * `manni graph`. No lint rule reads them. Each parser decides what counts:\n * an anchor to elsewhere does, and a stylesheet, a heading's own permalink,\n * or a key reference resolved only at build time does not.\n */\n links: { target: string; position: Position }[];\n /**\n * The MadCap Flare project a topic resolved against, and its target\n * (proposal 0125). Absent for every other page, and for a topic no project\n * holds. `excluded` marks a topic whose root the target excludes: its\n * resolved view, and so `sections`, is empty, while `links` stay.\n */\n flare?: {\n /** The `.flprj` file's name. */\n project: string;\n target?: { name: string; from: \"tools.flare.target\" | \"the only target\" };\n excluded?: true;\n };\n}\n\n/**\n * What a parser may read beyond the page's own bytes. `parse`'s `filePath`\n * is a display label, so the absolute path rides here. A MadCap Flare topic\n * resolves against its project through `flare` (proposal 0125). A parser\n * with no use for either ignores them.\n */\nexport interface ParseContext {\n absPath: string;\n flare?: FlareRun;\n}\n\n/**\n * A parser for one input format.\n *\n * Shaped after docmeta's `MetadataExtractor` so the two registries read the\n * same way. A format is registered only when its parser reads it, so every\n * registered format is one the tool reads, and an extension no parser claims is\n * skipped by name rather than parsed as Markdown.\n */\nexport interface DocumentParser {\n /** Stable name, also used as `DocumentTree.format`. */\n name: string;\n /** Human-readable label for `manni lint tools`. */\n label: string;\n /**\n * The content kinds this parser actually emits today. A capability\n * declaration, not the full `ContentKind` vocabulary: a kind absent here is\n * one no rule will ever see from this parser's trees, whatever the format\n * could in principle represent.\n */\n kinds: ContentKind[];\n /** Lowercase file extensions this parser handles, incl. dot (e.g. \".md\"). */\n extensions: string[];\n /**\n * Extensions safe to collect from a directory walk. Defaults to\n * `extensions`.\n *\n * The two differ when an extension is a generic container rather than a\n * documentation format. `.xml` is the case: this parser can read a DocBook\n * or DITA document named explicitly, but a docs tree also contains\n * `pom.xml`, `sitemap.xml`, and `.csproj`, and sweeping those in turns a\n * clean run into a failure about files the user never asked to lint.\n */\n walkExtensions?: string[];\n /**\n * Parse raw file content into the generic tree. AsciiDoc's parser returns a\n * promise, because Asciidoctor loads a document asynchronously; the others\n * return the tree itself. A caller awaits either.\n */\n parse(\n content: string,\n filePath: string,\n context?: ParseContext,\n ): DocumentTree | Promise<DocumentTree>;\n}\n\n/**\n * How much a finding weighs, on the one scale every manni tool speaks\n * (`src/shared/severity.ts`): `notice | warning | error`.\n *\n * Almost every structural finding is an `error`, since a template either\n * describes a document or it does not. `unsupported_content_kind` is the\n * exception and is a `warning`: the rule never ran, so the page may still be\n * fine, and a warning never moves the exit code.\n *\n * The scale is the family's and not this tool's private pair, because a flag\n * or config key two domains both have carries the same name *and* the same\n * values. Re-exported so `lint.Severity` names the same type a caller already\n * has.\n */\nexport type { Severity };\n\n/**\n * One structural violation.\n *\n * The field set is pinned by manni docevals' tool adapter, which reads\n * `{ type, heading, message, position }` off the JSON reporter. Additions are\n * safe; renames are not.\n */\nexport interface Finding {\n /** Machine-readable rule id, e.g. `missing_section`. */\n type: string;\n /** Heading of the section the finding is anchored to, if any. */\n heading: string | null;\n message: string;\n position: Position;\n severity: Severity;\n /**\n * The template that judged the page and the rule this finding is about, so\n * an author reads what the section is for beside what is wrong with it.\n * `null` when no template stands behind the finding: a parse failure, an\n * unknown doctype, a broken template, or a tool other than manni.\n */\n template?: FindingTemplate | null;\n /**\n * Where the text this finding is about lives, when the page includes it\n * from another file (proposal 0130). `position` is the include directive's\n * place in the page; this names the file to edit. Absent otherwise.\n */\n includedFrom?: { file: string; line: number };\n}\n\n/**\n * What a template asks for, as a finding carries it: the family's guidance\n * shape (`src/shared/guidance.ts`) under lint's released name.\n *\n * - `id` is the template's ref, as `manni lint templates` lists it and\n * `--template` takes it.\n * - `rule` is the rule's `id`. `null` for a rule without one, the template\n * itself, or no rule at all.\n * - `description` is the rule's `description`, or `null` when it has none.\n * - `guide` is the template's `guide`, after `extends`, or `null`.\n */\nexport type FindingTemplate = Guidance;\n\n/**\n * Why a file was not linted.\n *\n * `unreadable` is the one that is not about the document: the file was found,\n * claimed by a parser, and then could not be opened - a denied permission, a\n * symlink loop, a page a doc build moved between the walk and the read. It is a\n * skip rather than a finding because nothing was checked, and calling it a\n * finding would report the docs as wrong when the filesystem was.\n *\n * `excluded` is a MadCap Flare topic whose root carries conditions the run's\n * target excludes (proposal 0125): the target does not build it.\n *\n * `partial` is a file another page in the run includes (proposal 0130). It is\n * assessed as part of that page, where a reader meets it, and never alone.\n */\nexport type SkipReason =\n | \"no-template\"\n | \"unsupported-format\"\n | \"unreadable\"\n | \"excluded\"\n | \"partial\";\n\n/** Result of linting one file. */\nexport interface FileResult {\n file: string;\n /** True when the file was linted and produced no findings. */\n success: boolean;\n findings: Finding[];\n /** Template id/ref applied, or null when skipped. */\n template: string | null;\n /** Set when the file was skipped rather than linted. */\n skipped?: SkipReason;\n}\n"],"mappings":";;;;;;AAwBO,IAAM,YAAN,cAAwB,UAAU;AAAA,EACvC,YAAY,SAAiB;AAC3B,UAAM,OAAO;AACb,SAAK,OAAO;AAAA,EACd;AACF;","names":[]}