@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
package/dist/composition-ops.js
CHANGED
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
findClipById,
|
|
4
4
|
findMarkerById,
|
|
5
5
|
findTrackContainingClipId
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ICSZF37W.js";
|
|
7
7
|
import {
|
|
8
8
|
playableSpans
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VHF66LCQ.js";
|
|
10
10
|
import "./chunk-QH3YI3ND.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-XQ72DZKJ.js";
|
|
12
|
+
import "./chunk-23HFEKV7.js";
|
|
13
|
+
import "./chunk-VZ7TYX6Z.js";
|
|
14
14
|
import "./chunk-7PA7FGLD.js";
|
|
15
15
|
import "./chunk-KYRDKK2D.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-TFGKUWHY.js";
|
|
17
17
|
import {
|
|
18
18
|
CaptionSegment,
|
|
19
19
|
CaptionStyle,
|
|
@@ -23,14 +23,14 @@ import {
|
|
|
23
23
|
PerClipEffect,
|
|
24
24
|
TimelineClip,
|
|
25
25
|
Track
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-WZH57M53.js";
|
|
27
|
+
import "./chunk-WPZKOVYF.js";
|
|
28
28
|
import {
|
|
29
29
|
ReframeSegment
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-2B5VJZHL.js";
|
|
31
31
|
import "./chunk-DENF4TPI.js";
|
|
32
32
|
import "./chunk-WREYUH2E.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-LLUW26BS.js";
|
|
34
34
|
import "./chunk-2ESYSVXG.js";
|
|
35
35
|
|
|
36
36
|
// ../composition-ops/src/index.ts
|
|
@@ -41,15 +41,6 @@ var genTrackId = (kind) => `track-${kind}-${crypto.randomUUID().slice(0, 8)}`;
|
|
|
41
41
|
function wrapWithOpRecorder(base, opts) {
|
|
42
42
|
const { record, getComposition } = opts;
|
|
43
43
|
const wrapped = {
|
|
44
|
-
// ── clips ──
|
|
45
|
-
// clip.add is family-self-routing; a bare `media` source is ambiguous, so
|
|
46
|
-
// the editor's video-lane addClip stamps kind:'video' (replay byte-faithful:
|
|
47
|
-
// the SAME object goes to the base store and the op). Every mapping derives
|
|
48
|
-
// from ARGS + BEFORE-state only, so ops record BEFORE the base mutation —
|
|
49
|
-
// `before` is exact and a throwing base never leaves a phantom op behind
|
|
50
|
-
// (record throws first on invalid input; base throws are surfaced to the
|
|
51
|
-
// caller with the op already journaled, which the flush's server apply
|
|
52
|
-
// would then reject loudly — never silently).
|
|
53
44
|
addClip: (clip, options) => {
|
|
54
45
|
const before = getComposition();
|
|
55
46
|
const c = clip.kind ? clip : { ...clip, kind: "video" };
|
|
@@ -89,7 +80,6 @@ function wrapWithOpRecorder(base, opts) {
|
|
|
89
80
|
record({ type: "clip.update", clipId: id, patch }, getComposition());
|
|
90
81
|
return base.setClipProperties(id, props);
|
|
91
82
|
},
|
|
92
|
-
// ── overlays (pre-emit the overlay track on first add: pinned id, targeted clip.add) ──
|
|
93
83
|
addOverlay: (clip) => {
|
|
94
84
|
const before = getComposition();
|
|
95
85
|
const track = before.tracks.find((t) => t.kind === "overlay");
|
|
@@ -114,7 +104,6 @@ function wrapWithOpRecorder(base, opts) {
|
|
|
114
104
|
record({ type: "loadOverlays", clips }, getComposition());
|
|
115
105
|
base.loadOverlays(clips);
|
|
116
106
|
},
|
|
117
|
-
// ── audio (same pre-emit rule) ──
|
|
118
107
|
addAudioClip: (clip) => {
|
|
119
108
|
const before = getComposition();
|
|
120
109
|
const track = before.tracks.find((t) => t.kind === "audio");
|
|
@@ -135,7 +124,6 @@ function wrapWithOpRecorder(base, opts) {
|
|
|
135
124
|
record({ type: "clip.update", clipId: id, patch: updates }, getComposition());
|
|
136
125
|
base.updateAudioClip(id, updates);
|
|
137
126
|
},
|
|
138
|
-
// ── markers ──
|
|
139
127
|
addMarker: (marker) => {
|
|
140
128
|
record({ type: "addMarker", marker }, getComposition());
|
|
141
129
|
base.addMarker(marker);
|
|
@@ -148,12 +136,10 @@ function wrapWithOpRecorder(base, opts) {
|
|
|
148
136
|
record({ type: "updateMarker", markerId: id, updates }, getComposition());
|
|
149
137
|
base.updateMarker(id, updates);
|
|
150
138
|
},
|
|
151
|
-
// ── crop / effects / captions / format ──
|
|
152
139
|
setCropIntents: (clipId, segments) => {
|
|
153
140
|
record({ type: "setCropIntents", clipId, segments }, getComposition());
|
|
154
141
|
base.setCropIntents(clipId, segments);
|
|
155
142
|
},
|
|
156
|
-
// Wholesale array — `[]` records the clear, same as any other set.
|
|
157
143
|
setEffects: (clipId, effects) => {
|
|
158
144
|
record({ type: "setEffects", clipId, effects }, getComposition());
|
|
159
145
|
base.setEffects(clipId, effects);
|
|
@@ -170,7 +156,6 @@ function wrapWithOpRecorder(base, opts) {
|
|
|
170
156
|
record({ type: "setFormat", format }, getComposition());
|
|
171
157
|
base.setFormat(format);
|
|
172
158
|
},
|
|
173
|
-
// ── tracks (always pin the id) ──
|
|
174
159
|
addTrack: (kind, name, id) => {
|
|
175
160
|
const useId = id ?? genTrackId(kind);
|
|
176
161
|
record({ type: "addTrack", kind, ...name !== void 0 ? { name } : {}, id: useId }, getComposition());
|
|
@@ -204,7 +189,6 @@ function wrapWithOpRecorder(base, opts) {
|
|
|
204
189
|
record({ type: "duplicateClip", clipId: id }, getComposition());
|
|
205
190
|
return base.duplicateClip(id);
|
|
206
191
|
},
|
|
207
|
-
// ── server-authoritative (cross-field timeline recompute) ──
|
|
208
192
|
cutAndRipple: (start, end) => {
|
|
209
193
|
record({ type: "cutAndRipple", start, end }, getComposition());
|
|
210
194
|
base.cutAndRipple(start, end);
|
|
@@ -473,126 +457,33 @@ function resolveClipKind(clip, track) {
|
|
|
473
457
|
return resolved;
|
|
474
458
|
}
|
|
475
459
|
var CompositionOp = z.discriminatedUnion("type", [
|
|
476
|
-
// ── clips ──
|
|
477
|
-
// `newTrackId` pins the id of the track created when `newTrack` is set, so a
|
|
478
|
-
// recorded op replays to the identical track (byte-faithful op-log).
|
|
479
|
-
// `.strict()` on every variant: an unknown op-level key (e.g. an LLM agent's
|
|
480
|
-
// typo) fails loud instead of being silently stripped. Scope is op-level only —
|
|
481
|
-
// nested validators (TimelineClip, Marker, …) keep their own passthrough.
|
|
482
|
-
// `clip.add` is family-self-routing: the clip's family (resolveClipKind —
|
|
483
|
-
// clip.kind, else derived from source, else the target track) picks the track.
|
|
484
|
-
// `trackId` targets an EXISTING same-family track; `newTrack`/`newTrackId`
|
|
485
|
-
// create a fresh track of the family (the id is pinned for byte-faithful
|
|
486
|
-
// op-replay — same role it played on the old `addClip`). A `media` clip with
|
|
487
|
-
// neither `clip.kind` nor `trackId` is rejected at apply time (ambiguous).
|
|
488
460
|
z.object({ type: z.literal("clip.add"), clip: TimelineClip, trackId: z.string().optional(), newTrack: z.boolean().optional(), newTrackId: z.string().optional() }).strict(),
|
|
489
|
-
// `clip.remove` is cross-family: the store locates the clip by id across every
|
|
490
|
-
// track (one locator replaces the three family-specific removers).
|
|
491
461
|
z.object({ type: z.literal("clip.remove"), clipId: z.string() }).strict(),
|
|
492
|
-
// `clip.update` is cross-family: the store locates the clip by id across every
|
|
493
|
-
// track and merges `patch` (one op replaces the three family-specific updaters
|
|
494
|
-
// updateClip/updateOverlay/updateAudioClip AND setClipProperties). The patch is
|
|
495
|
-
// `TimelineClip.partial()` — opacity/scale/rotation/region/fit are top-level
|
|
496
|
-
// TimelineClip fields, so they fold straight into the patch. This KILLS the
|
|
497
|
-
// historic region/fit silent-drop: the parallel `props` channel (a hand-kept
|
|
498
|
-
// ClipProps mirror that drifted from the validator) is gone — the patch IS the
|
|
499
|
-
// validator, so it can never miss a field. `playbackRate` is deliberately NOT
|
|
500
|
-
// here: it lives at `source.playbackRate`, not as a top-level field, and a rate
|
|
501
|
-
// change is a cross-field ripple recompute (server-authoritative), not a free
|
|
502
|
-
// merge — it does not belong in clip.update.
|
|
503
|
-
//
|
|
504
|
-
// SOURCE PATCH SEMANTICS (T2 note): the merge is SHALLOW (top-level only). A
|
|
505
|
-
// `patch.source` REPLACES the WHOLE `source` object — it does NOT deep-merge.
|
|
506
|
-
// So a partial source (e.g. `{ source: { kind: 'media', mediaId } }` to retarget
|
|
507
|
-
// media) WIPES every other source field (trim, reframe, volume, excludedRanges,
|
|
508
|
-
// …). To change ONE source channel, send the COMPLETE source object with that
|
|
509
|
-
// channel updated (read it from the current clip first). Use `setCropIntents` /
|
|
510
|
-
// `addExcludedRange` for the reframe/excluded channels instead of a source patch.
|
|
511
462
|
z.object({ type: z.literal("clip.update"), clipId: z.string(), patch: TimelineClip.partial() }).strict(),
|
|
512
463
|
z.object({ type: z.literal("removeClipsByMediaId"), mediaId: z.string() }).strict(),
|
|
513
|
-
// ── overlays (load stays; add/remove/update fold into clip.add/clip.remove/clip.update) ──
|
|
514
464
|
z.object({ type: z.literal("loadOverlays"), clips: z.array(TimelineClip) }).strict(),
|
|
515
|
-
// ── markers ──
|
|
516
465
|
z.object({ type: z.literal("addMarker"), marker: Marker }).strict(),
|
|
517
466
|
z.object({ type: z.literal("removeMarker"), markerId: z.string() }).strict(),
|
|
518
467
|
z.object({ type: z.literal("updateMarker"), markerId: z.string(), updates: Marker.partial() }).strict(),
|
|
519
|
-
// ── crop (reframe) ── op `type` kept as 'setCropIntents' so recorded op
|
|
520
|
-
// streams replay unchanged; the segment payload is now ReframeSegment[].
|
|
521
468
|
z.object({ type: z.literal("setCropIntents"), clipId: z.string(), segments: z.array(ReframeSegment).nullable() }).strict(),
|
|
522
|
-
// ── effects ── the per-clip EFFECT channel (`TimelineClip.effects`). The field
|
|
523
|
-
// was always in the validator and `clip.add` always accepted it, but nothing
|
|
524
|
-
// could CHANGE it on an existing clip: the only route was a whole-clip
|
|
525
|
-
// `clip.update`, which this vocabulary steers callers away from (a partial
|
|
526
|
-
// `source` in that patch clobbers the source). WHOLESALE set; `effects: []`
|
|
527
|
-
// clears the channel — the same set/clear shape `setCropIntents` has. The item
|
|
528
|
-
// schema is the validator's own `PerClipEffect`, reused (never re-described).
|
|
529
469
|
z.object({ type: z.literal("setEffects"), clipId: z.string(), effects: z.array(PerClipEffect) }).strict(),
|
|
530
|
-
// ── captions ── style-only overrides (font, color, position, emphasis). Reuse
|
|
531
|
-
// CaptionStyle.partial() so the op vocabulary never hand-drifts from the validator;
|
|
532
|
-
// setCaptionStyle merges (omitted fields don't clobber) onto composition.captions.style.
|
|
533
470
|
z.object({ type: z.literal("setCaptionStyle"), style: CaptionStyle.partial() }).strict(),
|
|
534
|
-
|
|
535
|
-
// coherent document — the only writer used to be the transcript-slice lanes,
|
|
536
|
-
// which locked the caption layer away from clients with their own VO
|
|
537
|
-
// timings); `style` merges when given, keeps the existing style when omitted.
|
|
471
|
+
z.object({ type: z.literal("setCaptionDepth"), zPlane: z.enum(["front", "behind-subject"]) }).strict(),
|
|
538
472
|
z.object({ type: z.literal("setCaptions"), segments: z.array(CaptionSegment), style: CaptionStyle.partial().optional() }).strict(),
|
|
539
|
-
// ── motion ── applyMotionPreset is the PUBLIC card-shelling op: wrap a static
|
|
540
|
-
// `card` clip's approved markup in a frame-driven motion shell (layout verbatim),
|
|
541
|
-
// mint it as a live component, and swap the clip source to that component (the
|
|
542
|
-
// director's `apply_motion_preset` capability, minus the box — the live lane).
|
|
543
|
-
// It is ROUTE-MATERIALIZED: generating the shell needs a director esbuild
|
|
544
|
-
// transpile, which the pure engine / applyOp mutation can't run, so the op route
|
|
545
|
-
// (`/composition/apply`) validates + orchestrates it and rewrites it to a
|
|
546
|
-
// `clip.update` BEFORE the mutation. `applyOp` therefore never applies it (it
|
|
547
|
-
// throws — reaching the pure engine means the route path was bypassed), and its
|
|
548
|
-
// recorded/invertible form is the substituted `clip.update` (whose inverse
|
|
549
|
-
// restores the prior card source). `preset` is `z.string()` here (validated
|
|
550
|
-
// against MOTION_PRESETS at the route, which owns @cueframe/authoring — this
|
|
551
|
-
// package stays authoring-free); the OpenAPI mirror enumerates the presets.
|
|
552
473
|
z.object({ type: z.literal("applyMotionPreset"), clipId: z.string(), preset: z.string(), params: z.object({ enterMs: z.number().optional(), exitMs: z.number().optional(), staggerMs: z.number().optional() }).strict().optional() }).strict(),
|
|
553
|
-
// ── grids ── materializeGrid reads a clip's SOURCE-media temporal grid
|
|
554
|
-
// (beat map / word onsets / shot boundaries), maps each grid point from media
|
|
555
|
-
// time to TIMELINE time through the clip's placement, and writes `kind:<grid>`
|
|
556
|
-
// markers (replacing any prior materialization from the same clipId+grid).
|
|
557
|
-
// Like applyMotionPreset it is ROUTE-MATERIALIZED: the pure engine / applyOp
|
|
558
|
-
// MUTATION has no media reader, so the op route (`/composition/apply` +
|
|
559
|
-
// `/composition/ops`) resolves the grid evidence and rewrites the op to a
|
|
560
|
-
// batch of removeMarker+addMarker ops BEFORE the mutation. `applyOp` therefore
|
|
561
|
-
// never applies it (it throws — reaching the pure engine means the route path
|
|
562
|
-
// was bypassed), and its recorded/invertible form is the substituted marker
|
|
563
|
-
// ops (whose own inverses restore the prior markers). `maxMarkers` (≤ 2000)
|
|
564
|
-
// raises the default 500 cap; exceeding it fails loud with the count.
|
|
565
474
|
z.object({ type: z.literal("materializeGrid"), clipId: z.string(), grid: z.enum(["beat", "word", "shot"]), maxMarkers: z.number().int().positive().max(2e3).optional() }).strict(),
|
|
566
|
-
// `captions.fromTranscript` is a REF op: attach caption content from the
|
|
567
|
-
// media's cached transcript (optionally a source-time window), sentence-split
|
|
568
|
-
// server-side. ROUTE-MATERIALIZED like applyMotionPreset/materializeGrid: the
|
|
569
|
-
// API route resolves it to `setCaptions` BEFORE the pure applier — the agent
|
|
570
|
-
// never pastes transcript text. applyOp throws on an unresolved instance (a
|
|
571
|
-
// pure applier cannot do I/O; silent no-op is the bug class this lane kills).
|
|
572
475
|
z.object({
|
|
573
476
|
type: z.literal("captions.fromTranscript"),
|
|
574
477
|
mediaId: z.string().min(1),
|
|
575
478
|
window: z.object({ startSec: z.number().min(0), endSec: z.number().positive() }).strict().optional()
|
|
576
479
|
}).strict(),
|
|
577
|
-
// ── format ──
|
|
578
480
|
z.object({ type: z.literal("setFormat"), format: Format.pick({ aspectRatio: true, fps: true, resolution: true }) }).strict(),
|
|
579
|
-
// ── tracks ──
|
|
580
481
|
z.object({ type: z.literal("addTrack"), kind: Track.shape.kind, name: z.string().optional(), id: z.string().optional() }).strict(),
|
|
581
482
|
z.object({ type: z.literal("removeTrack"), trackId: z.string() }).strict(),
|
|
582
|
-
// `volume` joined the pickable set with the track fader (2026-08-24). Review
|
|
583
|
-
// finding: the fader's store verb accepted it while THIS payload schema did
|
|
584
|
-
// not — so a fader move recorded into the op journal, or replayed over the
|
|
585
|
-
// REST-op path, failed validation. The store verb and the op vocabulary must
|
|
586
|
-
// widen together or the op-log lies about what the editor can do.
|
|
587
483
|
z.object({ type: z.literal("updateTrack"), trackId: z.string(), updates: Track.pick({ name: true, enabled: true, volume: true }).partial() }).strict(),
|
|
588
484
|
z.object({ type: z.literal("reorderTracks"), fromIndex: z.number(), toIndex: z.number() }).strict(),
|
|
589
485
|
z.object({ type: z.literal("moveClipToTrack"), clipId: z.string(), targetTrackId: z.string(), newStartTime: z.number().optional() }).strict(),
|
|
590
|
-
// `newClipId` PINS the id of the copy duplicateClip mints (the store otherwise
|
|
591
|
-
// mints a uuid-suffixed id internally). Pinning makes the op deterministic so
|
|
592
|
-
// `invertOp` can return a `clip.remove` of that exact id (a non-pinned
|
|
593
|
-
// duplicateClip has no determinate inverse — invertOp throws for it).
|
|
594
486
|
z.object({ type: z.literal("duplicateClip"), clipId: z.string(), newClipId: z.string().optional() }).strict(),
|
|
595
|
-
// ── server-authoritative (cross-field timeline recompute) ──
|
|
596
487
|
z.object({ type: z.literal("cutAndRipple"), start: z.number(), end: z.number() }).strict(),
|
|
597
488
|
z.object({ type: z.literal("ripple"), time: z.number(), amount: z.number() }).strict(),
|
|
598
489
|
z.object({ type: z.literal("addExcludedRange"), clipId: z.string(), sourceStart: z.number(), sourceEnd: z.number(), reason: z.string().optional() }).strict(),
|
|
@@ -629,10 +520,6 @@ function applyOpToStore(store, op) {
|
|
|
629
520
|
case "clip.remove":
|
|
630
521
|
store.removeClip(op.clipId);
|
|
631
522
|
break;
|
|
632
|
-
// `store.updateClip` is cross-family (locates the clip by id across every
|
|
633
|
-
// track, like `removeClip`), so it serves all three former family updaters
|
|
634
|
-
// AND setClipProperties' visual props (region/fit/opacity/scale/rotation +
|
|
635
|
-
// timing) — a plain partial merge of top-level TimelineClip fields.
|
|
636
523
|
case "clip.update":
|
|
637
524
|
store.updateClip(op.clipId, op.patch);
|
|
638
525
|
break;
|
|
@@ -664,6 +551,9 @@ function applyOpToStore(store, op) {
|
|
|
664
551
|
case "setCaptionStyle":
|
|
665
552
|
store.setCaptionStyle(op.style);
|
|
666
553
|
break;
|
|
554
|
+
case "setCaptionDepth":
|
|
555
|
+
store.setCaptionDepth(op.zPlane);
|
|
556
|
+
break;
|
|
667
557
|
case "setCaptions":
|
|
668
558
|
store.setCaptions(op.segments, op.style);
|
|
669
559
|
break;
|
|
@@ -792,6 +682,8 @@ function invertOp(before, op) {
|
|
|
792
682
|
}
|
|
793
683
|
};
|
|
794
684
|
}
|
|
685
|
+
case "setCaptionDepth":
|
|
686
|
+
return { type: "setCaptionDepth", zPlane: before.captions?.zPlane ?? "front" };
|
|
795
687
|
case "addTrack":
|
|
796
688
|
if (op.id === void 0) {
|
|
797
689
|
throw new Error("invertOp(addTrack): no pinned `id` \u2014 cannot target the minted track");
|
|
@@ -832,8 +724,6 @@ function invertOp(before, op) {
|
|
|
832
724
|
);
|
|
833
725
|
}
|
|
834
726
|
return { type: "clip.remove", clipId: op.newClipId };
|
|
835
|
-
// ── DEFERRED (fail loud — see the doc-comment above for why none has a
|
|
836
|
-
// clean per-op inverse in scope). ──
|
|
837
727
|
case "cutAndRipple":
|
|
838
728
|
case "ripple":
|
|
839
729
|
case "addExcludedRange":
|
|
@@ -843,17 +733,8 @@ function invertOp(before, op) {
|
|
|
843
733
|
case "loadOverlays":
|
|
844
734
|
case "setCaptionStyle":
|
|
845
735
|
case "setCaptions":
|
|
846
|
-
// applyMotionPreset is route-materialized into a clip.update before it is
|
|
847
|
-
// recorded, so invertOp is never asked to invert it in practice; if it is
|
|
848
|
-
// (a bypassed route path), fail loud — the real inverse lives on the
|
|
849
|
-
// substituted clip.update (which restores the prior card source).
|
|
850
736
|
case "applyMotionPreset":
|
|
851
|
-
// materializeGrid is route-materialized into removeMarker+addMarker ops
|
|
852
|
-
// before it is recorded, so invertOp never inverts it in practice; the real
|
|
853
|
-
// inverses live on those substituted marker ops. Fail loud if reached.
|
|
854
737
|
case "materializeGrid":
|
|
855
|
-
// captions.fromTranscript is route-materialized into setCaptions before it
|
|
856
|
-
// is recorded, so invertOp never inverts it in practice; fail loud if reached.
|
|
857
738
|
case "captions.fromTranscript":
|
|
858
739
|
throw new Error(
|
|
859
740
|
`invertOp: '${op.type}' has no per-op inverse in scope (server-authoritative cross-field recompute or whole-channel/positional restore) \u2014 fail loud, no fake inverse.`
|
package/dist/composition.js
CHANGED
|
@@ -21,8 +21,11 @@ import {
|
|
|
21
21
|
MIN_PRESENCE_FOR_BEHIND,
|
|
22
22
|
behindReadinessForOverlay,
|
|
23
23
|
behindReadinessForTarget,
|
|
24
|
+
behindWindowsOf,
|
|
24
25
|
buildSilhouetteKeepOutOutput,
|
|
25
26
|
buildSubjectsOutput,
|
|
27
|
+
captionBehindWindowsOf,
|
|
28
|
+
clipOverlapsBehind,
|
|
26
29
|
computeCropTransform,
|
|
27
30
|
deriveBehindAnchor,
|
|
28
31
|
detectDroppedBrandTokens,
|
|
@@ -31,6 +34,7 @@ import {
|
|
|
31
34
|
evaluateOcclusionBudget,
|
|
32
35
|
faceKeepOutForWindow,
|
|
33
36
|
matteIntentKey,
|
|
37
|
+
matteWindowsByMediaId,
|
|
34
38
|
outputToTrajectoryFrame,
|
|
35
39
|
primaryClipForOverlay,
|
|
36
40
|
reframeNeedsDetection,
|
|
@@ -40,7 +44,7 @@ import {
|
|
|
40
44
|
silhouetteKeepOutForWindow,
|
|
41
45
|
sourceRectToOutput,
|
|
42
46
|
sourceWindowKey
|
|
43
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-PIURX6IZ.js";
|
|
44
48
|
import {
|
|
45
49
|
BRAND_TOKEN_REFS,
|
|
46
50
|
BRAND_TOKEN_ROOT_KEYS,
|
|
@@ -76,7 +80,7 @@ import {
|
|
|
76
80
|
resolveLayoutIntent,
|
|
77
81
|
resolveOverlayRegion,
|
|
78
82
|
unionFaceKeepOutSeries
|
|
79
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-YQ7FFW3G.js";
|
|
80
84
|
import {
|
|
81
85
|
apcaLc
|
|
82
86
|
} from "./chunk-DSMLHYJ4.js";
|
|
@@ -131,7 +135,7 @@ import {
|
|
|
131
135
|
WebhookDeliveryStatus,
|
|
132
136
|
WebhookDestination,
|
|
133
137
|
YoutubeDestination
|
|
134
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-TFGKUWHY.js";
|
|
135
139
|
import {
|
|
136
140
|
ANIMATABLE_PARAMS,
|
|
137
141
|
AlphaLayerClipSource,
|
|
@@ -164,16 +168,16 @@ import {
|
|
|
164
168
|
Transition,
|
|
165
169
|
captionWords,
|
|
166
170
|
captionsAreBehindSubject
|
|
167
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-WZH57M53.js";
|
|
168
172
|
import {
|
|
169
173
|
AUTHORED_GRAPHIC_KINDS
|
|
170
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-WPZKOVYF.js";
|
|
171
175
|
import {
|
|
172
176
|
Focus,
|
|
173
177
|
Reframe,
|
|
174
178
|
ReframeSegment,
|
|
175
179
|
ReframeSegmentFields
|
|
176
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-2B5VJZHL.js";
|
|
177
181
|
import {
|
|
178
182
|
InvariantError,
|
|
179
183
|
checkClipDurationMatchesTrim,
|
|
@@ -186,7 +190,7 @@ import {
|
|
|
186
190
|
isSourceKindCompatible
|
|
187
191
|
} from "./chunk-DENF4TPI.js";
|
|
188
192
|
import "./chunk-WREYUH2E.js";
|
|
189
|
-
import "./chunk-
|
|
193
|
+
import "./chunk-LLUW26BS.js";
|
|
190
194
|
import "./chunk-2ESYSVXG.js";
|
|
191
195
|
|
|
192
196
|
// ../composition/src/color-grade.ts
|
|
@@ -382,10 +386,12 @@ export {
|
|
|
382
386
|
apcaLc,
|
|
383
387
|
behindReadinessForOverlay,
|
|
384
388
|
behindReadinessForTarget,
|
|
389
|
+
behindWindowsOf,
|
|
385
390
|
boundingBox,
|
|
386
391
|
buildSilhouetteKeepOutOutput,
|
|
387
392
|
buildSubjectsOutput,
|
|
388
393
|
canonicalJSON,
|
|
394
|
+
captionBehindWindowsOf,
|
|
389
395
|
captionWords,
|
|
390
396
|
captionsAreBehindSubject,
|
|
391
397
|
captionsBehindEligible,
|
|
@@ -401,6 +407,7 @@ export {
|
|
|
401
407
|
checkTrackContentsNoOverlap,
|
|
402
408
|
checkTracks,
|
|
403
409
|
checkTransitions,
|
|
410
|
+
clipOverlapsBehind,
|
|
404
411
|
coViewReframe,
|
|
405
412
|
collectClipPlacementIssues,
|
|
406
413
|
colorMix,
|
|
@@ -422,6 +429,7 @@ export {
|
|
|
422
429
|
isSourceKindCompatible,
|
|
423
430
|
lookupSafeZones,
|
|
424
431
|
matteIntentKey,
|
|
432
|
+
matteWindowsByMediaId,
|
|
425
433
|
normalizePlatform,
|
|
426
434
|
otioFrames,
|
|
427
435
|
otioRationalTime,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildDirectorContext
|
|
3
|
+
} from "./chunk-DWLNPNC4.js";
|
|
4
|
+
import "./chunk-ICSZF37W.js";
|
|
5
|
+
import "./chunk-KYRDKK2D.js";
|
|
6
|
+
import "./chunk-TFGKUWHY.js";
|
|
7
|
+
import "./chunk-WZH57M53.js";
|
|
8
|
+
import "./chunk-WPZKOVYF.js";
|
|
9
|
+
import "./chunk-2B5VJZHL.js";
|
|
10
|
+
import "./chunk-WREYUH2E.js";
|
|
11
|
+
import "./chunk-2ESYSVXG.js";
|
|
12
|
+
export {
|
|
13
|
+
buildDirectorContext
|
|
14
|
+
};
|
package/dist/core/render.js
CHANGED
|
@@ -21,7 +21,6 @@ import {
|
|
|
21
21
|
componentRefsByClipId,
|
|
22
22
|
compositionFormatDimensions,
|
|
23
23
|
compositionToRenderInput,
|
|
24
|
-
computeExportDimensions,
|
|
25
24
|
deriveSegment,
|
|
26
25
|
deriveTrajectory,
|
|
27
26
|
emaSmooth,
|
|
@@ -34,27 +33,29 @@ import {
|
|
|
34
33
|
nearestKpValue,
|
|
35
34
|
perSubjectSeries,
|
|
36
35
|
playableSpans,
|
|
36
|
+
qualityToCrf,
|
|
37
37
|
referencedMediaIds,
|
|
38
|
+
resolutionToOutputSize,
|
|
38
39
|
resolveBookendTimeline,
|
|
39
40
|
resolveSubjectFaces,
|
|
40
41
|
selectedFaceCenter,
|
|
41
42
|
sliceTranscriptWords,
|
|
42
43
|
splitIntoSentences,
|
|
43
44
|
validateComposition
|
|
44
|
-
} from "../chunk-
|
|
45
|
+
} from "../chunk-VHF66LCQ.js";
|
|
45
46
|
import {
|
|
46
47
|
buildEasedZooms,
|
|
47
48
|
buildPannedCenters,
|
|
48
49
|
easeOutCubic
|
|
49
50
|
} from "../chunk-QH3YI3ND.js";
|
|
50
|
-
import "../chunk-
|
|
51
|
-
import "../chunk-
|
|
52
|
-
import "../chunk-
|
|
51
|
+
import "../chunk-XQ72DZKJ.js";
|
|
52
|
+
import "../chunk-23HFEKV7.js";
|
|
53
|
+
import "../chunk-VZ7TYX6Z.js";
|
|
53
54
|
import "../chunk-7PA7FGLD.js";
|
|
54
55
|
import "../chunk-KYRDKK2D.js";
|
|
55
56
|
import "../chunk-DENF4TPI.js";
|
|
56
57
|
import "../chunk-WREYUH2E.js";
|
|
57
|
-
import "../chunk-
|
|
58
|
+
import "../chunk-LLUW26BS.js";
|
|
58
59
|
import "../chunk-2ESYSVXG.js";
|
|
59
60
|
export {
|
|
60
61
|
CARD_BOOKEND_DEFAULT_MS,
|
|
@@ -81,7 +82,6 @@ export {
|
|
|
81
82
|
componentRefsByClipId,
|
|
82
83
|
compositionFormatDimensions,
|
|
83
84
|
compositionToRenderInput,
|
|
84
|
-
computeExportDimensions,
|
|
85
85
|
deriveSegment,
|
|
86
86
|
deriveTrajectory,
|
|
87
87
|
easeOutCubic,
|
|
@@ -95,7 +95,9 @@ export {
|
|
|
95
95
|
nearestKpValue,
|
|
96
96
|
perSubjectSeries,
|
|
97
97
|
playableSpans,
|
|
98
|
+
qualityToCrf,
|
|
98
99
|
referencedMediaIds,
|
|
100
|
+
resolutionToOutputSize,
|
|
99
101
|
resolveBookendTimeline,
|
|
100
102
|
resolveSubjectFaces,
|
|
101
103
|
selectedFaceCenter,
|
package/dist/core/select.js
CHANGED
|
@@ -7,22 +7,18 @@ import {
|
|
|
7
7
|
stabilizeIncumbentChallenger,
|
|
8
8
|
stabilizePresenceGate,
|
|
9
9
|
stabilizeSelectionHysteresis
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-XQ72DZKJ.js";
|
|
11
|
+
import "../chunk-LLUW26BS.js";
|
|
12
12
|
import "../chunk-2ESYSVXG.js";
|
|
13
13
|
|
|
14
14
|
// ../execution/core/src/select/errorCodes.ts
|
|
15
15
|
var SELECTOR_ERROR_CODES = [
|
|
16
|
-
// CORE (thrown in Phase 1):
|
|
17
16
|
"selector_signal_absent",
|
|
18
17
|
"selector_override_conflict",
|
|
19
|
-
// ADAPTER / LOWERING (registered now, thrown in Phase 2 switch):
|
|
20
18
|
"selector_timebase_undefined",
|
|
21
19
|
"selector_group_unsynced",
|
|
22
20
|
"selector_segment_out_of_media",
|
|
23
|
-
// ADAPTER (Phase 3 active-speaker — the structural double-count guard, §11-L5):
|
|
24
21
|
"selector_speaking_double_count",
|
|
25
|
-
// ADAPTER (Phase 6 cross-source identity — the stale-embedding version guard):
|
|
26
22
|
"selector_identity_detector_version_mismatch"
|
|
27
23
|
];
|
|
28
24
|
|
package/dist/core.js
CHANGED
|
@@ -7,20 +7,19 @@ import {
|
|
|
7
7
|
RESOLUTION_PRESETS,
|
|
8
8
|
bppToCrf,
|
|
9
9
|
buildEmphasisSet,
|
|
10
|
-
computeExportDimensions,
|
|
11
10
|
ensureEven,
|
|
12
11
|
extractCaptionWordsFromDoc,
|
|
13
12
|
isEmphasized
|
|
14
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VHF66LCQ.js";
|
|
15
14
|
import "./chunk-QH3YI3ND.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-XQ72DZKJ.js";
|
|
16
|
+
import "./chunk-23HFEKV7.js";
|
|
17
|
+
import "./chunk-VZ7TYX6Z.js";
|
|
19
18
|
import "./chunk-7PA7FGLD.js";
|
|
20
19
|
import "./chunk-KYRDKK2D.js";
|
|
21
20
|
import "./chunk-DENF4TPI.js";
|
|
22
21
|
import "./chunk-WREYUH2E.js";
|
|
23
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-LLUW26BS.js";
|
|
24
23
|
import "./chunk-2ESYSVXG.js";
|
|
25
24
|
export {
|
|
26
25
|
DEFAULT_FPS,
|
|
@@ -31,7 +30,6 @@ export {
|
|
|
31
30
|
RESOLUTION_PRESETS,
|
|
32
31
|
bppToCrf,
|
|
33
32
|
buildEmphasisSet,
|
|
34
|
-
computeExportDimensions,
|
|
35
33
|
ensureEven,
|
|
36
34
|
extractCaptionWordsFromDoc,
|
|
37
35
|
isEmphasized
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../_members/director/ai-sdk/index.js";
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CueFrameIteration,
|
|
3
|
+
CueFrameMessageMetadata,
|
|
4
|
+
CueFramePhase,
|
|
5
|
+
CueFramePlan,
|
|
6
|
+
CueFrameRunOutcome,
|
|
7
|
+
CueFrameSuggestions,
|
|
8
|
+
chunksForDirectorEvent,
|
|
9
|
+
cueFrameDataPartSchemas,
|
|
10
|
+
dataChunk,
|
|
11
|
+
generationArtifactFromToolResult,
|
|
12
|
+
projectDirectorHistory
|
|
13
|
+
} from "../chunk-LJ5W4ZBU.js";
|
|
14
|
+
import "../chunk-ZPLJ24OV.js";
|
|
15
|
+
import "../chunk-73DQTUWY.js";
|
|
16
|
+
import "../chunk-BADZHXLR.js";
|
|
17
|
+
import "../chunk-U3JPILZS.js";
|
|
18
|
+
import "../chunk-XELS2BGA.js";
|
|
19
|
+
import "../chunk-LLUW26BS.js";
|
|
20
|
+
import "../chunk-2ESYSVXG.js";
|
|
21
|
+
export {
|
|
22
|
+
CueFrameIteration,
|
|
23
|
+
CueFrameMessageMetadata,
|
|
24
|
+
CueFramePhase,
|
|
25
|
+
CueFramePlan,
|
|
26
|
+
CueFrameRunOutcome,
|
|
27
|
+
CueFrameSuggestions,
|
|
28
|
+
chunksForDirectorEvent,
|
|
29
|
+
cueFrameDataPartSchemas,
|
|
30
|
+
dataChunk,
|
|
31
|
+
generationArtifactFromToolResult,
|
|
32
|
+
projectDirectorHistory
|
|
33
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../_members/director/domain/index.js";
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import "../chunk-FTVZF4GO.js";
|
|
2
|
+
import {
|
|
3
|
+
ChatErrorView,
|
|
4
|
+
ConversationId,
|
|
5
|
+
DirectorEvent,
|
|
6
|
+
DirectorRunId,
|
|
7
|
+
DirectorTurnContext,
|
|
8
|
+
DirectorTurnEnvelope,
|
|
9
|
+
ProjectRef,
|
|
10
|
+
chatErrorViewFromEnvelope,
|
|
11
|
+
chatErrorViewFromUnknown
|
|
12
|
+
} from "../chunk-ZPLJ24OV.js";
|
|
13
|
+
import {
|
|
14
|
+
ClientRequestId,
|
|
15
|
+
GenerateMediaCommand,
|
|
16
|
+
GenerationArtifact,
|
|
17
|
+
GenerationCapabilities,
|
|
18
|
+
GenerationCapability,
|
|
19
|
+
GenerationFailure,
|
|
20
|
+
GenerationGroupId,
|
|
21
|
+
GenerationId,
|
|
22
|
+
GenerationReceipt,
|
|
23
|
+
GenerationReference,
|
|
24
|
+
GenerationStatus,
|
|
25
|
+
MediaGenerator,
|
|
26
|
+
MediaId,
|
|
27
|
+
MediaKind,
|
|
28
|
+
ProjectHome,
|
|
29
|
+
deriveGenerationStatus
|
|
30
|
+
} from "../chunk-73DQTUWY.js";
|
|
31
|
+
import "../chunk-BADZHXLR.js";
|
|
32
|
+
import "../chunk-U3JPILZS.js";
|
|
33
|
+
import "../chunk-XELS2BGA.js";
|
|
34
|
+
import "../chunk-LLUW26BS.js";
|
|
35
|
+
import "../chunk-2ESYSVXG.js";
|
|
36
|
+
export {
|
|
37
|
+
ChatErrorView,
|
|
38
|
+
ClientRequestId,
|
|
39
|
+
ConversationId,
|
|
40
|
+
DirectorEvent,
|
|
41
|
+
DirectorRunId,
|
|
42
|
+
DirectorTurnContext,
|
|
43
|
+
DirectorTurnEnvelope,
|
|
44
|
+
GenerateMediaCommand,
|
|
45
|
+
GenerationArtifact,
|
|
46
|
+
GenerationCapabilities,
|
|
47
|
+
GenerationCapability,
|
|
48
|
+
GenerationFailure,
|
|
49
|
+
GenerationGroupId,
|
|
50
|
+
GenerationId,
|
|
51
|
+
GenerationReceipt,
|
|
52
|
+
GenerationReference,
|
|
53
|
+
GenerationStatus,
|
|
54
|
+
MediaGenerator,
|
|
55
|
+
MediaId,
|
|
56
|
+
MediaKind,
|
|
57
|
+
ProjectHome,
|
|
58
|
+
ProjectRef,
|
|
59
|
+
chatErrorViewFromEnvelope,
|
|
60
|
+
chatErrorViewFromUnknown,
|
|
61
|
+
deriveGenerationStatus
|
|
62
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../_members/director/testing/index.js";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import "../chunk-2ESYSVXG.js";
|
|
2
|
+
|
|
3
|
+
// ../director/src/testing/contract.ts
|
|
4
|
+
var HOME = { location: "home", project: null, selectedMediaIds: [], fastMode: false };
|
|
5
|
+
async function collectRuntime(runtime, prompt = "hello") {
|
|
6
|
+
const events = [];
|
|
7
|
+
for await (const event of runtime.run({
|
|
8
|
+
conversationId: "contract-conversation",
|
|
9
|
+
context: HOME,
|
|
10
|
+
messages: [{ role: "user", content: prompt }]
|
|
11
|
+
})) events.push(event);
|
|
12
|
+
return events;
|
|
13
|
+
}
|
|
14
|
+
async function assertDirectorRuntimeContract(runtime) {
|
|
15
|
+
const events = await collectRuntime(runtime);
|
|
16
|
+
if (events.length === 0) throw new Error("DirectorRuntime emitted no events");
|
|
17
|
+
if (events.at(-1)?.type !== "finish") throw new Error("DirectorRuntime did not finish explicitly");
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
assertDirectorRuntimeContract,
|
|
21
|
+
collectRuntime
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./_members/director/index.js";
|