@hawkeyexl/manni 4.20.0 → 4.20.1
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-TBQBH6XQ.js → batch-J626LZ22.js} +13 -13
- package/dist/{build-S3JQMDFX.js → build-AYLD6V6Y.js} +15 -15
- package/dist/{calibrate-KLN22IGS.js → calibrate-2HZFACIX.js} +14 -14
- package/dist/{capture-JS3ICXE7.js → capture-NMDIPC6S.js} +13 -13
- package/dist/{check-PDXYA6XH.js → check-KNQV7GLU.js} +12 -12
- package/dist/{check-RNAB7X74.js → check-OH4KKXP3.js} +12 -12
- package/dist/{check-2EAR4ZW3.js → check-PQ7S5I3I.js} +14 -14
- package/dist/check-PRAMKQCI.js +47 -0
- package/dist/{check-WS2USSUD.js → check-RCSQARQE.js} +13 -13
- package/dist/{chunk-HSC5G3FW.js → chunk-2GTR24SA.js} +8 -8
- package/dist/{chunk-Z6FATXBE.js → chunk-4DFBBU4A.js} +2 -2
- package/dist/{chunk-GXDVERLV.js → chunk-4F5WGZRP.js} +5 -5
- package/dist/{chunk-JOZVVIVD.js → chunk-4H3IOF52.js} +3 -3
- package/dist/{chunk-HIZNNOVW.js → chunk-5CJ3P5O3.js} +13 -13
- package/dist/chunk-5CJ3P5O3.js.map +1 -0
- package/dist/{chunk-NDQA4VYK.js → chunk-5E3ABFOQ.js} +3 -3
- package/dist/{chunk-GL2HXZVX.js → chunk-6FY573GB.js} +3 -3
- package/dist/{chunk-RXCDT55X.js → chunk-A633WB3N.js} +22 -22
- package/dist/chunk-A633WB3N.js.map +1 -0
- package/dist/{chunk-ITA7V5Y2.js → chunk-ACJUZFRT.js} +4 -4
- package/dist/{chunk-I62V2ZAJ.js → chunk-BM43RJIS.js} +8 -8
- package/dist/{chunk-ZRMA5U53.js → chunk-BY4THWAQ.js} +3 -3
- package/dist/{chunk-ZBE735BH.js → chunk-C5BXSQDO.js} +5 -5
- package/dist/{chunk-EBYLQE7P.js → chunk-CT5WSUUZ.js} +2 -2
- package/dist/{chunk-SGI3WPYK.js → chunk-CXL6ES7O.js} +4 -4
- package/dist/{chunk-QA7AXRGH.js → chunk-D4XQX4W7.js} +2 -2
- package/dist/{chunk-BV7FJ4V2.js → chunk-D54BQM5P.js} +8 -8
- package/dist/chunk-D54BQM5P.js.map +1 -0
- package/dist/{chunk-NEO2HN2N.js → chunk-DNF42MK7.js} +4 -4
- package/dist/{chunk-BEQZI3V5.js → chunk-E6JYRVR5.js} +2 -2
- package/dist/{chunk-2XRSQXGZ.js → chunk-EOJEPEYY.js} +2 -2
- package/dist/{chunk-ZEKQRBXO.js → chunk-FIR2MAGS.js} +2 -2
- package/dist/{chunk-RGZBROMW.js → chunk-FKELQCGN.js} +2 -2
- package/dist/{chunk-JNMY7KZG.js → chunk-G5I2JTDK.js} +2 -2
- package/dist/{chunk-SOW6SVAM.js → chunk-GGTCSMNX.js} +4 -4
- package/dist/{chunk-SFSALDIR.js → chunk-H3C3UXTA.js} +6 -6
- package/dist/{chunk-QSY5YPM4.js → chunk-HGUCJ3K3.js} +3 -3
- package/dist/{chunk-ZVEDBFTM.js → chunk-ISDFYXLA.js} +38 -36
- package/dist/chunk-ISDFYXLA.js.map +1 -0
- package/dist/{chunk-MNK732BZ.js → chunk-JPXC62SD.js} +11 -10
- package/dist/chunk-JPXC62SD.js.map +1 -0
- package/dist/{chunk-IYRGV2BC.js → chunk-KERICP5Y.js} +6 -6
- package/dist/{chunk-5HB4YKZW.js → chunk-LPJ3IB26.js} +3 -3
- package/dist/{chunk-QWCP7UMG.js → chunk-LXJ4FZ7Y.js} +6 -6
- package/dist/{chunk-ZODSGFAP.js → chunk-MJZ5HYYL.js} +22 -22
- package/dist/{chunk-ZODSGFAP.js.map → chunk-MJZ5HYYL.js.map} +1 -1
- package/dist/{chunk-SRTBHEUM.js → chunk-MJZK7G4B.js} +3 -3
- package/dist/{chunk-5MJE5KMY.js → chunk-MPXMQGJI.js} +7 -7
- package/dist/{chunk-O26NQ7KT.js → chunk-MTMR65NM.js} +2 -2
- package/dist/{chunk-Q5EKERQS.js → chunk-N2VB6UUE.js} +2 -2
- package/dist/{chunk-JKH2LV5D.js → chunk-N3DYE6LJ.js} +5 -5
- package/dist/{chunk-U2CE55YV.js → chunk-NDPQ2GQ4.js} +5 -5
- package/dist/{chunk-PHOWMWFJ.js → chunk-ODSIHEIW.js} +2 -11
- package/dist/chunk-ODSIHEIW.js.map +1 -0
- package/dist/{chunk-FRM62BEN.js → chunk-OQR3VVAX.js} +3 -3
- package/dist/{chunk-SFTWEGUD.js → chunk-OVUQNM7Y.js} +2 -2
- package/dist/{chunk-DTSWP5FC.js → chunk-OXCWCEVV.js} +5 -5
- package/dist/{chunk-GVOI7SCF.js → chunk-P5DWBG6T.js} +2 -2
- package/dist/{chunk-PTXHJLAS.js → chunk-P6XZ44C2.js} +7 -7
- package/dist/chunk-P6XZ44C2.js.map +1 -0
- package/dist/{chunk-5UJQLZXY.js → chunk-QGBNWEWS.js} +60 -63
- package/dist/chunk-QGBNWEWS.js.map +1 -0
- package/dist/{chunk-FERFWKZM.js → chunk-RA2BER5P.js} +2 -2
- package/dist/{chunk-MLY65CQE.js → chunk-RN7IA742.js} +7 -7
- package/dist/{chunk-KZ7534CD.js → chunk-ROZDHPKA.js} +3 -3
- package/dist/{chunk-DQO44Y5G.js → chunk-S2HW3CBF.js} +5 -5
- package/dist/{chunk-UKSXQHSE.js → chunk-SUTY4VCZ.js} +6 -6
- package/dist/{chunk-IGAZWY2W.js → chunk-TAJYMXMM.js} +2 -2
- package/dist/{chunk-3OXBZSDN.js → chunk-TDG2S5UE.js} +2 -2
- package/dist/{chunk-TKINOTVS.js → chunk-TI4DA6DF.js} +1 -1
- package/dist/{chunk-TKINOTVS.js.map → chunk-TI4DA6DF.js.map} +1 -1
- package/dist/{chunk-SX626JUF.js → chunk-UVC3BUKU.js} +3 -3
- package/dist/{chunk-6VGWLCYT.js → chunk-WI3PPQQX.js} +2 -2
- package/dist/{chunk-PGDUVYTF.js → chunk-WRWW6SGG.js} +2 -2
- package/dist/{chunk-6D7FCU4E.js → chunk-XPO655IX.js} +3 -3
- package/dist/{chunk-2G4XYGTN.js → chunk-YIHIRMXN.js} +7 -7
- package/dist/chunk-YIHIRMXN.js.map +1 -0
- package/dist/{chunk-VCU7OMXV.js → chunk-YM2W43DI.js} +3 -3
- package/dist/{chunk-4KM23E53.js → chunk-YYWZ2MSL.js} +2 -2
- package/dist/{chunk-HZWLHSZG.js → chunk-Z2T5U7HN.js} +2 -2
- package/dist/{chunk-GCF7STEA.js → chunk-ZB3OFSRB.js} +4 -4
- package/dist/{cli-AR43H5BW.js → cli-4RTNEVVX.js} +9 -9
- package/dist/{cli-5BFVL3DH.js → cli-6J4P5MLU.js} +2 -2
- package/dist/{cli-UIY57JPM.js → cli-DQRFSU7U.js} +15 -15
- package/dist/{cli-T4NY2EGM.js → cli-FTSJQSB4.js} +17 -17
- package/dist/{cli-4HH6IY2L.js → cli-IIFCE6GY.js} +14 -14
- package/dist/{cli-GVHXRQAD.js → cli-ISKXSN3P.js} +18 -18
- package/dist/{cli-L7H4C442.js → cli-K5635N25.js} +16 -16
- package/dist/{cli-4IE6CRAT.js → cli-K5QWXB7H.js} +26 -26
- package/dist/{cli-EQG4KETY.js → cli-PCZ7XNCO.js} +41 -41
- package/dist/{cli-HTAR3PWY.js → cli-TCHSYJLB.js} +20 -20
- package/dist/{cli-ZPW5VIRA.js → cli-TM2JCTQT.js} +9 -9
- package/dist/cli.js +15 -15
- package/dist/docmeta.d.ts +1 -1
- package/dist/docmeta.js +8 -8
- package/dist/{github-NIRLMJ65.js → github-BUK5CVQW.js} +10 -10
- package/dist/{github-RIU47U73.js → github-CMAZWS76.js} +12 -12
- package/dist/{github-CMWG4QMI.js → github-NXR4QMMM.js} +14 -14
- package/dist/graph/embed.d.ts +2 -1
- package/dist/graph/runtime.d.ts +2 -1
- package/dist/index.d.ts +27 -14
- package/dist/index.js +42 -42
- package/dist/{json-KSBVGZUX.js → json-7Z2IFGB3.js} +12 -12
- package/dist/{json-EJTB7XYG.js → json-NZSGRYOE.js} +11 -11
- package/dist/{labels-VNKACCAG.js → labels-SE2WL7WD.js} +11 -11
- package/dist/{lint-75BD6L5T.js → lint-VUYM5PPM.js} +14 -14
- package/dist/{list-6XVIW3RW.js → list-4JGOXLOZ.js} +10 -10
- package/dist/{list-PHNZAYIM.js → list-LTF25DQE.js} +12 -12
- package/dist/{list-MH54XU7E.js → list-WD3TZS5R.js} +12 -12
- package/dist/{page-5AJS7AEM.js → page-A2Y4ZMV4.js} +11 -11
- package/dist/{prepare-R63RJI6O.js → prepare-M2COBP5O.js} +12 -12
- package/dist/{pretty-E3DS32NZ.js → pretty-D3DZFC5U.js} +12 -12
- package/dist/{pretty-SUKMF6AB.js → pretty-R67YU6TU.js} +10 -10
- package/dist/{pretty-DE4WXJFA.js → pretty-SFFOMSG5.js} +13 -13
- package/dist/{reporters-DLMLFLKS.js → reporters-TO7Q6JYF.js} +4 -4
- package/dist/{reporters-V2PSDBVW.js → reporters-UTLJVSWX.js} +13 -13
- package/dist/{run-QT2LVHRU.js → run-BDGYRUXJ.js} +12 -12
- package/dist/{sarif-2ZKPRT42.js → sarif-EHAMGCVR.js} +15 -15
- package/dist/{sarif-HUIRTPSL.js → sarif-GJYLRXLS.js} +10 -10
- package/dist/{sarif-GKMUHCZB.js → sarif-IAGMXA6C.js} +10 -10
- package/dist/{strategy-TBFM7NZU.js → strategy-UKRA6WO4.js} +17 -17
- package/dist/{term-ZZWAVUW5.js → term-AMORBEO7.js} +17 -17
- package/dist/{validate-ZEUFF3BG.js → validate-CDTKFZUV.js} +5 -5
- package/package.json +21 -21
- package/plugin/manni/.claude-plugin/plugin.json +1 -1
- package/plugin/manni/hooks/manni.mjs +29 -2
- package/dist/check-6D2JCIMD.js +0 -47
- package/dist/chunk-2G4XYGTN.js.map +0 -1
- package/dist/chunk-5UJQLZXY.js.map +0 -1
- package/dist/chunk-BV7FJ4V2.js.map +0 -1
- package/dist/chunk-HIZNNOVW.js.map +0 -1
- package/dist/chunk-MNK732BZ.js.map +0 -1
- package/dist/chunk-PHOWMWFJ.js.map +0 -1
- package/dist/chunk-PTXHJLAS.js.map +0 -1
- package/dist/chunk-RXCDT55X.js.map +0 -1
- package/dist/chunk-ZVEDBFTM.js.map +0 -1
- /package/dist/{batch-TBQBH6XQ.js.map → batch-J626LZ22.js.map} +0 -0
- /package/dist/{build-S3JQMDFX.js.map → build-AYLD6V6Y.js.map} +0 -0
- /package/dist/{calibrate-KLN22IGS.js.map → calibrate-2HZFACIX.js.map} +0 -0
- /package/dist/{capture-JS3ICXE7.js.map → capture-NMDIPC6S.js.map} +0 -0
- /package/dist/{check-6D2JCIMD.js.map → check-KNQV7GLU.js.map} +0 -0
- /package/dist/{check-PDXYA6XH.js.map → check-OH4KKXP3.js.map} +0 -0
- /package/dist/{check-2EAR4ZW3.js.map → check-PQ7S5I3I.js.map} +0 -0
- /package/dist/{check-RNAB7X74.js.map → check-PRAMKQCI.js.map} +0 -0
- /package/dist/{check-WS2USSUD.js.map → check-RCSQARQE.js.map} +0 -0
- /package/dist/{chunk-HSC5G3FW.js.map → chunk-2GTR24SA.js.map} +0 -0
- /package/dist/{chunk-Z6FATXBE.js.map → chunk-4DFBBU4A.js.map} +0 -0
- /package/dist/{chunk-GXDVERLV.js.map → chunk-4F5WGZRP.js.map} +0 -0
- /package/dist/{chunk-JOZVVIVD.js.map → chunk-4H3IOF52.js.map} +0 -0
- /package/dist/{chunk-NDQA4VYK.js.map → chunk-5E3ABFOQ.js.map} +0 -0
- /package/dist/{chunk-GL2HXZVX.js.map → chunk-6FY573GB.js.map} +0 -0
- /package/dist/{chunk-ITA7V5Y2.js.map → chunk-ACJUZFRT.js.map} +0 -0
- /package/dist/{chunk-I62V2ZAJ.js.map → chunk-BM43RJIS.js.map} +0 -0
- /package/dist/{chunk-ZRMA5U53.js.map → chunk-BY4THWAQ.js.map} +0 -0
- /package/dist/{chunk-ZBE735BH.js.map → chunk-C5BXSQDO.js.map} +0 -0
- /package/dist/{chunk-EBYLQE7P.js.map → chunk-CT5WSUUZ.js.map} +0 -0
- /package/dist/{chunk-SGI3WPYK.js.map → chunk-CXL6ES7O.js.map} +0 -0
- /package/dist/{chunk-QA7AXRGH.js.map → chunk-D4XQX4W7.js.map} +0 -0
- /package/dist/{chunk-NEO2HN2N.js.map → chunk-DNF42MK7.js.map} +0 -0
- /package/dist/{chunk-BEQZI3V5.js.map → chunk-E6JYRVR5.js.map} +0 -0
- /package/dist/{chunk-2XRSQXGZ.js.map → chunk-EOJEPEYY.js.map} +0 -0
- /package/dist/{chunk-ZEKQRBXO.js.map → chunk-FIR2MAGS.js.map} +0 -0
- /package/dist/{chunk-RGZBROMW.js.map → chunk-FKELQCGN.js.map} +0 -0
- /package/dist/{chunk-JNMY7KZG.js.map → chunk-G5I2JTDK.js.map} +0 -0
- /package/dist/{chunk-SOW6SVAM.js.map → chunk-GGTCSMNX.js.map} +0 -0
- /package/dist/{chunk-SFSALDIR.js.map → chunk-H3C3UXTA.js.map} +0 -0
- /package/dist/{chunk-QSY5YPM4.js.map → chunk-HGUCJ3K3.js.map} +0 -0
- /package/dist/{chunk-IYRGV2BC.js.map → chunk-KERICP5Y.js.map} +0 -0
- /package/dist/{chunk-5HB4YKZW.js.map → chunk-LPJ3IB26.js.map} +0 -0
- /package/dist/{chunk-QWCP7UMG.js.map → chunk-LXJ4FZ7Y.js.map} +0 -0
- /package/dist/{chunk-SRTBHEUM.js.map → chunk-MJZK7G4B.js.map} +0 -0
- /package/dist/{chunk-5MJE5KMY.js.map → chunk-MPXMQGJI.js.map} +0 -0
- /package/dist/{chunk-O26NQ7KT.js.map → chunk-MTMR65NM.js.map} +0 -0
- /package/dist/{chunk-Q5EKERQS.js.map → chunk-N2VB6UUE.js.map} +0 -0
- /package/dist/{chunk-JKH2LV5D.js.map → chunk-N3DYE6LJ.js.map} +0 -0
- /package/dist/{chunk-U2CE55YV.js.map → chunk-NDPQ2GQ4.js.map} +0 -0
- /package/dist/{chunk-FRM62BEN.js.map → chunk-OQR3VVAX.js.map} +0 -0
- /package/dist/{chunk-SFTWEGUD.js.map → chunk-OVUQNM7Y.js.map} +0 -0
- /package/dist/{chunk-DTSWP5FC.js.map → chunk-OXCWCEVV.js.map} +0 -0
- /package/dist/{chunk-GVOI7SCF.js.map → chunk-P5DWBG6T.js.map} +0 -0
- /package/dist/{chunk-FERFWKZM.js.map → chunk-RA2BER5P.js.map} +0 -0
- /package/dist/{chunk-MLY65CQE.js.map → chunk-RN7IA742.js.map} +0 -0
- /package/dist/{chunk-KZ7534CD.js.map → chunk-ROZDHPKA.js.map} +0 -0
- /package/dist/{chunk-DQO44Y5G.js.map → chunk-S2HW3CBF.js.map} +0 -0
- /package/dist/{chunk-UKSXQHSE.js.map → chunk-SUTY4VCZ.js.map} +0 -0
- /package/dist/{chunk-IGAZWY2W.js.map → chunk-TAJYMXMM.js.map} +0 -0
- /package/dist/{chunk-3OXBZSDN.js.map → chunk-TDG2S5UE.js.map} +0 -0
- /package/dist/{chunk-SX626JUF.js.map → chunk-UVC3BUKU.js.map} +0 -0
- /package/dist/{chunk-6VGWLCYT.js.map → chunk-WI3PPQQX.js.map} +0 -0
- /package/dist/{chunk-PGDUVYTF.js.map → chunk-WRWW6SGG.js.map} +0 -0
- /package/dist/{chunk-6D7FCU4E.js.map → chunk-XPO655IX.js.map} +0 -0
- /package/dist/{chunk-VCU7OMXV.js.map → chunk-YM2W43DI.js.map} +0 -0
- /package/dist/{chunk-4KM23E53.js.map → chunk-YYWZ2MSL.js.map} +0 -0
- /package/dist/{chunk-HZWLHSZG.js.map → chunk-Z2T5U7HN.js.map} +0 -0
- /package/dist/{chunk-GCF7STEA.js.map → chunk-ZB3OFSRB.js.map} +0 -0
- /package/dist/{cli-AR43H5BW.js.map → cli-4RTNEVVX.js.map} +0 -0
- /package/dist/{cli-5BFVL3DH.js.map → cli-6J4P5MLU.js.map} +0 -0
- /package/dist/{cli-UIY57JPM.js.map → cli-DQRFSU7U.js.map} +0 -0
- /package/dist/{cli-T4NY2EGM.js.map → cli-FTSJQSB4.js.map} +0 -0
- /package/dist/{cli-4HH6IY2L.js.map → cli-IIFCE6GY.js.map} +0 -0
- /package/dist/{cli-GVHXRQAD.js.map → cli-ISKXSN3P.js.map} +0 -0
- /package/dist/{cli-L7H4C442.js.map → cli-K5635N25.js.map} +0 -0
- /package/dist/{cli-4IE6CRAT.js.map → cli-K5QWXB7H.js.map} +0 -0
- /package/dist/{cli-EQG4KETY.js.map → cli-PCZ7XNCO.js.map} +0 -0
- /package/dist/{cli-HTAR3PWY.js.map → cli-TCHSYJLB.js.map} +0 -0
- /package/dist/{cli-ZPW5VIRA.js.map → cli-TM2JCTQT.js.map} +0 -0
- /package/dist/{github-CMWG4QMI.js.map → github-BUK5CVQW.js.map} +0 -0
- /package/dist/{github-NIRLMJ65.js.map → github-CMAZWS76.js.map} +0 -0
- /package/dist/{github-RIU47U73.js.map → github-NXR4QMMM.js.map} +0 -0
- /package/dist/{json-EJTB7XYG.js.map → json-7Z2IFGB3.js.map} +0 -0
- /package/dist/{json-KSBVGZUX.js.map → json-NZSGRYOE.js.map} +0 -0
- /package/dist/{labels-VNKACCAG.js.map → labels-SE2WL7WD.js.map} +0 -0
- /package/dist/{lint-75BD6L5T.js.map → lint-VUYM5PPM.js.map} +0 -0
- /package/dist/{list-6XVIW3RW.js.map → list-4JGOXLOZ.js.map} +0 -0
- /package/dist/{list-MH54XU7E.js.map → list-LTF25DQE.js.map} +0 -0
- /package/dist/{list-PHNZAYIM.js.map → list-WD3TZS5R.js.map} +0 -0
- /package/dist/{page-5AJS7AEM.js.map → page-A2Y4ZMV4.js.map} +0 -0
- /package/dist/{prepare-R63RJI6O.js.map → prepare-M2COBP5O.js.map} +0 -0
- /package/dist/{pretty-DE4WXJFA.js.map → pretty-D3DZFC5U.js.map} +0 -0
- /package/dist/{pretty-E3DS32NZ.js.map → pretty-R67YU6TU.js.map} +0 -0
- /package/dist/{pretty-SUKMF6AB.js.map → pretty-SFFOMSG5.js.map} +0 -0
- /package/dist/{reporters-DLMLFLKS.js.map → reporters-TO7Q6JYF.js.map} +0 -0
- /package/dist/{reporters-V2PSDBVW.js.map → reporters-UTLJVSWX.js.map} +0 -0
- /package/dist/{run-QT2LVHRU.js.map → run-BDGYRUXJ.js.map} +0 -0
- /package/dist/{sarif-2ZKPRT42.js.map → sarif-EHAMGCVR.js.map} +0 -0
- /package/dist/{sarif-GKMUHCZB.js.map → sarif-GJYLRXLS.js.map} +0 -0
- /package/dist/{sarif-HUIRTPSL.js.map → sarif-IAGMXA6C.js.map} +0 -0
- /package/dist/{strategy-TBFM7NZU.js.map → strategy-UKRA6WO4.js.map} +0 -0
- /package/dist/{term-ZZWAVUW5.js.map → term-AMORBEO7.js.map} +0 -0
- /package/dist/{validate-ZEUFF3BG.js.map → validate-CDTKFZUV.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
loadTerms
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GGTCSMNX.js";
|
|
5
5
|
|
|
6
6
|
// src/term/commands/list.ts
|
|
7
7
|
var LIST_FORMATS = ["pretty", "json", "csv"];
|
|
@@ -14,4 +14,4 @@ export {
|
|
|
14
14
|
LIST_FORMATS,
|
|
15
15
|
runList
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=chunk-
|
|
17
|
+
//# sourceMappingURL=chunk-RA2BER5P.js.map
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
runShowSchema,
|
|
24
24
|
runVendorSchema,
|
|
25
25
|
terminalConfirm
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-SUTY4VCZ.js";
|
|
27
27
|
import {
|
|
28
28
|
COMMON_FORMATS,
|
|
29
29
|
COMMON_FORMAT_LIST,
|
|
@@ -39,11 +39,11 @@ import {
|
|
|
39
39
|
isQueryFormat,
|
|
40
40
|
isReportFormat,
|
|
41
41
|
render
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-XPO655IX.js";
|
|
43
43
|
import {
|
|
44
44
|
rowsToFindings,
|
|
45
45
|
runValidate
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-4H3IOF52.js";
|
|
47
47
|
import {
|
|
48
48
|
LOCATION_EXTERNAL_SCHEMA,
|
|
49
49
|
LOCATION_PAGE_SCHEMA,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
relocationContext,
|
|
63
63
|
reportConfig,
|
|
64
64
|
splitList
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-ODSIHEIW.js";
|
|
66
66
|
import {
|
|
67
67
|
DocmetaError,
|
|
68
68
|
STDIN_LABEL,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
schemaLoadOptions,
|
|
73
73
|
supportedExtensions,
|
|
74
74
|
toJsonText
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-WRWW6SGG.js";
|
|
76
76
|
import {
|
|
77
77
|
palette,
|
|
78
78
|
shouldColor
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
} from "./chunk-VM7VAFJW.js";
|
|
90
90
|
import {
|
|
91
91
|
package_default
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-MJZ5HYYL.js";
|
|
93
93
|
import {
|
|
94
94
|
programName
|
|
95
95
|
} from "./chunk-OWBRDNRZ.js";
|
|
@@ -1618,4 +1618,4 @@ export {
|
|
|
1618
1618
|
parseQueryParams,
|
|
1619
1619
|
buildProgram
|
|
1620
1620
|
};
|
|
1621
|
-
//# sourceMappingURL=chunk-
|
|
1621
|
+
//# sourceMappingURL=chunk-RN7IA742.js.map
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
META_CONTEXT,
|
|
4
4
|
withValueAt
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ODSIHEIW.js";
|
|
6
6
|
import {
|
|
7
7
|
DocmetaError,
|
|
8
8
|
escapePointerSegment,
|
|
9
9
|
extractorByName,
|
|
10
10
|
extractorForExtension,
|
|
11
11
|
supportedExtensions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WRWW6SGG.js";
|
|
13
13
|
import {
|
|
14
14
|
decryptValue,
|
|
15
15
|
encryptValue,
|
|
@@ -121,4 +121,4 @@ export {
|
|
|
121
121
|
reencryptMetadata,
|
|
122
122
|
reencryptData
|
|
123
123
|
};
|
|
124
|
-
//# sourceMappingURL=chunk-
|
|
124
|
+
//# sourceMappingURL=chunk-ROZDHPKA.js.map
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
updateConfigEval,
|
|
23
23
|
updateManifestEval,
|
|
24
24
|
updatePageEval
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-N3DYE6LJ.js";
|
|
26
26
|
import {
|
|
27
27
|
DEFAULT_CONFIG_FILENAME,
|
|
28
28
|
assertRegisteredGraders,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
sha256,
|
|
42
42
|
splitBody,
|
|
43
43
|
withExternalMetadata
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-4F5WGZRP.js";
|
|
45
45
|
import {
|
|
46
46
|
isTurnBudgetSkip
|
|
47
47
|
} from "./chunk-SSQZB5SQ.js";
|
|
@@ -54,10 +54,10 @@ import {
|
|
|
54
54
|
} from "./chunk-MDZXRHIJ.js";
|
|
55
55
|
import {
|
|
56
56
|
mergeMetaProvenance
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-WI3PPQQX.js";
|
|
58
58
|
import {
|
|
59
59
|
notFoundMessage
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-WRWW6SGG.js";
|
|
61
61
|
import {
|
|
62
62
|
SEVERITIES
|
|
63
63
|
} from "./chunk-77AINBYM.js";
|
|
@@ -1287,4 +1287,4 @@ export {
|
|
|
1287
1287
|
renderCalibration,
|
|
1288
1288
|
runInit
|
|
1289
1289
|
};
|
|
1290
|
-
//# sourceMappingURL=chunk-
|
|
1290
|
+
//# sourceMappingURL=chunk-S2HW3CBF.js.map
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
manifestKeyLine,
|
|
6
6
|
mergeMetaProvenance,
|
|
7
7
|
offerExternalHomes
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WI3PPQQX.js";
|
|
9
9
|
import {
|
|
10
10
|
formatList,
|
|
11
11
|
render
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XPO655IX.js";
|
|
13
13
|
import {
|
|
14
14
|
DERIVED_ROWS,
|
|
15
15
|
DERIVED_VIEW,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
readerManifests,
|
|
33
33
|
readerPlace,
|
|
34
34
|
stampManifests
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-4H3IOF52.js";
|
|
36
36
|
import {
|
|
37
37
|
ENCRYPTED_PLACEHOLDER,
|
|
38
38
|
ENCRYPTION_KEY_ENV,
|
|
@@ -116,7 +116,7 @@ import {
|
|
|
116
116
|
valueAt,
|
|
117
117
|
withValueAt,
|
|
118
118
|
writeEncryptionKey
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-ODSIHEIW.js";
|
|
120
120
|
import {
|
|
121
121
|
termLabelSource
|
|
122
122
|
} from "./chunk-DSWKBZWW.js";
|
|
@@ -175,7 +175,7 @@ import {
|
|
|
175
175
|
urlManifestMessage,
|
|
176
176
|
urlManifestOwning,
|
|
177
177
|
writeFileAtomic
|
|
178
|
-
} from "./chunk-
|
|
178
|
+
} from "./chunk-WRWW6SGG.js";
|
|
179
179
|
import {
|
|
180
180
|
escapeWorkflowCommandMessage,
|
|
181
181
|
escapeWorkflowCommandProperty
|
|
@@ -6931,4 +6931,4 @@ export {
|
|
|
6931
6931
|
renderQuery,
|
|
6932
6932
|
renderQueryCsv
|
|
6933
6933
|
};
|
|
6934
|
-
//# sourceMappingURL=chunk-
|
|
6934
|
+
//# sourceMappingURL=chunk-SUTY4VCZ.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
pathKey
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5E3ABFOQ.js";
|
|
5
5
|
import {
|
|
6
6
|
DEFAULT_CAPTURE_DIR,
|
|
7
7
|
makeRedactor
|
|
@@ -230,4 +230,4 @@ export {
|
|
|
230
230
|
rollup,
|
|
231
231
|
writeLedger
|
|
232
232
|
};
|
|
233
|
-
//# sourceMappingURL=chunk-
|
|
233
|
+
//# sourceMappingURL=chunk-TAJYMXMM.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
renderCalibration,
|
|
4
4
|
resolveBatchTraces,
|
|
5
5
|
runBatch
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MPXMQGJI.js";
|
|
7
7
|
import {
|
|
8
8
|
discoverConfig,
|
|
9
9
|
labelKey,
|
|
@@ -378,4 +378,4 @@ export {
|
|
|
378
378
|
score,
|
|
379
379
|
runCalibrate
|
|
380
380
|
};
|
|
381
|
-
//# sourceMappingURL=chunk-
|
|
381
|
+
//# sourceMappingURL=chunk-TDG2S5UE.js.map
|
|
@@ -1 +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
|
+
{"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 /**\n * Parse raw file content into the generic tree. AsciiDoc's parser returns a\n * promise, because Asciidoctor loads a document asynchronously; the others\n * return the tree itself. A caller awaits either.\n */\n parse(content: string, filePath: string): DocumentTree | Promise<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":[]}
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
} from "./chunk-4TSWU2SU.js";
|
|
8
8
|
import {
|
|
9
9
|
metaProvenanceEntries
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WI3PPQQX.js";
|
|
11
11
|
import {
|
|
12
12
|
__default3 as __default,
|
|
13
13
|
extractFrontmatter
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WRWW6SGG.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-UVC3BUKU.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
offerPrompt,
|
|
6
6
|
planRelocation,
|
|
7
7
|
relocationOffers
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ODSIHEIW.js";
|
|
9
9
|
|
|
10
10
|
// src/meta/core/location-writes.ts
|
|
11
11
|
import { LineCounter, isMap, isNode, isScalar, parseDocument } from "yaml";
|
|
@@ -161,4 +161,4 @@ export {
|
|
|
161
161
|
mergeMetaProvenance,
|
|
162
162
|
metaProvenanceEntries
|
|
163
163
|
};
|
|
164
|
-
//# sourceMappingURL=chunk-
|
|
164
|
+
//# sourceMappingURL=chunk-WI3PPQQX.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-HX44GB4Z.js";
|
|
12
12
|
import {
|
|
13
13
|
package_default
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MJZ5HYYL.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-WRWW6SGG.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
canonicalSchemaRef,
|
|
7
7
|
fingerprint,
|
|
8
8
|
isErrorSeverity
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WRWW6SGG.js";
|
|
10
10
|
import {
|
|
11
11
|
escapeWorkflowCommandMessage,
|
|
12
12
|
escapeWorkflowCommandProperty,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-B2242FYO.js";
|
|
21
21
|
import {
|
|
22
22
|
package_default
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MJZ5HYYL.js";
|
|
24
24
|
|
|
25
25
|
// src/meta/reporters/rule-id.ts
|
|
26
26
|
var SYNTHETIC_SCHEMA = "(parse)";
|
|
@@ -407,4 +407,4 @@ export {
|
|
|
407
407
|
renderGithub,
|
|
408
408
|
render
|
|
409
409
|
};
|
|
410
|
-
//# sourceMappingURL=chunk-
|
|
410
|
+
//# sourceMappingURL=chunk-XPO655IX.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
parserForExtension,
|
|
12
12
|
supportedExtensions,
|
|
13
13
|
unsupportedFormatMessage
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QGBNWEWS.js";
|
|
15
15
|
import {
|
|
16
16
|
BLOCK_KINDS,
|
|
17
17
|
BLOCK_KIND_NODE,
|
|
@@ -24,17 +24,17 @@ import {
|
|
|
24
24
|
isWildcard,
|
|
25
25
|
matchSections,
|
|
26
26
|
occurrenceRange
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-G5I2JTDK.js";
|
|
28
28
|
import {
|
|
29
29
|
LintError
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-TI4DA6DF.js";
|
|
31
31
|
import {
|
|
32
32
|
STDIN_TOKEN,
|
|
33
33
|
assertNonEmpty,
|
|
34
34
|
gitignoreOptions,
|
|
35
35
|
isErrorSeverity,
|
|
36
36
|
resolveTargetSet
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-WRWW6SGG.js";
|
|
38
38
|
import {
|
|
39
39
|
ditaOtHome,
|
|
40
40
|
findConfigFile,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
} from "./chunk-HX44GB4Z.js";
|
|
47
47
|
import {
|
|
48
48
|
package_default
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-MJZ5HYYL.js";
|
|
50
50
|
import {
|
|
51
51
|
ToolError,
|
|
52
52
|
errorMessage
|
|
@@ -2087,7 +2087,7 @@ function unknownTypeFinding(resolution, typeIndex, position) {
|
|
|
2087
2087
|
async function lintOne(label, content, parser, ctx) {
|
|
2088
2088
|
let tree;
|
|
2089
2089
|
try {
|
|
2090
|
-
tree = parser.parse(content, label);
|
|
2090
|
+
tree = await parser.parse(content, label);
|
|
2091
2091
|
} catch (err) {
|
|
2092
2092
|
return {
|
|
2093
2093
|
file: label,
|
|
@@ -2477,4 +2477,4 @@ export {
|
|
|
2477
2477
|
STDIN_LABEL,
|
|
2478
2478
|
runLint
|
|
2479
2479
|
};
|
|
2480
|
-
//# sourceMappingURL=chunk-
|
|
2480
|
+
//# sourceMappingURL=chunk-YIHIRMXN.js.map
|