@hawkeyexl/manni 4.20.1 → 4.22.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-C3NN2YXB.js} +20 -21
- package/dist/build-CEVEAHN7.js +36 -0
- package/dist/calibrate-CSKPY5AK.js +42 -0
- package/dist/capture-3HDBIHH6.js +37 -0
- package/dist/check-555TCJGF.js +45 -0
- package/dist/check-KGJBV42O.js +30 -0
- package/dist/{check-RCSQARQE.js → check-KXWHSCCR.js} +13 -16
- package/dist/check-MZSXCS2M.js +33 -0
- package/dist/{check-PQ7S5I3I.js → check-QNHLTYPN.js} +23 -23
- package/dist/{chunk-YIHIRMXN.js → chunk-2VLZDU4E.js} +5 -5
- package/dist/{chunk-D54BQM5P.js → chunk-37Q7WEJJ.js} +9 -9
- package/dist/{chunk-QSPH4F56.js → chunk-3ZVRGBK6.js} +5 -5
- package/dist/chunk-3ZVRGBK6.js.map +1 -0
- package/dist/{chunk-P5DWBG6T.js → chunk-46MMIJWR.js} +3 -3
- package/dist/{chunk-P6XZ44C2.js → chunk-4LYVTR2T.js} +4 -4
- package/dist/{chunk-ODSIHEIW.js → chunk-562QZKAB.js} +6599 -3508
- package/dist/chunk-562QZKAB.js.map +1 -0
- package/dist/{chunk-ACJUZFRT.js → chunk-57LZPG4V.js} +29 -4
- package/dist/chunk-57LZPG4V.js.map +1 -0
- package/dist/chunk-5LQX57BW.js +100 -0
- package/dist/chunk-5LQX57BW.js.map +1 -0
- package/dist/{chunk-MPXMQGJI.js → chunk-63EQKVNT.js} +45 -910
- package/dist/chunk-63EQKVNT.js.map +1 -0
- package/dist/{chunk-6FY573GB.js → chunk-64DULZIG.js} +4 -4
- package/dist/{chunk-TAJYMXMM.js → chunk-6SVHI2U6.js} +2 -2
- package/dist/{chunk-OVUQNM7Y.js → chunk-6UHEMPEY.js} +3 -157
- package/dist/chunk-6UHEMPEY.js.map +1 -0
- package/dist/{chunk-A633WB3N.js → chunk-A5YUK3SG.js} +37 -26
- package/dist/chunk-A5YUK3SG.js.map +1 -0
- package/dist/{chunk-C5BXSQDO.js → chunk-A67EJ3J6.js} +6 -6
- package/dist/{chunk-2GTR24SA.js → chunk-BLDL23RY.js} +8 -8
- package/dist/{chunk-JPXC62SD.js → chunk-BY3635RR.js} +82 -16
- package/dist/chunk-BY3635RR.js.map +1 -0
- package/dist/{chunk-CFMI74TP.js → chunk-BZ74YUYE.js} +2 -2
- package/dist/{chunk-NDPQ2GQ4.js → chunk-CHTSA3YR.js} +6 -6
- package/dist/{chunk-5CJ3P5O3.js → chunk-CPYQ4BJK.js} +19 -100
- package/dist/chunk-CPYQ4BJK.js.map +1 -0
- package/dist/{chunk-Z2T5U7HN.js → chunk-CQTESLC5.js} +2 -2
- package/dist/{chunk-245W2Q7C.js → chunk-D4BGNAN5.js} +2 -2
- package/dist/{chunk-XPO655IX.js → chunk-E3HYSNS6.js} +4 -4
- package/dist/{chunk-LPJ3IB26.js → chunk-EL2KNRC3.js} +17 -3
- package/dist/chunk-EL2KNRC3.js.map +1 -0
- package/dist/{chunk-ISDFYXLA.js → chunk-FTSNG6DZ.js} +48 -28
- package/dist/chunk-FTSNG6DZ.js.map +1 -0
- package/dist/{chunk-MJZK7G4B.js → chunk-FXE5K56B.js} +3 -3
- package/dist/{chunk-YM2W43DI.js → chunk-HYEKQ22B.js} +13 -9
- package/dist/chunk-HYEKQ22B.js.map +1 -0
- package/dist/{chunk-QGBNWEWS.js → chunk-IC3FJWIF.js} +2 -2
- package/dist/{chunk-OQR3VVAX.js → chunk-IDDRHB7E.js} +3 -3
- package/dist/chunk-INOVEO32.js +28 -0
- package/dist/chunk-INOVEO32.js.map +1 -0
- package/dist/chunk-IXFFVI5S.js +409 -0
- package/dist/chunk-IXFFVI5S.js.map +1 -0
- package/dist/{chunk-OXCWCEVV.js → chunk-JA7DWOVV.js} +5 -5
- package/dist/{chunk-B2242FYO.js → chunk-JF4BC7ZD.js} +38 -3
- package/dist/chunk-JF4BC7ZD.js.map +1 -0
- package/dist/{chunk-RN7IA742.js → chunk-JL5FHNQK.js} +9 -11
- package/dist/{chunk-RN7IA742.js.map → chunk-JL5FHNQK.js.map} +1 -1
- package/dist/{chunk-HGUCJ3K3.js → chunk-JVE5YQN4.js} +4 -4
- package/dist/chunk-K5LBIAOM.js +700 -0
- package/dist/chunk-K5LBIAOM.js.map +1 -0
- package/dist/{chunk-5E3ABFOQ.js → chunk-KIUFBUUZ.js} +13 -11
- package/dist/{chunk-5E3ABFOQ.js.map → chunk-KIUFBUUZ.js.map} +1 -1
- package/dist/{chunk-SUTY4VCZ.js → chunk-LCMBG4LY.js} +3635 -3409
- package/dist/chunk-LCMBG4LY.js.map +1 -0
- package/dist/{chunk-H3C3UXTA.js → chunk-LMS2RWDS.js} +15 -13
- package/dist/{chunk-H3C3UXTA.js.map → chunk-LMS2RWDS.js.map} +1 -1
- package/dist/{chunk-RA2BER5P.js → chunk-MR5JWMC2.js} +2 -2
- package/dist/{chunk-JCTHXG33.js → chunk-NHOGTAPK.js} +2 -2
- package/dist/{chunk-VM7VAFJW.js → chunk-NVYDWVXN.js} +2 -1
- package/dist/{chunk-N2VB6UUE.js → chunk-O6IDYZVW.js} +7 -5
- package/dist/{chunk-N2VB6UUE.js.map → chunk-O6IDYZVW.js.map} +1 -1
- package/dist/{chunk-MTMR65NM.js → chunk-OHMLEITS.js} +2 -2
- package/dist/{chunk-NUQF5F5J.js → chunk-PNDEKFF3.js} +2 -2
- package/dist/{chunk-S2HW3CBF.js → chunk-PX7OTUNU.js} +6 -6
- package/dist/{chunk-4F5WGZRP.js → chunk-Q7FFJMFO.js} +19 -15
- package/dist/chunk-Q7FFJMFO.js.map +1 -0
- package/dist/{chunk-D4XQX4W7.js → chunk-QJJPTS6L.js} +5 -3
- package/dist/{chunk-D4XQX4W7.js.map → chunk-QJJPTS6L.js.map} +1 -1
- package/dist/chunk-RAN3CF33.js +1875 -0
- package/dist/chunk-RAN3CF33.js.map +1 -0
- package/dist/{chunk-YYWZ2MSL.js → chunk-S7V4F7HC.js} +16 -11
- package/dist/chunk-S7V4F7HC.js.map +1 -0
- package/dist/{chunk-CXL6ES7O.js → chunk-SCKVDD4E.js} +4 -4
- package/dist/{chunk-ZB3OFSRB.js → chunk-TJYJ4BNK.js} +4 -4
- package/dist/{chunk-MJZ5HYYL.js → chunk-TR5TNPWT.js} +2 -2
- package/dist/{chunk-MJZ5HYYL.js.map → chunk-TR5TNPWT.js.map} +1 -1
- package/dist/chunk-TT5UDTDM.js +888 -0
- package/dist/chunk-TT5UDTDM.js.map +1 -0
- package/dist/{chunk-N3DYE6LJ.js → chunk-TWYJ2TVS.js} +7 -7
- package/dist/{chunk-BM43RJIS.js → chunk-UQI463L3.js} +9 -9
- package/dist/{chunk-FIR2MAGS.js → chunk-V27DOGAO.js} +2 -2
- package/dist/{chunk-O4O6JOGD.js → chunk-VSDXZAQU.js} +14 -20
- package/dist/chunk-VSDXZAQU.js.map +1 -0
- package/dist/{chunk-4DFBBU4A.js → chunk-VSHMXMBZ.js} +2 -2
- package/dist/{chunk-ROZDHPKA.js → chunk-VZSATUI7.js} +4 -4
- package/dist/{chunk-EOJEPEYY.js → chunk-W5OZMYMX.js} +2 -2
- package/dist/{chunk-KERICP5Y.js → chunk-WW4JATBJ.js} +6 -6
- package/dist/{chunk-SSQZB5SQ.js → chunk-XG6PVB5S.js} +11 -1
- package/dist/chunk-XG6PVB5S.js.map +1 -0
- package/dist/{chunk-TDG2S5UE.js → chunk-XQKRD5A3.js} +4 -4
- package/dist/{chunk-GGTCSMNX.js → chunk-XSP3TUFN.js} +5 -5
- package/dist/{chunk-UVC3BUKU.js → chunk-XTMONCQE.js} +6 -405
- package/dist/chunk-XTMONCQE.js.map +1 -0
- package/dist/{chunk-WRWW6SGG.js → chunk-YB3KD5RI.js} +3 -3
- package/dist/chunk-ZAOJYN2D.js +159 -0
- package/dist/chunk-ZAOJYN2D.js.map +1 -0
- package/dist/{chunk-FKELQCGN.js → chunk-ZKIXGFID.js} +2 -2
- package/dist/{chunk-BY4THWAQ.js → chunk-ZT3ERG4B.js} +3 -3
- package/dist/chunk-ZTRC37NH.js +38 -0
- package/dist/chunk-ZTRC37NH.js.map +1 -0
- package/dist/{chunk-LXJ4FZ7Y.js → chunk-ZW4YASUB.js} +4 -4
- package/dist/{chunk-E6JYRVR5.js → chunk-ZX4TOTZS.js} +27 -8
- package/dist/chunk-ZX4TOTZS.js.map +1 -0
- package/dist/{cli-4RTNEVVX.js → cli-4QAH3DBX.js} +9 -11
- package/dist/{cli-IIFCE6GY.js → cli-6476FRBK.js} +16 -19
- package/dist/{cli-IIFCE6GY.js.map → cli-6476FRBK.js.map} +1 -1
- package/dist/{cli-DQRFSU7U.js → cli-7XT7O5YM.js} +16 -18
- package/dist/{cli-DQRFSU7U.js.map → cli-7XT7O5YM.js.map} +1 -1
- package/dist/{cli-PCZ7XNCO.js → cli-FGCHGJYZ.js} +70 -53
- package/dist/cli-FGCHGJYZ.js.map +1 -0
- package/dist/{cli-6J4P5MLU.js → cli-JE4LG35H.js} +4 -4
- package/dist/{cli-K5635N25.js → cli-U3622DIB.js} +14 -17
- package/dist/{cli-K5635N25.js.map → cli-U3622DIB.js.map} +1 -1
- package/dist/{cli-K5QWXB7H.js → cli-ULHJTJHH.js} +74 -41
- package/dist/cli-ULHJTJHH.js.map +1 -0
- package/dist/{cli-ISKXSN3P.js → cli-W7B2PNZO.js} +18 -21
- package/dist/{cli-ISKXSN3P.js.map → cli-W7B2PNZO.js.map} +1 -1
- package/dist/{cli-FTSJQSB4.js → cli-YGMXZ46V.js} +17 -20
- package/dist/{cli-FTSJQSB4.js.map → cli-YGMXZ46V.js.map} +1 -1
- package/dist/{cli-TCHSYJLB.js → cli-YINQL2NI.js} +28 -29
- package/dist/{cli-TCHSYJLB.js.map → cli-YINQL2NI.js.map} +1 -1
- package/dist/cli-Z3ART5DN.js +152 -0
- package/dist/cli-Z3ART5DN.js.map +1 -0
- package/dist/cli.js +15 -15
- package/dist/cli.js.map +1 -1
- package/dist/{config-7I5CHHRZ.js → config-2YJPJ36T.js} +5 -5
- package/dist/docmeta.js +8 -10
- package/dist/docmeta.js.map +1 -1
- package/dist/github-64ZVAUIT.js +28 -0
- package/dist/github-ARGPMQD2.js +32 -0
- package/dist/github-YHJABBUI.js +33 -0
- package/dist/graph/runtime.js.map +1 -1
- package/dist/{host-YSTYO5DX.js → host-JT27OWTC.js} +3 -3
- package/dist/index.d.ts +334 -24
- package/dist/index.js +218 -203
- package/dist/index.js.map +1 -1
- package/dist/{json-7Z2IFGB3.js → json-CVOVXB7O.js} +12 -15
- package/dist/json-QNGJFUY2.js +40 -0
- package/dist/{labels-SE2WL7WD.js → labels-5WOKC3VR.js} +11 -14
- package/dist/{labels-SE2WL7WD.js.map → labels-5WOKC3VR.js.map} +1 -1
- package/dist/lint-OQGB4DWJ.js +32 -0
- package/dist/list-EDAB7X5Y.js +30 -0
- package/dist/list-OQ3IYV2W.js +37 -0
- package/dist/list-PN6JKYNX.js +33 -0
- package/dist/{page-A2Y4ZMV4.js → page-TPNMHL27.js} +11 -14
- package/dist/{prepare-M2COBP5O.js → prepare-3V2QYBKL.js} +20 -22
- package/dist/{prepare-M2COBP5O.js.map → prepare-3V2QYBKL.js.map} +1 -1
- package/dist/{pretty-SFFOMSG5.js → pretty-EZ2NFU3C.js} +13 -16
- package/dist/pretty-HO2LYG5N.js +41 -0
- package/dist/{pretty-D3DZFC5U.js → pretty-K3M4AW2D.js} +12 -15
- package/dist/{provider-JY2I3VLF.js → provider-YWNTTQPA.js} +3 -3
- package/dist/{release-VHHASAG7.js → release-EFLQT3FW.js} +3 -3
- package/dist/{reporters-TO7Q6JYF.js → reporters-4R2E7PRJ.js} +6 -6
- package/dist/{reporters-UTLJVSWX.js → reporters-YVLLFBO5.js} +11 -14
- package/dist/run-H4BOR2FR.js +36 -0
- package/dist/{sarif-IAGMXA6C.js → sarif-GWHWJJFP.js} +10 -13
- package/dist/sarif-SJFVSOBV.js +33 -0
- package/dist/sarif-YBFD5OUL.js +28 -0
- package/dist/{strategy-UKRA6WO4.js → strategy-T56PH2VK.js} +29 -46
- package/dist/strategy-T56PH2VK.js.map +1 -0
- package/dist/{term-AMORBEO7.js → term-33YSMISR.js} +18 -22
- package/dist/{term-AMORBEO7.js.map → term-33YSMISR.js.map} +1 -1
- package/dist/{validate-CDTKFZUV.js → validate-6R5UBDGU.js} +6 -7
- package/package.json +1 -1
- package/plugin/manni/.claude-plugin/plugin.json +11 -3
- package/plugin/manni/hooks/graph-server.mjs +3 -3
- package/plugin/manni/hooks/hooks.json +4 -4
- package/plugin/manni/hooks/manni.mjs +18 -5
- package/plugin/manni/hooks/page-metadata.mjs +81 -7
- package/plugin/manni/hooks/tracevals.mjs +7 -0
- package/plugin/manni/skills/fix/SKILL.md +8 -4
- package/shapes/graph/shapes-1.3.0.ttl +1250 -0
- package/dist/build-AYLD6V6Y.js +0 -38
- package/dist/calibrate-2HZFACIX.js +0 -43
- package/dist/capture-NMDIPC6S.js +0 -39
- package/dist/check-KNQV7GLU.js +0 -33
- package/dist/check-OH4KKXP3.js +0 -33
- package/dist/check-PRAMKQCI.js +0 -47
- package/dist/chunk-4F5WGZRP.js.map +0 -1
- package/dist/chunk-4H3IOF52.js +0 -3200
- package/dist/chunk-4H3IOF52.js.map +0 -1
- package/dist/chunk-5CJ3P5O3.js.map +0 -1
- package/dist/chunk-A633WB3N.js.map +0 -1
- package/dist/chunk-ACJUZFRT.js.map +0 -1
- package/dist/chunk-B2242FYO.js.map +0 -1
- package/dist/chunk-CT5WSUUZ.js +0 -441
- package/dist/chunk-CT5WSUUZ.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-ISDFYXLA.js.map +0 -1
- package/dist/chunk-JPXC62SD.js.map +0 -1
- package/dist/chunk-LPJ3IB26.js.map +0 -1
- package/dist/chunk-MPXMQGJI.js.map +0 -1
- package/dist/chunk-O4O6JOGD.js.map +0 -1
- package/dist/chunk-ODSIHEIW.js.map +0 -1
- package/dist/chunk-OVUQNM7Y.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-SSQZB5SQ.js.map +0 -1
- package/dist/chunk-SUTY4VCZ.js.map +0 -1
- package/dist/chunk-UP6NBQ62.js +0 -2
- package/dist/chunk-UVC3BUKU.js.map +0 -1
- package/dist/chunk-WI3PPQQX.js +0 -164
- package/dist/chunk-WI3PPQQX.js.map +0 -1
- package/dist/chunk-YM2W43DI.js.map +0 -1
- package/dist/chunk-YYWZ2MSL.js.map +0 -1
- package/dist/chunk-ZPLVANY2.js +0 -15
- package/dist/chunk-ZPLVANY2.js.map +0 -1
- package/dist/cli-K5QWXB7H.js.map +0 -1
- package/dist/cli-PCZ7XNCO.js.map +0 -1
- package/dist/cli-TM2JCTQT.js +0 -84
- package/dist/cli-TM2JCTQT.js.map +0 -1
- package/dist/github-BUK5CVQW.js +0 -27
- package/dist/github-CMAZWS76.js +0 -31
- package/dist/github-NXR4QMMM.js +0 -35
- package/dist/json-NZSGRYOE.js +0 -34
- package/dist/lint-VUYM5PPM.js +0 -35
- package/dist/list-4JGOXLOZ.js +0 -33
- package/dist/list-LTF25DQE.js +0 -33
- package/dist/list-WD3TZS5R.js +0 -36
- package/dist/pretty-R67YU6TU.js +0 -35
- package/dist/run-BDGYRUXJ.js +0 -39
- package/dist/sarif-EHAMGCVR.js +0 -36
- package/dist/sarif-GJYLRXLS.js +0 -30
- package/dist/strategy-UKRA6WO4.js.map +0 -1
- package/dist/validate-CDTKFZUV.js.map +0 -1
- /package/dist/{batch-J626LZ22.js.map → batch-C3NN2YXB.js.map} +0 -0
- /package/dist/{build-AYLD6V6Y.js.map → build-CEVEAHN7.js.map} +0 -0
- /package/dist/{calibrate-2HZFACIX.js.map → calibrate-CSKPY5AK.js.map} +0 -0
- /package/dist/{capture-NMDIPC6S.js.map → capture-3HDBIHH6.js.map} +0 -0
- /package/dist/{check-KNQV7GLU.js.map → check-555TCJGF.js.map} +0 -0
- /package/dist/{check-OH4KKXP3.js.map → check-KGJBV42O.js.map} +0 -0
- /package/dist/{check-PRAMKQCI.js.map → check-KXWHSCCR.js.map} +0 -0
- /package/dist/{check-RCSQARQE.js.map → check-MZSXCS2M.js.map} +0 -0
- /package/dist/{check-PQ7S5I3I.js.map → check-QNHLTYPN.js.map} +0 -0
- /package/dist/{chunk-YIHIRMXN.js.map → chunk-2VLZDU4E.js.map} +0 -0
- /package/dist/{chunk-D54BQM5P.js.map → chunk-37Q7WEJJ.js.map} +0 -0
- /package/dist/{chunk-P5DWBG6T.js.map → chunk-46MMIJWR.js.map} +0 -0
- /package/dist/{chunk-P6XZ44C2.js.map → chunk-4LYVTR2T.js.map} +0 -0
- /package/dist/{chunk-6FY573GB.js.map → chunk-64DULZIG.js.map} +0 -0
- /package/dist/{chunk-TAJYMXMM.js.map → chunk-6SVHI2U6.js.map} +0 -0
- /package/dist/{chunk-C5BXSQDO.js.map → chunk-A67EJ3J6.js.map} +0 -0
- /package/dist/{chunk-2GTR24SA.js.map → chunk-BLDL23RY.js.map} +0 -0
- /package/dist/{chunk-CFMI74TP.js.map → chunk-BZ74YUYE.js.map} +0 -0
- /package/dist/{chunk-NDPQ2GQ4.js.map → chunk-CHTSA3YR.js.map} +0 -0
- /package/dist/{chunk-Z2T5U7HN.js.map → chunk-CQTESLC5.js.map} +0 -0
- /package/dist/{chunk-245W2Q7C.js.map → chunk-D4BGNAN5.js.map} +0 -0
- /package/dist/{chunk-XPO655IX.js.map → chunk-E3HYSNS6.js.map} +0 -0
- /package/dist/{chunk-MJZK7G4B.js.map → chunk-FXE5K56B.js.map} +0 -0
- /package/dist/{chunk-QGBNWEWS.js.map → chunk-IC3FJWIF.js.map} +0 -0
- /package/dist/{chunk-OQR3VVAX.js.map → chunk-IDDRHB7E.js.map} +0 -0
- /package/dist/{chunk-OXCWCEVV.js.map → chunk-JA7DWOVV.js.map} +0 -0
- /package/dist/{chunk-HGUCJ3K3.js.map → chunk-JVE5YQN4.js.map} +0 -0
- /package/dist/{chunk-RA2BER5P.js.map → chunk-MR5JWMC2.js.map} +0 -0
- /package/dist/{chunk-JCTHXG33.js.map → chunk-NHOGTAPK.js.map} +0 -0
- /package/dist/{chunk-VM7VAFJW.js.map → chunk-NVYDWVXN.js.map} +0 -0
- /package/dist/{chunk-MTMR65NM.js.map → chunk-OHMLEITS.js.map} +0 -0
- /package/dist/{chunk-NUQF5F5J.js.map → chunk-PNDEKFF3.js.map} +0 -0
- /package/dist/{chunk-S2HW3CBF.js.map → chunk-PX7OTUNU.js.map} +0 -0
- /package/dist/{chunk-CXL6ES7O.js.map → chunk-SCKVDD4E.js.map} +0 -0
- /package/dist/{chunk-ZB3OFSRB.js.map → chunk-TJYJ4BNK.js.map} +0 -0
- /package/dist/{chunk-N3DYE6LJ.js.map → chunk-TWYJ2TVS.js.map} +0 -0
- /package/dist/{chunk-BM43RJIS.js.map → chunk-UQI463L3.js.map} +0 -0
- /package/dist/{chunk-FIR2MAGS.js.map → chunk-V27DOGAO.js.map} +0 -0
- /package/dist/{chunk-4DFBBU4A.js.map → chunk-VSHMXMBZ.js.map} +0 -0
- /package/dist/{chunk-ROZDHPKA.js.map → chunk-VZSATUI7.js.map} +0 -0
- /package/dist/{chunk-EOJEPEYY.js.map → chunk-W5OZMYMX.js.map} +0 -0
- /package/dist/{chunk-KERICP5Y.js.map → chunk-WW4JATBJ.js.map} +0 -0
- /package/dist/{chunk-TDG2S5UE.js.map → chunk-XQKRD5A3.js.map} +0 -0
- /package/dist/{chunk-GGTCSMNX.js.map → chunk-XSP3TUFN.js.map} +0 -0
- /package/dist/{chunk-WRWW6SGG.js.map → chunk-YB3KD5RI.js.map} +0 -0
- /package/dist/{chunk-FKELQCGN.js.map → chunk-ZKIXGFID.js.map} +0 -0
- /package/dist/{chunk-BY4THWAQ.js.map → chunk-ZT3ERG4B.js.map} +0 -0
- /package/dist/{chunk-LXJ4FZ7Y.js.map → chunk-ZW4YASUB.js.map} +0 -0
- /package/dist/{chunk-UP6NBQ62.js.map → cli-4QAH3DBX.js.map} +0 -0
- /package/dist/{cli-6J4P5MLU.js.map → cli-JE4LG35H.js.map} +0 -0
- /package/dist/{cli-4RTNEVVX.js.map → config-2YJPJ36T.js.map} +0 -0
- /package/dist/{config-7I5CHHRZ.js.map → github-64ZVAUIT.js.map} +0 -0
- /package/dist/{github-BUK5CVQW.js.map → github-ARGPMQD2.js.map} +0 -0
- /package/dist/{github-CMAZWS76.js.map → github-YHJABBUI.js.map} +0 -0
- /package/dist/{github-NXR4QMMM.js.map → host-JT27OWTC.js.map} +0 -0
- /package/dist/{host-YSTYO5DX.js.map → json-CVOVXB7O.js.map} +0 -0
- /package/dist/{json-7Z2IFGB3.js.map → json-QNGJFUY2.js.map} +0 -0
- /package/dist/{json-NZSGRYOE.js.map → lint-OQGB4DWJ.js.map} +0 -0
- /package/dist/{lint-VUYM5PPM.js.map → list-EDAB7X5Y.js.map} +0 -0
- /package/dist/{list-4JGOXLOZ.js.map → list-OQ3IYV2W.js.map} +0 -0
- /package/dist/{list-LTF25DQE.js.map → list-PN6JKYNX.js.map} +0 -0
- /package/dist/{list-WD3TZS5R.js.map → page-TPNMHL27.js.map} +0 -0
- /package/dist/{page-A2Y4ZMV4.js.map → pretty-EZ2NFU3C.js.map} +0 -0
- /package/dist/{pretty-D3DZFC5U.js.map → pretty-HO2LYG5N.js.map} +0 -0
- /package/dist/{pretty-R67YU6TU.js.map → pretty-K3M4AW2D.js.map} +0 -0
- /package/dist/{pretty-SFFOMSG5.js.map → provider-YWNTTQPA.js.map} +0 -0
- /package/dist/{release-VHHASAG7.js.map → release-EFLQT3FW.js.map} +0 -0
- /package/dist/{provider-JY2I3VLF.js.map → reporters-4R2E7PRJ.js.map} +0 -0
- /package/dist/{reporters-TO7Q6JYF.js.map → reporters-YVLLFBO5.js.map} +0 -0
- /package/dist/{reporters-UTLJVSWX.js.map → run-H4BOR2FR.js.map} +0 -0
- /package/dist/{run-BDGYRUXJ.js.map → sarif-GWHWJJFP.js.map} +0 -0
- /package/dist/{sarif-EHAMGCVR.js.map → sarif-SJFVSOBV.js.map} +0 -0
- /package/dist/{sarif-GJYLRXLS.js.map → sarif-YBFD5OUL.js.map} +0 -0
- /package/dist/{sarif-IAGMXA6C.js.map → validate-6R5UBDGU.js.map} +0 -0
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
windowFor
|
|
4
|
+
} from "./chunk-VHJ72YCD.js";
|
|
5
|
+
import {
|
|
6
|
+
makeRedactor
|
|
7
|
+
} from "./chunk-6WJUZQQX.js";
|
|
8
|
+
|
|
9
|
+
// src/tracevals/judge/render.ts
|
|
10
|
+
var DEFAULTS = {
|
|
11
|
+
maxBlockChars: 2e3,
|
|
12
|
+
maxTotalChars: 15e4,
|
|
13
|
+
redact: []
|
|
14
|
+
};
|
|
15
|
+
var MIN_TIMELINE_CHARS = 200;
|
|
16
|
+
var HEADER_TRUNCATED = "\n[... header truncated ...]";
|
|
17
|
+
var TURN_HEADING = "## The last turn";
|
|
18
|
+
var TIMELINE_SHELL = "\n\n## Timeline\n";
|
|
19
|
+
function renderTrace(trace, options = {}, plan) {
|
|
20
|
+
const { maxBlockChars, maxTotalChars, redact } = { ...DEFAULTS, ...options };
|
|
21
|
+
const scrub = makeRedactor(redact);
|
|
22
|
+
const clip = (text, max) => {
|
|
23
|
+
const safe = scrub(text);
|
|
24
|
+
if (safe.length <= max) return safe;
|
|
25
|
+
return `${safe.slice(0, max)} [... truncated ${safe.length - max} chars ...]`;
|
|
26
|
+
};
|
|
27
|
+
const window = options.window ?? (plan === void 0 ? void 0 : windowFor(trace, plan));
|
|
28
|
+
const scoped = window !== void 0 && window.scope !== "session" ? window : void 0;
|
|
29
|
+
const events = scoped?.events ?? trace.events;
|
|
30
|
+
const fullHeader = scrub(
|
|
31
|
+
[
|
|
32
|
+
"# Session",
|
|
33
|
+
`source: ${trace.source}`,
|
|
34
|
+
trace.model ? `model: ${trace.model}` : void 0,
|
|
35
|
+
`cwd: ${trace.cwd}`,
|
|
36
|
+
trace.gitBranch ? `branch: ${trace.gitBranch}` : void 0,
|
|
37
|
+
scoped ? `scope: ${scoped.label} \u2014 ${events.length} of ${trace.events.length} session events` : void 0,
|
|
38
|
+
// Everything below describes what the judge can actually see. On a
|
|
39
|
+
// scoped render the timeline is the window, so a session-wide count here
|
|
40
|
+
// reads as evidence that the rest was truncated away — the judge would
|
|
41
|
+
// discount a digest that is complete for what it was asked about. The
|
|
42
|
+
// session totals stay, in parentheses, because "3 of 87" is context the
|
|
43
|
+
// window count alone does not carry.
|
|
44
|
+
scoped ? `turns: ${scoped.turnCount} (of ${trace.turnCount} in the session)` : `turns: ${trace.turnCount}`,
|
|
45
|
+
(() => {
|
|
46
|
+
const used = (scoped ?? trace).skillInvocations.map((s) => s.name);
|
|
47
|
+
return used.length > 0 ? `skills used: ${used.join(", ")}` : "skills used: none";
|
|
48
|
+
})(),
|
|
49
|
+
(() => {
|
|
50
|
+
const inWindow = new Set(events.map((e) => e.index));
|
|
51
|
+
const spawns = trace.agentSpawns.filter(
|
|
52
|
+
(a) => !scoped || inWindow.has(a.index)
|
|
53
|
+
);
|
|
54
|
+
return spawns.length > 0 ? `agents spawned: ${spawns.map((a) => a.subagentType).join(", ")}` : void 0;
|
|
55
|
+
})(),
|
|
56
|
+
(() => {
|
|
57
|
+
const inWindow = new Set(events.map((e) => e.index));
|
|
58
|
+
const branches = trace.subagentBranches.filter(
|
|
59
|
+
(b) => !scoped || inWindow.has(b.spawnIndex)
|
|
60
|
+
);
|
|
61
|
+
return branches.length > 0 ? `subagent transcripts: ${branches.map((b) => `${b.agentType} (depth ${b.spawnDepth})`).join(", ")}` : void 0;
|
|
62
|
+
})()
|
|
63
|
+
].filter((line) => line !== void 0).join("\n")
|
|
64
|
+
);
|
|
65
|
+
const headerRoom = Math.max(
|
|
66
|
+
maxTotalChars - TIMELINE_SHELL.length - MIN_TIMELINE_CHARS,
|
|
67
|
+
0
|
|
68
|
+
);
|
|
69
|
+
if (fullHeader.length > headerRoom) options.onTruncated?.();
|
|
70
|
+
const header = fullHeader.length <= headerRoom ? fullHeader : fullHeader.slice(
|
|
71
|
+
0,
|
|
72
|
+
Math.max(headerRoom - HEADER_TRUNCATED.length, 0)
|
|
73
|
+
) + HEADER_TRUNCATED;
|
|
74
|
+
const branchTypes = /* @__PURE__ */ new Map();
|
|
75
|
+
for (const spawn of trace.agentSpawns) {
|
|
76
|
+
if (spawn.toolUseId) branchTypes.set(spawn.toolUseId, spawn.subagentType);
|
|
77
|
+
}
|
|
78
|
+
for (const branch2 of trace.subagentBranches) {
|
|
79
|
+
branchTypes.set(branch2.branchId, branch2.agentType);
|
|
80
|
+
}
|
|
81
|
+
const label = (branchId) => branchTypes.get(branchId) ?? branchId;
|
|
82
|
+
const callAt = new Map(trace.toolCalls.map((call) => [call.index, call]));
|
|
83
|
+
if (scoped?.empty === true) {
|
|
84
|
+
return `${header}${TIMELINE_SHELL}[no turns: ${scrub(scoped.reason ?? "")}]`;
|
|
85
|
+
}
|
|
86
|
+
const lines = [];
|
|
87
|
+
let branch;
|
|
88
|
+
let turnAt;
|
|
89
|
+
for (const event of events) {
|
|
90
|
+
if (turnAt === void 0 && options.turnFrom !== void 0 && event.index >= options.turnFrom) {
|
|
91
|
+
turnAt = lines.length;
|
|
92
|
+
if (turnAt > 0) lines.push(TURN_HEADING);
|
|
93
|
+
}
|
|
94
|
+
const tag = event.branchId ? `:${label(event.branchId)}` : event.sidechain ? ":sidechain" : "";
|
|
95
|
+
let line;
|
|
96
|
+
switch (event.kind) {
|
|
97
|
+
case "user":
|
|
98
|
+
if (event.text) line = `[user${tag}] ${clip(event.text, maxBlockChars)}`;
|
|
99
|
+
break;
|
|
100
|
+
case "assistant":
|
|
101
|
+
if (event.text) {
|
|
102
|
+
line = `[assistant${tag}] ${clip(event.text, maxBlockChars)}`;
|
|
103
|
+
}
|
|
104
|
+
break;
|
|
105
|
+
case "tool_call": {
|
|
106
|
+
const call = callAt.get(event.index);
|
|
107
|
+
const input = call ? JSON.stringify(call.input) : "";
|
|
108
|
+
line = `[tool${tag}] ${event.toolName ?? call?.name ?? "?"} ${clip(input, Math.min(maxBlockChars, 500))}`;
|
|
109
|
+
break;
|
|
110
|
+
}
|
|
111
|
+
default:
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
if (line === void 0) continue;
|
|
115
|
+
if (event.branchId !== branch) {
|
|
116
|
+
if (branch !== void 0) lines.push(`[/subagent ${label(branch)}]`);
|
|
117
|
+
branch = event.branchId;
|
|
118
|
+
if (branch !== void 0) {
|
|
119
|
+
lines.push(`[subagent ${label(branch)} (${branch})]`);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
lines.push(line);
|
|
123
|
+
}
|
|
124
|
+
if (branch !== void 0) lines.push(`[/subagent ${label(branch)}]`);
|
|
125
|
+
const budget = Math.max(
|
|
126
|
+
maxTotalChars - header.length - TIMELINE_SHELL.length,
|
|
127
|
+
MIN_TIMELINE_CHARS
|
|
128
|
+
);
|
|
129
|
+
if (turnAt !== void 0 && turnAt > 0) {
|
|
130
|
+
let size = lines.reduce((n, l) => n + l.length + 1, -1);
|
|
131
|
+
let cut = 0;
|
|
132
|
+
while (cut < turnAt && size > budget) {
|
|
133
|
+
size -= (lines[cut]?.length ?? 0) + 1;
|
|
134
|
+
cut += 1;
|
|
135
|
+
}
|
|
136
|
+
if (cut > 0) {
|
|
137
|
+
options.onTruncated?.();
|
|
138
|
+
lines.splice(0, cut, `[... ${String(cut)} earlier lines left out ...]`);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
let timeline = scrub(lines.join("\n"));
|
|
142
|
+
if (timeline.length > budget) {
|
|
143
|
+
options.onTruncated?.();
|
|
144
|
+
const marker = (omitted2) => `
|
|
145
|
+
[... truncated ${omitted2} chars of transcript ...]
|
|
146
|
+
`;
|
|
147
|
+
const room = Math.max(budget - marker(timeline.length).length, 0);
|
|
148
|
+
const headLen = Math.floor(room * 0.6);
|
|
149
|
+
const tailLen = room - headLen;
|
|
150
|
+
const omitted = timeline.length - headLen - tailLen;
|
|
151
|
+
timeline = `${timeline.slice(0, headLen)}${marker(omitted)}${tailLen > 0 ? timeline.slice(-tailLen) : ""}`;
|
|
152
|
+
}
|
|
153
|
+
return `${header}${TIMELINE_SHELL}${timeline}`;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export {
|
|
157
|
+
renderTrace
|
|
158
|
+
};
|
|
159
|
+
//# sourceMappingURL=chunk-ZAOJYN2D.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/tracevals/judge/render.ts"],"sourcesContent":["/**\n * Render a trace into judge-readable text. Session files can be tens of MB,\n * so every block is capped and the whole digest is bounded by a head/tail\n * window — the opening (instructions, intent) and the ending (outcome) matter\n * most for adherence judging.\n *\n * Given an eval plan, only the turns that plan's artifact was governing are\n * rendered (ADR 01015). That is both the correct evidence to judge against and\n * a large cut in tokens: a skill's window is usually a fraction of a session.\n *\n * This is also the only place trace content is turned into text bound for a\n * third-party API, so it is where redaction happens (ADR 01020). Every block is\n * scrubbed *before* it is clipped, so truncation can never bisect a secret and\n * leave a usable prefix behind.\n */\nimport type { Trace, TraceEvent } from \"../trace/types.js\";\nimport type { EvalPlan } from \"../core/plan.js\";\nimport { windowFor, type TraceWindow } from \"../graders/util.js\";\nimport { makeRedactor } from \"./redact.js\";\n\nexport interface RenderOptions {\n /** Per-block character cap (messages, tool inputs). */\n maxBlockChars?: number;\n /** Whole-digest character cap; overflow keeps head and tail. */\n maxTotalChars?: number;\n /**\n * Extra redaction patterns, applied on top of the built-in shapes rather\n * than instead of them. Sources are compiled with the `g` flag.\n */\n redact?: string[];\n /**\n * A window cut elsewhere, such as the turn a Stop judges (proposal 0079).\n * It takes the place of the plan's window when both are given.\n */\n window?: TraceWindow;\n /**\n * The ordinal the judged turn starts at (proposal 0079). The whole session\n * is rendered, a heading marks where that turn starts, and over the cap the\n * lines before it go first, oldest first, before the turn itself is cut.\n * When the session is that one turn, nothing comes before it, so there is\n * no heading and nothing to cut first. When no event reaches it, the whole\n * session renders with no heading.\n */\n turnFrom?: number;\n /**\n * Called when `maxTotalChars` cut the digest: the header, the timeline, or\n * both. The cut is already visible as a marker in the text; this lets a\n * caller say so in a warning as well. It can be called more than once for\n * one digest, once per cut.\n */\n onTruncated?: () => void;\n}\n\nconst DEFAULTS: Required<Omit<RenderOptions, \"window\" | \"onTruncated\" | \"turnFrom\">> = {\n maxBlockChars: 2_000,\n maxTotalChars: 150_000,\n redact: [],\n};\n\n/**\n * The smallest timeline the head/tail window will ever leave.\n *\n * The cap used to be skipped outright when the header grew past it — the guard\n * was `budget > 0`, so a non-positive budget *disabled* truncation and shipped\n * the entire unclipped transcript to a third-party provider, precisely when the\n * user had asked for the tightest cap. A floor keeps truncation running; the\n * header is bounded separately so the whole digest still honours the cap.\n */\nconst MIN_TIMELINE_CHARS = 200;\n\nconst HEADER_TRUNCATED = \"\\n[... header truncated ...]\";\nconst TURN_HEADING = \"## The last turn\";\nconst TIMELINE_SHELL = \"\\n\\n## Timeline\\n\";\n\nexport function renderTrace(\n trace: Trace,\n options: RenderOptions = {},\n plan?: EvalPlan,\n): string {\n const { maxBlockChars, maxTotalChars, redact } = { ...DEFAULTS, ...options };\n const scrub = makeRedactor(redact);\n // Redact, then truncate. The other order would let a cap land mid-secret and\n // ship the surviving prefix.\n const clip = (text: string, max: number): string => {\n const safe = scrub(text);\n if (safe.length <= max) return safe;\n return `${safe.slice(0, max)} [... truncated ${safe.length - max} chars ...]`;\n };\n const window =\n options.window ?? (plan === undefined ? undefined : windowFor(trace, plan));\n // Project rules govern the whole session, so their digest is the session's —\n // byte-identical to an unscoped render, and cached as such.\n const scoped =\n window !== undefined && window.scope !== \"session\" ? window : undefined;\n const events: TraceEvent[] = scoped?.events ?? trace.events;\n\n // Scrubbed too: `cwd` and a branch name are author-supplied strings, and the\n // header is as much a thing that leaves the machine as the timeline is.\n const fullHeader = scrub(\n [\n \"# Session\",\n `source: ${trace.source}`,\n trace.model ? `model: ${trace.model}` : undefined,\n `cwd: ${trace.cwd}`,\n trace.gitBranch ? `branch: ${trace.gitBranch}` : undefined,\n scoped\n ? `scope: ${scoped.label} — ${events.length} of ${trace.events.length} session events`\n : undefined,\n // Everything below describes what the judge can actually see. On a\n // scoped render the timeline is the window, so a session-wide count here\n // reads as evidence that the rest was truncated away — the judge would\n // discount a digest that is complete for what it was asked about. The\n // session totals stay, in parentheses, because \"3 of 87\" is context the\n // window count alone does not carry.\n scoped\n ? `turns: ${scoped.turnCount} (of ${trace.turnCount} in the session)`\n : `turns: ${trace.turnCount}`,\n ((): string => {\n const used = (scoped ?? trace).skillInvocations.map((s) => s.name);\n return used.length > 0\n ? `skills used: ${used.join(\", \")}`\n : \"skills used: none\";\n })(),\n ((): string | undefined => {\n // Spawns and branches inside the window only: an agent the parent\n // session started after this skill handed over is not this artifact's\n // to answer for.\n const inWindow = new Set(events.map((e) => e.index));\n const spawns = trace.agentSpawns.filter(\n (a) => !scoped || inWindow.has(a.index),\n );\n return spawns.length > 0\n ? `agents spawned: ${spawns.map((a) => a.subagentType).join(\", \")}`\n : undefined;\n })(),\n ((): string | undefined => {\n const inWindow = new Set(events.map((e) => e.index));\n const branches = trace.subagentBranches.filter(\n (b) => !scoped || inWindow.has(b.spawnIndex),\n );\n return branches.length > 0\n ? `subagent transcripts: ${branches\n .map((b) => `${b.agentType} (depth ${b.spawnDepth})`)\n .join(\", \")}`\n : undefined;\n })(),\n ]\n .filter((line): line is string => line !== undefined)\n .join(\"\\n\"),\n );\n\n // The header lists every skill name, agent type and branch, so on a busy\n // session it can outgrow a tight cap on its own. Bound it first, leaving the\n // timeline its floor, so `maxTotalChars` stays a cap on the whole digest\n // rather than on one half of it.\n const headerRoom = Math.max(\n maxTotalChars - TIMELINE_SHELL.length - MIN_TIMELINE_CHARS,\n 0,\n );\n if (fullHeader.length > headerRoom) options.onTruncated?.();\n const header =\n fullHeader.length <= headerRoom\n ? fullHeader\n : fullHeader.slice(\n 0,\n Math.max(headerRoom - HEADER_TRUNCATED.length, 0),\n ) + HEADER_TRUNCATED;\n\n // Two concurrent subagents are indistinguishable under a flat `:sidechain`\n // tag, so each branch becomes a labelled block named for the subagent that\n // ran it. The header can fall outside the head/tail window below, so every\n // line keeps a short tag of its own as well. Inline and sidecar branches\n // render through this one path; a sidecar branch is named by its meta file's\n // `agentType`, which is the recorder's own statement of what ran.\n const branchTypes = new Map<string, string>();\n for (const spawn of trace.agentSpawns) {\n if (spawn.toolUseId) branchTypes.set(spawn.toolUseId, spawn.subagentType);\n }\n for (const branch of trace.subagentBranches) {\n branchTypes.set(branch.branchId, branch.agentType);\n }\n const label = (branchId: string): string =>\n branchTypes.get(branchId) ?? branchId;\n const callAt = new Map(trace.toolCalls.map((call) => [call.index, call]));\n\n if (scoped?.empty === true) {\n return `${header}${TIMELINE_SHELL}[no turns: ${scrub(scoped.reason ?? \"\")}]`;\n }\n\n const lines: string[] = [];\n let branch: string | undefined;\n let turnAt: number | undefined;\n for (const event of events) {\n if (turnAt === undefined && options.turnFrom !== undefined && event.index >= options.turnFrom) {\n turnAt = lines.length;\n if (turnAt > 0) lines.push(TURN_HEADING);\n }\n const tag = event.branchId\n ? `:${label(event.branchId)}`\n : event.sidechain\n ? \":sidechain\"\n : \"\";\n let line: string | undefined;\n switch (event.kind) {\n case \"user\":\n if (event.text) line = `[user${tag}] ${clip(event.text, maxBlockChars)}`;\n break;\n case \"assistant\":\n if (event.text) {\n line = `[assistant${tag}] ${clip(event.text, maxBlockChars)}`;\n }\n break;\n case \"tool_call\": {\n const call = callAt.get(event.index);\n const input = call ? JSON.stringify(call.input) : \"\";\n line = `[tool${tag}] ${event.toolName ?? call?.name ?? \"?\"} ${clip(input, Math.min(maxBlockChars, 500))}`;\n break;\n }\n default:\n break;\n }\n if (line === undefined) continue;\n if (event.branchId !== branch) {\n if (branch !== undefined) lines.push(`[/subagent ${label(branch)}]`);\n branch = event.branchId;\n if (branch !== undefined) {\n lines.push(`[subagent ${label(branch)} (${branch})]`);\n }\n }\n lines.push(line);\n }\n if (branch !== undefined) lines.push(`[/subagent ${label(branch)}]`);\n\n // Earlier turns give way first, oldest line first, so the cap reaches the\n // judged turn only once nothing before it is left.\n const budget = Math.max(\n maxTotalChars - header.length - TIMELINE_SHELL.length,\n MIN_TIMELINE_CHARS,\n );\n if (turnAt !== undefined && turnAt > 0) {\n // Measured before the scrub below, which can change a length only where a\n // label matches a secret pattern. Close enough to pick how many go. The\n // heading is kept and counted, and a turn still over budget alone is cut\n // by the head-and-tail pass below.\n let size = lines.reduce((n, l) => n + l.length + 1, -1);\n let cut = 0;\n while (cut < turnAt && size > budget) {\n size -= (lines[cut]?.length ?? 0) + 1;\n cut += 1;\n }\n if (cut > 0) {\n options.onTruncated?.();\n lines.splice(0, cut, `[... ${String(cut)} earlier lines left out ...]`);\n }\n }\n\n // One more pass over the assembled timeline. Every message and tool input\n // already went through `clip`, so this pass is the belt to that pair of\n // braces: it covers what is assembled here rather than clipped — tool names,\n // branch labels — and anything a later change adds to this loop without\n // remembering to scrub it. Redaction is idempotent, so it costs nothing.\n let timeline = scrub(lines.join(\"\\n\"));\n // The budget is a floor, never a switch: `budget > 0` used to turn\n // truncation *off* for a non-positive budget, the case where it matters most.\n if (timeline.length > budget) {\n options.onTruncated?.();\n // The marker counts against the budget, so the digest never exceeds what\n // the caller asked for. `omitted` is at most `timeline.length`, so the\n // width reserved for it is always enough.\n const marker = (omitted: number): string =>\n `\\n[... truncated ${omitted} chars of transcript ...]\\n`;\n const room = Math.max(budget - marker(timeline.length).length, 0);\n const headLen = Math.floor(room * 0.6);\n const tailLen = room - headLen;\n const omitted = timeline.length - headLen - t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,IAAI,SAAS,MAAM,CAAC,OAAO,IAAI,EAC3C;AAAA,EACF;AAEA,SAAO,GAAG,MAAM,GAAG,cAAc,GAAG,QAAQ;AAC9C;","names":["branch","omitted"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
displayPath
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-K5LBIAOM.js";
|
|
5
5
|
import {
|
|
6
6
|
escapeWorkflowCommandMessage,
|
|
7
7
|
escapeWorkflowCommandProperty,
|
|
@@ -22,4 +22,4 @@ function renderFindingsGithub(report) {
|
|
|
22
22
|
export {
|
|
23
23
|
renderFindingsGithub
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=chunk-
|
|
25
|
+
//# sourceMappingURL=chunk-ZKIXGFID.js.map
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
shortPin,
|
|
8
8
|
shortSrc,
|
|
9
9
|
spellAt
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SCKVDD4E.js";
|
|
11
11
|
import {
|
|
12
12
|
parseSrc
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-64DULZIG.js";
|
|
14
14
|
import {
|
|
15
15
|
guidanceLines
|
|
16
16
|
} from "./chunk-QK6VYJHV.js";
|
|
@@ -532,4 +532,4 @@ export {
|
|
|
532
532
|
releasesCell,
|
|
533
533
|
renderHistoryPretty
|
|
534
534
|
};
|
|
535
|
-
//# sourceMappingURL=chunk-
|
|
535
|
+
//# sourceMappingURL=chunk-ZT3ERG4B.js.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
entriesOf
|
|
4
|
+
} from "./chunk-S7V4F7HC.js";
|
|
5
|
+
import {
|
|
6
|
+
StrategyError,
|
|
7
|
+
indexSet,
|
|
8
|
+
loadStrategy,
|
|
9
|
+
plural
|
|
10
|
+
} from "./chunk-K5LBIAOM.js";
|
|
11
|
+
import {
|
|
12
|
+
closestName
|
|
13
|
+
} from "./chunk-XTKJNRJ6.js";
|
|
14
|
+
|
|
15
|
+
// src/strategy/commands/get.ts
|
|
16
|
+
var GET_FORMATS = ["pretty", "json"];
|
|
17
|
+
async function runGet(opts) {
|
|
18
|
+
const { cwd, run, set, steps } = await loadStrategy(opts);
|
|
19
|
+
const index = indexSet(set);
|
|
20
|
+
const found = index.anyWithId(opts.id);
|
|
21
|
+
const entry = found === void 0 ? void 0 : entriesOf(set, cwd, run.base, index, steps).find((e) => e.record === found);
|
|
22
|
+
if (entry !== void 0) return entry;
|
|
23
|
+
throw new StrategyError(unknownRecordMessage(opts.id, set.records));
|
|
24
|
+
}
|
|
25
|
+
function unknownRecordMessage(id, records) {
|
|
26
|
+
const ids = records.map((r) => r.id);
|
|
27
|
+
const nearest = closestName(id.toLowerCase(), ids.map((i) => i.toLowerCase()));
|
|
28
|
+
const suggestion = ids.find((i) => i.toLowerCase() === nearest);
|
|
29
|
+
const hint = suggestion === void 0 ? "." : `; did you mean "${suggestion}"?`;
|
|
30
|
+
return `no record "${id}". ${plural(records.length, "record")}${hint}`;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export {
|
|
34
|
+
GET_FORMATS,
|
|
35
|
+
runGet,
|
|
36
|
+
unknownRecordMessage
|
|
37
|
+
};
|
|
38
|
+
//# sourceMappingURL=chunk-ZTRC37NH.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/strategy/commands/get.ts"],"sourcesContent":["/**\n * `manni strategy get <id>`: one record, matched by id without case. A miss\n * is a usage error that says how big the set is and, when an id is a few\n * edits away, which one.\n */\nimport { closestName } from \"../../shared/closest-name.js\";\nimport { indexSet } from \"../core/check.js\";\nimport { StrategyError } from \"../errors.js\";\nimport type { StrategyRecord } from \"../types.js\";\nimport { entriesOf, type RecordEntry } from \"./list.js\";\nimport { loadStrategy, plural, type StrategyCommandOptions } from \"./run.js\";\n\nexport const GET_FORMATS = [\"pretty\", \"json\"] as const;\nexport type GetFormat = (typeof GET_FORMATS)[number];\n\nexport interface GetOptions extends StrategyCommandOptions {\n /** The `<id>` argument, compared without case. */\n id: string;\n}\n\nexport async function runGet(opts: GetOptions): Promise<RecordEntry> {\n const { cwd, run, set, steps } = await loadStrategy(opts);\n const index = indexSet(set);\n const found = index.anyWithId(opts.id);\n const entry = found === undefined ? undefined : entriesOf(set, cwd, run.base, index, steps).find((e) => e.record === found);\n if (entry !== undefined) return entry;\n throw new StrategyError(unknownRecordMessage(opts.id, set.records));\n}\n\n/** `no record \"t9\". 82 records; did you mean \"t1\"?`: a miss, the set's size and the nearest id. */\nexport function unknownRecordMessage(id: string, records: readonly StrategyRecord[]): string {\n const ids = records.map((r) => r.id);\n const nearest = closestName(id.toLowerCase(), ids.map((i) => i.toLowerCase()));\n const suggestion = ids.find((i) => i.toLowerCase() === nearest);\n const hint = suggestion === undefined ? \".\" : `; did you mean \"${suggestion}\"?`;\n return `no record \"${id}\". ${plural(records.length, \"record\")}${hint}`;\n}\n"],"mappings":";;;;;;;;;;;;;;;AAYO,IAAM,cAAc,CAAC,UAAU,MAAM;AAQ5C,eAAsB,OAAO,MAAwC;AACnE,QAAM,EAAE,KAAK,KAAK,KAAK,MAAM,IAAI,MAAM,aAAa,IAAI;AACxD,QAAM,QAAQ,SAAS,GAAG;AAC1B,QAAM,QAAQ,MAAM,UAAU,KAAK,EAAE;AACrC,QAAM,QAAQ,UAAU,SAAY,SAAY,UAAU,KAAK,KAAK,IAAI,MAAM,OAAO,KAAK,EAAE,KAAK,CAAC,MAAM,EAAE,WAAW,KAAK;AAC1H,MAAI,UAAU,OAAW,QAAO;AAChC,QAAM,IAAI,cAAc,qBAAqB,KAAK,IAAI,IAAI,OAAO,CAAC;AACpE;AAGO,SAAS,qBAAqB,IAAY,SAA4C;AAC3F,QAAM,MAAM,QAAQ,IAAI,CAAC,MAAM,EAAE,EAAE;AACnC,QAAM,UAAU,YAAY,GAAG,YAAY,GAAG,IAAI,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;AAC7E,QAAM,aAAa,IAAI,KAAK,CAAC,MAAM,EAAE,YAAY,MAAM,OAAO;AAC9D,QAAM,OAAO,eAAe,SAAY,MAAM,mBAAmB,UAAU;AAC3E,SAAO,cAAc,EAAE,MAAM,OAAO,QAAQ,QAAQ,QAAQ,CAAC,GAAG,IAAI;AACtE;","names":[]}
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
REPORT_FORMAT_LIST,
|
|
17
17
|
renderJunit
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-E3HYSNS6.js";
|
|
19
19
|
import {
|
|
20
20
|
isErrorSeverity
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YB3KD5RI.js";
|
|
22
22
|
import {
|
|
23
23
|
escapeWorkflowCommandMessage,
|
|
24
24
|
escapeWorkflowCommandProperty,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-RNVYGWIC.js";
|
|
30
30
|
import {
|
|
31
31
|
package_default
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-TR5TNPWT.js";
|
|
33
33
|
|
|
34
34
|
// src/lint/core/rule-id.ts
|
|
35
35
|
var RULE_ID_PREFIX = "manni:lint";
|
|
@@ -651,4 +651,4 @@ export {
|
|
|
651
651
|
renderTemplates,
|
|
652
652
|
renderTools
|
|
653
653
|
};
|
|
654
|
-
//# sourceMappingURL=chunk-
|
|
654
|
+
//# sourceMappingURL=chunk-ZW4YASUB.js.map
|
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
import {
|
|
3
3
|
displayPath,
|
|
4
4
|
plural
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-K5LBIAOM.js";
|
|
6
|
+
import {
|
|
7
|
+
PARENTS
|
|
8
|
+
} from "./chunk-INOVEO32.js";
|
|
6
9
|
import {
|
|
7
|
-
PARENTS,
|
|
8
10
|
RECORD_TYPES
|
|
9
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LCMBG4LY.js";
|
|
10
12
|
import {
|
|
11
13
|
guidanceLines
|
|
12
14
|
} from "./chunk-QK6VYJHV.js";
|
|
@@ -26,10 +28,12 @@ function renderListPretty(entries) {
|
|
|
26
28
|
const cell = (e) => `${" ".repeat(e.depth)}${e.record.id}`;
|
|
27
29
|
const recordWidth = Math.max("record".length, ...entries.map((e) => cell(e).length)) + 4;
|
|
28
30
|
const pagesWidth = Math.max("pages".length, ...entries.map((e) => String(e.pages.length).length));
|
|
29
|
-
const
|
|
31
|
+
const covered = (e) => e.coverage === void 0 ? "" : `${String(e.coverage.served)}/${String(e.coverage.steps)}`;
|
|
32
|
+
const stepsWidth = entries.some((e) => e.coverage !== void 0) ? Math.max("steps".length, ...entries.map((e) => covered(e).length)) : 0;
|
|
33
|
+
const row = (record, pages, steps, title) => `${record.padEnd(recordWidth)}${pages.padStart(pagesWidth)} ${stepsWidth === 0 ? "" : `${steps.padStart(stepsWidth)} `}${title}`.trimEnd();
|
|
30
34
|
return [
|
|
31
|
-
row("record", "pages", "title"),
|
|
32
|
-
...entries.map((e) => row(cell(e), String(e.pages.length), titleOf(e.record))),
|
|
35
|
+
row("record", "pages", "steps", "title"),
|
|
36
|
+
...entries.map((e) => row(cell(e), String(e.pages.length), covered(e), titleOf(e.record))),
|
|
33
37
|
// A record under several parents is counted once.
|
|
34
38
|
countsLine([...new Set(entries.map((e) => e.record))])
|
|
35
39
|
].join("\n");
|
|
@@ -39,6 +43,17 @@ function recordLines(records) {
|
|
|
39
43
|
const width = Math.max(0, ...records.map((r) => r.id.length)) + 2;
|
|
40
44
|
return records.map((r) => r.title === void 0 ? r.id : `${r.id.padEnd(width)}${r.title}`);
|
|
41
45
|
}
|
|
46
|
+
function stepLines(steps, c) {
|
|
47
|
+
const numberWidth = Math.max(...steps.map((s) => String(s.n).length));
|
|
48
|
+
const indent = " ".repeat(numberWidth + 2 + 9 + 2);
|
|
49
|
+
return steps.flatMap((step) => {
|
|
50
|
+
const lines = [`${String(step.n).padEnd(numberWidth)} ${step.state.padEnd(9)} ${step.stage ?? ""}`.trimEnd()];
|
|
51
|
+
const where = step.page ?? step.doc;
|
|
52
|
+
if (where !== void 0) lines.push(`${indent}${c.dim(where)}`);
|
|
53
|
+
if (step.note !== void 0) lines.push(`${indent}${c.dim(step.note)}`);
|
|
54
|
+
return lines;
|
|
55
|
+
});
|
|
56
|
+
}
|
|
42
57
|
function renderGetPretty(entry, opts) {
|
|
43
58
|
const c = palette(opts.color);
|
|
44
59
|
const { record } = entry;
|
|
@@ -55,6 +70,9 @@ function renderGetPretty(entry, opts) {
|
|
|
55
70
|
rows.push([PARENTS[record.type], recordLines(shown)]);
|
|
56
71
|
}
|
|
57
72
|
if (entry.children.length > 0) rows.push([record.type === "audience" ? "personas" : "journeys", recordLines(entry.children)]);
|
|
73
|
+
if (entry.steps !== void 0 && entry.coverage !== void 0) {
|
|
74
|
+
rows.push(["steps", [`${String(entry.coverage.served)} of ${String(entry.coverage.steps)} served`, ...stepLines(entry.steps, c)]]);
|
|
75
|
+
}
|
|
58
76
|
rows.push(["pages", entry.pages.length === 0 ? ["none"] : entry.pages]);
|
|
59
77
|
const where = `${entry.file}:${String(record.line)}`;
|
|
60
78
|
const lines = [`${c.bold(titleOf(record).padEnd(44))} ${c.dim(where)}`];
|
|
@@ -102,7 +120,8 @@ function renderFindingsPretty(report, opts) {
|
|
|
102
120
|
const baselined = baseline !== void 0 && baseline.suppressed > 0 ? `, ${String(baseline.suppressed)} baselined` : "";
|
|
103
121
|
const records = plural(report.records, "record");
|
|
104
122
|
if (report.findings.length === 0) {
|
|
105
|
-
|
|
123
|
+
const steps = report.steps > 0 ? `, ${plural(report.steps, "step")}` : "";
|
|
124
|
+
return `${c.green("\u2713")} ${records}, ${plural(report.references, "reference")}${steps}, no findings${baselined}`;
|
|
106
125
|
}
|
|
107
126
|
const ruleWidth = Math.max(RULE_WIDTH, ...report.findings.map((f) => f.ruleId.length + 2));
|
|
108
127
|
const prefixWidth = 2 + 7 + 1 + ruleWidth;
|
|
@@ -134,4 +153,4 @@ export {
|
|
|
134
153
|
renderGetPretty,
|
|
135
154
|
renderFindingsPretty
|
|
136
155
|
};
|
|
137
|
-
//# sourceMappingURL=chunk-
|
|
156
|
+
//# sourceMappingURL=chunk-ZX4TOTZS.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/strategy/reporters/pretty.ts"],"sourcesContent":["/**\n * Human output for every `manni strategy` command. `list` is a tree, `get` a\n * key column, and `check` term's layout: findings grouped under a bold\n * `file:line`, each message wrapped under its own column with the rule's\n * guidance dim beneath it.\n */\nimport { palette, type Colors } from \"../../shared/color.js\";\nimport { guidanceLines } from \"../../shared/guidance.js\";\nimport type { Severity } from \"../../shared/severity.js\";\nimport type { StrategyReport } from \"../commands/findings.js\";\nimport type { RecordEntry } from \"../commands/list.js\";\nimport { displayPath, plural } from \"../commands/run.js\";\nimport { PARENTS, RECORD_TYPES, type ResolvedStep, type StrategyFinding, type StrategyRecord } from \"../types.js\";\n\nconst WIDTH = 80;\n\n/** A record's title, or its id when it has none. */\nexport function titleOf(record: StrategyRecord): string {\n return record.title ?? record.id;\n}\n\n/** `4 audiences, 4 personas, 74 journeys`. */\nexport function countsLine(records: readonly StrategyRecord[]): string {\n return RECORD_TYPES.map((type) => plural(records.filter((r) => r.type === type).length, type)).join(\", \");\n}\n\n// ---------------------------------------------------------------------------\n// list\n\nexport function renderListPretty(entries: readonly RecordEntry[]): string {\n const cell = (e: RecordEntry): string => `${\" \".repeat(e.depth)}${e.record.id}`;\n const recordWidth = Math.max(\"record\".length, ...entries.map((e) => cell(e).length)) + 4;\n const pagesWidth = Math.max(\"pages\".length, ...entries.map((e) => String(e.pages.length).length));\n // The steps column shows only when some journey has steps, so a set without them prints as it always has.\n const covered = (e: RecordEntry): string =>\n e.coverage === undefined ? \"\" : `${String(e.coverage.served)}/${String(e.coverage.steps)}`;\n const stepsWidth = entries.some((e) => e.coverage !== undefined)\n ? Math.max(\"steps\".length, ...entries.map((e) => covered(e).length))\n : 0;\n const row = (record: string, pages: string, steps: string, title: string): string =>\n `${record.padEnd(recordWidth)}${pages.padStart(pagesWidth)} ${stepsWidth === 0 ? \"\" : `${steps.padStart(stepsWidth)} `}${title}`.trimEnd();\n return [\n row(\"record\", \"pages\", \"steps\", \"title\"),\n ...entries.map((e) => row(cell(e), String(e.pages.length), covered(e), titleOf(e.record))),\n // A record under several parents is counted once.\n countsLine([...new Set(entries.map((e) => e.record))]),\n ].join(\"\\n\");\n}\n\n// ---------------------------------------------------------------------------\n// get\n\nconst KEY_WIDTH = 14;\n\n/** Each record as `id title`, the ids padded so the titles line up. */\nfunction recordLines(records: readonly Pick<StrategyRecord, \"id\" | \"title\">[]): string[] {\n const width = Math.max(0, ...records.map((r) => r.id.length)) + 2;\n return records.map((r) => (r.title === undefined ? r.id : `${r.id.padEnd(width)}${r.title}`));\n}\n\n/**\n * Each step as its number, its state padded to nine and its stage. Under it,\n * dim: the page `doc` names, else `doc` as written, then the note.\n */\nfunction stepLines(steps: readonly ResolvedStep[], c: Colors): string[] {\n const numberWidth = Math.max(...steps.map((s) => String(s.n).length));\n const indent = \" \".repeat(numberWidth + 2 + 9 + 2);\n return steps.flatMap((step) => {\n const lines = [`${String(step.n).padEnd(numberWidth)} ${step.state.padEnd(9)} ${step.stage ?? \"\"}`.trimEnd()];\n const where = step.page ?? step.doc;\n if (where !== undefined) lines.push(`${indent}${c.dim(where)}`);\n if (step.note !== undefined) lines.push(`${indent}${c.dim(step.note)}`);\n return lines;\n });\n}\n\nexport function renderGetPretty(entry: RecordEntry, opts: { color: boolean }): string {\n const c = palette(opts.color);\n const { record } = entry;\n const rows: [string, string[]][] = [\n [\"type\", [record.type]],\n [\"id\", [record.id]],\n ];\n if (record.description !== undefined) rows.push([\"description\", [record.description]]);\n if (record.lifecycle !== undefined) rows.push([\"lifecycle\", [record.lifecycle]]);\n if (record.type !== \"audience\" && record.parents.length > 0) {\n // A value no record answers to shows as written.\n const shown = record.parents.map(\n (p) => entry.parents.find((r) => r.id.toLowerCase() === p.value.toLowerCase()) ?? { id: p.value },\n );\n rows.push([PARENTS[record.type], recordLines(shown)]);\n }\n if (entry.children.length > 0) rows.push([record.type === \"audience\" ? \"personas\" : \"journeys\", recordLines(entry.children)]);\n if (entry.steps !== undefined && entry.coverage !== undefined) {\n rows.push([\"steps\", [`${String(entry.coverage.served)} of ${String(entry.coverage.steps)} served`, ...stepLines(entry.steps, c)]]);\n }\n rows.push([\"pages\", entry.pages.length === 0 ? [\"none\"] : entry.pages]);\n\n const where = `${entry.file}:${String(record.line)}`;\n const lines = [`${c.bold(titleOf(record).padEnd(44))} ${c.dim(where)}`];\n for (const [key, values] of rows) {\n values.forEach((value, i) => lines.push(` ${(i === 0 ? key : \"\").padEnd(KEY_WIDTH)}${value}`));\n }\n return lines.join(\"\\n\");\n}\n\n// ---------------------------------------------------------------------------\n// check\n\nconst RULE_WIDTH = 36;\n\n/** Sentences packed into lines of at most `width`; a message that fits stays whole. */\nfunction wrapSentences(text: string, width: number): string[] {\n if (text.length <= width) return [text];\n const lines: string[] = [];\n let line = \"\";\n // A sentence ends at `.` or `?` before a space and a capital, which every\n // message sentence starts with, so `m1.0`, a URL or `e.g. x` never splits.\n for (const sentence of text.split(/(?<=[.?])\\s+(?=[A-Z])/)) {\n if (line === \"\") line = sentence;\n else if (line.length + 1 + sentence.length <= width) line = `${line} ${sentence}`;\n else {\n lines.push(line);\n line = sentence;\n }\n }\n if (line !== \"\") lines.push(line);\n return lines;\n}\n\nfunction severityText(c: Colors, severity: Severity): string {\n const padded = severity.padEnd(7);\n if (severity === \"error\") return c.red(padded);\n if (severity === \"warning\") return c.yellow(padded);\n return c.cyan(padded);\n}\n\nfunction counts(findings: readonly StrategyFinding[]): string {\n const n = (severity: Severity): number => findings.filter((f) => f.severity === severity).length;\n const parts: string[] = [];\n if (n(\"error\") > 0) parts.push(plural(n(\"error\"), \"error\"));\n if (n(\"warning\") > 0) parts.push(plural(n(\"warning\"), \"warning\"));\n if (n(\"notice\") > 0) parts.push(plural(n(\"notice\"), \"notice\"));\n return parts.join(\", \");\n}\n\nexport function renderFindingsPretty(report: StrategyReport, opts: { color: boolean }): string {\n const c = palette(opts.color);\n const { baseline } = report;\n if (baseline?.written === true) {\n return `${c.green(\"✓\")} ${plural(report.found, \"finding\")} recorded in ${baseline.path}`;\n }\n const baselined = baseline !== undefined && baseline.suppressed > 0 ? `, ${String(baseline.suppressed)} baselined` : \"\";\n const records = plural(report.records, \"record\");\n if (report.findings.length === 0) {\n const steps = report.steps > 0 ? `, ${plural(report.steps, \"step\")}` : \"\";\n return `${c.green(\"✓\")} ${records}, ${plural(report.references, \"reference\")}${steps}, no findings${baselined}`;\n }\n\n const ruleWidth = Math.max(RULE_WIDTH, ...report.findings.map((f) => f.ruleId.length + 2));\n const prefixWidth = 2 + 7 + 1 + ruleWidth;\n const indent = \" \".repeat(prefixWidth);\n const lines: string[] = [];\n let group: string | undefined;\n for (const finding of report.findings) {\n const file = displayPath(finding.file, report.cwd, report.base);\n const header = finding.line === undefined ? file : `${file}:${String(finding.line)}`;\n if (header !== group) {\n lines.push(c.bold(header));\n group = header;\n }\n wrapSentences(finding.message, WIDTH - prefixWidth).forEach((text, i) => {\n lines.push(\n i === 0 ? ` ${severityText(c, finding.severity)} ${finding.ruleId.padEnd(ruleWidth)}${text}` : `${indent}${text}`,\n );\n });\n for (const line of guidanceLines(finding.guidance)) lines.push(`${indent}${c.dim(line)}`);\n }\n lines.push(\"\", `${counts(report.findings)} in ${records}${baselined}`);\n return lines.join(\"\\n\");\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAcA,IAAM,QAAQ;AAGP,SAAS,QAAQ,QAAgC;AACtD,SAAO,OAAO,SAAS,OAAO;AAChC;AAGO,SAAS,WAAW,SAA4C;AACrE,S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AA,IACF,CAAC;AACD,eAAW,QAAQ,cAAc,QAAQ,QAAQ,EAAG,OAAM,KAAK,GAAG,MAAM,GAAG,EAAE,IAAI,IAAI,CAAC,EAAE;AAAA,EAC1F;AACA,QAAM,KAAK,IAAI,GAAG,OAAO,OAAO,QAAQ,CAAC,OAAO,OAAO,GAAG,SAAS,EAAE;AACrE,SAAO,MAAM,KAAK,IAAI;AACxB;","names":[]}
|
|
@@ -4,21 +4,19 @@ 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-4H3IOF52.js";
|
|
12
|
-
import "./chunk-ODSIHEIW.js";
|
|
7
|
+
} from "./chunk-JL5FHNQK.js";
|
|
8
|
+
import "./chunk-LCMBG4LY.js";
|
|
9
|
+
import "./chunk-E3HYSNS6.js";
|
|
10
|
+
import "./chunk-562QZKAB.js";
|
|
13
11
|
import "./chunk-DSWKBZWW.js";
|
|
14
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-YB3KD5RI.js";
|
|
15
13
|
import "./chunk-QK6VYJHV.js";
|
|
16
14
|
import "./chunk-RNVYGWIC.js";
|
|
17
15
|
import "./chunk-YEUYKR62.js";
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-JF4BC7ZD.js";
|
|
19
17
|
import "./chunk-HX44GB4Z.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-NVYDWVXN.js";
|
|
19
|
+
import "./chunk-TR5TNPWT.js";
|
|
22
20
|
import "./chunk-OWBRDNRZ.js";
|
|
23
21
|
import "./chunk-G3T47CFV.js";
|
|
24
22
|
import "./chunk-2H7UOFLK.js";
|
|
@@ -28,4 +26,4 @@ export {
|
|
|
28
26
|
resolveGetInputs,
|
|
29
27
|
resolveQueryInputs
|
|
30
28
|
};
|
|
31
|
-
//# sourceMappingURL=cli-
|
|
29
|
+
//# sourceMappingURL=cli-4QAH3DBX.js.map
|
|
@@ -11,21 +11,21 @@ import {
|
|
|
11
11
|
runPromote,
|
|
12
12
|
runReview,
|
|
13
13
|
seedGoldenCases
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-PX7OTUNU.js";
|
|
15
15
|
import {
|
|
16
16
|
renderList,
|
|
17
17
|
runList
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-VSHMXMBZ.js";
|
|
19
19
|
import {
|
|
20
20
|
runRun
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-TWYJ2TVS.js";
|
|
22
|
+
import "./chunk-Q7FFJMFO.js";
|
|
23
|
+
import "./chunk-XG6PVB5S.js";
|
|
24
24
|
import {
|
|
25
25
|
allowExecutionMessage,
|
|
26
26
|
isExecutionGrant
|
|
27
27
|
} from "./chunk-YNHZHSSM.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-INOVEO32.js";
|
|
29
29
|
import {
|
|
30
30
|
render
|
|
31
31
|
} from "./chunk-NPZWOPOH.js";
|
|
@@ -38,21 +38,18 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
DocevalsError
|
|
40
40
|
} from "./chunk-MDZXRHIJ.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-ROZDHPKA.js";
|
|
41
|
+
import "./chunk-FXE5K56B.js";
|
|
42
|
+
import "./chunk-VZSATUI7.js";
|
|
44
43
|
import {
|
|
45
44
|
terminalConfirm
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-XPO655IX.js";
|
|
49
|
-
import "./chunk-4H3IOF52.js";
|
|
45
|
+
} from "./chunk-LCMBG4LY.js";
|
|
46
|
+
import "./chunk-E3HYSNS6.js";
|
|
50
47
|
import {
|
|
51
48
|
collect,
|
|
52
49
|
configOption
|
|
53
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-562QZKAB.js";
|
|
54
51
|
import "./chunk-DSWKBZWW.js";
|
|
55
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-YB3KD5RI.js";
|
|
56
53
|
import "./chunk-77AINBYM.js";
|
|
57
54
|
import "./chunk-QK6VYJHV.js";
|
|
58
55
|
import {
|
|
@@ -62,16 +59,16 @@ import {
|
|
|
62
59
|
import {
|
|
63
60
|
fail
|
|
64
61
|
} from "./chunk-YEUYKR62.js";
|
|
65
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-JF4BC7ZD.js";
|
|
66
63
|
import {
|
|
67
64
|
notice
|
|
68
65
|
} from "./chunk-HX44GB4Z.js";
|
|
69
66
|
import {
|
|
70
67
|
LOCAL_FLAG_HELP
|
|
71
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-NVYDWVXN.js";
|
|
72
69
|
import {
|
|
73
70
|
package_default
|
|
74
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-TR5TNPWT.js";
|
|
75
72
|
import "./chunk-OWBRDNRZ.js";
|
|
76
73
|
import "./chunk-G3T47CFV.js";
|
|
77
74
|
import "./chunk-2H7UOFLK.js";
|
|
@@ -477,4 +474,4 @@ export {
|
|
|
477
474
|
buildProgram,
|
|
478
475
|
colorFor
|
|
479
476
|
};
|
|
480
|
-
//# sourceMappingURL=cli-
|
|
477
|
+
//# sourceMappingURL=cli-6476FRBK.js.map
|