@hawkeyexl/manni 4.26.2 → 4.27.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 (270) hide show
  1. package/README.md +1 -1
  2. package/dist/{batch-4I5S6DXG.js → batch-TFGOULLM.js} +14 -14
  3. package/dist/build-TOTJTK5K.js +37 -0
  4. package/dist/{calibrate-U4TQAXXD.js → calibrate-7O4RKGZS.js} +15 -15
  5. package/dist/{capture-ODSHL2XI.js → capture-K6ZKOSIK.js} +14 -14
  6. package/dist/check-4LK34QVH.js +34 -0
  7. package/dist/check-6XN46NLH.js +31 -0
  8. package/dist/check-JBSRU724.js +58 -0
  9. package/dist/check-LZQ3PW6G.js +58 -0
  10. package/dist/{check-YFLWJUZC.js → check-WFJMMSD7.js} +15 -15
  11. package/dist/{chunk-KHBOMLPS.js → chunk-2E5OBVLC.js} +4 -4
  12. package/dist/{chunk-Z2JBWLRF.js → chunk-2LLCV66Q.js} +9 -9
  13. package/dist/{chunk-KLTGAGB6.js → chunk-43KMLS4Y.js} +3 -3
  14. package/dist/{chunk-BREAC43H.js → chunk-43VLZO4W.js} +2 -2
  15. package/dist/{chunk-UUGTQUKK.js → chunk-46EEHYA4.js} +64 -11
  16. package/dist/chunk-46EEHYA4.js.map +1 -0
  17. package/dist/{chunk-H4JXCWLM.js → chunk-4KK6TVFD.js} +7 -7
  18. package/dist/{chunk-MMVT3ZP3.js → chunk-4NCNVKZS.js} +5 -5
  19. package/dist/{chunk-UOZZTK7T.js → chunk-4QOXP5K4.js} +6 -6
  20. package/dist/{chunk-THFV3YVO.js → chunk-5QPLKYLM.js} +4 -4
  21. package/dist/{chunk-5KWMVAZZ.js → chunk-5XEZ7FQT.js} +2 -2
  22. package/dist/{chunk-SHYEKYV4.js → chunk-7BPOYION.js} +2 -2
  23. package/dist/{chunk-NTQ73IQL.js → chunk-7MKAJCU2.js} +2 -2
  24. package/dist/{chunk-NTQ73IQL.js.map → chunk-7MKAJCU2.js.map} +1 -1
  25. package/dist/{chunk-YG4GZXSA.js → chunk-A4DPDPKJ.js} +2 -2
  26. package/dist/{chunk-VNR7BQBZ.js → chunk-ACTUV3CQ.js} +52 -4
  27. package/dist/chunk-ACTUV3CQ.js.map +1 -0
  28. package/dist/{chunk-RZ65VMRW.js → chunk-AONT5QCO.js} +10 -10
  29. package/dist/{chunk-4DFLLMIM.js → chunk-AXMVISW7.js} +3 -3
  30. package/dist/{chunk-MC7U5IH4.js → chunk-BCRMMIY5.js} +1 -1
  31. package/dist/chunk-BCRMMIY5.js.map +1 -0
  32. package/dist/{chunk-ZR33AQFW.js → chunk-BMPQLKQS.js} +10 -8
  33. package/dist/chunk-BMPQLKQS.js.map +1 -0
  34. package/dist/{chunk-SJI7C7FY.js → chunk-BN3SQUXK.js} +14 -14
  35. package/dist/{chunk-3ZVRGBK6.js → chunk-BTFXOKCP.js} +2 -2
  36. package/dist/{chunk-JF4BC7ZD.js → chunk-CDX4QK6O.js} +29 -2
  37. package/dist/chunk-CDX4QK6O.js.map +1 -0
  38. package/dist/{chunk-JDQFU2U6.js → chunk-CJWFDJEX.js} +9 -9
  39. package/dist/{chunk-NZ7RO6ZD.js → chunk-D3FJVKE2.js} +3 -3
  40. package/dist/{chunk-K7UVWJJW.js → chunk-DRMCY64Q.js} +15 -7
  41. package/dist/chunk-DRMCY64Q.js.map +1 -0
  42. package/dist/{chunk-HAZQCHO5.js → chunk-DSTEX7SK.js} +3 -3
  43. package/dist/{chunk-HJHDYROD.js → chunk-DZC2OALR.js} +4 -4
  44. package/dist/{chunk-GCJPYCOV.js → chunk-FK2FAE3J.js} +4 -4
  45. package/dist/{chunk-GM5LWEDF.js → chunk-FRAEUYJE.js} +56 -27
  46. package/dist/chunk-FRAEUYJE.js.map +1 -0
  47. package/dist/{chunk-QNXNA2BR.js → chunk-H7SFSZ3I.js} +300 -58
  48. package/dist/chunk-H7SFSZ3I.js.map +1 -0
  49. package/dist/chunk-HMJZHUCJ.js +337 -0
  50. package/dist/chunk-HMJZHUCJ.js.map +1 -0
  51. package/dist/{chunk-GXC7SDLO.js → chunk-HQRXE6QY.js} +354 -51
  52. package/dist/chunk-HQRXE6QY.js.map +1 -0
  53. package/dist/{chunk-J7E4XAFG.js → chunk-IFAOEGSU.js} +32 -22
  54. package/dist/chunk-IFAOEGSU.js.map +1 -0
  55. package/dist/{chunk-B6YZINES.js → chunk-IQJ4WBJZ.js} +173 -83
  56. package/dist/chunk-IQJ4WBJZ.js.map +1 -0
  57. package/dist/{chunk-RVATMGUL.js → chunk-JWS4OKOZ.js} +4 -4
  58. package/dist/{chunk-4IM6A2WK.js → chunk-K5DKRGUV.js} +6 -6
  59. package/dist/{chunk-7ODOTGU4.js → chunk-LESYV3TT.js} +3 -3
  60. package/dist/{chunk-DGN4VVFG.js → chunk-LWWO4C6P.js} +3 -3
  61. package/dist/{chunk-BAJ23I2H.js → chunk-MABRQ46L.js} +14 -7
  62. package/dist/chunk-MABRQ46L.js.map +1 -0
  63. package/dist/{chunk-PWLUQLFH.js → chunk-MMS3I5ZH.js} +7 -7
  64. package/dist/{chunk-OKLRZM2N.js → chunk-NXJMRIKW.js} +5 -5
  65. package/dist/{chunk-P7MGBTY3.js → chunk-OBFIWPEB.js} +3 -3
  66. package/dist/{chunk-TI4DA6DF.js → chunk-OPF3NOKF.js} +1 -1
  67. package/dist/chunk-OPF3NOKF.js.map +1 -0
  68. package/dist/{chunk-LHFO4HF7.js → chunk-PBR4TVEL.js} +7 -7
  69. package/dist/{chunk-PEZP4ZFP.js → chunk-PHZ7VWSL.js} +31 -13
  70. package/dist/chunk-PHZ7VWSL.js.map +1 -0
  71. package/dist/{chunk-M6RB342K.js → chunk-Q34NWLGY.js} +2 -2
  72. package/dist/{chunk-PJ5YJS6L.js → chunk-QFVBBRHW.js} +2 -2
  73. package/dist/{chunk-QWGAM3T6.js → chunk-QLK6LXSS.js} +3 -3
  74. package/dist/{chunk-LSH6HPKB.js → chunk-QSABWNXP.js} +4 -4
  75. package/dist/{chunk-BPVO3OED.js → chunk-R3FCSRTX.js} +6 -6
  76. package/dist/{chunk-SIDHDT4X.js → chunk-RA3QM7X6.js} +8 -8
  77. package/dist/{chunk-EXCYL3S7.js → chunk-RCGR4NKY.js} +2 -2
  78. package/dist/{chunk-VDEE7AUI.js → chunk-S2ZOXAFY.js} +2 -2
  79. package/dist/{chunk-4X3EH5VC.js → chunk-SYZ75Q5F.js} +65 -47
  80. package/dist/chunk-SYZ75Q5F.js.map +1 -0
  81. package/dist/{chunk-KSDAAJJX.js → chunk-TF4VEEDJ.js} +2 -2
  82. package/dist/{chunk-PX4QZLA2.js → chunk-TNOML4XE.js} +3 -3
  83. package/dist/{chunk-UT3CPOGN.js → chunk-UVI6JXRM.js} +8 -8
  84. package/dist/{chunk-P6QJPKZ2.js → chunk-VHAQJ6KU.js} +31 -26
  85. package/dist/chunk-VHAQJ6KU.js.map +1 -0
  86. package/dist/{chunk-LURF4MTH.js → chunk-VLPUC4MH.js} +3 -3
  87. package/dist/{chunk-A6LHTTNO.js → chunk-WJ7IGOBI.js} +21 -12
  88. package/dist/chunk-WJ7IGOBI.js.map +1 -0
  89. package/dist/{chunk-QFEEUI2Z.js → chunk-WLN4A2OJ.js} +4 -4
  90. package/dist/{chunk-NXP3DG4L.js → chunk-WNL2T7LK.js} +4 -4
  91. package/dist/{chunk-K4X6GJKG.js → chunk-WOPKA4ZB.js} +3 -3
  92. package/dist/{chunk-KLRTOQN4.js → chunk-X3FSKK53.js} +13 -7
  93. package/dist/chunk-X3FSKK53.js.map +1 -0
  94. package/dist/{chunk-A43A335C.js → chunk-Y72JZVMX.js} +3 -3
  95. package/dist/{chunk-RV2BYDJK.js → chunk-YQ4XWJTB.js} +24 -14
  96. package/dist/chunk-YQ4XWJTB.js.map +1 -0
  97. package/dist/{chunk-XD4Z26HJ.js → chunk-YUTRYEDG.js} +3 -3
  98. package/dist/{chunk-DPQAF2VR.js → chunk-Z66LHZRV.js} +2 -2
  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-RO4TNFXJ.js → cli-4Q22IFXX.js} +16 -15
  103. package/dist/{cli-RO4TNFXJ.js.map → cli-4Q22IFXX.js.map} +1 -1
  104. package/dist/{cli-6DOYYCTT.js → cli-6Y2V6OI6.js} +29 -28
  105. package/dist/{cli-6DOYYCTT.js.map → cli-6Y2V6OI6.js.map} +1 -1
  106. package/dist/{cli-DKRISKSR.js → cli-A3E4KJ5U.js} +21 -21
  107. package/dist/{cli-7IPP6ZTQ.js → cli-H4SH5A6M.js} +37 -36
  108. package/dist/{cli-7IPP6ZTQ.js.map → cli-H4SH5A6M.js.map} +1 -1
  109. package/dist/{cli-SDW7JOTO.js → cli-ODMYZEFY.js} +56 -55
  110. package/dist/{cli-SDW7JOTO.js.map → cli-ODMYZEFY.js.map} +1 -1
  111. package/dist/{cli-C2OATF3N.js → cli-PKCV3N4H.js} +8 -8
  112. package/dist/{cli-AR6TOW7M.js → cli-QQIIFRKE.js} +20 -19
  113. package/dist/{cli-AR6TOW7M.js.map → cli-QQIIFRKE.js.map} +1 -1
  114. package/dist/{cli-XM4F6ZC7.js → cli-SN7N4WCV.js} +26 -25
  115. package/dist/{cli-XM4F6ZC7.js.map → cli-SN7N4WCV.js.map} +1 -1
  116. package/dist/{cli-WWNQFDMK.js → cli-WFC3CJOJ.js} +3 -3
  117. package/dist/{cli-CFDGH5HD.js → cli-YP5KKGZP.js} +30 -29
  118. package/dist/{cli-CFDGH5HD.js.map → cli-YP5KKGZP.js.map} +1 -1
  119. package/dist/{cli-3VAVQYQT.js → cli-Z6IVPISQ.js} +24 -42
  120. package/dist/cli-Z6IVPISQ.js.map +1 -0
  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-7MZOPO6F.js +49 -0
  125. package/dist/github-MERFCTC7.js +29 -0
  126. package/dist/{github-GU23WNCU.js → github-MQPACOAB.js} +15 -14
  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-7RZPISH3.js} +13 -12
  131. package/dist/{json-YIZON5LE.js → json-GOM7GQ6C.js} +16 -15
  132. package/dist/{labels-6RROJOYQ.js → labels-3ZOCWOT6.js} +12 -11
  133. package/dist/{labels-6RROJOYQ.js.map → labels-3ZOCWOT6.js.map} +1 -1
  134. package/dist/lint-XQMOP6UX.js +33 -0
  135. package/dist/{list-UARFGS7C.js → list-5PR56LNP.js} +15 -14
  136. package/dist/list-AV4DCGP3.js +31 -0
  137. package/dist/list-PLVWVFAV.js +49 -0
  138. package/dist/{page-JADAILE3.js → page-7EML6WFG.js} +10 -10
  139. package/dist/{prepare-B24HTUCX.js → prepare-A7NZ5BPZ.js} +13 -13
  140. package/dist/{pretty-XAMSAKAR.js → pretty-5QHFDOSO.js} +15 -14
  141. package/dist/{pretty-NHNYY7CP.js → pretty-E4FJRLZZ.js} +25 -24
  142. package/dist/{pretty-5V3PWJ6L.js → pretty-Y4UZL35B.js} +13 -12
  143. package/dist/{reporters-ULSSBAAG.js → reporters-A63SJIY7.js} +12 -12
  144. package/dist/{reporters-HTJKW7NG.js → reporters-BFST46C2.js} +5 -5
  145. package/dist/run-2MWSIAGL.js +52 -0
  146. package/dist/{sarif-LBODGUNE.js → sarif-BBNFOFUZ.js} +9 -9
  147. package/dist/sarif-MDBTPWQN.js +50 -0
  148. package/dist/{sarif-SOA76ESJ.js → sarif-MTFYXIRJ.js} +11 -11
  149. package/dist/{strategy-XI7QTY7T.js → strategy-3EJODC6O.js} +22 -21
  150. package/dist/{term-UIBQBGMR.js → term-UYCZLVVA.js} +19 -18
  151. package/dist/{term-UIBQBGMR.js.map → term-UYCZLVVA.js.map} +1 -1
  152. package/dist/{validate-X257AMWS.js → validate-3C3RWYMR.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-TFGOULLM.js.map} +0 -0
  190. /package/dist/{build-OPWHXPXE.js.map → build-TOTJTK5K.js.map} +0 -0
  191. /package/dist/{calibrate-U4TQAXXD.js.map → calibrate-7O4RKGZS.js.map} +0 -0
  192. /package/dist/{capture-ODSHL2XI.js.map → capture-K6ZKOSIK.js.map} +0 -0
  193. /package/dist/{check-4VOOUC5E.js.map → check-4LK34QVH.js.map} +0 -0
  194. /package/dist/{check-M3ORYGTW.js.map → check-6XN46NLH.js.map} +0 -0
  195. /package/dist/{check-QJ35SM3K.js.map → check-JBSRU724.js.map} +0 -0
  196. /package/dist/{check-UXS5LVFJ.js.map → check-LZQ3PW6G.js.map} +0 -0
  197. /package/dist/{check-YFLWJUZC.js.map → check-WFJMMSD7.js.map} +0 -0
  198. /package/dist/{chunk-KHBOMLPS.js.map → chunk-2E5OBVLC.js.map} +0 -0
  199. /package/dist/{chunk-Z2JBWLRF.js.map → chunk-2LLCV66Q.js.map} +0 -0
  200. /package/dist/{chunk-KLTGAGB6.js.map → chunk-43KMLS4Y.js.map} +0 -0
  201. /package/dist/{chunk-BREAC43H.js.map → chunk-43VLZO4W.js.map} +0 -0
  202. /package/dist/{chunk-H4JXCWLM.js.map → chunk-4KK6TVFD.js.map} +0 -0
  203. /package/dist/{chunk-MMVT3ZP3.js.map → chunk-4NCNVKZS.js.map} +0 -0
  204. /package/dist/{chunk-UOZZTK7T.js.map → chunk-4QOXP5K4.js.map} +0 -0
  205. /package/dist/{chunk-THFV3YVO.js.map → chunk-5QPLKYLM.js.map} +0 -0
  206. /package/dist/{chunk-5KWMVAZZ.js.map → chunk-5XEZ7FQT.js.map} +0 -0
  207. /package/dist/{chunk-SHYEKYV4.js.map → chunk-7BPOYION.js.map} +0 -0
  208. /package/dist/{chunk-YG4GZXSA.js.map → chunk-A4DPDPKJ.js.map} +0 -0
  209. /package/dist/{chunk-RZ65VMRW.js.map → chunk-AONT5QCO.js.map} +0 -0
  210. /package/dist/{chunk-4DFLLMIM.js.map → chunk-AXMVISW7.js.map} +0 -0
  211. /package/dist/{chunk-SJI7C7FY.js.map → chunk-BN3SQUXK.js.map} +0 -0
  212. /package/dist/{chunk-3ZVRGBK6.js.map → chunk-BTFXOKCP.js.map} +0 -0
  213. /package/dist/{chunk-JDQFU2U6.js.map → chunk-CJWFDJEX.js.map} +0 -0
  214. /package/dist/{chunk-NZ7RO6ZD.js.map → chunk-D3FJVKE2.js.map} +0 -0
  215. /package/dist/{chunk-HAZQCHO5.js.map → chunk-DSTEX7SK.js.map} +0 -0
  216. /package/dist/{chunk-HJHDYROD.js.map → chunk-DZC2OALR.js.map} +0 -0
  217. /package/dist/{chunk-GCJPYCOV.js.map → chunk-FK2FAE3J.js.map} +0 -0
  218. /package/dist/{chunk-RVATMGUL.js.map → chunk-JWS4OKOZ.js.map} +0 -0
  219. /package/dist/{chunk-4IM6A2WK.js.map → chunk-K5DKRGUV.js.map} +0 -0
  220. /package/dist/{chunk-7ODOTGU4.js.map → chunk-LESYV3TT.js.map} +0 -0
  221. /package/dist/{chunk-DGN4VVFG.js.map → chunk-LWWO4C6P.js.map} +0 -0
  222. /package/dist/{chunk-PWLUQLFH.js.map → chunk-MMS3I5ZH.js.map} +0 -0
  223. /package/dist/{chunk-OKLRZM2N.js.map → chunk-NXJMRIKW.js.map} +0 -0
  224. /package/dist/{chunk-P7MGBTY3.js.map → chunk-OBFIWPEB.js.map} +0 -0
  225. /package/dist/{chunk-LHFO4HF7.js.map → chunk-PBR4TVEL.js.map} +0 -0
  226. /package/dist/{chunk-M6RB342K.js.map → chunk-Q34NWLGY.js.map} +0 -0
  227. /package/dist/{chunk-PJ5YJS6L.js.map → chunk-QFVBBRHW.js.map} +0 -0
  228. /package/dist/{chunk-QWGAM3T6.js.map → chunk-QLK6LXSS.js.map} +0 -0
  229. /package/dist/{chunk-LSH6HPKB.js.map → chunk-QSABWNXP.js.map} +0 -0
  230. /package/dist/{chunk-BPVO3OED.js.map → chunk-R3FCSRTX.js.map} +0 -0
  231. /package/dist/{chunk-SIDHDT4X.js.map → chunk-RA3QM7X6.js.map} +0 -0
  232. /package/dist/{chunk-EXCYL3S7.js.map → chunk-RCGR4NKY.js.map} +0 -0
  233. /package/dist/{chunk-VDEE7AUI.js.map → chunk-S2ZOXAFY.js.map} +0 -0
  234. /package/dist/{chunk-KSDAAJJX.js.map → chunk-TF4VEEDJ.js.map} +0 -0
  235. /package/dist/{chunk-PX4QZLA2.js.map → chunk-TNOML4XE.js.map} +0 -0
  236. /package/dist/{chunk-UT3CPOGN.js.map → chunk-UVI6JXRM.js.map} +0 -0
  237. /package/dist/{chunk-LURF4MTH.js.map → chunk-VLPUC4MH.js.map} +0 -0
  238. /package/dist/{chunk-QFEEUI2Z.js.map → chunk-WLN4A2OJ.js.map} +0 -0
  239. /package/dist/{chunk-NXP3DG4L.js.map → chunk-WNL2T7LK.js.map} +0 -0
  240. /package/dist/{chunk-K4X6GJKG.js.map → chunk-WOPKA4ZB.js.map} +0 -0
  241. /package/dist/{chunk-A43A335C.js.map → chunk-Y72JZVMX.js.map} +0 -0
  242. /package/dist/{chunk-XD4Z26HJ.js.map → chunk-YUTRYEDG.js.map} +0 -0
  243. /package/dist/{chunk-DPQAF2VR.js.map → chunk-Z66LHZRV.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-A3E4KJ5U.js.map} +0 -0
  246. /package/dist/{cli-C2OATF3N.js.map → cli-PKCV3N4H.js.map} +0 -0
  247. /package/dist/{cli-WWNQFDMK.js.map → cli-WFC3CJOJ.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-7MZOPO6F.js.map} +0 -0
  250. /package/dist/{github-RPHQGICU.js.map → github-MERFCTC7.js.map} +0 -0
  251. /package/dist/{github-VKUOQE77.js.map → github-MQPACOAB.js.map} +0 -0
  252. /package/dist/{json-P4EDSVIC.js.map → json-7RZPISH3.js.map} +0 -0
  253. /package/dist/{json-YIZON5LE.js.map → json-GOM7GQ6C.js.map} +0 -0
  254. /package/dist/{lint-VXM7UKPY.js.map → lint-XQMOP6UX.js.map} +0 -0
  255. /package/dist/{list-2Y7AM5BW.js.map → list-5PR56LNP.js.map} +0 -0
  256. /package/dist/{list-ILJJM7EL.js.map → list-AV4DCGP3.js.map} +0 -0
  257. /package/dist/{list-UARFGS7C.js.map → list-PLVWVFAV.js.map} +0 -0
  258. /package/dist/{page-JADAILE3.js.map → page-7EML6WFG.js.map} +0 -0
  259. /package/dist/{prepare-B24HTUCX.js.map → prepare-A7NZ5BPZ.js.map} +0 -0
  260. /package/dist/{pretty-5V3PWJ6L.js.map → pretty-5QHFDOSO.js.map} +0 -0
  261. /package/dist/{pretty-NHNYY7CP.js.map → pretty-E4FJRLZZ.js.map} +0 -0
  262. /package/dist/{pretty-XAMSAKAR.js.map → pretty-Y4UZL35B.js.map} +0 -0
  263. /package/dist/{reporters-HTJKW7NG.js.map → reporters-A63SJIY7.js.map} +0 -0
  264. /package/dist/{reporters-ULSSBAAG.js.map → reporters-BFST46C2.js.map} +0 -0
  265. /package/dist/{run-EVPJ7SDL.js.map → run-2MWSIAGL.js.map} +0 -0
  266. /package/dist/{sarif-3PHFVX7D.js.map → sarif-BBNFOFUZ.js.map} +0 -0
  267. /package/dist/{sarif-LBODGUNE.js.map → sarif-MDBTPWQN.js.map} +0 -0
  268. /package/dist/{sarif-SOA76ESJ.js.map → sarif-MTFYXIRJ.js.map} +0 -0
  269. /package/dist/{strategy-XI7QTY7T.js.map → strategy-3EJODC6O.js.map} +0 -0
  270. /package/dist/{validate-X257AMWS.js.map → validate-3C3RWYMR.js.map} +0 -0
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-4TSWU2SU.js";
5
5
  import {
6
6
  offeredNames
7
- } from "./chunk-QWGAM3T6.js";
7
+ } from "./chunk-QLK6LXSS.js";
8
8
  import {
9
9
  MANIFEST_VERSION
10
10
  } from "./chunk-6WJUZQQX.js";
@@ -769,4 +769,4 @@ export {
769
769
  PROJECT_RULES_FILENAMES,
770
770
  resolveArtifacts
771
771
  };
772
- //# sourceMappingURL=chunk-M6RB342K.js.map
772
+ //# sourceMappingURL=chunk-Q34NWLGY.js.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  loadTerms
4
- } from "./chunk-B6YZINES.js";
4
+ } from "./chunk-IQJ4WBJZ.js";
5
5
 
6
6
  // src/term/commands/list.ts
7
7
  var LIST_FORMATS = ["pretty", "json", "csv"];
@@ -14,4 +14,4 @@ export {
14
14
  LIST_FORMATS,
15
15
  runList
16
16
  };
17
- //# sourceMappingURL=chunk-PJ5YJS6L.js.map
17
+ //# sourceMappingURL=chunk-QFVBBRHW.js.map
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  metaProvenanceEntries
4
- } from "./chunk-KLRTOQN4.js";
4
+ } from "./chunk-X3FSKK53.js";
5
5
  import {
6
6
  __default3 as __default,
7
7
  extractFrontmatter
8
- } from "./chunk-GXC7SDLO.js";
8
+ } from "./chunk-HQRXE6QY.js";
9
9
 
10
10
  // src/tracevals/trace/availability.ts
11
11
  function newAvailability() {
@@ -406,4 +406,4 @@ export {
406
406
  extractEvals,
407
407
  normalizeEntry
408
408
  };
409
- //# sourceMappingURL=chunk-QWGAM3T6.js.map
409
+ //# sourceMappingURL=chunk-QLK6LXSS.js.map
@@ -3,13 +3,13 @@ import {
3
3
  RULE_ID_PREFIX,
4
4
  guidanceFor,
5
5
  isTermRule
6
- } from "./chunk-BREAC43H.js";
6
+ } from "./chunk-43VLZO4W.js";
7
7
  import {
8
8
  TERM_FIELDS
9
- } from "./chunk-MC7U5IH4.js";
9
+ } from "./chunk-BCRMMIY5.js";
10
10
  import {
11
11
  renderSarif
12
- } from "./chunk-RVATMGUL.js";
12
+ } from "./chunk-JWS4OKOZ.js";
13
13
  import {
14
14
  guidanceLines
15
15
  } from "./chunk-QK6VYJHV.js";
@@ -73,4 +73,4 @@ export {
73
73
  FIELD_LABEL,
74
74
  renderFindingsSarif
75
75
  };
76
- //# sourceMappingURL=chunk-LSH6HPKB.js.map
76
+ //# sourceMappingURL=chunk-QSABWNXP.js.map
@@ -2,24 +2,24 @@
2
2
  import {
3
3
  SiteError,
4
4
  resolveAnnotateSite
5
- } from "./chunk-D4BGNAN5.js";
5
+ } from "./chunk-ZZGHTXZ2.js";
6
6
  import {
7
7
  parseChunkRows,
8
8
  parseChunksManifest,
9
9
  range
10
- } from "./chunk-XD4Z26HJ.js";
10
+ } from "./chunk-YUTRYEDG.js";
11
11
  import {
12
12
  documentBase,
13
13
  formatOf,
14
14
  loadRunConfig
15
- } from "./chunk-GM5LWEDF.js";
15
+ } from "./chunk-FRAEUYJE.js";
16
16
  import {
17
17
  bodyLineOf
18
- } from "./chunk-P7MGBTY3.js";
18
+ } from "./chunk-OBFIWPEB.js";
19
19
  import {
20
20
  integrityOf,
21
21
  locateFrontmatter
22
- } from "./chunk-GXC7SDLO.js";
22
+ } from "./chunk-HQRXE6QY.js";
23
23
  import {
24
24
  notice,
25
25
  warn
@@ -577,4 +577,4 @@ export {
577
577
  runAnnotate,
578
578
  renderAnnotate
579
579
  };
580
- //# sourceMappingURL=chunk-BPVO3OED.js.map
580
+ //# sourceMappingURL=chunk-R3FCSRTX.js.map
@@ -17,7 +17,7 @@ import {
17
17
  spliceEntryField,
18
18
  unifiedDiff,
19
19
  withClaimLines
20
- } from "./chunk-UT3CPOGN.js";
20
+ } from "./chunk-UVI6JXRM.js";
21
21
  import {
22
22
  CITATIONS_KEY,
23
23
  CITE_SECTION,
@@ -59,7 +59,7 @@ import {
59
59
  stripMarkers,
60
60
  twoManifestsRefusal,
61
61
  urlManifestRefusal
62
- } from "./chunk-LHFO4HF7.js";
62
+ } from "./chunk-PBR4TVEL.js";
63
63
  import {
64
64
  renderCheckJson,
65
65
  renderHistoryJson,
@@ -68,7 +68,7 @@ import {
68
68
  } from "./chunk-IM7C3H4W.js";
69
69
  import {
70
70
  renderCheckGithub
71
- } from "./chunk-7ODOTGU4.js";
71
+ } from "./chunk-LESYV3TT.js";
72
72
  import {
73
73
  refusalLine,
74
74
  removalLine,
@@ -77,7 +77,7 @@ import {
77
77
  renderRemovePretty,
78
78
  renderUpdatePretty,
79
79
  rewriteLine
80
- } from "./chunk-QFEEUI2Z.js";
80
+ } from "./chunk-WLN4A2OJ.js";
81
81
  import {
82
82
  blockMatches,
83
83
  claimEnd,
@@ -103,7 +103,7 @@ import {
103
103
  toValidationResult,
104
104
  unitAt,
105
105
  unitText
106
- } from "./chunk-THFV3YVO.js";
106
+ } from "./chunk-5QPLKYLM.js";
107
107
  import {
108
108
  CITE_RULES,
109
109
  CiteError,
@@ -129,7 +129,7 @@ import {
129
129
  sourceRange,
130
130
  spellSource,
131
131
  validateEntry
132
- } from "./chunk-MMVT3ZP3.js";
132
+ } from "./chunk-4NCNVKZS.js";
133
133
  import {
134
134
  MAX_RANGE_LINES,
135
135
  MOVE_BUDGET_BYTES,
@@ -163,7 +163,7 @@ import {
163
163
  statementForms,
164
164
  toBodyLines,
165
165
  toFileLines
166
- } from "./chunk-P7MGBTY3.js";
166
+ } from "./chunk-OBFIWPEB.js";
167
167
  import {
168
168
  __export
169
169
  } from "./chunk-2H7UOFLK.js";
@@ -456,4 +456,4 @@ export {
456
456
  reencryptCitationEntries,
457
457
  cite_exports
458
458
  };
459
- //# sourceMappingURL=chunk-SIDHDT4X.js.map
459
+ //# sourceMappingURL=chunk-RA3QM7X6.js.map
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  byCodeUnit
4
- } from "./chunk-GM5LWEDF.js";
4
+ } from "./chunk-FRAEUYJE.js";
5
5
 
6
6
  // src/graph/core/localizations.ts
7
7
  var LOCALIZATIONS_FILENAME = "localizations.json";
@@ -97,4 +97,4 @@ export {
97
97
  parseLocalizations,
98
98
  isSafeRelativePath
99
99
  };
100
- //# sourceMappingURL=chunk-EXCYL3S7.js.map
100
+ //# sourceMappingURL=chunk-RCGR4NKY.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-BXQLKOOR.js";
7
7
  import {
8
8
  renderSarif
9
- } from "./chunk-RVATMGUL.js";
9
+ } from "./chunk-JWS4OKOZ.js";
10
10
  import {
11
11
  guidanceLines
12
12
  } from "./chunk-QK6VYJHV.js";
@@ -47,4 +47,4 @@ export {
47
47
  FIELD_LABEL,
48
48
  renderFindingsSarif
49
49
  };
50
- //# sourceMappingURL=chunk-VDEE7AUI.js.map
50
+ //# sourceMappingURL=chunk-S2ZOXAFY.js.map
@@ -13,7 +13,7 @@ import {
13
13
  resolveVariant,
14
14
  traverse,
15
15
  withholds
16
- } from "./chunk-XD4Z26HJ.js";
16
+ } from "./chunk-YUTRYEDG.js";
17
17
  import {
18
18
  CONFIGURED_EVALS_LEFT_OUT,
19
19
  COPIED_SHARE,
@@ -26,17 +26,17 @@ import {
26
26
  readSampleQuestions,
27
27
  userFacing,
28
28
  withExternalMetadata
29
- } from "./chunk-GCJPYCOV.js";
29
+ } from "./chunk-FK2FAE3J.js";
30
30
  import {
31
31
  LOCALIZATIONS_FILENAME,
32
32
  UNDETERMINED,
33
33
  canonicalLanguageTag,
34
34
  isLanguageTag,
35
35
  parseLocalizations
36
- } from "./chunk-EXCYL3S7.js";
36
+ } from "./chunk-RCGR4NKY.js";
37
37
  import {
38
38
  runCheck
39
- } from "./chunk-LHFO4HF7.js";
39
+ } from "./chunk-PBR4TVEL.js";
40
40
  import {
41
41
  packageRoot
42
42
  } from "./chunk-TIUTIOFB.js";
@@ -56,15 +56,19 @@ import {
56
56
  loadRunConfig,
57
57
  metadataOf,
58
58
  mintTreeSections,
59
+ parseContexts,
59
60
  parseTree,
60
61
  profileFor,
61
62
  routesFrom,
62
63
  withPrefix
63
- } from "./chunk-GM5LWEDF.js";
64
+ } from "./chunk-FRAEUYJE.js";
65
+ import {
66
+ plainText
67
+ } from "./chunk-H7SFSZ3I.js";
64
68
  import {
65
69
  readRecord,
66
70
  runDerive
67
- } from "./chunk-KLRTOQN4.js";
71
+ } from "./chunk-X3FSKK53.js";
68
72
  import {
69
73
  bodyLineOf,
70
74
  findWindows,
@@ -72,11 +76,13 @@ import {
72
76
  spellLines,
73
77
  splitLines,
74
78
  toFileLines
75
- } from "./chunk-P7MGBTY3.js";
79
+ } from "./chunk-OBFIWPEB.js";
76
80
  import {
77
81
  integrityOf,
78
- locateFrontmatter
79
- } from "./chunk-GXC7SDLO.js";
82
+ isFlare,
83
+ locateFrontmatter,
84
+ supportedExtensions
85
+ } from "./chunk-HQRXE6QY.js";
80
86
  import {
81
87
  warn
82
88
  } from "./chunk-HX44GB4Z.js";
@@ -741,13 +747,10 @@ var FRONTMATTER = /^---[ \t]*\r?\n(?:[\s\S]*?\r?\n)?(?:---|\.\.\.)[ \t]*(?:\r?\n
741
747
  function stripFrontmatter(markdown) {
742
748
  return markdown.replace(FRONTMATTER, "");
743
749
  }
744
- function plainText(nodes) {
745
- return nodes.map((n) => n.text.replace(/\r\n/g, "\n").trim()).filter((t) => t !== "");
746
- }
747
- async function treeText(source, path) {
750
+ async function treeText(source, path, context) {
748
751
  const format = formatOf(path);
749
752
  if (format === "markdown" || format === "mdx") return void 0;
750
- const minted = mintTreeSections((await parseTree(source, path, format)).sections);
753
+ const minted = mintTreeSections((await parseTree(source, path, format, context)).sections);
751
754
  const sections = /* @__PURE__ */ new Map();
752
755
  for (const [n, section] of minted.sections.entries()) {
753
756
  const own = plainText(minted.owned[n] ?? []);
@@ -792,7 +795,7 @@ async function buildSearchIndex(graph, cwd, options = {}) {
792
795
  `Source not found for ${path} \u2014 indexed without body text.`
793
796
  );
794
797
  }
795
- const tree = source === void 0 || path === void 0 ? void 0 : await treeText(source, path);
798
+ const tree = source === void 0 || path === void 0 ? void 0 : await treeText(source, path, options.context?.(path));
796
799
  if (tree) treeTextOf.set(doc, tree);
797
800
  const body = source === void 0 ? void 0 : stripFrontmatter(source).replace(/\r\n/g, "\n");
798
801
  const text = tree ? tree.doc : body === void 0 ? void 0 : (sectionsOf.get(doc)?.length ?? 0) > 0 ? documentPreamble(body) : body;
@@ -952,13 +955,17 @@ function lastLine(position) {
952
955
  const { start, end } = position;
953
956
  return end.column <= 1 && end.line > start.line ? end.line - 1 : end.line;
954
957
  }
955
- async function sectionSpans(graph, doc, path, content, sections) {
958
+ async function sectionSpans(graph, doc, path, content, sections, context) {
956
959
  const format = formatOf(path);
957
960
  const out = [];
958
961
  if (isTreeFormat(format)) {
959
962
  const known = new Set(sections);
960
- const minted = mintTreeSections((await parseTree(content, path, format)).sections);
963
+ const minted = mintTreeSections((await parseTree(content, path, format, context)).sections);
964
+ const resolved = format === "html" && context?.flare !== void 0 && isFlare(content);
965
+ const texts = plainText(minted.unowned);
961
966
  for (const [n, section] of minted.sections.entries()) {
967
+ const text = [section.title, ...plainText(minted.owned[n] ?? [])].join("\n\n");
968
+ texts.push(text);
962
969
  const iri = `${doc}#${section.slug}`;
963
970
  const node = minted.nodes[n];
964
971
  if (!known.has(iri) || node === void 0) continue;
@@ -967,9 +974,9 @@ async function sectionSpans(graph, doc, path, content, sections) {
967
974
  lastLine(head),
968
975
  ...(minted.owned[n] ?? []).map((c) => lastLine(c.position))
969
976
  );
970
- out.push({ iri, span: { start: head.start.line, end } });
977
+ out.push({ iri, span: { start: head.start.line, end }, ...resolved ? { text } : {} });
971
978
  }
972
- return out;
979
+ return { spans: out, ...resolved ? { text: texts.join("\n\n") } : {} };
973
980
  }
974
981
  const occurrences = sectionOccurrences(graph, doc);
975
982
  for (const iri of sections) {
@@ -984,7 +991,7 @@ async function sectionSpans(graph, doc, path, content, sections) {
984
991
  );
985
992
  if (span) out.push({ iri, span });
986
993
  }
987
- return out;
994
+ return { spans: out };
988
995
  }
989
996
  function bodyOf(content, format) {
990
997
  const bodyLine = format === "html" || format === "xml" ? 1 : bodyLineOf(content, locateFrontmatter(content)?.closeEnd ?? 0);
@@ -1010,7 +1017,7 @@ function matchList(ranges) {
1010
1017
  const both = head.length === 1 ? "both" : "all";
1011
1018
  return `lines ${head.join(", ")} and ${last} ${both} match`;
1012
1019
  }
1013
- async function readPages(graph, sources, view, verb) {
1020
+ async function readPages(graph, sources, view, verb, context) {
1014
1021
  const contents = /* @__PURE__ */ new Map();
1015
1022
  const onDisk = [];
1016
1023
  const byAbs = /* @__PURE__ */ new Map();
@@ -1049,7 +1056,7 @@ async function readPages(graph, sources, view, verb) {
1049
1056
  language: tag === void 0 ? UNDETERMINED : canonicalLanguageTag(tag),
1050
1057
  bodyLine,
1051
1058
  body,
1052
- sections: await sectionSpans(graph, doc, path, content, sectionsOf.get(doc) ?? []),
1059
+ sections: (await sectionSpans(graph, doc, path, content, sectionsOf.get(doc) ?? [], context?.(path))).spans,
1053
1060
  questions
1054
1061
  };
1055
1062
  };
@@ -1119,7 +1126,7 @@ function renderQuestionSummary(s) {
1119
1126
  ...s.gaps > 0 ? [` gaps ${plural(s.gaps, "question")} the docs don't answer`] : []
1120
1127
  ];
1121
1128
  }
1122
- async function askSampleQuestions(store, settings, sources, indexDir, view, questionFiles, configDir, cite) {
1129
+ async function askSampleQuestions(store, settings, sources, indexDir, view, questionFiles, configDir, cite, context) {
1123
1130
  const knob = settings.severity;
1124
1131
  const top = settings.top;
1125
1132
  const sets = questionFiles.map((label) => ({
@@ -1127,7 +1134,7 @@ async function askSampleQuestions(store, settings, sources, indexDir, view, ques
1127
1134
  questions: readQuestionFile(resolve3(configDir, label), label)
1128
1135
  }));
1129
1136
  const graph = GraphIndex.fromQuads(storeToQuads(store), Object.fromEntries(PREFIXES));
1130
- const { pages, contents, pageAt } = await readPages(graph, sources, view, "checked");
1137
+ const { pages, contents, pageAt } = await readPages(graph, sources, view, "checked", context);
1131
1138
  const total = pages.reduce((n, p) => n + p.questions.length, 0) + sets.reduce((n, f) => n + f.questions.length, 0);
1132
1139
  if (total === 0) return { findings: [] };
1133
1140
  let byLanguage;
@@ -1141,7 +1148,10 @@ async function askSampleQuestions(store, settings, sources, indexDir, view, ques
1141
1148
  if (byLanguage === void 0) {
1142
1149
  byLanguage = partitionByLanguage(
1143
1150
  graph,
1144
- await buildSearchIndex(graph, sources, { readDoc: (p) => contents.get(p) })
1151
+ await buildSearchIndex(graph, sources, {
1152
+ readDoc: (p) => contents.get(p),
1153
+ ...context === void 0 ? {} : { context }
1154
+ })
1145
1155
  );
1146
1156
  manifest = readManifest(indexDir);
1147
1157
  }
@@ -1445,13 +1455,13 @@ async function askSampleQuestions(store, settings, sources, indexDir, view, ques
1445
1455
  }
1446
1456
  return { findings, summary };
1447
1457
  }
1448
- async function exportSampleQuestions(store, sources, view, questionFiles, configDir) {
1458
+ async function exportSampleQuestions(store, sources, view, questionFiles, configDir, context) {
1449
1459
  const sets = questionFiles.map((label) => ({
1450
1460
  label,
1451
1461
  questions: readQuestionFile(resolve3(configDir, label), label)
1452
1462
  }));
1453
1463
  const graph = GraphIndex.fromQuads(storeToQuads(store), Object.fromEntries(PREFIXES));
1454
- const { pages, pageAt } = await readPages(graph, sources, view, "exported");
1464
+ const { pages, pageAt } = await readPages(graph, sources, view, "exported", context);
1455
1465
  let stale = 0;
1456
1466
  const pinned = (page, file, pin, reviewed) => {
1457
1467
  const fresh = freshness(page.body, pin);
@@ -1505,7 +1515,7 @@ async function exportSampleQuestions(store, sources, view, questionFiles, config
1505
1515
  // src/graph/commands/chunks.ts
1506
1516
  import { execFile } from "node:child_process";
1507
1517
  import { existsSync as existsSync5, mkdirSync, readFileSync as readFileSync5, writeFileSync } from "node:fs";
1508
- import { basename, join as join3, resolve as resolve4 } from "node:path";
1518
+ import { basename, extname, join as join3, resolve as resolve4 } from "node:path";
1509
1519
  import { promisify } from "node:util";
1510
1520
 
1511
1521
  // src/graph/core/emit-jsonld.ts
@@ -1614,9 +1624,10 @@ async function exportChunks(opts) {
1614
1624
  pages.sort((a, b) => byCodeUnit(a.path, b.path));
1615
1625
  const allPaths = new Set(pages.map((p) => p.path));
1616
1626
  const routes = routesFrom(config, sources);
1627
+ const context = parseContexts(config, sources);
1617
1628
  const view = await openMetaView(opts.source, cwd, [...allPaths], sources);
1618
1629
  let models = await withExternalMetadata(
1619
- await Promise.all(pages.map((p) => analyzeDoc(p.content, p.path, allPaths, { routes }))),
1630
+ await Promise.all(pages.map((p) => analyzeDoc(p.content, p.path, allPaths, { routes, context }))),
1620
1631
  view
1621
1632
  );
1622
1633
  const authoring = opts.authoring !== false;
@@ -1643,8 +1654,10 @@ async function exportChunks(opts) {
1643
1654
  }
1644
1655
  const worktree = git.commit === null ? null : git.dirty.size > 0 ? "modified" : "clean";
1645
1656
  const metadataByPage = new Map(models.map((m) => [m.path, m.frontmatter]));
1646
- const pins = authoring ? await pinsByPage(opts, sources, paths, metadataByPage) : /* @__PURE__ */ new Map();
1647
- const dates = await datesByPage(opts, sources, paths, git.commit !== null, authoring ? void 0 : metadataByPage);
1657
+ const metaExtensions = new Set(supportedExtensions());
1658
+ const metaPaths = paths.filter((p) => metaExtensions.has(extname(p).toLowerCase()));
1659
+ const pins = authoring ? await pinsByPage(opts, sources, metaPaths, metadataByPage) : /* @__PURE__ */ new Map();
1660
+ const dates = await datesByPage(opts, sources, metaPaths, git.commit !== null, authoring ? void 0 : metadataByPage);
1648
1661
  const evals = authoring ? readEvals(opts, sources, pages, warnings) : void 0;
1649
1662
  if (opts.evals === void 0) warnings.push("no docevals report is configured, so records carry no eval verdicts.");
1650
1663
  else if (!authoring) warnings.push(CONFIGURED_EVALS_LEFT_OUT);
@@ -1692,7 +1705,7 @@ async function exportChunks(opts) {
1692
1705
  evals: evals?.get(page.path) ?? null,
1693
1706
  statements: blocks.filter((b) => b.start >= start && b.end <= end).map((b) => ({ lines: `${String(b.start)}-${String(b.end)}`, status: b.status, data: b.data }))
1694
1707
  });
1695
- for (const passage of await passagesOf(graph, page, model, bodyLine, language, metadata, bySection)) {
1708
+ for (const passage of await passagesOf(graph, page, model, bodyLine, language, metadata, bySection, context(page.path))) {
1696
1709
  const vector = vectors?.byId.get(passage.id);
1697
1710
  rows.push({
1698
1711
  id: passage.id,
@@ -1767,38 +1780,43 @@ function languageOf(graph, doc) {
1767
1780
  const tag = graph.literal(doc, LANGUAGE2);
1768
1781
  return tag === void 0 ? UNDETERMINED : canonicalLanguageTag(tag);
1769
1782
  }
1770
- async function passagesOf(graph, page, model, bodyLine, language, metadata, bySection) {
1783
+ async function passagesOf(graph, page, model, bodyLine, language, metadata, bySection, context) {
1771
1784
  const out = [];
1772
1785
  const fileLines = page.content.split(/\r?\n/);
1773
1786
  const body = fileLines.slice(bodyLine - 1).join("\n").trimEnd();
1774
- if (body.trim() !== "") {
1787
+ const sections = documentSectionOrder(graph, page.doc);
1788
+ const format = formatOf(page.path, model.format);
1789
+ const tree = isTreeFormat(format) ? await sectionSpans(graph, page.doc, page.path, page.content, sections, context) : void 0;
1790
+ const text = tree?.text ?? body;
1791
+ if (text.trim() !== "") {
1775
1792
  out.push({
1776
1793
  id: page.doc,
1777
1794
  page: page.path,
1778
1795
  start: 1,
1779
1796
  end: body.split("\n").length,
1780
1797
  title: graph.literal(page.doc, TITLE2) ?? page.path,
1781
- text: body,
1798
+ text,
1782
1799
  language,
1783
1800
  metadata
1784
1801
  });
1785
1802
  }
1786
- const sections = documentSectionOrder(graph, page.doc);
1787
1803
  const spans = /* @__PURE__ */ new Map();
1788
- const format = formatOf(page.path, model.format);
1789
- if (isTreeFormat(format)) {
1790
- const own = new Map((await sectionSpans(graph, page.doc, page.path, page.content, sections)).map((s) => [s.iri, s.span]));
1804
+ if (tree !== void 0) {
1805
+ const own = new Map(tree.spans.map((s) => [s.iri, s]));
1791
1806
  const levels = sections.map((iri) => Number.parseInt(graph.literal(iri, LEVEL2) ?? "", 10));
1792
1807
  for (const [i, iri] of sections.entries()) {
1793
1808
  const span = own.get(iri);
1794
1809
  if (span === void 0) continue;
1795
- let end = span.end;
1810
+ let end = span.span.end;
1811
+ const texts = span.text === void 0 ? void 0 : [span.text];
1796
1812
  for (let j = i + 1; j < sections.length; j++) {
1797
1813
  const level = levels[j] ?? Number.NaN;
1798
1814
  if (!(level > (levels[i] ?? Number.NaN))) break;
1799
- end = Math.max(end, own.get(sections[j] ?? "")?.end ?? end);
1815
+ const nested = own.get(sections[j] ?? "");
1816
+ end = Math.max(end, nested?.span.end ?? end);
1817
+ if (nested?.text !== void 0) texts?.push(nested.text);
1800
1818
  }
1801
- spans.set(iri, { start: span.start, end });
1819
+ spans.set(iri, { start: span.span.start, end, ...texts === void 0 ? {} : { text: texts.join("\n\n") } });
1802
1820
  }
1803
1821
  } else {
1804
1822
  const occurrences = sectionOccurrences(graph, page.doc);
@@ -1814,8 +1832,8 @@ async function passagesOf(graph, page, model, bodyLine, language, metadata, bySe
1814
1832
  for (const iri of sections) {
1815
1833
  const span = spans.get(iri);
1816
1834
  if (span === void 0 || span.start < bodyLine) continue;
1817
- const text = fileLines.slice(span.start - 1, span.end).join("\n").trimEnd();
1818
- if (text === "") continue;
1835
+ const text2 = span.text ?? fileLines.slice(span.start - 1, span.end).join("\n").trimEnd();
1836
+ if (text2 === "") continue;
1819
1837
  const chain = [];
1820
1838
  let slug = iri.slice(iri.indexOf("#") + 1);
1821
1839
  const seen = /* @__PURE__ */ new Set();
@@ -1828,9 +1846,9 @@ async function passagesOf(graph, page, model, bodyLine, language, metadata, bySe
1828
1846
  id: iri,
1829
1847
  page: page.path,
1830
1848
  start: span.start - bodyLine + 1,
1831
- end: span.start - bodyLine + text.split("\n").length,
1849
+ end: span.text === void 0 ? span.start - bodyLine + text2.split("\n").length : span.end - bodyLine + 1,
1832
1850
  title: graph.literal(iri, TITLE2) ?? iri,
1833
- text,
1851
+ text: text2,
1834
1852
  language,
1835
1853
  metadata: Object.assign({}, metadata, ...chain)
1836
1854
  });
@@ -2743,4 +2761,4 @@ export {
2743
2761
  shapeText,
2744
2762
  validateGraph
2745
2763
  };
2746
- //# sourceMappingURL=chunk-4X3EH5VC.js.map
2764
+ //# sourceMappingURL=chunk-SYZ75Q5F.js.map