agora-agents 2.5.0 → 2.6.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 (75) hide show
  1. package/dist/cjs/AgoraPoolClient.js +39 -1
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/agentkit/Agent.d.ts +4 -4
  4. package/dist/cjs/agentkit/Agent.js +2 -1
  5. package/dist/cjs/agentkit/__tests__/area-aware-vendors.test.js +26 -0
  6. package/dist/cjs/agentkit/index.d.ts +8 -8
  7. package/dist/cjs/agentkit/index.js +6 -2
  8. package/dist/cjs/agentkit/region-vendors.d.ts +3 -1
  9. package/dist/cjs/agentkit/types.d.ts +5 -3
  10. package/dist/cjs/agentkit/vendors/base.d.ts +11 -1
  11. package/dist/cjs/agentkit/vendors/base.js +18 -2
  12. package/dist/cjs/agentkit/vendors/cn.d.ts +8 -0
  13. package/dist/cjs/agentkit/vendors/cn.js +9 -3
  14. package/dist/cjs/agentkit/vendors/mllm.d.ts +99 -1
  15. package/dist/cjs/agentkit/vendors/mllm.js +68 -1
  16. package/dist/cjs/agentkit/vendors/stt.d.ts +3 -1
  17. package/dist/cjs/agentkit/vendors/stt.js +7 -4
  18. package/dist/cjs/agentkit/vendors/tts.d.ts +19 -0
  19. package/dist/cjs/agentkit/vendors/tts.js +16 -1
  20. package/dist/cjs/api/types/AresAsrParams.d.ts +6 -1
  21. package/dist/cjs/api/types/AssemblyAiAsrParams.d.ts +1 -1
  22. package/dist/cjs/api/types/FengmingAsr.d.ts +1 -2
  23. package/dist/cjs/api/types/FengmingAsrParams.d.ts +9 -0
  24. package/dist/cjs/api/types/FengmingAsrParams.js +3 -0
  25. package/dist/cjs/api/types/Mllm.d.ts +4 -0
  26. package/dist/cjs/api/types/Mllm.js +2 -0
  27. package/dist/cjs/api/types/Tts.d.ts +4 -1
  28. package/dist/cjs/api/types/TypecastTts.d.ts +9 -0
  29. package/dist/cjs/api/types/TypecastTts.js +3 -0
  30. package/dist/cjs/api/types/TypecastTtsParams.d.ts +13 -0
  31. package/dist/cjs/api/types/TypecastTtsParams.js +3 -0
  32. package/dist/cjs/api/types/index.d.ts +3 -0
  33. package/dist/cjs/api/types/index.js +3 -0
  34. package/dist/cjs/index.d.ts +2 -2
  35. package/dist/cjs/index.js +7 -3
  36. package/dist/cjs/version.d.ts +1 -1
  37. package/dist/cjs/version.js +1 -1
  38. package/dist/esm/AgoraPoolClient.mjs +40 -2
  39. package/dist/esm/BaseClient.mjs +2 -2
  40. package/dist/esm/agentkit/Agent.d.mts +4 -4
  41. package/dist/esm/agentkit/Agent.mjs +2 -1
  42. package/dist/esm/agentkit/__tests__/area-aware-vendors.test.mjs +26 -0
  43. package/dist/esm/agentkit/index.d.mts +8 -8
  44. package/dist/esm/agentkit/index.mjs +3 -3
  45. package/dist/esm/agentkit/region-vendors.d.mts +3 -1
  46. package/dist/esm/agentkit/types.d.mts +5 -3
  47. package/dist/esm/agentkit/vendors/base.d.mts +11 -1
  48. package/dist/esm/agentkit/vendors/base.mjs +16 -1
  49. package/dist/esm/agentkit/vendors/cn.d.mts +8 -0
  50. package/dist/esm/agentkit/vendors/cn.mjs +9 -3
  51. package/dist/esm/agentkit/vendors/mllm.d.mts +99 -1
  52. package/dist/esm/agentkit/vendors/mllm.mjs +66 -1
  53. package/dist/esm/agentkit/vendors/stt.d.mts +3 -1
  54. package/dist/esm/agentkit/vendors/stt.mjs +7 -4
  55. package/dist/esm/agentkit/vendors/tts.d.mts +19 -0
  56. package/dist/esm/agentkit/vendors/tts.mjs +14 -0
  57. package/dist/esm/api/types/AresAsrParams.d.mts +6 -1
  58. package/dist/esm/api/types/AssemblyAiAsrParams.d.mts +1 -1
  59. package/dist/esm/api/types/FengmingAsr.d.mts +1 -2
  60. package/dist/esm/api/types/FengmingAsrParams.d.mts +9 -0
  61. package/dist/esm/api/types/FengmingAsrParams.mjs +2 -0
  62. package/dist/esm/api/types/Mllm.d.mts +4 -0
  63. package/dist/esm/api/types/Mllm.mjs +2 -0
  64. package/dist/esm/api/types/Tts.d.mts +4 -1
  65. package/dist/esm/api/types/TypecastTts.d.mts +9 -0
  66. package/dist/esm/api/types/TypecastTts.mjs +2 -0
  67. package/dist/esm/api/types/TypecastTtsParams.d.mts +13 -0
  68. package/dist/esm/api/types/TypecastTtsParams.mjs +2 -0
  69. package/dist/esm/api/types/index.d.mts +3 -0
  70. package/dist/esm/api/types/index.mjs +3 -0
  71. package/dist/esm/index.d.mts +2 -2
  72. package/dist/esm/index.mjs +3 -3
  73. package/dist/esm/version.d.mts +1 -1
  74. package/dist/esm/version.mjs +1 -1
  75. package/package.json +1 -1
@@ -197,10 +197,10 @@ class AssemblyAISTT extends base_js_1.BaseSTT {
197
197
  this.options = options;
198
198
  }
199
199
  toConfig() {
200
- const { apiKey, language, uri, additionalParams } = this.options;
200
+ const { apiKey, language, ws_url, additionalParams } = this.options;
201
201
  return {
202
202
  vendor: "assemblyai",
203
- params: Object.assign(Object.assign(Object.assign(Object.assign({}, additionalParams), { api_key: apiKey }), (language && { language })), (uri && { uri })),
203
+ params: Object.assign(Object.assign(Object.assign(Object.assign({}, additionalParams), { api_key: apiKey }), (language && { language })), (ws_url && { ws_url })),
204
204
  };
205
205
  }
206
206
  }
@@ -219,8 +219,11 @@ class AresSTT extends base_js_1.BaseSTT {
219
219
  this.options = options;
220
220
  }
221
221
  toConfig() {
222
- const { additionalParams } = this.options;
223
- return Object.assign({ vendor: "ares" }, (additionalParams && Object.keys(additionalParams).length > 0 && { params: additionalParams }));
222
+ const { keywords, additionalParams } = this.options;
223
+ const hasParams = keywords !== undefined || (additionalParams !== undefined && Object.keys(additionalParams).length > 0);
224
+ return Object.assign({ vendor: "ares" }, (hasParams && {
225
+ params: Object.assign(Object.assign({}, additionalParams), (keywords !== undefined && { keywords })),
226
+ }));
224
227
  }
225
228
  }
226
229
  exports.AresSTT = AresSTT;
@@ -322,6 +322,25 @@ export declare class MistralTTS extends BaseTTS {
322
322
  constructor(options: MistralTTSOptions);
323
323
  toConfig(): TtsConfig;
324
324
  }
325
+ /** Constructor options for Typecast TTS. */
326
+ export interface TypecastTTSOptions {
327
+ /** Typecast API key */
328
+ apiKey: string;
329
+ /** Typecast voice identifier */
330
+ voiceId: string;
331
+ /** Typecast TTS model name (e.g., 'ssfm-v30') */
332
+ model: string;
333
+ /** Additional vendor-specific parameters */
334
+ additionalParams?: Record<string, unknown>;
335
+ /** Skip patterns for bracketed content */
336
+ skipPatterns?: number[];
337
+ }
338
+ /** Typecast TTS vendor. */
339
+ export declare class TypecastTTS extends BaseTTS {
340
+ private readonly options;
341
+ constructor(options: TypecastTTSOptions);
342
+ toConfig(): TtsConfig;
343
+ }
325
344
  /**
326
345
  * Constructor options for Hume AI TTS.
327
346
  */
@@ -3,7 +3,7 @@
3
3
  * Type-safe TTS (Text-to-Speech) vendor classes.
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.XAiTTS = exports.GenericTTS = exports.MurfTTS = exports.SarvamTTS = exports.MiniMaxTTS = exports.FishAudioTTS = exports.RimeTTS = exports.HumeAITTS = exports.MistralTTS = exports.GradiumTTS = exports.DeepgramTTS = exports.AmazonTTS = exports.GoogleTTS = exports.CartesiaTTS = exports.OpenAITTS = exports.MicrosoftTTS = exports.ElevenLabsTTS = void 0;
6
+ exports.XAiTTS = exports.GenericTTS = exports.MurfTTS = exports.SarvamTTS = exports.MiniMaxTTS = exports.FishAudioTTS = exports.RimeTTS = exports.HumeAITTS = exports.TypecastTTS = exports.MistralTTS = exports.GradiumTTS = exports.DeepgramTTS = exports.AmazonTTS = exports.GoogleTTS = exports.CartesiaTTS = exports.OpenAITTS = exports.MicrosoftTTS = exports.ElevenLabsTTS = void 0;
7
7
  const constants_js_1 = require("../constants.js");
8
8
  const presets_js_1 = require("../presets.js");
9
9
  const base_js_1 = require("./base.js");
@@ -223,6 +223,21 @@ class MistralTTS extends base_js_1.BaseTTS {
223
223
  }
224
224
  }
225
225
  exports.MistralTTS = MistralTTS;
226
+ /** Typecast TTS vendor. */
227
+ class TypecastTTS extends base_js_1.BaseTTS {
228
+ constructor(options) {
229
+ super();
230
+ requireString(options.apiKey, "apiKey", "TypecastTTS");
231
+ requireString(options.voiceId, "voiceId", "TypecastTTS");
232
+ requireString(options.model, "model", "TypecastTTS");
233
+ this.options = options;
234
+ }
235
+ toConfig() {
236
+ const { apiKey, voiceId, model, additionalParams, skipPatterns } = this.options;
237
+ return Object.assign({ vendor: "typecast", params: Object.assign(Object.assign({}, additionalParams), { api_key: apiKey, voice_id: voiceId, model }) }, (skipPatterns && { skip_patterns: skipPatterns }));
238
+ }
239
+ }
240
+ exports.TypecastTTS = TypecastTTS;
226
241
  /**
227
242
  * Hume AI TTS vendor.
228
243
  *
@@ -1,4 +1,9 @@
1
1
  /**
2
2
  * ARES ASR configuration parameters.
3
3
  */
4
- export type AresAsrParams = Record<string, unknown>;
4
+ export interface AresAsrParams {
5
+ /** A list of hotwords to improve ASR accuracy. */
6
+ keywords?: string[];
7
+ /** Accepts any additional properties */
8
+ [key: string]: any;
9
+ }
@@ -7,7 +7,7 @@ export interface AssemblyAiAsrParams {
7
7
  /** Language code for speech recognition */
8
8
  language: string;
9
9
  /** WebSocket URL for AssemblyAI's streaming API */
10
- uri?: string | null;
10
+ ws_url?: string | null;
11
11
  /** Accepts any additional properties */
12
12
  [key: string]: any;
13
13
  }
@@ -4,8 +4,7 @@ import type * as Agora from "../index.js";
4
4
  */
5
5
  export interface FengmingAsr {
6
6
  language?: Agora.AsrLanguage;
7
- /** Agora Fengming ASR configuration parameters. */
8
- params?: Record<string, unknown>;
7
+ params?: Agora.FengmingAsrParams;
9
8
  /** Accepts any additional properties */
10
9
  [key: string]: any;
11
10
  }
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Agora Fengming ASR configuration parameters.
3
+ */
4
+ export interface FengmingAsrParams {
5
+ /** A list of hotwords to improve ASR accuracy. */
6
+ keywords?: string[];
7
+ /** Accepts any additional properties */
8
+ [key: string]: any;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -18,6 +18,8 @@ export interface Mllm {
18
18
  /** Array of conversation items used for short-term memory management. */
19
19
  messages?: Record<string, unknown>[] | null;
20
20
  params?: Agora.MllmParams;
21
+ /** The number of conversation history messages cached in the MLLM. Applicable to Azure OpenAI Realtime API only. */
22
+ max_history?: number;
21
23
  /** MLLM input modalities. */
22
24
  input_modalities?: string[] | null;
23
25
  /** MLLM output modalities. */
@@ -36,9 +38,11 @@ export declare namespace Mllm {
36
38
  /** MLLM provider. */
37
39
  const Vendor: {
38
40
  readonly Openai: "openai";
41
+ readonly Azure: "azure";
39
42
  readonly Gemini: "gemini";
40
43
  readonly Vertexai: "vertexai";
41
44
  readonly Xai: "xai";
45
+ readonly QwenOmni: "qwen_omni";
42
46
  };
43
47
  type Vendor = (typeof Vendor)[keyof typeof Vendor];
44
48
  }
@@ -7,8 +7,10 @@ var Mllm;
7
7
  /** MLLM provider. */
8
8
  Mllm.Vendor = {
9
9
  Openai: "openai",
10
+ Azure: "azure",
10
11
  Gemini: "gemini",
11
12
  Vertexai: "vertexai",
12
13
  Xai: "xai",
14
+ QwenOmni: "qwen_omni",
13
15
  };
14
16
  })(Mllm || (exports.Mllm = Mllm = {}));
@@ -1,5 +1,5 @@
1
1
  import type * as Agora from "../index.js";
2
- export type Tts = Agora.Tts.Tencent | Agora.Tts.Bytedance | Agora.Tts.Microsoft | Agora.Tts.Elevenlabs | Agora.Tts.Minimax | Agora.Tts.Murf | Agora.Tts.Cartesia | Agora.Tts.Openai | Agora.Tts.Humeai | Agora.Tts.Rime | Agora.Tts.Fishaudio | Agora.Tts.Google | Agora.Tts.Amazon | Agora.Tts.Sarvam | Agora.Tts.GenericHttp | Agora.Tts.Xai | Agora.Tts.Deepgram | Agora.Tts.Cosyvoice | Agora.Tts.BytedanceDuplex | Agora.Tts.Stepfun | Agora.Tts.Gradium | Agora.Tts.Mistral;
2
+ export type Tts = Agora.Tts.Tencent | Agora.Tts.Bytedance | Agora.Tts.Microsoft | Agora.Tts.Elevenlabs | Agora.Tts.Minimax | Agora.Tts.Murf | Agora.Tts.Cartesia | Agora.Tts.Openai | Agora.Tts.Humeai | Agora.Tts.Rime | Agora.Tts.Fishaudio | Agora.Tts.Google | Agora.Tts.Amazon | Agora.Tts.Sarvam | Agora.Tts.GenericHttp | Agora.Tts.Xai | Agora.Tts.Deepgram | Agora.Tts.Cosyvoice | Agora.Tts.BytedanceDuplex | Agora.Tts.Stepfun | Agora.Tts.Gradium | Agora.Tts.Mistral | Agora.Tts.Typecast;
3
3
  export declare namespace Tts {
4
4
  interface Tencent extends Agora.TencentTts {
5
5
  vendor: "tencent";
@@ -67,4 +67,7 @@ export declare namespace Tts {
67
67
  interface Mistral extends Agora.MistralTts {
68
68
  vendor: "mistral";
69
69
  }
70
+ interface Typecast extends Agora.TypecastTts {
71
+ vendor: "typecast";
72
+ }
70
73
  }
@@ -0,0 +1,9 @@
1
+ import type * as Agora from "../index.js";
2
+ /**
3
+ * Typecast Text-to-Speech configuration.
4
+ */
5
+ export interface TypecastTts {
6
+ params: Agora.TypecastTtsParams;
7
+ /** Controls whether the TTS module skips bracketed content when reading LLM response text. */
8
+ skip_patterns?: number[];
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Typecast TTS configuration parameters.
3
+ */
4
+ export interface TypecastTtsParams {
5
+ /** Typecast API key. */
6
+ api_key: string;
7
+ /** Typecast voice identifier (for example, "tc_60e5426de8b95f1d3000d7b5"). */
8
+ voice_id: string;
9
+ /** Typecast TTS model name (for example, "ssfm-v30"). */
10
+ model: string;
11
+ /** Accepts any additional properties */
12
+ [key: string]: any;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -26,6 +26,7 @@ export * from "./DeepgramTtsParams.js";
26
26
  export * from "./ElevenLabsTts.js";
27
27
  export * from "./ElevenLabsTtsParams.js";
28
28
  export * from "./FengmingAsr.js";
29
+ export * from "./FengmingAsrParams.js";
29
30
  export * from "./FishAudioTts.js";
30
31
  export * from "./FishAudioTtsParams.js";
31
32
  export * from "./GenericHttpTts.js";
@@ -80,6 +81,8 @@ export * from "./TencentAsrParams.js";
80
81
  export * from "./TencentTts.js";
81
82
  export * from "./TencentTtsParams.js";
82
83
  export * from "./Tts.js";
84
+ export * from "./TypecastTts.js";
85
+ export * from "./TypecastTtsParams.js";
83
86
  export * from "./XAiAsr.js";
84
87
  export * from "./XAiAsrParams.js";
85
88
  export * from "./XAiTts.js";
@@ -42,6 +42,7 @@ __exportStar(require("./DeepgramTtsParams.js"), exports);
42
42
  __exportStar(require("./ElevenLabsTts.js"), exports);
43
43
  __exportStar(require("./ElevenLabsTtsParams.js"), exports);
44
44
  __exportStar(require("./FengmingAsr.js"), exports);
45
+ __exportStar(require("./FengmingAsrParams.js"), exports);
45
46
  __exportStar(require("./FishAudioTts.js"), exports);
46
47
  __exportStar(require("./FishAudioTtsParams.js"), exports);
47
48
  __exportStar(require("./GenericHttpTts.js"), exports);
@@ -96,6 +97,8 @@ __exportStar(require("./TencentAsrParams.js"), exports);
96
97
  __exportStar(require("./TencentTts.js"), exports);
97
98
  __exportStar(require("./TencentTtsParams.js"), exports);
98
99
  __exportStar(require("./Tts.js"), exports);
100
+ __exportStar(require("./TypecastTts.js"), exports);
101
+ __exportStar(require("./TypecastTtsParams.js"), exports);
99
102
  __exportStar(require("./XAiAsr.js"), exports);
100
103
  __exportStar(require("./XAiAsrParams.js"), exports);
101
104
  __exportStar(require("./XAiTts.js"), exports);
@@ -1,8 +1,8 @@
1
1
  export type { AgoraAuthMode } from "./AgoraPoolClient.js";
2
2
  export { AgoraClient } from "./AgoraPoolClient.js";
3
3
  export type { AgoraArea, AreaScope, GlobalArea } from "./agentkit/area.js";
4
- export type { AdvancedFeatures, AgentConfig, AgentConfigUpdate, AgentOptions, AgentPreset, AgentSessionEvent, AgentSessionEventHandler, AgentSessionOptions, AgentsClient, AkoolAvatarConfig, AkoolAvatarOptions, AkoolSampleRate, AliyunLLMOptions, AmazonBedrockOptions, AmazonSTTOptions, AmazonTTSOptions, AmazonTts, AmazonTtsParams, AnamAvatarConfig, AnamAvatarOptions, AnthropicOptions, AresSTTOptions, AsrConfig, AsrPreset, AsrVendorName, AssemblyAISTTOptions, AvatarConfig, AvatarVendor, AvatarWireVendor, AzureOpenAIOptions, BytedanceDuplexTTSOptions, BytedanceLLMOptions, BytedanceTTSOptions, CartesiaSampleRate, CartesiaTTSOptions, CartesiaTts, CartesiaTtsParams, CNAvatarVendor, CNLlmVendor, CNSttVendor, CNTtsVendor, ConversationHistory, ConversationRole, ConversationSessionTurn, ConversationTurn, ConversationTurns, CustomLLMOptions, DeepgramSTTOptions, DeepgramTTSOptions, DeepSeekLLMOptions, DifyOptions, Eagerness, ElevenLabsSampleRate, ElevenLabsTTSOptions, ElevenLabsTts, ElevenLabsTtsParams, EndOfSpeechConfig, EndOfSpeechMode, EndOfSpeechSemanticConfig, EndOfSpeechVadConfig, FarewellConfig, FillerWordsConfig, FillerWordsContent, FillerWordsContentSelectionRule, FillerWordsContentStaticConfig, FillerWordsTrigger, FillerWordsTriggerFixedTimeConfig, FishAudioTTSOptions, FishAudioTts, FishAudioTtsParams, GeminiLiveOptions, GeminiOptions, GenerateConvoAITokenOptions, GenerateTokenOptions, GenericAvatarConfig, GenericAvatarOptions, GenericTTSOptions, GenericTts, GenericTtsParams, GeofenceArea, GeofenceConfig, GeofenceExcludeArea, GetTurnsOptions, GlobalAvatarVendor, GlobalLlmVendor, GlobalSttVendor, GlobalTtsVendor, GoogleSTTOptions, GoogleTTSOptions, GoogleTts, GoogleTtsParams, GradiumTTSOptions, GradiumTts, GradiumTtsParams, GroqOptions, HeyGenAvatarConfig, HeyGenAvatarOptions, HeyGenSampleRate, HumeAITTSOptions, HumeAiTts, HumeAiTtsParams, InterruptionConfig, InterruptionMode, InterruptMode, Labels, LiveAvatarAvatarConfig, LiveAvatarAvatarOptions, LiveAvatarSampleRate, LlmConfig, LlmGreetingConfigs, LlmGreetingConfigsMode, LlmPreset, LlmStyle, LlmVendor, McpServersItem, MicrosoftCNSampleRate, MicrosoftCNSTTOptions, MicrosoftCNTTSOptions, MicrosoftSampleRate, MicrosoftSTTOptions, MicrosoftTTSOptions, MicrosoftTts, MicrosoftTtsParams, MiniMaxCNTTSOptions, MiniMaxTTSOptions, MinimaxTts, MinimaxTtsParams, MistralTTSOptions, MistralTts, MistralTtsParams, MllmConfig, MllmTurnDetectionConfig, MllmTurnDetectionMode, MllmVendor, MurfTTSOptions, MurfTts, MurfTtsParams, OpenAIOptions, OpenAIRealtimeOptions, OpenAISTTOptions, OpenAITTSOptions, OpenAiTts, OpenAiTtsParams, ParametersAudioScenario, ParametersDataChannel, PresetCategory, PresetInput, RimeTTSOptions, RimeTts, RimeTtsParams, RtcConfig, SalConfig, SalMode, SampleRate, SarvamSTTOptions, SarvamTTSOptions, SarvamTts, SarvamTtsParams, SayOptions, SensetimeAvatarConfig, SensetimeAvatarOptions, SessionInfo, SessionListResponse, SessionOptions, SessionParams, SessionParamsInput, SessionStatus, SessionSummary, SilenceAction, SilenceConfig, SpatiusAvatarConfig, SpatiusAvatarOptions, SpatiusAvatarParams, SpeakPriority, SpeechmaticsSTTOptions, StartOfSpeechConfig, StartOfSpeechDisabledConfig, StartOfSpeechDisabledConfigStrategy, StartOfSpeechKeywordsConfig, StartOfSpeechMode, StartOfSpeechVadConfig, StepFunTTSOptions, StrictAvatarConfig, SttConfig, SttVendor, TencentLLMOptions, TencentSTTOptions, TencentTTSOptions, ThinkOnListeningAction, ThinkOnSpeakingAction, ThinkOnThinkingAction, ThinkOptions, ThinkResponse, TtsConfig, TtsPreset, TtsVendor, TurnDetectionConfig, TurnDetectionLanguage, TurnDetectionNestedConfig, TurnDetectionType, VertexAILLMOptions, VertexAIOptions, XAiAsr, XAiAsrParams, XAiSTTOptions, XAiTTSOptions, XAiTts, XAiTtsParams, XaiGrokOptions, XfyunBigModelSTTOptions, XfyunDialectSTTOptions, XfyunSTTOptions, } from "./agentkit/index.js";
5
- export { Agent, AgentPresets, AgentSession, AkoolAvatar, AliyunLLM, AmazonBedrock, AmazonSTT, AmazonTTS, AnamAvatar, Anthropic, AresSTT, AssemblyAISTT, AudioScenario, AzureOpenAI, BaseAvatar, BaseCNAvatar, BaseCNLLM, BaseCNSTT, BaseCNTTS, BaseLLM, BaseMLLM, BaseSTT, BaseTTS, BytedanceDuplexTTS, BytedanceLLM, BytedanceTTS, CartesiaTTS, CosyVoiceTTS, CredentialMode, CustomLLM, DataChannel, DeepgramSTT, DeepgramTTS, DeepSeekLLM, Dify, ElevenLabsTTS, ExpiresIn, FengmingSTT, FillerWordsSelectionRule, FishAudioTTS, Gemini, GeminiLive, GenericAvatar, GenericTTS, Geofence, GoogleSTT, GoogleTTS, GradiumTTS, Groq, generateConvoAIToken, generateRtcToken, HeyGenAvatar, HumeAITTS, InterruptionDisabledStrategy, InterruptionDisabledStrategyAppend, InterruptionDisabledStrategyIgnore, InterruptionModeKeywords, InterruptionModeStartOfSpeech, InterruptionModeValues, isAkoolAvatar, isAnamAvatar, isAvatarTokenManaged, isGenericAvatar, isHeyGenAvatar, isLiveAvatarAvatar, isSensetimeAvatar, isSpatiusAvatar, LiveAvatarAvatar, MAX_EXPIRY_SECONDS, MicrosoftCNSTT, MicrosoftCNTTS, MicrosoftSTT, MicrosoftTTS, MiniMaxCNTTS, MiniMaxTTS, MistralTTS, MllmTurnDetectionModeAgoraVad, MllmTurnDetectionModeSemanticVad, MllmTurnDetectionModeServerVad, MllmTurnDetectionModeValues, MurfTTS, normalizePresetInput, OpenAI, OpenAIRealtime, OpenAISTT, OpenAITTS, RimeTTS, SalModeValues, SarvamSTT, SarvamTTS, SensetimeAvatar, SilenceActionValues, SpatiusAvatar, SpeakPriorityAppend, SpeakPriorityIgnore, SpeakPriorityInterrupt, SpeakPriorityValues, SpeechmaticsSTT, StepFunTTS, TencentLLM, TencentSTT, TencentTTS, ThinkOnListeningActionIgnore, ThinkOnListeningActionInject, ThinkOnListeningActionInterrupt, ThinkOnSpeakingActionIgnore, ThinkOnSpeakingActionInterrupt, ThinkOnThinkingActionIgnore, ThinkOnThinkingActionInterrupt, TurnDetectionTypeValues, toBaseAvatarConfig, VertexAI, VertexAILLM, validateAvatarConfig, validateTtsSampleRate, XAiSTT, XAiTTS, XaiGrok, XfyunBigModelSTT, XfyunDialectSTT, XfyunSTT, } from "./agentkit/index.js";
4
+ export type { AdvancedFeatures, AgentConfig, AgentConfigUpdate, AgentOptions, AgentPreset, AgentSessionEvent, AgentSessionEventHandler, AgentSessionOptions, AgentsClient, AkoolAvatarConfig, AkoolAvatarOptions, AkoolSampleRate, AliyunLLMOptions, AmazonBedrockOptions, AmazonSTTOptions, AmazonTTSOptions, AmazonTts, AmazonTtsParams, AnamAvatarConfig, AnamAvatarOptions, AnthropicOptions, AresSTTOptions, AsrConfig, AsrPreset, AsrVendorName, AssemblyAISTTOptions, AvatarConfig, AvatarVendor, AvatarWireVendor, AzureOpenAIOptions, AzureOpenAIRealtimeOptions, AzureOpenAIRealtimeParams, BytedanceDuplexTTSOptions, BytedanceLLMOptions, BytedanceTTSOptions, CartesiaSampleRate, CartesiaTTSOptions, CartesiaTts, CartesiaTtsParams, CNAvatarVendor, CNLlmVendor, CNMllmVendor, CNSttVendor, CNTtsVendor, ConversationHistory, ConversationRole, ConversationSessionTurn, ConversationTurn, ConversationTurns, CustomLLMOptions, DeepgramSTTOptions, DeepgramTTSOptions, DeepSeekLLMOptions, DifyOptions, Eagerness, ElevenLabsSampleRate, ElevenLabsTTSOptions, ElevenLabsTts, ElevenLabsTtsParams, EndOfSpeechConfig, EndOfSpeechMode, EndOfSpeechSemanticConfig, EndOfSpeechVadConfig, FarewellConfig, FengmingSTTOptions, FillerWordsConfig, FillerWordsContent, FillerWordsContentSelectionRule, FillerWordsContentStaticConfig, FillerWordsTrigger, FillerWordsTriggerFixedTimeConfig, FishAudioTTSOptions, FishAudioTts, FishAudioTtsParams, GeminiLiveOptions, GeminiOptions, GenerateConvoAITokenOptions, GenerateTokenOptions, GenericAvatarConfig, GenericAvatarOptions, GenericTTSOptions, GenericTts, GenericTtsParams, GeofenceArea, GeofenceConfig, GeofenceExcludeArea, GetTurnsOptions, GlobalAvatarVendor, GlobalLlmVendor, GlobalMllmVendor, GlobalSttVendor, GlobalTtsVendor, GoogleSTTOptions, GoogleTTSOptions, GoogleTts, GoogleTtsParams, GradiumTTSOptions, GradiumTts, GradiumTtsParams, GroqOptions, HeyGenAvatarConfig, HeyGenAvatarOptions, HeyGenSampleRate, HumeAITTSOptions, HumeAiTts, HumeAiTtsParams, InterruptionConfig, InterruptionMode, InterruptMode, Labels, LiveAvatarAvatarConfig, LiveAvatarAvatarOptions, LiveAvatarSampleRate, LlmConfig, LlmGreetingConfigs, LlmGreetingConfigsMode, LlmPreset, LlmStyle, LlmVendor, McpServersItem, MicrosoftCNSampleRate, MicrosoftCNSTTOptions, MicrosoftCNTTSOptions, MicrosoftSampleRate, MicrosoftSTTOptions, MicrosoftTTSOptions, MicrosoftTts, MicrosoftTtsParams, MiniMaxCNTTSOptions, MiniMaxTTSOptions, MinimaxTts, MinimaxTtsParams, MistralTTSOptions, MistralTts, MistralTtsParams, MllmConfig, MllmTurnDetectionConfig, MllmTurnDetectionMode, MllmVendor, MurfTTSOptions, MurfTts, MurfTtsParams, OpenAIOptions, OpenAIRealtimeOptions, OpenAISTTOptions, OpenAITTSOptions, OpenAiTts, OpenAiTtsParams, ParametersAudioScenario, ParametersDataChannel, PresetCategory, PresetInput, QwenOmniOptions, RimeTTSOptions, RimeTts, RimeTtsParams, RtcConfig, SalConfig, SalMode, SampleRate, SarvamSTTOptions, SarvamTTSOptions, SarvamTts, SarvamTtsParams, SayOptions, SensetimeAvatarConfig, SensetimeAvatarOptions, SessionInfo, SessionListResponse, SessionOptions, SessionParams, SessionParamsInput, SessionStatus, SessionSummary, SilenceAction, SilenceConfig, SpatiusAvatarConfig, SpatiusAvatarOptions, SpatiusAvatarParams, SpeakPriority, SpeechmaticsSTTOptions, StartOfSpeechConfig, StartOfSpeechDisabledConfig, StartOfSpeechDisabledConfigStrategy, StartOfSpeechKeywordsConfig, StartOfSpeechMode, StartOfSpeechVadConfig, StepFunTTSOptions, StrictAvatarConfig, SttConfig, SttVendor, TencentLLMOptions, TencentSTTOptions, TencentTTSOptions, ThinkOnListeningAction, ThinkOnSpeakingAction, ThinkOnThinkingAction, ThinkOptions, ThinkResponse, TtsConfig, TtsPreset, TtsVendor, TurnDetectionConfig, TurnDetectionLanguage, TurnDetectionNestedConfig, TurnDetectionType, TypecastTTSOptions, TypecastTts, TypecastTtsParams, VertexAILLMOptions, VertexAIOptions, XAiAsr, XAiAsrParams, XAiSTTOptions, XAiTTSOptions, XAiTts, XAiTtsParams, XaiGrokOptions, XfyunBigModelSTTOptions, XfyunDialectSTTOptions, XfyunSTTOptions, } from "./agentkit/index.js";
5
+ export { Agent, AgentPresets, AgentSession, AkoolAvatar, AliyunLLM, AmazonBedrock, AmazonSTT, AmazonTTS, AnamAvatar, Anthropic, AresSTT, AssemblyAISTT, AudioScenario, AzureOpenAI, AzureOpenAIRealtime, BaseAvatar, BaseCNAvatar, BaseCNLLM, BaseCNMLLM, BaseCNSTT, BaseCNTTS, BaseLLM, BaseMLLM, BaseSTT, BaseTTS, BytedanceDuplexTTS, BytedanceLLM, BytedanceTTS, CartesiaTTS, CosyVoiceTTS, CredentialMode, CustomLLM, DataChannel, DeepgramSTT, DeepgramTTS, DeepSeekLLM, Dify, ElevenLabsTTS, ExpiresIn, FengmingSTT, FillerWordsSelectionRule, FishAudioTTS, Gemini, GeminiLive, GenericAvatar, GenericTTS, Geofence, GoogleSTT, GoogleTTS, GradiumTTS, Groq, generateConvoAIToken, generateRtcToken, HeyGenAvatar, HumeAITTS, InterruptionDisabledStrategy, InterruptionDisabledStrategyAppend, InterruptionDisabledStrategyIgnore, InterruptionModeKeywords, InterruptionModeStartOfSpeech, InterruptionModeValues, isAkoolAvatar, isAnamAvatar, isAvatarTokenManaged, isGenericAvatar, isHeyGenAvatar, isLiveAvatarAvatar, isSensetimeAvatar, isSpatiusAvatar, LiveAvatarAvatar, MAX_EXPIRY_SECONDS, MicrosoftCNSTT, MicrosoftCNTTS, MicrosoftSTT, MicrosoftTTS, MiniMaxCNTTS, MiniMaxTTS, MistralTTS, MllmTurnDetectionModeAgoraVad, MllmTurnDetectionModeSemanticVad, MllmTurnDetectionModeServerVad, MllmTurnDetectionModeValues, MurfTTS, normalizePresetInput, OpenAI, OpenAIRealtime, OpenAISTT, OpenAITTS, QwenOmni, RimeTTS, SalModeValues, SarvamSTT, SarvamTTS, SensetimeAvatar, SilenceActionValues, SpatiusAvatar, SpeakPriorityAppend, SpeakPriorityIgnore, SpeakPriorityInterrupt, SpeakPriorityValues, SpeechmaticsSTT, StepFunTTS, TencentLLM, TencentSTT, TencentTTS, ThinkOnListeningActionIgnore, ThinkOnListeningActionInject, ThinkOnListeningActionInterrupt, ThinkOnSpeakingActionIgnore, ThinkOnSpeakingActionInterrupt, ThinkOnThinkingActionIgnore, ThinkOnThinkingActionInterrupt, TurnDetectionTypeValues, TypecastTTS, toBaseAvatarConfig, VertexAI, VertexAILLM, validateAvatarConfig, validateTtsSampleRate, XAiSTT, XAiTTS, XaiGrok, XfyunBigModelSTT, XfyunDialectSTT, XfyunSTT, } from "./agentkit/index.js";
6
6
  export * as Agora from "./api/index.js";
7
7
  export type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.js";
8
8
  export { Area } from "./core/domain/index.js";
package/dist/cjs/index.js CHANGED
@@ -36,9 +36,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
36
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.Groq = exports.GradiumTTS = exports.GoogleTTS = exports.GoogleSTT = exports.Geofence = exports.GenericTTS = exports.GenericAvatar = exports.GeminiLive = exports.Gemini = exports.FishAudioTTS = exports.FillerWordsSelectionRule = exports.FengmingSTT = exports.ExpiresIn = exports.ElevenLabsTTS = exports.Dify = exports.DeepSeekLLM = exports.DeepgramTTS = exports.DeepgramSTT = exports.DataChannel = exports.CustomLLM = exports.CredentialMode = exports.CosyVoiceTTS = exports.CartesiaTTS = exports.BytedanceTTS = exports.BytedanceLLM = exports.BytedanceDuplexTTS = exports.BaseTTS = exports.BaseSTT = exports.BaseMLLM = exports.BaseLLM = exports.BaseCNTTS = exports.BaseCNSTT = exports.BaseCNLLM = exports.BaseCNAvatar = exports.BaseAvatar = exports.AzureOpenAI = exports.AudioScenario = exports.AssemblyAISTT = exports.AresSTT = exports.Anthropic = exports.AnamAvatar = exports.AmazonTTS = exports.AmazonSTT = exports.AmazonBedrock = exports.AliyunLLM = exports.AkoolAvatar = exports.AgentSession = exports.AgentPresets = exports.Agent = exports.AgoraClient = void 0;
40
- exports.StepFunTTS = exports.SpeechmaticsSTT = exports.SpeakPriorityValues = exports.SpeakPriorityInterrupt = exports.SpeakPriorityIgnore = exports.SpeakPriorityAppend = exports.SpatiusAvatar = exports.SilenceActionValues = exports.SensetimeAvatar = exports.SarvamTTS = exports.SarvamSTT = exports.SalModeValues = exports.RimeTTS = exports.OpenAITTS = exports.OpenAISTT = exports.OpenAIRealtime = exports.OpenAI = exports.normalizePresetInput = exports.MurfTTS = exports.MllmTurnDetectionModeValues = exports.MllmTurnDetectionModeServerVad = exports.MllmTurnDetectionModeSemanticVad = exports.MllmTurnDetectionModeAgoraVad = exports.MistralTTS = exports.MiniMaxTTS = exports.MiniMaxCNTTS = exports.MicrosoftTTS = exports.MicrosoftSTT = exports.MicrosoftCNTTS = exports.MicrosoftCNSTT = exports.MAX_EXPIRY_SECONDS = exports.LiveAvatarAvatar = exports.isSpatiusAvatar = exports.isSensetimeAvatar = exports.isLiveAvatarAvatar = exports.isHeyGenAvatar = exports.isGenericAvatar = exports.isAvatarTokenManaged = exports.isAnamAvatar = exports.isAkoolAvatar = exports.InterruptionModeValues = exports.InterruptionModeStartOfSpeech = exports.InterruptionModeKeywords = exports.InterruptionDisabledStrategyIgnore = exports.InterruptionDisabledStrategyAppend = exports.InterruptionDisabledStrategy = exports.HumeAITTS = exports.HeyGenAvatar = exports.generateRtcToken = exports.generateConvoAIToken = void 0;
41
- exports.AgoraTimeoutError = exports.AgoraError = exports.AgoraEnvironment = exports.Area = exports.Agora = exports.XfyunSTT = exports.XfyunDialectSTT = exports.XfyunBigModelSTT = exports.XaiGrok = exports.XAiTTS = exports.XAiSTT = exports.validateTtsSampleRate = exports.validateAvatarConfig = exports.VertexAILLM = exports.VertexAI = exports.toBaseAvatarConfig = exports.TurnDetectionTypeValues = exports.ThinkOnThinkingActionInterrupt = exports.ThinkOnThinkingActionIgnore = exports.ThinkOnSpeakingActionInterrupt = exports.ThinkOnSpeakingActionIgnore = exports.ThinkOnListeningActionInterrupt = exports.ThinkOnListeningActionInject = exports.ThinkOnListeningActionIgnore = exports.TencentTTS = exports.TencentSTT = exports.TencentLLM = void 0;
39
+ exports.GoogleTTS = exports.GoogleSTT = exports.Geofence = exports.GenericTTS = exports.GenericAvatar = exports.GeminiLive = exports.Gemini = exports.FishAudioTTS = exports.FillerWordsSelectionRule = exports.FengmingSTT = exports.ExpiresIn = exports.ElevenLabsTTS = exports.Dify = exports.DeepSeekLLM = exports.DeepgramTTS = exports.DeepgramSTT = exports.DataChannel = exports.CustomLLM = exports.CredentialMode = exports.CosyVoiceTTS = exports.CartesiaTTS = exports.BytedanceTTS = exports.BytedanceLLM = exports.BytedanceDuplexTTS = exports.BaseTTS = exports.BaseSTT = exports.BaseMLLM = exports.BaseLLM = exports.BaseCNTTS = exports.BaseCNSTT = exports.BaseCNMLLM = exports.BaseCNLLM = exports.BaseCNAvatar = exports.BaseAvatar = exports.AzureOpenAIRealtime = exports.AzureOpenAI = exports.AudioScenario = exports.AssemblyAISTT = exports.AresSTT = exports.Anthropic = exports.AnamAvatar = exports.AmazonTTS = exports.AmazonSTT = exports.AmazonBedrock = exports.AliyunLLM = exports.AkoolAvatar = exports.AgentSession = exports.AgentPresets = exports.Agent = exports.AgoraClient = void 0;
40
+ exports.SpeakPriorityInterrupt = exports.SpeakPriorityIgnore = exports.SpeakPriorityAppend = exports.SpatiusAvatar = exports.SilenceActionValues = exports.SensetimeAvatar = exports.SarvamTTS = exports.SarvamSTT = exports.SalModeValues = exports.RimeTTS = exports.QwenOmni = exports.OpenAITTS = exports.OpenAISTT = exports.OpenAIRealtime = exports.OpenAI = exports.normalizePresetInput = exports.MurfTTS = exports.MllmTurnDetectionModeValues = exports.MllmTurnDetectionModeServerVad = exports.MllmTurnDetectionModeSemanticVad = exports.MllmTurnDetectionModeAgoraVad = exports.MistralTTS = exports.MiniMaxTTS = exports.MiniMaxCNTTS = exports.MicrosoftTTS = exports.MicrosoftSTT = exports.MicrosoftCNTTS = exports.MicrosoftCNSTT = exports.MAX_EXPIRY_SECONDS = exports.LiveAvatarAvatar = exports.isSpatiusAvatar = exports.isSensetimeAvatar = exports.isLiveAvatarAvatar = exports.isHeyGenAvatar = exports.isGenericAvatar = exports.isAvatarTokenManaged = exports.isAnamAvatar = exports.isAkoolAvatar = exports.InterruptionModeValues = exports.InterruptionModeStartOfSpeech = exports.InterruptionModeKeywords = exports.InterruptionDisabledStrategyIgnore = exports.InterruptionDisabledStrategyAppend = exports.InterruptionDisabledStrategy = exports.HumeAITTS = exports.HeyGenAvatar = exports.generateRtcToken = exports.generateConvoAIToken = exports.Groq = exports.GradiumTTS = void 0;
41
+ exports.AgoraTimeoutError = exports.AgoraError = exports.AgoraEnvironment = exports.Area = exports.Agora = exports.XfyunSTT = exports.XfyunDialectSTT = exports.XfyunBigModelSTT = exports.XaiGrok = exports.XAiTTS = exports.XAiSTT = exports.validateTtsSampleRate = exports.validateAvatarConfig = exports.VertexAILLM = exports.VertexAI = exports.toBaseAvatarConfig = exports.TypecastTTS = exports.TurnDetectionTypeValues = exports.ThinkOnThinkingActionInterrupt = exports.ThinkOnThinkingActionIgnore = exports.ThinkOnSpeakingActionInterrupt = exports.ThinkOnSpeakingActionIgnore = exports.ThinkOnListeningActionInterrupt = exports.ThinkOnListeningActionInject = exports.ThinkOnListeningActionIgnore = exports.TencentTTS = exports.TencentSTT = exports.TencentLLM = exports.StepFunTTS = exports.SpeechmaticsSTT = exports.SpeakPriorityValues = void 0;
42
42
  var AgoraPoolClient_js_1 = require("./AgoraPoolClient.js");
43
43
  Object.defineProperty(exports, "AgoraClient", { enumerable: true, get: function () { return AgoraPoolClient_js_1.AgoraClient; } });
44
44
  // Agentkit layer exports - clean, ergonomic API
@@ -57,9 +57,11 @@ Object.defineProperty(exports, "AresSTT", { enumerable: true, get: function () {
57
57
  Object.defineProperty(exports, "AssemblyAISTT", { enumerable: true, get: function () { return index_js_1.AssemblyAISTT; } });
58
58
  Object.defineProperty(exports, "AudioScenario", { enumerable: true, get: function () { return index_js_1.AudioScenario; } });
59
59
  Object.defineProperty(exports, "AzureOpenAI", { enumerable: true, get: function () { return index_js_1.AzureOpenAI; } });
60
+ Object.defineProperty(exports, "AzureOpenAIRealtime", { enumerable: true, get: function () { return index_js_1.AzureOpenAIRealtime; } });
60
61
  Object.defineProperty(exports, "BaseAvatar", { enumerable: true, get: function () { return index_js_1.BaseAvatar; } });
61
62
  Object.defineProperty(exports, "BaseCNAvatar", { enumerable: true, get: function () { return index_js_1.BaseCNAvatar; } });
62
63
  Object.defineProperty(exports, "BaseCNLLM", { enumerable: true, get: function () { return index_js_1.BaseCNLLM; } });
64
+ Object.defineProperty(exports, "BaseCNMLLM", { enumerable: true, get: function () { return index_js_1.BaseCNMLLM; } });
63
65
  Object.defineProperty(exports, "BaseCNSTT", { enumerable: true, get: function () { return index_js_1.BaseCNSTT; } });
64
66
  Object.defineProperty(exports, "BaseCNTTS", { enumerable: true, get: function () { return index_js_1.BaseCNTTS; } });
65
67
  // Base vendor classes
@@ -134,6 +136,7 @@ Object.defineProperty(exports, "OpenAI", { enumerable: true, get: function () {
134
136
  Object.defineProperty(exports, "OpenAIRealtime", { enumerable: true, get: function () { return index_js_1.OpenAIRealtime; } });
135
137
  Object.defineProperty(exports, "OpenAISTT", { enumerable: true, get: function () { return index_js_1.OpenAISTT; } });
136
138
  Object.defineProperty(exports, "OpenAITTS", { enumerable: true, get: function () { return index_js_1.OpenAITTS; } });
139
+ Object.defineProperty(exports, "QwenOmni", { enumerable: true, get: function () { return index_js_1.QwenOmni; } });
137
140
  Object.defineProperty(exports, "RimeTTS", { enumerable: true, get: function () { return index_js_1.RimeTTS; } });
138
141
  Object.defineProperty(exports, "SalModeValues", { enumerable: true, get: function () { return index_js_1.SalModeValues; } });
139
142
  Object.defineProperty(exports, "SarvamSTT", { enumerable: true, get: function () { return index_js_1.SarvamSTT; } });
@@ -159,6 +162,7 @@ Object.defineProperty(exports, "ThinkOnSpeakingActionInterrupt", { enumerable: t
159
162
  Object.defineProperty(exports, "ThinkOnThinkingActionIgnore", { enumerable: true, get: function () { return index_js_1.ThinkOnThinkingActionIgnore; } });
160
163
  Object.defineProperty(exports, "ThinkOnThinkingActionInterrupt", { enumerable: true, get: function () { return index_js_1.ThinkOnThinkingActionInterrupt; } });
161
164
  Object.defineProperty(exports, "TurnDetectionTypeValues", { enumerable: true, get: function () { return index_js_1.TurnDetectionTypeValues; } });
165
+ Object.defineProperty(exports, "TypecastTTS", { enumerable: true, get: function () { return index_js_1.TypecastTTS; } });
162
166
  Object.defineProperty(exports, "toBaseAvatarConfig", { enumerable: true, get: function () { return index_js_1.toBaseAvatarConfig; } });
163
167
  Object.defineProperty(exports, "VertexAI", { enumerable: true, get: function () { return index_js_1.VertexAI; } });
164
168
  Object.defineProperty(exports, "VertexAILLM", { enumerable: true, get: function () { return index_js_1.VertexAILLM; } });
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v2.5.0";
1
+ export declare const SDK_VERSION = "v2.6.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "v2.5.0";
4
+ exports.SDK_VERSION = "v2.6.0";
@@ -21,8 +21,46 @@ var __rest = (this && this.__rest) || function (s, e) {
21
21
  };
22
22
  import { generateConvoAIToken } from "./agentkit/token.mjs";
23
23
  import { AgoraClient as BaseAgoraClient } from "./Client.mjs";
24
- import { Pool } from "./core/domain/index.mjs";
24
+ import { Area, CNAPIPath, GlobalAPIPath, Pool } from "./core/domain/index.mjs";
25
25
  import { AgoraError } from "./errors/index.mjs";
26
+ const API_BASE_URL_ENV = "AGORA_AGENTS_API_BASE_URL";
27
+ function getConfiguredApiBaseUrl() {
28
+ var _a;
29
+ const baseUrl = (_a = process.env[API_BASE_URL_ENV]) === null || _a === void 0 ? void 0 : _a.trim();
30
+ return baseUrl || undefined;
31
+ }
32
+ function buildApiUrl(baseUrl, area) {
33
+ let parsedUrl;
34
+ try {
35
+ parsedUrl = new URL(baseUrl);
36
+ }
37
+ catch (error) {
38
+ const message = error instanceof Error ? error.message : String(error);
39
+ throw new Error(`invalid ${API_BASE_URL_ENV}: ${message}`);
40
+ }
41
+ const apiPath = area === Area.CN ? CNAPIPath : GlobalAPIPath;
42
+ parsedUrl.pathname = `${parsedUrl.pathname.replace(/\/+$/, "")}${apiPath}`;
43
+ return parsedUrl.toString();
44
+ }
45
+ class ConfiguredBaseUrlPool extends Pool {
46
+ constructor(area, configuredBaseUrl) {
47
+ super(area);
48
+ this.configuredBaseUrl = configuredBaseUrl;
49
+ }
50
+ selectBestDomain(_signal) {
51
+ return Promise.resolve();
52
+ }
53
+ nextRegion() {
54
+ // Configured endpoints intentionally do not participate in regional failover.
55
+ }
56
+ getCurrentURL() {
57
+ return this.configuredBaseUrl;
58
+ }
59
+ }
60
+ function createClientPool(area) {
61
+ const configuredBaseUrl = getConfiguredApiBaseUrl();
62
+ return configuredBaseUrl ? new ConfiguredBaseUrlPool(area, buildApiUrl(configuredBaseUrl, area)) : new Pool(area);
63
+ }
26
64
  /**
27
65
  * AgoraClient extends the base client with domain pool support for
28
66
  * regional URL cycling and automatic domain selection.
@@ -62,7 +100,7 @@ import { AgoraError } from "./errors/index.mjs";
62
100
  */
63
101
  export class AgoraClient extends BaseAgoraClient {
64
102
  constructor(options) {
65
- const pool = new Pool(options.area);
103
+ const pool = createClientPool(options.area);
66
104
  let authMode;
67
105
  let username;
68
106
  let password;
@@ -5,8 +5,8 @@ export function normalizeClientOptions(options) {
5
5
  const headers = mergeHeaders({
6
6
  "X-Fern-Language": "JavaScript",
7
7
  "X-Fern-SDK-Name": "agora-agents",
8
- "X-Fern-SDK-Version": "v2.5.0",
9
- "User-Agent": "agora-agents/v2.5.0",
8
+ "X-Fern-SDK-Version": "v2.6.0",
9
+ "User-Agent": "agora-agents/v2.6.0",
10
10
  "X-Fern-Runtime": core.RUNTIME.type,
11
11
  "X-Fern-Runtime-Version": core.RUNTIME.version,
12
12
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -9,9 +9,8 @@ import type { AgoraClient } from "../AgoraPoolClient.mjs";
9
9
  import type * as Agora from "../api/index.mjs";
10
10
  import { AgentSession } from "./AgentSession.mjs";
11
11
  import type { AgoraArea } from "./area.mjs";
12
- import type { AvatarVendor, LlmVendor, SttVendor, TtsVendor } from "./region-vendors.mjs";
12
+ import type { AvatarVendor, CNMllmVendor, GlobalMllmVendor, LlmVendor, SttVendor, TtsVendor } from "./region-vendors.mjs";
13
13
  import type { AdvancedFeatures, AvatarConfig, FillerWordsConfig, GeofenceConfig, InterruptionConfig, Labels, LlmConfig, LlmGreetingConfigs, MllmConfig, ParametersAudioScenario, RtcConfig, SalConfig, SessionOptions, SessionParamsInput, SttConfig, TtsConfig, TurnDetectionConfig } from "./types.mjs";
14
- import type { BaseMLLM } from "./vendors/base.mjs";
15
14
  /**
16
15
  * Configuration options for creating an Agent.
17
16
  *
@@ -166,7 +165,7 @@ export declare class Agent<TTSSampleRate extends number = number, TArea extends
166
165
  *
167
166
  * @param vendor - MLLM vendor instance (e.g., new VertexAI({ model: '...', projectId: '...', ... }))
168
167
  */
169
- withMllm(vendor: BaseMLLM): Agent<TTSSampleRate, TArea>;
168
+ withMllm(vendor: GlobalMllmVendor | CNMllmVendor): Agent<TTSSampleRate, TArea>;
170
169
  /**
171
170
  * Returns a new Agent with the specified Avatar vendor.
172
171
  *
@@ -270,7 +269,8 @@ export declare class Agent<TTSSampleRate extends number = number, TArea extends
270
269
  withFailureMessage(message: string): Agent<TTSSampleRate, TArea>;
271
270
  /**
272
271
  * Returns a new Agent with the specified maximum conversation history length.
273
- * Applies to the standard LLM pipeline only; the v2.7 MLLM core schema has no max_history field.
272
+ * Applies to the standard LLM pipeline only. For Azure OpenAI Realtime MLLM,
273
+ * configure `maxHistory` on the MLLM vendor instead.
274
274
  *
275
275
  * @deprecated Configure max history on the LLM vendor instead.
276
276
  */
@@ -342,7 +342,8 @@ export class Agent {
342
342
  }
343
343
  /**
344
344
  * Returns a new Agent with the specified maximum conversation history length.
345
- * Applies to the standard LLM pipeline only; the v2.7 MLLM core schema has no max_history field.
345
+ * Applies to the standard LLM pipeline only. For Azure OpenAI Realtime MLLM,
346
+ * configure `maxHistory` on the MLLM vendor instead.
346
347
  *
347
348
  * @deprecated Configure max history on the LLM vendor instead.
348
349
  */
@@ -3,6 +3,7 @@ import { Area } from "../../core/domain/index.mjs";
3
3
  import { Agent } from "../Agent.mjs";
4
4
  import { AliyunLLM, FengmingSTT, MiniMaxCNTTS } from "../vendors/cn.mjs";
5
5
  import { OpenAI } from "../vendors/llm.mjs";
6
+ import { AzureOpenAIRealtime, QwenOmni } from "../vendors/mllm.mjs";
6
7
  import { DeepgramSTT } from "../vendors/stt.mjs";
7
8
  import { GenericTTS, MiniMaxTTS } from "../vendors/tts.mjs";
8
9
  const client = new AgoraClient({
@@ -26,6 +27,19 @@ new Agent({ client }).withLlm(new AliyunLLM({ url: "https://dashscope.aliyuncs.c
26
27
  new Agent({ client }).withTts(new MiniMaxCNTTS({ key: "minimax-key", model: "speech-01-turbo", voiceSetting: { voice_id: "female-shaonv" } }));
27
28
  const globalGenericTts = new GenericTTS({ url: "https://tts.example.com/v1/audio/speech" });
28
29
  new Agent({ client }).withTts(globalGenericTts);
30
+ const globalMllm = new AzureOpenAIRealtime({
31
+ apiKey: "azure-key",
32
+ url: "wss://example.openai.azure.com/openai/realtime",
33
+ turnDetection: { mode: "server_vad" },
34
+ });
35
+ new Agent({ client }).withMllm(globalMllm);
36
+ // @ts-expect-error Qwen Omni is a Chinese mainland MLLM vendor.
37
+ const _invalidGlobalMllm = new QwenOmni({
38
+ apiKey: "key",
39
+ model: "qwen3.5-omni-plus-realtime",
40
+ url: "wss://dashscope.aliyuncs.com/api-ws/v1/realtime",
41
+ turnDetection: { mode: "server_vad" },
42
+ });
29
43
  {
30
44
  const client = new AgoraClient({
31
45
  area: Area.CN,
@@ -55,5 +69,17 @@ new Agent({ client }).withTts(globalGenericTts);
55
69
  new Agent({ client }).withTts(new MiniMaxTTS({ model: "speech-2.6-turbo", voiceId: "English_captivating_female1" }));
56
70
  const cnGenericTts = new GenericTTS({ url: "https://tts.example.cn/v1/audio/speech" });
57
71
  new Agent({ client }).withTts(cnGenericTts);
72
+ const cnMllm = new QwenOmni({
73
+ apiKey: "key",
74
+ model: "qwen3.5-omni-plus-realtime",
75
+ url: "wss://dashscope.aliyuncs.com/api-ws/v1/realtime",
76
+ });
77
+ new Agent({ client }).withMllm(cnMllm);
78
+ // @ts-expect-error Azure OpenAI Realtime is a global MLLM vendor.
79
+ const _invalidCnMllm = new AzureOpenAIRealtime({
80
+ apiKey: "azure-key",
81
+ url: "wss://example.openai.azure.com/openai/realtime",
82
+ turnDetection: { mode: "server_vad" },
83
+ });
58
84
  }
59
85
  new Agent({ client }).withStt(new DeepgramSTT({ model: "nova-3", language: "en-US" }));
@@ -28,21 +28,21 @@ export { isAkoolAvatar, isAnamAvatar, isAvatarTokenManaged, isGenericAvatar, isH
28
28
  export { AudioScenario, CredentialMode, DataChannel, FillerWordsSelectionRule, Geofence, InterruptionDisabledStrategy, InterruptionDisabledStrategyAppend, InterruptionDisabledStrategyIgnore, InterruptionModeKeywords, InterruptionModeStartOfSpeech, InterruptionModeValues, MllmTurnDetectionModeAgoraVad, MllmTurnDetectionModeSemanticVad, MllmTurnDetectionModeServerVad, MllmTurnDetectionModeValues, SalModeValues, SilenceActionValues, SpeakPriorityAppend, SpeakPriorityIgnore, SpeakPriorityInterrupt, SpeakPriorityValues, ThinkOnListeningActionIgnore, ThinkOnListeningActionInject, ThinkOnListeningActionInterrupt, ThinkOnSpeakingActionIgnore, ThinkOnSpeakingActionInterrupt, ThinkOnThinkingActionIgnore, ThinkOnThinkingActionInterrupt, TurnDetectionTypeValues, } from "./constants.mjs";
29
29
  export type { AgentPreset, AsrPreset, DeepgramPresetModel, LlmPreset, MiniMaxPresetModel, OpenAIPresetModel, OpenAITtsPresetModel, PresetCategory, PresetInput, TtsPreset, } from "./presets.mjs";
30
30
  export { AgentPresets, normalizePresetInput } from "./presets.mjs";
31
- export type { AvatarVendor, CNAvatarVendor, CNLlmVendor, CNSttVendor, CNTtsVendor, GlobalAvatarVendor, GlobalLlmVendor, GlobalSttVendor, GlobalTtsVendor, LlmVendor, SttVendor, TtsVendor, } from "./region-vendors.mjs";
31
+ export type { AvatarVendor, CNAvatarVendor, CNLlmVendor, CNMllmVendor, CNSttVendor, CNTtsVendor, GlobalAvatarVendor, GlobalLlmVendor, GlobalMllmVendor, GlobalSttVendor, GlobalTtsVendor, LlmVendor, SttVendor, TtsVendor, } from "./region-vendors.mjs";
32
32
  export type { GenerateConvoAITokenOptions, GenerateTokenOptions, } from "./token.mjs";
33
33
  export { ExpiresIn, generateConvoAIToken, generateRtcToken, MAX_EXPIRY_SECONDS, } from "./token.mjs";
34
- export type { AdvancedFeatures, AgentConfig, AgentConfigUpdate, AmazonTts, AmazonTtsParams, AsrConfig, AsrVendorName, AvatarConfig, AvatarWireVendor, CartesiaTts, CartesiaTtsParams, ConversationHistory, ConversationRole, ConversationSessionTurn, ConversationTurn, ConversationTurns, Eagerness, ElevenLabsTts, ElevenLabsTtsParams, EndOfSpeechConfig, EndOfSpeechMode, EndOfSpeechSemanticConfig, EndOfSpeechVadConfig, FarewellConfig, FillerWordsConfig, FillerWordsContent, FillerWordsContentSelectionRule, FillerWordsContentStaticConfig, FillerWordsTrigger, FillerWordsTriggerFixedTimeConfig, FishAudioTts, FishAudioTtsParams, GenericTts, GenericTtsParams, GeofenceArea, GeofenceConfig, GeofenceExcludeArea, GetTurnsOptions, GoogleTts, GoogleTtsParams, GradiumTts, GradiumTtsParams, HumeAiTts, HumeAiTtsParams, InterruptionConfig, InterruptionMode, InterruptMode, Labels, LlmConfig, LlmGreetingConfigs, LlmGreetingConfigsMode, LlmStyle, McpServersItem, MicrosoftTts, MicrosoftTtsParams, MinimaxTts, MinimaxTtsParams, MistralTts, MistralTtsParams, MllmConfig, MllmTurnDetectionConfig, MllmTurnDetectionMode, MllmVendor, MurfTts, MurfTtsParams, OpenAiTts, OpenAiTtsParams, ParametersAudioScenario, ParametersDataChannel, RimeTts, RimeTtsParams, RtcConfig, SalConfig, SalMode, SarvamTts, SarvamTtsParams, SayOptions, SessionInfo, SessionListResponse, SessionOptions, SessionParams, SessionParamsInput, SessionStatus, SessionSummary, SilenceAction, SilenceConfig, SpatiusAvatarParams, SpeakPriority, StartOfSpeechConfig, StartOfSpeechDisabledConfig, StartOfSpeechDisabledConfigStrategy, StartOfSpeechKeywordsConfig, StartOfSpeechMode, StartOfSpeechVadConfig, SttConfig, ThinkOnListeningAction, ThinkOnSpeakingAction, ThinkOnThinkingAction, ThinkOptions, ThinkResponse, TtsConfig, TurnDetectionConfig, TurnDetectionLanguage, TurnDetectionNestedConfig, TurnDetectionType, XAiAsr, XAiAsrParams, XAiTts, XAiTtsParams, } from "./types.mjs";
34
+ export type { AdvancedFeatures, AgentConfig, AgentConfigUpdate, AmazonTts, AmazonTtsParams, AsrConfig, AsrVendorName, AvatarConfig, AvatarWireVendor, CartesiaTts, CartesiaTtsParams, ConversationHistory, ConversationRole, ConversationSessionTurn, ConversationTurn, ConversationTurns, Eagerness, ElevenLabsTts, ElevenLabsTtsParams, EndOfSpeechConfig, EndOfSpeechMode, EndOfSpeechSemanticConfig, EndOfSpeechVadConfig, FarewellConfig, FillerWordsConfig, FillerWordsContent, FillerWordsContentSelectionRule, FillerWordsContentStaticConfig, FillerWordsTrigger, FillerWordsTriggerFixedTimeConfig, FishAudioTts, FishAudioTtsParams, GenericTts, GenericTtsParams, GeofenceArea, GeofenceConfig, GeofenceExcludeArea, GetTurnsOptions, GoogleTts, GoogleTtsParams, GradiumTts, GradiumTtsParams, HumeAiTts, HumeAiTtsParams, InterruptionConfig, InterruptionMode, InterruptMode, Labels, LlmConfig, LlmGreetingConfigs, LlmGreetingConfigsMode, LlmStyle, McpServersItem, MicrosoftTts, MicrosoftTtsParams, MinimaxTts, MinimaxTtsParams, MistralTts, MistralTtsParams, MllmConfig, MllmTurnDetectionConfig, MllmTurnDetectionMode, MllmVendor, MurfTts, MurfTtsParams, OpenAiTts, OpenAiTtsParams, ParametersAudioScenario, ParametersDataChannel, RimeTts, RimeTtsParams, RtcConfig, SalConfig, SalMode, SarvamTts, SarvamTtsParams, SayOptions, SessionInfo, SessionListResponse, SessionOptions, SessionParams, SessionParamsInput, SessionStatus, SessionSummary, SilenceAction, SilenceConfig, SpatiusAvatarParams, SpeakPriority, StartOfSpeechConfig, StartOfSpeechDisabledConfig, StartOfSpeechDisabledConfigStrategy, StartOfSpeechKeywordsConfig, StartOfSpeechMode, StartOfSpeechVadConfig, SttConfig, ThinkOnListeningAction, ThinkOnSpeakingAction, ThinkOnThinkingAction, ThinkOptions, ThinkResponse, TtsConfig, TurnDetectionConfig, TurnDetectionLanguage, TurnDetectionNestedConfig, TurnDetectionType, TypecastTts, TypecastTtsParams, XAiAsr, XAiAsrParams, XAiTts, XAiTtsParams, } from "./types.mjs";
35
35
  export type { AkoolAvatarOptions, AnamAvatarOptions, GenericAvatarOptions, HeyGenAvatarOptions, LiveAvatarAvatarOptions, } from "./vendors/avatar.mjs";
36
36
  export { AkoolAvatar, AnamAvatar, GenericAvatar, HeyGenAvatar, LiveAvatarAvatar, } from "./vendors/avatar.mjs";
37
37
  export type { AkoolSampleRate, CartesiaSampleRate, ElevenLabsSampleRate, HeyGenSampleRate, LiveAvatarSampleRate, MicrosoftSampleRate, SampleRate, } from "./vendors/base.mjs";
38
- export { BaseAvatar, BaseCNAvatar, BaseCNLLM, BaseCNSTT, BaseCNTTS, BaseLLM, type BaseLlmOptions, BaseMLLM, BaseSTT, BaseTTS, type GoogleTTSSampleRate, } from "./vendors/base.mjs";
39
- export type { AliyunLLMOptions, BytedanceDuplexTTSOptions, BytedanceLLMOptions, BytedanceTTSOptions, CosyVoiceTTSOptions, DeepSeekLLMOptions, MicrosoftCNSampleRate, MicrosoftCNSTTOptions, MicrosoftCNTTSOptions, MiniMaxCNTTSOptions, SensetimeAvatarOptions, SpatiusAvatarOptions, StepFunTTSOptions, TencentLLMOptions, TencentSTTOptions, TencentTTSOptions, XfyunBigModelSTTOptions, XfyunDialectSTTOptions, XfyunSTTOptions, } from "./vendors/cn.mjs";
38
+ export { BaseAvatar, BaseCNAvatar, BaseCNLLM, BaseCNMLLM, BaseCNSTT, BaseCNTTS, BaseLLM, type BaseLlmOptions, BaseMLLM, BaseSTT, BaseTTS, type GoogleTTSSampleRate, } from "./vendors/base.mjs";
39
+ export type { AliyunLLMOptions, BytedanceDuplexTTSOptions, BytedanceLLMOptions, BytedanceTTSOptions, CosyVoiceTTSOptions, DeepSeekLLMOptions, FengmingSTTOptions, MicrosoftCNSampleRate, MicrosoftCNSTTOptions, MicrosoftCNTTSOptions, MiniMaxCNTTSOptions, SensetimeAvatarOptions, SpatiusAvatarOptions, StepFunTTSOptions, TencentLLMOptions, TencentSTTOptions, TencentTTSOptions, XfyunBigModelSTTOptions, XfyunDialectSTTOptions, XfyunSTTOptions, } from "./vendors/cn.mjs";
40
40
  export { AliyunLLM, BytedanceDuplexTTS, BytedanceLLM, BytedanceTTS, CosyVoiceTTS, DeepSeekLLM, FengmingSTT, MicrosoftCNSTT, MicrosoftCNTTS, MiniMaxCNTTS, SensetimeAvatar, SpatiusAvatar, StepFunTTS, TencentLLM, TencentSTT, TencentTTS, XfyunBigModelSTT, XfyunDialectSTT, XfyunSTT, } from "./vendors/cn.mjs";
41
41
  export type { AmazonBedrockOptions, AnthropicOptions, AzureOpenAIOptions, CustomLLMOptions, DifyOptions, GeminiOptions, GroqOptions, OpenAIOptions, VertexAILLMOptions, } from "./vendors/llm.mjs";
42
42
  export { AmazonBedrock, Anthropic, AzureOpenAI, CustomLLM, Dify, Gemini, Groq, OpenAI, VertexAILLM, } from "./vendors/llm.mjs";
43
- export type { GeminiLiveOptions, OpenAIRealtimeOptions, VertexAIOptions, XaiGrokOptions, } from "./vendors/mllm.mjs";
44
- export { GeminiLive, OpenAIRealtime, VertexAI, XaiGrok, } from "./vendors/mllm.mjs";
43
+ export type { AzureOpenAIRealtimeOptions, AzureOpenAIRealtimeParams, GeminiLiveOptions, OpenAIRealtimeOptions, QwenOmniOptions, VertexAIOptions, XaiGrokOptions, } from "./vendors/mllm.mjs";
44
+ export { AzureOpenAIRealtime, GeminiLive, OpenAIRealtime, QwenOmni, VertexAI, XaiGrok, } from "./vendors/mllm.mjs";
45
45
  export type { AmazonSTTOptions, AresSTTOptions, AssemblyAISTTOptions, DeepgramSTTOptions, GoogleSTTOptions, MicrosoftSTTOptions, OpenAISTTOptions, SarvamSTTOptions, SpeechmaticsSTTOptions, XAiSTTOptions, } from "./vendors/stt.mjs";
46
46
  export { AmazonSTT, AresSTT, AssemblyAISTT, DeepgramSTT, GoogleSTT, MicrosoftSTT, OpenAISTT, SarvamSTT, SpeechmaticsSTT, XAiSTT, } from "./vendors/stt.mjs";
47
- export type { AmazonTTSOptions, CartesiaTTSOptions, DeepgramTTSOptions, ElevenLabsTTSOptions, FishAudioTTSOptions, GenericTTSOptions, GoogleTTSOptions, GradiumTTSOptions, HumeAITTSOptions, MicrosoftTTSOptions, MiniMaxTTSOptions, MistralTTSOptions, MurfTTSOptions, OpenAITTSOptions, RimeTTSOptions, SarvamTTSOptions, XAiTTSOptions, } from "./vendors/tts.mjs";
48
- export { AmazonTTS, CartesiaTTS, DeepgramTTS, ElevenLabsTTS, FishAudioTTS, GenericTTS, GoogleTTS, GradiumTTS, HumeAITTS, MicrosoftTTS, MiniMaxTTS, MistralTTS, MurfTTS, OpenAITTS, RimeTTS, SarvamTTS, XAiTTS, } from "./vendors/tts.mjs";
47
+ export type { AmazonTTSOptions, CartesiaTTSOptions, DeepgramTTSOptions, ElevenLabsTTSOptions, FishAudioTTSOptions, GenericTTSOptions, GoogleTTSOptions, GradiumTTSOptions, HumeAITTSOptions, MicrosoftTTSOptions, MiniMaxTTSOptions, MistralTTSOptions, MurfTTSOptions, OpenAITTSOptions, RimeTTSOptions, SarvamTTSOptions, TypecastTTSOptions, XAiTTSOptions, } from "./vendors/tts.mjs";
48
+ export { AmazonTTS, CartesiaTTS, DeepgramTTS, ElevenLabsTTS, FishAudioTTS, GenericTTS, GoogleTTS, GradiumTTS, HumeAITTS, MicrosoftTTS, MiniMaxTTS, MistralTTS, MurfTTS, OpenAITTS, RimeTTS, SarvamTTS, TypecastTTS, XAiTTS, } from "./vendors/tts.mjs";
@@ -30,13 +30,13 @@ export { ExpiresIn, generateConvoAIToken, generateRtcToken, MAX_EXPIRY_SECONDS,
30
30
  // Avatar vendor classes
31
31
  export { AkoolAvatar, AnamAvatar, GenericAvatar, HeyGenAvatar, LiveAvatarAvatar, } from "./vendors/avatar.mjs";
32
32
  // Base vendor classes
33
- export { BaseAvatar, BaseCNAvatar, BaseCNLLM, BaseCNSTT, BaseCNTTS, BaseLLM, BaseMLLM, BaseSTT, BaseTTS, } from "./vendors/base.mjs";
33
+ export { BaseAvatar, BaseCNAvatar, BaseCNLLM, BaseCNMLLM, BaseCNSTT, BaseCNTTS, BaseLLM, BaseMLLM, BaseSTT, BaseTTS, } from "./vendors/base.mjs";
34
34
  export { AliyunLLM, BytedanceDuplexTTS, BytedanceLLM, BytedanceTTS, CosyVoiceTTS, DeepSeekLLM, FengmingSTT, MicrosoftCNSTT, MicrosoftCNTTS, MiniMaxCNTTS, SensetimeAvatar, SpatiusAvatar, StepFunTTS, TencentLLM, TencentSTT, TencentTTS, XfyunBigModelSTT, XfyunDialectSTT, XfyunSTT, } from "./vendors/cn.mjs";
35
35
  // LLM vendor classes
36
36
  export { AmazonBedrock, Anthropic, AzureOpenAI, CustomLLM, Dify, Gemini, Groq, OpenAI, VertexAILLM, } from "./vendors/llm.mjs";
37
37
  // MLLM vendor classes
38
- export { GeminiLive, OpenAIRealtime, VertexAI, XaiGrok, } from "./vendors/mllm.mjs";
38
+ export { AzureOpenAIRealtime, GeminiLive, OpenAIRealtime, QwenOmni, VertexAI, XaiGrok, } from "./vendors/mllm.mjs";
39
39
  // STT vendor classes
40
40
  export { AmazonSTT, AresSTT, AssemblyAISTT, DeepgramSTT, GoogleSTT, MicrosoftSTT, OpenAISTT, SarvamSTT, SpeechmaticsSTT, XAiSTT, } from "./vendors/stt.mjs";
41
41
  // TTS vendor classes
42
- export { AmazonTTS, CartesiaTTS, DeepgramTTS, ElevenLabsTTS, FishAudioTTS, GenericTTS, GoogleTTS, GradiumTTS, HumeAITTS, MicrosoftTTS, MiniMaxTTS, MistralTTS, MurfTTS, OpenAITTS, RimeTTS, SarvamTTS, XAiTTS, } from "./vendors/tts.mjs";
42
+ export { AmazonTTS, CartesiaTTS, DeepgramTTS, ElevenLabsTTS, FishAudioTTS, GenericTTS, GoogleTTS, GradiumTTS, HumeAITTS, MicrosoftTTS, MiniMaxTTS, MistralTTS, MurfTTS, OpenAITTS, RimeTTS, SarvamTTS, TypecastTTS, XAiTTS, } from "./vendors/tts.mjs";
@@ -1,4 +1,4 @@
1
- import type { BaseAvatar, BaseCNAvatar, BaseCNLLM, BaseCNSTT, BaseCNTTS, BaseLLM, BaseSTT, BaseTTS } from "./vendors/base.mjs";
1
+ import type { BaseAvatar, BaseCNAvatar, BaseCNLLM, BaseCNMLLM, BaseCNSTT, BaseCNTTS, BaseLLM, BaseMLLM, BaseSTT, BaseTTS } from "./vendors/base.mjs";
2
2
  import type { MicrosoftCNSampleRate, MicrosoftCNSTT, MicrosoftCNTTS } from "./vendors/cn.mjs";
3
3
  import type { CustomLLM } from "./vendors/llm.mjs";
4
4
  import type { GenericTTS } from "./vendors/tts.mjs";
@@ -6,10 +6,12 @@ export type GlobalLlmVendor = BaseLLM;
6
6
  export type GlobalTtsVendor<SR extends number = number> = BaseTTS<SR>;
7
7
  export type GlobalSttVendor = BaseSTT;
8
8
  export type GlobalAvatarVendor<SR extends number = number> = BaseAvatar<SR>;
9
+ export type GlobalMllmVendor = BaseMLLM;
9
10
  export type CNLlmVendor = BaseCNLLM | CustomLLM;
10
11
  export type CNTtsVendor<SR extends number = number> = BaseCNTTS<SR> | GenericTTS | (SR extends MicrosoftCNSampleRate ? MicrosoftCNTTS<SR> : never);
11
12
  export type CNSttVendor = BaseCNSTT | MicrosoftCNSTT;
12
13
  export type CNAvatarVendor<SR extends number = number> = BaseCNAvatar<SR>;
14
+ export type CNMllmVendor = BaseCNMLLM;
13
15
  export type LlmVendor = GlobalLlmVendor | CNLlmVendor;
14
16
  export type TtsVendor<SR extends number = number> = GlobalTtsVendor<SR> | CNTtsVendor<SR>;
15
17
  export type SttVendor = GlobalSttVendor | CNSttVendor;