@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,121 @@
1
+ import { z } from 'zod';
2
+ declare const updateFilters: {
3
+ name: "update-filters";
4
+ description: string;
5
+ parameters: {
6
+ filters: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodString;
8
+ name: z.ZodOptional<z.ZodString>;
9
+ query: z.ZodOptional<z.ZodString>;
10
+ description: z.ZodOptional<z.ZodPreprocess<z.ZodString, unknown>>;
11
+ color: z.ZodPreprocess<z.ZodOptional<z.ZodEnum<{
12
+ berry_red: "berry_red";
13
+ red: "red";
14
+ orange: "orange";
15
+ yellow: "yellow";
16
+ olive_green: "olive_green";
17
+ lime_green: "lime_green";
18
+ green: "green";
19
+ mint_green: "mint_green";
20
+ teal: "teal";
21
+ sky_blue: "sky_blue";
22
+ light_blue: "light_blue";
23
+ blue: "blue";
24
+ grape: "grape";
25
+ violet: "violet";
26
+ lavender: "lavender";
27
+ magenta: "magenta";
28
+ salmon: "salmon";
29
+ charcoal: "charcoal";
30
+ grey: "grey";
31
+ taupe: "taupe";
32
+ }>>, unknown>;
33
+ isFavorite: z.ZodOptional<z.ZodBoolean>;
34
+ }, z.core.$strip>>;
35
+ };
36
+ outputSchema: {
37
+ filters: z.ZodArray<z.ZodObject<{
38
+ id: z.ZodString;
39
+ name: z.ZodString;
40
+ query: z.ZodString;
41
+ description: z.ZodOptional<z.ZodString>;
42
+ color: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
43
+ berry_red: "berry_red";
44
+ red: "red";
45
+ orange: "orange";
46
+ yellow: "yellow";
47
+ olive_green: "olive_green";
48
+ lime_green: "lime_green";
49
+ green: "green";
50
+ mint_green: "mint_green";
51
+ teal: "teal";
52
+ sky_blue: "sky_blue";
53
+ light_blue: "light_blue";
54
+ blue: "blue";
55
+ grape: "grape";
56
+ violet: "violet";
57
+ lavender: "lavender";
58
+ magenta: "magenta";
59
+ salmon: "salmon";
60
+ charcoal: "charcoal";
61
+ grey: "grey";
62
+ taupe: "taupe";
63
+ }>>>;
64
+ isFavorite: z.ZodBoolean;
65
+ itemOrder: z.ZodNumber;
66
+ }, z.core.$strip>>;
67
+ totalCount: z.ZodNumber;
68
+ updatedFilterIds: z.ZodArray<z.ZodString>;
69
+ failures: z.ZodArray<z.ZodObject<{
70
+ item: z.ZodString;
71
+ error: z.ZodString;
72
+ code: z.ZodOptional<z.ZodString>;
73
+ }, z.core.$strip>>;
74
+ appliedOperations: z.ZodObject<{
75
+ updateCount: z.ZodNumber;
76
+ skippedCount: z.ZodNumber;
77
+ failureCount: z.ZodNumber;
78
+ }, z.core.$strip>;
79
+ };
80
+ annotations: {
81
+ readOnlyHint: false;
82
+ destructiveHint: true;
83
+ idempotentHint: false;
84
+ };
85
+ execute(args: {
86
+ filters: {
87
+ id: string;
88
+ name?: string | undefined;
89
+ query?: string | undefined;
90
+ description?: string | undefined;
91
+ 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;
92
+ isFavorite?: boolean | undefined;
93
+ }[];
94
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
95
+ textContent: string;
96
+ structuredContent: {
97
+ filters: {
98
+ id: string;
99
+ name: string;
100
+ query: string;
101
+ isFavorite: boolean;
102
+ itemOrder: number;
103
+ description?: string | undefined;
104
+ 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;
105
+ }[];
106
+ totalCount: number;
107
+ updatedFilterIds: string[];
108
+ failures: {
109
+ item: string;
110
+ error: string;
111
+ }[];
112
+ appliedOperations: {
113
+ updateCount: number;
114
+ skippedCount: number;
115
+ failureCount: number;
116
+ };
117
+ };
118
+ }>;
119
+ };
120
+ export { updateFilters };
121
+ //# sourceMappingURL=update-filters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-filters.d.ts","sourceRoot":"","sources":["../../src/tools/update-filters.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAiEvB,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAqDmB,MAAM;uBAAS,MAAM;;;;;;;;;CA8DI,CAAA;AAqD/D,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -0,0 +1,133 @@
1
+ import { z } from 'zod';
2
+ declare const updateLabels: {
3
+ name: "update-labels";
4
+ description: string;
5
+ parameters: {
6
+ labels: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
7
+ labelType: z.ZodLiteral<"personal">;
8
+ id: z.ZodString;
9
+ name: z.ZodOptional<z.ZodString>;
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
+ order: z.ZodOptional<z.ZodNumber>;
33
+ isFavorite: z.ZodOptional<z.ZodBoolean>;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ labelType: z.ZodLiteral<"shared">;
36
+ name: z.ZodString;
37
+ newName: z.ZodString;
38
+ }, z.core.$strip>], "labelType">>;
39
+ };
40
+ outputSchema: {
41
+ updatedLabels: z.ZodArray<z.ZodObject<{
42
+ id: z.ZodString;
43
+ name: z.ZodString;
44
+ color: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
45
+ berry_red: "berry_red";
46
+ red: "red";
47
+ orange: "orange";
48
+ yellow: "yellow";
49
+ olive_green: "olive_green";
50
+ lime_green: "lime_green";
51
+ green: "green";
52
+ mint_green: "mint_green";
53
+ teal: "teal";
54
+ sky_blue: "sky_blue";
55
+ light_blue: "light_blue";
56
+ blue: "blue";
57
+ grape: "grape";
58
+ violet: "violet";
59
+ lavender: "lavender";
60
+ magenta: "magenta";
61
+ salmon: "salmon";
62
+ charcoal: "charcoal";
63
+ grey: "grey";
64
+ taupe: "taupe";
65
+ }>>>;
66
+ order: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
67
+ isFavorite: z.ZodBoolean;
68
+ }, z.core.$strip>>;
69
+ renamedSharedLabels: z.ZodArray<z.ZodObject<{
70
+ name: z.ZodString;
71
+ newName: z.ZodString;
72
+ }, z.core.$strip>>;
73
+ totalCount: z.ZodNumber;
74
+ failures: z.ZodArray<z.ZodObject<{
75
+ item: z.ZodString;
76
+ error: z.ZodString;
77
+ code: z.ZodOptional<z.ZodString>;
78
+ }, z.core.$strip>>;
79
+ appliedOperations: z.ZodObject<{
80
+ updateCount: z.ZodNumber;
81
+ renameCount: z.ZodNumber;
82
+ skippedCount: z.ZodNumber;
83
+ failureCount: z.ZodNumber;
84
+ }, z.core.$strip>;
85
+ };
86
+ annotations: {
87
+ readOnlyHint: false;
88
+ destructiveHint: true;
89
+ idempotentHint: false;
90
+ };
91
+ execute(args: {
92
+ labels: ({
93
+ labelType: "personal";
94
+ id: string;
95
+ name?: string | undefined;
96
+ 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;
97
+ order?: number | undefined;
98
+ isFavorite?: boolean | undefined;
99
+ } | {
100
+ labelType: "shared";
101
+ name: string;
102
+ newName: string;
103
+ })[];
104
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
105
+ textContent: string;
106
+ structuredContent: {
107
+ updatedLabels: {
108
+ id: string;
109
+ name: string;
110
+ isFavorite: boolean;
111
+ 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;
112
+ order?: number | undefined;
113
+ }[];
114
+ renamedSharedLabels: {
115
+ name: string;
116
+ newName: string;
117
+ }[];
118
+ totalCount: number;
119
+ failures: {
120
+ item: string;
121
+ error: string;
122
+ }[];
123
+ appliedOperations: {
124
+ updateCount: number;
125
+ renameCount: number;
126
+ skippedCount: number;
127
+ failureCount: number;
128
+ };
129
+ };
130
+ }>;
131
+ };
132
+ export { updateLabels };
133
+ //# sourceMappingURL=update-labels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-labels.d.ts","sourceRoot":"","sources":["../../src/tools/update-labels.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA4EvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAqCoB,MAAM;uBAAS,MAAM;;;;;;;;;;CAkEI,CAAA;AAiD/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -0,0 +1,138 @@
1
+ import { z } from 'zod';
2
+ declare const updateProjects: {
3
+ name: "update-projects";
4
+ description: string;
5
+ parameters: {
6
+ projects: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodString;
8
+ name: 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.ZodPreprocess<z.ZodString, unknown>>;
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
+ }, z.core.$strip>>;
40
+ };
41
+ outputSchema: {
42
+ projects: z.ZodArray<z.ZodObject<{
43
+ id: z.ZodString;
44
+ name: z.ZodString;
45
+ description: z.ZodString;
46
+ color: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
47
+ berry_red: "berry_red";
48
+ red: "red";
49
+ orange: "orange";
50
+ yellow: "yellow";
51
+ olive_green: "olive_green";
52
+ lime_green: "lime_green";
53
+ green: "green";
54
+ mint_green: "mint_green";
55
+ teal: "teal";
56
+ sky_blue: "sky_blue";
57
+ light_blue: "light_blue";
58
+ blue: "blue";
59
+ grape: "grape";
60
+ violet: "violet";
61
+ lavender: "lavender";
62
+ magenta: "magenta";
63
+ salmon: "salmon";
64
+ charcoal: "charcoal";
65
+ grey: "grey";
66
+ taupe: "taupe";
67
+ }>>>;
68
+ isFavorite: z.ZodBoolean;
69
+ isShared: z.ZodBoolean;
70
+ parentId: z.ZodOptional<z.ZodString>;
71
+ inboxProject: z.ZodBoolean;
72
+ viewStyle: z.ZodString;
73
+ workspaceId: z.ZodOptional<z.ZodString>;
74
+ folderId: z.ZodOptional<z.ZodString>;
75
+ childOrder: z.ZodNumber;
76
+ isArchived: z.ZodBoolean;
77
+ }, z.core.$strip>>;
78
+ totalCount: z.ZodNumber;
79
+ updatedProjectIds: z.ZodArray<z.ZodString>;
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
+ appliedOperations: z.ZodObject<{
86
+ updateCount: z.ZodNumber;
87
+ skippedCount: z.ZodNumber;
88
+ failureCount: z.ZodNumber;
89
+ }, z.core.$strip>;
90
+ };
91
+ annotations: {
92
+ readOnlyHint: false;
93
+ destructiveHint: true;
94
+ idempotentHint: false;
95
+ };
96
+ execute(args: {
97
+ projects: {
98
+ id: string;
99
+ name?: string | undefined;
100
+ isFavorite?: boolean | undefined;
101
+ viewStyle?: "list" | "board" | "calendar" | "table" | undefined;
102
+ description?: string | undefined;
103
+ 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;
104
+ }[];
105
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
106
+ textContent: string;
107
+ structuredContent: {
108
+ projects: {
109
+ id: string;
110
+ name: string;
111
+ description: string;
112
+ color: import('@doist/todoist-sdk').ColorKey;
113
+ isFavorite: boolean;
114
+ isShared: boolean;
115
+ parentId: string | undefined;
116
+ inboxProject: boolean;
117
+ viewStyle: string;
118
+ workspaceId: string | undefined;
119
+ folderId: string | undefined;
120
+ childOrder: number;
121
+ isArchived: boolean;
122
+ }[];
123
+ totalCount: number;
124
+ updatedProjectIds: string[];
125
+ failures: {
126
+ item: string;
127
+ error: string;
128
+ }[];
129
+ appliedOperations: {
130
+ updateCount: number;
131
+ skippedCount: number;
132
+ failureCount: number;
133
+ };
134
+ };
135
+ }>;
136
+ };
137
+ export { updateProjects };
138
+ //# sourceMappingURL=update-projects.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-projects.d.ts","sourceRoot":"","sources":["../../src/tools/update-projects.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAuDvB,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAgCkB,MAAM;uBAAS,MAAM;;;;;;;;;CA8CI,CAAA;AA4C/D,OAAO,EAAE,cAAc,EAAE,CAAA"}
@@ -0,0 +1,176 @@
1
+ import { z } from 'zod';
2
+ declare const updateReminders: {
3
+ name: "update-reminders";
4
+ description: string;
5
+ parameters: {
6
+ reminders: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
7
+ type: z.ZodLiteral<"relative">;
8
+ id: z.ZodString;
9
+ minuteOffset: z.ZodOptional<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
+ id: z.ZodString;
19
+ due: z.ZodOptional<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
+ id: z.ZodString;
34
+ name: z.ZodOptional<z.ZodString>;
35
+ locLat: z.ZodOptional<z.ZodString>;
36
+ locLong: z.ZodOptional<z.ZodString>;
37
+ locTrigger: z.ZodOptional<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
+ updatedReminderIds: 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
+ appliedOperations: z.ZodObject<{
81
+ updateCount: z.ZodNumber;
82
+ failureCount: z.ZodNumber;
83
+ }, z.core.$strip>;
84
+ };
85
+ annotations: {
86
+ readOnlyHint: false;
87
+ destructiveHint: true;
88
+ idempotentHint: true;
89
+ openWorldHint: true;
90
+ };
91
+ execute(args: {
92
+ reminders: ({
93
+ type: "relative";
94
+ id: string;
95
+ minuteOffset?: number | undefined;
96
+ service?: "push" | "email" | undefined;
97
+ isUrgent?: boolean | undefined;
98
+ notifyUser?: string | undefined;
99
+ } | {
100
+ type: "absolute";
101
+ id: string;
102
+ due?: {
103
+ date?: string | undefined;
104
+ string?: string | undefined;
105
+ timezone?: string | undefined;
106
+ lang?: string | undefined;
107
+ } | undefined;
108
+ service?: "push" | "email" | undefined;
109
+ isUrgent?: boolean | undefined;
110
+ notifyUser?: string | undefined;
111
+ } | {
112
+ type: "location";
113
+ id: string;
114
+ name?: string | undefined;
115
+ locLat?: string | undefined;
116
+ locLong?: string | undefined;
117
+ locTrigger?: "on_enter" | "on_leave" | undefined;
118
+ radius?: number | undefined;
119
+ notifyUser?: string | undefined;
120
+ })[];
121
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
122
+ textContent: string;
123
+ structuredContent: {
124
+ reminders: ({
125
+ minuteOffset: number;
126
+ due: {
127
+ isRecurring: boolean;
128
+ string: string;
129
+ date: string;
130
+ datetime: string | undefined;
131
+ timezone: string | undefined;
132
+ } | undefined;
133
+ isUrgent: boolean | undefined;
134
+ id: string;
135
+ taskId: string;
136
+ type: "location" | "absolute" | "relative";
137
+ notifyUid: string;
138
+ } | {
139
+ due: {
140
+ isRecurring: boolean;
141
+ string: string;
142
+ date: string;
143
+ datetime: string | undefined;
144
+ timezone: string | undefined;
145
+ };
146
+ isUrgent: boolean | undefined;
147
+ id: string;
148
+ taskId: string;
149
+ type: "location" | "absolute" | "relative";
150
+ notifyUid: string;
151
+ } | {
152
+ name: string;
153
+ locLat: string;
154
+ locLong: string;
155
+ locTrigger: "on_enter" | "on_leave";
156
+ radius: number;
157
+ id: string;
158
+ taskId: string;
159
+ type: "location" | "absolute" | "relative";
160
+ notifyUid: string;
161
+ })[];
162
+ totalCount: number;
163
+ updatedReminderIds: string[];
164
+ failures: {
165
+ item: string;
166
+ error: string;
167
+ }[];
168
+ appliedOperations: {
169
+ updateCount: number;
170
+ failureCount: number;
171
+ };
172
+ };
173
+ }>;
174
+ };
175
+ export { updateReminders };
176
+ //# sourceMappingURL=update-reminders.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-reminders.d.ts","sourceRoot":"","sources":["../../src/tools/update-reminders.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAuFvB,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAgEiB,MAAM;uBAAS,MAAM;;;;;;;;CAwCI,CAAA;AAE/D,OAAO,EAAE,eAAe,EAAE,CAAA"}
@@ -0,0 +1,65 @@
1
+ import { z } from 'zod';
2
+ declare const updateSections: {
3
+ name: "update-sections";
4
+ description: string;
5
+ parameters: {
6
+ sections: z.ZodArray<z.ZodObject<{
7
+ id: z.ZodString;
8
+ name: z.ZodOptional<z.ZodString>;
9
+ description: z.ZodOptional<z.ZodPreprocess<z.ZodString, unknown>>;
10
+ }, z.core.$strip>>;
11
+ };
12
+ outputSchema: {
13
+ sections: z.ZodArray<z.ZodObject<{
14
+ id: z.ZodString;
15
+ name: z.ZodString;
16
+ sectionOrder: z.ZodNumber;
17
+ description: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strip>>;
19
+ totalCount: z.ZodNumber;
20
+ updatedSectionIds: z.ZodArray<z.ZodString>;
21
+ failures: z.ZodArray<z.ZodObject<{
22
+ item: z.ZodString;
23
+ error: z.ZodString;
24
+ code: z.ZodOptional<z.ZodString>;
25
+ }, z.core.$strip>>;
26
+ appliedOperations: z.ZodObject<{
27
+ updateCount: z.ZodNumber;
28
+ failureCount: z.ZodNumber;
29
+ }, z.core.$strip>;
30
+ };
31
+ annotations: {
32
+ readOnlyHint: false;
33
+ destructiveHint: true;
34
+ idempotentHint: false;
35
+ };
36
+ execute({ sections }: {
37
+ sections: {
38
+ id: string;
39
+ name?: string | undefined;
40
+ description?: string | undefined;
41
+ }[];
42
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
43
+ textContent: string;
44
+ structuredContent: {
45
+ sections: {
46
+ id: string;
47
+ name: string;
48
+ sectionOrder: number;
49
+ description?: string | undefined;
50
+ }[];
51
+ totalCount: number;
52
+ updatedSectionIds: string[];
53
+ failures: {
54
+ item: string;
55
+ error: string;
56
+ }[];
57
+ appliedOperations: {
58
+ updateCount: number;
59
+ failureCount: number;
60
+ };
61
+ };
62
+ }>;
63
+ };
64
+ export { updateSections };
65
+ //# sourceMappingURL=update-sections.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-sections.d.ts","sourceRoot":"","sources":["../../src/tools/update-sections.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAqDvB,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA2BkB,MAAM;uBAAS,MAAM;;;;;;;;CAkCI,CAAA;AAsB/D,OAAO,EAAE,cAAc,EAAE,CAAA"}