@cueframe/kernel 0.1.1 → 0.1.3
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/index.d.ts +1 -1
- 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/index.d.ts +0 -1
- 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.generated.d.ts +1444 -0
- package/dist/_members/convex-api/dataModel.d.ts +1 -1
- 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 +103 -33
- 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 +2 -82
- 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/harness.d.ts +1 -1
- package/dist/_members/mcp/generated/operations.d.ts +1 -12
- 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 +1 -23
- 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/remotion-runtime.d.ts +53 -0
- 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 -5
- 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 -84
- 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-AW57IWNW.js +272 -0
- 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-7FO3ZJ43.js → chunk-DCVJWGIA.js} +1 -9
- package/dist/{chunk-HI4UTTPS.js → chunk-DJW3UGBH.js} +41 -72
- package/dist/{chunk-SIGGQRY2.js → chunk-DL7WYISQ.js} +5291 -4419
- 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-JJ6XD7NG.js → chunk-GIA2SVVB.js} +70 -2
- package/dist/{chunk-ABL557OT.js → chunk-GMD33ZD7.js} +1 -8
- package/dist/{chunk-AP6ZIVAV.js → chunk-HBVAZXYO.js} +17 -17
- package/dist/{chunk-UY4SWJVE.js → chunk-HFC3MKXA.js} +0 -63
- package/dist/{chunk-ZWMV6DD2.js → chunk-ICSZF37W.js} +10 -162
- package/dist/chunk-IEXAKOEX.js +113 -0
- package/dist/{chunk-RF7U3SCL.js → chunk-KFECIHED.js} +29 -26
- package/dist/{chunk-DK2ODBNT.js → chunk-NQSMEUJ6.js} +16 -98
- package/dist/{chunk-YX2GSJK7.js → chunk-RP4SXXLJ.js} +1 -1
- package/dist/{chunk-P727GZVO.js → chunk-SAMQUUO5.js} +3 -5
- package/dist/{chunk-MMEJ3Y7E.js → chunk-SDCEJAO2.js} +97 -23
- package/dist/{chunk-TOJEXFXL.js → chunk-TFGKUWHY.js} +1 -88
- package/dist/chunk-TMB5AY6Q.js +146 -0
- package/dist/chunk-TO4BFNLJ.js +93 -0
- package/dist/{chunk-UHGSZZDI.js → chunk-TPA6PYN2.js} +1 -11
- package/dist/{chunk-MBCXCJOE.js → chunk-TXSFYUZH.js} +1 -1
- package/dist/{chunk-OLFOPQCA.js → chunk-UQSOS726.js} +4 -18
- package/dist/{chunk-GBRNYH7W.js → chunk-V24L35GM.js} +0 -11
- package/dist/{chunk-JMURQODM.js → chunk-VZ7TYX6Z.js} +0 -1
- 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-7DHP4ESU.js → chunk-YLDMAZZE.js} +0 -10
- package/dist/{chunk-FYZVH3MC.js → chunk-YQ7FFW3G.js} +0 -11
- package/dist/{chunk-HY3RIEZW.js → chunk-ZPRBGW4Y.js} +1 -1
- 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 +45 -75
- 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/testing.js +6 -6
- 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 +38 -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
|
@@ -1,47 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* THE CONVERSATION STORE CONTRACT — one executable statement, every store.
|
|
3
|
-
*
|
|
4
|
-
* A Director thread is persisted by TWO independent implementations: the
|
|
5
|
-
* desktop's sqlite (`apps/studio/src-tauri/src/database/conversations.rs`) and the
|
|
6
|
-
* org's Convex documents (`the backend conversation store`), reached through
|
|
7
|
-
* an adapter each (`platform/tauri.ts`, `packages/web/adapter.ts`). A third
|
|
8
|
-
* "implementation" exists in the test double the app's own tests run against.
|
|
9
|
-
*
|
|
10
|
-
* THEY AGREED BY REVIEW DISCIPLINE, AND THAT FAILED. Three separate files
|
|
11
|
-
* carried prose saying both stores held the same rules. Two of those rules were
|
|
12
|
-
* true in one store only — the refusal to re-point a thread (Convex threw,
|
|
13
|
-
* sqlite silently accepted) and the immutability of a thread's creation time
|
|
14
|
-
* (Convex's `_creationTime`; sqlite's `INSERT OR REPLACE` rewrote it every
|
|
15
|
-
* turn). A third divergence was the live bug this whole effort started from:
|
|
16
|
-
* sqlite upserted on the app's id while Convex inserted a new document per
|
|
17
|
-
* turn, so one web conversation became N rows. Every one of those was invisible
|
|
18
|
-
* because each store was tested only against itself.
|
|
19
|
-
*
|
|
20
|
-
* This file is the fix: the facts as ASSERTIONS, parameterised over the store.
|
|
21
|
-
* A lane that wants to claim the contract runs it. There is no per-lane copy to
|
|
22
|
-
* drift, and a fact added here fails everywhere it is not yet true.
|
|
23
|
-
*
|
|
24
|
-
* WHY A PARAMETERISED SUITE AND NOT A DATA TABLE like `packages/plane`'s
|
|
25
|
-
* conformance rows: the plane's cases are STATELESS — the fixture travels in
|
|
26
|
-
* the request body, so a row is genuinely lane-agnostic data. Conversation
|
|
27
|
-
* storage is stateful CRUD over four verbs, where a fact reads "save this
|
|
28
|
-
* thrice, then list, then count". Encoding that as data needs an op-script
|
|
29
|
-
* schema plus an interpreter per lane; encoding it as a function needs neither.
|
|
30
|
-
*
|
|
31
|
-
* THESE ARE THE TWO MECHANISMS, and there are only two. `packages/plane/src/
|
|
32
|
-
* conformance.ts` holds stateless OPERATIONS both lanes serve; this shape holds
|
|
33
|
-
* stateful STORES behind one interface. CLAUDE.md carries the decision table —
|
|
34
|
-
* read it before inventing a third.
|
|
35
|
-
*
|
|
36
|
-
* WHY THE RUST LANE IS NOT DRIVEN FROM HERE: it lives behind `cargo test`, and
|
|
37
|
-
* reaching it from TypeScript means either a WebDriver stack (`tauri-driver`
|
|
38
|
-
* does not support macOS, the dev platform) or a codegen bridge — machinery
|
|
39
|
-
* several times the size of the 250 lines it would test. Instead the same facts
|
|
40
|
-
* are written as `#[tokio::test]`s in `database/mod.rs` UNDER THE SAME NAMES.
|
|
41
|
-
* Matching names are the seam: a fact that gains a test on one side and not the
|
|
42
|
-
* other is one grep away.
|
|
43
|
-
*/
|
|
44
|
-
/** The project a thread is about, as the store surface spells it. */
|
|
45
1
|
export interface ContractProjectRef {
|
|
46
2
|
id: string;
|
|
47
3
|
home: "local" | "cloud";
|
|
@@ -56,17 +12,12 @@ export interface ContractConversationMeta {
|
|
|
56
12
|
export interface ContractConversation extends ContractConversationMeta {
|
|
57
13
|
messages: string;
|
|
58
14
|
}
|
|
59
|
-
/**
|
|
60
|
-
* The store surface under test — the conversation half of `DatabaseAdapter`.
|
|
61
|
-
* Each lane supplies a thin adapter onto its own implementation.
|
|
62
|
-
*/
|
|
63
15
|
export interface ConversationStoreUnderTest {
|
|
64
16
|
list(project: ContractProjectRef | null): Promise<ContractConversationMeta[]>;
|
|
65
17
|
get(id: string, project: ContractProjectRef | null): Promise<ContractConversation | null>;
|
|
66
18
|
save(conversation: ContractConversation): Promise<void>;
|
|
67
19
|
remove(id: string): Promise<void>;
|
|
68
20
|
}
|
|
69
|
-
/** Vitest's primitives, injected so this package needs no test-runner dependency. */
|
|
70
21
|
export interface ContractHarness {
|
|
71
22
|
describe: (name: string, fn: () => void) => void;
|
|
72
23
|
it: ((name: string, fn: () => Promise<void> | void) => void) & {
|
|
@@ -81,17 +32,7 @@ export interface ContractHarness {
|
|
|
81
32
|
toThrow: (matcher?: RegExp) => Promise<void>;
|
|
82
33
|
};
|
|
83
34
|
};
|
|
84
|
-
/** A fresh, EMPTY store for one fact. */
|
|
85
35
|
makeStore: () => Promise<ConversationStoreUnderTest> | ConversationStoreUnderTest;
|
|
86
|
-
/**
|
|
87
|
-
* Facts this lane does not hold yet, by name.
|
|
88
|
-
*
|
|
89
|
-
* Borrowed from `packages/plane/src/conformance.ts`: a named row becomes
|
|
90
|
-
* `it.fails`, which asserts the test does NOT pass — so the day the lane is
|
|
91
|
-
* fixed, this entry starts failing and whoever fixed it is forced to delete
|
|
92
|
-
* the marker. A skip would rot silently; this cannot. Use it to record a
|
|
93
|
-
* divergence, never to excuse one.
|
|
94
|
-
*/
|
|
95
36
|
knownRed?: readonly string[];
|
|
96
37
|
}
|
|
97
38
|
export declare function describeConversationStoreContract(name: string, harness: ContractHarness): void;
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Test-only exports. Deliberately NOT re-exported from the package root — this
|
|
3
|
-
* subpath injects a test runner's primitives and must never be reachable from
|
|
4
|
-
* production code by importing `@cueframe/account-model`.
|
|
5
|
-
*/
|
|
6
1
|
export { describeConversationStoreContract, type ConversationStoreUnderTest, type ContractHarness, type ContractConversation, type ContractConversationMeta, type ContractProjectRef, } from "./conversationStoreContract.js";
|
|
7
2
|
export { describeRestorePointStoreContract, type RestorePointStoreUnderTest, type RestorePointHarness, type ContractRestorePointMeta, } from "./restorePointStoreContract.js";
|
|
@@ -1,33 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* THE RESTORE POINT STORE CONTRACT — one executable statement, every lane.
|
|
3
|
-
*
|
|
4
|
-
* Restore points are stored twice: the desktop keeps an index in sqlite with the
|
|
5
|
-
* snapshot in a JSONL beside it, the org's store keeps a pointer at a
|
|
6
|
-
* `compositionVersions` row it already has. Two implementations of one
|
|
7
|
-
* interface, which is the arrangement that produced every bug this codebase
|
|
8
|
-
* spent a day fixing in `conversations`.
|
|
9
|
-
*
|
|
10
|
-
* IT ALREADY WENT WRONG ONCE, EXACTLY AS PREDICTED. Both lanes had a
|
|
11
|
-
* `deleteRestorePointsForConversation`, both were written and tested in
|
|
12
|
-
* isolation, and NEITHER WAS CALLED — so deleting a conversation orphaned its
|
|
13
|
-
* points on disk and, on the cloud, left composition versions pinned where the
|
|
14
|
-
* thinning sweep could never reclaim them. Nothing noticed, because nothing
|
|
15
|
-
* asserted the behaviour across the seam.
|
|
16
|
-
*
|
|
17
|
-
* ONLY THE GENUINELY SHARED FACTS ARE HERE. Recording is desktop-only (the web
|
|
18
|
-
* records inside the server turn), so it is not in this contract — a fact that
|
|
19
|
-
* one lane satisfies by doing nothing is not a shared fact, it is a no-op
|
|
20
|
-
* wearing a method's name.
|
|
21
|
-
*/
|
|
22
1
|
export interface ContractRestorePointMeta {
|
|
23
2
|
id: string;
|
|
24
3
|
label: string;
|
|
25
4
|
createdAt: number;
|
|
26
5
|
}
|
|
27
|
-
/** The store surface under test — the shared half of the adapter's verbs. */
|
|
28
6
|
export interface RestorePointStoreUnderTest {
|
|
29
7
|
list(conversationId: string): Promise<ContractRestorePointMeta[]>;
|
|
30
|
-
/** Put one in place, however this lane does it (test-only seam). */
|
|
31
8
|
seed(conversationId: string, point: {
|
|
32
9
|
id: string;
|
|
33
10
|
label: string;
|
|
@@ -46,7 +23,6 @@ export interface RestorePointHarness {
|
|
|
46
23
|
toHaveLength: (n: number) => void;
|
|
47
24
|
};
|
|
48
25
|
makeStore: () => Promise<RestorePointStoreUnderTest> | RestorePointStoreUnderTest;
|
|
49
|
-
/** Facts this lane does not hold yet, by name — becomes `it.fails`. */
|
|
50
26
|
knownRed?: readonly string[];
|
|
51
27
|
}
|
|
52
28
|
export declare function describeRestorePointStoreContract(name: string, harness: RestorePointHarness): void;
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* A user-curated context document the agent surfaces to the LLM (brand
|
|
4
|
-
* voice notes, audience specs, recurring constraints). `generatedFrom`
|
|
5
|
-
* lists the source IDs (mediaItems, conversations, etc.) that produced
|
|
6
|
-
* the current `content`; bumping `version` indicates a regeneration.
|
|
7
|
-
*/
|
|
8
2
|
export declare const ContextFile: z.ZodObject<{
|
|
9
3
|
id: z.ZodBranded<z.ZodString, "Id<contextFiles>">;
|
|
10
4
|
orgId: z.ZodString;
|
|
@@ -1,29 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* A user's chat thread with the AI surface (Director, clips agent, etc.).
|
|
4
|
-
* `messages` is a JSON-encoded UI message log; the storage column is a
|
|
5
|
-
* single string blob to avoid Convex's per-row JSON shape constraints
|
|
6
|
-
* across long histories.
|
|
7
|
-
*
|
|
8
|
-
* THE `scope` FIELD IS GONE (2026-08-17). It recorded the PAGE the thread was
|
|
9
|
-
* last saved from, and it was a constant: the app writes
|
|
10
|
-
* `resolvePageScope(pathname).location`, and that resolver returns the editor
|
|
11
|
-
* scope on EVERY path — so every row ever written said `"editor"`, including
|
|
12
|
-
* workspace threads, and the enum declared here never contained that value.
|
|
13
|
-
* Nothing read it back (the one scope badge in the UI reads the LIVE
|
|
14
|
-
* `PageScope`, not the stored field). A constant nobody reads is not a column
|
|
15
|
-
* to correct, so it was deleted rather than fixed.
|
|
16
|
-
*/
|
|
17
|
-
/**
|
|
18
|
-
* The project a thread is ABOUT, and the home that owns it.
|
|
19
|
-
*
|
|
20
|
-
* `home` is carried rather than inferred: a local project's id is an absolute
|
|
21
|
-
* `.cueframe` path and a cloud project's is an org project id, and reading
|
|
22
|
-
* which from the shape of the string is the sniff the app's residency model
|
|
23
|
-
* exists to delete. Every conversation stored in the org is a cloud project's
|
|
24
|
-
* (or the workspace's), but the reference states that rather than leaving the
|
|
25
|
-
* reader to know it.
|
|
26
|
-
*/
|
|
27
2
|
export declare const ConversationProject: z.ZodObject<{
|
|
28
3
|
id: z.ZodString;
|
|
29
4
|
home: z.ZodEnum<["local", "cloud"]>;
|
|
@@ -37,37 +12,9 @@ export declare const ConversationProject: z.ZodObject<{
|
|
|
37
12
|
export type ConversationProject = z.infer<typeof ConversationProject>;
|
|
38
13
|
export declare const Conversation: z.ZodObject<{
|
|
39
14
|
id: z.ZodBranded<z.ZodString, "Id<conversations>">;
|
|
40
|
-
/**
|
|
41
|
-
* THE THREAD'S IDENTITY, and the app is the one that mints it.
|
|
42
|
-
*
|
|
43
|
-
* A conversation exists in the client before any store has seen it: the
|
|
44
|
-
* Director opens a chat, the user types, and only when the turn ends does a
|
|
45
|
-
* row get written. So the id that names a thread has to be one the client
|
|
46
|
-
* chose (`conv_<nanoid>`), not one a store assigns — otherwise the first
|
|
47
|
-
* save is an INSERT under a name the client cannot predict, the client keeps
|
|
48
|
-
* using its own name, and every subsequent save inserts again. That is
|
|
49
|
-
* exactly what web did until 2026-08-17: an N-turn conversation became N
|
|
50
|
-
* rows, and Delete silently deleted nothing because the id the user's
|
|
51
|
-
* sidebar held had never named a document.
|
|
52
|
-
*
|
|
53
|
-
* The desktop always had this right — sqlite is an `INSERT OR REPLACE` keyed
|
|
54
|
-
* on the client id. This field makes the org's store agree, via a unique
|
|
55
|
-
* lookup on `by_userId_clientId`: writes are an upsert on the id the app
|
|
56
|
-
* chose, and Convex's `_id` goes back to being an internal detail nobody
|
|
57
|
-
* outside this table ever sees or stores.
|
|
58
|
-
*/
|
|
59
15
|
clientId: z.ZodString;
|
|
60
16
|
userId: z.ZodString;
|
|
61
17
|
title: z.ZodString;
|
|
62
|
-
/**
|
|
63
|
-
* The project whose media, timeline and history this thread's turns are
|
|
64
|
-
* about. ABSENT is a meaning — a workspace thread, started on a surface with
|
|
65
|
-
* no project open — not a missing value: such a thread belongs to the user's
|
|
66
|
-
* workspace and survives every project switch precisely because it names no
|
|
67
|
-
* project. It is `optional` rather than nullable because rows written before
|
|
68
|
-
* the field existed have no project recorded, and nothing may invent one for
|
|
69
|
-
* them.
|
|
70
|
-
*/
|
|
71
18
|
project: z.ZodOptional<z.ZodObject<{
|
|
72
19
|
id: z.ZodString;
|
|
73
20
|
home: z.ZodEnum<["local", "cloud"]>;
|
|
@@ -78,34 +25,8 @@ export declare const Conversation: z.ZodObject<{
|
|
|
78
25
|
id: string;
|
|
79
26
|
home: "local" | "cloud";
|
|
80
27
|
}>>;
|
|
81
|
-
/**
|
|
82
|
-
* When the thread was STARTED — supplied by the app, kept by the store.
|
|
83
|
-
*
|
|
84
|
-
* Stored rather than read off Convex's `_creationTime`, which is when the
|
|
85
|
-
* DOCUMENT was inserted and not when the conversation began. Those are the
|
|
86
|
-
* same moment for a thread born in the cloud and very different for one that
|
|
87
|
-
* arrives there later: moving a project to the cloud re-homes its threads
|
|
88
|
-
* (`adoptIntoProject`), and a months-old conversation would have shown up
|
|
89
|
-
* dated today. The desktop has always stored the app's value; this is the
|
|
90
|
-
* org's store agreeing, and it is what lets the same thread report the same
|
|
91
|
-
* age on both sides of a move.
|
|
92
|
-
*
|
|
93
|
-
* Immutable after the first write on both stores — a thread's age is a fact
|
|
94
|
-
* about the thread, not about its most recent turn.
|
|
95
|
-
*/
|
|
96
28
|
createdAt: z.ZodString;
|
|
97
|
-
/**
|
|
98
|
-
* When the thread last had a turn — the key the history list sorts on.
|
|
99
|
-
*
|
|
100
|
-
* Stored rather than derived because the two things a store can offer for
|
|
101
|
-
* free are both wrong: Convex's `_creationTime` is when the thread STARTED
|
|
102
|
-
* (so a months-old thread the user just added a turn to sorts to the bottom,
|
|
103
|
-
* which is the opposite of what a history list is for), and a patch does not
|
|
104
|
-
* move it. The desktop has ordered by `updated_at DESC` since migration 015;
|
|
105
|
-
* this is the org's store agreeing.
|
|
106
|
-
*/
|
|
107
29
|
updatedAt: z.ZodString;
|
|
108
|
-
/** JSON-encoded array of UI messages (role + content). */
|
|
109
30
|
messages: z.ZodString;
|
|
110
31
|
}, "strip", z.ZodTypeAny, {
|
|
111
32
|
id: string & z.BRAND<"Id<conversations>">;
|
|
@@ -133,21 +54,4 @@ export declare const Conversation: z.ZodObject<{
|
|
|
133
54
|
} | undefined;
|
|
134
55
|
}>;
|
|
135
56
|
export type Conversation = z.infer<typeof Conversation>;
|
|
136
|
-
/**
|
|
137
|
-
* A thread as a history LIST needs it — everything but the turns.
|
|
138
|
-
*
|
|
139
|
-
* The list renders a title and nothing else, so shipping `messages` with it
|
|
140
|
-
* sends the entire chat log of every thread to draw ≤5 lines of text. That was
|
|
141
|
-
* merely wasteful while a thread was one row; it stops being merely wasteful
|
|
142
|
-
* on a store with a per-response size limit, and it is the same read that runs
|
|
143
|
-
* on every project switch.
|
|
144
|
-
*
|
|
145
|
-
* A TYPE, NOT A SCHEMA, and deliberately: `ConversationMeta` would naturally be
|
|
146
|
-
* `Conversation.omit({messages: true})`, but `ZodObject.omit()` is the
|
|
147
|
-
* "instantiation explosion" Zod 3's own v4 notes describe — it re-instantiates
|
|
148
|
-
* deep conditional generics and blew past TypeScript's depth limit (TS2589)
|
|
149
|
-
* where `@cueframe/convex-schemas` used it, silently degrading the derived
|
|
150
|
-
* table types to `{[x: string]: …}`. Nothing parses a meta at a boundary, so
|
|
151
|
-
* the shape is only ever needed as a type.
|
|
152
|
-
*/
|
|
153
57
|
export type ConversationMeta = Omit<Conversation, "messages">;
|
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Cached LLM-generated dashboard summary keyed off a `sourceHash` of the
|
|
4
|
-
* inputs that produced it. Surfaces a one-line hero insight plus a small
|
|
5
|
-
* batch of follow-up content suggestions on the home view.
|
|
6
|
-
*/
|
|
7
2
|
export declare const DashboardInsight: z.ZodObject<{
|
|
8
3
|
id: z.ZodBranded<z.ZodString, "Id<dashboardInsights>">;
|
|
9
4
|
orgId: z.ZodString;
|
|
10
|
-
/** Hash of the input set that produced this snapshot (cache key). */
|
|
11
5
|
sourceHash: z.ZodString;
|
|
12
6
|
heroInsight: z.ZodString;
|
|
13
7
|
contentSuggestions: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Short-lived, session-scoped, read-only bearer token used by a warm render
|
|
4
|
-
* session container (Modal Sandbox) to subscribe to its working composition in Convex
|
|
5
|
-
* without bundling org credentials into the container. Validated as a query
|
|
6
|
-
* argument (the UploadToken precedent), not via Convex-native auth/JWT.
|
|
7
|
-
*/
|
|
8
2
|
export declare const SessionTokenScope: z.ZodEnum<["session-read"]>;
|
|
9
3
|
export type SessionTokenScope = z.infer<typeof SessionTokenScope>;
|
|
10
4
|
export declare const SessionToken: z.ZodObject<{
|
|
@@ -15,34 +9,11 @@ export declare const SessionToken: z.ZodObject<{
|
|
|
15
9
|
orgId: z.ZodString;
|
|
16
10
|
scope: z.ZodEnum<["session-read"]>;
|
|
17
11
|
expiresAt: z.ZodString;
|
|
18
|
-
/** The warm sandbox this session is bound to, set once it's created. The
|
|
19
|
-
* session reconnects by this id (provider.get) per render — the platform-native
|
|
20
|
-
* persistent-resource pattern. */
|
|
21
12
|
sandboxId: z.ZodOptional<z.ZodString>;
|
|
22
|
-
/** Epoch-ms when the warm box became ready (stamped alongside `sandboxId`). The
|
|
23
|
-
* billable-uptime clock start — `closeSession` bills `compose_session_minutes`
|
|
24
|
-
* from here. Absent = the box never booted, so nothing to bill. Stored as a raw
|
|
25
|
-
* number (epoch-ms) like `expiresAt`, for cheap arithmetic. */
|
|
26
13
|
readyAt: z.ZodOptional<z.ZodNumber>;
|
|
27
|
-
/** The `_scheduled_functions` id of the pending durable auto-close
|
|
28
|
-
* (`ctx.scheduler.runAfter`). Cancelled + rescheduled on activity (keep-alive),
|
|
29
|
-
* fired on idle to reap the sandbox — crash-proof cleanup, not durability. */
|
|
30
14
|
scheduledCloseId: z.ZodOptional<z.ZodString>;
|
|
31
|
-
/** The session-scoped SCRATCH composition (a derived sibling of the project's
|
|
32
|
-
* active composition). Author-ops during the session mutate THIS row, never
|
|
33
|
-
* active; `promoteScratch` commits it and `closeSession` discards it. Absent
|
|
34
|
-
* until the session derives one (or the project had no active to derive from). */
|
|
35
15
|
scratchCompositionId: z.ZodOptional<z.ZodBranded<z.ZodString, "Id<compositions>">>;
|
|
36
|
-
/** SERVER-owned evidence box (the sessionless score/preview ops). Managed
|
|
37
|
-
* sessions bill per-op only (uptime metering skips them — flat per-op is the
|
|
38
|
-
* public contract), run a SHORT idle TTL, never mint a scratch composition,
|
|
39
|
-
* and are the only rows the managed resolver may reuse or evict. */
|
|
40
16
|
managed: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
-
/** Async-evidence lease: the jobId currently staging/judging on this box. A
|
|
42
|
-
* second evidence op on the same box while the lease is live gets 409
|
|
43
|
-
* box_busy instead of silently bumping the working-composition version out
|
|
44
|
-
* from under the in-flight judge. Cleared at the job terminal; expiry is the
|
|
45
|
-
* crash backstop. */
|
|
46
17
|
leaseJobId: z.ZodOptional<z.ZodString>;
|
|
47
18
|
leaseExpiresAt: z.ZodOptional<z.ZodNumber>;
|
|
48
19
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Short-lived bearer token used by Tus / Uppy Companion to upload files
|
|
4
|
-
* directly to R2 without bundling org credentials into the browser.
|
|
5
|
-
*/
|
|
6
2
|
export declare const UploadTokenScope: z.ZodEnum<["tus", "companion"]>;
|
|
7
3
|
export type UploadTokenScope = z.infer<typeof UploadTokenScope>;
|
|
8
4
|
export declare const UploadToken: z.ZodObject<{
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* Per-user preferences. Sparse by design — every field is optional, so
|
|
4
|
-
* downstream readers should use defaults rather than asserting presence.
|
|
5
|
-
*/
|
|
6
2
|
export declare const UserSettings: z.ZodObject<{
|
|
7
3
|
id: z.ZodBranded<z.ZodString, "Id<userSettings>">;
|
|
8
4
|
userId: z.ZodString;
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
/**
|
|
3
|
-
* The single in-progress composition source for a warm render session. Both the
|
|
4
|
-
* Director compose loop (per attempt) and a client debug session write here; the
|
|
5
|
-
* in-container daemon subscribes to it via `getWorkingComposition`. The project
|
|
6
|
-
* `compositions` row and per-candidate `compositionRuns` rows remain the
|
|
7
|
-
* settle-time SSOT + history — this is the live, reactive surface only.
|
|
8
|
-
*/
|
|
9
2
|
export declare const WorkingComposition: z.ZodObject<{
|
|
10
3
|
id: z.ZodBranded<z.ZodString, "Id<workingCompositions>">;
|
|
11
4
|
sessionId: z.ZodString;
|
|
@@ -1,36 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface CreateProps {
|
|
3
|
-
/** SVG path data string to draw */
|
|
4
3
|
path: string;
|
|
5
|
-
/** Stroke color */
|
|
6
4
|
stroke?: string;
|
|
7
|
-
/** Stroke width */
|
|
8
5
|
strokeWidth?: number;
|
|
9
|
-
/** Fill color (revealed after stroke completes if fillAfter is true) */
|
|
10
6
|
fill?: string;
|
|
11
|
-
/** Delay fill reveal until stroke is nearly complete */
|
|
12
7
|
fillAfter?: boolean;
|
|
13
|
-
/** SVG width */
|
|
14
8
|
width?: number | string;
|
|
15
|
-
/** SVG height */
|
|
16
9
|
height?: number | string;
|
|
17
|
-
/** SVG viewBox */
|
|
18
10
|
viewBox?: string;
|
|
19
|
-
/** Duration of the stroke drawing animation in frames */
|
|
20
11
|
durationInFrames?: number;
|
|
21
|
-
/** Delay before animation starts (in frames) */
|
|
22
12
|
delay?: number;
|
|
23
|
-
/** Easing function (default: smooth) */
|
|
24
13
|
easing?: (t: number) => number;
|
|
25
|
-
/** Additional SVG style */
|
|
26
14
|
style?: React.CSSProperties;
|
|
27
15
|
}
|
|
28
|
-
/**
|
|
29
|
-
* Stroke drawing animation — objects "draw themselves into existence".
|
|
30
|
-
* Wraps evolvePath() from @remotion/paths with Manim-quality easing.
|
|
31
|
-
*
|
|
32
|
-
* Usage:
|
|
33
|
-
* <Create path="M10,80 Q95,10 180,80" stroke="white" durationInFrames={30} />
|
|
34
|
-
*/
|
|
35
16
|
export declare const Create: React.FC<CreateProps>;
|
|
36
17
|
export {};
|
|
@@ -2,35 +2,18 @@ import React from 'react';
|
|
|
2
2
|
type Direction = 'up' | 'down' | 'left' | 'right' | 'none';
|
|
3
3
|
interface FadeInProps {
|
|
4
4
|
children: React.ReactNode;
|
|
5
|
-
/** Slide direction (default: 'up') */
|
|
6
5
|
direction?: Direction;
|
|
7
|
-
/** Slide distance in pixels (default: 30) */
|
|
8
6
|
distance?: number;
|
|
9
|
-
/** Duration in frames when not using spring (default: 20) */
|
|
10
7
|
durationInFrames?: number;
|
|
11
|
-
/** Delay before animation starts (in frames) */
|
|
12
8
|
delay?: number;
|
|
13
|
-
/** Easing function (default: smooth). Ignored when useSpring is true. */
|
|
14
9
|
easing?: (t: number) => number;
|
|
15
|
-
/** Use spring physics instead of easing curve */
|
|
16
10
|
useSpring?: boolean;
|
|
17
|
-
/** Spring config (used when useSpring is true) */
|
|
18
11
|
springConfig?: {
|
|
19
12
|
damping?: number;
|
|
20
13
|
stiffness?: number;
|
|
21
14
|
mass?: number;
|
|
22
15
|
};
|
|
23
|
-
/** Additional wrapper style */
|
|
24
16
|
style?: React.CSSProperties;
|
|
25
17
|
}
|
|
26
|
-
/**
|
|
27
|
-
* Directional fade entrance with optional spring physics.
|
|
28
|
-
* Combines opacity fade with a slide from the specified direction.
|
|
29
|
-
*
|
|
30
|
-
* Usage:
|
|
31
|
-
* <FadeIn direction="up" durationInFrames={20}>
|
|
32
|
-
* <h1 style={{ color: 'white' }}>Title</h1>
|
|
33
|
-
* </FadeIn>
|
|
34
|
-
*/
|
|
35
18
|
export declare const FadeIn: React.FC<FadeInProps>;
|
|
36
19
|
export {};
|
|
@@ -1,36 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface GrowArrowProps {
|
|
3
|
-
/** Start point [x, y] */
|
|
4
3
|
from: [number, number];
|
|
5
|
-
/** End point [x, y] */
|
|
6
4
|
to: [number, number];
|
|
7
|
-
/** Stroke color */
|
|
8
5
|
color?: string;
|
|
9
|
-
/** Stroke width (default: 2) */
|
|
10
6
|
strokeWidth?: number;
|
|
11
|
-
/** Arrowhead size in pixels (default: 12) */
|
|
12
7
|
tipSize?: number;
|
|
13
|
-
/** SVG width */
|
|
14
8
|
width?: number | string;
|
|
15
|
-
/** SVG height */
|
|
16
9
|
height?: number | string;
|
|
17
|
-
/** SVG viewBox */
|
|
18
10
|
viewBox?: string;
|
|
19
|
-
/** Duration of the grow animation in frames */
|
|
20
11
|
durationInFrames?: number;
|
|
21
|
-
/** Delay before animation starts (in frames) */
|
|
22
12
|
delay?: number;
|
|
23
|
-
/** Easing function (default: smooth) */
|
|
24
13
|
easing?: (t: number) => number;
|
|
25
|
-
/** Additional SVG style */
|
|
26
14
|
style?: React.CSSProperties;
|
|
27
15
|
}
|
|
28
|
-
/**
|
|
29
|
-
* Animated arrow that grows from start to end point with stroke drawing.
|
|
30
|
-
* The arrowhead appears as the line reaches its destination.
|
|
31
|
-
*
|
|
32
|
-
* Usage:
|
|
33
|
-
* <GrowArrow from={[100, 300]} to={[500, 300]} color="#fff" durationInFrames={30} />
|
|
34
|
-
*/
|
|
35
16
|
export declare const GrowArrow: React.FC<GrowArrowProps>;
|
|
36
17
|
export {};
|
|
@@ -1,25 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface GrowFromCenterProps {
|
|
3
3
|
children: React.ReactNode;
|
|
4
|
-
/** Delay before animation starts (in frames) */
|
|
5
4
|
delay?: number;
|
|
6
|
-
/** Spring physics config */
|
|
7
5
|
springConfig?: {
|
|
8
6
|
damping?: number;
|
|
9
7
|
stiffness?: number;
|
|
10
8
|
mass?: number;
|
|
11
9
|
};
|
|
12
|
-
/** Additional wrapper style */
|
|
13
10
|
style?: React.CSSProperties;
|
|
14
11
|
}
|
|
15
|
-
/**
|
|
16
|
-
* Scale-from-zero entrance with spring physics.
|
|
17
|
-
* Element grows from its center point with natural overshoot.
|
|
18
|
-
*
|
|
19
|
-
* Usage:
|
|
20
|
-
* <GrowFromCenter>
|
|
21
|
-
* <div style={{ background: 'blue', padding: 20 }}>Hello</div>
|
|
22
|
-
* </GrowFromCenter>
|
|
23
|
-
*/
|
|
24
12
|
export declare const GrowFromCenter: React.FC<GrowFromCenterProps>;
|
|
25
13
|
export {};
|
|
@@ -1,29 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface IndicateProps {
|
|
3
3
|
children: React.ReactNode;
|
|
4
|
-
/** Color of the highlight flash (default: '#FBBF24' — amber) */
|
|
5
4
|
color?: string;
|
|
6
|
-
/** Scale factor at peak of indication (default: 1.15) */
|
|
7
5
|
scaleFactor?: number;
|
|
8
|
-
/** Duration of the full indicate cycle in frames (default: 30) */
|
|
9
6
|
durationInFrames?: number;
|
|
10
|
-
/** Delay before indication starts (in frames) */
|
|
11
7
|
delay?: number;
|
|
12
|
-
/** Number of times to pulse (default: 1) */
|
|
13
8
|
pulses?: number;
|
|
14
|
-
/** Additional wrapper style */
|
|
15
9
|
style?: React.CSSProperties;
|
|
16
10
|
}
|
|
17
|
-
/**
|
|
18
|
-
* Flash/highlight effect to draw attention to an element.
|
|
19
|
-
*
|
|
20
|
-
* Scales up slightly and adds a colored glow, then returns to normal.
|
|
21
|
-
* Like tapping an element to say "look here". Manim's Indicate animation.
|
|
22
|
-
*
|
|
23
|
-
* Usage:
|
|
24
|
-
* <Indicate color="#D4AF37">
|
|
25
|
-
* <div style={{ fontSize: 48, color: '#fff' }}>Important!</div>
|
|
26
|
-
* </Indicate>
|
|
27
|
-
*/
|
|
28
11
|
export declare const Indicate: React.FC<IndicateProps>;
|
|
29
12
|
export {};
|
|
@@ -1,30 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface MoveAlongPathProps {
|
|
3
3
|
children: React.ReactNode;
|
|
4
|
-
/** SVG path data string to follow */
|
|
5
4
|
path: string;
|
|
6
|
-
/** Duration of the movement in frames */
|
|
7
5
|
durationInFrames?: number;
|
|
8
|
-
/** Delay before movement starts (in frames) */
|
|
9
6
|
delay?: number;
|
|
10
|
-
/** Easing function (default: smooth) */
|
|
11
7
|
easing?: (t: number) => number;
|
|
12
|
-
/** Rotate element to align with path tangent (default: false) */
|
|
13
8
|
rotate?: boolean;
|
|
14
|
-
/** Additional wrapper style */
|
|
15
9
|
style?: React.CSSProperties;
|
|
16
10
|
}
|
|
17
|
-
/**
|
|
18
|
-
* Move a child element along an SVG path over time.
|
|
19
|
-
* Wraps getPointAtLength() and getTangentAtLength() from @remotion/paths.
|
|
20
|
-
*
|
|
21
|
-
* The child is positioned absolutely at the current point on the path,
|
|
22
|
-
* optionally rotated to align with the path direction.
|
|
23
|
-
*
|
|
24
|
-
* Usage:
|
|
25
|
-
* <MoveAlongPath path="M 100,400 C 200,100 400,100 500,400" durationInFrames={60} rotate>
|
|
26
|
-
* <div style={{ width: 20, height: 20, borderRadius: '50%', background: '#fff' }} />
|
|
27
|
-
* </MoveAlongPath>
|
|
28
|
-
*/
|
|
29
11
|
export declare const MoveAlongPath: React.FC<MoveAlongPathProps>;
|
|
30
12
|
export {};
|
|
@@ -1,46 +1,18 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface TransformProps {
|
|
3
|
-
/** Starting SVG path data */
|
|
4
3
|
fromPath: string;
|
|
5
|
-
/** Ending SVG path data */
|
|
6
4
|
toPath: string;
|
|
7
|
-
/** Stroke color */
|
|
8
5
|
stroke?: string;
|
|
9
|
-
/** Stroke width */
|
|
10
6
|
strokeWidth?: number;
|
|
11
|
-
/** Fill color */
|
|
12
7
|
fill?: string;
|
|
13
|
-
/** SVG width */
|
|
14
8
|
width?: number | string;
|
|
15
|
-
/** SVG height */
|
|
16
9
|
height?: number | string;
|
|
17
|
-
/** SVG viewBox */
|
|
18
10
|
viewBox?: string;
|
|
19
|
-
/** Duration of the morph animation in frames */
|
|
20
11
|
durationInFrames?: number;
|
|
21
|
-
/** Delay before animation starts (in frames) */
|
|
22
12
|
delay?: number;
|
|
23
|
-
/** Easing function (default: smooth) */
|
|
24
13
|
easing?: (t: number) => number;
|
|
25
|
-
/** Fade in at the start and fade out at the end */
|
|
26
14
|
fadeEdges?: boolean;
|
|
27
|
-
/** Additional SVG style */
|
|
28
15
|
style?: React.CSSProperties;
|
|
29
16
|
}
|
|
30
|
-
/**
|
|
31
|
-
* SVG path morphing — shape A smoothly transforms into shape B.
|
|
32
|
-
* Wraps interpolatePath() from @remotion/paths with Manim-quality easing.
|
|
33
|
-
*
|
|
34
|
-
* Both paths should have the same number of points for best results.
|
|
35
|
-
* Remotion's interpolatePath handles automatic point alignment.
|
|
36
|
-
*
|
|
37
|
-
* Usage:
|
|
38
|
-
* <Transform
|
|
39
|
-
* fromPath="M 50,250 C 150,50 350,50 450,250"
|
|
40
|
-
* toPath="M 50,250 L 250,50 L 450,250"
|
|
41
|
-
* stroke="#fff" strokeWidth={3} durationInFrames={45}
|
|
42
|
-
* viewBox="0 0 500 300"
|
|
43
|
-
* />
|
|
44
|
-
*/
|
|
45
17
|
export declare const Transform: React.FC<TransformProps>;
|
|
46
18
|
export {};
|
|
@@ -1,31 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface WiggleProps {
|
|
3
3
|
children: React.ReactNode;
|
|
4
|
-
/** Maximum rotation angle in degrees (default: 8) */
|
|
5
4
|
angle?: number;
|
|
6
|
-
/** Maximum X displacement in pixels (default: 4) */
|
|
7
5
|
xAmplitude?: number;
|
|
8
|
-
/** Maximum Y displacement in pixels (default: 2) */
|
|
9
6
|
yAmplitude?: number;
|
|
10
|
-
/** Duration of the wiggle in frames (default: 30) */
|
|
11
7
|
durationInFrames?: number;
|
|
12
|
-
/** Delay before wiggle starts (in frames) */
|
|
13
8
|
delay?: number;
|
|
14
|
-
/** Number of oscillation cycles (default: 3) */
|
|
15
9
|
cycles?: number;
|
|
16
|
-
/** Additional wrapper style */
|
|
17
10
|
style?: React.CSSProperties;
|
|
18
11
|
}
|
|
19
|
-
/**
|
|
20
|
-
* Shake/wobble animation — element oscillates with decaying amplitude.
|
|
21
|
-
*
|
|
22
|
-
* Creates a natural-feeling shake that decays over time, like a spring
|
|
23
|
-
* settling. Good for drawing attention, error states, or playful emphasis.
|
|
24
|
-
*
|
|
25
|
-
* Usage:
|
|
26
|
-
* <Wiggle angle={10} cycles={4}>
|
|
27
|
-
* <div style={{ fontSize: 24, color: '#fff' }}>Shake me!</div>
|
|
28
|
-
* </Wiggle>
|
|
29
|
-
*/
|
|
30
12
|
export declare const Wiggle: React.FC<WiggleProps>;
|
|
31
13
|
export {};
|