@cueframe/kernel 0.1.0 → 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/composition/ops/compositionOps.d.ts +1 -0
- 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/validators/composition.d.ts +42 -25
- package/dist/_members/composition/validators/render.d.ts +32 -0
- package/dist/_members/core/render/compositionRender.d.ts +17 -1
- package/dist/_members/core/render/types.d.ts +31 -0
- package/dist/authoring/build-tools.js +6 -6
- package/dist/authoring/context.js +4 -4
- package/dist/authoring/tools.js +5 -5
- package/dist/authoring.js +11 -9
- package/dist/{chunk-ZB3C3HM7.js → chunk-7FO3ZJ43.js} +3 -0
- package/dist/{chunk-ODL7GQJG.js → chunk-AP6ZIVAV.js} +2 -2
- package/dist/{chunk-IBYQG46O.js → chunk-AQBREB5O.js} +1 -1
- package/dist/{chunk-YIOY2XEO.js → chunk-DK2ODBNT.js} +15 -5
- package/dist/{chunk-JRQVPFLF.js → chunk-HY3RIEZW.js} +1 -1
- package/dist/{chunk-GEA7E2FL.js → chunk-JJ6XD7NG.js} +151 -1
- package/dist/{chunk-COYMZ76S.js → chunk-MBCXCJOE.js} +1 -1
- package/dist/{chunk-37NJ27UU.js → chunk-OCFDUCF4.js} +3 -0
- package/dist/{chunk-VOO5FQSS.js → chunk-PDYO3DOJ.js} +5 -5
- package/dist/{chunk-MXFAADCQ.js → chunk-PODIYN2K.js} +9 -2
- package/dist/{chunk-NFEGPWGS.js → chunk-TOJEXFXL.js} +1 -1
- package/dist/{chunk-LM4WDUQJ.js → chunk-UHGSZZDI.js} +1 -1
- package/dist/{chunk-XWKZB5U5.js → chunk-ZWMV6DD2.js} +24 -1
- package/dist/compose/renderer.js +3 -3
- package/dist/compose.js +6 -6
- package/dist/composition/graphics-plan.js +1 -1
- package/dist/composition/ops.js +3 -3
- package/dist/composition/primitive-catalog.js +1 -1
- package/dist/composition/projection.js +19 -3
- package/dist/composition/validators.js +6 -4
- package/dist/composition-ops.js +8 -6
- package/dist/composition.js +24 -6
- package/dist/{context-OKX3HHFS.js → context-YWUZDG5X.js} +4 -4
- 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 +1 -0
- package/dist/media-model/testing.js +1071 -718
- package/dist/nle-export/server.js +328 -130
- package/dist/nle-export.js +7 -6
- package/package.json +13 -14
- 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/cloud-import/chunk-XKO6ZSWI.js +0 -162
- package/dist/_members/cloud-import/chunk-XKO6ZSWI.js.map +0 -1
- package/dist/_members/cloud-import/index.js +0 -241
- package/dist/_members/cloud-import/index.js.map +0 -1
- package/dist/_members/cloud-import/multipartUpload.js +0 -7
- package/dist/_members/cloud-import/multipartUpload.js.map +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 +0 -134
- 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
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
CueframeError,
|
|
8
8
|
encodeError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OCFDUCF4.js";
|
|
10
10
|
|
|
11
11
|
// ../composition/src/projection/cardTokens.ts
|
|
12
12
|
var CARD_MOTION_VAR_NAMES = [
|
|
@@ -134,6 +134,148 @@ function deriveBehindAnchor(g) {
|
|
|
134
134
|
};
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
+
// ../composition/src/projection/behind-readiness.ts
|
|
138
|
+
async function matteIntentKey(intent) {
|
|
139
|
+
const canonical = {
|
|
140
|
+
startSec: Math.round(intent.startSec * 1e3) / 1e3,
|
|
141
|
+
endSec: Math.round(intent.endSec * 1e3) / 1e3,
|
|
142
|
+
subjectClass: intent.subjectClass
|
|
143
|
+
};
|
|
144
|
+
const bytes = new TextEncoder().encode(JSON.stringify(canonical));
|
|
145
|
+
const digest = await crypto.subtle.digest("SHA-256", bytes);
|
|
146
|
+
return Array.from(new Uint8Array(digest)).map((b) => b.toString(16).padStart(2, "0")).join("").slice(0, 12);
|
|
147
|
+
}
|
|
148
|
+
function overlapsMs(aStartSec, aDurationSec, bStartSec, bDurationSec) {
|
|
149
|
+
const aStart = aStartSec * 1e3;
|
|
150
|
+
const aEnd = (aStartSec + aDurationSec) * 1e3;
|
|
151
|
+
const bStart = bStartSec * 1e3;
|
|
152
|
+
const bEnd = (bStartSec + bDurationSec) * 1e3;
|
|
153
|
+
return aStart < bEnd && aEnd > bStart;
|
|
154
|
+
}
|
|
155
|
+
function tracksOf(composition) {
|
|
156
|
+
const tracks = composition?.tracks;
|
|
157
|
+
return Array.isArray(tracks) ? tracks : [];
|
|
158
|
+
}
|
|
159
|
+
function clipsOf(track) {
|
|
160
|
+
const contents = track.contents;
|
|
161
|
+
if (!Array.isArray(contents)) return [];
|
|
162
|
+
const out = [];
|
|
163
|
+
for (const c of contents) {
|
|
164
|
+
const id = c.id;
|
|
165
|
+
const startTime = c.startTime;
|
|
166
|
+
const duration = c.duration;
|
|
167
|
+
if (typeof id !== "string" || typeof startTime !== "number" || typeof duration !== "number") {
|
|
168
|
+
continue;
|
|
169
|
+
}
|
|
170
|
+
out.push(c);
|
|
171
|
+
}
|
|
172
|
+
return out;
|
|
173
|
+
}
|
|
174
|
+
function findClipById(composition, clipId) {
|
|
175
|
+
for (const track of tracksOf(composition)) {
|
|
176
|
+
for (const clip of clipsOf(track)) {
|
|
177
|
+
if (clip.id === clipId) return clip;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
return null;
|
|
181
|
+
}
|
|
182
|
+
function primaryClipForOverlay(composition, overlayId) {
|
|
183
|
+
const overlay = findClipById(composition, overlayId);
|
|
184
|
+
if (!overlay || overlay.duration <= 0) return null;
|
|
185
|
+
for (const track of tracksOf(composition)) {
|
|
186
|
+
if (track.kind !== "video") continue;
|
|
187
|
+
for (const clip of clipsOf(track)) {
|
|
188
|
+
if (clip.source?.kind !== "media") continue;
|
|
189
|
+
const mediaId = clip.source.mediaId;
|
|
190
|
+
if (typeof mediaId !== "string" || !mediaId) continue;
|
|
191
|
+
if (!overlapsMs(clip.startTime, clip.duration, overlay.startTime, overlay.duration)) {
|
|
192
|
+
continue;
|
|
193
|
+
}
|
|
194
|
+
const trim = clip.source.trim;
|
|
195
|
+
const startSec = typeof trim?.start === "number" ? trim.start : 0;
|
|
196
|
+
const endSec = typeof trim?.end === "number" ? trim.end : startSec + clip.duration;
|
|
197
|
+
return { mediaId, window: { startSec, endSec } };
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
return null;
|
|
201
|
+
}
|
|
202
|
+
async function behindReadinessForOverlay(input) {
|
|
203
|
+
const target = primaryClipForOverlay(input.composition, input.overlayId);
|
|
204
|
+
return behindReadinessForTarget(
|
|
205
|
+
target,
|
|
206
|
+
target ? input.mattesByMediaId[target.mediaId] : void 0
|
|
207
|
+
);
|
|
208
|
+
}
|
|
209
|
+
async function behindReadinessForTarget(target, mattes) {
|
|
210
|
+
if (!target) return { state: "no-clip" };
|
|
211
|
+
const key = await matteIntentKey({ ...target.window, subjectClass: "person" });
|
|
212
|
+
const entry = mattes?.[key];
|
|
213
|
+
if (!entry?.geometryR2Key) return { state: "no-matte", target };
|
|
214
|
+
const presenceFraction = entry.presenceFraction ?? 0;
|
|
215
|
+
if (presenceFraction < MIN_PRESENCE_FOR_BEHIND) {
|
|
216
|
+
return { state: "no-subject", target, presenceFraction };
|
|
217
|
+
}
|
|
218
|
+
return { state: "subject-present", target };
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
// ../composition/src/projection/reframe-readiness.ts
|
|
222
|
+
async function sourceWindowKey(window) {
|
|
223
|
+
const canonical = {
|
|
224
|
+
startSec: Math.round(window.startSec * 1e3) / 1e3,
|
|
225
|
+
endSec: Math.round(window.endSec * 1e3) / 1e3
|
|
226
|
+
};
|
|
227
|
+
if (window.detector && window.detector !== "face") {
|
|
228
|
+
canonical.detector = window.detector;
|
|
229
|
+
}
|
|
230
|
+
const bytes = new TextEncoder().encode(JSON.stringify(canonical));
|
|
231
|
+
const digest = await crypto.subtle.digest("SHA-256", bytes);
|
|
232
|
+
return Array.from(new Uint8Array(digest)).map((b) => b.toString(16).padStart(2, "0")).join("").slice(0, 12);
|
|
233
|
+
}
|
|
234
|
+
var SUBJECT_MODES = /* @__PURE__ */ new Set(["face", "all-faces", "active-speaker"]);
|
|
235
|
+
function reframeNeedsDetection(segments) {
|
|
236
|
+
return segments.some((s) => {
|
|
237
|
+
const mode = s?.focus?.mode;
|
|
238
|
+
return typeof mode === "string" && SUBJECT_MODES.has(mode);
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
function reframeTargets(composition) {
|
|
242
|
+
const tracks = composition?.tracks;
|
|
243
|
+
if (!Array.isArray(tracks)) return [];
|
|
244
|
+
const out = [];
|
|
245
|
+
for (const track of tracks) {
|
|
246
|
+
const kind = track.kind;
|
|
247
|
+
if (kind !== "video" && kind !== "image") continue;
|
|
248
|
+
const contents = track.contents;
|
|
249
|
+
if (!Array.isArray(contents)) continue;
|
|
250
|
+
for (const content of contents) {
|
|
251
|
+
const src = content?.source;
|
|
252
|
+
if (!src || src.kind !== "media") continue;
|
|
253
|
+
const segments = src.reframe?.segments;
|
|
254
|
+
if (!Array.isArray(segments) || segments.length === 0) continue;
|
|
255
|
+
const clipId = content.id;
|
|
256
|
+
const mediaId = src.mediaId;
|
|
257
|
+
if (typeof clipId !== "string" || !clipId) continue;
|
|
258
|
+
if (typeof mediaId !== "string" || !mediaId) continue;
|
|
259
|
+
const duration = content.duration;
|
|
260
|
+
const startSec = typeof src.trim?.start === "number" ? src.trim.start : 0;
|
|
261
|
+
const endSec = typeof src.trim?.end === "number" ? src.trim.end : startSec + (typeof duration === "number" ? duration : 0);
|
|
262
|
+
if (!(endSec > startSec)) continue;
|
|
263
|
+
out.push({ clipId, mediaId, window: { startSec, endSec }, segments });
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
return out;
|
|
267
|
+
}
|
|
268
|
+
async function reframeReadinessForTarget(target, subjectTracks) {
|
|
269
|
+
if (!reframeNeedsDetection(target.segments)) return { state: "geometric" };
|
|
270
|
+
const key = await sourceWindowKey(target.window);
|
|
271
|
+
const entry = subjectTracks?.[key];
|
|
272
|
+
if (!entry) return { state: "no-track" };
|
|
273
|
+
if (typeof entry.trackUrl !== "string" || !entry.trackUrl) {
|
|
274
|
+
return { state: "track-unfetchable", entry };
|
|
275
|
+
}
|
|
276
|
+
return { state: "track-ready", entry, trackUrl: entry.trackUrl };
|
|
277
|
+
}
|
|
278
|
+
|
|
137
279
|
// ../composition/src/projection/occlusion-budget.ts
|
|
138
280
|
var BUDGET = { minBite: 0.15, maxCoverage: 0.65, maxTopHalf: 0.35 };
|
|
139
281
|
var BEHIND_TEXT_EXTENT = { heightFrac: 0.18 };
|
|
@@ -381,6 +523,14 @@ export {
|
|
|
381
523
|
MIN_PRESENCE_FOR_BEHIND,
|
|
382
524
|
BEHIND_BAND,
|
|
383
525
|
deriveBehindAnchor,
|
|
526
|
+
matteIntentKey,
|
|
527
|
+
primaryClipForOverlay,
|
|
528
|
+
behindReadinessForOverlay,
|
|
529
|
+
behindReadinessForTarget,
|
|
530
|
+
sourceWindowKey,
|
|
531
|
+
reframeNeedsDetection,
|
|
532
|
+
reframeTargets,
|
|
533
|
+
reframeReadinessForTarget,
|
|
384
534
|
BUDGET,
|
|
385
535
|
BEHIND_TEXT_EXTENT,
|
|
386
536
|
evaluateOcclusionBudget,
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
getPrimitiveSubtextParam,
|
|
6
6
|
getPrimitiveTextParam
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7FO3ZJ43.js";
|
|
8
8
|
import {
|
|
9
9
|
selectAllOverlays
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZWMV6DD2.js";
|
|
11
11
|
import {
|
|
12
12
|
ComposePlan
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TOJEXFXL.js";
|
|
14
14
|
import {
|
|
15
15
|
OverlayClipSource
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-PODIYN2K.js";
|
|
17
17
|
|
|
18
18
|
// ../authoring/src/tools/toolSets.ts
|
|
19
19
|
var COMPOSE_PLANNER_TOOLS = [
|
|
@@ -65,7 +65,7 @@ var COMPOSE_ROLE_TOOLS = Object.freeze({
|
|
|
65
65
|
// Always reads the LIVE composition. The session-cached context seeds the
|
|
66
66
|
// system prompt only; a tool call must see clips added since the run began.
|
|
67
67
|
handler: async (_args, capabilities) => {
|
|
68
|
-
const { buildDirectorContext } = await import("./context-
|
|
68
|
+
const { buildDirectorContext } = await import("./context-YWUZDG5X.js");
|
|
69
69
|
return buildDirectorContext(capabilities);
|
|
70
70
|
}
|
|
71
71
|
},
|
|
@@ -434,20 +434,26 @@ var CaptionStyle = z.object({
|
|
|
434
434
|
var CaptionSegment = z.object({
|
|
435
435
|
words: z.array(CaptionWord)
|
|
436
436
|
});
|
|
437
|
+
var CaptionDepth = z.enum(["front", "behind-subject"]).optional();
|
|
437
438
|
var CompositionCaptions = z.discriminatedUnion("source", [
|
|
438
439
|
z.object({
|
|
439
440
|
source: z.literal("derived"),
|
|
440
441
|
/** The clip these words are a projection OF. Re-derive from this. */
|
|
441
442
|
from: z.object({ clipId: z.string() }),
|
|
442
443
|
segments: z.array(CaptionSegment),
|
|
443
|
-
style: CaptionStyle.optional()
|
|
444
|
+
style: CaptionStyle.optional(),
|
|
445
|
+
zPlane: CaptionDepth
|
|
444
446
|
}),
|
|
445
447
|
z.object({
|
|
446
448
|
source: z.literal("authored"),
|
|
447
449
|
segments: z.array(CaptionSegment),
|
|
448
|
-
style: CaptionStyle.optional()
|
|
450
|
+
style: CaptionStyle.optional(),
|
|
451
|
+
zPlane: CaptionDepth
|
|
449
452
|
})
|
|
450
453
|
]);
|
|
454
|
+
function captionsAreBehindSubject(captions) {
|
|
455
|
+
return captions?.zPlane === "behind-subject";
|
|
456
|
+
}
|
|
451
457
|
function captionWords(c) {
|
|
452
458
|
return c.segments.flatMap((s) => s.words);
|
|
453
459
|
}
|
|
@@ -707,6 +713,7 @@ export {
|
|
|
707
713
|
CaptionStyle,
|
|
708
714
|
CaptionSegment,
|
|
709
715
|
CompositionCaptions,
|
|
716
|
+
captionsAreBehindSubject,
|
|
710
717
|
captionWords,
|
|
711
718
|
Composition,
|
|
712
719
|
CompositionAuthorKind,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-KYRDKK2D.js";
|
|
4
4
|
import {
|
|
5
5
|
Composition
|
|
6
|
-
} from "./chunk-
|
|
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,
|
package/dist/compose/renderer.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolvePrimitive
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-AP6ZIVAV.js";
|
|
4
4
|
import "../chunk-H5LMJKZU.js";
|
|
5
5
|
import "../chunk-GULDS3VE.js";
|
|
6
6
|
import "../chunk-7DHP4ESU.js";
|
|
@@ -27,13 +27,13 @@ import "../chunk-SW336CJP.js";
|
|
|
27
27
|
import "../chunk-QGAWDLYX.js";
|
|
28
28
|
import "../chunk-ZSZABOE5.js";
|
|
29
29
|
import "../chunk-CX2IIQ4R.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-7FO3ZJ43.js";
|
|
31
31
|
import "../chunk-7PA7FGLD.js";
|
|
32
32
|
import "../chunk-JF4JJAFP.js";
|
|
33
33
|
import {
|
|
34
34
|
CueframeError,
|
|
35
35
|
encodeError
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-OCFDUCF4.js";
|
|
37
37
|
import "../chunk-2ESYSVXG.js";
|
|
38
38
|
|
|
39
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,7 +13,7 @@ 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
18
|
import "./chunk-GULDS3VE.js";
|
|
19
19
|
import "./chunk-7DHP4ESU.js";
|
|
@@ -41,10 +41,10 @@ import {
|
|
|
41
41
|
getPrimitiveSubtextParam,
|
|
42
42
|
getPrimitiveTextParam,
|
|
43
43
|
listPrimitivesByCategory
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import "./chunk-
|
|
44
|
+
} from "./chunk-7FO3ZJ43.js";
|
|
45
|
+
import "./chunk-DK2ODBNT.js";
|
|
46
46
|
import "./chunk-QH3YI3ND.js";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-HY3RIEZW.js";
|
|
48
48
|
import "./chunk-TWQOKKAF.js";
|
|
49
49
|
import "./chunk-JMURQODM.js";
|
|
50
50
|
import "./chunk-7PA7FGLD.js";
|
|
@@ -52,7 +52,7 @@ import "./chunk-KYRDKK2D.js";
|
|
|
52
52
|
import "./chunk-JF4JJAFP.js";
|
|
53
53
|
import "./chunk-DENF4TPI.js";
|
|
54
54
|
import "./chunk-WREYUH2E.js";
|
|
55
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-OCFDUCF4.js";
|
|
56
56
|
import "./chunk-2ESYSVXG.js";
|
|
57
57
|
export {
|
|
58
58
|
allCatalogs,
|
package/dist/composition/ops.js
CHANGED
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
selectMediaClipAt,
|
|
21
21
|
selectSceneMarkers,
|
|
22
22
|
selectTracksByKind
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-ZWMV6DD2.js";
|
|
24
24
|
import "../chunk-KYRDKK2D.js";
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-TOJEXFXL.js";
|
|
26
|
+
import "../chunk-PODIYN2K.js";
|
|
27
27
|
import "../chunk-W35ZMOXB.js";
|
|
28
28
|
import "../chunk-EA6MYCYW.js";
|
|
29
29
|
import "../chunk-WREYUH2E.js";
|
|
@@ -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,
|
|
@@ -59,7 +67,7 @@ import {
|
|
|
59
67
|
apcaLc
|
|
60
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
|
};
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
WebhookDeliveryStatus,
|
|
49
49
|
WebhookDestination,
|
|
50
50
|
YoutubeDestination
|
|
51
|
-
} from "../chunk-
|
|
51
|
+
} from "../chunk-TOJEXFXL.js";
|
|
52
52
|
import {
|
|
53
53
|
ANIMATABLE_PARAMS,
|
|
54
54
|
AlphaLayerClipSource,
|
|
@@ -79,8 +79,9 @@ import {
|
|
|
79
79
|
Track,
|
|
80
80
|
TrackContent,
|
|
81
81
|
Transition,
|
|
82
|
-
captionWords
|
|
83
|
-
|
|
82
|
+
captionWords,
|
|
83
|
+
captionsAreBehindSubject
|
|
84
|
+
} from "../chunk-PODIYN2K.js";
|
|
84
85
|
import {
|
|
85
86
|
AUTHORED_GRAPHIC_KINDS
|
|
86
87
|
} from "../chunk-W35ZMOXB.js";
|
|
@@ -176,5 +177,6 @@ export {
|
|
|
176
177
|
WebhookDeliveryStatus,
|
|
177
178
|
WebhookDestination,
|
|
178
179
|
YoutubeDestination,
|
|
179
|
-
captionWords
|
|
180
|
+
captionWords,
|
|
181
|
+
captionsAreBehindSubject
|
|
180
182
|
};
|
package/dist/composition-ops.js
CHANGED
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
findClipById,
|
|
4
4
|
findMarkerById,
|
|
5
5
|
findTrackContainingClipId
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZWMV6DD2.js";
|
|
7
7
|
import {
|
|
8
8
|
playableSpans
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DK2ODBNT.js";
|
|
10
10
|
import "./chunk-QH3YI3ND.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-HY3RIEZW.js";
|
|
12
12
|
import "./chunk-TWQOKKAF.js";
|
|
13
13
|
import "./chunk-JMURQODM.js";
|
|
14
14
|
import "./chunk-7PA7FGLD.js";
|
|
15
15
|
import "./chunk-KYRDKK2D.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-TOJEXFXL.js";
|
|
17
17
|
import {
|
|
18
18
|
CaptionSegment,
|
|
19
19
|
CaptionStyle,
|
|
@@ -23,14 +23,14 @@ import {
|
|
|
23
23
|
PerClipEffect,
|
|
24
24
|
TimelineClip,
|
|
25
25
|
Track
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-PODIYN2K.js";
|
|
27
27
|
import "./chunk-W35ZMOXB.js";
|
|
28
28
|
import {
|
|
29
29
|
ReframeSegment
|
|
30
30
|
} from "./chunk-EA6MYCYW.js";
|
|
31
31
|
import "./chunk-DENF4TPI.js";
|
|
32
32
|
import "./chunk-WREYUH2E.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-OCFDUCF4.js";
|
|
34
34
|
import "./chunk-2ESYSVXG.js";
|
|
35
35
|
|
|
36
36
|
// ../composition-ops/src/index.ts
|
|
@@ -256,6 +256,8 @@ var GridError = class extends Error {
|
|
|
256
256
|
this.opIndex = opIndex;
|
|
257
257
|
this.name = "GridError";
|
|
258
258
|
}
|
|
259
|
+
code;
|
|
260
|
+
opIndex;
|
|
259
261
|
};
|
|
260
262
|
var GRID_DEFAULT_MAX_MARKERS = 500;
|
|
261
263
|
var GRID_HARD_MAX_MARKERS = 2e3;
|
package/dist/composition.js
CHANGED
|
@@ -19,6 +19,8 @@ import {
|
|
|
19
19
|
CARD_MOTION_VAR_NAMES,
|
|
20
20
|
FRAME_ROUNDING_TOLERANCE,
|
|
21
21
|
MIN_PRESENCE_FOR_BEHIND,
|
|
22
|
+
behindReadinessForOverlay,
|
|
23
|
+
behindReadinessForTarget,
|
|
22
24
|
buildSilhouetteKeepOutOutput,
|
|
23
25
|
buildSubjectsOutput,
|
|
24
26
|
computeCropTransform,
|
|
@@ -28,11 +30,17 @@ import {
|
|
|
28
30
|
estimateCoverage,
|
|
29
31
|
evaluateOcclusionBudget,
|
|
30
32
|
faceKeepOutForWindow,
|
|
33
|
+
matteIntentKey,
|
|
31
34
|
outputToTrajectoryFrame,
|
|
35
|
+
primaryClipForOverlay,
|
|
36
|
+
reframeNeedsDetection,
|
|
37
|
+
reframeReadinessForTarget,
|
|
38
|
+
reframeTargets,
|
|
32
39
|
resolveSegmentAt,
|
|
33
40
|
silhouetteKeepOutForWindow,
|
|
34
|
-
sourceRectToOutput
|
|
35
|
-
|
|
41
|
+
sourceRectToOutput,
|
|
42
|
+
sourceWindowKey
|
|
43
|
+
} from "./chunk-JJ6XD7NG.js";
|
|
36
44
|
import {
|
|
37
45
|
BRAND_TOKEN_REFS,
|
|
38
46
|
BRAND_TOKEN_ROOT_KEYS,
|
|
@@ -123,7 +131,7 @@ import {
|
|
|
123
131
|
WebhookDeliveryStatus,
|
|
124
132
|
WebhookDestination,
|
|
125
133
|
YoutubeDestination
|
|
126
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-TOJEXFXL.js";
|
|
127
135
|
import {
|
|
128
136
|
ANIMATABLE_PARAMS,
|
|
129
137
|
AlphaLayerClipSource,
|
|
@@ -154,8 +162,9 @@ import {
|
|
|
154
162
|
Track,
|
|
155
163
|
TrackContent,
|
|
156
164
|
Transition,
|
|
157
|
-
captionWords
|
|
158
|
-
|
|
165
|
+
captionWords,
|
|
166
|
+
captionsAreBehindSubject
|
|
167
|
+
} from "./chunk-PODIYN2K.js";
|
|
159
168
|
import {
|
|
160
169
|
AUTHORED_GRAPHIC_KINDS
|
|
161
170
|
} from "./chunk-W35ZMOXB.js";
|
|
@@ -177,7 +186,7 @@ import {
|
|
|
177
186
|
isSourceKindCompatible
|
|
178
187
|
} from "./chunk-DENF4TPI.js";
|
|
179
188
|
import "./chunk-WREYUH2E.js";
|
|
180
|
-
import "./chunk-
|
|
189
|
+
import "./chunk-OCFDUCF4.js";
|
|
181
190
|
import "./chunk-2ESYSVXG.js";
|
|
182
191
|
|
|
183
192
|
// ../composition/src/color-grade.ts
|
|
@@ -371,11 +380,14 @@ export {
|
|
|
371
380
|
YoutubeDestination,
|
|
372
381
|
activeFaceKeepOutSeries,
|
|
373
382
|
apcaLc,
|
|
383
|
+
behindReadinessForOverlay,
|
|
384
|
+
behindReadinessForTarget,
|
|
374
385
|
boundingBox,
|
|
375
386
|
buildSilhouetteKeepOutOutput,
|
|
376
387
|
buildSubjectsOutput,
|
|
377
388
|
canonicalJSON,
|
|
378
389
|
captionWords,
|
|
390
|
+
captionsAreBehindSubject,
|
|
379
391
|
captionsBehindEligible,
|
|
380
392
|
checkClipDurationMatchesTrim,
|
|
381
393
|
checkClipKeyframes,
|
|
@@ -409,6 +421,7 @@ export {
|
|
|
409
421
|
faceKeepOutForWindow,
|
|
410
422
|
isSourceKindCompatible,
|
|
411
423
|
lookupSafeZones,
|
|
424
|
+
matteIntentKey,
|
|
412
425
|
normalizePlatform,
|
|
413
426
|
otioFrames,
|
|
414
427
|
otioRationalTime,
|
|
@@ -416,6 +429,10 @@ export {
|
|
|
416
429
|
pickColorGradePreset,
|
|
417
430
|
pickGeometricFocus,
|
|
418
431
|
placeInLegalArea,
|
|
432
|
+
primaryClipForOverlay,
|
|
433
|
+
reframeNeedsDetection,
|
|
434
|
+
reframeReadinessForTarget,
|
|
435
|
+
reframeTargets,
|
|
419
436
|
reframeYield,
|
|
420
437
|
reframeYieldTop,
|
|
421
438
|
resolveBrandKit,
|
|
@@ -429,5 +446,6 @@ export {
|
|
|
429
446
|
silhouetteKeepOutForWindow,
|
|
430
447
|
sourceFrame,
|
|
431
448
|
sourceRectToOutput,
|
|
449
|
+
sourceWindowKey,
|
|
432
450
|
unionFaceKeepOutSeries
|
|
433
451
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildDirectorContext
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-AQBREB5O.js";
|
|
4
|
+
import "./chunk-ZWMV6DD2.js";
|
|
5
5
|
import "./chunk-KYRDKK2D.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-TOJEXFXL.js";
|
|
7
|
+
import "./chunk-PODIYN2K.js";
|
|
8
8
|
import "./chunk-W35ZMOXB.js";
|
|
9
9
|
import "./chunk-EA6MYCYW.js";
|
|
10
10
|
import "./chunk-WREYUH2E.js";
|