@doist/todoist-ai 8.7.0 → 8.7.2

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 (145) hide show
  1. package/dist/filter-helpers.d.ts +51 -0
  2. package/dist/filter-helpers.d.ts.map +1 -0
  3. package/dist/index.d.ts +2866 -0
  4. package/dist/index.d.ts.map +1 -0
  5. package/dist/index.js +98 -0
  6. package/dist/main-http.d.ts +3 -0
  7. package/dist/main-http.d.ts.map +1 -0
  8. package/dist/main-http.js +36 -0
  9. package/dist/main.d.ts +3 -0
  10. package/dist/main.d.ts.map +1 -0
  11. package/dist/main.js +17 -0
  12. package/dist/mcp-helpers.d.ts +58 -0
  13. package/dist/mcp-helpers.d.ts.map +1 -0
  14. package/dist/mcp-server-Eb2ZRWDB.js +5777 -0
  15. package/dist/mcp-server.d.ts +16 -0
  16. package/dist/mcp-server.d.ts.map +1 -0
  17. package/dist/prompts/productivity-analysis.d.ts +58 -0
  18. package/dist/prompts/productivity-analysis.d.ts.map +1 -0
  19. package/dist/todoist-tool.d.ts +62 -0
  20. package/dist/todoist-tool.d.ts.map +1 -0
  21. package/dist/tool-execution-error.d.ts +7 -0
  22. package/dist/tool-execution-error.d.ts.map +1 -0
  23. package/dist/tool-helpers.d.ts +264 -0
  24. package/dist/tool-helpers.d.ts.map +1 -0
  25. package/dist/tools/add-comments.d.ts +83 -0
  26. package/dist/tools/add-comments.d.ts.map +1 -0
  27. package/dist/tools/add-filters.d.ts +94 -0
  28. package/dist/tools/add-filters.d.ts.map +1 -0
  29. package/dist/tools/add-labels.d.ts +92 -0
  30. package/dist/tools/add-labels.d.ts.map +1 -0
  31. package/dist/tools/add-projects.d.ts +112 -0
  32. package/dist/tools/add-projects.d.ts.map +1 -0
  33. package/dist/tools/add-reminders.d.ts +141 -0
  34. package/dist/tools/add-reminders.d.ts.map +1 -0
  35. package/dist/tools/add-sections.d.ts +50 -0
  36. package/dist/tools/add-sections.d.ts.map +1 -0
  37. package/dist/tools/add-tasks.d.ts +118 -0
  38. package/dist/tools/add-tasks.d.ts.map +1 -0
  39. package/dist/tools/analyze-project-health.d.ts +45 -0
  40. package/dist/tools/analyze-project-health.d.ts.map +1 -0
  41. package/dist/tools/complete-tasks.d.ts +42 -0
  42. package/dist/tools/complete-tasks.d.ts.map +1 -0
  43. package/dist/tools/delete-object.d.ts +54 -0
  44. package/dist/tools/delete-object.d.ts.map +1 -0
  45. package/dist/tools/fetch-object.d.ts +199 -0
  46. package/dist/tools/fetch-object.d.ts.map +1 -0
  47. package/dist/tools/fetch.d.ts +41 -0
  48. package/dist/tools/fetch.d.ts.map +1 -0
  49. package/dist/tools/find-activity.d.ts +91 -0
  50. package/dist/tools/find-activity.d.ts.map +1 -0
  51. package/dist/tools/find-comments.d.ts +89 -0
  52. package/dist/tools/find-comments.d.ts.map +1 -0
  53. package/dist/tools/find-completed-tasks.d.ts +115 -0
  54. package/dist/tools/find-completed-tasks.d.ts.map +1 -0
  55. package/dist/tools/find-filters.d.ts +92 -0
  56. package/dist/tools/find-filters.d.ts.map +1 -0
  57. package/dist/tools/find-labels.d.ts +81 -0
  58. package/dist/tools/find-labels.d.ts.map +1 -0
  59. package/dist/tools/find-project-collaborators.d.ts +84 -0
  60. package/dist/tools/find-project-collaborators.d.ts.map +1 -0
  61. package/dist/tools/find-projects.d.ts +87 -0
  62. package/dist/tools/find-projects.d.ts.map +1 -0
  63. package/dist/tools/find-reminders.d.ts +92 -0
  64. package/dist/tools/find-reminders.d.ts.map +1 -0
  65. package/dist/tools/find-sections.d.ts +41 -0
  66. package/dist/tools/find-sections.d.ts.map +1 -0
  67. package/dist/tools/find-tasks-by-date.d.ts +133 -0
  68. package/dist/tools/find-tasks-by-date.d.ts.map +1 -0
  69. package/dist/tools/find-tasks.d.ts +116 -0
  70. package/dist/tools/find-tasks.d.ts.map +1 -0
  71. package/dist/tools/get-overview.d.ts +122 -0
  72. package/dist/tools/get-overview.d.ts.map +1 -0
  73. package/dist/tools/get-productivity-stats.d.ts +160 -0
  74. package/dist/tools/get-productivity-stats.d.ts.map +1 -0
  75. package/dist/tools/get-project-activity-stats.d.ts +48 -0
  76. package/dist/tools/get-project-activity-stats.d.ts.map +1 -0
  77. package/dist/tools/get-project-health.d.ts +112 -0
  78. package/dist/tools/get-project-health.d.ts.map +1 -0
  79. package/dist/tools/get-workspace-insights.d.ts +65 -0
  80. package/dist/tools/get-workspace-insights.d.ts.map +1 -0
  81. package/dist/tools/list-workspaces.d.ts +54 -0
  82. package/dist/tools/list-workspaces.d.ts.map +1 -0
  83. package/dist/tools/manage-assignments.d.ts +72 -0
  84. package/dist/tools/manage-assignments.d.ts.map +1 -0
  85. package/dist/tools/project-management.d.ts +78 -0
  86. package/dist/tools/project-management.d.ts.map +1 -0
  87. package/dist/tools/project-move.d.ts +88 -0
  88. package/dist/tools/project-move.d.ts.map +1 -0
  89. package/dist/tools/reorder-objects.d.ts +50 -0
  90. package/dist/tools/reorder-objects.d.ts.map +1 -0
  91. package/dist/tools/reschedule-tasks.d.ts +78 -0
  92. package/dist/tools/reschedule-tasks.d.ts.map +1 -0
  93. package/dist/tools/search.d.ts +43 -0
  94. package/dist/tools/search.d.ts.map +1 -0
  95. package/dist/tools/uncomplete-tasks.d.ts +42 -0
  96. package/dist/tools/uncomplete-tasks.d.ts.map +1 -0
  97. package/dist/tools/update-comments.d.ts +87 -0
  98. package/dist/tools/update-comments.d.ts.map +1 -0
  99. package/dist/tools/update-filters.d.ts +106 -0
  100. package/dist/tools/update-filters.d.ts.map +1 -0
  101. package/dist/tools/update-projects.d.ts +120 -0
  102. package/dist/tools/update-projects.d.ts.map +1 -0
  103. package/dist/tools/update-reminders.d.ts +141 -0
  104. package/dist/tools/update-reminders.d.ts.map +1 -0
  105. package/dist/tools/update-sections.d.ts +52 -0
  106. package/dist/tools/update-sections.d.ts.map +1 -0
  107. package/dist/tools/update-tasks.d.ts +113 -0
  108. package/dist/tools/update-tasks.d.ts.map +1 -0
  109. package/dist/tools/user-info.d.ts +57 -0
  110. package/dist/tools/user-info.d.ts.map +1 -0
  111. package/dist/tools/view-attachment.d.ts +48 -0
  112. package/dist/tools/view-attachment.d.ts.map +1 -0
  113. package/dist/utils/assignment-validator.d.ts +69 -0
  114. package/dist/utils/assignment-validator.d.ts.map +1 -0
  115. package/dist/utils/colors.d.ts +68 -0
  116. package/dist/utils/colors.d.ts.map +1 -0
  117. package/dist/utils/constants.d.ts +53 -0
  118. package/dist/utils/constants.d.ts.map +1 -0
  119. package/dist/utils/date.d.ts +18 -0
  120. package/dist/utils/date.d.ts.map +1 -0
  121. package/dist/utils/duration-parser.d.ts +36 -0
  122. package/dist/utils/duration-parser.d.ts.map +1 -0
  123. package/dist/utils/filter-resolver.d.ts +27 -0
  124. package/dist/utils/filter-resolver.d.ts.map +1 -0
  125. package/dist/utils/labels.d.ts +13 -0
  126. package/dist/utils/labels.d.ts.map +1 -0
  127. package/dist/utils/output-schemas.d.ts +191 -0
  128. package/dist/utils/output-schemas.d.ts.map +1 -0
  129. package/dist/utils/priorities.d.ts +14 -0
  130. package/dist/utils/priorities.d.ts.map +1 -0
  131. package/dist/utils/reminder-schemas.d.ts +29 -0
  132. package/dist/utils/reminder-schemas.d.ts.map +1 -0
  133. package/dist/utils/response-builders.d.ts +93 -0
  134. package/dist/utils/response-builders.d.ts.map +1 -0
  135. package/dist/utils/sanitize-data.d.ts +10 -0
  136. package/dist/utils/sanitize-data.d.ts.map +1 -0
  137. package/dist/utils/test-helpers.d.ts +91 -0
  138. package/dist/utils/test-helpers.d.ts.map +1 -0
  139. package/dist/utils/tool-names.d.ts +55 -0
  140. package/dist/utils/tool-names.d.ts.map +1 -0
  141. package/dist/utils/user-resolver.d.ts +39 -0
  142. package/dist/utils/user-resolver.d.ts.map +1 -0
  143. package/dist/utils/workspace-resolver.d.ts +31 -0
  144. package/dist/utils/workspace-resolver.d.ts.map +1 -0
  145. package/package.json +2 -2
@@ -0,0 +1 @@
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6C6C,CAAA;AAE/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -0,0 +1,199 @@
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-api-typescript').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-api-typescript').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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fetch-object.d.ts","sourceRoot":"","sources":["../../src/tools/fetch-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAqBvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+E8C,CAAA;AAE/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -0,0 +1,41 @@
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-api-typescript').TodoistApi): Promise<{
36
+ textContent: string;
37
+ structuredContent: FetchResult;
38
+ }>;
39
+ };
40
+ export { fetch };
41
+ //# sourceMappingURL=fetch.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,91 @@
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-api-typescript').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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,89 @@
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-api-typescript').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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,115 @@
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-api-typescript').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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,92 @@
1
+ import { z } from 'zod';
2
+ declare const FilterOutputSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ name: z.ZodString;
5
+ query: z.ZodString;
6
+ color: z.ZodCatch<z.ZodOptional<z.ZodEnum<{
7
+ berry_red: "berry_red";
8
+ red: "red";
9
+ orange: "orange";
10
+ yellow: "yellow";
11
+ olive_green: "olive_green";
12
+ lime_green: "lime_green";
13
+ green: "green";
14
+ mint_green: "mint_green";
15
+ teal: "teal";
16
+ sky_blue: "sky_blue";
17
+ light_blue: "light_blue";
18
+ blue: "blue";
19
+ grape: "grape";
20
+ violet: "violet";
21
+ lavender: "lavender";
22
+ magenta: "magenta";
23
+ salmon: "salmon";
24
+ charcoal: "charcoal";
25
+ grey: "grey";
26
+ taupe: "taupe";
27
+ }>>>;
28
+ isFavorite: z.ZodBoolean;
29
+ itemOrder: z.ZodNumber;
30
+ }, z.core.$strip>;
31
+ declare const findFilters: {
32
+ name: "find-filters";
33
+ description: string;
34
+ parameters: {
35
+ search: z.ZodOptional<z.ZodString>;
36
+ };
37
+ outputSchema: {
38
+ filters: z.ZodArray<z.ZodObject<{
39
+ id: z.ZodString;
40
+ name: z.ZodString;
41
+ query: 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
+ };
69
+ annotations: {
70
+ readOnlyHint: true;
71
+ destructiveHint: false;
72
+ idempotentHint: true;
73
+ };
74
+ execute(args: {
75
+ search?: string | undefined;
76
+ }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
77
+ textContent: string;
78
+ structuredContent: {
79
+ filters: {
80
+ id: string;
81
+ name: string;
82
+ query: string;
83
+ 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;
84
+ isFavorite: boolean;
85
+ itemOrder: number;
86
+ }[];
87
+ totalCount: number;
88
+ };
89
+ }>;
90
+ };
91
+ export { findFilters, FilterOutputSchema };
92
+ //# sourceMappingURL=find-filters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"find-filters.d.ts","sourceRoot":"","sources":["../../src/tools/find-filters.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAcvB,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOtB,CAAA;AAOF,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC8C,CAAA;AA2B/D,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,CAAA"}