agora-agents 2.5.0 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/AgoraPoolClient.js +39 -1
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/agentkit/Agent.d.ts +6 -6
- package/dist/cjs/agentkit/Agent.js +4 -3
- package/dist/cjs/agentkit/__tests__/area-aware-vendors.test.js +26 -0
- package/dist/cjs/agentkit/index.d.ts +8 -8
- package/dist/cjs/agentkit/index.js +6 -2
- package/dist/cjs/agentkit/region-vendors.d.ts +3 -1
- package/dist/cjs/agentkit/types.d.ts +8 -4
- package/dist/cjs/agentkit/vendors/base.d.ts +11 -1
- package/dist/cjs/agentkit/vendors/base.js +18 -2
- package/dist/cjs/agentkit/vendors/cn.d.ts +8 -0
- package/dist/cjs/agentkit/vendors/cn.js +9 -3
- package/dist/cjs/agentkit/vendors/mllm.d.ts +99 -1
- package/dist/cjs/agentkit/vendors/mllm.js +68 -1
- package/dist/cjs/agentkit/vendors/stt.d.ts +15 -5
- package/dist/cjs/agentkit/vendors/stt.js +14 -7
- package/dist/cjs/agentkit/vendors/tts.d.ts +19 -0
- package/dist/cjs/agentkit/vendors/tts.js +16 -1
- package/dist/cjs/api/resources/agentManagement/client/requests/AgentThinkAgentManagementRequest.d.ts +9 -0
- package/dist/cjs/api/resources/agentManagement/client/requests/AgentThinkAgentManagementRequest.js +6 -0
- package/dist/cjs/api/resources/agents/client/Client.js +17 -1
- package/dist/cjs/api/resources/agents/client/requests/StartAgentsRequest.d.ts +49 -4
- package/dist/cjs/api/resources/agents/client/requests/StartAgentsRequest.js +9 -0
- package/dist/cjs/api/types/AresAsr.d.ts +2 -0
- package/dist/cjs/api/types/AssemblyAiAsrParams.d.ts +1 -1
- package/dist/cjs/api/types/FengmingAsr.d.ts +3 -2
- package/dist/cjs/api/types/FengmingAsrParams.d.ts +4 -0
- package/dist/cjs/api/types/FengmingAsrParams.js +3 -0
- package/dist/cjs/api/types/Llm.d.ts +12 -0
- package/dist/cjs/api/types/LlmTool.d.ts +14 -0
- package/dist/cjs/api/types/LlmTool.js +3 -0
- package/dist/cjs/api/types/LlmToolExecution.d.ts +9 -0
- package/dist/cjs/api/types/LlmToolExecution.js +3 -0
- package/dist/cjs/api/types/LlmToolFunction.d.ts +28 -0
- package/dist/cjs/api/types/LlmToolFunction.js +3 -0
- package/dist/cjs/api/types/LlmToolServer.d.ts +42 -0
- package/dist/cjs/api/types/LlmToolServer.js +12 -0
- package/dist/cjs/api/types/Mllm.d.ts +4 -0
- package/dist/cjs/api/types/Mllm.js +2 -0
- package/dist/cjs/api/types/SpeechmaticsAsrParams.d.ts +12 -3
- package/dist/cjs/api/types/Tts.d.ts +4 -1
- package/dist/cjs/api/types/TypecastTts.d.ts +9 -0
- package/dist/cjs/api/types/TypecastTts.js +3 -0
- package/dist/cjs/api/types/TypecastTtsParams.d.ts +13 -0
- package/dist/cjs/api/types/TypecastTtsParams.js +3 -0
- package/dist/cjs/api/types/index.d.ts +7 -0
- package/dist/cjs/api/types/index.js +7 -0
- package/dist/cjs/index.d.ts +2 -2
- package/dist/cjs/index.js +7 -3
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/AgoraPoolClient.mjs +40 -2
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/agentkit/Agent.d.mts +6 -6
- package/dist/esm/agentkit/Agent.mjs +4 -3
- package/dist/esm/agentkit/__tests__/area-aware-vendors.test.mjs +26 -0
- package/dist/esm/agentkit/index.d.mts +8 -8
- package/dist/esm/agentkit/index.mjs +3 -3
- package/dist/esm/agentkit/region-vendors.d.mts +3 -1
- package/dist/esm/agentkit/types.d.mts +8 -4
- package/dist/esm/agentkit/vendors/base.d.mts +11 -1
- package/dist/esm/agentkit/vendors/base.mjs +16 -1
- package/dist/esm/agentkit/vendors/cn.d.mts +8 -0
- package/dist/esm/agentkit/vendors/cn.mjs +9 -3
- package/dist/esm/agentkit/vendors/mllm.d.mts +99 -1
- package/dist/esm/agentkit/vendors/mllm.mjs +66 -1
- package/dist/esm/agentkit/vendors/stt.d.mts +15 -5
- package/dist/esm/agentkit/vendors/stt.mjs +14 -7
- package/dist/esm/agentkit/vendors/tts.d.mts +19 -0
- package/dist/esm/agentkit/vendors/tts.mjs +14 -0
- package/dist/esm/api/resources/agentManagement/client/requests/AgentThinkAgentManagementRequest.d.mts +9 -0
- package/dist/esm/api/resources/agentManagement/client/requests/AgentThinkAgentManagementRequest.mjs +6 -0
- package/dist/esm/api/resources/agents/client/Client.mjs +17 -1
- package/dist/esm/api/resources/agents/client/requests/StartAgentsRequest.d.mts +49 -4
- package/dist/esm/api/resources/agents/client/requests/StartAgentsRequest.mjs +9 -0
- package/dist/esm/api/types/AresAsr.d.mts +2 -0
- package/dist/esm/api/types/AssemblyAiAsrParams.d.mts +1 -1
- package/dist/esm/api/types/FengmingAsr.d.mts +3 -2
- package/dist/esm/api/types/FengmingAsrParams.d.mts +4 -0
- package/dist/esm/api/types/FengmingAsrParams.mjs +2 -0
- package/dist/esm/api/types/Llm.d.mts +12 -0
- package/dist/esm/api/types/LlmTool.d.mts +14 -0
- package/dist/esm/api/types/LlmTool.mjs +2 -0
- package/dist/esm/api/types/LlmToolExecution.d.mts +9 -0
- package/dist/esm/api/types/LlmToolExecution.mjs +2 -0
- package/dist/esm/api/types/LlmToolFunction.d.mts +28 -0
- package/dist/esm/api/types/LlmToolFunction.mjs +2 -0
- package/dist/esm/api/types/LlmToolServer.d.mts +42 -0
- package/dist/esm/api/types/LlmToolServer.mjs +9 -0
- package/dist/esm/api/types/Mllm.d.mts +4 -0
- package/dist/esm/api/types/Mllm.mjs +2 -0
- package/dist/esm/api/types/SpeechmaticsAsrParams.d.mts +12 -3
- package/dist/esm/api/types/Tts.d.mts +4 -1
- package/dist/esm/api/types/TypecastTts.d.mts +9 -0
- package/dist/esm/api/types/TypecastTts.mjs +2 -0
- package/dist/esm/api/types/TypecastTtsParams.d.mts +13 -0
- package/dist/esm/api/types/TypecastTtsParams.mjs +2 -0
- package/dist/esm/api/types/index.d.mts +7 -0
- package/dist/esm/api/types/index.mjs +7 -0
- package/dist/esm/index.d.mts +2 -2
- package/dist/esm/index.mjs +3 -3
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
|
@@ -111,7 +111,10 @@ export declare namespace StartAgentsRequest {
|
|
|
111
111
|
labels?: Record<string, string>;
|
|
112
112
|
/** RTC media encryption configuration. */
|
|
113
113
|
rtc?: Properties.Rtc;
|
|
114
|
-
/**
|
|
114
|
+
/**
|
|
115
|
+
* Filler word configuration. Plays filler words while waiting for LLM responses to reduce user anxiety and improve conversation flow.
|
|
116
|
+
* When `enable` is `true`, `content.static_config.phrases` must be present and non-empty, even when `content.mode` is `generated`, because generated mode still falls back to static filler words.
|
|
117
|
+
*/
|
|
115
118
|
filler_words?: Properties.FillerWords;
|
|
116
119
|
/** Agent configuration parameters. */
|
|
117
120
|
parameters?: Properties.Parameters;
|
|
@@ -566,6 +569,7 @@ export declare namespace StartAgentsRequest {
|
|
|
566
569
|
}
|
|
567
570
|
/**
|
|
568
571
|
* Filler word configuration. Plays filler words while waiting for LLM responses to reduce user anxiety and improve conversation flow.
|
|
572
|
+
* When `enable` is `true`, `content.static_config.phrases` must be present and non-empty, even when `content.mode` is `generated`, because generated mode still falls back to static filler words.
|
|
569
573
|
*/
|
|
570
574
|
interface FillerWords {
|
|
571
575
|
/**
|
|
@@ -608,14 +612,31 @@ export declare namespace StartAgentsRequest {
|
|
|
608
612
|
/**
|
|
609
613
|
* Filler word content mode:
|
|
610
614
|
* - `static`: Static filler words. Uses a predefined list of filler words.
|
|
615
|
+
* - `generated`: LLM-generated filler words based on the last user message. Falls back to static filler words when generation is not ready, fails, or returns empty text.
|
|
616
|
+
*/
|
|
617
|
+
mode?: Content.Mode;
|
|
618
|
+
/**
|
|
619
|
+
* Static filler word configuration. Required when `mode` is `static`.
|
|
620
|
+
* Also required whenever `filler_words.enable` is `true`, including when `mode` is `generated`, because generated mode uses static filler words as fallback.
|
|
611
621
|
*/
|
|
612
|
-
mode?: "static";
|
|
613
|
-
/** Static filler word configuration. Used when `mode` is `static`. */
|
|
614
622
|
static_config?: Content.StaticConfig;
|
|
623
|
+
/** Generated filler word configuration. Required when `content.mode` is `generated`. */
|
|
624
|
+
generated_config?: Content.GeneratedConfig;
|
|
615
625
|
}
|
|
616
626
|
namespace Content {
|
|
617
627
|
/**
|
|
618
|
-
*
|
|
628
|
+
* Filler word content mode:
|
|
629
|
+
* - `static`: Static filler words. Uses a predefined list of filler words.
|
|
630
|
+
* - `generated`: LLM-generated filler words based on the last user message. Falls back to static filler words when generation is not ready, fails, or returns empty text.
|
|
631
|
+
*/
|
|
632
|
+
const Mode: {
|
|
633
|
+
readonly Static: "static";
|
|
634
|
+
readonly Generated: "generated";
|
|
635
|
+
};
|
|
636
|
+
type Mode = (typeof Mode)[keyof typeof Mode];
|
|
637
|
+
/**
|
|
638
|
+
* Static filler word configuration. Required when `mode` is `static`.
|
|
639
|
+
* Also required whenever `filler_words.enable` is `true`, including when `mode` is `generated`, because generated mode uses static filler words as fallback.
|
|
619
640
|
*/
|
|
620
641
|
interface StaticConfig {
|
|
621
642
|
/** List of filler word phrases. Maximum 100 filler words, each not exceeding 50 English words. */
|
|
@@ -639,6 +660,30 @@ export declare namespace StartAgentsRequest {
|
|
|
639
660
|
};
|
|
640
661
|
type SelectionRule = (typeof SelectionRule)[keyof typeof SelectionRule];
|
|
641
662
|
}
|
|
663
|
+
/**
|
|
664
|
+
* Generated filler word configuration. Required when `content.mode` is `generated`.
|
|
665
|
+
*/
|
|
666
|
+
interface GeneratedConfig {
|
|
667
|
+
/** OpenAI-compatible LLM provider used to generate filler words. Runs in parallel with the main business LLM and only uses the last user message as input. */
|
|
668
|
+
llm_provider: GeneratedConfig.LlmProvider;
|
|
669
|
+
/** System prompt used to generate a short filler phrase based on the last user message. The generated text should be conversational and must not answer the user's question. */
|
|
670
|
+
prompt: string;
|
|
671
|
+
/** Fallback strategy when generated filler text is not ready, fails, or returns empty text. Phase 1 only supports `static`. */
|
|
672
|
+
fallback_strategy: "static";
|
|
673
|
+
}
|
|
674
|
+
namespace GeneratedConfig {
|
|
675
|
+
/**
|
|
676
|
+
* OpenAI-compatible LLM provider used to generate filler words. Runs in parallel with the main business LLM and only uses the last user message as input.
|
|
677
|
+
*/
|
|
678
|
+
interface LlmProvider {
|
|
679
|
+
/** Base URL of the OpenAI-compatible chat completions endpoint. If the URL does not end with `/chat/completions`, the engine appends it automatically. */
|
|
680
|
+
base_url: string;
|
|
681
|
+
/** API key for authenticating requests to the filler LLM provider. */
|
|
682
|
+
api_key: string;
|
|
683
|
+
/** Additional request parameters merged into the generated filler LLM request body, such as `model`. */
|
|
684
|
+
params?: Record<string, unknown>;
|
|
685
|
+
}
|
|
686
|
+
}
|
|
642
687
|
}
|
|
643
688
|
}
|
|
644
689
|
/**
|
|
@@ -184,6 +184,15 @@ export var StartAgentsRequest;
|
|
|
184
184
|
(function (FillerWords) {
|
|
185
185
|
let Content;
|
|
186
186
|
(function (Content) {
|
|
187
|
+
/**
|
|
188
|
+
* Filler word content mode:
|
|
189
|
+
* - `static`: Static filler words. Uses a predefined list of filler words.
|
|
190
|
+
* - `generated`: LLM-generated filler words based on the last user message. Falls back to static filler words when generation is not ready, fails, or returns empty text.
|
|
191
|
+
*/
|
|
192
|
+
Content.Mode = {
|
|
193
|
+
Static: "static",
|
|
194
|
+
Generated: "generated",
|
|
195
|
+
};
|
|
187
196
|
let StaticConfig;
|
|
188
197
|
(function (StaticConfig) {
|
|
189
198
|
/**
|
|
@@ -4,6 +4,8 @@ import type * as Agora from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface AresAsr {
|
|
6
6
|
language?: Agora.AsrLanguage;
|
|
7
|
+
/** A list of hotwords to improve ASR accuracy. */
|
|
8
|
+
keywords?: string[];
|
|
7
9
|
params?: Agora.AresAsrParams;
|
|
8
10
|
/** Accepts any additional properties */
|
|
9
11
|
[key: string]: any;
|
|
@@ -7,7 +7,7 @@ export interface AssemblyAiAsrParams {
|
|
|
7
7
|
/** Language code for speech recognition */
|
|
8
8
|
language: string;
|
|
9
9
|
/** WebSocket URL for AssemblyAI's streaming API */
|
|
10
|
-
|
|
10
|
+
ws_url?: string | null;
|
|
11
11
|
/** Accepts any additional properties */
|
|
12
12
|
[key: string]: any;
|
|
13
13
|
}
|
|
@@ -4,8 +4,9 @@ import type * as Agora from "../index.mjs";
|
|
|
4
4
|
*/
|
|
5
5
|
export interface FengmingAsr {
|
|
6
6
|
language?: Agora.AsrLanguage;
|
|
7
|
-
/**
|
|
8
|
-
|
|
7
|
+
/** A list of hotwords to improve ASR accuracy. */
|
|
8
|
+
keywords?: string[];
|
|
9
|
+
params?: Agora.FengmingAsrParams;
|
|
9
10
|
/** Accepts any additional properties */
|
|
10
11
|
[key: string]: any;
|
|
11
12
|
}
|
|
@@ -42,6 +42,18 @@ export interface Llm {
|
|
|
42
42
|
template_variables?: Record<string, string>;
|
|
43
43
|
/** MCP server configuration. */
|
|
44
44
|
mcp_servers?: Record<string, unknown>[];
|
|
45
|
+
/**
|
|
46
|
+
* Inline REST (pass-through sync) tool definitions for standard text LLM function calling.
|
|
47
|
+
* Required fields per tool: `type`, `function.name`, `function.parameters`
|
|
48
|
+
* (`type: object` with `properties`), `server.method` (`GET` or `POST`), and `server.url`.
|
|
49
|
+
* The combination of `type: function` and `server` identifies a REST tool.
|
|
50
|
+
* Phase 1a supports GET and POST only; `execution.mode` defaults to and only accepts `sync`.
|
|
51
|
+
* Template rules:
|
|
52
|
+
* - Values must be a constant, or exactly one single-level placeholder.
|
|
53
|
+
* - `{{args.<name>}}`: `server.url` and `server.body` only; not allowed in headers.
|
|
54
|
+
* - `{{template_variables.<name>}}` and `{{tool_call_id}}`: `server.url`, `server.headers`, and `server.body`.
|
|
55
|
+
*/
|
|
56
|
+
tools?: Agora.LlmTool[];
|
|
45
57
|
/** Custom headers to include in requests to the LLM. */
|
|
46
58
|
headers?: Record<string, string>;
|
|
47
59
|
/** Accepts any additional properties */
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as Agora from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Inline REST tool definition. `type: function` combined with `server` declares a REST tool.
|
|
4
|
+
* Phase 1a executes the HTTP request synchronously and returns the raw result to the model context.
|
|
5
|
+
*/
|
|
6
|
+
export interface LlmTool {
|
|
7
|
+
/** Tool type. Must be `function`. */
|
|
8
|
+
type: "function";
|
|
9
|
+
function: Agora.LlmToolFunction;
|
|
10
|
+
execution?: Agora.LlmToolExecution;
|
|
11
|
+
server: Agora.LlmToolServer;
|
|
12
|
+
/** Accepts any additional properties */
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tool execution configuration. Defaults to `{"mode": "sync"}`. Phase 1a only allows `sync`.
|
|
3
|
+
*/
|
|
4
|
+
export interface LlmToolExecution {
|
|
5
|
+
/** Execution mode. Phase 1a only accepts `sync`. */
|
|
6
|
+
mode?: "sync";
|
|
7
|
+
/** Accepts any additional properties */
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tool interface exposed to the model. `parameters` defines LLM arguments, not the HTTP request shape.
|
|
3
|
+
*/
|
|
4
|
+
export interface LlmToolFunction {
|
|
5
|
+
/** Function name visible to the model. Used as the REST tool index key (ASCII case-insensitive). */
|
|
6
|
+
name: string;
|
|
7
|
+
/** Function description visible to the model. */
|
|
8
|
+
description?: string;
|
|
9
|
+
/** JSON Schema defining the LLM tool-call arguments (`args`). Must be an object schema with `type: object` and `properties`. */
|
|
10
|
+
parameters: LlmToolFunction.Parameters;
|
|
11
|
+
/** Accepts any additional properties */
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace LlmToolFunction {
|
|
15
|
+
/**
|
|
16
|
+
* JSON Schema defining the LLM tool-call arguments (`args`). Must be an object schema with `type: object` and `properties`.
|
|
17
|
+
*/
|
|
18
|
+
interface Parameters {
|
|
19
|
+
/** JSON Schema type. Must be `object`. */
|
|
20
|
+
type: "object";
|
|
21
|
+
/** Argument property definitions keyed by argument name. */
|
|
22
|
+
properties: Record<string, unknown>;
|
|
23
|
+
/** List of required argument names. */
|
|
24
|
+
required?: string[];
|
|
25
|
+
/** Accepts any additional properties */
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Actual HTTP request configuration for this REST tool.
|
|
3
|
+
* Does not use top-level `parameters`, `path_params`, standalone `query`,
|
|
4
|
+
* `response`, `json_path`, or `max_chars`.
|
|
5
|
+
*/
|
|
6
|
+
export interface LlmToolServer {
|
|
7
|
+
/** HTTP method. Must be `GET` or `POST`. */
|
|
8
|
+
method: LlmToolServer.Method;
|
|
9
|
+
/**
|
|
10
|
+
* Full request URL. Write path and query templates directly in the URL.
|
|
11
|
+
* Placeholders allowed: `{{args.<name>}}`, `{{template_variables.<name>}}`,
|
|
12
|
+
* and `{{tool_call_id}}`. URL values may be string, number, or boolean.
|
|
13
|
+
*/
|
|
14
|
+
url: string;
|
|
15
|
+
/**
|
|
16
|
+
* Request headers as a string dictionary.
|
|
17
|
+
* Each header value must be a constant or exactly one placeholder.
|
|
18
|
+
* Placeholders allowed: `{{template_variables.<name>}}` and `{{tool_call_id}}`.
|
|
19
|
+
* `{{args.*}}` is not allowed in headers.
|
|
20
|
+
*/
|
|
21
|
+
headers?: Record<string, string>;
|
|
22
|
+
/**
|
|
23
|
+
* POST JSON body template. Must not be configured for `GET` requests.
|
|
24
|
+
* Supports arbitrary nested JSON. Only fields declared in `server.body` are sent.
|
|
25
|
+
* Leaf values may be constants or exactly one of `{{args.<name>}}`,
|
|
26
|
+
* `{{template_variables.<name>}}`, or `{{tool_call_id}}`.
|
|
27
|
+
* JSON body preserves original types after rendering.
|
|
28
|
+
*/
|
|
29
|
+
body?: Record<string, unknown>;
|
|
30
|
+
/** Request timeout in milliseconds. Defaults to `10000`. Valid range is `1000` to `100000`. */
|
|
31
|
+
timeout_ms?: number;
|
|
32
|
+
/** Accepts any additional properties */
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
}
|
|
35
|
+
export declare namespace LlmToolServer {
|
|
36
|
+
/** HTTP method. Must be `GET` or `POST`. */
|
|
37
|
+
const Method: {
|
|
38
|
+
readonly Get: "GET";
|
|
39
|
+
readonly Post: "POST";
|
|
40
|
+
};
|
|
41
|
+
type Method = (typeof Method)[keyof typeof Method];
|
|
42
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
export var LlmToolServer;
|
|
3
|
+
(function (LlmToolServer) {
|
|
4
|
+
/** HTTP method. Must be `GET` or `POST`. */
|
|
5
|
+
LlmToolServer.Method = {
|
|
6
|
+
Get: "GET",
|
|
7
|
+
Post: "POST",
|
|
8
|
+
};
|
|
9
|
+
})(LlmToolServer || (LlmToolServer = {}));
|
|
@@ -18,6 +18,8 @@ export interface Mllm {
|
|
|
18
18
|
/** Array of conversation items used for short-term memory management. */
|
|
19
19
|
messages?: Record<string, unknown>[] | null;
|
|
20
20
|
params?: Agora.MllmParams;
|
|
21
|
+
/** The number of conversation history messages cached in the MLLM. Applicable to Azure OpenAI Realtime API only. */
|
|
22
|
+
max_history?: number;
|
|
21
23
|
/** MLLM input modalities. */
|
|
22
24
|
input_modalities?: string[] | null;
|
|
23
25
|
/** MLLM output modalities. */
|
|
@@ -36,9 +38,11 @@ export declare namespace Mllm {
|
|
|
36
38
|
/** MLLM provider. */
|
|
37
39
|
const Vendor: {
|
|
38
40
|
readonly Openai: "openai";
|
|
41
|
+
readonly Azure: "azure";
|
|
39
42
|
readonly Gemini: "gemini";
|
|
40
43
|
readonly Vertexai: "vertexai";
|
|
41
44
|
readonly Xai: "xai";
|
|
45
|
+
readonly QwenOmni: "qwen_omni";
|
|
42
46
|
};
|
|
43
47
|
type Vendor = (typeof Vendor)[keyof typeof Vendor];
|
|
44
48
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Speechmatics ASR configuration parameters.
|
|
3
3
|
*/
|
|
4
|
-
|
|
5
|
-
/** Speechmatics API key */
|
|
6
|
-
api_key: string;
|
|
4
|
+
interface SpeechmaticsAsrParamsBase {
|
|
7
5
|
/** Language code to use for transcription */
|
|
8
6
|
language: string;
|
|
9
7
|
/** WebSocket URL for the Speechmatics streaming API */
|
|
@@ -11,3 +9,14 @@ export interface SpeechmaticsAsrParams {
|
|
|
11
9
|
/** Accepts any additional properties */
|
|
12
10
|
[key: string]: any;
|
|
13
11
|
}
|
|
12
|
+
export type SpeechmaticsAsrParams = SpeechmaticsAsrParamsBase & ({
|
|
13
|
+
/** Speechmatics API key */
|
|
14
|
+
key: string;
|
|
15
|
+
/** @deprecated Use `key` instead. The client normalizes this alias to `key`. */
|
|
16
|
+
api_key?: string;
|
|
17
|
+
} | {
|
|
18
|
+
key?: undefined;
|
|
19
|
+
/** @deprecated Use `key` instead. The client normalizes this alias to `key`. */
|
|
20
|
+
api_key: string;
|
|
21
|
+
});
|
|
22
|
+
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;
|
|
2
|
+
export type Tts = Agora.Tts.Tencent | Agora.Tts.Bytedance | Agora.Tts.Microsoft | Agora.Tts.Elevenlabs | Agora.Tts.Minimax | Agora.Tts.Murf | Agora.Tts.Cartesia | Agora.Tts.Openai | Agora.Tts.Humeai | Agora.Tts.Rime | Agora.Tts.Fishaudio | Agora.Tts.Google | Agora.Tts.Amazon | Agora.Tts.Sarvam | Agora.Tts.GenericHttp | Agora.Tts.Xai | Agora.Tts.Deepgram | Agora.Tts.Cosyvoice | Agora.Tts.BytedanceDuplex | Agora.Tts.Stepfun | Agora.Tts.Gradium | Agora.Tts.Mistral | Agora.Tts.Typecast;
|
|
3
3
|
export declare namespace Tts {
|
|
4
4
|
interface Tencent extends Agora.TencentTts {
|
|
5
5
|
vendor: "tencent";
|
|
@@ -67,4 +67,7 @@ export declare namespace Tts {
|
|
|
67
67
|
interface Mistral extends Agora.MistralTts {
|
|
68
68
|
vendor: "mistral";
|
|
69
69
|
}
|
|
70
|
+
interface Typecast extends Agora.TypecastTts {
|
|
71
|
+
vendor: "typecast";
|
|
72
|
+
}
|
|
70
73
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Agora from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* Typecast Text-to-Speech configuration.
|
|
4
|
+
*/
|
|
5
|
+
export interface TypecastTts {
|
|
6
|
+
params: Agora.TypecastTtsParams;
|
|
7
|
+
/** Controls whether the TTS module skips bracketed content when reading LLM response text. */
|
|
8
|
+
skip_patterns?: number[];
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Typecast TTS configuration parameters.
|
|
3
|
+
*/
|
|
4
|
+
export interface TypecastTtsParams {
|
|
5
|
+
/** Typecast API key. */
|
|
6
|
+
api_key: string;
|
|
7
|
+
/** Typecast voice identifier (for example, "tc_60e5426de8b95f1d3000d7b5"). */
|
|
8
|
+
voice_id: string;
|
|
9
|
+
/** Typecast TTS model name (for example, "ssfm-v30"). */
|
|
10
|
+
model: string;
|
|
11
|
+
/** Accepts any additional properties */
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}
|
|
@@ -26,6 +26,7 @@ export * from "./DeepgramTtsParams.mjs";
|
|
|
26
26
|
export * from "./ElevenLabsTts.mjs";
|
|
27
27
|
export * from "./ElevenLabsTtsParams.mjs";
|
|
28
28
|
export * from "./FengmingAsr.mjs";
|
|
29
|
+
export * from "./FengmingAsrParams.mjs";
|
|
29
30
|
export * from "./FishAudioTts.mjs";
|
|
30
31
|
export * from "./FishAudioTtsParams.mjs";
|
|
31
32
|
export * from "./GenericHttpTts.mjs";
|
|
@@ -42,6 +43,10 @@ export * from "./HumeAiTts.mjs";
|
|
|
42
43
|
export * from "./HumeAiTtsParams.mjs";
|
|
43
44
|
export * from "./Llm.mjs";
|
|
44
45
|
export * from "./LlmParams.mjs";
|
|
46
|
+
export * from "./LlmTool.mjs";
|
|
47
|
+
export * from "./LlmToolExecution.mjs";
|
|
48
|
+
export * from "./LlmToolFunction.mjs";
|
|
49
|
+
export * from "./LlmToolServer.mjs";
|
|
45
50
|
export * from "./MicrosoftAsr.mjs";
|
|
46
51
|
export * from "./MicrosoftAsrParams.mjs";
|
|
47
52
|
export * from "./MicrosoftTts.mjs";
|
|
@@ -80,6 +85,8 @@ export * from "./TencentAsrParams.mjs";
|
|
|
80
85
|
export * from "./TencentTts.mjs";
|
|
81
86
|
export * from "./TencentTtsParams.mjs";
|
|
82
87
|
export * from "./Tts.mjs";
|
|
88
|
+
export * from "./TypecastTts.mjs";
|
|
89
|
+
export * from "./TypecastTtsParams.mjs";
|
|
83
90
|
export * from "./XAiAsr.mjs";
|
|
84
91
|
export * from "./XAiAsrParams.mjs";
|
|
85
92
|
export * from "./XAiTts.mjs";
|
|
@@ -26,6 +26,7 @@ export * from "./DeepgramTtsParams.mjs";
|
|
|
26
26
|
export * from "./ElevenLabsTts.mjs";
|
|
27
27
|
export * from "./ElevenLabsTtsParams.mjs";
|
|
28
28
|
export * from "./FengmingAsr.mjs";
|
|
29
|
+
export * from "./FengmingAsrParams.mjs";
|
|
29
30
|
export * from "./FishAudioTts.mjs";
|
|
30
31
|
export * from "./FishAudioTtsParams.mjs";
|
|
31
32
|
export * from "./GenericHttpTts.mjs";
|
|
@@ -42,6 +43,10 @@ export * from "./HumeAiTts.mjs";
|
|
|
42
43
|
export * from "./HumeAiTtsParams.mjs";
|
|
43
44
|
export * from "./Llm.mjs";
|
|
44
45
|
export * from "./LlmParams.mjs";
|
|
46
|
+
export * from "./LlmTool.mjs";
|
|
47
|
+
export * from "./LlmToolExecution.mjs";
|
|
48
|
+
export * from "./LlmToolFunction.mjs";
|
|
49
|
+
export * from "./LlmToolServer.mjs";
|
|
45
50
|
export * from "./MicrosoftAsr.mjs";
|
|
46
51
|
export * from "./MicrosoftAsrParams.mjs";
|
|
47
52
|
export * from "./MicrosoftTts.mjs";
|
|
@@ -80,6 +85,8 @@ export * from "./TencentAsrParams.mjs";
|
|
|
80
85
|
export * from "./TencentTts.mjs";
|
|
81
86
|
export * from "./TencentTtsParams.mjs";
|
|
82
87
|
export * from "./Tts.mjs";
|
|
88
|
+
export * from "./TypecastTts.mjs";
|
|
89
|
+
export * from "./TypecastTtsParams.mjs";
|
|
83
90
|
export * from "./XAiAsr.mjs";
|
|
84
91
|
export * from "./XAiAsrParams.mjs";
|
|
85
92
|
export * from "./XAiTts.mjs";
|
package/dist/esm/index.d.mts
CHANGED
|
@@ -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, BytedanceDuplexTTSOptions, BytedanceLLMOptions, BytedanceTTSOptions, CartesiaSampleRate, CartesiaTTSOptions, CartesiaTts, CartesiaTtsParams, CNAvatarVendor, CNLlmVendor, CNSttVendor, CNTtsVendor, ConversationHistory, ConversationRole, ConversationSessionTurn, ConversationTurn, ConversationTurns, CustomLLMOptions, DeepgramSTTOptions, DeepgramTTSOptions, DeepSeekLLMOptions, DifyOptions, Eagerness, ElevenLabsSampleRate, ElevenLabsTTSOptions, ElevenLabsTts, ElevenLabsTtsParams, EndOfSpeechConfig, EndOfSpeechMode, EndOfSpeechSemanticConfig, EndOfSpeechVadConfig, FarewellConfig, FillerWordsConfig, FillerWordsContent, FillerWordsContentSelectionRule, FillerWordsContentStaticConfig, FillerWordsTrigger, FillerWordsTriggerFixedTimeConfig, FishAudioTTSOptions, FishAudioTts, FishAudioTtsParams, GeminiLiveOptions, GeminiOptions, GenerateConvoAITokenOptions, GenerateTokenOptions, GenericAvatarConfig, GenericAvatarOptions, GenericTTSOptions, GenericTts, GenericTtsParams, GeofenceArea, GeofenceConfig, GeofenceExcludeArea, GetTurnsOptions, GlobalAvatarVendor, GlobalLlmVendor, GlobalSttVendor, GlobalTtsVendor, GoogleSTTOptions, GoogleTTSOptions, GoogleTts, GoogleTtsParams, GradiumTTSOptions, GradiumTts, GradiumTtsParams, GroqOptions, HeyGenAvatarConfig, HeyGenAvatarOptions, HeyGenSampleRate, HumeAITTSOptions, HumeAiTts, HumeAiTtsParams, InterruptionConfig, InterruptionMode, InterruptMode, Labels, LiveAvatarAvatarConfig, LiveAvatarAvatarOptions, LiveAvatarSampleRate, LlmConfig, LlmGreetingConfigs, LlmGreetingConfigsMode, LlmPreset, LlmStyle, LlmVendor, McpServersItem, MicrosoftCNSampleRate, MicrosoftCNSTTOptions, MicrosoftCNTTSOptions, MicrosoftSampleRate, MicrosoftSTTOptions, MicrosoftTTSOptions, MicrosoftTts, MicrosoftTtsParams, MiniMaxCNTTSOptions, MiniMaxTTSOptions, MinimaxTts, MinimaxTtsParams, MistralTTSOptions, MistralTts, MistralTtsParams, MllmConfig, MllmTurnDetectionConfig, MllmTurnDetectionMode, MllmVendor, MurfTTSOptions, MurfTts, MurfTtsParams, OpenAIOptions, OpenAIRealtimeOptions, OpenAISTTOptions, OpenAITTSOptions, OpenAiTts, OpenAiTtsParams, ParametersAudioScenario, ParametersDataChannel, PresetCategory, PresetInput, RimeTTSOptions, RimeTts, RimeTtsParams, RtcConfig, SalConfig, SalMode, SampleRate, SarvamSTTOptions, SarvamTTSOptions, SarvamTts, SarvamTtsParams, SayOptions, SensetimeAvatarConfig, SensetimeAvatarOptions, SessionInfo, SessionListResponse, SessionOptions, SessionParams, SessionParamsInput, SessionStatus, SessionSummary, SilenceAction, SilenceConfig, SpatiusAvatarConfig, SpatiusAvatarOptions, SpatiusAvatarParams, SpeakPriority, SpeechmaticsSTTOptions, StartOfSpeechConfig, StartOfSpeechDisabledConfig, StartOfSpeechDisabledConfigStrategy, StartOfSpeechKeywordsConfig, StartOfSpeechMode, StartOfSpeechVadConfig, StepFunTTSOptions, StrictAvatarConfig, SttConfig, SttVendor, TencentLLMOptions, TencentSTTOptions, TencentTTSOptions, ThinkOnListeningAction, ThinkOnSpeakingAction, ThinkOnThinkingAction, ThinkOptions, ThinkResponse, TtsConfig, TtsPreset, TtsVendor, TurnDetectionConfig, TurnDetectionLanguage, TurnDetectionNestedConfig, TurnDetectionType, VertexAILLMOptions, VertexAIOptions, XAiAsr, XAiAsrParams, XAiSTTOptions, XAiTTSOptions, XAiTts, XAiTtsParams, XaiGrokOptions, XfyunBigModelSTTOptions, XfyunDialectSTTOptions, XfyunSTTOptions, } from "./agentkit/index.mjs";
|
|
5
|
-
export { Agent, AgentPresets, AgentSession, AkoolAvatar, AliyunLLM, AmazonBedrock, AmazonSTT, AmazonTTS, AnamAvatar, Anthropic, AresSTT, AssemblyAISTT, AudioScenario, AzureOpenAI, BaseAvatar, BaseCNAvatar, BaseCNLLM, BaseCNSTT, BaseCNTTS, BaseLLM, BaseMLLM, BaseSTT, BaseTTS, BytedanceDuplexTTS, BytedanceLLM, BytedanceTTS, CartesiaTTS, CosyVoiceTTS, CredentialMode, CustomLLM, DataChannel, DeepgramSTT, DeepgramTTS, DeepSeekLLM, Dify, ElevenLabsTTS, ExpiresIn, FengmingSTT, FillerWordsSelectionRule, FishAudioTTS, Gemini, GeminiLive, GenericAvatar, GenericTTS, Geofence, GoogleSTT, GoogleTTS, GradiumTTS, Groq, generateConvoAIToken, generateRtcToken, HeyGenAvatar, HumeAITTS, InterruptionDisabledStrategy, InterruptionDisabledStrategyAppend, InterruptionDisabledStrategyIgnore, InterruptionModeKeywords, InterruptionModeStartOfSpeech, InterruptionModeValues, isAkoolAvatar, isAnamAvatar, isAvatarTokenManaged, isGenericAvatar, isHeyGenAvatar, isLiveAvatarAvatar, isSensetimeAvatar, isSpatiusAvatar, LiveAvatarAvatar, MAX_EXPIRY_SECONDS, MicrosoftCNSTT, MicrosoftCNTTS, MicrosoftSTT, MicrosoftTTS, MiniMaxCNTTS, MiniMaxTTS, MistralTTS, MllmTurnDetectionModeAgoraVad, MllmTurnDetectionModeSemanticVad, MllmTurnDetectionModeServerVad, MllmTurnDetectionModeValues, MurfTTS, normalizePresetInput, OpenAI, OpenAIRealtime, OpenAISTT, OpenAITTS, RimeTTS, SalModeValues, SarvamSTT, SarvamTTS, SensetimeAvatar, SilenceActionValues, SpatiusAvatar, SpeakPriorityAppend, SpeakPriorityIgnore, SpeakPriorityInterrupt, SpeakPriorityValues, SpeechmaticsSTT, StepFunTTS, TencentLLM, TencentSTT, TencentTTS, ThinkOnListeningActionIgnore, ThinkOnListeningActionInject, ThinkOnListeningActionInterrupt, ThinkOnSpeakingActionIgnore, ThinkOnSpeakingActionInterrupt, ThinkOnThinkingActionIgnore, ThinkOnThinkingActionInterrupt, TurnDetectionTypeValues, toBaseAvatarConfig, VertexAI, VertexAILLM, validateAvatarConfig, validateTtsSampleRate, XAiSTT, XAiTTS, XaiGrok, XfyunBigModelSTT, XfyunDialectSTT, XfyunSTT, } from "./agentkit/index.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, FillerWordsContentSelectionRule, FillerWordsContentStaticConfig, FillerWordsTrigger, FillerWordsTriggerFixedTimeConfig, FishAudioTTSOptions, FishAudioTts, FishAudioTtsParams, GeminiLiveOptions, GeminiOptions, GenerateConvoAITokenOptions, GenerateTokenOptions, GenericAvatarConfig, GenericAvatarOptions, GenericTTSOptions, GenericTts, GenericTtsParams, GeofenceArea, GeofenceConfig, GeofenceExcludeArea, GetTurnsOptions, GlobalAvatarVendor, GlobalLlmVendor, GlobalMllmVendor, GlobalSttVendor, GlobalTtsVendor, GoogleSTTOptions, GoogleTTSOptions, GoogleTts, GoogleTtsParams, GradiumTTSOptions, GradiumTts, GradiumTtsParams, GroqOptions, HeyGenAvatarConfig, HeyGenAvatarOptions, HeyGenSampleRate, HumeAITTSOptions, HumeAiTts, HumeAiTtsParams, InterruptionConfig, InterruptionMode, InterruptMode, Labels, LiveAvatarAvatarConfig, LiveAvatarAvatarOptions, LiveAvatarSampleRate, LlmConfig, LlmGreetingConfigs, LlmGreetingConfigsMode, LlmPreset, LlmStyle, LlmVendor, McpServersItem, MicrosoftCNSampleRate, MicrosoftCNSTTOptions, MicrosoftCNTTSOptions, MicrosoftSampleRate, MicrosoftSTTOptions, MicrosoftTTSOptions, MicrosoftTts, MicrosoftTtsParams, MiniMaxCNTTSOptions, MiniMaxTTSOptions, MinimaxTts, MinimaxTtsParams, MistralTTSOptions, MistralTts, MistralTtsParams, MllmConfig, MllmTurnDetectionConfig, MllmTurnDetectionMode, MllmVendor, MurfTTSOptions, MurfTts, MurfTtsParams, OpenAIOptions, OpenAIRealtimeOptions, OpenAISTTOptions, OpenAITTSOptions, OpenAiTts, OpenAiTtsParams, ParametersAudioScenario, ParametersDataChannel, PresetCategory, PresetInput, QwenOmniOptions, RimeTTSOptions, RimeTts, RimeTtsParams, RtcConfig, SalConfig, SalMode, SampleRate, SarvamSTTOptions, SarvamTTSOptions, SarvamTts, SarvamTtsParams, SayOptions, SensetimeAvatarConfig, SensetimeAvatarOptions, SessionInfo, SessionListResponse, SessionOptions, SessionParams, SessionParamsInput, SessionStatus, SessionSummary, SilenceAction, SilenceConfig, SpatiusAvatarConfig, SpatiusAvatarOptions, SpatiusAvatarParams, SpeakPriority, SpeechmaticsSTTOptions, StartOfSpeechConfig, StartOfSpeechDisabledConfig, StartOfSpeechDisabledConfigStrategy, StartOfSpeechKeywordsConfig, StartOfSpeechMode, StartOfSpeechVadConfig, StepFunTTSOptions, StrictAvatarConfig, SttConfig, SttVendor, TencentLLMOptions, TencentSTTOptions, TencentTTSOptions, ThinkOnListeningAction, ThinkOnSpeakingAction, ThinkOnThinkingAction, ThinkOptions, ThinkResponse, TtsConfig, TtsPreset, TtsVendor, TurnDetectionConfig, TurnDetectionLanguage, TurnDetectionNestedConfig, TurnDetectionType, TypecastTTSOptions, TypecastTts, TypecastTtsParams, VertexAILLMOptions, VertexAIOptions, XAiAsr, XAiAsrParams, XAiSTTOptions, XAiTTSOptions, XAiTts, XAiTtsParams, XaiGrokOptions, XfyunBigModelSTTOptions, XfyunDialectSTTOptions, XfyunSTTOptions, } from "./agentkit/index.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, DataChannel, DeepgramSTT, DeepgramTTS, DeepSeekLLM, Dify, ElevenLabsTTS, ExpiresIn, FengmingSTT, FillerWordsSelectionRule, FishAudioTTS, Gemini, GeminiLive, GenericAvatar, GenericTTS, Geofence, GoogleSTT, GoogleTTS, GradiumTTS, Groq, generateConvoAIToken, generateRtcToken, HeyGenAvatar, HumeAITTS, InterruptionDisabledStrategy, InterruptionDisabledStrategyAppend, InterruptionDisabledStrategyIgnore, InterruptionModeKeywords, InterruptionModeStartOfSpeech, InterruptionModeValues, isAkoolAvatar, isAnamAvatar, isAvatarTokenManaged, isGenericAvatar, isHeyGenAvatar, isLiveAvatarAvatar, isSensetimeAvatar, isSpatiusAvatar, LiveAvatarAvatar, MAX_EXPIRY_SECONDS, MicrosoftCNSTT, MicrosoftCNTTS, MicrosoftSTT, MicrosoftTTS, MiniMaxCNTTS, MiniMaxTTS, MistralTTS, MllmTurnDetectionModeAgoraVad, MllmTurnDetectionModeSemanticVad, MllmTurnDetectionModeServerVad, MllmTurnDetectionModeValues, MurfTTS, normalizePresetInput, OpenAI, OpenAIRealtime, OpenAISTT, OpenAITTS, QwenOmni, RimeTTS, SalModeValues, SarvamSTT, SarvamTTS, SensetimeAvatar, SilenceActionValues, SpatiusAvatar, SpeakPriorityAppend, SpeakPriorityIgnore, SpeakPriorityInterrupt, SpeakPriorityValues, SpeechmaticsSTT, StepFunTTS, TencentLLM, TencentSTT, TencentTTS, ThinkOnListeningActionIgnore, ThinkOnListeningActionInject, ThinkOnListeningActionInterrupt, ThinkOnSpeakingActionIgnore, ThinkOnSpeakingActionInterrupt, ThinkOnThinkingActionIgnore, ThinkOnThinkingActionInterrupt, TurnDetectionTypeValues, TypecastTTS, toBaseAvatarConfig, VertexAI, VertexAILLM, validateAvatarConfig, validateTtsSampleRate, XAiSTT, XAiTTS, XaiGrok, XfyunBigModelSTT, XfyunDialectSTT, XfyunSTT, } from "./agentkit/index.mjs";
|
|
6
6
|
export * as Agora from "./api/index.mjs";
|
|
7
7
|
export type { BaseClientOptions, BaseRequestOptions } from "./BaseClient.mjs";
|
|
8
8
|
export { Area } from "./core/domain/index.mjs";
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { AgoraClient } from "./AgoraPoolClient.mjs";
|
|
2
2
|
// Agentkit layer exports - clean, ergonomic API
|
|
3
|
-
export { Agent, AgentPresets, AgentSession, AkoolAvatar, AliyunLLM, AmazonBedrock, AmazonSTT, AmazonTTS, AnamAvatar, Anthropic, AresSTT, AssemblyAISTT, AudioScenario, AzureOpenAI, BaseAvatar, BaseCNAvatar, BaseCNLLM, BaseCNSTT, BaseCNTTS,
|
|
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
5
|
BaseLLM, BaseMLLM, BaseSTT, BaseTTS, BytedanceDuplexTTS, BytedanceLLM, BytedanceTTS, CartesiaTTS, CosyVoiceTTS, CredentialMode, CustomLLM, DataChannel, DeepgramSTT, DeepgramTTS, DeepSeekLLM, Dify,
|
|
6
6
|
// TTS vendors
|
|
@@ -10,9 +10,9 @@ HeyGenAvatar, HumeAITTS, InterruptionDisabledStrategy, InterruptionDisabledStrat
|
|
|
10
10
|
// LLM vendors
|
|
11
11
|
OpenAI,
|
|
12
12
|
// MLLM vendors
|
|
13
|
-
OpenAIRealtime, OpenAISTT, OpenAITTS, RimeTTS, SalModeValues, SarvamSTT, SarvamTTS, SensetimeAvatar, SilenceActionValues, SpatiusAvatar, SpeakPriorityAppend, SpeakPriorityIgnore, SpeakPriorityInterrupt, SpeakPriorityValues,
|
|
13
|
+
OpenAIRealtime, OpenAISTT, OpenAITTS, QwenOmni, RimeTTS, SalModeValues, SarvamSTT, SarvamTTS, SensetimeAvatar, SilenceActionValues, SpatiusAvatar, SpeakPriorityAppend, SpeakPriorityIgnore, SpeakPriorityInterrupt, SpeakPriorityValues,
|
|
14
14
|
// STT vendors
|
|
15
|
-
SpeechmaticsSTT, StepFunTTS, TencentLLM, TencentSTT, TencentTTS, ThinkOnListeningActionIgnore, ThinkOnListeningActionInject, ThinkOnListeningActionInterrupt, ThinkOnSpeakingActionIgnore, ThinkOnSpeakingActionInterrupt, ThinkOnThinkingActionIgnore, ThinkOnThinkingActionInterrupt, TurnDetectionTypeValues, toBaseAvatarConfig, VertexAI, VertexAILLM, validateAvatarConfig, validateTtsSampleRate, XAiSTT, XAiTTS, XaiGrok, XfyunBigModelSTT, XfyunDialectSTT, XfyunSTT, } from "./agentkit/index.mjs";
|
|
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
16
|
export * as Agora from "./api/index.mjs";
|
|
17
17
|
export { Area } from "./core/domain/index.mjs";
|
|
18
18
|
export { AgoraEnvironment } from "./environments.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "v2.
|
|
1
|
+
export declare const SDK_VERSION = "v2.7.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "v2.
|
|
1
|
+
export const SDK_VERSION = "v2.7.0";
|