@babav/knowledge-core-client 0.9.0 → 0.10.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/index.d.ts CHANGED
@@ -79,6 +79,9 @@ export interface Citation {
79
79
  text_span: [number, number] | null;
80
80
  context_index: number;
81
81
  document_id: string;
82
+ filename: string | null;
83
+ visibility: Visibility | string;
84
+ custom_metadata: Record<string, unknown>;
82
85
  source_url: string | null;
83
86
  supported: boolean;
84
87
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babav/knowledge-core-client",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "TypeScript client for the Babav Knowledge Core API (Deno + Node 18+, zero deps).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/index.ts CHANGED
@@ -92,6 +92,10 @@ export interface Citation {
92
92
  text_span: [number, number] | null;
93
93
  context_index: number;
94
94
  document_id: string;
95
+ // Source identity carried inline — no per-citation API round-trip to render it.
96
+ filename: string | null;
97
+ visibility: Visibility | string;
98
+ custom_metadata: Record<string, unknown>;
95
99
  source_url: string | null;
96
100
  supported: boolean;
97
101
  }