@koda-sl/baker-cli 0.399.0 → 0.400.0-dev.4f17e202b
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 +2 -2
- package/dist/{chunk-EEHNRAFA.js → chunk-3ZN2DUBU.js} +4 -4
- package/dist/{chunk-ZWMATKNS.js → chunk-5X5LUMVV.js} +2 -2
- package/dist/{chunk-LHJ5IXBN.js → chunk-KXJ2FND2.js} +6 -6
- package/dist/chunk-KXJ2FND2.js.map +1 -0
- package/dist/{chunk-BRIJ4OWT.js → chunk-N72QYDJY.js} +33 -5
- package/dist/{chunk-BRIJ4OWT.js.map → chunk-N72QYDJY.js.map} +1 -1
- package/dist/{chunk-Q7RQ3H6Y.js → chunk-WQE4SRLY.js} +3 -3
- package/dist/{chunk-QP7637HG.js → chunk-X37GPJ54.js} +3 -3
- package/dist/cli.js +226 -187
- package/dist/cli.js.map +1 -1
- package/dist/{client-4P6U75EX.js → client-BPKOHQWA.js} +4 -4
- package/dist/engine/index.js +3 -3
- package/dist/{env-LJHSZSNA.js → env-B7V77K6K.js} +2 -2
- package/dist/{output-HVBFJX4I.js → output-5M2QPMKZ.js} +5 -5
- package/dist/{shared-7ZEF4DIX.js → shared-OEQKSDWO.js} +6 -6
- package/package.json +1 -1
- package/dist/chunk-LHJ5IXBN.js.map +0 -1
- /package/dist/{chunk-EEHNRAFA.js.map → chunk-3ZN2DUBU.js.map} +0 -0
- /package/dist/{chunk-ZWMATKNS.js.map → chunk-5X5LUMVV.js.map} +0 -0
- /package/dist/{chunk-Q7RQ3H6Y.js.map → chunk-WQE4SRLY.js.map} +0 -0
- /package/dist/{chunk-QP7637HG.js.map → chunk-X37GPJ54.js.map} +0 -0
- /package/dist/{client-4P6U75EX.js.map → client-BPKOHQWA.js.map} +0 -0
- /package/dist/{env-LJHSZSNA.js.map → env-B7V77K6K.js.map} +0 -0
- /package/dist/{output-HVBFJX4I.js.map → output-5M2QPMKZ.js.map} +0 -0
- /package/dist/{shared-7ZEF4DIX.js.map → shared-OEQKSDWO.js.map} +0 -0
package/README.md
CHANGED
|
@@ -3338,11 +3338,11 @@ baker winning-ads winners adv_123 --top 15 --output md
|
|
|
3338
3338
|
|
|
3339
3339
|
### `baker winning-ads content <ad-id>`
|
|
3340
3340
|
|
|
3341
|
-
Read what's **inside** one ad → `GET /api/ad-library/ad-content`. `search`/`winners`/`feed` return a lean shortlist; this opens a single `ad_id` so you can understand a reference before reproducing it. For a **video** it returns the spoken `transcript`, the `on_screen_text` overlays, and the ad `copy` (`primary_text`/`headline`/`cta`)
|
|
3341
|
+
Read what's **inside** one ad → `GET /api/ad-library/ad-content`. `search`/`winners`/`feed` return a lean shortlist; this opens a single `ad_id` so you can understand a reference before reproducing it. For a **video** it returns the spoken `transcript`, the `on_screen_text` overlays, and the ad `copy` (`primary_text`/`headline`/`cta`). A **static** or **carousel** ad returns the text drawn into the image, each line led by its job and card (`card 2 · headline: …`), plus its `format_pattern`. Add `--full` for how the ad is built (composition, colours, CTA drawn in the image, markers such as price tags or badges), how it persuades (awareness stage, mechanism, pain points, desires, value props, proof, objections handled), what it offers (offer type, pricing, entry price, guarantee, urgency, bonus), and for video its speech, pacing, soundtrack and each overlay's role + position (e.g. `GLOBAL PAYROLL @0.5s [hook, top]`). Fields the ad does not carry are left out. `--platform meta|linkedin|tiktok` selects which platform the id is on (default `meta`).
|
|
3342
3342
|
|
|
3343
3343
|
```bash
|
|
3344
3344
|
baker winning-ads content adg_123 # transcript + on-screen text + copy
|
|
3345
|
-
baker winning-ads content adg_123 --platform meta --full # +
|
|
3345
|
+
baker winning-ads content adg_123 --platform meta --full # + build, persuasion, offer, video speech/pacing/soundtrack
|
|
3346
3346
|
baker winning-ads content adg_123 --full --output md
|
|
3347
3347
|
```
|
|
3348
3348
|
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
handleConnectionError,
|
|
3
3
|
needsConnectionFix,
|
|
4
4
|
writeAdsJson
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-X37GPJ54.js";
|
|
6
6
|
import {
|
|
7
7
|
ApiError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WQE4SRLY.js";
|
|
9
9
|
import {
|
|
10
10
|
getEnv
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-N72QYDJY.js";
|
|
12
12
|
|
|
13
13
|
// src/commands/ads/meta/shared.ts
|
|
14
14
|
var DAY_MS = 864e5;
|
|
@@ -133,4 +133,4 @@ export {
|
|
|
133
133
|
resolveEffectiveStatus,
|
|
134
134
|
statusFilterHints
|
|
135
135
|
};
|
|
136
|
-
//# sourceMappingURL=chunk-
|
|
136
|
+
//# sourceMappingURL=chunk-3ZN2DUBU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
debugLogSetting
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-N72QYDJY.js";
|
|
4
4
|
|
|
5
5
|
// src/debugLog.ts
|
|
6
6
|
import { appendFileSync, mkdirSync, renameSync, statSync } from "fs";
|
|
@@ -173,4 +173,4 @@ export {
|
|
|
173
173
|
readBodyForLog,
|
|
174
174
|
installStreamTaps
|
|
175
175
|
};
|
|
176
|
-
//# sourceMappingURL=chunk-
|
|
176
|
+
//# sourceMappingURL=chunk-5X5LUMVV.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
debugLogHttp,
|
|
3
3
|
readBodyForLog
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5X5LUMVV.js";
|
|
5
5
|
import {
|
|
6
6
|
API_KEY_FORMAT_MESSAGE,
|
|
7
7
|
DIRECT_ROUTE,
|
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
refuseNonPublicUrl,
|
|
19
19
|
requireConnection,
|
|
20
20
|
shouldEscalate
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-N72QYDJY.js";
|
|
22
22
|
|
|
23
|
-
//
|
|
23
|
+
// ../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/509a695c9237c6e3727f1f1f99169917f329e3ff3f7877be290b684e24bf153d/node_modules/safe-stable-stringify/index.js
|
|
24
24
|
var require_safe_stable_stringify = __commonJS({
|
|
25
|
-
"
|
|
25
|
+
"../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/509a695c9237c6e3727f1f1f99169917f329e3ff3f7877be290b684e24bf153d/node_modules/safe-stable-stringify/index.js"(exports, module) {
|
|
26
26
|
"use strict";
|
|
27
27
|
var { hasOwnProperty } = Object.prototype;
|
|
28
28
|
var stringify = configure2();
|
|
@@ -1144,7 +1144,7 @@ function resolveAdaptFormats(params) {
|
|
|
1144
1144
|
return params.formats ?? [];
|
|
1145
1145
|
}
|
|
1146
1146
|
|
|
1147
|
-
//
|
|
1147
|
+
// ../../.pnpm-store/v10/links/@/safe-stable-stringify/2.5.0/509a695c9237c6e3727f1f1f99169917f329e3ff3f7877be290b684e24bf153d/node_modules/safe-stable-stringify/esm/wrapper.js
|
|
1148
1148
|
var import__ = __toESM(require_safe_stable_stringify(), 1);
|
|
1149
1149
|
var configure = import__.default.configure;
|
|
1150
1150
|
var wrapper_default = import__.default;
|
|
@@ -11565,4 +11565,4 @@ export {
|
|
|
11565
11565
|
defaultRegistry,
|
|
11566
11566
|
createEngineFromEnv
|
|
11567
11567
|
};
|
|
11568
|
-
//# sourceMappingURL=chunk-
|
|
11568
|
+
//# sourceMappingURL=chunk-KXJ2FND2.js.map
|