@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
|
@@ -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,8 +3,17 @@ import {
|
|
|
3
3
|
findClipById,
|
|
4
4
|
findMarkerById,
|
|
5
5
|
findTrackContainingClipId
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import
|
|
6
|
+
} from "./chunk-ZWMV6DD2.js";
|
|
7
|
+
import {
|
|
8
|
+
playableSpans
|
|
9
|
+
} from "./chunk-DK2ODBNT.js";
|
|
10
|
+
import "./chunk-QH3YI3ND.js";
|
|
11
|
+
import "./chunk-HY3RIEZW.js";
|
|
12
|
+
import "./chunk-TWQOKKAF.js";
|
|
13
|
+
import "./chunk-JMURQODM.js";
|
|
14
|
+
import "./chunk-7PA7FGLD.js";
|
|
15
|
+
import "./chunk-KYRDKK2D.js";
|
|
16
|
+
import "./chunk-TOJEXFXL.js";
|
|
8
17
|
import {
|
|
9
18
|
CaptionSegment,
|
|
10
19
|
CaptionStyle,
|
|
@@ -14,23 +23,14 @@ import {
|
|
|
14
23
|
PerClipEffect,
|
|
15
24
|
TimelineClip,
|
|
16
25
|
Track
|
|
17
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-PODIYN2K.js";
|
|
18
27
|
import "./chunk-W35ZMOXB.js";
|
|
19
28
|
import {
|
|
20
29
|
ReframeSegment
|
|
21
30
|
} from "./chunk-EA6MYCYW.js";
|
|
22
|
-
import {
|
|
23
|
-
playableSpans
|
|
24
|
-
} from "./chunk-6CMVBTTP.js";
|
|
25
|
-
import "./chunk-QH3YI3ND.js";
|
|
26
|
-
import "./chunk-TWQOKKAF.js";
|
|
27
|
-
import "./chunk-JRQVPFLF.js";
|
|
28
|
-
import "./chunk-JMURQODM.js";
|
|
29
|
-
import "./chunk-7PA7FGLD.js";
|
|
30
|
-
import "./chunk-KYRDKK2D.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,
|
|
@@ -68,10 +76,10 @@ import {
|
|
|
68
76
|
resolveLayoutIntent,
|
|
69
77
|
resolveOverlayRegion,
|
|
70
78
|
unionFaceKeepOutSeries
|
|
71
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-FYZVH3MC.js";
|
|
72
80
|
import {
|
|
73
81
|
apcaLc
|
|
74
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-DSMLHYJ4.js";
|
|
75
83
|
import "./chunk-JF4JJAFP.js";
|
|
76
84
|
import {
|
|
77
85
|
AudioPaletteRef,
|
|
@@ -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,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildDirectorContext
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-AQBREB5O.js";
|
|
4
|
+
import "./chunk-ZWMV6DD2.js";
|
|
5
|
+
import "./chunk-KYRDKK2D.js";
|
|
6
|
+
import "./chunk-TOJEXFXL.js";
|
|
7
|
+
import "./chunk-PODIYN2K.js";
|
|
7
8
|
import "./chunk-W35ZMOXB.js";
|
|
8
9
|
import "./chunk-EA6MYCYW.js";
|
|
9
|
-
import "./chunk-KYRDKK2D.js";
|
|
10
10
|
import "./chunk-WREYUH2E.js";
|
|
11
11
|
import "./chunk-2ESYSVXG.js";
|
|
12
12
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../_members/convex-api/dataModel.js";
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./_members/convex-api/api.js";
|
package/dist/core/render.js
CHANGED
|
@@ -41,20 +41,20 @@ import {
|
|
|
41
41
|
sliceTranscriptWords,
|
|
42
42
|
splitIntoSentences,
|
|
43
43
|
validateComposition
|
|
44
|
-
} from "../chunk-
|
|
44
|
+
} from "../chunk-DK2ODBNT.js";
|
|
45
45
|
import {
|
|
46
46
|
buildEasedZooms,
|
|
47
47
|
buildPannedCenters,
|
|
48
48
|
easeOutCubic
|
|
49
49
|
} from "../chunk-QH3YI3ND.js";
|
|
50
|
+
import "../chunk-HY3RIEZW.js";
|
|
50
51
|
import "../chunk-TWQOKKAF.js";
|
|
51
|
-
import "../chunk-JRQVPFLF.js";
|
|
52
52
|
import "../chunk-JMURQODM.js";
|
|
53
53
|
import "../chunk-7PA7FGLD.js";
|
|
54
54
|
import "../chunk-KYRDKK2D.js";
|
|
55
55
|
import "../chunk-DENF4TPI.js";
|
|
56
56
|
import "../chunk-WREYUH2E.js";
|
|
57
|
-
import "../chunk-
|
|
57
|
+
import "../chunk-OCFDUCF4.js";
|
|
58
58
|
import "../chunk-2ESYSVXG.js";
|
|
59
59
|
export {
|
|
60
60
|
CARD_BOOKEND_DEFAULT_MS,
|
package/dist/core/select.js
CHANGED
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
stabilizeIncumbentChallenger,
|
|
8
8
|
stabilizePresenceGate,
|
|
9
9
|
stabilizeSelectionHysteresis
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-HY3RIEZW.js";
|
|
11
|
+
import "../chunk-OCFDUCF4.js";
|
|
12
12
|
import "../chunk-2ESYSVXG.js";
|
|
13
13
|
|
|
14
14
|
// ../execution/core/src/select/errorCodes.ts
|
package/dist/core.js
CHANGED
|
@@ -11,16 +11,16 @@ import {
|
|
|
11
11
|
ensureEven,
|
|
12
12
|
extractCaptionWordsFromDoc,
|
|
13
13
|
isEmphasized
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DK2ODBNT.js";
|
|
15
15
|
import "./chunk-QH3YI3ND.js";
|
|
16
|
+
import "./chunk-HY3RIEZW.js";
|
|
16
17
|
import "./chunk-TWQOKKAF.js";
|
|
17
|
-
import "./chunk-JRQVPFLF.js";
|
|
18
18
|
import "./chunk-JMURQODM.js";
|
|
19
19
|
import "./chunk-7PA7FGLD.js";
|
|
20
20
|
import "./chunk-KYRDKK2D.js";
|
|
21
21
|
import "./chunk-DENF4TPI.js";
|
|
22
22
|
import "./chunk-WREYUH2E.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-OCFDUCF4.js";
|
|
24
24
|
import "./chunk-2ESYSVXG.js";
|
|
25
25
|
export {
|
|
26
26
|
DEFAULT_FPS,
|
package/dist/errors.js
CHANGED
package/dist/mcp/adapter.js
CHANGED
|
@@ -15,15 +15,11 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
CURATED_TOOLS
|
|
17
17
|
} from "../chunk-HI4UTTPS.js";
|
|
18
|
-
import "../chunk-7GISRVON.js";
|
|
19
|
-
import "../chunk-KF5ETMKB.js";
|
|
20
|
-
import {
|
|
21
|
-
tool
|
|
22
|
-
} from "../chunk-VIVQHIGZ.js";
|
|
23
18
|
import "../chunk-2ESYSVXG.js";
|
|
24
19
|
|
|
25
20
|
// ../mcp/src/adapter.ts
|
|
26
21
|
import { z } from "zod";
|
|
22
|
+
import { tool } from "ai";
|
|
27
23
|
|
|
28
24
|
// ../mcp/src/internalLoopTools.ts
|
|
29
25
|
var INTERNAL_LOOP_TOOLS = [
|
|
@@ -149,6 +145,7 @@ var InfraToolError = class extends Error {
|
|
|
149
145
|
this.code = code;
|
|
150
146
|
this.name = "InfraToolError";
|
|
151
147
|
}
|
|
148
|
+
code;
|
|
152
149
|
infra = true;
|
|
153
150
|
};
|
|
154
151
|
function isInfraToolError(v) {
|
package/dist/mcp/server.js
CHANGED
|
@@ -8,11 +8,10 @@ import {
|
|
|
8
8
|
registerRawTools,
|
|
9
9
|
registerSkillPrompts,
|
|
10
10
|
titleCase
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-RF7U3SCL.js";
|
|
12
12
|
import "../chunk-MMEJ3Y7E.js";
|
|
13
13
|
import "../chunk-SIGGQRY2.js";
|
|
14
14
|
import "../chunk-HI4UTTPS.js";
|
|
15
|
-
import "../chunk-NDKERSXY.js";
|
|
16
15
|
import "../chunk-2ESYSVXG.js";
|
|
17
16
|
export {
|
|
18
17
|
RAW_EXCLUDED_OPERATION_IDS,
|
package/dist/mcp.js
CHANGED
|
@@ -4,112 +4,19 @@ import {
|
|
|
4
4
|
makePlatformExecutor
|
|
5
5
|
} from "./chunk-GH27OS5S.js";
|
|
6
6
|
import {
|
|
7
|
-
JSONRPCMessageSchema,
|
|
8
7
|
SERVER_INSTRUCTIONS,
|
|
9
8
|
buildServer,
|
|
10
9
|
registerCuratedTools,
|
|
11
10
|
registerRawTools,
|
|
12
11
|
registerSkillPrompts
|
|
13
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RF7U3SCL.js";
|
|
14
13
|
import "./chunk-MMEJ3Y7E.js";
|
|
15
14
|
import "./chunk-SIGGQRY2.js";
|
|
16
15
|
import "./chunk-HI4UTTPS.js";
|
|
17
|
-
import "./chunk-NDKERSXY.js";
|
|
18
16
|
import "./chunk-2ESYSVXG.js";
|
|
19
17
|
|
|
20
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
21
|
-
import process2 from "process";
|
|
22
|
-
|
|
23
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js
|
|
24
|
-
var ReadBuffer = class {
|
|
25
|
-
append(chunk) {
|
|
26
|
-
this._buffer = this._buffer ? Buffer.concat([this._buffer, chunk]) : chunk;
|
|
27
|
-
}
|
|
28
|
-
readMessage() {
|
|
29
|
-
if (!this._buffer) {
|
|
30
|
-
return null;
|
|
31
|
-
}
|
|
32
|
-
const index = this._buffer.indexOf("\n");
|
|
33
|
-
if (index === -1) {
|
|
34
|
-
return null;
|
|
35
|
-
}
|
|
36
|
-
const line = this._buffer.toString("utf8", 0, index).replace(/\r$/, "");
|
|
37
|
-
this._buffer = this._buffer.subarray(index + 1);
|
|
38
|
-
return deserializeMessage(line);
|
|
39
|
-
}
|
|
40
|
-
clear() {
|
|
41
|
-
this._buffer = void 0;
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
function deserializeMessage(line) {
|
|
45
|
-
return JSONRPCMessageSchema.parse(JSON.parse(line));
|
|
46
|
-
}
|
|
47
|
-
function serializeMessage(message) {
|
|
48
|
-
return JSON.stringify(message) + "\n";
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
// ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@3.25.76/node_modules/@modelcontextprotocol/sdk/dist/esm/server/stdio.js
|
|
52
|
-
var StdioServerTransport = class {
|
|
53
|
-
constructor(_stdin = process2.stdin, _stdout = process2.stdout) {
|
|
54
|
-
this._stdin = _stdin;
|
|
55
|
-
this._stdout = _stdout;
|
|
56
|
-
this._readBuffer = new ReadBuffer();
|
|
57
|
-
this._started = false;
|
|
58
|
-
this._ondata = (chunk) => {
|
|
59
|
-
this._readBuffer.append(chunk);
|
|
60
|
-
this.processReadBuffer();
|
|
61
|
-
};
|
|
62
|
-
this._onerror = (error) => {
|
|
63
|
-
this.onerror?.(error);
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Starts listening for messages on stdin.
|
|
68
|
-
*/
|
|
69
|
-
async start() {
|
|
70
|
-
if (this._started) {
|
|
71
|
-
throw new Error("StdioServerTransport already started! If using Server class, note that connect() calls start() automatically.");
|
|
72
|
-
}
|
|
73
|
-
this._started = true;
|
|
74
|
-
this._stdin.on("data", this._ondata);
|
|
75
|
-
this._stdin.on("error", this._onerror);
|
|
76
|
-
}
|
|
77
|
-
processReadBuffer() {
|
|
78
|
-
while (true) {
|
|
79
|
-
try {
|
|
80
|
-
const message = this._readBuffer.readMessage();
|
|
81
|
-
if (message === null) {
|
|
82
|
-
break;
|
|
83
|
-
}
|
|
84
|
-
this.onmessage?.(message);
|
|
85
|
-
} catch (error) {
|
|
86
|
-
this.onerror?.(error);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
async close() {
|
|
91
|
-
this._stdin.off("data", this._ondata);
|
|
92
|
-
this._stdin.off("error", this._onerror);
|
|
93
|
-
const remainingDataListeners = this._stdin.listenerCount("data");
|
|
94
|
-
if (remainingDataListeners === 0) {
|
|
95
|
-
this._stdin.pause();
|
|
96
|
-
}
|
|
97
|
-
this._readBuffer.clear();
|
|
98
|
-
this.onclose?.();
|
|
99
|
-
}
|
|
100
|
-
send(message) {
|
|
101
|
-
return new Promise((resolve) => {
|
|
102
|
-
const json = serializeMessage(message);
|
|
103
|
-
if (this._stdout.write(json)) {
|
|
104
|
-
resolve();
|
|
105
|
-
} else {
|
|
106
|
-
this._stdout.once("drain", resolve);
|
|
107
|
-
}
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
};
|
|
111
|
-
|
|
112
18
|
// ../mcp/src/index.ts
|
|
19
|
+
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
113
20
|
async function main() {
|
|
114
21
|
const apiKey = process.env.CUEFRAME_API_KEY;
|
|
115
22
|
if (!apiKey) throw new Error("CUEFRAME_API_KEY environment variable is required");
|
|
@@ -1,102 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ALLOWED_CONTENT_TYPES,
|
|
3
|
+
IMAGE_CONTENT_TYPES,
|
|
4
|
+
POOL_EXTENSIONS,
|
|
5
|
+
contentTypeForUpload,
|
|
6
|
+
extensionForContentType,
|
|
7
|
+
mediaKind,
|
|
8
|
+
mediaKindForFilename
|
|
9
|
+
} from "../chunk-6IU2UQI5.js";
|
|
1
10
|
import "../chunk-2ESYSVXG.js";
|
|
2
|
-
|
|
3
|
-
// ../data-models/media-model/src/media-kind.ts
|
|
4
|
-
var IMAGE_CONTENT_TYPES = ["image/png", "image/jpeg", "image/webp"];
|
|
5
|
-
var ALLOWED_CONTENT_TYPES = [
|
|
6
|
-
"video/mp4",
|
|
7
|
-
"video/quicktime",
|
|
8
|
-
"video/x-matroska",
|
|
9
|
-
"video/webm",
|
|
10
|
-
"audio/mpeg",
|
|
11
|
-
"audio/wav",
|
|
12
|
-
"audio/x-wav",
|
|
13
|
-
"audio/mp4",
|
|
14
|
-
"audio/aac",
|
|
15
|
-
"image/png",
|
|
16
|
-
"image/jpeg",
|
|
17
|
-
"image/webp",
|
|
18
|
-
"image/gif",
|
|
19
|
-
"image/svg+xml",
|
|
20
|
-
"application/json",
|
|
21
|
-
"font/ttf",
|
|
22
|
-
"font/otf",
|
|
23
|
-
"font/woff",
|
|
24
|
-
"font/woff2"
|
|
25
|
-
];
|
|
26
|
-
function mediaKind(contentType) {
|
|
27
|
-
const ct = (contentType || "").toLowerCase();
|
|
28
|
-
if (ct.startsWith("video/")) return "video";
|
|
29
|
-
if (ct.startsWith("audio/")) return "audio";
|
|
30
|
-
if (IMAGE_CONTENT_TYPES.includes(ct)) return "image";
|
|
31
|
-
return "opaque";
|
|
32
|
-
}
|
|
33
|
-
var EXT = {
|
|
34
|
-
"video/mp4": "mp4",
|
|
35
|
-
"audio/mp4": "mp4",
|
|
36
|
-
"video/quicktime": "mov",
|
|
37
|
-
"video/x-matroska": "mkv",
|
|
38
|
-
"video/webm": "webm",
|
|
39
|
-
"video/x-msvideo": "avi",
|
|
40
|
-
"audio/mpeg": "mp3",
|
|
41
|
-
"audio/wav": "wav",
|
|
42
|
-
"audio/x-wav": "wav",
|
|
43
|
-
"audio/aac": "aac",
|
|
44
|
-
"audio/ogg": "ogg",
|
|
45
|
-
"audio/flac": "flac",
|
|
46
|
-
"image/png": "png",
|
|
47
|
-
"image/jpeg": "jpg",
|
|
48
|
-
"image/webp": "webp",
|
|
49
|
-
"font/ttf": "ttf",
|
|
50
|
-
"font/otf": "otf",
|
|
51
|
-
"font/woff": "woff",
|
|
52
|
-
"font/woff2": "woff2",
|
|
53
|
-
"application/json": "json",
|
|
54
|
-
"image/svg+xml": "svg",
|
|
55
|
-
"image/gif": "gif"
|
|
56
|
-
};
|
|
57
|
-
function extensionForContentType(contentType) {
|
|
58
|
-
return EXT[(contentType || "").toLowerCase()] ?? "bin";
|
|
59
|
-
}
|
|
60
|
-
var CONTENT_TYPE_ALIASES = {
|
|
61
|
-
"audio/mp3": "audio/mpeg",
|
|
62
|
-
"audio/x-mp3": "audio/mpeg",
|
|
63
|
-
"audio/x-mpeg": "audio/mpeg",
|
|
64
|
-
"audio/mpeg3": "audio/mpeg",
|
|
65
|
-
"audio/x-mpeg-3": "audio/mpeg",
|
|
66
|
-
"audio/x-m4a": "audio/mp4",
|
|
67
|
-
"audio/m4a": "audio/mp4",
|
|
68
|
-
"audio/wave": "audio/wav",
|
|
69
|
-
"audio/vnd.wave": "audio/wav",
|
|
70
|
-
"audio/x-aac": "audio/aac",
|
|
71
|
-
"image/jpg": "image/jpeg",
|
|
72
|
-
"video/x-quicktime": "video/quicktime",
|
|
73
|
-
"video/mov": "video/quicktime",
|
|
74
|
-
"video/x-m4v": "video/mp4",
|
|
75
|
-
"video/mkv": "video/x-matroska"
|
|
76
|
-
};
|
|
77
|
-
var TYPE_BY_EXTENSION = Object.entries(EXT).reduce(
|
|
78
|
-
(acc, [contentType, ext]) => {
|
|
79
|
-
if (!(ext in acc)) acc[ext] = contentType;
|
|
80
|
-
return acc;
|
|
81
|
-
},
|
|
82
|
-
{}
|
|
83
|
-
);
|
|
84
|
-
TYPE_BY_EXTENSION["jpeg"] = "image/jpeg";
|
|
85
|
-
TYPE_BY_EXTENSION["m4a"] = "audio/mp4";
|
|
86
|
-
function mediaKindForFilename(filename) {
|
|
87
|
-
return mediaKind(contentTypeForUpload(filename, null));
|
|
88
|
-
}
|
|
89
|
-
var POOL_EXTENSIONS = Object.entries(TYPE_BY_EXTENSION).filter(([, contentType]) => mediaKind(contentType) !== "opaque").map(([ext]) => ext);
|
|
90
|
-
function contentTypeForUpload(filename, claimed) {
|
|
91
|
-
const ct = (claimed ?? "").trim().toLowerCase();
|
|
92
|
-
const allowed = ALLOWED_CONTENT_TYPES;
|
|
93
|
-
if (ct && allowed.includes(ct)) return ct;
|
|
94
|
-
if (ct && CONTENT_TYPE_ALIASES[ct]) return CONTENT_TYPE_ALIASES[ct];
|
|
95
|
-
const ext = filename.toLowerCase().split(".").pop() ?? "";
|
|
96
|
-
const byExt = TYPE_BY_EXTENSION[ext];
|
|
97
|
-
if (byExt) return byExt;
|
|
98
|
-
return ct;
|
|
99
|
-
}
|
|
100
11
|
export {
|
|
101
12
|
ALLOWED_CONTENT_TYPES,
|
|
102
13
|
IMAGE_CONTENT_TYPES,
|