@todoist/mcp 0.0.1 → 15.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.
Files changed (197) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +217 -29
  3. package/dist/filter-helpers.d.ts +53 -0
  4. package/dist/filter-helpers.d.ts.map +1 -0
  5. package/dist/http-app.d.ts +28 -0
  6. package/dist/http-app.d.ts.map +1 -0
  7. package/dist/index.d.ts +4347 -0
  8. package/dist/index.d.ts.map +1 -0
  9. package/dist/index.js +61 -0
  10. package/dist/main-http.d.ts +3 -0
  11. package/dist/main-http.d.ts.map +1 -0
  12. package/dist/main-http.js +133 -0
  13. package/dist/main.d.ts +3 -0
  14. package/dist/main.d.ts.map +1 -0
  15. package/dist/main.js +16 -0
  16. package/dist/mcp-apps/index.html +116 -0
  17. package/dist/mcp-helpers.d.ts +62 -0
  18. package/dist/mcp-helpers.d.ts.map +1 -0
  19. package/dist/mcp-server-y4HhlBJW.js +8152 -0
  20. package/dist/mcp-server.d.ts +16 -0
  21. package/dist/mcp-server.d.ts.map +1 -0
  22. package/dist/middleware/require-trusted-host.d.ts +44 -0
  23. package/dist/middleware/require-trusted-host.d.ts.map +1 -0
  24. package/dist/middleware/require-valid-todoist-token.d.ts +39 -0
  25. package/dist/middleware/require-valid-todoist-token.d.ts.map +1 -0
  26. package/dist/prompts/productivity-analysis.d.ts +58 -0
  27. package/dist/prompts/productivity-analysis.d.ts.map +1 -0
  28. package/dist/require-valid-todoist-token-I1jh7sbd.js +63 -0
  29. package/dist/todoist-tool.d.ts +15 -0
  30. package/dist/todoist-tool.d.ts.map +1 -0
  31. package/dist/tool-execution-error.d.ts +27 -0
  32. package/dist/tool-execution-error.d.ts.map +1 -0
  33. package/dist/tool-helpers.d.ts +318 -0
  34. package/dist/tool-helpers.d.ts.map +1 -0
  35. package/dist/tool-registry.d.ts +4307 -0
  36. package/dist/tool-registry.d.ts.map +1 -0
  37. package/dist/tools/add-comments.d.ts +104 -0
  38. package/dist/tools/add-comments.d.ts.map +1 -0
  39. package/dist/tools/add-filters.d.ts +113 -0
  40. package/dist/tools/add-filters.d.ts.map +1 -0
  41. package/dist/tools/add-labels.d.ts +107 -0
  42. package/dist/tools/add-labels.d.ts.map +1 -0
  43. package/dist/tools/add-projects.d.ts +134 -0
  44. package/dist/tools/add-projects.d.ts.map +1 -0
  45. package/dist/tools/add-reminders.d.ts +174 -0
  46. package/dist/tools/add-reminders.d.ts.map +1 -0
  47. package/dist/tools/add-sections.d.ts +61 -0
  48. package/dist/tools/add-sections.d.ts.map +1 -0
  49. package/dist/tools/add-tasks.d.ts +123 -0
  50. package/dist/tools/add-tasks.d.ts.map +1 -0
  51. package/dist/tools/analyze-project-health.d.ts +45 -0
  52. package/dist/tools/analyze-project-health.d.ts.map +1 -0
  53. package/dist/tools/complete-tasks.d.ts +42 -0
  54. package/dist/tools/complete-tasks.d.ts.map +1 -0
  55. package/dist/tools/delete-object.d.ts +54 -0
  56. package/dist/tools/delete-object.d.ts.map +1 -0
  57. package/dist/tools/export-project-template.d.ts +54 -0
  58. package/dist/tools/export-project-template.d.ts.map +1 -0
  59. package/dist/tools/fetch-object.d.ts +243 -0
  60. package/dist/tools/fetch-object.d.ts.map +1 -0
  61. package/dist/tools/fetch.d.ts +41 -0
  62. package/dist/tools/fetch.d.ts.map +1 -0
  63. package/dist/tools/find-activity.d.ts +98 -0
  64. package/dist/tools/find-activity.d.ts.map +1 -0
  65. package/dist/tools/find-comments.d.ts +91 -0
  66. package/dist/tools/find-comments.d.ts.map +1 -0
  67. package/dist/tools/find-completed-tasks.d.ts +119 -0
  68. package/dist/tools/find-completed-tasks.d.ts.map +1 -0
  69. package/dist/tools/find-filters.d.ts +95 -0
  70. package/dist/tools/find-filters.d.ts.map +1 -0
  71. package/dist/tools/find-labels.d.ts +81 -0
  72. package/dist/tools/find-labels.d.ts.map +1 -0
  73. package/dist/tools/find-project-collaborators.d.ts +94 -0
  74. package/dist/tools/find-project-collaborators.d.ts.map +1 -0
  75. package/dist/tools/find-projects.d.ts +98 -0
  76. package/dist/tools/find-projects.d.ts.map +1 -0
  77. package/dist/tools/find-reminders.d.ts +99 -0
  78. package/dist/tools/find-reminders.d.ts.map +1 -0
  79. package/dist/tools/find-sections.d.ts +45 -0
  80. package/dist/tools/find-sections.d.ts.map +1 -0
  81. package/dist/tools/find-tasks-by-date.d.ts +137 -0
  82. package/dist/tools/find-tasks-by-date.d.ts.map +1 -0
  83. package/dist/tools/find-tasks.d.ts +120 -0
  84. package/dist/tools/find-tasks.d.ts.map +1 -0
  85. package/dist/tools/get-overview.d.ts +121 -0
  86. package/dist/tools/get-overview.d.ts.map +1 -0
  87. package/dist/tools/get-productivity-stats.d.ts +160 -0
  88. package/dist/tools/get-productivity-stats.d.ts.map +1 -0
  89. package/dist/tools/get-project-activity-stats.d.ts +48 -0
  90. package/dist/tools/get-project-activity-stats.d.ts.map +1 -0
  91. package/dist/tools/get-project-health.d.ts +104 -0
  92. package/dist/tools/get-project-health.d.ts.map +1 -0
  93. package/dist/tools/get-user-status.d.ts +35 -0
  94. package/dist/tools/get-user-status.d.ts.map +1 -0
  95. package/dist/tools/get-workspace-insights.d.ts +63 -0
  96. package/dist/tools/get-workspace-insights.d.ts.map +1 -0
  97. package/dist/tools/import-project-template.d.ts +148 -0
  98. package/dist/tools/import-project-template.d.ts.map +1 -0
  99. package/dist/tools/list-workspaces.d.ts +54 -0
  100. package/dist/tools/list-workspaces.d.ts.map +1 -0
  101. package/dist/tools/manage-assignments.d.ts +73 -0
  102. package/dist/tools/manage-assignments.d.ts.map +1 -0
  103. package/dist/tools/project-management.d.ts +82 -0
  104. package/dist/tools/project-management.d.ts.map +1 -0
  105. package/dist/tools/project-move.d.ts +92 -0
  106. package/dist/tools/project-move.d.ts.map +1 -0
  107. package/dist/tools/reorder-objects.d.ts +61 -0
  108. package/dist/tools/reorder-objects.d.ts.map +1 -0
  109. package/dist/tools/reschedule-tasks.d.ts +95 -0
  110. package/dist/tools/reschedule-tasks.d.ts.map +1 -0
  111. package/dist/tools/search.d.ts +43 -0
  112. package/dist/tools/search.d.ts.map +1 -0
  113. package/dist/tools/set-user-status.d.ts +51 -0
  114. package/dist/tools/set-user-status.d.ts.map +1 -0
  115. package/dist/tools/uncomplete-tasks.d.ts +42 -0
  116. package/dist/tools/uncomplete-tasks.d.ts.map +1 -0
  117. package/dist/tools/update-comments.d.ts +100 -0
  118. package/dist/tools/update-comments.d.ts.map +1 -0
  119. package/dist/tools/update-filters.d.ts +121 -0
  120. package/dist/tools/update-filters.d.ts.map +1 -0
  121. package/dist/tools/update-labels.d.ts +133 -0
  122. package/dist/tools/update-labels.d.ts.map +1 -0
  123. package/dist/tools/update-projects.d.ts +138 -0
  124. package/dist/tools/update-projects.d.ts.map +1 -0
  125. package/dist/tools/update-reminders.d.ts +176 -0
  126. package/dist/tools/update-reminders.d.ts.map +1 -0
  127. package/dist/tools/update-sections.d.ts +65 -0
  128. package/dist/tools/update-sections.d.ts.map +1 -0
  129. package/dist/tools/update-tasks.d.ts +135 -0
  130. package/dist/tools/update-tasks.d.ts.map +1 -0
  131. package/dist/tools/user-info.d.ts +57 -0
  132. package/dist/tools/user-info.d.ts.map +1 -0
  133. package/dist/tools/view-attachment.d.ts +25 -0
  134. package/dist/tools/view-attachment.d.ts.map +1 -0
  135. package/dist/usage-tracking.d.ts +36 -0
  136. package/dist/usage-tracking.d.ts.map +1 -0
  137. package/dist/utils/assignment-validator.d.ts +69 -0
  138. package/dist/utils/assignment-validator.d.ts.map +1 -0
  139. package/dist/utils/batch-failures.d.ts +25 -0
  140. package/dist/utils/batch-failures.d.ts.map +1 -0
  141. package/dist/utils/children.d.ts +68 -0
  142. package/dist/utils/children.d.ts.map +1 -0
  143. package/dist/utils/colors.d.ts +68 -0
  144. package/dist/utils/colors.d.ts.map +1 -0
  145. package/dist/utils/comment-recipients.d.ts +35 -0
  146. package/dist/utils/comment-recipients.d.ts.map +1 -0
  147. package/dist/utils/concurrency.d.ts +35 -0
  148. package/dist/utils/concurrency.d.ts.map +1 -0
  149. package/dist/utils/constants.d.ts +93 -0
  150. package/dist/utils/constants.d.ts.map +1 -0
  151. package/dist/utils/date.d.ts +18 -0
  152. package/dist/utils/date.d.ts.map +1 -0
  153. package/dist/utils/duration-parser.d.ts +39 -0
  154. package/dist/utils/duration-parser.d.ts.map +1 -0
  155. package/dist/utils/filter-description.d.ts +16 -0
  156. package/dist/utils/filter-description.d.ts.map +1 -0
  157. package/dist/utils/filter-resolver.d.ts +27 -0
  158. package/dist/utils/filter-resolver.d.ts.map +1 -0
  159. package/dist/utils/host.d.ts +6 -0
  160. package/dist/utils/host.d.ts.map +1 -0
  161. package/dist/utils/labels.d.ts +13 -0
  162. package/dist/utils/labels.d.ts.map +1 -0
  163. package/dist/utils/move-planner.d.ts +63 -0
  164. package/dist/utils/move-planner.d.ts.map +1 -0
  165. package/dist/utils/order-keys.d.ts +36 -0
  166. package/dist/utils/order-keys.d.ts.map +1 -0
  167. package/dist/utils/output-schemas.d.ts +209 -0
  168. package/dist/utils/output-schemas.d.ts.map +1 -0
  169. package/dist/utils/personal-project-limit.d.ts +31 -0
  170. package/dist/utils/personal-project-limit.d.ts.map +1 -0
  171. package/dist/utils/priorities.d.ts +14 -0
  172. package/dist/utils/priorities.d.ts.map +1 -0
  173. package/dist/utils/reminder-recipients.d.ts +21 -0
  174. package/dist/utils/reminder-recipients.d.ts.map +1 -0
  175. package/dist/utils/reminder-schemas.d.ts +41 -0
  176. package/dist/utils/reminder-schemas.d.ts.map +1 -0
  177. package/dist/utils/response-builders.d.ts +103 -0
  178. package/dist/utils/response-builders.d.ts.map +1 -0
  179. package/dist/utils/retry.d.ts +39 -0
  180. package/dist/utils/retry.d.ts.map +1 -0
  181. package/dist/utils/schema-helpers.d.ts +10 -0
  182. package/dist/utils/schema-helpers.d.ts.map +1 -0
  183. package/dist/utils/sync-commands.d.ts +21 -0
  184. package/dist/utils/sync-commands.d.ts.map +1 -0
  185. package/dist/utils/test-helpers.d.ts +118 -0
  186. package/dist/utils/test-helpers.d.ts.map +1 -0
  187. package/dist/utils/tool-names.d.ts +60 -0
  188. package/dist/utils/tool-names.d.ts.map +1 -0
  189. package/dist/utils/user-resolver.d.ts +92 -0
  190. package/dist/utils/user-resolver.d.ts.map +1 -0
  191. package/dist/utils/user-status.d.ts +32 -0
  192. package/dist/utils/user-status.d.ts.map +1 -0
  193. package/dist/utils/validate-todoist-token.d.ts +17 -0
  194. package/dist/utils/validate-todoist-token.d.ts.map +1 -0
  195. package/dist/utils/workspace-resolver.d.ts +31 -0
  196. package/dist/utils/workspace-resolver.d.ts.map +1 -0
  197. package/package.json +115 -8
@@ -0,0 +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;AAkEvD;;;;;;;;;;GAUG;AACH,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+EjB,CAAA;AAED;;;;;GAKG;AACH,QAAA,MAAM,eAAe,EAAE,SAAS,cAAc,EAAgC,CAAA;AAE9E,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,CAAA"}
@@ -0,0 +1,104 @@
1
+ import { TodoistApi } from '@doist/todoist-sdk';
2
+ import { z } from 'zod';
3
+ declare const addComments: {
4
+ name: "add-comments";
5
+ description: string;
6
+ parameters: {
7
+ comments: z.ZodArray<z.ZodObject<{
8
+ taskId: z.ZodOptional<z.ZodString>;
9
+ projectId: z.ZodOptional<z.ZodString>;
10
+ content: z.ZodString;
11
+ notifyUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
12
+ }, z.core.$strip>>;
13
+ };
14
+ outputSchema: {
15
+ comments: z.ZodArray<z.ZodObject<{
16
+ id: z.ZodString;
17
+ taskId: z.ZodOptional<z.ZodString>;
18
+ projectId: z.ZodOptional<z.ZodString>;
19
+ content: z.ZodString;
20
+ postedAt: z.ZodString;
21
+ postedUid: z.ZodOptional<z.ZodString>;
22
+ notifiedUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
23
+ fileAttachment: z.ZodOptional<z.ZodObject<{
24
+ resourceType: z.ZodString;
25
+ fileName: z.ZodOptional<z.ZodString>;
26
+ fileSize: z.ZodOptional<z.ZodNumber>;
27
+ fileType: z.ZodOptional<z.ZodString>;
28
+ fileUrl: z.ZodOptional<z.ZodString>;
29
+ fileDuration: z.ZodOptional<z.ZodNumber>;
30
+ uploadState: z.ZodOptional<z.ZodEnum<{
31
+ pending: "pending";
32
+ completed: "completed";
33
+ }>>;
34
+ url: z.ZodOptional<z.ZodString>;
35
+ title: z.ZodOptional<z.ZodString>;
36
+ image: z.ZodOptional<z.ZodString>;
37
+ imageWidth: z.ZodOptional<z.ZodNumber>;
38
+ imageHeight: z.ZodOptional<z.ZodNumber>;
39
+ }, z.core.$strip>>;
40
+ }, z.core.$strip>>;
41
+ totalCount: z.ZodNumber;
42
+ addedCommentIds: z.ZodArray<z.ZodString>;
43
+ failures: z.ZodArray<z.ZodObject<{
44
+ item: z.ZodString;
45
+ error: z.ZodString;
46
+ code: z.ZodOptional<z.ZodString>;
47
+ }, z.core.$strip>>;
48
+ totalRequested: z.ZodNumber;
49
+ successCount: z.ZodNumber;
50
+ failureCount: z.ZodNumber;
51
+ };
52
+ annotations: {
53
+ readOnlyHint: false;
54
+ destructiveHint: false;
55
+ idempotentHint: false;
56
+ openWorldHint: true;
57
+ };
58
+ execute(args: {
59
+ comments: {
60
+ content: string;
61
+ taskId?: string | undefined;
62
+ projectId?: string | undefined;
63
+ notifyUsers?: string[] | undefined;
64
+ }[];
65
+ }, client: TodoistApi): Promise<{
66
+ textContent: string;
67
+ structuredContent: {
68
+ comments: {
69
+ id: string;
70
+ taskId: string | undefined;
71
+ projectId: string | undefined;
72
+ content: string;
73
+ postedAt: string;
74
+ postedUid: string;
75
+ notifiedUserIds: string[] | undefined;
76
+ fileAttachment: {
77
+ resourceType: string;
78
+ fileName: string | undefined;
79
+ fileSize: number | undefined;
80
+ fileType: string | undefined;
81
+ fileUrl: string | undefined;
82
+ fileDuration: number | undefined;
83
+ uploadState: "pending" | "completed" | undefined;
84
+ url: string | undefined;
85
+ title: string | undefined;
86
+ image: string | undefined;
87
+ imageWidth: number | undefined;
88
+ imageHeight: number | undefined;
89
+ } | undefined;
90
+ }[];
91
+ totalCount: number;
92
+ addedCommentIds: string[];
93
+ failures: {
94
+ item: string;
95
+ error: string;
96
+ }[];
97
+ totalRequested: number;
98
+ successCount: number;
99
+ failureCount: number;
100
+ };
101
+ }>;
102
+ };
103
+ export { addComments };
104
+ //# sourceMappingURL=add-comments.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-comments.d.ts","sourceRoot":"","sources":["../../src/tools/add-comments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAwB,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC1E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA0DvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAyFqB,MAAM;uBAAS,MAAM;;;;;;;CAqCI,CAAA;AAmG/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -0,0 +1,113 @@
1
+ import { z } from 'zod';
2
+ declare const addFilters: {
3
+ name: "add-filters";
4
+ description: string;
5
+ parameters: {
6
+ filters: z.ZodArray<z.ZodObject<{
7
+ name: z.ZodString;
8
+ query: z.ZodString;
9
+ description: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
10
+ color: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
11
+ berry_red: "berry_red";
12
+ red: "red";
13
+ orange: "orange";
14
+ yellow: "yellow";
15
+ olive_green: "olive_green";
16
+ lime_green: "lime_green";
17
+ green: "green";
18
+ mint_green: "mint_green";
19
+ teal: "teal";
20
+ sky_blue: "sky_blue";
21
+ light_blue: "light_blue";
22
+ blue: "blue";
23
+ grape: "grape";
24
+ violet: "violet";
25
+ lavender: "lavender";
26
+ magenta: "magenta";
27
+ salmon: "salmon";
28
+ charcoal: "charcoal";
29
+ grey: "grey";
30
+ taupe: "taupe";
31
+ }>>, unknown>;
32
+ isFavorite: z.ZodOptional<z.ZodBoolean>;
33
+ }, z.core.$strip>>;
34
+ };
35
+ outputSchema: {
36
+ filters: z.ZodArray<z.ZodObject<{
37
+ id: z.ZodString;
38
+ name: z.ZodString;
39
+ query: z.ZodString;
40
+ description: z.ZodOptional<z.ZodString>;
41
+ color: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
42
+ berry_red: "berry_red";
43
+ red: "red";
44
+ orange: "orange";
45
+ yellow: "yellow";
46
+ olive_green: "olive_green";
47
+ lime_green: "lime_green";
48
+ green: "green";
49
+ mint_green: "mint_green";
50
+ teal: "teal";
51
+ sky_blue: "sky_blue";
52
+ light_blue: "light_blue";
53
+ blue: "blue";
54
+ grape: "grape";
55
+ violet: "violet";
56
+ lavender: "lavender";
57
+ magenta: "magenta";
58
+ salmon: "salmon";
59
+ charcoal: "charcoal";
60
+ grey: "grey";
61
+ taupe: "taupe";
62
+ }>>>;
63
+ isFavorite: z.ZodBoolean;
64
+ itemOrder: z.ZodNumber;
65
+ }, z.core.$strip>>;
66
+ totalCount: z.ZodNumber;
67
+ failures: z.ZodArray<z.ZodObject<{
68
+ item: z.ZodString;
69
+ error: z.ZodString;
70
+ code: z.ZodOptional<z.ZodString>;
71
+ }, z.core.$strip>>;
72
+ totalRequested: z.ZodNumber;
73
+ successCount: z.ZodNumber;
74
+ failureCount: z.ZodNumber;
75
+ };
76
+ annotations: {
77
+ readOnlyHint: false;
78
+ destructiveHint: false;
79
+ idempotentHint: false;
80
+ };
81
+ execute({ filters }: {
82
+ filters: {
83
+ name: string;
84
+ query: string;
85
+ description?: string | undefined;
86
+ 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;
87
+ isFavorite?: boolean | undefined;
88
+ }[];
89
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
90
+ textContent: string;
91
+ structuredContent: {
92
+ filters: {
93
+ id: string;
94
+ name: string;
95
+ query: string;
96
+ isFavorite: boolean;
97
+ itemOrder: number;
98
+ description?: string | undefined;
99
+ 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;
100
+ }[];
101
+ totalCount: number;
102
+ failures: {
103
+ item: string;
104
+ error: string;
105
+ }[];
106
+ totalRequested: number;
107
+ successCount: number;
108
+ failureCount: number;
109
+ };
110
+ }>;
111
+ };
112
+ export { addFilters };
113
+ //# sourceMappingURL=add-filters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-filters.d.ts","sourceRoot":"","sources":["../../src/tools/add-filters.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA4CvB,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAgCsB,MAAM;uBAAS,MAAM;;;;;;;CAqDI,CAAA;AAE/D,OAAO,EAAE,UAAU,EAAE,CAAA"}
@@ -0,0 +1,107 @@
1
+ import { z } from 'zod';
2
+ declare const addLabels: {
3
+ name: "add-labels";
4
+ description: string;
5
+ parameters: {
6
+ labels: z.ZodArray<z.ZodObject<{
7
+ name: z.ZodString;
8
+ color: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
9
+ berry_red: "berry_red";
10
+ red: "red";
11
+ orange: "orange";
12
+ yellow: "yellow";
13
+ olive_green: "olive_green";
14
+ lime_green: "lime_green";
15
+ green: "green";
16
+ mint_green: "mint_green";
17
+ teal: "teal";
18
+ sky_blue: "sky_blue";
19
+ light_blue: "light_blue";
20
+ blue: "blue";
21
+ grape: "grape";
22
+ violet: "violet";
23
+ lavender: "lavender";
24
+ magenta: "magenta";
25
+ salmon: "salmon";
26
+ charcoal: "charcoal";
27
+ grey: "grey";
28
+ taupe: "taupe";
29
+ }>>, unknown>;
30
+ order: z.ZodOptional<z.ZodNumber>;
31
+ isFavorite: z.ZodOptional<z.ZodBoolean>;
32
+ }, z.core.$strip>>;
33
+ };
34
+ outputSchema: {
35
+ labels: z.ZodArray<z.ZodObject<{
36
+ id: z.ZodString;
37
+ name: z.ZodString;
38
+ color: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
39
+ berry_red: "berry_red";
40
+ red: "red";
41
+ orange: "orange";
42
+ yellow: "yellow";
43
+ olive_green: "olive_green";
44
+ lime_green: "lime_green";
45
+ green: "green";
46
+ mint_green: "mint_green";
47
+ teal: "teal";
48
+ sky_blue: "sky_blue";
49
+ light_blue: "light_blue";
50
+ blue: "blue";
51
+ grape: "grape";
52
+ violet: "violet";
53
+ lavender: "lavender";
54
+ magenta: "magenta";
55
+ salmon: "salmon";
56
+ charcoal: "charcoal";
57
+ grey: "grey";
58
+ taupe: "taupe";
59
+ }>>>;
60
+ order: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
61
+ isFavorite: z.ZodBoolean;
62
+ }, z.core.$strip>>;
63
+ totalCount: z.ZodNumber;
64
+ failures: z.ZodArray<z.ZodObject<{
65
+ item: z.ZodString;
66
+ error: z.ZodString;
67
+ code: z.ZodOptional<z.ZodString>;
68
+ }, z.core.$strip>>;
69
+ totalRequested: z.ZodNumber;
70
+ successCount: z.ZodNumber;
71
+ failureCount: z.ZodNumber;
72
+ };
73
+ annotations: {
74
+ readOnlyHint: false;
75
+ destructiveHint: false;
76
+ idempotentHint: false;
77
+ };
78
+ execute({ labels }: {
79
+ labels: {
80
+ name: string;
81
+ 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;
82
+ order?: number | undefined;
83
+ isFavorite?: boolean | undefined;
84
+ }[];
85
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
86
+ textContent: string;
87
+ structuredContent: {
88
+ labels: {
89
+ id: string;
90
+ name: string;
91
+ isFavorite: boolean;
92
+ 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;
93
+ order?: number | undefined;
94
+ }[];
95
+ totalCount: number;
96
+ failures: {
97
+ item: string;
98
+ error: string;
99
+ }[];
100
+ totalRequested: number;
101
+ successCount: number;
102
+ failureCount: number;
103
+ };
104
+ }>;
105
+ };
106
+ export { addLabels };
107
+ //# sourceMappingURL=add-labels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-labels.d.ts","sourceRoot":"","sources":["../../src/tools/add-labels.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAmCvB,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAeuB,MAAM;uBAAS,MAAM;;;;;;;CA6BI,CAAA;AAkB/D,OAAO,EAAE,SAAS,EAAE,CAAA"}
@@ -0,0 +1,134 @@
1
+ import { z } from 'zod';
2
+ declare const addProjects: {
3
+ name: "add-projects";
4
+ description: string;
5
+ parameters: {
6
+ projects: z.ZodArray<z.ZodObject<{
7
+ name: z.ZodString;
8
+ parentId: z.ZodOptional<z.ZodString>;
9
+ isFavorite: z.ZodOptional<z.ZodBoolean>;
10
+ viewStyle: z.ZodOptional<z.ZodEnum<{
11
+ list: "list";
12
+ board: "board";
13
+ calendar: "calendar";
14
+ table: "table";
15
+ }>>;
16
+ description: z.ZodOptional<z.ZodString>;
17
+ color: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
18
+ berry_red: "berry_red";
19
+ red: "red";
20
+ orange: "orange";
21
+ yellow: "yellow";
22
+ olive_green: "olive_green";
23
+ lime_green: "lime_green";
24
+ green: "green";
25
+ mint_green: "mint_green";
26
+ teal: "teal";
27
+ sky_blue: "sky_blue";
28
+ light_blue: "light_blue";
29
+ blue: "blue";
30
+ grape: "grape";
31
+ violet: "violet";
32
+ lavender: "lavender";
33
+ magenta: "magenta";
34
+ salmon: "salmon";
35
+ charcoal: "charcoal";
36
+ grey: "grey";
37
+ taupe: "taupe";
38
+ }>>, unknown>;
39
+ workspace: z.ZodOptional<z.ZodString>;
40
+ }, z.core.$strip>>;
41
+ };
42
+ outputSchema: {
43
+ projects: z.ZodArray<z.ZodObject<{
44
+ id: z.ZodString;
45
+ name: z.ZodString;
46
+ description: z.ZodString;
47
+ color: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
48
+ berry_red: "berry_red";
49
+ red: "red";
50
+ orange: "orange";
51
+ yellow: "yellow";
52
+ olive_green: "olive_green";
53
+ lime_green: "lime_green";
54
+ green: "green";
55
+ mint_green: "mint_green";
56
+ teal: "teal";
57
+ sky_blue: "sky_blue";
58
+ light_blue: "light_blue";
59
+ blue: "blue";
60
+ grape: "grape";
61
+ violet: "violet";
62
+ lavender: "lavender";
63
+ magenta: "magenta";
64
+ salmon: "salmon";
65
+ charcoal: "charcoal";
66
+ grey: "grey";
67
+ taupe: "taupe";
68
+ }>>>;
69
+ isFavorite: z.ZodBoolean;
70
+ isShared: z.ZodBoolean;
71
+ parentId: z.ZodOptional<z.ZodString>;
72
+ inboxProject: z.ZodBoolean;
73
+ viewStyle: z.ZodString;
74
+ workspaceId: z.ZodOptional<z.ZodString>;
75
+ folderId: z.ZodOptional<z.ZodString>;
76
+ childOrder: z.ZodNumber;
77
+ isArchived: z.ZodBoolean;
78
+ }, z.core.$strip>>;
79
+ totalCount: z.ZodNumber;
80
+ failures: z.ZodArray<z.ZodObject<{
81
+ item: z.ZodString;
82
+ error: z.ZodString;
83
+ code: z.ZodOptional<z.ZodString>;
84
+ }, z.core.$strip>>;
85
+ totalRequested: z.ZodNumber;
86
+ successCount: z.ZodNumber;
87
+ failureCount: z.ZodNumber;
88
+ };
89
+ annotations: {
90
+ readOnlyHint: false;
91
+ destructiveHint: false;
92
+ idempotentHint: false;
93
+ };
94
+ execute({ projects }: {
95
+ projects: {
96
+ name: string;
97
+ parentId?: string | undefined;
98
+ isFavorite?: boolean | undefined;
99
+ viewStyle?: "list" | "board" | "calendar" | "table" | undefined;
100
+ description?: string | undefined;
101
+ 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;
102
+ workspace?: string | undefined;
103
+ }[];
104
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
105
+ textContent: string;
106
+ structuredContent: {
107
+ projects: {
108
+ id: string;
109
+ name: string;
110
+ description: string;
111
+ color: import('@doist/todoist-sdk').ColorKey;
112
+ isFavorite: boolean;
113
+ isShared: boolean;
114
+ parentId: string | undefined;
115
+ inboxProject: boolean;
116
+ viewStyle: string;
117
+ workspaceId: string | undefined;
118
+ folderId: string | undefined;
119
+ childOrder: number;
120
+ isArchived: boolean;
121
+ }[];
122
+ totalCount: number;
123
+ failures: {
124
+ item: string;
125
+ error: string;
126
+ }[];
127
+ totalRequested: number;
128
+ successCount: number;
129
+ failureCount: number;
130
+ };
131
+ }>;
132
+ };
133
+ export { addProjects };
134
+ //# sourceMappingURL=add-projects.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-projects.d.ts","sourceRoot":"","sources":["../../src/tools/add-projects.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA8DvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAkDqB,MAAM;uBAAS,MAAM;;;;;;;CA8BI,CAAA;AA2E/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -0,0 +1,174 @@
1
+ import { z } from 'zod';
2
+ declare const addReminders: {
3
+ name: "add-reminders";
4
+ description: string;
5
+ parameters: {
6
+ reminders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
7
+ type: z.ZodLiteral<"relative">;
8
+ taskId: z.ZodString;
9
+ minuteOffset: z.ZodNumber;
10
+ service: z.ZodOptional<z.ZodEnum<{
11
+ push: "push";
12
+ email: "email";
13
+ }>>;
14
+ isUrgent: z.ZodOptional<z.ZodBoolean>;
15
+ notifyUser: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
16
+ }, z.core.$strip>, z.ZodObject<{
17
+ type: z.ZodLiteral<"absolute">;
18
+ taskId: z.ZodString;
19
+ due: z.ZodObject<{
20
+ date: z.ZodOptional<z.ZodString>;
21
+ string: z.ZodOptional<z.ZodString>;
22
+ timezone: z.ZodOptional<z.ZodString>;
23
+ lang: z.ZodOptional<z.ZodString>;
24
+ }, z.core.$strip>;
25
+ service: z.ZodOptional<z.ZodEnum<{
26
+ push: "push";
27
+ email: "email";
28
+ }>>;
29
+ isUrgent: z.ZodOptional<z.ZodBoolean>;
30
+ notifyUser: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ type: z.ZodLiteral<"location">;
33
+ taskId: z.ZodString;
34
+ name: z.ZodString;
35
+ locLat: z.ZodString;
36
+ locLong: z.ZodString;
37
+ locTrigger: z.ZodEnum<{
38
+ on_enter: "on_enter";
39
+ on_leave: "on_leave";
40
+ }>;
41
+ radius: z.ZodOptional<z.ZodNumber>;
42
+ notifyUser: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string | undefined, string>>>;
43
+ }, z.core.$strip>], "type">>;
44
+ };
45
+ outputSchema: {
46
+ reminders: z.ZodArray<z.ZodObject<{
47
+ id: z.ZodString;
48
+ taskId: z.ZodString;
49
+ type: z.ZodEnum<{
50
+ location: "location";
51
+ absolute: "absolute";
52
+ relative: "relative";
53
+ }>;
54
+ notifyUid: z.ZodOptional<z.ZodString>;
55
+ minuteOffset: z.ZodOptional<z.ZodNumber>;
56
+ due: z.ZodOptional<z.ZodObject<{
57
+ isRecurring: z.ZodBoolean;
58
+ string: z.ZodString;
59
+ date: z.ZodString;
60
+ datetime: z.ZodOptional<z.ZodString>;
61
+ timezone: z.ZodOptional<z.ZodString>;
62
+ }, z.core.$strip>>;
63
+ name: z.ZodOptional<z.ZodString>;
64
+ locLat: z.ZodOptional<z.ZodString>;
65
+ locLong: z.ZodOptional<z.ZodString>;
66
+ locTrigger: z.ZodOptional<z.ZodEnum<{
67
+ on_enter: "on_enter";
68
+ on_leave: "on_leave";
69
+ }>>;
70
+ radius: z.ZodOptional<z.ZodNumber>;
71
+ isUrgent: z.ZodOptional<z.ZodBoolean>;
72
+ }, z.core.$strip>>;
73
+ totalCount: z.ZodNumber;
74
+ addedReminderIds: z.ZodArray<z.ZodString>;
75
+ failures: z.ZodArray<z.ZodObject<{
76
+ item: z.ZodString;
77
+ error: z.ZodString;
78
+ code: z.ZodOptional<z.ZodString>;
79
+ }, z.core.$strip>>;
80
+ totalRequested: z.ZodNumber;
81
+ successCount: z.ZodNumber;
82
+ failureCount: z.ZodNumber;
83
+ };
84
+ annotations: {
85
+ readOnlyHint: false;
86
+ destructiveHint: false;
87
+ idempotentHint: false;
88
+ openWorldHint: true;
89
+ };
90
+ execute(args: {
91
+ reminders: ({
92
+ type: "relative";
93
+ taskId: string;
94
+ minuteOffset: number;
95
+ service?: "push" | "email" | undefined;
96
+ isUrgent?: boolean | undefined;
97
+ notifyUser?: string | undefined;
98
+ } | {
99
+ type: "absolute";
100
+ taskId: string;
101
+ due: {
102
+ date?: string | undefined;
103
+ string?: string | undefined;
104
+ timezone?: string | undefined;
105
+ lang?: string | undefined;
106
+ };
107
+ service?: "push" | "email" | undefined;
108
+ isUrgent?: boolean | undefined;
109
+ notifyUser?: string | undefined;
110
+ } | {
111
+ type: "location";
112
+ taskId: string;
113
+ name: string;
114
+ locLat: string;
115
+ locLong: string;
116
+ locTrigger: "on_enter" | "on_leave";
117
+ radius?: number | undefined;
118
+ notifyUser?: string | undefined;
119
+ })[];
120
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
121
+ textContent: string;
122
+ structuredContent: {
123
+ reminders: ({
124
+ minuteOffset: number;
125
+ due: {
126
+ isRecurring: boolean;
127
+ string: string;
128
+ date: string;
129
+ datetime: string | undefined;
130
+ timezone: string | undefined;
131
+ } | undefined;
132
+ isUrgent: boolean | undefined;
133
+ id: string;
134
+ taskId: string;
135
+ type: "location" | "absolute" | "relative";
136
+ notifyUid: string;
137
+ } | {
138
+ due: {
139
+ isRecurring: boolean;
140
+ string: string;
141
+ date: string;
142
+ datetime: string | undefined;
143
+ timezone: string | undefined;
144
+ };
145
+ isUrgent: boolean | undefined;
146
+ id: string;
147
+ taskId: string;
148
+ type: "location" | "absolute" | "relative";
149
+ notifyUid: string;
150
+ } | {
151
+ name: string;
152
+ locLat: string;
153
+ locLong: string;
154
+ locTrigger: "on_enter" | "on_leave";
155
+ radius: number;
156
+ id: string;
157
+ taskId: string;
158
+ type: "location" | "absolute" | "relative";
159
+ notifyUid: string;
160
+ })[];
161
+ totalCount: number;
162
+ addedReminderIds: string[];
163
+ failures: {
164
+ item: string;
165
+ error: string;
166
+ }[];
167
+ totalRequested: number;
168
+ successCount: number;
169
+ failureCount: number;
170
+ };
171
+ }>;
172
+ };
173
+ export { addReminders };
174
+ //# sourceMappingURL=add-reminders.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-reminders.d.ts","sourceRoot":"","sources":["../../src/tools/add-reminders.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA+FvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAwEoB,MAAM;uBAAS,MAAM;;;;;;;CAsCI,CAAA;AAkB/D,OAAO,EAAE,YAAY,EAAE,CAAA"}