@hawkeyexl/manni 4.16.0 → 4.18.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 (239) hide show
  1. package/README.md +1 -1
  2. package/dist/{batch-L5W4JS7A.js → batch-5TPNK5BQ.js} +14 -14
  3. package/dist/{build-GNZUVDZX.js → build-GGKCRWKH.js} +15 -14
  4. package/dist/{calibrate-2LYIDN6U.js → calibrate-OGOLLGXY.js} +15 -15
  5. package/dist/{capture-OEDMFU5Z.js → capture-CNHRHTA7.js} +14 -14
  6. package/dist/{check-NLLFHNWG.js → check-BAMOJMOJ.js} +16 -15
  7. package/dist/{check-Z5VGDSDT.js → check-XLIS5A7G.js} +13 -14
  8. package/dist/check-XYGABPXI.js +47 -0
  9. package/dist/{check-JR2TYL2Y.js → check-ZFI7H7LS.js} +15 -15
  10. package/dist/{cli-THEU2QG2.js → chunk-245W2Q7C.js} +133 -365
  11. package/dist/chunk-245W2Q7C.js.map +1 -0
  12. package/dist/{chunk-OJ7FEM2G.js → chunk-27FP4KKD.js} +47 -10
  13. package/dist/chunk-27FP4KKD.js.map +1 -0
  14. package/dist/{chunk-GQQ2AX63.js → chunk-2QZCPPVE.js} +38 -432
  15. package/dist/chunk-2QZCPPVE.js.map +1 -0
  16. package/dist/{chunk-BMYCLTFK.js → chunk-327CWO33.js} +3 -3
  17. package/dist/{chunk-WT3AATHC.js → chunk-33FIOHJ4.js} +252 -425
  18. package/dist/chunk-33FIOHJ4.js.map +1 -0
  19. package/dist/{chunk-ZJZQPOJO.js → chunk-3COYAAR7.js} +2 -2
  20. package/dist/{chunk-6ANTGYNT.js → chunk-3LZ6AYB4.js} +2 -2
  21. package/dist/{chunk-2AUULNIJ.js → chunk-4A445ALG.js} +3 -3
  22. package/dist/{chunk-L3YGGYBG.js → chunk-4KY2RUXQ.js} +3 -3
  23. package/dist/{chunk-NDBISART.js → chunk-5VA3ZOB7.js} +3 -3
  24. package/dist/{chunk-4LLYPDNG.js → chunk-6E6Z6UQL.js} +7 -7
  25. package/dist/{chunk-CSLJMML4.js → chunk-6ZYXK3JT.js} +4 -4
  26. package/dist/chunk-7RZQAMA2.js +314 -0
  27. package/dist/chunk-7RZQAMA2.js.map +1 -0
  28. package/dist/{chunk-NH6B6DDI.js → chunk-CWVL7XZR.js} +4 -4
  29. package/dist/{chunk-DTG6S2UG.js → chunk-E3YXGLEU.js} +2 -2
  30. package/dist/{chunk-5PO2BWZF.js → chunk-E76WPNYO.js} +2 -2
  31. package/dist/{chunk-F4GXZMEO.js → chunk-EITEHOSX.js} +12 -7
  32. package/dist/{chunk-F4GXZMEO.js.map → chunk-EITEHOSX.js.map} +1 -1
  33. package/dist/{chunk-DSTRT6YD.js → chunk-EU5QLSNN.js} +3 -3
  34. package/dist/{chunk-F6B2TNXU.js → chunk-F7GYY373.js} +6 -6
  35. package/dist/{chunk-6NTNLKNQ.js → chunk-FE3US7FR.js} +6 -5
  36. package/dist/{chunk-6NTNLKNQ.js.map → chunk-FE3US7FR.js.map} +1 -1
  37. package/dist/{chunk-IL62WATF.js → chunk-FNQE3RAW.js} +2 -2
  38. package/dist/chunk-FO6MNXOF.js +580 -0
  39. package/dist/chunk-FO6MNXOF.js.map +1 -0
  40. package/dist/{chunk-5D24C6WM.js → chunk-GMOAW2EG.js} +6 -2
  41. package/dist/chunk-GMOAW2EG.js.map +1 -0
  42. package/dist/chunk-GNZKLUZW.js +459 -0
  43. package/dist/chunk-GNZKLUZW.js.map +1 -0
  44. package/dist/{chunk-LEOQO3S6.js → chunk-ICRYIYMJ.js} +7 -7
  45. package/dist/{chunk-GR6QQ7GM.js → chunk-IIBVQCCR.js} +4 -4
  46. package/dist/{chunk-O6YTTBSN.js → chunk-JFB45L7D.js} +2 -2
  47. package/dist/chunk-JFPCDIES.js +1338 -0
  48. package/dist/chunk-JFPCDIES.js.map +1 -0
  49. package/dist/{chunk-2XRET3ZG.js → chunk-JHUEACRT.js} +31 -47
  50. package/dist/chunk-JHUEACRT.js.map +1 -0
  51. package/dist/{chunk-7UC55CAU.js → chunk-JS5NCZYC.js} +187 -159
  52. package/dist/chunk-JS5NCZYC.js.map +1 -0
  53. package/dist/{chunk-63GILHR5.js → chunk-KRQTN5KE.js} +4 -4
  54. package/dist/{chunk-WDENIUC7.js → chunk-MDZXRHIJ.js} +1 -1
  55. package/dist/chunk-MDZXRHIJ.js.map +1 -0
  56. package/dist/{chunk-3GLDB7MZ.js → chunk-MH5MX4B3.js} +1311 -18
  57. package/dist/chunk-MH5MX4B3.js.map +1 -0
  58. package/dist/{chunk-IGRXQC3H.js → chunk-N25KDXOV.js} +2 -2
  59. package/dist/{chunk-DW22KCLN.js → chunk-NPZWOPOH.js} +3 -3
  60. package/dist/{chunk-4L3JBAW4.js → chunk-NUAVQQMC.js} +2 -2
  61. package/dist/{chunk-PBZZUNDV.js → chunk-O2TE5X25.js} +7 -7
  62. package/dist/{chunk-EOSQENQF.js → chunk-OVQDZOMU.js} +2 -2
  63. package/dist/{chunk-WD33LE5A.js → chunk-OZWV27SE.js} +1313 -127
  64. package/dist/chunk-OZWV27SE.js.map +1 -0
  65. package/dist/{chunk-5OOQ3HQ3.js → chunk-PCTJ7P6U.js} +11 -2
  66. package/dist/chunk-PCTJ7P6U.js.map +1 -0
  67. package/dist/{chunk-EZCJPF72.js → chunk-PLN2LJDM.js} +3 -3
  68. package/dist/{chunk-D4ANAOY7.js → chunk-QGJA43DX.js} +20 -6
  69. package/dist/chunk-QGJA43DX.js.map +1 -0
  70. package/dist/{chunk-6YFEV7CM.js → chunk-QWYE3S3U.js} +5 -5
  71. package/dist/{chunk-GC47NBGO.js → chunk-QXTL5MGT.js} +4 -4
  72. package/dist/{chunk-AWAXAJ6R.js → chunk-RCWP63XT.js} +2 -2
  73. package/dist/{chunk-IM67NRUW.js → chunk-RMKMJ43W.js} +2 -2
  74. package/dist/{chunk-EA5KKIFG.js → chunk-RVSUMNCR.js} +3 -3
  75. package/dist/{chunk-NFJGIBES.js → chunk-SVB45M54.js} +82 -238
  76. package/dist/chunk-SVB45M54.js.map +1 -0
  77. package/dist/{chunk-4HEEXPVX.js → chunk-T3VFO2LO.js} +6 -6
  78. package/dist/{chunk-FU3OCYYH.js → chunk-TFTGMYDR.js} +2 -2
  79. package/dist/chunk-UP6NBQ62.js +2 -0
  80. package/dist/{chunk-LPBVWUKS.js → chunk-V2IP2ZMD.js} +2 -2
  81. package/dist/{chunk-PHNAQ4QX.js → chunk-V5QTIP2M.js} +182 -94
  82. package/dist/chunk-V5QTIP2M.js.map +1 -0
  83. package/dist/{chunk-B3XXCDYW.js → chunk-VV4YM6VM.js} +2385 -2061
  84. package/dist/chunk-VV4YM6VM.js.map +1 -0
  85. package/dist/{chunk-7GB3KEEM.js → chunk-XKZZRG3Z.js} +24 -460
  86. package/dist/chunk-XKZZRG3Z.js.map +1 -0
  87. package/dist/{chunk-ZT5NUSZA.js → chunk-XTQTA262.js} +146 -27
  88. package/dist/chunk-XTQTA262.js.map +1 -0
  89. package/dist/chunk-YLU4H2H3.js +545 -0
  90. package/dist/chunk-YLU4H2H3.js.map +1 -0
  91. package/dist/{chunk-YF6IZXAC.js → chunk-ZLOLC6WD.js} +7 -7
  92. package/dist/{cli-RWRYV5FB.js → cli-6UQ3QV2G.js} +9 -9
  93. package/dist/{cli-LZW6Z33F.js → cli-GH42HLFK.js} +42 -24
  94. package/dist/cli-GH42HLFK.js.map +1 -0
  95. package/dist/{cli-5QTSTGTX.js → cli-GND6TVRG.js} +18 -18
  96. package/dist/{cli-4Y2XY52B.js → cli-JHULEOH2.js} +2 -2
  97. package/dist/cli-LVHZCC2O.js +379 -0
  98. package/dist/cli-LVHZCC2O.js.map +1 -0
  99. package/dist/{cli-2EKRURBU.js → cli-NWU77YRZ.js} +15 -15
  100. package/dist/{cli-2SDBEUER.js → cli-PUO75R3L.js} +21 -21
  101. package/dist/{cli-TZ2OHF3H.js → cli-Q2RJMCVE.js} +28 -20
  102. package/dist/cli-Q2RJMCVE.js.map +1 -0
  103. package/dist/{cli-DBMPGGOV.js → cli-RUNYBUIV.js} +38 -38
  104. package/dist/{cli-BXUZ3KEQ.js → cli-T7UJF3BF.js} +634 -36
  105. package/dist/cli-T7UJF3BF.js.map +1 -0
  106. package/dist/{cli-KAUXC7EZ.js → cli-WUFQGIUG.js} +9 -9
  107. package/dist/cli.js +14 -14
  108. package/dist/docmeta.js +8 -8
  109. package/dist/{github-UR6LMUMW.js → github-BV42LSW2.js} +13 -14
  110. package/dist/github-XZ7OLATY.js +35 -0
  111. package/dist/graph/runtime.d.ts +633 -217
  112. package/dist/graph/runtime.js +1001 -370
  113. package/dist/graph/runtime.js.map +1 -1
  114. package/dist/index.d.ts +2734 -1977
  115. package/dist/index.js +109 -65
  116. package/dist/index.js.map +1 -1
  117. package/dist/{json-QTYN2JQB.js → json-LEEXKSGP.js} +13 -14
  118. package/dist/{json-5EQCGVCV.js → json-YTKUFNO3.js} +2 -2
  119. package/dist/{labels-UM2AFR5S.js → labels-E256WRAI.js} +12 -13
  120. package/dist/{labels-UM2AFR5S.js.map → labels-E256WRAI.js.map} +1 -1
  121. package/dist/{lint-LOFNZZPR.js → lint-W4CM3EIO.js} +13 -13
  122. package/dist/{list-GU7S6KEX.js → list-TB4R6AP4.js} +13 -14
  123. package/dist/{list-EPMHOU7T.js → list-UDDGL2OI.js} +15 -15
  124. package/dist/{page-25CN3AFY.js → page-L64NO57W.js} +13 -14
  125. package/dist/{prepare-5GYMBF4P.js → prepare-GFTAYDTP.js} +13 -13
  126. package/dist/{pretty-52Z74O6F.js → pretty-HYCYKYHB.js} +14 -15
  127. package/dist/{pretty-QW6OSYRS.js → pretty-Q43TCD6D.js} +13 -14
  128. package/dist/{reporters-WT53GD4P.js → reporters-4HRBSMUF.js} +4 -4
  129. package/dist/{reporters-FSXJ42EB.js → reporters-6TEJDXXO.js} +4 -4
  130. package/dist/{reporters-3FXX2W4X.js → reporters-E3FUVBQ6.js} +12 -12
  131. package/dist/{run-H7XJMUWK.js → run-UDX2C54M.js} +16 -16
  132. package/dist/{sarif-C427U3NA.js → sarif-WL353VTA.js} +11 -11
  133. package/dist/sarif-XZFJ5VIJ.js +36 -0
  134. package/dist/site/rehype.d.ts +33 -0
  135. package/dist/site/rehype.js +49 -0
  136. package/dist/site/rehype.js.map +1 -0
  137. package/dist/{term-VG65JRNR.js → term-OZ7ZR5KB.js} +18 -19
  138. package/dist/{term-VG65JRNR.js.map → term-OZ7ZR5KB.js.map} +1 -1
  139. package/dist/{types-VMOT7RAL.js → types-7N7ETP3W.js} +2 -2
  140. package/dist/{validate-K36F54UB.js → validate-CR3TI7GP.js} +5 -5
  141. package/package.json +10 -1
  142. package/plugin/manni/.claude-plugin/plugin.json +1 -1
  143. package/shapes/graph/shapes-1.2.0.ttl +1161 -0
  144. package/dist/check-LVO4HZ3F.js +0 -36
  145. package/dist/chunk-2XRET3ZG.js.map +0 -1
  146. package/dist/chunk-3GLDB7MZ.js.map +0 -1
  147. package/dist/chunk-3WZQ2FR3.js +0 -236
  148. package/dist/chunk-3WZQ2FR3.js.map +0 -1
  149. package/dist/chunk-5D24C6WM.js.map +0 -1
  150. package/dist/chunk-5OOQ3HQ3.js.map +0 -1
  151. package/dist/chunk-7GB3KEEM.js.map +0 -1
  152. package/dist/chunk-7UC55CAU.js.map +0 -1
  153. package/dist/chunk-B3XXCDYW.js.map +0 -1
  154. package/dist/chunk-D4ANAOY7.js.map +0 -1
  155. package/dist/chunk-GQQ2AX63.js.map +0 -1
  156. package/dist/chunk-IKEWBMCN.js +0 -98
  157. package/dist/chunk-IKEWBMCN.js.map +0 -1
  158. package/dist/chunk-NFJGIBES.js.map +0 -1
  159. package/dist/chunk-OJ7FEM2G.js.map +0 -1
  160. package/dist/chunk-PHNAQ4QX.js.map +0 -1
  161. package/dist/chunk-WD33LE5A.js.map +0 -1
  162. package/dist/chunk-WDENIUC7.js.map +0 -1
  163. package/dist/chunk-WT3AATHC.js.map +0 -1
  164. package/dist/chunk-YUTVAMWW.js +0 -2
  165. package/dist/chunk-ZT5NUSZA.js.map +0 -1
  166. package/dist/cli-BXUZ3KEQ.js.map +0 -1
  167. package/dist/cli-LZW6Z33F.js.map +0 -1
  168. package/dist/cli-THEU2QG2.js.map +0 -1
  169. package/dist/cli-TZ2OHF3H.js.map +0 -1
  170. package/dist/github-ICZ5UDGX.js +0 -36
  171. package/dist/sarif-UVAFWZKS.js +0 -37
  172. /package/dist/{batch-L5W4JS7A.js.map → batch-5TPNK5BQ.js.map} +0 -0
  173. /package/dist/{build-GNZUVDZX.js.map → build-GGKCRWKH.js.map} +0 -0
  174. /package/dist/{calibrate-2LYIDN6U.js.map → calibrate-OGOLLGXY.js.map} +0 -0
  175. /package/dist/{capture-OEDMFU5Z.js.map → capture-CNHRHTA7.js.map} +0 -0
  176. /package/dist/{check-LVO4HZ3F.js.map → check-BAMOJMOJ.js.map} +0 -0
  177. /package/dist/{check-NLLFHNWG.js.map → check-XLIS5A7G.js.map} +0 -0
  178. /package/dist/{check-Z5VGDSDT.js.map → check-XYGABPXI.js.map} +0 -0
  179. /package/dist/{check-JR2TYL2Y.js.map → check-ZFI7H7LS.js.map} +0 -0
  180. /package/dist/{chunk-BMYCLTFK.js.map → chunk-327CWO33.js.map} +0 -0
  181. /package/dist/{chunk-ZJZQPOJO.js.map → chunk-3COYAAR7.js.map} +0 -0
  182. /package/dist/{chunk-6ANTGYNT.js.map → chunk-3LZ6AYB4.js.map} +0 -0
  183. /package/dist/{chunk-2AUULNIJ.js.map → chunk-4A445ALG.js.map} +0 -0
  184. /package/dist/{chunk-L3YGGYBG.js.map → chunk-4KY2RUXQ.js.map} +0 -0
  185. /package/dist/{chunk-NDBISART.js.map → chunk-5VA3ZOB7.js.map} +0 -0
  186. /package/dist/{chunk-4LLYPDNG.js.map → chunk-6E6Z6UQL.js.map} +0 -0
  187. /package/dist/{chunk-CSLJMML4.js.map → chunk-6ZYXK3JT.js.map} +0 -0
  188. /package/dist/{chunk-NH6B6DDI.js.map → chunk-CWVL7XZR.js.map} +0 -0
  189. /package/dist/{chunk-DTG6S2UG.js.map → chunk-E3YXGLEU.js.map} +0 -0
  190. /package/dist/{chunk-5PO2BWZF.js.map → chunk-E76WPNYO.js.map} +0 -0
  191. /package/dist/{chunk-DSTRT6YD.js.map → chunk-EU5QLSNN.js.map} +0 -0
  192. /package/dist/{chunk-F6B2TNXU.js.map → chunk-F7GYY373.js.map} +0 -0
  193. /package/dist/{chunk-IL62WATF.js.map → chunk-FNQE3RAW.js.map} +0 -0
  194. /package/dist/{chunk-LEOQO3S6.js.map → chunk-ICRYIYMJ.js.map} +0 -0
  195. /package/dist/{chunk-GR6QQ7GM.js.map → chunk-IIBVQCCR.js.map} +0 -0
  196. /package/dist/{chunk-O6YTTBSN.js.map → chunk-JFB45L7D.js.map} +0 -0
  197. /package/dist/{chunk-63GILHR5.js.map → chunk-KRQTN5KE.js.map} +0 -0
  198. /package/dist/{chunk-IGRXQC3H.js.map → chunk-N25KDXOV.js.map} +0 -0
  199. /package/dist/{chunk-DW22KCLN.js.map → chunk-NPZWOPOH.js.map} +0 -0
  200. /package/dist/{chunk-4L3JBAW4.js.map → chunk-NUAVQQMC.js.map} +0 -0
  201. /package/dist/{chunk-PBZZUNDV.js.map → chunk-O2TE5X25.js.map} +0 -0
  202. /package/dist/{chunk-EOSQENQF.js.map → chunk-OVQDZOMU.js.map} +0 -0
  203. /package/dist/{chunk-EZCJPF72.js.map → chunk-PLN2LJDM.js.map} +0 -0
  204. /package/dist/{chunk-6YFEV7CM.js.map → chunk-QWYE3S3U.js.map} +0 -0
  205. /package/dist/{chunk-GC47NBGO.js.map → chunk-QXTL5MGT.js.map} +0 -0
  206. /package/dist/{chunk-AWAXAJ6R.js.map → chunk-RCWP63XT.js.map} +0 -0
  207. /package/dist/{chunk-IM67NRUW.js.map → chunk-RMKMJ43W.js.map} +0 -0
  208. /package/dist/{chunk-EA5KKIFG.js.map → chunk-RVSUMNCR.js.map} +0 -0
  209. /package/dist/{chunk-4HEEXPVX.js.map → chunk-T3VFO2LO.js.map} +0 -0
  210. /package/dist/{chunk-FU3OCYYH.js.map → chunk-TFTGMYDR.js.map} +0 -0
  211. /package/dist/{chunk-YUTVAMWW.js.map → chunk-UP6NBQ62.js.map} +0 -0
  212. /package/dist/{chunk-LPBVWUKS.js.map → chunk-V2IP2ZMD.js.map} +0 -0
  213. /package/dist/{chunk-YF6IZXAC.js.map → chunk-ZLOLC6WD.js.map} +0 -0
  214. /package/dist/{cli-RWRYV5FB.js.map → cli-6UQ3QV2G.js.map} +0 -0
  215. /package/dist/{cli-5QTSTGTX.js.map → cli-GND6TVRG.js.map} +0 -0
  216. /package/dist/{cli-4Y2XY52B.js.map → cli-JHULEOH2.js.map} +0 -0
  217. /package/dist/{cli-2EKRURBU.js.map → cli-NWU77YRZ.js.map} +0 -0
  218. /package/dist/{cli-2SDBEUER.js.map → cli-PUO75R3L.js.map} +0 -0
  219. /package/dist/{cli-DBMPGGOV.js.map → cli-RUNYBUIV.js.map} +0 -0
  220. /package/dist/{cli-KAUXC7EZ.js.map → cli-WUFQGIUG.js.map} +0 -0
  221. /package/dist/{github-ICZ5UDGX.js.map → github-BV42LSW2.js.map} +0 -0
  222. /package/dist/{github-UR6LMUMW.js.map → github-XZ7OLATY.js.map} +0 -0
  223. /package/dist/{json-5EQCGVCV.js.map → json-LEEXKSGP.js.map} +0 -0
  224. /package/dist/{json-QTYN2JQB.js.map → json-YTKUFNO3.js.map} +0 -0
  225. /package/dist/{lint-LOFNZZPR.js.map → lint-W4CM3EIO.js.map} +0 -0
  226. /package/dist/{list-EPMHOU7T.js.map → list-TB4R6AP4.js.map} +0 -0
  227. /package/dist/{list-GU7S6KEX.js.map → list-UDDGL2OI.js.map} +0 -0
  228. /package/dist/{page-25CN3AFY.js.map → page-L64NO57W.js.map} +0 -0
  229. /package/dist/{prepare-5GYMBF4P.js.map → prepare-GFTAYDTP.js.map} +0 -0
  230. /package/dist/{pretty-52Z74O6F.js.map → pretty-HYCYKYHB.js.map} +0 -0
  231. /package/dist/{pretty-QW6OSYRS.js.map → pretty-Q43TCD6D.js.map} +0 -0
  232. /package/dist/{reporters-3FXX2W4X.js.map → reporters-4HRBSMUF.js.map} +0 -0
  233. /package/dist/{reporters-FSXJ42EB.js.map → reporters-6TEJDXXO.js.map} +0 -0
  234. /package/dist/{reporters-WT53GD4P.js.map → reporters-E3FUVBQ6.js.map} +0 -0
  235. /package/dist/{run-H7XJMUWK.js.map → run-UDX2C54M.js.map} +0 -0
  236. /package/dist/{sarif-C427U3NA.js.map → sarif-WL353VTA.js.map} +0 -0
  237. /package/dist/{sarif-UVAFWZKS.js.map → sarif-XZFJ5VIJ.js.map} +0 -0
  238. /package/dist/{types-VMOT7RAL.js.map → types-7N7ETP3W.js.map} +0 -0
  239. /package/dist/{validate-K36F54UB.js.map → validate-CR3TI7GP.js.map} +0 -0
@@ -1,236 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- askSampleQuestions,
4
- bundledShapesPath,
5
- compactIri,
6
- compareFindings,
7
- loadGraph,
8
- parseGraph,
9
- renderQuestionSummary,
10
- validateGraph
11
- } from "./chunk-B3XXCDYW.js";
12
- import {
13
- documentBase,
14
- loadRunConfig
15
- } from "./chunk-NFJGIBES.js";
16
- import {
17
- URI_BASE_ID,
18
- artifactLocation,
19
- fileUri,
20
- normalizeRoot
21
- } from "./chunk-GLP5PSXB.js";
22
- import {
23
- escapeWorkflowCommandMessage,
24
- escapeWorkflowCommandProperty,
25
- guidanceLines
26
- } from "./chunk-QK6VYJHV.js";
27
- import {
28
- palette
29
- } from "./chunk-RNVYGWIC.js";
30
- import {
31
- package_default
32
- } from "./chunk-5OOQ3HQ3.js";
33
-
34
- // src/graph/commands/check.ts
35
- import { dirname, resolve } from "node:path";
36
-
37
- // src/graph/reporters/github.ts
38
- function renderCheckGithub(report) {
39
- const lines = [];
40
- for (const f of report.findings) {
41
- const file = f.docs[0];
42
- const where = file === void 0 ? "" : ` file=${escapeWorkflowCommandProperty(file)}`;
43
- const message = escapeWorkflowCommandMessage(
44
- [`${f.message} (${compactIri(f.focusNode)})`, ...guidanceLines(f.guidance)].join("\n")
45
- );
46
- lines.push(`::${f.severity}${where}::${message}`);
47
- }
48
- return lines.join("\n");
49
- }
50
-
51
- // src/graph/reporters/sarif.ts
52
- var SARIF_VERSION = "2.1.0";
53
- var SARIF_SCHEMA = "https://json.schemastore.org/sarif-2.1.0.json";
54
- var INFORMATION_URI = "https://github.com/hawkeyexl/manni";
55
- var LEVELS = {
56
- error: "error",
57
- warning: "warning",
58
- notice: "note"
59
- };
60
- function ruleIdOf(f) {
61
- return `manni:graph/${f.guidance?.rule ?? "shacl"}`;
62
- }
63
- function pascalCase(rule) {
64
- return rule.split(/[^A-Za-z0-9]+/).filter(Boolean).map((w) => w.charAt(0).toUpperCase() + w.slice(1)).join("");
65
- }
66
- function descriptor(f) {
67
- const rule = f.guidance?.rule ?? null;
68
- const description = f.guidance?.description ?? null;
69
- const guide = f.guidance?.guide ?? null;
70
- return {
71
- id: ruleIdOf(f),
72
- name: pascalCase(rule ?? "shacl"),
73
- shortDescription: {
74
- text: rule === null ? "A SHACL constraint in the shapes in effect." : `The ${rule} shape.`
75
- },
76
- ...description === null ? {} : { fullDescription: { text: description } },
77
- ...guide === null ? {} : { helpUri: guide }
78
- };
79
- }
80
- function renderCheckSarif(report) {
81
- const root = normalizeRoot(report.root);
82
- const rules = [];
83
- const indexOf = /* @__PURE__ */ new Map();
84
- const results = [];
85
- let pageless = 0;
86
- for (const f of report.findings) {
87
- if (f.docs.length === 0) {
88
- pageless += 1;
89
- continue;
90
- }
91
- const id = ruleIdOf(f);
92
- let index = indexOf.get(id);
93
- if (index === void 0) {
94
- index = rules.length;
95
- indexOf.set(id, index);
96
- rules.push(descriptor(f));
97
- }
98
- results.push({
99
- ruleId: id,
100
- ruleIndex: index,
101
- level: LEVELS[f.severity],
102
- message: { text: [f.message, ...guidanceLines(f.guidance)].join("\n") },
103
- locations: f.docs.map((doc) => ({
104
- physicalLocation: {
105
- artifactLocation: artifactLocation(doc, root),
106
- region: { startLine: 1 }
107
- }
108
- })),
109
- ...f.guidance === null ? {} : { properties: { guidance: f.guidance } }
110
- });
111
- }
112
- const notifications = pageless === 0 ? [] : [
113
- {
114
- level: "note",
115
- message: {
116
- text: `${String(pageless)} ${pageless === 1 ? "finding names" : "findings name"} no page. Run manni graph check to see them.`
117
- }
118
- }
119
- ];
120
- return JSON.stringify(
121
- {
122
- $schema: SARIF_SCHEMA,
123
- version: SARIF_VERSION,
124
- runs: [
125
- {
126
- tool: {
127
- driver: {
128
- name: "manni-graph",
129
- informationUri: INFORMATION_URI,
130
- version: package_default.version,
131
- rules
132
- }
133
- },
134
- originalUriBaseIds: { [URI_BASE_ID]: { uri: fileUri(root) } },
135
- invocations: [
136
- {
137
- // Findings are the tool doing its job. A run that cannot check
138
- // exits 2 before any report is rendered.
139
- executionSuccessful: true,
140
- ...notifications.length === 0 ? {} : { toolExecutionNotifications: notifications }
141
- }
142
- ],
143
- results
144
- }
145
- ]
146
- },
147
- null,
148
- 2
149
- );
150
- }
151
-
152
- // src/graph/commands/check.ts
153
- async function runCheck(opts = {}) {
154
- const cwd = opts.cwd ?? process.cwd();
155
- const config = loadRunConfig(
156
- {
157
- ...opts.config === void 0 ? {} : { configPath: opts.config },
158
- ...opts.noConfig === void 0 ? {} : { noConfig: opts.noConfig }
159
- },
160
- cwd
161
- );
162
- const graphPath = resolve(cwd, opts.graph ?? config.out);
163
- const store = opts.turtle === void 0 ? loadGraph(graphPath) : parseGraph(opts.turtle, "the built graph");
164
- const shapesInput = opts.shapes && opts.shapes.length > 0 ? opts.shapes : config.check.shapes;
165
- const sources = shapesInput.length > 0 ? shapesInput.map((p) => ({ path: resolve(cwd, p), label: p })) : [bundledShapesPath(import.meta.url)];
166
- const shapes = sources.map((s) => typeof s === "string" ? s : s.path);
167
- const root = documentBase(config, {}, cwd);
168
- const asked = await askSampleQuestions(
169
- store,
170
- config.check.questions,
171
- root,
172
- dirname(graphPath),
173
- {
174
- source: {
175
- ...opts.config === void 0 ? {} : { configPath: opts.config },
176
- ...opts.noConfig === void 0 ? {} : { noConfig: opts.noConfig }
177
- },
178
- cwd
179
- },
180
- config.questionFiles,
181
- config.configDir
182
- );
183
- const findings = [...await validateGraph(store, sources), ...asked.findings].sort(
184
- compareFindings
185
- );
186
- const count = (severity) => findings.filter((f) => f.severity === severity).length;
187
- const errors = count("error");
188
- return {
189
- findings,
190
- errors,
191
- warnings: count("warning"),
192
- notices: count("notice"),
193
- shapes,
194
- ...asked.summary ? { questions: asked.summary } : {},
195
- root,
196
- // Only an `error` fails the run; a warning and a notice are reported and
197
- // pass, as they were when they were called violations and warnings.
198
- exitCode: errors > 0 ? 1 : 0
199
- };
200
- }
201
- function plural(n, word) {
202
- return `${String(n)} ${word}${n === 1 ? "" : "s"}`;
203
- }
204
- function renderCheck(report, format, opts = {}) {
205
- if (format === "json") {
206
- const { exitCode: _exitCode, root: _root, ...rest } = report;
207
- return JSON.stringify(rest, null, 2);
208
- }
209
- if (format === "sarif") return renderCheckSarif(report);
210
- const summary = report.questions ? renderQuestionSummary(report.questions) : [];
211
- if (format === "github") {
212
- const annotations = renderCheckGithub(report);
213
- if (summary.length === 0) return annotations;
214
- return [...annotations === "" ? [] : [annotations, ""], ...summary].join("\n");
215
- }
216
- const c = palette(opts.color === true);
217
- const lines = [];
218
- for (const f of report.findings) {
219
- const pages = f.docs.length > 0 ? f.docs.join(", ") : "(no page)";
220
- lines.push(`${f.severity}: ${pages}: ${f.message}`);
221
- const at = `at ${compactIri(f.focusNode)}${f.path ? ` ${compactIri(f.path)}` : ""}`;
222
- for (const line of [at, ...guidanceLines(f.guidance)]) lines.push(` ${c.dim(line)}`);
223
- }
224
- if (report.findings.length > 0) lines.push("");
225
- if (summary.length > 0) lines.push(...summary, "");
226
- lines.push(
227
- `${plural(report.errors, "error")}, ${plural(report.warnings, "warning")}, ${plural(report.notices, "notice")}`
228
- );
229
- return lines.join("\n");
230
- }
231
-
232
- export {
233
- runCheck,
234
- renderCheck
235
- };
236
- //# sourceMappingURL=chunk-3WZQ2FR3.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/graph/commands/check.ts","../src/graph/reporters/github.ts","../src/graph/reporters/sarif.ts"],"sourcesContent":["/**\n * `manni graph check` — graph-level validation: run the published SHACL shapes\n * (plus the TS-side SKOS integrity checks) over the built graph and report\n * findings with the doc paths responsible. Each page's sample questions are\n * asked too (proposal 0086 §7), with each golden-set file's, and the question\n * set's health is summed up after the findings (proposal 0087). Errors exit 1; warnings and notices are\n * reported but pass.\n */\nimport { dirname, resolve } from \"node:path\";\nimport type { Severity } from \"../../shared/severity.js\";\nimport { loadRunConfig } from \"../core/config.js\";\nimport { loadGraph, compactIri, parseGraph } from \"../core/load.js\";\nimport { documentBase } from \"../core/discover.js\";\nimport { bundledShapesPath } from \"../core/pkg.js\";\nimport {\n compareFindings,\n validateGraph,\n type CheckFinding,\n} from \"../core/shacl.js\";\nimport {\n askSampleQuestions,\n renderQuestionSummary,\n type QuestionSummary,\n} from \"./questions.js\";\nimport { palette } from \"../../shared/color.js\";\nimport { guidanceLines } from \"../../shared/guidance.js\";\nimport { renderCheckGithub } from \"../reporters/github.js\";\nimport type { CheckFormat } from \"../reporters/index.js\";\nimport { renderCheckSarif } from \"../reporters/sarif.js\";\n\nexport interface CheckOptions {\n config?: string;\n /** `--no-config`: skip discovery and run on the built-in defaults. */\n noConfig?: boolean;\n /** Graph .ttl path (default: config `out`). */\n graph?: string;\n /** Shapes .ttl paths (default: config `check.shapes`, then bundled). */\n shapes?: string[];\n cwd?: string;\n /**\n * The graph as Turtle, in place of reading `graph`: what `buildGraph`\n * returns, so `manni check` checks a build it never wrote.\n */\n turtle?: string;\n}\n\nexport interface CheckReport {\n findings: CheckFinding[];\n /** Counts on the family's scale, not SHACL's (proposal 0051 §2). */\n errors: number;\n warnings: number;\n notices: number;\n /** Shapes files used, as given (for reporting). */\n shapes: string[];\n /** The question set's health (proposal 0087); absent when no question exists. */\n questions?: QuestionSummary;\n /**\n * The directory each finding's `docs` are labelled from, which SARIF\n * resolves them against. Not printed in JSON, which labels pages as before.\n */\n root: string;\n exitCode: 0 | 1;\n}\n\nexport async function runCheck(opts: CheckOptions = {}): Promise<CheckReport> {\n const cwd = opts.cwd ?? process.cwd();\n const config = loadRunConfig(\n {\n ...(opts.config === undefined ? {} : { configPath: opts.config }),\n ...(opts.noConfig === undefined ? {} : { noConfig: opts.noConfig }),\n },\n cwd,\n );\n const graphPath = resolve(cwd, opts.graph ?? config.out);\n const store =\n opts.turtle === undefined\n ? loadGraph(graphPath)\n : parseGraph(opts.turtle, \"the built graph\");\n\n // CLI flag over config over the bundled contract — same precedence as\n // every other knob.\n const shapesInput =\n opts.shapes && opts.shapes.length > 0 ? opts.shapes : config.check.shapes;\n // Each file keeps the spelling it was given, which a finding's guidance\n // names when the file carries no header of its own.\n const sources =\n shapesInput.length > 0\n ? shapesInput.map((p) => ({ path: resolve(cwd, p), label: p }))\n : [bundledShapesPath(import.meta.url)];\n const shapes = sources.map((s) => (typeof s === \"string\" ? s : s.path));\n\n // Pages read from where `build` labels them, and a vector sidecar from\n // beside the graph, as `export search` and `search` read them. Golden-set\n // files resolve from the config file's directory.\n const root = documentBase(config, {}, cwd);\n const asked = await askSampleQuestions(\n store,\n config.check.questions,\n root,\n dirname(graphPath),\n {\n source: {\n ...(opts.config === undefined ? {} : { configPath: opts.config }),\n ...(opts.noConfig === undefined ? {} : { noConfig: opts.noConfig }),\n },\n cwd,\n },\n config.questionFiles,\n config.configDir,\n );\n const findings = [...(await validateGraph(store, sources)), ...asked.findings].sort(\n compareFindings,\n );\n const count = (severity: Severity): number =>\n findings.filter((f) => f.severity === severity).length;\n const errors = count(\"error\");\n\n return {\n findings,\n errors,\n warnings: count(\"warning\"),\n notices: count(\"notice\"),\n shapes,\n ...(asked.summary ? { questions: asked.summary } : {}),\n root,\n // Only an `error` fails the run; a warning and a notice are reported and\n // pass, as they were when they were called violations and warnings.\n exitCode: errors > 0 ? 1 : 0,\n };\n}\n\n/** `2 errors`, `1 warning`, `0 notices` — each count pluralized on its own. */\nfunction plural(n: number, word: string): string {\n return `${String(n)} ${word}${n === 1 ? \"\" : \"s\"}`;\n}\n\nexport function renderCheck(\n report: CheckReport,\n format: CheckFormat,\n opts: { color?: boolean } = {},\n): string {\n if (format === \"json\") {\n const { exitCode: _exitCode, root: _root, ...rest } = report;\n return JSON.stringify(rest, null, 2);\n }\n if (format === \"sarif\") return renderCheckSarif(report);\n const summary = report.questions ? renderQuestionSummary(report.questions) : [];\n if (format === \"github\") {\n // The summary is plain text after the annotations, which GitHub logs as is.\n const annotations = renderCheckGithub(report);\n if (summary.length === 0) return annotations;\n return [...(annotations === \"\" ? [] : [annotations, \"\"]), ...summary].join(\"\\n\");\n }\n const c = palette(opts.color === true);\n const lines: string[] = [];\n for (const f of report.findings) {\n // The pages first: they are what the author edits. The node and the\n // predicate follow, dim, for whoever reads the graph.\n const pages = f.docs.length > 0 ? f.docs.join(\", \") : \"(no page)\";\n lines.push(`${f.severity}: ${pages}: ${f.message}`);\n const at = `at ${compactIri(f.focusNode)}${f.path ? ` ${compactIri(f.path)}` : \"\"}`;\n for (const line of [at, ...guidanceLines(f.guidance)]) lines.push(` ${c.dim(line)}`);\n }\n if (report.findings.length > 0) lines.push(\"\");\n if (summary.length > 0) lines.push(...summary, \"\");\n lines.push(\n `${plural(report.errors, \"error\")}, ${plural(report.warnings, \"warning\")}, ${plural(report.notices, \"notice\")}`,\n );\n return lines.join(\"\\n\");\n}\n","/**\n * `--format github`: one workflow-command annotation per `check` finding.\n *\n * `::error file=<first blamed doc>::<message> (<focus node>)`, with\n * `::warning` and `::notice` for the lower levels — the family scale is\n * GitHub's, so the level is the severity, exactly as a11y's and cite's\n * reporters have it. The guidance lines follow the message after `%0A`, so\n * the annotation names the shape that judged the page (proposal 0089).\n *\n * A SHACL finding carries no line number, and a finding about a shared node —\n * a concept, an agent, the scheme — may trace back to no document at all. Then\n * there is nothing to anchor to and the annotation goes out without `file=`,\n * which GitHub shows against the workflow run rather than dropping.\n *\n * Empty when the run is clean, so a clean CI step logs nothing.\n */\nimport {\n escapeWorkflowCommandMessage,\n escapeWorkflowCommandProperty,\n} from \"../../shared/github.js\";\nimport { guidanceLines } from \"../../shared/guidance.js\";\nimport type { CheckReport } from \"../commands/check.js\";\nimport { compactIri } from \"../core/load.js\";\n\nexport function renderCheckGithub(report: CheckReport): string {\n const lines: string[] = [];\n for (const f of report.findings) {\n // The first, not all of them: one annotation lands on one file, and the\n // docs are sorted, so which one is stable across runs.\n const file = f.docs[0];\n const where =\n file === undefined ? \"\" : ` file=${escapeWorkflowCommandProperty(file)}`;\n const message = escapeWorkflowCommandMessage(\n [`${f.message} (${compactIri(f.focusNode)})`, ...guidanceLines(f.guidance)].join(\"\\n\"),\n );\n lines.push(`::${f.severity}${where}::${message}`);\n }\n return lines.join(\"\\n\");\n}\n","/**\n * `--format sarif`: `graph check` as SARIF 2.1.0, the log code scanning reads\n * (proposal 0089). `manni check -f sarif` carries this run as it is.\n *\n * A SHACL finding names a node of the built graph, not a line of a page. Its\n * location is each page it blames, at line 1, where the frontmatter begins.\n * A finding that blames no page has nothing code scanning can anchor, so it\n * stays out of `results`. The run counts those in one notification instead,\n * and the exit code still counts every finding.\n */\nimport pkg from \"../../../package.json\" with { type: \"json\" };\nimport type { Guidance } from \"../../shared/guidance.js\";\nimport { guidanceLines } from \"../../shared/guidance.js\";\nimport {\n artifactLocation,\n fileUri,\n normalizeRoot,\n URI_BASE_ID,\n type ArtifactLocation,\n} from \"../../shared/sarif-location.js\";\nimport type { Severity } from \"../../shared/severity.js\";\nimport type { CheckReport } from \"../commands/check.js\";\nimport type { CheckFinding } from \"../core/shacl.js\";\n\nconst SARIF_VERSION = \"2.1.0\";\nconst SARIF_SCHEMA = \"https://json.schemastore.org/sarif-2.1.0.json\";\nconst INFORMATION_URI = \"https://github.com/hawkeyexl/manni\";\n\ntype SarifLevel = \"error\" | \"warning\" | \"note\";\n\n/** The family scale onto SARIF's, which spells the lowest level `note`. */\nconst LEVELS: Record<Severity, SarifLevel> = {\n error: \"error\",\n warning: \"warning\",\n notice: \"note\",\n};\n\ninterface ReportingDescriptor {\n id: string;\n name: string;\n shortDescription: { text: string };\n fullDescription?: { text: string };\n helpUri?: string;\n}\n\ninterface SarifResult {\n ruleId: string;\n ruleIndex: number;\n level: SarifLevel;\n message: { text: string };\n locations: Array<{\n physicalLocation: { artifactLocation: ArtifactLocation; region: { startLine: number } };\n }>;\n properties?: { guidance: Guidance };\n}\n\n/** `manni:graph/Document-language`, or `manni:graph/shacl` when no rule is named. */\nfunction ruleIdOf(f: CheckFinding): string {\n return `manni:graph/${f.guidance?.rule ?? \"shacl\"}`;\n}\n\n/** `Document-language` → `DocumentLanguage`: SARIF asks for one Pascal-case word. */\nfunction pascalCase(rule: string): string {\n return rule\n .split(/[^A-Za-z0-9]+/)\n .filter(Boolean)\n .map((w) => w.charAt(0).toUpperCase() + w.slice(1))\n .join(\"\");\n}\n\nfunction descriptor(f: CheckFinding): ReportingDescriptor {\n const rule = f.guidance?.rule ?? null;\n const description = f.guidance?.description ?? null;\n const guide = f.guidance?.guide ?? null;\n return {\n id: ruleIdOf(f),\n name: pascalCase(rule ?? \"shacl\"),\n shortDescription: {\n text: rule === null ? \"A SHACL constraint in the shapes in effect.\" : `The ${rule} shape.`,\n },\n ...(description === null ? {} : { fullDescription: { text: description } }),\n ...(guide === null ? {} : { helpUri: guide }),\n };\n}\n\nexport function renderCheckSarif(report: CheckReport): string {\n const root = normalizeRoot(report.root);\n const rules: ReportingDescriptor[] = [];\n const indexOf = new Map<string, number>();\n const results: SarifResult[] = [];\n let pageless = 0;\n\n for (const f of report.findings) {\n if (f.docs.length === 0) {\n pageless += 1;\n continue;\n }\n const id = ruleIdOf(f);\n let index = indexOf.get(id);\n if (index === undefined) {\n index = rules.length;\n indexOf.set(id, index);\n rules.push(descriptor(f));\n }\n results.push({\n ruleId: id,\n ruleIndex: index,\n level: LEVELS[f.severity],\n message: { text: [f.message, ...guidanceLines(f.guidance)].join(\"\\n\") },\n locations: f.docs.map((doc) => ({\n physicalLocation: {\n artifactLocation: artifactLocation(doc, root),\n region: { startLine: 1 },\n },\n })),\n ...(f.guidance === null ? {} : { properties: { guidance: f.guidance } }),\n });\n }\n\n const notifications =\n pageless === 0\n ? []\n : [\n {\n level: \"note\" as const,\n message: {\n text: `${String(pageless)} ${pageless === 1 ? \"finding names\" : \"findings name\"} no page. Run manni graph check to see them.`,\n },\n },\n ];\n\n return JSON.stringify(\n {\n $schema: SARIF_SCHEMA,\n version: SARIF_VERSION,\n runs: [\n {\n tool: {\n driver: {\n name: \"manni-graph\",\n informationUri: INFORMATION_URI,\n version: pkg.version,\n rules,\n },\n },\n originalUriBaseIds: { [URI_BASE_ID]: { uri: fileUri(root) } },\n invocations: [\n {\n // Findings are the tool doing its job. A run that cannot check\n // exits 2 before any report is rendered.\n executionSuccessful: true,\n ...(notifications.length === 0 ? {} : { toolExecutionNotifications: notifications }),\n },\n ],\n results,\n },\n ],\n },\n null,\n 2,\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,SAAS,SAAS,eAAe;;;ACgB1B,SAAS,kBAAkB,QAA6B;AAC7D,QAAM,QAAkB,CAAC;AACzB,aAAW,KAAK,OAAO,UAAU;AAG/B,UAAM,OAAO,EAAE,KAAK,CAAC;AACrB,UAAM,QACJ,SAAS,SAAY,KAAK,SAAS,8BAA8B,IAAI,CAAC;AACxE,UAAM,UAAU;AAAA,MACd,CAAC,GAAG,EAAE,OAAO,KAAK,WAAW,EAAE,SAAS,CAAC,KAAK,GAAG,cAAc,EAAE,QAAQ,CAAC,EAAE,KAAK,IAAI;AAAA,IACvF;AACA,UAAM,KAAK,KAAK,EAAE,QAAQ,GAAG,KAAK,KAAK,OAAO,EAAE;AAAA,EAClD;AACA,SAAO,MAAM,KAAK,IAAI;AACxB;;;ACdA,IAAM,gBAAgB;AACtB,IAA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E,QAAQ,KAAK,KAAK,KAAK,EAAE,OAAO,EAAE;AAClD,UAAM,KAAK,MAAM,WAAW,EAAE,SAAS,CAAC,GAAG,EAAE,OAAO,IAAI,WAAW,EAAE,IAAI,CAAC,KAAK,EAAE;AACjF,eAAW,QAAQ,CAAC,IAAI,GAAG,cAAc,EAAE,QAAQ,CAAC,EAAG,OAAM,KAAK,KAAK,EAAE,IAAI,IAAI,CAAC,EAAE;AAAA,EACtF;AACA,MAAI,OAAO,SAAS,SAAS,EAAG,OAAM,KAAK,EAAE;AAC7C,MAAI,QAAQ,SAAS,EAAG,OAAM,KAAK,GAAG,SAAS,EAAE;AACjD,QAAM;AAAA,IACJ,GAAG,OAAO,OAAO,QAAQ,OAAO,CAAC,KAAK,OAAO,OAAO,UAAU,SAAS,CAAC,KAAK,OAAO,OAAO,SAAS,QAAQ,CAAC;AAAA,EAC/G;AACA,SAAO,MAAM,KAAK,IAAI;AACxB;","names":[]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/cite/reporters/json.ts"],"sourcesContent":["/**\n * JSON output. `{ summary, pages }` for check; the run itself for update,\n * remove and history.\n *\n * A citation prints its two ends and how they are anchored. `resolvedPath`,\n * `diff`, `commitsSince` and a changed claim's current lines are left out of\n * every citation: output never says more than the page did. It is an\n * allowlist rather than a strip, so a field added to the result stays private\n * until someone decides here that it is safe to print.\n */\nimport type {\n CheckRun,\n CitationAnchor,\n CitationResult,\n HistoryRun,\n MarkerEnd,\n OriginKind,\n PageCitationReport,\n RemoveRun,\n UpdateRewrite,\n UpdateRun,\n} from \"../types.js\";\n\nexport interface PublicClaimEnd {\n lines?: string;\n fileLines?: string;\n status: string;\n newLines?: string;\n candidates?: string[];\n /** The baseline the claim was read against: the page's own history says it. */\n commitSha?: string;\n historyAvailable?: boolean;\n}\n\nexport interface PublicSourceEnd {\n src: string;\n status: string;\n newLines?: string;\n newSrc?: string;\n candidates?: string[];\n /** The entry's recorded `commit-sha`, as it is written. */\n commitSha?: string;\n /** The full hash the verdict was read against, when history found one (0097). */\n baselineSha?: string;\n historyAvailable?: boolean;\n truncatedSearch?: boolean;\n}\n\nexport interface PublicCitationResult {\n id?: string;\n origin: { kind: OriginKind; file: string; line?: number };\n anchor: CitationAnchor;\n /** The marker that names the entry: its line, and its misplacement when it has one. */\n marker?: MarkerEnd;\n claim: PublicClaimEnd | null;\n source: PublicSourceEnd;\n}\n\nexport function publicCitation(result: CitationResult): PublicCitationResult {\n const origin: PublicCitationResult[\"origin\"] = {\n kind: result.origin.kind,\n file: result.origin.file,\n };\n if (result.origin.line !== undefined) origin.line = result.origin.line;\n\n const source: PublicSourceEnd = { src: result.source.src, status: result.source.status };\n if (result.source.newLines !== undefined) source.newLines = result.source.newLines;\n if (result.source.newSrc !== undefined) source.newSrc = result.source.newSrc;\n if (result.source.candidates !== undefined) source.candidates = result.source.candidates;\n if (result.source.commitSha !== undefined) source.commitSha = result.source.commitSha;\n if (result.source.baselineSha !== undefined) source.baselineSha = result.source.baselineSha;\n if (result.source.historyAvailable !== undefined) {\n source.historyAvailable = result.source.historyAvailable;\n }\n if (result.source.truncatedSearch !== undefined) {\n source.truncatedSearch = result.source.truncatedSearch;\n }\n\n let claim: PublicClaimEnd | null = null;\n if (result.claim !== null) {\n claim = { status: result.claim.status };\n if (result.claim.lines !== undefined) claim.lines = result.claim.lines;\n if (result.claim.fileLines !== undefined) claim.fileLines = result.claim.fileLines;\n if (result.claim.newLines !== undefined) claim.newLines = result.claim.newLines;\n if (result.claim.candidates !== undefined) claim.candidates = result.claim.candidates;\n if (result.claim.commitSha !== undefined) claim.commitSha = result.claim.commitSha;\n if (result.claim.historyAvailable !== undefined) {\n claim.historyAvailable = result.claim.historyAvailable;\n }\n }\n\n // Key order is the order the plan spells a citation in: what it is called,\n // where it is kept, what anchors it, then its two ends.\n return {\n ...(result.citation.id === undefined ? {} : { id: result.citation.id }),\n origin,\n anchor: result.anchor,\n ...(result.marker === undefined ? {} : { marker: result.marker }),\n claim,\n source,\n };\n}\n\nexport interface PublicPageReport extends Omit<PageCitationReport, \"citations\"> {\n citations: PublicCitationResult[];\n}\n\nexport function publicPage(page: PageCitationReport): PublicPageReport {\n return { ...page, citations: page.citations.map(publicCitation) };\n}\n\nexport function renderCheckJson(run: CheckRun): string {\n return JSON.stringify({ summary: run.summary, pages: run.pages.map(publicPage) }, null, 2);\n}\n\nexport function renderRemoveJson(run: RemoveRun): string {\n // The whole run, with nothing stripped: `RemoveRun` carries no\n // pretty-only field, as `UpdateRewrite.markerLine` is below. A field added\n // to it for the terminal alone is stripped here, as that one is.\n return JSON.stringify(run, null, 2);\n}\n\n/** `{ summary, pages }` for `history`: the run itself, which carries nothing pretty-only. */\nexport function renderHistoryJson(run: HistoryRun): string {\n return JSON.stringify(run, null, 2);\n}\n\nexport function renderUpdateJson(run: UpdateRun): string {\n // `markerLine` is the pretty report's line for a marker-anchored claim.\n // `at` is the claim's own first file line, which is what data says.\n const strip = (rows: readonly UpdateRewrite[]): Omit<UpdateRewrite, \"markerLine\">[] =>\n rows.map(({ markerLine: _pretty, ...rewrite }) => rewrite);\n const pages = run.pages.map((page) => ({\n ...page,\n rewritten: strip(page.rewritten),\n refused: strip(page.refused),\n }));\n return JSON.stringify({ ...run, pages }, null, 2);\n}\n"],"mappings":";;;AA0DO,SAAS,eAAe,QAA8C;AAC3E,QAAM,SAAyC;AAAA,IAC7C,MAAM,OAAO,OAAO;AAAA,IACpB,MAAM,OAAO,OAAO;AAAA,EACtB;AACA,MAAI,OAAO,OAAO,SAAS,OAAW,QAAO,OAAO,OAAO,OAAO;AAElE,QAAM,SAA0B,EAAE,KAAK,OAAO,OAAO,KAAK,QAAQ,OAAO,OAAO,OAAO;AACvF,MAAI,OAAO,OAAO,aAAa,OAAW,QAAO,WAAW,OAAO,OAAO;AAC1E,MAAI,OAAO,OAAO,WAAW,OAAW,QAAO,SAAS,OAAO,OAAO;AACtE,MAAI,OAAO,OAAO,eAAe,OAAW,QAAO,aAAa,OAAO,OAAO;AAC9E,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AG,MAAM,CAAC;AAC3F;AAEO,SAAS,iBAAiB,KAAwB;AAIvD,SAAO,KAAK,UAAU,KAAK,MAAM,CAAC;AACpC;AAGO,SAAS,kBAAkB,KAAyB;AACzD,SAAO,KAAK,UAAU,KAAK,MAAM,CAAC;AACpC;AAEO,SAAS,iBAAiB,KAAwB;AAGvD,QAAM,QAAQ,CAAC,SACb,KAAK,IAAI,CAAC,EAAE,YAAY,SAAS,GAAG,QAAQ,MAAM,OAAO;AAC3D,QAAM,QAAQ,IAAI,MAAM,IAAI,CAAC,UAAU;AAAA,IACrC,GAAG;AAAA,IACH,WAAW,MAAM,KAAK,SAAS;AAAA,IAC/B,SAAS,MAAM,KAAK,OAAO;AAAA,EAC7B,EAAE;AACF,SAAO,KAAK,UAAU,EAAE,GAAG,KAAK,MAAM,GAAG,MAAM,CAAC;AAClD;","names":[]}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../package.json"],"sourcesContent":["{\n \"name\": \"@hawkeyexl/manni\",\n \"version\": \"4.16.0\",\n \"description\": \"One command line for documentation that is meant to be checked. `manni meta` validates the presence and format of document metadata (Markdown frontmatter and more) against JSON Schema, built for CI. Formerly docmeta.\",\n \"type\": \"module\",\n \"bin\": {\n \"manni\": \"dist/cli.js\",\n \"docmeta\": \"dist/docmeta.js\"\n },\n \"main\": \"dist/index.js\",\n \"module\": \"dist/index.js\",\n \"types\": \"dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"types\": \"./dist/index.d.ts\",\n \"import\": \"./dist/index.js\"\n },\n \"./graph/runtime\": {\n \"types\": \"./dist/graph/runtime.d.ts\",\n \"import\": \"./dist/graph/runtime.js\"\n },\n \"./graph/embed\": {\n \"types\": \"./dist/graph/embed.d.ts\",\n \"import\": \"./dist/graph/embed.js\"\n },\n \"./package.json\": \"./package.json\"\n },\n \"files\": [\n \"dist\",\n \"schemas\",\n \"plugin\",\n \"shapes\",\n \"templates\"\n ],\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/hawkeyexl/manni.git\"\n },\n \"homepage\": \"https://hawkeyexl.github.io/manni/\",\n \"bugs\": {\n \"url\": \"https://github.com/hawkeyexl/manni/issues\"\n },\n \"publishConfig\": {\n \"access\": \"public\"\n },\n \"engines\": {\n \"node\": \">=24\"\n },\n \"scripts\": {\n \"prebuild\": \"npm run check:deps\",\n \"build\": \"node scripts/clean-dist.mjs && tsup\",\n \"dev\": \"node scripts/clean-dist.mjs && tsup --watch\",\n \"pretest\": \"npm run check:deps\",\n \"test\": \"vitest run\",\n \"test:watch\": \"vitest\",\n \"test:graph:real\": \"vitest run --config vitest.graph-real.config.ts\",\n \"test:term:real\": \"vitest run --config vitest.term-real.config.ts\",\n \"test:coverage\": \"vitest run --coverage\",\n \"pretypecheck\": \"npm run check:deps\",\n \"typecheck\": \"tsc --noEmit\",\n \"lint\": \"eslint .\",\n \"check:deps\": \"node scripts/check-deps.mjs\",\n \"query:ui\": \"npm run build && node dist/cli.js meta query --db .manni/meta/query.db && node scripts/query-ui.mjs .manni/meta/query.db\",\n \"check:tgdp-pin\": \"node scripts/lint-check-tgdp-pin.mjs\",\n \"smoke:lint\": \"npm run build && node scripts/lint-smoke.mjs\",\n \"docs:check-cli\": \"node scripts/check-cli-reference.mjs\",\n \"docs:check-action\": \"node scripts/check-action-reference.mjs\",\n \"docs:check-api\": \"node scripts/check-api-reference.mjs\",\n \"docs:check-links\": \"node scripts/check-doc-links.mjs\",\n \"docs:check-docevals\": \"node dist/cli.js docevals run --deterministic-only --no-generate\",\n \"docs:check-graph\": \"node scripts/check-docs-graph.mjs\",\n \"docs:check-tables\": \"node scripts/check-table-rows.mjs\",\n \"docs:check-versions\": \"node scripts/check-versions.mjs\",\n \"docs:sync-versions\": \"node scripts/sync-versions.mjs\",\n \"schemas:sync\": \"node scripts/sync-builtin-schemas.mjs\",\n \"schemas:check\": \"node scripts/check-builtin-schemas.mjs\",\n \"schemas:check-published\": \"node scripts/check-published-schemas.mjs\",\n \"commitlint\": \"commitlint --edit\",\n \"semantic-release\": \"semantic-release\",\n \"prepare\": \"node scripts/prepare.mjs\",\n \"prepublishOnly\": \"npm run build\"\n },\n \"keywords\": [\n \"frontmatter\",\n \"metadata\",\n \"json-schema\",\n \"markdown\",\n \"validation\",\n \"cli\",\n \"ci\",\n \"okf\"\n ],\n \"license\": \"MIT\",\n \"overrides\": {\n \"esbuild\": \"^0.28.2\"\n },\n \"dependencies\": {\n \"@apidevtools/json-schema-ref-parser\": \"^11.9.3\",\n \"@asciidoctor/core\": \"^3.0.4\",\n \"@axe-core/playwright\": \"^4.13.0\",\n \"@hawkeyexl/inference\": \"^0.5.0\",\n \"@inquirer/prompts\": \"^7.10.1\",\n \"@types/n3\": \"^1.26.3\",\n \"@xmldom/xmldom\": \"^0.9.12\",\n \"ajv\": \"^8.17.1\",\n \"ajv-draft-04\": \"^1.0.0\",\n \"ajv-formats\": \"^3.0.1\",\n \"commander\": \"^15.0.0\",\n \"fast-glob\": \"^3.3.2\",\n \"github-slugger\": \"^2.0.0\",\n \"jsonld\": \"^9.0.0\",\n \"mdast-util-to-string\": \"^4.0.0\",\n \"minisearch\": \"^7.2.0\",\n \"n3\": \"^1.26.0\",\n \"parse5\": \"^8.0.1\",\n \"picocolors\": \"^1.1.1\",\n \"picomatch\": \"^4.0.7\",\n \"playwright-core\": \"^1.63.0\",\n \"rdf-validate-shacl\": \"^0.6.5\",\n \"remark-frontmatter\": \"^5.0.0\",\n \"remark-gfm\": \"^4.0.1\",\n \"remark-mdx\": \"^3.1.1\",\n \"remark-parse\": \"^11.0.0\",\n \"smol-toml\": \"^1.8.0\",\n \"unified\": \"^11.0.5\",\n \"unist-util-visit\": \"^5.1.0\",\n \"yaml\": \"^2.6.1\"\n },\n \"devDependencies\": {\n \"@commitlint/cli\": \"^21.2.2\",\n \"@commitlint/config-conventional\": \"^21.2.2\",\n \"@comunica/query-sparql-rdfjs-lite\": \"^5.3.0\",\n \"@eslint/js\": \"^10.0.1\",\n \"@rdfjs/types\": \"^2.0.1\",\n \"@semantic-release/changelog\": \"^6.0.3\",\n \"@semantic-release/commit-analyzer\": \"^13.0.1\",\n \"@semantic-release/git\": \"^10.0.1\",\n \"@semantic-release/github\": \"^12.0.8\",\n \"@semantic-release/npm\": \"^13.1.5\",\n \"@semantic-release/release-notes-generator\": \"^14.1.1\",\n \"@types/jsonld\": \"^1.5.15\",\n \"@types/mdast\": \"^4.0.4\",\n \"@types/node\": \"^26.3.0\",\n \"@types/picomatch\": \"^4.0.3\",\n \"@types/unist\": \"^3.0.3\",\n \"@types/yauzl\": \"^3.4.0\",\n \"@vitest/coverage-v8\": \"^4.1.11\",\n \"eslint\": \"^10.9.1\",\n \"globals\": \"^17.11.0\",\n \"husky\": \"^9.1.7\",\n \"rdfxml-streaming-parser\": \"^3.3.0\",\n \"semantic-release\": \"^25.0.9\",\n \"tsup\": \"^8.3.5\",\n \"typescript\": \"^6.0.3\",\n \"typescript-eslint\": \"^8.68.0\",\n \"vitest\": \"^4.1.11\",\n \"yauzl\": \"^3.4.0\"\n },\n \"peerDependencies\": {\n \"@huggingface/transformers\": \">=4\",\n \"node-llama-cpp\": \"^3.19.0\"\n },\n \"peerDependenciesMeta\": {\n \"@huggingface/transformers\": {\n \"optional\": true\n },\n \"node-llama-cpp\": {\n \"optional\": true\n }\n }\n}\n"],"mappings":";;;AAAA;AAAA,EACE,MAAQ;AAAA,EACR,SAAW;AAAA,EACX,aAAe;AAAA,EACf,MAAQ;AAAA,EACR,KAAO;AAAA,IACL,OAAS;AAAA,IACT,SAAW;AAAA,EACb;AAAA,EACA,MAAQ;AAAA,EACR,QAAU;AAAA,EACV,OAAS;AAAA,EACT,SAAW;AAAA,IACT,KAAK;AAAA,MACH,OAAS;AAAA,MACT,QAAU;AAAA,IACZ;AAAA,IACA,mBAAmB;AAAA,MACjB,OAAS;AAAA,MACT,QAAU;AAAA,IACZ;AAAA,IACA,iBAAiB;AAAA,MACf,OAAS;AAAA,MACT,QAAU;AAAA,IACZ;AAAA,IACA,k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