@cueframe/kernel 0.0.1 → 0.1.1
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/LICENSE +661 -0
- package/dist/_members/account-model/testing/conversationStoreContract.d.ts +1 -1
- package/dist/_members/authoring/providers/resourceApi.d.ts +1 -1
- package/dist/_members/authoring/transpileComponent.d.ts +1 -1
- package/dist/_members/cloud-import/CloudImportService.d.ts +35 -0
- package/dist/_members/cloud-import/ImportProvider.d.ts +73 -0
- package/dist/_members/cloud-import/MediaItemPreprocessor.d.ts +27 -0
- package/dist/_members/cloud-import/cloudConfig.d.ts +23 -0
- package/dist/_members/cloud-import/index.d.ts +9 -0
- package/dist/_members/cloud-import/multipartUpload.d.ts +12 -0
- package/dist/_members/composition/ops/compositionOps.d.ts +2 -1
- package/dist/_members/composition/ops/types.d.ts +1 -1
- package/dist/_members/composition/projection/behind-readiness.d.ts +127 -0
- package/dist/_members/composition/projection/index.d.ts +2 -0
- package/dist/_members/composition/projection/reframe-readiness.d.ts +156 -0
- package/dist/_members/composition/timeline/placement.d.ts +1 -1
- package/dist/_members/composition/validators/composition.d.ts +43 -26
- package/dist/_members/composition/validators/render.d.ts +32 -0
- package/dist/_members/composition-ops/index.d.ts +1 -1
- package/dist/_members/composition-ops/opRecorder.d.ts +1 -1
- package/dist/_members/convex-api/api.d.ts +5 -0
- package/dist/_members/convex-api/dataModel.d.ts +6 -0
- package/dist/_members/core/render/compositionRender.d.ts +17 -1
- package/dist/_members/core/render/exportSettings.d.ts +1 -1
- package/dist/_members/core/render/types.d.ts +31 -0
- package/dist/_members/mcp/curation.d.ts +1 -1
- package/dist/_members/plane/conformance.d.ts +1 -1
- package/dist/_members/render-harness/localRender.d.ts +1 -1
- package/dist/animate.js +828 -79187
- package/dist/authoring/build-tools.js +8 -11
- package/dist/authoring/context.js +5 -5
- package/dist/authoring/models.js +1 -2
- package/dist/authoring/prompts.js +1 -1
- package/dist/authoring/tools.js +7 -7
- package/dist/authoring/transpileComponent.js +3 -2220
- package/dist/authoring.js +30 -30
- package/dist/brand-derivation.js +1 -1
- package/dist/chunk-6IU2UQI5.js +107 -0
- package/dist/{chunk-5I7VDCAC.js → chunk-7FO3ZJ43.js} +4 -1
- package/dist/{chunk-N67PDTKQ.js → chunk-ABL557OT.js} +1 -1
- package/dist/{chunk-MC5DLSEV.js → chunk-AP6ZIVAV.js} +15 -15
- package/dist/{chunk-QLAQHR3L.js → chunk-AQBREB5O.js} +1 -1
- package/dist/{chunk-DSNG6WLU.js → chunk-AYVJXDLB.js} +1 -4
- package/dist/{chunk-6CMVBTTP.js → chunk-DK2ODBNT.js} +19 -9
- package/dist/chunk-DSMLHYJ4.js +82 -0
- package/dist/{chunk-BRKJKB33.js → chunk-FYZVH3MC.js} +1 -1
- package/dist/{chunk-MVEE6HEC.js → chunk-GA23TRNR.js} +5 -7
- package/dist/chunk-HCCBDJLW.js +68 -0
- package/dist/{chunk-JRQVPFLF.js → chunk-HY3RIEZW.js} +1 -1
- package/dist/{chunk-OIRUO5P7.js → chunk-JJ6XD7NG.js} +152 -2
- package/dist/{_members/primitives/chunk-IDAL6G3Y.js → chunk-JQMPHKLU.js} +19 -27
- package/dist/{chunk-G3PBH53P.js → chunk-MBCXCJOE.js} +1 -1
- package/dist/{chunk-UEI3NLNK.js → chunk-MHOQTPOB.js} +1 -4
- package/dist/{chunk-37NJ27UU.js → chunk-OCFDUCF4.js} +3 -0
- package/dist/{chunk-WZTTZHNR.js → chunk-OLFOPQCA.js} +12 -9
- package/dist/{chunk-P43IE4WB.js → chunk-P727GZVO.js} +2 -4
- package/dist/{chunk-52AHXNKM.js → chunk-PDYO3DOJ.js} +5 -5
- package/dist/{chunk-S3P5BFFL.js → chunk-PMY24FUD.js} +2 -4
- package/dist/{chunk-ATAF24QG.js → chunk-PODIYN2K.js} +10 -3
- package/dist/chunk-RF7U3SCL.js +606 -0
- package/dist/{chunk-JD77Y2WM.js → chunk-SW336CJP.js} +1 -4
- package/dist/{chunk-TULRCY6U.js → chunk-TOJEXFXL.js} +1 -1
- package/dist/{chunk-ELLSET2N.js → chunk-UHGSZZDI.js} +3 -6
- package/dist/{chunk-M3I5LMAB.js → chunk-UY4SWJVE.js} +1 -1
- package/dist/{chunk-6QJ3V3VS.js → chunk-YX2GSJK7.js} +1 -1
- package/dist/chunk-ZT7MHRQU.js +104 -0
- package/dist/{chunk-NV4I6GJV.js → chunk-ZWMV6DD2.js} +27 -4
- package/dist/cloud-import/multipart.d.ts +1 -0
- package/dist/cloud-import/multipart.js +8 -0
- package/dist/cloud-import.d.ts +1 -0
- package/dist/cloud-import.js +234 -0
- package/dist/compose/renderer.js +19 -22
- package/dist/compose.js +19 -22
- package/dist/composition/graphics-plan.js +3 -3
- package/dist/composition/ops.js +4 -4
- package/dist/composition/primitive-catalog.js +1 -1
- package/dist/composition/projection.js +21 -5
- package/dist/composition/validators.js +6 -4
- package/dist/composition-ops.js +15 -13
- package/dist/composition.js +26 -8
- package/dist/{context-CEAKQ5T7.js → context-YWUZDG5X.js} +5 -5
- package/dist/convex-api/dataModel.d.ts +1 -0
- package/dist/convex-api/dataModel.js +0 -0
- package/dist/convex-api.d.ts +1 -0
- package/dist/convex-api.js +8 -0
- package/dist/core/render.js +3 -3
- package/dist/core/select.js +2 -2
- package/dist/core.js +3 -3
- package/dist/errors.js +1 -1
- package/dist/mcp/adapter.js +2 -5
- package/dist/mcp/server.js +1 -2
- package/dist/mcp.js +2 -95
- package/dist/media-model/media-kind.js +9 -98
- package/dist/media-model/testing.js +1071 -718
- package/dist/nle-export/server.js +328 -130
- package/dist/nle-export/xml.js +5 -22799
- package/dist/nle-export.js +20 -22
- package/dist/primitives/backgrounds.js +2 -3
- package/dist/primitives/captions.js +4 -243
- package/dist/primitives/effects.js +2 -3
- package/dist/primitives/hero-text.js +2 -3
- package/dist/primitives/layouts.js +2 -3
- package/dist/primitives/lib/index.js +8 -10
- package/dist/primitives/lib/preview.js +1 -2
- package/dist/primitives/lib/schema.js +1 -2
- package/dist/primitives/lib/text/fitText.js +1 -2
- package/dist/primitives/lib.js +8 -10
- package/dist/primitives/scenes.js +1 -2
- package/dist/primitives/text.js +2 -3
- package/dist/primitives/ui-blocks.js +4 -5
- package/dist/primitives.js +19 -21
- package/package.json +125 -16
- package/dist/TextureLoader-UQOFUSAP.js +0 -422
- package/dist/VideoTexture-AQWSPIJG.js +0 -62
- package/dist/_members/account-model/index.js +0 -4
- package/dist/_members/account-model/testing/conversationStoreContract.js +0 -168
- package/dist/_members/account-model/testing/index.js +0 -7
- package/dist/_members/account-model/testing/restorePointStoreContract.js +0 -69
- package/dist/_members/account-model/types/index.js +0 -1
- package/dist/_members/account-model/validators/contextFile.js +0 -18
- package/dist/_members/account-model/validators/conversation.js +0 -95
- package/dist/_members/account-model/validators/dashboardInsight.js +0 -16
- package/dist/_members/account-model/validators/index.js +0 -7
- package/dist/_members/account-model/validators/sessionToken.js +0 -49
- package/dist/_members/account-model/validators/uploadToken.js +0 -16
- package/dist/_members/account-model/validators/userSettings.js +0 -12
- package/dist/_members/account-model/validators/workingComposition.js +0 -20
- package/dist/_members/brand-derivation/constants.js +0 -20
- package/dist/_members/brand-derivation/contrastSafe.js +0 -114
- package/dist/_members/brand-derivation/index.js +0 -1
- package/dist/_members/composition/audio/audioMix.js +0 -61
- package/dist/_members/composition/audio/index.js +0 -5
- package/dist/_members/composition/audio/mixStaging.js +0 -195
- package/dist/_members/composition/audio/musicPack.generated.js +0 -136
- package/dist/_members/composition/audio/musicPack.js +0 -36
- package/dist/_members/composition/audio/pack.generated.js +0 -603
- package/dist/_members/composition/audio/pack.js +0 -48
- package/dist/_members/composition/audio/palette.js +0 -134
- package/dist/_members/composition/autozoom/index.js +0 -83
- package/dist/_members/composition/brand-kit.js +0 -45
- package/dist/_members/composition/brief/contract.js +0 -209
- package/dist/_members/composition/color-grade.js +0 -80
- package/dist/_members/composition/depth.js +0 -8
- package/dist/_members/composition/fixtures/index.js +0 -143
- package/dist/_members/composition/fixtures/vaayaErrored.d.ts +0 -25
- package/dist/_members/composition/fixtures/vaayaErrored.js +0 -203
- package/dist/_members/composition/fonts.js +0 -162
- package/dist/_members/composition/graphics-plan/compile.js +0 -221
- package/dist/_members/composition/graphics-plan/index.js +0 -10
- package/dist/_members/composition/graphics-plan/instantiateMotif.js +0 -44
- package/dist/_members/composition/graphics-plan/motion.js +0 -66
- package/dist/_members/composition/graphics-plan/schemas.js +0 -261
- package/dist/_members/composition/graphics-plan/solve.js +0 -145
- package/dist/_members/composition/index.js +0 -5
- package/dist/_members/composition/invariants/clipPlacement.js +0 -69
- package/dist/_members/composition/invariants/composition.js +0 -28
- package/dist/_members/composition/invariants/errors.js +0 -10
- package/dist/_members/composition/invariants/etag.js +0 -38
- package/dist/_members/composition/invariants/ids.js +0 -33
- package/dist/_members/composition/invariants/index.js +0 -9
- package/dist/_members/composition/invariants/keyframes.js +0 -45
- package/dist/_members/composition/invariants/markers.js +0 -29
- package/dist/_members/composition/invariants/time.js +0 -20
- package/dist/_members/composition/invariants/tracks.js +0 -304
- package/dist/_members/composition/ops/compositionOps.js +0 -1056
- package/dist/_members/composition/ops/headlessStore.js +0 -94
- package/dist/_members/composition/ops/index.js +0 -4
- package/dist/_members/composition/ops/selectors.js +0 -118
- package/dist/_members/composition/ops/timeline-word.js +0 -1
- package/dist/_members/composition/ops/transcript.js +0 -77
- package/dist/_members/composition/ops/types.js +0 -16
- package/dist/_members/composition/primitive-catalog/catalogQuery.js +0 -150
- package/dist/_members/composition/primitive-catalog/disabled.js +0 -32
- package/dist/_members/composition/primitive-catalog/generated/meta.js +0 -15161
- package/dist/_members/composition/primitive-catalog/index.js +0 -46
- package/dist/_members/composition/primitive-catalog/paramValidation.js +0 -231
- package/dist/_members/composition/primitive-catalog/projection.js +0 -164
- package/dist/_members/composition/primitive-catalog/types.js +0 -14
- package/dist/_members/composition/projection/behind-placement.js +0 -62
- package/dist/_members/composition/projection/brandKit.js +0 -482
- package/dist/_members/composition/projection/cardTokens.js +0 -209
- package/dist/_members/composition/projection/composition-floor.js +0 -582
- package/dist/_members/composition/projection/cropProjection.js +0 -257
- package/dist/_members/composition/projection/index.js +0 -7
- package/dist/_members/composition/projection/occlusion-budget.js +0 -104
- package/dist/_members/composition/projection/safe-zones.js +0 -99
- package/dist/_members/composition/reframe/aspectLoss.js +0 -115
- package/dist/_members/composition/reframe/coverage.js +0 -62
- package/dist/_members/composition/reframe/derive.js +0 -73
- package/dist/_members/composition/reframe/index.js +0 -109
- package/dist/_members/composition/reframe/kenBurns.js +0 -64
- package/dist/_members/composition/reframe/shotScale.js +0 -176
- package/dist/_members/composition/reframe/trajectory.js +0 -124
- package/dist/_members/composition/timeline/compound.js +0 -134
- package/dist/_members/composition/timeline/index.js +0 -9
- package/dist/_members/composition/timeline/intent.js +0 -228
- package/dist/_members/composition/timeline/keyframes.js +0 -121
- package/dist/_members/composition/timeline/link.js +0 -59
- package/dist/_members/composition/timeline/occupancy.js +0 -36
- package/dist/_members/composition/timeline/placement.js +0 -74
- package/dist/_members/composition/timeline/plan.js +0 -31
- package/dist/_members/composition/timeline/resolve.js +0 -170
- package/dist/_members/composition/timeline/trims.js +0 -278
- package/dist/_members/composition/types/index.js +0 -1
- package/dist/_members/composition/validators/brandKit.js +0 -295
- package/dist/_members/composition/validators/composePlan.js +0 -113
- package/dist/_members/composition/validators/composition.js +0 -703
- package/dist/_members/composition/validators/font.js +0 -34
- package/dist/_members/composition/validators/graphicKinds.js +0 -30
- package/dist/_members/composition/validators/index.js +0 -9
- package/dist/_members/composition/validators/project.js +0 -29
- package/dist/_members/composition/validators/registry.js +0 -41
- package/dist/_members/composition/validators/render.js +0 -139
- package/dist/_members/composition/validators/session.js +0 -37
- package/dist/_members/composition/validators/webhook.js +0 -72
- package/dist/_members/composition-ops/alphaLayers.js +0 -141
- package/dist/_members/composition-ops/index.js +0 -637
- package/dist/_members/composition-ops/materializeGrid.js +0 -99
- package/dist/_members/composition-ops/opRecorder.js +0 -196
- package/dist/_members/composition-ops/recordingStore.js +0 -14
- package/dist/_members/composition-ops/replaceRegion.js +0 -102
- package/dist/_members/composition-ops/testFixtures.js +0 -19
- package/dist/_members/core/index.js +0 -5
- package/dist/_members/core/render/bookends.js +0 -53
- package/dist/_members/core/render/captions.js +0 -127
- package/dist/_members/core/render/compositionRender.js +0 -1249
- package/dist/_members/core/render/deriveTrajectory.js +0 -889
- package/dist/_members/core/render/emphasis.js +0 -16
- package/dist/_members/core/render/eval/cropBox.js +0 -139
- package/dist/_members/core/render/eval/inclusion.js +0 -96
- package/dist/_members/core/render/eval/index.js +0 -146
- package/dist/_members/core/render/eval/metrics.js +0 -94
- package/dist/_members/core/render/exportSettings.js +0 -65
- package/dist/_members/core/render/index.js +0 -20
- package/dist/_members/core/render/mapFaceToPerson.js +0 -73
- package/dist/_members/core/render/types.js +0 -8
- package/dist/_members/core/render/vcam/cameraPath.js +0 -248
- package/dist/_members/core/render/vcam/constants.js +0 -115
- package/dist/_members/core/render/vcam/errorCodes.js +0 -39
- package/dist/_members/core/render/vcam/framing.js +0 -136
- package/dist/_members/core/render/vcam/requiredRegion.js +0 -137
- package/dist/_members/core/render/vcam/shots.js +0 -53
- package/dist/_members/core/render/vcam/subjectSet.js +0 -388
- package/dist/_members/core/select/errorCodes.js +0 -38
- package/dist/_members/core/select/index.js +0 -26
- package/dist/_members/core/select/model.js +0 -18
- package/dist/_members/core/select/select.js +0 -244
- package/dist/_members/core/select/stabilize.js +0 -242
- package/dist/_members/core/types.js +0 -7
- package/dist/_members/errors/index.js +0 -1
- package/dist/_members/errors/registry.js +0 -560
- package/dist/_members/foundation/codes/index.js +0 -31
- package/dist/_members/foundation/index.js +0 -2
- package/dist/_members/foundation/primitives/index.js +0 -5
- package/dist/_members/mcp/adapter.js +0 -771
- package/dist/_members/mcp/burnedNames.js +0 -73
- package/dist/_members/mcp/core.js +0 -390
- package/dist/_members/mcp/curation.js +0 -792
- package/dist/_members/mcp/executor.js +0 -142
- package/dist/_members/mcp/format.js +0 -9
- package/dist/_members/mcp/generated/catalogPreviews.js +0 -95
- package/dist/_members/mcp/generated/harness.js +0 -81
- package/dist/_members/mcp/generated/operations.js +0 -131
- package/dist/_members/mcp/index.js +0 -50
- package/dist/_members/mcp/internalLoopTools.js +0 -109
- package/dist/_members/mcp/prompts.js +0 -45
- package/dist/_members/mcp/resources.js +0 -166
- package/dist/_members/mcp/server.js +0 -340
- package/dist/_members/mcp/wait.js +0 -378
- package/dist/_members/mcp/x402Meta.js +0 -66
- package/dist/_members/media-model/api.js +0 -175
- package/dist/_members/media-model/index.js +0 -1
- package/dist/_members/media-model/media-kind.js +0 -116
- package/dist/_members/media-model/testing/index.js +0 -1
- package/dist/_members/media-model/testing/mediaStoreContract.js +0 -82
- package/dist/_members/media-model/transcriptSearch.js +0 -70
- package/dist/_members/media-model/transcriptSearchCases.json +0 -79
- package/dist/_members/nle-export/compact-timeline.js +0 -73
- package/dist/_members/nle-export/compact-timeline.js.map +0 -1
- package/dist/_members/nle-export/composition-to-input.js +0 -147
- package/dist/_members/nle-export/composition-to-input.js.map +0 -1
- package/dist/_members/nle-export/fcpxml.js +0 -159
- package/dist/_members/nle-export/fcpxml.js.map +0 -1
- package/dist/_members/nle-export/index.js +0 -12
- package/dist/_members/nle-export/index.js.map +0 -1
- package/dist/_members/nle-export/premiere.js +0 -161
- package/dist/_members/nle-export/premiere.js.map +0 -1
- package/dist/_members/nle-export/server/index.js +0 -2
- package/dist/_members/nle-export/server/index.js.map +0 -1
- package/dist/_members/nle-export/server/pack-zip.js +0 -38
- package/dist/_members/nle-export/server/pack-zip.js.map +0 -1
- package/dist/_members/nle-export/srt.js +0 -50
- package/dist/_members/nle-export/srt.js.map +0 -1
- package/dist/_members/nle-export/types.js +0 -9
- package/dist/_members/nle-export/types.js.map +0 -1
- package/dist/_members/nle-export/xml/index.js +0 -11
- package/dist/_members/nle-export/xml/index.js.map +0 -1
- package/dist/_members/nle-export/xml-utils.js +0 -48
- package/dist/_members/nle-export/xml-utils.js.map +0 -1
- package/dist/_members/perception/activeSpeaker.js +0 -103
- package/dist/_members/perception/audioQuality.js +0 -76
- package/dist/_members/perception/energyBeat.js +0 -99
- package/dist/_members/perception/identityMatch.js +0 -91
- package/dist/_members/perception/index.js +0 -48
- package/dist/_members/perception/visualQuality.js +0 -95
- package/dist/_members/plane/conformance.js +0 -90
- package/dist/_members/plane/contract.js +0 -49
- package/dist/_members/plane/index.js +0 -16
- package/dist/_members/primitives/backgrounds/index.js +0 -32
- package/dist/_members/primitives/backgrounds/index.js.map +0 -1
- package/dist/_members/primitives/captions/index.js +0 -398
- package/dist/_members/primitives/captions/index.js.map +0 -1
- package/dist/_members/primitives/chunk-2LVE4UIT.js +0 -139
- package/dist/_members/primitives/chunk-2LVE4UIT.js.map +0 -1
- package/dist/_members/primitives/chunk-3IQUH6KK.js +0 -20
- package/dist/_members/primitives/chunk-3IQUH6KK.js.map +0 -1
- package/dist/_members/primitives/chunk-3OMURV6Q.js +0 -112
- package/dist/_members/primitives/chunk-3OMURV6Q.js.map +0 -1
- package/dist/_members/primitives/chunk-4IS6TMEG.js +0 -21
- package/dist/_members/primitives/chunk-4IS6TMEG.js.map +0 -1
- package/dist/_members/primitives/chunk-5MWGAEGQ.js +0 -1644
- package/dist/_members/primitives/chunk-5MWGAEGQ.js.map +0 -1
- package/dist/_members/primitives/chunk-7RRPFPQK.js +0 -15
- package/dist/_members/primitives/chunk-7RRPFPQK.js.map +0 -1
- package/dist/_members/primitives/chunk-DH5TRZK2.js +0 -125
- package/dist/_members/primitives/chunk-DH5TRZK2.js.map +0 -1
- package/dist/_members/primitives/chunk-E3KNUSFG.js +0 -2337
- package/dist/_members/primitives/chunk-E3KNUSFG.js.map +0 -1
- package/dist/_members/primitives/chunk-G2B3G4HK.js +0 -47
- package/dist/_members/primitives/chunk-G2B3G4HK.js.map +0 -1
- package/dist/_members/primitives/chunk-HFPFGZXT.js +0 -1494
- package/dist/_members/primitives/chunk-HFPFGZXT.js.map +0 -1
- package/dist/_members/primitives/chunk-HIWVFZVH.js +0 -19
- package/dist/_members/primitives/chunk-HIWVFZVH.js.map +0 -1
- package/dist/_members/primitives/chunk-IDAL6G3Y.js.map +0 -1
- package/dist/_members/primitives/chunk-KNC6JP5F.js +0 -34
- package/dist/_members/primitives/chunk-KNC6JP5F.js.map +0 -1
- package/dist/_members/primitives/chunk-KYRDVZST.js +0 -459
- package/dist/_members/primitives/chunk-KYRDVZST.js.map +0 -1
- package/dist/_members/primitives/chunk-LWLHS2NS.js +0 -3410
- package/dist/_members/primitives/chunk-LWLHS2NS.js.map +0 -1
- package/dist/_members/primitives/chunk-QAQ3P7DR.js +0 -8855
- package/dist/_members/primitives/chunk-QAQ3P7DR.js.map +0 -1
- package/dist/_members/primitives/chunk-ROV2ODWC.js +0 -81
- package/dist/_members/primitives/chunk-ROV2ODWC.js.map +0 -1
- package/dist/_members/primitives/chunk-TCRC2FH3.js +0 -183
- package/dist/_members/primitives/chunk-TCRC2FH3.js.map +0 -1
- package/dist/_members/primitives/chunk-US4YEDAA.js +0 -96
- package/dist/_members/primitives/chunk-US4YEDAA.js.map +0 -1
- package/dist/_members/primitives/chunk-UVKRO5ER.js +0 -13
- package/dist/_members/primitives/chunk-UVKRO5ER.js.map +0 -1
- package/dist/_members/primitives/chunk-W4EIIF2I.js +0 -10
- package/dist/_members/primitives/chunk-W4EIIF2I.js.map +0 -1
- package/dist/_members/primitives/chunk-WPGKIPCO.js +0 -3563
- package/dist/_members/primitives/chunk-WPGKIPCO.js.map +0 -1
- package/dist/_members/primitives/chunk-WZFLEGMD.js +0 -1435
- package/dist/_members/primitives/chunk-WZFLEGMD.js.map +0 -1
- package/dist/_members/primitives/chunk-XHU3WBEI.js +0 -33
- package/dist/_members/primitives/chunk-XHU3WBEI.js.map +0 -1
- package/dist/_members/primitives/chunk-YN7WTZZ7.js +0 -46
- package/dist/_members/primitives/chunk-YN7WTZZ7.js.map +0 -1
- package/dist/_members/primitives/effects/index.js +0 -30
- package/dist/_members/primitives/effects/index.js.map +0 -1
- package/dist/_members/primitives/hero-text/index.js +0 -14
- package/dist/_members/primitives/hero-text/index.js.map +0 -1
- package/dist/_members/primitives/index.js +0 -64
- package/dist/_members/primitives/index.js.map +0 -1
- package/dist/_members/primitives/layouts/index.js +0 -24
- package/dist/_members/primitives/layouts/index.js.map +0 -1
- package/dist/_members/primitives/lib/easings.js +0 -26
- package/dist/_members/primitives/lib/easings.js.map +0 -1
- package/dist/_members/primitives/lib/index.js +0 -74
- package/dist/_members/primitives/lib/index.js.map +0 -1
- package/dist/_members/primitives/lib/palette.js +0 -72
- package/dist/_members/primitives/lib/palette.js.map +0 -1
- package/dist/_members/primitives/lib/preview.js +0 -8
- package/dist/_members/primitives/lib/preview.js.map +0 -1
- package/dist/_members/primitives/lib/schema.js +0 -12
- package/dist/_members/primitives/lib/schema.js.map +0 -1
- package/dist/_members/primitives/lib/seeded-random.js +0 -14
- package/dist/_members/primitives/lib/seeded-random.js.map +0 -1
- package/dist/_members/primitives/lib/text/contrast.js +0 -12
- package/dist/_members/primitives/lib/text/contrast.js.map +0 -1
- package/dist/_members/primitives/lib/text/fill.js +0 -8
- package/dist/_members/primitives/lib/text/fill.js.map +0 -1
- package/dist/_members/primitives/lib/text/fitText.js +0 -10
- package/dist/_members/primitives/lib/text/fitText.js.map +0 -1
- package/dist/_members/primitives/lib/text/marker.js +0 -8
- package/dist/_members/primitives/lib/text/marker.js.map +0 -1
- package/dist/_members/primitives/lib/text/motion.js +0 -16
- package/dist/_members/primitives/lib/text/motion.js.map +0 -1
- package/dist/_members/primitives/lib/text/recolor.js +0 -8
- package/dist/_members/primitives/lib/text/recolor.js.map +0 -1
- package/dist/_members/primitives/lib/text/spec.js +0 -1
- package/dist/_members/primitives/lib/text/spec.js.map +0 -1
- package/dist/_members/primitives/lib/text/stage.js +0 -8
- package/dist/_members/primitives/lib/text/stage.js.map +0 -1
- package/dist/_members/primitives/lib/text/typeface.js +0 -8
- package/dist/_members/primitives/lib/text/typeface.js.map +0 -1
- package/dist/_members/primitives/lib/tokens.js +0 -24
- package/dist/_members/primitives/lib/tokens.js.map +0 -1
- package/dist/_members/primitives/lib/types.js +0 -1
- package/dist/_members/primitives/lib/types.js.map +0 -1
- package/dist/_members/primitives/params-required.json +0 -153
- package/dist/_members/primitives/scenes/index.js +0 -25
- package/dist/_members/primitives/scenes/index.js.map +0 -1
- package/dist/_members/primitives/subject-foreground/index.js +0 -30
- package/dist/_members/primitives/subject-foreground/index.js.map +0 -1
- package/dist/_members/primitives/text/index.js +0 -57
- package/dist/_members/primitives/text/index.js.map +0 -1
- package/dist/_members/primitives/transitions/index.js +0 -67
- package/dist/_members/primitives/transitions/index.js.map +0 -1
- package/dist/_members/primitives/ui-blocks/index.js +0 -76
- package/dist/_members/primitives/ui-blocks/index.js.map +0 -1
- package/dist/_members/primitives/version-map.json +0 -105
- package/dist/_members/primitives/workspace.js +0 -60
- package/dist/_members/primitives/workspace.js.map +0 -1
- package/dist/chunk-7GISRVON.js +0 -14176
- package/dist/chunk-DIBOJJMU.js +0 -16838
- package/dist/chunk-EAUSEGB7.js +0 -420
- package/dist/chunk-FUWJOVVK.js +0 -3633
- package/dist/chunk-G75E7YA4.js +0 -11883
- package/dist/chunk-JCZQT7K3.js +0 -3266
- package/dist/chunk-KF5ETMKB.js +0 -544
- package/dist/chunk-NDKERSXY.js +0 -1296
- package/dist/chunk-V43Y7IE4.js +0 -3621
- package/dist/chunk-VIVQHIGZ.js +0 -4319
- package/dist/chunk-YA3OR2KK.js +0 -249
- package/dist/hls-HD4C5G6W.js +0 -33000
- package/dist/token-RGFIT24D.js +0 -69
- package/dist/token-util-GPLSGYVO.js +0 -5
- package/dist/vision_bundle-5Y376MAR.js +0 -4084
|
@@ -380,7 +380,7 @@ Bad motion graphics:
|
|
|
380
380
|
rendering within params.region \u2014 these collide with the captions and ship off-brand`;
|
|
381
381
|
async function initCodeGenPrompts(fetchPrompt) {
|
|
382
382
|
if (!fetchPrompt) return;
|
|
383
|
-
const prompt = await fetchPrompt("
|
|
383
|
+
const prompt = await fetchPrompt("apps/studio/code-gen");
|
|
384
384
|
if (!prompt) return;
|
|
385
385
|
const sections = parsePromptSections(prompt.content);
|
|
386
386
|
if (sections["Few-Shot Examples"]) CODE_GEN_FEW_SHOT_EXAMPLES = sections["Few-Shot Examples"];
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
// ../authoring/src/models/modelFactory.ts
|
|
2
|
+
import { createAnthropic } from "@ai-sdk/anthropic";
|
|
3
|
+
import { createOpenAI } from "@ai-sdk/openai";
|
|
4
|
+
function withRequestTimeout(inner, ms) {
|
|
5
|
+
return async (input, init) => {
|
|
6
|
+
const timeout = AbortSignal.timeout(ms);
|
|
7
|
+
const signal = init?.signal ? AbortSignal.any([init.signal, timeout]) : timeout;
|
|
8
|
+
let timer;
|
|
9
|
+
const bound = new Promise((_res, rej) => {
|
|
10
|
+
timer = setTimeout(
|
|
11
|
+
() => rej(new Error(`llm_request_timeout: model HTTP request exceeded ${ms}ms (hung gateway call?)`)),
|
|
12
|
+
ms
|
|
13
|
+
);
|
|
14
|
+
});
|
|
15
|
+
try {
|
|
16
|
+
return await Promise.race([inner(input, { ...init, signal }), bound]);
|
|
17
|
+
} catch (err) {
|
|
18
|
+
if (timeout.aborted && !(init?.signal?.aborted ?? false)) {
|
|
19
|
+
throw new Error(`llm_request_timeout: model HTTP request exceeded ${ms}ms (hung gateway call?)`);
|
|
20
|
+
}
|
|
21
|
+
throw err;
|
|
22
|
+
} finally {
|
|
23
|
+
if (timer) clearTimeout(timer);
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function makeLangfuseFetch(meta) {
|
|
28
|
+
const traceId = meta.traceId ?? crypto.randomUUID();
|
|
29
|
+
return async (input, init) => {
|
|
30
|
+
const originalBody = init?.body;
|
|
31
|
+
if (typeof originalBody !== "string") {
|
|
32
|
+
return fetch(input, init);
|
|
33
|
+
}
|
|
34
|
+
const body = JSON.parse(originalBody);
|
|
35
|
+
const fields = {
|
|
36
|
+
trace_id: traceId,
|
|
37
|
+
trace_name: meta.traceName,
|
|
38
|
+
generation_name: meta.generationName ?? "llm_call",
|
|
39
|
+
session_id: meta.sessionId,
|
|
40
|
+
trace_user_id: meta.userId,
|
|
41
|
+
tags: meta.tags,
|
|
42
|
+
version: meta.version,
|
|
43
|
+
...meta.redactContent ? { turn_off_message_logging: true } : {}
|
|
44
|
+
};
|
|
45
|
+
body.metadata = { ...body.metadata ?? {}, ...fields };
|
|
46
|
+
body.litellm_metadata = { ...body.litellm_metadata ?? {}, ...fields, user: meta.userId };
|
|
47
|
+
return fetch(input, { ...init, body: JSON.stringify(body) });
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function buildModel(settings, langfuse) {
|
|
51
|
+
const provider = settings.provider;
|
|
52
|
+
switch (provider) {
|
|
53
|
+
case "anthropic": {
|
|
54
|
+
if (!settings.apiKey) throw new Error("Anthropic API key not configured.");
|
|
55
|
+
const anthropic = createAnthropic({
|
|
56
|
+
apiKey: settings.apiKey,
|
|
57
|
+
...settings.baseUrl ? { baseURL: settings.baseUrl } : {}
|
|
58
|
+
});
|
|
59
|
+
const id = settings.modelId || "claude-sonnet-4-6";
|
|
60
|
+
return { model: anthropic(id), providerName: "anthropic", modelId: id };
|
|
61
|
+
}
|
|
62
|
+
case "openai": {
|
|
63
|
+
if (!settings.apiKey) throw new Error("OpenAI API key not configured.");
|
|
64
|
+
const openai = createOpenAI({ apiKey: settings.apiKey });
|
|
65
|
+
const id = settings.modelId || "gpt-4o";
|
|
66
|
+
return { model: openai(id), providerName: "openai", modelId: id };
|
|
67
|
+
}
|
|
68
|
+
case "ollama": {
|
|
69
|
+
const baseUrl = settings.baseUrl || "http://localhost:11434/v1";
|
|
70
|
+
const openai = createOpenAI({ apiKey: "ollama", baseURL: baseUrl });
|
|
71
|
+
const id = settings.modelId || "llama3.1";
|
|
72
|
+
return { model: openai(id), providerName: "ollama", modelId: id };
|
|
73
|
+
}
|
|
74
|
+
case "gateway": {
|
|
75
|
+
if (!settings.gatewayUrl || !settings.gatewayKey) throw new Error("Gateway not configured.");
|
|
76
|
+
const baseFetch = langfuse ? makeLangfuseFetch(langfuse) : fetch;
|
|
77
|
+
const anthropic = createAnthropic({
|
|
78
|
+
apiKey: settings.gatewayKey,
|
|
79
|
+
baseURL: settings.gatewayUrl + "/anthropic/v1",
|
|
80
|
+
fetch: settings.requestTimeoutMs ? withRequestTimeout(baseFetch, settings.requestTimeoutMs) : langfuse ? baseFetch : void 0
|
|
81
|
+
});
|
|
82
|
+
const id = settings.modelId || "claude-sonnet-4-6";
|
|
83
|
+
return { model: anthropic(id), providerName: "gateway", modelId: id };
|
|
84
|
+
}
|
|
85
|
+
default:
|
|
86
|
+
throw new Error(`Unknown provider: ${provider}`);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
function buildFastModel(settings, langfuse) {
|
|
90
|
+
return buildModel(
|
|
91
|
+
{
|
|
92
|
+
...settings,
|
|
93
|
+
modelId: settings.fastModelId ?? "claude-haiku-4-5-20251001"
|
|
94
|
+
},
|
|
95
|
+
langfuse
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export {
|
|
100
|
+
withRequestTimeout,
|
|
101
|
+
makeLangfuseFetch,
|
|
102
|
+
buildModel,
|
|
103
|
+
buildFastModel
|
|
104
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Composition
|
|
3
|
-
} from "./chunk-ATAF24QG.js";
|
|
4
1
|
import {
|
|
5
2
|
expandToLinkGroup
|
|
6
3
|
} from "./chunk-KYRDKK2D.js";
|
|
4
|
+
import {
|
|
5
|
+
Composition
|
|
6
|
+
} from "./chunk-PODIYN2K.js";
|
|
7
7
|
|
|
8
8
|
// ../composition/src/ops/compositionOps.ts
|
|
9
9
|
function findOrCreateTrackByKind(composition, kind) {
|
|
@@ -693,6 +693,29 @@ function createCompositionOps(get, set) {
|
|
|
693
693
|
}
|
|
694
694
|
});
|
|
695
695
|
},
|
|
696
|
+
// ── setCaptionDepth ──
|
|
697
|
+
//
|
|
698
|
+
// Put the caption layer UNDER the speaker's silhouette, or back in front.
|
|
699
|
+
// One choice for the whole layer, not per segment, because it decides
|
|
700
|
+
// whether the SOURCE needs a matte — the $0.12/source-minute rung, and a
|
|
701
|
+
// caption layer usually spans the whole video. See `CaptionDepth` in the
|
|
702
|
+
// schema for why the 2026-06-11 front-only rule was reversed.
|
|
703
|
+
//
|
|
704
|
+
// Unlike `setCaptionStyle`, this does NOT create a caption container out of
|
|
705
|
+
// nothing. Depth on a layer with no words is a request to matte footage
|
|
706
|
+
// nobody is reading over — expensive and invisible — so a caller who has
|
|
707
|
+
// not authored captions yet gets a no-op rather than a bill.
|
|
708
|
+
setCaptionDepth: (zPlane) => {
|
|
709
|
+
set((draft) => {
|
|
710
|
+
const existing = draft.composition.captions;
|
|
711
|
+
if (!existing) return;
|
|
712
|
+
if (zPlane === "front") {
|
|
713
|
+
delete existing.zPlane;
|
|
714
|
+
} else {
|
|
715
|
+
existing.zPlane = zPlane;
|
|
716
|
+
}
|
|
717
|
+
});
|
|
718
|
+
},
|
|
696
719
|
// ── setCaptions ──
|
|
697
720
|
//
|
|
698
721
|
// Replace the caption SEGMENTS wholesale — the words layer. Until this op,
|
|
@@ -771,7 +794,7 @@ function createCompositionOps(get, set) {
|
|
|
771
794
|
//
|
|
772
795
|
// Capability parity: the cloud agent must be able to do everything the
|
|
773
796
|
// editor can (these were previously editor-only, in
|
|
774
|
-
//
|
|
797
|
+
// apps/studio/src/store/compositionStore/compositionOps.ts). They are pure
|
|
775
798
|
// `set` mutations over `composition.tracks` + the selection fields already
|
|
776
799
|
// on `CompositionOpsState`, so they live in core unchanged. The agent's
|
|
777
800
|
// tool layer can now surface them; the editor keeps calling the same names.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../_members/cloud-import/multipartUpload.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./_members/cloud-import/index.js";
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import {
|
|
2
|
+
multipartUpload
|
|
3
|
+
} from "./chunk-HCCBDJLW.js";
|
|
4
|
+
import "./chunk-6IU2UQI5.js";
|
|
5
|
+
import "./chunk-2ESYSVXG.js";
|
|
6
|
+
|
|
7
|
+
// ../cloud-import/src/ImportProvider.tsx
|
|
8
|
+
import { createContext, useContext, useState, useEffect, useCallback, useRef } from "react";
|
|
9
|
+
import { UppyContextProvider } from "@uppy/react";
|
|
10
|
+
|
|
11
|
+
// ../cloud-import/src/CloudImportService.ts
|
|
12
|
+
import Uppy from "@uppy/core";
|
|
13
|
+
import AwsS3 from "@uppy/aws-s3";
|
|
14
|
+
|
|
15
|
+
// ../cloud-import/src/MediaItemPreprocessor.ts
|
|
16
|
+
import { BasePlugin } from "@uppy/core";
|
|
17
|
+
var MediaItemPreprocessor = class _MediaItemPreprocessor extends BasePlugin {
|
|
18
|
+
static pluginId = "MediaItemPreprocessor";
|
|
19
|
+
createFn = null;
|
|
20
|
+
preprocessBound;
|
|
21
|
+
constructor(uppy, opts) {
|
|
22
|
+
super(uppy, opts ?? {});
|
|
23
|
+
this.id = _MediaItemPreprocessor.pluginId;
|
|
24
|
+
this.type = "preprocessor";
|
|
25
|
+
this.preprocessBound = this.preprocess.bind(this);
|
|
26
|
+
}
|
|
27
|
+
/** Inject the creation function (called from ImportProvider). */
|
|
28
|
+
setCreateFn(fn) {
|
|
29
|
+
this.createFn = fn;
|
|
30
|
+
}
|
|
31
|
+
install() {
|
|
32
|
+
this.uppy.addPreProcessor(this.preprocessBound);
|
|
33
|
+
}
|
|
34
|
+
uninstall() {
|
|
35
|
+
this.uppy.removePreProcessor(this.preprocessBound);
|
|
36
|
+
}
|
|
37
|
+
async preprocess(fileIDs) {
|
|
38
|
+
if (!this.createFn) return;
|
|
39
|
+
for (const fileID of fileIDs) {
|
|
40
|
+
const file = this.uppy.getFile(fileID);
|
|
41
|
+
if (!file) continue;
|
|
42
|
+
if (file.meta.convexMediaItemId) continue;
|
|
43
|
+
this.uppy.emit("preprocess-progress", file, {
|
|
44
|
+
mode: "indeterminate",
|
|
45
|
+
message: "Preparing upload\u2026"
|
|
46
|
+
});
|
|
47
|
+
try {
|
|
48
|
+
const mediaItemId = await this.createFn({
|
|
49
|
+
name: file.name ?? "unknown",
|
|
50
|
+
size: file.size ?? 0,
|
|
51
|
+
mimeType: file.type ?? "video/mp4"
|
|
52
|
+
});
|
|
53
|
+
this.uppy.setFileMeta(fileID, { convexMediaItemId: mediaItemId });
|
|
54
|
+
} catch (err) {
|
|
55
|
+
this.uppy.log(`[MediaItemPreprocessor] Failed for ${fileID}: ${err}`, "error");
|
|
56
|
+
}
|
|
57
|
+
this.uppy.emit("preprocess-complete", file);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
// ../cloud-import/src/CloudImportService.ts
|
|
63
|
+
var CloudImportService = class {
|
|
64
|
+
uppy = null;
|
|
65
|
+
config = null;
|
|
66
|
+
/** Lazy-init: create Uppy + plugins on first use. */
|
|
67
|
+
init(config) {
|
|
68
|
+
if (this.uppy) return this.uppy;
|
|
69
|
+
this.config = config;
|
|
70
|
+
const signingUrl = this.config.uploadSigningUrl.replace(/\/$/, "");
|
|
71
|
+
this.uppy = new Uppy({
|
|
72
|
+
id: "cloud-import",
|
|
73
|
+
restrictions: {
|
|
74
|
+
allowedFileTypes: ["video/*", "audio/*"]
|
|
75
|
+
}
|
|
76
|
+
}).use(AwsS3, {
|
|
77
|
+
// Upload-signing Worker implements the S3 multipart endpoints at /s3/multipart/*
|
|
78
|
+
endpoint: signingUrl,
|
|
79
|
+
shouldUseMultipart: true,
|
|
80
|
+
// Cap concurrent multipart part uploads. Unbounded concurrency
|
|
81
|
+
// saturates the browser network stack and the signing Worker on
|
|
82
|
+
// large files; 3 keeps throughput high without melting either.
|
|
83
|
+
limit: 3,
|
|
84
|
+
// Exponential-ish backoff for failed part/signing requests. Uppy
|
|
85
|
+
// retries the same operation on each delay — keeps transient
|
|
86
|
+
// network blips from failing an entire upload.
|
|
87
|
+
retryDelays: [1e3, 3e3, 5e3, 1e4]
|
|
88
|
+
}).use(MediaItemPreprocessor);
|
|
89
|
+
return this.uppy;
|
|
90
|
+
}
|
|
91
|
+
/** Get the Uppy instance (must call init() first). */
|
|
92
|
+
getUppy() {
|
|
93
|
+
if (!this.uppy) throw new Error("CloudImportService not initialized \u2014 call init() first");
|
|
94
|
+
return this.uppy;
|
|
95
|
+
}
|
|
96
|
+
/** Get the MediaItemPreprocessor plugin. */
|
|
97
|
+
getPreprocessor() {
|
|
98
|
+
return this.getUppy().getPlugin(MediaItemPreprocessor.pluginId);
|
|
99
|
+
}
|
|
100
|
+
/** Update upload metadata (uploadToken, userId, projectId). */
|
|
101
|
+
setMeta(meta) {
|
|
102
|
+
this.uppy?.setMeta(meta);
|
|
103
|
+
if (meta.uploadToken) {
|
|
104
|
+
const plugin = this.uppy?.getPlugin("AwsS3Multipart");
|
|
105
|
+
if (plugin) {
|
|
106
|
+
plugin.setOptions({ headers: { "uppy-auth-token": meta.uploadToken } });
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
};
|
|
111
|
+
var cloudImportService = new CloudImportService();
|
|
112
|
+
|
|
113
|
+
// ../cloud-import/src/ImportProvider.tsx
|
|
114
|
+
var ImportContext = createContext(null);
|
|
115
|
+
function ImportProvider({
|
|
116
|
+
children,
|
|
117
|
+
available,
|
|
118
|
+
dialogSlot,
|
|
119
|
+
uploadSigningUrl,
|
|
120
|
+
getUploadMeta,
|
|
121
|
+
createMediaItem,
|
|
122
|
+
onUploadComplete,
|
|
123
|
+
onError
|
|
124
|
+
}) {
|
|
125
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
126
|
+
const onCompleteRef = useRef(onUploadComplete);
|
|
127
|
+
const onErrorRef = useRef(onError);
|
|
128
|
+
onCompleteRef.current = onUploadComplete;
|
|
129
|
+
onErrorRef.current = onError;
|
|
130
|
+
const [uppy] = useState(() => cloudImportService.init({ uploadSigningUrl }));
|
|
131
|
+
useEffect(() => {
|
|
132
|
+
const handleComplete = (result) => {
|
|
133
|
+
const successful = result?.successful ?? [];
|
|
134
|
+
if (successful.length > 0 && onCompleteRef.current) {
|
|
135
|
+
onCompleteRef.current(
|
|
136
|
+
successful.map((file) => ({
|
|
137
|
+
uploadURL: file.response?.uploadURL ?? "",
|
|
138
|
+
fileName: file.name ?? "unknown",
|
|
139
|
+
fileSize: file.size ?? 0
|
|
140
|
+
}))
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
const handleError = (error) => {
|
|
145
|
+
onErrorRef.current?.(error instanceof Error ? error : new Error(String(error)));
|
|
146
|
+
};
|
|
147
|
+
uppy.on("complete", handleComplete);
|
|
148
|
+
uppy.on("error", handleError);
|
|
149
|
+
return () => {
|
|
150
|
+
uppy.off("complete", handleComplete);
|
|
151
|
+
uppy.off("error", handleError);
|
|
152
|
+
};
|
|
153
|
+
}, [uppy]);
|
|
154
|
+
useEffect(() => {
|
|
155
|
+
try {
|
|
156
|
+
const preprocessor = cloudImportService.getPreprocessor();
|
|
157
|
+
preprocessor.setCreateFn(createMediaItem ?? null);
|
|
158
|
+
} catch {
|
|
159
|
+
}
|
|
160
|
+
}, [createMediaItem]);
|
|
161
|
+
const openModal = useCallback(async () => {
|
|
162
|
+
if (getUploadMeta) {
|
|
163
|
+
try {
|
|
164
|
+
const meta = await getUploadMeta();
|
|
165
|
+
cloudImportService.setMeta(meta);
|
|
166
|
+
} catch (err) {
|
|
167
|
+
console.error("[Import] Failed to get upload metadata:", err);
|
|
168
|
+
return;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
setIsOpen(true);
|
|
172
|
+
}, [getUploadMeta]);
|
|
173
|
+
const closeModal = useCallback(() => {
|
|
174
|
+
setIsOpen(false);
|
|
175
|
+
}, []);
|
|
176
|
+
return /* @__PURE__ */ React.createElement(ImportContext, { value: { openModal, closeModal, isOpen, uppy, available } }, /* @__PURE__ */ React.createElement(UppyContextProvider, { uppy }, children, dialogSlot));
|
|
177
|
+
}
|
|
178
|
+
function useImport() {
|
|
179
|
+
const ctx = useContext(ImportContext);
|
|
180
|
+
if (!ctx) throw new Error("useImport must be used within <ImportProvider>");
|
|
181
|
+
return ctx;
|
|
182
|
+
}
|
|
183
|
+
function useImportIfAvailable() {
|
|
184
|
+
const ctx = useContext(ImportContext);
|
|
185
|
+
return ctx?.available ? ctx : null;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
// ../cloud-import/src/cloudConfig.ts
|
|
189
|
+
var ENVIRONMENTS = {
|
|
190
|
+
dev: {
|
|
191
|
+
convexUrl: "https://api-dev.cueframe.ai",
|
|
192
|
+
uploadSigningUrl: "http://localhost:8787"
|
|
193
|
+
},
|
|
194
|
+
staging: {
|
|
195
|
+
convexUrl: "https://api-dev.cueframe.ai",
|
|
196
|
+
uploadSigningUrl: "https://upload-signing.cueframelabs.workers.dev"
|
|
197
|
+
},
|
|
198
|
+
production: {
|
|
199
|
+
convexUrl: "https://api.cueframe.ai",
|
|
200
|
+
uploadSigningUrl: "https://upload.cueframe.ai"
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
function detectEnvironment(convexUrl) {
|
|
204
|
+
if (!convexUrl) return "dev";
|
|
205
|
+
if (/\b(api-dev|data-dev)\.cueframe\.ai/.test(convexUrl)) return "staging";
|
|
206
|
+
if (/\b(api|data)\.cueframe\.ai/.test(convexUrl)) return "production";
|
|
207
|
+
if (/\bexample-dev\.convex\.(cloud|site)/.test(convexUrl)) return "staging";
|
|
208
|
+
if (/\bexample-prod\.convex\.(cloud|site)/.test(convexUrl)) return "production";
|
|
209
|
+
return "dev";
|
|
210
|
+
}
|
|
211
|
+
function getEndpoints(convexUrl) {
|
|
212
|
+
const env = detectEnvironment(convexUrl);
|
|
213
|
+
return ENVIRONMENTS[env];
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
// ../cloud-import/src/index.ts
|
|
217
|
+
import {
|
|
218
|
+
useDropzone,
|
|
219
|
+
useUppyState,
|
|
220
|
+
useUppyEvent
|
|
221
|
+
} from "@uppy/react";
|
|
222
|
+
export {
|
|
223
|
+
ENVIRONMENTS,
|
|
224
|
+
ImportProvider,
|
|
225
|
+
cloudImportService,
|
|
226
|
+
detectEnvironment,
|
|
227
|
+
getEndpoints,
|
|
228
|
+
multipartUpload,
|
|
229
|
+
useDropzone,
|
|
230
|
+
useImport,
|
|
231
|
+
useImportIfAvailable,
|
|
232
|
+
useUppyEvent,
|
|
233
|
+
useUppyState
|
|
234
|
+
};
|
package/dist/compose/renderer.js
CHANGED
|
@@ -1,42 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolvePrimitive
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-AP6ZIVAV.js";
|
|
4
4
|
import "../chunk-H5LMJKZU.js";
|
|
5
|
-
import "../chunk-FUWJOVVK.js";
|
|
6
|
-
import "../chunk-UEI3NLNK.js";
|
|
7
5
|
import "../chunk-GULDS3VE.js";
|
|
8
6
|
import "../chunk-7DHP4ESU.js";
|
|
9
7
|
import "../chunk-MFHXCHRI.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-JD77Y2WM.js";
|
|
14
|
-
import "../chunk-EAUSEGB7.js";
|
|
15
|
-
import "../chunk-WZTTZHNR.js";
|
|
8
|
+
import "../chunk-JQMPHKLU.js";
|
|
9
|
+
import "../chunk-MHOQTPOB.js";
|
|
10
|
+
import "../chunk-OLFOPQCA.js";
|
|
16
11
|
import "../chunk-DLF4WVSE.js";
|
|
17
12
|
import "../chunk-U4V4FZGE.js";
|
|
18
13
|
import "../chunk-AWT3P5ZN.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-ZSZABOE5.js";
|
|
22
|
-
import "../chunk-BDMTUEEZ.js";
|
|
23
|
-
import "../chunk-EMGFZ3PR.js";
|
|
24
|
-
import "../chunk-S3P5BFFL.js";
|
|
25
|
-
import "../chunk-ZFEXATWN.js";
|
|
14
|
+
import "../chunk-GA23TRNR.js";
|
|
15
|
+
import "../chunk-PMY24FUD.js";
|
|
26
16
|
import {
|
|
27
17
|
Grain,
|
|
28
18
|
Vignette
|
|
29
|
-
} from "../chunk-
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-ABL557OT.js";
|
|
20
|
+
import "../chunk-P727GZVO.js";
|
|
21
|
+
import "../chunk-BDMTUEEZ.js";
|
|
22
|
+
import "../chunk-EMGFZ3PR.js";
|
|
23
|
+
import "../chunk-ZFEXATWN.js";
|
|
24
|
+
import "../chunk-YX2GSJK7.js";
|
|
25
|
+
import "../chunk-AYVJXDLB.js";
|
|
26
|
+
import "../chunk-SW336CJP.js";
|
|
27
|
+
import "../chunk-QGAWDLYX.js";
|
|
28
|
+
import "../chunk-ZSZABOE5.js";
|
|
32
29
|
import "../chunk-CX2IIQ4R.js";
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-JF4JJAFP.js";
|
|
30
|
+
import "../chunk-7FO3ZJ43.js";
|
|
35
31
|
import "../chunk-7PA7FGLD.js";
|
|
32
|
+
import "../chunk-JF4JJAFP.js";
|
|
36
33
|
import {
|
|
37
34
|
CueframeError,
|
|
38
35
|
encodeError
|
|
39
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-OCFDUCF4.js";
|
|
40
37
|
import "../chunk-2ESYSVXG.js";
|
|
41
38
|
|
|
42
39
|
// ../execution/compose/src/CompositionRenderer.tsx
|
package/dist/compose.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveTokens,
|
|
3
3
|
sceneToRenderInput
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MBCXCJOE.js";
|
|
5
5
|
import {
|
|
6
6
|
allCatalogs,
|
|
7
7
|
getPrimitiveSubtext,
|
|
@@ -13,49 +13,46 @@ import {
|
|
|
13
13
|
resetPrimitiveOverrides,
|
|
14
14
|
resolvePrimitive,
|
|
15
15
|
resolveTransitionPresentation
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AP6ZIVAV.js";
|
|
17
17
|
import "./chunk-H5LMJKZU.js";
|
|
18
|
-
import "./chunk-FUWJOVVK.js";
|
|
19
|
-
import "./chunk-UEI3NLNK.js";
|
|
20
18
|
import "./chunk-GULDS3VE.js";
|
|
21
19
|
import "./chunk-7DHP4ESU.js";
|
|
22
20
|
import "./chunk-MFHXCHRI.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-JD77Y2WM.js";
|
|
27
|
-
import "./chunk-EAUSEGB7.js";
|
|
28
|
-
import "./chunk-WZTTZHNR.js";
|
|
21
|
+
import "./chunk-JQMPHKLU.js";
|
|
22
|
+
import "./chunk-MHOQTPOB.js";
|
|
23
|
+
import "./chunk-OLFOPQCA.js";
|
|
29
24
|
import "./chunk-DLF4WVSE.js";
|
|
30
25
|
import "./chunk-U4V4FZGE.js";
|
|
31
26
|
import "./chunk-AWT3P5ZN.js";
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-GA23TRNR.js";
|
|
28
|
+
import "./chunk-PMY24FUD.js";
|
|
29
|
+
import "./chunk-ABL557OT.js";
|
|
30
|
+
import "./chunk-P727GZVO.js";
|
|
35
31
|
import "./chunk-BDMTUEEZ.js";
|
|
36
32
|
import "./chunk-EMGFZ3PR.js";
|
|
37
|
-
import "./chunk-S3P5BFFL.js";
|
|
38
33
|
import "./chunk-ZFEXATWN.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-YX2GSJK7.js";
|
|
35
|
+
import "./chunk-AYVJXDLB.js";
|
|
36
|
+
import "./chunk-SW336CJP.js";
|
|
37
|
+
import "./chunk-QGAWDLYX.js";
|
|
38
|
+
import "./chunk-ZSZABOE5.js";
|
|
42
39
|
import "./chunk-CX2IIQ4R.js";
|
|
43
40
|
import {
|
|
44
41
|
getPrimitiveSubtextParam,
|
|
45
42
|
getPrimitiveTextParam,
|
|
46
43
|
listPrimitivesByCategory
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-6CMVBTTP.js";
|
|
44
|
+
} from "./chunk-7FO3ZJ43.js";
|
|
45
|
+
import "./chunk-DK2ODBNT.js";
|
|
50
46
|
import "./chunk-QH3YI3ND.js";
|
|
47
|
+
import "./chunk-HY3RIEZW.js";
|
|
51
48
|
import "./chunk-TWQOKKAF.js";
|
|
52
|
-
import "./chunk-JRQVPFLF.js";
|
|
53
49
|
import "./chunk-JMURQODM.js";
|
|
54
50
|
import "./chunk-7PA7FGLD.js";
|
|
55
51
|
import "./chunk-KYRDKK2D.js";
|
|
52
|
+
import "./chunk-JF4JJAFP.js";
|
|
56
53
|
import "./chunk-DENF4TPI.js";
|
|
57
54
|
import "./chunk-WREYUH2E.js";
|
|
58
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-OCFDUCF4.js";
|
|
59
56
|
import "./chunk-2ESYSVXG.js";
|
|
60
57
|
export {
|
|
61
58
|
allCatalogs,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
placeInLegalArea,
|
|
3
3
|
resolveBrandRefsDeep
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-FYZVH3MC.js";
|
|
5
|
+
import "../chunk-DSMLHYJ4.js";
|
|
6
6
|
import "../chunk-JF4JJAFP.js";
|
|
7
7
|
import {
|
|
8
8
|
ContentBeat,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
PlanRect,
|
|
27
27
|
StyleRole,
|
|
28
28
|
ZPlane
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-PODIYN2K.js";
|
|
30
30
|
import "../chunk-W35ZMOXB.js";
|
|
31
31
|
import "../chunk-EA6MYCYW.js";
|
|
32
32
|
import "../chunk-WREYUH2E.js";
|
package/dist/composition/ops.js
CHANGED
|
@@ -20,12 +20,12 @@ import {
|
|
|
20
20
|
selectMediaClipAt,
|
|
21
21
|
selectSceneMarkers,
|
|
22
22
|
selectTracksByKind
|
|
23
|
-
} from "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
23
|
+
} from "../chunk-ZWMV6DD2.js";
|
|
24
|
+
import "../chunk-KYRDKK2D.js";
|
|
25
|
+
import "../chunk-TOJEXFXL.js";
|
|
26
|
+
import "../chunk-PODIYN2K.js";
|
|
26
27
|
import "../chunk-W35ZMOXB.js";
|
|
27
28
|
import "../chunk-EA6MYCYW.js";
|
|
28
|
-
import "../chunk-KYRDKK2D.js";
|
|
29
29
|
import "../chunk-WREYUH2E.js";
|
|
30
30
|
import "../chunk-2ESYSVXG.js";
|
|
31
31
|
export {
|
|
@@ -5,6 +5,8 @@ import {
|
|
|
5
5
|
CARD_MOTION_VAR_NAMES,
|
|
6
6
|
FRAME_ROUNDING_TOLERANCE,
|
|
7
7
|
MIN_PRESENCE_FOR_BEHIND,
|
|
8
|
+
behindReadinessForOverlay,
|
|
9
|
+
behindReadinessForTarget,
|
|
8
10
|
buildSilhouetteKeepOutOutput,
|
|
9
11
|
buildSubjectsOutput,
|
|
10
12
|
computeCropTransform,
|
|
@@ -14,11 +16,17 @@ import {
|
|
|
14
16
|
estimateCoverage,
|
|
15
17
|
evaluateOcclusionBudget,
|
|
16
18
|
faceKeepOutForWindow,
|
|
19
|
+
matteIntentKey,
|
|
17
20
|
outputToTrajectoryFrame,
|
|
21
|
+
primaryClipForOverlay,
|
|
22
|
+
reframeNeedsDetection,
|
|
23
|
+
reframeReadinessForTarget,
|
|
24
|
+
reframeTargets,
|
|
18
25
|
resolveSegmentAt,
|
|
19
26
|
silhouetteKeepOutForWindow,
|
|
20
|
-
sourceRectToOutput
|
|
21
|
-
|
|
27
|
+
sourceRectToOutput,
|
|
28
|
+
sourceWindowKey
|
|
29
|
+
} from "../chunk-JJ6XD7NG.js";
|
|
22
30
|
import {
|
|
23
31
|
BRAND_TOKEN_REFS,
|
|
24
32
|
BRAND_TOKEN_ROOT_KEYS,
|
|
@@ -54,12 +62,12 @@ import {
|
|
|
54
62
|
resolveLayoutIntent,
|
|
55
63
|
resolveOverlayRegion,
|
|
56
64
|
unionFaceKeepOutSeries
|
|
57
|
-
} from "../chunk-
|
|
65
|
+
} from "../chunk-FYZVH3MC.js";
|
|
58
66
|
import {
|
|
59
67
|
apcaLc
|
|
60
|
-
} from "../chunk-
|
|
68
|
+
} from "../chunk-DSMLHYJ4.js";
|
|
61
69
|
import "../chunk-JF4JJAFP.js";
|
|
62
|
-
import "../chunk-
|
|
70
|
+
import "../chunk-OCFDUCF4.js";
|
|
63
71
|
import "../chunk-2ESYSVXG.js";
|
|
64
72
|
export {
|
|
65
73
|
BEHIND_BAND,
|
|
@@ -82,6 +90,8 @@ export {
|
|
|
82
90
|
SILHOUETTE_TO_KEEPOUT_W,
|
|
83
91
|
activeFaceKeepOutSeries,
|
|
84
92
|
apcaLc,
|
|
93
|
+
behindReadinessForOverlay,
|
|
94
|
+
behindReadinessForTarget,
|
|
85
95
|
boundingBox,
|
|
86
96
|
buildSilhouetteKeepOutOutput,
|
|
87
97
|
buildSubjectsOutput,
|
|
@@ -100,9 +110,14 @@ export {
|
|
|
100
110
|
faceKeepOut,
|
|
101
111
|
faceKeepOutForWindow,
|
|
102
112
|
lookupSafeZones,
|
|
113
|
+
matteIntentKey,
|
|
103
114
|
normalizePlatform,
|
|
104
115
|
outputToTrajectoryFrame,
|
|
105
116
|
placeInLegalArea,
|
|
117
|
+
primaryClipForOverlay,
|
|
118
|
+
reframeNeedsDetection,
|
|
119
|
+
reframeReadinessForTarget,
|
|
120
|
+
reframeTargets,
|
|
106
121
|
reframeYield,
|
|
107
122
|
reframeYieldTop,
|
|
108
123
|
resolveBrandKit,
|
|
@@ -115,5 +130,6 @@ export {
|
|
|
115
130
|
resolveSegmentAt,
|
|
116
131
|
silhouetteKeepOutForWindow,
|
|
117
132
|
sourceRectToOutput,
|
|
133
|
+
sourceWindowKey,
|
|
118
134
|
unionFaceKeepOutSeries
|
|
119
135
|
};
|