@babav/knowledge-core-client 0.58.0 → 0.59.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,7 @@ export interface VisualOverrides {
79
79
  claims_check_model?: string;
80
80
  vision_judge_model?: string;
81
81
  image_gen_model?: string;
82
+ html_advisory_judge?: boolean;
82
83
  }
83
84
  /** Per-request visual control. Absent => mode resolves from the profile default. All visual
84
85
  * PROCESSING is server-side; the client only displays the result. */
@@ -544,6 +545,7 @@ export interface QueryProfile {
544
545
  visual_image_gen_model: string | null;
545
546
  visual_max_revisions: number | null;
546
547
  visual_combine_generation_and_concept: boolean | null;
548
+ visual_html_advisory_judge: boolean | null;
547
549
  concept_model_mode: string | null;
548
550
  scoring_status: "no_score" | "queued" | "running" | "scored" | null;
549
551
  scoring_progress_done: number | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babav/knowledge-core-client",
3
- "version": "0.58.0",
3
+ "version": "0.59.0",
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
@@ -101,6 +101,7 @@ export interface VisualOverrides {
101
101
  claims_check_model?: string;
102
102
  vision_judge_model?: string;
103
103
  image_gen_model?: string; // scenic image generator (profile field: visual_image_gen_model)
104
+ html_advisory_judge?: boolean; // measure-only vision judge on shipped HTML figures (profile: visual_html_advisory_judge)
104
105
  }
105
106
 
106
107
  /** Per-request visual control. Absent => mode resolves from the profile default. All visual
@@ -511,6 +512,11 @@ export interface QueryProfile {
511
512
  visual_image_gen_model: string | null; // Vertex Gemini image-gen model (scenic register)
512
513
  visual_max_revisions: number | null;
513
514
  visual_combine_generation_and_concept: boolean | null;
515
+ // Measure-only vision judge on shipped conceptual (HTML) figures (null => on). When on, every
516
+ // shipped HTML figure is scored by the vision judge OFF the critical path — it's logged/counted
517
+ // server-side to reveal how often a figure would be flagged, but NEVER revises or drops it (zero
518
+ // added latency). A pure quality-telemetry knob; it does not change what the client receives.
519
+ visual_html_advisory_judge: boolean | null;
514
520
  concept_model_mode: string | null; // "reasoning" | "standard"; overrules gen mode when combining
515
521
  // --- score-my-profile status/progress (READ-only; not settable) ---------------------------------
516
522
  // Durable on the profile so a client can kick scoring, leave, and see the status/result on any later