@hawkeyexl/manni 4.16.0 → 4.18.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-L5W4JS7A.js → batch-5TPNK5BQ.js} +14 -14
- package/dist/{build-GNZUVDZX.js → build-GGKCRWKH.js} +15 -14
- package/dist/{calibrate-2LYIDN6U.js → calibrate-OGOLLGXY.js} +15 -15
- package/dist/{capture-OEDMFU5Z.js → capture-CNHRHTA7.js} +14 -14
- package/dist/{check-NLLFHNWG.js → check-BAMOJMOJ.js} +16 -15
- package/dist/{check-Z5VGDSDT.js → check-XLIS5A7G.js} +13 -14
- package/dist/check-XYGABPXI.js +47 -0
- package/dist/{check-JR2TYL2Y.js → check-ZFI7H7LS.js} +15 -15
- package/dist/{cli-THEU2QG2.js → chunk-245W2Q7C.js} +133 -365
- package/dist/chunk-245W2Q7C.js.map +1 -0
- package/dist/{chunk-OJ7FEM2G.js → chunk-27FP4KKD.js} +47 -10
- package/dist/chunk-27FP4KKD.js.map +1 -0
- package/dist/{chunk-GQQ2AX63.js → chunk-2QZCPPVE.js} +38 -432
- package/dist/chunk-2QZCPPVE.js.map +1 -0
- package/dist/{chunk-BMYCLTFK.js → chunk-327CWO33.js} +3 -3
- package/dist/{chunk-WT3AATHC.js → chunk-33FIOHJ4.js} +252 -425
- package/dist/chunk-33FIOHJ4.js.map +1 -0
- package/dist/{chunk-ZJZQPOJO.js → chunk-3COYAAR7.js} +2 -2
- package/dist/{chunk-6ANTGYNT.js → chunk-3LZ6AYB4.js} +2 -2
- package/dist/{chunk-2AUULNIJ.js → chunk-4A445ALG.js} +3 -3
- package/dist/{chunk-L3YGGYBG.js → chunk-4KY2RUXQ.js} +3 -3
- package/dist/{chunk-NDBISART.js → chunk-5VA3ZOB7.js} +3 -3
- package/dist/{chunk-4LLYPDNG.js → chunk-6E6Z6UQL.js} +7 -7
- package/dist/{chunk-CSLJMML4.js → chunk-6ZYXK3JT.js} +4 -4
- package/dist/chunk-7RZQAMA2.js +314 -0
- package/dist/chunk-7RZQAMA2.js.map +1 -0
- package/dist/{chunk-NH6B6DDI.js → chunk-CWVL7XZR.js} +4 -4
- package/dist/{chunk-DTG6S2UG.js → chunk-E3YXGLEU.js} +2 -2
- package/dist/{chunk-5PO2BWZF.js → chunk-E76WPNYO.js} +2 -2
- package/dist/{chunk-F4GXZMEO.js → chunk-EITEHOSX.js} +12 -7
- package/dist/{chunk-F4GXZMEO.js.map → chunk-EITEHOSX.js.map} +1 -1
- package/dist/{chunk-DSTRT6YD.js → chunk-EU5QLSNN.js} +3 -3
- package/dist/{chunk-F6B2TNXU.js → chunk-F7GYY373.js} +6 -6
- package/dist/{chunk-6NTNLKNQ.js → chunk-FE3US7FR.js} +6 -5
- package/dist/{chunk-6NTNLKNQ.js.map → chunk-FE3US7FR.js.map} +1 -1
- package/dist/{chunk-IL62WATF.js → chunk-FNQE3RAW.js} +2 -2
- package/dist/chunk-FO6MNXOF.js +580 -0
- package/dist/chunk-FO6MNXOF.js.map +1 -0
- package/dist/{chunk-5D24C6WM.js → chunk-GMOAW2EG.js} +6 -2
- package/dist/chunk-GMOAW2EG.js.map +1 -0
- package/dist/chunk-GNZKLUZW.js +459 -0
- package/dist/chunk-GNZKLUZW.js.map +1 -0
- package/dist/{chunk-LEOQO3S6.js → chunk-ICRYIYMJ.js} +7 -7
- package/dist/{chunk-GR6QQ7GM.js → chunk-IIBVQCCR.js} +4 -4
- package/dist/{chunk-O6YTTBSN.js → chunk-JFB45L7D.js} +2 -2
- package/dist/chunk-JFPCDIES.js +1338 -0
- package/dist/chunk-JFPCDIES.js.map +1 -0
- package/dist/{chunk-2XRET3ZG.js → chunk-JHUEACRT.js} +31 -47
- package/dist/chunk-JHUEACRT.js.map +1 -0
- package/dist/{chunk-7UC55CAU.js → chunk-JS5NCZYC.js} +187 -159
- package/dist/chunk-JS5NCZYC.js.map +1 -0
- package/dist/{chunk-63GILHR5.js → chunk-KRQTN5KE.js} +4 -4
- package/dist/{chunk-WDENIUC7.js → chunk-MDZXRHIJ.js} +1 -1
- package/dist/chunk-MDZXRHIJ.js.map +1 -0
- package/dist/{chunk-3GLDB7MZ.js → chunk-MH5MX4B3.js} +1311 -18
- package/dist/chunk-MH5MX4B3.js.map +1 -0
- package/dist/{chunk-IGRXQC3H.js → chunk-N25KDXOV.js} +2 -2
- package/dist/{chunk-DW22KCLN.js → chunk-NPZWOPOH.js} +3 -3
- package/dist/{chunk-4L3JBAW4.js → chunk-NUAVQQMC.js} +2 -2
- package/dist/{chunk-PBZZUNDV.js → chunk-O2TE5X25.js} +7 -7
- package/dist/{chunk-EOSQENQF.js → chunk-OVQDZOMU.js} +2 -2
- package/dist/{chunk-WD33LE5A.js → chunk-OZWV27SE.js} +1313 -127
- package/dist/chunk-OZWV27SE.js.map +1 -0
- package/dist/{chunk-5OOQ3HQ3.js → chunk-PCTJ7P6U.js} +11 -2
- package/dist/chunk-PCTJ7P6U.js.map +1 -0
- package/dist/{chunk-EZCJPF72.js → chunk-PLN2LJDM.js} +3 -3
- package/dist/{chunk-D4ANAOY7.js → chunk-QGJA43DX.js} +20 -6
- package/dist/chunk-QGJA43DX.js.map +1 -0
- package/dist/{chunk-6YFEV7CM.js → chunk-QWYE3S3U.js} +5 -5
- package/dist/{chunk-GC47NBGO.js → chunk-QXTL5MGT.js} +4 -4
- package/dist/{chunk-AWAXAJ6R.js → chunk-RCWP63XT.js} +2 -2
- package/dist/{chunk-IM67NRUW.js → chunk-RMKMJ43W.js} +2 -2
- package/dist/{chunk-EA5KKIFG.js → chunk-RVSUMNCR.js} +3 -3
- package/dist/{chunk-NFJGIBES.js → chunk-SVB45M54.js} +82 -238
- package/dist/chunk-SVB45M54.js.map +1 -0
- package/dist/{chunk-4HEEXPVX.js → chunk-T3VFO2LO.js} +6 -6
- package/dist/{chunk-FU3OCYYH.js → chunk-TFTGMYDR.js} +2 -2
- package/dist/chunk-UP6NBQ62.js +2 -0
- package/dist/{chunk-LPBVWUKS.js → chunk-V2IP2ZMD.js} +2 -2
- package/dist/{chunk-PHNAQ4QX.js → chunk-V5QTIP2M.js} +182 -94
- package/dist/chunk-V5QTIP2M.js.map +1 -0
- package/dist/{chunk-B3XXCDYW.js → chunk-VV4YM6VM.js} +2385 -2061
- package/dist/chunk-VV4YM6VM.js.map +1 -0
- package/dist/{chunk-7GB3KEEM.js → chunk-XKZZRG3Z.js} +24 -460
- package/dist/chunk-XKZZRG3Z.js.map +1 -0
- package/dist/{chunk-ZT5NUSZA.js → chunk-XTQTA262.js} +146 -27
- package/dist/chunk-XTQTA262.js.map +1 -0
- package/dist/chunk-YLU4H2H3.js +545 -0
- package/dist/chunk-YLU4H2H3.js.map +1 -0
- package/dist/{chunk-YF6IZXAC.js → chunk-ZLOLC6WD.js} +7 -7
- package/dist/{cli-RWRYV5FB.js → cli-6UQ3QV2G.js} +9 -9
- package/dist/{cli-LZW6Z33F.js → cli-GH42HLFK.js} +42 -24
- package/dist/cli-GH42HLFK.js.map +1 -0
- package/dist/{cli-5QTSTGTX.js → cli-GND6TVRG.js} +18 -18
- package/dist/{cli-4Y2XY52B.js → cli-JHULEOH2.js} +2 -2
- package/dist/cli-LVHZCC2O.js +379 -0
- package/dist/cli-LVHZCC2O.js.map +1 -0
- package/dist/{cli-2EKRURBU.js → cli-NWU77YRZ.js} +15 -15
- package/dist/{cli-2SDBEUER.js → cli-PUO75R3L.js} +21 -21
- package/dist/{cli-TZ2OHF3H.js → cli-Q2RJMCVE.js} +28 -20
- package/dist/cli-Q2RJMCVE.js.map +1 -0
- package/dist/{cli-DBMPGGOV.js → cli-RUNYBUIV.js} +38 -38
- package/dist/{cli-BXUZ3KEQ.js → cli-T7UJF3BF.js} +634 -36
- package/dist/cli-T7UJF3BF.js.map +1 -0
- package/dist/{cli-KAUXC7EZ.js → cli-WUFQGIUG.js} +9 -9
- package/dist/cli.js +14 -14
- package/dist/docmeta.js +8 -8
- package/dist/{github-UR6LMUMW.js → github-BV42LSW2.js} +13 -14
- package/dist/github-XZ7OLATY.js +35 -0
- package/dist/graph/runtime.d.ts +633 -217
- package/dist/graph/runtime.js +1001 -370
- package/dist/graph/runtime.js.map +1 -1
- package/dist/index.d.ts +2734 -1977
- package/dist/index.js +109 -65
- package/dist/index.js.map +1 -1
- package/dist/{json-QTYN2JQB.js → json-LEEXKSGP.js} +13 -14
- package/dist/{json-5EQCGVCV.js → json-YTKUFNO3.js} +2 -2
- package/dist/{labels-UM2AFR5S.js → labels-E256WRAI.js} +12 -13
- package/dist/{labels-UM2AFR5S.js.map → labels-E256WRAI.js.map} +1 -1
- package/dist/{lint-LOFNZZPR.js → lint-W4CM3EIO.js} +13 -13
- package/dist/{list-GU7S6KEX.js → list-TB4R6AP4.js} +13 -14
- package/dist/{list-EPMHOU7T.js → list-UDDGL2OI.js} +15 -15
- package/dist/{page-25CN3AFY.js → page-L64NO57W.js} +13 -14
- package/dist/{prepare-5GYMBF4P.js → prepare-GFTAYDTP.js} +13 -13
- package/dist/{pretty-52Z74O6F.js → pretty-HYCYKYHB.js} +14 -15
- package/dist/{pretty-QW6OSYRS.js → pretty-Q43TCD6D.js} +13 -14
- package/dist/{reporters-WT53GD4P.js → reporters-4HRBSMUF.js} +4 -4
- package/dist/{reporters-FSXJ42EB.js → reporters-6TEJDXXO.js} +4 -4
- package/dist/{reporters-3FXX2W4X.js → reporters-E3FUVBQ6.js} +12 -12
- package/dist/{run-H7XJMUWK.js → run-UDX2C54M.js} +16 -16
- package/dist/{sarif-C427U3NA.js → sarif-WL353VTA.js} +11 -11
- package/dist/sarif-XZFJ5VIJ.js +36 -0
- package/dist/site/rehype.d.ts +33 -0
- package/dist/site/rehype.js +49 -0
- package/dist/site/rehype.js.map +1 -0
- package/dist/{term-VG65JRNR.js → term-OZ7ZR5KB.js} +18 -19
- package/dist/{term-VG65JRNR.js.map → term-OZ7ZR5KB.js.map} +1 -1
- package/dist/{types-VMOT7RAL.js → types-7N7ETP3W.js} +2 -2
- package/dist/{validate-K36F54UB.js → validate-CR3TI7GP.js} +5 -5
- package/package.json +10 -1
- package/plugin/manni/.claude-plugin/plugin.json +1 -1
- package/shapes/graph/shapes-1.2.0.ttl +1161 -0
- package/dist/check-LVO4HZ3F.js +0 -36
- package/dist/chunk-2XRET3ZG.js.map +0 -1
- package/dist/chunk-3GLDB7MZ.js.map +0 -1
- package/dist/chunk-3WZQ2FR3.js +0 -236
- package/dist/chunk-3WZQ2FR3.js.map +0 -1
- package/dist/chunk-5D24C6WM.js.map +0 -1
- package/dist/chunk-5OOQ3HQ3.js.map +0 -1
- package/dist/chunk-7GB3KEEM.js.map +0 -1
- package/dist/chunk-7UC55CAU.js.map +0 -1
- package/dist/chunk-B3XXCDYW.js.map +0 -1
- package/dist/chunk-D4ANAOY7.js.map +0 -1
- package/dist/chunk-GQQ2AX63.js.map +0 -1
- package/dist/chunk-IKEWBMCN.js +0 -98
- package/dist/chunk-IKEWBMCN.js.map +0 -1
- package/dist/chunk-NFJGIBES.js.map +0 -1
- package/dist/chunk-OJ7FEM2G.js.map +0 -1
- package/dist/chunk-PHNAQ4QX.js.map +0 -1
- package/dist/chunk-WD33LE5A.js.map +0 -1
- package/dist/chunk-WDENIUC7.js.map +0 -1
- package/dist/chunk-WT3AATHC.js.map +0 -1
- package/dist/chunk-YUTVAMWW.js +0 -2
- package/dist/chunk-ZT5NUSZA.js.map +0 -1
- package/dist/cli-BXUZ3KEQ.js.map +0 -1
- package/dist/cli-LZW6Z33F.js.map +0 -1
- package/dist/cli-THEU2QG2.js.map +0 -1
- package/dist/cli-TZ2OHF3H.js.map +0 -1
- package/dist/github-ICZ5UDGX.js +0 -36
- package/dist/sarif-UVAFWZKS.js +0 -37
- /package/dist/{batch-L5W4JS7A.js.map → batch-5TPNK5BQ.js.map} +0 -0
- /package/dist/{build-GNZUVDZX.js.map → build-GGKCRWKH.js.map} +0 -0
- /package/dist/{calibrate-2LYIDN6U.js.map → calibrate-OGOLLGXY.js.map} +0 -0
- /package/dist/{capture-OEDMFU5Z.js.map → capture-CNHRHTA7.js.map} +0 -0
- /package/dist/{check-LVO4HZ3F.js.map → check-BAMOJMOJ.js.map} +0 -0
- /package/dist/{check-NLLFHNWG.js.map → check-XLIS5A7G.js.map} +0 -0
- /package/dist/{check-Z5VGDSDT.js.map → check-XYGABPXI.js.map} +0 -0
- /package/dist/{check-JR2TYL2Y.js.map → check-ZFI7H7LS.js.map} +0 -0
- /package/dist/{chunk-BMYCLTFK.js.map → chunk-327CWO33.js.map} +0 -0
- /package/dist/{chunk-ZJZQPOJO.js.map → chunk-3COYAAR7.js.map} +0 -0
- /package/dist/{chunk-6ANTGYNT.js.map → chunk-3LZ6AYB4.js.map} +0 -0
- /package/dist/{chunk-2AUULNIJ.js.map → chunk-4A445ALG.js.map} +0 -0
- /package/dist/{chunk-L3YGGYBG.js.map → chunk-4KY2RUXQ.js.map} +0 -0
- /package/dist/{chunk-NDBISART.js.map → chunk-5VA3ZOB7.js.map} +0 -0
- /package/dist/{chunk-4LLYPDNG.js.map → chunk-6E6Z6UQL.js.map} +0 -0
- /package/dist/{chunk-CSLJMML4.js.map → chunk-6ZYXK3JT.js.map} +0 -0
- /package/dist/{chunk-NH6B6DDI.js.map → chunk-CWVL7XZR.js.map} +0 -0
- /package/dist/{chunk-DTG6S2UG.js.map → chunk-E3YXGLEU.js.map} +0 -0
- /package/dist/{chunk-5PO2BWZF.js.map → chunk-E76WPNYO.js.map} +0 -0
- /package/dist/{chunk-DSTRT6YD.js.map → chunk-EU5QLSNN.js.map} +0 -0
- /package/dist/{chunk-F6B2TNXU.js.map → chunk-F7GYY373.js.map} +0 -0
- /package/dist/{chunk-IL62WATF.js.map → chunk-FNQE3RAW.js.map} +0 -0
- /package/dist/{chunk-LEOQO3S6.js.map → chunk-ICRYIYMJ.js.map} +0 -0
- /package/dist/{chunk-GR6QQ7GM.js.map → chunk-IIBVQCCR.js.map} +0 -0
- /package/dist/{chunk-O6YTTBSN.js.map → chunk-JFB45L7D.js.map} +0 -0
- /package/dist/{chunk-63GILHR5.js.map → chunk-KRQTN5KE.js.map} +0 -0
- /package/dist/{chunk-IGRXQC3H.js.map → chunk-N25KDXOV.js.map} +0 -0
- /package/dist/{chunk-DW22KCLN.js.map → chunk-NPZWOPOH.js.map} +0 -0
- /package/dist/{chunk-4L3JBAW4.js.map → chunk-NUAVQQMC.js.map} +0 -0
- /package/dist/{chunk-PBZZUNDV.js.map → chunk-O2TE5X25.js.map} +0 -0
- /package/dist/{chunk-EOSQENQF.js.map → chunk-OVQDZOMU.js.map} +0 -0
- /package/dist/{chunk-EZCJPF72.js.map → chunk-PLN2LJDM.js.map} +0 -0
- /package/dist/{chunk-6YFEV7CM.js.map → chunk-QWYE3S3U.js.map} +0 -0
- /package/dist/{chunk-GC47NBGO.js.map → chunk-QXTL5MGT.js.map} +0 -0
- /package/dist/{chunk-AWAXAJ6R.js.map → chunk-RCWP63XT.js.map} +0 -0
- /package/dist/{chunk-IM67NRUW.js.map → chunk-RMKMJ43W.js.map} +0 -0
- /package/dist/{chunk-EA5KKIFG.js.map → chunk-RVSUMNCR.js.map} +0 -0
- /package/dist/{chunk-4HEEXPVX.js.map → chunk-T3VFO2LO.js.map} +0 -0
- /package/dist/{chunk-FU3OCYYH.js.map → chunk-TFTGMYDR.js.map} +0 -0
- /package/dist/{chunk-YUTVAMWW.js.map → chunk-UP6NBQ62.js.map} +0 -0
- /package/dist/{chunk-LPBVWUKS.js.map → chunk-V2IP2ZMD.js.map} +0 -0
- /package/dist/{chunk-YF6IZXAC.js.map → chunk-ZLOLC6WD.js.map} +0 -0
- /package/dist/{cli-RWRYV5FB.js.map → cli-6UQ3QV2G.js.map} +0 -0
- /package/dist/{cli-5QTSTGTX.js.map → cli-GND6TVRG.js.map} +0 -0
- /package/dist/{cli-4Y2XY52B.js.map → cli-JHULEOH2.js.map} +0 -0
- /package/dist/{cli-2EKRURBU.js.map → cli-NWU77YRZ.js.map} +0 -0
- /package/dist/{cli-2SDBEUER.js.map → cli-PUO75R3L.js.map} +0 -0
- /package/dist/{cli-DBMPGGOV.js.map → cli-RUNYBUIV.js.map} +0 -0
- /package/dist/{cli-KAUXC7EZ.js.map → cli-WUFQGIUG.js.map} +0 -0
- /package/dist/{github-ICZ5UDGX.js.map → github-BV42LSW2.js.map} +0 -0
- /package/dist/{github-UR6LMUMW.js.map → github-XZ7OLATY.js.map} +0 -0
- /package/dist/{json-5EQCGVCV.js.map → json-LEEXKSGP.js.map} +0 -0
- /package/dist/{json-QTYN2JQB.js.map → json-YTKUFNO3.js.map} +0 -0
- /package/dist/{lint-LOFNZZPR.js.map → lint-W4CM3EIO.js.map} +0 -0
- /package/dist/{list-EPMHOU7T.js.map → list-TB4R6AP4.js.map} +0 -0
- /package/dist/{list-GU7S6KEX.js.map → list-UDDGL2OI.js.map} +0 -0
- /package/dist/{page-25CN3AFY.js.map → page-L64NO57W.js.map} +0 -0
- /package/dist/{prepare-5GYMBF4P.js.map → prepare-GFTAYDTP.js.map} +0 -0
- /package/dist/{pretty-52Z74O6F.js.map → pretty-HYCYKYHB.js.map} +0 -0
- /package/dist/{pretty-QW6OSYRS.js.map → pretty-Q43TCD6D.js.map} +0 -0
- /package/dist/{reporters-3FXX2W4X.js.map → reporters-4HRBSMUF.js.map} +0 -0
- /package/dist/{reporters-FSXJ42EB.js.map → reporters-6TEJDXXO.js.map} +0 -0
- /package/dist/{reporters-WT53GD4P.js.map → reporters-E3FUVBQ6.js.map} +0 -0
- /package/dist/{run-H7XJMUWK.js.map → run-UDX2C54M.js.map} +0 -0
- /package/dist/{sarif-C427U3NA.js.map → sarif-WL353VTA.js.map} +0 -0
- /package/dist/{sarif-UVAFWZKS.js.map → sarif-XZFJ5VIJ.js.map} +0 -0
- /package/dist/{types-VMOT7RAL.js.map → types-7N7ETP3W.js.map} +0 -0
- /package/dist/{validate-K36F54UB.js.map → validate-CR3TI7GP.js.map} +0 -0
|
@@ -3,31 +3,33 @@ import {
|
|
|
3
3
|
KeyError,
|
|
4
4
|
runKeyRotate,
|
|
5
5
|
runKeySet
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-2QZCPPVE.js";
|
|
7
|
+
import "./chunk-GNZKLUZW.js";
|
|
8
|
+
import "./chunk-V5QTIP2M.js";
|
|
9
|
+
import {
|
|
10
|
+
parseRepoFlags
|
|
11
|
+
} from "./chunk-XTQTA262.js";
|
|
12
|
+
import "./chunk-GMOAW2EG.js";
|
|
13
|
+
import "./chunk-327CWO33.js";
|
|
14
|
+
import "./chunk-5VA3ZOB7.js";
|
|
15
|
+
import "./chunk-JHUEACRT.js";
|
|
16
|
+
import "./chunk-XKZZRG3Z.js";
|
|
17
|
+
import "./chunk-UP6NBQ62.js";
|
|
18
|
+
import "./chunk-4KY2RUXQ.js";
|
|
19
|
+
import "./chunk-PLN2LJDM.js";
|
|
20
|
+
import "./chunk-27FP4KKD.js";
|
|
21
|
+
import "./chunk-JFB45L7D.js";
|
|
20
22
|
import {
|
|
21
23
|
COMMON_FORMAT_LIST
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
+
} from "./chunk-FE3US7FR.js";
|
|
25
|
+
import "./chunk-QGJA43DX.js";
|
|
24
26
|
import {
|
|
25
27
|
collect,
|
|
26
28
|
explicitFalse,
|
|
27
29
|
splitList
|
|
28
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-MH5MX4B3.js";
|
|
29
31
|
import "./chunk-DSWKBZWW.js";
|
|
30
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-OZWV27SE.js";
|
|
31
33
|
import "./chunk-77AINBYM.js";
|
|
32
34
|
import "./chunk-QK6VYJHV.js";
|
|
33
35
|
import {
|
|
@@ -44,7 +46,7 @@ import {
|
|
|
44
46
|
import "./chunk-VM7VAFJW.js";
|
|
45
47
|
import {
|
|
46
48
|
package_default
|
|
47
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-PCTJ7P6U.js";
|
|
48
50
|
import "./chunk-OWBRDNRZ.js";
|
|
49
51
|
import "./chunk-G3T47CFV.js";
|
|
50
52
|
import "./chunk-2H7UOFLK.js";
|
|
@@ -184,6 +186,11 @@ function buildProgram() {
|
|
|
184
186
|
).option("--collection <name>", "configured collection to run over; repeatable", collect, []).option("--ext <list>", "comma-separated extensions for directory walks").option("--exclude <glob>", "glob to exclude; repeatable", collect, []).option("--as <format>", "force an input format for every input").option("-c, --config <path>", "path to a manni config file").option("--allow-empty", "treat zero matched files as success").option("--no-gitignore", "include files .gitignore covers").option(
|
|
185
187
|
"--root <dir>",
|
|
186
188
|
"directory cited sources resolve from (default: cite.root from config, else the git root)"
|
|
189
|
+
).option(
|
|
190
|
+
"--repo <name=dir>",
|
|
191
|
+
"a checkout an entry's source.repo may name, as name=dir relative to the current directory; repeatable; overrides cite.repos for that name",
|
|
192
|
+
collect,
|
|
193
|
+
[]
|
|
187
194
|
).option("--dry-run", "print what would change; write nothing").option("-f, --format <format>", `output: ${ROTATE_FORMATS.join(" | ")}`, "pretty").addHelpText(
|
|
188
195
|
"after",
|
|
189
196
|
[
|
|
@@ -212,6 +219,7 @@ function buildProgram() {
|
|
|
212
219
|
allowEmpty: options.allowEmpty ? true : void 0,
|
|
213
220
|
respectGitignore: explicitFalse(options.gitignore),
|
|
214
221
|
root: options.root,
|
|
222
|
+
repos: parseRepoFlags(options.repo, (m) => new KeyError(m)),
|
|
215
223
|
dryRun: Boolean(options.dryRun),
|
|
216
224
|
onNotice: notice
|
|
217
225
|
});
|
|
@@ -233,4 +241,4 @@ function buildProgram() {
|
|
|
233
241
|
export {
|
|
234
242
|
buildProgram
|
|
235
243
|
};
|
|
236
|
-
//# sourceMappingURL=cli-
|
|
244
|
+
//# sourceMappingURL=cli-Q2RJMCVE.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/key/cli.ts","../src/key/reporters/json.ts","../src/key/reporters/pretty.ts"],"sourcesContent":["/**\n * The `key` domain's commander program. Mounted by `src/cli.ts` under\n * `manni key`; no entry point of its own. Proposal 0045 extends 0034's\n * grammar: a domain is a tool, or a family resource with verbs. `key` is the\n * second kind, with two verbs, `set` and `rotate`, and no default subcommand.\n *\n * clig.dev as every tool has it: the report to stdout, diagnostics to stderr,\n * colour only on a TTY and never under `NO_COLOR`/`--no-color`, exit `0` done,\n * `1` a value that could not be re-encrypted, `2` operational/usage. Nothing\n * this program prints is ever a key.\n */\nimport { Command } from \"commander\";\nimport pkg from \"../../package.json\" with { type: \"json\" };\nimport { collect, explicitFalse, splitList } from \"../shared/cli-options.js\";\nimport { shouldColor } from \"../shared/color.js\";\nimport { fail } from \"../shared/run.js\";\nimport { notice } from \"../shared/warn.js\";\nimport { COMMON_FORMAT_LIST } from \"../meta/internal.js\";\nimport { parseRepoFlags } from \"../cite/index.js\";\nimport { runKeyRotate } from \"./commands/rotate.js\";\nimport { runKeySet } from \"./commands/set.js\";\nimport { KeyError } from \"./errors.js\";\nimport { renderRotateJson } from \"./reporters/json.js\";\nimport { BASELINE_NOTICE, renderRotatePretty, setMessage } from \"./reporters/pretty.js\";\n\nconst ROTATE_FORMATS = [\"pretty\", \"json\"] as const;\ntype RotateFormat = (typeof ROTATE_FORMATS)[number];\n\nfunction isRotateFormat(value: string): value is RotateFormat {\n return (ROTATE_FORMATS as readonly string[]).includes(value);\n}\n\n/** What commander hands `set`'s action. */\ninterface SetCliOptions {\n /** `-c, --config <path>`. */\n config?: string;\n dryRun?: boolean;\n}\n\n/**\n * What commander hands `rotate`'s action. The `--no-<thing>` flags are\n * `boolean` and never `undefined`: commander supplies `true` when the flag is\n * absent, so only the explicit `false` travels to the core (`explicitFalse`).\n */\ninterface RotateCliOptions {\n to?: string;\n /** `--collection <name>`, repeatable; commander's default value is `[]`. */\n collection: string[];\n /** `--ext <list>`; the command splits it. */\n ext?: string;\n /** `--exclude <glob>`, repeatable; commander's default value is `[]`. */\n exclude: string[];\n as?: string;\n config?: string;\n allowEmpty?: boolean;\n /** `--no-gitignore`. */\n gitignore: boolean;\n root?: string;\n /** `--repo <name=dir>`, repeatable; commander's default value is `[]`. */\n repo: string[];\n dryRun?: boolean;\n /** `-f, --format <format>`. Always a string: the declaration has a default. */\n format: string;\n}\n\nexport function buildProgram(): Command {\n const program = new Command();\n program\n .name(\"key\")\n .description(\"Set and rotate the family key that encrypted values are encrypted with.\")\n .version(pkg.version, \"-V, --version\")\n .option(\"--no-color\", \"disable colored output\")\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 /** This domain's `--no-color`, wherever the domain is mounted. */\n const color = (): boolean =>\n shouldColor({ noColor: program.opts().color === false, isTTY: process.stdout.isTTY });\n\n program\n .command(\"set\")\n .description(\"Write the family encryption key to manni.config.yaml; generate one when no value is given\")\n .argument(\"[value]\", \"the key, at least 32 hex or base64url characters (default: 64 random hex)\")\n .option(\n \"-c, --config <path>\",\n \"the config file to write (default: the nearest manni.config.yaml, else a new one at the git root)\",\n )\n .option(\"--dry-run\", \"say what would be written; write nothing\")\n .addHelpText(\n \"after\",\n [\n \"\",\n \"Examples:\",\n \" manni key set # generate 256 bits into manni.config.yaml\",\n \" manni key set --dry-run # name the file, write nothing\",\n \" manni key set -c ops/manni.config.yaml 0123456789abcdef0123456789abcdef\",\n ].join(\"\\n\"),\n )\n .action(async (value: string | undefined, options: SetCliOptions) => {\n try {\n const result = await runKeySet({\n value,\n configPath: options.config,\n dryRun: Boolean(options.dryRun),\n onNotice: notice,\n });\n process.stdout.write(`${setMessage(result)}\\n`);\n process.exitCode = 0;\n } catch (err) {\n fail(err);\n }\n });\n\n program\n .command(\"rotate\")\n .description(\"Re-encrypt every encrypted value under a new key, then write the key\")\n .argument(\"[paths...]\", \"files, directories, or globs (default: every collection)\")\n .option(\n \"--to <value>\",\n \"the new key (default: 64 random hex); required for a narrowed run and a key from MANNI_ENCRYPTION_KEY\",\n )\n .option(\"--collection <name>\", \"configured collection to run over; repeatable\", collect, [])\n .option(\"--ext <list>\", \"comma-separated extensions for directory walks\")\n .option(\"--exclude <glob>\", \"glob to exclude; repeatable\", collect, [])\n .option(\"--as <format>\", \"force an input format for every input\")\n .option(\"-c, --config <path>\", \"path to a manni config file\")\n .option(\"--allow-empty\", \"treat zero matched files as success\")\n .option(\"--no-gitignore\", \"include files .gitignore covers\")\n .option(\n \"--root <dir>\",\n \"directory cited sources resolve from (default: cite.root from config, else the git root)\",\n )\n .option(\n \"--repo <name=dir>\",\n \"a checkout an entry's source.repo may name, as name=dir relative to the current directory; repeatable; overrides cite.repos for that name\",\n collect,\n [],\n )\n .option(\"--dry-run\", \"print what would change; write nothing\")\n .option(\"-f, --format <format>\", `output: ${ROTATE_FORMATS.join(\" | \")}`, \"pretty\")\n .addHelpText(\n \"after\",\n [\n \"\",\n \"Examples:\",\n \" manni key rotate # every collection, then the key\",\n \" manni key rotate --dry-run # see every change first\",\n ' manni key rotate --collection site --to \"$NEW_KEY\" # part of the family',\n ' MANNI_ENCRYPTION_KEY=… manni key rotate --to \"$NEW_KEY\"',\n ].join(\"\\n\"),\n )\n .action(async (paths: string[], options: RotateCliOptions) => {\n try {\n const format = options.format;\n if (!isRotateFormat(format)) {\n throw new KeyError(`Unknown --format \"${format}\". Use ${COMMON_FORMAT_LIST}.`);\n }\n const result = await runKeyRotate({\n inputs: paths,\n collection: options.collection,\n to: options.to,\n exts: options.ext ? splitList(options.ext) : undefined,\n exclude: options.exclude,\n as: options.as,\n configPath: options.config,\n // `undefined` rather than `false` when absent.\n allowEmpty: options.allowEmpty ? true : undefined,\n respectGitignore: explicitFalse(options.gitignore),\n root: options.root,\n repos: parseRepoFlags(options.repo, (m) => new KeyError(m)),\n dryRun: Boolean(options.dryRun),\n onNotice: notice,\n });\n if (format === \"json\") {\n process.stdout.write(`${renderRotateJson(result)}\\n`);\n // stdout is the JSON's; the notice is a diagnostic.\n if (result.baselineStale) notice(BASELINE_NOTICE);\n } else {\n process.stdout.write(`${renderRotatePretty(result, { color: color() })}\\n`);\n }\n process.exitCode = result.exitCode;\n } catch (err) {\n fail(err);\n }\n });\n\n return program;\n}\n","/**\n * JSON output for `key rotate`: every page and every local external-metadata\n * manifest with something encrypted in it, each value's full ciphertext\n * before and after, and the counts. The key is never in it.\n */\nimport type { KeyRotateResult } from \"../types.js\";\n\nexport function renderRotateJson(result: KeyRotateResult): string {\n return JSON.stringify(\n {\n pages: result.pages,\n manifests: result.manifests,\n reencrypted: result.reencrypted,\n skipped: result.skipped,\n keyWritten: result.keyWritten,\n },\n null,\n 2,\n );\n}\n","/**\n * Pretty output for `key set` and `key rotate`. A ciphertext is shown as `~`\n * and its first four characters, then `…`, with a citation's line suffix\n * after it: `~AQx7…`, `~AQm4…:2`. The full values are in `-f json`; the key\n * is in neither. Colour via `shouldColor`; never under `--no-color`/`NO_COLOR`.\n */\nimport { palette } from \"../../shared/color.js\";\nimport type { KeyRotateResult, KeySetResult, RotatedValue, SkippedValue } from \"../types.js\";\n\nexport interface PrettyOptions {\n color: boolean;\n}\n\n/** Said at the end of a writing rotation when a citation baseline exists. */\nexport const BASELINE_NOTICE =\n \"The citation baseline fingerprints id-less encrypted citations by their pin; re-record it with `manni cite check --write-baseline`.\";\n\nconst NARROWED =\n \"Key not written: this run covered part of the family. Finish with a whole run under the same key: `manni key rotate --to <the same value>`.\";\nconst FROM_ENV =\n \"Key not written: it comes from MANNI_ENCRYPTION_KEY. Update the secret to the value you passed.\";\n\nconst plural = (n: number, one: string, many = `${one}s`): string =>\n `${String(n)} ${n === 1 ? one : many}`;\n\n/** What `set` says: the file, never the key. */\nexport function setMessage(result: KeySetResult): string {\n return result.dryRun\n ? `Would write encryptionKey to ${result.source}.`\n : `Encryption key written to ${result.source}.`;\n}\n\n/** `~AQx7…`, and a citation's line suffix after it: `~AQm4…:2`. */\nexport function shortCiphertext(value: string): string {\n // base64url has no `:`, so the first one starts the line suffix.\n const colon = value.indexOf(\":\");\n const token = colon === -1 ? value : value.slice(0, colon);\n const suffix = colon === -1 ? \"\" : value.slice(colon);\n return `${token.slice(0, 5)}…${suffix}`;\n}\n\n/** A metadata value by its pointer; a citation by its id, else where it sits. */\nfunction nameOf(row: RotatedValue | SkippedValue): string {\n if (row.kind === \"metadata\") return row.pointer;\n if (row.id !== undefined) return row.id;\n if (row.index !== undefined) return `/citations/${String(row.index)}`;\n return `line ${String(row.line ?? 0)}`;\n}\n\nfunction closing(result: KeyRotateResult): string | undefined {\n switch (result.outcome) {\n case \"written\":\n return result.configSource === undefined\n ? undefined\n : `Encryption key written to ${result.configSource}.`;\n case \"finished\":\n // Said before the counts: the key was written by the run that stopped.\n return undefined;\n case \"narrowed\":\n return NARROWED;\n case \"env\":\n return FROM_ENV;\n case \"skipped\":\n return result.skipped === 1\n ? \"Key not written: 1 value could not be re-encrypted. Fix it and rotate again.\"\n : `Key not written: ${String(result.skipped)} values could not be re-encrypted. Fix them and rotate again.`;\n case \"dry-run\":\n return \"Dry run: nothing written.\";\n }\n}\n\nexport function renderRotatePretty(result: KeyRotateResult, opts: PrettyOptions): string {\n const c = palette(opts.color);\n const lines: string[] = [];\n for (const page of result.pages) {\n for (const row of page.rewritten) {\n // A metadata value has no line suffix; two spaces keep its arrow in the\n // column a `:L` suffix would take.\n const gap = row.kind === \"metadata\" ? \" \" : \" \";\n lines.push(\n `${page.file}: ${nameOf(row)} ${c.dim(shortCiphertext(row.from))}${gap}-> ${shortCiphertext(row.to)}`,\n );\n }\n for (const row of page.skipped) {\n lines.push(`${page.file}: ${nameOf(row)} ${c.red(\"skipped:\")} ${row.message}`);\n }\n }\n // A manifest value is named by the entry it belongs to and the pointer\n // inside it, so one line says which document's private half moved.\n for (const manifest of result.manifests) {\n for (const row of manifest.rewritten) {\n lines.push(\n `${manifest.file}: ${row.entry}${row.pointer} ${c.dim(shortCiphertext(row.from))} -> ${shortCiphertext(row.to)}`,\n );\n }\n for (const row of manifest.skipped) {\n lines.push(\n `${manifest.file}: ${row.entry}${row.pointer} ${c.red(\"skipped:\")} ${row.message}`,\n );\n }\n }\n if (result.outcome === \"finished\" && result.configSource !== undefined) {\n lines.push(`Finished the interrupted rotation in ${result.configSource}.`);\n }\n const files =\n result.pages.filter((page) => page.rewritten.length > 0).length +\n result.manifests.filter((manifest) => manifest.rewritten.length > 0).length;\n lines.push(\n `${plural(result.reencrypted, \"value\")} re-encrypted in ${plural(files, \"file\")}, ${String(result.skipped)} skipped`,\n );\n const last = closing(result);\n if (last !== undefined) lines.push(result.outcome === \"skipped\" ? c.red(last) : last);\n if (result.baselineStale) lines.push(BASELINE_NOTICE);\n return lines.join(\"\\n\");\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,SAAS,eAAe;;;ACJjB,SAAS,iBAAiB,QAAiC;AAChE,SAAO,KAAK;AAAA,IACV;AAAA,MACE,OAAO,OAAO;AAAA,MACd,WAAW,OAAO;AAAA,MAClB,aAAa,OAAO;AAAA,MACpB,SAAS,OAAO;AAAA,MAChB,YAAY,OAAO;AAAA,IACrB;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;;;ACLO,IAAM,kBACX;AAEF,IAAM,WACJ;AACF,IAAM,WACJ;AAEF,IAAM,SAAS,CAAC,GAAW,KAAa,OAAO,GAAG,GAAG,QACnD,GAAG,OAAO,CAAC,CAAC,IAAI,MAAM,IAAI,MAAM,IAAI;AAG/B,SAAS,WAAW,QAA8B;AACvD,SAAO,O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AAO,eAAe;AAAA,MAClD,OAAO;AACL,gBAAQ,OAAO,MAAM,GAAG,mBAAmB,QAAQ,EAAE,OAAO,MAAM,EAAE,CAAC,CAAC;AAAA,CAAI;AAAA,MAC5E;AACA,cAAQ,WAAW,OAAO;AAAA,IAC5B,SAAS,KAAK;AACZ,WAAK,GAAG;AAAA,IACV;AAAA,EACF,CAAC;AAEH,SAAO;AACT;","names":[]}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
idHash
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-TFTGMYDR.js";
|
|
5
|
+
import "./chunk-4A445ALG.js";
|
|
6
6
|
import "./chunk-VHJ72YCD.js";
|
|
7
7
|
import {
|
|
8
8
|
readStdin
|
|
9
9
|
} from "./chunk-OZUPJB4J.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-6ZYXK3JT.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_CAPTURE_DIR
|
|
13
13
|
} from "./chunk-6WJUZQQX.js";
|
|
14
14
|
import "./chunk-4TSWU2SU.js";
|
|
15
15
|
import "./chunk-ZINZTHWO.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-UP6NBQ62.js";
|
|
17
|
+
import "./chunk-4KY2RUXQ.js";
|
|
18
|
+
import "./chunk-PLN2LJDM.js";
|
|
19
|
+
import "./chunk-27FP4KKD.js";
|
|
20
|
+
import "./chunk-JFB45L7D.js";
|
|
21
|
+
import "./chunk-FE3US7FR.js";
|
|
22
|
+
import "./chunk-QGJA43DX.js";
|
|
23
23
|
import {
|
|
24
24
|
memberOf,
|
|
25
25
|
retainMembers
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-MH5MX4B3.js";
|
|
27
27
|
import "./chunk-DSWKBZWW.js";
|
|
28
28
|
import {
|
|
29
29
|
extractorForExtension,
|
|
30
30
|
resolveTargetSet,
|
|
31
31
|
supportedExtensions,
|
|
32
32
|
withSharedWalks
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-OZWV27SE.js";
|
|
34
34
|
import "./chunk-QK6VYJHV.js";
|
|
35
35
|
import {
|
|
36
36
|
shouldColor
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
import "./chunk-VM7VAFJW.js";
|
|
50
50
|
import {
|
|
51
51
|
package_default
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-PCTJ7P6U.js";
|
|
53
53
|
import {
|
|
54
54
|
programName
|
|
55
55
|
} from "./chunk-OWBRDNRZ.js";
|
|
@@ -332,8 +332,8 @@ function ownSchemaCount(cwd, members) {
|
|
|
332
332
|
return n;
|
|
333
333
|
}
|
|
334
334
|
async function citedPages(cwd, configPath) {
|
|
335
|
-
const { prepareRun, readTarget } = await import("./check-
|
|
336
|
-
const { readPage } = await import("./page-
|
|
335
|
+
const { prepareRun, readTarget } = await import("./check-BAMOJMOJ.js");
|
|
336
|
+
const { readPage } = await import("./page-L64NO57W.js");
|
|
337
337
|
const prepared = await prepareRun({ inputs: [], configPath, cwd, checkSources: false }, "checked", "check");
|
|
338
338
|
let n = 0;
|
|
339
339
|
for (const file of prepared.files) {
|
|
@@ -360,14 +360,14 @@ async function row(domain, family, cwd, members) {
|
|
|
360
360
|
return n > 0 ? inPlay(pages(n, "carries citations", "carry citations")) : notSetUp;
|
|
361
361
|
}
|
|
362
362
|
case "docevals": {
|
|
363
|
-
const { runList: listEvals } = await import("./list-
|
|
363
|
+
const { runList: listEvals } = await import("./list-UDDGL2OI.js");
|
|
364
364
|
const { plans } = await listEvals([], { config: configPath, cwd });
|
|
365
365
|
const n = plans.filter((p) => !p.skip && p.evals.length > 0).length;
|
|
366
366
|
if (n === 0) return notSetUp;
|
|
367
367
|
return inPlay(section ? "docevals: section" : pages(n, "declares evals", "declare evals"));
|
|
368
368
|
}
|
|
369
369
|
case "term": {
|
|
370
|
-
const { runList: listTerms } = await import("./list-
|
|
370
|
+
const { runList: listTerms } = await import("./list-TB4R6AP4.js");
|
|
371
371
|
const { terms } = await listTerms({ inputs: [], configPath, cwd, allowEmpty: true });
|
|
372
372
|
return terms.length > 0 ? inPlay(plural(terms.length, "term")) : notSetUp;
|
|
373
373
|
}
|
|
@@ -481,8 +481,8 @@ async function runDomain(domain, ctx) {
|
|
|
481
481
|
switch (domain) {
|
|
482
482
|
case "meta": {
|
|
483
483
|
const [{ runValidate }, { render: renderMeta }] = await Promise.all([
|
|
484
|
-
import("./validate-
|
|
485
|
-
import("./reporters-
|
|
484
|
+
import("./validate-CR3TI7GP.js"),
|
|
485
|
+
import("./reporters-4HRBSMUF.js")
|
|
486
486
|
]);
|
|
487
487
|
const run2 = await runValidate({ inputs, configPath, cwd, skipDefaultOnly: true, onNotice });
|
|
488
488
|
if (run2.results.length === 0) {
|
|
@@ -501,11 +501,11 @@ async function runDomain(domain, ctx) {
|
|
|
501
501
|
{ renderCheckGithub: citeGithub },
|
|
502
502
|
{ renderCheckSarif: citeSarif }
|
|
503
503
|
] = await Promise.all([
|
|
504
|
-
import("./check-
|
|
505
|
-
import("./pretty-
|
|
506
|
-
import("./json-
|
|
507
|
-
import("./github-
|
|
508
|
-
import("./sarif-
|
|
504
|
+
import("./check-BAMOJMOJ.js"),
|
|
505
|
+
import("./pretty-HYCYKYHB.js"),
|
|
506
|
+
import("./json-YTKUFNO3.js"),
|
|
507
|
+
import("./github-XZ7OLATY.js"),
|
|
508
|
+
import("./sarif-XZFJ5VIJ.js")
|
|
509
509
|
]);
|
|
510
510
|
const run2 = await runCite({ inputs, configPath, cwd, onNotice });
|
|
511
511
|
if (!run2.pages.some((p) => p.citations.length > 0 || p.findings.length > 0)) {
|
|
@@ -530,8 +530,8 @@ async function runDomain(domain, ctx) {
|
|
|
530
530
|
case "lint": {
|
|
531
531
|
if (!family.sections.has("lint")) return { skipped: NOT_SET_UP.lint };
|
|
532
532
|
const [{ runLint }, { render: renderLint }] = await Promise.all([
|
|
533
|
-
import("./lint-
|
|
534
|
-
import("./reporters-
|
|
533
|
+
import("./lint-W4CM3EIO.js"),
|
|
534
|
+
import("./reporters-E3FUVBQ6.js")
|
|
535
535
|
]);
|
|
536
536
|
const run2 = await runLint({ inputs, configPath, cwd, onNotice });
|
|
537
537
|
return {
|
|
@@ -543,9 +543,9 @@ async function runDomain(domain, ctx) {
|
|
|
543
543
|
}
|
|
544
544
|
case "docevals": {
|
|
545
545
|
const [{ runRun: runDocevals }, { render: renderDocevals }, { DocevalsError }] = await Promise.all([
|
|
546
|
-
import("./run-
|
|
547
|
-
import("./reporters-
|
|
548
|
-
import("./types-
|
|
546
|
+
import("./run-UDX2C54M.js"),
|
|
547
|
+
import("./reporters-6TEJDXXO.js"),
|
|
548
|
+
import("./types-7N7ETP3W.js")
|
|
549
549
|
]);
|
|
550
550
|
let report;
|
|
551
551
|
try {
|
|
@@ -576,11 +576,11 @@ async function runDomain(domain, ctx) {
|
|
|
576
576
|
{ renderFindingsGithub: termGithub },
|
|
577
577
|
{ renderFindingsSarif: termSarif }
|
|
578
578
|
] = await Promise.all([
|
|
579
|
-
import("./check-
|
|
580
|
-
import("./pretty-
|
|
581
|
-
import("./json-
|
|
582
|
-
import("./github-
|
|
583
|
-
import("./sarif-
|
|
579
|
+
import("./check-XLIS5A7G.js"),
|
|
580
|
+
import("./pretty-Q43TCD6D.js"),
|
|
581
|
+
import("./json-LEEXKSGP.js"),
|
|
582
|
+
import("./github-BV42LSW2.js"),
|
|
583
|
+
import("./sarif-WL353VTA.js")
|
|
584
584
|
]);
|
|
585
585
|
const report = await runTerm({ inputs, configPath, cwd, allowEmpty: true, onNotice });
|
|
586
586
|
if (report.terms === 0) return { skipped: NOT_SET_UP.term };
|
|
@@ -603,8 +603,8 @@ async function runDomain(domain, ctx) {
|
|
|
603
603
|
case "graph": {
|
|
604
604
|
if (!family.sections.has("graph")) return { skipped: NOT_SET_UP.graph };
|
|
605
605
|
const [{ buildGraph }, { runCheck: runGraph, renderCheck: renderGraph }] = await Promise.all([
|
|
606
|
-
import("./build-
|
|
607
|
-
import("./check-
|
|
606
|
+
import("./build-GGKCRWKH.js"),
|
|
607
|
+
import("./check-XYGABPXI.js")
|
|
608
608
|
]);
|
|
609
609
|
const built = await buildGraph({ config: configPath, cwd });
|
|
610
610
|
for (const warning of built.warnings) onNotice(warning);
|
|
@@ -885,7 +885,7 @@ async function runTurnCheck(envelope, cwd, seams = {}) {
|
|
|
885
885
|
let renderTurn;
|
|
886
886
|
try {
|
|
887
887
|
const [{ checkTurn }, reporters] = await Promise.all([
|
|
888
|
-
import("./check-
|
|
888
|
+
import("./check-ZFI7H7LS.js"),
|
|
889
889
|
import("./runtime-7QE3DW6S.js")
|
|
890
890
|
]);
|
|
891
891
|
renderTurn = reporters.renderCheck;
|
|
@@ -1046,4 +1046,4 @@ export {
|
|
|
1046
1046
|
buildStatus,
|
|
1047
1047
|
hookScope
|
|
1048
1048
|
};
|
|
1049
|
-
//# sourceMappingURL=cli-
|
|
1049
|
+
//# sourceMappingURL=cli-RUNYBUIV.js.map
|