@koda-sl/baker-cli 0.406.0 → 0.407.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/README.md +21 -45
- package/dist/{chunk-YOF4XTUW.js → chunk-KMCVSEGU.js} +22 -68
- package/dist/chunk-KMCVSEGU.js.map +1 -0
- package/dist/cli.js +1621 -2481
- package/dist/cli.js.map +1 -1
- package/dist/engine/index.d.ts +1 -19
- package/dist/engine/index.js +1 -1
- package/package.json +1 -1
- package/canvas/static-ad-composition/index.html +0 -816
- package/canvas/static-ad-composition/meta.json +0 -54
- package/dist/chunk-YOF4XTUW.js.map +0 -1
package/dist/engine/index.d.ts
CHANGED
|
@@ -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
|
|
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. */
|
package/dist/engine/index.js
CHANGED