@cueframe/kernel 0.2.57 → 0.2.59-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/THIRD_PARTY_NOTICES.md +111 -0
- package/dist/_members/account-model/testing/conversationStoreContract.d.ts +3 -4
- package/dist/_members/account-model/testing/restorePointStoreContract.d.ts +3 -4
- package/dist/_members/account-model/validators/index.d.ts +0 -1
- package/dist/_members/animate/index.d.ts +0 -2
- package/dist/_members/authoring/index.d.ts +1 -1
- package/dist/_members/authoring/prompts/index.d.ts +0 -1
- package/dist/_members/authoring/resources.d.ts +2 -11
- package/dist/_members/cloud-import/CloudImportService.d.ts +0 -1
- package/dist/_members/cloud-import/index.d.ts +0 -2
- package/dist/_members/component-runtime/allowedImports.d.ts +6 -0
- package/dist/_members/component-runtime/allowedImports.d.ts.map +1 -1
- package/dist/_members/component-runtime/browserIdentity.d.ts +2 -12
- package/dist/_members/component-runtime/browserIdentity.d.ts.map +1 -1
- package/dist/_members/component-runtime/canonicalIdentity.d.ts +8 -1
- package/dist/_members/component-runtime/canonicalIdentity.d.ts.map +1 -1
- package/dist/_members/component-runtime/contracts.d.ts +2 -1
- package/dist/_members/component-runtime/contracts.d.ts.map +1 -1
- package/dist/_members/component-runtime/identity.d.ts +2 -3
- package/dist/_members/component-runtime/identity.d.ts.map +1 -1
- package/dist/_members/component-runtime/importPolicy.d.ts +5 -0
- package/dist/_members/component-runtime/importPolicy.d.ts.map +1 -1
- package/dist/_members/component-runtime/template/bind.d.ts +22 -0
- package/dist/_members/component-runtime/template/bind.d.ts.map +1 -0
- package/dist/_members/component-runtime/template/checks.d.ts +71 -0
- package/dist/_members/component-runtime/template/checks.d.ts.map +1 -0
- package/dist/_members/component-runtime/template/extract.d.ts +35 -0
- package/dist/_members/component-runtime/template/extract.d.ts.map +1 -0
- package/dist/_members/component-runtime/template/index.d.ts +6 -0
- package/dist/_members/component-runtime/template/index.d.ts.map +1 -0
- package/dist/_members/component-runtime/template/schema.d.ts +1581 -0
- package/dist/_members/component-runtime/template/schema.d.ts.map +1 -0
- package/dist/_members/component-runtime/template/testing/fixtures.d.ts +33 -0
- package/dist/_members/component-runtime/template/testing/fixtures.d.ts.map +1 -0
- package/dist/_members/component-runtime/template/testing/index.d.ts +3 -0
- package/dist/_members/component-runtime/template/testing/index.d.ts.map +1 -0
- package/dist/_members/component-runtime/template/testing/templateApplyContract.d.ts +53 -0
- package/dist/_members/component-runtime/template/testing/templateApplyContract.d.ts.map +1 -0
- package/dist/_members/component-runtime/testing/sourcePolicyCases.d.ts +15 -0
- package/dist/_members/component-runtime/testing/sourcePolicyCases.d.ts.map +1 -0
- package/dist/_members/component-runtime/webglProbe.d.ts.map +1 -1
- package/dist/_members/compose/index.d.ts +1 -1
- package/dist/_members/compose/primitiveRegistry.d.ts +0 -2
- package/dist/_members/composition/audio/audioMix.d.ts +0 -1
- package/dist/_members/composition/audio/mixStaging.d.ts +0 -5
- package/dist/_members/composition/fixtures/index.d.ts +0 -1
- package/dist/_members/composition/graphics-plan/index.d.ts +0 -2
- package/dist/_members/composition/graphics-plan/schemas.d.ts +4 -4
- package/dist/_members/composition/invariants/etag.d.ts +0 -1
- package/dist/_members/composition/invariants/index.d.ts +0 -1
- package/dist/_members/composition/ops/compositionOps.d.ts +0 -1
- package/dist/_members/composition/ops/compositionOps.shared.d.ts +6 -0
- package/dist/_members/composition/ops/index.d.ts +2 -1
- package/dist/_members/composition/primitive-catalog/index.d.ts +2 -3
- package/dist/_members/composition/primitive-catalog/types.d.ts +3 -1
- package/dist/_members/composition/projection/behind-readiness.d.ts +0 -6
- package/dist/_members/composition/timeline/link.d.ts +0 -4
- package/dist/_members/composition/timeline/plan.d.ts +0 -1
- package/dist/_members/composition/validators/brandKit.d.ts +11 -4
- package/dist/_members/composition/validators/brandKitBody.d.ts +543 -0
- package/dist/_members/composition/validators/cardHtml.d.ts +11 -0
- package/dist/_members/composition/validators/composition.d.ts +2 -5
- package/dist/_members/composition/validators/css-tree-subpaths.d.ts +16 -0
- package/dist/_members/composition/validators/index.d.ts +0 -3
- package/dist/_members/composition/validators/session.d.ts +3 -3
- package/dist/_members/composition/validators/webhook.d.ts +4 -4
- package/dist/_members/composition-ops/alphaLayers.d.ts +0 -5
- package/dist/_members/composition-ops/index.d.ts +2 -2
- package/dist/_members/composition-ops/opRecorder.d.ts +23 -3
- package/dist/_members/core/render/exportSettings.d.ts +4 -2
- package/dist/_members/core/render/index.d.ts +1 -1
- package/dist/_members/core/render/vcam/requiredRegion.d.ts +0 -1
- package/dist/_members/director/ai-sdk/index.d.ts +0 -1
- package/dist/_members/director/ai-sdk/messages.d.ts +0 -1
- package/dist/_members/director/domain/chat.d.ts +0 -78
- package/dist/_members/director/domain/index.d.ts +0 -1
- package/dist/_members/errors/registry.d.ts +42 -0
- package/dist/_members/foundation/canonical/index.d.ts +14 -0
- package/dist/_members/foundation/index.d.ts +1 -1
- package/dist/_members/foundation/primitives/index.d.ts +0 -2
- package/dist/_members/foundation/testing/index.d.ts +1 -0
- package/dist/_members/foundation/testing/knownRed.d.ts +13 -0
- package/dist/_members/mcp/adapter.d.ts +21 -0
- package/dist/_members/mcp/compositionOps.d.ts +10 -0
- package/dist/_members/mcp/server.d.ts +0 -2
- package/dist/_members/mcp/wait.d.ts +3 -1
- package/dist/_members/media-model/generation.d.ts +0 -25
- package/dist/_members/nle-export/xml-utils.d.ts +0 -8
- package/dist/_members/plane/conformance.d.ts +20 -0
- package/dist/_members/primitives/backgrounds/dynamic-grid/config.d.ts +1 -1
- package/dist/_members/primitives/effects/blur/config.d.ts +1 -1
- package/dist/_members/primitives/effects/color-grade/config.d.ts +2 -2
- package/dist/_members/primitives/effects/grain/config.d.ts +3 -3
- package/dist/_members/primitives/effects/particles/config.d.ts +2 -2
- package/dist/_members/primitives/effects/stage-camera/config.d.ts +6 -6
- package/dist/_members/primitives/effects/vignette/config.d.ts +1 -1
- package/dist/_members/primitives/index.d.ts +1 -11
- package/dist/_members/primitives/layouts/flex-layout/config.d.ts +3 -3
- package/dist/_members/primitives/layouts/picture-in-picture/config.d.ts +2 -2
- package/dist/_members/primitives/lib/index.d.ts +1 -1
- package/dist/_members/primitives/lib/tokens.d.ts +0 -16
- package/dist/_members/primitives/lib/types.d.ts +1 -1
- package/dist/_members/primitives/scenes/device-showcase/config.d.ts +7 -7
- package/dist/_members/primitives/text/cinematic-title/config.d.ts +3 -3
- package/dist/_members/primitives/text/karaoke/config.d.ts +1 -1
- package/dist/_members/primitives/text/kinetic-type/config.d.ts +3 -3
- package/dist/_members/primitives/text/stat-counter/config.d.ts +1 -1
- package/dist/_members/primitives/text/text-effect/config.d.ts +2 -2
- package/dist/_members/primitives/transitions/grid-pixelate-wipe/config.d.ts +1 -1
- package/dist/_members/primitives/ui-blocks/badge-pop/config.d.ts +3 -3
- package/dist/_members/primitives/ui-blocks/terminal-simulator/config.d.ts +2 -2
- package/dist/_members/primitives/ui-blocks/toast-notification/config.d.ts +2 -2
- package/dist/_members/render-harness/cardAssetAdmission.d.ts +1 -0
- package/dist/_members/render-harness/cardAssetAdmission.d.ts.map +1 -1
- package/dist/_members/render-harness/cardRender.d.ts.map +1 -1
- package/dist/_members/render-harness/materializeSources.d.ts.map +1 -1
- package/dist/_members/render-harness/mediaServer.d.ts +6 -1
- package/dist/_members/render-harness/mediaServer.d.ts.map +1 -1
- package/dist/account-model/testing.js +15 -5
- package/dist/account-model/validators.js +5 -7
- package/dist/account-model.js +5 -7
- package/dist/animate/preparation-facts.js +1 -1
- package/dist/animate.js +2 -6
- package/dist/authoring/composer.js +1 -1
- package/dist/authoring/context.js +8 -6
- package/dist/authoring/models/defaults.d.ts +1 -0
- package/dist/authoring/models/defaults.js +7 -0
- package/dist/authoring/models.js +5 -3
- package/dist/authoring/motion.d.ts +1 -0
- package/dist/authoring/motion.js +25 -0
- package/dist/authoring/prompts.js +4 -14
- package/dist/authoring/providers.js +1 -1
- package/dist/authoring/resource-routing.js +2 -2
- package/dist/authoring/resources.js +4 -22
- package/dist/authoring/scene.js +3 -2
- package/dist/authoring.js +662 -218
- package/dist/brand-derivation/constants.js +1 -1
- package/dist/brand-derivation.js +1 -1
- package/dist/{chunk-TKFLSGAS.js → chunk-25JH5QZA.js} +2 -2
- package/dist/{chunk-LBJ5LI5V.js → chunk-2K2GBFLU.js} +17 -8
- package/dist/{chunk-RAXHCRVV.js → chunk-2PAP5LO5.js} +1 -1
- package/dist/{chunk-JPMVNMF3.js → chunk-3HLDIIWA.js} +1 -1
- package/dist/{chunk-PTVTWQ4T.js → chunk-3JEUNKDK.js} +2 -2
- package/dist/chunk-3VWJ3H4X.js +68 -0
- package/dist/{chunk-S5H6GH6M.js → chunk-3Z7CN54H.js} +1 -1
- package/dist/{chunk-FVDFPJHT.js → chunk-46WBCUPE.js} +1 -1
- package/dist/chunk-4VBLQIM5.js +30 -0
- package/dist/{chunk-N2OZDD44.js → chunk-6HA55CRU.js} +4 -5
- package/dist/{chunk-WL2MLKWU.js → chunk-6HPEMDQW.js} +1 -1
- package/dist/chunk-6KZCXAYL.js +257 -0
- package/dist/{chunk-IEXAKOEX.js → chunk-6QGARSV6.js} +2 -15
- package/dist/{chunk-3YVIAWET.js → chunk-7II5OM7R.js} +13 -1
- package/dist/{chunk-VLJOIUHL.js → chunk-7PSQUTL5.js} +3 -3
- package/dist/{chunk-UFD4EZHM.js → chunk-AFUITAH6.js} +4 -5
- package/dist/{chunk-HGCYZMII.js → chunk-AK6QPX7A.js} +9 -9
- package/dist/{chunk-EC6VFQE6.js → chunk-BZVOCVQV.js} +1 -0
- package/dist/{chunk-RBWS5XHE.js → chunk-CAF7BRNE.js} +2 -2
- package/dist/chunk-CEO47DIE.js +199 -0
- package/dist/chunk-CIOUDOGN.js +12 -0
- package/dist/{chunk-BDFAA747.js → chunk-DCKADD5B.js} +1 -1
- package/dist/{chunk-7AZLFN26.js → chunk-EISHFHU5.js} +20 -20
- package/dist/chunk-EQH37KNZ.js +224 -0
- package/dist/{chunk-EXY4JJPH.js → chunk-F6PLDBAK.js} +2 -11
- package/dist/{chunk-DAARYRNT.js → chunk-FKSXKS35.js} +6 -6
- package/dist/{chunk-KBDUEU4W.js → chunk-FZB7UX44.js} +1 -1
- package/dist/chunk-H2ZZXISB.js +24 -0
- package/dist/{chunk-WSMCZRJ2.js → chunk-I2HNC4PQ.js} +1 -1
- package/dist/{chunk-VXGA7LQQ.js → chunk-IUJABAG2.js} +14 -10
- package/dist/{chunk-MZB4ZXYW.js → chunk-IVFMOHAC.js} +1 -9
- package/dist/{chunk-UKDBU7HM.js → chunk-JNBNDHEF.js} +3 -3
- package/dist/{chunk-JWMWVP64.js → chunk-KC4LNZL5.js} +4 -9
- package/dist/{chunk-GCQ7Z7S7.js → chunk-KKATUGRU.js} +3 -9
- package/dist/{chunk-Q5P5UFOP.js → chunk-KLQ53NX3.js} +13 -1
- package/dist/{chunk-UMXES6ED.js → chunk-LVMWPFV4.js} +1 -1
- package/dist/chunk-NECN7TT4.js +367 -0
- package/dist/{chunk-4ZE564YF.js → chunk-NM7NWXGF.js} +0 -146
- package/dist/{chunk-KSRFYFUZ.js → chunk-NY6EI5YW.js} +4 -4
- package/dist/{chunk-4PV3UYJF.js → chunk-ONSGT6UJ.js} +257 -226
- package/dist/{chunk-VZ7TYX6Z.js → chunk-P3EFZDM5.js} +0 -17
- package/dist/{chunk-BEFSJMFF.js → chunk-P6RVYHLT.js} +9 -9
- package/dist/{chunk-TBHSOEYK.js → chunk-PLWDYWK6.js} +4 -34
- package/dist/{chunk-KYRDKK2D.js → chunk-Q6CJ6HCU.js} +1 -6
- package/dist/{chunk-FWSJLHSV.js → chunk-R642352J.js} +1 -1
- package/dist/{chunk-XELS2BGA.js → chunk-R6HTIP3N.js} +1 -3
- package/dist/{chunk-RL5SO653.js → chunk-RQRPSSRT.js} +1 -1
- package/dist/chunk-RR7UBEBV.js +172 -0
- package/dist/{chunk-FHMTAZD4.js → chunk-RWJHZCOR.js} +1 -71
- package/dist/{chunk-73DQTUWY.js → chunk-TIAJMEQ4.js} +2 -22
- package/dist/{chunk-2ESYSVXG.js → chunk-U67V476Y.js} +2 -15
- package/dist/{chunk-N54EGUVM.js → chunk-U7KSOA2L.js} +4 -21
- package/dist/{chunk-K66NLMGX.js → chunk-UGWJC4GA.js} +62 -18
- package/dist/chunk-VBYINB74.js +136 -0
- package/dist/{chunk-W2245F6G.js → chunk-WTQRLFR2.js} +1 -1
- package/dist/{chunk-Z4G3VM3H.js → chunk-X2RTLS6K.js} +2 -23
- package/dist/chunk-XHMKPTHV.js +20 -0
- package/dist/{chunk-R7G2PNEZ.js → chunk-XOT2VWCO.js} +13 -28
- package/dist/{chunk-E63UEO5C.js → chunk-XQGQ5EFS.js} +16 -1
- package/dist/chunk-XR76OZKC.js +21 -0
- package/dist/chunk-ZCEYEIRB.js +179 -0
- package/dist/{chunk-IMIUHG2E.js → chunk-ZPJQ3TQL.js} +1 -3
- package/dist/cloud-import.js +1 -16
- package/dist/component-runtime/browserOptions.js +4 -3
- package/dist/component-runtime/contracts.js +2 -2
- package/dist/component-runtime/identity/browser.js +2 -17
- package/dist/component-runtime/identity.js +5 -7
- package/dist/component-runtime/importPolicy.js +3 -3
- package/dist/component-runtime/mediaResolution.js +1 -1
- package/dist/component-runtime/render.js +8 -7
- package/dist/component-runtime/sourceAdmission.js +3 -3
- package/dist/component-runtime/template/testing.d.ts +1 -0
- package/dist/component-runtime/template/testing.js +383 -0
- package/dist/component-runtime/template.d.ts +1 -0
- package/dist/component-runtime/template.js +251 -0
- package/dist/component-runtime.js +27 -28
- package/dist/compose.js +22 -39
- package/dist/composition/audio.js +4 -8
- package/dist/composition/brand-kit.js +1 -1
- package/dist/composition/brief.js +1 -1
- package/dist/composition/card-html.d.ts +1 -0
- package/dist/composition/card-html.js +15 -0
- package/dist/composition/depth.js +1 -1
- package/dist/composition/floors.js +2 -2
- package/dist/composition/fonts.js +1 -1
- package/dist/composition/graphics-plan.js +4 -44
- package/dist/composition/invariants.js +5 -12
- package/dist/composition/ops.js +7 -5
- package/dist/composition/primitive-catalog.js +4 -6
- package/dist/composition/projection.js +3 -5
- package/dist/composition/reframe/coverage.js +1 -1
- package/dist/composition/reframe/kenBurns.js +1 -1
- package/dist/composition/reframe/shotScale.js +1 -1
- package/dist/composition/reframe/trajectory.js +1 -1
- package/dist/composition/reframe.js +1 -1
- package/dist/composition/scene/budget-policy.js +1 -1
- package/dist/composition/scene.js +1 -1
- package/dist/composition/timeline.js +4 -8
- package/dist/composition/validators/brand-kit-body.d.ts +1 -0
- package/dist/composition/validators/brand-kit-body.js +18 -0
- package/dist/composition/validators/graphic-kinds.js +1 -1
- package/dist/composition/validators.js +16 -69
- package/dist/composition-ops.js +17 -15
- package/dist/composition.js +21 -83
- package/dist/context-7SWSVJ6Z.js +17 -0
- package/dist/core/render.js +13 -9
- package/dist/core/select.js +3 -3
- package/dist/core.js +9 -9
- package/dist/director/ai-sdk.js +7 -11
- package/dist/director/domain.js +9 -17
- package/dist/director.js +9 -21
- package/dist/{dist-LAJ2363K.js → dist-6FO67KVA.js} +1 -1
- package/dist/errors.js +2 -2
- package/dist/foundation/canonical.d.ts +1 -0
- package/dist/foundation/canonical.js +7 -0
- package/dist/foundation/primitives.js +4 -6
- package/dist/foundation/testing.d.ts +1 -0
- package/dist/foundation/testing.js +7 -0
- package/dist/foundation.js +7 -9
- package/dist/{magic-string.es-SDTMJBWP.js → magic-string.es-KVSW34UD.js} +1 -1
- package/dist/mcp/adapter.js +8 -16
- package/dist/mcp/composition-ops.d.ts +1 -0
- package/dist/mcp/composition-ops.js +11 -0
- package/dist/mcp/core.js +2 -2
- package/dist/mcp/curation.js +1 -1
- package/dist/mcp/executor.js +1 -1
- package/dist/mcp/scene-shot.js +3 -3
- package/dist/mcp/server.js +6 -30
- package/dist/mcp/wire-schema.js +13 -2
- package/dist/mcp.js +11 -33
- package/dist/media-model/generation.js +6 -8
- package/dist/media-model/media-kind.js +1 -1
- package/dist/media-model/testing.js +2 -2
- package/dist/media-model/transcriptSearch.js +1 -1
- package/dist/media-model.js +6 -8
- package/dist/nle-export/xml.js +1 -1
- package/dist/nle-export.js +2 -2
- package/dist/perception.js +1 -1
- package/dist/plane/conformance.js +8 -4
- package/dist/plane/contract.js +1 -1
- package/dist/plane.js +8 -4
- package/dist/primitives/backgrounds.js +3 -3
- package/dist/primitives/captions.js +5 -5
- package/dist/primitives/effects.js +4 -4
- package/dist/primitives/hero-text.js +4 -4
- package/dist/primitives/layouts.js +4 -4
- package/dist/primitives/lib/easings.js +1 -1
- package/dist/primitives/lib/frameScale.js +1 -1
- package/dist/primitives/lib/index.js +7 -13
- package/dist/primitives/lib/palette.js +2 -2
- package/dist/primitives/lib/preview.js +1 -1
- package/dist/primitives/lib/schema.js +1 -1
- package/dist/primitives/lib/seeded-random.js +1 -1
- package/dist/primitives/lib/text/contrast.js +3 -3
- package/dist/primitives/lib/text/fill.js +1 -1
- package/dist/primitives/lib/text/fitText.js +1 -1
- package/dist/primitives/lib/text/marker.js +1 -1
- package/dist/primitives/lib/text/motion.js +1 -1
- package/dist/primitives/lib/text/recolor.js +1 -1
- package/dist/primitives/lib/text/stage.js +1 -1
- package/dist/primitives/lib/text/typeface.js +1 -1
- package/dist/primitives/lib/tokens.js +4 -11
- package/dist/primitives/lib.js +7 -13
- package/dist/primitives/scenes.js +5 -5
- package/dist/primitives/subject-foreground.js +1 -1
- package/dist/primitives/text.js +4 -4
- package/dist/primitives/transitions.js +3 -3
- package/dist/primitives/ui-blocks.js +5 -5
- package/dist/primitives/workspace.js +1 -1
- package/dist/primitives.js +18 -32
- package/dist/render-harness/cardAssetAdmission.js +4 -4
- package/dist/render-harness/cardFonts.js +3 -3
- package/dist/render-harness/renderInputAssets.js +4 -4
- package/dist/render-harness.js +100 -82
- package/dist/src-XI5MULKD.js +71 -0
- package/package.json +51 -61
- package/dist/_members/account-model/validators/workingComposition.d.ts +0 -11
- package/dist/_members/animate/animations/index.d.ts +0 -9
- package/dist/_members/animate/easing/index.d.ts +0 -3
- package/dist/_members/animate/mobjects/index.d.ts +0 -4
- package/dist/_members/animate/scene/internal.d.ts +0 -29
- package/dist/_members/authoring/prompts/graphics.d.ts +0 -9
- package/dist/_members/cloud-import/cloudConfig.d.ts +0 -2
- package/dist/_members/composition/autozoom/index.d.ts +0 -25
- package/dist/_members/composition/graphics-plan/instantiateMotif.d.ts +0 -34
- package/dist/_members/composition/invariants/time.d.ts +0 -14
- package/dist/_members/composition/types/index.d.ts +0 -8
- package/dist/_members/composition/validators/font.d.ts +0 -58
- package/dist/_members/composition/validators/registry.d.ts +0 -79
- package/dist/_members/composition/validators/render.d.ts +0 -2068
- package/dist/_members/director/ai-sdk/chunks.d.ts +0 -14
- package/dist/_members/director/domain/ports.d.ts +0 -32
- package/dist/_members/director/testing/contract.d.ts +0 -52
- package/dist/_members/director/testing/index.d.ts +0 -1
- package/dist/_members/foundation/codes/index.d.ts +0 -10
- package/dist/_members/nle-export/server/index.d.ts +0 -1
- package/dist/_members/nle-export/server/pack-zip.d.ts +0 -6
- package/dist/_members/render-harness/assetRefs.d.ts +0 -26
- package/dist/_members/render-harness/assetRefs.d.ts.map +0 -1
- package/dist/_members/render-harness/remotion-runtime.d.ts +0 -87
- package/dist/authoring/build-tools.d.ts +0 -1
- package/dist/authoring/build-tools.js +0 -27
- package/dist/authoring/capabilities.d.ts +0 -1
- package/dist/authoring/capabilities.js +0 -11
- package/dist/authoring/pipelineTrace.d.ts +0 -1
- package/dist/authoring/pipelineTrace.js +0 -7
- package/dist/authoring/tools.d.ts +0 -1
- package/dist/authoring/tools.js +0 -30
- package/dist/chunk-AXRSCHQX.js +0 -661
- package/dist/chunk-DV7ZFVL4.js +0 -116
- package/dist/chunk-GF52TW4I.js +0 -51
- package/dist/chunk-JOURGVOR.js +0 -27
- package/dist/chunk-LBN5KQC6.js +0 -384
- package/dist/chunk-OSMXQV5V.js +0 -18
- package/dist/chunk-QDBVYZSF.js +0 -128
- package/dist/chunk-RERR5JLM.js +0 -197
- package/dist/chunk-U3JPILZS.js +0 -15
- package/dist/chunk-Y4HPN4BC.js +0 -364
- package/dist/composition/autozoom.d.ts +0 -1
- package/dist/composition/autozoom.js +0 -76
- package/dist/composition/fixtures.d.ts +0 -1
- package/dist/composition/fixtures.js +0 -154
- package/dist/composition/types.d.ts +0 -1
- package/dist/composition/types.js +0 -0
- package/dist/context-6HPUO36M.js +0 -15
- package/dist/director/testing.d.ts +0 -1
- package/dist/director/testing.js +0 -22
- package/dist/foundation/codes.d.ts +0 -1
- package/dist/foundation/codes.js +0 -7
- package/dist/nle-export/server.d.ts +0 -1
- package/dist/nle-export/server.js +0 -25856
- /package/dist/{chunk-FTVZF4GO.js → chunk-S432RE6G.js} +0 -0
package/dist/brand-derivation.js
CHANGED
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
TEXT_MUTED,
|
|
18
18
|
VIOLET,
|
|
19
19
|
WARNING
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-WTQRLFR2.js";
|
|
21
21
|
import {
|
|
22
22
|
CAMERA_PRESETS,
|
|
23
23
|
DEFAULT_CAMERA,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
perspectiveFor,
|
|
27
27
|
resolveCamera,
|
|
28
28
|
useStage
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-RWJHZCOR.js";
|
|
30
30
|
|
|
31
31
|
// ../execution/primitives/src/effects/blur/index.tsx
|
|
32
32
|
import React2 from "react";
|
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Composition
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AFUITAH6.js";
|
|
4
4
|
import {
|
|
5
5
|
expandToLinkGroup
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Q6CJ6HCU.js";
|
|
7
7
|
|
|
8
8
|
// ../composition/src/ops/compositionOps.shared.ts
|
|
9
9
|
var TIMELINE_BOUNDARY_EPSILON_SECONDS = 1e-9;
|
|
10
|
+
function nextTrackId(composition, kind) {
|
|
11
|
+
const used = new Set(composition.tracks.map((t) => t.id));
|
|
12
|
+
for (let n = 1; ; n += 1) {
|
|
13
|
+
const id = `track-${kind}-${n}`;
|
|
14
|
+
if (!used.has(id)) return id;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
10
17
|
function findOrCreateTrackByKind(composition, kind) {
|
|
11
18
|
const existing = composition.tracks.find((t) => t.kind === kind);
|
|
12
19
|
if (existing) return existing;
|
|
13
20
|
const track = {
|
|
14
|
-
id:
|
|
21
|
+
id: nextTrackId(composition, kind),
|
|
15
22
|
kind,
|
|
16
23
|
contents: []
|
|
17
24
|
};
|
|
@@ -190,7 +197,7 @@ function createCompositionOps(get, set) {
|
|
|
190
197
|
set((draft) => {
|
|
191
198
|
if (options?.newTrack) {
|
|
192
199
|
const track = {
|
|
193
|
-
id: options.newTrackId ??
|
|
200
|
+
id: options.newTrackId ?? nextTrackId(draft.composition, "video"),
|
|
194
201
|
kind: "video",
|
|
195
202
|
contents: [clip]
|
|
196
203
|
};
|
|
@@ -213,7 +220,7 @@ function createCompositionOps(get, set) {
|
|
|
213
220
|
}
|
|
214
221
|
if (target.newTrack) {
|
|
215
222
|
draft.composition.tracks.push({
|
|
216
|
-
id: target.newTrackId ??
|
|
223
|
+
id: target.newTrackId ?? nextTrackId(draft.composition, target.kind),
|
|
217
224
|
kind: target.kind,
|
|
218
225
|
contents: [clip]
|
|
219
226
|
});
|
|
@@ -435,7 +442,7 @@ function createCompositionOps(get, set) {
|
|
|
435
442
|
draft.composition.tracks = draft.composition.tracks.filter((t) => t.kind !== "overlay");
|
|
436
443
|
if (clips.length > 0) {
|
|
437
444
|
draft.composition.tracks.push({
|
|
438
|
-
id:
|
|
445
|
+
id: nextTrackId(draft.composition, "overlay"),
|
|
439
446
|
kind: "overlay",
|
|
440
447
|
contents: clips
|
|
441
448
|
});
|
|
@@ -770,7 +777,7 @@ function createCompositionOps(get, set) {
|
|
|
770
777
|
addTrack: (kind, name, id) => {
|
|
771
778
|
set((draft) => {
|
|
772
779
|
const track = {
|
|
773
|
-
id: id ??
|
|
780
|
+
id: id ?? nextTrackId(draft.composition, kind),
|
|
774
781
|
kind,
|
|
775
782
|
name,
|
|
776
783
|
contents: []
|
|
@@ -851,7 +858,9 @@ function createCompositionOps(get, set) {
|
|
|
851
858
|
if (next.startTime >= placementStart + original.duration) break;
|
|
852
859
|
placementStart = next.startTime + next.duration;
|
|
853
860
|
}
|
|
854
|
-
|
|
861
|
+
let n = 1;
|
|
862
|
+
while (findClipById(draft.composition, `${original.id}-dup-${n}`)) n += 1;
|
|
863
|
+
newId = `${original.id}-dup-${n}`;
|
|
855
864
|
const copy = { ...original, id: newId, startTime: placementStart };
|
|
856
865
|
delete copy.linkGroupId;
|
|
857
866
|
track.contents.splice(idx + 1, 0, copy);
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
TEXT_HI,
|
|
22
22
|
TEXT_MUTED,
|
|
23
23
|
VIOLET
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-WTQRLFR2.js";
|
|
25
25
|
import {
|
|
26
26
|
FlexLayout
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-RWJHZCOR.js";
|
|
28
28
|
|
|
29
29
|
// ../execution/primitives/src/layouts/chat-to-preview-layout/index.tsx
|
|
30
30
|
import { Easing, interpolate, useCurrentFrame, useVideoConfig } from "remotion";
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// ../execution/primitives/src/lib/tokens.ts
|
|
2
|
+
var CONTRAST_CRITICAL_PATHS = /* @__PURE__ */ new Set([
|
|
3
|
+
"colors.text",
|
|
4
|
+
"colors.textMuted",
|
|
5
|
+
"colors.textOnMedia",
|
|
6
|
+
"colors.textOnAccent",
|
|
7
|
+
"colors.textOnSurface",
|
|
8
|
+
"caption.fg",
|
|
9
|
+
"caption.scrim"
|
|
10
|
+
]);
|
|
11
|
+
function isContrastCritical(brandKitPath) {
|
|
12
|
+
return CONTRAST_CRITICAL_PATHS.has(brandKitPath);
|
|
13
|
+
}
|
|
14
|
+
var FROZEN_CORE_PATHS = [
|
|
15
|
+
"colors.background",
|
|
16
|
+
"colors.surface",
|
|
17
|
+
"colors.card",
|
|
18
|
+
"colors.text",
|
|
19
|
+
"colors.textMuted",
|
|
20
|
+
"colors.textOnMedia",
|
|
21
|
+
"colors.border",
|
|
22
|
+
"colors.gridLine",
|
|
23
|
+
"colors.accent",
|
|
24
|
+
"colors.accentMuted",
|
|
25
|
+
"colors.textOnAccent",
|
|
26
|
+
"colors.textOnSurface",
|
|
27
|
+
"caption.fg",
|
|
28
|
+
"caption.scrim",
|
|
29
|
+
"fonts.heading",
|
|
30
|
+
"fonts.body",
|
|
31
|
+
"fonts.caption",
|
|
32
|
+
"motion.duration",
|
|
33
|
+
"motion.easing",
|
|
34
|
+
"motion.entrance",
|
|
35
|
+
"motion.staggerMs",
|
|
36
|
+
"motion.exitMs",
|
|
37
|
+
"spacing.base",
|
|
38
|
+
"spacing.lg",
|
|
39
|
+
"spacing.sm",
|
|
40
|
+
"sizing.fontSizeHeading",
|
|
41
|
+
"sizing.fontSizeBody",
|
|
42
|
+
"sizing.fontSizeLabel",
|
|
43
|
+
"sizing.borderRadius"
|
|
44
|
+
];
|
|
45
|
+
var TIER2B_EXTENSION_PATHS = [
|
|
46
|
+
"colors.terminal",
|
|
47
|
+
"colors.chrome",
|
|
48
|
+
"colors.overlay",
|
|
49
|
+
"colors.accentHue"
|
|
50
|
+
];
|
|
51
|
+
var ALLOWED_BRAND_PATHS = [
|
|
52
|
+
...FROZEN_CORE_PATHS,
|
|
53
|
+
...TIER2B_EXTENSION_PATHS
|
|
54
|
+
];
|
|
55
|
+
var BRAND_REF_PREFIX = "$brand:";
|
|
56
|
+
function lintBrandPath(p) {
|
|
57
|
+
const path = p.startsWith(BRAND_REF_PREFIX) ? p.slice(BRAND_REF_PREFIX.length) : p;
|
|
58
|
+
return ALLOWED_BRAND_PATHS.includes(path);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export {
|
|
62
|
+
CONTRAST_CRITICAL_PATHS,
|
|
63
|
+
isContrastCritical,
|
|
64
|
+
FROZEN_CORE_PATHS,
|
|
65
|
+
TIER2B_EXTENSION_PATHS,
|
|
66
|
+
ALLOWED_BRAND_PATHS,
|
|
67
|
+
lintBrandPath
|
|
68
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// ../mcp/src/compositionOps.ts
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
var DESCRIBE_COMPOSITION_OPS_DESCRIPTION = "Discover the exact CompositionOp vocabulary accepted by apply_composition. Omit type for a compact list of operation names and descriptions; pass type for only that operation's JSON Schema. Read this before authoring edits or captions.";
|
|
4
|
+
var DescribeCompositionOpsInput = z.object({
|
|
5
|
+
type: z.string().optional().describe("Exact CompositionOp type, such as captions.fromComposition. Omit for the operation list.")
|
|
6
|
+
});
|
|
7
|
+
async function describeCompositionOps(type) {
|
|
8
|
+
const { CompositionOp } = await import("./src-XI5MULKD.js");
|
|
9
|
+
const variants = CompositionOp.options;
|
|
10
|
+
const knownTypes = variants.map((variant2) => variant2.shape.type.value);
|
|
11
|
+
if (type === void 0) {
|
|
12
|
+
return {
|
|
13
|
+
operations: variants.map((variant2) => ({
|
|
14
|
+
type: variant2.shape.type.value,
|
|
15
|
+
description: variant2.description ?? ""
|
|
16
|
+
}))
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
const variant = variants.find((candidate) => candidate.shape.type.value === type);
|
|
20
|
+
if (!variant) {
|
|
21
|
+
throw new Error(`Unknown CompositionOp type ${JSON.stringify(type)}. Known types: ${knownTypes.join(", ")}`);
|
|
22
|
+
}
|
|
23
|
+
return { type, schema: z.toJSONSchema(variant, { io: "input" }) };
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export {
|
|
27
|
+
DESCRIBE_COMPOSITION_OPS_DESCRIPTION,
|
|
28
|
+
DescribeCompositionOpsInput,
|
|
29
|
+
describeCompositionOps
|
|
30
|
+
};
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
canonicalJson
|
|
3
|
+
} from "./chunk-XHMKPTHV.js";
|
|
1
4
|
import {
|
|
2
5
|
isSceneShotClip,
|
|
3
6
|
isTimelineClip,
|
|
@@ -211,12 +214,8 @@ function sceneDurationInFrames(seconds, fps, opIndex, clipId) {
|
|
|
211
214
|
return frames;
|
|
212
215
|
}
|
|
213
216
|
var SCENE_TRACK_NAME = "Scene shots";
|
|
214
|
-
function canonical(value) {
|
|
215
|
-
const sort = (item) => Array.isArray(item) ? item.map(sort) : item !== null && typeof item === "object" ? Object.fromEntries(Object.keys(item).sort().map((key) => [key, sort(item[key])])) : item;
|
|
216
|
-
return JSON.stringify(sort(value));
|
|
217
|
-
}
|
|
218
217
|
function sameManifest(a, b) {
|
|
219
|
-
return
|
|
218
|
+
return canonicalJson(a) === canonicalJson(b);
|
|
220
219
|
}
|
|
221
220
|
function describeThrown(error) {
|
|
222
221
|
const issues = error?.issues;
|
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
import {
|
|
2
|
+
GraphicRole,
|
|
3
|
+
OpaqueId
|
|
4
|
+
} from "./chunk-AFUITAH6.js";
|
|
5
|
+
import {
|
|
6
|
+
CardHtml
|
|
7
|
+
} from "./chunk-EQH37KNZ.js";
|
|
8
|
+
import {
|
|
9
|
+
brandKitCaptionFaceIssues
|
|
10
|
+
} from "./chunk-OOL7ZUG7.js";
|
|
11
|
+
|
|
12
|
+
// ../composition/src/validators/brandKit.ts
|
|
13
|
+
import { z } from "zod";
|
|
14
|
+
var EasingValue = z.union([
|
|
15
|
+
z.enum(["linear", "ease", "ease-in", "ease-out", "ease-in-out"]),
|
|
16
|
+
z.object({
|
|
17
|
+
kind: z.literal("cubic-bezier"),
|
|
18
|
+
x1: z.number().min(0).max(1),
|
|
19
|
+
y1: z.number(),
|
|
20
|
+
x2: z.number().min(0).max(1),
|
|
21
|
+
y2: z.number()
|
|
22
|
+
})
|
|
23
|
+
]);
|
|
24
|
+
var AudioPaletteRef = z.string().min(1);
|
|
25
|
+
var FontRef = z.union([
|
|
26
|
+
z.object({
|
|
27
|
+
kind: z.literal("system"),
|
|
28
|
+
family: z.string().min(1),
|
|
29
|
+
weight: z.number().int().min(1).max(1e3).optional(),
|
|
30
|
+
style: z.enum(["normal", "italic"]).optional()
|
|
31
|
+
}),
|
|
32
|
+
z.object({
|
|
33
|
+
kind: z.literal("web"),
|
|
34
|
+
family: z.string().min(1),
|
|
35
|
+
url: z.string().url().optional(),
|
|
36
|
+
weight: z.number().int().min(1).max(1e3).optional(),
|
|
37
|
+
style: z.enum(["normal", "italic"]).optional()
|
|
38
|
+
}),
|
|
39
|
+
z.object({
|
|
40
|
+
kind: z.literal("uploaded"),
|
|
41
|
+
fontId: OpaqueId,
|
|
42
|
+
family: z.string().optional(),
|
|
43
|
+
weight: z.number().int().min(1).max(1e3).optional(),
|
|
44
|
+
style: z.enum(["normal", "italic"]).optional()
|
|
45
|
+
})
|
|
46
|
+
]);
|
|
47
|
+
var Colors = z.object({
|
|
48
|
+
primary: z.string().min(1),
|
|
49
|
+
secondary: z.string().optional(),
|
|
50
|
+
accent: z.string().min(1),
|
|
51
|
+
background: z.string().min(1),
|
|
52
|
+
text: z.string().min(1),
|
|
53
|
+
textMuted: z.string().optional(),
|
|
54
|
+
border: z.string().optional(),
|
|
55
|
+
surface: z.string().optional(),
|
|
56
|
+
card: z.string().optional(),
|
|
57
|
+
gridLine: z.string().optional(),
|
|
58
|
+
accentMuted: z.string().optional(),
|
|
59
|
+
textOnAccent: z.string().optional(),
|
|
60
|
+
textOnSurface: z.string().optional()
|
|
61
|
+
});
|
|
62
|
+
var Fonts = z.object({
|
|
63
|
+
heading: FontRef,
|
|
64
|
+
body: FontRef.optional(),
|
|
65
|
+
caption: FontRef.optional()
|
|
66
|
+
});
|
|
67
|
+
var Spacing = z.object({
|
|
68
|
+
base: z.number().positive().optional(),
|
|
69
|
+
lg: z.number().positive().optional(),
|
|
70
|
+
sm: z.number().positive().optional()
|
|
71
|
+
});
|
|
72
|
+
var Sizing = z.object({
|
|
73
|
+
fontSizeHeading: z.number().positive().optional(),
|
|
74
|
+
fontSizeBody: z.number().positive().optional(),
|
|
75
|
+
fontSizeLabel: z.number().positive().optional(),
|
|
76
|
+
borderRadius: z.number().nonnegative().optional()
|
|
77
|
+
});
|
|
78
|
+
var Motion = z.object({
|
|
79
|
+
duration: z.number().positive().optional(),
|
|
80
|
+
easing: EasingValue.optional(),
|
|
81
|
+
entrance: z.enum(["none", "fade", "word-pop", "stagger-up"]).optional(),
|
|
82
|
+
staggerMs: z.number().nonnegative().optional(),
|
|
83
|
+
exitMs: z.number().nonnegative().optional()
|
|
84
|
+
});
|
|
85
|
+
var Placement = z.enum(["tl", "tr", "bl", "br"]);
|
|
86
|
+
var Logo = z.object({
|
|
87
|
+
src: z.string().min(1),
|
|
88
|
+
alt: z.string().optional(),
|
|
89
|
+
placement: Placement.optional(),
|
|
90
|
+
sizePct: z.number().positive().optional()
|
|
91
|
+
});
|
|
92
|
+
var IntroOutro = z.object({
|
|
93
|
+
kind: z.enum(["card", "video"]),
|
|
94
|
+
src: z.string().min(1).optional(),
|
|
95
|
+
title: z.string().optional(),
|
|
96
|
+
subtitle: z.string().optional(),
|
|
97
|
+
durationMs: z.number().positive().optional()
|
|
98
|
+
});
|
|
99
|
+
var Watermark = z.object({
|
|
100
|
+
src: z.string().min(1),
|
|
101
|
+
opacity: z.number().min(0).max(1).optional(),
|
|
102
|
+
placement: Placement.optional()
|
|
103
|
+
});
|
|
104
|
+
var MotifBody = z.discriminatedUnion("kind", [
|
|
105
|
+
z.object({
|
|
106
|
+
kind: z.literal("card"),
|
|
107
|
+
html: CardHtml,
|
|
108
|
+
tokens: z.record(z.string(), z.string()).optional()
|
|
109
|
+
}),
|
|
110
|
+
z.object({
|
|
111
|
+
kind: z.literal("overlay"),
|
|
112
|
+
primitiveId: z.string().min(1),
|
|
113
|
+
params: z.record(z.string(), z.unknown()).optional()
|
|
114
|
+
}),
|
|
115
|
+
z.object({
|
|
116
|
+
kind: z.literal("component"),
|
|
117
|
+
componentId: z.string().min(1),
|
|
118
|
+
props: z.record(z.string(), z.unknown()).optional()
|
|
119
|
+
})
|
|
120
|
+
]);
|
|
121
|
+
var MotifMotionPreset = z.enum([
|
|
122
|
+
"fade-up",
|
|
123
|
+
"slide-in-left",
|
|
124
|
+
"slide-in-right",
|
|
125
|
+
"scale-pop",
|
|
126
|
+
"stagger-reveal"
|
|
127
|
+
]);
|
|
128
|
+
var Motif = z.object({
|
|
129
|
+
id: z.string().min(1).max(40),
|
|
130
|
+
observed: z.string().min(1).max(500),
|
|
131
|
+
body: MotifBody,
|
|
132
|
+
motion: z.object({
|
|
133
|
+
preset: MotifMotionPreset,
|
|
134
|
+
enterMs: z.number().int().min(0).max(5e3).optional(),
|
|
135
|
+
exitMs: z.number().int().min(0).max(5e3).optional(),
|
|
136
|
+
staggerMs: z.number().int().min(0).max(2e3).optional(),
|
|
137
|
+
confidence: z.enum(["high", "low"]).optional()
|
|
138
|
+
}).optional(),
|
|
139
|
+
role: GraphicRole,
|
|
140
|
+
zone: z.object({ x: z.number(), y: z.number(), w: z.number(), h: z.number() }).optional(),
|
|
141
|
+
evidence: z.array(z.number().int().min(0)).max(24).optional(),
|
|
142
|
+
diffScore: z.number().min(0).max(1).optional(),
|
|
143
|
+
coverage: z.enum(["reproduced", "approximated", "skipped"]),
|
|
144
|
+
skipReason: z.string().max(300).optional()
|
|
145
|
+
});
|
|
146
|
+
var AccessControl = z.object({
|
|
147
|
+
public: z.boolean().optional(),
|
|
148
|
+
readerOrgIds: z.array(z.string()).optional(),
|
|
149
|
+
writerOrgIds: z.array(z.string()).optional()
|
|
150
|
+
});
|
|
151
|
+
var LicenseDeclaration = z.object({
|
|
152
|
+
type: z.string().min(1),
|
|
153
|
+
source: z.string().optional(),
|
|
154
|
+
notes: z.string().optional()
|
|
155
|
+
});
|
|
156
|
+
var BrandKit = z.object({
|
|
157
|
+
id: z.string().min(1),
|
|
158
|
+
name: z.string().min(1),
|
|
159
|
+
colors: Colors,
|
|
160
|
+
fonts: Fonts,
|
|
161
|
+
syncCaptions: z.boolean().optional(),
|
|
162
|
+
spacing: Spacing.optional(),
|
|
163
|
+
sizing: Sizing.optional(),
|
|
164
|
+
motion: Motion.optional(),
|
|
165
|
+
captionProfile: z.object({
|
|
166
|
+
color: z.string().optional(),
|
|
167
|
+
highlightColor: z.string().optional(),
|
|
168
|
+
emphasisColor: z.string().optional(),
|
|
169
|
+
plate: z.enum(["glass", "solid", "none"]).optional(),
|
|
170
|
+
entrance: z.enum(["none", "fade", "word-pop", "stagger-up"]).optional(),
|
|
171
|
+
entranceMs: z.number().optional(),
|
|
172
|
+
entranceStaggerMs: z.number().optional(),
|
|
173
|
+
exitMs: z.number().optional(),
|
|
174
|
+
fontFamily: z.string().optional(),
|
|
175
|
+
// The ordinary run's weight. The profile could name a caption family but never how heavy it
|
|
176
|
+
// was drawn, so the only answer to "that weight has no file behind it" was to change the
|
|
177
|
+
// family. A family that does not declare this weight is still refused here — but now at a
|
|
178
|
+
// field the author can set, and a family that ships it needs no setting at all: every
|
|
179
|
+
// bundled family declares a base and an emphasis weight it has bytes for.
|
|
180
|
+
fontWeight: z.number().int().min(100).max(900).multipleOf(100).optional(),
|
|
181
|
+
emphasisFontFamily: z.string().optional(),
|
|
182
|
+
emphasisScale: z.number().positive().optional(),
|
|
183
|
+
// A CSS weight, and the profile is projected straight onto the caption style, so it is held
|
|
184
|
+
// to the same range the composition holds `emphasisFontWeight` to. An unbounded number here
|
|
185
|
+
// was a hole: 0 or 1500 named no face at all.
|
|
186
|
+
emphasisFontWeight: z.number().int().min(100).max(900).optional(),
|
|
187
|
+
emphasisFontStyle: z.enum(["normal", "italic"]).optional(),
|
|
188
|
+
emphasisTextTransform: z.enum(["none", "uppercase"]).optional(),
|
|
189
|
+
emphasisLetterSpacing: z.number().optional(),
|
|
190
|
+
emphasisPlate: z.boolean().optional(),
|
|
191
|
+
emphasisPlateColor: z.string().optional(),
|
|
192
|
+
emphasisPlateTextColor: z.string().optional()
|
|
193
|
+
}).optional(),
|
|
194
|
+
exemplarKeys: z.array(z.string().min(1)).max(24).optional(),
|
|
195
|
+
contactSheetKey: z.string().min(1).optional(),
|
|
196
|
+
motifs: z.array(Motif).max(24).optional(),
|
|
197
|
+
styleRubric: z.string().max(4e3).optional(),
|
|
198
|
+
density: z.object({
|
|
199
|
+
graphicsPerMin: z.number().min(0).max(60),
|
|
200
|
+
maxSimultaneous: z.number().int().min(1).max(6)
|
|
201
|
+
}).optional(),
|
|
202
|
+
inspiration: z.object({
|
|
203
|
+
sources: z.array(z.string()).min(1).max(24),
|
|
204
|
+
extractedAt: z.number(),
|
|
205
|
+
extractionVersion: z.string().min(1).max(60)
|
|
206
|
+
}).optional(),
|
|
207
|
+
logo: Logo.optional(),
|
|
208
|
+
intro: IntroOutro.optional(),
|
|
209
|
+
outro: IntroOutro.optional(),
|
|
210
|
+
watermark: Watermark.optional(),
|
|
211
|
+
audio: z.object({
|
|
212
|
+
sfxIntensity: z.enum(["off", "light", "standard", "dense"]).optional(),
|
|
213
|
+
musicEnabled: z.boolean().optional(),
|
|
214
|
+
musicMood: z.string().max(300).optional(),
|
|
215
|
+
sonicLogo: z.object({
|
|
216
|
+
ref: AudioPaletteRef,
|
|
217
|
+
placement: z.enum(["intro", "outro", "both"]),
|
|
218
|
+
offsetMs: z.number().int().min(0).max(1e4).optional()
|
|
219
|
+
}).optional(),
|
|
220
|
+
uiSoundSet: z.object({
|
|
221
|
+
tick: AudioPaletteRef.optional(),
|
|
222
|
+
pop: AudioPaletteRef.optional(),
|
|
223
|
+
impact: AudioPaletteRef.optional(),
|
|
224
|
+
confirm: AudioPaletteRef.optional(),
|
|
225
|
+
error: AudioPaletteRef.optional(),
|
|
226
|
+
whoosh: AudioPaletteRef.optional(),
|
|
227
|
+
riser: AudioPaletteRef.optional()
|
|
228
|
+
}).optional(),
|
|
229
|
+
bedStyle: z.object({
|
|
230
|
+
bedId: AudioPaletteRef.optional(),
|
|
231
|
+
genre: z.string().max(120).optional(),
|
|
232
|
+
bpmRange: z.object({ min: z.number(), max: z.number() }).optional()
|
|
233
|
+
}).optional(),
|
|
234
|
+
ambiencePreference: z.object({ ref: AudioPaletteRef }).nullable().optional()
|
|
235
|
+
}).optional(),
|
|
236
|
+
license: LicenseDeclaration.optional(),
|
|
237
|
+
licenseVerification: z.enum([
|
|
238
|
+
"attested",
|
|
239
|
+
"cueframe-verified",
|
|
240
|
+
"third-party-verified"
|
|
241
|
+
]).optional(),
|
|
242
|
+
ownerOrgId: z.string().optional(),
|
|
243
|
+
acl: AccessControl.optional()
|
|
244
|
+
}).superRefine((kit, ctx) => {
|
|
245
|
+
for (const issue of brandKitCaptionFaceIssues(kit)) {
|
|
246
|
+
ctx.addIssue({ code: "custom", path: issue.path.split("."), message: issue.message });
|
|
247
|
+
}
|
|
248
|
+
});
|
|
249
|
+
|
|
250
|
+
export {
|
|
251
|
+
EasingValue,
|
|
252
|
+
AudioPaletteRef,
|
|
253
|
+
FontRef,
|
|
254
|
+
MotifMotionPreset,
|
|
255
|
+
Motif,
|
|
256
|
+
BrandKit
|
|
257
|
+
};
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
EntityId,
|
|
3
3
|
ISODateTime,
|
|
4
4
|
NonEmptyString
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-R6HTIP3N.js";
|
|
6
6
|
|
|
7
7
|
// ../data-models/account-model/src/validators/userSettings.ts
|
|
8
8
|
import { z } from "zod";
|
|
@@ -87,18 +87,6 @@ var SessionToken = z6.object({
|
|
|
87
87
|
leaseExpiresAt: z6.number().optional()
|
|
88
88
|
});
|
|
89
89
|
|
|
90
|
-
// ../data-models/account-model/src/validators/workingComposition.ts
|
|
91
|
-
import { z as z7 } from "zod";
|
|
92
|
-
var WorkingComposition = z7.object({
|
|
93
|
-
id: EntityId("workingCompositions"),
|
|
94
|
-
sessionId: NonEmptyString,
|
|
95
|
-
projectId: EntityId("projects"),
|
|
96
|
-
orgId: NonEmptyString,
|
|
97
|
-
composition: z7.unknown(),
|
|
98
|
-
version: z7.number(),
|
|
99
|
-
updatedAt: z7.number()
|
|
100
|
-
});
|
|
101
|
-
|
|
102
90
|
export {
|
|
103
91
|
UserSettings,
|
|
104
92
|
ConversationProject,
|
|
@@ -108,6 +96,5 @@ export {
|
|
|
108
96
|
ContextFile,
|
|
109
97
|
DashboardInsight,
|
|
110
98
|
SessionTokenScope,
|
|
111
|
-
SessionToken
|
|
112
|
-
WorkingComposition
|
|
99
|
+
SessionToken
|
|
113
100
|
};
|
|
@@ -5,9 +5,20 @@ import {
|
|
|
5
5
|
isOk,
|
|
6
6
|
opById,
|
|
7
7
|
safeParse
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FZB7UX44.js";
|
|
9
9
|
|
|
10
10
|
// ../mcp/src/wait.ts
|
|
11
|
+
var WAIT_KINDS = [
|
|
12
|
+
"media",
|
|
13
|
+
"render",
|
|
14
|
+
"compose",
|
|
15
|
+
"suggestions",
|
|
16
|
+
"verify",
|
|
17
|
+
"preview_frame",
|
|
18
|
+
"preview",
|
|
19
|
+
"brand_kit_extract",
|
|
20
|
+
"consult"
|
|
21
|
+
];
|
|
11
22
|
var defaultSleep = (ms) => new Promise((r) => setTimeout(r, ms));
|
|
12
23
|
var defaultNow = () => Date.now();
|
|
13
24
|
var DEFAULT_POLL_MS = 3e3;
|
|
@@ -451,6 +462,7 @@ function serializeQuery(parameters, args) {
|
|
|
451
462
|
}
|
|
452
463
|
|
|
453
464
|
export {
|
|
465
|
+
WAIT_KINDS,
|
|
454
466
|
waitForJob,
|
|
455
467
|
querySchemaShape,
|
|
456
468
|
serializeQuery
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DashboardPopulate
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3Z7CN54H.js";
|
|
4
4
|
import {
|
|
5
5
|
useFrameScale
|
|
6
6
|
} from "./chunk-QAGGJHAF.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-LT4PWSR2.js";
|
|
10
10
|
import {
|
|
11
11
|
FLOOR_SHADOW
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-R642352J.js";
|
|
13
13
|
import {
|
|
14
14
|
FitText,
|
|
15
15
|
resolveFitFontSize
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
TEXT_MUTED,
|
|
44
44
|
VIOLET,
|
|
45
45
|
WARNING
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-WTQRLFR2.js";
|
|
47
47
|
|
|
48
48
|
// ../execution/primitives/src/ui-blocks/glass-code-block/index.tsx
|
|
49
49
|
import { Sequence, interpolate, useCurrentFrame } from "remotion";
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Reframe
|
|
3
3
|
} from "./chunk-B7J5UUUV.js";
|
|
4
|
+
import {
|
|
5
|
+
CardHtml
|
|
6
|
+
} from "./chunk-EQH37KNZ.js";
|
|
4
7
|
import {
|
|
5
8
|
captionFaceIssues
|
|
6
9
|
} from "./chunk-OOL7ZUG7.js";
|
|
@@ -86,7 +89,7 @@ var AlphaLayerClipSource = z2.object({
|
|
|
86
89
|
});
|
|
87
90
|
var CardClipSource = z2.object({
|
|
88
91
|
kind: z2.literal("card"),
|
|
89
|
-
html:
|
|
92
|
+
html: CardHtml,
|
|
90
93
|
tokens: z2.record(z2.string(), z2.string()).optional(),
|
|
91
94
|
zPlane: z2.literal("front").optional()
|
|
92
95
|
});
|
|
@@ -432,9 +435,6 @@ var CompositionCaptions = z2.discriminatedUnion("source", [
|
|
|
432
435
|
}
|
|
433
436
|
}
|
|
434
437
|
});
|
|
435
|
-
function captionsAreBehindSubject(captions) {
|
|
436
|
-
return captions?.zPlane === "behind-subject";
|
|
437
|
-
}
|
|
438
438
|
function captionWords(c) {
|
|
439
439
|
return c.segments.flatMap((s) => s.words);
|
|
440
440
|
}
|
|
@@ -667,7 +667,6 @@ export {
|
|
|
667
667
|
captionLayoutIssues,
|
|
668
668
|
CaptionSegment,
|
|
669
669
|
CompositionCaptions,
|
|
670
|
-
captionsAreBehindSubject,
|
|
671
670
|
captionWords,
|
|
672
671
|
captionVisibilityIssues,
|
|
673
672
|
Composition,
|