@koda-sl/baker-cli 0.111.0 → 0.112.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 CHANGED
@@ -2487,6 +2487,24 @@ Permissions enforced server-side:
2487
2487
 
2488
2488
  ---
2489
2489
 
2490
+ ### `baker mcp list | add | remove`
2491
+
2492
+ Manage **custom MCP servers** — point the agent at any remote HTTPS MCP endpoint. Registered tools appear as `mcp__<name>__*` on the next chat message.
2493
+
2494
+ ```bash
2495
+ baker mcp list
2496
+ baker mcp add --name weather --url https://mcp.example.com/mcp
2497
+ baker mcp add --name acme --url https://acme.dev/mcp --header "Authorization: Bearer sk-…"
2498
+ baker mcp add --name mine --url https://my.dev/mcp --scope user
2499
+ baker mcp remove --name weather
2500
+ ```
2501
+
2502
+ - `--url` must be HTTPS and public; loopback / private / cloud-metadata hosts are rejected.
2503
+ - `--scope company` (default) shares with every chat in the company; `--scope org` needs an admin API key; `--scope user` binds to the current message sender (requires running inside a chat turn — the bridge supplies the sender via `BAKER_ACTING_USER_ID`).
2504
+ - Repeat `--header "Key: Value"` for multiple auth headers. Header values are stored server-side and ride the MCP transport — `list` returns only the header keys, never the values.
2505
+
2506
+ ---
2507
+
2490
2508
  ### `baker schema [command]`
2491
2509
 
2492
2510
  Inspect command argument schemas for AI agent introspection.
@@ -3822,6 +3840,8 @@ The two scaffold passes are billed (the full `video_deconstruct` is the heavy on
3822
3840
 
3823
3841
  #### `baker canvas scaffold-static-ad <image> [flags]`
3824
3842
 
3843
+ `<image>` is a **local path or an `http(s)` URL** (e.g. a presigned S3 link from ad-dna). A URL is passed straight into the `original` ingest node as `source: "url"` — do not `curl` it to a file first. Note a presigned URL embedded in the emitted canvas will **expire** (the `original` node is composition-only, so a later re-run just skips it); pass a stable URL or a local file if you need the canvas to stay runnable. For the URL case, `--out` defaults to the current directory — pass `--out` to scaffold two URL sources into distinct files, or the second run overwrites the first.
3844
+
3825
3845
  Turn a source/inspiration image into a **runnable, self-validated static-ad canvas** — the static counterpart of `scaffold-video`. Like the video scaffold, this runs **billed Gemini passes** up front:
3826
3846
 
3827
3847
  1. **`image_describe`** (`~google/gemini-pro-latest`) — reverse-engineers the image into a blueprint JSON, written next to the canvas as **`prompt.json`**. This is the editable "prompt": you rewrite it by hand into the ad you want (palette, copy, claims, subjects). It feeds the generator directly — there is **no automatic brand-transform step**. The blueprint also names the **`winning_mechanisms`** — the special sauce that makes the ad a candidate winner, each tagged `kind` (verbal: rhyme/pun/rhythm; visual: unexpected crop, visual gag, juxtaposition, pattern interrupt, before/after; structural: hook order/reveal) with a `device` and `why_it_works` — so your rewrite rebuilds the mechanism that makes the ad win instead of adapting only the surface and losing it.
@@ -3841,7 +3861,7 @@ baker canvas run ./static-ad.canvas.json
3841
3861
  | Flag | Default | Effect |
3842
3862
  |---|---|---|
3843
3863
  | `--context <text>` | — | Known provenance (advertiser, category, market) to ground the describe. |
3844
- | `--out <path>` | `<image-dir>/static-ad.canvas.json` | Where to write the canvas (`prompt.json` is written alongside). |
3864
+ | `--out <path>` | `<image-dir>/static-ad.canvas.json` (cwd when `<image>` is a URL) | Where to write the canvas (`prompt.json` is written alongside). |
3845
3865
  | `--describe-model <id>` | registry default (`~google/gemini-pro-latest`) | Override the `image_describe` model. |
3846
3866
  | `--select-model <id>` | registry default (`~google/gemini-flash-latest`) | Override the element-selection `text_generate` model. |
3847
3867
  | `--layout-model <id>` | registry default (`~google/gemini-flash-latest`) | Override the global-layout `text_generate` model. |