@koda-sl/baker-cli 0.231.0 → 0.232.1
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 +9 -0
- package/dist/cli.js +657 -534
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2198,6 +2198,8 @@ baker images ingest https://img.freepik.com/free-photo/xyz.jpg --source magnific
|
|
|
2198
2198
|
baker images ingest https://acme.com/hero.png --source firecrawl --external-url https://acme.com/pricing --context "competitor pricing hero"
|
|
2199
2199
|
```
|
|
2200
2200
|
|
|
2201
|
+
`--source` is a closed set, validated before the request so a wrong value costs nothing: `uploaded`, `website`, `google_testimonial`, `trustpilot_testimonial`, `instagram`, `magnific`, `brandfetch`, `google_images`, `firecrawl`, `screenshotone`, `iconify`, `giphy`, `pinterest`, `ai_generated`, `layer_edit`. Use `website` for an asset pulled off a company's own site.
|
|
2202
|
+
|
|
2201
2203
|
Returns `{ imageId, deduped, contentHash }`. When `deduped: true`, an existing library row is returned — no new bytes are stored. Max ingest size 25MB.
|
|
2202
2204
|
|
|
2203
2205
|
**Flags:**
|
|
@@ -2404,8 +2406,11 @@ Width, height, aspect ratio, and format — read from the image header without f
|
|
|
2404
2406
|
```bash
|
|
2405
2407
|
baker images dimensions ./logo.png
|
|
2406
2408
|
baker images dimensions https://acme.com/hero.png
|
|
2409
|
+
baker images dimensions ./logo.png --output md --fields width,height
|
|
2407
2410
|
```
|
|
2408
2411
|
|
|
2412
|
+
Takes `--output json|md` and `--fields <a,b>` like the other image reads. As everywhere else in the CLI, `--fields` projects only the `md` and `files` formats — the default `json` output always returns the whole envelope.
|
|
2413
|
+
|
|
2409
2414
|
Response:
|
|
2410
2415
|
|
|
2411
2416
|
```json
|
|
@@ -2980,6 +2985,7 @@ baker actions list # default: bucketed (claimable, myCla
|
|
|
2980
2985
|
# then most recent. The `blocked` bucket is ordered closest-to-ready first.
|
|
2981
2986
|
baker actions list --bucketed=false --status pending
|
|
2982
2987
|
baker actions list --bucketed=false --sort priority # flat list, do-first order (default); use --sort recent for newest-first
|
|
2988
|
+
baker actions list --output md # id-first Markdown; works for both the bucketed and flat shapes
|
|
2983
2989
|
# With BAKER_CHAT_ID, the bucketed list folds in THIS chat's draft: staged creates appear in
|
|
2984
2990
|
# `draftCreates`; published actions being completed/discarded/updated carry a `draftStatus` marker.
|
|
2985
2991
|
# Only the caller's own chat draft is reflected — never another chat's staged work.
|
|
@@ -3000,6 +3006,9 @@ baker actions release <action-id>
|
|
|
3000
3006
|
|
|
3001
3007
|
baker actions create --name "Build hero" --priority high --tags landing,creative --description "..."
|
|
3002
3008
|
# → returns { ok, data: { tempId, draftCreateCount }, hints: [...] } — check hints for tags/priority/dependencies/description reminders
|
|
3009
|
+
# --temp-id is optional; use the returned tempId. A custom one must start with `temp_`
|
|
3010
|
+
# (temp_hero_copy, not hero_copy) and is rejected with a VALIDATION_ERROR otherwise — the prefix is
|
|
3011
|
+
# what tells a task staged in this chat apart from a published action id in link/update/complete/draft remove.
|
|
3003
3012
|
# If the name/description reads as recurring or future-dated (e.g. "weekly", "every Monday", "schedule"),
|
|
3004
3013
|
# create emits a hint to use `baker scheduled-actions create` instead of a Work Action.
|
|
3005
3014
|
# If it instead names work a surface executes in-chat (a GTM container change, a site tag, an ad-platform
|