@cueframe/kernel 0.2.6 → 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.
|
@@ -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,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,M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rB,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"}
|
|
@@ -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,
|
package/dist/compose.js
CHANGED
|
@@ -5,6 +5,12 @@ import "./chunk-GULDS3VE.js";
|
|
|
5
5
|
import {
|
|
6
6
|
isContrastCritical
|
|
7
7
|
} from "./chunk-YLDMAZZE.js";
|
|
8
|
+
import {
|
|
9
|
+
catalog as catalog8
|
|
10
|
+
} from "./chunk-RL5SO653.js";
|
|
11
|
+
import {
|
|
12
|
+
catalog as catalog4
|
|
13
|
+
} from "./chunk-ARCGJUCQ.js";
|
|
8
14
|
import {
|
|
9
15
|
catalog as catalog7
|
|
10
16
|
} from "./chunk-LO6X2NMI.js";
|
|
@@ -22,22 +28,16 @@ import {
|
|
|
22
28
|
} from "./chunk-VLJOIUHL.js";
|
|
23
29
|
import "./chunk-S5H6GH6M.js";
|
|
24
30
|
import "./chunk-QAGGJHAF.js";
|
|
31
|
+
import "./chunk-LT4PWSR2.js";
|
|
32
|
+
import "./chunk-FWSJLHSV.js";
|
|
25
33
|
import {
|
|
26
34
|
catalog as catalog5
|
|
27
35
|
} from "./chunk-RAXHCRVV.js";
|
|
36
|
+
import "./chunk-ZFEXATWN.js";
|
|
28
37
|
import {
|
|
29
38
|
catalog as catalog2
|
|
30
39
|
} from "./chunk-LNGDWWYU.js";
|
|
31
40
|
import "./chunk-MFHXCHRI.js";
|
|
32
|
-
import {
|
|
33
|
-
catalog as catalog8
|
|
34
|
-
} from "./chunk-RL5SO653.js";
|
|
35
|
-
import "./chunk-LT4PWSR2.js";
|
|
36
|
-
import "./chunk-FWSJLHSV.js";
|
|
37
|
-
import "./chunk-ZFEXATWN.js";
|
|
38
|
-
import {
|
|
39
|
-
catalog as catalog4
|
|
40
|
-
} from "./chunk-ARCGJUCQ.js";
|
|
41
41
|
import "./chunk-XHGZ2E77.js";
|
|
42
42
|
import "./chunk-W2245F6G.js";
|
|
43
43
|
import "./chunk-M5QETDOL.js";
|
package/dist/primitives.js
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
catalog as catalog8
|
|
3
|
+
} from "./chunk-RL5SO653.js";
|
|
4
|
+
import {
|
|
5
|
+
catalog as catalog4
|
|
6
|
+
} from "./chunk-ARCGJUCQ.js";
|
|
1
7
|
import {
|
|
2
8
|
catalog as catalog7
|
|
3
9
|
} from "./chunk-LO6X2NMI.js";
|
|
@@ -15,22 +21,16 @@ import {
|
|
|
15
21
|
} from "./chunk-VLJOIUHL.js";
|
|
16
22
|
import "./chunk-S5H6GH6M.js";
|
|
17
23
|
import "./chunk-QAGGJHAF.js";
|
|
24
|
+
import "./chunk-LT4PWSR2.js";
|
|
25
|
+
import "./chunk-FWSJLHSV.js";
|
|
18
26
|
import {
|
|
19
27
|
catalog as catalog5
|
|
20
28
|
} from "./chunk-RAXHCRVV.js";
|
|
29
|
+
import "./chunk-ZFEXATWN.js";
|
|
21
30
|
import {
|
|
22
31
|
catalog as catalog2
|
|
23
32
|
} from "./chunk-LNGDWWYU.js";
|
|
24
33
|
import "./chunk-MFHXCHRI.js";
|
|
25
|
-
import {
|
|
26
|
-
catalog as catalog8
|
|
27
|
-
} from "./chunk-RL5SO653.js";
|
|
28
|
-
import "./chunk-LT4PWSR2.js";
|
|
29
|
-
import "./chunk-FWSJLHSV.js";
|
|
30
|
-
import "./chunk-ZFEXATWN.js";
|
|
31
|
-
import {
|
|
32
|
-
catalog as catalog4
|
|
33
|
-
} from "./chunk-ARCGJUCQ.js";
|
|
34
34
|
import "./chunk-XHGZ2E77.js";
|
|
35
35
|
import "./chunk-W2245F6G.js";
|
|
36
36
|
import "./chunk-M5QETDOL.js";
|
package/dist/render-harness.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
assertCardHtmlAssetFree
|
|
3
|
+
} from "./chunk-ODUWCQI3.js";
|
|
1
4
|
import {
|
|
2
5
|
assertNoRemoteRefs,
|
|
3
6
|
assetSlots,
|
|
@@ -5,10 +8,7 @@ import {
|
|
|
5
8
|
isRemoteUrl,
|
|
6
9
|
renderInputAssets
|
|
7
10
|
} from "./chunk-MN6D3U5N.js";
|
|
8
|
-
import
|
|
9
|
-
assertCardHtmlAssetFree
|
|
10
|
-
} from "./chunk-ODUWCQI3.js";
|
|
11
|
-
import "./chunk-XSUJQ7BR.js";
|
|
11
|
+
import "./chunk-3DDRQWWR.js";
|
|
12
12
|
import "./chunk-BVA3537Z.js";
|
|
13
13
|
import {
|
|
14
14
|
COMPONENT_STILL_RUNTIME_IDENTITY,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cueframe/kernel",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Publish-only aggregate of CueFrame's isomorphic kernel packages — composition, primitives, authoring, MCP, and friends shipped as one npm artifact. Members remain separate workspace packages; this only changes what ships.",
|
|
6
6
|
"files": [
|
|
@@ -17,26 +17,26 @@
|
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"tsup": "^8.3.5",
|
|
19
19
|
"typescript": "^5.9.3",
|
|
20
|
-
"@cueframe/animate": "0.1.0",
|
|
21
|
-
"@cueframe/authoring": "0.1.0",
|
|
22
20
|
"@cueframe/brand-derivation": "0.1.0",
|
|
23
21
|
"@cueframe/account-model": "0.1.0",
|
|
24
|
-
"@cueframe/
|
|
22
|
+
"@cueframe/animate": "0.1.0",
|
|
23
|
+
"@cueframe/compose": "0.1.0",
|
|
25
24
|
"@cueframe/cloud-import": "0.1.0",
|
|
26
|
-
"@cueframe/composition-ops": "0.1.0",
|
|
27
25
|
"@cueframe/component-runtime": "0.1.0",
|
|
26
|
+
"@cueframe/composition-ops": "0.1.0",
|
|
27
|
+
"@cueframe/core": "0.1.0",
|
|
28
28
|
"@cueframe/errors": "0.1.0",
|
|
29
|
-
"@cueframe/
|
|
30
|
-
"@cueframe/compose": "0.1.0",
|
|
31
|
-
"@cueframe/mcp": "0.1.0",
|
|
29
|
+
"@cueframe/composition": "0.1.0",
|
|
32
30
|
"@cueframe/foundation": "0.1.0",
|
|
33
31
|
"@cueframe/perception": "0.1.0",
|
|
32
|
+
"@cueframe/authoring": "0.1.0",
|
|
33
|
+
"@cueframe/director": "0.1.0",
|
|
34
34
|
"@cueframe/media-model": "0.1.0",
|
|
35
|
-
"@cueframe/
|
|
36
|
-
"@cueframe/nle-export": "0.1.0",
|
|
35
|
+
"@cueframe/mcp": "0.1.0",
|
|
37
36
|
"@cueframe/primitives": "0.1.0",
|
|
38
|
-
"@cueframe/
|
|
39
|
-
"@cueframe/plane": "0.1.0"
|
|
37
|
+
"@cueframe/nle-export": "0.1.0",
|
|
38
|
+
"@cueframe/plane": "0.1.0",
|
|
39
|
+
"@cueframe/render-harness": "0.1.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"gsap": "3.13.0",
|