@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
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ChatErrorView,
|
|
3
3
|
DirectorTurnContext
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-U7KSOA2L.js";
|
|
5
5
|
import {
|
|
6
6
|
GenerationArtifact
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TIAJMEQ4.js";
|
|
8
8
|
|
|
9
9
|
// ../director/src/ai-sdk/messages.ts
|
|
10
10
|
import { z } from "zod";
|
|
@@ -38,25 +38,6 @@ var cueFrameDataPartSchemas = {
|
|
|
38
38
|
error: ChatErrorView
|
|
39
39
|
};
|
|
40
40
|
|
|
41
|
-
// ../director/src/ai-sdk/chunks.ts
|
|
42
|
-
function dataChunk(name, data, id) {
|
|
43
|
-
return { type: `data-${name}`, data, ...id ? { id } : {} };
|
|
44
|
-
}
|
|
45
|
-
function chunksForDirectorEvent(event) {
|
|
46
|
-
switch (event.type) {
|
|
47
|
-
case "phase":
|
|
48
|
-
return [dataChunk("phase", { phase: event.phase, ...event.detail ? { detail: event.detail } : {} })];
|
|
49
|
-
case "generation":
|
|
50
|
-
return [dataChunk("generation", event.artifact, `generation:${event.artifact.generationId}`)];
|
|
51
|
-
case "error":
|
|
52
|
-
return [dataChunk("error", event.error)];
|
|
53
|
-
case "finish":
|
|
54
|
-
return [{ type: "finish", finishReason: "stop" }];
|
|
55
|
-
default:
|
|
56
|
-
return [];
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
41
|
// ../director/src/ai-sdk/context.ts
|
|
61
42
|
function contentFor(message) {
|
|
62
43
|
const content = [];
|
|
@@ -139,8 +120,6 @@ export {
|
|
|
139
120
|
CueFramePlan,
|
|
140
121
|
CueFrameRunOutcome,
|
|
141
122
|
cueFrameDataPartSchemas,
|
|
142
|
-
dataChunk,
|
|
143
|
-
chunksForDirectorEvent,
|
|
144
123
|
projectDirectorHistory,
|
|
145
124
|
generationArtifactFromToolResult
|
|
146
125
|
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
// ../data-models/foundation/src/canonical/index.ts
|
|
2
|
+
function canonicalJson(value) {
|
|
3
|
+
return JSON.stringify(canonicalize(value));
|
|
4
|
+
}
|
|
5
|
+
function canonicalize(value) {
|
|
6
|
+
if (value === null || typeof value !== "object") return value;
|
|
7
|
+
if (Array.isArray(value)) return value.map(canonicalize);
|
|
8
|
+
const out = {};
|
|
9
|
+
const keys = Object.keys(value).sort();
|
|
10
|
+
for (const key of keys) {
|
|
11
|
+
const v = value[key];
|
|
12
|
+
if (v === void 0) continue;
|
|
13
|
+
out[key] = canonicalize(v);
|
|
14
|
+
}
|
|
15
|
+
return out;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export {
|
|
19
|
+
canonicalJson
|
|
20
|
+
};
|
|
@@ -2,12 +2,18 @@ import {
|
|
|
2
2
|
SCENE_SHOT_RESOURCE_DESCRIPTION,
|
|
3
3
|
SCENE_SHOT_RESOURCE_URI,
|
|
4
4
|
sceneShotContract
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-I2HNC4PQ.js";
|
|
6
6
|
import {
|
|
7
|
+
WAIT_KINDS,
|
|
7
8
|
querySchemaShape,
|
|
8
9
|
serializeQuery,
|
|
9
10
|
waitForJob
|
|
10
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7II5OM7R.js";
|
|
12
|
+
import {
|
|
13
|
+
DESCRIBE_COMPOSITION_OPS_DESCRIPTION,
|
|
14
|
+
DescribeCompositionOpsInput,
|
|
15
|
+
describeCompositionOps
|
|
16
|
+
} from "./chunk-4VBLQIM5.js";
|
|
11
17
|
import {
|
|
12
18
|
GENERATED_OPERATIONS,
|
|
13
19
|
apiErrorFrom,
|
|
@@ -25,13 +31,10 @@ import {
|
|
|
25
31
|
text,
|
|
26
32
|
textWithData,
|
|
27
33
|
withMedia
|
|
28
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-FZB7UX44.js";
|
|
29
35
|
import {
|
|
30
36
|
CURATED_TOOLS
|
|
31
37
|
} from "./chunk-4WBSXHQA.js";
|
|
32
|
-
import {
|
|
33
|
-
CompositionOp
|
|
34
|
-
} from "./chunk-4PV3UYJF.js";
|
|
35
38
|
|
|
36
39
|
// ../mcp/src/prompts.ts
|
|
37
40
|
var skillListCache = null;
|
|
@@ -450,32 +453,15 @@ function registerCuratedTools(server, ex, opts) {
|
|
|
450
453
|
registerWaitJob(server, ex, opts?.waitCapMs, opts?.onEvent);
|
|
451
454
|
registerPreviewCard(server, ex, opts?.waitCapMs, opts?.onEvent);
|
|
452
455
|
}
|
|
453
|
-
function describeCompositionOps(type) {
|
|
454
|
-
const variants = CompositionOp.options;
|
|
455
|
-
const knownTypes = variants.map((variant2) => variant2.shape.type.value);
|
|
456
|
-
if (type === void 0) {
|
|
457
|
-
return {
|
|
458
|
-
operations: variants.map((variant2) => ({
|
|
459
|
-
type: variant2.shape.type.value,
|
|
460
|
-
description: variant2.description ?? ""
|
|
461
|
-
}))
|
|
462
|
-
};
|
|
463
|
-
}
|
|
464
|
-
const variant = variants.find((candidate) => candidate.shape.type.value === type);
|
|
465
|
-
if (!variant) {
|
|
466
|
-
throw new Error(`Unknown CompositionOp type ${JSON.stringify(type)}. Known types: ${knownTypes.join(", ")}`);
|
|
467
|
-
}
|
|
468
|
-
return { type, schema: z.toJSONSchema(variant, { io: "input" }) };
|
|
469
|
-
}
|
|
470
456
|
function registerCompositionOpDiscovery(server, onEvent) {
|
|
471
457
|
server.registerTool("describe_composition_ops", {
|
|
472
458
|
title: "Describe Composition Operations",
|
|
473
|
-
description:
|
|
474
|
-
inputSchema:
|
|
459
|
+
description: DESCRIBE_COMPOSITION_OPS_DESCRIPTION,
|
|
460
|
+
inputSchema: DescribeCompositionOpsInput,
|
|
475
461
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false }
|
|
476
462
|
}, async (args) => timed(onEvent, "describe_composition_ops", async () => {
|
|
477
463
|
try {
|
|
478
|
-
const data = describeCompositionOps(args.type);
|
|
464
|
+
const data = await describeCompositionOps(args.type);
|
|
479
465
|
return textWithData(JSON.stringify(data), data);
|
|
480
466
|
} catch (error) {
|
|
481
467
|
return errText(fmtErr(error));
|
|
@@ -557,7 +543,7 @@ function registerWaitJob(server, ex, waitCapMs, onEvent) {
|
|
|
557
543
|
annotations: { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false },
|
|
558
544
|
description: "Wait for a long-running job and return the resolved result \u2014 a BOUNDED long-poll. Polls job status (media import/generation / render / compose / consult / clip-suggestions / verify / preview-frame) and blocks up to the transport window (30s on the hosted transport); if still running, it returns a continuation \u2014 call wait_job again with the same arguments (the job keeps executing server-side). Call this after import_media / generate_media / finalize_upload / import_resource / compose / create_render / consult / suggest_briefs / score_composition / preview_frame / preview_component. For event-driven fan-out, create_webhook delivers the terminal instead.",
|
|
559
545
|
inputSchema: z.object({
|
|
560
|
-
kind: z.enum(
|
|
546
|
+
kind: z.enum(WAIT_KINDS).describe("What to wait on: media ingest/generation, render, compose, consult, clip-suggestion analysis, or a generic async job (verify / preview_frame / preview / brand-kit extract \u2014 use the enqueue receipt kind)."),
|
|
561
547
|
id: z.string().describe('kind="media": mediaItemId returned by import/generate/finalize/import_resource. kind="render": renderId. kind="compose": composeJobId. kind="consult": consultJobId. kind="suggestions": mediaItemId. Generic kinds use the jobId from the enqueue receipt.'),
|
|
562
548
|
projectId: z.string().optional().describe('Required when kind="render", "compose", or "consult".'),
|
|
563
549
|
timeoutMs: z.number().int().min(1e3).max(30 * 60 * 1e3).optional().describe("Maximum wait in ms (default 30 min for render/compose, 5 min for suggestions).")
|
|
@@ -605,6 +591,5 @@ export {
|
|
|
605
591
|
registerRawTools,
|
|
606
592
|
titleCase,
|
|
607
593
|
registerCuratedTools,
|
|
608
|
-
describeCompositionOps,
|
|
609
594
|
buildServer
|
|
610
595
|
};
|
|
@@ -3,6 +3,7 @@ var ERROR_CODES = {
|
|
|
3
3
|
unauthorized: { stage: "auth", category: "authoring", retryable: false, httpStatus: 401 },
|
|
4
4
|
forbidden: { stage: "auth", category: "authoring", retryable: false, httpStatus: 403 },
|
|
5
5
|
not_found: { stage: "auth", category: "authoring", retryable: false, httpStatus: 404 },
|
|
6
|
+
system_project: { stage: "auth", category: "authoring", retryable: false, httpStatus: 409 },
|
|
6
7
|
billing_required: { stage: "billing", category: "authoring", retryable: false, httpStatus: 402 },
|
|
7
8
|
billing_unavailable: { stage: "billing", category: "transient", retryable: true, httpStatus: 503 },
|
|
8
9
|
rate_limited: { stage: "billing", category: "transient", retryable: true, httpStatus: 429 },
|
|
@@ -115,6 +116,11 @@ var ERROR_CODES = {
|
|
|
115
116
|
project_not_found: { stage: "validate", category: "authoring", retryable: false, httpStatus: 404 },
|
|
116
117
|
batch_too_large: { stage: "validate", category: "authoring", retryable: false, httpStatus: 413 },
|
|
117
118
|
payload_too_large: { stage: "validate", category: "authoring", retryable: false, httpStatus: 413 },
|
|
119
|
+
template_parameter_undeclared: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
120
|
+
template_values_invalid: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
121
|
+
template_media_kind_mismatch: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
122
|
+
template_component_conflict: { stage: "validate", category: "authoring", retryable: false, httpStatus: 409 },
|
|
123
|
+
template_media_import_failed: { stage: "import", category: "authoring", retryable: false, httpStatus: 422 },
|
|
118
124
|
invalid_webhook_url: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
119
125
|
invalid_age: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
120
126
|
unsupported_fact_scope: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
@@ -215,6 +221,7 @@ var ERROR_CODES = {
|
|
|
215
221
|
component_asset_integrity_failed: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
216
222
|
component_network_denied: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
217
223
|
component_import_denied: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
224
|
+
component_api_mismatch: { stage: "validate", category: "authoring", retryable: false, httpStatus: 422 },
|
|
218
225
|
component_graphics_unavailable: { stage: "render", category: "authoring", retryable: false, httpStatus: 422 },
|
|
219
226
|
component_graphics_mismatch: { stage: "render", category: "internal", retryable: false, httpStatus: 500 },
|
|
220
227
|
component_device_lost: { stage: "render", category: "transient", retryable: true, httpStatus: 503 },
|
|
@@ -385,8 +392,16 @@ var SENSITIVE = [
|
|
|
385
392
|
/\b[\w.-]*\.internal\b/gi,
|
|
386
393
|
/\/(?:Users|home|var|tmp|root)\/\S*/gi,
|
|
387
394
|
// absolute fs paths
|
|
388
|
-
/\b\d{1,3}(?:\.\d{1,3}){3}\b/g
|
|
395
|
+
/\b\d{1,3}(?:\.\d{1,3}){3}\b/g,
|
|
389
396
|
// IPv4 literals
|
|
397
|
+
/\bBearer\s+\S+/gi,
|
|
398
|
+
// authorization headers
|
|
399
|
+
/\beyJ[\w-]+\.[\w-]+\.[\w-]+/g,
|
|
400
|
+
// JWTs
|
|
401
|
+
/\b(?:sk|pk|rk)[-_](?:ant-|live_|test_|proj-)?[\w-]{16,}/g,
|
|
402
|
+
// provider API keys
|
|
403
|
+
/\bAKIA[0-9A-Z]{16}\b/g
|
|
404
|
+
// AWS access key ids
|
|
390
405
|
];
|
|
391
406
|
var FIX_ALLOW = [
|
|
392
407
|
"issues",
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// ../data-models/foundation/src/testing/knownRed.ts
|
|
2
|
+
function contractFacts(it, knownRed = []) {
|
|
3
|
+
return (name, fn) => {
|
|
4
|
+
const red = knownRed.find((entry) => entry.fact === name);
|
|
5
|
+
if (!red) return it(name, fn);
|
|
6
|
+
it(`${name} [known red]`, async () => {
|
|
7
|
+
let failure;
|
|
8
|
+
try {
|
|
9
|
+
await fn();
|
|
10
|
+
} catch (error) {
|
|
11
|
+
failure = error;
|
|
12
|
+
}
|
|
13
|
+
if (failure === void 0) throw new Error(`"${name}" passes now: remove it from knownRed.`);
|
|
14
|
+
if (!red.failsWith.test(failure instanceof Error ? failure.message : String(failure))) throw failure;
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
contractFacts
|
|
21
|
+
};
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Copy,
|
|
3
|
+
Format,
|
|
4
|
+
GraphicRole,
|
|
5
|
+
OpaqueId
|
|
6
|
+
} from "./chunk-AFUITAH6.js";
|
|
7
|
+
|
|
8
|
+
// ../composition/src/validators/composePlan.ts
|
|
9
|
+
import { z } from "zod";
|
|
10
|
+
var PlanSubject = z.discriminatedUnion("kind", [
|
|
11
|
+
z.object({ kind: z.literal("face"), faceId: z.string().min(1) }),
|
|
12
|
+
z.object({ kind: z.literal("all-faces") }),
|
|
13
|
+
z.object({ kind: z.literal("frame-center") }),
|
|
14
|
+
z.object({ kind: z.literal("active-speaker") }),
|
|
15
|
+
z.object({
|
|
16
|
+
kind: z.literal("point"),
|
|
17
|
+
x: z.number().min(0).max(1),
|
|
18
|
+
y: z.number().min(0).max(1)
|
|
19
|
+
})
|
|
20
|
+
]);
|
|
21
|
+
var PlanFramingSegment = z.object({
|
|
22
|
+
startSec: z.number().nonnegative(),
|
|
23
|
+
endSec: z.number().positive(),
|
|
24
|
+
action: z.enum(["frame", "keep", "trim"]).describe(
|
|
25
|
+
"'frame' = SHOW this span cropped/tracked per `subject`. 'keep' = SHOW this span as-is, no reframe (footage with nothing to track). 'trim' = DELETE this span from the output entirely \u2014 trimmed footage never appears."
|
|
26
|
+
),
|
|
27
|
+
subject: PlanSubject.optional(),
|
|
28
|
+
shotScale: z.enum(["close", "standard", "wide"]).optional(),
|
|
29
|
+
zoomScale: z.number().min(0.4).max(1).optional(),
|
|
30
|
+
verticalBias: z.number().min(-0.3).max(0.3).optional(),
|
|
31
|
+
lateralBias: z.number().min(-0.3).max(0.3).optional(),
|
|
32
|
+
intent: z.string().optional()
|
|
33
|
+
}).refine((s) => s.action !== "frame" || s.subject !== void 0, {
|
|
34
|
+
message: "frame segment requires a subject \u2014 for footage with no trackable subject use action:'keep' (shown as-is); do NOT trim spans you want shown"
|
|
35
|
+
}).refine((s) => s.action !== "keep" || s.subject === void 0, {
|
|
36
|
+
message: "keep segment shows footage as-is \u2014 it takes no subject (use action:'frame' to track one)"
|
|
37
|
+
}).refine((s) => s.shotScale === void 0 || s.zoomScale === void 0, {
|
|
38
|
+
message: "framing segment takes EITHER shotScale (editorial scale \u2014 the bake calibrates the zoom to the detected face) OR zoomScale (an explicit fraction of the frame), never both: shotScale wins and the zoomScale would be silently discarded",
|
|
39
|
+
path: ["zoomScale"]
|
|
40
|
+
});
|
|
41
|
+
var PlanCut = z.object({
|
|
42
|
+
startSec: z.number().nonnegative(),
|
|
43
|
+
endSec: z.number().positive(),
|
|
44
|
+
reason: z.string().min(1)
|
|
45
|
+
});
|
|
46
|
+
var PlanAssetRequest = z.object({
|
|
47
|
+
id: z.string().min(1),
|
|
48
|
+
atSec: z.number().nonnegative(),
|
|
49
|
+
durSec: z.number().positive(),
|
|
50
|
+
kind: z.enum(["broll", "audio", "sfx", "music", "ambience", "gif", "image"]),
|
|
51
|
+
source: z.enum(["find", "generate"]),
|
|
52
|
+
intent: z.string().min(1),
|
|
53
|
+
resolvedMediaId: z.string().optional()
|
|
54
|
+
});
|
|
55
|
+
var PlanGraphicRequest = z.object({
|
|
56
|
+
id: z.string().min(1),
|
|
57
|
+
atSec: z.number().nonnegative(),
|
|
58
|
+
durSec: z.number().positive(),
|
|
59
|
+
role: GraphicRole,
|
|
60
|
+
copy: Copy,
|
|
61
|
+
intent: z.string().min(1)
|
|
62
|
+
});
|
|
63
|
+
var PlanMarker = z.object({
|
|
64
|
+
startSec: z.number().nonnegative(),
|
|
65
|
+
endSec: z.number().nonnegative().optional(),
|
|
66
|
+
kind: z.string().min(1),
|
|
67
|
+
name: z.string().optional()
|
|
68
|
+
});
|
|
69
|
+
var ComposePlan = z.object({
|
|
70
|
+
framing: z.array(PlanFramingSegment).min(1),
|
|
71
|
+
cuts: z.array(PlanCut).optional(),
|
|
72
|
+
captions: z.object({ styleIntent: z.string().optional() }).optional(),
|
|
73
|
+
assets: z.array(PlanAssetRequest).optional(),
|
|
74
|
+
graphics: z.array(PlanGraphicRequest).optional(),
|
|
75
|
+
markers: z.array(PlanMarker).optional()
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
// ../composition/src/validators/project.ts
|
|
79
|
+
import { z as z2 } from "zod";
|
|
80
|
+
var Project = z2.object({
|
|
81
|
+
id: OpaqueId,
|
|
82
|
+
name: z2.string().min(1),
|
|
83
|
+
defaultFormat: Format.optional(),
|
|
84
|
+
palConformDefault: z2.union([z2.literal(24), z2.literal(30)]).optional(),
|
|
85
|
+
activeCompositionId: OpaqueId.nullable().optional(),
|
|
86
|
+
brandKitId: z2.string().optional(),
|
|
87
|
+
ownerOrgId: z2.string().optional(),
|
|
88
|
+
createdAt: z2.number(),
|
|
89
|
+
updatedAt: z2.number()
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
// ../composition/src/validators/session.ts
|
|
93
|
+
import { z as z3 } from "zod";
|
|
94
|
+
var SessionMediaRole = z3.enum([
|
|
95
|
+
"main",
|
|
96
|
+
"wide",
|
|
97
|
+
"facecam",
|
|
98
|
+
"screen",
|
|
99
|
+
"audio"
|
|
100
|
+
]);
|
|
101
|
+
var SessionMember = z3.object({
|
|
102
|
+
mediaId: OpaqueId,
|
|
103
|
+
role: SessionMediaRole,
|
|
104
|
+
label: z3.string().optional()
|
|
105
|
+
// human-readable annotation, e.g., "host's camera"
|
|
106
|
+
});
|
|
107
|
+
var SessionMux = z3.object({
|
|
108
|
+
videoRole: z3.enum(["main", "wide", "facecam", "screen"]),
|
|
109
|
+
audioRole: z3.literal("audio")
|
|
110
|
+
});
|
|
111
|
+
var Session = z3.object({
|
|
112
|
+
id: OpaqueId,
|
|
113
|
+
name: z3.string().min(1),
|
|
114
|
+
members: z3.array(SessionMember).nonempty(),
|
|
115
|
+
mux: z3.array(SessionMux).optional(),
|
|
116
|
+
ownerOrgId: z3.string().optional(),
|
|
117
|
+
createdAt: z3.number(),
|
|
118
|
+
updatedAt: z3.number()
|
|
119
|
+
});
|
|
120
|
+
|
|
121
|
+
// ../composition/src/validators/webhook.ts
|
|
122
|
+
import { z as z4 } from "zod";
|
|
123
|
+
var SubstrateWebhookEvent = z4.enum([
|
|
124
|
+
"render.completed",
|
|
125
|
+
"media.transcribed",
|
|
126
|
+
"media.completed",
|
|
127
|
+
"composition.updated"
|
|
128
|
+
]);
|
|
129
|
+
var WebhookDeliveryStatus = z4.enum([
|
|
130
|
+
"pending",
|
|
131
|
+
"delivering",
|
|
132
|
+
"delivered",
|
|
133
|
+
"failed",
|
|
134
|
+
"exhausted"
|
|
135
|
+
// retry budget burned through
|
|
136
|
+
]);
|
|
137
|
+
var Webhook = z4.object({
|
|
138
|
+
id: OpaqueId,
|
|
139
|
+
url: z4.string().url(),
|
|
140
|
+
events: z4.array(z4.string().min(1)).nonempty(),
|
|
141
|
+
signingKeyId: z4.string().optional(),
|
|
142
|
+
headers: z4.record(z4.string(), z4.string()).optional(),
|
|
143
|
+
enabled: z4.boolean().optional(),
|
|
144
|
+
ownerOrgId: z4.string().optional(),
|
|
145
|
+
createdAt: z4.number(),
|
|
146
|
+
updatedAt: z4.number()
|
|
147
|
+
});
|
|
148
|
+
var WebhookDelivery = z4.object({
|
|
149
|
+
id: z4.string().min(1),
|
|
150
|
+
webhookId: OpaqueId,
|
|
151
|
+
event: z4.string().min(1),
|
|
152
|
+
payload: z4.record(z4.string(), z4.unknown()),
|
|
153
|
+
status: WebhookDeliveryStatus,
|
|
154
|
+
attemptCount: z4.number().int().nonnegative(),
|
|
155
|
+
responseStatus: z4.number().int().optional(),
|
|
156
|
+
responseBody: z4.string().optional(),
|
|
157
|
+
error: z4.string().optional(),
|
|
158
|
+
createdAt: z4.number(),
|
|
159
|
+
deliveredAt: z4.number().optional()
|
|
160
|
+
});
|
|
161
|
+
|
|
162
|
+
export {
|
|
163
|
+
PlanSubject,
|
|
164
|
+
PlanFramingSegment,
|
|
165
|
+
PlanCut,
|
|
166
|
+
PlanAssetRequest,
|
|
167
|
+
PlanGraphicRequest,
|
|
168
|
+
PlanMarker,
|
|
169
|
+
ComposePlan,
|
|
170
|
+
Project,
|
|
171
|
+
SessionMediaRole,
|
|
172
|
+
SessionMember,
|
|
173
|
+
SessionMux,
|
|
174
|
+
Session,
|
|
175
|
+
SubstrateWebhookEvent,
|
|
176
|
+
WebhookDeliveryStatus,
|
|
177
|
+
Webhook,
|
|
178
|
+
WebhookDelivery
|
|
179
|
+
};
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
expandClipIdsToLinkGroups,
|
|
7
7
|
linkPartners
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Q6CJ6HCU.js";
|
|
9
9
|
|
|
10
10
|
// ../composition/src/timeline/occupancy.ts
|
|
11
11
|
var excluded = (span, id) => !!span.excludeClipIds && span.excludeClipIds.includes(id);
|
|
@@ -63,7 +63,6 @@ var emptyPlan = (label) => ({
|
|
|
63
63
|
refusals: [],
|
|
64
64
|
label
|
|
65
65
|
});
|
|
66
|
-
var planIsNoop = (plan) => plan.ops.length === 0;
|
|
67
66
|
|
|
68
67
|
// ../composition/src/timeline/placement.ts
|
|
69
68
|
function trackKindForSource(sourceKind) {
|
|
@@ -830,7 +829,6 @@ export {
|
|
|
830
829
|
entityKey,
|
|
831
830
|
refusalText,
|
|
832
831
|
emptyPlan,
|
|
833
|
-
planIsNoop,
|
|
834
832
|
trackKindForSource,
|
|
835
833
|
resolvePlacement,
|
|
836
834
|
EASING_CONTROL_POINTS,
|
package/dist/cloud-import.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-U67V476Y.js";
|
|
2
2
|
|
|
3
3
|
// ../cloud-import/src/ImportProvider.tsx
|
|
4
4
|
import { createContext, useContext, useState, useEffect, useCallback, useRef } from "react";
|
|
@@ -39,10 +39,6 @@ var CloudImportService = class {
|
|
|
39
39
|
this.uppy = uppy;
|
|
40
40
|
return this.uppy;
|
|
41
41
|
}
|
|
42
|
-
getUppy() {
|
|
43
|
-
if (!this.uppy) throw new Error("CloudImportService not initialized \u2014 call init() first");
|
|
44
|
-
return this.uppy;
|
|
45
|
-
}
|
|
46
42
|
};
|
|
47
43
|
var cloudImportService = new CloudImportService();
|
|
48
44
|
|
|
@@ -103,16 +99,6 @@ function useImportIfAvailable() {
|
|
|
103
99
|
return ctx?.available ? ctx : null;
|
|
104
100
|
}
|
|
105
101
|
|
|
106
|
-
// ../cloud-import/src/cloudConfig.ts
|
|
107
|
-
function detectEnvironment(convexUrl) {
|
|
108
|
-
if (!convexUrl) return "dev";
|
|
109
|
-
if (/\b(api-dev|data-dev)\.cueframe\.ai/.test(convexUrl)) return "staging";
|
|
110
|
-
if (/\b(api|data)\.cueframe\.ai/.test(convexUrl)) return "production";
|
|
111
|
-
if (/\bexample-dev\.convex\.(cloud|site)/.test(convexUrl)) return "staging";
|
|
112
|
-
if (/\bexample-prod\.convex\.(cloud|site)/.test(convexUrl)) return "production";
|
|
113
|
-
return "dev";
|
|
114
|
-
}
|
|
115
|
-
|
|
116
102
|
// ../cloud-import/src/index.ts
|
|
117
103
|
import {
|
|
118
104
|
useDropzone,
|
|
@@ -122,7 +108,6 @@ import {
|
|
|
122
108
|
export {
|
|
123
109
|
ImportProvider,
|
|
124
110
|
cloudImportService,
|
|
125
|
-
detectEnvironment,
|
|
126
111
|
useDropzone,
|
|
127
112
|
useImport,
|
|
128
113
|
useImportIfAvailable,
|
|
@@ -4,11 +4,12 @@ import {
|
|
|
4
4
|
componentBrowserOptions,
|
|
5
5
|
resolvedComponentRenderer,
|
|
6
6
|
webglBackend
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-KC4LNZL5.js";
|
|
8
|
+
import "../chunk-BZVOCVQV.js";
|
|
9
|
+
import "../chunk-XHMKPTHV.js";
|
|
9
10
|
import "../chunk-CL5Y6V6K.js";
|
|
10
11
|
import "../chunk-2L7PYYJK.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-U67V476Y.js";
|
|
12
13
|
export {
|
|
13
14
|
assertComponentBrowserHardware,
|
|
14
15
|
componentBrowserBackend,
|
|
@@ -38,8 +38,8 @@ import {
|
|
|
38
38
|
assertRendererReceiptMatches,
|
|
39
39
|
authoredComponentProps,
|
|
40
40
|
readComponentSourceRef
|
|
41
|
-
} from "../chunk-
|
|
42
|
-
import "../chunk-
|
|
41
|
+
} from "../chunk-BZVOCVQV.js";
|
|
42
|
+
import "../chunk-U67V476Y.js";
|
|
43
43
|
export {
|
|
44
44
|
CANVAS2D_COMPONENT_MANIFEST_V2,
|
|
45
45
|
COMPONENT_BUNDLE_VERSION,
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
componentArtifactIdentity,
|
|
3
|
-
componentBundleIdentity,
|
|
4
|
-
componentRenderIdentity,
|
|
5
2
|
sourceVersionIdentity
|
|
6
|
-
} from "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-FKSXKS35.js";
|
|
4
|
+
import "../../chunk-U67V476Y.js";
|
|
8
5
|
|
|
9
6
|
// ../execution/component-runtime/src/browserIdentity.ts
|
|
10
7
|
function hex(bytes) {
|
|
@@ -17,19 +14,7 @@ async function sha256HexBrowser(value) {
|
|
|
17
14
|
async function sourceVersionIdBrowser(source) {
|
|
18
15
|
return sha256HexBrowser(sourceVersionIdentity(source));
|
|
19
16
|
}
|
|
20
|
-
async function componentBundleIdBrowser(input) {
|
|
21
|
-
return sha256HexBrowser(componentBundleIdentity(input));
|
|
22
|
-
}
|
|
23
|
-
async function componentRenderKeyBrowser(request) {
|
|
24
|
-
return sha256HexBrowser(componentRenderIdentity(request));
|
|
25
|
-
}
|
|
26
|
-
async function componentArtifactIdBrowser(input) {
|
|
27
|
-
return sha256HexBrowser(componentArtifactIdentity(input));
|
|
28
|
-
}
|
|
29
17
|
export {
|
|
30
|
-
componentArtifactIdBrowser,
|
|
31
|
-
componentBundleIdBrowser,
|
|
32
|
-
componentRenderKeyBrowser,
|
|
33
18
|
sha256HexBrowser,
|
|
34
19
|
sourceVersionIdBrowser
|
|
35
20
|
};
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
bundleIdentityFields,
|
|
3
2
|
componentArtifactId,
|
|
4
3
|
componentBundleId,
|
|
5
4
|
componentRenderKey,
|
|
6
5
|
sha256Hex,
|
|
7
6
|
sourceVersionId
|
|
8
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-F6PLDBAK.js";
|
|
9
8
|
import {
|
|
10
|
-
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
9
|
+
canonicalIdentityJson
|
|
10
|
+
} from "../chunk-FKSXKS35.js";
|
|
11
|
+
import "../chunk-U67V476Y.js";
|
|
13
12
|
export {
|
|
14
|
-
|
|
15
|
-
canonicalJson,
|
|
13
|
+
canonicalIdentityJson,
|
|
16
14
|
componentArtifactId,
|
|
17
15
|
componentBundleId,
|
|
18
16
|
componentRenderKey,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
COMPONENT_IMPORT_ALLOWLIST,
|
|
3
3
|
assertComponentImportsAllowed
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-UGWJC4GA.js";
|
|
5
|
+
import "../chunk-BZVOCVQV.js";
|
|
6
|
+
import "../chunk-U67V476Y.js";
|
|
7
7
|
export {
|
|
8
8
|
COMPONENT_IMPORT_ALLOWLIST,
|
|
9
9
|
assertComponentImportsAllowed
|
|
@@ -26,17 +26,18 @@ import {
|
|
|
26
26
|
stagedBrowserLocator,
|
|
27
27
|
verifyLocalStagedBrowser,
|
|
28
28
|
vp9AlphaFfmpegOverride
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-AK6QPX7A.js";
|
|
30
30
|
import "../chunk-WB2VFDQZ.js";
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-KC4LNZL5.js";
|
|
32
|
+
import "../chunk-F6PLDBAK.js";
|
|
33
|
+
import "../chunk-FKSXKS35.js";
|
|
34
|
+
import "../chunk-UGWJC4GA.js";
|
|
35
|
+
import "../chunk-BZVOCVQV.js";
|
|
36
|
+
import "../chunk-XHMKPTHV.js";
|
|
36
37
|
import "../chunk-CL5Y6V6K.js";
|
|
37
38
|
import "../chunk-2L7PYYJK.js";
|
|
38
39
|
import "../chunk-OOL7ZUG7.js";
|
|
39
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-U67V476Y.js";
|
|
40
41
|
export {
|
|
41
42
|
COMPONENT_BROWSER_CLEANUP_TIMEOUT_MS,
|
|
42
43
|
COMPONENT_BROWSER_FIREWALL_ATTEMPTS,
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
describeMissingAssetReads,
|
|
4
4
|
missingDeclaredAssetHandleReads,
|
|
5
5
|
sourceAssetReads
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-6HPEMDQW.js";
|
|
7
|
+
import "../chunk-BZVOCVQV.js";
|
|
8
|
+
import "../chunk-U67V476Y.js";
|
|
9
9
|
export {
|
|
10
10
|
assertSourceReadsDeclaredAssets,
|
|
11
11
|
describeMissingAssetReads,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../../_members/component-runtime/template/testing/index.js";
|