@koda-sl/baker-cli 0.201.0-dev.6e39c93b9 → 0.202.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 +3 -14
- package/dist/{chunk-N3PUPOWW.js → chunk-5MPIOGRO.js} +4 -4
- package/dist/chunk-5MPIOGRO.js.map +1 -0
- package/dist/cli.js +701 -701
- package/dist/cli.js.map +1 -1
- package/dist/engine/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-N3PUPOWW.js.map +0 -1
package/README.md
CHANGED
|
@@ -86,19 +86,8 @@ All commands return a JSON envelope:
|
|
|
86
86
|
|
|
87
87
|
// Dry-run
|
|
88
88
|
{ "ok": true, "dryRun": true, "operation": "images.delete", "params": { "id": "abc123" } }
|
|
89
|
-
|
|
90
|
-
// Unknown option — the command stops instead of running without it
|
|
91
|
-
{ "ok": false, "error": { "code": "UNKNOWN_ARGUMENT", "message": "--dimension-filter is not an option of `baker ga4 query`.", "fix": { "action": "check_schema", "explanation": "Did you mean --dimensions? Run `baker schema ga4 query` ..." }, "retryable": false } }
|
|
92
89
|
```
|
|
93
90
|
|
|
94
|
-
### Unknown options are refused
|
|
95
|
-
|
|
96
|
-
An option a command does not declare stops the run with `UNKNOWN_ARGUMENT`, naming the
|
|
97
|
-
closest real one. Previously such an option was accepted and ignored, so a call that
|
|
98
|
-
looked like it had filtered or narrowed a result was in fact answering the unfiltered
|
|
99
|
-
question — and nothing in the output said so. Run `baker schema <command>` to see
|
|
100
|
-
every option a command takes.
|
|
101
|
-
|
|
102
91
|
Use `--output` to change format:
|
|
103
92
|
|
|
104
93
|
| Format | Description | Best for | Available on |
|
|
@@ -2808,8 +2797,8 @@ baker actions create --name "Build hero" --priority high --tags landing,creative
|
|
|
2808
2797
|
# surface — doing the work is the default, an action is the exception. One advisory hint per call: the
|
|
2809
2798
|
# scheduled redirect wins when both match.
|
|
2810
2799
|
# `draftCreateCount` is how many creates this chat has staged (counted after this op, so it drops again
|
|
2811
|
-
# after `draft remove`). At
|
|
2812
|
-
# that touch the same system into one.
|
|
2800
|
+
# after `draft remove`). At exactly 2, create emits a one-line merge nudge; at 3 or more it emits the
|
|
2801
|
+
# fuller fan-out hint: re-read the draft and merge actions that touch the same system into one.
|
|
2813
2802
|
# If no --tags are passed, create emits a MISSING --tags hint — the action is invisible to the backlog's tag filter.
|
|
2814
2803
|
# If no --priority is passed, create emits a MISSING --priority hint — the action ranks as normal/medium in the do-first order.
|
|
2815
2804
|
baker actions update <action-id> --name "Better name" --tags google-ads,strategy # --tags REPLACES the set; '' clears
|
|
@@ -5291,7 +5280,7 @@ baker landing inspiration scrape <url> --out <dir> # capture any page now, syn
|
|
|
5291
5280
|
```
|
|
5292
5281
|
|
|
5293
5282
|
- **Hybrid search over three signals** — keywords, meaning, and *appearance* (the screenshot is embedded, so a query like "dark developer hero with a terminal" can match a section whose text never says "terminal"). Filters: `--type --composition --register --interaction --motion --media --device --theme --max-rank --min-craft --min-fidelity --domain --similar-to --scope --limit`.
|
|
5294
|
-
- **Screenshots are downloaded to `.baker/inspiration/`** so an agent can actually look at a result rather than read a description of it.
|
|
5283
|
+
- **Screenshots are downloaded to `.baker/inspiration/`** so an agent can actually look at a result rather than read a description of it — downscaled to the page's own design width (1440px, WebP) rather than the 2x archive capture R2 holds. A vision model bills by pixel area and downsamples past its own long-edge cap anyway, so the extra resolution bought no legibility and cost context on every one of the eight hits a default search returns.
|
|
5295
5284
|
- **`fidelity` says how much to trust the code.** A measured 0–1 match between the live section and our standalone re-render, always reported. Above ~0.95 the markup renders like the original; below ~0.75 the section is scroll- or JS-driven and it does not.
|
|
5296
5285
|
- **`used_on_pages`** appears when a section shows up on more than one of that site's pages — a nav or footer they ship everywhere, which is a stronger reference than a one-off.
|
|
5297
5286
|
- **The corpus is shared across companies; favorites are per-company**, and search defaults to this company's saved sections.
|
|
@@ -15,9 +15,9 @@ import {
|
|
|
15
15
|
shouldEscalate
|
|
16
16
|
} from "./chunk-6NZG2TCM.js";
|
|
17
17
|
|
|
18
|
-
//
|
|
18
|
+
// ../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/index.js
|
|
19
19
|
var require_safe_stable_stringify = __commonJS({
|
|
20
|
-
"
|
|
20
|
+
"../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/index.js"(exports, module) {
|
|
21
21
|
"use strict";
|
|
22
22
|
var { hasOwnProperty } = Object.prototype;
|
|
23
23
|
var stringify = configure2();
|
|
@@ -1091,7 +1091,7 @@ function resolveAdaptFormats(params) {
|
|
|
1091
1091
|
return params.formats ?? [];
|
|
1092
1092
|
}
|
|
1093
1093
|
|
|
1094
|
-
//
|
|
1094
|
+
// ../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/esm/wrapper.js
|
|
1095
1095
|
var import__ = __toESM(require_safe_stable_stringify(), 1);
|
|
1096
1096
|
var configure = import__.default.configure;
|
|
1097
1097
|
var wrapper_default = import__.default;
|
|
@@ -8775,4 +8775,4 @@ export {
|
|
|
8775
8775
|
defaultRegistry,
|
|
8776
8776
|
createEngineFromEnv
|
|
8777
8777
|
};
|
|
8778
|
-
//# sourceMappingURL=chunk-
|
|
8778
|
+
//# sourceMappingURL=chunk-5MPIOGRO.js.map
|