@speakai/mcp-server 1.41.2 → 1.41.3
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 +15 -8
- package/package.json +5 -4
package/dist/index.js
CHANGED
|
@@ -216,7 +216,8 @@ function err(error) {
|
|
|
216
216
|
};
|
|
217
217
|
}
|
|
218
218
|
function registerSpeakTool(server, name, description, inputSchema, annotations, handler) {
|
|
219
|
-
|
|
219
|
+
const registerTool = server.registerTool.bind(server);
|
|
220
|
+
return registerTool(
|
|
220
221
|
name,
|
|
221
222
|
{
|
|
222
223
|
title: annotations.title,
|
|
@@ -225,13 +226,13 @@ function registerSpeakTool(server, name, description, inputSchema, annotations,
|
|
|
225
226
|
outputSchema: passthroughOutputSchema,
|
|
226
227
|
annotations
|
|
227
228
|
},
|
|
228
|
-
|
|
229
|
-
const result = await handler(
|
|
229
|
+
async (args2, extra) => {
|
|
230
|
+
const result = await handler(args2, extra);
|
|
230
231
|
if (result.isError || result.structuredContent) {
|
|
231
232
|
return result;
|
|
232
233
|
}
|
|
233
234
|
const textContent = result.content?.find(
|
|
234
|
-
(item) => item.type === "text"
|
|
235
|
+
(item) => item.type === "text"
|
|
235
236
|
);
|
|
236
237
|
if (!textContent) {
|
|
237
238
|
return { ...result, structuredContent: { data: null } };
|
|
@@ -241,7 +242,7 @@ function registerSpeakTool(server, name, description, inputSchema, annotations,
|
|
|
241
242
|
} catch {
|
|
242
243
|
return { ...result, structuredContent: { data: textContent.text } };
|
|
243
244
|
}
|
|
244
|
-
}
|
|
245
|
+
}
|
|
245
246
|
);
|
|
246
247
|
}
|
|
247
248
|
var import_zod, passthroughOutputSchema, fieldIdSchema, SHARED_DASHBOARD_CACHE_NOTE;
|
|
@@ -13097,8 +13098,12 @@ var prompts_exports = {};
|
|
|
13097
13098
|
__export(prompts_exports, {
|
|
13098
13099
|
registerPrompts: () => registerPrompts
|
|
13099
13100
|
});
|
|
13101
|
+
function registerPrompt(server, name, description, args2, callback) {
|
|
13102
|
+
server.prompt.bind(server)(name, description, args2, callback);
|
|
13103
|
+
}
|
|
13100
13104
|
function registerPrompts(server) {
|
|
13101
|
-
|
|
13105
|
+
registerPrompt(
|
|
13106
|
+
server,
|
|
13102
13107
|
"analyze-meeting",
|
|
13103
13108
|
"Upload a meeting recording and get a full analysis \u2014 transcript, insights, action items, and key takeaways.",
|
|
13104
13109
|
{
|
|
@@ -13134,7 +13139,8 @@ function registerPrompts(server) {
|
|
|
13134
13139
|
]
|
|
13135
13140
|
})
|
|
13136
13141
|
);
|
|
13137
|
-
|
|
13142
|
+
registerPrompt(
|
|
13143
|
+
server,
|
|
13138
13144
|
"research-across-media",
|
|
13139
13145
|
"Search for themes, patterns, or topics across multiple recordings or your entire media library.",
|
|
13140
13146
|
{
|
|
@@ -13168,7 +13174,8 @@ function registerPrompts(server) {
|
|
|
13168
13174
|
]
|
|
13169
13175
|
})
|
|
13170
13176
|
);
|
|
13171
|
-
|
|
13177
|
+
registerPrompt(
|
|
13178
|
+
server,
|
|
13172
13179
|
"meeting-brief",
|
|
13173
13180
|
"Prepare a brief from recent meetings \u2014 pull transcripts, extract decisions, and summarize open items.",
|
|
13174
13181
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@speakai/mcp-server",
|
|
3
|
-
"version": "1.41.
|
|
3
|
+
"version": "1.41.3",
|
|
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",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"dev": "tsx src/index.ts",
|
|
23
23
|
"prepare": "npm run build",
|
|
24
24
|
"test": "vitest run",
|
|
25
|
+
"typecheck": "tsc --noEmit",
|
|
25
26
|
"sync": "tsx scripts/sync-plugin.ts",
|
|
26
27
|
"sync:check": "tsx scripts/sync-plugin.ts --check",
|
|
27
28
|
"verify:plugin": "tsx scripts/verify-plugin.ts",
|
|
@@ -55,11 +56,11 @@
|
|
|
55
56
|
},
|
|
56
57
|
"devDependencies": {
|
|
57
58
|
"@speakai/shared": "^2.1.60",
|
|
58
|
-
"@types/node": "^20.
|
|
59
|
-
"@vitest/coverage-v8": "^
|
|
59
|
+
"@types/node": "^22.20.5",
|
|
60
|
+
"@vitest/coverage-v8": "^5.1.0",
|
|
60
61
|
"tsup": "^8.5.1",
|
|
61
62
|
"tsx": "^4.0.0",
|
|
62
63
|
"typescript": "^5.0.0",
|
|
63
|
-
"vitest": "^
|
|
64
|
+
"vitest": "^5.1.0"
|
|
64
65
|
}
|
|
65
66
|
}
|