@hawkeyexl/manni 4.17.1 → 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.
Files changed (200) hide show
  1. package/README.md +1 -1
  2. package/dist/{batch-SAW4E46C.js → batch-5TPNK5BQ.js} +13 -13
  3. package/dist/{build-F6S3W77I.js → build-GGKCRWKH.js} +14 -14
  4. package/dist/{calibrate-3DW2VV7F.js → calibrate-OGOLLGXY.js} +14 -14
  5. package/dist/{capture-PKEYY2VO.js → capture-CNHRHTA7.js} +13 -13
  6. package/dist/{check-EZN7YNVF.js → check-BAMOJMOJ.js} +15 -13
  7. package/dist/{check-LRX2YFDF.js → check-XLIS5A7G.js} +12 -12
  8. package/dist/check-XYGABPXI.js +47 -0
  9. package/dist/{check-7PUIHLFM.js → check-ZFI7H7LS.js} +14 -14
  10. package/dist/{chunk-DU6CXY5R.js → chunk-27FP4KKD.js} +6 -6
  11. package/dist/{chunk-B5R5BWMY.js → chunk-2QZCPPVE.js} +32 -11
  12. package/dist/chunk-2QZCPPVE.js.map +1 -0
  13. package/dist/{chunk-VRMQSP7O.js → chunk-327CWO33.js} +3 -3
  14. package/dist/{chunk-JK56UPNQ.js → chunk-33FIOHJ4.js} +10 -10
  15. package/dist/{chunk-QIWSEKA6.js → chunk-3COYAAR7.js} +2 -2
  16. package/dist/{chunk-3446DW4W.js → chunk-3LZ6AYB4.js} +2 -2
  17. package/dist/{chunk-ABAFKOQF.js → chunk-4A445ALG.js} +3 -3
  18. package/dist/{chunk-M6DNOHJO.js → chunk-4KY2RUXQ.js} +3 -3
  19. package/dist/{chunk-PS4Y7EPP.js → chunk-5VA3ZOB7.js} +3 -3
  20. package/dist/{chunk-XPGK4ECA.js → chunk-6E6Z6UQL.js} +7 -7
  21. package/dist/{chunk-TUMR35B3.js → chunk-6ZYXK3JT.js} +3 -3
  22. package/dist/{chunk-KUXAHHDE.js → chunk-7RZQAMA2.js} +4 -4
  23. package/dist/{chunk-ZEYNLKOH.js → chunk-CWVL7XZR.js} +4 -4
  24. package/dist/{chunk-FEURGKJC.js → chunk-E3YXGLEU.js} +2 -2
  25. package/dist/{chunk-W7XOMNYC.js → chunk-E76WPNYO.js} +2 -2
  26. package/dist/{chunk-Q7E43SXN.js → chunk-EITEHOSX.js} +5 -5
  27. package/dist/{chunk-U5NSIZRS.js → chunk-EU5QLSNN.js} +3 -3
  28. package/dist/{chunk-TNYIXIYV.js → chunk-F7GYY373.js} +5 -5
  29. package/dist/{chunk-WBXVQW57.js → chunk-FE3US7FR.js} +3 -3
  30. package/dist/{chunk-YJHHXM5B.js → chunk-FNQE3RAW.js} +2 -2
  31. package/dist/{chunk-WRSWZEVU.js → chunk-FO6MNXOF.js} +5 -5
  32. package/dist/{chunk-5D24C6WM.js → chunk-GMOAW2EG.js} +6 -2
  33. package/dist/chunk-GMOAW2EG.js.map +1 -0
  34. package/dist/{chunk-OZL5M764.js → chunk-GNZKLUZW.js} +29 -13
  35. package/dist/chunk-GNZKLUZW.js.map +1 -0
  36. package/dist/{chunk-2A5OIZHT.js → chunk-ICRYIYMJ.js} +7 -7
  37. package/dist/{chunk-KCNBM42T.js → chunk-IIBVQCCR.js} +4 -4
  38. package/dist/{chunk-KB4MNUKC.js → chunk-JFB45L7D.js} +2 -2
  39. package/dist/{chunk-HEVYEI6O.js → chunk-JFPCDIES.js} +2 -2
  40. package/dist/{chunk-5VNFO2RT.js → chunk-JHUEACRT.js} +23 -13
  41. package/dist/chunk-JHUEACRT.js.map +1 -0
  42. package/dist/{chunk-2TLNAGVJ.js → chunk-JS5NCZYC.js} +5 -5
  43. package/dist/{chunk-QIKCIREY.js → chunk-KRQTN5KE.js} +4 -4
  44. package/dist/{chunk-AIZBZYQM.js → chunk-MH5MX4B3.js} +2 -2
  45. package/dist/{chunk-MBLVLQWI.js → chunk-NUAVQQMC.js} +2 -2
  46. package/dist/{chunk-WP5EKWTU.js → chunk-O2TE5X25.js} +5 -5
  47. package/dist/{chunk-LDIUA4ZG.js → chunk-OVQDZOMU.js} +2 -2
  48. package/dist/{chunk-FAS3SRQB.js → chunk-OZWV27SE.js} +379 -21
  49. package/dist/chunk-OZWV27SE.js.map +1 -0
  50. package/dist/{chunk-IGE6CIKZ.js → chunk-PCTJ7P6U.js} +2 -2
  51. package/dist/{chunk-IGE6CIKZ.js.map → chunk-PCTJ7P6U.js.map} +1 -1
  52. package/dist/{chunk-DSJTYRI5.js → chunk-PLN2LJDM.js} +3 -3
  53. package/dist/{chunk-XWUIFSWK.js → chunk-QGJA43DX.js} +3 -3
  54. package/dist/{chunk-64EDFJ5S.js → chunk-QWYE3S3U.js} +5 -5
  55. package/dist/{chunk-XCEEJEVA.js → chunk-QXTL5MGT.js} +4 -4
  56. package/dist/{chunk-XRWQQHBR.js → chunk-RCWP63XT.js} +2 -2
  57. package/dist/{chunk-W7IEP7IG.js → chunk-RMKMJ43W.js} +2 -2
  58. package/dist/{chunk-FPPHEHPZ.js → chunk-RVSUMNCR.js} +2 -2
  59. package/dist/{chunk-4GGADKTU.js → chunk-SVB45M54.js} +5 -5
  60. package/dist/{chunk-MDXDTO7E.js → chunk-T3VFO2LO.js} +6 -6
  61. package/dist/{chunk-2LCJNH73.js → chunk-TFTGMYDR.js} +2 -2
  62. package/dist/{chunk-WZSL7KF2.js → chunk-V2IP2ZMD.js} +2 -2
  63. package/dist/{chunk-ZIXU7A4C.js → chunk-V5QTIP2M.js} +168 -80
  64. package/dist/chunk-V5QTIP2M.js.map +1 -0
  65. package/dist/{chunk-KAWS7H4C.js → chunk-VV4YM6VM.js} +8 -8
  66. package/dist/{chunk-3UYSONT4.js → chunk-XKZZRG3Z.js} +20 -10
  67. package/dist/chunk-XKZZRG3Z.js.map +1 -0
  68. package/dist/{chunk-D3AO2PMV.js → chunk-XTQTA262.js} +142 -23
  69. package/dist/chunk-XTQTA262.js.map +1 -0
  70. package/dist/{chunk-6J2ED4ED.js → chunk-YLU4H2H3.js} +6 -6
  71. package/dist/{chunk-5QOTR53S.js → chunk-ZLOLC6WD.js} +4 -4
  72. package/dist/{cli-LRKBCQRS.js → cli-6UQ3QV2G.js} +9 -9
  73. package/dist/{cli-5ZQXVWWC.js → cli-GH42HLFK.js} +41 -22
  74. package/dist/cli-GH42HLFK.js.map +1 -0
  75. package/dist/{cli-D5WYQVUF.js → cli-GND6TVRG.js} +14 -14
  76. package/dist/{cli-FCGGNZ5C.js → cli-JHULEOH2.js} +2 -2
  77. package/dist/{cli-TJDQ5GUW.js → cli-LVHZCC2O.js} +14 -14
  78. package/dist/{cli-NJC3H3CW.js → cli-NWU77YRZ.js} +14 -14
  79. package/dist/{cli-OHKWCJIJ.js → cli-PUO75R3L.js} +20 -20
  80. package/dist/{cli-VC3BXCVR.js → cli-Q2RJMCVE.js} +27 -19
  81. package/dist/cli-Q2RJMCVE.js.map +1 -0
  82. package/dist/{cli-FNX4LXMI.js → cli-RUNYBUIV.js} +35 -35
  83. package/dist/{cli-RKYIZ6KU.js → cli-T7UJF3BF.js} +26 -26
  84. package/dist/{cli-LQRHK23G.js → cli-WUFQGIUG.js} +9 -9
  85. package/dist/cli.js +14 -14
  86. package/dist/docmeta.js +8 -8
  87. package/dist/{github-6PV2JTZ7.js → github-BV42LSW2.js} +12 -12
  88. package/dist/{github-7ZT4KYQU.js → github-XZ7OLATY.js} +14 -14
  89. package/dist/index.d.ts +172 -87
  90. package/dist/index.js +41 -41
  91. package/dist/{json-VWXLDTXR.js → json-LEEXKSGP.js} +12 -12
  92. package/dist/{json-5EQCGVCV.js → json-YTKUFNO3.js} +2 -2
  93. package/dist/{labels-ZJK27RL3.js → labels-E256WRAI.js} +11 -11
  94. package/dist/{lint-5OERIERT.js → lint-W4CM3EIO.js} +12 -12
  95. package/dist/{list-MANBRF7Z.js → list-TB4R6AP4.js} +12 -12
  96. package/dist/{list-SEEANTU6.js → list-UDDGL2OI.js} +12 -12
  97. package/dist/{page-O4M65KMJ.js → page-L64NO57W.js} +11 -11
  98. package/dist/{prepare-3WULLZER.js → prepare-GFTAYDTP.js} +12 -12
  99. package/dist/{pretty-D3M366JD.js → pretty-HYCYKYHB.js} +13 -13
  100. package/dist/{pretty-5FRBLTXU.js → pretty-Q43TCD6D.js} +12 -12
  101. package/dist/{reporters-4WWZRHKI.js → reporters-4HRBSMUF.js} +4 -4
  102. package/dist/{reporters-GDCZ5P7C.js → reporters-E3FUVBQ6.js} +11 -11
  103. package/dist/{run-TZDLG6EN.js → run-UDX2C54M.js} +12 -12
  104. package/dist/{sarif-SSSPOUCK.js → sarif-WL353VTA.js} +10 -10
  105. package/dist/{sarif-PUZAMEFQ.js → sarif-XZFJ5VIJ.js} +15 -15
  106. package/dist/{term-DHWMUL5N.js → term-OZ7ZR5KB.js} +17 -17
  107. package/dist/{validate-4AW7KIIY.js → validate-CR3TI7GP.js} +5 -5
  108. package/package.json +1 -1
  109. package/plugin/manni/.claude-plugin/plugin.json +1 -1
  110. package/dist/check-NW7GHSX6.js +0 -47
  111. package/dist/chunk-3UYSONT4.js.map +0 -1
  112. package/dist/chunk-5D24C6WM.js.map +0 -1
  113. package/dist/chunk-5VNFO2RT.js.map +0 -1
  114. package/dist/chunk-B5R5BWMY.js.map +0 -1
  115. package/dist/chunk-D3AO2PMV.js.map +0 -1
  116. package/dist/chunk-FAS3SRQB.js.map +0 -1
  117. package/dist/chunk-OZL5M764.js.map +0 -1
  118. package/dist/chunk-ZIXU7A4C.js.map +0 -1
  119. package/dist/cli-5ZQXVWWC.js.map +0 -1
  120. package/dist/cli-VC3BXCVR.js.map +0 -1
  121. /package/dist/{batch-SAW4E46C.js.map → batch-5TPNK5BQ.js.map} +0 -0
  122. /package/dist/{build-F6S3W77I.js.map → build-GGKCRWKH.js.map} +0 -0
  123. /package/dist/{calibrate-3DW2VV7F.js.map → calibrate-OGOLLGXY.js.map} +0 -0
  124. /package/dist/{capture-PKEYY2VO.js.map → capture-CNHRHTA7.js.map} +0 -0
  125. /package/dist/{check-EZN7YNVF.js.map → check-BAMOJMOJ.js.map} +0 -0
  126. /package/dist/{check-LRX2YFDF.js.map → check-XLIS5A7G.js.map} +0 -0
  127. /package/dist/{check-NW7GHSX6.js.map → check-XYGABPXI.js.map} +0 -0
  128. /package/dist/{check-7PUIHLFM.js.map → check-ZFI7H7LS.js.map} +0 -0
  129. /package/dist/{chunk-DU6CXY5R.js.map → chunk-27FP4KKD.js.map} +0 -0
  130. /package/dist/{chunk-VRMQSP7O.js.map → chunk-327CWO33.js.map} +0 -0
  131. /package/dist/{chunk-JK56UPNQ.js.map → chunk-33FIOHJ4.js.map} +0 -0
  132. /package/dist/{chunk-QIWSEKA6.js.map → chunk-3COYAAR7.js.map} +0 -0
  133. /package/dist/{chunk-3446DW4W.js.map → chunk-3LZ6AYB4.js.map} +0 -0
  134. /package/dist/{chunk-ABAFKOQF.js.map → chunk-4A445ALG.js.map} +0 -0
  135. /package/dist/{chunk-M6DNOHJO.js.map → chunk-4KY2RUXQ.js.map} +0 -0
  136. /package/dist/{chunk-PS4Y7EPP.js.map → chunk-5VA3ZOB7.js.map} +0 -0
  137. /package/dist/{chunk-XPGK4ECA.js.map → chunk-6E6Z6UQL.js.map} +0 -0
  138. /package/dist/{chunk-TUMR35B3.js.map → chunk-6ZYXK3JT.js.map} +0 -0
  139. /package/dist/{chunk-KUXAHHDE.js.map → chunk-7RZQAMA2.js.map} +0 -0
  140. /package/dist/{chunk-ZEYNLKOH.js.map → chunk-CWVL7XZR.js.map} +0 -0
  141. /package/dist/{chunk-FEURGKJC.js.map → chunk-E3YXGLEU.js.map} +0 -0
  142. /package/dist/{chunk-W7XOMNYC.js.map → chunk-E76WPNYO.js.map} +0 -0
  143. /package/dist/{chunk-Q7E43SXN.js.map → chunk-EITEHOSX.js.map} +0 -0
  144. /package/dist/{chunk-U5NSIZRS.js.map → chunk-EU5QLSNN.js.map} +0 -0
  145. /package/dist/{chunk-TNYIXIYV.js.map → chunk-F7GYY373.js.map} +0 -0
  146. /package/dist/{chunk-WBXVQW57.js.map → chunk-FE3US7FR.js.map} +0 -0
  147. /package/dist/{chunk-YJHHXM5B.js.map → chunk-FNQE3RAW.js.map} +0 -0
  148. /package/dist/{chunk-WRSWZEVU.js.map → chunk-FO6MNXOF.js.map} +0 -0
  149. /package/dist/{chunk-2A5OIZHT.js.map → chunk-ICRYIYMJ.js.map} +0 -0
  150. /package/dist/{chunk-KCNBM42T.js.map → chunk-IIBVQCCR.js.map} +0 -0
  151. /package/dist/{chunk-KB4MNUKC.js.map → chunk-JFB45L7D.js.map} +0 -0
  152. /package/dist/{chunk-HEVYEI6O.js.map → chunk-JFPCDIES.js.map} +0 -0
  153. /package/dist/{chunk-2TLNAGVJ.js.map → chunk-JS5NCZYC.js.map} +0 -0
  154. /package/dist/{chunk-QIKCIREY.js.map → chunk-KRQTN5KE.js.map} +0 -0
  155. /package/dist/{chunk-AIZBZYQM.js.map → chunk-MH5MX4B3.js.map} +0 -0
  156. /package/dist/{chunk-MBLVLQWI.js.map → chunk-NUAVQQMC.js.map} +0 -0
  157. /package/dist/{chunk-WP5EKWTU.js.map → chunk-O2TE5X25.js.map} +0 -0
  158. /package/dist/{chunk-LDIUA4ZG.js.map → chunk-OVQDZOMU.js.map} +0 -0
  159. /package/dist/{chunk-DSJTYRI5.js.map → chunk-PLN2LJDM.js.map} +0 -0
  160. /package/dist/{chunk-XWUIFSWK.js.map → chunk-QGJA43DX.js.map} +0 -0
  161. /package/dist/{chunk-64EDFJ5S.js.map → chunk-QWYE3S3U.js.map} +0 -0
  162. /package/dist/{chunk-XCEEJEVA.js.map → chunk-QXTL5MGT.js.map} +0 -0
  163. /package/dist/{chunk-XRWQQHBR.js.map → chunk-RCWP63XT.js.map} +0 -0
  164. /package/dist/{chunk-W7IEP7IG.js.map → chunk-RMKMJ43W.js.map} +0 -0
  165. /package/dist/{chunk-FPPHEHPZ.js.map → chunk-RVSUMNCR.js.map} +0 -0
  166. /package/dist/{chunk-4GGADKTU.js.map → chunk-SVB45M54.js.map} +0 -0
  167. /package/dist/{chunk-MDXDTO7E.js.map → chunk-T3VFO2LO.js.map} +0 -0
  168. /package/dist/{chunk-2LCJNH73.js.map → chunk-TFTGMYDR.js.map} +0 -0
  169. /package/dist/{chunk-WZSL7KF2.js.map → chunk-V2IP2ZMD.js.map} +0 -0
  170. /package/dist/{chunk-KAWS7H4C.js.map → chunk-VV4YM6VM.js.map} +0 -0
  171. /package/dist/{chunk-6J2ED4ED.js.map → chunk-YLU4H2H3.js.map} +0 -0
  172. /package/dist/{chunk-5QOTR53S.js.map → chunk-ZLOLC6WD.js.map} +0 -0
  173. /package/dist/{cli-LRKBCQRS.js.map → cli-6UQ3QV2G.js.map} +0 -0
  174. /package/dist/{cli-D5WYQVUF.js.map → cli-GND6TVRG.js.map} +0 -0
  175. /package/dist/{cli-FCGGNZ5C.js.map → cli-JHULEOH2.js.map} +0 -0
  176. /package/dist/{cli-TJDQ5GUW.js.map → cli-LVHZCC2O.js.map} +0 -0
  177. /package/dist/{cli-NJC3H3CW.js.map → cli-NWU77YRZ.js.map} +0 -0
  178. /package/dist/{cli-OHKWCJIJ.js.map → cli-PUO75R3L.js.map} +0 -0
  179. /package/dist/{cli-FNX4LXMI.js.map → cli-RUNYBUIV.js.map} +0 -0
  180. /package/dist/{cli-RKYIZ6KU.js.map → cli-T7UJF3BF.js.map} +0 -0
  181. /package/dist/{cli-LQRHK23G.js.map → cli-WUFQGIUG.js.map} +0 -0
  182. /package/dist/{github-6PV2JTZ7.js.map → github-BV42LSW2.js.map} +0 -0
  183. /package/dist/{github-7ZT4KYQU.js.map → github-XZ7OLATY.js.map} +0 -0
  184. /package/dist/{json-5EQCGVCV.js.map → json-LEEXKSGP.js.map} +0 -0
  185. /package/dist/{json-VWXLDTXR.js.map → json-YTKUFNO3.js.map} +0 -0
  186. /package/dist/{labels-ZJK27RL3.js.map → labels-E256WRAI.js.map} +0 -0
  187. /package/dist/{lint-5OERIERT.js.map → lint-W4CM3EIO.js.map} +0 -0
  188. /package/dist/{list-MANBRF7Z.js.map → list-TB4R6AP4.js.map} +0 -0
  189. /package/dist/{list-SEEANTU6.js.map → list-UDDGL2OI.js.map} +0 -0
  190. /package/dist/{page-O4M65KMJ.js.map → page-L64NO57W.js.map} +0 -0
  191. /package/dist/{prepare-3WULLZER.js.map → prepare-GFTAYDTP.js.map} +0 -0
  192. /package/dist/{pretty-5FRBLTXU.js.map → pretty-HYCYKYHB.js.map} +0 -0
  193. /package/dist/{pretty-D3M366JD.js.map → pretty-Q43TCD6D.js.map} +0 -0
  194. /package/dist/{reporters-4WWZRHKI.js.map → reporters-4HRBSMUF.js.map} +0 -0
  195. /package/dist/{reporters-GDCZ5P7C.js.map → reporters-E3FUVBQ6.js.map} +0 -0
  196. /package/dist/{run-TZDLG6EN.js.map → run-UDX2C54M.js.map} +0 -0
  197. /package/dist/{sarif-PUZAMEFQ.js.map → sarif-WL353VTA.js.map} +0 -0
  198. /package/dist/{sarif-SSSPOUCK.js.map → sarif-XZFJ5VIJ.js.map} +0 -0
  199. /package/dist/{term-DHWMUL5N.js.map → term-OZ7ZR5KB.js.map} +0 -0
  200. /package/dist/{validate-4AW7KIIY.js.map → validate-CR3TI7GP.js.map} +0 -0
@@ -9,6 +9,8 @@ import {
9
9
  blobReader,
10
10
  buildSourceIndex,
11
11
  checkCitations,
12
+ checkoutNotice,
13
+ checkoutResolver,
12
14
  claimWords,
13
15
  classifyCitation,
14
16
  commitGraph,
@@ -19,6 +21,7 @@ import {
19
21
  historyOf,
20
22
  joinHits,
21
23
  loadCitationSidecars,
24
+ noGit,
22
25
  parseCiteConfig,
23
26
  prepareRun,
24
27
  readCiteConfigFile,
@@ -33,7 +36,7 @@ import {
33
36
  tagCommits,
34
37
  topLevel,
35
38
  wordShare
36
- } from "./chunk-D3AO2PMV.js";
39
+ } from "./chunk-XTQTA262.js";
37
40
  import {
38
41
  applyMarkerMoves,
39
42
  blockMatches,
@@ -48,7 +51,7 @@ import {
48
51
  spellAt,
49
52
  spellElsewhere,
50
53
  unitAt
51
- } from "./chunk-5VNFO2RT.js";
54
+ } from "./chunk-JHUEACRT.js";
52
55
  import {
53
56
  CiteError,
54
57
  citationInputs,
@@ -63,10 +66,10 @@ import {
63
66
  sourceRange,
64
67
  spellSource,
65
68
  tooWide
66
- } from "./chunk-3UYSONT4.js";
69
+ } from "./chunk-XKZZRG3Z.js";
67
70
  import {
68
71
  ensureEncryptionKey
69
- } from "./chunk-DU6CXY5R.js";
72
+ } from "./chunk-27FP4KKD.js";
70
73
  import {
71
74
  ANY_FENCE,
72
75
  ENCRYPTION_KEY_ENV,
@@ -98,7 +101,7 @@ import {
98
101
  toBodyLines,
99
102
  toFileLines,
100
103
  unitHolding
101
- } from "./chunk-AIZBZYQM.js";
104
+ } from "./chunk-MH5MX4B3.js";
102
105
  import {
103
106
  DocmetaError,
104
107
  STDIN_LABEL,
@@ -107,7 +110,7 @@ import {
107
110
  extractorByName,
108
111
  locateFrontmatter,
109
112
  writeFileAtomic
110
- } from "./chunk-FAS3SRQB.js";
113
+ } from "./chunk-OZWV27SE.js";
111
114
  import {
112
115
  SEVERITIES
113
116
  } from "./chunk-77AINBYM.js";
@@ -126,7 +129,7 @@ import { relative, resolve } from "node:path";
126
129
 
127
130
  // src/cite/core/mint.ts
128
131
  var COMMIT_PATTERN = /^[0-9a-f]{7,64}$/;
129
- async function commitFor(opts) {
132
+ async function commitFor(opts, checkout) {
130
133
  if (opts.commitSha === false) return void 0;
131
134
  if (typeof opts.commitSha === "string") {
132
135
  if (!COMMIT_PATTERN.test(opts.commitSha)) {
@@ -136,22 +139,27 @@ async function commitFor(opts) {
136
139
  }
137
140
  return opts.commitSha;
138
141
  }
139
- const client = opts.gitClient;
140
- if (client === void 0 || !await client.available()) return void 0;
141
- return await client.head() ?? void 0;
142
+ if (!await checkout.git.available()) return void 0;
143
+ return await checkout.git.head() ?? void 0;
142
144
  }
143
- async function assertCommitHolds(opts, commit, path, range, pin, key) {
144
- const client = opts.gitClient;
145
- if (client === void 0 || !await client.available()) return;
145
+ async function assertCommitHolds(checkout, commit, path, range, pin, key) {
146
+ const client = checkout.git;
147
+ if (!await client.available()) return;
146
148
  const history = await historyOf(client, commit, path, range, pin, key, void 0);
147
149
  if (history.kind !== "never-true") return;
148
150
  throw new CiteError(
149
- `${opts.src} is not committed: ${commit.slice(0, 7)} does not contain those lines. Commit the source, or use --no-commit-sha.`
151
+ `${formatSrc(range)} is not committed: ${commit.slice(0, 7)} does not contain those lines. Commit the source, or use --no-commit-sha.`
150
152
  );
151
153
  }
152
- function refusalFor(reason, path, encrypted) {
154
+ function refusalFor(range, reason) {
155
+ const { path, encrypted, repo } = range;
153
156
  switch (reason) {
154
157
  case "untracked":
158
+ if (repo !== void 0) {
159
+ return new CiteError(
160
+ encrypted ? `No tracked file matches ${path} in ${repo} (wrong cite.repos.${repo}?).` : `Source not found: ${path} is not a tracked file in ${repo}.`
161
+ );
162
+ }
155
163
  return new CiteError(
156
164
  encrypted ? `No tracked file matches ${path} (wrong --root?).` : `Source not found: ${path} is not a tracked file under the root.`
157
165
  );
@@ -160,34 +168,42 @@ function refusalFor(reason, path, encrypted) {
160
168
  case "undecryptable":
161
169
  return new CiteError(`${path} does not decrypt under the current key.`);
162
170
  case "unreadable":
171
+ // A checkout is resolved before a mint, so a mint never meets this one.
172
+ case "unknown-repo":
163
173
  return new CiteError(`Source not readable: ${path} could not be read.`);
164
174
  }
165
175
  }
166
176
  async function mintCitation(opts) {
167
177
  const range = parseSrc(opts.src);
178
+ const git = opts.gitClient ?? noGit();
179
+ const index = opts.sourceIndex ?? await buildSourceIndex(opts.root, { gitClient: opts.gitClient });
180
+ return mintSource(range, { root: opts.root, index, git }, opts);
181
+ }
182
+ async function mintSource(range, checkout, opts) {
183
+ const spelled = formatSrc(range);
168
184
  const wide = range.start === void 0 || range.end === void 0 ? void 0 : tooWide({ start: range.start, end: range.end });
169
- if (wide !== void 0) throw new CiteError(`Invalid range "${opts.src}": it ${wide}.`);
185
+ if (wide !== void 0) throw new CiteError(`Invalid range "${spelled}": it ${wide}.`);
170
186
  const { key } = opts;
171
187
  const encrypt = opts.encrypt === true || range.encrypted;
172
188
  if (encrypt && !range.encrypted && key === void 0) {
173
189
  throw new CiteError(
174
- `${opts.src} must be encrypted, and no encryption key is available. Run \`manni key set\`, or set ${ENCRYPTION_KEY_ENV}.`
190
+ `${spelled} must be encrypted, and no encryption key is available. Run \`manni key set\`, or set ${ENCRYPTION_KEY_ENV}.`
175
191
  );
176
192
  }
177
- const index = opts.sourceIndex ?? await buildSourceIndex(opts.root, { gitClient: opts.gitClient });
178
- const read = await readSource(opts.root, index, range, key);
179
- if (read.kind === "missing") throw refusalFor(read.reason, range.path, range.encrypted);
193
+ const read = await readSource(checkout.root, checkout.index, range, key);
194
+ if (read.kind === "missing") throw refusalFor(range, read.reason);
180
195
  const joined = sliceLines(splitLines(read.text), range, range.path);
181
196
  const pinKey = encrypt ? key : void 0;
182
197
  const file = pinKey !== void 0 && !range.encrypted ? encryptSourcePath(read.resolvedPath, pinKey) : range.path;
183
198
  const lines = rangeLines(range);
184
- const commitSha = await commitFor(opts);
199
+ const commitSha = await commitFor(opts, checkout);
185
200
  const integrity = hashLines(joined, pinKey);
186
201
  if (commitSha !== void 0) {
187
- await assertCommitHolds(opts, commitSha, read.resolvedPath, range, integrity, pinKey);
202
+ await assertCommitHolds(checkout, commitSha, read.resolvedPath, range, integrity, pinKey);
188
203
  }
189
204
  const source = { file, integrity };
190
205
  const ordered = {
206
+ ...range.repo === void 0 ? {} : { repo: range.repo },
191
207
  file: source.file,
192
208
  ...lines === void 0 ? {} : { lines },
193
209
  integrity: source.integrity,
@@ -348,7 +364,9 @@ function removeLine(content, line) {
348
364
  return applyEdits(content, lineRemovals(content, [line]));
349
365
  }
350
366
  function entryObject(citation) {
351
- const source = { file: citation.source.file };
367
+ const source = {};
368
+ if (citation.source.repo !== void 0) source.repo = citation.source.repo;
369
+ source.file = citation.source.file;
352
370
  if (citation.source.lines !== void 0) source.lines = citation.source.lines;
353
371
  source.integrity = citation.source.integrity;
354
372
  if (citation.source["commit-sha"] !== void 0) {
@@ -677,9 +695,8 @@ async function readPageFile(path, label) {
677
695
  throw error;
678
696
  }
679
697
  }
680
- async function citedText(root, index, src, key) {
681
- const range = parseSrc(src);
682
- const source = await readSource(root, index, range, key);
698
+ async function citedText(checkout, range, key) {
699
+ const source = await readSource(checkout.root, checkout.index, range, key);
683
700
  if (source.kind === "missing") {
684
701
  throw new CiteError(`Source not readable: ${range.path} could not be read.`);
685
702
  }
@@ -688,8 +705,8 @@ async function citedText(root, index, src, key) {
688
705
  function entryName(entry) {
689
706
  return entry.citation.id ?? `/citations/${String(entry.origin.index)}`;
690
707
  }
691
- function duplicateOf(page, src, pageLines) {
692
- const wanted = formatSrc(parseSrc(src));
708
+ function duplicateOf(page, range, pageLines) {
709
+ const wanted = formatSrc(range);
693
710
  return page.citations.find((entry) => {
694
711
  const { citation } = entry;
695
712
  if (spellSource(citation.source) !== wanted) return false;
@@ -712,6 +729,43 @@ function emptyClaimRefusal(lines, pageLines, at) {
712
729
  const only = span[0] ?? "";
713
730
  return only.trim() === "" ? `${at} is blank.` : `${at} is a fence line, not claim text.`;
714
731
  }
732
+ async function chooseCheckout(range, root, checkouts, names, key) {
733
+ if (range.repo !== void 0) {
734
+ const { repo } = range;
735
+ const checkout = await checkouts(repo);
736
+ if (checkout === void 0) {
737
+ const declared = names.length === 0 ? "" : ` Declared: ${names.join(", ")}.`;
738
+ throw new CiteError(
739
+ `No repo named ${repo}. Declare it under cite.repos in manni.config.yaml, or pass --repo ${repo}=<dir>.${declared}`
740
+ );
741
+ }
742
+ return { range, checkout };
743
+ }
744
+ const resolved = resolveSourcePath(range, key);
745
+ if ("reason" in resolved || root.index.has(resolved.path) || names.length === 0) {
746
+ return { range, checkout: root };
747
+ }
748
+ const hits = [];
749
+ for (const name of names) {
750
+ const checkout = await checkouts(name);
751
+ if (checkout?.index.has(resolved.path) === true) hits.push({ name, checkout });
752
+ }
753
+ const [only] = hits;
754
+ if (only !== void 0 && hits.length === 1) {
755
+ return { range: { ...range, repo: only.name }, checkout: only.checkout };
756
+ }
757
+ const shown = range.path;
758
+ if (hits.length > 1) {
759
+ const spellings = hits.map(({ name }) => formatSrc({ ...range, repo: name }));
760
+ throw new CiteError(
761
+ `${shown} is tracked in ${listOf(hits.map((hit) => hit.name))}. Spell the one you mean: ${listOf(spellings, "or")}.`
762
+ );
763
+ }
764
+ const where = listOf(names, "or");
765
+ throw new CiteError(
766
+ range.encrypted ? `No tracked file matches ${shown} under the root, or in ${where}.` : `Source not found: ${shown} is not a tracked file under the root, or in ${where}.`
767
+ );
768
+ }
715
769
  async function runAdd(opts) {
716
770
  const cwd = resolve(opts.cwd ?? process.cwd());
717
771
  const run = await resolveCiteRun({
@@ -720,6 +774,7 @@ async function runAdd(opts) {
720
774
  noConfig: opts.noConfig,
721
775
  inputs: [],
722
776
  root: opts.root,
777
+ ...opts.repos === void 0 ? {} : { repos: opts.repos },
723
778
  onConfigLoaded: opts.onConfigLoaded,
724
779
  onNotice: opts.onNotice,
725
780
  env: opts.env
@@ -788,12 +843,6 @@ async function runAdd(opts) {
788
843
  );
789
844
  }
790
845
  }
791
- const duplicate = marker ? void 0 : duplicateOf(page, opts.src, pageLines);
792
- if (duplicate !== void 0) {
793
- const src = shortSrc(spellSource(duplicate.citation.source));
794
- const what = pageLines === void 0 ? `a bare pin for ${src}` : `an entry for ${spellAt(pageLines)} and ${src}`;
795
- throw new CiteError(`${label} already has ${what} (${entryName(duplicate)}).`);
796
- }
797
846
  const lines = splitLines(content);
798
847
  if (pageLines !== void 0) {
799
848
  if (pageLines.end > lines.length) {
@@ -831,6 +880,19 @@ async function runAdd(opts) {
831
880
  }
832
881
  const client = opts.gitClient ?? gitClient(root);
833
882
  const sourceIndex = await sourceIndexFor(root, client);
883
+ const { range: srcRange, checkout } = await chooseCheckout(
884
+ parseSrc(opts.src),
885
+ { root, index: sourceIndex, git: client },
886
+ checkoutResolver({ root, index: sourceIndex, git: client }, run.repos),
887
+ Object.keys(run.repos),
888
+ run.key
889
+ );
890
+ const duplicate = marker ? void 0 : duplicateOf(page, srcRange, pageLines);
891
+ if (duplicate !== void 0) {
892
+ const src = shortSrc(spellSource(duplicate.citation.source));
893
+ const what = pageLines === void 0 ? `a bare pin for ${src}` : `an entry for ${spellAt(pageLines)} and ${src}`;
894
+ throw new CiteError(`${label} already has ${what} (${entryName(duplicate)}).`);
895
+ }
834
896
  let body = content;
835
897
  let markerAt;
836
898
  let markerJoined = false;
@@ -904,22 +966,18 @@ async function runAdd(opts) {
904
966
  claim = { lines: lineSpec(toBodyLines(pageLines, page.bodyLine)), integrity: pin };
905
967
  elsewhere = otherClaimSpans(lines, pageLines, pin, page.bodyLine);
906
968
  }
907
- const mint = (key, encrypt) => mintCitation({
908
- root,
909
- src: opts.src,
969
+ const mint = (key, encrypt) => mintSource(srcRange, checkout, {
910
970
  ...opts.id === void 0 ? {} : { id: opts.id },
911
971
  ...claim === void 0 ? {} : { claim },
912
972
  ...quote ? { quote: true } : {},
913
973
  ...opts.commitSha === false ? { commitSha: false } : {},
914
974
  encrypt,
915
- ...key === void 0 ? {} : { key },
916
- gitClient: client,
917
- sourceIndex
975
+ ...key === void 0 ? {} : { key }
918
976
  });
919
977
  const needsKey = opts.encrypt === true && run.key === void 0;
920
978
  let citation = await mint(run.key, run.key !== void 0);
921
979
  if (quote && claimSpan !== void 0) {
922
- const cited = await citedText(root, sourceIndex, opts.src, run.key);
980
+ const cited = await citedText(checkout, srcRange, run.key);
923
981
  const inside = splitLines(body).slice(claimSpan.start, claimSpan.end - 1).join("\n");
924
982
  if (!blockMatches(inside, cited)) {
925
983
  throw new CiteError(`The block at ${at} does not reproduce ${opts.src}.`);
@@ -939,10 +997,9 @@ async function runAdd(opts) {
939
997
  });
940
998
  citation = await mint(key, true);
941
999
  }
942
- const srcRange = parseSrc(opts.src);
943
1000
  let sourceLine;
944
1001
  if (srcRange.start !== void 0 && !isEncryptedValue(citation.source.file)) {
945
- const read = await readSource(root, sourceIndex, srcRange, void 0);
1002
+ const read = await readSource(checkout.root, checkout.index, srcRange, void 0);
946
1003
  if (read.kind === "ok") sourceLine = splitLines(read.text)[srcRange.start - 1];
947
1004
  }
948
1005
  const manifests = new ManifestSet();
@@ -1007,8 +1064,8 @@ async function runAdd(opts) {
1007
1064
  `${who}the claim's text also appears at ${spellElsewhere(named2)}, so a move would be ambiguous. Use --marker, or pin more lines.`
1008
1065
  );
1009
1066
  }
1010
- if (opts.commitSha !== false && !await client.available()) {
1011
- opts.onNotice?.(GIT_UNAVAILABLE_COMMIT);
1067
+ if (opts.commitSha !== false && !await checkout.git.available()) {
1068
+ opts.onNotice?.(checkoutNotice(checkout.repo, GIT_UNAVAILABLE_COMMIT));
1012
1069
  }
1013
1070
  return result;
1014
1071
  }
@@ -1079,6 +1136,7 @@ async function buildTimeline(input) {
1079
1136
  windows: walk.windows(),
1080
1137
  citations: walk.seen.size,
1081
1138
  encrypted: walk.encrypted.size,
1139
+ repos: [...walk.repos].sort(),
1082
1140
  unread
1083
1141
  };
1084
1142
  } finally {
@@ -1101,6 +1159,7 @@ var Walk = class {
1101
1159
  paths;
1102
1160
  seen = /* @__PURE__ */ new Set();
1103
1161
  encrypted = /* @__PURE__ */ new Set();
1162
+ repos = /* @__PURE__ */ new Set();
1104
1163
  open = /* @__PURE__ */ new Map();
1105
1164
  closed = [];
1106
1165
  states = /* @__PURE__ */ new Map();
@@ -1118,6 +1177,7 @@ var Walk = class {
1118
1177
  this.pages.clear();
1119
1178
  this.seen.clear();
1120
1179
  this.encrypted.clear();
1180
+ this.repos.clear();
1121
1181
  this.configBlob = null;
1122
1182
  }
1123
1183
  windows() {
@@ -1274,6 +1334,10 @@ var Walk = class {
1274
1334
  const id = entry.citation.id ?? `/citations/${String(entry.origin.index)}`;
1275
1335
  const key = `${page.label}\0${id}`;
1276
1336
  if (present.has(key)) continue;
1337
+ if (source.repo !== void 0) {
1338
+ this.repos.add(entry.citation.id ?? spellSource(source));
1339
+ continue;
1340
+ }
1277
1341
  const range = sourceRange(source);
1278
1342
  const resolved = resolveSourcePath(range, this.input.key);
1279
1343
  if ("reason" in resolved && resolved.reason === "no-key") {
@@ -1347,6 +1411,10 @@ function encryptedNotice(count) {
1347
1411
  const what = count === 1 ? "1 encrypted citation was" : `${String(count)} encrypted citations were`;
1348
1412
  return `${what} skipped: no encryption key. Set MANNI_ENCRYPTION_KEY or encryptionKey: to include them.`;
1349
1413
  }
1414
+ function repoNotice(labels) {
1415
+ const what = labels.length === 1 ? "1 citation that names a repo is" : `${String(labels.length)} citations that name a repo are`;
1416
+ return `cite history walks one repository, so ${what} left out: ${labels.join(", ")}.`;
1417
+ }
1350
1418
  function isoOf(seconds) {
1351
1419
  return new Date(seconds * 1e3).toISOString().replace(/\.\d{3}Z$/, "Z");
1352
1420
  }
@@ -1380,6 +1448,7 @@ async function runHistory(opts) {
1380
1448
  if (head === void 0) throw new Error("history walk returned no commits for an existing HEAD");
1381
1449
  if (timeline.unread) opts.onNotice?.(unreadNotice((commits[start] ?? head).sha));
1382
1450
  if (timeline.encrypted > 0) opts.onNotice?.(encryptedNotice(timeline.encrypted));
1451
+ if (timeline.repos.length > 0) opts.onNotice?.(repoNotice(timeline.repos));
1383
1452
  const releasesOf = await releaseFinder(realTop);
1384
1453
  const severity = resolveSeverity(run.config?.severity);
1385
1454
  const at = (i) => {
@@ -2137,6 +2206,7 @@ var WrittenFiles = class {
2137
2206
  return new CiteError(parts.join(" "));
2138
2207
  }
2139
2208
  };
2209
+ var RECOMMIT_NEEDS_GIT = "--recommit needs git to verify recorded commits, and git is not available here.";
2140
2210
  function citationsIn(rows) {
2141
2211
  const withMarker = new Set(rows.filter((row) => row.end === "marker").map((row) => row.index));
2142
2212
  return withMarker.size + rows.filter((row) => !withMarker.has(row.index)).length;
@@ -2151,35 +2221,43 @@ async function runUpdate(opts) {
2151
2221
  const only = opts.only !== void 0 && opts.only.length > 0 ? new Set(opts.only) : void 0;
2152
2222
  const accept = opts.accept === true;
2153
2223
  const recommit = opts.recommit === true;
2154
- if (recommit && !await git.available()) {
2155
- throw new CiteError(
2156
- "--recommit needs git to verify recorded commits, and git is not available here."
2157
- );
2158
- }
2159
- const outsideHistory = async (commit, head) => {
2160
- if (git.shallow === void 0 || git.isAncestor === void 0) return false;
2161
- if (await git.shallow()) return false;
2162
- return !await git.isAncestor(commit, head);
2224
+ if (recommit && !await git.available()) throw new CiteError(RECOMMIT_NEEDS_GIT);
2225
+ const also = /* @__PURE__ */ new Set();
2226
+ const checkoutFor = async (result) => {
2227
+ const checkout = await pageOptions.checkouts?.(result.citation.source.repo);
2228
+ if (checkout === void 0) throw new CiteError(`No checkout for ${result.source.src}.`);
2229
+ return checkout;
2230
+ };
2231
+ const outsideHistory = async (git2, commit, head) => {
2232
+ if (git2.shallow === void 0 || git2.isAncestor === void 0) return false;
2233
+ if (await git2.shallow()) return false;
2234
+ return !await git2.isAncestor(commit, head);
2163
2235
  };
2164
2236
  const recommitFor = async (result) => {
2165
2237
  const recorded = result.citation.source["commit-sha"];
2166
2238
  const path = result.source.resolvedPath;
2167
2239
  if (recorded === void 0 || path === void 0) return void 0;
2168
- const head = await git.head();
2240
+ const checkout = await checkoutFor(result);
2241
+ const { git: git2 } = checkout;
2242
+ if (!await git2.available()) {
2243
+ also.add(checkoutNotice(checkout.repo, RECOMMIT_NEEDS_GIT));
2244
+ return void 0;
2245
+ }
2246
+ const head = await git2.head();
2169
2247
  if (head === null || head === recorded) return void 0;
2170
2248
  const range = sourceRange(result.citation.source);
2171
2249
  const pin = result.citation.source.integrity;
2172
2250
  const key = range.encrypted ? run.key : void 0;
2173
2251
  let because;
2174
- if (await outsideHistory(recorded, head)) because = "not-in-history";
2252
+ if (await outsideHistory(git2, recorded, head)) because = "not-in-history";
2175
2253
  else {
2176
- const was = await historyOf(git, recorded, path, range, pin, key, void 0);
2254
+ const was = await historyOf(git2, recorded, path, range, pin, key, void 0);
2177
2255
  if (was.kind !== "never-true") return void 0;
2178
2256
  because = "not-contained";
2179
2257
  }
2180
- const now = await historyOf(git, head, path, range, pin, key, void 0);
2258
+ const now = await historyOf(git2, head, path, range, pin, key, void 0);
2181
2259
  if (now.kind !== "original") return void 0;
2182
- const arrived = await arrivalOf(git, path, range, pin, key);
2260
+ const arrived = await arrivalOf(git2, path, range, pin, key);
2183
2261
  return { commit: arrived ?? head, because };
2184
2262
  };
2185
2263
  const plansFor = async (result, entry, page, lines, lineNow, declined) => {
@@ -2228,6 +2306,7 @@ async function runUpdate(opts) {
2228
2306
  const went = parseSrc(to).path;
2229
2307
  const crossFile = went !== result.citation.source.file;
2230
2308
  if (at !== void 0 || result.citation.source.lines === void 0) {
2309
+ const checkout = await checkoutFor(result);
2231
2310
  try {
2232
2311
  if (crossFile) {
2233
2312
  out.push({
@@ -2239,13 +2318,10 @@ async function runUpdate(opts) {
2239
2318
  ...at === void 0 ? {} : { lines: lineSpec(at) }
2240
2319
  });
2241
2320
  } else if (at !== void 0) {
2242
- const minted = await mintCitation({
2243
- root: run.root,
2244
- src: to,
2321
+ const target = { ...sourceRange(result.citation.source), start: at.start, end: at.end };
2322
+ const minted = await mintSource(target, checkout, {
2245
2323
  ...run.key === void 0 ? {} : { key: run.key },
2246
- ...recorded === void 0 ? { commitSha: false } : {},
2247
- gitClient: git,
2248
- ...pageOptions.sourceIndex === void 0 ? {} : { sourceIndex: pageOptions.sourceIndex }
2324
+ ...recorded === void 0 ? { commitSha: false } : {}
2249
2325
  });
2250
2326
  const commit = minted.source["commit-sha"];
2251
2327
  if (recorded !== void 0 && commit === void 0) {
@@ -2347,17 +2423,14 @@ async function runUpdate(opts) {
2347
2423
  }
2348
2424
  }
2349
2425
  if (result.source.status === "changed" || result.source.status === "never-true") {
2350
- const stored = parseSrc(result.source.src);
2426
+ const stored = sourceRange(result.citation.source);
2351
2427
  const span = result.source.newLines === void 0 ? void 0 : parseLines(result.source.newLines);
2352
2428
  const at = span === void 0 || span.start === stored.start && span.end === stored.end ? void 0 : { ...stored, start: span.start, end: span.end };
2429
+ const checkout = await checkoutFor(result);
2353
2430
  try {
2354
- const minted = await mintCitation({
2355
- root: run.root,
2356
- src: at === void 0 ? result.source.src : formatSrc(at),
2431
+ const minted = await mintSource(at ?? stored, checkout, {
2357
2432
  ...run.key === void 0 ? {} : { key: run.key },
2358
- ...result.citation.source["commit-sha"] === void 0 ? { commitSha: false } : {},
2359
- gitClient: git,
2360
- ...pageOptions.sourceIndex === void 0 ? {} : { sourceIndex: pageOptions.sourceIndex }
2433
+ ...result.citation.source["commit-sha"] === void 0 ? { commitSha: false } : {}
2361
2434
  });
2362
2435
  out.push({
2363
2436
  kind: "source-accepted",
@@ -2597,15 +2670,30 @@ async function runUpdate(opts) {
2597
2670
  }
2598
2671
  });
2599
2672
  } else for (const changed of manifests.changed()) record(changed);
2600
- const reminted = pages.some(
2601
- (page) => page.rewritten.some((r) => r.reason === "accepted" && r.end === "source")
2673
+ const checkouts = async (repos) => {
2674
+ const out = [];
2675
+ for (const repo of new Set(repos)) {
2676
+ const checkout = await pageOptions.checkouts?.(repo);
2677
+ if (checkout !== void 0) out.push(checkout);
2678
+ }
2679
+ return out;
2680
+ };
2681
+ const reminted = pages.flatMap(
2682
+ (page, i) => page.rewritten.filter((r) => r.reason === "accepted" && r.end === "source").map((r) => reports[i]?.citations.find((c) => c.origin.index === r.index)?.citation.source.repo)
2602
2683
  );
2603
- const also = [];
2604
- if (reminted && !await git.available()) also.push(GIT_UNAVAILABLE_COMMIT);
2605
- if (recommit && git.shallow !== void 0 && git.isAncestor !== void 0 && await git.shallow()) {
2606
- also.push(SHALLOW_RECOMMIT);
2684
+ for (const checkout of await checkouts(reminted)) {
2685
+ if (!await checkout.git.available()) also.add(checkoutNotice(checkout.repo, GIT_UNAVAILABLE_COMMIT));
2686
+ }
2687
+ if (recommit) {
2688
+ const named2 = reports.flatMap((page) => page.citations.map((c) => c.citation.source.repo));
2689
+ for (const checkout of await checkouts([void 0, ...named2])) {
2690
+ const { git: held } = checkout;
2691
+ if (held.shallow !== void 0 && held.isAncestor !== void 0 && await held.shallow()) {
2692
+ also.add(checkoutNotice(checkout.repo, SHALLOW_RECOMMIT));
2693
+ }
2694
+ }
2607
2695
  }
2608
- sayNotices(reports, opts.onNotice, also);
2696
+ sayNotices(reports, opts.onNotice, [...also]);
2609
2697
  const rewritten = pages.reduce((n, page) => n + citationsIn(page.rewritten), 0);
2610
2698
  const skipped = pages.reduce((n, page) => n + page.skipped.length + page.refused.length, 0);
2611
2699
  const undone = pages.some(
@@ -2639,4 +2727,4 @@ export {
2639
2727
  runRemove,
2640
2728
  runUpdate
2641
2729
  };
2642
- //# sourceMappingURL=chunk-ZIXU7A4C.js.map
2730
+ //# sourceMappingURL=chunk-V5QTIP2M.js.map