@hawkeyexl/manni 4.13.0 → 4.14.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-TKNIUBLK.js +48 -0
- package/dist/build-6G7PEAG4.js +37 -0
- package/dist/calibrate-BDCXDZV5.js +43 -0
- package/dist/capture-NQJLZD66.js +39 -0
- package/dist/check-552X5I2J.js +36 -0
- package/dist/{check-LU5YC3L4.js → check-5HMDJOFP.js} +15 -14
- package/dist/check-BSB4FF4L.js +33 -0
- package/dist/{check-NBN2YK2J.js → check-QIZCTAIR.js} +33 -32
- package/dist/{check-NBN2YK2J.js.map → check-QIZCTAIR.js.map} +1 -1
- package/dist/{chunk-NSAW7U42.js → chunk-2A6XYSXO.js} +58 -10
- package/dist/chunk-2A6XYSXO.js.map +1 -0
- package/dist/{chunk-PA7CMQGD.js → chunk-2HQSMZ4N.js} +11 -5
- package/dist/chunk-2HQSMZ4N.js.map +1 -0
- package/dist/{chunk-LNGSE7V2.js → chunk-36FJWJSK.js} +132 -27
- package/dist/chunk-36FJWJSK.js.map +1 -0
- package/dist/{chunk-BMBAAPGN.js → chunk-3BMTCS4H.js} +33 -18
- package/dist/chunk-3BMTCS4H.js.map +1 -0
- package/dist/{chunk-NWUXRV6N.js → chunk-3CCY7M3R.js} +10 -8
- package/dist/chunk-3CCY7M3R.js.map +1 -0
- package/dist/{chunk-TDCOKKMI.js → chunk-3MTZZJKH.js} +3 -3
- package/dist/chunk-4U3X7LYV.js +236 -0
- package/dist/chunk-4U3X7LYV.js.map +1 -0
- package/dist/{chunk-OYIWF3B2.js → chunk-56URKBXQ.js} +17 -17
- package/dist/chunk-56URKBXQ.js.map +1 -0
- package/dist/{chunk-IGQMBHFY.js → chunk-66MKBRTA.js} +88 -12
- package/dist/chunk-66MKBRTA.js.map +1 -0
- package/dist/{chunk-GWI6JPTT.js → chunk-6VT3Z352.js} +24 -7
- package/dist/chunk-6VT3Z352.js.map +1 -0
- package/dist/{chunk-CU57HT2E.js → chunk-6WJUZQQX.js} +2 -2
- package/dist/{chunk-NTEYYYKL.js → chunk-6XFSZCLT.js} +16 -22
- package/dist/chunk-6XFSZCLT.js.map +1 -0
- package/dist/{chunk-OREHJQNN.js → chunk-742G2QCV.js} +4 -3
- package/dist/{chunk-OREHJQNN.js.map → chunk-742G2QCV.js.map} +1 -1
- package/dist/chunk-7AXJY4FX.js +83 -0
- package/dist/chunk-7AXJY4FX.js.map +1 -0
- package/dist/{chunk-EQ7E6HMG.js → chunk-7KOWE4F4.js} +14 -16
- package/dist/chunk-7KOWE4F4.js.map +1 -0
- package/dist/{chunk-J5NOWIJ3.js → chunk-7PENJOI6.js} +14 -8
- package/dist/{chunk-J5NOWIJ3.js.map → chunk-7PENJOI6.js.map} +1 -1
- package/dist/chunk-7WVWGULD.js +81 -0
- package/dist/chunk-7WVWGULD.js.map +1 -0
- package/dist/{chunk-VYBYUQIP.js → chunk-A7MNH4YI.js} +88 -7
- package/dist/chunk-A7MNH4YI.js.map +1 -0
- package/dist/{chunk-WVXCN5DS.js → chunk-AJYUJ37M.js} +65 -8
- package/dist/chunk-AJYUJ37M.js.map +1 -0
- package/dist/{chunk-OTJOBZJ5.js → chunk-B2242FYO.js} +2 -1
- package/dist/chunk-B2242FYO.js.map +1 -0
- package/dist/{chunk-YZ4TJLZQ.js → chunk-B6GUSA53.js} +15 -10
- package/dist/chunk-B6GUSA53.js.map +1 -0
- package/dist/{chunk-PCGBXHSE.js → chunk-BA4TCCOO.js} +5 -5
- package/dist/{chunk-TQ3W6RKG.js → chunk-BAWKNF6U.js} +3 -3
- package/dist/{chunk-HY6ROJTH.js → chunk-BIRGZEWO.js} +86 -10
- package/dist/chunk-BIRGZEWO.js.map +1 -0
- package/dist/chunk-BREAC43H.js +85 -0
- package/dist/chunk-BREAC43H.js.map +1 -0
- package/dist/{chunk-YQV75FIL.js → chunk-CFMI74TP.js} +3 -3
- package/dist/{chunk-OUAH7XF2.js → chunk-CZJNYHK7.js} +2 -2
- package/dist/{chunk-52WO7ESI.js → chunk-D2TIZOMN.js} +6 -5
- package/dist/chunk-D2TIZOMN.js.map +1 -0
- package/dist/{chunk-VOXOBUTX.js → chunk-EXAZ7K25.js} +5 -5
- package/dist/{chunk-BQXY76JB.js → chunk-GHZAOPGK.js} +148 -92
- package/dist/chunk-GHZAOPGK.js.map +1 -0
- package/dist/{chunk-UQMLCIRX.js → chunk-HGU4FDRY.js} +6 -6
- package/dist/{chunk-ZXRAE55H.js → chunk-IGRXQC3H.js} +2 -2
- package/dist/{chunk-3BVDFQ6Y.js → chunk-IOYEPB27.js} +5 -5
- package/dist/{chunk-U6IHLEWT.js → chunk-JCTHXG33.js} +2 -2
- package/dist/{chunk-6ZFJWUUH.js → chunk-JNMY7KZG.js} +2 -2
- package/dist/{chunk-OBXCJZ6R.js → chunk-JTEWU4C6.js} +26 -16
- package/dist/chunk-JTEWU4C6.js.map +1 -0
- package/dist/{chunk-VNYXK7TM.js → chunk-JWBS7YDI.js} +8 -8
- package/dist/chunk-JWBS7YDI.js.map +1 -0
- package/dist/{chunk-ULDV2LUI.js → chunk-LCRBR7KW.js} +10 -4
- package/dist/chunk-LCRBR7KW.js.map +1 -0
- package/dist/{chunk-3HUCB4Z3.js → chunk-M43NTWVH.js} +10 -7
- package/dist/chunk-M43NTWVH.js.map +1 -0
- package/dist/chunk-M534DYAJ.js +76 -0
- package/dist/chunk-M534DYAJ.js.map +1 -0
- package/dist/chunk-MC7U5IH4.js +126 -0
- package/dist/chunk-MC7U5IH4.js.map +1 -0
- package/dist/{chunk-7JPL3CUC.js → chunk-MIGFQP5N.js} +2 -2
- package/dist/{chunk-TZOYZK2E.js → chunk-OZUPJB4J.js} +2 -2
- package/dist/{chunk-X4MPUD4B.js → chunk-QEZQ7MGH.js} +53 -13
- package/dist/chunk-QEZQ7MGH.js.map +1 -0
- package/dist/{chunk-DQOM3DEU.js → chunk-QF7EIRMU.js} +29 -23
- package/dist/chunk-QF7EIRMU.js.map +1 -0
- package/dist/chunk-QK6VYJHV.js +26 -0
- package/dist/chunk-QK6VYJHV.js.map +1 -0
- package/dist/chunk-QS2Z3SWL.js +21 -0
- package/dist/chunk-QS2Z3SWL.js.map +1 -0
- package/dist/{chunk-OKMTUAWO.js → chunk-QSPH4F56.js} +5 -5
- package/dist/{chunk-JUL2PRQN.js → chunk-STM3G7WJ.js} +207 -79
- package/dist/chunk-STM3G7WJ.js.map +1 -0
- package/dist/{chunk-HKTGHLBA.js → chunk-T3BBNLAT.js} +2 -2
- package/dist/{chunk-HKTGHLBA.js.map → chunk-T3BBNLAT.js.map} +1 -1
- package/dist/{chunk-SCLXVTFZ.js → chunk-TKINOTVS.js} +1 -1
- package/dist/chunk-TKINOTVS.js.map +1 -0
- package/dist/{chunk-E6BVUDGY.js → chunk-USKTLEPZ.js} +4 -4
- package/dist/{chunk-LSFXNAHU.js → chunk-V6OCE4ND.js} +129 -59
- package/dist/chunk-V6OCE4ND.js.map +1 -0
- package/dist/{chunk-N6A6DJUO.js → chunk-VBBJGFME.js} +6 -7
- package/dist/chunk-VBBJGFME.js.map +1 -0
- package/dist/{chunk-CWXZ2MRT.js → chunk-VHJ72YCD.js} +4 -3
- package/dist/chunk-VHJ72YCD.js.map +1 -0
- package/dist/{chunk-PAU352SV.js → chunk-W4GTMOJW.js} +2 -2
- package/dist/{chunk-JEUFYSFQ.js → chunk-W5DO426O.js} +114 -70
- package/dist/chunk-W5DO426O.js.map +1 -0
- package/dist/{chunk-3O6U4ICM.js → chunk-W6B24IMO.js} +3 -3
- package/dist/{chunk-SE4JN5XN.js → chunk-WDENIUC7.js} +3 -1
- package/dist/chunk-WDENIUC7.js.map +1 -0
- package/dist/{chunk-KE2F7QES.js → chunk-WIPTWZVH.js} +6 -6
- package/dist/{chunk-7RNONVHI.js → chunk-Y36PNW6J.js} +9 -9
- package/dist/{chunk-QKT67PFE.js → chunk-Y37VJFX2.js} +9 -9
- package/dist/{chunk-3XGTNN3M.js → chunk-YJ3EG2D5.js} +12 -124
- package/dist/chunk-YJ3EG2D5.js.map +1 -0
- package/dist/{chunk-UKZNLVJW.js → chunk-ZINZTHWO.js} +4 -2
- package/dist/chunk-ZINZTHWO.js.map +1 -0
- package/dist/{chunk-CODWRUAD.js → chunk-ZPLIXZZ6.js} +7 -5
- package/dist/chunk-ZPLIXZZ6.js.map +1 -0
- package/dist/{chunk-HIEGOW7X.js → chunk-ZRQUQS7P.js} +5 -79
- package/dist/chunk-ZRQUQS7P.js.map +1 -0
- package/dist/{cli-KYTCJYXK.js → cli-5XKHMRZ5.js} +317 -28
- package/dist/cli-5XKHMRZ5.js.map +1 -0
- package/dist/{cli-DGFLJ2DD.js → cli-7QHJW5GH.js} +69 -26
- package/dist/cli-7QHJW5GH.js.map +1 -0
- package/dist/{cli-7DETHSNW.js → cli-BUV3DRUH.js} +29 -83
- package/dist/cli-BUV3DRUH.js.map +1 -0
- package/dist/{cli-RP5E7XHC.js → cli-IKDX2I5X.js} +20 -18
- package/dist/{cli-RP5E7XHC.js.map → cli-IKDX2I5X.js.map} +1 -1
- package/dist/{cli-H5LVGOVT.js → cli-LOND37OA.js} +383 -247
- package/dist/cli-LOND37OA.js.map +1 -0
- package/dist/{cli-AZKWTCFV.js → cli-O6Y2KVWD.js} +11 -11
- package/dist/{cli-BW5VOFOZ.js → cli-QTLOAVOY.js} +11 -10
- package/dist/{cli-BW5VOFOZ.js.map → cli-QTLOAVOY.js.map} +1 -1
- package/dist/{cli-G66X7YMP.js → cli-SOA2E26G.js} +23 -22
- package/dist/{cli-G66X7YMP.js.map → cli-SOA2E26G.js.map} +1 -1
- package/dist/{cli-ECVT4YXR.js → cli-VQYB3663.js} +19 -18
- package/dist/{cli-ECVT4YXR.js.map → cli-VQYB3663.js.map} +1 -1
- package/dist/{cli-L5B2RVV2.js → cli-X6IWTDFK.js} +31 -29
- package/dist/{cli-L5B2RVV2.js.map → cli-X6IWTDFK.js.map} +1 -1
- package/dist/{cli-4JHQCPHU.js → cli-XAT673VB.js} +3 -3
- package/dist/cli.js +14 -14
- package/dist/{config-JJW75SBX.js → config-7I5CHHRZ.js} +6 -6
- package/dist/docmeta.js +10 -10
- package/dist/github-IPBOTQBN.js +36 -0
- package/dist/github-XM36D7ZH.js +32 -0
- package/dist/graph/runtime.js.map +1 -1
- package/dist/index.d.ts +92 -20
- package/dist/index.js +137 -131
- package/dist/index.js.map +1 -1
- package/dist/{json-LCVPMEAM.js → json-225TND7K.js} +15 -13
- package/dist/{labels-OQXBVM4A.js → labels-CTLHIRC4.js} +14 -12
- package/dist/{labels-OQXBVM4A.js.map → labels-CTLHIRC4.js.map} +1 -1
- package/dist/lint-NP3PC3SO.js +35 -0
- package/dist/list-JJGNKO6S.js +36 -0
- package/dist/list-Q457TIMA.js +34 -0
- package/dist/{page-XPX5XJZE.js → page-FJW7J2EU.js} +13 -12
- package/dist/{picker-3XF36MJF.js → picker-FPUC5UGM.js} +3 -3
- package/dist/{prepare-VMBIQYAM.js → prepare-RKJEKHAG.js} +21 -20
- package/dist/{prepare-VMBIQYAM.js.map → prepare-RKJEKHAG.js.map} +1 -1
- package/dist/{pretty-KG6TMOEI.js → pretty-ECBO3EVT.js} +15 -14
- package/dist/{pretty-KSTZMBUF.js → pretty-QFEN2SIA.js} +15 -13
- package/dist/{provider-LBX4IXGX.js → provider-JY2I3VLF.js} +3 -3
- package/dist/{release-VV3UTKE5.js → release-Z3ASYZ3S.js} +3 -3
- package/dist/{reporters-FBYLPKD4.js → reporters-IKKL5RHS.js} +15 -14
- package/dist/{reporters-26H3N2KW.js → reporters-TDQDQHKE.js} +6 -5
- package/dist/{reporters-AQU4W3KY.js → reporters-WGLQKW2Y.js} +6 -6
- package/dist/run-BTETGGLW.js +39 -0
- package/dist/sarif-K4SMB563.js +31 -0
- package/dist/sarif-ZHFK6PZY.js +37 -0
- package/dist/{term-SI3VM6EM.js → term-2M7APX2A.js} +58 -109
- package/dist/term-2M7APX2A.js.map +1 -0
- package/dist/types-VMOT7RAL.js +12 -0
- package/dist/types-VMOT7RAL.js.map +1 -0
- package/dist/{validate-NQO7TFSN.js → validate-GBM5STKS.js} +6 -6
- package/dist/validate-GBM5STKS.js.map +1 -0
- package/package.json +1 -1
- package/plugin/manni/.claude-plugin/plugin.json +1 -1
- package/plugin/manni/skills/check/SKILL.md +2 -2
- package/plugin/manni/skills/evals/SKILL.md +1 -1
- package/plugin/manni/skills/fix/SKILL.md +95 -16
- package/plugin/manni/skills/setup/SKILL.md +1 -1
- package/shapes/graph/shapes-1.1.1.ttl +953 -0
- package/dist/batch-OB2FXT47.js +0 -46
- package/dist/build-4BL24BG3.js +0 -36
- package/dist/calibrate-AEDJ7N7G.js +0 -41
- package/dist/capture-TP3P4YNL.js +0 -38
- package/dist/check-5IYH42KS.js +0 -34
- package/dist/check-S55MH66H.js +0 -30
- package/dist/chunk-3HUCB4Z3.js.map +0 -1
- package/dist/chunk-3XGTNN3M.js.map +0 -1
- package/dist/chunk-52WO7ESI.js.map +0 -1
- package/dist/chunk-BMBAAPGN.js.map +0 -1
- package/dist/chunk-BQXY76JB.js.map +0 -1
- package/dist/chunk-CODWRUAD.js.map +0 -1
- package/dist/chunk-CWXZ2MRT.js.map +0 -1
- package/dist/chunk-DQOM3DEU.js.map +0 -1
- package/dist/chunk-EQ7E6HMG.js.map +0 -1
- package/dist/chunk-GWI6JPTT.js.map +0 -1
- package/dist/chunk-HIEGOW7X.js.map +0 -1
- package/dist/chunk-HY6ROJTH.js.map +0 -1
- package/dist/chunk-IGQMBHFY.js.map +0 -1
- package/dist/chunk-JEUFYSFQ.js.map +0 -1
- package/dist/chunk-JUL2PRQN.js.map +0 -1
- package/dist/chunk-LNGSE7V2.js.map +0 -1
- package/dist/chunk-LSFXNAHU.js.map +0 -1
- package/dist/chunk-MNH7QO4Z.js +0 -15
- package/dist/chunk-MNH7QO4Z.js.map +0 -1
- package/dist/chunk-N6A6DJUO.js.map +0 -1
- package/dist/chunk-NSAW7U42.js.map +0 -1
- package/dist/chunk-NTEYYYKL.js.map +0 -1
- package/dist/chunk-NWUXRV6N.js.map +0 -1
- package/dist/chunk-OBXCJZ6R.js.map +0 -1
- package/dist/chunk-OTJOBZJ5.js.map +0 -1
- package/dist/chunk-OYIWF3B2.js.map +0 -1
- package/dist/chunk-PA7CMQGD.js.map +0 -1
- package/dist/chunk-SCLXVTFZ.js.map +0 -1
- package/dist/chunk-SE4JN5XN.js.map +0 -1
- package/dist/chunk-UKZNLVJW.js.map +0 -1
- package/dist/chunk-ULDV2LUI.js.map +0 -1
- package/dist/chunk-VNYXK7TM.js.map +0 -1
- package/dist/chunk-VYBYUQIP.js.map +0 -1
- package/dist/chunk-WVXCN5DS.js.map +0 -1
- package/dist/chunk-X4MPUD4B.js.map +0 -1
- package/dist/chunk-Y6M4JFKG.js +0 -117
- package/dist/chunk-Y6M4JFKG.js.map +0 -1
- package/dist/chunk-YZ4TJLZQ.js.map +0 -1
- package/dist/cli-7DETHSNW.js.map +0 -1
- package/dist/cli-DGFLJ2DD.js.map +0 -1
- package/dist/cli-H5LVGOVT.js.map +0 -1
- package/dist/cli-KYTCJYXK.js.map +0 -1
- package/dist/github-DJQ4MWNZ.js +0 -35
- package/dist/github-UWTDM2J2.js +0 -30
- package/dist/lint-O7XRHKFP.js +0 -34
- package/dist/list-OOOCLOAL.js +0 -35
- package/dist/list-OYQ5XPN2.js +0 -32
- package/dist/run-KUGTU3TT.js +0 -37
- package/dist/term-SI3VM6EM.js.map +0 -1
- package/dist/types-Y6TXHM7M.js +0 -10
- /package/dist/{batch-OB2FXT47.js.map → batch-TKNIUBLK.js.map} +0 -0
- /package/dist/{build-4BL24BG3.js.map → build-6G7PEAG4.js.map} +0 -0
- /package/dist/{calibrate-AEDJ7N7G.js.map → calibrate-BDCXDZV5.js.map} +0 -0
- /package/dist/{capture-TP3P4YNL.js.map → capture-NQJLZD66.js.map} +0 -0
- /package/dist/{check-5IYH42KS.js.map → check-552X5I2J.js.map} +0 -0
- /package/dist/{check-LU5YC3L4.js.map → check-5HMDJOFP.js.map} +0 -0
- /package/dist/{check-S55MH66H.js.map → check-BSB4FF4L.js.map} +0 -0
- /package/dist/{chunk-TDCOKKMI.js.map → chunk-3MTZZJKH.js.map} +0 -0
- /package/dist/{chunk-CU57HT2E.js.map → chunk-6WJUZQQX.js.map} +0 -0
- /package/dist/{chunk-PCGBXHSE.js.map → chunk-BA4TCCOO.js.map} +0 -0
- /package/dist/{chunk-TQ3W6RKG.js.map → chunk-BAWKNF6U.js.map} +0 -0
- /package/dist/{chunk-YQV75FIL.js.map → chunk-CFMI74TP.js.map} +0 -0
- /package/dist/{chunk-OUAH7XF2.js.map → chunk-CZJNYHK7.js.map} +0 -0
- /package/dist/{chunk-VOXOBUTX.js.map → chunk-EXAZ7K25.js.map} +0 -0
- /package/dist/{chunk-UQMLCIRX.js.map → chunk-HGU4FDRY.js.map} +0 -0
- /package/dist/{chunk-ZXRAE55H.js.map → chunk-IGRXQC3H.js.map} +0 -0
- /package/dist/{chunk-3BVDFQ6Y.js.map → chunk-IOYEPB27.js.map} +0 -0
- /package/dist/{chunk-U6IHLEWT.js.map → chunk-JCTHXG33.js.map} +0 -0
- /package/dist/{chunk-6ZFJWUUH.js.map → chunk-JNMY7KZG.js.map} +0 -0
- /package/dist/{chunk-7JPL3CUC.js.map → chunk-MIGFQP5N.js.map} +0 -0
- /package/dist/{chunk-TZOYZK2E.js.map → chunk-OZUPJB4J.js.map} +0 -0
- /package/dist/{chunk-OKMTUAWO.js.map → chunk-QSPH4F56.js.map} +0 -0
- /package/dist/{chunk-E6BVUDGY.js.map → chunk-USKTLEPZ.js.map} +0 -0
- /package/dist/{chunk-PAU352SV.js.map → chunk-W4GTMOJW.js.map} +0 -0
- /package/dist/{chunk-3O6U4ICM.js.map → chunk-W6B24IMO.js.map} +0 -0
- /package/dist/{chunk-KE2F7QES.js.map → chunk-WIPTWZVH.js.map} +0 -0
- /package/dist/{chunk-7RNONVHI.js.map → chunk-Y36PNW6J.js.map} +0 -0
- /package/dist/{chunk-QKT67PFE.js.map → chunk-Y37VJFX2.js.map} +0 -0
- /package/dist/{cli-AZKWTCFV.js.map → cli-O6Y2KVWD.js.map} +0 -0
- /package/dist/{cli-4JHQCPHU.js.map → cli-XAT673VB.js.map} +0 -0
- /package/dist/{config-JJW75SBX.js.map → config-7I5CHHRZ.js.map} +0 -0
- /package/dist/{github-DJQ4MWNZ.js.map → github-IPBOTQBN.js.map} +0 -0
- /package/dist/{github-UWTDM2J2.js.map → github-XM36D7ZH.js.map} +0 -0
- /package/dist/{json-LCVPMEAM.js.map → json-225TND7K.js.map} +0 -0
- /package/dist/{lint-O7XRHKFP.js.map → lint-NP3PC3SO.js.map} +0 -0
- /package/dist/{list-OOOCLOAL.js.map → list-JJGNKO6S.js.map} +0 -0
- /package/dist/{list-OYQ5XPN2.js.map → list-Q457TIMA.js.map} +0 -0
- /package/dist/{page-XPX5XJZE.js.map → page-FJW7J2EU.js.map} +0 -0
- /package/dist/{picker-3XF36MJF.js.map → picker-FPUC5UGM.js.map} +0 -0
- /package/dist/{pretty-KG6TMOEI.js.map → pretty-ECBO3EVT.js.map} +0 -0
- /package/dist/{pretty-KSTZMBUF.js.map → pretty-QFEN2SIA.js.map} +0 -0
- /package/dist/{provider-LBX4IXGX.js.map → provider-JY2I3VLF.js.map} +0 -0
- /package/dist/{release-VV3UTKE5.js.map → release-Z3ASYZ3S.js.map} +0 -0
- /package/dist/{reporters-26H3N2KW.js.map → reporters-IKKL5RHS.js.map} +0 -0
- /package/dist/{reporters-AQU4W3KY.js.map → reporters-TDQDQHKE.js.map} +0 -0
- /package/dist/{reporters-FBYLPKD4.js.map → reporters-WGLQKW2Y.js.map} +0 -0
- /package/dist/{run-KUGTU3TT.js.map → run-BTETGGLW.js.map} +0 -0
- /package/dist/{types-Y6TXHM7M.js.map → sarif-K4SMB563.js.map} +0 -0
- /package/dist/{validate-NQO7TFSN.js.map → sarif-ZHFK6PZY.js.map} +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// package.json
|
|
4
4
|
var package_default = {
|
|
5
5
|
name: "@hawkeyexl/manni",
|
|
6
|
-
version: "4.
|
|
6
|
+
version: "4.14.0",
|
|
7
7
|
description: "One command line for documentation that is meant to be checked. `manni meta` validates the presence and format of document metadata (Markdown frontmatter and more) against JSON Schema, built for CI. Formerly docmeta.",
|
|
8
8
|
type: "module",
|
|
9
9
|
bin: {
|
|
@@ -176,4 +176,4 @@ var package_default = {
|
|
|
176
176
|
export {
|
|
177
177
|
package_default
|
|
178
178
|
};
|
|
179
|
-
//# sourceMappingURL=chunk-
|
|
179
|
+
//# sourceMappingURL=chunk-T3BBNLAT.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../package.json"],"sourcesContent":["{\n \"name\": \"@hawkeyexl/manni\",\n \"version\": \"4.
|
|
1
|
+
{"version":3,"sources":["../package.json"],"sourcesContent":["{\n \"name\": \"@hawkeyexl/manni\",\n \"version\": \"4.14.0\",\n \"description\": \"One command line for documentation that is meant to be checked. `manni meta` validates the presence and format of document metadata (Markdown frontmatter and more) against JSON Schema, built for CI. Formerly docmeta.\",\n \"type\": \"module\",\n \"bin\": {\n \"manni\": \"dist/cli.js\",\n \"docmeta\": \"dist/docmeta.js\"\n },\n \"main\": \"dist/index.js\",\n \"module\": \"dist/index.js\",\n \"types\": \"dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"types\": \"./dist/index.d.ts\",\n \"import\": \"./dist/index.js\"\n },\n \"./graph/runtime\": {\n \"types\": \"./dist/graph/runtime.d.ts\",\n \"import\": \"./dist/graph/runtime.js\"\n },\n \"./graph/embed\": {\n \"types\": \"./dist/graph/embed.d.ts\",\n \"import\": \"./dist/graph/embed.js\"\n },\n \"./package.json\": \"./package.json\"\n },\n \"files\": [\n \"dist\",\n \"schemas\",\n \"plugin\",\n \"shapes\",\n \"templates\"\n ],\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/hawkeyexl/manni.git\"\n },\n \"homepage\": \"https://hawkeyexl.github.io/manni/\",\n \"bugs\": {\n \"url\": \"https://github.com/hawkeyexl/manni/issues\"\n },\n \"publishConfig\": {\n \"access\": \"public\"\n },\n \"engines\": {\n \"node\": \">=24\"\n },\n \"scripts\": {\n \"prebuild\": \"npm run check:deps\",\n \"build\": \"node scripts/clean-dist.mjs && tsup\",\n \"dev\": \"node scripts/clean-dist.mjs && tsup --watch\",\n \"pretest\": \"npm run check:deps\",\n \"test\": \"vitest run\",\n \"test:watch\": \"vitest\",\n \"test:graph:real\": \"vitest run --config vitest.graph-real.config.ts\",\n \"test:term:real\": \"vitest run --config vitest.term-real.config.ts\",\n \"test:coverage\": \"vitest run --coverage\",\n \"pretypecheck\": \"npm run check:deps\",\n \"typecheck\": \"tsc --noEmit\",\n \"lint\": \"eslint .\",\n \"check:deps\": \"node scripts/check-deps.mjs\",\n \"query:ui\": \"npm run build && node dist/cli.js meta query --db .manni/meta/query.db && node scripts/query-ui.mjs .manni/meta/query.db\",\n \"check:tgdp-pin\": \"node scripts/lint-check-tgdp-pin.mjs\",\n \"smoke:lint\": \"npm run build && node scripts/lint-smoke.mjs\",\n \"docs:check-cli\": \"node scripts/check-cli-reference.mjs\",\n \"docs:check-action\": \"node scripts/check-action-reference.mjs\",\n \"docs:check-api\": \"node scripts/check-api-reference.mjs\",\n \"docs:check-links\": \"node scripts/check-doc-links.mjs\",\n \"docs:check-docevals\": \"node dist/cli.js docevals run --deterministic-only --no-generate\",\n \"docs:check-graph\": \"node scripts/check-docs-graph.mjs\",\n \"docs:check-tables\": \"node scripts/check-table-rows.mjs\",\n \"docs:check-versions\": \"node scripts/check-versions.mjs\",\n \"docs:sync-versions\": \"node scripts/sync-versions.mjs\",\n \"schemas:sync\": \"node scripts/sync-builtin-schemas.mjs\",\n \"schemas:check\": \"node scripts/check-builtin-schemas.mjs\",\n \"schemas:check-published\": \"node scripts/check-published-schemas.mjs\",\n \"commitlint\": \"commitlint --edit\",\n \"semantic-release\": \"semantic-release\",\n \"prepare\": \"node scripts/prepare.mjs\",\n \"prepublishOnly\": \"npm run build\"\n },\n \"keywords\": [\n \"frontmatter\",\n \"metadata\",\n \"json-schema\",\n \"markdown\",\n \"validation\",\n \"cli\",\n \"ci\",\n \"okf\"\n ],\n \"license\": \"MIT\",\n \"overrides\": {\n \"esbuild\": \"^0.28.2\"\n },\n \"dependencies\": {\n \"@apidevtools/json-schema-ref-parser\": \"^11.9.3\",\n \"@asciidoctor/core\": \"^3.0.4\",\n \"@axe-core/playwright\": \"^4.13.0\",\n \"@hawkeyexl/inference\": \"^0.5.0\",\n \"@inquirer/prompts\": \"^7.10.1\",\n \"@types/n3\": \"^1.26.3\",\n \"@xmldom/xmldom\": \"^0.9.12\",\n \"ajv\": \"^8.17.1\",\n \"ajv-draft-04\": \"^1.0.0\",\n \"ajv-formats\": \"^3.0.1\",\n \"commander\": \"^15.0.0\",\n \"fast-glob\": \"^3.3.2\",\n \"github-slugger\": \"^2.0.0\",\n \"jsonld\": \"^9.0.0\",\n \"mdast-util-to-string\": \"^4.0.0\",\n \"minisearch\": \"^7.2.0\",\n \"n3\": \"^1.26.0\",\n \"parse5\": \"^8.0.1\",\n \"picocolors\": \"^1.1.1\",\n \"picomatch\": \"^4.0.7\",\n \"playwright-core\": \"^1.63.0\",\n \"rdf-validate-shacl\": \"^0.6.5\",\n \"remark-frontmatter\": \"^5.0.0\",\n \"remark-gfm\": \"^4.0.1\",\n \"remark-mdx\": \"^3.1.1\",\n \"remark-parse\": \"^11.0.0\",\n \"smol-toml\": \"^1.8.0\",\n \"unified\": \"^11.0.5\",\n \"unist-util-visit\": \"^5.1.0\",\n \"yaml\": \"^2.6.1\"\n },\n \"devDependencies\": {\n \"@commitlint/cli\": \"^21.2.2\",\n \"@commitlint/config-conventional\": \"^21.2.2\",\n \"@comunica/query-sparql-rdfjs-lite\": \"^5.3.0\",\n \"@eslint/js\": \"^10.0.1\",\n \"@rdfjs/types\": \"^2.0.1\",\n \"@semantic-release/changelog\": \"^6.0.3\",\n \"@semantic-release/commit-analyzer\": \"^13.0.1\",\n \"@semantic-release/git\": \"^10.0.1\",\n \"@semantic-release/github\": \"^12.0.8\",\n \"@semantic-release/npm\": \"^13.1.5\",\n \"@semantic-release/release-notes-generator\": \"^14.1.1\",\n \"@types/jsonld\": \"^1.5.15\",\n \"@types/mdast\": \"^4.0.4\",\n \"@types/node\": \"^26.3.0\",\n \"@types/picomatch\": \"^4.0.3\",\n \"@types/unist\": \"^3.0.3\",\n \"@types/yauzl\": \"^3.4.0\",\n \"@vitest/coverage-v8\": \"^4.1.11\",\n \"eslint\": \"^10.9.1\",\n \"globals\": \"^17.11.0\",\n \"husky\": \"^9.1.7\",\n \"rdfxml-streaming-parser\": \"^3.3.0\",\n \"semantic-release\": \"^25.0.9\",\n \"tsup\": \"^8.3.5\",\n \"typescript\": \"^6.0.3\",\n \"typescript-eslint\": \"^8.68.0\",\n \"vitest\": \"^4.1.11\",\n \"yauzl\": \"^3.4.0\"\n },\n \"peerDependencies\": {\n \"@huggingface/transformers\": \">=4\",\n \"node-llama-cpp\": \"^3.19.0\"\n },\n \"peerDependenciesMeta\": {\n \"@huggingface/transformers\": {\n \"optional\": true\n },\n \"node-llama-cpp\": {\n \"optional\": true\n }\n }\n}\n"],"mappings":"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","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/lint/types.ts"],"sourcesContent":["/**\n * The contract every other module is written against.\n *\n * Two shapes matter. `DocumentTree` is what a parser owes the rest of the tool:\n * a nested section tree with real source positions, in a vocabulary that has\n * nothing to do with Markdown. `Finding` is what the tool owes its caller.\n * Everything between the two - matching, rules, reporting - touches neither\n * mdast nor Asciidoctor nor parse5, which is what lets a new input format be\n * one file plus a line in the parser registry.\n */\n\nimport { ToolError } from \"../shared/errors.js\";\nimport type { Severity } from \"../shared/severity.js\";\nimport type { Guidance } from \"../shared/guidance.js\";\n\n/**\n * Operational/usage failure. Exits 2; never used for lint findings.\n *\n * Extends the umbrella's `ToolError`, which is what the shared bin runner\n * matches on; the subclass stays so this tool's tests and library callers can\n * match on it by name. Named for its domain, as `A11yError`, `CiteError` and\n * `KeyError` are.\n */\nexport class LintError extends ToolError {\n constructor(message: string) {\n super(message);\n this.name = \"LintError\";\n }\n}\n\n/** A point in a source file. Line and column are 1-based, offset 0-based. */\nexport interface Point {\n line: number;\n column: number;\n offset: number;\n}\n\n/** A half-open source span, `start` inclusive and `end` exclusive. */\nexport interface Position {\n start: Point;\n end: Point;\n}\n\n/**\n * Content kinds a section can hold, named generically so a rule written once\n * works on every format. Each parser maps its own AST onto these: mdast\n * `paragraph`/`code`/`list`, Asciidoctor `paragraph`/`listing`/`ulist`|`olist`,\n * HTML `<p>`/`<pre>`/`<ul>` - all three onto `paragraph`/`codeBlock`/`list`.\n *\n * The vocabulary is wider than any one parser emits today. `table`,\n * `admonition`, `image`, `blockquote`, `definitionList`, and `element` are\n * declared here, and in each `DocumentParser.kinds`, only once a parser\n * actually produces them - see `src/lint/parsers/index.ts`.\n */\nexport type ContentKind =\n | \"paragraph\"\n | \"codeBlock\"\n | \"list\"\n | \"listItem\"\n | \"table\"\n | \"tableRow\"\n | \"tableCell\"\n | \"admonition\"\n | \"image\"\n | \"blockquote\"\n | \"definitionList\"\n | \"definitionItem\"\n | \"element\";\n\nexport interface ContentNodeBase {\n kind: ContentKind;\n position: Position;\n /** Plain-text rendering, used by pattern rules. */\n text: string;\n}\n\nexport interface ParagraphNode extends ContentNodeBase {\n kind: \"paragraph\";\n}\n\nexport interface CodeNode extends ContentNodeBase {\n kind: \"codeBlock\";\n /** Language, when the format carries one. */\n language?: string;\n /** The info-string tail after the language, when the format carries one. */\n fenceInfo?: string;\n}\n\nexport interface ListItemNode {\n kind: \"listItem\";\n position: Position;\n text: string;\n /** Nested content, so item-level paragraph/code/list rules can run. */\n children: ContentNode[];\n}\n\nexport interface ListNode extends ContentNodeBase {\n kind: \"list\";\n ordered: boolean;\n items: ListItemNode[];\n}\n\nexport interface TableCellNode extends ContentNodeBase {\n kind: \"tableCell\";\n children: ContentNode[];\n}\n\nexport interface TableRowNode extends ContentNodeBase {\n kind: \"tableRow\";\n header: boolean;\n children: TableCellNode[];\n}\n\nexport interface TableNode extends ContentNodeBase {\n kind: \"table\";\n children: TableRowNode[];\n}\n\n/**\n * A callout, and the flavor the source gave it.\n *\n * `variant` is optional because not every format names one this vocabulary\n * has. reStructuredText has `hint`, `attention`, `error` and a generic\n * `admonition` directive, and a bare HTML `<aside>` says nothing at all. Those\n * produce an admonition with no variant rather than an invented equivalence:\n * mapping `hint` onto `tip` would make `variant: tip` pass on a page that\n * never said tip. A `variant:` rule reports such a node as a mismatch, and a\n * plain count rule still counts it.\n */\nexport interface AdmonitionNode extends ContentNodeBase {\n kind: \"admonition\";\n variant?: \"note\" | \"tip\" | \"important\" | \"caution\" | \"warning\" | \"danger\";\n children: ContentNode[];\n}\n\nexport interface ImageNode extends ContentNodeBase {\n kind: \"image\";\n url: string;\n alt: string;\n title?: string;\n}\n\nexport interface BlockquoteNode extends ContentNodeBase {\n kind: \"blockquote\";\n children: ContentNode[];\n}\n\nexport interface DefinitionItemNode {\n kind: \"definitionItem\";\n position: Position;\n text: string;\n term: string;\n definition: ContentNode[];\n}\n\nexport interface DefinitionListNode extends ContentNodeBase {\n kind: \"definitionList\";\n children: DefinitionItemNode[];\n}\n\n/**\n * A named wrapper - an MDX/JSX component today, and where HTML and DITA may\n * eventually anchor a custom element. Its children are its own content, never\n * the enclosing section's: a rule reading a section's `children` must not see\n * inside an `<Element>` it did not ask about.\n */\nexport interface ElementNode extends ContentNodeBase {\n kind: \"element\";\n name: string;\n attributes?: Record<string, string | true>;\n children: ContentNode[];\n}\n\nexport type ContentNode =\n | ParagraphNode\n | CodeNode\n | ListNode\n | TableNode\n | AdmonitionNode\n | ImageNode\n | BlockquoteNode\n | DefinitionListNode\n | ElementNode;\n\n/**\n * One section of a document, demarcated by a heading.\n *\n * `slug`/`title`/`level`/`order`/`parentSlug` intentionally match manni graph's\n * `Section` (dockg/src/types.ts), so its graph can be built from this tree.\n *\n * `children` is in document order and is the single source of truth: the\n * paragraph/codeBlock/list counts every rule needs are queries over it, not\n * separately maintained arrays.\n */\nexport interface SectionNode {\n /** Slug of the heading, disambiguated across the document (`install-1`). */\n slug: string;\n /** Heading text, with inline markup flattened. */\n title: string;\n /** Heading level, 1-6. 0 for the implicit lead section before any heading. */\n level: number;\n /** 1-based position among siblings under the same parent. */\n order: number;\n /** Slug of the enclosing section, or null at the top level. */\n parentSlug: string | null;\n /** Span of the title itself. Null for the implicit lead section. */\n titlePosition: Position | null;\n /**\n * The anchor the source itself gives this section, verbatim - an HTML `id`,\n * a DITA `@id`, an AsciiDoc `[[id]]`, a reST `.. _label:` - when it gives\n * one. `slug` stays the slugged title either way: a link written against\n * the source's own id resolves through this, and nothing lint matches on\n * reads it.\n */\n id?: string;\n /**\n * Set on the level-1 section `withMetadataTitle` made from a metadata\n * `title`, so a consumer can tell it from a heading the author wrote. Its\n * `titlePosition` is not enough: a reST title read back as docinfo shares\n * its span with the frontmatter, written or not.\n */\n synthetic?: true;\n /** Span of the whole section: its heading through the last node before the next sibling heading. */\n position: Position;\n /** Direct content, in document order, excluding anything owned by a subsection. */\n children: ContentNode[];\n /** Nested sections, in document order. */\n sections: SectionNode[];\n}\n\n/** What a parser returns for one file. */\nexport interface DocumentTree {\n /** Name of the parser that produced this (`markdown`, `asciidoc`, ...). */\n format: string;\n /** Path the content came from, for error messages. */\n filePath: string;\n /** Raw frontmatter/metadata values, or null when the file carries none. */\n frontmatter: Record<string, unknown> | null;\n /** Span of the frontmatter block, for anchoring findings about it. */\n frontmatterPosition: Position | null;\n /** Top-level sections, in document order. */\n sections: SectionNode[];\n /**\n * Link targets exactly as the source wrote them, in document order, for\n * `manni graph`. No lint rule reads them. Each parser decides what counts:\n * an anchor to elsewhere does, and a stylesheet, a heading's own permalink,\n * or a key reference resolved only at build time does not.\n */\n links: { target: string; position: Position }[];\n}\n\n/**\n * A parser for one input format.\n *\n * Shaped after docmeta's `MetadataExtractor` so the two registries read the\n * same way. A format is registered only when its parser reads it, so every\n * registered format is one the tool reads, and an extension no parser claims is\n * skipped by name rather than parsed as Markdown.\n */\nexport interface DocumentParser {\n /** Stable name, also used as `DocumentTree.format`. */\n name: string;\n /** Human-readable label for `manni lint tools`. */\n label: string;\n /**\n * The content kinds this parser actually emits today. A capability\n * declaration, not the full `ContentKind` vocabulary: a kind absent here is\n * one no rule will ever see from this parser's trees, whatever the format\n * could in principle represent.\n */\n kinds: ContentKind[];\n /** Lowercase file extensions this parser handles, incl. dot (e.g. \".md\"). */\n extensions: string[];\n /**\n * Extensions safe to collect from a directory walk. Defaults to\n * `extensions`.\n *\n * The two differ when an extension is a generic container rather than a\n * documentation format. `.xml` is the case: this parser can read a DocBook\n * or DITA document named explicitly, but a docs tree also contains\n * `pom.xml`, `sitemap.xml`, and `.csproj`, and sweeping those in turns a\n * clean run into a failure about files the user never asked to lint.\n */\n walkExtensions?: string[];\n /** Parse raw file content into the generic tree. */\n parse(content: string, filePath: string): DocumentTree;\n}\n\n/**\n * How much a finding weighs, on the one scale every manni tool speaks\n * (`src/shared/severity.ts`): `notice | warning | error`.\n *\n * Almost every structural finding is an `error`, since a template either\n * describes a document or it does not. `unsupported_content_kind` is the\n * exception and is a `warning`: the rule never ran, so the page may still be\n * fine, and a warning never moves the exit code.\n *\n * The scale is the family's and not this tool's private pair, because a flag\n * or config key two domains both have carries the same name *and* the same\n * values. Re-exported so `lint.Severity` names the same type a caller already\n * has.\n */\nexport type { Severity };\n\n/**\n * One structural violation.\n *\n * The field set is pinned by manni docevals' tool adapter, which reads\n * `{ type, heading, message, position }` off the JSON reporter. Additions are\n * safe; renames are not.\n */\nexport interface Finding {\n /** Machine-readable rule id, e.g. `missing_section`. */\n type: string;\n /** Heading of the section the finding is anchored to, if any. */\n heading: string | null;\n message: string;\n position: Position;\n severity: Severity;\n /**\n * The template that judged the page and the rule this finding is about, so\n * an author reads what the section is for beside what is wrong with it.\n * `null` when no template stands behind the finding: a parse failure, an\n * unknown doctype, a broken template, or a tool other than manni.\n */\n template?: FindingTemplate | null;\n}\n\n/**\n * What a template asks for, as a finding carries it: the family's guidance\n * shape (`src/shared/guidance.ts`) under lint's released name.\n *\n * - `id` is the template's ref, as `manni lint templates` lists it and\n * `--template` takes it.\n * - `rule` is the rule's `id`. `null` for a rule without one, the template\n * itself, or no rule at all.\n * - `description` is the rule's `description`, or `null` when it has none.\n * - `guide` is the template's `guide`, after `extends`, or `null`.\n */\nexport type FindingTemplate = Guidance;\n\n/**\n * Why a file was not linted.\n *\n * `unreadable` is the one that is not about the document: the file was found,\n * claimed by a parser, and then could not be opened - a denied permission, a\n * symlink loop, a page a doc build moved between the walk and the read. It is a\n * skip rather than a finding because nothing was checked, and calling it a\n * finding would report the docs as wrong when the filesystem was.\n */\nexport type SkipReason = \"no-template\" | \"unsupported-format\" | \"unreadable\";\n\n/** Result of linting one file. */\nexport interface FileResult {\n file: string;\n /** True when the file was linted and produced no findings. */\n success: boolean;\n findings: Finding[];\n /** Template id/ref applied, or null when skipped. */\n template: string | null;\n /** Set when the file was skipped rather than linted. */\n skipped?: SkipReason;\n}\n"],"mappings":";;;;;;AAuBO,IAAM,YAAN,cAAwB,UAAU;AAAA,EACvC,YAAY,SAAiB;AAC3B,UAAM,OAAO;AACb,SAAK,OAAO;AAAA,EACd;AACF;","names":[]}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
MANIFEST_VERSION
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6WJUZQQX.js";
|
|
5
5
|
import {
|
|
6
6
|
configDir
|
|
7
7
|
} from "./chunk-4TSWU2SU.js";
|
|
8
8
|
import {
|
|
9
9
|
metaProvenanceEntries
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CZJNYHK7.js";
|
|
11
11
|
import {
|
|
12
12
|
__default4 as __default,
|
|
13
13
|
extractFrontmatter
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BIRGZEWO.js";
|
|
15
15
|
|
|
16
16
|
// src/tracevals/capture/manifest.ts
|
|
17
17
|
import { createHash } from "node:crypto";
|
|
@@ -1168,4 +1168,4 @@ export {
|
|
|
1168
1168
|
ARTIFACT_EVALS_SCHEMA_ID,
|
|
1169
1169
|
extractEvals
|
|
1170
1170
|
};
|
|
1171
|
-
//# sourceMappingURL=chunk-
|
|
1171
|
+
//# sourceMappingURL=chunk-USKTLEPZ.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
parseTraceFile,
|
|
4
4
|
renderTrace
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EXAZ7K25.js";
|
|
6
6
|
import {
|
|
7
7
|
evaluateWhen,
|
|
8
8
|
matchesGlob,
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
validateWhen
|
|
12
12
|
} from "./chunk-FQGLRJGX.js";
|
|
13
13
|
import {
|
|
14
|
+
REDO_OR_FIX,
|
|
14
15
|
fail,
|
|
15
|
-
finding,
|
|
16
16
|
firstError,
|
|
17
17
|
optionalBoolean,
|
|
18
18
|
optionalEnum,
|
|
@@ -25,28 +25,37 @@ import {
|
|
|
25
25
|
requiredString,
|
|
26
26
|
skippedWindow,
|
|
27
27
|
windowFor
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-VHJ72YCD.js";
|
|
29
29
|
import {
|
|
30
30
|
extractEvals,
|
|
31
31
|
findManifest,
|
|
32
32
|
resolveArtifacts
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-USKTLEPZ.js";
|
|
34
34
|
import {
|
|
35
35
|
discoverConfig
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-QSPH4F56.js";
|
|
37
37
|
import {
|
|
38
38
|
announceSelection,
|
|
39
39
|
assertProviderSelection,
|
|
40
40
|
constructProvider,
|
|
41
41
|
resolveProviderIdentity,
|
|
42
42
|
selectProvider
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-JCTHXG33.js";
|
|
44
44
|
import {
|
|
45
45
|
discoverTraces
|
|
46
46
|
} from "./chunk-4TSWU2SU.js";
|
|
47
47
|
import {
|
|
48
|
+
TRIAGE_GUIDE,
|
|
48
49
|
TracevalsError
|
|
49
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-ZINZTHWO.js";
|
|
51
|
+
import {
|
|
52
|
+
URI_BASE_ID,
|
|
53
|
+
artifactLocation,
|
|
54
|
+
fileUri,
|
|
55
|
+
normalizeRoot,
|
|
56
|
+
toPosix,
|
|
57
|
+
underRoot
|
|
58
|
+
} from "./chunk-GLP5PSXB.js";
|
|
50
59
|
import {
|
|
51
60
|
isTurnBudgetSkip,
|
|
52
61
|
turnBudgetSkipReason
|
|
@@ -61,19 +70,14 @@ import {
|
|
|
61
70
|
realExec
|
|
62
71
|
} from "./chunk-ZPLVANY2.js";
|
|
63
72
|
import {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
fileUri,
|
|
67
|
-
normalizeRoot,
|
|
68
|
-
toPosix,
|
|
69
|
-
underRoot
|
|
70
|
-
} from "./chunk-GLP5PSXB.js";
|
|
73
|
+
verdictLines
|
|
74
|
+
} from "./chunk-QS2Z3SWL.js";
|
|
71
75
|
import {
|
|
72
76
|
declaredAt
|
|
73
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-7AXJY4FX.js";
|
|
74
78
|
import {
|
|
75
79
|
xmlEscape
|
|
76
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-3BMTCS4H.js";
|
|
77
81
|
import {
|
|
78
82
|
PATH_JOIN,
|
|
79
83
|
externalMetadataJoin,
|
|
@@ -81,23 +85,24 @@ import {
|
|
|
81
85
|
loadExternalMetadata,
|
|
82
86
|
memberOf,
|
|
83
87
|
mergeWithMarks
|
|
84
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-36FJWJSK.js";
|
|
85
89
|
import {
|
|
86
90
|
DocmetaError,
|
|
87
91
|
classifyRef,
|
|
88
92
|
extractFrontmatter
|
|
89
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-BIRGZEWO.js";
|
|
90
94
|
import {
|
|
91
95
|
escapeWorkflowCommandMessage,
|
|
92
|
-
escapeWorkflowCommandProperty
|
|
93
|
-
|
|
96
|
+
escapeWorkflowCommandProperty,
|
|
97
|
+
guidanceLines
|
|
98
|
+
} from "./chunk-QK6VYJHV.js";
|
|
94
99
|
import {
|
|
95
100
|
palette
|
|
96
101
|
} from "./chunk-RNVYGWIC.js";
|
|
97
102
|
import {
|
|
98
103
|
hasPagePlaceholder,
|
|
99
104
|
ownsKey
|
|
100
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-B2242FYO.js";
|
|
101
106
|
import {
|
|
102
107
|
warn
|
|
103
108
|
} from "./chunk-HX44GB4Z.js";
|
|
@@ -746,10 +751,16 @@ var TRACE_RULE_ID = "tracevals/trace";
|
|
|
746
751
|
function traceErrorText(error) {
|
|
747
752
|
return `trace could not be evaluated: ${error}`;
|
|
748
753
|
}
|
|
749
|
-
function
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
754
|
+
function judgedLines(result) {
|
|
755
|
+
const c = result.consensus;
|
|
756
|
+
if (result.outcome === "fail" && c) return verdictLines(c, "fail", REDO_OR_FIX);
|
|
757
|
+
if (result.outcome !== "needs-review") return [];
|
|
758
|
+
if (!c) return ["Awaiting human review. Read the session against the assertion and decide."];
|
|
759
|
+
return verdictLines(
|
|
760
|
+
c,
|
|
761
|
+
"no confident verdict",
|
|
762
|
+
"Read the session and decide. If this recurs, sharpen the assertion and run manni tracevals calibrate."
|
|
763
|
+
);
|
|
753
764
|
}
|
|
754
765
|
function errorText(result) {
|
|
755
766
|
return result.error ?? result.skipReason ?? "eval errored";
|
|
@@ -775,15 +786,16 @@ function renderGithub(input, summary) {
|
|
|
775
786
|
...r.location.line === void 0 ? {} : { line: r.location.line },
|
|
776
787
|
title: `${TITLE}: ${r.evalName}`
|
|
777
788
|
};
|
|
789
|
+
const say = (level, [first = "", ...rest]) => annotation(level, [first + trace, ...rest, ...guidanceLines(r.guidance)].join("\n"), at);
|
|
778
790
|
for (const f of r.findings ?? []) {
|
|
779
|
-
lines.push(
|
|
791
|
+
lines.push(say(f.severity, [f.message]));
|
|
780
792
|
}
|
|
781
|
-
const judged =
|
|
782
|
-
if (judged
|
|
783
|
-
lines.push(
|
|
793
|
+
const judged = judgedLines(r);
|
|
794
|
+
if (judged.length > 0) {
|
|
795
|
+
lines.push(say(r.outcome === "fail" ? "error" : "warning", judged));
|
|
784
796
|
}
|
|
785
797
|
if (r.outcome === "error") {
|
|
786
|
-
lines.push(
|
|
798
|
+
lines.push(say("error", [errorText(r)]));
|
|
787
799
|
}
|
|
788
800
|
}
|
|
789
801
|
for (const w of run.warnings) {
|
|
@@ -811,10 +823,14 @@ function attr(name, value) {
|
|
|
811
823
|
return `${name}="${xmlEscape(String(value))}"`;
|
|
812
824
|
}
|
|
813
825
|
var seconds = (ms) => (ms / 1e3).toFixed(3);
|
|
826
|
+
function judgedOr(result) {
|
|
827
|
+
const judged = judgedLines(result);
|
|
828
|
+
return judged.length > 0 ? judged : [`${result.evalName} failed`];
|
|
829
|
+
}
|
|
814
830
|
function failureText(result) {
|
|
815
831
|
const findings = (result.findings ?? []).map((f) => f.message);
|
|
816
|
-
|
|
817
|
-
return
|
|
832
|
+
const head = findings.length > 0 ? findings : judgedOr(result);
|
|
833
|
+
return [...head, ...guidanceLines(result.guidance)].join("\n");
|
|
818
834
|
}
|
|
819
835
|
function testcase(result, root) {
|
|
820
836
|
const line = result.location.line;
|
|
@@ -838,7 +854,9 @@ function testcase(result, root) {
|
|
|
838
854
|
<error ${attr(
|
|
839
855
|
"message",
|
|
840
856
|
`${result.evalName} errored`
|
|
841
|
-
)} ${type}>${xmlEscape(
|
|
857
|
+
)} ${type}>${xmlEscape(
|
|
858
|
+
[errorText(result), ...guidanceLines(result.guidance)].join("\n")
|
|
859
|
+
)}</error>
|
|
842
860
|
</testcase>`;
|
|
843
861
|
case "needs-review":
|
|
844
862
|
return `${open}>
|
|
@@ -1014,20 +1032,26 @@ function renderPretty(report, opts = {}) {
|
|
|
1014
1032
|
lines.push(
|
|
1015
1033
|
` ${label} ${name}${result.implicit ? pc.dim(" (implicit)") : ""} ${pc.dim(locationLabel(result.location))}`
|
|
1016
1034
|
);
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1035
|
+
let printed = false;
|
|
1036
|
+
for (const finding of result.findings ?? []) {
|
|
1037
|
+
if (result.outcome !== "pass" || finding.severity !== "error") {
|
|
1038
|
+
lines.push(` ${pc.dim(`[${finding.severity}]`)} ${finding.message}`);
|
|
1039
|
+
printed = true;
|
|
1020
1040
|
}
|
|
1021
1041
|
}
|
|
1022
1042
|
if (result.error) lines.push(` ${pc.red(result.error)}`);
|
|
1023
|
-
if (result.skipReason
|
|
1043
|
+
if (result.skipReason && result.outcome !== "needs-review") {
|
|
1044
|
+
lines.push(` ${pc.dim(result.skipReason)}`);
|
|
1045
|
+
}
|
|
1046
|
+
for (const line of judgedLines(result)) lines.push(` ${line}`);
|
|
1024
1047
|
if (result.consensus && result.outcome !== "pass") {
|
|
1025
1048
|
const v = result.consensus.votes;
|
|
1026
1049
|
lines.push(
|
|
1027
|
-
` ${pc.dim(`votes pass:${v.pass} fail:${v.fail} partial:${v.partial} error:${v.error}
|
|
1050
|
+
` ${pc.dim(`votes pass:${v.pass} fail:${v.fail} partial:${v.partial} error:${v.error}`)}`
|
|
1028
1051
|
);
|
|
1029
|
-
|
|
1030
|
-
|
|
1052
|
+
}
|
|
1053
|
+
if (printed || result.outcome === "fail" || result.outcome === "error" || result.outcome === "needs-review") {
|
|
1054
|
+
for (const line of guidanceLines(result.guidance)) lines.push(` ${pc.dim(line)}`);
|
|
1031
1055
|
}
|
|
1032
1056
|
}
|
|
1033
1057
|
lines.push("");
|
|
@@ -1086,6 +1110,11 @@ function renderPretty(report, opts = {}) {
|
|
|
1086
1110
|
}
|
|
1087
1111
|
|
|
1088
1112
|
// src/tracevals/reporters/markdown.ts
|
|
1113
|
+
var FINDING_LABEL = {
|
|
1114
|
+
fail: "FAIL",
|
|
1115
|
+
error: "ERROR",
|
|
1116
|
+
"needs-review": "REVIEW"
|
|
1117
|
+
};
|
|
1089
1118
|
var cell3 = (value) => value.replace(/\|/g, "\\|");
|
|
1090
1119
|
function renderMarkdown(report) {
|
|
1091
1120
|
const lines = [];
|
|
@@ -1108,6 +1137,24 @@ function renderMarkdown(report) {
|
|
|
1108
1137
|
);
|
|
1109
1138
|
}
|
|
1110
1139
|
lines.push("");
|
|
1140
|
+
const findings = report.evalResults.flatMap((r) => {
|
|
1141
|
+
const label = FINDING_LABEL[r.outcome];
|
|
1142
|
+
return label === void 0 ? [] : [{ r, label }];
|
|
1143
|
+
});
|
|
1144
|
+
if (findings.length > 0) {
|
|
1145
|
+
lines.push(`## Findings`);
|
|
1146
|
+
lines.push("");
|
|
1147
|
+
for (const { r, label } of findings) {
|
|
1148
|
+
lines.push(
|
|
1149
|
+
`- **${label}** ${r.artifactName} \u203A ${r.evalName} \xB7 \`${locationLabel(r.location)}\``
|
|
1150
|
+
);
|
|
1151
|
+
const body = r.outcome === "error" ? [errorText(r)] : r.findings !== void 0 && r.findings.length > 0 ? r.findings.map((f) => f.message) : judgedLines(r);
|
|
1152
|
+
for (const line of [...body, ...guidanceLines(r.guidance)]) {
|
|
1153
|
+
lines.push(` - ${line.replace(/\r?\n/g, " ")}`);
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
lines.push("");
|
|
1157
|
+
}
|
|
1111
1158
|
lines.push(`## Artifact coverage`);
|
|
1112
1159
|
lines.push("");
|
|
1113
1160
|
lines.push(`| Resolved | Kind | Ref | Availability | Where |`);
|
|
@@ -1157,6 +1204,19 @@ var LEVELS = {
|
|
|
1157
1204
|
warning: "warning",
|
|
1158
1205
|
notice: "note"
|
|
1159
1206
|
};
|
|
1207
|
+
var GRADER_DESCRIPTIONS = /* @__PURE__ */ new Map([
|
|
1208
|
+
["tool-usage", "Checks whether the session used a tool, and how often."],
|
|
1209
|
+
["tool-order", "Checks that the session used one tool before another."],
|
|
1210
|
+
["skill-invoked", "Checks whether the session invoked a skill."],
|
|
1211
|
+
["file-access", "Checks whether the session read, wrote or edited a file."],
|
|
1212
|
+
["turn-count", "Checks that the session's turn count stays within its bounds."],
|
|
1213
|
+
["cost", "Checks that the session's recorded cost and tokens stay within their limits."],
|
|
1214
|
+
["regex", "Checks whether a pattern matches the session's text."],
|
|
1215
|
+
["json-output", "Checks that the session's final output is JSON that matches a schema."],
|
|
1216
|
+
["command", "Runs a command over the session and checks its exit code."],
|
|
1217
|
+
["ai", "The AI judge reads the session against the eval's assertion."],
|
|
1218
|
+
["human", "A person reads the session against the eval's assertion and decides."]
|
|
1219
|
+
]);
|
|
1160
1220
|
function declaringLocation(r, root) {
|
|
1161
1221
|
if (classifyRef(r.location.file).kind === "url") return { uri: r.location.file };
|
|
1162
1222
|
return artifactLocation(locationPath(r.location, root), root);
|
|
@@ -1164,28 +1224,30 @@ function declaringLocation(r, root) {
|
|
|
1164
1224
|
function renderSarif(input) {
|
|
1165
1225
|
const rules = /* @__PURE__ */ new Map();
|
|
1166
1226
|
const results = [];
|
|
1167
|
-
const declare = (id, name, text, level) => {
|
|
1227
|
+
const declare = (id, name, text, level, full) => {
|
|
1168
1228
|
if (!rules.has(id)) {
|
|
1169
1229
|
rules.set(id, {
|
|
1170
1230
|
id,
|
|
1171
1231
|
name,
|
|
1172
1232
|
shortDescription: { text },
|
|
1233
|
+
...full === void 0 ? {} : { fullDescription: { text: full }, helpUri: TRIAGE_GUIDE },
|
|
1173
1234
|
defaultConfiguration: { level }
|
|
1174
1235
|
});
|
|
1175
1236
|
}
|
|
1176
1237
|
};
|
|
1177
|
-
const push = (run, r, level,
|
|
1238
|
+
const push = (run, r, level, lines) => {
|
|
1178
1239
|
const id = ruleIdFor(r.grader);
|
|
1179
1240
|
declare(
|
|
1180
1241
|
id,
|
|
1181
1242
|
r.grader,
|
|
1182
1243
|
r.grader === "ai" ? "manni tracevals AI judge" : `manni tracevals ${r.grader} grader`,
|
|
1183
|
-
level
|
|
1244
|
+
level,
|
|
1245
|
+
GRADER_DESCRIPTIONS.get(r.grader)
|
|
1184
1246
|
);
|
|
1185
1247
|
results.push({
|
|
1186
1248
|
ruleId: id,
|
|
1187
1249
|
level,
|
|
1188
|
-
message: { text },
|
|
1250
|
+
message: { text: [...lines, ...guidanceLines(r.guidance)].join("\n") },
|
|
1189
1251
|
locations: [
|
|
1190
1252
|
{
|
|
1191
1253
|
physicalLocation: {
|
|
@@ -1201,18 +1263,21 @@ function renderSarif(input) {
|
|
|
1201
1263
|
artifactName: r.artifactName,
|
|
1202
1264
|
artifactType: r.artifactType,
|
|
1203
1265
|
trace: displayPath(run.trace.file, input.root),
|
|
1204
|
-
...run.trace.sessionId !== void 0 ? { sessionId: run.trace.sessionId } : {}
|
|
1266
|
+
...run.trace.sessionId !== void 0 ? { sessionId: run.trace.sessionId } : {},
|
|
1267
|
+
...r.guidance == null ? {} : { guidance: r.guidance }
|
|
1205
1268
|
}
|
|
1206
1269
|
});
|
|
1207
1270
|
};
|
|
1208
1271
|
for (const run of input.runs) {
|
|
1209
1272
|
for (const r of run.evalResults) {
|
|
1210
1273
|
for (const f of r.findings ?? []) {
|
|
1211
|
-
push(run, r, LEVELS[f.severity], f.message);
|
|
1274
|
+
push(run, r, LEVELS[f.severity], [f.message]);
|
|
1275
|
+
}
|
|
1276
|
+
const judged = judgedLines(r);
|
|
1277
|
+
if (judged.length > 0) {
|
|
1278
|
+
push(run, r, r.outcome === "fail" ? "error" : "warning", judged);
|
|
1212
1279
|
}
|
|
1213
|
-
|
|
1214
|
-
if (judged !== void 0) push(run, r, "error", judged);
|
|
1215
|
-
if (r.outcome === "error") push(run, r, "error", errorText(r));
|
|
1280
|
+
if (r.outcome === "error") push(run, r, "error", [errorText(r)]);
|
|
1216
1281
|
}
|
|
1217
1282
|
}
|
|
1218
1283
|
for (const t of input.traceErrors) {
|
|
@@ -1951,11 +2016,8 @@ var jsonOutputGrader = {
|
|
|
1951
2016
|
);
|
|
1952
2017
|
}
|
|
1953
2018
|
if (validate(data)) return pass;
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
(e) => finding(plan, `${e.instancePath || "/"} ${e.message ?? "invalid"}`)
|
|
1957
|
-
)
|
|
1958
|
-
};
|
|
2019
|
+
const errors = (validate.errors ?? []).map((e) => `${e.instancePath || "/"} ${e.message ?? "invalid"}`).join("; ");
|
|
2020
|
+
return fail(plan, `final assistant output does not match the schema: ${errors}`);
|
|
1959
2021
|
}
|
|
1960
2022
|
};
|
|
1961
2023
|
|
|
@@ -2011,7 +2073,7 @@ var commandGrader = {
|
|
|
2011
2073
|
evalName: plan.evalName,
|
|
2012
2074
|
artifact: plan.artifact.path,
|
|
2013
2075
|
severity: plan.severity,
|
|
2014
|
-
message: `command exited ${run.code ?? "on a signal"} (expected ${successCodes.join(" or ")})
|
|
2076
|
+
message: `command exited ${run.code ?? "on a signal"} (expected ${successCodes.join(" or ")}). Redo the session work so the check passes, or fix the command if it is broken.` + (detail2 ? ` Output: ${detail2.slice(0, STDERR_LIMIT)}` : "")
|
|
2015
2077
|
}
|
|
2016
2078
|
]
|
|
2017
2079
|
};
|
|
@@ -2055,6 +2117,7 @@ function listGraderKinds() {
|
|
|
2055
2117
|
}
|
|
2056
2118
|
|
|
2057
2119
|
// src/tracevals/core/engine.ts
|
|
2120
|
+
var IMPLICIT_DESCRIPTION = "The session follows every instruction in this artifact.";
|
|
2058
2121
|
async function runEvals(options) {
|
|
2059
2122
|
const start = Date.now();
|
|
2060
2123
|
const { config } = options;
|
|
@@ -2257,12 +2320,19 @@ async function runEvals(options) {
|
|
|
2257
2320
|
});
|
|
2258
2321
|
}
|
|
2259
2322
|
}
|
|
2260
|
-
const
|
|
2323
|
+
const planOf = /* @__PURE__ */ new Map();
|
|
2261
2324
|
for (const plan of plans) {
|
|
2262
|
-
|
|
2325
|
+
planOf.set(weightKey(plan.artifact.path, plan.evalName), plan);
|
|
2263
2326
|
}
|
|
2264
2327
|
for (const r of results) {
|
|
2265
|
-
|
|
2328
|
+
const plan = planOf.get(weightKey(r.artifact, r.evalName));
|
|
2329
|
+
r.weight = plan?.weight ?? 1;
|
|
2330
|
+
r.guidance = {
|
|
2331
|
+
id: spelled({ file: r.artifact }, root).file,
|
|
2332
|
+
rule: r.evalName,
|
|
2333
|
+
description: plan === void 0 ? null : plan.implicit ? IMPLICIT_DESCRIPTION : plan.assertion ?? null,
|
|
2334
|
+
guide: TRIAGE_GUIDE
|
|
2335
|
+
};
|
|
2266
2336
|
}
|
|
2267
2337
|
const gradedRows = results.filter(
|
|
2268
2338
|
(r) => r.outcome === "pass" || r.outcome === "fail" || r.outcome === "error"
|
|
@@ -3134,4 +3204,4 @@ export {
|
|
|
3134
3204
|
resolveBatchTraces,
|
|
3135
3205
|
runBatch
|
|
3136
3206
|
};
|
|
3137
|
-
//# sourceMappingURL=chunk-
|
|
3207
|
+
//# sourceMappingURL=chunk-V6OCE4ND.js.map
|