@mux/ai 0.67.0 → 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.
- package/dist/{index-CV-IZBbE.d.ts → index-BP2WF8De.d.ts} +1 -1
- package/dist/{index-D1v-3Mgj.d.ts → index-DrQLwBMP.d.ts} +40 -22
- package/dist/index.d.ts +7 -7
- package/dist/index.js +300 -116
- package/dist/index.js.map +1 -1
- package/dist/primitives/index.d.ts +2 -2
- package/dist/primitives/index.js +2 -2
- package/dist/primitives/index.js.map +1 -1
- package/dist/{transcripts-BkjWyvVz.d.ts → transcripts-DVMW9ZSs.d.ts} +2 -2
- package/dist/workflows/index.d.ts +2 -2
- package/dist/workflows/index.js +282 -115
- package/dist/workflows/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -409,9 +409,9 @@ declare const MUX_AI_ERROR_CODES: {
|
|
|
409
409
|
readonly INVALID_SCOPE: "invalid_scope";
|
|
410
410
|
/** Existing tracks block writing the output track under the chosen replacement policy. Facts: `reason` (`policy_fail`, `not_generated`, `name_collision`, `primary_audio`), `conflictingTracks` and the target track, plus `sourceRestored` and `restoredTrackId` when a source track was deleted first. */
|
|
411
411
|
readonly TRACK_REPLACEMENT_BLOCKED: "track_replacement_blocked";
|
|
412
|
-
/** An option's value can't be used. Facts: `parameter` (the caller's option name), `reason` (`too_many`, `empty`, `too_long`, `disallowed_characters`, `not_normalized`, `multiline`, `required_with`, `conflicts_with`, `not_allowed`, `one_of_required`, `audio_only`, `not_positive`) and the values the reason names: `count` and `max`, `index` (0-based entry), `length` and `maxLength`, `characters`, `with` and `withValue` (the other option), `allowed` and `value`, `parameters` (the options to choose from). */
|
|
412
|
+
/** An option's value can't be used. Facts: `parameter` (the caller's option name), `reason` (`too_many`, `empty`, `too_long`, `disallowed_characters`, `not_normalized`, `multiline`, `required_with`, `conflicts_with`, `not_allowed`, `one_of_required`, `audio_only`, `not_positive`, `invalid_format`, `duplicate`) and the values the reason names: `count` and `max`, `index` (0-based entry), `length` and `maxLength`, `characters`, `with` and `withValue` (the other option), `allowed` and `value`, `parameters` (the options to choose from), `format` (what the value must look like). `duplicate` is a list of keyed entries that repeats a key (`value`). */
|
|
413
413
|
readonly INVALID_PARAMETER: "invalid_parameter";
|
|
414
|
-
/** A numeric option is outside its allowed range. Facts: `parameter` (the caller's option name), `value`, `min`, `max`,
|
|
414
|
+
/** A numeric option is outside its allowed range. Facts: `parameter` (the caller's option name), `value`, `min`, `max`, `integer` when it must be a whole number, and `unit` when the bounds have one. The public wording names the bound that was crossed. */
|
|
415
415
|
readonly PARAMETER_OUT_OF_RANGE: "parameter_out_of_range";
|
|
416
416
|
/** No ready caption track matches the requested track or language. Facts: `trackId` or `languageCode`, and what is available. */
|
|
417
417
|
readonly CAPTION_TRACK_NOT_FOUND: "caption_track_not_found";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { P as ASK_QUESTIONS_DEFAULT_MAX_ANSWER_OPTION_LENGTH, Q as ASK_QUESTIONS_DEFAULT_MAX_FREE_FORM_ANSWER_LENGTH, U as ASK_QUESTIONS_MAX_QUESTIONS_PER_CALL, V as ASK_QUESTIONS_MAX_QUESTION_LENGTH, W as AskQuestionsOptions, X as AskQuestionsResult, Y as AskQuestionsType, Z as AudioTranslationOptions, _ as AudioTranslationResult, $ as AutoCensorProfanityOptions, a0 as BurnedInCaptionsAnalysis, a1 as BurnedInCaptionsOptions, a2 as BurnedInCaptionsPromptOverrides, a3 as BurnedInCaptionsPromptSections, a4 as BurnedInCaptionsResult, a5 as CaptionReplacement, a6 as CensorMode, a7 as Chapter, a8 as ChapterSystemPromptSections, a9 as ChaptersOptions, aa as ChaptersPromptOverrides, ab as ChaptersPromptSections, ac as ChaptersResult, ad as ChaptersType, ae as DEFAULT_TRANSCRIPT_WINDOWING, af as DubbedCaptionsOutcome, ag as EditCaptionsOptions, ah as EditCaptionsResult, ai as EmbeddingsOptions, aj as EmbeddingsResult, ak as EngagementInsightsOptions, al as EngagementInsightsResult, am as GENERATE_TEXT_CALLS_TO_ACTION, an as GENERATE_TEXT_CHANNELS, ao as GENERATE_TEXT_CHANNEL_CEILINGS, ap as GENERATE_TEXT_FORMATS, aq as GENERATE_TEXT_LENGTH_BOUNDS, ar as GENERATE_TEXT_MAX_ARTIFACTS, as as GENERATE_TEXT_MAX_AUDIENCE_CHARS, at as GENERATE_TEXT_MAX_BRAND_TERMS, au as GENERATE_TEXT_MAX_BRAND_TERMS_TOTAL_CHARS, av as GENERATE_TEXT_MAX_BRAND_TERM_CHARS, aw as GENERATE_TEXT_MAX_CONCURRENT_GENERATIONS, ax as GENERATE_TEXT_MAX_INSTRUCTIONS_CHARS, ay as GENERATE_TEXT_MAX_SHOT_FRAMES, az as GENERATE_TEXT_MAX_VARIANTS, aA as GENERATE_TEXT_VOICES, aB as GOOGLE_VISION_LIKELIHOOD_TO_SCORE, aC as GenerateTextArtifact, aD as GenerateTextCallToAction, aE as GenerateTextChannel, aF as GenerateTextFormat, aG as GenerateTextKeyedItem, aH as GenerateTextLengthLimit, aI as GenerateTextOptions, aJ as GenerateTextResult, aK as GenerateTextVariant, aL as GenerateTextVoice, aM as GeneratedTextArtifact, aN as GeneratedTextVariant, aO as HIVE_SEXUAL_CATEGORIES, aP as HIVE_VIOLENCE_CATEGORIES, aQ as HiveModerationOutput, aR as HiveModerationSource, aS as ModerationOptions, aT as ModerationProvider, aU as ModerationResult, aV as ModerationSurfaceStatus, aW as MomentInsight, aX as OverallInsight, aY as ProfanityDetectionPayload, aZ as Question, a_ as QuestionAnswer, a$ as QuestionAnswerType, b0 as RepairAttempt, b1 as RepairCall, b2 as
|
|
1
|
+
export { P as ASK_QUESTIONS_DEFAULT_MAX_ANSWER_OPTION_LENGTH, Q as ASK_QUESTIONS_DEFAULT_MAX_FREE_FORM_ANSWER_LENGTH, U as ASK_QUESTIONS_MAX_QUESTIONS_PER_CALL, V as ASK_QUESTIONS_MAX_QUESTION_LENGTH, W as AskQuestionsOptions, X as AskQuestionsResult, Y as AskQuestionsType, Z as AudioTranslationOptions, _ as AudioTranslationResult, $ as AutoCensorProfanityOptions, a0 as BurnedInCaptionsAnalysis, a1 as BurnedInCaptionsOptions, a2 as BurnedInCaptionsPromptOverrides, a3 as BurnedInCaptionsPromptSections, a4 as BurnedInCaptionsResult, a5 as CaptionReplacement, a6 as CensorMode, a7 as Chapter, a8 as ChapterSystemPromptSections, a9 as ChaptersOptions, aa as ChaptersPromptOverrides, ab as ChaptersPromptSections, ac as ChaptersResult, ad as ChaptersType, ae as DEFAULT_TRANSCRIPT_WINDOWING, af as DubbedCaptionsOutcome, ag as EditCaptionsOptions, ah as EditCaptionsResult, ai as EmbeddingsOptions, aj as EmbeddingsResult, ak as EngagementInsightsOptions, al as EngagementInsightsResult, am as GENERATE_TEXT_CALLS_TO_ACTION, an as GENERATE_TEXT_CHANNELS, ao as GENERATE_TEXT_CHANNEL_CEILINGS, ap as GENERATE_TEXT_FORMATS, aq as GENERATE_TEXT_LENGTH_BOUNDS, ar as GENERATE_TEXT_MAX_ARTIFACTS, as as GENERATE_TEXT_MAX_AUDIENCE_CHARS, at as GENERATE_TEXT_MAX_BRAND_TERMS, au as GENERATE_TEXT_MAX_BRAND_TERMS_TOTAL_CHARS, av as GENERATE_TEXT_MAX_BRAND_TERM_CHARS, aw as GENERATE_TEXT_MAX_CONCURRENT_GENERATIONS, ax as GENERATE_TEXT_MAX_INSTRUCTIONS_CHARS, ay as GENERATE_TEXT_MAX_SHOT_FRAMES, az as GENERATE_TEXT_MAX_VARIANTS, aA as GENERATE_TEXT_VOICES, aB as GOOGLE_VISION_LIKELIHOOD_TO_SCORE, aC as GenerateTextArtifact, aD as GenerateTextCallToAction, aE as GenerateTextChannel, aF as GenerateTextFormat, aG as GenerateTextKeyedItem, aH as GenerateTextLengthLimit, aI as GenerateTextOptions, aJ as GenerateTextResult, aK as GenerateTextVariant, aL as GenerateTextVoice, aM as GeneratedTextArtifact, aN as GeneratedTextVariant, aO as HIVE_SEXUAL_CATEGORIES, aP as HIVE_VIOLENCE_CATEGORIES, aQ as HiveModerationOutput, aR as HiveModerationSource, aS as ModerationOptions, aT as ModerationProvider, aU as ModerationResult, aV as ModerationSurfaceStatus, aW as MomentInsight, aX as OverallInsight, aY as ProfanityDetectionPayload, aZ as Question, a_ as QuestionAnswer, a$ as QuestionAnswerType, b0 as RepairAttempt, b1 as RepairCall, b2 as RepairFailureOutcome, b3 as RepairOptions, b4 as RepairPlan, b5 as RepairRejectionCode, b6 as RepairResult, b7 as RepairSpan, b8 as ReplacementRecord, b9 as SpeakerReplacement, ba as StaticRenditionCleanupOutcome, bb as SummarizationOptions, bc as SummarizationPromptOverrides, bd as SummarizationPromptSections, be as SummaryAndTagsResult, bf as SummaryType, bg as TextLengthLimit, bh as TextRepairModelOptions, bi as ThumbnailModerationScore, bj as ThumbnailModerationSkipReason, bk as ThumbnailModerationStatus, bl as TranscriptModerationScore, bm as TranscriptModerationSkipReason, bn as TranscriptModerationStatus, bo as TranslationChunkingOptions, bp as TranslationOptions, bq as TranslationPayload, br as TranslationResult, bs as aggregateTokenUsage, bt as applyOverrideLists, bu as applyReplacements, bv as applySpeakerReplacements, bw as applyTextRepair, bx as askQuestions, by as buildReplacementRegex, bz as buildTranscriptWindows, bA as burnedInCaptionsSchema, bB as censorVttContent, bC as chapterSchema, bD as chaptersSchema, bE as createReplacer, bF as createTextRepairGenerator, bG as editCaptions, bH as extractTranscriptSegmentsForHotspots, bI as findGenerateTextLengthViolation, bJ as generateChapters, bK as generateEmbeddings, bL as generateEngagementInsights, bM as generateText, bN as generateVideoEmbeddings, bO as getModerationScores, bP as getSummaryAndTags, bQ as hasBurnedInCaptions, bR as mapShotsToHotspots, bS as measureGenerateTextLength, bT as normalizeTranslatedVtt, bU as planTextRepair, bV as profanityDetectionSchema, bW as questionAnswerSchema, bX as repairJsonSchema, bY as repairText, bZ as resolveGenerateTextLengthLimit, b_ as resolveGenerateTextLengthLimits, b$ as resolveGenerateTextOptions, c0 as runTextRepairLoop, c1 as selectGenerateTextShotFrames, c2 as shouldSplitChunkTranslationError, c3 as summarySchema, c4 as transformCueText, c5 as translateAudio, c6 as translateCaptions, c7 as translationSchema, c8 as validateNeverTranslateTerms, c9 as verifyNeverTranslateTerms } from '../index-DrQLwBMP.js';
|
|
2
2
|
export { D as DEFAULT_DESCRIPTION_LENGTH, a as DEFAULT_SUMMARY_KEYWORD_LIMIT, b as DEFAULT_TITLE_LENGTH } from '../summarization-BFmhXeAu.js';
|
|
3
3
|
import 'ai';
|
|
4
|
-
import '../transcripts-
|
|
4
|
+
import '../transcripts-DVMW9ZSs.js';
|
|
5
5
|
import '@workflow/serde';
|
|
6
6
|
import '@mux/ts';
|
|
7
7
|
import 'zod';
|