@cueframe/kernel 0.2.40 → 0.2.41
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/plane/contract.d.ts +20 -0
- package/dist/compose.js +19 -19
- package/dist/plane/contract.js +10 -1
- package/dist/primitives/effects.js +2 -2
- package/dist/primitives/ui-blocks.js +2 -2
- package/dist/primitives.js +19 -19
- package/dist/render-harness.js +6 -6
- package/package.json +11 -11
- package/dist/{chunk-A76GTLSA.js → chunk-VLJOIUHL.js} +3 -3
- package/dist/{chunk-O22P5IAX.js → chunk-WAUVKF2F.js} +3 -3
|
@@ -42,6 +42,26 @@ export declare const CO_BATCHED_CALLERS = 4;
|
|
|
42
42
|
export declare const MAX_STILL_BEATS_PER_BATCH = 18;
|
|
43
43
|
/** Seconds the harness needs for `beats` stills in one run. */
|
|
44
44
|
export declare function stillBudgetSeconds(beats: number): number;
|
|
45
|
+
/**
|
|
46
|
+
* Requests of at most this many stills share one worker run with up to
|
|
47
|
+
* CO_BATCHED_CALLERS others: the in-loop lanes' singleton captures and their
|
|
48
|
+
* bursts, where one browser launch amortized over four tiny requests is the
|
|
49
|
+
* point. A larger request gets a container of its own — a full batch already
|
|
50
|
+
* amortizes its browser over its own stills, and co-batching four of them
|
|
51
|
+
* serialized 72 stills through one container for 8.5 minutes while three
|
|
52
|
+
* containers sat idle (CUE-39). `STILL_COBATCH_MAX_BEATS` on the worker.
|
|
53
|
+
*/
|
|
54
|
+
export declare const STILL_COBATCH_MAX_BEATS = 3;
|
|
55
|
+
/** Still worker cold start (Chromium + Remotion), measured ~126s on 2026-07-19. */
|
|
56
|
+
export declare const STILL_WORKER_COLD_START_S = 150;
|
|
57
|
+
/**
|
|
58
|
+
* The longest a caller waits for `beats` stills: a cold worker plus the budget
|
|
59
|
+
* of the run the request lands in. A small request may share its run with
|
|
60
|
+
* CO_BATCHED_CALLERS - 1 others; a large one runs alone. This is the number a
|
|
61
|
+
* phase may promise; the harness budget alone omits the boot and was exceeded
|
|
62
|
+
* on every cold start.
|
|
63
|
+
*/
|
|
64
|
+
export declare function stillCaptureWaitSeconds(beats: number): number;
|
|
45
65
|
export declare const PreviewFrameRequest: z.ZodObject<{
|
|
46
66
|
composition: z.ZodOptional<z.ZodUnknown>;
|
|
47
67
|
compositionId: z.ZodOptional<z.ZodString>;
|
package/dist/compose.js
CHANGED
|
@@ -5,40 +5,40 @@ import {
|
|
|
5
5
|
} from "./chunk-QDBVYZSF.js";
|
|
6
6
|
import "./chunk-JQMPHKLU.js";
|
|
7
7
|
import "./chunk-ZZRBKGDA.js";
|
|
8
|
-
import {
|
|
9
|
-
catalog as catalog7
|
|
10
|
-
} from "./chunk-TE3PNQG6.js";
|
|
11
|
-
import {
|
|
12
|
-
catalog
|
|
13
|
-
} from "./chunk-RBWS5XHE.js";
|
|
14
|
-
import "./chunk-DLF4WVSE.js";
|
|
15
|
-
import "./chunk-U4V4FZGE.js";
|
|
16
8
|
import {
|
|
17
9
|
catalog as catalog3
|
|
18
10
|
} from "./chunk-FVDFPJHT.js";
|
|
19
|
-
import "./chunk-QGAWDLYX.js";
|
|
20
11
|
import {
|
|
21
12
|
catalog as catalog6
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import "./chunk-S5H6GH6M.js";
|
|
24
|
-
import {
|
|
25
|
-
catalog as catalog5
|
|
26
|
-
} from "./chunk-RAXHCRVV.js";
|
|
13
|
+
} from "./chunk-VLJOIUHL.js";
|
|
27
14
|
import {
|
|
28
15
|
catalog as catalog2
|
|
29
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WAUVKF2F.js";
|
|
30
17
|
import {
|
|
31
18
|
catalog as catalog8
|
|
32
19
|
} from "./chunk-RL5SO653.js";
|
|
33
|
-
import "./chunk-LT4PWSR2.js";
|
|
34
|
-
import "./chunk-FWSJLHSV.js";
|
|
35
|
-
import "./chunk-ZFEXATWN.js";
|
|
36
20
|
import {
|
|
37
21
|
catalog as catalog4
|
|
38
22
|
} from "./chunk-JRJQECCF.js";
|
|
39
|
-
import
|
|
23
|
+
import {
|
|
24
|
+
catalog as catalog7
|
|
25
|
+
} from "./chunk-TE3PNQG6.js";
|
|
26
|
+
import "./chunk-QGAWDLYX.js";
|
|
27
|
+
import "./chunk-S5H6GH6M.js";
|
|
40
28
|
import "./chunk-QAGGJHAF.js";
|
|
41
29
|
import "./chunk-MFHXCHRI.js";
|
|
30
|
+
import {
|
|
31
|
+
catalog
|
|
32
|
+
} from "./chunk-RBWS5XHE.js";
|
|
33
|
+
import "./chunk-DLF4WVSE.js";
|
|
34
|
+
import "./chunk-U4V4FZGE.js";
|
|
35
|
+
import "./chunk-LT4PWSR2.js";
|
|
36
|
+
import "./chunk-FWSJLHSV.js";
|
|
37
|
+
import "./chunk-ZFEXATWN.js";
|
|
38
|
+
import {
|
|
39
|
+
catalog as catalog5
|
|
40
|
+
} from "./chunk-RAXHCRVV.js";
|
|
41
|
+
import "./chunk-XHGZ2E77.js";
|
|
42
42
|
import "./chunk-W2245F6G.js";
|
|
43
43
|
import "./chunk-JBWSK2YD.js";
|
|
44
44
|
import "./chunk-OBA6NW4S.js";
|
package/dist/plane/contract.js
CHANGED
|
@@ -10,6 +10,12 @@ var MAX_STILL_BEATS_PER_BATCH = 18;
|
|
|
10
10
|
function stillBudgetSeconds(beats) {
|
|
11
11
|
return STILL_BUDGET_BASE_S + STILL_BUDGET_PER_BEAT_S * beats;
|
|
12
12
|
}
|
|
13
|
+
var STILL_COBATCH_MAX_BEATS = 3;
|
|
14
|
+
var STILL_WORKER_COLD_START_S = 150;
|
|
15
|
+
function stillCaptureWaitSeconds(beats) {
|
|
16
|
+
const run = beats > STILL_COBATCH_MAX_BEATS ? beats : STILL_COBATCH_MAX_BEATS * CO_BATCHED_CALLERS;
|
|
17
|
+
return STILL_WORKER_COLD_START_S + stillBudgetSeconds(run);
|
|
18
|
+
}
|
|
13
19
|
var PreviewFrameRequest = z.object({
|
|
14
20
|
composition: z.unknown().optional().describe(
|
|
15
21
|
"The composition to render. Absent \u21D2 the project's ACTIVE composition \u2014 what create_render will encode. The response's `previewed.source` names what was rendered."
|
|
@@ -47,5 +53,8 @@ export {
|
|
|
47
53
|
STILL_BUDGET_BASE_S,
|
|
48
54
|
STILL_BUDGET_CEILING_S,
|
|
49
55
|
STILL_BUDGET_PER_BEAT_S,
|
|
50
|
-
|
|
56
|
+
STILL_COBATCH_MAX_BEATS,
|
|
57
|
+
STILL_WORKER_COLD_START_S,
|
|
58
|
+
stillBudgetSeconds,
|
|
59
|
+
stillCaptureWaitSeconds
|
|
51
60
|
};
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
Vignette,
|
|
13
13
|
catalog,
|
|
14
14
|
laneDepths
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-XHGZ2E77.js";
|
|
15
|
+
} from "../chunk-WAUVKF2F.js";
|
|
17
16
|
import "../chunk-MFHXCHRI.js";
|
|
17
|
+
import "../chunk-XHGZ2E77.js";
|
|
18
18
|
import "../chunk-W2245F6G.js";
|
|
19
19
|
import "../chunk-JBWSK2YD.js";
|
|
20
20
|
import "../chunk-OBA6NW4S.js";
|
|
@@ -30,14 +30,14 @@ import {
|
|
|
30
30
|
VisualDocsSnippet,
|
|
31
31
|
VoiceWaveform,
|
|
32
32
|
catalog
|
|
33
|
-
} from "../chunk-
|
|
33
|
+
} from "../chunk-VLJOIUHL.js";
|
|
34
34
|
import {
|
|
35
35
|
DashboardPopulate
|
|
36
36
|
} from "../chunk-S5H6GH6M.js";
|
|
37
|
+
import "../chunk-QAGGJHAF.js";
|
|
37
38
|
import "../chunk-LT4PWSR2.js";
|
|
38
39
|
import "../chunk-FWSJLHSV.js";
|
|
39
40
|
import "../chunk-XHGZ2E77.js";
|
|
40
|
-
import "../chunk-QAGGJHAF.js";
|
|
41
41
|
import "../chunk-W2245F6G.js";
|
|
42
42
|
import "../chunk-2ESYSVXG.js";
|
|
43
43
|
export {
|
package/dist/primitives.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
catalog as catalog7
|
|
3
|
-
} from "./chunk-TE3PNQG6.js";
|
|
4
|
-
import {
|
|
5
|
-
catalog
|
|
6
|
-
} from "./chunk-RBWS5XHE.js";
|
|
7
|
-
import "./chunk-DLF4WVSE.js";
|
|
8
|
-
import "./chunk-U4V4FZGE.js";
|
|
9
1
|
import {
|
|
10
2
|
catalog as catalog3
|
|
11
3
|
} from "./chunk-FVDFPJHT.js";
|
|
12
|
-
import "./chunk-QGAWDLYX.js";
|
|
13
4
|
import {
|
|
14
5
|
catalog as catalog6
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-S5H6GH6M.js";
|
|
17
|
-
import {
|
|
18
|
-
catalog as catalog5
|
|
19
|
-
} from "./chunk-RAXHCRVV.js";
|
|
6
|
+
} from "./chunk-VLJOIUHL.js";
|
|
20
7
|
import {
|
|
21
8
|
catalog as catalog2
|
|
22
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WAUVKF2F.js";
|
|
23
10
|
import {
|
|
24
11
|
catalog as catalog8
|
|
25
12
|
} from "./chunk-RL5SO653.js";
|
|
26
|
-
import "./chunk-LT4PWSR2.js";
|
|
27
|
-
import "./chunk-FWSJLHSV.js";
|
|
28
|
-
import "./chunk-ZFEXATWN.js";
|
|
29
13
|
import {
|
|
30
14
|
catalog as catalog4
|
|
31
15
|
} from "./chunk-JRJQECCF.js";
|
|
32
|
-
import
|
|
16
|
+
import {
|
|
17
|
+
catalog as catalog7
|
|
18
|
+
} from "./chunk-TE3PNQG6.js";
|
|
19
|
+
import "./chunk-QGAWDLYX.js";
|
|
20
|
+
import "./chunk-S5H6GH6M.js";
|
|
33
21
|
import "./chunk-QAGGJHAF.js";
|
|
34
22
|
import "./chunk-MFHXCHRI.js";
|
|
23
|
+
import {
|
|
24
|
+
catalog
|
|
25
|
+
} from "./chunk-RBWS5XHE.js";
|
|
26
|
+
import "./chunk-DLF4WVSE.js";
|
|
27
|
+
import "./chunk-U4V4FZGE.js";
|
|
28
|
+
import "./chunk-LT4PWSR2.js";
|
|
29
|
+
import "./chunk-FWSJLHSV.js";
|
|
30
|
+
import "./chunk-ZFEXATWN.js";
|
|
31
|
+
import {
|
|
32
|
+
catalog as catalog5
|
|
33
|
+
} from "./chunk-RAXHCRVV.js";
|
|
34
|
+
import "./chunk-XHGZ2E77.js";
|
|
35
35
|
import "./chunk-W2245F6G.js";
|
|
36
36
|
import "./chunk-JBWSK2YD.js";
|
|
37
37
|
import "./chunk-OBA6NW4S.js";
|
package/dist/render-harness.js
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
assertCardHtmlAssetFree
|
|
3
|
+
} from "./chunk-BUAAQDDJ.js";
|
|
4
|
+
import {
|
|
5
|
+
assertCardFontsAdmitted
|
|
6
|
+
} from "./chunk-6PBYCESM.js";
|
|
1
7
|
import {
|
|
2
8
|
assertNoRemoteRefs,
|
|
3
9
|
assetSlots,
|
|
@@ -5,13 +11,7 @@ import {
|
|
|
5
11
|
isRemoteUrl,
|
|
6
12
|
renderInputAssets
|
|
7
13
|
} from "./chunk-KSRFYFUZ.js";
|
|
8
|
-
import {
|
|
9
|
-
assertCardHtmlAssetFree
|
|
10
|
-
} from "./chunk-BUAAQDDJ.js";
|
|
11
14
|
import "./chunk-OSMXQV5V.js";
|
|
12
|
-
import {
|
|
13
|
-
assertCardFontsAdmitted
|
|
14
|
-
} from "./chunk-6PBYCESM.js";
|
|
15
15
|
import "./chunk-QHLCJ3PE.js";
|
|
16
16
|
import "./chunk-BVA3537Z.js";
|
|
17
17
|
import {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cueframe/kernel",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.41",
|
|
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": [
|
|
@@ -16,26 +16,26 @@
|
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"tsup": "^8.3.5",
|
|
18
18
|
"typescript": "^5.9.3",
|
|
19
|
-
"@cueframe/animate": "0.1.0",
|
|
20
19
|
"@cueframe/account-model": "0.1.0",
|
|
20
|
+
"@cueframe/animate": "0.1.0",
|
|
21
21
|
"@cueframe/authoring": "0.1.0",
|
|
22
|
+
"@cueframe/brand-derivation": "0.1.0",
|
|
22
23
|
"@cueframe/cloud-import": "0.1.0",
|
|
23
24
|
"@cueframe/compose": "0.1.0",
|
|
24
|
-
"@cueframe/brand-derivation": "0.1.0",
|
|
25
|
-
"@cueframe/core": "0.1.0",
|
|
26
25
|
"@cueframe/composition-ops": "0.1.0",
|
|
27
26
|
"@cueframe/composition": "0.1.0",
|
|
28
|
-
"@cueframe/
|
|
29
|
-
"@cueframe/
|
|
30
|
-
"@cueframe/nle-export": "0.1.0",
|
|
27
|
+
"@cueframe/component-runtime": "0.1.0",
|
|
28
|
+
"@cueframe/core": "0.1.0",
|
|
31
29
|
"@cueframe/director": "0.1.0",
|
|
32
30
|
"@cueframe/errors": "0.1.0",
|
|
33
|
-
"@cueframe/
|
|
34
|
-
"@cueframe/
|
|
35
|
-
"@cueframe/render-harness": "0.1.0",
|
|
31
|
+
"@cueframe/foundation": "0.1.0",
|
|
32
|
+
"@cueframe/mcp": "0.1.0",
|
|
36
33
|
"@cueframe/media-model": "0.1.0",
|
|
34
|
+
"@cueframe/nle-export": "0.1.0",
|
|
35
|
+
"@cueframe/perception": "0.1.0",
|
|
37
36
|
"@cueframe/plane": "0.1.0",
|
|
38
|
-
"@cueframe/
|
|
37
|
+
"@cueframe/primitives": "0.1.0",
|
|
38
|
+
"@cueframe/render-harness": "0.1.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"gsap": "3.13.0",
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DashboardPopulate
|
|
3
3
|
} from "./chunk-S5H6GH6M.js";
|
|
4
|
+
import {
|
|
5
|
+
useFrameScale
|
|
6
|
+
} from "./chunk-QAGGJHAF.js";
|
|
4
7
|
import {
|
|
5
8
|
resolveTypeface
|
|
6
9
|
} from "./chunk-LT4PWSR2.js";
|
|
@@ -11,9 +14,6 @@ import {
|
|
|
11
14
|
FitText,
|
|
12
15
|
resolveFitFontSize
|
|
13
16
|
} from "./chunk-XHGZ2E77.js";
|
|
14
|
-
import {
|
|
15
|
-
useFrameScale
|
|
16
|
-
} from "./chunk-QAGGJHAF.js";
|
|
17
17
|
import {
|
|
18
18
|
ACCENT,
|
|
19
19
|
ACCENT_DEEP,
|