@nodaro/shared 3.62.0 → 3.64.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/{chunk-C7POAYFE.js → chunk-36VWLB4J.js} +3 -3
- package/dist/{chunk-C7POAYFE.js.map → chunk-36VWLB4J.js.map} +1 -1
- package/dist/{chunk-S24ZBUB4.js → chunk-3AYM47GW.js} +6 -32
- package/dist/chunk-3AYM47GW.js.map +1 -0
- package/dist/{chunk-YCXRSWCQ.js → chunk-3KTWYYCN.js} +8 -5
- package/dist/chunk-3KTWYYCN.js.map +1 -0
- package/dist/{chunk-ZES6EZC4.js → chunk-4IUE2JB7.js} +3 -3
- package/dist/{chunk-ZES6EZC4.js.map → chunk-4IUE2JB7.js.map} +1 -1
- package/dist/{chunk-MYJQELFN.cjs → chunk-5OBTGNUQ.cjs} +547 -29
- package/dist/chunk-5OBTGNUQ.cjs.map +1 -0
- package/dist/{chunk-TWF2OSH4.cjs → chunk-67CMMTLN.cjs} +4 -4
- package/dist/{chunk-TWF2OSH4.cjs.map → chunk-67CMMTLN.cjs.map} +1 -1
- package/dist/{chunk-WRSWH7US.cjs → chunk-6BRWPJPP.cjs} +17 -2
- package/dist/chunk-6BRWPJPP.cjs.map +1 -0
- package/dist/{chunk-S5TMRJMX.js → chunk-6YIV37V7.js} +4 -4
- package/dist/{chunk-S5TMRJMX.js.map → chunk-6YIV37V7.js.map} +1 -1
- package/dist/{chunk-3M4BNKFJ.cjs → chunk-7AJGUI7L.cjs} +202 -16
- package/dist/chunk-7AJGUI7L.cjs.map +1 -0
- package/dist/{chunk-JZGZ26YB.js → chunk-7KQ6W5DS.js} +4 -4
- package/dist/{chunk-JZGZ26YB.js.map → chunk-7KQ6W5DS.js.map} +1 -1
- package/dist/{chunk-IWWVPR3W.cjs → chunk-ACZZHHFZ.cjs} +149 -34
- package/dist/chunk-ACZZHHFZ.cjs.map +1 -0
- package/dist/{chunk-2W745U4A.cjs → chunk-AZNZ5WNZ.cjs} +42 -70
- package/dist/chunk-AZNZ5WNZ.cjs.map +1 -0
- package/dist/{chunk-HSHCCBIV.js → chunk-BQYCZLMF.js} +16 -3
- package/dist/chunk-BQYCZLMF.js.map +1 -0
- package/dist/chunk-CHS2SIP6.cjs +504 -0
- package/dist/chunk-CHS2SIP6.cjs.map +1 -0
- package/dist/{chunk-CIPPPT7E.cjs → chunk-CHTZZRAL.cjs} +6 -6
- package/dist/{chunk-CIPPPT7E.cjs.map → chunk-CHTZZRAL.cjs.map} +1 -1
- package/dist/{chunk-AOJ6B7K4.cjs → chunk-D4KWNDPH.cjs} +12 -12
- package/dist/chunk-D4KWNDPH.cjs.map +1 -0
- package/dist/{chunk-5YYN5X57.js → chunk-DZ4IOP3Q.js} +536 -30
- package/dist/chunk-DZ4IOP3Q.js.map +1 -0
- package/dist/{chunk-VACPZPUA.cjs → chunk-EXEVT6D2.cjs} +15 -5
- package/dist/chunk-EXEVT6D2.cjs.map +1 -0
- package/dist/{chunk-5M43XMRB.cjs → chunk-FHGRKQVZ.cjs} +8 -8
- package/dist/{chunk-5M43XMRB.cjs.map → chunk-FHGRKQVZ.cjs.map} +1 -1
- package/dist/{chunk-KJSRPHJ2.cjs → chunk-GTWUS6MQ.cjs} +165 -54
- package/dist/chunk-GTWUS6MQ.cjs.map +1 -0
- package/dist/{chunk-Q6IES3U2.js → chunk-H5KHWTAE.js} +5 -2
- package/dist/chunk-H5KHWTAE.js.map +1 -0
- package/dist/{chunk-G3KVK7OU.cjs → chunk-HDPJNNMF.cjs} +21 -21
- package/dist/{chunk-G3KVK7OU.cjs.map → chunk-HDPJNNMF.cjs.map} +1 -1
- package/dist/{chunk-3OYO3XCC.js → chunk-IYSOVS7O.js} +118 -24
- package/dist/chunk-IYSOVS7O.js.map +1 -0
- package/dist/{chunk-AFYTX4AI.cjs → chunk-J6B7J73J.cjs} +110 -50
- package/dist/chunk-J6B7J73J.cjs.map +1 -0
- package/dist/{chunk-I2RQB7VG.js → chunk-KB2SQAR3.js} +3 -3
- package/dist/{chunk-I2RQB7VG.js.map → chunk-KB2SQAR3.js.map} +1 -1
- package/dist/{chunk-BLJUCPMV.cjs → chunk-KSHAAPQF.cjs} +5 -2
- package/dist/chunk-KSHAAPQF.cjs.map +1 -0
- package/dist/{chunk-6G7NN4S4.js → chunk-NIAFR5EE.js} +2 -2
- package/dist/chunk-NIAFR5EE.js.map +1 -0
- package/dist/{chunk-CF4S4N5X.js → chunk-O2QOBA6Q.js} +2 -2
- package/dist/{chunk-CF4S4N5X.js.map → chunk-O2QOBA6Q.js.map} +1 -1
- package/dist/{chunk-IDTKF5EX.cjs → chunk-O4RPXBDZ.cjs} +12 -8
- package/dist/chunk-O4RPXBDZ.cjs.map +1 -0
- package/dist/{chunk-4GGLKRYI.cjs → chunk-O6TBB4IF.cjs} +2 -2
- package/dist/{chunk-4GGLKRYI.cjs.map → chunk-O6TBB4IF.cjs.map} +1 -1
- package/dist/{chunk-PTD6EDUU.js → chunk-OBOOHG3N.js} +13 -4
- package/dist/chunk-OBOOHG3N.js.map +1 -0
- package/dist/{chunk-2D5LQFV4.cjs → chunk-OOZW2MM6.cjs} +9 -9
- package/dist/{chunk-2D5LQFV4.cjs.map → chunk-OOZW2MM6.cjs.map} +1 -1
- package/dist/{chunk-A2PX5IRC.cjs → chunk-PERUFUVH.cjs} +13 -13
- package/dist/{chunk-A2PX5IRC.cjs.map → chunk-PERUFUVH.cjs.map} +1 -1
- package/dist/{chunk-G4U3HW6W.js → chunk-PJJAZQVZ.js} +3 -3
- package/dist/{chunk-G4U3HW6W.js.map → chunk-PJJAZQVZ.js.map} +1 -1
- package/dist/{chunk-E2HZTGYX.js → chunk-Q2Y4JHF7.js} +7 -7
- package/dist/chunk-Q2Y4JHF7.js.map +1 -0
- package/dist/{chunk-FVII3KHN.js → chunk-QYU7J5EQ.js} +198 -17
- package/dist/chunk-QYU7J5EQ.js.map +1 -0
- package/dist/{chunk-JJNNM23P.js → chunk-S3UGLZSF.js} +3 -3
- package/dist/{chunk-JJNNM23P.js.map → chunk-S3UGLZSF.js.map} +1 -1
- package/dist/{chunk-CC4V2B7S.js → chunk-SHH2T4CR.js} +3 -3
- package/dist/{chunk-CC4V2B7S.js.map → chunk-SHH2T4CR.js.map} +1 -1
- package/dist/{chunk-4ZEFP2FQ.cjs → chunk-SPAHI7DY.cjs} +4 -4
- package/dist/{chunk-4ZEFP2FQ.cjs.map → chunk-SPAHI7DY.cjs.map} +1 -1
- package/dist/{chunk-Y6X7UJSD.js → chunk-SXHHLZ22.js} +122 -15
- package/dist/chunk-SXHHLZ22.js.map +1 -0
- package/dist/{chunk-HRY7KGAE.cjs → chunk-T2OVDF2M.cjs} +6 -6
- package/dist/{chunk-HRY7KGAE.cjs.map → chunk-T2OVDF2M.cjs.map} +1 -1
- package/dist/{chunk-2QKF7M2Z.js → chunk-TAPBDT47.js} +3 -3
- package/dist/{chunk-2QKF7M2Z.js.map → chunk-TAPBDT47.js.map} +1 -1
- package/dist/{chunk-NGKKNSK6.js → chunk-TPQJKS7D.js} +139 -16
- package/dist/chunk-TPQJKS7D.js.map +1 -0
- package/dist/{chunk-N7OUQK7E.cjs → chunk-TQW3R44P.cjs} +8 -8
- package/dist/{chunk-N7OUQK7E.cjs.map → chunk-TQW3R44P.cjs.map} +1 -1
- package/dist/{chunk-GSFB537T.js → chunk-TTGZ2L3O.js} +23 -4
- package/dist/chunk-TTGZ2L3O.js.map +1 -0
- package/dist/{chunk-SYWR5G3T.js → chunk-VPTA4Z7G.js} +54 -7
- package/dist/chunk-VPTA4Z7G.js.map +1 -0
- package/dist/{chunk-2HZGDZZN.cjs → chunk-VZ6TE23U.cjs} +6 -6
- package/dist/{chunk-2HZGDZZN.cjs.map → chunk-VZ6TE23U.cjs.map} +1 -1
- package/dist/{chunk-TRVWMKNE.cjs → chunk-W6VJAUGM.cjs} +285 -64
- package/dist/chunk-W6VJAUGM.cjs.map +1 -0
- package/dist/{chunk-UDDVDQMF.js → chunk-W7KHHNZR.js} +235 -37
- package/dist/chunk-W7KHHNZR.js.map +1 -0
- package/dist/{chunk-KYMHFVAZ.cjs → chunk-Y4GCJJPF.cjs} +2 -2
- package/dist/chunk-Y4GCJJPF.cjs.map +1 -0
- package/dist/{chunk-6CSXMWL4.cjs → chunk-YQV53HRR.cjs} +27 -4
- package/dist/chunk-YQV53HRR.cjs.map +1 -0
- package/dist/{chunk-7FCTCWHD.js → chunk-ZI3QDUHO.js} +3 -3
- package/dist/{chunk-7FCTCWHD.js.map → chunk-ZI3QDUHO.js.map} +1 -1
- package/dist/entries/apps.cjs +43 -42
- package/dist/entries/apps.js +8 -7
- package/dist/entries/captions.cjs +38 -30
- package/dist/entries/captions.d.cts +47 -1
- package/dist/entries/captions.d.ts +47 -1
- package/dist/entries/captions.js +1 -1
- package/dist/entries/credits.cjs +354 -174
- package/dist/entries/credits.d.cts +378 -27
- package/dist/entries/credits.d.ts +378 -27
- package/dist/entries/credits.js +11 -11
- package/dist/entries/llm-models.cjs +77 -57
- package/dist/entries/llm-models.d.cts +108 -7
- package/dist/entries/llm-models.d.ts +108 -7
- package/dist/entries/llm-models.js +2 -2
- package/dist/entries/media.cjs +63 -63
- package/dist/entries/media.d.cts +8 -0
- package/dist/entries/media.d.ts +8 -0
- package/dist/entries/media.js +1 -1
- package/dist/entries/model-catalog.cjs +161 -105
- package/dist/entries/model-catalog.d.cts +109 -22
- package/dist/entries/model-catalog.d.ts +109 -22
- package/dist/entries/model-catalog.js +4 -4
- package/dist/entries/models.cjs +466 -322
- package/dist/entries/models.d.cts +71 -5
- package/dist/entries/models.d.ts +71 -5
- package/dist/entries/models.js +5 -5
- package/dist/entries/nodes.cjs +226 -209
- package/dist/entries/nodes.d.cts +66 -7
- package/dist/entries/nodes.d.ts +66 -7
- package/dist/entries/nodes.js +10 -9
- package/dist/entries/pipeline.cjs +156 -152
- package/dist/entries/pipeline.d.cts +14 -4
- package/dist/entries/pipeline.d.ts +14 -4
- package/dist/entries/pipeline.js +3 -3
- package/dist/entries/runtime-config.cjs +29 -29
- package/dist/entries/runtime-config.d.cts +10 -7
- package/dist/entries/runtime-config.d.ts +10 -7
- package/dist/entries/runtime-config.js +1 -1
- package/dist/entries/social.cjs +177 -177
- package/dist/entries/social.js +2 -2
- package/dist/entries/types.d.cts +8 -0
- package/dist/entries/types.d.ts +8 -0
- package/dist/entries/ugc.cjs +71 -71
- package/dist/entries/ugc.js +4 -4
- package/dist/entries/video.cjs +154 -150
- package/dist/entries/video.d.cts +11 -2
- package/dist/entries/video.d.ts +11 -2
- package/dist/entries/video.js +6 -6
- package/dist/entries/workflow.cjs +150 -150
- package/dist/entries/workflow.d.cts +1 -1
- package/dist/entries/workflow.d.ts +1 -1
- package/dist/entries/workflow.js +2 -2
- package/dist/index.cjs +2136 -1704
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +27 -27
- package/dist/{model-catalog-CCEcv08q.d.ts → model-catalog-Cf9fkEUp.d.cts} +45 -2
- package/dist/{model-catalog-CCEcv08q.d.cts → model-catalog-Cf9fkEUp.d.ts} +45 -2
- package/dist/{model-constants-B88p6XR0.d.ts → model-constants-BxjiWVQ9.d.ts} +215 -32
- package/dist/{model-constants-Cf3zaITt.d.cts → model-constants-C_Nyft_i.d.cts} +215 -32
- package/package.json +1 -1
- package/src/__tests__/add-captions-nemotron-pricing.test.ts +111 -0
- package/src/__tests__/credit-identifiers.test.ts +29 -0
- package/src/__tests__/extend-providers.test.ts +359 -39
- package/src/__tests__/fixtures/mask-composite-quote-parity.json +1 -1
- package/src/__tests__/fixtures/measured-input-quote-parity.json +1435 -0
- package/src/__tests__/fixtures/planned-length-quote-parity.json +1866 -0
- package/src/__tests__/fixtures/video-utility-quote-parity.json +2343 -0
- package/src/__tests__/flux-3-klein.test.ts +203 -0
- package/src/__tests__/gpt-image-2-6-formats.test.ts +3 -1
- package/src/__tests__/gvp-supported-providers.test.ts +27 -2
- package/src/__tests__/lip-sync-audio-rate.test.ts +74 -0
- package/src/__tests__/lip-sync-levers.test.ts +31 -0
- package/src/__tests__/llm-models.test.ts +139 -12
- package/src/__tests__/llm-price-key.test.ts +164 -1
- package/src/__tests__/model-makers.test.ts +3 -0
- package/src/__tests__/nemotron-transcribe-pricing.test.ts +61 -0
- package/src/__tests__/node-runtime-keys.test.ts +7 -0
- package/src/__tests__/normalize-node-params.test.ts +172 -1
- package/src/__tests__/pixverse-v6-max-catalog.test.ts +271 -0
- package/src/__tests__/prompt-length-limits.test.ts +4 -0
- package/src/__tests__/retired-lip-sync-providers.test.ts +43 -0
- package/src/__tests__/seedance-extend-source-credit-id.test.ts +89 -0
- package/src/__tests__/seedance-task-type.test.ts +13 -3
- package/src/__tests__/sequence-execution.test.ts +22 -1
- package/src/__tests__/suno-credit-type.test.ts +21 -2
- package/src/__tests__/transcribe-capabilities.test.ts +41 -2
- package/src/__tests__/transcribe-preflight.test.ts +50 -1
- package/src/__tests__/video-analysis-catalog-sync.test.ts +4 -2
- package/src/__tests__/video-analysis-pricing.test.ts +10 -9
- package/src/__tests__/video-audio-capability.test.ts +35 -6
- package/src/__tests__/video-resolution-billed-as-named.test.ts +30 -0
- package/src/__tests__/video-upscale-params.test.ts +62 -0
- package/src/caption-styles.ts +62 -0
- package/src/catalog-projection.ts +8 -0
- package/src/credit-estimators/add-captions-nemotron.ts +73 -0
- package/src/credit-estimators/index.ts +20 -0
- package/src/credit-estimators/nemotron-transcribe.ts +87 -0
- package/src/credit-identifiers.ts +351 -41
- package/src/entries/captions.ts +2 -0
- package/src/entries/credits.ts +37 -2
- package/src/entries/llm-models.ts +6 -0
- package/src/entries/model-catalog.ts +22 -0
- package/src/entries/models.ts +50 -0
- package/src/entries/nodes.ts +4 -0
- package/src/entries/pipeline.ts +1 -1
- package/src/entries/video.ts +1 -1
- package/src/flux-3-klein.ts +69 -0
- package/src/freecut-protocol.ts +8 -0
- package/src/input-image-pricing.ts +23 -6
- package/src/lip-sync-levers.ts +56 -0
- package/src/lip-sync-pricing.ts +91 -1
- package/src/llm-models.ts +305 -16
- package/src/model-catalog.ts +529 -28
- package/src/model-constants.ts +417 -41
- package/src/model-tree.ts +2 -1
- package/src/nodaro-video-upscale.ts +48 -0
- package/src/node-default-mappings.ts +6 -0
- package/src/node-runtime-keys.ts +3 -0
- package/src/normalize-node-params.ts +172 -3
- package/src/runtime-config/contract.ts +10 -7
- package/src/seedance-draft.ts +2 -1
- package/src/seedance-extend-rate.ts +116 -0
- package/src/sequence-execution.ts +24 -0
- package/src/transcribe-preflight.ts +81 -7
- package/src/video-analysis-pricing.ts +28 -15
- package/src/video-duration.ts +9 -0
- package/src/video-ui-defaults.ts +5 -3
- package/src/video-upscale-params.ts +67 -0
- package/dist/chunk-2W745U4A.cjs.map +0 -1
- package/dist/chunk-3M4BNKFJ.cjs.map +0 -1
- package/dist/chunk-3OYO3XCC.js.map +0 -1
- package/dist/chunk-5YYN5X57.js.map +0 -1
- package/dist/chunk-6CSXMWL4.cjs.map +0 -1
- package/dist/chunk-6G7NN4S4.js.map +0 -1
- package/dist/chunk-AFYTX4AI.cjs.map +0 -1
- package/dist/chunk-AOJ6B7K4.cjs.map +0 -1
- package/dist/chunk-BLJUCPMV.cjs.map +0 -1
- package/dist/chunk-E2HZTGYX.js.map +0 -1
- package/dist/chunk-FVII3KHN.js.map +0 -1
- package/dist/chunk-GSFB537T.js.map +0 -1
- package/dist/chunk-HSHCCBIV.js.map +0 -1
- package/dist/chunk-IDTKF5EX.cjs.map +0 -1
- package/dist/chunk-IWWVPR3W.cjs.map +0 -1
- package/dist/chunk-KJSRPHJ2.cjs.map +0 -1
- package/dist/chunk-KYMHFVAZ.cjs.map +0 -1
- package/dist/chunk-MYJQELFN.cjs.map +0 -1
- package/dist/chunk-NGKKNSK6.js.map +0 -1
- package/dist/chunk-PTD6EDUU.js.map +0 -1
- package/dist/chunk-Q6IES3U2.js.map +0 -1
- package/dist/chunk-QWYFHQYK.cjs +0 -357
- package/dist/chunk-QWYFHQYK.cjs.map +0 -1
- package/dist/chunk-S24ZBUB4.js.map +0 -1
- package/dist/chunk-SYWR5G3T.js.map +0 -1
- package/dist/chunk-TRVWMKNE.cjs.map +0 -1
- package/dist/chunk-UDDVDQMF.js.map +0 -1
- package/dist/chunk-VACPZPUA.cjs.map +0 -1
- package/dist/chunk-WRSWH7US.cjs.map +0 -1
- package/dist/chunk-Y6X7UJSD.js.map +0 -1
- package/dist/chunk-YCXRSWCQ.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bK as ScriptProvider } from '../model-constants-BxjiWVQ9.js';
|
|
2
2
|
import 'zod';
|
|
3
|
-
import '../model-catalog-
|
|
3
|
+
import '../model-catalog-Cf9fkEUp.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* LLM Model Registry — shared between frontend and backend.
|
|
@@ -75,6 +75,38 @@ interface LlmModelDef {
|
|
|
75
75
|
* Capability-driven so `llmCompleteStructured` never hardcodes provider ids.
|
|
76
76
|
*/
|
|
77
77
|
structuredOutputMode?: "anthropic-tool" | "kie-response-format" | "responses-json-schema";
|
|
78
|
+
/**
|
|
79
|
+
* For a model with NO trusted `structuredOutputMode`: the wire field a
|
|
80
|
+
* structured call still sends its schema in, as a hint the model reads but
|
|
81
|
+
* the provider was not found to hold its answer to. Read through
|
|
82
|
+
* {@link structuredWireMode}, which every request builder uses; everything
|
|
83
|
+
* that decides TRUST (STRUCTURED_VISION_MODELS, the structured-model
|
|
84
|
+
* filters) keeps reading `structuredOutputMode` alone, so a hinted model is
|
|
85
|
+
* never offered where guaranteed structured output is required. Every answer
|
|
86
|
+
* is still parsed, validated and re-asked by `llmCompleteStructured`, as for
|
|
87
|
+
* any model. Never set together with `structuredOutputMode` (registry test).
|
|
88
|
+
*/
|
|
89
|
+
structuredOutputHint?: "kie-response-format" | "responses-json-schema";
|
|
90
|
+
/**
|
|
91
|
+
* The KIE lane sends this model's structured calls NO `response_format`: the
|
|
92
|
+
* schema rides the system prompt instead (the one-object rule and the schema,
|
|
93
|
+
* as the KIE Claude lane's prompt-JSON), in the wire form `response_format`
|
|
94
|
+
* sent (keyword-named properties aliased and restored on the answer; Google's
|
|
95
|
+
* compact form), and `llmCompleteStructured` parses, validates and re-asks the
|
|
96
|
+
* answer as it does for any model. When every KIE answer of an unpinned call
|
|
97
|
+
* fails validation, the direct lane, which enforces the schema, is asked once
|
|
98
|
+
* before the call fails. For a model whose KIE endpoint fails a request that
|
|
99
|
+
* carries `response_format`.
|
|
100
|
+
*
|
|
101
|
+
* Per LANE, not per model: `structuredOutputMode` stays, so the trust readers
|
|
102
|
+
* (STRUCTURED_VISION_MODELS, the structured-model filters) and the direct
|
|
103
|
+
* lane's enforced `responseJsonSchema` are unchanged. Nothing reads trust to
|
|
104
|
+
* skip validation, and only an `anthropic-tool` model streams partial values,
|
|
105
|
+
* so a KIE-served answer here is checked like any untrusted one. Only on a
|
|
106
|
+
* `kieFormat: "chat-completions"` model whose wire mode is
|
|
107
|
+
* `kie-response-format` (registry test).
|
|
108
|
+
*/
|
|
109
|
+
kieSchemaInPrompt?: true;
|
|
78
110
|
/** If set, fallback to direct Anthropic SDK with this model ID when KIE.ai fails */
|
|
79
111
|
directFallbackModel?: string;
|
|
80
112
|
/**
|
|
@@ -118,6 +150,27 @@ interface LlmModelDef {
|
|
|
118
150
|
directOnly?: true;
|
|
119
151
|
/** Effort levels this model accepts (ascending). Absent/empty = no effort lever, picker hidden. */
|
|
120
152
|
reasoningEfforts?: readonly LlmReasoningEffort[];
|
|
153
|
+
/**
|
|
154
|
+
* true = a REQUESTED effort below this model's lowest level is sent as that
|
|
155
|
+
* lowest level, never as nothing ({@link effectiveReasoningEffort}): with no
|
|
156
|
+
* effort on the wire the provider runs this model at its HIGHEST level, so
|
|
157
|
+
* dropping a `none` request would buy the most reasoning instead of the
|
|
158
|
+
* least. Auto — no effort requested at all — still sends nothing. Absent =
|
|
159
|
+
* a request below the lowest level is dropped (Auto), the usual rule.
|
|
160
|
+
*/
|
|
161
|
+
effortBelowLowestSendsLowest?: true;
|
|
162
|
+
/**
|
|
163
|
+
* true = the PRICE of a call on this model depends on whether it sends a
|
|
164
|
+
* reasoning effort, not only on its lane: the aggregator adds input of its
|
|
165
|
+
* own to every call, whose size depends on it. So the model's price key
|
|
166
|
+
* names the effort a call sends ({@link llmPriceKey}: `:effort-<level>`),
|
|
167
|
+
* and every estimate surface quotes that call. The sizes themselves are
|
|
168
|
+
* backend data (`backend/src/lib/pricing/llm-cost.ts`), held to this flag by
|
|
169
|
+
* a backend test. No model sets it today (GPT-6.1 Terra did for part of
|
|
170
|
+
* 2026-11-12, until its aggregator's added input stopped depending on the
|
|
171
|
+
* effort).
|
|
172
|
+
*/
|
|
173
|
+
effortPriced?: true;
|
|
121
174
|
/**
|
|
122
175
|
* Effort levels available on the DIRECT lane, when the vendor's own API
|
|
123
176
|
* accepts more than the aggregator does. Absent = the direct lane offers the
|
|
@@ -244,6 +297,23 @@ declare function pickableLlmModels(currentId?: string): LlmModelDef[];
|
|
|
244
297
|
* Single source of truth so the picker, the config panel, and the route gate
|
|
245
298
|
* can't drift. */
|
|
246
299
|
declare const STRUCTURED_VISION_MODELS: LlmModelDef[];
|
|
300
|
+
/**
|
|
301
|
+
* How a structured call's schema goes on the wire for `model`: its trusted
|
|
302
|
+
* `structuredOutputMode`, else its `structuredOutputHint`; undefined = the
|
|
303
|
+
* schema is not sent at all (a model with neither: plain text, parsed and
|
|
304
|
+
* re-asked). What the request builders read — never a TRUST decision, which
|
|
305
|
+
* reads `structuredOutputMode` alone.
|
|
306
|
+
*/
|
|
307
|
+
declare function structuredWireMode(model: Pick<LlmModelDef, "structuredOutputMode" | "structuredOutputHint">): LlmModelDef["structuredOutputMode"];
|
|
308
|
+
/**
|
|
309
|
+
* Does a structured call on `modelId` (unset = `feature`'s default model) send
|
|
310
|
+
* its schema ({@link structuredWireMode})? On the wire, or in the system prompt
|
|
311
|
+
* on a lane that carries it there (`kieSchemaInPrompt`): either way the model
|
|
312
|
+
* reads it, so a request's size counts it. A schema that is not sent is not
|
|
313
|
+
* read by the model. A model the registry does not know counts as yes (the
|
|
314
|
+
* larger size).
|
|
315
|
+
*/
|
|
316
|
+
declare function llmSendsSchema(modelId: string | undefined, feature?: string): boolean;
|
|
247
317
|
/**
|
|
248
318
|
* Models {@link STRUCTURED_VISION_MODELS} carries that describe-to-picker does
|
|
249
319
|
* NOT offer — now none.
|
|
@@ -390,7 +460,12 @@ declare function getLlmTier(id: string): LlmTier;
|
|
|
390
460
|
* clamp can never disagree about what's selectable.
|
|
391
461
|
*/
|
|
392
462
|
declare function availableReasoningEfforts(modelId: string | undefined, advanced?: boolean): readonly LlmReasoningEffort[];
|
|
393
|
-
/**
|
|
463
|
+
/**
|
|
464
|
+
* Highest level the model supports that is ≤ the requested level; undefined =
|
|
465
|
+
* treat as Auto. A request below the model's lowest level is dropped (Auto) —
|
|
466
|
+
* except on a model that declares `effortBelowLowestSendsLowest`, where it is
|
|
467
|
+
* sent as that lowest level. No request at all is always Auto.
|
|
468
|
+
*/
|
|
394
469
|
declare function effectiveReasoningEffort(modelId: string | undefined, requested?: string, advanced?: boolean): LlmReasoningEffort | undefined;
|
|
395
470
|
/**
|
|
396
471
|
* Build a composite credit identifier for an LLM feature.
|
|
@@ -458,18 +533,44 @@ declare function llmServesDirect(modelId: string | undefined, reasoningEffort?:
|
|
|
458
533
|
* `POST /v1/credits/model-costs` (or `GET /v1/credits/model-cost?model=`) for
|
|
459
534
|
* the call's estimated price: `<feature>:<modelId>`, plus `:direct` when the
|
|
460
535
|
* call is served on the vendor's own API ({@link llmServesDirect}), which is
|
|
461
|
-
* priced at the direct rate
|
|
536
|
+
* priced at the direct rate, or — on a model whose price depends on the effort
|
|
537
|
+
* (`effortPriced`, served on the aggregator) — `:effort-<level>` naming the
|
|
538
|
+
* effort the call sends. On every other model the effort changes the key only
|
|
539
|
+
* through its lane. Read back by {@link parseLlmPriceKeyModel}.
|
|
462
540
|
*
|
|
463
541
|
* With no `reasoningEffort` the default effort of the feature the call
|
|
464
542
|
* borrows its defaults from applies ({@link llmDefaultsFeature},
|
|
465
543
|
* {@link defaultReasoningEffort}) — the effort the call then runs at — so the
|
|
466
|
-
* key names the lane the call is held and
|
|
544
|
+
* key names the lane (and, where it matters, the effort) the call is held and
|
|
545
|
+
* charged on.
|
|
467
546
|
*
|
|
468
547
|
* `modelId` must already be resolved: the model the call runs on, never empty
|
|
469
548
|
* (a caller with no model passes the feature's default, `LLM_FEATURE_DEFAULTS`
|
|
470
549
|
* of {@link llmDefaultsFeature}). An empty id throws a `TypeError`.
|
|
471
550
|
*/
|
|
472
551
|
declare function llmPriceKey(feature: string, modelId: string, reasoningEffort?: string, advancedMode?: boolean): string;
|
|
552
|
+
/** The price-key suffix of a call served on the vendor's own API (see {@link llmPriceKey}). */
|
|
553
|
+
declare const LLM_PRICE_KEY_DIRECT = ":direct";
|
|
554
|
+
/** The price-key suffix naming the effort a call sends, on an `effortPriced` model: `:effort-<level>`. */
|
|
555
|
+
declare const LLM_PRICE_KEY_EFFORT = ":effort-";
|
|
556
|
+
/** A price key's model part, read back by {@link parseLlmPriceKeyModel}. */
|
|
557
|
+
interface LlmPriceKeyModel {
|
|
558
|
+
modelId: string;
|
|
559
|
+
/** Present only for a key that names the direct lane. */
|
|
560
|
+
lane?: "direct";
|
|
561
|
+
/** Present only for a key that names an effort (an `effortPriced` model's). */
|
|
562
|
+
reasoningEffort?: LlmReasoningEffort;
|
|
563
|
+
}
|
|
564
|
+
/**
|
|
565
|
+
* The part of a price key after its `<feature>:` — `<modelId>`,
|
|
566
|
+
* `<modelId>:direct` or `<modelId>:effort-<level>` — read back, or null for
|
|
567
|
+
* anything that is not a key {@link llmPriceKey} could build: a model that is
|
|
568
|
+
* not a registry id (never a borrowed slug), an effort on a model whose price
|
|
569
|
+
* does not depend on it, a level it does not offer on the aggregator, any
|
|
570
|
+
* other suffix. The one reader both the server and the editor use, so every
|
|
571
|
+
* key names exactly one price.
|
|
572
|
+
*/
|
|
573
|
+
declare function parseLlmPriceKeyModel(tail: string): LlmPriceKeyModel | null;
|
|
473
574
|
/**
|
|
474
575
|
* The credit rungs an LLM feature bills on, cheapest first. `premium-direct` is
|
|
475
576
|
* reached only by a premium model served direct (decided 2026-10-08): the bump
|
|
@@ -507,7 +608,7 @@ declare const VIDEO_ANALYSIS_LLM_MODELS: string[];
|
|
|
507
608
|
* so adding a video model forces a tier decision instead of silently leaking.
|
|
508
609
|
*/
|
|
509
610
|
declare const VIDEO_ANALYSIS_TIERS: {
|
|
510
|
-
readonly fast: "gemini-3-flash";
|
|
611
|
+
readonly fast: "gemini-3.8-flash";
|
|
511
612
|
readonly pro: "gemini-3.1-pro";
|
|
512
613
|
};
|
|
513
614
|
type VideoAnalysisModelTier = keyof typeof VIDEO_ANALYSIS_TIERS;
|
|
@@ -575,4 +676,4 @@ declare function resolveVideoAnalysisModel(input?: string | null): string;
|
|
|
575
676
|
declare const SCRIPT_LEGACY_PROVIDER_MODELS: Readonly<Record<ScriptProvider, string>>;
|
|
576
677
|
declare function resolveScriptModelId(provider?: string, llmModel?: string): string;
|
|
577
678
|
|
|
578
|
-
export { ADVANCED_MODE_UNAVAILABLE_REASON, DEFAULT_VIDEO_ANALYSIS_MODEL, DEFAULT_VIDEO_ANALYSIS_TIER, DESCRIBE_TO_PICKER_FALLBACK_MODEL, DESCRIBE_TO_PICKER_MODELS, DESCRIBE_TO_PICKER_WITHHELD_MODELS, EFFORT_TIER_BUMP, type KieApiFormat, LLM_CREDIT_RUNGS, LLM_FEATURE_DEFAULTS, LLM_FEATURE_DEFAULTS_FROM, LLM_FEATURE_DEFAULT_EFFORTS, LLM_MODALITY_CAPS, LLM_MODELS, LLM_MODEL_IDS, LLM_REASONING_EFFORTS, LLM_ROUTE_DEFAULTS, LLM_STRUCTURED_WITHHELD_MODELS, LLM_VENDOR_LABELS, LLM_VENDOR_ORDER, type LlmCreditRung, type LlmFeature, type LlmModelDef, type LlmModelGroup, type LlmReasoningEffort, type LlmRouteDefaults, type LlmTier, type LlmVendor, PICKABLE_LLM_MODELS, REASONING_OUTPUT_FLOOR, SCRIPT_LEGACY_PROVIDER_MODELS, STRUCTURED_VISION_MODELS, VIDEO_ANALYSIS_LEGACY_MODELS, VIDEO_ANALYSIS_LLM_MODELS, VIDEO_ANALYSIS_MIXED_TIERS, VIDEO_ANALYSIS_TIERS, VIDEO_ANALYSIS_TIER_LABELS, VIDEO_ANALYSIS_TIER_ORDER, type VideoAnalysisMixedTier, type VideoAnalysisModelTier, type VideoAnalysisTier, availableReasoningEfforts, buildLlmCreditIdentifier, defaultReasoningEffort, effectiveReasoningEffort, getLlmModalityCaps, getLlmModel, getLlmTier, groupLlmModelsByVendor, isLlmModelRetired, isVideoAnalysisMixedTier, isVideoAnalysisTier, llmCreditIdForRung, llmCreditRung, llmDefaultsFeature, llmPriceKey, llmRouteDefaults, llmServesDirect, llmTierCreditIds, motionGraphicsFeature, orderedLlmModels, pickableLlmModels, reasoningOutputFloor, resolveLlmCreditId, resolveScriptModelId, resolveVideoAnalysisModel, supportsAdvancedMode };
|
|
679
|
+
export { ADVANCED_MODE_UNAVAILABLE_REASON, DEFAULT_VIDEO_ANALYSIS_MODEL, DEFAULT_VIDEO_ANALYSIS_TIER, DESCRIBE_TO_PICKER_FALLBACK_MODEL, DESCRIBE_TO_PICKER_MODELS, DESCRIBE_TO_PICKER_WITHHELD_MODELS, EFFORT_TIER_BUMP, type KieApiFormat, LLM_CREDIT_RUNGS, LLM_FEATURE_DEFAULTS, LLM_FEATURE_DEFAULTS_FROM, LLM_FEATURE_DEFAULT_EFFORTS, LLM_MODALITY_CAPS, LLM_MODELS, LLM_MODEL_IDS, LLM_PRICE_KEY_DIRECT, LLM_PRICE_KEY_EFFORT, LLM_REASONING_EFFORTS, LLM_ROUTE_DEFAULTS, LLM_STRUCTURED_WITHHELD_MODELS, LLM_VENDOR_LABELS, LLM_VENDOR_ORDER, type LlmCreditRung, type LlmFeature, type LlmModelDef, type LlmModelGroup, type LlmPriceKeyModel, type LlmReasoningEffort, type LlmRouteDefaults, type LlmTier, type LlmVendor, PICKABLE_LLM_MODELS, REASONING_OUTPUT_FLOOR, SCRIPT_LEGACY_PROVIDER_MODELS, STRUCTURED_VISION_MODELS, VIDEO_ANALYSIS_LEGACY_MODELS, VIDEO_ANALYSIS_LLM_MODELS, VIDEO_ANALYSIS_MIXED_TIERS, VIDEO_ANALYSIS_TIERS, VIDEO_ANALYSIS_TIER_LABELS, VIDEO_ANALYSIS_TIER_ORDER, type VideoAnalysisMixedTier, type VideoAnalysisModelTier, type VideoAnalysisTier, availableReasoningEfforts, buildLlmCreditIdentifier, defaultReasoningEffort, effectiveReasoningEffort, getLlmModalityCaps, getLlmModel, getLlmTier, groupLlmModelsByVendor, isLlmModelRetired, isVideoAnalysisMixedTier, isVideoAnalysisTier, llmCreditIdForRung, llmCreditRung, llmDefaultsFeature, llmPriceKey, llmRouteDefaults, llmSendsSchema, llmServesDirect, llmTierCreditIds, motionGraphicsFeature, orderedLlmModels, parseLlmPriceKeyModel, pickableLlmModels, reasoningOutputFloor, resolveLlmCreditId, resolveScriptModelId, resolveVideoAnalysisModel, structuredWireMode, supportsAdvancedMode };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { SCRIPT_LEGACY_PROVIDER_MODELS, resolveScriptModelId } from '../chunk-
|
|
2
|
-
export { ADVANCED_MODE_UNAVAILABLE_REASON, DEFAULT_VIDEO_ANALYSIS_MODEL, DEFAULT_VIDEO_ANALYSIS_TIER, DESCRIBE_TO_PICKER_FALLBACK_MODEL, DESCRIBE_TO_PICKER_MODELS, DESCRIBE_TO_PICKER_WITHHELD_MODELS, EFFORT_TIER_BUMP, LLM_CREDIT_RUNGS, LLM_FEATURE_DEFAULTS, LLM_FEATURE_DEFAULTS_FROM, LLM_FEATURE_DEFAULT_EFFORTS, LLM_MODALITY_CAPS, LLM_MODELS, LLM_MODEL_IDS, LLM_REASONING_EFFORTS, LLM_ROUTE_DEFAULTS, LLM_STRUCTURED_WITHHELD_MODELS, LLM_VENDOR_LABELS, LLM_VENDOR_ORDER, PICKABLE_LLM_MODELS, REASONING_OUTPUT_FLOOR, STRUCTURED_VISION_MODELS, VIDEO_ANALYSIS_LEGACY_MODELS, VIDEO_ANALYSIS_LLM_MODELS, VIDEO_ANALYSIS_MIXED_TIERS, VIDEO_ANALYSIS_TIERS, VIDEO_ANALYSIS_TIER_LABELS, VIDEO_ANALYSIS_TIER_ORDER, availableReasoningEfforts, buildLlmCreditIdentifier, defaultReasoningEffort, effectiveReasoningEffort, getLlmModalityCaps, getLlmModel, getLlmTier, groupLlmModelsByVendor, isLlmModelRetired, isVideoAnalysisMixedTier, isVideoAnalysisTier, llmCreditIdForRung, llmCreditRung, llmDefaultsFeature, llmPriceKey, llmRouteDefaults, llmServesDirect, llmTierCreditIds, motionGraphicsFeature, orderedLlmModels, pickableLlmModels, reasoningOutputFloor, resolveLlmCreditId, resolveVideoAnalysisModel, supportsAdvancedMode } from '../chunk-
|
|
1
|
+
export { SCRIPT_LEGACY_PROVIDER_MODELS, resolveScriptModelId } from '../chunk-4IUE2JB7.js';
|
|
2
|
+
export { ADVANCED_MODE_UNAVAILABLE_REASON, DEFAULT_VIDEO_ANALYSIS_MODEL, DEFAULT_VIDEO_ANALYSIS_TIER, DESCRIBE_TO_PICKER_FALLBACK_MODEL, DESCRIBE_TO_PICKER_MODELS, DESCRIBE_TO_PICKER_WITHHELD_MODELS, EFFORT_TIER_BUMP, LLM_CREDIT_RUNGS, LLM_FEATURE_DEFAULTS, LLM_FEATURE_DEFAULTS_FROM, LLM_FEATURE_DEFAULT_EFFORTS, LLM_MODALITY_CAPS, LLM_MODELS, LLM_MODEL_IDS, LLM_PRICE_KEY_DIRECT, LLM_PRICE_KEY_EFFORT, LLM_REASONING_EFFORTS, LLM_ROUTE_DEFAULTS, LLM_STRUCTURED_WITHHELD_MODELS, LLM_VENDOR_LABELS, LLM_VENDOR_ORDER, PICKABLE_LLM_MODELS, REASONING_OUTPUT_FLOOR, STRUCTURED_VISION_MODELS, VIDEO_ANALYSIS_LEGACY_MODELS, VIDEO_ANALYSIS_LLM_MODELS, VIDEO_ANALYSIS_MIXED_TIERS, VIDEO_ANALYSIS_TIERS, VIDEO_ANALYSIS_TIER_LABELS, VIDEO_ANALYSIS_TIER_ORDER, availableReasoningEfforts, buildLlmCreditIdentifier, defaultReasoningEffort, effectiveReasoningEffort, getLlmModalityCaps, getLlmModel, getLlmTier, groupLlmModelsByVendor, isLlmModelRetired, isVideoAnalysisMixedTier, isVideoAnalysisTier, llmCreditIdForRung, llmCreditRung, llmDefaultsFeature, llmPriceKey, llmRouteDefaults, llmSendsSchema, llmServesDirect, llmTierCreditIds, motionGraphicsFeature, orderedLlmModels, parseLlmPriceKeyModel, pickableLlmModels, reasoningOutputFloor, resolveLlmCreditId, resolveVideoAnalysisModel, structuredWireMode, supportsAdvancedMode } from '../chunk-QYU7J5EQ.js';
|
|
3
3
|
//# sourceMappingURL=llm-models.js.map
|
|
4
4
|
//# sourceMappingURL=llm-models.js.map
|
package/dist/entries/media.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkY4GCJJPF_cjs = require('../chunk-Y4GCJJPF.cjs');
|
|
4
4
|
var chunk44I73CQS_cjs = require('../chunk-44I73CQS.cjs');
|
|
5
5
|
var chunk6FQBKI2A_cjs = require('../chunk-6FQBKI2A.cjs');
|
|
6
6
|
var chunk2NIQO2J3_cjs = require('../chunk-2NIQO2J3.cjs');
|
|
@@ -10,251 +10,251 @@ var chunkALRXY4QH_cjs = require('../chunk-ALRXY4QH.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "AUDIO_FX_PRESETS", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkY4GCJJPF_cjs.AUDIO_FX_PRESETS; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "AUDIO_FX_PRESET_LABELS", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkY4GCJJPF_cjs.AUDIO_FX_PRESET_LABELS; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "AUDIO_FX_PRESET_SET", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkY4GCJJPF_cjs.AUDIO_FX_PRESET_SET; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "AUDIO_FX_REVERB_PRESETS", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkY4GCJJPF_cjs.AUDIO_FX_REVERB_PRESETS; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "DEFAULT_VIDEO_MASK_PROVIDER", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkY4GCJJPF_cjs.DEFAULT_VIDEO_MASK_PROVIDER; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "FREECUT_EXPORT_COMPLETE", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkY4GCJJPF_cjs.FREECUT_EXPORT_COMPLETE; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "FREECUT_EXPORT_PROGRESS", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkY4GCJJPF_cjs.FREECUT_EXPORT_PROGRESS; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "FREECUT_READY", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkY4GCJJPF_cjs.FREECUT_READY; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "FREECUT_REQUEST_IMPORT", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkY4GCJJPF_cjs.FREECUT_REQUEST_IMPORT; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "GENERATE_MASK_LIMITS", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkY4GCJJPF_cjs.GENERATE_MASK_LIMITS; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "LEGACY_LOTTIE_HOST_REMAP", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkY4GCJJPF_cjs.LEGACY_LOTTIE_HOST_REMAP; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "LOTTIE_OVERLAY_CATALOG", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkY4GCJJPF_cjs.LOTTIE_OVERLAY_CATALOG; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "LOTTIE_SLOT_FIELD_PREFIX", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkY4GCJJPF_cjs.LOTTIE_SLOT_FIELD_PREFIX; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "MASK_COMPOSITE_AUDIO_SOURCES", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkY4GCJJPF_cjs.MASK_COMPOSITE_AUDIO_SOURCES; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "MASK_COMPOSITE_BACKGROUND_FITS", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkY4GCJJPF_cjs.MASK_COMPOSITE_BACKGROUND_FITS; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "MASK_COMPOSITE_BOUNDS", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkY4GCJJPF_cjs.MASK_COMPOSITE_BOUNDS; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "MASK_COMPOSITE_DEFAULTS", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkY4GCJJPF_cjs.MASK_COMPOSITE_DEFAULTS; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "MASK_COMPOSITE_FILLS", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkY4GCJJPF_cjs.MASK_COMPOSITE_FILLS; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "MASK_COMPOSITE_REMEASURE_SLACK_SEC", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkY4GCJJPF_cjs.MASK_COMPOSITE_REMEASURE_SLACK_SEC; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "MASK_COMPOSITE_UNIT_SEC", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkY4GCJJPF_cjs.MASK_COMPOSITE_UNIT_SEC; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "NODARO_IMPORT_FILES", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkY4GCJJPF_cjs.NODARO_IMPORT_FILES; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "NODARO_LOAD_TIMELINE", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkY4GCJJPF_cjs.NODARO_LOAD_TIMELINE; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "NODARO_LOAD_VIDEO", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkY4GCJJPF_cjs.NODARO_LOAD_VIDEO; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "NODARO_RESET_PROJECT", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkY4GCJJPF_cjs.NODARO_RESET_PROJECT; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_LAYERS", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkY4GCJJPF_cjs.VIDEO_FACE_MESH_LAYERS; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_LIMITS", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkY4GCJJPF_cjs.VIDEO_FACE_MESH_LIMITS; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_LINE_LAYERS", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkY4GCJJPF_cjs.VIDEO_FACE_MESH_LINE_LAYERS; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_PARTS", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkY4GCJJPF_cjs.VIDEO_FACE_MESH_PARTS; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_PATH", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkY4GCJJPF_cjs.VIDEO_FACE_MESH_PATH; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_RECIPE", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkY4GCJJPF_cjs.VIDEO_FACE_MESH_RECIPE; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "VIDEO_MASK_DEFAULTS", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkY4GCJJPF_cjs.VIDEO_MASK_DEFAULTS; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "VIDEO_MASK_LIMITS", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkY4GCJJPF_cjs.VIDEO_MASK_LIMITS; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "VIDEO_MASK_PROVIDERS", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkY4GCJJPF_cjs.VIDEO_MASK_PROVIDERS; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "VIDEO_MASK_RECIPE", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkY4GCJJPF_cjs.VIDEO_MASK_RECIPE; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "applySlots", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkY4GCJJPF_cjs.applySlots; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "deriveLottieSlotFields", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkY4GCJJPF_cjs.deriveLottieSlotFields; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "describeMaskRegion", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkY4GCJJPF_cjs.describeMaskRegion; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "describeSlotControl", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkY4GCJJPF_cjs.describeSlotControl; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "hexToRgbaArray", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkY4GCJJPF_cjs.hexToRgbaArray; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "humanizeSlotSid", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkY4GCJJPF_cjs.humanizeSlotSid; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "listSlotSids", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkY4GCJJPF_cjs.listSlotSids; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "maskCompositeEffectiveAudioSource", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkY4GCJJPF_cjs.maskCompositeEffectiveAudioSource; }
|
|
178
178
|
});
|
|
179
179
|
Object.defineProperty(exports, "maskCompositeFillOf", {
|
|
180
180
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkY4GCJJPF_cjs.maskCompositeFillOf; }
|
|
182
182
|
});
|
|
183
183
|
Object.defineProperty(exports, "maskCompositeLeadHandle", {
|
|
184
184
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkY4GCJJPF_cjs.maskCompositeLeadHandle; }
|
|
186
186
|
});
|
|
187
187
|
Object.defineProperty(exports, "maskCompositeUnits", {
|
|
188
188
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkY4GCJJPF_cjs.maskCompositeUnits; }
|
|
190
190
|
});
|
|
191
191
|
Object.defineProperty(exports, "maskCompositeUsesForeground", {
|
|
192
192
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkY4GCJJPF_cjs.maskCompositeUsesForeground; }
|
|
194
194
|
});
|
|
195
195
|
Object.defineProperty(exports, "normalizeLottieLayers", {
|
|
196
196
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkY4GCJJPF_cjs.normalizeLottieLayers; }
|
|
198
198
|
});
|
|
199
199
|
Object.defineProperty(exports, "resolveLottieOverlaySrc", {
|
|
200
200
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkY4GCJJPF_cjs.resolveLottieOverlaySrc; }
|
|
202
202
|
});
|
|
203
203
|
Object.defineProperty(exports, "resolveMaskCompositeSettings", {
|
|
204
204
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkY4GCJJPF_cjs.resolveMaskCompositeSettings; }
|
|
206
206
|
});
|
|
207
207
|
Object.defineProperty(exports, "resolveVideoMaskProvider", {
|
|
208
208
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunkY4GCJJPF_cjs.resolveVideoMaskProvider; }
|
|
210
210
|
});
|
|
211
211
|
Object.defineProperty(exports, "resolveVideoMaskRedetectSec", {
|
|
212
212
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkY4GCJJPF_cjs.resolveVideoMaskRedetectSec; }
|
|
214
214
|
});
|
|
215
215
|
Object.defineProperty(exports, "resolveVideoMaskZone", {
|
|
216
216
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunkY4GCJJPF_cjs.resolveVideoMaskZone; }
|
|
218
218
|
});
|
|
219
219
|
Object.defineProperty(exports, "rgbaArrayToHex", {
|
|
220
220
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunkY4GCJJPF_cjs.rgbaArrayToHex; }
|
|
222
222
|
});
|
|
223
223
|
Object.defineProperty(exports, "videoFaceMeshCreditId", {
|
|
224
224
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunkY4GCJJPF_cjs.videoFaceMeshCreditId; }
|
|
226
226
|
});
|
|
227
227
|
Object.defineProperty(exports, "videoFaceMeshCreditIds", {
|
|
228
228
|
enumerable: true,
|
|
229
|
-
get: function () { return
|
|
229
|
+
get: function () { return chunkY4GCJJPF_cjs.videoFaceMeshCreditIds; }
|
|
230
230
|
});
|
|
231
231
|
Object.defineProperty(exports, "videoFaceMeshLayersDrawLines", {
|
|
232
232
|
enumerable: true,
|
|
233
|
-
get: function () { return
|
|
233
|
+
get: function () { return chunkY4GCJJPF_cjs.videoFaceMeshLayersDrawLines; }
|
|
234
234
|
});
|
|
235
235
|
Object.defineProperty(exports, "videoFaceMeshLayersOfParts", {
|
|
236
236
|
enumerable: true,
|
|
237
|
-
get: function () { return
|
|
237
|
+
get: function () { return chunkY4GCJJPF_cjs.videoFaceMeshLayersOfParts; }
|
|
238
238
|
});
|
|
239
239
|
Object.defineProperty(exports, "videoFaceMeshLayersOn", {
|
|
240
240
|
enumerable: true,
|
|
241
|
-
get: function () { return
|
|
241
|
+
get: function () { return chunkY4GCJJPF_cjs.videoFaceMeshLayersOn; }
|
|
242
242
|
});
|
|
243
243
|
Object.defineProperty(exports, "videoFaceMeshPartsOfLayers", {
|
|
244
244
|
enumerable: true,
|
|
245
|
-
get: function () { return
|
|
245
|
+
get: function () { return chunkY4GCJJPF_cjs.videoFaceMeshPartsOfLayers; }
|
|
246
246
|
});
|
|
247
247
|
Object.defineProperty(exports, "videoMaskBilledSeconds", {
|
|
248
248
|
enumerable: true,
|
|
249
|
-
get: function () { return
|
|
249
|
+
get: function () { return chunkY4GCJJPF_cjs.videoMaskBilledSeconds; }
|
|
250
250
|
});
|
|
251
251
|
Object.defineProperty(exports, "videoMaskCreditId", {
|
|
252
252
|
enumerable: true,
|
|
253
|
-
get: function () { return
|
|
253
|
+
get: function () { return chunkY4GCJJPF_cjs.videoMaskCreditId; }
|
|
254
254
|
});
|
|
255
255
|
Object.defineProperty(exports, "videoMaskCreditIds", {
|
|
256
256
|
enumerable: true,
|
|
257
|
-
get: function () { return
|
|
257
|
+
get: function () { return chunkY4GCJJPF_cjs.videoMaskCreditIds; }
|
|
258
258
|
});
|
|
259
259
|
Object.defineProperty(exports, "DEFAULT_OVERLAY_QR", {
|
|
260
260
|
enumerable: true,
|
package/dist/entries/media.d.cts
CHANGED
|
@@ -22,6 +22,14 @@ interface NodaroLoadVideoPayload {
|
|
|
22
22
|
readonly videoBuffer?: ArrayBuffer;
|
|
23
23
|
readonly projectJson?: unknown;
|
|
24
24
|
readonly additionalFiles?: ReadonlyArray<FreecutImportFile>;
|
|
25
|
+
/**
|
|
26
|
+
* What the editor's Save & Exit hands back. "video": it renders the timeline
|
|
27
|
+
* and answers with FREECUT_EXPORT_COMPLETE (the video and the project JSON),
|
|
28
|
+
* for a parent that keeps an edit as a new video (the workflow editor).
|
|
29
|
+
* Absent or "project": it answers with the project JSON alone
|
|
30
|
+
* (FREECUT_SAVE_EXIT), for a parent that renders the cut itself (Studio).
|
|
31
|
+
*/
|
|
32
|
+
readonly saveExit?: "video" | "project";
|
|
25
33
|
}
|
|
26
34
|
interface NodaroLoadTimelinePayload {
|
|
27
35
|
readonly clips: ReadonlyArray<string>;
|
package/dist/entries/media.d.ts
CHANGED
|
@@ -22,6 +22,14 @@ interface NodaroLoadVideoPayload {
|
|
|
22
22
|
readonly videoBuffer?: ArrayBuffer;
|
|
23
23
|
readonly projectJson?: unknown;
|
|
24
24
|
readonly additionalFiles?: ReadonlyArray<FreecutImportFile>;
|
|
25
|
+
/**
|
|
26
|
+
* What the editor's Save & Exit hands back. "video": it renders the timeline
|
|
27
|
+
* and answers with FREECUT_EXPORT_COMPLETE (the video and the project JSON),
|
|
28
|
+
* for a parent that keeps an edit as a new video (the workflow editor).
|
|
29
|
+
* Absent or "project": it answers with the project JSON alone
|
|
30
|
+
* (FREECUT_SAVE_EXIT), for a parent that renders the cut itself (Studio).
|
|
31
|
+
*/
|
|
32
|
+
readonly saveExit?: "video" | "project";
|
|
25
33
|
}
|
|
26
34
|
interface NodaroLoadTimelinePayload {
|
|
27
35
|
readonly clips: ReadonlyArray<string>;
|
package/dist/entries/media.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, DEFAULT_VIDEO_MASK_PROVIDER, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_READY, FREECUT_REQUEST_IMPORT, GENERATE_MASK_LIMITS, LEGACY_LOTTIE_HOST_REMAP, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, MASK_COMPOSITE_AUDIO_SOURCES, MASK_COMPOSITE_BACKGROUND_FITS, MASK_COMPOSITE_BOUNDS, MASK_COMPOSITE_DEFAULTS, MASK_COMPOSITE_FILLS, MASK_COMPOSITE_REMEASURE_SLACK_SEC, MASK_COMPOSITE_UNIT_SEC, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_RESET_PROJECT, VIDEO_FACE_MESH_LAYERS, VIDEO_FACE_MESH_LIMITS, VIDEO_FACE_MESH_LINE_LAYERS, VIDEO_FACE_MESH_PARTS, VIDEO_FACE_MESH_PATH, VIDEO_FACE_MESH_RECIPE, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, applySlots, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoFaceMeshLayersDrawLines, videoFaceMeshLayersOfParts, videoFaceMeshLayersOn, videoFaceMeshPartsOfLayers, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds } from '../chunk-
|
|
1
|
+
export { AUDIO_FX_PRESETS, AUDIO_FX_PRESET_LABELS, AUDIO_FX_PRESET_SET, AUDIO_FX_REVERB_PRESETS, DEFAULT_VIDEO_MASK_PROVIDER, FREECUT_EXPORT_COMPLETE, FREECUT_EXPORT_PROGRESS, FREECUT_READY, FREECUT_REQUEST_IMPORT, GENERATE_MASK_LIMITS, LEGACY_LOTTIE_HOST_REMAP, LOTTIE_OVERLAY_CATALOG, LOTTIE_SLOT_FIELD_PREFIX, MASK_COMPOSITE_AUDIO_SOURCES, MASK_COMPOSITE_BACKGROUND_FITS, MASK_COMPOSITE_BOUNDS, MASK_COMPOSITE_DEFAULTS, MASK_COMPOSITE_FILLS, MASK_COMPOSITE_REMEASURE_SLACK_SEC, MASK_COMPOSITE_UNIT_SEC, NODARO_IMPORT_FILES, NODARO_LOAD_TIMELINE, NODARO_LOAD_VIDEO, NODARO_RESET_PROJECT, VIDEO_FACE_MESH_LAYERS, VIDEO_FACE_MESH_LIMITS, VIDEO_FACE_MESH_LINE_LAYERS, VIDEO_FACE_MESH_PARTS, VIDEO_FACE_MESH_PATH, VIDEO_FACE_MESH_RECIPE, VIDEO_MASK_DEFAULTS, VIDEO_MASK_LIMITS, VIDEO_MASK_PROVIDERS, VIDEO_MASK_RECIPE, applySlots, deriveLottieSlotFields, describeMaskRegion, describeSlotControl, hexToRgbaArray, humanizeSlotSid, listSlotSids, maskCompositeEffectiveAudioSource, maskCompositeFillOf, maskCompositeLeadHandle, maskCompositeUnits, maskCompositeUsesForeground, normalizeLottieLayers, resolveLottieOverlaySrc, resolveMaskCompositeSettings, resolveVideoMaskProvider, resolveVideoMaskRedetectSec, resolveVideoMaskZone, rgbaArrayToHex, videoFaceMeshCreditId, videoFaceMeshCreditIds, videoFaceMeshLayersDrawLines, videoFaceMeshLayersOfParts, videoFaceMeshLayersOn, videoFaceMeshPartsOfLayers, videoMaskBilledSeconds, videoMaskCreditId, videoMaskCreditIds } from '../chunk-NIAFR5EE.js';
|
|
2
2
|
export { DEFAULT_OVERLAY_QR, DEFAULT_OVERLAY_SHAPE, DEFAULT_OVERLAY_TEXT, OVERLAY_ANCHORS, OVERLAY_FONTS, OVERLAY_FONT_IDS, OVERLAY_IMAGE_MASKS, OVERLAY_LAYER_KINDS, OVERLAY_SHAPES, OVERLAY_TEXT_ALIGNS, isRtlText, overlayFontById, overlayImageEffectsSchema, overlayQrStyleSchema, overlayShapeElement, overlayShapeStyleSchema, overlayStrokeSchema, overlayTextStyleSchema } from '../chunk-ZNZDQAXN.js';
|
|
3
3
|
export { FAL_VIDEO_DEPTH_PROVIDERS, REPLICATE_VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_BUCKETS, VIDEO_DEPTH_COLORMAPS, VIDEO_DEPTH_LIMITS, VIDEO_DEPTH_MODEL_SIZES, VIDEO_DEPTH_PROVIDERS, VIDEO_DEPTH_RESOLUTIONS, checkVideoDepthLength, resolveVideoDepthColormap, resolveVideoDepthModelSize, resolveVideoDepthProvider, videoDepthColormaps, videoDepthCreditId, videoDepthLevers, videoDepthNeedsGrayscalePass } from '../chunk-CLAKSLXF.js';
|
|
4
4
|
export { OVERLAY_MAX_VARIANTS, OVERLAY_PLATFORMS, OVERLAY_PLATFORM_IDS, OVERLAY_VARIANT_HANDLE_PREFIX, overlayPlatformById, overlayVariantHandle, overlayVariantIdFromHandle } from '../chunk-5THUHJ3E.js';
|