@tenonhq/dovetail-mcp 0.0.59 → 0.0.61

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.
@@ -2,36 +2,16 @@ import { z } from "zod";
2
2
  export declare var calendarGetTodaySchema: z.ZodObject<{
3
3
  calendarId: z.ZodOptional<z.ZodString>;
4
4
  timeZone: z.ZodOptional<z.ZodString>;
5
- }, "strict", z.ZodTypeAny, {
6
- timeZone?: string | undefined;
7
- calendarId?: string | undefined;
8
- }, {
9
- timeZone?: string | undefined;
10
- calendarId?: string | undefined;
11
- }>;
5
+ }, z.core.$strict>;
12
6
  export declare var calendarGetWeekSchema: z.ZodObject<{
13
7
  maxResults: z.ZodOptional<z.ZodNumber>;
14
8
  calendarId: z.ZodOptional<z.ZodString>;
15
9
  timeZone: z.ZodOptional<z.ZodString>;
16
- }, "strict", z.ZodTypeAny, {
17
- timeZone?: string | undefined;
18
- maxResults?: number | undefined;
19
- calendarId?: string | undefined;
20
- }, {
21
- timeZone?: string | undefined;
22
- maxResults?: number | undefined;
23
- calendarId?: string | undefined;
24
- }>;
10
+ }, z.core.$strict>;
25
11
  export declare var calendarGetEventSchema: z.ZodObject<{
26
12
  eventId: z.ZodString;
27
13
  calendarId: z.ZodOptional<z.ZodString>;
28
- }, "strict", z.ZodTypeAny, {
29
- eventId: string;
30
- calendarId?: string | undefined;
31
- }, {
32
- eventId: string;
33
- calendarId?: string | undefined;
34
- }>;
14
+ }, z.core.$strict>;
35
15
  export type CalendarGetTodayInput = z.infer<typeof calendarGetTodaySchema>;
36
16
  export type CalendarGetWeekInput = z.infer<typeof calendarGetWeekSchema>;
37
17
  export type CalendarGetEventInput = z.infer<typeof calendarGetEventSchema>;
@@ -1,50 +1,22 @@
1
1
  import { z } from "zod";
2
2
  export declare var clickupListTasksSchema: z.ZodObject<{
3
3
  teamId: z.ZodOptional<z.ZodString>;
4
- statuses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5
- }, "strict", z.ZodTypeAny, {
6
- teamId?: string | undefined;
7
- statuses?: string[] | undefined;
8
- }, {
9
- teamId?: string | undefined;
10
- statuses?: string[] | undefined;
11
- }>;
4
+ statuses: z.ZodOptional<z.ZodArray<z.ZodString>>;
5
+ }, z.core.$strict>;
12
6
  export declare var clickupGetTaskSchema: z.ZodObject<{
13
7
  taskId: z.ZodString;
14
8
  customTaskIds: z.ZodOptional<z.ZodBoolean>;
15
9
  teamId: z.ZodOptional<z.ZodString>;
16
- }, "strict", z.ZodTypeAny, {
17
- taskId: string;
18
- teamId?: string | undefined;
19
- customTaskIds?: boolean | undefined;
20
- }, {
21
- taskId: string;
22
- teamId?: string | undefined;
23
- customTaskIds?: boolean | undefined;
24
- }>;
10
+ }, z.core.$strict>;
25
11
  export declare var clickupSearchTasksSchema: z.ZodObject<{
26
12
  query: z.ZodString;
27
13
  teamId: z.ZodOptional<z.ZodString>;
28
- statuses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
29
- spaceIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
30
- }, "strict", z.ZodTypeAny, {
31
- query: string;
32
- teamId?: string | undefined;
33
- statuses?: string[] | undefined;
34
- spaceIds?: string[] | undefined;
35
- }, {
36
- query: string;
37
- teamId?: string | undefined;
38
- statuses?: string[] | undefined;
39
- spaceIds?: string[] | undefined;
40
- }>;
14
+ statuses: z.ZodOptional<z.ZodArray<z.ZodString>>;
15
+ spaceIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
16
+ }, z.core.$strict>;
41
17
  export declare var clickupGetTeamSyncSchema: z.ZodObject<{
42
18
  teamId: z.ZodOptional<z.ZodString>;
43
- }, "strict", z.ZodTypeAny, {
44
- teamId?: string | undefined;
45
- }, {
46
- teamId?: string | undefined;
47
- }>;
19
+ }, z.core.$strict>;
48
20
  export type ClickupListTasksInput = z.infer<typeof clickupListTasksSchema>;
49
21
  export type ClickupGetTaskInput = z.infer<typeof clickupGetTaskSchema>;
50
22
  export type ClickupSearchTasksInput = z.infer<typeof clickupSearchTasksSchema>;
@@ -58,109 +30,35 @@ export declare var clickupUpdateTaskSchema: z.ZodObject<{
58
30
  customTaskIds: z.ZodOptional<z.ZodBoolean>;
59
31
  teamId: z.ZodOptional<z.ZodString>;
60
32
  confirm: z.ZodOptional<z.ZodBoolean>;
61
- }, "strict", z.ZodTypeAny, {
62
- taskId: string;
63
- name?: string | undefined;
64
- priority?: number | undefined;
65
- status?: string | undefined;
66
- confirm?: boolean | undefined;
67
- teamId?: string | undefined;
68
- customTaskIds?: boolean | undefined;
69
- markdownContent?: string | undefined;
70
- }, {
71
- taskId: string;
72
- name?: string | undefined;
73
- priority?: number | undefined;
74
- status?: string | undefined;
75
- confirm?: boolean | undefined;
76
- teamId?: string | undefined;
77
- customTaskIds?: boolean | undefined;
78
- markdownContent?: string | undefined;
79
- }>;
33
+ }, z.core.$strict>;
80
34
  export declare var clickupSetCustomFieldSchema: z.ZodObject<{
81
35
  taskId: z.ZodString;
82
36
  fieldId: z.ZodString;
83
- value: z.ZodUnknown;
37
+ value: z.ZodOptional<z.ZodUnknown>;
84
38
  customTaskIds: z.ZodOptional<z.ZodBoolean>;
85
39
  teamId: z.ZodOptional<z.ZodString>;
86
40
  confirm: z.ZodOptional<z.ZodBoolean>;
87
- }, "strict", z.ZodTypeAny, {
88
- taskId: string;
89
- fieldId: string;
90
- value?: unknown;
91
- confirm?: boolean | undefined;
92
- teamId?: string | undefined;
93
- customTaskIds?: boolean | undefined;
94
- }, {
95
- taskId: string;
96
- fieldId: string;
97
- value?: unknown;
98
- confirm?: boolean | undefined;
99
- teamId?: string | undefined;
100
- customTaskIds?: boolean | undefined;
101
- }>;
41
+ }, z.core.$strict>;
102
42
  export declare var clickupCreateTaskSchema: z.ZodObject<{
103
43
  listId: z.ZodString;
104
44
  name: z.ZodString;
105
45
  markdownContent: z.ZodOptional<z.ZodString>;
106
46
  status: z.ZodOptional<z.ZodString>;
107
47
  priority: z.ZodOptional<z.ZodNumber>;
108
- assignees: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
48
+ assignees: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
109
49
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
110
50
  id: z.ZodString;
111
- value: z.ZodUnknown;
112
- }, "strip", z.ZodTypeAny, {
113
- id: string;
114
- value?: unknown;
115
- }, {
116
- id: string;
117
- value?: unknown;
118
- }>, "many">>;
51
+ value: z.ZodOptional<z.ZodUnknown>;
52
+ }, z.core.$strip>>>;
119
53
  confirm: z.ZodOptional<z.ZodBoolean>;
120
- }, "strict", z.ZodTypeAny, {
121
- name: string;
122
- listId: string;
123
- priority?: number | undefined;
124
- status?: string | undefined;
125
- confirm?: boolean | undefined;
126
- markdownContent?: string | undefined;
127
- assignees?: number[] | undefined;
128
- customFields?: {
129
- id: string;
130
- value?: unknown;
131
- }[] | undefined;
132
- }, {
133
- name: string;
134
- listId: string;
135
- priority?: number | undefined;
136
- status?: string | undefined;
137
- confirm?: boolean | undefined;
138
- markdownContent?: string | undefined;
139
- assignees?: number[] | undefined;
140
- customFields?: {
141
- id: string;
142
- value?: unknown;
143
- }[] | undefined;
144
- }>;
54
+ }, z.core.$strict>;
145
55
  export declare var clickupLinkTasksSchema: z.ZodObject<{
146
56
  taskId: z.ZodString;
147
57
  linksTo: z.ZodString;
148
58
  customTaskIds: z.ZodOptional<z.ZodBoolean>;
149
59
  teamId: z.ZodOptional<z.ZodString>;
150
60
  confirm: z.ZodOptional<z.ZodBoolean>;
151
- }, "strict", z.ZodTypeAny, {
152
- taskId: string;
153
- linksTo: string;
154
- confirm?: boolean | undefined;
155
- teamId?: string | undefined;
156
- customTaskIds?: boolean | undefined;
157
- }, {
158
- taskId: string;
159
- linksTo: string;
160
- confirm?: boolean | undefined;
161
- teamId?: string | undefined;
162
- customTaskIds?: boolean | undefined;
163
- }>;
61
+ }, z.core.$strict>;
164
62
  export type ClickupUpdateTaskInput = z.infer<typeof clickupUpdateTaskSchema>;
165
63
  export type ClickupSetCustomFieldInput = z.infer<typeof clickupSetCustomFieldSchema>;
166
64
  export type ClickupCreateTaskInput = z.infer<typeof clickupCreateTaskSchema>;
@@ -168,123 +66,53 @@ export type ClickupLinkTasksInput = z.infer<typeof clickupLinkTasksSchema>;
168
66
  export declare var clickupGetGoalsSchema: z.ZodObject<{
169
67
  teamId: z.ZodOptional<z.ZodString>;
170
68
  includeCompleted: z.ZodOptional<z.ZodBoolean>;
171
- }, "strict", z.ZodTypeAny, {
172
- teamId?: string | undefined;
173
- includeCompleted?: boolean | undefined;
174
- }, {
175
- teamId?: string | undefined;
176
- includeCompleted?: boolean | undefined;
177
- }>;
69
+ }, z.core.$strict>;
178
70
  export declare var clickupGetGoalSchema: z.ZodObject<{
179
71
  goalId: z.ZodString;
180
- }, "strict", z.ZodTypeAny, {
181
- goalId: string;
182
- }, {
183
- goalId: string;
184
- }>;
72
+ }, z.core.$strict>;
185
73
  export declare var clickupCreateGoalSchema: z.ZodObject<{
186
74
  name: z.ZodString;
187
75
  dueDate: z.ZodString;
188
76
  description: z.ZodOptional<z.ZodString>;
189
- owners: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
77
+ owners: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
190
78
  color: z.ZodOptional<z.ZodString>;
191
79
  teamId: z.ZodOptional<z.ZodString>;
192
80
  confirm: z.ZodOptional<z.ZodBoolean>;
193
- }, "strict", z.ZodTypeAny, {
194
- name: string;
195
- dueDate: string;
196
- color?: string | undefined;
197
- description?: string | undefined;
198
- confirm?: boolean | undefined;
199
- teamId?: string | undefined;
200
- owners?: number[] | undefined;
201
- }, {
202
- name: string;
203
- dueDate: string;
204
- color?: string | undefined;
205
- description?: string | undefined;
206
- confirm?: boolean | undefined;
207
- teamId?: string | undefined;
208
- owners?: number[] | undefined;
209
- }>;
81
+ }, z.core.$strict>;
210
82
  export declare var clickupUpdateGoalSchema: z.ZodObject<{
211
83
  goalId: z.ZodString;
212
84
  name: z.ZodOptional<z.ZodString>;
213
85
  dueDate: z.ZodOptional<z.ZodString>;
214
86
  description: z.ZodOptional<z.ZodString>;
215
- addOwners: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
216
- remOwners: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
87
+ addOwners: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
88
+ remOwners: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
217
89
  color: z.ZodOptional<z.ZodString>;
218
90
  confirm: z.ZodOptional<z.ZodBoolean>;
219
- }, "strict", z.ZodTypeAny, {
220
- goalId: string;
221
- name?: string | undefined;
222
- color?: string | undefined;
223
- description?: string | undefined;
224
- confirm?: boolean | undefined;
225
- dueDate?: string | undefined;
226
- addOwners?: number[] | undefined;
227
- remOwners?: number[] | undefined;
228
- }, {
229
- goalId: string;
230
- name?: string | undefined;
231
- color?: string | undefined;
232
- description?: string | undefined;
233
- confirm?: boolean | undefined;
234
- dueDate?: string | undefined;
235
- addOwners?: number[] | undefined;
236
- remOwners?: number[] | undefined;
237
- }>;
91
+ }, z.core.$strict>;
238
92
  export declare var clickupCreateKeyResultSchema: z.ZodObject<{
239
93
  goalId: z.ZodString;
240
94
  name: z.ZodString;
241
- type: z.ZodEnum<["number", "currency", "boolean", "percentage", "automatic"]>;
95
+ type: z.ZodEnum<{
96
+ number: "number";
97
+ boolean: "boolean";
98
+ currency: "currency";
99
+ percentage: "percentage";
100
+ automatic: "automatic";
101
+ }>;
242
102
  stepsStart: z.ZodNumber;
243
103
  stepsEnd: z.ZodNumber;
244
104
  unit: z.ZodOptional<z.ZodString>;
245
- owners: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
246
- taskIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
247
- listIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
105
+ owners: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
106
+ taskIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
107
+ listIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
248
108
  confirm: z.ZodOptional<z.ZodBoolean>;
249
- }, "strict", z.ZodTypeAny, {
250
- name: string;
251
- type: "number" | "boolean" | "currency" | "percentage" | "automatic";
252
- goalId: string;
253
- stepsStart: number;
254
- stepsEnd: number;
255
- unit?: string | undefined;
256
- confirm?: boolean | undefined;
257
- owners?: number[] | undefined;
258
- taskIds?: string[] | undefined;
259
- listIds?: string[] | undefined;
260
- }, {
261
- name: string;
262
- type: "number" | "boolean" | "currency" | "percentage" | "automatic";
263
- goalId: string;
264
- stepsStart: number;
265
- stepsEnd: number;
266
- unit?: string | undefined;
267
- confirm?: boolean | undefined;
268
- owners?: number[] | undefined;
269
- taskIds?: string[] | undefined;
270
- listIds?: string[] | undefined;
271
- }>;
109
+ }, z.core.$strict>;
272
110
  export declare var clickupEditKeyResultSchema: z.ZodObject<{
273
111
  keyResultId: z.ZodString;
274
112
  stepsCurrent: z.ZodNumber;
275
113
  note: z.ZodString;
276
114
  confirm: z.ZodOptional<z.ZodBoolean>;
277
- }, "strict", z.ZodTypeAny, {
278
- keyResultId: string;
279
- stepsCurrent: number;
280
- note: string;
281
- confirm?: boolean | undefined;
282
- }, {
283
- keyResultId: string;
284
- stepsCurrent: number;
285
- note: string;
286
- confirm?: boolean | undefined;
287
- }>;
115
+ }, z.core.$strict>;
288
116
  export type ClickupGetGoalsInput = z.infer<typeof clickupGetGoalsSchema>;
289
117
  export type ClickupGetGoalInput = z.infer<typeof clickupGetGoalSchema>;
290
118
  export type ClickupCreateGoalInput = z.infer<typeof clickupCreateGoalSchema>;
@@ -44,7 +44,7 @@ exports.clickupUpdateTaskSchema = zod_1.z.object({
44
44
  exports.clickupSetCustomFieldSchema = zod_1.z.object({
45
45
  taskId: zod_1.z.string().min(1),
46
46
  fieldId: zod_1.z.string().min(1),
47
- value: zod_1.z.unknown(),
47
+ value: zod_1.z.unknown().optional(),
48
48
  customTaskIds: zod_1.z.boolean().optional(),
49
49
  teamId: zod_1.z.string().min(1).optional(),
50
50
  confirm: zod_1.z.boolean().optional()
@@ -56,7 +56,7 @@ exports.clickupCreateTaskSchema = zod_1.z.object({
56
56
  status: zod_1.z.string().min(1).optional(),
57
57
  priority: zod_1.z.number().int().min(1).max(4).optional(),
58
58
  assignees: zod_1.z.array(zod_1.z.number()).optional(),
59
- customFields: zod_1.z.array(zod_1.z.object({ id: zod_1.z.string().min(1), value: zod_1.z.unknown() })).optional(),
59
+ customFields: zod_1.z.array(zod_1.z.object({ id: zod_1.z.string().min(1), value: zod_1.z.unknown().optional() })).optional(),
60
60
  confirm: zod_1.z.boolean().optional()
61
61
  }).strict();
62
62
  exports.clickupLinkTasksSchema = zod_1.z.object({
@@ -2,49 +2,21 @@ import { z } from "zod";
2
2
  export declare var gmailGetUnreadSchema: z.ZodObject<{
3
3
  maxResults: z.ZodOptional<z.ZodNumber>;
4
4
  pageToken: z.ZodOptional<z.ZodString>;
5
- }, "strict", z.ZodTypeAny, {
6
- maxResults?: number | undefined;
7
- pageToken?: string | undefined;
8
- }, {
9
- maxResults?: number | undefined;
10
- pageToken?: string | undefined;
11
- }>;
5
+ }, z.core.$strict>;
12
6
  export declare var gmailGetStarredSchema: z.ZodObject<{
13
7
  maxResults: z.ZodOptional<z.ZodNumber>;
14
8
  pageToken: z.ZodOptional<z.ZodString>;
15
- }, "strict", z.ZodTypeAny, {
16
- maxResults?: number | undefined;
17
- pageToken?: string | undefined;
18
- }, {
19
- maxResults?: number | undefined;
20
- pageToken?: string | undefined;
21
- }>;
9
+ }, z.core.$strict>;
22
10
  export declare var gmailSearchSchema: z.ZodObject<{
23
11
  query: z.ZodString;
24
12
  maxResults: z.ZodOptional<z.ZodNumber>;
25
13
  pageToken: z.ZodOptional<z.ZodString>;
26
- }, "strict", z.ZodTypeAny, {
27
- query: string;
28
- maxResults?: number | undefined;
29
- pageToken?: string | undefined;
30
- }, {
31
- query: string;
32
- maxResults?: number | undefined;
33
- pageToken?: string | undefined;
34
- }>;
14
+ }, z.core.$strict>;
35
15
  export declare var gmailGetActionRequiredSchema: z.ZodObject<{
36
- labels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
37
- subjectPatterns: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
16
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
17
+ subjectPatterns: z.ZodOptional<z.ZodArray<z.ZodString>>;
38
18
  maxResults: z.ZodOptional<z.ZodNumber>;
39
- }, "strict", z.ZodTypeAny, {
40
- labels?: string[] | undefined;
41
- maxResults?: number | undefined;
42
- subjectPatterns?: string[] | undefined;
43
- }, {
44
- labels?: string[] | undefined;
45
- maxResults?: number | undefined;
46
- subjectPatterns?: string[] | undefined;
47
- }>;
19
+ }, z.core.$strict>;
48
20
  export type GmailGetUnreadInput = z.infer<typeof gmailGetUnreadSchema>;
49
21
  export type GmailGetStarredInput = z.infer<typeof gmailGetStarredSchema>;
50
22
  export type GmailSearchInput = z.infer<typeof gmailSearchSchema>;
@@ -2,23 +2,9 @@ import { z } from "zod";
2
2
  export declare var servicenowQueryTableSchema: z.ZodObject<{
3
3
  table: z.ZodString;
4
4
  sysparm_query: z.ZodString;
5
- fields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
6
6
  limit: z.ZodOptional<z.ZodNumber>;
7
7
  offset: z.ZodOptional<z.ZodNumber>;
8
8
  env: z.ZodOptional<z.ZodString>;
9
- }, "strict", z.ZodTypeAny, {
10
- table: string;
11
- sysparm_query: string;
12
- offset?: number | undefined;
13
- fields?: string[] | undefined;
14
- limit?: number | undefined;
15
- env?: string | undefined;
16
- }, {
17
- table: string;
18
- sysparm_query: string;
19
- offset?: number | undefined;
20
- fields?: string[] | undefined;
21
- limit?: number | undefined;
22
- env?: string | undefined;
23
- }>;
9
+ }, z.core.$strict>;
24
10
  export type ServicenowQueryTableInput = z.infer<typeof servicenowQueryTableSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tenonhq/dovetail-mcp",
3
- "version": "0.0.59",
3
+ "version": "0.0.61",
4
4
  "description": "MCP server exposing read tools for ClickUp / Gmail / Calendar / ServiceNow plus gated ClickUp writes, backed by the Dovetail integration packages.",
5
5
  "main": "./dist/index.js",
6
6
  "bin": {
@@ -21,10 +21,10 @@
21
21
  "@tenonhq/dovetail-gmail": "~0.0.14",
22
22
  "@tenonhq/dovetail-google-auth": "~0.0.12",
23
23
  "@tenonhq/dovetail-google-calendar": "~0.0.11",
24
- "@tenonhq/dovetail-mcp-kit": "~0.0.1",
25
- "@tenonhq/dovetail-servicenow": "~0.0.59",
24
+ "@tenonhq/dovetail-mcp-kit": "~0.0.3",
25
+ "@tenonhq/dovetail-servicenow": "~0.0.61",
26
26
  "dotenv": "^16.3.1",
27
- "zod": "^3.23.0"
27
+ "zod": "^4.6.7"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/jest": "^29.5.5",