@koda-sl/baker-cli 0.359.0-dev.d2f320fd3 → 0.359.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 +4 -4
- package/canvas/avocado-tutorial.json +1 -1
- package/canvas/hello-world-overlay.json +1 -1
- package/dist/{chunk-K2IKLMCM.js → chunk-AI4HWQVN.js} +4 -4
- package/dist/chunk-AI4HWQVN.js.map +1 -0
- package/dist/cli.js +136 -149
- package/dist/cli.js.map +1 -1
- package/dist/engine/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-K2IKLMCM.js.map +0 -1
package/README.md
CHANGED
|
@@ -5292,7 +5292,7 @@ Every run gets its own directory:
|
|
|
5292
5292
|
- Naming: `<node_id>__<slot>[__<index>].<ext>`.
|
|
5293
5293
|
- `_final.<ext>` is a copy of whichever node the top-level `output` points at.
|
|
5294
5294
|
- `manifest.json` is what `baker canvas inspect` reads — duration, cache hit/miss, asset refs, errors.
|
|
5295
|
-
- Default root is
|
|
5295
|
+
- Default root is `./canvas/`. Override with `--outputs-dir`.
|
|
5296
5296
|
|
|
5297
5297
|
---
|
|
5298
5298
|
|
|
@@ -5304,7 +5304,7 @@ Cache key:
|
|
|
5304
5304
|
sha256(canonical({ node_id, node_version, params, input_hashes, cache_salt, extras }))
|
|
5305
5305
|
```
|
|
5306
5306
|
|
|
5307
|
-
- Entries live in
|
|
5307
|
+
- Entries live in `./canvas/.cache/` (index + content-addressed blobs).
|
|
5308
5308
|
- Cache hits re-materialize asset files into the new run dir instantly; misses execute the node and write a new entry atomically.
|
|
5309
5309
|
- `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.
|
|
5310
5310
|
- 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.
|
|
@@ -5399,8 +5399,8 @@ Validate, then execute the graph. Blocks until done. Logs one line per node. Ret
|
|
|
5399
5399
|
|
|
5400
5400
|
| Flag | Default | Effect |
|
|
5401
5401
|
|---|---|---|
|
|
5402
|
-
| `--cache-dir <path>` |
|
|
5403
|
-
| `--outputs-dir <path>` |
|
|
5402
|
+
| `--cache-dir <path>` | `./canvas/.cache` | Where content-addressed bytes + cache index live. |
|
|
5403
|
+
| `--outputs-dir <path>` | `./canvas` | Root for per-run output directories. |
|
|
5404
5404
|
| `--run-id <id>` | auto ULID | Override the generated run id. |
|
|
5405
5405
|
| `--cache-policy <policy>` | `read_write` | `read_write`, `bypass`, or `read_only`. |
|
|
5406
5406
|
| `--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": "./tiktok-captions-composition",
|
|
77
|
+
"composition": "./packages/cli/canvas/tiktok-captions-composition",
|
|
78
78
|
"words_per_group": 3,
|
|
79
79
|
"font_size": 72,
|
|
80
80
|
"text_color": "#ffffff",
|
|
@@ -20,9 +20,9 @@ import {
|
|
|
20
20
|
shouldEscalate
|
|
21
21
|
} from "./chunk-2OKSJNLA.js";
|
|
22
22
|
|
|
23
|
-
//
|
|
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
|
-
"
|
|
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
|
-
//
|
|
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-
|
|
9907
|
+
//# sourceMappingURL=chunk-AI4HWQVN.js.map
|