@hawkeyexl/manni 4.13.0 → 4.15.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-OMDKRGUE.js +48 -0
- package/dist/build-YCY5MUHA.js +37 -0
- package/dist/calibrate-RN2NJ4FS.js +43 -0
- package/dist/capture-2WYROZKA.js +39 -0
- package/dist/check-KRVWHF7E.js +33 -0
- package/dist/{check-NBN2YK2J.js → check-LVUTWAGR.js} +33 -32
- package/dist/{check-NBN2YK2J.js.map → check-LVUTWAGR.js.map} +1 -1
- package/dist/check-MR7IG7IP.js +36 -0
- package/dist/{check-LU5YC3L4.js → check-OIRJ6OBW.js} +15 -14
- package/dist/{chunk-J5NOWIJ3.js → chunk-3CSEHHKB.js} +14 -8
- package/dist/{chunk-J5NOWIJ3.js.map → chunk-3CSEHHKB.js.map} +1 -1
- package/dist/{chunk-7RNONVHI.js → chunk-3EJVJDMX.js} +9 -9
- package/dist/{chunk-LSFXNAHU.js → chunk-3WQMMLIO.js} +129 -59
- package/dist/chunk-3WQMMLIO.js.map +1 -0
- package/dist/{chunk-OREHJQNN.js → chunk-46OWIAAX.js} +5 -4
- package/dist/{chunk-OREHJQNN.js.map → chunk-46OWIAAX.js.map} +1 -1
- package/dist/{chunk-LNGSE7V2.js → chunk-476DMDJ5.js} +132 -27
- package/dist/chunk-476DMDJ5.js.map +1 -0
- package/dist/{chunk-EQ7E6HMG.js → chunk-4MYW2D2U.js} +14 -16
- package/dist/chunk-4MYW2D2U.js.map +1 -0
- package/dist/{chunk-NTEYYYKL.js → chunk-525KMBZS.js} +16 -22
- package/dist/chunk-525KMBZS.js.map +1 -0
- package/dist/{chunk-HIEGOW7X.js → chunk-57DHX65T.js} +5 -79
- package/dist/chunk-57DHX65T.js.map +1 -0
- package/dist/{chunk-PCE7QHXJ.js → chunk-5D24C6WM.js} +6 -1
- package/dist/chunk-5D24C6WM.js.map +1 -0
- package/dist/{chunk-DQOM3DEU.js → chunk-6DYFWAZA.js} +563 -359
- package/dist/chunk-6DYFWAZA.js.map +1 -0
- package/dist/{chunk-CU57HT2E.js → chunk-6WJUZQQX.js} +2 -2
- package/dist/chunk-7EKXSSEO.js +81 -0
- package/dist/chunk-7EKXSSEO.js.map +1 -0
- package/dist/{chunk-ULDV2LUI.js → chunk-7SVFBJBE.js} +10 -4
- package/dist/chunk-7SVFBJBE.js.map +1 -0
- package/dist/{chunk-QKT67PFE.js → chunk-7XHW5DZA.js} +9 -9
- package/dist/{chunk-TDCOKKMI.js → chunk-AL4HRKSZ.js} +3 -3
- package/dist/{chunk-OTJOBZJ5.js → chunk-B2242FYO.js} +2 -1
- package/dist/chunk-B2242FYO.js.map +1 -0
- package/dist/chunk-BREAC43H.js +85 -0
- package/dist/chunk-BREAC43H.js.map +1 -0
- package/dist/{chunk-HKTGHLBA.js → chunk-C37OVJ35.js} +2 -2
- package/dist/{chunk-HKTGHLBA.js.map → chunk-C37OVJ35.js.map} +1 -1
- package/dist/{chunk-YQV75FIL.js → chunk-CFMI74TP.js} +3 -3
- package/dist/{chunk-BMBAAPGN.js → chunk-CWGBRWP7.js} +33 -18
- package/dist/chunk-CWGBRWP7.js.map +1 -0
- package/dist/chunk-DN4LCWSA.js +83 -0
- package/dist/chunk-DN4LCWSA.js.map +1 -0
- package/dist/{chunk-JEUFYSFQ.js → chunk-DW22KCLN.js} +118 -75
- package/dist/chunk-DW22KCLN.js.map +1 -0
- package/dist/{chunk-PCGBXHSE.js → chunk-FEEO7ET6.js} +5 -5
- package/dist/{chunk-CODWRUAD.js → chunk-FYWQS35G.js} +7 -5
- package/dist/chunk-FYWQS35G.js.map +1 -0
- package/dist/{chunk-3O6U4ICM.js → chunk-GLQCSDFS.js} +3 -3
- package/dist/{chunk-BQXY76JB.js → chunk-GUTAKJIF.js} +148 -92
- package/dist/chunk-GUTAKJIF.js.map +1 -0
- package/dist/{chunk-WVXCN5DS.js → chunk-GZHBMMDC.js} +78 -14
- package/dist/chunk-GZHBMMDC.js.map +1 -0
- package/dist/{chunk-52WO7ESI.js → chunk-IE5PXI6M.js} +6 -5
- package/dist/chunk-IE5PXI6M.js.map +1 -0
- package/dist/{chunk-ZXRAE55H.js → chunk-IGRXQC3H.js} +2 -2
- package/dist/{chunk-U6IHLEWT.js → chunk-JCTHXG33.js} +2 -2
- package/dist/{chunk-NSAW7U42.js → chunk-JHE3CYWS.js} +58 -10
- package/dist/chunk-JHE3CYWS.js.map +1 -0
- package/dist/{chunk-6ZFJWUUH.js → chunk-JNMY7KZG.js} +2 -2
- package/dist/chunk-JQPZKWIP.js +76 -0
- package/dist/chunk-JQPZKWIP.js.map +1 -0
- package/dist/{chunk-OBXCJZ6R.js → chunk-JTATFPWB.js} +28 -17
- package/dist/chunk-JTATFPWB.js.map +1 -0
- package/dist/{chunk-3HUCB4Z3.js → chunk-JULE3EU3.js} +10 -7
- package/dist/chunk-JULE3EU3.js.map +1 -0
- package/dist/{chunk-TQ3W6RKG.js → chunk-KCXQXKOL.js} +3 -3
- package/dist/{chunk-VYBYUQIP.js → chunk-KN37BXVY.js} +88 -7
- package/dist/chunk-KN37BXVY.js.map +1 -0
- package/dist/{chunk-OUAH7XF2.js → chunk-MAOX3524.js} +2 -2
- package/dist/chunk-MC7U5IH4.js +126 -0
- package/dist/chunk-MC7U5IH4.js.map +1 -0
- package/dist/{chunk-OYIWF3B2.js → chunk-NIQ2JSZO.js} +29 -20
- package/dist/chunk-NIQ2JSZO.js.map +1 -0
- package/dist/{chunk-HY6ROJTH.js → chunk-OFOIBV5J.js} +86 -10
- package/dist/chunk-OFOIBV5J.js.map +1 -0
- package/dist/{chunk-TZOYZK2E.js → chunk-OZUPJB4J.js} +2 -2
- package/dist/{chunk-N6A6DJUO.js → chunk-Q2VOXKAQ.js} +6 -7
- package/dist/chunk-Q2VOXKAQ.js.map +1 -0
- package/dist/{chunk-GWI6JPTT.js → chunk-Q62Q7CDI.js} +88 -8
- package/dist/chunk-Q62Q7CDI.js.map +1 -0
- package/dist/{chunk-PA7CMQGD.js → chunk-QDO5JFFV.js} +11 -5
- package/dist/chunk-QDO5JFFV.js.map +1 -0
- package/dist/{chunk-VNYXK7TM.js → chunk-QEJ4GH25.js} +8 -8
- package/dist/chunk-QEJ4GH25.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-NWUXRV6N.js → chunk-QS3K57OJ.js} +10 -8
- package/dist/chunk-QS3K57OJ.js.map +1 -0
- package/dist/{chunk-OKMTUAWO.js → chunk-QSPH4F56.js} +5 -5
- package/dist/{chunk-3XGTNN3M.js → chunk-RGRNAQG5.js} +12 -124
- package/dist/chunk-RGRNAQG5.js.map +1 -0
- package/dist/{chunk-E6BVUDGY.js → chunk-SLGCRXHM.js} +4 -4
- package/dist/{chunk-KE2F7QES.js → chunk-SVF3WCC7.js} +6 -6
- package/dist/{chunk-IGQMBHFY.js → chunk-T62SFCQY.js} +88 -12
- package/dist/chunk-T62SFCQY.js.map +1 -0
- package/dist/{chunk-SCLXVTFZ.js → chunk-TKINOTVS.js} +1 -1
- package/dist/chunk-TKINOTVS.js.map +1 -0
- package/dist/{chunk-VOXOBUTX.js → chunk-TXZJESES.js} +5 -5
- package/dist/chunk-UPUJJOKB.js +236 -0
- package/dist/chunk-UPUJJOKB.js.map +1 -0
- package/dist/{chunk-7JPL3CUC.js → chunk-URGALOZY.js} +2 -2
- package/dist/{chunk-X4MPUD4B.js → chunk-UVLQRP6O.js} +53 -13
- package/dist/chunk-UVLQRP6O.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-SE4JN5XN.js → chunk-WDENIUC7.js} +3 -1
- package/dist/chunk-WDENIUC7.js.map +1 -0
- package/dist/{chunk-3BVDFQ6Y.js → chunk-Y3GWQBJP.js} +5 -5
- package/dist/{chunk-YZ4TJLZQ.js → chunk-YT5HKJWV.js} +497 -18
- package/dist/chunk-YT5HKJWV.js.map +1 -0
- package/dist/{chunk-UQMLCIRX.js → chunk-Z6PZKXSP.js} +6 -6
- package/dist/{chunk-JUL2PRQN.js → chunk-ZC2MZZR5.js} +207 -79
- package/dist/chunk-ZC2MZZR5.js.map +1 -0
- package/dist/{chunk-UKZNLVJW.js → chunk-ZINZTHWO.js} +4 -2
- package/dist/chunk-ZINZTHWO.js.map +1 -0
- package/dist/{cli-4JHQCPHU.js → cli-33E3B2FK.js} +3 -3
- package/dist/{cli-G66X7YMP.js → cli-7JV4RM66.js} +23 -22
- package/dist/{cli-G66X7YMP.js.map → cli-7JV4RM66.js.map} +1 -1
- package/dist/{cli-L5B2RVV2.js → cli-B4DTJ2KC.js} +31 -29
- package/dist/{cli-L5B2RVV2.js.map → cli-B4DTJ2KC.js.map} +1 -1
- package/dist/{cli-ECVT4YXR.js → cli-D4WXCDTS.js} +20 -19
- package/dist/{cli-ECVT4YXR.js.map → cli-D4WXCDTS.js.map} +1 -1
- package/dist/{cli-7DETHSNW.js → cli-DDLLZHZW.js} +90 -84
- package/dist/cli-DDLLZHZW.js.map +1 -0
- package/dist/{cli-KYTCJYXK.js → cli-EVACAD7K.js} +317 -28
- package/dist/cli-EVACAD7K.js.map +1 -0
- package/dist/{cli-H5LVGOVT.js → cli-LIKI7WPR.js} +384 -248
- package/dist/cli-LIKI7WPR.js.map +1 -0
- package/dist/{cli-AZKWTCFV.js → cli-MWUFAS2X.js} +11 -11
- package/dist/{cli-DGFLJ2DD.js → cli-OKPRTVG6.js} +69 -26
- package/dist/cli-OKPRTVG6.js.map +1 -0
- package/dist/{cli-RP5E7XHC.js → cli-QEPVGLQ3.js} +20 -18
- package/dist/{cli-RP5E7XHC.js.map → cli-QEPVGLQ3.js.map} +1 -1
- package/dist/{cli-BW5VOFOZ.js → cli-VP6JTPFS.js} +11 -10
- package/dist/{cli-BW5VOFOZ.js.map → cli-VP6JTPFS.js.map} +1 -1
- 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-DV57TW5L.js +32 -0
- package/dist/github-SGX2EARO.js +36 -0
- package/dist/graph/runtime.js.map +1 -1
- package/dist/index.d.ts +222 -45
- package/dist/index.js +138 -132
- package/dist/index.js.map +1 -1
- package/dist/{json-7WV7KL6H.js → json-5EQCGVCV.js} +4 -2
- package/dist/{json-LCVPMEAM.js → json-SHPUCD64.js} +15 -13
- package/dist/{labels-OQXBVM4A.js → labels-3GCGYYV3.js} +14 -12
- package/dist/{labels-OQXBVM4A.js.map → labels-3GCGYYV3.js.map} +1 -1
- package/dist/lint-RE4DMI6E.js +35 -0
- package/dist/list-F56MEJXR.js +36 -0
- package/dist/list-ZR3KY556.js +34 -0
- package/dist/{page-XPX5XJZE.js → page-G7XSO4FD.js} +13 -12
- package/dist/{picker-3XF36MJF.js → picker-FPUC5UGM.js} +3 -3
- package/dist/{prepare-VMBIQYAM.js → prepare-WHMWP7BG.js} +21 -20
- package/dist/{prepare-VMBIQYAM.js.map → prepare-WHMWP7BG.js.map} +1 -1
- package/dist/{pretty-KSTZMBUF.js → pretty-VTJVXWRK.js} +15 -13
- package/dist/{pretty-KG6TMOEI.js → pretty-YVRRWBWN.js} +23 -16
- package/dist/{provider-LBX4IXGX.js → provider-JY2I3VLF.js} +3 -3
- package/dist/{release-VV3UTKE5.js → release-Z3ASYZ3S.js} +3 -3
- package/dist/{reporters-26H3N2KW.js → reporters-FSXJ42EB.js} +6 -5
- package/dist/{reporters-AQU4W3KY.js → reporters-G5R4SURQ.js} +6 -6
- package/dist/{reporters-FBYLPKD4.js → reporters-MHPY4HRA.js} +15 -14
- package/dist/run-FSYOYEPR.js +39 -0
- package/dist/sarif-HBQIDY7T.js +31 -0
- package/dist/sarif-RRUFJZUL.js +37 -0
- package/dist/{term-SI3VM6EM.js → term-ABHGACYE.js} +58 -109
- package/dist/term-ABHGACYE.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-DXYUUGUD.js} +6 -6
- package/dist/validate-DXYUUGUD.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-PCE7QHXJ.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-OMDKRGUE.js.map} +0 -0
- /package/dist/{build-4BL24BG3.js.map → build-YCY5MUHA.js.map} +0 -0
- /package/dist/{calibrate-AEDJ7N7G.js.map → calibrate-RN2NJ4FS.js.map} +0 -0
- /package/dist/{capture-TP3P4YNL.js.map → capture-2WYROZKA.js.map} +0 -0
- /package/dist/{check-5IYH42KS.js.map → check-KRVWHF7E.js.map} +0 -0
- /package/dist/{check-LU5YC3L4.js.map → check-MR7IG7IP.js.map} +0 -0
- /package/dist/{check-S55MH66H.js.map → check-OIRJ6OBW.js.map} +0 -0
- /package/dist/{chunk-7RNONVHI.js.map → chunk-3EJVJDMX.js.map} +0 -0
- /package/dist/{chunk-CU57HT2E.js.map → chunk-6WJUZQQX.js.map} +0 -0
- /package/dist/{chunk-QKT67PFE.js.map → chunk-7XHW5DZA.js.map} +0 -0
- /package/dist/{chunk-TDCOKKMI.js.map → chunk-AL4HRKSZ.js.map} +0 -0
- /package/dist/{chunk-YQV75FIL.js.map → chunk-CFMI74TP.js.map} +0 -0
- /package/dist/{chunk-PCGBXHSE.js.map → chunk-FEEO7ET6.js.map} +0 -0
- /package/dist/{chunk-3O6U4ICM.js.map → chunk-GLQCSDFS.js.map} +0 -0
- /package/dist/{chunk-ZXRAE55H.js.map → chunk-IGRXQC3H.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-TQ3W6RKG.js.map → chunk-KCXQXKOL.js.map} +0 -0
- /package/dist/{chunk-OUAH7XF2.js.map → chunk-MAOX3524.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-SLGCRXHM.js.map} +0 -0
- /package/dist/{chunk-KE2F7QES.js.map → chunk-SVF3WCC7.js.map} +0 -0
- /package/dist/{chunk-VOXOBUTX.js.map → chunk-TXZJESES.js.map} +0 -0
- /package/dist/{chunk-7JPL3CUC.js.map → chunk-URGALOZY.js.map} +0 -0
- /package/dist/{chunk-PAU352SV.js.map → chunk-W4GTMOJW.js.map} +0 -0
- /package/dist/{chunk-3BVDFQ6Y.js.map → chunk-Y3GWQBJP.js.map} +0 -0
- /package/dist/{chunk-UQMLCIRX.js.map → chunk-Z6PZKXSP.js.map} +0 -0
- /package/dist/{cli-4JHQCPHU.js.map → cli-33E3B2FK.js.map} +0 -0
- /package/dist/{cli-AZKWTCFV.js.map → cli-MWUFAS2X.js.map} +0 -0
- /package/dist/{config-JJW75SBX.js.map → config-7I5CHHRZ.js.map} +0 -0
- /package/dist/{github-DJQ4MWNZ.js.map → github-DV57TW5L.js.map} +0 -0
- /package/dist/{github-UWTDM2J2.js.map → github-SGX2EARO.js.map} +0 -0
- /package/dist/{json-7WV7KL6H.js.map → json-5EQCGVCV.js.map} +0 -0
- /package/dist/{json-LCVPMEAM.js.map → json-SHPUCD64.js.map} +0 -0
- /package/dist/{lint-O7XRHKFP.js.map → lint-RE4DMI6E.js.map} +0 -0
- /package/dist/{list-OOOCLOAL.js.map → list-F56MEJXR.js.map} +0 -0
- /package/dist/{list-OYQ5XPN2.js.map → list-ZR3KY556.js.map} +0 -0
- /package/dist/{page-XPX5XJZE.js.map → page-G7XSO4FD.js.map} +0 -0
- /package/dist/{picker-3XF36MJF.js.map → picker-FPUC5UGM.js.map} +0 -0
- /package/dist/{pretty-KG6TMOEI.js.map → pretty-VTJVXWRK.js.map} +0 -0
- /package/dist/{pretty-KSTZMBUF.js.map → pretty-YVRRWBWN.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-FSXJ42EB.js.map} +0 -0
- /package/dist/{reporters-AQU4W3KY.js.map → reporters-G5R4SURQ.js.map} +0 -0
- /package/dist/{reporters-FBYLPKD4.js.map → reporters-MHPY4HRA.js.map} +0 -0
- /package/dist/{run-KUGTU3TT.js.map → run-FSYOYEPR.js.map} +0 -0
- /package/dist/{types-Y6TXHM7M.js.map → sarif-HBQIDY7T.js.map} +0 -0
- /package/dist/{validate-NQO7TFSN.js.map → sarif-RRUFJZUL.js.map} +0 -0
|
@@ -8,24 +8,24 @@ import {
|
|
|
8
8
|
loadTemplateFile,
|
|
9
9
|
resolveLintRun,
|
|
10
10
|
resolveStructureTool
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QS3K57OJ.js";
|
|
12
12
|
import {
|
|
13
13
|
parserByName,
|
|
14
14
|
parserForExtension,
|
|
15
15
|
unsupportedFormatMessage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AL4HRKSZ.js";
|
|
17
17
|
import {
|
|
18
18
|
BLOCK_KINDS,
|
|
19
19
|
BLOCK_KIND_NODE,
|
|
20
20
|
occurrenceRange,
|
|
21
21
|
quoteList
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-JNMY7KZG.js";
|
|
23
23
|
import {
|
|
24
24
|
LintError
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TKINOTVS.js";
|
|
26
26
|
import {
|
|
27
27
|
writeTextAtomic
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-476DMDJ5.js";
|
|
29
29
|
import {
|
|
30
30
|
palette
|
|
31
31
|
} from "./chunk-RNVYGWIC.js";
|
|
@@ -525,4 +525,4 @@ export {
|
|
|
525
525
|
occurrenceWords,
|
|
526
526
|
renderTemplateShow
|
|
527
527
|
};
|
|
528
|
-
//# sourceMappingURL=chunk-
|
|
528
|
+
//# sourceMappingURL=chunk-Z6PZKXSP.js.map
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
readQuestionFile,
|
|
27
27
|
readSampleQuestions,
|
|
28
28
|
withPrefix
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-3CSEHHKB.js";
|
|
30
30
|
import {
|
|
31
31
|
packageRoot
|
|
32
32
|
} from "./chunk-TIUTIOFB.js";
|
|
@@ -37,10 +37,10 @@ import {
|
|
|
37
37
|
spellLines,
|
|
38
38
|
splitLines,
|
|
39
39
|
toFileLines
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-476DMDJ5.js";
|
|
41
41
|
import {
|
|
42
42
|
locateFrontmatter
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-OFOIBV5J.js";
|
|
44
44
|
import {
|
|
45
45
|
warn
|
|
46
46
|
} from "./chunk-HX44GB4Z.js";
|
|
@@ -108,13 +108,16 @@ function compactIri(iri) {
|
|
|
108
108
|
// src/graph/core/pkg.ts
|
|
109
109
|
import { join } from "node:path";
|
|
110
110
|
function bundledShapesPath(moduleUrl) {
|
|
111
|
-
return join(packageRoot(moduleUrl), "shapes", "graph", "shapes-1.1.
|
|
111
|
+
return join(packageRoot(moduleUrl), "shapes", "graph", "shapes-1.1.1.ttl");
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
// src/graph/core/shacl.ts
|
|
115
115
|
import { readFileSync as readFileSync2 } from "node:fs";
|
|
116
116
|
import { DataFactory, Parser as Parser2, Store as Store2 } from "n3";
|
|
117
117
|
import SHACLValidator from "rdf-validate-shacl";
|
|
118
|
+
var SH = "http://www.w3.org/ns/shacl#";
|
|
119
|
+
var OWL_ONTOLOGY = "http://www.w3.org/2002/07/owl#Ontology";
|
|
120
|
+
var RDFS_SEE_ALSO = "http://www.w3.org/2000/01/rdf-schema#seeAlso";
|
|
118
121
|
var FAMILY_SEVERITY = {
|
|
119
122
|
violation: "error",
|
|
120
123
|
warning: "warning",
|
|
@@ -131,24 +134,96 @@ var SEVERITY_RANK = {
|
|
|
131
134
|
function compareFindings(a, b) {
|
|
132
135
|
return SEVERITY_RANK[a.severity] - SEVERITY_RANK[b.severity] || byCodeUnit(a.focusNode, b.focusNode) || byCodeUnit(a.path ?? "", b.path ?? "") || byCodeUnit(a.message, b.message);
|
|
133
136
|
}
|
|
134
|
-
function
|
|
135
|
-
const
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
throw new GraphError(`Shapes file not found: ${path}`);
|
|
142
|
-
}
|
|
143
|
-
try {
|
|
144
|
-
store.addQuads(new Parser2({ format: "text/turtle" }).parse(text));
|
|
145
|
-
} catch (e) {
|
|
137
|
+
function readShapesFile(source) {
|
|
138
|
+
const { path, label } = typeof source === "string" ? { path: source, label: source } : source;
|
|
139
|
+
let text;
|
|
140
|
+
try {
|
|
141
|
+
text = readFileSync2(path, "utf8");
|
|
142
|
+
} catch (e) {
|
|
143
|
+
if (e.code === "ENOENT") {
|
|
146
144
|
throw new GraphError(
|
|
147
|
-
`
|
|
145
|
+
`Shapes file not found: ${path}. Fix the path in --shapes or graph.check.shapes. Leave both unset to use the bundled shapes.`
|
|
148
146
|
);
|
|
149
147
|
}
|
|
148
|
+
throw new GraphError(`Failed to read shapes ${path}: ${errorMessage(e)}`);
|
|
150
149
|
}
|
|
151
|
-
|
|
150
|
+
let quads;
|
|
151
|
+
try {
|
|
152
|
+
quads = new Parser2({ format: "text/turtle" }).parse(text);
|
|
153
|
+
} catch (e) {
|
|
154
|
+
throw new GraphError(`Failed to parse shapes ${path}: ${errorMessage(e)}`);
|
|
155
|
+
}
|
|
156
|
+
const header = new Store2(quads);
|
|
157
|
+
const ontology = header.getSubjects(DataFactory.namedNode(`${NS.rdf}type`), DataFactory.namedNode(OWL_ONTOLOGY), null).map((s) => s.value).sort(byCodeUnit)[0];
|
|
158
|
+
const first = (predicate) => ontology === void 0 ? void 0 : header.getObjects(DataFactory.namedNode(ontology), DataFactory.namedNode(predicate), null).map((o) => o.value).sort(byCodeUnit)[0];
|
|
159
|
+
const seeAlso = first(RDFS_SEE_ALSO);
|
|
160
|
+
return {
|
|
161
|
+
label,
|
|
162
|
+
id: first(`${NS.dcterms}identifier`) ?? label,
|
|
163
|
+
guide: seeAlso !== void 0 && /^https?:\/\//.test(seeAlso) ? seeAlso : null,
|
|
164
|
+
quads
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
function loadShapes(sources) {
|
|
168
|
+
const store = new Store2();
|
|
169
|
+
const files = [];
|
|
170
|
+
const fileOf = /* @__PURE__ */ new Map();
|
|
171
|
+
for (const source of sources) {
|
|
172
|
+
const file = readShapesFile(source);
|
|
173
|
+
files.push(file);
|
|
174
|
+
store.addQuads(file.quads);
|
|
175
|
+
for (const q of file.quads) {
|
|
176
|
+
if (!fileOf.has(q.subject.value)) fileOf.set(q.subject.value, file);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
return { store, files, fileOf };
|
|
180
|
+
}
|
|
181
|
+
function localName(iri) {
|
|
182
|
+
const hash = iri.lastIndexOf("#");
|
|
183
|
+
return iri.slice((hash === -1 ? iri.lastIndexOf("/") : hash) + 1);
|
|
184
|
+
}
|
|
185
|
+
function shapeText(store, shape, predicate) {
|
|
186
|
+
const subject = shape.termType === "BlankNode" ? DataFactory.blankNode(shape.value) : DataFactory.namedNode(shape.value);
|
|
187
|
+
return preferredLiteral(store.getObjects(subject, DataFactory.namedNode(predicate), null));
|
|
188
|
+
}
|
|
189
|
+
function preferredLiteral(terms) {
|
|
190
|
+
const literals = terms.flatMap(
|
|
191
|
+
(t) => t.termType === "Literal" ? [{ value: t.value, language: t.language }] : []
|
|
192
|
+
);
|
|
193
|
+
const rank = (lang) => lang === "" ? 0 : lang.startsWith("en") ? 1 : 2;
|
|
194
|
+
literals.sort(
|
|
195
|
+
(a, b) => rank(a.language) - rank(b.language) || byCodeUnit(a.language, b.language) || byCodeUnit(a.value, b.value)
|
|
196
|
+
);
|
|
197
|
+
return literals[0]?.value ?? null;
|
|
198
|
+
}
|
|
199
|
+
function labelOf(store, iri) {
|
|
200
|
+
return preferredLiteral(
|
|
201
|
+
store.getObjects(DataFactory.namedNode(iri), DataFactory.namedNode(`${NS.skos}prefLabel`), null)
|
|
202
|
+
) ?? compactIri(iri);
|
|
203
|
+
}
|
|
204
|
+
function quotedList(values) {
|
|
205
|
+
const quoted = values.map((v) => `"${v}"`);
|
|
206
|
+
const last = quoted.pop();
|
|
207
|
+
if (last === void 0) return "";
|
|
208
|
+
return quoted.length === 0 ? last : `${quoted.join(", ")} and ${last}`;
|
|
209
|
+
}
|
|
210
|
+
function shapeGuidance(loaded, shape) {
|
|
211
|
+
if (shape === null) return null;
|
|
212
|
+
const file = loaded.fileOf.get(shape.value);
|
|
213
|
+
if (file === void 0) return null;
|
|
214
|
+
const named = shape.termType === "NamedNode";
|
|
215
|
+
return {
|
|
216
|
+
id: file.id,
|
|
217
|
+
rule: named ? localName(shape.value) : null,
|
|
218
|
+
description: named ? shapeText(loaded.store, shape, `${SH}description`) : null,
|
|
219
|
+
guide: file.guide
|
|
220
|
+
};
|
|
221
|
+
}
|
|
222
|
+
var bundled;
|
|
223
|
+
function coreGuidance(rule) {
|
|
224
|
+
bundled ??= loadShapes([bundledShapesPath(import.meta.url)]);
|
|
225
|
+
const shape = bundled.store.getSubjects(DataFactory.namedNode(`${NS.rdf}type`), DataFactory.namedNode(`${SH}PropertyShape`), null).find((s) => localName(s.value) === rule);
|
|
226
|
+
return shape === void 0 ? null : shapeGuidance(bundled, shape);
|
|
152
227
|
}
|
|
153
228
|
function blameDocs(store, focus) {
|
|
154
229
|
const pathPred = DataFactory.namedNode(`${NS.graph}path`);
|
|
@@ -301,72 +376,103 @@ function broaderClosure(edges2, start) {
|
|
|
301
376
|
}
|
|
302
377
|
function relatedConflicts(store) {
|
|
303
378
|
const edges2 = broaderEdges(store);
|
|
304
|
-
const
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
379
|
+
const related = `${NS.skos}related`;
|
|
380
|
+
const has = (index2, a, b) => index2.get(a)?.has(b) ?? false;
|
|
381
|
+
const put = (index2, a, b) => {
|
|
382
|
+
const targets = index2.get(a);
|
|
383
|
+
if (targets) targets.add(b);
|
|
384
|
+
else index2.set(a, /* @__PURE__ */ new Set([b]));
|
|
385
|
+
};
|
|
386
|
+
const index = (predicate) => {
|
|
387
|
+
const out = /* @__PURE__ */ new Map();
|
|
388
|
+
for (const q of store.getQuads(null, DataFactory.namedNode(predicate), null, null)) {
|
|
389
|
+
if (q.object.termType === "NamedNode") put(out, q.subject.value, q.object.value);
|
|
390
|
+
}
|
|
391
|
+
return out;
|
|
392
|
+
};
|
|
393
|
+
const relatedIndex = index(related);
|
|
394
|
+
const broaderIndex = index(`${NS.skos}broader`);
|
|
395
|
+
const disjointFires = (a, b) => has(relatedIndex, a, b) && has(broaderIndex, a, b) || has(relatedIndex, b, a) && has(broaderIndex, b, a);
|
|
396
|
+
const closures = /* @__PURE__ */ new Map();
|
|
397
|
+
const ancestors = (node) => {
|
|
398
|
+
let found = closures.get(node);
|
|
399
|
+
if (found === void 0) {
|
|
400
|
+
found = broaderClosure(edges2, node);
|
|
401
|
+
closures.set(node, found);
|
|
402
|
+
}
|
|
403
|
+
return found;
|
|
404
|
+
};
|
|
405
|
+
const seen = /* @__PURE__ */ new Map();
|
|
310
406
|
const findings = [];
|
|
311
|
-
for (const
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
407
|
+
for (const [s, targets] of [...relatedIndex].sort(([a], [b]) => byCodeUnit(a, b))) {
|
|
408
|
+
for (const o of [...targets].sort(byCodeUnit)) {
|
|
409
|
+
const [a, b] = byCodeUnit(s, o) <= 0 ? [s, o] : [o, s];
|
|
410
|
+
if (has(seen, a, b)) continue;
|
|
411
|
+
put(seen, a, b);
|
|
412
|
+
if (disjointFires(a, b)) continue;
|
|
413
|
+
const bAboveA = ancestors(a).has(b);
|
|
414
|
+
if (!bAboveA && !ancestors(b).has(a)) continue;
|
|
415
|
+
const [descendant, ancestor] = bAboveA ? [a, b] : [b, a];
|
|
416
|
+
findings.push(
|
|
417
|
+
finding("violation", {
|
|
418
|
+
message: `"${labelOf(store, ancestor)}" is both related to "${labelOf(store, descendant)}" and one of its ancestors. Remove one link: from \`related-concepts\` or \`related-terms\`, or from the \`broader\` chain between them.`,
|
|
419
|
+
focusNode: descendant,
|
|
420
|
+
path: related,
|
|
421
|
+
docs: [
|
|
422
|
+
.../* @__PURE__ */ new Set([...blameDocs(store, descendant), ...blameDocs(store, ancestor)])
|
|
423
|
+
].sort(byCodeUnit),
|
|
424
|
+
guidance: coreGuidance("Concept-related")
|
|
425
|
+
})
|
|
426
|
+
);
|
|
427
|
+
}
|
|
331
428
|
}
|
|
332
429
|
return findings;
|
|
333
430
|
}
|
|
334
431
|
function cycleFindings(store) {
|
|
335
|
-
return broaderCycles(store).map(
|
|
336
|
-
(
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
)} (${members.map((m) => m).join(" \u2192 ")}) \u2014 a concept cannot be its own ancestor`,
|
|
432
|
+
return broaderCycles(store).map((members) => {
|
|
433
|
+
const labels = members.map((m) => labelOf(store, m));
|
|
434
|
+
return finding("violation", {
|
|
435
|
+
message: labels.length === 1 ? `${quotedList(labels)} forms a broader cycle with itself, so it is its own ancestor. Remove the \`broader\` or \`narrower\` value that names it.` : `${quotedList(labels)} form a broader cycle, so each is its own ancestor. Remove one \`broader\` or \`narrower\` value on the cycle.`,
|
|
340
436
|
// `broaderCycles` returns only components of at least one member, so
|
|
341
437
|
// the first is there; `?? ""` says that without asserting it.
|
|
342
438
|
focusNode: members[0] ?? "",
|
|
343
439
|
path: `${NS.skos}broader`,
|
|
344
|
-
docs: [...new Set(members.flatMap((m) => blameDocs(store, m)))].sort()
|
|
345
|
-
|
|
346
|
-
|
|
440
|
+
docs: [...new Set(members.flatMap((m) => blameDocs(store, m)))].sort(),
|
|
441
|
+
guidance: coreGuidance("Concept-broader")
|
|
442
|
+
});
|
|
443
|
+
});
|
|
347
444
|
}
|
|
348
|
-
var
|
|
445
|
+
var SHAPES_1_0_0_COLLISION = "concept carries multiple prefLabels (same slug, different spellings) \u2014 settle on one spelling";
|
|
349
446
|
function untaggedPrefLabelFindings(store) {
|
|
350
447
|
const prefLabel = `${NS.skos}prefLabel`;
|
|
351
448
|
const untagged = /* @__PURE__ */ new Map();
|
|
352
449
|
for (const q of store.getQuads(null, DataFactory.namedNode(prefLabel), null, null)) {
|
|
353
450
|
if (q.object.termType !== "Literal" || q.object.language !== "") continue;
|
|
354
|
-
|
|
451
|
+
const spellings = untagged.get(q.subject.value);
|
|
452
|
+
if (spellings) spellings.add(q.object.value);
|
|
453
|
+
else untagged.set(q.subject.value, /* @__PURE__ */ new Set([q.object.value]));
|
|
355
454
|
}
|
|
356
|
-
return [...untagged].filter(([,
|
|
357
|
-
([focusNode]) => finding("warning", {
|
|
358
|
-
message:
|
|
455
|
+
return [...untagged].filter(([, spellings]) => spellings.size > 1).map(
|
|
456
|
+
([focusNode, spellings]) => finding("warning", {
|
|
457
|
+
message: `Pages spell this concept ${spellings.size === 2 ? "two" : String(spellings.size)} ways: ${quotedList([...spellings].sort(byCodeUnit))}. Use one spelling on every page that names it.`,
|
|
359
458
|
focusNode,
|
|
360
459
|
path: prefLabel,
|
|
361
|
-
docs: blameDocs(store, focusNode)
|
|
460
|
+
docs: blameDocs(store, focusNode),
|
|
461
|
+
guidance: coreGuidance("Concept-prefLabel-collision")
|
|
362
462
|
})
|
|
363
463
|
);
|
|
364
464
|
}
|
|
365
|
-
var MAPPINGS = [
|
|
465
|
+
var MAPPINGS = [
|
|
466
|
+
["exactMatch", "exact-matches"],
|
|
467
|
+
["closeMatch", "close-matches"],
|
|
468
|
+
["broadMatch", "broad-matches"],
|
|
469
|
+
["narrowMatch", "narrow-matches"],
|
|
470
|
+
["relatedMatch", "related-matches"]
|
|
471
|
+
];
|
|
366
472
|
function inSchemeMappingFindings(store) {
|
|
367
473
|
const inScheme = DataFactory.namedNode(`${NS.skos}inScheme`);
|
|
368
474
|
const findings = [];
|
|
369
|
-
for (const mapping of MAPPINGS) {
|
|
475
|
+
for (const [mapping, key] of MAPPINGS) {
|
|
370
476
|
const path = `${NS.skos}${mapping}`;
|
|
371
477
|
for (const q of store.getQuads(null, DataFactory.namedNode(path), null, null)) {
|
|
372
478
|
if (q.object.termType !== "NamedNode") continue;
|
|
@@ -375,10 +481,11 @@ function inSchemeMappingFindings(store) {
|
|
|
375
481
|
if (!shared) continue;
|
|
376
482
|
findings.push(
|
|
377
483
|
finding("violation", {
|
|
378
|
-
message:
|
|
484
|
+
message: `\`${key}\` names "${labelOf(store, q.object.value)}", a concept in this glossary. Use \`broader\`, \`narrower\` or \`related-terms\` for it instead.`,
|
|
379
485
|
focusNode: q.subject.value,
|
|
380
486
|
path,
|
|
381
|
-
docs: blameDocs(store, q.subject.value)
|
|
487
|
+
docs: blameDocs(store, q.subject.value),
|
|
488
|
+
guidance: coreGuidance(`Concept-${mapping}`)
|
|
382
489
|
})
|
|
383
490
|
);
|
|
384
491
|
}
|
|
@@ -405,10 +512,11 @@ function curatedFieldFindings(store) {
|
|
|
405
512
|
const path = store.getQuads(DataFactory.namedNode(docIri), pathPred, null, null)[0]?.object.value;
|
|
406
513
|
findings.push(
|
|
407
514
|
finding("violation", {
|
|
408
|
-
message:
|
|
515
|
+
message: `\`meta-provenance\` credits ${model} with /graph/${field}, a field only a person writes. Check the value, then delete that entry.`,
|
|
409
516
|
focusNode: activity,
|
|
410
517
|
path: filledField,
|
|
411
|
-
docs: path === void 0 ? blameDocs(store, activity) : [path]
|
|
518
|
+
docs: path === void 0 ? blameDocs(store, activity) : [path],
|
|
519
|
+
guidance: coreGuidance("FilledFieldEntry-name")
|
|
412
520
|
})
|
|
413
521
|
);
|
|
414
522
|
}
|
|
@@ -421,7 +529,7 @@ function severityOf(iri) {
|
|
|
421
529
|
}
|
|
422
530
|
async function validateGraph(store, shapesPaths) {
|
|
423
531
|
const shapes = loadShapes(shapesPaths);
|
|
424
|
-
const validator = new SHACLValidator(shapes);
|
|
532
|
+
const validator = new SHACLValidator(shapes.store);
|
|
425
533
|
let report;
|
|
426
534
|
try {
|
|
427
535
|
report = await validator.validate(store);
|
|
@@ -430,23 +538,37 @@ async function validateGraph(store, shapesPaths) {
|
|
|
430
538
|
`SHACL validation failed: ${errorMessage(e)}`
|
|
431
539
|
);
|
|
432
540
|
}
|
|
433
|
-
const
|
|
541
|
+
const merged = /* @__PURE__ */ new Map();
|
|
542
|
+
const groups = [];
|
|
434
543
|
for (const result of report.results) {
|
|
435
544
|
const focus = result.focusNode?.value ?? "";
|
|
436
545
|
const path = result.path?.value;
|
|
437
546
|
const messages = result.message.map((m) => m.value).filter((m) => m.length > 0);
|
|
438
|
-
const
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
547
|
+
const declared = result.sourceShape === null ? null : shapeText(shapes.store, result.sourceShape, `${SH}message`);
|
|
548
|
+
const message = declared !== null && !/\{[$?]/.test(declared) ? declared : messages.length > 0 ? messages.join("; ") : `constraint violated${path ? ` on ${compactIri(path)}` : ""}`;
|
|
549
|
+
const byFocus = merged.get(result.sourceShape?.value ?? "") ?? /* @__PURE__ */ new Map();
|
|
550
|
+
merged.set(result.sourceShape?.value ?? "", byFocus);
|
|
551
|
+
const byPath = byFocus.get(focus) ?? /* @__PURE__ */ new Map();
|
|
552
|
+
byFocus.set(focus, byPath);
|
|
553
|
+
const earlier = byPath.get(path ?? "");
|
|
554
|
+
if (earlier !== void 0) {
|
|
555
|
+
if (!earlier.messages.includes(message)) earlier.messages.push(message);
|
|
556
|
+
continue;
|
|
557
|
+
}
|
|
558
|
+
const found = finding(severityOf(result.severity?.value), {
|
|
559
|
+
message,
|
|
560
|
+
focusNode: focus,
|
|
561
|
+
...path !== void 0 ? { path } : {},
|
|
562
|
+
docs: blameDocs(store, focus),
|
|
563
|
+
guidance: shapeGuidance(shapes, result.sourceShape)
|
|
564
|
+
});
|
|
565
|
+
const group = { found, messages: [message] };
|
|
566
|
+
byPath.set(path ?? "", group);
|
|
567
|
+
groups.push(group);
|
|
447
568
|
}
|
|
569
|
+
const findings = groups.map(({ found, messages }) => ({ ...found, message: messages.join("; ") }));
|
|
448
570
|
const said = new Set(
|
|
449
|
-
findings.filter((f) => f.message ===
|
|
571
|
+
findings.filter((f) => f.message === SHAPES_1_0_0_COLLISION).map((f) => f.focusNode)
|
|
450
572
|
);
|
|
451
573
|
findings.push(
|
|
452
574
|
...cycleFindings(store),
|
|
@@ -1985,7 +2107,9 @@ async function askSampleQuestions(store, settings, sources, indexDir, view, ques
|
|
|
1985
2107
|
message: `${message}${suffix}`,
|
|
1986
2108
|
focusNode: target.focusNode,
|
|
1987
2109
|
...target.path === void 0 ? {} : { path: target.path },
|
|
1988
|
-
docs: target.docs
|
|
2110
|
+
docs: target.docs,
|
|
2111
|
+
// A retrieval check judges a question, not a shape.
|
|
2112
|
+
guidance: null
|
|
1989
2113
|
});
|
|
1990
2114
|
};
|
|
1991
2115
|
const empty = () => ({ inTop: 0, first: 0, of: 0 });
|
|
@@ -2160,7 +2284,8 @@ async function askSampleQuestions(store, settings, sources, indexDir, view, ques
|
|
|
2160
2284
|
severity: "error",
|
|
2161
2285
|
message: `${String(inTop)} of ${String(of)} reviewed questions are found in the top ${String(top)} (${String(percent(inTop, of))}%), under the ${String(threshold)}% that graph.check.questions.foundThreshold asks for.`,
|
|
2162
2286
|
focusNode: "questions",
|
|
2163
|
-
docs: []
|
|
2287
|
+
docs: [],
|
|
2288
|
+
guidance: null
|
|
2164
2289
|
});
|
|
2165
2290
|
}
|
|
2166
2291
|
return { findings, summary };
|
|
@@ -2230,6 +2355,9 @@ export {
|
|
|
2230
2355
|
compactIri,
|
|
2231
2356
|
bundledShapesPath,
|
|
2232
2357
|
compareFindings,
|
|
2358
|
+
loadShapes,
|
|
2359
|
+
localName,
|
|
2360
|
+
shapeText,
|
|
2233
2361
|
validateGraph,
|
|
2234
2362
|
splitFragment,
|
|
2235
2363
|
documentSectionOrder,
|
|
@@ -2269,4 +2397,4 @@ export {
|
|
|
2269
2397
|
askSampleQuestions,
|
|
2270
2398
|
exportSampleQuestions
|
|
2271
2399
|
};
|
|
2272
|
-
//# sourceMappingURL=chunk-
|
|
2400
|
+
//# sourceMappingURL=chunk-ZC2MZZR5.js.map
|