@cueframe/kernel 0.1.1 → 0.1.2
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/account-model/testing/conversationStoreContract.d.ts +0 -59
- package/dist/_members/account-model/testing/index.d.ts +0 -5
- package/dist/_members/account-model/testing/restorePointStoreContract.d.ts +0 -24
- package/dist/_members/account-model/validators/contextFile.d.ts +0 -6
- package/dist/_members/account-model/validators/conversation.d.ts +0 -96
- package/dist/_members/account-model/validators/dashboardInsight.d.ts +0 -6
- package/dist/_members/account-model/validators/sessionToken.d.ts +0 -29
- package/dist/_members/account-model/validators/uploadToken.d.ts +0 -4
- package/dist/_members/account-model/validators/userSettings.d.ts +0 -4
- package/dist/_members/account-model/validators/workingComposition.d.ts +0 -7
- package/dist/_members/animate/animations/Create.d.ts +0 -19
- package/dist/_members/animate/animations/FadeIn.d.ts +0 -17
- package/dist/_members/animate/animations/GrowArrow.d.ts +0 -19
- package/dist/_members/animate/animations/GrowFromCenter.d.ts +0 -12
- package/dist/_members/animate/animations/Indicate.d.ts +0 -17
- package/dist/_members/animate/animations/MoveAlongPath.d.ts +0 -18
- package/dist/_members/animate/animations/Transform.d.ts +0 -28
- package/dist/_members/animate/animations/Wiggle.d.ts +0 -18
- package/dist/_members/animate/animations/Write.d.ts +0 -20
- package/dist/_members/animate/composition/AnimationGroup.d.ts +0 -21
- package/dist/_members/animate/composition/LaggedStart.d.ts +0 -22
- package/dist/_members/animate/composition/Succession.d.ts +0 -17
- package/dist/_members/animate/easing/rush.d.ts +0 -14
- package/dist/_members/animate/easing/smooth.d.ts +0 -7
- package/dist/_members/animate/easing/smootherstep.d.ts +0 -6
- package/dist/_members/animate/index.d.ts +0 -2
- package/dist/_members/animate/mobjects/Arrow.d.ts +0 -25
- package/dist/_members/animate/mobjects/BrandBox.d.ts +0 -25
- package/dist/_members/animate/mobjects/DiGraph.d.ts +0 -18
- package/dist/_members/animate/mobjects/Graph.d.ts +0 -38
- package/dist/_members/animate/three/ThreeCanvas.d.ts +0 -23
- package/dist/_members/animate/three/drei.d.ts +0 -7
- package/dist/_members/authoring/agent/buildTools.d.ts +0 -37
- package/dist/_members/authoring/agent/contextManagement.d.ts +0 -65
- package/dist/_members/authoring/agent/errors.d.ts +0 -9
- package/dist/_members/authoring/agent/memoryTool.d.ts +0 -2
- package/dist/_members/authoring/agent/promptCache.d.ts +0 -31
- package/dist/_members/authoring/agent.d.ts +0 -34
- package/dist/_members/authoring/capabilities.d.ts +0 -145
- package/dist/_members/authoring/composer/scopes.d.ts +0 -19
- package/dist/_members/authoring/context/brand.d.ts +0 -4
- package/dist/_members/authoring/context/brandTokens.d.ts +0 -4
- package/dist/_members/authoring/context/index.d.ts +0 -1
- package/dist/_members/authoring/context/timeline.d.ts +0 -15
- package/dist/_members/authoring/context/transcript.d.ts +0 -11
- package/dist/_members/authoring/context/types.d.ts +0 -4
- package/dist/_members/authoring/decomposer.d.ts +0 -12
- package/dist/_members/authoring/evaluate.d.ts +0 -26
- package/dist/_members/authoring/evaluator.d.ts +0 -16
- package/dist/_members/authoring/models/modelFactory.d.ts +0 -77
- package/dist/_members/authoring/motion/applyMotionPreset.d.ts +0 -12
- package/dist/_members/authoring/motion/materializeMotionPresetOps.d.ts +0 -7
- package/dist/_members/authoring/motion/shell.d.ts +0 -20
- package/dist/_members/authoring/pipelineTrace.d.ts +0 -19
- package/dist/_members/authoring/prompts/decomposerPrompt.d.ts +0 -4
- package/dist/_members/authoring/prompts/designReviewerPrompt.d.ts +0 -16
- package/dist/_members/authoring/prompts/evaluatorPrompt.d.ts +0 -4
- package/dist/_members/authoring/prompts/graphics.d.ts +0 -5
- package/dist/_members/authoring/prompts/plannerPrompt.d.ts +0 -30
- package/dist/_members/authoring/providers/resourceApi.d.ts +1 -20
- package/dist/_members/authoring/resource-routing.d.ts +0 -121
- package/dist/_members/authoring/resources.d.ts +0 -34
- package/dist/_members/authoring/scope.d.ts +0 -24
- package/dist/_members/authoring/tools/brandTokens.d.ts +0 -22
- package/dist/_members/authoring/tools/composeRoleTools.d.ts +0 -79
- package/dist/_members/authoring/tools/index.d.ts +0 -1
- package/dist/_members/authoring/tools/toolSets.d.ts +0 -50
- package/dist/_members/authoring/transpileComponent.d.ts +0 -34
- package/dist/_members/authoring/transpileHelper.d.ts +0 -18
- package/dist/_members/authoring/types.d.ts +0 -149
- package/dist/_members/brand-derivation/constants.d.ts +0 -17
- package/dist/_members/brand-derivation/contrastSafe.d.ts +0 -23
- package/dist/_members/cloud-import/CloudImportService.d.ts +0 -15
- package/dist/_members/cloud-import/ImportProvider.d.ts +0 -45
- package/dist/_members/cloud-import/MediaItemPreprocessor.d.ts +0 -9
- package/dist/_members/cloud-import/cloudConfig.d.ts +0 -15
- package/dist/_members/compose/CompositionRenderer.d.ts +0 -6
- package/dist/_members/compose/primitiveRegistry.d.ts +0 -64
- package/dist/_members/compose/sceneToRenderInput.d.ts +0 -26
- package/dist/_members/compose/schema.d.ts +0 -15
- package/dist/_members/compose/tokenResolver.d.ts +0 -11
- package/dist/_members/composition/audio/audioMix.d.ts +0 -34
- package/dist/_members/composition/audio/mixStaging.d.ts +0 -81
- package/dist/_members/composition/audio/musicPack.d.ts +0 -35
- package/dist/_members/composition/audio/musicPack.generated.d.ts +0 -6
- package/dist/_members/composition/audio/pack.d.ts +0 -43
- package/dist/_members/composition/audio/pack.generated.d.ts +0 -6
- package/dist/_members/composition/audio/palette.d.ts +0 -36
- package/dist/_members/composition/autozoom/index.d.ts +0 -32
- package/dist/_members/composition/brand-kit.d.ts +0 -8
- package/dist/_members/composition/brief/contract.d.ts +0 -90
- package/dist/_members/composition/color-grade.d.ts +0 -11
- package/dist/_members/composition/depth.d.ts +0 -19
- package/dist/_members/composition/fixtures/agentErrored.d.ts +0 -23
- package/dist/_members/composition/fonts.d.ts +0 -62
- package/dist/_members/composition/graphics-plan/compile.d.ts +0 -29
- package/dist/_members/composition/graphics-plan/index.d.ts +0 -5
- package/dist/_members/composition/graphics-plan/instantiateMotif.d.ts +0 -17
- package/dist/_members/composition/graphics-plan/motion.d.ts +0 -17
- package/dist/_members/composition/graphics-plan/schemas.d.ts +0 -171
- package/dist/_members/composition/graphics-plan/solve.d.ts +0 -19
- package/dist/_members/composition/invariants/clipPlacement.d.ts +0 -59
- package/dist/_members/composition/invariants/composition.d.ts +0 -5
- package/dist/_members/composition/invariants/etag.d.ts +0 -7
- package/dist/_members/composition/invariants/ids.d.ts +0 -6
- package/dist/_members/composition/invariants/keyframes.d.ts +0 -19
- package/dist/_members/composition/invariants/markers.d.ts +0 -6
- package/dist/_members/composition/invariants/time.d.ts +0 -8
- package/dist/_members/composition/invariants/tracks.d.ts +0 -48
- package/dist/_members/composition/ops/compositionOps.d.ts +4 -71
- package/dist/_members/composition/ops/compositionOps.shared.d.ts +30 -0
- package/dist/_members/composition/ops/headlessStore.d.ts +0 -24
- package/dist/_members/composition/ops/selectors.d.ts +0 -66
- package/dist/_members/composition/ops/timeline-word.d.ts +0 -5
- package/dist/_members/composition/ops/transcript.d.ts +0 -27
- package/dist/_members/composition/ops/types.d.ts +0 -51
- package/dist/_members/composition/primitive-catalog/catalogQuery.d.ts +0 -32
- package/dist/_members/composition/primitive-catalog/disabled.d.ts +0 -1
- package/dist/_members/composition/primitive-catalog/index.d.ts +0 -11
- package/dist/_members/composition/primitive-catalog/paramValidation.d.ts +0 -50
- package/dist/_members/composition/primitive-catalog/projection.d.ts +0 -39
- package/dist/_members/composition/primitive-catalog/types.d.ts +0 -78
- package/dist/_members/composition/projection/behind-placement.d.ts +0 -40
- package/dist/_members/composition/projection/behind-readiness.d.ts +14 -89
- package/dist/_members/composition/projection/brandKit.d.ts +0 -142
- package/dist/_members/composition/projection/cardTokens.d.ts +0 -65
- package/dist/_members/composition/projection/composition-floor.d.ts +0 -179
- package/dist/_members/composition/projection/cropProjection.d.ts +0 -75
- package/dist/_members/composition/projection/occlusion-budget.d.ts +0 -37
- package/dist/_members/composition/projection/reframe-readiness.d.ts +4 -111
- package/dist/_members/composition/projection/safe-zones.d.ts +0 -29
- package/dist/_members/composition/reframe/aspectLoss.d.ts +12 -35
- package/dist/_members/composition/reframe/coverage.d.ts +0 -40
- package/dist/_members/composition/reframe/derive.d.ts +0 -21
- package/dist/_members/composition/reframe/index.d.ts +0 -60
- package/dist/_members/composition/reframe/kenBurns.d.ts +0 -37
- package/dist/_members/composition/reframe/shotScale.d.ts +0 -75
- package/dist/_members/composition/reframe/trajectory.d.ts +0 -65
- package/dist/_members/composition/timeline/compound.d.ts +0 -31
- package/dist/_members/composition/timeline/intent.d.ts +0 -29
- package/dist/_members/composition/timeline/keyframes.d.ts +0 -43
- package/dist/_members/composition/timeline/link.d.ts +0 -27
- package/dist/_members/composition/timeline/occupancy.d.ts +1 -42
- package/dist/_members/composition/timeline/placement.d.ts +5 -52
- package/dist/_members/composition/timeline/plan.d.ts +5 -53
- package/dist/_members/composition/timeline/resolve.d.ts +0 -36
- package/dist/_members/composition/timeline/trims.d.ts +0 -49
- package/dist/_members/composition/validators/brandKit.d.ts +0 -29
- package/dist/_members/composition/validators/composePlan.d.ts +0 -39
- package/dist/_members/composition/validators/composition.d.ts +30 -513
- package/dist/_members/composition/validators/graphicKinds.d.ts +0 -28
- package/dist/_members/composition/validators/render.d.ts +23 -23
- package/dist/_members/composition-ops/alphaLayers.d.ts +0 -56
- package/dist/_members/composition-ops/index.d.ts +27 -148
- package/dist/_members/composition-ops/materializeGrid.d.ts +0 -28
- package/dist/_members/composition-ops/opRecorder.d.ts +0 -34
- package/dist/_members/composition-ops/recordingStore.d.ts +0 -16
- package/dist/_members/composition-ops/replaceRegion.d.ts +0 -48
- package/dist/_members/composition-ops/testFixtures.d.ts +0 -14
- package/dist/_members/convex-api/api.d.ts +0 -3
- package/dist/_members/convex-api/dataModel.d.ts +0 -2
- package/dist/_members/core/index.d.ts +1 -1
- package/dist/_members/core/render/bookends.d.ts +0 -44
- package/dist/_members/core/render/captions.d.ts +0 -42
- package/dist/_members/core/render/compositionRender.d.ts +1 -180
- package/dist/_members/core/render/deriveTrajectory.d.ts +0 -140
- package/dist/_members/core/render/emphasis.d.ts +0 -6
- package/dist/_members/core/render/eval/cropBox.d.ts +0 -69
- package/dist/_members/core/render/eval/inclusion.d.ts +0 -39
- package/dist/_members/core/render/eval/index.d.ts +0 -58
- package/dist/_members/core/render/eval/metrics.d.ts +0 -36
- package/dist/_members/core/render/exportSettings.d.ts +4 -12
- package/dist/_members/core/render/index.d.ts +1 -1
- package/dist/_members/core/render/mapFaceToPerson.d.ts +0 -27
- package/dist/_members/core/render/types.d.ts +1 -184
- package/dist/_members/core/render/variantKeys.d.ts +1 -0
- package/dist/_members/core/render/vcam/cameraPath.d.ts +0 -44
- package/dist/_members/core/render/vcam/constants.d.ts +0 -93
- package/dist/_members/core/render/vcam/errorCodes.d.ts +0 -28
- package/dist/_members/core/render/vcam/framing.d.ts +0 -76
- package/dist/_members/core/render/vcam/requiredRegion.d.ts +0 -71
- package/dist/_members/core/render/vcam/shots.d.ts +0 -40
- package/dist/_members/core/render/vcam/subjectSet.d.ts +0 -85
- package/dist/_members/core/select/errorCodes.d.ts +0 -25
- package/dist/_members/core/select/index.d.ts +0 -20
- package/dist/_members/core/select/model.d.ts +0 -79
- package/dist/_members/core/select/select.d.ts +0 -49
- package/dist/_members/core/select/stabilize.d.ts +0 -102
- package/dist/_members/core/types.d.ts +0 -1
- package/dist/_members/director/ai-sdk/chunks.d.ts +14 -0
- package/dist/_members/director/ai-sdk/context.d.ts +6 -0
- package/dist/_members/director/ai-sdk/generationTool.d.ts +8 -0
- package/dist/_members/director/ai-sdk/index.d.ts +4 -0
- package/dist/_members/director/ai-sdk/messages.d.ts +292 -0
- package/dist/_members/director/domain/chat.d.ts +357 -0
- package/dist/_members/director/domain/generation.d.ts +1 -0
- package/dist/_members/director/domain/index.d.ts +3 -0
- package/dist/_members/director/domain/ports.d.ts +32 -0
- package/dist/_members/director/index.d.ts +2 -0
- package/dist/_members/director/testing/contract.d.ts +52 -0
- package/dist/_members/director/testing/index.d.ts +1 -0
- package/dist/_members/errors/registry.d.ts +0 -32
- package/dist/_members/foundation/codes/index.d.ts +0 -21
- package/dist/_members/mcp/adapter.d.ts +1 -84
- package/dist/_members/mcp/burnedNames.d.ts +0 -16
- package/dist/_members/mcp/core.d.ts +1 -81
- package/dist/_members/mcp/curation.d.ts +0 -112
- package/dist/_members/mcp/executor.d.ts +0 -49
- package/dist/_members/mcp/format.d.ts +0 -6
- package/dist/_members/mcp/generated/catalogPreviews.d.ts +0 -1
- package/dist/_members/mcp/generated/operations.d.ts +0 -23
- package/dist/_members/mcp/internalLoopTools.d.ts +0 -23
- package/dist/_members/mcp/prompts.d.ts +0 -16
- package/dist/_members/mcp/resources.d.ts +0 -13
- package/dist/_members/mcp/server.d.ts +0 -61
- package/dist/_members/mcp/wait.d.ts +0 -22
- package/dist/_members/mcp/x402Meta.d.ts +0 -44
- package/dist/_members/media-model/generation.d.ts +314 -0
- package/dist/_members/media-model/index.d.ts +1 -0
- package/dist/_members/media-model/media-kind.d.ts +0 -27
- package/dist/_members/media-model/transcriptSearch.d.ts +0 -42
- package/dist/_members/nle-export/fcpxml.d.ts +0 -13
- package/dist/_members/nle-export/index.d.ts +0 -6
- package/dist/_members/nle-export/types.d.ts +0 -26
- package/dist/_members/nle-export/xml/index.d.ts +0 -8
- package/dist/_members/nle-export/xml-utils.d.ts +0 -12
- package/dist/_members/perception/activeSpeaker.d.ts +0 -94
- package/dist/_members/perception/audioQuality.d.ts +0 -64
- package/dist/_members/perception/energyBeat.d.ts +0 -81
- package/dist/_members/perception/identityMatch.d.ts +0 -66
- package/dist/_members/perception/index.d.ts +0 -52
- package/dist/_members/perception/visualQuality.d.ts +0 -73
- package/dist/_members/plane/conformance.d.ts +0 -59
- package/dist/_members/plane/contract.d.ts +0 -29
- package/dist/_members/plane/index.d.ts +0 -15
- package/dist/_members/primitives/backgrounds/animated-bar-chart/index.d.ts +0 -13
- package/dist/_members/primitives/backgrounds/animated-line-chart/index.d.ts +0 -14
- package/dist/_members/primitives/backgrounds/dither-gradient-bg/index.d.ts +0 -14
- package/dist/_members/primitives/backgrounds/dynamic-grid/index.d.ts +0 -8
- package/dist/_members/primitives/backgrounds/ecosystem-constellation/index.d.ts +0 -8
- package/dist/_members/primitives/backgrounds/infinite-marquee/index.d.ts +0 -8
- package/dist/_members/primitives/backgrounds/mesh-gradient-bg/index.d.ts +0 -8
- package/dist/_members/primitives/backgrounds/perspective-marquee/index.d.ts +0 -8
- package/dist/_members/primitives/backgrounds/silk-flow-bg/index.d.ts +0 -17
- package/dist/_members/primitives/backgrounds/vector-field/index.d.ts +0 -14
- package/dist/_members/primitives/backgrounds/volumetric-rays/index.d.ts +0 -18
- package/dist/_members/primitives/captions/Captions.d.ts +0 -24
- package/dist/_members/primitives/captions/index.d.ts +0 -15
- package/dist/_members/primitives/captions/paginate.d.ts +0 -21
- package/dist/_members/primitives/captions/placement.d.ts +0 -30
- package/dist/_members/primitives/effects/blur/index.d.ts +0 -16
- package/dist/_members/primitives/effects/color-grade/index.d.ts +0 -20
- package/dist/_members/primitives/effects/grain/index.d.ts +0 -12
- package/dist/_members/primitives/effects/parallax/index.d.ts +0 -13
- package/dist/_members/primitives/effects/particles/index.d.ts +0 -16
- package/dist/_members/primitives/effects/pulsing-indicator/index.d.ts +0 -10
- package/dist/_members/primitives/effects/spotlight-card/index.d.ts +0 -8
- package/dist/_members/primitives/effects/spring-pop-in/index.d.ts +0 -10
- package/dist/_members/primitives/effects/success-confetti/index.d.ts +0 -8
- package/dist/_members/primitives/effects/vignette/index.d.ts +0 -12
- package/dist/_members/primitives/hero-text/HeroText.d.ts +0 -17
- package/dist/_members/primitives/hero-text/config.d.ts +0 -10
- package/dist/_members/primitives/hero-text/index.d.ts +0 -14
- package/dist/_members/primitives/index.d.ts +0 -8
- package/dist/_members/primitives/layouts/chat-to-preview-layout/index.d.ts +0 -8
- package/dist/_members/primitives/layouts/infinite-bento-pan/index.d.ts +0 -8
- package/dist/_members/primitives/layouts/letterbox/index.d.ts +0 -15
- package/dist/_members/primitives/layouts/photo-grid/index.d.ts +0 -17
- package/dist/_members/primitives/layouts/picture-in-picture/index.d.ts +0 -21
- package/dist/_members/primitives/layouts/split-screen/index.d.ts +0 -15
- package/dist/_members/primitives/layouts/staggered-bento-grid/index.d.ts +0 -8
- package/dist/_members/primitives/lib/easings.d.ts +0 -27
- package/dist/_members/primitives/lib/palette.d.ts +0 -22
- package/dist/_members/primitives/lib/preview.d.ts +0 -22
- package/dist/_members/primitives/lib/schema.d.ts +0 -36
- package/dist/_members/primitives/lib/seeded-random.d.ts +0 -23
- package/dist/_members/primitives/lib/text/contrast.d.ts +0 -17
- package/dist/_members/primitives/lib/text/fill.d.ts +0 -5
- package/dist/_members/primitives/lib/text/fitText.d.ts +0 -37
- package/dist/_members/primitives/lib/text/marker.d.ts +0 -10
- package/dist/_members/primitives/lib/text/motion.d.ts +0 -46
- package/dist/_members/primitives/lib/text/recolor.d.ts +0 -11
- package/dist/_members/primitives/lib/text/spec.d.ts +0 -39
- package/dist/_members/primitives/lib/text/stage.d.ts +0 -17
- package/dist/_members/primitives/lib/text/typeface.d.ts +0 -11
- package/dist/_members/primitives/lib/tokens.d.ts +0 -87
- package/dist/_members/primitives/lib/types.d.ts +0 -141
- package/dist/_members/primitives/scenes/changelog-bite/index.d.ts +0 -12
- package/dist/_members/primitives/scenes/hero-device-assemble/index.d.ts +0 -8
- package/dist/_members/primitives/scenes/landing-code-showcase/index.d.ts +0 -8
- package/dist/_members/primitives/scenes/live-code-compilation/index.d.ts +0 -8
- package/dist/_members/primitives/scenes/pricing-tier-focus/index.d.ts +0 -8
- package/dist/_members/primitives/scenes/product-launch-trailer/index.d.ts +0 -8
- package/dist/_members/primitives/scenes/terminal-to-browser-deploy/index.d.ts +0 -8
- package/dist/_members/primitives/subject-foreground/SubjectForeground.d.ts +0 -38
- package/dist/_members/primitives/subject-foreground/index.d.ts +0 -21
- package/dist/_members/primitives/text/blur-reveal/index.d.ts +0 -9
- package/dist/_members/primitives/text/cinematic-title/index.d.ts +0 -14
- package/dist/_members/primitives/text/inline-highlight/index.d.ts +0 -11
- package/dist/_members/primitives/text/karaoke/index.d.ts +0 -13
- package/dist/_members/primitives/text/kinetic-type/index.d.ts +0 -15
- package/dist/_members/primitives/text/lower-third/index.d.ts +0 -14
- package/dist/_members/primitives/text/marker-highlight/index.d.ts +0 -10
- package/dist/_members/primitives/text/masked-slide-reveal/index.d.ts +0 -8
- package/dist/_members/primitives/text/matrix-decode/index.d.ts +0 -9
- package/dist/_members/primitives/text/quote-card/index.d.ts +0 -9
- package/dist/_members/primitives/text/rgb-glitch-text/index.d.ts +0 -13
- package/dist/_members/primitives/text/shimmer-sweep/index.d.ts +0 -10
- package/dist/_members/primitives/text/slot-machine-roll/index.d.ts +0 -8
- package/dist/_members/primitives/text/staggered-fade-up/index.d.ts +0 -12
- package/dist/_members/primitives/text/stat-counter/index.d.ts +0 -13
- package/dist/_members/primitives/text/strikethrough-replace/index.d.ts +0 -9
- package/dist/_members/primitives/text/text-effect/index.d.ts +0 -17
- package/dist/_members/primitives/text/text-fade-replace/index.d.ts +0 -8
- package/dist/_members/primitives/text/token-stream/index.d.ts +0 -11
- package/dist/_members/primitives/text/tracking-in/index.d.ts +0 -8
- package/dist/_members/primitives/text/typewriter/index.d.ts +0 -12
- package/dist/_members/primitives/transitions/chromatic-aberration-wipe/index.d.ts +0 -11
- package/dist/_members/primitives/transitions/code-diff-wipe/index.d.ts +0 -8
- package/dist/_members/primitives/transitions/directional-wipe/index.d.ts +0 -10
- package/dist/_members/primitives/transitions/frosted-glass-wipe/index.d.ts +0 -10
- package/dist/_members/primitives/transitions/glitch-cut/index.d.ts +0 -3
- package/dist/_members/primitives/transitions/grid-pixelate-wipe/index.d.ts +0 -14
- package/dist/_members/primitives/transitions/ink-wipe/index.d.ts +0 -3
- package/dist/_members/primitives/transitions/kinetic-type-mask/index.d.ts +0 -12
- package/dist/_members/primitives/transitions/light-leak/index.d.ts +0 -3
- package/dist/_members/primitives/transitions/luma-matte/index.d.ts +0 -2
- package/dist/_members/primitives/transitions/morph/index.d.ts +0 -2
- package/dist/_members/primitives/transitions/spatial-push/index.d.ts +0 -10
- package/dist/_members/primitives/transitions/swipe-transition-wipe/index.d.ts +0 -13
- package/dist/_members/primitives/transitions/zoom-through/index.d.ts +0 -2
- package/dist/_members/primitives/transitions/zoom-through-transition/index.d.ts +0 -9
- package/dist/_members/primitives/ui-blocks/ai-generate-overlay/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/ai-generation-canvas/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/badge-pop/index.d.ts +0 -11
- package/dist/_members/primitives/ui-blocks/before-after-slider/index.d.ts +0 -11
- package/dist/_members/primitives/ui-blocks/benchmark-bars/index.d.ts +0 -11
- package/dist/_members/primitives/ui-blocks/bounding-box-selector/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/browser-flow/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/brush-stroke-simulator/index.d.ts +0 -18
- package/dist/_members/primitives/ui-blocks/chat-exchange/index.d.ts +0 -10
- package/dist/_members/primitives/ui-blocks/code-accordion/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/context-meter/index.d.ts +0 -11
- package/dist/_members/primitives/ui-blocks/cursor-flow/index.d.ts +0 -11
- package/dist/_members/primitives/ui-blocks/dashboard-populate/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/data-flow-pipes/index.d.ts +0 -9
- package/dist/_members/primitives/ui-blocks/device-mockup-zoom/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/drag-and-drop-flow/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/eval-scorecard/index.d.ts +0 -11
- package/dist/_members/primitives/ui-blocks/glass-code-block/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/image-expand-to-fullscreen/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/metric-gauge/index.d.ts +0 -12
- package/dist/_members/primitives/ui-blocks/morphing-modal/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/pipeline-journey/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/progress-steps/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/reasoning-trace/index.d.ts +0 -10
- package/dist/_members/primitives/ui-blocks/simulated-cursor/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/terminal-simulator/index.d.ts +0 -19
- package/dist/_members/primitives/ui-blocks/toast-notification/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/tool-call-stack/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/tool-menu-slide-in/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/visual-docs-snippet/index.d.ts +0 -8
- package/dist/_members/primitives/ui-blocks/voice-waveform/index.d.ts +0 -11
- package/dist/_members/primitives/workspace.d.ts +0 -29
- package/dist/_members/render-harness/browserOptions.d.ts +11 -0
- package/dist/_members/render-harness/browserOptions.d.ts.map +1 -0
- package/dist/_members/render-harness/cardRender.d.ts +0 -40
- package/dist/_members/render-harness/cardRender.d.ts.map +1 -1
- package/dist/_members/render-harness/contractRender.d.ts +0 -16
- package/dist/_members/render-harness/contractRender.d.ts.map +1 -1
- package/dist/_members/render-harness/extractSegments.d.ts +0 -37
- package/dist/_members/render-harness/extractSegments.d.ts.map +1 -1
- package/dist/_members/render-harness/index.d.ts +0 -12
- package/dist/_members/render-harness/index.d.ts.map +1 -1
- package/dist/_members/render-harness/localRender.d.ts +1 -110
- package/dist/_members/render-harness/localRender.d.ts.map +1 -1
- package/dist/_members/render-harness/materializeSources.d.ts +0 -22
- package/dist/_members/render-harness/materializeSources.d.ts.map +1 -1
- package/dist/_members/render-harness/mediaServer.d.ts +0 -16
- package/dist/_members/render-harness/mediaServer.d.ts.map +1 -1
- package/dist/_members/render-harness/renderInputAssets.d.ts +0 -45
- package/dist/_members/render-harness/renderInputAssets.d.ts.map +1 -1
- package/dist/_members/render-harness/resolveAssets.d.ts +0 -24
- package/dist/_members/render-harness/resolveAssets.d.ts.map +1 -1
- package/dist/_members/render-harness/sandboxGlobalSpecs.d.ts +0 -14
- package/dist/_members/render-harness/sandboxGlobalSpecs.d.ts.map +1 -1
- package/dist/account-model/validators.js +1 -1
- package/dist/account-model.js +1 -1
- package/dist/animate.js +0 -15
- package/dist/authoring/build-tools.js +8 -8
- package/dist/authoring/composer.js +0 -20
- package/dist/authoring/context.js +6 -6
- package/dist/authoring/pipelineTrace.js +1 -1
- package/dist/authoring/prompts.js +1 -1
- package/dist/authoring/resource-routing.js +1 -1
- package/dist/authoring/resources.js +1 -1
- package/dist/authoring/tools.js +7 -7
- package/dist/authoring.js +14 -80
- package/dist/{chunk-TWQOKKAF.js → chunk-23HFEKV7.js} +0 -6
- package/dist/{chunk-EA6MYCYW.js → chunk-2B5VJZHL.js} +14 -25
- package/dist/chunk-73DQTUWY.js +131 -0
- package/dist/{chunk-HI4UTTPS.js → chunk-AO744WIK.js} +1 -43
- package/dist/chunk-BADZHXLR.js +0 -0
- package/dist/{chunk-GA23TRNR.js → chunk-BKHGL4MB.js} +5 -13
- package/dist/{chunk-PDYO3DOJ.js → chunk-BZZTVOGG.js} +6 -55
- package/dist/{chunk-AP6ZIVAV.js → chunk-CAJQ7H5A.js} +17 -17
- package/dist/{chunk-7FO3ZJ43.js → chunk-DCVJWGIA.js} +1 -9
- package/dist/{chunk-AQBREB5O.js → chunk-DWLNPNC4.js} +1 -4
- package/dist/{chunk-SW336CJP.js → chunk-DYZE7JZA.js} +3 -26
- package/dist/{chunk-HCCBDJLW.js → chunk-EP2Y6M2J.js} +0 -4
- package/dist/{chunk-ZE76SSRT.js → chunk-FMODQD5P.js} +0 -6
- package/dist/chunk-FTVZF4GO.js +0 -0
- package/dist/{chunk-PMY24FUD.js → chunk-G5BFI32U.js} +1 -1
- package/dist/{chunk-LD5ZOUFT.js → chunk-GF52TW4I.js} +0 -4
- package/dist/{chunk-ABL557OT.js → chunk-GMD33ZD7.js} +1 -8
- package/dist/{chunk-ZWMV6DD2.js → chunk-ICSZF37W.js} +10 -162
- package/dist/chunk-IEXAKOEX.js +113 -0
- package/dist/{chunk-UY4SWJVE.js → chunk-K2IUBCND.js} +0 -12
- package/dist/chunk-LJ5W4ZBU.js +146 -0
- package/dist/chunk-LLUW26BS.js +255 -0
- package/dist/{chunk-JJ6XD7NG.js → chunk-PIURX6IZ.js} +70 -2
- package/dist/{chunk-MMEJ3Y7E.js → chunk-QETYXKQQ.js} +1 -10
- package/dist/{chunk-YX2GSJK7.js → chunk-RP4SXXLJ.js} +1 -1
- package/dist/{chunk-P727GZVO.js → chunk-SAMQUUO5.js} +3 -5
- package/dist/{chunk-RF7U3SCL.js → chunk-TD347SSX.js} +3 -11
- package/dist/{chunk-TOJEXFXL.js → chunk-TFGKUWHY.js} +1 -88
- package/dist/{chunk-UHGSZZDI.js → chunk-TPA6PYN2.js} +1 -11
- package/dist/{chunk-OLFOPQCA.js → chunk-UQSOS726.js} +4 -18
- package/dist/{chunk-GBRNYH7W.js → chunk-V24L35GM.js} +0 -11
- package/dist/{chunk-MBCXCJOE.js → chunk-VFMW3JUY.js} +1 -1
- package/dist/{chunk-DK2ODBNT.js → chunk-VHF66LCQ.js} +16 -98
- package/dist/{chunk-JMURQODM.js → chunk-VZ7TYX6Z.js} +0 -1
- package/dist/{chunk-SIGGQRY2.js → chunk-W3SIWT7J.js} +5030 -4412
- package/dist/{chunk-W35ZMOXB.js → chunk-WPZKOVYF.js} +0 -5
- package/dist/chunk-WZH57M53.js +494 -0
- package/dist/{chunk-AYVJXDLB.js → chunk-XHGZ2E77.js} +0 -2
- package/dist/{chunk-HY3RIEZW.js → chunk-XQ72DZKJ.js} +1 -1
- package/dist/{chunk-7DHP4ESU.js → chunk-YLDMAZZE.js} +0 -10
- package/dist/{chunk-FYZVH3MC.js → chunk-YQ7FFW3G.js} +0 -11
- package/dist/chunk-ZPLJ24OV.js +93 -0
- package/dist/cloud-import/multipart.js +1 -1
- package/dist/cloud-import.js +9 -16
- package/dist/compose/renderer.js +18 -18
- package/dist/compose.js +21 -21
- package/dist/composition/audio.js +1 -1
- package/dist/composition/brand-kit.js +0 -5
- package/dist/composition/graphics-plan.js +4 -4
- package/dist/composition/ops.js +5 -5
- package/dist/composition/primitive-catalog.js +1 -1
- package/dist/composition/projection.js +11 -3
- package/dist/composition/reframe/kenBurns.js +0 -4
- package/dist/composition/reframe.js +4 -2
- package/dist/composition/timeline.js +1 -1
- package/dist/composition/validators/graphic-kinds.js +1 -1
- package/dist/composition/validators.js +4 -4
- package/dist/composition-ops.js +16 -135
- package/dist/composition.js +15 -7
- package/dist/context-JLLU3MYD.js +14 -0
- package/dist/core/render.js +9 -7
- package/dist/core/select.js +2 -6
- package/dist/core.js +5 -7
- package/dist/director/ai-sdk.d.ts +1 -0
- package/dist/director/ai-sdk.js +33 -0
- package/dist/director/domain.d.ts +1 -0
- package/dist/director/domain.js +62 -0
- package/dist/director/testing.d.ts +1 -0
- package/dist/director/testing.js +22 -0
- package/dist/director.d.ts +1 -0
- package/dist/director.js +86 -0
- package/dist/errors.js +1 -1
- package/dist/foundation.js +1 -0
- package/dist/mcp/adapter.js +4 -64
- package/dist/mcp/core.js +1 -1
- package/dist/mcp/curation.js +1 -1
- package/dist/mcp/server.js +4 -4
- package/dist/mcp.js +4 -4
- package/dist/media-model/generation.d.ts +1 -0
- package/dist/media-model/generation.js +40 -0
- package/dist/media-model.js +38 -6
- package/dist/nle-export.js +21 -21
- package/dist/plane/contract.js +0 -3
- package/dist/primitives/backgrounds.js +2 -2
- package/dist/primitives/captions.js +0 -5
- 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 +17 -17
- package/dist/primitives/lib/text/fitText.js +1 -1
- package/dist/primitives/lib/tokens.js +1 -1
- package/dist/primitives/lib.js +17 -17
- package/dist/primitives/scenes.js +2 -2
- package/dist/primitives/text.js +2 -2
- package/dist/primitives/ui-blocks.js +4 -4
- package/dist/primitives.js +21 -21
- package/dist/render-harness/sandboxGlobalSpecs.js +1 -1
- package/dist/render-harness.js +24 -41
- package/package.json +37 -21
- package/dist/chunk-6EQXLEP6.js +0 -194
- package/dist/chunk-OCFDUCF4.js +0 -504
- package/dist/chunk-PODIYN2K.js +0 -742
- package/dist/context-YWUZDG5X.js +0 -14
|
@@ -61,57 +61,12 @@ export declare const MediaClipSource: z.ZodObject<{
|
|
|
61
61
|
muted: z.ZodOptional<z.ZodBoolean>;
|
|
62
62
|
playbackRate: z.ZodOptional<z.ZodNumber>;
|
|
63
63
|
sync: z.ZodOptional<z.ZodEnum<["video", "independent"]>>;
|
|
64
|
-
/**
|
|
65
|
-
* Ken-Burns motion preset for `kind: "image"` tracks. The renderer's
|
|
66
|
-
* `<StillFrame>` reads this to drive a per-frame transform over the
|
|
67
|
-
* clip's duration. Default is `"in"` (gentle zoom-in) — chosen because
|
|
68
|
-
* still photos with zero motion read as "broken video" against
|
|
69
|
-
* surrounding b-roll. Set to `"none"` to opt out. Ignored on non-image
|
|
70
|
-
* tracks.
|
|
71
|
-
*/
|
|
72
64
|
kenBurns: z.ZodOptional<z.ZodEnum<["in", "out", "pan-l", "pan-r", "none"]>>;
|
|
73
|
-
/**
|
|
74
|
-
* Audio mix override for `kind: "audio"` tracks (SFX / music beds).
|
|
75
|
-
* `volumeDb` is decibels relative to source (negative = quieter); the
|
|
76
|
-
* renderer converts to linear gain via `10^(dB/20)`. Default at render
|
|
77
|
-
* time is -12 dB for stock SFX beds — quiet enough to sit under VO
|
|
78
|
-
* without ducking. `fadeInMs` / `fadeOutMs` interpolate linearly from
|
|
79
|
-
* silence to `volumeDb` (and back) at the clip's edges; default 200 ms
|
|
80
|
-
* each. All three are ignored on non-audio tracks.
|
|
81
|
-
*/
|
|
82
65
|
volumeDb: z.ZodOptional<z.ZodNumber>;
|
|
83
66
|
fadeInMs: z.ZodOptional<z.ZodNumber>;
|
|
84
67
|
fadeOutMs: z.ZodOptional<z.ZodNumber>;
|
|
85
|
-
/**
|
|
86
|
-
* Loop the underlying media until the clip's `duration` runs out, instead
|
|
87
|
-
* of letting the media play to its natural end and freezing on the last
|
|
88
|
-
* frame (video / gif) or going silent (audio). Used by gif enrichment
|
|
89
|
-
* clips that may be shorter than the moment they cover, and by sfx
|
|
90
|
-
* ambient beds. Ignored on `kind: "image"` tracks (stills don't have a
|
|
91
|
-
* source timeline to loop).
|
|
92
|
-
*/
|
|
93
68
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
94
|
-
/**
|
|
95
|
-
* What this audio-track clip IS, for mix policy + eval. Absent on video/image
|
|
96
|
-
* clips (the track-family enum on TimelineClip stays untouched — nothing
|
|
97
|
-
* downstream switches on family; `audioRole` lives on the SOURCE like
|
|
98
|
-
* `volumeDb`). SFX vs music vs VO is otherwise indistinguishable to the
|
|
99
|
-
* duck/master/eval logic. (`sfxCompile` stamps `sfx`/`music`; VO is future.)
|
|
100
|
-
* `ambience` is a bed that HOLDS under VO — it loops, sits at the BOTTOM of the
|
|
101
|
-
* mix, and is NEVER duck-stamped (founder ruling: ambience does not duck under
|
|
102
|
-
* speech; no beat map, no anchor semantics).
|
|
103
|
-
*/
|
|
104
69
|
audioRole: z.ZodOptional<z.ZodEnum<["sfx", "music", "vo", "ambience"]>>;
|
|
105
|
-
/**
|
|
106
|
-
* Speech-aware ducking (music / vo roles only). Deterministic: the render
|
|
107
|
-
* derives the duck envelope from the composition's OWN timeline-aligned
|
|
108
|
-
* caption words — no audio analysis, no ffmpeg sidechain. `duckDb` is the
|
|
109
|
-
* gain applied during speech (e.g. -12); `attackMs`/`releaseMs` ramp the
|
|
110
|
-
* envelope in/out (defaults 150 / 400). `windows` are explicit speech spans
|
|
111
|
-
* (timeline ms) — REQUIRED when the composition has no captions; when
|
|
112
|
-
* captions exist the projection derives windows from `captions.segments`
|
|
113
|
-
* words and `windows` MUST be absent (one SSOT, no drift).
|
|
114
|
-
*/
|
|
115
70
|
duck: z.ZodOptional<z.ZodObject<{
|
|
116
71
|
duckDb: z.ZodNumber;
|
|
117
72
|
attackMs: z.ZodNumber;
|
|
@@ -143,14 +98,6 @@ export declare const MediaClipSource: z.ZodObject<{
|
|
|
143
98
|
endMs: number;
|
|
144
99
|
}[] | undefined;
|
|
145
100
|
}>>;
|
|
146
|
-
/**
|
|
147
|
-
* SFX event anchor — provenance + re-resolution handle for a hit bound to a
|
|
148
|
-
* graphic/transition entrance. NOT consumed at render (`startTime` stays the
|
|
149
|
-
* single placement truth; see the sfxCompile drift note). `clipId` is the
|
|
150
|
-
* overlay/video clip whose entrance this hits; `offsetMs` is vs that clip's
|
|
151
|
-
* `startTime` (usually 0). Exists so re-resolution + eval can re-derive the
|
|
152
|
-
* binding after an amendment. Absent on non-SFX audio clips.
|
|
153
|
-
*/
|
|
154
101
|
anchor: z.ZodOptional<z.ZodObject<{
|
|
155
102
|
clipId: z.ZodString;
|
|
156
103
|
offsetMs: z.ZodNumber;
|
|
@@ -161,20 +108,6 @@ export declare const MediaClipSource: z.ZodObject<{
|
|
|
161
108
|
clipId: string;
|
|
162
109
|
offsetMs: number;
|
|
163
110
|
}>>;
|
|
164
|
-
/**
|
|
165
|
-
* The camera channel — the canonical `reframe` model. `segments` tile the
|
|
166
|
-
* clip's duration and animate a source→output viewport: each carries WHO
|
|
167
|
-
* the camera tracks (`focus`), HOW TIGHT (`zoom`, <1 punches in), an optional
|
|
168
|
-
* fine framing nudge (`bias`), and optional zoom-ramp easing (`ease`). The
|
|
169
|
-
* derive math (deriveTrajectory) honors these directly — no closed-enum
|
|
170
|
-
* framing names, no hardcoded scale constants.
|
|
171
|
-
*
|
|
172
|
-
* When omitted, the renderer plays the raw source (no crop). When present,
|
|
173
|
-
* the variant cache keys by `hashReframe(reframe.segments)`.
|
|
174
|
-
*
|
|
175
|
-
* Replaces the deleted subject-centric `cropIntents` (2026-06-14 cutover —
|
|
176
|
-
* one viewport primitive for all clip kinds).
|
|
177
|
-
*/
|
|
178
111
|
reframe: z.ZodOptional<z.ZodObject<{
|
|
179
112
|
segments: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
180
113
|
startSec: z.ZodNumber;
|
|
@@ -462,7 +395,7 @@ export declare const MediaClipSource: z.ZodObject<{
|
|
|
462
395
|
} | undefined;
|
|
463
396
|
}[];
|
|
464
397
|
} | undefined;
|
|
465
|
-
kenBurns?: "in" | "out" | "pan-l" | "pan-r" |
|
|
398
|
+
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
466
399
|
excludedRanges?: {
|
|
467
400
|
start: number;
|
|
468
401
|
end: number;
|
|
@@ -530,7 +463,7 @@ export declare const MediaClipSource: z.ZodObject<{
|
|
|
530
463
|
} | undefined;
|
|
531
464
|
}[];
|
|
532
465
|
} | undefined;
|
|
533
|
-
kenBurns?: "in" | "out" | "pan-l" | "pan-r" |
|
|
466
|
+
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
534
467
|
excludedRanges?: {
|
|
535
468
|
start: number;
|
|
536
469
|
end: number;
|
|
@@ -559,11 +492,6 @@ export declare const ComponentClipSource: z.ZodObject<{
|
|
|
559
492
|
kind: z.ZodLiteral<"component">;
|
|
560
493
|
componentId: z.ZodString;
|
|
561
494
|
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
562
|
-
/** Depth plane, mirroring OverlayClipSource — without this field the cloud
|
|
563
|
-
* motion-preset sink's zPlane carry was silently STRIPPED at parse (Opus
|
|
564
|
-
* review F1), planting a lane asymmetry that would fire the day cards are
|
|
565
|
-
* allowed behind-subject. NOTE: the save-time component→custom desugar must
|
|
566
|
-
* also carry it when behind-cards land. */
|
|
567
495
|
zPlane: z.ZodOptional<z.ZodEnum<["front", "behind-subject"]>>;
|
|
568
496
|
}, "strip", z.ZodTypeAny, {
|
|
569
497
|
kind: "component";
|
|
@@ -580,14 +508,7 @@ export declare const OverlayClipSource: z.ZodObject<{
|
|
|
580
508
|
kind: z.ZodLiteral<"overlay">;
|
|
581
509
|
primitiveId: z.ZodString;
|
|
582
510
|
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
583
|
-
/** Launch-grade depth (spec 2026-06-11): which z-plane this overlay renders on.
|
|
584
|
-
* 'behind-subject' = under the subject cut-out (the matte occludes it).
|
|
585
|
-
* Extensible enum, NOT a boolean — later planes ('behind-background') are additive.
|
|
586
|
-
* Default front. Depth fields (zPlane/anchor/parallax) mirror the TS shape in
|
|
587
|
-
* `@cueframe/core/render/types#CompositionOverlay`. */
|
|
588
511
|
zPlane: z.ZodOptional<z.ZodEnum<["front", "behind-subject"]>>;
|
|
589
|
-
/** Durable anchor in SCENE space (source-normalized [0,1]); projected through the
|
|
590
|
-
* clip's crop trajectory at render (world-lock). System-computed default; agent may set. */
|
|
591
512
|
anchor: z.ZodOptional<z.ZodObject<{
|
|
592
513
|
space: z.ZodLiteral<"scene">;
|
|
593
514
|
x: z.ZodNumber;
|
|
@@ -601,7 +522,6 @@ export declare const OverlayClipSource: z.ZodObject<{
|
|
|
601
522
|
y: number;
|
|
602
523
|
space: "scene";
|
|
603
524
|
}>>;
|
|
604
|
-
/** Differential vs camera motion: 0 = locked to scene; small ± = depth parallax. */
|
|
605
525
|
parallax: z.ZodOptional<z.ZodNumber>;
|
|
606
526
|
}, "strip", z.ZodTypeAny, {
|
|
607
527
|
kind: "overlay";
|
|
@@ -639,17 +559,6 @@ export declare const EffectClipSource: z.ZodObject<{
|
|
|
639
559
|
primitiveId: string;
|
|
640
560
|
params?: Record<string, unknown> | undefined;
|
|
641
561
|
}>;
|
|
642
|
-
/**
|
|
643
|
-
* An owned `.cueframe` component composited as a BAKED ALPHA video (Task 2.6b).
|
|
644
|
-
* Per-tenant component code is NEVER run in the shared cloud renderer — it is
|
|
645
|
-
* baked locally/isolated to an alpha video and composited as trusted pixels. This
|
|
646
|
-
* variant carries only the AUTHORED truth (the component file + its props + the
|
|
647
|
-
* composite z-plane). The DERIVED baked-alpha R2 key is a render artifact and
|
|
648
|
-
* lives in the `renderAssets` envelope (render-assets SSOT), NOT here — the
|
|
649
|
-
* composition round-trips `Composition.parse` as pure authored intent, and the
|
|
650
|
-
* alpha is re-baked on edit. zPlane mirrors OverlayClipSource (compose over/under
|
|
651
|
-
* the subject matte). Lands on overlay tracks.
|
|
652
|
-
*/
|
|
653
562
|
export declare const AlphaLayerClipSource: z.ZodObject<{
|
|
654
563
|
kind: z.ZodLiteral<"alpha-layer">;
|
|
655
564
|
componentId: z.ZodString;
|
|
@@ -666,34 +575,10 @@ export declare const AlphaLayerClipSource: z.ZodObject<{
|
|
|
666
575
|
props: Record<string, unknown>;
|
|
667
576
|
zPlane?: "front" | "behind-subject" | undefined;
|
|
668
577
|
}>;
|
|
669
|
-
/**
|
|
670
|
-
* A graphic authored as a standalone HTML/CSS fragment, carried VERBATIM into the
|
|
671
|
-
* render (dangerouslySetInnerHTML) — the storyboard-first medium. Remotion IS
|
|
672
|
-
* Chromium (probe #1: AE@fuzz-3% = 0 px), so the cheap headless still and the
|
|
673
|
-
* final Remotion wrap draw the IDENTICAL markup — the port is a WRAPPER, not a
|
|
674
|
-
* translation. This variant carries the AUTHORED truth only: the markup + an
|
|
675
|
-
* optional brand-token map. The graphic's output-space keep-out box is the clip's
|
|
676
|
-
* `region` (on TimelineClip), NOT here. Lands on overlay tracks; zPlane mirrors
|
|
677
|
-
* OverlayClipSource (front default; behind-subject world-lock is a follow-up).
|
|
678
|
-
*/
|
|
679
578
|
export declare const CardClipSource: z.ZodObject<{
|
|
680
579
|
kind: z.ZodLiteral<"card">;
|
|
681
|
-
/** Standard HTML/CSS, verbatim. A `<style>` block may be inlined. No <script>
|
|
682
|
-
* (innerHTML never executes it) — decoration only. Required + non-empty. */
|
|
683
580
|
html: z.ZodString;
|
|
684
|
-
/** Brand-token bindings: each value is a literal OR a whole-string `$brand:<path>`
|
|
685
|
-
* ref. Resolved deep at render (resolveBrandRefsDeep — the SAME resolver the
|
|
686
|
-
* graphics compiler + alpha bake use) into `--cf-<key>` CSS custom properties on
|
|
687
|
-
* the wrapper box; the authored CSS references them as `var(--cf-<key>)`. Keeps
|
|
688
|
-
* the payload standard CSS while staying brand-resolvable, with no inline-string
|
|
689
|
-
* substitution. */
|
|
690
581
|
tokens: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
691
|
-
/** Depth plane. FRONT ONLY for now — behind-subject cards are not wired into
|
|
692
|
-
* the matte pipeline (the depth predicates in depth.ts / variant-keys /
|
|
693
|
-
* resolve-behind-placement exclude card), so admitting "behind-subject" here
|
|
694
|
-
* would render the card unoccluded with no matte and no error. The wire
|
|
695
|
-
* refuses it LOUDLY instead; widen to the OverlayClipSource enum when the
|
|
696
|
-
* behind wiring lands (review finding 2026-07-10). */
|
|
697
582
|
zPlane: z.ZodOptional<z.ZodLiteral<"front">>;
|
|
698
583
|
}, "strip", z.ZodTypeAny, {
|
|
699
584
|
kind: "card";
|
|
@@ -706,24 +591,6 @@ export declare const CardClipSource: z.ZodObject<{
|
|
|
706
591
|
zPlane?: "front" | undefined;
|
|
707
592
|
tokens?: Record<string, string> | undefined;
|
|
708
593
|
}>;
|
|
709
|
-
/**
|
|
710
|
-
* COMPOUND CLIP — a clip whose source is another composition.
|
|
711
|
-
*
|
|
712
|
-
* The content union was `TimelineClip | Gap` with a CLOSED source union, so a
|
|
713
|
-
* sequence could never contain a sequence: a reusable segment (an intro, a
|
|
714
|
-
* lower-third package, last week's cut) had to be flattened by hand into every
|
|
715
|
-
* composition that wanted it, and edits to the original reached none of them.
|
|
716
|
-
*
|
|
717
|
-
* This is deliberately strategic surface, not an NLE luxury: it is the same
|
|
718
|
-
* shape `derive_composition` / `fromComposition` traffic in — a composition
|
|
719
|
-
* addressable AS a clip is how "every format from one edit" becomes a
|
|
720
|
-
* timeline object rather than a workflow.
|
|
721
|
-
*
|
|
722
|
-
* `compositionId` is a REFERENCE — the document does not embed the child, so
|
|
723
|
-
* the child's edits flow through. Resolution (id → Composition) happens at
|
|
724
|
-
* projection time via a caller-supplied map; the wire stays self-contained.
|
|
725
|
-
* `trim` selects a window of the child's own timeline, like a media trim.
|
|
726
|
-
*/
|
|
727
594
|
export declare const CompositionClipSource: z.ZodObject<{
|
|
728
595
|
kind: z.ZodLiteral<"composition">;
|
|
729
596
|
compositionId: z.ZodString;
|
|
@@ -783,57 +650,12 @@ export declare const ClipSource: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
783
650
|
muted: z.ZodOptional<z.ZodBoolean>;
|
|
784
651
|
playbackRate: z.ZodOptional<z.ZodNumber>;
|
|
785
652
|
sync: z.ZodOptional<z.ZodEnum<["video", "independent"]>>;
|
|
786
|
-
/**
|
|
787
|
-
* Ken-Burns motion preset for `kind: "image"` tracks. The renderer's
|
|
788
|
-
* `<StillFrame>` reads this to drive a per-frame transform over the
|
|
789
|
-
* clip's duration. Default is `"in"` (gentle zoom-in) — chosen because
|
|
790
|
-
* still photos with zero motion read as "broken video" against
|
|
791
|
-
* surrounding b-roll. Set to `"none"` to opt out. Ignored on non-image
|
|
792
|
-
* tracks.
|
|
793
|
-
*/
|
|
794
653
|
kenBurns: z.ZodOptional<z.ZodEnum<["in", "out", "pan-l", "pan-r", "none"]>>;
|
|
795
|
-
/**
|
|
796
|
-
* Audio mix override for `kind: "audio"` tracks (SFX / music beds).
|
|
797
|
-
* `volumeDb` is decibels relative to source (negative = quieter); the
|
|
798
|
-
* renderer converts to linear gain via `10^(dB/20)`. Default at render
|
|
799
|
-
* time is -12 dB for stock SFX beds — quiet enough to sit under VO
|
|
800
|
-
* without ducking. `fadeInMs` / `fadeOutMs` interpolate linearly from
|
|
801
|
-
* silence to `volumeDb` (and back) at the clip's edges; default 200 ms
|
|
802
|
-
* each. All three are ignored on non-audio tracks.
|
|
803
|
-
*/
|
|
804
654
|
volumeDb: z.ZodOptional<z.ZodNumber>;
|
|
805
655
|
fadeInMs: z.ZodOptional<z.ZodNumber>;
|
|
806
656
|
fadeOutMs: z.ZodOptional<z.ZodNumber>;
|
|
807
|
-
/**
|
|
808
|
-
* Loop the underlying media until the clip's `duration` runs out, instead
|
|
809
|
-
* of letting the media play to its natural end and freezing on the last
|
|
810
|
-
* frame (video / gif) or going silent (audio). Used by gif enrichment
|
|
811
|
-
* clips that may be shorter than the moment they cover, and by sfx
|
|
812
|
-
* ambient beds. Ignored on `kind: "image"` tracks (stills don't have a
|
|
813
|
-
* source timeline to loop).
|
|
814
|
-
*/
|
|
815
657
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
816
|
-
/**
|
|
817
|
-
* What this audio-track clip IS, for mix policy + eval. Absent on video/image
|
|
818
|
-
* clips (the track-family enum on TimelineClip stays untouched — nothing
|
|
819
|
-
* downstream switches on family; `audioRole` lives on the SOURCE like
|
|
820
|
-
* `volumeDb`). SFX vs music vs VO is otherwise indistinguishable to the
|
|
821
|
-
* duck/master/eval logic. (`sfxCompile` stamps `sfx`/`music`; VO is future.)
|
|
822
|
-
* `ambience` is a bed that HOLDS under VO — it loops, sits at the BOTTOM of the
|
|
823
|
-
* mix, and is NEVER duck-stamped (founder ruling: ambience does not duck under
|
|
824
|
-
* speech; no beat map, no anchor semantics).
|
|
825
|
-
*/
|
|
826
658
|
audioRole: z.ZodOptional<z.ZodEnum<["sfx", "music", "vo", "ambience"]>>;
|
|
827
|
-
/**
|
|
828
|
-
* Speech-aware ducking (music / vo roles only). Deterministic: the render
|
|
829
|
-
* derives the duck envelope from the composition's OWN timeline-aligned
|
|
830
|
-
* caption words — no audio analysis, no ffmpeg sidechain. `duckDb` is the
|
|
831
|
-
* gain applied during speech (e.g. -12); `attackMs`/`releaseMs` ramp the
|
|
832
|
-
* envelope in/out (defaults 150 / 400). `windows` are explicit speech spans
|
|
833
|
-
* (timeline ms) — REQUIRED when the composition has no captions; when
|
|
834
|
-
* captions exist the projection derives windows from `captions.segments`
|
|
835
|
-
* words and `windows` MUST be absent (one SSOT, no drift).
|
|
836
|
-
*/
|
|
837
659
|
duck: z.ZodOptional<z.ZodObject<{
|
|
838
660
|
duckDb: z.ZodNumber;
|
|
839
661
|
attackMs: z.ZodNumber;
|
|
@@ -865,14 +687,6 @@ export declare const ClipSource: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
865
687
|
endMs: number;
|
|
866
688
|
}[] | undefined;
|
|
867
689
|
}>>;
|
|
868
|
-
/**
|
|
869
|
-
* SFX event anchor — provenance + re-resolution handle for a hit bound to a
|
|
870
|
-
* graphic/transition entrance. NOT consumed at render (`startTime` stays the
|
|
871
|
-
* single placement truth; see the sfxCompile drift note). `clipId` is the
|
|
872
|
-
* overlay/video clip whose entrance this hits; `offsetMs` is vs that clip's
|
|
873
|
-
* `startTime` (usually 0). Exists so re-resolution + eval can re-derive the
|
|
874
|
-
* binding after an amendment. Absent on non-SFX audio clips.
|
|
875
|
-
*/
|
|
876
690
|
anchor: z.ZodOptional<z.ZodObject<{
|
|
877
691
|
clipId: z.ZodString;
|
|
878
692
|
offsetMs: z.ZodNumber;
|
|
@@ -883,20 +697,6 @@ export declare const ClipSource: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
883
697
|
clipId: string;
|
|
884
698
|
offsetMs: number;
|
|
885
699
|
}>>;
|
|
886
|
-
/**
|
|
887
|
-
* The camera channel — the canonical `reframe` model. `segments` tile the
|
|
888
|
-
* clip's duration and animate a source→output viewport: each carries WHO
|
|
889
|
-
* the camera tracks (`focus`), HOW TIGHT (`zoom`, <1 punches in), an optional
|
|
890
|
-
* fine framing nudge (`bias`), and optional zoom-ramp easing (`ease`). The
|
|
891
|
-
* derive math (deriveTrajectory) honors these directly — no closed-enum
|
|
892
|
-
* framing names, no hardcoded scale constants.
|
|
893
|
-
*
|
|
894
|
-
* When omitted, the renderer plays the raw source (no crop). When present,
|
|
895
|
-
* the variant cache keys by `hashReframe(reframe.segments)`.
|
|
896
|
-
*
|
|
897
|
-
* Replaces the deleted subject-centric `cropIntents` (2026-06-14 cutover —
|
|
898
|
-
* one viewport primitive for all clip kinds).
|
|
899
|
-
*/
|
|
900
700
|
reframe: z.ZodOptional<z.ZodObject<{
|
|
901
701
|
segments: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
902
702
|
startSec: z.ZodNumber;
|
|
@@ -1184,7 +984,7 @@ export declare const ClipSource: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
1184
984
|
} | undefined;
|
|
1185
985
|
}[];
|
|
1186
986
|
} | undefined;
|
|
1187
|
-
kenBurns?: "in" | "out" | "pan-l" | "pan-r" |
|
|
987
|
+
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
1188
988
|
excludedRanges?: {
|
|
1189
989
|
start: number;
|
|
1190
990
|
end: number;
|
|
@@ -1252,7 +1052,7 @@ export declare const ClipSource: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
1252
1052
|
} | undefined;
|
|
1253
1053
|
}[];
|
|
1254
1054
|
} | undefined;
|
|
1255
|
-
kenBurns?: "in" | "out" | "pan-l" | "pan-r" |
|
|
1055
|
+
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
1256
1056
|
excludedRanges?: {
|
|
1257
1057
|
start: number;
|
|
1258
1058
|
end: number;
|
|
@@ -1280,11 +1080,6 @@ export declare const ClipSource: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
1280
1080
|
kind: z.ZodLiteral<"component">;
|
|
1281
1081
|
componentId: z.ZodString;
|
|
1282
1082
|
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1283
|
-
/** Depth plane, mirroring OverlayClipSource — without this field the cloud
|
|
1284
|
-
* motion-preset sink's zPlane carry was silently STRIPPED at parse (Opus
|
|
1285
|
-
* review F1), planting a lane asymmetry that would fire the day cards are
|
|
1286
|
-
* allowed behind-subject. NOTE: the save-time component→custom desugar must
|
|
1287
|
-
* also carry it when behind-cards land. */
|
|
1288
1083
|
zPlane: z.ZodOptional<z.ZodEnum<["front", "behind-subject"]>>;
|
|
1289
1084
|
}, "strip", z.ZodTypeAny, {
|
|
1290
1085
|
kind: "component";
|
|
@@ -1300,14 +1095,7 @@ export declare const ClipSource: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
1300
1095
|
kind: z.ZodLiteral<"overlay">;
|
|
1301
1096
|
primitiveId: z.ZodString;
|
|
1302
1097
|
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
1303
|
-
/** Launch-grade depth (spec 2026-06-11): which z-plane this overlay renders on.
|
|
1304
|
-
* 'behind-subject' = under the subject cut-out (the matte occludes it).
|
|
1305
|
-
* Extensible enum, NOT a boolean — later planes ('behind-background') are additive.
|
|
1306
|
-
* Default front. Depth fields (zPlane/anchor/parallax) mirror the TS shape in
|
|
1307
|
-
* `@cueframe/core/render/types#CompositionOverlay`. */
|
|
1308
1098
|
zPlane: z.ZodOptional<z.ZodEnum<["front", "behind-subject"]>>;
|
|
1309
|
-
/** Durable anchor in SCENE space (source-normalized [0,1]); projected through the
|
|
1310
|
-
* clip's crop trajectory at render (world-lock). System-computed default; agent may set. */
|
|
1311
1099
|
anchor: z.ZodOptional<z.ZodObject<{
|
|
1312
1100
|
space: z.ZodLiteral<"scene">;
|
|
1313
1101
|
x: z.ZodNumber;
|
|
@@ -1321,7 +1109,6 @@ export declare const ClipSource: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
1321
1109
|
y: number;
|
|
1322
1110
|
space: "scene";
|
|
1323
1111
|
}>>;
|
|
1324
|
-
/** Differential vs camera motion: 0 = locked to scene; small ± = depth parallax. */
|
|
1325
1112
|
parallax: z.ZodOptional<z.ZodNumber>;
|
|
1326
1113
|
}, "strip", z.ZodTypeAny, {
|
|
1327
1114
|
kind: "overlay";
|
|
@@ -1374,22 +1161,8 @@ export declare const ClipSource: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
|
1374
1161
|
zPlane?: "front" | "behind-subject" | undefined;
|
|
1375
1162
|
}>, z.ZodObject<{
|
|
1376
1163
|
kind: z.ZodLiteral<"card">;
|
|
1377
|
-
/** Standard HTML/CSS, verbatim. A `<style>` block may be inlined. No <script>
|
|
1378
|
-
* (innerHTML never executes it) — decoration only. Required + non-empty. */
|
|
1379
1164
|
html: z.ZodString;
|
|
1380
|
-
/** Brand-token bindings: each value is a literal OR a whole-string `$brand:<path>`
|
|
1381
|
-
* ref. Resolved deep at render (resolveBrandRefsDeep — the SAME resolver the
|
|
1382
|
-
* graphics compiler + alpha bake use) into `--cf-<key>` CSS custom properties on
|
|
1383
|
-
* the wrapper box; the authored CSS references them as `var(--cf-<key>)`. Keeps
|
|
1384
|
-
* the payload standard CSS while staying brand-resolvable, with no inline-string
|
|
1385
|
-
* substitution. */
|
|
1386
1165
|
tokens: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1387
|
-
/** Depth plane. FRONT ONLY for now — behind-subject cards are not wired into
|
|
1388
|
-
* the matte pipeline (the depth predicates in depth.ts / variant-keys /
|
|
1389
|
-
* resolve-behind-placement exclude card), so admitting "behind-subject" here
|
|
1390
|
-
* would render the card unoccluded with no matte and no error. The wire
|
|
1391
|
-
* refuses it LOUDLY instead; widen to the OverlayClipSource enum when the
|
|
1392
|
-
* behind wiring lands (review finding 2026-07-10). */
|
|
1393
1166
|
zPlane: z.ZodOptional<z.ZodLiteral<"front">>;
|
|
1394
1167
|
}, "strip", z.ZodTypeAny, {
|
|
1395
1168
|
kind: "card";
|
|
@@ -1442,10 +1215,6 @@ export declare const Transition: z.ZodObject<{
|
|
|
1442
1215
|
duration: number;
|
|
1443
1216
|
}>;
|
|
1444
1217
|
export type Transition = z.infer<typeof Transition>;
|
|
1445
|
-
/** Phase 5 layer model: the single placement primitive — the output-space rect
|
|
1446
|
-
* (fractions of the output frame, 0..1) a layer occupies. Mirrors the
|
|
1447
|
-
* composition-floor `Rect` placement vocabulary already used for captions/overlays.
|
|
1448
|
-
* Default (omitted) = full frame {x:0,y:0,w:1,h:1}. */
|
|
1449
1218
|
export declare const Region: z.ZodObject<{
|
|
1450
1219
|
x: z.ZodNumber;
|
|
1451
1220
|
y: z.ZodNumber;
|
|
@@ -1463,14 +1232,8 @@ export declare const Region: z.ZodObject<{
|
|
|
1463
1232
|
h: number;
|
|
1464
1233
|
}>;
|
|
1465
1234
|
export type Region = z.infer<typeof Region>;
|
|
1466
|
-
/** How a layer's source fills its `region`: `cover` (fill + crop, the renderer
|
|
1467
|
-
* default) or `contain` (letterbox — routed through a designed band, not flat
|
|
1468
|
-
* black bars). Omitted = `cover`. */
|
|
1469
1235
|
export declare const ClipFit: z.ZodEnum<["cover", "contain"]>;
|
|
1470
1236
|
export type ClipFit = z.infer<typeof ClipFit>;
|
|
1471
|
-
/** One entry of a clip's EFFECT channel — a registered effect primitive plus its
|
|
1472
|
-
* params. Exported because the `setEffects` op reuses this exact wire shape (the
|
|
1473
|
-
* op vocabulary never re-describes a validator shape with its own z.object). */
|
|
1474
1237
|
export declare const PerClipEffect: z.ZodObject<{
|
|
1475
1238
|
primitiveId: z.ZodString;
|
|
1476
1239
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1482,32 +1245,6 @@ export declare const PerClipEffect: z.ZodObject<{
|
|
|
1482
1245
|
params?: Record<string, unknown> | undefined;
|
|
1483
1246
|
}>;
|
|
1484
1247
|
export type PerClipEffect = z.infer<typeof PerClipEffect>;
|
|
1485
|
-
/**
|
|
1486
|
-
* KEYFRAMES — a value that changes over a clip's life.
|
|
1487
|
-
*
|
|
1488
|
-
* The composition had NO time-varying model. `TimelineClip` carried scalar
|
|
1489
|
-
* `opacity` / `scale` / `rotation` / `position`, and the only trace of an
|
|
1490
|
-
* intent to animate them was two error codes with no producer
|
|
1491
|
-
* (`invariants/errors.ts`: `varying_keyframe_time_out_of_range`,
|
|
1492
|
-
* `varying_keyframe_duplicate_time`). Two brain docs read
|
|
1493
|
-
* `registry.ts varyingParams` as the model; it is a list of param NAMES a
|
|
1494
|
-
* primitive accepts, not a value over time. So "we sell motion" was true of the
|
|
1495
|
-
* renderer and false of the document.
|
|
1496
|
-
*
|
|
1497
|
-
* TIME IS CLIP-RELATIVE, and that is the load-bearing decision. Absolute
|
|
1498
|
-
* timeline seconds would desync every keyframe on the clip the moment a ripple
|
|
1499
|
-
* moved it — silently, because nothing about the clip itself would look wrong.
|
|
1500
|
-
* Clip-relative time survives moves, ripples and lane changes untouched; only a
|
|
1501
|
-
* TRIM has to think about it.
|
|
1502
|
-
*
|
|
1503
|
-
* VALUES ARE SCALAR in v1. A vector channel like `position` decomposes into
|
|
1504
|
-
* `position.x` / `position.y` without needing a second shape, so nothing is
|
|
1505
|
-
* lost and the interpolator stays one function.
|
|
1506
|
-
*
|
|
1507
|
-
* `cubicBezier` ships from day one even though the UI will only offer named
|
|
1508
|
-
* easings at first — so the curve editor is additive later rather than a
|
|
1509
|
-
* migration of everything authored before it.
|
|
1510
|
-
*/
|
|
1511
1248
|
export declare const KeyframeEasing: z.ZodUnion<[z.ZodEnum<["linear", "ease", "easeIn", "easeOut", "easeInOut"]>, z.ZodObject<{
|
|
1512
1249
|
cubicBezier: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
1513
1250
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1517,10 +1254,8 @@ export declare const KeyframeEasing: z.ZodUnion<[z.ZodEnum<["linear", "ease", "e
|
|
|
1517
1254
|
}>]>;
|
|
1518
1255
|
export type KeyframeEasing = z.infer<typeof KeyframeEasing>;
|
|
1519
1256
|
export declare const Keyframe: z.ZodObject<{
|
|
1520
|
-
/** Seconds from the clip's own start — NOT timeline time. See above. */
|
|
1521
1257
|
time: z.ZodNumber;
|
|
1522
1258
|
value: z.ZodNumber;
|
|
1523
|
-
/** How to reach this keyframe from the previous one. Default `linear`. */
|
|
1524
1259
|
easing: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["linear", "ease", "easeIn", "easeOut", "easeInOut"]>, z.ZodObject<{
|
|
1525
1260
|
cubicBezier: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
1526
1261
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1542,12 +1277,9 @@ export declare const Keyframe: z.ZodObject<{
|
|
|
1542
1277
|
} | undefined;
|
|
1543
1278
|
}>;
|
|
1544
1279
|
export type Keyframe = z.infer<typeof Keyframe>;
|
|
1545
|
-
/** A channel needs two points to vary; one point is just a scalar with extra steps. */
|
|
1546
1280
|
export declare const KeyframeChannel: z.ZodArray<z.ZodObject<{
|
|
1547
|
-
/** Seconds from the clip's own start — NOT timeline time. See above. */
|
|
1548
1281
|
time: z.ZodNumber;
|
|
1549
1282
|
value: z.ZodNumber;
|
|
1550
|
-
/** How to reach this keyframe from the previous one. Default `linear`. */
|
|
1551
1283
|
easing: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["linear", "ease", "easeIn", "easeOut", "easeInOut"]>, z.ZodObject<{
|
|
1552
1284
|
cubicBezier: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
1553
1285
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1569,7 +1301,6 @@ export declare const KeyframeChannel: z.ZodArray<z.ZodObject<{
|
|
|
1569
1301
|
} | undefined;
|
|
1570
1302
|
}>, "many">;
|
|
1571
1303
|
export type KeyframeChannel = z.infer<typeof KeyframeChannel>;
|
|
1572
|
-
/** Param paths that may be animated. Closed, so a typo fails loud. */
|
|
1573
1304
|
export declare const ANIMATABLE_PARAMS: readonly ["opacity", "scale", "rotation", "position.x", "position.y", "volume"];
|
|
1574
1305
|
export type AnimatableParam = (typeof ANIMATABLE_PARAMS)[number];
|
|
1575
1306
|
export declare const TimelineClip: z.ZodObject<{
|
|
@@ -1606,57 +1337,12 @@ export declare const TimelineClip: z.ZodObject<{
|
|
|
1606
1337
|
muted: z.ZodOptional<z.ZodBoolean>;
|
|
1607
1338
|
playbackRate: z.ZodOptional<z.ZodNumber>;
|
|
1608
1339
|
sync: z.ZodOptional<z.ZodEnum<["video", "independent"]>>;
|
|
1609
|
-
/**
|
|
1610
|
-
* Ken-Burns motion preset for `kind: "image"` tracks. The renderer's
|
|
1611
|
-
* `<StillFrame>` reads this to drive a per-frame transform over the
|
|
1612
|
-
* clip's duration. Default is `"in"` (gentle zoom-in) — chosen because
|
|
1613
|
-
* still photos with zero motion read as "broken video" against
|
|
1614
|
-
* surrounding b-roll. Set to `"none"` to opt out. Ignored on non-image
|
|
1615
|
-
* tracks.
|
|
1616
|
-
*/
|
|
1617
1340
|
kenBurns: z.ZodOptional<z.ZodEnum<["in", "out", "pan-l", "pan-r", "none"]>>;
|
|
1618
|
-
/**
|
|
1619
|
-
* Audio mix override for `kind: "audio"` tracks (SFX / music beds).
|
|
1620
|
-
* `volumeDb` is decibels relative to source (negative = quieter); the
|
|
1621
|
-
* renderer converts to linear gain via `10^(dB/20)`. Default at render
|
|
1622
|
-
* time is -12 dB for stock SFX beds — quiet enough to sit under VO
|
|
1623
|
-
* without ducking. `fadeInMs` / `fadeOutMs` interpolate linearly from
|
|
1624
|
-
* silence to `volumeDb` (and back) at the clip's edges; default 200 ms
|
|
1625
|
-
* each. All three are ignored on non-audio tracks.
|
|
1626
|
-
*/
|
|
1627
1341
|
volumeDb: z.ZodOptional<z.ZodNumber>;
|
|
1628
1342
|
fadeInMs: z.ZodOptional<z.ZodNumber>;
|
|
1629
1343
|
fadeOutMs: z.ZodOptional<z.ZodNumber>;
|
|
1630
|
-
/**
|
|
1631
|
-
* Loop the underlying media until the clip's `duration` runs out, instead
|
|
1632
|
-
* of letting the media play to its natural end and freezing on the last
|
|
1633
|
-
* frame (video / gif) or going silent (audio). Used by gif enrichment
|
|
1634
|
-
* clips that may be shorter than the moment they cover, and by sfx
|
|
1635
|
-
* ambient beds. Ignored on `kind: "image"` tracks (stills don't have a
|
|
1636
|
-
* source timeline to loop).
|
|
1637
|
-
*/
|
|
1638
1344
|
loop: z.ZodOptional<z.ZodBoolean>;
|
|
1639
|
-
/**
|
|
1640
|
-
* What this audio-track clip IS, for mix policy + eval. Absent on video/image
|
|
1641
|
-
* clips (the track-family enum on TimelineClip stays untouched — nothing
|
|
1642
|
-
* downstream switches on family; `audioRole` lives on the SOURCE like
|
|
1643
|
-
* `volumeDb`). SFX vs music vs VO is otherwise indistinguishable to the
|
|
1644
|
-
* duck/master/eval logic. (`sfxCompile` stamps `sfx`/`music`; VO is future.)
|
|
1645
|
-
* `ambience` is a bed that HOLDS under VO — it loops, sits at the BOTTOM of the
|
|
1646
|
-
* mix, and is NEVER duck-stamped (founder ruling: ambience does not duck under
|
|
1647
|
-
* speech; no beat map, no anchor semantics).
|
|
1648
|
-
*/
|
|
1649
1345
|
audioRole: z.ZodOptional<z.ZodEnum<["sfx", "music", "vo", "ambience"]>>;
|
|
1650
|
-
/**
|
|
1651
|
-
* Speech-aware ducking (music / vo roles only). Deterministic: the render
|
|
1652
|
-
* derives the duck envelope from the composition's OWN timeline-aligned
|
|
1653
|
-
* caption words — no audio analysis, no ffmpeg sidechain. `duckDb` is the
|
|
1654
|
-
* gain applied during speech (e.g. -12); `attackMs`/`releaseMs` ramp the
|
|
1655
|
-
* envelope in/out (defaults 150 / 400). `windows` are explicit speech spans
|
|
1656
|
-
* (timeline ms) — REQUIRED when the composition has no captions; when
|
|
1657
|
-
* captions exist the projection derives windows from `captions.segments`
|
|
1658
|
-
* words and `windows` MUST be absent (one SSOT, no drift).
|
|
1659
|
-
*/
|
|
1660
1346
|
duck: z.ZodOptional<z.ZodObject<{
|
|
1661
1347
|
duckDb: z.ZodNumber;
|
|
1662
1348
|
attackMs: z.ZodNumber;
|
|
@@ -1688,14 +1374,6 @@ export declare const TimelineClip: z.ZodObject<{
|
|
|
1688
1374
|
endMs: number;
|
|
1689
1375
|
}[] | undefined;
|
|
1690
1376
|
}>>;
|
|
1691
|
-
/**
|
|
1692
|
-
* SFX event anchor — provenance + re-resolution handle for a hit bound to a
|
|
1693
|
-
* graphic/transition entrance. NOT consumed at render (`startTime` stays the
|
|
1694
|
-
* single placement truth; see the sfxCompile drift note). `clipId` is the
|
|
1695
|
-
* overlay/video clip whose entrance this hits; `offsetMs` is vs that clip's
|
|
1696
|
-
* `startTime` (usually 0). Exists so re-resolution + eval can re-derive the
|
|
1697
|
-
* binding after an amendment. Absent on non-SFX audio clips.
|
|
1698
|
-
*/
|
|
1699
1377
|
anchor: z.ZodOptional<z.ZodObject<{
|
|
1700
1378
|
clipId: z.ZodString;
|
|
1701
1379
|
offsetMs: z.ZodNumber;
|
|
@@ -1706,20 +1384,6 @@ export declare const TimelineClip: z.ZodObject<{
|
|
|
1706
1384
|
clipId: string;
|
|
1707
1385
|
offsetMs: number;
|
|
1708
1386
|
}>>;
|
|
1709
|
-
/**
|
|
1710
|
-
* The camera channel — the canonical `reframe` model. `segments` tile the
|
|
1711
|
-
* clip's duration and animate a source→output viewport: each carries WHO
|
|
1712
|
-
* the camera tracks (`focus`), HOW TIGHT (`zoom`, <1 punches in), an optional
|
|
1713
|
-
* fine framing nudge (`bias`), and optional zoom-ramp easing (`ease`). The
|
|
1714
|
-
* derive math (deriveTrajectory) honors these directly — no closed-enum
|
|
1715
|
-
* framing names, no hardcoded scale constants.
|
|
1716
|
-
*
|
|
1717
|
-
* When omitted, the renderer plays the raw source (no crop). When present,
|
|
1718
|
-
* the variant cache keys by `hashReframe(reframe.segments)`.
|
|
1719
|
-
*
|
|
1720
|
-
* Replaces the deleted subject-centric `cropIntents` (2026-06-14 cutover —
|
|
1721
|
-
* one viewport primitive for all clip kinds).
|
|
1722
|
-
*/
|
|
1723
1387
|
reframe: z.ZodOptional<z.ZodObject<{
|
|
1724
1388
|
segments: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1725
1389
|
startSec: z.ZodNumber;
|
|
@@ -2007,7 +1671,7 @@ export declare const TimelineClip: z.ZodObject<{
|
|
|
2007
1671
|
} | undefined;
|
|
2008
1672
|
}[];
|
|
2009
1673
|
} | undefined;
|
|
2010
|
-
kenBurns?: "in" | "out" | "pan-l" | "pan-r" |
|
|
1674
|
+
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
2011
1675
|
excludedRanges?: {
|
|
2012
1676
|
start: number;
|
|
2013
1677
|
end: number;
|
|
@@ -2075,7 +1739,7 @@ export declare const TimelineClip: z.ZodObject<{
|
|
|
2075
1739
|
} | undefined;
|
|
2076
1740
|
}[];
|
|
2077
1741
|
} | undefined;
|
|
2078
|
-
kenBurns?: "in" | "out" | "pan-l" | "pan-r" |
|
|
1742
|
+
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
2079
1743
|
excludedRanges?: {
|
|
2080
1744
|
start: number;
|
|
2081
1745
|
end: number;
|
|
@@ -2103,11 +1767,6 @@ export declare const TimelineClip: z.ZodObject<{
|
|
|
2103
1767
|
kind: z.ZodLiteral<"component">;
|
|
2104
1768
|
componentId: z.ZodString;
|
|
2105
1769
|
props: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2106
|
-
/** Depth plane, mirroring OverlayClipSource — without this field the cloud
|
|
2107
|
-
* motion-preset sink's zPlane carry was silently STRIPPED at parse (Opus
|
|
2108
|
-
* review F1), planting a lane asymmetry that would fire the day cards are
|
|
2109
|
-
* allowed behind-subject. NOTE: the save-time component→custom desugar must
|
|
2110
|
-
* also carry it when behind-cards land. */
|
|
2111
1770
|
zPlane: z.ZodOptional<z.ZodEnum<["front", "behind-subject"]>>;
|
|
2112
1771
|
}, "strip", z.ZodTypeAny, {
|
|
2113
1772
|
kind: "component";
|
|
@@ -2123,14 +1782,7 @@ export declare const TimelineClip: z.ZodObject<{
|
|
|
2123
1782
|
kind: z.ZodLiteral<"overlay">;
|
|
2124
1783
|
primitiveId: z.ZodString;
|
|
2125
1784
|
params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2126
|
-
/** Launch-grade depth (spec 2026-06-11): which z-plane this overlay renders on.
|
|
2127
|
-
* 'behind-subject' = under the subject cut-out (the matte occludes it).
|
|
2128
|
-
* Extensible enum, NOT a boolean — later planes ('behind-background') are additive.
|
|
2129
|
-
* Default front. Depth fields (zPlane/anchor/parallax) mirror the TS shape in
|
|
2130
|
-
* `@cueframe/core/render/types#CompositionOverlay`. */
|
|
2131
1785
|
zPlane: z.ZodOptional<z.ZodEnum<["front", "behind-subject"]>>;
|
|
2132
|
-
/** Durable anchor in SCENE space (source-normalized [0,1]); projected through the
|
|
2133
|
-
* clip's crop trajectory at render (world-lock). System-computed default; agent may set. */
|
|
2134
1786
|
anchor: z.ZodOptional<z.ZodObject<{
|
|
2135
1787
|
space: z.ZodLiteral<"scene">;
|
|
2136
1788
|
x: z.ZodNumber;
|
|
@@ -2144,7 +1796,6 @@ export declare const TimelineClip: z.ZodObject<{
|
|
|
2144
1796
|
y: number;
|
|
2145
1797
|
space: "scene";
|
|
2146
1798
|
}>>;
|
|
2147
|
-
/** Differential vs camera motion: 0 = locked to scene; small ± = depth parallax. */
|
|
2148
1799
|
parallax: z.ZodOptional<z.ZodNumber>;
|
|
2149
1800
|
}, "strip", z.ZodTypeAny, {
|
|
2150
1801
|
kind: "overlay";
|
|
@@ -2197,22 +1848,8 @@ export declare const TimelineClip: z.ZodObject<{
|
|
|
2197
1848
|
zPlane?: "front" | "behind-subject" | undefined;
|
|
2198
1849
|
}>, z.ZodObject<{
|
|
2199
1850
|
kind: z.ZodLiteral<"card">;
|
|
2200
|
-
/** Standard HTML/CSS, verbatim. A `<style>` block may be inlined. No <script>
|
|
2201
|
-
* (innerHTML never executes it) — decoration only. Required + non-empty. */
|
|
2202
1851
|
html: z.ZodString;
|
|
2203
|
-
/** Brand-token bindings: each value is a literal OR a whole-string `$brand:<path>`
|
|
2204
|
-
* ref. Resolved deep at render (resolveBrandRefsDeep — the SAME resolver the
|
|
2205
|
-
* graphics compiler + alpha bake use) into `--cf-<key>` CSS custom properties on
|
|
2206
|
-
* the wrapper box; the authored CSS references them as `var(--cf-<key>)`. Keeps
|
|
2207
|
-
* the payload standard CSS while staying brand-resolvable, with no inline-string
|
|
2208
|
-
* substitution. */
|
|
2209
1852
|
tokens: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2210
|
-
/** Depth plane. FRONT ONLY for now — behind-subject cards are not wired into
|
|
2211
|
-
* the matte pipeline (the depth predicates in depth.ts / variant-keys /
|
|
2212
|
-
* resolve-behind-placement exclude card), so admitting "behind-subject" here
|
|
2213
|
-
* would render the card unoccluded with no matte and no error. The wire
|
|
2214
|
-
* refuses it LOUDLY instead; widen to the OverlayClipSource enum when the
|
|
2215
|
-
* behind wiring lands (review finding 2026-07-10). */
|
|
2216
1853
|
zPlane: z.ZodOptional<z.ZodLiteral<"front">>;
|
|
2217
1854
|
}, "strip", z.ZodTypeAny, {
|
|
2218
1855
|
kind: "card";
|
|
@@ -2252,13 +1889,6 @@ export declare const TimelineClip: z.ZodObject<{
|
|
|
2252
1889
|
end: number;
|
|
2253
1890
|
} | undefined;
|
|
2254
1891
|
}>]>;
|
|
2255
|
-
/** The clip's track FAMILY — mirrors `Track.kind`, distinct from `source.kind`
|
|
2256
|
-
* (content). OPTIONAL: most clips' family derives unambiguously from the
|
|
2257
|
-
* source (overlay/effect/component/alpha-layer → overlay/effect), so existing
|
|
2258
|
-
* authored clips need no migration. It is load-bearing ONLY for `media`
|
|
2259
|
-
* sources, which are ambiguous (a media clip can be video | audio | image) —
|
|
2260
|
-
* there `kind` is the clip's self-describing family and `clip.add` requires it
|
|
2261
|
-
* (or a target track) to route. See `resolveClipKind` (@cueframe/composition-ops). */
|
|
2262
1892
|
kind: z.ZodOptional<z.ZodEnum<["video", "audio", "image", "overlay", "effect"]>>;
|
|
2263
1893
|
opacity: z.ZodOptional<z.ZodNumber>;
|
|
2264
1894
|
scale: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2273,8 +1903,6 @@ export declare const TimelineClip: z.ZodObject<{
|
|
|
2273
1903
|
x: number;
|
|
2274
1904
|
y: number;
|
|
2275
1905
|
}>>;
|
|
2276
|
-
/** Phase 5: output-space placement rect (default = full frame). The single
|
|
2277
|
-
* placement primitive; position/scale/rotation are the animation channel. */
|
|
2278
1906
|
region: z.ZodOptional<z.ZodObject<{
|
|
2279
1907
|
x: z.ZodNumber;
|
|
2280
1908
|
y: z.ZodNumber;
|
|
@@ -2291,7 +1919,6 @@ export declare const TimelineClip: z.ZodObject<{
|
|
|
2291
1919
|
w: number;
|
|
2292
1920
|
h: number;
|
|
2293
1921
|
}>>;
|
|
2294
|
-
/** Phase 5: how the source fills `region` (default `cover`). */
|
|
2295
1922
|
fit: z.ZodOptional<z.ZodEnum<["cover", "contain"]>>;
|
|
2296
1923
|
effects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2297
1924
|
primitiveId: z.ZodString;
|
|
@@ -2313,31 +1940,10 @@ export declare const TimelineClip: z.ZodObject<{
|
|
|
2313
1940
|
type: string;
|
|
2314
1941
|
duration: number;
|
|
2315
1942
|
}>>;
|
|
2316
|
-
/**
|
|
2317
|
-
* A/V LINK GROUP. Clips sharing an id move, trim and delete together.
|
|
2318
|
-
*
|
|
2319
|
-
* Not polish — a correctness property. Without it, selecting a video clip
|
|
2320
|
-
* does not select its audio, so every ripple, move and trim silently desyncs
|
|
2321
|
-
* sound from picture and the user finds out at playback. Every editor this
|
|
2322
|
-
* repo has been measured against carries the same field; ours had none
|
|
2323
|
-
* (`grep linkGroup` returned nothing across `apps/studio/src` and
|
|
2324
|
-
* `packages/composition/src` on 2026-08-23).
|
|
2325
|
-
*
|
|
2326
|
-
* Membership is the ONLY thing stored. What a link implies — expand the
|
|
2327
|
-
* selection, carry the group through a move — is behaviour, and lives in
|
|
2328
|
-
* `../timeline/link.ts` so both lanes get it from one implementation.
|
|
2329
|
-
*/
|
|
2330
1943
|
linkGroupId: z.ZodOptional<z.ZodString>;
|
|
2331
|
-
/**
|
|
2332
|
-
* Time-varying parameter channels, keyed by param path. A param present here
|
|
2333
|
-
* OVERRIDES its scalar sibling for the clip's whole duration — the scalar
|
|
2334
|
-
* stays as the value a still frame or a non-animating renderer reads.
|
|
2335
|
-
*/
|
|
2336
1944
|
animate: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
2337
|
-
/** Seconds from the clip's own start — NOT timeline time. See above. */
|
|
2338
1945
|
time: z.ZodNumber;
|
|
2339
1946
|
value: z.ZodNumber;
|
|
2340
|
-
/** How to reach this keyframe from the previous one. Default `linear`. */
|
|
2341
1947
|
easing: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["linear", "ease", "easeIn", "easeOut", "easeInOut"]>, z.ZodObject<{
|
|
2342
1948
|
cubicBezier: z.ZodTuple<[z.ZodNumber, z.ZodNumber, z.ZodNumber, z.ZodNumber], null>;
|
|
2343
1949
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -2418,7 +2024,7 @@ export declare const TimelineClip: z.ZodObject<{
|
|
|
2418
2024
|
} | undefined;
|
|
2419
2025
|
}[];
|
|
2420
2026
|
} | undefined;
|
|
2421
|
-
kenBurns?: "in" | "out" | "pan-l" | "pan-r" |
|
|
2027
|
+
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
2422
2028
|
excludedRanges?: {
|
|
2423
2029
|
start: number;
|
|
2424
2030
|
end: number;
|
|
@@ -2559,7 +2165,7 @@ export declare const TimelineClip: z.ZodObject<{
|
|
|
2559
2165
|
} | undefined;
|
|
2560
2166
|
}[];
|
|
2561
2167
|
} | undefined;
|
|
2562
|
-
kenBurns?: "in" | "out" | "pan-l" | "pan-r" |
|
|
2168
|
+
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
2563
2169
|
excludedRanges?: {
|
|
2564
2170
|
start: number;
|
|
2565
2171
|
end: number;
|
|
@@ -2716,7 +2322,7 @@ export declare const TrackContent: z.ZodEffects<z.ZodUnknown, {
|
|
|
2716
2322
|
} | undefined;
|
|
2717
2323
|
}[];
|
|
2718
2324
|
} | undefined;
|
|
2719
|
-
kenBurns?: "in" | "out" | "pan-l" | "pan-r" |
|
|
2325
|
+
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
2720
2326
|
excludedRanges?: {
|
|
2721
2327
|
start: number;
|
|
2722
2328
|
end: number;
|
|
@@ -2820,14 +2426,6 @@ export declare const Track: z.ZodObject<{
|
|
|
2820
2426
|
kind: z.ZodEnum<["video", "audio", "image", "overlay", "effect"]>;
|
|
2821
2427
|
name: z.ZodOptional<z.ZodString>;
|
|
2822
2428
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2823
|
-
/**
|
|
2824
|
-
* TRACK-LEVEL GAIN, linear, multiplied into every clip on the track.
|
|
2825
|
-
*
|
|
2826
|
-
* The mixer had per-clip volume and nothing above it, so "turn the music
|
|
2827
|
-
* down" meant editing every music clip and re-editing each new one. Absent =
|
|
2828
|
-
* unity; the projection only multiplies when it is present, so an untouched
|
|
2829
|
-
* composition renders byte-identically to before this field existed.
|
|
2830
|
-
*/
|
|
2831
2429
|
volume: z.ZodOptional<z.ZodNumber>;
|
|
2832
2430
|
contents: z.ZodArray<z.ZodEffects<z.ZodUnknown, {
|
|
2833
2431
|
id: string;
|
|
@@ -2877,7 +2475,7 @@ export declare const Track: z.ZodObject<{
|
|
|
2877
2475
|
} | undefined;
|
|
2878
2476
|
}[];
|
|
2879
2477
|
} | undefined;
|
|
2880
|
-
kenBurns?: "in" | "out" | "pan-l" | "pan-r" |
|
|
2478
|
+
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
2881
2479
|
excludedRanges?: {
|
|
2882
2480
|
start: number;
|
|
2883
2481
|
end: number;
|
|
@@ -3026,7 +2624,7 @@ export declare const Track: z.ZodObject<{
|
|
|
3026
2624
|
} | undefined;
|
|
3027
2625
|
}[];
|
|
3028
2626
|
} | undefined;
|
|
3029
|
-
kenBurns?: "in" | "out" | "pan-l" | "pan-r" |
|
|
2627
|
+
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
3030
2628
|
excludedRanges?: {
|
|
3031
2629
|
start: number;
|
|
3032
2630
|
end: number;
|
|
@@ -3124,16 +2722,16 @@ export declare const Track: z.ZodObject<{
|
|
|
3124
2722
|
duration: number;
|
|
3125
2723
|
startTime: number;
|
|
3126
2724
|
})[];
|
|
2725
|
+
enabled?: boolean | undefined;
|
|
3127
2726
|
volume?: number | undefined;
|
|
3128
2727
|
name?: string | undefined;
|
|
3129
|
-
enabled?: boolean | undefined;
|
|
3130
2728
|
}, {
|
|
3131
2729
|
id: string;
|
|
3132
2730
|
kind: "overlay" | "video" | "effect" | "audio" | "image";
|
|
3133
2731
|
contents: unknown[];
|
|
2732
|
+
enabled?: boolean | undefined;
|
|
3134
2733
|
volume?: number | undefined;
|
|
3135
2734
|
name?: string | undefined;
|
|
3136
|
-
enabled?: boolean | undefined;
|
|
3137
2735
|
}>;
|
|
3138
2736
|
export type Track = z.infer<typeof Track>;
|
|
3139
2737
|
export declare const Marker: z.ZodObject<{
|
|
@@ -3159,13 +2757,6 @@ export declare const Marker: z.ZodObject<{
|
|
|
3159
2757
|
metadata?: Record<string, unknown> | undefined;
|
|
3160
2758
|
}>;
|
|
3161
2759
|
export type Marker = z.infer<typeof Marker>;
|
|
3162
|
-
/**
|
|
3163
|
-
* Word-level caption timing. Mirrors the TS shape in
|
|
3164
|
-
* `@cueframe/core/render/types#CaptionWord` — kept here as a zod schema
|
|
3165
|
-
* so it validates at the wire boundary. Times are millisecond-based to
|
|
3166
|
-
* match `@remotion/captions`. `emphasis: true` opts a word into the
|
|
3167
|
-
* Captions primitive's emphasis styling (separate font/scale/color).
|
|
3168
|
-
*/
|
|
3169
2760
|
export declare const CaptionWord: z.ZodObject<{
|
|
3170
2761
|
text: z.ZodString;
|
|
3171
2762
|
startMs: z.ZodNumber;
|
|
@@ -3186,11 +2777,6 @@ export declare const CaptionWord: z.ZodObject<{
|
|
|
3186
2777
|
annotate?: "circle" | "underline" | undefined;
|
|
3187
2778
|
}>;
|
|
3188
2779
|
export type CaptionWord = z.infer<typeof CaptionWord>;
|
|
3189
|
-
/**
|
|
3190
|
-
* Caption styling — mirrors `@cueframe/core/render/types#CaptionStyle`.
|
|
3191
|
-
* All fields optional on the wire so the renderer falls back to the
|
|
3192
|
-
* primitive's defaults / brand kit's `captionStyle` per-field.
|
|
3193
|
-
*/
|
|
3194
2780
|
export declare const CaptionStyle: z.ZodObject<{
|
|
3195
2781
|
fontFamily: z.ZodOptional<z.ZodString>;
|
|
3196
2782
|
fontSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3289,26 +2875,6 @@ export declare const CaptionStyle: z.ZodObject<{
|
|
|
3289
2875
|
maxWidthPercent?: number | undefined;
|
|
3290
2876
|
}>;
|
|
3291
2877
|
export type CaptionStyle = z.infer<typeof CaptionStyle>;
|
|
3292
|
-
/**
|
|
3293
|
-
* Top-level captions layer on a Composition. Spans the whole timeline
|
|
3294
|
-
* with consistent style — sibling of `tracks` / `markers`, not an
|
|
3295
|
-
* overlay primitive.
|
|
3296
|
-
*
|
|
3297
|
-
* `words` are timeline-aligned milliseconds (NOT source-relative). The
|
|
3298
|
-
* agent / API path slices the source's transcript to the clip window
|
|
3299
|
-
* and re-bases timestamps to t=0 on insert. `style` is optional; the
|
|
3300
|
-
* renderer falls back to brand kit's `captionStyle` then primitive
|
|
3301
|
-
* defaults.
|
|
3302
|
-
*/
|
|
3303
|
-
/** One caption SEGMENT (a phrase / sentence) — the content unit the agent
|
|
3304
|
-
* authors AND a hard caption-page boundary at render: the renderer paginates
|
|
3305
|
-
* within a segment and never pools words across two, so sentence-bounded
|
|
3306
|
-
* segments (see `splitIntoSentences`) cut captions at sentence ends.
|
|
3307
|
-
*
|
|
3308
|
-
* Depth is NOT per-segment: it is one choice for the whole caption layer
|
|
3309
|
-
* (`CompositionCaptions.zPlane`), because it decides whether the source needs
|
|
3310
|
-
* a matte at all. (This comment said captions were FRONT-ONLY until
|
|
3311
|
-
* 2026-08-28 — see `CaptionDepth` for why that rule existed and why it went.) */
|
|
3312
2878
|
export declare const CaptionSegment: z.ZodObject<{
|
|
3313
2879
|
words: z.ZodArray<z.ZodObject<{
|
|
3314
2880
|
text: z.ZodString;
|
|
@@ -3349,7 +2915,6 @@ export declare const CaptionSegment: z.ZodObject<{
|
|
|
3349
2915
|
export type CaptionSegment = z.infer<typeof CaptionSegment>;
|
|
3350
2916
|
export declare const CompositionCaptions: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
|
|
3351
2917
|
source: z.ZodLiteral<"derived">;
|
|
3352
|
-
/** The clip these words are a projection OF. Re-derive from this. */
|
|
3353
2918
|
from: z.ZodObject<{
|
|
3354
2919
|
clipId: z.ZodString;
|
|
3355
2920
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3816,15 +3381,10 @@ export declare const CompositionCaptions: z.ZodDiscriminatedUnion<"source", [z.Z
|
|
|
3816
3381
|
maxWidthPercent?: number | undefined;
|
|
3817
3382
|
} | undefined;
|
|
3818
3383
|
}>]>;
|
|
3819
|
-
/** Do these captions render UNDER the speaker's silhouette? The one predicate
|
|
3820
|
-
* every gate asks, so the trigger, the renderer and the editor cannot drift
|
|
3821
|
-
* the way the overlay gates did before `isBehindSubjectDepthSource`. */
|
|
3822
3384
|
export declare function captionsAreBehindSubject(captions: {
|
|
3823
3385
|
zPlane?: unknown;
|
|
3824
3386
|
} | null | undefined): boolean;
|
|
3825
3387
|
export type CompositionCaptions = z.infer<typeof CompositionCaptions>;
|
|
3826
|
-
/** All caption words across the layer's segments, in order — the flattened view
|
|
3827
|
-
* consumers that don't care about behind use. */
|
|
3828
3388
|
export declare function captionWords(c: CompositionCaptions): CaptionWord[];
|
|
3829
3389
|
export declare const Composition: z.ZodObject<{
|
|
3830
3390
|
v: z.ZodLiteral<1>;
|
|
@@ -3849,14 +3409,6 @@ export declare const Composition: z.ZodObject<{
|
|
|
3849
3409
|
kind: z.ZodEnum<["video", "audio", "image", "overlay", "effect"]>;
|
|
3850
3410
|
name: z.ZodOptional<z.ZodString>;
|
|
3851
3411
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3852
|
-
/**
|
|
3853
|
-
* TRACK-LEVEL GAIN, linear, multiplied into every clip on the track.
|
|
3854
|
-
*
|
|
3855
|
-
* The mixer had per-clip volume and nothing above it, so "turn the music
|
|
3856
|
-
* down" meant editing every music clip and re-editing each new one. Absent =
|
|
3857
|
-
* unity; the projection only multiplies when it is present, so an untouched
|
|
3858
|
-
* composition renders byte-identically to before this field existed.
|
|
3859
|
-
*/
|
|
3860
3412
|
volume: z.ZodOptional<z.ZodNumber>;
|
|
3861
3413
|
contents: z.ZodArray<z.ZodEffects<z.ZodUnknown, {
|
|
3862
3414
|
id: string;
|
|
@@ -3906,7 +3458,7 @@ export declare const Composition: z.ZodObject<{
|
|
|
3906
3458
|
} | undefined;
|
|
3907
3459
|
}[];
|
|
3908
3460
|
} | undefined;
|
|
3909
|
-
kenBurns?: "in" | "out" | "pan-l" | "pan-r" |
|
|
3461
|
+
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
3910
3462
|
excludedRanges?: {
|
|
3911
3463
|
start: number;
|
|
3912
3464
|
end: number;
|
|
@@ -4055,7 +3607,7 @@ export declare const Composition: z.ZodObject<{
|
|
|
4055
3607
|
} | undefined;
|
|
4056
3608
|
}[];
|
|
4057
3609
|
} | undefined;
|
|
4058
|
-
kenBurns?: "in" | "out" | "pan-l" | "pan-r" |
|
|
3610
|
+
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
4059
3611
|
excludedRanges?: {
|
|
4060
3612
|
start: number;
|
|
4061
3613
|
end: number;
|
|
@@ -4153,16 +3705,16 @@ export declare const Composition: z.ZodObject<{
|
|
|
4153
3705
|
duration: number;
|
|
4154
3706
|
startTime: number;
|
|
4155
3707
|
})[];
|
|
3708
|
+
enabled?: boolean | undefined;
|
|
4156
3709
|
volume?: number | undefined;
|
|
4157
3710
|
name?: string | undefined;
|
|
4158
|
-
enabled?: boolean | undefined;
|
|
4159
3711
|
}, {
|
|
4160
3712
|
id: string;
|
|
4161
3713
|
kind: "overlay" | "video" | "effect" | "audio" | "image";
|
|
4162
3714
|
contents: unknown[];
|
|
3715
|
+
enabled?: boolean | undefined;
|
|
4163
3716
|
volume?: number | undefined;
|
|
4164
3717
|
name?: string | undefined;
|
|
4165
|
-
enabled?: boolean | undefined;
|
|
4166
3718
|
}>, "many">;
|
|
4167
3719
|
markers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4168
3720
|
id: z.ZodString;
|
|
@@ -4188,7 +3740,6 @@ export declare const Composition: z.ZodObject<{
|
|
|
4188
3740
|
}>, "many">>;
|
|
4189
3741
|
captions: z.ZodOptional<z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
|
|
4190
3742
|
source: z.ZodLiteral<"derived">;
|
|
4191
|
-
/** The clip these words are a projection OF. Re-derive from this. */
|
|
4192
3743
|
from: z.ZodObject<{
|
|
4193
3744
|
clipId: z.ZodString;
|
|
4194
3745
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -4759,7 +4310,7 @@ export declare const Composition: z.ZodObject<{
|
|
|
4759
4310
|
} | undefined;
|
|
4760
4311
|
}[];
|
|
4761
4312
|
} | undefined;
|
|
4762
|
-
kenBurns?: "in" | "out" | "pan-l" | "pan-r" |
|
|
4313
|
+
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
4763
4314
|
excludedRanges?: {
|
|
4764
4315
|
start: number;
|
|
4765
4316
|
end: number;
|
|
@@ -4857,9 +4408,9 @@ export declare const Composition: z.ZodObject<{
|
|
|
4857
4408
|
duration: number;
|
|
4858
4409
|
startTime: number;
|
|
4859
4410
|
})[];
|
|
4411
|
+
enabled?: boolean | undefined;
|
|
4860
4412
|
volume?: number | undefined;
|
|
4861
4413
|
name?: string | undefined;
|
|
4862
|
-
enabled?: boolean | undefined;
|
|
4863
4414
|
}[];
|
|
4864
4415
|
markers?: {
|
|
4865
4416
|
id: string;
|
|
@@ -4994,9 +4545,9 @@ export declare const Composition: z.ZodObject<{
|
|
|
4994
4545
|
id: string;
|
|
4995
4546
|
kind: "overlay" | "video" | "effect" | "audio" | "image";
|
|
4996
4547
|
contents: unknown[];
|
|
4548
|
+
enabled?: boolean | undefined;
|
|
4997
4549
|
volume?: number | undefined;
|
|
4998
4550
|
name?: string | undefined;
|
|
4999
|
-
enabled?: boolean | undefined;
|
|
5000
4551
|
}[];
|
|
5001
4552
|
markers?: {
|
|
5002
4553
|
id: string;
|
|
@@ -5121,31 +4672,6 @@ export declare const Composition: z.ZodObject<{
|
|
|
5121
4672
|
} | undefined;
|
|
5122
4673
|
}>;
|
|
5123
4674
|
export type Composition = z.infer<typeof Composition>;
|
|
5124
|
-
/**
|
|
5125
|
-
* Composition with render-time URL resolution attached.
|
|
5126
|
-
*
|
|
5127
|
-
* `mediaSources` maps `TimelineClip.source.mediaId` → presigned R2 URL.
|
|
5128
|
-
* It's resolved on the way to render (from the corresponding `mediaItems`
|
|
5129
|
-
* row's R2 key) and travels with the composition through the render
|
|
5130
|
-
* pipeline. The canonical persisted composition (`projects.composition`
|
|
5131
|
-
* row) NEVER carries `mediaSources` — presigned URLs expire (~24h R2
|
|
5132
|
-
* TTL); only the stable `mediaId` references survive at rest, and the
|
|
5133
|
-
* URL map is freshly resolved each render.
|
|
5134
|
-
*
|
|
5135
|
-
* This type exists to replace the spread of
|
|
5136
|
-
* `(composition as { mediaSources?: Record<string, string> })` casts
|
|
5137
|
-
* across renderers, compose workflows, and projection code. The shape
|
|
5138
|
-
* the cast described was always the render-time view of a Composition;
|
|
5139
|
-
* naming it makes the in-transit/at-rest distinction explicit at the
|
|
5140
|
-
* type system level.
|
|
5141
|
-
*
|
|
5142
|
-
* Optional because some in-transit paths (the build step that emits a
|
|
5143
|
-
* composition before mediaSources is populated) carry the structural
|
|
5144
|
-
* shape without yet having resolved every reference. Call sites that
|
|
5145
|
-
* genuinely require resolution defend with `?? {}` today; a stricter
|
|
5146
|
-
* `RenderableCompositionResolved` variant can be added when a consumer
|
|
5147
|
-
* needs the compile-time guarantee.
|
|
5148
|
-
*/
|
|
5149
4675
|
export type RenderableComposition = Composition & {
|
|
5150
4676
|
mediaSources?: Record<string, string>;
|
|
5151
4677
|
};
|
|
@@ -5182,14 +4708,6 @@ export declare const CompositionVersion: z.ZodObject<{
|
|
|
5182
4708
|
kind: z.ZodEnum<["video", "audio", "image", "overlay", "effect"]>;
|
|
5183
4709
|
name: z.ZodOptional<z.ZodString>;
|
|
5184
4710
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
5185
|
-
/**
|
|
5186
|
-
* TRACK-LEVEL GAIN, linear, multiplied into every clip on the track.
|
|
5187
|
-
*
|
|
5188
|
-
* The mixer had per-clip volume and nothing above it, so "turn the music
|
|
5189
|
-
* down" meant editing every music clip and re-editing each new one. Absent =
|
|
5190
|
-
* unity; the projection only multiplies when it is present, so an untouched
|
|
5191
|
-
* composition renders byte-identically to before this field existed.
|
|
5192
|
-
*/
|
|
5193
4711
|
volume: z.ZodOptional<z.ZodNumber>;
|
|
5194
4712
|
contents: z.ZodArray<z.ZodEffects<z.ZodUnknown, {
|
|
5195
4713
|
id: string;
|
|
@@ -5239,7 +4757,7 @@ export declare const CompositionVersion: z.ZodObject<{
|
|
|
5239
4757
|
} | undefined;
|
|
5240
4758
|
}[];
|
|
5241
4759
|
} | undefined;
|
|
5242
|
-
kenBurns?: "in" | "out" | "pan-l" | "pan-r" |
|
|
4760
|
+
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
5243
4761
|
excludedRanges?: {
|
|
5244
4762
|
start: number;
|
|
5245
4763
|
end: number;
|
|
@@ -5388,7 +4906,7 @@ export declare const CompositionVersion: z.ZodObject<{
|
|
|
5388
4906
|
} | undefined;
|
|
5389
4907
|
}[];
|
|
5390
4908
|
} | undefined;
|
|
5391
|
-
kenBurns?: "in" | "out" | "pan-l" | "pan-r" |
|
|
4909
|
+
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
5392
4910
|
excludedRanges?: {
|
|
5393
4911
|
start: number;
|
|
5394
4912
|
end: number;
|
|
@@ -5486,16 +5004,16 @@ export declare const CompositionVersion: z.ZodObject<{
|
|
|
5486
5004
|
duration: number;
|
|
5487
5005
|
startTime: number;
|
|
5488
5006
|
})[];
|
|
5007
|
+
enabled?: boolean | undefined;
|
|
5489
5008
|
volume?: number | undefined;
|
|
5490
5009
|
name?: string | undefined;
|
|
5491
|
-
enabled?: boolean | undefined;
|
|
5492
5010
|
}, {
|
|
5493
5011
|
id: string;
|
|
5494
5012
|
kind: "overlay" | "video" | "effect" | "audio" | "image";
|
|
5495
5013
|
contents: unknown[];
|
|
5014
|
+
enabled?: boolean | undefined;
|
|
5496
5015
|
volume?: number | undefined;
|
|
5497
5016
|
name?: string | undefined;
|
|
5498
|
-
enabled?: boolean | undefined;
|
|
5499
5017
|
}>, "many">;
|
|
5500
5018
|
markers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5501
5019
|
id: z.ZodString;
|
|
@@ -5521,7 +5039,6 @@ export declare const CompositionVersion: z.ZodObject<{
|
|
|
5521
5039
|
}>, "many">>;
|
|
5522
5040
|
captions: z.ZodOptional<z.ZodDiscriminatedUnion<"source", [z.ZodObject<{
|
|
5523
5041
|
source: z.ZodLiteral<"derived">;
|
|
5524
|
-
/** The clip these words are a projection OF. Re-derive from this. */
|
|
5525
5042
|
from: z.ZodObject<{
|
|
5526
5043
|
clipId: z.ZodString;
|
|
5527
5044
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -6092,7 +5609,7 @@ export declare const CompositionVersion: z.ZodObject<{
|
|
|
6092
5609
|
} | undefined;
|
|
6093
5610
|
}[];
|
|
6094
5611
|
} | undefined;
|
|
6095
|
-
kenBurns?: "in" | "out" | "pan-l" | "pan-r" |
|
|
5612
|
+
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
6096
5613
|
excludedRanges?: {
|
|
6097
5614
|
start: number;
|
|
6098
5615
|
end: number;
|
|
@@ -6190,9 +5707,9 @@ export declare const CompositionVersion: z.ZodObject<{
|
|
|
6190
5707
|
duration: number;
|
|
6191
5708
|
startTime: number;
|
|
6192
5709
|
})[];
|
|
5710
|
+
enabled?: boolean | undefined;
|
|
6193
5711
|
volume?: number | undefined;
|
|
6194
5712
|
name?: string | undefined;
|
|
6195
|
-
enabled?: boolean | undefined;
|
|
6196
5713
|
}[];
|
|
6197
5714
|
markers?: {
|
|
6198
5715
|
id: string;
|
|
@@ -6327,9 +5844,9 @@ export declare const CompositionVersion: z.ZodObject<{
|
|
|
6327
5844
|
id: string;
|
|
6328
5845
|
kind: "overlay" | "video" | "effect" | "audio" | "image";
|
|
6329
5846
|
contents: unknown[];
|
|
5847
|
+
enabled?: boolean | undefined;
|
|
6330
5848
|
volume?: number | undefined;
|
|
6331
5849
|
name?: string | undefined;
|
|
6332
|
-
enabled?: boolean | undefined;
|
|
6333
5850
|
}[];
|
|
6334
5851
|
markers?: {
|
|
6335
5852
|
id: string;
|
|
@@ -6514,7 +6031,7 @@ export declare const CompositionVersion: z.ZodObject<{
|
|
|
6514
6031
|
} | undefined;
|
|
6515
6032
|
}[];
|
|
6516
6033
|
} | undefined;
|
|
6517
|
-
kenBurns?: "in" | "out" | "pan-l" | "pan-r" |
|
|
6034
|
+
kenBurns?: "none" | "in" | "out" | "pan-l" | "pan-r" | undefined;
|
|
6518
6035
|
excludedRanges?: {
|
|
6519
6036
|
start: number;
|
|
6520
6037
|
end: number;
|
|
@@ -6612,9 +6129,9 @@ export declare const CompositionVersion: z.ZodObject<{
|
|
|
6612
6129
|
duration: number;
|
|
6613
6130
|
startTime: number;
|
|
6614
6131
|
})[];
|
|
6132
|
+
enabled?: boolean | undefined;
|
|
6615
6133
|
volume?: number | undefined;
|
|
6616
6134
|
name?: string | undefined;
|
|
6617
|
-
enabled?: boolean | undefined;
|
|
6618
6135
|
}[];
|
|
6619
6136
|
markers?: {
|
|
6620
6137
|
id: string;
|
|
@@ -6760,9 +6277,9 @@ export declare const CompositionVersion: z.ZodObject<{
|
|
|
6760
6277
|
id: string;
|
|
6761
6278
|
kind: "overlay" | "video" | "effect" | "audio" | "image";
|
|
6762
6279
|
contents: unknown[];
|
|
6280
|
+
enabled?: boolean | undefined;
|
|
6763
6281
|
volume?: number | undefined;
|
|
6764
6282
|
name?: string | undefined;
|
|
6765
|
-
enabled?: boolean | undefined;
|
|
6766
6283
|
}[];
|
|
6767
6284
|
markers?: {
|
|
6768
6285
|
id: string;
|