@babav/knowledge-core-client 0.22.0 → 0.22.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/index.d.ts CHANGED
@@ -336,10 +336,10 @@ export interface StreamHandlers {
336
336
  * (native path). Also present in `final`. May be `{}` if scoring was unavailable. */
337
337
  onGroundedness?: (g: Groundedness | Record<string, never>) => void;
338
338
  onFinal?: (d: QueryResponse) => void;
339
- /** A visual, emitted (out of anchor order) during the trailing visual phase when
339
+ /** A visual, emitted (out of anchor order) during the trailing visual stage when
340
340
  * visual.mode="on". Place by `anchor`, not arrival order. */
341
341
  onVisual?: (v: Visual) => void;
342
- /** Always emitted exactly once to close the visual phase (incl. count=0), before `done`. */
342
+ /** Always emitted exactly once to close the visual stage (incl. count=0), before `done`. */
343
343
  onVisualsComplete?: (m: VisualsMeta) => void;
344
344
  onError?: (d: unknown) => void;
345
345
  onDone?: () => void;
@@ -90,7 +90,7 @@ export interface VisualPayload {
90
90
  composition?: VisualComposition[];
91
91
  layout?: LayoutIntent;
92
92
  }
93
- /** Per-element source provenance. Present from v1; populated in Phase 2. */
93
+ /** Per-element source provenance. Present from v1; populated later. */
94
94
  export interface VisualProvenance {
95
95
  [k: string]: unknown;
96
96
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babav/knowledge-core-client",
3
- "version": "0.22.0",
3
+ "version": "0.22.1",
4
4
  "description": "TypeScript client for the Babav Knowledge Core API (Deno + Node 18+, zero deps). Includes the babav.visual grammar TYPES at the ./visual subpath (types only; all visual rendering is server-side).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/index.ts CHANGED
@@ -455,10 +455,10 @@ export interface StreamHandlers {
455
455
  * (native path). Also present in `final`. May be `{}` if scoring was unavailable. */
456
456
  onGroundedness?: (g: Groundedness | Record<string, never>) => void;
457
457
  onFinal?: (d: QueryResponse) => void;
458
- /** A visual, emitted (out of anchor order) during the trailing visual phase when
458
+ /** A visual, emitted (out of anchor order) during the trailing visual stage when
459
459
  * visual.mode="on". Place by `anchor`, not arrival order. */
460
460
  onVisual?: (v: Visual) => void;
461
- /** Always emitted exactly once to close the visual phase (incl. count=0), before `done`. */
461
+ /** Always emitted exactly once to close the visual stage (incl. count=0), before `done`. */
462
462
  onVisualsComplete?: (m: VisualsMeta) => void;
463
463
  onError?: (d: unknown) => void;
464
464
  onDone?: () => void;
@@ -116,7 +116,7 @@ export interface VisualPayload {
116
116
  layout?: LayoutIntent;
117
117
  }
118
118
 
119
- /** Per-element source provenance. Present from v1; populated in Phase 2. */
119
+ /** Per-element source provenance. Present from v1; populated later. */
120
120
  export interface VisualProvenance {
121
121
  [k: string]: unknown;
122
122
  }