@koda-sl/baker-cli 0.353.0-dev.8bdd8f915 → 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 |
@@ -5330,11 +5340,6 @@ and the canvas file is saved, before anything else reads it. `normalized_paths`
5330
5340
  wrote it, so validate, run, and the preview all pass, and only the publish build — a different checkout
5331
5341
  root, a different session — ever sees the break.
5332
5342
 
5333
- **A URL in an ingest's `path` is healed the same way.** A `source: "path"` ingest whose `path` is an
5334
- http(s) URL already runs as `source: "url"`; `validate` and `run` rewrite the file to say so
5335
- (`normalized_paths` lists it as `{ param: "source", from: "path", to: "url" }`), so the commit gate,
5336
- which reads the file, agrees with what rendered.
5337
-
5338
5343
  Two roots count as "this workspace": the current one, and `/home/user/repo` (`REPO_PATH`), the fixed path
5339
5344
  every Session's workspace is checked out at. A path under either names the same file in any checkout, so
5340
5345
  remapping it is a proof rather than a guess — which is what lets an already-committed canvas heal in the
@@ -9866,7 +9866,6 @@ export {
9866
9866
  isAudioOnly,
9867
9867
  durationSeconds,
9868
9868
  canonicalUrl,
9869
- coercePathUrlToUrl,
9870
9869
  toModelSafeImage,
9871
9870
  catalogView,
9872
9871
  BackendClient2,
@@ -9879,4 +9878,4 @@ export {
9879
9878
  defaultRegistry,
9880
9879
  createEngineFromEnv
9881
9880
  };
9882
- //# sourceMappingURL=chunk-YBLNCFK4.js.map
9881
+ //# sourceMappingURL=chunk-B7MLH3K6.js.map