agora-agents 2.0.0 → 2.1.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 (218) hide show
  1. package/README.md +38 -9
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/agentkit/Agent.d.ts +49 -9
  4. package/dist/cjs/agentkit/Agent.js +92 -7
  5. package/dist/cjs/agentkit/AgentSession.d.ts +3 -3
  6. package/dist/cjs/agentkit/AgentSession.js +8 -7
  7. package/dist/cjs/agentkit/__tests__/type-safety.test.js +23 -3
  8. package/dist/cjs/agentkit/constants.d.ts +5 -4
  9. package/dist/cjs/agentkit/constants.js +5 -4
  10. package/dist/cjs/agentkit/index.d.ts +1 -1
  11. package/dist/cjs/agentkit/types.d.ts +50 -35
  12. package/dist/cjs/agentkit/vendors/avatar.d.ts +3 -1
  13. package/dist/cjs/agentkit/vendors/avatar.js +3 -1
  14. package/dist/cjs/agentkit/vendors/llm.d.ts +18 -8
  15. package/dist/cjs/agentkit/vendors/llm.js +83 -15
  16. package/dist/cjs/agentkit/vendors/mllm.d.ts +16 -0
  17. package/dist/cjs/agentkit/vendors/mllm.js +11 -7
  18. package/dist/cjs/agentkit/vendors/stt.d.ts +29 -11
  19. package/dist/cjs/agentkit/vendors/stt.js +74 -53
  20. package/dist/cjs/agentkit/vendors/tts.d.ts +70 -22
  21. package/dist/cjs/agentkit/vendors/tts.js +67 -34
  22. package/dist/cjs/api/resources/agents/client/Client.d.ts +3 -2
  23. package/dist/cjs/api/resources/agents/client/Client.js +3 -2
  24. package/dist/cjs/api/resources/agents/client/requests/StartAgentsRequest.d.ts +8 -331
  25. package/dist/cjs/api/resources/agents/client/requests/StartAgentsRequest.js +0 -107
  26. package/dist/cjs/api/types/AmazonAsr.d.ts +10 -0
  27. package/dist/cjs/api/types/AmazonAsr.js +3 -0
  28. package/dist/cjs/api/types/AmazonAsrParams.d.ts +19 -0
  29. package/dist/cjs/api/types/AmazonAsrParams.js +3 -0
  30. package/dist/cjs/api/types/AmazonTtsParams.d.ts +19 -5
  31. package/dist/cjs/api/types/AmazonTtsParams.js +11 -0
  32. package/dist/cjs/api/types/AresAsr.d.ts +10 -0
  33. package/dist/cjs/api/types/AresAsr.js +3 -0
  34. package/dist/cjs/api/types/AresAsrParams.d.ts +4 -0
  35. package/dist/cjs/api/types/AresAsrParams.js +3 -0
  36. package/dist/cjs/api/types/Asr.d.ts +31 -0
  37. package/dist/cjs/api/types/Asr.js +3 -0
  38. package/dist/cjs/api/types/AsrLanguage.d.ts +36 -0
  39. package/dist/cjs/api/types/AsrLanguage.js +39 -0
  40. package/dist/cjs/api/types/AssemblyAiAsr.d.ts +10 -0
  41. package/dist/cjs/api/types/AssemblyAiAsr.js +3 -0
  42. package/dist/cjs/api/types/AssemblyAiAsrParams.d.ts +13 -0
  43. package/dist/cjs/api/types/AssemblyAiAsrParams.js +3 -0
  44. package/dist/cjs/api/types/CartesiaTtsOutputFormat.d.ts +11 -0
  45. package/dist/cjs/api/types/CartesiaTtsOutputFormat.js +3 -0
  46. package/dist/cjs/api/types/CartesiaTtsParams.d.ts +9 -4
  47. package/dist/cjs/api/types/CartesiaTtsVoice.d.ts +2 -0
  48. package/dist/cjs/api/types/DeepgramAsr.d.ts +12 -0
  49. package/dist/cjs/api/types/DeepgramAsr.js +3 -0
  50. package/dist/cjs/api/types/DeepgramAsrParams.d.ts +17 -0
  51. package/dist/cjs/api/types/DeepgramAsrParams.js +3 -0
  52. package/dist/cjs/api/types/DeepgramTtsParams.d.ts +2 -2
  53. package/dist/cjs/api/types/ElevenLabsTtsParams.d.ts +13 -1
  54. package/dist/cjs/api/types/FishAudioTtsParams.d.ts +5 -1
  55. package/dist/cjs/api/types/GoogleAsr.d.ts +10 -0
  56. package/dist/cjs/api/types/GoogleAsr.js +3 -0
  57. package/dist/cjs/api/types/GoogleAsrParams.d.ts +17 -0
  58. package/dist/cjs/api/types/GoogleAsrParams.js +3 -0
  59. package/dist/cjs/api/types/GoogleTtsAudioConfig.d.ts +11 -0
  60. package/dist/cjs/api/types/GoogleTtsAudioConfig.js +3 -0
  61. package/dist/cjs/api/types/GoogleTtsParams.d.ts +7 -8
  62. package/dist/cjs/api/types/GoogleTtsVoiceSelectionParams.d.ts +9 -0
  63. package/dist/cjs/api/types/GoogleTtsVoiceSelectionParams.js +3 -0
  64. package/dist/cjs/api/types/HumeAiTtsParams.d.ts +21 -1
  65. package/dist/cjs/api/types/HumeAiTtsParams.js +9 -0
  66. package/dist/cjs/api/types/Llm.d.ts +58 -0
  67. package/dist/cjs/api/types/Llm.js +15 -0
  68. package/dist/cjs/api/types/LlmParams.d.ts +11 -0
  69. package/dist/cjs/api/types/LlmParams.js +3 -0
  70. package/dist/cjs/api/types/MicrosoftAsr.d.ts +10 -0
  71. package/dist/cjs/api/types/MicrosoftAsr.js +3 -0
  72. package/dist/cjs/api/types/MicrosoftAsrParams.d.ts +15 -0
  73. package/dist/cjs/api/types/MicrosoftAsrParams.js +3 -0
  74. package/dist/cjs/api/types/MicrosoftTtsParams.d.ts +6 -0
  75. package/dist/cjs/api/types/MinimaxTtsParams.d.ts +4 -0
  76. package/dist/cjs/api/types/Mllm.d.ts +44 -0
  77. package/dist/cjs/api/types/Mllm.js +14 -0
  78. package/dist/cjs/api/types/MllmHttpOptions.d.ts +9 -0
  79. package/dist/cjs/api/types/MllmHttpOptions.js +3 -0
  80. package/dist/cjs/api/types/MllmInputAudioTranscription.d.ts +13 -0
  81. package/dist/cjs/api/types/MllmInputAudioTranscription.js +3 -0
  82. package/dist/cjs/api/types/MllmParams.d.ts +28 -0
  83. package/dist/cjs/api/types/MllmParams.js +3 -0
  84. package/dist/cjs/api/types/MllmTurnDetection.d.ts +65 -0
  85. package/dist/cjs/api/types/MllmTurnDetection.js +33 -0
  86. package/dist/cjs/api/types/MurfTtsParams.d.ts +17 -5
  87. package/dist/cjs/api/types/OpenAiAsr.d.ts +10 -0
  88. package/dist/cjs/api/types/OpenAiAsr.js +3 -0
  89. package/dist/cjs/api/types/OpenAiAsrParams.d.ts +11 -0
  90. package/dist/cjs/api/types/OpenAiAsrParams.js +3 -0
  91. package/dist/cjs/api/types/OpenAiInputAudioTranscription.d.ts +13 -0
  92. package/dist/cjs/api/types/OpenAiInputAudioTranscription.js +3 -0
  93. package/dist/cjs/api/types/OpenAiTtsParams.d.ts +9 -1
  94. package/dist/cjs/api/types/RimeTtsParams.d.ts +7 -3
  95. package/dist/cjs/api/types/SarvamAsr.d.ts +10 -0
  96. package/dist/cjs/api/types/SarvamAsr.js +3 -0
  97. package/dist/cjs/api/types/SarvamAsrParams.d.ts +11 -0
  98. package/dist/cjs/api/types/SarvamAsrParams.js +3 -0
  99. package/dist/cjs/api/types/SarvamTtsParams.d.ts +29 -2
  100. package/dist/cjs/api/types/SarvamTtsParams.js +18 -0
  101. package/dist/cjs/api/types/SpeechmaticsAsr.d.ts +10 -0
  102. package/dist/cjs/api/types/SpeechmaticsAsr.js +3 -0
  103. package/dist/cjs/api/types/SpeechmaticsAsrParams.d.ts +13 -0
  104. package/dist/cjs/api/types/SpeechmaticsAsrParams.js +3 -0
  105. package/dist/cjs/api/types/index.d.ts +31 -0
  106. package/dist/cjs/api/types/index.js +31 -0
  107. package/dist/cjs/index.d.ts +1 -1
  108. package/dist/cjs/version.d.ts +1 -1
  109. package/dist/cjs/version.js +1 -1
  110. package/dist/esm/BaseClient.mjs +2 -2
  111. package/dist/esm/agentkit/Agent.d.mts +49 -9
  112. package/dist/esm/agentkit/Agent.mjs +92 -7
  113. package/dist/esm/agentkit/AgentSession.d.mts +3 -3
  114. package/dist/esm/agentkit/AgentSession.mjs +8 -7
  115. package/dist/esm/agentkit/__tests__/type-safety.test.mjs +23 -3
  116. package/dist/esm/agentkit/constants.d.mts +5 -4
  117. package/dist/esm/agentkit/constants.mjs +5 -4
  118. package/dist/esm/agentkit/index.d.mts +1 -1
  119. package/dist/esm/agentkit/types.d.mts +50 -35
  120. package/dist/esm/agentkit/vendors/avatar.d.mts +3 -1
  121. package/dist/esm/agentkit/vendors/avatar.mjs +3 -1
  122. package/dist/esm/agentkit/vendors/llm.d.mts +18 -8
  123. package/dist/esm/agentkit/vendors/llm.mjs +83 -15
  124. package/dist/esm/agentkit/vendors/mllm.d.mts +16 -0
  125. package/dist/esm/agentkit/vendors/mllm.mjs +11 -7
  126. package/dist/esm/agentkit/vendors/stt.d.mts +29 -11
  127. package/dist/esm/agentkit/vendors/stt.mjs +74 -53
  128. package/dist/esm/agentkit/vendors/tts.d.mts +70 -22
  129. package/dist/esm/agentkit/vendors/tts.mjs +67 -34
  130. package/dist/esm/api/resources/agents/client/Client.d.mts +3 -2
  131. package/dist/esm/api/resources/agents/client/Client.mjs +3 -2
  132. package/dist/esm/api/resources/agents/client/requests/StartAgentsRequest.d.mts +8 -331
  133. package/dist/esm/api/resources/agents/client/requests/StartAgentsRequest.mjs +0 -107
  134. package/dist/esm/api/types/AmazonAsr.d.mts +10 -0
  135. package/dist/esm/api/types/AmazonAsr.mjs +2 -0
  136. package/dist/esm/api/types/AmazonAsrParams.d.mts +19 -0
  137. package/dist/esm/api/types/AmazonAsrParams.mjs +2 -0
  138. package/dist/esm/api/types/AmazonTtsParams.d.mts +19 -5
  139. package/dist/esm/api/types/AmazonTtsParams.mjs +10 -1
  140. package/dist/esm/api/types/AresAsr.d.mts +10 -0
  141. package/dist/esm/api/types/AresAsr.mjs +2 -0
  142. package/dist/esm/api/types/AresAsrParams.d.mts +4 -0
  143. package/dist/esm/api/types/AresAsrParams.mjs +2 -0
  144. package/dist/esm/api/types/Asr.d.mts +31 -0
  145. package/dist/esm/api/types/Asr.mjs +2 -0
  146. package/dist/esm/api/types/AsrLanguage.d.mts +36 -0
  147. package/dist/esm/api/types/AsrLanguage.mjs +36 -0
  148. package/dist/esm/api/types/AssemblyAiAsr.d.mts +10 -0
  149. package/dist/esm/api/types/AssemblyAiAsr.mjs +2 -0
  150. package/dist/esm/api/types/AssemblyAiAsrParams.d.mts +13 -0
  151. package/dist/esm/api/types/AssemblyAiAsrParams.mjs +2 -0
  152. package/dist/esm/api/types/CartesiaTtsOutputFormat.d.mts +11 -0
  153. package/dist/esm/api/types/CartesiaTtsOutputFormat.mjs +2 -0
  154. package/dist/esm/api/types/CartesiaTtsParams.d.mts +9 -4
  155. package/dist/esm/api/types/CartesiaTtsVoice.d.mts +2 -0
  156. package/dist/esm/api/types/DeepgramAsr.d.mts +12 -0
  157. package/dist/esm/api/types/DeepgramAsr.mjs +2 -0
  158. package/dist/esm/api/types/DeepgramAsrParams.d.mts +17 -0
  159. package/dist/esm/api/types/DeepgramAsrParams.mjs +2 -0
  160. package/dist/esm/api/types/DeepgramTtsParams.d.mts +2 -2
  161. package/dist/esm/api/types/ElevenLabsTtsParams.d.mts +13 -1
  162. package/dist/esm/api/types/FishAudioTtsParams.d.mts +5 -1
  163. package/dist/esm/api/types/GoogleAsr.d.mts +10 -0
  164. package/dist/esm/api/types/GoogleAsr.mjs +2 -0
  165. package/dist/esm/api/types/GoogleAsrParams.d.mts +17 -0
  166. package/dist/esm/api/types/GoogleAsrParams.mjs +2 -0
  167. package/dist/esm/api/types/GoogleTtsAudioConfig.d.mts +11 -0
  168. package/dist/esm/api/types/GoogleTtsAudioConfig.mjs +2 -0
  169. package/dist/esm/api/types/GoogleTtsParams.d.mts +7 -8
  170. package/dist/esm/api/types/GoogleTtsVoiceSelectionParams.d.mts +9 -0
  171. package/dist/esm/api/types/GoogleTtsVoiceSelectionParams.mjs +2 -0
  172. package/dist/esm/api/types/HumeAiTtsParams.d.mts +21 -1
  173. package/dist/esm/api/types/HumeAiTtsParams.mjs +8 -1
  174. package/dist/esm/api/types/Llm.d.mts +58 -0
  175. package/dist/esm/api/types/Llm.mjs +12 -0
  176. package/dist/esm/api/types/LlmParams.d.mts +11 -0
  177. package/dist/esm/api/types/LlmParams.mjs +2 -0
  178. package/dist/esm/api/types/MicrosoftAsr.d.mts +10 -0
  179. package/dist/esm/api/types/MicrosoftAsr.mjs +2 -0
  180. package/dist/esm/api/types/MicrosoftAsrParams.d.mts +15 -0
  181. package/dist/esm/api/types/MicrosoftAsrParams.mjs +2 -0
  182. package/dist/esm/api/types/MicrosoftTtsParams.d.mts +6 -0
  183. package/dist/esm/api/types/MinimaxTtsParams.d.mts +4 -0
  184. package/dist/esm/api/types/Mllm.d.mts +44 -0
  185. package/dist/esm/api/types/Mllm.mjs +11 -0
  186. package/dist/esm/api/types/MllmHttpOptions.d.mts +9 -0
  187. package/dist/esm/api/types/MllmHttpOptions.mjs +2 -0
  188. package/dist/esm/api/types/MllmInputAudioTranscription.d.mts +13 -0
  189. package/dist/esm/api/types/MllmInputAudioTranscription.mjs +2 -0
  190. package/dist/esm/api/types/MllmParams.d.mts +28 -0
  191. package/dist/esm/api/types/MllmParams.mjs +2 -0
  192. package/dist/esm/api/types/MllmTurnDetection.d.mts +65 -0
  193. package/dist/esm/api/types/MllmTurnDetection.mjs +30 -0
  194. package/dist/esm/api/types/MurfTtsParams.d.mts +17 -5
  195. package/dist/esm/api/types/OpenAiAsr.d.mts +10 -0
  196. package/dist/esm/api/types/OpenAiAsr.mjs +2 -0
  197. package/dist/esm/api/types/OpenAiAsrParams.d.mts +11 -0
  198. package/dist/esm/api/types/OpenAiAsrParams.mjs +2 -0
  199. package/dist/esm/api/types/OpenAiInputAudioTranscription.d.mts +13 -0
  200. package/dist/esm/api/types/OpenAiInputAudioTranscription.mjs +2 -0
  201. package/dist/esm/api/types/OpenAiTtsParams.d.mts +9 -1
  202. package/dist/esm/api/types/RimeTtsParams.d.mts +7 -3
  203. package/dist/esm/api/types/SarvamAsr.d.mts +10 -0
  204. package/dist/esm/api/types/SarvamAsr.mjs +2 -0
  205. package/dist/esm/api/types/SarvamAsrParams.d.mts +11 -0
  206. package/dist/esm/api/types/SarvamAsrParams.mjs +2 -0
  207. package/dist/esm/api/types/SarvamTtsParams.d.mts +29 -2
  208. package/dist/esm/api/types/SarvamTtsParams.mjs +17 -1
  209. package/dist/esm/api/types/SpeechmaticsAsr.d.mts +10 -0
  210. package/dist/esm/api/types/SpeechmaticsAsr.mjs +2 -0
  211. package/dist/esm/api/types/SpeechmaticsAsrParams.d.mts +13 -0
  212. package/dist/esm/api/types/SpeechmaticsAsrParams.mjs +2 -0
  213. package/dist/esm/api/types/index.d.mts +31 -0
  214. package/dist/esm/api/types/index.mjs +31 -0
  215. package/dist/esm/index.d.mts +1 -1
  216. package/dist/esm/version.d.mts +1 -1
  217. package/dist/esm/version.mjs +1 -1
  218. package/package.json +3 -2
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,65 @@
1
+ /**
2
+ * Turn detection configuration for the MLLM module.
3
+ */
4
+ export interface MllmTurnDetection {
5
+ /** Turn detection mode for MLLM. */
6
+ mode?: MllmTurnDetection.Mode | null;
7
+ agora_vad_config?: MllmTurnDetection.AgoraVadConfig | null;
8
+ server_vad_config?: MllmTurnDetection.ServerVadConfig | null;
9
+ semantic_vad_config?: MllmTurnDetection.SemanticVadConfig | null;
10
+ /** Accepts any additional properties */
11
+ [key: string]: any;
12
+ }
13
+ export declare namespace MllmTurnDetection {
14
+ /** Turn detection mode for MLLM. */
15
+ const Mode: {
16
+ readonly AgoraVad: "agora_vad";
17
+ readonly ServerVad: "server_vad";
18
+ readonly SemanticVad: "semantic_vad";
19
+ };
20
+ type Mode = (typeof Mode)[keyof typeof Mode];
21
+ interface AgoraVadConfig {
22
+ interrupt_duration_ms?: number | null;
23
+ prefix_padding_ms?: number | null;
24
+ silence_duration_ms?: number | null;
25
+ threshold?: number | null;
26
+ /** Accepts any additional properties */
27
+ [key: string]: any;
28
+ }
29
+ interface ServerVadConfig {
30
+ prefix_padding_ms?: number | null;
31
+ silence_duration_ms?: number | null;
32
+ threshold?: number | null;
33
+ idle_timeout_ms?: number | null;
34
+ start_of_speech_sensitivity?: ServerVadConfig.StartOfSpeechSensitivity | null;
35
+ end_of_speech_sensitivity?: ServerVadConfig.EndOfSpeechSensitivity | null;
36
+ /** Accepts any additional properties */
37
+ [key: string]: any;
38
+ }
39
+ namespace ServerVadConfig {
40
+ const StartOfSpeechSensitivity: {
41
+ readonly StartSensitivityHigh: "START_SENSITIVITY_HIGH";
42
+ readonly StartSensitivityLow: "START_SENSITIVITY_LOW";
43
+ };
44
+ type StartOfSpeechSensitivity = (typeof StartOfSpeechSensitivity)[keyof typeof StartOfSpeechSensitivity];
45
+ const EndOfSpeechSensitivity: {
46
+ readonly EndSensitivityHigh: "END_SENSITIVITY_HIGH";
47
+ readonly EndSensitivityLow: "END_SENSITIVITY_LOW";
48
+ };
49
+ type EndOfSpeechSensitivity = (typeof EndOfSpeechSensitivity)[keyof typeof EndOfSpeechSensitivity];
50
+ }
51
+ interface SemanticVadConfig {
52
+ eagerness?: SemanticVadConfig.Eagerness | null;
53
+ /** Accepts any additional properties */
54
+ [key: string]: any;
55
+ }
56
+ namespace SemanticVadConfig {
57
+ const Eagerness: {
58
+ readonly Auto: "auto";
59
+ readonly Low: "low";
60
+ readonly Medium: "medium";
61
+ readonly High: "high";
62
+ };
63
+ type Eagerness = (typeof Eagerness)[keyof typeof Eagerness];
64
+ }
65
+ }
@@ -0,0 +1,30 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export var MllmTurnDetection;
3
+ (function (MllmTurnDetection) {
4
+ /** Turn detection mode for MLLM. */
5
+ MllmTurnDetection.Mode = {
6
+ AgoraVad: "agora_vad",
7
+ ServerVad: "server_vad",
8
+ SemanticVad: "semantic_vad",
9
+ };
10
+ let ServerVadConfig;
11
+ (function (ServerVadConfig) {
12
+ ServerVadConfig.StartOfSpeechSensitivity = {
13
+ StartSensitivityHigh: "START_SENSITIVITY_HIGH",
14
+ StartSensitivityLow: "START_SENSITIVITY_LOW",
15
+ };
16
+ ServerVadConfig.EndOfSpeechSensitivity = {
17
+ EndSensitivityHigh: "END_SENSITIVITY_HIGH",
18
+ EndSensitivityLow: "END_SENSITIVITY_LOW",
19
+ };
20
+ })(ServerVadConfig = MllmTurnDetection.ServerVadConfig || (MllmTurnDetection.ServerVadConfig = {}));
21
+ let SemanticVadConfig;
22
+ (function (SemanticVadConfig) {
23
+ SemanticVadConfig.Eagerness = {
24
+ Auto: "auto",
25
+ Low: "low",
26
+ Medium: "medium",
27
+ High: "high",
28
+ };
29
+ })(SemanticVadConfig = MllmTurnDetection.SemanticVadConfig || (MllmTurnDetection.SemanticVadConfig = {}));
30
+ })(MllmTurnDetection || (MllmTurnDetection = {}));
@@ -3,9 +3,21 @@
3
3
  */
4
4
  export interface MurfTtsParams {
5
5
  /** Murf API key */
6
- key: string;
7
- /** Voice ID (e.g., Ariana, Natalie, Ken) */
8
- voice_id: string;
9
- /** Voice style (e.g., Angry, Sad, Conversational, Newscast) */
10
- style?: string;
6
+ api_key: string;
7
+ /** WebSocket endpoint for streaming TTS output */
8
+ base_url?: string;
9
+ /** Voice ID (e.g., Matthew) */
10
+ voiceId?: string;
11
+ /** Locale for the selected voice */
12
+ locale?: string;
13
+ /** Speech rate adjustment */
14
+ rate?: number;
15
+ /** Pitch adjustment */
16
+ pitch?: number;
17
+ /** TTS model to use */
18
+ model?: string;
19
+ /** Audio sample rate in Hz */
20
+ sample_rate?: number;
21
+ /** Accepts any additional properties */
22
+ [key: string]: any;
11
23
  }
@@ -0,0 +1,10 @@
1
+ import type * as Agora from "../index.mjs";
2
+ /**
3
+ * OpenAI ASR configuration.
4
+ */
5
+ export interface OpenAiAsr {
6
+ language?: Agora.AsrLanguage;
7
+ params: Agora.OpenAiAsrParams;
8
+ /** Accepts any additional properties */
9
+ [key: string]: any;
10
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,11 @@
1
+ import type * as Agora from "../index.mjs";
2
+ /**
3
+ * OpenAI ASR configuration parameters.
4
+ */
5
+ export interface OpenAiAsrParams {
6
+ /** OpenAI API key */
7
+ api_key: string;
8
+ input_audio_transcription: Agora.OpenAiInputAudioTranscription;
9
+ /** Accepts any additional properties */
10
+ [key: string]: any;
11
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,13 @@
1
+ /**
2
+ * OpenAI audio transcription configuration.
3
+ */
4
+ export interface OpenAiInputAudioTranscription {
5
+ /** OpenAI ASR model to use for transcription */
6
+ model: string;
7
+ /** Prompt that guides the transcription process */
8
+ prompt: string;
9
+ /** Language code to use for transcription */
10
+ language: string;
11
+ /** Accepts any additional properties */
12
+ [key: string]: any;
13
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -2,10 +2,18 @@
2
2
  * OpenAI TTS configuration parameters.
3
3
  */
4
4
  export interface OpenAiTtsParams {
5
- /** OpenAI API key. Optional for Agora-managed OpenAI TTS usage. */
5
+ /** OpenAI API key. Optional for preset-backed OpenAI TTS usage. */
6
6
  api_key?: string;
7
+ /** Endpoint URL for the OpenAI TTS service. */
8
+ base_url?: string;
7
9
  /** Voice name (e.g., "alloy", "echo", "fable", "onyx", "nova", "shimmer") */
8
10
  voice: string;
9
11
  /** Model name (e.g., "tts-1", "tts-1-hd") */
10
12
  model?: string;
13
+ /** Custom instructions for voice style, accent, pace, and tone. */
14
+ instructions?: string;
15
+ /** Speaking rate multiplier. */
16
+ speed?: number;
17
+ /** Accepts any additional properties */
18
+ [key: string]: any;
11
19
  }
@@ -3,9 +3,13 @@
3
3
  */
4
4
  export interface RimeTtsParams {
5
5
  /** Rime API key */
6
- key: string;
6
+ api_key: string;
7
7
  /** Rime speaker ID */
8
8
  speaker: string;
9
- /** Model ID (optional) */
10
- model_id?: string;
9
+ /** Rime TTS model ID */
10
+ modelId: string;
11
+ /** WebSocket URL for the Rime streaming API */
12
+ base_url?: string;
13
+ /** Accepts any additional properties */
14
+ [key: string]: any;
11
15
  }
@@ -0,0 +1,10 @@
1
+ import type * as Agora from "../index.mjs";
2
+ /**
3
+ * Sarvam ASR configuration.
4
+ */
5
+ export interface SarvamAsr {
6
+ language?: Agora.AsrLanguage;
7
+ params: Agora.SarvamAsrParams;
8
+ /** Accepts any additional properties */
9
+ [key: string]: any;
10
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Sarvam ASR configuration parameters.
3
+ */
4
+ export interface SarvamAsrParams {
5
+ /** Sarvam API key */
6
+ api_key: string;
7
+ /** Language code for transcription. Set to unknown for automatic language detection. */
8
+ language: string;
9
+ /** Accepts any additional properties */
10
+ [key: string]: any;
11
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -3,9 +3,36 @@
3
3
  */
4
4
  export interface SarvamTtsParams {
5
5
  /** Sarvam API subscription key */
6
- key: string;
6
+ api_subscription_key: string;
7
7
  /** Voice ID (e.g., anushka, abhilash, karun, hitesh, manisha, vidya, arya) */
8
8
  speaker: string;
9
9
  /** Target language code (e.g., en-IN) */
10
- target_language_code: string;
10
+ target_language_code: SarvamTtsParams.TargetLanguageCode;
11
+ /** Pitch adjustment for the voice */
12
+ pitch?: number;
13
+ /** Speed of speech */
14
+ pace?: number;
15
+ /** Volume level of the speech */
16
+ loudness?: number;
17
+ /** Audio sample rate in Hz */
18
+ sample_rate?: number;
19
+ /** Accepts any additional properties */
20
+ [key: string]: any;
21
+ }
22
+ export declare namespace SarvamTtsParams {
23
+ /** Target language code (e.g., en-IN) */
24
+ const TargetLanguageCode: {
25
+ readonly EnIn: "en-IN";
26
+ readonly HiIn: "hi-IN";
27
+ readonly BnIn: "bn-IN";
28
+ readonly TaIn: "ta-IN";
29
+ readonly TeIn: "te-IN";
30
+ readonly KnIn: "kn-IN";
31
+ readonly MlIn: "ml-IN";
32
+ readonly MrIn: "mr-IN";
33
+ readonly GuIn: "gu-IN";
34
+ readonly PaIn: "pa-IN";
35
+ readonly OrIn: "or-IN";
36
+ };
37
+ type TargetLanguageCode = (typeof TargetLanguageCode)[keyof typeof TargetLanguageCode];
11
38
  }
@@ -1,2 +1,18 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
- export {};
2
+ export var SarvamTtsParams;
3
+ (function (SarvamTtsParams) {
4
+ /** Target language code (e.g., en-IN) */
5
+ SarvamTtsParams.TargetLanguageCode = {
6
+ EnIn: "en-IN",
7
+ HiIn: "hi-IN",
8
+ BnIn: "bn-IN",
9
+ TaIn: "ta-IN",
10
+ TeIn: "te-IN",
11
+ KnIn: "kn-IN",
12
+ MlIn: "ml-IN",
13
+ MrIn: "mr-IN",
14
+ GuIn: "gu-IN",
15
+ PaIn: "pa-IN",
16
+ OrIn: "or-IN",
17
+ };
18
+ })(SarvamTtsParams || (SarvamTtsParams = {}));
@@ -0,0 +1,10 @@
1
+ import type * as Agora from "../index.mjs";
2
+ /**
3
+ * Speechmatics ASR configuration.
4
+ */
5
+ export interface SpeechmaticsAsr {
6
+ language?: Agora.AsrLanguage;
7
+ params: Agora.SpeechmaticsAsrParams;
8
+ /** Accepts any additional properties */
9
+ [key: string]: any;
10
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Speechmatics ASR configuration parameters.
3
+ */
4
+ export interface SpeechmaticsAsrParams {
5
+ /** Speechmatics API key */
6
+ api_key: string;
7
+ /** Language code to use for transcription */
8
+ language: string;
9
+ /** WebSocket URL for the Speechmatics streaming API */
10
+ uri?: string | null;
11
+ /** Accepts any additional properties */
12
+ [key: string]: any;
13
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -1,30 +1,61 @@
1
1
  export * from "./AgentErrorResponse.mjs";
2
+ export * from "./AmazonAsr.mjs";
3
+ export * from "./AmazonAsrParams.mjs";
2
4
  export * from "./AmazonTts.mjs";
3
5
  export * from "./AmazonTtsParams.mjs";
6
+ export * from "./AresAsr.mjs";
7
+ export * from "./AresAsrParams.mjs";
8
+ export * from "./Asr.mjs";
9
+ export * from "./AsrLanguage.mjs";
10
+ export * from "./AssemblyAiAsr.mjs";
11
+ export * from "./AssemblyAiAsrParams.mjs";
4
12
  export * from "./CartesiaTts.mjs";
13
+ export * from "./CartesiaTtsOutputFormat.mjs";
5
14
  export * from "./CartesiaTtsParams.mjs";
6
15
  export * from "./CartesiaTtsVoice.mjs";
16
+ export * from "./DeepgramAsr.mjs";
17
+ export * from "./DeepgramAsrParams.mjs";
7
18
  export * from "./DeepgramTts.mjs";
8
19
  export * from "./DeepgramTtsParams.mjs";
9
20
  export * from "./ElevenLabsTts.mjs";
10
21
  export * from "./ElevenLabsTtsParams.mjs";
11
22
  export * from "./FishAudioTts.mjs";
12
23
  export * from "./FishAudioTtsParams.mjs";
24
+ export * from "./GoogleAsr.mjs";
25
+ export * from "./GoogleAsrParams.mjs";
13
26
  export * from "./GoogleTts.mjs";
27
+ export * from "./GoogleTtsAudioConfig.mjs";
14
28
  export * from "./GoogleTtsParams.mjs";
29
+ export * from "./GoogleTtsVoiceSelectionParams.mjs";
15
30
  export * from "./HumeAiTts.mjs";
16
31
  export * from "./HumeAiTtsParams.mjs";
32
+ export * from "./Llm.mjs";
33
+ export * from "./LlmParams.mjs";
34
+ export * from "./MicrosoftAsr.mjs";
35
+ export * from "./MicrosoftAsrParams.mjs";
17
36
  export * from "./MicrosoftTts.mjs";
18
37
  export * from "./MicrosoftTtsParams.mjs";
19
38
  export * from "./MinimaxTts.mjs";
20
39
  export * from "./MinimaxTtsParams.mjs";
40
+ export * from "./Mllm.mjs";
41
+ export * from "./MllmHttpOptions.mjs";
42
+ export * from "./MllmInputAudioTranscription.mjs";
43
+ export * from "./MllmParams.mjs";
44
+ export * from "./MllmTurnDetection.mjs";
21
45
  export * from "./MurfTts.mjs";
22
46
  export * from "./MurfTtsParams.mjs";
47
+ export * from "./OpenAiAsr.mjs";
48
+ export * from "./OpenAiAsrParams.mjs";
49
+ export * from "./OpenAiInputAudioTranscription.mjs";
23
50
  export * from "./OpenAiTts.mjs";
24
51
  export * from "./OpenAiTtsParams.mjs";
25
52
  export * from "./RimeTts.mjs";
26
53
  export * from "./RimeTtsParams.mjs";
54
+ export * from "./SarvamAsr.mjs";
55
+ export * from "./SarvamAsrParams.mjs";
27
56
  export * from "./SarvamTts.mjs";
28
57
  export * from "./SarvamTtsParams.mjs";
58
+ export * from "./SpeechmaticsAsr.mjs";
59
+ export * from "./SpeechmaticsAsrParams.mjs";
29
60
  export * from "./TelephonyErrorResponse.mjs";
30
61
  export * from "./Tts.mjs";
@@ -1,30 +1,61 @@
1
1
  export * from "./AgentErrorResponse.mjs";
2
+ export * from "./AmazonAsr.mjs";
3
+ export * from "./AmazonAsrParams.mjs";
2
4
  export * from "./AmazonTts.mjs";
3
5
  export * from "./AmazonTtsParams.mjs";
6
+ export * from "./AresAsr.mjs";
7
+ export * from "./AresAsrParams.mjs";
8
+ export * from "./Asr.mjs";
9
+ export * from "./AsrLanguage.mjs";
10
+ export * from "./AssemblyAiAsr.mjs";
11
+ export * from "./AssemblyAiAsrParams.mjs";
4
12
  export * from "./CartesiaTts.mjs";
13
+ export * from "./CartesiaTtsOutputFormat.mjs";
5
14
  export * from "./CartesiaTtsParams.mjs";
6
15
  export * from "./CartesiaTtsVoice.mjs";
16
+ export * from "./DeepgramAsr.mjs";
17
+ export * from "./DeepgramAsrParams.mjs";
7
18
  export * from "./DeepgramTts.mjs";
8
19
  export * from "./DeepgramTtsParams.mjs";
9
20
  export * from "./ElevenLabsTts.mjs";
10
21
  export * from "./ElevenLabsTtsParams.mjs";
11
22
  export * from "./FishAudioTts.mjs";
12
23
  export * from "./FishAudioTtsParams.mjs";
24
+ export * from "./GoogleAsr.mjs";
25
+ export * from "./GoogleAsrParams.mjs";
13
26
  export * from "./GoogleTts.mjs";
27
+ export * from "./GoogleTtsAudioConfig.mjs";
14
28
  export * from "./GoogleTtsParams.mjs";
29
+ export * from "./GoogleTtsVoiceSelectionParams.mjs";
15
30
  export * from "./HumeAiTts.mjs";
16
31
  export * from "./HumeAiTtsParams.mjs";
32
+ export * from "./Llm.mjs";
33
+ export * from "./LlmParams.mjs";
34
+ export * from "./MicrosoftAsr.mjs";
35
+ export * from "./MicrosoftAsrParams.mjs";
17
36
  export * from "./MicrosoftTts.mjs";
18
37
  export * from "./MicrosoftTtsParams.mjs";
19
38
  export * from "./MinimaxTts.mjs";
20
39
  export * from "./MinimaxTtsParams.mjs";
40
+ export * from "./Mllm.mjs";
41
+ export * from "./MllmHttpOptions.mjs";
42
+ export * from "./MllmInputAudioTranscription.mjs";
43
+ export * from "./MllmParams.mjs";
44
+ export * from "./MllmTurnDetection.mjs";
21
45
  export * from "./MurfTts.mjs";
22
46
  export * from "./MurfTtsParams.mjs";
47
+ export * from "./OpenAiAsr.mjs";
48
+ export * from "./OpenAiAsrParams.mjs";
49
+ export * from "./OpenAiInputAudioTranscription.mjs";
23
50
  export * from "./OpenAiTts.mjs";
24
51
  export * from "./OpenAiTtsParams.mjs";
25
52
  export * from "./RimeTts.mjs";
26
53
  export * from "./RimeTtsParams.mjs";
54
+ export * from "./SarvamAsr.mjs";
55
+ export * from "./SarvamAsrParams.mjs";
27
56
  export * from "./SarvamTts.mjs";
28
57
  export * from "./SarvamTtsParams.mjs";
58
+ export * from "./SpeechmaticsAsr.mjs";
59
+ export * from "./SpeechmaticsAsrParams.mjs";
29
60
  export * from "./TelephonyErrorResponse.mjs";
30
61
  export * from "./Tts.mjs";
@@ -1,6 +1,6 @@
1
1
  export type { AgoraAuthMode } from "./AgoraPoolClient.mjs";
2
2
  export { AgoraClient } from "./AgoraPoolClient.mjs";
3
- export type { AdvancedFeatures, AgentConfig, AgentConfigUpdate, AgentOptions, AgentSessionEvent, AgentSessionEventHandler, AgentSessionOptions, AgentsClient, AkoolAvatarConfig, AkoolAvatarOptions, AkoolSampleRate, AmazonBedrockOptions, AmazonSTTOptions, AmazonTTSOptions, AmazonTts, AmazonTtsParams, AnamAvatarConfig, AnamAvatarOptions, AnthropicOptions, AresSTTOptions, AsrConfig, AssemblyAISTTOptions, AvatarConfig, AvatarVendor, AzureOpenAIOptions, CartesiaSampleRate, CartesiaTTSOptions, CartesiaTts, CartesiaTtsParams, ConversationHistory, ConversationRole, ConversationSessionTurn, ConversationTurn, ConversationTurns, CustomLLMOptions, DeepgramSTTOptions, DeepgramTTSOptions, 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, GeofenceArea, GeofenceConfig, GeofenceExcludeArea, GetTurnsOptions, GoogleSTTOptions, GoogleTTSOptions, GoogleTts, GoogleTtsParams, GroqOptions, HeyGenAvatarConfig, HeyGenAvatarOptions, HeyGenSampleRate, HumeAITTSOptions, HumeAiTts, HumeAiTtsParams, InterruptionConfig, InterruptionMode, InterruptMode, Labels, LiveAvatarAvatarConfig, LiveAvatarAvatarOptions, LiveAvatarSampleRate, LlmConfig, LlmGreetingConfigs, LlmGreetingConfigsMode, LlmStyle, McpServersItem, MicrosoftSampleRate, MicrosoftSTTOptions, MicrosoftTTSOptions, MicrosoftTts, MicrosoftTtsParams, MiniMaxTTSOptions, MinimaxTts, MinimaxTtsParams, MllmConfig, MllmTurnDetectionConfig, MllmTurnDetectionMode, MllmVendor, MurfTTSOptions, MurfTts, MurfTtsParams, OpenAIOptions, OpenAIRealtimeOptions, OpenAISTTOptions, OpenAITTSOptions, OpenAiTts, OpenAiTtsParams, ParametersAudioScenario, ParametersDataChannel, RimeTTSOptions, RimeTts, RimeTtsParams, RtcConfig, SalConfig, SalMode, SampleRate, SarvamSTTOptions, SarvamTTSOptions, SarvamTts, SarvamTtsParams, SayOptions, SessionInfo, SessionListResponse, SessionOptions, SessionParams, SessionParamsInput, SessionStatus, SessionSummary, SilenceAction, SilenceConfig, SpeakPriority, SpeechmaticsSTTOptions, StartOfSpeechConfig, StartOfSpeechDisabledConfig, StartOfSpeechDisabledConfigStrategy, StartOfSpeechKeywordsConfig, StartOfSpeechMode, StartOfSpeechVadConfig, StrictAvatarConfig, SttConfig, SttVendor, ThinkOnListeningAction, ThinkOnSpeakingAction, ThinkOnThinkingAction, ThinkOptions, ThinkResponse, TtsConfig, TurnDetectionConfig, TurnDetectionNestedConfig, TurnDetectionType, VertexAILLMOptions, VertexAIOptions, XaiGrokOptions, } from "./agentkit/index.mjs";
3
+ export type { AdvancedFeatures, AgentConfig, AgentConfigUpdate, AgentOptions, AgentSessionEvent, AgentSessionEventHandler, AgentSessionOptions, AgentsClient, AkoolAvatarConfig, AkoolAvatarOptions, AkoolSampleRate, AmazonBedrockOptions, AmazonSTTOptions, AmazonTTSOptions, AmazonTts, AmazonTtsParams, AnamAvatarConfig, AnamAvatarOptions, AnthropicOptions, AresSTTOptions, AsrConfig, AssemblyAISTTOptions, AvatarConfig, AvatarVendor, AzureOpenAIOptions, CartesiaSampleRate, CartesiaTTSOptions, CartesiaTts, CartesiaTtsParams, ConversationHistory, ConversationRole, ConversationSessionTurn, ConversationTurn, ConversationTurns, CustomLLMOptions, DeepgramSTTOptions, DeepgramTTSOptions, 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, GeofenceArea, GeofenceConfig, GeofenceExcludeArea, GetTurnsOptions, GoogleSTTOptions, GoogleTTSOptions, GoogleTts, GoogleTtsParams, GroqOptions, HeyGenAvatarConfig, HeyGenAvatarOptions, HeyGenSampleRate, HumeAITTSOptions, HumeAiTts, HumeAiTtsParams, InterruptionConfig, InterruptionMode, InterruptMode, Labels, LiveAvatarAvatarConfig, LiveAvatarAvatarOptions, LiveAvatarSampleRate, LlmConfig, LlmGreetingConfigs, LlmGreetingConfigsMode, LlmStyle, McpServersItem, MicrosoftSampleRate, MicrosoftSTTOptions, MicrosoftTTSOptions, MicrosoftTts, MicrosoftTtsParams, MiniMaxTTSOptions, MinimaxTts, MinimaxTtsParams, MllmConfig, MllmTurnDetectionConfig, MllmTurnDetectionMode, MllmVendor, MurfTTSOptions, MurfTts, MurfTtsParams, OpenAIOptions, OpenAIRealtimeOptions, OpenAISTTOptions, OpenAITTSOptions, OpenAiTts, OpenAiTtsParams, ParametersAudioScenario, ParametersDataChannel, RimeTTSOptions, RimeTts, RimeTtsParams, RtcConfig, SalConfig, SalMode, SampleRate, SarvamSTTOptions, SarvamTTSOptions, SarvamTts, SarvamTtsParams, SayOptions, SessionInfo, SessionListResponse, SessionOptions, SessionParams, SessionParamsInput, SessionStatus, SessionSummary, SilenceAction, SilenceConfig, SpeakPriority, SpeechmaticsSTTOptions, StartOfSpeechConfig, StartOfSpeechDisabledConfig, StartOfSpeechDisabledConfigStrategy, StartOfSpeechKeywordsConfig, StartOfSpeechMode, StartOfSpeechVadConfig, StrictAvatarConfig, SttConfig, SttVendor, ThinkOnListeningAction, ThinkOnSpeakingAction, ThinkOnThinkingAction, ThinkOptions, ThinkResponse, TtsConfig, TurnDetectionConfig, TurnDetectionLanguage, TurnDetectionNestedConfig, TurnDetectionType, VertexAILLMOptions, VertexAIOptions, XaiGrokOptions, } from "./agentkit/index.mjs";
4
4
  export { Agent, AgentPresets, AgentSession, AkoolAvatar, AmazonBedrock, AmazonSTT, AmazonTTS, AnamAvatar, Anthropic, AresSTT, AssemblyAISTT, AudioScenario, AzureOpenAI, BaseAvatar, BaseLLM, BaseMLLM, BaseSTT, BaseTTS, CartesiaTTS, CustomLLM, DataChannel, DeepgramSTT, DeepgramTTS, Dify, ElevenLabsTTS, ExpiresIn, FillerWordsSelectionRule, FishAudioTTS, Gemini, GeminiLive, GenericAvatar, Geofence, GoogleSTT, GoogleTTS, Groq, generateConvoAIToken, generateRtcToken, HeyGenAvatar, HumeAITTS, InterruptionDisabledStrategy, InterruptionDisabledStrategyAppend, InterruptionDisabledStrategyIgnore, InterruptionModeKeywords, InterruptionModeStartOfSpeech, InterruptionModeValues, isAkoolAvatar, isAnamAvatar, isAvatarTokenManaged, isGenericAvatar, isHeyGenAvatar, isLiveAvatarAvatar, LiveAvatarAvatar, MAX_EXPIRY_SECONDS, MicrosoftSTT, MicrosoftTTS, MiniMaxTTS, MllmTurnDetectionModeAgoraVad, MllmTurnDetectionModeSemanticVad, MllmTurnDetectionModeServerVad, MllmTurnDetectionModeValues, MurfTTS, normalizePresetInput, OpenAI, OpenAIRealtime, OpenAISTT, OpenAITTS, RimeTTS, SalModeValues, SarvamSTT, SarvamTTS, SilenceActionValues, SpeakPriorityAppend, SpeakPriorityIgnore, SpeakPriorityInterrupt, SpeakPriorityValues, SpeechmaticsSTT, ThinkOnListeningActionIgnore, ThinkOnListeningActionInject, ThinkOnListeningActionInterrupt, ThinkOnSpeakingActionIgnore, ThinkOnSpeakingActionInterrupt, ThinkOnThinkingActionIgnore, ThinkOnThinkingActionInterrupt, TurnDetectionTypeValues, toBaseAvatarConfig, VertexAI, VertexAILLM, validateAvatarConfig, validateTtsSampleRate, XaiGrok, } from "./agentkit/index.mjs";
5
5
  export * as Agora from "./api/index.mjs";
6
6
  export type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "v2.0.0";
1
+ export declare const SDK_VERSION = "v2.1.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "v2.0.0";
1
+ export const SDK_VERSION = "v2.1.0";
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "agora-agents",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "private": false,
5
- "repository": "github:AgoraIO-Conversational-AI/agent-server-sdk-ts",
5
+ "repository": "github:AgoraIO/agora-agents-ts",
6
6
  "type": "commonjs",
7
7
  "main": "./dist/cjs/index.js",
8
8
  "module": "./dist/esm/index.mjs",
@@ -35,6 +35,7 @@
35
35
  "check": "biome check --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
36
36
  "check:fix": "biome check --fix --unsafe --skip-parse-errors --no-errors-on-unmatched --max-diagnostics=none",
37
37
  "docs:check": "node scripts/docs-check.js",
38
+ "release:prepare": "node scripts/prepare-release.js",
38
39
  "build": "rm -rf dist && pnpm build:cjs && pnpm build:esm",
39
40
  "build:cjs": "tsc --project ./tsconfig.cjs.json",
40
41
  "build:esm": "tsc --project ./tsconfig.esm.json && node scripts/rename-to-esm-files.js dist/esm && node scripts/verify-esm-imports.js dist/esm",