@cueframe/kernel 0.2.27 → 0.2.28

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":"sourceAdmission.d.ts","sourceRoot":"","sources":["../src/sourceAdmission.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACvB,MAAM,gBAAgB,CAAC;AAgBxB;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAuC7E;AAED,wBAAgB,+BAA+B,CAC7C,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,IAAI,CAAC,mBAAmB,EAAE,QAAQ,CAAC,GAAG;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,GACtE,MAAM,EAAE,CAkBV;AAED,yFAAyF;AACzF,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,IAAI,CAAC,iBAAiB,EAAE,aAAa,GAAG,WAAW,GAAG,UAAU,CAAC,GACxE,IAAI,CAoBN"}
1
+ {"version":3,"file":"sourceAdmission.d.ts","sourceRoot":"","sources":["../src/sourceAdmission.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACvB,MAAM,gBAAgB,CAAC;AAgBxB;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,CAE7E;AAoDD,wBAAgB,+BAA+B,CAC7C,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,IAAI,CAAC,mBAAmB,EAAE,QAAQ,CAAC,GAAG;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAE,GACtE,MAAM,EAAE,CAyBV;AAED,yFAAyF;AACzF,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,IAAI,CAAC,iBAAiB,EAAE,aAAa,GAAG,WAAW,GAAG,UAAU,CAAC,GACxE,IAAI,CAoBN"}
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-EXY4JJPH.js";
14
14
  import {
15
15
  assertSourceReadsDeclaredAssets
16
- } from "./chunk-H6T2Y7NB.js";
16
+ } from "./chunk-SH5OTTVU.js";
17
17
  import {
18
18
  resolvedComponentRenderer
19
19
  } from "./chunk-5BAWOULP.js";
@@ -14,6 +14,9 @@ function staticMember(node) {
14
14
  return name === null ? null : { object: candidate.object, property: name };
15
15
  }
16
16
  function sourceAssetHandleReads(tsxSource) {
17
+ return scanSourceReads(tsxSource).assetHandleSlots;
18
+ }
19
+ function scanSourceReads(tsxSource) {
17
20
  let root;
18
21
  try {
19
22
  root = parse(tsxSource, {
@@ -29,6 +32,7 @@ function sourceAssetHandleReads(tsxSource) {
29
32
  );
30
33
  }
31
34
  const reads = /* @__PURE__ */ new Set();
35
+ let preparedPlan = false;
32
36
  const visit = (value) => {
33
37
  if (!value || typeof value !== "object") return;
34
38
  if (Array.isArray(value)) {
@@ -37,6 +41,7 @@ function sourceAssetHandleReads(tsxSource) {
37
41
  }
38
42
  const node = value;
39
43
  const leaf = staticMember(node);
44
+ if (leaf?.property === "preparedSceneShot") preparedPlan = true;
40
45
  if (leaf?.property === "handle") {
41
46
  const slot = staticMember(leaf.object);
42
47
  const rootObject = slot?.object;
@@ -50,14 +55,14 @@ function sourceAssetHandleReads(tsxSource) {
50
55
  }
51
56
  };
52
57
  visit(root);
53
- return reads;
58
+ return { assetHandleSlots: reads, readsPreparedScenePlan: preparedPlan };
54
59
  }
55
60
  function missingDeclaredAssetHandleReads(tsxSource, manifest) {
56
- if (manifest.sceneShot !== void 0) return [];
57
61
  const slots = Object.keys(manifest.assets);
58
62
  if (slots.length === 0) return [];
59
- const reads = sourceAssetHandleReads(tsxSource);
60
- return slots.filter((slot) => !reads.has(slot));
63
+ const scan = scanSourceReads(tsxSource);
64
+ if (manifest.sceneShot !== void 0 && scan.readsPreparedScenePlan) return [];
65
+ return slots.filter((slot) => !scan.assetHandleSlots.has(slot));
61
66
  }
62
67
  function assertSourceReadsDeclaredAssets(source) {
63
68
  const missing = missingDeclaredAssetHandleReads(source.tsxSource, source.manifest);
@@ -2,7 +2,7 @@ import {
2
2
  assertSourceReadsDeclaredAssets,
3
3
  missingDeclaredAssetHandleReads,
4
4
  sourceAssetHandleReads
5
- } from "../chunk-H6T2Y7NB.js";
5
+ } from "../chunk-SH5OTTVU.js";
6
6
  import "../chunk-ZVG446DJ.js";
7
7
  import "../chunk-2ESYSVXG.js";
8
8
  export {
@@ -7,7 +7,7 @@ import {
7
7
  sourceIdentityForBake,
8
8
  startComponentAssetServer,
9
9
  verifyComponentOutput
10
- } from "./chunk-Z7X3H23K.js";
10
+ } from "./chunk-256ZO323.js";
11
11
  import {
12
12
  COMPONENT_MEDIA_HEADROOM,
13
13
  COMPONENT_MEDIA_TIERS,
@@ -73,7 +73,7 @@ import {
73
73
  assertSourceReadsDeclaredAssets,
74
74
  missingDeclaredAssetHandleReads,
75
75
  sourceAssetHandleReads
76
- } from "./chunk-H6T2Y7NB.js";
76
+ } from "./chunk-SH5OTTVU.js";
77
77
  import {
78
78
  HALF_FLOAT_COLOR_TARGET_EXTENSIONS,
79
79
  admittedHost,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  playableSpans
3
- } from "./chunk-UXCRLEYB.js";
3
+ } from "./chunk-XT3SK7HR.js";
4
4
  import "./chunk-QH3YI3ND.js";
5
5
  import "./chunk-QISFYLBB.js";
6
- import "./chunk-VZ7TYX6Z.js";
7
6
  import "./chunk-QAALM5BW.js";
7
+ import "./chunk-VZ7TYX6Z.js";
8
8
  import "./chunk-DENF4TPI.js";
9
9
  import {
10
10
  createHeadlessStore,
@@ -66,15 +66,15 @@ import {
66
66
  sliceTranscriptWords,
67
67
  splitIntoSentences,
68
68
  validateComposition
69
- } from "../chunk-UXCRLEYB.js";
69
+ } from "../chunk-XT3SK7HR.js";
70
70
  import {
71
71
  buildEasedZooms,
72
72
  buildPannedCenters,
73
73
  easeOutCubic
74
74
  } from "../chunk-QH3YI3ND.js";
75
75
  import "../chunk-QISFYLBB.js";
76
- import "../chunk-VZ7TYX6Z.js";
77
76
  import "../chunk-QAALM5BW.js";
77
+ import "../chunk-VZ7TYX6Z.js";
78
78
  import "../chunk-DENF4TPI.js";
79
79
  import "../chunk-KYRDKK2D.js";
80
80
  import "../chunk-WREYUH2E.js";
package/dist/core.js CHANGED
@@ -10,11 +10,11 @@ import {
10
10
  ensureEven,
11
11
  extractCaptionWordsFromDoc,
12
12
  isEmphasized
13
- } from "./chunk-UXCRLEYB.js";
13
+ } from "./chunk-XT3SK7HR.js";
14
14
  import "./chunk-QH3YI3ND.js";
15
15
  import "./chunk-QISFYLBB.js";
16
- import "./chunk-VZ7TYX6Z.js";
17
16
  import "./chunk-QAALM5BW.js";
17
+ import "./chunk-VZ7TYX6Z.js";
18
18
  import "./chunk-DENF4TPI.js";
19
19
  import "./chunk-KYRDKK2D.js";
20
20
  import "./chunk-WREYUH2E.js";
@@ -8,7 +8,7 @@ import {
8
8
  isRemoteUrl,
9
9
  renderInputAssets
10
10
  } from "./chunk-MN6D3U5N.js";
11
- import "./chunk-Z7X3H23K.js";
11
+ import "./chunk-256ZO323.js";
12
12
  import "./chunk-BVA3537Z.js";
13
13
  import {
14
14
  COMPONENT_STILL_RUNTIME_IDENTITY,
@@ -26,7 +26,7 @@ import {
26
26
  } from "./chunk-EXY4JJPH.js";
27
27
  import "./chunk-DAARYRNT.js";
28
28
  import "./chunk-5NGYBI5Z.js";
29
- import "./chunk-H6T2Y7NB.js";
29
+ import "./chunk-SH5OTTVU.js";
30
30
  import {
31
31
  componentBrowserBackend
32
32
  } from "./chunk-5BAWOULP.js";
@@ -42,11 +42,11 @@ import {
42
42
  parseSceneComponentCaptureIntentV1,
43
43
  prepareSceneShotRenderInput,
44
44
  readSceneShotManifest
45
- } from "./chunk-UXCRLEYB.js";
45
+ } from "./chunk-XT3SK7HR.js";
46
46
  import "./chunk-QH3YI3ND.js";
47
47
  import "./chunk-QISFYLBB.js";
48
- import "./chunk-VZ7TYX6Z.js";
49
48
  import "./chunk-QAALM5BW.js";
49
+ import "./chunk-VZ7TYX6Z.js";
50
50
  import "./chunk-DENF4TPI.js";
51
51
  import "./chunk-KYRDKK2D.js";
52
52
  import "./chunk-WREYUH2E.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cueframe/kernel",
3
- "version": "0.2.27",
3
+ "version": "0.2.28",
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,25 +17,25 @@
17
17
  "tsup": "^8.3.5",
18
18
  "typescript": "^5.9.3",
19
19
  "@cueframe/account-model": "0.1.0",
20
- "@cueframe/animate": "0.1.0",
21
- "@cueframe/cloud-import": "0.1.0",
22
- "@cueframe/compose": "0.1.0",
23
20
  "@cueframe/authoring": "0.1.0",
24
- "@cueframe/brand-derivation": "0.1.0",
25
- "@cueframe/core": "0.1.0",
26
- "@cueframe/director": "0.1.0",
27
- "@cueframe/composition": "0.1.0",
28
- "@cueframe/errors": "0.1.0",
29
- "@cueframe/foundation": "0.1.0",
30
21
  "@cueframe/composition-ops": "0.1.0",
31
22
  "@cueframe/component-runtime": "0.1.0",
23
+ "@cueframe/cloud-import": "0.1.0",
24
+ "@cueframe/animate": "0.1.0",
25
+ "@cueframe/core": "0.1.0",
26
+ "@cueframe/composition": "0.1.0",
27
+ "@cueframe/director": "0.1.0",
28
+ "@cueframe/compose": "0.1.0",
29
+ "@cueframe/media-model": "0.1.0",
32
30
  "@cueframe/mcp": "0.1.0",
31
+ "@cueframe/foundation": "0.1.0",
32
+ "@cueframe/errors": "0.1.0",
33
+ "@cueframe/nle-export": "0.1.0",
33
34
  "@cueframe/plane": "0.1.0",
34
- "@cueframe/perception": "0.1.0",
35
35
  "@cueframe/primitives": "0.1.0",
36
- "@cueframe/render-harness": "0.1.0",
37
- "@cueframe/nle-export": "0.1.0",
38
- "@cueframe/media-model": "0.1.0"
36
+ "@cueframe/brand-derivation": "0.1.0",
37
+ "@cueframe/perception": "0.1.0",
38
+ "@cueframe/render-harness": "0.1.0"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "gsap": "3.13.0",
@@ -7,10 +7,6 @@ import {
7
7
  flattenCompoundClips,
8
8
  hasCompoundClips
9
9
  } from "./chunk-QISFYLBB.js";
10
- import {
11
- compositionHasVo,
12
- roleDefaultGainDb
13
- } from "./chunk-VZ7TYX6Z.js";
14
10
  import {
15
11
  DOMINANCE_WEIGHTS,
16
12
  ENTER_SEC,
@@ -29,6 +25,10 @@ import {
29
25
  segmentShots,
30
26
  stabilizeSelectionHysteresis
31
27
  } from "./chunk-QAALM5BW.js";
28
+ import {
29
+ compositionHasVo,
30
+ roleDefaultGainDb
31
+ } from "./chunk-VZ7TYX6Z.js";
32
32
  import {
33
33
  SHOT_SCALE_TARGET,
34
34
  shotScaleZoom