@speakai/mcp-server 1.31.0 → 1.32.0
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 +5 -10
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3829,7 +3829,7 @@ var init_anchor = __esm({
|
|
|
3829
3829
|
});
|
|
3830
3830
|
|
|
3831
3831
|
// node_modules/@speakai/shared/dist/utils/label.js
|
|
3832
|
-
var LABEL_NAME_MAX, LABEL_DESCRIPTION_MAX, LABEL_SORT_ORDER_MAX, MAX_LABELS_PER_SPAN, MEDIA_COMMENT_BODY_MAX,
|
|
3832
|
+
var LABEL_NAME_MAX, LABEL_DESCRIPTION_MAX, LABEL_SORT_ORDER_MAX, MAX_LABELS_PER_SPAN, MEDIA_COMMENT_BODY_MAX, MAX_DASHBOARD_LABEL_GROUPS, PUBLIC_ID_PATTERN, LABEL_COLOR_PATTERN, LABEL_COLOR_PRESETS, DEFAULT_LABEL_COLOR, SPEAK_LABEL_SETS, ALL_LABEL_PERMISSIONS, LABEL_PERMISSION_DEFAULTS;
|
|
3833
3833
|
var init_label3 = __esm({
|
|
3834
3834
|
"node_modules/@speakai/shared/dist/utils/label.js"() {
|
|
3835
3835
|
"use strict";
|
|
@@ -3839,11 +3839,9 @@ var init_label3 = __esm({
|
|
|
3839
3839
|
LABEL_SORT_ORDER_MAX = 1e6;
|
|
3840
3840
|
MAX_LABELS_PER_SPAN = 20;
|
|
3841
3841
|
MEDIA_COMMENT_BODY_MAX = 5e3;
|
|
3842
|
-
MAX_DASHBOARD_REVIEWERS = 200;
|
|
3843
3842
|
MAX_DASHBOARD_LABEL_GROUPS = 100;
|
|
3844
3843
|
PUBLIC_ID_PATTERN = /^[A-Za-z0-9_-]{1,64}$/;
|
|
3845
3844
|
LABEL_COLOR_PATTERN = /^#[0-9a-f]{6}$/i;
|
|
3846
|
-
USER_ID_PATTERN = /^[0-9a-f]{24}$/i;
|
|
3847
3845
|
LABEL_COLOR_PRESETS = [
|
|
3848
3846
|
"#0d9488",
|
|
3849
3847
|
"#d97706",
|
|
@@ -10523,7 +10521,7 @@ var init_dashboards = __esm({
|
|
|
10523
10521
|
preset: import_zod20.z.enum(DATE_RANGE_PRESETS).describe("One of: last7days | last30days | last3months | yearToDate | allTime")
|
|
10524
10522
|
}).describe("Date range \u2014 strict preset only, no free-form start/end dates");
|
|
10525
10523
|
settingsFieldIds = import_zod20.z.array(import_zod20.z.string());
|
|
10526
|
-
SETTINGS_RULES = "Do not pass settings unless the user explicitly asks to change this dashboard's viewer settings. Saving fields, feedback or fieldEdits moves that dashboard onto the settings flow immediately: its media pages use these groups and this Feedback setup from then on. Each section (fields, feedback, fieldEdits,
|
|
10524
|
+
SETTINGS_RULES = "Do not pass settings unless the user explicitly asks to change this dashboard's viewer settings. Saving fields, feedback or fieldEdits moves that dashboard onto the settings flow immediately: its media pages use these groups and this Feedback setup from then on. Each section (fields, feedback, fieldEdits, labels, comments) replaces that whole section when sent; a section left out keeps its saved value. Call get_dashboard first and resend every key of the section you change; a key left out resets to its default. Get field ids from list_fields. Ids that are not the company's fields are dropped when saving and returned in droppedFieldIds. When feedback.isEnabled is true, pass a non-empty feedback.fieldIds (score fields) rather than leaving it empty. Only set feedback.sheetWebhookUrl when the user gives the Apps Script URL. fieldEdits.fieldIds may list only fields that have allowed values (the server rejects any other field with a 400) and that the dashboard's media pages show; pass an empty fieldIds to turn field editing off. Labels and comments on the shared link are off until the user asks to turn them on. Mode 'apply' (labels) or 'reply' (comments) lets a link viewer write as one of the dashboard's feedback submitter names (feedback.submitters, even while feedback itself is off), or as another typed name only when feedback.allowOtherSubmitter is true. Anyone holding the share link can pick any of those names, because the link has no sign-in (an accepted risk; every entry is marked as made via this dashboard), so confirm the names with the user before saving a write mode. With no submitter names nobody can write. Label groups that are not active refuse the whole save with a 400 rather than being dropped.";
|
|
10527
10525
|
dashboardSettingsSchema = import_zod20.z.object({
|
|
10528
10526
|
fields: import_zod20.z.object({
|
|
10529
10527
|
includeIds: settingsFieldIds.describe(
|
|
@@ -10579,22 +10577,19 @@ var init_dashboards = __esm({
|
|
|
10579
10577
|
`Custom fields that people on the Feedback name list (feedback.submitters, with allowOtherSubmitter) may edit in an "Edit fields" tab on media pages opened from this shared dashboard, in tab order. Only fields that have allowed values (others return a 400) and that the media page shows (fields.includeIds, or the company's public fields when it is empty); others are ignored on the page. Max 50 unique ids. Empty turns field editing off.`
|
|
10580
10578
|
)
|
|
10581
10579
|
}).optional(),
|
|
10582
|
-
reviewerUserIds: import_zod20.z.array(import_zod20.z.string().regex(USER_ID_PATTERN, "Expected a 24-character user id")).max(MAX_DASHBOARD_REVIEWERS).optional().describe(
|
|
10583
|
-
"Team members a dashboard viewer may write labels and comments as (unique, at most 200). Get ids from list_users. Must be active members of this workspace."
|
|
10584
|
-
),
|
|
10585
10580
|
labels: import_zod20.z.object({
|
|
10586
10581
|
isEnabled: import_zod20.z.boolean().describe("Show labels on media pages opened from this shared dashboard"),
|
|
10587
|
-
mode: import_zod20.z.nativeEnum(DashboardLabelsMode).describe("'view' shows labels read-only; 'apply' also lets a
|
|
10582
|
+
mode: import_zod20.z.nativeEnum(DashboardLabelsMode).describe("'view' shows labels read-only; 'apply' also lets a viewer, as a reviewer name, add and remove labels"),
|
|
10588
10583
|
labelGroupIds: import_zod20.z.array(import_zod20.z.string().regex(PUBLIC_ID_PATTERN, "Expected a label id")).max(MAX_DASHBOARD_LABEL_GROUPS).describe(
|
|
10589
10584
|
"Label groups the link shows and offers (unique, at most 100). Empty means every active label. Get group ids from list_labels (items with isGroup true)."
|
|
10590
10585
|
)
|
|
10591
10586
|
}).optional(),
|
|
10592
10587
|
comments: import_zod20.z.object({
|
|
10593
10588
|
isEnabled: import_zod20.z.boolean().describe("Show comments on media pages opened from this shared dashboard"),
|
|
10594
|
-
mode: import_zod20.z.nativeEnum(DashboardCommentsMode).describe("'view' shows comments read-only; 'reply' also lets a
|
|
10589
|
+
mode: import_zod20.z.nativeEnum(DashboardCommentsMode).describe("'view' shows comments read-only; 'reply' also lets a viewer, as a reviewer name, comment and reply")
|
|
10595
10590
|
}).optional()
|
|
10596
10591
|
}).describe(
|
|
10597
|
-
"Viewer settings for media pages opened from this dashboard's share link: which fields show, how the Fields tab groups them, the Feedback button, which fields Feedback submitters may edit, and labels and comments with the
|
|
10592
|
+
"Viewer settings for media pages opened from this dashboard's share link: which fields show, how the Fields tab groups them, the Feedback button, which fields Feedback submitters may edit, and labels and comments with the reviewer names (feedback submitters) who may write them. " + SETTINGS_RULES
|
|
10598
10593
|
);
|
|
10599
10594
|
metadataFields = {
|
|
10600
10595
|
icon: import_zod20.z.string().max(200).optional().describe("Icon identifier"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@speakai/mcp-server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.32.0",
|
|
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.
|
|
57
|
+
"@speakai/shared": "^2.1.40",
|
|
58
58
|
"@types/node": "^20.0.0",
|
|
59
59
|
"@vitest/coverage-v8": "^4.1.6",
|
|
60
60
|
"tsup": "^8.5.1",
|