@cueframe/kernel 0.2.41 → 0.2.43
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/component-runtime/contracts.d.ts +19 -0
- package/dist/_members/component-runtime/contracts.d.ts.map +1 -1
- package/dist/_members/composition/floors/clips.d.ts +18 -0
- package/dist/_members/composition/floors/cohesionFloors.d.ts +31 -0
- package/dist/_members/composition/floors/craftFloors.d.ts +86 -0
- package/dist/_members/composition/floors/index.d.ts +24 -0
- package/dist/_members/composition/floors/occlusionFloor.d.ts +160 -0
- package/dist/_members/composition/floors/staticHold.d.ts +103 -0
- package/dist/_members/composition/floors/types.d.ts +52 -0
- package/dist/_members/composition/scene/introspection.d.ts +15 -0
- package/dist/_members/composition/scene/schema.d.ts +2 -8
- package/dist/_members/errors/registry.d.ts +6 -0
- package/dist/animate/preparation-facts.js +2 -2
- package/dist/animate.js +3 -3
- package/dist/authoring/scene.js +2 -2
- package/dist/authoring.js +2 -2
- package/dist/{chunk-JBWSK2YD.js → chunk-2PU2TSUG.js} +2 -2
- package/dist/{chunk-GA6NRDK3.js → chunk-46PFSJZE.js} +117 -75
- package/dist/{chunk-C7TTI7FP.js → chunk-62VTAA6O.js} +1 -1
- package/dist/{chunk-WAUVKF2F.js → chunk-7SXY6NFW.js} +4 -4
- package/dist/{chunk-XACXNDFL.js → chunk-CL5Y6V6K.js} +18 -16
- package/dist/{chunk-JRJQECCF.js → chunk-CZOVEX2D.js} +1 -1
- package/dist/chunk-JENEKKAM.js +571 -0
- package/dist/{chunk-5NGYBI5Z.js → chunk-JX7NKSJP.js} +1 -1
- package/dist/{chunk-4MK6YGKV.js → chunk-N2OZDD44.js} +4 -1
- package/dist/{chunk-L5XECASW.js → chunk-NPZWMZI6.js} +1 -1
- package/dist/{chunk-TE3PNQG6.js → chunk-O3SJTX6S.js} +2 -2
- package/dist/{chunk-JNOM4FW3.js → chunk-OZNULDQE.js} +1 -1
- package/dist/{chunk-5BAWOULP.js → chunk-PCCVZYAF.js} +2 -2
- package/dist/{chunk-CJF3KBJ5.js → chunk-RO57QD5M.js} +4 -4
- package/dist/{chunk-BLDL2EKL.js → chunk-SPF3AXTB.js} +8 -563
- package/dist/{chunk-QHLCJ3PE.js → chunk-UAOTQSS3.js} +4 -4
- package/dist/{chunk-ZVG446DJ.js → chunk-UGYYZBG4.js} +2 -0
- package/dist/{chunk-OBA6NW4S.js → chunk-XV2K3AQT.js} +1 -1
- package/dist/component-runtime/browserOptions.js +3 -3
- package/dist/component-runtime/contracts.js +3 -1
- package/dist/component-runtime/importPolicy.js +2 -2
- package/dist/component-runtime/render.js +5 -5
- package/dist/component-runtime/sourceAdmission.js +2 -2
- package/dist/component-runtime.js +9 -7
- package/dist/compose.js +21 -21
- package/dist/composition/floors.d.ts +1 -0
- package/dist/composition/floors.js +517 -0
- package/dist/composition/scene.js +1 -1
- package/dist/composition-ops.js +2 -2
- package/dist/core/render.js +2 -2
- package/dist/core.js +2 -2
- package/dist/mcp/adapter.js +2 -2
- package/dist/mcp/core.js +1 -1
- package/dist/mcp/scene-shot.d.ts +1 -0
- package/dist/mcp/scene-shot.js +18 -0
- package/dist/mcp/server.js +4 -3
- package/dist/mcp.js +4 -3
- package/dist/primitives/captions.js +3 -3
- package/dist/primitives/effects.js +5 -5
- package/dist/primitives/layouts.js +4 -4
- package/dist/primitives/lib/index.js +8 -8
- package/dist/primitives/lib.js +8 -8
- package/dist/primitives/scenes.js +4 -4
- package/dist/primitives/ui-blocks.js +4 -4
- package/dist/primitives.js +19 -19
- package/dist/render-harness.js +15 -15
- package/package.json +15 -7
- package/dist/{chunk-VLJOIUHL.js → chunk-B3GSTQLR.js} +6 -6
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EASING_BY_INTENT
|
|
3
|
-
} from "./chunk-MFHXCHRI.js";
|
|
4
1
|
import {
|
|
5
2
|
FitText
|
|
6
3
|
} from "./chunk-XHGZ2E77.js";
|
|
4
|
+
import {
|
|
5
|
+
EASING_BY_INTENT
|
|
6
|
+
} from "./chunk-MFHXCHRI.js";
|
|
7
7
|
import {
|
|
8
8
|
ACCENT,
|
|
9
9
|
ACCENT_STRONG,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
perspectiveFor,
|
|
27
27
|
resolveCamera,
|
|
28
28
|
useStage
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-2PU2TSUG.js";
|
|
30
30
|
|
|
31
31
|
// ../execution/primitives/src/effects/blur/index.tsx
|
|
32
32
|
import React2 from "react";
|
|
@@ -1134,6 +1134,20 @@ var SceneShotSpecV2Preflight = z.unknown().superRefine((value, ctx) => {
|
|
|
1134
1134
|
var SceneShotSpecV2 = SceneShotSpecV2Preflight.pipe(
|
|
1135
1135
|
SceneShotSpecV2Schema
|
|
1136
1136
|
);
|
|
1137
|
+
var SCENE_SHOT_SPEC_V2_DESCRIPTION = "A version-2 scene shot: a self-contained 3D world-object shot that scene.add / scene.update materializes into an ordinary component clip. The shot owns its layers, camera, lighting, backdrop and normalized local animation; the composition owns start, duration, ordering, cuts and transitions. Coordinates are REFERENCE PIXELS: origin at frame centre, +X right, +Y down, +Z toward the viewer. referenceSize must have the SAME aspect ratio as the composition format; mismatch fails instead of cropping. At equal aspect ratio the shot scales uniformly by outputWidth/referenceWidth. A segment's easing belongs to the keyframe it ARRIVES at; the first keyframe has no easing. Authoring limits: 32 layers, 4 devices, 16 distinct image slots, 256 keyframes per channel, 2048 keyframes per shot. Version 2 supports nested groups, procedural slab/page/phone/laptop objects, screen- and world-space text, admitted image/component/video surfaces, fixed photographic and generated studio environments, transparent/solid/linear/radial backdrops, constraints, focus, grain and vignette. Raw HTML, custom shader props, imported GLB models, arbitrary external HDR environments, skeletal animation and physics are refused with an exact field path.";
|
|
1138
|
+
var sceneShotJsonSchema = {
|
|
1139
|
+
...z.toJSONSchema(SceneShotSpecV2Schema, {
|
|
1140
|
+
target: "draft-2020-12",
|
|
1141
|
+
io: "input"
|
|
1142
|
+
}),
|
|
1143
|
+
description: SCENE_SHOT_SPEC_V2_DESCRIPTION
|
|
1144
|
+
};
|
|
1145
|
+
function sceneShotJsonSchemaText() {
|
|
1146
|
+
return `${JSON.stringify(sceneShotJsonSchema, null, 2)}
|
|
1147
|
+
`;
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
// ../composition/src/scene/introspection.ts
|
|
1137
1151
|
function parseSceneShotSpecV2(value) {
|
|
1138
1152
|
return SceneShotSpecV2.parse(value);
|
|
1139
1153
|
}
|
|
@@ -1172,18 +1186,6 @@ function sceneShotSurfaceCount(spec2) {
|
|
|
1172
1186
|
});
|
|
1173
1187
|
return count;
|
|
1174
1188
|
}
|
|
1175
|
-
var SCENE_SHOT_SPEC_V2_DESCRIPTION = "A version-2 scene shot: a self-contained 3D world-object shot that scene.add / scene.update materializes into an ordinary component clip. The shot owns its layers, camera, lighting, backdrop and normalized local animation; the composition owns start, duration, ordering, cuts and transitions. Coordinates are REFERENCE PIXELS: origin at frame centre, +X right, +Y down, +Z toward the viewer. referenceSize must have the SAME aspect ratio as the composition format; mismatch fails instead of cropping. At equal aspect ratio the shot scales uniformly by outputWidth/referenceWidth. A segment's easing belongs to the keyframe it ARRIVES at; the first keyframe has no easing. Authoring limits: 32 layers, 4 devices, 16 distinct image slots, 256 keyframes per channel, 2048 keyframes per shot. Version 2 supports nested groups, procedural slab/page/phone/laptop objects, screen- and world-space text, admitted image/component/video surfaces, fixed photographic and generated studio environments, transparent/solid/linear/radial backdrops, constraints, focus, grain and vignette. Raw HTML, custom shader props, imported GLB models, arbitrary external HDR environments, skeletal animation and physics are refused with an exact field path.";
|
|
1176
|
-
var sceneShotJsonSchema = {
|
|
1177
|
-
...z.toJSONSchema(SceneShotSpecV2Schema, {
|
|
1178
|
-
target: "draft-2020-12",
|
|
1179
|
-
io: "input"
|
|
1180
|
-
}),
|
|
1181
|
-
description: SCENE_SHOT_SPEC_V2_DESCRIPTION
|
|
1182
|
-
};
|
|
1183
|
-
function sceneShotJsonSchemaText() {
|
|
1184
|
-
return `${JSON.stringify(sceneShotJsonSchema, null, 2)}
|
|
1185
|
-
`;
|
|
1186
|
-
}
|
|
1187
1189
|
|
|
1188
1190
|
// ../composition/src/scene/animation.ts
|
|
1189
1191
|
function contentFrame(frame, durationInFrames) {
|
|
@@ -3394,6 +3396,10 @@ async function verifySealedSceneShotPlanV1(value, sha256) {
|
|
|
3394
3396
|
}
|
|
3395
3397
|
|
|
3396
3398
|
export {
|
|
3399
|
+
parseSceneShotSpecV2,
|
|
3400
|
+
sceneShotImageSlots,
|
|
3401
|
+
sceneShotVideoSlots,
|
|
3402
|
+
sceneShotSurfaceCount,
|
|
3397
3403
|
SCENE_SHOT_SPEC_VERSION,
|
|
3398
3404
|
SCENE_MAX_LAYERS,
|
|
3399
3405
|
SCENE_MAX_GROUP_DEPTH,
|
|
@@ -3441,10 +3447,6 @@ export {
|
|
|
3441
3447
|
SCENE_PRESET_SLOTS,
|
|
3442
3448
|
SCENE_PRESET_MATERIAL_ROLES,
|
|
3443
3449
|
SceneShotSpecV2,
|
|
3444
|
-
parseSceneShotSpecV2,
|
|
3445
|
-
sceneShotImageSlots,
|
|
3446
|
-
sceneShotVideoSlots,
|
|
3447
|
-
sceneShotSurfaceCount,
|
|
3448
3450
|
SCENE_SHOT_SPEC_V2_DESCRIPTION,
|
|
3449
3451
|
sceneShotJsonSchema,
|
|
3450
3452
|
sceneShotJsonSchemaText,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-W2245F6G.js";
|
|
25
25
|
import {
|
|
26
26
|
FlexLayout
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-2PU2TSUG.js";
|
|
28
28
|
|
|
29
29
|
// ../execution/primitives/src/layouts/chat-to-preview-layout/index.tsx
|
|
30
30
|
import { Easing, interpolate, useCurrentFrame, useVideoConfig } from "remotion";
|