@hawkeyexl/manni 4.31.0 → 4.32.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-P6LTMOZP.js → batch-EXTFKUAM.js} +14 -14
- package/dist/{build-V5JPMFTR.js → build-GADI674Y.js} +14 -14
- package/dist/{calibrate-YS4NLIC3.js → calibrate-UC4DGHYL.js} +15 -15
- package/dist/{capture-YQDJSSKZ.js → capture-HIBYY5R3.js} +14 -14
- package/dist/{check-QAVEMKP2.js → check-F7HHGF3D.js} +11 -11
- package/dist/{check-OWGSBBU7.js → check-FQ7N5Z2F.js} +32 -32
- package/dist/check-KF453CLV.js +58 -0
- package/dist/{check-FVL7G5PJ.js → check-PPNKOK37.js} +13 -13
- package/dist/{check-TUP4RG7G.js → check-QA3FIAPV.js} +23 -23
- package/dist/{chunk-DO5CJVXR.js → chunk-2EA6MOCN.js} +3 -3
- package/dist/{chunk-TX7NPCCT.js → chunk-2HKNDIP3.js} +6 -6
- package/dist/{chunk-BKLXSWGX.js → chunk-2JQPC5RK.js} +7 -7
- package/dist/chunk-2JQPC5RK.js.map +1 -0
- package/dist/{chunk-NH4RQUSD.js → chunk-2KCIETVY.js} +4 -4
- package/dist/{chunk-MCUN2JP3.js → chunk-2YV6K44B.js} +6 -6
- package/dist/{chunk-BVQEOF23.js → chunk-3AB4UPAH.js} +3 -3
- package/dist/{chunk-X7UWDGQQ.js → chunk-3Q2GJERD.js} +6 -6
- package/dist/{chunk-KWK6VVK2.js → chunk-3SHTLHQ6.js} +5 -5
- package/dist/{chunk-D2N3SAV6.js → chunk-3WUATOHK.js} +4 -4
- package/dist/{chunk-YT55M4VQ.js → chunk-5LLPUOYC.js} +6 -6
- package/dist/{chunk-CEPNSI4V.js → chunk-5YCFOK6Y.js} +2 -2
- package/dist/{chunk-FJZZYY7Q.js → chunk-6SB3IQWD.js} +9 -9
- package/dist/{chunk-P676AEK6.js → chunk-7PMYQS5K.js} +5 -5
- package/dist/{cli-NKGQZKXS.js → chunk-A2KXDBRL.js} +177 -227
- package/dist/chunk-A2KXDBRL.js.map +1 -0
- package/dist/{chunk-INDMEKFB.js → chunk-B5DAXZLE.js} +7 -7
- package/dist/{chunk-7URMU7S5.js → chunk-BHVVKRVV.js} +2 -2
- package/dist/{chunk-ZGLLJSL7.js → chunk-C3WYV3L4.js} +3 -3
- package/dist/{chunk-SORYKTNP.js → chunk-CWDUIJJX.js} +2 -2
- package/dist/{chunk-SORYKTNP.js.map → chunk-CWDUIJJX.js.map} +1 -1
- package/dist/{chunk-66A5PPWF.js → chunk-DUKZLNBC.js} +4 -4
- package/dist/{chunk-CCBIO2CB.js → chunk-DVHVNTP7.js} +2 -2
- package/dist/{chunk-4JDOHAHR.js → chunk-EESOMRVW.js} +7 -7
- package/dist/{chunk-CY4RNLFN.js → chunk-EOFXK7ON.js} +3 -3
- package/dist/{chunk-TE6SQVNO.js → chunk-GC7FAGRL.js} +10 -10
- package/dist/{chunk-STPT3WEC.js → chunk-GEA5SVJU.js} +8 -8
- package/dist/{chunk-ZZGHTXZ2.js → chunk-GY3RMN64.js} +2 -2
- package/dist/{chunk-YH6MWLDA.js → chunk-GYEP6KX7.js} +2 -2
- package/dist/{chunk-AD7IRC5T.js → chunk-HD4IZVVX.js} +3 -3
- package/dist/{chunk-SPYYVEWP.js → chunk-HG7O47EK.js} +13 -11
- package/dist/chunk-HG7O47EK.js.map +1 -0
- package/dist/{chunk-672TCM2Q.js → chunk-IFHB4QBS.js} +5 -5
- package/dist/{chunk-DSHAY6YM.js → chunk-IPS3B5WV.js} +3 -3
- package/dist/{chunk-GWOVEW53.js → chunk-J2PUJFA4.js} +5 -5
- package/dist/{chunk-WX77JHTU.js → chunk-J6QJ7T6M.js} +4 -4
- package/dist/{chunk-JVZAJBSS.js → chunk-JXGJLJOP.js} +2 -2
- package/dist/{chunk-ZY2XP3AS.js → chunk-KJOF3TAE.js} +14 -14
- package/dist/{chunk-R64PJYCT.js → chunk-KU7MRVTB.js} +2 -2
- package/dist/{chunk-MQ34D4OP.js → chunk-L7WBKQ2R.js} +4 -4
- package/dist/{chunk-HVYVIGBP.js → chunk-MBPDZWYI.js} +457 -366
- package/dist/chunk-MBPDZWYI.js.map +1 -0
- package/dist/{chunk-N7VIVL42.js → chunk-MRFSWEJA.js} +2 -2
- package/dist/{chunk-BTFXOKCP.js → chunk-MSLBEN74.js} +2 -2
- package/dist/chunk-NFZE4MXL.js +14 -0
- package/dist/chunk-NFZE4MXL.js.map +1 -0
- package/dist/{chunk-I52GL7N6.js → chunk-OILHKIBL.js} +3 -3
- package/dist/{chunk-EZBWGI25.js → chunk-PKLRFHO5.js} +2 -2
- package/dist/{chunk-AXSCHC34.js → chunk-POPJ4INH.js} +94 -169
- package/dist/chunk-POPJ4INH.js.map +1 -0
- package/dist/{chunk-7S6H5UML.js → chunk-PXUAUKLB.js} +3 -3
- package/dist/{chunk-VKAE3W6H.js → chunk-Q6INPRTC.js} +5 -5
- package/dist/{chunk-CDX4QK6O.js → chunk-QMYR4OI5.js} +29 -2
- package/dist/chunk-QMYR4OI5.js.map +1 -0
- package/dist/{chunk-KPQFF62T.js → chunk-QVDRRK5K.js} +4 -4
- package/dist/{chunk-BBIEWUO6.js → chunk-RC7TM74Z.js} +7 -7
- package/dist/{chunk-ZMFSFXQX.js → chunk-RNXOPBBD.js} +9 -9
- package/dist/{chunk-2NB7MT5I.js → chunk-RRXIIMKU.js} +3 -3
- package/dist/{chunk-66U7KHZE.js → chunk-RV5GZTXH.js} +6 -6
- package/dist/{chunk-M5HDMQCI.js → chunk-SHTMF6PC.js} +3 -4
- package/dist/chunk-SHTMF6PC.js.map +1 -0
- package/dist/{chunk-GTT7EQEV.js → chunk-SMQMGAP3.js} +2 -2
- package/dist/{chunk-2KGDXZMS.js → chunk-SVUF42MI.js} +3 -3
- package/dist/{chunk-F6FDIOKE.js → chunk-TZOBQ3TA.js} +3 -3
- package/dist/{chunk-DLIQJJAE.js → chunk-UKWWA4T7.js} +2 -2
- package/dist/{chunk-BR6NGHRG.js → chunk-UMCTYM7L.js} +3 -3
- package/dist/{chunk-DOXZ3U4O.js → chunk-VLUJ46LV.js} +11 -11
- package/dist/{chunk-ICUKYSPX.js → chunk-VQ3FZVNM.js} +2 -2
- package/dist/{chunk-AXIYZIHN.js → chunk-WWP6Y7S7.js} +4 -4
- package/dist/{chunk-MREXYXMW.js → chunk-WX7NURTP.js} +8 -8
- package/dist/{chunk-XIEUUETR.js → chunk-XWVXPXWI.js} +4 -4
- package/dist/{chunk-Z7HBBFSZ.js → chunk-YAPFEDGW.js} +5 -5
- package/dist/{chunk-LU6HSA2N.js → chunk-Z6T7UX7R.js} +70 -33
- package/dist/chunk-Z6T7UX7R.js.map +1 -0
- package/dist/{chunk-J7OFPDCD.js → chunk-ZIXRI5XY.js} +4 -4
- package/dist/{chunk-3WX73ME2.js → chunk-ZWL5ST2M.js} +2 -2
- package/dist/{cli-TA2IQRYK.js → cli-5UAQT4OU.js} +8 -8
- package/dist/{cli-XVJ5G4EO.js → cli-67XDE7Q7.js} +27 -27
- package/dist/{cli-YKM5YZHY.js → cli-EDXJFE5T.js} +3 -3
- package/dist/{cli-UAM4MBRM.js → cli-GJ6GRHZN.js} +18 -18
- package/dist/{cli-R5XYFIOY.js → cli-LQFBUP6H.js} +15 -15
- package/dist/{cli-7TW4HTQN.js → cli-MXEFSQJC.js} +13 -13
- package/dist/{cli-T2AZSUSY.js → cli-OZ4YL6WS.js} +22 -22
- package/dist/{cli-ME4U7S7Q.js → cli-PG6Z6YXW.js} +28 -28
- package/dist/cli-SSK7GS43.js +80 -0
- package/dist/cli-TIQNAQJA.js +133 -0
- package/dist/cli-TIQNAQJA.js.map +1 -0
- package/dist/{cli-5NIVQZIE.js → cli-W7QU573I.js} +27 -27
- package/dist/{cli-BG6WXYWT.js → cli-XXJQS3F3.js} +59 -54
- package/dist/cli-XXJQS3F3.js.map +1 -0
- package/dist/cli.js +21 -15
- package/dist/cli.js.map +1 -1
- package/dist/{config-Z3FYLJ6X.js → config-ISXGJ4XM.js} +3 -3
- package/dist/docmeta.js +7 -7
- package/dist/{github-SQ2ATTLV.js → github-IKC7EPZ6.js} +11 -11
- package/dist/{github-X6F2FQL3.js → github-LUJDHQRN.js} +13 -13
- package/dist/github-Z6S7HS6X.js +49 -0
- package/dist/graph/embed.d.ts +1 -1
- package/dist/graph/embed.js.map +1 -1
- package/dist/graph/runtime.d.ts +2 -2
- package/dist/graph/runtime.js +4 -4
- package/dist/graph/runtime.js.map +1 -1
- package/dist/index.d.ts +801 -786
- package/dist/index.js +77 -66
- package/dist/index.js.map +1 -1
- package/dist/{json-L7QDREEX.js → json-FBYXDIQQ.js} +11 -11
- package/dist/{json-NSLJFPWD.js → json-OZKTEKPS.js} +14 -14
- package/dist/{labels-C4HCKZMZ.js → labels-MFHU6ZPR.js} +10 -10
- package/dist/{lint-ODALAI2I.js → lint-2TA4DFLT.js} +11 -11
- package/dist/{list-4JLKJOGX.js → list-3RIITWCX.js} +25 -25
- package/dist/{list-TQK3FWC2.js → list-JLBUOBV5.js} +13 -13
- package/dist/{list-CAE7T5HA.js → list-YO3W3VKA.js} +11 -11
- package/dist/{page-GB5LHRHX.js → page-4MZGF2N2.js} +10 -10
- package/dist/{prepare-VCJRE3EY.js → prepare-PKGPBUNT.js} +17 -17
- package/dist/{pretty-KZPED6KN.js → pretty-7PT7ETKZ.js} +23 -23
- package/dist/{pretty-GP4R3UII.js → pretty-YHIPZV5I.js} +11 -11
- package/dist/{pretty-GXLKMUT4.js → pretty-YIWBO6C3.js} +13 -13
- package/dist/{release-EFLQT3FW.js → release-VQQXI4XB.js} +4 -4
- package/dist/{reporters-GGP4YLIM.js → reporters-QJ7QC3XA.js} +10 -10
- package/dist/{reporters-GQ2PUWQA.js → reporters-ZUKUAWKX.js} +5 -5
- package/dist/{run-SVH32CBO.js → run-ZK6EY5V7.js} +25 -25
- package/dist/sarif-HYGCKXCT.js +50 -0
- package/dist/{sarif-UHZD2CJ3.js → sarif-PIUCN7PT.js} +9 -9
- package/dist/{sarif-UG7F3WQD.js → sarif-YP2DCLLU.js} +9 -9
- package/dist/{strategy-Y4NEJRSH.js → strategy-E2YCBTAW.js} +20 -20
- package/dist/{term-LQ2F5WEN.js → term-RLQ6WZUD.js} +16 -16
- package/dist/{validate-6WBRKEV5.js → validate-OPLT7USL.js} +5 -5
- package/dist/validate-OPLT7USL.js.map +1 -0
- package/package.json +1 -1
- package/plugin/manni/.claude-plugin/plugin.json +1 -1
- package/dist/check-DVMU74U3.js +0 -58
- package/dist/chunk-AXSCHC34.js.map +0 -1
- package/dist/chunk-BKLXSWGX.js.map +0 -1
- package/dist/chunk-CDX4QK6O.js.map +0 -1
- package/dist/chunk-HVYVIGBP.js.map +0 -1
- package/dist/chunk-LU6HSA2N.js.map +0 -1
- package/dist/chunk-M5HDMQCI.js.map +0 -1
- package/dist/chunk-SPYYVEWP.js.map +0 -1
- package/dist/cli-BG6WXYWT.js.map +0 -1
- package/dist/cli-NKGQZKXS.js.map +0 -1
- package/dist/github-ZCA7TOJO.js +0 -49
- package/dist/sarif-CFQJ5HHP.js +0 -50
- /package/dist/{batch-P6LTMOZP.js.map → batch-EXTFKUAM.js.map} +0 -0
- /package/dist/{build-V5JPMFTR.js.map → build-GADI674Y.js.map} +0 -0
- /package/dist/{calibrate-YS4NLIC3.js.map → calibrate-UC4DGHYL.js.map} +0 -0
- /package/dist/{capture-YQDJSSKZ.js.map → capture-HIBYY5R3.js.map} +0 -0
- /package/dist/{check-DVMU74U3.js.map → check-F7HHGF3D.js.map} +0 -0
- /package/dist/{check-OWGSBBU7.js.map → check-FQ7N5Z2F.js.map} +0 -0
- /package/dist/{check-FVL7G5PJ.js.map → check-KF453CLV.js.map} +0 -0
- /package/dist/{check-QAVEMKP2.js.map → check-PPNKOK37.js.map} +0 -0
- /package/dist/{check-TUP4RG7G.js.map → check-QA3FIAPV.js.map} +0 -0
- /package/dist/{chunk-DO5CJVXR.js.map → chunk-2EA6MOCN.js.map} +0 -0
- /package/dist/{chunk-TX7NPCCT.js.map → chunk-2HKNDIP3.js.map} +0 -0
- /package/dist/{chunk-NH4RQUSD.js.map → chunk-2KCIETVY.js.map} +0 -0
- /package/dist/{chunk-MCUN2JP3.js.map → chunk-2YV6K44B.js.map} +0 -0
- /package/dist/{chunk-BVQEOF23.js.map → chunk-3AB4UPAH.js.map} +0 -0
- /package/dist/{chunk-X7UWDGQQ.js.map → chunk-3Q2GJERD.js.map} +0 -0
- /package/dist/{chunk-KWK6VVK2.js.map → chunk-3SHTLHQ6.js.map} +0 -0
- /package/dist/{chunk-D2N3SAV6.js.map → chunk-3WUATOHK.js.map} +0 -0
- /package/dist/{chunk-YT55M4VQ.js.map → chunk-5LLPUOYC.js.map} +0 -0
- /package/dist/{chunk-CEPNSI4V.js.map → chunk-5YCFOK6Y.js.map} +0 -0
- /package/dist/{chunk-FJZZYY7Q.js.map → chunk-6SB3IQWD.js.map} +0 -0
- /package/dist/{chunk-P676AEK6.js.map → chunk-7PMYQS5K.js.map} +0 -0
- /package/dist/{chunk-INDMEKFB.js.map → chunk-B5DAXZLE.js.map} +0 -0
- /package/dist/{chunk-7URMU7S5.js.map → chunk-BHVVKRVV.js.map} +0 -0
- /package/dist/{chunk-ZGLLJSL7.js.map → chunk-C3WYV3L4.js.map} +0 -0
- /package/dist/{chunk-66A5PPWF.js.map → chunk-DUKZLNBC.js.map} +0 -0
- /package/dist/{chunk-CCBIO2CB.js.map → chunk-DVHVNTP7.js.map} +0 -0
- /package/dist/{chunk-4JDOHAHR.js.map → chunk-EESOMRVW.js.map} +0 -0
- /package/dist/{chunk-CY4RNLFN.js.map → chunk-EOFXK7ON.js.map} +0 -0
- /package/dist/{chunk-TE6SQVNO.js.map → chunk-GC7FAGRL.js.map} +0 -0
- /package/dist/{chunk-STPT3WEC.js.map → chunk-GEA5SVJU.js.map} +0 -0
- /package/dist/{chunk-ZZGHTXZ2.js.map → chunk-GY3RMN64.js.map} +0 -0
- /package/dist/{chunk-YH6MWLDA.js.map → chunk-GYEP6KX7.js.map} +0 -0
- /package/dist/{chunk-AD7IRC5T.js.map → chunk-HD4IZVVX.js.map} +0 -0
- /package/dist/{chunk-672TCM2Q.js.map → chunk-IFHB4QBS.js.map} +0 -0
- /package/dist/{chunk-DSHAY6YM.js.map → chunk-IPS3B5WV.js.map} +0 -0
- /package/dist/{chunk-GWOVEW53.js.map → chunk-J2PUJFA4.js.map} +0 -0
- /package/dist/{chunk-WX77JHTU.js.map → chunk-J6QJ7T6M.js.map} +0 -0
- /package/dist/{chunk-JVZAJBSS.js.map → chunk-JXGJLJOP.js.map} +0 -0
- /package/dist/{chunk-ZY2XP3AS.js.map → chunk-KJOF3TAE.js.map} +0 -0
- /package/dist/{chunk-R64PJYCT.js.map → chunk-KU7MRVTB.js.map} +0 -0
- /package/dist/{chunk-MQ34D4OP.js.map → chunk-L7WBKQ2R.js.map} +0 -0
- /package/dist/{chunk-N7VIVL42.js.map → chunk-MRFSWEJA.js.map} +0 -0
- /package/dist/{chunk-BTFXOKCP.js.map → chunk-MSLBEN74.js.map} +0 -0
- /package/dist/{chunk-I52GL7N6.js.map → chunk-OILHKIBL.js.map} +0 -0
- /package/dist/{chunk-EZBWGI25.js.map → chunk-PKLRFHO5.js.map} +0 -0
- /package/dist/{chunk-7S6H5UML.js.map → chunk-PXUAUKLB.js.map} +0 -0
- /package/dist/{chunk-VKAE3W6H.js.map → chunk-Q6INPRTC.js.map} +0 -0
- /package/dist/{chunk-KPQFF62T.js.map → chunk-QVDRRK5K.js.map} +0 -0
- /package/dist/{chunk-BBIEWUO6.js.map → chunk-RC7TM74Z.js.map} +0 -0
- /package/dist/{chunk-ZMFSFXQX.js.map → chunk-RNXOPBBD.js.map} +0 -0
- /package/dist/{chunk-2NB7MT5I.js.map → chunk-RRXIIMKU.js.map} +0 -0
- /package/dist/{chunk-66U7KHZE.js.map → chunk-RV5GZTXH.js.map} +0 -0
- /package/dist/{chunk-GTT7EQEV.js.map → chunk-SMQMGAP3.js.map} +0 -0
- /package/dist/{chunk-2KGDXZMS.js.map → chunk-SVUF42MI.js.map} +0 -0
- /package/dist/{chunk-F6FDIOKE.js.map → chunk-TZOBQ3TA.js.map} +0 -0
- /package/dist/{chunk-DLIQJJAE.js.map → chunk-UKWWA4T7.js.map} +0 -0
- /package/dist/{chunk-BR6NGHRG.js.map → chunk-UMCTYM7L.js.map} +0 -0
- /package/dist/{chunk-DOXZ3U4O.js.map → chunk-VLUJ46LV.js.map} +0 -0
- /package/dist/{chunk-ICUKYSPX.js.map → chunk-VQ3FZVNM.js.map} +0 -0
- /package/dist/{chunk-AXIYZIHN.js.map → chunk-WWP6Y7S7.js.map} +0 -0
- /package/dist/{chunk-MREXYXMW.js.map → chunk-WX7NURTP.js.map} +0 -0
- /package/dist/{chunk-XIEUUETR.js.map → chunk-XWVXPXWI.js.map} +0 -0
- /package/dist/{chunk-Z7HBBFSZ.js.map → chunk-YAPFEDGW.js.map} +0 -0
- /package/dist/{chunk-J7OFPDCD.js.map → chunk-ZIXRI5XY.js.map} +0 -0
- /package/dist/{chunk-3WX73ME2.js.map → chunk-ZWL5ST2M.js.map} +0 -0
- /package/dist/{cli-TA2IQRYK.js.map → cli-5UAQT4OU.js.map} +0 -0
- /package/dist/{cli-XVJ5G4EO.js.map → cli-67XDE7Q7.js.map} +0 -0
- /package/dist/{cli-YKM5YZHY.js.map → cli-EDXJFE5T.js.map} +0 -0
- /package/dist/{cli-UAM4MBRM.js.map → cli-GJ6GRHZN.js.map} +0 -0
- /package/dist/{cli-R5XYFIOY.js.map → cli-LQFBUP6H.js.map} +0 -0
- /package/dist/{cli-7TW4HTQN.js.map → cli-MXEFSQJC.js.map} +0 -0
- /package/dist/{cli-T2AZSUSY.js.map → cli-OZ4YL6WS.js.map} +0 -0
- /package/dist/{cli-ME4U7S7Q.js.map → cli-PG6Z6YXW.js.map} +0 -0
- /package/dist/{config-Z3FYLJ6X.js.map → cli-SSK7GS43.js.map} +0 -0
- /package/dist/{cli-5NIVQZIE.js.map → cli-W7QU573I.js.map} +0 -0
- /package/dist/{github-SQ2ATTLV.js.map → config-ISXGJ4XM.js.map} +0 -0
- /package/dist/{github-X6F2FQL3.js.map → github-IKC7EPZ6.js.map} +0 -0
- /package/dist/{github-ZCA7TOJO.js.map → github-LUJDHQRN.js.map} +0 -0
- /package/dist/{json-L7QDREEX.js.map → github-Z6S7HS6X.js.map} +0 -0
- /package/dist/{json-NSLJFPWD.js.map → json-FBYXDIQQ.js.map} +0 -0
- /package/dist/{lint-ODALAI2I.js.map → json-OZKTEKPS.js.map} +0 -0
- /package/dist/{labels-C4HCKZMZ.js.map → labels-MFHU6ZPR.js.map} +0 -0
- /package/dist/{list-4JLKJOGX.js.map → lint-2TA4DFLT.js.map} +0 -0
- /package/dist/{list-CAE7T5HA.js.map → list-3RIITWCX.js.map} +0 -0
- /package/dist/{list-TQK3FWC2.js.map → list-JLBUOBV5.js.map} +0 -0
- /package/dist/{page-GB5LHRHX.js.map → list-YO3W3VKA.js.map} +0 -0
- /package/dist/{pretty-GP4R3UII.js.map → page-4MZGF2N2.js.map} +0 -0
- /package/dist/{prepare-VCJRE3EY.js.map → prepare-PKGPBUNT.js.map} +0 -0
- /package/dist/{pretty-GXLKMUT4.js.map → pretty-7PT7ETKZ.js.map} +0 -0
- /package/dist/{pretty-KZPED6KN.js.map → pretty-YHIPZV5I.js.map} +0 -0
- /package/dist/{reporters-GGP4YLIM.js.map → pretty-YIWBO6C3.js.map} +0 -0
- /package/dist/{release-EFLQT3FW.js.map → release-VQQXI4XB.js.map} +0 -0
- /package/dist/{reporters-GQ2PUWQA.js.map → reporters-QJ7QC3XA.js.map} +0 -0
- /package/dist/{run-SVH32CBO.js.map → reporters-ZUKUAWKX.js.map} +0 -0
- /package/dist/{sarif-CFQJ5HHP.js.map → run-ZK6EY5V7.js.map} +0 -0
- /package/dist/{sarif-UG7F3WQD.js.map → sarif-HYGCKXCT.js.map} +0 -0
- /package/dist/{sarif-UHZD2CJ3.js.map → sarif-PIUCN7PT.js.map} +0 -0
- /package/dist/{strategy-Y4NEJRSH.js.map → sarif-YP2DCLLU.js.map} +0 -0
- /package/dist/{validate-6WBRKEV5.js.map → strategy-E2YCBTAW.js.map} +0 -0
- /package/dist/{term-LQ2F5WEN.js.map → term-RLQ6WZUD.js.map} +0 -0
|
@@ -11,27 +11,27 @@ import {
|
|
|
11
11
|
runRetrieve,
|
|
12
12
|
runTraverseContext,
|
|
13
13
|
traverseIn
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-2HKNDIP3.js";
|
|
15
15
|
import {
|
|
16
16
|
EXPORT_TARGETS,
|
|
17
17
|
LLMS_FILENAME,
|
|
18
|
-
|
|
18
|
+
embedIndex,
|
|
19
|
+
loadVectorConfig,
|
|
19
20
|
renderFill,
|
|
20
21
|
renderQuery,
|
|
21
22
|
renderStats,
|
|
22
|
-
runEmbed,
|
|
23
23
|
runExport,
|
|
24
24
|
runFill,
|
|
25
25
|
runQuery,
|
|
26
26
|
runStats
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-ZZGHTXZ2.js";
|
|
27
|
+
} from "./chunk-MBPDZWYI.js";
|
|
29
28
|
import {
|
|
30
29
|
checkoutStatus,
|
|
31
30
|
runBuild
|
|
32
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-HG7O47EK.js";
|
|
33
32
|
import {
|
|
34
33
|
CHUNKS_MANIFEST,
|
|
34
|
+
GRAPH_SEARCH_MODES,
|
|
35
35
|
SEARCH_MODES,
|
|
36
36
|
bundledShapesPath,
|
|
37
37
|
compactIri,
|
|
@@ -42,33 +42,14 @@ import {
|
|
|
42
42
|
runSearch,
|
|
43
43
|
runTraverse,
|
|
44
44
|
shapeText
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-MREXYXMW.js";
|
|
45
|
+
} from "./chunk-Z6T7UX7R.js";
|
|
47
46
|
import {
|
|
48
47
|
parseChunksManifest
|
|
49
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-2JQPC5RK.js";
|
|
50
49
|
import {
|
|
51
50
|
EVALS_ARE_AUTHOR_FACING,
|
|
52
51
|
NO_AUTHORING_NEEDS_PUBLISH
|
|
53
|
-
} from "./chunk-
|
|
54
|
-
import "./chunk-M5HDMQCI.js";
|
|
55
|
-
import "./chunk-STPT3WEC.js";
|
|
56
|
-
import "./chunk-INDMEKFB.js";
|
|
57
|
-
import "./chunk-IM7C3H4W.js";
|
|
58
|
-
import "./chunk-BVQEOF23.js";
|
|
59
|
-
import "./chunk-D2N3SAV6.js";
|
|
60
|
-
import "./chunk-J7OFPDCD.js";
|
|
61
|
-
import "./chunk-TIUTIOFB.js";
|
|
62
|
-
import "./chunk-GLP5PSXB.js";
|
|
63
|
-
import "./chunk-P676AEK6.js";
|
|
64
|
-
import "./chunk-ZY2XP3AS.js";
|
|
65
|
-
import "./chunk-DO5CJVXR.js";
|
|
66
|
-
import "./chunk-DSHAY6YM.js";
|
|
67
|
-
import "./chunk-AD7IRC5T.js";
|
|
68
|
-
import "./chunk-R64PJYCT.js";
|
|
69
|
-
import "./chunk-2KGDXZMS.js";
|
|
70
|
-
import "./chunk-I52GL7N6.js";
|
|
71
|
-
import "./chunk-4JDOHAHR.js";
|
|
52
|
+
} from "./chunk-WWP6Y7S7.js";
|
|
72
53
|
import {
|
|
73
54
|
ALL_FILL_FIELDS,
|
|
74
55
|
CONFIG_SECTION,
|
|
@@ -80,36 +61,23 @@ import {
|
|
|
80
61
|
assertInputFormat,
|
|
81
62
|
byCodeUnit,
|
|
82
63
|
loadRunConfig
|
|
83
|
-
} from "./chunk-
|
|
84
|
-
import "./chunk-XTKJNRJ6.js";
|
|
85
|
-
import "./chunk-3WX73ME2.js";
|
|
86
|
-
import "./chunk-M77SIRUX.js";
|
|
87
|
-
import "./chunk-CCBIO2CB.js";
|
|
88
|
-
import "./chunk-BXQLKOOR.js";
|
|
89
|
-
import "./chunk-JBOXCSTN.js";
|
|
90
|
-
import "./chunk-HMJZHUCJ.js";
|
|
91
|
-
import "./chunk-BR6NGHRG.js";
|
|
92
|
-
import "./chunk-WX77JHTU.js";
|
|
93
|
-
import "./chunk-672TCM2Q.js";
|
|
94
|
-
import "./chunk-NH4RQUSD.js";
|
|
64
|
+
} from "./chunk-POPJ4INH.js";
|
|
95
65
|
import {
|
|
96
66
|
collect,
|
|
97
67
|
configOption,
|
|
98
68
|
readStdin,
|
|
99
69
|
splitList,
|
|
100
70
|
writeTextAtomic
|
|
101
|
-
} from "./chunk-
|
|
102
|
-
import "./chunk-DSWKBZWW.js";
|
|
103
|
-
import "./chunk-2NB7MT5I.js";
|
|
104
|
-
import "./chunk-77AINBYM.js";
|
|
105
|
-
import "./chunk-QK6VYJHV.js";
|
|
71
|
+
} from "./chunk-C3WYV3L4.js";
|
|
106
72
|
import {
|
|
107
73
|
shouldColor
|
|
108
74
|
} from "./chunk-RNVYGWIC.js";
|
|
109
75
|
import {
|
|
110
76
|
fail
|
|
111
77
|
} from "./chunk-YEUYKR62.js";
|
|
112
|
-
import
|
|
78
|
+
import {
|
|
79
|
+
BASE_IRI_KEY
|
|
80
|
+
} from "./chunk-QMYR4OI5.js";
|
|
113
81
|
import {
|
|
114
82
|
notice,
|
|
115
83
|
noticeOnce,
|
|
@@ -120,12 +88,10 @@ import {
|
|
|
120
88
|
} from "./chunk-NVYDWVXN.js";
|
|
121
89
|
import {
|
|
122
90
|
package_default
|
|
123
|
-
} from "./chunk-
|
|
124
|
-
import "./chunk-OWBRDNRZ.js";
|
|
91
|
+
} from "./chunk-CWDUIJJX.js";
|
|
125
92
|
import {
|
|
126
93
|
errorMessage
|
|
127
94
|
} from "./chunk-G3T47CFV.js";
|
|
128
|
-
import "./chunk-2H7UOFLK.js";
|
|
129
95
|
|
|
130
96
|
// src/graph/cli.ts
|
|
131
97
|
import { Command } from "commander";
|
|
@@ -368,11 +334,13 @@ import { parse as parseYaml } from "yaml";
|
|
|
368
334
|
var HEADER = `# manni.config.yaml \u2014 shared configuration for the manni family of tools.
|
|
369
335
|
# Each tool reads its own top-level key; manni graph reads "graph:".
|
|
370
336
|
`;
|
|
371
|
-
var
|
|
372
|
-
#
|
|
337
|
+
var BASE_IRI_STARTER = `# Base IRI for every minted node, at the TOP level of this file: every
|
|
338
|
+
# domain that mints node ids starts from it. Set this to a namespace you
|
|
339
|
+
# control; without it, IRIs fall back to the urn:manni:graph: placeholder.
|
|
373
340
|
# baseIri: https://example.com/graph/
|
|
374
341
|
|
|
375
|
-
|
|
342
|
+
`;
|
|
343
|
+
var STARTER = `# There is no document set here. \`manni graph build\` and \`manni graph fill\` read the
|
|
376
344
|
# paths you name, or the collections declared once for every tool at the TOP
|
|
377
345
|
# level of this file, beside \`graph:\` rather than inside it:
|
|
378
346
|
#
|
|
@@ -462,14 +430,6 @@ fill:
|
|
|
462
430
|
# Send nothing off this machine: only a local model already downloaded.
|
|
463
431
|
offline: false
|
|
464
432
|
|
|
465
|
-
# Local embeddings for semantic search (\`manni graph embed\`). Needs the optional
|
|
466
|
-
# peer: npm install @huggingface/transformers
|
|
467
|
-
# embed:
|
|
468
|
-
# model: onnx-community/granite-embedding-small-english-r2-ONNX
|
|
469
|
-
# dtype: q8 # q8 keeps embedding reproducible across platforms
|
|
470
|
-
# out: graph # directory for the per-language vector sidecars
|
|
471
|
-
# cacheDir: .manni/graph/embed-cache
|
|
472
|
-
|
|
473
433
|
# Optional enrichment for \`manni graph export iirds\` (the iiRDS package).
|
|
474
434
|
# Absent, a minimal valid package is still produced.
|
|
475
435
|
# export:
|
|
@@ -478,9 +438,9 @@ fill:
|
|
|
478
438
|
# creator: Acme Corp # Creator iirds:Party + vcard:Organization
|
|
479
439
|
# version: "1.3" # iiRDS version literal: "1.2" | "1.3"
|
|
480
440
|
`;
|
|
481
|
-
function starterSection() {
|
|
441
|
+
function starterSection(hasBaseIri = false) {
|
|
482
442
|
const body = STARTER.split("\n").map((line) => line === "" ? "" : ` ${line}`).join("\n");
|
|
483
|
-
return `${CONFIG_SECTION}:
|
|
443
|
+
return `${hasBaseIri ? "" : BASE_IRI_STARTER}${CONFIG_SECTION}:
|
|
484
444
|
${body}`;
|
|
485
445
|
}
|
|
486
446
|
async function runInit(cwd = process.cwd()) {
|
|
@@ -512,7 +472,7 @@ async function runInit(cwd = process.cwd()) {
|
|
|
512
472
|
const blank = text2 === "" ? "" : "\n";
|
|
513
473
|
await writeTextAtomic(
|
|
514
474
|
path,
|
|
515
|
-
`${text2}${separator}${blank}${starterSection()}`
|
|
475
|
+
`${text2}${separator}${blank}${starterSection(doc != null && Object.hasOwn(doc, BASE_IRI_KEY))}`
|
|
516
476
|
);
|
|
517
477
|
return path;
|
|
518
478
|
}
|
|
@@ -532,13 +492,12 @@ async function runPublish(opts = {}) {
|
|
|
532
492
|
...opts.noConfig === void 0 ? {} : { noConfig: opts.noConfig },
|
|
533
493
|
cwd
|
|
534
494
|
};
|
|
535
|
-
const
|
|
536
|
-
{
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
);
|
|
495
|
+
const configFile = {
|
|
496
|
+
...opts.config === void 0 ? {} : { configPath: opts.config },
|
|
497
|
+
...opts.noConfig === void 0 ? {} : { noConfig: opts.noConfig }
|
|
498
|
+
};
|
|
499
|
+
const config = loadRunConfig(configFile, cwd);
|
|
500
|
+
const vector = loadVectorConfig(configFile, cwd);
|
|
542
501
|
const authoring = opts.authoring ?? config.authoring;
|
|
543
502
|
if (!authoring && opts.evals !== void 0) throw new GraphError(EVALS_ARE_AUTHOR_FACING);
|
|
544
503
|
const configured = resolve3(cwd, config.out);
|
|
@@ -589,15 +548,16 @@ async function runPublish(opts = {}) {
|
|
|
589
548
|
};
|
|
590
549
|
});
|
|
591
550
|
await exported("search", (r) => `${names(r)}: ${String(r.nodes)} ${r.nodes === 1 ? "entry" : "entries"}`, outDir);
|
|
592
|
-
if (
|
|
593
|
-
await run("
|
|
594
|
-
const r = await
|
|
551
|
+
if (vector.declared) {
|
|
552
|
+
await run("vector", async () => {
|
|
553
|
+
const r = await embedIndex(outDir, vector, { cwd });
|
|
595
554
|
const models = [...new Set(r.languages.map((l) => l.model))].join(", ");
|
|
596
|
-
const files = r.languages.map((l) => l.outPath);
|
|
597
|
-
|
|
555
|
+
const files = [...r.languages.map((l) => l.outPath), r.manifestPath];
|
|
556
|
+
const total = r.languages.reduce((n, l) => n + l.total, 0);
|
|
557
|
+
return { detail: `${files.map(shown).join(", ")}: ${plural(total, "vector")}, ${models}`, files, warnings: [] };
|
|
598
558
|
});
|
|
599
559
|
} else {
|
|
600
|
-
skip("
|
|
560
|
+
skip("vector", "vector");
|
|
601
561
|
}
|
|
602
562
|
await exported("jsonld", (r) => `${names(r)}: ${plural(r.nodes, "node")}`);
|
|
603
563
|
await exported("chunks", (r) => `${names(r)}: ${plural(r.nodes, "chunk")}, ${String(r.withheld ?? 0)} withheld`, outDir);
|
|
@@ -628,8 +588,8 @@ function renderPublish(report, format) {
|
|
|
628
588
|
// src/graph/commands/serve-fit.ts
|
|
629
589
|
function proofed(p) {
|
|
630
590
|
if (p.text !== null) return p;
|
|
631
|
-
const { provenance, ...
|
|
632
|
-
return
|
|
591
|
+
const { provenance, ...rest2 } = p;
|
|
592
|
+
return rest2;
|
|
633
593
|
}
|
|
634
594
|
function reference(p) {
|
|
635
595
|
return {
|
|
@@ -1194,125 +1154,133 @@ function colorOwner(command) {
|
|
|
1194
1154
|
}
|
|
1195
1155
|
return command;
|
|
1196
1156
|
}
|
|
1197
|
-
function
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
}
|
|
1208
|
-
|
|
1209
|
-
throw new GraphError(`${flag} expects a whole number, got ${value}.`);
|
|
1210
|
-
}
|
|
1211
|
-
if (value < min || max !== void 0 && value > max) {
|
|
1212
|
-
const range = max === void 0 ? `>= ${min}` : `${min}..${max}`;
|
|
1213
|
-
throw new GraphError(`${flag} must be ${range}, got ${value}.`);
|
|
1214
|
-
}
|
|
1215
|
-
return value;
|
|
1216
|
-
};
|
|
1217
|
-
}
|
|
1218
|
-
function countOption(flag, min = 1) {
|
|
1219
|
-
return numericOption(flag, { min, integer: true });
|
|
1220
|
-
}
|
|
1221
|
-
function enumOption(flag, allowed) {
|
|
1222
|
-
return (raw) => {
|
|
1223
|
-
if (!allowed.includes(raw)) {
|
|
1224
|
-
throw new GraphError(
|
|
1225
|
-
`${flag} must be one of ${allowed.join(" | ")}, got "${raw}".`
|
|
1226
|
-
);
|
|
1227
|
-
}
|
|
1228
|
-
return raw;
|
|
1229
|
-
};
|
|
1230
|
-
}
|
|
1231
|
-
function choiceOption(flag, allowed) {
|
|
1232
|
-
return (raw) => {
|
|
1233
|
-
if (!allowed.includes(raw)) {
|
|
1234
|
-
throw new GraphError(`Unknown ${flag} "${raw}". Use ${allowed.join(" | ")}.`);
|
|
1235
|
-
}
|
|
1236
|
-
return raw;
|
|
1237
|
-
};
|
|
1238
|
-
}
|
|
1239
|
-
const formatOption = choiceOption("--format", GRAPH_FORMATS);
|
|
1240
|
-
const checkFormatOption = choiceOption("--format", CHECK_FORMATS);
|
|
1241
|
-
const showFormatOption = choiceOption("--format", SHAPES_SHOW_FORMATS);
|
|
1242
|
-
const fieldsOption = (raw) => splitList(raw).map((value) => enumOption("--fields", ALL_FILL_FIELDS)(value));
|
|
1243
|
-
const withholdOption = (raw) => splitList(raw).map((value) => {
|
|
1244
|
-
if (value !== "drifted" && value !== "failing") {
|
|
1245
|
-
throw new GraphError(`--withhold takes drifted or failing, and got ${value}.`);
|
|
1157
|
+
function numericOption(flag, { min, max, integer }) {
|
|
1158
|
+
return (raw) => {
|
|
1159
|
+
const value = Number.parseFloat(raw);
|
|
1160
|
+
if (!Number.isFinite(value)) {
|
|
1161
|
+
throw new GraphError(`${flag} expects a number, got "${raw}".`);
|
|
1162
|
+
}
|
|
1163
|
+
if (integer && !Number.isInteger(value)) {
|
|
1164
|
+
throw new GraphError(`${flag} expects a whole number, got ${value}.`);
|
|
1165
|
+
}
|
|
1166
|
+
if (value < min || max !== void 0 && value > max) {
|
|
1167
|
+
const range = max === void 0 ? `>= ${min}` : `${min}..${max}`;
|
|
1168
|
+
throw new GraphError(`${flag} must be ${range}, got ${value}.`);
|
|
1246
1169
|
}
|
|
1247
1170
|
return value;
|
|
1248
|
-
}
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1171
|
+
};
|
|
1172
|
+
}
|
|
1173
|
+
function countOption(flag, min = 1) {
|
|
1174
|
+
return numericOption(flag, { min, integer: true });
|
|
1175
|
+
}
|
|
1176
|
+
function enumOption(flag, allowed) {
|
|
1177
|
+
return (raw) => {
|
|
1178
|
+
if (!allowed.includes(raw)) {
|
|
1179
|
+
throw new GraphError(
|
|
1180
|
+
`${flag} must be one of ${allowed.join(" | ")}, got "${raw}".`
|
|
1181
|
+
);
|
|
1255
1182
|
}
|
|
1256
|
-
return
|
|
1183
|
+
return raw;
|
|
1257
1184
|
};
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
"
|
|
1185
|
+
}
|
|
1186
|
+
function choiceOption(flag, allowed) {
|
|
1187
|
+
return (raw) => {
|
|
1188
|
+
if (!allowed.includes(raw)) {
|
|
1189
|
+
throw new GraphError(`Unknown ${flag} "${raw}". Use ${allowed.join(" | ")}.`);
|
|
1190
|
+
}
|
|
1191
|
+
return raw;
|
|
1192
|
+
};
|
|
1193
|
+
}
|
|
1194
|
+
function searchModeOption(raw) {
|
|
1195
|
+
if (raw === "vector") {
|
|
1196
|
+
throw new GraphError(
|
|
1197
|
+
`Unknown --mode "vector". Use ${GRAPH_SEARCH_MODES.join(" | ")}. For vector-only ranking, run manni vector search.`
|
|
1271
1198
|
);
|
|
1272
1199
|
}
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
).option("--exclude <glob>", "Glob to exclude (repeatable)", collect, []).option(
|
|
1283
|
-
"--as <format>",
|
|
1284
|
-
"Parse every input as asciidoc, html, markdown, mdx, rst or xml, whatever its extension. Required with -."
|
|
1285
|
-
).option(
|
|
1286
|
-
"--ext <list>",
|
|
1287
|
-
"comma-separated extensions for directory walks",
|
|
1288
|
-
DEFAULT_EXTENSIONS.join(",")
|
|
1289
|
-
).option("--allow-empty", "treat zero matched files as success").option("-c, --config <path>", "Path to manni.config.yaml").option("--no-config", "Ignore any discovered config file");
|
|
1290
|
-
}
|
|
1291
|
-
async function inputOptions(paths, opts) {
|
|
1292
|
-
assertInputFormat(paths, opts.as);
|
|
1293
|
-
return {
|
|
1294
|
-
...opts.as === void 0 ? {} : { as: opts.as },
|
|
1295
|
-
ext: splitList(opts.ext),
|
|
1296
|
-
...opts.allowEmpty === true ? { allowEmpty: true } : {},
|
|
1297
|
-
...paths.includes(STDIN) ? { stdinContent: await readStdin() } : {}
|
|
1298
|
-
};
|
|
1299
|
-
}
|
|
1300
|
-
function configInputs(command) {
|
|
1301
|
-
return command.option("-c, --config <path>", "Path to manni.config.yaml").option("--no-config", "Ignore any discovered config file");
|
|
1302
|
-
}
|
|
1303
|
-
function rest(opts) {
|
|
1304
|
-
const { config, ...others } = opts;
|
|
1305
|
-
return others;
|
|
1200
|
+
return choiceOption("--mode", GRAPH_SEARCH_MODES)(raw);
|
|
1201
|
+
}
|
|
1202
|
+
var formatOption = choiceOption("--format", GRAPH_FORMATS);
|
|
1203
|
+
var checkFormatOption = choiceOption("--format", CHECK_FORMATS);
|
|
1204
|
+
var showFormatOption = choiceOption("--format", SHAPES_SHOW_FORMATS);
|
|
1205
|
+
var fieldsOption = (raw) => splitList(raw).map((value) => enumOption("--fields", ALL_FILL_FIELDS)(value));
|
|
1206
|
+
var withholdOption = (raw) => splitList(raw).map((value) => {
|
|
1207
|
+
if (value !== "drifted" && value !== "failing") {
|
|
1208
|
+
throw new GraphError(`--withhold takes drifted or failing, and got ${value}.`);
|
|
1306
1209
|
}
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
};
|
|
1210
|
+
return value;
|
|
1211
|
+
});
|
|
1212
|
+
var whereOption = (raw, prev) => {
|
|
1213
|
+
const eq = raw.indexOf("=");
|
|
1214
|
+
const field = eq < 0 ? "" : raw.slice(0, eq);
|
|
1215
|
+
const value = eq < 0 ? "" : raw.slice(eq + 1);
|
|
1216
|
+
if (field === "" || value === "") {
|
|
1217
|
+
throw new GraphError(`--where takes field=value, and got ${raw}.`);
|
|
1315
1218
|
}
|
|
1219
|
+
return [...prev, { field, value }];
|
|
1220
|
+
};
|
|
1221
|
+
var NO_AUTHORING_HELP = "Leave out author-facing content: strategy records, and every field its schemas prefer in a sidecar (default: config authoring)";
|
|
1222
|
+
function authoringOption(value) {
|
|
1223
|
+
return value === false ? { authoring: false } : {};
|
|
1224
|
+
}
|
|
1225
|
+
function artifactInputs(command) {
|
|
1226
|
+
return command.option("-c, --config <path>", "Path to manni.config.yaml").option("--no-config", "Ignore any discovered config file").option("-g, --graph <path>", "Graph .ttl path (default: config out)").option(
|
|
1227
|
+
"-i, --index <dir>",
|
|
1228
|
+
"Directory holding chunks.json, its rows and the search index (default: beside the graph)"
|
|
1229
|
+
).option(
|
|
1230
|
+
"-f, --format <format>",
|
|
1231
|
+
`Output: ${GRAPH_FORMAT_LIST}`,
|
|
1232
|
+
formatOption,
|
|
1233
|
+
"pretty"
|
|
1234
|
+
);
|
|
1235
|
+
}
|
|
1236
|
+
function documentInputs(command, verb) {
|
|
1237
|
+
return command.argument(
|
|
1238
|
+
"[paths...]",
|
|
1239
|
+
`files, directories, or globs to ${verb} (use - for stdin)`
|
|
1240
|
+
).option(
|
|
1241
|
+
"--collection <name>",
|
|
1242
|
+
"Configured collection to read (repeatable)",
|
|
1243
|
+
collect,
|
|
1244
|
+
[]
|
|
1245
|
+
).option("--exclude <glob>", "Glob to exclude (repeatable)", collect, []).option(
|
|
1246
|
+
"--as <format>",
|
|
1247
|
+
"Parse every input as asciidoc, html, markdown, mdx, rst or xml, whatever its extension. Required with -."
|
|
1248
|
+
).option(
|
|
1249
|
+
"--ext <list>",
|
|
1250
|
+
"comma-separated extensions for directory walks",
|
|
1251
|
+
DEFAULT_EXTENSIONS.join(",")
|
|
1252
|
+
).option("--allow-empty", "treat zero matched files as success").option("-c, --config <path>", "Path to manni.config.yaml").option("--no-config", "Ignore any discovered config file");
|
|
1253
|
+
}
|
|
1254
|
+
async function inputOptions(paths, opts) {
|
|
1255
|
+
assertInputFormat(paths, opts.as);
|
|
1256
|
+
return {
|
|
1257
|
+
...opts.as === void 0 ? {} : { as: opts.as },
|
|
1258
|
+
ext: splitList(opts.ext),
|
|
1259
|
+
...opts.allowEmpty === true ? { allowEmpty: true } : {},
|
|
1260
|
+
...paths.includes(STDIN) ? { stdinContent: await readStdin() } : {}
|
|
1261
|
+
};
|
|
1262
|
+
}
|
|
1263
|
+
function configInputs(command) {
|
|
1264
|
+
return command.option("-c, --config <path>", "Path to manni.config.yaml").option("--no-config", "Ignore any discovered config file");
|
|
1265
|
+
}
|
|
1266
|
+
function rest(opts) {
|
|
1267
|
+
const { config, ...others } = opts;
|
|
1268
|
+
return others;
|
|
1269
|
+
}
|
|
1270
|
+
function documentOptions(opts) {
|
|
1271
|
+
const { configPath, noConfig } = configOption(opts.config);
|
|
1272
|
+
return {
|
|
1273
|
+
...configPath === void 0 ? {} : { config: configPath },
|
|
1274
|
+
...noConfig === true ? { noConfig } : {},
|
|
1275
|
+
...opts.collection === void 0 ? {} : { collection: opts.collection },
|
|
1276
|
+
...opts.exclude === void 0 ? {} : { exclude: opts.exclude }
|
|
1277
|
+
};
|
|
1278
|
+
}
|
|
1279
|
+
function buildProgram() {
|
|
1280
|
+
const program = new Command();
|
|
1281
|
+
program.name("graph").description(
|
|
1282
|
+
"Deterministic knowledge graphs derived from documentation frontmatter and formatting."
|
|
1283
|
+
).version(package_default.version).option("--no-color", "disable colored output").showHelpAfterError("(add --help for usage)").exitOverride();
|
|
1316
1284
|
program.command("init").description("Add a starter `graph:` section to manni.config.yaml in the current directory").action(async () => {
|
|
1317
1285
|
try {
|
|
1318
1286
|
console.log(`Created ${await runInit()}`);
|
|
@@ -1558,8 +1526,8 @@ function buildProgram() {
|
|
|
1558
1526
|
"Vector sidecar path (default: from the manifest)"
|
|
1559
1527
|
).option(
|
|
1560
1528
|
"--mode <mode>",
|
|
1561
|
-
`Which legs to run: ${
|
|
1562
|
-
|
|
1529
|
+
`Which legs to run: ${GRAPH_SEARCH_MODES.join(" | ")} (default: hybrid when vectors exist)`,
|
|
1530
|
+
searchModeOption
|
|
1563
1531
|
).option(
|
|
1564
1532
|
"-f, --format <format>",
|
|
1565
1533
|
`Output: ${GRAPH_FORMAT_LIST}`,
|
|
@@ -1720,38 +1688,9 @@ function buildProgram() {
|
|
|
1720
1688
|
}
|
|
1721
1689
|
}
|
|
1722
1690
|
);
|
|
1723
|
-
program.command("embed").
|
|
1724
|
-
"
|
|
1725
|
-
)
|
|
1726
|
-
"-i, --index <dir>",
|
|
1727
|
-
"Directory holding the indexes and manifest (default: beside the graph)"
|
|
1728
|
-
).option(
|
|
1729
|
-
"-o, --out <dir>",
|
|
1730
|
-
"Directory for the sidecars (default: the index directory)"
|
|
1731
|
-
).option(
|
|
1732
|
-
"--embedding-model <id>",
|
|
1733
|
-
"Embedding model id (any id; `mock` for offline runs)"
|
|
1734
|
-
).option("--dtype <dtype>", "Weight quantization (default q8)").option("--no-cache", "Ignore the vector cache").option(
|
|
1735
|
-
"-f, --format <format>",
|
|
1736
|
-
`Output: ${GRAPH_FORMAT_LIST}`,
|
|
1737
|
-
formatOption,
|
|
1738
|
-
"pretty"
|
|
1739
|
-
).action(
|
|
1740
|
-
async (opts) => {
|
|
1741
|
-
try {
|
|
1742
|
-
const { embeddingModel, ...others } = rest(opts);
|
|
1743
|
-
const report = await runEmbed({
|
|
1744
|
-
...others,
|
|
1745
|
-
...documentOptions(opts),
|
|
1746
|
-
...embeddingModel === void 0 ? {} : { model: embeddingModel },
|
|
1747
|
-
noCache: opts.cache === false
|
|
1748
|
-
});
|
|
1749
|
-
console.log(renderEmbed(report, opts.format));
|
|
1750
|
-
} catch (e) {
|
|
1751
|
-
fail(e);
|
|
1752
|
-
}
|
|
1753
|
-
}
|
|
1754
|
-
);
|
|
1691
|
+
program.command("embed", { hidden: true }).allowUnknownOption().allowExcessArguments().action(() => {
|
|
1692
|
+
fail(new GraphError("graph embed moved to manni vector build."));
|
|
1693
|
+
});
|
|
1755
1694
|
program.command("export").description(
|
|
1756
1695
|
"Reserialize the built graph into a consumer format (jsonld file, iirds package, search index, question set, chunks with their provenance, or llms.txt)"
|
|
1757
1696
|
).argument("<target>", `What to write: ${EXPORT_TARGETS.join(" | ")}`).option("-c, --config <path>", "Path to manni.config.yaml").option("--no-config", "Ignore any discovered config file").option("-g, --graph <path>", "Graph .ttl path (default: config out)").option(
|
|
@@ -1785,7 +1724,7 @@ function buildProgram() {
|
|
|
1785
1724
|
}
|
|
1786
1725
|
);
|
|
1787
1726
|
program.command("publish").description(
|
|
1788
|
-
"Build,
|
|
1727
|
+
"Build, add vectors when a vector: section exists, and export everything serving needs into one directory"
|
|
1789
1728
|
).option("-c, --config <path>", "Path to manni.config.yaml").option("--no-config", "Ignore any discovered config file").option("-o, --out <dir>", "Directory for every artifact (default: the directory of config out)").option("--evals <path>", "A docevals JSON report for the chunks (default: config export.chunks.evals)").option("--collection <name>", "Configured collection to read (repeatable)", collect, []).option("--no-authoring", NO_AUTHORING_HELP).option(
|
|
1790
1729
|
"-f, --format <format>",
|
|
1791
1730
|
`Output: ${GRAPH_FORMAT_LIST}`,
|
|
@@ -1812,8 +1751,19 @@ function buildProgram() {
|
|
|
1812
1751
|
);
|
|
1813
1752
|
return program;
|
|
1814
1753
|
}
|
|
1754
|
+
|
|
1815
1755
|
export {
|
|
1816
|
-
|
|
1817
|
-
colorFor
|
|
1756
|
+
GRAPH_FORMAT_LIST,
|
|
1757
|
+
colorFor,
|
|
1758
|
+
countOption,
|
|
1759
|
+
choiceOption,
|
|
1760
|
+
formatOption,
|
|
1761
|
+
NO_AUTHORING_HELP,
|
|
1762
|
+
authoringOption,
|
|
1763
|
+
documentInputs,
|
|
1764
|
+
inputOptions,
|
|
1765
|
+
rest,
|
|
1766
|
+
documentOptions,
|
|
1767
|
+
buildProgram
|
|
1818
1768
|
};
|
|
1819
|
-
//# sourceMappingURL=
|
|
1769
|
+
//# sourceMappingURL=chunk-A2KXDBRL.js.map
|