@koda-sl/baker-cli 0.411.0 → 0.412.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 +2 -0
- package/dist/{chunk-KTMFHBN6.js → chunk-4Q7EDLEC.js} +3 -3
- package/dist/{chunk-ISCXDKWB.js → chunk-ASON7WRD.js} +9 -1
- package/dist/{chunk-ISCXDKWB.js.map → chunk-ASON7WRD.js.map} +1 -1
- package/dist/{chunk-ISJOVAJP.js → chunk-EXFQDO6T.js} +2 -2
- package/dist/{chunk-S5BY45H7.js → chunk-FLERTMEW.js} +3 -3
- package/dist/{chunk-VKWHVMMD.js → chunk-G7YB37RQ.js} +3 -3
- package/dist/{chunk-ZIOW64BL.js → chunk-PLH5K6RI.js} +4 -4
- package/dist/cli.js +38 -18
- package/dist/cli.js.map +1 -1
- package/dist/{client-AY6TPFQ4.js → client-22ED7NUR.js} +4 -4
- package/dist/engine/index.js +3 -3
- package/dist/{env-CWEGTJF3.js → env-E565GJBV.js} +2 -2
- package/dist/{output-EPF3HHJ4.js → output-F6NKGZ6E.js} +5 -5
- package/dist/{shared-53G34I3U.js → shared-YSUGIUS4.js} +6 -6
- package/package.json +1 -1
- /package/dist/{chunk-KTMFHBN6.js.map → chunk-4Q7EDLEC.js.map} +0 -0
- /package/dist/{chunk-ISJOVAJP.js.map → chunk-EXFQDO6T.js.map} +0 -0
- /package/dist/{chunk-S5BY45H7.js.map → chunk-FLERTMEW.js.map} +0 -0
- /package/dist/{chunk-VKWHVMMD.js.map → chunk-G7YB37RQ.js.map} +0 -0
- /package/dist/{chunk-ZIOW64BL.js.map → chunk-PLH5K6RI.js.map} +0 -0
- /package/dist/{client-AY6TPFQ4.js.map → client-22ED7NUR.js.map} +0 -0
- /package/dist/{env-CWEGTJF3.js.map → env-E565GJBV.js.map} +0 -0
- /package/dist/{output-EPF3HHJ4.js.map → output-F6NKGZ6E.js.map} +0 -0
- /package/dist/{shared-53G34I3U.js.map → shared-YSUGIUS4.js.map} +0 -0
package/README.md
CHANGED
|
@@ -2979,6 +2979,8 @@ baker videos search "product demo"
|
|
|
2979
2979
|
baker videos search "tutorial" --tags explainer,ugc --limit 5
|
|
2980
2980
|
```
|
|
2981
2981
|
|
|
2982
|
+
Each hit carries `format` (e.g. `testimonial`, `trend-skit`), `tone` (`sincere` … `parody`) and `productClaims`: what the clip says about the offer. Hints name any parody result, and any clip catalogued before these fields existed.
|
|
2983
|
+
|
|
2982
2984
|
### `baker videos get <id>`
|
|
2983
2985
|
|
|
2984
2986
|
Get a single video by ID. `--full` includes the auto-generated **transcript** (Baker transcribes every upload with speech-to-text), a `transcript_segment_count`, and the titled/timestamped **scene breakdown** — so you can read what a clip says and shows without watching it. Default JSON also returns the raw `transcript` + timed `transcriptSegments`; `--full` is what surfaces them in `--output md`/`files` too.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
debugLogHttp,
|
|
3
3
|
readBodyForLog
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EXFQDO6T.js";
|
|
5
5
|
import {
|
|
6
6
|
API_KEY_FORMAT_MESSAGE,
|
|
7
7
|
DIRECT_ROUTE,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
refuseNonPublicUrl,
|
|
19
19
|
requireConnection,
|
|
20
20
|
shouldEscalate
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ASON7WRD.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({
|
|
@@ -11630,4 +11630,4 @@ export {
|
|
|
11630
11630
|
defaultRegistry,
|
|
11631
11631
|
createEngineFromEnv
|
|
11632
11632
|
};
|
|
11633
|
-
//# sourceMappingURL=chunk-
|
|
11633
|
+
//# sourceMappingURL=chunk-4Q7EDLEC.js.map
|
|
@@ -823,6 +823,13 @@ function imageNormalizer(record, full) {
|
|
|
823
823
|
}
|
|
824
824
|
return compactImage(record);
|
|
825
825
|
}
|
|
826
|
+
function sellingFacts(analysis) {
|
|
827
|
+
return {
|
|
828
|
+
format: typeof analysis.format === "string" ? analysis.format : null,
|
|
829
|
+
tone: typeof analysis.tone === "string" ? analysis.tone : null,
|
|
830
|
+
productClaims: Array.isArray(analysis.productClaims) ? analysis.productClaims : null
|
|
831
|
+
};
|
|
832
|
+
}
|
|
826
833
|
function compactVideo(video) {
|
|
827
834
|
const analysis = asRecord(video.analysis);
|
|
828
835
|
const sceneCount = typeof video.sceneCount === "number" ? video.sceneCount : Array.isArray(video.scenes) ? video.scenes.length : 0;
|
|
@@ -841,6 +848,7 @@ function compactVideo(video) {
|
|
|
841
848
|
people: peopleLines(analysis.people),
|
|
842
849
|
spokenLanguages: Array.isArray(analysis.spokenLanguages) ? analysis.spokenLanguages : [],
|
|
843
850
|
hook: typeof analysis.hook === "string" ? analysis.hook : null,
|
|
851
|
+
...sellingFacts(analysis),
|
|
844
852
|
sceneCount,
|
|
845
853
|
group: groupSummary(video)
|
|
846
854
|
};
|
|
@@ -1356,4 +1364,4 @@ export {
|
|
|
1356
1364
|
captureVimeoCookie,
|
|
1357
1365
|
childEnvWith
|
|
1358
1366
|
};
|
|
1359
|
-
//# sourceMappingURL=chunk-
|
|
1367
|
+
//# sourceMappingURL=chunk-ASON7WRD.js.map
|