agora-agents 2.9.0 → 2.11.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 (95) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/agentkit/Agent.js +4 -3
  3. package/dist/cjs/agentkit/index.d.ts +10 -10
  4. package/dist/cjs/agentkit/index.js +13 -8
  5. package/dist/cjs/agentkit/preview/client.d.ts +5 -17
  6. package/dist/cjs/agentkit/preview/client.js +18 -84
  7. package/dist/cjs/agentkit/preview/gemini-tts.d.ts +31 -0
  8. package/dist/cjs/agentkit/preview/gemini-tts.js +32 -0
  9. package/dist/cjs/agentkit/preview/index.d.ts +6 -2
  10. package/dist/cjs/agentkit/preview/index.js +7 -2
  11. package/dist/cjs/agentkit/preview/vendors.d.ts +8 -104
  12. package/dist/cjs/agentkit/preview/vendors.js +14 -115
  13. package/dist/cjs/agentkit/types.d.ts +12 -5
  14. package/dist/cjs/agentkit/vendors/base.d.ts +15 -4
  15. package/dist/cjs/agentkit/vendors/base.js +16 -5
  16. package/dist/cjs/agentkit/vendors/cn.js +2 -2
  17. package/dist/cjs/agentkit/vendors/llm.js +2 -2
  18. package/dist/cjs/agentkit/vendors/mllm.d.ts +92 -10
  19. package/dist/cjs/agentkit/vendors/mllm.js +115 -18
  20. package/dist/cjs/agentkit/vendors/stt.d.ts +41 -0
  21. package/dist/cjs/agentkit/vendors/stt.js +18 -1
  22. package/dist/cjs/agentkit/vendors/tts.d.ts +27 -0
  23. package/dist/cjs/agentkit/vendors/tts.js +16 -1
  24. package/dist/cjs/api/resources/agents/client/requests/StartAgentsRequest.d.ts +11 -5
  25. package/dist/cjs/api/resources/agents/client/requests/StartAgentsRequest.js +3 -1
  26. package/dist/cjs/api/types/AnamAvatarParams.d.ts +42 -0
  27. package/dist/cjs/api/types/AnamAvatarParams.js +18 -0
  28. package/dist/cjs/api/types/Asr.d.ts +4 -1
  29. package/dist/cjs/api/types/LlmTool.d.ts +7 -0
  30. package/dist/cjs/api/types/McpServer.d.ts +24 -0
  31. package/dist/cjs/api/types/McpServer.js +3 -0
  32. package/dist/cjs/api/types/Mllm.d.ts +14 -0
  33. package/dist/cjs/api/types/SmallestAiAsr.d.ts +11 -0
  34. package/dist/cjs/api/types/SmallestAiAsr.js +3 -0
  35. package/dist/cjs/api/types/SmallestAiAsrParams.d.ts +49 -0
  36. package/dist/cjs/api/types/SmallestAiAsrParams.js +3 -0
  37. package/dist/cjs/api/types/SmallestAiTts.d.ts +9 -0
  38. package/dist/cjs/api/types/SmallestAiTts.js +3 -0
  39. package/dist/cjs/api/types/SmallestAiTtsParams.d.ts +31 -0
  40. package/dist/cjs/api/types/SmallestAiTtsParams.js +3 -0
  41. package/dist/cjs/api/types/Tts.d.ts +4 -1
  42. package/dist/cjs/api/types/index.d.ts +6 -0
  43. package/dist/cjs/api/types/index.js +6 -0
  44. package/dist/cjs/index.d.ts +4 -2
  45. package/dist/cjs/index.js +10 -3
  46. package/dist/cjs/version.d.ts +1 -1
  47. package/dist/cjs/version.js +1 -1
  48. package/dist/esm/BaseClient.mjs +2 -2
  49. package/dist/esm/agentkit/Agent.mjs +3 -2
  50. package/dist/esm/agentkit/index.d.mts +10 -10
  51. package/dist/esm/agentkit/index.mjs +4 -4
  52. package/dist/esm/agentkit/preview/client.d.mts +5 -17
  53. package/dist/esm/agentkit/preview/client.mjs +18 -84
  54. package/dist/esm/agentkit/preview/gemini-tts.d.mts +31 -0
  55. package/dist/esm/agentkit/preview/gemini-tts.mjs +28 -0
  56. package/dist/esm/agentkit/preview/index.d.mts +6 -2
  57. package/dist/esm/agentkit/preview/index.mjs +3 -1
  58. package/dist/esm/agentkit/preview/vendors.d.mts +8 -104
  59. package/dist/esm/agentkit/preview/vendors.mjs +5 -112
  60. package/dist/esm/agentkit/types.d.mts +12 -5
  61. package/dist/esm/agentkit/vendors/base.d.mts +15 -4
  62. package/dist/esm/agentkit/vendors/base.mjs +16 -5
  63. package/dist/esm/agentkit/vendors/cn.mjs +2 -2
  64. package/dist/esm/agentkit/vendors/llm.mjs +2 -2
  65. package/dist/esm/agentkit/vendors/mllm.d.mts +92 -10
  66. package/dist/esm/agentkit/vendors/mllm.mjs +111 -16
  67. package/dist/esm/agentkit/vendors/stt.d.mts +41 -0
  68. package/dist/esm/agentkit/vendors/stt.mjs +16 -0
  69. package/dist/esm/agentkit/vendors/tts.d.mts +27 -0
  70. package/dist/esm/agentkit/vendors/tts.mjs +14 -0
  71. package/dist/esm/api/resources/agents/client/requests/StartAgentsRequest.d.mts +11 -5
  72. package/dist/esm/api/resources/agents/client/requests/StartAgentsRequest.mjs +3 -1
  73. package/dist/esm/api/types/AnamAvatarParams.d.mts +42 -0
  74. package/dist/esm/api/types/AnamAvatarParams.mjs +15 -0
  75. package/dist/esm/api/types/Asr.d.mts +4 -1
  76. package/dist/esm/api/types/LlmTool.d.mts +7 -0
  77. package/dist/esm/api/types/McpServer.d.mts +24 -0
  78. package/dist/esm/api/types/McpServer.mjs +2 -0
  79. package/dist/esm/api/types/Mllm.d.mts +14 -0
  80. package/dist/esm/api/types/SmallestAiAsr.d.mts +11 -0
  81. package/dist/esm/api/types/SmallestAiAsr.mjs +2 -0
  82. package/dist/esm/api/types/SmallestAiAsrParams.d.mts +49 -0
  83. package/dist/esm/api/types/SmallestAiAsrParams.mjs +2 -0
  84. package/dist/esm/api/types/SmallestAiTts.d.mts +9 -0
  85. package/dist/esm/api/types/SmallestAiTts.mjs +2 -0
  86. package/dist/esm/api/types/SmallestAiTtsParams.d.mts +31 -0
  87. package/dist/esm/api/types/SmallestAiTtsParams.mjs +2 -0
  88. package/dist/esm/api/types/Tts.d.mts +4 -1
  89. package/dist/esm/api/types/index.d.mts +6 -0
  90. package/dist/esm/api/types/index.mjs +6 -0
  91. package/dist/esm/index.d.mts +4 -2
  92. package/dist/esm/index.mjs +3 -2
  93. package/dist/esm/version.d.mts +1 -1
  94. package/dist/esm/version.mjs +1 -1
  95. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,9 @@
1
+ import type * as Agora from "../index.mjs";
2
+ /**
3
+ * Smallest AI Text-to-Speech configuration.
4
+ */
5
+ export interface SmallestAiTts {
6
+ params: Agora.SmallestAiTtsParams;
7
+ /** Controls whether the TTS module skips bracketed content when reading LLM response text. */
8
+ skip_patterns?: number[];
9
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Smallest AI TTS configuration parameters.
3
+ */
4
+ export interface SmallestAiTtsParams {
5
+ /** HTTP endpoint for the Smallest AI streaming TTS API. */
6
+ url?: string;
7
+ /** Smallest AI API key. */
8
+ api_key: string;
9
+ /** Smallest AI TTS model name. */
10
+ model?: string;
11
+ /** Smallest AI voice identifier. */
12
+ voice_id?: string;
13
+ /** Output audio sample rate in Hz. */
14
+ sample_rate?: number;
15
+ /** Speech rate multiplier. */
16
+ speed?: number;
17
+ /** Language code for speech synthesis. */
18
+ language?: string;
19
+ /** Language used to pronounce numbers. */
20
+ number_pronunciation_language?: string;
21
+ /** Whether to verbalize mathematical notation. */
22
+ math_notation?: boolean;
23
+ /** Pronunciation dictionaries applied during synthesis. */
24
+ pronunciation_dicts?: string[];
25
+ /** Client-provided session identifier. */
26
+ session_id?: string;
27
+ /** Client-provided request identifier. */
28
+ request_id?: string;
29
+ /** Accepts any additional properties */
30
+ [key: string]: any;
31
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -1,5 +1,5 @@
1
1
  import type * as Agora from "../index.mjs";
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;
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 | Agora.Tts.Smallestai;
3
3
  export declare namespace Tts {
4
4
  interface Tencent extends Agora.TencentTts {
5
5
  vendor: "tencent";
@@ -70,4 +70,7 @@ export declare namespace Tts {
70
70
  interface Typecast extends Agora.TypecastTts {
71
71
  vendor: "typecast";
72
72
  }
73
+ interface Smallestai extends Agora.SmallestAiTts {
74
+ vendor: "smallestai";
75
+ }
73
76
  }
@@ -3,6 +3,7 @@ export * from "./AmazonAsr.mjs";
3
3
  export * from "./AmazonAsrParams.mjs";
4
4
  export * from "./AmazonTts.mjs";
5
5
  export * from "./AmazonTtsParams.mjs";
6
+ export * from "./AnamAvatarParams.mjs";
6
7
  export * from "./AresAsr.mjs";
7
8
  export * from "./AresAsrParams.mjs";
8
9
  export * from "./Asr.mjs";
@@ -49,6 +50,7 @@ export * from "./LlmTool.mjs";
49
50
  export * from "./LlmToolExecution.mjs";
50
51
  export * from "./LlmToolFunction.mjs";
51
52
  export * from "./LlmToolServer.mjs";
53
+ export * from "./McpServer.mjs";
52
54
  export * from "./MicrosoftAsr.mjs";
53
55
  export * from "./MicrosoftAsrParams.mjs";
54
56
  export * from "./MicrosoftTts.mjs";
@@ -76,6 +78,10 @@ export * from "./SarvamAsrParams.mjs";
76
78
  export * from "./SarvamTts.mjs";
77
79
  export * from "./SarvamTtsParams.mjs";
78
80
  export * from "./SensetimeAvatarParams.mjs";
81
+ export * from "./SmallestAiAsr.mjs";
82
+ export * from "./SmallestAiAsrParams.mjs";
83
+ export * from "./SmallestAiTts.mjs";
84
+ export * from "./SmallestAiTtsParams.mjs";
79
85
  export * from "./SpatiusAvatarParams.mjs";
80
86
  export * from "./SpeechmaticsAsr.mjs";
81
87
  export * from "./SpeechmaticsAsrParams.mjs";
@@ -3,6 +3,7 @@ export * from "./AmazonAsr.mjs";
3
3
  export * from "./AmazonAsrParams.mjs";
4
4
  export * from "./AmazonTts.mjs";
5
5
  export * from "./AmazonTtsParams.mjs";
6
+ export * from "./AnamAvatarParams.mjs";
6
7
  export * from "./AresAsr.mjs";
7
8
  export * from "./AresAsrParams.mjs";
8
9
  export * from "./Asr.mjs";
@@ -49,6 +50,7 @@ export * from "./LlmTool.mjs";
49
50
  export * from "./LlmToolExecution.mjs";
50
51
  export * from "./LlmToolFunction.mjs";
51
52
  export * from "./LlmToolServer.mjs";
53
+ export * from "./McpServer.mjs";
52
54
  export * from "./MicrosoftAsr.mjs";
53
55
  export * from "./MicrosoftAsrParams.mjs";
54
56
  export * from "./MicrosoftTts.mjs";
@@ -76,6 +78,10 @@ export * from "./SarvamAsrParams.mjs";
76
78
  export * from "./SarvamTts.mjs";
77
79
  export * from "./SarvamTtsParams.mjs";
78
80
  export * from "./SensetimeAvatarParams.mjs";
81
+ export * from "./SmallestAiAsr.mjs";
82
+ export * from "./SmallestAiAsrParams.mjs";
83
+ export * from "./SmallestAiTts.mjs";
84
+ export * from "./SmallestAiTtsParams.mjs";
79
85
  export * from "./SpatiusAvatarParams.mjs";
80
86
  export * from "./SpeechmaticsAsr.mjs";
81
87
  export * from "./SpeechmaticsAsrParams.mjs";
@@ -1,8 +1,10 @@
1
1
  export type { AgoraAuthMode } from "./AgoraPoolClient.mjs";
2
2
  export { AgoraClient } from "./AgoraPoolClient.mjs";
3
3
  export type { AgoraArea, AreaScope, GlobalArea } from "./agentkit/area.mjs";
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, FillerWordsContentGeneratedConfig, FillerWordsContentSelectionRule, FillerWordsContentStaticConfig, FillerWordsGeneratedLlmProvider, FillerWordsTrigger, FillerWordsTriggerFixedTimeConfig, FishAudioTTSOptions, FishAudioTts, FishAudioTtsParams, GeminiAsrParams, GeminiLiveModel, GeminiLiveOptions, GeminiOptions, GeminiPreviewVoice, GeminiSTTModel, GeminiSTTOptions, GeminiThinkingLevel, 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, LlmTool, LlmToolExecution, LlmToolFunction, LlmToolServer, LlmVendor, McpServersItem, MicrosoftCNSampleRate, MicrosoftCNSTTOptions, MicrosoftCNTTSOptions, MicrosoftSampleRate, MicrosoftSTTOptions, MicrosoftTTSOptions, MicrosoftTts, MicrosoftTtsParams, MiniMaxCNTTSOptions, MiniMaxTTSOptions, MinimaxTts, MinimaxTtsParams, MistralTTSOptions, MistralTts, MistralTtsParams, MllmConfig, MllmTurnDetectionConfig, MllmTurnDetectionMode, MllmVendor, MurfTTSOptions, MurfTts, MurfTtsParams, OpenAIGPTLiveOptions, OpenAIOptions, OpenAIRealtimeOptions, OpenAISTTOptions, OpenAITTSOptions, OpenAiTts, OpenAiTtsParams, ParametersAudioScenario, ParametersDataChannel, PresetCategory, PresetInput, PreviewFeature, PreviewRoute, 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.mjs";
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, createPreviewRoute, DataChannel, DeepgramSTT, DeepgramTTS, DeepSeekLLM, Dify, ElevenLabsTTS, ExpiresIn, FengmingSTT, FillerWordsSelectionRule, FishAudioTTS, GEMINI_MLLM_DEFAULT_MODEL, GEMINI_PREVIEW_MLLM_URL, Gemini, GeminiLive, GeminiLiveModels, GeminiSTT, GeminiSTTModels, GeminiThinkingLevels, GeminiTranscriptionMode, 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, OpenAIGPTLive, OpenAIRealtime, OpenAISTT, OpenAITTS, PREVIEW_API_BASE_URL, PREVIEW_FEATURE_HEADER, PreviewFeatures, previewRequestHeaders, QwenOmni, REDACTED, RimeTTS, redactHeadersForDebug, redactSecrets, 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.mjs";
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, BaseMllmOptions, 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, FillerWordsContentGeneratedConfig, FillerWordsContentSelectionRule, FillerWordsContentStaticConfig, FillerWordsGeneratedLlmProvider, FillerWordsTrigger, FillerWordsTriggerFixedTimeConfig, FishAudioTTSOptions, FishAudioTts, FishAudioTtsParams, GeminiAsrParams, GeminiLiveModel, GeminiLiveOptions, GeminiLiveVoice, GeminiOptions, GeminiPreviewVoice, GeminiSTTModel, GeminiSTTOptions, GeminiThinkingLevel, 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, LlmTool, LlmToolExecution, LlmToolFunction, LlmToolServer, LlmVendor, McpServer, McpServersItem, MicrosoftCNSampleRate, MicrosoftCNSTTOptions, MicrosoftCNTTSOptions, MicrosoftSampleRate, MicrosoftSTTOptions, MicrosoftTTSOptions, MicrosoftTts, MicrosoftTtsParams, MiniMaxCNTTSOptions, MiniMaxTTSOptions, MinimaxTts, MinimaxTtsParams, MistralTTSOptions, MistralTts, MistralTtsParams, MllmConfig, MllmTurnDetectionConfig, MllmTurnDetectionMode, MllmVendor, MurfTTSOptions, MurfTts, MurfTtsParams, OpenAIGPTLiveOptions, OpenAIOptions, OpenAIRealtimeOptions, OpenAISTTOptions, OpenAITTSOptions, OpenAiTts, OpenAiTtsParams, ParametersAudioScenario, ParametersDataChannel, PresetCategory, PresetInput, PreviewFeature, PreviewRoute, QwenOmniOptions, RimeTTSOptions, RimeTts, RimeTtsParams, RtcConfig, SalConfig, SalMode, SampleRate, SarvamSTTOptions, SarvamTTSOptions, SarvamTts, SarvamTtsParams, SayOptions, SensetimeAvatarConfig, SensetimeAvatarOptions, SessionInfo, SessionListResponse, SessionOptions, SessionParams, SessionParamsInput, SessionStatus, SessionSummary, SilenceAction, SilenceConfig, SmallestAISTTOptions, SmallestAITTSOptions, SmallestAiAsr, SmallestAiAsrParams, SmallestAiTts, SmallestAiTtsParams, 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.mjs";
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, createPreviewRoute, DataChannel, DeepgramSTT, DeepgramTTS, DeepSeekLLM, Dify, ElevenLabsTTS, ExpiresIn, FengmingSTT, FillerWordsSelectionRule, FishAudioTTS, GEMINI_MLLM_DEFAULT_MODEL, GEMINI_MLLM_URL, GEMINI_PREVIEW_MLLM_URL, Gemini, GeminiLive, GeminiLiveModels, GeminiSTT, GeminiSTTModels, GeminiThinkingLevels, GeminiTranscriptionMode, 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, OpenAIGPTLive, OpenAIRealtime, OpenAISTT, OpenAITTS, PREVIEW_API_BASE_URL, PREVIEW_FEATURE_HEADER, PreviewFeatures, previewRequestHeaders, QwenOmni, REDACTED, RimeTTS, redactHeadersForDebug, redactSecrets, SalModeValues, SarvamSTT, SarvamTTS, SensetimeAvatar, SilenceActionValues, SmallestAISTT, SmallestAITTS, 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.mjs";
6
+ export type { GeminiTTSConfig, GeminiTTSModel, GeminiTTSOptions } from "./agentkit/preview/gemini-tts.mjs";
7
+ export { GeminiTTS, GeminiTTSModels } from "./agentkit/preview/gemini-tts.mjs";
6
8
  export * as Agora from "./api/index.mjs";
7
9
  export type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.mjs";
8
10
  export { Area } from "./core/domain/index.mjs";
@@ -4,15 +4,16 @@ export { Agent, AgentPresets, AgentSession, AkoolAvatar, AliyunLLM, AmazonBedroc
4
4
  // Base vendor classes
5
5
  BaseLLM, BaseMLLM, BaseSTT, BaseTTS, BytedanceDuplexTTS, BytedanceLLM, BytedanceTTS, CartesiaTTS, CosyVoiceTTS, CredentialMode, CustomLLM, createPreviewRoute, DataChannel, DeepgramSTT, DeepgramTTS, DeepSeekLLM, Dify,
6
6
  // TTS vendors
7
- ElevenLabsTTS, ExpiresIn, FengmingSTT, FillerWordsSelectionRule, FishAudioTTS, GEMINI_MLLM_DEFAULT_MODEL, GEMINI_PREVIEW_MLLM_URL, Gemini, GeminiLive, GeminiLiveModels, GeminiSTT, GeminiSTTModels, GeminiThinkingLevels, GeminiTranscriptionMode, GenericAvatar, GenericTTS, Geofence, GoogleSTT, GoogleTTS, GradiumTTS, Groq, generateConvoAIToken, generateRtcToken,
7
+ ElevenLabsTTS, ExpiresIn, FengmingSTT, FillerWordsSelectionRule, FishAudioTTS, GEMINI_MLLM_DEFAULT_MODEL, GEMINI_MLLM_URL, GEMINI_PREVIEW_MLLM_URL, Gemini, GeminiLive, GeminiLiveModels, GeminiSTT, GeminiSTTModels, GeminiThinkingLevels, GeminiTranscriptionMode, GenericAvatar, GenericTTS, Geofence, GoogleSTT, GoogleTTS, GradiumTTS, Groq, generateConvoAIToken, generateRtcToken,
8
8
  // Avatar vendors
9
9
  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,
10
10
  // LLM vendors
11
11
  OpenAI, OpenAIGPTLive,
12
12
  // MLLM vendors
13
- OpenAIRealtime, OpenAISTT, OpenAITTS, PREVIEW_API_BASE_URL, PREVIEW_FEATURE_HEADER, PreviewFeatures, previewRequestHeaders, QwenOmni, REDACTED, RimeTTS, redactHeadersForDebug, redactSecrets, SalModeValues, SarvamSTT, SarvamTTS, SensetimeAvatar, SilenceActionValues, SpatiusAvatar, SpeakPriorityAppend, SpeakPriorityIgnore, SpeakPriorityInterrupt, SpeakPriorityValues,
13
+ OpenAIRealtime, OpenAISTT, OpenAITTS, PREVIEW_API_BASE_URL, PREVIEW_FEATURE_HEADER, PreviewFeatures, previewRequestHeaders, QwenOmni, REDACTED, RimeTTS, redactHeadersForDebug, redactSecrets, SalModeValues, SarvamSTT, SarvamTTS, SensetimeAvatar, SilenceActionValues, SmallestAISTT, SmallestAITTS, SpatiusAvatar, SpeakPriorityAppend, SpeakPriorityIgnore, SpeakPriorityInterrupt, SpeakPriorityValues,
14
14
  // STT vendors
15
15
  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.mjs";
16
+ export { GeminiTTS, GeminiTTSModels } from "./agentkit/preview/gemini-tts.mjs";
16
17
  export * as Agora from "./api/index.mjs";
17
18
  export { Area } from "./core/domain/index.mjs";
18
19
  export { AgoraEnvironment } from "./environments.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v2.9.0";
1
+ export declare const SDK_VERSION = "v2.11.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "v2.9.0";
1
+ export const SDK_VERSION = "v2.11.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agora-agents",
3
- "version": "2.9.0",
3
+ "version": "2.11.0",
4
4
  "private": false,
5
5
  "repository": "github:AgoraIO/agora-agents-ts",
6
6
  "type": "commonjs",