@hawkeyexl/manni 2.3.9 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/docmeta.js CHANGED
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  buildProgram
4
- } from "./chunk-HOLRWVCO.js";
4
+ } from "./chunk-Z2PBY6LN.js";
5
5
  import {
6
6
  runIfMain
7
- } from "./chunk-LC4H35XX.js";
7
+ } from "./chunk-LYLNOJ32.js";
8
8
 
9
9
  // src/docmeta.ts
10
10
  runIfMain(import.meta.url, () => buildProgram().name("docmeta"));
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { Buffer } from 'node:buffer';
2
2
  import { InferenceProvider } from '@hawkeyexl/inference';
3
3
  import { DatabaseSync } from 'node:sqlite';
4
+ import pc from 'picocolors';
4
5
 
5
6
  /**
6
7
  * The error every tool under the umbrella throws for an operational failure.
@@ -3879,6 +3880,12 @@ interface AddResult {
3879
3880
  claimLines?: PageLines;
3880
3881
  /** File line of the marker written above the claim, under `marker`. */
3881
3882
  markerLine?: number;
3883
+ /**
3884
+ * The first pinned source line, as the file holds it, so a mis-typed range
3885
+ * is visible at write time. Absent for a whole file, which has no first
3886
+ * line worth naming, and for an encrypted source, which no output reveals.
3887
+ */
3888
+ sourceLine?: string;
3882
3889
  /** The rewritten page. */
3883
3890
  content: string;
3884
3891
  diff: string;
@@ -3941,6 +3948,44 @@ interface UpdateRun {
3941
3948
  manifests?: ManifestChange[];
3942
3949
  exitCode: 0 | 1;
3943
3950
  }
3951
+ interface RemoveOptions extends Omit<CheckOptions, "baseline" | "writeBaseline" | "checkSources" | "showDiff"> {
3952
+ /**
3953
+ * `--only <id>`, repeatable: the entries to remove, each named by its id or
3954
+ * by its pointer (`/citations/N`). Required, and an empty list is a
3955
+ * refusal: `remove` never takes every citation off a page.
3956
+ */
3957
+ only: string[];
3958
+ dryRun?: boolean;
3959
+ }
3960
+ /** One entry `remove` took out, and the markers that went with it. */
3961
+ interface Removal {
3962
+ id?: string;
3963
+ /** Index in the page's `citations`. Absent for a marker that named no entry. */
3964
+ index?: number;
3965
+ /** Where the entry was kept. Absent for a marker that named no entry. */
3966
+ origin?: {
3967
+ kind: OriginKind;
3968
+ file: string;
3969
+ line?: number;
3970
+ };
3971
+ /** File lines of the markers removed with it, in the page as it was. */
3972
+ markerLines: number[];
3973
+ }
3974
+ interface RemovePage {
3975
+ file: string;
3976
+ removed: Removal[];
3977
+ diff: string;
3978
+ written: boolean;
3979
+ /** The rewritten page, for the stdin input only: it has no file to be written to. */
3980
+ content?: string;
3981
+ }
3982
+ interface RemoveRun {
3983
+ pages: RemovePage[];
3984
+ /** Entries removed, counting a marker that named no entry as one. */
3985
+ removed: number;
3986
+ /** The manifests this run rewrote, each written once however many pages it holds. */
3987
+ manifests?: ManifestChange[];
3988
+ }
3944
3989
  /** One citation `reencryptCitations` rewrote: where it sits, and its source before and after. */
3945
3990
  interface ReencryptedCitation {
3946
3991
  id?: string;
@@ -4094,6 +4139,12 @@ declare function shortCommit(commit: string): string;
4094
4139
  * plain path is spelled in full, because that is what a reader has to find.
4095
4140
  */
4096
4141
  declare function shortSrc(src: string): string;
4142
+ /**
4143
+ * A line of a file as a report quotes it: whitespace collapsed to single
4144
+ * spaces, then sixty characters and an ellipsis. The report is one line, so
4145
+ * neither an indented source line nor a long one decides how it reads.
4146
+ */
4147
+ declare function shortLine(text: string): string;
4097
4148
 
4098
4149
  interface BuildIndexOptions {
4099
4150
  /** `git ls-files` when this client reports git available; a walk when it does not, or with no client. */
@@ -4375,8 +4426,47 @@ declare function validateEntry(entry: unknown): string | undefined;
4375
4426
  declare function pickExtractor(file: string, format: string | undefined): MetadataExtractor;
4376
4427
  /** File line of body line 1: the first line after the frontmatter, or 1. */
4377
4428
  declare function bodyLineOf(content: string, bodyOffset: number): number;
4429
+ /**
4430
+ * A page's citation entries as they are written, each with where it sits: the
4431
+ * manifest's when one owns them, else the page's own frontmatter. The entries
4432
+ * are raw, so one the schema refuses is still in the list at its own index,
4433
+ * which is how `remove` reaches an entry `check` can only report.
4434
+ */
4435
+ declare function citationInputs(file: string, extracted: ExtractedMetadata, injected?: readonly CitationInput[]): CitationInput[];
4378
4436
  declare function readPage(file: string, content: string, opts?: ReadPageOptions): PageCitations;
4379
4437
 
4438
+ /** `line 9`, or `lines 9-12` for a range. */
4439
+ declare function spellAt(lines: PageLines): string;
4440
+ /** The new `claim.lines` of each entry the change moves, by where the entry lives. */
4441
+ interface Shifted {
4442
+ frontmatter: {
4443
+ index: number;
4444
+ lines: LineSpec;
4445
+ }[];
4446
+ manifest: Map<number, LineSpec>;
4447
+ }
4448
+ interface ShiftOptions {
4449
+ /** The entries to move: on a removal, the ones that survive it. */
4450
+ citations: readonly PageCitation[];
4451
+ /** File lines where a marker line is inserted, or where one is removed. */
4452
+ at: readonly number[];
4453
+ /** `1` for lines coming in, `-1` for lines going out. */
4454
+ delta: 1 | -1;
4455
+ /** File line of body line 1, since `claim.lines` count the body. */
4456
+ bodyLine: number;
4457
+ /** The page as the run reports it, for the refusal. */
4458
+ label: string;
4459
+ }
4460
+ /**
4461
+ * The entries whose claim lines move, each by however many of `at` sit above
4462
+ * them. An insertion at a claim's first line pushes the whole claim down; a
4463
+ * removal of that line is inside the claim instead, because the line is the
4464
+ * claim's own. Hence the two comparisons.
4465
+ */
4466
+ declare function shiftedEntries(opts: ShiftOptions): Shifted;
4467
+ /** A copy of a manifest entry with its `claim.lines` replaced. */
4468
+ declare function withClaimLines(entry: unknown, lines: LineSpec): unknown;
4469
+
4380
4470
  /** The one key cite keeps in a manifest. */
4381
4471
  declare const CITATIONS_KEY = "citations";
4382
4472
  /** A manifest that owns `citations` for one collection. */
@@ -4534,6 +4624,12 @@ declare class ManifestSet {
4534
4624
  file: string;
4535
4625
  line: number;
4536
4626
  }>;
4627
+ /**
4628
+ * Take a page's `citations` key out of the manifest, for the removal that
4629
+ * leaves it with no entries. The entry itself goes when that key was all it
4630
+ * had, so a manifest never keeps a document nothing is recorded about.
4631
+ */
4632
+ remove(manifest: CitationManifest, entry: string): Promise<void>;
4537
4633
  /** The manifests this run rewrote, with the diff of each. */
4538
4634
  changed(): {
4539
4635
  path: string;
@@ -4598,6 +4694,19 @@ declare function toValidationResult(report: PageCitationReport): ValidationResul
4598
4694
 
4599
4695
  /** Append one entry to `citations` (creating the key), via the format's extractor. */
4600
4696
  declare function appendFrontmatterCitation(content: string, format: string, citation: Citation, filePath?: string): string;
4697
+ /**
4698
+ * Take entries out of a page's `citations`, by their index in the list, and
4699
+ * write what is left back through the format's extractor. An empty list
4700
+ * removes the key: an entry deleted by hand once left a `citations:` with
4701
+ * nothing under it, and a page that carries no citations should say so by
4702
+ * carrying no key.
4703
+ *
4704
+ * The write is the inverse of `appendFrontmatterCitation` and goes the same
4705
+ * way, so a page manni can add to is a page manni can remove from.
4706
+ */
4707
+ declare function removeFrontmatterCitations(content: string, format: string, drop: ReadonlySet<number>, filePath?: string): string;
4708
+ /** Delete the whole of 1-based `line`, its terminator included. */
4709
+ declare function removeLine(content: string, line: number): string;
4601
4710
  /**
4602
4711
  * The entry as a plain object, in the order a reader scans it, with every
4603
4712
  * absent optional left out rather than written as `null`.
@@ -4674,6 +4783,12 @@ interface CiteRunOptions {
4674
4783
  }) => void;
4675
4784
  /** Told once when the root fell back to cwd. */
4676
4785
  onNotice?: (message: string) => void;
4786
+ /**
4787
+ * Whether the run resolves `src:` paths at all. Default true. `false`
4788
+ * silences the notice about where they would resolve from, which `remove`
4789
+ * has no use for: it edits a page and never reads a source.
4790
+ */
4791
+ resolvesSources?: boolean;
4677
4792
  /** Defaults to `process.env`; a test hands in its own. */
4678
4793
  env?: NodeJS.ProcessEnv;
4679
4794
  }
@@ -4688,6 +4803,8 @@ declare function runCheck(opts: CheckOptions): Promise<CheckRun>;
4688
4803
 
4689
4804
  declare function runAdd(opts: AddOptions): Promise<AddResult>;
4690
4805
 
4806
+ declare function runRemove(opts: RemoveOptions): Promise<RemoveRun>;
4807
+
4691
4808
  declare function runUpdate(opts: UpdateOptions): Promise<UpdateRun>;
4692
4809
 
4693
4810
  /**
@@ -4756,6 +4873,18 @@ declare function reencryptCitationEntries(page: {
4756
4873
  citations: readonly CitationInput[];
4757
4874
  }, opts: ReencryptOptions): Promise<ReencryptEntriesResult>;
4758
4875
 
4876
+ /**
4877
+ * Terminal color, decided once for every tool under the umbrella.
4878
+ *
4879
+ * clig.dev: color only on a TTY, never under `NO_COLOR` or `--no-color`. Each
4880
+ * tool's reporters take the decision as a boolean and build a palette from it,
4881
+ * so no reporter ever consults the environment on its own.
4882
+ */
4883
+
4884
+ type Colors = ReturnType<typeof pc.createColors>;
4885
+ /** Build a picocolors palette with color explicitly on or off. */
4886
+ declare function palette(enabled: boolean): Colors;
4887
+
4759
4888
  /**
4760
4889
  * Pretty output for `check` and `update`.
4761
4890
  *
@@ -4773,14 +4902,20 @@ interface PrettyOptions {
4773
4902
  quiet?: boolean;
4774
4903
  showDiff?: boolean;
4775
4904
  reveal?: boolean;
4905
+ /** `remove --dry-run`: the footer says what the run would have removed. */
4906
+ dryRun?: boolean;
4776
4907
  }
4777
4908
  declare function renderCheckPretty(run: CheckRun, opts: PrettyOptions): string;
4778
4909
  /** What one rewritten end says it did. */
4779
4910
  declare function rewriteLine(rewrite: UpdateRewrite): string;
4780
4911
  declare function renderUpdatePretty(run: UpdateRun, opts: PrettyOptions): string;
4912
+ /** What one removal says it did: the entry, where it was kept, and its markers. */
4913
+ declare function removalLine(removal: Removal, c: ReturnType<typeof palette>): string;
4914
+ declare function renderRemovePretty(run: RemoveRun, opts: PrettyOptions): string;
4781
4915
 
4782
4916
  /**
4783
- * JSON output. `{ summary, pages }` for check; the `UpdateRun` for update.
4917
+ * JSON output. `{ summary, pages }` for check; the run itself for update and
4918
+ * remove.
4784
4919
  *
4785
4920
  * A citation prints its two ends and how they are anchored. `resolvedPath`,
4786
4921
  * `diff`, `commitsSince` and a changed claim's current lines are left out of
@@ -4790,6 +4925,7 @@ declare function renderUpdatePretty(run: UpdateRun, opts: PrettyOptions): string
4790
4925
  */
4791
4926
 
4792
4927
  declare function renderCheckJson(run: CheckRun): string;
4928
+ declare function renderRemoveJson(run: RemoveRun): string;
4793
4929
  declare function renderUpdateJson(run: UpdateRun): string;
4794
4930
 
4795
4931
  declare function renderCheckGithub(run: CheckRun): string;
@@ -4868,7 +5004,13 @@ type index$1_ReencryptCitationsResult = ReencryptCitationsResult;
4868
5004
  type index$1_ReencryptEntriesResult = ReencryptEntriesResult;
4869
5005
  type index$1_ReencryptOptions = ReencryptOptions;
4870
5006
  type index$1_ReencryptedCitation = ReencryptedCitation;
5007
+ type index$1_Removal = Removal;
5008
+ type index$1_RemoveOptions = RemoveOptions;
5009
+ type index$1_RemovePage = RemovePage;
5010
+ type index$1_RemoveRun = RemoveRun;
4871
5011
  declare const index$1_SRC_PATTERN: typeof SRC_PATTERN;
5012
+ type index$1_ShiftOptions = ShiftOptions;
5013
+ type index$1_Shifted = Shifted;
4872
5014
  type index$1_ShownFile = ShownFile;
4873
5015
  type index$1_SourceEnd = SourceEnd;
4874
5016
  type index$1_SourceIndex = SourceIndex;
@@ -4885,6 +5027,7 @@ declare const index$1_blockMatches: typeof blockMatches;
4885
5027
  declare const index$1_bodyLineOf: typeof bodyLineOf;
4886
5028
  declare const index$1_buildSourceIndex: typeof buildSourceIndex;
4887
5029
  declare const index$1_checkCitations: typeof checkCitations;
5030
+ declare const index$1_citationInputs: typeof citationInputs;
4888
5031
  declare const index$1_claimEnd: typeof claimEnd;
4889
5032
  declare const index$1_claimLine: typeof claimLine;
4890
5033
  declare const index$1_claimMessageFor: typeof claimMessageFor;
@@ -4936,9 +5079,14 @@ declare const index$1_readPage: typeof readPage;
4936
5079
  declare const index$1_readSource: typeof readSource;
4937
5080
  declare const index$1_reencryptCitationEntries: typeof reencryptCitationEntries;
4938
5081
  declare const index$1_reencryptCitations: typeof reencryptCitations;
5082
+ declare const index$1_removalLine: typeof removalLine;
5083
+ declare const index$1_removeFrontmatterCitations: typeof removeFrontmatterCitations;
5084
+ declare const index$1_removeLine: typeof removeLine;
4939
5085
  declare const index$1_renderCheckGithub: typeof renderCheckGithub;
4940
5086
  declare const index$1_renderCheckJson: typeof renderCheckJson;
4941
5087
  declare const index$1_renderCheckPretty: typeof renderCheckPretty;
5088
+ declare const index$1_renderRemoveJson: typeof renderRemoveJson;
5089
+ declare const index$1_renderRemovePretty: typeof renderRemovePretty;
4942
5090
  declare const index$1_renderUpdateJson: typeof renderUpdateJson;
4943
5091
  declare const index$1_renderUpdatePretty: typeof renderUpdatePretty;
4944
5092
  declare const index$1_resolveCiteRun: typeof resolveCiteRun;
@@ -4947,13 +5095,17 @@ declare const index$1_rewriteLine: typeof rewriteLine;
4947
5095
  declare const index$1_ruleId: typeof ruleId;
4948
5096
  declare const index$1_runAdd: typeof runAdd;
4949
5097
  declare const index$1_runCheck: typeof runCheck;
5098
+ declare const index$1_runRemove: typeof runRemove;
4950
5099
  declare const index$1_runUpdate: typeof runUpdate;
5100
+ declare const index$1_shiftedEntries: typeof shiftedEntries;
4951
5101
  declare const index$1_shortCommit: typeof shortCommit;
5102
+ declare const index$1_shortLine: typeof shortLine;
4952
5103
  declare const index$1_shortPin: typeof shortPin;
4953
5104
  declare const index$1_shortSrc: typeof shortSrc;
4954
5105
  declare const index$1_sidecarsFor: typeof sidecarsFor;
4955
5106
  declare const index$1_sliceLines: typeof sliceLines;
4956
5107
  declare const index$1_sourceRange: typeof sourceRange;
5108
+ declare const index$1_spellAt: typeof spellAt;
4957
5109
  declare const index$1_spellLines: typeof spellLines;
4958
5110
  declare const index$1_spellSource: typeof spellSource;
4959
5111
  declare const index$1_splice: typeof splice;
@@ -4968,8 +5120,9 @@ declare const index$1_unifiedDiff: typeof unifiedDiff;
4968
5120
  declare const index$1_unitAt: typeof unitAt;
4969
5121
  declare const index$1_urlManifestRefusal: typeof urlManifestRefusal;
4970
5122
  declare const index$1_validateEntry: typeof validateEntry;
5123
+ declare const index$1_withClaimLines: typeof withClaimLines;
4971
5124
  declare namespace index$1 {
4972
- 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, index$1_SRC_PATTERN as SRC_PATTERN, 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_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_renderCheckGithub as renderCheckGithub, index$1_renderCheckJson as renderCheckJson, index$1_renderCheckPretty as renderCheckPretty, 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_runUpdate as runUpdate, index$1_shortCommit as shortCommit, 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_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 };
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 };
4973
5126
  }
4974
5127
 
4975
5128
  /**
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  reencryptMetadata,
6
6
  runKeyRotate,
7
7
  runKeySet
8
- } from "./chunk-YSI2VNKE.js";
8
+ } from "./chunk-P4KR3XFD.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-LC4H35XX.js";
130
+ } from "./chunk-LYLNOJ32.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.3.9",
3
+ "version": "2.4.0",
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": {