@nodaro/shared 3.64.0 → 3.66.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-J6B7J73J.cjs → chunk-23IKLMRL.cjs} +49 -49
- package/dist/{chunk-J6B7J73J.cjs.map → chunk-23IKLMRL.cjs.map} +1 -1
- package/dist/chunk-27HA6YOL.cjs +377 -0
- package/dist/chunk-27HA6YOL.cjs.map +1 -0
- package/dist/{chunk-OOZW2MM6.cjs → chunk-37ZSFS6A.cjs} +9 -9
- package/dist/{chunk-OOZW2MM6.cjs.map → chunk-37ZSFS6A.cjs.map} +1 -1
- package/dist/{chunk-AZNZ5WNZ.cjs → chunk-3L7GMQ4M.cjs} +142 -45
- package/dist/chunk-3L7GMQ4M.cjs.map +1 -0
- package/dist/{chunk-SXHHLZ22.js → chunk-3QJ3UR5Z.js} +9 -9
- package/dist/{chunk-SXHHLZ22.js.map → chunk-3QJ3UR5Z.js.map} +1 -1
- package/dist/chunk-3YWZ5SOZ.js +164 -0
- package/dist/chunk-3YWZ5SOZ.js.map +1 -0
- package/dist/{chunk-TTGZ2L3O.js → chunk-5GG4CG4Y.js} +3 -3
- package/dist/{chunk-TTGZ2L3O.js.map → chunk-5GG4CG4Y.js.map} +1 -1
- package/dist/{chunk-3KTWYYCN.js → chunk-5IZHECUP.js} +3 -3
- package/dist/{chunk-3KTWYYCN.js.map → chunk-5IZHECUP.js.map} +1 -1
- package/dist/{chunk-Q2Y4JHF7.js → chunk-5J2LIQYU.js} +5 -5
- package/dist/{chunk-Q2Y4JHF7.js.map → chunk-5J2LIQYU.js.map} +1 -1
- package/dist/{chunk-SHH2T4CR.js → chunk-5LWYX4GV.js} +3 -3
- package/dist/{chunk-SHH2T4CR.js.map → chunk-5LWYX4GV.js.map} +1 -1
- package/dist/{chunk-7AJGUI7L.cjs → chunk-5NVGKXJV.cjs} +34 -17
- package/dist/chunk-5NVGKXJV.cjs.map +1 -0
- package/dist/{chunk-D4KWNDPH.cjs → chunk-66QSUUB4.cjs} +12 -12
- package/dist/{chunk-D4KWNDPH.cjs.map → chunk-66QSUUB4.cjs.map} +1 -1
- package/dist/{chunk-KHH54GRP.cjs → chunk-6ET3KDO4.cjs} +15 -338
- package/dist/chunk-6ET3KDO4.cjs.map +1 -0
- package/dist/{chunk-ZI3QDUHO.js → chunk-AT53ZQUC.js} +3 -3
- package/dist/{chunk-ZI3QDUHO.js.map → chunk-AT53ZQUC.js.map} +1 -1
- package/dist/chunk-BMDOPJBP.cjs +185 -0
- package/dist/chunk-BMDOPJBP.cjs.map +1 -0
- package/dist/{chunk-PJJAZQVZ.js → chunk-BNR5FKL5.js} +3 -3
- package/dist/{chunk-PJJAZQVZ.js.map → chunk-BNR5FKL5.js.map} +1 -1
- package/dist/{chunk-5OBTGNUQ.cjs → chunk-E62W5I6A.cjs} +298 -2
- package/dist/chunk-E62W5I6A.cjs.map +1 -0
- package/dist/{chunk-GTWUS6MQ.cjs → chunk-EFYWV2V5.cjs} +61 -61
- package/dist/{chunk-GTWUS6MQ.cjs.map → chunk-EFYWV2V5.cjs.map} +1 -1
- package/dist/chunk-F6XIH3TZ.cjs +168 -0
- package/dist/chunk-F6XIH3TZ.cjs.map +1 -0
- package/dist/{chunk-NIAFR5EE.js → chunk-FGBGKBML.js} +32 -3
- package/dist/chunk-FGBGKBML.js.map +1 -0
- package/dist/{chunk-YQV53HRR.cjs → chunk-G2G7XGFU.cjs} +7 -7
- package/dist/{chunk-YQV53HRR.cjs.map → chunk-G2G7XGFU.cjs.map} +1 -1
- package/dist/{chunk-7KQ6W5DS.js → chunk-GF7ZA26H.js} +4 -4
- package/dist/{chunk-7KQ6W5DS.js.map → chunk-GF7ZA26H.js.map} +1 -1
- package/dist/{chunk-SPAHI7DY.cjs → chunk-GNLA5NTT.cjs} +4 -4
- package/dist/{chunk-SPAHI7DY.cjs.map → chunk-GNLA5NTT.cjs.map} +1 -1
- package/dist/{chunk-VPTA4Z7G.js → chunk-GTBW2KAY.js} +5 -5
- package/dist/{chunk-VPTA4Z7G.js.map → chunk-GTBW2KAY.js.map} +1 -1
- package/dist/{chunk-CHS2SIP6.cjs → chunk-HTDKEYMY.cjs} +90 -76
- package/dist/chunk-HTDKEYMY.cjs.map +1 -0
- package/dist/{chunk-EXEVT6D2.cjs → chunk-IWUW3YPM.cjs} +5 -5
- package/dist/{chunk-EXEVT6D2.cjs.map → chunk-IWUW3YPM.cjs.map} +1 -1
- package/dist/{chunk-ACZZHHFZ.cjs → chunk-JTYCJ5OL.cjs} +44 -22
- package/dist/chunk-JTYCJ5OL.cjs.map +1 -0
- package/dist/{chunk-HDPJNNMF.cjs → chunk-M5QY464F.cjs} +21 -21
- package/dist/{chunk-HDPJNNMF.cjs.map → chunk-M5QY464F.cjs.map} +1 -1
- package/dist/{chunk-DZ4IOP3Q.js → chunk-MVXZP6VB.js} +281 -3
- package/dist/chunk-MVXZP6VB.js.map +1 -0
- package/dist/{chunk-Y4GCJJPF.cjs → chunk-NYZQOIXJ.cjs} +35 -2
- package/dist/chunk-NYZQOIXJ.cjs.map +1 -0
- package/dist/{chunk-KB2SQAR3.js → chunk-OFQ6CU6S.js} +3 -3
- package/dist/{chunk-KB2SQAR3.js.map → chunk-OFQ6CU6S.js.map} +1 -1
- package/dist/{chunk-36VWLB4J.js → chunk-OXBU5AGH.js} +3 -3
- package/dist/{chunk-36VWLB4J.js.map → chunk-OXBU5AGH.js.map} +1 -1
- package/dist/{chunk-CHTZZRAL.cjs → chunk-OXTF4Y3P.cjs} +6 -6
- package/dist/{chunk-CHTZZRAL.cjs.map → chunk-OXTF4Y3P.cjs.map} +1 -1
- package/dist/{chunk-3AYM47GW.js → chunk-PAUWEWTY.js} +99 -9
- package/dist/chunk-PAUWEWTY.js.map +1 -0
- package/dist/{chunk-FHGRKQVZ.cjs → chunk-PGDR7CO3.cjs} +8 -8
- package/dist/{chunk-FHGRKQVZ.cjs.map → chunk-PGDR7CO3.cjs.map} +1 -1
- package/dist/{chunk-W6VJAUGM.cjs → chunk-PJAJCFLP.cjs} +94 -37
- package/dist/chunk-PJAJCFLP.cjs.map +1 -0
- package/dist/{chunk-IYSOVS7O.js → chunk-RVQW623D.js} +31 -13
- package/dist/chunk-RVQW623D.js.map +1 -0
- package/dist/{chunk-TPQJKS7D.js → chunk-SCDE676D.js} +21 -7
- package/dist/{chunk-CHS2SIP6.cjs.map → chunk-SCDE676D.js.map} +1 -1
- package/dist/chunk-SW5ZD7BO.js +143 -0
- package/dist/chunk-SW5ZD7BO.js.map +1 -0
- package/dist/{chunk-T2OVDF2M.cjs → chunk-T4GIHHXY.cjs} +6 -6
- package/dist/{chunk-T2OVDF2M.cjs.map → chunk-T4GIHHXY.cjs.map} +1 -1
- package/dist/{chunk-QYU7J5EQ.js → chunk-V6OXSXIX.js} +29 -18
- package/dist/chunk-V6OXSXIX.js.map +1 -0
- package/dist/{chunk-W7KHHNZR.js → chunk-VBP4DH37.js} +61 -9
- package/dist/chunk-VBP4DH37.js.map +1 -0
- package/dist/{chunk-67CMMTLN.cjs → chunk-WZG6GZIL.cjs} +4 -4
- package/dist/{chunk-67CMMTLN.cjs.map → chunk-WZG6GZIL.cjs.map} +1 -1
- package/dist/{chunk-O4RPXBDZ.cjs → chunk-X2YHKP4D.cjs} +8 -8
- package/dist/{chunk-O4RPXBDZ.cjs.map → chunk-X2YHKP4D.cjs.map} +1 -1
- package/dist/{chunk-OBOOHG3N.js → chunk-XEPKONJC.js} +3 -3
- package/dist/{chunk-OBOOHG3N.js.map → chunk-XEPKONJC.js.map} +1 -1
- package/dist/{chunk-O7RZRUMZ.js → chunk-XJWED257.js} +14 -309
- package/dist/chunk-XJWED257.js.map +1 -0
- package/dist/chunk-XSSLNINL.js +346 -0
- package/dist/chunk-XSSLNINL.js.map +1 -0
- package/dist/{chunk-4IUE2JB7.js → chunk-Z77M7Q2R.js} +3 -3
- package/dist/{chunk-4IUE2JB7.js.map → chunk-Z77M7Q2R.js.map} +1 -1
- package/dist/entries/apps.cjs +42 -42
- package/dist/entries/apps.js +7 -7
- package/dist/entries/captions.d.cts +1 -1
- package/dist/entries/captions.d.ts +1 -1
- package/dist/entries/credits.cjs +230 -214
- package/dist/entries/credits.d.cts +51 -14
- package/dist/entries/credits.d.ts +51 -14
- package/dist/entries/credits.js +10 -10
- package/dist/entries/entities.cjs +202 -193
- package/dist/entries/entities.d.cts +44 -9
- package/dist/entries/entities.d.ts +44 -9
- package/dist/entries/entities.js +2 -1
- package/dist/entries/llm-models.cjs +86 -62
- package/dist/entries/llm-models.d.cts +46 -15
- package/dist/entries/llm-models.d.ts +46 -15
- package/dist/entries/llm-models.js +2 -2
- package/dist/entries/media.cjs +79 -63
- package/dist/entries/media.d.cts +154 -1
- package/dist/entries/media.d.ts +154 -1
- package/dist/entries/media.js +1 -1
- package/dist/entries/model-catalog.cjs +175 -119
- package/dist/entries/model-catalog.d.cts +4 -54
- package/dist/entries/model-catalog.d.ts +4 -54
- package/dist/entries/model-catalog.js +4 -4
- package/dist/entries/models.cjs +503 -358
- package/dist/entries/models.d.cts +86 -7
- package/dist/entries/models.d.ts +86 -7
- package/dist/entries/models.js +6 -5
- package/dist/entries/nodes.cjs +212 -212
- package/dist/entries/nodes.d.cts +1 -1
- package/dist/entries/nodes.d.ts +1 -1
- package/dist/entries/nodes.js +8 -8
- package/dist/entries/pipeline.cjs +153 -153
- package/dist/entries/pipeline.d.cts +3 -3
- package/dist/entries/pipeline.d.ts +3 -3
- package/dist/entries/pipeline.js +3 -3
- package/dist/entries/social.cjs +177 -177
- package/dist/entries/social.js +2 -2
- package/dist/entries/ugc.cjs +71 -71
- package/dist/entries/ugc.js +4 -4
- package/dist/entries/video.cjs +174 -145
- package/dist/entries/video.d.cts +119 -2
- package/dist/entries/video.d.ts +119 -2
- package/dist/entries/video.js +7 -6
- package/dist/entries/workflow.d.cts +1 -1
- package/dist/entries/workflow.d.ts +1 -1
- package/dist/index.cjs +2086 -1793
- package/dist/index.d.cts +10 -9
- package/dist/index.d.ts +10 -9
- package/dist/index.js +24 -23
- package/dist/{model-catalog-Cf9fkEUp.d.ts → model-catalog-B-aQnUS8.d.cts} +186 -2
- package/dist/{model-catalog-Cf9fkEUp.d.cts → model-catalog-B-aQnUS8.d.ts} +186 -2
- package/dist/{model-constants-C_Nyft_i.d.cts → model-constants-BstsUup6.d.cts} +105 -6
- package/dist/{model-constants-BxjiWVQ9.d.ts → model-constants-DZ3tPGFO.d.ts} +105 -6
- package/dist/tts-capabilities-BJ4N8MIB.d.ts +133 -0
- package/dist/tts-capabilities-Cf_4nu1Z.d.cts +133 -0
- package/package.json +1 -1
- package/src/__tests__/dialogue-capabilities.test.ts +167 -6
- package/src/__tests__/extend-providers.test.ts +87 -0
- package/src/__tests__/flux-3-klein.test.ts +51 -3
- package/src/__tests__/image-run-limit.test.ts +96 -0
- package/src/__tests__/kling4-catalog.test.ts +1 -1
- package/src/__tests__/llm-models.test.ts +41 -4
- package/src/__tests__/seedream-5-5.test.ts +17 -0
- package/src/__tests__/speech-pricing.test.ts +62 -1
- package/src/__tests__/tts-capabilities.test.ts +160 -4
- package/src/__tests__/video-analysis-pricing.test.ts +13 -1
- package/src/__tests__/video-subjects.test.ts +209 -0
- package/src/__tests__/wired-character-names.test.ts +142 -0
- package/src/credit-estimators/index.ts +4 -0
- package/src/credit-estimators/speech.ts +57 -9
- package/src/credit-identifiers.ts +48 -13
- package/src/dialogue-capabilities.ts +220 -3
- package/src/dubbing-structure.ts +186 -0
- package/src/entries/entities.ts +2 -0
- package/src/entries/llm-models.ts +7 -0
- package/src/entries/media.ts +3 -1
- package/src/entries/model-catalog.ts +17 -0
- package/src/entries/models.ts +43 -0
- package/src/entries/video.ts +8 -1
- package/src/gemini-tts.ts +144 -0
- package/src/llm-models.ts +71 -21
- package/src/model-catalog.ts +283 -2
- package/src/model-constants.ts +167 -8
- package/src/tts-capabilities.ts +193 -1
- package/src/video-analysis-pricing.ts +11 -0
- package/src/video-character-refs.ts +165 -3
- package/src/wired-character-names.ts +134 -18
- package/src/wired-character-video-subjects.ts +63 -0
- package/dist/chunk-3AYM47GW.js.map +0 -1
- package/dist/chunk-5OBTGNUQ.cjs.map +0 -1
- package/dist/chunk-6YIV37V7.js +0 -31
- package/dist/chunk-6YIV37V7.js.map +0 -1
- package/dist/chunk-7AJGUI7L.cjs.map +0 -1
- package/dist/chunk-ACZZHHFZ.cjs.map +0 -1
- package/dist/chunk-AZNZ5WNZ.cjs.map +0 -1
- package/dist/chunk-DZ4IOP3Q.js.map +0 -1
- package/dist/chunk-IYSOVS7O.js.map +0 -1
- package/dist/chunk-KHH54GRP.cjs.map +0 -1
- package/dist/chunk-NIAFR5EE.js.map +0 -1
- package/dist/chunk-O7RZRUMZ.js.map +0 -1
- package/dist/chunk-QYU7J5EQ.js.map +0 -1
- package/dist/chunk-S3UGLZSF.js +0 -42
- package/dist/chunk-S3UGLZSF.js.map +0 -1
- package/dist/chunk-TPQJKS7D.js.map +0 -1
- package/dist/chunk-TQW3R44P.cjs +0 -38
- package/dist/chunk-TQW3R44P.cjs.map +0 -1
- package/dist/chunk-VZ6TE23U.cjs +0 -54
- package/dist/chunk-VZ6TE23U.cjs.map +0 -1
- package/dist/chunk-W6VJAUGM.cjs.map +0 -1
- package/dist/chunk-W7KHHNZR.js.map +0 -1
- package/dist/chunk-Y4GCJJPF.cjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bL as ScriptProvider } from '../model-constants-BstsUup6.cjs';
|
|
2
2
|
import 'zod';
|
|
3
|
-
import '../model-catalog-
|
|
3
|
+
import '../model-catalog-B-aQnUS8.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* LLM Model Registry — shared between frontend and backend.
|
|
@@ -167,8 +167,8 @@ interface LlmModelDef {
|
|
|
167
167
|
* and every estimate surface quotes that call. The sizes themselves are
|
|
168
168
|
* backend data (`backend/src/lib/pricing/llm-cost.ts`), held to this flag by
|
|
169
169
|
* a backend test. No model sets it today (GPT-6.1 Terra did for part of
|
|
170
|
-
* 2026-11-12
|
|
171
|
-
* effort).
|
|
170
|
+
* 2026-11-12; since 2026-11-13 its added input is counted at the ceiling it
|
|
171
|
+
* has been seen at, the same with or without an effort).
|
|
172
172
|
*/
|
|
173
173
|
effortPriced?: true;
|
|
174
174
|
/**
|
|
@@ -437,18 +437,44 @@ declare function defaultReasoningEffort(feature: string, modelId?: string): LlmR
|
|
|
437
437
|
* no video). Gemini 2/3 family supports image + video + audio natively.
|
|
438
438
|
* GPT-5.x via KIE chat-completions / responses supports image only — audio
|
|
439
439
|
* input requires a separate audio-capable model we don't route to today.
|
|
440
|
+
*
|
|
441
|
+
* `file` (decided 2026-11-13): the model reads documents (PDF) sent with the
|
|
442
|
+
* call. Declared on the one model that does — GPT-6.1 Terra — and never
|
|
443
|
+
* derived for any other: absent means no. Read it through
|
|
444
|
+
* {@link llmAcceptsFiles}.
|
|
440
445
|
*/
|
|
441
|
-
declare const LLM_MODALITY_CAPS: Record<string,
|
|
442
|
-
image: boolean;
|
|
443
|
-
video: boolean;
|
|
444
|
-
audio: boolean;
|
|
445
|
-
}>;
|
|
446
|
+
declare const LLM_MODALITY_CAPS: Record<string, LlmModalityCaps>;
|
|
446
447
|
/** Capability lookup with safe default — unknown models get image-only. */
|
|
447
|
-
declare function getLlmModalityCaps(modelId: string | undefined):
|
|
448
|
+
declare function getLlmModalityCaps(modelId: string | undefined): LlmModalityCaps;
|
|
449
|
+
/** What a model reads besides text (see {@link LLM_MODALITY_CAPS}). */
|
|
450
|
+
interface LlmModalityCaps {
|
|
448
451
|
image: boolean;
|
|
449
452
|
video: boolean;
|
|
450
453
|
audio: boolean;
|
|
451
|
-
|
|
454
|
+
/** Documents (PDF). Set only where it is true. */
|
|
455
|
+
file?: true;
|
|
456
|
+
}
|
|
457
|
+
/** Does `modelId` read documents sent with the call (`file` in its modality caps)? An unknown model does not. */
|
|
458
|
+
declare function llmAcceptsFiles(modelId: string | undefined): boolean;
|
|
459
|
+
/** The models that read documents, in registry order — what a refusal names. */
|
|
460
|
+
declare const LLM_FILE_MODELS: readonly LlmModelDef[];
|
|
461
|
+
/** The most documents one LLM call takes (`referenceFileUrls`). */
|
|
462
|
+
declare const LLM_REFERENCE_FILES_MAX = 5;
|
|
463
|
+
/**
|
|
464
|
+
* The most bytes the documents of one LLM call may total: 6 MiB. They are sent
|
|
465
|
+
* inline with the call, which carries about ten million characters in all,
|
|
466
|
+
* and base64 makes 6 MiB about 8.4 million of them (the rest is the call's
|
|
467
|
+
* images').
|
|
468
|
+
*/
|
|
469
|
+
declare const LLM_REFERENCE_FILES_MAX_TOTAL_BYTES: number;
|
|
470
|
+
/**
|
|
471
|
+
* The most pages the documents of one LLM call may have IN ALL (decided
|
|
472
|
+
* 2026-11-13: 100 for the whole call, not per file, until a probe shows the
|
|
473
|
+
* aggregator reads more in one call).
|
|
474
|
+
*/
|
|
475
|
+
declare const LLM_REFERENCE_FILES_MAX_PAGES = 100;
|
|
476
|
+
/** The document types an LLM call takes: PDF only (the aggregator refused text and Word files, 2026-11-13). */
|
|
477
|
+
declare const LLM_REFERENCE_FILE_MIME_TYPES: readonly string[];
|
|
452
478
|
declare function getLlmModel(id: string): LlmModelDef | undefined;
|
|
453
479
|
declare function getLlmTier(id: string): LlmTier;
|
|
454
480
|
/**
|
|
@@ -606,10 +632,15 @@ declare const VIDEO_ANALYSIS_LLM_MODELS: string[];
|
|
|
606
632
|
* (video-analysis-pricing.test.ts) asserts every tier target is a real
|
|
607
633
|
* VIDEO_ANALYSIS_LLM_MODELS member AND every such model is reachable by a tier,
|
|
608
634
|
* so adding a video model forces a tier decision instead of silently leaking.
|
|
635
|
+
*
|
|
636
|
+
* `ultra` (decided 2026-11-13) reads every window with the deepest-reasoning
|
|
637
|
+
* analysis model, at the same frame sampling as the other single-model tiers.
|
|
638
|
+
* It is priced between the mixed tiers and `smart`.
|
|
609
639
|
*/
|
|
610
640
|
declare const VIDEO_ANALYSIS_TIERS: {
|
|
611
641
|
readonly fast: "gemini-3.8-flash";
|
|
612
642
|
readonly pro: "gemini-3.1-pro";
|
|
643
|
+
readonly ultra: "gemini-4-carbon";
|
|
613
644
|
};
|
|
614
645
|
type VideoAnalysisModelTier = keyof typeof VIDEO_ANALYSIS_TIERS;
|
|
615
646
|
/**
|
|
@@ -652,8 +683,8 @@ type VideoAnalysisMixedTier = (typeof VIDEO_ANALYSIS_MIXED_TIERS)[number];
|
|
|
652
683
|
* As with the mixed sentinels, what the plan does internally is deliberately not
|
|
653
684
|
* published here; only the wire vocabulary is contract.
|
|
654
685
|
*/
|
|
655
|
-
/** UI/listing order — recommended (smart) first. */
|
|
656
|
-
declare const VIDEO_ANALYSIS_TIER_ORDER: readonly ["smart", "pro", "fast", "mixed", "mixed-fast"];
|
|
686
|
+
/** UI/listing order — recommended (smart) first, then `ultra`, the other high-accuracy tier. */
|
|
687
|
+
declare const VIDEO_ANALYSIS_TIER_ORDER: readonly ["smart", "ultra", "pro", "fast", "mixed", "mixed-fast"];
|
|
657
688
|
type VideoAnalysisTier = (typeof VIDEO_ANALYSIS_TIER_ORDER)[number];
|
|
658
689
|
declare const DEFAULT_VIDEO_ANALYSIS_TIER: VideoAnalysisTier;
|
|
659
690
|
declare const DEFAULT_VIDEO_ANALYSIS_MODEL: string;
|
|
@@ -664,7 +695,7 @@ declare function isVideoAnalysisMixedTier(v: string): v is VideoAnalysisMixedTie
|
|
|
664
695
|
/**
|
|
665
696
|
* Resolve a user-supplied tier OR a raw internal model id to the analysis
|
|
666
697
|
* ENGINE IDENTIFIER carried in the worker payload:
|
|
667
|
-
* - model-backed tiers ("fast"/"pro") → the internal model id;
|
|
698
|
+
* - model-backed tiers ("fast"/"pro"/"ultra") → the internal model id;
|
|
668
699
|
* - mixed tiers ("mixed"/"mixed-fast") → the sentinel ITSELF (the engine
|
|
669
700
|
* expands it to a multi-model roll plan);
|
|
670
701
|
* - raw model ids pass through (back-compat for stored `llmModel` values);
|
|
@@ -676,4 +707,4 @@ declare function resolveVideoAnalysisModel(input?: string | null): string;
|
|
|
676
707
|
declare const SCRIPT_LEGACY_PROVIDER_MODELS: Readonly<Record<ScriptProvider, string>>;
|
|
677
708
|
declare function resolveScriptModelId(provider?: string, llmModel?: string): string;
|
|
678
709
|
|
|
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 };
|
|
710
|
+
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_FILE_MODELS, LLM_MODALITY_CAPS, LLM_MODELS, LLM_MODEL_IDS, LLM_PRICE_KEY_DIRECT, LLM_PRICE_KEY_EFFORT, LLM_REASONING_EFFORTS, LLM_REFERENCE_FILES_MAX, LLM_REFERENCE_FILES_MAX_PAGES, LLM_REFERENCE_FILES_MAX_TOTAL_BYTES, LLM_REFERENCE_FILE_MIME_TYPES, LLM_ROUTE_DEFAULTS, LLM_STRUCTURED_WITHHELD_MODELS, LLM_VENDOR_LABELS, LLM_VENDOR_ORDER, type LlmCreditRung, type LlmFeature, type LlmModalityCaps, 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, llmAcceptsFiles, llmCreditIdForRung, llmCreditRung, llmDefaultsFeature, llmPriceKey, llmRouteDefaults, llmSendsSchema, llmServesDirect, llmTierCreditIds, motionGraphicsFeature, orderedLlmModels, parseLlmPriceKeyModel, pickableLlmModels, reasoningOutputFloor, resolveLlmCreditId, resolveScriptModelId, resolveVideoAnalysisModel, structuredWireMode, supportsAdvancedMode };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bL as ScriptProvider } from '../model-constants-DZ3tPGFO.js';
|
|
2
2
|
import 'zod';
|
|
3
|
-
import '../model-catalog-
|
|
3
|
+
import '../model-catalog-B-aQnUS8.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* LLM Model Registry — shared between frontend and backend.
|
|
@@ -167,8 +167,8 @@ interface LlmModelDef {
|
|
|
167
167
|
* and every estimate surface quotes that call. The sizes themselves are
|
|
168
168
|
* backend data (`backend/src/lib/pricing/llm-cost.ts`), held to this flag by
|
|
169
169
|
* a backend test. No model sets it today (GPT-6.1 Terra did for part of
|
|
170
|
-
* 2026-11-12
|
|
171
|
-
* effort).
|
|
170
|
+
* 2026-11-12; since 2026-11-13 its added input is counted at the ceiling it
|
|
171
|
+
* has been seen at, the same with or without an effort).
|
|
172
172
|
*/
|
|
173
173
|
effortPriced?: true;
|
|
174
174
|
/**
|
|
@@ -437,18 +437,44 @@ declare function defaultReasoningEffort(feature: string, modelId?: string): LlmR
|
|
|
437
437
|
* no video). Gemini 2/3 family supports image + video + audio natively.
|
|
438
438
|
* GPT-5.x via KIE chat-completions / responses supports image only — audio
|
|
439
439
|
* input requires a separate audio-capable model we don't route to today.
|
|
440
|
+
*
|
|
441
|
+
* `file` (decided 2026-11-13): the model reads documents (PDF) sent with the
|
|
442
|
+
* call. Declared on the one model that does — GPT-6.1 Terra — and never
|
|
443
|
+
* derived for any other: absent means no. Read it through
|
|
444
|
+
* {@link llmAcceptsFiles}.
|
|
440
445
|
*/
|
|
441
|
-
declare const LLM_MODALITY_CAPS: Record<string,
|
|
442
|
-
image: boolean;
|
|
443
|
-
video: boolean;
|
|
444
|
-
audio: boolean;
|
|
445
|
-
}>;
|
|
446
|
+
declare const LLM_MODALITY_CAPS: Record<string, LlmModalityCaps>;
|
|
446
447
|
/** Capability lookup with safe default — unknown models get image-only. */
|
|
447
|
-
declare function getLlmModalityCaps(modelId: string | undefined):
|
|
448
|
+
declare function getLlmModalityCaps(modelId: string | undefined): LlmModalityCaps;
|
|
449
|
+
/** What a model reads besides text (see {@link LLM_MODALITY_CAPS}). */
|
|
450
|
+
interface LlmModalityCaps {
|
|
448
451
|
image: boolean;
|
|
449
452
|
video: boolean;
|
|
450
453
|
audio: boolean;
|
|
451
|
-
|
|
454
|
+
/** Documents (PDF). Set only where it is true. */
|
|
455
|
+
file?: true;
|
|
456
|
+
}
|
|
457
|
+
/** Does `modelId` read documents sent with the call (`file` in its modality caps)? An unknown model does not. */
|
|
458
|
+
declare function llmAcceptsFiles(modelId: string | undefined): boolean;
|
|
459
|
+
/** The models that read documents, in registry order — what a refusal names. */
|
|
460
|
+
declare const LLM_FILE_MODELS: readonly LlmModelDef[];
|
|
461
|
+
/** The most documents one LLM call takes (`referenceFileUrls`). */
|
|
462
|
+
declare const LLM_REFERENCE_FILES_MAX = 5;
|
|
463
|
+
/**
|
|
464
|
+
* The most bytes the documents of one LLM call may total: 6 MiB. They are sent
|
|
465
|
+
* inline with the call, which carries about ten million characters in all,
|
|
466
|
+
* and base64 makes 6 MiB about 8.4 million of them (the rest is the call's
|
|
467
|
+
* images').
|
|
468
|
+
*/
|
|
469
|
+
declare const LLM_REFERENCE_FILES_MAX_TOTAL_BYTES: number;
|
|
470
|
+
/**
|
|
471
|
+
* The most pages the documents of one LLM call may have IN ALL (decided
|
|
472
|
+
* 2026-11-13: 100 for the whole call, not per file, until a probe shows the
|
|
473
|
+
* aggregator reads more in one call).
|
|
474
|
+
*/
|
|
475
|
+
declare const LLM_REFERENCE_FILES_MAX_PAGES = 100;
|
|
476
|
+
/** The document types an LLM call takes: PDF only (the aggregator refused text and Word files, 2026-11-13). */
|
|
477
|
+
declare const LLM_REFERENCE_FILE_MIME_TYPES: readonly string[];
|
|
452
478
|
declare function getLlmModel(id: string): LlmModelDef | undefined;
|
|
453
479
|
declare function getLlmTier(id: string): LlmTier;
|
|
454
480
|
/**
|
|
@@ -606,10 +632,15 @@ declare const VIDEO_ANALYSIS_LLM_MODELS: string[];
|
|
|
606
632
|
* (video-analysis-pricing.test.ts) asserts every tier target is a real
|
|
607
633
|
* VIDEO_ANALYSIS_LLM_MODELS member AND every such model is reachable by a tier,
|
|
608
634
|
* so adding a video model forces a tier decision instead of silently leaking.
|
|
635
|
+
*
|
|
636
|
+
* `ultra` (decided 2026-11-13) reads every window with the deepest-reasoning
|
|
637
|
+
* analysis model, at the same frame sampling as the other single-model tiers.
|
|
638
|
+
* It is priced between the mixed tiers and `smart`.
|
|
609
639
|
*/
|
|
610
640
|
declare const VIDEO_ANALYSIS_TIERS: {
|
|
611
641
|
readonly fast: "gemini-3.8-flash";
|
|
612
642
|
readonly pro: "gemini-3.1-pro";
|
|
643
|
+
readonly ultra: "gemini-4-carbon";
|
|
613
644
|
};
|
|
614
645
|
type VideoAnalysisModelTier = keyof typeof VIDEO_ANALYSIS_TIERS;
|
|
615
646
|
/**
|
|
@@ -652,8 +683,8 @@ type VideoAnalysisMixedTier = (typeof VIDEO_ANALYSIS_MIXED_TIERS)[number];
|
|
|
652
683
|
* As with the mixed sentinels, what the plan does internally is deliberately not
|
|
653
684
|
* published here; only the wire vocabulary is contract.
|
|
654
685
|
*/
|
|
655
|
-
/** UI/listing order — recommended (smart) first. */
|
|
656
|
-
declare const VIDEO_ANALYSIS_TIER_ORDER: readonly ["smart", "pro", "fast", "mixed", "mixed-fast"];
|
|
686
|
+
/** UI/listing order — recommended (smart) first, then `ultra`, the other high-accuracy tier. */
|
|
687
|
+
declare const VIDEO_ANALYSIS_TIER_ORDER: readonly ["smart", "ultra", "pro", "fast", "mixed", "mixed-fast"];
|
|
657
688
|
type VideoAnalysisTier = (typeof VIDEO_ANALYSIS_TIER_ORDER)[number];
|
|
658
689
|
declare const DEFAULT_VIDEO_ANALYSIS_TIER: VideoAnalysisTier;
|
|
659
690
|
declare const DEFAULT_VIDEO_ANALYSIS_MODEL: string;
|
|
@@ -664,7 +695,7 @@ declare function isVideoAnalysisMixedTier(v: string): v is VideoAnalysisMixedTie
|
|
|
664
695
|
/**
|
|
665
696
|
* Resolve a user-supplied tier OR a raw internal model id to the analysis
|
|
666
697
|
* ENGINE IDENTIFIER carried in the worker payload:
|
|
667
|
-
* - model-backed tiers ("fast"/"pro") → the internal model id;
|
|
698
|
+
* - model-backed tiers ("fast"/"pro"/"ultra") → the internal model id;
|
|
668
699
|
* - mixed tiers ("mixed"/"mixed-fast") → the sentinel ITSELF (the engine
|
|
669
700
|
* expands it to a multi-model roll plan);
|
|
670
701
|
* - raw model ids pass through (back-compat for stored `llmModel` values);
|
|
@@ -676,4 +707,4 @@ declare function resolveVideoAnalysisModel(input?: string | null): string;
|
|
|
676
707
|
declare const SCRIPT_LEGACY_PROVIDER_MODELS: Readonly<Record<ScriptProvider, string>>;
|
|
677
708
|
declare function resolveScriptModelId(provider?: string, llmModel?: string): string;
|
|
678
709
|
|
|
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 };
|
|
710
|
+
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_FILE_MODELS, LLM_MODALITY_CAPS, LLM_MODELS, LLM_MODEL_IDS, LLM_PRICE_KEY_DIRECT, LLM_PRICE_KEY_EFFORT, LLM_REASONING_EFFORTS, LLM_REFERENCE_FILES_MAX, LLM_REFERENCE_FILES_MAX_PAGES, LLM_REFERENCE_FILES_MAX_TOTAL_BYTES, LLM_REFERENCE_FILE_MIME_TYPES, LLM_ROUTE_DEFAULTS, LLM_STRUCTURED_WITHHELD_MODELS, LLM_VENDOR_LABELS, LLM_VENDOR_ORDER, type LlmCreditRung, type LlmFeature, type LlmModalityCaps, 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, llmAcceptsFiles, 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_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-
|
|
1
|
+
export { SCRIPT_LEGACY_PROVIDER_MODELS, resolveScriptModelId } from '../chunk-Z77M7Q2R.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_FILE_MODELS, LLM_MODALITY_CAPS, LLM_MODELS, LLM_MODEL_IDS, LLM_PRICE_KEY_DIRECT, LLM_PRICE_KEY_EFFORT, LLM_REASONING_EFFORTS, LLM_REFERENCE_FILES_MAX, LLM_REFERENCE_FILES_MAX_PAGES, LLM_REFERENCE_FILES_MAX_TOTAL_BYTES, LLM_REFERENCE_FILE_MIME_TYPES, 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, llmAcceptsFiles, llmCreditIdForRung, llmCreditRung, llmDefaultsFeature, llmPriceKey, llmRouteDefaults, llmSendsSchema, llmServesDirect, llmTierCreditIds, motionGraphicsFeature, orderedLlmModels, parseLlmPriceKeyModel, pickableLlmModels, reasoningOutputFloor, resolveLlmCreditId, resolveVideoAnalysisModel, structuredWireMode, supportsAdvancedMode } from '../chunk-V6OXSXIX.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 chunkNYZQOIXJ_cjs = require('../chunk-NYZQOIXJ.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,267 @@ 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 chunkNYZQOIXJ_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 chunkNYZQOIXJ_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 chunkNYZQOIXJ_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 chunkNYZQOIXJ_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 chunkNYZQOIXJ_cjs.DEFAULT_VIDEO_MASK_PROVIDER; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "DUBBING_CAPTION_FORMATS", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkNYZQOIXJ_cjs.DUBBING_CAPTION_FORMATS; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "DUBBING_ERROR_CODES", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkNYZQOIXJ_cjs.DUBBING_ERROR_CODES; }
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "DUBBING_LANGUAGE_STATUSES", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return chunkNYZQOIXJ_cjs.DUBBING_LANGUAGE_STATUSES; }
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "DUBBING_SOURCE_LANGUAGE", {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () { return chunkNYZQOIXJ_cjs.DUBBING_SOURCE_LANGUAGE; }
|
|
30
46
|
});
|
|
31
47
|
Object.defineProperty(exports, "FREECUT_EXPORT_COMPLETE", {
|
|
32
48
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkNYZQOIXJ_cjs.FREECUT_EXPORT_COMPLETE; }
|
|
34
50
|
});
|
|
35
51
|
Object.defineProperty(exports, "FREECUT_EXPORT_PROGRESS", {
|
|
36
52
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkNYZQOIXJ_cjs.FREECUT_EXPORT_PROGRESS; }
|
|
38
54
|
});
|
|
39
55
|
Object.defineProperty(exports, "FREECUT_READY", {
|
|
40
56
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkNYZQOIXJ_cjs.FREECUT_READY; }
|
|
42
58
|
});
|
|
43
59
|
Object.defineProperty(exports, "FREECUT_REQUEST_IMPORT", {
|
|
44
60
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkNYZQOIXJ_cjs.FREECUT_REQUEST_IMPORT; }
|
|
46
62
|
});
|
|
47
63
|
Object.defineProperty(exports, "GENERATE_MASK_LIMITS", {
|
|
48
64
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkNYZQOIXJ_cjs.GENERATE_MASK_LIMITS; }
|
|
50
66
|
});
|
|
51
67
|
Object.defineProperty(exports, "LEGACY_LOTTIE_HOST_REMAP", {
|
|
52
68
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkNYZQOIXJ_cjs.LEGACY_LOTTIE_HOST_REMAP; }
|
|
54
70
|
});
|
|
55
71
|
Object.defineProperty(exports, "LOTTIE_OVERLAY_CATALOG", {
|
|
56
72
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkNYZQOIXJ_cjs.LOTTIE_OVERLAY_CATALOG; }
|
|
58
74
|
});
|
|
59
75
|
Object.defineProperty(exports, "LOTTIE_SLOT_FIELD_PREFIX", {
|
|
60
76
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkNYZQOIXJ_cjs.LOTTIE_SLOT_FIELD_PREFIX; }
|
|
62
78
|
});
|
|
63
79
|
Object.defineProperty(exports, "MASK_COMPOSITE_AUDIO_SOURCES", {
|
|
64
80
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkNYZQOIXJ_cjs.MASK_COMPOSITE_AUDIO_SOURCES; }
|
|
66
82
|
});
|
|
67
83
|
Object.defineProperty(exports, "MASK_COMPOSITE_BACKGROUND_FITS", {
|
|
68
84
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkNYZQOIXJ_cjs.MASK_COMPOSITE_BACKGROUND_FITS; }
|
|
70
86
|
});
|
|
71
87
|
Object.defineProperty(exports, "MASK_COMPOSITE_BOUNDS", {
|
|
72
88
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkNYZQOIXJ_cjs.MASK_COMPOSITE_BOUNDS; }
|
|
74
90
|
});
|
|
75
91
|
Object.defineProperty(exports, "MASK_COMPOSITE_DEFAULTS", {
|
|
76
92
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkNYZQOIXJ_cjs.MASK_COMPOSITE_DEFAULTS; }
|
|
78
94
|
});
|
|
79
95
|
Object.defineProperty(exports, "MASK_COMPOSITE_FILLS", {
|
|
80
96
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkNYZQOIXJ_cjs.MASK_COMPOSITE_FILLS; }
|
|
82
98
|
});
|
|
83
99
|
Object.defineProperty(exports, "MASK_COMPOSITE_REMEASURE_SLACK_SEC", {
|
|
84
100
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkNYZQOIXJ_cjs.MASK_COMPOSITE_REMEASURE_SLACK_SEC; }
|
|
86
102
|
});
|
|
87
103
|
Object.defineProperty(exports, "MASK_COMPOSITE_UNIT_SEC", {
|
|
88
104
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkNYZQOIXJ_cjs.MASK_COMPOSITE_UNIT_SEC; }
|
|
90
106
|
});
|
|
91
107
|
Object.defineProperty(exports, "NODARO_IMPORT_FILES", {
|
|
92
108
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkNYZQOIXJ_cjs.NODARO_IMPORT_FILES; }
|
|
94
110
|
});
|
|
95
111
|
Object.defineProperty(exports, "NODARO_LOAD_TIMELINE", {
|
|
96
112
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkNYZQOIXJ_cjs.NODARO_LOAD_TIMELINE; }
|
|
98
114
|
});
|
|
99
115
|
Object.defineProperty(exports, "NODARO_LOAD_VIDEO", {
|
|
100
116
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkNYZQOIXJ_cjs.NODARO_LOAD_VIDEO; }
|
|
102
118
|
});
|
|
103
119
|
Object.defineProperty(exports, "NODARO_RESET_PROJECT", {
|
|
104
120
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkNYZQOIXJ_cjs.NODARO_RESET_PROJECT; }
|
|
106
122
|
});
|
|
107
123
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_LAYERS", {
|
|
108
124
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkNYZQOIXJ_cjs.VIDEO_FACE_MESH_LAYERS; }
|
|
110
126
|
});
|
|
111
127
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_LIMITS", {
|
|
112
128
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkNYZQOIXJ_cjs.VIDEO_FACE_MESH_LIMITS; }
|
|
114
130
|
});
|
|
115
131
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_LINE_LAYERS", {
|
|
116
132
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkNYZQOIXJ_cjs.VIDEO_FACE_MESH_LINE_LAYERS; }
|
|
118
134
|
});
|
|
119
135
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_PARTS", {
|
|
120
136
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkNYZQOIXJ_cjs.VIDEO_FACE_MESH_PARTS; }
|
|
122
138
|
});
|
|
123
139
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_PATH", {
|
|
124
140
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkNYZQOIXJ_cjs.VIDEO_FACE_MESH_PATH; }
|
|
126
142
|
});
|
|
127
143
|
Object.defineProperty(exports, "VIDEO_FACE_MESH_RECIPE", {
|
|
128
144
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkNYZQOIXJ_cjs.VIDEO_FACE_MESH_RECIPE; }
|
|
130
146
|
});
|
|
131
147
|
Object.defineProperty(exports, "VIDEO_MASK_DEFAULTS", {
|
|
132
148
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkNYZQOIXJ_cjs.VIDEO_MASK_DEFAULTS; }
|
|
134
150
|
});
|
|
135
151
|
Object.defineProperty(exports, "VIDEO_MASK_LIMITS", {
|
|
136
152
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkNYZQOIXJ_cjs.VIDEO_MASK_LIMITS; }
|
|
138
154
|
});
|
|
139
155
|
Object.defineProperty(exports, "VIDEO_MASK_PROVIDERS", {
|
|
140
156
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkNYZQOIXJ_cjs.VIDEO_MASK_PROVIDERS; }
|
|
142
158
|
});
|
|
143
159
|
Object.defineProperty(exports, "VIDEO_MASK_RECIPE", {
|
|
144
160
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkNYZQOIXJ_cjs.VIDEO_MASK_RECIPE; }
|
|
146
162
|
});
|
|
147
163
|
Object.defineProperty(exports, "applySlots", {
|
|
148
164
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkNYZQOIXJ_cjs.applySlots; }
|
|
150
166
|
});
|
|
151
167
|
Object.defineProperty(exports, "deriveLottieSlotFields", {
|
|
152
168
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkNYZQOIXJ_cjs.deriveLottieSlotFields; }
|
|
154
170
|
});
|
|
155
171
|
Object.defineProperty(exports, "describeMaskRegion", {
|
|
156
172
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkNYZQOIXJ_cjs.describeMaskRegion; }
|
|
158
174
|
});
|
|
159
175
|
Object.defineProperty(exports, "describeSlotControl", {
|
|
160
176
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkNYZQOIXJ_cjs.describeSlotControl; }
|
|
162
178
|
});
|
|
163
179
|
Object.defineProperty(exports, "hexToRgbaArray", {
|
|
164
180
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkNYZQOIXJ_cjs.hexToRgbaArray; }
|
|
166
182
|
});
|
|
167
183
|
Object.defineProperty(exports, "humanizeSlotSid", {
|
|
168
184
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkNYZQOIXJ_cjs.humanizeSlotSid; }
|
|
170
186
|
});
|
|
171
187
|
Object.defineProperty(exports, "listSlotSids", {
|
|
172
188
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkNYZQOIXJ_cjs.listSlotSids; }
|
|
174
190
|
});
|
|
175
191
|
Object.defineProperty(exports, "maskCompositeEffectiveAudioSource", {
|
|
176
192
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkNYZQOIXJ_cjs.maskCompositeEffectiveAudioSource; }
|
|
178
194
|
});
|
|
179
195
|
Object.defineProperty(exports, "maskCompositeFillOf", {
|
|
180
196
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkNYZQOIXJ_cjs.maskCompositeFillOf; }
|
|
182
198
|
});
|
|
183
199
|
Object.defineProperty(exports, "maskCompositeLeadHandle", {
|
|
184
200
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkNYZQOIXJ_cjs.maskCompositeLeadHandle; }
|
|
186
202
|
});
|
|
187
203
|
Object.defineProperty(exports, "maskCompositeUnits", {
|
|
188
204
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkNYZQOIXJ_cjs.maskCompositeUnits; }
|
|
190
206
|
});
|
|
191
207
|
Object.defineProperty(exports, "maskCompositeUsesForeground", {
|
|
192
208
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunkNYZQOIXJ_cjs.maskCompositeUsesForeground; }
|
|
194
210
|
});
|
|
195
211
|
Object.defineProperty(exports, "normalizeLottieLayers", {
|
|
196
212
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkNYZQOIXJ_cjs.normalizeLottieLayers; }
|
|
198
214
|
});
|
|
199
215
|
Object.defineProperty(exports, "resolveLottieOverlaySrc", {
|
|
200
216
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunkNYZQOIXJ_cjs.resolveLottieOverlaySrc; }
|
|
202
218
|
});
|
|
203
219
|
Object.defineProperty(exports, "resolveMaskCompositeSettings", {
|
|
204
220
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
221
|
+
get: function () { return chunkNYZQOIXJ_cjs.resolveMaskCompositeSettings; }
|
|
206
222
|
});
|
|
207
223
|
Object.defineProperty(exports, "resolveVideoMaskProvider", {
|
|
208
224
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunkNYZQOIXJ_cjs.resolveVideoMaskProvider; }
|
|
210
226
|
});
|
|
211
227
|
Object.defineProperty(exports, "resolveVideoMaskRedetectSec", {
|
|
212
228
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
229
|
+
get: function () { return chunkNYZQOIXJ_cjs.resolveVideoMaskRedetectSec; }
|
|
214
230
|
});
|
|
215
231
|
Object.defineProperty(exports, "resolveVideoMaskZone", {
|
|
216
232
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
233
|
+
get: function () { return chunkNYZQOIXJ_cjs.resolveVideoMaskZone; }
|
|
218
234
|
});
|
|
219
235
|
Object.defineProperty(exports, "rgbaArrayToHex", {
|
|
220
236
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
237
|
+
get: function () { return chunkNYZQOIXJ_cjs.rgbaArrayToHex; }
|
|
222
238
|
});
|
|
223
239
|
Object.defineProperty(exports, "videoFaceMeshCreditId", {
|
|
224
240
|
enumerable: true,
|
|
225
|
-
get: function () { return
|
|
241
|
+
get: function () { return chunkNYZQOIXJ_cjs.videoFaceMeshCreditId; }
|
|
226
242
|
});
|
|
227
243
|
Object.defineProperty(exports, "videoFaceMeshCreditIds", {
|
|
228
244
|
enumerable: true,
|
|
229
|
-
get: function () { return
|
|
245
|
+
get: function () { return chunkNYZQOIXJ_cjs.videoFaceMeshCreditIds; }
|
|
230
246
|
});
|
|
231
247
|
Object.defineProperty(exports, "videoFaceMeshLayersDrawLines", {
|
|
232
248
|
enumerable: true,
|
|
233
|
-
get: function () { return
|
|
249
|
+
get: function () { return chunkNYZQOIXJ_cjs.videoFaceMeshLayersDrawLines; }
|
|
234
250
|
});
|
|
235
251
|
Object.defineProperty(exports, "videoFaceMeshLayersOfParts", {
|
|
236
252
|
enumerable: true,
|
|
237
|
-
get: function () { return
|
|
253
|
+
get: function () { return chunkNYZQOIXJ_cjs.videoFaceMeshLayersOfParts; }
|
|
238
254
|
});
|
|
239
255
|
Object.defineProperty(exports, "videoFaceMeshLayersOn", {
|
|
240
256
|
enumerable: true,
|
|
241
|
-
get: function () { return
|
|
257
|
+
get: function () { return chunkNYZQOIXJ_cjs.videoFaceMeshLayersOn; }
|
|
242
258
|
});
|
|
243
259
|
Object.defineProperty(exports, "videoFaceMeshPartsOfLayers", {
|
|
244
260
|
enumerable: true,
|
|
245
|
-
get: function () { return
|
|
261
|
+
get: function () { return chunkNYZQOIXJ_cjs.videoFaceMeshPartsOfLayers; }
|
|
246
262
|
});
|
|
247
263
|
Object.defineProperty(exports, "videoMaskBilledSeconds", {
|
|
248
264
|
enumerable: true,
|
|
249
|
-
get: function () { return
|
|
265
|
+
get: function () { return chunkNYZQOIXJ_cjs.videoMaskBilledSeconds; }
|
|
250
266
|
});
|
|
251
267
|
Object.defineProperty(exports, "videoMaskCreditId", {
|
|
252
268
|
enumerable: true,
|
|
253
|
-
get: function () { return
|
|
269
|
+
get: function () { return chunkNYZQOIXJ_cjs.videoMaskCreditId; }
|
|
254
270
|
});
|
|
255
271
|
Object.defineProperty(exports, "videoMaskCreditIds", {
|
|
256
272
|
enumerable: true,
|
|
257
|
-
get: function () { return
|
|
273
|
+
get: function () { return chunkNYZQOIXJ_cjs.videoMaskCreditIds; }
|
|
258
274
|
});
|
|
259
275
|
Object.defineProperty(exports, "DEFAULT_OVERLAY_QR", {
|
|
260
276
|
enumerable: true,
|