@cueframe/kernel 0.1.3 → 0.1.4
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/authoring/agent/errors.d.ts +8 -0
- package/dist/_members/authoring/motion/materializeMotionPresetOps.d.ts +4 -0
- package/dist/_members/authoring/types.d.ts +1 -1
- package/dist/_members/cloud-import/CloudImportService.d.ts +3 -4
- package/dist/_members/cloud-import/ImportProvider.d.ts +3 -7
- package/dist/_members/cloud-import/cloudConfig.d.ts +0 -6
- package/dist/_members/cloud-import/index.d.ts +2 -4
- package/dist/_members/composition/graphics-plan/schemas.d.ts +20 -20
- package/dist/_members/composition/primitive-catalog/projection.d.ts +2 -1
- package/dist/_members/composition/projection/behind-readiness.d.ts +4 -2
- package/dist/_members/composition/validators/brandKit.d.ts +54 -94
- package/dist/_members/composition/validators/composePlan.d.ts +52 -52
- package/dist/_members/composition/validators/composition.d.ts +213 -253
- package/dist/_members/composition/validators/font.d.ts +2 -2
- package/dist/_members/composition/validators/index.d.ts +1 -0
- package/dist/_members/composition/validators/opaqueId.d.ts +13 -0
- package/dist/_members/composition/validators/project.d.ts +11 -15
- package/dist/_members/composition/validators/render.d.ts +372 -534
- package/dist/_members/composition/validators/session.d.ts +19 -39
- package/dist/_members/composition/validators/webhook.d.ts +8 -16
- package/dist/_members/composition-ops/index.d.ts +192 -228
- package/dist/_members/director/ai-sdk/messages.d.ts +2 -2
- package/dist/_members/director/domain/chat.d.ts +4 -4
- package/dist/_members/director/testing/contract.d.ts +1 -1
- package/dist/_members/errors/registry.d.ts +12 -0
- package/dist/_members/mcp/adapter.d.ts +19 -0
- package/dist/_members/mcp/curation.d.ts +4 -0
- package/dist/_members/mcp/generated/operations.d.ts +2 -2
- package/dist/_members/media-model/api.d.ts +53 -109
- package/dist/_members/media-model/generation.d.ts +2 -2
- package/dist/_members/media-model/index.d.ts +1 -0
- package/dist/_members/media-model/opaqueId.d.ts +10 -0
- package/dist/_members/render-harness/localRender.d.ts +3 -0
- package/dist/_members/render-harness/localRender.d.ts.map +1 -1
- package/dist/authoring/build-tools.js +6 -6
- package/dist/authoring/context.js +4 -4
- package/dist/authoring/tools.js +5 -5
- package/dist/authoring.js +39 -22
- package/dist/chunk-2SNY75AR.js +498 -0
- package/dist/{chunk-ZPRBGW4Y.js → chunk-7TQCR7AB.js} +1 -1
- package/dist/{chunk-SDCEJAO2.js → chunk-7V3F5HO4.js} +1 -1
- package/dist/{chunk-BZZTVOGG.js → chunk-D2EGO543.js} +5 -5
- package/dist/{chunk-TO4BFNLJ.js → chunk-D6S3ZKIY.js} +1 -1
- package/dist/{chunk-ICSZF37W.js → chunk-JRIPQ7DN.js} +1 -1
- package/dist/{chunk-TFGKUWHY.js → chunk-JTVFIN6H.js} +15 -19
- package/dist/{chunk-DCVJWGIA.js → chunk-JY26PIRP.js} +2 -2
- package/dist/{chunk-DWLNPNC4.js → chunk-LSP4HN5N.js} +1 -1
- package/dist/{chunk-DJW3UGBH.js → chunk-PJ4R4N4Q.js} +83 -9
- package/dist/{chunk-TXSFYUZH.js → chunk-QSDFTYKV.js} +1 -1
- package/dist/{chunk-AW57IWNW.js → chunk-R5BMJ2NX.js} +20 -1
- package/dist/{chunk-DL7WYISQ.js → chunk-RQ2G4DXI.js} +201 -223
- package/dist/{chunk-NQSMEUJ6.js → chunk-RXCEPCAQ.js} +102 -41
- package/dist/{chunk-TMB5AY6Q.js → chunk-TLVPDT4R.js} +1 -1
- package/dist/{chunk-GIA2SVVB.js → chunk-WTT3GGCA.js} +9 -4
- package/dist/{chunk-HBVAZXYO.js → chunk-YE3F4LNJ.js} +17 -17
- package/dist/{chunk-KFECIHED.js → chunk-YXEZ75MB.js} +5 -5
- package/dist/{chunk-TPA6PYN2.js → chunk-ZBRPF6GV.js} +25 -10
- package/dist/cloud-import.js +20 -116
- package/dist/compose/renderer.js +17 -17
- package/dist/compose.js +18 -18
- package/dist/composition/graphics-plan.js +1 -1
- package/dist/composition/ops.js +3 -3
- package/dist/composition/primitive-catalog.js +1 -1
- package/dist/composition/projection.js +2 -2
- package/dist/composition/validators.js +4 -2
- package/dist/composition-ops.js +6 -6
- package/dist/composition.js +6 -4
- package/dist/{context-JLLU3MYD.js → context-XWNT6QZH.js} +4 -4
- package/dist/core/render.js +3 -3
- package/dist/core/select.js +2 -2
- package/dist/core.js +3 -3
- package/dist/director/ai-sdk.js +3 -3
- package/dist/director/domain.js +2 -2
- package/dist/director.js +3 -3
- package/dist/errors.js +1 -1
- package/dist/mcp/adapter.js +18 -11
- package/dist/mcp/core.js +1 -1
- package/dist/mcp/curation.js +5 -1
- package/dist/mcp/server.js +4 -4
- package/dist/mcp.js +4 -4
- package/dist/media-model/media-kind.js +98 -9
- package/dist/media-model.js +83 -77
- package/dist/nle-export.js +18 -18
- package/dist/primitives/backgrounds.js +2 -2
- package/dist/primitives/captions.js +3 -3
- package/dist/primitives/effects.js +2 -2
- package/dist/primitives/hero-text.js +2 -2
- package/dist/primitives/layouts.js +2 -2
- package/dist/primitives/lib/index.js +12 -12
- package/dist/primitives/lib.js +12 -12
- package/dist/primitives/scenes.js +2 -2
- package/dist/primitives/text.js +2 -2
- package/dist/primitives/ui-blocks.js +2 -2
- package/dist/primitives.js +19 -19
- package/dist/render-harness.js +4 -2
- package/package.json +9 -34
- package/dist/_members/authoring/prompts/designReviewerPrompt.d.ts +0 -2
- package/dist/_members/cloud-import/MediaItemPreprocessor.d.ts +0 -18
- package/dist/_members/cloud-import/multipartUpload.d.ts +0 -12
- package/dist/_members/convex-api/api.d.ts +0 -5
- package/dist/_members/convex-api/api.generated.d.ts +0 -1444
- package/dist/_members/convex-api/dataModel.d.ts +0 -6
- package/dist/chunk-6IU2UQI5.js +0 -107
- package/dist/chunk-EP2Y6M2J.js +0 -64
- package/dist/chunk-WZH57M53.js +0 -494
- package/dist/cloud-import/multipart.d.ts +0 -1
- package/dist/cloud-import/multipart.js +0 -8
- package/dist/convex-api/dataModel.d.ts +0 -1
- package/dist/convex-api/dataModel.js +0 -0
- package/dist/convex-api.d.ts +0 -1
- package/dist/convex-api.js +0 -8
- package/dist/{chunk-RP4SXXLJ.js → chunk-3PM6VICZ.js} +3 -3
- package/dist/{chunk-UQSOS726.js → chunk-6ABIXGLO.js} +4 -4
- package/dist/{chunk-SAMQUUO5.js → chunk-BIBYZJL3.js} +3 -3
- package/dist/{chunk-GMD33ZD7.js → chunk-O7GNE4BQ.js} +3 -3
- package/dist/{chunk-BKHGL4MB.js → chunk-THJAY7QS.js} +4 -4
- package/dist/{chunk-DYZE7JZA.js → chunk-TMIBBD5E.js} +3 -3
- package/dist/{chunk-G5BFI32U.js → chunk-XATRRDVG.js} +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cueframe/kernel",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
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": [
|
|
@@ -18,29 +18,26 @@
|
|
|
18
18
|
"tsup": "^8.3.5",
|
|
19
19
|
"typescript": "^5.9.3",
|
|
20
20
|
"@cueframe/animate": "0.1.0",
|
|
21
|
-
"@cueframe/authoring": "0.1.0",
|
|
22
21
|
"@cueframe/brand-derivation": "0.1.0",
|
|
23
22
|
"@cueframe/cloud-import": "0.1.0",
|
|
24
23
|
"@cueframe/compose": "0.1.0",
|
|
24
|
+
"@cueframe/authoring": "0.1.0",
|
|
25
25
|
"@cueframe/composition-ops": "0.1.0",
|
|
26
|
-
"@cueframe/account-model": "0.1.0",
|
|
27
|
-
"@cueframe/convex-api": "0.1.0",
|
|
28
|
-
"@cueframe/composition": "0.1.0",
|
|
29
|
-
"@cueframe/director": "0.1.0",
|
|
30
26
|
"@cueframe/core": "0.1.0",
|
|
31
|
-
"@cueframe/
|
|
32
|
-
"@cueframe/nle-export": "0.1.0",
|
|
33
|
-
"@cueframe/media-model": "0.1.0",
|
|
27
|
+
"@cueframe/director": "0.1.0",
|
|
34
28
|
"@cueframe/errors": "0.1.0",
|
|
29
|
+
"@cueframe/foundation": "0.1.0",
|
|
35
30
|
"@cueframe/mcp": "0.1.0",
|
|
31
|
+
"@cueframe/media-model": "0.1.0",
|
|
32
|
+
"@cueframe/nle-export": "0.1.0",
|
|
36
33
|
"@cueframe/perception": "0.1.0",
|
|
37
34
|
"@cueframe/plane": "0.1.0",
|
|
38
35
|
"@cueframe/primitives": "0.1.0",
|
|
39
|
-
"@cueframe/render-harness": "0.1.0"
|
|
36
|
+
"@cueframe/render-harness": "0.1.0",
|
|
37
|
+
"@cueframe/account-model": "0.1.0",
|
|
38
|
+
"@cueframe/composition": "0.1.0"
|
|
40
39
|
},
|
|
41
40
|
"peerDependencies": {
|
|
42
|
-
"convex": ">=1.42",
|
|
43
|
-
"convex-helpers": "^0.1.114",
|
|
44
41
|
"react": "^19.0.0",
|
|
45
42
|
"react-dom": "^19.0.0",
|
|
46
43
|
"remotion": "4.0.429",
|
|
@@ -62,7 +59,6 @@
|
|
|
62
59
|
"@ai-sdk/anthropic": "^4.0.39",
|
|
63
60
|
"@ai-sdk/openai": "^4.0.42",
|
|
64
61
|
"esbuild": "^0.25.2",
|
|
65
|
-
"@uppy/aws-s3": "^5.1.0",
|
|
66
62
|
"@uppy/core": "^5.2.0",
|
|
67
63
|
"@uppy/react": "^5.2.0"
|
|
68
64
|
},
|
|
@@ -493,18 +489,6 @@
|
|
|
493
489
|
"types": "./dist/cloud-import.d.ts",
|
|
494
490
|
"default": "./dist/cloud-import.js"
|
|
495
491
|
},
|
|
496
|
-
"./cloud-import/multipart": {
|
|
497
|
-
"types": "./dist/cloud-import/multipart.d.ts",
|
|
498
|
-
"default": "./dist/cloud-import/multipart.js"
|
|
499
|
-
},
|
|
500
|
-
"./convex-api": {
|
|
501
|
-
"types": "./dist/convex-api.d.ts",
|
|
502
|
-
"default": "./dist/convex-api.js"
|
|
503
|
-
},
|
|
504
|
-
"./convex-api/dataModel": {
|
|
505
|
-
"types": "./dist/convex-api/dataModel.d.ts",
|
|
506
|
-
"default": "./dist/convex-api/dataModel.js"
|
|
507
|
-
},
|
|
508
492
|
"./director": {
|
|
509
493
|
"types": "./dist/director.d.ts",
|
|
510
494
|
"default": "./dist/director.js"
|
|
@@ -532,12 +516,6 @@
|
|
|
532
516
|
"remotion": {
|
|
533
517
|
"optional": true
|
|
534
518
|
},
|
|
535
|
-
"convex": {
|
|
536
|
-
"optional": true
|
|
537
|
-
},
|
|
538
|
-
"convex-helpers": {
|
|
539
|
-
"optional": true
|
|
540
|
-
},
|
|
541
519
|
"xmlbuilder2": {
|
|
542
520
|
"optional": true
|
|
543
521
|
},
|
|
@@ -592,9 +570,6 @@
|
|
|
592
570
|
"esbuild": {
|
|
593
571
|
"optional": true
|
|
594
572
|
},
|
|
595
|
-
"@uppy/aws-s3": {
|
|
596
|
-
"optional": true
|
|
597
|
-
},
|
|
598
573
|
"@uppy/core": {
|
|
599
574
|
"optional": true
|
|
600
575
|
},
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export declare const DESIGN_REVIEWER_PROMPT = "You are a design quality reviewer for motion graphics in CueFrame.\n\n## Workflow\n\n1. Call `get_context` to understand the current project state and brand kit.\n2. Call `get_composition` to read the graphics themselves \u2014 a card clip carries its\n `html` and `tokens` verbatim; an overlay or component clip carries its params.\n For a component's animation code, call `get_component_source` with its componentId.\n3. Call `preview_frame` with EVERY beat you need to see in ONE call \u2014 the rendered\n pixels, not your reading of the source.\n4. Assess quality against the checklist below. If improvements are needed, send the\n fixes as ONE `apply_composition` batch \u2014 a `clip.update` op per graphic carrying\n only the fields that change \u2014 then re-preview the beats you touched to verify.\n\n## Quality Checklist\n\n- **Visual hierarchy**: Title large/bold, subtext smaller/lighter, decorative elements subtle\n- **Animation choreography**: Elements arrive in sequence with staggered timing, not all at once\n- **Spring physics**: Use `spring()` for organic entrances instead of plain linear interpolation\n- **Color usage**: Read ALL colors from params (accentColor, textColor, backgroundColor) \u2014 never hardcode\n- **Entrance + exit**: Choreographed entrance sequence AND fade-out in final 15 frames\n- **Layered composition**: Multiple animated elements (text + accent line + shape + bg glow), not just a single element with opacity\n- **Typography**: Appropriate font from FONTS.*, proper letter-spacing, readable sizing\n- **Atmosphere**: Subtle glows, gradients, or accent color bleeds for depth\n\n## Component Contract\n\n- Signature: `export default function Name({ durationInFrames, params }) { ... }`\n- ONLY `useCurrentFrame()` and `useVideoConfig()` hooks. NO useEffect/useState/useMemo/useCallback/useRef.\n- Inline styles only. No imports, no CSS files, no `document` access. Max 10000 chars.\n- All animation driven by frame number.\n\n## Guidelines\n\n- Be specific in feedback: cite which element, which frame range, what to change.\n- Prefer refinement over complete rewrites \u2014 preserve the designer's intent.\n- A still cannot show motion. Judge timing and choreography from the source; judge\n layout, contrast and legibility from the frame.\n- After fixing, always re-preview to confirm the improvement visually.\n";
|
|
2
|
-
export declare const DESIGN_REVIEWER_TOOLS: string[];
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { BasePlugin } from '@uppy/core';
|
|
2
|
-
import type { Uppy, Meta } from '@uppy/core';
|
|
3
|
-
type CreateMediaItemFn = (file: {
|
|
4
|
-
name: string;
|
|
5
|
-
size: number;
|
|
6
|
-
mimeType: string;
|
|
7
|
-
}) => Promise<string>;
|
|
8
|
-
export declare class MediaItemPreprocessor extends BasePlugin<Record<string, never>, Meta, Record<string, never>> {
|
|
9
|
-
static pluginId: string;
|
|
10
|
-
private createFn;
|
|
11
|
-
private preprocessBound;
|
|
12
|
-
constructor(uppy: Uppy, opts?: Record<string, never>);
|
|
13
|
-
setCreateFn(fn: CreateMediaItemFn | null): void;
|
|
14
|
-
install(): void;
|
|
15
|
-
uninstall(): void;
|
|
16
|
-
private preprocess;
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface MultipartUploadOptions {
|
|
2
|
-
file: File;
|
|
3
|
-
signingUrl: string;
|
|
4
|
-
token: string;
|
|
5
|
-
metadata?: Record<string, string>;
|
|
6
|
-
onProgress?: (fraction: number) => void;
|
|
7
|
-
}
|
|
8
|
-
export interface MultipartUploadResult {
|
|
9
|
-
location: string;
|
|
10
|
-
mediaItemId: string;
|
|
11
|
-
}
|
|
12
|
-
export declare function multipartUpload(opts: MultipartUploadOptions): Promise<MultipartUploadResult>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { api as GeneratedApi } from "./api.generated.js";
|
|
2
|
-
/** The client-facing function-reference proxy. Runtime-identical to the
|
|
3
|
-
* backend's generated `api` (which IS `anyApi`); typed by the vendored
|
|
4
|
-
* declarations with the internal.* surface stripped. */
|
|
5
|
-
export declare const api: typeof GeneratedApi;
|