@koda-sl/baker-cli 0.181.1 → 0.182.0-dev.c8185c1b5
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 +28 -1
- package/dist/{chunk-RWHEFQXI.js → chunk-UZ37VVP4.js} +4 -4
- package/dist/chunk-UZ37VVP4.js.map +1 -0
- package/dist/cli.js +2644 -258
- package/dist/cli.js.map +1 -1
- package/dist/engine/index.js +1 -1
- package/package.json +2 -1
- package/dist/chunk-RWHEFQXI.js.map +0 -1
package/README.md
CHANGED
|
@@ -4976,6 +4976,31 @@ Without `--slug` the command behaves as before (one creative record per publishe
|
|
|
4976
4976
|
|
|
4977
4977
|
## Landing Quality (`baker landing`)
|
|
4978
4978
|
|
|
4979
|
+
Two tools that bracket a landing build: **`inspiration`** before you design (what does good look like here?) and **`critique`** after you build (did this settle into generic defaults?).
|
|
4980
|
+
|
|
4981
|
+
### `baker landing inspiration`
|
|
4982
|
+
|
|
4983
|
+
A searchable library of real landing-page sections. Each entry is one section of a real page: a screenshot, a standalone HTML+CSS reproduction with a measured fidelity score, a description of how it moves, and the transferable idea behind it — classified in the same vocabulary the landing skill teaches, so a hit is directly buildable.
|
|
4984
|
+
|
|
4985
|
+
```bash
|
|
4986
|
+
baker landing inspiration search "pricing with a monthly/annual toggle" --scope all
|
|
4987
|
+
baker landing inspiration view <section id> # full DNA + screenshots + motion filmstrip
|
|
4988
|
+
baker landing inspiration code <section id> # the standalone bundle
|
|
4989
|
+
baker landing inspiration page <source id> # a whole page as a section sequence
|
|
4990
|
+
baker landing inspiration add https://linear.app --note "client likes this density"
|
|
4991
|
+
baker landing inspiration favorites # what this company has saved
|
|
4992
|
+
baker landing inspiration scrape <url> --out <dir> # run the capture locally (ops/debug)
|
|
4993
|
+
```
|
|
4994
|
+
|
|
4995
|
+
- **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`.
|
|
4996
|
+
- **Screenshots are downloaded to `.baker/inspiration/`** so an agent can actually look at a result rather than read a description of it.
|
|
4997
|
+
- **`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.
|
|
4998
|
+
- **`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.
|
|
4999
|
+
- **The corpus is shared across companies; favorites are per-company**, and search defaults to this company's saved sections.
|
|
5000
|
+
- **Inspiration, never a clipboard.** `code` records what was consulted, and `critique`'s `originality` family blocks a publish that reuses a reference's headline, subhead, or CTA verbatim.
|
|
5001
|
+
|
|
5002
|
+
### `baker landing critique`
|
|
5003
|
+
|
|
4979
5004
|
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**.
|
|
4980
5005
|
|
|
4981
5006
|
```bash
|
|
@@ -4993,7 +5018,9 @@ baker landing critique spring-offer summer-offer claude # score three landings
|
|
|
4993
5018
|
|
|
4994
5019
|
- **Agent washing is a copy tell.** A page that claims autonomy ("fully autonomous", "while you sleep", "no human intervention") and never says anywhere what the buyer approves, overrides, or audits scores an `agent-washing` warn. One signal about oversight of the agent's actions — approval, review, override, undo/rollback, audit log, escalation — anywhere on the page clears it; the rule is page-scope precisely because the hero can defer the trust story to a section below it. Generic privacy boilerplate ("GDPR", "encrypted", "your data") deliberately does **not** clear it, since it appears in most footers and says nothing about who is in charge of the agent.
|
|
4995
5020
|
|
|
4996
|
-
|
|
5021
|
+
- **The `originality` family compares your copy against inspiration sections you actually consulted.** It fires only on sections opened with `baker landing inspiration code`, so it flags facts rather than resemblances. Reusing a reference's headline, subhead, or CTA verbatim is block-tier.
|
|
5022
|
+
|
|
5023
|
+
Output is the standard envelope `{ ok, data, hints }` with `data = { advisory, slug, overall, counts, dimensions, findings }`. `dimensions` scores eight design families (typography, color, borders_depth, motion, spacing, copy, integrity, originality) 0–1 (higher is better); `counts` is the block/warn/advisory tally.
|
|
4997
5024
|
|
|
4998
5025
|
## Brand Fonts (`baker brand fonts`)
|
|
4999
5026
|
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
__toESM
|
|
8
8
|
} from "./chunk-YL3HDEIJ.js";
|
|
9
9
|
|
|
10
|
-
//
|
|
10
|
+
// ../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/810146e81bae4e3a061fe487864f2fde80c4b03b886877dc0f1fffbc6480b67e/node_modules/safe-stable-stringify/index.js
|
|
11
11
|
var require_safe_stable_stringify = __commonJS({
|
|
12
|
-
"
|
|
12
|
+
"../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/810146e81bae4e3a061fe487864f2fde80c4b03b886877dc0f1fffbc6480b67e/node_modules/safe-stable-stringify/index.js"(exports, module) {
|
|
13
13
|
"use strict";
|
|
14
14
|
var { hasOwnProperty } = Object.prototype;
|
|
15
15
|
var stringify = configure2();
|
|
@@ -1075,7 +1075,7 @@ function resolveAdaptFormats(params) {
|
|
|
1075
1075
|
return params.formats ?? [];
|
|
1076
1076
|
}
|
|
1077
1077
|
|
|
1078
|
-
//
|
|
1078
|
+
// ../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/810146e81bae4e3a061fe487864f2fde80c4b03b886877dc0f1fffbc6480b67e/node_modules/safe-stable-stringify/esm/wrapper.js
|
|
1079
1079
|
var import__ = __toESM(require_safe_stable_stringify(), 1);
|
|
1080
1080
|
var configure = import__.default.configure;
|
|
1081
1081
|
var wrapper_default = import__.default;
|
|
@@ -8180,4 +8180,4 @@ export {
|
|
|
8180
8180
|
defaultRegistry,
|
|
8181
8181
|
createEngineFromEnv
|
|
8182
8182
|
};
|
|
8183
|
-
//# sourceMappingURL=chunk-
|
|
8183
|
+
//# sourceMappingURL=chunk-UZ37VVP4.js.map
|