@hawkeyexl/manni 4.17.1 → 4.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{batch-SAW4E46C.js → batch-XVUPHNWT.js} +13 -13
- package/dist/{build-F6S3W77I.js → build-GU7M5EC6.js} +14 -14
- package/dist/{calibrate-3DW2VV7F.js → calibrate-YODCJAEA.js} +14 -14
- package/dist/{capture-PKEYY2VO.js → capture-TZ42LHNK.js} +13 -13
- package/dist/{check-EZN7YNVF.js → check-AOGJBQR4.js} +15 -13
- package/dist/{check-LRX2YFDF.js → check-I72HPJNA.js} +12 -12
- package/dist/{check-7PUIHLFM.js → check-KBDIV35E.js} +14 -14
- package/dist/check-OIL3CZ4N.js +47 -0
- package/dist/{chunk-XWUIFSWK.js → chunk-2EAUZVO2.js} +3 -3
- package/dist/{chunk-WP5EKWTU.js → chunk-2G42VA4H.js} +5 -5
- package/dist/{chunk-WBXVQW57.js → chunk-34PGSNS5.js} +3 -3
- package/dist/{chunk-M6DNOHJO.js → chunk-3H7M5MXE.js} +3 -3
- package/dist/{chunk-KAWS7H4C.js → chunk-4CMNCP5O.js} +8 -8
- package/dist/{chunk-DU6CXY5R.js → chunk-4VQVJOIK.js} +6 -6
- package/dist/{chunk-OZL5M764.js → chunk-4VR2UFEO.js} +29 -13
- package/dist/chunk-4VR2UFEO.js.map +1 -0
- package/dist/{chunk-LDIUA4ZG.js → chunk-72OTCIYQ.js} +2 -2
- package/dist/{chunk-64EDFJ5S.js → chunk-7JDWLMOT.js} +5 -5
- package/dist/{chunk-ZIXU7A4C.js → chunk-7MU47MZM.js} +168 -80
- package/dist/chunk-7MU47MZM.js.map +1 -0
- package/dist/{chunk-6J2ED4ED.js → chunk-AL46P5H6.js} +6 -6
- package/dist/{chunk-3446DW4W.js → chunk-C4MNHJXP.js} +2 -2
- package/dist/{chunk-AIZBZYQM.js → chunk-CYMA4O2F.js} +77 -75
- package/dist/{chunk-AIZBZYQM.js.map → chunk-CYMA4O2F.js.map} +1 -1
- package/dist/{chunk-2LCJNH73.js → chunk-EEJFXYFO.js} +2 -2
- package/dist/{chunk-KB4MNUKC.js → chunk-ES7PJMHM.js} +2 -2
- package/dist/{chunk-XRWQQHBR.js → chunk-FGGDLZUU.js} +2 -2
- package/dist/{chunk-5D24C6WM.js → chunk-GMOAW2EG.js} +6 -2
- package/dist/chunk-GMOAW2EG.js.map +1 -0
- package/dist/{chunk-DSJTYRI5.js → chunk-GRRSOAAS.js} +3 -3
- package/dist/{chunk-KUXAHHDE.js → chunk-GSLXJSGT.js} +4 -4
- package/dist/{chunk-YJHHXM5B.js → chunk-GWCITMHN.js} +2 -2
- package/dist/{chunk-TNYIXIYV.js → chunk-HH327OEQ.js} +5 -5
- package/dist/{chunk-ZEYNLKOH.js → chunk-HUCZKEDF.js} +4 -4
- package/dist/{chunk-HEVYEI6O.js → chunk-J33NBVBX.js} +2 -2
- package/dist/{chunk-U5NSIZRS.js → chunk-J7MZRF3J.js} +3 -3
- package/dist/{chunk-MDXDTO7E.js → chunk-JBB22HPK.js} +6 -6
- package/dist/{chunk-W7IEP7IG.js → chunk-LFKYNDG4.js} +2 -2
- package/dist/{chunk-W7XOMNYC.js → chunk-MHLCZBW2.js} +2 -2
- package/dist/{chunk-WZSL7KF2.js → chunk-MQG4ONTU.js} +2 -2
- package/dist/{chunk-XPGK4ECA.js → chunk-N4KY3WLM.js} +7 -7
- package/dist/{chunk-ABAFKOQF.js → chunk-N74QH6XJ.js} +3 -3
- package/dist/{chunk-Q7E43SXN.js → chunk-O3PRYQCW.js} +5 -5
- package/dist/{chunk-FEURGKJC.js → chunk-O7OJWMP5.js} +2 -2
- package/dist/{chunk-D3AO2PMV.js → chunk-PJILKN4Z.js} +142 -23
- package/dist/chunk-PJILKN4Z.js.map +1 -0
- package/dist/{chunk-5QOTR53S.js → chunk-PRF44AAC.js} +4 -4
- package/dist/{chunk-VRMQSP7O.js → chunk-PZAHBJ56.js} +3 -3
- package/dist/{chunk-FAS3SRQB.js → chunk-QRQVOEAH.js} +379 -21
- package/dist/chunk-QRQVOEAH.js.map +1 -0
- package/dist/{chunk-QIKCIREY.js → chunk-RBNZI6YG.js} +4 -4
- package/dist/{chunk-XCEEJEVA.js → chunk-S5JFWUNK.js} +4 -4
- package/dist/{chunk-5VNFO2RT.js → chunk-SGV5U4NE.js} +23 -13
- package/dist/chunk-SGV5U4NE.js.map +1 -0
- package/dist/{chunk-B5R5BWMY.js → chunk-SJLEHQKY.js} +32 -11
- package/dist/chunk-SJLEHQKY.js.map +1 -0
- package/dist/{chunk-2TLNAGVJ.js → chunk-T363DMEJ.js} +5 -5
- package/dist/{chunk-FPPHEHPZ.js → chunk-UE6IYEKA.js} +2 -2
- package/dist/{chunk-WRSWZEVU.js → chunk-UT6SVXUQ.js} +5 -5
- package/dist/{chunk-2A5OIZHT.js → chunk-UVUMFFZ6.js} +7 -7
- package/dist/{chunk-4GGADKTU.js → chunk-UXEICZKX.js} +5 -5
- package/dist/{chunk-QIWSEKA6.js → chunk-W5STNXKP.js} +2 -2
- package/dist/{chunk-KCNBM42T.js → chunk-WIHQJSO3.js} +4 -4
- package/dist/{chunk-JK56UPNQ.js → chunk-WMOQXWHB.js} +10 -10
- package/dist/{chunk-PS4Y7EPP.js → chunk-WRWPOXVG.js} +3 -3
- package/dist/{chunk-TUMR35B3.js → chunk-YBWU4JGX.js} +3 -3
- package/dist/{chunk-3UYSONT4.js → chunk-YMDASDGR.js} +20 -10
- package/dist/chunk-YMDASDGR.js.map +1 -0
- package/dist/{chunk-IGE6CIKZ.js → chunk-Z2LHEYK5.js} +2 -2
- package/dist/{chunk-IGE6CIKZ.js.map → chunk-Z2LHEYK5.js.map} +1 -1
- package/dist/{chunk-MBLVLQWI.js → chunk-ZI5JHYPT.js} +2 -2
- package/dist/{cli-VC3BXCVR.js → cli-2JZEYVTI.js} +27 -19
- package/dist/cli-2JZEYVTI.js.map +1 -0
- package/dist/{cli-RKYIZ6KU.js → cli-4P4FWT6C.js} +26 -26
- package/dist/{cli-NJC3H3CW.js → cli-4YURODFH.js} +14 -14
- package/dist/{cli-5ZQXVWWC.js → cli-DK55ACQR.js} +41 -22
- package/dist/cli-DK55ACQR.js.map +1 -0
- package/dist/{cli-LRKBCQRS.js → cli-HGZ7XTDU.js} +9 -9
- package/dist/{cli-LQRHK23G.js → cli-MRH5QXW5.js} +9 -9
- package/dist/{cli-FCGGNZ5C.js → cli-NCJZTOWR.js} +2 -2
- package/dist/{cli-OHKWCJIJ.js → cli-NUP7KAW3.js} +20 -20
- package/dist/{cli-D5WYQVUF.js → cli-OD7SXNLX.js} +14 -14
- package/dist/{cli-TJDQ5GUW.js → cli-TDCMZ7HV.js} +14 -14
- package/dist/{cli-FNX4LXMI.js → cli-WQNWAMDL.js} +35 -35
- package/dist/cli.js +14 -14
- package/dist/docmeta.js +8 -8
- package/dist/{github-7ZT4KYQU.js → github-FX4WWY7N.js} +14 -14
- package/dist/{github-6PV2JTZ7.js → github-TOQ4AJIU.js} +12 -12
- package/dist/index.d.ts +185 -94
- package/dist/index.js +41 -41
- package/dist/{json-VWXLDTXR.js → json-SIPVIBNW.js} +12 -12
- package/dist/{json-5EQCGVCV.js → json-YTKUFNO3.js} +2 -2
- package/dist/{labels-ZJK27RL3.js → labels-UXKTDM5A.js} +11 -11
- package/dist/{lint-5OERIERT.js → lint-UUVMFRPB.js} +12 -12
- package/dist/{list-MANBRF7Z.js → list-6Q7VGKIG.js} +12 -12
- package/dist/{list-SEEANTU6.js → list-FLNHGIML.js} +12 -12
- package/dist/{page-O4M65KMJ.js → page-FPLKY53Q.js} +11 -11
- package/dist/{prepare-3WULLZER.js → prepare-VUHZQTJ4.js} +12 -12
- package/dist/{pretty-D3M366JD.js → pretty-JDZSGZCR.js} +13 -13
- package/dist/{pretty-5FRBLTXU.js → pretty-WKPQD3UU.js} +12 -12
- package/dist/{reporters-4WWZRHKI.js → reporters-E53V7UXY.js} +4 -4
- package/dist/{reporters-GDCZ5P7C.js → reporters-RAWZONQ3.js} +11 -11
- package/dist/{run-TZDLG6EN.js → run-2BDAM2LA.js} +12 -12
- package/dist/{sarif-PUZAMEFQ.js → sarif-7F6EJA3K.js} +15 -15
- package/dist/{sarif-SSSPOUCK.js → sarif-Q3FX4ODM.js} +10 -10
- package/dist/{term-DHWMUL5N.js → term-5CCU7VDU.js} +17 -17
- package/dist/{validate-4AW7KIIY.js → validate-A2R6KXAH.js} +5 -5
- package/package.json +1 -1
- package/plugin/manni/.claude-plugin/plugin.json +1 -1
- package/dist/check-NW7GHSX6.js +0 -47
- package/dist/chunk-3UYSONT4.js.map +0 -1
- package/dist/chunk-5D24C6WM.js.map +0 -1
- package/dist/chunk-5VNFO2RT.js.map +0 -1
- package/dist/chunk-B5R5BWMY.js.map +0 -1
- package/dist/chunk-D3AO2PMV.js.map +0 -1
- package/dist/chunk-FAS3SRQB.js.map +0 -1
- package/dist/chunk-OZL5M764.js.map +0 -1
- package/dist/chunk-ZIXU7A4C.js.map +0 -1
- package/dist/cli-5ZQXVWWC.js.map +0 -1
- package/dist/cli-VC3BXCVR.js.map +0 -1
- /package/dist/{batch-SAW4E46C.js.map → batch-XVUPHNWT.js.map} +0 -0
- /package/dist/{build-F6S3W77I.js.map → build-GU7M5EC6.js.map} +0 -0
- /package/dist/{calibrate-3DW2VV7F.js.map → calibrate-YODCJAEA.js.map} +0 -0
- /package/dist/{capture-PKEYY2VO.js.map → capture-TZ42LHNK.js.map} +0 -0
- /package/dist/{check-EZN7YNVF.js.map → check-AOGJBQR4.js.map} +0 -0
- /package/dist/{check-LRX2YFDF.js.map → check-I72HPJNA.js.map} +0 -0
- /package/dist/{check-7PUIHLFM.js.map → check-KBDIV35E.js.map} +0 -0
- /package/dist/{check-NW7GHSX6.js.map → check-OIL3CZ4N.js.map} +0 -0
- /package/dist/{chunk-XWUIFSWK.js.map → chunk-2EAUZVO2.js.map} +0 -0
- /package/dist/{chunk-WP5EKWTU.js.map → chunk-2G42VA4H.js.map} +0 -0
- /package/dist/{chunk-WBXVQW57.js.map → chunk-34PGSNS5.js.map} +0 -0
- /package/dist/{chunk-M6DNOHJO.js.map → chunk-3H7M5MXE.js.map} +0 -0
- /package/dist/{chunk-KAWS7H4C.js.map → chunk-4CMNCP5O.js.map} +0 -0
- /package/dist/{chunk-DU6CXY5R.js.map → chunk-4VQVJOIK.js.map} +0 -0
- /package/dist/{chunk-LDIUA4ZG.js.map → chunk-72OTCIYQ.js.map} +0 -0
- /package/dist/{chunk-64EDFJ5S.js.map → chunk-7JDWLMOT.js.map} +0 -0
- /package/dist/{chunk-6J2ED4ED.js.map → chunk-AL46P5H6.js.map} +0 -0
- /package/dist/{chunk-3446DW4W.js.map → chunk-C4MNHJXP.js.map} +0 -0
- /package/dist/{chunk-2LCJNH73.js.map → chunk-EEJFXYFO.js.map} +0 -0
- /package/dist/{chunk-KB4MNUKC.js.map → chunk-ES7PJMHM.js.map} +0 -0
- /package/dist/{chunk-XRWQQHBR.js.map → chunk-FGGDLZUU.js.map} +0 -0
- /package/dist/{chunk-DSJTYRI5.js.map → chunk-GRRSOAAS.js.map} +0 -0
- /package/dist/{chunk-KUXAHHDE.js.map → chunk-GSLXJSGT.js.map} +0 -0
- /package/dist/{chunk-YJHHXM5B.js.map → chunk-GWCITMHN.js.map} +0 -0
- /package/dist/{chunk-TNYIXIYV.js.map → chunk-HH327OEQ.js.map} +0 -0
- /package/dist/{chunk-ZEYNLKOH.js.map → chunk-HUCZKEDF.js.map} +0 -0
- /package/dist/{chunk-HEVYEI6O.js.map → chunk-J33NBVBX.js.map} +0 -0
- /package/dist/{chunk-U5NSIZRS.js.map → chunk-J7MZRF3J.js.map} +0 -0
- /package/dist/{chunk-MDXDTO7E.js.map → chunk-JBB22HPK.js.map} +0 -0
- /package/dist/{chunk-W7IEP7IG.js.map → chunk-LFKYNDG4.js.map} +0 -0
- /package/dist/{chunk-W7XOMNYC.js.map → chunk-MHLCZBW2.js.map} +0 -0
- /package/dist/{chunk-WZSL7KF2.js.map → chunk-MQG4ONTU.js.map} +0 -0
- /package/dist/{chunk-XPGK4ECA.js.map → chunk-N4KY3WLM.js.map} +0 -0
- /package/dist/{chunk-ABAFKOQF.js.map → chunk-N74QH6XJ.js.map} +0 -0
- /package/dist/{chunk-Q7E43SXN.js.map → chunk-O3PRYQCW.js.map} +0 -0
- /package/dist/{chunk-FEURGKJC.js.map → chunk-O7OJWMP5.js.map} +0 -0
- /package/dist/{chunk-5QOTR53S.js.map → chunk-PRF44AAC.js.map} +0 -0
- /package/dist/{chunk-VRMQSP7O.js.map → chunk-PZAHBJ56.js.map} +0 -0
- /package/dist/{chunk-QIKCIREY.js.map → chunk-RBNZI6YG.js.map} +0 -0
- /package/dist/{chunk-XCEEJEVA.js.map → chunk-S5JFWUNK.js.map} +0 -0
- /package/dist/{chunk-2TLNAGVJ.js.map → chunk-T363DMEJ.js.map} +0 -0
- /package/dist/{chunk-FPPHEHPZ.js.map → chunk-UE6IYEKA.js.map} +0 -0
- /package/dist/{chunk-WRSWZEVU.js.map → chunk-UT6SVXUQ.js.map} +0 -0
- /package/dist/{chunk-2A5OIZHT.js.map → chunk-UVUMFFZ6.js.map} +0 -0
- /package/dist/{chunk-4GGADKTU.js.map → chunk-UXEICZKX.js.map} +0 -0
- /package/dist/{chunk-QIWSEKA6.js.map → chunk-W5STNXKP.js.map} +0 -0
- /package/dist/{chunk-KCNBM42T.js.map → chunk-WIHQJSO3.js.map} +0 -0
- /package/dist/{chunk-JK56UPNQ.js.map → chunk-WMOQXWHB.js.map} +0 -0
- /package/dist/{chunk-PS4Y7EPP.js.map → chunk-WRWPOXVG.js.map} +0 -0
- /package/dist/{chunk-TUMR35B3.js.map → chunk-YBWU4JGX.js.map} +0 -0
- /package/dist/{chunk-MBLVLQWI.js.map → chunk-ZI5JHYPT.js.map} +0 -0
- /package/dist/{cli-RKYIZ6KU.js.map → cli-4P4FWT6C.js.map} +0 -0
- /package/dist/{cli-NJC3H3CW.js.map → cli-4YURODFH.js.map} +0 -0
- /package/dist/{cli-LRKBCQRS.js.map → cli-HGZ7XTDU.js.map} +0 -0
- /package/dist/{cli-LQRHK23G.js.map → cli-MRH5QXW5.js.map} +0 -0
- /package/dist/{cli-FCGGNZ5C.js.map → cli-NCJZTOWR.js.map} +0 -0
- /package/dist/{cli-OHKWCJIJ.js.map → cli-NUP7KAW3.js.map} +0 -0
- /package/dist/{cli-D5WYQVUF.js.map → cli-OD7SXNLX.js.map} +0 -0
- /package/dist/{cli-TJDQ5GUW.js.map → cli-TDCMZ7HV.js.map} +0 -0
- /package/dist/{cli-FNX4LXMI.js.map → cli-WQNWAMDL.js.map} +0 -0
- /package/dist/{github-6PV2JTZ7.js.map → github-FX4WWY7N.js.map} +0 -0
- /package/dist/{github-7ZT4KYQU.js.map → github-TOQ4AJIU.js.map} +0 -0
- /package/dist/{json-5EQCGVCV.js.map → json-SIPVIBNW.js.map} +0 -0
- /package/dist/{json-VWXLDTXR.js.map → json-YTKUFNO3.js.map} +0 -0
- /package/dist/{labels-ZJK27RL3.js.map → labels-UXKTDM5A.js.map} +0 -0
- /package/dist/{lint-5OERIERT.js.map → lint-UUVMFRPB.js.map} +0 -0
- /package/dist/{list-MANBRF7Z.js.map → list-6Q7VGKIG.js.map} +0 -0
- /package/dist/{list-SEEANTU6.js.map → list-FLNHGIML.js.map} +0 -0
- /package/dist/{page-O4M65KMJ.js.map → page-FPLKY53Q.js.map} +0 -0
- /package/dist/{prepare-3WULLZER.js.map → prepare-VUHZQTJ4.js.map} +0 -0
- /package/dist/{pretty-5FRBLTXU.js.map → pretty-JDZSGZCR.js.map} +0 -0
- /package/dist/{pretty-D3M366JD.js.map → pretty-WKPQD3UU.js.map} +0 -0
- /package/dist/{reporters-4WWZRHKI.js.map → reporters-E53V7UXY.js.map} +0 -0
- /package/dist/{reporters-GDCZ5P7C.js.map → reporters-RAWZONQ3.js.map} +0 -0
- /package/dist/{run-TZDLG6EN.js.map → run-2BDAM2LA.js.map} +0 -0
- /package/dist/{sarif-PUZAMEFQ.js.map → sarif-7F6EJA3K.js.map} +0 -0
- /package/dist/{sarif-SSSPOUCK.js.map → sarif-Q3FX4ODM.js.map} +0 -0
- /package/dist/{term-DHWMUL5N.js.map → term-5CCU7VDU.js.map} +0 -0
- /package/dist/{validate-4AW7KIIY.js.map → validate-A2R6KXAH.js.map} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
renderFindingsGithub
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-O7OJWMP5.js";
|
|
5
|
+
import "./chunk-PRF44AAC.js";
|
|
6
6
|
import "./chunk-MC7U5IH4.js";
|
|
7
7
|
import "./chunk-UP6NBQ62.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-3H7M5MXE.js";
|
|
9
|
+
import "./chunk-GRRSOAAS.js";
|
|
10
|
+
import "./chunk-4VQVJOIK.js";
|
|
11
|
+
import "./chunk-ES7PJMHM.js";
|
|
12
|
+
import "./chunk-34PGSNS5.js";
|
|
13
|
+
import "./chunk-2EAUZVO2.js";
|
|
14
|
+
import "./chunk-CYMA4O2F.js";
|
|
15
15
|
import "./chunk-DSWKBZWW.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-QRQVOEAH.js";
|
|
17
17
|
import "./chunk-77AINBYM.js";
|
|
18
18
|
import "./chunk-QK6VYJHV.js";
|
|
19
19
|
import "./chunk-RNVYGWIC.js";
|
|
@@ -21,11 +21,11 @@ import "./chunk-YEUYKR62.js";
|
|
|
21
21
|
import "./chunk-B2242FYO.js";
|
|
22
22
|
import "./chunk-HX44GB4Z.js";
|
|
23
23
|
import "./chunk-VM7VAFJW.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-Z2LHEYK5.js";
|
|
25
25
|
import "./chunk-OWBRDNRZ.js";
|
|
26
26
|
import "./chunk-G3T47CFV.js";
|
|
27
27
|
import "./chunk-2H7UOFLK.js";
|
|
28
28
|
export {
|
|
29
29
|
renderFindingsGithub
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=github-
|
|
31
|
+
//# sourceMappingURL=github-TOQ4AJIU.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1756,9 +1756,10 @@ declare function paragraphAfter(content: string, offset: number, format?: string
|
|
|
1756
1756
|
line: number;
|
|
1757
1757
|
} | undefined;
|
|
1758
1758
|
/**
|
|
1759
|
-
* The fenced code block starting at or after `offset` (``` or ~~~;
|
|
1760
|
-
*
|
|
1761
|
-
* opening fence. `undefined` for formats with no locator
|
|
1759
|
+
* The fenced code block starting at or after `offset` (``` or ~~~; any
|
|
1760
|
+
* asciidoc delimited block), as file offsets of its content lines and the
|
|
1761
|
+
* file line of the opening fence. `undefined` for formats with no locator
|
|
1762
|
+
* (html, xml, rst).
|
|
1762
1763
|
*/
|
|
1763
1764
|
declare function fencedBlockAfter(content: string, offset: number, format: string): {
|
|
1764
1765
|
start: number;
|
|
@@ -1777,7 +1778,11 @@ declare function fencedBlockAt(content: string, offset: number): {
|
|
|
1777
1778
|
line: number;
|
|
1778
1779
|
text: string;
|
|
1779
1780
|
} | undefined;
|
|
1780
|
-
/**
|
|
1781
|
+
/**
|
|
1782
|
+
* Every block in the body whose content is code, for `--quote` without
|
|
1783
|
+
* `--claim` and for what sits inside a fence. An asciidoc compound block
|
|
1784
|
+
* holds prose, so it is left out, and the blocks nested in it are found.
|
|
1785
|
+
*/
|
|
1781
1786
|
declare function fencedBlocks(content: string, bodyOffset: number, format: string): {
|
|
1782
1787
|
start: number;
|
|
1783
1788
|
end: number;
|
|
@@ -1785,9 +1790,10 @@ declare function fencedBlocks(content: string, bodyOffset: number, format: strin
|
|
|
1785
1790
|
text: string;
|
|
1786
1791
|
}[];
|
|
1787
1792
|
/**
|
|
1788
|
-
* The fenced block opening on `line`, as the lines it spans, fences included
|
|
1789
|
-
*
|
|
1790
|
-
* never
|
|
1793
|
+
* The fenced block opening on `line`, as the lines it spans, fences included:
|
|
1794
|
+
* a markdown fence at any indent, or any asciidoc delimited block. Undefined
|
|
1795
|
+
* when that line is not an opener the format knows, or the block is never
|
|
1796
|
+
* closed.
|
|
1791
1797
|
*/
|
|
1792
1798
|
declare function fenceSpanAt(text: string, line: number, format: string): {
|
|
1793
1799
|
start: number;
|
|
@@ -4143,6 +4149,76 @@ declare function extractorForExtension(ext: string): MetadataExtractor | undefin
|
|
|
4143
4149
|
/** Extensions handled by registered extractors (used for directory walks). */
|
|
4144
4150
|
declare function supportedExtensions$1(): string[];
|
|
4145
4151
|
|
|
4152
|
+
/**
|
|
4153
|
+
* Source-side classification of one citation.
|
|
4154
|
+
*
|
|
4155
|
+
* current: the range hashes to the pin. moved / moved-ambiguous: a window of
|
|
4156
|
+
* the same length hashes equal elsewhere (once / more than once); whole-file
|
|
4157
|
+
* citations never move. changed: none equal; with a baseline, the diff and
|
|
4158
|
+
* commit subjects are attached (pretty-only). never-true: the pin held at no
|
|
4159
|
+
* commit in the source's history (proposal 0097: `sourceBaseline` derives the
|
|
4160
|
+
* baseline, and the recorded commit is a hint). At each commit the recorded
|
|
4161
|
+
* lines are tried first; the rest of the file is searched because `update`
|
|
4162
|
+
* rewrites `src` for a move without touching `commit`, so the lines a pin was
|
|
4163
|
+
* minted from may sit elsewhere in the file as it was then. A window that
|
|
4164
|
+
* matches there is the original for the move search below. missing: the
|
|
4165
|
+
* source cannot be read.
|
|
4166
|
+
*
|
|
4167
|
+
* Move search: with the original text (git could show the commit), candidate
|
|
4168
|
+
* offsets are where the first line matches, compared lexically, hashed only on
|
|
4169
|
+
* a full match. Without it, a ±2000-line window around the original position
|
|
4170
|
+
* first, then the rest of the file under a 64 MiB hashing budget; past the
|
|
4171
|
+
* budget the result is `changed` with `truncatedSearch`.
|
|
4172
|
+
*
|
|
4173
|
+
* Order, as the ladder has it: the move search runs whenever the pin does not
|
|
4174
|
+
* hold, and history decides only what a non-match is called. So a pin that
|
|
4175
|
+
* never held at its commit but whose bytes sit elsewhere in the file is
|
|
4176
|
+
* `moved`, not `never-true`; the search sees the file as it is.
|
|
4177
|
+
*
|
|
4178
|
+
* Proposal 0055 widens that in two directions, both gated on the original
|
|
4179
|
+
* text. A pin that holds nowhere in its own file is looked for in every file
|
|
4180
|
+
* that changed in committed history since its baseline, so a rename is `moved`
|
|
4181
|
+
* with a new path rather than `missing`. And a `changed` end is bracketed by
|
|
4182
|
+
* its old first and last line, so the finding names the span they cover now
|
|
4183
|
+
* and `update --accept` re-mints there rather than over a stale range. The
|
|
4184
|
+
* 64 MiB budget is one counter per citation, spent in ladder order by every
|
|
4185
|
+
* search that settles it.
|
|
4186
|
+
*/
|
|
4187
|
+
|
|
4188
|
+
interface ClassifyOptions {
|
|
4189
|
+
root: string;
|
|
4190
|
+
index: SourceIndex;
|
|
4191
|
+
/** History is read through it when it reports git available, and never otherwise. */
|
|
4192
|
+
git: GitClient;
|
|
4193
|
+
/** The encryption key: decrypts an encrypted source and keys its pin. */
|
|
4194
|
+
key?: string;
|
|
4195
|
+
/** Hashing budget for the blind move search, in bytes. Default `MOVE_BUDGET_BYTES`. */
|
|
4196
|
+
budget?: number;
|
|
4197
|
+
/** Source files already read this run, so a source cited many times is read once. */
|
|
4198
|
+
cache?: SourceCache;
|
|
4199
|
+
}
|
|
4200
|
+
/**
|
|
4201
|
+
* What git could say about the pin at the recorded commit. `unknown` is a
|
|
4202
|
+
* file at the commit too large to search under the budget with the pin found
|
|
4203
|
+
* nowhere in the part that was: neither true nor never true. `original`
|
|
4204
|
+
* carries the cited lines as they were then, which `reencryptCitations` re-keys
|
|
4205
|
+
* from when the pin no longer holds today.
|
|
4206
|
+
*/
|
|
4207
|
+
type History = {
|
|
4208
|
+
kind: "none";
|
|
4209
|
+
} | {
|
|
4210
|
+
kind: "unavailable";
|
|
4211
|
+
} | {
|
|
4212
|
+
kind: "never-true";
|
|
4213
|
+
} | {
|
|
4214
|
+
kind: "unknown";
|
|
4215
|
+
} | {
|
|
4216
|
+
kind: "original";
|
|
4217
|
+
lines: string[];
|
|
4218
|
+
};
|
|
4219
|
+
declare function historyOf(git: GitClient, commit: string, path: string, range: SourceRange, pin: string, key: string | undefined, budget: number | undefined, counter?: SearchBudget): Promise<History>;
|
|
4220
|
+
declare function classifyCitation(entry: PageCitation, opts: ClassifyOptions): Promise<SourceEnd>;
|
|
4221
|
+
|
|
4146
4222
|
type KeySource = "env" | "config" | "none";
|
|
4147
4223
|
interface ResolvedKey {
|
|
4148
4224
|
key: string | undefined;
|
|
@@ -4165,7 +4241,9 @@ declare function resolveEncryptionKey(opts: {
|
|
|
4165
4241
|
|
|
4166
4242
|
/** A parsed `<src>` or `source`: a path or `~` ciphertext, and an optional line range. */
|
|
4167
4243
|
interface SourceRange {
|
|
4168
|
-
/**
|
|
4244
|
+
/** The checkout `path` is in, by its `cite.repos` name; absent for the root. */
|
|
4245
|
+
repo?: string;
|
|
4246
|
+
/** Checkout-relative posix path, or the `~` ciphertext when `encrypted`. */
|
|
4169
4247
|
path: string;
|
|
4170
4248
|
/** `true` when `path` is an encrypted source (`~` and 82+ base64url characters) rather than a path. */
|
|
4171
4249
|
encrypted: boolean;
|
|
@@ -4183,7 +4261,9 @@ interface CitationClaim {
|
|
|
4183
4261
|
}
|
|
4184
4262
|
/** The lines a claim rests on. */
|
|
4185
4263
|
interface CitationSource {
|
|
4186
|
-
/**
|
|
4264
|
+
/** The checkout `file` is in, by its `cite.repos` name; absent for the root. */
|
|
4265
|
+
repo?: string;
|
|
4266
|
+
/** Checkout-relative posix path, or `~` and the path encrypted with the family key. */
|
|
4187
4267
|
file: string;
|
|
4188
4268
|
/** File lines. Absent pins the whole file. */
|
|
4189
4269
|
lines?: LineSpec;
|
|
@@ -4192,7 +4272,7 @@ interface CitationSource {
|
|
|
4192
4272
|
/** The git commit hash the pin was taken at: 7 to 64 lowercase hex. */
|
|
4193
4273
|
"commit-sha"?: string;
|
|
4194
4274
|
}
|
|
4195
|
-
/** One entry of `citations`, as the schema (`manni:citations:1.
|
|
4275
|
+
/** One entry of `citations`, as the schema (`manni:citations:1.2.0`) spells it. */
|
|
4196
4276
|
interface Citation$1 {
|
|
4197
4277
|
id?: string;
|
|
4198
4278
|
claim?: CitationClaim;
|
|
@@ -4243,11 +4323,12 @@ interface MarkerEnd {
|
|
|
4243
4323
|
misplaced?: MisplacedMarkerReport;
|
|
4244
4324
|
}
|
|
4245
4325
|
/**
|
|
4246
|
-
* Why a source could not be read: not a tracked file
|
|
4326
|
+
* Why a source could not be read: not a tracked file in its checkout, an
|
|
4247
4327
|
* encrypted source with no key to decrypt it, one that does not decrypt under
|
|
4248
|
-
* the key there is,
|
|
4328
|
+
* the key there is, a tracked file that could not be read, or a `source.repo`
|
|
4329
|
+
* no `cite.repos` or `--repo` declares.
|
|
4249
4330
|
*/
|
|
4250
|
-
type MissingReason = "untracked" | "no-key" | "undecryptable" | "unreadable";
|
|
4331
|
+
type MissingReason = "untracked" | "no-key" | "undecryptable" | "unreadable" | "unknown-repo";
|
|
4251
4332
|
/**
|
|
4252
4333
|
* Every rule a finding can carry, stated once. The union and the default
|
|
4253
4334
|
* severity table are derived from this array so the three cannot disagree.
|
|
@@ -4295,8 +4376,10 @@ interface ClaimEnd {
|
|
|
4295
4376
|
}
|
|
4296
4377
|
/** The source end of a classified citation. */
|
|
4297
4378
|
interface SourceEnd {
|
|
4298
|
-
/** `file` and `lines` as the entry spells them: `path`, `path:L`, `path:L1-L2`, the ciphertext for `path
|
|
4379
|
+
/** `file` and `lines` as the entry spells them: `path`, `path:L`, `path:L1-L2`, the ciphertext for `path`, after `repo:` for a repo entry. */
|
|
4299
4380
|
src: string;
|
|
4381
|
+
/** The checkout the source is in, by its `cite.repos` name; absent for the root. */
|
|
4382
|
+
repo?: string;
|
|
4300
4383
|
status: SourceStatus;
|
|
4301
4384
|
/**
|
|
4302
4385
|
* The path an encrypted source decrypted to. Never printed except by the
|
|
@@ -4479,6 +4562,20 @@ type SourceCache = Map<string, Promise<{
|
|
|
4479
4562
|
text: string;
|
|
4480
4563
|
lines: readonly string[];
|
|
4481
4564
|
} | undefined>>;
|
|
4565
|
+
/**
|
|
4566
|
+
* One checkout a source resolves in: its directory, its tracked files and its
|
|
4567
|
+
* git, the triple `classifyCitation` takes. `repo` is its `cite.repos` name,
|
|
4568
|
+
* absent for the root (proposal 0100).
|
|
4569
|
+
*/
|
|
4570
|
+
type Checkout = Pick<ClassifyOptions, "root" | "index" | "git"> & {
|
|
4571
|
+
repo?: string;
|
|
4572
|
+
};
|
|
4573
|
+
/**
|
|
4574
|
+
* The checkout an entry's `source.repo` names: the root for none, `undefined`
|
|
4575
|
+
* for a name nothing declares. A declared checkout is opened on first use and
|
|
4576
|
+
* kept, and one whose directory is missing rejects with a `CiteError`.
|
|
4577
|
+
*/
|
|
4578
|
+
type CheckoutResolver = (repo: string | undefined) => Promise<Checkout | undefined>;
|
|
4482
4579
|
interface CheckPageOptions {
|
|
4483
4580
|
/** Absolute directory source paths resolve from. */
|
|
4484
4581
|
root: string;
|
|
@@ -4507,6 +4604,11 @@ interface CheckPageOptions {
|
|
|
4507
4604
|
/** How many commits the claim history walk reads. Defaults to `MAX_PAGE_COMMITS`. */
|
|
4508
4605
|
pageCommitCap?: number;
|
|
4509
4606
|
sourceIndex?: SourceIndex;
|
|
4607
|
+
/**
|
|
4608
|
+
* The checkouts an entry's `source.repo` may name. Absent, an entry with no
|
|
4609
|
+
* repo resolves under `root` and every repo is undeclared.
|
|
4610
|
+
*/
|
|
4611
|
+
checkouts?: CheckoutResolver;
|
|
4510
4612
|
/** Source files already read this run (`createSourceCache`); absent, each citation reads its own. */
|
|
4511
4613
|
sourceCache?: SourceCache;
|
|
4512
4614
|
/**
|
|
@@ -4600,6 +4702,11 @@ interface CheckOptions {
|
|
|
4600
4702
|
*/
|
|
4601
4703
|
showDiff?: boolean;
|
|
4602
4704
|
root?: string;
|
|
4705
|
+
/**
|
|
4706
|
+
* `--repo`, already split: name -> checkout directory, cwd-relative. Each
|
|
4707
|
+
* overrides `cite.repos` for its name (proposal 0100).
|
|
4708
|
+
*/
|
|
4709
|
+
repos?: Record<string, string>;
|
|
4603
4710
|
/**
|
|
4604
4711
|
* The git client every page is checked through. Defaults to one over the
|
|
4605
4712
|
* root, used whenever git is on PATH and the root is inside a work tree; a
|
|
@@ -4707,6 +4814,11 @@ interface AddOptions {
|
|
|
4707
4814
|
cwd?: string;
|
|
4708
4815
|
stdinContent?: string;
|
|
4709
4816
|
root?: string;
|
|
4817
|
+
/**
|
|
4818
|
+
* `--repo`, already split: name -> checkout directory, cwd-relative. Each
|
|
4819
|
+
* overrides `cite.repos` for its name (proposal 0100).
|
|
4820
|
+
*/
|
|
4821
|
+
repos?: Record<string, string>;
|
|
4710
4822
|
/**
|
|
4711
4823
|
* The git client HEAD and the source index are read through. Defaults to
|
|
4712
4824
|
* one over the root; a test hands in a fake.
|
|
@@ -4881,7 +4993,7 @@ interface UpdateRun {
|
|
|
4881
4993
|
manifests?: ManifestChange$1[];
|
|
4882
4994
|
exitCode: 0 | 1;
|
|
4883
4995
|
}
|
|
4884
|
-
interface RemoveOptions extends Omit<CheckOptions, "baseline" | "writeBaseline" | "checkSources" | "showDiff"> {
|
|
4996
|
+
interface RemoveOptions extends Omit<CheckOptions, "baseline" | "writeBaseline" | "checkSources" | "showDiff" | "repos"> {
|
|
4885
4997
|
/**
|
|
4886
4998
|
* `--only <id>`, repeatable: the entries to remove, each named by its id or
|
|
4887
4999
|
* by its pointer (`/citations/N`). Required, and an empty list is a
|
|
@@ -4953,6 +5065,8 @@ interface CiteConfig {
|
|
|
4953
5065
|
allowEmpty?: boolean;
|
|
4954
5066
|
respectGitignore?: boolean;
|
|
4955
5067
|
root?: string;
|
|
5068
|
+
/** `cite.repos`: name -> checkout directory, relative to the config file (proposal 0100). */
|
|
5069
|
+
repos?: Record<string, string>;
|
|
4956
5070
|
baseline?: string;
|
|
4957
5071
|
checkSources?: boolean;
|
|
4958
5072
|
severity?: Partial<Record<CiteRule, CiteSeverity>>;
|
|
@@ -4986,6 +5100,12 @@ interface CiteRun {
|
|
|
4986
5100
|
configSource?: string;
|
|
4987
5101
|
/** Absolute root source paths resolve from. */
|
|
4988
5102
|
root: string;
|
|
5103
|
+
/**
|
|
5104
|
+
* Each checkout an entry's `source.repo` may name, as an absolute
|
|
5105
|
+
* directory: `cite.repos` against the config directory, overridden per
|
|
5106
|
+
* name by `--repo` against cwd. `{}` when none is declared.
|
|
5107
|
+
*/
|
|
5108
|
+
repos: Record<string, string>;
|
|
4989
5109
|
/**
|
|
4990
5110
|
* The family encryption key (proposal 0045): `MANNI_ENCRYPTION_KEY`, else
|
|
4991
5111
|
* the config's top-level `encryptionKey:`. Absent when neither is set.
|
|
@@ -5033,19 +5153,24 @@ declare function resolveSeverity(overrides?: Partial<Record<CiteRule, CiteSeveri
|
|
|
5033
5153
|
|
|
5034
5154
|
/** The schema's `$defs.fileRef.pattern`, as a RegExp. */
|
|
5035
5155
|
declare const FILE_PATTERN: RegExp;
|
|
5036
|
-
/** A source on the command line: a `file`, then an optional `:L` or `:L1-L2`. */
|
|
5156
|
+
/** A source on the command line after any repo prefix: a `file`, then an optional `:L` or `:L1-L2`. */
|
|
5037
5157
|
declare const SRC_PATTERN: RegExp;
|
|
5038
5158
|
/**
|
|
5039
|
-
* Parse a command-line source
|
|
5040
|
-
* line before the start. A one-line
|
|
5041
|
-
* `start`, so a range's width is
|
|
5159
|
+
* Parse a command-line source, `[<repo>:]<path>[:<L>[-<L2>]]`. Throws
|
|
5160
|
+
* `CiteError` on bad grammar or an end line before the start. A one-line
|
|
5161
|
+
* `path:L` comes back with `end` equal to `start`, so a range's width is
|
|
5162
|
+
* always `end - start + 1`.
|
|
5163
|
+
*
|
|
5164
|
+
* A path never holds a colon, so the first colon splits the string. When what
|
|
5165
|
+
* follows it is digits and hyphens, the head is a path (`api:2` is line 2 of
|
|
5166
|
+
* a file named `api`, as before repos existed); otherwise the head is a repo.
|
|
5042
5167
|
*/
|
|
5043
5168
|
declare function parseSrc(src: string): SourceRange;
|
|
5044
|
-
/** The canonical spelling: `path:L` for one line, `path:L1-L2` otherwise. */
|
|
5169
|
+
/** The canonical spelling: `path:L` for one line, `path:L1-L2` otherwise, after `repo:` for a repo. */
|
|
5045
5170
|
declare function formatSrc(range: SourceRange): string;
|
|
5046
5171
|
/** An entry's source as a range. Its lines must already be valid (see `parseLines`). */
|
|
5047
5172
|
declare function sourceRange(source: CitationSource): SourceRange;
|
|
5048
|
-
/** An entry's source spelled as one string, `path:L1-L2`, the way the command line takes it. */
|
|
5173
|
+
/** An entry's source spelled as one string, `[repo:]path:L1-L2`, the way the command line takes it. */
|
|
5049
5174
|
declare function spellSource(source: CitationSource): string;
|
|
5050
5175
|
/** A range's lines as an entry writes them; undefined for a whole file. */
|
|
5051
5176
|
declare function rangeLines(range: SourceRange): LineSpec | undefined;
|
|
@@ -5075,8 +5200,9 @@ declare function shortPin(integrity: string): string;
|
|
|
5075
5200
|
/** The seven characters a person reads a commit by. */
|
|
5076
5201
|
declare function shortCommit(commit: string): string;
|
|
5077
5202
|
/**
|
|
5078
|
-
* `~AQx7…:2`: an encrypted source, abbreviated, with its
|
|
5079
|
-
* plain path is spelled in full, because that is what
|
|
5203
|
+
* `~AQx7…:2`, `sdk:~AQx7…:2`: an encrypted source, abbreviated, with its repo
|
|
5204
|
+
* and line suffix kept. A plain path is spelled in full, because that is what
|
|
5205
|
+
* a reader has to find.
|
|
5080
5206
|
*/
|
|
5081
5207
|
declare function shortSrc(src: string): string;
|
|
5082
5208
|
/**
|
|
@@ -5417,76 +5543,6 @@ interface RefineClaimInput extends Omit<ClaimHistoryInput, "git" | "cap"> {
|
|
|
5417
5543
|
*/
|
|
5418
5544
|
declare function refineClaim(input: RefineClaimInput): ClaimEnd;
|
|
5419
5545
|
|
|
5420
|
-
/**
|
|
5421
|
-
* Source-side classification of one citation.
|
|
5422
|
-
*
|
|
5423
|
-
* current: the range hashes to the pin. moved / moved-ambiguous: a window of
|
|
5424
|
-
* the same length hashes equal elsewhere (once / more than once); whole-file
|
|
5425
|
-
* citations never move. changed: none equal; with a baseline, the diff and
|
|
5426
|
-
* commit subjects are attached (pretty-only). never-true: the pin held at no
|
|
5427
|
-
* commit in the source's history (proposal 0097: `sourceBaseline` derives the
|
|
5428
|
-
* baseline, and the recorded commit is a hint). At each commit the recorded
|
|
5429
|
-
* lines are tried first; the rest of the file is searched because `update`
|
|
5430
|
-
* rewrites `src` for a move without touching `commit`, so the lines a pin was
|
|
5431
|
-
* minted from may sit elsewhere in the file as it was then. A window that
|
|
5432
|
-
* matches there is the original for the move search below. missing: the
|
|
5433
|
-
* source cannot be read.
|
|
5434
|
-
*
|
|
5435
|
-
* Move search: with the original text (git could show the commit), candidate
|
|
5436
|
-
* offsets are where the first line matches, compared lexically, hashed only on
|
|
5437
|
-
* a full match. Without it, a ±2000-line window around the original position
|
|
5438
|
-
* first, then the rest of the file under a 64 MiB hashing budget; past the
|
|
5439
|
-
* budget the result is `changed` with `truncatedSearch`.
|
|
5440
|
-
*
|
|
5441
|
-
* Order, as the ladder has it: the move search runs whenever the pin does not
|
|
5442
|
-
* hold, and history decides only what a non-match is called. So a pin that
|
|
5443
|
-
* never held at its commit but whose bytes sit elsewhere in the file is
|
|
5444
|
-
* `moved`, not `never-true`; the search sees the file as it is.
|
|
5445
|
-
*
|
|
5446
|
-
* Proposal 0055 widens that in two directions, both gated on the original
|
|
5447
|
-
* text. A pin that holds nowhere in its own file is looked for in every file
|
|
5448
|
-
* that changed in committed history since its baseline, so a rename is `moved`
|
|
5449
|
-
* with a new path rather than `missing`. And a `changed` end is bracketed by
|
|
5450
|
-
* its old first and last line, so the finding names the span they cover now
|
|
5451
|
-
* and `update --accept` re-mints there rather than over a stale range. The
|
|
5452
|
-
* 64 MiB budget is one counter per citation, spent in ladder order by every
|
|
5453
|
-
* search that settles it.
|
|
5454
|
-
*/
|
|
5455
|
-
|
|
5456
|
-
interface ClassifyOptions {
|
|
5457
|
-
root: string;
|
|
5458
|
-
index: SourceIndex;
|
|
5459
|
-
/** History is read through it when it reports git available, and never otherwise. */
|
|
5460
|
-
git: GitClient;
|
|
5461
|
-
/** The encryption key: decrypts an encrypted source and keys its pin. */
|
|
5462
|
-
key?: string;
|
|
5463
|
-
/** Hashing budget for the blind move search, in bytes. Default `MOVE_BUDGET_BYTES`. */
|
|
5464
|
-
budget?: number;
|
|
5465
|
-
/** Source files already read this run, so a source cited many times is read once. */
|
|
5466
|
-
cache?: SourceCache;
|
|
5467
|
-
}
|
|
5468
|
-
/**
|
|
5469
|
-
* What git could say about the pin at the recorded commit. `unknown` is a
|
|
5470
|
-
* file at the commit too large to search under the budget with the pin found
|
|
5471
|
-
* nowhere in the part that was: neither true nor never true. `original`
|
|
5472
|
-
* carries the cited lines as they were then, which `reencryptCitations` re-keys
|
|
5473
|
-
* from when the pin no longer holds today.
|
|
5474
|
-
*/
|
|
5475
|
-
type History = {
|
|
5476
|
-
kind: "none";
|
|
5477
|
-
} | {
|
|
5478
|
-
kind: "unavailable";
|
|
5479
|
-
} | {
|
|
5480
|
-
kind: "never-true";
|
|
5481
|
-
} | {
|
|
5482
|
-
kind: "unknown";
|
|
5483
|
-
} | {
|
|
5484
|
-
kind: "original";
|
|
5485
|
-
lines: string[];
|
|
5486
|
-
};
|
|
5487
|
-
declare function historyOf(git: GitClient, commit: string, path: string, range: SourceRange, pin: string, key: string | undefined, budget: number | undefined, counter?: SearchBudget): Promise<History>;
|
|
5488
|
-
declare function classifyCitation(entry: PageCitation, opts: ClassifyOptions): Promise<SourceEnd>;
|
|
5489
|
-
|
|
5490
5546
|
declare const MAX_MARKERS_PER_PAGE = 500;
|
|
5491
5547
|
/** What a marker with a JSON payload is told, since an entry never lives in the body. */
|
|
5492
5548
|
declare const MARKER_JSON = "invalid marker: a marker names entry ids, not an entry. Move the entry to citations:, in frontmatter or the sidecar, and name its id.";
|
|
@@ -5952,6 +6008,13 @@ declare function mintCitation(opts: MintOptions): Promise<Citation$1>;
|
|
|
5952
6008
|
|
|
5953
6009
|
declare const CITE_SECTION = "cite";
|
|
5954
6010
|
declare const DEFAULT_CITE_BASELINE_PATH = ".manni-cite-baseline.json";
|
|
6011
|
+
/**
|
|
6012
|
+
* Split the repeatable `--repo <name=dir>` into name -> dir, the directory as
|
|
6013
|
+
* typed. The first `=` splits, so a directory may hold one; nothing splits on
|
|
6014
|
+
* a comma. `toError` is the calling tool's error class, so a bad value exits 2
|
|
6015
|
+
* from whichever domain took the flag.
|
|
6016
|
+
*/
|
|
6017
|
+
declare function parseRepoFlags(values: readonly string[], toError: (message: string) => Error): Record<string, string>;
|
|
5955
6018
|
/**
|
|
5956
6019
|
* Validate the `cite:` slice of a family file. `raw` is what the loader cut
|
|
5957
6020
|
* out: `null` for an empty section, which is the same as no keys at all.
|
|
@@ -5997,6 +6060,12 @@ interface CiteRunOptions {
|
|
|
5997
6060
|
collection?: string[];
|
|
5998
6061
|
/** `--root`, cwd-relative. */
|
|
5999
6062
|
root?: string;
|
|
6063
|
+
/**
|
|
6064
|
+
* `--repo`, already split (see `parseRepoFlags`): name -> directory,
|
|
6065
|
+
* cwd-relative. Each overrides `cite.repos` for its name, and survives
|
|
6066
|
+
* `--no-config`.
|
|
6067
|
+
*/
|
|
6068
|
+
repos?: Record<string, string>;
|
|
6000
6069
|
onConfigLoaded?: (info: {
|
|
6001
6070
|
path: string;
|
|
6002
6071
|
dir: string;
|
|
@@ -6019,6 +6088,13 @@ interface CiteRunOptions {
|
|
|
6019
6088
|
*/
|
|
6020
6089
|
declare function resolveCiteRun(opts: CiteRunOptions): Promise<CiteRun>;
|
|
6021
6090
|
|
|
6091
|
+
/**
|
|
6092
|
+
* The run's checkouts: the root as built, and each declared repo opened the
|
|
6093
|
+
* first time an entry names it and kept for the rest of the run. A repo no
|
|
6094
|
+
* entry names is never opened, so a job need check out only what its pages
|
|
6095
|
+
* cite (proposal 0100).
|
|
6096
|
+
*/
|
|
6097
|
+
declare function checkoutResolver(root: Checkout, repos: Readonly<Record<string, string>>): CheckoutResolver;
|
|
6022
6098
|
declare function runCheck(opts: CheckOptions): Promise<CheckRun>;
|
|
6023
6099
|
|
|
6024
6100
|
declare function runAdd(opts: AddOptions): Promise<AddResult>;
|
|
@@ -6059,6 +6135,12 @@ interface ReencryptOptions {
|
|
|
6059
6135
|
/** History and the source index are read through it; defaults to one over the root. */
|
|
6060
6136
|
gitClient?: GitClient;
|
|
6061
6137
|
sourceIndex?: SourceIndex;
|
|
6138
|
+
/**
|
|
6139
|
+
* The checkouts an entry's `source.repo` may name (proposal 0100). Given,
|
|
6140
|
+
* it answers for the root too. Absent, an entry with no repo resolves under
|
|
6141
|
+
* `root` and every repo is undeclared.
|
|
6142
|
+
*/
|
|
6143
|
+
checkouts?: CheckoutResolver;
|
|
6062
6144
|
}
|
|
6063
6145
|
declare function reencryptCitations(page: {
|
|
6064
6146
|
file: string;
|
|
@@ -6188,6 +6270,8 @@ declare const index$7_CITE_SECTION: typeof CITE_SECTION;
|
|
|
6188
6270
|
type index$7_CheckOptions = CheckOptions;
|
|
6189
6271
|
type index$7_CheckPageOptions = CheckPageOptions;
|
|
6190
6272
|
type index$7_CheckRun = CheckRun;
|
|
6273
|
+
type index$7_Checkout = Checkout;
|
|
6274
|
+
type index$7_CheckoutResolver = CheckoutResolver;
|
|
6191
6275
|
type index$7_CitationAnchor = CitationAnchor;
|
|
6192
6276
|
type index$7_CitationClaim = CitationClaim;
|
|
6193
6277
|
type index$7_CitationFinding = CitationFinding;
|
|
@@ -6289,6 +6373,7 @@ declare const index$7_blockMatches: typeof blockMatches;
|
|
|
6289
6373
|
declare const index$7_bodyLineOf: typeof bodyLineOf;
|
|
6290
6374
|
declare const index$7_buildSourceIndex: typeof buildSourceIndex;
|
|
6291
6375
|
declare const index$7_checkCitations: typeof checkCitations;
|
|
6376
|
+
declare const index$7_checkoutResolver: typeof checkoutResolver;
|
|
6292
6377
|
declare const index$7_citationInputs: typeof citationInputs;
|
|
6293
6378
|
declare const index$7_claimDiff: typeof claimDiff;
|
|
6294
6379
|
declare const index$7_claimEnd: typeof claimEnd;
|
|
@@ -6345,6 +6430,7 @@ declare const index$7_ownedMessage: typeof ownedMessage;
|
|
|
6345
6430
|
declare const index$7_paragraphAfter: typeof paragraphAfter;
|
|
6346
6431
|
declare const index$7_parseCiteConfig: typeof parseCiteConfig;
|
|
6347
6432
|
declare const index$7_parseLines: typeof parseLines;
|
|
6433
|
+
declare const index$7_parseRepoFlags: typeof parseRepoFlags;
|
|
6348
6434
|
declare const index$7_parseSrc: typeof parseSrc;
|
|
6349
6435
|
declare const index$7_parseStatements: typeof parseStatements;
|
|
6350
6436
|
declare const index$7_pickExtractor: typeof pickExtractor;
|
|
@@ -6408,7 +6494,7 @@ declare const index$7_urlManifestRefusal: typeof urlManifestRefusal;
|
|
|
6408
6494
|
declare const index$7_validateEntry: typeof validateEntry;
|
|
6409
6495
|
declare const index$7_withClaimLines: typeof withClaimLines;
|
|
6410
6496
|
declare namespace index$7 {
|
|
6411
|
-
export { type index$7_AddOptions as AddOptions, type index$7_AddResult as AddResult, type index$7_BuildIndexOptions as BuildIndexOptions, index$7_CITATIONS_KEY as CITATIONS_KEY, index$7_CITE_RULES as CITE_RULES, index$7_CITE_SECTION as CITE_SECTION, type index$7_CheckOptions as CheckOptions, type index$7_CheckPageOptions as CheckPageOptions, type index$7_CheckRun as CheckRun, type Citation$1 as Citation, type index$7_CitationAnchor as CitationAnchor, type index$7_CitationClaim as CitationClaim, type index$7_CitationFinding as CitationFinding, type index$7_CitationInput as CitationInput, type index$7_CitationManifest as CitationManifest, type index$7_CitationOrigin as CitationOrigin, type index$7_CitationResult as CitationResult, type index$7_CitationSidecars as CitationSidecars, type index$7_CitationSource as CitationSource, type index$7_CiteConfig as CiteConfig, index$7_CiteError as CiteError, type index$7_CiteRule as CiteRule, type index$7_CiteRun as CiteRun, type index$7_CiteRunOptions as CiteRunOptions, type index$7_CiteSeverity as CiteSeverity, type index$7_ClaimEnd as ClaimEnd, type index$7_ClaimHistory as ClaimHistory, type index$7_ClaimHistoryInput as ClaimHistoryInput, type index$7_ClaimStatus as ClaimStatus, type index$7_ClaimUnit as ClaimUnit, type index$7_ClassifyOptions as ClassifyOptions, index$7_DEFAULT_CITE_BASELINE_PATH as DEFAULT_CITE_BASELINE_PATH, index$7_DEFAULT_SEVERITY as DEFAULT_SEVERITY, type index$7_EntryPath as EntryPath, index$7_FILE_PATTERN as FILE_PATTERN, type index$7_FindWindowsOptions as FindWindowsOptions, index$7_GIT_UNAVAILABLE_COMMIT as GIT_UNAVAILABLE_COMMIT, index$7_GIT_UNAVAILABLE_HISTORY as GIT_UNAVAILABLE_HISTORY, type index$7_GitClient as GitClient, type index$7_HeldManifest as HeldManifest, type index$7_History as History, type index$7_HistoryOptions as HistoryOptions, type index$7_HistoryPage as HistoryPage, type index$7_HistoryRun as HistoryRun, type index$7_HistorySummary as HistorySummary, type index$7_InlineStatement as InlineStatement, type index$7_LineSpec as LineSpec, type index$7_LoadSidecarOptions as LoadSidecarOptions, type index$7_LoadedCiteConfig as LoadedCiteConfig, index$7_MARKER_JSON as MARKER_JSON, index$7_MAX_MARKERS_PER_PAGE as MAX_MARKERS_PER_PAGE, index$7_MAX_PAGE_COMMITS as MAX_PAGE_COMMITS, index$7_MAX_RANGE_LINES as MAX_RANGE_LINES, index$7_MOVE_BUDGET_BYTES as MOVE_BUDGET_BYTES, index$7_MOVE_WINDOW_LINES as MOVE_WINDOW_LINES, type ManifestChange$1 as ManifestChange, index$7_ManifestSet as ManifestSet, type index$7_ManifestWrite as ManifestWrite, type index$7_MarkerEnd as MarkerEnd, type index$7_MintOptions as MintOptions, type index$7_MisplacedMarker as MisplacedMarker, type index$7_MisplacedMarkerReport as MisplacedMarkerReport, type index$7_MissingReason as MissingReason, type index$7_NoUnit as NoUnit, type index$7_OriginKind as OriginKind, index$7_PAGE_HISTORY_UNAVAILABLE as PAGE_HISTORY_UNAVAILABLE, type index$7_PageCitation as PageCitation, type index$7_PageCitationReport as PageCitationReport, type index$7_PageCitations as PageCitations, type index$7_PageCommit as PageCommit, type index$7_PageHistory as PageHistory, type index$7_PageLines as PageLines, type index$7_PageSidecar as PageSidecar, type index$7_PrettyOptions as PrettyOptions, RULE_ID_PREFIX$1 as RULE_ID_PREFIX, type index$7_ReadPageOptions as ReadPageOptions, type index$7_ReadSourceResult as ReadSourceResult, type index$7_RecommitReason as RecommitReason, type index$7_ReencryptCitationsResult as ReencryptCitationsResult, type index$7_ReencryptEntriesResult as ReencryptEntriesResult, type index$7_ReencryptOptions as ReencryptOptions, type index$7_ReencryptedCitation as ReencryptedCitation, type index$7_RefineClaimInput as RefineClaimInput, type index$7_Removal as Removal, type index$7_RemoveOptions as RemoveOptions, type index$7_RemovePage as RemovePage, type index$7_RemoveRun as RemoveRun, index$7_SOURCE_HISTORY_UNAVAILABLE as SOURCE_HISTORY_UNAVAILABLE, index$7_SRC_PATTERN as SRC_PATTERN, type index$7_ShiftOptions as ShiftOptions, type index$7_Shifted as Shifted, type index$7_ShownFile as ShownFile, type index$7_SourceCache as SourceCache, type index$7_SourceEnd as SourceEnd, type index$7_SourceIndex as SourceIndex, type index$7_SourceRange as SourceRange, type index$7_SourceStatus as SourceStatus, type index$7_StaleWindow as StaleWindow, type index$7_StatementForm as StatementForm, type index$7_TextEdit as TextEdit, type index$7_UpdateOptions as UpdateOptions, type index$7_UpdatePage as UpdatePage, type index$7_UpdateRewrite as UpdateRewrite, type index$7_UpdateRun as UpdateRun, type index$7_WindowCommit as WindowCommit, index$7_anchoredLines as anchoredLines, index$7_appendFrontmatterCitation as appendFrontmatterCitation, index$7_blockMatches as blockMatches, index$7_bodyLineOf as bodyLineOf, index$7_buildSourceIndex as buildSourceIndex, index$7_checkCitations as checkCitations, index$7_citationInputs as citationInputs, index$7_claimDiff as claimDiff, index$7_claimEnd as claimEnd, index$7_claimHistory as claimHistory, index$7_claimLine as claimLine, index$7_claimMessageFor as claimMessageFor, index$7_claimWords as claimWords, index$7_classifyCitation as classifyCitation, index$7_detectEol as detectEol, index$7_duplicateJoinRefusal as duplicateJoinRefusal, index$7_entryObject as entryObject, index$7_errorSite as errorSite, index$7_fenceSpanAt as fenceSpanAt, index$7_fencedBlockAfter as fencedBlockAfter, index$7_fencedBlockAt as fencedBlockAt, index$7_fencedBlocks as fencedBlocks, index$7_findWindows as findWindows, index$7_findingsFor as findingsFor, index$7_formatSrc as formatSrc, index$7_formatStatement as formatStatement, index$7_gitClient as gitClient, index$7_hashLines as hashLines, index$7_hashRange as hashRange, index$7_historyOf as historyOf, index$7_holdsWords as holdsWords, index$7_insertStatementBefore as insertStatementBefore, index$7_insideFence as insideFence, index$7_isBoundLine as isBoundLine, index$7_isCiteRule as isCiteRule, index$7_isKeyedPin as isKeyedPin, index$7_isTableRow as isTableRow, index$7_isUnitText as isUnitText, index$7_itemLine as itemLine, index$7_lineAt as lineAt, index$7_lineSpec as lineSpec, index$7_loadCitationSidecars as loadCitationSidecars, index$7_loadCiteConfig as loadCiteConfig, index$7_markerClaimEnd as markerClaimEnd, index$7_markerRunAt as markerRunAt, index$7_markerUnit as markerUnit, index$7_messageFor as messageFor, index$7_mintCitation as mintCitation, index$7_misplacedMarkerAt as misplacedMarkerAt, index$7_misplacedMarkers as misplacedMarkers, index$7_misplacedMessageFor as misplacedMessageFor, index$7_movedUnit as movedUnit, index$7_noGit as noGit, index$7_noUnitAt as noUnitAt, index$7_normalizeText as normalizeText, index$7_normalizeWhitespace as normalizeWhitespace, index$7_offsetOfLine as offsetOfLine, index$7_orphanRefusal as orphanRefusal, index$7_ownedMessage as ownedMessage, index$7_paragraphAfter as paragraphAfter, index$7_parseCiteConfig as parseCiteConfig, index$7_parseLines as parseLines, index$7_parseSrc as parseSrc, index$7_parseStatements as parseStatements, index$7_pickExtractor as pickExtractor, index$7_pinOfLines as pinOfLines, index$7_pre43Span as pre43Span, index$7_rangeLines as rangeLines, index$7_readCiteConfigFile as readCiteConfigFile, readPage$1 as readPage, index$7_readSource as readSource, index$7_reencryptCitationEntries as reencryptCitationEntries, index$7_reencryptCitations as reencryptCitations, index$7_refineClaim as refineClaim, index$7_refusalLine as refusalLine, index$7_removalLine as removalLine, index$7_removeFrontmatterCitations as removeFrontmatterCitations, index$7_removeLine as removeLine, index$7_renderCheckGithub as renderCheckGithub, index$7_renderCheckJson as renderCheckJson, index$7_renderCheckPretty as renderCheckPretty, index$7_renderHistoryJson as renderHistoryJson, index$7_renderHistoryPretty as renderHistoryPretty, index$7_renderRemoveJson as renderRemoveJson, index$7_renderRemovePretty as renderRemovePretty, index$7_renderUpdateJson as renderUpdateJson, index$7_renderUpdatePretty as renderUpdatePretty, index$7_resolveCiteRun as resolveCiteRun, index$7_resolveSeverity as resolveSeverity, index$7_rewriteLine as rewriteLine, ruleId$1 as ruleId, index$7_runAdd as runAdd, index$7_runCheck as runCheck, index$7_runHistory as runHistory, index$7_runRemove as runRemove, index$7_runUpdate as runUpdate, index$7_runsHolding as runsHolding, index$7_sentencesOf as sentencesOf, index$7_sharesSentence as sharesSentence, index$7_shiftedEntries as shiftedEntries, index$7_shortCommit as shortCommit, index$7_shortLine as shortLine, index$7_shortPin as shortPin, index$7_shortSrc as shortSrc, index$7_sidecarsFor as sidecarsFor, index$7_sliceLines as sliceLines, index$7_sourceRange as sourceRange, index$7_spellAt as spellAt, index$7_spellLines as spellLines, index$7_spellSource as spellSource, index$7_splice as splice, index$7_spliceEntryField as spliceEntryField, index$7_splitLines as splitLines, index$7_splitUnit as splitUnit, index$7_statementForms as statementForms, index$7_stripMarkers as stripMarkers, index$7_toBodyLines as toBodyLines, index$7_toFileLines as toFileLines, index$7_toValidationResult as toValidationResult, index$7_twoManifestsRefusal as twoManifestsRefusal, index$7_unifiedDiff as unifiedDiff, index$7_unitAt as unitAt, index$7_unitText as unitText, index$7_urlManifestRefusal as urlManifestRefusal, index$7_validateEntry as validateEntry, index$7_withClaimLines as withClaimLines };
|
|
6497
|
+
export { type index$7_AddOptions as AddOptions, type index$7_AddResult as AddResult, type index$7_BuildIndexOptions as BuildIndexOptions, index$7_CITATIONS_KEY as CITATIONS_KEY, index$7_CITE_RULES as CITE_RULES, index$7_CITE_SECTION as CITE_SECTION, type index$7_CheckOptions as CheckOptions, type index$7_CheckPageOptions as CheckPageOptions, type index$7_CheckRun as CheckRun, type index$7_Checkout as Checkout, type index$7_CheckoutResolver as CheckoutResolver, type Citation$1 as Citation, type index$7_CitationAnchor as CitationAnchor, type index$7_CitationClaim as CitationClaim, type index$7_CitationFinding as CitationFinding, type index$7_CitationInput as CitationInput, type index$7_CitationManifest as CitationManifest, type index$7_CitationOrigin as CitationOrigin, type index$7_CitationResult as CitationResult, type index$7_CitationSidecars as CitationSidecars, type index$7_CitationSource as CitationSource, type index$7_CiteConfig as CiteConfig, index$7_CiteError as CiteError, type index$7_CiteRule as CiteRule, type index$7_CiteRun as CiteRun, type index$7_CiteRunOptions as CiteRunOptions, type index$7_CiteSeverity as CiteSeverity, type index$7_ClaimEnd as ClaimEnd, type index$7_ClaimHistory as ClaimHistory, type index$7_ClaimHistoryInput as ClaimHistoryInput, type index$7_ClaimStatus as ClaimStatus, type index$7_ClaimUnit as ClaimUnit, type index$7_ClassifyOptions as ClassifyOptions, index$7_DEFAULT_CITE_BASELINE_PATH as DEFAULT_CITE_BASELINE_PATH, index$7_DEFAULT_SEVERITY as DEFAULT_SEVERITY, type index$7_EntryPath as EntryPath, index$7_FILE_PATTERN as FILE_PATTERN, type index$7_FindWindowsOptions as FindWindowsOptions, index$7_GIT_UNAVAILABLE_COMMIT as GIT_UNAVAILABLE_COMMIT, index$7_GIT_UNAVAILABLE_HISTORY as GIT_UNAVAILABLE_HISTORY, type index$7_GitClient as GitClient, type index$7_HeldManifest as HeldManifest, type index$7_History as History, type index$7_HistoryOptions as HistoryOptions, type index$7_HistoryPage as HistoryPage, type index$7_HistoryRun as HistoryRun, type index$7_HistorySummary as HistorySummary, type index$7_InlineStatement as InlineStatement, type index$7_LineSpec as LineSpec, type index$7_LoadSidecarOptions as LoadSidecarOptions, type index$7_LoadedCiteConfig as LoadedCiteConfig, index$7_MARKER_JSON as MARKER_JSON, index$7_MAX_MARKERS_PER_PAGE as MAX_MARKERS_PER_PAGE, index$7_MAX_PAGE_COMMITS as MAX_PAGE_COMMITS, index$7_MAX_RANGE_LINES as MAX_RANGE_LINES, index$7_MOVE_BUDGET_BYTES as MOVE_BUDGET_BYTES, index$7_MOVE_WINDOW_LINES as MOVE_WINDOW_LINES, type ManifestChange$1 as ManifestChange, index$7_ManifestSet as ManifestSet, type index$7_ManifestWrite as ManifestWrite, type index$7_MarkerEnd as MarkerEnd, type index$7_MintOptions as MintOptions, type index$7_MisplacedMarker as MisplacedMarker, type index$7_MisplacedMarkerReport as MisplacedMarkerReport, type index$7_MissingReason as MissingReason, type index$7_NoUnit as NoUnit, type index$7_OriginKind as OriginKind, index$7_PAGE_HISTORY_UNAVAILABLE as PAGE_HISTORY_UNAVAILABLE, type index$7_PageCitation as PageCitation, type index$7_PageCitationReport as PageCitationReport, type index$7_PageCitations as PageCitations, type index$7_PageCommit as PageCommit, type index$7_PageHistory as PageHistory, type index$7_PageLines as PageLines, type index$7_PageSidecar as PageSidecar, type index$7_PrettyOptions as PrettyOptions, RULE_ID_PREFIX$1 as RULE_ID_PREFIX, type index$7_ReadPageOptions as ReadPageOptions, type index$7_ReadSourceResult as ReadSourceResult, type index$7_RecommitReason as RecommitReason, type index$7_ReencryptCitationsResult as ReencryptCitationsResult, type index$7_ReencryptEntriesResult as ReencryptEntriesResult, type index$7_ReencryptOptions as ReencryptOptions, type index$7_ReencryptedCitation as ReencryptedCitation, type index$7_RefineClaimInput as RefineClaimInput, type index$7_Removal as Removal, type index$7_RemoveOptions as RemoveOptions, type index$7_RemovePage as RemovePage, type index$7_RemoveRun as RemoveRun, index$7_SOURCE_HISTORY_UNAVAILABLE as SOURCE_HISTORY_UNAVAILABLE, index$7_SRC_PATTERN as SRC_PATTERN, type index$7_ShiftOptions as ShiftOptions, type index$7_Shifted as Shifted, type index$7_ShownFile as ShownFile, type index$7_SourceCache as SourceCache, type index$7_SourceEnd as SourceEnd, type index$7_SourceIndex as SourceIndex, type index$7_SourceRange as SourceRange, type index$7_SourceStatus as SourceStatus, type index$7_StaleWindow as StaleWindow, type index$7_StatementForm as StatementForm, type index$7_TextEdit as TextEdit, type index$7_UpdateOptions as UpdateOptions, type index$7_UpdatePage as UpdatePage, type index$7_UpdateRewrite as UpdateRewrite, type index$7_UpdateRun as UpdateRun, type index$7_WindowCommit as WindowCommit, index$7_anchoredLines as anchoredLines, index$7_appendFrontmatterCitation as appendFrontmatterCitation, index$7_blockMatches as blockMatches, index$7_bodyLineOf as bodyLineOf, index$7_buildSourceIndex as buildSourceIndex, index$7_checkCitations as checkCitations, index$7_checkoutResolver as checkoutResolver, index$7_citationInputs as citationInputs, index$7_claimDiff as claimDiff, index$7_claimEnd as claimEnd, index$7_claimHistory as claimHistory, index$7_claimLine as claimLine, index$7_claimMessageFor as claimMessageFor, index$7_claimWords as claimWords, index$7_classifyCitation as classifyCitation, index$7_detectEol as detectEol, index$7_duplicateJoinRefusal as duplicateJoinRefusal, index$7_entryObject as entryObject, index$7_errorSite as errorSite, index$7_fenceSpanAt as fenceSpanAt, index$7_fencedBlockAfter as fencedBlockAfter, index$7_fencedBlockAt as fencedBlockAt, index$7_fencedBlocks as fencedBlocks, index$7_findWindows as findWindows, index$7_findingsFor as findingsFor, index$7_formatSrc as formatSrc, index$7_formatStatement as formatStatement, index$7_gitClient as gitClient, index$7_hashLines as hashLines, index$7_hashRange as hashRange, index$7_historyOf as historyOf, index$7_holdsWords as holdsWords, index$7_insertStatementBefore as insertStatementBefore, index$7_insideFence as insideFence, index$7_isBoundLine as isBoundLine, index$7_isCiteRule as isCiteRule, index$7_isKeyedPin as isKeyedPin, index$7_isTableRow as isTableRow, index$7_isUnitText as isUnitText, index$7_itemLine as itemLine, index$7_lineAt as lineAt, index$7_lineSpec as lineSpec, index$7_loadCitationSidecars as loadCitationSidecars, index$7_loadCiteConfig as loadCiteConfig, index$7_markerClaimEnd as markerClaimEnd, index$7_markerRunAt as markerRunAt, index$7_markerUnit as markerUnit, index$7_messageFor as messageFor, index$7_mintCitation as mintCitation, index$7_misplacedMarkerAt as misplacedMarkerAt, index$7_misplacedMarkers as misplacedMarkers, index$7_misplacedMessageFor as misplacedMessageFor, index$7_movedUnit as movedUnit, index$7_noGit as noGit, index$7_noUnitAt as noUnitAt, index$7_normalizeText as normalizeText, index$7_normalizeWhitespace as normalizeWhitespace, index$7_offsetOfLine as offsetOfLine, index$7_orphanRefusal as orphanRefusal, index$7_ownedMessage as ownedMessage, index$7_paragraphAfter as paragraphAfter, index$7_parseCiteConfig as parseCiteConfig, index$7_parseLines as parseLines, index$7_parseRepoFlags as parseRepoFlags, index$7_parseSrc as parseSrc, index$7_parseStatements as parseStatements, index$7_pickExtractor as pickExtractor, index$7_pinOfLines as pinOfLines, index$7_pre43Span as pre43Span, index$7_rangeLines as rangeLines, index$7_readCiteConfigFile as readCiteConfigFile, readPage$1 as readPage, index$7_readSource as readSource, index$7_reencryptCitationEntries as reencryptCitationEntries, index$7_reencryptCitations as reencryptCitations, index$7_refineClaim as refineClaim, index$7_refusalLine as refusalLine, index$7_removalLine as removalLine, index$7_removeFrontmatterCitations as removeFrontmatterCitations, index$7_removeLine as removeLine, index$7_renderCheckGithub as renderCheckGithub, index$7_renderCheckJson as renderCheckJson, index$7_renderCheckPretty as renderCheckPretty, index$7_renderHistoryJson as renderHistoryJson, index$7_renderHistoryPretty as renderHistoryPretty, index$7_renderRemoveJson as renderRemoveJson, index$7_renderRemovePretty as renderRemovePretty, index$7_renderUpdateJson as renderUpdateJson, index$7_renderUpdatePretty as renderUpdatePretty, index$7_resolveCiteRun as resolveCiteRun, index$7_resolveSeverity as resolveSeverity, index$7_rewriteLine as rewriteLine, ruleId$1 as ruleId, index$7_runAdd as runAdd, index$7_runCheck as runCheck, index$7_runHistory as runHistory, index$7_runRemove as runRemove, index$7_runUpdate as runUpdate, index$7_runsHolding as runsHolding, index$7_sentencesOf as sentencesOf, index$7_sharesSentence as sharesSentence, index$7_shiftedEntries as shiftedEntries, index$7_shortCommit as shortCommit, index$7_shortLine as shortLine, index$7_shortPin as shortPin, index$7_shortSrc as shortSrc, index$7_sidecarsFor as sidecarsFor, index$7_sliceLines as sliceLines, index$7_sourceRange as sourceRange, index$7_spellAt as spellAt, index$7_spellLines as spellLines, index$7_spellSource as spellSource, index$7_splice as splice, index$7_spliceEntryField as spliceEntryField, index$7_splitLines as splitLines, index$7_splitUnit as splitUnit, index$7_statementForms as statementForms, index$7_stripMarkers as stripMarkers, index$7_toBodyLines as toBodyLines, index$7_toFileLines as toFileLines, index$7_toValidationResult as toValidationResult, index$7_twoManifestsRefusal as twoManifestsRefusal, index$7_unifiedDiff as unifiedDiff, index$7_unitAt as unitAt, index$7_unitText as unitText, index$7_urlManifestRefusal as urlManifestRefusal, index$7_validateEntry as validateEntry, index$7_withClaimLines as withClaimLines };
|
|
6412
6498
|
}
|
|
6413
6499
|
|
|
6414
6500
|
/**
|
|
@@ -12302,6 +12388,11 @@ interface KeyRotateOptions {
|
|
|
12302
12388
|
respectGitignore?: boolean;
|
|
12303
12389
|
/** `--root <dir>`, cwd-relative: where cited sources resolve from. Else `cite.root`, else the git root, else `cwd`. */
|
|
12304
12390
|
root?: string;
|
|
12391
|
+
/**
|
|
12392
|
+
* `--repo <name=dir>`, already split: the checkouts an entry's `source.repo`
|
|
12393
|
+
* may name, cwd-relative. Each overrides `cite.repos` for its name.
|
|
12394
|
+
*/
|
|
12395
|
+
repos?: Record<string, string>;
|
|
12305
12396
|
/** `--dry-run`: re-encrypt in memory, write nothing. */
|
|
12306
12397
|
dryRun?: boolean;
|
|
12307
12398
|
cwd?: string;
|