@koda-sl/baker-cli 0.136.0-dev.7c36fe3f1 → 0.136.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.
@@ -116,6 +116,19 @@ declare class ValidationError$1 extends CanvasError {
116
116
  issues: ValidationIssue[];
117
117
  constructor(issues: ValidationIssue[]);
118
118
  }
119
+ /**
120
+ * Structured per-node failure detail persisted onto the run record so the
121
+ * dashboard can show *why* a node died — the real upstream status/provider —
122
+ * instead of only a red node and the layer's summary banner. Mirrors the
123
+ * `NodeExecutionErrorCause` variants into a compact, display-ready shape.
124
+ */
125
+ type NodeFailureDetail = {
126
+ message: string;
127
+ /** Engine/provider error code (`server_error`, `unauthorized`, `content_policy`, `timeout`, …). */
128
+ code?: string;
129
+ provider?: string;
130
+ retryable?: boolean;
131
+ };
119
132
 
120
133
  declare const CanvasSchema: z.ZodObject<{
121
134
  schema: z.ZodLiteral<"baker-canvas/1">;
@@ -450,6 +463,7 @@ type RunProgressEvent = {
450
463
  } | {
451
464
  kind: "node_failed";
452
465
  node_id: string;
466
+ error: NodeFailureDetail;
453
467
  };
454
468
  type RunOptions = {
455
469
  signal?: AbortSignal;
@@ -8,7 +8,7 @@ import {
8
8
  defaultRegistry,
9
9
  generateCatalog,
10
10
  validateCanvasDeep
11
- } from "../chunk-GKL4CUCC.js";
11
+ } from "../chunk-TAGQCU36.js";
12
12
  import "../chunk-7I2POXSJ.js";
13
13
  import "../chunk-RK67WL4O.js";
14
14
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koda-sl/baker-cli",
3
- "version": "0.136.0-dev.7c36fe3f1",
3
+ "version": "0.136.2",
4
4
  "description": "AI-agent-first CLI for interacting with Baker, including the Baker creative canvas.",
5
5
  "type": "module",
6
6
  "bin": {