@cueframe/kernel 0.2.58 → 0.2.59-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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/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 +4 -0
- package/dist/_members/component-runtime/template/extract.d.ts.map +1 -1
- package/dist/_members/component-runtime/template/index.d.ts +1 -0
- package/dist/_members/component-runtime/template/index.d.ts.map +1 -1
- package/dist/_members/component-runtime/template/schema.d.ts +14 -13
- package/dist/_members/component-runtime/template/schema.d.ts.map +1 -1
- package/dist/_members/component-runtime/template/testing/templateApplyContract.d.ts +3 -4
- package/dist/_members/component-runtime/template/testing/templateApplyContract.d.ts.map +1 -1
- 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 +0 -2
- 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 +4 -4
- package/dist/_members/composition/validators/brandKitBody.d.ts +8 -8
- 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 +6 -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 -5
- 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/index.d.ts +1 -11
- package/dist/_members/primitives/lib/index.d.ts +1 -1
- package/dist/_members/primitives/lib/tokens.d.ts +0 -16
- 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 -7
- 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 -219
- package/dist/brand-derivation/constants.js +1 -1
- package/dist/brand-derivation.js +1 -1
- package/dist/{chunk-LBJ5LI5V.js → chunk-2K2GBFLU.js} +17 -8
- package/dist/{chunk-RAXHCRVV.js → chunk-2PAP5LO5.js} +1 -1
- package/dist/{chunk-MNO6AO2J.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-PWWZTY3G.js → chunk-6KZCXAYL.js} +5 -2
- package/dist/{chunk-IEXAKOEX.js → chunk-6QGARSV6.js} +2 -15
- package/dist/{chunk-3YVIAWET.js → chunk-7II5OM7R.js} +13 -1
- 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-TR53N6HB.js → chunk-CEO47DIE.js} +6 -3
- package/dist/chunk-CIOUDOGN.js +12 -0
- package/dist/{chunk-GQ6XGAFB.js → chunk-DCKADD5B.js} +1 -1
- package/dist/{chunk-4NIJWK45.js → chunk-EISHFHU5.js} +0 -8
- 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-NVXSKKRN.js → chunk-IUJABAG2.js} +14 -10
- package/dist/{chunk-7NIOFHMH.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-TKFLSGAS.js → chunk-MMJYII7Y.js} +5 -5
- package/dist/{chunk-REST55RC.js → chunk-NECN7TT4.js} +5 -4
- package/dist/{chunk-4ZE564YF.js → chunk-NM7NWXGF.js} +0 -146
- package/dist/{chunk-5T655LYZ.js → chunk-NY6EI5YW.js} +4 -4
- package/dist/{chunk-UXRSEMJJ.js → chunk-ONSGT6UJ.js} +66 -35
- 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-3VLDQE26.js → chunk-U7KSOA2L.js} +4 -21
- package/dist/{chunk-VLJOIUHL.js → chunk-UGEUB763.js} +6 -6
- 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-JN3GF36B.js → chunk-X2RTLS6K.js} +2 -23
- package/dist/chunk-XHMKPTHV.js +20 -0
- package/dist/{chunk-2L33CKIY.js → chunk-XOT2VWCO.js} +18 -31
- package/dist/{chunk-AK5QBHOB.js → chunk-XQGQ5EFS.js} +10 -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.js +15 -12
- package/dist/component-runtime/template.js +165 -13
- package/dist/component-runtime.js +27 -28
- package/dist/compose.js +30 -47
- 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 -6
- package/dist/composition/primitive-catalog.js +2 -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.js +5 -4
- package/dist/composition/validators/graphic-kinds.js +1 -1
- package/dist/composition/validators.js +8 -65
- package/dist/composition-ops.js +17 -16
- package/dist/composition.js +13 -79
- 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 +11 -19
- 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 -7
- package/dist/mcp/wire-schema.js +13 -2
- package/dist/mcp.js +11 -10
- 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 +2 -2
- package/dist/primitives/effects.js +5 -5
- 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 +6 -6
- package/dist/primitives/workspace.js +1 -1
- package/dist/primitives.js +26 -40
- 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 +104 -86
- package/dist/{src-ZP6727AA.js → src-XI5MULKD.js} +17 -16
- package/package.json +38 -60
- 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 -28
- 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 -31
- package/dist/chunk-6UZYUWBX.js +0 -197
- package/dist/chunk-7EDLPIUN.js +0 -384
- package/dist/chunk-GF52TW4I.js +0 -51
- package/dist/chunk-IG3YAOUZ.js +0 -418
- package/dist/chunk-JOURGVOR.js +0 -27
- package/dist/chunk-MFMR3LHO.js +0 -116
- package/dist/chunk-OSMXQV5V.js +0 -18
- package/dist/chunk-QDBVYZSF.js +0 -128
- 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-4WSFPRLX.js +0 -16
- 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
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildDirectorContext
|
|
3
|
+
} from "./chunk-LVMWPFV4.js";
|
|
4
|
+
import "./chunk-2K2GBFLU.js";
|
|
5
|
+
import "./chunk-ZCEYEIRB.js";
|
|
6
|
+
import "./chunk-6KZCXAYL.js";
|
|
7
|
+
import "./chunk-AFUITAH6.js";
|
|
8
|
+
import "./chunk-WPZKOVYF.js";
|
|
9
|
+
import "./chunk-B7J5UUUV.js";
|
|
10
|
+
import "./chunk-EQH37KNZ.js";
|
|
11
|
+
import "./chunk-Q6CJ6HCU.js";
|
|
12
|
+
import "./chunk-WREYUH2E.js";
|
|
13
|
+
import "./chunk-OOL7ZUG7.js";
|
|
14
|
+
import "./chunk-U67V476Y.js";
|
|
15
|
+
export {
|
|
16
|
+
buildDirectorContext
|
|
17
|
+
};
|
package/dist/core/render.js
CHANGED
|
@@ -4,6 +4,8 @@ import {
|
|
|
4
4
|
DEFAULT_HEIGHT,
|
|
5
5
|
DEFAULT_RENDER_SETTINGS,
|
|
6
6
|
DEFAULT_WIDTH,
|
|
7
|
+
EXPORT_QUALITIES,
|
|
8
|
+
EXPORT_RESOLUTIONS,
|
|
7
9
|
FORMAT_PRESETS,
|
|
8
10
|
JUMP_THRESHOLD,
|
|
9
11
|
MIN_SUBJECT_RESOLUTION,
|
|
@@ -69,34 +71,36 @@ import {
|
|
|
69
71
|
splitIntoSentences,
|
|
70
72
|
validateComposition,
|
|
71
73
|
visiblePackedHostWindows
|
|
72
|
-
} from "../chunk-
|
|
74
|
+
} from "../chunk-IUJABAG2.js";
|
|
73
75
|
import {
|
|
74
76
|
buildEasedZooms,
|
|
75
77
|
buildPannedCenters,
|
|
76
78
|
easeOutCubic
|
|
77
79
|
} from "../chunk-QH3YI3ND.js";
|
|
78
|
-
import "../chunk-
|
|
79
|
-
import "../chunk-
|
|
80
|
-
import "../chunk-
|
|
80
|
+
import "../chunk-ZPJQ3TQL.js";
|
|
81
|
+
import "../chunk-3HLDIIWA.js";
|
|
82
|
+
import "../chunk-P3EFZDM5.js";
|
|
81
83
|
import "../chunk-T56BK7NS.js";
|
|
82
|
-
import "../chunk-
|
|
83
|
-
import "../chunk-7NIOFHMH.js";
|
|
84
|
-
import "../chunk-DKBFAQCW.js";
|
|
84
|
+
import "../chunk-Q6CJ6HCU.js";
|
|
85
85
|
import "../chunk-WREYUH2E.js";
|
|
86
|
+
import "../chunk-IVFMOHAC.js";
|
|
87
|
+
import "../chunk-DKBFAQCW.js";
|
|
86
88
|
import "../chunk-ILO4NEZ3.js";
|
|
87
|
-
import "../chunk-
|
|
89
|
+
import "../chunk-XQGQ5EFS.js";
|
|
88
90
|
import "../chunk-7PA7FGLD.js";
|
|
89
91
|
import "../chunk-VG2ND6PX.js";
|
|
90
92
|
import "../chunk-CL5Y6V6K.js";
|
|
91
93
|
import "../chunk-2L7PYYJK.js";
|
|
92
94
|
import "../chunk-OOL7ZUG7.js";
|
|
93
|
-
import "../chunk-
|
|
95
|
+
import "../chunk-U67V476Y.js";
|
|
94
96
|
export {
|
|
95
97
|
CARD_BOOKEND_DEFAULT_MS,
|
|
96
98
|
DEFAULT_FPS,
|
|
97
99
|
DEFAULT_HEIGHT,
|
|
98
100
|
DEFAULT_RENDER_SETTINGS,
|
|
99
101
|
DEFAULT_WIDTH,
|
|
102
|
+
EXPORT_QUALITIES,
|
|
103
|
+
EXPORT_RESOLUTIONS,
|
|
100
104
|
FORMAT_PRESETS,
|
|
101
105
|
JUMP_THRESHOLD,
|
|
102
106
|
MIN_SUBJECT_RESOLUTION,
|
package/dist/core/select.js
CHANGED
|
@@ -7,9 +7,9 @@ import {
|
|
|
7
7
|
stabilizeIncumbentChallenger,
|
|
8
8
|
stabilizePresenceGate,
|
|
9
9
|
stabilizeSelectionHysteresis
|
|
10
|
-
} from "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-3HLDIIWA.js";
|
|
11
|
+
import "../chunk-XQGQ5EFS.js";
|
|
12
|
+
import "../chunk-U67V476Y.js";
|
|
13
13
|
|
|
14
14
|
// ../execution/core/src/select/errorCodes.ts
|
|
15
15
|
var SELECTOR_ERROR_CODES = [
|
package/dist/core.js
CHANGED
|
@@ -10,24 +10,24 @@ import {
|
|
|
10
10
|
ensureEven,
|
|
11
11
|
extractCaptionWordsFromDoc,
|
|
12
12
|
isEmphasized
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IUJABAG2.js";
|
|
14
14
|
import "./chunk-QH3YI3ND.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-ZPJQ3TQL.js";
|
|
16
|
+
import "./chunk-3HLDIIWA.js";
|
|
17
|
+
import "./chunk-P3EFZDM5.js";
|
|
18
18
|
import "./chunk-T56BK7NS.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-7NIOFHMH.js";
|
|
21
|
-
import "./chunk-DKBFAQCW.js";
|
|
19
|
+
import "./chunk-Q6CJ6HCU.js";
|
|
22
20
|
import "./chunk-WREYUH2E.js";
|
|
21
|
+
import "./chunk-IVFMOHAC.js";
|
|
22
|
+
import "./chunk-DKBFAQCW.js";
|
|
23
23
|
import "./chunk-ILO4NEZ3.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-XQGQ5EFS.js";
|
|
25
25
|
import "./chunk-7PA7FGLD.js";
|
|
26
26
|
import "./chunk-VG2ND6PX.js";
|
|
27
27
|
import "./chunk-CL5Y6V6K.js";
|
|
28
28
|
import "./chunk-2L7PYYJK.js";
|
|
29
29
|
import "./chunk-OOL7ZUG7.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-U67V476Y.js";
|
|
31
31
|
export {
|
|
32
32
|
DEFAULT_FPS,
|
|
33
33
|
DEFAULT_HEIGHT,
|
package/dist/director/ai-sdk.js
CHANGED
|
@@ -5,19 +5,17 @@ import {
|
|
|
5
5
|
CueFramePlan,
|
|
6
6
|
CueFrameRunOutcome,
|
|
7
7
|
CueFrameSuggestions,
|
|
8
|
-
chunksForDirectorEvent,
|
|
9
8
|
cueFrameDataPartSchemas,
|
|
10
|
-
dataChunk,
|
|
11
9
|
generationArtifactFromToolResult,
|
|
12
10
|
projectDirectorHistory
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-X2RTLS6K.js";
|
|
12
|
+
import "../chunk-U7KSOA2L.js";
|
|
13
|
+
import "../chunk-TIAJMEQ4.js";
|
|
16
14
|
import "../chunk-BADZHXLR.js";
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-R6HTIP3N.js";
|
|
16
|
+
import "../chunk-XHMKPTHV.js";
|
|
17
|
+
import "../chunk-XQGQ5EFS.js";
|
|
18
|
+
import "../chunk-U67V476Y.js";
|
|
21
19
|
export {
|
|
22
20
|
CueFrameIteration,
|
|
23
21
|
CueFrameMessageMetadata,
|
|
@@ -25,9 +23,7 @@ export {
|
|
|
25
23
|
CueFramePlan,
|
|
26
24
|
CueFrameRunOutcome,
|
|
27
25
|
CueFrameSuggestions,
|
|
28
|
-
chunksForDirectorEvent,
|
|
29
26
|
cueFrameDataPartSchemas,
|
|
30
|
-
dataChunk,
|
|
31
27
|
generationArtifactFromToolResult,
|
|
32
28
|
projectDirectorHistory
|
|
33
29
|
};
|
package/dist/director/domain.js
CHANGED
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import "../chunk-
|
|
1
|
+
import "../chunk-S432RE6G.js";
|
|
2
2
|
import {
|
|
3
3
|
ChatErrorView,
|
|
4
|
-
ConversationId,
|
|
5
|
-
DirectorEvent,
|
|
6
|
-
DirectorRunId,
|
|
7
4
|
DirectorTurnContext,
|
|
8
5
|
DirectorTurnEnvelope,
|
|
9
6
|
ProjectRef,
|
|
10
7
|
chatErrorViewFromEnvelope,
|
|
11
8
|
chatErrorViewFromUnknown
|
|
12
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-U7KSOA2L.js";
|
|
13
10
|
import {
|
|
14
11
|
ClientRequestId,
|
|
15
12
|
GenerateMediaCommand,
|
|
@@ -25,20 +22,16 @@ import {
|
|
|
25
22
|
MediaGenerator,
|
|
26
23
|
MediaId,
|
|
27
24
|
MediaKind,
|
|
28
|
-
ProjectHome
|
|
29
|
-
|
|
30
|
-
} from "../chunk-73DQTUWY.js";
|
|
25
|
+
ProjectHome
|
|
26
|
+
} from "../chunk-TIAJMEQ4.js";
|
|
31
27
|
import "../chunk-BADZHXLR.js";
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-R6HTIP3N.js";
|
|
29
|
+
import "../chunk-XHMKPTHV.js";
|
|
30
|
+
import "../chunk-XQGQ5EFS.js";
|
|
31
|
+
import "../chunk-U67V476Y.js";
|
|
36
32
|
export {
|
|
37
33
|
ChatErrorView,
|
|
38
34
|
ClientRequestId,
|
|
39
|
-
ConversationId,
|
|
40
|
-
DirectorEvent,
|
|
41
|
-
DirectorRunId,
|
|
42
35
|
DirectorTurnContext,
|
|
43
36
|
DirectorTurnEnvelope,
|
|
44
37
|
GenerateMediaCommand,
|
|
@@ -57,6 +50,5 @@ export {
|
|
|
57
50
|
ProjectHome,
|
|
58
51
|
ProjectRef,
|
|
59
52
|
chatErrorViewFromEnvelope,
|
|
60
|
-
chatErrorViewFromUnknown
|
|
61
|
-
deriveGenerationStatus
|
|
53
|
+
chatErrorViewFromUnknown
|
|
62
54
|
};
|
package/dist/director.js
CHANGED
|
@@ -5,24 +5,19 @@ import {
|
|
|
5
5
|
CueFramePlan,
|
|
6
6
|
CueFrameRunOutcome,
|
|
7
7
|
CueFrameSuggestions,
|
|
8
|
-
chunksForDirectorEvent,
|
|
9
8
|
cueFrameDataPartSchemas,
|
|
10
|
-
dataChunk,
|
|
11
9
|
generationArtifactFromToolResult,
|
|
12
10
|
projectDirectorHistory
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-X2RTLS6K.js";
|
|
12
|
+
import "./chunk-S432RE6G.js";
|
|
15
13
|
import {
|
|
16
14
|
ChatErrorView,
|
|
17
|
-
ConversationId,
|
|
18
|
-
DirectorEvent,
|
|
19
|
-
DirectorRunId,
|
|
20
15
|
DirectorTurnContext,
|
|
21
16
|
DirectorTurnEnvelope,
|
|
22
17
|
ProjectRef,
|
|
23
18
|
chatErrorViewFromEnvelope,
|
|
24
19
|
chatErrorViewFromUnknown
|
|
25
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-U7KSOA2L.js";
|
|
26
21
|
import {
|
|
27
22
|
ClientRequestId,
|
|
28
23
|
GenerateMediaCommand,
|
|
@@ -38,26 +33,22 @@ import {
|
|
|
38
33
|
MediaGenerator,
|
|
39
34
|
MediaId,
|
|
40
35
|
MediaKind,
|
|
41
|
-
ProjectHome
|
|
42
|
-
|
|
43
|
-
} from "./chunk-73DQTUWY.js";
|
|
36
|
+
ProjectHome
|
|
37
|
+
} from "./chunk-TIAJMEQ4.js";
|
|
44
38
|
import "./chunk-BADZHXLR.js";
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-R6HTIP3N.js";
|
|
40
|
+
import "./chunk-XHMKPTHV.js";
|
|
41
|
+
import "./chunk-XQGQ5EFS.js";
|
|
42
|
+
import "./chunk-U67V476Y.js";
|
|
49
43
|
export {
|
|
50
44
|
ChatErrorView,
|
|
51
45
|
ClientRequestId,
|
|
52
|
-
ConversationId,
|
|
53
46
|
CueFrameIteration,
|
|
54
47
|
CueFrameMessageMetadata,
|
|
55
48
|
CueFramePhase,
|
|
56
49
|
CueFramePlan,
|
|
57
50
|
CueFrameRunOutcome,
|
|
58
51
|
CueFrameSuggestions,
|
|
59
|
-
DirectorEvent,
|
|
60
|
-
DirectorRunId,
|
|
61
52
|
DirectorTurnContext,
|
|
62
53
|
DirectorTurnEnvelope,
|
|
63
54
|
GenerateMediaCommand,
|
|
@@ -77,10 +68,7 @@ export {
|
|
|
77
68
|
ProjectRef,
|
|
78
69
|
chatErrorViewFromEnvelope,
|
|
79
70
|
chatErrorViewFromUnknown,
|
|
80
|
-
chunksForDirectorEvent,
|
|
81
71
|
cueFrameDataPartSchemas,
|
|
82
|
-
dataChunk,
|
|
83
|
-
deriveGenerationStatus,
|
|
84
72
|
generationArtifactFromToolResult,
|
|
85
73
|
projectDirectorHistory
|
|
86
74
|
};
|
package/dist/errors.js
CHANGED
|
@@ -7,8 +7,8 @@ import {
|
|
|
7
7
|
retryAfterSecondsFor,
|
|
8
8
|
scrubSensitive,
|
|
9
9
|
toWireEnvelope
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-XQGQ5EFS.js";
|
|
11
|
+
import "./chunk-U67V476Y.js";
|
|
12
12
|
export {
|
|
13
13
|
CueframeError,
|
|
14
14
|
DEFAULT_RETRY_AFTER_SECONDS,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../_members/foundation/canonical/index.js";
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EntityId,
|
|
3
3
|
ISODateTime,
|
|
4
|
-
NonEmptyString
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import "../chunk-2ESYSVXG.js";
|
|
4
|
+
NonEmptyString
|
|
5
|
+
} from "../chunk-R6HTIP3N.js";
|
|
6
|
+
import "../chunk-U67V476Y.js";
|
|
8
7
|
export {
|
|
9
8
|
EntityId,
|
|
10
9
|
ISODateTime,
|
|
11
|
-
NonEmptyString
|
|
12
|
-
ParamsBag
|
|
10
|
+
NonEmptyString
|
|
13
11
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../_members/foundation/testing/index.js";
|
package/dist/foundation.js
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import "./chunk-BADZHXLR.js";
|
|
2
|
-
import {
|
|
3
|
-
InvariantError
|
|
4
|
-
} from "./chunk-U3JPILZS.js";
|
|
5
2
|
import {
|
|
6
3
|
EntityId,
|
|
7
4
|
ISODateTime,
|
|
8
|
-
NonEmptyString
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
NonEmptyString
|
|
6
|
+
} from "./chunk-R6HTIP3N.js";
|
|
7
|
+
import {
|
|
8
|
+
canonicalJson
|
|
9
|
+
} from "./chunk-XHMKPTHV.js";
|
|
10
|
+
import "./chunk-U67V476Y.js";
|
|
12
11
|
export {
|
|
13
12
|
EntityId,
|
|
14
13
|
ISODateTime,
|
|
15
|
-
InvariantError,
|
|
16
14
|
NonEmptyString,
|
|
17
|
-
|
|
15
|
+
canonicalJson
|
|
18
16
|
};
|
package/dist/mcp/adapter.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
+
WAIT_KINDS,
|
|
2
3
|
querySchemaShape,
|
|
3
4
|
serializeQuery,
|
|
4
5
|
waitForJob
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import {
|
|
7
|
-
CURATED_TOOLS
|
|
8
|
-
} from "../chunk-4WBSXHQA.js";
|
|
6
|
+
} from "../chunk-7II5OM7R.js";
|
|
9
7
|
import {
|
|
10
8
|
apiErrorFrom,
|
|
11
9
|
bodySchemaFor,
|
|
@@ -16,8 +14,11 @@ import {
|
|
|
16
14
|
opById,
|
|
17
15
|
safeParse,
|
|
18
16
|
sniffImageMediaType
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import
|
|
17
|
+
} from "../chunk-FZB7UX44.js";
|
|
18
|
+
import {
|
|
19
|
+
CURATED_TOOLS
|
|
20
|
+
} from "../chunk-4WBSXHQA.js";
|
|
21
|
+
import "../chunk-U67V476Y.js";
|
|
21
22
|
|
|
22
23
|
// ../mcp/src/adapter.ts
|
|
23
24
|
import { z } from "zod";
|
|
@@ -466,16 +467,6 @@ function buildViewStyleReferenceTool(spec, ex, budget, opts) {
|
|
|
466
467
|
toModelOutput: imageVisionModelOutput
|
|
467
468
|
});
|
|
468
469
|
}
|
|
469
|
-
var WAIT_KINDS = [
|
|
470
|
-
"render",
|
|
471
|
-
"compose",
|
|
472
|
-
"suggestions",
|
|
473
|
-
"verify",
|
|
474
|
-
"preview_frame",
|
|
475
|
-
"preview",
|
|
476
|
-
"brand_kit_extract",
|
|
477
|
-
"consult"
|
|
478
|
-
];
|
|
479
470
|
function buildWaitJobTool(spec, ex, opts) {
|
|
480
471
|
const onProgress = opts?.onProgress;
|
|
481
472
|
const capMs = opts?.jobPoll?.timeoutMs ?? JOB_TIMEOUT_MS;
|
|
@@ -484,9 +475,9 @@ function buildWaitJobTool(spec, ex, opts) {
|
|
|
484
475
|
description: spec.description,
|
|
485
476
|
inputSchema: z.object({
|
|
486
477
|
kind: z.enum(WAIT_KINDS).describe(
|
|
487
|
-
"What to wait on: a render job, compose job, consult advisory, AI clip-suggestion analysis, or a generic async job (verify / preview_frame / preview / brand_kit_extract \u2014 use the kind in the enqueue receipt)."
|
|
478
|
+
"What to wait on: media ingest/generation, a render job, compose job, consult advisory, AI clip-suggestion analysis, or a generic async job (verify / preview_frame / preview / brand_kit_extract \u2014 use the kind in the enqueue receipt)."
|
|
488
479
|
),
|
|
489
|
-
id: z.string().describe("The job id from the enqueue call (
|
|
480
|
+
id: z.string().describe("The job id from the enqueue call (mediaItemId for media and suggestions, renderId, composeJobId, or jobId)."),
|
|
490
481
|
projectId: z.string().optional().describe("Required for render / compose / consult (their status routes are project-scoped)."),
|
|
491
482
|
timeoutMs: z.number().optional().describe(`Maximum wait in ms. Capped at ${capMs}; a longer value is clamped, not honoured.`)
|
|
492
483
|
}),
|
|
@@ -645,5 +636,6 @@ export {
|
|
|
645
636
|
InfraToolError,
|
|
646
637
|
buildCuratedToolSet,
|
|
647
638
|
infraToolErrorFromResponse,
|
|
648
|
-
isInfraToolError
|
|
639
|
+
isInfraToolError,
|
|
640
|
+
previewVisionModelOutput
|
|
649
641
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "../_members/mcp/compositionOps.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DESCRIBE_COMPOSITION_OPS_DESCRIPTION,
|
|
3
|
+
DescribeCompositionOpsInput,
|
|
4
|
+
describeCompositionOps
|
|
5
|
+
} from "../chunk-4VBLQIM5.js";
|
|
6
|
+
import "../chunk-U67V476Y.js";
|
|
7
|
+
export {
|
|
8
|
+
DESCRIBE_COMPOSITION_OPS_DESCRIPTION,
|
|
9
|
+
DescribeCompositionOpsInput,
|
|
10
|
+
describeCompositionOps
|
|
11
|
+
};
|
package/dist/mcp/core.js
CHANGED
package/dist/mcp/curation.js
CHANGED
package/dist/mcp/executor.js
CHANGED
package/dist/mcp/scene-shot.js
CHANGED
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
SCENE_SHOT_RULES,
|
|
6
6
|
sceneBrandTokens,
|
|
7
7
|
sceneShotContract
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-I2HNC4PQ.js";
|
|
9
|
+
import "../chunk-FZB7UX44.js";
|
|
10
|
+
import "../chunk-U67V476Y.js";
|
|
11
11
|
export {
|
|
12
12
|
SCENE_SHOT_LIMITS,
|
|
13
13
|
SCENE_SHOT_RESOURCE_DESCRIPTION,
|
package/dist/mcp/server.js
CHANGED
|
@@ -3,23 +3,22 @@ import {
|
|
|
3
3
|
SERVER_INSTRUCTIONS,
|
|
4
4
|
__resetSkillCache,
|
|
5
5
|
buildServer,
|
|
6
|
-
describeCompositionOps,
|
|
7
6
|
registerCuratedTools,
|
|
8
7
|
registerRawTools,
|
|
9
8
|
registerSkillPrompts,
|
|
10
9
|
titleCase
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
10
|
+
} from "../chunk-XOT2VWCO.js";
|
|
11
|
+
import "../chunk-I2HNC4PQ.js";
|
|
12
|
+
import "../chunk-7II5OM7R.js";
|
|
13
|
+
import "../chunk-4VBLQIM5.js";
|
|
14
|
+
import "../chunk-FZB7UX44.js";
|
|
13
15
|
import "../chunk-4WBSXHQA.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-KBDUEU4W.js";
|
|
16
|
-
import "../chunk-2ESYSVXG.js";
|
|
16
|
+
import "../chunk-U67V476Y.js";
|
|
17
17
|
export {
|
|
18
18
|
RAW_EXCLUDED_OPERATION_IDS,
|
|
19
19
|
SERVER_INSTRUCTIONS,
|
|
20
20
|
__resetSkillCache,
|
|
21
21
|
buildServer,
|
|
22
|
-
describeCompositionOps,
|
|
23
22
|
registerCuratedTools,
|
|
24
23
|
registerRawTools,
|
|
25
24
|
registerSkillPrompts,
|
package/dist/mcp/wire-schema.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../chunk-
|
|
1
|
+
import "../chunk-U67V476Y.js";
|
|
2
2
|
|
|
3
3
|
// ../mcp/src/wireSchema.ts
|
|
4
4
|
import { z } from "zod";
|
|
@@ -18,6 +18,14 @@ function toMcpInputJsonSchema(schema) {
|
|
|
18
18
|
}
|
|
19
19
|
return { ...result, $schema: MCP_JSON_SCHEMA_DIALECT };
|
|
20
20
|
}
|
|
21
|
+
function issuePath(path) {
|
|
22
|
+
let text = "";
|
|
23
|
+
for (const segment of path ?? []) {
|
|
24
|
+
const key = typeof segment === "object" && segment !== null ? segment.key : segment;
|
|
25
|
+
text += typeof key === "number" ? `[${key}]` : `${text ? "." : ""}${String(key)}`;
|
|
26
|
+
}
|
|
27
|
+
return text;
|
|
28
|
+
}
|
|
21
29
|
async function parseToolInput(schema, input) {
|
|
22
30
|
const validate = schema?.["~standard"]?.validate;
|
|
23
31
|
if (typeof validate !== "function") throw new Error("Tool input schema does not implement Standard Schema validation.");
|
|
@@ -25,7 +33,10 @@ async function parseToolInput(schema, input) {
|
|
|
25
33
|
if (result.issues) {
|
|
26
34
|
return {
|
|
27
35
|
success: false,
|
|
28
|
-
error: result.issues.map((issue) =>
|
|
36
|
+
error: result.issues.map((issue) => {
|
|
37
|
+
const at = issuePath(issue.path);
|
|
38
|
+
return `${at ? `${at}: ` : ""}${issue.message ?? "Invalid input"}`;
|
|
39
|
+
}).join("; ")
|
|
29
40
|
};
|
|
30
41
|
}
|
|
31
42
|
return { success: true, data: result.value };
|
package/dist/mcp.js
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
buildServer,
|
|
3
|
+
registerCuratedTools,
|
|
4
|
+
registerRawTools
|
|
5
|
+
} from "./chunk-XOT2VWCO.js";
|
|
6
|
+
import "./chunk-I2HNC4PQ.js";
|
|
7
|
+
import "./chunk-7II5OM7R.js";
|
|
8
|
+
import "./chunk-4VBLQIM5.js";
|
|
9
|
+
import "./chunk-FZB7UX44.js";
|
|
10
|
+
import "./chunk-4WBSXHQA.js";
|
|
1
11
|
import {
|
|
2
12
|
API_URLS,
|
|
3
13
|
makeNetworkExecutor,
|
|
4
14
|
makePlatformExecutor
|
|
5
15
|
} from "./chunk-WWXTJZ67.js";
|
|
6
16
|
import "./chunk-W5AFGFVZ.js";
|
|
7
|
-
import
|
|
8
|
-
buildServer,
|
|
9
|
-
registerCuratedTools,
|
|
10
|
-
registerRawTools
|
|
11
|
-
} from "./chunk-2L33CKIY.js";
|
|
12
|
-
import "./chunk-3YVIAWET.js";
|
|
13
|
-
import "./chunk-4WBSXHQA.js";
|
|
14
|
-
import "./chunk-WSMCZRJ2.js";
|
|
15
|
-
import "./chunk-KBDUEU4W.js";
|
|
16
|
-
import "./chunk-2ESYSVXG.js";
|
|
17
|
+
import "./chunk-U67V476Y.js";
|
|
17
18
|
export {
|
|
18
19
|
API_URLS,
|
|
19
20
|
buildServer,
|
|
@@ -13,13 +13,12 @@ import {
|
|
|
13
13
|
MediaGenerator,
|
|
14
14
|
MediaId,
|
|
15
15
|
MediaKind,
|
|
16
|
-
ProjectHome
|
|
17
|
-
|
|
18
|
-
} from "../chunk-73DQTUWY.js";
|
|
16
|
+
ProjectHome
|
|
17
|
+
} from "../chunk-TIAJMEQ4.js";
|
|
19
18
|
import "../chunk-BADZHXLR.js";
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-R6HTIP3N.js";
|
|
20
|
+
import "../chunk-XHMKPTHV.js";
|
|
21
|
+
import "../chunk-U67V476Y.js";
|
|
23
22
|
export {
|
|
24
23
|
ClientRequestId,
|
|
25
24
|
GenerateMediaCommand,
|
|
@@ -35,6 +34,5 @@ export {
|
|
|
35
34
|
MediaGenerator,
|
|
36
35
|
MediaId,
|
|
37
36
|
MediaKind,
|
|
38
|
-
ProjectHome
|
|
39
|
-
deriveGenerationStatus
|
|
37
|
+
ProjectHome
|
|
40
38
|
};
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
__commonJS,
|
|
3
3
|
__export,
|
|
4
4
|
__toESM
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-U67V476Y.js";
|
|
6
6
|
|
|
7
7
|
// ../../node_modules/.pnpm/expect-type@1.4.0/node_modules/expect-type/dist/branding.js
|
|
8
8
|
var require_branding = __commonJS({
|
|
@@ -12716,7 +12716,7 @@ function memo(fn2) {
|
|
|
12716
12716
|
};
|
|
12717
12717
|
}
|
|
12718
12718
|
async function saveInlineSnapshots(environment, snapshots) {
|
|
12719
|
-
const MagicString = (await import("../magic-string.es-
|
|
12719
|
+
const MagicString = (await import("../magic-string.es-KVSW34UD.js")).default;
|
|
12720
12720
|
const files = new Set(snapshots.map((i2) => i2.file));
|
|
12721
12721
|
await Promise.all(Array.from(files).map(async (file) => {
|
|
12722
12722
|
const snaps = snapshots.filter((i2) => i2.file === file);
|