@koda-sl/baker-cli 0.121.0-dev.3bcc79f9c → 0.121.0-dev.6fedecad2
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 +83 -43
- package/dist/chunk-5WRI5ZAA.js +31 -0
- package/dist/chunk-5WRI5ZAA.js.map +1 -0
- package/dist/chunk-AVJ3B6LC.js +97 -0
- package/dist/chunk-AVJ3B6LC.js.map +1 -0
- package/dist/chunk-ISFSUDEQ.js +264 -0
- package/dist/chunk-ISFSUDEQ.js.map +1 -0
- package/dist/chunk-K47Q73CK.js +156 -0
- package/dist/chunk-K47Q73CK.js.map +1 -0
- package/dist/{chunk-GQIOFHVI.js → chunk-MWFJ5NOP.js} +132 -275
- package/dist/chunk-MWFJ5NOP.js.map +1 -0
- package/dist/chunk-YTEAWSEM.js +39 -0
- package/dist/chunk-YTEAWSEM.js.map +1 -0
- package/dist/cli.js +4233 -2658
- package/dist/cli.js.map +1 -1
- package/dist/client-PGOTU24X.js +15 -0
- package/dist/client-PGOTU24X.js.map +1 -0
- package/dist/engine/index.d.ts +1 -30
- package/dist/engine/index.js +2 -1
- package/dist/env-TD4VXCQ7.js +10 -0
- package/dist/env-TD4VXCQ7.js.map +1 -0
- package/dist/output-2LGBISBQ.js +18 -0
- package/dist/output-2LGBISBQ.js.map +1 -0
- package/dist/shared-CQC3YRBA.js +23 -0
- package/dist/shared-CQC3YRBA.js.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-GQIOFHVI.js.map +0 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ApiError,
|
|
3
|
+
apiGet,
|
|
4
|
+
apiPost,
|
|
5
|
+
validateConvexId
|
|
6
|
+
} from "./chunk-K47Q73CK.js";
|
|
7
|
+
import "./chunk-YTEAWSEM.js";
|
|
8
|
+
import "./chunk-5WRI5ZAA.js";
|
|
9
|
+
export {
|
|
10
|
+
ApiError,
|
|
11
|
+
apiGet,
|
|
12
|
+
apiPost,
|
|
13
|
+
validateConvexId
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=client-PGOTU24X.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/engine/index.d.ts
CHANGED
|
@@ -47,13 +47,6 @@ declare class BackendClient$1 {
|
|
|
47
47
|
putUrl: string;
|
|
48
48
|
publicUrl: string;
|
|
49
49
|
}>;
|
|
50
|
-
/** Remote cache lookup. A miss (404) — or an old backend without the route — returns null. */
|
|
51
|
-
getCacheEntry<T>(cacheKey: string, signal?: AbortSignal): Promise<T | null>;
|
|
52
|
-
putCacheEntry(entry: {
|
|
53
|
-
cacheKey: string;
|
|
54
|
-
}, signal?: AbortSignal): Promise<void>;
|
|
55
|
-
/** Durable run-history record — POST /api/canvas/runs (idempotent server-side on runId). */
|
|
56
|
-
recordRun(payload: unknown, signal?: AbortSignal): Promise<void>;
|
|
57
50
|
getArtifact(kind: string, name: string, version?: string, signal?: AbortSignal): Promise<ArtifactResponse>;
|
|
58
51
|
}
|
|
59
52
|
|
|
@@ -97,6 +90,7 @@ declare const CanvasSchema: z.ZodObject<{
|
|
|
97
90
|
voice_convert_node: z.ZodString;
|
|
98
91
|
scene_s: z.ZodOptional<z.ZodNumber>;
|
|
99
92
|
est_speech_s: z.ZodOptional<z.ZodNumber>;
|
|
93
|
+
speech_words: z.ZodOptional<z.ZodNumber>;
|
|
100
94
|
}, z.core.$strip>, z.ZodObject<{
|
|
101
95
|
scene: z.ZodNumber;
|
|
102
96
|
lipsync_node: z.ZodString;
|
|
@@ -345,14 +339,6 @@ type RunResult = {
|
|
|
345
339
|
duration_ms: number;
|
|
346
340
|
};
|
|
347
341
|
outputs_dir: string;
|
|
348
|
-
node_runs: NodeRunRecord[];
|
|
349
|
-
};
|
|
350
|
-
type NodeRunRecord = {
|
|
351
|
-
node_id: string;
|
|
352
|
-
node_type: string;
|
|
353
|
-
cached: boolean;
|
|
354
|
-
duration_ms: number;
|
|
355
|
-
credits: number;
|
|
356
342
|
};
|
|
357
343
|
type RunOptions = {
|
|
358
344
|
signal?: AbortSignal;
|
|
@@ -368,13 +354,6 @@ type EngineOptions = {
|
|
|
368
354
|
cache: CacheStore;
|
|
369
355
|
outputsDir: string;
|
|
370
356
|
log?: LogFn;
|
|
371
|
-
/**
|
|
372
|
-
* Stamp durable canvas-assets URLs onto fresh node outputs before they are
|
|
373
|
-
* cached — the precondition for remote cache portability and run-history
|
|
374
|
-
* records. Best-effort: a failed upload logs a warning and keeps the entry
|
|
375
|
-
* local-only, never fails the node.
|
|
376
|
-
*/
|
|
377
|
-
persistAssets?: boolean;
|
|
378
357
|
};
|
|
379
358
|
declare class Engine$1 {
|
|
380
359
|
private readonly registry;
|
|
@@ -383,7 +362,6 @@ declare class Engine$1 {
|
|
|
383
362
|
private readonly cache;
|
|
384
363
|
private readonly outputsDir;
|
|
385
364
|
private readonly log;
|
|
386
|
-
private readonly persistAssets;
|
|
387
365
|
constructor(opts: EngineOptions);
|
|
388
366
|
validate(canvas: unknown): {
|
|
389
367
|
ok: true;
|
|
@@ -489,13 +467,6 @@ declare function createEngineFromEnv(opts?: {
|
|
|
489
467
|
cacheDir?: string;
|
|
490
468
|
outputsDir?: string;
|
|
491
469
|
log?: (line: string) => void;
|
|
492
|
-
/**
|
|
493
|
-
* Layer the company-scoped remote cache over the local one (and stamp
|
|
494
|
-
* durable asset URLs onto fresh outputs) so a fresh sandbox re-runs an
|
|
495
|
-
* already-computed canvas at zero credits. Defaults to on; disable with
|
|
496
|
-
* `remoteCache: false` or env BAKER_CANVAS_REMOTE_CACHE=off.
|
|
497
|
-
*/
|
|
498
|
-
remoteCache?: boolean;
|
|
499
470
|
}): Engine$1;
|
|
500
471
|
|
|
501
472
|
export { BackendClient, Engine, LocalAssetStore, LocalCacheStore, ValidationError, createEngineFromEnv, defaultRegistry, generateCatalog, validateCanvasDeep };
|
package/dist/engine/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
resolveCustomerId,
|
|
3
|
+
toCsvRow,
|
|
4
|
+
writeAdsJson,
|
|
5
|
+
writeAdsOutput,
|
|
6
|
+
writeJsonEnvelope
|
|
7
|
+
} from "./chunk-ISFSUDEQ.js";
|
|
8
|
+
import "./chunk-K47Q73CK.js";
|
|
9
|
+
import "./chunk-YTEAWSEM.js";
|
|
10
|
+
import "./chunk-5WRI5ZAA.js";
|
|
11
|
+
export {
|
|
12
|
+
resolveCustomerId,
|
|
13
|
+
toCsvRow,
|
|
14
|
+
writeAdsJson,
|
|
15
|
+
writeAdsOutput,
|
|
16
|
+
writeJsonEnvelope
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=output-2LGBISBQ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
csvOrJson,
|
|
3
|
+
daysAgoIso,
|
|
4
|
+
getDateRange,
|
|
5
|
+
handleMetaError,
|
|
6
|
+
resolveAccountIdArg,
|
|
7
|
+
resolveEffectiveStatus,
|
|
8
|
+
todayIso
|
|
9
|
+
} from "./chunk-AVJ3B6LC.js";
|
|
10
|
+
import "./chunk-ISFSUDEQ.js";
|
|
11
|
+
import "./chunk-K47Q73CK.js";
|
|
12
|
+
import "./chunk-YTEAWSEM.js";
|
|
13
|
+
import "./chunk-5WRI5ZAA.js";
|
|
14
|
+
export {
|
|
15
|
+
csvOrJson,
|
|
16
|
+
daysAgoIso,
|
|
17
|
+
getDateRange,
|
|
18
|
+
handleMetaError,
|
|
19
|
+
resolveAccountIdArg,
|
|
20
|
+
resolveEffectiveStatus,
|
|
21
|
+
todayIso
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=shared-CQC3YRBA.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/package.json
CHANGED