@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/primitives/lib.js
CHANGED
|
@@ -1,21 +1,4 @@
|
|
|
1
1
|
import "../chunk-H5LMJKZU.js";
|
|
2
|
-
import {
|
|
3
|
-
SeededPRNG,
|
|
4
|
-
gauss,
|
|
5
|
-
pick,
|
|
6
|
-
range
|
|
7
|
-
} from "../chunk-GULDS3VE.js";
|
|
8
|
-
import {
|
|
9
|
-
ALLOWED_BRAND_PATHS,
|
|
10
|
-
CONTRAST_CRITICAL_PATHS,
|
|
11
|
-
FROZEN_CORE_PATHS,
|
|
12
|
-
TIER2B_EXTENSION_PATHS,
|
|
13
|
-
applyBrandCascade,
|
|
14
|
-
isContrastCritical,
|
|
15
|
-
lintBrandPath,
|
|
16
|
-
resolveParams,
|
|
17
|
-
resolveTokenValue
|
|
18
|
-
} from "../chunk-7DHP4ESU.js";
|
|
19
2
|
import {
|
|
20
3
|
EASING_BY_INTENT,
|
|
21
4
|
IN_OUT_CUBIC,
|
|
@@ -36,6 +19,23 @@ import {
|
|
|
36
19
|
zodToDefaults,
|
|
37
20
|
zodToJsonSchemaFor
|
|
38
21
|
} from "../chunk-MHOQTPOB.js";
|
|
22
|
+
import {
|
|
23
|
+
SeededPRNG,
|
|
24
|
+
gauss,
|
|
25
|
+
pick,
|
|
26
|
+
range
|
|
27
|
+
} from "../chunk-GULDS3VE.js";
|
|
28
|
+
import {
|
|
29
|
+
ALLOWED_BRAND_PATHS,
|
|
30
|
+
CONTRAST_CRITICAL_PATHS,
|
|
31
|
+
FROZEN_CORE_PATHS,
|
|
32
|
+
TIER2B_EXTENSION_PATHS,
|
|
33
|
+
applyBrandCascade,
|
|
34
|
+
isContrastCritical,
|
|
35
|
+
lintBrandPath,
|
|
36
|
+
resolveParams,
|
|
37
|
+
resolveTokenValue
|
|
38
|
+
} from "../chunk-YLDMAZZE.js";
|
|
39
39
|
import {
|
|
40
40
|
palette_exports
|
|
41
41
|
} from "../chunk-CX2IIQ4R.js";
|
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
ProductLaunchTrailer,
|
|
8
8
|
TerminalToBrowserDeploy,
|
|
9
9
|
catalog
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-QGAWDLYX.js";
|
|
10
|
+
} from "../chunk-DYZE7JZA.js";
|
|
12
11
|
import "../chunk-ZSZABOE5.js";
|
|
12
|
+
import "../chunk-QGAWDLYX.js";
|
|
13
13
|
import "../chunk-CX2IIQ4R.js";
|
|
14
14
|
import "../chunk-2ESYSVXG.js";
|
|
15
15
|
export {
|
package/dist/primitives/text.js
CHANGED
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
TrackingIn,
|
|
22
22
|
Typewriter,
|
|
23
23
|
catalog
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-UQSOS726.js";
|
|
25
25
|
import "../chunk-DLF4WVSE.js";
|
|
26
26
|
import "../chunk-U4V4FZGE.js";
|
|
27
27
|
import "../chunk-BDMTUEEZ.js";
|
|
28
28
|
import "../chunk-EMGFZ3PR.js";
|
|
29
|
+
import "../chunk-XHGZ2E77.js";
|
|
29
30
|
import "../chunk-ZFEXATWN.js";
|
|
30
|
-
import "../chunk-AYVJXDLB.js";
|
|
31
31
|
import "../chunk-CX2IIQ4R.js";
|
|
32
32
|
import "../chunk-2ESYSVXG.js";
|
|
33
33
|
export {
|
|
@@ -30,13 +30,13 @@ import {
|
|
|
30
30
|
VisualDocsSnippet,
|
|
31
31
|
VoiceWaveform,
|
|
32
32
|
catalog
|
|
33
|
-
} from "../chunk-
|
|
34
|
-
import "../chunk-BDMTUEEZ.js";
|
|
35
|
-
import "../chunk-EMGFZ3PR.js";
|
|
36
|
-
import "../chunk-AYVJXDLB.js";
|
|
33
|
+
} from "../chunk-BKHGL4MB.js";
|
|
37
34
|
import {
|
|
38
35
|
DashboardPopulate
|
|
39
36
|
} from "../chunk-ZSZABOE5.js";
|
|
37
|
+
import "../chunk-BDMTUEEZ.js";
|
|
38
|
+
import "../chunk-EMGFZ3PR.js";
|
|
39
|
+
import "../chunk-XHGZ2E77.js";
|
|
40
40
|
import "../chunk-CX2IIQ4R.js";
|
|
41
41
|
import "../chunk-2ESYSVXG.js";
|
|
42
42
|
export {
|
package/dist/primitives.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
catalog
|
|
3
|
-
} from "./chunk-OLFOPQCA.js";
|
|
4
|
-
import "./chunk-DLF4WVSE.js";
|
|
5
|
-
import "./chunk-U4V4FZGE.js";
|
|
6
|
-
import {
|
|
7
|
-
catalog as catalog3
|
|
8
|
-
} from "./chunk-AWT3P5ZN.js";
|
|
9
1
|
import {
|
|
10
2
|
catalog as catalog6
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import {
|
|
13
|
-
catalog as catalog5
|
|
14
|
-
} from "./chunk-PMY24FUD.js";
|
|
3
|
+
} from "./chunk-BKHGL4MB.js";
|
|
15
4
|
import {
|
|
16
5
|
catalog as catalog2
|
|
17
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GMD33ZD7.js";
|
|
18
7
|
import {
|
|
19
8
|
catalog as catalog8
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-BDMTUEEZ.js";
|
|
22
|
-
import "./chunk-EMGFZ3PR.js";
|
|
23
|
-
import "./chunk-ZFEXATWN.js";
|
|
9
|
+
} from "./chunk-SAMQUUO5.js";
|
|
24
10
|
import {
|
|
25
11
|
catalog as catalog4
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-AYVJXDLB.js";
|
|
12
|
+
} from "./chunk-RP4SXXLJ.js";
|
|
28
13
|
import {
|
|
29
14
|
catalog as catalog7
|
|
30
|
-
} from "./chunk-
|
|
31
|
-
import "./chunk-QGAWDLYX.js";
|
|
15
|
+
} from "./chunk-DYZE7JZA.js";
|
|
32
16
|
import "./chunk-ZSZABOE5.js";
|
|
17
|
+
import {
|
|
18
|
+
catalog
|
|
19
|
+
} from "./chunk-UQSOS726.js";
|
|
20
|
+
import "./chunk-DLF4WVSE.js";
|
|
21
|
+
import "./chunk-U4V4FZGE.js";
|
|
22
|
+
import "./chunk-BDMTUEEZ.js";
|
|
23
|
+
import "./chunk-EMGFZ3PR.js";
|
|
24
|
+
import {
|
|
25
|
+
catalog as catalog3
|
|
26
|
+
} from "./chunk-AWT3P5ZN.js";
|
|
27
|
+
import "./chunk-QGAWDLYX.js";
|
|
28
|
+
import {
|
|
29
|
+
catalog as catalog5
|
|
30
|
+
} from "./chunk-G5BFI32U.js";
|
|
31
|
+
import "./chunk-XHGZ2E77.js";
|
|
32
|
+
import "./chunk-ZFEXATWN.js";
|
|
33
33
|
import "./chunk-CX2IIQ4R.js";
|
|
34
34
|
import "./chunk-2ESYSVXG.js";
|
|
35
35
|
|
package/dist/render-harness.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
GLOBALS_MODULE,
|
|
8
8
|
SANDBOX_GLOBAL_SPECS
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-V24L35GM.js";
|
|
10
10
|
import "./chunk-2ESYSVXG.js";
|
|
11
11
|
|
|
12
12
|
// ../execution/render-harness/src/materializeSources.ts
|
|
@@ -124,7 +124,6 @@ async function extractSegments(clips, sourceFiles, opts) {
|
|
|
124
124
|
try {
|
|
125
125
|
await exec("ffmpeg", [
|
|
126
126
|
"-y",
|
|
127
|
-
// Reconnect on transient HTTP drops when range-reading a remote source.
|
|
128
127
|
...remote ? ["-reconnect", "1", "-reconnect_streamed", "1", "-reconnect_delay_max", "5"] : [],
|
|
129
128
|
"-ss",
|
|
130
129
|
minStart.toFixed(3),
|
|
@@ -456,6 +455,11 @@ async function materializeSources(renderInput, workDir, log = () => {
|
|
|
456
455
|
import { mkdirSync, writeFileSync } from "fs";
|
|
457
456
|
import { join as join5, relative, resolve, dirname } from "path";
|
|
458
457
|
import { fileURLToPath as fileURLToPath2 } from "url";
|
|
458
|
+
|
|
459
|
+
// ../execution/render-harness/src/browserOptions.ts
|
|
460
|
+
var SOFTWARE_CHROMIUM_OPTIONS = Object.freeze({ gl: "swangle" });
|
|
461
|
+
|
|
462
|
+
// ../execution/render-harness/src/localRender.ts
|
|
459
463
|
var LOCAL_REGISTRY_FILENAME = "registry.local.tsx";
|
|
460
464
|
var LOCAL_ROOT_FILENAME = "Root.local.tsx";
|
|
461
465
|
var LOCAL_ENTRY_FILENAME = "entry.local.tsx";
|
|
@@ -478,22 +482,11 @@ function generateLocalRegistry(ws) {
|
|
|
478
482
|
registrations.push(`registerPrimitiveOverride(${local} as LocalPrimitiveConfig, OWNER);`);
|
|
479
483
|
});
|
|
480
484
|
const source = `// GENERATED by @cueframe/render-harness generateLocalRegistry \u2014 DO NOT EDIT.
|
|
481
|
-
// Side-imports each OWNED component's config and registers it as a local
|
|
482
|
-
// override so resolvePrimitive(id) returns the customer's local code. Lives in
|
|
483
|
-
// the gitignored .cueframe/ cache; regenerated on every local render.
|
|
484
485
|
import { registerPrimitiveOverride, resetPrimitiveOverrides } from '@cueframe/compose';
|
|
485
486
|
${imports.join("\n")}
|
|
486
487
|
|
|
487
|
-
// The 2.2-generated config.ts is a structural subset of PrimitiveMeta (it omits
|
|
488
|
-
// the agent-surface + playback + preview fields). The renderer only needs
|
|
489
|
-
// id/component/paramsSchema, so we register through this loose shape \u2014 the one
|
|
490
|
-
// named, narrow widening, instead of a per-call cast.
|
|
491
488
|
type LocalPrimitiveConfig = Parameters<typeof registerPrimitiveOverride>[0];
|
|
492
489
|
|
|
493
|
-
// OWNER = this workspace's identity (the override registry's single-tenant guard,
|
|
494
|
-
// Phase-5 security gate). reset first so a reused render context starts clean;
|
|
495
|
-
// every register is tagged with OWNER so a SECOND tenant registering into a shared
|
|
496
|
-
// process fails loud instead of leaking overrides across tenants.
|
|
497
490
|
const OWNER = ${JSON.stringify(ws.root)};
|
|
498
491
|
resetPrimitiveOverrides();
|
|
499
492
|
${registrations.join("\n")}
|
|
@@ -516,10 +509,6 @@ const Resolved: React.FC = () => {
|
|
|
516
509
|
const meta = resolvePrimitive(${JSON.stringify(opts.id)});
|
|
517
510
|
if (!meta) throw new Error('local primitive did not resolve: ' + ${JSON.stringify(opts.id)});
|
|
518
511
|
const C = meta.component as React.FC<Record<string, unknown>>;
|
|
519
|
-
// Canonical agent component contract: ({ durationInFrames, params }) \u2014 matches
|
|
520
|
-
// director.md's Component Contract AND the desktop DynamicOverlay mount
|
|
521
|
-
// (<C durationInFrames params={params}/>). NOT a {...params} spread: that left a
|
|
522
|
-
// contract-conformant component's \`params\` undefined \u2192 crash on params.<x>.
|
|
523
512
|
return <C durationInFrames={${opts.durationInFrames}} params={params} />;
|
|
524
513
|
};
|
|
525
514
|
|
|
@@ -607,21 +596,9 @@ function buildLocalWebpackOverride(renderEntryRoot, globals) {
|
|
|
607
596
|
}
|
|
608
597
|
return (config) => ({
|
|
609
598
|
...config,
|
|
610
|
-
// Inject the Remotion globals as free identifiers (no-import parity with the
|
|
611
|
-
// desktop sandbox). ProvidePlugin only fills FREE identifiers, so importing
|
|
612
|
-
// components are untouched. This sits in the TOP-LEVEL plugins (a compilation
|
|
613
|
-
// plugin), distinct from resolve.plugins (the TauriShim resolver hook).
|
|
614
599
|
plugins: [...config.plugins ?? [], new webpack.ProvidePlugin(provideMap)],
|
|
615
600
|
resolve: {
|
|
616
601
|
...config.resolve,
|
|
617
|
-
// The generated entry/registry/Root + the component live in the workspace's
|
|
618
|
-
// `.cueframe/` cache and `<componentsDir>/`, which have NO node_modules of
|
|
619
|
-
// their own — a customer workspace won't install Remotion or the
|
|
620
|
-
// @cueframe/* packages. They are owned by the render env (`renderEntryRoot`), so
|
|
621
|
-
// anchor the module search there: every bundled bare specifier (`remotion`,
|
|
622
|
-
// `react`, `@cueframe/compose`, `zod`) resolves from renderEntryRoot/node_modules.
|
|
623
|
-
// Transitive deps then resolve from each package's realpath (webpack follows
|
|
624
|
-
// pnpm symlinks), identical to the in-tree spike bundle.
|
|
625
602
|
modules: [join5(renderEntryRoot, "node_modules"), ...config.resolve?.modules ?? ["node_modules"]],
|
|
626
603
|
alias: {
|
|
627
604
|
...config.resolve?.alias,
|
|
@@ -662,7 +639,6 @@ async function loadSandboxGlobals(renderEntryRoot) {
|
|
|
662
639
|
const webpackMod = await import(pathToFileURL(webpackEntry).href);
|
|
663
640
|
const webpack = webpackMod.default ?? webpackMod;
|
|
664
641
|
return {
|
|
665
|
-
// STATICALLY imported SSOT — esbuild inlines it (no runtime .ts spec import).
|
|
666
642
|
specs: SANDBOX_GLOBAL_SPECS,
|
|
667
643
|
animateNames,
|
|
668
644
|
webpack
|
|
@@ -714,7 +690,8 @@ async function renderComponentStill(opts) {
|
|
|
714
690
|
serveUrl,
|
|
715
691
|
id: LOCAL_COMPOSITION_ID,
|
|
716
692
|
inputProps,
|
|
717
|
-
browserExecutable
|
|
693
|
+
browserExecutable,
|
|
694
|
+
chromiumOptions: SOFTWARE_CHROMIUM_OPTIONS
|
|
718
695
|
});
|
|
719
696
|
const pngPath = join5(cacheDir(opts.ws), `still-${opts.id}.png`);
|
|
720
697
|
await renderStill({
|
|
@@ -724,13 +701,13 @@ async function renderComponentStill(opts) {
|
|
|
724
701
|
output: pngPath,
|
|
725
702
|
frame,
|
|
726
703
|
browserExecutable,
|
|
727
|
-
chromiumOptions:
|
|
704
|
+
chromiumOptions: SOFTWARE_CHROMIUM_OPTIONS,
|
|
728
705
|
timeoutInMilliseconds: 12e4
|
|
729
706
|
});
|
|
730
707
|
return { pngPath };
|
|
731
708
|
}
|
|
732
709
|
function alphaRenderConfig(codec) {
|
|
733
|
-
return codec === "prores" ? { codec: "prores", proResProfile: "4444", pixelFormat: "yuva444p10le", imageFormat: "png" } : { codec: "vp9", pixelFormat: "yuva420p", imageFormat: "png" };
|
|
710
|
+
return codec === "prores" ? { codec: "prores", proResProfile: "4444", pixelFormat: "yuva444p10le", imageFormat: "png", muted: true } : { codec: "vp9", pixelFormat: "yuva420p", imageFormat: "png", muted: true };
|
|
734
711
|
}
|
|
735
712
|
function alphaExt(codec) {
|
|
736
713
|
return codec === "prores" ? "mov" : "webm";
|
|
@@ -759,7 +736,8 @@ async function renderComponentAlpha(opts) {
|
|
|
759
736
|
serveUrl,
|
|
760
737
|
id: LOCAL_COMPOSITION_ID,
|
|
761
738
|
inputProps,
|
|
762
|
-
browserExecutable
|
|
739
|
+
browserExecutable,
|
|
740
|
+
chromiumOptions: SOFTWARE_CHROMIUM_OPTIONS
|
|
763
741
|
});
|
|
764
742
|
const videoPath = join5(cacheDir(opts.ws), `alpha-${opts.id}.${alphaExt(codec)}`);
|
|
765
743
|
await renderMedia({
|
|
@@ -769,7 +747,7 @@ async function renderComponentAlpha(opts) {
|
|
|
769
747
|
browserExecutable,
|
|
770
748
|
outputLocation: videoPath,
|
|
771
749
|
...alphaRenderConfig(codec),
|
|
772
|
-
chromiumOptions:
|
|
750
|
+
chromiumOptions: SOFTWARE_CHROMIUM_OPTIONS,
|
|
773
751
|
concurrency: 1
|
|
774
752
|
});
|
|
775
753
|
return { videoPath };
|
|
@@ -848,7 +826,13 @@ async function renderCardStill(opts) {
|
|
|
848
826
|
"@remotion/renderer"
|
|
849
827
|
);
|
|
850
828
|
const inputProps = { html: opts.html, cssVars: opts.cssVars ?? {} };
|
|
851
|
-
const composition = await selectComposition({
|
|
829
|
+
const composition = await selectComposition({
|
|
830
|
+
serveUrl,
|
|
831
|
+
id: CARD_COMPOSITION_ID,
|
|
832
|
+
inputProps,
|
|
833
|
+
browserExecutable,
|
|
834
|
+
chromiumOptions: SOFTWARE_CHROMIUM_OPTIONS
|
|
835
|
+
});
|
|
852
836
|
const pngPath = join6(opts.outDir, "card-still.png");
|
|
853
837
|
await renderStill({
|
|
854
838
|
composition,
|
|
@@ -857,7 +841,7 @@ async function renderCardStill(opts) {
|
|
|
857
841
|
output: pngPath,
|
|
858
842
|
frame,
|
|
859
843
|
browserExecutable,
|
|
860
|
-
chromiumOptions:
|
|
844
|
+
chromiumOptions: SOFTWARE_CHROMIUM_OPTIONS,
|
|
861
845
|
timeoutInMilliseconds: 12e4
|
|
862
846
|
});
|
|
863
847
|
return { pngPath };
|
|
@@ -888,8 +872,6 @@ import {
|
|
|
888
872
|
Easing,
|
|
889
873
|
} from 'remotion';
|
|
890
874
|
|
|
891
|
-
// The contract component, evaluated with the ambient scope above in module
|
|
892
|
-
// scope \u2014 the same identifiers the cloud sandbox injects.
|
|
893
875
|
const ContractComponent = (() => {
|
|
894
876
|
${transformed}
|
|
895
877
|
})();
|
|
@@ -961,7 +943,8 @@ async function renderContractFrames(opts) {
|
|
|
961
943
|
serveUrl,
|
|
962
944
|
id: CONTRACT_COMPOSITION_ID,
|
|
963
945
|
inputProps,
|
|
964
|
-
browserExecutable
|
|
946
|
+
browserExecutable,
|
|
947
|
+
chromiumOptions: SOFTWARE_CHROMIUM_OPTIONS
|
|
965
948
|
});
|
|
966
949
|
const pngPaths = [];
|
|
967
950
|
for (const frame of opts.frames) {
|
|
@@ -973,7 +956,7 @@ async function renderContractFrames(opts) {
|
|
|
973
956
|
output: pngPath,
|
|
974
957
|
frame,
|
|
975
958
|
browserExecutable,
|
|
976
|
-
chromiumOptions:
|
|
959
|
+
chromiumOptions: SOFTWARE_CHROMIUM_OPTIONS,
|
|
977
960
|
timeoutInMilliseconds: 12e4
|
|
978
961
|
});
|
|
979
962
|
pngPaths.push(pngPath);
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cueframe/kernel",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"description": "
|
|
5
|
+
"description": "Publish-only aggregate of CueFrame's isomorphic kernel packages — composition, primitives, authoring, MCP, and friends shipped as one npm artifact. Members remain separate workspace packages; this only changes what ships.",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
8
8
|
],
|
|
@@ -10,30 +10,33 @@
|
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"zod": "^3.25.74",
|
|
12
12
|
"immer": "^10.1.1",
|
|
13
|
-
"@noble/hashes": "^1.8.0"
|
|
13
|
+
"@noble/hashes": "^1.8.0",
|
|
14
|
+
"apca-w3": "^0.1.9",
|
|
15
|
+
"culori": "^4.0.2"
|
|
14
16
|
},
|
|
15
17
|
"devDependencies": {
|
|
16
18
|
"tsup": "^8.3.5",
|
|
17
19
|
"typescript": "^5.9.3",
|
|
18
20
|
"@cueframe/account-model": "0.1.0",
|
|
19
21
|
"@cueframe/animate": "0.1.0",
|
|
20
|
-
"@cueframe/authoring": "0.1.0",
|
|
21
|
-
"@cueframe/cloud-import": "0.1.0",
|
|
22
22
|
"@cueframe/brand-derivation": "0.1.0",
|
|
23
|
-
"@cueframe/
|
|
24
|
-
"@cueframe/
|
|
23
|
+
"@cueframe/cloud-import": "0.1.0",
|
|
24
|
+
"@cueframe/authoring": "0.1.0",
|
|
25
25
|
"@cueframe/composition-ops": "0.1.0",
|
|
26
|
-
"@cueframe/foundation": "0.1.0",
|
|
27
26
|
"@cueframe/compose": "0.1.0",
|
|
28
|
-
"@cueframe/
|
|
27
|
+
"@cueframe/composition": "0.1.0",
|
|
29
28
|
"@cueframe/mcp": "0.1.0",
|
|
29
|
+
"@cueframe/convex-api": "0.1.0",
|
|
30
|
+
"@cueframe/errors": "0.1.0",
|
|
31
|
+
"@cueframe/core": "0.1.0",
|
|
30
32
|
"@cueframe/media-model": "0.1.0",
|
|
33
|
+
"@cueframe/foundation": "0.1.0",
|
|
31
34
|
"@cueframe/perception": "0.1.0",
|
|
32
|
-
"@cueframe/
|
|
35
|
+
"@cueframe/render-harness": "0.1.0",
|
|
36
|
+
"@cueframe/director": "0.1.0",
|
|
33
37
|
"@cueframe/plane": "0.1.0",
|
|
34
|
-
"@cueframe/
|
|
35
|
-
"@cueframe/
|
|
36
|
-
"@cueframe/render-harness": "0.1.0"
|
|
38
|
+
"@cueframe/nle-export": "0.1.0",
|
|
39
|
+
"@cueframe/primitives": "0.1.0"
|
|
37
40
|
},
|
|
38
41
|
"peerDependencies": {
|
|
39
42
|
"convex": ">=1.42",
|
|
@@ -41,8 +44,6 @@
|
|
|
41
44
|
"react": "^19.0.0",
|
|
42
45
|
"react-dom": "^19.0.0",
|
|
43
46
|
"remotion": "4.0.429",
|
|
44
|
-
"apca-w3": "^0.1.9",
|
|
45
|
-
"culori": "^4.0.2",
|
|
46
47
|
"xmlbuilder2": "^3.1.1",
|
|
47
48
|
"@remotion/transitions": "4.0.429",
|
|
48
49
|
"@remotion/player": "4.0.429",
|
|
@@ -94,6 +95,10 @@
|
|
|
94
95
|
"types": "./dist/media-model.d.ts",
|
|
95
96
|
"default": "./dist/media-model.js"
|
|
96
97
|
},
|
|
98
|
+
"./media-model/generation": {
|
|
99
|
+
"types": "./dist/media-model/generation.d.ts",
|
|
100
|
+
"default": "./dist/media-model/generation.js"
|
|
101
|
+
},
|
|
97
102
|
"./media-model/media-kind": {
|
|
98
103
|
"types": "./dist/media-model/media-kind.d.ts",
|
|
99
104
|
"default": "./dist/media-model/media-kind.js"
|
|
@@ -499,6 +504,22 @@
|
|
|
499
504
|
"./convex-api/dataModel": {
|
|
500
505
|
"types": "./dist/convex-api/dataModel.d.ts",
|
|
501
506
|
"default": "./dist/convex-api/dataModel.js"
|
|
507
|
+
},
|
|
508
|
+
"./director": {
|
|
509
|
+
"types": "./dist/director.d.ts",
|
|
510
|
+
"default": "./dist/director.js"
|
|
511
|
+
},
|
|
512
|
+
"./director/domain": {
|
|
513
|
+
"types": "./dist/director/domain.d.ts",
|
|
514
|
+
"default": "./dist/director/domain.js"
|
|
515
|
+
},
|
|
516
|
+
"./director/ai-sdk": {
|
|
517
|
+
"types": "./dist/director/ai-sdk.d.ts",
|
|
518
|
+
"default": "./dist/director/ai-sdk.js"
|
|
519
|
+
},
|
|
520
|
+
"./director/testing": {
|
|
521
|
+
"types": "./dist/director/testing.d.ts",
|
|
522
|
+
"default": "./dist/director/testing.js"
|
|
502
523
|
}
|
|
503
524
|
},
|
|
504
525
|
"peerDependenciesMeta": {
|
|
@@ -517,12 +538,6 @@
|
|
|
517
538
|
"convex-helpers": {
|
|
518
539
|
"optional": true
|
|
519
540
|
},
|
|
520
|
-
"apca-w3": {
|
|
521
|
-
"optional": true
|
|
522
|
-
},
|
|
523
|
-
"culori": {
|
|
524
|
-
"optional": true
|
|
525
|
-
},
|
|
526
541
|
"xmlbuilder2": {
|
|
527
542
|
"optional": true
|
|
528
543
|
},
|
|
@@ -596,6 +611,7 @@
|
|
|
596
611
|
"publishConfig": {
|
|
597
612
|
"access": "public"
|
|
598
613
|
},
|
|
614
|
+
"author": "CueFrame Inc.",
|
|
599
615
|
"scripts": {
|
|
600
616
|
"build": "node ../../tools/build-aggregate.mjs kernel"
|
|
601
617
|
}
|
package/dist/chunk-6EQXLEP6.js
DELETED
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EntityId,
|
|
3
|
-
ISODateTime,
|
|
4
|
-
NonEmptyString
|
|
5
|
-
} from "./chunk-XELS2BGA.js";
|
|
6
|
-
|
|
7
|
-
// ../data-models/account-model/src/validators/userSettings.ts
|
|
8
|
-
import { z } from "zod";
|
|
9
|
-
var UserSettings = z.object({
|
|
10
|
-
id: EntityId("userSettings"),
|
|
11
|
-
userId: NonEmptyString,
|
|
12
|
-
enableUnderstanding: z.boolean().optional(),
|
|
13
|
-
activeBrandKitId: EntityId("brandKits").optional()
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
// ../data-models/account-model/src/validators/conversation.ts
|
|
17
|
-
import { z as z2 } from "zod";
|
|
18
|
-
var ConversationProject = z2.object({
|
|
19
|
-
id: NonEmptyString,
|
|
20
|
-
home: z2.enum(["local", "cloud"])
|
|
21
|
-
});
|
|
22
|
-
var Conversation = z2.object({
|
|
23
|
-
id: EntityId("conversations"),
|
|
24
|
-
/**
|
|
25
|
-
* THE THREAD'S IDENTITY, and the app is the one that mints it.
|
|
26
|
-
*
|
|
27
|
-
* A conversation exists in the client before any store has seen it: the
|
|
28
|
-
* Director opens a chat, the user types, and only when the turn ends does a
|
|
29
|
-
* row get written. So the id that names a thread has to be one the client
|
|
30
|
-
* chose (`conv_<nanoid>`), not one a store assigns — otherwise the first
|
|
31
|
-
* save is an INSERT under a name the client cannot predict, the client keeps
|
|
32
|
-
* using its own name, and every subsequent save inserts again. That is
|
|
33
|
-
* exactly what web did until 2026-08-17: an N-turn conversation became N
|
|
34
|
-
* rows, and Delete silently deleted nothing because the id the user's
|
|
35
|
-
* sidebar held had never named a document.
|
|
36
|
-
*
|
|
37
|
-
* The desktop always had this right — sqlite is an `INSERT OR REPLACE` keyed
|
|
38
|
-
* on the client id. This field makes the org's store agree, via a unique
|
|
39
|
-
* lookup on `by_userId_clientId`: writes are an upsert on the id the app
|
|
40
|
-
* chose, and Convex's `_id` goes back to being an internal detail nobody
|
|
41
|
-
* outside this table ever sees or stores.
|
|
42
|
-
*/
|
|
43
|
-
clientId: NonEmptyString,
|
|
44
|
-
userId: NonEmptyString,
|
|
45
|
-
title: NonEmptyString,
|
|
46
|
-
/**
|
|
47
|
-
* The project whose media, timeline and history this thread's turns are
|
|
48
|
-
* about. ABSENT is a meaning — a workspace thread, started on a surface with
|
|
49
|
-
* no project open — not a missing value: such a thread belongs to the user's
|
|
50
|
-
* workspace and survives every project switch precisely because it names no
|
|
51
|
-
* project. It is `optional` rather than nullable because rows written before
|
|
52
|
-
* the field existed have no project recorded, and nothing may invent one for
|
|
53
|
-
* them.
|
|
54
|
-
*/
|
|
55
|
-
project: ConversationProject.optional(),
|
|
56
|
-
/**
|
|
57
|
-
* When the thread was STARTED — supplied by the app, kept by the store.
|
|
58
|
-
*
|
|
59
|
-
* Stored rather than read off Convex's `_creationTime`, which is when the
|
|
60
|
-
* DOCUMENT was inserted and not when the conversation began. Those are the
|
|
61
|
-
* same moment for a thread born in the cloud and very different for one that
|
|
62
|
-
* arrives there later: moving a project to the cloud re-homes its threads
|
|
63
|
-
* (`adoptIntoProject`), and a months-old conversation would have shown up
|
|
64
|
-
* dated today. The desktop has always stored the app's value; this is the
|
|
65
|
-
* org's store agreeing, and it is what lets the same thread report the same
|
|
66
|
-
* age on both sides of a move.
|
|
67
|
-
*
|
|
68
|
-
* Immutable after the first write on both stores — a thread's age is a fact
|
|
69
|
-
* about the thread, not about its most recent turn.
|
|
70
|
-
*/
|
|
71
|
-
createdAt: ISODateTime,
|
|
72
|
-
/**
|
|
73
|
-
* When the thread last had a turn — the key the history list sorts on.
|
|
74
|
-
*
|
|
75
|
-
* Stored rather than derived because the two things a store can offer for
|
|
76
|
-
* free are both wrong: Convex's `_creationTime` is when the thread STARTED
|
|
77
|
-
* (so a months-old thread the user just added a turn to sorts to the bottom,
|
|
78
|
-
* which is the opposite of what a history list is for), and a patch does not
|
|
79
|
-
* move it. The desktop has ordered by `updated_at DESC` since migration 015;
|
|
80
|
-
* this is the org's store agreeing.
|
|
81
|
-
*/
|
|
82
|
-
updatedAt: ISODateTime,
|
|
83
|
-
/** JSON-encoded array of UI messages (role + content). */
|
|
84
|
-
messages: z2.string()
|
|
85
|
-
});
|
|
86
|
-
|
|
87
|
-
// ../data-models/account-model/src/validators/uploadToken.ts
|
|
88
|
-
import { z as z3 } from "zod";
|
|
89
|
-
var UploadTokenScope = z3.enum(["tus", "companion"]);
|
|
90
|
-
var UploadToken = z3.object({
|
|
91
|
-
id: EntityId("uploadTokens"),
|
|
92
|
-
token: NonEmptyString,
|
|
93
|
-
userId: NonEmptyString,
|
|
94
|
-
projectId: EntityId("projects").optional(),
|
|
95
|
-
orgId: NonEmptyString.optional(),
|
|
96
|
-
scope: UploadTokenScope.optional(),
|
|
97
|
-
expiresAt: ISODateTime
|
|
98
|
-
});
|
|
99
|
-
|
|
100
|
-
// ../data-models/account-model/src/validators/contextFile.ts
|
|
101
|
-
import { z as z4 } from "zod";
|
|
102
|
-
var ContextFile = z4.object({
|
|
103
|
-
id: EntityId("contextFiles"),
|
|
104
|
-
orgId: NonEmptyString,
|
|
105
|
-
userId: NonEmptyString,
|
|
106
|
-
filename: NonEmptyString,
|
|
107
|
-
content: z4.string(),
|
|
108
|
-
generatedFrom: z4.array(NonEmptyString),
|
|
109
|
-
version: z4.number().int().nonnegative(),
|
|
110
|
-
updatedAt: ISODateTime
|
|
111
|
-
});
|
|
112
|
-
|
|
113
|
-
// ../data-models/account-model/src/validators/dashboardInsight.ts
|
|
114
|
-
import { z as z5 } from "zod";
|
|
115
|
-
var DashboardInsight = z5.object({
|
|
116
|
-
id: EntityId("dashboardInsights"),
|
|
117
|
-
orgId: NonEmptyString,
|
|
118
|
-
/** Hash of the input set that produced this snapshot (cache key). */
|
|
119
|
-
sourceHash: NonEmptyString,
|
|
120
|
-
heroInsight: NonEmptyString,
|
|
121
|
-
contentSuggestions: z5.array(NonEmptyString),
|
|
122
|
-
generatedAt: ISODateTime
|
|
123
|
-
});
|
|
124
|
-
|
|
125
|
-
// ../data-models/account-model/src/validators/sessionToken.ts
|
|
126
|
-
import { z as z6 } from "zod";
|
|
127
|
-
var SessionTokenScope = z6.enum(["session-read"]);
|
|
128
|
-
var SessionToken = z6.object({
|
|
129
|
-
id: EntityId("sessionTokens"),
|
|
130
|
-
token: NonEmptyString,
|
|
131
|
-
sessionId: NonEmptyString,
|
|
132
|
-
projectId: EntityId("projects"),
|
|
133
|
-
orgId: NonEmptyString,
|
|
134
|
-
scope: SessionTokenScope,
|
|
135
|
-
expiresAt: ISODateTime,
|
|
136
|
-
// ── Session-state (the token row IS the session row; cleanup-dominant) ──
|
|
137
|
-
/** The warm sandbox this session is bound to, set once it's created. The
|
|
138
|
-
* session reconnects by this id (provider.get) per render — the platform-native
|
|
139
|
-
* persistent-resource pattern. */
|
|
140
|
-
sandboxId: NonEmptyString.optional(),
|
|
141
|
-
/** Epoch-ms when the warm box became ready (stamped alongside `sandboxId`). The
|
|
142
|
-
* billable-uptime clock start — `closeSession` bills `compose_session_minutes`
|
|
143
|
-
* from here. Absent = the box never booted, so nothing to bill. Stored as a raw
|
|
144
|
-
* number (epoch-ms) like `expiresAt`, for cheap arithmetic. */
|
|
145
|
-
readyAt: z6.number().optional(),
|
|
146
|
-
/** The `_scheduled_functions` id of the pending durable auto-close
|
|
147
|
-
* (`ctx.scheduler.runAfter`). Cancelled + rescheduled on activity (keep-alive),
|
|
148
|
-
* fired on idle to reap the sandbox — crash-proof cleanup, not durability. */
|
|
149
|
-
scheduledCloseId: NonEmptyString.optional(),
|
|
150
|
-
/** The session-scoped SCRATCH composition (a derived sibling of the project's
|
|
151
|
-
* active composition). Author-ops during the session mutate THIS row, never
|
|
152
|
-
* active; `promoteScratch` commits it and `closeSession` discards it. Absent
|
|
153
|
-
* until the session derives one (or the project had no active to derive from). */
|
|
154
|
-
scratchCompositionId: EntityId("compositions").optional(),
|
|
155
|
-
/** SERVER-owned evidence box (the sessionless score/preview ops). Managed
|
|
156
|
-
* sessions bill per-op only (uptime metering skips them — flat per-op is the
|
|
157
|
-
* public contract), run a SHORT idle TTL, never mint a scratch composition,
|
|
158
|
-
* and are the only rows the managed resolver may reuse or evict. */
|
|
159
|
-
managed: z6.boolean().optional(),
|
|
160
|
-
/** Async-evidence lease: the jobId currently staging/judging on this box. A
|
|
161
|
-
* second evidence op on the same box while the lease is live gets 409
|
|
162
|
-
* box_busy instead of silently bumping the working-composition version out
|
|
163
|
-
* from under the in-flight judge. Cleared at the job terminal; expiry is the
|
|
164
|
-
* crash backstop. */
|
|
165
|
-
leaseJobId: NonEmptyString.optional(),
|
|
166
|
-
leaseExpiresAt: z6.number().optional()
|
|
167
|
-
});
|
|
168
|
-
|
|
169
|
-
// ../data-models/account-model/src/validators/workingComposition.ts
|
|
170
|
-
import { z as z7 } from "zod";
|
|
171
|
-
var WorkingComposition = z7.object({
|
|
172
|
-
id: EntityId("workingCompositions"),
|
|
173
|
-
sessionId: NonEmptyString,
|
|
174
|
-
projectId: EntityId("projects"),
|
|
175
|
-
orgId: NonEmptyString,
|
|
176
|
-
// Wire composition stored loose (mirrors compositionRuns.composition v.any()).
|
|
177
|
-
composition: z7.unknown(),
|
|
178
|
-
// Monotonic per-session edit counter — the read-your-writes handshake key.
|
|
179
|
-
version: z7.number(),
|
|
180
|
-
updatedAt: z7.number()
|
|
181
|
-
});
|
|
182
|
-
|
|
183
|
-
export {
|
|
184
|
-
UserSettings,
|
|
185
|
-
ConversationProject,
|
|
186
|
-
Conversation,
|
|
187
|
-
UploadTokenScope,
|
|
188
|
-
UploadToken,
|
|
189
|
-
ContextFile,
|
|
190
|
-
DashboardInsight,
|
|
191
|
-
SessionTokenScope,
|
|
192
|
-
SessionToken,
|
|
193
|
-
WorkingComposition
|
|
194
|
-
};
|