@nodaro/shared 3.36.0 → 3.38.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.
Files changed (144) hide show
  1. package/dist/{chunk-FKQJYMCO.js → chunk-2BHOAYZW.js} +38 -13
  2. package/dist/chunk-2BHOAYZW.js.map +1 -0
  3. package/dist/{chunk-BSQCKTXH.cjs → chunk-33QG2DOW.cjs} +6 -6
  4. package/dist/{chunk-BSQCKTXH.cjs.map → chunk-33QG2DOW.cjs.map} +1 -1
  5. package/dist/{chunk-NYMOHNYV.js → chunk-5OED47LE.js} +3 -3
  6. package/dist/{chunk-NYMOHNYV.js.map → chunk-5OED47LE.js.map} +1 -1
  7. package/dist/{chunk-GZH2SIOF.cjs → chunk-5PCI6M44.cjs} +18 -6
  8. package/dist/chunk-5PCI6M44.cjs.map +1 -0
  9. package/dist/chunk-6Q4BS6AR.js +158 -0
  10. package/dist/chunk-6Q4BS6AR.js.map +1 -0
  11. package/dist/{chunk-AXUW64ZY.js → chunk-7QITUDRT.js} +3 -3
  12. package/dist/{chunk-AXUW64ZY.js.map → chunk-7QITUDRT.js.map} +1 -1
  13. package/dist/{chunk-V3N56Z2S.cjs → chunk-7VDPBFER.cjs} +43 -12
  14. package/dist/chunk-7VDPBFER.cjs.map +1 -0
  15. package/dist/{chunk-LT5IJO4Y.cjs → chunk-AQA6YXY5.cjs} +39 -10
  16. package/dist/chunk-AQA6YXY5.cjs.map +1 -0
  17. package/dist/{chunk-7AB3AE5L.js → chunk-BDSFMY4X.js} +5 -18
  18. package/dist/chunk-BDSFMY4X.js.map +1 -0
  19. package/dist/chunk-BLZBDPZJ.js +16 -0
  20. package/dist/chunk-BLZBDPZJ.js.map +1 -0
  21. package/dist/{chunk-TCBHVIMD.js → chunk-CQJYKSXF.js} +18 -6
  22. package/dist/chunk-CQJYKSXF.js.map +1 -0
  23. package/dist/{chunk-AWWOQH46.cjs → chunk-D33YBZ3B.cjs} +170 -143
  24. package/dist/chunk-D33YBZ3B.cjs.map +1 -0
  25. package/dist/chunk-DBD4BCGH.cjs +169 -0
  26. package/dist/chunk-DBD4BCGH.cjs.map +1 -0
  27. package/dist/{chunk-7VQPHLZ5.cjs → chunk-ENFBA33M.cjs} +21 -21
  28. package/dist/{chunk-7VQPHLZ5.cjs.map → chunk-ENFBA33M.cjs.map} +1 -1
  29. package/dist/{chunk-BBLE4UTG.cjs → chunk-GLON7ANZ.cjs} +48 -15
  30. package/dist/chunk-GLON7ANZ.cjs.map +1 -0
  31. package/dist/{chunk-JSGIEF6Z.cjs → chunk-HSJU5KNR.cjs} +6 -3
  32. package/dist/chunk-HSJU5KNR.cjs.map +1 -0
  33. package/dist/{chunk-YN6AXDN5.cjs → chunk-HZ46RDLD.cjs} +9 -24
  34. package/dist/chunk-HZ46RDLD.cjs.map +1 -0
  35. package/dist/{chunk-NITAUX3A.cjs → chunk-JLKZEKQ3.cjs} +45 -28
  36. package/dist/chunk-JLKZEKQ3.cjs.map +1 -0
  37. package/dist/{chunk-WXNQMJ67.js → chunk-LOWOJN65.js} +100 -6
  38. package/dist/chunk-LOWOJN65.js.map +1 -0
  39. package/dist/chunk-M7G66F6H.js +17 -0
  40. package/dist/chunk-M7G66F6H.js.map +1 -0
  41. package/dist/chunk-PSAWDKO3.cjs +19 -0
  42. package/dist/chunk-PSAWDKO3.cjs.map +1 -0
  43. package/dist/{chunk-2HVFF5SS.js → chunk-QLCSS6DK.js} +165 -141
  44. package/dist/chunk-QLCSS6DK.js.map +1 -0
  45. package/dist/{chunk-ANOQWAMU.js → chunk-R6B2UDFR.js} +35 -5
  46. package/dist/chunk-R6B2UDFR.js.map +1 -0
  47. package/dist/chunk-T3TOSWVH.cjs +20 -0
  48. package/dist/chunk-T3TOSWVH.cjs.map +1 -0
  49. package/dist/{chunk-J65CAOUV.cjs → chunk-TGZJXCLL.cjs} +105 -5
  50. package/dist/chunk-TGZJXCLL.cjs.map +1 -0
  51. package/dist/{chunk-56VQ7V3V.js → chunk-THGNDVVH.js} +29 -4
  52. package/dist/chunk-THGNDVVH.js.map +1 -0
  53. package/dist/{chunk-XNISPHTZ.js → chunk-WPT5ZTA2.js} +6 -3
  54. package/dist/chunk-WPT5ZTA2.js.map +1 -0
  55. package/dist/{chunk-NTHRTRQK.js → chunk-XA53RUSD.js} +22 -6
  56. package/dist/chunk-XA53RUSD.js.map +1 -0
  57. package/dist/entries/apps.cjs +38 -38
  58. package/dist/entries/apps.js +3 -3
  59. package/dist/entries/credits.cjs +135 -134
  60. package/dist/entries/credits.js +3 -2
  61. package/dist/entries/llm-models.cjs +81 -49
  62. package/dist/entries/llm-models.d.cts +82 -14
  63. package/dist/entries/llm-models.d.ts +82 -14
  64. package/dist/entries/llm-models.js +2 -2
  65. package/dist/entries/media.cjs +66 -42
  66. package/dist/entries/media.d.cts +145 -4
  67. package/dist/entries/media.d.ts +145 -4
  68. package/dist/entries/media.js +1 -1
  69. package/dist/entries/models.cjs +84 -27
  70. package/dist/entries/models.d.cts +109 -3
  71. package/dist/entries/models.d.ts +109 -3
  72. package/dist/entries/models.js +3 -2
  73. package/dist/entries/nodes.cjs +204 -199
  74. package/dist/entries/nodes.d.cts +19 -2
  75. package/dist/entries/nodes.d.ts +19 -2
  76. package/dist/entries/nodes.js +5 -4
  77. package/dist/entries/pipeline.d.cts +2 -2
  78. package/dist/entries/pipeline.d.ts +2 -2
  79. package/dist/entries/social.cjs +187 -174
  80. package/dist/entries/social.d.cts +26 -1
  81. package/dist/entries/social.d.ts +26 -1
  82. package/dist/entries/social.js +3 -2
  83. package/dist/entries/workflow.cjs +157 -144
  84. package/dist/entries/workflow.d.cts +49 -1
  85. package/dist/entries/workflow.d.ts +49 -1
  86. package/dist/entries/workflow.js +4 -3
  87. package/dist/index.cjs +942 -800
  88. package/dist/index.d.cts +8 -7
  89. package/dist/index.d.ts +8 -7
  90. package/dist/index.js +14 -12
  91. package/dist/{scene-node-types-Cvbtf-0a.d.ts → model-constants-C43YS07I.d.cts} +1 -497
  92. package/dist/{scene-node-types-Cvbtf-0a.d.cts → model-constants-C43YS07I.d.ts} +1 -497
  93. package/dist/scene-node-types-BSrTKnV7.d.cts +499 -0
  94. package/dist/scene-node-types-BSrTKnV7.d.ts +499 -0
  95. package/package.json +1 -1
  96. package/src/__tests__/cast-swap-limits.test.ts +40 -0
  97. package/src/__tests__/fixtures/root-exports.baseline.json +6 -0
  98. package/src/__tests__/llm-models.test.ts +61 -18
  99. package/src/__tests__/llm-price-key.test.ts +55 -0
  100. package/src/__tests__/node-preset-extract.test.ts +10 -0
  101. package/src/__tests__/node-runtime-keys.test.ts +21 -2
  102. package/src/__tests__/render-output.test.ts +64 -0
  103. package/src/__tests__/schedule-retry.test.ts +35 -0
  104. package/src/__tests__/scrape-analysis-pricing.test.ts +41 -0
  105. package/src/__tests__/suno-separate.test.ts +78 -0
  106. package/src/__tests__/video-mask.test.ts +27 -0
  107. package/src/cast-swap-limits.ts +52 -0
  108. package/src/entries/llm-models.ts +7 -0
  109. package/src/entries/models.ts +26 -1
  110. package/src/entries/social.ts +1 -0
  111. package/src/entries/workflow.ts +6 -0
  112. package/src/generated/unit-contracts.ts +8 -2
  113. package/src/llm-models.ts +111 -23
  114. package/src/mask-composite.ts +80 -3
  115. package/src/node-preset-extract.ts +4 -0
  116. package/src/node-runtime-keys.ts +7 -0
  117. package/src/render-output.ts +36 -1
  118. package/src/schedule-retry.ts +71 -0
  119. package/src/scrape-analysis-pricing.ts +73 -0
  120. package/src/script-model.ts +21 -0
  121. package/src/suno-separate.ts +210 -0
  122. package/src/video-mask.ts +97 -0
  123. package/dist/chunk-2HVFF5SS.js.map +0 -1
  124. package/dist/chunk-56VQ7V3V.js.map +0 -1
  125. package/dist/chunk-7AB3AE5L.js.map +0 -1
  126. package/dist/chunk-ANOQWAMU.js.map +0 -1
  127. package/dist/chunk-AWWOQH46.cjs.map +0 -1
  128. package/dist/chunk-BBLE4UTG.cjs.map +0 -1
  129. package/dist/chunk-FG4E7MTG.cjs +0 -4
  130. package/dist/chunk-FG4E7MTG.cjs.map +0 -1
  131. package/dist/chunk-FKQJYMCO.js.map +0 -1
  132. package/dist/chunk-GZH2SIOF.cjs.map +0 -1
  133. package/dist/chunk-J65CAOUV.cjs.map +0 -1
  134. package/dist/chunk-JSGIEF6Z.cjs.map +0 -1
  135. package/dist/chunk-LT5IJO4Y.cjs.map +0 -1
  136. package/dist/chunk-NITAUX3A.cjs.map +0 -1
  137. package/dist/chunk-NTHRTRQK.js.map +0 -1
  138. package/dist/chunk-TCBHVIMD.js.map +0 -1
  139. package/dist/chunk-TZE673G6.js +0 -3
  140. package/dist/chunk-TZE673G6.js.map +0 -1
  141. package/dist/chunk-V3N56Z2S.cjs.map +0 -1
  142. package/dist/chunk-WXNQMJ67.js.map +0 -1
  143. package/dist/chunk-XNISPHTZ.js.map +0 -1
  144. package/dist/chunk-YN6AXDN5.cjs.map +0 -1
@@ -1,8 +1,9 @@
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-7AB3AE5L.js';
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, parseVoiceChangerProQuoteCreditId, pickAiAvatarBucket, pickLipSyncBucket, pickSwitchXFrameTier, pickVideoAnalysisBucket, pitchTempoBaseCredits, pitchTempoCreditId, pitchTempoQuoteCreditId, pitchTempoStartedMinutes, resolveAiAvatarCreditId, resolveCinematicCreditId, resolveEffectiveTier, resolveStoredTier, resolveSwitchXCreditId, resolveTopazUpscale, semitonesToPitchRatio, speechCredits, speechLengthPriceModel, speechPriceUnits, speechQuoteCreditId, speechUnitCreditId, textToAudioBilledSeconds, textToAudioCreditId, usdToCredits, validateAiAvatarPayload, validateCinematicAvatarPayload, videoAnalysisCreditSegment, videoAnalysisNumWindows, videoAuditCreditsForBucket, videoSfxCreditId, videoSfxQuoteCreditId, voiceChangerProQuoteCreditId } from '../chunk-BDSFMY4X.js';
2
+ export { parseUnitQuoteCreditId, unitQuoteCreditId } from '../chunk-M7G66F6H.js';
2
3
  import '../chunk-5THUHJ3E.js';
3
4
  import '../chunk-AZBIXGM5.js';
4
5
  import '../chunk-DKTRVOU5.js';
5
- import '../chunk-FKQJYMCO.js';
6
+ import '../chunk-2BHOAYZW.js';
6
7
  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
8
  import '../chunk-W4GABGRD.js';
8
9
  import '../chunk-VRLRPGO7.js';
@@ -1,197 +1,229 @@
1
1
  'use strict';
2
2
 
3
- require('../chunk-FG4E7MTG.cjs');
4
- var chunkV3N56Z2S_cjs = require('../chunk-V3N56Z2S.cjs');
3
+ var chunkPSAWDKO3_cjs = require('../chunk-PSAWDKO3.cjs');
4
+ var chunk7VDPBFER_cjs = require('../chunk-7VDPBFER.cjs');
5
5
 
6
6
 
7
7
 
8
+ Object.defineProperty(exports, "SCRIPT_LEGACY_PROVIDER_MODELS", {
9
+ enumerable: true,
10
+ get: function () { return chunkPSAWDKO3_cjs.SCRIPT_LEGACY_PROVIDER_MODELS; }
11
+ });
12
+ Object.defineProperty(exports, "resolveScriptModelId", {
13
+ enumerable: true,
14
+ get: function () { return chunkPSAWDKO3_cjs.resolveScriptModelId; }
15
+ });
8
16
  Object.defineProperty(exports, "ADVANCED_MODE_UNAVAILABLE_REASON", {
9
17
  enumerable: true,
10
- get: function () { return chunkV3N56Z2S_cjs.ADVANCED_MODE_UNAVAILABLE_REASON; }
18
+ get: function () { return chunk7VDPBFER_cjs.ADVANCED_MODE_UNAVAILABLE_REASON; }
11
19
  });
12
20
  Object.defineProperty(exports, "DEFAULT_VIDEO_ANALYSIS_MODEL", {
13
21
  enumerable: true,
14
- get: function () { return chunkV3N56Z2S_cjs.DEFAULT_VIDEO_ANALYSIS_MODEL; }
22
+ get: function () { return chunk7VDPBFER_cjs.DEFAULT_VIDEO_ANALYSIS_MODEL; }
15
23
  });
16
24
  Object.defineProperty(exports, "DEFAULT_VIDEO_ANALYSIS_TIER", {
17
25
  enumerable: true,
18
- get: function () { return chunkV3N56Z2S_cjs.DEFAULT_VIDEO_ANALYSIS_TIER; }
26
+ get: function () { return chunk7VDPBFER_cjs.DEFAULT_VIDEO_ANALYSIS_TIER; }
19
27
  });
20
28
  Object.defineProperty(exports, "DESCRIBE_TO_PICKER_FALLBACK_MODEL", {
21
29
  enumerable: true,
22
- get: function () { return chunkV3N56Z2S_cjs.DESCRIBE_TO_PICKER_FALLBACK_MODEL; }
30
+ get: function () { return chunk7VDPBFER_cjs.DESCRIBE_TO_PICKER_FALLBACK_MODEL; }
31
+ });
32
+ Object.defineProperty(exports, "DESCRIBE_TO_PICKER_MODELS", {
33
+ enumerable: true,
34
+ get: function () { return chunk7VDPBFER_cjs.DESCRIBE_TO_PICKER_MODELS; }
35
+ });
36
+ Object.defineProperty(exports, "DESCRIBE_TO_PICKER_WITHHELD_MODELS", {
37
+ enumerable: true,
38
+ get: function () { return chunk7VDPBFER_cjs.DESCRIBE_TO_PICKER_WITHHELD_MODELS; }
23
39
  });
24
40
  Object.defineProperty(exports, "EFFORT_TIER_BUMP", {
25
41
  enumerable: true,
26
- get: function () { return chunkV3N56Z2S_cjs.EFFORT_TIER_BUMP; }
42
+ get: function () { return chunk7VDPBFER_cjs.EFFORT_TIER_BUMP; }
27
43
  });
28
44
  Object.defineProperty(exports, "LLM_CREDIT_RUNGS", {
29
45
  enumerable: true,
30
- get: function () { return chunkV3N56Z2S_cjs.LLM_CREDIT_RUNGS; }
46
+ get: function () { return chunk7VDPBFER_cjs.LLM_CREDIT_RUNGS; }
31
47
  });
32
48
  Object.defineProperty(exports, "LLM_FEATURE_DEFAULTS", {
33
49
  enumerable: true,
34
- get: function () { return chunkV3N56Z2S_cjs.LLM_FEATURE_DEFAULTS; }
50
+ get: function () { return chunk7VDPBFER_cjs.LLM_FEATURE_DEFAULTS; }
51
+ });
52
+ Object.defineProperty(exports, "LLM_FEATURE_DEFAULTS_FROM", {
53
+ enumerable: true,
54
+ get: function () { return chunk7VDPBFER_cjs.LLM_FEATURE_DEFAULTS_FROM; }
35
55
  });
36
56
  Object.defineProperty(exports, "LLM_FEATURE_DEFAULT_EFFORTS", {
37
57
  enumerable: true,
38
- get: function () { return chunkV3N56Z2S_cjs.LLM_FEATURE_DEFAULT_EFFORTS; }
58
+ get: function () { return chunk7VDPBFER_cjs.LLM_FEATURE_DEFAULT_EFFORTS; }
39
59
  });
40
60
  Object.defineProperty(exports, "LLM_MODALITY_CAPS", {
41
61
  enumerable: true,
42
- get: function () { return chunkV3N56Z2S_cjs.LLM_MODALITY_CAPS; }
62
+ get: function () { return chunk7VDPBFER_cjs.LLM_MODALITY_CAPS; }
43
63
  });
44
64
  Object.defineProperty(exports, "LLM_MODELS", {
45
65
  enumerable: true,
46
- get: function () { return chunkV3N56Z2S_cjs.LLM_MODELS; }
66
+ get: function () { return chunk7VDPBFER_cjs.LLM_MODELS; }
47
67
  });
48
68
  Object.defineProperty(exports, "LLM_MODEL_IDS", {
49
69
  enumerable: true,
50
- get: function () { return chunkV3N56Z2S_cjs.LLM_MODEL_IDS; }
70
+ get: function () { return chunk7VDPBFER_cjs.LLM_MODEL_IDS; }
51
71
  });
52
72
  Object.defineProperty(exports, "LLM_REASONING_EFFORTS", {
53
73
  enumerable: true,
54
- get: function () { return chunkV3N56Z2S_cjs.LLM_REASONING_EFFORTS; }
74
+ get: function () { return chunk7VDPBFER_cjs.LLM_REASONING_EFFORTS; }
55
75
  });
56
76
  Object.defineProperty(exports, "LLM_ROUTE_DEFAULTS", {
57
77
  enumerable: true,
58
- get: function () { return chunkV3N56Z2S_cjs.LLM_ROUTE_DEFAULTS; }
78
+ get: function () { return chunk7VDPBFER_cjs.LLM_ROUTE_DEFAULTS; }
79
+ });
80
+ Object.defineProperty(exports, "LLM_STRUCTURED_WITHHELD_MODELS", {
81
+ enumerable: true,
82
+ get: function () { return chunk7VDPBFER_cjs.LLM_STRUCTURED_WITHHELD_MODELS; }
59
83
  });
60
84
  Object.defineProperty(exports, "LLM_VENDOR_LABELS", {
61
85
  enumerable: true,
62
- get: function () { return chunkV3N56Z2S_cjs.LLM_VENDOR_LABELS; }
86
+ get: function () { return chunk7VDPBFER_cjs.LLM_VENDOR_LABELS; }
63
87
  });
64
88
  Object.defineProperty(exports, "LLM_VENDOR_ORDER", {
65
89
  enumerable: true,
66
- get: function () { return chunkV3N56Z2S_cjs.LLM_VENDOR_ORDER; }
90
+ get: function () { return chunk7VDPBFER_cjs.LLM_VENDOR_ORDER; }
67
91
  });
68
92
  Object.defineProperty(exports, "PICKABLE_LLM_MODELS", {
69
93
  enumerable: true,
70
- get: function () { return chunkV3N56Z2S_cjs.PICKABLE_LLM_MODELS; }
94
+ get: function () { return chunk7VDPBFER_cjs.PICKABLE_LLM_MODELS; }
71
95
  });
72
96
  Object.defineProperty(exports, "REASONING_OUTPUT_FLOOR", {
73
97
  enumerable: true,
74
- get: function () { return chunkV3N56Z2S_cjs.REASONING_OUTPUT_FLOOR; }
98
+ get: function () { return chunk7VDPBFER_cjs.REASONING_OUTPUT_FLOOR; }
75
99
  });
76
100
  Object.defineProperty(exports, "STRUCTURED_VISION_MODELS", {
77
101
  enumerable: true,
78
- get: function () { return chunkV3N56Z2S_cjs.STRUCTURED_VISION_MODELS; }
102
+ get: function () { return chunk7VDPBFER_cjs.STRUCTURED_VISION_MODELS; }
79
103
  });
80
104
  Object.defineProperty(exports, "VIDEO_ANALYSIS_LEGACY_MODELS", {
81
105
  enumerable: true,
82
- get: function () { return chunkV3N56Z2S_cjs.VIDEO_ANALYSIS_LEGACY_MODELS; }
106
+ get: function () { return chunk7VDPBFER_cjs.VIDEO_ANALYSIS_LEGACY_MODELS; }
83
107
  });
84
108
  Object.defineProperty(exports, "VIDEO_ANALYSIS_LLM_MODELS", {
85
109
  enumerable: true,
86
- get: function () { return chunkV3N56Z2S_cjs.VIDEO_ANALYSIS_LLM_MODELS; }
110
+ get: function () { return chunk7VDPBFER_cjs.VIDEO_ANALYSIS_LLM_MODELS; }
87
111
  });
88
112
  Object.defineProperty(exports, "VIDEO_ANALYSIS_MIXED_TIERS", {
89
113
  enumerable: true,
90
- get: function () { return chunkV3N56Z2S_cjs.VIDEO_ANALYSIS_MIXED_TIERS; }
114
+ get: function () { return chunk7VDPBFER_cjs.VIDEO_ANALYSIS_MIXED_TIERS; }
91
115
  });
92
116
  Object.defineProperty(exports, "VIDEO_ANALYSIS_TIERS", {
93
117
  enumerable: true,
94
- get: function () { return chunkV3N56Z2S_cjs.VIDEO_ANALYSIS_TIERS; }
118
+ get: function () { return chunk7VDPBFER_cjs.VIDEO_ANALYSIS_TIERS; }
95
119
  });
96
120
  Object.defineProperty(exports, "VIDEO_ANALYSIS_TIER_LABELS", {
97
121
  enumerable: true,
98
- get: function () { return chunkV3N56Z2S_cjs.VIDEO_ANALYSIS_TIER_LABELS; }
122
+ get: function () { return chunk7VDPBFER_cjs.VIDEO_ANALYSIS_TIER_LABELS; }
99
123
  });
100
124
  Object.defineProperty(exports, "VIDEO_ANALYSIS_TIER_ORDER", {
101
125
  enumerable: true,
102
- get: function () { return chunkV3N56Z2S_cjs.VIDEO_ANALYSIS_TIER_ORDER; }
126
+ get: function () { return chunk7VDPBFER_cjs.VIDEO_ANALYSIS_TIER_ORDER; }
103
127
  });
104
128
  Object.defineProperty(exports, "availableReasoningEfforts", {
105
129
  enumerable: true,
106
- get: function () { return chunkV3N56Z2S_cjs.availableReasoningEfforts; }
130
+ get: function () { return chunk7VDPBFER_cjs.availableReasoningEfforts; }
107
131
  });
108
132
  Object.defineProperty(exports, "buildLlmCreditIdentifier", {
109
133
  enumerable: true,
110
- get: function () { return chunkV3N56Z2S_cjs.buildLlmCreditIdentifier; }
134
+ get: function () { return chunk7VDPBFER_cjs.buildLlmCreditIdentifier; }
111
135
  });
112
136
  Object.defineProperty(exports, "defaultReasoningEffort", {
113
137
  enumerable: true,
114
- get: function () { return chunkV3N56Z2S_cjs.defaultReasoningEffort; }
138
+ get: function () { return chunk7VDPBFER_cjs.defaultReasoningEffort; }
115
139
  });
116
140
  Object.defineProperty(exports, "effectiveReasoningEffort", {
117
141
  enumerable: true,
118
- get: function () { return chunkV3N56Z2S_cjs.effectiveReasoningEffort; }
142
+ get: function () { return chunk7VDPBFER_cjs.effectiveReasoningEffort; }
119
143
  });
120
144
  Object.defineProperty(exports, "getLlmModalityCaps", {
121
145
  enumerable: true,
122
- get: function () { return chunkV3N56Z2S_cjs.getLlmModalityCaps; }
146
+ get: function () { return chunk7VDPBFER_cjs.getLlmModalityCaps; }
123
147
  });
124
148
  Object.defineProperty(exports, "getLlmModel", {
125
149
  enumerable: true,
126
- get: function () { return chunkV3N56Z2S_cjs.getLlmModel; }
150
+ get: function () { return chunk7VDPBFER_cjs.getLlmModel; }
127
151
  });
128
152
  Object.defineProperty(exports, "getLlmTier", {
129
153
  enumerable: true,
130
- get: function () { return chunkV3N56Z2S_cjs.getLlmTier; }
154
+ get: function () { return chunk7VDPBFER_cjs.getLlmTier; }
131
155
  });
132
156
  Object.defineProperty(exports, "groupLlmModelsByVendor", {
133
157
  enumerable: true,
134
- get: function () { return chunkV3N56Z2S_cjs.groupLlmModelsByVendor; }
158
+ get: function () { return chunk7VDPBFER_cjs.groupLlmModelsByVendor; }
135
159
  });
136
160
  Object.defineProperty(exports, "isLlmModelRetired", {
137
161
  enumerable: true,
138
- get: function () { return chunkV3N56Z2S_cjs.isLlmModelRetired; }
162
+ get: function () { return chunk7VDPBFER_cjs.isLlmModelRetired; }
139
163
  });
140
164
  Object.defineProperty(exports, "isVideoAnalysisMixedTier", {
141
165
  enumerable: true,
142
- get: function () { return chunkV3N56Z2S_cjs.isVideoAnalysisMixedTier; }
166
+ get: function () { return chunk7VDPBFER_cjs.isVideoAnalysisMixedTier; }
143
167
  });
144
168
  Object.defineProperty(exports, "isVideoAnalysisTier", {
145
169
  enumerable: true,
146
- get: function () { return chunkV3N56Z2S_cjs.isVideoAnalysisTier; }
170
+ get: function () { return chunk7VDPBFER_cjs.isVideoAnalysisTier; }
147
171
  });
148
172
  Object.defineProperty(exports, "llmCreditIdForRung", {
149
173
  enumerable: true,
150
- get: function () { return chunkV3N56Z2S_cjs.llmCreditIdForRung; }
174
+ get: function () { return chunk7VDPBFER_cjs.llmCreditIdForRung; }
151
175
  });
152
176
  Object.defineProperty(exports, "llmCreditRung", {
153
177
  enumerable: true,
154
- get: function () { return chunkV3N56Z2S_cjs.llmCreditRung; }
178
+ get: function () { return chunk7VDPBFER_cjs.llmCreditRung; }
179
+ });
180
+ Object.defineProperty(exports, "llmDefaultsFeature", {
181
+ enumerable: true,
182
+ get: function () { return chunk7VDPBFER_cjs.llmDefaultsFeature; }
183
+ });
184
+ Object.defineProperty(exports, "llmPriceKey", {
185
+ enumerable: true,
186
+ get: function () { return chunk7VDPBFER_cjs.llmPriceKey; }
155
187
  });
156
188
  Object.defineProperty(exports, "llmRouteDefaults", {
157
189
  enumerable: true,
158
- get: function () { return chunkV3N56Z2S_cjs.llmRouteDefaults; }
190
+ get: function () { return chunk7VDPBFER_cjs.llmRouteDefaults; }
159
191
  });
160
192
  Object.defineProperty(exports, "llmServesDirect", {
161
193
  enumerable: true,
162
- get: function () { return chunkV3N56Z2S_cjs.llmServesDirect; }
194
+ get: function () { return chunk7VDPBFER_cjs.llmServesDirect; }
163
195
  });
164
196
  Object.defineProperty(exports, "llmTierCreditIds", {
165
197
  enumerable: true,
166
- get: function () { return chunkV3N56Z2S_cjs.llmTierCreditIds; }
198
+ get: function () { return chunk7VDPBFER_cjs.llmTierCreditIds; }
167
199
  });
168
200
  Object.defineProperty(exports, "motionGraphicsFeature", {
169
201
  enumerable: true,
170
- get: function () { return chunkV3N56Z2S_cjs.motionGraphicsFeature; }
202
+ get: function () { return chunk7VDPBFER_cjs.motionGraphicsFeature; }
171
203
  });
172
204
  Object.defineProperty(exports, "orderedLlmModels", {
173
205
  enumerable: true,
174
- get: function () { return chunkV3N56Z2S_cjs.orderedLlmModels; }
206
+ get: function () { return chunk7VDPBFER_cjs.orderedLlmModels; }
175
207
  });
176
208
  Object.defineProperty(exports, "pickableLlmModels", {
177
209
  enumerable: true,
178
- get: function () { return chunkV3N56Z2S_cjs.pickableLlmModels; }
210
+ get: function () { return chunk7VDPBFER_cjs.pickableLlmModels; }
179
211
  });
180
212
  Object.defineProperty(exports, "reasoningOutputFloor", {
181
213
  enumerable: true,
182
- get: function () { return chunkV3N56Z2S_cjs.reasoningOutputFloor; }
214
+ get: function () { return chunk7VDPBFER_cjs.reasoningOutputFloor; }
183
215
  });
184
216
  Object.defineProperty(exports, "resolveLlmCreditId", {
185
217
  enumerable: true,
186
- get: function () { return chunkV3N56Z2S_cjs.resolveLlmCreditId; }
218
+ get: function () { return chunk7VDPBFER_cjs.resolveLlmCreditId; }
187
219
  });
188
220
  Object.defineProperty(exports, "resolveVideoAnalysisModel", {
189
221
  enumerable: true,
190
- get: function () { return chunkV3N56Z2S_cjs.resolveVideoAnalysisModel; }
222
+ get: function () { return chunk7VDPBFER_cjs.resolveVideoAnalysisModel; }
191
223
  });
192
224
  Object.defineProperty(exports, "supportsAdvancedMode", {
193
225
  enumerable: true,
194
- get: function () { return chunkV3N56Z2S_cjs.supportsAdvancedMode; }
226
+ get: function () { return chunk7VDPBFER_cjs.supportsAdvancedMode; }
195
227
  });
196
228
  //# sourceMappingURL=llm-models.cjs.map
197
229
  //# sourceMappingURL=llm-models.cjs.map
@@ -1,3 +1,6 @@
1
+ import { b7 as ScriptProvider } from '../model-constants-C43YS07I.cjs';
2
+ import 'zod';
3
+
1
4
  /**
2
5
  * LLM Model Registry — shared between frontend and backend.
3
6
  *
@@ -233,6 +236,35 @@ declare function pickableLlmModels(currentId?: string): LlmModelDef[];
233
236
  * Single source of truth so the picker, the config panel, and the route gate
234
237
  * can't drift. */
235
238
  declare const STRUCTURED_VISION_MODELS: LlmModelDef[];
239
+ /**
240
+ * Models {@link STRUCTURED_VISION_MODELS} carries that describe-to-picker does
241
+ * NOT offer — now none.
242
+ *
243
+ * Claude Fable 5 was withheld here (production cost audit, 2026-10-20): a
244
+ * legend-sized read cost far above every tier rung. Metered pricing charges
245
+ * each read what it really costs (tokens × the model's rate on the lane that
246
+ * served it), so nothing needs withholding and the set is empty.
247
+ *
248
+ * @deprecated Always empty since metered LLM pricing. Kept exported so existing
249
+ * importers keep compiling; it will be removed in a future major.
250
+ */
251
+ declare const DESCRIBE_TO_PICKER_WITHHELD_MODELS: ReadonlySet<string>;
252
+ /**
253
+ * The same (empty) set for the other legend-sized structured reads:
254
+ * `POST /v1/text-to-picker` and `POST /v1/llm/structured`.
255
+ *
256
+ * @deprecated Always empty since metered LLM pricing; see
257
+ * {@link DESCRIBE_TO_PICKER_WITHHELD_MODELS}.
258
+ */
259
+ declare const LLM_STRUCTURED_WITHHELD_MODELS: ReadonlySet<string>;
260
+ /**
261
+ * The models describe-to-picker offers and accepts: the structured vision
262
+ * models minus {@link DESCRIBE_TO_PICKER_WITHHELD_MODELS} (empty — every one). The ONE list the
263
+ * route gate, the config panel and the quick strip read, so a model the route
264
+ * refuses is never offered and a saved node naming one is snapped to the
265
+ * default (the route answers it with a `validation_error`).
266
+ */
267
+ declare const DESCRIBE_TO_PICKER_MODELS: LlmModelDef[];
236
268
  /**
237
269
  * Vendor presentation order + labels for model pickers. Every LlmVendor MUST
238
270
  * appear in the order list (guarded by a registry test) so a new vendor can't
@@ -267,6 +299,16 @@ type LlmFeature = "ai-writer" | "llm-chat" | "prompt-helper" | "scene-graph-ai"
267
299
  declare function motionGraphicsFeature(engine?: string): LlmFeature;
268
300
  /** Feature → default model when user hasn't selected one */
269
301
  declare const LLM_FEATURE_DEFAULTS: Record<LlmFeature, string>;
302
+ /**
303
+ * Billed features with no defaults of their own → the feature whose defaults
304
+ * (model, {@link LLM_FEATURE_DEFAULT_EFFORTS} effort) their route borrows:
305
+ * Generate Structured runs on Generate Text's, Text to Picker on Describe to
306
+ * Picker's, the Choose Best judge on `pick-best-llm`'s. Read it through
307
+ * {@link llmDefaultsFeature}. Structure only — no prices.
308
+ */
309
+ declare const LLM_FEATURE_DEFAULTS_FROM: Readonly<Record<string, LlmFeature>>;
310
+ /** The feature whose defaults a call of `feature` runs with: its {@link LLM_FEATURE_DEFAULTS_FROM} entry, else itself. */
311
+ declare function llmDefaultsFeature(feature: string): string;
270
312
  /**
271
313
  * The model describe-to-picker re-asks ONCE when a Claude analyzer could not
272
314
  * answer for a platform-side reason: its direct lane down or the platform's
@@ -282,23 +324,28 @@ declare const LLM_FEATURE_DEFAULTS: Record<LlmFeature, string>;
282
324
  */
283
325
  declare const DESCRIBE_TO_PICKER_FALLBACK_MODEL = "gemini-3.8-flash";
284
326
  /**
285
- * Feature → the reasoning effort its DEFAULT model runs at when the caller
286
- * sends none. Read it through {@link defaultReasoningEffort}, never directly:
287
- * the effort belongs to the default model, so a call on any other model must
288
- * not pick it up.
327
+ * Feature → ONE model with a recipe: the reasoning effort it runs at on that
328
+ * feature when the caller sends none. Read it through
329
+ * {@link defaultReasoningEffort}, never directly: the effort belongs to that
330
+ * model, so a call on any other model — the feature's default included, when
331
+ * it is a different model — must not pick it up.
289
332
  */
290
- declare const LLM_FEATURE_DEFAULT_EFFORTS: Partial<Record<LlmFeature, LlmReasoningEffort>>;
333
+ declare const LLM_FEATURE_DEFAULT_EFFORTS: Partial<Record<LlmFeature, {
334
+ model: string;
335
+ effort: LlmReasoningEffort;
336
+ }>>;
291
337
  /**
292
338
  * The reasoning effort a `feature` call runs at when the caller sends none:
293
- * the feature's default effort ({@link LLM_FEATURE_DEFAULT_EFFORTS}), but ONLY
294
- * while the call runs on the feature's default model — named, or omitted
295
- * (`undefined` / `""`) so the default model applies. A caller who picked
296
- * another model and no effort gets `undefined`: that model's Auto, as before.
339
+ * the recipe effort ({@link LLM_FEATURE_DEFAULT_EFFORTS}), but ONLY while the
340
+ * call runs on the recipe's model — named, or reached because the model was
341
+ * omitted (`undefined` / `""`) and it is the feature's default. A caller on
342
+ * any other model with no effort gets `undefined`: that model's Auto.
297
343
  *
298
- * WHY only on the default model: the default effort is part of the default
299
- * model's recipe, not a global policy. Forcing `high` on a Gemini or GPT call
300
- * that never asked for it would change the timing of every existing workflow
301
- * that picked one (and, on a Claude model, its lane and its bill).
344
+ * WHY only on that model: the effort is part of that model's recipe, not a
345
+ * feature policy. Forcing `high` on a Gemini or GPT call that never asked for
346
+ * it would change the timing of every existing workflow that picked one (and,
347
+ * on a Claude model, its lane and its bill) — which is also why the feature's
348
+ * default model gets it only when it IS the recipe's model.
302
349
  *
303
350
  * The one place the route, the node's credit badge and its effort pickers
304
351
  * read, so what runs, what is billed and what is shown cannot disagree.
@@ -398,6 +445,23 @@ declare const ADVANCED_MODE_UNAVAILABLE_REASON = "Advanced mode is available on
398
445
  * `advancedMode` on a model with no direct lane, like the bump always has.
399
446
  */
400
447
  declare function llmServesDirect(modelId: string | undefined, reasoningEffort?: string, advancedMode?: boolean): boolean;
448
+ /**
449
+ * The price key of a metered LLM call — what a client asks
450
+ * `POST /v1/credits/model-costs` (or `GET /v1/credits/model-cost?model=`) for
451
+ * the call's estimated price: `<feature>:<modelId>`, plus `:direct` when the
452
+ * call is served on the vendor's own API ({@link llmServesDirect}), which is
453
+ * priced at the direct rate.
454
+ *
455
+ * With no `reasoningEffort` the default effort of the feature the call
456
+ * borrows its defaults from applies ({@link llmDefaultsFeature},
457
+ * {@link defaultReasoningEffort}) — the effort the call then runs at — so the
458
+ * key names the lane the call is held and charged on.
459
+ *
460
+ * `modelId` must already be resolved: the model the call runs on, never empty
461
+ * (a caller with no model passes the feature's default, `LLM_FEATURE_DEFAULTS`
462
+ * of {@link llmDefaultsFeature}). An empty id throws a `TypeError`.
463
+ */
464
+ declare function llmPriceKey(feature: string, modelId: string, reasoningEffort?: string, advancedMode?: boolean): string;
401
465
  /**
402
466
  * The credit rungs an LLM feature bills on, cheapest first. `premium-direct` is
403
467
  * reached only by a premium model served direct (decided 2026-10-08): the bump
@@ -499,4 +563,8 @@ declare function isVideoAnalysisMixedTier(v: string): v is VideoAnalysisMixedTie
499
563
  */
500
564
  declare function resolveVideoAnalysisModel(input?: string | null): string;
501
565
 
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 };
566
+ /** Legacy provider names → the LLM model ids they ran. */
567
+ declare const SCRIPT_LEGACY_PROVIDER_MODELS: Readonly<Record<ScriptProvider, string>>;
568
+ declare function resolveScriptModelId(provider?: string, llmModel?: string): string;
569
+
570
+ export { ADVANCED_MODE_UNAVAILABLE_REASON, DEFAULT_VIDEO_ANALYSIS_MODEL, DEFAULT_VIDEO_ANALYSIS_TIER, DESCRIBE_TO_PICKER_FALLBACK_MODEL, DESCRIBE_TO_PICKER_MODELS, DESCRIBE_TO_PICKER_WITHHELD_MODELS, EFFORT_TIER_BUMP, type KieApiFormat, LLM_CREDIT_RUNGS, LLM_FEATURE_DEFAULTS, LLM_FEATURE_DEFAULTS_FROM, LLM_FEATURE_DEFAULT_EFFORTS, LLM_MODALITY_CAPS, LLM_MODELS, LLM_MODEL_IDS, LLM_REASONING_EFFORTS, LLM_ROUTE_DEFAULTS, LLM_STRUCTURED_WITHHELD_MODELS, LLM_VENDOR_LABELS, LLM_VENDOR_ORDER, type LlmCreditRung, type LlmFeature, type LlmModelDef, type LlmModelGroup, type LlmReasoningEffort, type LlmRouteDefaults, type LlmTier, type LlmVendor, PICKABLE_LLM_MODELS, REASONING_OUTPUT_FLOOR, SCRIPT_LEGACY_PROVIDER_MODELS, STRUCTURED_VISION_MODELS, VIDEO_ANALYSIS_LEGACY_MODELS, VIDEO_ANALYSIS_LLM_MODELS, VIDEO_ANALYSIS_MIXED_TIERS, VIDEO_ANALYSIS_TIERS, VIDEO_ANALYSIS_TIER_LABELS, VIDEO_ANALYSIS_TIER_ORDER, type VideoAnalysisMixedTier, type VideoAnalysisModelTier, type VideoAnalysisTier, availableReasoningEfforts, buildLlmCreditIdentifier, defaultReasoningEffort, effectiveReasoningEffort, getLlmModalityCaps, getLlmModel, getLlmTier, groupLlmModelsByVendor, isLlmModelRetired, isVideoAnalysisMixedTier, isVideoAnalysisTier, llmCreditIdForRung, llmCreditRung, llmDefaultsFeature, llmPriceKey, llmRouteDefaults, llmServesDirect, llmTierCreditIds, motionGraphicsFeature, orderedLlmModels, pickableLlmModels, reasoningOutputFloor, resolveLlmCreditId, resolveScriptModelId, resolveVideoAnalysisModel, supportsAdvancedMode };
@@ -1,3 +1,6 @@
1
+ import { b7 as ScriptProvider } from '../model-constants-C43YS07I.js';
2
+ import 'zod';
3
+
1
4
  /**
2
5
  * LLM Model Registry — shared between frontend and backend.
3
6
  *
@@ -233,6 +236,35 @@ declare function pickableLlmModels(currentId?: string): LlmModelDef[];
233
236
  * Single source of truth so the picker, the config panel, and the route gate
234
237
  * can't drift. */
235
238
  declare const STRUCTURED_VISION_MODELS: LlmModelDef[];
239
+ /**
240
+ * Models {@link STRUCTURED_VISION_MODELS} carries that describe-to-picker does
241
+ * NOT offer — now none.
242
+ *
243
+ * Claude Fable 5 was withheld here (production cost audit, 2026-10-20): a
244
+ * legend-sized read cost far above every tier rung. Metered pricing charges
245
+ * each read what it really costs (tokens × the model's rate on the lane that
246
+ * served it), so nothing needs withholding and the set is empty.
247
+ *
248
+ * @deprecated Always empty since metered LLM pricing. Kept exported so existing
249
+ * importers keep compiling; it will be removed in a future major.
250
+ */
251
+ declare const DESCRIBE_TO_PICKER_WITHHELD_MODELS: ReadonlySet<string>;
252
+ /**
253
+ * The same (empty) set for the other legend-sized structured reads:
254
+ * `POST /v1/text-to-picker` and `POST /v1/llm/structured`.
255
+ *
256
+ * @deprecated Always empty since metered LLM pricing; see
257
+ * {@link DESCRIBE_TO_PICKER_WITHHELD_MODELS}.
258
+ */
259
+ declare const LLM_STRUCTURED_WITHHELD_MODELS: ReadonlySet<string>;
260
+ /**
261
+ * The models describe-to-picker offers and accepts: the structured vision
262
+ * models minus {@link DESCRIBE_TO_PICKER_WITHHELD_MODELS} (empty — every one). The ONE list the
263
+ * route gate, the config panel and the quick strip read, so a model the route
264
+ * refuses is never offered and a saved node naming one is snapped to the
265
+ * default (the route answers it with a `validation_error`).
266
+ */
267
+ declare const DESCRIBE_TO_PICKER_MODELS: LlmModelDef[];
236
268
  /**
237
269
  * Vendor presentation order + labels for model pickers. Every LlmVendor MUST
238
270
  * appear in the order list (guarded by a registry test) so a new vendor can't
@@ -267,6 +299,16 @@ type LlmFeature = "ai-writer" | "llm-chat" | "prompt-helper" | "scene-graph-ai"
267
299
  declare function motionGraphicsFeature(engine?: string): LlmFeature;
268
300
  /** Feature → default model when user hasn't selected one */
269
301
  declare const LLM_FEATURE_DEFAULTS: Record<LlmFeature, string>;
302
+ /**
303
+ * Billed features with no defaults of their own → the feature whose defaults
304
+ * (model, {@link LLM_FEATURE_DEFAULT_EFFORTS} effort) their route borrows:
305
+ * Generate Structured runs on Generate Text's, Text to Picker on Describe to
306
+ * Picker's, the Choose Best judge on `pick-best-llm`'s. Read it through
307
+ * {@link llmDefaultsFeature}. Structure only — no prices.
308
+ */
309
+ declare const LLM_FEATURE_DEFAULTS_FROM: Readonly<Record<string, LlmFeature>>;
310
+ /** The feature whose defaults a call of `feature` runs with: its {@link LLM_FEATURE_DEFAULTS_FROM} entry, else itself. */
311
+ declare function llmDefaultsFeature(feature: string): string;
270
312
  /**
271
313
  * The model describe-to-picker re-asks ONCE when a Claude analyzer could not
272
314
  * answer for a platform-side reason: its direct lane down or the platform's
@@ -282,23 +324,28 @@ declare const LLM_FEATURE_DEFAULTS: Record<LlmFeature, string>;
282
324
  */
283
325
  declare const DESCRIBE_TO_PICKER_FALLBACK_MODEL = "gemini-3.8-flash";
284
326
  /**
285
- * Feature → the reasoning effort its DEFAULT model runs at when the caller
286
- * sends none. Read it through {@link defaultReasoningEffort}, never directly:
287
- * the effort belongs to the default model, so a call on any other model must
288
- * not pick it up.
327
+ * Feature → ONE model with a recipe: the reasoning effort it runs at on that
328
+ * feature when the caller sends none. Read it through
329
+ * {@link defaultReasoningEffort}, never directly: the effort belongs to that
330
+ * model, so a call on any other model — the feature's default included, when
331
+ * it is a different model — must not pick it up.
289
332
  */
290
- declare const LLM_FEATURE_DEFAULT_EFFORTS: Partial<Record<LlmFeature, LlmReasoningEffort>>;
333
+ declare const LLM_FEATURE_DEFAULT_EFFORTS: Partial<Record<LlmFeature, {
334
+ model: string;
335
+ effort: LlmReasoningEffort;
336
+ }>>;
291
337
  /**
292
338
  * The reasoning effort a `feature` call runs at when the caller sends none:
293
- * the feature's default effort ({@link LLM_FEATURE_DEFAULT_EFFORTS}), but ONLY
294
- * while the call runs on the feature's default model — named, or omitted
295
- * (`undefined` / `""`) so the default model applies. A caller who picked
296
- * another model and no effort gets `undefined`: that model's Auto, as before.
339
+ * the recipe effort ({@link LLM_FEATURE_DEFAULT_EFFORTS}), but ONLY while the
340
+ * call runs on the recipe's model — named, or reached because the model was
341
+ * omitted (`undefined` / `""`) and it is the feature's default. A caller on
342
+ * any other model with no effort gets `undefined`: that model's Auto.
297
343
  *
298
- * WHY only on the default model: the default effort is part of the default
299
- * model's recipe, not a global policy. Forcing `high` on a Gemini or GPT call
300
- * that never asked for it would change the timing of every existing workflow
301
- * that picked one (and, on a Claude model, its lane and its bill).
344
+ * WHY only on that model: the effort is part of that model's recipe, not a
345
+ * feature policy. Forcing `high` on a Gemini or GPT call that never asked for
346
+ * it would change the timing of every existing workflow that picked one (and,
347
+ * on a Claude model, its lane and its bill) — which is also why the feature's
348
+ * default model gets it only when it IS the recipe's model.
302
349
  *
303
350
  * The one place the route, the node's credit badge and its effort pickers
304
351
  * read, so what runs, what is billed and what is shown cannot disagree.
@@ -398,6 +445,23 @@ declare const ADVANCED_MODE_UNAVAILABLE_REASON = "Advanced mode is available on
398
445
  * `advancedMode` on a model with no direct lane, like the bump always has.
399
446
  */
400
447
  declare function llmServesDirect(modelId: string | undefined, reasoningEffort?: string, advancedMode?: boolean): boolean;
448
+ /**
449
+ * The price key of a metered LLM call — what a client asks
450
+ * `POST /v1/credits/model-costs` (or `GET /v1/credits/model-cost?model=`) for
451
+ * the call's estimated price: `<feature>:<modelId>`, plus `:direct` when the
452
+ * call is served on the vendor's own API ({@link llmServesDirect}), which is
453
+ * priced at the direct rate.
454
+ *
455
+ * With no `reasoningEffort` the default effort of the feature the call
456
+ * borrows its defaults from applies ({@link llmDefaultsFeature},
457
+ * {@link defaultReasoningEffort}) — the effort the call then runs at — so the
458
+ * key names the lane the call is held and charged on.
459
+ *
460
+ * `modelId` must already be resolved: the model the call runs on, never empty
461
+ * (a caller with no model passes the feature's default, `LLM_FEATURE_DEFAULTS`
462
+ * of {@link llmDefaultsFeature}). An empty id throws a `TypeError`.
463
+ */
464
+ declare function llmPriceKey(feature: string, modelId: string, reasoningEffort?: string, advancedMode?: boolean): string;
401
465
  /**
402
466
  * The credit rungs an LLM feature bills on, cheapest first. `premium-direct` is
403
467
  * reached only by a premium model served direct (decided 2026-10-08): the bump
@@ -499,4 +563,8 @@ declare function isVideoAnalysisMixedTier(v: string): v is VideoAnalysisMixedTie
499
563
  */
500
564
  declare function resolveVideoAnalysisModel(input?: string | null): string;
501
565
 
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 };
566
+ /** Legacy provider names → the LLM model ids they ran. */
567
+ declare const SCRIPT_LEGACY_PROVIDER_MODELS: Readonly<Record<ScriptProvider, string>>;
568
+ declare function resolveScriptModelId(provider?: string, llmModel?: string): string;
569
+
570
+ export { ADVANCED_MODE_UNAVAILABLE_REASON, DEFAULT_VIDEO_ANALYSIS_MODEL, DEFAULT_VIDEO_ANALYSIS_TIER, DESCRIBE_TO_PICKER_FALLBACK_MODEL, DESCRIBE_TO_PICKER_MODELS, DESCRIBE_TO_PICKER_WITHHELD_MODELS, EFFORT_TIER_BUMP, type KieApiFormat, LLM_CREDIT_RUNGS, LLM_FEATURE_DEFAULTS, LLM_FEATURE_DEFAULTS_FROM, LLM_FEATURE_DEFAULT_EFFORTS, LLM_MODALITY_CAPS, LLM_MODELS, LLM_MODEL_IDS, LLM_REASONING_EFFORTS, LLM_ROUTE_DEFAULTS, LLM_STRUCTURED_WITHHELD_MODELS, LLM_VENDOR_LABELS, LLM_VENDOR_ORDER, type LlmCreditRung, type LlmFeature, type LlmModelDef, type LlmModelGroup, type LlmReasoningEffort, type LlmRouteDefaults, type LlmTier, type LlmVendor, PICKABLE_LLM_MODELS, REASONING_OUTPUT_FLOOR, SCRIPT_LEGACY_PROVIDER_MODELS, STRUCTURED_VISION_MODELS, VIDEO_ANALYSIS_LEGACY_MODELS, VIDEO_ANALYSIS_LLM_MODELS, VIDEO_ANALYSIS_MIXED_TIERS, VIDEO_ANALYSIS_TIERS, VIDEO_ANALYSIS_TIER_LABELS, VIDEO_ANALYSIS_TIER_ORDER, type VideoAnalysisMixedTier, type VideoAnalysisModelTier, type VideoAnalysisTier, availableReasoningEfforts, buildLlmCreditIdentifier, defaultReasoningEffort, effectiveReasoningEffort, getLlmModalityCaps, getLlmModel, getLlmTier, groupLlmModelsByVendor, isLlmModelRetired, isVideoAnalysisMixedTier, isVideoAnalysisTier, llmCreditIdForRung, llmCreditRung, llmDefaultsFeature, llmPriceKey, llmRouteDefaults, llmServesDirect, llmTierCreditIds, motionGraphicsFeature, orderedLlmModels, pickableLlmModels, reasoningOutputFloor, resolveLlmCreditId, resolveScriptModelId, resolveVideoAnalysisModel, supportsAdvancedMode };
@@ -1,4 +1,4 @@
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-FKQJYMCO.js';
1
+ export { SCRIPT_LEGACY_PROVIDER_MODELS, resolveScriptModelId } from '../chunk-BLZBDPZJ.js';
2
+ export { ADVANCED_MODE_UNAVAILABLE_REASON, DEFAULT_VIDEO_ANALYSIS_MODEL, DEFAULT_VIDEO_ANALYSIS_TIER, DESCRIBE_TO_PICKER_FALLBACK_MODEL, DESCRIBE_TO_PICKER_MODELS, DESCRIBE_TO_PICKER_WITHHELD_MODELS, EFFORT_TIER_BUMP, LLM_CREDIT_RUNGS, LLM_FEATURE_DEFAULTS, LLM_FEATURE_DEFAULTS_FROM, LLM_FEATURE_DEFAULT_EFFORTS, LLM_MODALITY_CAPS, LLM_MODELS, LLM_MODEL_IDS, LLM_REASONING_EFFORTS, LLM_ROUTE_DEFAULTS, LLM_STRUCTURED_WITHHELD_MODELS, LLM_VENDOR_LABELS, LLM_VENDOR_ORDER, PICKABLE_LLM_MODELS, REASONING_OUTPUT_FLOOR, STRUCTURED_VISION_MODELS, VIDEO_ANALYSIS_LEGACY_MODELS, VIDEO_ANALYSIS_LLM_MODELS, VIDEO_ANALYSIS_MIXED_TIERS, VIDEO_ANALYSIS_TIERS, VIDEO_ANALYSIS_TIER_LABELS, VIDEO_ANALYSIS_TIER_ORDER, availableReasoningEfforts, buildLlmCreditIdentifier, defaultReasoningEffort, effectiveReasoningEffort, getLlmModalityCaps, getLlmModel, getLlmTier, groupLlmModelsByVendor, isLlmModelRetired, isVideoAnalysisMixedTier, isVideoAnalysisTier, llmCreditIdForRung, llmCreditRung, llmDefaultsFeature, llmPriceKey, llmRouteDefaults, llmServesDirect, llmTierCreditIds, motionGraphicsFeature, orderedLlmModels, pickableLlmModels, reasoningOutputFloor, resolveLlmCreditId, resolveVideoAnalysisModel, supportsAdvancedMode } from '../chunk-2BHOAYZW.js';
3
3
  //# sourceMappingURL=llm-models.js.map
4
4
  //# sourceMappingURL=llm-models.js.map