@hawkeyexl/manni 4.23.0 → 4.25.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.
- package/README.md +1 -1
- package/dist/{batch-DPYBMRVD.js → batch-VP7VAFFA.js} +12 -12
- package/dist/{build-LEKUMGEC.js → build-44OHCP5P.js} +13 -13
- package/dist/{calibrate-TYONPNG4.js → calibrate-5X3V3IFG.js} +13 -13
- package/dist/{capture-2EPHIAZT.js → capture-QUDOYQOS.js} +12 -12
- package/dist/{check-J2KQI7IW.js → check-IF6WXUEI.js} +14 -14
- package/dist/check-LNCNERTV.js +57 -0
- package/dist/check-MZWAI5CR.js +57 -0
- package/dist/{check-SQVQE4E4.js → check-QSW4PTDL.js} +13 -13
- package/dist/{check-HWEDHABD.js → check-ZNGJ3QPU.js} +10 -10
- package/dist/{chunk-KX6HRTLH.js → chunk-2LF3NIWH.js} +17 -2
- package/dist/chunk-2LF3NIWH.js.map +1 -0
- package/dist/{chunk-EPN67ZNX.js → chunk-3J6O3ID5.js} +9 -9
- package/dist/{chunk-VTJAY3WN.js → chunk-3ZKW6ILQ.js} +12 -8
- package/dist/chunk-3ZKW6ILQ.js.map +1 -0
- package/dist/{chunk-XVL7DYWM.js → chunk-3ZWKN3JF.js} +130 -8
- package/dist/chunk-3ZWKN3JF.js.map +1 -0
- package/dist/{chunk-7NSFGAAQ.js → chunk-44ETYRW3.js} +5 -5
- package/dist/{chunk-RZ6OONZU.js → chunk-4UHRMUV3.js} +4 -4
- package/dist/{chunk-Y4O737F7.js → chunk-5XVS7OLH.js} +13 -10
- package/dist/chunk-5XVS7OLH.js.map +1 -0
- package/dist/{chunk-CLUUSZDY.js → chunk-6NN7VGDU.js} +10 -10
- package/dist/{chunk-LHP56Q45.js → chunk-6RFNXPVZ.js} +5 -5
- package/dist/{chunk-I4KDAO6P.js → chunk-6T4AJ2L6.js} +3 -3
- package/dist/{chunk-SZMJ24FR.js → chunk-6Z3XOK52.js} +8 -8
- package/dist/{chunk-WHECOVH2.js → chunk-7QIUCIOS.js} +7 -5
- package/dist/chunk-7QIUCIOS.js.map +1 -0
- package/dist/{chunk-BA7BQBWV.js → chunk-A7Z74ZVA.js} +13 -13
- package/dist/{chunk-LT3STF5K.js → chunk-ADZH6SFC.js} +4 -4
- package/dist/{chunk-AJCUKL43.js → chunk-AFTHVJYK.js} +13 -7
- package/dist/{chunk-AJCUKL43.js.map → chunk-AFTHVJYK.js.map} +1 -1
- package/dist/{chunk-EAF4K7IK.js → chunk-BNCI4B5B.js} +65 -17
- package/dist/chunk-BNCI4B5B.js.map +1 -0
- package/dist/{chunk-VSDXZAQU.js → chunk-BXQLKOOR.js} +2 -2
- package/dist/{chunk-K4YR4PY2.js → chunk-CI655H5P.js} +6 -6
- package/dist/{chunk-MDZXRHIJ.js → chunk-CLH4ZYNG.js} +1 -1
- package/dist/chunk-CLH4ZYNG.js.map +1 -0
- package/dist/{chunk-2QK25SLZ.js → chunk-CSZIHCPC.js} +3 -3
- package/dist/{chunk-OL3Z7KPQ.js → chunk-CU2RHHDC.js} +131 -23
- package/dist/chunk-CU2RHHDC.js.map +1 -0
- package/dist/{chunk-WPHPLVS3.js → chunk-DM37LCWS.js} +8 -8
- package/dist/{chunk-TVLIJ6ZM.js → chunk-DP2YVP7S.js} +4 -4
- package/dist/{chunk-P6LRDWMJ.js → chunk-E4A2OW24.js} +7 -7
- package/dist/{chunk-2UJOQ6CB.js → chunk-FKM3GGP4.js} +9 -9
- package/dist/{chunk-BOCJTOKA.js → chunk-G7DHWDSI.js} +2 -2
- package/dist/{chunk-2GPF4OEF.js → chunk-GQQGKKXK.js} +2 -2
- package/dist/{chunk-AOLCEULZ.js → chunk-GVG6LI5Q.js} +4 -4
- package/dist/{chunk-N25KDXOV.js → chunk-H7UPMVBK.js} +2 -2
- package/dist/{chunk-GIHIONJH.js → chunk-IM7C3H4W.js} +10 -2
- package/dist/chunk-IM7C3H4W.js.map +1 -0
- package/dist/{chunk-QWVIGKBM.js → chunk-IQ4YRTPO.js} +404 -136
- package/dist/chunk-IQ4YRTPO.js.map +1 -0
- package/dist/{chunk-B4POKRCS.js → chunk-ITEGS3X3.js} +5 -5
- package/dist/{chunk-MPRVAMO3.js → chunk-J3LMV74L.js} +4 -4
- package/dist/{chunk-INOVEO32.js → chunk-JBOXCSTN.js} +1 -1
- package/dist/chunk-JBOXCSTN.js.map +1 -0
- package/dist/{chunk-JZWQQOUN.js → chunk-JNG6N5YH.js} +6 -6
- package/dist/{chunk-6QNA7UX2.js → chunk-JPIWDKSR.js} +2 -2
- package/dist/{chunk-EBBJFXMX.js → chunk-KG7ZP7Z6.js} +3 -3
- package/dist/{chunk-2MOXVM6H.js → chunk-LTCAXNJS.js} +2 -2
- package/dist/{chunk-76Y3JATE.js → chunk-M4OGE7AL.js} +2 -2
- package/dist/{chunk-3CBGLUJX.js → chunk-MUPA2MUK.js} +7 -7
- package/dist/chunk-MUPA2MUK.js.map +1 -0
- package/dist/{chunk-GCHEVTCJ.js → chunk-MXRFHC7I.js} +2 -2
- package/dist/{chunk-CWPRB7SA.js → chunk-NQFSXLYK.js} +258 -145
- package/dist/chunk-NQFSXLYK.js.map +1 -0
- package/dist/{chunk-QJL57GPX.js → chunk-OG6OJC64.js} +3 -3
- package/dist/{chunk-72UN462G.js → chunk-OIGFV4BG.js} +26 -7
- package/dist/chunk-OIGFV4BG.js.map +1 -0
- package/dist/{chunk-N2T6RLSE.js → chunk-PMRBTUCZ.js} +2 -2
- package/dist/{chunk-N2T6RLSE.js.map → chunk-PMRBTUCZ.js.map} +1 -1
- package/dist/{chunk-UQYDLEBS.js → chunk-PYCKKLN2.js} +7 -7
- package/dist/{chunk-6RENCXLC.js → chunk-PZLJQE2S.js} +3 -3
- package/dist/{chunk-E75CMOR3.js → chunk-Q44S7QYO.js} +3 -3
- package/dist/{chunk-QJGPOFNB.js → chunk-R3EJQKGM.js} +3 -3
- package/dist/{chunk-C2QE4FSZ.js → chunk-RIKCEIS7.js} +3 -3
- package/dist/{chunk-5JXA75XB.js → chunk-S6TCOSAY.js} +24 -11
- package/dist/chunk-S6TCOSAY.js.map +1 -0
- package/dist/{chunk-YJHH2DHV.js → chunk-SBPIX4DE.js} +2 -2
- package/dist/{chunk-B4ECIBLF.js → chunk-SHDMHEY6.js} +3 -3
- package/dist/{chunk-TLY44PCL.js → chunk-SNNT4A3J.js} +2 -2
- package/dist/{chunk-DWUK6YNX.js → chunk-SPGRVFWW.js} +6 -6
- package/dist/{chunk-3USSSKLA.js → chunk-TX6WDFGT.js} +2 -2
- package/dist/{chunk-FJYIPHWK.js → chunk-V3CE2MQV.js} +9 -7
- package/dist/chunk-V3CE2MQV.js.map +1 -0
- package/dist/{chunk-QR55QXJ7.js → chunk-W4W3NHK4.js} +4 -4
- package/dist/{chunk-YBPXVBSY.js → chunk-WCMO7DTA.js} +3 -3
- package/dist/{chunk-TOVSR2YO.js → chunk-WFSZVCTZ.js} +2 -2
- package/dist/{chunk-AZKNB2T3.js → chunk-WMJ2FXYV.js} +11 -28
- package/dist/chunk-WMJ2FXYV.js.map +1 -0
- package/dist/{chunk-MGQNGW6I.js → chunk-X64BY7TV.js} +2 -2
- package/dist/{chunk-YUCH6WJY.js → chunk-XWPKJD45.js} +2 -2
- package/dist/{chunk-NPZWOPOH.js → chunk-XX7GNK4F.js} +5 -4
- package/dist/chunk-XX7GNK4F.js.map +1 -0
- package/dist/{chunk-L3DOX3UL.js → chunk-Y2GYB3SB.js} +4 -4
- package/dist/{chunk-7M3MBFG7.js → chunk-YBWDATJO.js} +5 -5
- package/dist/chunk-YBWDATJO.js.map +1 -0
- package/dist/{chunk-FBIBR4CH.js → chunk-ZPKPL52R.js} +33 -16
- package/dist/chunk-ZPKPL52R.js.map +1 -0
- package/dist/{cli-TBAOKTMV.js → cli-4WOYZQQF.js} +13 -13
- package/dist/{cli-NDYBQ755.js → cli-5HRQSZJG.js} +18 -18
- package/dist/{cli-BF6KB3EJ.js → cli-AISVPF4O.js} +30 -30
- package/dist/{cli-DXOHHWZK.js → cli-DFUPK6NY.js} +32 -18
- package/dist/{cli-DXOHHWZK.js.map → cli-DFUPK6NY.js.map} +1 -1
- package/dist/{cli-SJA66MIP.js → cli-H2RUHLCF.js} +19 -19
- package/dist/{cli-4R5HIGG4.js → cli-HXFFCF5U.js} +34 -30
- package/dist/cli-HXFFCF5U.js.map +1 -0
- package/dist/{cli-XXN75A42.js → cli-JH67BLTC.js} +7 -7
- package/dist/{cli-V2BJYNMF.js → cli-KLOTJTBA.js} +2 -2
- package/dist/{cli-MPMECIQH.js → cli-MCFDABF3.js} +57 -57
- package/dist/{cli-XGCK2LUV.js → cli-MVWF3ZJL.js} +12 -12
- package/dist/{cli-TWGGMUXX.js → cli-UUJQ2MA5.js} +36 -36
- package/dist/cli.js +15 -15
- package/dist/docmeta.js +6 -6
- package/dist/github-JHXSVOLR.js +48 -0
- package/dist/{github-WBIEYSM7.js → github-X3JHTWYZ.js} +10 -10
- package/dist/{github-NQQTH5JK.js → github-ZARIFMCP.js} +14 -14
- package/dist/index.d.ts +69 -13
- package/dist/index.js +55 -55
- package/dist/{json-J4TONMKY.js → json-CG2WAD5V.js} +2 -2
- package/dist/{json-QQAK73QQ.js → json-MOKARROA.js} +10 -10
- package/dist/{json-IVHRVOGQ.js → json-O6KJT3C3.js} +15 -15
- package/dist/{labels-VI2I5YFD.js → labels-6IEBGB7P.js} +9 -9
- package/dist/{lint-VB5A3ENL.js → lint-W6KQ7QGB.js} +10 -10
- package/dist/{list-LMYCD5G5.js → list-EOWL6REV.js} +14 -14
- package/dist/list-LIP6QOWF.js +48 -0
- package/dist/{list-LOS7FTFD.js → list-UXJ2NK7K.js} +10 -10
- package/dist/{page-3Y4EGYUO.js → page-U4D4RT4T.js} +12 -9
- package/dist/{prepare-JK6XKBZB.js → prepare-EP7RFG3W.js} +11 -11
- package/dist/{pretty-G2J5UEXC.js → pretty-U5HUKTPN.js} +14 -14
- package/dist/{pretty-DR4GHOJG.js → pretty-YFAKTBDO.js} +10 -10
- package/dist/{pretty-GCEIQ3FP.js → pretty-YXK7QWYR.js} +24 -24
- package/dist/{reporters-6TEJDXXO.js → reporters-6CNOPRDA.js} +4 -4
- package/dist/{reporters-OWYFZD4S.js → reporters-GGPH44QS.js} +4 -4
- package/dist/{reporters-43LBUWEE.js → reporters-SJW725TW.js} +9 -9
- package/dist/run-WAIHWCOH.js +51 -0
- package/dist/{sarif-CN7RSIKH.js → sarif-IY6OTG4M.js} +8 -8
- package/dist/{sarif-GWTNYCZJ.js → sarif-QYID4Z4M.js} +10 -10
- package/dist/sarif-SJ27UD3T.js +49 -0
- package/dist/strategy-3B6KJNFA.js +63 -0
- package/dist/{term-5WITRS3M.js → term-M63KLMUK.js} +15 -15
- package/dist/{types-7N7ETP3W.js → types-VWL35P4F.js} +2 -2
- package/dist/{validate-TDIEFXRQ.js → validate-XW5WSXKU.js} +4 -4
- package/package.json +1 -1
- package/plugin/manni/.claude-plugin/plugin.json +1 -1
- package/dist/check-ADCSXGBK.js +0 -57
- package/dist/check-L5AUSTE6.js +0 -57
- package/dist/chunk-3CBGLUJX.js.map +0 -1
- package/dist/chunk-5JXA75XB.js.map +0 -1
- package/dist/chunk-72UN462G.js.map +0 -1
- package/dist/chunk-7M3MBFG7.js.map +0 -1
- package/dist/chunk-AZKNB2T3.js.map +0 -1
- package/dist/chunk-CWPRB7SA.js.map +0 -1
- package/dist/chunk-EAF4K7IK.js.map +0 -1
- package/dist/chunk-FBIBR4CH.js.map +0 -1
- package/dist/chunk-FJYIPHWK.js.map +0 -1
- package/dist/chunk-GIHIONJH.js.map +0 -1
- package/dist/chunk-INOVEO32.js.map +0 -1
- package/dist/chunk-KX6HRTLH.js.map +0 -1
- package/dist/chunk-MDZXRHIJ.js.map +0 -1
- package/dist/chunk-NPZWOPOH.js.map +0 -1
- package/dist/chunk-OL3Z7KPQ.js.map +0 -1
- package/dist/chunk-QWVIGKBM.js.map +0 -1
- package/dist/chunk-VTJAY3WN.js.map +0 -1
- package/dist/chunk-WHECOVH2.js.map +0 -1
- package/dist/chunk-XVL7DYWM.js.map +0 -1
- package/dist/chunk-Y4O737F7.js.map +0 -1
- package/dist/cli-4R5HIGG4.js.map +0 -1
- package/dist/github-NWL2XGE7.js +0 -48
- package/dist/list-3XRFX2Y3.js +0 -33
- package/dist/run-G6G55SWJ.js +0 -36
- package/dist/sarif-FR26WNVT.js +0 -49
- package/dist/strategy-3EZUOE2T.js +0 -59
- /package/dist/{batch-DPYBMRVD.js.map → batch-VP7VAFFA.js.map} +0 -0
- /package/dist/{build-LEKUMGEC.js.map → build-44OHCP5P.js.map} +0 -0
- /package/dist/{calibrate-TYONPNG4.js.map → calibrate-5X3V3IFG.js.map} +0 -0
- /package/dist/{capture-2EPHIAZT.js.map → capture-QUDOYQOS.js.map} +0 -0
- /package/dist/{check-ADCSXGBK.js.map → check-IF6WXUEI.js.map} +0 -0
- /package/dist/{check-HWEDHABD.js.map → check-LNCNERTV.js.map} +0 -0
- /package/dist/{check-J2KQI7IW.js.map → check-MZWAI5CR.js.map} +0 -0
- /package/dist/{check-SQVQE4E4.js.map → check-QSW4PTDL.js.map} +0 -0
- /package/dist/{check-L5AUSTE6.js.map → check-ZNGJ3QPU.js.map} +0 -0
- /package/dist/{chunk-EPN67ZNX.js.map → chunk-3J6O3ID5.js.map} +0 -0
- /package/dist/{chunk-7NSFGAAQ.js.map → chunk-44ETYRW3.js.map} +0 -0
- /package/dist/{chunk-RZ6OONZU.js.map → chunk-4UHRMUV3.js.map} +0 -0
- /package/dist/{chunk-CLUUSZDY.js.map → chunk-6NN7VGDU.js.map} +0 -0
- /package/dist/{chunk-LHP56Q45.js.map → chunk-6RFNXPVZ.js.map} +0 -0
- /package/dist/{chunk-I4KDAO6P.js.map → chunk-6T4AJ2L6.js.map} +0 -0
- /package/dist/{chunk-SZMJ24FR.js.map → chunk-6Z3XOK52.js.map} +0 -0
- /package/dist/{chunk-BA7BQBWV.js.map → chunk-A7Z74ZVA.js.map} +0 -0
- /package/dist/{chunk-LT3STF5K.js.map → chunk-ADZH6SFC.js.map} +0 -0
- /package/dist/{chunk-VSDXZAQU.js.map → chunk-BXQLKOOR.js.map} +0 -0
- /package/dist/{chunk-K4YR4PY2.js.map → chunk-CI655H5P.js.map} +0 -0
- /package/dist/{chunk-2QK25SLZ.js.map → chunk-CSZIHCPC.js.map} +0 -0
- /package/dist/{chunk-WPHPLVS3.js.map → chunk-DM37LCWS.js.map} +0 -0
- /package/dist/{chunk-TVLIJ6ZM.js.map → chunk-DP2YVP7S.js.map} +0 -0
- /package/dist/{chunk-P6LRDWMJ.js.map → chunk-E4A2OW24.js.map} +0 -0
- /package/dist/{chunk-2UJOQ6CB.js.map → chunk-FKM3GGP4.js.map} +0 -0
- /package/dist/{chunk-BOCJTOKA.js.map → chunk-G7DHWDSI.js.map} +0 -0
- /package/dist/{chunk-2GPF4OEF.js.map → chunk-GQQGKKXK.js.map} +0 -0
- /package/dist/{chunk-AOLCEULZ.js.map → chunk-GVG6LI5Q.js.map} +0 -0
- /package/dist/{chunk-N25KDXOV.js.map → chunk-H7UPMVBK.js.map} +0 -0
- /package/dist/{chunk-B4POKRCS.js.map → chunk-ITEGS3X3.js.map} +0 -0
- /package/dist/{chunk-MPRVAMO3.js.map → chunk-J3LMV74L.js.map} +0 -0
- /package/dist/{chunk-JZWQQOUN.js.map → chunk-JNG6N5YH.js.map} +0 -0
- /package/dist/{chunk-6QNA7UX2.js.map → chunk-JPIWDKSR.js.map} +0 -0
- /package/dist/{chunk-EBBJFXMX.js.map → chunk-KG7ZP7Z6.js.map} +0 -0
- /package/dist/{chunk-2MOXVM6H.js.map → chunk-LTCAXNJS.js.map} +0 -0
- /package/dist/{chunk-76Y3JATE.js.map → chunk-M4OGE7AL.js.map} +0 -0
- /package/dist/{chunk-GCHEVTCJ.js.map → chunk-MXRFHC7I.js.map} +0 -0
- /package/dist/{chunk-QJL57GPX.js.map → chunk-OG6OJC64.js.map} +0 -0
- /package/dist/{chunk-UQYDLEBS.js.map → chunk-PYCKKLN2.js.map} +0 -0
- /package/dist/{chunk-6RENCXLC.js.map → chunk-PZLJQE2S.js.map} +0 -0
- /package/dist/{chunk-E75CMOR3.js.map → chunk-Q44S7QYO.js.map} +0 -0
- /package/dist/{chunk-QJGPOFNB.js.map → chunk-R3EJQKGM.js.map} +0 -0
- /package/dist/{chunk-C2QE4FSZ.js.map → chunk-RIKCEIS7.js.map} +0 -0
- /package/dist/{chunk-YJHH2DHV.js.map → chunk-SBPIX4DE.js.map} +0 -0
- /package/dist/{chunk-B4ECIBLF.js.map → chunk-SHDMHEY6.js.map} +0 -0
- /package/dist/{chunk-TLY44PCL.js.map → chunk-SNNT4A3J.js.map} +0 -0
- /package/dist/{chunk-DWUK6YNX.js.map → chunk-SPGRVFWW.js.map} +0 -0
- /package/dist/{chunk-3USSSKLA.js.map → chunk-TX6WDFGT.js.map} +0 -0
- /package/dist/{chunk-QR55QXJ7.js.map → chunk-W4W3NHK4.js.map} +0 -0
- /package/dist/{chunk-YBPXVBSY.js.map → chunk-WCMO7DTA.js.map} +0 -0
- /package/dist/{chunk-TOVSR2YO.js.map → chunk-WFSZVCTZ.js.map} +0 -0
- /package/dist/{chunk-MGQNGW6I.js.map → chunk-X64BY7TV.js.map} +0 -0
- /package/dist/{chunk-YUCH6WJY.js.map → chunk-XWPKJD45.js.map} +0 -0
- /package/dist/{chunk-L3DOX3UL.js.map → chunk-Y2GYB3SB.js.map} +0 -0
- /package/dist/{cli-TBAOKTMV.js.map → cli-4WOYZQQF.js.map} +0 -0
- /package/dist/{cli-NDYBQ755.js.map → cli-5HRQSZJG.js.map} +0 -0
- /package/dist/{cli-BF6KB3EJ.js.map → cli-AISVPF4O.js.map} +0 -0
- /package/dist/{cli-SJA66MIP.js.map → cli-H2RUHLCF.js.map} +0 -0
- /package/dist/{cli-XXN75A42.js.map → cli-JH67BLTC.js.map} +0 -0
- /package/dist/{cli-V2BJYNMF.js.map → cli-KLOTJTBA.js.map} +0 -0
- /package/dist/{cli-MPMECIQH.js.map → cli-MCFDABF3.js.map} +0 -0
- /package/dist/{cli-XGCK2LUV.js.map → cli-MVWF3ZJL.js.map} +0 -0
- /package/dist/{cli-TWGGMUXX.js.map → cli-UUJQ2MA5.js.map} +0 -0
- /package/dist/{github-NQQTH5JK.js.map → github-JHXSVOLR.js.map} +0 -0
- /package/dist/{github-NWL2XGE7.js.map → github-X3JHTWYZ.js.map} +0 -0
- /package/dist/{github-WBIEYSM7.js.map → github-ZARIFMCP.js.map} +0 -0
- /package/dist/{json-IVHRVOGQ.js.map → json-CG2WAD5V.js.map} +0 -0
- /package/dist/{json-J4TONMKY.js.map → json-MOKARROA.js.map} +0 -0
- /package/dist/{json-QQAK73QQ.js.map → json-O6KJT3C3.js.map} +0 -0
- /package/dist/{labels-VI2I5YFD.js.map → labels-6IEBGB7P.js.map} +0 -0
- /package/dist/{lint-VB5A3ENL.js.map → lint-W6KQ7QGB.js.map} +0 -0
- /package/dist/{list-3XRFX2Y3.js.map → list-EOWL6REV.js.map} +0 -0
- /package/dist/{list-LMYCD5G5.js.map → list-LIP6QOWF.js.map} +0 -0
- /package/dist/{list-LOS7FTFD.js.map → list-UXJ2NK7K.js.map} +0 -0
- /package/dist/{page-3Y4EGYUO.js.map → page-U4D4RT4T.js.map} +0 -0
- /package/dist/{prepare-JK6XKBZB.js.map → prepare-EP7RFG3W.js.map} +0 -0
- /package/dist/{pretty-DR4GHOJG.js.map → pretty-U5HUKTPN.js.map} +0 -0
- /package/dist/{pretty-G2J5UEXC.js.map → pretty-YFAKTBDO.js.map} +0 -0
- /package/dist/{pretty-GCEIQ3FP.js.map → pretty-YXK7QWYR.js.map} +0 -0
- /package/dist/{reporters-43LBUWEE.js.map → reporters-6CNOPRDA.js.map} +0 -0
- /package/dist/{reporters-6TEJDXXO.js.map → reporters-GGPH44QS.js.map} +0 -0
- /package/dist/{reporters-OWYFZD4S.js.map → reporters-SJW725TW.js.map} +0 -0
- /package/dist/{run-G6G55SWJ.js.map → run-WAIHWCOH.js.map} +0 -0
- /package/dist/{sarif-CN7RSIKH.js.map → sarif-IY6OTG4M.js.map} +0 -0
- /package/dist/{sarif-FR26WNVT.js.map → sarif-QYID4Z4M.js.map} +0 -0
- /package/dist/{sarif-GWTNYCZJ.js.map → sarif-SJ27UD3T.js.map} +0 -0
- /package/dist/{strategy-3EZUOE2T.js.map → strategy-3B6KJNFA.js.map} +0 -0
- /package/dist/{term-5WITRS3M.js.map → term-M63KLMUK.js.map} +0 -0
- /package/dist/{types-7N7ETP3W.js.map → types-VWL35P4F.js.map} +0 -0
- /package/dist/{validate-TDIEFXRQ.js.map → validate-XW5WSXKU.js.map} +0 -0
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
RULE_ID_PREFIX,
|
|
4
4
|
guidanceFor,
|
|
5
5
|
isStrategyRule
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BXQLKOOR.js";
|
|
7
7
|
import {
|
|
8
8
|
renderSarif
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CSZIHCPC.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-OG6OJC64.js.map
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
shortPin,
|
|
8
8
|
shortSrc,
|
|
9
9
|
spellAt
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3ZWKN3JF.js";
|
|
11
11
|
import {
|
|
12
12
|
parseSrc
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BNCI4B5B.js";
|
|
14
14
|
import {
|
|
15
15
|
impactLines
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-A7Z74ZVA.js";
|
|
17
17
|
import {
|
|
18
18
|
guidanceLines
|
|
19
19
|
} from "./chunk-QK6VYJHV.js";
|
|
@@ -80,6 +80,7 @@ function citesEncrypted(src) {
|
|
|
80
80
|
}
|
|
81
81
|
function claimColumn(result) {
|
|
82
82
|
const { claim, marker } = result;
|
|
83
|
+
if (claim?.pointer !== void 0) return pointerColumn({ ...claim, pointer: claim.pointer });
|
|
83
84
|
const anchoredByMarker = result.anchor === "marker" && result.markerLine !== void 0;
|
|
84
85
|
const moves = marker?.misplaced === void 0 ? "" : ` -> :${String(marker.misplaced.to)}`;
|
|
85
86
|
const where = anchoredByMarker ? `marker :${String(result.markerLine ?? 0)}${moves}` : claim?.fileLines === void 0 ? "" : `:${claim.fileLines}`;
|
|
@@ -108,6 +109,19 @@ function claimColumn(result) {
|
|
|
108
109
|
}
|
|
109
110
|
return where === "" ? status : `${where} ${status}`;
|
|
110
111
|
}
|
|
112
|
+
function pointerColumn(claim) {
|
|
113
|
+
const at = `#${claim.pointer}`;
|
|
114
|
+
switch (claim.status) {
|
|
115
|
+
case "moved":
|
|
116
|
+
return `${at} moved -> #${claim.newPointer ?? "?"}`;
|
|
117
|
+
case "moved-ambiguous":
|
|
118
|
+
return `${at} moved-ambiguous (${(claim.candidates ?? []).map((p) => `#${p}`).join(", ")})`;
|
|
119
|
+
case "changed":
|
|
120
|
+
return `${at} ${changedText(claim)}`;
|
|
121
|
+
default:
|
|
122
|
+
return `${at} ${claim.status}`;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
111
125
|
function changedText(claim) {
|
|
112
126
|
if (claim.historyAvailable === false) return "changed (history unavailable; fetch-depth: 0)";
|
|
113
127
|
if (claim.commitSha === void 0) return "changed";
|
|
@@ -326,12 +340,14 @@ function movedSpan(rewrite) {
|
|
|
326
340
|
}
|
|
327
341
|
function refusalLine(rewrite) {
|
|
328
342
|
const at = shortCommit(rewrite.commitSha ?? "");
|
|
329
|
-
const
|
|
343
|
+
const pointer = rewrite.pointer;
|
|
344
|
+
const where = `claim at ${pointer === void 0 ? spellAtSpec(String(rewrite.at ?? 0)) : `#${pointer}`} skipped:`;
|
|
345
|
+
const holder = pointer === void 0 ? "that line" : "that value";
|
|
330
346
|
if (rewrite.wordShare !== void 0) {
|
|
331
347
|
const share = Math.round(rewrite.wordShare * 100);
|
|
332
|
-
return `${where}
|
|
348
|
+
return `${where} ${holder} now holds text sharing ${String(share)}% of the claim's words at ${at}. Re-add it with cite add.`;
|
|
333
349
|
}
|
|
334
|
-
return `${where}
|
|
350
|
+
return `${where} ${holder} now holds different text than the claim at ${at}. Re-add it with cite add.`;
|
|
335
351
|
}
|
|
336
352
|
function recommitWhy(because) {
|
|
337
353
|
switch (because) {
|
|
@@ -348,6 +364,9 @@ function rewriteLine(rewrite) {
|
|
|
348
364
|
if (rewrite.end === "marker") {
|
|
349
365
|
return `marker line ${rewrite.from} -> ${rewrite.to} (misplaced)`;
|
|
350
366
|
}
|
|
367
|
+
if (rewrite.end === "claim" && rewrite.pointer !== void 0) {
|
|
368
|
+
return rewrite.reason === "moved" ? `claim #${rewrite.from} -> #${rewrite.to} (moved)` : `claim at #${rewrite.pointer} re-pinned (${status}; now "${rewrite.text ?? ""}")`;
|
|
369
|
+
}
|
|
351
370
|
if (rewrite.reason === "recommitted") {
|
|
352
371
|
const from = shortCommit(rewrite.fromCommit ?? "");
|
|
353
372
|
const to = shortCommit(rewrite.toCommit ?? "");
|
|
@@ -540,4 +559,4 @@ export {
|
|
|
540
559
|
releasesCell,
|
|
541
560
|
renderHistoryPretty
|
|
542
561
|
};
|
|
543
|
-
//# sourceMappingURL=chunk-
|
|
562
|
+
//# sourceMappingURL=chunk-OIGFV4BG.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/cite/reporters/pretty.ts"],"sourcesContent":["/**\n * Pretty output for `check`, `update`, `remove` and `history`.\n *\n * A citation is one row: its name, its claim end, its source end, and, when a\n * manifest owns the entry, where that is. Both ends read in file lines, the\n * only lines a person sees. Marks: ✓ current, ✗ error, ↕ warning, ℹ notice,\n * · skipped or baselined; a file line is ✓, ✗ (an error), ⚠ (a warning, no\n * error) or ℹ (notices only). Diffs, commit subjects and a changed claim's\n * current lines print only under `showDiff`; a decrypted path only under\n * `reveal`. Colour via `shouldColor`; never under `--no-color`/`NO_COLOR`.\n */\nimport type { ValidationResult } from \"../../meta/index.js\";\nimport { palette } from \"../../shared/color.js\";\nimport { guidanceLines } from \"../../shared/guidance.js\";\nimport { errorSite, messageFor, remedyFor } from \"../core/adapt.js\";\nimport { parseSrc } from \"../core/range.js\";\nimport { shortCommit, shortPin, shortSrc, spellAt } from \"../core/spell.js\";\nimport { impactLines } from \"../../strategy/index.js\";\nimport type {\n CheckRun,\n CitationFinding,\n CitationResult,\n HistoryRun,\n PageCitationReport,\n RecommitReason,\n StaleWindow,\n Removal,\n RemoveRun,\n UpdateRewrite,\n UpdateRun,\n} from \"../types.js\";\n\nexport interface PrettyOptions {\n color: boolean;\n quiet?: boolean;\n showDiff?: boolean;\n reveal?: boolean;\n /** `remove --dry-run`: the footer says what the run would have removed. */\n dryRun?: boolean;\n}\n\n/** Diff lines printed under a `changed` row before the rest is elided. */\nexport const DIFF_LINE_CAP = 60;\n\nconst plural = (n: number, one: string, many = `${one}s`): string =>\n `${String(n)} ${n === 1 ? one : many}`;\n\n/** A finding's mark, by severity: ✗ error, ↕ warning, ℹ notice. */\nfunction severityMark(severity: CitationFinding[\"severity\"], c: ReturnType<typeof palette>): string {\n switch (severity) {\n case \"error\":\n return c.red(\"✗\");\n case \"warning\":\n return c.yellow(\"↕\");\n case \"notice\":\n return c.dim(\"ℹ\");\n }\n}\n\n/** A page's findings, split into the ones the baseline let through and the ones it forgave. */\nexport interface SplitFindings {\n reported: CitationFinding[];\n baselined: CitationFinding[];\n}\n\n/**\n * Which of a page's findings the run actually reported.\n *\n * The baseline works on the adapted `ValidationResult`: a forgiven finding is\n * removed from `errors` and counted in `baselined`, while `pages[].findings`\n * keeps every finding the check produced. So a finding is baselined exactly\n * when no error in the adapted result is left to account for it. Each error\n * is consumed once, so two identical findings need two identical errors.\n */\nexport function splitBaselined(\n page: PageCitationReport,\n result: ValidationResult | undefined,\n): SplitFindings {\n if (result === undefined) return { reported: [...page.findings], baselined: [] };\n const pool = [...result.errors];\n const out: SplitFindings = { reported: [], baselined: [] };\n for (const finding of page.findings) {\n const instancePath =\n finding.index === undefined ? \"\" : `/citations/${String(finding.index)}`;\n // A finding that sits on a manifest carries that file's line, and one\n // whose manifest lies outside the tree carries no line at all.\n const line = errorSite(finding).line;\n const at = pool.findIndex(\n (e) =>\n e.keyword === finding.rule &&\n e.instancePath === instancePath &&\n e.message === finding.message &&\n (e.line ?? null) === (line ?? null),\n );\n if (at === -1) {\n out.baselined.push(finding);\n } else {\n pool.splice(at, 1);\n out.reported.push(finding);\n }\n }\n return out;\n}\n\n/** The adapted result for a page: same position first, then by file label. */\nexport function resultFor(run: CheckRun, index: number): ValidationResult | undefined {\n const page = run.pages[index];\n if (page === undefined) return undefined;\n const aligned = run.results[index];\n if (aligned !== undefined && aligned.file === page.file) return aligned;\n return run.results.find((r) => r.file === page.file);\n}\n\n/** Whether a finding is about this citation. Every entry has an index, in either channel. */\nfunction belongsTo(finding: CitationFinding, result: CitationResult): boolean {\n return finding.index !== undefined && finding.index === result.origin.index;\n}\n\n/** `<id>`, else nothing: the ends say which entry it is. */\nfunction labelOf(result: CitationResult): string {\n return result.citation.id ?? \"\";\n}\n\n/** A page-level finding's label: its id, its index, or the source it names. */\nfunction labelOfFinding(finding: CitationFinding): string {\n if (finding.id !== undefined) return finding.id;\n if (finding.index !== undefined) return `#${String(finding.index)}`;\n return finding.src ?? \"page\";\n}\n\n/** Whether the entry spelled this source encrypted. */\nfunction citesEncrypted(src: string): boolean {\n try {\n return parseSrc(src).encrypted;\n } catch {\n return false;\n }\n}\n\n/**\n * The claim end column: where it is, in file lines, and how it reads. A marker\n * says where it is and, when it is misplaced, where it belongs. Its claim\n * status reads bare: the marker's own line is what a reader acts on.\n */\nfunction claimColumn(result: CitationResult): string {\n const { claim, marker } = result;\n if (claim?.pointer !== undefined) return pointerColumn({ ...claim, pointer: claim.pointer });\n const anchoredByMarker = result.anchor === \"marker\" && result.markerLine !== undefined;\n const moves = marker?.misplaced === undefined ? \"\" : ` -> :${String(marker.misplaced.to)}`;\n const where = anchoredByMarker\n ? `marker :${String(result.markerLine ?? 0)}${moves}`\n : claim?.fileLines === undefined\n ? \"\"\n : `:${claim.fileLines}`;\n if (claim === null) return where;\n let status: string;\n switch (claim.status) {\n case \"moved\":\n status = anchoredByMarker ? \"moved\" : `moved -> :${claim.newFileLines ?? \"?\"}`;\n break;\n case \"moved-ambiguous\": {\n const at = (claim.candidateFileLines ?? []).map((lines) => `:${lines}`);\n status = `moved, ${plural(at.length, \"candidate\")} (${at.join(\", \")})`;\n break;\n }\n case \"reanchored\": {\n const since = claim.commitSha === undefined ? \"\" : ` since ${shortCommit(claim.commitSha)}`;\n const to = claim.newFileLines === undefined ? \"\" : ` -> :${claim.newFileLines}`;\n status = `reanchored${since}${to}`;\n break;\n }\n case \"changed\":\n status = changedText(claim);\n break;\n default:\n status = claim.status;\n }\n return where === \"\" ? status : `${where} ${status}`;\n}\n\n/** A pointer claim's column: `#/pains/0` and how it reads, as lines read `:14 current` (0108). */\nfunction pointerColumn(claim: NonNullable<CitationResult[\"claim\"]> & { pointer: string }): string {\n const at = `#${claim.pointer}`;\n switch (claim.status) {\n case \"moved\":\n return `${at} moved -> #${claim.newPointer ?? \"?\"}`;\n case \"moved-ambiguous\":\n return `${at} moved-ambiguous (${(claim.candidates ?? []).map((p) => `#${p}`).join(\", \")})`;\n case \"changed\":\n return `${at} ${changedText(claim)}`;\n default:\n return `${at} ${claim.status}`;\n }\n}\n\n/** How a changed claim's column says since when, as the source column does. */\nfunction changedText(claim: NonNullable<CitationResult[\"claim\"]>): string {\n if (claim.historyAvailable === false) return \"changed (history unavailable; fetch-depth: 0)\";\n if (claim.commitSha === undefined) return \"changed\";\n const since = claim.commitsSince ?? [];\n const count = since.length === 0 ? \"uncommitted\" : plural(since.length, \"commit\");\n return `changed since ${shortCommit(claim.commitSha)}, ${count}`;\n}\n\n/**\n * The source end column: the source as the entry spelled it, plus the\n * decrypted path only under `reveal`, and only beside an encrypted source,\n * the one spelling that hides it.\n */\nfunction sourceColumn(\n result: CitationResult,\n opts: PrettyOptions,\n dim: (s: string) => string,\n): string {\n const { source } = result;\n const src = shortSrc(source.src);\n const encrypted = citesEncrypted(source.src);\n const reveal = (path: string | undefined): string =>\n opts.reveal === true && path !== undefined && encrypted ? ` ${dim(`(${path})`)}` : \"\";\n // A source that followed its text to another file has a second ciphertext\n // in the message, and `--reveal` is the one place either is a path.\n return `${src}${reveal(source.resolvedPath)} ${messageFor(source)}${reveal(source.resolvedNewPath)}`;\n}\n\n/** The subjects and diff under a changed source, dim, the diff capped. */\nfunction diffLines(result: CitationResult, dim: (s: string) => string): string[] {\n const out: string[] = [];\n for (const subject of result.source.commitsSince ?? []) out.push(dim(` ${subject}`));\n const diff = result.source.diff;\n if (diff === undefined || diff === \"\") return out;\n const lines = diff.split(/\\r?\\n/);\n while (lines.length > 0 && lines[lines.length - 1] === \"\") lines.pop();\n const shown = lines.slice(0, DIFF_LINE_CAP);\n for (const line of shown) out.push(dim(` ${line}`));\n const more = lines.length - shown.length;\n if (more > 0) out.push(dim(` … (${plural(more, \"more line\")})`));\n return out;\n}\n\n/**\n * What `--show-diff` adds under a claim row: the page's commit subjects since\n * the baseline and the claim's own diff. With no baseline there is no diff to\n * print, so a changed claim shows the lines it covers now instead.\n */\nfunction claimLines(result: CitationResult, dim: (s: string) => string): string[] {\n const claim = result.claim;\n const diff = claim?.diff;\n if (claim === null || diff === undefined || diff === \"\") {\n return capped(claim?.text ?? [], dim);\n }\n const out: string[] = [];\n for (const subject of claim.commitsSince ?? []) out.push(dim(` ${subject}`));\n return [...out, ...capped(diff.split(/\\r?\\n/), dim)];\n}\n\n/** Lines under a row, dim and capped, with a count of the ones left out. */\nfunction capped(lines: readonly string[], dim: (s: string) => string): string[] {\n const shown = lines.slice(0, DIFF_LINE_CAP);\n const out = shown.map((line) => dim(` ${line}`));\n const more = lines.length - shown.length;\n if (more > 0) out.push(dim(` … (${plural(more, \"more line\")})`));\n return out;\n}\n\n/**\n * The line a row sorts on: the marker's line for a marker-anchored entry,\n * else the claim's first file line. That is the line the row opens with, so\n * the claim column climbs down the page. A bare pin anchors nowhere and has\n * none.\n */\nfunction anchorSortLine(result: CitationResult): number | undefined {\n if (result.anchor === \"marker\" && result.markerLine !== undefined) return result.markerLine;\n const first = result.claim?.fileLines?.split(\"-\")[0];\n if (first === undefined) return undefined;\n const line = Number.parseInt(first, 10);\n return Number.isNaN(line) ? undefined : line;\n}\n\n/**\n * A page's citations in the order their rows print: by anchor line, with the\n * bare pins after them in the order the page keeps them. The entries\n * themselves are left alone, so json and the findings keep frontmatter order.\n */\nfunction rowOrder(citations: readonly CitationResult[]): CitationResult[] {\n return [...citations].sort((a, b) => {\n const left = anchorSortLine(a);\n const right = anchorSortLine(b);\n if (left === undefined) return right === undefined ? 0 : 1;\n if (right === undefined) return -1;\n return left - right;\n });\n}\n\n/** One row of a page's citation table, before the columns are padded. */\ninterface Row {\n mark: string;\n label: string;\n claim: string;\n source: string;\n where: string;\n /** Lines printed under the row: findings that are not an end, and diffs. */\n under: string[];\n}\n\n/**\n * The one manifest every citation of a page came from, or `undefined` when\n * the page has none, or when its rows come from more than one place (a\n * frontmatter entry among them counts as another place).\n */\nfunction oneManifest(citations: readonly CitationResult[]): string | undefined {\n const files = new Set(\n citations.map((result) => (result.origin.kind === \"manifest\" ? result.origin.file : undefined)),\n );\n const [only, ...rest] = [...files];\n return rest.length === 0 ? only : undefined;\n}\n\nfunction padTo(text: string, width: number, plain: number): string {\n // Colour codes are not width, so the visible length is passed in.\n return width <= plain ? text : text + \" \".repeat(width - plain);\n}\n\nexport function renderCheckPretty(run: CheckRun, opts: PrettyOptions): string {\n const c = palette(opts.color);\n const lines: string[] = [];\n const quiet = opts.quiet ?? false;\n // A finding about an entry a manifest owns names the manifest, because\n // its line is a line of that file and not of the page above it.\n const location = (finding: CitationFinding): string => {\n const { file, line } = errorSite(finding);\n if (line === undefined) return \"\";\n if (file === undefined) return c.dim(` (line ${String(line)})`);\n return c.dim(` (${file}:${String(line)})`);\n };\n // The rule behind a finding, dim, two spaces deeper than the finding's line.\n const guidance = (finding: CitationFinding, indent: number): string[] =>\n guidanceLines(finding.guidance).map((line) => `${\" \".repeat(indent)}${c.dim(line)}`);\n\n run.pages.forEach((page, index) => {\n const { reported, baselined } = splitBaselined(page, resultFor(run, index));\n const errors = reported.filter((f) => f.severity === \"error\").length;\n const warned = reported.some((f) => f.severity === \"warning\");\n // \"baselined\" is a participle, not a noun: 1 baselined, 2 baselined.\n const forgiven =\n baselined.length > 0 ? c.dim(` (${String(baselined.length)} baselined)`) : \"\";\n // Every row names one manifest: a page's own under `{page}` (proposal\n // 0058), or a shared one. Said once on the page's line, not on each row.\n const manifest = oneManifest(page.citations);\n const heading = manifest === undefined ? page.file : `${page.file} ${c.dim(manifest)}`;\n\n if (reported.length === 0) {\n if (quiet) return;\n lines.push(`${c.green(\"✓\")} ${heading}${forgiven}`);\n } else {\n // The most severe finding marks the file. Only ✗ is a failure.\n const mark = errors > 0 ? c.red(\"✗\") : warned ? c.yellow(\"⚠\") : c.dim(\"ℹ\");\n lines.push(`${mark} ${heading}${forgiven}`);\n }\n\n const isBaselined = new Set(baselined);\n const placed = new Set<CitationFinding>();\n const rows: Row[] = [];\n\n for (const result of rowOrder(page.citations)) {\n const own = page.findings.filter((f) => belongsTo(f, result) && !placed.has(f));\n for (const finding of own) placed.add(finding);\n const live = own.filter((f) => !isBaselined.has(f));\n if (own.length === 0 && quiet) continue;\n const worst =\n live.find((f) => f.severity === \"error\") ??\n live.find((f) => f.severity === \"warning\") ??\n live[0];\n const mark =\n worst !== undefined\n ? severityMark(worst.severity, c)\n : own.length > 0\n ? c.dim(\"·\")\n : result.source.status === \"skipped\" && result.claim === null\n ? c.dim(\"·\")\n : c.green(\"✓\");\n\n // The ends are the row; anything else about the entry is a line under\n // it. A misplaced marker is part of the row too: it reads there as\n // `marker :<line> -> :<place>`.\n const endRules = new Set([\"claim-\", \"source-\", \"marker-misplaced\"]);\n const under: string[] = [];\n for (const finding of own) {\n const isEnd = [...endRules].some((prefix) => finding.rule.startsWith(prefix));\n if (isEnd) {\n // The row says the status; what to do and the rule go under it.\n // finding.message carries the remedy too, for the formats that print\n // one line per finding, but the row prints the status alone, so the\n // remedy is derived here rather than cut back out of the message.\n if (isBaselined.has(finding)) continue;\n const remedy = remedyFor(finding.rule, result);\n if (remedy !== undefined) under.push(` ${remedy}`);\n under.push(...guidance(finding, 6));\n continue;\n }\n const text = isBaselined.has(finding)\n ? c.dim(`${finding.message} (baselined)`)\n : finding.message;\n under.push(` ${severityMark(finding.severity, c)} ${text}${location(finding)}`);\n if (!isBaselined.has(finding)) under.push(...guidance(finding, 8));\n }\n if (opts.showDiff) {\n if (own.some((f) => f.rule === \"source-changed\")) under.push(...diffLines(result, c.dim));\n if (own.some((f) => f.rule === \"claim-changed\" || f.rule === \"claim-reanchored\")) {\n under.push(...claimLines(result, c.dim));\n }\n }\n const forgivenEnd = own.length > 0 && live.length === 0 ? c.dim(\" (baselined)\") : \"\";\n rows.push({\n mark,\n label: labelOf(result),\n claim: claimColumn(result),\n source: `${sourceColumn(result, opts, c.dim)}${forgivenEnd}`,\n where:\n result.origin.kind === \"manifest\" && manifest === undefined\n ? `${result.origin.file}${result.origin.line === undefined ? \"\" : `:${String(result.origin.line)}`}`\n : \"\",\n under,\n });\n }\n\n // Columns are as wide as this page needs them, and no wider.\n const width = (pick: (row: Row) => string): number =>\n rows.reduce((n, row) => Math.max(n, pick(row).length), 0);\n const labelWidth = width((row) => row.label);\n const claimWidth = width((row) => row.claim);\n const anyWhere = rows.some((row) => row.where !== \"\");\n const sourceWidth = anyWhere ? width((row) => row.source) : 0;\n for (const row of rows) {\n const label = padTo(c.cyan(row.label), labelWidth, row.label.length);\n const source = padTo(row.source, sourceWidth, row.source.length);\n const text = ` ${row.mark} ${label} ${padTo(row.claim, claimWidth, row.claim.length)} ${source}${row.where === \"\" ? \"\" : ` ${c.dim(row.where)}`}`;\n lines.push(text.replace(/\\s+$/, \"\"));\n lines.push(...row.under);\n }\n\n // Findings about no entry: a marker naming nothing, a reserved page key.\n for (const finding of page.findings) {\n if (placed.has(finding)) continue;\n const label = c.cyan(labelOfFinding(finding));\n if (isBaselined.has(finding)) {\n lines.push(\n ` ${c.dim(\"·\")} ${label} ${c.dim(`${finding.message} (baselined)`)}${location(finding)}`,\n );\n continue;\n }\n lines.push(` ${severityMark(finding.severity, c)} ${label} ${finding.message}${location(finding)}`);\n lines.push(...guidance(finding, 6));\n }\n });\n\n // Whom the pages with findings serve (proposal 0105): uncoloured, and under -q too.\n const impact = impactLines(run.impact?.entries ?? []);\n if (impact.length > 0) {\n if (lines.length > 0) lines.push(\"\");\n lines.push(...impact);\n }\n\n const { summary } = run;\n const warnings = summary.warnings ?? 0;\n const notices = summary.notices ?? 0;\n const baselined = summary.baseline?.suppressed ?? 0;\n const findings = summary.errors + warnings + notices + baselined;\n const parts = [plural(findings, \"finding\")];\n if (warnings > 0) parts.push(`(${plural(warnings, \"warning\")})`);\n if (notices > 0) parts.push(`(${plural(notices, \"notice\")})`);\n if (baselined > 0) parts.push(`(${String(baselined)} baselined)`);\n const summaryText = `${plural(summary.files, \"file\")} checked, ${String(summary.passed)} passed, ${String(summary.failed)} failed, ${parts.join(\" \")}`;\n if (lines.length > 0) lines.push(\"\");\n lines.push(summary.failed > 0 ? c.red(summaryText) : c.green(summaryText));\n if (summary.baseline?.written) {\n lines.push(c.dim(`Baseline written to ${summary.baseline.path}`));\n }\n return lines.join(\"\\n\");\n}\n\n/** `line 9`, or `lines 9-12`, from a line spec. */\nfunction spellAtSpec(spec: string): string {\n const span = spanOf(spec);\n return span === undefined ? `lines ${spec}` : spellAt(span);\n}\n\n/** A line spec as numbers, or undefined when it does not read as one. */\nfunction spanOf(spec: string): { start: number; end: number } | undefined {\n const [first, second] = spec.split(\"-\");\n const start = Number(first);\n const end = second === undefined ? start : Number(second);\n if (!Number.isFinite(start) || !Number.isFinite(end)) return undefined;\n return { start, end };\n}\n\n/**\n * What a re-pin over the unit newly covers, so the widening is in the log as\n * well as in the diff. A span that only lost marker lines gains nothing, and\n * says that instead.\n */\nfunction widening(held: string, now: string): string {\n const was = spanOf(held);\n const is = spanOf(now);\n if (was === undefined || is === undefined) return \"\";\n const parts: string[] = [];\n if (is.start < was.start) {\n parts.push(spellAt({ start: is.start, end: Math.min(was.start - 1, is.end) }));\n }\n if (is.end > was.end) {\n parts.push(spellAt({ start: Math.max(was.end + 1, is.start), end: is.end }));\n }\n if (parts.length === 0) return \", which held a marker line\";\n return `, ${parts.join(\" and \")} newly pinned`;\n}\n\n/** Whether a re-pin covered a span other than the stored one. */\nfunction widened(rewrite: UpdateRewrite): boolean {\n return (\n rewrite.fromLines !== undefined &&\n rewrite.toLines !== undefined &&\n rewrite.fromLines !== rewrite.toLines\n );\n}\n\n/** `lines 9 -> 9-12` for a re-pin that moved, `at line 9` for one that did not. */\nfunction movedSpan(rewrite: UpdateRewrite): string {\n if (widened(rewrite)) return `lines ${rewrite.fromLines ?? \"\"} -> ${rewrite.toLines ?? \"\"}`;\n const at = rewrite.toLines ?? rewrite.fromLines ?? String(rewrite.at ?? 0);\n return `at ${spellAtSpec(at)}`;\n}\n\n/**\n * What one claim `--accept` refused to re-pin says, and what to do about it.\n * The line names which test refused it: the share is printed when overlap is\n * what fired, and the text is called different when no sentence was shared.\n */\nexport function refusalLine(rewrite: UpdateRewrite): string {\n const at = shortCommit(rewrite.commitSha ?? \"\");\n // A metadata value is named by its pointer, and is a value, not a line (0108).\n const pointer = rewrite.pointer;\n const where = `claim at ${pointer === undefined ? spellAtSpec(String(rewrite.at ?? 0)) : `#${pointer}`} skipped:`;\n const holder = pointer === undefined ? \"that line\" : \"that value\";\n if (rewrite.wordShare !== undefined) {\n const share = Math.round(rewrite.wordShare * 100);\n return `${where} ${holder} now holds text sharing ${String(share)}% of the claim's words at ${at}. Re-add it with cite add.`;\n }\n return `${where} ${holder} now holds different text than the claim at ${at}. Re-add it with cite add.`;\n}\n\n/**\n * Why a pin was re-committed, as its row says it. Exhaustive, so a new reason\n * is a type error here rather than a row that quietly reads as the old one. No\n * reason at all is the containment case, which is all `--recommit` once knew.\n */\nfunction recommitWhy(because: RecommitReason | undefined): string {\n switch (because) {\n case \"not-in-history\":\n return \"not in this branch's history\";\n case \"not-contained\":\n case undefined:\n return \"did not contain the pinned lines\";\n }\n}\n\n/** What one rewritten end says it did. */\nexport function rewriteLine(rewrite: UpdateRewrite): string {\n const word = rewrite.from.includes(\"-\") ? \"lines\" : \"line\";\n const status = rewrite.status === \"never-true\" ? \"never true\" : rewrite.status;\n if (rewrite.end === \"marker\") {\n return `marker line ${rewrite.from} -> ${rewrite.to} (misplaced)`;\n }\n // A metadata value: moved between pointers, or re-pinned at one (0108).\n if (rewrite.end === \"claim\" && rewrite.pointer !== undefined) {\n return rewrite.reason === \"moved\"\n ? `claim #${rewrite.from} -> #${rewrite.to} (moved)`\n : `claim at #${rewrite.pointer} re-pinned (${status}; now \"${rewrite.text ?? \"\"}\")`;\n }\n // The pin held; only its date was wrong. The row names both commits, so the\n // log says what the entry claimed before it was corrected.\n if (rewrite.reason === \"recommitted\") {\n const from = shortCommit(rewrite.fromCommit ?? \"\");\n const to = shortCommit(rewrite.toCommit ?? \"\");\n return `source ${shortSrc(rewrite.src ?? \"\")} commit ${from} -> ${to} (${recommitWhy(rewrite.because)})`;\n }\n if (rewrite.reason === \"shifted\") {\n return `claim ${word} ${rewrite.from} -> ${rewrite.to} (shifted by a marker)`;\n }\n // The words held while the anchor moved (0053). A claim-lines entry moved\n // onto its new run, so the row names both spans.\n if (rewrite.reason === \"re-anchored\" && rewrite.status === \"reanchored\") {\n const since = rewrite.commitSha === undefined ? \"\" : ` since ${shortCommit(rewrite.commitSha)}`;\n return `claim ${movedSpan(rewrite)} re-pinned (reanchored; words unchanged${since})`;\n }\n if (rewrite.reason === \"re-anchored\") {\n const held = rewrite.lines ?? \"\";\n const now = rewrite.newLines ?? \"\";\n return `claim re-pinned over ${spellAtSpec(now)} (moved; was ${spellAtSpec(held)}${widening(held, now)})`;\n }\n if (rewrite.reason === \"moved\") {\n return rewrite.end === \"claim\"\n ? `claim ${word} ${rewrite.from} -> ${rewrite.to} (moved)`\n : `source ${shortSrc(rewrite.from)} -> ${shortSrc(rewrite.to)} (moved)`;\n }\n if (rewrite.end === \"claim\") {\n // A re-pin over a unit wider than the stored lines names both spans, so\n // the widening is in the log as well as in the diff.\n if (widened(rewrite)) {\n return `claim ${movedSpan(rewrite)} re-pinned (${status}; now \"${rewrite.text ?? \"\"}\")`;\n }\n // A marker anchors its claim, so the marker's line is where the entry is,\n // as `check` reports it. A claim-lines entry reads at the claim.\n const where =\n rewrite.markerLine === undefined\n ? `line ${String(rewrite.at ?? 0)}`\n : `marker line ${String(rewrite.markerLine)}`;\n return `claim at ${where} re-pinned (${status}; now \"${rewrite.text ?? \"\"}\")`;\n }\n const at = rewrite.commitSha === undefined ? \"\" : ` at ${shortCommit(rewrite.commitSha)}`;\n const src = shortSrc(rewrite.src ?? \"\");\n // A re-mint over the span the old first and last line now bracket names both\n // ranges, so the log says which lines were accepted.\n const where = rewrite.toLines === undefined ? src : `${src} -> ${atLines(src, rewrite.toLines)}`;\n return `source ${where} re-pinned${at} (${status}; ${shortPin(rewrite.from)} -> ${shortPin(rewrite.to)})`;\n}\n\n/** The same source spelled at other lines: `path:200-212` and `\"200-215\"` read `path:200-215`. */\nfunction atLines(src: string, lines: string): string {\n const colon = src.lastIndexOf(\":\");\n return `${colon === -1 ? src : src.slice(0, colon)}:${lines}`;\n}\n\nexport function renderUpdatePretty(run: UpdateRun, opts: PrettyOptions): string {\n const c = palette(opts.color);\n const lines: string[] = [];\n let files = 0;\n for (const page of run.pages) {\n if (page.rewritten.length > 0) files += 1;\n if (opts.showDiff && page.diff !== \"\") {\n for (const line of page.diff.split(/\\r?\\n/)) {\n if (line !== \"\") lines.push(c.dim(line));\n }\n }\n for (const rewrite of page.rewritten) {\n const label = rewrite.id ?? `#${String(rewrite.index)}`;\n lines.push(`${page.file}: ${c.cyan(label)} ${rewriteLine(rewrite)}`);\n }\n // A claim `--accept` refused reads beside the rewrites, because it is the\n // one row `--accept` was asked for and did not write.\n for (const rewrite of page.refused) {\n const label = rewrite.id ?? `#${String(rewrite.index)}`;\n lines.push(`${page.file}: ${c.cyan(label)} ${refusalLine(rewrite)}`);\n }\n for (const finding of page.skipped) {\n const mark = severityMark(finding.severity, c);\n lines.push(\n `${page.file}: ${c.cyan(labelOfFinding(finding))} ${mark} skipped: ${finding.message}`,\n );\n }\n }\n // The manifests, after the pages: a dry run owes the diff of every file it\n // would have written, and an entry a manifest owns is written there.\n if (opts.showDiff) {\n for (const manifest of run.manifests ?? []) {\n for (const line of manifest.diff.split(/\\r?\\n/)) {\n if (line !== \"\") lines.push(c.dim(line));\n }\n }\n }\n const summary = `${plural(run.rewritten, \"citation\")} rewritten in ${plural(files, \"file\")}, ${String(run.skipped)} skipped`;\n lines.push(run.exitCode === 0 ? c.green(summary) : c.red(summary));\n return lines.join(\"\\n\");\n}\n\n/** `line 30`, or `lines 30 and 42` for several, as a sentence reads them. */\nfunction spellLineList(at: readonly number[], noun: string): string {\n // No lines is the noun alone. Every caller has at least one, and a\n // sentence reading \"lines and \" would be the only sign that one did not.\n if (at.length === 0) return noun;\n const spelled = at.map((line) => String(line));\n if (spelled.length === 1) return `${noun} ${spelled[0] ?? \"\"}`;\n const last = spelled[spelled.length - 1] ?? \"\";\n return `${noun}s ${spelled.slice(0, -1).join(\", \")} and ${last}`;\n}\n\n/** What one removal says it did: the entry, where it was kept, and its markers. */\nexport function removalLine(removal: Removal, c: ReturnType<typeof palette>): string {\n const markers = spellLineList(removal.markerLines, \"line\");\n if (removal.origin === undefined) {\n // A marker naming no entry: there is nothing else to report about it.\n const named = removal.markerLines.length === 1 ? \"the marker\" : \"the markers\";\n return `removed ${named} ${c.cyan(removal.id ?? \"\")} at ${markers}, which named no entry`;\n }\n const name = removal.id ?? `/citations/${String(removal.index ?? 0)}`;\n const where =\n removal.origin.kind === \"manifest\"\n ? `${removal.origin.file}${removal.origin.line === undefined ? \"\" : `:${String(removal.origin.line)}`}`\n : \"frontmatter\";\n const also =\n removal.markerLines.length === 0\n ? \"\"\n : `, and ${removal.markerLines.length === 1 ? \"its marker\" : \"its markers\"} at ${markers}`;\n return `removed ${c.cyan(name)} from ${where}${also}`;\n}\n\nexport function renderRemovePretty(run: RemoveRun, opts: PrettyOptions): string {\n const c = palette(opts.color);\n const lines: string[] = [];\n let files = 0;\n for (const page of run.pages) {\n if (page.removed.length > 0) files += 1;\n if (opts.showDiff && page.diff !== \"\") {\n for (const line of page.diff.split(/\\r?\\n/)) {\n if (line !== \"\") lines.push(c.dim(line));\n }\n }\n for (const removal of page.removed) {\n lines.push(`${page.file}: ${removalLine(removal, c)}`);\n }\n }\n // The manifests, after the pages, as `update` prints them.\n if (opts.showDiff) {\n for (const manifest of run.manifests ?? []) {\n for (const line of manifest.diff.split(/\\r?\\n/)) {\n if (line !== \"\") lines.push(c.dim(line));\n }\n }\n }\n const verb = opts.dryRun === true ? \"would be removed\" : \"removed\";\n lines.push(c.green(`${plural(run.removed, \"citation\")} ${verb} from ${plural(files, \"file\")}`));\n return lines.join(\"\\n\");\n}\n\n/** `45 minutes`, `5 hours` or `47 days`: minutes under an hour, hours under two days. */\nexport function staleFor(seconds: number): string {\n if (seconds < 3600) return plural(Math.round(seconds / 60), \"minute\");\n if (seconds < 2 * 86400) return plural(Math.round(seconds / 3600), \"hour\");\n return plural(Math.round(seconds / 86400), \"day\");\n}\n\n/** A window's releases: up to three by name, more as a range, none as `-`. */\nexport function releasesCell(names: readonly string[]): string {\n const [first] = names;\n const last = names[names.length - 1];\n if (first === undefined || last === undefined) return \"-\";\n if (names.length <= 3) return names.join(\", \");\n return `${first} through ${last} (${String(names.length)} releases)`;\n}\n\nconst CAUSES: Record<NonNullable<StaleWindow[\"closed\"]>[\"by\"], string> = {\n \"re-pinned\": \"closed by a re-pin\",\n \"source-restored\": \"closed when the source was restored\",\n removed: \"closed when the entry was removed\",\n};\n\n/**\n * `history`: one row per stale window under its page, a dim line naming the\n * commits, the rule and the cause, then the totals.\n */\nexport function renderHistoryPretty(run: HistoryRun, opts: Pick<PrettyOptions, \"color\">): string {\n const c = palette(opts.color);\n const { summary } = run;\n const lines: string[] = [];\n const walked = `Walked ${plural(summary.walked.commits, \"commit\")}, ${summary.walked.from.slice(0, 10)} to ${summary.walked.to.slice(0, 10)}.`;\n if (summary.windows === 0) {\n lines.push(`No stale windows on ${plural(summary.citations, \"citation\")} in ${plural(summary.files, \"page\")}.`, walked);\n return lines.join(\"\\n\");\n }\n const word = { error: c.red, warning: c.yellow, notice: c.dim } as const;\n const cited = new Set<string>();\n let pages = 0;\n for (const page of run.pages) {\n if (page.windows.length === 0) continue;\n pages += 1;\n lines.push(page.file);\n for (const window of page.windows) {\n cited.add(`${page.file}\\0${window.id}`);\n const open = window.closed === null ? \", open\" : \"\";\n lines.push(\n ` ${word[window.severity](window.severity)} ${window.id} ${shortSrc(window.source)} stale ${staleFor(window.seconds)}${open} ${releasesCell(window.releases)}`,\n );\n const span = `${shortCommit(window.opened.commit)}..${window.closed === null ? \"HEAD\" : shortCommit(window.closed.commit)}`;\n const bounded = window.opened.bounded ? \", bounded\" : \"\";\n const cause = window.closed === null ? \"still open at HEAD\" : CAUSES[window.closed.by];\n const formerly = window.formerly.length === 0 ? \"\" : ` (formerly ${window.formerly.join(\", \")})`;\n lines.push(`${\" \".repeat(4 + window.severity.length)}${c.dim(`${span} ${window.rule}${bounded}, ${cause}${formerly}`)}`);\n }\n }\n const open = summary.open === 0 ? \"none\" : String(summary.open);\n lines.push(\n \"\",\n `${plural(summary.windows, \"stale window\")} on ${plural(cited.size, \"citation\")} in ${plural(pages, \"page\")}, ${open} open. ${(summary.staleSeconds / 3600).toFixed(1)} stale pin-hours.`,\n );\n const [first] = summary.releases;\n const last = summary.releases[summary.releases.length - 1];\n if (first !== undefined && last !== undefined) {\n const named = summary.releases.length <= 3 ? summary.releases.join(\", \") : `${first} through ${last}`;\n lines.push(`${plural(summary.releases.length, \"release\")} shipped a stale pin: ${named}.`);\n }\n lines.push(walked);\n return lines.join(\"\\n\");\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AA0CO,IAAM,gBAAgB;AAE7B,IAAM,SAAS,CAAC,GAAW,KAAa,OAAO,GAAG,GAAG,QACnD,GAAG,OAAO,CAAC,CAAC,IAAI,MAAM,IAAI,MAAM,IAAI;AAGtC,SAAS,aAAa,UAAuC,GAAuC;AAClG,UAAQ,UAAU;AAAA,IAChB,KAAK;AACH,aAAO,EAAE,IAAI,QAAG;AAAA,IAClB,KAAK;AACH,aAAO,EAAE,OAAO,QAAG;AAAA,IACrB,KAAK;AACH,aAAO,EAAE,IAAI,QAAG;AAAA,EACpB;AACF;AAiBO,SAAS,eACd,MACA,QACe;AACf,MAAI,WAAW,OAAW,QAAO,EAAE,UAAU,CAAC,GAAG,KAAK,QAAQ,GAAG,WAAW,CAAC,EAAE;AAC/E,QAAM,OAAO,CAAC,GAAG,OAAO,MAAM;AAC9B,QAAM,MAAqB,EAAE,UAAU,CAAC,GAAG,WAAW,CAAC,EAAE;AACzD,aAAW,WAAW,KAAK,UAAU;AACnC,UAAM,eACJ,QAAQ,UAAU,SAAY,KAAK,cAAc,OAAO,QAAQ,KAAK,CAAC;AAGxE,UAAM,OAAO,UAAU,OAAO,EAAE;AAChC,UAAM,KAAK,KAAK;AAAA,MACd,CAAC,MACC,EAAE,YAAY,QAAQ,QACtB,EAAE,iBAAiB,gBACnB,EAAE,YAAY,QAAQ,YACrB,EAAE,QAAQ,WAAW,QAAQ;AAAA,IAClC;AACA,QAAI,OAAO,IAAI;A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AAQ;AACxB,QAAM,OAAO,QAAQ,SAAS,QAAQ,SAAS,SAAS,CAAC;AACzD,MAAI,UAAU,UAAa,SAAS,QAAW;AAC7C,UAAM,QAAQ,QAAQ,SAAS,UAAU,IAAI,QAAQ,SAAS,KAAK,IAAI,IAAI,GAAG,KAAK,YAAY,IAAI;AACnG,UAAM,KAAK,GAAG,OAAO,QAAQ,SAAS,QAAQ,SAAS,CAAC,yBAAyB,KAAK,GAAG;AAAA,EAC3F;AACA,QAAM,KAAK,MAAM;AACjB,SAAO,MAAM,KAAK,IAAI;AACxB;","names":["baselined","where","open"]}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// package.json
|
|
4
4
|
var package_default = {
|
|
5
5
|
name: "@hawkeyexl/manni",
|
|
6
|
-
version: "4.
|
|
6
|
+
version: "4.25.0",
|
|
7
7
|
description: "One command line for documentation that is meant to be checked. `manni meta` validates the presence and format of document metadata (Markdown frontmatter and more) against JSON Schema, built for CI. Formerly docmeta.",
|
|
8
8
|
type: "module",
|
|
9
9
|
bin: {
|
|
@@ -183,4 +183,4 @@ var package_default = {
|
|
|
183
183
|
export {
|
|
184
184
|
package_default
|
|
185
185
|
};
|
|
186
|
-
//# sourceMappingURL=chunk-
|
|
186
|
+
//# sourceMappingURL=chunk-PMRBTUCZ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../package.json"],"sourcesContent":["{\n \"name\": \"@hawkeyexl/manni\",\n \"version\": \"4.
|
|
1
|
+
{"version":3,"sources":["../package.json"],"sourcesContent":["{\n \"name\": \"@hawkeyexl/manni\",\n \"version\": \"4.25.0\",\n \"description\": \"One command line for documentation that is meant to be checked. `manni meta` validates the presence and format of document metadata (Markdown frontmatter and more) against JSON Schema, built for CI. Formerly docmeta.\",\n \"type\": \"module\",\n \"bin\": {\n \"manni\": \"dist/cli.js\",\n \"docmeta\": \"dist/docmeta.js\"\n },\n \"main\": \"dist/index.js\",\n \"module\": \"dist/index.js\",\n \"types\": \"dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"types\": \"./dist/index.d.ts\",\n \"import\": \"./dist/index.js\"\n },\n \"./graph/runtime\": {\n \"types\": \"./dist/graph/runtime.d.ts\",\n \"import\": \"./dist/graph/runtime.js\"\n },\n \"./graph/embed\": {\n \"types\": \"./dist/graph/embed.d.ts\",\n \"import\": \"./dist/graph/embed.js\"\n },\n \"./site/rehype\": {\n \"types\": \"./dist/site/rehype.d.ts\",\n \"import\": \"./dist/site/rehype.js\"\n },\n \"./package.json\": \"./package.json\"\n },\n \"files\": [\n \"dist\",\n \"schemas\",\n \"plugin\",\n \"shapes\",\n \"templates\"\n ],\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/hawkeyexl/manni.git\"\n },\n \"homepage\": \"https://hawkeyexl.github.io/manni/\",\n \"bugs\": {\n \"url\": \"https://github.com/hawkeyexl/manni/issues\"\n },\n \"publishConfig\": {\n \"access\": \"public\"\n },\n \"engines\": {\n \"node\": \">=24\"\n },\n \"scripts\": {\n \"prebuild\": \"npm run check:deps\",\n \"build\": \"node scripts/clean-dist.mjs && tsup\",\n \"dev\": \"node scripts/clean-dist.mjs && tsup --watch\",\n \"pretest\": \"npm run check:deps\",\n \"test\": \"vitest run\",\n \"test:watch\": \"vitest\",\n \"test:graph:real\": \"vitest run --config vitest.graph-real.config.ts\",\n \"test:term:real\": \"vitest run --config vitest.term-real.config.ts\",\n \"test:coverage\": \"vitest run --coverage\",\n \"pretypecheck\": \"npm run check:deps\",\n \"typecheck\": \"tsc --noEmit\",\n \"lint\": \"eslint .\",\n \"check:deps\": \"node scripts/check-deps.mjs\",\n \"query:ui\": \"npm run build && node dist/cli.js meta query --db .manni/meta/query.db && node scripts/query-ui.mjs .manni/meta/query.db\",\n \"check:tgdp-pin\": \"node scripts/lint-check-tgdp-pin.mjs\",\n \"smoke:lint\": \"npm run build && node scripts/lint-smoke.mjs\",\n \"docs:check-cli\": \"node scripts/check-cli-reference.mjs\",\n \"docs:check-action\": \"node scripts/check-action-reference.mjs\",\n \"docs:check-api\": \"node scripts/check-api-reference.mjs\",\n \"docs:check-links\": \"node scripts/check-doc-links.mjs\",\n \"docs:check-docevals\": \"node dist/cli.js docevals run --deterministic-only --no-generate\",\n \"docs:check-graph\": \"node scripts/check-docs-graph.mjs\",\n \"docs:check-tables\": \"node scripts/check-table-rows.mjs\",\n \"docs:check-versions\": \"node scripts/check-versions.mjs\",\n \"docs:sync-versions\": \"node scripts/sync-versions.mjs\",\n \"schemas:sync\": \"node scripts/sync-builtin-schemas.mjs\",\n \"schemas:check\": \"node scripts/check-builtin-schemas.mjs\",\n \"schemas:check-published\": \"node scripts/check-published-schemas.mjs\",\n \"commitlint\": \"commitlint --edit\",\n \"semantic-release\": \"semantic-release\",\n \"prepare\": \"node scripts/prepare.mjs\",\n \"prepublishOnly\": \"npm run build\"\n },\n \"keywords\": [\n \"frontmatter\",\n \"metadata\",\n \"json-schema\",\n \"markdown\",\n \"validation\",\n \"cli\",\n \"ci\",\n \"okf\"\n ],\n \"license\": \"MIT\",\n \"overrides\": {\n \"esbuild\": \"^0.28.2\"\n },\n \"dependencies\": {\n \"@apidevtools/json-schema-ref-parser\": \"^16.0.5\",\n \"@asciidoctor/core\": \"^4.1.1\",\n \"@axe-core/playwright\": \"^4.14.0\",\n \"@hawkeyexl/inference\": \"^0.5.0\",\n \"@inquirer/prompts\": \"^8.7.4\",\n \"@types/n3\": \"^1.26.5\",\n \"@xmldom/xmldom\": \"^0.9.12\",\n \"ajv\": \"^8.17.1\",\n \"ajv-draft-04\": \"^1.0.0\",\n \"ajv-formats\": \"^3.0.1\",\n \"commander\": \"^15.0.0\",\n \"fast-glob\": \"^3.3.2\",\n \"github-slugger\": \"^2.0.0\",\n \"jsonld\": \"^9.0.0\",\n \"mdast-util-to-string\": \"^4.0.0\",\n \"minisearch\": \"^7.2.0\",\n \"n3\": \"^2.13.12\",\n \"parse5\": \"^8.0.1\",\n \"picocolors\": \"^1.1.1\",\n \"picomatch\": \"^4.0.7\",\n \"playwright-core\": \"^1.64.1\",\n \"rdf-validate-shacl\": \"^0.6.5\",\n \"remark-frontmatter\": \"^5.0.0\",\n \"remark-gfm\": \"^4.0.1\",\n \"remark-mdx\": \"^3.1.1\",\n \"remark-parse\": \"^11.0.0\",\n \"smol-toml\": \"^1.9.1\",\n \"unified\": \"^11.0.5\",\n \"unist-util-visit\": \"^5.1.0\",\n \"yaml\": \"^2.9.1\"\n },\n \"devDependencies\": {\n \"@commitlint/cli\": \"^21.2.4\",\n \"@commitlint/config-conventional\": \"^21.2.4\",\n \"@comunica/query-sparql-rdfjs-lite\": \"^5.3.0\",\n \"@eslint/js\": \"^10.0.1\",\n \"@rdfjs/types\": \"^2.0.1\",\n \"@semantic-release/changelog\": \"^6.0.3\",\n \"@semantic-release/commit-analyzer\": \"^13.0.1\",\n \"@semantic-release/git\": \"^10.0.1\",\n \"@semantic-release/github\": \"^12.0.10\",\n \"@semantic-release/npm\": \"^13.2.0\",\n \"@semantic-release/release-notes-generator\": \"^14.1.1\",\n \"@types/jsonld\": \"^1.5.15\",\n \"@types/mdast\": \"^4.0.4\",\n \"@types/node\": \"^26.6.5\",\n \"@types/picomatch\": \"^4.0.3\",\n \"@types/unist\": \"^3.0.3\",\n \"@types/yauzl\": \"^3.4.0\",\n \"@vitest/coverage-v8\": \"^5.0.5\",\n \"eslint\": \"^10.13.0\",\n \"globals\": \"^17.13.0\",\n \"husky\": \"^9.1.7\",\n \"rdfxml-streaming-parser\": \"^3.3.0\",\n \"semantic-release\": \"^25.0.9\",\n \"tsup\": \"^9.0.0\",\n \"typescript\": \"^6.0.3\",\n \"typescript-eslint\": \"^8.72.0\",\n \"vitest\": \"^5.0.5\",\n \"yauzl\": \"^3.4.0\"\n },\n \"optionalDependencies\": {\n \"@modelcontextprotocol/sdk\": \"^1.32.1\"\n },\n \"peerDependencies\": {\n \"@huggingface/transformers\": \">=4\",\n \"node-llama-cpp\": \"^3.19.0\"\n },\n \"peerDependenciesMeta\": {\n \"@huggingface/transformers\": {\n \"optional\": true\n },\n \"node-llama-cpp\": {\n \"optional\": true\n }\n }\n}\n"],"mappings":";;;AAAA;AAAA,EACE,MAAQ;AAAA,EACR,SAAW;AAAA,EACX,aAAe;AAAA,EACf,MAAQ;AAAA,EACR,KAAO;AAAA,IACL,OAAS;AAAA,IACT,SAAW;AAAA,EACb;AAAA,EACA,MAAQ;AAAA,EACR,QAAU;AAAA,EACV,OAAS;AAAA,EACT,SAAW;AAAA,IACT,KAAK;AAAA,MACH,OAAS;AAAA,MACT,QAAU;AAAA,IACZ;AAAA,IACA,mBAAmB;AAAA,MACjB,OAAS;AAAA,MACT,QAAU;AAAA,IACZ;AAAA,IACA,iBAAiB;AAAA,MACf,OAAS;AAAA,MACT,QAAU;AAAA,IACZ;AAAA,IACA,iBAAiB;AAAA,MACf,OAAS;AAAA,MACT,QAAU;AAAA,IACZ;AAAA,IACA,kBAAkB;AAAA,EACpB;AAAA,EACA,OAAS;AAAA,IACP;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACF;AAAA,EACA,YAAc;AAAA,IACZ,MAAQ;AAAA,IACR,KAAO;AAAA,EACT;AAAA,EACA,UAAY;AAAA,EACZ,MAAQ;AAAA,IACN,KAAO;AAAA,EACT;AAAA,EACA,eAAiB;AAAA,IACf,QAAU;AAAA,EACZ;AAAA,EACA,SAAW;AAAA,IACT,MAAQ;AAAA,EACV;AAAA,EACA,SAAW;AAAA,IACT,UAAY;AAAA,IACZ,OAAS;AAAA,IACT,KAAO;AAAA,IACP,SAAW;AAAA,IACX,MAAQ;AAAA,IACR,cAAc;AAAA,IACd,mBAAmB;AAAA,IACnB,kBAAkB;AAAA,IAClB,iBAAiB;AAAA,IACjB,cAAgB;AAAA,IAChB,WAAa;AAAA,IACb,MAAQ;AAAA,IACR,cAAc;AAAA,IACd,YAAY;AAAA,IACZ,kBAAkB;AAAA,IAClB,cAAc;AAAA,IACd,kBAAkB;AAAA,IAClB,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C,yBAAyB;AAAA,IACzB,4BAA4B;AAAA,IAC5B,yBAAyB;AAAA,IACzB,6CAA6C;AAAA,IAC7C,iBAAiB;AAAA,IACjB,gBAAgB;AAAA,IAChB,eAAe;AAAA,IACf,oBAAoB;AAAA,IACpB,gBAAgB;AAAA,IAChB,gBAAgB;AAAA,IAChB,uBAAuB;AAAA,IACvB,QAAU;AAAA,IACV,SAAW;AAAA,IACX,OAAS;AAAA,IACT,2BAA2B;AAAA,IAC3B,oBAAoB;AAAA,IACpB,MAAQ;AAAA,IACR,YAAc;AAAA,IACd,qBAAqB;AAAA,IACrB,QAAU;AAAA,IACV,OAAS;AAAA,EACX;AAAA,EACA,sBAAwB;AAAA,IACtB,6BAA6B;AAAA,EAC/B;AAAA,EACA,kBAAoB;AAAA,IAClB,6BAA6B;AAAA,IAC7B,kBAAkB;AAAA,EACpB;AAAA,EACA,sBAAwB;AAAA,IACtB,6BAA6B;AAAA,MAC3B,UAAY;AAAA,IACd;AAAA,IACA,kBAAkB;AAAA,MAChB,UAAY;AAAA,IACd;AAAA,EACF;AACF;","names":[]}
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
suppressGraphOutput,
|
|
6
6
|
userFacing,
|
|
7
7
|
withExternalMetadata
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ADZH6SFC.js";
|
|
9
9
|
import {
|
|
10
10
|
canonicalLanguageTag
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-X64BY7TV.js";
|
|
12
12
|
import {
|
|
13
13
|
GRAPH_NOT_APPLICABLE_TO_VARIANT,
|
|
14
14
|
GRAPH_NOT_SOFTWARE_SUBJECT,
|
|
@@ -53,21 +53,21 @@ import {
|
|
|
53
53
|
resolveDocumentSet,
|
|
54
54
|
resolveRelative,
|
|
55
55
|
routesFrom
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-6RFNXPVZ.js";
|
|
57
57
|
import {
|
|
58
58
|
readRecord,
|
|
59
59
|
sameRecordId
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-WMJ2FXYV.js";
|
|
61
61
|
import {
|
|
62
62
|
spellLines,
|
|
63
63
|
writeTextAtomic
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-2LF3NIWH.js";
|
|
65
65
|
import {
|
|
66
66
|
termLabelSource
|
|
67
67
|
} from "./chunk-DSWKBZWW.js";
|
|
68
68
|
import {
|
|
69
69
|
package_default
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-PMRBTUCZ.js";
|
|
71
71
|
import {
|
|
72
72
|
errorMessage
|
|
73
73
|
} from "./chunk-G3T47CFV.js";
|
|
@@ -1335,4 +1335,4 @@ export {
|
|
|
1335
1335
|
runBuild,
|
|
1336
1336
|
buildGraph
|
|
1337
1337
|
};
|
|
1338
|
-
//# sourceMappingURL=chunk-
|
|
1338
|
+
//# sourceMappingURL=chunk-PYCKKLN2.js.map
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
resultFor,
|
|
4
4
|
splitBaselined
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OIGFV4BG.js";
|
|
6
6
|
import {
|
|
7
7
|
errorSite
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3ZWKN3JF.js";
|
|
9
9
|
import {
|
|
10
10
|
escapeWorkflowCommandMessage,
|
|
11
11
|
escapeWorkflowCommandProperty,
|
|
@@ -56,4 +56,4 @@ export {
|
|
|
56
56
|
findingMessage,
|
|
57
57
|
renderCheckGithub
|
|
58
58
|
};
|
|
59
|
-
//# sourceMappingURL=chunk-
|
|
59
|
+
//# sourceMappingURL=chunk-PZLJQE2S.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
discoverArtifacts
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6T4AJ2L6.js";
|
|
5
5
|
import {
|
|
6
6
|
parseHookPayload,
|
|
7
7
|
readStdin
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
relPosix,
|
|
13
13
|
sha256Hex,
|
|
14
14
|
writeManifest
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XWPKJD45.js";
|
|
16
16
|
import {
|
|
17
17
|
loadConfig
|
|
18
18
|
} from "./chunk-3ZVRGBK6.js";
|
|
@@ -212,4 +212,4 @@ export {
|
|
|
212
212
|
runCapture,
|
|
213
213
|
renderCapture
|
|
214
214
|
};
|
|
215
|
-
//# sourceMappingURL=chunk-
|
|
215
|
+
//# sourceMappingURL=chunk-Q44S7QYO.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
metaProvenanceEntries
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WMJ2FXYV.js";
|
|
5
5
|
import {
|
|
6
6
|
__default3 as __default,
|
|
7
7
|
extractFrontmatter
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IQ4YRTPO.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-
|
|
409
|
+
//# sourceMappingURL=chunk-R3EJQKGM.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
canonicalLanguageTag,
|
|
4
4
|
parseLocalizations
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-X64BY7TV.js";
|
|
6
6
|
import {
|
|
7
7
|
GRAPH_NOT_APPLICABLE_TO_VARIANT,
|
|
8
8
|
GRAPH_NOT_SOFTWARE_SUBJECT,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
RDF_TYPE,
|
|
13
13
|
SOFTWARE_SUBJECT_IRIS,
|
|
14
14
|
byCodeUnit
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6RFNXPVZ.js";
|
|
16
16
|
|
|
17
17
|
// src/graph/core/vector-index.ts
|
|
18
18
|
var MAGIC = new Uint8Array([77, 71, 82, 86]);
|
|
@@ -1337,4 +1337,4 @@ export {
|
|
|
1337
1337
|
artifactContext,
|
|
1338
1338
|
createRetriever
|
|
1339
1339
|
};
|
|
1340
|
-
//# sourceMappingURL=chunk-
|
|
1340
|
+
//# sourceMappingURL=chunk-RIKCEIS7.js.map
|
|
@@ -11,10 +11,13 @@ import {
|
|
|
11
11
|
movedUnit,
|
|
12
12
|
remedyFor,
|
|
13
13
|
shortCommit,
|
|
14
|
+
spellPointer,
|
|
14
15
|
toValidationResult,
|
|
15
16
|
unitText,
|
|
17
|
+
valueAt,
|
|
18
|
+
valueText,
|
|
16
19
|
withRemedy
|
|
17
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3ZWKN3JF.js";
|
|
18
21
|
import {
|
|
19
22
|
CITE_RULES,
|
|
20
23
|
CiteError,
|
|
@@ -31,12 +34,12 @@ import {
|
|
|
31
34
|
sliceLines,
|
|
32
35
|
sourceRange,
|
|
33
36
|
spellSource
|
|
34
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-BNCI4B5B.js";
|
|
35
38
|
import {
|
|
36
39
|
impactOf,
|
|
37
40
|
loadServing,
|
|
38
41
|
servesSentence
|
|
39
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-A7Z74ZVA.js";
|
|
40
43
|
import {
|
|
41
44
|
ANY_FENCE,
|
|
42
45
|
MAX_RANGE_LINES,
|
|
@@ -63,7 +66,7 @@ import {
|
|
|
63
66
|
spellLines,
|
|
64
67
|
splitLines,
|
|
65
68
|
toBodyLines
|
|
66
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-2LF3NIWH.js";
|
|
67
70
|
import {
|
|
68
71
|
STDIN_LABEL,
|
|
69
72
|
STDIN_TOKEN,
|
|
@@ -77,7 +80,7 @@ import {
|
|
|
77
80
|
resolveTargetSet,
|
|
78
81
|
settleBaseline,
|
|
79
82
|
supportedExtensions
|
|
80
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-IQ4YRTPO.js";
|
|
81
84
|
import {
|
|
82
85
|
SEVERITIES
|
|
83
86
|
} from "./chunk-77AINBYM.js";
|
|
@@ -186,7 +189,8 @@ function pinOf(lines, span) {
|
|
|
186
189
|
function readThen(input, text) {
|
|
187
190
|
const then = readPage(input.page.file, text, { format: input.page.format });
|
|
188
191
|
const lines = splitLines(then.content);
|
|
189
|
-
|
|
192
|
+
const claim = input.entry.citation.claim;
|
|
193
|
+
if (claim?.lines !== void 0 || claim?.pointer !== void 0) return { page: then, lines };
|
|
190
194
|
const id = input.entry.citation.id;
|
|
191
195
|
if (id === void 0) return void 0;
|
|
192
196
|
const marker = then.statements.find(
|
|
@@ -208,6 +212,12 @@ function anchorHeldAt(input, then) {
|
|
|
208
212
|
if (end === null || end.status !== "current" && end.status !== "moved") {
|
|
209
213
|
return { kind: "absent" };
|
|
210
214
|
}
|
|
215
|
+
if (end.pointer !== void 0) {
|
|
216
|
+
const at = end.newPointer ?? end.pointer;
|
|
217
|
+
const held = valueAt(then.page.metadata.data, at);
|
|
218
|
+
if (held === void 0) return { kind: "absent" };
|
|
219
|
+
return { kind: "found", span: { start: 1, end: 1 }, lines: [valueText(held.value)], at: spellPointer(at) };
|
|
220
|
+
}
|
|
211
221
|
for (const spec of [end.fileLines, end.newFileLines]) {
|
|
212
222
|
const span = spec === void 0 ? void 0 : parseLines(spec);
|
|
213
223
|
if (span !== void 0 && pinOf(then.lines, span) === pin) {
|
|
@@ -280,7 +290,7 @@ async function claimHistory(input) {
|
|
|
280
290
|
words: claimWords(found.lines, format),
|
|
281
291
|
pageWords: claimWords(then.lines.slice(then.page.bodyLine - 1), format),
|
|
282
292
|
lines: found.lines,
|
|
283
|
-
at: spellLines(found.span)
|
|
293
|
+
at: found.at ?? spellLines(found.span)
|
|
284
294
|
};
|
|
285
295
|
};
|
|
286
296
|
const examined = [];
|
|
@@ -363,6 +373,9 @@ function refineClaim(input) {
|
|
|
363
373
|
const at = claim.fileLines ?? history.at;
|
|
364
374
|
return withDiff(same ? { ...base, status: "reanchored" } : base, { at, lines: now2 });
|
|
365
375
|
}
|
|
376
|
+
if (claim.pointer !== void 0) {
|
|
377
|
+
return withDiff(base, { at: spellPointer(claim.pointer), lines: claim.text ?? [] });
|
|
378
|
+
}
|
|
366
379
|
if (entry.citation.claim?.lines === void 0) {
|
|
367
380
|
const now2 = claim.text ?? [];
|
|
368
381
|
const w12 = claimWords(now2, format);
|
|
@@ -1054,7 +1067,7 @@ function insideOf(lines, block) {
|
|
|
1054
1067
|
}
|
|
1055
1068
|
async function quoteFindings(input, entry, result) {
|
|
1056
1069
|
const { citation } = entry;
|
|
1057
|
-
if (citation.quote !== true || result.anchor === null) return [];
|
|
1070
|
+
if (citation.quote !== true || result.anchor === null || citation.claim?.pointer !== void 0) return [];
|
|
1058
1071
|
const id = citation.id;
|
|
1059
1072
|
const named = (text) => id === void 0 ? text : `${id}: ${text}`;
|
|
1060
1073
|
const { page } = input;
|
|
@@ -1113,7 +1126,7 @@ function markerEnd(entry, misplaced) {
|
|
|
1113
1126
|
}
|
|
1114
1127
|
function anchorOf(entry, claim, page) {
|
|
1115
1128
|
const { citation, marker } = entry;
|
|
1116
|
-
const hasLines = citation.claim?.lines !== void 0;
|
|
1129
|
+
const hasLines = citation.claim?.lines !== void 0 || citation.claim?.pointer !== void 0;
|
|
1117
1130
|
const out = { anchor: null };
|
|
1118
1131
|
if (marker !== void 0) out.markerLine = marker.line;
|
|
1119
1132
|
if (hasLines && marker !== void 0) return out;
|
|
@@ -1241,7 +1254,7 @@ async function checkCitations(page, opts) {
|
|
|
1241
1254
|
}
|
|
1242
1255
|
}
|
|
1243
1256
|
findings.push(...findingsFor(results, severity));
|
|
1244
|
-
for (const finding of findings) finding.guidance
|
|
1257
|
+
for (const finding of findings) finding.guidance ??= guidanceFor(finding.rule);
|
|
1245
1258
|
const wantsSourceHistory = checkSources ? new Set(
|
|
1246
1259
|
results.filter((r) => r.citation.source["commit-sha"] !== void 0 || r.source.status !== "current").map((r) => r.citation.source.repo)
|
|
1247
1260
|
) : /* @__PURE__ */ new Set();
|
|
@@ -2014,4 +2027,4 @@ export {
|
|
|
2014
2027
|
sayNotices,
|
|
2015
2028
|
runCheck
|
|
2016
2029
|
};
|
|
2017
|
-
//# sourceMappingURL=chunk-
|
|
2030
|
+
//# sourceMappingURL=chunk-S6TCOSAY.js.map
|