@speakai/mcp-server 1.23.0 → 1.23.1

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 +0 -25
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2672,27 +2672,6 @@ var recorder_exports = {};
2672
2672
  __export(recorder_exports, {
2673
2673
  register: () => register5
2674
2674
  });
2675
- function optionsFromMetaType(metaType) {
2676
- const bool = (v, fallback) => typeof v === "boolean" ? v : fallback;
2677
- const upload = metaType?.upload ?? {};
2678
- return {
2679
- audio: bool(metaType?.audio, true),
2680
- video: bool(metaType?.video, true),
2681
- screenShare: bool(metaType?.screenShare, false),
2682
- upload: {
2683
- file: bool(upload.file, true),
2684
- multiple: bool(upload.multiple, false),
2685
- url: bool(upload.url, false)
2686
- },
2687
- liveTranscription: bool(metaType?.liveTranscription, false)
2688
- };
2689
- }
2690
- function addRecorderOptions(recorder) {
2691
- if (recorder && typeof recorder === "object") {
2692
- recorder.options = optionsFromMetaType(recorder.meta?.type);
2693
- }
2694
- return recorder;
2695
- }
2696
2675
  function register5(server, client) {
2697
2676
  const api = client ?? speakClient;
2698
2677
  registerSpeakTool(
@@ -2744,7 +2723,6 @@ function register5(server, client) {
2744
2723
  async (body) => {
2745
2724
  try {
2746
2725
  const result = await api.post("/v1/recorder/create", body);
2747
- addRecorderOptions(result.data?.data?.recorderData);
2748
2726
  return {
2749
2727
  content: [{ type: "text", text: JSON.stringify(result.data, null, 2) }]
2750
2728
  };
@@ -2775,7 +2753,6 @@ function register5(server, client) {
2775
2753
  async (params) => {
2776
2754
  try {
2777
2755
  const result = await api.get("/v1/recorder", { params });
2778
- result.data?.data?.recorderList?.forEach?.(addRecorderOptions);
2779
2756
  return {
2780
2757
  content: [{ type: "text", text: JSON.stringify(result.data, null, 2) }]
2781
2758
  };
@@ -2835,7 +2812,6 @@ function register5(server, client) {
2835
2812
  async ({ recorderId }) => {
2836
2813
  try {
2837
2814
  const result = await api.get(`/v1/recorder/${recorderId}`);
2838
- addRecorderOptions(result.data?.data);
2839
2815
  return {
2840
2816
  content: [{ type: "text", text: JSON.stringify(result.data, null, 2) }]
2841
2817
  };
@@ -2922,7 +2898,6 @@ function register5(server, client) {
2922
2898
  async ({ recorderId, ...body }) => {
2923
2899
  try {
2924
2900
  const result = await api.put(`/v1/recorder/settings/${recorderId}`, body);
2925
- addRecorderOptions(result.data?.data?.recorderData);
2926
2901
  return {
2927
2902
  content: [{ type: "text", text: JSON.stringify(result.data, null, 2) }]
2928
2903
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@speakai/mcp-server",
3
- "version": "1.23.0",
3
+ "version": "1.23.1",
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",