@hawkeyexl/manni 4.26.2 → 4.27.1

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 (270) hide show
  1. package/README.md +1 -1
  2. package/dist/{batch-4I5S6DXG.js → batch-FXJMZSYY.js} +14 -14
  3. package/dist/build-5O753VOV.js +37 -0
  4. package/dist/{calibrate-U4TQAXXD.js → calibrate-RF7YSQMK.js} +15 -15
  5. package/dist/{capture-ODSHL2XI.js → capture-EKYFKMBB.js} +14 -14
  6. package/dist/check-4YQUHDAP.js +58 -0
  7. package/dist/check-CG4UOXP7.js +34 -0
  8. package/dist/{check-YFLWJUZC.js → check-KI3HYODN.js} +15 -15
  9. package/dist/check-PWFSARDW.js +31 -0
  10. package/dist/check-VXTYP4XW.js +58 -0
  11. package/dist/{chunk-QNXNA2BR.js → chunk-35J3BP37.js} +300 -58
  12. package/dist/chunk-35J3BP37.js.map +1 -0
  13. package/dist/{chunk-SIDHDT4X.js → chunk-3G3TETDC.js} +8 -8
  14. package/dist/{chunk-4X3EH5VC.js → chunk-3VFYCN5N.js} +65 -47
  15. package/dist/chunk-3VFYCN5N.js.map +1 -0
  16. package/dist/{chunk-BREAC43H.js → chunk-43VLZO4W.js} +2 -2
  17. package/dist/{chunk-HJHDYROD.js → chunk-47CLJY6H.js} +4 -4
  18. package/dist/{chunk-RVATMGUL.js → chunk-4CBACRVT.js} +4 -4
  19. package/dist/{chunk-UT3CPOGN.js → chunk-4YTYUB77.js} +8 -8
  20. package/dist/{chunk-QWGAM3T6.js → chunk-5GQ7FF22.js} +3 -3
  21. package/dist/{chunk-B6YZINES.js → chunk-5UCBYX53.js} +173 -83
  22. package/dist/chunk-5UCBYX53.js.map +1 -0
  23. package/dist/{chunk-KHBOMLPS.js → chunk-6RGLJTXE.js} +4 -4
  24. package/dist/{chunk-KLTGAGB6.js → chunk-74E5D3DP.js} +3 -3
  25. package/dist/{chunk-UUGTQUKK.js → chunk-7DFAXPO6.js} +64 -11
  26. package/dist/chunk-7DFAXPO6.js.map +1 -0
  27. package/dist/{chunk-5KWMVAZZ.js → chunk-7VCMV247.js} +2 -2
  28. package/dist/{chunk-MC7U5IH4.js → chunk-BCRMMIY5.js} +1 -1
  29. package/dist/chunk-BCRMMIY5.js.map +1 -0
  30. package/dist/{chunk-3ZVRGBK6.js → chunk-BTFXOKCP.js} +2 -2
  31. package/dist/{chunk-4DFLLMIM.js → chunk-C2XLJICN.js} +3 -3
  32. package/dist/{chunk-JF4BC7ZD.js → chunk-CDX4QK6O.js} +29 -2
  33. package/dist/chunk-CDX4QK6O.js.map +1 -0
  34. package/dist/{chunk-PEZP4ZFP.js → chunk-CIGRVU5V.js} +31 -13
  35. package/dist/chunk-CIGRVU5V.js.map +1 -0
  36. package/dist/{chunk-K7UVWJJW.js → chunk-CUOJGVVA.js} +15 -7
  37. package/dist/chunk-CUOJGVVA.js.map +1 -0
  38. package/dist/{chunk-NTQ73IQL.js → chunk-D7V5MUXP.js} +2 -2
  39. package/dist/{chunk-NTQ73IQL.js.map → chunk-D7V5MUXP.js.map} +1 -1
  40. package/dist/{chunk-PX4QZLA2.js → chunk-F4CL337L.js} +3 -3
  41. package/dist/{chunk-KSDAAJJX.js → chunk-G2SEJDO6.js} +2 -2
  42. package/dist/{chunk-J7E4XAFG.js → chunk-GEBXLJKQ.js} +32 -22
  43. package/dist/chunk-GEBXLJKQ.js.map +1 -0
  44. package/dist/chunk-HMJZHUCJ.js +337 -0
  45. package/dist/chunk-HMJZHUCJ.js.map +1 -0
  46. package/dist/{chunk-GXC7SDLO.js → chunk-IHW7N3A6.js} +369 -89
  47. package/dist/chunk-IHW7N3A6.js.map +1 -0
  48. package/dist/{chunk-UOZZTK7T.js → chunk-JVWJYB7V.js} +6 -6
  49. package/dist/{chunk-P6QJPKZ2.js → chunk-K7742NWM.js} +31 -26
  50. package/dist/chunk-K7742NWM.js.map +1 -0
  51. package/dist/{chunk-PJ5YJS6L.js → chunk-KPXZZD66.js} +2 -2
  52. package/dist/{chunk-KLRTOQN4.js → chunk-KQ66NYWY.js} +13 -7
  53. package/dist/chunk-KQ66NYWY.js.map +1 -0
  54. package/dist/{chunk-GM5LWEDF.js → chunk-L7QHAAZC.js} +56 -27
  55. package/dist/chunk-L7QHAAZC.js.map +1 -0
  56. package/dist/{chunk-BAJ23I2H.js → chunk-LEGD33WJ.js} +14 -7
  57. package/dist/chunk-LEGD33WJ.js.map +1 -0
  58. package/dist/{chunk-Z2JBWLRF.js → chunk-M2XDU7QB.js} +9 -9
  59. package/dist/{chunk-H4JXCWLM.js → chunk-MHVS4LTZ.js} +7 -7
  60. package/dist/{chunk-7ODOTGU4.js → chunk-MRQTMVJZ.js} +3 -3
  61. package/dist/{chunk-RV2BYDJK.js → chunk-MZMVTI6Y.js} +24 -14
  62. package/dist/chunk-MZMVTI6Y.js.map +1 -0
  63. package/dist/{chunk-MMVT3ZP3.js → chunk-NFQH77XJ.js} +5 -5
  64. package/dist/{chunk-SHYEKYV4.js → chunk-OBZY2ZLQ.js} +2 -2
  65. package/dist/{chunk-TI4DA6DF.js → chunk-OPF3NOKF.js} +1 -1
  66. package/dist/chunk-OPF3NOKF.js.map +1 -0
  67. package/dist/{chunk-QFEEUI2Z.js → chunk-OVIWWR5N.js} +4 -4
  68. package/dist/{chunk-THFV3YVO.js → chunk-P3OV32LW.js} +4 -4
  69. package/dist/{chunk-NZ7RO6ZD.js → chunk-P4HSBQHG.js} +3 -3
  70. package/dist/{chunk-VNR7BQBZ.js → chunk-P6JCXNMG.js} +52 -4
  71. package/dist/chunk-P6JCXNMG.js.map +1 -0
  72. package/dist/{chunk-JDQFU2U6.js → chunk-QXSPGFT3.js} +9 -9
  73. package/dist/{chunk-BPVO3OED.js → chunk-RCP5V6KE.js} +6 -6
  74. package/dist/{chunk-P7MGBTY3.js → chunk-RHR64UXW.js} +3 -3
  75. package/dist/{chunk-A43A335C.js → chunk-RWGHG66G.js} +3 -3
  76. package/dist/{chunk-HAZQCHO5.js → chunk-S4ADL7Y4.js} +3 -3
  77. package/dist/{chunk-DPQAF2VR.js → chunk-SDUVH4J2.js} +2 -2
  78. package/dist/{chunk-LSH6HPKB.js → chunk-SJS6Z7JV.js} +4 -4
  79. package/dist/{chunk-K4X6GJKG.js → chunk-SJUEUKJD.js} +3 -3
  80. package/dist/{chunk-YG4GZXSA.js → chunk-TO6N7QVO.js} +2 -2
  81. package/dist/{chunk-OKLRZM2N.js → chunk-TXIZMTCQ.js} +5 -5
  82. package/dist/{chunk-LHFO4HF7.js → chunk-UGQPOFLW.js} +7 -7
  83. package/dist/{chunk-SJI7C7FY.js → chunk-VCJ6ZJDW.js} +14 -14
  84. package/dist/{chunk-EXCYL3S7.js → chunk-VH3X7GHC.js} +2 -2
  85. package/dist/{chunk-VDEE7AUI.js → chunk-VKIIG6DZ.js} +2 -2
  86. package/dist/{chunk-LURF4MTH.js → chunk-VPNKSEQU.js} +3 -3
  87. package/dist/{chunk-PWLUQLFH.js → chunk-W4RCGOLJ.js} +7 -7
  88. package/dist/{chunk-GCJPYCOV.js → chunk-WOCG36UV.js} +4 -4
  89. package/dist/{chunk-ZR33AQFW.js → chunk-XK3T6MKU.js} +10 -8
  90. package/dist/chunk-XK3T6MKU.js.map +1 -0
  91. package/dist/{chunk-A6LHTTNO.js → chunk-XOKLYJJT.js} +21 -12
  92. package/dist/chunk-XOKLYJJT.js.map +1 -0
  93. package/dist/{chunk-M6RB342K.js → chunk-YTW7A62V.js} +2 -2
  94. package/dist/{chunk-4IM6A2WK.js → chunk-YWJ453BG.js} +6 -6
  95. package/dist/{chunk-RZ65VMRW.js → chunk-ZBN2HEC2.js} +10 -10
  96. package/dist/{chunk-DGN4VVFG.js → chunk-ZMEDAKMB.js} +3 -3
  97. package/dist/{chunk-NXP3DG4L.js → chunk-ZMGME5NG.js} +4 -4
  98. package/dist/{chunk-XD4Z26HJ.js → chunk-ZMWQZF3F.js} +3 -3
  99. package/dist/{chunk-G5I2JTDK.js → chunk-ZWVYT2G6.js} +2 -2
  100. package/dist/{chunk-D4BGNAN5.js → chunk-ZZGHTXZ2.js} +159 -23
  101. package/dist/chunk-ZZGHTXZ2.js.map +1 -0
  102. package/dist/{cli-XM4F6ZC7.js → cli-545YXHOS.js} +26 -25
  103. package/dist/{cli-XM4F6ZC7.js.map → cli-545YXHOS.js.map} +1 -1
  104. package/dist/{cli-DKRISKSR.js → cli-6EPISRJR.js} +21 -21
  105. package/dist/{cli-WWNQFDMK.js → cli-6LJS32R2.js} +3 -3
  106. package/dist/{cli-RO4TNFXJ.js → cli-6N2VRKCW.js} +16 -15
  107. package/dist/{cli-RO4TNFXJ.js.map → cli-6N2VRKCW.js.map} +1 -1
  108. package/dist/{cli-SDW7JOTO.js → cli-6SDS7T2Q.js} +56 -55
  109. package/dist/{cli-SDW7JOTO.js.map → cli-6SDS7T2Q.js.map} +1 -1
  110. package/dist/{cli-3VAVQYQT.js → cli-DCGA5IQ4.js} +24 -42
  111. package/dist/cli-DCGA5IQ4.js.map +1 -0
  112. package/dist/{cli-AR6TOW7M.js → cli-E6JIYSKY.js} +20 -19
  113. package/dist/{cli-AR6TOW7M.js.map → cli-E6JIYSKY.js.map} +1 -1
  114. package/dist/{cli-CFDGH5HD.js → cli-K4SDAECI.js} +30 -29
  115. package/dist/{cli-CFDGH5HD.js.map → cli-K4SDAECI.js.map} +1 -1
  116. package/dist/{cli-6DOYYCTT.js → cli-KINREG4W.js} +29 -28
  117. package/dist/{cli-6DOYYCTT.js.map → cli-KINREG4W.js.map} +1 -1
  118. package/dist/{cli-7IPP6ZTQ.js → cli-XUWY3QTT.js} +37 -36
  119. package/dist/{cli-7IPP6ZTQ.js.map → cli-XUWY3QTT.js.map} +1 -1
  120. package/dist/{cli-C2OATF3N.js → cli-ZTYRATHT.js} +8 -8
  121. package/dist/cli.js +15 -15
  122. package/dist/{config-2YJPJ36T.js → config-Z3FYLJ6X.js} +3 -3
  123. package/dist/docmeta.js +7 -7
  124. package/dist/github-GW6UZTRR.js +29 -0
  125. package/dist/{github-GU23WNCU.js → github-IT66VVCM.js} +15 -14
  126. package/dist/github-UJTQPG6S.js +49 -0
  127. package/dist/index.d.ts +165 -6
  128. package/dist/index.js +55 -54
  129. package/dist/index.js.map +1 -1
  130. package/dist/{json-P4EDSVIC.js → json-KKNQHTAA.js} +13 -12
  131. package/dist/{json-YIZON5LE.js → json-X4XGVPXV.js} +16 -15
  132. package/dist/{labels-6RROJOYQ.js → labels-7UD5VT2S.js} +12 -11
  133. package/dist/{labels-6RROJOYQ.js.map → labels-7UD5VT2S.js.map} +1 -1
  134. package/dist/lint-L7QTMCCV.js +33 -0
  135. package/dist/list-R34MHZWK.js +31 -0
  136. package/dist/list-S6LJENZ3.js +49 -0
  137. package/dist/{list-UARFGS7C.js → list-URXKGZ5I.js} +15 -14
  138. package/dist/{page-JADAILE3.js → page-2H44PTPE.js} +10 -10
  139. package/dist/{prepare-B24HTUCX.js → prepare-ND2INKAJ.js} +13 -13
  140. package/dist/{pretty-XAMSAKAR.js → pretty-54GDW63J.js} +15 -14
  141. package/dist/{pretty-NHNYY7CP.js → pretty-BW6SLRBO.js} +25 -24
  142. package/dist/{pretty-5V3PWJ6L.js → pretty-ZVAM3XV6.js} +13 -12
  143. package/dist/{reporters-HTJKW7NG.js → reporters-6P74QNVX.js} +5 -5
  144. package/dist/{reporters-ULSSBAAG.js → reporters-LON6K3EN.js} +12 -12
  145. package/dist/run-KLO35LDY.js +52 -0
  146. package/dist/{sarif-LBODGUNE.js → sarif-2HOXOFAZ.js} +9 -9
  147. package/dist/sarif-DM5XJGBX.js +50 -0
  148. package/dist/{sarif-SOA76ESJ.js → sarif-WXGSULXG.js} +11 -11
  149. package/dist/{strategy-XI7QTY7T.js → strategy-FOZDCVLS.js} +22 -21
  150. package/dist/{term-UIBQBGMR.js → term-CAPJSZ6V.js} +19 -18
  151. package/dist/{term-UIBQBGMR.js.map → term-CAPJSZ6V.js.map} +1 -1
  152. package/dist/{validate-X257AMWS.js → validate-LSB6TBY6.js} +5 -5
  153. package/package.json +1 -1
  154. package/plugin/manni/.claude-plugin/plugin.json +1 -1
  155. package/plugin/manni/hooks/page-metadata.mjs +1 -1
  156. package/dist/build-OPWHXPXE.js +0 -36
  157. package/dist/check-4VOOUC5E.js +0 -33
  158. package/dist/check-M3ORYGTW.js +0 -57
  159. package/dist/check-QJ35SM3K.js +0 -57
  160. package/dist/check-UXS5LVFJ.js +0 -30
  161. package/dist/chunk-4X3EH5VC.js.map +0 -1
  162. package/dist/chunk-A6LHTTNO.js.map +0 -1
  163. package/dist/chunk-B6YZINES.js.map +0 -1
  164. package/dist/chunk-BAJ23I2H.js.map +0 -1
  165. package/dist/chunk-D4BGNAN5.js.map +0 -1
  166. package/dist/chunk-GM5LWEDF.js.map +0 -1
  167. package/dist/chunk-GXC7SDLO.js.map +0 -1
  168. package/dist/chunk-J7E4XAFG.js.map +0 -1
  169. package/dist/chunk-JF4BC7ZD.js.map +0 -1
  170. package/dist/chunk-K7UVWJJW.js.map +0 -1
  171. package/dist/chunk-KLRTOQN4.js.map +0 -1
  172. package/dist/chunk-MC7U5IH4.js.map +0 -1
  173. package/dist/chunk-P6QJPKZ2.js.map +0 -1
  174. package/dist/chunk-PEZP4ZFP.js.map +0 -1
  175. package/dist/chunk-QNXNA2BR.js.map +0 -1
  176. package/dist/chunk-RV2BYDJK.js.map +0 -1
  177. package/dist/chunk-TI4DA6DF.js.map +0 -1
  178. package/dist/chunk-UUGTQUKK.js.map +0 -1
  179. package/dist/chunk-VNR7BQBZ.js.map +0 -1
  180. package/dist/chunk-ZR33AQFW.js.map +0 -1
  181. package/dist/cli-3VAVQYQT.js.map +0 -1
  182. package/dist/github-RPHQGICU.js +0 -48
  183. package/dist/github-VKUOQE77.js +0 -28
  184. package/dist/lint-VXM7UKPY.js +0 -32
  185. package/dist/list-2Y7AM5BW.js +0 -30
  186. package/dist/list-ILJJM7EL.js +0 -48
  187. package/dist/run-EVPJ7SDL.js +0 -51
  188. package/dist/sarif-3PHFVX7D.js +0 -49
  189. /package/dist/{batch-4I5S6DXG.js.map → batch-FXJMZSYY.js.map} +0 -0
  190. /package/dist/{build-OPWHXPXE.js.map → build-5O753VOV.js.map} +0 -0
  191. /package/dist/{calibrate-U4TQAXXD.js.map → calibrate-RF7YSQMK.js.map} +0 -0
  192. /package/dist/{capture-ODSHL2XI.js.map → capture-EKYFKMBB.js.map} +0 -0
  193. /package/dist/{check-4VOOUC5E.js.map → check-4YQUHDAP.js.map} +0 -0
  194. /package/dist/{check-M3ORYGTW.js.map → check-CG4UOXP7.js.map} +0 -0
  195. /package/dist/{check-YFLWJUZC.js.map → check-KI3HYODN.js.map} +0 -0
  196. /package/dist/{check-QJ35SM3K.js.map → check-PWFSARDW.js.map} +0 -0
  197. /package/dist/{check-UXS5LVFJ.js.map → check-VXTYP4XW.js.map} +0 -0
  198. /package/dist/{chunk-SIDHDT4X.js.map → chunk-3G3TETDC.js.map} +0 -0
  199. /package/dist/{chunk-BREAC43H.js.map → chunk-43VLZO4W.js.map} +0 -0
  200. /package/dist/{chunk-HJHDYROD.js.map → chunk-47CLJY6H.js.map} +0 -0
  201. /package/dist/{chunk-RVATMGUL.js.map → chunk-4CBACRVT.js.map} +0 -0
  202. /package/dist/{chunk-UT3CPOGN.js.map → chunk-4YTYUB77.js.map} +0 -0
  203. /package/dist/{chunk-QWGAM3T6.js.map → chunk-5GQ7FF22.js.map} +0 -0
  204. /package/dist/{chunk-KHBOMLPS.js.map → chunk-6RGLJTXE.js.map} +0 -0
  205. /package/dist/{chunk-KLTGAGB6.js.map → chunk-74E5D3DP.js.map} +0 -0
  206. /package/dist/{chunk-5KWMVAZZ.js.map → chunk-7VCMV247.js.map} +0 -0
  207. /package/dist/{chunk-3ZVRGBK6.js.map → chunk-BTFXOKCP.js.map} +0 -0
  208. /package/dist/{chunk-4DFLLMIM.js.map → chunk-C2XLJICN.js.map} +0 -0
  209. /package/dist/{chunk-PX4QZLA2.js.map → chunk-F4CL337L.js.map} +0 -0
  210. /package/dist/{chunk-KSDAAJJX.js.map → chunk-G2SEJDO6.js.map} +0 -0
  211. /package/dist/{chunk-UOZZTK7T.js.map → chunk-JVWJYB7V.js.map} +0 -0
  212. /package/dist/{chunk-PJ5YJS6L.js.map → chunk-KPXZZD66.js.map} +0 -0
  213. /package/dist/{chunk-Z2JBWLRF.js.map → chunk-M2XDU7QB.js.map} +0 -0
  214. /package/dist/{chunk-H4JXCWLM.js.map → chunk-MHVS4LTZ.js.map} +0 -0
  215. /package/dist/{chunk-7ODOTGU4.js.map → chunk-MRQTMVJZ.js.map} +0 -0
  216. /package/dist/{chunk-MMVT3ZP3.js.map → chunk-NFQH77XJ.js.map} +0 -0
  217. /package/dist/{chunk-SHYEKYV4.js.map → chunk-OBZY2ZLQ.js.map} +0 -0
  218. /package/dist/{chunk-QFEEUI2Z.js.map → chunk-OVIWWR5N.js.map} +0 -0
  219. /package/dist/{chunk-THFV3YVO.js.map → chunk-P3OV32LW.js.map} +0 -0
  220. /package/dist/{chunk-NZ7RO6ZD.js.map → chunk-P4HSBQHG.js.map} +0 -0
  221. /package/dist/{chunk-JDQFU2U6.js.map → chunk-QXSPGFT3.js.map} +0 -0
  222. /package/dist/{chunk-BPVO3OED.js.map → chunk-RCP5V6KE.js.map} +0 -0
  223. /package/dist/{chunk-P7MGBTY3.js.map → chunk-RHR64UXW.js.map} +0 -0
  224. /package/dist/{chunk-A43A335C.js.map → chunk-RWGHG66G.js.map} +0 -0
  225. /package/dist/{chunk-HAZQCHO5.js.map → chunk-S4ADL7Y4.js.map} +0 -0
  226. /package/dist/{chunk-DPQAF2VR.js.map → chunk-SDUVH4J2.js.map} +0 -0
  227. /package/dist/{chunk-LSH6HPKB.js.map → chunk-SJS6Z7JV.js.map} +0 -0
  228. /package/dist/{chunk-K4X6GJKG.js.map → chunk-SJUEUKJD.js.map} +0 -0
  229. /package/dist/{chunk-YG4GZXSA.js.map → chunk-TO6N7QVO.js.map} +0 -0
  230. /package/dist/{chunk-OKLRZM2N.js.map → chunk-TXIZMTCQ.js.map} +0 -0
  231. /package/dist/{chunk-LHFO4HF7.js.map → chunk-UGQPOFLW.js.map} +0 -0
  232. /package/dist/{chunk-SJI7C7FY.js.map → chunk-VCJ6ZJDW.js.map} +0 -0
  233. /package/dist/{chunk-EXCYL3S7.js.map → chunk-VH3X7GHC.js.map} +0 -0
  234. /package/dist/{chunk-VDEE7AUI.js.map → chunk-VKIIG6DZ.js.map} +0 -0
  235. /package/dist/{chunk-LURF4MTH.js.map → chunk-VPNKSEQU.js.map} +0 -0
  236. /package/dist/{chunk-PWLUQLFH.js.map → chunk-W4RCGOLJ.js.map} +0 -0
  237. /package/dist/{chunk-GCJPYCOV.js.map → chunk-WOCG36UV.js.map} +0 -0
  238. /package/dist/{chunk-M6RB342K.js.map → chunk-YTW7A62V.js.map} +0 -0
  239. /package/dist/{chunk-4IM6A2WK.js.map → chunk-YWJ453BG.js.map} +0 -0
  240. /package/dist/{chunk-RZ65VMRW.js.map → chunk-ZBN2HEC2.js.map} +0 -0
  241. /package/dist/{chunk-DGN4VVFG.js.map → chunk-ZMEDAKMB.js.map} +0 -0
  242. /package/dist/{chunk-NXP3DG4L.js.map → chunk-ZMGME5NG.js.map} +0 -0
  243. /package/dist/{chunk-XD4Z26HJ.js.map → chunk-ZMWQZF3F.js.map} +0 -0
  244. /package/dist/{chunk-G5I2JTDK.js.map → chunk-ZWVYT2G6.js.map} +0 -0
  245. /package/dist/{cli-DKRISKSR.js.map → cli-6EPISRJR.js.map} +0 -0
  246. /package/dist/{cli-WWNQFDMK.js.map → cli-6LJS32R2.js.map} +0 -0
  247. /package/dist/{cli-C2OATF3N.js.map → cli-ZTYRATHT.js.map} +0 -0
  248. /package/dist/{config-2YJPJ36T.js.map → config-Z3FYLJ6X.js.map} +0 -0
  249. /package/dist/{github-GU23WNCU.js.map → github-GW6UZTRR.js.map} +0 -0
  250. /package/dist/{github-RPHQGICU.js.map → github-IT66VVCM.js.map} +0 -0
  251. /package/dist/{github-VKUOQE77.js.map → github-UJTQPG6S.js.map} +0 -0
  252. /package/dist/{json-P4EDSVIC.js.map → json-KKNQHTAA.js.map} +0 -0
  253. /package/dist/{json-YIZON5LE.js.map → json-X4XGVPXV.js.map} +0 -0
  254. /package/dist/{lint-VXM7UKPY.js.map → lint-L7QTMCCV.js.map} +0 -0
  255. /package/dist/{list-2Y7AM5BW.js.map → list-R34MHZWK.js.map} +0 -0
  256. /package/dist/{list-ILJJM7EL.js.map → list-S6LJENZ3.js.map} +0 -0
  257. /package/dist/{list-UARFGS7C.js.map → list-URXKGZ5I.js.map} +0 -0
  258. /package/dist/{page-JADAILE3.js.map → page-2H44PTPE.js.map} +0 -0
  259. /package/dist/{prepare-B24HTUCX.js.map → prepare-ND2INKAJ.js.map} +0 -0
  260. /package/dist/{pretty-5V3PWJ6L.js.map → pretty-54GDW63J.js.map} +0 -0
  261. /package/dist/{pretty-NHNYY7CP.js.map → pretty-BW6SLRBO.js.map} +0 -0
  262. /package/dist/{pretty-XAMSAKAR.js.map → pretty-ZVAM3XV6.js.map} +0 -0
  263. /package/dist/{reporters-HTJKW7NG.js.map → reporters-6P74QNVX.js.map} +0 -0
  264. /package/dist/{reporters-ULSSBAAG.js.map → reporters-LON6K3EN.js.map} +0 -0
  265. /package/dist/{run-EVPJ7SDL.js.map → run-KLO35LDY.js.map} +0 -0
  266. /package/dist/{sarif-3PHFVX7D.js.map → sarif-2HOXOFAZ.js.map} +0 -0
  267. /package/dist/{sarif-LBODGUNE.js.map → sarif-DM5XJGBX.js.map} +0 -0
  268. /package/dist/{sarif-SOA76ESJ.js.map → sarif-WXGSULXG.js.map} +0 -0
  269. /package/dist/{strategy-XI7QTY7T.js.map → strategy-FOZDCVLS.js.map} +0 -0
  270. /package/dist/{validate-X257AMWS.js.map → validate-LSB6TBY6.js.map} +0 -0
@@ -6,16 +6,21 @@ import {
6
6
  TERM_LIST_FIELDS,
7
7
  TERM_MATCH_FIELDS,
8
8
  TERM_RULES
9
- } from "./chunk-MC7U5IH4.js";
9
+ } from "./chunk-BCRMMIY5.js";
10
+ import {
11
+ flareRun,
12
+ includes,
13
+ parseConditionTags
14
+ } from "./chunk-HMJZHUCJ.js";
10
15
  import {
11
16
  CONCEPT_FIELDS,
12
17
  fieldPointer,
13
18
  valueAt
14
- } from "./chunk-KLRTOQN4.js";
19
+ } from "./chunk-KQ66NYWY.js";
15
20
  import {
16
21
  codeEndAt,
17
22
  codeRegions
18
- } from "./chunk-P7MGBTY3.js";
23
+ } from "./chunk-RHR64UXW.js";
19
24
  import {
20
25
  STDIN_LABEL,
21
26
  STDIN_TOKEN,
@@ -23,10 +28,12 @@ import {
23
28
  extractorByName,
24
29
  extractorForExtension,
25
30
  gitignoreOptions,
31
+ isXhtml,
26
32
  locateFrontmatter,
33
+ parseXhtml,
27
34
  resolveTargetSet,
28
35
  supportedExtensions
29
- } from "./chunk-GXC7SDLO.js";
36
+ } from "./chunk-IHW7N3A6.js";
30
37
  import {
31
38
  SEVERITIES
32
39
  } from "./chunk-77AINBYM.js";
@@ -35,7 +42,7 @@ import {
35
42
  readConfigFile,
36
43
  selectCollections,
37
44
  valeConfigPath
38
- } from "./chunk-JF4BC7ZD.js";
45
+ } from "./chunk-CDX4QK6O.js";
39
46
  import {
40
47
  ToolError,
41
48
  errorMessage
@@ -662,9 +669,9 @@ function indentAt(content, offset) {
662
669
  const lineStart = content.lastIndexOf("\n", offset - 1) + 1;
663
670
  return /^[ \t]*/.exec(content.slice(lineStart, offset))?.[0] ?? "";
664
671
  }
665
- function applyEntries(input, read9, terms, write) {
672
+ function applyEntries(input, read10, terms, write) {
666
673
  const { content } = input;
667
- const current = read9(input).terms;
674
+ const current = read10(input).terms;
668
675
  const eol = lineEnding(content);
669
676
  const edits = [];
670
677
  for (const term of terms) {
@@ -870,9 +877,9 @@ function readEntry(input, xml, entry, construct, label) {
870
877
  function collect(input, xml, entries, construct, label) {
871
878
  const result = nothing();
872
879
  for (const entry of entries) {
873
- const read9 = readEntry(input, xml, entry, construct, label);
874
- if (typeof read9 === "string") result.notices.push(read9);
875
- else result.terms.push(read9);
880
+ const read10 = readEntry(input, xml, entry, construct, label);
881
+ if (typeof read10 === "string") result.notices.push(read10);
882
+ else result.terms.push(read10);
876
883
  }
877
884
  return result;
878
885
  }
@@ -989,6 +996,61 @@ var docbookGlossaryReader = {
989
996
  apply: (input, terms) => applyEntries(input, read, terms, { holds: DOCBOOK_HOLDS, id: true, serialize: docbookEntry })
990
997
  };
991
998
 
999
+ // src/term/core/readers/flare-glossary.ts
1000
+ var LABEL2 = "Flare glossary";
1001
+ function read2(input) {
1002
+ const xml = parseXml(input);
1003
+ if (xml === null) throw new TermError(`${input.file}: could not be read as a Flare glossary.`);
1004
+ if (nameOf(xml.root) !== "catapultglossary") {
1005
+ throw new TermError(
1006
+ `${input.file}: is not a Flare glossary: its root element is <${xml.root.nodeName}>, not <CatapultGlossary>.`
1007
+ );
1008
+ }
1009
+ const result = nothing();
1010
+ for (const entry of childrenOf(xml.root, "glossaryentry")) {
1011
+ if (!includes(input.conditions, parseConditionTags(entry.getAttribute("conditions")))) continue;
1012
+ const raw = {};
1013
+ const lines = {};
1014
+ const terms = childrenOf(entry, "terms").flatMap((list) => childrenOf(list, "term"));
1015
+ const [first, ...rest] = terms;
1016
+ if (first !== void 0) {
1017
+ raw.label = textOfElement(first);
1018
+ lines.label = lineOfElement(first);
1019
+ }
1020
+ raw["alt-labels"] = rest.map(textOfElement);
1021
+ lines["alt-labels"] = rest[0] === void 0 ? void 0 : lineOfElement(rest[0]);
1022
+ const definition = childrenOf(entry, "definition")[0];
1023
+ if (definition !== void 0 && textOf(definition.getAttribute("Link")) === void 0) {
1024
+ raw.definition = textOfElement(definition);
1025
+ lines.definition = lineOfElement(definition);
1026
+ }
1027
+ const line = lineOfElement(entry);
1028
+ const record = recordOf(raw);
1029
+ if (record === void 0) {
1030
+ result.notices.push(skipped(input, line, LABEL2));
1031
+ continue;
1032
+ }
1033
+ const span = spanOfElement(xml, entry);
1034
+ result.terms.push(
1035
+ termOf(input, {
1036
+ record,
1037
+ constructId: entry.getAttribute("glossTerm"),
1038
+ construct: "flare-glossary",
1039
+ line,
1040
+ lines,
1041
+ ...span === void 0 ? {} : { span }
1042
+ })
1043
+ );
1044
+ }
1045
+ return result;
1046
+ }
1047
+ var flareGlossaryReader = {
1048
+ construct: "flare-glossary",
1049
+ label: LABEL2,
1050
+ formats: ["flare-glossary"],
1051
+ read: read2
1052
+ };
1053
+
992
1054
  // src/term/core/readers/html.ts
993
1055
  import { parse } from "parse5";
994
1056
  var cache2 = /* @__PURE__ */ new WeakMap();
@@ -996,7 +1058,9 @@ function parseHtml(input) {
996
1058
  const cached = cache2.get(input);
997
1059
  if (cached !== void 0) return cached;
998
1060
  const shift = input.content.charCodeAt(0) === 65279 ? 1 : 0;
999
- const parsed2 = { root: parse(input.content.slice(shift), { sourceCodeLocationInfo: true }), shift };
1061
+ const text = input.content.slice(shift);
1062
+ const root = isXhtml(text) ? parseXhtml(text) : parse(text, { sourceCodeLocationInfo: true });
1063
+ const parsed2 = { root, shift };
1000
1064
  cache2.set(input, parsed2);
1001
1065
  return parsed2;
1002
1066
  }
@@ -1163,7 +1227,7 @@ var htmlDfnReader = {
1163
1227
 
1164
1228
  // src/term/core/readers/manifest.ts
1165
1229
  import { isMap, isNode, isScalar, isSeq, LineCounter, parseDocument, stringify as stringifyYaml } from "yaml";
1166
- var LABEL2 = "manifest";
1230
+ var LABEL3 = "manifest";
1167
1231
  var FIELDS = new Set(TERM_FIELDS);
1168
1232
  function isField(key) {
1169
1233
  return FIELDS.has(key);
@@ -1172,7 +1236,7 @@ var ENTRY_KEYS = ["language", ...TERM_FIELDS];
1172
1236
  function isEntryKey(key) {
1173
1237
  return key === "language" || isField(key);
1174
1238
  }
1175
- function read2(input) {
1239
+ function read3(input) {
1176
1240
  if ((input.path ?? input.file).toLowerCase().endsWith(".json")) {
1177
1241
  try {
1178
1242
  JSON.parse(input.content);
@@ -1221,7 +1285,7 @@ function read2(input) {
1221
1285
  const issues = [];
1222
1286
  const record = recordOf(raw, issues);
1223
1287
  if (record === void 0) {
1224
- notices.push(skipped(input, line, LABEL2));
1288
+ notices.push(skipped(input, line, LABEL3));
1225
1289
  continue;
1226
1290
  }
1227
1291
  for (const issue of issues) {
@@ -1391,15 +1455,15 @@ function isJson(input) {
1391
1455
  }
1392
1456
  var manifestReader = {
1393
1457
  construct: "manifest",
1394
- label: LABEL2,
1458
+ label: LABEL3,
1395
1459
  formats: ["manifest"],
1396
- read: read2,
1460
+ read: read3,
1397
1461
  apply: (input, terms) => isJson(input) ? applyJson(input, terms) : applyYaml(input, terms)
1398
1462
  };
1399
1463
 
1400
1464
  // src/term/core/readers/page.ts
1401
- var LABEL3 = "page";
1402
- function read3(input) {
1465
+ var LABEL4 = "page";
1466
+ function read4(input) {
1403
1467
  if (!declares(input, "term")) return nothing();
1404
1468
  const raw = {};
1405
1469
  const lines = {};
@@ -1409,7 +1473,7 @@ function read3(input) {
1409
1473
  }
1410
1474
  const issues = [];
1411
1475
  const record = recordOf(raw, issues);
1412
- if (record === void 0) return { terms: [], notices: [skipped(input, 1, LABEL3)] };
1476
+ if (record === void 0) return { terms: [], notices: [skipped(input, 1, LABEL4)] };
1413
1477
  return {
1414
1478
  terms: [termOf(input, { record, recordId: input.metadata["id"], construct: "page", line: 1, lines })],
1415
1479
  notices: issues.map((issue) => issueNotice(input, input.lineFor(pointerOf(issue.path)) ?? 1, record.label, issue))
@@ -1418,7 +1482,7 @@ function read3(input) {
1418
1482
  function apply(input, terms) {
1419
1483
  const [term] = terms;
1420
1484
  if (term === void 0) return input.content;
1421
- const [current] = read3(input).terms;
1485
+ const [current] = read4(input).terms;
1422
1486
  if (current === void 0) {
1423
1487
  throw new TermError(`${input.file}: is not a term page any more. Read the file again before writing it.`);
1424
1488
  }
@@ -1452,9 +1516,9 @@ function apply(input, terms) {
1452
1516
  }
1453
1517
  var pageReader = {
1454
1518
  construct: "page",
1455
- label: LABEL3,
1519
+ label: LABEL4,
1456
1520
  formats: ["markdown", "mdx", "asciidoc", "rst", "html", "xml"],
1457
- read: read3,
1521
+ read: read4,
1458
1522
  apply
1459
1523
  };
1460
1524
 
@@ -1490,7 +1554,7 @@ var PREFIXES = [
1490
1554
  ["dcterms", "http://purl.org/dc/terms/"],
1491
1555
  ["owl", "http://www.w3.org/2002/07/owl#"]
1492
1556
  ];
1493
- var LABEL4 = "SKOS concept";
1557
+ var LABEL5 = "SKOS concept";
1494
1558
  function nameOf2(iri) {
1495
1559
  for (const [prefix, namespace] of PREFIXES) {
1496
1560
  if (iri.startsWith(namespace)) return `${prefix}:${iri.slice(namespace.length)}`;
@@ -1605,7 +1669,7 @@ function readConcept(input, subject, quads, unread, notices) {
1605
1669
  }
1606
1670
  return terms;
1607
1671
  }
1608
- function read4(input) {
1672
+ function read5(input) {
1609
1673
  const unread = new Unread();
1610
1674
  const notices = [];
1611
1675
  const entries = [...concepts(parse2(input)).values()].map(({ subject, quads }) => ({
@@ -1620,9 +1684,9 @@ function read4(input) {
1620
1684
  }
1621
1685
  var skosReader = {
1622
1686
  construct: "skos",
1623
- label: LABEL4,
1687
+ label: LABEL5,
1624
1688
  formats: ["skos"],
1625
- read: read4
1689
+ read: read5
1626
1690
  };
1627
1691
 
1628
1692
  // src/term/core/readers/tbx.ts
@@ -1929,7 +1993,7 @@ function tbxEntryLines(terms, format, shape) {
1929
1993
  }
1930
1994
 
1931
1995
  // src/term/core/readers/tbx.ts
1932
- var LABEL5 = "TBX entry";
1996
+ var LABEL6 = "TBX entry";
1933
1997
  var parsed = /* @__PURE__ */ new WeakMap();
1934
1998
  function parseTbx(input) {
1935
1999
  const cached = parsed.get(input);
@@ -2167,13 +2231,13 @@ function statusOf(text) {
2167
2231
  for (const [status, value] of Object.entries(TBX_STATUS_VALUES)) if (value === text) return status;
2168
2232
  return text in TBX_STATUS_VALUES || text === TBX_NO_STATUS ? void 0 : text;
2169
2233
  }
2170
- function readLevel(doc, children, level, read9) {
2171
- let { aux } = read9;
2234
+ function readLevel(doc, children, level, read10) {
2235
+ let { aux } = read10;
2172
2236
  const items = [];
2173
2237
  const seen = [];
2174
2238
  const keep = (value) => {
2175
2239
  seen.push(value);
2176
- if (value.markup !== void 0) read9.markup.push(value.markup);
2240
+ if (value.markup !== void 0) read10.markup.push(value.markup);
2177
2241
  return value.text;
2178
2242
  };
2179
2243
  const definitionEl = children.find(
@@ -2263,12 +2327,12 @@ function readLevel(doc, children, level, read9) {
2263
2327
  return false;
2264
2328
  };
2265
2329
  for (const child of children) {
2266
- const saved = read9.fits === void 0 ? void 0 : { aux: structuredClone(aux), markup: read9.markup.length };
2330
+ const saved = read10.fits === void 0 ? void 0 : { aux: structuredClone(aux), markup: read10.markup.length };
2267
2331
  seen.length = 0;
2268
- if (mapped(child) && (read9.fits === void 0 || seen.every(read9.fits))) continue;
2332
+ if (mapped(child) && (read10.fits === void 0 || seen.every(read10.fits))) continue;
2269
2333
  if (saved !== void 0) {
2270
- aux = read9.aux = saved.aux;
2271
- read9.markup.length = saved.markup;
2334
+ aux = read10.aux = saved.aux;
2335
+ read10.markup.length = saved.markup;
2272
2336
  }
2273
2337
  items.push(itemOf(doc, child));
2274
2338
  }
@@ -2287,14 +2351,14 @@ function readDesignation(doc, el, fits) {
2287
2351
  const term = termEl === void 0 ? void 0 : valueOf(doc, termEl, true, true);
2288
2352
  const text = termEl === void 0 ? void 0 : textOf(lf(termEl.textContent ?? ""));
2289
2353
  if (termEl === void 0 || text === void 0) return void 0;
2290
- const read9 = { aux: { term: text }, markup: term?.markup === void 0 ? [] : [term.markup], ...fits === void 0 ? {} : { fits } };
2354
+ const read10 = { aux: { term: text }, markup: term?.markup === void 0 ? [] : [term.markup], ...fits === void 0 ? {} : { fits } };
2291
2355
  readLevel(
2292
2356
  doc,
2293
2357
  children.filter((child) => child !== termEl),
2294
2358
  "term",
2295
- read9
2359
+ read10
2296
2360
  );
2297
- const { "administrative-status": status, ...designation } = read9.aux;
2361
+ const { "administrative-status": status, ...designation } = read10.aux;
2298
2362
  const shape = {
2299
2363
  term: text,
2300
2364
  attributes: attributesOf(el),
@@ -2304,21 +2368,21 @@ function readDesignation(doc, el, fits) {
2304
2368
  return {
2305
2369
  designation,
2306
2370
  term: term ?? { text },
2307
- markup: read9.markup,
2371
+ markup: read10.markup,
2308
2372
  status: status ?? TBX_NO_STATUS,
2309
2373
  line: lineOfElement(termEl),
2310
2374
  shape
2311
2375
  };
2312
2376
  }
2313
- function labelsOf2(read9) {
2314
- const preferred = read9.findIndex((d) => d.status === "preferred");
2377
+ function labelsOf2(read10) {
2378
+ const preferred = read10.findIndex((d) => d.status === "preferred");
2315
2379
  const labelAt = preferred === -1 ? 0 : preferred;
2316
2380
  const alts = [];
2317
2381
  const hiddens = [];
2318
2382
  const order = [];
2319
2383
  const altOrder = [];
2320
2384
  const hiddenOrder = [];
2321
- const designations = read9.map((d, i) => {
2385
+ const designations = read10.map((d, i) => {
2322
2386
  const { status } = d;
2323
2387
  let kind;
2324
2388
  if (i === labelAt) kind = "label";
@@ -2338,7 +2402,7 @@ function labelsOf2(read9) {
2338
2402
  const reordered = order.some((at, i) => at !== i);
2339
2403
  const detailed = designations.some((d) => Object.keys(d).length > 1);
2340
2404
  return {
2341
- label: read9[labelAt]?.designation.term ?? "",
2405
+ label: read10[labelAt]?.designation.term ?? "",
2342
2406
  alts,
2343
2407
  hiddens,
2344
2408
  designations: reordered || detailed ? designations : void 0
@@ -2395,7 +2459,7 @@ function readEntry2(doc, entry, result) {
2395
2459
  const { term: _none, ...conceptAux } = concept.aux;
2396
2460
  const span = spanOfElement(doc.xml, entry);
2397
2461
  const rootLanguage = doc.xml.root.getAttribute("xml:lang");
2398
- const read9 = [];
2462
+ const read10 = [];
2399
2463
  let entryId = textOf(entry.getAttribute("id"));
2400
2464
  const shape = { attributes: attributesOf(entry, ["id"]), languages: [] };
2401
2465
  for (const part of parts.languages) {
@@ -2435,9 +2499,9 @@ function readEntry2(doc, entry, result) {
2435
2499
  attributes: attributesOf(langEl, ["xml:lang"]),
2436
2500
  designations: designations.map((d) => d.shape)
2437
2501
  });
2438
- read9.push(term);
2502
+ read10.push(term);
2439
2503
  }
2440
- result.terms.push(...read9);
2504
+ result.terms.push(...read10);
2441
2505
  }
2442
2506
  function readTbx(input) {
2443
2507
  const doc = parseTbx(input);
@@ -2524,9 +2588,9 @@ function spliceEntries(input, terms, exporting) {
2524
2588
  function withEditedConcept(written, current) {
2525
2589
  const [head, ...rest] = written;
2526
2590
  if (head === void 0) return { terms: written, conflicts: [] };
2527
- const read9 = current[0]?.record["concept-entry"] ?? {};
2591
+ const read10 = current[0]?.record["concept-entry"] ?? {};
2528
2592
  const concepts2 = written.map((t) => t.record["concept-entry"] ?? {});
2529
- const edits = (concept2) => TERM_AUX_FIELDS.filter((field) => !isDeepStrictEqual2(concept2[field], read9[field]));
2593
+ const edits = (concept2) => TERM_AUX_FIELDS.filter((field) => !isDeepStrictEqual2(concept2[field], read10[field]));
2530
2594
  const { conflicts } = mergeFirst(
2531
2595
  head.id,
2532
2596
  concepts2.map((c) => Object.fromEntries(edits(c).map((field) => [field, { value: c[field] }]))),
@@ -2534,7 +2598,7 @@ function withEditedConcept(written, current) {
2534
2598
  );
2535
2599
  const concept = {};
2536
2600
  for (const field of TERM_AUX_FIELDS) {
2537
- copyField(concept, concepts2.find((c) => edits(c).includes(field)) ?? read9, field);
2601
+ copyField(concept, concepts2.find((c) => edits(c).includes(field)) ?? read10, field);
2538
2602
  }
2539
2603
  const { "concept-entry": _old, ...record } = head.record;
2540
2604
  const joined = Object.keys(concept).length === 0 ? record : { ...record, "concept-entry": concept };
@@ -2553,7 +2617,7 @@ function merge(current, given) {
2553
2617
  }
2554
2618
  var tbxEntryReader = {
2555
2619
  construct: "tbx-entry",
2556
- label: LABEL5,
2620
+ label: LABEL6,
2557
2621
  formats: ["tbx"],
2558
2622
  read: readTbx,
2559
2623
  apply: applyTbx
@@ -2569,7 +2633,8 @@ var STRUCTURED_READERS = [
2569
2633
  htmlDlReader,
2570
2634
  htmlDfnReader,
2571
2635
  tbxEntryReader,
2572
- skosReader
2636
+ skosReader,
2637
+ flareGlossaryReader
2573
2638
  ];
2574
2639
 
2575
2640
  // src/term/core/readers/body.ts
@@ -2650,7 +2715,7 @@ function skippedNotice(input, line, label, missing) {
2650
2715
  }
2651
2716
 
2652
2717
  // src/term/core/readers/asciidoc-glossary.ts
2653
- var LABEL6 = "[glossary] list";
2718
+ var LABEL7 = "[glossary] list";
2654
2719
  var ATTRIBUTE = /^\[glossary\][ \t]*$/;
2655
2720
  var ITEM = /^[ \t]*(.*?[^:\s])::(?:[ \t]+(.*))?$/;
2656
2721
  var BLOCK_TITLE = /^\.[^.\s]/;
@@ -2662,7 +2727,7 @@ function item(line) {
2662
2727
  const text = match[2]?.trim();
2663
2728
  return { term, text: text === "" ? void 0 : text };
2664
2729
  }
2665
- function read5(input) {
2730
+ function read6(input) {
2666
2731
  const terms = [];
2667
2732
  const notices = [];
2668
2733
  const lines = bodyLines(input);
@@ -2699,13 +2764,13 @@ function readList(input, lines, at, terms, notices) {
2699
2764
  })
2700
2765
  );
2701
2766
  } else if (firstLabel !== void 0) {
2702
- notices.push(skippedNotice(input, firstLabel.line, LABEL6, "definition"));
2767
+ notices.push(skippedNotice(input, firstLabel.line, LABEL7, "definition"));
2703
2768
  }
2704
2769
  open = void 0;
2705
2770
  }
2706
2771
  const [firstPending] = pending;
2707
2772
  if (firstPending !== void 0) {
2708
- notices.push(skippedNotice(input, firstPending.line, LABEL6, "definition"));
2773
+ notices.push(skippedNotice(input, firstPending.line, LABEL7, "definition"));
2709
2774
  pending = [];
2710
2775
  }
2711
2776
  };
@@ -2757,14 +2822,14 @@ function itemTerm(line) {
2757
2822
  }
2758
2823
  var asciidocGlossaryReader = {
2759
2824
  construct: "asciidoc-glossary",
2760
- label: LABEL6,
2825
+ label: LABEL7,
2761
2826
  formats: ["asciidoc"],
2762
- read: read5,
2763
- apply: (input, terms) => applyEntries(input, read5, terms, { holds: LIST_HOLDS, id: false, serialize: (term) => asciidocEntry(term.record) })
2827
+ read: read6,
2828
+ apply: (input, terms) => applyEntries(input, read6, terms, { holds: LIST_HOLDS, id: false, serialize: (term) => asciidocEntry(term.record) })
2764
2829
  };
2765
2830
 
2766
2831
  // src/term/core/readers/markdown-deflist.ts
2767
- var LABEL7 = "definition list";
2832
+ var LABEL8 = "definition list";
2768
2833
  var DEFINITION = /^:(?:[ \t]+(.*))?$/;
2769
2834
  var INDENTED = /^(?: {4}|\t)/;
2770
2835
  var HEADING = /^#{1,6}(?:[ \t]|$)/;
@@ -2773,7 +2838,7 @@ function definitionStart(line) {
2773
2838
  const match = DEFINITION.exec(line.text);
2774
2839
  return match === null ? void 0 : match[1] ?? "";
2775
2840
  }
2776
- function read6(input) {
2841
+ function read7(input) {
2777
2842
  const terms = [];
2778
2843
  const notices = [];
2779
2844
  if (input.metadata["type"] !== "term-set") return { terms, notices };
@@ -2801,7 +2866,7 @@ function read6(input) {
2801
2866
  }
2802
2867
  if (labels.length === 0 || labels.some((l) => HEADING.test(l.text))) {
2803
2868
  const orphan = lines[j];
2804
- if (orphan !== void 0) notices.push(skippedNotice(input, orphan.line, LABEL7, "term"));
2869
+ if (orphan !== void 0) notices.push(skippedNotice(input, orphan.line, LABEL8, "term"));
2805
2870
  i = readDefinitions(lines, j, []);
2806
2871
  continue;
2807
2872
  }
@@ -2812,7 +2877,7 @@ function read6(input) {
2812
2877
  if (firstLabel === void 0 || kept === void 0) continue;
2813
2878
  const text = definitionText(kept.paragraphs);
2814
2879
  if (text === void 0) {
2815
- notices.push(skippedNotice(input, firstLabel.line, LABEL7, "definition"));
2880
+ notices.push(skippedNotice(input, firstLabel.line, LABEL8, "definition"));
2816
2881
  continue;
2817
2882
  }
2818
2883
  for (const extra of definitions.slice(1)) {
@@ -2873,14 +2938,14 @@ function readDefinitions(lines, at, out) {
2873
2938
  }
2874
2939
  var markdownDeflistReader = {
2875
2940
  construct: "markdown-deflist",
2876
- label: LABEL7,
2941
+ label: LABEL8,
2877
2942
  formats: ["markdown", "mdx"],
2878
- read: read6,
2879
- apply: (input, terms) => applyEntries(input, read6, terms, { holds: LIST_HOLDS, id: false, serialize: (term) => markdownEntry(term.record) })
2943
+ read: read7,
2944
+ apply: (input, terms) => applyEntries(input, read7, terms, { holds: LIST_HOLDS, id: false, serialize: (term) => markdownEntry(term.record) })
2880
2945
  };
2881
2946
 
2882
2947
  // src/term/core/readers/rst-glossary.ts
2883
- var LABEL8 = ".. glossary::";
2948
+ var LABEL9 = ".. glossary::";
2884
2949
  var DIRECTIVE = /^[ \t]*\.\.[ \t]+glossary::[ \t]*$/;
2885
2950
  var CODE_DIRECTIVE = /^[ \t]*\.\.[ \t]+(?:code-block|code|sourcecode)::/;
2886
2951
  var EXPLICIT_MARKUP = /^[ \t]*\.\.(?:[ \t]|$)/;
@@ -2899,7 +2964,7 @@ function opensLiteral(line) {
2899
2964
  if (CODE_DIRECTIVE.test(line.text)) return true;
2900
2965
  return !EXPLICIT_MARKUP.test(line.text) && line.text.trimEnd().endsWith("::");
2901
2966
  }
2902
- function read7(input) {
2967
+ function read8(input) {
2903
2968
  const terms = [];
2904
2969
  const notices = [];
2905
2970
  const lines = bodyLines(input);
@@ -2949,7 +3014,7 @@ function readGlossary(input, lines, at, terms, notices) {
2949
3014
  })
2950
3015
  );
2951
3016
  } else {
2952
- notices.push(skippedNotice(input, first.line, LABEL8, "definition"));
3017
+ notices.push(skippedNotice(input, first.line, LABEL9, "definition"));
2953
3018
  }
2954
3019
  }
2955
3020
  labels = [];
@@ -2984,7 +3049,7 @@ function readGlossary(input, lines, at, terms, notices) {
2984
3049
  } else if (labels.length > 0) {
2985
3050
  definition = { line: line.line, paragraphs: [[line.text]], last: line, gap: false };
2986
3051
  } else if (!orphan) {
2987
- notices.push(skippedNotice(input, line.line, LABEL8, "term"));
3052
+ notices.push(skippedNotice(input, line.line, LABEL9, "term"));
2988
3053
  orphan = true;
2989
3054
  }
2990
3055
  }
@@ -2998,10 +3063,10 @@ function termText(line) {
2998
3063
  }
2999
3064
  var rstGlossaryReader = {
3000
3065
  construct: "rst-glossary",
3001
- label: LABEL8,
3066
+ label: LABEL9,
3002
3067
  formats: ["rst"],
3003
- read: read7,
3004
- apply: (input, terms) => applyEntries(input, read7, terms, { holds: LIST_HOLDS, id: false, serialize: (term) => rstEntry(term.record) })
3068
+ read: read8,
3069
+ apply: (input, terms) => applyEntries(input, read8, terms, { holds: LIST_HOLDS, id: false, serialize: (term) => rstEntry(term.record) })
3005
3070
  };
3006
3071
 
3007
3072
  // src/term/core/readers/text.ts
@@ -3028,6 +3093,19 @@ var TBX_EXTENSION = ".tbx";
3028
3093
  function tbxInput(content, file, path) {
3029
3094
  return { content, file, ...path === void 0 ? {} : { path }, format: TBX_FORMAT, metadata: {}, lineFor: () => void 0 };
3030
3095
  }
3096
+ var FLARE_GLOSSARY_FORMAT = "flare-glossary";
3097
+ var FLARE_GLOSSARY_EXTENSION = ".flglo";
3098
+ function flareGlossaryInput(content, file, path, conditions) {
3099
+ return {
3100
+ content,
3101
+ file,
3102
+ ...path === void 0 ? {} : { path },
3103
+ format: FLARE_GLOSSARY_FORMAT,
3104
+ metadata: {},
3105
+ lineFor: () => void 0,
3106
+ ...conditions === void 0 ? {} : { conditions }
3107
+ };
3108
+ }
3031
3109
  var SKOS_FORMAT = "skos";
3032
3110
  var SKOS_EXTENSIONS = /* @__PURE__ */ new Set([".ttl", ".jsonld"]);
3033
3111
  function isSkos(file) {
@@ -3097,7 +3175,7 @@ async function skosInput(content, file, path) {
3097
3175
  };
3098
3176
  }
3099
3177
  function defaultExtensions() {
3100
- return [...supportedExtensions(), TBX_EXTENSION];
3178
+ return [...supportedExtensions(), TBX_EXTENSION, FLARE_GLOSSARY_EXTENSION];
3101
3179
  }
3102
3180
  function manifestInput(content, file, path) {
3103
3181
  return { content, file, path, format: MANIFEST_FORMAT, metadata: {}, lineFor: () => void 0 };
@@ -3174,7 +3252,7 @@ function pageFacts(input, set, onPage) {
3174
3252
  (set.keywords ??= []).push(...keywordsOf(input));
3175
3253
  onPage?.(input);
3176
3254
  }
3177
- function read8(input, readers, set) {
3255
+ function read9(input, readers, set) {
3178
3256
  for (const reader of readersForFormat(input.format, readers)) {
3179
3257
  const result = reader.read(input);
3180
3258
  set.terms.push(...result.terms);
@@ -3224,6 +3302,8 @@ async function loadTermSet(opts) {
3224
3302
  );
3225
3303
  }
3226
3304
  const set = { terms: [], references: [], blocks: [], keywords: [], notices: [] };
3305
+ const flare = flareRun(run.tools);
3306
+ const glossary = (content, file, path) => flareGlossaryInput(content, file, path, flare.projectFor(path)?.target?.expression);
3227
3307
  if (inputs.length > 0) {
3228
3308
  const { files, gitignoreSkipped, named } = await resolveTargetSet({
3229
3309
  inputs,
@@ -3251,15 +3331,19 @@ async function loadTermSet(opts) {
3251
3331
  for (const file of files) {
3252
3332
  const path = resolve2(run.base, file);
3253
3333
  if (namedFiles.has(file) && MANIFEST_EXTENSIONS.has(extname(file).toLowerCase())) {
3254
- read8(manifestInput(await readInput(path, file), file, path), readers, set);
3334
+ read9(manifestInput(await readInput(path, file), file, path), readers, set);
3255
3335
  continue;
3256
3336
  }
3257
3337
  if (namedFiles.has(file) && isSkos(file)) {
3258
- read8(await skosInput(await readInput(path, file), file, path), readers, set);
3338
+ read9(await skosInput(await readInput(path, file), file, path), readers, set);
3259
3339
  continue;
3260
3340
  }
3261
3341
  if (extname(file).toLowerCase() === TBX_EXTENSION) {
3262
- read8(tbxInput(await readInput(path, file), file, path), readers, set);
3342
+ read9(tbxInput(await readInput(path, file), file, path), readers, set);
3343
+ continue;
3344
+ }
3345
+ if (extname(file).toLowerCase() === FLARE_GLOSSARY_EXTENSION) {
3346
+ read9(glossary(await readInput(path, file), file, path), readers, set);
3263
3347
  continue;
3264
3348
  }
3265
3349
  const extractor = extractorForExtension(extname(file));
@@ -3268,15 +3352,17 @@ async function loadTermSet(opts) {
3268
3352
  }
3269
3353
  const input = extractInput(await readInput(path, file), file, path, extractor.name);
3270
3354
  pageFacts(input, set, opts.onPage);
3271
- read8(input, readers, set);
3355
+ read9(input, readers, set);
3272
3356
  }
3273
3357
  }
3274
3358
  if (usingStdin && opts.as?.toLowerCase() === SKOS_FORMAT) {
3275
- read8(await skosInput(opts.stdin ?? "", STDIN_LABEL), readers, set);
3359
+ read9(await skosInput(opts.stdin ?? "", STDIN_LABEL), readers, set);
3360
+ } else if (usingStdin && opts.as?.toLowerCase() === FLARE_GLOSSARY_FORMAT) {
3361
+ read9(flareGlossaryInput(opts.stdin ?? "", STDIN_LABEL), readers, set);
3276
3362
  } else if (usingStdin && opts.as !== void 0) {
3277
3363
  const input = opts.as.toLowerCase() === TBX_FORMAT ? tbxInput(opts.stdin ?? "", STDIN_LABEL) : extractInput(opts.stdin ?? "", STDIN_LABEL, void 0, opts.as);
3278
3364
  pageFacts(input, set, opts.onPage);
3279
- read8(input, readers, set);
3365
+ read9(input, readers, set);
3280
3366
  }
3281
3367
  for (const { path, written } of run.manifests) {
3282
3368
  let content;
@@ -3287,11 +3373,15 @@ async function loadTermSet(opts) {
3287
3373
  throw new TermError(`${source}: term.manifests "${written}" does not exist.`);
3288
3374
  }
3289
3375
  if (isSkos(path)) {
3290
- read8(await skosInput(content, path, path), readers, set);
3376
+ read9(await skosInput(content, path, path), readers, set);
3377
+ continue;
3378
+ }
3379
+ const ext = extname(path).toLowerCase();
3380
+ if (ext === FLARE_GLOSSARY_EXTENSION) {
3381
+ read9(glossary(content, path, path), readers, set);
3291
3382
  continue;
3292
3383
  }
3293
- const isTbx = extname(path).toLowerCase() === TBX_EXTENSION;
3294
- read8(isTbx ? tbxInput(content, path, path) : manifestInput(content, path, path), readers, set);
3384
+ read9(ext === TBX_EXTENSION ? tbxInput(content, path, path) : manifestInput(content, path, path), readers, set);
3295
3385
  }
3296
3386
  if (set.terms.length === 0 && !allowEmpty) {
3297
3387
  throw new TermError(
@@ -3410,4 +3500,4 @@ export {
3410
3500
  valeConfigFor,
3411
3501
  plural
3412
3502
  };
3413
- //# sourceMappingURL=chunk-B6YZINES.js.map
3503
+ //# sourceMappingURL=chunk-5UCBYX53.js.map