@hawkeyexl/manni 2.3.6 → 2.3.8

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/cli.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  readStdin,
8
8
  reportConfig,
9
9
  splitList
10
- } from "./chunk-3TVBXXJD.js";
10
+ } from "./chunk-L73SKPCW.js";
11
11
  import {
12
12
  CiteError,
13
13
  KeyError,
@@ -32,7 +32,7 @@ import {
32
32
  shortPin,
33
33
  shortSrc,
34
34
  spellSource
35
- } from "./chunk-CGE2SVW7.js";
35
+ } from "./chunk-TIZE6GXU.js";
36
36
  import {
37
37
  COMMON_FORMAT_LIST,
38
38
  OMITTED_WHEN_CLEAN,
@@ -71,7 +71,7 @@ import {
71
71
  splitPageArgument,
72
72
  terminalConfirm,
73
73
  valeConfigPath
74
- } from "./chunk-UUXTFBWD.js";
74
+ } from "./chunk-EYD2RYKV.js";
75
75
 
76
76
  // src/cli.ts
77
77
  import { Command as Command5 } from "commander";
@@ -1019,7 +1019,10 @@ function addMessage(result) {
1019
1019
  const head = `${result.file}: added ${name} to ${where2}`;
1020
1020
  if (result.markerLine !== void 0) {
1021
1021
  const at = claimLines === void 0 ? "" : `, claim pinned at ${spellAt(claimLines)}`;
1022
- return `${head}; marker at line ${String(result.markerLine)}${at}`;
1022
+ const marked = `${head}; marker at line ${String(result.markerLine)}${at}`;
1023
+ if (claim === void 0) return marked;
1024
+ if (citation.quote === true) return `${marked} (a block that reproduces ${src})`;
1025
+ return `${marked} (${shortPin(claim.integrity)}; source ${pin})`;
1023
1026
  }
1024
1027
  if (claim === void 0 || claimLines === void 0) {
1025
1028
  return `${head} (source ${pin})`;