@nodaro/shared 3.35.0 → 3.37.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-RUKFN3LJ.cjs → chunk-33QG2DOW.cjs} +6 -6
- package/dist/{chunk-RUKFN3LJ.cjs.map → chunk-33QG2DOW.cjs.map} +1 -1
- package/dist/{chunk-FKQJYMCO.js → chunk-4XI6B4RU.js} +25 -13
- package/dist/chunk-4XI6B4RU.js.map +1 -0
- package/dist/{chunk-XS7FI4JA.js → chunk-5OED47LE.js} +3 -3
- package/dist/{chunk-XS7FI4JA.js.map → chunk-5OED47LE.js.map} +1 -1
- package/dist/{chunk-GZH2SIOF.cjs → chunk-5PCI6M44.cjs} +18 -6
- package/dist/chunk-5PCI6M44.cjs.map +1 -0
- package/dist/chunk-6Q4BS6AR.js +158 -0
- package/dist/chunk-6Q4BS6AR.js.map +1 -0
- package/dist/{chunk-IRUPCNW2.cjs → chunk-6Y66YM4M.cjs} +46 -46
- package/dist/{chunk-IRUPCNW2.cjs.map → chunk-6Y66YM4M.cjs.map} +1 -1
- package/dist/{chunk-F4ZT5X2S.cjs → chunk-75ZMA34U.cjs} +11 -11
- package/dist/{chunk-F4ZT5X2S.cjs.map → chunk-75ZMA34U.cjs.map} +1 -1
- package/dist/{chunk-5VNBQ4QK.cjs → chunk-7Q75OZBL.cjs} +16 -16
- package/dist/{chunk-5VNBQ4QK.cjs.map → chunk-7Q75OZBL.cjs.map} +1 -1
- package/dist/{chunk-ETXUOETU.js → chunk-7QITUDRT.js} +5 -5
- package/dist/{chunk-ETXUOETU.js.map → chunk-7QITUDRT.js.map} +1 -1
- package/dist/{chunk-2QWNPYDG.js → chunk-AZBIXGM5.js} +3 -3
- package/dist/{chunk-2QWNPYDG.js.map → chunk-AZBIXGM5.js.map} +1 -1
- package/dist/{chunk-A5Z3IMSJ.cjs → chunk-BYP62B7F.cjs} +6 -6
- package/dist/{chunk-A5Z3IMSJ.cjs.map → chunk-BYP62B7F.cjs.map} +1 -1
- package/dist/{chunk-GRIMIJJ3.js → chunk-CMH2ACOX.js} +3 -3
- package/dist/{chunk-GRIMIJJ3.js.map → chunk-CMH2ACOX.js.map} +1 -1
- package/dist/{chunk-TCBHVIMD.js → chunk-CQJYKSXF.js} +18 -6
- package/dist/chunk-CQJYKSXF.js.map +1 -0
- package/dist/chunk-DBD4BCGH.cjs +169 -0
- package/dist/chunk-DBD4BCGH.cjs.map +1 -0
- package/dist/{chunk-NWXB4F6D.cjs → chunk-DE3PEIIP.cjs} +21 -21
- package/dist/{chunk-NWXB4F6D.cjs.map → chunk-DE3PEIIP.cjs.map} +1 -1
- package/dist/{chunk-IJNQYMN7.js → chunk-DKTRVOU5.js} +4 -4
- package/dist/{chunk-IJNQYMN7.js.map → chunk-DKTRVOU5.js.map} +1 -1
- package/dist/{chunk-XE5PE54B.cjs → chunk-ENFBA33M.cjs} +27 -27
- package/dist/{chunk-XE5PE54B.cjs.map → chunk-ENFBA33M.cjs.map} +1 -1
- package/dist/{chunk-BBLE4UTG.cjs → chunk-GLON7ANZ.cjs} +48 -15
- package/dist/chunk-GLON7ANZ.cjs.map +1 -0
- package/dist/{chunk-XJOBMAWW.js → chunk-GW54ANCH.js} +3 -3
- package/dist/{chunk-XJOBMAWW.js.map → chunk-GW54ANCH.js.map} +1 -1
- package/dist/{chunk-3YG3MYDE.cjs → chunk-HABDAHZR.cjs} +21 -21
- package/dist/{chunk-3YG3MYDE.cjs.map → chunk-HABDAHZR.cjs.map} +1 -1
- package/dist/{chunk-JSGIEF6Z.cjs → chunk-HSJU5KNR.cjs} +6 -3
- package/dist/chunk-HSJU5KNR.cjs.map +1 -0
- package/dist/{chunk-Q4ZXDDWA.js → chunk-IIGKJYWL.js} +3 -3
- package/dist/{chunk-Q4ZXDDWA.js.map → chunk-IIGKJYWL.js.map} +1 -1
- package/dist/{chunk-YD3JA36S.cjs → chunk-JABZNRXL.cjs} +4 -4
- package/dist/{chunk-YD3JA36S.cjs.map → chunk-JABZNRXL.cjs.map} +1 -1
- package/dist/{chunk-72IFMNJE.cjs → chunk-JLKZEKQ3.cjs} +71 -54
- package/dist/chunk-JLKZEKQ3.cjs.map +1 -0
- package/dist/{chunk-GVHBHUFV.js → chunk-JMUHMLJP.js} +5 -5
- package/dist/{chunk-GVHBHUFV.js.map → chunk-JMUHMLJP.js.map} +1 -1
- package/dist/{chunk-5ZCXWA7J.cjs → chunk-KOP7UTQR.cjs} +15 -2
- package/dist/chunk-KOP7UTQR.cjs.map +1 -0
- package/dist/{chunk-2HVFF5SS.js → chunk-L6HS52BV.js} +3 -3
- package/dist/{chunk-2HVFF5SS.js.map → chunk-L6HS52BV.js.map} +1 -1
- package/dist/{chunk-V3N56Z2S.cjs → chunk-M6JHRWVY.cjs} +27 -12
- package/dist/chunk-M6JHRWVY.cjs.map +1 -0
- package/dist/{chunk-AGEZY4LL.cjs → chunk-MSDECC3A.cjs} +42 -42
- package/dist/{chunk-AGEZY4LL.cjs.map → chunk-MSDECC3A.cjs.map} +1 -1
- package/dist/{chunk-B7WJJHJS.cjs → chunk-MSIIC6MY.cjs} +4 -4
- package/dist/{chunk-B7WJJHJS.cjs.map → chunk-MSIIC6MY.cjs.map} +1 -1
- package/dist/{chunk-AWWOQH46.cjs → chunk-NARVPCWW.cjs} +6 -6
- package/dist/{chunk-AWWOQH46.cjs.map → chunk-NARVPCWW.cjs.map} +1 -1
- package/dist/{chunk-RRI5YBUK.js → chunk-QXTCIJP5.js} +3 -3
- package/dist/{chunk-RRI5YBUK.js.map → chunk-QXTCIJP5.js.map} +1 -1
- package/dist/{chunk-ANOQWAMU.js → chunk-R6B2UDFR.js} +35 -5
- package/dist/chunk-R6B2UDFR.js.map +1 -0
- package/dist/{chunk-ZXBSARZX.js → chunk-SPP6HQMM.js} +4 -4
- package/dist/{chunk-ZXBSARZX.js.map → chunk-SPP6HQMM.js.map} +1 -1
- package/dist/{chunk-MUA5L25B.js → chunk-VRLRPGO7.js} +3 -3
- package/dist/{chunk-MUA5L25B.js.map → chunk-VRLRPGO7.js.map} +1 -1
- package/dist/{chunk-QIIG2QDP.cjs → chunk-VRUN5TG2.cjs} +8 -8
- package/dist/{chunk-QIIG2QDP.cjs.map → chunk-VRUN5TG2.cjs.map} +1 -1
- package/dist/{chunk-QXW6O56Z.js → chunk-W4GABGRD.js} +4 -4
- package/dist/{chunk-QXW6O56Z.js.map → chunk-W4GABGRD.js.map} +1 -1
- package/dist/{chunk-MEN7VLQ5.js → chunk-WD6AJ533.js} +5 -5
- package/dist/{chunk-MEN7VLQ5.js.map → chunk-WD6AJ533.js.map} +1 -1
- package/dist/{chunk-XNISPHTZ.js → chunk-WPT5ZTA2.js} +6 -3
- package/dist/chunk-WPT5ZTA2.js.map +1 -0
- package/dist/{chunk-LJMNCSDG.js → chunk-XA53RUSD.js} +27 -11
- package/dist/chunk-XA53RUSD.js.map +1 -0
- package/dist/chunk-XJ3HJSO5.cjs +25 -0
- package/dist/{chunk-YYODFQEU.cjs.map → chunk-XJ3HJSO5.cjs.map} +1 -1
- package/dist/{chunk-PVVO23LZ.js → chunk-YHCG3HOR.js} +3 -3
- package/dist/{chunk-PVVO23LZ.js.map → chunk-YHCG3HOR.js.map} +1 -1
- package/dist/{chunk-24ZKPE33.cjs → chunk-YNJ44IAL.cjs} +5 -5
- package/dist/{chunk-24ZKPE33.cjs.map → chunk-YNJ44IAL.cjs.map} +1 -1
- package/dist/{chunk-GHBXS5RT.cjs → chunk-YSEM7JDE.cjs} +4 -4
- package/dist/{chunk-GHBXS5RT.cjs.map → chunk-YSEM7JDE.cjs.map} +1 -1
- package/dist/{chunk-W36WCZS2.js → chunk-YVKUCBY2.js} +6 -6
- package/dist/{chunk-W36WCZS2.js.map → chunk-YVKUCBY2.js.map} +1 -1
- package/dist/{chunk-GKJRNIP4.js → chunk-ZG4XSEZV.js} +15 -2
- package/dist/chunk-ZG4XSEZV.js.map +1 -0
- package/dist/entries/apps.cjs +43 -43
- package/dist/entries/apps.js +8 -8
- package/dist/entries/credits.cjs +153 -153
- package/dist/entries/credits.d.cts +1 -1
- package/dist/entries/credits.d.ts +1 -1
- package/dist/entries/credits.js +8 -8
- package/dist/entries/llm-models.cjs +60 -48
- package/dist/entries/llm-models.d.cts +45 -14
- package/dist/entries/llm-models.d.ts +45 -14
- package/dist/entries/llm-models.js +1 -1
- package/dist/entries/model-catalog.cjs +66 -66
- package/dist/entries/model-catalog.d.cts +2 -2
- package/dist/entries/model-catalog.d.ts +2 -2
- package/dist/entries/model-catalog.js +4 -4
- package/dist/entries/models.cjs +267 -226
- package/dist/entries/models.d.cts +58 -2
- package/dist/entries/models.d.ts +58 -2
- package/dist/entries/models.js +6 -5
- package/dist/entries/nodes.cjs +212 -207
- package/dist/entries/nodes.d.cts +20 -3
- package/dist/entries/nodes.d.ts +20 -3
- package/dist/entries/nodes.js +11 -10
- package/dist/entries/pipeline.cjs +149 -149
- package/dist/entries/pipeline.js +3 -3
- package/dist/entries/social.cjs +174 -174
- 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 +115 -115
- package/dist/entries/video.js +4 -4
- package/dist/entries/workflow.cjs +157 -144
- package/dist/entries/workflow.d.cts +49 -1
- package/dist/entries/workflow.d.ts +49 -1
- package/dist/entries/workflow.js +4 -3
- package/dist/index.cjs +1435 -1366
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +23 -22
- package/dist/{model-catalog-VIHGmQL2.d.ts → model-catalog-I48SvalA.d.cts} +3 -0
- package/dist/{model-catalog-VIHGmQL2.d.cts → model-catalog-I48SvalA.d.ts} +3 -0
- package/package.json +1 -1
- package/src/__tests__/llm-models.test.ts +61 -18
- package/src/__tests__/node-preset-extract.test.ts +10 -0
- package/src/__tests__/node-runtime-keys.test.ts +21 -2
- package/src/__tests__/render-output.test.ts +64 -0
- package/src/__tests__/schedule-retry.test.ts +35 -0
- package/src/__tests__/suno-separate.test.ts +78 -0
- package/src/__tests__/video-catalog-totality.test.ts +15 -1
- package/src/entries/llm-models.ts +3 -0
- package/src/entries/models.ts +19 -0
- package/src/entries/workflow.ts +6 -0
- package/src/generated/unit-contracts.ts +8 -2
- package/src/llm-models.ts +63 -23
- package/src/model-catalog.ts +13 -0
- package/src/node-preset-extract.ts +4 -0
- package/src/node-runtime-keys.ts +7 -0
- package/src/render-output.ts +36 -1
- package/src/schedule-retry.ts +71 -0
- package/src/suno-separate.ts +210 -0
- package/dist/chunk-5ZCXWA7J.cjs.map +0 -1
- package/dist/chunk-72IFMNJE.cjs.map +0 -1
- package/dist/chunk-ANOQWAMU.js.map +0 -1
- package/dist/chunk-BBLE4UTG.cjs.map +0 -1
- package/dist/chunk-FKQJYMCO.js.map +0 -1
- package/dist/chunk-GKJRNIP4.js.map +0 -1
- package/dist/chunk-GZH2SIOF.cjs.map +0 -1
- package/dist/chunk-JSGIEF6Z.cjs.map +0 -1
- package/dist/chunk-LJMNCSDG.js.map +0 -1
- package/dist/chunk-TCBHVIMD.js.map +0 -1
- package/dist/chunk-V3N56Z2S.cjs.map +0 -1
- package/dist/chunk-XNISPHTZ.js.map +0 -1
- package/dist/chunk-YYODFQEU.cjs +0 -25
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as ModelInputAdjustment, o as SourceImageSize } from '../model-catalog-
|
|
1
|
+
import { e as ModelInputAdjustment, o as SourceImageSize } from '../model-catalog-I48SvalA.cjs';
|
|
2
2
|
|
|
3
3
|
/** Milli-credits per credit — the intermediate rounding resolution. */
|
|
4
4
|
declare const CREDIT_ROUNDING_RESOLUTION = 1000;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as ModelInputAdjustment, o as SourceImageSize } from '../model-catalog-
|
|
1
|
+
import { e as ModelInputAdjustment, o as SourceImageSize } from '../model-catalog-I48SvalA.js';
|
|
2
2
|
|
|
3
3
|
/** Milli-credits per credit — the intermediate rounding resolution. */
|
|
4
4
|
declare const CREDIT_ROUNDING_RESOLUTION = 1000;
|
package/dist/entries/credits.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { AI_AVATAR_DURATION_BUCKETS, AI_AVATAR_MAX_AUDIO_SEC, AI_AVATAR_MAX_DURATION_SEC, AI_AVATAR_RESERVE_IDS, AvatarPayloadError, CINEMATIC_DEFAULT_DURATION_SEC, CINEMATIC_DEFAULT_RESOLUTION, CINEMATIC_MAX_DURATION_SEC, CINEMATIC_MAX_LOOKS, CINEMATIC_MAX_REFERENCE_IMAGES, CINEMATIC_MAX_REFERENCE_VIDEOS, CINEMATIC_MIN_DURATION_SEC, CINEMATIC_MIN_LOOKS, CINEMATIC_PROMPT_MAX, CINEMATIC_RESERVE_IDS, CONTENT_IDEAS_BRAND_MAX, CONTENT_IDEAS_DEFAULT_COUNT, CONTENT_IDEAS_LANGUAGE_MAX, CONTENT_IDEAS_MAX_COUNT, CONTENT_IDEAS_MAX_RECIPE_INPUTS, CONTENT_IDEAS_PER_CHARGE, CONTENT_RECIPE_IDEAS_CREDIT_IDS, CONTENT_RECIPE_SOURCE_MAX, CREDIT_ROUNDING_RESOLUTION, DEFAULT_VIDEO_CLIP_COST, FILM_BASE_CREDITS, IMAGE_OVERLAY_BASE_CREDITS, IMAGE_OVERLAY_VARIANT_CREDITS, KEYFRAME_CREDITS_PER_SHOT, LIP_SYNC_DURATION_BUCKETS, LIP_SYNC_MAX_AUDIO_SECONDS, LTX_EXTEND_DURATION, LTX_EXTEND_PER_SECOND_CREDIT_ID, LTX_RETAKE_MIN_DURATION_SEC, LTX_RETAKE_PER_SECOND_CREDIT_ID, PAYG_RETENTION_DAYS, PITCH_TEMPO_LIMITS, PITCH_TEMPO_PRICING, SPEECH_FLOOR_UNITS, SPEECH_PRICE_UNIT_CHARS, SPEECH_UNIT_CREDIT_SUFFIX, SWITCHX_BLOCK_FRAMES, SWITCHX_FRAME_TIERS, TEXT_TO_AUDIO_PRICING, TEXT_TO_AUDIO_SFX_CREDIT_IDS, TOPAZ_DEFAULT_UPSCALE_FACTOR, TOPAZ_UPSCALE_FACTORS, VIDEO_ANALYSIS_BUCKET_CREDITS, VIDEO_ANALYSIS_BUCKET_GRACE_SEC, VIDEO_ANALYSIS_DURATION_BUCKETS, VIDEO_ANALYSIS_DURATION_TOLERANCE_SEC, VIDEO_ANALYSIS_MAX_DURATION_SEC, VIDEO_ANALYSIS_WINDOW, VIDEO_AUDIT_BUCKET_CREDITS, VIDEO_CLIP_CREDITS, VIDEO_CRITIC_CREDITS_PER_SHOT, VIDEO_SFX_PRICING, VIDEO_UTIL_PRICING, VOICE_CHANGER_PRO_QUOTE_RATE_ID, aiAvatarReserveCreditId, assembleNarratedVideoCredits, bucketSecondsFromAuditCreditId, bucketSecondsFromCreditId, buildLipSyncCreditId, buildVideoAnalysisCreditId, buildVideoAuditCreditId, calculateMonetizationMarkup, calculateMonetizedCost, cinematicCreditId, clampCinematicDuration, clampContentIdeasCount, contentIdeasCreditFeature, contentIdeasCreditId, contentRecipeCreditId, creditsToUsd, effectiveContentModel, estimateCombineVideosCredits, estimateFilmCredits, estimateLoopTrimAddonCredits, estimateLoopVideoCredits, estimateScriptDurationSec, estimateTrimVideoCredits, getLipSyncMaxAudioSeconds, imageOverlayBillableVariants, imageOverlayCredits, isPaygRetentionActive, isPerSecondLipSyncProvider, isSpeechLengthPriceId, ltxExtendDurationSec, ltxRetakeDurationSec, parsePitchTempoCreditId, parseSpeechQuoteCreditId, parseUnitQuoteCreditId, parseVoiceChangerProQuoteCreditId, pickAiAvatarBucket, pickLipSyncBucket, pickSwitchXFrameTier, pickVideoAnalysisBucket, pitchTempoBaseCredits, pitchTempoCreditId, pitchTempoQuoteCreditId, pitchTempoStartedMinutes, resolveAiAvatarCreditId, resolveCinematicCreditId, resolveEffectiveTier, resolveStoredTier, resolveSwitchXCreditId, resolveTopazUpscale, semitonesToPitchRatio, speechCredits, speechLengthPriceModel, speechPriceUnits, speechQuoteCreditId, speechUnitCreditId, textToAudioBilledSeconds, textToAudioCreditId, unitQuoteCreditId, usdToCredits, validateAiAvatarPayload, validateCinematicAvatarPayload, videoAnalysisCreditSegment, videoAnalysisNumWindows, videoAuditCreditsForBucket, videoSfxCreditId, videoSfxQuoteCreditId, voiceChangerProQuoteCreditId } from '../chunk-
|
|
1
|
+
export { AI_AVATAR_DURATION_BUCKETS, AI_AVATAR_MAX_AUDIO_SEC, AI_AVATAR_MAX_DURATION_SEC, AI_AVATAR_RESERVE_IDS, AvatarPayloadError, CINEMATIC_DEFAULT_DURATION_SEC, CINEMATIC_DEFAULT_RESOLUTION, CINEMATIC_MAX_DURATION_SEC, CINEMATIC_MAX_LOOKS, CINEMATIC_MAX_REFERENCE_IMAGES, CINEMATIC_MAX_REFERENCE_VIDEOS, CINEMATIC_MIN_DURATION_SEC, CINEMATIC_MIN_LOOKS, CINEMATIC_PROMPT_MAX, CINEMATIC_RESERVE_IDS, CONTENT_IDEAS_BRAND_MAX, CONTENT_IDEAS_DEFAULT_COUNT, CONTENT_IDEAS_LANGUAGE_MAX, CONTENT_IDEAS_MAX_COUNT, CONTENT_IDEAS_MAX_RECIPE_INPUTS, CONTENT_IDEAS_PER_CHARGE, CONTENT_RECIPE_IDEAS_CREDIT_IDS, CONTENT_RECIPE_SOURCE_MAX, CREDIT_ROUNDING_RESOLUTION, DEFAULT_VIDEO_CLIP_COST, FILM_BASE_CREDITS, IMAGE_OVERLAY_BASE_CREDITS, IMAGE_OVERLAY_VARIANT_CREDITS, KEYFRAME_CREDITS_PER_SHOT, LIP_SYNC_DURATION_BUCKETS, LIP_SYNC_MAX_AUDIO_SECONDS, LTX_EXTEND_DURATION, LTX_EXTEND_PER_SECOND_CREDIT_ID, LTX_RETAKE_MIN_DURATION_SEC, LTX_RETAKE_PER_SECOND_CREDIT_ID, PAYG_RETENTION_DAYS, PITCH_TEMPO_LIMITS, PITCH_TEMPO_PRICING, SPEECH_FLOOR_UNITS, SPEECH_PRICE_UNIT_CHARS, SPEECH_UNIT_CREDIT_SUFFIX, SWITCHX_BLOCK_FRAMES, SWITCHX_FRAME_TIERS, TEXT_TO_AUDIO_PRICING, TEXT_TO_AUDIO_SFX_CREDIT_IDS, TOPAZ_DEFAULT_UPSCALE_FACTOR, TOPAZ_UPSCALE_FACTORS, VIDEO_ANALYSIS_BUCKET_CREDITS, VIDEO_ANALYSIS_BUCKET_GRACE_SEC, VIDEO_ANALYSIS_DURATION_BUCKETS, VIDEO_ANALYSIS_DURATION_TOLERANCE_SEC, VIDEO_ANALYSIS_MAX_DURATION_SEC, VIDEO_ANALYSIS_WINDOW, VIDEO_AUDIT_BUCKET_CREDITS, VIDEO_CLIP_CREDITS, VIDEO_CRITIC_CREDITS_PER_SHOT, VIDEO_SFX_PRICING, VIDEO_UTIL_PRICING, VOICE_CHANGER_PRO_QUOTE_RATE_ID, aiAvatarReserveCreditId, assembleNarratedVideoCredits, bucketSecondsFromAuditCreditId, bucketSecondsFromCreditId, buildLipSyncCreditId, buildVideoAnalysisCreditId, buildVideoAuditCreditId, calculateMonetizationMarkup, calculateMonetizedCost, cinematicCreditId, clampCinematicDuration, clampContentIdeasCount, contentIdeasCreditFeature, contentIdeasCreditId, contentRecipeCreditId, creditsToUsd, effectiveContentModel, estimateCombineVideosCredits, estimateFilmCredits, estimateLoopTrimAddonCredits, estimateLoopVideoCredits, estimateScriptDurationSec, estimateTrimVideoCredits, getLipSyncMaxAudioSeconds, imageOverlayBillableVariants, imageOverlayCredits, isPaygRetentionActive, isPerSecondLipSyncProvider, isSpeechLengthPriceId, ltxExtendDurationSec, ltxRetakeDurationSec, parsePitchTempoCreditId, parseSpeechQuoteCreditId, parseUnitQuoteCreditId, parseVoiceChangerProQuoteCreditId, pickAiAvatarBucket, pickLipSyncBucket, pickSwitchXFrameTier, pickVideoAnalysisBucket, pitchTempoBaseCredits, pitchTempoCreditId, pitchTempoQuoteCreditId, pitchTempoStartedMinutes, resolveAiAvatarCreditId, resolveCinematicCreditId, resolveEffectiveTier, resolveStoredTier, resolveSwitchXCreditId, resolveTopazUpscale, semitonesToPitchRatio, speechCredits, speechLengthPriceModel, speechPriceUnits, speechQuoteCreditId, speechUnitCreditId, textToAudioBilledSeconds, textToAudioCreditId, unitQuoteCreditId, usdToCredits, validateAiAvatarPayload, validateCinematicAvatarPayload, videoAnalysisCreditSegment, videoAnalysisNumWindows, videoAuditCreditsForBucket, videoSfxCreditId, videoSfxQuoteCreditId, voiceChangerProQuoteCreditId } from '../chunk-YVKUCBY2.js';
|
|
2
2
|
import '../chunk-5THUHJ3E.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
export { SPEAKER_VIEW_CREDIT_IDS, SPEAKER_VIEW_PRICE_TIERS, SUNO_SELECT_OPERATIONS, SUNO_VERSION_CREDIT_KEYS, SUNO_VERSION_PRICED_OPERATIONS, applyEdlCreditId, buildCreditModelIdentifier, buildMotionCreditModelIdentifier, buildVideoCreditModelIdentifier, imageGenAutoAspectNeedsSourceImage, normalizedImageGenModelId, pricedVideoSelection, resolveImageGenCreditIdentifier, resolveNormalizedImageGen, seedanceVideoEditCreditId, speakerViewCreditId, speedRampCreditId, sunoCreditType, videoGenerationCreditId } from '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-AZBIXGM5.js';
|
|
4
|
+
import '../chunk-DKTRVOU5.js';
|
|
5
|
+
import '../chunk-4XI6B4RU.js';
|
|
6
|
+
export { SPEAKER_VIEW_CREDIT_IDS, SPEAKER_VIEW_PRICE_TIERS, SUNO_SELECT_OPERATIONS, SUNO_VERSION_CREDIT_KEYS, SUNO_VERSION_PRICED_OPERATIONS, applyEdlCreditId, buildCreditModelIdentifier, buildMotionCreditModelIdentifier, buildVideoCreditModelIdentifier, imageGenAutoAspectNeedsSourceImage, normalizedImageGenModelId, pricedVideoSelection, resolveImageGenCreditIdentifier, resolveNormalizedImageGen, seedanceVideoEditCreditId, speakerViewCreditId, speedRampCreditId, sunoCreditType, videoGenerationCreditId } from '../chunk-JMUHMLJP.js';
|
|
7
|
+
import '../chunk-W4GABGRD.js';
|
|
8
|
+
import '../chunk-VRLRPGO7.js';
|
|
9
|
+
import '../chunk-ZG4XSEZV.js';
|
|
10
10
|
//# sourceMappingURL=credits.js.map
|
|
11
11
|
//# sourceMappingURL=credits.js.map
|
|
@@ -1,197 +1,209 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
require('../chunk-FG4E7MTG.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkM6JHRWVY_cjs = require('../chunk-M6JHRWVY.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "ADVANCED_MODE_UNAVAILABLE_REASON", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkM6JHRWVY_cjs.ADVANCED_MODE_UNAVAILABLE_REASON; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "DEFAULT_VIDEO_ANALYSIS_MODEL", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkM6JHRWVY_cjs.DEFAULT_VIDEO_ANALYSIS_MODEL; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "DEFAULT_VIDEO_ANALYSIS_TIER", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkM6JHRWVY_cjs.DEFAULT_VIDEO_ANALYSIS_TIER; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "DESCRIBE_TO_PICKER_FALLBACK_MODEL", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkM6JHRWVY_cjs.DESCRIBE_TO_PICKER_FALLBACK_MODEL; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "DESCRIBE_TO_PICKER_MODELS", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkM6JHRWVY_cjs.DESCRIBE_TO_PICKER_MODELS; }
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "DESCRIBE_TO_PICKER_WITHHELD_MODELS", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return chunkM6JHRWVY_cjs.DESCRIBE_TO_PICKER_WITHHELD_MODELS; }
|
|
23
31
|
});
|
|
24
32
|
Object.defineProperty(exports, "EFFORT_TIER_BUMP", {
|
|
25
33
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkM6JHRWVY_cjs.EFFORT_TIER_BUMP; }
|
|
27
35
|
});
|
|
28
36
|
Object.defineProperty(exports, "LLM_CREDIT_RUNGS", {
|
|
29
37
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkM6JHRWVY_cjs.LLM_CREDIT_RUNGS; }
|
|
31
39
|
});
|
|
32
40
|
Object.defineProperty(exports, "LLM_FEATURE_DEFAULTS", {
|
|
33
41
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkM6JHRWVY_cjs.LLM_FEATURE_DEFAULTS; }
|
|
35
43
|
});
|
|
36
44
|
Object.defineProperty(exports, "LLM_FEATURE_DEFAULT_EFFORTS", {
|
|
37
45
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkM6JHRWVY_cjs.LLM_FEATURE_DEFAULT_EFFORTS; }
|
|
39
47
|
});
|
|
40
48
|
Object.defineProperty(exports, "LLM_MODALITY_CAPS", {
|
|
41
49
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkM6JHRWVY_cjs.LLM_MODALITY_CAPS; }
|
|
43
51
|
});
|
|
44
52
|
Object.defineProperty(exports, "LLM_MODELS", {
|
|
45
53
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkM6JHRWVY_cjs.LLM_MODELS; }
|
|
47
55
|
});
|
|
48
56
|
Object.defineProperty(exports, "LLM_MODEL_IDS", {
|
|
49
57
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkM6JHRWVY_cjs.LLM_MODEL_IDS; }
|
|
51
59
|
});
|
|
52
60
|
Object.defineProperty(exports, "LLM_REASONING_EFFORTS", {
|
|
53
61
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkM6JHRWVY_cjs.LLM_REASONING_EFFORTS; }
|
|
55
63
|
});
|
|
56
64
|
Object.defineProperty(exports, "LLM_ROUTE_DEFAULTS", {
|
|
57
65
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkM6JHRWVY_cjs.LLM_ROUTE_DEFAULTS; }
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "LLM_STRUCTURED_WITHHELD_MODELS", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () { return chunkM6JHRWVY_cjs.LLM_STRUCTURED_WITHHELD_MODELS; }
|
|
59
71
|
});
|
|
60
72
|
Object.defineProperty(exports, "LLM_VENDOR_LABELS", {
|
|
61
73
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkM6JHRWVY_cjs.LLM_VENDOR_LABELS; }
|
|
63
75
|
});
|
|
64
76
|
Object.defineProperty(exports, "LLM_VENDOR_ORDER", {
|
|
65
77
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkM6JHRWVY_cjs.LLM_VENDOR_ORDER; }
|
|
67
79
|
});
|
|
68
80
|
Object.defineProperty(exports, "PICKABLE_LLM_MODELS", {
|
|
69
81
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkM6JHRWVY_cjs.PICKABLE_LLM_MODELS; }
|
|
71
83
|
});
|
|
72
84
|
Object.defineProperty(exports, "REASONING_OUTPUT_FLOOR", {
|
|
73
85
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkM6JHRWVY_cjs.REASONING_OUTPUT_FLOOR; }
|
|
75
87
|
});
|
|
76
88
|
Object.defineProperty(exports, "STRUCTURED_VISION_MODELS", {
|
|
77
89
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkM6JHRWVY_cjs.STRUCTURED_VISION_MODELS; }
|
|
79
91
|
});
|
|
80
92
|
Object.defineProperty(exports, "VIDEO_ANALYSIS_LEGACY_MODELS", {
|
|
81
93
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkM6JHRWVY_cjs.VIDEO_ANALYSIS_LEGACY_MODELS; }
|
|
83
95
|
});
|
|
84
96
|
Object.defineProperty(exports, "VIDEO_ANALYSIS_LLM_MODELS", {
|
|
85
97
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkM6JHRWVY_cjs.VIDEO_ANALYSIS_LLM_MODELS; }
|
|
87
99
|
});
|
|
88
100
|
Object.defineProperty(exports, "VIDEO_ANALYSIS_MIXED_TIERS", {
|
|
89
101
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkM6JHRWVY_cjs.VIDEO_ANALYSIS_MIXED_TIERS; }
|
|
91
103
|
});
|
|
92
104
|
Object.defineProperty(exports, "VIDEO_ANALYSIS_TIERS", {
|
|
93
105
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkM6JHRWVY_cjs.VIDEO_ANALYSIS_TIERS; }
|
|
95
107
|
});
|
|
96
108
|
Object.defineProperty(exports, "VIDEO_ANALYSIS_TIER_LABELS", {
|
|
97
109
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkM6JHRWVY_cjs.VIDEO_ANALYSIS_TIER_LABELS; }
|
|
99
111
|
});
|
|
100
112
|
Object.defineProperty(exports, "VIDEO_ANALYSIS_TIER_ORDER", {
|
|
101
113
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkM6JHRWVY_cjs.VIDEO_ANALYSIS_TIER_ORDER; }
|
|
103
115
|
});
|
|
104
116
|
Object.defineProperty(exports, "availableReasoningEfforts", {
|
|
105
117
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkM6JHRWVY_cjs.availableReasoningEfforts; }
|
|
107
119
|
});
|
|
108
120
|
Object.defineProperty(exports, "buildLlmCreditIdentifier", {
|
|
109
121
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkM6JHRWVY_cjs.buildLlmCreditIdentifier; }
|
|
111
123
|
});
|
|
112
124
|
Object.defineProperty(exports, "defaultReasoningEffort", {
|
|
113
125
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkM6JHRWVY_cjs.defaultReasoningEffort; }
|
|
115
127
|
});
|
|
116
128
|
Object.defineProperty(exports, "effectiveReasoningEffort", {
|
|
117
129
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkM6JHRWVY_cjs.effectiveReasoningEffort; }
|
|
119
131
|
});
|
|
120
132
|
Object.defineProperty(exports, "getLlmModalityCaps", {
|
|
121
133
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkM6JHRWVY_cjs.getLlmModalityCaps; }
|
|
123
135
|
});
|
|
124
136
|
Object.defineProperty(exports, "getLlmModel", {
|
|
125
137
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkM6JHRWVY_cjs.getLlmModel; }
|
|
127
139
|
});
|
|
128
140
|
Object.defineProperty(exports, "getLlmTier", {
|
|
129
141
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkM6JHRWVY_cjs.getLlmTier; }
|
|
131
143
|
});
|
|
132
144
|
Object.defineProperty(exports, "groupLlmModelsByVendor", {
|
|
133
145
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkM6JHRWVY_cjs.groupLlmModelsByVendor; }
|
|
135
147
|
});
|
|
136
148
|
Object.defineProperty(exports, "isLlmModelRetired", {
|
|
137
149
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkM6JHRWVY_cjs.isLlmModelRetired; }
|
|
139
151
|
});
|
|
140
152
|
Object.defineProperty(exports, "isVideoAnalysisMixedTier", {
|
|
141
153
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkM6JHRWVY_cjs.isVideoAnalysisMixedTier; }
|
|
143
155
|
});
|
|
144
156
|
Object.defineProperty(exports, "isVideoAnalysisTier", {
|
|
145
157
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkM6JHRWVY_cjs.isVideoAnalysisTier; }
|
|
147
159
|
});
|
|
148
160
|
Object.defineProperty(exports, "llmCreditIdForRung", {
|
|
149
161
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkM6JHRWVY_cjs.llmCreditIdForRung; }
|
|
151
163
|
});
|
|
152
164
|
Object.defineProperty(exports, "llmCreditRung", {
|
|
153
165
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunkM6JHRWVY_cjs.llmCreditRung; }
|
|
155
167
|
});
|
|
156
168
|
Object.defineProperty(exports, "llmRouteDefaults", {
|
|
157
169
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkM6JHRWVY_cjs.llmRouteDefaults; }
|
|
159
171
|
});
|
|
160
172
|
Object.defineProperty(exports, "llmServesDirect", {
|
|
161
173
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunkM6JHRWVY_cjs.llmServesDirect; }
|
|
163
175
|
});
|
|
164
176
|
Object.defineProperty(exports, "llmTierCreditIds", {
|
|
165
177
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunkM6JHRWVY_cjs.llmTierCreditIds; }
|
|
167
179
|
});
|
|
168
180
|
Object.defineProperty(exports, "motionGraphicsFeature", {
|
|
169
181
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
182
|
+
get: function () { return chunkM6JHRWVY_cjs.motionGraphicsFeature; }
|
|
171
183
|
});
|
|
172
184
|
Object.defineProperty(exports, "orderedLlmModels", {
|
|
173
185
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
186
|
+
get: function () { return chunkM6JHRWVY_cjs.orderedLlmModels; }
|
|
175
187
|
});
|
|
176
188
|
Object.defineProperty(exports, "pickableLlmModels", {
|
|
177
189
|
enumerable: true,
|
|
178
|
-
get: function () { return
|
|
190
|
+
get: function () { return chunkM6JHRWVY_cjs.pickableLlmModels; }
|
|
179
191
|
});
|
|
180
192
|
Object.defineProperty(exports, "reasoningOutputFloor", {
|
|
181
193
|
enumerable: true,
|
|
182
|
-
get: function () { return
|
|
194
|
+
get: function () { return chunkM6JHRWVY_cjs.reasoningOutputFloor; }
|
|
183
195
|
});
|
|
184
196
|
Object.defineProperty(exports, "resolveLlmCreditId", {
|
|
185
197
|
enumerable: true,
|
|
186
|
-
get: function () { return
|
|
198
|
+
get: function () { return chunkM6JHRWVY_cjs.resolveLlmCreditId; }
|
|
187
199
|
});
|
|
188
200
|
Object.defineProperty(exports, "resolveVideoAnalysisModel", {
|
|
189
201
|
enumerable: true,
|
|
190
|
-
get: function () { return
|
|
202
|
+
get: function () { return chunkM6JHRWVY_cjs.resolveVideoAnalysisModel; }
|
|
191
203
|
});
|
|
192
204
|
Object.defineProperty(exports, "supportsAdvancedMode", {
|
|
193
205
|
enumerable: true,
|
|
194
|
-
get: function () { return
|
|
206
|
+
get: function () { return chunkM6JHRWVY_cjs.supportsAdvancedMode; }
|
|
195
207
|
});
|
|
196
208
|
//# sourceMappingURL=llm-models.cjs.map
|
|
197
209
|
//# sourceMappingURL=llm-models.cjs.map
|
|
@@ -233,6 +233,32 @@ declare function pickableLlmModels(currentId?: string): LlmModelDef[];
|
|
|
233
233
|
* Single source of truth so the picker, the config panel, and the route gate
|
|
234
234
|
* can't drift. */
|
|
235
235
|
declare const STRUCTURED_VISION_MODELS: LlmModelDef[];
|
|
236
|
+
/**
|
|
237
|
+
* Models {@link STRUCTURED_VISION_MODELS} carries that describe-to-picker does
|
|
238
|
+
* NOT offer. Its analyzer prompt is a rendered catalog legend — tens of
|
|
239
|
+
* thousands of input tokens per read — and on these models a single read
|
|
240
|
+
* costs far above what any of the node's credit rungs covers (production cost
|
|
241
|
+
* audit, 2026-10-20; the basis is in backend/src/ee/billing/credits.ts).
|
|
242
|
+
* Withheld from this feature only: the scrapers' per-post analysis reads a
|
|
243
|
+
* frame and a caption, not a legend, and keeps the whole list.
|
|
244
|
+
*/
|
|
245
|
+
declare const DESCRIBE_TO_PICKER_WITHHELD_MODELS: ReadonlySet<string>;
|
|
246
|
+
/**
|
|
247
|
+
* The same models, withheld from the other legend-sized structured reads for
|
|
248
|
+
* the same reason: `POST /v1/text-to-picker` (describe-to-picker's text twin,
|
|
249
|
+
* whose default run analyzes every picker's legend) and `POST /v1/llm/structured`
|
|
250
|
+
* (a caller's own legend-sized system prompt). One set, so a model withheld
|
|
251
|
+
* from one read of that size is withheld from all of them.
|
|
252
|
+
*/
|
|
253
|
+
declare const LLM_STRUCTURED_WITHHELD_MODELS: ReadonlySet<string>;
|
|
254
|
+
/**
|
|
255
|
+
* The models describe-to-picker offers and accepts: the structured vision
|
|
256
|
+
* models minus {@link DESCRIBE_TO_PICKER_WITHHELD_MODELS}. The ONE list the
|
|
257
|
+
* route gate, the config panel and the quick strip read, so a model the route
|
|
258
|
+
* refuses is never offered and a saved node naming one is snapped to the
|
|
259
|
+
* default (the route answers it with a `validation_error`).
|
|
260
|
+
*/
|
|
261
|
+
declare const DESCRIBE_TO_PICKER_MODELS: LlmModelDef[];
|
|
236
262
|
/**
|
|
237
263
|
* Vendor presentation order + labels for model pickers. Every LlmVendor MUST
|
|
238
264
|
* appear in the order list (guarded by a registry test) so a new vendor can't
|
|
@@ -282,23 +308,28 @@ declare const LLM_FEATURE_DEFAULTS: Record<LlmFeature, string>;
|
|
|
282
308
|
*/
|
|
283
309
|
declare const DESCRIBE_TO_PICKER_FALLBACK_MODEL = "gemini-3.8-flash";
|
|
284
310
|
/**
|
|
285
|
-
* Feature → the reasoning effort
|
|
286
|
-
* sends none. Read it through
|
|
287
|
-
*
|
|
288
|
-
*
|
|
311
|
+
* Feature → ONE model with a recipe: the reasoning effort it runs at on that
|
|
312
|
+
* feature when the caller sends none. Read it through
|
|
313
|
+
* {@link defaultReasoningEffort}, never directly: the effort belongs to that
|
|
314
|
+
* model, so a call on any other model — the feature's default included, when
|
|
315
|
+
* it is a different model — must not pick it up.
|
|
289
316
|
*/
|
|
290
|
-
declare const LLM_FEATURE_DEFAULT_EFFORTS: Partial<Record<LlmFeature,
|
|
317
|
+
declare const LLM_FEATURE_DEFAULT_EFFORTS: Partial<Record<LlmFeature, {
|
|
318
|
+
model: string;
|
|
319
|
+
effort: LlmReasoningEffort;
|
|
320
|
+
}>>;
|
|
291
321
|
/**
|
|
292
322
|
* The reasoning effort a `feature` call runs at when the caller sends none:
|
|
293
|
-
* the
|
|
294
|
-
*
|
|
295
|
-
* (`undefined` / `""`)
|
|
296
|
-
*
|
|
323
|
+
* the recipe effort ({@link LLM_FEATURE_DEFAULT_EFFORTS}), but ONLY while the
|
|
324
|
+
* call runs on the recipe's model — named, or reached because the model was
|
|
325
|
+
* omitted (`undefined` / `""`) and it is the feature's default. A caller on
|
|
326
|
+
* any other model with no effort gets `undefined`: that model's Auto.
|
|
297
327
|
*
|
|
298
|
-
* WHY only on
|
|
299
|
-
*
|
|
300
|
-
*
|
|
301
|
-
*
|
|
328
|
+
* WHY only on that model: the effort is part of that model's recipe, not a
|
|
329
|
+
* feature policy. Forcing `high` on a Gemini or GPT call that never asked for
|
|
330
|
+
* it would change the timing of every existing workflow that picked one (and,
|
|
331
|
+
* on a Claude model, its lane and its bill) — which is also why the feature's
|
|
332
|
+
* default model gets it only when it IS the recipe's model.
|
|
302
333
|
*
|
|
303
334
|
* The one place the route, the node's credit badge and its effort pickers
|
|
304
335
|
* read, so what runs, what is billed and what is shown cannot disagree.
|
|
@@ -499,4 +530,4 @@ declare function isVideoAnalysisMixedTier(v: string): v is VideoAnalysisMixedTie
|
|
|
499
530
|
*/
|
|
500
531
|
declare function resolveVideoAnalysisModel(input?: string | null): string;
|
|
501
532
|
|
|
502
|
-
export { ADVANCED_MODE_UNAVAILABLE_REASON, DEFAULT_VIDEO_ANALYSIS_MODEL, DEFAULT_VIDEO_ANALYSIS_TIER, DESCRIBE_TO_PICKER_FALLBACK_MODEL, EFFORT_TIER_BUMP, type KieApiFormat, LLM_CREDIT_RUNGS, LLM_FEATURE_DEFAULTS, LLM_FEATURE_DEFAULT_EFFORTS, LLM_MODALITY_CAPS, LLM_MODELS, LLM_MODEL_IDS, LLM_REASONING_EFFORTS, LLM_ROUTE_DEFAULTS, 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, 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, llmRouteDefaults, llmServesDirect, llmTierCreditIds, motionGraphicsFeature, orderedLlmModels, pickableLlmModels, reasoningOutputFloor, resolveLlmCreditId, resolveVideoAnalysisModel, supportsAdvancedMode };
|
|
533
|
+
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_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, 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, llmRouteDefaults, llmServesDirect, llmTierCreditIds, motionGraphicsFeature, orderedLlmModels, pickableLlmModels, reasoningOutputFloor, resolveLlmCreditId, resolveVideoAnalysisModel, supportsAdvancedMode };
|
|
@@ -233,6 +233,32 @@ declare function pickableLlmModels(currentId?: string): LlmModelDef[];
|
|
|
233
233
|
* Single source of truth so the picker, the config panel, and the route gate
|
|
234
234
|
* can't drift. */
|
|
235
235
|
declare const STRUCTURED_VISION_MODELS: LlmModelDef[];
|
|
236
|
+
/**
|
|
237
|
+
* Models {@link STRUCTURED_VISION_MODELS} carries that describe-to-picker does
|
|
238
|
+
* NOT offer. Its analyzer prompt is a rendered catalog legend — tens of
|
|
239
|
+
* thousands of input tokens per read — and on these models a single read
|
|
240
|
+
* costs far above what any of the node's credit rungs covers (production cost
|
|
241
|
+
* audit, 2026-10-20; the basis is in backend/src/ee/billing/credits.ts).
|
|
242
|
+
* Withheld from this feature only: the scrapers' per-post analysis reads a
|
|
243
|
+
* frame and a caption, not a legend, and keeps the whole list.
|
|
244
|
+
*/
|
|
245
|
+
declare const DESCRIBE_TO_PICKER_WITHHELD_MODELS: ReadonlySet<string>;
|
|
246
|
+
/**
|
|
247
|
+
* The same models, withheld from the other legend-sized structured reads for
|
|
248
|
+
* the same reason: `POST /v1/text-to-picker` (describe-to-picker's text twin,
|
|
249
|
+
* whose default run analyzes every picker's legend) and `POST /v1/llm/structured`
|
|
250
|
+
* (a caller's own legend-sized system prompt). One set, so a model withheld
|
|
251
|
+
* from one read of that size is withheld from all of them.
|
|
252
|
+
*/
|
|
253
|
+
declare const LLM_STRUCTURED_WITHHELD_MODELS: ReadonlySet<string>;
|
|
254
|
+
/**
|
|
255
|
+
* The models describe-to-picker offers and accepts: the structured vision
|
|
256
|
+
* models minus {@link DESCRIBE_TO_PICKER_WITHHELD_MODELS}. The ONE list the
|
|
257
|
+
* route gate, the config panel and the quick strip read, so a model the route
|
|
258
|
+
* refuses is never offered and a saved node naming one is snapped to the
|
|
259
|
+
* default (the route answers it with a `validation_error`).
|
|
260
|
+
*/
|
|
261
|
+
declare const DESCRIBE_TO_PICKER_MODELS: LlmModelDef[];
|
|
236
262
|
/**
|
|
237
263
|
* Vendor presentation order + labels for model pickers. Every LlmVendor MUST
|
|
238
264
|
* appear in the order list (guarded by a registry test) so a new vendor can't
|
|
@@ -282,23 +308,28 @@ declare const LLM_FEATURE_DEFAULTS: Record<LlmFeature, string>;
|
|
|
282
308
|
*/
|
|
283
309
|
declare const DESCRIBE_TO_PICKER_FALLBACK_MODEL = "gemini-3.8-flash";
|
|
284
310
|
/**
|
|
285
|
-
* Feature → the reasoning effort
|
|
286
|
-
* sends none. Read it through
|
|
287
|
-
*
|
|
288
|
-
*
|
|
311
|
+
* Feature → ONE model with a recipe: the reasoning effort it runs at on that
|
|
312
|
+
* feature when the caller sends none. Read it through
|
|
313
|
+
* {@link defaultReasoningEffort}, never directly: the effort belongs to that
|
|
314
|
+
* model, so a call on any other model — the feature's default included, when
|
|
315
|
+
* it is a different model — must not pick it up.
|
|
289
316
|
*/
|
|
290
|
-
declare const LLM_FEATURE_DEFAULT_EFFORTS: Partial<Record<LlmFeature,
|
|
317
|
+
declare const LLM_FEATURE_DEFAULT_EFFORTS: Partial<Record<LlmFeature, {
|
|
318
|
+
model: string;
|
|
319
|
+
effort: LlmReasoningEffort;
|
|
320
|
+
}>>;
|
|
291
321
|
/**
|
|
292
322
|
* The reasoning effort a `feature` call runs at when the caller sends none:
|
|
293
|
-
* the
|
|
294
|
-
*
|
|
295
|
-
* (`undefined` / `""`)
|
|
296
|
-
*
|
|
323
|
+
* the recipe effort ({@link LLM_FEATURE_DEFAULT_EFFORTS}), but ONLY while the
|
|
324
|
+
* call runs on the recipe's model — named, or reached because the model was
|
|
325
|
+
* omitted (`undefined` / `""`) and it is the feature's default. A caller on
|
|
326
|
+
* any other model with no effort gets `undefined`: that model's Auto.
|
|
297
327
|
*
|
|
298
|
-
* WHY only on
|
|
299
|
-
*
|
|
300
|
-
*
|
|
301
|
-
*
|
|
328
|
+
* WHY only on that model: the effort is part of that model's recipe, not a
|
|
329
|
+
* feature policy. Forcing `high` on a Gemini or GPT call that never asked for
|
|
330
|
+
* it would change the timing of every existing workflow that picked one (and,
|
|
331
|
+
* on a Claude model, its lane and its bill) — which is also why the feature's
|
|
332
|
+
* default model gets it only when it IS the recipe's model.
|
|
302
333
|
*
|
|
303
334
|
* The one place the route, the node's credit badge and its effort pickers
|
|
304
335
|
* read, so what runs, what is billed and what is shown cannot disagree.
|
|
@@ -499,4 +530,4 @@ declare function isVideoAnalysisMixedTier(v: string): v is VideoAnalysisMixedTie
|
|
|
499
530
|
*/
|
|
500
531
|
declare function resolveVideoAnalysisModel(input?: string | null): string;
|
|
501
532
|
|
|
502
|
-
export { ADVANCED_MODE_UNAVAILABLE_REASON, DEFAULT_VIDEO_ANALYSIS_MODEL, DEFAULT_VIDEO_ANALYSIS_TIER, DESCRIBE_TO_PICKER_FALLBACK_MODEL, EFFORT_TIER_BUMP, type KieApiFormat, LLM_CREDIT_RUNGS, LLM_FEATURE_DEFAULTS, LLM_FEATURE_DEFAULT_EFFORTS, LLM_MODALITY_CAPS, LLM_MODELS, LLM_MODEL_IDS, LLM_REASONING_EFFORTS, LLM_ROUTE_DEFAULTS, 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, 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, llmRouteDefaults, llmServesDirect, llmTierCreditIds, motionGraphicsFeature, orderedLlmModels, pickableLlmModels, reasoningOutputFloor, resolveLlmCreditId, resolveVideoAnalysisModel, supportsAdvancedMode };
|
|
533
|
+
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_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, 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, llmRouteDefaults, llmServesDirect, llmTierCreditIds, motionGraphicsFeature, orderedLlmModels, pickableLlmModels, reasoningOutputFloor, resolveLlmCreditId, resolveVideoAnalysisModel, supportsAdvancedMode };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../chunk-TZE673G6.js';
|
|
2
|
-
export { ADVANCED_MODE_UNAVAILABLE_REASON, DEFAULT_VIDEO_ANALYSIS_MODEL, DEFAULT_VIDEO_ANALYSIS_TIER, DESCRIBE_TO_PICKER_FALLBACK_MODEL, EFFORT_TIER_BUMP, LLM_CREDIT_RUNGS, LLM_FEATURE_DEFAULTS, LLM_FEATURE_DEFAULT_EFFORTS, LLM_MODALITY_CAPS, LLM_MODELS, LLM_MODEL_IDS, LLM_REASONING_EFFORTS, LLM_ROUTE_DEFAULTS, 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, llmRouteDefaults, llmServesDirect, llmTierCreditIds, motionGraphicsFeature, orderedLlmModels, pickableLlmModels, reasoningOutputFloor, resolveLlmCreditId, resolveVideoAnalysisModel, supportsAdvancedMode } 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_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, llmRouteDefaults, llmServesDirect, llmTierCreditIds, motionGraphicsFeature, orderedLlmModels, pickableLlmModels, reasoningOutputFloor, resolveLlmCreditId, resolveVideoAnalysisModel, supportsAdvancedMode } from '../chunk-4XI6B4RU.js';
|
|
3
3
|
//# sourceMappingURL=llm-models.js.map
|
|
4
4
|
//# sourceMappingURL=llm-models.js.map
|