@koda-sl/baker-cli 0.139.0-dev.da48e17cb → 0.139.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 +3 -15
- package/dist/{chunk-TXNOPO6P.js → chunk-TAGQCU36.js} +4 -4
- package/dist/chunk-TAGQCU36.js.map +1 -0
- package/dist/cli.js +214 -1213
- package/dist/cli.js.map +1 -1
- package/dist/engine/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-TXNOPO6P.js.map +0 -1
package/README.md
CHANGED
|
@@ -672,6 +672,7 @@ baker ads meta campaigns create --account-id act_123 --name "Q3 Prospecting" -
|
|
|
672
672
|
baker ads meta adsets create --account-id act_123 --campaign meta_temp_camp --name "US 25-54" \
|
|
673
673
|
--optimization-goal OFFSITE_CONVERSIONS --billing-event IMPRESSIONS --pixel-id 111 --custom-event-type LEAD \
|
|
674
674
|
--targeting-file targeting.json # → meta_temp_as
|
|
675
|
+
# lead-form goals (LEAD_GENERATION / QUALITY_LEAD) and PAGE_LIKES require --page-id (the Facebook Page), else Meta rejects the ad set
|
|
675
676
|
baker ads meta creatives create --account-id act_123 --page 555 --instagram-user 777 \
|
|
676
677
|
--message "Save money on pet insurance" --link https://example.com --headline "Best cover" \
|
|
677
678
|
--image-ref meta_temp_img --cta SHOP_NOW --standard-enhancements on # → meta_temp_cr
|
|
@@ -2462,6 +2463,8 @@ baker actions create --name "Build hero" --priority high --tags landing,creative
|
|
|
2462
2463
|
# If no --priority is passed, create emits a MISSING --priority hint — the action ranks as normal/medium in the do-first order.
|
|
2463
2464
|
baker actions update <action-id> --name "Better name" --tags google-ads,strategy # --tags REPLACES the set; '' clears
|
|
2464
2465
|
baker actions update <action-id> --priority urgent # urgent|high|medium|low; 'none' clears
|
|
2466
|
+
baker actions update <tempId> --description "..." # a tempId from `create` in THIS chat edits the still-staged task in place
|
|
2467
|
+
# ...folds into the staged create op — flesh out a task you just created instead of removing and recreating it
|
|
2465
2468
|
baker actions complete <action-id-or-tempId> --note "What was done" # stages — applies on chat publish
|
|
2466
2469
|
# --note is REQUIRED (≥20 chars): what changed, where, and the outcome. It is the durable, client-facing
|
|
2467
2470
|
# record surfaced by `baker actions log`. A missing/too-short note is rejected with a VALIDATION_ERROR.
|
|
@@ -4620,21 +4623,6 @@ baker creatives publish ./canvas/<run_id>/<final>.png --title "Spring Offer 4x5"
|
|
|
4620
4623
|
|
|
4621
4624
|
Without `--slug` the command behaves as before (one creative record per published image). With `--slug` it upserts the repo-convention row — the same one the dashboard's Creatives tab and the `src/creatives/{slug}/` folder describe — so publish, repo sync, and run history all land on a single record regardless of order.
|
|
4622
4625
|
|
|
4623
|
-
## Landing Quality (`baker landing`)
|
|
4624
|
-
|
|
4625
|
-
Deterministic design-quality critic for landing pages — an offline, no-LLM detector for the well-known "AI slop" tells (gradient text, overused fonts like Inter, side-tab colored borders, cream/parchment grounds, purple-on-heading palettes, buzzword copy, broken images, and more). It scores a landing's `.astro` source and returns findings tiered **block / warn / advisory**.
|
|
4626
|
-
|
|
4627
|
-
```bash
|
|
4628
|
-
baker landing critique spring-offer # score src/pages/spring-offer/
|
|
4629
|
-
baker landing critique spring-offer --full # also print advisory-tier findings
|
|
4630
|
-
```
|
|
4631
|
-
|
|
4632
|
-
- **Advisory by design — always exits 0.** A finding is guidance, not a gate; the command never blocks a build or publish.
|
|
4633
|
-
- **BRAND.md is the allowlist.** A font, hue, or ground that the client's `src/brand/BRAND.md` (mirrored into `src/styles/global.css` `@theme`) commits is a decision, not a tell — matched values downgrade to advisory `brandDrift` so the critic never fights a real brand.
|
|
4634
|
-
- **Records a freshness snapshot** to `.cache/landing-critique/<slug>.json` (the source hash it scored). The publish quality gate reads it to enforce that every changed landing was critiqued and ships no block-tier tell. Re-run after edits so the snapshot stays fresh.
|
|
4635
|
-
|
|
4636
|
-
Output is a JSON envelope: `{ ok, advisory, slug, overall, counts, dimensions, findings, hint }`. `dimensions` scores seven design families (typography, color, borders_depth, motion, spacing, copy, integrity) 0–1 (higher is better); `counts` is the block/warn/advisory tally.
|
|
4637
|
-
|
|
4638
4626
|
## Help & Discovery
|
|
4639
4627
|
|
|
4640
4628
|
Every command supports `--help` for usage info:
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
__toESM
|
|
8
8
|
} from "./chunk-RK67WL4O.js";
|
|
9
9
|
|
|
10
|
-
//
|
|
10
|
+
// ../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/index.js
|
|
11
11
|
var require_safe_stable_stringify = __commonJS({
|
|
12
|
-
"
|
|
12
|
+
"../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/index.js"(exports, module) {
|
|
13
13
|
"use strict";
|
|
14
14
|
var { hasOwnProperty } = Object.prototype;
|
|
15
15
|
var stringify = configure2();
|
|
@@ -1070,7 +1070,7 @@ function resolveAdaptFormats(params) {
|
|
|
1070
1070
|
return params.formats ?? [];
|
|
1071
1071
|
}
|
|
1072
1072
|
|
|
1073
|
-
//
|
|
1073
|
+
// ../../node_modules/.pnpm/safe-stable-stringify@2.5.0/node_modules/safe-stable-stringify/esm/wrapper.js
|
|
1074
1074
|
var import__ = __toESM(require_safe_stable_stringify(), 1);
|
|
1075
1075
|
var configure = import__.default.configure;
|
|
1076
1076
|
var wrapper_default = import__.default;
|
|
@@ -7837,4 +7837,4 @@ export {
|
|
|
7837
7837
|
defaultRegistry,
|
|
7838
7838
|
createEngineFromEnv
|
|
7839
7839
|
};
|
|
7840
|
-
//# sourceMappingURL=chunk-
|
|
7840
|
+
//# sourceMappingURL=chunk-TAGQCU36.js.map
|