@hawkeyexl/manni 4.22.0 → 4.23.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-C3NN2YXB.js → batch-DPYBMRVD.js} +13 -13
- package/dist/{build-CEVEAHN7.js → build-LEKUMGEC.js} +13 -13
- package/dist/{calibrate-CSKPY5AK.js → calibrate-TYONPNG4.js} +14 -14
- package/dist/{capture-3HDBIHH6.js → capture-2EPHIAZT.js} +12 -12
- package/dist/check-ADCSXGBK.js +57 -0
- package/dist/{check-KGJBV42O.js → check-HWEDHABD.js} +10 -10
- package/dist/{check-MZSXCS2M.js → check-J2KQI7IW.js} +14 -14
- package/dist/check-L5AUSTE6.js +57 -0
- package/dist/{check-QNHLTYPN.js → check-SQVQE4E4.js} +13 -13
- package/dist/{chunk-6UHEMPEY.js → chunk-2GPF4OEF.js} +2 -2
- package/dist/{chunk-MR5JWMC2.js → chunk-2MOXVM6H.js} +2 -2
- package/dist/{chunk-E3HYSNS6.js → chunk-2QK25SLZ.js} +3 -3
- package/dist/{chunk-BLDL23RY.js → chunk-2UJOQ6CB.js} +9 -9
- package/dist/{chunk-S7V4F7HC.js → chunk-3CBGLUJX.js} +3 -3
- package/dist/{chunk-OHMLEITS.js → chunk-3USSSKLA.js} +2 -2
- package/dist/{chunk-A67EJ3J6.js → chunk-5JXA75XB.js} +45 -6
- package/dist/chunk-5JXA75XB.js.map +1 -0
- package/dist/{chunk-CQTESLC5.js → chunk-6QNA7UX2.js} +2 -2
- package/dist/{chunk-IDDRHB7E.js → chunk-6RENCXLC.js} +10 -5
- package/dist/chunk-6RENCXLC.js.map +1 -0
- package/dist/{chunk-ZT3ERG4B.js → chunk-72UN462G.js} +11 -3
- package/dist/chunk-72UN462G.js.map +1 -0
- package/dist/{chunk-ZKIXGFID.js → chunk-76Y3JATE.js} +2 -2
- package/dist/{chunk-ZTRC37NH.js → chunk-7M3MBFG7.js} +3 -3
- package/dist/{chunk-JA7DWOVV.js → chunk-7NSFGAAQ.js} +8 -7
- package/dist/chunk-7NSFGAAQ.js.map +1 -0
- package/dist/{chunk-PX7OTUNU.js → chunk-AJCUKL43.js} +5 -5
- package/dist/{chunk-4LYVTR2T.js → chunk-AOLCEULZ.js} +8 -8
- package/dist/{chunk-LCMBG4LY.js → chunk-AZKNB2T3.js} +4 -4
- package/dist/{chunk-VZSATUI7.js → chunk-B4ECIBLF.js} +3 -3
- package/dist/{chunk-CHTSA3YR.js → chunk-B4POKRCS.js} +5 -5
- package/dist/chunk-BA7BQBWV.js +311 -0
- package/dist/chunk-BA7BQBWV.js.map +1 -0
- package/dist/{chunk-XQKRD5A3.js → chunk-BOCJTOKA.js} +2 -2
- package/dist/{chunk-O6IDYZVW.js → chunk-C2QE4FSZ.js} +3 -3
- package/dist/{chunk-A5YUK3SG.js → chunk-CLUUSZDY.js} +10 -10
- package/dist/{chunk-Q7FFJMFO.js → chunk-CWPRB7SA.js} +5 -5
- package/dist/{chunk-WW4JATBJ.js → chunk-DWUK6YNX.js} +11 -11
- package/dist/{chunk-JVE5YQN4.js → chunk-E75CMOR3.js} +3 -3
- package/dist/{chunk-64DULZIG.js → chunk-EAF4K7IK.js} +3 -3
- package/dist/{chunk-64DULZIG.js.map → chunk-EAF4K7IK.js.map} +1 -1
- package/dist/{chunk-FXE5K56B.js → chunk-EBBJFXMX.js} +3 -3
- package/dist/{chunk-FTSNG6DZ.js → chunk-EPN67ZNX.js} +14 -14
- package/dist/{chunk-K5LBIAOM.js → chunk-FBIBR4CH.js} +10 -9
- package/dist/{chunk-ZX4TOTZS.js → chunk-FJYIPHWK.js} +3 -3
- package/dist/{chunk-V27DOGAO.js → chunk-GCHEVTCJ.js} +2 -2
- package/dist/{chunk-GMOAW2EG.js → chunk-GIHIONJH.js} +3 -2
- package/dist/chunk-GIHIONJH.js.map +1 -0
- package/dist/{chunk-QJJPTS6L.js → chunk-I4KDAO6P.js} +3 -3
- package/dist/{chunk-JL5FHNQK.js → chunk-JZWQQOUN.js} +6 -6
- package/dist/{chunk-LMS2RWDS.js → chunk-K4YR4PY2.js} +6 -6
- package/dist/{chunk-562QZKAB.js → chunk-KX6HRTLH.js} +2 -2
- package/dist/{chunk-ZW4YASUB.js → chunk-L3DOX3UL.js} +4 -4
- package/dist/{chunk-CPYQ4BJK.js → chunk-LHP56Q45.js} +5 -5
- package/dist/{chunk-57LZPG4V.js → chunk-LT3STF5K.js} +4 -4
- package/dist/{chunk-5LQX57BW.js → chunk-MGQNGW6I.js} +2 -2
- package/dist/{chunk-TJYJ4BNK.js → chunk-MPRVAMO3.js} +4 -4
- package/dist/{chunk-TR5TNPWT.js → chunk-N2T6RLSE.js} +2 -2
- package/dist/{chunk-TR5TNPWT.js.map → chunk-N2T6RLSE.js.map} +1 -1
- package/dist/{chunk-37Q7WEJJ.js → chunk-OL3Z7KPQ.js} +7 -7
- package/dist/{chunk-RAN3CF33.js → chunk-P6LRDWMJ.js} +12 -12
- package/dist/{chunk-IXFFVI5S.js → chunk-QJGPOFNB.js} +3 -3
- package/dist/{chunk-46MMIJWR.js → chunk-QJL57GPX.js} +2 -2
- package/dist/{chunk-2VLZDU4E.js → chunk-QR55QXJ7.js} +10 -10
- package/dist/{chunk-YB3KD5RI.js → chunk-QWVIGKBM.js} +2 -2
- package/dist/{chunk-KIUFBUUZ.js → chunk-RZ6OONZU.js} +4 -4
- package/dist/{chunk-UQI463L3.js → chunk-SZMJ24FR.js} +8 -8
- package/dist/{chunk-W5OZMYMX.js → chunk-TLY44PCL.js} +2 -2
- package/dist/{chunk-IC3FJWIF.js → chunk-TOVSR2YO.js} +2 -2
- package/dist/{chunk-XSP3TUFN.js → chunk-TVLIJ6ZM.js} +4 -4
- package/dist/{chunk-BY3635RR.js → chunk-UQYDLEBS.js} +7 -7
- package/dist/{chunk-TWYJ2TVS.js → chunk-VTJAY3WN.js} +5 -5
- package/dist/{chunk-EL2KNRC3.js → chunk-WHECOVH2.js} +3 -3
- package/dist/{chunk-63EQKVNT.js → chunk-WPHPLVS3.js} +16 -16
- package/dist/{chunk-SCKVDD4E.js → chunk-XVL7DYWM.js} +4 -4
- package/dist/{chunk-HYEKQ22B.js → chunk-Y4O737F7.js} +3 -3
- package/dist/{chunk-VSHMXMBZ.js → chunk-YBPXVBSY.js} +2 -2
- package/dist/{chunk-6SVHI2U6.js → chunk-YJHH2DHV.js} +2 -2
- package/dist/{chunk-XTMONCQE.js → chunk-YUCH6WJY.js} +2 -2
- package/dist/{cli-YGMXZ46V.js → cli-4R5HIGG4.js} +31 -16
- package/dist/{cli-YGMXZ46V.js.map → cli-4R5HIGG4.js.map} +1 -1
- package/dist/{cli-W7B2PNZO.js → cli-BF6KB3EJ.js} +32 -17
- package/dist/{cli-W7B2PNZO.js.map → cli-BF6KB3EJ.js.map} +1 -1
- package/dist/{cli-6476FRBK.js → cli-DXOHHWZK.js} +13 -13
- package/dist/{cli-FGCHGJYZ.js → cli-MPMECIQH.js} +143 -55
- package/dist/cli-MPMECIQH.js.map +1 -0
- package/dist/{cli-Z3ART5DN.js → cli-NDYBQ755.js} +18 -18
- package/dist/{cli-YINQL2NI.js → cli-SJA66MIP.js} +20 -20
- package/dist/{cli-7XT7O5YM.js → cli-TBAOKTMV.js} +13 -13
- package/dist/{cli-ULHJTJHH.js → cli-TWGGMUXX.js} +39 -27
- package/dist/{cli-ULHJTJHH.js.map → cli-TWGGMUXX.js.map} +1 -1
- package/dist/{cli-JE4LG35H.js → cli-V2BJYNMF.js} +2 -2
- package/dist/{cli-U3622DIB.js → cli-XGCK2LUV.js} +17 -17
- package/dist/{cli-4QAH3DBX.js → cli-XXN75A42.js} +7 -7
- package/dist/cli.js +15 -15
- package/dist/docmeta.js +6 -6
- package/dist/{github-YHJABBUI.js → github-NQQTH5JK.js} +14 -14
- package/dist/github-NWL2XGE7.js +48 -0
- package/dist/{github-64ZVAUIT.js → github-WBIEYSM7.js} +10 -10
- package/dist/index.d.ts +31 -2
- package/dist/index.js +117 -111
- package/dist/index.js.map +1 -1
- package/dist/{json-QNGJFUY2.js → json-IVHRVOGQ.js} +15 -15
- package/dist/{json-YTKUFNO3.js → json-J4TONMKY.js} +2 -2
- package/dist/{json-CVOVXB7O.js → json-QQAK73QQ.js} +10 -10
- package/dist/{labels-5WOKC3VR.js → labels-VI2I5YFD.js} +9 -9
- package/dist/{lint-OQGB4DWJ.js → lint-VB5A3ENL.js} +10 -10
- package/dist/{list-PN6JKYNX.js → list-3XRFX2Y3.js} +11 -11
- package/dist/{list-OQ3IYV2W.js → list-LMYCD5G5.js} +14 -14
- package/dist/{list-EDAB7X5Y.js → list-LOS7FTFD.js} +10 -10
- package/dist/{page-TPNMHL27.js → page-3Y4EGYUO.js} +9 -9
- package/dist/{prepare-3V2QYBKL.js → prepare-JK6XKBZB.js} +11 -11
- package/dist/{pretty-K3M4AW2D.js → pretty-DR4GHOJG.js} +10 -10
- package/dist/{pretty-HO2LYG5N.js → pretty-G2J5UEXC.js} +14 -14
- package/dist/pretty-GCEIQ3FP.js +65 -0
- package/dist/{reporters-YVLLFBO5.js → reporters-43LBUWEE.js} +9 -9
- package/dist/{reporters-4R2E7PRJ.js → reporters-OWYFZD4S.js} +4 -4
- package/dist/{run-H4BOR2FR.js → run-G6G55SWJ.js} +11 -11
- package/dist/{sarif-GWHWJJFP.js → sarif-CN7RSIKH.js} +8 -8
- package/dist/sarif-FR26WNVT.js +49 -0
- package/dist/{sarif-YBFD5OUL.js → sarif-GWTNYCZJ.js} +8 -8
- package/dist/strategy-3EZUOE2T.js +59 -0
- package/dist/{term-33YSMISR.js → term-5WITRS3M.js} +18 -18
- package/dist/{validate-6R5UBDGU.js → validate-TDIEFXRQ.js} +4 -4
- package/dist/validate-TDIEFXRQ.js.map +1 -0
- package/package.json +1 -1
- package/plugin/manni/.claude-plugin/plugin.json +1 -1
- package/dist/check-555TCJGF.js +0 -45
- package/dist/check-KXWHSCCR.js +0 -42
- package/dist/chunk-A67EJ3J6.js.map +0 -1
- package/dist/chunk-GMOAW2EG.js.map +0 -1
- package/dist/chunk-IDDRHB7E.js.map +0 -1
- package/dist/chunk-JA7DWOVV.js.map +0 -1
- package/dist/chunk-ZT3ERG4B.js.map +0 -1
- package/dist/cli-FGCHGJYZ.js.map +0 -1
- package/dist/github-ARGPMQD2.js +0 -32
- package/dist/pretty-EZ2NFU3C.js +0 -49
- package/dist/sarif-SJFVSOBV.js +0 -33
- package/dist/strategy-T56PH2VK.js +0 -205
- package/dist/strategy-T56PH2VK.js.map +0 -1
- /package/dist/{batch-C3NN2YXB.js.map → batch-DPYBMRVD.js.map} +0 -0
- /package/dist/{build-CEVEAHN7.js.map → build-LEKUMGEC.js.map} +0 -0
- /package/dist/{calibrate-CSKPY5AK.js.map → calibrate-TYONPNG4.js.map} +0 -0
- /package/dist/{capture-3HDBIHH6.js.map → capture-2EPHIAZT.js.map} +0 -0
- /package/dist/{check-555TCJGF.js.map → check-ADCSXGBK.js.map} +0 -0
- /package/dist/{check-KGJBV42O.js.map → check-HWEDHABD.js.map} +0 -0
- /package/dist/{check-KXWHSCCR.js.map → check-J2KQI7IW.js.map} +0 -0
- /package/dist/{check-MZSXCS2M.js.map → check-L5AUSTE6.js.map} +0 -0
- /package/dist/{check-QNHLTYPN.js.map → check-SQVQE4E4.js.map} +0 -0
- /package/dist/{chunk-6UHEMPEY.js.map → chunk-2GPF4OEF.js.map} +0 -0
- /package/dist/{chunk-MR5JWMC2.js.map → chunk-2MOXVM6H.js.map} +0 -0
- /package/dist/{chunk-E3HYSNS6.js.map → chunk-2QK25SLZ.js.map} +0 -0
- /package/dist/{chunk-BLDL23RY.js.map → chunk-2UJOQ6CB.js.map} +0 -0
- /package/dist/{chunk-S7V4F7HC.js.map → chunk-3CBGLUJX.js.map} +0 -0
- /package/dist/{chunk-OHMLEITS.js.map → chunk-3USSSKLA.js.map} +0 -0
- /package/dist/{chunk-CQTESLC5.js.map → chunk-6QNA7UX2.js.map} +0 -0
- /package/dist/{chunk-ZKIXGFID.js.map → chunk-76Y3JATE.js.map} +0 -0
- /package/dist/{chunk-ZTRC37NH.js.map → chunk-7M3MBFG7.js.map} +0 -0
- /package/dist/{chunk-PX7OTUNU.js.map → chunk-AJCUKL43.js.map} +0 -0
- /package/dist/{chunk-4LYVTR2T.js.map → chunk-AOLCEULZ.js.map} +0 -0
- /package/dist/{chunk-LCMBG4LY.js.map → chunk-AZKNB2T3.js.map} +0 -0
- /package/dist/{chunk-VZSATUI7.js.map → chunk-B4ECIBLF.js.map} +0 -0
- /package/dist/{chunk-CHTSA3YR.js.map → chunk-B4POKRCS.js.map} +0 -0
- /package/dist/{chunk-XQKRD5A3.js.map → chunk-BOCJTOKA.js.map} +0 -0
- /package/dist/{chunk-O6IDYZVW.js.map → chunk-C2QE4FSZ.js.map} +0 -0
- /package/dist/{chunk-A5YUK3SG.js.map → chunk-CLUUSZDY.js.map} +0 -0
- /package/dist/{chunk-Q7FFJMFO.js.map → chunk-CWPRB7SA.js.map} +0 -0
- /package/dist/{chunk-WW4JATBJ.js.map → chunk-DWUK6YNX.js.map} +0 -0
- /package/dist/{chunk-JVE5YQN4.js.map → chunk-E75CMOR3.js.map} +0 -0
- /package/dist/{chunk-FXE5K56B.js.map → chunk-EBBJFXMX.js.map} +0 -0
- /package/dist/{chunk-FTSNG6DZ.js.map → chunk-EPN67ZNX.js.map} +0 -0
- /package/dist/{chunk-K5LBIAOM.js.map → chunk-FBIBR4CH.js.map} +0 -0
- /package/dist/{chunk-ZX4TOTZS.js.map → chunk-FJYIPHWK.js.map} +0 -0
- /package/dist/{chunk-V27DOGAO.js.map → chunk-GCHEVTCJ.js.map} +0 -0
- /package/dist/{chunk-QJJPTS6L.js.map → chunk-I4KDAO6P.js.map} +0 -0
- /package/dist/{chunk-JL5FHNQK.js.map → chunk-JZWQQOUN.js.map} +0 -0
- /package/dist/{chunk-LMS2RWDS.js.map → chunk-K4YR4PY2.js.map} +0 -0
- /package/dist/{chunk-562QZKAB.js.map → chunk-KX6HRTLH.js.map} +0 -0
- /package/dist/{chunk-ZW4YASUB.js.map → chunk-L3DOX3UL.js.map} +0 -0
- /package/dist/{chunk-CPYQ4BJK.js.map → chunk-LHP56Q45.js.map} +0 -0
- /package/dist/{chunk-57LZPG4V.js.map → chunk-LT3STF5K.js.map} +0 -0
- /package/dist/{chunk-5LQX57BW.js.map → chunk-MGQNGW6I.js.map} +0 -0
- /package/dist/{chunk-TJYJ4BNK.js.map → chunk-MPRVAMO3.js.map} +0 -0
- /package/dist/{chunk-37Q7WEJJ.js.map → chunk-OL3Z7KPQ.js.map} +0 -0
- /package/dist/{chunk-RAN3CF33.js.map → chunk-P6LRDWMJ.js.map} +0 -0
- /package/dist/{chunk-IXFFVI5S.js.map → chunk-QJGPOFNB.js.map} +0 -0
- /package/dist/{chunk-46MMIJWR.js.map → chunk-QJL57GPX.js.map} +0 -0
- /package/dist/{chunk-2VLZDU4E.js.map → chunk-QR55QXJ7.js.map} +0 -0
- /package/dist/{chunk-YB3KD5RI.js.map → chunk-QWVIGKBM.js.map} +0 -0
- /package/dist/{chunk-KIUFBUUZ.js.map → chunk-RZ6OONZU.js.map} +0 -0
- /package/dist/{chunk-UQI463L3.js.map → chunk-SZMJ24FR.js.map} +0 -0
- /package/dist/{chunk-W5OZMYMX.js.map → chunk-TLY44PCL.js.map} +0 -0
- /package/dist/{chunk-IC3FJWIF.js.map → chunk-TOVSR2YO.js.map} +0 -0
- /package/dist/{chunk-XSP3TUFN.js.map → chunk-TVLIJ6ZM.js.map} +0 -0
- /package/dist/{chunk-BY3635RR.js.map → chunk-UQYDLEBS.js.map} +0 -0
- /package/dist/{chunk-TWYJ2TVS.js.map → chunk-VTJAY3WN.js.map} +0 -0
- /package/dist/{chunk-EL2KNRC3.js.map → chunk-WHECOVH2.js.map} +0 -0
- /package/dist/{chunk-63EQKVNT.js.map → chunk-WPHPLVS3.js.map} +0 -0
- /package/dist/{chunk-SCKVDD4E.js.map → chunk-XVL7DYWM.js.map} +0 -0
- /package/dist/{chunk-HYEKQ22B.js.map → chunk-Y4O737F7.js.map} +0 -0
- /package/dist/{chunk-VSHMXMBZ.js.map → chunk-YBPXVBSY.js.map} +0 -0
- /package/dist/{chunk-6SVHI2U6.js.map → chunk-YJHH2DHV.js.map} +0 -0
- /package/dist/{chunk-XTMONCQE.js.map → chunk-YUCH6WJY.js.map} +0 -0
- /package/dist/{cli-6476FRBK.js.map → cli-DXOHHWZK.js.map} +0 -0
- /package/dist/{cli-Z3ART5DN.js.map → cli-NDYBQ755.js.map} +0 -0
- /package/dist/{cli-YINQL2NI.js.map → cli-SJA66MIP.js.map} +0 -0
- /package/dist/{cli-7XT7O5YM.js.map → cli-TBAOKTMV.js.map} +0 -0
- /package/dist/{cli-JE4LG35H.js.map → cli-V2BJYNMF.js.map} +0 -0
- /package/dist/{cli-U3622DIB.js.map → cli-XGCK2LUV.js.map} +0 -0
- /package/dist/{cli-4QAH3DBX.js.map → cli-XXN75A42.js.map} +0 -0
- /package/dist/{github-64ZVAUIT.js.map → github-NQQTH5JK.js.map} +0 -0
- /package/dist/{github-ARGPMQD2.js.map → github-NWL2XGE7.js.map} +0 -0
- /package/dist/{github-YHJABBUI.js.map → github-WBIEYSM7.js.map} +0 -0
- /package/dist/{json-CVOVXB7O.js.map → json-IVHRVOGQ.js.map} +0 -0
- /package/dist/{json-QNGJFUY2.js.map → json-J4TONMKY.js.map} +0 -0
- /package/dist/{json-YTKUFNO3.js.map → json-QQAK73QQ.js.map} +0 -0
- /package/dist/{labels-5WOKC3VR.js.map → labels-VI2I5YFD.js.map} +0 -0
- /package/dist/{lint-OQGB4DWJ.js.map → lint-VB5A3ENL.js.map} +0 -0
- /package/dist/{list-EDAB7X5Y.js.map → list-3XRFX2Y3.js.map} +0 -0
- /package/dist/{list-OQ3IYV2W.js.map → list-LMYCD5G5.js.map} +0 -0
- /package/dist/{list-PN6JKYNX.js.map → list-LOS7FTFD.js.map} +0 -0
- /package/dist/{page-TPNMHL27.js.map → page-3Y4EGYUO.js.map} +0 -0
- /package/dist/{prepare-3V2QYBKL.js.map → prepare-JK6XKBZB.js.map} +0 -0
- /package/dist/{pretty-EZ2NFU3C.js.map → pretty-DR4GHOJG.js.map} +0 -0
- /package/dist/{pretty-HO2LYG5N.js.map → pretty-G2J5UEXC.js.map} +0 -0
- /package/dist/{pretty-K3M4AW2D.js.map → pretty-GCEIQ3FP.js.map} +0 -0
- /package/dist/{reporters-4R2E7PRJ.js.map → reporters-43LBUWEE.js.map} +0 -0
- /package/dist/{reporters-YVLLFBO5.js.map → reporters-OWYFZD4S.js.map} +0 -0
- /package/dist/{run-H4BOR2FR.js.map → run-G6G55SWJ.js.map} +0 -0
- /package/dist/{sarif-GWHWJJFP.js.map → sarif-CN7RSIKH.js.map} +0 -0
- /package/dist/{sarif-SJFVSOBV.js.map → sarif-FR26WNVT.js.map} +0 -0
- /package/dist/{sarif-YBFD5OUL.js.map → sarif-GWTNYCZJ.js.map} +0 -0
- /package/dist/{validate-6R5UBDGU.js.map → strategy-3EZUOE2T.js.map} +0 -0
- /package/dist/{term-33YSMISR.js.map → term-5WITRS3M.js.map} +0 -0
|
@@ -1,36 +1,59 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
idHash
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-YJHH2DHV.js";
|
|
5
|
+
import "./chunk-RZ6OONZU.js";
|
|
6
6
|
import {
|
|
7
7
|
readStdin
|
|
8
8
|
} from "./chunk-OZUPJB4J.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-YUCH6WJY.js";
|
|
10
10
|
import "./chunk-4TSWU2SU.js";
|
|
11
11
|
import "./chunk-VHJ72YCD.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-QJGPOFNB.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_CAPTURE_DIR
|
|
15
15
|
} from "./chunk-6WJUZQQX.js";
|
|
16
16
|
import "./chunk-ZINZTHWO.js";
|
|
17
|
-
import
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
import {
|
|
18
|
+
impactLines,
|
|
19
|
+
impactNotice
|
|
20
|
+
} from "./chunk-BA7BQBWV.js";
|
|
21
|
+
import "./chunk-7M3MBFG7.js";
|
|
22
|
+
import "./chunk-Y4O737F7.js";
|
|
23
|
+
import "./chunk-3CBGLUJX.js";
|
|
24
|
+
import "./chunk-76Y3JATE.js";
|
|
25
|
+
import "./chunk-WHECOVH2.js";
|
|
26
|
+
import "./chunk-FJYIPHWK.js";
|
|
27
|
+
import "./chunk-FBIBR4CH.js";
|
|
28
|
+
import "./chunk-LHP56Q45.js";
|
|
29
|
+
import "./chunk-XTKJNRJ6.js";
|
|
30
|
+
import "./chunk-TOVSR2YO.js";
|
|
31
|
+
import "./chunk-TI4DA6DF.js";
|
|
32
|
+
import "./chunk-QJL57GPX.js";
|
|
33
|
+
import "./chunk-VSDXZAQU.js";
|
|
34
|
+
import "./chunk-INOVEO32.js";
|
|
35
|
+
import "./chunk-EBBJFXMX.js";
|
|
36
|
+
import "./chunk-B4ECIBLF.js";
|
|
37
|
+
import "./chunk-AZKNB2T3.js";
|
|
38
|
+
import "./chunk-2QK25SLZ.js";
|
|
21
39
|
import {
|
|
22
40
|
memberOf,
|
|
23
41
|
retainMembers
|
|
24
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-KX6HRTLH.js";
|
|
25
43
|
import "./chunk-DSWKBZWW.js";
|
|
26
44
|
import {
|
|
27
45
|
extractorForExtension,
|
|
28
46
|
resolveTargetSet,
|
|
29
47
|
supportedExtensions,
|
|
30
48
|
withSharedWalks
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-QWVIGKBM.js";
|
|
50
|
+
import "./chunk-77AINBYM.js";
|
|
51
|
+
import {
|
|
52
|
+
escapeWorkflowCommandMessage,
|
|
53
|
+
escapeWorkflowCommandProperty
|
|
54
|
+
} from "./chunk-QK6VYJHV.js";
|
|
33
55
|
import {
|
|
56
|
+
palette,
|
|
34
57
|
shouldColor
|
|
35
58
|
} from "./chunk-RNVYGWIC.js";
|
|
36
59
|
import {
|
|
@@ -41,13 +64,13 @@ import {
|
|
|
41
64
|
readFamilyConfigFile
|
|
42
65
|
} from "./chunk-JF4BC7ZD.js";
|
|
43
66
|
import {
|
|
44
|
-
|
|
67
|
+
noticeOnce,
|
|
45
68
|
warn
|
|
46
69
|
} from "./chunk-HX44GB4Z.js";
|
|
47
70
|
import "./chunk-NVYDWVXN.js";
|
|
48
71
|
import {
|
|
49
72
|
package_default
|
|
50
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-N2T6RLSE.js";
|
|
51
74
|
import {
|
|
52
75
|
programName
|
|
53
76
|
} from "./chunk-OWBRDNRZ.js";
|
|
@@ -346,8 +369,8 @@ function ownSchemaCount(cwd, members) {
|
|
|
346
369
|
return n;
|
|
347
370
|
}
|
|
348
371
|
async function citedPages(cwd, configPath) {
|
|
349
|
-
const { prepareRun, readTarget } = await import("./check-
|
|
350
|
-
const { readPage } = await import("./page-
|
|
372
|
+
const { prepareRun, readTarget } = await import("./check-L5AUSTE6.js");
|
|
373
|
+
const { readPage } = await import("./page-3Y4EGYUO.js");
|
|
351
374
|
const prepared = await prepareRun({ inputs: [], configPath, cwd, checkSources: false }, "checked", "check");
|
|
352
375
|
let n = 0;
|
|
353
376
|
for (const file of prepared.files) {
|
|
@@ -374,21 +397,21 @@ async function row(domain, family, cwd, members) {
|
|
|
374
397
|
return n > 0 ? inPlay(pages(n, "carries citations", "carry citations")) : notSetUp;
|
|
375
398
|
}
|
|
376
399
|
case "docevals": {
|
|
377
|
-
const { runList: listEvals } = await import("./list-
|
|
400
|
+
const { runList: listEvals } = await import("./list-3XRFX2Y3.js");
|
|
378
401
|
const { plans } = await listEvals([], { config: configPath, cwd });
|
|
379
402
|
const n = plans.filter((p) => !p.skip && p.evals.length > 0).length;
|
|
380
403
|
if (n === 0) return notSetUp;
|
|
381
404
|
return inPlay(section ? "docevals: section" : pages(n, "declares evals", "declare evals"));
|
|
382
405
|
}
|
|
383
406
|
case "term": {
|
|
384
|
-
const { runList: listTerms } = await import("./list-
|
|
407
|
+
const { runList: listTerms } = await import("./list-LOS7FTFD.js");
|
|
385
408
|
const { terms } = await listTerms({ inputs: [], configPath, cwd, allowEmpty: true });
|
|
386
409
|
return terms.length > 0 ? inPlay(plural(terms.length, "term")) : notSetUp;
|
|
387
410
|
}
|
|
388
411
|
case "strategy": {
|
|
389
412
|
const [{ runList: listStrategy }, { countsLine }] = await Promise.all([
|
|
390
|
-
import("./list-
|
|
391
|
-
import("./pretty-
|
|
413
|
+
import("./list-LMYCD5G5.js"),
|
|
414
|
+
import("./pretty-G2J5UEXC.js")
|
|
392
415
|
]);
|
|
393
416
|
const { set } = await listStrategy({ inputs: [], configPath, cwd, allowEmpty: true });
|
|
394
417
|
return set.records.length > 0 ? inPlay(countsLine(set.records)) : notSetUp;
|
|
@@ -509,14 +532,20 @@ function exportGeneratedBy(envelope, env = process.env) {
|
|
|
509
532
|
|
|
510
533
|
// src/family/commands/check.ts
|
|
511
534
|
var CHECK_FORMATS = ["pretty", "json", "github", "sarif"];
|
|
535
|
+
function fromResults(results, frame) {
|
|
536
|
+
const base = frame.runBase ?? frame.base;
|
|
537
|
+
return results.flatMap(
|
|
538
|
+
(r) => r.errors.map((e) => ({ file: resolve4(base, r.file), severity: e.severity ?? "error" }))
|
|
539
|
+
);
|
|
540
|
+
}
|
|
512
541
|
async function runDomain(domain, ctx) {
|
|
513
542
|
const { family, cwd, inputs, onNotice } = ctx;
|
|
514
543
|
const configPath = family.configPath;
|
|
515
544
|
switch (domain) {
|
|
516
545
|
case "meta": {
|
|
517
546
|
const [{ runValidate }, { render: renderMeta }] = await Promise.all([
|
|
518
|
-
import("./validate-
|
|
519
|
-
import("./reporters-
|
|
547
|
+
import("./validate-TDIEFXRQ.js"),
|
|
548
|
+
import("./reporters-OWYFZD4S.js")
|
|
520
549
|
]);
|
|
521
550
|
const run2 = await runValidate({ inputs, configPath, cwd, skipDefaultOnly: true, onNotice });
|
|
522
551
|
if (run2.results.length === 0) {
|
|
@@ -524,7 +553,8 @@ async function runDomain(domain, ctx) {
|
|
|
524
553
|
}
|
|
525
554
|
return {
|
|
526
555
|
failed: run2.summary.failed > 0,
|
|
527
|
-
render: (format, color) => renderMeta(format, run2.results, run2.summary, { color, quiet: true, frame: run2.frame, onNotice })
|
|
556
|
+
render: (format, color) => renderMeta(format, run2.results, run2.summary, { color, quiet: true, frame: run2.frame, onNotice }),
|
|
557
|
+
findings: fromResults(run2.results, run2.frame)
|
|
528
558
|
};
|
|
529
559
|
}
|
|
530
560
|
case "cite": {
|
|
@@ -535,11 +565,11 @@ async function runDomain(domain, ctx) {
|
|
|
535
565
|
{ renderCheckGithub: citeGithub },
|
|
536
566
|
{ renderCheckSarif: citeSarif }
|
|
537
567
|
] = await Promise.all([
|
|
538
|
-
import("./check-
|
|
539
|
-
import("./pretty-
|
|
540
|
-
import("./json-
|
|
541
|
-
import("./github-
|
|
542
|
-
import("./sarif-
|
|
568
|
+
import("./check-L5AUSTE6.js"),
|
|
569
|
+
import("./pretty-GCEIQ3FP.js"),
|
|
570
|
+
import("./json-J4TONMKY.js"),
|
|
571
|
+
import("./github-NWL2XGE7.js"),
|
|
572
|
+
import("./sarif-FR26WNVT.js")
|
|
543
573
|
]);
|
|
544
574
|
const run2 = await runCite({ inputs, configPath, cwd, onNotice });
|
|
545
575
|
if (!run2.pages.some((p) => p.citations.length > 0 || p.findings.length > 0)) {
|
|
@@ -547,6 +577,7 @@ async function runDomain(domain, ctx) {
|
|
|
547
577
|
}
|
|
548
578
|
return {
|
|
549
579
|
failed: run2.summary.failed > 0,
|
|
580
|
+
findings: fromResults(run2.results, run2.frame),
|
|
550
581
|
render: (format, color) => {
|
|
551
582
|
switch (format) {
|
|
552
583
|
case "pretty":
|
|
@@ -564,20 +595,22 @@ async function runDomain(domain, ctx) {
|
|
|
564
595
|
case "lint": {
|
|
565
596
|
if (!family.sections.has("lint")) return { skipped: NOT_SET_UP.lint };
|
|
566
597
|
const [{ runLint }, { render: renderLint }] = await Promise.all([
|
|
567
|
-
import("./lint-
|
|
568
|
-
import("./reporters-
|
|
598
|
+
import("./lint-VB5A3ENL.js"),
|
|
599
|
+
import("./reporters-43LBUWEE.js")
|
|
569
600
|
]);
|
|
570
601
|
const run2 = await runLint({ inputs, configPath, cwd, onNotice });
|
|
602
|
+
const root = inputs.length === 0 ? resolve4(cwd, family.file.dir) : cwd;
|
|
571
603
|
return {
|
|
572
604
|
failed: run2.summary.failed > 0,
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
605
|
+
render: (format, color) => renderLint(run2, format, { color, root }),
|
|
606
|
+
findings: run2.results.flatMap(
|
|
607
|
+
(r) => r.findings.map((f) => ({ file: resolve4(root, r.file), severity: f.severity }))
|
|
608
|
+
)
|
|
576
609
|
};
|
|
577
610
|
}
|
|
578
611
|
case "docevals": {
|
|
579
612
|
const [{ runRun: runDocevals }, { render: renderDocevals }, { DocevalsError }] = await Promise.all([
|
|
580
|
-
import("./run-
|
|
613
|
+
import("./run-G6G55SWJ.js"),
|
|
581
614
|
import("./reporters-6TEJDXXO.js"),
|
|
582
615
|
import("./types-7N7ETP3W.js")
|
|
583
616
|
]);
|
|
@@ -599,7 +632,13 @@ async function runDomain(domain, ctx) {
|
|
|
599
632
|
}
|
|
600
633
|
return {
|
|
601
634
|
failed: report.exitCode !== 0,
|
|
602
|
-
render: (format, color) => renderDocevals(report, format, { color })
|
|
635
|
+
render: (format, color) => renderDocevals(report, format, { color }),
|
|
636
|
+
// Labels run from the working directory. An eval that errored with
|
|
637
|
+
// no finding is reported on its page, as its github line is.
|
|
638
|
+
findings: report.evalResults.flatMap((r) => [
|
|
639
|
+
...(r.findings ?? []).map((f) => ({ file: resolve4(cwd, f.file), severity: f.severity })),
|
|
640
|
+
...r.outcome === "error" && (r.findings ?? []).length === 0 ? [{ file: resolve4(cwd, r.file), severity: "error" }] : []
|
|
641
|
+
])
|
|
603
642
|
};
|
|
604
643
|
}
|
|
605
644
|
case "term": {
|
|
@@ -610,16 +649,17 @@ async function runDomain(domain, ctx) {
|
|
|
610
649
|
{ renderFindingsGithub: termGithub },
|
|
611
650
|
{ renderFindingsSarif: termSarif }
|
|
612
651
|
] = await Promise.all([
|
|
613
|
-
import("./check-
|
|
614
|
-
import("./pretty-
|
|
615
|
-
import("./json-
|
|
616
|
-
import("./github-
|
|
617
|
-
import("./sarif-
|
|
652
|
+
import("./check-HWEDHABD.js"),
|
|
653
|
+
import("./pretty-DR4GHOJG.js"),
|
|
654
|
+
import("./json-QQAK73QQ.js"),
|
|
655
|
+
import("./github-WBIEYSM7.js"),
|
|
656
|
+
import("./sarif-CN7RSIKH.js")
|
|
618
657
|
]);
|
|
619
658
|
const report = await runTerm({ inputs, configPath, cwd, allowEmpty: true, onNotice });
|
|
620
659
|
if (report.terms === 0) return { skipped: NOT_SET_UP.term };
|
|
621
660
|
return {
|
|
622
661
|
failed: report.summary.failed > 0,
|
|
662
|
+
findings: fromResults(report.results, report.frame),
|
|
623
663
|
render: (format, color) => {
|
|
624
664
|
switch (format) {
|
|
625
665
|
case "pretty":
|
|
@@ -642,16 +682,17 @@ async function runDomain(domain, ctx) {
|
|
|
642
682
|
{ renderFindingsGithub: strategyGithub },
|
|
643
683
|
{ renderFindingsSarif: strategySarif }
|
|
644
684
|
] = await Promise.all([
|
|
645
|
-
import("./check-
|
|
646
|
-
import("./pretty-
|
|
647
|
-
import("./json-
|
|
648
|
-
import("./github-
|
|
649
|
-
import("./sarif-
|
|
685
|
+
import("./check-J2KQI7IW.js"),
|
|
686
|
+
import("./pretty-G2J5UEXC.js"),
|
|
687
|
+
import("./json-IVHRVOGQ.js"),
|
|
688
|
+
import("./github-NQQTH5JK.js"),
|
|
689
|
+
import("./sarif-GWTNYCZJ.js")
|
|
650
690
|
]);
|
|
651
691
|
const report = await runStrategy({ inputs, configPath, cwd, allowEmpty: true, onNotice });
|
|
652
692
|
if (report.records === 0) return { skipped: NOT_SET_UP.strategy };
|
|
653
693
|
return {
|
|
654
694
|
failed: report.summary.failed > 0,
|
|
695
|
+
findings: fromResults(report.results, report.frame),
|
|
655
696
|
render: (format, color) => {
|
|
656
697
|
switch (format) {
|
|
657
698
|
case "pretty":
|
|
@@ -669,15 +710,19 @@ async function runDomain(domain, ctx) {
|
|
|
669
710
|
case "graph": {
|
|
670
711
|
if (!family.sections.has("graph")) return { skipped: NOT_SET_UP.graph };
|
|
671
712
|
const [{ buildGraph }, { runCheck: runGraph, renderCheck: renderGraph }] = await Promise.all([
|
|
672
|
-
import("./build-
|
|
673
|
-
import("./check-
|
|
713
|
+
import("./build-LEKUMGEC.js"),
|
|
714
|
+
import("./check-ADCSXGBK.js")
|
|
674
715
|
]);
|
|
675
716
|
const built = await buildGraph({ config: configPath, cwd });
|
|
676
717
|
for (const warning of built.warnings) onNotice(warning);
|
|
677
718
|
const report = await runGraph({ config: configPath, cwd, turtle: built.turtle });
|
|
678
719
|
return {
|
|
679
720
|
failed: report.exitCode !== 0,
|
|
680
|
-
render: (format) => renderGraph(report, format)
|
|
721
|
+
render: (format) => renderGraph(report, format),
|
|
722
|
+
// A finding counts on every page responsible for it.
|
|
723
|
+
findings: report.findings.flatMap(
|
|
724
|
+
(f) => f.docs.map((doc) => ({ file: resolve4(report.root, doc), severity: f.severity }))
|
|
725
|
+
)
|
|
681
726
|
};
|
|
682
727
|
}
|
|
683
728
|
}
|
|
@@ -687,7 +732,7 @@ async function outcome(domain, ctx) {
|
|
|
687
732
|
try {
|
|
688
733
|
const result = await runDomain(domain, ctx);
|
|
689
734
|
if ("skipped" in result) return { command, status: "skipped", message: result.skipped };
|
|
690
|
-
return { command, status: result.failed ? "fail" : "pass", render: result.render };
|
|
735
|
+
return { command, status: result.failed ? "fail" : "pass", render: result.render, findings: result.findings };
|
|
691
736
|
} catch (err) {
|
|
692
737
|
return { command, status: "error", message: errorMessage(err) };
|
|
693
738
|
}
|
|
@@ -752,7 +797,34 @@ async function checkUnshared(opts) {
|
|
|
752
797
|
if (opts.scope.kind === "all" && checks.every((c) => c.status === "skipped")) {
|
|
753
798
|
throw nothingSetUpError();
|
|
754
799
|
}
|
|
755
|
-
|
|
800
|
+
const impact = opts.impact === true ? await impactFor(family, cwd, checks, onNotice) : void 0;
|
|
801
|
+
return {
|
|
802
|
+
status: checks.some((c) => c.status === "fail") ? "fail" : "pass",
|
|
803
|
+
files,
|
|
804
|
+
checks,
|
|
805
|
+
...impact === void 0 ? {} : { impact }
|
|
806
|
+
};
|
|
807
|
+
}
|
|
808
|
+
async function impactFor(family, cwd, checks, onNotice) {
|
|
809
|
+
const placed = checks.flatMap((c) => isRan(c) ? c.findings ?? [] : []);
|
|
810
|
+
if (placed.length === 0) return void 0;
|
|
811
|
+
const { impactOf, loadServing } = await import("./strategy-3EZUOE2T.js");
|
|
812
|
+
let serving;
|
|
813
|
+
try {
|
|
814
|
+
serving = await loadServing({ cwd, configPath: family.configPath });
|
|
815
|
+
} catch (err) {
|
|
816
|
+
if (!(err instanceof ToolError)) throw err;
|
|
817
|
+
onNotice(`personas and journeys left out of the report. ${err.message}`);
|
|
818
|
+
return void 0;
|
|
819
|
+
}
|
|
820
|
+
if (serving === void 0) return void 0;
|
|
821
|
+
const set = serving;
|
|
822
|
+
const findings = placed.flatMap((f) => {
|
|
823
|
+
const page = set.pages.has(f.file) ? f.file : set.manifests.get(f.file);
|
|
824
|
+
return page === void 0 ? [] : [{ page, file: labelFrom(cwd, page), severity: f.severity }];
|
|
825
|
+
});
|
|
826
|
+
const entries = impactOf(set, findings).map((e) => ({ ...e, pages: [...e.pages].sort() }));
|
|
827
|
+
return entries.length > 0 ? entries : void 0;
|
|
756
828
|
}
|
|
757
829
|
function exitCodeFor(run2) {
|
|
758
830
|
if (run2.checks.some((c) => c.status === "error")) return 2;
|
|
@@ -785,6 +857,8 @@ ${check.render("pretty", color)}`);
|
|
|
785
857
|
notRun.map((c) => `${c.status.padEnd(9)}${c.command.padEnd(width)}${firstLine(c.message)}`).join("\n")
|
|
786
858
|
);
|
|
787
859
|
}
|
|
860
|
+
const impact = impactBlock(run2.impact, color);
|
|
861
|
+
if (impact !== void 0) blocks.push(impact);
|
|
788
862
|
const count = (status) => run2.checks.filter((c) => c.status === status).length;
|
|
789
863
|
const errors = count("error");
|
|
790
864
|
blocks.push(
|
|
@@ -792,6 +866,11 @@ ${check.render("pretty", color)}`);
|
|
|
792
866
|
);
|
|
793
867
|
return blocks.join("\n\n");
|
|
794
868
|
}
|
|
869
|
+
function impactBlock(impact, color) {
|
|
870
|
+
const [heading, ...rows] = impactLines(impact ?? []);
|
|
871
|
+
if (heading === void 0) return void 0;
|
|
872
|
+
return [palette(color).bold(heading), ...rows].join("\n");
|
|
873
|
+
}
|
|
795
874
|
function jsonEntry(c) {
|
|
796
875
|
if (!isRan(c)) return { command: c.command, status: c.status, message: c.message };
|
|
797
876
|
try {
|
|
@@ -805,14 +884,19 @@ function renderJson(run2) {
|
|
|
805
884
|
{
|
|
806
885
|
status: run2.status,
|
|
807
886
|
files: run2.files,
|
|
808
|
-
checks: run2.checks.map(jsonEntry)
|
|
887
|
+
checks: run2.checks.map(jsonEntry),
|
|
888
|
+
...run2.impact === void 0 ? {} : { impact: run2.impact }
|
|
809
889
|
},
|
|
810
890
|
null,
|
|
811
891
|
2
|
|
812
892
|
);
|
|
813
893
|
}
|
|
814
894
|
function renderGithub(run2) {
|
|
815
|
-
|
|
895
|
+
const notice = impactNotice(run2.impact ?? []);
|
|
896
|
+
const first = notice === void 0 ? [] : [
|
|
897
|
+
`::notice title=${escapeWorkflowCommandProperty(notice.title)}::${escapeWorkflowCommandMessage(notice.lines.join("\n"))}`
|
|
898
|
+
];
|
|
899
|
+
return [...first, ...run2.checks.filter(isRan).map((c) => c.render("github", false))].filter((text) => text.length > 0).join("\n");
|
|
816
900
|
}
|
|
817
901
|
function renderSarif(run2) {
|
|
818
902
|
const runs = [];
|
|
@@ -859,7 +943,8 @@ function renderSarif(run2) {
|
|
|
859
943
|
...notifications.length > 0 ? { toolExecutionNotifications: notifications } : {}
|
|
860
944
|
}
|
|
861
945
|
],
|
|
862
|
-
results: []
|
|
946
|
+
results: [],
|
|
947
|
+
...run2.impact === void 0 ? {} : { properties: { impact: run2.impact } }
|
|
863
948
|
});
|
|
864
949
|
return JSON.stringify(
|
|
865
950
|
{ $schema: "https://json.schemastore.org/sarif-2.1.0.json", version: "2.1.0", runs },
|
|
@@ -953,7 +1038,7 @@ async function runTurnCheck(envelope, cwd, seams = {}) {
|
|
|
953
1038
|
let renderTurn;
|
|
954
1039
|
try {
|
|
955
1040
|
const [{ checkTurn }, reporters] = await Promise.all([
|
|
956
|
-
import("./check-
|
|
1041
|
+
import("./check-SQVQE4E4.js"),
|
|
957
1042
|
import("./runtime-7QE3DW6S.js")
|
|
958
1043
|
]);
|
|
959
1044
|
renderTurn = reporters.renderCheck;
|
|
@@ -1063,7 +1148,10 @@ function buildCheck() {
|
|
|
1063
1148
|
const run2 = await runFamilyCheck({
|
|
1064
1149
|
scope: paths.length > 0 ? { kind: "paths", paths } : { kind: "all" },
|
|
1065
1150
|
...options.config === void 0 ? {} : { configPath: options.config },
|
|
1066
|
-
|
|
1151
|
+
// Said once: cite and the roll-up both say when strategy's set cannot be read.
|
|
1152
|
+
onNotice: noticeOnce,
|
|
1153
|
+
// By hand or in CI only; a hook's reply carries no roll-up (proposal 0109).
|
|
1154
|
+
impact: true
|
|
1067
1155
|
});
|
|
1068
1156
|
for (const check of run2.checks) {
|
|
1069
1157
|
if (check.status === "error") {
|
|
@@ -1114,4 +1202,4 @@ export {
|
|
|
1114
1202
|
buildStatus,
|
|
1115
1203
|
hookScope
|
|
1116
1204
|
};
|
|
1117
|
-
//# sourceMappingURL=cli-
|
|
1205
|
+
//# sourceMappingURL=cli-MPMECIQH.js.map
|