@todoist/mcp 20.1.0 → 21.0.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.
@@ -1,4 +1,4 @@
1
- import { ot as e, st as t } from "./mcp-server-evoO2bJn.js";
1
+ import { ot as e, st as t } from "./mcp-server-gTECUZ_6.js";
2
2
  import { buildBearerChallenge as n, createTokenVerdictCache as r, getValidationRateLimit as i, validateBearerToken as a } from "@todoist/mcp-core/host";
3
3
  // src/utils/validate-todoist-token.ts
4
4
  var o = "https://api.todoist.com", s = (n, r) => a({
@@ -4090,15 +4090,15 @@ declare const toolRegistry: {
4090
4090
  taskId: string;
4091
4091
  postedUid?: string | undefined;
4092
4092
  postedAt?: string | undefined;
4093
- fileAttachment?: string | undefined;
4093
+ fileAttachment?: Record<string, unknown> | undefined;
4094
4094
  }[];
4095
4095
  projectComments: {
4096
4096
  content: string;
4097
4097
  postedUid?: string | undefined;
4098
4098
  postedAt?: string | undefined;
4099
- fileAttachment?: string | undefined;
4099
+ fileAttachment?: Record<string, unknown> | undefined;
4100
4100
  }[];
4101
- projectViewOptionsDefaults: string[];
4101
+ projectViewOptionsDefaults: Record<string, unknown>[];
4102
4102
  } | undefined;
4103
4103
  };
4104
4104
  };
@@ -4682,16 +4682,16 @@ declare const toolRegistry: {
4682
4682
  content: import('zod').ZodString;
4683
4683
  postedUid: import('zod').ZodOptional<import('zod').ZodString>;
4684
4684
  postedAt: import('zod').ZodOptional<import('zod').ZodString>;
4685
- fileAttachment: import('zod').ZodOptional<import('zod').ZodString>;
4685
+ fileAttachment: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
4686
4686
  taskId: import('zod').ZodString;
4687
4687
  }, import('zod/v4/core').$strip>>;
4688
4688
  projectComments: import('zod').ZodArray<import('zod').ZodObject<{
4689
4689
  content: import('zod').ZodString;
4690
4690
  postedUid: import('zod').ZodOptional<import('zod').ZodString>;
4691
4691
  postedAt: import('zod').ZodOptional<import('zod').ZodString>;
4692
- fileAttachment: import('zod').ZodOptional<import('zod').ZodString>;
4692
+ fileAttachment: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
4693
4693
  }, import('zod/v4/core').$strip>>;
4694
- projectViewOptionsDefaults: import('zod').ZodArray<import('zod').ZodString>;
4694
+ projectViewOptionsDefaults: import('zod').ZodArray<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
4695
4695
  }, import('zod/v4/core').$strip>>;
4696
4696
  name: import('zod').ZodOptional<import('zod').ZodString>;
4697
4697
  description: import('zod').ZodOptional<import('zod').ZodString>;
@@ -4782,15 +4782,15 @@ declare const toolRegistry: {
4782
4782
  taskId: string;
4783
4783
  postedUid?: string | undefined;
4784
4784
  postedAt?: string | undefined;
4785
- fileAttachment?: string | undefined;
4785
+ fileAttachment?: Record<string, unknown> | undefined;
4786
4786
  }[];
4787
4787
  projectComments: {
4788
4788
  content: string;
4789
4789
  postedUid?: string | undefined;
4790
4790
  postedAt?: string | undefined;
4791
- fileAttachment?: string | undefined;
4791
+ fileAttachment?: Record<string, unknown> | undefined;
4792
4792
  }[];
4793
- projectViewOptionsDefaults: string[];
4793
+ projectViewOptionsDefaults: Record<string, unknown>[];
4794
4794
  } | undefined;
4795
4795
  name?: string | undefined;
4796
4796
  description?: string | undefined;
@@ -4845,15 +4845,15 @@ declare const toolRegistry: {
4845
4845
  taskId: string;
4846
4846
  postedUid?: string | undefined;
4847
4847
  postedAt?: string | undefined;
4848
- fileAttachment?: string | undefined;
4848
+ fileAttachment?: Record<string, unknown> | undefined;
4849
4849
  }[];
4850
4850
  projectComments: {
4851
4851
  content: string;
4852
4852
  postedUid?: string | undefined;
4853
4853
  postedAt?: string | undefined;
4854
- fileAttachment?: string | undefined;
4854
+ fileAttachment?: Record<string, unknown> | undefined;
4855
4855
  }[];
4856
- projectViewOptionsDefaults: string[];
4856
+ projectViewOptionsDefaults: Record<string, unknown>[];
4857
4857
  };
4858
4858
  };
4859
4859
  } | {
@@ -5006,16 +5006,16 @@ declare const toolRegistry: {
5006
5006
  content: import('zod').ZodString;
5007
5007
  postedUid: import('zod').ZodOptional<import('zod').ZodString>;
5008
5008
  postedAt: import('zod').ZodOptional<import('zod').ZodString>;
5009
- fileAttachment: import('zod').ZodOptional<import('zod').ZodString>;
5009
+ fileAttachment: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
5010
5010
  taskId: import('zod').ZodString;
5011
5011
  }, import('zod/v4/core').$strip>>;
5012
5012
  projectComments: import('zod').ZodArray<import('zod').ZodObject<{
5013
5013
  content: import('zod').ZodString;
5014
5014
  postedUid: import('zod').ZodOptional<import('zod').ZodString>;
5015
5015
  postedAt: import('zod').ZodOptional<import('zod').ZodString>;
5016
- fileAttachment: import('zod').ZodOptional<import('zod').ZodString>;
5016
+ fileAttachment: import('zod').ZodOptional<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
5017
5017
  }, import('zod/v4/core').$strip>>;
5018
- projectViewOptionsDefaults: import('zod').ZodArray<import('zod').ZodString>;
5018
+ projectViewOptionsDefaults: import('zod').ZodArray<import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>>;
5019
5019
  }, import('zod/v4/core').$strip>>;
5020
5020
  workspace: import('zod').ZodOptional<import('zod').ZodString>;
5021
5021
  sharedWithWorkspaceMembers: import('zod').ZodOptional<import('zod').ZodBoolean>;
@@ -5083,15 +5083,15 @@ declare const toolRegistry: {
5083
5083
  taskId: string;
5084
5084
  postedUid?: string | undefined;
5085
5085
  postedAt?: string | undefined;
5086
- fileAttachment?: string | undefined;
5086
+ fileAttachment?: Record<string, unknown> | undefined;
5087
5087
  }[];
5088
5088
  projectComments: {
5089
5089
  content: string;
5090
5090
  postedUid?: string | undefined;
5091
5091
  postedAt?: string | undefined;
5092
- fileAttachment?: string | undefined;
5092
+ fileAttachment?: Record<string, unknown> | undefined;
5093
5093
  }[];
5094
- projectViewOptionsDefaults: string[];
5094
+ projectViewOptionsDefaults: Record<string, unknown>[];
5095
5095
  } | undefined;
5096
5096
  workspace?: string | undefined;
5097
5097
  sharedWithWorkspaceMembers?: boolean | undefined;
@@ -64,16 +64,16 @@ declare const addTemplate: {
64
64
  content: z.ZodString;
65
65
  postedUid: z.ZodOptional<z.ZodString>;
66
66
  postedAt: z.ZodOptional<z.ZodString>;
67
- fileAttachment: z.ZodOptional<z.ZodString>;
67
+ fileAttachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
68
68
  taskId: z.ZodString;
69
69
  }, z.core.$strip>>;
70
70
  projectComments: z.ZodArray<z.ZodObject<{
71
71
  content: z.ZodString;
72
72
  postedUid: z.ZodOptional<z.ZodString>;
73
73
  postedAt: z.ZodOptional<z.ZodString>;
74
- fileAttachment: z.ZodOptional<z.ZodString>;
74
+ fileAttachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
75
75
  }, z.core.$strip>>;
76
- projectViewOptionsDefaults: z.ZodArray<z.ZodString>;
76
+ projectViewOptionsDefaults: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
77
77
  }, z.core.$strip>>;
78
78
  name: z.ZodOptional<z.ZodString>;
79
79
  description: z.ZodOptional<z.ZodString>;
@@ -164,15 +164,15 @@ declare const addTemplate: {
164
164
  taskId: string;
165
165
  postedUid?: string | undefined;
166
166
  postedAt?: string | undefined;
167
- fileAttachment?: string | undefined;
167
+ fileAttachment?: Record<string, unknown> | undefined;
168
168
  }[];
169
169
  projectComments: {
170
170
  content: string;
171
171
  postedUid?: string | undefined;
172
172
  postedAt?: string | undefined;
173
- fileAttachment?: string | undefined;
173
+ fileAttachment?: Record<string, unknown> | undefined;
174
174
  }[];
175
- projectViewOptionsDefaults: string[];
175
+ projectViewOptionsDefaults: Record<string, unknown>[];
176
176
  } | undefined;
177
177
  name?: string | undefined;
178
178
  description?: string | undefined;
@@ -227,15 +227,15 @@ declare const addTemplate: {
227
227
  taskId: string;
228
228
  postedUid?: string | undefined;
229
229
  postedAt?: string | undefined;
230
- fileAttachment?: string | undefined;
230
+ fileAttachment?: Record<string, unknown> | undefined;
231
231
  }[];
232
232
  projectComments: {
233
233
  content: string;
234
234
  postedUid?: string | undefined;
235
235
  postedAt?: string | undefined;
236
- fileAttachment?: string | undefined;
236
+ fileAttachment?: Record<string, unknown> | undefined;
237
237
  }[];
238
- projectViewOptionsDefaults: string[];
238
+ projectViewOptionsDefaults: Record<string, unknown>[];
239
239
  };
240
240
  };
241
241
  } | {
@@ -334,15 +334,15 @@ declare const fetchObject: {
334
334
  taskId: string;
335
335
  postedUid?: string | undefined;
336
336
  postedAt?: string | undefined;
337
- fileAttachment?: string | undefined;
337
+ fileAttachment?: Record<string, unknown> | undefined;
338
338
  }[];
339
339
  projectComments: {
340
340
  content: string;
341
341
  postedUid?: string | undefined;
342
342
  postedAt?: string | undefined;
343
- fileAttachment?: string | undefined;
343
+ fileAttachment?: Record<string, unknown> | undefined;
344
344
  }[];
345
- projectViewOptionsDefaults: string[];
345
+ projectViewOptionsDefaults: Record<string, unknown>[];
346
346
  } | undefined;
347
347
  };
348
348
  };
@@ -87,16 +87,16 @@ declare const updateTemplate: {
87
87
  content: z.ZodString;
88
88
  postedUid: z.ZodOptional<z.ZodString>;
89
89
  postedAt: z.ZodOptional<z.ZodString>;
90
- fileAttachment: z.ZodOptional<z.ZodString>;
90
+ fileAttachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
91
91
  taskId: z.ZodString;
92
92
  }, z.core.$strip>>;
93
93
  projectComments: z.ZodArray<z.ZodObject<{
94
94
  content: z.ZodString;
95
95
  postedUid: z.ZodOptional<z.ZodString>;
96
96
  postedAt: z.ZodOptional<z.ZodString>;
97
- fileAttachment: z.ZodOptional<z.ZodString>;
97
+ fileAttachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
98
98
  }, z.core.$strip>>;
99
- projectViewOptionsDefaults: z.ZodArray<z.ZodString>;
99
+ projectViewOptionsDefaults: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
100
100
  }, z.core.$strip>>;
101
101
  workspace: z.ZodOptional<z.ZodString>;
102
102
  sharedWithWorkspaceMembers: z.ZodOptional<z.ZodBoolean>;
@@ -164,15 +164,15 @@ declare const updateTemplate: {
164
164
  taskId: string;
165
165
  postedUid?: string | undefined;
166
166
  postedAt?: string | undefined;
167
- fileAttachment?: string | undefined;
167
+ fileAttachment?: Record<string, unknown> | undefined;
168
168
  }[];
169
169
  projectComments: {
170
170
  content: string;
171
171
  postedUid?: string | undefined;
172
172
  postedAt?: string | undefined;
173
- fileAttachment?: string | undefined;
173
+ fileAttachment?: Record<string, unknown> | undefined;
174
174
  }[];
175
- projectViewOptionsDefaults: string[];
175
+ projectViewOptionsDefaults: Record<string, unknown>[];
176
176
  } | undefined;
177
177
  workspace?: string | undefined;
178
178
  sharedWithWorkspaceMembers?: boolean | undefined;
@@ -61,16 +61,16 @@ declare const TemplateContentSchema: z.ZodObject<{
61
61
  content: z.ZodString;
62
62
  postedUid: z.ZodOptional<z.ZodString>;
63
63
  postedAt: z.ZodOptional<z.ZodString>;
64
- fileAttachment: z.ZodOptional<z.ZodString>;
64
+ fileAttachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
65
65
  taskId: z.ZodString;
66
66
  }, z.core.$strip>>;
67
67
  projectComments: z.ZodArray<z.ZodObject<{
68
68
  content: z.ZodString;
69
69
  postedUid: z.ZodOptional<z.ZodString>;
70
70
  postedAt: z.ZodOptional<z.ZodString>;
71
- fileAttachment: z.ZodOptional<z.ZodString>;
71
+ fileAttachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
72
72
  }, z.core.$strip>>;
73
- projectViewOptionsDefaults: z.ZodArray<z.ZodString>;
73
+ projectViewOptionsDefaults: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
74
74
  }, z.core.$strip>;
75
75
  type ToolTemplateContent = z.infer<typeof TemplateContentSchema>;
76
76
  /** Turns the SDK's template content into the tools' shape: "p1"–"p4" priorities, no nulls. */
@@ -1 +1 @@
1
- {"version":3,"file":"template-content.d.ts","sourceRoot":"","sources":["../../src/utils/template-content.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,eAAe,EAEvB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAwBvB;;;GAGG;AACH,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0CzB,CAAA;AAEF,KAAK,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEhE,8FAA8F;AAC9F,iBAAS,qBAAqB,CAAC,OAAO,EAAE,eAAe,GAAG,mBAAmB,CAoC5E;AA8CD,mEAAmE;AACnE,iBAAS,oBAAoB,CAAC,OAAO,EAAE,mBAAmB,GAAG,eAAe,CAiB3E;AAYD;;;GAGG;AACH,iBAAS,qBAAqB,CAAC,MAAM,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,GAAG,MAAM,CAStF;AAED;;;;GAIG;AACH,iBAAS,sBAAsB,CAAC,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,GAAG,MAAM,GAAG,SAAS,CAOjG;AAID;;;GAGG;AACH,iBAAS,sBAAsB,CAAC,OAAO,EAAE,mBAAmB,GAAG,MAAM,CAoBpE;AAED,OAAO,EACH,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,KAAK,mBAAmB,GAC3B,CAAA"}
1
+ {"version":3,"file":"template-content.d.ts","sourceRoot":"","sources":["../../src/utils/template-content.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,eAAe,EAEvB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAqBvB;;;GAGG;AACH,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA0CzB,CAAA;AAEF,KAAK,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEhE,8FAA8F;AAC9F,iBAAS,qBAAqB,CAAC,OAAO,EAAE,eAAe,GAAG,mBAAmB,CAkC5E;AAwBD,mEAAmE;AACnE,iBAAS,oBAAoB,CAAC,OAAO,EAAE,mBAAmB,GAAG,eAAe,CAQ3E;AAYD;;;GAGG;AACH,iBAAS,qBAAqB,CAAC,MAAM,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,GAAG,MAAM,CAStF;AAED;;;;GAIG;AACH,iBAAS,sBAAsB,CAAC,IAAI,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,GAAG,MAAM,GAAG,SAAS,CAOjG;AAID;;;GAGG;AACH,iBAAS,sBAAsB,CAAC,OAAO,EAAE,mBAAmB,GAAG,MAAM,CAoBpE;AAED,OAAO,EACH,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,EACpB,qBAAqB,EACrB,KAAK,mBAAmB,GAC3B,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todoist/mcp",
3
- "version": "20.1.0",
3
+ "version": "21.0.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",