@koda-sl/baker-cli 0.353.0-dev.afbf521d7 → 0.353.0-dev.df03f88fe

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 CHANGED
@@ -2536,6 +2536,16 @@ baker images extract https://example.com --wait-for 1500 --limit 20
2536
2536
 
2537
2537
  Every image extracted from a page shares the scraped-page URL as `externalUrl`. Big pages can return 100+ images — cap auto-ingest at 20.
2538
2538
 
2539
+ A failed extract says which kind of failure it was, with `retryable` and a `fix`:
2540
+
2541
+ | Code | Meaning | Next move |
2542
+ |------|---------|-----------|
2543
+ | `UNAVAILABLE` | The page reader did not answer or timed out just now | Retry once, then fall back |
2544
+ | `VALIDATION_ERROR` | The page itself refused (e.g. HTTP 404) or is too large to read | Do not retry; fall back |
2545
+ | `INTERNAL_ERROR` | A fault on Baker's side | Do not retry; fall back |
2546
+
2547
+ The fallback is `baker images screenshot <url>` for the page as one image, or `baker images logo <domain>` for the brand's mark. A `503` from any command now maps to `UNAVAILABLE` instead of `INTERNAL_ERROR`.
2548
+
2539
2549
  **Flags:**
2540
2550
 
2541
2551
  | Flag | Description |
@@ -3875,17 +3885,12 @@ baker canvas validate my-canvas.json
3875
3885
  # or the same ad rendered once per aspect ratio instead of one hero + a terminal
3876
3886
  # image_aspect_adapt (IMAGE_PARALLEL_FORMAT_RENDERS — separate renders drift in type,
3877
3887
  # crop, and color, so the sizes stop matching).
3878
- # A generator prompt is measured with its {{slots}} filled from text nodes and local
3879
- # prompt.json/text ingests: past the model's character cap it is refused as
3880
- # PROMPT_OVER_MODEL_LIMIT, naming the node and the overshoot, before anything bills.
3881
3888
 
3882
3889
  # 2. Run (executes nodes, writes files to ./canvas/<run_id>/)
3883
3890
  baker canvas run my-canvas.json
3884
3891
  # Advisory warnings print as `[warn] <CODE>: …` before anything bills.
3885
3892
  # Only nodes reachable from the declared output execute (orphaned nodes are skipped,
3886
3893
  # not billed). Add --keep-runs N to prune old r_* run dirs, keeping the N newest.
3887
- # A failed run reports `error.code: "input_invalid"` when the backend refused a node's
3888
- # own input (it fails the same way until the input changes), `"runtime"` otherwise.
3889
3894
 
3890
3895
  # 2b. Independent nodes ALREADY fan out in parallel — every node in the same
3891
3896
  # topological layer (e.g. all the per-clip video_generate nodes) runs concurrently