@xiaozhi-client/shared-types 2.2.0 → 2.3.0-beta.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.
|
@@ -109,6 +109,10 @@ interface ASRConfig {
|
|
|
109
109
|
cluster?: string;
|
|
110
110
|
/** WebSocket 端点 */
|
|
111
111
|
wsUrl?: string;
|
|
112
|
+
/** VAD 端点检测窗口大小(ms),启用服务端 VAD 判停
|
|
113
|
+
* 设为 0 或不传则禁用服务端 VAD,回退到客户端静音超时
|
|
114
|
+
* 推荐值: 800,最小值: 200 */
|
|
115
|
+
vadEndWindowSize?: number;
|
|
112
116
|
}
|
|
113
117
|
/**
|
|
114
118
|
* TTS(语音合成)配置接口
|
package/dist/config.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as ASRConfig, a as AppConfig, C as ConnectionConfig, L as LLMConfig, b as LocalMCPServerConfig, M as MCPServerConfig, c as MCPServerToolsConfig, d as MCPToolConfig, e as ModelScopeConfig, P as PlatformConfig, f as PlatformsConfig, S as SSEMCPServerConfig, g as StreamableHTTPMCPServerConfig, T as TTSConfig, W as WebUIConfig } from './app-
|
|
1
|
+
export { A as ASRConfig, a as AppConfig, C as ConnectionConfig, L as LLMConfig, b as LocalMCPServerConfig, M as MCPServerConfig, c as MCPServerToolsConfig, d as MCPToolConfig, e as ModelScopeConfig, P as PlatformConfig, f as PlatformsConfig, S as SSEMCPServerConfig, g as StreamableHTTPMCPServerConfig, T as TTSConfig, W as WebUIConfig } from './app-B8a9g8es.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* 连接配置相关类型定义
|
package/dist/index.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ export { E as EnhancedToolResultCache, a as ExtendedMCPToolsCache, M as MCPError
|
|
|
5
5
|
export { C as CustomMCPTool, a as CustomMCPToolConfig, b as CustomMCPToolWithStats } from './tool-definition-B6f-mWPy.js';
|
|
6
6
|
export { J as JSONSchema } from './schema-Bs4SCukS.js';
|
|
7
7
|
export { M as MCPToolData, T as ToolType } from './toolApi-D-G8Chst.js';
|
|
8
|
-
import { M as MCPServerConfig } from './app-
|
|
9
|
-
export { A as ASRConfig, a as AppConfig, C as ConnectionConfig, L as LLMConfig, b as LocalMCPServerConfig, c as MCPServerToolsConfig, d as MCPToolConfig, e as ModelScopeConfig, P as PlatformConfig, f as PlatformsConfig, S as SSEMCPServerConfig, g as StreamableHTTPMCPServerConfig, T as TTSConfig, W as WebUIConfig } from './app-
|
|
8
|
+
import { M as MCPServerConfig } from './app-B8a9g8es.js';
|
|
9
|
+
export { A as ASRConfig, a as AppConfig, C as ConnectionConfig, L as LLMConfig, b as LocalMCPServerConfig, c as MCPServerToolsConfig, d as MCPToolConfig, e as ModelScopeConfig, P as PlatformConfig, f as PlatformsConfig, S as SSEMCPServerConfig, g as StreamableHTTPMCPServerConfig, T as TTSConfig, W as WebUIConfig } from './app-B8a9g8es.js';
|
|
10
10
|
export { T as TimeoutError } from './timeout-D1mc0P3r.js';
|
|
11
11
|
|
|
12
12
|
/**
|