agora-agents 2.14.0 → 2.16.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 (89) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/agentkit/Agent.d.ts +6 -4
  3. package/dist/cjs/agentkit/Agent.js +89 -29
  4. package/dist/cjs/agentkit/AgentSession.js +1 -5
  5. package/dist/cjs/agentkit/index.d.ts +9 -9
  6. package/dist/cjs/agentkit/index.js +8 -4
  7. package/dist/cjs/agentkit/preview/client.d.ts +10 -3
  8. package/dist/cjs/agentkit/preview/client.js +22 -13
  9. package/dist/cjs/agentkit/preview/index.d.ts +2 -2
  10. package/dist/cjs/agentkit/preview/index.js +3 -1
  11. package/dist/cjs/agentkit/preview/vendors.d.ts +2 -2
  12. package/dist/cjs/agentkit/preview/vendors.js +3 -1
  13. package/dist/cjs/agentkit/types.d.ts +51 -6
  14. package/dist/cjs/agentkit/vendors/cn.d.ts +12 -0
  15. package/dist/cjs/agentkit/vendors/cn.js +16 -1
  16. package/dist/cjs/agentkit/vendors/mllm.d.ts +56 -4
  17. package/dist/cjs/agentkit/vendors/mllm.js +62 -7
  18. package/dist/cjs/agentkit/vendors/stt.d.ts +24 -0
  19. package/dist/cjs/agentkit/vendors/stt.js +31 -1
  20. package/dist/cjs/agentkit/vendors/tts.d.ts +0 -38
  21. package/dist/cjs/agentkit/vendors/tts.js +1 -24
  22. package/dist/cjs/api/types/Asr.d.ts +10 -1
  23. package/dist/cjs/api/types/ElevenLabsAsr.d.ts +10 -0
  24. package/dist/cjs/api/types/ElevenLabsAsrParams.d.ts +9 -0
  25. package/dist/cjs/api/types/ElevenLabsAsrParams.js +3 -0
  26. package/dist/cjs/api/types/FishAudioAsr.d.ts +10 -0
  27. package/dist/cjs/api/types/FishAudioAsr.js +3 -0
  28. package/dist/cjs/api/types/FishAudioAsrParams.d.ts +9 -0
  29. package/dist/cjs/api/types/FishAudioAsrParams.js +3 -0
  30. package/dist/cjs/api/types/QwenAsr.d.ts +10 -0
  31. package/dist/cjs/api/types/QwenAsr.js +3 -0
  32. package/dist/cjs/api/types/QwenAsrParams.d.ts +9 -0
  33. package/dist/cjs/api/types/QwenAsrParams.js +3 -0
  34. package/dist/cjs/api/types/Tts.d.ts +1 -4
  35. package/dist/cjs/api/types/index.d.ts +6 -2
  36. package/dist/cjs/api/types/index.js +6 -2
  37. package/dist/cjs/index.d.ts +2 -2
  38. package/dist/cjs/index.js +9 -5
  39. package/dist/cjs/version.d.ts +1 -1
  40. package/dist/cjs/version.js +1 -1
  41. package/dist/esm/BaseClient.mjs +2 -2
  42. package/dist/esm/agentkit/Agent.d.mts +6 -4
  43. package/dist/esm/agentkit/Agent.mjs +89 -29
  44. package/dist/esm/agentkit/AgentSession.mjs +1 -5
  45. package/dist/esm/agentkit/index.d.mts +9 -9
  46. package/dist/esm/agentkit/index.mjs +4 -4
  47. package/dist/esm/agentkit/preview/client.d.mts +10 -3
  48. package/dist/esm/agentkit/preview/client.mjs +22 -13
  49. package/dist/esm/agentkit/preview/index.d.mts +2 -2
  50. package/dist/esm/agentkit/preview/index.mjs +1 -1
  51. package/dist/esm/agentkit/preview/vendors.d.mts +2 -2
  52. package/dist/esm/agentkit/preview/vendors.mjs +1 -1
  53. package/dist/esm/agentkit/types.d.mts +51 -6
  54. package/dist/esm/agentkit/vendors/cn.d.mts +12 -0
  55. package/dist/esm/agentkit/vendors/cn.mjs +14 -0
  56. package/dist/esm/agentkit/vendors/mllm.d.mts +56 -4
  57. package/dist/esm/agentkit/vendors/mllm.mjs +60 -6
  58. package/dist/esm/agentkit/vendors/stt.d.mts +24 -0
  59. package/dist/esm/agentkit/vendors/stt.mjs +28 -0
  60. package/dist/esm/agentkit/vendors/tts.d.mts +0 -38
  61. package/dist/esm/agentkit/vendors/tts.mjs +0 -22
  62. package/dist/esm/api/types/Asr.d.mts +10 -1
  63. package/dist/esm/api/types/ElevenLabsAsr.d.mts +10 -0
  64. package/dist/esm/api/types/ElevenLabsAsrParams.d.mts +9 -0
  65. package/dist/esm/api/types/ElevenLabsAsrParams.mjs +2 -0
  66. package/dist/esm/api/types/FishAudioAsr.d.mts +10 -0
  67. package/dist/esm/api/types/FishAudioAsr.mjs +2 -0
  68. package/dist/esm/api/types/FishAudioAsrParams.d.mts +9 -0
  69. package/dist/esm/api/types/FishAudioAsrParams.mjs +2 -0
  70. package/dist/esm/api/types/QwenAsr.d.mts +10 -0
  71. package/dist/esm/api/types/QwenAsr.mjs +2 -0
  72. package/dist/esm/api/types/QwenAsrParams.d.mts +9 -0
  73. package/dist/esm/api/types/QwenAsrParams.mjs +2 -0
  74. package/dist/esm/api/types/Tts.d.mts +1 -4
  75. package/dist/esm/api/types/index.d.mts +6 -2
  76. package/dist/esm/api/types/index.mjs +6 -2
  77. package/dist/esm/index.d.mts +2 -2
  78. package/dist/esm/index.mjs +4 -4
  79. package/dist/esm/version.d.mts +1 -1
  80. package/dist/esm/version.mjs +1 -1
  81. package/package.json +1 -1
  82. package/dist/cjs/api/types/HumeAiTts.d.ts +0 -9
  83. package/dist/cjs/api/types/HumeAiTtsParams.d.ts +0 -29
  84. package/dist/cjs/api/types/HumeAiTtsParams.js +0 -12
  85. package/dist/esm/api/types/HumeAiTts.d.mts +0 -9
  86. package/dist/esm/api/types/HumeAiTtsParams.d.mts +0 -29
  87. package/dist/esm/api/types/HumeAiTtsParams.mjs +0 -9
  88. /package/dist/cjs/api/types/{HumeAiTts.js → ElevenLabsAsr.js} +0 -0
  89. /package/dist/esm/api/types/{HumeAiTts.mjs → ElevenLabsAsr.mjs} +0 -0
@@ -24,10 +24,14 @@ export * from "./DeepgramAsr.mjs";
24
24
  export * from "./DeepgramAsrParams.mjs";
25
25
  export * from "./DeepgramTts.mjs";
26
26
  export * from "./DeepgramTtsParams.mjs";
27
+ export * from "./ElevenLabsAsr.mjs";
28
+ export * from "./ElevenLabsAsrParams.mjs";
27
29
  export * from "./ElevenLabsTts.mjs";
28
30
  export * from "./ElevenLabsTtsParams.mjs";
29
31
  export * from "./FengmingAsr.mjs";
30
32
  export * from "./FengmingAsrParams.mjs";
33
+ export * from "./FishAudioAsr.mjs";
34
+ export * from "./FishAudioAsrParams.mjs";
31
35
  export * from "./FishAudioTts.mjs";
32
36
  export * from "./FishAudioTtsParams.mjs";
33
37
  export * from "./GeminiAsr.mjs";
@@ -44,8 +48,6 @@ export * from "./GoogleTtsParams.mjs";
44
48
  export * from "./GoogleTtsVoiceSelectionParams.mjs";
45
49
  export * from "./GradiumTts.mjs";
46
50
  export * from "./GradiumTtsParams.mjs";
47
- export * from "./HumeAiTts.mjs";
48
- export * from "./HumeAiTtsParams.mjs";
49
51
  export * from "./Llm.mjs";
50
52
  export * from "./LlmParams.mjs";
51
53
  export * from "./LlmTool.mjs";
@@ -75,6 +77,8 @@ export * from "./OpenAiAsrParams.mjs";
75
77
  export * from "./OpenAiInputAudioTranscription.mjs";
76
78
  export * from "./OpenAiTts.mjs";
77
79
  export * from "./OpenAiTtsParams.mjs";
80
+ export * from "./QwenAsr.mjs";
81
+ export * from "./QwenAsrParams.mjs";
78
82
  export * from "./RimeTts.mjs";
79
83
  export * from "./RimeTtsParams.mjs";
80
84
  export * from "./RtzrAsr.mjs";
@@ -1,8 +1,8 @@
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, 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, GenerateClientTokenOptions, 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, LemonSliceOptions, LiveAvatarAvatarConfig, LiveAvatarAvatarOptions, LiveAvatarSampleRate, LlmConfig, LlmGreetingConfigs, LlmGreetingConfigsMode, LlmPreset, LlmStyle, LlmTool, LlmToolExecution, LlmToolFunction, LlmToolServer, LlmVendor, McpServer, McpServersItem, MicrosoftCNSampleRate, MicrosoftCNSTTOptions, MicrosoftCNTTSOptions, MicrosoftSampleRate, MicrosoftSTTOptions, MicrosoftTTSOptions, MicrosoftTts, MicrosoftTtsParams, MiniMaxCNTTSOptions, MiniMaxDuplexTTSOptions, MiniMaxTTSOptions, MinimaxDuplexTts, MinimaxDuplexTtsParams, 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, ProtofaceOptions, QwenOmniOptions, RimeTTSOptions, RimeTts, RimeTtsParams, RTZRSTTOptions, RtcConfig, RtzrAsr, RtzrAsrParams, 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, SonioxTTSOptions, SonioxTts, SonioxTtsParams, SpatiusAvatarConfig, SpatiusAvatarOptions, SpatiusAvatarParams, SpeakConfig, SpeakPriority, SpeechmaticsSTTOptions, StartOfSpeechConfig, StartOfSpeechDisabledConfig, StartOfSpeechDisabledConfigStrategy, StartOfSpeechKeywordsConfig, StartOfSpeechMode, StartOfSpeechVadConfig, StepFunSTTOptions, StepFunTTSOptions, StepfunAsr, StepfunAsrParams, StrictAvatarConfig, SttConfig, SttVendor, TavusOptions, 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, generateClientToken, generateConvoAIToken, generateRtcToken, HeyGenAvatar, HumeAITTS, InterruptionDisabledStrategy, InterruptionDisabledStrategyAppend, InterruptionDisabledStrategyIgnore, InterruptionModeKeywords, InterruptionModeStartOfSpeech, InterruptionModeValues, isAkoolAvatar, isAnamAvatar, isAvatarTokenManaged, isGenericAvatar, isHeyGenAvatar, isLiveAvatarAvatar, isSensetimeAvatar, isSpatiusAvatar, LemonSlice, LiveAvatarAvatar, MAX_EXPIRY_SECONDS, MicrosoftCNSTT, MicrosoftCNTTS, MicrosoftSTT, MicrosoftTTS, MiniMaxCNTTS, MiniMaxDuplexTTS, MiniMaxTTS, MistralTTS, MllmTurnDetectionModeAgoraVad, MllmTurnDetectionModeSemanticVad, MllmTurnDetectionModeServerVad, MllmTurnDetectionModeValues, MurfTTS, normalizePresetInput, OpenAI, OpenAIGPTLive, OpenAIRealtime, OpenAISTT, OpenAITTS, PREVIEW_API_BASE_URL, PREVIEW_FEATURE_HEADER, PreviewFeatures, Protoface, previewRequestHeaders, QwenOmni, REDACTED, RimeTTS, RTZRSTT, redactHeadersForDebug, redactSecrets, SalModeValues, SarvamSTT, SarvamTTS, SarvamTTSLanguage, SensetimeAvatar, SilenceActionValues, SmallestAISTT, SmallestAITTS, SonioxTTS, SpatiusAvatar, SpeakPriorityAppend, SpeakPriorityIgnore, SpeakPriorityInterrupt, SpeakPriorityValues, SpeechmaticsSTT, StepFunSTT, StepFunTTS, Tavus, 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, ElevenLabsSTTOptions, ElevenLabsTTSOptions, ElevenLabsTts, ElevenLabsTtsParams, EndOfSpeechConfig, EndOfSpeechMode, EndOfSpeechSemanticConfig, EndOfSpeechVadConfig, FarewellConfig, FengmingSTTOptions, FillerWordsConfig, FillerWordsContent, FillerWordsContentGeneratedConfig, FillerWordsContentSelectionRule, FillerWordsContentStaticConfig, FillerWordsGeneratedLlmProvider, FillerWordsTrigger, FillerWordsTriggerFixedTimeConfig, FishAudioSTTOptions, FishAudioTTSOptions, FishAudioTts, FishAudioTtsParams, GeminiAsrParams, GeminiLiveModel, GeminiLiveModelRow, GeminiLiveModelSpec, GeminiLiveOptions, GeminiLiveVoice, GeminiOptions, GeminiPreviewVoice, GeminiSTTModel, GeminiSTTOptions, GeminiThinkingLevel, GenerateClientTokenOptions, 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, InterruptionConfig, InterruptionMode, InterruptMode, Labels, LemonSliceOptions, LiveAvatarAvatarConfig, LiveAvatarAvatarOptions, LiveAvatarSampleRate, LlmConfig, LlmGreetingConfigs, LlmGreetingConfigsMode, LlmPreset, LlmStyle, LlmTool, LlmToolExecution, LlmToolFunction, LlmToolServer, LlmVendor, McpServer, McpServersItem, MicrosoftCNSampleRate, MicrosoftCNSTTOptions, MicrosoftCNTTSOptions, MicrosoftSampleRate, MicrosoftSTTOptions, MicrosoftTTSOptions, MicrosoftTts, MicrosoftTtsParams, MiniMaxCNTTSOptions, MiniMaxDuplexTTSOptions, MiniMaxTTSOptions, MinimaxDuplexTts, MinimaxDuplexTtsParams, 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, ProtofaceOptions, QwenOmniOptions, QwenSTTOptions, RimeTTSOptions, RimeTts, RimeTtsParams, RTZRSTTOptions, RtcConfig, RtzrAsr, RtzrAsrParams, 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, SonioxTTSOptions, SonioxTts, SonioxTtsParams, SpatiusAvatarConfig, SpatiusAvatarOptions, SpatiusAvatarParams, SpeakConfig, SpeakPriority, SpeechmaticsSTTOptions, StartOfSpeechConfig, StartOfSpeechDisabledConfig, StartOfSpeechDisabledConfigStrategy, StartOfSpeechKeywordsConfig, StartOfSpeechMode, StartOfSpeechVadConfig, StepFunSTTOptions, StepFunTTSOptions, StepfunAsr, StepfunAsrParams, StrictAvatarConfig, SttConfig, SttVendor, TavusOptions, 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, ElevenLabsSTT, ElevenLabsTTS, ExpiresIn, FengmingSTT, FillerWordsSelectionRule, FishAudioSTT, FishAudioTTS, GEMINI_EAP_MLLM_MODELS, GEMINI_LIVE_MODEL_TABLE, 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, generateClientToken, generateConvoAIToken, generateRtcToken, HeyGenAvatar, InterruptionDisabledStrategy, InterruptionDisabledStrategyAppend, InterruptionDisabledStrategyIgnore, InterruptionModeKeywords, InterruptionModeStartOfSpeech, InterruptionModeValues, isAkoolAvatar, isAnamAvatar, isAvatarTokenManaged, isGenericAvatar, isHeyGenAvatar, isLiveAvatarAvatar, isSensetimeAvatar, isSpatiusAvatar, LemonSlice, LiveAvatarAvatar, MAX_EXPIRY_SECONDS, MicrosoftCNSTT, MicrosoftCNTTS, MicrosoftSTT, MicrosoftTTS, MiniMaxCNTTS, MiniMaxDuplexTTS, MiniMaxTTS, MistralTTS, MllmTurnDetectionModeAgoraVad, MllmTurnDetectionModeSemanticVad, MllmTurnDetectionModeServerVad, MllmTurnDetectionModeValues, MurfTTS, normalizePresetInput, OpenAI, OpenAIGPTLive, OpenAIRealtime, OpenAISTT, OpenAITTS, PREVIEW_API_BASE_URL, PREVIEW_FEATURE_HEADER, PreviewFeatures, Protoface, previewRequestHeaders, QwenOmni, QwenSTT, REDACTED, RimeTTS, RTZRSTT, redactHeadersForDebug, redactSecrets, SalModeValues, SarvamSTT, SarvamTTS, SarvamTTSLanguage, SensetimeAvatar, SilenceActionValues, SmallestAISTT, SmallestAITTS, SonioxTTS, SpatiusAvatar, SpeakPriorityAppend, SpeakPriorityIgnore, SpeakPriorityInterrupt, SpeakPriorityValues, SpeechmaticsSTT, StepFunSTT, StepFunTTS, Tavus, 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
6
  export type { GeminiTTSConfig, GeminiTTSModel, GeminiTTSOptions } from "./agentkit/vendors/tts.mjs";
7
7
  export { GeminiTTS, GeminiTTSModels } from "./agentkit/vendors/tts.mjs";
8
8
  export * as Agora from "./api/index.mjs";
@@ -2,15 +2,15 @@ export { AgoraClient } from "./AgoraPoolClient.mjs";
2
2
  // Agentkit layer exports - clean, ergonomic API
3
3
  export { Agent, AgentPresets, AgentSession, AkoolAvatar, AliyunLLM, AmazonBedrock, AmazonSTT, AmazonTTS, AnamAvatar, Anthropic, AresSTT, AssemblyAISTT, AudioScenario, AzureOpenAI, AzureOpenAIRealtime, BaseAvatar, BaseCNAvatar, BaseCNLLM, BaseCNMLLM, BaseCNSTT, BaseCNTTS,
4
4
  // Base vendor classes
5
- BaseLLM, BaseMLLM, BaseSTT, BaseTTS, BytedanceDuplexTTS, BytedanceLLM, BytedanceTTS, CartesiaTTS, CosyVoiceTTS, CredentialMode, CustomLLM, createPreviewRoute, DataChannel, DeepgramSTT, DeepgramTTS, DeepSeekLLM, Dify,
5
+ BaseLLM, BaseMLLM, BaseSTT, BaseTTS, BytedanceDuplexTTS, BytedanceLLM, BytedanceTTS, CartesiaTTS, CosyVoiceTTS, CredentialMode, CustomLLM, createPreviewRoute, DataChannel, DeepgramSTT, DeepgramTTS, DeepSeekLLM, Dify, ElevenLabsSTT,
6
6
  // TTS vendors
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, generateClientToken, generateConvoAIToken, generateRtcToken,
7
+ ElevenLabsTTS, ExpiresIn, FengmingSTT, FillerWordsSelectionRule, FishAudioSTT, FishAudioTTS, GEMINI_EAP_MLLM_MODELS, GEMINI_LIVE_MODEL_TABLE, 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, generateClientToken, generateConvoAIToken, generateRtcToken,
8
8
  // Avatar vendors
9
- HeyGenAvatar, HumeAITTS, InterruptionDisabledStrategy, InterruptionDisabledStrategyAppend, InterruptionDisabledStrategyIgnore, InterruptionModeKeywords, InterruptionModeStartOfSpeech, InterruptionModeValues, isAkoolAvatar, isAnamAvatar, isAvatarTokenManaged, isGenericAvatar, isHeyGenAvatar, isLiveAvatarAvatar, isSensetimeAvatar, isSpatiusAvatar, LemonSlice, LiveAvatarAvatar, MAX_EXPIRY_SECONDS, MicrosoftCNSTT, MicrosoftCNTTS, MicrosoftSTT, MicrosoftTTS, MiniMaxCNTTS, MiniMaxDuplexTTS, MiniMaxTTS, MistralTTS, MllmTurnDetectionModeAgoraVad, MllmTurnDetectionModeSemanticVad, MllmTurnDetectionModeServerVad, MllmTurnDetectionModeValues, MurfTTS, normalizePresetInput,
9
+ HeyGenAvatar, InterruptionDisabledStrategy, InterruptionDisabledStrategyAppend, InterruptionDisabledStrategyIgnore, InterruptionModeKeywords, InterruptionModeStartOfSpeech, InterruptionModeValues, isAkoolAvatar, isAnamAvatar, isAvatarTokenManaged, isGenericAvatar, isHeyGenAvatar, isLiveAvatarAvatar, isSensetimeAvatar, isSpatiusAvatar, LemonSlice, LiveAvatarAvatar, MAX_EXPIRY_SECONDS, MicrosoftCNSTT, MicrosoftCNTTS, MicrosoftSTT, MicrosoftTTS, MiniMaxCNTTS, MiniMaxDuplexTTS, 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, Protoface, previewRequestHeaders, QwenOmni, REDACTED, RimeTTS, RTZRSTT, redactHeadersForDebug, redactSecrets, SalModeValues, SarvamSTT, SarvamTTS, SarvamTTSLanguage, SensetimeAvatar, SilenceActionValues, SmallestAISTT, SmallestAITTS, SonioxTTS, SpatiusAvatar, SpeakPriorityAppend, SpeakPriorityIgnore, SpeakPriorityInterrupt, SpeakPriorityValues,
13
+ OpenAIRealtime, OpenAISTT, OpenAITTS, PREVIEW_API_BASE_URL, PREVIEW_FEATURE_HEADER, PreviewFeatures, Protoface, previewRequestHeaders, QwenOmni, QwenSTT, REDACTED, RimeTTS, RTZRSTT, redactHeadersForDebug, redactSecrets, SalModeValues, SarvamSTT, SarvamTTS, SarvamTTSLanguage, SensetimeAvatar, SilenceActionValues, SmallestAISTT, SmallestAITTS, SonioxTTS, SpatiusAvatar, SpeakPriorityAppend, SpeakPriorityIgnore, SpeakPriorityInterrupt, SpeakPriorityValues,
14
14
  // STT vendors
15
15
  SpeechmaticsSTT, StepFunSTT, StepFunTTS, Tavus, 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
16
  export { GeminiTTS, GeminiTTSModels } from "./agentkit/vendors/tts.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v2.14.0";
1
+ export declare const SDK_VERSION = "v2.16.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "v2.14.0";
1
+ export const SDK_VERSION = "v2.16.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agora-agents",
3
- "version": "2.14.0",
3
+ "version": "2.16.0",
4
4
  "private": false,
5
5
  "repository": "github:AgoraIO/agora-agents-ts",
6
6
  "type": "commonjs",
@@ -1,9 +0,0 @@
1
- import type * as Agora from "../index.js";
2
- /**
3
- * Hume AI Text-to-Speech configuration (Beta).
4
- */
5
- export interface HumeAiTts {
6
- params: Agora.HumeAiTtsParams;
7
- /** Controls whether the TTS module skips bracketed content when reading LLM response text. */
8
- skip_patterns?: number[];
9
- }
@@ -1,29 +0,0 @@
1
- /**
2
- * Hume AI TTS configuration parameters.
3
- */
4
- export interface HumeAiTtsParams {
5
- /** Hume AI API key */
6
- key: string;
7
- /** Hume AI voice ID */
8
- voice_id: string;
9
- /** Base URL for the Hume AI API */
10
- base_url?: string;
11
- /** Voice provider type */
12
- provider: HumeAiTtsParams.Provider;
13
- /** Playback speed of the generated speech */
14
- speed?: number;
15
- /** Duration of silence in seconds to add at the end of each utterance */
16
- trailing_silence?: number;
17
- /** Hume AI configuration ID. Deprecated; use voice_id for the documented TTS shape. */
18
- config_id?: string;
19
- /** Accepts any additional properties */
20
- [key: string]: any;
21
- }
22
- export declare namespace HumeAiTtsParams {
23
- /** Voice provider type */
24
- const Provider: {
25
- readonly HumeAi: "HUME_AI";
26
- readonly CustomVoice: "CUSTOM_VOICE";
27
- };
28
- type Provider = (typeof Provider)[keyof typeof Provider];
29
- }
@@ -1,12 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.HumeAiTtsParams = void 0;
5
- var HumeAiTtsParams;
6
- (function (HumeAiTtsParams) {
7
- /** Voice provider type */
8
- HumeAiTtsParams.Provider = {
9
- HumeAi: "HUME_AI",
10
- CustomVoice: "CUSTOM_VOICE",
11
- };
12
- })(HumeAiTtsParams || (exports.HumeAiTtsParams = HumeAiTtsParams = {}));
@@ -1,9 +0,0 @@
1
- import type * as Agora from "../index.mjs";
2
- /**
3
- * Hume AI Text-to-Speech configuration (Beta).
4
- */
5
- export interface HumeAiTts {
6
- params: Agora.HumeAiTtsParams;
7
- /** Controls whether the TTS module skips bracketed content when reading LLM response text. */
8
- skip_patterns?: number[];
9
- }
@@ -1,29 +0,0 @@
1
- /**
2
- * Hume AI TTS configuration parameters.
3
- */
4
- export interface HumeAiTtsParams {
5
- /** Hume AI API key */
6
- key: string;
7
- /** Hume AI voice ID */
8
- voice_id: string;
9
- /** Base URL for the Hume AI API */
10
- base_url?: string;
11
- /** Voice provider type */
12
- provider: HumeAiTtsParams.Provider;
13
- /** Playback speed of the generated speech */
14
- speed?: number;
15
- /** Duration of silence in seconds to add at the end of each utterance */
16
- trailing_silence?: number;
17
- /** Hume AI configuration ID. Deprecated; use voice_id for the documented TTS shape. */
18
- config_id?: string;
19
- /** Accepts any additional properties */
20
- [key: string]: any;
21
- }
22
- export declare namespace HumeAiTtsParams {
23
- /** Voice provider type */
24
- const Provider: {
25
- readonly HumeAi: "HUME_AI";
26
- readonly CustomVoice: "CUSTOM_VOICE";
27
- };
28
- type Provider = (typeof Provider)[keyof typeof Provider];
29
- }
@@ -1,9 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export var HumeAiTtsParams;
3
- (function (HumeAiTtsParams) {
4
- /** Voice provider type */
5
- HumeAiTtsParams.Provider = {
6
- HumeAi: "HUME_AI",
7
- CustomVoice: "CUSTOM_VOICE",
8
- };
9
- })(HumeAiTtsParams || (HumeAiTtsParams = {}));