@hawkeyexl/manni 4.20.1 → 4.21.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-J626LZ22.js → batch-C534YIAU.js} +14 -14
- package/dist/{build-AYLD6V6Y.js → build-SVKT7QFU.js} +15 -14
- package/dist/{calibrate-2HZFACIX.js → calibrate-AL3MH7TY.js} +15 -15
- package/dist/{capture-NMDIPC6S.js → capture-2F7B4DAD.js} +14 -14
- package/dist/check-BI7OGIVE.js +48 -0
- package/dist/{check-RCSQARQE.js → check-JZINDP3F.js} +13 -13
- package/dist/{check-PQ7S5I3I.js → check-LKPQPQWJ.js} +15 -15
- package/dist/check-OPUMZEVK.js +35 -0
- package/dist/{check-KNQV7GLU.js → check-OW7UD73D.js} +12 -12
- package/dist/{chunk-N3DYE6LJ.js → chunk-22WGKOQ7.js} +5 -5
- package/dist/{chunk-TAJYMXMM.js → chunk-2HOWRAWK.js} +2 -2
- package/dist/{chunk-ROZDHPKA.js → chunk-2NGFDLIM.js} +3 -3
- package/dist/{chunk-GGTCSMNX.js → chunk-2YKUSTHS.js} +4 -4
- package/dist/{chunk-S2HW3CBF.js → chunk-3SFAB75L.js} +5 -5
- package/dist/{chunk-E6JYRVR5.js → chunk-5LE4NH3Z.js} +24 -7
- package/dist/chunk-5LE4NH3Z.js.map +1 -0
- package/dist/{chunk-NDPQ2GQ4.js → chunk-5UJKXOAD.js} +5 -5
- package/dist/chunk-6XK3NTL5.js +706 -0
- package/dist/chunk-6XK3NTL5.js.map +1 -0
- package/dist/{chunk-XPO655IX.js → chunk-762MM6NA.js} +3 -3
- package/dist/{chunk-FIR2MAGS.js → chunk-A4QNKEX4.js} +2 -2
- package/dist/{chunk-YIHIRMXN.js → chunk-AE6KBAAU.js} +4 -4
- package/dist/{chunk-UVC3BUKU.js → chunk-APAF4VWW.js} +3 -3
- package/dist/{chunk-D54BQM5P.js → chunk-ARNI3SJT.js} +7 -7
- package/dist/{chunk-OXCWCEVV.js → chunk-BHGFLRXM.js} +5 -5
- package/dist/{chunk-WRWW6SGG.js → chunk-BJUEOC4G.js} +2 -2
- package/dist/{chunk-MPXMQGJI.js → chunk-BKY6GAFA.js} +8 -8
- package/dist/{chunk-ACJUZFRT.js → chunk-BLXRIAV2.js} +4 -4
- package/dist/{chunk-H3C3UXTA.js → chunk-BXCVOHEX.js} +7 -7
- package/dist/{chunk-ODSIHEIW.js → chunk-BXE4L52Q.js} +2 -2
- package/dist/{chunk-YM2W43DI.js → chunk-CLPC3LKX.js} +13 -9
- package/dist/chunk-CLPC3LKX.js.map +1 -0
- package/dist/{chunk-P6XZ44C2.js → chunk-CREFJCWZ.js} +4 -4
- package/dist/{chunk-OQR3VVAX.js → chunk-CZIO37J5.js} +3 -3
- package/dist/{chunk-OVUQNM7Y.js → chunk-D4QHRVDJ.js} +2 -2
- package/dist/{chunk-WI3PPQQX.js → chunk-D5GBYKDU.js} +2 -2
- package/dist/{chunk-A633WB3N.js → chunk-DENZLZ3Z.js} +22 -20
- package/dist/{chunk-A633WB3N.js.map → chunk-DENZLZ3Z.js.map} +1 -1
- package/dist/{chunk-P5DWBG6T.js → chunk-DMVBIIP3.js} +3 -3
- package/dist/{chunk-LPJ3IB26.js → chunk-DPDG3FHL.js} +17 -3
- package/dist/chunk-DPDG3FHL.js.map +1 -0
- package/dist/{chunk-MTMR65NM.js → chunk-E23KWEPL.js} +2 -2
- package/dist/{chunk-5E3ABFOQ.js → chunk-E7OG5F6S.js} +3 -3
- package/dist/{chunk-5CJ3P5O3.js → chunk-FHJIH6XP.js} +8 -98
- package/dist/chunk-FHJIH6XP.js.map +1 -0
- package/dist/{chunk-O4O6JOGD.js → chunk-GMLOAKOA.js} +16 -4
- package/dist/chunk-GMLOAKOA.js.map +1 -0
- package/dist/{chunk-YYWZ2MSL.js → chunk-H5YWCCBO.js} +16 -11
- package/dist/chunk-H5YWCCBO.js.map +1 -0
- package/dist/{chunk-2GTR24SA.js → chunk-HHJ2HFPP.js} +8 -8
- package/dist/{chunk-Z2T5U7HN.js → chunk-IN5T22FP.js} +2 -2
- package/dist/{chunk-RA2BER5P.js → chunk-IOJD2RFG.js} +2 -2
- package/dist/{chunk-MJZ5HYYL.js → chunk-JQA6RF4R.js} +2 -2
- package/dist/{chunk-MJZ5HYYL.js.map → chunk-JQA6RF4R.js.map} +1 -1
- package/dist/{chunk-ZB3OFSRB.js → chunk-JUUCCML3.js} +4 -4
- package/dist/{chunk-TDG2S5UE.js → chunk-KBSTXL6L.js} +3 -3
- package/dist/{chunk-MJZK7G4B.js → chunk-KCWNJMSS.js} +3 -3
- package/dist/{chunk-EOJEPEYY.js → chunk-KQDRO6N6.js} +2 -2
- package/dist/{chunk-ISDFYXLA.js → chunk-LWBNHK72.js} +15 -13
- package/dist/{chunk-ISDFYXLA.js.map → chunk-LWBNHK72.js.map} +1 -1
- package/dist/{chunk-HGUCJ3K3.js → chunk-MTCOBRCX.js} +4 -4
- package/dist/{chunk-N2VB6UUE.js → chunk-NLJ3XIKT.js} +7 -5
- package/dist/{chunk-N2VB6UUE.js.map → chunk-NLJ3XIKT.js.map} +1 -1
- package/dist/{chunk-FKELQCGN.js → chunk-OWJLB2AF.js} +2 -2
- package/dist/{chunk-D4XQX4W7.js → chunk-P7HAXMFN.js} +2 -2
- package/dist/{chunk-4F5WGZRP.js → chunk-PACZEDOH.js} +5 -5
- package/dist/{chunk-QSPH4F56.js → chunk-PTGXEZQD.js} +2 -2
- package/dist/chunk-PTGXEZQD.js.map +1 -0
- package/dist/{chunk-SUTY4VCZ.js → chunk-Q76T6Y6X.js} +6 -6
- package/dist/{chunk-CXL6ES7O.js → chunk-R2CR62JV.js} +4 -4
- package/dist/{chunk-RN7IA742.js → chunk-RKACUTY5.js} +7 -7
- package/dist/{chunk-JPXC62SD.js → chunk-RQPEKHZH.js} +8 -6
- package/dist/{chunk-JPXC62SD.js.map → chunk-RQPEKHZH.js.map} +1 -1
- package/dist/{chunk-CT5WSUUZ.js → chunk-RWXR3GJI.js} +2 -2
- package/dist/{chunk-4H3IOF52.js → chunk-S5G6T4VC.js} +3 -3
- package/dist/chunk-SHXPE4D4.js +100 -0
- package/dist/chunk-SHXPE4D4.js.map +1 -0
- package/dist/{chunk-6FY573GB.js → chunk-TFVNEPMF.js} +3 -3
- package/dist/{chunk-BM43RJIS.js → chunk-U4OJ7U45.js} +8 -8
- package/dist/{chunk-LXJ4FZ7Y.js → chunk-V2XJJEEF.js} +4 -4
- package/dist/{chunk-QGBNWEWS.js → chunk-VLRIP4BQ.js} +2 -2
- package/dist/{chunk-BY4THWAQ.js → chunk-WHVFHBL3.js} +3 -3
- package/dist/{chunk-KERICP5Y.js → chunk-XBJKYXOR.js} +6 -6
- package/dist/{chunk-C5BXSQDO.js → chunk-XI3BNZG4.js} +5 -5
- package/dist/{chunk-4DFBBU4A.js → chunk-YSZNJ2ID.js} +2 -2
- package/dist/{cli-IIFCE6GY.js → cli-3PBRPPMQ.js} +14 -14
- package/dist/{cli-ISKXSN3P.js → cli-6NKE6RMT.js} +18 -18
- package/dist/{cli-FTSJQSB4.js → cli-77A46SB2.js} +17 -17
- package/dist/{cli-PCZ7XNCO.js → cli-AVHLY2AI.js} +61 -45
- package/dist/cli-AVHLY2AI.js.map +1 -0
- package/dist/{cli-DQRFSU7U.js → cli-FDXU7CGZ.js} +15 -14
- package/dist/{cli-DQRFSU7U.js.map → cli-FDXU7CGZ.js.map} +1 -1
- package/dist/{cli-6J4P5MLU.js → cli-FSDJY5OC.js} +2 -2
- package/dist/{cli-K5635N25.js → cli-JNYL6LB7.js} +14 -14
- package/dist/{cli-TCHSYJLB.js → cli-K47XWDLJ.js} +21 -21
- package/dist/{cli-TM2JCTQT.js → cli-LP5OE3BL.js} +9 -9
- package/dist/{cli-4RTNEVVX.js → cli-MOKRUHZT.js} +9 -9
- package/dist/{cli-K5QWXB7H.js → cli-MQXOK64K.js} +26 -25
- package/dist/{cli-K5QWXB7H.js.map → cli-MQXOK64K.js.map} +1 -1
- package/dist/cli.js +15 -15
- package/dist/{config-7I5CHHRZ.js → config-BMWDC66C.js} +2 -2
- package/dist/docmeta.js +8 -8
- package/dist/github-6GYTPSGV.js +35 -0
- package/dist/{github-CMAZWS76.js → github-DJOLVNDD.js} +12 -12
- package/dist/{github-NXR4QMMM.js → github-ZF2TQ3RP.js} +14 -14
- package/dist/index.d.ts +2 -1
- package/dist/index.js +49 -47
- package/dist/index.js.map +1 -1
- package/dist/json-Y7625EFE.js +42 -0
- package/dist/{json-7Z2IFGB3.js → json-YIK72XAL.js} +12 -12
- package/dist/{labels-SE2WL7WD.js → labels-X633ZPK7.js} +11 -11
- package/dist/{lint-VUYM5PPM.js → lint-RF3B55W7.js} +12 -12
- package/dist/{list-WD3TZS5R.js → list-5DW4QZ7P.js} +12 -12
- package/dist/list-7CHWJ633.js +39 -0
- package/dist/{list-LTF25DQE.js → list-UNWG6NPD.js} +12 -12
- package/dist/{page-A2Y4ZMV4.js → page-OMPEACUN.js} +11 -11
- package/dist/{prepare-M2COBP5O.js → prepare-B4JVDVOV.js} +13 -13
- package/dist/{pretty-SFFOMSG5.js → pretty-PPNHHOEN.js} +13 -13
- package/dist/{pretty-D3DZFC5U.js → pretty-U7ATCFBN.js} +12 -12
- package/dist/pretty-XGYQ25PH.js +43 -0
- package/dist/{reporters-UTLJVSWX.js → reporters-FAIEOTC4.js} +11 -11
- package/dist/{reporters-TO7Q6JYF.js → reporters-KE7AZR6C.js} +4 -4
- package/dist/{run-BDGYRUXJ.js → run-MHJ3AYKG.js} +12 -12
- package/dist/{sarif-IAGMXA6C.js → sarif-DOGRSGTB.js} +10 -10
- package/dist/{sarif-GJYLRXLS.js → sarif-MIEMQOIK.js} +11 -11
- package/dist/{sarif-EHAMGCVR.js → sarif-RGRG7VFX.js} +15 -15
- package/dist/{strategy-UKRA6WO4.js → strategy-EK5VY5DG.js} +24 -23
- package/dist/{strategy-UKRA6WO4.js.map → strategy-EK5VY5DG.js.map} +1 -1
- package/dist/{term-AMORBEO7.js → term-MDN3NJDW.js} +17 -17
- package/dist/{validate-CDTKFZUV.js → validate-QDYQ642J.js} +5 -5
- package/package.json +1 -1
- package/plugin/manni/.claude-plugin/plugin.json +11 -3
- package/plugin/manni/hooks/hooks.json +4 -4
- package/plugin/manni/hooks/manni.mjs +18 -5
- package/plugin/manni/hooks/tracevals.mjs +7 -0
- package/plugin/manni/skills/fix/SKILL.md +5 -1
- package/dist/check-OH4KKXP3.js +0 -33
- package/dist/check-PRAMKQCI.js +0 -47
- package/dist/chunk-5CJ3P5O3.js.map +0 -1
- package/dist/chunk-DNF42MK7.js +0 -326
- package/dist/chunk-DNF42MK7.js.map +0 -1
- package/dist/chunk-E6JYRVR5.js.map +0 -1
- package/dist/chunk-LPJ3IB26.js.map +0 -1
- package/dist/chunk-O4O6JOGD.js.map +0 -1
- package/dist/chunk-QSPH4F56.js.map +0 -1
- package/dist/chunk-SIREOHLW.js +0 -233
- package/dist/chunk-SIREOHLW.js.map +0 -1
- package/dist/chunk-YM2W43DI.js.map +0 -1
- package/dist/chunk-YYWZ2MSL.js.map +0 -1
- package/dist/cli-PCZ7XNCO.js.map +0 -1
- package/dist/github-BUK5CVQW.js +0 -27
- package/dist/json-NZSGRYOE.js +0 -34
- package/dist/list-4JGOXLOZ.js +0 -33
- package/dist/pretty-R67YU6TU.js +0 -35
- /package/dist/{batch-J626LZ22.js.map → batch-C534YIAU.js.map} +0 -0
- /package/dist/{build-AYLD6V6Y.js.map → build-SVKT7QFU.js.map} +0 -0
- /package/dist/{calibrate-2HZFACIX.js.map → calibrate-AL3MH7TY.js.map} +0 -0
- /package/dist/{capture-NMDIPC6S.js.map → capture-2F7B4DAD.js.map} +0 -0
- /package/dist/{check-KNQV7GLU.js.map → check-BI7OGIVE.js.map} +0 -0
- /package/dist/{check-OH4KKXP3.js.map → check-JZINDP3F.js.map} +0 -0
- /package/dist/{check-PQ7S5I3I.js.map → check-LKPQPQWJ.js.map} +0 -0
- /package/dist/{check-PRAMKQCI.js.map → check-OPUMZEVK.js.map} +0 -0
- /package/dist/{check-RCSQARQE.js.map → check-OW7UD73D.js.map} +0 -0
- /package/dist/{chunk-N3DYE6LJ.js.map → chunk-22WGKOQ7.js.map} +0 -0
- /package/dist/{chunk-TAJYMXMM.js.map → chunk-2HOWRAWK.js.map} +0 -0
- /package/dist/{chunk-ROZDHPKA.js.map → chunk-2NGFDLIM.js.map} +0 -0
- /package/dist/{chunk-GGTCSMNX.js.map → chunk-2YKUSTHS.js.map} +0 -0
- /package/dist/{chunk-S2HW3CBF.js.map → chunk-3SFAB75L.js.map} +0 -0
- /package/dist/{chunk-NDPQ2GQ4.js.map → chunk-5UJKXOAD.js.map} +0 -0
- /package/dist/{chunk-XPO655IX.js.map → chunk-762MM6NA.js.map} +0 -0
- /package/dist/{chunk-FIR2MAGS.js.map → chunk-A4QNKEX4.js.map} +0 -0
- /package/dist/{chunk-YIHIRMXN.js.map → chunk-AE6KBAAU.js.map} +0 -0
- /package/dist/{chunk-UVC3BUKU.js.map → chunk-APAF4VWW.js.map} +0 -0
- /package/dist/{chunk-D54BQM5P.js.map → chunk-ARNI3SJT.js.map} +0 -0
- /package/dist/{chunk-OXCWCEVV.js.map → chunk-BHGFLRXM.js.map} +0 -0
- /package/dist/{chunk-WRWW6SGG.js.map → chunk-BJUEOC4G.js.map} +0 -0
- /package/dist/{chunk-MPXMQGJI.js.map → chunk-BKY6GAFA.js.map} +0 -0
- /package/dist/{chunk-ACJUZFRT.js.map → chunk-BLXRIAV2.js.map} +0 -0
- /package/dist/{chunk-H3C3UXTA.js.map → chunk-BXCVOHEX.js.map} +0 -0
- /package/dist/{chunk-ODSIHEIW.js.map → chunk-BXE4L52Q.js.map} +0 -0
- /package/dist/{chunk-P6XZ44C2.js.map → chunk-CREFJCWZ.js.map} +0 -0
- /package/dist/{chunk-OQR3VVAX.js.map → chunk-CZIO37J5.js.map} +0 -0
- /package/dist/{chunk-OVUQNM7Y.js.map → chunk-D4QHRVDJ.js.map} +0 -0
- /package/dist/{chunk-WI3PPQQX.js.map → chunk-D5GBYKDU.js.map} +0 -0
- /package/dist/{chunk-P5DWBG6T.js.map → chunk-DMVBIIP3.js.map} +0 -0
- /package/dist/{chunk-MTMR65NM.js.map → chunk-E23KWEPL.js.map} +0 -0
- /package/dist/{chunk-5E3ABFOQ.js.map → chunk-E7OG5F6S.js.map} +0 -0
- /package/dist/{chunk-2GTR24SA.js.map → chunk-HHJ2HFPP.js.map} +0 -0
- /package/dist/{chunk-Z2T5U7HN.js.map → chunk-IN5T22FP.js.map} +0 -0
- /package/dist/{chunk-RA2BER5P.js.map → chunk-IOJD2RFG.js.map} +0 -0
- /package/dist/{chunk-ZB3OFSRB.js.map → chunk-JUUCCML3.js.map} +0 -0
- /package/dist/{chunk-TDG2S5UE.js.map → chunk-KBSTXL6L.js.map} +0 -0
- /package/dist/{chunk-MJZK7G4B.js.map → chunk-KCWNJMSS.js.map} +0 -0
- /package/dist/{chunk-EOJEPEYY.js.map → chunk-KQDRO6N6.js.map} +0 -0
- /package/dist/{chunk-HGUCJ3K3.js.map → chunk-MTCOBRCX.js.map} +0 -0
- /package/dist/{chunk-FKELQCGN.js.map → chunk-OWJLB2AF.js.map} +0 -0
- /package/dist/{chunk-D4XQX4W7.js.map → chunk-P7HAXMFN.js.map} +0 -0
- /package/dist/{chunk-4F5WGZRP.js.map → chunk-PACZEDOH.js.map} +0 -0
- /package/dist/{chunk-SUTY4VCZ.js.map → chunk-Q76T6Y6X.js.map} +0 -0
- /package/dist/{chunk-CXL6ES7O.js.map → chunk-R2CR62JV.js.map} +0 -0
- /package/dist/{chunk-RN7IA742.js.map → chunk-RKACUTY5.js.map} +0 -0
- /package/dist/{chunk-CT5WSUUZ.js.map → chunk-RWXR3GJI.js.map} +0 -0
- /package/dist/{chunk-4H3IOF52.js.map → chunk-S5G6T4VC.js.map} +0 -0
- /package/dist/{chunk-6FY573GB.js.map → chunk-TFVNEPMF.js.map} +0 -0
- /package/dist/{chunk-BM43RJIS.js.map → chunk-U4OJ7U45.js.map} +0 -0
- /package/dist/{chunk-LXJ4FZ7Y.js.map → chunk-V2XJJEEF.js.map} +0 -0
- /package/dist/{chunk-QGBNWEWS.js.map → chunk-VLRIP4BQ.js.map} +0 -0
- /package/dist/{chunk-BY4THWAQ.js.map → chunk-WHVFHBL3.js.map} +0 -0
- /package/dist/{chunk-KERICP5Y.js.map → chunk-XBJKYXOR.js.map} +0 -0
- /package/dist/{chunk-C5BXSQDO.js.map → chunk-XI3BNZG4.js.map} +0 -0
- /package/dist/{chunk-4DFBBU4A.js.map → chunk-YSZNJ2ID.js.map} +0 -0
- /package/dist/{cli-IIFCE6GY.js.map → cli-3PBRPPMQ.js.map} +0 -0
- /package/dist/{cli-ISKXSN3P.js.map → cli-6NKE6RMT.js.map} +0 -0
- /package/dist/{cli-FTSJQSB4.js.map → cli-77A46SB2.js.map} +0 -0
- /package/dist/{cli-6J4P5MLU.js.map → cli-FSDJY5OC.js.map} +0 -0
- /package/dist/{cli-K5635N25.js.map → cli-JNYL6LB7.js.map} +0 -0
- /package/dist/{cli-TCHSYJLB.js.map → cli-K47XWDLJ.js.map} +0 -0
- /package/dist/{cli-TM2JCTQT.js.map → cli-LP5OE3BL.js.map} +0 -0
- /package/dist/{cli-4RTNEVVX.js.map → cli-MOKRUHZT.js.map} +0 -0
- /package/dist/{config-7I5CHHRZ.js.map → config-BMWDC66C.js.map} +0 -0
- /package/dist/{github-BUK5CVQW.js.map → github-6GYTPSGV.js.map} +0 -0
- /package/dist/{github-CMAZWS76.js.map → github-DJOLVNDD.js.map} +0 -0
- /package/dist/{github-NXR4QMMM.js.map → github-ZF2TQ3RP.js.map} +0 -0
- /package/dist/{json-7Z2IFGB3.js.map → json-Y7625EFE.js.map} +0 -0
- /package/dist/{json-NZSGRYOE.js.map → json-YIK72XAL.js.map} +0 -0
- /package/dist/{labels-SE2WL7WD.js.map → labels-X633ZPK7.js.map} +0 -0
- /package/dist/{lint-VUYM5PPM.js.map → lint-RF3B55W7.js.map} +0 -0
- /package/dist/{list-4JGOXLOZ.js.map → list-5DW4QZ7P.js.map} +0 -0
- /package/dist/{list-LTF25DQE.js.map → list-7CHWJ633.js.map} +0 -0
- /package/dist/{list-WD3TZS5R.js.map → list-UNWG6NPD.js.map} +0 -0
- /package/dist/{page-A2Y4ZMV4.js.map → page-OMPEACUN.js.map} +0 -0
- /package/dist/{prepare-M2COBP5O.js.map → prepare-B4JVDVOV.js.map} +0 -0
- /package/dist/{pretty-D3DZFC5U.js.map → pretty-PPNHHOEN.js.map} +0 -0
- /package/dist/{pretty-R67YU6TU.js.map → pretty-U7ATCFBN.js.map} +0 -0
- /package/dist/{pretty-SFFOMSG5.js.map → pretty-XGYQ25PH.js.map} +0 -0
- /package/dist/{reporters-TO7Q6JYF.js.map → reporters-FAIEOTC4.js.map} +0 -0
- /package/dist/{reporters-UTLJVSWX.js.map → reporters-KE7AZR6C.js.map} +0 -0
- /package/dist/{run-BDGYRUXJ.js.map → run-MHJ3AYKG.js.map} +0 -0
- /package/dist/{sarif-EHAMGCVR.js.map → sarif-DOGRSGTB.js.map} +0 -0
- /package/dist/{sarif-GJYLRXLS.js.map → sarif-MIEMQOIK.js.map} +0 -0
- /package/dist/{sarif-IAGMXA6C.js.map → sarif-RGRG7VFX.js.map} +0 -0
- /package/dist/{term-AMORBEO7.js.map → term-MDN3NJDW.js.map} +0 -0
- /package/dist/{validate-CDTKFZUV.js.map → validate-QDYQ642J.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/site/cli.ts","../src/site/core/run.ts","../src/site/core/static-server.ts","../src/site/commands/run.ts"],"sourcesContent":["/**\n * The `site` domain's commander program. Mounted by `src/cli.ts` under\n * `manni site`; no entry point of its own. Like `key` (proposal 0045), `site`\n * is a family resource with verbs: the site every other domain checks\n * (proposal 0082). Four verbs, no default subcommand.\n *\n * `start`, `build` and `preview` print no report: the framework's output is\n * the output, on the inherited stdio. `annotate` (proposal 0095) prints its\n * own. manni's own lines are diagnostics on stderr. Exit `0` done, `2`\n * operational/usage, and never `1`, because nothing here is a finding.\n */\nimport { Command } from \"commander\";\nimport pkg from \"../../package.json\" with { type: \"json\" };\nimport { fail } from \"../shared/run.js\";\nimport { ANNOTATE_FORMATS, renderAnnotate, runAnnotate, type AnnotateFormat } from \"./commands/annotate.js\";\nimport { runSite } from \"./commands/run.js\";\nimport { SiteError } from \"./errors.js\";\nimport type { Verb } from \"./types.js\";\n\n/** What commander hands `annotate`'s action. */\ninterface AnnotateCliOptions {\n out?: string;\n chunks?: string;\n format: string;\n config?: string;\n}\n\nconst isAnnotateFormat = (value: string): value is AnnotateFormat => (ANNOTATE_FORMATS as readonly string[]).includes(value);\n\n/** What commander hands each verb's action. */\ninterface SiteCliOptions {\n /** `-c, --config <file>`. */\n config?: string;\n /** `--port <n>` as typed; `resolvePlan` validates it. start and preview only. */\n port?: string;\n /** `--host <host>`. start and preview only. */\n host?: string;\n}\n\n/**\n * Split a verb's operands into `[dir]` and what came after `--`.\n *\n * Commander drops the `--` itself, at whichever program met it first (here,\n * the umbrella), and hands everything after it on as operands. So `[dir]`\n * alone cannot tell `start -- --open` (no dir) from `start website`. The\n * process argv still has the `--`, and what follows it is the tail of the\n * operands; a tail that does not match (a program parsed from elsewhere) is\n * no passthrough at all.\n * ponytail: an option given `--` as its value (`--host --`) is misread as the\n * separator; nobody binds a host named `--`.\n */\nfunction splitOperands(args: readonly string[]): { dir: string | undefined; passthrough: string[]; extra: number } {\n const at = process.argv.indexOf(\"--\");\n const tail = at === -1 ? [] : process.argv.slice(at + 1);\n const start = args.length - tail.length;\n const passthrough = start >= 0 && tail.every((arg, i) => args[start + i] === arg) ? tail : [];\n const before = args.slice(0, args.length - passthrough.length);\n return { dir: before[0], passthrough, extra: before.length };\n}\n\nexport function buildProgram(): Command {\n const program = new Command();\n program\n .name(\"site\")\n .description(\"Start, build and preview the docs site\")\n .version(pkg.version, \"-V, --version\")\n // A pointer, not the whole help screen: the message that precedes it\n // already names the offending flag.\n .showHelpAfterError(\"(add --help for usage)\")\n // MUST come before the `.command()` calls below. `copyInheritedSettings`\n // copies `_exitCallback` by value at subcommand-creation time, so an\n // `exitOverride()` installed afterwards leaves every subcommand still\n // calling `process.exit(1)`.\n .exitOverride();\n\n const verb = (name: Verb, description: string, serves: boolean): void => {\n const cmd = program\n .command(name)\n .description(description)\n .argument(\"[dir]\", \"the site's directory (default: site.dir, else found by search)\")\n // Everything after `--` arrives as operands; splitOperands sorts them.\n .allowExcessArguments();\n if (serves) {\n cmd\n .option(\"--port <n>\", \"port, an integer from 1 to 65535 (default: a local collection url, else the framework's)\")\n .option(\"--host <host>\", \"host to bind (default: a local collection url, else the framework's)\");\n }\n cmd\n .option(\"-c, --config <file>\", \"path to a manni config file\")\n .action(async (_dir: string | undefined, options: SiteCliOptions, self: Command) => {\n const { dir, passthrough, extra } = splitOperands(self.args);\n if (extra > 1) {\n self.error(\n `error: too many arguments for '${name}'. Expected 1 argument but got ${String(extra)}.`,\n { code: \"commander.excessArguments\" },\n );\n }\n try {\n process.exitCode = await runSite(name, {\n cwd: process.cwd(),\n dir,\n configPath: options.config,\n port: options.port,\n host: options.host,\n passthrough,\n });\n } catch (err) {\n fail(err);\n }\n });\n };\n\n verb(\"start\", \"Run the docs framework's dev server\", true);\n verb(\"build\", \"Build the docs site\", false);\n verb(\"preview\", \"Build the docs site, then serve the output\", true);\n\n program\n .command(\"annotate\")\n .description(\"Join the graph's pins and statements to the built site, as data attributes\")\n .argument(\"[dir]\", \"the site's directory (default: site.dir, else found by search)\")\n .option(\"--out <dir>\", \"the built site to annotate (default: site.out, else the framework's output)\")\n .option(\"--chunks <file>\", \"the chunk manifest graph publish writes (default: chunks.json beside graph.out)\")\n .option(\"-f, --format <format>\", `output: ${ANNOTATE_FORMATS.join(\" | \")}`, \"pretty\")\n .option(\"-c, --config <file>\", \"path to a manni config file\")\n .action((dir: string | undefined, options: AnnotateCliOptions) => {\n try {\n const format = options.format;\n if (!isAnnotateFormat(format)) {\n throw new SiteError(`Unknown --format \"${format}\". Use ${ANNOTATE_FORMATS.join(\" or \")}.`);\n }\n const report = runAnnotate({\n cwd: process.cwd(),\n ...(dir === undefined ? {} : { dir }),\n ...(options.config === undefined ? {} : { configPath: options.config }),\n ...(options.out === undefined ? {} : { out: options.out }),\n ...(options.chunks === undefined ? {} : { chunks: options.chunks }),\n });\n process.stdout.write(`${renderAnnotate(report, format)}\n`);\n process.exitCode = 0;\n } catch (err) {\n fail(err);\n }\n });\n\n program.addHelpText(\n \"after\",\n [\n \"\",\n \"Examples:\",\n \" manni site start # detect the framework, run its dev server\",\n \" manni site build\",\n \" manni site preview --port 4000 # build, then serve the output\",\n \" manni site start website -- --open # arguments after -- go to the framework\",\n \" manni site annotate # join the graph's pins to the built site\",\n ].join(\"\\n\"),\n );\n\n return program;\n}\n","/**\n * The runner: carries out a `Plan` step by step, with the child's stdio\n * inherited so the framework's own output is the output. No timeout, because\n * the last step of `start` and `preview` is a server that runs until Ctrl-C.\n */\nimport { spawn, type ChildProcess } from \"node:child_process\";\nimport { accessSync, constants, statSync } from \"node:fs\";\nimport { delimiter, resolve } from \"node:path\";\nimport { launcherCommandLine } from \"../../shared/batch-launcher.js\";\nimport { notice } from \"../../shared/warn.js\";\nimport { renderAnnotate, runAnnotate } from \"../commands/annotate.js\";\nimport { SiteError } from \"../errors.js\";\nimport type { Plan, PlannedStep, Step } from \"../types.js\";\nimport { serveStatic } from \"./static-server.js\";\n\nfunction isExecutable(path: string): boolean {\n try {\n if (!statSync(path).isFile()) return false;\n if (process.platform !== \"win32\") accessSync(path, constants.X_OK);\n return true;\n } catch {\n return false;\n }\n}\n\n/**\n * Where `name` resolves, the way the OS would find it: a name with a separator\n * against `cwd`, a bare one along PATH. On Windows a name without one of\n * PATHEXT's extensions is tried with each in turn, so `npm` finds `npm.cmd`.\n */\nfunction findOnPath(name: string, cwd: string): string | undefined {\n const win = process.platform === \"win32\";\n const exts = win\n ? (process.env[\"PATHEXT\"] ?? \".COM;.EXE;.BAT;.CMD\").split(\";\").filter((e) => e !== \"\")\n : [];\n const lower = name.toLowerCase();\n const names =\n win && !exts.some((e) => lower.endsWith(e.toLowerCase())) ? exts.map((e) => name + e) : [name];\n const dirs = /[\\\\/]/.test(name)\n ? [cwd]\n : (process.env[\"PATH\"] ?? \"\").split(delimiter).filter((d) => d !== \"\");\n for (const dir of dirs) {\n for (const candidate of names) {\n const path = resolve(dir, candidate);\n if (isExecutable(path)) return path;\n }\n }\n return undefined;\n}\n\nfunction startExec(planned: PlannedStep, step: Extract<Step, { kind: \"exec\" }>): ChildProcess {\n const [name, ...args] = step.argv;\n const binary = name === undefined ? undefined : findOnPath(name, step.cwd);\n if (binary === undefined) throw new SiteError(planned.notFound);\n const line = launcherCommandLine(\n binary,\n args,\n (value) => new SiteError(`${planned.display} cannot be given an argument containing a quote: ${value}`),\n );\n return spawn(line.command, line.argv, {\n cwd: step.cwd,\n stdio: \"inherit\",\n windowsVerbatimArguments: line.verbatim,\n });\n}\n\nfunction exitOf(\n planned: PlannedStep,\n child: ChildProcess,\n): Promise<{ code: number | null; signal: NodeJS.Signals | null }> {\n return new Promise((settle, reject) => {\n child.once(\"error\", (err: NodeJS.ErrnoException) => {\n reject(\n err.code === \"ENOENT\"\n ? new SiteError(planned.notFound)\n : new SiteError(`${planned.display} could not start: ${err.message}`),\n );\n });\n child.once(\"exit\", (code, signal) => {\n settle({ code, signal });\n });\n });\n}\n\n/**\n * One step; resolves true when the user stopped it. While any step runs this\n * process ignores SIGINT itself (the terminal delivers Ctrl-C to the whole\n * process group, child included) and forwards SIGTERM, which reaches this\n * process alone, so a cancelled build is not left running. An exit after\n * either is a stop the user asked for, so it is not a failure whatever code\n * the child chose. Otherwise the step must exit 0.\n */\nasync function runStep(planned: PlannedStep): Promise<boolean> {\n const { step } = planned;\n if (step.kind === \"static\") {\n await serveStatic(step);\n return true;\n }\n if (step.kind === \"annotate\") {\n const { cwd, dir, configPath } = step;\n const report = runAnnotate({ cwd, dir, ...(configPath === undefined ? {} : { configPath }) });\n process.stdout.write(`${renderAnnotate(report, \"pretty\")}\n`);\n return false;\n }\n const child =\n step.kind === \"exec\"\n ? startExec(planned, step)\n : spawn(step.command, { cwd: step.cwd, stdio: \"inherit\", shell: true });\n // An object, not a `let`: TypeScript cannot see the handlers assign it.\n const signal = { received: false };\n const onInt = (): void => {\n signal.received = true;\n };\n const onTerm = (): void => {\n signal.received = true;\n child.kill(\"SIGTERM\");\n };\n process.on(\"SIGINT\", onInt);\n process.on(\"SIGTERM\", onTerm);\n try {\n const exit = await exitOf(planned, child);\n if (signal.received) return true;\n if (exit.code === 0) return false;\n throw new SiteError(\n exit.code === null\n ? `${planned.display} was stopped by ${String(exit.signal)}.`\n : `${planned.display} exited with code ${String(exit.code)}.`,\n );\n } finally {\n process.off(\"SIGINT\", onInt);\n process.off(\"SIGTERM\", onTerm);\n }\n}\n\n/** Run every step in order. Resolves the exit code, 0; a failure throws `SiteError`. */\nexport async function runPlan(plan: Plan): Promise<number> {\n for (const planned of plan.steps) {\n if (planned.announce !== \"\") notice(planned.announce);\n // A stop during the build ends the run there: nothing is served.\n if (await runStep(planned)) break;\n }\n return 0;\n}\n","/**\n * The built-in static server `manni site preview` uses for frameworks whose\n * own CLI has no preview (MkDocs, Zensical, Sphinx, Hugo, Jekyll). It serves a\n * build output directory, mounted at the collection `url:` path, until the\n * process is stopped. `node:http` and `node:fs` only.\n */\nimport { createReadStream } from \"node:fs\";\nimport { stat } from \"node:fs/promises\";\nimport { createServer, type IncomingMessage, type Server, type ServerResponse } from \"node:http\";\nimport type { AddressInfo } from \"node:net\";\nimport { extname, join, relative, resolve, sep } from \"node:path\";\nimport { errorMessage } from \"../../shared/errors.js\";\nimport { SiteError } from \"../errors.js\";\n\nexport interface StaticOptions {\n root: string;\n host: string;\n port: number;\n /** The URL path the root is mounted at, e.g. `/manni/`. */\n base: string;\n}\n\n// ponytail: the types a static docs build ships. Anything else goes out as\n// application/octet-stream; add a row when a site needs one.\nconst MIME: Record<string, string> = {\n \".html\": \"text/html; charset=utf-8\",\n \".css\": \"text/css; charset=utf-8\",\n \".js\": \"text/javascript; charset=utf-8\",\n \".mjs\": \"text/javascript; charset=utf-8\",\n \".json\": \"application/json; charset=utf-8\",\n \".map\": \"application/json; charset=utf-8\",\n \".txt\": \"text/plain; charset=utf-8\",\n \".xml\": \"application/xml; charset=utf-8\",\n \".svg\": \"image/svg+xml\",\n \".png\": \"image/png\",\n \".jpg\": \"image/jpeg\",\n \".jpeg\": \"image/jpeg\",\n \".gif\": \"image/gif\",\n \".webp\": \"image/webp\",\n \".avif\": \"image/avif\",\n \".ico\": \"image/x-icon\",\n \".woff\": \"font/woff\",\n \".woff2\": \"font/woff2\",\n \".ttf\": \"font/ttf\",\n \".wasm\": \"application/wasm\",\n \".pdf\": \"application/pdf\",\n \".webmanifest\": \"application/manifest+json\",\n};\n\n/** `/manni/` from `manni`, `/manni` or `/manni/`; `/` from `/` or empty. */\nfunction normalizeBase(base: string): string {\n const trimmed = base.replace(/^\\/+|\\/+$/g, \"\");\n return trimmed === \"\" ? \"/\" : `/${trimmed}/`;\n}\n\nasync function kindOf(path: string): Promise<\"file\" | \"dir\" | undefined> {\n try {\n const s = await stat(path);\n if (s.isDirectory()) return \"dir\";\n return s.isFile() ? \"file\" : undefined;\n } catch {\n return undefined;\n }\n}\n\nfunction sendFile(req: IncomingMessage, res: ServerResponse, path: string, status = 200): void {\n res.writeHead(status, {\n \"content-type\": MIME[extname(path).toLowerCase()] ?? \"application/octet-stream\",\n });\n if (req.method === \"HEAD\") {\n res.end();\n return;\n }\n createReadStream(path)\n .on(\"error\", () => res.destroy())\n .pipe(res);\n}\n\nfunction redirect(res: ServerResponse, status: 301 | 302, location: string): void {\n res.writeHead(status, { location });\n res.end();\n}\n\n/**\n * The file inside `root` a URL path below the base names, or undefined when it\n * names nothing inside it. The URL parser has already collapsed `..` and\n * `%2e%2e` segments; what it leaves are encoded separators (`..%2f`, `..%5c`),\n * so the decoded path is checked for `..` segments and then for containment.\n * Both layers are needed: the parser normalises before it decodes, so a `..`\n * hidden behind an encoded separator only appears after this decode.\n */\nfunction inside(root: string, rest: string): string | undefined {\n let decoded: string;\n try {\n decoded = decodeURIComponent(rest);\n } catch {\n return undefined;\n }\n if (decoded.includes(\"\\0\") || decoded.split(/[\\\\/]/).includes(\"..\")) return undefined;\n const path = resolve(root, `.${sep}${decoded}`);\n return path === root || path.startsWith(root + sep) ? path : undefined;\n}\n\nfunction handler(root: string, base: string) {\n const notFound = join(root, \"404.html\");\n return async (req: IncomingMessage, res: ServerResponse): Promise<void> => {\n if (req.method !== \"GET\" && req.method !== \"HEAD\") {\n res.writeHead(405, { allow: \"GET, HEAD\" });\n res.end();\n return;\n }\n const url = new URL(req.url ?? \"/\", \"http://localhost\");\n const { pathname } = url;\n if (base !== \"/\" && (pathname === \"/\" || pathname === base.slice(0, -1))) {\n redirect(res, pathname === \"/\" ? 302 : 301, `${base}${url.search}`);\n return;\n }\n const path = pathname.startsWith(base) ? inside(root, pathname.slice(base.length)) : undefined;\n const kind = path === undefined ? undefined : await kindOf(path);\n if (path !== undefined && kind === \"dir\" && !pathname.endsWith(\"/\")) {\n redirect(res, 301, `${pathname}/${url.search}`);\n return;\n }\n const file = path !== undefined && kind === \"dir\" ? join(path, \"index.html\") : path;\n if (file !== undefined && (await kindOf(file)) === \"file\") {\n sendFile(req, res, file);\n } else if ((await kindOf(notFound)) === \"file\") {\n sendFile(req, res, notFound, 404);\n } else {\n res.writeHead(404, { \"content-type\": \"text/plain; charset=utf-8\" });\n res.end(\"Not found\\n\");\n }\n };\n}\n\nfunction urlOf(host: string, port: number, base: string): string {\n const shown = host.includes(\":\") ? `[${host}]` : host;\n return `http://${shown}:${String(port)}${base}`;\n}\n\n/**\n * Serve `root` at `base` on `host:port` and print the URL to stdout once\n * listening. Resolves with the listening server; the caller closes it.\n */\nexport async function startStaticServer(opts: StaticOptions): Promise<Server> {\n const root = resolve(opts.root);\n if ((await kindOf(root)) !== \"dir\") {\n const shown = relative(process.cwd(), root).split(sep).join(\"/\") || \".\";\n throw new SiteError(`${shown}/ does not exist.`);\n }\n const base = normalizeBase(opts.base);\n const handle = handler(root, base);\n const server = createServer((req, res) => {\n handle(req, res).catch(() => res.destroy());\n });\n await new Promise<void>((settle, reject) => {\n server.once(\"error\", (err: NodeJS.ErrnoException) => {\n reject(\n new SiteError(\n err.code === \"EADDRINUSE\"\n ? `port ${String(opts.port)} is in use. Pass --port, or stop the process holding it.`\n : `cannot listen on ${urlOf(opts.host, opts.port, \"\")}: ${errorMessage(err)}`,\n ),\n );\n });\n server.listen(opts.port, opts.host, settle);\n });\n const { port } = server.address() as AddressInfo;\n process.stdout.write(`${urlOf(opts.host, port, base)}\\n`);\n return server;\n}\n\n/** Serve until SIGINT or SIGTERM, then close the server and resolve. */\nexport async function serveStatic(opts: StaticOptions): Promise<void> {\n const server = await startStaticServer(opts);\n await new Promise<void>((settle) => {\n const stop = (): void => {\n process.off(\"SIGINT\", stop);\n process.off(\"SIGTERM\", stop);\n server.close(() => {\n settle();\n });\n server.closeAllConnections();\n };\n process.on(\"SIGINT\", stop);\n process.on(\"SIGTERM\", stop);\n });\n}\n","/**\n * The one command core behind `start`, `build` and `preview`: resolve the\n * verb to a plan, then run it. The three verbs differ only in the plan, which\n * `resolvePlan` owns, so they share this core rather than three copies of it.\n */\nimport { resolvePlan, type ResolveOptions } from \"../core/detect.js\";\nimport { runPlan } from \"../core/run.js\";\nimport type { Verb } from \"../types.js\";\n\n/** Resolves the exit code, 0; anything operational throws `SiteError`. */\nexport async function runSite(verb: Verb, opts: ResolveOptions): Promise<number> {\n return runPlan(resolvePlan(verb, opts));\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,SAAS,eAAe;;;ACNxB,SAAS,aAAgC;AACzC,SAAS,YAAY,WAAW,gBAAgB;AAChD,SAAS,WAAW,WAAAA,gBAAe;;;ACDnC,S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A,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF,EAAE,KAAK,IAAI;AAAA,EACb;AAEA,SAAO;AACT;","names":["resolve","resolve"]}
|
|
1
|
+
{"version":3,"sources":["../src/site/cli.ts","../src/site/core/run.ts","../src/site/core/static-server.ts","../src/site/commands/run.ts"],"sourcesContent":["/**\n * The `site` domain's commander program. Mounted by `src/cli.ts` under\n * `manni site`; no entry point of its own. Like `key` (proposal 0045), `site`\n * is a family resource with verbs: the site every other domain checks\n * (proposal 0082). Four verbs, no default subcommand.\n *\n * `start`, `build` and `preview` print no report: the framework's output is\n * the output, on the inherited stdio. `annotate` (proposal 0095) prints its\n * own. manni's own lines are diagnostics on stderr. Exit `0` done, `2`\n * operational/usage, and never `1`, because nothing here is a finding.\n */\nimport { Command } from \"commander\";\nimport pkg from \"../../package.json\" with { type: \"json\" };\nimport { fail } from \"../shared/run.js\";\nimport { ANNOTATE_FORMATS, renderAnnotate, runAnnotate, type AnnotateFormat } from \"./commands/annotate.js\";\nimport { runSite } from \"./commands/run.js\";\nimport { SiteError } from \"./errors.js\";\nimport type { Verb } from \"./types.js\";\n\n/** What commander hands `annotate`'s action. */\ninterface AnnotateCliOptions {\n out?: string;\n chunks?: string;\n format: string;\n config?: string;\n}\n\nconst isAnnotateFormat = (value: string): value is AnnotateFormat => (ANNOTATE_FORMATS as readonly string[]).includes(value);\n\n/** What commander hands each verb's action. */\ninterface SiteCliOptions {\n /** `-c, --config <file>`. */\n config?: string;\n /** `--port <n>` as typed; `resolvePlan` validates it. start and preview only. */\n port?: string;\n /** `--host <host>`. start and preview only. */\n host?: string;\n}\n\n/**\n * Split a verb's operands into `[dir]` and what came after `--`.\n *\n * Commander drops the `--` itself, at whichever program met it first (here,\n * the umbrella), and hands everything after it on as operands. So `[dir]`\n * alone cannot tell `start -- --open` (no dir) from `start website`. The\n * process argv still has the `--`, and what follows it is the tail of the\n * operands; a tail that does not match (a program parsed from elsewhere) is\n * no passthrough at all.\n * ponytail: an option given `--` as its value (`--host --`) is misread as the\n * separator; nobody binds a host named `--`.\n */\nfunction splitOperands(args: readonly string[]): { dir: string | undefined; passthrough: string[]; extra: number } {\n const at = process.argv.indexOf(\"--\");\n const tail = at === -1 ? [] : process.argv.slice(at + 1);\n const start = args.length - tail.length;\n const passthrough = start >= 0 && tail.every((arg, i) => args[start + i] === arg) ? tail : [];\n const before = args.slice(0, args.length - passthrough.length);\n return { dir: before[0], passthrough, extra: before.length };\n}\n\nexport function buildProgram(): Command {\n const program = new Command();\n program\n .name(\"site\")\n .description(\"Start, build and preview the docs site\")\n .version(pkg.version, \"-V, --version\")\n // A pointer, not the whole help screen: the message that precedes it\n // already names the offending flag.\n .showHelpAfterError(\"(add --help for usage)\")\n // MUST come before the `.command()` calls below. `copyInheritedSettings`\n // copies `_exitCallback` by value at subcommand-creation time, so an\n // `exitOverride()` installed afterwards leaves every subcommand still\n // calling `process.exit(1)`.\n .exitOverride();\n\n const verb = (name: Verb, description: string, serves: boolean): void => {\n const cmd = program\n .command(name)\n .description(description)\n .argument(\"[dir]\", \"the site's directory (default: site.dir, else found by search)\")\n // Everything after `--` arrives as operands; splitOperands sorts them.\n .allowExcessArguments();\n if (serves) {\n cmd\n .option(\"--port <n>\", \"port, an integer from 1 to 65535 (default: a local collection url, else the framework's)\")\n .option(\"--host <host>\", \"host to bind (default: a local collection url, else the framework's)\");\n }\n cmd\n .option(\"-c, --config <file>\", \"path to a manni config file\")\n .action(async (_dir: string | undefined, options: SiteCliOptions, self: Command) => {\n const { dir, passthrough, extra } = splitOperands(self.args);\n if (extra > 1) {\n self.error(\n `error: too many arguments for '${name}'. Expected 1 argument but got ${String(extra)}.`,\n { code: \"commander.excessArguments\" },\n );\n }\n try {\n process.exitCode = await runSite(name, {\n cwd: process.cwd(),\n dir,\n configPath: options.config,\n port: options.port,\n host: options.host,\n passthrough,\n });\n } catch (err) {\n fail(err);\n }\n });\n };\n\n verb(\"start\", \"Run the docs framework's dev server\", true);\n verb(\"build\", \"Build the docs site\", false);\n verb(\"preview\", \"Build the docs site, then serve the output\", true);\n\n program\n .command(\"annotate\")\n .description(\"Join the graph's pins and statements to the built site, as data attributes\")\n .argument(\"[dir]\", \"the site's directory (default: site.dir, else found by search)\")\n .option(\"--out <dir>\", \"the built site to annotate (default: site.out, else the framework's output)\")\n .option(\"--chunks <file>\", \"the chunk manifest graph publish writes (default: chunks.json beside graph.out)\")\n .option(\"-f, --format <format>\", `output: ${ANNOTATE_FORMATS.join(\" | \")}`, \"pretty\")\n .option(\"-c, --config <file>\", \"path to a manni config file\")\n .action((dir: string | undefined, options: AnnotateCliOptions) => {\n try {\n const format = options.format;\n if (!isAnnotateFormat(format)) {\n throw new SiteError(`Unknown --format \"${format}\". Use ${ANNOTATE_FORMATS.join(\" or \")}.`);\n }\n const report = runAnnotate({\n cwd: process.cwd(),\n ...(dir === undefined ? {} : { dir }),\n ...(options.config === undefined ? {} : { configPath: options.config }),\n ...(options.out === undefined ? {} : { out: options.out }),\n ...(options.chunks === undefined ? {} : { chunks: options.chunks }),\n });\n process.stdout.write(`${renderAnnotate(report, format)}\n`);\n process.exitCode = 0;\n } catch (err) {\n fail(err);\n }\n });\n\n program.addHelpText(\n \"after\",\n [\n \"\",\n \"Examples:\",\n \" manni site start # detect the framework, run its dev server\",\n \" manni site build\",\n \" manni site preview --port 4000 # build, then serve the output\",\n \" manni site start website -- --open # arguments after -- go to the framework\",\n \" manni site annotate # join the graph's pins to the built site\",\n ].join(\"\\n\"),\n );\n\n return program;\n}\n","/**\n * The runner: carries out a `Plan` step by step, with the child's stdio\n * inherited so the framework's own output is the output. No timeout, because\n * the last step of `start` and `preview` is a server that runs until Ctrl-C.\n */\nimport { spawn, type ChildProcess } from \"node:child_process\";\nimport { accessSync, constants, statSync } from \"node:fs\";\nimport { delimiter, resolve } from \"node:path\";\nimport { launcherCommandLine } from \"../../shared/batch-launcher.js\";\nimport { notice } from \"../../shared/warn.js\";\nimport { renderAnnotate, runAnnotate } from \"../commands/annotate.js\";\nimport { SiteError } from \"../errors.js\";\nimport type { Plan, PlannedStep, Step } from \"../types.js\";\nimport { serveStatic } from \"./static-server.js\";\n\nfunction isExecutable(path: string): boolean {\n try {\n if (!statSync(path).isFile()) return false;\n if (process.platform !== \"win32\") accessSync(path, constants.X_OK);\n return true;\n } catch {\n return false;\n }\n}\n\n/**\n * Where `name` resolves, the way the OS would find it: a name with a separator\n * against `cwd`, a bare one along PATH. On Windows a name without one of\n * PATHEXT's extensions is tried with each in turn, so `npm` finds `npm.cmd`.\n */\nfunction findOnPath(name: string, cwd: string): string | undefined {\n const win = process.platform === \"win32\";\n const exts = win\n ? (process.env[\"PATHEXT\"] ?? \".COM;.EXE;.BAT;.CMD\").split(\";\").filter((e) => e !== \"\")\n : [];\n const lower = name.toLowerCase();\n const names =\n win && !exts.some((e) => lower.endsWith(e.toLowerCase())) ? exts.map((e) => name + e) : [name];\n const dirs = /[\\\\/]/.test(name)\n ? [cwd]\n : (process.env[\"PATH\"] ?? \"\").split(delimiter).filter((d) => d !== \"\");\n for (const dir of dirs) {\n for (const candidate of names) {\n const path = resolve(dir, candidate);\n if (isExecutable(path)) return path;\n }\n }\n return undefined;\n}\n\nfunction startExec(planned: PlannedStep, step: Extract<Step, { kind: \"exec\" }>): ChildProcess {\n const [name, ...args] = step.argv;\n const binary = name === undefined ? undefined : findOnPath(name, step.cwd);\n if (binary === undefined) throw new SiteError(planned.notFound);\n const line = launcherCommandLine(\n binary,\n args,\n (value) => new SiteError(`${planned.display} cannot be given an argument containing a quote: ${value}`),\n );\n return spawn(line.command, line.argv, {\n cwd: step.cwd,\n stdio: \"inherit\",\n windowsVerbatimArguments: line.verbatim,\n });\n}\n\nfunction exitOf(\n planned: PlannedStep,\n child: ChildProcess,\n): Promise<{ code: number | null; signal: NodeJS.Signals | null }> {\n return new Promise((settle, reject) => {\n child.once(\"error\", (err: NodeJS.ErrnoException) => {\n reject(\n err.code === \"ENOENT\"\n ? new SiteError(planned.notFound)\n : new SiteError(`${planned.display} could not start: ${err.message}`),\n );\n });\n child.once(\"exit\", (code, signal) => {\n settle({ code, signal });\n });\n });\n}\n\n/**\n * One step; resolves true when the user stopped it. While any step runs this\n * process ignores SIGINT itself (the terminal delivers Ctrl-C to the whole\n * process group, child included) and forwards SIGTERM, which reaches this\n * process alone, so a cancelled build is not left running. An exit after\n * either is a stop the user asked for, so it is not a failure whatever code\n * the child chose. Otherwise the step must exit 0.\n */\nasync function runStep(planned: PlannedStep): Promise<boolean> {\n const { step } = planned;\n if (step.kind === \"static\") {\n await serveStatic(step);\n return true;\n }\n if (step.kind === \"annotate\") {\n const { cwd, dir, configPath } = step;\n const report = runAnnotate({ cwd, dir, ...(configPath === undefined ? {} : { configPath }) });\n process.stdout.write(`${renderAnnotate(report, \"pretty\")}\n`);\n return false;\n }\n const child =\n step.kind === \"exec\"\n ? startExec(planned, step)\n : spawn(step.command, { cwd: step.cwd, stdio: \"inherit\", shell: true });\n // An object, not a `let`: TypeScript cannot see the handlers assign it.\n const signal = { received: false };\n const onInt = (): void => {\n signal.received = true;\n };\n const onTerm = (): void => {\n signal.received = true;\n child.kill(\"SIGTERM\");\n };\n process.on(\"SIGINT\", onInt);\n process.on(\"SIGTERM\", onTerm);\n try {\n const exit = await exitOf(planned, child);\n if (signal.received) return true;\n if (exit.code === 0) return false;\n throw new SiteError(\n exit.code === null\n ? `${planned.display} was stopped by ${String(exit.signal)}.`\n : `${planned.display} exited with code ${String(exit.code)}.`,\n );\n } finally {\n process.off(\"SIGINT\", onInt);\n process.off(\"SIGTERM\", onTerm);\n }\n}\n\n/** Run every step in order. Resolves the exit code, 0; a failure throws `SiteError`. */\nexport async function runPlan(plan: Plan): Promise<number> {\n for (const planned of plan.steps) {\n if (planned.announce !== \"\") notice(planned.announce);\n // A stop during the build ends the run there: nothing is served.\n if (await runStep(planned)) break;\n }\n return 0;\n}\n","/**\n * The built-in static server `manni site preview` uses for frameworks whose\n * own CLI has no preview (MkDocs, Zensical, Sphinx, Hugo, Jekyll). It serves a\n * build output directory, mounted at the collection `url:` path, until the\n * process is stopped. `node:http` and `node:fs` only.\n */\nimport { createReadStream } from \"node:fs\";\nimport { stat } from \"node:fs/promises\";\nimport { createServer, type IncomingMessage, type Server, type ServerResponse } from \"node:http\";\nimport type { AddressInfo } from \"node:net\";\nimport { extname, join, relative, resolve, sep } from \"node:path\";\nimport { errorMessage } from \"../../shared/errors.js\";\nimport { SiteError } from \"../errors.js\";\n\nexport interface StaticOptions {\n root: string;\n host: string;\n port: number;\n /** The URL path the root is mounted at, e.g. `/manni/`. */\n base: string;\n}\n\n// ponytail: the types a static docs build ships. Anything else goes out as\n// application/octet-stream; add a row when a site needs one.\nconst MIME: Record<string, string> = {\n \".html\": \"text/html; charset=utf-8\",\n \".css\": \"text/css; charset=utf-8\",\n \".js\": \"text/javascript; charset=utf-8\",\n \".mjs\": \"text/javascript; charset=utf-8\",\n \".json\": \"application/json; charset=utf-8\",\n \".map\": \"application/json; charset=utf-8\",\n \".txt\": \"text/plain; charset=utf-8\",\n \".xml\": \"application/xml; charset=utf-8\",\n \".svg\": \"image/svg+xml\",\n \".png\": \"image/png\",\n \".jpg\": \"image/jpeg\",\n \".jpeg\": \"image/jpeg\",\n \".gif\": \"image/gif\",\n \".webp\": \"image/webp\",\n \".avif\": \"image/avif\",\n \".ico\": \"image/x-icon\",\n \".woff\": \"font/woff\",\n \".woff2\": \"font/woff2\",\n \".ttf\": \"font/ttf\",\n \".wasm\": \"application/wasm\",\n \".pdf\": \"application/pdf\",\n \".webmanifest\": \"application/manifest+json\",\n};\n\n/** `/manni/` from `manni`, `/manni` or `/manni/`; `/` from `/` or empty. */\nfunction normalizeBase(base: string): string {\n const trimmed = base.replace(/^\\/+|\\/+$/g, \"\");\n return trimmed === \"\" ? \"/\" : `/${trimmed}/`;\n}\n\nasync function kindOf(path: string): Promise<\"file\" | \"dir\" | undefined> {\n try {\n const s = await stat(path);\n if (s.isDirectory()) return \"dir\";\n return s.isFile() ? \"file\" : undefined;\n } catch {\n return undefined;\n }\n}\n\nfunction sendFile(req: IncomingMessage, res: ServerResponse, path: string, status = 200): void {\n res.writeHead(status, {\n \"content-type\": MIME[extname(path).toLowerCase()] ?? \"application/octet-stream\",\n });\n if (req.method === \"HEAD\") {\n res.end();\n return;\n }\n createReadStream(path)\n .on(\"error\", () => res.destroy())\n .pipe(res);\n}\n\nfunction redirect(res: ServerResponse, status: 301 | 302, location: string): void {\n res.writeHead(status, { location });\n res.end();\n}\n\n/**\n * The file inside `root` a URL path below the base names, or undefined when it\n * names nothing inside it. The URL parser has already collapsed `..` and\n * `%2e%2e` segments; what it leaves are encoded separators (`..%2f`, `..%5c`),\n * so the decoded path is checked for `..` segments and then for containment.\n * Both layers are needed: the parser normalises before it decodes, so a `..`\n * hidden behind an encoded separator only appears after this decode.\n */\nfunction inside(root: string, rest: string): string | undefined {\n let decoded: string;\n try {\n decoded = decodeURIComponent(rest);\n } catch {\n return undefined;\n }\n if (decoded.includes(\"\\0\") || decoded.split(/[\\\\/]/).includes(\"..\")) return undefined;\n const path = resolve(root, `.${sep}${decoded}`);\n return path === root || path.startsWith(root + sep) ? path : undefined;\n}\n\nfunction handler(root: string, base: string) {\n const notFound = join(root, \"404.html\");\n return async (req: IncomingMessage, res: ServerResponse): Promise<void> => {\n if (req.method !== \"GET\" && req.method !== \"HEAD\") {\n res.writeHead(405, { allow: \"GET, HEAD\" });\n res.end();\n return;\n }\n const url = new URL(req.url ?? \"/\", \"http://localhost\");\n const { pathname } = url;\n if (base !== \"/\" && (pathname === \"/\" || pathname === base.slice(0, -1))) {\n redirect(res, pathname === \"/\" ? 302 : 301, `${base}${url.search}`);\n return;\n }\n const path = pathname.startsWith(base) ? inside(root, pathname.slice(base.length)) : undefined;\n const kind = path === undefined ? undefined : await kindOf(path);\n if (path !== undefined && kind === \"dir\" && !pathname.endsWith(\"/\")) {\n redirect(res, 301, `${pathname}/${url.search}`);\n return;\n }\n const file = path !== undefined && kind === \"dir\" ? join(path, \"index.html\") : path;\n if (file !== undefined && (await kindOf(file)) === \"file\") {\n sendFile(req, res, file);\n } else if ((await kindOf(notFound)) === \"file\") {\n sendFile(req, res, notFound, 404);\n } else {\n res.writeHead(404, { \"content-type\": \"text/plain; charset=utf-8\" });\n res.end(\"Not found\\n\");\n }\n };\n}\n\nfunction urlOf(host: string, port: number, base: string): string {\n const shown = host.includes(\":\") ? `[${host}]` : host;\n return `http://${shown}:${String(port)}${base}`;\n}\n\n/**\n * Serve `root` at `base` on `host:port` and print the URL to stdout once\n * listening. Resolves with the listening server; the caller closes it.\n */\nexport async function startStaticServer(opts: StaticOptions): Promise<Server> {\n const root = resolve(opts.root);\n if ((await kindOf(root)) !== \"dir\") {\n const shown = relative(process.cwd(), root).split(sep).join(\"/\") || \".\";\n throw new SiteError(`${shown}/ does not exist.`);\n }\n const base = normalizeBase(opts.base);\n const handle = handler(root, base);\n const server = createServer((req, res) => {\n handle(req, res).catch(() => res.destroy());\n });\n await new Promise<void>((settle, reject) => {\n server.once(\"error\", (err: NodeJS.ErrnoException) => {\n reject(\n new SiteError(\n err.code === \"EADDRINUSE\"\n ? `port ${String(opts.port)} is in use. Pass --port, or stop the process holding it.`\n : `cannot listen on ${urlOf(opts.host, opts.port, \"\")}: ${errorMessage(err)}`,\n ),\n );\n });\n server.listen(opts.port, opts.host, settle);\n });\n const { port } = server.address() as AddressInfo;\n process.stdout.write(`${urlOf(opts.host, port, base)}\\n`);\n return server;\n}\n\n/** Serve until SIGINT or SIGTERM, then close the server and resolve. */\nexport async function serveStatic(opts: StaticOptions): Promise<void> {\n const server = await startStaticServer(opts);\n await new Promise<void>((settle) => {\n const stop = (): void => {\n process.off(\"SIGINT\", stop);\n process.off(\"SIGTERM\", stop);\n server.close(() => {\n settle();\n });\n server.closeAllConnections();\n };\n process.on(\"SIGINT\", stop);\n process.on(\"SIGTERM\", stop);\n });\n}\n","/**\n * The one command core behind `start`, `build` and `preview`: resolve the\n * verb to a plan, then run it. The three verbs differ only in the plan, which\n * `resolvePlan` owns, so they share this core rather than three copies of it.\n */\nimport { resolvePlan, type ResolveOptions } from \"../core/detect.js\";\nimport { runPlan } from \"../core/run.js\";\nimport type { Verb } from \"../types.js\";\n\n/** Resolves the exit code, 0; anything operational throws `SiteError`. */\nexport async function runSite(verb: Verb, opts: ResolveOptions): Promise<number> {\n return runPlan(resolvePlan(verb, opts));\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,SAAS,eAAe;;;ACNxB,SAAS,aAAgC;AACzC,SAAS,YAAY,WAAW,gBAAgB;AAChD,SAAS,WAAW,WAAAA,gBAAe;;;ACDnC,SAAS,wBAAwB;AACjC,SAAS,YAAY;AACrB,SAAS,oBAA4E;AAErF,SAAS,SAAS,MAAM,UAAU,SAAS,WAAW;AActD,IAAM,OAA+B;AAAA,EACnC,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,gBAAgB;AAClB;AAGA,SAAS,cAAc,MAAsB;AAC3C,QAAM,UAAU,KAAK,QAAQ,cAAc,EAAE;AAC7C,SAAO,YAAY,KAAK,MAAM,IAAI,OAAO;AAC3C;AAEA,eAAe,OAAO,MAAmD;AACvE,MAAI;AACF,UAAM,IAAI,MAAM,KAAK,IAAI;AACzB,QAAI,EAAE,YAAY,EAAG,QAAO;AAC5B,WAAO,EAAE,OAAO,IAAI,SAAS;AAAA,EAC/B,QAAQ;AACN,WAAO;AAAA,EACT;AACF;AAEA,SAAS,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ACrE,GAAI,QAAQ,QAAQ,SAAY,CAAC,IAAI,EAAE,KAAK,QAAQ,IAAI;AAAA,QACxD,GAAI,QAAQ,WAAW,SAAY,CAAC,IAAI,EAAE,QAAQ,QAAQ,OAAO;AAAA,MACnE,CAAC;AACD,cAAQ,OAAO,MAAM,GAAG,eAAe,QAAQ,MAAM,CAAC;AAAA,CAC7D;AACO,cAAQ,WAAW;AAAA,IACrB,SAAS,KAAK;AACZ,WAAK,GAAG;AAAA,IACV;AAAA,EACF,CAAC;AAEH,UAAQ;AAAA,IACN;AAAA,IACA;AAAA,MACE;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF,EAAE,KAAK,IAAI;AAAA,EACb;AAEA,SAAO;AACT;","names":["resolve","resolve"]}
|
|
@@ -29,7 +29,7 @@ import "./chunk-HX44GB4Z.js";
|
|
|
29
29
|
import "./chunk-VM7VAFJW.js";
|
|
30
30
|
import {
|
|
31
31
|
package_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-JQA6RF4R.js";
|
|
33
33
|
import {
|
|
34
34
|
programName
|
|
35
35
|
} from "./chunk-OWBRDNRZ.js";
|
|
@@ -1245,4 +1245,4 @@ export {
|
|
|
1245
1245
|
resolveCrawl,
|
|
1246
1246
|
resolveMaxPages
|
|
1247
1247
|
};
|
|
1248
|
-
//# sourceMappingURL=cli-
|
|
1248
|
+
//# sourceMappingURL=cli-FSDJY5OC.js.map
|
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
runTemplates,
|
|
10
10
|
runTemplatesInfer,
|
|
11
11
|
runTools
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-CREFJCWZ.js";
|
|
13
13
|
import {
|
|
14
14
|
render,
|
|
15
15
|
renderTemplates,
|
|
16
16
|
renderTools
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-V2XJJEEF.js";
|
|
18
18
|
import "./chunk-GLP5PSXB.js";
|
|
19
19
|
import {
|
|
20
20
|
LINT_JOBS,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
rebaseConfig,
|
|
24
24
|
resolveStructureTool,
|
|
25
25
|
runLint
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-AE6KBAAU.js";
|
|
27
27
|
import "./chunk-ZMECS2IJ.js";
|
|
28
28
|
import "./chunk-TIUTIOFB.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-VLRIP4BQ.js";
|
|
30
30
|
import "./chunk-G5I2JTDK.js";
|
|
31
31
|
import {
|
|
32
32
|
LintError
|
|
33
33
|
} from "./chunk-TI4DA6DF.js";
|
|
34
|
+
import "./chunk-KCWNJMSS.js";
|
|
34
35
|
import "./chunk-UP6NBQ62.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-WI3PPQQX.js";
|
|
36
|
+
import "./chunk-2NGFDLIM.js";
|
|
37
|
+
import "./chunk-Q76T6Y6X.js";
|
|
38
|
+
import "./chunk-D5GBYKDU.js";
|
|
39
39
|
import {
|
|
40
40
|
OMITTED_WHEN_CLEAN,
|
|
41
41
|
REPORT_FORMATS,
|
|
42
42
|
REPORT_FORMAT_LIST,
|
|
43
43
|
isReportFormat
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import "./chunk-
|
|
44
|
+
} from "./chunk-762MM6NA.js";
|
|
45
|
+
import "./chunk-S5G6T4VC.js";
|
|
46
46
|
import {
|
|
47
47
|
collect,
|
|
48
48
|
configOption,
|
|
@@ -50,11 +50,11 @@ import {
|
|
|
50
50
|
readStdin,
|
|
51
51
|
reportConfig,
|
|
52
52
|
splitList
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-BXE4L52Q.js";
|
|
54
54
|
import "./chunk-DSWKBZWW.js";
|
|
55
55
|
import {
|
|
56
56
|
STDIN_TOKEN
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-BJUEOC4G.js";
|
|
58
58
|
import "./chunk-QK6VYJHV.js";
|
|
59
59
|
import {
|
|
60
60
|
shouldColor
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
import "./chunk-VM7VAFJW.js";
|
|
70
70
|
import {
|
|
71
71
|
package_default
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-JQA6RF4R.js";
|
|
73
73
|
import "./chunk-OWBRDNRZ.js";
|
|
74
74
|
import "./chunk-G3T47CFV.js";
|
|
75
75
|
import "./chunk-2H7UOFLK.js";
|
|
@@ -389,4 +389,4 @@ function buildProgram() {
|
|
|
389
389
|
export {
|
|
390
390
|
buildProgram
|
|
391
391
|
};
|
|
392
|
-
//# sourceMappingURL=cli-
|
|
392
|
+
//# sourceMappingURL=cli-JNYL6LB7.js.map
|
|
@@ -3,20 +3,20 @@ import {
|
|
|
3
3
|
renderList,
|
|
4
4
|
runFill,
|
|
5
5
|
runList
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BXCVOHEX.js";
|
|
7
7
|
import {
|
|
8
8
|
CALIBRATE_FORMATS,
|
|
9
9
|
REPORT_FORMATS,
|
|
10
10
|
SUMMARY_FORMATS,
|
|
11
11
|
parseFormat,
|
|
12
12
|
runRun
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-BKY6GAFA.js";
|
|
14
|
+
import "./chunk-D4QHRVDJ.js";
|
|
15
15
|
import "./chunk-FQGLRJGX.js";
|
|
16
16
|
import "./chunk-VHJ72YCD.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-P7HAXMFN.js";
|
|
18
|
+
import "./chunk-APAF4VWW.js";
|
|
19
|
+
import "./chunk-PTGXEZQD.js";
|
|
20
20
|
import "./chunk-6WJUZQQX.js";
|
|
21
21
|
import "./chunk-JCTHXG33.js";
|
|
22
22
|
import "./chunk-4TSWU2SU.js";
|
|
@@ -31,21 +31,21 @@ import {
|
|
|
31
31
|
} from "./chunk-YNHZHSSM.js";
|
|
32
32
|
import "./chunk-ZPLVANY2.js";
|
|
33
33
|
import "./chunk-QS2Z3SWL.js";
|
|
34
|
+
import "./chunk-KCWNJMSS.js";
|
|
34
35
|
import "./chunk-UP6NBQ62.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-ROZDHPKA.js";
|
|
36
|
+
import "./chunk-2NGFDLIM.js";
|
|
37
37
|
import {
|
|
38
38
|
terminalConfirm
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-Q76T6Y6X.js";
|
|
40
|
+
import "./chunk-D5GBYKDU.js";
|
|
41
|
+
import "./chunk-762MM6NA.js";
|
|
42
|
+
import "./chunk-S5G6T4VC.js";
|
|
43
43
|
import {
|
|
44
44
|
collect,
|
|
45
45
|
configOption
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-BXE4L52Q.js";
|
|
47
47
|
import "./chunk-DSWKBZWW.js";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-BJUEOC4G.js";
|
|
49
49
|
import "./chunk-77AINBYM.js";
|
|
50
50
|
import "./chunk-QK6VYJHV.js";
|
|
51
51
|
import {
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
} from "./chunk-VM7VAFJW.js";
|
|
64
64
|
import {
|
|
65
65
|
package_default
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-JQA6RF4R.js";
|
|
67
67
|
import "./chunk-OWBRDNRZ.js";
|
|
68
68
|
import "./chunk-G3T47CFV.js";
|
|
69
69
|
import "./chunk-2H7UOFLK.js";
|
|
@@ -164,7 +164,7 @@ function buildProgram() {
|
|
|
164
164
|
"--manifest names one session's manifest, so it cannot be used with a corpus; drop it and each trace will find its own"
|
|
165
165
|
);
|
|
166
166
|
}
|
|
167
|
-
const { runBatch } = await import("./batch-
|
|
167
|
+
const { runBatch } = await import("./batch-C534YIAU.js");
|
|
168
168
|
const { report: report2, rendered: rendered2 } = await runBatch({
|
|
169
169
|
...shared,
|
|
170
170
|
...traces.length > 0 ? { traces } : {}
|
|
@@ -283,7 +283,7 @@ function buildProgram() {
|
|
|
283
283
|
whole("--max-false-pass", opts.maxFalsePass, 0);
|
|
284
284
|
whole("--max-false-fail", opts.maxFalseFail, 0);
|
|
285
285
|
whole("--max-review", opts.maxReview, 0);
|
|
286
|
-
const { runCalibrate } = await import("./calibrate-
|
|
286
|
+
const { runCalibrate } = await import("./calibrate-AL3MH7TY.js");
|
|
287
287
|
const { report, rendered } = await runCalibrate({
|
|
288
288
|
...shared,
|
|
289
289
|
...traces.length > 0 ? { traces } : {},
|
|
@@ -385,7 +385,7 @@ function buildProgram() {
|
|
|
385
385
|
"pretty"
|
|
386
386
|
).action(async (opts) => {
|
|
387
387
|
try {
|
|
388
|
-
const { runCapture } = await import("./capture-
|
|
388
|
+
const { runCapture } = await import("./capture-2F7B4DAD.js");
|
|
389
389
|
const result = await runCapture({
|
|
390
390
|
version,
|
|
391
391
|
...configOptions(opts),
|
|
@@ -412,7 +412,7 @@ function buildProgram() {
|
|
|
412
412
|
"pretty"
|
|
413
413
|
).action(async (opts) => {
|
|
414
414
|
try {
|
|
415
|
-
const { runPrepare } = await import("./prepare-
|
|
415
|
+
const { runPrepare } = await import("./prepare-B4JVDVOV.js");
|
|
416
416
|
const result = await runPrepare({
|
|
417
417
|
...configOptions(opts),
|
|
418
418
|
...opts.project !== void 0 ? { project: opts.project } : {},
|
|
@@ -449,7 +449,7 @@ function buildProgram() {
|
|
|
449
449
|
throw new TracevalsError(`tracevals check takes one trace, got ${String(traces.length)}`);
|
|
450
450
|
}
|
|
451
451
|
whole("--runs", opts.runs, 1);
|
|
452
|
-
const { runCheck } = await import("./check-
|
|
452
|
+
const { runCheck } = await import("./check-LKPQPQWJ.js");
|
|
453
453
|
const { report, rendered } = await runCheck({
|
|
454
454
|
...configOptions(opts),
|
|
455
455
|
tracePath: trace,
|
|
@@ -520,4 +520,4 @@ function buildProgram() {
|
|
|
520
520
|
export {
|
|
521
521
|
buildProgram
|
|
522
522
|
};
|
|
523
|
-
//# sourceMappingURL=cli-
|
|
523
|
+
//# sourceMappingURL=cli-K47XWDLJ.js.map
|
|
@@ -5,16 +5,16 @@ import {
|
|
|
5
5
|
renderJson,
|
|
6
6
|
renderPretty,
|
|
7
7
|
runTest
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RWXR3GJI.js";
|
|
9
9
|
import "./chunk-ZPLVANY2.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-KCWNJMSS.js";
|
|
11
|
+
import "./chunk-2NGFDLIM.js";
|
|
12
|
+
import "./chunk-D5GBYKDU.js";
|
|
13
|
+
import "./chunk-762MM6NA.js";
|
|
14
14
|
import {
|
|
15
15
|
collect
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-BXE4L52Q.js";
|
|
17
|
+
import "./chunk-BJUEOC4G.js";
|
|
18
18
|
import "./chunk-QK6VYJHV.js";
|
|
19
19
|
import {
|
|
20
20
|
colorFor
|
|
@@ -27,7 +27,7 @@ import "./chunk-HX44GB4Z.js";
|
|
|
27
27
|
import "./chunk-VM7VAFJW.js";
|
|
28
28
|
import {
|
|
29
29
|
package_default
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-JQA6RF4R.js";
|
|
31
31
|
import "./chunk-OWBRDNRZ.js";
|
|
32
32
|
import "./chunk-G3T47CFV.js";
|
|
33
33
|
import "./chunk-2H7UOFLK.js";
|
|
@@ -81,4 +81,4 @@ function buildProgram() {
|
|
|
81
81
|
export {
|
|
82
82
|
buildProgram
|
|
83
83
|
};
|
|
84
|
-
//# sourceMappingURL=cli-
|
|
84
|
+
//# sourceMappingURL=cli-LP5OE3BL.js.map
|
|
@@ -4,21 +4,21 @@ import {
|
|
|
4
4
|
parseQueryParams,
|
|
5
5
|
resolveGetInputs,
|
|
6
6
|
resolveQueryInputs
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-RKACUTY5.js";
|
|
8
|
+
import "./chunk-Q76T6Y6X.js";
|
|
9
|
+
import "./chunk-D5GBYKDU.js";
|
|
10
|
+
import "./chunk-762MM6NA.js";
|
|
11
|
+
import "./chunk-S5G6T4VC.js";
|
|
12
|
+
import "./chunk-BXE4L52Q.js";
|
|
13
13
|
import "./chunk-DSWKBZWW.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-BJUEOC4G.js";
|
|
15
15
|
import "./chunk-QK6VYJHV.js";
|
|
16
16
|
import "./chunk-RNVYGWIC.js";
|
|
17
17
|
import "./chunk-YEUYKR62.js";
|
|
18
18
|
import "./chunk-B2242FYO.js";
|
|
19
19
|
import "./chunk-HX44GB4Z.js";
|
|
20
20
|
import "./chunk-VM7VAFJW.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-JQA6RF4R.js";
|
|
22
22
|
import "./chunk-OWBRDNRZ.js";
|
|
23
23
|
import "./chunk-G3T47CFV.js";
|
|
24
24
|
import "./chunk-2H7UOFLK.js";
|
|
@@ -28,4 +28,4 @@ export {
|
|
|
28
28
|
resolveGetInputs,
|
|
29
29
|
resolveQueryInputs
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=cli-
|
|
31
|
+
//# sourceMappingURL=cli-MOKRUHZT.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
runRetrieve,
|
|
12
12
|
runTraverseContext,
|
|
13
13
|
traverseIn
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XBJKYXOR.js";
|
|
15
15
|
import {
|
|
16
16
|
EXPORT_TARGETS,
|
|
17
17
|
LLMS_FILENAME,
|
|
@@ -24,12 +24,12 @@ import {
|
|
|
24
24
|
runFill,
|
|
25
25
|
runQuery,
|
|
26
26
|
runStats
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-DENZLZ3Z.js";
|
|
28
28
|
import "./chunk-245W2Q7C.js";
|
|
29
29
|
import {
|
|
30
30
|
checkoutStatus,
|
|
31
31
|
runBuild
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-RQPEKHZH.js";
|
|
33
33
|
import {
|
|
34
34
|
CHUNKS_MANIFEST,
|
|
35
35
|
SEARCH_MODES,
|
|
@@ -42,12 +42,13 @@ import {
|
|
|
42
42
|
runSearch,
|
|
43
43
|
runTraverse,
|
|
44
44
|
shapeText
|
|
45
|
-
} from "./chunk-
|
|
46
|
-
import "./chunk-
|
|
45
|
+
} from "./chunk-LWBNHK72.js";
|
|
46
|
+
import "./chunk-HHJ2HFPP.js";
|
|
47
47
|
import {
|
|
48
48
|
parseChunksManifest
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-NLJ3XIKT.js";
|
|
50
|
+
import "./chunk-BLXRIAV2.js";
|
|
51
|
+
import "./chunk-SHXPE4D4.js";
|
|
51
52
|
import {
|
|
52
53
|
ALL_FILL_FIELDS,
|
|
53
54
|
CONFIG_SECTION,
|
|
@@ -59,34 +60,34 @@ import {
|
|
|
59
60
|
assertInputFormat,
|
|
60
61
|
byCodeUnit,
|
|
61
62
|
loadRunConfig
|
|
62
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-FHJIH6XP.js";
|
|
63
64
|
import "./chunk-GLP5PSXB.js";
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-ARNI3SJT.js";
|
|
66
|
+
import "./chunk-XI3BNZG4.js";
|
|
66
67
|
import "./chunk-GMOAW2EG.js";
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-CZIO37J5.js";
|
|
69
|
+
import "./chunk-WHVFHBL3.js";
|
|
70
|
+
import "./chunk-R2CR62JV.js";
|
|
71
|
+
import "./chunk-TFVNEPMF.js";
|
|
71
72
|
import "./chunk-TIUTIOFB.js";
|
|
72
|
-
import "./chunk-
|
|
73
|
+
import "./chunk-VLRIP4BQ.js";
|
|
73
74
|
import "./chunk-TI4DA6DF.js";
|
|
75
|
+
import "./chunk-KCWNJMSS.js";
|
|
74
76
|
import "./chunk-UP6NBQ62.js";
|
|
75
|
-
import "./chunk-
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-
|
|
78
|
-
import "./chunk-
|
|
79
|
-
import "./chunk-
|
|
80
|
-
import "./chunk-4H3IOF52.js";
|
|
77
|
+
import "./chunk-2NGFDLIM.js";
|
|
78
|
+
import "./chunk-Q76T6Y6X.js";
|
|
79
|
+
import "./chunk-D5GBYKDU.js";
|
|
80
|
+
import "./chunk-762MM6NA.js";
|
|
81
|
+
import "./chunk-S5G6T4VC.js";
|
|
81
82
|
import {
|
|
82
83
|
collect,
|
|
83
84
|
configOption,
|
|
84
85
|
readStdin,
|
|
85
86
|
splitList,
|
|
86
87
|
writeTextAtomic
|
|
87
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-BXE4L52Q.js";
|
|
88
89
|
import "./chunk-DSWKBZWW.js";
|
|
89
|
-
import "./chunk-
|
|
90
|
+
import "./chunk-BJUEOC4G.js";
|
|
90
91
|
import "./chunk-77AINBYM.js";
|
|
91
92
|
import "./chunk-QK6VYJHV.js";
|
|
92
93
|
import {
|
|
@@ -106,7 +107,7 @@ import {
|
|
|
106
107
|
} from "./chunk-VM7VAFJW.js";
|
|
107
108
|
import {
|
|
108
109
|
package_default
|
|
109
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-JQA6RF4R.js";
|
|
110
111
|
import "./chunk-OWBRDNRZ.js";
|
|
111
112
|
import {
|
|
112
113
|
errorMessage
|
|
@@ -1770,4 +1771,4 @@ export {
|
|
|
1770
1771
|
buildProgram,
|
|
1771
1772
|
colorFor
|
|
1772
1773
|
};
|
|
1773
|
-
//# sourceMappingURL=cli-
|
|
1774
|
+
//# sourceMappingURL=cli-MQXOK64K.js.map
|