@speakai/mcp-server 1.36.0 → 1.37.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.
- package/dist/index.js +18 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11225,7 +11225,8 @@ var init_dashboards = __esm({
|
|
|
11225
11225
|
// src/tools/voice.ts
|
|
11226
11226
|
var voice_exports = {};
|
|
11227
11227
|
__export(voice_exports, {
|
|
11228
|
-
register: () => register19
|
|
11228
|
+
register: () => register19,
|
|
11229
|
+
voiceInputSchema: () => voiceInputSchema
|
|
11229
11230
|
});
|
|
11230
11231
|
function register19(server, client, options = {}) {
|
|
11231
11232
|
const api = client ?? speakClient;
|
|
@@ -11370,7 +11371,7 @@ function register19(server, client, options = {}) {
|
|
|
11370
11371
|
registerSpeakTool(
|
|
11371
11372
|
server,
|
|
11372
11373
|
"update_voice_agent",
|
|
11373
|
-
"Update a voice agent. Requires the OWNER or ADMIN role. Send only the fields you want to change; agentId, companyId, and userId are immutable and silently dropped if sent.",
|
|
11374
|
+
"Update a voice agent. Requires the OWNER or ADMIN role. Send only the top-level fields you want to change; agentId, companyId, and userId are immutable and silently dropped if sent. Object fields (voice, llm, avatar, chatSettings) each replace the stored object whole, not merge -- fetch get_voice_agent first and resend every key of an object field you're not fully replacing.",
|
|
11374
11375
|
{
|
|
11375
11376
|
agentId: import_zod21.z.string().min(1).describe("ID of the voice agent to update (from list_voice_agents)"),
|
|
11376
11377
|
...Object.fromEntries(
|
|
@@ -11581,13 +11582,25 @@ function register19(server, client, options = {}) {
|
|
|
11581
11582
|
}
|
|
11582
11583
|
);
|
|
11583
11584
|
}
|
|
11584
|
-
var import_zod21, voiceInputSchema;
|
|
11585
|
+
var import_zod21, chatSettingsSchema, voiceInputSchema;
|
|
11585
11586
|
var init_voice4 = __esm({
|
|
11586
11587
|
"src/tools/voice.ts"() {
|
|
11587
11588
|
"use strict";
|
|
11588
11589
|
import_zod21 = require("zod");
|
|
11590
|
+
init_dist();
|
|
11589
11591
|
init_helpers();
|
|
11590
11592
|
init_client();
|
|
11593
|
+
chatSettingsSchema = import_zod21.z.object({
|
|
11594
|
+
welcomeMessage: import_zod21.z.string().optional().describe("The agent's opening line."),
|
|
11595
|
+
conversationStarters: import_zod21.z.array(import_zod21.z.string()).optional(),
|
|
11596
|
+
topicsToAvoid: import_zod21.z.array(import_zod21.z.string()).optional(),
|
|
11597
|
+
maxResponseLength: import_zod21.z.number().int().min(10).max(50).optional().describe("Words per response, 10-50."),
|
|
11598
|
+
maxSessionLength: import_zod21.z.number().int().positive().optional().describe("Minutes before the call ends."),
|
|
11599
|
+
language: import_zod21.z.string().optional(),
|
|
11600
|
+
responsePace: import_zod21.z.enum(RESPONSE_PACES).optional()
|
|
11601
|
+
}).describe(
|
|
11602
|
+
"Sending this object replaces it whole on the stored agent, the same as voice/llm/avatar below -- fields you omit are not merged, they're dropped. Fetch get_voice_agent first and resend every key you want to keep."
|
|
11603
|
+
);
|
|
11591
11604
|
voiceInputSchema = {
|
|
11592
11605
|
name: import_zod21.z.string().min(1).describe("Required on create. Trimmed, non-empty."),
|
|
11593
11606
|
personality: import_zod21.z.string().describe("Required on create. Free text describing the agent's tone."),
|
|
@@ -11604,7 +11617,8 @@ var init_voice4 = __esm({
|
|
|
11604
11617
|
avatar: import_zod21.z.object({
|
|
11605
11618
|
avatarId: import_zod21.z.string().describe("Must match a row in your company's avatar catalog (list_voice_avatars) or the shared system catalog.")
|
|
11606
11619
|
}).optional().describe("Set to attach a video avatar; avatarUrl/provider are derived server-side from the catalog row."),
|
|
11607
|
-
|
|
11620
|
+
chatSettings: chatSettingsSchema.optional(),
|
|
11621
|
+
conversationMode: import_zod21.z.enum(["voice", "avatar"]).optional(),
|
|
11608
11622
|
folderId: import_zod21.z.string().optional().describe("Folder to file this agent's conversations under."),
|
|
11609
11623
|
enableWebSearch: import_zod21.z.boolean().optional().describe("Let the agent search the web mid-call, separate from any attached knowledge base.")
|
|
11610
11624
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@speakai/mcp-server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.37.0",
|
|
4
4
|
"mcpName": "io.github.speakai/mcp-server",
|
|
5
5
|
"description": "Official Speak AI MCP Server — capture meetings, search thousands of recordings, run async voice and video surveys, create clips, and automate workflows from your AI assistant.",
|
|
6
6
|
"homepage": "https://docs.speakai.co/mcp",
|