@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
|
@@ -1050,8 +1050,8 @@ export declare function applyOp(composition: Composition, op: CompositionOp): Co
|
|
|
1050
1050
|
export declare function applyOpToStore(store: HeadlessStore, op: CompositionOp): void;
|
|
1051
1051
|
export declare function invertOp(before: Composition, op: CompositionOp): CompositionOp;
|
|
1052
1052
|
export { createRecordingStore, type RecordingStore } from './recordingStore.js';
|
|
1053
|
-
export { wrapWithOpRecorder, type RecordableOps, type OpRecorderOpts } from './opRecorder.js';
|
|
1053
|
+
export { wrapWithOpRecorder, NON_DOCUMENT_METHODS, type RecordableOps, type OpRecorderOpts } from './opRecorder.js';
|
|
1054
1054
|
export { materializeCompositionCaptions, materializeCaptionsFromComposition, captionSourceMediaIds, CaptionMaterializationError, type CaptionMaterializationErrorCode, } from './materializeCaptions.js';
|
|
1055
1055
|
export { materializeGridMarkers, GridError, GRID_DEFAULT_MAX_MARKERS, GRID_HARD_MAX_MARKERS, type GridKind, type GridErrorCode, type GridPlacement, } from './materializeGrid.js';
|
|
1056
1056
|
export { replaceRegion, type CutSpan, type ReplaceRegionInput } from './replaceRegion.js';
|
|
1057
|
-
export { collectAlphaLayerClips, type AlphaLayerClipRef,
|
|
1057
|
+
export { collectAlphaLayerClips, type AlphaLayerClipRef, collectRawComponentClips, } from './alphaLayers.js';
|
|
@@ -1,10 +1,17 @@
|
|
|
1
|
-
import type { Composition, TimelineClip, Marker, Track, Format, ReframeSegment, CaptionSegment, CaptionStyle, PerClipEffect } from '../composition/validators/index.js';
|
|
1
|
+
import type { Composition, TimelineClip, Marker, Track, Format, ReframeSegment, CaptionSegment, CaptionStyle, CaptionLayout, PerClipEffect } from '../composition/validators/index.js';
|
|
2
2
|
import { type CompositionOp } from './index.js';
|
|
3
3
|
export interface RecordableOps {
|
|
4
4
|
addClip(clip: TimelineClip, options?: {
|
|
5
5
|
newTrack?: boolean;
|
|
6
6
|
newTrackId?: string;
|
|
7
7
|
}): void;
|
|
8
|
+
addClipToTrack(clip: TimelineClip, target: {
|
|
9
|
+
trackId: string;
|
|
10
|
+
} | {
|
|
11
|
+
kind: Track['kind'];
|
|
12
|
+
newTrack?: boolean;
|
|
13
|
+
newTrackId?: string;
|
|
14
|
+
}): void;
|
|
8
15
|
removeClip(id: string): void;
|
|
9
16
|
updateClip(id: string, updates: Partial<TimelineClip>): void;
|
|
10
17
|
removeClipsByMediaId(mediaId: string): void;
|
|
@@ -23,13 +30,15 @@ export interface RecordableOps {
|
|
|
23
30
|
setEffects(clipId: string, effects: PerClipEffect[]): void;
|
|
24
31
|
setCaptionStyle(style: CaptionStyle): void;
|
|
25
32
|
setCaptions(segments: CaptionSegment[], style?: CaptionStyle): void;
|
|
33
|
+
setCaptionLayouts(layouts: CaptionLayout[]): void;
|
|
34
|
+
setCaptionDepth(zPlane: 'front' | 'behind-subject'): void;
|
|
26
35
|
setFormat(format: Pick<Format, 'aspectRatio' | 'fps' | 'resolution'>): void;
|
|
27
36
|
addTrack(kind: Track['kind'], name?: string, id?: string): void;
|
|
28
37
|
removeTrack(trackId: string): void;
|
|
29
38
|
updateTrack(trackId: string, updates: Partial<Pick<Track, 'name' | 'enabled'>>): void;
|
|
30
39
|
reorderTracks(fromIndex: number, toIndex: number): void;
|
|
31
40
|
moveClipToTrack(clipId: string, targetTrackId: string, newStartTime?: number): void;
|
|
32
|
-
duplicateClip(id: string):
|
|
41
|
+
duplicateClip(id: string): string | undefined;
|
|
33
42
|
cutAndRipple(start: number, end: number): void;
|
|
34
43
|
ripple(time: number, amount: number): void;
|
|
35
44
|
addExcludedRange(clipId: string, sourceStart: number, sourceEnd: number, reason?: string): void;
|
|
@@ -38,6 +47,17 @@ export interface RecordableOps {
|
|
|
38
47
|
export interface OpRecorderOpts {
|
|
39
48
|
record: (op: CompositionOp, before: Composition) => void;
|
|
40
49
|
getComposition: () => Composition;
|
|
41
|
-
|
|
50
|
+
/**
|
|
51
|
+
* An edit no op expresses: journal the timeline it produces (`after`) as a
|
|
52
|
+
* replacement. Called before the edit is applied.
|
|
53
|
+
*/
|
|
54
|
+
onUnjournalable?: (reason: string, after: Composition) => void;
|
|
42
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* Store members that change no document state, so they are not journaled.
|
|
58
|
+
* Every other function a wrapped store has must be journaled: an unlisted
|
|
59
|
+
* member is refused when the store is wrapped, so a new edit method cannot
|
|
60
|
+
* reach the document without reaching the journal.
|
|
61
|
+
*/
|
|
62
|
+
export declare const NON_DOCUMENT_METHODS: ReadonlySet<string>;
|
|
43
63
|
export declare function wrapWithOpRecorder<T extends RecordableOps>(base: T, opts: OpRecorderOpts): T;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { CaptionStyle } from './types.js';
|
|
2
|
-
export
|
|
2
|
+
export declare const EXPORT_QUALITIES: readonly ["maximum", "social", "web", "potato", "source"];
|
|
3
|
+
export type ExportQuality = (typeof EXPORT_QUALITIES)[number];
|
|
3
4
|
export type ExportFormat = 'source' | '16:9' | '9:16' | '4:5' | '1:1';
|
|
4
|
-
export
|
|
5
|
+
export declare const EXPORT_RESOLUTIONS: readonly ["source", "1080p", "1440p", "4k"];
|
|
6
|
+
export type ExportResolution = (typeof EXPORT_RESOLUTIONS)[number];
|
|
5
7
|
export interface FormatPreset {
|
|
6
8
|
label: string;
|
|
7
9
|
aspectWidth: number;
|
|
@@ -14,7 +14,7 @@ export { extractCaptionWordsFromDoc, sliceTranscriptWords, splitIntoSentences }
|
|
|
14
14
|
export { compositionToRenderInput, referencedMediaIds, assembleRenderInput, assemblePreparedRenderInput, validateComposition, compositionFormatDimensions, captionVisibilityWindowsForComposition, playableSpans, projectMediaPlaybackSpans, assertBehindSubjectCaptionCoverage, visiblePackedHostWindows, } from './compositionRender.js';
|
|
15
15
|
export { bookendFrames, resolveBookendTimeline, CARD_BOOKEND_DEFAULT_MS, VIDEO_BOOKEND_DEFAULT_MS, } from './bookends.js';
|
|
16
16
|
export type { BookendTimeline } from './bookends.js';
|
|
17
|
-
export { DEFAULT_FPS, DEFAULT_WIDTH, DEFAULT_HEIGHT, DEFAULT_RENDER_SETTINGS, FORMAT_PRESETS, RESOLUTION_PRESETS, bppToCrf, ensureEven, qualityToCrf, resolutionToOutputSize, } from './exportSettings.js';
|
|
17
|
+
export { DEFAULT_FPS, DEFAULT_WIDTH, DEFAULT_HEIGHT, DEFAULT_RENDER_SETTINGS, FORMAT_PRESETS, RESOLUTION_PRESETS, EXPORT_QUALITIES, EXPORT_RESOLUTIONS, bppToCrf, ensureEven, qualityToCrf, resolutionToOutputSize, } from './exportSettings.js';
|
|
18
18
|
export type { ExportFormat, ExportQuality, ExportResolution, FormatPreset, RenderSettings, } from './exportSettings.js';
|
|
19
19
|
export { faceArea, resolveSubjectFaces, selectedFaceCenter, isJump, emaSmooth, clip01, captionBandReserve, aspectWhRatio, nearestKpValue, activeWindowsFor, perSubjectSeries, calibrateShotScale, deriveSegment, deriveTrajectory, buildEasedZooms, buildPannedCenters, easeOutCubic, JUMP_THRESHOLD, MIN_SUBJECT_RESOLUTION, } from './deriveTrajectory.js';
|
|
20
20
|
export type { Subject, Center, TrajectorySubject, TrajectorySegment, TrajectoryData, Face, FaceBox, SubjectTrack, ReframeSegment, } from './deriveTrajectory.js';
|
|
@@ -9,6 +9,5 @@ export declare function padBox(box: NormBox, pad?: number): RequiredRegion;
|
|
|
9
9
|
export declare function pointRegion(c: Center, pad?: number): RequiredRegion;
|
|
10
10
|
export declare function centerRegion(): RequiredRegion;
|
|
11
11
|
export declare function regionsFromBoxes(boxes: Array<NormBox | null>, pad?: number): Array<RequiredRegion | null>;
|
|
12
|
-
export declare function regionsFromCenters(centers: Array<Center | null>, pad?: number): Array<RequiredRegion | null>;
|
|
13
12
|
export declare function medianFilterRegions(regions: Array<RequiredRegion | null>, r: number, shotStart: number, shotEnd: number): Array<RequiredRegion | null>;
|
|
14
13
|
export declare function buildRequiredRegions(boxes: Array<NormBox | null>, fps: number, interiorCuts: Iterable<number>, pad?: number): Array<RequiredRegion | null>;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { type Envelope } from "../../errors/index.js";
|
|
3
|
-
export declare const ConversationId: z.core.$ZodBranded<z.ZodString, "Id<conversation>", "out">;
|
|
4
|
-
export type ConversationId = z.infer<typeof ConversationId>;
|
|
5
|
-
export declare const DirectorRunId: z.core.$ZodBranded<z.ZodString, "Id<directorRun>", "out">;
|
|
6
|
-
export type DirectorRunId = z.infer<typeof DirectorRunId>;
|
|
7
3
|
export declare const ProjectRef: z.ZodObject<{
|
|
8
4
|
id: z.ZodString;
|
|
9
5
|
home: z.ZodEnum<{
|
|
@@ -49,7 +45,6 @@ export declare const ChatErrorView: z.ZodObject<{
|
|
|
49
45
|
source: z.ZodOptional<z.ZodEnum<{
|
|
50
46
|
provider: "provider";
|
|
51
47
|
generation: "generation";
|
|
52
|
-
materialisation: "materialisation";
|
|
53
48
|
agent: "agent";
|
|
54
49
|
transport: "transport";
|
|
55
50
|
}>>;
|
|
@@ -59,76 +54,3 @@ export declare const ChatErrorView: z.ZodObject<{
|
|
|
59
54
|
export type ChatErrorView = z.infer<typeof ChatErrorView>;
|
|
60
55
|
export declare function chatErrorViewFromEnvelope(envelope: Envelope, source?: ChatErrorView["source"]): ChatErrorView;
|
|
61
56
|
export declare function chatErrorViewFromUnknown(error: unknown, source?: ChatErrorView["source"]): ChatErrorView;
|
|
62
|
-
export declare const DirectorEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
63
|
-
type: z.ZodLiteral<"text-delta">;
|
|
64
|
-
text: z.ZodString;
|
|
65
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
66
|
-
type: z.ZodLiteral<"reasoning-delta">;
|
|
67
|
-
text: z.ZodString;
|
|
68
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
69
|
-
type: z.ZodLiteral<"phase">;
|
|
70
|
-
phase: z.ZodString;
|
|
71
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
72
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
73
|
-
type: z.ZodLiteral<"generation">;
|
|
74
|
-
artifact: z.ZodObject<{
|
|
75
|
-
artifactVersion: z.ZodLiteral<1>;
|
|
76
|
-
clientRequestId: z.core.$ZodBranded<z.ZodString, "Id<generationRequest>", "out">;
|
|
77
|
-
generationId: z.core.$ZodBranded<z.ZodString, "Id<generation>", "out">;
|
|
78
|
-
mediaId: z.core.$ZodBranded<z.ZodString, "Id<media>", "out">;
|
|
79
|
-
generationGroupId: z.core.$ZodBranded<z.ZodString, "Id<generationGroup>", "out">;
|
|
80
|
-
version: z.ZodNumber;
|
|
81
|
-
kind: z.ZodEnum<{
|
|
82
|
-
video: "video";
|
|
83
|
-
audio: "audio";
|
|
84
|
-
image: "image";
|
|
85
|
-
}>;
|
|
86
|
-
requestSummary: z.ZodString;
|
|
87
|
-
status: z.ZodEnum<{
|
|
88
|
-
generating: "generating";
|
|
89
|
-
processing: "processing";
|
|
90
|
-
cancelled: "cancelled";
|
|
91
|
-
ready: "ready";
|
|
92
|
-
failed: "failed";
|
|
93
|
-
draft: "draft";
|
|
94
|
-
submitting: "submitting";
|
|
95
|
-
queued: "queued";
|
|
96
|
-
provider_complete: "provider_complete";
|
|
97
|
-
materialising: "materialising";
|
|
98
|
-
cancelling: "cancelling";
|
|
99
|
-
}>;
|
|
100
|
-
progress: z.ZodOptional<z.ZodNumber>;
|
|
101
|
-
placementReady: z.ZodDefault<z.ZodBoolean>;
|
|
102
|
-
parentMediaId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "Id<media>", "out">>;
|
|
103
|
-
estimateUsd: z.ZodOptional<z.ZodNumber>;
|
|
104
|
-
failure: z.ZodOptional<z.ZodObject<{
|
|
105
|
-
code: z.ZodString;
|
|
106
|
-
title: z.ZodString;
|
|
107
|
-
recovery: z.ZodOptional<z.ZodString>;
|
|
108
|
-
retryable: z.ZodBoolean;
|
|
109
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
110
|
-
}, z.core.$strip>>;
|
|
111
|
-
createdAt: z.ZodNumber;
|
|
112
|
-
updatedAt: z.ZodNumber;
|
|
113
|
-
}, z.core.$strip>;
|
|
114
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
115
|
-
type: z.ZodLiteral<"error">;
|
|
116
|
-
error: z.ZodObject<{
|
|
117
|
-
code: z.ZodString;
|
|
118
|
-
title: z.ZodString;
|
|
119
|
-
recovery: z.ZodOptional<z.ZodString>;
|
|
120
|
-
retryable: z.ZodBoolean;
|
|
121
|
-
source: z.ZodOptional<z.ZodEnum<{
|
|
122
|
-
provider: "provider";
|
|
123
|
-
generation: "generation";
|
|
124
|
-
materialisation: "materialisation";
|
|
125
|
-
agent: "agent";
|
|
126
|
-
transport: "transport";
|
|
127
|
-
}>>;
|
|
128
|
-
correlationId: z.ZodOptional<z.ZodString>;
|
|
129
|
-
details: z.ZodOptional<z.ZodString>;
|
|
130
|
-
}, z.core.$strip>;
|
|
131
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
132
|
-
type: z.ZodLiteral<"finish">;
|
|
133
|
-
}, z.core.$strip>], "type">;
|
|
134
|
-
export type DirectorEvent = z.infer<typeof DirectorEvent>;
|
|
@@ -27,6 +27,12 @@ export declare const ERROR_CODES: {
|
|
|
27
27
|
readonly retryable: false;
|
|
28
28
|
readonly httpStatus: 404;
|
|
29
29
|
};
|
|
30
|
+
readonly system_project: {
|
|
31
|
+
readonly stage: "auth";
|
|
32
|
+
readonly category: "authoring";
|
|
33
|
+
readonly retryable: false;
|
|
34
|
+
readonly httpStatus: 409;
|
|
35
|
+
};
|
|
30
36
|
readonly billing_required: {
|
|
31
37
|
readonly stage: "billing";
|
|
32
38
|
readonly category: "authoring";
|
|
@@ -573,6 +579,36 @@ export declare const ERROR_CODES: {
|
|
|
573
579
|
readonly retryable: false;
|
|
574
580
|
readonly httpStatus: 413;
|
|
575
581
|
};
|
|
582
|
+
readonly template_parameter_undeclared: {
|
|
583
|
+
readonly stage: "validate";
|
|
584
|
+
readonly category: "authoring";
|
|
585
|
+
readonly retryable: false;
|
|
586
|
+
readonly httpStatus: 422;
|
|
587
|
+
};
|
|
588
|
+
readonly template_values_invalid: {
|
|
589
|
+
readonly stage: "validate";
|
|
590
|
+
readonly category: "authoring";
|
|
591
|
+
readonly retryable: false;
|
|
592
|
+
readonly httpStatus: 422;
|
|
593
|
+
};
|
|
594
|
+
readonly template_media_kind_mismatch: {
|
|
595
|
+
readonly stage: "validate";
|
|
596
|
+
readonly category: "authoring";
|
|
597
|
+
readonly retryable: false;
|
|
598
|
+
readonly httpStatus: 422;
|
|
599
|
+
};
|
|
600
|
+
readonly template_component_conflict: {
|
|
601
|
+
readonly stage: "validate";
|
|
602
|
+
readonly category: "authoring";
|
|
603
|
+
readonly retryable: false;
|
|
604
|
+
readonly httpStatus: 409;
|
|
605
|
+
};
|
|
606
|
+
readonly template_media_import_failed: {
|
|
607
|
+
readonly stage: "import";
|
|
608
|
+
readonly category: "authoring";
|
|
609
|
+
readonly retryable: false;
|
|
610
|
+
readonly httpStatus: 422;
|
|
611
|
+
};
|
|
576
612
|
readonly invalid_webhook_url: {
|
|
577
613
|
readonly stage: "validate";
|
|
578
614
|
readonly category: "authoring";
|
|
@@ -1101,6 +1137,12 @@ export declare const ERROR_CODES: {
|
|
|
1101
1137
|
readonly retryable: false;
|
|
1102
1138
|
readonly httpStatus: 422;
|
|
1103
1139
|
};
|
|
1140
|
+
readonly component_api_mismatch: {
|
|
1141
|
+
readonly stage: "validate";
|
|
1142
|
+
readonly category: "authoring";
|
|
1143
|
+
readonly retryable: false;
|
|
1144
|
+
readonly httpStatus: 422;
|
|
1145
|
+
};
|
|
1104
1146
|
readonly component_graphics_unavailable: {
|
|
1105
1147
|
readonly stage: "render";
|
|
1106
1148
|
readonly category: "authoring";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Canonical JSON: sorted keys, `undefined` fields dropped (`null` inside an
|
|
3
|
+
* array, as `JSON.stringify` does), everything else as `JSON.stringify` writes
|
|
4
|
+
* it. Composition etags are this string's SHA-256, and they are stored
|
|
5
|
+
* (`compositionVersions.etag`, `restorePoints.etag`) and compared across
|
|
6
|
+
* processes for If-Match, so these bytes never change.
|
|
7
|
+
*
|
|
8
|
+
* It is not the component source identity (`@cueframe/component-runtime`
|
|
9
|
+
* `canonicalIdentity`), which normalizes text and refuses what it cannot
|
|
10
|
+
* hash exactly, nor the scene capture JSON (`@cueframe/core/render`
|
|
11
|
+
* `canonicalSceneJsonV1`). Their bytes are persisted too, and differ on
|
|
12
|
+
* edge inputs, so the three are kept apart on purpose.
|
|
13
|
+
*/
|
|
14
|
+
export declare function canonicalJson(value: unknown): string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from "./primitives/index.js";
|
|
2
|
-
export * from "./
|
|
2
|
+
export * from "./canonical/index.js";
|
|
@@ -5,5 +5,3 @@ export declare const ISODateTime: z.ZodString;
|
|
|
5
5
|
export type ISODateTime = z.infer<typeof ISODateTime>;
|
|
6
6
|
export declare const EntityId: <T extends string>(_table: T) => PropertyKey extends `Id<${T}>` ? z.ZodString : z.core.$ZodBranded<z.ZodString, `Id<${T}>`, "out">;
|
|
7
7
|
export type EntityId<T extends string> = z.infer<ReturnType<typeof EntityId<T>>>;
|
|
8
|
-
export declare const ParamsBag: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
9
|
-
export type ParamsBag = z.infer<typeof ParamsBag>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { contractFacts, type KnownRed } from "./knownRed.js";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** A contract fact a lane is known to fail, and the error it fails with today. */
|
|
2
|
+
export interface KnownRed {
|
|
3
|
+
fact: string;
|
|
4
|
+
failsWith: RegExp;
|
|
5
|
+
}
|
|
6
|
+
type It = (name: string, fn: () => Promise<void> | void) => void;
|
|
7
|
+
/**
|
|
8
|
+
* Registers contract facts. A known-red fact must still fail, and with its
|
|
9
|
+
* named error: any other failure (a crash, an outage) fails the run, and a pass
|
|
10
|
+
* says to delete the entry.
|
|
11
|
+
*/
|
|
12
|
+
export declare function contractFacts(it: It, knownRed?: readonly KnownRed[]): (name: string, fn: () => Promise<void> | void) => void;
|
|
13
|
+
export {};
|
|
@@ -79,4 +79,25 @@ export interface CuratedToolSetOpts {
|
|
|
79
79
|
sleep?: (ms: number) => Promise<void>;
|
|
80
80
|
};
|
|
81
81
|
}
|
|
82
|
+
export type PreviewAugmented = {
|
|
83
|
+
__preview: true;
|
|
84
|
+
text: string;
|
|
85
|
+
images: string[];
|
|
86
|
+
};
|
|
87
|
+
export declare function previewVisionModelOutput({ output }: {
|
|
88
|
+
output: unknown;
|
|
89
|
+
}): {
|
|
90
|
+
type: 'content';
|
|
91
|
+
value: ({
|
|
92
|
+
type: 'text';
|
|
93
|
+
text: string;
|
|
94
|
+
} | {
|
|
95
|
+
type: 'image-data';
|
|
96
|
+
mediaType: string;
|
|
97
|
+
data: string;
|
|
98
|
+
})[];
|
|
99
|
+
} | {
|
|
100
|
+
type: 'text';
|
|
101
|
+
value: string;
|
|
102
|
+
};
|
|
82
103
|
export declare function buildCuratedToolSet(ex: Executor, opts: CuratedToolSetOpts): ToolSet;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const 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.";
|
|
3
|
+
export declare const DescribeCompositionOpsInput: z.ZodObject<{
|
|
4
|
+
type: z.ZodOptional<z.ZodString>;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
/**
|
|
7
|
+
* Read from the same discriminated union that validates composition edits. Loaded on first
|
|
8
|
+
* call: composition-ops carries the whole composition schema, which no other tool needs at init.
|
|
9
|
+
*/
|
|
10
|
+
export declare function describeCompositionOps(type?: string): Promise<Record<string, unknown>>;
|
|
@@ -20,8 +20,6 @@ export declare function registerCuratedTools(server: McpServer, ex: Executor, op
|
|
|
20
20
|
expert?: boolean;
|
|
21
21
|
onEvent?: McpTelemetrySink;
|
|
22
22
|
}): void;
|
|
23
|
-
/** Read from the same discriminated union that validates composition edits. */
|
|
24
|
-
export declare function describeCompositionOps(type?: string): Record<string, unknown>;
|
|
25
23
|
export interface BuildServerOpts {
|
|
26
24
|
executor: Executor;
|
|
27
25
|
expert?: boolean;
|
|
@@ -5,7 +5,9 @@ export type WaitResult = {
|
|
|
5
5
|
stillRunning?: boolean;
|
|
6
6
|
mediaUrls?: string[];
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
/** Every job kind wait_job waits on; both the MCP server and the Director's tool take this list. */
|
|
9
|
+
export declare const WAIT_KINDS: readonly ["media", "render", "compose", "suggestions", "verify", "preview_frame", "preview", "brand_kit_extract", "consult"];
|
|
10
|
+
export type WaitKind = (typeof WAIT_KINDS)[number];
|
|
9
11
|
export interface WaitDeps {
|
|
10
12
|
sleep?: (ms: number) => Promise<void>;
|
|
11
13
|
now?: () => number;
|
|
@@ -200,28 +200,3 @@ export declare const GenerationCapabilities: z.ZodArray<z.ZodObject<{
|
|
|
200
200
|
supportsQuote: z.ZodBoolean;
|
|
201
201
|
}, z.core.$strip>>;
|
|
202
202
|
export type GenerationCapabilities = z.infer<typeof GenerationCapabilities>;
|
|
203
|
-
export interface GenerationStateSources {
|
|
204
|
-
attempt: {
|
|
205
|
-
status: Exclude<GenerationStatus, "materialising" | "processing" | "ready">;
|
|
206
|
-
progress?: number;
|
|
207
|
-
failure?: GenerationFailure;
|
|
208
|
-
};
|
|
209
|
-
resource: {
|
|
210
|
-
kind: MediaKind;
|
|
211
|
-
durable: boolean;
|
|
212
|
-
decodable: boolean;
|
|
213
|
-
metadataReady: boolean;
|
|
214
|
-
placementReady: boolean;
|
|
215
|
-
};
|
|
216
|
-
materialisation: {
|
|
217
|
-
required: boolean;
|
|
218
|
-
status: "not_started" | "pending_source" | "downloading" | "complete" | "failed";
|
|
219
|
-
verifiedBytes: boolean;
|
|
220
|
-
failure?: GenerationFailure;
|
|
221
|
-
};
|
|
222
|
-
}
|
|
223
|
-
export declare function deriveGenerationStatus(sources: GenerationStateSources): {
|
|
224
|
-
status: GenerationStatus;
|
|
225
|
-
placementReady: boolean;
|
|
226
|
-
failure?: GenerationFailure;
|
|
227
|
-
};
|
|
@@ -1,9 +1 @@
|
|
|
1
|
-
export interface FrameRateInfo {
|
|
2
|
-
displayRate: number;
|
|
3
|
-
isNtsc: boolean;
|
|
4
|
-
frameDuration: string;
|
|
5
|
-
}
|
|
6
|
-
export declare function getFrameRateInfo(fps: number): FrameRateInfo;
|
|
7
|
-
export declare function toRationalTime(seconds: number, fps: number): string;
|
|
8
|
-
export declare function toFrames(seconds: number, fps: number): number;
|
|
9
1
|
export declare function slugify(s: string): string;
|
|
@@ -14,3 +14,23 @@ export declare const CONFORMANCE_COMPOSITION: Composition;
|
|
|
14
14
|
export declare const CONFORMANCE_DURATION_SEC = 5;
|
|
15
15
|
export declare const PREVIEW_FRAME_CASES: readonly ConformanceCase[];
|
|
16
16
|
export declare function isKnownRed(c: ConformanceCase, lane: Lane): boolean;
|
|
17
|
+
/** Whether a lane's answer is the one the case expects. */
|
|
18
|
+
export declare function meetsExpectation(c: ConformanceCase, answer: {
|
|
19
|
+
status: number;
|
|
20
|
+
code?: string;
|
|
21
|
+
}): boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Checks a lane's answer to a case. A known-red case must still answer, and
|
|
24
|
+
* still differently from the expectation: it fails the run once the lane
|
|
25
|
+
* conforms (so the marker is deleted), and a crash before any answer fails it
|
|
26
|
+
* too, because the runner awaits the answer rather than expecting a throw.
|
|
27
|
+
*/
|
|
28
|
+
export declare function conformanceVerdict(c: ConformanceCase, lane: Lane, answer: {
|
|
29
|
+
status: number;
|
|
30
|
+
code?: string;
|
|
31
|
+
}): {
|
|
32
|
+
ok: true;
|
|
33
|
+
} | {
|
|
34
|
+
ok: false;
|
|
35
|
+
reason: string;
|
|
36
|
+
};
|
|
@@ -5,9 +5,9 @@ declare const paramsSchema: z.ZodObject<{
|
|
|
5
5
|
lineColor: z.ZodDefault<z.ZodString>;
|
|
6
6
|
background: z.ZodDefault<z.ZodString>;
|
|
7
7
|
direction: z.ZodDefault<z.ZodEnum<{
|
|
8
|
+
diagonal: "diagonal";
|
|
8
9
|
horizontal: "horizontal";
|
|
9
10
|
vertical: "vertical";
|
|
10
|
-
diagonal: "diagonal";
|
|
11
11
|
}>>;
|
|
12
12
|
speed: z.ZodDefault<z.ZodNumber>;
|
|
13
13
|
}, z.core.$loose>;
|
|
@@ -2,8 +2,8 @@ import { z } from 'zod';
|
|
|
2
2
|
import type { PrimitiveMeta } from '../../lib/types.js';
|
|
3
3
|
declare const paramsSchema: z.ZodObject<{
|
|
4
4
|
type: z.ZodDefault<z.ZodEnum<{
|
|
5
|
-
motion: "motion";
|
|
6
5
|
gaussian: "gaussian";
|
|
6
|
+
motion: "motion";
|
|
7
7
|
}>>;
|
|
8
8
|
radius: z.ZodDefault<z.ZodNumber>;
|
|
9
9
|
animateFrom: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3,11 +3,11 @@ import type { PrimitiveMeta } from '../../lib/types.js';
|
|
|
3
3
|
declare const paramsSchema: z.ZodObject<{
|
|
4
4
|
preset: z.ZodDefault<z.ZodEnum<{
|
|
5
5
|
cinematic: "cinematic";
|
|
6
|
-
none: "none";
|
|
7
6
|
vintage: "vintage";
|
|
7
|
+
cool: "cool";
|
|
8
|
+
none: "none";
|
|
8
9
|
"bleach-bypass": "bleach-bypass";
|
|
9
10
|
sepia: "sepia";
|
|
10
|
-
cool: "cool";
|
|
11
11
|
warm: "warm";
|
|
12
12
|
}>>;
|
|
13
13
|
brightness: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5,11 +5,11 @@ declare const paramsSchema: z.ZodObject<{
|
|
|
5
5
|
speed: z.ZodDefault<z.ZodNumber>;
|
|
6
6
|
blendMode: z.ZodDefault<z.ZodEnum<{
|
|
7
7
|
overlay: "overlay";
|
|
8
|
-
|
|
9
|
-
"hard-light": "hard-light";
|
|
8
|
+
"soft-light": "soft-light";
|
|
10
9
|
multiply: "multiply";
|
|
11
10
|
screen: "screen";
|
|
12
|
-
"
|
|
11
|
+
"hard-light": "hard-light";
|
|
12
|
+
normal: "normal";
|
|
13
13
|
}>>;
|
|
14
14
|
monochrome: z.ZodDefault<z.ZodBoolean>;
|
|
15
15
|
}, z.core.$loose>;
|
|
@@ -2,12 +2,12 @@ import { z } from 'zod';
|
|
|
2
2
|
import type { PrimitiveMeta } from '../../lib/types.js';
|
|
3
3
|
declare const paramsSchema: z.ZodObject<{
|
|
4
4
|
preset: z.ZodDefault<z.ZodEnum<{
|
|
5
|
+
bokeh: "bokeh";
|
|
5
6
|
snow: "snow";
|
|
7
|
+
fireflies: "fireflies";
|
|
6
8
|
dust: "dust";
|
|
7
|
-
bokeh: "bokeh";
|
|
8
9
|
sparks: "sparks";
|
|
9
10
|
embers: "embers";
|
|
10
|
-
fireflies: "fireflies";
|
|
11
11
|
}>>;
|
|
12
12
|
count: z.ZodDefault<z.ZodNumber>;
|
|
13
13
|
size: z.ZodOptional<z.ZodNumber>;
|
|
@@ -2,21 +2,21 @@ import { z } from 'zod';
|
|
|
2
2
|
import type { PrimitiveMeta } from '../../lib/types.js';
|
|
3
3
|
declare const paramsSchema: z.ZodObject<{
|
|
4
4
|
move: z.ZodDefault<z.ZodEnum<{
|
|
5
|
-
|
|
5
|
+
orbit: "orbit";
|
|
6
6
|
"dolly-in": "dolly-in";
|
|
7
|
-
"dolly-out": "dolly-out";
|
|
8
|
-
drift: "drift";
|
|
9
7
|
"tilt-reveal": "tilt-reveal";
|
|
10
|
-
|
|
8
|
+
drift: "drift";
|
|
9
|
+
static: "static";
|
|
10
|
+
"dolly-out": "dolly-out";
|
|
11
11
|
}>>;
|
|
12
12
|
fov: z.ZodDefault<z.ZodNumber>;
|
|
13
13
|
amount: z.ZodOptional<z.ZodNumber>;
|
|
14
14
|
easing: z.ZodDefault<z.ZodEnum<{
|
|
15
15
|
emphasis: "emphasis";
|
|
16
|
-
playful: "playful";
|
|
17
16
|
none: "none";
|
|
18
|
-
|
|
17
|
+
playful: "playful";
|
|
19
18
|
entrance: "entrance";
|
|
19
|
+
exit: "exit";
|
|
20
20
|
cross: "cross";
|
|
21
21
|
drama: "drama";
|
|
22
22
|
}>>;
|
|
@@ -4,8 +4,8 @@ declare const paramsSchema: z.ZodObject<{
|
|
|
4
4
|
intensity: z.ZodDefault<z.ZodNumber>;
|
|
5
5
|
spread: z.ZodDefault<z.ZodNumber>;
|
|
6
6
|
shape: z.ZodDefault<z.ZodEnum<{
|
|
7
|
-
circle: "circle";
|
|
8
7
|
ellipse: "ellipse";
|
|
8
|
+
circle: "circle";
|
|
9
9
|
}>>;
|
|
10
10
|
color: z.ZodDefault<z.ZodString>;
|
|
11
11
|
}, z.core.$loose>;
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
import type { Catalog
|
|
1
|
+
import type { Catalog } from './lib/types.js';
|
|
2
2
|
export declare const allPrimitives: Catalog;
|
|
3
|
-
export declare const catalogs: {
|
|
4
|
-
readonly text: Catalog;
|
|
5
|
-
readonly effects: Catalog;
|
|
6
|
-
readonly transitions: Catalog;
|
|
7
|
-
readonly layouts: Catalog;
|
|
8
|
-
readonly backgrounds: Catalog;
|
|
9
|
-
readonly 'ui-blocks': Catalog;
|
|
10
|
-
readonly scenes: Catalog;
|
|
11
|
-
};
|
|
12
|
-
export declare function resolvePrimitive(id: string): PrimitiveMeta | undefined;
|
|
13
3
|
export type { Catalog, PrimitiveMeta } from './lib/types.js';
|
|
@@ -2,8 +2,8 @@ import { z } from 'zod';
|
|
|
2
2
|
import type { PrimitiveMeta } from '../../lib/types.js';
|
|
3
3
|
declare const paramsSchema: z.ZodObject<{
|
|
4
4
|
direction: z.ZodDefault<z.ZodEnum<{
|
|
5
|
-
column: "column";
|
|
6
5
|
row: "row";
|
|
6
|
+
column: "column";
|
|
7
7
|
}>>;
|
|
8
8
|
gap: z.ZodDefault<z.ZodNumber>;
|
|
9
9
|
padding: z.ZodDefault<z.ZodNumber>;
|
|
@@ -49,12 +49,12 @@ declare const paramsSchema: z.ZodObject<{
|
|
|
49
49
|
}, z.core.$strict>]>>>;
|
|
50
50
|
fits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
51
51
|
mode: z.ZodEnum<{
|
|
52
|
-
position: "position";
|
|
53
52
|
stretch: "stretch";
|
|
53
|
+
position: "position";
|
|
54
|
+
matte: "matte";
|
|
54
55
|
contain: "contain";
|
|
55
56
|
cover: "cover";
|
|
56
57
|
scale: "scale";
|
|
57
|
-
matte: "matte";
|
|
58
58
|
}>;
|
|
59
59
|
aspect: z.ZodOptional<z.ZodNumber>;
|
|
60
60
|
size: z.ZodOptional<z.ZodObject<{
|
|
@@ -2,10 +2,10 @@ import { z } from 'zod';
|
|
|
2
2
|
import type { PrimitiveMeta } from '../../lib/types.js';
|
|
3
3
|
declare const paramsSchema: z.ZodObject<{
|
|
4
4
|
position: z.ZodDefault<z.ZodEnum<{
|
|
5
|
+
"bottom-right": "bottom-right";
|
|
6
|
+
"top-right": "top-right";
|
|
5
7
|
"top-left": "top-left";
|
|
6
8
|
"bottom-left": "bottom-left";
|
|
7
|
-
"top-right": "top-right";
|
|
8
|
-
"bottom-right": "bottom-right";
|
|
9
9
|
}>>;
|
|
10
10
|
size: z.ZodDefault<z.ZodNumber>;
|
|
11
11
|
borderRadius: z.ZodDefault<z.ZodNumber>;
|
|
@@ -2,7 +2,7 @@ export type { PrimitiveMeta, PrimitiveCategory, PrimitiveKind, Mood, Example, To
|
|
|
2
2
|
export { SOFT, OUT_EXPO, OUT_BACK, OUT_CUBIC, IN_OUT_CUBIC, IN_OUT_QUART, IN_QUART, LINEAR, STEP, EASING_BY_INTENT, type EasingIntent, } from './easings.js';
|
|
3
3
|
export { pick, range, gauss, SeededPRNG } from './seeded-random.js';
|
|
4
4
|
export { frameScale, useFrameScale, FRAME_BASELINE_WIDTH } from './frameScale.js';
|
|
5
|
-
export {
|
|
5
|
+
export { isContrastCritical, CONTRAST_CRITICAL_PATHS, ALLOWED_BRAND_PATHS, FROZEN_CORE_PATHS, TIER2B_EXTENSION_PATHS, lintBrandPath, } from './tokens.js';
|
|
6
6
|
export { NEUTRAL_RAMP } from '../../brand-derivation/constants.js';
|
|
7
7
|
export { zodToJsonSchemaFor, zodToDefaults, zodToControls, type ControlConfig, type ControlType, } from './schema.js';
|
|
8
8
|
export { PrimitivePreview, type PrimitivePreviewProps } from './preview.js';
|