@koda-sl/baker-cli 0.406.0 → 0.408.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.
@@ -564,13 +564,6 @@ type RunOptions = {
564
564
  * for none of them twice.
565
565
  */
566
566
  stop_before_kinds?: ReadonlySet<string>;
567
- /**
568
- * Run only what is already paid for: before a layer dispatches, a billed node (one with a
569
- * credit estimate) that would miss the cache stops the run, so nothing in that layer is
570
- * billed. Raises `RunAbortedError("cache_only")`; the cached nodes before it stay done.
571
- * A static ad whose pictures are spent re-draws its copy this way (render-budget.ts).
572
- */
573
- billed_from_cache_only?: boolean;
574
567
  onProgress?: (event: RunProgressEvent) => void;
575
568
  };
576
569
  type EngineOptions = {
@@ -633,20 +626,9 @@ declare class Engine$1 {
633
626
  private executeOne;
634
627
  /**
635
628
  * Every reason a layer must not dispatch, checked before any of its nodes starts, so a stop
636
- * never leaves a layer half billed: a signal, the cost cap, a checkpoint, and a billed node
637
- * the cache cannot serve when the run is cache-only.
629
+ * never leaves a layer half billed: a signal, the cost cap and a checkpoint.
638
630
  */
639
631
  private assertLayerMayRun;
640
- /**
641
- * The billed nodes of a layer that would miss the cache, found before any of them runs:
642
- * each is prepared exactly as `executeOne` would (same inputs, params and cache key).
643
- *
644
- * `executeOne` prepares each node again when it runs, so a cache-only layer hydrates its
645
- * text slots and hashes its `cacheKeyExtras` twice. Deliberate: a re-draw's layers are
646
- * small, and threading this preparation into `executeOne` would couple the check to the
647
- * run path, where a stale preparation would bill the wrong key.
648
- */
649
- private billedMisses;
650
632
  /** A cache hit replayed as this node's result: its outputs written, and free. */
651
633
  private replayCached;
652
634
  /** Best-effort: a failed upload keeps the outputs local-only, never fails the node. */
@@ -8,7 +8,7 @@ import {
8
8
  defaultRegistry,
9
9
  generateCatalog,
10
10
  validateCanvasDeep
11
- } from "../chunk-YOF4XTUW.js";
11
+ } from "../chunk-KMCVSEGU.js";
12
12
  import "../chunk-5X5LUMVV.js";
13
13
  import "../chunk-N72QYDJY.js";
14
14
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koda-sl/baker-cli",
3
- "version": "0.406.0",
3
+ "version": "0.408.0",
4
4
  "description": "AI-agent-first CLI for interacting with Baker, including the Baker creative canvas.",
5
5
  "type": "module",
6
6
  "bin": {