@koda-sl/baker-cli 0.361.0-dev.abddfd7be → 0.361.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 CHANGED
@@ -3567,6 +3567,7 @@ See everything a chat can reach — managed integrations, custom servers, and co
3567
3567
  baker mcp connected
3568
3568
  baker mcp list
3569
3569
  baker mcp add --name weather --url https://mcp.example.com/mcp
3570
+ baker mcp add --name acme --url https://acme.dev/mcp --header "Authorization: Bearer sk-…"
3570
3571
  baker mcp add --name mine --url https://my.dev/mcp --scope user
3571
3572
  baker mcp remove --name weather
3572
3573
  ```
@@ -3578,7 +3579,7 @@ baker mcp remove --name weather
3578
3579
  - `--scope org` — everyone across the org; needs an admin API key.
3579
3580
  - `--scope user` — only you, in this company; binds to the current message sender (requires a chat turn — the bridge supplies the sender via `BAKER_ACTING_USER_ID`).
3580
3581
  - `--scope user_org` — only you, across every company in the org; also binds to the sender (no admin needed — it only affects your own turns).
3581
- - Repeat `--header "Key: Value"` for extra request headers. Never pass a key, token or password with it, and never ask the user for one in chat: a server that needs a key is added by the user in the dashboard (Brain → Integrations → MCPs → Add custom server), where the model never sees it. Header values are stored server-side and ride the MCP transport — `list` returns only the header keys, never the values.
3582
+ - 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.
3582
3583
 
3583
3584
  ---
3584
3585
 
@@ -5301,7 +5302,7 @@ Every run gets its own directory:
5301
5302
  - Naming: `<node_id>__<slot>[__<index>].<ext>`.
5302
5303
  - `_final.<ext>` is a copy of whichever node the top-level `output` points at.
5303
5304
  - `manifest.json` is what `baker canvas inspect` reads — duration, cache hit/miss, asset refs, errors.
5304
- - Default root is `./canvas/`. Override with `--outputs-dir`.
5305
+ - Default root is `canvas/` at the workspace root (the nearest folder with a `package.json` above the canvas file), whichever directory you run from. Override with `--outputs-dir`.
5305
5306
 
5306
5307
  ---
5307
5308
 
@@ -5313,7 +5314,7 @@ Cache key:
5313
5314
  sha256(canonical({ node_id, node_version, params, input_hashes, cache_salt, extras }))
5314
5315
  ```
5315
5316
 
5316
- - Entries live in `./canvas/.cache/` (index + content-addressed blobs).
5317
+ - Entries live in `canvas/.cache/` at the workspace root (index + content-addressed blobs).
5317
5318
  - Cache hits re-materialize asset files into the new run dir instantly; misses execute the node and write a new entry atomically.
5318
5319
  - `hyperframe_*` folds a recursive sha256 of the composition directory into `extras` — edit any file in `my-composition/` and the cache busts automatically. No version bump needed.
5319
5320
  - If computing `extras` fails (e.g. the composition directory is unreadable), the node fails with that error — it never falls back to a partial cache key, so stale results can't be served silently.
@@ -5408,8 +5409,8 @@ Validate, then execute the graph. Blocks until done. Logs one line per node. Ret
5408
5409
 
5409
5410
  | Flag | Default | Effect |
5410
5411
  |---|---|---|
5411
- | `--cache-dir <path>` | `./canvas/.cache` | Where content-addressed bytes + cache index live. |
5412
- | `--outputs-dir <path>` | `./canvas` | Root for per-run output directories. |
5412
+ | `--cache-dir <path>` | `<workspace root>/canvas/.cache` | Where content-addressed bytes + cache index live. |
5413
+ | `--outputs-dir <path>` | `<workspace root>/canvas` | Root for per-run output directories. |
5413
5414
  | `--run-id <id>` | auto ULID | Override the generated run id. |
5414
5415
  | `--cache-policy <policy>` | `read_write` | `read_write`, `bypass`, or `read_only`. |
5415
5416
  | `--concurrency <n>` | `5` (or `BAKER_CANVAS_CONCURRENCY`) | Max nodes executing at once within a layer. |
@@ -74,7 +74,7 @@
74
74
  "transcript": "$ref:transcribe.transcript"
75
75
  },
76
76
  "params": {
77
- "composition": "./packages/cli/canvas/tiktok-captions-composition",
77
+ "composition": "./tiktok-captions-composition",
78
78
  "words_per_group": 3,
79
79
  "font_size": 72,
80
80
  "text_color": "#ffffff",
@@ -22,7 +22,7 @@
22
22
  "background": "$ref:person_image.images#0"
23
23
  },
24
24
  "params": {
25
- "composition": "./packages/cli/canvas/hello-world-composition",
25
+ "composition": "./hello-world-composition",
26
26
  "text": "HELLO WORLD!!",
27
27
  "font_size": 128,
28
28
  "text_color": "#ffffff",
@@ -20,9 +20,9 @@ import {
20
20
  shouldEscalate
21
21
  } from "./chunk-2OKSJNLA.js";
22
22
 
23
- // ../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/766ad107c42df28eeadaf0ac2f9089c8a9e200f6ba0b2b1a817b8d536cbdcc49/node_modules/safe-stable-stringify/index.js
23
+ // ../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/index.js
24
24
  var require_safe_stable_stringify = __commonJS({
25
- "../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/766ad107c42df28eeadaf0ac2f9089c8a9e200f6ba0b2b1a817b8d536cbdcc49/node_modules/safe-stable-stringify/index.js"(exports, module) {
25
+ "../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/index.js"(exports, module) {
26
26
  "use strict";
27
27
  var { hasOwnProperty } = Object.prototype;
28
28
  var stringify = configure2();
@@ -1114,7 +1114,7 @@ function resolveAdaptFormats(params) {
1114
1114
  return params.formats ?? [];
1115
1115
  }
1116
1116
 
1117
- // ../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/766ad107c42df28eeadaf0ac2f9089c8a9e200f6ba0b2b1a817b8d536cbdcc49/node_modules/safe-stable-stringify/esm/wrapper.js
1117
+ // ../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/esm/wrapper.js
1118
1118
  var import__ = __toESM(require_safe_stable_stringify(), 1);
1119
1119
  var configure = import__.default.configure;
1120
1120
  var wrapper_default = import__.default;
@@ -9904,4 +9904,4 @@ export {
9904
9904
  defaultRegistry,
9905
9905
  createEngineFromEnv
9906
9906
  };
9907
- //# sourceMappingURL=chunk-K2IKLMCM.js.map
9907
+ //# sourceMappingURL=chunk-AI4HWQVN.js.map