@cueframe/kernel 0.2.5 → 0.2.7
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/bake.d.ts.map +1 -1
- package/dist/_members/composition/scene/clipRules.d.ts +1 -1
- package/dist/_members/mcp/server.d.ts +1 -4
- 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-VCSSJLOU.js → chunk-3DDRQWWR.js} +9 -6
- package/dist/{chunk-E7GIZEPS.js → chunk-3V75A6UH.js} +1 -1
- package/dist/chunk-6FIJJ6GN.js +3619 -0
- package/dist/{chunk-6EWRIAZA.js → chunk-ARCGJUCQ.js} +1 -1
- package/dist/{chunk-WIHXXF3X.js → chunk-DHL55ZBJ.js} +1 -1
- package/dist/{chunk-DQLYWNLC.js → chunk-GP2SCGCH.js} +2 -2
- package/dist/{chunk-VKATKWWR.js → chunk-JDOO6GTW.js} +1 -1
- package/dist/{chunk-7W6ZIKWV.js → chunk-LNGDWWYU.js} +1 -1
- package/dist/{chunk-I5QWBM3M.js → chunk-LO6X2NMI.js} +2 -2
- package/dist/{chunk-MH3UPKWR.js → chunk-M2CXETU3.js} +19 -7
- package/dist/{chunk-5DJ3IEJR.js → chunk-M5QETDOL.js} +2 -2
- package/dist/{chunk-QS36DMFG.js → chunk-SKQR5KAL.js} +1 -1
- package/dist/chunk-TECEMBCI.js +9440 -0
- package/dist/{chunk-YFSBFCXO.js → chunk-VTREDSYF.js} +1 -1
- package/dist/component-runtime/browserOptions.js +2 -2
- package/dist/component-runtime/render.js +3 -3
- package/dist/component-runtime.js +4 -4
- package/dist/compose.js +14 -14
- 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/server.js +3 -3
- package/dist/mcp.js +3 -3
- package/dist/primitives/effects.js +4 -4
- package/dist/primitives/layouts.js +4 -4
- package/dist/primitives/scenes.js +4 -4
- package/dist/primitives.js +14 -14
- package/dist/render-harness.js +9 -9
- package/package.json +10 -10
- package/dist/_members/mcp/generated/inputSchemas.d.ts +0 -1
- package/dist/_members/mcp/inputSchemas.d.ts +0 -6
- package/dist/chunk-6BVVCRRD.js +0 -26488
- package/dist/chunk-KQDZAHLP.js +0 -3637
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bake.d.ts","sourceRoot":"","sources":["../src/bake.ts"],"names":[],"mappings":"AAEA,OAAO,EAQL,KAAK,sBAAsB,IAAI,WAAW,EAC1C,KAAK,kBAAkB,IAAI,OAAO,EAClC,KAAK,wBAAwB,IAAI,aAAa,EAC/C,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,yBAAyB,EAAE,MAAM,kBAAkB,CAAC;AAS7D,OAAO,EAAwB,KAAK,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAE/E,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAGlE,wBAAgB,wBAAwB,CACtC,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,QAAQ,GAAG,QAAQ,CAAC,GAC9C,IAAI,CAkCN;AAED,wBAAsB,oBAAoB,CAAC,OAAO,EAAE;IAClD,GAAG,EAAE,OAAO,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE;QACrB,OAAO,EAAE,WAAW,CAAC;QACrB,YAAY,EAAE,UAAU,CAAC,OAAO,0BAA0B,CAAC,CAA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B,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE;QACrB,OAAO,EAAE,WAAW,CAAC;QACrB,YAAY,EAAE,UAAU,CAAC,OAAO,0BAA0B,CAAC,CAAC;QAC5D,aAAa,EAAE,OAAO,CAAC,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC;QACtF,mBAAmB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;KAClC,KAAK,OAAO,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAAC,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;KAAE,CAAC,CAAC;IAC7E,UAAU,CAAC,EAAE,CAAC,QAAQ,EAAE;QAAE,cAAc,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACxG,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACpD,GAAG,OAAO,CAAC,aAAa,CAAC,CAmHzB;AAED,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CAElE"}
|
|
@@ -64,7 +64,7 @@ export interface SceneClipRuleContext {
|
|
|
64
64
|
/** Composition frame rate; clip timing must sit on its frame lattice. */
|
|
65
65
|
fps: number;
|
|
66
66
|
resolveSource: SceneSourceResolver;
|
|
67
|
-
/** When supplied, bound media must exist here and
|
|
67
|
+
/** When supplied, bound media must exist here and match the surface kind. */
|
|
68
68
|
mediaKindById?: Record<string, string>;
|
|
69
69
|
}
|
|
70
70
|
/** True when `seconds` is not a whole number of frames at `fps`. */
|
|
@@ -13,17 +13,14 @@ export type McpTelemetryEvent = {
|
|
|
13
13
|
};
|
|
14
14
|
export type McpTelemetrySink = (event: McpTelemetryEvent) => void;
|
|
15
15
|
export declare const RAW_EXCLUDED_OPERATION_IDS: ReadonlySet<string>;
|
|
16
|
-
export declare function registerRawTools(server: McpServer, ex: Executor, onEvent?: McpTelemetrySink
|
|
16
|
+
export declare function registerRawTools(server: McpServer, ex: Executor, onEvent?: McpTelemetrySink): void;
|
|
17
17
|
export declare function titleCase(name: string): string;
|
|
18
18
|
export declare function registerCuratedTools(server: McpServer, ex: Executor, opts?: {
|
|
19
19
|
waitCapMs?: number;
|
|
20
20
|
expert?: boolean;
|
|
21
21
|
onEvent?: McpTelemetrySink;
|
|
22
|
-
generateSchemas?: boolean;
|
|
23
22
|
}): void;
|
|
24
23
|
export interface BuildServerOpts {
|
|
25
|
-
/** Build-time contract generation only; ordinary hosts use precompiled discovery. */
|
|
26
|
-
generateSchemas?: boolean;
|
|
27
24
|
executor: Executor;
|
|
28
25
|
expert?: boolean;
|
|
29
26
|
instructions?: string;
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
sceneGrainPreparationCpuAllocationV1,
|
|
5
5
|
scenePresetBuilderDescriptorV1,
|
|
6
6
|
sceneSlabPreparationFactsV1
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-JDOO6GTW.js";
|
|
8
8
|
import {
|
|
9
9
|
photographicStudioPreparationFactsV1,
|
|
10
10
|
sceneFocusPreparationAllocationsV1
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-M2CXETU3.js";
|
|
12
12
|
import "../chunk-2L7PYYJK.js";
|
|
13
13
|
import "../chunk-2ESYSVXG.js";
|
|
14
14
|
export {
|
package/dist/animate.js
CHANGED
|
@@ -101,7 +101,7 @@ import {
|
|
|
101
101
|
useStage,
|
|
102
102
|
weightsAt,
|
|
103
103
|
worldTransform
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-M5QETDOL.js";
|
|
105
105
|
import {
|
|
106
106
|
DEFAULT_LIGHTING_PROFILE,
|
|
107
107
|
DEVICE_GLASS_OPACITY_ENCODED,
|
|
@@ -160,7 +160,7 @@ import {
|
|
|
160
160
|
studioShadowFrustum,
|
|
161
161
|
verifyPhotographicStudioHdr,
|
|
162
162
|
withNormalisedFaceUv
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-JDOO6GTW.js";
|
|
164
164
|
import "./chunk-TARKDVP6.js";
|
|
165
165
|
import {
|
|
166
166
|
ALLOWED_BAKE_SCALES,
|
|
@@ -183,7 +183,7 @@ import {
|
|
|
183
183
|
projectedSlotEdges,
|
|
184
184
|
sceneFocusPreparationAllocationsV1,
|
|
185
185
|
selectSceneBakeScale
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-M2CXETU3.js";
|
|
187
187
|
import "./chunk-2L7PYYJK.js";
|
|
188
188
|
import "./chunk-2ESYSVXG.js";
|
|
189
189
|
export {
|
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-SKQR5KAL.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-M2CXETU3.js";
|
|
26
26
|
import "../chunk-2L7PYYJK.js";
|
|
27
27
|
import "../chunk-2ESYSVXG.js";
|
|
28
28
|
export {
|
package/dist/authoring.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
hasSceneOp,
|
|
5
5
|
isSceneOp,
|
|
6
6
|
materializeSceneOpsCore
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SKQR5KAL.js";
|
|
8
8
|
import {
|
|
9
9
|
ZERO_USAGE,
|
|
10
10
|
buildDirectorTools,
|
|
@@ -68,7 +68,7 @@ import "./chunk-TARKDVP6.js";
|
|
|
68
68
|
import {
|
|
69
69
|
collectSceneClipIssues,
|
|
70
70
|
isSceneShotClip
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-M2CXETU3.js";
|
|
72
72
|
import "./chunk-2L7PYYJK.js";
|
|
73
73
|
import "./chunk-2ESYSVXG.js";
|
|
74
74
|
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
assertSceneShotParamsAdmitted,
|
|
4
4
|
materializeComponentSource,
|
|
5
5
|
renderComponentAlpha
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GP2SCGCH.js";
|
|
7
7
|
import {
|
|
8
8
|
componentArtifactId,
|
|
9
9
|
componentBundleId,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-EXY4JJPH.js";
|
|
14
14
|
import {
|
|
15
15
|
resolvedComponentRenderer
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DHL55ZBJ.js";
|
|
17
17
|
import {
|
|
18
18
|
ComponentBakeJobV2,
|
|
19
19
|
ComponentBakeRequestV2,
|
|
@@ -280,7 +280,7 @@ async function bakeComponentAlphaV2(options) {
|
|
|
280
280
|
let sceneLease;
|
|
281
281
|
try {
|
|
282
282
|
const { assetFiles: _assetFiles, ...unsealedRequest } = job;
|
|
283
|
-
|
|
283
|
+
const request = ComponentBakeRequestV2.parse({
|
|
284
284
|
...unsealedRequest,
|
|
285
285
|
assets: assetServer.bindings
|
|
286
286
|
});
|
|
@@ -294,8 +294,7 @@ async function bakeComponentAlphaV2(options) {
|
|
|
294
294
|
runtimeAssets: assetServer.runtimeAssets,
|
|
295
295
|
allowedAssetOrigins
|
|
296
296
|
});
|
|
297
|
-
request
|
|
298
|
-
assertSceneShotParamsAdmitted(request.source.manifest, request.params, { componentId: request.source.componentId });
|
|
297
|
+
assertSceneShotParamsAdmitted(request.source.manifest, sceneLease.params, { componentId: request.source.componentId });
|
|
299
298
|
}
|
|
300
299
|
const bundleId = componentBundleId({
|
|
301
300
|
sourceVersionId: materialized.sourceVersionId,
|
|
@@ -306,6 +305,10 @@ async function bakeComponentAlphaV2(options) {
|
|
|
306
305
|
const renderRequest = ComponentRenderRequestV2.parse({
|
|
307
306
|
version: 2,
|
|
308
307
|
bundleId,
|
|
308
|
+
// Identity describes the authored inputs and verified assets. The sealed
|
|
309
|
+
// plan is derived by this pinned runtime and contains ephemeral loopback
|
|
310
|
+
// URLs; hashing it would disagree with the host's expected receipt and
|
|
311
|
+
// assign a different key whenever the same shot opens a new asset server.
|
|
309
312
|
params: request.params,
|
|
310
313
|
assets: request.assets,
|
|
311
314
|
width: request.width,
|
|
@@ -321,7 +324,7 @@ async function bakeComponentAlphaV2(options) {
|
|
|
321
324
|
const rendered = await renderComponentAlpha({
|
|
322
325
|
ws: materialized.workspace,
|
|
323
326
|
id: request.source.componentId,
|
|
324
|
-
params: request.params,
|
|
327
|
+
params: sceneLease?.params ?? request.params,
|
|
325
328
|
assets: assetServer.runtimeAssets,
|
|
326
329
|
allowedAssetOrigins,
|
|
327
330
|
seed: request.seed,
|