@koda-sl/baker-cli 0.246.0 → 0.247.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 +31 -11
- package/dist/{chunk-EKLAHWSF.js → chunk-SJPRTSGY.js} +108 -28
- package/dist/chunk-SJPRTSGY.js.map +1 -0
- package/dist/cli.js +40 -10
- package/dist/cli.js.map +1 -1
- package/dist/engine/index.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-EKLAHWSF.js.map +0 -1
package/dist/cli.js
CHANGED
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
ulid,
|
|
59
59
|
validateCanvasDeep,
|
|
60
60
|
ytDlpBlockSignal
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-SJPRTSGY.js";
|
|
62
62
|
import {
|
|
63
63
|
csvOrJson,
|
|
64
64
|
daysAgoIso,
|
|
@@ -5687,6 +5687,7 @@ var studioClipModeSchema = z18.enum(["first_frame", "references", "text"]);
|
|
|
5687
5687
|
var videoGenerateModelSchema = z18.enum([
|
|
5688
5688
|
"bytedance/seedance-2.0",
|
|
5689
5689
|
"bytedance/seedance-2.5",
|
|
5690
|
+
"google/gemini-omni-1.1-flash",
|
|
5690
5691
|
"google/gemini-omni-flash",
|
|
5691
5692
|
"google/veo-3.1",
|
|
5692
5693
|
"google/veo-3.1-fast",
|
|
@@ -5831,8 +5832,8 @@ var studioImageSettingsSchema = z18.object({
|
|
|
5831
5832
|
var studioClipSettingsSchema = z18.object({
|
|
5832
5833
|
clipMode: studioClipModeSchema,
|
|
5833
5834
|
// Optional because a model that FIXES one of these has none to report: Gemini
|
|
5834
|
-
// Omni always renders
|
|
5835
|
-
//
|
|
5835
|
+
// Omni always renders native audio and rejects the toggle, so the batch records
|
|
5836
|
+
// nothing rather than a value it never asked for.
|
|
5836
5837
|
duration: z18.number().optional(),
|
|
5837
5838
|
resolution: z18.string().optional(),
|
|
5838
5839
|
generateAudio: z18.boolean().optional(),
|
|
@@ -12593,8 +12594,24 @@ var analyticsTotalsSchema = z24.object({
|
|
|
12593
12594
|
/** Counted from `session_start`. */
|
|
12594
12595
|
sessions: z24.number().int().nonnegative(),
|
|
12595
12596
|
pageViews: z24.number().int().nonnegative(),
|
|
12597
|
+
/**
|
|
12598
|
+
* Every conversion, counting a visit twice when it converted twice.
|
|
12599
|
+
*
|
|
12600
|
+
* A Form's author can mark an outcome as counting every time it happens — a
|
|
12601
|
+
* download, a repeatable action — so this legitimately runs ahead of
|
|
12602
|
+
* {@link convertingSessions}, and of `sessions`.
|
|
12603
|
+
*/
|
|
12596
12604
|
conversions: z24.number().int().nonnegative(),
|
|
12597
|
-
/**
|
|
12605
|
+
/** Visits that produced at least one conversion. Never above `sessions`. */
|
|
12606
|
+
convertingSessions: z24.number().int().nonnegative(),
|
|
12607
|
+
/**
|
|
12608
|
+
* Converting visits per visit, 0–1. Null when there were no visits.
|
|
12609
|
+
*
|
|
12610
|
+
* Over converting visits rather than over conversions, because the second
|
|
12611
|
+
* ratio passes 1 the moment one visit converts twice — and a headline card
|
|
12612
|
+
* reading "125%" is read as a broken report, not as a visitor who did the
|
|
12613
|
+
* thing twice. The count above still says how often it happened.
|
|
12614
|
+
*/
|
|
12598
12615
|
conversionRate: z24.number().min(0).max(1).nullable(),
|
|
12599
12616
|
avgEngagementMs: z24.number().nonnegative().nullable(),
|
|
12600
12617
|
/** Page views per session. At or near 1 means visitors leave from the page they land on. */
|
|
@@ -12640,8 +12657,14 @@ var analyticsLandingRowSchema = z24.object({
|
|
|
12640
12657
|
entrances: z24.number().int().nonnegative(),
|
|
12641
12658
|
visitors: z24.number().int().nonnegative(),
|
|
12642
12659
|
conversions: z24.number().int().nonnegative(),
|
|
12660
|
+
/** Visits that converted on this page at least once. */
|
|
12661
|
+
convertingSessions: z24.number().int().nonnegative(),
|
|
12643
12662
|
outboundClicks: z24.number().int().nonnegative(),
|
|
12644
|
-
/**
|
|
12663
|
+
/**
|
|
12664
|
+
* Converting visits per entrance. Null when nobody entered here at all.
|
|
12665
|
+
*
|
|
12666
|
+
* Converting visits, not conversions: see {@link analyticsTotalsSchema}.
|
|
12667
|
+
*/
|
|
12645
12668
|
conversionRate: z24.number().min(0).max(1).nullable(),
|
|
12646
12669
|
avgEngagementMs: z24.number().nonnegative().nullable(),
|
|
12647
12670
|
/**
|
|
@@ -12677,6 +12700,9 @@ var analyticsTagRowSchema = z24.object({
|
|
|
12677
12700
|
sessions: z24.number().int().nonnegative(),
|
|
12678
12701
|
entrances: z24.number().int().nonnegative(),
|
|
12679
12702
|
conversions: z24.number().int().nonnegative(),
|
|
12703
|
+
/** Visits that converted on one of this tag's pages. */
|
|
12704
|
+
convertingSessions: z24.number().int().nonnegative(),
|
|
12705
|
+
/** Converting visits per entrance. */
|
|
12680
12706
|
conversionRate: z24.number().min(0).max(1).nullable()
|
|
12681
12707
|
});
|
|
12682
12708
|
var analyticsCustomEventRowSchema = z24.object({
|
|
@@ -12743,7 +12769,9 @@ var analyticsPageRowSchema = z24.object({
|
|
|
12743
12769
|
/** Sessions that began on this page — its value as a landing page. */
|
|
12744
12770
|
entrances: z24.number().int().nonnegative(),
|
|
12745
12771
|
conversions: z24.number().int().nonnegative(),
|
|
12746
|
-
/**
|
|
12772
|
+
/** Visits that converted on this page at least once. */
|
|
12773
|
+
convertingSessions: z24.number().int().nonnegative(),
|
|
12774
|
+
/** Converting visits per entrance, 0–1. Null when nobody landed here. */
|
|
12747
12775
|
conversionRate: z24.number().min(0).max(1).nullable(),
|
|
12748
12776
|
avgEngagementMs: z24.number().nonnegative().nullable()
|
|
12749
12777
|
});
|
|
@@ -12938,7 +12966,9 @@ var analyticsReleaseRowSchema = z24.object({
|
|
|
12938
12966
|
sessions: z24.number().int().nonnegative(),
|
|
12939
12967
|
pageViews: z24.number().int().nonnegative(),
|
|
12940
12968
|
conversions: z24.number().int().nonnegative(),
|
|
12941
|
-
/**
|
|
12969
|
+
/** Visits that converted on this build at least once. */
|
|
12970
|
+
convertingSessions: z24.number().int().nonnegative(),
|
|
12971
|
+
/** Converting visits per session, 0–1. Null below a usable sample. */
|
|
12942
12972
|
conversionRate: z24.number().min(0).max(1).nullable()
|
|
12943
12973
|
});
|
|
12944
12974
|
var analyticsGeoRowSchema = z24.object({
|
|
@@ -27957,7 +27987,7 @@ function emitSceneClip(i, scene, present2, mode, nativeTurn, ambientBroll, frame
|
|
|
27957
27987
|
...videoAudioParam(opts.videoModel, Boolean(nativeTurn) || ambientBroll),
|
|
27958
27988
|
// Intent-keyed "astonishing default" overrides — merged LAST so a hero/reveal
|
|
27959
27989
|
// beat can claim the 1080p ceiling over the aspect-derived resolution.
|
|
27960
|
-
...clipParamRecipe(profile, clipIntentOf(scene, i))
|
|
27990
|
+
...clipParamRecipe(opts.videoModel, profile, clipIntentOf(scene, i))
|
|
27961
27991
|
};
|
|
27962
27992
|
if (opts.genAr) clipParams.aspect_ratio = opts.genAr;
|
|
27963
27993
|
nodes.push({
|
|
@@ -28715,7 +28745,7 @@ function emitPhraseClip(phrase, voiceNode, env, nodes, out) {
|
|
|
28715
28745
|
...videoDurationParam(env.opts.videoModel, genDur),
|
|
28716
28746
|
...videoResolutionParam(env.opts.videoModel, env.opts.resolution),
|
|
28717
28747
|
...videoAudioParam(env.opts.videoModel, true),
|
|
28718
|
-
...clipParamRecipe(clipProfile, clipIntentOf(anchorScene, anchor))
|
|
28748
|
+
...clipParamRecipe(env.opts.videoModel, clipProfile, clipIntentOf(anchorScene, anchor))
|
|
28719
28749
|
};
|
|
28720
28750
|
clipParams.aspect_ratio = env.genAr;
|
|
28721
28751
|
nodes.push({
|
|
@@ -32099,7 +32129,7 @@ var SEEDANCE = "bytedance/seedance-2.0";
|
|
|
32099
32129
|
var VEO = "google/veo-3.1";
|
|
32100
32130
|
var VEO_FAST = "google/veo-3.1-fast";
|
|
32101
32131
|
var KLING = "kwaivgi/kling-v3.0-pro";
|
|
32102
|
-
var GEMINI_OMNI = "google/gemini-omni-flash";
|
|
32132
|
+
var GEMINI_OMNI = "google/gemini-omni-1.1-flash";
|
|
32103
32133
|
function routeVideoModel(input) {
|
|
32104
32134
|
const budget = input.budget ?? "standard";
|
|
32105
32135
|
const signals = [];
|