@thehammer/template-verification 0.1.3 → 0.2.2

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/types.d.ts CHANGED
@@ -38,6 +38,16 @@ export interface VerificationSource {
38
38
  * linked file. This is what the modal renders a real thumbnail/preview from.
39
39
  */
40
40
  file?: PreviewFile | null;
41
+ /** The page's position inside its parent document (from the transcode StoredFile). */
42
+ page_number?: number | null;
43
+ /**
44
+ * The FULL parent document the cited page was transcoded from (PreviewFile-
45
+ * shaped; `url` is the whole PDF). Null when the source file is not a
46
+ * transcode page. Drives the Inspector's "view full document" drill-down.
47
+ */
48
+ original_file?: PreviewFile | null;
49
+ /** The LLM call (ApiLog id) that produced this citation, via the source message. */
50
+ api_log_id?: number | string | null;
41
51
  }
42
52
  /** The extracted (pipeline) candidate — carries provenance: confidence, reasoning, citation. */
43
53
  export interface ExtractedCandidate {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thehammer/template-verification",
3
- "version": "0.1.3",
3
+ "version": "0.2.2",
4
4
  "description": "Read-write verification overlay for rendered template apps — per-data-point confidence, discrepancy, 3-source resolution (override > extracted > claim), inline edit, and a recursive comparison page. Consumes the host's __meta sidecar; fetches nothing.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -25,7 +25,9 @@
25
25
  "engines": {
26
26
  "node": ">=18"
27
27
  },
28
- "sideEffects": false,
28
+ "sideEffects": [
29
+ "**/*.css"
30
+ ],
29
31
  "scripts": {
30
32
  "build": "vite build && vue-tsc --declaration --emitDeclarationOnly -p tsconfig.build.json",
31
33
  "test": "vitest run",