@cueframe/kernel 0.2.59-rc.1 → 0.2.59-rc.3
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/componentBundleServer.d.ts +7 -2
- package/dist/_members/component-runtime/componentBundleServer.d.ts.map +1 -1
- package/dist/_members/component-runtime/contracts.d.ts +0 -14
- package/dist/_members/component-runtime/contracts.d.ts.map +1 -1
- package/dist/_members/component-runtime/template/schema.d.ts +0 -6
- package/dist/_members/component-runtime/template/schema.d.ts.map +1 -1
- package/dist/_members/composition/componentClip.d.ts +96 -0
- package/dist/_members/composition/depth.d.ts +1 -1
- package/dist/_members/composition/scene/clipRules.d.ts +1 -1
- package/dist/_members/composition/validators/composition.d.ts +0 -52
- package/dist/_members/composition/validators/graphicKinds.d.ts +1 -1
- package/dist/_members/composition-ops/{alphaLayers.d.ts → componentClips.d.ts} +3 -2
- package/dist/_members/composition-ops/index.d.ts +6 -28
- package/dist/_members/core/render/compositionRender.d.ts +6 -1
- package/dist/_members/core/render/trackProjection.d.ts +3 -1
- package/dist/_members/errors/registry.d.ts +12 -0
- package/dist/_members/mcp/generated/harness.d.ts +1 -1
- package/dist/animate/preparation-facts.js +2 -2
- package/dist/animate.js +3 -3
- package/dist/authoring/context.js +6 -6
- package/dist/authoring/motion.js +3 -2
- package/dist/authoring/scene.js +2 -2
- package/dist/authoring.js +12 -11
- package/dist/{chunk-ZCEYEIRB.js → chunk-3KFQM7DG.js} +1 -1
- package/dist/{chunk-JNBNDHEF.js → chunk-3SMYBRYD.js} +2 -2
- package/dist/{chunk-H2ZZXISB.js → chunk-6D3KCUWA.js} +1 -1
- package/dist/{chunk-BZVOCVQV.js → chunk-BLVSFN6J.js} +0 -17
- package/dist/{chunk-NECN7TT4.js → chunk-BR6QZZEI.js} +4 -4
- package/dist/{chunk-3JEUNKDK.js → chunk-CMPRHO6D.js} +1 -1
- package/dist/{chunk-CEO47DIE.js → chunk-D5QWWPDL.js} +2 -2
- package/dist/{chunk-AK6QPX7A.js → chunk-DBBKM74E.js} +22 -45
- package/dist/chunk-DPMS7I65.js +11 -0
- package/dist/{chunk-ONSGT6UJ.js → chunk-E2DVOSUE.js} +37 -10
- package/dist/{chunk-4WBSXHQA.js → chunk-EA3J5XUJ.js} +2 -2
- package/dist/{chunk-3HLDIIWA.js → chunk-F5UOF52Q.js} +1 -1
- package/dist/{chunk-I2HNC4PQ.js → chunk-FZCVNHML.js} +1 -1
- package/dist/{chunk-DCKADD5B.js → chunk-HEMRBFLN.js} +1 -1
- package/dist/{chunk-IUJABAG2.js → chunk-HOQ45246.js} +55 -39
- package/dist/{chunk-T56BK7NS.js → chunk-JRGALHBZ.js} +1 -1
- package/dist/{chunk-FZB7UX44.js → chunk-KEQTT67U.js} +7 -49
- package/dist/{chunk-4VBLQIM5.js → chunk-KRIEZVXX.js} +1 -1
- package/dist/{chunk-PLWDYWK6.js → chunk-KWWWMU5S.js} +1 -1
- package/dist/{chunk-IVFMOHAC.js → chunk-L53YKOK4.js} +5 -5
- package/dist/{chunk-XOT2VWCO.js → chunk-LRS32NU7.js} +6 -6
- package/dist/{chunk-6KZCXAYL.js → chunk-MRLC4HLJ.js} +1 -1
- package/dist/{chunk-P6RVYHLT.js → chunk-NASGAME6.js} +4 -4
- package/dist/{chunk-XQGQ5EFS.js → chunk-O3RHY4ZI.js} +2 -0
- package/dist/{chunk-WPZKOVYF.js → chunk-OL3ULF5Q.js} +1 -1
- package/dist/{chunk-AFUITAH6.js → chunk-S6YSOEK5.js} +3 -12
- package/dist/{chunk-U7KSOA2L.js → chunk-SBKCVRJB.js} +1 -1
- package/dist/{chunk-MMJYII7Y.js → chunk-SBWXIK5K.js} +4 -4
- package/dist/{chunk-7II5OM7R.js → chunk-TBZEIN45.js} +1 -1
- package/dist/{chunk-RWJHZCOR.js → chunk-TG756AMB.js} +2 -2
- package/dist/{chunk-X2RTLS6K.js → chunk-TPQA5TPU.js} +1 -1
- package/dist/{chunk-CL5Y6V6K.js → chunk-UB6Z7RY4.js} +3 -3
- package/dist/{chunk-KC4LNZL5.js → chunk-VSHAP22Q.js} +2 -2
- package/dist/{chunk-LVMWPFV4.js → chunk-VW22APZC.js} +1 -1
- package/dist/chunk-WHYTCQYZ.js +161 -0
- package/dist/{chunk-XV2K3AQT.js → chunk-WONOHP4G.js} +1 -1
- package/dist/{chunk-ZPJQ3TQL.js → chunk-WYMJ5RXC.js} +1 -1
- package/dist/{chunk-6HA55CRU.js → chunk-X7DGPNSV.js} +1 -1
- package/dist/{chunk-2K2GBFLU.js → chunk-Y2NR3Y6J.js} +1 -1
- package/dist/{chunk-UGWJC4GA.js → chunk-ZTJYOHS3.js} +1 -1
- package/dist/{chunk-6HPEMDQW.js → chunk-ZUCLQVXD.js} +1 -1
- package/dist/component-runtime/browserOptions.js +3 -3
- package/dist/component-runtime/contracts.js +3 -11
- 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/template/testing.js +11 -10
- package/dist/component-runtime/template.js +11 -10
- package/dist/component-runtime.js +8 -16
- package/dist/compose.js +11 -11
- package/dist/composition/component-clip.d.ts +1 -0
- package/dist/composition/component-clip.js +29 -0
- package/dist/composition/depth.js +3 -8
- package/dist/composition/graphics-plan.js +2 -2
- package/dist/composition/invariants.js +2 -2
- package/dist/composition/ops.js +5 -5
- package/dist/composition/projection.js +3 -2
- package/dist/composition/scene.js +1 -1
- package/dist/composition/timeline.js +2 -2
- package/dist/composition/validators/brand-kit-body.js +4 -4
- package/dist/composition/validators/graphic-kinds.js +1 -1
- package/dist/composition/validators.js +4 -6
- package/dist/composition-ops.js +17 -15
- package/dist/composition.js +9 -10
- package/dist/{context-7SWSVJ6Z.js → context-WOYP7QBB.js} +6 -6
- package/dist/core/render.js +9 -7
- package/dist/core/select.js +2 -2
- package/dist/core.js +9 -7
- package/dist/director/ai-sdk.js +3 -3
- package/dist/director/domain.js +2 -2
- package/dist/director.js +4 -4
- package/dist/errors.js +1 -1
- package/dist/mcp/adapter.js +3 -3
- package/dist/mcp/composition-ops.js +1 -1
- package/dist/mcp/core.js +1 -1
- package/dist/mcp/curation.js +1 -1
- package/dist/mcp/scene-shot.js +2 -2
- package/dist/mcp/server.js +6 -6
- package/dist/mcp.js +10 -10
- 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 +3 -3
- package/dist/primitives/lib.js +3 -3
- package/dist/primitives/scenes.js +4 -4
- package/dist/primitives/ui-blocks.js +2 -2
- package/dist/primitives.js +9 -9
- package/dist/render-harness/cardAssetAdmission.js +2 -2
- package/dist/render-harness/cardFonts.js +2 -2
- package/dist/render-harness.js +20 -18
- package/dist/{src-XI5MULKD.js → src-XYW7BEJ5.js} +17 -15
- package/package.json +16 -12
- package/dist/{chunk-UGEUB763.js → chunk-7PSQUTL5.js} +3 -3
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
slabTriangleCount,
|
|
20
20
|
takeSceneEnvironment,
|
|
21
21
|
useSceneActualResourceRegistrarV1
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WONOHP4G.js";
|
|
23
23
|
import {
|
|
24
24
|
PHOTOGRAPHIC_STUDIO_RIG_ID,
|
|
25
25
|
SCENE_SLAB_CONTENT_OFFSET,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
sceneTextureBytes,
|
|
32
32
|
sceneVideoMidpointAddressV1,
|
|
33
33
|
selectSceneBakeScale
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-UB6Z7RY4.js";
|
|
35
35
|
import {
|
|
36
36
|
resolveCaptionFaces
|
|
37
37
|
} from "./chunk-OOL7ZUG7.js";
|
|
@@ -1340,7 +1340,7 @@ function isTimelineClip(content) {
|
|
|
1340
1340
|
return "source" in content;
|
|
1341
1341
|
}
|
|
1342
1342
|
function isSceneShotClip(content, resolveSource) {
|
|
1343
|
-
if (!isTimelineClip(content) || content.source.kind !== "component"
|
|
1343
|
+
if (!isTimelineClip(content) || content.source.kind !== "component") return false;
|
|
1344
1344
|
const ref = readSceneSourceRef(content.source.props);
|
|
1345
1345
|
if (!ref) return false;
|
|
1346
1346
|
const declaration = resolveSource(content.source.componentId, ref.sourceVersionId);
|
|
@@ -1445,8 +1445,8 @@ function bindingIssues(spec2, assets, path, mediaKindById) {
|
|
|
1445
1445
|
function sceneClipShapeIssues(clip, ctx, options = {}) {
|
|
1446
1446
|
const issues = [];
|
|
1447
1447
|
const source = clip.source;
|
|
1448
|
-
if (source.kind !== "component"
|
|
1449
|
-
return [{ path: "source.kind", detail: `a scene shot is a 'component'
|
|
1448
|
+
if (source.kind !== "component") {
|
|
1449
|
+
return [{ path: "source.kind", detail: `a scene shot is a 'component' clip; got '${source.kind}'.`, code: "invalid_composition" }];
|
|
1450
1450
|
}
|
|
1451
1451
|
if (source.zPlane !== void 0 && source.zPlane !== "front") {
|
|
1452
1452
|
issues.push({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ComponentHostAttestationV2,
|
|
3
3
|
ComponentRuntimeError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BLVSFN6J.js";
|
|
5
5
|
import {
|
|
6
6
|
canonicalJson
|
|
7
7
|
} from "./chunk-XHMKPTHV.js";
|
|
8
8
|
import {
|
|
9
9
|
STUDIO_SHADOW_MAP_BUDGET
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UB6Z7RY4.js";
|
|
11
11
|
|
|
12
12
|
// ../execution/component-runtime/src/webglProbe.ts
|
|
13
13
|
function webglBackend(platform, hardware) {
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
// ../composition/src/componentClip.ts
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
var ComponentSourceRefV1 = z.object({
|
|
4
|
+
version: z.literal(1),
|
|
5
|
+
sourceVersionId: z.string().regex(/^[a-f0-9]{64}$/)
|
|
6
|
+
}).strict();
|
|
7
|
+
var COMPONENT_SOURCE_REF_PROP = "componentRef";
|
|
8
|
+
var COMPONENT_RENDER_SEED_PROP = "renderSeed";
|
|
9
|
+
function readComponentSourceRef(props) {
|
|
10
|
+
const parsed = ComponentSourceRefV1.safeParse(props[COMPONENT_SOURCE_REF_PROP]);
|
|
11
|
+
return parsed.success ? parsed.data : null;
|
|
12
|
+
}
|
|
13
|
+
function authoredComponentProps(props) {
|
|
14
|
+
const { [COMPONENT_SOURCE_REF_PROP]: _ref, [COMPONENT_RENDER_SEED_PROP]: _seed, ...authored } = props;
|
|
15
|
+
return authored;
|
|
16
|
+
}
|
|
17
|
+
var COMPONENT_SOURCE_UNPINNED = "component_source_unpinned";
|
|
18
|
+
function componentClipRenderInput(clip) {
|
|
19
|
+
const ref = readComponentSourceRef(clip.props);
|
|
20
|
+
if (!ref) {
|
|
21
|
+
return {
|
|
22
|
+
ok: false,
|
|
23
|
+
refusal: {
|
|
24
|
+
code: COMPONENT_SOURCE_UNPINNED,
|
|
25
|
+
message: `component clip ${clip.id} of '${clip.componentId}' pins no immutable source version (props.componentRef)`
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
const seed = clip.props[COMPONENT_RENDER_SEED_PROP];
|
|
30
|
+
if (seed !== void 0 && (typeof seed !== "string" || seed.length === 0)) {
|
|
31
|
+
return {
|
|
32
|
+
ok: false,
|
|
33
|
+
refusal: { code: "invalid_composition", message: `component clip ${clip.id}: props.renderSeed must be a non-empty string` }
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
ok: true,
|
|
38
|
+
input: {
|
|
39
|
+
sourceVersionId: ref.sourceVersionId,
|
|
40
|
+
params: authoredComponentProps(clip.props),
|
|
41
|
+
seed: seed ?? `${clip.componentId}:${clip.id}`
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function sceneSurfacePins(scene) {
|
|
46
|
+
const pins = [];
|
|
47
|
+
const visit = (objects, prefix) => {
|
|
48
|
+
if (!Array.isArray(objects)) return;
|
|
49
|
+
objects.forEach((candidate, index) => {
|
|
50
|
+
if (!candidate || typeof candidate !== "object") return;
|
|
51
|
+
const object = candidate;
|
|
52
|
+
const path = `${prefix}.${index}`;
|
|
53
|
+
if (object.kind === "group") visit(object.children, `${path}.children`);
|
|
54
|
+
const surfaces = object.surfaces;
|
|
55
|
+
if (!surfaces || typeof surfaces !== "object") return;
|
|
56
|
+
for (const [slot, raw] of Object.entries(surfaces)) {
|
|
57
|
+
if (!raw || typeof raw !== "object" || raw.source !== "component") continue;
|
|
58
|
+
const component = raw.component;
|
|
59
|
+
pins.push({
|
|
60
|
+
surfacePath: `${path}.surfaces.${slot}`,
|
|
61
|
+
componentId: typeof component?.componentId === "string" ? component.componentId : "",
|
|
62
|
+
sourceVersionId: typeof component?.sourceVersionId === "string" ? component.sourceVersionId : ""
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
};
|
|
67
|
+
visit(scene?.layers, "layers");
|
|
68
|
+
return pins;
|
|
69
|
+
}
|
|
70
|
+
function compositionComponentPins(composition) {
|
|
71
|
+
const pins = /* @__PURE__ */ new Map();
|
|
72
|
+
const add = ({ componentId, sourceVersionId }) => {
|
|
73
|
+
if (componentId && sourceVersionId) pins.set(`${componentId}:${sourceVersionId}`, { componentId, sourceVersionId });
|
|
74
|
+
};
|
|
75
|
+
for (const track of composition.tracks) {
|
|
76
|
+
for (const clip of track.contents) {
|
|
77
|
+
const source = clip.source;
|
|
78
|
+
if (source?.kind !== "component" || typeof source.componentId !== "string") continue;
|
|
79
|
+
const props = source.props ?? {};
|
|
80
|
+
const ref = readComponentSourceRef(props);
|
|
81
|
+
if (ref) add({ componentId: source.componentId, sourceVersionId: ref.sourceVersionId });
|
|
82
|
+
for (const pin of sceneSurfacePins(authoredComponentProps(props).scene)) add(pin);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return [...pins.values()];
|
|
86
|
+
}
|
|
87
|
+
function repinnedScene(scene, repin) {
|
|
88
|
+
let moved = 0;
|
|
89
|
+
const visit = (objects) => {
|
|
90
|
+
if (!Array.isArray(objects)) return objects;
|
|
91
|
+
return objects.map((candidate) => {
|
|
92
|
+
if (!candidate || typeof candidate !== "object") return candidate;
|
|
93
|
+
let object = candidate;
|
|
94
|
+
if (object.kind === "group") object = { ...object, children: visit(object.children) };
|
|
95
|
+
const surfaces = object.surfaces;
|
|
96
|
+
if (!surfaces || typeof surfaces !== "object") return object;
|
|
97
|
+
const next = {};
|
|
98
|
+
for (const [slot, raw] of Object.entries(surfaces)) {
|
|
99
|
+
const surface = raw;
|
|
100
|
+
const component = surface?.component;
|
|
101
|
+
if (surface?.source === "component" && component?.componentId === repin.componentId && component.sourceVersionId === repin.from) {
|
|
102
|
+
next[slot] = { ...surface, component: { ...component, sourceVersionId: repin.to } };
|
|
103
|
+
moved += 1;
|
|
104
|
+
} else {
|
|
105
|
+
next[slot] = raw;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
return { ...object, surfaces: next };
|
|
109
|
+
});
|
|
110
|
+
};
|
|
111
|
+
if (!scene || typeof scene !== "object" || !("layers" in scene)) return { scene, moved: 0 };
|
|
112
|
+
const layers = visit(scene.layers);
|
|
113
|
+
return moved === 0 ? { scene, moved: 0 } : { scene: { ...scene, layers }, moved };
|
|
114
|
+
}
|
|
115
|
+
function repinnedComponentProps(clipComponentId, props, repin) {
|
|
116
|
+
let next = props;
|
|
117
|
+
let moved = 0;
|
|
118
|
+
if (clipComponentId === repin.componentId && readComponentSourceRef(props)?.sourceVersionId === repin.from) {
|
|
119
|
+
next = { ...next, [COMPONENT_SOURCE_REF_PROP]: { version: 1, sourceVersionId: repin.to } };
|
|
120
|
+
moved += 1;
|
|
121
|
+
}
|
|
122
|
+
const nested = repinnedScene(props.scene, repin);
|
|
123
|
+
if (nested.moved > 0) {
|
|
124
|
+
next = { ...next, scene: nested.scene };
|
|
125
|
+
moved += nested.moved;
|
|
126
|
+
}
|
|
127
|
+
return { props: next, moved };
|
|
128
|
+
}
|
|
129
|
+
function componentPinCount(composition, componentId, sourceVersionId) {
|
|
130
|
+
let count = 0;
|
|
131
|
+
for (const track of composition.tracks) {
|
|
132
|
+
for (const clip of track.contents) {
|
|
133
|
+
const source = clip.source;
|
|
134
|
+
if (source?.kind !== "component" || typeof source.componentId !== "string") continue;
|
|
135
|
+
count += placedPinCount(source.componentId, source.props ?? {}, componentId, sourceVersionId);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
return count;
|
|
139
|
+
}
|
|
140
|
+
function placedPinCount(clipComponentId, props, componentId, sourceVersionId) {
|
|
141
|
+
const own = clipComponentId === componentId && readComponentSourceRef(props)?.sourceVersionId === sourceVersionId ? 1 : 0;
|
|
142
|
+
const nested = sceneSurfacePins(authoredComponentProps(props).scene).filter(
|
|
143
|
+
(pin) => pin.componentId === componentId && pin.sourceVersionId === sourceVersionId
|
|
144
|
+
).length;
|
|
145
|
+
return own + nested;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export {
|
|
149
|
+
ComponentSourceRefV1,
|
|
150
|
+
COMPONENT_SOURCE_REF_PROP,
|
|
151
|
+
COMPONENT_RENDER_SEED_PROP,
|
|
152
|
+
readComponentSourceRef,
|
|
153
|
+
authoredComponentProps,
|
|
154
|
+
COMPONENT_SOURCE_UNPINNED,
|
|
155
|
+
componentClipRenderInput,
|
|
156
|
+
sceneSurfacePins,
|
|
157
|
+
compositionComponentPins,
|
|
158
|
+
repinnedComponentProps,
|
|
159
|
+
componentPinCount,
|
|
160
|
+
placedPinCount
|
|
161
|
+
};
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
componentBrowserOptions,
|
|
5
5
|
resolvedComponentRenderer,
|
|
6
6
|
webglBackend
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-VSHAP22Q.js";
|
|
8
|
+
import "../chunk-BLVSFN6J.js";
|
|
9
9
|
import "../chunk-XHMKPTHV.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-UB6Z7RY4.js";
|
|
11
11
|
import "../chunk-2L7PYYJK.js";
|
|
12
12
|
import "../chunk-U67V476Y.js";
|
|
13
13
|
export {
|
|
@@ -4,7 +4,6 @@ import {
|
|
|
4
4
|
COMPONENT_PREVIEW_REQUEST_VERSION,
|
|
5
5
|
COMPONENT_RECEIPT_VERSION,
|
|
6
6
|
COMPONENT_RUNTIME_ERROR_CODES,
|
|
7
|
-
COMPONENT_SOURCE_REF_PROP,
|
|
8
7
|
COMPONENT_SOURCE_VERSION,
|
|
9
8
|
ComponentAssetBindingV2,
|
|
10
9
|
ComponentAssetDeclarationV2,
|
|
@@ -28,17 +27,14 @@ import {
|
|
|
28
27
|
ComponentRendererConfigV2,
|
|
29
28
|
ComponentRuntimeError,
|
|
30
29
|
ComponentRuntimeErrorCode,
|
|
31
|
-
ComponentSourceRefV1,
|
|
32
30
|
ComponentSourceV2,
|
|
33
31
|
ComponentStillPngContainerFactsV1,
|
|
34
32
|
ComponentStillSessionAttestationV1,
|
|
35
33
|
ComponentStillSessionHostAttestationV1,
|
|
36
34
|
SceneShotCapabilityV2,
|
|
37
35
|
assertGraphicsReceiptMatches,
|
|
38
|
-
assertRendererReceiptMatches
|
|
39
|
-
|
|
40
|
-
readComponentSourceRef
|
|
41
|
-
} from "../chunk-BZVOCVQV.js";
|
|
36
|
+
assertRendererReceiptMatches
|
|
37
|
+
} from "../chunk-BLVSFN6J.js";
|
|
42
38
|
import "../chunk-U67V476Y.js";
|
|
43
39
|
export {
|
|
44
40
|
CANVAS2D_COMPONENT_MANIFEST_V2,
|
|
@@ -46,7 +42,6 @@ export {
|
|
|
46
42
|
COMPONENT_PREVIEW_REQUEST_VERSION,
|
|
47
43
|
COMPONENT_RECEIPT_VERSION,
|
|
48
44
|
COMPONENT_RUNTIME_ERROR_CODES,
|
|
49
|
-
COMPONENT_SOURCE_REF_PROP,
|
|
50
45
|
COMPONENT_SOURCE_VERSION,
|
|
51
46
|
ComponentAssetBindingV2,
|
|
52
47
|
ComponentAssetDeclarationV2,
|
|
@@ -70,14 +65,11 @@ export {
|
|
|
70
65
|
ComponentRendererConfigV2,
|
|
71
66
|
ComponentRuntimeError,
|
|
72
67
|
ComponentRuntimeErrorCode,
|
|
73
|
-
ComponentSourceRefV1,
|
|
74
68
|
ComponentSourceV2,
|
|
75
69
|
ComponentStillPngContainerFactsV1,
|
|
76
70
|
ComponentStillSessionAttestationV1,
|
|
77
71
|
ComponentStillSessionHostAttestationV1,
|
|
78
72
|
SceneShotCapabilityV2,
|
|
79
73
|
assertGraphicsReceiptMatches,
|
|
80
|
-
assertRendererReceiptMatches
|
|
81
|
-
authoredComponentProps,
|
|
82
|
-
readComponentSourceRef
|
|
74
|
+
assertRendererReceiptMatches
|
|
83
75
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
COMPONENT_IMPORT_ALLOWLIST,
|
|
3
3
|
assertComponentImportsAllowed
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-ZTJYOHS3.js";
|
|
5
|
+
import "../chunk-BLVSFN6J.js";
|
|
6
6
|
import "../chunk-U67V476Y.js";
|
|
7
7
|
export {
|
|
8
8
|
COMPONENT_IMPORT_ALLOWLIST,
|
|
@@ -26,15 +26,15 @@ import {
|
|
|
26
26
|
stagedBrowserLocator,
|
|
27
27
|
verifyLocalStagedBrowser,
|
|
28
28
|
vp9AlphaFfmpegOverride
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-DBBKM74E.js";
|
|
30
30
|
import "../chunk-WB2VFDQZ.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-VSHAP22Q.js";
|
|
32
32
|
import "../chunk-F6PLDBAK.js";
|
|
33
33
|
import "../chunk-FKSXKS35.js";
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-ZTJYOHS3.js";
|
|
35
|
+
import "../chunk-BLVSFN6J.js";
|
|
36
36
|
import "../chunk-XHMKPTHV.js";
|
|
37
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-UB6Z7RY4.js";
|
|
38
38
|
import "../chunk-2L7PYYJK.js";
|
|
39
39
|
import "../chunk-OOL7ZUG7.js";
|
|
40
40
|
import "../chunk-U67V476Y.js";
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
describeMissingAssetReads,
|
|
4
4
|
missingDeclaredAssetHandleReads,
|
|
5
5
|
sourceAssetReads
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-ZUCLQVXD.js";
|
|
7
|
+
import "../chunk-BLVSFN6J.js";
|
|
8
8
|
import "../chunk-U67V476Y.js";
|
|
9
9
|
export {
|
|
10
10
|
assertSourceReadsDeclaredAssets,
|
|
@@ -2,31 +2,32 @@ import {
|
|
|
2
2
|
bindTemplate,
|
|
3
3
|
findReferences,
|
|
4
4
|
parseTemplateDocument
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-BR6QZZEI.js";
|
|
6
|
+
import "../../chunk-D5QWWPDL.js";
|
|
7
7
|
import {
|
|
8
8
|
contractFacts
|
|
9
9
|
} from "../../chunk-XR76OZKC.js";
|
|
10
10
|
import {
|
|
11
11
|
CANVAS2D_COMPONENT_MANIFEST_V2
|
|
12
|
-
} from "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-
|
|
16
|
-
import "../../chunk-
|
|
12
|
+
} from "../../chunk-BLVSFN6J.js";
|
|
13
|
+
import "../../chunk-3KFQM7DG.js";
|
|
14
|
+
import "../../chunk-MRLC4HLJ.js";
|
|
15
|
+
import "../../chunk-S6YSOEK5.js";
|
|
16
|
+
import "../../chunk-OL3ULF5Q.js";
|
|
17
17
|
import "../../chunk-B7J5UUUV.js";
|
|
18
18
|
import "../../chunk-EQH37KNZ.js";
|
|
19
19
|
import "../../chunk-WREYUH2E.js";
|
|
20
20
|
import {
|
|
21
21
|
CURRENT_MATTE_BAKE_VERSION
|
|
22
|
-
} from "../../chunk-
|
|
22
|
+
} from "../../chunk-L53YKOK4.js";
|
|
23
|
+
import "../../chunk-DPMS7I65.js";
|
|
23
24
|
import "../../chunk-DKBFAQCW.js";
|
|
24
25
|
import "../../chunk-ILO4NEZ3.js";
|
|
25
|
-
import "../../chunk-
|
|
26
|
+
import "../../chunk-O3RHY4ZI.js";
|
|
26
27
|
import "../../chunk-VG2ND6PX.js";
|
|
27
28
|
import {
|
|
28
29
|
parseSceneShotSpecV2
|
|
29
|
-
} from "../../chunk-
|
|
30
|
+
} from "../../chunk-UB6Z7RY4.js";
|
|
30
31
|
import "../../chunk-2L7PYYJK.js";
|
|
31
32
|
import "../../chunk-OOL7ZUG7.js";
|
|
32
33
|
import "../../chunk-U67V476Y.js";
|
|
@@ -10,24 +10,25 @@ import {
|
|
|
10
10
|
coerceParameterValue,
|
|
11
11
|
findReferences,
|
|
12
12
|
parseTemplateDocument
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
13
|
+
} from "../chunk-BR6QZZEI.js";
|
|
14
|
+
import "../chunk-D5QWWPDL.js";
|
|
15
|
+
import "../chunk-BLVSFN6J.js";
|
|
16
|
+
import "../chunk-3KFQM7DG.js";
|
|
17
|
+
import "../chunk-MRLC4HLJ.js";
|
|
18
|
+
import "../chunk-S6YSOEK5.js";
|
|
19
|
+
import "../chunk-OL3ULF5Q.js";
|
|
20
20
|
import "../chunk-B7J5UUUV.js";
|
|
21
21
|
import "../chunk-EQH37KNZ.js";
|
|
22
22
|
import "../chunk-WREYUH2E.js";
|
|
23
23
|
import {
|
|
24
24
|
CURRENT_MATTE_BAKE_VERSION
|
|
25
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-L53YKOK4.js";
|
|
26
|
+
import "../chunk-DPMS7I65.js";
|
|
26
27
|
import "../chunk-DKBFAQCW.js";
|
|
27
28
|
import "../chunk-ILO4NEZ3.js";
|
|
28
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-O3RHY4ZI.js";
|
|
29
30
|
import "../chunk-VG2ND6PX.js";
|
|
30
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-UB6Z7RY4.js";
|
|
31
32
|
import "../chunk-2L7PYYJK.js";
|
|
32
33
|
import "../chunk-OOL7ZUG7.js";
|
|
33
34
|
import "../chunk-U67V476Y.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
sourceIdentityForBake,
|
|
8
8
|
startComponentAssetServer,
|
|
9
9
|
verifyComponentOutput
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NASGAME6.js";
|
|
11
11
|
import {
|
|
12
12
|
COMPONENT_BROWSER_CLEANUP_TIMEOUT_MS,
|
|
13
13
|
COMPONENT_BROWSER_FIREWALL_ATTEMPTS,
|
|
@@ -47,14 +47,14 @@ import {
|
|
|
47
47
|
stagedBrowserLocator,
|
|
48
48
|
verifyLocalStagedBrowser,
|
|
49
49
|
vp9AlphaFfmpegOverride
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-DBBKM74E.js";
|
|
51
51
|
import "./chunk-WB2VFDQZ.js";
|
|
52
52
|
import {
|
|
53
53
|
assertSourceReadsDeclaredAssets,
|
|
54
54
|
describeMissingAssetReads,
|
|
55
55
|
missingDeclaredAssetHandleReads,
|
|
56
56
|
sourceAssetReads
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-ZUCLQVXD.js";
|
|
58
58
|
import {
|
|
59
59
|
HALF_FLOAT_COLOR_TARGET_EXTENSIONS,
|
|
60
60
|
admittedHost,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
resolvedComponentRenderer,
|
|
68
68
|
webGlRefusal,
|
|
69
69
|
webglBackend
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-VSHAP22Q.js";
|
|
71
71
|
import {
|
|
72
72
|
componentArtifactId,
|
|
73
73
|
componentBundleId,
|
|
@@ -81,14 +81,13 @@ import {
|
|
|
81
81
|
import {
|
|
82
82
|
COMPONENT_IMPORT_ALLOWLIST,
|
|
83
83
|
assertComponentImportsAllowed
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-ZTJYOHS3.js";
|
|
85
85
|
import {
|
|
86
86
|
CANVAS2D_COMPONENT_MANIFEST_V2,
|
|
87
87
|
COMPONENT_BUNDLE_VERSION,
|
|
88
88
|
COMPONENT_PREVIEW_REQUEST_VERSION,
|
|
89
89
|
COMPONENT_RECEIPT_VERSION,
|
|
90
90
|
COMPONENT_RUNTIME_ERROR_CODES,
|
|
91
|
-
COMPONENT_SOURCE_REF_PROP,
|
|
92
91
|
COMPONENT_SOURCE_VERSION,
|
|
93
92
|
ComponentAssetBindingV2,
|
|
94
93
|
ComponentAssetDeclarationV2,
|
|
@@ -112,24 +111,21 @@ import {
|
|
|
112
111
|
ComponentRendererConfigV2,
|
|
113
112
|
ComponentRuntimeError,
|
|
114
113
|
ComponentRuntimeErrorCode,
|
|
115
|
-
ComponentSourceRefV1,
|
|
116
114
|
ComponentSourceV2,
|
|
117
115
|
ComponentStillPngContainerFactsV1,
|
|
118
116
|
ComponentStillSessionAttestationV1,
|
|
119
117
|
ComponentStillSessionHostAttestationV1,
|
|
120
118
|
SceneShotCapabilityV2,
|
|
121
119
|
assertGraphicsReceiptMatches,
|
|
122
|
-
assertRendererReceiptMatches
|
|
123
|
-
|
|
124
|
-
readComponentSourceRef
|
|
125
|
-
} from "./chunk-BZVOCVQV.js";
|
|
120
|
+
assertRendererReceiptMatches
|
|
121
|
+
} from "./chunk-BLVSFN6J.js";
|
|
126
122
|
import {
|
|
127
123
|
COMPONENT_MEDIA_HEADROOM,
|
|
128
124
|
COMPONENT_MEDIA_TIERS,
|
|
129
125
|
planComponentMediaRepresentation
|
|
130
126
|
} from "./chunk-BVA3537Z.js";
|
|
131
127
|
import "./chunk-XHMKPTHV.js";
|
|
132
|
-
import "./chunk-
|
|
128
|
+
import "./chunk-UB6Z7RY4.js";
|
|
133
129
|
import "./chunk-2L7PYYJK.js";
|
|
134
130
|
import "./chunk-OOL7ZUG7.js";
|
|
135
131
|
import "./chunk-U67V476Y.js";
|
|
@@ -146,7 +142,6 @@ export {
|
|
|
146
142
|
COMPONENT_PREVIEW_REQUEST_VERSION,
|
|
147
143
|
COMPONENT_RECEIPT_VERSION,
|
|
148
144
|
COMPONENT_RUNTIME_ERROR_CODES,
|
|
149
|
-
COMPONENT_SOURCE_REF_PROP,
|
|
150
145
|
COMPONENT_SOURCE_VERSION,
|
|
151
146
|
COMPONENT_STILL_RUNTIME_IDENTITY,
|
|
152
147
|
ComponentAssetBindingV2,
|
|
@@ -171,7 +166,6 @@ export {
|
|
|
171
166
|
ComponentRendererConfigV2,
|
|
172
167
|
ComponentRuntimeError,
|
|
173
168
|
ComponentRuntimeErrorCode,
|
|
174
|
-
ComponentSourceRefV1,
|
|
175
169
|
ComponentSourceV2,
|
|
176
170
|
ComponentStillPngContainerFactsV1,
|
|
177
171
|
ComponentStillSessionAttestationV1,
|
|
@@ -198,7 +192,6 @@ export {
|
|
|
198
192
|
assertSceneShotCapabilitySupported,
|
|
199
193
|
assertSceneShotParamsAdmitted,
|
|
200
194
|
assertSourceReadsDeclaredAssets,
|
|
201
|
-
authoredComponentProps,
|
|
202
195
|
bakeComponentAlphaV2,
|
|
203
196
|
bakeOpacityContradictsPolicy,
|
|
204
197
|
buildLocalWebpackOverride,
|
|
@@ -222,7 +215,6 @@ export {
|
|
|
222
215
|
parseAlphaOpaqueFractions,
|
|
223
216
|
parseGraphicsAttestationLog,
|
|
224
217
|
planComponentMediaRepresentation,
|
|
225
|
-
readComponentSourceRef,
|
|
226
218
|
readGpuAttestation,
|
|
227
219
|
readMaterializedComponentSource,
|
|
228
220
|
readWebGlAttestation,
|
package/dist/compose.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./chunk-JVDUSOYG.js";
|
|
2
|
+
import "./chunk-JQMPHKLU.js";
|
|
2
3
|
import "./chunk-ZZRBKGDA.js";
|
|
3
4
|
import {
|
|
4
5
|
isContrastCritical
|
|
5
6
|
} from "./chunk-3VWJ3H4X.js";
|
|
6
|
-
import "./chunk-JQMPHKLU.js";
|
|
7
7
|
import "./chunk-GULDS3VE.js";
|
|
8
8
|
import {
|
|
9
9
|
catalog as catalog7
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3SMYBRYD.js";
|
|
11
11
|
import {
|
|
12
12
|
catalog
|
|
13
13
|
} from "./chunk-CAF7BRNE.js";
|
|
@@ -19,14 +19,16 @@ import {
|
|
|
19
19
|
import "./chunk-QGAWDLYX.js";
|
|
20
20
|
import {
|
|
21
21
|
catalog as catalog6
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-7PSQUTL5.js";
|
|
23
23
|
import "./chunk-3Z7CN54H.js";
|
|
24
|
+
import "./chunk-QAGGJHAF.js";
|
|
24
25
|
import {
|
|
25
26
|
catalog as catalog5
|
|
26
27
|
} from "./chunk-2PAP5LO5.js";
|
|
27
28
|
import {
|
|
28
29
|
catalog as catalog2
|
|
29
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-SBWXIK5K.js";
|
|
31
|
+
import "./chunk-MFHXCHRI.js";
|
|
30
32
|
import {
|
|
31
33
|
catalog as catalog8
|
|
32
34
|
} from "./chunk-RQRPSSRT.js";
|
|
@@ -35,13 +37,11 @@ import "./chunk-R642352J.js";
|
|
|
35
37
|
import "./chunk-ZFEXATWN.js";
|
|
36
38
|
import {
|
|
37
39
|
catalog as catalog4
|
|
38
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-CMPRHO6D.js";
|
|
39
41
|
import "./chunk-XHGZ2E77.js";
|
|
40
|
-
import "./chunk-QAGGJHAF.js";
|
|
41
|
-
import "./chunk-MFHXCHRI.js";
|
|
42
42
|
import "./chunk-WTQRLFR2.js";
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-TG756AMB.js";
|
|
44
|
+
import "./chunk-WONOHP4G.js";
|
|
45
45
|
import {
|
|
46
46
|
getPrimitiveSubtextParam,
|
|
47
47
|
getPrimitiveText,
|
|
@@ -51,12 +51,12 @@ import {
|
|
|
51
51
|
import {
|
|
52
52
|
CueframeError,
|
|
53
53
|
encodeError
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-O3RHY4ZI.js";
|
|
55
55
|
import "./chunk-7PA7FGLD.js";
|
|
56
56
|
import {
|
|
57
57
|
NEUTRAL_RAMP
|
|
58
58
|
} from "./chunk-VG2ND6PX.js";
|
|
59
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-UB6Z7RY4.js";
|
|
60
60
|
import "./chunk-2L7PYYJK.js";
|
|
61
61
|
import "./chunk-OOL7ZUG7.js";
|
|
62
62
|
import "./chunk-U67V476Y.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../_members/composition/componentClip.js";
|