@koda-sl/baker-cli 0.433.0 → 0.434.0-dev.2729b1413

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.
Files changed (28) hide show
  1. package/README.md +45 -16
  2. package/dist/{chunk-X46KRGZU.js → chunk-7THIX4WW.js} +3 -3
  3. package/dist/{chunk-LDS7LUKK.js → chunk-EURJVJQY.js} +2 -2
  4. package/dist/{chunk-SPPJRGQF.js → chunk-F7LXMR73.js} +5 -1
  5. package/dist/chunk-F7LXMR73.js.map +1 -0
  6. package/dist/{chunk-7BQIIJLV.js → chunk-O5HQRXS6.js} +453 -157
  7. package/dist/chunk-O5HQRXS6.js.map +1 -0
  8. package/dist/{chunk-YBJ7KJNA.js → chunk-QLNGHVRT.js} +3 -3
  9. package/dist/{chunk-4JBT2CSW.js → chunk-VNROEZTR.js} +4 -4
  10. package/dist/cli.js +8202 -4408
  11. package/dist/cli.js.map +1 -1
  12. package/dist/{client-HQ7LO4CO.js → client-TCDMWAL3.js} +4 -4
  13. package/dist/engine/index.d.ts +13 -6
  14. package/dist/engine/index.js +3 -3
  15. package/dist/{env-M4DKUWLD.js → env-ZPCFZJN5.js} +4 -2
  16. package/dist/{output-T4MY3I56.js → output-CW4JBWIM.js} +5 -5
  17. package/dist/{shared-RZMKZE4W.js → shared-6I2TP4YQ.js} +6 -6
  18. package/package.json +1 -1
  19. package/dist/chunk-7BQIIJLV.js.map +0 -1
  20. package/dist/chunk-SPPJRGQF.js.map +0 -1
  21. /package/dist/{chunk-X46KRGZU.js.map → chunk-7THIX4WW.js.map} +0 -0
  22. /package/dist/{chunk-LDS7LUKK.js.map → chunk-EURJVJQY.js.map} +0 -0
  23. /package/dist/{chunk-YBJ7KJNA.js.map → chunk-QLNGHVRT.js.map} +0 -0
  24. /package/dist/{chunk-4JBT2CSW.js.map → chunk-VNROEZTR.js.map} +0 -0
  25. /package/dist/{client-HQ7LO4CO.js.map → client-TCDMWAL3.js.map} +0 -0
  26. /package/dist/{env-M4DKUWLD.js.map → env-ZPCFZJN5.js.map} +0 -0
  27. /package/dist/{output-T4MY3I56.js.map → output-CW4JBWIM.js.map} +0 -0
  28. /package/dist/{shared-RZMKZE4W.js.map → shared-6I2TP4YQ.js.map} +0 -0
@@ -4,9 +4,9 @@ import {
4
4
  apiGetWithHeaders,
5
5
  apiPost,
6
6
  validateConvexId
7
- } from "./chunk-X46KRGZU.js";
8
- import "./chunk-LDS7LUKK.js";
9
- import "./chunk-SPPJRGQF.js";
7
+ } from "./chunk-7THIX4WW.js";
8
+ import "./chunk-EURJVJQY.js";
9
+ import "./chunk-F7LXMR73.js";
10
10
  export {
11
11
  ApiError,
12
12
  apiGet,
@@ -14,4 +14,4 @@ export {
14
14
  apiPost,
15
15
  validateConvexId
16
16
  };
17
- //# sourceMappingURL=client-HQ7LO4CO.js.map
17
+ //# sourceMappingURL=client-TCDMWAL3.js.map
@@ -439,6 +439,16 @@ declare const CanvasSchema: z.ZodObject<{
439
439
  }, z.core.$strip>>;
440
440
  }, z.core.$strict>>;
441
441
  }, z.core.$strict>>;
442
+ series: z.ZodOptional<z.ZodObject<{
443
+ lead: z.ZodString;
444
+ run_id: z.ZodString;
445
+ copy: z.ZodArray<z.ZodObject<{
446
+ text: z.ZodString;
447
+ role: z.ZodOptional<z.ZodString>;
448
+ }, z.core.$strict>>;
449
+ design: z.ZodOptional<z.ZodString>;
450
+ language: z.ZodOptional<z.ZodString>;
451
+ }, z.core.$strict>>;
442
452
  }, z.core.$strict>>;
443
453
  nodes: z.ZodArray<z.ZodObject<{
444
454
  id: z.ZodString;
@@ -543,7 +553,7 @@ type RunOptions = {
543
553
  signal?: AbortSignal;
544
554
  run_id?: string;
545
555
  cache_policy?: "read_write" | "bypass" | "read_only";
546
- /** Max nodes of one layer in flight at once; invalid or missing → 8 (DEFAULT_CONCURRENCY). */
556
+ /** Max nodes in flight at once; invalid or missing → 8 (DEFAULT_CONCURRENCY). */
547
557
  concurrency?: number;
548
558
  /**
549
559
  * Node ids to force fresh for THIS run only (the `--regenerate` flag). Folds
@@ -614,6 +624,8 @@ declare class Engine$1 {
614
624
  }>;
615
625
  run(input: unknown, opts?: RunOptions): Promise<RunResult>;
616
626
  private runLayers;
627
+ /** A settled node counted, recorded and announced. */
628
+ private recordRun;
617
629
  /** Progress consumers are observers only — an exception there must never fail the run. */
618
630
  private emitProgress;
619
631
  /**
@@ -625,11 +637,6 @@ declare class Engine$1 {
625
637
  private pruneToOutput;
626
638
  private writeFinal;
627
639
  private executeOne;
628
- /**
629
- * Every reason a layer must not dispatch, checked before any of its nodes starts, so a stop
630
- * never leaves a layer half billed: a signal, the cost cap and a checkpoint.
631
- */
632
- private assertLayerMayRun;
633
640
  /** A cache hit replayed as this node's result: its outputs written, and free. */
634
641
  private replayCached;
635
642
  /** Best-effort: a failed upload keeps the outputs local-only, never fails the node. */
@@ -8,9 +8,9 @@ import {
8
8
  defaultRegistry,
9
9
  generateCatalog,
10
10
  validateCanvasDeep
11
- } from "../chunk-7BQIIJLV.js";
12
- import "../chunk-LDS7LUKK.js";
13
- import "../chunk-SPPJRGQF.js";
11
+ } from "../chunk-O5HQRXS6.js";
12
+ import "../chunk-EURJVJQY.js";
13
+ import "../chunk-F7LXMR73.js";
14
14
  export {
15
15
  BackendClient,
16
16
  Engine,
@@ -13,10 +13,11 @@ import {
13
13
  openRouterKey,
14
14
  optionalChatId,
15
15
  optionalConnection,
16
+ optionalTurnId,
16
17
  requireChatId,
17
18
  requireConnection,
18
19
  resolveChatId
19
- } from "./chunk-SPPJRGQF.js";
20
+ } from "./chunk-F7LXMR73.js";
20
21
  export {
21
22
  MissingChatIdError,
22
23
  canvasAssetOriginsSetting,
@@ -32,8 +33,9 @@ export {
32
33
  openRouterKey,
33
34
  optionalChatId,
34
35
  optionalConnection,
36
+ optionalTurnId,
35
37
  requireChatId,
36
38
  requireConnection,
37
39
  resolveChatId
38
40
  };
39
- //# sourceMappingURL=env-M4DKUWLD.js.map
41
+ //# sourceMappingURL=env-ZPCFZJN5.js.map
@@ -6,10 +6,10 @@ import {
6
6
  writeAdsJson,
7
7
  writeAdsOutput,
8
8
  writeJsonEnvelope
9
- } from "./chunk-YBJ7KJNA.js";
10
- import "./chunk-X46KRGZU.js";
11
- import "./chunk-LDS7LUKK.js";
12
- import "./chunk-SPPJRGQF.js";
9
+ } from "./chunk-QLNGHVRT.js";
10
+ import "./chunk-7THIX4WW.js";
11
+ import "./chunk-EURJVJQY.js";
12
+ import "./chunk-F7LXMR73.js";
13
13
  export {
14
14
  TABLE_OUTPUT_FORMATS,
15
15
  outputFormatRefusal,
@@ -19,4 +19,4 @@ export {
19
19
  writeAdsOutput,
20
20
  writeJsonEnvelope
21
21
  };
22
- //# sourceMappingURL=output-T4MY3I56.js.map
22
+ //# sourceMappingURL=output-CW4JBWIM.js.map
@@ -9,11 +9,11 @@ import {
9
9
  resolveEffectiveStatus,
10
10
  statusFilterHints,
11
11
  todayIso
12
- } from "./chunk-4JBT2CSW.js";
13
- import "./chunk-YBJ7KJNA.js";
14
- import "./chunk-X46KRGZU.js";
15
- import "./chunk-LDS7LUKK.js";
16
- import "./chunk-SPPJRGQF.js";
12
+ } from "./chunk-VNROEZTR.js";
13
+ import "./chunk-QLNGHVRT.js";
14
+ import "./chunk-7THIX4WW.js";
15
+ import "./chunk-EURJVJQY.js";
16
+ import "./chunk-F7LXMR73.js";
17
17
  export {
18
18
  NAME_CONTAINS_ARG,
19
19
  csvOrJson,
@@ -26,4 +26,4 @@ export {
26
26
  statusFilterHints,
27
27
  todayIso
28
28
  };
29
- //# sourceMappingURL=shared-RZMKZE4W.js.map
29
+ //# sourceMappingURL=shared-6I2TP4YQ.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koda-sl/baker-cli",
3
- "version": "0.433.0",
3
+ "version": "0.434.0-dev.2729b1413",
4
4
  "description": "AI-agent-first CLI for interacting with Baker, including the Baker creative canvas.",
5
5
  "type": "module",
6
6
  "bin": {