@cueframe/kernel 0.2.57 → 0.2.58
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/THIRD_PARTY_NOTICES.md +111 -0
- package/dist/_members/component-runtime/template/bind.d.ts +22 -0
- package/dist/_members/component-runtime/template/bind.d.ts.map +1 -0
- package/dist/_members/component-runtime/template/extract.d.ts +31 -0
- package/dist/_members/component-runtime/template/extract.d.ts.map +1 -0
- package/dist/_members/component-runtime/template/index.d.ts +5 -0
- package/dist/_members/component-runtime/template/index.d.ts.map +1 -0
- package/dist/_members/component-runtime/template/schema.d.ts +1580 -0
- package/dist/_members/component-runtime/template/schema.d.ts.map +1 -0
- package/dist/_members/component-runtime/template/testing/fixtures.d.ts +33 -0
- package/dist/_members/component-runtime/template/testing/fixtures.d.ts.map +1 -0
- package/dist/_members/component-runtime/template/testing/index.d.ts +3 -0
- package/dist/_members/component-runtime/template/testing/index.d.ts.map +1 -0
- package/dist/_members/component-runtime/template/testing/templateApplyContract.d.ts +54 -0
- package/dist/_members/component-runtime/template/testing/templateApplyContract.d.ts.map +1 -0
- package/dist/_members/composition/primitive-catalog/index.d.ts +2 -1
- package/dist/_members/composition/primitive-catalog/types.d.ts +3 -1
- package/dist/_members/composition/validators/brandKit.d.ts +7 -0
- package/dist/_members/composition/validators/brandKitBody.d.ts +543 -0
- package/dist/_members/errors/registry.d.ts +36 -0
- package/dist/_members/mcp/server.d.ts +5 -2
- package/dist/_members/primitives/backgrounds/dynamic-grid/config.d.ts +1 -1
- package/dist/_members/primitives/effects/blur/config.d.ts +1 -1
- package/dist/_members/primitives/effects/color-grade/config.d.ts +2 -2
- package/dist/_members/primitives/effects/grain/config.d.ts +3 -3
- package/dist/_members/primitives/effects/particles/config.d.ts +2 -2
- package/dist/_members/primitives/effects/stage-camera/config.d.ts +6 -6
- package/dist/_members/primitives/effects/vignette/config.d.ts +1 -1
- package/dist/_members/primitives/layouts/flex-layout/config.d.ts +3 -3
- package/dist/_members/primitives/layouts/picture-in-picture/config.d.ts +2 -2
- package/dist/_members/primitives/lib/types.d.ts +1 -1
- package/dist/_members/primitives/scenes/device-showcase/config.d.ts +7 -7
- package/dist/_members/primitives/text/cinematic-title/config.d.ts +3 -3
- package/dist/_members/primitives/text/karaoke/config.d.ts +1 -1
- package/dist/_members/primitives/text/kinetic-type/config.d.ts +3 -3
- package/dist/_members/primitives/text/stat-counter/config.d.ts +1 -1
- package/dist/_members/primitives/text/text-effect/config.d.ts +2 -2
- package/dist/_members/primitives/transitions/grid-pixelate-wipe/config.d.ts +1 -1
- package/dist/_members/primitives/ui-blocks/badge-pop/config.d.ts +3 -3
- package/dist/_members/primitives/ui-blocks/terminal-simulator/config.d.ts +2 -2
- package/dist/_members/primitives/ui-blocks/toast-notification/config.d.ts +2 -2
- package/dist/authoring/build-tools.js +5 -4
- package/dist/authoring/context.js +2 -1
- package/dist/authoring/tools.js +4 -3
- package/dist/authoring.js +7 -6
- package/dist/{chunk-R7G2PNEZ.js → chunk-2L33CKIY.js} +11 -13
- package/dist/{chunk-N54EGUVM.js → chunk-3VLDQE26.js} +1 -1
- package/dist/{chunk-7AZLFN26.js → chunk-4NIJWK45.js} +20 -12
- package/dist/{chunk-KSRFYFUZ.js → chunk-5T655LYZ.js} +1 -1
- package/dist/{chunk-RERR5JLM.js → chunk-6UZYUWBX.js} +1 -1
- package/dist/{chunk-LBN5KQC6.js → chunk-7EDLPIUN.js} +3 -3
- package/dist/{chunk-MZB4ZXYW.js → chunk-7NIOFHMH.js} +1 -1
- package/dist/{chunk-E63UEO5C.js → chunk-AK5QBHOB.js} +6 -0
- package/dist/{chunk-BDFAA747.js → chunk-GQ6XGAFB.js} +1 -1
- package/dist/chunk-IG3YAOUZ.js +418 -0
- package/dist/{chunk-Z4G3VM3H.js → chunk-JN3GF36B.js} +1 -1
- package/dist/{chunk-DV7ZFVL4.js → chunk-MFMR3LHO.js} +1 -1
- package/dist/{chunk-JPMVNMF3.js → chunk-MNO6AO2J.js} +1 -1
- package/dist/{chunk-VXGA7LQQ.js → chunk-NVXSKKRN.js} +2 -2
- package/dist/chunk-PWWZTY3G.js +254 -0
- package/dist/chunk-REST55RC.js +366 -0
- package/dist/chunk-TR53N6HB.js +196 -0
- package/dist/{chunk-4PV3UYJF.js → chunk-UXRSEMJJ.js} +201 -201
- package/dist/component-runtime/template/testing.d.ts +1 -0
- package/dist/component-runtime/template/testing.js +380 -0
- package/dist/component-runtime/template.d.ts +1 -0
- package/dist/component-runtime/template.js +99 -0
- package/dist/compose.js +20 -20
- package/dist/composition/floors.js +1 -1
- package/dist/composition/ops.js +2 -1
- package/dist/composition/primitive-catalog.js +3 -1
- package/dist/composition/projection.js +2 -2
- package/dist/composition/validators/brand-kit-body.d.ts +1 -0
- package/dist/composition/validators/brand-kit-body.js +17 -0
- package/dist/composition/validators.js +10 -6
- package/dist/composition-ops.js +7 -6
- package/dist/composition.js +12 -8
- package/dist/{context-6HPUO36M.js → context-4WSFPRLX.js} +2 -1
- package/dist/core/render.js +4 -4
- package/dist/core/select.js +2 -2
- package/dist/core.js +4 -4
- 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 +3 -3
- package/dist/mcp/server.js +3 -26
- package/dist/mcp.js +3 -26
- package/dist/nle-export.js +1 -1
- package/dist/primitives/captions.js +3 -3
- package/dist/primitives.js +18 -18
- package/dist/render-harness/cardAssetAdmission.js +2 -2
- package/dist/render-harness/cardFonts.js +2 -2
- package/dist/render-harness/renderInputAssets.js +2 -2
- package/dist/render-harness.js +8 -8
- package/dist/src-ZP6727AA.js +70 -0
- package/package.json +22 -10
- package/dist/chunk-AXRSCHQX.js +0 -661
|
@@ -2,21 +2,21 @@ import { z } from 'zod';
|
|
|
2
2
|
import type { PrimitiveMeta } from '../../lib/types.js';
|
|
3
3
|
declare const paramsSchema: z.ZodObject<{
|
|
4
4
|
move: z.ZodDefault<z.ZodEnum<{
|
|
5
|
-
|
|
5
|
+
orbit: "orbit";
|
|
6
6
|
"dolly-in": "dolly-in";
|
|
7
|
-
"dolly-out": "dolly-out";
|
|
8
|
-
drift: "drift";
|
|
9
7
|
"tilt-reveal": "tilt-reveal";
|
|
10
|
-
|
|
8
|
+
drift: "drift";
|
|
9
|
+
static: "static";
|
|
10
|
+
"dolly-out": "dolly-out";
|
|
11
11
|
}>>;
|
|
12
12
|
fov: z.ZodDefault<z.ZodNumber>;
|
|
13
13
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
14
14
|
easing: z.ZodDefault<z.ZodEnum<{
|
|
15
15
|
emphasis: "emphasis";
|
|
16
|
-
playful: "playful";
|
|
17
16
|
none: "none";
|
|
18
|
-
|
|
17
|
+
playful: "playful";
|
|
19
18
|
entrance: "entrance";
|
|
19
|
+
exit: "exit";
|
|
20
20
|
cross: "cross";
|
|
21
21
|
drama: "drama";
|
|
22
22
|
}>>;
|
|
@@ -4,8 +4,8 @@ declare const paramsSchema: z.ZodObject<{
|
|
|
4
4
|
intensity: z.ZodDefault<z.ZodNumber>;
|
|
5
5
|
spread: z.ZodDefault<z.ZodNumber>;
|
|
6
6
|
shape: z.ZodDefault<z.ZodEnum<{
|
|
7
|
-
circle: "circle";
|
|
8
7
|
ellipse: "ellipse";
|
|
8
|
+
circle: "circle";
|
|
9
9
|
}>>;
|
|
10
10
|
color: z.ZodDefault<z.ZodString>;
|
|
11
11
|
}, z.core.$loose>;
|
|
@@ -2,8 +2,8 @@ import { z } from 'zod';
|
|
|
2
2
|
import type { PrimitiveMeta } from '../../lib/types.js';
|
|
3
3
|
declare const paramsSchema: z.ZodObject<{
|
|
4
4
|
direction: z.ZodDefault<z.ZodEnum<{
|
|
5
|
-
column: "column";
|
|
6
5
|
row: "row";
|
|
6
|
+
column: "column";
|
|
7
7
|
}>>;
|
|
8
8
|
gap: z.ZodDefault<z.ZodNumber>;
|
|
9
9
|
padding: z.ZodDefault<z.ZodNumber>;
|
|
@@ -49,12 +49,12 @@ declare const paramsSchema: z.ZodObject<{
|
|
|
49
49
|
}, z.core.$strict>]>>>;
|
|
50
50
|
fits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
51
51
|
mode: z.ZodEnum<{
|
|
52
|
-
position: "position";
|
|
53
52
|
stretch: "stretch";
|
|
53
|
+
position: "position";
|
|
54
|
+
matte: "matte";
|
|
54
55
|
contain: "contain";
|
|
55
56
|
cover: "cover";
|
|
56
57
|
scale: "scale";
|
|
57
|
-
matte: "matte";
|
|
58
58
|
}>;
|
|
59
59
|
aspect: z.ZodOptional<z.ZodNumber>;
|
|
60
60
|
size: z.ZodOptional<z.ZodObject<{
|
|
@@ -2,10 +2,10 @@ import { z } from 'zod';
|
|
|
2
2
|
import type { PrimitiveMeta } from '../../lib/types.js';
|
|
3
3
|
declare const paramsSchema: z.ZodObject<{
|
|
4
4
|
position: z.ZodDefault<z.ZodEnum<{
|
|
5
|
+
"bottom-right": "bottom-right";
|
|
6
|
+
"top-right": "top-right";
|
|
5
7
|
"top-left": "top-left";
|
|
6
8
|
"bottom-left": "bottom-left";
|
|
7
|
-
"top-right": "top-right";
|
|
8
|
-
"bottom-right": "bottom-right";
|
|
9
9
|
}>>;
|
|
10
10
|
size: z.ZodDefault<z.ZodNumber>;
|
|
11
11
|
borderRadius: z.ZodDefault<z.ZodNumber>;
|
|
@@ -3,7 +3,7 @@ import type { z } from 'zod';
|
|
|
3
3
|
export type PrimitiveCategory = 'text' | 'effects' | 'transitions' | 'layouts' | 'backgrounds' | 'ui-blocks' | 'scenes';
|
|
4
4
|
export type PrimitiveKind = 'component' | 'transition' | 'scene';
|
|
5
5
|
export type Tier = 'recommended' | 'standard' | 'niche';
|
|
6
|
-
export type UseCase = '
|
|
6
|
+
export type UseCase = import('../../composition/primitive-catalog/index.js').PrimitiveUseCase;
|
|
7
7
|
export type Mood = 'editorial' | 'cinematic' | 'tech-demo' | 'breaking-news' | 'playful' | 'minimal' | 'aggressive' | 'soft' | 'glitchy' | 'corporate';
|
|
8
8
|
export interface Example<P = any> {
|
|
9
9
|
name: string;
|
|
@@ -7,21 +7,21 @@ declare const paramsSchema: z.ZodObject<{
|
|
|
7
7
|
}>>;
|
|
8
8
|
screenSrc: z.ZodOptional<z.ZodString>;
|
|
9
9
|
move: z.ZodDefault<z.ZodEnum<{
|
|
10
|
-
|
|
10
|
+
orbit: "orbit";
|
|
11
11
|
"dolly-in": "dolly-in";
|
|
12
|
-
"dolly-out": "dolly-out";
|
|
13
|
-
drift: "drift";
|
|
14
12
|
"tilt-reveal": "tilt-reveal";
|
|
15
|
-
|
|
13
|
+
drift: "drift";
|
|
14
|
+
static: "static";
|
|
15
|
+
"dolly-out": "dolly-out";
|
|
16
16
|
}>>;
|
|
17
17
|
fov: z.ZodDefault<z.ZodNumber>;
|
|
18
18
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
19
19
|
easing: z.ZodDefault<z.ZodEnum<{
|
|
20
20
|
emphasis: "emphasis";
|
|
21
|
-
playful: "playful";
|
|
22
21
|
none: "none";
|
|
23
|
-
|
|
22
|
+
playful: "playful";
|
|
24
23
|
entrance: "entrance";
|
|
24
|
+
exit: "exit";
|
|
25
25
|
cross: "cross";
|
|
26
26
|
drama: "drama";
|
|
27
27
|
}>>;
|
|
@@ -31,8 +31,8 @@ declare const paramsSchema: z.ZodObject<{
|
|
|
31
31
|
openAngle: z.ZodDefault<z.ZodNumber>;
|
|
32
32
|
lighting: z.ZodDefault<z.ZodEnum<{
|
|
33
33
|
soft: "soft";
|
|
34
|
-
key: "key";
|
|
35
34
|
rim: "rim";
|
|
35
|
+
key: "key";
|
|
36
36
|
}>>;
|
|
37
37
|
speed: z.ZodDefault<z.ZodNumber>;
|
|
38
38
|
}, z.core.$loose>;
|
|
@@ -4,14 +4,14 @@ declare const paramsSchema: z.ZodObject<{
|
|
|
4
4
|
text: z.ZodString;
|
|
5
5
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
6
6
|
variant: z.ZodDefault<z.ZodEnum<{
|
|
7
|
-
bold: "bold";
|
|
8
|
-
default: "default";
|
|
9
7
|
zoom: "zoom";
|
|
8
|
+
default: "default";
|
|
9
|
+
bold: "bold";
|
|
10
10
|
}>>;
|
|
11
11
|
position: z.ZodDefault<z.ZodEnum<{
|
|
12
12
|
center: "center";
|
|
13
|
-
bottom: "bottom";
|
|
14
13
|
top: "top";
|
|
14
|
+
bottom: "bottom";
|
|
15
15
|
}>>;
|
|
16
16
|
tokens: z.ZodPrefault<z.ZodObject<{
|
|
17
17
|
fontFamily: z.ZodDefault<z.ZodString>;
|
|
@@ -7,9 +7,9 @@ declare const paramsSchema: z.ZodObject<{
|
|
|
7
7
|
endMs: z.ZodNumber;
|
|
8
8
|
}, z.core.$strip>>;
|
|
9
9
|
position: z.ZodDefault<z.ZodEnum<{
|
|
10
|
-
center: "center";
|
|
11
10
|
left: "left";
|
|
12
11
|
right: "right";
|
|
12
|
+
center: "center";
|
|
13
13
|
bottom: "bottom";
|
|
14
14
|
}>>;
|
|
15
15
|
tokens: z.ZodPrefault<z.ZodObject<{
|
|
@@ -4,14 +4,14 @@ declare const paramsSchema: z.ZodObject<{
|
|
|
4
4
|
text: z.ZodString;
|
|
5
5
|
animation: z.ZodDefault<z.ZodEnum<{
|
|
6
6
|
"fly-in": "fly-in";
|
|
7
|
-
rotate: "rotate";
|
|
8
|
-
"scale-bounce": "scale-bounce";
|
|
9
7
|
cascade: "cascade";
|
|
8
|
+
"scale-bounce": "scale-bounce";
|
|
9
|
+
rotate: "rotate";
|
|
10
10
|
}>>;
|
|
11
11
|
position: z.ZodDefault<z.ZodEnum<{
|
|
12
|
-
center: "center";
|
|
13
12
|
left: "left";
|
|
14
13
|
right: "right";
|
|
14
|
+
center: "center";
|
|
15
15
|
}>>;
|
|
16
16
|
accentColor: z.ZodDefault<z.ZodString>;
|
|
17
17
|
tokens: z.ZodPrefault<z.ZodObject<{
|
|
@@ -9,9 +9,9 @@ declare const paramsSchema: z.ZodObject<{
|
|
|
9
9
|
decimals: z.ZodDefault<z.ZodNumber>;
|
|
10
10
|
countFrames: z.ZodDefault<z.ZodNumber>;
|
|
11
11
|
position: z.ZodDefault<z.ZodEnum<{
|
|
12
|
-
center: "center";
|
|
13
12
|
left: "left";
|
|
14
13
|
right: "right";
|
|
14
|
+
center: "center";
|
|
15
15
|
}>>;
|
|
16
16
|
}, z.core.$loose>;
|
|
17
17
|
type Params = z.infer<typeof paramsSchema>;
|
|
@@ -4,11 +4,11 @@ declare const paramsSchema: z.ZodObject<{
|
|
|
4
4
|
text: z.ZodOptional<z.ZodString>;
|
|
5
5
|
type: z.ZodEnum<{
|
|
6
6
|
gradient: "gradient";
|
|
7
|
-
neon: "neon";
|
|
8
7
|
glow: "glow";
|
|
9
|
-
wave: "wave";
|
|
10
8
|
outline: "outline";
|
|
11
9
|
shadow: "shadow";
|
|
10
|
+
neon: "neon";
|
|
11
|
+
wave: "wave";
|
|
12
12
|
}>;
|
|
13
13
|
colors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
14
14
|
color: z.ZodDefault<z.ZodString>;
|
|
@@ -4,8 +4,8 @@ declare const paramsSchema: z.ZodObject<{
|
|
|
4
4
|
cols: z.ZodDefault<z.ZodNumber>;
|
|
5
5
|
rows: z.ZodDefault<z.ZodNumber>;
|
|
6
6
|
pattern: z.ZodDefault<z.ZodEnum<{
|
|
7
|
-
wave: "wave";
|
|
8
7
|
diagonal: "diagonal";
|
|
8
|
+
wave: "wave";
|
|
9
9
|
spiral: "spiral";
|
|
10
10
|
}>>;
|
|
11
11
|
cellColor: z.ZodDefault<z.ZodString>;
|
|
@@ -6,11 +6,11 @@ declare const paramsSchema: z.ZodObject<{
|
|
|
6
6
|
accentColor: z.ZodDefault<z.ZodString>;
|
|
7
7
|
textColor: z.ZodDefault<z.ZodString>;
|
|
8
8
|
position: z.ZodDefault<z.ZodEnum<{
|
|
9
|
-
|
|
9
|
+
"bottom-right": "bottom-right";
|
|
10
|
+
"top-right": "top-right";
|
|
10
11
|
"top-left": "top-left";
|
|
11
12
|
"bottom-left": "bottom-left";
|
|
12
|
-
|
|
13
|
-
"bottom-right": "bottom-right";
|
|
13
|
+
center: "center";
|
|
14
14
|
}>>;
|
|
15
15
|
fontSize: z.ZodDefault<z.ZodNumber>;
|
|
16
16
|
}, z.core.$loose>;
|
|
@@ -3,10 +3,10 @@ import type { PrimitiveMeta } from '../../lib/types.js';
|
|
|
3
3
|
declare const paramsSchema: z.ZodObject<{
|
|
4
4
|
lines: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5
5
|
type: z.ZodEnum<{
|
|
6
|
-
error: "error";
|
|
7
|
-
log: "log";
|
|
8
6
|
success: "success";
|
|
9
7
|
command: "command";
|
|
8
|
+
log: "log";
|
|
9
|
+
error: "error";
|
|
10
10
|
}>;
|
|
11
11
|
text: z.ZodString;
|
|
12
12
|
}, z.core.$loose>>>;
|
|
@@ -4,10 +4,10 @@ declare const paramsSchema: z.ZodObject<{
|
|
|
4
4
|
title: z.ZodDefault<z.ZodString>;
|
|
5
5
|
message: z.ZodDefault<z.ZodString>;
|
|
6
6
|
variant: z.ZodDefault<z.ZodEnum<{
|
|
7
|
-
error: "error";
|
|
8
7
|
success: "success";
|
|
9
|
-
|
|
8
|
+
error: "error";
|
|
10
9
|
info: "info";
|
|
10
|
+
warning: "warning";
|
|
11
11
|
}>>;
|
|
12
12
|
background: z.ZodOptional<z.ZodString>;
|
|
13
13
|
cardColor: z.ZodOptional<z.ZodString>;
|
|
@@ -4,12 +4,13 @@ import {
|
|
|
4
4
|
buildPlannerTools,
|
|
5
5
|
buildToolsFromSchemas,
|
|
6
6
|
extractProviderError
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-6UZYUWBX.js";
|
|
8
|
+
import "../chunk-7EDLPIUN.js";
|
|
9
9
|
import "../chunk-JOURGVOR.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-4NIJWK45.js";
|
|
11
11
|
import "../chunk-LBJ5LI5V.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-IG3YAOUZ.js";
|
|
13
|
+
import "../chunk-PWWZTY3G.js";
|
|
13
14
|
import "../chunk-UFD4EZHM.js";
|
|
14
15
|
import "../chunk-WPZKOVYF.js";
|
|
15
16
|
import "../chunk-B7J5UUUV.js";
|
|
@@ -2,7 +2,8 @@ import {
|
|
|
2
2
|
buildDirectorContext
|
|
3
3
|
} from "../chunk-UMXES6ED.js";
|
|
4
4
|
import "../chunk-LBJ5LI5V.js";
|
|
5
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-IG3YAOUZ.js";
|
|
6
|
+
import "../chunk-PWWZTY3G.js";
|
|
6
7
|
import "../chunk-UFD4EZHM.js";
|
|
7
8
|
import "../chunk-WPZKOVYF.js";
|
|
8
9
|
import "../chunk-B7J5UUUV.js";
|
package/dist/authoring/tools.js
CHANGED
|
@@ -6,11 +6,12 @@ import {
|
|
|
6
6
|
COMPOSE_ROLE_TOOLS,
|
|
7
7
|
COMPOSE_ROLE_TOOL_NAMES,
|
|
8
8
|
dispatchComposeRoleTool
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-7EDLPIUN.js";
|
|
10
10
|
import "../chunk-JOURGVOR.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-4NIJWK45.js";
|
|
12
12
|
import "../chunk-LBJ5LI5V.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-IG3YAOUZ.js";
|
|
14
|
+
import "../chunk-PWWZTY3G.js";
|
|
14
15
|
import "../chunk-UFD4EZHM.js";
|
|
15
16
|
import "../chunk-WPZKOVYF.js";
|
|
16
17
|
import "../chunk-B7J5UUUV.js";
|
package/dist/authoring.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
buildPlannerTools,
|
|
12
12
|
buildToolsFromSchemas,
|
|
13
13
|
extractProviderError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6UZYUWBX.js";
|
|
15
15
|
import {
|
|
16
16
|
COMPOSE_MOTION_TOOLS,
|
|
17
17
|
COMPOSE_MOTION_VERIFY_TOOLS,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
COMPOSE_ROLE_TOOLS,
|
|
21
21
|
COMPOSE_ROLE_TOOL_NAMES,
|
|
22
22
|
dispatchComposeRoleTool
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-7EDLPIUN.js";
|
|
24
24
|
import {
|
|
25
25
|
AgentFixableCaptureError,
|
|
26
26
|
getExcludedTools
|
|
@@ -48,20 +48,21 @@ import {
|
|
|
48
48
|
formatPlanSteps,
|
|
49
49
|
initCodeGenPrompts
|
|
50
50
|
} from "./chunk-Y4HPN4BC.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-4NIJWK45.js";
|
|
52
52
|
import "./chunk-LBJ5LI5V.js";
|
|
53
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-IG3YAOUZ.js";
|
|
54
|
+
import "./chunk-PWWZTY3G.js";
|
|
54
55
|
import "./chunk-UFD4EZHM.js";
|
|
55
56
|
import "./chunk-WPZKOVYF.js";
|
|
56
57
|
import "./chunk-B7J5UUUV.js";
|
|
57
58
|
import "./chunk-KYRDKK2D.js";
|
|
58
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-7NIOFHMH.js";
|
|
59
60
|
import {
|
|
60
61
|
cssLayoutVars
|
|
61
62
|
} from "./chunk-DKBFAQCW.js";
|
|
62
63
|
import "./chunk-WREYUH2E.js";
|
|
63
64
|
import "./chunk-ILO4NEZ3.js";
|
|
64
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-AK5QBHOB.js";
|
|
65
66
|
import "./chunk-7PA7FGLD.js";
|
|
66
67
|
import "./chunk-VG2ND6PX.js";
|
|
67
68
|
import {
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
SCENE_SHOT_RESOURCE_DESCRIPTION,
|
|
3
|
-
SCENE_SHOT_RESOURCE_URI,
|
|
4
|
-
sceneShotContract
|
|
5
|
-
} from "./chunk-WSMCZRJ2.js";
|
|
6
1
|
import {
|
|
7
2
|
querySchemaShape,
|
|
8
3
|
serializeQuery,
|
|
9
4
|
waitForJob
|
|
10
5
|
} from "./chunk-3YVIAWET.js";
|
|
6
|
+
import {
|
|
7
|
+
CURATED_TOOLS
|
|
8
|
+
} from "./chunk-4WBSXHQA.js";
|
|
9
|
+
import {
|
|
10
|
+
SCENE_SHOT_RESOURCE_DESCRIPTION,
|
|
11
|
+
SCENE_SHOT_RESOURCE_URI,
|
|
12
|
+
sceneShotContract
|
|
13
|
+
} from "./chunk-WSMCZRJ2.js";
|
|
11
14
|
import {
|
|
12
15
|
GENERATED_OPERATIONS,
|
|
13
16
|
apiErrorFrom,
|
|
@@ -26,12 +29,6 @@ import {
|
|
|
26
29
|
textWithData,
|
|
27
30
|
withMedia
|
|
28
31
|
} from "./chunk-KBDUEU4W.js";
|
|
29
|
-
import {
|
|
30
|
-
CURATED_TOOLS
|
|
31
|
-
} from "./chunk-4WBSXHQA.js";
|
|
32
|
-
import {
|
|
33
|
-
CompositionOp
|
|
34
|
-
} from "./chunk-4PV3UYJF.js";
|
|
35
32
|
|
|
36
33
|
// ../mcp/src/prompts.ts
|
|
37
34
|
var skillListCache = null;
|
|
@@ -450,7 +447,8 @@ function registerCuratedTools(server, ex, opts) {
|
|
|
450
447
|
registerWaitJob(server, ex, opts?.waitCapMs, opts?.onEvent);
|
|
451
448
|
registerPreviewCard(server, ex, opts?.waitCapMs, opts?.onEvent);
|
|
452
449
|
}
|
|
453
|
-
function describeCompositionOps(type) {
|
|
450
|
+
async function describeCompositionOps(type) {
|
|
451
|
+
const { CompositionOp } = await import("./src-ZP6727AA.js");
|
|
454
452
|
const variants = CompositionOp.options;
|
|
455
453
|
const knownTypes = variants.map((variant2) => variant2.shape.type.value);
|
|
456
454
|
if (type === void 0) {
|
|
@@ -475,7 +473,7 @@ function registerCompositionOpDiscovery(server, onEvent) {
|
|
|
475
473
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false }
|
|
476
474
|
}, async (args) => timed(onEvent, "describe_composition_ops", async () => {
|
|
477
475
|
try {
|
|
478
|
-
const data = describeCompositionOps(args.type);
|
|
476
|
+
const data = await describeCompositionOps(args.type);
|
|
479
477
|
return textWithData(JSON.stringify(data), data);
|
|
480
478
|
} catch (error) {
|
|
481
479
|
return errText(fmtErr(error));
|
|
@@ -16270,6 +16270,24 @@ var PRIMITIVE_META = [
|
|
|
16270
16270
|
}
|
|
16271
16271
|
];
|
|
16272
16272
|
|
|
16273
|
+
// ../composition/src/primitive-catalog/types.ts
|
|
16274
|
+
var PRIMITIVE_USE_CASES = [
|
|
16275
|
+
"intro",
|
|
16276
|
+
"outro",
|
|
16277
|
+
"full-scene",
|
|
16278
|
+
"title-over-footage",
|
|
16279
|
+
"transition",
|
|
16280
|
+
"background",
|
|
16281
|
+
"grade",
|
|
16282
|
+
"emphasis",
|
|
16283
|
+
"explainer",
|
|
16284
|
+
"social-cut",
|
|
16285
|
+
"ui-entrance",
|
|
16286
|
+
"camera",
|
|
16287
|
+
"rhythm",
|
|
16288
|
+
"data"
|
|
16289
|
+
];
|
|
16290
|
+
|
|
16273
16291
|
// ../composition/src/primitive-catalog/disabled.ts
|
|
16274
16292
|
var DISABLED_PRIMITIVE_IDS = /* @__PURE__ */ new Set([]);
|
|
16275
16293
|
function isPrimitiveDisabled(id) {
|
|
@@ -16533,18 +16551,7 @@ var CATALOG_CATEGORY_VALUES = /* @__PURE__ */ new Set([
|
|
|
16533
16551
|
]);
|
|
16534
16552
|
var CATALOG_KIND_VALUES = /* @__PURE__ */ new Set(["component", "transition", "scene"]);
|
|
16535
16553
|
var CATALOG_TIER_VALUES = /* @__PURE__ */ new Set(["recommended", "standard", "niche"]);
|
|
16536
|
-
var CATALOG_USE_CASE_VALUES =
|
|
16537
|
-
"intro",
|
|
16538
|
-
"outro",
|
|
16539
|
-
"full-scene",
|
|
16540
|
-
"title-over-footage",
|
|
16541
|
-
"transition",
|
|
16542
|
-
"background",
|
|
16543
|
-
"grade",
|
|
16544
|
-
"emphasis",
|
|
16545
|
-
"explainer",
|
|
16546
|
-
"social-cut"
|
|
16547
|
-
]);
|
|
16554
|
+
var CATALOG_USE_CASE_VALUES = new Set(PRIMITIVE_USE_CASES);
|
|
16548
16555
|
var TIER_RANK = { recommended: 0, standard: 1, niche: 2 };
|
|
16549
16556
|
var CatalogFilterError = class extends Error {
|
|
16550
16557
|
constructor(field, value, allowed) {
|
|
@@ -16701,6 +16708,7 @@ function getPrimitiveText(overlay) {
|
|
|
16701
16708
|
|
|
16702
16709
|
export {
|
|
16703
16710
|
PRIMITIVE_META,
|
|
16711
|
+
PRIMITIVE_USE_CASES,
|
|
16704
16712
|
DISABLED_PRIMITIVE_IDS,
|
|
16705
16713
|
isPrimitiveDisabled,
|
|
16706
16714
|
derivePlacement,
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
getPrimitiveSubtextParam,
|
|
6
6
|
getPrimitiveTextParam
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4NIJWK45.js";
|
|
8
8
|
import {
|
|
9
9
|
selectAllOverlays
|
|
10
10
|
} from "./chunk-LBJ5LI5V.js";
|
|
11
11
|
import {
|
|
12
12
|
ComposePlan
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IG3YAOUZ.js";
|
|
14
14
|
import {
|
|
15
15
|
OverlayClipSource
|
|
16
16
|
} from "./chunk-UFD4EZHM.js";
|
|
@@ -63,7 +63,7 @@ var COMPOSE_ROLE_TOOLS = Object.freeze({
|
|
|
63
63
|
schema: z.object({}),
|
|
64
64
|
metadata: { label: "Get Context" },
|
|
65
65
|
handler: async (_args, capabilities) => {
|
|
66
|
-
const { buildDirectorContext } = await import("./context-
|
|
66
|
+
const { buildDirectorContext } = await import("./context-4WSFPRLX.js");
|
|
67
67
|
return buildDirectorContext(capabilities);
|
|
68
68
|
}
|
|
69
69
|
},
|
|
@@ -3,6 +3,7 @@ var ERROR_CODES = {
|
|
|
3
3
|
unauthorized: { stage: "auth", category: "authoring", retryable: false, httpStatus: 401 },
|
|
4
4
|
forbidden: { stage: "auth", category: "authoring", retryable: false, httpStatus: 403 },
|
|
5
5
|
not_found: { stage: "auth", category: "authoring", retryable: false, httpStatus: 404 },
|
|
6
|
+
system_project: { stage: "auth", category: "authoring", retryable: false, httpStatus: 409 },
|
|
6
7
|
billing_required: { stage: "billing", category: "authoring", retryable: false, httpStatus: 402 },
|
|
7
8
|
billing_unavailable: { stage: "billing", category: "transient", retryable: true, httpStatus: 503 },
|
|
8
9
|
rate_limited: { stage: "billing", category: "transient", retryable: true, httpStatus: 429 },
|
|
@@ -115,6 +116,11 @@ var ERROR_CODES = {
|
|
|
115
116
|
project_not_found: { stage: "validate", category: "authoring", retryable: false, httpStatus: 404 },
|
|
116
117
|
batch_too_large: { stage: "validate", category: "authoring", retryable: false, httpStatus: 413 },
|
|
117
118
|
payload_too_large: { stage: "validate", category: "authoring", retryable: false, httpStatus: 413 },
|
|
119
|
+
template_parameter_undeclared: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
120
|
+
template_values_invalid: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
121
|
+
template_media_kind_mismatch: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
122
|
+
template_component_conflict: { stage: "validate", category: "authoring", retryable: false, httpStatus: 409 },
|
|
123
|
+
template_media_import_failed: { stage: "import", category: "authoring", retryable: false, httpStatus: 422 },
|
|
118
124
|
invalid_webhook_url: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
119
125
|
invalid_age: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
120
126
|
unsupported_fact_scope: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|