@mux/ai 0.67.0-canary.110 → 0.68.0-canary.112

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.
@@ -1,4 +1,4 @@
1
- import { Z as WorkflowCredentialsInput, $ as WorkflowScope, T as TextChunk, n as ChunkingStrategy, aa as VTTCue, ab as CompletedShotsResult, ac as DeletedShotsResult, ad as ErroredShotsResult, ae as Hotspot, af as HotspotOptions, ag as HotspotResponse, ah as LOW_CONFIDENCE_THRESHOLD, ai as MAX_CUE_TEXT_CHARS, aj as ParseVTTCuesOptions, ak as PendingShotsResult, al as Shot, am as ShotRequestOptions, an as ShotsResult, ao as SkippedShotsResult, ap as TranscriptEmptyReason, aq as TranscriptFetchOptions, ar as TranscriptFetchStepResult, as as TranscriptResult, at as WaitForShotsOptions, au as buildTranscriptUrl, av as buildVttFromCueBlocks, aw as buildVttFromTranslatedCueBlocks, ax as concatenateVttSegments, ay as extractTextFromVTT, az as extractTimestampedTranscript, aA as fetchTranscriptDataForUrl, aB as fetchTranscriptForAsset, aC as filterVttByScope, aD as findCaptionTrack, aE as getHotspotsForAsset, aF as getHotspotsForPlaybackId, aG as getHotspotsForVideo, aH as getReadyTextTracks, aI as getReliableLanguageCode, aJ as getShotsForAsset, aK as parseVTTCues, aL as replaceCueText, aM as requestShotsForAsset, aN as sanitizeUntrustedText, aO as secondsToTimestamp, aP as splitVttPreambleAndCueBlocks, aQ as stripVttMetadataBlocks, aR as vttTimestampToSeconds, aS as waitForShotsForAsset } from './transcripts-BkjWyvVz.js';
1
+ import { Z as WorkflowCredentialsInput, $ as WorkflowScope, T as TextChunk, n as ChunkingStrategy, aa as VTTCue, ab as CompletedShotsResult, ac as DeletedShotsResult, ad as ErroredShotsResult, ae as Hotspot, af as HotspotOptions, ag as HotspotResponse, ah as LOW_CONFIDENCE_THRESHOLD, ai as MAX_CUE_TEXT_CHARS, aj as ParseVTTCuesOptions, ak as PendingShotsResult, al as Shot, am as ShotRequestOptions, an as ShotsResult, ao as SkippedShotsResult, ap as TranscriptEmptyReason, aq as TranscriptFetchOptions, ar as TranscriptFetchStepResult, as as TranscriptResult, at as WaitForShotsOptions, au as buildTranscriptUrl, av as buildVttFromCueBlocks, aw as buildVttFromTranslatedCueBlocks, ax as concatenateVttSegments, ay as extractTextFromVTT, az as extractTimestampedTranscript, aA as fetchTranscriptDataForUrl, aB as fetchTranscriptForAsset, aC as filterVttByScope, aD as findCaptionTrack, aE as getHotspotsForAsset, aF as getHotspotsForPlaybackId, aG as getHotspotsForVideo, aH as getReadyTextTracks, aI as getReliableLanguageCode, aJ as getShotsForAsset, aK as parseVTTCues, aL as replaceCueText, aM as requestShotsForAsset, aN as sanitizeUntrustedText, aO as secondsToTimestamp, aP as splitVttPreambleAndCueBlocks, aQ as stripVttMetadataBlocks, aR as vttTimestampToSeconds, aS as waitForShotsForAsset } from './transcripts-DVMW9ZSs.js';
2
2
 
3
3
  interface HeatmapOptions {
4
4
  /** Time window for results, e.g., '7:days' (default: '7:days') */
@@ -1,5 +1,5 @@
1
1
  import { LanguageModel, generateText as generateText$1 } from 'ai';
2
- import { k as ClassifiedErrorsOption, Z as WorkflowCredentialsInput, f as MuxAiError, h as MuxAsset, A as AssetTextTrack, a as MuxAiErrorFacts, R as TokenUsage, K as ScopedMuxAIOptions, I as ImageSubmissionMode, G as MuxAIOptions, n as ChunkingStrategy, Y as VideoEmbeddingsResult, ae as Hotspot, al as Shot, aa as VTTCue, U as ToneType, O as StorageAdapter } from './transcripts-BkjWyvVz.js';
2
+ import { k as ClassifiedErrorsOption, Z as WorkflowCredentialsInput, f as MuxAiError, h as MuxAsset, A as AssetTextTrack, a as MuxAiErrorFacts, R as TokenUsage, K as ScopedMuxAIOptions, I as ImageSubmissionMode, G as MuxAIOptions, n as ChunkingStrategy, Y as VideoEmbeddingsResult, ae as Hotspot, al as Shot, aa as VTTCue, U as ToneType, O as StorageAdapter } from './transcripts-DVMW9ZSs.js';
3
3
  import { z } from 'zod';
4
4
  import { S as SafetyReport, e as PromptOverrides, h as SceneContextItemV1, D as DEFAULT_DESCRIPTION_LENGTH, a as DEFAULT_SUMMARY_KEYWORD_LIMIT, b as DEFAULT_TITLE_LENGTH } from './summarization-BFmhXeAu.js';
5
5
  import { createAnthropic } from '@ai-sdk/anthropic';
@@ -400,6 +400,19 @@ declare function findGenerateTextLengthViolation(content: string, limits: readon
400
400
  actual: number;
401
401
  } | undefined;
402
402
 
403
+ /**
404
+ * Which model call failed: its name, provider and model. Passing one opts the call
405
+ * into classified errors (see `ClassifiedErrorsOption`), with these as facts:
406
+ * content-policy blocks, incomplete or unusable output, and provider API failures for
407
+ * providers with their own classifier (see {@link classifyModelCallError}). Without
408
+ * one, the call fails as it did before classification.
409
+ */
410
+ interface ModelCallContext {
411
+ call: string;
412
+ provider: string;
413
+ model?: string;
414
+ }
415
+
403
416
  interface RepairSpan {
404
417
  id: string;
405
418
  text: string;
@@ -420,30 +433,15 @@ declare function repairJsonSchema(plan: RepairPlan): {
420
433
  };
421
434
  };
422
435
  };
436
+ /** Why a model's paragraph replacements were not applied. */
437
+ type RepairRejectionCode = "invalid_object" | "span_ids" | "stale_plan" | "empty_replacement" | "split_paragraph" | "literal_escapes" | "protected_term";
423
438
  declare function applyTextRepair(content: string, plan: RepairPlan, replacements: unknown): {
424
439
  readonly accepted: false;
425
- readonly reason: "Invalid replacement object";
426
- readonly content?: undefined;
427
- } | {
428
- readonly accepted: false;
429
- readonly reason: "Unexpected or missing span IDs";
430
- readonly content?: undefined;
431
- } | {
432
- readonly accepted: false;
433
- readonly reason: "Stale repair plan";
434
- readonly content?: undefined;
435
- } | {
436
- readonly accepted: false;
437
- readonly reason: "Empty or incompatible paragraph replacement";
438
- readonly content?: undefined;
439
- } | {
440
- readonly accepted: false;
441
- readonly reason: "Protected term removed from edited spans";
442
- readonly content?: undefined;
440
+ readonly code: RepairRejectionCode;
441
+ readonly reason: string;
443
442
  } | {
444
443
  readonly accepted: true;
445
444
  readonly content: string;
446
- readonly reason?: undefined;
447
445
  };
448
446
  interface RepairCall<Usage> {
449
447
  replacements?: unknown;
@@ -457,6 +455,13 @@ interface RepairAttempt<Usage> {
457
455
  plan: RepairPlan;
458
456
  call: RepairCall<Usage>;
459
457
  rejection?: string;
458
+ /** Set with `rejection`: why the replacements were not applied. */
459
+ rejectionCode?: RepairRejectionCode;
460
+ /** Set when the replacements were applied but the text was still over a limit. */
461
+ overLimit?: {
462
+ limit: TextLengthLimit;
463
+ actual: number;
464
+ };
460
465
  }
461
466
  /** Current repair policy: paragraph edits and at most two generation calls. */
462
467
  interface RepairOptions<Usage> {
@@ -466,6 +471,11 @@ interface RepairOptions<Usage> {
466
471
  generate: (plan: RepairPlan) => Promise<RepairCall<Usage>>;
467
472
  maxAttempts?: number;
468
473
  }
474
+ /**
475
+ * Why a repair failed: an empty draft, no feasible span budget, a failed generation
476
+ * call, or both calls used without bringing the text under its limits.
477
+ */
478
+ type RepairFailureOutcome = "empty_draft" | "no_plan" | "call_failed" | "exhausted";
469
479
  type RepairResult<Usage> = {
470
480
  status: "valid";
471
481
  content: string;
@@ -474,6 +484,7 @@ type RepairResult<Usage> = {
474
484
  status: "failed";
475
485
  attempts: RepairAttempt<Usage>[];
476
486
  reason: string;
487
+ outcome?: RepairFailureOutcome;
477
488
  };
478
489
  /** Orchestrates paragraph repair through a caller-supplied generation callback. */
479
490
  declare function runTextRepairLoop<Usage>(options: RepairOptions<Usage>): Promise<RepairResult<Usage>>;
@@ -486,6 +497,11 @@ interface TextRepairModelOptions {
486
497
  maxOutputTokens?: number;
487
498
  /** Timeout for each call, in milliseconds (default: 30,000). */
488
499
  timeoutMs?: number;
500
+ /**
501
+ * Which model call this repair belongs to. Passing one opts its failures into classified
502
+ * errors (see `ModelCallContext`); without one, they fail as before classification.
503
+ */
504
+ context?: ModelCallContext;
489
505
  }
490
506
  /**
491
507
  * Builds an AI SDK callback for the model-independent repair kernel. It sends
@@ -2268,8 +2284,10 @@ type index_QuestionAnswer = QuestionAnswer;
2268
2284
  type index_QuestionAnswerType = QuestionAnswerType;
2269
2285
  type index_RepairAttempt<Usage> = RepairAttempt<Usage>;
2270
2286
  type index_RepairCall<Usage> = RepairCall<Usage>;
2287
+ type index_RepairFailureOutcome = RepairFailureOutcome;
2271
2288
  type index_RepairOptions<Usage> = RepairOptions<Usage>;
2272
2289
  type index_RepairPlan = RepairPlan;
2290
+ type index_RepairRejectionCode = RepairRejectionCode;
2273
2291
  type index_RepairResult<Usage> = RepairResult<Usage>;
2274
2292
  type index_RepairSpan = RepairSpan;
2275
2293
  type index_ReplacementRecord = ReplacementRecord;
@@ -2339,7 +2357,7 @@ declare const index_translationSchema: typeof translationSchema;
2339
2357
  declare const index_validateNeverTranslateTerms: typeof validateNeverTranslateTerms;
2340
2358
  declare const index_verifyNeverTranslateTerms: typeof verifyNeverTranslateTerms;
2341
2359
  declare namespace index {
2342
- export { index_ASK_QUESTIONS_DEFAULT_MAX_ANSWER_OPTION_LENGTH as ASK_QUESTIONS_DEFAULT_MAX_ANSWER_OPTION_LENGTH, index_ASK_QUESTIONS_DEFAULT_MAX_FREE_FORM_ANSWER_LENGTH as ASK_QUESTIONS_DEFAULT_MAX_FREE_FORM_ANSWER_LENGTH, index_ASK_QUESTIONS_MAX_QUESTIONS_PER_CALL as ASK_QUESTIONS_MAX_QUESTIONS_PER_CALL, index_ASK_QUESTIONS_MAX_QUESTION_LENGTH as ASK_QUESTIONS_MAX_QUESTION_LENGTH, type index_AskQuestionsOptions as AskQuestionsOptions, type index_AskQuestionsResult as AskQuestionsResult, type index_AskQuestionsType as AskQuestionsType, type index_AudioTranslationOptions as AudioTranslationOptions, type index_AudioTranslationResult as AudioTranslationResult, type index_AutoCensorProfanityOptions as AutoCensorProfanityOptions, type index_BurnedInCaptionsAnalysis as BurnedInCaptionsAnalysis, type index_BurnedInCaptionsOptions as BurnedInCaptionsOptions, type index_BurnedInCaptionsPromptOverrides as BurnedInCaptionsPromptOverrides, type index_BurnedInCaptionsPromptSections as BurnedInCaptionsPromptSections, type index_BurnedInCaptionsResult as BurnedInCaptionsResult, type index_CaptionReplacement as CaptionReplacement, type index_CensorMode as CensorMode, type index_Chapter as Chapter, type index_ChapterSystemPromptSections as ChapterSystemPromptSections, type index_ChaptersOptions as ChaptersOptions, type index_ChaptersPromptOverrides as ChaptersPromptOverrides, type index_ChaptersPromptSections as ChaptersPromptSections, type index_ChaptersResult as ChaptersResult, type index_ChaptersType as ChaptersType, index_DEFAULT_DESCRIPTION_LENGTH as DEFAULT_DESCRIPTION_LENGTH, index_DEFAULT_SUMMARY_KEYWORD_LIMIT as DEFAULT_SUMMARY_KEYWORD_LIMIT, index_DEFAULT_TITLE_LENGTH as DEFAULT_TITLE_LENGTH, index_DEFAULT_TRANSCRIPT_WINDOWING as DEFAULT_TRANSCRIPT_WINDOWING, type index_DubbedCaptionsOutcome as DubbedCaptionsOutcome, type index_EditCaptionsOptions as EditCaptionsOptions, type index_EditCaptionsResult as EditCaptionsResult, type index_EmbeddingsOptions as EmbeddingsOptions, type index_EmbeddingsResult as EmbeddingsResult, type index_EngagementInsightsOptions as EngagementInsightsOptions, type index_EngagementInsightsResult as EngagementInsightsResult, index_GENERATE_TEXT_CALLS_TO_ACTION as GENERATE_TEXT_CALLS_TO_ACTION, index_GENERATE_TEXT_CHANNELS as GENERATE_TEXT_CHANNELS, index_GENERATE_TEXT_CHANNEL_CEILINGS as GENERATE_TEXT_CHANNEL_CEILINGS, index_GENERATE_TEXT_FORMATS as GENERATE_TEXT_FORMATS, index_GENERATE_TEXT_LENGTH_BOUNDS as GENERATE_TEXT_LENGTH_BOUNDS, index_GENERATE_TEXT_MAX_ARTIFACTS as GENERATE_TEXT_MAX_ARTIFACTS, index_GENERATE_TEXT_MAX_AUDIENCE_CHARS as GENERATE_TEXT_MAX_AUDIENCE_CHARS, index_GENERATE_TEXT_MAX_BRAND_TERMS as GENERATE_TEXT_MAX_BRAND_TERMS, index_GENERATE_TEXT_MAX_BRAND_TERMS_TOTAL_CHARS as GENERATE_TEXT_MAX_BRAND_TERMS_TOTAL_CHARS, index_GENERATE_TEXT_MAX_BRAND_TERM_CHARS as GENERATE_TEXT_MAX_BRAND_TERM_CHARS, index_GENERATE_TEXT_MAX_CONCURRENT_GENERATIONS as GENERATE_TEXT_MAX_CONCURRENT_GENERATIONS, index_GENERATE_TEXT_MAX_INSTRUCTIONS_CHARS as GENERATE_TEXT_MAX_INSTRUCTIONS_CHARS, index_GENERATE_TEXT_MAX_SHOT_FRAMES as GENERATE_TEXT_MAX_SHOT_FRAMES, index_GENERATE_TEXT_MAX_VARIANTS as GENERATE_TEXT_MAX_VARIANTS, index_GENERATE_TEXT_VOICES as GENERATE_TEXT_VOICES, index_GOOGLE_VISION_LIKELIHOOD_TO_SCORE as GOOGLE_VISION_LIKELIHOOD_TO_SCORE, type index_GenerateTextArtifact as GenerateTextArtifact, type index_GenerateTextCallToAction as GenerateTextCallToAction, type index_GenerateTextChannel as GenerateTextChannel, type index_GenerateTextFormat as GenerateTextFormat, type index_GenerateTextKeyedItem as GenerateTextKeyedItem, type index_GenerateTextLengthLimit as GenerateTextLengthLimit, type index_GenerateTextOptions as GenerateTextOptions, type index_GenerateTextResult as GenerateTextResult, type index_GenerateTextVariant as GenerateTextVariant, type index_GenerateTextVoice as GenerateTextVoice, type index_GeneratedTextArtifact as GeneratedTextArtifact, type index_GeneratedTextVariant as GeneratedTextVariant, index_HIVE_SEXUAL_CATEGORIES as HIVE_SEXUAL_CATEGORIES, index_HIVE_VIOLENCE_CATEGORIES as HIVE_VIOLENCE_CATEGORIES, type index_HiveModerationOutput as HiveModerationOutput, type index_HiveModerationSource as HiveModerationSource, type index_ModerationOptions as ModerationOptions, type index_ModerationProvider as ModerationProvider, type index_ModerationResult as ModerationResult, type index_ModerationSurfaceStatus as ModerationSurfaceStatus, type index_MomentInsight as MomentInsight, type index_OverallInsight as OverallInsight, type index_ProfanityDetectionPayload as ProfanityDetectionPayload, type index_Question as Question, type index_QuestionAnswer as QuestionAnswer, type index_QuestionAnswerType as QuestionAnswerType, type index_RepairAttempt as RepairAttempt, type index_RepairCall as RepairCall, type index_RepairOptions as RepairOptions, type index_RepairPlan as RepairPlan, type index_RepairResult as RepairResult, type index_RepairSpan as RepairSpan, type index_ReplacementRecord as ReplacementRecord, type index_SpeakerReplacement as SpeakerReplacement, type index_StaticRenditionCleanupOutcome as StaticRenditionCleanupOutcome, type index_SummarizationOptions as SummarizationOptions, type index_SummarizationPromptOverrides as SummarizationPromptOverrides, type index_SummarizationPromptSections as SummarizationPromptSections, type index_SummaryAndTagsResult as SummaryAndTagsResult, type index_SummaryType as SummaryType, type index_TextLengthLimit as TextLengthLimit, type index_TextRepairModelOptions as TextRepairModelOptions, type index_ThumbnailModerationScore as ThumbnailModerationScore, type index_ThumbnailModerationSkipReason as ThumbnailModerationSkipReason, type index_ThumbnailModerationStatus as ThumbnailModerationStatus, type index_TranscriptModerationScore as TranscriptModerationScore, type index_TranscriptModerationSkipReason as TranscriptModerationSkipReason, type index_TranscriptModerationStatus as TranscriptModerationStatus, type index_TranslationChunkingOptions as TranslationChunkingOptions, type index_TranslationOptions as TranslationOptions, type index_TranslationPayload as TranslationPayload, type index_TranslationResult as TranslationResult, index_aggregateTokenUsage as aggregateTokenUsage, index_applyOverrideLists as applyOverrideLists, index_applyReplacements as applyReplacements, index_applySpeakerReplacements as applySpeakerReplacements, index_applyTextRepair as applyTextRepair, index_askQuestions as askQuestions, index_buildReplacementRegex as buildReplacementRegex, index_buildTranscriptWindows as buildTranscriptWindows, index_burnedInCaptionsSchema as burnedInCaptionsSchema, index_censorVttContent as censorVttContent, index_chapterSchema as chapterSchema, index_chaptersSchema as chaptersSchema, index_createReplacer as createReplacer, index_createTextRepairGenerator as createTextRepairGenerator, index_editCaptions as editCaptions, index_extractTranscriptSegmentsForHotspots as extractTranscriptSegmentsForHotspots, index_findGenerateTextLengthViolation as findGenerateTextLengthViolation, index_generateChapters as generateChapters, index_generateEmbeddings as generateEmbeddings, index_generateEngagementInsights as generateEngagementInsights, index_generateText as generateText, index_generateVideoEmbeddings as generateVideoEmbeddings, index_getModerationScores as getModerationScores, index_getSummaryAndTags as getSummaryAndTags, index_hasBurnedInCaptions as hasBurnedInCaptions, index_mapShotsToHotspots as mapShotsToHotspots, index_measureGenerateTextLength as measureGenerateTextLength, index_normalizeTranslatedVtt as normalizeTranslatedVtt, index_planTextRepair as planTextRepair, index_profanityDetectionSchema as profanityDetectionSchema, index_questionAnswerSchema as questionAnswerSchema, index_repairJsonSchema as repairJsonSchema, index_repairText as repairText, index_resolveGenerateTextLengthLimit as resolveGenerateTextLengthLimit, index_resolveGenerateTextLengthLimits as resolveGenerateTextLengthLimits, index_resolveGenerateTextOptions as resolveGenerateTextOptions, index_runTextRepairLoop as runTextRepairLoop, index_selectGenerateTextShotFrames as selectGenerateTextShotFrames, index_shouldSplitChunkTranslationError as shouldSplitChunkTranslationError, index_summarySchema as summarySchema, index_transformCueText as transformCueText, index_translateAudio as translateAudio, index_translateCaptions as translateCaptions, index_translationSchema as translationSchema, index_validateNeverTranslateTerms as validateNeverTranslateTerms, index_verifyNeverTranslateTerms as verifyNeverTranslateTerms };
2360
+ export { index_ASK_QUESTIONS_DEFAULT_MAX_ANSWER_OPTION_LENGTH as ASK_QUESTIONS_DEFAULT_MAX_ANSWER_OPTION_LENGTH, index_ASK_QUESTIONS_DEFAULT_MAX_FREE_FORM_ANSWER_LENGTH as ASK_QUESTIONS_DEFAULT_MAX_FREE_FORM_ANSWER_LENGTH, index_ASK_QUESTIONS_MAX_QUESTIONS_PER_CALL as ASK_QUESTIONS_MAX_QUESTIONS_PER_CALL, index_ASK_QUESTIONS_MAX_QUESTION_LENGTH as ASK_QUESTIONS_MAX_QUESTION_LENGTH, type index_AskQuestionsOptions as AskQuestionsOptions, type index_AskQuestionsResult as AskQuestionsResult, type index_AskQuestionsType as AskQuestionsType, type index_AudioTranslationOptions as AudioTranslationOptions, type index_AudioTranslationResult as AudioTranslationResult, type index_AutoCensorProfanityOptions as AutoCensorProfanityOptions, type index_BurnedInCaptionsAnalysis as BurnedInCaptionsAnalysis, type index_BurnedInCaptionsOptions as BurnedInCaptionsOptions, type index_BurnedInCaptionsPromptOverrides as BurnedInCaptionsPromptOverrides, type index_BurnedInCaptionsPromptSections as BurnedInCaptionsPromptSections, type index_BurnedInCaptionsResult as BurnedInCaptionsResult, type index_CaptionReplacement as CaptionReplacement, type index_CensorMode as CensorMode, type index_Chapter as Chapter, type index_ChapterSystemPromptSections as ChapterSystemPromptSections, type index_ChaptersOptions as ChaptersOptions, type index_ChaptersPromptOverrides as ChaptersPromptOverrides, type index_ChaptersPromptSections as ChaptersPromptSections, type index_ChaptersResult as ChaptersResult, type index_ChaptersType as ChaptersType, index_DEFAULT_DESCRIPTION_LENGTH as DEFAULT_DESCRIPTION_LENGTH, index_DEFAULT_SUMMARY_KEYWORD_LIMIT as DEFAULT_SUMMARY_KEYWORD_LIMIT, index_DEFAULT_TITLE_LENGTH as DEFAULT_TITLE_LENGTH, index_DEFAULT_TRANSCRIPT_WINDOWING as DEFAULT_TRANSCRIPT_WINDOWING, type index_DubbedCaptionsOutcome as DubbedCaptionsOutcome, type index_EditCaptionsOptions as EditCaptionsOptions, type index_EditCaptionsResult as EditCaptionsResult, type index_EmbeddingsOptions as EmbeddingsOptions, type index_EmbeddingsResult as EmbeddingsResult, type index_EngagementInsightsOptions as EngagementInsightsOptions, type index_EngagementInsightsResult as EngagementInsightsResult, index_GENERATE_TEXT_CALLS_TO_ACTION as GENERATE_TEXT_CALLS_TO_ACTION, index_GENERATE_TEXT_CHANNELS as GENERATE_TEXT_CHANNELS, index_GENERATE_TEXT_CHANNEL_CEILINGS as GENERATE_TEXT_CHANNEL_CEILINGS, index_GENERATE_TEXT_FORMATS as GENERATE_TEXT_FORMATS, index_GENERATE_TEXT_LENGTH_BOUNDS as GENERATE_TEXT_LENGTH_BOUNDS, index_GENERATE_TEXT_MAX_ARTIFACTS as GENERATE_TEXT_MAX_ARTIFACTS, index_GENERATE_TEXT_MAX_AUDIENCE_CHARS as GENERATE_TEXT_MAX_AUDIENCE_CHARS, index_GENERATE_TEXT_MAX_BRAND_TERMS as GENERATE_TEXT_MAX_BRAND_TERMS, index_GENERATE_TEXT_MAX_BRAND_TERMS_TOTAL_CHARS as GENERATE_TEXT_MAX_BRAND_TERMS_TOTAL_CHARS, index_GENERATE_TEXT_MAX_BRAND_TERM_CHARS as GENERATE_TEXT_MAX_BRAND_TERM_CHARS, index_GENERATE_TEXT_MAX_CONCURRENT_GENERATIONS as GENERATE_TEXT_MAX_CONCURRENT_GENERATIONS, index_GENERATE_TEXT_MAX_INSTRUCTIONS_CHARS as GENERATE_TEXT_MAX_INSTRUCTIONS_CHARS, index_GENERATE_TEXT_MAX_SHOT_FRAMES as GENERATE_TEXT_MAX_SHOT_FRAMES, index_GENERATE_TEXT_MAX_VARIANTS as GENERATE_TEXT_MAX_VARIANTS, index_GENERATE_TEXT_VOICES as GENERATE_TEXT_VOICES, index_GOOGLE_VISION_LIKELIHOOD_TO_SCORE as GOOGLE_VISION_LIKELIHOOD_TO_SCORE, type index_GenerateTextArtifact as GenerateTextArtifact, type index_GenerateTextCallToAction as GenerateTextCallToAction, type index_GenerateTextChannel as GenerateTextChannel, type index_GenerateTextFormat as GenerateTextFormat, type index_GenerateTextKeyedItem as GenerateTextKeyedItem, type index_GenerateTextLengthLimit as GenerateTextLengthLimit, type index_GenerateTextOptions as GenerateTextOptions, type index_GenerateTextResult as GenerateTextResult, type index_GenerateTextVariant as GenerateTextVariant, type index_GenerateTextVoice as GenerateTextVoice, type index_GeneratedTextArtifact as GeneratedTextArtifact, type index_GeneratedTextVariant as GeneratedTextVariant, index_HIVE_SEXUAL_CATEGORIES as HIVE_SEXUAL_CATEGORIES, index_HIVE_VIOLENCE_CATEGORIES as HIVE_VIOLENCE_CATEGORIES, type index_HiveModerationOutput as HiveModerationOutput, type index_HiveModerationSource as HiveModerationSource, type index_ModerationOptions as ModerationOptions, type index_ModerationProvider as ModerationProvider, type index_ModerationResult as ModerationResult, type index_ModerationSurfaceStatus as ModerationSurfaceStatus, type index_MomentInsight as MomentInsight, type index_OverallInsight as OverallInsight, type index_ProfanityDetectionPayload as ProfanityDetectionPayload, type index_Question as Question, type index_QuestionAnswer as QuestionAnswer, type index_QuestionAnswerType as QuestionAnswerType, type index_RepairAttempt as RepairAttempt, type index_RepairCall as RepairCall, type index_RepairFailureOutcome as RepairFailureOutcome, type index_RepairOptions as RepairOptions, type index_RepairPlan as RepairPlan, type index_RepairRejectionCode as RepairRejectionCode, type index_RepairResult as RepairResult, type index_RepairSpan as RepairSpan, type index_ReplacementRecord as ReplacementRecord, type index_SpeakerReplacement as SpeakerReplacement, type index_StaticRenditionCleanupOutcome as StaticRenditionCleanupOutcome, type index_SummarizationOptions as SummarizationOptions, type index_SummarizationPromptOverrides as SummarizationPromptOverrides, type index_SummarizationPromptSections as SummarizationPromptSections, type index_SummaryAndTagsResult as SummaryAndTagsResult, type index_SummaryType as SummaryType, type index_TextLengthLimit as TextLengthLimit, type index_TextRepairModelOptions as TextRepairModelOptions, type index_ThumbnailModerationScore as ThumbnailModerationScore, type index_ThumbnailModerationSkipReason as ThumbnailModerationSkipReason, type index_ThumbnailModerationStatus as ThumbnailModerationStatus, type index_TranscriptModerationScore as TranscriptModerationScore, type index_TranscriptModerationSkipReason as TranscriptModerationSkipReason, type index_TranscriptModerationStatus as TranscriptModerationStatus, type index_TranslationChunkingOptions as TranslationChunkingOptions, type index_TranslationOptions as TranslationOptions, type index_TranslationPayload as TranslationPayload, type index_TranslationResult as TranslationResult, index_aggregateTokenUsage as aggregateTokenUsage, index_applyOverrideLists as applyOverrideLists, index_applyReplacements as applyReplacements, index_applySpeakerReplacements as applySpeakerReplacements, index_applyTextRepair as applyTextRepair, index_askQuestions as askQuestions, index_buildReplacementRegex as buildReplacementRegex, index_buildTranscriptWindows as buildTranscriptWindows, index_burnedInCaptionsSchema as burnedInCaptionsSchema, index_censorVttContent as censorVttContent, index_chapterSchema as chapterSchema, index_chaptersSchema as chaptersSchema, index_createReplacer as createReplacer, index_createTextRepairGenerator as createTextRepairGenerator, index_editCaptions as editCaptions, index_extractTranscriptSegmentsForHotspots as extractTranscriptSegmentsForHotspots, index_findGenerateTextLengthViolation as findGenerateTextLengthViolation, index_generateChapters as generateChapters, index_generateEmbeddings as generateEmbeddings, index_generateEngagementInsights as generateEngagementInsights, index_generateText as generateText, index_generateVideoEmbeddings as generateVideoEmbeddings, index_getModerationScores as getModerationScores, index_getSummaryAndTags as getSummaryAndTags, index_hasBurnedInCaptions as hasBurnedInCaptions, index_mapShotsToHotspots as mapShotsToHotspots, index_measureGenerateTextLength as measureGenerateTextLength, index_normalizeTranslatedVtt as normalizeTranslatedVtt, index_planTextRepair as planTextRepair, index_profanityDetectionSchema as profanityDetectionSchema, index_questionAnswerSchema as questionAnswerSchema, index_repairJsonSchema as repairJsonSchema, index_repairText as repairText, index_resolveGenerateTextLengthLimit as resolveGenerateTextLengthLimit, index_resolveGenerateTextLengthLimits as resolveGenerateTextLengthLimits, index_resolveGenerateTextOptions as resolveGenerateTextOptions, index_runTextRepairLoop as runTextRepairLoop, index_selectGenerateTextShotFrames as selectGenerateTextShotFrames, index_shouldSplitChunkTranslationError as shouldSplitChunkTranslationError, index_summarySchema as summarySchema, index_transformCueText as transformCueText, index_translateAudio as translateAudio, index_translateCaptions as translateCaptions, index_translationSchema as translationSchema, index_validateNeverTranslateTerms as validateNeverTranslateTerms, index_verifyNeverTranslateTerms as verifyNeverTranslateTerms };
2343
2361
  }
2344
2362
 
2345
- export { type AutoCensorProfanityOptions as $, planSourceTrackReplacement as A, planTextTrackReplacement as B, replaceAndCreateTextTrack as C, replaceAndCreateTrack as D, replaceSourceTrack as E, summarizeTextTrack as F, toISO639_1 as G, toISO639_3 as H, type ISO639_1 as I, trackReplacementBlockedError as J, trackTargetFacts as K, type LanguageCodePair as L, MUX_TRACK_PASSTHROUGH_MAX_CHARS as M, validateTrackPassthrough as N, index as O, ASK_QUESTIONS_DEFAULT_MAX_ANSWER_OPTION_LENGTH as P, ASK_QUESTIONS_DEFAULT_MAX_FREE_FORM_ANSWER_LENGTH as Q, type ReplaceAndCreateTextTrackInput as R, type SourceTrackReplacementPolicy as S, type TextTrackReplacementPlan as T, ASK_QUESTIONS_MAX_QUESTIONS_PER_CALL as U, ASK_QUESTIONS_MAX_QUESTION_LENGTH as V, type AskQuestionsOptions as W, type AskQuestionsResult as X, type AskQuestionsType as Y, type AudioTranslationOptions as Z, type AudioTranslationResult as _, type ISO639_3 as a, type QuestionAnswerType as a$, type BurnedInCaptionsAnalysis as a0, type BurnedInCaptionsOptions as a1, type BurnedInCaptionsPromptOverrides as a2, type BurnedInCaptionsPromptSections as a3, type BurnedInCaptionsResult as a4, type CaptionReplacement as a5, type CensorMode as a6, type Chapter as a7, type ChapterSystemPromptSections as a8, type ChaptersOptions as a9, GENERATE_TEXT_VOICES as aA, GOOGLE_VISION_LIKELIHOOD_TO_SCORE as aB, type GenerateTextArtifact as aC, type GenerateTextCallToAction as aD, type GenerateTextChannel as aE, type GenerateTextFormat as aF, type GenerateTextKeyedItem as aG, type GenerateTextLengthLimit as aH, type GenerateTextOptions as aI, type GenerateTextResult as aJ, type GenerateTextVariant as aK, type GenerateTextVoice as aL, type GeneratedTextArtifact as aM, type GeneratedTextVariant as aN, HIVE_SEXUAL_CATEGORIES as aO, HIVE_VIOLENCE_CATEGORIES as aP, type HiveModerationOutput as aQ, type HiveModerationSource as aR, type ModerationOptions as aS, type ModerationProvider as aT, type ModerationResult as aU, type ModerationSurfaceStatus as aV, type MomentInsight as aW, type OverallInsight as aX, type ProfanityDetectionPayload as aY, type Question as aZ, type QuestionAnswer as a_, type ChaptersPromptOverrides as aa, type ChaptersPromptSections as ab, type ChaptersResult as ac, type ChaptersType as ad, DEFAULT_TRANSCRIPT_WINDOWING as ae, type DubbedCaptionsOutcome as af, type EditCaptionsOptions as ag, type EditCaptionsResult as ah, type EmbeddingsOptions as ai, type EmbeddingsResult as aj, type EngagementInsightsOptions as ak, type EngagementInsightsResult as al, GENERATE_TEXT_CALLS_TO_ACTION as am, GENERATE_TEXT_CHANNELS as an, GENERATE_TEXT_CHANNEL_CEILINGS as ao, GENERATE_TEXT_FORMATS as ap, GENERATE_TEXT_LENGTH_BOUNDS as aq, GENERATE_TEXT_MAX_ARTIFACTS as ar, GENERATE_TEXT_MAX_AUDIENCE_CHARS as as, GENERATE_TEXT_MAX_BRAND_TERMS as at, GENERATE_TEXT_MAX_BRAND_TERMS_TOTAL_CHARS as au, GENERATE_TEXT_MAX_BRAND_TERM_CHARS as av, GENERATE_TEXT_MAX_CONCURRENT_GENERATIONS as aw, GENERATE_TEXT_MAX_INSTRUCTIONS_CHARS as ax, GENERATE_TEXT_MAX_SHOT_FRAMES as ay, GENERATE_TEXT_MAX_VARIANTS as az, type ReplaceAndCreateTextTrackResult as b, selectGenerateTextShotFrames as b$, type RepairAttempt as b0, type RepairCall as b1, type RepairOptions as b2, type RepairPlan as b3, type RepairResult as b4, type RepairSpan as b5, type ReplacementRecord as b6, type SpeakerReplacement as b7, type StaticRenditionCleanupOutcome as b8, type SummarizationOptions as b9, chapterSchema as bA, chaptersSchema as bB, createReplacer as bC, createTextRepairGenerator as bD, editCaptions as bE, extractTranscriptSegmentsForHotspots as bF, findGenerateTextLengthViolation as bG, generateChapters as bH, generateEmbeddings as bI, generateEngagementInsights as bJ, generateText as bK, generateVideoEmbeddings as bL, getModerationScores as bM, getSummaryAndTags as bN, hasBurnedInCaptions as bO, mapShotsToHotspots as bP, measureGenerateTextLength as bQ, normalizeTranslatedVtt as bR, planTextRepair as bS, profanityDetectionSchema as bT, questionAnswerSchema as bU, repairJsonSchema as bV, repairText as bW, resolveGenerateTextLengthLimit as bX, resolveGenerateTextLengthLimits as bY, resolveGenerateTextOptions as bZ, runTextRepairLoop as b_, type SummarizationPromptOverrides as ba, type SummarizationPromptSections as bb, type SummaryAndTagsResult as bc, type SummaryType as bd, type TextLengthLimit as be, type TextRepairModelOptions as bf, type ThumbnailModerationScore as bg, type ThumbnailModerationSkipReason as bh, type ThumbnailModerationStatus as bi, type TranscriptModerationScore as bj, type TranscriptModerationSkipReason as bk, type TranscriptModerationStatus as bl, type TranslationChunkingOptions as bm, type TranslationOptions as bn, type TranslationPayload as bo, type TranslationResult as bp, aggregateTokenUsage as bq, applyOverrideLists as br, applyReplacements as bs, applySpeakerReplacements as bt, applyTextRepair as bu, askQuestions as bv, buildReplacementRegex as bw, buildTranscriptWindows as bx, burnedInCaptionsSchema as by, censorVttContent as bz, type ReplaceAndCreateTrackInput as c, shouldSplitChunkTranslationError as c0, summarySchema as c1, transformCueText as c2, translateAudio as c3, translateCaptions as c4, translationSchema as c5, validateNeverTranslateTerms as c6, verifyNeverTranslateTerms as c7, type ReplaceExistingTracksPolicy as d, type ReplaceSourceTrackInput as e, type ReplaceableTrackType as f, type SupportedISO639_1 as g, type SupportedISO639_3 as h, type TextTrackSummary as i, type TextTrackTarget as j, type TrackReplacementBlocked as k, type TrackReplacementBlockedReason as l, type TrackSummary as m, type TrackTarget as n, buildMuxAiTrackPassthrough as o, findNameCollisionTextTracks as p, findSameLanguageTextTracks as q, getLanguageCodePair as r, getLanguageName as s, isDuplicateTrackNameError as t, isMuxGeneratedTextTrack as u, isUndeterminedLanguageCode as v, isValidISO639_1 as w, isValidISO639_3 as x, normalizeTrackLanguageCode as y, normalizeTrackName as z };
2363
+ export { type AutoCensorProfanityOptions as $, planSourceTrackReplacement as A, planTextTrackReplacement as B, replaceAndCreateTextTrack as C, replaceAndCreateTrack as D, replaceSourceTrack as E, summarizeTextTrack as F, toISO639_1 as G, toISO639_3 as H, type ISO639_1 as I, trackReplacementBlockedError as J, trackTargetFacts as K, type LanguageCodePair as L, MUX_TRACK_PASSTHROUGH_MAX_CHARS as M, validateTrackPassthrough as N, index as O, ASK_QUESTIONS_DEFAULT_MAX_ANSWER_OPTION_LENGTH as P, ASK_QUESTIONS_DEFAULT_MAX_FREE_FORM_ANSWER_LENGTH as Q, type ReplaceAndCreateTextTrackInput as R, type SourceTrackReplacementPolicy as S, type TextTrackReplacementPlan as T, ASK_QUESTIONS_MAX_QUESTIONS_PER_CALL as U, ASK_QUESTIONS_MAX_QUESTION_LENGTH as V, type AskQuestionsOptions as W, type AskQuestionsResult as X, type AskQuestionsType as Y, type AudioTranslationOptions as Z, type AudioTranslationResult as _, type ISO639_3 as a, type QuestionAnswerType as a$, type BurnedInCaptionsAnalysis as a0, type BurnedInCaptionsOptions as a1, type BurnedInCaptionsPromptOverrides as a2, type BurnedInCaptionsPromptSections as a3, type BurnedInCaptionsResult as a4, type CaptionReplacement as a5, type CensorMode as a6, type Chapter as a7, type ChapterSystemPromptSections as a8, type ChaptersOptions as a9, GENERATE_TEXT_VOICES as aA, GOOGLE_VISION_LIKELIHOOD_TO_SCORE as aB, type GenerateTextArtifact as aC, type GenerateTextCallToAction as aD, type GenerateTextChannel as aE, type GenerateTextFormat as aF, type GenerateTextKeyedItem as aG, type GenerateTextLengthLimit as aH, type GenerateTextOptions as aI, type GenerateTextResult as aJ, type GenerateTextVariant as aK, type GenerateTextVoice as aL, type GeneratedTextArtifact as aM, type GeneratedTextVariant as aN, HIVE_SEXUAL_CATEGORIES as aO, HIVE_VIOLENCE_CATEGORIES as aP, type HiveModerationOutput as aQ, type HiveModerationSource as aR, type ModerationOptions as aS, type ModerationProvider as aT, type ModerationResult as aU, type ModerationSurfaceStatus as aV, type MomentInsight as aW, type OverallInsight as aX, type ProfanityDetectionPayload as aY, type Question as aZ, type QuestionAnswer as a_, type ChaptersPromptOverrides as aa, type ChaptersPromptSections as ab, type ChaptersResult as ac, type ChaptersType as ad, DEFAULT_TRANSCRIPT_WINDOWING as ae, type DubbedCaptionsOutcome as af, type EditCaptionsOptions as ag, type EditCaptionsResult as ah, type EmbeddingsOptions as ai, type EmbeddingsResult as aj, type EngagementInsightsOptions as ak, type EngagementInsightsResult as al, GENERATE_TEXT_CALLS_TO_ACTION as am, GENERATE_TEXT_CHANNELS as an, GENERATE_TEXT_CHANNEL_CEILINGS as ao, GENERATE_TEXT_FORMATS as ap, GENERATE_TEXT_LENGTH_BOUNDS as aq, GENERATE_TEXT_MAX_ARTIFACTS as ar, GENERATE_TEXT_MAX_AUDIENCE_CHARS as as, GENERATE_TEXT_MAX_BRAND_TERMS as at, GENERATE_TEXT_MAX_BRAND_TERMS_TOTAL_CHARS as au, GENERATE_TEXT_MAX_BRAND_TERM_CHARS as av, GENERATE_TEXT_MAX_CONCURRENT_GENERATIONS as aw, GENERATE_TEXT_MAX_INSTRUCTIONS_CHARS as ax, GENERATE_TEXT_MAX_SHOT_FRAMES as ay, GENERATE_TEXT_MAX_VARIANTS as az, type ReplaceAndCreateTextTrackResult as b, resolveGenerateTextOptions as b$, type RepairAttempt as b0, type RepairCall as b1, type RepairFailureOutcome as b2, type RepairOptions as b3, type RepairPlan as b4, type RepairRejectionCode as b5, type RepairResult as b6, type RepairSpan as b7, type ReplacementRecord as b8, type SpeakerReplacement as b9, burnedInCaptionsSchema as bA, censorVttContent as bB, chapterSchema as bC, chaptersSchema as bD, createReplacer as bE, createTextRepairGenerator as bF, editCaptions as bG, extractTranscriptSegmentsForHotspots as bH, findGenerateTextLengthViolation as bI, generateChapters as bJ, generateEmbeddings as bK, generateEngagementInsights as bL, generateText as bM, generateVideoEmbeddings as bN, getModerationScores as bO, getSummaryAndTags as bP, hasBurnedInCaptions as bQ, mapShotsToHotspots as bR, measureGenerateTextLength as bS, normalizeTranslatedVtt as bT, planTextRepair as bU, profanityDetectionSchema as bV, questionAnswerSchema as bW, repairJsonSchema as bX, repairText as bY, resolveGenerateTextLengthLimit as bZ, resolveGenerateTextLengthLimits as b_, type StaticRenditionCleanupOutcome as ba, type SummarizationOptions as bb, type SummarizationPromptOverrides as bc, type SummarizationPromptSections as bd, type SummaryAndTagsResult as be, type SummaryType as bf, type TextLengthLimit as bg, type TextRepairModelOptions as bh, type ThumbnailModerationScore as bi, type ThumbnailModerationSkipReason as bj, type ThumbnailModerationStatus as bk, type TranscriptModerationScore as bl, type TranscriptModerationSkipReason as bm, type TranscriptModerationStatus as bn, type TranslationChunkingOptions as bo, type TranslationOptions as bp, type TranslationPayload as bq, type TranslationResult as br, aggregateTokenUsage as bs, applyOverrideLists as bt, applyReplacements as bu, applySpeakerReplacements as bv, applyTextRepair as bw, askQuestions as bx, buildReplacementRegex as by, buildTranscriptWindows as bz, type ReplaceAndCreateTrackInput as c, runTextRepairLoop as c0, selectGenerateTextShotFrames as c1, shouldSplitChunkTranslationError as c2, summarySchema as c3, transformCueText as c4, translateAudio as c5, translateCaptions as c6, translationSchema as c7, validateNeverTranslateTerms as c8, verifyNeverTranslateTerms as c9, type ReplaceExistingTracksPolicy as d, type ReplaceSourceTrackInput as e, type ReplaceableTrackType as f, type SupportedISO639_1 as g, type SupportedISO639_3 as h, type TextTrackSummary as i, type TextTrackTarget as j, type TrackReplacementBlocked as k, type TrackReplacementBlockedReason as l, type TrackSummary as m, type TrackTarget as n, buildMuxAiTrackPassthrough as o, findNameCollisionTextTracks as p, findSameLanguageTextTracks as q, getLanguageCodePair as r, getLanguageName as s, isDuplicateTrackNameError as t, isMuxGeneratedTextTrack as u, isUndeterminedLanguageCode as v, isValidISO639_1 as w, isValidISO639_3 as x, normalizeTrackLanguageCode as y, normalizeTrackName as z };
package/dist/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
- import { M as MuxAiErrorDependency, a as MuxAiErrorFacts, b as MUX_AI_ERROR_SOURCES, c as MuxAiErrorSource, d as MuxAiSiteDependencyCode, e as MuxAiErrorType, f as MuxAiError, g as MuxAiDependencyStatusCode, h as MuxAsset, i as MuxAiErrorFactValue, j as MuxAiErrorCode, C as ClassifiedError, W as WorkflowCredentials, k as ClassifiedErrorsOption, S as StoragePutObjectInput, l as StoragePresignGetObjectInput } from './transcripts-BkjWyvVz.js';
2
- export { A as AssetTextTrack, m as ChunkEmbedding, n as ChunkingStrategy, o as ClassifiedErrorInit, p as CodedClassification, E as Encrypted, q as EncryptedPayload, r as ErrorCatalogEntry, s as ErrorCauseSummary, I as ImageSubmissionMode, t as MUX_AI_DEPENDENCY_STATUS_CODES, u as MUX_AI_DEPENDENCY_STATUS_CODE_VALUES, v as MUX_AI_ERROR_CATALOG, w as MUX_AI_ERROR_CODES, x as MUX_AI_ERROR_CODE_VALUES, y as MUX_AI_ERROR_DEPENDENCIES, z as MUX_AI_ERROR_DEPENDENCY_VALUES, B as MUX_AI_ERROR_SOURCE_VALUES, D as MUX_AI_ERROR_TYPES, F as MUX_AI_ERROR_TYPE_VALUES, G as MuxAIOptions, H as MuxAiErrorInit, P as PlaybackAsset, J as PlaybackPolicy, K as ScopedMuxAIOptions, L as SerializedClassification, N as SourceAndDependency, O as StorageAdapter, T as TextChunk, Q as TokenChunkingConfig, R as TokenUsage, U as ToneType, V as UsageMetadata, X as VTTChunkingConfig, Y as VideoEmbeddingsResult, Z as WorkflowCredentialsInput, _ as WorkflowMuxClient, $ as WorkflowScope, a0 as assertNever, a1 as classificationInit, a2 as decryptFromWorkflow, a3 as encryptForWorkflow, a4 as errorDetailFact, a5 as internalError, a6 as isTransientStatus, a7 as restoreClassification, a8 as serializeClassification, a9 as wrapError } from './transcripts-BkjWyvVz.js';
3
- export { I as ISO639_1, a as ISO639_3, L as LanguageCodePair, M as MUX_TRACK_PASSTHROUGH_MAX_CHARS, R as ReplaceAndCreateTextTrackInput, b as ReplaceAndCreateTextTrackResult, c as ReplaceAndCreateTrackInput, d as ReplaceExistingTracksPolicy, e as ReplaceSourceTrackInput, f as ReplaceableTrackType, S as SourceTrackReplacementPolicy, g as SupportedISO639_1, h as SupportedISO639_3, T as TextTrackReplacementPlan, i as TextTrackSummary, j as TextTrackTarget, k as TrackReplacementBlocked, l as TrackReplacementBlockedReason, m as TrackSummary, n as TrackTarget, o as buildMuxAiTrackPassthrough, p as findNameCollisionTextTracks, q as findSameLanguageTextTracks, r as getLanguageCodePair, s as getLanguageName, t as isDuplicateTrackNameError, u as isMuxGeneratedTextTrack, v as isUndeterminedLanguageCode, w as isValidISO639_1, x as isValidISO639_3, y as normalizeTrackLanguageCode, z as normalizeTrackName, A as planSourceTrackReplacement, B as planTextTrackReplacement, C as replaceAndCreateTextTrack, D as replaceAndCreateTrack, E as replaceSourceTrack, F as summarizeTextTrack, G as toISO639_1, H as toISO639_3, J as trackReplacementBlockedError, K as trackTargetFacts, N as validateTrackPassthrough, O as workflows } from './index-D1v-3Mgj.js';
1
+ import { M as MuxAiErrorDependency, a as MuxAiErrorFacts, b as MUX_AI_ERROR_SOURCES, c as MuxAiErrorSource, d as MuxAiSiteDependencyCode, e as MuxAiErrorType, f as MuxAiError, g as MuxAiDependencyStatusCode, h as MuxAsset, i as MuxAiErrorFactValue, j as MuxAiErrorCode, C as ClassifiedError, W as WorkflowCredentials, k as ClassifiedErrorsOption, S as StoragePutObjectInput, l as StoragePresignGetObjectInput } from './transcripts-DVMW9ZSs.js';
2
+ export { A as AssetTextTrack, m as ChunkEmbedding, n as ChunkingStrategy, o as ClassifiedErrorInit, p as CodedClassification, E as Encrypted, q as EncryptedPayload, r as ErrorCatalogEntry, s as ErrorCauseSummary, I as ImageSubmissionMode, t as MUX_AI_DEPENDENCY_STATUS_CODES, u as MUX_AI_DEPENDENCY_STATUS_CODE_VALUES, v as MUX_AI_ERROR_CATALOG, w as MUX_AI_ERROR_CODES, x as MUX_AI_ERROR_CODE_VALUES, y as MUX_AI_ERROR_DEPENDENCIES, z as MUX_AI_ERROR_DEPENDENCY_VALUES, B as MUX_AI_ERROR_SOURCE_VALUES, D as MUX_AI_ERROR_TYPES, F as MUX_AI_ERROR_TYPE_VALUES, G as MuxAIOptions, H as MuxAiErrorInit, P as PlaybackAsset, J as PlaybackPolicy, K as ScopedMuxAIOptions, L as SerializedClassification, N as SourceAndDependency, O as StorageAdapter, T as TextChunk, Q as TokenChunkingConfig, R as TokenUsage, U as ToneType, V as UsageMetadata, X as VTTChunkingConfig, Y as VideoEmbeddingsResult, Z as WorkflowCredentialsInput, _ as WorkflowMuxClient, $ as WorkflowScope, a0 as assertNever, a1 as classificationInit, a2 as decryptFromWorkflow, a3 as encryptForWorkflow, a4 as errorDetailFact, a5 as internalError, a6 as isTransientStatus, a7 as restoreClassification, a8 as serializeClassification, a9 as wrapError } from './transcripts-DVMW9ZSs.js';
3
+ export { I as ISO639_1, a as ISO639_3, L as LanguageCodePair, M as MUX_TRACK_PASSTHROUGH_MAX_CHARS, R as ReplaceAndCreateTextTrackInput, b as ReplaceAndCreateTextTrackResult, c as ReplaceAndCreateTrackInput, d as ReplaceExistingTracksPolicy, e as ReplaceSourceTrackInput, f as ReplaceableTrackType, S as SourceTrackReplacementPolicy, g as SupportedISO639_1, h as SupportedISO639_3, T as TextTrackReplacementPlan, i as TextTrackSummary, j as TextTrackTarget, k as TrackReplacementBlocked, l as TrackReplacementBlockedReason, m as TrackSummary, n as TrackTarget, o as buildMuxAiTrackPassthrough, p as findNameCollisionTextTracks, q as findSameLanguageTextTracks, r as getLanguageCodePair, s as getLanguageName, t as isDuplicateTrackNameError, u as isMuxGeneratedTextTrack, v as isUndeterminedLanguageCode, w as isValidISO639_1, x as isValidISO639_3, y as normalizeTrackLanguageCode, z as normalizeTrackName, A as planSourceTrackReplacement, B as planTextTrackReplacement, C as replaceAndCreateTextTrack, D as replaceAndCreateTrack, E as replaceSourceTrack, F as summarizeTextTrack, G as toISO639_1, H as toISO639_3, J as trackReplacementBlockedError, K as trackTargetFacts, N as validateTrackPassthrough, O as workflows } from './index-DrQLwBMP.js';
4
4
  import { WORKFLOW_SERIALIZE, WORKFLOW_DESERIALIZE } from '@workflow/serde';
5
- export { i as primitives } from './index-CV-IZBbE.js';
5
+ export { i as primitives } from './index-BP2WF8De.js';
6
6
  import '@mux/ts';
7
7
  import 'ai';
8
8
  import 'zod';
@@ -11,7 +11,7 @@ import '@ai-sdk/anthropic';
11
11
  import '@ai-sdk/google';
12
12
  import '@ai-sdk/openai';
13
13
 
14
- var version = "0.67.0-canary.110";
14
+ var version = "0.68.0-canary.112";
15
15
 
16
16
  interface DependencyErrorInit {
17
17
  dependency: MuxAiErrorDependency;
@@ -290,11 +290,11 @@ declare const MUX_AI_ERROR_PUBLIC_MAPPINGS: {
290
290
  readonly message: "The transcript has no usable content.";
291
291
  };
292
292
  readonly invalid_parameter: {
293
- readonly facts: readonly ["parameter", "reason", "count", "max", "index", "length", "maxLength", "characters", "with", "withValue", "allowed", "value", "parameters"];
293
+ readonly facts: readonly ["parameter", "reason", "count", "max", "index", "length", "maxLength", "characters", "with", "withValue", "allowed", "value", "parameters", "format"];
294
294
  readonly message: typeof invalidParameterMessage;
295
295
  };
296
296
  readonly parameter_out_of_range: {
297
- readonly facts: readonly ["parameter", "value", "min", "max", "integer"];
297
+ readonly facts: readonly ["parameter", "value", "min", "max", "integer", "unit"];
298
298
  readonly message: (facts: Readonly<Record<string, MuxAiErrorFactValue>>) => string;
299
299
  };
300
300
  readonly asset_duration_unavailable: {