@speakai/mcp-server 1.39.1 → 1.39.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 +12 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4824,7 +4824,8 @@ var media_exports = {};
|
|
|
4824
4824
|
__export(media_exports, {
|
|
4825
4825
|
LIST_MEDIA_DEFAULT_PAGE_SIZE: () => LIST_MEDIA_DEFAULT_PAGE_SIZE,
|
|
4826
4826
|
LIST_MEDIA_MAX_PAGE_SIZE: () => LIST_MEDIA_MAX_PAGE_SIZE,
|
|
4827
|
-
register: () => register
|
|
4827
|
+
register: () => register,
|
|
4828
|
+
toNameFilter: () => toNameFilter
|
|
4828
4829
|
});
|
|
4829
4830
|
function register(server, client) {
|
|
4830
4831
|
const api = client ?? speakClient;
|
|
@@ -4919,7 +4920,7 @@ function register(server, client) {
|
|
|
4919
4920
|
),
|
|
4920
4921
|
sortBy: import_zod2.z.string().optional().describe('Sort field and direction, e.g. "createdAt:desc" or "name:asc"'),
|
|
4921
4922
|
filterMedia: import_zod2.z.number().int().optional().describe("Filter: 0=Uploaded, 1=Assigned, 2=Both (default: 2)"),
|
|
4922
|
-
filterName: import_zod2.z.string().optional().describe("Filter media by partial name match"),
|
|
4923
|
+
filterName: import_zod2.z.string().optional().describe("Filter media by partial name match. Searches names only; use search_media to search transcripts."),
|
|
4923
4924
|
folderId: import_zod2.z.string().optional().describe("Filter media within a specific folder"),
|
|
4924
4925
|
from: import_zod2.z.string().optional().describe("Start date for date range filter (ISO 8601)"),
|
|
4925
4926
|
to: import_zod2.z.string().optional().describe("End date for date range filter (ISO 8601)"),
|
|
@@ -4947,6 +4948,9 @@ function register(server, client) {
|
|
|
4947
4948
|
async ({ include, ...params }) => {
|
|
4948
4949
|
try {
|
|
4949
4950
|
const queryParams = { ...params };
|
|
4951
|
+
if (params.filterName) {
|
|
4952
|
+
queryParams.filterName = toNameFilter(params.filterName);
|
|
4953
|
+
}
|
|
4950
4954
|
if (include?.length) {
|
|
4951
4955
|
queryParams.requestTypes = include.join(",");
|
|
4952
4956
|
}
|
|
@@ -5499,7 +5503,7 @@ function register(server, client) {
|
|
|
5499
5503
|
}
|
|
5500
5504
|
);
|
|
5501
5505
|
}
|
|
5502
|
-
var import_zod2, LIST_MEDIA_DEFAULT_PAGE_SIZE, LIST_MEDIA_MAX_PAGE_SIZE, THUMBNAIL_MAX_BYTES, THUMBNAIL_POLL_TIMEOUT_MS, THUMBNAIL_POLL_INTERVAL_MS, THUMBNAIL_FILE_EXTENSIONS;
|
|
5506
|
+
var import_zod2, LIST_MEDIA_DEFAULT_PAGE_SIZE, LIST_MEDIA_MAX_PAGE_SIZE, THUMBNAIL_MAX_BYTES, THUMBNAIL_POLL_TIMEOUT_MS, THUMBNAIL_POLL_INTERVAL_MS, THUMBNAIL_FILE_EXTENSIONS, toNameFilter;
|
|
5503
5507
|
var init_media3 = __esm({
|
|
5504
5508
|
"src/tools/media.ts"() {
|
|
5505
5509
|
"use strict";
|
|
@@ -5518,6 +5522,7 @@ var init_media3 = __esm({
|
|
|
5518
5522
|
"image/png": "png",
|
|
5519
5523
|
"image/webp": "webp"
|
|
5520
5524
|
};
|
|
5525
|
+
toNameFilter = (text) => /^name:/i.test(text) ? text : `name:${text}`;
|
|
5521
5526
|
}
|
|
5522
5527
|
});
|
|
5523
5528
|
|
|
@@ -12461,7 +12466,7 @@ function register21(server, client) {
|
|
|
12461
12466
|
registerSpeakTool(
|
|
12462
12467
|
server,
|
|
12463
12468
|
"create_voice_question",
|
|
12464
|
-
"Attach a question template to a voice agent. Requires the OWNER or ADMIN role. agentId and templateId are both required and must belong to your company (or, for templateId, be a public system template) \u2014 404 if either isn't found. Returns 409 if the agent already has an enabled question whose template has the same name (they save to the same answer key); disable or delete that question first, or create this one with enabled: false.",
|
|
12469
|
+
"Attach a question template to a voice agent. Requires the OWNER or ADMIN role. agentId and templateId are both required and must belong to your company (or, for templateId, be a public system template) \u2014 404 if either isn't found. Returns 409 if the agent already has an enabled question whose template has the same name, ignoring case and spacing (they save to the same answer key); disable or delete that question first, or create this one with enabled: false.",
|
|
12465
12470
|
{
|
|
12466
12471
|
agentId: import_zod23.z.string().min(1),
|
|
12467
12472
|
templateId: import_zod23.z.string().min(1).describe("From list_voice_question_templates."),
|
|
@@ -12487,7 +12492,7 @@ function register21(server, client) {
|
|
|
12487
12492
|
registerSpeakTool(
|
|
12488
12493
|
server,
|
|
12489
12494
|
"update_voice_question",
|
|
12490
|
-
"Partially update a voice agent question \u2014 only the fields you send are changed. Requires the OWNER or ADMIN role. agentId and templateId are fixed after create; sending them is silently dropped. Returns 409 when setting enabled: true on a disabled question while another enabled question on the same agent has a template with the same name (they save to the same answer key); other edits to an existing duplicate still succeed.",
|
|
12495
|
+
"Partially update a voice agent question \u2014 only the fields you send are changed. Requires the OWNER or ADMIN role. agentId and templateId are fixed after create; sending them is silently dropped. Returns 409 when setting enabled: true on a disabled question while another enabled question on the same agent has a template with the same name, ignoring case and spacing (they save to the same answer key); other edits to an existing duplicate still succeed.",
|
|
12491
12496
|
{
|
|
12492
12497
|
fieldId: import_zod23.z.string().min(1).describe("ID of the question to update (from list_voice_questions)"),
|
|
12493
12498
|
customConfig: customConfigSchema.optional(),
|
|
@@ -13761,7 +13766,7 @@ function createCli() {
|
|
|
13761
13766
|
};
|
|
13762
13767
|
if (opts.type) params.mediaType = opts.type;
|
|
13763
13768
|
if (opts.folder) params.folderId = opts.folder;
|
|
13764
|
-
if (opts.name) params.filterName = opts.name;
|
|
13769
|
+
if (opts.name) params.filterName = toNameFilter(opts.name);
|
|
13765
13770
|
if (opts.from) params.from = opts.from;
|
|
13766
13771
|
if (opts.to) params.to = opts.to;
|
|
13767
13772
|
if (opts.favorites) params.isFavorites = true;
|
|
@@ -14557,6 +14562,7 @@ var init_cli = __esm({
|
|
|
14557
14562
|
init_config();
|
|
14558
14563
|
init_format();
|
|
14559
14564
|
init_media_utils();
|
|
14565
|
+
init_media3();
|
|
14560
14566
|
}
|
|
14561
14567
|
});
|
|
14562
14568
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@speakai/mcp-server",
|
|
3
|
-
"version": "1.39.
|
|
3
|
+
"version": "1.39.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",
|