@speakai/mcp-server 1.33.0 → 1.33.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 +279 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -274,7 +274,7 @@ var init_activities = __esm({
274
274
  });
275
275
 
276
276
  // node_modules/@speakai/shared/dist/enums/auth.js
277
- var SSOType, DevicePlatform;
277
+ var SSOType, DevicePlatform, AuthErrorCode;
278
278
  var init_auth = __esm({
279
279
  "node_modules/@speakai/shared/dist/enums/auth.js"() {
280
280
  "use strict";
@@ -292,6 +292,9 @@ var init_auth = __esm({
292
292
  DevicePlatform2["DESKTOP"] = "desktop";
293
293
  DevicePlatform2["API"] = "api";
294
294
  })(DevicePlatform || (DevicePlatform = {}));
295
+ (function(AuthErrorCode2) {
296
+ AuthErrorCode2["INVALID_REFRESH_TOKEN"] = "INVALID_REFRESH_TOKEN";
297
+ })(AuthErrorCode || (AuthErrorCode = {}));
295
298
  }
296
299
  });
297
300
 
@@ -450,6 +453,7 @@ var init_export = __esm({
450
453
  (function(ExportFormatType2) {
451
454
  ExportFormatType2["CSV"] = "csv";
452
455
  ExportFormatType2["CSV_INSIGHTS"] = "csv-insights";
456
+ ExportFormatType2["CSV_LABELS"] = "csv-labels";
453
457
  ExportFormatType2["CSV_TRANSCRIPT"] = "csv-transcript";
454
458
  ExportFormatType2["CSV_TRANSCRIPT_WITH_SENTIMENT"] = "csv-transcript-sentiment";
455
459
  ExportFormatType2["CSV_TEXT_WITH_SENTIMENT"] = "csv-text-sentiment";
@@ -753,7 +757,7 @@ var init_menu = __esm({
753
757
  });
754
758
 
755
759
  // node_modules/@speakai/shared/dist/enums/meeting.js
756
- var MeetingPlatform, MeetingStatus, MeetingRecordingMode, ScreenShareRecordingMode, MeetingSummarySettings, MediaPlayerSettings, MeetingFilterEventCondition, MeetingAttendeeType, MeetingAssistantEventSource;
760
+ var MeetingPlatform, MEETING_PLATFORM_LABELS, MeetingStatus, MeetingRecordingMode, ScreenShareRecordingMode, MeetingSummarySettings, MediaPlayerSettings, MeetingFilterEventCondition, MeetingAttendeeType, MeetingAssistantEventSource;
757
761
  var init_meeting = __esm({
758
762
  "node_modules/@speakai/shared/dist/enums/meeting.js"() {
759
763
  "use strict";
@@ -763,6 +767,12 @@ var init_meeting = __esm({
763
767
  MeetingPlatform2["MICROSOFT_TEAMS"] = "microsoftTeams";
764
768
  MeetingPlatform2["WEBEX"] = "webex";
765
769
  })(MeetingPlatform || (MeetingPlatform = {}));
770
+ MEETING_PLATFORM_LABELS = {
771
+ [MeetingPlatform.ZOOM]: "Zoom",
772
+ [MeetingPlatform.GOOGLE_MEET]: "Google Meet",
773
+ [MeetingPlatform.MICROSOFT_TEAMS]: "Microsoft Teams",
774
+ [MeetingPlatform.WEBEX]: "Webex"
775
+ };
766
776
  (function(MeetingStatus2) {
767
777
  MeetingStatus2["WILL_JOIN"] = "willJoin";
768
778
  MeetingStatus2["SCHEDULED"] = "scheduled";
@@ -881,6 +891,224 @@ var init_notification = __esm({
881
891
  }
882
892
  });
883
893
 
894
+ // node_modules/@speakai/shared/dist/enums/pushNotification.js
895
+ var PushNotificationAction, PushNotificationType, PushTapTarget, PushDataKey, WebPushDataKey, PUSH_NOTIFICATION_ACTION_LABELS, MEDIA_PUSH_DATA_KEYS, RECORDER_PUSH_DATA_KEYS, PUSH_NOTIFICATION_REGISTRY;
896
+ var init_pushNotification = __esm({
897
+ "node_modules/@speakai/shared/dist/enums/pushNotification.js"() {
898
+ "use strict";
899
+ (function(PushNotificationAction2) {
900
+ PushNotificationAction2["JOIN"] = "join";
901
+ PushNotificationAction2["RECORD"] = "record";
902
+ PushNotificationAction2["OPEN_MEDIA"] = "open-media";
903
+ })(PushNotificationAction || (PushNotificationAction = {}));
904
+ (function(PushNotificationType2) {
905
+ PushNotificationType2["MEETING_REMINDER"] = "meeting-reminder";
906
+ PushNotificationType2["MEDIA_FAILED"] = "media-failed";
907
+ PushNotificationType2["MEDIA_ANALYZED"] = "media-analyzed";
908
+ PushNotificationType2["TRANSCRIPTION_APPROVED"] = "transcription-approved";
909
+ PushNotificationType2["TRANSCRIPTION_COMPLETED"] = "transcription-completed";
910
+ PushNotificationType2["RECORDER_SUBMISSION"] = "recorder-submission";
911
+ PushNotificationType2["RECORDER_DISABLED"] = "recorder-disabled";
912
+ })(PushNotificationType || (PushNotificationType = {}));
913
+ (function(PushTapTarget2) {
914
+ PushTapTarget2["MEETING"] = "meeting";
915
+ PushTapTarget2["MEDIA"] = "media";
916
+ PushTapTarget2["RECORDER"] = "recorder";
917
+ })(PushTapTarget || (PushTapTarget = {}));
918
+ (function(PushDataKey2) {
919
+ PushDataKey2["EVENT_ID"] = "eventId";
920
+ PushDataKey2["UID"] = "uid";
921
+ PushDataKey2["TITLE"] = "title";
922
+ PushDataKey2["PLATFORM"] = "platform";
923
+ PushDataKey2["MEETING_URL"] = "meetingURL";
924
+ PushDataKey2["START_TIME"] = "startTime";
925
+ PushDataKey2["MEDIA_ID"] = "mediaId";
926
+ PushDataKey2["RECORDER_ID"] = "recorderId";
927
+ })(PushDataKey || (PushDataKey = {}));
928
+ (function(WebPushDataKey2) {
929
+ WebPushDataKey2["TITLE"] = "title";
930
+ WebPushDataKey2["MESSAGE"] = "message";
931
+ WebPushDataKey2["TAG"] = "tag";
932
+ })(WebPushDataKey || (WebPushDataKey = {}));
933
+ PUSH_NOTIFICATION_ACTION_LABELS = {
934
+ [PushNotificationAction.JOIN]: "Join",
935
+ [PushNotificationAction.RECORD]: "Record",
936
+ [PushNotificationAction.OPEN_MEDIA]: "Open"
937
+ };
938
+ MEDIA_PUSH_DATA_KEYS = [PushDataKey.UID, PushDataKey.MEDIA_ID];
939
+ RECORDER_PUSH_DATA_KEYS = [PushDataKey.UID, PushDataKey.RECORDER_ID];
940
+ PUSH_NOTIFICATION_REGISTRY = {
941
+ [PushNotificationType.MEETING_REMINDER]: {
942
+ categoryId: "MEETING_REMINDER",
943
+ androidChannelId: "meeting-reminders",
944
+ actions: [PushNotificationAction.JOIN, PushNotificationAction.RECORD],
945
+ requiredDataKeys: [
946
+ PushDataKey.EVENT_ID,
947
+ PushDataKey.UID,
948
+ PushDataKey.TITLE,
949
+ PushDataKey.PLATFORM,
950
+ PushDataKey.MEETING_URL,
951
+ PushDataKey.START_TIME
952
+ ],
953
+ tapTarget: PushTapTarget.MEETING
954
+ },
955
+ [PushNotificationType.MEDIA_FAILED]: {
956
+ categoryId: "MEDIA_FAILED",
957
+ androidChannelId: "media-updates",
958
+ actions: [],
959
+ requiredDataKeys: MEDIA_PUSH_DATA_KEYS,
960
+ tapTarget: PushTapTarget.MEDIA
961
+ },
962
+ [PushNotificationType.MEDIA_ANALYZED]: {
963
+ categoryId: "MEDIA_ANALYZED",
964
+ androidChannelId: "media-updates",
965
+ actions: [],
966
+ requiredDataKeys: MEDIA_PUSH_DATA_KEYS,
967
+ tapTarget: PushTapTarget.MEDIA
968
+ },
969
+ [PushNotificationType.TRANSCRIPTION_APPROVED]: {
970
+ categoryId: "TRANSCRIPTION_APPROVED",
971
+ androidChannelId: "transcription-updates",
972
+ actions: [],
973
+ requiredDataKeys: MEDIA_PUSH_DATA_KEYS,
974
+ tapTarget: PushTapTarget.MEDIA
975
+ },
976
+ [PushNotificationType.TRANSCRIPTION_COMPLETED]: {
977
+ categoryId: "TRANSCRIPTION_COMPLETED",
978
+ androidChannelId: "transcription-updates",
979
+ actions: [],
980
+ requiredDataKeys: MEDIA_PUSH_DATA_KEYS,
981
+ tapTarget: PushTapTarget.MEDIA
982
+ },
983
+ [PushNotificationType.RECORDER_SUBMISSION]: {
984
+ categoryId: "RECORDER_SUBMISSION",
985
+ androidChannelId: "recorder-updates",
986
+ actions: [],
987
+ requiredDataKeys: RECORDER_PUSH_DATA_KEYS,
988
+ tapTarget: PushTapTarget.RECORDER
989
+ },
990
+ [PushNotificationType.RECORDER_DISABLED]: {
991
+ categoryId: "RECORDER_DISABLED",
992
+ androidChannelId: "recorder-updates",
993
+ actions: [],
994
+ requiredDataKeys: RECORDER_PUSH_DATA_KEYS,
995
+ tapTarget: PushTapTarget.RECORDER
996
+ }
997
+ };
998
+ }
999
+ });
1000
+
1001
+ // node_modules/@speakai/shared/dist/enums/notificationEvent.js
1002
+ var NotificationChannel, NotificationSettingsGroup, NotificationEventKey, NOTIFICATION_SETTINGS_GROUP_ORDER, ALL_CHANNELS, PUSH_CHANNELS, EMAIL_ONLY, NOTIFICATION_EVENTS;
1003
+ var init_notificationEvent = __esm({
1004
+ "node_modules/@speakai/shared/dist/enums/notificationEvent.js"() {
1005
+ "use strict";
1006
+ init_pushNotification();
1007
+ (function(NotificationChannel2) {
1008
+ NotificationChannel2["EMAIL"] = "email";
1009
+ NotificationChannel2["WEB"] = "web";
1010
+ NotificationChannel2["MOBILE"] = "mobile";
1011
+ })(NotificationChannel || (NotificationChannel = {}));
1012
+ (function(NotificationSettingsGroup2) {
1013
+ NotificationSettingsGroup2["MEETINGS"] = "meetings";
1014
+ NotificationSettingsGroup2["MEDIA"] = "media";
1015
+ NotificationSettingsGroup2["RECORDER"] = "recorder";
1016
+ NotificationSettingsGroup2["TRANSCRIPTION"] = "transcription";
1017
+ NotificationSettingsGroup2["USAGE"] = "usage";
1018
+ NotificationSettingsGroup2["MAGIC_PROMPT"] = "magicPrompt";
1019
+ })(NotificationSettingsGroup || (NotificationSettingsGroup = {}));
1020
+ (function(NotificationEventKey2) {
1021
+ NotificationEventKey2["MEETING_REMINDER"] = "meeting-reminder";
1022
+ NotificationEventKey2["MEDIA_FAILED"] = "media-failed";
1023
+ NotificationEventKey2["MEDIA_ANALYZED"] = "media-analyzed";
1024
+ NotificationEventKey2["RECORDER_SUBMISSION"] = "recorder-submission";
1025
+ NotificationEventKey2["RECORDER_DISABLED"] = "recorder-disabled";
1026
+ NotificationEventKey2["TRANSCRIPTION_APPROVED"] = "transcription-approved";
1027
+ NotificationEventKey2["TRANSCRIPTION_COMPLETED"] = "transcription-completed";
1028
+ NotificationEventKey2["USAGE_BALANCE"] = "usage-balance";
1029
+ NotificationEventKey2["MAGIC_PROMPT_COMPLETED"] = "magic-prompt-completed";
1030
+ })(NotificationEventKey || (NotificationEventKey = {}));
1031
+ NOTIFICATION_SETTINGS_GROUP_ORDER = [
1032
+ NotificationSettingsGroup.MEETINGS,
1033
+ NotificationSettingsGroup.MEDIA,
1034
+ NotificationSettingsGroup.RECORDER,
1035
+ NotificationSettingsGroup.TRANSCRIPTION,
1036
+ NotificationSettingsGroup.USAGE,
1037
+ NotificationSettingsGroup.MAGIC_PROMPT
1038
+ ];
1039
+ ALL_CHANNELS = [
1040
+ NotificationChannel.EMAIL,
1041
+ NotificationChannel.WEB,
1042
+ NotificationChannel.MOBILE
1043
+ ];
1044
+ PUSH_CHANNELS = [NotificationChannel.WEB, NotificationChannel.MOBILE];
1045
+ EMAIL_ONLY = [NotificationChannel.EMAIL];
1046
+ NOTIFICATION_EVENTS = {
1047
+ [NotificationEventKey.MEETING_REMINDER]: {
1048
+ key: NotificationEventKey.MEETING_REMINDER,
1049
+ group: NotificationSettingsGroup.MEETINGS,
1050
+ preferencePath: "meetings.reminders",
1051
+ channels: PUSH_CHANNELS,
1052
+ pushType: PushNotificationType.MEETING_REMINDER
1053
+ },
1054
+ [NotificationEventKey.MEDIA_FAILED]: {
1055
+ key: NotificationEventKey.MEDIA_FAILED,
1056
+ group: NotificationSettingsGroup.MEDIA,
1057
+ preferencePath: "media.failed",
1058
+ channels: ALL_CHANNELS,
1059
+ pushType: PushNotificationType.MEDIA_FAILED
1060
+ },
1061
+ [NotificationEventKey.MEDIA_ANALYZED]: {
1062
+ key: NotificationEventKey.MEDIA_ANALYZED,
1063
+ group: NotificationSettingsGroup.MEDIA,
1064
+ preferencePath: "media.analyzed",
1065
+ channels: ALL_CHANNELS,
1066
+ pushType: PushNotificationType.MEDIA_ANALYZED
1067
+ },
1068
+ [NotificationEventKey.RECORDER_SUBMISSION]: {
1069
+ key: NotificationEventKey.RECORDER_SUBMISSION,
1070
+ group: NotificationSettingsGroup.RECORDER,
1071
+ preferencePath: "recorder.submission",
1072
+ channels: ALL_CHANNELS,
1073
+ pushType: PushNotificationType.RECORDER_SUBMISSION
1074
+ },
1075
+ [NotificationEventKey.RECORDER_DISABLED]: {
1076
+ key: NotificationEventKey.RECORDER_DISABLED,
1077
+ group: NotificationSettingsGroup.RECORDER,
1078
+ preferencePath: "recorder.disabled",
1079
+ channels: ALL_CHANNELS,
1080
+ pushType: PushNotificationType.RECORDER_DISABLED
1081
+ },
1082
+ [NotificationEventKey.TRANSCRIPTION_APPROVED]: {
1083
+ key: NotificationEventKey.TRANSCRIPTION_APPROVED,
1084
+ group: NotificationSettingsGroup.TRANSCRIPTION,
1085
+ preferencePath: "transcription.approved",
1086
+ channels: ALL_CHANNELS,
1087
+ pushType: PushNotificationType.TRANSCRIPTION_APPROVED
1088
+ },
1089
+ [NotificationEventKey.TRANSCRIPTION_COMPLETED]: {
1090
+ key: NotificationEventKey.TRANSCRIPTION_COMPLETED,
1091
+ group: NotificationSettingsGroup.TRANSCRIPTION,
1092
+ preferencePath: "transcription.completed",
1093
+ channels: ALL_CHANNELS,
1094
+ pushType: PushNotificationType.TRANSCRIPTION_COMPLETED
1095
+ },
1096
+ [NotificationEventKey.USAGE_BALANCE]: {
1097
+ key: NotificationEventKey.USAGE_BALANCE,
1098
+ group: NotificationSettingsGroup.USAGE,
1099
+ preferencePath: "usage.balance",
1100
+ channels: EMAIL_ONLY
1101
+ },
1102
+ [NotificationEventKey.MAGIC_PROMPT_COMPLETED]: {
1103
+ key: NotificationEventKey.MAGIC_PROMPT_COMPLETED,
1104
+ group: NotificationSettingsGroup.MAGIC_PROMPT,
1105
+ preferencePath: "magicPrompt.completed",
1106
+ channels: EMAIL_ONLY
1107
+ }
1108
+ };
1109
+ }
1110
+ });
1111
+
884
1112
  // node_modules/@speakai/shared/dist/enums/prompt.js
885
1113
  var PromptState, MessageRole, PromptSource, ToolName, FileType, ChatStepType, ChatStepConfirmationStatus, ChatStepClarificationStatus;
886
1114
  var init_prompt = __esm({
@@ -1280,6 +1508,8 @@ var init_enums = __esm({
1280
1508
  init_menu();
1281
1509
  init_meeting();
1282
1510
  init_notification();
1511
+ init_notificationEvent();
1512
+ init_pushNotification();
1283
1513
  init_prompt();
1284
1514
  init_recorder();
1285
1515
  init_subscription();
@@ -1448,6 +1678,20 @@ var init_dashboard = __esm({
1448
1678
  }
1449
1679
  });
1450
1680
 
1681
+ // node_modules/@speakai/shared/dist/interfaces/pushNotification.js
1682
+ var init_pushNotification2 = __esm({
1683
+ "node_modules/@speakai/shared/dist/interfaces/pushNotification.js"() {
1684
+ "use strict";
1685
+ }
1686
+ });
1687
+
1688
+ // node_modules/@speakai/shared/dist/interfaces/notificationEvent.js
1689
+ var init_notificationEvent2 = __esm({
1690
+ "node_modules/@speakai/shared/dist/interfaces/notificationEvent.js"() {
1691
+ "use strict";
1692
+ }
1693
+ });
1694
+
1451
1695
  // node_modules/@speakai/shared/dist/interfaces/index.js
1452
1696
  var init_interfaces = __esm({
1453
1697
  "node_modules/@speakai/shared/dist/interfaces/index.js"() {
@@ -1473,6 +1717,8 @@ var init_interfaces = __esm({
1473
1717
  init_clip2();
1474
1718
  init_label2();
1475
1719
  init_dashboard();
1720
+ init_pushNotification2();
1721
+ init_notificationEvent2();
1476
1722
  }
1477
1723
  });
1478
1724
 
@@ -3834,6 +4080,7 @@ var init_label3 = __esm({
3834
4080
  "node_modules/@speakai/shared/dist/utils/label.js"() {
3835
4081
  "use strict";
3836
4082
  init_enums();
4083
+ init_transcript2();
3837
4084
  LABEL_NAME_MAX = 80;
3838
4085
  LABEL_DESCRIPTION_MAX = 500;
3839
4086
  LABEL_SORT_ORDER_MAX = 1e6;
@@ -3912,6 +4159,33 @@ var init_label3 = __esm({
3912
4159
  }
3913
4160
  });
3914
4161
 
4162
+ // node_modules/@speakai/shared/dist/utils/meetingLink.js
4163
+ var init_meetingLink = __esm({
4164
+ "node_modules/@speakai/shared/dist/utils/meetingLink.js"() {
4165
+ "use strict";
4166
+ init_meeting();
4167
+ }
4168
+ });
4169
+
4170
+ // node_modules/@speakai/shared/dist/utils/pushNotification.js
4171
+ var KNOWN_ACTIONS;
4172
+ var init_pushNotification3 = __esm({
4173
+ "node_modules/@speakai/shared/dist/utils/pushNotification.js"() {
4174
+ "use strict";
4175
+ init_pushNotification();
4176
+ KNOWN_ACTIONS = new Set(Object.values(PushNotificationAction));
4177
+ }
4178
+ });
4179
+
4180
+ // node_modules/@speakai/shared/dist/utils/notificationEvent.js
4181
+ var init_notificationEvent3 = __esm({
4182
+ "node_modules/@speakai/shared/dist/utils/notificationEvent.js"() {
4183
+ "use strict";
4184
+ init_auth();
4185
+ init_notificationEvent();
4186
+ }
4187
+ });
4188
+
3915
4189
  // node_modules/@speakai/shared/dist/llm/types.js
3916
4190
  var init_types = __esm({
3917
4191
  "node_modules/@speakai/shared/dist/llm/types.js"() {
@@ -3930,6 +4204,9 @@ var init_dist = __esm({
3930
4204
  init_anchor();
3931
4205
  init_label3();
3932
4206
  init_dashboard_spec();
4207
+ init_meetingLink();
4208
+ init_pushNotification3();
4209
+ init_notificationEvent3();
3933
4210
  init_registry();
3934
4211
  init_types();
3935
4212
  init_modelPricing();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@speakai/mcp-server",
3
- "version": "1.33.0",
3
+ "version": "1.33.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",
@@ -54,7 +54,7 @@
54
54
  "zod": "^3.22.0"
55
55
  },
56
56
  "devDependencies": {
57
- "@speakai/shared": "^2.1.40",
57
+ "@speakai/shared": "^2.1.46",
58
58
  "@types/node": "^20.0.0",
59
59
  "@vitest/coverage-v8": "^4.1.6",
60
60
  "tsup": "^8.5.1",