@koda-sl/baker-cli 0.113.2 → 0.114.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.
@@ -54,6 +54,7 @@ type ValidationIssue = {
54
54
  path: string;
55
55
  code: string;
56
56
  message: string;
57
+ severity?: "error" | "warning";
57
58
  received?: unknown;
58
59
  expected?: string;
59
60
  did_you_mean?: string[];
@@ -99,6 +100,16 @@ declare const CanvasSchema: z.ZodObject<{
99
100
  tts_over_native: z.ZodArray<z.ZodString>;
100
101
  }, z.core.$strip>>>;
101
102
  motion_board: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
103
+ elements: z.ZodOptional<z.ZodArray<z.ZodObject<{
104
+ ref: z.ZodString;
105
+ label: z.ZodString;
106
+ type: z.ZodString;
107
+ description: z.ZodOptional<z.ZodString>;
108
+ }, z.core.$strip>>>;
109
+ clip_spans: z.ZodOptional<z.ZodArray<z.ZodObject<{
110
+ node: z.ZodString;
111
+ span_s: z.ZodNumber;
112
+ }, z.core.$strip>>>;
102
113
  }, z.core.$strict>>;
103
114
  }, z.core.$strict>>;
104
115
  nodes: z.ZodArray<z.ZodObject<{
@@ -355,6 +366,7 @@ declare class Engine$1 {
355
366
  ok: true;
356
367
  canvas: Canvas;
357
368
  estimatedCredits: number;
369
+ warnings?: ValidationIssue[];
358
370
  } | {
359
371
  ok: false;
360
372
  issues: ValidationIssue[];
@@ -364,6 +376,7 @@ declare class Engine$1 {
364
376
  ok: true;
365
377
  canvas: Canvas;
366
378
  estimatedCredits: number;
379
+ warnings?: ValidationIssue[];
367
380
  } | {
368
381
  ok: false;
369
382
  issues: ValidationIssue[];
@@ -392,6 +405,7 @@ type ValidationResult = {
392
405
  ok: true;
393
406
  canvas: Canvas;
394
407
  estimatedCredits: number;
408
+ warnings?: ValidationIssue[];
395
409
  } | {
396
410
  ok: false;
397
411
  issues: ValidationIssue[];
@@ -8,7 +8,7 @@ import {
8
8
  defaultRegistry,
9
9
  generateCatalog,
10
10
  validateCanvasDeep
11
- } from "../chunk-7K2YAWUT.js";
11
+ } from "../chunk-ZWMMCLJ4.js";
12
12
  export {
13
13
  BackendClient,
14
14
  Engine,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koda-sl/baker-cli",
3
- "version": "0.113.2",
3
+ "version": "0.114.1",
4
4
  "description": "AI-agent-first CLI for interacting with Baker, including the Baker creative canvas.",
5
5
  "type": "module",
6
6
  "bin": {