@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.
- package/README.md +1 -1
- package/dist/{batch-4I5S6DXG.js → batch-FXJMZSYY.js} +14 -14
- package/dist/build-5O753VOV.js +37 -0
- package/dist/{calibrate-U4TQAXXD.js → calibrate-RF7YSQMK.js} +15 -15
- package/dist/{capture-ODSHL2XI.js → capture-EKYFKMBB.js} +14 -14
- package/dist/check-4YQUHDAP.js +58 -0
- package/dist/check-CG4UOXP7.js +34 -0
- package/dist/{check-YFLWJUZC.js → check-KI3HYODN.js} +15 -15
- package/dist/check-PWFSARDW.js +31 -0
- package/dist/check-VXTYP4XW.js +58 -0
- package/dist/{chunk-QNXNA2BR.js → chunk-35J3BP37.js} +300 -58
- package/dist/chunk-35J3BP37.js.map +1 -0
- package/dist/{chunk-SIDHDT4X.js → chunk-3G3TETDC.js} +8 -8
- package/dist/{chunk-4X3EH5VC.js → chunk-3VFYCN5N.js} +65 -47
- package/dist/chunk-3VFYCN5N.js.map +1 -0
- package/dist/{chunk-BREAC43H.js → chunk-43VLZO4W.js} +2 -2
- package/dist/{chunk-HJHDYROD.js → chunk-47CLJY6H.js} +4 -4
- package/dist/{chunk-RVATMGUL.js → chunk-4CBACRVT.js} +4 -4
- package/dist/{chunk-UT3CPOGN.js → chunk-4YTYUB77.js} +8 -8
- package/dist/{chunk-QWGAM3T6.js → chunk-5GQ7FF22.js} +3 -3
- package/dist/{chunk-B6YZINES.js → chunk-5UCBYX53.js} +173 -83
- package/dist/chunk-5UCBYX53.js.map +1 -0
- package/dist/{chunk-KHBOMLPS.js → chunk-6RGLJTXE.js} +4 -4
- package/dist/{chunk-KLTGAGB6.js → chunk-74E5D3DP.js} +3 -3
- package/dist/{chunk-UUGTQUKK.js → chunk-7DFAXPO6.js} +64 -11
- package/dist/chunk-7DFAXPO6.js.map +1 -0
- package/dist/{chunk-5KWMVAZZ.js → chunk-7VCMV247.js} +2 -2
- package/dist/{chunk-MC7U5IH4.js → chunk-BCRMMIY5.js} +1 -1
- package/dist/chunk-BCRMMIY5.js.map +1 -0
- package/dist/{chunk-3ZVRGBK6.js → chunk-BTFXOKCP.js} +2 -2
- package/dist/{chunk-4DFLLMIM.js → chunk-C2XLJICN.js} +3 -3
- package/dist/{chunk-JF4BC7ZD.js → chunk-CDX4QK6O.js} +29 -2
- package/dist/chunk-CDX4QK6O.js.map +1 -0
- package/dist/{chunk-PEZP4ZFP.js → chunk-CIGRVU5V.js} +31 -13
- package/dist/chunk-CIGRVU5V.js.map +1 -0
- package/dist/{chunk-K7UVWJJW.js → chunk-CUOJGVVA.js} +15 -7
- package/dist/chunk-CUOJGVVA.js.map +1 -0
- package/dist/{chunk-NTQ73IQL.js → chunk-D7V5MUXP.js} +2 -2
- package/dist/{chunk-NTQ73IQL.js.map → chunk-D7V5MUXP.js.map} +1 -1
- package/dist/{chunk-PX4QZLA2.js → chunk-F4CL337L.js} +3 -3
- package/dist/{chunk-KSDAAJJX.js → chunk-G2SEJDO6.js} +2 -2
- package/dist/{chunk-J7E4XAFG.js → chunk-GEBXLJKQ.js} +32 -22
- package/dist/chunk-GEBXLJKQ.js.map +1 -0
- package/dist/chunk-HMJZHUCJ.js +337 -0
- package/dist/chunk-HMJZHUCJ.js.map +1 -0
- package/dist/{chunk-GXC7SDLO.js → chunk-IHW7N3A6.js} +369 -89
- package/dist/chunk-IHW7N3A6.js.map +1 -0
- package/dist/{chunk-UOZZTK7T.js → chunk-JVWJYB7V.js} +6 -6
- package/dist/{chunk-P6QJPKZ2.js → chunk-K7742NWM.js} +31 -26
- package/dist/chunk-K7742NWM.js.map +1 -0
- package/dist/{chunk-PJ5YJS6L.js → chunk-KPXZZD66.js} +2 -2
- package/dist/{chunk-KLRTOQN4.js → chunk-KQ66NYWY.js} +13 -7
- package/dist/chunk-KQ66NYWY.js.map +1 -0
- package/dist/{chunk-GM5LWEDF.js → chunk-L7QHAAZC.js} +56 -27
- package/dist/chunk-L7QHAAZC.js.map +1 -0
- package/dist/{chunk-BAJ23I2H.js → chunk-LEGD33WJ.js} +14 -7
- package/dist/chunk-LEGD33WJ.js.map +1 -0
- package/dist/{chunk-Z2JBWLRF.js → chunk-M2XDU7QB.js} +9 -9
- package/dist/{chunk-H4JXCWLM.js → chunk-MHVS4LTZ.js} +7 -7
- package/dist/{chunk-7ODOTGU4.js → chunk-MRQTMVJZ.js} +3 -3
- package/dist/{chunk-RV2BYDJK.js → chunk-MZMVTI6Y.js} +24 -14
- package/dist/chunk-MZMVTI6Y.js.map +1 -0
- package/dist/{chunk-MMVT3ZP3.js → chunk-NFQH77XJ.js} +5 -5
- package/dist/{chunk-SHYEKYV4.js → chunk-OBZY2ZLQ.js} +2 -2
- package/dist/{chunk-TI4DA6DF.js → chunk-OPF3NOKF.js} +1 -1
- package/dist/chunk-OPF3NOKF.js.map +1 -0
- package/dist/{chunk-QFEEUI2Z.js → chunk-OVIWWR5N.js} +4 -4
- package/dist/{chunk-THFV3YVO.js → chunk-P3OV32LW.js} +4 -4
- package/dist/{chunk-NZ7RO6ZD.js → chunk-P4HSBQHG.js} +3 -3
- package/dist/{chunk-VNR7BQBZ.js → chunk-P6JCXNMG.js} +52 -4
- package/dist/chunk-P6JCXNMG.js.map +1 -0
- package/dist/{chunk-JDQFU2U6.js → chunk-QXSPGFT3.js} +9 -9
- package/dist/{chunk-BPVO3OED.js → chunk-RCP5V6KE.js} +6 -6
- package/dist/{chunk-P7MGBTY3.js → chunk-RHR64UXW.js} +3 -3
- package/dist/{chunk-A43A335C.js → chunk-RWGHG66G.js} +3 -3
- package/dist/{chunk-HAZQCHO5.js → chunk-S4ADL7Y4.js} +3 -3
- package/dist/{chunk-DPQAF2VR.js → chunk-SDUVH4J2.js} +2 -2
- package/dist/{chunk-LSH6HPKB.js → chunk-SJS6Z7JV.js} +4 -4
- package/dist/{chunk-K4X6GJKG.js → chunk-SJUEUKJD.js} +3 -3
- package/dist/{chunk-YG4GZXSA.js → chunk-TO6N7QVO.js} +2 -2
- package/dist/{chunk-OKLRZM2N.js → chunk-TXIZMTCQ.js} +5 -5
- package/dist/{chunk-LHFO4HF7.js → chunk-UGQPOFLW.js} +7 -7
- package/dist/{chunk-SJI7C7FY.js → chunk-VCJ6ZJDW.js} +14 -14
- package/dist/{chunk-EXCYL3S7.js → chunk-VH3X7GHC.js} +2 -2
- package/dist/{chunk-VDEE7AUI.js → chunk-VKIIG6DZ.js} +2 -2
- package/dist/{chunk-LURF4MTH.js → chunk-VPNKSEQU.js} +3 -3
- package/dist/{chunk-PWLUQLFH.js → chunk-W4RCGOLJ.js} +7 -7
- package/dist/{chunk-GCJPYCOV.js → chunk-WOCG36UV.js} +4 -4
- package/dist/{chunk-ZR33AQFW.js → chunk-XK3T6MKU.js} +10 -8
- package/dist/chunk-XK3T6MKU.js.map +1 -0
- package/dist/{chunk-A6LHTTNO.js → chunk-XOKLYJJT.js} +21 -12
- package/dist/chunk-XOKLYJJT.js.map +1 -0
- package/dist/{chunk-M6RB342K.js → chunk-YTW7A62V.js} +2 -2
- package/dist/{chunk-4IM6A2WK.js → chunk-YWJ453BG.js} +6 -6
- package/dist/{chunk-RZ65VMRW.js → chunk-ZBN2HEC2.js} +10 -10
- package/dist/{chunk-DGN4VVFG.js → chunk-ZMEDAKMB.js} +3 -3
- package/dist/{chunk-NXP3DG4L.js → chunk-ZMGME5NG.js} +4 -4
- package/dist/{chunk-XD4Z26HJ.js → chunk-ZMWQZF3F.js} +3 -3
- package/dist/{chunk-G5I2JTDK.js → chunk-ZWVYT2G6.js} +2 -2
- package/dist/{chunk-D4BGNAN5.js → chunk-ZZGHTXZ2.js} +159 -23
- package/dist/chunk-ZZGHTXZ2.js.map +1 -0
- package/dist/{cli-XM4F6ZC7.js → cli-545YXHOS.js} +26 -25
- package/dist/{cli-XM4F6ZC7.js.map → cli-545YXHOS.js.map} +1 -1
- package/dist/{cli-DKRISKSR.js → cli-6EPISRJR.js} +21 -21
- package/dist/{cli-WWNQFDMK.js → cli-6LJS32R2.js} +3 -3
- package/dist/{cli-RO4TNFXJ.js → cli-6N2VRKCW.js} +16 -15
- package/dist/{cli-RO4TNFXJ.js.map → cli-6N2VRKCW.js.map} +1 -1
- package/dist/{cli-SDW7JOTO.js → cli-6SDS7T2Q.js} +56 -55
- package/dist/{cli-SDW7JOTO.js.map → cli-6SDS7T2Q.js.map} +1 -1
- package/dist/{cli-3VAVQYQT.js → cli-DCGA5IQ4.js} +24 -42
- package/dist/cli-DCGA5IQ4.js.map +1 -0
- package/dist/{cli-AR6TOW7M.js → cli-E6JIYSKY.js} +20 -19
- package/dist/{cli-AR6TOW7M.js.map → cli-E6JIYSKY.js.map} +1 -1
- package/dist/{cli-CFDGH5HD.js → cli-K4SDAECI.js} +30 -29
- package/dist/{cli-CFDGH5HD.js.map → cli-K4SDAECI.js.map} +1 -1
- package/dist/{cli-6DOYYCTT.js → cli-KINREG4W.js} +29 -28
- package/dist/{cli-6DOYYCTT.js.map → cli-KINREG4W.js.map} +1 -1
- package/dist/{cli-7IPP6ZTQ.js → cli-XUWY3QTT.js} +37 -36
- package/dist/{cli-7IPP6ZTQ.js.map → cli-XUWY3QTT.js.map} +1 -1
- package/dist/{cli-C2OATF3N.js → cli-ZTYRATHT.js} +8 -8
- package/dist/cli.js +15 -15
- package/dist/{config-2YJPJ36T.js → config-Z3FYLJ6X.js} +3 -3
- package/dist/docmeta.js +7 -7
- package/dist/github-GW6UZTRR.js +29 -0
- package/dist/{github-GU23WNCU.js → github-IT66VVCM.js} +15 -14
- package/dist/github-UJTQPG6S.js +49 -0
- package/dist/index.d.ts +165 -6
- package/dist/index.js +55 -54
- package/dist/index.js.map +1 -1
- package/dist/{json-P4EDSVIC.js → json-KKNQHTAA.js} +13 -12
- package/dist/{json-YIZON5LE.js → json-X4XGVPXV.js} +16 -15
- package/dist/{labels-6RROJOYQ.js → labels-7UD5VT2S.js} +12 -11
- package/dist/{labels-6RROJOYQ.js.map → labels-7UD5VT2S.js.map} +1 -1
- package/dist/lint-L7QTMCCV.js +33 -0
- package/dist/list-R34MHZWK.js +31 -0
- package/dist/list-S6LJENZ3.js +49 -0
- package/dist/{list-UARFGS7C.js → list-URXKGZ5I.js} +15 -14
- package/dist/{page-JADAILE3.js → page-2H44PTPE.js} +10 -10
- package/dist/{prepare-B24HTUCX.js → prepare-ND2INKAJ.js} +13 -13
- package/dist/{pretty-XAMSAKAR.js → pretty-54GDW63J.js} +15 -14
- package/dist/{pretty-NHNYY7CP.js → pretty-BW6SLRBO.js} +25 -24
- package/dist/{pretty-5V3PWJ6L.js → pretty-ZVAM3XV6.js} +13 -12
- package/dist/{reporters-HTJKW7NG.js → reporters-6P74QNVX.js} +5 -5
- package/dist/{reporters-ULSSBAAG.js → reporters-LON6K3EN.js} +12 -12
- package/dist/run-KLO35LDY.js +52 -0
- package/dist/{sarif-LBODGUNE.js → sarif-2HOXOFAZ.js} +9 -9
- package/dist/sarif-DM5XJGBX.js +50 -0
- package/dist/{sarif-SOA76ESJ.js → sarif-WXGSULXG.js} +11 -11
- package/dist/{strategy-XI7QTY7T.js → strategy-FOZDCVLS.js} +22 -21
- package/dist/{term-UIBQBGMR.js → term-CAPJSZ6V.js} +19 -18
- package/dist/{term-UIBQBGMR.js.map → term-CAPJSZ6V.js.map} +1 -1
- package/dist/{validate-X257AMWS.js → validate-LSB6TBY6.js} +5 -5
- package/package.json +1 -1
- package/plugin/manni/.claude-plugin/plugin.json +1 -1
- package/plugin/manni/hooks/page-metadata.mjs +1 -1
- package/dist/build-OPWHXPXE.js +0 -36
- package/dist/check-4VOOUC5E.js +0 -33
- package/dist/check-M3ORYGTW.js +0 -57
- package/dist/check-QJ35SM3K.js +0 -57
- package/dist/check-UXS5LVFJ.js +0 -30
- package/dist/chunk-4X3EH5VC.js.map +0 -1
- package/dist/chunk-A6LHTTNO.js.map +0 -1
- package/dist/chunk-B6YZINES.js.map +0 -1
- package/dist/chunk-BAJ23I2H.js.map +0 -1
- package/dist/chunk-D4BGNAN5.js.map +0 -1
- package/dist/chunk-GM5LWEDF.js.map +0 -1
- package/dist/chunk-GXC7SDLO.js.map +0 -1
- package/dist/chunk-J7E4XAFG.js.map +0 -1
- package/dist/chunk-JF4BC7ZD.js.map +0 -1
- package/dist/chunk-K7UVWJJW.js.map +0 -1
- package/dist/chunk-KLRTOQN4.js.map +0 -1
- package/dist/chunk-MC7U5IH4.js.map +0 -1
- package/dist/chunk-P6QJPKZ2.js.map +0 -1
- package/dist/chunk-PEZP4ZFP.js.map +0 -1
- package/dist/chunk-QNXNA2BR.js.map +0 -1
- package/dist/chunk-RV2BYDJK.js.map +0 -1
- package/dist/chunk-TI4DA6DF.js.map +0 -1
- package/dist/chunk-UUGTQUKK.js.map +0 -1
- package/dist/chunk-VNR7BQBZ.js.map +0 -1
- package/dist/chunk-ZR33AQFW.js.map +0 -1
- package/dist/cli-3VAVQYQT.js.map +0 -1
- package/dist/github-RPHQGICU.js +0 -48
- package/dist/github-VKUOQE77.js +0 -28
- package/dist/lint-VXM7UKPY.js +0 -32
- package/dist/list-2Y7AM5BW.js +0 -30
- package/dist/list-ILJJM7EL.js +0 -48
- package/dist/run-EVPJ7SDL.js +0 -51
- package/dist/sarif-3PHFVX7D.js +0 -49
- /package/dist/{batch-4I5S6DXG.js.map → batch-FXJMZSYY.js.map} +0 -0
- /package/dist/{build-OPWHXPXE.js.map → build-5O753VOV.js.map} +0 -0
- /package/dist/{calibrate-U4TQAXXD.js.map → calibrate-RF7YSQMK.js.map} +0 -0
- /package/dist/{capture-ODSHL2XI.js.map → capture-EKYFKMBB.js.map} +0 -0
- /package/dist/{check-4VOOUC5E.js.map → check-4YQUHDAP.js.map} +0 -0
- /package/dist/{check-M3ORYGTW.js.map → check-CG4UOXP7.js.map} +0 -0
- /package/dist/{check-YFLWJUZC.js.map → check-KI3HYODN.js.map} +0 -0
- /package/dist/{check-QJ35SM3K.js.map → check-PWFSARDW.js.map} +0 -0
- /package/dist/{check-UXS5LVFJ.js.map → check-VXTYP4XW.js.map} +0 -0
- /package/dist/{chunk-SIDHDT4X.js.map → chunk-3G3TETDC.js.map} +0 -0
- /package/dist/{chunk-BREAC43H.js.map → chunk-43VLZO4W.js.map} +0 -0
- /package/dist/{chunk-HJHDYROD.js.map → chunk-47CLJY6H.js.map} +0 -0
- /package/dist/{chunk-RVATMGUL.js.map → chunk-4CBACRVT.js.map} +0 -0
- /package/dist/{chunk-UT3CPOGN.js.map → chunk-4YTYUB77.js.map} +0 -0
- /package/dist/{chunk-QWGAM3T6.js.map → chunk-5GQ7FF22.js.map} +0 -0
- /package/dist/{chunk-KHBOMLPS.js.map → chunk-6RGLJTXE.js.map} +0 -0
- /package/dist/{chunk-KLTGAGB6.js.map → chunk-74E5D3DP.js.map} +0 -0
- /package/dist/{chunk-5KWMVAZZ.js.map → chunk-7VCMV247.js.map} +0 -0
- /package/dist/{chunk-3ZVRGBK6.js.map → chunk-BTFXOKCP.js.map} +0 -0
- /package/dist/{chunk-4DFLLMIM.js.map → chunk-C2XLJICN.js.map} +0 -0
- /package/dist/{chunk-PX4QZLA2.js.map → chunk-F4CL337L.js.map} +0 -0
- /package/dist/{chunk-KSDAAJJX.js.map → chunk-G2SEJDO6.js.map} +0 -0
- /package/dist/{chunk-UOZZTK7T.js.map → chunk-JVWJYB7V.js.map} +0 -0
- /package/dist/{chunk-PJ5YJS6L.js.map → chunk-KPXZZD66.js.map} +0 -0
- /package/dist/{chunk-Z2JBWLRF.js.map → chunk-M2XDU7QB.js.map} +0 -0
- /package/dist/{chunk-H4JXCWLM.js.map → chunk-MHVS4LTZ.js.map} +0 -0
- /package/dist/{chunk-7ODOTGU4.js.map → chunk-MRQTMVJZ.js.map} +0 -0
- /package/dist/{chunk-MMVT3ZP3.js.map → chunk-NFQH77XJ.js.map} +0 -0
- /package/dist/{chunk-SHYEKYV4.js.map → chunk-OBZY2ZLQ.js.map} +0 -0
- /package/dist/{chunk-QFEEUI2Z.js.map → chunk-OVIWWR5N.js.map} +0 -0
- /package/dist/{chunk-THFV3YVO.js.map → chunk-P3OV32LW.js.map} +0 -0
- /package/dist/{chunk-NZ7RO6ZD.js.map → chunk-P4HSBQHG.js.map} +0 -0
- /package/dist/{chunk-JDQFU2U6.js.map → chunk-QXSPGFT3.js.map} +0 -0
- /package/dist/{chunk-BPVO3OED.js.map → chunk-RCP5V6KE.js.map} +0 -0
- /package/dist/{chunk-P7MGBTY3.js.map → chunk-RHR64UXW.js.map} +0 -0
- /package/dist/{chunk-A43A335C.js.map → chunk-RWGHG66G.js.map} +0 -0
- /package/dist/{chunk-HAZQCHO5.js.map → chunk-S4ADL7Y4.js.map} +0 -0
- /package/dist/{chunk-DPQAF2VR.js.map → chunk-SDUVH4J2.js.map} +0 -0
- /package/dist/{chunk-LSH6HPKB.js.map → chunk-SJS6Z7JV.js.map} +0 -0
- /package/dist/{chunk-K4X6GJKG.js.map → chunk-SJUEUKJD.js.map} +0 -0
- /package/dist/{chunk-YG4GZXSA.js.map → chunk-TO6N7QVO.js.map} +0 -0
- /package/dist/{chunk-OKLRZM2N.js.map → chunk-TXIZMTCQ.js.map} +0 -0
- /package/dist/{chunk-LHFO4HF7.js.map → chunk-UGQPOFLW.js.map} +0 -0
- /package/dist/{chunk-SJI7C7FY.js.map → chunk-VCJ6ZJDW.js.map} +0 -0
- /package/dist/{chunk-EXCYL3S7.js.map → chunk-VH3X7GHC.js.map} +0 -0
- /package/dist/{chunk-VDEE7AUI.js.map → chunk-VKIIG6DZ.js.map} +0 -0
- /package/dist/{chunk-LURF4MTH.js.map → chunk-VPNKSEQU.js.map} +0 -0
- /package/dist/{chunk-PWLUQLFH.js.map → chunk-W4RCGOLJ.js.map} +0 -0
- /package/dist/{chunk-GCJPYCOV.js.map → chunk-WOCG36UV.js.map} +0 -0
- /package/dist/{chunk-M6RB342K.js.map → chunk-YTW7A62V.js.map} +0 -0
- /package/dist/{chunk-4IM6A2WK.js.map → chunk-YWJ453BG.js.map} +0 -0
- /package/dist/{chunk-RZ65VMRW.js.map → chunk-ZBN2HEC2.js.map} +0 -0
- /package/dist/{chunk-DGN4VVFG.js.map → chunk-ZMEDAKMB.js.map} +0 -0
- /package/dist/{chunk-NXP3DG4L.js.map → chunk-ZMGME5NG.js.map} +0 -0
- /package/dist/{chunk-XD4Z26HJ.js.map → chunk-ZMWQZF3F.js.map} +0 -0
- /package/dist/{chunk-G5I2JTDK.js.map → chunk-ZWVYT2G6.js.map} +0 -0
- /package/dist/{cli-DKRISKSR.js.map → cli-6EPISRJR.js.map} +0 -0
- /package/dist/{cli-WWNQFDMK.js.map → cli-6LJS32R2.js.map} +0 -0
- /package/dist/{cli-C2OATF3N.js.map → cli-ZTYRATHT.js.map} +0 -0
- /package/dist/{config-2YJPJ36T.js.map → config-Z3FYLJ6X.js.map} +0 -0
- /package/dist/{github-GU23WNCU.js.map → github-GW6UZTRR.js.map} +0 -0
- /package/dist/{github-RPHQGICU.js.map → github-IT66VVCM.js.map} +0 -0
- /package/dist/{github-VKUOQE77.js.map → github-UJTQPG6S.js.map} +0 -0
- /package/dist/{json-P4EDSVIC.js.map → json-KKNQHTAA.js.map} +0 -0
- /package/dist/{json-YIZON5LE.js.map → json-X4XGVPXV.js.map} +0 -0
- /package/dist/{lint-VXM7UKPY.js.map → lint-L7QTMCCV.js.map} +0 -0
- /package/dist/{list-2Y7AM5BW.js.map → list-R34MHZWK.js.map} +0 -0
- /package/dist/{list-ILJJM7EL.js.map → list-S6LJENZ3.js.map} +0 -0
- /package/dist/{list-UARFGS7C.js.map → list-URXKGZ5I.js.map} +0 -0
- /package/dist/{page-JADAILE3.js.map → page-2H44PTPE.js.map} +0 -0
- /package/dist/{prepare-B24HTUCX.js.map → prepare-ND2INKAJ.js.map} +0 -0
- /package/dist/{pretty-5V3PWJ6L.js.map → pretty-54GDW63J.js.map} +0 -0
- /package/dist/{pretty-NHNYY7CP.js.map → pretty-BW6SLRBO.js.map} +0 -0
- /package/dist/{pretty-XAMSAKAR.js.map → pretty-ZVAM3XV6.js.map} +0 -0
- /package/dist/{reporters-HTJKW7NG.js.map → reporters-6P74QNVX.js.map} +0 -0
- /package/dist/{reporters-ULSSBAAG.js.map → reporters-LON6K3EN.js.map} +0 -0
- /package/dist/{run-EVPJ7SDL.js.map → run-KLO35LDY.js.map} +0 -0
- /package/dist/{sarif-3PHFVX7D.js.map → sarif-2HOXOFAZ.js.map} +0 -0
- /package/dist/{sarif-LBODGUNE.js.map → sarif-DM5XJGBX.js.map} +0 -0
- /package/dist/{sarif-SOA76ESJ.js.map → sarif-WXGSULXG.js.map} +0 -0
- /package/dist/{strategy-XI7QTY7T.js.map → strategy-FOZDCVLS.js.map} +0 -0
- /package/dist/{validate-X257AMWS.js.map → validate-LSB6TBY6.js.map} +0 -0
|
@@ -2,24 +2,24 @@
|
|
|
2
2
|
import {
|
|
3
3
|
SiteError,
|
|
4
4
|
resolveAnnotateSite
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZZGHTXZ2.js";
|
|
6
6
|
import {
|
|
7
7
|
parseChunkRows,
|
|
8
8
|
parseChunksManifest,
|
|
9
9
|
range
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZMWQZF3F.js";
|
|
11
11
|
import {
|
|
12
12
|
documentBase,
|
|
13
13
|
formatOf,
|
|
14
14
|
loadRunConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-L7QHAAZC.js";
|
|
16
16
|
import {
|
|
17
17
|
bodyLineOf
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RHR64UXW.js";
|
|
19
19
|
import {
|
|
20
20
|
integrityOf,
|
|
21
21
|
locateFrontmatter
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-IHW7N3A6.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-
|
|
580
|
+
//# sourceMappingURL=chunk-RCP5V6KE.js.map
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
supportedExtensions,
|
|
70
70
|
toJsonText,
|
|
71
71
|
writeFileAtomic
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-IHW7N3A6.js";
|
|
73
73
|
import {
|
|
74
74
|
STDIN_LINES_MARKER
|
|
75
75
|
} from "./chunk-YEUYKR62.js";
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
pageManifestPath,
|
|
95
95
|
parseCollections,
|
|
96
96
|
sameFile
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-CDX4QK6O.js";
|
|
98
98
|
import {
|
|
99
99
|
ToolError,
|
|
100
100
|
errorMessage
|
|
@@ -9086,4 +9086,4 @@ export {
|
|
|
9086
9086
|
reportConfig,
|
|
9087
9087
|
runValidate
|
|
9088
9088
|
};
|
|
9089
|
-
//# sourceMappingURL=chunk-
|
|
9089
|
+
//# sourceMappingURL=chunk-RHR64UXW.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
displayPath
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5UCBYX53.js";
|
|
5
5
|
import {
|
|
6
6
|
TERM_FIELDS
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BCRMMIY5.js";
|
|
8
8
|
|
|
9
9
|
// src/term/reporters/json.ts
|
|
10
10
|
function termEntry(term) {
|
|
@@ -55,4 +55,4 @@ export {
|
|
|
55
55
|
renderFindingsJson,
|
|
56
56
|
renderFormatsJson
|
|
57
57
|
};
|
|
58
|
-
//# sourceMappingURL=chunk-
|
|
58
|
+
//# sourceMappingURL=chunk-RWGHG66G.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
checkStrategySet,
|
|
6
6
|
displayPath,
|
|
7
7
|
loadStrategy
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MHVS4LTZ.js";
|
|
9
9
|
import {
|
|
10
10
|
RULE_ID_PREFIX
|
|
11
11
|
} from "./chunk-BXQLKOOR.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
isErrorSeverity,
|
|
14
14
|
resolveBaselineRequest,
|
|
15
15
|
settleBaseline
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IHW7N3A6.js";
|
|
17
17
|
|
|
18
18
|
// src/strategy/commands/check.ts
|
|
19
19
|
import { existsSync } from "node:fs";
|
|
@@ -130,4 +130,4 @@ export {
|
|
|
130
130
|
JUNIT_CLASSNAME,
|
|
131
131
|
runCheck
|
|
132
132
|
};
|
|
133
|
-
//# sourceMappingURL=chunk-
|
|
133
|
+
//# sourceMappingURL=chunk-S4ADL7Y4.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
displayPath
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MHVS4LTZ.js";
|
|
5
5
|
import {
|
|
6
6
|
escapeWorkflowCommandMessage,
|
|
7
7
|
escapeWorkflowCommandProperty,
|
|
@@ -22,4 +22,4 @@ function renderFindingsGithub(report) {
|
|
|
22
22
|
export {
|
|
23
23
|
renderFindingsGithub
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-SDUVH4J2.js.map
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
RULE_ID_PREFIX,
|
|
4
4
|
guidanceFor,
|
|
5
5
|
isTermRule
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-43VLZO4W.js";
|
|
7
7
|
import {
|
|
8
8
|
TERM_FIELDS
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BCRMMIY5.js";
|
|
10
10
|
import {
|
|
11
11
|
renderSarif
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4CBACRVT.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-
|
|
76
|
+
//# sourceMappingURL=chunk-SJS6Z7JV.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
entriesOf
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-74E5D3DP.js";
|
|
5
5
|
import {
|
|
6
6
|
StrategyError,
|
|
7
7
|
indexSet,
|
|
8
8
|
loadStrategy,
|
|
9
9
|
plural
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MHVS4LTZ.js";
|
|
11
11
|
import {
|
|
12
12
|
closestName
|
|
13
13
|
} from "./chunk-XTKJNRJ6.js";
|
|
@@ -35,4 +35,4 @@ export {
|
|
|
35
35
|
runGet,
|
|
36
36
|
unknownRecordMessage
|
|
37
37
|
};
|
|
38
|
-
//# sourceMappingURL=chunk-
|
|
38
|
+
//# sourceMappingURL=chunk-SJUEUKJD.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
displayPath
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5UCBYX53.js";
|
|
5
5
|
import {
|
|
6
6
|
escapeWorkflowCommandMessage,
|
|
7
7
|
escapeWorkflowCommandProperty,
|
|
@@ -22,4 +22,4 @@ function renderFindingsGithub(report) {
|
|
|
22
22
|
export {
|
|
23
23
|
renderFindingsGithub
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-TO6N7QVO.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
findingMessage
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MRQTMVJZ.js";
|
|
5
5
|
import {
|
|
6
6
|
errorSite
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-P3OV32LW.js";
|
|
8
8
|
import {
|
|
9
9
|
RULE_ID_PREFIX,
|
|
10
10
|
guidanceFor,
|
|
11
11
|
isCiteRule
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NFQH77XJ.js";
|
|
13
13
|
import {
|
|
14
14
|
renderSarif
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4CBACRVT.js";
|
|
16
16
|
import {
|
|
17
17
|
guidanceLines
|
|
18
18
|
} from "./chunk-QK6VYJHV.js";
|
|
@@ -79,4 +79,4 @@ export {
|
|
|
79
79
|
withFindingMessages,
|
|
80
80
|
renderCheckSarif
|
|
81
81
|
};
|
|
82
|
-
//# sourceMappingURL=chunk-
|
|
82
|
+
//# sourceMappingURL=chunk-TXIZMTCQ.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
valueAt,
|
|
18
18
|
valueText,
|
|
19
19
|
withRemedy
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-P3OV32LW.js";
|
|
21
21
|
import {
|
|
22
22
|
CITE_RULES,
|
|
23
23
|
CiteError,
|
|
@@ -34,12 +34,12 @@ import {
|
|
|
34
34
|
sliceLines,
|
|
35
35
|
sourceRange,
|
|
36
36
|
spellSource
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-NFQH77XJ.js";
|
|
38
38
|
import {
|
|
39
39
|
impactOf,
|
|
40
40
|
loadServing,
|
|
41
41
|
servesSentence
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-VCJ6ZJDW.js";
|
|
43
43
|
import {
|
|
44
44
|
ANY_FENCE,
|
|
45
45
|
MAX_RANGE_LINES,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
spellLines,
|
|
67
67
|
splitLines,
|
|
68
68
|
toBodyLines
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-RHR64UXW.js";
|
|
70
70
|
import {
|
|
71
71
|
STDIN_LABEL,
|
|
72
72
|
STDIN_TOKEN,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
resolveTargetSet,
|
|
81
81
|
settleBaseline,
|
|
82
82
|
supportedExtensions
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-IHW7N3A6.js";
|
|
84
84
|
import {
|
|
85
85
|
SEVERITIES
|
|
86
86
|
} from "./chunk-77AINBYM.js";
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
pageManifestPath,
|
|
95
95
|
readConfigFile,
|
|
96
96
|
selectCollections
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-CDX4QK6O.js";
|
|
98
98
|
import {
|
|
99
99
|
warn
|
|
100
100
|
} from "./chunk-HX44GB4Z.js";
|
|
@@ -2027,4 +2027,4 @@ export {
|
|
|
2027
2027
|
sayNotices,
|
|
2028
2028
|
runCheck
|
|
2029
2029
|
};
|
|
2030
|
-
//# sourceMappingURL=chunk-
|
|
2030
|
+
//# sourceMappingURL=chunk-UGQPOFLW.js.map
|
|
@@ -2,51 +2,51 @@
|
|
|
2
2
|
import {
|
|
3
3
|
GET_FORMATS,
|
|
4
4
|
runGet
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SJUEUKJD.js";
|
|
6
6
|
import {
|
|
7
7
|
FINDING_FORMATS,
|
|
8
8
|
JUNIT_CLASSNAME,
|
|
9
9
|
runCheck
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-S4ADL7Y4.js";
|
|
11
11
|
import {
|
|
12
12
|
LIST_FORMATS,
|
|
13
13
|
runList
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-74E5D3DP.js";
|
|
15
15
|
import {
|
|
16
16
|
renderFindingsGithub
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-SDUVH4J2.js";
|
|
18
18
|
import {
|
|
19
19
|
renderFindingsJson,
|
|
20
20
|
renderGetJson,
|
|
21
21
|
renderListJson
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ZMEDAKMB.js";
|
|
23
23
|
import {
|
|
24
24
|
renderFindingsPretty,
|
|
25
25
|
renderGetPretty,
|
|
26
26
|
renderListPretty
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-F4CL337L.js";
|
|
28
28
|
import {
|
|
29
29
|
formatChoice,
|
|
30
30
|
indexSet,
|
|
31
31
|
loadStrategy,
|
|
32
32
|
resolveStrategyRun
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-MHVS4LTZ.js";
|
|
34
34
|
import {
|
|
35
35
|
FIELD_LABEL,
|
|
36
36
|
renderFindingsSarif
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-VKIIG6DZ.js";
|
|
38
38
|
import {
|
|
39
39
|
OMITTED_WHEN_CLEAN,
|
|
40
40
|
renderJunit
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-4CBACRVT.js";
|
|
42
42
|
import {
|
|
43
43
|
readStdin,
|
|
44
44
|
splitList,
|
|
45
45
|
withInputs
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-RHR64UXW.js";
|
|
47
47
|
import {
|
|
48
48
|
STDIN_TOKEN
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-IHW7N3A6.js";
|
|
50
50
|
import {
|
|
51
51
|
shouldColor
|
|
52
52
|
} from "./chunk-RNVYGWIC.js";
|
|
@@ -56,13 +56,13 @@ import {
|
|
|
56
56
|
import {
|
|
57
57
|
hasPagePlaceholder,
|
|
58
58
|
pageManifestPath
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-CDX4QK6O.js";
|
|
60
60
|
import {
|
|
61
61
|
notice
|
|
62
62
|
} from "./chunk-HX44GB4Z.js";
|
|
63
63
|
import {
|
|
64
64
|
package_default
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-D7V5MUXP.js";
|
|
66
66
|
|
|
67
67
|
// src/strategy/cli.ts
|
|
68
68
|
import { Command } from "commander";
|
|
@@ -308,4 +308,4 @@ export {
|
|
|
308
308
|
impactLines,
|
|
309
309
|
impactNotice
|
|
310
310
|
};
|
|
311
|
-
//# sourceMappingURL=chunk-
|
|
311
|
+
//# sourceMappingURL=chunk-VCJ6ZJDW.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
byCodeUnit
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-L7QHAAZC.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-
|
|
100
|
+
//# sourceMappingURL=chunk-VH3X7GHC.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-BXQLKOOR.js";
|
|
7
7
|
import {
|
|
8
8
|
renderSarif
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4CBACRVT.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-
|
|
50
|
+
//# sourceMappingURL=chunk-VKIIG6DZ.js.map
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
renderCalibration,
|
|
4
4
|
resolveBatchTraces,
|
|
5
5
|
runBatch
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZBN2HEC2.js";
|
|
7
7
|
import {
|
|
8
8
|
discoverConfig,
|
|
9
9
|
labelKey,
|
|
10
10
|
loadLabels
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BTFXOKCP.js";
|
|
12
12
|
import {
|
|
13
13
|
assertProviderSelection,
|
|
14
14
|
selectProvider
|
|
@@ -378,4 +378,4 @@ export {
|
|
|
378
378
|
score,
|
|
379
379
|
runCalibrate
|
|
380
380
|
};
|
|
381
|
-
//# sourceMappingURL=chunk-
|
|
381
|
+
//# sourceMappingURL=chunk-VPNKSEQU.js.map
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
loadGraderPlugins,
|
|
7
7
|
parseNewerThan,
|
|
8
8
|
urlManifestRefusal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZBN2HEC2.js";
|
|
10
10
|
import {
|
|
11
11
|
discoverArtifacts
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-C2XLJICN.js";
|
|
13
13
|
import {
|
|
14
14
|
discoverTraces
|
|
15
15
|
} from "./chunk-4TSWU2SU.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-TT5UDTDM.js";
|
|
19
19
|
import {
|
|
20
20
|
discoverConfig
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BTFXOKCP.js";
|
|
22
22
|
import {
|
|
23
23
|
assertProviderSelection,
|
|
24
24
|
constructProvider,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
externalWriteWarnings,
|
|
36
36
|
mergeMetaProvenance,
|
|
37
37
|
offerExternalHomes
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-KQ66NYWY.js";
|
|
39
39
|
import {
|
|
40
40
|
keyHome,
|
|
41
41
|
marksValidator,
|
|
@@ -43,12 +43,12 @@ import {
|
|
|
43
43
|
readManifestOrEmpty,
|
|
44
44
|
readManifestValue,
|
|
45
45
|
spliceManifestValue
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-RHR64UXW.js";
|
|
47
47
|
import {
|
|
48
48
|
DocmetaError,
|
|
49
49
|
extractFrontmatter,
|
|
50
50
|
writeFileAtomic
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-IHW7N3A6.js";
|
|
52
52
|
import {
|
|
53
53
|
SEVERITIES
|
|
54
54
|
} from "./chunk-77AINBYM.js";
|
|
@@ -1193,4 +1193,4 @@ export {
|
|
|
1193
1193
|
runFill,
|
|
1194
1194
|
renderFill
|
|
1195
1195
|
};
|
|
1196
|
-
//# sourceMappingURL=chunk-
|
|
1196
|
+
//# sourceMappingURL=chunk-W4RCGOLJ.js.map
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
GraphError,
|
|
4
4
|
STDIN_PATH
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-L7QHAAZC.js";
|
|
6
6
|
import {
|
|
7
7
|
metaPageView
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-P6JCXNMG.js";
|
|
9
9
|
import {
|
|
10
10
|
parseLines
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-RHR64UXW.js";
|
|
12
12
|
import {
|
|
13
13
|
errorMessage
|
|
14
14
|
} from "./chunk-G3T47CFV.js";
|
|
@@ -336,4 +336,4 @@ export {
|
|
|
336
336
|
mergePage,
|
|
337
337
|
withExternalMetadata
|
|
338
338
|
};
|
|
339
|
-
//# sourceMappingURL=chunk-
|
|
339
|
+
//# sourceMappingURL=chunk-WOCG36UV.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
renderQuestionSummary,
|
|
19
19
|
storeToQuads,
|
|
20
20
|
validateGraph
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3VFYCN5N.js";
|
|
22
22
|
import {
|
|
23
23
|
GraphIndex,
|
|
24
24
|
IMPACT_DEPTH,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
parseChunksManifest,
|
|
30
30
|
retrieve,
|
|
31
31
|
walkPassages
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ZMWQZF3F.js";
|
|
33
33
|
import {
|
|
34
34
|
URI_BASE_ID,
|
|
35
35
|
artifactLocation,
|
|
@@ -40,11 +40,12 @@ import {
|
|
|
40
40
|
GraphError,
|
|
41
41
|
PREFIXES,
|
|
42
42
|
documentBase,
|
|
43
|
-
loadRunConfig
|
|
44
|
-
|
|
43
|
+
loadRunConfig,
|
|
44
|
+
parseContexts
|
|
45
|
+
} from "./chunk-L7QHAAZC.js";
|
|
45
46
|
import {
|
|
46
47
|
integrityOf
|
|
47
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-IHW7N3A6.js";
|
|
48
49
|
import {
|
|
49
50
|
escapeWorkflowCommandMessage,
|
|
50
51
|
escapeWorkflowCommandProperty,
|
|
@@ -55,7 +56,7 @@ import {
|
|
|
55
56
|
} from "./chunk-RNVYGWIC.js";
|
|
56
57
|
import {
|
|
57
58
|
package_default
|
|
58
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-D7V5MUXP.js";
|
|
59
60
|
import {
|
|
60
61
|
errorMessage
|
|
61
62
|
} from "./chunk-G3T47CFV.js";
|
|
@@ -461,7 +462,8 @@ async function runCheck(opts = {}) {
|
|
|
461
462
|
},
|
|
462
463
|
config.questionFiles,
|
|
463
464
|
config.configDir,
|
|
464
|
-
() => openCite({ ...opts, cwd }, dirname2(graphPath), storeToQuads(store))
|
|
465
|
+
() => openCite({ ...opts, cwd }, dirname2(graphPath), storeToQuads(store)),
|
|
466
|
+
parseContexts(config, root)
|
|
465
467
|
);
|
|
466
468
|
const findings = [...await validateGraph(store, sources), ...asked.findings].sort(
|
|
467
469
|
compareFindings
|
|
@@ -542,4 +544,4 @@ export {
|
|
|
542
544
|
runCheck,
|
|
543
545
|
renderCheck
|
|
544
546
|
};
|
|
545
|
-
//# sourceMappingURL=chunk-
|
|
547
|
+
//# sourceMappingURL=chunk-XK3T6MKU.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/graph/commands/check.ts","../src/graph/commands/retrieve.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 { existsSync } from \"node:fs\";\nimport { dirname, join, resolve } from \"node:path\";\nimport type { Severity } from \"../../shared/severity.js\";\nimport { loadRunConfig } from \"../core/config.js\";\nimport { loadGraph, compactIri, parseGraph, storeToQuads } from \"../core/load.js\";\nimport type { Quad } from \"../core/derive.js\";\nimport { GraphError } from \"../types.js\";\nimport { CHUNKS_MANIFEST } from \"./chunks.js\";\nimport { openArtifact, retrieveIn } from \"./retrieve.js\";\nimport { documentBase, parseContexts } 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 CiteSeam,\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 () => openCite({ ...opts, cwd }, dirname(graphPath), storeToQuads(store)),\n parseContexts(config, root),\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/**\n * The cited row's seam (proposal 0090): `graph retrieve` over the chunk\n * artifact beside the graph, held to the graph being checked. No artifact,\n * or one from another graph, is a `GraphError` the row reports as a notice.\n */\nfunction openCite(opts: CheckOptions & { cwd: string }, indexDir: string, quads: Quad[]): CiteSeam {\n if (!existsSync(join(indexDir, CHUNKS_MANIFEST))) {\n throw new GraphError(\"no chunk artifact; run manni graph publish.\");\n }\n const artifact = openArtifact({\n ...(opts.config === undefined ? {} : { config: opts.config }),\n ...(opts.noConfig === undefined ? {} : { noConfig: opts.noConfig }),\n index: indexDir,\n cwd: opts.cwd,\n quads,\n });\n const languages = new Set(Object.keys(artifact.ctx.manifest.languages));\n return {\n retrieve: async (question, language) =>\n languages.has(language) ? retrieveIn(artifact, { question, lang: language }) : undefined,\n withheld: new Map(artifact.ctx.manifest.withheld.map((w) => [w.id, w.because])),\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 * `manni graph lookup`, `graph retrieve` and `graph traverse --context`\n * (proposal 0090): the runtime's served cores over the chunk artifact on\n * disk.\n *\n * The context comes from `artifactContext`, the same function\n * `createRetriever` builds on, so the CLI and a script answer alike over the\n * same artifact. Only the graph differs in how it arrives: here it is the\n * built Turtle, held to the manifest's digest of its JSON-LD form.\n *\n * Every retrieval setting comes from `graph.retrieve`, which overrides the\n * defaults the manifest recorded at export. A refusal is an answer and exits\n * 0; a usage or operational error is a `GraphError`, exit 2.\n */\nimport { existsSync, readFileSync } from \"node:fs\";\nimport { readFile } from \"node:fs/promises\";\nimport { dirname, join, relative, resolve } from \"node:path\";\nimport { integrityOf } from \"../../meta/index.js\";\nimport { errorMessage } from \"../../shared/errors.js\";\nimport { loadRunConfig, type GraphConfig } from \"../core/config.js\";\nimport { emitJsonLd } from \"../core/emit-jsonld.js\";\nimport { compactIri, loadGraph, storeToQuads } from \"../core/load.js\";\nimport { PREFIXES } from \"../core/vocab.js\";\nimport { createLocalEmbedder, EmbedderUnavailableError } from \"../embed/local.js\";\nimport { createMockEmbedder } from \"../embed/mock.js\";\nimport type { ChunksManifest, ProvenanceRecord, WithholdReason } from \"../runtime/chunks.js\";\nimport type { QueryEmbedder } from \"../runtime/entry.js\";\nimport { GraphIndex } from \"../runtime/graph.js\";\nimport {\n artifactContext,\n IMPACT_DEPTH,\n lookup,\n ModelMismatchError,\n parseChunksManifest,\n retrieve,\n StaleArtifactError,\n walkPassages,\n type EmbeddingModel,\n type LookupEdge,\n type LookupResult,\n type PassageBundle,\n type RetrieveMode,\n type RetrieverContext,\n type WhereCondition,\n} from \"../runtime/retrieve.js\";\nimport { GraphError } from \"../types.js\";\nimport { CHUNKS_MANIFEST } from \"./chunks.js\";\nimport { langRequired, noIndexFor } from \"./search.js\";\nimport { checkScope, checkTraverseInputs } from \"./traverse.js\";\n\n/** The plumbing every served verb shares. */\nexport interface ArtifactOptions {\n config?: string;\n noConfig?: boolean;\n /** Graph .ttl path (default: config `out`). */\n graph?: string;\n /** Directory holding `chunks.json`, its rows and the search index (default: beside the graph). */\n index?: string;\n cwd?: string;\n /** Injection seam for tests: the query embedder, or `null` for none. */\n embedder?: QueryEmbedder | null;\n /** The graph already in hand, in place of reading `graph`: what `graph check` checks. */\n quads?: ReturnType<typeof storeToQuads>;\n}\n\nexport interface LookupCommandOptions extends ArtifactOptions {\n question: string;\n /** `graph serve --withhold`; `graph lookup` takes no such flag. */\n withhold?: WithholdReason[];\n}\n\nexport interface RetrieveCommandOptions extends ArtifactOptions {\n question: string;\n lang?: string;\n variant?: string;\n /** `--software-subject`. */\n subject?: string;\n mode?: RetrieveMode;\n seeds?: number;\n depth?: number;\n maxChars?: number;\n withhold?: WithholdReason[];\n where?: WhereCondition[];\n}\n\nexport interface TraverseContextOptions extends ArtifactOptions {\n node: string;\n depth?: number;\n predicates?: string[];\n reverse?: boolean;\n impact?: boolean;\n variant?: string;\n subject?: string;\n lang?: string;\n limit?: number;\n maxChars?: number;\n withhold?: WithholdReason[];\n where?: WhereCondition[];\n}\n\n/** An opened artifact: what `graph serve` holds across calls. */\nexport interface Artifact {\n ctx: RetrieverContext;\n config: GraphConfig;\n label: string;\n quads: ReturnType<typeof storeToQuads>;\n}\n\n/** The query embedder for one language's model, or `null` when entry stays lexical. */\nasync function queryEmbedder(model: EmbeddingModel): Promise<QueryEmbedder | null> {\n if (model.id === \"mock\") return createMockEmbedder({ dims: model.dimensions });\n try {\n return await createLocalEmbedder({ model: model.id, role: \"query\" });\n } catch (e) {\n // The optional peer is missing: lexical entry, which the trace records.\n if (e instanceof EmbedderUnavailableError) return null;\n throw new GraphError(`Failed to load embedding model ${model.id}: ${errorMessage(e)}`);\n }\n}\n\n/** The artifact beside the graph, held to the graph it was built from. */\nexport function openArtifact(opts: ArtifactOptions): Artifact {\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 indexDir = opts.index === undefined ? dirname(graphPath) : resolve(cwd, opts.index);\n const shown = (path: string): string => relative(cwd, path).split(\"\\\\\").join(\"/\");\n const manifestPath = join(indexDir, CHUNKS_MANIFEST);\n const label = shown(manifestPath);\n if (!existsSync(manifestPath)) throw new GraphError(`${label} does not exist; run manni graph publish.`);\n let manifest: ChunksManifest;\n try {\n manifest = parseChunksManifest(readFileSync(manifestPath, \"utf8\"));\n } catch {\n throw new GraphError(`${label} is not a chunk manifest; run manni graph publish.`);\n }\n const quads = opts.quads ?? storeToQuads(loadGraph(graphPath));\n if (integrityOf(Buffer.from(emitJsonLd(quads), \"utf8\")) !== manifest.graph) {\n throw new GraphError(`${label} was built from another graph; run manni graph publish.`);\n }\n const graph = GraphIndex.fromQuads(quads, Object.fromEntries(PREFIXES));\n const read = async (path: string): Promise<string> => {\n const abs = resolve(indexDir, path);\n try {\n return await readFile(abs, \"utf8\");\n } catch {\n throw new GraphError(`${shown(abs)} does not exist; run manni graph publish.`);\n }\n };\n const injected = opts.embedder;\n const embedder: RetrieverContext[\"embedder\"] =\n injected === undefined ? queryEmbedder : () => Promise.resolve(injected);\n // The config's settings, not the ones the manifest recorded for other hosts.\n const ctx = artifactContext({ ...manifest, retrieve: { ...config.retrieve } }, graph, read, { embedder });\n return { ctx, config, label, quads };\n}\n\n/** The library's two artifact errors, in the CLI's words. */\nasync function served<T>(label: string, work: () => Promise<T>): Promise<T> {\n try {\n return await work();\n } catch (e) {\n if (e instanceof StaleArtifactError) {\n throw new GraphError(`${label} was built from another graph; run manni graph publish.`);\n }\n if (e instanceof ModelMismatchError) {\n throw new GraphError(\n `chunks.json was embedded with ${e.expected}, and this run loads ${e.actual}; run manni graph publish again.`,\n );\n }\n throw e;\n }\n}\n\n/** The result, and the two settings its pretty form names. */\nexport async function runLookup(\n opts: LookupCommandOptions,\n): Promise<{ result: LookupResult; settings: { depth: number; maxChars: number } }> {\n const artifact = openArtifact(opts);\n const { config } = artifact;\n const result = await lookupIn(artifact, opts);\n return { result, settings: { depth: config.retrieve.depth, maxChars: config.retrieve.maxChars } };\n}\n\n/** `lookup` over an artifact already open: `graph lookup` and the MCP `lookup` tool. */\nexport async function lookupIn(\n { ctx, label }: Artifact,\n opts: Pick<LookupCommandOptions, \"question\" | \"withhold\">,\n): Promise<LookupResult> {\n return served(label, () =>\n lookup({ ...ctx, question: opts.question, ...(opts.withhold === undefined ? {} : { withhold: opts.withhold }) }),\n );\n}\n\nexport async function runRetrieve(opts: RetrieveCommandOptions): Promise<PassageBundle> {\n return retrieveIn(openArtifact(opts), opts);\n}\n\n/** `retrieve` over an artifact already open: `graph retrieve` and the MCP `retrieve` tool. */\nexport async function retrieveIn(\n { ctx, label }: Artifact,\n opts: Omit<RetrieveCommandOptions, keyof ArtifactOptions>,\n): Promise<PassageBundle> {\n const languages = Object.keys(ctx.manifest.languages).sort();\n if (opts.lang === undefined && languages.length > 1) {\n throw new GraphError(langRequired(languages), \"lang-required\");\n }\n if (opts.lang !== undefined) {\n const wanted = opts.lang.toLowerCase();\n if (!languages.some((l) => l.toLowerCase() === wanted)) {\n throw new GraphError(noIndexFor(opts.lang, languages), \"unknown-scope\");\n }\n }\n checkScope(ctx.graph, opts);\n return served(label, () =>\n retrieve({\n ...ctx,\n question: opts.question,\n ...(opts.lang === undefined ? {} : { lang: opts.lang }),\n ...(opts.variant === undefined ? {} : { variant: opts.variant }),\n ...(opts.subject === undefined ? {} : { softwareSubject: opts.subject }),\n ...(opts.mode === undefined ? {} : { mode: opts.mode }),\n ...(opts.seeds === undefined ? {} : { seeds: opts.seeds }),\n ...(opts.depth === undefined ? {} : { depth: opts.depth }),\n ...(opts.maxChars === undefined ? {} : { maxChars: opts.maxChars }),\n ...(opts.withhold === undefined ? {} : { withhold: opts.withhold }),\n ...(opts.where === undefined ? {} : { where: opts.where }),\n }),\n );\n}\n\nexport async function runTraverseContext(opts: TraverseContextOptions): Promise<PassageBundle> {\n return traverseIn(openArtifact(opts), opts);\n}\n\n/** A walk over an artifact already open: `graph traverse --context` and the MCP `traverse` and `impact` tools. */\nexport async function traverseIn(\n { ctx, label, quads }: Artifact,\n opts: Omit<TraverseContextOptions, keyof ArtifactOptions>,\n): Promise<PassageBundle> {\n const { node, predicates } = checkTraverseInputs(ctx.graph, quads, opts);\n return served(label, () =>\n walkPassages({\n ...ctx,\n node,\n ...(opts.impact === true ? { impact: true } : {}),\n ...(opts.reverse === true ? { reverse: true } : {}),\n ...(opts.depth === undefined ? {} : { depth: opts.depth }),\n ...(predicates === undefined ? {} : { predicates }),\n ...(opts.lang === undefined ? {} : { lang: opts.lang }),\n ...(opts.variant === undefined ? {} : { variant: opts.variant }),\n ...(opts.subject === undefined ? {} : { softwareSubject: opts.subject }),\n ...(opts.limit === undefined ? {} : { limit: opts.limit }),\n ...(opts.maxChars === undefined ? {} : { maxChars: opts.maxChars }),\n ...(opts.withhold === undefined ? {} : { withhold: opts.withhold }),\n ...(opts.where === undefined ? {} : { where: opts.where }),\n }),\n );\n}\n\n// ---- pretty output ---------------------------------------------------------------\n\n/** Labels pages from the directory every one of them shares. */\nfunction labeller(pages: readonly string[]): (p: { iri: string; page: string; title: string }) => string {\n const dirs = pages.map((p) => p.split(\"/\").slice(0, -1));\n const first = dirs[0] ?? [];\n let shared = first.length;\n for (const d of dirs) {\n let i = 0;\n while (i < shared && d[i] === first[i]) i++;\n shared = i;\n }\n return (p) => {\n const short = p.page.split(\"/\").slice(shared).join(\"/\");\n return p.iri.includes(\"#\") ? `${short} § ${p.title}` : short;\n };\n}\n\n/** The proof under a passage: pins, dates and eval verdicts, each when there is one. */\nfunction proofLines(record: ProvenanceRecord): string[] {\n const out: string[] = [];\n const { pins, dates, evals } = record;\n if (pins.total > 0) {\n const counts = ([\"current\", \"notice\", \"warning\", \"error\"] as const)\n .filter((s) => pins[s] > 0)\n .map((s) => `${String(pins[s])} ${s}`);\n const findings = pins.items.flatMap((item) => {\n const f = item.findings[0];\n return f === undefined ? [] : [`${f.rule} at line ${item.claim} (${item.source})`];\n });\n out.push(`pins ${counts.join(\", \")}${findings.length > 0 ? `: ${findings.join(\"; \")}` : \"\"}`);\n }\n const days = [\n ...(dates.lastUpdated.day === null ? [] : [`updated ${dates.lastUpdated.day}`]),\n ...(dates.lastVerified === null ? [] : [`verified ${dates.lastVerified}`]),\n ];\n if (days.length > 0) out.push(`dates ${days.join(\", \")}`);\n if (evals !== null) {\n const counts = (\n [\n [\"pass\", evals.pass],\n [\"fail\", evals.fail],\n [\"needs review\", evals.needsReview],\n [\"skipped\", evals.skipped],\n [\"error\", evals.error],\n ] as const\n )\n .filter(([, n]) => n > 0)\n .map(([word, n]) => `${String(n)} ${word}`);\n if (counts.length > 0) {\n out.push(`evals ${counts.join(\", \")}${evals.current ? \"\" : \" (stale: the page changed since the report)\"}`);\n }\n }\n return out;\n}\n\nconst plural = (n: number, one: string, many: string): string => `${String(n)} ${n === 1 ? one : many}`;\n\nfunction refusalLine(r: { reason: string; detail: string }): string {\n return `Refused, ${r.reason}: ${r.detail}`;\n}\n\n/** The pretty form of a lookup result; `-f json` prints the result itself. */\nexport function renderLookup(\n result: LookupResult,\n format: \"pretty\" | \"json\",\n settings: { depth: number; maxChars: number },\n): string {\n if (format === \"json\") return JSON.stringify(result, null, 2);\n if (result.refusal !== undefined) return refusalLine(result.refusal);\n\n const all = [...result.matches.passages, ...result.traversal.passages, ...result.impact.passages];\n const label = labeller(all.map((p) => p.page));\n const width = Math.max(0, ...all.map((p) => label(p).length));\n const rankOf = new Map(result.matches.passages.map((p) => [p.iri, p.rank]));\n const named = new Map(all.map((p) => [p.iri, label(p)]));\n const nameOf = (iri: string): string => {\n const rank = rankOf.get(iri);\n return rank === undefined ? (named.get(iri) ?? compactIri(iri)) : `#${String(rank)}`;\n };\n const cut = `(text not included: over the ${settings.maxChars.toLocaleString(\"en-US\")}-character budget)`;\n const lines: string[] = [];\n const block = (head: string, p: { text: string | null; provenance: ProvenanceRecord }): void => {\n const body = [head, ...proofLines(p.provenance).map((l) => ` ${l}`)];\n if (p.text === null) body[body.length - 1] = `${body[body.length - 1] ?? \"\"} ${cut}`;\n lines.push(...body);\n };\n\n lines.push(\"Matches\");\n for (const p of result.matches.passages) {\n const scores = [\n ...(p.score.lexical === null ? [] : [`lexical ${p.score.lexical.toFixed(1)}`]),\n ...(p.score.vector === null ? [] : [`vector ${p.score.vector.toFixed(2)}`]),\n ].join(\", \");\n block(`${String(p.rank).padEnd(2)} ${label(p).padEnd(width)} ${scores}`.trimEnd(), p);\n }\n const firstEdge = (edges: readonly LookupEdge[], test: (e: LookupEdge) => boolean): LookupEdge | undefined =>\n edges.find(test);\n lines.push(`Traversal, depth ${String(settings.depth)}`);\n if (result.traversal.passages.length === 0) lines.push(\" (none)\");\n for (const p of result.traversal.passages) {\n const edge = firstEdge(result.traversal.edges, (e) => e.to === p.iri);\n const how = edge === undefined ? \"\" : `from ${nameOf(edge.from)} via ${edge.predicate}`;\n block(` ${label(p).padEnd(width)} ${how}`.trimEnd(), p);\n }\n lines.push(`Impact, depth ${String(IMPACT_DEPTH)}`);\n if (result.impact.passages.length === 0) lines.push(\" (none)\");\n for (const p of result.impact.passages) {\n const edge = firstEdge(result.impact.edges, (e) => e.from === p.iri);\n const verb = edge === undefined ? \"\" : `, ${edge.predicate.slice(edge.predicate.indexOf(\":\") + 1)} ${nameOf(edge.to)}`;\n block(` ${label(p).padEnd(width)} depth ${String(p.depth)}${verb}`, p);\n }\n const m = result.matches.passages.length;\n const t = result.traversal.passages.length;\n const i = result.impact.passages.length;\n lines.push(\"\");\n lines.push(\n `${plural(m, \"match\", \"matches\")}, ${String(t)} reached outward, ${String(i)} ${i === 1 ? \"depends\" : \"depend\"} on them, ` +\n `in ${result.language ?? \"no language\"}. Pass -f json for the text, edges and trace.`,\n );\n return lines.join(\"\\n\");\n}\n\n/** The pretty form of a bundle: its rows, without lookup's section headings. */\nexport function renderBundle(bundle: PassageBundle, format: \"pretty\" | \"json\"): string {\n if (format === \"json\") return JSON.stringify(bundle, null, 2);\n if (bundle.refusal !== undefined) return refusalLine(bundle.refusal);\n const label = labeller(bundle.context.map((b) => b.page));\n const width = Math.max(0, ...bundle.context.map((b) => label(b).length));\n const lines: string[] = [];\n for (const b of bundle.context) {\n lines.push(`${label(b).padEnd(width)} ${b.role}${b.depth > 0 ? `, depth ${String(b.depth)}` : \"\"}`);\n lines.push(...proofLines(b.provenance).map((l) => ` ${l}`));\n }\n const n = bundle.context.length;\n lines.push(\"\");\n lines.push(\n `${plural(n, \"passage\", \"passages\")}, in ${bundle.language ?? \"every language\"}` +\n `${bundle.truncated ? \", and more left out by the budget\" : \"\"}. Pass -f json for the text and trace.`,\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,cAAAA,mBAAkB;AAC3B,SAAS,WAAAC,UAAS,QAAAC,OAAM,WAAAC,gBAAe;;;ACKvC,SAAS,YAAY,oBAAoB;AACzC,SAAS,gBAAgB;AACzB,SAAS,SAAS,MAAM,UAAU,eAAe;AA6FjD,eAAe,cAAc,OAAsD;AACjF,MAAI,MAAM,OAAO,OAAQ,QAAO,mBAAmB,EA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