@hawkeyexl/manni 4.21.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-C534YIAU.js → batch-DPYBMRVD.js} +21 -22
- package/dist/build-LEKUMGEC.js +36 -0
- package/dist/calibrate-TYONPNG4.js +42 -0
- package/dist/capture-2EPHIAZT.js +37 -0
- package/dist/check-ADCSXGBK.js +57 -0
- package/dist/check-HWEDHABD.js +30 -0
- package/dist/check-J2KQI7IW.js +33 -0
- package/dist/check-L5AUSTE6.js +57 -0
- package/dist/{check-LKPQPQWJ.js → check-SQVQE4E4.js} +23 -23
- package/dist/{chunk-D4QHRVDJ.js → chunk-2GPF4OEF.js} +3 -157
- package/dist/chunk-2GPF4OEF.js.map +1 -0
- package/dist/{chunk-IOJD2RFG.js → chunk-2MOXVM6H.js} +2 -2
- package/dist/{chunk-762MM6NA.js → chunk-2QK25SLZ.js} +4 -4
- package/dist/{chunk-HHJ2HFPP.js → chunk-2UJOQ6CB.js} +9 -9
- package/dist/{chunk-H5YWCCBO.js → chunk-3CBGLUJX.js} +3 -3
- package/dist/{chunk-E23KWEPL.js → chunk-3USSSKLA.js} +2 -2
- package/dist/{chunk-PTGXEZQD.js → chunk-3ZVRGBK6.js} +4 -4
- package/dist/{chunk-XI3BNZG4.js → chunk-5JXA75XB.js} +46 -7
- package/dist/chunk-5JXA75XB.js.map +1 -0
- package/dist/{chunk-IN5T22FP.js → chunk-6QNA7UX2.js} +2 -2
- package/dist/{chunk-CZIO37J5.js → chunk-6RENCXLC.js} +10 -5
- package/dist/chunk-6RENCXLC.js.map +1 -0
- package/dist/{chunk-WHVFHBL3.js → chunk-72UN462G.js} +11 -3
- package/dist/chunk-72UN462G.js.map +1 -0
- package/dist/{chunk-OWJLB2AF.js → chunk-76Y3JATE.js} +2 -2
- package/dist/chunk-7M3MBFG7.js +38 -0
- package/dist/chunk-7M3MBFG7.js.map +1 -0
- package/dist/{chunk-BHGFLRXM.js → chunk-7NSFGAAQ.js} +8 -7
- package/dist/chunk-7NSFGAAQ.js.map +1 -0
- package/dist/{chunk-3SFAB75L.js → chunk-AJCUKL43.js} +6 -6
- package/dist/{chunk-CREFJCWZ.js → chunk-AOLCEULZ.js} +8 -8
- package/dist/{chunk-Q76T6Y6X.js → chunk-AZKNB2T3.js} +3635 -3409
- package/dist/chunk-AZKNB2T3.js.map +1 -0
- package/dist/{chunk-2NGFDLIM.js → chunk-B4ECIBLF.js} +4 -4
- package/dist/{chunk-5UJKXOAD.js → chunk-B4POKRCS.js} +6 -6
- package/dist/chunk-BA7BQBWV.js +311 -0
- package/dist/chunk-BA7BQBWV.js.map +1 -0
- package/dist/{chunk-KBSTXL6L.js → chunk-BOCJTOKA.js} +4 -4
- package/dist/{chunk-CFMI74TP.js → chunk-BZ74YUYE.js} +2 -2
- package/dist/{chunk-NLJ3XIKT.js → chunk-C2QE4FSZ.js} +3 -3
- package/dist/{chunk-DENZLZ3Z.js → chunk-CLUUSZDY.js} +26 -17
- package/dist/chunk-CLUUSZDY.js.map +1 -0
- package/dist/{chunk-PACZEDOH.js → chunk-CWPRB7SA.js} +19 -15
- package/dist/chunk-CWPRB7SA.js.map +1 -0
- package/dist/{chunk-245W2Q7C.js → chunk-D4BGNAN5.js} +2 -2
- package/dist/{chunk-XBJKYXOR.js → chunk-DWUK6YNX.js} +11 -11
- package/dist/{chunk-MTCOBRCX.js → chunk-E75CMOR3.js} +4 -4
- package/dist/{chunk-TFVNEPMF.js → chunk-EAF4K7IK.js} +4 -4
- package/dist/{chunk-TFVNEPMF.js.map → chunk-EAF4K7IK.js.map} +1 -1
- package/dist/{chunk-KCWNJMSS.js → chunk-EBBJFXMX.js} +3 -3
- package/dist/{chunk-LWBNHK72.js → chunk-EPN67ZNX.js} +47 -29
- package/dist/chunk-EPN67ZNX.js.map +1 -0
- package/dist/{chunk-6XK3NTL5.js → chunk-FBIBR4CH.js} +35 -40
- package/dist/chunk-FBIBR4CH.js.map +1 -0
- package/dist/{chunk-5LE4NH3Z.js → chunk-FJYIPHWK.js} +6 -4
- package/dist/{chunk-5LE4NH3Z.js.map → chunk-FJYIPHWK.js.map} +1 -1
- package/dist/{chunk-A4QNKEX4.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-P7HAXMFN.js → chunk-I4KDAO6P.js} +5 -3
- package/dist/{chunk-P7HAXMFN.js.map → chunk-I4KDAO6P.js.map} +1 -1
- package/dist/chunk-INOVEO32.js +28 -0
- package/dist/chunk-INOVEO32.js.map +1 -0
- package/dist/{chunk-B2242FYO.js → chunk-JF4BC7ZD.js} +38 -3
- package/dist/chunk-JF4BC7ZD.js.map +1 -0
- package/dist/{chunk-RKACUTY5.js → chunk-JZWQQOUN.js} +9 -11
- package/dist/{chunk-RKACUTY5.js.map → chunk-JZWQQOUN.js.map} +1 -1
- package/dist/{chunk-BXCVOHEX.js → chunk-K4YR4PY2.js} +15 -13
- package/dist/{chunk-BXCVOHEX.js.map → chunk-K4YR4PY2.js.map} +1 -1
- package/dist/{chunk-BXE4L52Q.js → chunk-KX6HRTLH.js} +6599 -3508
- package/dist/chunk-KX6HRTLH.js.map +1 -0
- package/dist/{chunk-V2XJJEEF.js → chunk-L3DOX3UL.js} +4 -4
- package/dist/{chunk-FHJIH6XP.js → chunk-LHP56Q45.js} +16 -7
- package/dist/chunk-LHP56Q45.js.map +1 -0
- package/dist/{chunk-BLXRIAV2.js → chunk-LT3STF5K.js} +29 -4
- package/dist/chunk-LT3STF5K.js.map +1 -0
- package/dist/{chunk-SHXPE4D4.js → chunk-MGQNGW6I.js} +2 -2
- package/dist/{chunk-SHXPE4D4.js.map → chunk-MGQNGW6I.js.map} +1 -1
- package/dist/{chunk-JUUCCML3.js → chunk-MPRVAMO3.js} +4 -4
- package/dist/{chunk-JQA6RF4R.js → chunk-N2T6RLSE.js} +2 -2
- package/dist/{chunk-JQA6RF4R.js.map → chunk-N2T6RLSE.js.map} +1 -1
- package/dist/{chunk-JCTHXG33.js → chunk-NHOGTAPK.js} +2 -2
- package/dist/{chunk-VM7VAFJW.js → chunk-NVYDWVXN.js} +2 -1
- package/dist/{chunk-ARNI3SJT.js → chunk-OL3Z7KPQ.js} +9 -9
- package/dist/chunk-P6LRDWMJ.js +1875 -0
- package/dist/chunk-P6LRDWMJ.js.map +1 -0
- package/dist/{chunk-NUQF5F5J.js → chunk-PNDEKFF3.js} +2 -2
- package/dist/chunk-QJGPOFNB.js +409 -0
- package/dist/chunk-QJGPOFNB.js.map +1 -0
- package/dist/{chunk-DMVBIIP3.js → chunk-QJL57GPX.js} +3 -3
- package/dist/{chunk-AE6KBAAU.js → chunk-QR55QXJ7.js} +11 -11
- package/dist/{chunk-BJUEOC4G.js → chunk-QWVIGKBM.js} +3 -3
- package/dist/{chunk-E7OG5F6S.js → chunk-RZ6OONZU.js} +13 -11
- package/dist/{chunk-E7OG5F6S.js.map → chunk-RZ6OONZU.js.map} +1 -1
- package/dist/{chunk-U4OJ7U45.js → chunk-SZMJ24FR.js} +9 -9
- package/dist/{chunk-KQDRO6N6.js → chunk-TLY44PCL.js} +2 -2
- package/dist/{chunk-VLRIP4BQ.js → chunk-TOVSR2YO.js} +2 -2
- package/dist/chunk-TT5UDTDM.js +888 -0
- package/dist/chunk-TT5UDTDM.js.map +1 -0
- package/dist/{chunk-2YKUSTHS.js → chunk-TVLIJ6ZM.js} +5 -5
- package/dist/{chunk-RQPEKHZH.js → chunk-UQYDLEBS.js} +80 -16
- package/dist/chunk-UQYDLEBS.js.map +1 -0
- package/dist/{chunk-GMLOAKOA.js → chunk-VSDXZAQU.js} +4 -22
- package/dist/chunk-VSDXZAQU.js.map +1 -0
- package/dist/{chunk-22WGKOQ7.js → chunk-VTJAY3WN.js} +7 -7
- package/dist/{chunk-DPDG3FHL.js → chunk-WHECOVH2.js} +3 -3
- package/dist/{chunk-BKY6GAFA.js → chunk-WPHPLVS3.js} +53 -918
- package/dist/chunk-WPHPLVS3.js.map +1 -0
- package/dist/{chunk-SSQZB5SQ.js → chunk-XG6PVB5S.js} +11 -1
- package/dist/chunk-XG6PVB5S.js.map +1 -0
- package/dist/{chunk-R2CR62JV.js → chunk-XVL7DYWM.js} +4 -4
- package/dist/{chunk-CLPC3LKX.js → chunk-Y4O737F7.js} +4 -4
- package/dist/{chunk-YSZNJ2ID.js → chunk-YBPXVBSY.js} +2 -2
- package/dist/{chunk-2HOWRAWK.js → chunk-YJHH2DHV.js} +2 -2
- package/dist/{chunk-APAF4VWW.js → chunk-YUCH6WJY.js} +6 -405
- package/dist/chunk-YUCH6WJY.js.map +1 -0
- package/dist/chunk-ZAOJYN2D.js +159 -0
- package/dist/chunk-ZAOJYN2D.js.map +1 -0
- package/dist/{cli-77A46SB2.js → cli-4R5HIGG4.js} +33 -21
- package/dist/{cli-77A46SB2.js.map → cli-4R5HIGG4.js.map} +1 -1
- package/dist/{cli-6NKE6RMT.js → cli-BF6KB3EJ.js} +34 -22
- package/dist/{cli-6NKE6RMT.js.map → cli-BF6KB3EJ.js.map} +1 -1
- package/dist/{cli-3PBRPPMQ.js → cli-DXOHHWZK.js} +16 -19
- package/dist/{cli-3PBRPPMQ.js.map → cli-DXOHHWZK.js.map} +1 -1
- package/dist/{cli-AVHLY2AI.js → cli-MPMECIQH.js} +154 -65
- package/dist/cli-MPMECIQH.js.map +1 -0
- package/dist/cli-NDYBQ755.js +152 -0
- package/dist/cli-NDYBQ755.js.map +1 -0
- package/dist/{cli-K47XWDLJ.js → cli-SJA66MIP.js} +29 -30
- package/dist/{cli-K47XWDLJ.js.map → cli-SJA66MIP.js.map} +1 -1
- package/dist/{cli-FDXU7CGZ.js → cli-TBAOKTMV.js} +16 -19
- package/dist/{cli-FDXU7CGZ.js.map → cli-TBAOKTMV.js.map} +1 -1
- package/dist/{cli-MQXOK64K.js → cli-TWGGMUXX.js} +89 -45
- package/dist/cli-TWGGMUXX.js.map +1 -0
- package/dist/{cli-FSDJY5OC.js → cli-V2BJYNMF.js} +4 -4
- package/dist/{cli-JNYL6LB7.js → cli-XGCK2LUV.js} +19 -22
- package/dist/{cli-JNYL6LB7.js.map → cli-XGCK2LUV.js.map} +1 -1
- package/dist/{cli-MOKRUHZT.js → cli-XXN75A42.js} +9 -11
- package/dist/cli.js +15 -15
- package/dist/cli.js.map +1 -1
- package/dist/{config-BMWDC66C.js → config-2YJPJ36T.js} +5 -5
- package/dist/docmeta.js +8 -10
- package/dist/docmeta.js.map +1 -1
- package/dist/github-NQQTH5JK.js +33 -0
- package/dist/github-NWL2XGE7.js +48 -0
- package/dist/github-WBIEYSM7.js +28 -0
- package/dist/graph/runtime.js.map +1 -1
- package/dist/{host-YSTYO5DX.js → host-JT27OWTC.js} +3 -3
- package/dist/index.d.ts +363 -25
- package/dist/index.js +289 -270
- package/dist/index.js.map +1 -1
- package/dist/json-IVHRVOGQ.js +40 -0
- package/dist/{json-YTKUFNO3.js → json-J4TONMKY.js} +2 -2
- package/dist/{json-YIK72XAL.js → json-QQAK73QQ.js} +12 -15
- package/dist/{labels-X633ZPK7.js → labels-VI2I5YFD.js} +11 -14
- package/dist/{labels-X633ZPK7.js.map → labels-VI2I5YFD.js.map} +1 -1
- package/dist/lint-VB5A3ENL.js +32 -0
- package/dist/list-3XRFX2Y3.js +33 -0
- package/dist/list-LMYCD5G5.js +37 -0
- package/dist/list-LOS7FTFD.js +30 -0
- package/dist/{page-OMPEACUN.js → page-3Y4EGYUO.js} +11 -14
- package/dist/{prepare-B4JVDVOV.js → prepare-JK6XKBZB.js} +20 -22
- package/dist/{prepare-B4JVDVOV.js.map → prepare-JK6XKBZB.js.map} +1 -1
- package/dist/{pretty-U7ATCFBN.js → pretty-DR4GHOJG.js} +12 -15
- package/dist/pretty-G2J5UEXC.js +41 -0
- package/dist/pretty-GCEIQ3FP.js +65 -0
- package/dist/{provider-JY2I3VLF.js → provider-YWNTTQPA.js} +3 -3
- package/dist/{release-VHHASAG7.js → release-EFLQT3FW.js} +3 -3
- package/dist/{reporters-FAIEOTC4.js → reporters-43LBUWEE.js} +11 -14
- package/dist/{reporters-KE7AZR6C.js → reporters-OWYFZD4S.js} +6 -6
- package/dist/run-G6G55SWJ.js +36 -0
- package/dist/{sarif-DOGRSGTB.js → sarif-CN7RSIKH.js} +10 -13
- package/dist/sarif-FR26WNVT.js +49 -0
- package/dist/sarif-GWTNYCZJ.js +28 -0
- package/dist/strategy-3EZUOE2T.js +59 -0
- package/dist/{term-MDN3NJDW.js → term-5WITRS3M.js} +21 -25
- package/dist/{term-MDN3NJDW.js.map → term-5WITRS3M.js.map} +1 -1
- package/dist/{validate-QDYQ642J.js → validate-TDIEFXRQ.js} +6 -7
- package/package.json +1 -1
- package/plugin/manni/.claude-plugin/plugin.json +1 -1
- package/plugin/manni/hooks/graph-server.mjs +3 -3
- package/plugin/manni/hooks/page-metadata.mjs +81 -7
- package/plugin/manni/skills/fix/SKILL.md +3 -3
- package/shapes/graph/shapes-1.3.0.ttl +1250 -0
- package/dist/build-SVKT7QFU.js +0 -39
- package/dist/calibrate-AL3MH7TY.js +0 -43
- package/dist/capture-2F7B4DAD.js +0 -39
- package/dist/check-BI7OGIVE.js +0 -48
- package/dist/check-JZINDP3F.js +0 -45
- package/dist/check-OPUMZEVK.js +0 -35
- package/dist/check-OW7UD73D.js +0 -33
- package/dist/chunk-6XK3NTL5.js.map +0 -1
- package/dist/chunk-APAF4VWW.js.map +0 -1
- package/dist/chunk-B2242FYO.js.map +0 -1
- package/dist/chunk-BHGFLRXM.js.map +0 -1
- package/dist/chunk-BKY6GAFA.js.map +0 -1
- package/dist/chunk-BLXRIAV2.js.map +0 -1
- package/dist/chunk-BXE4L52Q.js.map +0 -1
- package/dist/chunk-CZIO37J5.js.map +0 -1
- package/dist/chunk-D4QHRVDJ.js.map +0 -1
- package/dist/chunk-D5GBYKDU.js +0 -164
- package/dist/chunk-D5GBYKDU.js.map +0 -1
- package/dist/chunk-DENZLZ3Z.js.map +0 -1
- package/dist/chunk-FHJIH6XP.js.map +0 -1
- package/dist/chunk-GMLOAKOA.js.map +0 -1
- package/dist/chunk-GMOAW2EG.js.map +0 -1
- package/dist/chunk-LWBNHK72.js.map +0 -1
- package/dist/chunk-PACZEDOH.js.map +0 -1
- package/dist/chunk-Q76T6Y6X.js.map +0 -1
- package/dist/chunk-RQPEKHZH.js.map +0 -1
- package/dist/chunk-RWXR3GJI.js +0 -441
- package/dist/chunk-RWXR3GJI.js.map +0 -1
- package/dist/chunk-S5G6T4VC.js +0 -3200
- package/dist/chunk-S5G6T4VC.js.map +0 -1
- package/dist/chunk-SSQZB5SQ.js.map +0 -1
- package/dist/chunk-UP6NBQ62.js +0 -2
- package/dist/chunk-WHVFHBL3.js.map +0 -1
- package/dist/chunk-XI3BNZG4.js.map +0 -1
- package/dist/chunk-ZPLVANY2.js +0 -15
- package/dist/chunk-ZPLVANY2.js.map +0 -1
- package/dist/cli-AVHLY2AI.js.map +0 -1
- package/dist/cli-LP5OE3BL.js +0 -84
- package/dist/cli-LP5OE3BL.js.map +0 -1
- package/dist/cli-MQXOK64K.js.map +0 -1
- package/dist/github-6GYTPSGV.js +0 -35
- package/dist/github-DJOLVNDD.js +0 -31
- package/dist/github-ZF2TQ3RP.js +0 -35
- package/dist/json-Y7625EFE.js +0 -42
- package/dist/lint-RF3B55W7.js +0 -35
- package/dist/list-5DW4QZ7P.js +0 -36
- package/dist/list-7CHWJ633.js +0 -39
- package/dist/list-UNWG6NPD.js +0 -33
- package/dist/pretty-PPNHHOEN.js +0 -52
- package/dist/pretty-XGYQ25PH.js +0 -43
- package/dist/run-MHJ3AYKG.js +0 -39
- package/dist/sarif-MIEMQOIK.js +0 -30
- package/dist/sarif-RGRG7VFX.js +0 -36
- package/dist/strategy-EK5VY5DG.js +0 -223
- package/dist/strategy-EK5VY5DG.js.map +0 -1
- /package/dist/{batch-C534YIAU.js.map → batch-DPYBMRVD.js.map} +0 -0
- /package/dist/{build-SVKT7QFU.js.map → build-LEKUMGEC.js.map} +0 -0
- /package/dist/{calibrate-AL3MH7TY.js.map → calibrate-TYONPNG4.js.map} +0 -0
- /package/dist/{capture-2F7B4DAD.js.map → capture-2EPHIAZT.js.map} +0 -0
- /package/dist/{check-BI7OGIVE.js.map → check-ADCSXGBK.js.map} +0 -0
- /package/dist/{check-JZINDP3F.js.map → check-HWEDHABD.js.map} +0 -0
- /package/dist/{check-OPUMZEVK.js.map → check-J2KQI7IW.js.map} +0 -0
- /package/dist/{check-OW7UD73D.js.map → check-L5AUSTE6.js.map} +0 -0
- /package/dist/{check-LKPQPQWJ.js.map → check-SQVQE4E4.js.map} +0 -0
- /package/dist/{chunk-IOJD2RFG.js.map → chunk-2MOXVM6H.js.map} +0 -0
- /package/dist/{chunk-762MM6NA.js.map → chunk-2QK25SLZ.js.map} +0 -0
- /package/dist/{chunk-HHJ2HFPP.js.map → chunk-2UJOQ6CB.js.map} +0 -0
- /package/dist/{chunk-H5YWCCBO.js.map → chunk-3CBGLUJX.js.map} +0 -0
- /package/dist/{chunk-E23KWEPL.js.map → chunk-3USSSKLA.js.map} +0 -0
- /package/dist/{chunk-PTGXEZQD.js.map → chunk-3ZVRGBK6.js.map} +0 -0
- /package/dist/{chunk-IN5T22FP.js.map → chunk-6QNA7UX2.js.map} +0 -0
- /package/dist/{chunk-OWJLB2AF.js.map → chunk-76Y3JATE.js.map} +0 -0
- /package/dist/{chunk-3SFAB75L.js.map → chunk-AJCUKL43.js.map} +0 -0
- /package/dist/{chunk-CREFJCWZ.js.map → chunk-AOLCEULZ.js.map} +0 -0
- /package/dist/{chunk-2NGFDLIM.js.map → chunk-B4ECIBLF.js.map} +0 -0
- /package/dist/{chunk-5UJKXOAD.js.map → chunk-B4POKRCS.js.map} +0 -0
- /package/dist/{chunk-KBSTXL6L.js.map → chunk-BOCJTOKA.js.map} +0 -0
- /package/dist/{chunk-CFMI74TP.js.map → chunk-BZ74YUYE.js.map} +0 -0
- /package/dist/{chunk-NLJ3XIKT.js.map → chunk-C2QE4FSZ.js.map} +0 -0
- /package/dist/{chunk-245W2Q7C.js.map → chunk-D4BGNAN5.js.map} +0 -0
- /package/dist/{chunk-XBJKYXOR.js.map → chunk-DWUK6YNX.js.map} +0 -0
- /package/dist/{chunk-MTCOBRCX.js.map → chunk-E75CMOR3.js.map} +0 -0
- /package/dist/{chunk-KCWNJMSS.js.map → chunk-EBBJFXMX.js.map} +0 -0
- /package/dist/{chunk-A4QNKEX4.js.map → chunk-GCHEVTCJ.js.map} +0 -0
- /package/dist/{chunk-V2XJJEEF.js.map → chunk-L3DOX3UL.js.map} +0 -0
- /package/dist/{chunk-JUUCCML3.js.map → chunk-MPRVAMO3.js.map} +0 -0
- /package/dist/{chunk-JCTHXG33.js.map → chunk-NHOGTAPK.js.map} +0 -0
- /package/dist/{chunk-VM7VAFJW.js.map → chunk-NVYDWVXN.js.map} +0 -0
- /package/dist/{chunk-ARNI3SJT.js.map → chunk-OL3Z7KPQ.js.map} +0 -0
- /package/dist/{chunk-NUQF5F5J.js.map → chunk-PNDEKFF3.js.map} +0 -0
- /package/dist/{chunk-DMVBIIP3.js.map → chunk-QJL57GPX.js.map} +0 -0
- /package/dist/{chunk-AE6KBAAU.js.map → chunk-QR55QXJ7.js.map} +0 -0
- /package/dist/{chunk-BJUEOC4G.js.map → chunk-QWVIGKBM.js.map} +0 -0
- /package/dist/{chunk-U4OJ7U45.js.map → chunk-SZMJ24FR.js.map} +0 -0
- /package/dist/{chunk-KQDRO6N6.js.map → chunk-TLY44PCL.js.map} +0 -0
- /package/dist/{chunk-VLRIP4BQ.js.map → chunk-TOVSR2YO.js.map} +0 -0
- /package/dist/{chunk-2YKUSTHS.js.map → chunk-TVLIJ6ZM.js.map} +0 -0
- /package/dist/{chunk-22WGKOQ7.js.map → chunk-VTJAY3WN.js.map} +0 -0
- /package/dist/{chunk-DPDG3FHL.js.map → chunk-WHECOVH2.js.map} +0 -0
- /package/dist/{chunk-R2CR62JV.js.map → chunk-XVL7DYWM.js.map} +0 -0
- /package/dist/{chunk-CLPC3LKX.js.map → chunk-Y4O737F7.js.map} +0 -0
- /package/dist/{chunk-YSZNJ2ID.js.map → chunk-YBPXVBSY.js.map} +0 -0
- /package/dist/{chunk-2HOWRAWK.js.map → chunk-YJHH2DHV.js.map} +0 -0
- /package/dist/{cli-FSDJY5OC.js.map → cli-V2BJYNMF.js.map} +0 -0
- /package/dist/{chunk-UP6NBQ62.js.map → cli-XXN75A42.js.map} +0 -0
- /package/dist/{cli-MOKRUHZT.js.map → config-2YJPJ36T.js.map} +0 -0
- /package/dist/{config-BMWDC66C.js.map → github-NQQTH5JK.js.map} +0 -0
- /package/dist/{github-6GYTPSGV.js.map → github-NWL2XGE7.js.map} +0 -0
- /package/dist/{github-DJOLVNDD.js.map → github-WBIEYSM7.js.map} +0 -0
- /package/dist/{github-ZF2TQ3RP.js.map → host-JT27OWTC.js.map} +0 -0
- /package/dist/{host-YSTYO5DX.js.map → json-IVHRVOGQ.js.map} +0 -0
- /package/dist/{json-Y7625EFE.js.map → json-J4TONMKY.js.map} +0 -0
- /package/dist/{json-YIK72XAL.js.map → json-QQAK73QQ.js.map} +0 -0
- /package/dist/{json-YTKUFNO3.js.map → lint-VB5A3ENL.js.map} +0 -0
- /package/dist/{lint-RF3B55W7.js.map → list-3XRFX2Y3.js.map} +0 -0
- /package/dist/{list-5DW4QZ7P.js.map → list-LMYCD5G5.js.map} +0 -0
- /package/dist/{list-7CHWJ633.js.map → list-LOS7FTFD.js.map} +0 -0
- /package/dist/{list-UNWG6NPD.js.map → page-3Y4EGYUO.js.map} +0 -0
- /package/dist/{page-OMPEACUN.js.map → pretty-DR4GHOJG.js.map} +0 -0
- /package/dist/{pretty-PPNHHOEN.js.map → pretty-G2J5UEXC.js.map} +0 -0
- /package/dist/{pretty-U7ATCFBN.js.map → pretty-GCEIQ3FP.js.map} +0 -0
- /package/dist/{pretty-XGYQ25PH.js.map → provider-YWNTTQPA.js.map} +0 -0
- /package/dist/{release-VHHASAG7.js.map → release-EFLQT3FW.js.map} +0 -0
- /package/dist/{provider-JY2I3VLF.js.map → reporters-43LBUWEE.js.map} +0 -0
- /package/dist/{reporters-FAIEOTC4.js.map → reporters-OWYFZD4S.js.map} +0 -0
- /package/dist/{reporters-KE7AZR6C.js.map → run-G6G55SWJ.js.map} +0 -0
- /package/dist/{run-MHJ3AYKG.js.map → sarif-CN7RSIKH.js.map} +0 -0
- /package/dist/{sarif-DOGRSGTB.js.map → sarif-FR26WNVT.js.map} +0 -0
- /package/dist/{sarif-MIEMQOIK.js.map → sarif-GWTNYCZJ.js.map} +0 -0
- /package/dist/{sarif-RGRG7VFX.js.map → strategy-3EZUOE2T.js.map} +0 -0
- /package/dist/{validate-QDYQ642J.js.map → validate-TDIEFXRQ.js.map} +0 -0
|
@@ -1,38 +1,59 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
idHash
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-VHJ72YCD.js";
|
|
4
|
+
} from "./chunk-YJHH2DHV.js";
|
|
5
|
+
import "./chunk-RZ6OONZU.js";
|
|
7
6
|
import {
|
|
8
7
|
readStdin
|
|
9
8
|
} from "./chunk-OZUPJB4J.js";
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-YUCH6WJY.js";
|
|
10
|
+
import "./chunk-4TSWU2SU.js";
|
|
11
|
+
import "./chunk-VHJ72YCD.js";
|
|
12
|
+
import "./chunk-QJGPOFNB.js";
|
|
11
13
|
import {
|
|
12
14
|
DEFAULT_CAPTURE_DIR
|
|
13
15
|
} from "./chunk-6WJUZQQX.js";
|
|
14
|
-
import "./chunk-4TSWU2SU.js";
|
|
15
16
|
import "./chunk-ZINZTHWO.js";
|
|
16
|
-
import
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
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";
|
|
23
39
|
import {
|
|
24
40
|
memberOf,
|
|
25
41
|
retainMembers
|
|
26
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-KX6HRTLH.js";
|
|
27
43
|
import "./chunk-DSWKBZWW.js";
|
|
28
44
|
import {
|
|
29
45
|
extractorForExtension,
|
|
30
46
|
resolveTargetSet,
|
|
31
47
|
supportedExtensions,
|
|
32
48
|
withSharedWalks
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-QWVIGKBM.js";
|
|
50
|
+
import "./chunk-77AINBYM.js";
|
|
35
51
|
import {
|
|
52
|
+
escapeWorkflowCommandMessage,
|
|
53
|
+
escapeWorkflowCommandProperty
|
|
54
|
+
} from "./chunk-QK6VYJHV.js";
|
|
55
|
+
import {
|
|
56
|
+
palette,
|
|
36
57
|
shouldColor
|
|
37
58
|
} from "./chunk-RNVYGWIC.js";
|
|
38
59
|
import {
|
|
@@ -41,15 +62,15 @@ import {
|
|
|
41
62
|
import {
|
|
42
63
|
findFamilyConfigFile,
|
|
43
64
|
readFamilyConfigFile
|
|
44
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-JF4BC7ZD.js";
|
|
45
66
|
import {
|
|
46
|
-
|
|
67
|
+
noticeOnce,
|
|
47
68
|
warn
|
|
48
69
|
} from "./chunk-HX44GB4Z.js";
|
|
49
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-NVYDWVXN.js";
|
|
50
71
|
import {
|
|
51
72
|
package_default
|
|
52
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-N2T6RLSE.js";
|
|
53
74
|
import {
|
|
54
75
|
programName
|
|
55
76
|
} from "./chunk-OWBRDNRZ.js";
|
|
@@ -170,7 +191,7 @@ var META_DEFAULTS_ONLY = "only the built-in default schemas cover these files";
|
|
|
170
191
|
var NOT_CHECKED = [
|
|
171
192
|
["a11y", "needs a running site and a browser", "Run manni site preview, then manni a11y check."],
|
|
172
193
|
// Doc Detective runs the shell steps pages carry, so a hook never starts it.
|
|
173
|
-
["test", "runs the shell steps
|
|
194
|
+
["test", "runs the pages' shell steps and synthetic users", "Run manni test procedures or manni test tasks."],
|
|
174
195
|
[
|
|
175
196
|
"tracevals",
|
|
176
197
|
"judges recorded sessions with a model",
|
|
@@ -301,9 +322,9 @@ async function tracevalsRow(cwd, opts) {
|
|
|
301
322
|
{ assertProviderSelection, resolveSelectionIdentity, selectHookProvider, selectProvider },
|
|
302
323
|
{ hostStatus }
|
|
303
324
|
] = await Promise.all([
|
|
304
|
-
import("./config-
|
|
305
|
-
import("./provider-
|
|
306
|
-
import("./host-
|
|
325
|
+
import("./config-2YJPJ36T.js"),
|
|
326
|
+
import("./provider-YWNTTQPA.js"),
|
|
327
|
+
import("./host-JT27OWTC.js")
|
|
307
328
|
]);
|
|
308
329
|
const { config } = await discoverConfig(cwd, opts.configPath === void 0 ? {} : { configPath: opts.configPath });
|
|
309
330
|
const hook = await resolveSelectionIdentity(config, selectHookProvider(config));
|
|
@@ -348,8 +369,8 @@ function ownSchemaCount(cwd, members) {
|
|
|
348
369
|
return n;
|
|
349
370
|
}
|
|
350
371
|
async function citedPages(cwd, configPath) {
|
|
351
|
-
const { prepareRun, readTarget } = await import("./check-
|
|
352
|
-
const { readPage } = await import("./page-
|
|
372
|
+
const { prepareRun, readTarget } = await import("./check-L5AUSTE6.js");
|
|
373
|
+
const { readPage } = await import("./page-3Y4EGYUO.js");
|
|
353
374
|
const prepared = await prepareRun({ inputs: [], configPath, cwd, checkSources: false }, "checked", "check");
|
|
354
375
|
let n = 0;
|
|
355
376
|
for (const file of prepared.files) {
|
|
@@ -376,21 +397,21 @@ async function row(domain, family, cwd, members) {
|
|
|
376
397
|
return n > 0 ? inPlay(pages(n, "carries citations", "carry citations")) : notSetUp;
|
|
377
398
|
}
|
|
378
399
|
case "docevals": {
|
|
379
|
-
const { runList: listEvals } = await import("./list-
|
|
400
|
+
const { runList: listEvals } = await import("./list-3XRFX2Y3.js");
|
|
380
401
|
const { plans } = await listEvals([], { config: configPath, cwd });
|
|
381
402
|
const n = plans.filter((p) => !p.skip && p.evals.length > 0).length;
|
|
382
403
|
if (n === 0) return notSetUp;
|
|
383
404
|
return inPlay(section ? "docevals: section" : pages(n, "declares evals", "declare evals"));
|
|
384
405
|
}
|
|
385
406
|
case "term": {
|
|
386
|
-
const { runList: listTerms } = await import("./list-
|
|
407
|
+
const { runList: listTerms } = await import("./list-LOS7FTFD.js");
|
|
387
408
|
const { terms } = await listTerms({ inputs: [], configPath, cwd, allowEmpty: true });
|
|
388
409
|
return terms.length > 0 ? inPlay(plural(terms.length, "term")) : notSetUp;
|
|
389
410
|
}
|
|
390
411
|
case "strategy": {
|
|
391
412
|
const [{ runList: listStrategy }, { countsLine }] = await Promise.all([
|
|
392
|
-
import("./list-
|
|
393
|
-
import("./pretty-
|
|
413
|
+
import("./list-LMYCD5G5.js"),
|
|
414
|
+
import("./pretty-G2J5UEXC.js")
|
|
394
415
|
]);
|
|
395
416
|
const { set } = await listStrategy({ inputs: [], configPath, cwd, allowEmpty: true });
|
|
396
417
|
return set.records.length > 0 ? inPlay(countsLine(set.records)) : notSetUp;
|
|
@@ -470,6 +491,7 @@ function renderStatus(report, format, opts = {}) {
|
|
|
470
491
|
}
|
|
471
492
|
var FIX_SKILL = "manni:fix";
|
|
472
493
|
var FIX_SENTENCE = `The ${FIX_SKILL} skill says how to repair each finding.`;
|
|
494
|
+
var STRATEGY_SENTENCE = "Pages name their readers and jobs in audiences:, personas: and journeys:. Write each page for the ones it names; manni strategy list prints every record.";
|
|
473
495
|
var TREE_WIDE = [
|
|
474
496
|
// A source edit can drift any citation.
|
|
475
497
|
["cite", "every citation"],
|
|
@@ -490,6 +512,8 @@ function agentLines(report) {
|
|
|
490
512
|
return [
|
|
491
513
|
`After you edit a file in ${names}, manni check runs on it, and errors come back to you at once.`,
|
|
492
514
|
`Before you finish, manni check runs on every file you changed${plus}.${also} You get one repair pass.`,
|
|
515
|
+
// A Write of a new page has no Read, so the briefing is what reaches it.
|
|
516
|
+
...inPlay.has("strategy") ? [STRATEGY_SENTENCE] : [],
|
|
493
517
|
FIX_SENTENCE
|
|
494
518
|
].join("\n");
|
|
495
519
|
}
|
|
@@ -508,14 +532,20 @@ function exportGeneratedBy(envelope, env = process.env) {
|
|
|
508
532
|
|
|
509
533
|
// src/family/commands/check.ts
|
|
510
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
|
+
}
|
|
511
541
|
async function runDomain(domain, ctx) {
|
|
512
542
|
const { family, cwd, inputs, onNotice } = ctx;
|
|
513
543
|
const configPath = family.configPath;
|
|
514
544
|
switch (domain) {
|
|
515
545
|
case "meta": {
|
|
516
546
|
const [{ runValidate }, { render: renderMeta }] = await Promise.all([
|
|
517
|
-
import("./validate-
|
|
518
|
-
import("./reporters-
|
|
547
|
+
import("./validate-TDIEFXRQ.js"),
|
|
548
|
+
import("./reporters-OWYFZD4S.js")
|
|
519
549
|
]);
|
|
520
550
|
const run2 = await runValidate({ inputs, configPath, cwd, skipDefaultOnly: true, onNotice });
|
|
521
551
|
if (run2.results.length === 0) {
|
|
@@ -523,7 +553,8 @@ async function runDomain(domain, ctx) {
|
|
|
523
553
|
}
|
|
524
554
|
return {
|
|
525
555
|
failed: run2.summary.failed > 0,
|
|
526
|
-
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)
|
|
527
558
|
};
|
|
528
559
|
}
|
|
529
560
|
case "cite": {
|
|
@@ -534,11 +565,11 @@ async function runDomain(domain, ctx) {
|
|
|
534
565
|
{ renderCheckGithub: citeGithub },
|
|
535
566
|
{ renderCheckSarif: citeSarif }
|
|
536
567
|
] = await Promise.all([
|
|
537
|
-
import("./check-
|
|
538
|
-
import("./pretty-
|
|
539
|
-
import("./json-
|
|
540
|
-
import("./github-
|
|
541
|
-
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")
|
|
542
573
|
]);
|
|
543
574
|
const run2 = await runCite({ inputs, configPath, cwd, onNotice });
|
|
544
575
|
if (!run2.pages.some((p) => p.citations.length > 0 || p.findings.length > 0)) {
|
|
@@ -546,6 +577,7 @@ async function runDomain(domain, ctx) {
|
|
|
546
577
|
}
|
|
547
578
|
return {
|
|
548
579
|
failed: run2.summary.failed > 0,
|
|
580
|
+
findings: fromResults(run2.results, run2.frame),
|
|
549
581
|
render: (format, color) => {
|
|
550
582
|
switch (format) {
|
|
551
583
|
case "pretty":
|
|
@@ -563,20 +595,22 @@ async function runDomain(domain, ctx) {
|
|
|
563
595
|
case "lint": {
|
|
564
596
|
if (!family.sections.has("lint")) return { skipped: NOT_SET_UP.lint };
|
|
565
597
|
const [{ runLint }, { render: renderLint }] = await Promise.all([
|
|
566
|
-
import("./lint-
|
|
567
|
-
import("./reporters-
|
|
598
|
+
import("./lint-VB5A3ENL.js"),
|
|
599
|
+
import("./reporters-43LBUWEE.js")
|
|
568
600
|
]);
|
|
569
601
|
const run2 = await runLint({ inputs, configPath, cwd, onNotice });
|
|
602
|
+
const root = inputs.length === 0 ? resolve4(cwd, family.file.dir) : cwd;
|
|
570
603
|
return {
|
|
571
604
|
failed: run2.summary.failed > 0,
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
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
|
+
)
|
|
575
609
|
};
|
|
576
610
|
}
|
|
577
611
|
case "docevals": {
|
|
578
612
|
const [{ runRun: runDocevals }, { render: renderDocevals }, { DocevalsError }] = await Promise.all([
|
|
579
|
-
import("./run-
|
|
613
|
+
import("./run-G6G55SWJ.js"),
|
|
580
614
|
import("./reporters-6TEJDXXO.js"),
|
|
581
615
|
import("./types-7N7ETP3W.js")
|
|
582
616
|
]);
|
|
@@ -598,7 +632,13 @@ async function runDomain(domain, ctx) {
|
|
|
598
632
|
}
|
|
599
633
|
return {
|
|
600
634
|
failed: report.exitCode !== 0,
|
|
601
|
-
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
|
+
])
|
|
602
642
|
};
|
|
603
643
|
}
|
|
604
644
|
case "term": {
|
|
@@ -609,16 +649,17 @@ async function runDomain(domain, ctx) {
|
|
|
609
649
|
{ renderFindingsGithub: termGithub },
|
|
610
650
|
{ renderFindingsSarif: termSarif }
|
|
611
651
|
] = await Promise.all([
|
|
612
|
-
import("./check-
|
|
613
|
-
import("./pretty-
|
|
614
|
-
import("./json-
|
|
615
|
-
import("./github-
|
|
616
|
-
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")
|
|
617
657
|
]);
|
|
618
658
|
const report = await runTerm({ inputs, configPath, cwd, allowEmpty: true, onNotice });
|
|
619
659
|
if (report.terms === 0) return { skipped: NOT_SET_UP.term };
|
|
620
660
|
return {
|
|
621
661
|
failed: report.summary.failed > 0,
|
|
662
|
+
findings: fromResults(report.results, report.frame),
|
|
622
663
|
render: (format, color) => {
|
|
623
664
|
switch (format) {
|
|
624
665
|
case "pretty":
|
|
@@ -641,16 +682,17 @@ async function runDomain(domain, ctx) {
|
|
|
641
682
|
{ renderFindingsGithub: strategyGithub },
|
|
642
683
|
{ renderFindingsSarif: strategySarif }
|
|
643
684
|
] = await Promise.all([
|
|
644
|
-
import("./check-
|
|
645
|
-
import("./pretty-
|
|
646
|
-
import("./json-
|
|
647
|
-
import("./github-
|
|
648
|
-
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")
|
|
649
690
|
]);
|
|
650
691
|
const report = await runStrategy({ inputs, configPath, cwd, allowEmpty: true, onNotice });
|
|
651
692
|
if (report.records === 0) return { skipped: NOT_SET_UP.strategy };
|
|
652
693
|
return {
|
|
653
694
|
failed: report.summary.failed > 0,
|
|
695
|
+
findings: fromResults(report.results, report.frame),
|
|
654
696
|
render: (format, color) => {
|
|
655
697
|
switch (format) {
|
|
656
698
|
case "pretty":
|
|
@@ -668,15 +710,19 @@ async function runDomain(domain, ctx) {
|
|
|
668
710
|
case "graph": {
|
|
669
711
|
if (!family.sections.has("graph")) return { skipped: NOT_SET_UP.graph };
|
|
670
712
|
const [{ buildGraph }, { runCheck: runGraph, renderCheck: renderGraph }] = await Promise.all([
|
|
671
|
-
import("./build-
|
|
672
|
-
import("./check-
|
|
713
|
+
import("./build-LEKUMGEC.js"),
|
|
714
|
+
import("./check-ADCSXGBK.js")
|
|
673
715
|
]);
|
|
674
716
|
const built = await buildGraph({ config: configPath, cwd });
|
|
675
717
|
for (const warning of built.warnings) onNotice(warning);
|
|
676
718
|
const report = await runGraph({ config: configPath, cwd, turtle: built.turtle });
|
|
677
719
|
return {
|
|
678
720
|
failed: report.exitCode !== 0,
|
|
679
|
-
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
|
+
)
|
|
680
726
|
};
|
|
681
727
|
}
|
|
682
728
|
}
|
|
@@ -686,7 +732,7 @@ async function outcome(domain, ctx) {
|
|
|
686
732
|
try {
|
|
687
733
|
const result = await runDomain(domain, ctx);
|
|
688
734
|
if ("skipped" in result) return { command, status: "skipped", message: result.skipped };
|
|
689
|
-
return { command, status: result.failed ? "fail" : "pass", render: result.render };
|
|
735
|
+
return { command, status: result.failed ? "fail" : "pass", render: result.render, findings: result.findings };
|
|
690
736
|
} catch (err) {
|
|
691
737
|
return { command, status: "error", message: errorMessage(err) };
|
|
692
738
|
}
|
|
@@ -751,7 +797,34 @@ async function checkUnshared(opts) {
|
|
|
751
797
|
if (opts.scope.kind === "all" && checks.every((c) => c.status === "skipped")) {
|
|
752
798
|
throw nothingSetUpError();
|
|
753
799
|
}
|
|
754
|
-
|
|
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;
|
|
755
828
|
}
|
|
756
829
|
function exitCodeFor(run2) {
|
|
757
830
|
if (run2.checks.some((c) => c.status === "error")) return 2;
|
|
@@ -784,6 +857,8 @@ ${check.render("pretty", color)}`);
|
|
|
784
857
|
notRun.map((c) => `${c.status.padEnd(9)}${c.command.padEnd(width)}${firstLine(c.message)}`).join("\n")
|
|
785
858
|
);
|
|
786
859
|
}
|
|
860
|
+
const impact = impactBlock(run2.impact, color);
|
|
861
|
+
if (impact !== void 0) blocks.push(impact);
|
|
787
862
|
const count = (status) => run2.checks.filter((c) => c.status === status).length;
|
|
788
863
|
const errors = count("error");
|
|
789
864
|
blocks.push(
|
|
@@ -791,6 +866,11 @@ ${check.render("pretty", color)}`);
|
|
|
791
866
|
);
|
|
792
867
|
return blocks.join("\n\n");
|
|
793
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
|
+
}
|
|
794
874
|
function jsonEntry(c) {
|
|
795
875
|
if (!isRan(c)) return { command: c.command, status: c.status, message: c.message };
|
|
796
876
|
try {
|
|
@@ -804,14 +884,19 @@ function renderJson(run2) {
|
|
|
804
884
|
{
|
|
805
885
|
status: run2.status,
|
|
806
886
|
files: run2.files,
|
|
807
|
-
checks: run2.checks.map(jsonEntry)
|
|
887
|
+
checks: run2.checks.map(jsonEntry),
|
|
888
|
+
...run2.impact === void 0 ? {} : { impact: run2.impact }
|
|
808
889
|
},
|
|
809
890
|
null,
|
|
810
891
|
2
|
|
811
892
|
);
|
|
812
893
|
}
|
|
813
894
|
function renderGithub(run2) {
|
|
814
|
-
|
|
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");
|
|
815
900
|
}
|
|
816
901
|
function renderSarif(run2) {
|
|
817
902
|
const runs = [];
|
|
@@ -858,7 +943,8 @@ function renderSarif(run2) {
|
|
|
858
943
|
...notifications.length > 0 ? { toolExecutionNotifications: notifications } : {}
|
|
859
944
|
}
|
|
860
945
|
],
|
|
861
|
-
results: []
|
|
946
|
+
results: [],
|
|
947
|
+
...run2.impact === void 0 ? {} : { properties: { impact: run2.impact } }
|
|
862
948
|
});
|
|
863
949
|
return JSON.stringify(
|
|
864
950
|
{ $schema: "https://json.schemastore.org/sarif-2.1.0.json", version: "2.1.0", runs },
|
|
@@ -952,7 +1038,7 @@ async function runTurnCheck(envelope, cwd, seams = {}) {
|
|
|
952
1038
|
let renderTurn;
|
|
953
1039
|
try {
|
|
954
1040
|
const [{ checkTurn }, reporters] = await Promise.all([
|
|
955
|
-
import("./check-
|
|
1041
|
+
import("./check-SQVQE4E4.js"),
|
|
956
1042
|
import("./runtime-7QE3DW6S.js")
|
|
957
1043
|
]);
|
|
958
1044
|
renderTurn = reporters.renderCheck;
|
|
@@ -1062,7 +1148,10 @@ function buildCheck() {
|
|
|
1062
1148
|
const run2 = await runFamilyCheck({
|
|
1063
1149
|
scope: paths.length > 0 ? { kind: "paths", paths } : { kind: "all" },
|
|
1064
1150
|
...options.config === void 0 ? {} : { configPath: options.config },
|
|
1065
|
-
|
|
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
|
|
1066
1155
|
});
|
|
1067
1156
|
for (const check of run2.checks) {
|
|
1068
1157
|
if (check.status === "error") {
|
|
@@ -1113,4 +1202,4 @@ export {
|
|
|
1113
1202
|
buildStatus,
|
|
1114
1203
|
hookScope
|
|
1115
1204
|
};
|
|
1116
|
-
//# sourceMappingURL=cli-
|
|
1205
|
+
//# sourceMappingURL=cli-MPMECIQH.js.map
|