@todoist/mcp 17.4.1 → 18.0.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 (50) hide show
  1. package/README.md +11 -8
  2. package/dist/index.d.ts +615 -14
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +55 -52
  5. package/dist/main-http.js +2 -2
  6. package/dist/main.js +1 -1
  7. package/dist/mcp-apps/index.html +1 -1
  8. package/dist/{mcp-server-C7dCGLGm.js → mcp-server-CAqylT3d.js} +3054 -2328
  9. package/dist/mcp-server.d.ts +1 -1
  10. package/dist/mcp-server.d.ts.map +1 -1
  11. package/dist/{require-valid-todoist-token-DSS0GICs.js → require-valid-todoist-token-FTt0ckSw.js} +1 -1
  12. package/dist/tool-execution-error.d.ts +10 -0
  13. package/dist/tool-execution-error.d.ts.map +1 -1
  14. package/dist/tool-registry.d.ts +609 -11
  15. package/dist/tool-registry.d.ts.map +1 -1
  16. package/dist/tools/add-projects.d.ts +6 -2
  17. package/dist/tools/add-projects.d.ts.map +1 -1
  18. package/dist/tools/add-template.d.ts +252 -0
  19. package/dist/tools/add-template.d.ts.map +1 -0
  20. package/dist/tools/delete-object.d.ts +4 -4
  21. package/dist/tools/{export-project-template.d.ts → export-project.d.ts} +4 -4
  22. package/dist/tools/export-project.d.ts.map +1 -0
  23. package/dist/tools/fetch-object.d.ts +108 -1
  24. package/dist/tools/fetch-object.d.ts.map +1 -1
  25. package/dist/tools/find-templates.d.ts +56 -0
  26. package/dist/tools/find-templates.d.ts.map +1 -0
  27. package/dist/tools/{import-project-template.d.ts → import-into-project.d.ts} +4 -13
  28. package/dist/tools/import-into-project.d.ts.map +1 -0
  29. package/dist/tools/reschedule-tasks.d.ts.map +1 -1
  30. package/dist/tools/update-template.d.ts +190 -0
  31. package/dist/tools/update-template.d.ts.map +1 -0
  32. package/dist/utils/colors.d.ts +26 -0
  33. package/dist/utils/colors.d.ts.map +1 -1
  34. package/dist/utils/constants.d.ts +16 -0
  35. package/dist/utils/constants.d.ts.map +1 -1
  36. package/dist/utils/date.d.ts +5 -0
  37. package/dist/utils/date.d.ts.map +1 -1
  38. package/dist/utils/output-schemas.d.ts +9 -1
  39. package/dist/utils/output-schemas.d.ts.map +1 -1
  40. package/dist/utils/template-content.d.ts +97 -0
  41. package/dist/utils/template-content.d.ts.map +1 -0
  42. package/dist/utils/template-ids.d.ts +21 -0
  43. package/dist/utils/template-ids.d.ts.map +1 -0
  44. package/dist/utils/test-helpers.d.ts +5 -1
  45. package/dist/utils/test-helpers.d.ts.map +1 -1
  46. package/dist/utils/tool-names.d.ts +5 -2
  47. package/dist/utils/tool-names.d.ts.map +1 -1
  48. package/package.json +1 -1
  49. package/dist/tools/export-project-template.d.ts.map +0 -1
  50. package/dist/tools/import-project-template.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"tool-registry.d.ts","sourceRoot":"","sources":["../src/tool-registry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAqEvD;;;;;;;;;;GAUG;AACH,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuFjB,CAAA;AAED;;;;;GAKG;AACH,QAAA,MAAM,eAAe,EAAE,SAAS,cAAc,EAAgC,CAAA;AAE9E,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,CAAA"}
@@ -5,7 +5,8 @@ declare const addProjects: {
5
5
  description: string;
6
6
  parameters: {
7
7
  projects: z.ZodArray<z.ZodObject<{
8
- name: z.ZodString;
8
+ name: z.ZodOptional<z.ZodString>;
9
+ templateId: z.ZodOptional<z.ZodString>;
9
10
  parentId: z.ZodOptional<z.ZodString>;
10
11
  isFavorite: z.ZodOptional<z.ZodBoolean>;
11
12
  viewStyle: z.ZodOptional<z.ZodEnum<{
@@ -90,6 +91,7 @@ declare const addProjects: {
90
91
  }>>;
91
92
  workspace: z.ZodOptional<z.ZodString>;
92
93
  folderId: z.ZodOptional<z.ZodString>;
94
+ locale: z.ZodOptional<z.ZodString>;
93
95
  }, z.core.$strip>>;
94
96
  };
95
97
  outputSchema: {
@@ -148,7 +150,8 @@ declare const addProjects: {
148
150
  };
149
151
  execute({ projects }: {
150
152
  projects: {
151
- name: string;
153
+ name?: string | undefined;
154
+ templateId?: string | undefined;
152
155
  parentId?: string | undefined;
153
156
  isFavorite?: boolean | undefined;
154
157
  viewStyle?: "list" | "calendar" | "board" | "table" | undefined;
@@ -157,6 +160,7 @@ declare const addProjects: {
157
160
  icon?: "apple" | "briefcase" | "folder" | "diagram" | "headset" | "microphone" | "flag" | "bullseye" | "house" | "heart" | "airplane" | "gift" | "pin" | "school_cap" | "lightbulb" | "star" | "command_prompt" | "laptop" | "envelope" | "calendar" | "person" | "sofa" | "cup_and_heat_waves" | "paintpalette" | "broom" | "sun_max" | "moon" | "beach_umbrella" | "pizza" | "checkmark_line_3" | "basketball" | "face_smiling" | "dog" | "dollarsign" | "smartphone" | "person_2" | "chart_line_uptrend_xyaxis_in_square" | "laboratory_flask" | "telescope" | "book" | "document" | "sparkles" | "video" | "paintbrush" | "puzzlepiece_extension" | "clock" | "pills" | "birthday_cake" | "stethoscope" | undefined;
158
161
  workspace?: string | undefined;
159
162
  folderId?: string | undefined;
163
+ locale?: string | undefined;
160
164
  }[];
161
165
  }, client: TodoistApi): Promise<{
162
166
  textContent: string;
@@ -1 +1 @@
1
- {"version":3,"file":"add-projects.d.ts","sourceRoot":"","sources":["../../src/tools/add-projects.ts"],"names":[],"mappings":"AACA,OAAO,EAQH,KAAK,UAAU,EAElB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAmFvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsG8C,CAAA;AA+K/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
1
+ {"version":3,"file":"add-projects.d.ts","sourceRoot":"","sources":["../../src/tools/add-projects.ts"],"names":[],"mappings":"AACA,OAAO,EAQH,KAAK,UAAU,EAElB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAmHvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgJ8C,CAAA;AAoP/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -0,0 +1,252 @@
1
+ import { TodoistApi } from '@todoist/sdk';
2
+ import { z } from 'zod';
3
+ declare const addTemplate: {
4
+ name: "add-template";
5
+ description: string;
6
+ parameters: {
7
+ projectId: z.ZodOptional<z.ZodString>;
8
+ csvFileContent: z.ZodOptional<z.ZodString>;
9
+ preview: z.ZodOptional<z.ZodBoolean>;
10
+ content: z.ZodOptional<z.ZodObject<{
11
+ projects: z.ZodArray<z.ZodObject<{
12
+ viewStyle: z.ZodEnum<{
13
+ list: "list";
14
+ calendar: "calendar";
15
+ board: "board";
16
+ table: "table";
17
+ }>;
18
+ description: z.ZodOptional<z.ZodString>;
19
+ icon: z.ZodOptional<z.ZodString>;
20
+ }, z.core.$strip>>;
21
+ sections: z.ZodArray<z.ZodObject<{
22
+ id: z.ZodString;
23
+ name: z.ZodString;
24
+ description: z.ZodOptional<z.ZodString>;
25
+ }, z.core.$strip>>;
26
+ tasks: z.ZodArray<z.ZodObject<{
27
+ id: z.ZodString;
28
+ content: z.ZodString;
29
+ description: z.ZodOptional<z.ZodString>;
30
+ sectionId: z.ZodOptional<z.ZodString>;
31
+ parentId: z.ZodOptional<z.ZodString>;
32
+ priority: z.ZodOptional<z.ZodEnum<{
33
+ p1: "p1";
34
+ p2: "p2";
35
+ p3: "p3";
36
+ p4: "p4";
37
+ }>>;
38
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
39
+ due: z.ZodOptional<z.ZodObject<{
40
+ date: z.ZodOptional<z.ZodString>;
41
+ string: z.ZodOptional<z.ZodString>;
42
+ lang: z.ZodOptional<z.ZodString>;
43
+ isRecurring: z.ZodOptional<z.ZodBoolean>;
44
+ timezone: z.ZodOptional<z.ZodString>;
45
+ }, z.core.$strip>>;
46
+ deadline: z.ZodOptional<z.ZodObject<{
47
+ date: z.ZodOptional<z.ZodString>;
48
+ string: z.ZodOptional<z.ZodString>;
49
+ lang: z.ZodOptional<z.ZodString>;
50
+ isRecurring: z.ZodOptional<z.ZodBoolean>;
51
+ timezone: z.ZodOptional<z.ZodString>;
52
+ }, z.core.$strip>>;
53
+ duration: z.ZodOptional<z.ZodObject<{
54
+ amount: z.ZodNumber;
55
+ unit: z.ZodEnum<{
56
+ day: "day";
57
+ minute: "minute";
58
+ }>;
59
+ }, z.core.$strip>>;
60
+ responsibleUid: z.ZodOptional<z.ZodString>;
61
+ assignedByUid: z.ZodOptional<z.ZodString>;
62
+ }, z.core.$strip>>;
63
+ comments: z.ZodArray<z.ZodObject<{
64
+ content: z.ZodString;
65
+ postedUid: z.ZodOptional<z.ZodString>;
66
+ postedAt: z.ZodOptional<z.ZodString>;
67
+ fileAttachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
68
+ taskId: z.ZodString;
69
+ }, z.core.$strip>>;
70
+ projectComments: z.ZodArray<z.ZodObject<{
71
+ content: z.ZodString;
72
+ postedUid: z.ZodOptional<z.ZodString>;
73
+ postedAt: z.ZodOptional<z.ZodString>;
74
+ fileAttachment: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
75
+ }, z.core.$strip>>;
76
+ projectViewOptionsDefaults: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
77
+ }, z.core.$strip>>;
78
+ name: z.ZodOptional<z.ZodString>;
79
+ description: z.ZodOptional<z.ZodString>;
80
+ color: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
81
+ berry_red: "berry_red";
82
+ red: "red";
83
+ orange: "orange";
84
+ yellow: "yellow";
85
+ olive_green: "olive_green";
86
+ lime_green: "lime_green";
87
+ green: "green";
88
+ mint_green: "mint_green";
89
+ teal: "teal";
90
+ sky_blue: "sky_blue";
91
+ light_blue: "light_blue";
92
+ blue: "blue";
93
+ grape: "grape";
94
+ violet: "violet";
95
+ lavender: "lavender";
96
+ magenta: "magenta";
97
+ salmon: "salmon";
98
+ charcoal: "charcoal";
99
+ grey: "grey";
100
+ taupe: "taupe";
101
+ }>>, unknown>;
102
+ workspace: z.ZodOptional<z.ZodString>;
103
+ sharedWithWorkspaceMembers: z.ZodOptional<z.ZodBoolean>;
104
+ };
105
+ outputSchema: {
106
+ templateId: z.ZodOptional<z.ZodString>;
107
+ name: z.ZodOptional<z.ZodString>;
108
+ workspaceId: z.ZodOptional<z.ZodString>;
109
+ workspaceError: z.ZodOptional<z.ZodString>;
110
+ content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
111
+ };
112
+ annotations: {
113
+ readOnlyHint: false;
114
+ destructiveHint: false;
115
+ idempotentHint: false;
116
+ openWorldHint: true;
117
+ };
118
+ execute(args: {
119
+ projectId?: string | undefined;
120
+ csvFileContent?: string | undefined;
121
+ preview?: boolean | undefined;
122
+ content?: {
123
+ projects: {
124
+ viewStyle: "list" | "calendar" | "board" | "table";
125
+ description?: string | undefined;
126
+ icon?: string | undefined;
127
+ }[];
128
+ sections: {
129
+ id: string;
130
+ name: string;
131
+ description?: string | undefined;
132
+ }[];
133
+ tasks: {
134
+ id: string;
135
+ content: string;
136
+ description?: string | undefined;
137
+ sectionId?: string | undefined;
138
+ parentId?: string | undefined;
139
+ priority?: "p1" | "p2" | "p3" | "p4" | undefined;
140
+ labels?: string[] | undefined;
141
+ due?: {
142
+ date?: string | undefined;
143
+ string?: string | undefined;
144
+ lang?: string | undefined;
145
+ isRecurring?: boolean | undefined;
146
+ timezone?: string | undefined;
147
+ } | undefined;
148
+ deadline?: {
149
+ date?: string | undefined;
150
+ string?: string | undefined;
151
+ lang?: string | undefined;
152
+ isRecurring?: boolean | undefined;
153
+ timezone?: string | undefined;
154
+ } | undefined;
155
+ duration?: {
156
+ amount: number;
157
+ unit: "day" | "minute";
158
+ } | undefined;
159
+ responsibleUid?: string | undefined;
160
+ assignedByUid?: string | undefined;
161
+ }[];
162
+ comments: {
163
+ content: string;
164
+ taskId: string;
165
+ postedUid?: string | undefined;
166
+ postedAt?: string | undefined;
167
+ fileAttachment?: Record<string, unknown> | undefined;
168
+ }[];
169
+ projectComments: {
170
+ content: string;
171
+ postedUid?: string | undefined;
172
+ postedAt?: string | undefined;
173
+ fileAttachment?: Record<string, unknown> | undefined;
174
+ }[];
175
+ projectViewOptionsDefaults: Record<string, unknown>[];
176
+ } | undefined;
177
+ name?: string | undefined;
178
+ description?: string | undefined;
179
+ color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
180
+ workspace?: string | undefined;
181
+ sharedWithWorkspaceMembers?: boolean | undefined;
182
+ }, client: TodoistApi): Promise<{
183
+ textContent: string;
184
+ structuredContent: {
185
+ content: {
186
+ projects: {
187
+ viewStyle: "list" | "calendar" | "board" | "table";
188
+ description?: string | undefined;
189
+ icon?: string | undefined;
190
+ }[];
191
+ sections: {
192
+ id: string;
193
+ name: string;
194
+ description?: string | undefined;
195
+ }[];
196
+ tasks: {
197
+ id: string;
198
+ content: string;
199
+ description?: string | undefined;
200
+ sectionId?: string | undefined;
201
+ parentId?: string | undefined;
202
+ priority?: "p1" | "p2" | "p3" | "p4" | undefined;
203
+ labels?: string[] | undefined;
204
+ due?: {
205
+ date?: string | undefined;
206
+ string?: string | undefined;
207
+ lang?: string | undefined;
208
+ isRecurring?: boolean | undefined;
209
+ timezone?: string | undefined;
210
+ } | undefined;
211
+ deadline?: {
212
+ date?: string | undefined;
213
+ string?: string | undefined;
214
+ lang?: string | undefined;
215
+ isRecurring?: boolean | undefined;
216
+ timezone?: string | undefined;
217
+ } | undefined;
218
+ duration?: {
219
+ amount: number;
220
+ unit: "day" | "minute";
221
+ } | undefined;
222
+ responsibleUid?: string | undefined;
223
+ assignedByUid?: string | undefined;
224
+ }[];
225
+ comments: {
226
+ content: string;
227
+ taskId: string;
228
+ postedUid?: string | undefined;
229
+ postedAt?: string | undefined;
230
+ fileAttachment?: Record<string, unknown> | undefined;
231
+ }[];
232
+ projectComments: {
233
+ content: string;
234
+ postedUid?: string | undefined;
235
+ postedAt?: string | undefined;
236
+ fileAttachment?: Record<string, unknown> | undefined;
237
+ }[];
238
+ projectViewOptionsDefaults: Record<string, unknown>[];
239
+ };
240
+ };
241
+ } | {
242
+ textContent: string;
243
+ structuredContent: {
244
+ templateId: string;
245
+ name: string;
246
+ workspaceId: string | undefined;
247
+ workspaceError: string | undefined;
248
+ };
249
+ }>;
250
+ };
251
+ export { addTemplate };
252
+ //# sourceMappingURL=add-template.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-template.d.ts","sourceRoot":"","sources":["../../src/tools/add-template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAsB,UAAU,EAAE,MAAM,cAAc,CAAA;AAClE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkGvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkD8C,CAAA;AAsM/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -10,8 +10,8 @@ declare const deleteObject: {
10
10
  comment: "comment";
11
11
  folder: "folder";
12
12
  project: "project";
13
- reminder: "reminder";
14
13
  section: "section";
14
+ reminder: "reminder";
15
15
  location_reminder: "location_reminder";
16
16
  }>;
17
17
  id: z.ZodString;
@@ -25,8 +25,8 @@ declare const deleteObject: {
25
25
  comment: "comment";
26
26
  folder: "folder";
27
27
  project: "project";
28
- reminder: "reminder";
29
28
  section: "section";
29
+ reminder: "reminder";
30
30
  location_reminder: "location_reminder";
31
31
  }>;
32
32
  id: z.ZodString;
@@ -39,13 +39,13 @@ declare const deleteObject: {
39
39
  idempotentHint: true;
40
40
  };
41
41
  execute(args: {
42
- type: "filter" | "label" | "task" | "comment" | "folder" | "project" | "reminder" | "section" | "location_reminder";
42
+ type: "filter" | "label" | "task" | "comment" | "folder" | "project" | "section" | "reminder" | "location_reminder";
43
43
  id: string;
44
44
  }, client: import('@todoist/sdk').TodoistApi): Promise<{
45
45
  textContent: string;
46
46
  structuredContent: {
47
47
  deletedEntity: {
48
- type: "filter" | "label" | "task" | "comment" | "folder" | "project" | "reminder" | "section" | "location_reminder";
48
+ type: "filter" | "label" | "task" | "comment" | "folder" | "project" | "section" | "reminder" | "location_reminder";
49
49
  id: string;
50
50
  };
51
51
  success: true;
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
- declare const exportProjectTemplate: {
3
- name: "export-project-template";
2
+ declare const exportProject: {
3
+ name: "export-project";
4
4
  description: string;
5
5
  parameters: {
6
6
  projectId: z.ZodString;
@@ -50,5 +50,5 @@ declare const exportProjectTemplate: {
50
50
  };
51
51
  }>;
52
52
  };
53
- export { exportProjectTemplate };
54
- //# sourceMappingURL=export-project-template.d.ts.map
53
+ export { exportProject };
54
+ //# sourceMappingURL=export-project.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export-project.d.ts","sourceRoot":"","sources":["../../src/tools/export-project.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA4CvB,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsC4C,CAAA;AAc/D,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -8,6 +8,7 @@ declare const fetchObject: {
8
8
  comment: "comment";
9
9
  project: "project";
10
10
  section: "section";
11
+ template: "template";
11
12
  }>;
12
13
  id: z.ZodString;
13
14
  includeChildren: z.ZodOptional<z.ZodBoolean>;
@@ -32,6 +33,7 @@ declare const fetchObject: {
32
33
  comment: "comment";
33
34
  project: "project";
34
35
  section: "section";
36
+ template: "template";
35
37
  }>;
36
38
  id: z.ZodString;
37
39
  object: z.ZodUnion<readonly [z.ZodObject<{
@@ -125,6 +127,40 @@ declare const fetchObject: {
125
127
  name: z.ZodString;
126
128
  sectionOrder: z.ZodNumber;
127
129
  description: z.ZodOptional<z.ZodString>;
130
+ }, z.core.$strip>, z.ZodObject<{
131
+ sharedWithWorkspaceMembers: z.ZodOptional<z.ZodBoolean>;
132
+ canEdit: z.ZodOptional<z.ZodBoolean>;
133
+ content: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
134
+ source: z.ZodEnum<{
135
+ user: "user";
136
+ todoist: "todoist";
137
+ }>;
138
+ workspaceId: z.ZodOptional<z.ZodString>;
139
+ id: z.ZodString;
140
+ name: z.ZodString;
141
+ description: z.ZodString;
142
+ color: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
143
+ berry_red: "berry_red";
144
+ red: "red";
145
+ orange: "orange";
146
+ yellow: "yellow";
147
+ olive_green: "olive_green";
148
+ lime_green: "lime_green";
149
+ green: "green";
150
+ mint_green: "mint_green";
151
+ teal: "teal";
152
+ sky_blue: "sky_blue";
153
+ light_blue: "light_blue";
154
+ blue: "blue";
155
+ grape: "grape";
156
+ violet: "violet";
157
+ lavender: "lavender";
158
+ magenta: "magenta";
159
+ salmon: "salmon";
160
+ charcoal: "charcoal";
161
+ grey: "grey";
162
+ taupe: "taupe";
163
+ }>>>;
128
164
  }, z.core.$strip>]>;
129
165
  };
130
166
  annotations: {
@@ -133,7 +169,7 @@ declare const fetchObject: {
133
169
  idempotentHint: true;
134
170
  };
135
171
  execute(args: {
136
- type: "task" | "comment" | "project" | "section";
172
+ type: "task" | "comment" | "project" | "section" | "template";
137
173
  id: string;
138
174
  includeChildren?: boolean | undefined;
139
175
  }, client: import('@todoist/sdk').TodoistApi): Promise<{
@@ -239,6 +275,77 @@ declare const fetchObject: {
239
275
  description?: string | undefined;
240
276
  };
241
277
  };
278
+ } | {
279
+ textContent: string;
280
+ structuredContent: {
281
+ type: "template";
282
+ id: string;
283
+ object: {
284
+ id: string;
285
+ name: string;
286
+ description: string;
287
+ color: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "teal" | "sky_blue" | "light_blue" | "blue" | "grape" | "violet" | "lavender" | "magenta" | "salmon" | "charcoal" | "grey" | "taupe" | undefined;
288
+ source: "user" | "todoist";
289
+ workspaceId: string | undefined;
290
+ sharedWithWorkspaceMembers: boolean | undefined;
291
+ canEdit: boolean | undefined;
292
+ content: {
293
+ projects: {
294
+ viewStyle: "list" | "calendar" | "board" | "table";
295
+ description?: string | undefined;
296
+ icon?: string | undefined;
297
+ }[];
298
+ sections: {
299
+ id: string;
300
+ name: string;
301
+ description?: string | undefined;
302
+ }[];
303
+ tasks: {
304
+ id: string;
305
+ content: string;
306
+ description?: string | undefined;
307
+ sectionId?: string | undefined;
308
+ parentId?: string | undefined;
309
+ priority?: "p1" | "p2" | "p3" | "p4" | undefined;
310
+ labels?: string[] | undefined;
311
+ due?: {
312
+ date?: string | undefined;
313
+ string?: string | undefined;
314
+ lang?: string | undefined;
315
+ isRecurring?: boolean | undefined;
316
+ timezone?: string | undefined;
317
+ } | undefined;
318
+ deadline?: {
319
+ date?: string | undefined;
320
+ string?: string | undefined;
321
+ lang?: string | undefined;
322
+ isRecurring?: boolean | undefined;
323
+ timezone?: string | undefined;
324
+ } | undefined;
325
+ duration?: {
326
+ amount: number;
327
+ unit: "day" | "minute";
328
+ } | undefined;
329
+ responsibleUid?: string | undefined;
330
+ assignedByUid?: string | undefined;
331
+ }[];
332
+ comments: {
333
+ content: string;
334
+ taskId: string;
335
+ postedUid?: string | undefined;
336
+ postedAt?: string | undefined;
337
+ fileAttachment?: Record<string, unknown> | undefined;
338
+ }[];
339
+ projectComments: {
340
+ content: string;
341
+ postedUid?: string | undefined;
342
+ postedAt?: string | undefined;
343
+ fileAttachment?: Record<string, unknown> | undefined;
344
+ }[];
345
+ projectViewOptionsDefaults: Record<string, unknown>[];
346
+ } | undefined;
347
+ };
348
+ };
242
349
  }>;
243
350
  };
244
351
  export { fetchObject };
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-object.d.ts","sourceRoot":"","sources":["../../src/tools/fetch-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA0CvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2F8C,CAAA;AAE/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
1
+ {"version":3,"file":"fetch-object.d.ts","sourceRoot":"","sources":["../../src/tools/fetch-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAqEvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+H8C,CAAA;AAU/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -0,0 +1,56 @@
1
+ import { z } from 'zod';
2
+ declare const findTemplates: {
3
+ name: "find-templates";
4
+ description: string;
5
+ parameters: {
6
+ query: z.ZodOptional<z.ZodString>;
7
+ source: z.ZodOptional<z.ZodEnum<{
8
+ user: "user";
9
+ todoist: "todoist";
10
+ all: "all";
11
+ workspace: "workspace";
12
+ }>>;
13
+ locale: z.ZodOptional<z.ZodString>;
14
+ limit: z.ZodOptional<z.ZodNumber>;
15
+ cursor: z.ZodOptional<z.ZodString>;
16
+ };
17
+ outputSchema: {
18
+ templates: z.ZodArray<z.ZodObject<{
19
+ source: z.ZodEnum<{
20
+ user: "user";
21
+ todoist: "todoist";
22
+ }>;
23
+ workspaceId: z.ZodOptional<z.ZodString>;
24
+ templateId: z.ZodString;
25
+ name: z.ZodString;
26
+ description: z.ZodString;
27
+ }, z.core.$strip>>;
28
+ nextCursor: z.ZodOptional<z.ZodString>;
29
+ };
30
+ annotations: {
31
+ readOnlyHint: true;
32
+ destructiveHint: false;
33
+ idempotentHint: true;
34
+ };
35
+ execute({ query, source, locale, limit, cursor }: {
36
+ query?: string | undefined;
37
+ source?: "user" | "todoist" | "all" | "workspace" | undefined;
38
+ locale?: string | undefined;
39
+ limit?: number | undefined;
40
+ cursor?: string | undefined;
41
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
42
+ textContent: string;
43
+ structuredContent: {
44
+ templates: {
45
+ templateId: string;
46
+ name: string;
47
+ description: string;
48
+ source: "user" | "todoist";
49
+ workspaceId: string | undefined;
50
+ }[];
51
+ nextCursor: string | undefined;
52
+ };
53
+ }>;
54
+ };
55
+ export { findTemplates };
56
+ //# sourceMappingURL=find-templates.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"find-templates.d.ts","sourceRoot":"","sources":["../../src/tools/find-templates.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAgDvB,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmC4C,CAAA;AA8B/D,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -1,15 +1,6 @@
1
1
  import { z } from 'zod';
2
- /**
3
- * Accepts a bare template ID or a Todoist template URL. Both gallery links
4
- * (`/templates/product-launch`) and in-app links
5
- * (`/app/templates/category/my-templates/UT_28Ex.../view`) reduce to the last
6
- * path segment once a trailing `/view` is dropped. Non-Todoist hosts are
7
- * rejected rather than reduced, so a look-alike link cannot quietly resolve to
8
- * a real gallery slug.
9
- */
10
- declare function extractTemplateId(input: string): string;
11
- declare const importProjectTemplate: {
12
- name: "import-project-template";
2
+ declare const importIntoProject: {
3
+ name: "import-into-project";
13
4
  description: string;
14
5
  parameters: {
15
6
  projectId: z.ZodString;
@@ -144,5 +135,5 @@ declare const importProjectTemplate: {
144
135
  };
145
136
  }>;
146
137
  };
147
- export { extractTemplateId, importProjectTemplate };
148
- //# sourceMappingURL=import-project-template.d.ts.map
138
+ export { importIntoProject };
139
+ //# sourceMappingURL=import-into-project.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"import-into-project.d.ts","sourceRoot":"","sources":["../../src/tools/import-into-project.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA+FvB,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CwC,CAAA;AAE/D,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"reschedule-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/reschedule-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,IAAI,EAAkB,MAAM,cAAc,CAAA;AAErE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA2CvB,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsG0C,CAAA;AA4B/D,iBAAS,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,MAAM,CAU7F;AAED,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,CAAA"}
1
+ {"version":3,"file":"reschedule-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/reschedule-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,IAAI,EAAkB,MAAM,cAAc,CAAA;AAErE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA4CvB,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsG0C,CAAA;AA4B/D,iBAAS,mBAAmB,CAAC,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,MAAM,CAc7F;AA2CD,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,CAAA"}