@cueframe/kernel 0.2.2 → 0.2.4
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/_members/animate/index.d.ts +8 -2
- package/dist/_members/animate/layout/FlexLayout.d.ts +69 -0
- package/dist/_members/animate/layout/fit.d.ts +44 -0
- package/dist/_members/animate/layout/index.d.ts +3 -0
- package/dist/_members/animate/layout/solveFlex.d.ts +70 -0
- package/dist/_members/animate/media/MediaTileScene.d.ts +65 -0
- package/dist/_members/animate/media/recipes.d.ts +61 -0
- package/dist/_members/animate/scene/FocusPass.d.ts +76 -0
- package/dist/_members/animate/scene/UnlitPlane.d.ts +45 -0
- package/dist/_members/animate/scene/__oracle__/cssProjection.d.ts +24 -0
- package/dist/_members/animate/scene/assets.d.ts +21 -0
- package/dist/_members/animate/scene/backdrop.d.ts +7 -0
- package/dist/_members/animate/scene/coordinates.d.ts +58 -0
- package/dist/_members/animate/scene/deviceOpacity.d.ts +18 -0
- package/dist/_members/animate/scene/errors.d.ts +14 -0
- package/dist/_members/animate/scene/finishing.d.ts +69 -0
- package/dist/_members/animate/scene/finishingMath.d.ts +60 -0
- package/dist/_members/animate/scene/finishingPass.d.ts +35 -0
- package/dist/_members/animate/scene/focusBlur.d.ts +56 -0
- package/dist/_members/animate/scene/focusResources.d.ts +190 -0
- package/dist/_members/animate/scene/focusShaders.d.ts +68 -0
- package/dist/_members/animate/scene/fontReadiness.d.ts +27 -0
- package/dist/_members/animate/scene/grainNoise.d.ts +118 -0
- package/dist/_members/animate/scene/index.d.ts +19 -0
- package/dist/_members/animate/scene/internal.d.ts +29 -0
- package/dist/_members/animate/scene/planeFit.d.ts +46 -0
- package/dist/_members/animate/scene/preparedWorldText.d.ts +25 -0
- package/dist/_members/animate/scene/rasterCache.d.ts +30 -0
- package/dist/_members/animate/scene/rasterReadiness.d.ts +33 -0
- package/dist/_members/animate/scene/readiness.d.ts +69 -0
- package/dist/_members/animate/scene/redraw.d.ts +10 -0
- package/dist/_members/animate/scene/render.d.ts +9 -0
- package/dist/_members/animate/scene/scaling.d.ts +13 -0
- package/dist/_members/animate/scene/text.d.ts +40 -0
- package/dist/_members/animate/scene/textLayout.d.ts +78 -0
- package/dist/_members/animate/scene/textureImageSize.d.ts +4 -0
- package/dist/_members/animate/scene/useSceneImageTexture.d.ts +21 -0
- package/dist/_members/animate/scene/useWorldTextTexture.d.ts +21 -0
- package/dist/_members/animate/scene/v2/MeasuredPlaneGeometry.d.ts +7 -0
- package/dist/_members/animate/scene/v2/PhotographicStudioRig.d.ts +11 -0
- package/dist/_members/animate/scene/v2/PreparedSceneShotV1.d.ts +12 -0
- package/dist/_members/animate/scene/v2/SceneShotV2.d.ts +59 -0
- package/dist/_members/animate/scene/v2/builders.d.ts +170 -0
- package/dist/_members/animate/scene/v2/finishes.d.ts +152 -0
- package/dist/_members/animate/scene/v2/lighting.d.ts +119 -0
- package/dist/_members/animate/scene/v2/observePmremTargets.d.ts +4 -0
- package/dist/_members/animate/scene/v2/preparationFacts.d.ts +32 -0
- package/dist/_members/animate/scene/v2/preparedSurface.d.ts +17 -0
- package/dist/_members/animate/scene/v2/projectedResolution.d.ts +2 -0
- package/dist/_members/animate/scene/v2/renderTargetObserver.d.ts +5 -0
- package/dist/_members/animate/scene/v2/runtimeAllocations.d.ts +55 -0
- package/dist/_members/animate/scene/v2/shadow.d.ts +23 -0
- package/dist/_members/animate/scene/v2/slabGeometry.d.ts +134 -0
- package/dist/_members/animate/scene/v2/slots.d.ts +73 -0
- package/dist/_members/animate/scene/v2/videoBinding.d.ts +39 -0
- package/dist/_members/animate/scene/worldBounds.d.ts +19 -0
- package/dist/_members/animate/scene/worldTextRaster.d.ts +87 -0
- package/dist/_members/animate/scene/worldTextTexture.d.ts +32 -0
- package/dist/_members/animate/stage/PerspectiveStage.d.ts +73 -0
- package/dist/_members/animate/stage/camera.d.ts +143 -0
- package/dist/_members/animate/stage/dof.d.ts +9 -0
- package/dist/_members/animate/stage/index.d.ts +6 -0
- package/dist/_members/animate/stage/presets.d.ts +17 -0
- package/dist/_members/animate/three/DeviceMesh.d.ts +256 -0
- package/dist/_members/animate/three/SceneCameraRig.d.ts +12 -0
- package/dist/_members/animate/three/StageCameraRig.d.ts +7 -0
- package/dist/_members/animate/three/StudioRig.d.ts +228 -0
- package/dist/_members/animate/three/ThreeCanvas.d.ts +22 -0
- package/dist/_members/animate/three/defaultScreen.d.ts +23 -0
- package/dist/_members/animate/three/index.d.ts +7 -1
- package/dist/_members/animate/three/textureLifecycle.d.ts +29 -0
- package/dist/_members/animate/three/toneMapping.d.ts +113 -0
- package/dist/_members/animate/three/useImageTexture.d.ts +17 -0
- package/dist/_members/authoring/index.d.ts +2 -0
- package/dist/_members/authoring/scene/index.d.ts +6 -0
- package/dist/_members/authoring/scene/materialize.d.ts +47 -0
- package/dist/_members/authoring/scene/validate.d.ts +80 -0
- package/dist/_members/authoring/scene/wrapper.d.ts +41 -0
- package/dist/_members/component-runtime/allowedImports.d.ts +3 -0
- package/dist/_members/component-runtime/allowedImports.d.ts.map +1 -0
- package/dist/_members/component-runtime/bake.d.ts +8 -0
- package/dist/_members/component-runtime/bake.d.ts.map +1 -1
- package/dist/_members/component-runtime/browserFirewall.d.ts +7 -1
- package/dist/_members/component-runtime/browserFirewall.d.ts.map +1 -1
- package/dist/_members/component-runtime/browserOptions.d.ts +59 -3
- package/dist/_members/component-runtime/browserOptions.d.ts.map +1 -1
- package/dist/_members/component-runtime/canonicalIdentity.d.ts +14 -0
- package/dist/_members/component-runtime/canonicalIdentity.d.ts.map +1 -1
- package/dist/_members/component-runtime/contracts.d.ts +341 -1
- package/dist/_members/component-runtime/contracts.d.ts.map +1 -1
- package/dist/_members/component-runtime/fixtures/imageTileDriftWall.d.ts +5 -0
- package/dist/_members/component-runtime/fixtures/imageTileDriftWall.d.ts.map +1 -0
- package/dist/_members/component-runtime/fixtures/mediaTileMixed.d.ts +5 -0
- package/dist/_members/component-runtime/fixtures/mediaTileMixed.d.ts.map +1 -0
- package/dist/_members/component-runtime/fixtures/mediaTileVideo.d.ts +8 -0
- package/dist/_members/component-runtime/fixtures/mediaTileVideo.d.ts.map +1 -0
- package/dist/_members/component-runtime/importPolicy.d.ts +3 -2
- package/dist/_members/component-runtime/importPolicy.d.ts.map +1 -1
- package/dist/_members/component-runtime/index.d.ts +3 -0
- package/dist/_members/component-runtime/index.d.ts.map +1 -1
- package/dist/_members/component-runtime/livePreviewProxy.d.ts +7 -0
- package/dist/_members/component-runtime/livePreviewProxy.d.ts.map +1 -0
- package/dist/_members/component-runtime/localRoot.d.ts +37 -0
- package/dist/_members/component-runtime/localRoot.d.ts.map +1 -0
- package/dist/_members/component-runtime/mediaResolution.d.ts +25 -0
- package/dist/_members/component-runtime/mediaResolution.d.ts.map +1 -0
- package/dist/_members/component-runtime/render.d.ts +151 -13
- package/dist/_members/component-runtime/render.d.ts.map +1 -1
- package/dist/_members/component-runtime/renderDiagnostics.d.ts +14 -0
- package/dist/_members/component-runtime/renderDiagnostics.d.ts.map +1 -0
- package/dist/_members/component-runtime/sceneAdmission.d.ts +47 -0
- package/dist/_members/component-runtime/sceneAdmission.d.ts.map +1 -0
- package/dist/_members/component-runtime/sourceWorkspace.d.ts +8 -0
- package/dist/_members/component-runtime/sourceWorkspace.d.ts.map +1 -1
- package/dist/_members/component-runtime/webglProbe.d.ts +191 -0
- package/dist/_members/component-runtime/webglProbe.d.ts.map +1 -0
- package/dist/_members/compose/primitiveRegistry.d.ts +2 -6
- package/dist/_members/composition/fonts/bundledFaces.d.ts +150 -0
- package/dist/_members/composition/fonts/captionFaces.d.ts +268 -0
- package/dist/_members/composition/fonts.d.ts +11 -4
- package/dist/_members/composition/graphics-plan/schemas.d.ts +4 -4
- package/dist/_members/composition/ops/types.d.ts +1 -1
- package/dist/_members/composition/primitive-catalog/index.d.ts +4 -0
- package/dist/_members/composition/primitive-catalog/types.d.ts +1 -0
- package/dist/_members/composition/projection/behind-readiness.d.ts +3 -0
- package/dist/_members/composition/projection/brandKit.d.ts +6 -0
- package/dist/_members/composition/projection/composition-floor.d.ts +2 -1
- package/dist/_members/composition/scene/animation.d.ts +25 -0
- package/dist/_members/composition/scene/budget.d.ts +29 -0
- package/dist/_members/composition/scene/budgetPolicy.d.mts +13 -0
- package/dist/_members/composition/scene/clipRules.d.ts +119 -0
- package/dist/_members/composition/scene/constraints.d.ts +61 -0
- package/dist/_members/composition/scene/device.d.ts +21 -0
- package/dist/_members/composition/scene/examples.d.ts +11 -0
- package/dist/_members/composition/scene/index.d.ts +11 -0
- package/dist/_members/composition/scene/photographicRig.d.ts +242 -0
- package/dist/_members/composition/scene/preparedRender.d.ts +239 -0
- package/dist/_members/composition/scene/resolution.d.ts +178 -0
- package/dist/_members/composition/scene/schema.d.ts +351 -0
- package/dist/_members/composition/scene/videoSchedule.d.ts +43 -0
- package/dist/_members/composition/validators/brandKit.d.ts +1 -0
- package/dist/_members/composition/validators/render.d.ts +2 -0
- package/dist/_members/composition-ops/index.d.ts +45 -0
- package/dist/_members/composition-ops/opRecorder.d.ts +1 -1
- package/dist/_members/core/render/compositionRender.d.ts +41 -9
- package/dist/_members/core/render/index.d.ts +9 -2
- package/dist/_members/core/render/sceneCaptureIdentity.d.ts +14 -0
- package/dist/_members/core/render/sceneShotPlan.d.ts +142 -0
- package/dist/_members/core/render/sceneShotPreparation.d.ts +57 -0
- package/dist/_members/core/render/slabDescriptor.d.ts +21 -0
- package/dist/_members/core/render/trackProjection.d.ts +33 -0
- package/dist/_members/core/render/types.d.ts +142 -0
- package/dist/_members/errors/registry.d.ts +6 -0
- package/dist/_members/mcp/adapter.d.ts +5 -0
- package/dist/_members/mcp/generated/harness.d.ts +1 -1
- package/dist/_members/mcp/generated/sceneContract.d.ts +155 -0
- package/dist/_members/mcp/sceneShot.d.ts +38 -0
- package/dist/_members/mcp/sceneShotExample.d.ts +22 -0
- package/dist/_members/media-model/api.d.ts +1 -0
- package/dist/_members/media-model/media-kind.d.ts +1 -1
- package/dist/_members/media-model/testing/mediaStoreContract.d.ts +1 -1
- package/dist/_members/primitives/effects/index.d.ts +1 -0
- package/dist/_members/primitives/effects/stage-camera/config.d.ts +50 -0
- package/dist/_members/primitives/effects/stage-camera/index.d.ts +31 -0
- package/dist/_members/primitives/layouts/flex-layout/config.d.ts +73 -0
- package/dist/_members/primitives/layouts/flex-layout/index.d.ts +4 -0
- package/dist/_members/primitives/layouts/index.d.ts +1 -0
- package/dist/_members/primitives/layouts/picture-in-picture/config.d.ts +1 -1
- package/dist/_members/primitives/lib/frameScale.d.ts +4 -0
- package/dist/_members/primitives/lib/index.d.ts +1 -0
- package/dist/_members/primitives/lib/palette.d.ts +30 -30
- package/dist/_members/primitives/lib/text/contrast.d.ts +2 -1
- package/dist/_members/primitives/lib/text/spec.d.ts +0 -8
- package/dist/_members/primitives/lib/types.d.ts +2 -0
- package/dist/_members/primitives/scenes/device-showcase/config.d.ts +41 -0
- package/dist/_members/primitives/scenes/device-showcase/index.d.ts +36 -0
- package/dist/_members/primitives/scenes/hero-device-assemble/config.d.ts +1 -0
- package/dist/_members/primitives/scenes/hero-device-assemble/index.d.ts +2 -1
- package/dist/_members/primitives/scenes/index.d.ts +1 -0
- package/dist/_members/primitives/ui-blocks/badge-pop/config.d.ts +1 -1
- package/dist/_members/primitives/ui-blocks/device-mockup-zoom/config.d.ts +1 -0
- package/dist/_members/primitives/ui-blocks/device-mockup-zoom/index.d.ts +2 -1
- package/dist/_members/primitives/ui-blocks/terminal-simulator/config.d.ts +1 -1
- package/dist/_members/primitives/ui-blocks/toast-notification/config.d.ts +1 -1
- 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/css-tree-subpaths.d.ts +11 -0
- package/dist/_members/render-harness/extractSegments.d.ts +1 -0
- package/dist/_members/render-harness/extractSegments.d.ts.map +1 -1
- package/dist/_members/render-harness/imageHeader.d.ts +14 -0
- package/dist/_members/render-harness/imageHeader.d.ts.map +1 -0
- package/dist/_members/render-harness/index.d.ts +6 -0
- package/dist/_members/render-harness/index.d.ts.map +1 -1
- package/dist/_members/render-harness/materializeSources.d.ts +46 -2
- package/dist/_members/render-harness/materializeSources.d.ts.map +1 -1
- package/dist/_members/render-harness/nodeScenePreparation.d.ts +97 -0
- package/dist/_members/render-harness/nodeScenePreparation.d.ts.map +1 -0
- package/dist/_members/render-harness/remotion-runtime.d.ts +16 -2
- package/dist/_members/render-harness/renderInputAssets.d.ts +1 -1
- package/dist/_members/render-harness/renderInputAssets.d.ts.map +1 -1
- package/dist/_members/render-harness/resolveAssets.d.ts +2 -2
- package/dist/_members/render-harness/resolveAssets.d.ts.map +1 -1
- package/dist/_members/render-harness/sceneShotAssets.d.ts +17 -0
- package/dist/_members/render-harness/sceneShotAssets.d.ts.map +1 -0
- package/dist/animate/preparation-facts.d.ts +1 -0
- package/dist/animate/preparation-facts.js +22 -0
- package/dist/animate.js +336 -1005
- package/dist/authoring/build-tools.js +7 -6
- package/dist/authoring/context.js +5 -4
- package/dist/authoring/prompts.js +1 -1
- package/dist/authoring/scene.d.ts +1 -0
- package/dist/authoring/scene.js +50 -0
- package/dist/authoring/tools.js +6 -5
- package/dist/authoring.js +49 -29
- package/dist/chunk-2L7PYYJK.js +23 -0
- package/dist/chunk-5DJ3IEJR.js +4424 -0
- package/dist/chunk-6BVVCRRD.js +26488 -0
- package/dist/{chunk-DQKSCHFC.js → chunk-6EWRIAZA.js} +187 -66
- package/dist/{chunk-YQ7FFW3G.js → chunk-6VWICHOZ.js} +26 -5
- package/dist/{chunk-C5SEPOWD.js → chunk-7AZLFN26.js} +1798 -702
- package/dist/{chunk-6ID2J64H.js → chunk-7W6ZIKWV.js} +162 -25
- package/dist/{chunk-RETQFTGY.js → chunk-A74FZCPY.js} +42 -5
- package/dist/chunk-BVA3537Z.js +63 -0
- package/dist/{chunk-DHKQ47Q6.js → chunk-DAARYRNT.js} +6 -1
- package/dist/chunk-DQLYWNLC.js +2063 -0
- package/dist/{chunk-HXKTZPRH.js → chunk-E7GIZEPS.js} +1 -1
- package/dist/chunk-EBIBLL7E.js +3619 -0
- package/dist/{chunk-M2TLRXEO.js → chunk-EXY4JJPH.js} +1 -1
- package/dist/{chunk-AWT3P5ZN.js → chunk-FVDFPJHT.js} +1 -1
- package/dist/{chunk-EMGFZ3PR.js → chunk-FWSJLHSV.js} +5 -1
- package/dist/{chunk-TMIBBD5E.js → chunk-I5QWBM3M.js} +280 -113
- package/dist/{chunk-IBMJ33EL.js → chunk-I5RX2QZT.js} +1 -1
- package/dist/{chunk-4FOOBSEE.js → chunk-J3DIUG24.js} +1 -0
- package/dist/{chunk-AD5HWBCE.js → chunk-JX53CVJV.js} +14 -5
- package/dist/{chunk-LNBVTDFR.js → chunk-L2AHS3AW.js} +1 -1
- package/dist/{chunk-BDMTUEEZ.js → chunk-LT4PWSR2.js} +2 -2
- package/dist/chunk-MH3UPKWR.js +3415 -0
- package/dist/{chunk-RFXR7ATW.js → chunk-MN6D3U5N.js} +13 -1
- package/dist/{chunk-IJ7PVJTK.js → chunk-ODUWCQI3.js} +3 -2
- package/dist/chunk-QAGGJHAF.js +16 -0
- package/dist/chunk-QS36DMFG.js +332 -0
- package/dist/{chunk-G5BFI32U.js → chunk-RAXHCRVV.js} +1 -1
- package/dist/{chunk-BIBYZJL3.js → chunk-RL5SO653.js} +3 -3
- package/dist/{chunk-ZSZABOE5.js → chunk-S5H6GH6M.js} +1 -1
- package/dist/{chunk-EEXCDFY5.js → chunk-SD25VQDE.js} +1 -1
- package/dist/chunk-TARKDVP6.js +430 -0
- package/dist/{chunk-XVBOSPZI.js → chunk-TBNTAQJA.js} +6 -6
- package/dist/{chunk-IHFREGFA.js → chunk-TCHPRGC5.js} +18 -2
- package/dist/{chunk-ZCAQHNPI.js → chunk-UKGNHZS4.js} +1 -1
- package/dist/{chunk-ZN6P3KOJ.js → chunk-UN6NY2E6.js} +3 -3
- package/dist/{chunk-WQSGVRFU.js → chunk-UY77TMKD.js} +31 -44
- package/dist/chunk-VKATKWWR.js +1462 -0
- package/dist/{chunk-U5LBYS3N.js → chunk-VLJOIUHL.js} +341 -274
- package/dist/{chunk-CX2IIQ4R.js → chunk-W2245F6G.js} +29 -29
- package/dist/{chunk-GEGRJKKO.js → chunk-W6B7BMLO.js} +1 -1
- package/dist/{chunk-XHUYWVYK.js → chunk-WBNFSG6T.js} +1 -1
- package/dist/chunk-WIHXXF3X.js +221 -0
- package/dist/{chunk-7KEUL3FI.js → chunk-XF2QMKRG.js} +9 -1
- package/dist/{chunk-HFC3MKXA.js → chunk-Y4HPN4BC.js} +1 -0
- package/dist/{chunk-D43J23QX.js → chunk-YFSBFCXO.js} +1018 -42
- package/dist/{chunk-KKEY5MIW.js → chunk-ZS3A3QUM.js} +16 -16
- package/dist/{chunk-LQUWKBST.js → chunk-ZVG446DJ.js} +139 -10
- package/dist/component-runtime/browserOptions.js +14 -3
- package/dist/component-runtime/contracts.js +35 -3
- package/dist/component-runtime/identity/browser.js +1 -1
- package/dist/component-runtime/identity.js +2 -2
- package/dist/component-runtime/importPolicy.js +2 -2
- package/dist/component-runtime/mediaResolution.d.ts +1 -0
- package/dist/component-runtime/mediaResolution.js +11 -0
- package/dist/component-runtime/render.js +38 -5
- package/dist/component-runtime.js +118 -14
- package/dist/compose.js +192 -33
- package/dist/composition/fonts.js +64 -67
- package/dist/composition/graphics-plan.js +3 -2
- package/dist/composition/ops.js +4 -3
- package/dist/composition/primitive-catalog.js +3 -1
- package/dist/composition/projection.js +10 -3
- package/dist/composition/scene/budget-policy.d.ts +1 -0
- package/dist/composition/scene/budget-policy.js +17 -0
- package/dist/composition/scene/schema.json +2757 -0
- package/dist/composition/scene.d.ts +1 -0
- package/dist/composition/scene.js +275 -0
- package/dist/composition/validators.js +3 -2
- package/dist/composition-ops.js +103 -13
- package/dist/composition.js +12 -5
- package/dist/{context-4GSDBFT3.js → context-IUPQ54V4.js} +5 -4
- package/dist/core/render.js +54 -3
- package/dist/core/select.js +2 -2
- package/dist/core.js +6 -3
- package/dist/director/ai-sdk.js +3 -3
- package/dist/director/domain.js +2 -2
- package/dist/director.js +3 -3
- package/dist/errors.js +1 -1
- package/dist/mcp/adapter.js +4 -4
- package/dist/mcp/core.js +1 -1
- package/dist/mcp/curation.js +1 -1
- package/dist/mcp/server.js +4 -4
- package/dist/mcp.js +4 -4
- package/dist/media-model/media-kind.js +2 -0
- package/dist/media-model/testing.js +16 -11
- package/dist/media-model.js +1 -1
- package/dist/nle-export.js +1 -27
- package/dist/primitives/backgrounds.js +2 -2
- package/dist/primitives/captions.js +21 -11
- package/dist/primitives/effects.js +14 -4
- package/dist/primitives/graphics.json +3 -0
- package/dist/primitives/hero-text.js +4 -3
- package/dist/primitives/layouts.js +9 -2
- package/dist/primitives/lib/frameScale.d.ts +1 -0
- package/dist/primitives/lib/frameScale.js +11 -0
- package/dist/primitives/lib/index.js +18 -10
- package/dist/primitives/lib/palette.js +1 -1
- package/dist/primitives/lib/text/contrast.js +2 -1
- package/dist/primitives/lib/text/typeface.js +1 -1
- package/dist/primitives/lib.js +18 -10
- package/dist/primitives/params-required.json +3 -0
- package/dist/primitives/scenes.js +12 -3
- package/dist/primitives/text.js +5 -5
- package/dist/primitives/transitions.js +2 -2
- package/dist/primitives/ui-blocks.js +7 -6
- package/dist/primitives/version-map.json +5 -2
- package/dist/primitives.js +23 -16
- package/dist/render-harness/cardAssetAdmission.js +2 -2
- package/dist/render-harness/renderInputAssets.js +2 -2
- package/dist/render-harness.js +874 -124
- package/package.json +48 -14
- package/dist/_members/animate/three/drei.d.ts +0 -6
- package/dist/_members/component-runtime/fixtures/webgpuTiledRefraction.d.ts +0 -9
- package/dist/_members/component-runtime/fixtures/webgpuTiledRefraction.d.ts.map +0 -1
- package/dist/chunk-5OTQ7M43.js +0 -718
- package/dist/chunk-7REW2MW3.js +0 -202
- package/dist/chunk-CGHTMZNC.js +0 -6
- package/dist/chunk-KVMVYRXX.js +0 -9527
- package/dist/chunk-WYQX4QIK.js +0 -544
- /package/dist/{chunk-H5LMJKZU.js → chunk-JVDUSOYG.js} +0 -0
package/dist/core/render.js
CHANGED
|
@@ -8,19 +8,34 @@ import {
|
|
|
8
8
|
JUMP_THRESHOLD,
|
|
9
9
|
MIN_SUBJECT_RESOLUTION,
|
|
10
10
|
RESOLUTION_PRESETS,
|
|
11
|
+
SCENE_CAPTURE_IDENTITY_FIELDS,
|
|
12
|
+
SCENE_SHOT_IMAGE_MIME_TYPES,
|
|
13
|
+
SCENE_SHOT_PARAM,
|
|
14
|
+
SCENE_SHOT_PREPARATION_STAGE,
|
|
15
|
+
SCENE_SLAB_CONTENT_OFFSET_V1,
|
|
16
|
+
SceneCaptureIdentityRefusal,
|
|
17
|
+
ScenePlanRefusal,
|
|
11
18
|
VIDEO_BOOKEND_DEFAULT_MS,
|
|
12
19
|
activeWindowsFor,
|
|
13
20
|
aspectWhRatio,
|
|
21
|
+
assemblePreparedRenderInput,
|
|
14
22
|
assembleRenderInput,
|
|
15
23
|
assertBehindSubjectCaptionCoverage,
|
|
24
|
+
assertSceneClipShapes,
|
|
25
|
+
assertScenePlanOutputV1,
|
|
16
26
|
bookendFrames,
|
|
17
27
|
bppToCrf,
|
|
18
28
|
buildEmphasisSet,
|
|
19
29
|
calibrateShotScale,
|
|
30
|
+
canonicalSceneComponentCaptureIdentityV1,
|
|
31
|
+
canonicalSceneJsonV1,
|
|
20
32
|
captionBandReserve,
|
|
21
33
|
clip01,
|
|
34
|
+
completeSceneComponentCaptureIdentityV1,
|
|
22
35
|
compositionFormatDimensions,
|
|
23
36
|
compositionToRenderInput,
|
|
37
|
+
createSceneBuilderDescriptorRegistryV1,
|
|
38
|
+
createSceneSlabDescriptorRegistryV1,
|
|
24
39
|
deriveSegment,
|
|
25
40
|
deriveTrajectory,
|
|
26
41
|
emaSmooth,
|
|
@@ -31,31 +46,43 @@ import {
|
|
|
31
46
|
isJump,
|
|
32
47
|
mapFaceIdToPersonId,
|
|
33
48
|
nearestKpValue,
|
|
49
|
+
parseSceneComponentCaptureIdentityV1,
|
|
50
|
+
parseSceneComponentCaptureIntentV1,
|
|
34
51
|
perSubjectSeries,
|
|
35
52
|
playableSpans,
|
|
53
|
+
prepareSceneShotPreflightV1,
|
|
54
|
+
prepareSceneShotRenderInput,
|
|
36
55
|
qualityToCrf,
|
|
56
|
+
readSceneShotManifest,
|
|
57
|
+
realizeSceneShotPlanV1,
|
|
37
58
|
referencedMediaIds,
|
|
38
59
|
resolutionToOutputSize,
|
|
39
60
|
resolveBookendTimeline,
|
|
61
|
+
resolvePinnedSceneFactsV1,
|
|
40
62
|
resolveSubjectFaces,
|
|
63
|
+
sceneSlabBuilderDescriptorV1,
|
|
64
|
+
sceneSourceResolverForPinnedRows,
|
|
41
65
|
selectedFaceCenter,
|
|
42
66
|
sliceTranscriptWords,
|
|
43
67
|
splitIntoSentences,
|
|
44
68
|
validateComposition
|
|
45
|
-
} from "../chunk-
|
|
69
|
+
} from "../chunk-YFSBFCXO.js";
|
|
46
70
|
import {
|
|
47
71
|
buildEasedZooms,
|
|
48
72
|
buildPannedCenters,
|
|
49
73
|
easeOutCubic
|
|
50
74
|
} from "../chunk-QH3YI3ND.js";
|
|
51
75
|
import "../chunk-QISFYLBB.js";
|
|
52
|
-
import "../chunk-
|
|
76
|
+
import "../chunk-L2AHS3AW.js";
|
|
53
77
|
import "../chunk-VZ7TYX6Z.js";
|
|
54
78
|
import "../chunk-DENF4TPI.js";
|
|
55
79
|
import "../chunk-KYRDKK2D.js";
|
|
56
80
|
import "../chunk-WREYUH2E.js";
|
|
81
|
+
import "../chunk-J3DIUG24.js";
|
|
57
82
|
import "../chunk-7PA7FGLD.js";
|
|
58
|
-
import "../chunk-
|
|
83
|
+
import "../chunk-TARKDVP6.js";
|
|
84
|
+
import "../chunk-MH3UPKWR.js";
|
|
85
|
+
import "../chunk-2L7PYYJK.js";
|
|
59
86
|
import "../chunk-2ESYSVXG.js";
|
|
60
87
|
export {
|
|
61
88
|
CARD_BOOKEND_DEFAULT_MS,
|
|
@@ -67,21 +94,36 @@ export {
|
|
|
67
94
|
JUMP_THRESHOLD,
|
|
68
95
|
MIN_SUBJECT_RESOLUTION,
|
|
69
96
|
RESOLUTION_PRESETS,
|
|
97
|
+
SCENE_CAPTURE_IDENTITY_FIELDS,
|
|
98
|
+
SCENE_SHOT_IMAGE_MIME_TYPES,
|
|
99
|
+
SCENE_SHOT_PARAM,
|
|
100
|
+
SCENE_SHOT_PREPARATION_STAGE,
|
|
101
|
+
SCENE_SLAB_CONTENT_OFFSET_V1,
|
|
102
|
+
SceneCaptureIdentityRefusal,
|
|
103
|
+
ScenePlanRefusal,
|
|
70
104
|
VIDEO_BOOKEND_DEFAULT_MS,
|
|
71
105
|
activeWindowsFor,
|
|
72
106
|
aspectWhRatio,
|
|
107
|
+
assemblePreparedRenderInput,
|
|
73
108
|
assembleRenderInput,
|
|
74
109
|
assertBehindSubjectCaptionCoverage,
|
|
110
|
+
assertSceneClipShapes,
|
|
111
|
+
assertScenePlanOutputV1,
|
|
75
112
|
bookendFrames,
|
|
76
113
|
bppToCrf,
|
|
77
114
|
buildEasedZooms,
|
|
78
115
|
buildEmphasisSet,
|
|
79
116
|
buildPannedCenters,
|
|
80
117
|
calibrateShotScale,
|
|
118
|
+
canonicalSceneComponentCaptureIdentityV1,
|
|
119
|
+
canonicalSceneJsonV1,
|
|
81
120
|
captionBandReserve,
|
|
82
121
|
clip01,
|
|
122
|
+
completeSceneComponentCaptureIdentityV1,
|
|
83
123
|
compositionFormatDimensions,
|
|
84
124
|
compositionToRenderInput,
|
|
125
|
+
createSceneBuilderDescriptorRegistryV1,
|
|
126
|
+
createSceneSlabDescriptorRegistryV1,
|
|
85
127
|
deriveSegment,
|
|
86
128
|
deriveTrajectory,
|
|
87
129
|
easeOutCubic,
|
|
@@ -93,13 +135,22 @@ export {
|
|
|
93
135
|
isJump,
|
|
94
136
|
mapFaceIdToPersonId,
|
|
95
137
|
nearestKpValue,
|
|
138
|
+
parseSceneComponentCaptureIdentityV1,
|
|
139
|
+
parseSceneComponentCaptureIntentV1,
|
|
96
140
|
perSubjectSeries,
|
|
97
141
|
playableSpans,
|
|
142
|
+
prepareSceneShotPreflightV1,
|
|
143
|
+
prepareSceneShotRenderInput,
|
|
98
144
|
qualityToCrf,
|
|
145
|
+
readSceneShotManifest,
|
|
146
|
+
realizeSceneShotPlanV1,
|
|
99
147
|
referencedMediaIds,
|
|
100
148
|
resolutionToOutputSize,
|
|
101
149
|
resolveBookendTimeline,
|
|
150
|
+
resolvePinnedSceneFactsV1,
|
|
102
151
|
resolveSubjectFaces,
|
|
152
|
+
sceneSlabBuilderDescriptorV1,
|
|
153
|
+
sceneSourceResolverForPinnedRows,
|
|
103
154
|
selectedFaceCenter,
|
|
104
155
|
sliceTranscriptWords,
|
|
105
156
|
splitIntoSentences,
|
package/dist/core/select.js
CHANGED
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
stabilizeIncumbentChallenger,
|
|
8
8
|
stabilizePresenceGate,
|
|
9
9
|
stabilizeSelectionHysteresis
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-L2AHS3AW.js";
|
|
11
|
+
import "../chunk-J3DIUG24.js";
|
|
12
12
|
import "../chunk-2ESYSVXG.js";
|
|
13
13
|
|
|
14
14
|
// ../execution/core/src/select/errorCodes.ts
|
package/dist/core.js
CHANGED
|
@@ -10,16 +10,19 @@ import {
|
|
|
10
10
|
ensureEven,
|
|
11
11
|
extractCaptionWordsFromDoc,
|
|
12
12
|
isEmphasized
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YFSBFCXO.js";
|
|
14
14
|
import "./chunk-QH3YI3ND.js";
|
|
15
15
|
import "./chunk-QISFYLBB.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-L2AHS3AW.js";
|
|
17
17
|
import "./chunk-VZ7TYX6Z.js";
|
|
18
18
|
import "./chunk-DENF4TPI.js";
|
|
19
19
|
import "./chunk-KYRDKK2D.js";
|
|
20
20
|
import "./chunk-WREYUH2E.js";
|
|
21
|
+
import "./chunk-J3DIUG24.js";
|
|
21
22
|
import "./chunk-7PA7FGLD.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-TARKDVP6.js";
|
|
24
|
+
import "./chunk-MH3UPKWR.js";
|
|
25
|
+
import "./chunk-2L7PYYJK.js";
|
|
23
26
|
import "./chunk-2ESYSVXG.js";
|
|
24
27
|
export {
|
|
25
28
|
DEFAULT_FPS,
|
package/dist/director/ai-sdk.js
CHANGED
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
dataChunk,
|
|
11
11
|
generationArtifactFromToolResult,
|
|
12
12
|
projectDirectorHistory
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-
|
|
13
|
+
} from "../chunk-WBNFSG6T.js";
|
|
14
|
+
import "../chunk-SD25VQDE.js";
|
|
15
15
|
import "../chunk-73DQTUWY.js";
|
|
16
16
|
import "../chunk-BADZHXLR.js";
|
|
17
17
|
import "../chunk-U3JPILZS.js";
|
|
18
18
|
import "../chunk-XELS2BGA.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-J3DIUG24.js";
|
|
20
20
|
import "../chunk-2ESYSVXG.js";
|
|
21
21
|
export {
|
|
22
22
|
CueFrameIteration,
|
package/dist/director/domain.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
ProjectRef,
|
|
10
10
|
chatErrorViewFromEnvelope,
|
|
11
11
|
chatErrorViewFromUnknown
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-SD25VQDE.js";
|
|
13
13
|
import {
|
|
14
14
|
ClientRequestId,
|
|
15
15
|
GenerateMediaCommand,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
import "../chunk-BADZHXLR.js";
|
|
32
32
|
import "../chunk-U3JPILZS.js";
|
|
33
33
|
import "../chunk-XELS2BGA.js";
|
|
34
|
-
import "../chunk-
|
|
34
|
+
import "../chunk-J3DIUG24.js";
|
|
35
35
|
import "../chunk-2ESYSVXG.js";
|
|
36
36
|
export {
|
|
37
37
|
ChatErrorView,
|
package/dist/director.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
dataChunk,
|
|
11
11
|
generationArtifactFromToolResult,
|
|
12
12
|
projectDirectorHistory
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WBNFSG6T.js";
|
|
14
14
|
import "./chunk-FTVZF4GO.js";
|
|
15
15
|
import {
|
|
16
16
|
ChatErrorView,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
ProjectRef,
|
|
23
23
|
chatErrorViewFromEnvelope,
|
|
24
24
|
chatErrorViewFromUnknown
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-SD25VQDE.js";
|
|
26
26
|
import {
|
|
27
27
|
ClientRequestId,
|
|
28
28
|
GenerateMediaCommand,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
import "./chunk-BADZHXLR.js";
|
|
45
45
|
import "./chunk-U3JPILZS.js";
|
|
46
46
|
import "./chunk-XELS2BGA.js";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-J3DIUG24.js";
|
|
48
48
|
import "./chunk-2ESYSVXG.js";
|
|
49
49
|
export {
|
|
50
50
|
ChatErrorView,
|
package/dist/errors.js
CHANGED
package/dist/mcp/adapter.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
querySchemaShape,
|
|
3
3
|
serializeQuery,
|
|
4
4
|
waitForJob
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-E7GIZEPS.js";
|
|
6
6
|
import {
|
|
7
7
|
apiErrorFrom,
|
|
8
8
|
bodySchemaFor,
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
opById,
|
|
14
14
|
safeParse,
|
|
15
15
|
sniffImageMediaType
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-6BVVCRRD.js";
|
|
17
17
|
import {
|
|
18
18
|
CURATED_TOOLS
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-UN6NY2E6.js";
|
|
20
20
|
import "../chunk-2ESYSVXG.js";
|
|
21
21
|
|
|
22
22
|
// ../mcp/src/adapter.ts
|
|
@@ -585,7 +585,7 @@ function buildOneTool(spec, ex, budget, opts) {
|
|
|
585
585
|
);
|
|
586
586
|
const ok = isOk(res.status);
|
|
587
587
|
const json = ok && res.text ? safeParse(res.text) : void 0;
|
|
588
|
-
const output = ok ? spec.okText ? spec.okText(args) : spec.okFormat ? spec.okFormat(json ?? {}, args) : res.text || `${op.method} \u2192 ${res.status}` : JSON.stringify({ error: fmtErr(apiErrorFrom(res)) });
|
|
588
|
+
const output = ok ? spec.okText ? spec.okText(args) : spec.okFormat ? spec.okFormat(json ?? {}, args) : res.text || `${op.method} \u2192 ${res.status}` : opts?.errorFormat?.(res) ?? JSON.stringify({ error: fmtErr(apiErrorFrom(res)) });
|
|
589
589
|
onProgress?.({
|
|
590
590
|
type: "tool-result",
|
|
591
591
|
agent: "router",
|
package/dist/mcp/core.js
CHANGED
package/dist/mcp/curation.js
CHANGED
package/dist/mcp/server.js
CHANGED
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
registerRawTools,
|
|
8
8
|
registerSkillPrompts,
|
|
9
9
|
titleCase
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-EBIBLL7E.js";
|
|
11
|
+
import "../chunk-E7GIZEPS.js";
|
|
12
|
+
import "../chunk-6BVVCRRD.js";
|
|
13
|
+
import "../chunk-UN6NY2E6.js";
|
|
14
14
|
import "../chunk-2ESYSVXG.js";
|
|
15
15
|
export {
|
|
16
16
|
RAW_EXCLUDED_OPERATION_IDS,
|
package/dist/mcp.js
CHANGED
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
buildServer,
|
|
8
8
|
registerCuratedTools,
|
|
9
9
|
registerRawTools
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-EBIBLL7E.js";
|
|
11
|
+
import "./chunk-E7GIZEPS.js";
|
|
12
|
+
import "./chunk-6BVVCRRD.js";
|
|
13
|
+
import "./chunk-UN6NY2E6.js";
|
|
14
14
|
import "./chunk-2ESYSVXG.js";
|
|
15
15
|
export {
|
|
16
16
|
API_URLS,
|
|
@@ -27,7 +27,9 @@ function mediaKind(contentType) {
|
|
|
27
27
|
const ct = (contentType || "").toLowerCase();
|
|
28
28
|
if (ct.startsWith("video/")) return "video";
|
|
29
29
|
if (ct.startsWith("audio/")) return "audio";
|
|
30
|
+
if (ct === "image/svg+xml") return "image";
|
|
30
31
|
if (IMAGE_CONTENT_TYPES.includes(ct)) return "image";
|
|
32
|
+
if (ct === "application/json" || ct.startsWith("font/")) return "data";
|
|
31
33
|
return "opaque";
|
|
32
34
|
}
|
|
33
35
|
var EXT = {
|
|
@@ -3654,9 +3654,9 @@ function getObjectsDifference(a, b2, formatOptions, options, memorize = DEFAULT_
|
|
|
3654
3654
|
}
|
|
3655
3655
|
}
|
|
3656
3656
|
var MAX_DIFF_STRING_LENGTH = 2e4;
|
|
3657
|
-
function isAsymmetricMatcher(
|
|
3658
|
-
const type3 = getType2(
|
|
3659
|
-
return type3 === "Object" && typeof
|
|
3657
|
+
function isAsymmetricMatcher(data2) {
|
|
3658
|
+
const type3 = getType2(data2);
|
|
3659
|
+
return type3 === "Object" && typeof data2.asymmetricMatch === "function";
|
|
3660
3660
|
}
|
|
3661
3661
|
function isReplaceable(obj1, obj2) {
|
|
3662
3662
|
const obj1Type = getType2(obj1);
|
|
@@ -12566,14 +12566,14 @@ function keyToTestName(key) {
|
|
|
12566
12566
|
}
|
|
12567
12567
|
function getSnapshotData(content, options) {
|
|
12568
12568
|
const update = options.updateSnapshot;
|
|
12569
|
-
const
|
|
12569
|
+
const data2 = /* @__PURE__ */ Object.create(null);
|
|
12570
12570
|
let snapshotContents = "";
|
|
12571
12571
|
let dirty = false;
|
|
12572
12572
|
if (content != null) {
|
|
12573
12573
|
try {
|
|
12574
12574
|
snapshotContents = content;
|
|
12575
12575
|
const populate = new Function("exports", snapshotContents);
|
|
12576
|
-
populate(
|
|
12576
|
+
populate(data2);
|
|
12577
12577
|
} catch {
|
|
12578
12578
|
}
|
|
12579
12579
|
}
|
|
@@ -12582,7 +12582,7 @@ function getSnapshotData(content, options) {
|
|
|
12582
12582
|
dirty = true;
|
|
12583
12583
|
}
|
|
12584
12584
|
return {
|
|
12585
|
-
data,
|
|
12585
|
+
data: data2,
|
|
12586
12586
|
dirty
|
|
12587
12587
|
};
|
|
12588
12588
|
}
|
|
@@ -12925,10 +12925,10 @@ var SnapshotState = class _SnapshotState {
|
|
|
12925
12925
|
constructor(testFilePath, snapshotPath, snapshotContent, options) {
|
|
12926
12926
|
this.testFilePath = testFilePath;
|
|
12927
12927
|
this.snapshotPath = snapshotPath;
|
|
12928
|
-
const { data, dirty } = getSnapshotData(snapshotContent, options);
|
|
12928
|
+
const { data: data2, dirty } = getSnapshotData(snapshotContent, options);
|
|
12929
12929
|
this._fileExists = snapshotContent != null;
|
|
12930
|
-
this._initialData = { ...
|
|
12931
|
-
this._snapshotData = { ...
|
|
12930
|
+
this._initialData = { ...data2 };
|
|
12931
|
+
this._snapshotData = { ...data2 };
|
|
12932
12932
|
this._dirty = dirty;
|
|
12933
12933
|
this._inlineSnapshots = [];
|
|
12934
12934
|
this._inlineSnapshotStacks = [];
|
|
@@ -16299,6 +16299,7 @@ var clip = (id) => ({
|
|
|
16299
16299
|
kind: "video",
|
|
16300
16300
|
metadata: { duration: 12.5, width: 1920, height: 1080 }
|
|
16301
16301
|
});
|
|
16302
|
+
var data = (id) => ({ id, name: `${id}.woff2`, kind: "data", metadata: null });
|
|
16302
16303
|
function runMediaStoreContract(name, makeStore) {
|
|
16303
16304
|
describe(`media store contract: ${name}`, () => {
|
|
16304
16305
|
let store;
|
|
@@ -16308,15 +16309,19 @@ function runMediaStoreContract(name, makeStore) {
|
|
|
16308
16309
|
it("round-trips kind", async () => {
|
|
16309
16310
|
await store.savePoolItem(clip("v1"));
|
|
16310
16311
|
await store.savePoolItem(still("i1"));
|
|
16312
|
+
await store.savePoolItem(data("d1"));
|
|
16311
16313
|
const items = await store.getPoolItems();
|
|
16312
16314
|
globalExpect(items.find((i2) => i2.id === "v1")?.kind).toBe("video");
|
|
16313
16315
|
globalExpect(items.find((i2) => i2.id === "i1")?.kind).toBe("image");
|
|
16316
|
+
globalExpect(items.find((i2) => i2.id === "d1")).toEqual(data("d1"));
|
|
16314
16317
|
});
|
|
16315
|
-
it("admits
|
|
16318
|
+
it("admits timeline media and component data kinds", async () => {
|
|
16316
16319
|
await store.savePoolItem(clip("v2"));
|
|
16317
16320
|
await store.savePoolItem(still("i2"));
|
|
16321
|
+
await store.savePoolItem(data("d2"));
|
|
16318
16322
|
const kinds = new Set((await store.getPoolItems()).map((i2) => i2.kind));
|
|
16319
|
-
for (const k of kinds) globalExpect(["video", "audio", "image"]).toContain(k);
|
|
16323
|
+
for (const k of kinds) globalExpect(["video", "audio", "image", "data"]).toContain(k);
|
|
16324
|
+
globalExpect(kinds).toContain("data");
|
|
16320
16325
|
});
|
|
16321
16326
|
it("gives a still back with NO duration", async () => {
|
|
16322
16327
|
await store.savePoolItem(still("i3"));
|
package/dist/media-model.js
CHANGED
|
@@ -138,7 +138,7 @@ var Perception = z2.object({
|
|
|
138
138
|
});
|
|
139
139
|
var MediaItem = z2.object({
|
|
140
140
|
id: OpaqueId,
|
|
141
|
-
kind: z2.enum(["video", "audio", "image"]),
|
|
141
|
+
kind: z2.enum(["video", "audio", "image", "data"]),
|
|
142
142
|
filename: z2.string().min(1),
|
|
143
143
|
mimeType: z2.string().min(1),
|
|
144
144
|
size: z2.number().int().nonnegative(),
|
package/dist/nle-export.js
CHANGED
|
@@ -1,33 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getPrimitiveText
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-H5LMJKZU.js";
|
|
5
|
-
import "./chunk-GULDS3VE.js";
|
|
6
|
-
import "./chunk-YLDMAZZE.js";
|
|
7
|
-
import "./chunk-MFHXCHRI.js";
|
|
8
|
-
import "./chunk-JQMPHKLU.js";
|
|
9
|
-
import "./chunk-ZZRBKGDA.js";
|
|
10
|
-
import "./chunk-KKEY5MIW.js";
|
|
11
|
-
import "./chunk-DLF4WVSE.js";
|
|
12
|
-
import "./chunk-U4V4FZGE.js";
|
|
13
|
-
import "./chunk-AWT3P5ZN.js";
|
|
14
|
-
import "./chunk-U5LBYS3N.js";
|
|
15
|
-
import "./chunk-G5BFI32U.js";
|
|
16
|
-
import "./chunk-6ID2J64H.js";
|
|
17
|
-
import "./chunk-BIBYZJL3.js";
|
|
18
|
-
import "./chunk-BDMTUEEZ.js";
|
|
19
|
-
import "./chunk-EMGFZ3PR.js";
|
|
20
|
-
import "./chunk-ZFEXATWN.js";
|
|
21
|
-
import "./chunk-DQKSCHFC.js";
|
|
22
|
-
import "./chunk-XHGZ2E77.js";
|
|
23
|
-
import "./chunk-TMIBBD5E.js";
|
|
24
|
-
import "./chunk-QGAWDLYX.js";
|
|
25
|
-
import "./chunk-ZSZABOE5.js";
|
|
26
|
-
import "./chunk-CX2IIQ4R.js";
|
|
27
|
-
import "./chunk-C5SEPOWD.js";
|
|
28
|
-
import "./chunk-JF4JJAFP.js";
|
|
3
|
+
} from "./chunk-7AZLFN26.js";
|
|
29
4
|
import "./chunk-7PA7FGLD.js";
|
|
30
|
-
import "./chunk-4FOOBSEE.js";
|
|
31
5
|
import "./chunk-2ESYSVXG.js";
|
|
32
6
|
|
|
33
7
|
// ../nle-export/src/srt.ts
|
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
VectorField,
|
|
12
12
|
VolumetricRays,
|
|
13
13
|
catalog
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-RAXHCRVV.js";
|
|
15
15
|
import "../chunk-XHGZ2E77.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-W2245F6G.js";
|
|
17
17
|
import "../chunk-2ESYSVXG.js";
|
|
18
18
|
export {
|
|
19
19
|
AnimatedBarChart,
|
|
@@ -10,7 +10,10 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
TEXT_HI,
|
|
12
12
|
VIOLET
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-W2245F6G.js";
|
|
14
|
+
import {
|
|
15
|
+
resolveCaptionFaces
|
|
16
|
+
} from "../chunk-TARKDVP6.js";
|
|
14
17
|
import "../chunk-2ESYSVXG.js";
|
|
15
18
|
|
|
16
19
|
// ../execution/primitives/src/captions/Captions.tsx
|
|
@@ -104,10 +107,11 @@ function resolveCaptionPlacement(position, region) {
|
|
|
104
107
|
|
|
105
108
|
// ../execution/primitives/src/captions/Captions.tsx
|
|
106
109
|
var DEFAULT_HIGHLIGHT_COLOR = TEXT_HI;
|
|
110
|
+
var DEFAULT_FACES = resolveCaptionFaces({});
|
|
107
111
|
var DEFAULT_STYLE = {
|
|
108
|
-
fontFamily:
|
|
112
|
+
fontFamily: DEFAULT_FACES.base.stack,
|
|
109
113
|
fontSize: 5,
|
|
110
|
-
fontWeight:
|
|
114
|
+
fontWeight: DEFAULT_FACES.base.weight,
|
|
111
115
|
color: TEXT_HI,
|
|
112
116
|
highlightColor: DEFAULT_HIGHLIGHT_COLOR,
|
|
113
117
|
backgroundColor: "transparent",
|
|
@@ -140,8 +144,8 @@ var CAPTION_LINGER_MS = 600;
|
|
|
140
144
|
function addTokenToBox(box, token, fontFamily, fontSize, fontWeight, emphasis) {
|
|
141
145
|
const isEmp = emphasis?.emphasisSet.has(token.fromMs) ?? false;
|
|
142
146
|
const tokenSize = isEmp ? Math.round(fontSize * (emphasis?.emphasisScale ?? 1.2)) : fontSize;
|
|
143
|
-
const tokenWeight = isEmp ? emphasis
|
|
144
|
-
const tokenFamily = isEmp ? emphasis
|
|
147
|
+
const tokenWeight = emphasis && isEmp ? emphasis.emphasisFontWeight : fontWeight;
|
|
148
|
+
const tokenFamily = emphasis && isEmp ? emphasis.emphasisFontFamily : fontFamily;
|
|
145
149
|
return box.add({
|
|
146
150
|
text: token.text,
|
|
147
151
|
fontFamily: tokenFamily,
|
|
@@ -177,14 +181,20 @@ function Captions({
|
|
|
177
181
|
}) {
|
|
178
182
|
const frame = useCurrentFrame();
|
|
179
183
|
const { fps, width, height } = useVideoConfig();
|
|
180
|
-
const
|
|
184
|
+
const faces = resolveCaptionFaces(userStyle ?? {});
|
|
185
|
+
const style = {
|
|
186
|
+
...DEFAULT_STYLE,
|
|
187
|
+
...userStyle,
|
|
188
|
+
fontFamily: faces.base.stack,
|
|
189
|
+
fontWeight: faces.base.weight
|
|
190
|
+
};
|
|
181
191
|
const emphasisScale = style.emphasisScale ?? 1.08;
|
|
182
192
|
const emphasisColor = style.emphasisColor ?? style.highlightColor;
|
|
183
|
-
const emphasisFontFamily =
|
|
184
|
-
const emphasisFontWeight =
|
|
193
|
+
const emphasisFontFamily = faces.emphasis.stack;
|
|
194
|
+
const emphasisFontWeight = faces.emphasis.weight;
|
|
185
195
|
const emphasisTextTransform = style.emphasisTextTransform ?? style.textTransform;
|
|
186
196
|
const emphasisLetterSpacing = style.emphasisLetterSpacing ?? 0;
|
|
187
|
-
const emphasisFontStyle = style
|
|
197
|
+
const emphasisFontStyle = faces.emphasis.style;
|
|
188
198
|
const entrance = style.entrance ?? "none";
|
|
189
199
|
const entranceFrames = Math.max(1, Math.round((style.entranceMs ?? 160) / 1e3 * fps));
|
|
190
200
|
const staggerFrames = Math.max(0, Math.round((style.entranceStaggerMs ?? 90) / 1e3 * fps));
|
|
@@ -331,7 +341,7 @@ function Captions({
|
|
|
331
341
|
color: fg,
|
|
332
342
|
borderRadius: plateRadius,
|
|
333
343
|
padding: `${Math.round(efs * platePadY)}px ${Math.round(efs * platePadX)}px`,
|
|
334
|
-
fontFamily: emphasisFontFamily
|
|
344
|
+
fontFamily: emphasisFontFamily,
|
|
335
345
|
fontSize: efs,
|
|
336
346
|
fontWeight: emphasisFontWeight,
|
|
337
347
|
fontStyle: emphasisFontStyle,
|
|
@@ -349,7 +359,7 @@ function Captions({
|
|
|
349
359
|
const isEmphasis = seg.emph;
|
|
350
360
|
const tokenFontSize = isEmphasis ? Math.round(fontSize * emphasisScale) : fontSize;
|
|
351
361
|
const tokenWeight = isEmphasis ? emphasisFontWeight : style.fontWeight;
|
|
352
|
-
const tokenFamily = isEmphasis ? emphasisFontFamily
|
|
362
|
+
const tokenFamily = isEmphasis ? emphasisFontFamily : style.fontFamily;
|
|
353
363
|
const tokenTransform = isEmphasis ? emphasisTextTransform : style.textTransform;
|
|
354
364
|
const tokenLetterSpacing = isEmphasis && emphasisLetterSpacing ? `${emphasisLetterSpacing}px` : void 0;
|
|
355
365
|
const tokenFontStyle = isEmphasis ? emphasisFontStyle : "normal";
|
|
@@ -7,12 +7,20 @@ import {
|
|
|
7
7
|
PulsingIndicator,
|
|
8
8
|
SpotlightCard,
|
|
9
9
|
SpringPopIn,
|
|
10
|
+
StageCameraEffect,
|
|
10
11
|
SuccessConfetti,
|
|
11
12
|
Vignette,
|
|
12
|
-
catalog
|
|
13
|
-
|
|
13
|
+
catalog,
|
|
14
|
+
laneDepths
|
|
15
|
+
} from "../chunk-7W6ZIKWV.js";
|
|
16
|
+
import "../chunk-MFHXCHRI.js";
|
|
14
17
|
import "../chunk-XHGZ2E77.js";
|
|
15
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-W2245F6G.js";
|
|
19
|
+
import "../chunk-5DJ3IEJR.js";
|
|
20
|
+
import "../chunk-VKATKWWR.js";
|
|
21
|
+
import "../chunk-TARKDVP6.js";
|
|
22
|
+
import "../chunk-MH3UPKWR.js";
|
|
23
|
+
import "../chunk-2L7PYYJK.js";
|
|
16
24
|
import "../chunk-2ESYSVXG.js";
|
|
17
25
|
export {
|
|
18
26
|
Blur,
|
|
@@ -23,7 +31,9 @@ export {
|
|
|
23
31
|
PulsingIndicator,
|
|
24
32
|
SpotlightCard,
|
|
25
33
|
SpringPopIn,
|
|
34
|
+
StageCameraEffect,
|
|
26
35
|
SuccessConfetti,
|
|
27
36
|
Vignette,
|
|
28
|
-
catalog
|
|
37
|
+
catalog,
|
|
38
|
+
laneDepths
|
|
29
39
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HeroText,
|
|
3
3
|
catalog
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-RL5SO653.js";
|
|
5
|
+
import "../chunk-LT4PWSR2.js";
|
|
6
|
+
import "../chunk-FWSJLHSV.js";
|
|
7
7
|
import "../chunk-ZFEXATWN.js";
|
|
8
8
|
import "../chunk-XHGZ2E77.js";
|
|
9
|
+
import "../chunk-W2245F6G.js";
|
|
9
10
|
import "../chunk-2ESYSVXG.js";
|
|
10
11
|
export {
|
|
11
12
|
HeroText,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ChatToPreviewLayout,
|
|
3
|
+
FlexLayout,
|
|
3
4
|
InfiniteBentoPan,
|
|
4
5
|
Letterbox,
|
|
5
6
|
PhotoGrid,
|
|
@@ -7,12 +8,18 @@ import {
|
|
|
7
8
|
SplitScreen,
|
|
8
9
|
StaggeredBentoGrid,
|
|
9
10
|
catalog
|
|
10
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-6EWRIAZA.js";
|
|
11
12
|
import "../chunk-XHGZ2E77.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-W2245F6G.js";
|
|
14
|
+
import "../chunk-5DJ3IEJR.js";
|
|
15
|
+
import "../chunk-VKATKWWR.js";
|
|
16
|
+
import "../chunk-TARKDVP6.js";
|
|
17
|
+
import "../chunk-MH3UPKWR.js";
|
|
18
|
+
import "../chunk-2L7PYYJK.js";
|
|
13
19
|
import "../chunk-2ESYSVXG.js";
|
|
14
20
|
export {
|
|
15
21
|
ChatToPreviewLayout,
|
|
22
|
+
FlexLayout,
|
|
16
23
|
InfiniteBentoPan,
|
|
17
24
|
Letterbox,
|
|
18
25
|
PhotoGrid,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../../_members/primitives/lib/frameScale.js";
|