@hawkeyexl/manni 2.4.0 → 2.5.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/dist/docmeta.js CHANGED
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  buildProgram
4
- } from "./chunk-Z2PBY6LN.js";
4
+ } from "./chunk-KZDTVSFK.js";
5
5
  import {
6
6
  runIfMain
7
- } from "./chunk-LYLNOJ32.js";
7
+ } from "./chunk-22WVCFP4.js";
8
8
 
9
9
  // src/docmeta.ts
10
10
  runIfMain(import.meta.url, () => buildProgram().name("docmeta"));
package/dist/index.d.ts CHANGED
@@ -3531,6 +3531,20 @@ interface CitationInput {
3531
3531
  type CitationAnchor = "claim" | "marker" | null;
3532
3532
  type SourceStatus = "current" | "moved" | "moved-ambiguous" | "changed" | "missing" | "never-true" | "skipped";
3533
3533
  type ClaimStatus = "current" | "moved" | "moved-ambiguous" | "changed" | "skipped";
3534
+ /** Where a misplaced marker is, and where it belongs (proposal 0054). */
3535
+ interface MisplacedMarkerReport {
3536
+ /** The paragraph the marker's run splits, in file lines. */
3537
+ unit: string;
3538
+ /** The file line the marker takes once its run has moved. */
3539
+ to: number;
3540
+ }
3541
+ /** The marker that anchors a citation: its line, and its misplacement when it has one. */
3542
+ interface MarkerEnd {
3543
+ /** File line of the marker. */
3544
+ line: number;
3545
+ /** Present only when the marker line sits inside a paragraph. */
3546
+ misplaced?: MisplacedMarkerReport;
3547
+ }
3534
3548
  /**
3535
3549
  * Why a source could not be read: not a tracked file under the root, an
3536
3550
  * encrypted source with no key to decrypt it, one that does not decrypt under
@@ -3541,7 +3555,7 @@ type MissingReason = "untracked" | "no-key" | "undecryptable" | "unreadable";
3541
3555
  * Every rule a finding can carry, stated once. The union and the default
3542
3556
  * severity table are derived from this array so the three cannot disagree.
3543
3557
  */
3544
- declare const CITE_RULES: readonly ["source-moved", "source-moved-ambiguous", "source-changed", "source-never-true", "source-missing", "claim-moved", "claim-moved-ambiguous", "claim-changed", "marker-orphan", "marker-invalid", "marker-repeated", "anchor-invalid", "entry-invalid", "quote-drift"];
3558
+ declare const CITE_RULES: readonly ["source-moved", "source-moved-ambiguous", "source-changed", "source-never-true", "source-missing", "claim-moved", "claim-moved-ambiguous", "claim-changed", "marker-orphan", "marker-invalid", "marker-repeated", "marker-misplaced", "anchor-invalid", "entry-invalid", "quote-drift"];
3545
3559
  type CiteRule = (typeof CITE_RULES)[number];
3546
3560
  /**
3547
3561
  * A rule's level: the family scale (`src/shared/severity.ts`) plus `off`,
@@ -3607,6 +3621,8 @@ interface CitationResult {
3607
3621
  * first line of the text a marker anchors. Where its findings sit.
3608
3622
  */
3609
3623
  anchorLine?: number;
3624
+ /** The marker that names the entry, when one does, and its misplacement. */
3625
+ marker?: MarkerEnd;
3610
3626
  /** `null` for an entry with no `claim`: a bare pin, or a marker with no drift check. */
3611
3627
  claim: ClaimEnd | null;
3612
3628
  source: SourceEnd;
@@ -3896,23 +3912,40 @@ interface UpdateOptions extends Omit<CheckOptions, "baseline" | "writeBaseline">
3896
3912
  only?: string[];
3897
3913
  dryRun?: boolean;
3898
3914
  }
3899
- /** One end `update` rewrote. */
3915
+ /**
3916
+ * One end `update` rewrote.
3917
+ *
3918
+ * Read the typed pairs: `fromLines`/`toLines` for lines, `fromPin`/`toPin`
3919
+ * for pins. `from` and `to` carry the same values, but which of the two a row
3920
+ * holds depends on the row, so they are easy to misuse.
3921
+ */
3900
3922
  interface UpdateRewrite {
3901
3923
  id?: string;
3902
3924
  /** Index in the page's `citations`. */
3903
3925
  index: number;
3904
3926
  /** File line of the entry. */
3905
3927
  line?: number;
3906
- end: "claim" | "source";
3907
- reason: "moved" | "accepted";
3928
+ end: "claim" | "source" | "marker";
3929
+ reason: "moved" | "accepted" | "re-anchored" | "shifted";
3908
3930
  /** The status that was repaired. */
3909
- status: "moved" | "changed" | "never-true";
3931
+ status: "moved" | "changed" | "never-true" | "misplaced" | "current";
3910
3932
  /**
3911
- * Before and after. A moved claim: its file lines. A moved source: its
3912
- * `src`. An accepted end: its pin.
3933
+ * Before and after. A moved or shifted claim, and a moved marker: file
3934
+ * lines. A moved source: its `src`. An accepted or re-anchored end: its pin.
3935
+ * The typed pairs below say which, so prefer them.
3913
3936
  */
3914
3937
  from: string;
3915
3938
  to: string;
3939
+ /** A moved marker, or a moved or shifted claim: its file lines, before and after. */
3940
+ fromLines?: string;
3941
+ toLines?: string;
3942
+ /** An accepted or re-anchored end: its pin, before and after. */
3943
+ fromPin?: string;
3944
+ toPin?: string;
3945
+ /** A re-anchored claim: the span that held, in file lines. */
3946
+ lines?: string;
3947
+ /** A re-anchored claim: the span now pinned, in file lines. */
3948
+ newLines?: string;
3916
3949
  /** An accepted claim: its first file line. */
3917
3950
  at?: number;
3918
3951
  /** An accepted claim a marker anchors: the marker's file line. Pretty-only. */
@@ -4082,6 +4115,9 @@ declare class CiteError extends ToolError {
4082
4115
  * `claim-changed` is a warning, since it fires on any edit to a pinned
4083
4116
  * paragraph, a typo fix beside the cited sentence included. A repository that
4084
4117
  * wants either hard sets `severity: { claim-changed: error }`.
4118
+ * `marker-misplaced` is a warning too: it annotates the pull request, and one
4119
+ * `cite update` clears it, so a job that failed on it would block on a page
4120
+ * that was fine yesterday (proposal 0054, stress test 15).
4085
4121
  */
4086
4122
 
4087
4123
  declare const DEFAULT_SEVERITY: Readonly<Record<CiteRule, CiteSeverity>>;
@@ -4130,6 +4166,7 @@ declare function hashRange(text: string, range?: LineRange, key?: string): strin
4130
4166
  * ciphertext is longer still, so both are abbreviated for a person, and every
4131
4167
  * report and every `add` line abbreviates them the same way.
4132
4168
  */
4169
+
4133
4170
  /** `sha256-78af1d33…`, `hmac-sha256-5e0c1a2b…`: the prefix and eight hex digits. */
4134
4171
  declare function shortPin(integrity: string): string;
4135
4172
  /** The seven characters a person reads a commit by. */
@@ -4145,6 +4182,12 @@ declare function shortSrc(src: string): string;
4145
4182
  * neither an indented source line nor a long one decides how it reads.
4146
4183
  */
4147
4184
  declare function shortLine(text: string): string;
4185
+ /**
4186
+ * `line 9`, or `lines 9-12`: where on a page a span sits. Every refusal,
4187
+ * report and message that names one reads it this way, so `add`, `update`
4188
+ * and the reporters spell it once.
4189
+ */
4190
+ declare function spellAt(lines: PageLines): string;
4148
4191
 
4149
4192
  interface BuildIndexOptions {
4150
4193
  /** `git ls-files` when this client reports git available; a walk when it does not, or with no client. */
@@ -4166,6 +4209,87 @@ type ReadSourceResult = {
4166
4209
  */
4167
4210
  declare function readSource(root: string, index: SourceIndex, range: SourceRange, key?: string): Promise<ReadSourceResult>;
4168
4211
 
4212
+ /**
4213
+ * Misplaced markers, and what to do about them. Proposal 0054 is the record.
4214
+ *
4215
+ * A **marker run** is one or more consecutive lines that each hold one marker
4216
+ * and nothing else. A run is **misplaced** when the line directly above it and
4217
+ * the line directly below it are both unit text: deleting the run would join
4218
+ * them into one paragraph. Such a marker splits the paragraph for the renderer
4219
+ * and for the tool, and the lines above it are anchored by nothing.
4220
+ *
4221
+ * A misplaced marker belongs where `add --marker` writes one: above the first
4222
+ * line of the unit, or, for a `quote: true` entry, above the block it anchors.
4223
+ * A run moves in its own order, so two markers that were stacked stay stacked.
4224
+ *
4225
+ * The claim of a marker-anchored entry is read against three spans, in order:
4226
+ * the unit the marker belongs to, the span it anchors now, and the span it was
4227
+ * pinned over before PR #43 (marker lines included, down to the next blank
4228
+ * line or fence). The second or third holding means the pinned text is on the
4229
+ * page and the marker anchors a different span: `claim-moved`.
4230
+ */
4231
+
4232
+ /** Whether a line is text a paragraph is made of. */
4233
+ declare function isUnitText(line: string | undefined, format: string): boolean;
4234
+ /** The run of marker-only lines that holds `line`. */
4235
+ declare function markerRunAt(lines: readonly string[], line: number, format: string, bodyLine: number): PageLines;
4236
+ /**
4237
+ * The paragraph a run splits, in file lines, marker lines included.
4238
+ * `undefined` when the run sits where `add` writes markers: after a blank
4239
+ * line, a fence, a bound line, or the body's first line.
4240
+ */
4241
+ declare function splitUnit(lines: readonly string[], run: PageLines, format: string, bodyLine: number): PageLines | undefined;
4242
+ /**
4243
+ * The span a marker was pinned over before PR #43: from the line below it
4244
+ * through the next blank line or fence, marker lines included. `undefined`
4245
+ * when the line below is blank or a fence, so the old reading covered nothing.
4246
+ */
4247
+ declare function pre43Span(lines: readonly string[], markerLine: number): PageLines | undefined;
4248
+ /** One marker line that splits a paragraph. */
4249
+ interface MisplacedMarker {
4250
+ /** File line of the marker. */
4251
+ line: number;
4252
+ /** The whole run of marker-only lines it belongs to. */
4253
+ run: PageLines;
4254
+ /** Its position in that run, counted from zero, so stacked markers keep their order. */
4255
+ order: number;
4256
+ /** The paragraph the run splits, in file lines as the page reads now. */
4257
+ unit: PageLines;
4258
+ /** The file line the marker belongs above. */
4259
+ place: number;
4260
+ /** Whether `place` is a fenced block the entry quotes rather than the unit's first line. */
4261
+ block: boolean;
4262
+ /** The file line the marker takes once the whole run has moved. */
4263
+ to: number;
4264
+ /** The entry the marker names, when one is anchored by it. */
4265
+ entry?: PageCitation;
4266
+ }
4267
+ /** Whether a misplaced marker at `line` splits a paragraph, and where it belongs. */
4268
+ declare function misplacedMarkerAt(page: PageCitations, lines: readonly string[], line: number, entry?: PageCitation): MisplacedMarker | undefined;
4269
+ /**
4270
+ * Every misplaced marker on a page, in the order the page reads. An orphan,
4271
+ * repeated or invalid marker is reported like any other: it splits the
4272
+ * paragraph whether or not it names an entry.
4273
+ */
4274
+ declare function misplacedMarkers(page: PageCitations, lines: readonly string[]): MisplacedMarker[];
4275
+ /**
4276
+ * The span the pin covers once a misplaced run has moved: the joined unit,
4277
+ * pushed down by the markers now above it. A quote marker's pin covers its
4278
+ * block, which no move touches, so this is never asked of one.
4279
+ */
4280
+ declare function movedUnit(misplaced: MisplacedMarker): PageLines;
4281
+ /** The unit's text, the run's marker lines left out: what the pin covers after the move. */
4282
+ declare function unitText(lines: readonly string[], misplaced: MisplacedMarker): string[];
4283
+ /**
4284
+ * The claim end of a marker-anchored entry, read against proposal 0054's
4285
+ * three spans. `misplaced` is the marker's misplacement, when it has one.
4286
+ *
4287
+ * For a misplaced marker at `moved`, `fileLines` is the span that held and
4288
+ * `newLines` the span the pin will cover once the marker moves. Both are file
4289
+ * lines: a marker-anchored claim has no body lines of its own.
4290
+ */
4291
+ declare function markerClaimEnd(page: PageCitations, entry: PageCitation, lines: readonly string[], misplaced: MisplacedMarker | undefined): ClaimEnd;
4292
+
4169
4293
  /**
4170
4294
  * Markers: `cite <id>` inside the format's comment syntax.
4171
4295
  *
@@ -4198,6 +4322,23 @@ interface StatementForm {
4198
4322
  }
4199
4323
  /** The forms per extractor name. Unknown formats have none. */
4200
4324
  declare function statementForms(format: string): readonly StatementForm[];
4325
+ /**
4326
+ * Whether a line is a **bound line**: one the format makes a block on its own,
4327
+ * so no paragraph continues across it, and no pin covers it beside text.
4328
+ *
4329
+ * | Format | Bound lines |
4330
+ * |---|---|
4331
+ * | markdown, mdx | An ATX heading, and a line that is nothing but one tag. |
4332
+ * | html, xml | A line that is nothing but one tag. |
4333
+ * | asciidoc | A section title. |
4334
+ * | every format | An adornment: one of `-=~^"'*+#_:<>` repeated three or more times. |
4335
+ *
4336
+ * Proposal 0054 is the record, and its stress tests 8 and 9 say why a heading
4337
+ * and a tag line are read this way rather than joined to the text below them.
4338
+ * A tag line is bound in every format that reads one, so a marker under
4339
+ * `<body>` anchors the element below it and never the whole document.
4340
+ */
4341
+ declare function isBoundLine(line: string, format: string): boolean;
4201
4342
  /** Scan a body for statements. `from` maps body offsets/lines to file offsets/lines. */
4202
4343
  declare function parseStatements(body: string, format: string, from?: {
4203
4344
  offset: number;
@@ -4209,7 +4350,9 @@ declare function detectEol(text: string): "\n" | "\r\n";
4209
4350
  * The paragraph starting at or after `offset` (skipping blank lines), as
4210
4351
  * `{ start, end, line }` file offsets and the file line it starts on. A fence
4211
4352
  * opener ends the search with no paragraph. Given a `format`, a marker-only
4212
- * line is skipped like a blank one before the paragraph, and ends it after.
4353
+ * line is skipped like a blank one before the paragraph, and ends it after,
4354
+ * and a bound line is a unit of one line: it ends a paragraph above it, and
4355
+ * stands alone when it is the first line found.
4213
4356
  */
4214
4357
  declare function paragraphAfter(content: string, offset: number, format?: string): {
4215
4358
  start: number;
@@ -4287,7 +4430,9 @@ declare function offsetOfLine(content: string, line: number): number;
4287
4430
  * holds at the recorded lines: `current`. The same text is found verbatim
4288
4431
  * elsewhere in the body: `moved`, once, or `moved-ambiguous`. Nowhere:
4289
4432
  * `changed`, the sentence was edited. A marker-anchored claim pins what the
4290
- * marker anchors, so it never moves; it is `current` or `changed`.
4433
+ * marker anchors, so its text never moves on the page; it is `current`,
4434
+ * `changed`, or, when the pin holds over a span the marker no longer anchors,
4435
+ * `moved`. `src/cite/core/reanchor.ts` reads those spans.
4291
4436
  */
4292
4437
 
4293
4438
  declare function normalizeWhitespace(text: string): string;
@@ -4300,7 +4445,7 @@ declare function claimLine(claim: ClaimEnd): number | undefined;
4300
4445
  * the hashing rule (`splitLines`). `null` for an entry with no `claim`: a
4301
4446
  * bare pin, or a marker with no drift check on its sentence.
4302
4447
  */
4303
- declare function claimEnd(page: PageCitations, entry: PageCitation, lines: readonly string[]): ClaimEnd | null;
4448
+ declare function claimEnd(page: PageCitations, entry: PageCitation, lines: readonly string[], misplaced?: MisplacedMarker): ClaimEnd | null;
4304
4449
  /** What `update --accept` re-pins over: the paragraph or fenced block at a line. */
4305
4450
  interface ClaimUnit {
4306
4451
  lines: PageLines;
@@ -4435,8 +4580,6 @@ declare function bodyLineOf(content: string, bodyOffset: number): number;
4435
4580
  declare function citationInputs(file: string, extracted: ExtractedMetadata, injected?: readonly CitationInput[]): CitationInput[];
4436
4581
  declare function readPage(file: string, content: string, opts?: ReadPageOptions): PageCitations;
4437
4582
 
4438
- /** `line 9`, or `lines 9-12` for a range. */
4439
- declare function spellAt(lines: PageLines): string;
4440
4583
  /** The new `claim.lines` of each entry the change moves, by where the entry lives. */
4441
4584
  interface Shifted {
4442
4585
  frontmatter: {
@@ -4677,6 +4820,17 @@ declare function checkCitations(page: {
4677
4820
  declare function messageFor(source: SourceEnd): string;
4678
4821
  /** The one place a claim end's message is composed, per status. */
4679
4822
  declare function claimMessageFor(result: CitationResult): string;
4823
+ /**
4824
+ * The one place a `marker-misplaced` message is composed. A quote marker's
4825
+ * place is above the block it anchors; every other marker's is the first line
4826
+ * of the paragraph its run splits.
4827
+ */
4828
+ declare function misplacedMessageFor(id: string | undefined, marker: {
4829
+ line: number;
4830
+ unit: string;
4831
+ place: number;
4832
+ block: boolean;
4833
+ }): string;
4680
4834
  /** Findings for classified citations under a severity table; `off` rules produce none. */
4681
4835
  declare function findingsFor(results: readonly CitationResult[], severity: Readonly<Record<CiteRule, CiteSeverity>>): CitationFinding[];
4682
4836
  /**
@@ -4988,7 +5142,10 @@ type index$1_ManifestChange = ManifestChange;
4988
5142
  type index$1_ManifestSet = ManifestSet;
4989
5143
  declare const index$1_ManifestSet: typeof ManifestSet;
4990
5144
  type index$1_ManifestWrite = ManifestWrite;
5145
+ type index$1_MarkerEnd = MarkerEnd;
4991
5146
  type index$1_MintOptions = MintOptions;
5147
+ type index$1_MisplacedMarker = MisplacedMarker;
5148
+ type index$1_MisplacedMarkerReport = MisplacedMarkerReport;
4992
5149
  type index$1_MissingReason = MissingReason;
4993
5150
  type index$1_OriginKind = OriginKind;
4994
5151
  type index$1_PageCitation = PageCitation;
@@ -5050,16 +5207,24 @@ declare const index$1_hashRange: typeof hashRange;
5050
5207
  declare const index$1_historyOf: typeof historyOf;
5051
5208
  declare const index$1_insertStatementBefore: typeof insertStatementBefore;
5052
5209
  declare const index$1_insideFence: typeof insideFence;
5210
+ declare const index$1_isBoundLine: typeof isBoundLine;
5053
5211
  declare const index$1_isCiteRule: typeof isCiteRule;
5054
5212
  declare const index$1_isKeyedPin: typeof isKeyedPin;
5213
+ declare const index$1_isUnitText: typeof isUnitText;
5055
5214
  declare const index$1_itemLine: typeof itemLine;
5056
5215
  declare const index$1_lineAt: typeof lineAt;
5057
5216
  declare const index$1_lineSpec: typeof lineSpec;
5058
5217
  declare const index$1_loadCitationSidecars: typeof loadCitationSidecars;
5059
5218
  declare const index$1_loadCiteConfig: typeof loadCiteConfig;
5219
+ declare const index$1_markerClaimEnd: typeof markerClaimEnd;
5220
+ declare const index$1_markerRunAt: typeof markerRunAt;
5060
5221
  declare const index$1_markerUnit: typeof markerUnit;
5061
5222
  declare const index$1_messageFor: typeof messageFor;
5062
5223
  declare const index$1_mintCitation: typeof mintCitation;
5224
+ declare const index$1_misplacedMarkerAt: typeof misplacedMarkerAt;
5225
+ declare const index$1_misplacedMarkers: typeof misplacedMarkers;
5226
+ declare const index$1_misplacedMessageFor: typeof misplacedMessageFor;
5227
+ declare const index$1_movedUnit: typeof movedUnit;
5063
5228
  declare const index$1_noGit: typeof noGit;
5064
5229
  declare const index$1_normalizeText: typeof normalizeText;
5065
5230
  declare const index$1_normalizeWhitespace: typeof normalizeWhitespace;
@@ -5073,6 +5238,7 @@ declare const index$1_parseSrc: typeof parseSrc;
5073
5238
  declare const index$1_parseStatements: typeof parseStatements;
5074
5239
  declare const index$1_pickExtractor: typeof pickExtractor;
5075
5240
  declare const index$1_pinOfLines: typeof pinOfLines;
5241
+ declare const index$1_pre43Span: typeof pre43Span;
5076
5242
  declare const index$1_rangeLines: typeof rangeLines;
5077
5243
  declare const index$1_readCiteConfigFile: typeof readCiteConfigFile;
5078
5244
  declare const index$1_readPage: typeof readPage;
@@ -5111,6 +5277,7 @@ declare const index$1_spellSource: typeof spellSource;
5111
5277
  declare const index$1_splice: typeof splice;
5112
5278
  declare const index$1_spliceEntryField: typeof spliceEntryField;
5113
5279
  declare const index$1_splitLines: typeof splitLines;
5280
+ declare const index$1_splitUnit: typeof splitUnit;
5114
5281
  declare const index$1_statementForms: typeof statementForms;
5115
5282
  declare const index$1_toBodyLines: typeof toBodyLines;
5116
5283
  declare const index$1_toFileLines: typeof toFileLines;
@@ -5118,11 +5285,12 @@ declare const index$1_toValidationResult: typeof toValidationResult;
5118
5285
  declare const index$1_twoManifestsRefusal: typeof twoManifestsRefusal;
5119
5286
  declare const index$1_unifiedDiff: typeof unifiedDiff;
5120
5287
  declare const index$1_unitAt: typeof unitAt;
5288
+ declare const index$1_unitText: typeof unitText;
5121
5289
  declare const index$1_urlManifestRefusal: typeof urlManifestRefusal;
5122
5290
  declare const index$1_validateEntry: typeof validateEntry;
5123
5291
  declare const index$1_withClaimLines: typeof withClaimLines;
5124
5292
  declare namespace index$1 {
5125
- export { type index$1_AddOptions as AddOptions, type index$1_AddResult as AddResult, type index$1_BuildIndexOptions as BuildIndexOptions, index$1_CITATIONS_KEY as CITATIONS_KEY, index$1_CITE_RULES as CITE_RULES, index$1_CITE_SECTION as CITE_SECTION, type index$1_CheckOptions as CheckOptions, type index$1_CheckPageOptions as CheckPageOptions, type index$1_CheckRun as CheckRun, type index$1_Citation as Citation, type index$1_CitationAnchor as CitationAnchor, type index$1_CitationClaim as CitationClaim, type index$1_CitationFinding as CitationFinding, type index$1_CitationInput as CitationInput, type index$1_CitationManifest as CitationManifest, type index$1_CitationOrigin as CitationOrigin, type index$1_CitationResult as CitationResult, type index$1_CitationSidecars as CitationSidecars, type index$1_CitationSource as CitationSource, type index$1_CiteConfig as CiteConfig, index$1_CiteError as CiteError, type index$1_CiteRule as CiteRule, type index$1_CiteRun as CiteRun, type index$1_CiteRunOptions as CiteRunOptions, type index$1_CiteSeverity as CiteSeverity, type index$1_ClaimEnd as ClaimEnd, type index$1_ClaimStatus as ClaimStatus, type index$1_ClaimUnit as ClaimUnit, type index$1_ClassifyOptions as ClassifyOptions, index$1_DEFAULT_CITE_BASELINE_PATH as DEFAULT_CITE_BASELINE_PATH, index$1_DEFAULT_SEVERITY as DEFAULT_SEVERITY, type index$1_EntryPath as EntryPath, index$1_FILE_PATTERN as FILE_PATTERN, type index$1_FindWindowsOptions as FindWindowsOptions, index$1_GIT_UNAVAILABLE_COMMIT as GIT_UNAVAILABLE_COMMIT, index$1_GIT_UNAVAILABLE_HISTORY as GIT_UNAVAILABLE_HISTORY, type index$1_GitClient as GitClient, type index$1_HeldManifest as HeldManifest, type index$1_History as History, type index$1_InlineStatement as InlineStatement, type index$1_LineSpec as LineSpec, type index$1_LoadSidecarOptions as LoadSidecarOptions, type index$1_LoadedCiteConfig as LoadedCiteConfig, index$1_MARKER_JSON as MARKER_JSON, index$1_MAX_MARKERS_PER_PAGE as MAX_MARKERS_PER_PAGE, index$1_MAX_RANGE_LINES as MAX_RANGE_LINES, index$1_MOVE_BUDGET_BYTES as MOVE_BUDGET_BYTES, index$1_MOVE_WINDOW_LINES as MOVE_WINDOW_LINES, type index$1_ManifestChange as ManifestChange, index$1_ManifestSet as ManifestSet, type index$1_ManifestWrite as ManifestWrite, type index$1_MintOptions as MintOptions, type index$1_MissingReason as MissingReason, type index$1_OriginKind as OriginKind, type index$1_PageCitation as PageCitation, type index$1_PageCitationReport as PageCitationReport, type index$1_PageCitations as PageCitations, type index$1_PageLines as PageLines, type index$1_PageSidecar as PageSidecar, type index$1_PrettyOptions as PrettyOptions, index$1_RULE_ID_PREFIX as RULE_ID_PREFIX, type index$1_ReadPageOptions as ReadPageOptions, type index$1_ReadSourceResult as ReadSourceResult, type index$1_ReencryptCitationsResult as ReencryptCitationsResult, type index$1_ReencryptEntriesResult as ReencryptEntriesResult, type index$1_ReencryptOptions as ReencryptOptions, type index$1_ReencryptedCitation as ReencryptedCitation, type index$1_Removal as Removal, type index$1_RemoveOptions as RemoveOptions, type index$1_RemovePage as RemovePage, type index$1_RemoveRun as RemoveRun, index$1_SRC_PATTERN as SRC_PATTERN, type index$1_ShiftOptions as ShiftOptions, type index$1_Shifted as Shifted, type index$1_ShownFile as ShownFile, type index$1_SourceEnd as SourceEnd, type index$1_SourceIndex as SourceIndex, type index$1_SourceRange as SourceRange, type index$1_SourceStatus as SourceStatus, type index$1_StatementForm as StatementForm, type index$1_UpdateOptions as UpdateOptions, type index$1_UpdatePage as UpdatePage, type index$1_UpdateRewrite as UpdateRewrite, type index$1_UpdateRun as UpdateRun, index$1_anchoredLines as anchoredLines, index$1_appendFrontmatterCitation as appendFrontmatterCitation, index$1_blockMatches as blockMatches, index$1_bodyLineOf as bodyLineOf, index$1_buildSourceIndex as buildSourceIndex, index$1_checkCitations as checkCitations, index$1_citationInputs as citationInputs, index$1_claimEnd as claimEnd, index$1_claimLine as claimLine, index$1_claimMessageFor as claimMessageFor, index$1_classifyCitation as classifyCitation, index$1_detectEol as detectEol, index$1_duplicateJoinRefusal as duplicateJoinRefusal, index$1_entryObject as entryObject, index$1_errorSite as errorSite, index$1_fenceSpanAt as fenceSpanAt, index$1_fencedBlockAfter as fencedBlockAfter, index$1_fencedBlockAt as fencedBlockAt, index$1_fencedBlocks as fencedBlocks, index$1_findWindows as findWindows, index$1_findingsFor as findingsFor, index$1_formatSrc as formatSrc, index$1_formatStatement as formatStatement, index$1_gitClient as gitClient, index$1_hashLines as hashLines, index$1_hashRange as hashRange, index$1_historyOf as historyOf, index$1_insertStatementBefore as insertStatementBefore, index$1_insideFence as insideFence, index$1_isCiteRule as isCiteRule, index$1_isKeyedPin as isKeyedPin, index$1_itemLine as itemLine, index$1_lineAt as lineAt, index$1_lineSpec as lineSpec, index$1_loadCitationSidecars as loadCitationSidecars, index$1_loadCiteConfig as loadCiteConfig, index$1_markerUnit as markerUnit, index$1_messageFor as messageFor, index$1_mintCitation as mintCitation, index$1_noGit as noGit, index$1_normalizeText as normalizeText, index$1_normalizeWhitespace as normalizeWhitespace, index$1_offsetOfLine as offsetOfLine, index$1_orphanRefusal as orphanRefusal, index$1_ownedMessage as ownedMessage, index$1_paragraphAfter as paragraphAfter, index$1_parseCiteConfig as parseCiteConfig, index$1_parseLines as parseLines, index$1_parseSrc as parseSrc, index$1_parseStatements as parseStatements, index$1_pickExtractor as pickExtractor, index$1_pinOfLines as pinOfLines, index$1_rangeLines as rangeLines, index$1_readCiteConfigFile as readCiteConfigFile, index$1_readPage as readPage, index$1_readSource as readSource, index$1_reencryptCitationEntries as reencryptCitationEntries, index$1_reencryptCitations as reencryptCitations, index$1_removalLine as removalLine, index$1_removeFrontmatterCitations as removeFrontmatterCitations, index$1_removeLine as removeLine, index$1_renderCheckGithub as renderCheckGithub, index$1_renderCheckJson as renderCheckJson, index$1_renderCheckPretty as renderCheckPretty, index$1_renderRemoveJson as renderRemoveJson, index$1_renderRemovePretty as renderRemovePretty, index$1_renderUpdateJson as renderUpdateJson, index$1_renderUpdatePretty as renderUpdatePretty, index$1_resolveCiteRun as resolveCiteRun, index$1_resolveSeverity as resolveSeverity, index$1_rewriteLine as rewriteLine, index$1_ruleId as ruleId, index$1_runAdd as runAdd, index$1_runCheck as runCheck, index$1_runRemove as runRemove, index$1_runUpdate as runUpdate, index$1_shiftedEntries as shiftedEntries, index$1_shortCommit as shortCommit, index$1_shortLine as shortLine, index$1_shortPin as shortPin, index$1_shortSrc as shortSrc, index$1_sidecarsFor as sidecarsFor, index$1_sliceLines as sliceLines, index$1_sourceRange as sourceRange, index$1_spellAt as spellAt, index$1_spellLines as spellLines, index$1_spellSource as spellSource, index$1_splice as splice, index$1_spliceEntryField as spliceEntryField, index$1_splitLines as splitLines, index$1_statementForms as statementForms, index$1_toBodyLines as toBodyLines, index$1_toFileLines as toFileLines, index$1_toValidationResult as toValidationResult, index$1_twoManifestsRefusal as twoManifestsRefusal, index$1_unifiedDiff as unifiedDiff, index$1_unitAt as unitAt, index$1_urlManifestRefusal as urlManifestRefusal, index$1_validateEntry as validateEntry, index$1_withClaimLines as withClaimLines };
5293
+ export { type index$1_AddOptions as AddOptions, type index$1_AddResult as AddResult, type index$1_BuildIndexOptions as BuildIndexOptions, index$1_CITATIONS_KEY as CITATIONS_KEY, index$1_CITE_RULES as CITE_RULES, index$1_CITE_SECTION as CITE_SECTION, type index$1_CheckOptions as CheckOptions, type index$1_CheckPageOptions as CheckPageOptions, type index$1_CheckRun as CheckRun, type index$1_Citation as Citation, type index$1_CitationAnchor as CitationAnchor, type index$1_CitationClaim as CitationClaim, type index$1_CitationFinding as CitationFinding, type index$1_CitationInput as CitationInput, type index$1_CitationManifest as CitationManifest, type index$1_CitationOrigin as CitationOrigin, type index$1_CitationResult as CitationResult, type index$1_CitationSidecars as CitationSidecars, type index$1_CitationSource as CitationSource, type index$1_CiteConfig as CiteConfig, index$1_CiteError as CiteError, type index$1_CiteRule as CiteRule, type index$1_CiteRun as CiteRun, type index$1_CiteRunOptions as CiteRunOptions, type index$1_CiteSeverity as CiteSeverity, type index$1_ClaimEnd as ClaimEnd, type index$1_ClaimStatus as ClaimStatus, type index$1_ClaimUnit as ClaimUnit, type index$1_ClassifyOptions as ClassifyOptions, index$1_DEFAULT_CITE_BASELINE_PATH as DEFAULT_CITE_BASELINE_PATH, index$1_DEFAULT_SEVERITY as DEFAULT_SEVERITY, type index$1_EntryPath as EntryPath, index$1_FILE_PATTERN as FILE_PATTERN, type index$1_FindWindowsOptions as FindWindowsOptions, index$1_GIT_UNAVAILABLE_COMMIT as GIT_UNAVAILABLE_COMMIT, index$1_GIT_UNAVAILABLE_HISTORY as GIT_UNAVAILABLE_HISTORY, type index$1_GitClient as GitClient, type index$1_HeldManifest as HeldManifest, type index$1_History as History, type index$1_InlineStatement as InlineStatement, type index$1_LineSpec as LineSpec, type index$1_LoadSidecarOptions as LoadSidecarOptions, type index$1_LoadedCiteConfig as LoadedCiteConfig, index$1_MARKER_JSON as MARKER_JSON, index$1_MAX_MARKERS_PER_PAGE as MAX_MARKERS_PER_PAGE, index$1_MAX_RANGE_LINES as MAX_RANGE_LINES, index$1_MOVE_BUDGET_BYTES as MOVE_BUDGET_BYTES, index$1_MOVE_WINDOW_LINES as MOVE_WINDOW_LINES, type index$1_ManifestChange as ManifestChange, index$1_ManifestSet as ManifestSet, type index$1_ManifestWrite as ManifestWrite, type index$1_MarkerEnd as MarkerEnd, type index$1_MintOptions as MintOptions, type index$1_MisplacedMarker as MisplacedMarker, type index$1_MisplacedMarkerReport as MisplacedMarkerReport, type index$1_MissingReason as MissingReason, type index$1_OriginKind as OriginKind, type index$1_PageCitation as PageCitation, type index$1_PageCitationReport as PageCitationReport, type index$1_PageCitations as PageCitations, type index$1_PageLines as PageLines, type index$1_PageSidecar as PageSidecar, type index$1_PrettyOptions as PrettyOptions, index$1_RULE_ID_PREFIX as RULE_ID_PREFIX, type index$1_ReadPageOptions as ReadPageOptions, type index$1_ReadSourceResult as ReadSourceResult, type index$1_ReencryptCitationsResult as ReencryptCitationsResult, type index$1_ReencryptEntriesResult as ReencryptEntriesResult, type index$1_ReencryptOptions as ReencryptOptions, type index$1_ReencryptedCitation as ReencryptedCitation, type index$1_Removal as Removal, type index$1_RemoveOptions as RemoveOptions, type index$1_RemovePage as RemovePage, type index$1_RemoveRun as RemoveRun, index$1_SRC_PATTERN as SRC_PATTERN, type index$1_ShiftOptions as ShiftOptions, type index$1_Shifted as Shifted, type index$1_ShownFile as ShownFile, type index$1_SourceEnd as SourceEnd, type index$1_SourceIndex as SourceIndex, type index$1_SourceRange as SourceRange, type index$1_SourceStatus as SourceStatus, type index$1_StatementForm as StatementForm, type index$1_UpdateOptions as UpdateOptions, type index$1_UpdatePage as UpdatePage, type index$1_UpdateRewrite as UpdateRewrite, type index$1_UpdateRun as UpdateRun, index$1_anchoredLines as anchoredLines, index$1_appendFrontmatterCitation as appendFrontmatterCitation, index$1_blockMatches as blockMatches, index$1_bodyLineOf as bodyLineOf, index$1_buildSourceIndex as buildSourceIndex, index$1_checkCitations as checkCitations, index$1_citationInputs as citationInputs, index$1_claimEnd as claimEnd, index$1_claimLine as claimLine, index$1_claimMessageFor as claimMessageFor, index$1_classifyCitation as classifyCitation, index$1_detectEol as detectEol, index$1_duplicateJoinRefusal as duplicateJoinRefusal, index$1_entryObject as entryObject, index$1_errorSite as errorSite, index$1_fenceSpanAt as fenceSpanAt, index$1_fencedBlockAfter as fencedBlockAfter, index$1_fencedBlockAt as fencedBlockAt, index$1_fencedBlocks as fencedBlocks, index$1_findWindows as findWindows, index$1_findingsFor as findingsFor, index$1_formatSrc as formatSrc, index$1_formatStatement as formatStatement, index$1_gitClient as gitClient, index$1_hashLines as hashLines, index$1_hashRange as hashRange, index$1_historyOf as historyOf, index$1_insertStatementBefore as insertStatementBefore, index$1_insideFence as insideFence, index$1_isBoundLine as isBoundLine, index$1_isCiteRule as isCiteRule, index$1_isKeyedPin as isKeyedPin, index$1_isUnitText as isUnitText, index$1_itemLine as itemLine, index$1_lineAt as lineAt, index$1_lineSpec as lineSpec, index$1_loadCitationSidecars as loadCitationSidecars, index$1_loadCiteConfig as loadCiteConfig, index$1_markerClaimEnd as markerClaimEnd, index$1_markerRunAt as markerRunAt, index$1_markerUnit as markerUnit, index$1_messageFor as messageFor, index$1_mintCitation as mintCitation, index$1_misplacedMarkerAt as misplacedMarkerAt, index$1_misplacedMarkers as misplacedMarkers, index$1_misplacedMessageFor as misplacedMessageFor, index$1_movedUnit as movedUnit, index$1_noGit as noGit, index$1_normalizeText as normalizeText, index$1_normalizeWhitespace as normalizeWhitespace, index$1_offsetOfLine as offsetOfLine, index$1_orphanRefusal as orphanRefusal, index$1_ownedMessage as ownedMessage, index$1_paragraphAfter as paragraphAfter, index$1_parseCiteConfig as parseCiteConfig, index$1_parseLines as parseLines, index$1_parseSrc as parseSrc, index$1_parseStatements as parseStatements, index$1_pickExtractor as pickExtractor, index$1_pinOfLines as pinOfLines, index$1_pre43Span as pre43Span, index$1_rangeLines as rangeLines, index$1_readCiteConfigFile as readCiteConfigFile, index$1_readPage as readPage, index$1_readSource as readSource, index$1_reencryptCitationEntries as reencryptCitationEntries, index$1_reencryptCitations as reencryptCitations, index$1_removalLine as removalLine, index$1_removeFrontmatterCitations as removeFrontmatterCitations, index$1_removeLine as removeLine, index$1_renderCheckGithub as renderCheckGithub, index$1_renderCheckJson as renderCheckJson, index$1_renderCheckPretty as renderCheckPretty, index$1_renderRemoveJson as renderRemoveJson, index$1_renderRemovePretty as renderRemovePretty, index$1_renderUpdateJson as renderUpdateJson, index$1_renderUpdatePretty as renderUpdatePretty, index$1_resolveCiteRun as resolveCiteRun, index$1_resolveSeverity as resolveSeverity, index$1_rewriteLine as rewriteLine, index$1_ruleId as ruleId, index$1_runAdd as runAdd, index$1_runCheck as runCheck, index$1_runRemove as runRemove, index$1_runUpdate as runUpdate, index$1_shiftedEntries as shiftedEntries, index$1_shortCommit as shortCommit, index$1_shortLine as shortLine, index$1_shortPin as shortPin, index$1_shortSrc as shortSrc, index$1_sidecarsFor as sidecarsFor, index$1_sliceLines as sliceLines, index$1_sourceRange as sourceRange, index$1_spellAt as spellAt, index$1_spellLines as spellLines, index$1_spellSource as spellSource, index$1_splice as splice, index$1_spliceEntryField as spliceEntryField, index$1_splitLines as splitLines, index$1_splitUnit as splitUnit, index$1_statementForms as statementForms, index$1_toBodyLines as toBodyLines, index$1_toFileLines as toFileLines, index$1_toValidationResult as toValidationResult, index$1_twoManifestsRefusal as twoManifestsRefusal, index$1_unifiedDiff as unifiedDiff, index$1_unitAt as unitAt, index$1_unitText as unitText, index$1_urlManifestRefusal as urlManifestRefusal, index$1_validateEntry as validateEntry, index$1_withClaimLines as withClaimLines };
5126
5294
  }
5127
5295
 
5128
5296
  /**
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  reencryptMetadata,
6
6
  runKeyRotate,
7
7
  runKeySet
8
- } from "./chunk-P4KR3XFD.js";
8
+ } from "./chunk-NFCH7HCA.js";
9
9
  import {
10
10
  BinMissing,
11
11
  COMMON_FORMATS,
@@ -127,7 +127,7 @@ import {
127
127
  valueOf,
128
128
  vendorFileName,
129
129
  writeFileAtomic
130
- } from "./chunk-LYLNOJ32.js";
130
+ } from "./chunk-22WVCFP4.js";
131
131
 
132
132
  // src/key/index.ts
133
133
  var key_exports = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hawkeyexl/manni",
3
- "version": "2.4.0",
3
+ "version": "2.5.1",
4
4
  "description": "One command line for documentation that is meant to be checked. `manni meta` validates the presence and format of document metadata (Markdown frontmatter and more) against JSON Schema, built for CI. Formerly docmeta.",
5
5
  "type": "module",
6
6
  "bin": {