@cueframe/kernel 0.2.19 → 0.2.20
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/dist/_members/composition/fonts/bundledFaces.d.ts +49 -0
- package/dist/_members/composition/scene/schema.d.ts +5 -3
- package/dist/_members/mcp/generated/sceneContract.d.ts +189 -0
- package/dist/animate/preparation-facts.js +2 -2
- package/dist/animate.js +4 -4
- package/dist/authoring/build-tools.js +6 -6
- package/dist/authoring/context.js +5 -5
- package/dist/authoring/scene.js +2 -2
- package/dist/authoring/tools.js +5 -5
- package/dist/authoring.js +11 -11
- package/dist/{chunk-WMXXB4T2.js → chunk-5TMLB4WM.js} +6 -6
- package/dist/{chunk-KBLQKH3T.js → chunk-6A6AYPWO.js} +1 -1
- package/dist/{chunk-7NQRYZCT.js → chunk-6VTNIYSR.js} +1 -1
- package/dist/{chunk-BAC7DKQZ.js → chunk-AVTEPAWI.js} +32 -0
- package/dist/{chunk-IQ7DKM5C.js → chunk-AYZPTH7L.js} +1 -1
- package/dist/{chunk-C5MPFJCD.js → chunk-BWLYZQ7I.js} +1 -1
- package/dist/{chunk-HGBHJL7X.js → chunk-CMC6MLR3.js} +1 -1
- package/dist/{chunk-7S73F5E6.js → chunk-EGNTUGAM.js} +2 -2
- package/dist/{chunk-IAZYJB3I.js → chunk-EGR6QWLX.js} +1 -1
- package/dist/{chunk-EZUDUMH3.js → chunk-ELE2VHXO.js} +2 -2
- package/dist/{chunk-KYOVOZQC.js → chunk-HLW3P5ZP.js} +4 -4
- package/dist/{chunk-3BCGHUJS.js → chunk-HPWJQNBU.js} +1 -1
- package/dist/{chunk-2R35PKNK.js → chunk-IHMKU4PM.js} +2 -2
- package/dist/{chunk-KKV5U5EA.js → chunk-IRVRWQWD.js} +107 -16
- package/dist/{chunk-77TLECRC.js → chunk-OAVJUZIC.js} +1 -1
- package/dist/{chunk-TDJNQVTL.js → chunk-OSV6UUP3.js} +1 -1
- package/dist/{chunk-3V75A6UH.js → chunk-OTZDVUAM.js} +1 -1
- package/dist/{chunk-ZMXOHMZY.js → chunk-P5POI4O2.js} +273 -4
- package/dist/{chunk-D3GMN4WL.js → chunk-PSMIDGQA.js} +3 -3
- package/dist/{chunk-TECEMBCI.js → chunk-STTZC7NN.js} +1 -2
- package/dist/{chunk-PCK6Y6BK.js → chunk-TWI22U3C.js} +1 -1
- package/dist/{chunk-MAD6MSXA.js → chunk-W5W3FDDI.js} +1 -1
- package/dist/{chunk-ZYGUHMX6.js → chunk-XUU5PK6J.js} +3 -3
- package/dist/component-runtime/browserOptions.js +2 -2
- package/dist/component-runtime/render.js +4 -4
- package/dist/component-runtime.js +5 -5
- package/dist/compose.js +22 -22
- package/dist/composition/fonts.js +5 -3
- package/dist/composition/graphics-plan.js +3 -3
- package/dist/composition/ops.js +4 -4
- package/dist/composition/projection.js +3 -3
- package/dist/composition/scene/schema.json +19 -2
- package/dist/composition/scene.js +1 -1
- package/dist/composition/validators.js +3 -3
- package/dist/composition-ops.js +6 -6
- package/dist/composition.js +5 -5
- package/dist/{context-JEIN7PNN.js → context-43UC63RY.js} +5 -5
- package/dist/core/render.js +3 -3
- package/dist/core.js +3 -3
- package/dist/mcp/adapter.js +2 -2
- package/dist/mcp/core.js +1 -1
- package/dist/mcp/server.js +3 -3
- package/dist/mcp.js +3 -3
- package/dist/primitives/captions.js +1 -1
- package/dist/primitives/effects.js +5 -5
- package/dist/primitives/hero-text.js +2 -2
- package/dist/primitives/layouts.js +5 -5
- package/dist/primitives/scenes.js +6 -6
- package/dist/primitives/text.js +2 -2
- package/dist/primitives.js +22 -22
- package/dist/render-harness.js +7 -7
- package/package.json +10 -10
- package/dist/{chunk-7SQOXIWR.js → chunk-RL5SO653.js} +3 -3
- package/dist/{chunk-ZDL7XEXW.js → chunk-ZS3A3QUM.js} +4 -4
|
@@ -163,3 +163,52 @@ export declare function bundledFamilyForStack(stack: string | undefined | null):
|
|
|
163
163
|
* overlay param, with a message calling the whole stack "not a bundled family".
|
|
164
164
|
*/
|
|
165
165
|
export declare function admissibleFamilyForStack(stack: string): string;
|
|
166
|
+
/** One family in the read-only renderer font catalogue. */
|
|
167
|
+
export interface VendoredFontCatalogEntry {
|
|
168
|
+
/** The family name authoring accepts VERBATIM — card, caption and scene text alike. */
|
|
169
|
+
readonly family: string;
|
|
170
|
+
/**
|
|
171
|
+
* The weights a file actually declares, as `{ min, max }` per file. A static face is
|
|
172
|
+
* `min === max`; a variable face is its declared `wght` axis range. Any weight inside a
|
|
173
|
+
* range is drawable; anything outside every range is refused, never synthesised.
|
|
174
|
+
*/
|
|
175
|
+
readonly weights: ReadonlyArray<{
|
|
176
|
+
readonly min: number;
|
|
177
|
+
readonly max: number;
|
|
178
|
+
}>;
|
|
179
|
+
/**
|
|
180
|
+
* The styles bytes exist for. Always `["normal"]`: no bundled or aliased family ships an
|
|
181
|
+
* italic file, so `fontStyle: "italic"` over one is refused rather than slanted.
|
|
182
|
+
*/
|
|
183
|
+
readonly styles: readonly ["normal"];
|
|
184
|
+
/** The weights a caption is drawn at when the style names none. */
|
|
185
|
+
readonly captionDefaults: CaptionFaceDefaults;
|
|
186
|
+
/**
|
|
187
|
+
* `bundled` = bytes ship inside the render bundle. `aliased` = a metric-compatible binary
|
|
188
|
+
* stands in for the named family (Georgia is served by Gelasio).
|
|
189
|
+
*/
|
|
190
|
+
readonly origin: "bundled" | "aliased";
|
|
191
|
+
}
|
|
192
|
+
/** The read-only renderer font catalogue. */
|
|
193
|
+
export interface VendoredFontCatalog {
|
|
194
|
+
/**
|
|
195
|
+
* Identifies this exact face table. Derived from the table's own content, so it moves when and
|
|
196
|
+
* only when the admitted set moves — there is no version to forget to bump. Pin it beside a
|
|
197
|
+
* composition to record which face table a choice was validated against.
|
|
198
|
+
*/
|
|
199
|
+
readonly manifestVersion: string;
|
|
200
|
+
readonly families: readonly VendoredFontCatalogEntry[];
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* The renderer's admitted font set, as data.
|
|
204
|
+
*
|
|
205
|
+
* A PROJECTION of `BUNDLED_FONT_FACES` — the same table `bundledFontFaceExists` refuses by — so
|
|
206
|
+
* every family/weight this returns passes authoring by construction rather than because two lists
|
|
207
|
+
* were kept in sync. Without it the admitted set was discoverable only by being refused, which
|
|
208
|
+
* made an unavailable family visible for the first time at the paid render boundary (CUE-20).
|
|
209
|
+
*
|
|
210
|
+
* Covers the BUNDLED set only. A brand kit's sealed faces are per-org and per-render and are not
|
|
211
|
+
* knowable from a static table; `origin` says which case each entry is so a caller never has to
|
|
212
|
+
* guess whether a family is universal or came from its own kit.
|
|
213
|
+
*/
|
|
214
|
+
export declare function vendoredFontCatalog(): VendoredFontCatalog;
|
|
@@ -264,13 +264,11 @@ export type SceneChannelTargetV2 = {
|
|
|
264
264
|
};
|
|
265
265
|
export interface SceneChannelV2 {
|
|
266
266
|
target: SceneChannelTargetV2;
|
|
267
|
-
property:
|
|
267
|
+
property: SceneChannelProperty;
|
|
268
268
|
keyframes: SceneKeyframeV2[];
|
|
269
269
|
}
|
|
270
270
|
export declare const SceneEasingV2: z.ZodType<SceneEasingV2>;
|
|
271
271
|
export declare const SceneKeyframeV2: z.ZodType<SceneKeyframeV2>;
|
|
272
|
-
export declare const SceneChannelTargetV2: z.ZodType<SceneChannelTargetV2>;
|
|
273
|
-
export declare const SceneChannelV2: z.ZodType<SceneChannelV2>;
|
|
274
272
|
export declare const SCENE_CAMERA_PROPERTIES: readonly ["positionX", "positionY", "positionZ", "rotationX", "rotationY", "rotationZ", "fov"];
|
|
275
273
|
export declare const SCENE_WORLD_OBJECT_PROPERTIES: readonly ["positionX", "positionY", "positionZ", "rotationX", "rotationY", "rotationZ", "scale", "opacity"];
|
|
276
274
|
export declare const SCENE_LAPTOP_PROPERTIES: readonly ["positionX", "positionY", "positionZ", "rotationX", "rotationY", "rotationZ", "scale", "opacity", "openAngle"];
|
|
@@ -278,6 +276,10 @@ export declare const SCENE_SCREEN_TEXT_PROPERTIES: readonly ["x", "y", "rotation
|
|
|
278
276
|
export declare const SCENE_ENVIRONMENT_PROPERTIES: readonly ["intensity"];
|
|
279
277
|
export declare const SCENE_FOCUS_PROPERTIES: readonly ["distance", "range", "maxBlur"];
|
|
280
278
|
export declare const SCENE_CHANNEL_PROPERTIES: readonly ("x" | "y" | "opacity" | "scale" | "rotation" | "intensity" | "fov" | "range" | "maxBlur" | "openAngle" | "distance" | "positionX" | "positionY" | "positionZ" | "rotationX" | "rotationY" | "rotationZ")[];
|
|
279
|
+
/** Every channel name any target can animate — the union the wire schema publishes. */
|
|
280
|
+
export type SceneChannelProperty = (typeof SCENE_CHANNEL_PROPERTIES)[number];
|
|
281
|
+
export declare const SceneChannelTargetV2: z.ZodType<SceneChannelTargetV2>;
|
|
282
|
+
export declare const SceneChannelV2: z.ZodType<SceneChannelV2>;
|
|
281
283
|
export interface SceneFocusV2 {
|
|
282
284
|
distance: number;
|
|
283
285
|
range: number;
|
|
@@ -24,6 +24,12 @@ export declare const SCENE_SHOT_EXAMPLE_SHOTS: readonly [{
|
|
|
24
24
|
readonly title: "World objects";
|
|
25
25
|
readonly summary: "Nested satin card and fitted page.";
|
|
26
26
|
readonly slots: readonly ["page"];
|
|
27
|
+
}, {
|
|
28
|
+
readonly clipId: "shot-camera-tunnel";
|
|
29
|
+
readonly exampleId: "camera-tunnel";
|
|
30
|
+
readonly title: "Camera travel through depth bands";
|
|
31
|
+
readonly summary: "Camera positionZ forward travel plus lateral positionX, over three image planes each animating positionZ at its own rate.";
|
|
32
|
+
readonly slots: readonly ["near", "mid", "far"];
|
|
27
33
|
}];
|
|
28
34
|
/**
|
|
29
35
|
* A complete `apply_composition` body: one slab-heavy nested world-object shot on a dedicated
|
|
@@ -151,5 +157,188 @@ export declare const SCENE_SHOT_WORLD_OBJECT_BODY: {
|
|
|
151
157
|
readonly assets: {
|
|
152
158
|
readonly page: "<updatedLandingPageScreenshotMediaId>";
|
|
153
159
|
};
|
|
160
|
+
}, {
|
|
161
|
+
readonly type: "scene.add";
|
|
162
|
+
readonly clipId: "shot-camera-tunnel";
|
|
163
|
+
readonly newTrack: true;
|
|
164
|
+
readonly startTime: 0;
|
|
165
|
+
readonly duration: 5;
|
|
166
|
+
readonly scene: {
|
|
167
|
+
readonly version: 2;
|
|
168
|
+
readonly referenceSize: {
|
|
169
|
+
readonly width: 1920;
|
|
170
|
+
readonly height: 1080;
|
|
171
|
+
};
|
|
172
|
+
readonly environment: {
|
|
173
|
+
readonly kind: "photographic-studio-v1";
|
|
174
|
+
};
|
|
175
|
+
readonly backdrop: {
|
|
176
|
+
readonly kind: "solid";
|
|
177
|
+
readonly color: "$brand:colors.background";
|
|
178
|
+
};
|
|
179
|
+
readonly layers: readonly [{
|
|
180
|
+
readonly kind: "page";
|
|
181
|
+
readonly id: "near";
|
|
182
|
+
readonly transform: {
|
|
183
|
+
readonly position: readonly [-320, 0, 600];
|
|
184
|
+
readonly rotation: readonly [0, 0, 0];
|
|
185
|
+
readonly scale: 1;
|
|
186
|
+
};
|
|
187
|
+
readonly opacity: 1;
|
|
188
|
+
readonly width: 720;
|
|
189
|
+
readonly height: 900;
|
|
190
|
+
readonly fit: "contain";
|
|
191
|
+
readonly transparency: "straight";
|
|
192
|
+
readonly depthWrite: true;
|
|
193
|
+
readonly backface: "hidden";
|
|
194
|
+
readonly surfaces: {
|
|
195
|
+
readonly content: {
|
|
196
|
+
readonly source: "image";
|
|
197
|
+
readonly assetSlot: "near";
|
|
198
|
+
};
|
|
199
|
+
};
|
|
200
|
+
}, {
|
|
201
|
+
readonly kind: "page";
|
|
202
|
+
readonly id: "mid";
|
|
203
|
+
readonly transform: {
|
|
204
|
+
readonly position: readonly [280, 0, -200];
|
|
205
|
+
readonly rotation: readonly [0, 0, 0];
|
|
206
|
+
readonly scale: 1;
|
|
207
|
+
};
|
|
208
|
+
readonly opacity: 1;
|
|
209
|
+
readonly width: 720;
|
|
210
|
+
readonly height: 900;
|
|
211
|
+
readonly fit: "contain";
|
|
212
|
+
readonly transparency: "straight";
|
|
213
|
+
readonly depthWrite: true;
|
|
214
|
+
readonly backface: "hidden";
|
|
215
|
+
readonly surfaces: {
|
|
216
|
+
readonly content: {
|
|
217
|
+
readonly source: "image";
|
|
218
|
+
readonly assetSlot: "mid";
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
}, {
|
|
222
|
+
readonly kind: "page";
|
|
223
|
+
readonly id: "far";
|
|
224
|
+
readonly transform: {
|
|
225
|
+
readonly position: readonly [-160, 0, -1200];
|
|
226
|
+
readonly rotation: readonly [0, 0, 0];
|
|
227
|
+
readonly scale: 1;
|
|
228
|
+
};
|
|
229
|
+
readonly opacity: 1;
|
|
230
|
+
readonly width: 720;
|
|
231
|
+
readonly height: 900;
|
|
232
|
+
readonly fit: "contain";
|
|
233
|
+
readonly transparency: "straight";
|
|
234
|
+
readonly depthWrite: true;
|
|
235
|
+
readonly backface: "hidden";
|
|
236
|
+
readonly surfaces: {
|
|
237
|
+
readonly content: {
|
|
238
|
+
readonly source: "image";
|
|
239
|
+
readonly assetSlot: "far";
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
}];
|
|
243
|
+
readonly animation: readonly [{
|
|
244
|
+
readonly target: {
|
|
245
|
+
readonly kind: "camera";
|
|
246
|
+
};
|
|
247
|
+
readonly property: "positionZ";
|
|
248
|
+
readonly keyframes: readonly [{
|
|
249
|
+
readonly at: 0;
|
|
250
|
+
readonly value: 1800;
|
|
251
|
+
}, {
|
|
252
|
+
readonly at: 1;
|
|
253
|
+
readonly value: -900;
|
|
254
|
+
readonly easing: {
|
|
255
|
+
readonly kind: "bezier";
|
|
256
|
+
readonly x1: 0.4;
|
|
257
|
+
readonly y1: 0;
|
|
258
|
+
readonly x2: 0.2;
|
|
259
|
+
readonly y2: 1;
|
|
260
|
+
};
|
|
261
|
+
}];
|
|
262
|
+
}, {
|
|
263
|
+
readonly target: {
|
|
264
|
+
readonly kind: "camera";
|
|
265
|
+
};
|
|
266
|
+
readonly property: "positionX";
|
|
267
|
+
readonly keyframes: readonly [{
|
|
268
|
+
readonly at: 0;
|
|
269
|
+
readonly value: -240;
|
|
270
|
+
}, {
|
|
271
|
+
readonly at: 1;
|
|
272
|
+
readonly value: 240;
|
|
273
|
+
readonly easing: {
|
|
274
|
+
readonly kind: "linear";
|
|
275
|
+
};
|
|
276
|
+
}];
|
|
277
|
+
}, {
|
|
278
|
+
readonly target: {
|
|
279
|
+
readonly kind: "layer";
|
|
280
|
+
readonly layerId: "near";
|
|
281
|
+
};
|
|
282
|
+
readonly property: "positionZ";
|
|
283
|
+
readonly keyframes: readonly [{
|
|
284
|
+
readonly at: 0;
|
|
285
|
+
readonly value: 600;
|
|
286
|
+
}, {
|
|
287
|
+
readonly at: 1;
|
|
288
|
+
readonly value: 1500;
|
|
289
|
+
readonly easing: {
|
|
290
|
+
readonly kind: "linear";
|
|
291
|
+
};
|
|
292
|
+
}];
|
|
293
|
+
}, {
|
|
294
|
+
readonly target: {
|
|
295
|
+
readonly kind: "layer";
|
|
296
|
+
readonly layerId: "mid";
|
|
297
|
+
};
|
|
298
|
+
readonly property: "positionZ";
|
|
299
|
+
readonly keyframes: readonly [{
|
|
300
|
+
readonly at: 0;
|
|
301
|
+
readonly value: -200;
|
|
302
|
+
}, {
|
|
303
|
+
readonly at: 1;
|
|
304
|
+
readonly value: 260;
|
|
305
|
+
readonly easing: {
|
|
306
|
+
readonly kind: "linear";
|
|
307
|
+
};
|
|
308
|
+
}];
|
|
309
|
+
}, {
|
|
310
|
+
readonly target: {
|
|
311
|
+
readonly kind: "layer";
|
|
312
|
+
readonly layerId: "far";
|
|
313
|
+
};
|
|
314
|
+
readonly property: "positionZ";
|
|
315
|
+
readonly keyframes: readonly [{
|
|
316
|
+
readonly at: 0;
|
|
317
|
+
readonly value: -1200;
|
|
318
|
+
}, {
|
|
319
|
+
readonly at: 1;
|
|
320
|
+
readonly value: -1020;
|
|
321
|
+
readonly easing: {
|
|
322
|
+
readonly kind: "linear";
|
|
323
|
+
};
|
|
324
|
+
}];
|
|
325
|
+
}];
|
|
326
|
+
readonly post: {
|
|
327
|
+
readonly grain: 0;
|
|
328
|
+
readonly vignette: 0;
|
|
329
|
+
readonly focus: null;
|
|
330
|
+
};
|
|
331
|
+
readonly constraints: readonly [];
|
|
332
|
+
readonly camera: {
|
|
333
|
+
readonly position: readonly [0, 0, 1483.6378065054962];
|
|
334
|
+
readonly rotation: readonly [0, 0, 0];
|
|
335
|
+
readonly fov: 0.6981317007977318;
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
readonly assets: {
|
|
339
|
+
readonly near: "<nearPlaneScreenshotMediaId>";
|
|
340
|
+
readonly mid: "<midPlaneScreenshotMediaId>";
|
|
341
|
+
readonly far: "<farPlaneScreenshotMediaId>";
|
|
342
|
+
};
|
|
154
343
|
}];
|
|
155
344
|
};
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
sceneGrainPreparationCpuAllocationV1,
|
|
5
5
|
scenePresetBuilderDescriptorV1,
|
|
6
6
|
sceneSlabPreparationFactsV1
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-OAVJUZIC.js";
|
|
8
8
|
import {
|
|
9
9
|
photographicStudioPreparationFactsV1,
|
|
10
10
|
sceneFocusPreparationAllocationsV1
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-IRVRWQWD.js";
|
|
12
12
|
import "../chunk-2L7PYYJK.js";
|
|
13
13
|
import "../chunk-2ESYSVXG.js";
|
|
14
14
|
export {
|
package/dist/animate.js
CHANGED
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
useStage,
|
|
103
103
|
weightsAt,
|
|
104
104
|
worldTransform
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-XUU5PK6J.js";
|
|
106
106
|
import {
|
|
107
107
|
DEFAULT_LIGHTING_PROFILE,
|
|
108
108
|
DEVICE_GLASS_OPACITY_ENCODED,
|
|
@@ -161,7 +161,7 @@ import {
|
|
|
161
161
|
studioShadowFrustum,
|
|
162
162
|
verifyPhotographicStudioHdr,
|
|
163
163
|
withNormalisedFaceUv
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-OAVJUZIC.js";
|
|
165
165
|
import {
|
|
166
166
|
ALLOWED_BAKE_SCALES,
|
|
167
167
|
DEFAULT_BAKE_SCALE,
|
|
@@ -183,9 +183,9 @@ import {
|
|
|
183
183
|
projectedSlotEdges,
|
|
184
184
|
sceneFocusPreparationAllocationsV1,
|
|
185
185
|
selectSceneBakeScale
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-IRVRWQWD.js";
|
|
187
187
|
import "./chunk-2L7PYYJK.js";
|
|
188
|
-
import "./chunk-
|
|
188
|
+
import "./chunk-AVTEPAWI.js";
|
|
189
189
|
import "./chunk-2ESYSVXG.js";
|
|
190
190
|
export {
|
|
191
191
|
ALLOWED_BAKE_SCALES,
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
buildPlannerTools,
|
|
5
5
|
buildToolsFromSchemas,
|
|
6
6
|
extractProviderError
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-6A6AYPWO.js";
|
|
8
|
+
import "../chunk-HLW3P5ZP.js";
|
|
9
9
|
import "../chunk-JOURGVOR.js";
|
|
10
10
|
import "../chunk-7AZLFN26.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-CMC6MLR3.js";
|
|
12
|
+
import "../chunk-EGNTUGAM.js";
|
|
13
|
+
import "../chunk-AYZPTH7L.js";
|
|
14
14
|
import "../chunk-WPZKOVYF.js";
|
|
15
15
|
import "../chunk-B7J5UUUV.js";
|
|
16
16
|
import "../chunk-KYRDKK2D.js";
|
|
17
17
|
import "../chunk-WREYUH2E.js";
|
|
18
18
|
import "../chunk-7PA7FGLD.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-AVTEPAWI.js";
|
|
20
20
|
import "../chunk-2ESYSVXG.js";
|
|
21
21
|
export {
|
|
22
22
|
ZERO_USAGE,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildDirectorContext
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-6VTNIYSR.js";
|
|
4
|
+
import "../chunk-CMC6MLR3.js";
|
|
5
|
+
import "../chunk-EGNTUGAM.js";
|
|
6
|
+
import "../chunk-AYZPTH7L.js";
|
|
7
7
|
import "../chunk-WPZKOVYF.js";
|
|
8
8
|
import "../chunk-B7J5UUUV.js";
|
|
9
9
|
import "../chunk-KYRDKK2D.js";
|
|
10
10
|
import "../chunk-WREYUH2E.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-AVTEPAWI.js";
|
|
12
12
|
import "../chunk-2ESYSVXG.js";
|
|
13
13
|
export {
|
|
14
14
|
buildDirectorContext
|
package/dist/authoring/scene.js
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
sceneTrackIdFor,
|
|
14
14
|
validateSceneAdd,
|
|
15
15
|
validateSceneUpdate
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-EGR6QWLX.js";
|
|
17
17
|
import {
|
|
18
18
|
SCENE_TRANSITION_KINDS,
|
|
19
19
|
collectSceneClipIssues,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
offFrameLattice,
|
|
23
23
|
readSceneSourceRef,
|
|
24
24
|
sceneClipShapeIssues
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-IRVRWQWD.js";
|
|
26
26
|
import "../chunk-2L7PYYJK.js";
|
|
27
27
|
import "../chunk-2ESYSVXG.js";
|
|
28
28
|
export {
|
package/dist/authoring/tools.js
CHANGED
|
@@ -6,18 +6,18 @@ import {
|
|
|
6
6
|
COMPOSE_ROLE_TOOLS,
|
|
7
7
|
COMPOSE_ROLE_TOOL_NAMES,
|
|
8
8
|
dispatchComposeRoleTool
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-HLW3P5ZP.js";
|
|
10
10
|
import "../chunk-JOURGVOR.js";
|
|
11
11
|
import "../chunk-7AZLFN26.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-CMC6MLR3.js";
|
|
13
|
+
import "../chunk-EGNTUGAM.js";
|
|
14
|
+
import "../chunk-AYZPTH7L.js";
|
|
15
15
|
import "../chunk-WPZKOVYF.js";
|
|
16
16
|
import "../chunk-B7J5UUUV.js";
|
|
17
17
|
import "../chunk-KYRDKK2D.js";
|
|
18
18
|
import "../chunk-WREYUH2E.js";
|
|
19
19
|
import "../chunk-7PA7FGLD.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-AVTEPAWI.js";
|
|
21
21
|
import "../chunk-2ESYSVXG.js";
|
|
22
22
|
export {
|
|
23
23
|
COMPOSE_MOTION_TOOLS,
|
package/dist/authoring.js
CHANGED
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
hasSceneOp,
|
|
5
5
|
isSceneOp,
|
|
6
6
|
materializeSceneOpsCore
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EGR6QWLX.js";
|
|
8
8
|
import {
|
|
9
9
|
ZERO_USAGE,
|
|
10
10
|
buildDirectorTools,
|
|
11
11
|
buildPlannerTools,
|
|
12
12
|
buildToolsFromSchemas,
|
|
13
13
|
extractProviderError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6A6AYPWO.js";
|
|
15
15
|
import {
|
|
16
16
|
COMPOSE_MOTION_TOOLS,
|
|
17
17
|
COMPOSE_MOTION_VERIFY_TOOLS,
|
|
@@ -20,14 +20,14 @@ import {
|
|
|
20
20
|
COMPOSE_ROLE_TOOLS,
|
|
21
21
|
COMPOSE_ROLE_TOOL_NAMES,
|
|
22
22
|
dispatchComposeRoleTool
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-HLW3P5ZP.js";
|
|
24
24
|
import {
|
|
25
25
|
AgentFixableCaptureError,
|
|
26
26
|
getExcludedTools
|
|
27
27
|
} from "./chunk-JOURGVOR.js";
|
|
28
28
|
import {
|
|
29
29
|
buildDirectorContext
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-6VTNIYSR.js";
|
|
31
31
|
import {
|
|
32
32
|
buildFastModel,
|
|
33
33
|
buildModel,
|
|
@@ -48,16 +48,16 @@ import {
|
|
|
48
48
|
formatPlanSteps,
|
|
49
49
|
initCodeGenPrompts
|
|
50
50
|
} from "./chunk-Y4HPN4BC.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-OSV6UUP3.js";
|
|
52
52
|
import {
|
|
53
53
|
cssLayoutVars
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-W5W3FDDI.js";
|
|
55
55
|
import "./chunk-ILO4NEZ3.js";
|
|
56
56
|
import "./chunk-7AZLFN26.js";
|
|
57
57
|
import "./chunk-VG2ND6PX.js";
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-CMC6MLR3.js";
|
|
59
|
+
import "./chunk-EGNTUGAM.js";
|
|
60
|
+
import "./chunk-AYZPTH7L.js";
|
|
61
61
|
import "./chunk-WPZKOVYF.js";
|
|
62
62
|
import "./chunk-B7J5UUUV.js";
|
|
63
63
|
import "./chunk-KYRDKK2D.js";
|
|
@@ -67,9 +67,9 @@ import "./chunk-7PA7FGLD.js";
|
|
|
67
67
|
import {
|
|
68
68
|
collectSceneClipIssues,
|
|
69
69
|
isSceneShotClip
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-IRVRWQWD.js";
|
|
71
71
|
import "./chunk-2L7PYYJK.js";
|
|
72
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-AVTEPAWI.js";
|
|
73
73
|
import "./chunk-2ESYSVXG.js";
|
|
74
74
|
|
|
75
75
|
// ../authoring/src/agent.ts
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
frostedGlassWipe,
|
|
3
|
+
spatialPush
|
|
4
|
+
} from "./chunk-QGAWDLYX.js";
|
|
1
5
|
import {
|
|
2
6
|
DashboardPopulate
|
|
3
7
|
} from "./chunk-S5H6GH6M.js";
|
|
@@ -7,10 +11,6 @@ import {
|
|
|
7
11
|
import {
|
|
8
12
|
EASING_BY_INTENT
|
|
9
13
|
} from "./chunk-MFHXCHRI.js";
|
|
10
|
-
import {
|
|
11
|
-
frostedGlassWipe,
|
|
12
|
-
spatialPush
|
|
13
|
-
} from "./chunk-QGAWDLYX.js";
|
|
14
14
|
import {
|
|
15
15
|
ACCENT,
|
|
16
16
|
ACCENT_SOFT,
|
|
@@ -43,14 +43,14 @@ import {
|
|
|
43
43
|
makeDefaultScreenTexture,
|
|
44
44
|
resolveCamera,
|
|
45
45
|
useImageTexture
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-XUU5PK6J.js";
|
|
47
47
|
import {
|
|
48
48
|
DEVICE_GLASS_OPACITY_ENCODED,
|
|
49
49
|
DeviceMesh,
|
|
50
50
|
StudioRig,
|
|
51
51
|
deviceDimensions,
|
|
52
52
|
laptopLayout
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-OAVJUZIC.js";
|
|
54
54
|
|
|
55
55
|
// ../execution/primitives/src/scenes/changelog-bite/index.tsx
|
|
56
56
|
import {
|
|
@@ -164,6 +164,37 @@ function admissibleFamilyForStack(stack) {
|
|
|
164
164
|
const resolved = bundledFamilyForStack(stack);
|
|
165
165
|
return resolved.kind === "bundled" ? resolved.family : stack;
|
|
166
166
|
}
|
|
167
|
+
function weightRanges(faces) {
|
|
168
|
+
return faces.map((face) => {
|
|
169
|
+
const parts = face.weight.split(/\s+/).map(Number);
|
|
170
|
+
const min = parts[0];
|
|
171
|
+
const max = parts.length > 1 ? parts[1] : min;
|
|
172
|
+
return { min, max };
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
function contentVersion(families) {
|
|
176
|
+
const json = JSON.stringify(families);
|
|
177
|
+
let hash = 2166136261;
|
|
178
|
+
for (let i = 0; i < json.length; i += 1) {
|
|
179
|
+
hash ^= json.charCodeAt(i);
|
|
180
|
+
hash = Math.imul(hash, 16777619) >>> 0;
|
|
181
|
+
}
|
|
182
|
+
return `v1-${hash.toString(16).padStart(8, "0")}`;
|
|
183
|
+
}
|
|
184
|
+
function vendoredFontCatalog() {
|
|
185
|
+
const aliased = new Set(ALIASED_FONT_FAMILIES);
|
|
186
|
+
const families = Object.keys(BUNDLED_FONT_FACES).sort((a, b) => a.localeCompare(b)).map((family) => {
|
|
187
|
+
const entry = BUNDLED_FONT_FACES[family];
|
|
188
|
+
return {
|
|
189
|
+
family,
|
|
190
|
+
weights: weightRanges(entry.faces),
|
|
191
|
+
styles: [BUNDLED_FONT_STYLE],
|
|
192
|
+
captionDefaults: entry.captionDefaults,
|
|
193
|
+
origin: aliased.has(family) ? "aliased" : "bundled"
|
|
194
|
+
};
|
|
195
|
+
});
|
|
196
|
+
return { manifestVersion: contentVersion(families), families };
|
|
197
|
+
}
|
|
167
198
|
|
|
168
199
|
// ../composition/src/fonts/captionFaces.ts
|
|
169
200
|
var CAPTION_FACE_DEFAULTS = Object.freeze({
|
|
@@ -411,6 +442,7 @@ export {
|
|
|
411
442
|
isGenericOnlyStack,
|
|
412
443
|
bundledFamilyForStack,
|
|
413
444
|
admissibleFamilyForStack,
|
|
445
|
+
vendoredFontCatalog,
|
|
414
446
|
CAPTION_FACE_DEFAULTS,
|
|
415
447
|
CAPTION_DEFAULT_FAMILY,
|
|
416
448
|
captionStackFamily,
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
Format,
|
|
5
5
|
GraphicRole,
|
|
6
6
|
OpaqueId
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AYZPTH7L.js";
|
|
8
8
|
import {
|
|
9
9
|
brandKitCaptionFaceIssues
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AVTEPAWI.js";
|
|
11
11
|
|
|
12
12
|
// ../composition/src/validators/composePlan.ts
|
|
13
13
|
import { z } from "zod";
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
sceneFullMipLevels,
|
|
52
52
|
sceneTextureBytes,
|
|
53
53
|
selectSceneBakeScale
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-IRVRWQWD.js";
|
|
55
55
|
import {
|
|
56
56
|
SCENE_CONTEXT_GL_BUDGET_BYTES,
|
|
57
57
|
SCENE_MAX_TRIANGLES,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
bundledFontFaceExists,
|
|
62
62
|
mergedCaptionFaceIssues,
|
|
63
63
|
unrenderableFaceField
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-AVTEPAWI.js";
|
|
65
65
|
|
|
66
66
|
// ../execution/core/src/render/sceneCaptureIdentity.ts
|
|
67
67
|
var INTENT_FIELDS = [
|