@speakai/mcp-server 1.16.0 → 1.16.2

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.
Files changed (2) hide show
  1. package/dist/index.js +16 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1366,15 +1366,19 @@ function register(server, client) {
1366
1366
  registerSpeakTool(
1367
1367
  server,
1368
1368
  "update_transcript_speakers",
1369
- "Update or rename speaker labels in a media transcript.",
1369
+ "Update or rename speaker labels in a single media transcript. Call get_transcript first to read the speaker list \u2014 a speaker's label is whatever it was last renamed to, not a fixed value, so ids from an earlier turn may be stale. Renaming a speaker to a name another speaker already has is refused as a collision. Re-sending a rename that has already been applied is a safe no-op, so do not retry a call that reported success.",
1370
1370
  {
1371
1371
  mediaId: import_zod2.z.string().min(1).describe("Unique identifier of the media file"),
1372
1372
  speakers: import_zod2.z.array(
1373
1373
  import_zod2.z.object({
1374
- id: import_zod2.z.string().min(1).describe("Speaker identifier from the transcript"),
1375
- name: import_zod2.z.string().min(1).describe("Display name to assign to the speaker")
1374
+ id: import_zod2.z.string().min(1).describe(
1375
+ `Which speaker to rename. Accepts the speaker's CURRENT label exactly as it appears in the transcript (e.g. "Speaker 0", "Vatsal Shah"), or its numeric id from insight.speakers[].id (e.g. "0"). Not a fixed identifier \u2014 it changes when the speaker is renamed.`
1376
+ ),
1377
+ name: import_zod2.z.string().min(1).describe("New display name to assign to the speaker")
1376
1378
  })
1377
- ).describe("Array of speaker ID to name mappings")
1379
+ ).describe(
1380
+ "Speakers to rename. Each entry maps one existing speaker to its new name; speakers not listed are left untouched."
1381
+ )
1378
1382
  },
1379
1383
  {
1380
1384
  title: "Rename Transcript Speakers",
@@ -1689,15 +1693,19 @@ function register(server, client) {
1689
1693
  registerSpeakTool(
1690
1694
  server,
1691
1695
  "bulk_update_transcript_speakers",
1692
- "Update or rename speaker labels across multiple media files in a single operation. Applies the same speaker mappings to every specified media file. Use this instead of calling update_transcript_speakers repeatedly when renaming speakers across a project or folder.",
1696
+ "Update or rename speaker labels across multiple media files in a single operation. Applies the same speaker mappings to every specified media file. Use this instead of calling update_transcript_speakers repeatedly when renaming speakers across a project or folder. Match speakers by their current LABEL, not by numeric id \u2014 a numeric id is a per-file position, so the same id refers to a different person in each file. A file whose speakers do not match the mapping is left unchanged. Re-sending a mapping that has already been applied is a safe no-op, so do not retry a call that reported success.",
1693
1697
  {
1694
1698
  mediaIds: import_zod2.z.array(import_zod2.z.string().min(1)).min(1).max(500).describe("Array of media IDs to update speakers for (max 500 per call)"),
1695
1699
  speakers: import_zod2.z.array(
1696
1700
  import_zod2.z.object({
1697
- id: import_zod2.z.string().min(1).describe("Speaker identifier from the transcript"),
1698
- name: import_zod2.z.string().min(1).describe("Display name to assign to the speaker")
1701
+ id: import_zod2.z.string().min(1).describe(
1702
+ `Which speaker to rename, matched against every file in mediaIds. Use the speaker's CURRENT label (e.g. "Speaker 0", "Vatsal Shah"). A numeric id also works but is per-file and identifies a different person in each file, so it is unsafe here. Not a fixed identifier \u2014 it changes when the speaker is renamed.`
1703
+ ),
1704
+ name: import_zod2.z.string().min(1).describe("New display name to assign to the speaker")
1699
1705
  })
1700
- ).describe("Array of speaker ID to name mappings to apply to all specified media files")
1706
+ ).describe(
1707
+ "Speaker mappings applied to every file in mediaIds. Speakers not listed, and files with no matching speaker, are left untouched."
1708
+ )
1701
1709
  },
1702
1710
  {
1703
1711
  title: "Bulk Rename Speakers Across Files",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@speakai/mcp-server",
3
- "version": "1.16.0",
3
+ "version": "1.16.2",
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://mcp.speakai.co",