@doist/todoist-ai 8.12.3 → 9.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 (170) hide show
  1. package/README.md +11 -206
  2. package/bin/_launcher.js +16 -0
  3. package/bin/todoist-ai-http.js +4 -0
  4. package/bin/todoist-ai.js +4 -0
  5. package/index.d.ts +1 -0
  6. package/index.mjs +1 -0
  7. package/package.json +20 -108
  8. package/LICENSE +0 -21
  9. package/dist/filter-helpers.d.ts +0 -51
  10. package/dist/filter-helpers.d.ts.map +0 -1
  11. package/dist/index.d.ts +0 -2954
  12. package/dist/index.d.ts.map +0 -1
  13. package/dist/index.js +0 -103
  14. package/dist/main-http.d.ts +0 -3
  15. package/dist/main-http.d.ts.map +0 -1
  16. package/dist/main-http.js +0 -41
  17. package/dist/main.d.ts +0 -3
  18. package/dist/main.d.ts.map +0 -1
  19. package/dist/main.js +0 -17
  20. package/dist/mcp-apps/index.html +0 -98
  21. package/dist/mcp-helpers.d.ts +0 -58
  22. package/dist/mcp-helpers.d.ts.map +0 -1
  23. package/dist/mcp-server-B-6X4t3u.js +0 -6133
  24. package/dist/mcp-server.d.ts +0 -16
  25. package/dist/mcp-server.d.ts.map +0 -1
  26. package/dist/middleware/require-valid-todoist-token.d.ts +0 -38
  27. package/dist/middleware/require-valid-todoist-token.d.ts.map +0 -1
  28. package/dist/prompts/productivity-analysis.d.ts +0 -58
  29. package/dist/prompts/productivity-analysis.d.ts.map +0 -1
  30. package/dist/require-valid-todoist-token-CUTCSVRV.js +0 -72
  31. package/dist/todoist-tool.d.ts +0 -62
  32. package/dist/todoist-tool.d.ts.map +0 -1
  33. package/dist/tool-execution-error.d.ts +0 -7
  34. package/dist/tool-execution-error.d.ts.map +0 -1
  35. package/dist/tool-helpers.d.ts +0 -265
  36. package/dist/tool-helpers.d.ts.map +0 -1
  37. package/dist/tools/add-comments.d.ts +0 -83
  38. package/dist/tools/add-comments.d.ts.map +0 -1
  39. package/dist/tools/add-filters.d.ts +0 -94
  40. package/dist/tools/add-filters.d.ts.map +0 -1
  41. package/dist/tools/add-labels.d.ts +0 -92
  42. package/dist/tools/add-labels.d.ts.map +0 -1
  43. package/dist/tools/add-projects.d.ts +0 -112
  44. package/dist/tools/add-projects.d.ts.map +0 -1
  45. package/dist/tools/add-reminders.d.ts +0 -148
  46. package/dist/tools/add-reminders.d.ts.map +0 -1
  47. package/dist/tools/add-sections.d.ts +0 -40
  48. package/dist/tools/add-sections.d.ts.map +0 -1
  49. package/dist/tools/add-tasks.d.ts +0 -118
  50. package/dist/tools/add-tasks.d.ts.map +0 -1
  51. package/dist/tools/analyze-project-health.d.ts +0 -45
  52. package/dist/tools/analyze-project-health.d.ts.map +0 -1
  53. package/dist/tools/complete-tasks.d.ts +0 -42
  54. package/dist/tools/complete-tasks.d.ts.map +0 -1
  55. package/dist/tools/delete-object.d.ts +0 -54
  56. package/dist/tools/delete-object.d.ts.map +0 -1
  57. package/dist/tools/fetch-object.d.ts +0 -199
  58. package/dist/tools/fetch-object.d.ts.map +0 -1
  59. package/dist/tools/fetch.d.ts +0 -41
  60. package/dist/tools/fetch.d.ts.map +0 -1
  61. package/dist/tools/find-activity.d.ts +0 -91
  62. package/dist/tools/find-activity.d.ts.map +0 -1
  63. package/dist/tools/find-comments.d.ts +0 -89
  64. package/dist/tools/find-comments.d.ts.map +0 -1
  65. package/dist/tools/find-completed-tasks.d.ts +0 -115
  66. package/dist/tools/find-completed-tasks.d.ts.map +0 -1
  67. package/dist/tools/find-filters.d.ts +0 -92
  68. package/dist/tools/find-filters.d.ts.map +0 -1
  69. package/dist/tools/find-labels.d.ts +0 -81
  70. package/dist/tools/find-labels.d.ts.map +0 -1
  71. package/dist/tools/find-project-collaborators.d.ts +0 -94
  72. package/dist/tools/find-project-collaborators.d.ts.map +0 -1
  73. package/dist/tools/find-projects.d.ts +0 -87
  74. package/dist/tools/find-projects.d.ts.map +0 -1
  75. package/dist/tools/find-reminders.d.ts +0 -95
  76. package/dist/tools/find-reminders.d.ts.map +0 -1
  77. package/dist/tools/find-sections.d.ts +0 -41
  78. package/dist/tools/find-sections.d.ts.map +0 -1
  79. package/dist/tools/find-tasks-by-date.d.ts +0 -133
  80. package/dist/tools/find-tasks-by-date.d.ts.map +0 -1
  81. package/dist/tools/find-tasks.d.ts +0 -116
  82. package/dist/tools/find-tasks.d.ts.map +0 -1
  83. package/dist/tools/get-overview.d.ts +0 -123
  84. package/dist/tools/get-overview.d.ts.map +0 -1
  85. package/dist/tools/get-productivity-stats.d.ts +0 -160
  86. package/dist/tools/get-productivity-stats.d.ts.map +0 -1
  87. package/dist/tools/get-project-activity-stats.d.ts +0 -48
  88. package/dist/tools/get-project-activity-stats.d.ts.map +0 -1
  89. package/dist/tools/get-project-health.d.ts +0 -112
  90. package/dist/tools/get-project-health.d.ts.map +0 -1
  91. package/dist/tools/get-workspace-insights.d.ts +0 -65
  92. package/dist/tools/get-workspace-insights.d.ts.map +0 -1
  93. package/dist/tools/list-workspaces.d.ts +0 -54
  94. package/dist/tools/list-workspaces.d.ts.map +0 -1
  95. package/dist/tools/manage-assignments.d.ts +0 -72
  96. package/dist/tools/manage-assignments.d.ts.map +0 -1
  97. package/dist/tools/project-management.d.ts +0 -78
  98. package/dist/tools/project-management.d.ts.map +0 -1
  99. package/dist/tools/project-move.d.ts +0 -88
  100. package/dist/tools/project-move.d.ts.map +0 -1
  101. package/dist/tools/reorder-objects.d.ts +0 -50
  102. package/dist/tools/reorder-objects.d.ts.map +0 -1
  103. package/dist/tools/reschedule-tasks.d.ts +0 -78
  104. package/dist/tools/reschedule-tasks.d.ts.map +0 -1
  105. package/dist/tools/search.d.ts +0 -43
  106. package/dist/tools/search.d.ts.map +0 -1
  107. package/dist/tools/uncomplete-tasks.d.ts +0 -42
  108. package/dist/tools/uncomplete-tasks.d.ts.map +0 -1
  109. package/dist/tools/update-comments.d.ts +0 -87
  110. package/dist/tools/update-comments.d.ts.map +0 -1
  111. package/dist/tools/update-filters.d.ts +0 -106
  112. package/dist/tools/update-filters.d.ts.map +0 -1
  113. package/dist/tools/update-labels.d.ts +0 -122
  114. package/dist/tools/update-labels.d.ts.map +0 -1
  115. package/dist/tools/update-projects.d.ts +0 -120
  116. package/dist/tools/update-projects.d.ts.map +0 -1
  117. package/dist/tools/update-reminders.d.ts +0 -148
  118. package/dist/tools/update-reminders.d.ts.map +0 -1
  119. package/dist/tools/update-sections.d.ts +0 -42
  120. package/dist/tools/update-sections.d.ts.map +0 -1
  121. package/dist/tools/update-tasks.d.ts +0 -113
  122. package/dist/tools/update-tasks.d.ts.map +0 -1
  123. package/dist/tools/user-info.d.ts +0 -57
  124. package/dist/tools/user-info.d.ts.map +0 -1
  125. package/dist/tools/view-attachment.d.ts +0 -25
  126. package/dist/tools/view-attachment.d.ts.map +0 -1
  127. package/dist/usage-tracking.d.ts +0 -27
  128. package/dist/usage-tracking.d.ts.map +0 -1
  129. package/dist/utils/assignment-validator.d.ts +0 -69
  130. package/dist/utils/assignment-validator.d.ts.map +0 -1
  131. package/dist/utils/colors.d.ts +0 -68
  132. package/dist/utils/colors.d.ts.map +0 -1
  133. package/dist/utils/constants.d.ts +0 -53
  134. package/dist/utils/constants.d.ts.map +0 -1
  135. package/dist/utils/date.d.ts +0 -18
  136. package/dist/utils/date.d.ts.map +0 -1
  137. package/dist/utils/duration-parser.d.ts +0 -36
  138. package/dist/utils/duration-parser.d.ts.map +0 -1
  139. package/dist/utils/filter-resolver.d.ts +0 -27
  140. package/dist/utils/filter-resolver.d.ts.map +0 -1
  141. package/dist/utils/labels.d.ts +0 -13
  142. package/dist/utils/labels.d.ts.map +0 -1
  143. package/dist/utils/output-schemas.d.ts +0 -199
  144. package/dist/utils/output-schemas.d.ts.map +0 -1
  145. package/dist/utils/priorities.d.ts +0 -14
  146. package/dist/utils/priorities.d.ts.map +0 -1
  147. package/dist/utils/reminder-schemas.d.ts +0 -33
  148. package/dist/utils/reminder-schemas.d.ts.map +0 -1
  149. package/dist/utils/response-builders.d.ts +0 -93
  150. package/dist/utils/response-builders.d.ts.map +0 -1
  151. package/dist/utils/retry.d.ts +0 -10
  152. package/dist/utils/retry.d.ts.map +0 -1
  153. package/dist/utils/sanitize-data.d.ts +0 -10
  154. package/dist/utils/sanitize-data.d.ts.map +0 -1
  155. package/dist/utils/schema-helpers.d.ts +0 -10
  156. package/dist/utils/schema-helpers.d.ts.map +0 -1
  157. package/dist/utils/test-helpers.d.ts +0 -91
  158. package/dist/utils/test-helpers.d.ts.map +0 -1
  159. package/dist/utils/tool-names.d.ts +0 -56
  160. package/dist/utils/tool-names.d.ts.map +0 -1
  161. package/dist/utils/user-resolver.d.ts +0 -39
  162. package/dist/utils/user-resolver.d.ts.map +0 -1
  163. package/dist/utils/validate-todoist-token.d.ts +0 -9
  164. package/dist/utils/validate-todoist-token.d.ts.map +0 -1
  165. package/dist/utils/workspace-resolver.d.ts +0 -31
  166. package/dist/utils/workspace-resolver.d.ts.map +0 -1
  167. package/scripts/bump-plugin-version.mjs +0 -14
  168. package/scripts/run-tool.ts +0 -240
  169. package/scripts/test-executable.cjs +0 -69
  170. package/scripts/validate-schemas.ts +0 -284
@@ -1,42 +0,0 @@
1
- import { z } from 'zod';
2
- declare const completeTasks: {
3
- name: "complete-tasks";
4
- description: string;
5
- parameters: {
6
- ids: z.ZodArray<z.ZodString>;
7
- };
8
- outputSchema: {
9
- completed: z.ZodArray<z.ZodString>;
10
- failures: z.ZodArray<z.ZodObject<{
11
- item: z.ZodString;
12
- error: z.ZodString;
13
- code: z.ZodOptional<z.ZodString>;
14
- }, z.core.$strip>>;
15
- totalRequested: z.ZodNumber;
16
- successCount: z.ZodNumber;
17
- failureCount: z.ZodNumber;
18
- };
19
- annotations: {
20
- readOnlyHint: false;
21
- destructiveHint: true;
22
- idempotentHint: false;
23
- };
24
- execute(args: {
25
- ids: string[];
26
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
27
- textContent: string;
28
- structuredContent: {
29
- completed: string[];
30
- failures: {
31
- item: string;
32
- error: string;
33
- code?: string;
34
- }[];
35
- totalRequested: number;
36
- successCount: number;
37
- failureCount: number;
38
- };
39
- }>;
40
- };
41
- export { completeTasks };
42
- //# sourceMappingURL=complete-tasks.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"complete-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/complete-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkBvB,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAQmB,MAAM;uBAAS,MAAM;uBAAS,MAAM;;;;;;;CAgCX,CAAA;AAoB/D,OAAO,EAAE,aAAa,EAAE,CAAA"}
@@ -1,54 +0,0 @@
1
- import { z } from 'zod';
2
- declare const deleteObject: {
3
- name: "delete-object";
4
- description: string;
5
- parameters: {
6
- type: z.ZodEnum<{
7
- label: "label";
8
- filter: "filter";
9
- comment: "comment";
10
- reminder: "reminder";
11
- task: "task";
12
- project: "project";
13
- section: "section";
14
- location_reminder: "location_reminder";
15
- }>;
16
- id: z.ZodString;
17
- };
18
- outputSchema: {
19
- deletedEntity: z.ZodObject<{
20
- type: z.ZodEnum<{
21
- label: "label";
22
- filter: "filter";
23
- comment: "comment";
24
- reminder: "reminder";
25
- task: "task";
26
- project: "project";
27
- section: "section";
28
- location_reminder: "location_reminder";
29
- }>;
30
- id: z.ZodString;
31
- }, z.core.$strip>;
32
- success: z.ZodBoolean;
33
- };
34
- annotations: {
35
- readOnlyHint: false;
36
- destructiveHint: true;
37
- idempotentHint: true;
38
- };
39
- execute(args: {
40
- type: "label" | "filter" | "comment" | "reminder" | "task" | "project" | "section" | "location_reminder";
41
- id: string;
42
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
43
- textContent: string;
44
- structuredContent: {
45
- deletedEntity: {
46
- type: "label" | "filter" | "comment" | "reminder" | "task" | "project" | "section" | "location_reminder";
47
- id: string;
48
- };
49
- success: true;
50
- };
51
- }>;
52
- };
53
- export { deleteObject };
54
- //# sourceMappingURL=delete-object.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"delete-object.d.ts","sourceRoot":"","sources":["../../src/tools/delete-object.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA8BvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoD6C,CAAA;AAE/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -1,199 +0,0 @@
1
- import { z } from 'zod';
2
- declare const fetchObject: {
3
- name: "fetch-object";
4
- description: string;
5
- parameters: {
6
- type: z.ZodEnum<{
7
- comment: "comment";
8
- task: "task";
9
- project: "project";
10
- section: "section";
11
- }>;
12
- id: z.ZodString;
13
- };
14
- outputSchema: {
15
- type: z.ZodEnum<{
16
- comment: "comment";
17
- task: "task";
18
- project: "project";
19
- section: "section";
20
- }>;
21
- id: z.ZodString;
22
- object: z.ZodUnion<readonly [z.ZodObject<{
23
- id: z.ZodString;
24
- content: z.ZodString;
25
- description: z.ZodString;
26
- dueDate: z.ZodOptional<z.ZodString>;
27
- recurring: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
28
- deadlineDate: z.ZodOptional<z.ZodString>;
29
- priority: z.ZodEnum<{
30
- p1: "p1";
31
- p2: "p2";
32
- p3: "p3";
33
- p4: "p4";
34
- }>;
35
- projectId: z.ZodString;
36
- sectionId: z.ZodOptional<z.ZodString>;
37
- parentId: z.ZodOptional<z.ZodString>;
38
- labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
39
- duration: z.ZodOptional<z.ZodString>;
40
- responsibleUid: z.ZodOptional<z.ZodString>;
41
- isUncompletable: z.ZodOptional<z.ZodBoolean>;
42
- assignedByUid: z.ZodOptional<z.ZodString>;
43
- checked: z.ZodBoolean;
44
- completedAt: z.ZodOptional<z.ZodString>;
45
- }, z.core.$strip>, z.ZodObject<{
46
- id: z.ZodString;
47
- name: z.ZodString;
48
- color: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
49
- berry_red: "berry_red";
50
- red: "red";
51
- orange: "orange";
52
- yellow: "yellow";
53
- olive_green: "olive_green";
54
- lime_green: "lime_green";
55
- green: "green";
56
- mint_green: "mint_green";
57
- teal: "teal";
58
- sky_blue: "sky_blue";
59
- light_blue: "light_blue";
60
- blue: "blue";
61
- grape: "grape";
62
- violet: "violet";
63
- lavender: "lavender";
64
- magenta: "magenta";
65
- salmon: "salmon";
66
- charcoal: "charcoal";
67
- grey: "grey";
68
- taupe: "taupe";
69
- }>>>;
70
- isFavorite: z.ZodBoolean;
71
- isShared: z.ZodBoolean;
72
- parentId: z.ZodOptional<z.ZodString>;
73
- inboxProject: z.ZodBoolean;
74
- viewStyle: z.ZodString;
75
- workspaceId: z.ZodOptional<z.ZodString>;
76
- folderId: z.ZodOptional<z.ZodString>;
77
- childOrder: z.ZodNumber;
78
- }, z.core.$strip>, z.ZodObject<{
79
- id: z.ZodString;
80
- taskId: z.ZodOptional<z.ZodString>;
81
- projectId: z.ZodOptional<z.ZodString>;
82
- content: z.ZodString;
83
- postedAt: z.ZodString;
84
- postedUid: z.ZodOptional<z.ZodString>;
85
- fileAttachment: z.ZodOptional<z.ZodObject<{
86
- resourceType: z.ZodString;
87
- fileName: z.ZodOptional<z.ZodString>;
88
- fileSize: z.ZodOptional<z.ZodNumber>;
89
- fileType: z.ZodOptional<z.ZodString>;
90
- fileUrl: z.ZodOptional<z.ZodString>;
91
- fileDuration: z.ZodOptional<z.ZodNumber>;
92
- uploadState: z.ZodOptional<z.ZodEnum<{
93
- completed: "completed";
94
- pending: "pending";
95
- }>>;
96
- url: z.ZodOptional<z.ZodString>;
97
- title: z.ZodOptional<z.ZodString>;
98
- image: z.ZodOptional<z.ZodString>;
99
- imageWidth: z.ZodOptional<z.ZodNumber>;
100
- imageHeight: z.ZodOptional<z.ZodNumber>;
101
- }, z.core.$strip>>;
102
- }, z.core.$strip>, z.ZodObject<{
103
- id: z.ZodString;
104
- name: z.ZodString;
105
- }, z.core.$strip>]>;
106
- };
107
- annotations: {
108
- readOnlyHint: true;
109
- destructiveHint: false;
110
- idempotentHint: true;
111
- };
112
- execute(args: {
113
- type: "comment" | "task" | "project" | "section";
114
- id: string;
115
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
116
- textContent: string;
117
- structuredContent: {
118
- type: "task";
119
- id: string;
120
- object: {
121
- id: string;
122
- content: string;
123
- description: string;
124
- dueDate: string | undefined;
125
- recurring: string | boolean;
126
- deadlineDate: string | undefined;
127
- priority: "p1" | "p2" | "p3" | "p4";
128
- projectId: string;
129
- sectionId: string | undefined;
130
- parentId: string | undefined;
131
- labels: string[];
132
- duration: string | undefined;
133
- responsibleUid: string | undefined;
134
- assignedByUid: string | undefined;
135
- checked: boolean;
136
- completedAt: string | undefined;
137
- };
138
- };
139
- } | {
140
- textContent: string;
141
- structuredContent: {
142
- type: "project";
143
- id: string;
144
- object: {
145
- id: string;
146
- name: string;
147
- color: import('@doist/todoist-sdk').ColorKey;
148
- isFavorite: boolean;
149
- isShared: boolean;
150
- parentId: string | undefined;
151
- inboxProject: boolean;
152
- viewStyle: string;
153
- workspaceId: string | undefined;
154
- folderId: string | undefined;
155
- childOrder: number;
156
- };
157
- };
158
- } | {
159
- textContent: string;
160
- structuredContent: {
161
- type: "comment";
162
- id: string;
163
- object: {
164
- id: string;
165
- taskId: string | undefined;
166
- projectId: string | undefined;
167
- content: string;
168
- postedAt: string;
169
- postedUid: string;
170
- fileAttachment: {
171
- resourceType: string;
172
- fileName: string | undefined;
173
- fileSize: number | undefined;
174
- fileType: string | undefined;
175
- fileUrl: string | undefined;
176
- fileDuration: number | undefined;
177
- uploadState: "completed" | "pending" | undefined;
178
- url: string | undefined;
179
- title: string | undefined;
180
- image: string | undefined;
181
- imageWidth: number | undefined;
182
- imageHeight: number | undefined;
183
- } | undefined;
184
- };
185
- };
186
- } | {
187
- textContent: string;
188
- structuredContent: {
189
- type: "section";
190
- id: string;
191
- object: {
192
- id: string;
193
- name: string;
194
- };
195
- };
196
- }>;
197
- };
198
- export { fetchObject };
199
- //# sourceMappingURL=fetch-object.d.ts.map
@@ -1 +0,0 @@
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;AAqBvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+E8C,CAAA;AAE/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -1,41 +0,0 @@
1
- import { z } from 'zod';
2
- type FetchResult = {
3
- id: string;
4
- title: string;
5
- text: string;
6
- url: string;
7
- metadata?: Record<string, unknown>;
8
- };
9
- /**
10
- * OpenAI MCP fetch tool - retrieves the full contents of a task or project by ID.
11
- *
12
- * This tool follows the OpenAI MCP fetch tool specification:
13
- * @see https://platform.openai.com/docs/mcp#fetch-tool
14
- */
15
- declare const fetch: {
16
- name: "fetch";
17
- description: string;
18
- parameters: {
19
- id: z.ZodString;
20
- };
21
- outputSchema: {
22
- id: z.ZodString;
23
- title: z.ZodString;
24
- text: z.ZodString;
25
- url: z.ZodString;
26
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
27
- };
28
- annotations: {
29
- readOnlyHint: true;
30
- destructiveHint: false;
31
- idempotentHint: true;
32
- };
33
- execute(args: {
34
- id: string;
35
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
36
- textContent: string;
37
- structuredContent: FetchResult;
38
- }>;
39
- };
40
- export { fetch };
41
- //# sourceMappingURL=fetch.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../src/tools/fetch.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAcvB,KAAK,WAAW,GAAG;IACf,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACrC,CAAA;AAaD;;;;;GAKG;AACH,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;CA2FoD,CAAA;AAE/D,OAAO,EAAE,KAAK,EAAE,CAAA"}
@@ -1,91 +0,0 @@
1
- import { z } from 'zod';
2
- declare const findActivity: {
3
- name: "find-activity";
4
- description: string;
5
- parameters: {
6
- objectType: z.ZodOptional<z.ZodEnum<{
7
- comment: "comment";
8
- task: "task";
9
- project: "project";
10
- }>>;
11
- objectId: z.ZodOptional<z.ZodString>;
12
- eventType: z.ZodOptional<z.ZodEnum<{
13
- completed: "completed";
14
- added: "added";
15
- updated: "updated";
16
- deleted: "deleted";
17
- uncompleted: "uncompleted";
18
- archived: "archived";
19
- unarchived: "unarchived";
20
- shared: "shared";
21
- left: "left";
22
- }>>;
23
- projectId: z.ZodOptional<z.ZodString>;
24
- taskId: z.ZodOptional<z.ZodString>;
25
- initiatorId: z.ZodOptional<z.ZodString>;
26
- limit: z.ZodDefault<z.ZodNumber>;
27
- cursor: z.ZodOptional<z.ZodString>;
28
- };
29
- outputSchema: {
30
- events: z.ZodArray<z.ZodObject<{
31
- id: z.ZodOptional<z.ZodString>;
32
- objectType: z.ZodString;
33
- objectId: z.ZodString;
34
- eventType: z.ZodString;
35
- eventDate: z.ZodString;
36
- parentProjectId: z.ZodOptional<z.ZodString>;
37
- parentItemId: z.ZodOptional<z.ZodString>;
38
- initiatorId: z.ZodOptional<z.ZodString>;
39
- extraData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
40
- }, z.core.$strip>>;
41
- nextCursor: z.ZodOptional<z.ZodString>;
42
- totalCount: z.ZodNumber;
43
- hasMore: z.ZodBoolean;
44
- appliedFilters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
45
- };
46
- annotations: {
47
- readOnlyHint: true;
48
- destructiveHint: false;
49
- idempotentHint: true;
50
- };
51
- execute(args: {
52
- limit: number;
53
- objectType?: "comment" | "task" | "project" | undefined;
54
- objectId?: string | undefined;
55
- eventType?: "completed" | "added" | "updated" | "deleted" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
56
- projectId?: string | undefined;
57
- taskId?: string | undefined;
58
- initiatorId?: string | undefined;
59
- cursor?: string | undefined;
60
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
61
- textContent: string;
62
- structuredContent: {
63
- events: {
64
- id: string | undefined;
65
- objectType: string;
66
- objectId: string;
67
- eventType: string;
68
- eventDate: string;
69
- parentProjectId: string | undefined;
70
- parentItemId: string | undefined;
71
- initiatorId: string | undefined;
72
- extraData: Record<string, any> | undefined;
73
- }[];
74
- nextCursor: string | undefined;
75
- totalCount: number;
76
- hasMore: boolean;
77
- appliedFilters: {
78
- limit: number;
79
- objectType?: "comment" | "task" | "project" | undefined;
80
- objectId?: string | undefined;
81
- eventType?: "completed" | "added" | "updated" | "deleted" | "uncompleted" | "archived" | "unarchived" | "shared" | "left" | undefined;
82
- projectId?: string | undefined;
83
- taskId?: string | undefined;
84
- initiatorId?: string | undefined;
85
- cursor?: string | undefined;
86
- };
87
- };
88
- }>;
89
- };
90
- export { findActivity };
91
- //# sourceMappingURL=find-activity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"find-activity.d.ts","sourceRoot":"","sources":["../../src/tools/find-activity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAgEvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0C6C,CAAA;AAuI/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -1,89 +0,0 @@
1
- import { z } from 'zod';
2
- declare const findComments: {
3
- name: "find-comments";
4
- description: string;
5
- parameters: {
6
- taskId: z.ZodOptional<z.ZodString>;
7
- projectId: z.ZodOptional<z.ZodString>;
8
- commentId: z.ZodOptional<z.ZodString>;
9
- cursor: z.ZodOptional<z.ZodString>;
10
- limit: z.ZodOptional<z.ZodNumber>;
11
- };
12
- outputSchema: {
13
- comments: z.ZodArray<z.ZodObject<{
14
- id: z.ZodString;
15
- taskId: z.ZodOptional<z.ZodString>;
16
- projectId: z.ZodOptional<z.ZodString>;
17
- content: z.ZodString;
18
- postedAt: z.ZodString;
19
- postedUid: z.ZodOptional<z.ZodString>;
20
- fileAttachment: z.ZodOptional<z.ZodObject<{
21
- resourceType: z.ZodString;
22
- fileName: z.ZodOptional<z.ZodString>;
23
- fileSize: z.ZodOptional<z.ZodNumber>;
24
- fileType: z.ZodOptional<z.ZodString>;
25
- fileUrl: z.ZodOptional<z.ZodString>;
26
- fileDuration: z.ZodOptional<z.ZodNumber>;
27
- uploadState: z.ZodOptional<z.ZodEnum<{
28
- completed: "completed";
29
- pending: "pending";
30
- }>>;
31
- url: z.ZodOptional<z.ZodString>;
32
- title: z.ZodOptional<z.ZodString>;
33
- image: z.ZodOptional<z.ZodString>;
34
- imageWidth: z.ZodOptional<z.ZodNumber>;
35
- imageHeight: z.ZodOptional<z.ZodNumber>;
36
- }, z.core.$strip>>;
37
- }, z.core.$strip>>;
38
- searchType: z.ZodString;
39
- searchId: z.ZodString;
40
- hasMore: z.ZodBoolean;
41
- nextCursor: z.ZodOptional<z.ZodString>;
42
- totalCount: z.ZodNumber;
43
- };
44
- annotations: {
45
- readOnlyHint: true;
46
- destructiveHint: false;
47
- idempotentHint: true;
48
- };
49
- execute(args: {
50
- taskId?: string | undefined;
51
- projectId?: string | undefined;
52
- commentId?: string | undefined;
53
- cursor?: string | undefined;
54
- limit?: number | undefined;
55
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
56
- textContent: string;
57
- structuredContent: {
58
- comments: {
59
- id: string;
60
- taskId: string | undefined;
61
- projectId: string | undefined;
62
- content: string;
63
- postedAt: string;
64
- postedUid: string;
65
- fileAttachment: {
66
- resourceType: string;
67
- fileName: string | undefined;
68
- fileSize: number | undefined;
69
- fileType: string | undefined;
70
- fileUrl: string | undefined;
71
- fileDuration: number | undefined;
72
- uploadState: "completed" | "pending" | undefined;
73
- url: string | undefined;
74
- title: string | undefined;
75
- image: string | undefined;
76
- imageWidth: number | undefined;
77
- imageHeight: number | undefined;
78
- } | undefined;
79
- }[];
80
- searchType: string;
81
- searchId: string;
82
- hasMore: boolean;
83
- nextCursor: string | undefined;
84
- totalCount: number;
85
- };
86
- }>;
87
- };
88
- export { findComments };
89
- //# sourceMappingURL=find-comments.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"find-comments.d.ts","sourceRoot":"","sources":["../../src/tools/find-comments.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAwCvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgF6C,CAAA;AAmD/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -1,115 +0,0 @@
1
- import { z } from 'zod';
2
- declare const findCompletedTasks: {
3
- name: "find-completed-tasks";
4
- description: string;
5
- parameters: {
6
- labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
- labelsOperator: z.ZodOptional<z.ZodEnum<{
8
- or: "or";
9
- and: "and";
10
- }>>;
11
- getBy: z.ZodDefault<z.ZodEnum<{
12
- due: "due";
13
- completion: "completion";
14
- }>>;
15
- since: z.ZodOptional<z.ZodString>;
16
- until: z.ZodOptional<z.ZodString>;
17
- workspaceId: z.ZodOptional<z.ZodString>;
18
- projectId: z.ZodOptional<z.ZodString>;
19
- sectionId: z.ZodOptional<z.ZodString>;
20
- parentId: z.ZodOptional<z.ZodString>;
21
- responsibleUser: z.ZodOptional<z.ZodString>;
22
- limit: z.ZodDefault<z.ZodNumber>;
23
- cursor: z.ZodOptional<z.ZodString>;
24
- };
25
- outputSchema: {
26
- tasks: z.ZodArray<z.ZodObject<{
27
- id: z.ZodString;
28
- content: z.ZodString;
29
- description: z.ZodString;
30
- dueDate: z.ZodOptional<z.ZodString>;
31
- recurring: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
32
- deadlineDate: z.ZodOptional<z.ZodString>;
33
- priority: z.ZodEnum<{
34
- p1: "p1";
35
- p2: "p2";
36
- p3: "p3";
37
- p4: "p4";
38
- }>;
39
- projectId: z.ZodString;
40
- sectionId: z.ZodOptional<z.ZodString>;
41
- parentId: z.ZodOptional<z.ZodString>;
42
- labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
43
- duration: z.ZodOptional<z.ZodString>;
44
- responsibleUid: z.ZodOptional<z.ZodString>;
45
- isUncompletable: z.ZodOptional<z.ZodBoolean>;
46
- assignedByUid: z.ZodOptional<z.ZodString>;
47
- checked: z.ZodBoolean;
48
- completedAt: z.ZodOptional<z.ZodString>;
49
- }, z.core.$strip>>;
50
- nextCursor: z.ZodOptional<z.ZodString>;
51
- totalCount: z.ZodNumber;
52
- hasMore: z.ZodBoolean;
53
- appliedFilters: z.ZodRecord<z.ZodString, z.ZodUnknown>;
54
- };
55
- annotations: {
56
- readOnlyHint: true;
57
- destructiveHint: false;
58
- idempotentHint: true;
59
- };
60
- execute(args: {
61
- getBy: "due" | "completion";
62
- limit: number;
63
- labels?: string[] | undefined;
64
- labelsOperator?: "or" | "and" | undefined;
65
- since?: string | undefined;
66
- until?: string | undefined;
67
- workspaceId?: string | undefined;
68
- projectId?: string | undefined;
69
- sectionId?: string | undefined;
70
- parentId?: string | undefined;
71
- responsibleUser?: string | undefined;
72
- cursor?: string | undefined;
73
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
74
- textContent: string;
75
- structuredContent: {
76
- tasks: {
77
- id: string;
78
- content: string;
79
- description: string;
80
- dueDate: string | undefined;
81
- recurring: string | boolean;
82
- deadlineDate: string | undefined;
83
- priority: "p1" | "p2" | "p3" | "p4";
84
- projectId: string;
85
- sectionId: string | undefined;
86
- parentId: string | undefined;
87
- labels: string[];
88
- duration: string | undefined;
89
- responsibleUid: string | undefined;
90
- assignedByUid: string | undefined;
91
- checked: boolean;
92
- completedAt: string | undefined;
93
- }[];
94
- nextCursor: string | undefined;
95
- totalCount: number;
96
- hasMore: boolean;
97
- appliedFilters: {
98
- since: string;
99
- until: string;
100
- getBy: "due" | "completion";
101
- limit: number;
102
- labels?: string[] | undefined;
103
- labelsOperator?: "or" | "and" | undefined;
104
- workspaceId?: string | undefined;
105
- projectId?: string | undefined;
106
- sectionId?: string | undefined;
107
- parentId?: string | undefined;
108
- responsibleUser?: string | undefined;
109
- cursor?: string | undefined;
110
- };
111
- };
112
- }>;
113
- };
114
- export { findCompletedTasks };
115
- //# sourceMappingURL=find-completed-tasks.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"find-completed-tasks.d.ts","sourceRoot":"","sources":["../../src/tools/find-completed-tasks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAgHvB,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkGuC,CAAA;AAkE/D,OAAO,EAAE,kBAAkB,EAAE,CAAA"}