@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
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
metaProvenanceEntries
|
|
4
|
+
} from "./chunk-AZKNB2T3.js";
|
|
5
|
+
import {
|
|
6
|
+
__default3 as __default,
|
|
7
|
+
extractFrontmatter
|
|
8
|
+
} from "./chunk-QWVIGKBM.js";
|
|
9
|
+
|
|
10
|
+
// src/tracevals/trace/availability.ts
|
|
11
|
+
function newAvailability() {
|
|
12
|
+
return { recorded: false, skills: [], agents: [], tools: [], mcpServers: [] };
|
|
13
|
+
}
|
|
14
|
+
function availableAt(entries, index) {
|
|
15
|
+
return entries.filter(
|
|
16
|
+
(e) => e.offeredAt <= index && (e.withdrawnAt === void 0 || index < e.withdrawnAt)
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
function offeredNames(entries) {
|
|
20
|
+
return new Set(entries.map((e) => e.name));
|
|
21
|
+
}
|
|
22
|
+
function joinDescriptions(content, names) {
|
|
23
|
+
const byName = new Map(
|
|
24
|
+
names.map((name) => [name, void 0])
|
|
25
|
+
);
|
|
26
|
+
let current;
|
|
27
|
+
for (const raw of content.split("\n")) {
|
|
28
|
+
const line = raw.trimEnd();
|
|
29
|
+
if (line.startsWith("- ")) {
|
|
30
|
+
const body = line.slice(2);
|
|
31
|
+
let best;
|
|
32
|
+
for (const name of names) {
|
|
33
|
+
if (body !== name && !body.startsWith(`${name}:`)) continue;
|
|
34
|
+
if (best === void 0 || name.length > best.length) best = name;
|
|
35
|
+
}
|
|
36
|
+
current = best;
|
|
37
|
+
if (best === void 0) continue;
|
|
38
|
+
const rest = body.slice(best.length).replace(/^:\s*/, "").trim();
|
|
39
|
+
byName.set(best, rest.length > 0 ? rest : void 0);
|
|
40
|
+
continue;
|
|
41
|
+
}
|
|
42
|
+
if (current === void 0) continue;
|
|
43
|
+
const continued = line.trim();
|
|
44
|
+
if (continued.length === 0) continue;
|
|
45
|
+
const previous = byName.get(current);
|
|
46
|
+
byName.set(current, previous ? `${previous}
|
|
47
|
+
${continued}` : continued);
|
|
48
|
+
}
|
|
49
|
+
return byName;
|
|
50
|
+
}
|
|
51
|
+
function describedLines(names, lines) {
|
|
52
|
+
const byName = /* @__PURE__ */ new Map();
|
|
53
|
+
names.forEach((name, i) => {
|
|
54
|
+
const line = lines[i];
|
|
55
|
+
if (typeof line !== "string") {
|
|
56
|
+
byName.set(name, void 0);
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
const body = line.startsWith("- ") ? line.slice(2) : line;
|
|
60
|
+
const rest = body.startsWith(`${name}:`) ? body.slice(name.length + 1).trim() : body === name ? "" : body.trim();
|
|
61
|
+
byName.set(name, rest.length > 0 ? rest : void 0);
|
|
62
|
+
});
|
|
63
|
+
return byName;
|
|
64
|
+
}
|
|
65
|
+
var asStrings = (value) => Array.isArray(value) ? value.filter((v) => typeof v === "string") : [];
|
|
66
|
+
function newReplay() {
|
|
67
|
+
return {
|
|
68
|
+
roster: newAvailability(),
|
|
69
|
+
open: /* @__PURE__ */ new Map([
|
|
70
|
+
["skill", /* @__PURE__ */ new Map()],
|
|
71
|
+
["agent", /* @__PURE__ */ new Map()],
|
|
72
|
+
["tool", /* @__PURE__ */ new Map()],
|
|
73
|
+
["mcp-server", /* @__PURE__ */ new Map()]
|
|
74
|
+
])
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
function listFor(roster, kind) {
|
|
78
|
+
if (kind === "skill") return roster.skills;
|
|
79
|
+
if (kind === "agent") return roster.agents;
|
|
80
|
+
if (kind === "tool") return roster.tools;
|
|
81
|
+
return roster.mcpServers;
|
|
82
|
+
}
|
|
83
|
+
function offer(replay, kind, name, index, description, status) {
|
|
84
|
+
const open = replay.open.get(kind);
|
|
85
|
+
const existing = open.get(name);
|
|
86
|
+
if (existing !== void 0) {
|
|
87
|
+
if (existing.description === void 0 && description !== void 0) {
|
|
88
|
+
existing.description = description;
|
|
89
|
+
}
|
|
90
|
+
if (status !== void 0) existing.status = status;
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
const entry = { kind, name, offeredAt: index };
|
|
94
|
+
if (description !== void 0) entry.description = description;
|
|
95
|
+
if (status !== void 0) entry.status = status;
|
|
96
|
+
open.set(name, entry);
|
|
97
|
+
listFor(replay.roster, kind).push(entry);
|
|
98
|
+
}
|
|
99
|
+
function withdraw(replay, kind, name, index) {
|
|
100
|
+
const open = replay.open.get(kind);
|
|
101
|
+
const entry = open.get(name);
|
|
102
|
+
if (entry === void 0) return;
|
|
103
|
+
entry.withdrawnAt = index;
|
|
104
|
+
open.delete(name);
|
|
105
|
+
}
|
|
106
|
+
function openNames(replay, kind) {
|
|
107
|
+
return [...replay.open.get(kind).keys()];
|
|
108
|
+
}
|
|
109
|
+
function applyAvailabilityRecord(replay, attachment, index) {
|
|
110
|
+
if (typeof attachment !== "object" || attachment === null) return false;
|
|
111
|
+
const record = attachment;
|
|
112
|
+
const type = record.type;
|
|
113
|
+
if (type === "skill_listing") {
|
|
114
|
+
const names = asStrings(record.names);
|
|
115
|
+
const content = typeof record.content === "string" ? record.content : "";
|
|
116
|
+
if (record.isInitial === true) {
|
|
117
|
+
for (const name of openNames(replay, "skill")) {
|
|
118
|
+
if (!names.includes(name)) withdraw(replay, "skill", name, index);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
const described = joinDescriptions(content, names);
|
|
122
|
+
for (const name of names) {
|
|
123
|
+
offer(replay, "skill", name, index, described.get(name));
|
|
124
|
+
}
|
|
125
|
+
return true;
|
|
126
|
+
}
|
|
127
|
+
if (type === "agent_listing_delta") {
|
|
128
|
+
const added = asStrings(record.addedTypes);
|
|
129
|
+
const lines = asStrings(record.addedLines);
|
|
130
|
+
if (record.isInitial === true) {
|
|
131
|
+
for (const name of openNames(replay, "agent")) {
|
|
132
|
+
if (!added.includes(name)) withdraw(replay, "agent", name, index);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
const described = describedLines(added, lines);
|
|
136
|
+
for (const name of added) {
|
|
137
|
+
offer(replay, "agent", name, index, described.get(name));
|
|
138
|
+
}
|
|
139
|
+
for (const name of asStrings(record.removedTypes)) {
|
|
140
|
+
withdraw(replay, "agent", name, index);
|
|
141
|
+
}
|
|
142
|
+
return true;
|
|
143
|
+
}
|
|
144
|
+
if (type === "deferred_tools_delta") {
|
|
145
|
+
for (const name of asStrings(record.removedNames)) {
|
|
146
|
+
withdraw(replay, "tool", name, index);
|
|
147
|
+
}
|
|
148
|
+
for (const name of [
|
|
149
|
+
...asStrings(record.addedNames),
|
|
150
|
+
...asStrings(record.readdedNames)
|
|
151
|
+
]) {
|
|
152
|
+
offer(replay, "tool", name, index);
|
|
153
|
+
}
|
|
154
|
+
const servers = [
|
|
155
|
+
...asStrings(record.pendingMcpServers).map(
|
|
156
|
+
(n) => [n, "pending"]
|
|
157
|
+
),
|
|
158
|
+
...asStrings(record.needsAuthMcpServers).map(
|
|
159
|
+
(n) => [n, "needs-auth"]
|
|
160
|
+
),
|
|
161
|
+
...asStrings(record.failedMcpServers).map(
|
|
162
|
+
(n) => [n, "failed"]
|
|
163
|
+
)
|
|
164
|
+
];
|
|
165
|
+
for (const [name, status] of servers) {
|
|
166
|
+
offer(replay, "mcp-server", name, index, void 0, status);
|
|
167
|
+
}
|
|
168
|
+
return true;
|
|
169
|
+
}
|
|
170
|
+
return false;
|
|
171
|
+
}
|
|
172
|
+
function remapAvailability(roster, at) {
|
|
173
|
+
const shift = (entries) => entries.map((entry) => ({
|
|
174
|
+
...entry,
|
|
175
|
+
offeredAt: at(entry.offeredAt),
|
|
176
|
+
...entry.withdrawnAt !== void 0 ? { withdrawnAt: at(entry.withdrawnAt) } : {}
|
|
177
|
+
}));
|
|
178
|
+
return {
|
|
179
|
+
recorded: roster.recorded,
|
|
180
|
+
skills: shift(roster.skills),
|
|
181
|
+
agents: shift(roster.agents),
|
|
182
|
+
tools: shift(roster.tools),
|
|
183
|
+
mcpServers: shift(roster.mcpServers)
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
function foldBranchAvailability(roster, branch, branchId, spawnIndex) {
|
|
187
|
+
if (!branch.recorded) return;
|
|
188
|
+
roster.recorded = true;
|
|
189
|
+
const merge = (into, from) => {
|
|
190
|
+
const known = offeredNames(into);
|
|
191
|
+
for (const entry of from) {
|
|
192
|
+
if (known.has(entry.name)) continue;
|
|
193
|
+
known.add(entry.name);
|
|
194
|
+
into.push({
|
|
195
|
+
...entry,
|
|
196
|
+
offeredAt: spawnIndex,
|
|
197
|
+
branchId,
|
|
198
|
+
...entry.withdrawnAt !== void 0 ? { withdrawnAt: void 0 } : {}
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
merge(roster.skills, branch.skills);
|
|
203
|
+
merge(roster.agents, branch.agents);
|
|
204
|
+
merge(roster.tools, branch.tools);
|
|
205
|
+
merge(roster.mcpServers, branch.mcpServers);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
// src/tracevals/evals/schema.ts
|
|
209
|
+
import { Ajv2020 } from "ajv/dist/2020.js";
|
|
210
|
+
var artifactEvalsSchema = __default;
|
|
211
|
+
var ARTIFACT_EVALS_SCHEMA_ID = __default.$id;
|
|
212
|
+
var ajv = new Ajv2020({ allErrors: true, allowUnionTypes: true });
|
|
213
|
+
ajv.addKeyword({ keyword: "x-manni-location" });
|
|
214
|
+
var validateArtifact = ajv.compile(artifactEvalsSchema);
|
|
215
|
+
function subjectOf(e) {
|
|
216
|
+
switch (e.keyword) {
|
|
217
|
+
case "required":
|
|
218
|
+
return e.params.missingProperty;
|
|
219
|
+
case "additionalProperties":
|
|
220
|
+
return e.params.additionalProperty;
|
|
221
|
+
case "format":
|
|
222
|
+
return e.params.format;
|
|
223
|
+
case "type":
|
|
224
|
+
return e.params.type;
|
|
225
|
+
default:
|
|
226
|
+
return void 0;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
function artifactEvalsErrors(data, lineFor) {
|
|
230
|
+
if (validateArtifact(data)) return [];
|
|
231
|
+
const errors = [];
|
|
232
|
+
for (const raw of validateArtifact.errors ?? []) {
|
|
233
|
+
errors.push(toFieldError(raw, lineFor));
|
|
234
|
+
}
|
|
235
|
+
return errors;
|
|
236
|
+
}
|
|
237
|
+
function toFieldError(e, lineFor) {
|
|
238
|
+
const subject = subjectOf(e);
|
|
239
|
+
const message = subject !== void 0 && (e.keyword === "required" || e.keyword === "additionalProperties") ? `${e.message ?? "is invalid"} ("${subject}")` : e.message ?? "is invalid";
|
|
240
|
+
const line = lineFor(e.instancePath);
|
|
241
|
+
return {
|
|
242
|
+
schema: ARTIFACT_EVALS_SCHEMA_ID,
|
|
243
|
+
instancePath: e.instancePath,
|
|
244
|
+
message,
|
|
245
|
+
keyword: e.keyword,
|
|
246
|
+
...subject !== void 0 ? { subject } : {},
|
|
247
|
+
...line !== void 0 ? { line } : {}
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
// src/tracevals/evals/extract.ts
|
|
252
|
+
var CLAIMED_KEYS = ["evals", "eval-skip", "meta-provenance"];
|
|
253
|
+
var PREFIX_EXCEPTION = "eval-skip";
|
|
254
|
+
function isPlainObject(value) {
|
|
255
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
256
|
+
}
|
|
257
|
+
function extractEvals(artifact, supplied) {
|
|
258
|
+
const extracted = supplied ?? extractFrontmatter(artifact.content, "markdown");
|
|
259
|
+
const metadata = extracted.data.metadata;
|
|
260
|
+
const bag = isPlainObject(metadata) ? metadata : void 0;
|
|
261
|
+
const declared = bag !== void 0 && bag.evals !== void 0;
|
|
262
|
+
if (!extracted.present && metadata === void 0) {
|
|
263
|
+
return { evals: [], errors: [], declared: false, skip: false, proposedBy: /* @__PURE__ */ new Map() };
|
|
264
|
+
}
|
|
265
|
+
const typoErrors = reservedPrefixErrors(bag, extracted.lineFor);
|
|
266
|
+
if (typoErrors.length > 0) {
|
|
267
|
+
return { evals: [], errors: typoErrors, declared, skip: false, proposedBy: /* @__PURE__ */ new Map() };
|
|
268
|
+
}
|
|
269
|
+
const wellFormed = metadata === void 0 || bag !== void 0;
|
|
270
|
+
const claimsNothing = bag === void 0 || !CLAIMED_KEYS.some((key) => bag[key] !== void 0);
|
|
271
|
+
if (wellFormed && claimsNothing) {
|
|
272
|
+
return {
|
|
273
|
+
evals: [],
|
|
274
|
+
errors: [],
|
|
275
|
+
declared: false,
|
|
276
|
+
skip: false,
|
|
277
|
+
proposedBy: /* @__PURE__ */ new Map()
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
const errors = artifactEvalsErrors(extracted.data, extracted.lineFor);
|
|
281
|
+
if (errors.length > 0) {
|
|
282
|
+
return { evals: [], errors, declared, skip: false, proposedBy: /* @__PURE__ */ new Map() };
|
|
283
|
+
}
|
|
284
|
+
const valid = bag ?? {};
|
|
285
|
+
const skip = valid["eval-skip"] === true;
|
|
286
|
+
return {
|
|
287
|
+
evals: normalizeBlock(valid.evals),
|
|
288
|
+
errors: [],
|
|
289
|
+
declared,
|
|
290
|
+
skip,
|
|
291
|
+
proposedBy: readProvenance(valid["meta-provenance"])
|
|
292
|
+
};
|
|
293
|
+
}
|
|
294
|
+
function readProvenance(raw) {
|
|
295
|
+
const out = /* @__PURE__ */ new Map();
|
|
296
|
+
for (const entry of metaProvenanceEntries(raw)) {
|
|
297
|
+
const by = entry["generated-by"];
|
|
298
|
+
for (const id of entry.evals) {
|
|
299
|
+
const list = out.get(id) ?? [];
|
|
300
|
+
if (!list.includes(by)) list.push(by);
|
|
301
|
+
out.set(id, list);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
return out;
|
|
305
|
+
}
|
|
306
|
+
function reservedPrefixErrors(bag, lineFor) {
|
|
307
|
+
if (bag === void 0) return [];
|
|
308
|
+
const errors = [];
|
|
309
|
+
for (const key of Object.keys(bag)) {
|
|
310
|
+
if (!/^eval-/i.test(key) || key === PREFIX_EXCEPTION) continue;
|
|
311
|
+
const line = lineFor(`/metadata/${key}`);
|
|
312
|
+
errors.push({
|
|
313
|
+
schema: ARTIFACT_EVALS_SCHEMA_ID,
|
|
314
|
+
instancePath: `/metadata/${key}`,
|
|
315
|
+
message: `unrecognized "eval-" key; the only one this vocabulary claims under that prefix is ${PREFIX_EXCEPTION} (its other members are ${CLAIMED_KEYS.filter((k) => k !== PREFIX_EXCEPTION).join(" and ")})`,
|
|
316
|
+
keyword: "additionalProperties",
|
|
317
|
+
subject: key,
|
|
318
|
+
...line !== void 0 ? { line } : {}
|
|
319
|
+
});
|
|
320
|
+
}
|
|
321
|
+
return errors;
|
|
322
|
+
}
|
|
323
|
+
function normalizeBlock(raw) {
|
|
324
|
+
if (typeof raw === "string") return [normalizeEntry(raw, 0)];
|
|
325
|
+
if (!Array.isArray(raw)) return [];
|
|
326
|
+
return raw.map((entry, index) => normalizeEntry(entry, index));
|
|
327
|
+
}
|
|
328
|
+
function normalizeEntry(raw, index) {
|
|
329
|
+
if (typeof raw === "string") {
|
|
330
|
+
return {
|
|
331
|
+
id: `eval-${index + 1}`,
|
|
332
|
+
assertion: raw,
|
|
333
|
+
type: "regression",
|
|
334
|
+
grader: "ai",
|
|
335
|
+
severity: "error"
|
|
336
|
+
};
|
|
337
|
+
}
|
|
338
|
+
const obj = raw;
|
|
339
|
+
const entry = {
|
|
340
|
+
id: obj.id,
|
|
341
|
+
// Optional since artifact-evals proposal.2: a `tool-usage` criterion says
|
|
342
|
+
// everything in `options`, and demanding a sentence no grader reads was
|
|
343
|
+
// the one place this vocabulary disagreed with the page side. The schema
|
|
344
|
+
// still requires it for `ai`, `human`, and a bare entry (which defaults to
|
|
345
|
+
// `ai`), so anything that actually needs an assertion still has one.
|
|
346
|
+
...typeof obj.assertion === "string" ? { assertion: obj.assertion } : {},
|
|
347
|
+
type: obj.type ?? "regression",
|
|
348
|
+
grader: typeof obj.grader === "string" ? obj.grader : "ai",
|
|
349
|
+
severity: obj.severity ?? "error"
|
|
350
|
+
};
|
|
351
|
+
if (typeof obj.provider === "string") entry.provider = obj.provider;
|
|
352
|
+
if (typeof obj.model === "string") entry.model = obj.model;
|
|
353
|
+
if (typeof obj.runs === "number") entry.runs = obj.runs;
|
|
354
|
+
if (typeof obj.weight === "number") entry.weight = obj.weight;
|
|
355
|
+
if (typeof obj.target === "string" || obj.target && typeof obj.target === "object") {
|
|
356
|
+
entry.target = obj.target;
|
|
357
|
+
}
|
|
358
|
+
if (obj.options && typeof obj.options === "object") {
|
|
359
|
+
entry.options = obj.options;
|
|
360
|
+
}
|
|
361
|
+
if (typeof obj.evidence === "string") entry.evidence = obj.evidence;
|
|
362
|
+
if (obj.examples && typeof obj.examples === "object") {
|
|
363
|
+
entry.examples = normalizeExamples(obj.examples);
|
|
364
|
+
}
|
|
365
|
+
if (obj.skip === true) entry.skip = true;
|
|
366
|
+
if (obj["severity-map"] && typeof obj["severity-map"] === "object") {
|
|
367
|
+
entry.severityMap = obj["severity-map"];
|
|
368
|
+
}
|
|
369
|
+
if (Array.isArray(obj.command)) entry.command = obj.command;
|
|
370
|
+
if (Array.isArray(obj["success-exit-codes"])) {
|
|
371
|
+
entry.successExitCodes = obj["success-exit-codes"];
|
|
372
|
+
}
|
|
373
|
+
if (typeof obj["timeout-ms"] === "number") {
|
|
374
|
+
entry.timeoutMs = obj["timeout-ms"];
|
|
375
|
+
}
|
|
376
|
+
if (typeof obj["generated-assertion-hash"] === "string") {
|
|
377
|
+
entry.generatedAssertionHash = obj["generated-assertion-hash"];
|
|
378
|
+
}
|
|
379
|
+
return entry;
|
|
380
|
+
}
|
|
381
|
+
function normalizeExamples(raw) {
|
|
382
|
+
const out = {};
|
|
383
|
+
const pass = anchorList(raw.pass);
|
|
384
|
+
const fail = anchorList(raw.fail);
|
|
385
|
+
if (pass) out.pass = pass;
|
|
386
|
+
if (fail) out.fail = fail;
|
|
387
|
+
return out;
|
|
388
|
+
}
|
|
389
|
+
function anchorList(raw) {
|
|
390
|
+
if (typeof raw === "string") return [raw];
|
|
391
|
+
if (Array.isArray(raw)) return raw.filter((e) => typeof e === "string");
|
|
392
|
+
return void 0;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
export {
|
|
396
|
+
newAvailability,
|
|
397
|
+
availableAt,
|
|
398
|
+
offeredNames,
|
|
399
|
+
joinDescriptions,
|
|
400
|
+
newReplay,
|
|
401
|
+
applyAvailabilityRecord,
|
|
402
|
+
remapAvailability,
|
|
403
|
+
foldBranchAvailability,
|
|
404
|
+
ARTIFACT_EVALS_SCHEMA_ID,
|
|
405
|
+
artifactEvalsErrors,
|
|
406
|
+
extractEvals,
|
|
407
|
+
normalizeEntry
|
|
408
|
+
};
|
|
409
|
+
//# sourceMappingURL=chunk-QJGPOFNB.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/tracevals/trace/availability.ts","../src/tracevals/evals/schema.ts","../src/tracevals/evals/extract.ts"],"sourcesContent":["/**\n * The availability roster (ADR 01016): what a session was *offered*, whether or\n * not it used any of it.\n *\n * Claude Code records the roster in the transcript as structured `attachment`\n * records rather than as the prose the model reads, so it is recoverable\n * deterministically and **retroactively, on every session already on disk**:\n *\n * | `attachment.type` | Carries |\n * |---|---|\n * | `skill_listing` | `names`, `skillCount`, `isInitial`, and `content` — one `- name: description` line per skill |\n * | `agent_listing_delta` | `addedTypes`, `addedLines` (description plus tool grants), `removedTypes`, `isInitial` |\n * | `deferred_tools_delta` | `addedNames`, `removedNames`, `readdedNames`, and the MCP server state lists |\n *\n * Two properties of the real data drive the shape of this module, both\n * confirmed across the 606 `skill_listing` records in a 281-session store:\n *\n * 1. **`content` is the description source, `names` is the identity source.**\n * A plugin skill is named `plugin:skill`, so splitting a listing line on its\n * first colon truncates the name; every line is instead matched against the\n * `names` array (longest match wins). On that corpus the rule leaves zero\n * lines unjoined. Descriptions also wrap onto continuation lines, and the\n * listing text is capped near 30,000 characters — past the cap Claude Code\n * emits bare `- name` lines, so a description is genuinely optional.\n * 2. **Deltas are not idempotent.** `isInitial: true` replaces the set;\n * `isInitial: false` adds (and, for agents and tools, removes). Replay is\n * therefore ordered by record index, and per-index history is kept so a\n * consumer can ask what was available when a window opened rather than only\n * what was available at some point.\n */\nimport type {\n AvailabilityEntry,\n AvailabilityKind,\n McpServerStatus,\n TraceAvailability,\n} from \"./types.js\";\n\nexport function newAvailability(): TraceAvailability {\n return { recorded: false, skills: [], agents: [], tools: [], mcpServers: [] };\n}\n\n/** Entries whose interval covers `index`. */\nexport function availableAt(\n entries: readonly AvailabilityEntry[],\n index: number,\n): AvailabilityEntry[] {\n return entries.filter(\n (e) => e.offeredAt <= index && (e.withdrawnAt === undefined || index < e.withdrawnAt),\n );\n}\n\n/** Every distinct name that was offered at any point. */\nexport function offeredNames(entries: readonly AvailabilityEntry[]): Set<string> {\n return new Set(entries.map((e) => e.name));\n}\n\n/**\n * Join a listing's `content` lines onto its `names`.\n *\n * A line belongs to the longest name it starts with, so `plugin:skill` survives\n * intact; a line that starts no name is a continuation of the description above\n * it. Names with no line at all keep an absent description.\n */\nexport function joinDescriptions(\n content: string,\n names: readonly string[],\n): Map<string, string | undefined> {\n const byName = new Map<string, string | undefined>(\n names.map((name) => [name, undefined]),\n );\n let current: string | undefined;\n for (const raw of content.split(\"\\n\")) {\n const line = raw.trimEnd();\n if (line.startsWith(\"- \")) {\n const body = line.slice(2);\n let best: string | undefined;\n for (const name of names) {\n if (body !== name && !body.startsWith(`${name}:`)) continue;\n if (best === undefined || name.length > best.length) best = name;\n }\n // A `- ` line that names nothing on the roster is not a skill entry, so\n // it must not become the target for the lines that follow it either.\n current = best;\n if (best === undefined) continue;\n const rest = body.slice(best.length).replace(/^:\\s*/, \"\").trim();\n byName.set(best, rest.length > 0 ? rest : undefined);\n continue;\n }\n if (current === undefined) continue;\n const continued = line.trim();\n if (continued.length === 0) continue;\n const previous = byName.get(current);\n byName.set(current, previous ? `${previous}\\n${continued}` : continued);\n }\n return byName;\n}\n\n/** `- name: description` in one string, as the agent-listing deltas ship it. */\nfunction describedLines(\n names: readonly string[],\n lines: readonly string[],\n): Map<string, string | undefined> {\n const byName = new Map<string, string | undefined>();\n names.forEach((name, i) => {\n const line = lines[i];\n if (typeof line !== \"string\") {\n byName.set(name, undefined);\n return;\n }\n const body = line.startsWith(\"- \") ? line.slice(2) : line;\n const rest = body.startsWith(`${name}:`)\n ? body.slice(name.length + 1).trim()\n : body === name\n ? \"\"\n : body.trim();\n byName.set(name, rest.length > 0 ? rest : undefined);\n });\n return byName;\n}\n\nconst asStrings = (value: unknown): string[] =>\n Array.isArray(value) ? value.filter((v): v is string => typeof v === \"string\") : [];\n\n/** Mutable replay state: the open interval per name, per kind. */\nexport interface AvailabilityReplay {\n roster: TraceAvailability;\n open: Map<AvailabilityKind, Map<string, AvailabilityEntry>>;\n}\n\nexport function newReplay(): AvailabilityReplay {\n return {\n roster: newAvailability(),\n open: new Map<AvailabilityKind, Map<string, AvailabilityEntry>>([\n [\"skill\", new Map()],\n [\"agent\", new Map()],\n [\"tool\", new Map()],\n [\"mcp-server\", new Map()],\n ]),\n };\n}\n\nfunction listFor(\n roster: TraceAvailability,\n kind: AvailabilityKind,\n): AvailabilityEntry[] {\n if (kind === \"skill\") return roster.skills;\n if (kind === \"agent\") return roster.agents;\n if (kind === \"tool\") return roster.tools;\n return roster.mcpServers;\n}\n\nfunction offer(\n replay: AvailabilityReplay,\n kind: AvailabilityKind,\n name: string,\n index: number,\n description?: string,\n status?: McpServerStatus,\n): void {\n const open = replay.open.get(kind) as Map<string, AvailabilityEntry>;\n const existing = open.get(name);\n if (existing !== undefined) {\n // Already offered: keep the one interval and let a later listing fill in a\n // description the earlier, truncated one omitted.\n if (existing.description === undefined && description !== undefined) {\n existing.description = description;\n }\n if (status !== undefined) existing.status = status;\n return;\n }\n const entry: AvailabilityEntry = { kind, name, offeredAt: index };\n if (description !== undefined) entry.description = description;\n if (status !== undefined) entry.status = status;\n open.set(name, entry);\n listFor(replay.roster, kind).push(entry);\n}\n\nfunction withdraw(\n replay: AvailabilityReplay,\n kind: AvailabilityKind,\n name: string,\n index: number,\n): void {\n const open = replay.open.get(kind) as Map<string, AvailabilityEntry>;\n const entry = open.get(name);\n if (entry === undefined) return;\n entry.withdrawnAt = index;\n open.delete(name);\n}\n\n/** Names currently offered for a kind, in offer order. */\nfunction openNames(replay: AvailabilityReplay, kind: AvailabilityKind): string[] {\n return [...(replay.open.get(kind) as Map<string, AvailabilityEntry>).keys()];\n}\n\n/**\n * Fold one `attachment` payload into the roster. Anything unrecognised, or\n * shaped unexpectedly, is ignored rather than thrown: a listing record is\n * bookkeeping, and losing one must never cost the run its trace (ADR 01003).\n *\n * Returns true when the record was a listing record — which is what makes\n * `recorded` mean \"a roster was present\", as opposed to \"the roster was empty\".\n */\nexport function applyAvailabilityRecord(\n replay: AvailabilityReplay,\n attachment: unknown,\n index: number,\n): boolean {\n if (typeof attachment !== \"object\" || attachment === null) return false;\n const record = attachment as Record<string, unknown>;\n const type = record.type;\n\n if (type === \"skill_listing\") {\n const names = asStrings(record.names);\n const content = typeof record.content === \"string\" ? record.content : \"\";\n // A skill listing carries no removal member of its own: an initial listing\n // is the set, and a delta only adds.\n if (record.isInitial === true) {\n for (const name of openNames(replay, \"skill\")) {\n if (!names.includes(name)) withdraw(replay, \"skill\", name, index);\n }\n }\n const described = joinDescriptions(content, names);\n for (const name of names) {\n offer(replay, \"skill\", name, index, described.get(name));\n }\n return true;\n }\n\n if (type === \"agent_listing_delta\") {\n const added = asStrings(record.addedTypes);\n const lines = asStrings(record.addedLines);\n if (record.isInitial === true) {\n for (const name of openNames(replay, \"agent\")) {\n if (!added.includes(name)) withdraw(replay, \"agent\", name, index);\n }\n }\n const described = describedLines(added, lines);\n for (const name of added) {\n offer(replay, \"agent\", name, index, described.get(name));\n }\n for (const name of asStrings(record.removedTypes)) {\n withdraw(replay, \"agent\", name, index);\n }\n return true;\n }\n\n if (type === \"deferred_tools_delta\") {\n // Tool deltas carry no `isInitial` at all — verified across 431 records —\n // so they are purely additive/subtractive.\n for (const name of asStrings(record.removedNames)) {\n withdraw(replay, \"tool\", name, index);\n }\n // `addedLines` is the tool's own name again rather than a description, and\n // is sometimes empty while `addedNames` is not; there is no description to\n // recover for a tool.\n // `readdedNames` is the shape a re-offer actually takes: a tool that was\n // withdrawn and is offered again arrives there, not in `addedNames`.\n // Reading only `addedNames` left it withdrawn for the rest of the\n // session, so `availableAt` answered false for a tool the session could\n // still call.\n for (const name of [\n ...asStrings(record.addedNames),\n ...asStrings(record.readdedNames),\n ]) {\n offer(replay, \"tool\", name, index);\n }\n const servers: Array<[string, McpServerStatus]> = [\n ...asStrings(record.pendingMcpServers).map(\n (n): [string, McpServerStatus] => [n, \"pending\"],\n ),\n ...asStrings(record.needsAuthMcpServers).map(\n (n): [string, McpServerStatus] => [n, \"needs-auth\"],\n ),\n ...asStrings(record.failedMcpServers).map(\n (n): [string, McpServerStatus] => [n, \"failed\"],\n ),\n ];\n for (const [name, status] of servers) {\n offer(replay, \"mcp-server\", name, index, undefined, status);\n }\n return true;\n }\n\n return false;\n}\n\n/** Shift every ordinal through a remap, for the sidecar splice (ADR 01014). */\nexport function remapAvailability(\n roster: TraceAvailability,\n at: (index: number) => number,\n): TraceAvailability {\n const shift = (entries: AvailabilityEntry[]): AvailabilityEntry[] =>\n entries.map((entry) => ({\n ...entry,\n offeredAt: at(entry.offeredAt),\n ...(entry.withdrawnAt !== undefined\n ? { withdrawnAt: at(entry.withdrawnAt) }\n : {}),\n }));\n return {\n recorded: roster.recorded,\n skills: shift(roster.skills),\n agents: shift(roster.agents),\n tools: shift(roster.tools),\n mcpServers: shift(roster.mcpServers),\n };\n}\n\n/**\n * Fold a subagent branch's own roster into the session's.\n *\n * A subagent is offered its own roster — every sidecar transcript checked\n * carries `skill_listing` and `deferred_tools_delta` records of its own — and\n * that roster is a *different* set from the parent's. Replaying it as if it\n * were the main chain's would churn the parent's intervals, since a sidecar's\n * listing is `isInitial: true` and would withdraw everything the parent had.\n *\n * So only names the session never saw at all are added, tagged with the branch\n * that saw them and never withdrawn. That keeps the main chain's intervals\n * exact while making \"was this ever on the menu?\" — the question coverage asks\n * — answer correctly for a skill only a subagent was offered.\n */\nexport function foldBranchAvailability(\n roster: TraceAvailability,\n branch: TraceAvailability,\n branchId: string,\n spawnIndex: number,\n): void {\n if (!branch.recorded) return;\n roster.recorded = true;\n const merge = (into: AvailabilityEntry[], from: AvailabilityEntry[]): void => {\n const known = offeredNames(into);\n for (const entry of from) {\n if (known.has(entry.name)) continue;\n known.add(entry.name);\n into.push({\n ...entry,\n offeredAt: spawnIndex,\n branchId,\n ...(entry.withdrawnAt !== undefined ? { withdrawnAt: undefined } : {}),\n });\n }\n };\n merge(roster.skills, branch.skills);\n merge(roster.agents, branch.agents);\n merge(roster.tools, branch.tools);\n merge(roster.mcpServers, branch.mcpServers);\n}\n","/**\n * The artifact vocabulary `manni tracevals` implements:\n * `manni:artifact-evals:1.1.0`, the built-in the metadata tool registers\n * under `src/meta/schemas/` (proposal 0076). Artifacts are validated against\n * that schema itself, imported and bundled into the build, so tracevals and\n * `manni meta validate` read the same bytes and the built CLI never reads a\n * `schemas/` directory at runtime.\n *\n * 1.1.0 rather than 1.0.0 because it names `tool-order`, a grader this tool\n * ships. The open vocabulary accepts any kebab grader name at either version.\n *\n * tracevals ships no copy of the schema. A copy is a second artifact to keep\n * in step, and the two it used to publish had drifted: they kept\n * `eval-provenance` and the `info` severity after 0046 removed both. A\n * consumer who wants to validate artifacts names `manni:artifact-evals:1.1.0`\n * to `manni meta validate`, or validates against the object below.\n *\n * The validator is this tool's own Ajv rather than meta's `Validator`, which\n * takes refs it can load rather than a schema object. Violations are converted\n * to `FieldError` here so everything downstream — the planner, the reporters —\n * sees the one finding shape the family reports.\n */\nimport { Ajv2020 } from \"ajv/dist/2020.js\";\nimport type { DefinedError, ErrorObject } from \"ajv\";\nimport type { FieldError } from \"../../meta/index.js\";\nimport schema from \"../../meta/schemas/artifact-evals/1.1.0.json\" with { type: \"json\" };\n\n/** The artifact-evals vocabulary, for validators that accept an inline schema. */\nexport const artifactEvalsSchema = schema as unknown as Record<string, unknown>;\n\n/** The vocabulary's `$id`: `manni:artifact-evals:1.1.0`. */\nexport const ARTIFACT_EVALS_SCHEMA_ID: string = schema.$id;\n\nconst ajv = new Ajv2020({ allErrors: true, allowUnionTypes: true });\n// The vocabulary marks `metadata` `x-manni-location: external` (0047). The\n// mark is an annotation for `manni meta relocate`, not a constraint, so it is\n// registered rather than validated — but it has to be registered, or Ajv's\n// strict mode refuses to compile the schema at all.\najv.addKeyword({ keyword: \"x-manni-location\" });\nconst validateArtifact = ajv.compile(artifactEvalsSchema);\n\n/**\n * The stable identifier inside a violation, when its keyword names a *thing*.\n * Keywords whose parameter is a schema-authored value (`pattern`'s regex,\n * `enum`'s list) are deliberately left without one: including those would\n * change a finding's identity every time the schema author edited the rule.\n */\nfunction subjectOf(e: DefinedError): string | undefined {\n switch (e.keyword) {\n case \"required\":\n return e.params.missingProperty;\n case \"additionalProperties\":\n return e.params.additionalProperty;\n case \"format\":\n return e.params.format;\n case \"type\":\n return e.params.type;\n default:\n return undefined;\n }\n}\n\n/**\n * Validate an artifact's whole front matter against the vocabulary. The schema is\n * document-rooted — `metadata` stays open so other tools' members pass\n * untouched — which is why it is handed the entire object rather than the\n * `evals` value alone.\n */\nexport function artifactEvalsErrors(\n data: Record<string, unknown>,\n lineFor: (pointer: string) => number | undefined,\n): FieldError[] {\n if (validateArtifact(data)) return [];\n const errors: FieldError[] = [];\n for (const raw of validateArtifact.errors ?? []) {\n errors.push(toFieldError(raw, lineFor));\n }\n return errors;\n}\n\nfunction toFieldError(\n e: ErrorObject,\n lineFor: (pointer: string) => number | undefined,\n): FieldError {\n const subject = subjectOf(e as DefinedError);\n // `required` and `additionalProperties` point `instancePath` at the *parent*\n // and name the property in the message, so the property is spelled out\n // rather than left to the reader to find.\n const message =\n subject !== undefined && (e.keyword === \"required\" || e.keyword === \"additionalProperties\")\n ? `${e.message ?? \"is invalid\"} (\"${subject}\")`\n : (e.message ?? \"is invalid\");\n const line = lineFor(e.instancePath);\n return {\n schema: ARTIFACT_EVALS_SCHEMA_ID,\n instancePath: e.instancePath,\n message,\n keyword: e.keyword,\n ...(subject !== undefined ? { subject } : {}),\n ...(line !== undefined ? { line } : {}),\n };\n}\n","/**\n * Eval extraction: read the `metadata.evals` block from an artifact via the\n * metadata library and validate the artifact's whole front matter against\n * `manni:artifact-evals:1.1.0`. Invalid blocks are reported as errors with\n * source line numbers, never silently ignored (ADR 01002).\n *\n * The vocabulary is the metadata tool's registered built-in; this tool\n * implements behavior against it (ADR 01010) and bundles it rather than\n * shipping a copy — see `schema.ts`. The schema is document-rooted, which is\n * why validation is handed the entire front matter object rather than the\n * `evals` value alone.\n */\nimport {\n extractFrontmatter,\n type ExtractedMetadata,\n type FieldError,\n} from \"../../meta/index.js\";\nimport { metaProvenanceEntries } from \"../../meta/internal.js\";\nimport type { ResolvedArtifact } from \"../artifacts/types.js\";\nimport type { TraceTarget } from \"../core/target.js\";\nimport { ARTIFACT_EVALS_SCHEMA_ID, artifactEvalsErrors } from \"./schema.js\";\n\nexport { ARTIFACT_EVALS_SCHEMA_ID };\n\n/**\n * The family scale (`src/shared/severity.ts`): `notice | warning | error`.\n * proposal.2 spelled the quietest level `info`; proposal.4 spells it the way\n * every other manni tool does, so a finding reads the same everywhere.\n */\nexport type { Severity } from \"../../shared/severity.js\";\nimport type { Severity } from \"../../shared/severity.js\";\n\n/**\n * `capability` probes a boundary and is expected to fail sometimes;\n * `regression` protects behavior that already works. Reported, not enforced.\n */\nexport type EvalType = \"capability\" | \"regression\";\n\nexport interface EvalEntry {\n /** Stable identifier. Required by the schema on object entries. */\n id: string;\n /** Absent on graders whose options say everything. */\n assertion?: string;\n type: EvalType;\n /** \"ai\", \"human\", \"command\", or a deterministic grader kind. */\n grader: string;\n /** Overrides the configured judge provider for this eval only. */\n provider?: string;\n /** Overrides the judge model for this eval only; a CLI --model still wins. */\n model?: string;\n /** Ensemble runs for this eval only; a CLI --runs still wins. */\n runs?: number;\n /** Which bytes the grader receives. Absent means the whole transcript. */\n target?: TraceTarget;\n /** Relative contribution to the run's pass rate. Never changes the outcome. */\n weight?: number;\n options?: Record<string, unknown>;\n severity: Severity;\n evidence?: string;\n examples?: { pass?: string[]; fail?: string[] };\n /** Per-entry opt-out; reported as skipped, never silently dropped. */\n skip?: boolean;\n /**\n * Maps a `tool:*` grader's own severities onto eval severities. Accepted so\n * one entry vocabulary ports across both docmeta eval schemas; ignored here,\n * because this repo implements no `tool:*` graders.\n */\n severityMap?: Record<string, Severity>;\n /** Command-graded evals: argv, with `{trace}` substituted at grade time. */\n command?: string[];\n successExitCodes?: number[];\n timeoutMs?: number;\n /** sha256 of `assertion` when the check script was generated. */\n generatedAssertionHash?: string;\n}\n\nexport interface ExtractedEvals {\n evals: EvalEntry[];\n /** Schema violations in the front matter, with line numbers when known. */\n errors: FieldError[];\n /** Whether a `metadata.evals` block was present. */\n declared: boolean;\n /** `metadata.eval-skip` — skip this artifact's evals entirely. */\n skip: boolean;\n /**\n * Which model proposed each eval, by eval id, from\n * `metadata.meta-provenance` — the family's attribution record (0046),\n * written by `fill` through the same merge `manni meta fill` uses. Reading\n * it is what lets the judge notice it is grading an assertion it wrote\n * itself, which is bias on the *criterion* rather than on the session.\n *\n * Names are bare model names, the same spelling a provider's `modelName()`\n * returns, so the two sides of that comparison can actually match.\n *\n * A list because one id may appear under several `generated-by` entries —\n * a re-fill by a second model extends the block rather than replacing it.\n */\n proposedBy: Map<string, string[]>;\n}\n\n/**\n * Members of `metadata` this vocabulary claims. The schema cannot reject the\n * rest: `metadata` is the host tool's extension bag and must stay open, so a\n * misspelled `eval-skpi` would validate and quietly do nothing. Reserving the\n * `eval-` prefix at run time restores the closed block's loud-typo property.\n */\nconst CLAIMED_KEYS = [\"evals\", \"eval-skip\", \"meta-provenance\"] as const;\n\n/**\n * The one member under the reserved prefix this vocabulary keeps. proposal.4\n * narrowed the guard to `^eval-(?!skip$)`, so `eval-provenance` — proposal.2's\n * name for the attribution trail — is now an error rather than a member\n * everything downstream would silently ignore.\n */\nconst PREFIX_EXCEPTION = \"eval-skip\";\n\n/** A YAML mapping, as opposed to a list, a scalar, or null. */\nfunction isPlainObject(value: unknown): value is Record<string, unknown> {\n return typeof value === \"object\" && value !== null && !Array.isArray(value);\n}\n\n/**\n * `metadata` and everything under it, for one artifact.\n *\n * `supplied` is the seam for the external trail (`evals/external.ts`): the\n * artifact's front matter with a manifest-supplied `metadata` block already\n * merged in, by meta's own merge. It is the whole extraction rather than the\n * block alone, because the schema is document-rooted and validates the entire\n * front matter — handing it the block would validate the wrong document.\n * Omitted, the artifact's own front matter is read, which is what every caller\n * with no collections does.\n */\nexport function extractEvals(\n artifact: ResolvedArtifact,\n supplied?: ExtractedMetadata,\n): ExtractedEvals {\n const extracted = supplied ?? extractFrontmatter(artifact.content, \"markdown\");\n const metadata = extracted.data.metadata;\n // The schema types `metadata` as an object. Anything else — a string, a\n // list, a number — is a fault the validator must report, so it is kept\n // distinct from \"absent\" rather than folded into it.\n const bag = isPlainObject(metadata) ? metadata : undefined;\n const declared = bag !== undefined && bag.evals !== undefined;\n\n // `present` describes the *page*, and the merge leaves it alone. An artifact\n // with no front matter at all whose block a manifest supplies therefore reads\n // as absent unless the merged `metadata` is consulted too — the case a\n // relocated `CLAUDE.md` is in, since project rules rarely carry front matter.\n if (!extracted.present && metadata === undefined) {\n return { evals: [], errors: [], declared: false, skip: false, proposedBy: new Map() };\n }\n\n const typoErrors = reservedPrefixErrors(bag, extracted.lineFor);\n if (typoErrors.length > 0) {\n return { evals: [], errors: typoErrors, declared, skip: false, proposedBy: new Map() };\n }\n\n // Skip the validator only for an artifact this vocabulary has nothing to say\n // about: `metadata` absent, or a well-formed object claiming none of its\n // keys. A `metadata` that is not an object still has to be validated (the\n // schema types it), and so does one carrying only `meta-provenance` — the\n // block is malformed-or-not either way, and a malformed one is never\n // silently ignored.\n const wellFormed = metadata === undefined || bag !== undefined;\n const claimsNothing =\n bag === undefined ||\n !CLAIMED_KEYS.some((key) => bag[key] !== undefined);\n if (wellFormed && claimsNothing) {\n return {\n evals: [],\n errors: [],\n declared: false,\n skip: false,\n proposedBy: new Map(),\n };\n }\n\n const errors = artifactEvalsErrors(extracted.data, extracted.lineFor);\n if (errors.length > 0) {\n return { evals: [], errors, declared, skip: false, proposedBy: new Map() };\n }\n\n // Validation passed, so `metadata` is an object if it is present at all.\n const valid = bag ?? {};\n const skip = valid[\"eval-skip\"] === true;\n return {\n evals: normalizeBlock(valid.evals),\n errors: [],\n declared,\n skip,\n proposedBy: readProvenance(valid[\"meta-provenance\"]),\n };\n}\n\n/**\n * `metadata.meta-provenance` as eval id → the models that proposed it.\n *\n * The entries come from `metaProvenanceEntries`, the family's reader (0046),\n * so the block is read exactly the way `fill` wrote it and the way docevals\n * reads its own. Tolerant by design: the block has already passed the schema,\n * and a shape it did not constrain is not worth failing a run over — the worst\n * outcome of ignoring a malformed entry is one missing bias warning, while the\n * worst outcome of throwing is a run that will not start.\n */\nfunction readProvenance(raw: unknown): Map<string, string[]> {\n const out = new Map<string, string[]>();\n for (const entry of metaProvenanceEntries(raw)) {\n const by = entry[\"generated-by\"];\n for (const id of entry.evals) {\n const list = out.get(id) ?? [];\n if (!list.includes(by)) list.push(by);\n out.set(id, list);\n }\n }\n return out;\n}\n\n/**\n * A key inside `metadata` under the reserved `eval-` prefix that is not the\n * one member this vocabulary claims there. Reported against the offending key\n * so the fix is obvious.\n *\n * proposal.4's guard is `^eval-(?!skip$)`: `eval-provenance`, which proposal.2\n * excepted, now lands here rather than being read by nothing.\n */\nfunction reservedPrefixErrors(\n bag: Record<string, unknown> | undefined,\n lineFor: (pointer: string) => number | undefined,\n): FieldError[] {\n if (bag === undefined) return [];\n const errors: FieldError[] = [];\n for (const key of Object.keys(bag)) {\n // Detection is case-insensitive while the exception is not, deliberately:\n // YAML keys are case-sensitive, so `Eval-skip` is never a valid spelling of\n // `eval-skip` and should be reported rather than accepted. Do not \"fix\" the\n // asymmetry by matching the exception case-insensitively — that would\n // silently accept exactly the misspellings this guard exists to catch.\n if (!/^eval-/i.test(key) || key === PREFIX_EXCEPTION) continue;\n const line = lineFor(`/metadata/${key}`);\n errors.push({\n schema: ARTIFACT_EVALS_SCHEMA_ID,\n instancePath: `/metadata/${key}`,\n message:\n `unrecognized \"eval-\" key; the only one this vocabulary claims under ` +\n `that prefix is ${PREFIX_EXCEPTION} (its other members are ` +\n `${CLAIMED_KEYS.filter((k) => k !== PREFIX_EXCEPTION).join(\" and \")})`,\n keyword: \"additionalProperties\",\n subject: key,\n ...(line !== undefined ? { line } : {}),\n });\n }\n return errors;\n}\n\n/**\n * The block is one assertion as a string, or a list of entries. An absent key\n * yields nothing — an artifact with no evals omits it rather than declaring an\n * empty list, which the schema also refuses.\n */\nfunction normalizeBlock(raw: unknown): EvalEntry[] {\n if (typeof raw === \"string\") return [normalizeEntry(raw, 0)];\n if (!Array.isArray(raw)) return [];\n return raw.map((entry, index) => normalizeEntry(entry, index));\n}\n\n/** One `evals` entry as validated by the schema, with its defaults filled. `manni test tasks` reads a journey's `evals:` through it. */\nexport function normalizeEntry(raw: unknown, index: number): EvalEntry {\n // The string shorthand is the legitimately id-less form, so its identity is\n // positional. Object entries carry a required `id` precisely because a\n // position-derived name breaks the history join whenever entries move.\n if (typeof raw === \"string\") {\n return {\n id: `eval-${index + 1}`,\n assertion: raw,\n type: \"regression\",\n grader: \"ai\",\n severity: \"error\",\n };\n }\n\n const obj = raw as Record<string, unknown>;\n const entry: EvalEntry = {\n id: obj.id as string,\n // Optional since artifact-evals proposal.2: a `tool-usage` criterion says\n // everything in `options`, and demanding a sentence no grader reads was\n // the one place this vocabulary disagreed with the page side. The schema\n // still requires it for `ai`, `human`, and a bare entry (which defaults to\n // `ai`), so anything that actually needs an assertion still has one.\n ...(typeof obj.assertion === \"string\" ? { assertion: obj.assertion } : {}),\n type: (obj.type as EvalType | undefined) ?? \"regression\",\n grader: typeof obj.grader === \"string\" ? obj.grader : \"ai\",\n severity: (obj.severity as Severity | undefined) ?? \"error\",\n };\n if (typeof obj.provider === \"string\") entry.provider = obj.provider;\n if (typeof obj.model === \"string\") entry.model = obj.model;\n if (typeof obj.runs === \"number\") entry.runs = obj.runs;\n if (typeof obj.weight === \"number\") entry.weight = obj.weight;\n if (typeof obj.target === \"string\" || (obj.target && typeof obj.target === \"object\")) {\n entry.target = obj.target as TraceTarget;\n }\n if (obj.options && typeof obj.options === \"object\") {\n entry.options = obj.options as Record<string, unknown>;\n }\n if (typeof obj.evidence === \"string\") entry.evidence = obj.evidence;\n if (obj.examples && typeof obj.examples === \"object\") {\n entry.examples = normalizeExamples(obj.examples as Record<string, unknown>);\n }\n if (obj.skip === true) entry.skip = true;\n if (obj[\"severity-map\"] && typeof obj[\"severity-map\"] === \"object\") {\n entry.severityMap = obj[\"severity-map\"] as Record<string, Severity>;\n }\n if (Array.isArray(obj.command)) entry.command = obj.command as string[];\n if (Array.isArray(obj[\"success-exit-codes\"])) {\n entry.successExitCodes = obj[\"success-exit-codes\"] as number[];\n }\n if (typeof obj[\"timeout-ms\"] === \"number\") {\n entry.timeoutMs = obj[\"timeout-ms\"];\n }\n if (typeof obj[\"generated-assertion-hash\"] === \"string\") {\n entry.generatedAssertionHash = obj[\"generated-assertion-hash\"];\n }\n return entry;\n}\n\n/** Anchors are one example or a list of them; downstream sees only the list. */\nfunction normalizeExamples(\n raw: Record<string, unknown>,\n): { pass?: string[]; fail?: string[] } {\n const out: { pass?: string[]; fail?: string[] } = {};\n const pass = anchorList(raw.pass);\n const fail = anchorList(raw.fail);\n if (pass) out.pass = pass;\n if (fail) out.fail = fail;\n return out;\n}\n\nfunction anchorList(raw: unknown): string[] | undefined {\n if (typeof raw === \"string\") return [raw];\n if (Array.isArray(raw)) return raw.filter((e): e is string => typeof e === \"string\");\n return undefined;\n}\n"],"mappings":";;;;;;;;;;AAqCO,SAAS,kBAAqC;AACnD,SAAO,EAAE,UAAU,OAAO,QAAQ,CAAC,GAAG,QAAQ,CAAC,GAAG,OAAO,CAAC,GAAG,YAAY,CAAC,EAAE;AAC9E;AAGO,SAAS,YACd,SACA,OACqB;AACrB,SAAO,QAAQ;AAAA,IACb,CAAC,MAAM,EAAE,aAAa,UAAU,EAAE,gBAAgB,UAAa,QAAQ,EAAE;AAAA,EAC3E;AACF;AAGO,SAAS,aAAa,SAAoD;AAC/E,SAAO,IAAI,IAAI,QAAQ,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC;AAC3C;AASO,SAAS,iBACd,SACA,OACiC;AACjC,QAAM,SAAS,IAAI;AAAA,IACjB,MAAM,IAAI,CAAC,SAAS,CAAC,MAAM,MAAS,CAAC;AAAA,EACvC;AACA,MAAI;AACJ,aAAW,OAAO,QAAQ,MAAM,IAAI,GAAG;AACrC,UAAM,OAAO,IAAI,QAAQ;AACzB,QAAI,KAAK,WAAW,IAAI,GAAG;AACzB,YAAM,OAAO,KAAK,MAAM,CAAC;AACzB,UAAI;AACJ,iBAAW,QAAQ,OAAO;AACxB,YAAI,SAAS,QAAQ,CAAC,KAAK,WAAW,GAAG,IAAI,GAAG,EAAG;AACnD,YAAI,SAAS,UAAa,KAAK,SAAS,KAAK,OAAQ,QAAO;AAAA,MA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AAI,SAAS,KAAM,OAAM,OAAO;AACpC,MAAI,IAAI,cAAc,KAAK,OAAO,IAAI,cAAc,MAAM,UAAU;AAClE,UAAM,cAAc,IAAI,cAAc;AAAA,EACxC;AACA,MAAI,MAAM,QAAQ,IAAI,OAAO,EAAG,OAAM,UAAU,IAAI;AACpD,MAAI,MAAM,QAAQ,IAAI,oBAAoB,CAAC,GAAG;AAC5C,UAAM,mBAAmB,IAAI,oBAAoB;AAAA,EACnD;AACA,MAAI,OAAO,IAAI,YAAY,MAAM,UAAU;AACzC,UAAM,YAAY,IAAI,YAAY;AAAA,EACpC;AACA,MAAI,OAAO,IAAI,0BAA0B,MAAM,UAAU;AACvD,UAAM,yBAAyB,IAAI,0BAA0B;AAAA,EAC/D;AACA,SAAO;AACT;AAGA,SAAS,kBACP,KACsC;AACtC,QAAM,MAA4C,CAAC;AACnD,QAAM,OAAO,WAAW,IAAI,IAAI;AAChC,QAAM,OAAO,WAAW,IAAI,IAAI;AAChC,MAAI,KAAM,KAAI,OAAO;AACrB,MAAI,KAAM,KAAI,OAAO;AACrB,SAAO;AACT;AAEA,SAAS,WAAW,KAAoC;AACtD,MAAI,OAAO,QAAQ,SAAU,QAAO,CAAC,GAAG;AACxC,MAAI,MAAM,QAAQ,GAAG,EAAG,QAAO,IAAI,OAAO,CAAC,MAAmB,OAAO,MAAM,QAAQ;AACnF,SAAO;AACT;","names":[]}
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
RULE_ID_PREFIX,
|
|
4
4
|
guidanceFor,
|
|
5
5
|
isStrategyRule
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VSDXZAQU.js";
|
|
7
7
|
import {
|
|
8
8
|
renderSarif
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2QK25SLZ.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-QJL57GPX.js.map
|
|
@@ -5,13 +5,6 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
packageRoot
|
|
7
7
|
} from "./chunk-TIUTIOFB.js";
|
|
8
|
-
import {
|
|
9
|
-
listFormats,
|
|
10
|
-
parserByName,
|
|
11
|
-
parserForExtension,
|
|
12
|
-
supportedExtensions,
|
|
13
|
-
unsupportedFormatMessage
|
|
14
|
-
} from "./chunk-VLRIP4BQ.js";
|
|
15
8
|
import {
|
|
16
9
|
BLOCK_KINDS,
|
|
17
10
|
BLOCK_KIND_NODE,
|
|
@@ -25,6 +18,13 @@ import {
|
|
|
25
18
|
matchSections,
|
|
26
19
|
occurrenceRange
|
|
27
20
|
} from "./chunk-G5I2JTDK.js";
|
|
21
|
+
import {
|
|
22
|
+
listFormats,
|
|
23
|
+
parserByName,
|
|
24
|
+
parserForExtension,
|
|
25
|
+
supportedExtensions,
|
|
26
|
+
unsupportedFormatMessage
|
|
27
|
+
} from "./chunk-TOVSR2YO.js";
|
|
28
28
|
import {
|
|
29
29
|
LintError
|
|
30
30
|
} from "./chunk-TI4DA6DF.js";
|
|
@@ -34,19 +34,19 @@ import {
|
|
|
34
34
|
gitignoreOptions,
|
|
35
35
|
isErrorSeverity,
|
|
36
36
|
resolveTargetSet
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-QWVIGKBM.js";
|
|
38
38
|
import {
|
|
39
39
|
ditaOtHome,
|
|
40
40
|
findConfigFile,
|
|
41
41
|
readConfigFile,
|
|
42
42
|
selectCollections
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-JF4BC7ZD.js";
|
|
44
44
|
import {
|
|
45
45
|
warn
|
|
46
46
|
} from "./chunk-HX44GB4Z.js";
|
|
47
47
|
import {
|
|
48
48
|
package_default
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-N2T6RLSE.js";
|
|
50
50
|
import {
|
|
51
51
|
ToolError,
|
|
52
52
|
errorMessage
|
|
@@ -2477,4 +2477,4 @@ export {
|
|
|
2477
2477
|
STDIN_LABEL,
|
|
2478
2478
|
runLint
|
|
2479
2479
|
};
|
|
2480
|
-
//# sourceMappingURL=chunk-
|
|
2480
|
+
//# sourceMappingURL=chunk-QR55QXJ7.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
matchesFileGlob,
|
|
6
6
|
readConfigFile,
|
|
7
7
|
selectCollections
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JF4BC7ZD.js";
|
|
9
9
|
import {
|
|
10
10
|
warn
|
|
11
11
|
} from "./chunk-HX44GB4Z.js";
|
|
12
12
|
import {
|
|
13
13
|
package_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-N2T6RLSE.js";
|
|
15
15
|
import {
|
|
16
16
|
programName
|
|
17
17
|
} from "./chunk-OWBRDNRZ.js";
|
|
@@ -14141,4 +14141,4 @@ export {
|
|
|
14141
14141
|
loadMetaSection,
|
|
14142
14142
|
resolveRunConfig
|
|
14143
14143
|
};
|
|
14144
|
-
//# sourceMappingURL=chunk-
|
|
14144
|
+
//# sourceMappingURL=chunk-QWVIGKBM.js.map
|
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
findGitRoot,
|
|
4
|
+
listInTree,
|
|
5
|
+
resolveArtifacts,
|
|
6
|
+
safeRead
|
|
7
|
+
} from "./chunk-YUCH6WJY.js";
|
|
8
|
+
import {
|
|
9
|
+
configDir
|
|
10
|
+
} from "./chunk-4TSWU2SU.js";
|
|
2
11
|
import {
|
|
3
12
|
emptyWindow,
|
|
4
13
|
materialize,
|
|
5
14
|
windowOf
|
|
6
15
|
} from "./chunk-VHJ72YCD.js";
|
|
7
16
|
import {
|
|
8
|
-
extractEvals
|
|
9
|
-
|
|
10
|
-
listInTree,
|
|
11
|
-
resolveArtifacts,
|
|
12
|
-
safeRead
|
|
13
|
-
} from "./chunk-APAF4VWW.js";
|
|
17
|
+
extractEvals
|
|
18
|
+
} from "./chunk-QJGPOFNB.js";
|
|
14
19
|
import {
|
|
15
20
|
makeRedactor
|
|
16
21
|
} from "./chunk-6WJUZQQX.js";
|
|
17
|
-
import {
|
|
18
|
-
configDir
|
|
19
|
-
} from "./chunk-4TSWU2SU.js";
|
|
20
22
|
import {
|
|
21
23
|
extractFrontmatter
|
|
22
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-QWVIGKBM.js";
|
|
23
25
|
|
|
24
26
|
// src/tracevals/rules/turn.ts
|
|
25
27
|
var INJECTED = /<(system-reminder|task-notification|ci-monitor-event|local-command-stdout|local-command-stderr|local-command-caveat)>[\s\S]*?<\/\1>/g;
|
|
@@ -671,4 +673,4 @@ export {
|
|
|
671
673
|
resolveTurnSources,
|
|
672
674
|
pathKey
|
|
673
675
|
};
|
|
674
|
-
//# sourceMappingURL=chunk-
|
|
676
|
+
//# sourceMappingURL=chunk-RZ6OONZU.js.map
|