@doist/todoist-ai 7.11.2 → 7.13.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.
- package/dist/index.d.ts +231 -17
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +39 -32
- package/dist/main-http.js +1 -1
- package/dist/main.js +1 -1
- package/dist/{mcp-server-BxHvudlC.js → mcp-server-DGzZmcM0.js} +1178 -944
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/tool-helpers.d.ts +10 -1
- package/dist/tool-helpers.d.ts.map +1 -1
- package/dist/tools/add-labels.d.ts +92 -0
- package/dist/tools/add-labels.d.ts.map +1 -0
- package/dist/tools/add-projects.d.ts +5 -5
- package/dist/tools/delete-object.d.ts +4 -2
- package/dist/tools/delete-object.d.ts.map +1 -1
- package/dist/tools/fetch-object.d.ts +2 -2
- package/dist/tools/find-activity.d.ts.map +1 -1
- package/dist/tools/find-labels.d.ts +81 -0
- package/dist/tools/find-labels.d.ts.map +1 -0
- package/dist/tools/find-projects.d.ts +2 -2
- package/dist/tools/find-tasks.d.ts +3 -0
- package/dist/tools/find-tasks.d.ts.map +1 -1
- package/dist/tools/project-management.d.ts +2 -2
- package/dist/tools/project-move.d.ts +2 -2
- package/dist/tools/uncomplete-tasks.d.ts +42 -0
- package/dist/tools/uncomplete-tasks.d.ts.map +1 -0
- package/dist/tools/update-projects.d.ts +5 -5
- package/dist/tools/update-tasks.d.ts +2 -2
- package/dist/tools/update-tasks.d.ts.map +1 -1
- package/dist/utils/colors.d.ts +6 -6
- package/dist/utils/colors.d.ts.map +1 -1
- package/dist/utils/constants.d.ts +4 -0
- package/dist/utils/constants.d.ts.map +1 -1
- package/dist/utils/output-schemas.d.ts +34 -3
- package/dist/utils/output-schemas.d.ts.map +1 -1
- package/dist/utils/response-builders.d.ts +6 -0
- package/dist/utils/response-builders.d.ts.map +1 -1
- package/dist/utils/test-helpers.d.ts +6 -1
- package/dist/utils/test-helpers.d.ts.map +1 -1
- package/dist/utils/tool-names.d.ts +3 -0
- package/dist/utils/tool-names.d.ts.map +1 -1
- package/package.json +5 -5
- package/scripts/run-tool.ts +6 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FEATURE_NAMES, Feature, FeatureName, Features } from './mcp-helpers.js';
|
|
2
2
|
import { getMcpServer } from './mcp-server.js';
|
|
3
3
|
import { addComments } from './tools/add-comments.js';
|
|
4
|
+
import { addLabels } from './tools/add-labels.js';
|
|
4
5
|
import { addProjects } from './tools/add-projects.js';
|
|
5
6
|
import { addSections } from './tools/add-sections.js';
|
|
6
7
|
import { addTasks } from './tools/add-tasks.js';
|
|
@@ -10,6 +11,7 @@ import { fetch } from './tools/fetch.js';
|
|
|
10
11
|
import { findActivity } from './tools/find-activity.js';
|
|
11
12
|
import { findComments } from './tools/find-comments.js';
|
|
12
13
|
import { findCompletedTasks } from './tools/find-completed-tasks.js';
|
|
14
|
+
import { findLabels } from './tools/find-labels.js';
|
|
13
15
|
import { findProjectCollaborators } from './tools/find-project-collaborators.js';
|
|
14
16
|
import { findProjects } from './tools/find-projects.js';
|
|
15
17
|
import { findSections } from './tools/find-sections.js';
|
|
@@ -19,6 +21,7 @@ import { getOverview } from './tools/get-overview.js';
|
|
|
19
21
|
import { listWorkspaces } from './tools/list-workspaces.js';
|
|
20
22
|
import { manageAssignments } from './tools/manage-assignments.js';
|
|
21
23
|
import { search } from './tools/search.js';
|
|
24
|
+
import { uncompleteTasks } from './tools/uncomplete-tasks.js';
|
|
22
25
|
import { updateComments } from './tools/update-comments.js';
|
|
23
26
|
import { updateProjects } from './tools/update-projects.js';
|
|
24
27
|
import { updateSections } from './tools/update-sections.js';
|
|
@@ -162,6 +165,45 @@ declare const tools: {
|
|
|
162
165
|
};
|
|
163
166
|
}>;
|
|
164
167
|
};
|
|
168
|
+
uncompleteTasks: {
|
|
169
|
+
name: "uncomplete-tasks";
|
|
170
|
+
description: string;
|
|
171
|
+
parameters: {
|
|
172
|
+
ids: import('zod').ZodArray<import('zod').ZodString>;
|
|
173
|
+
};
|
|
174
|
+
outputSchema: {
|
|
175
|
+
uncompleted: import('zod').ZodArray<import('zod').ZodString>;
|
|
176
|
+
failures: import('zod').ZodArray<import('zod').ZodObject<{
|
|
177
|
+
item: import('zod').ZodString;
|
|
178
|
+
error: import('zod').ZodString;
|
|
179
|
+
code: import('zod').ZodOptional<import('zod').ZodString>;
|
|
180
|
+
}, import('zod/v4/core').$strip>>;
|
|
181
|
+
totalRequested: import('zod').ZodNumber;
|
|
182
|
+
successCount: import('zod').ZodNumber;
|
|
183
|
+
failureCount: import('zod').ZodNumber;
|
|
184
|
+
};
|
|
185
|
+
annotations: {
|
|
186
|
+
readOnlyHint: false;
|
|
187
|
+
destructiveHint: false;
|
|
188
|
+
idempotentHint: false;
|
|
189
|
+
};
|
|
190
|
+
execute(args: {
|
|
191
|
+
ids: string[];
|
|
192
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
193
|
+
textContent: string;
|
|
194
|
+
structuredContent: {
|
|
195
|
+
uncompleted: string[];
|
|
196
|
+
failures: {
|
|
197
|
+
item: string;
|
|
198
|
+
error: string;
|
|
199
|
+
code?: string;
|
|
200
|
+
}[];
|
|
201
|
+
totalRequested: number;
|
|
202
|
+
successCount: number;
|
|
203
|
+
failureCount: number;
|
|
204
|
+
};
|
|
205
|
+
}>;
|
|
206
|
+
};
|
|
165
207
|
updateTasks: {
|
|
166
208
|
name: "update-tasks";
|
|
167
209
|
description: string;
|
|
@@ -180,8 +222,8 @@ declare const tools: {
|
|
|
180
222
|
p3: "p3";
|
|
181
223
|
p4: "p4";
|
|
182
224
|
}>>;
|
|
183
|
-
dueString: import('zod').ZodOptional<import('zod').ZodString
|
|
184
|
-
deadlineDate: import('zod').ZodOptional<import('zod').ZodString
|
|
225
|
+
dueString: import('zod').ZodPipe<import('zod').ZodTransform<{} | undefined, unknown>, import('zod').ZodOptional<import('zod').ZodString>>;
|
|
226
|
+
deadlineDate: import('zod').ZodPipe<import('zod').ZodTransform<{} | undefined, unknown>, import('zod').ZodOptional<import('zod').ZodString>>;
|
|
185
227
|
duration: import('zod').ZodOptional<import('zod').ZodString>;
|
|
186
228
|
responsibleUser: import('zod').ZodOptional<import('zod').ZodString>;
|
|
187
229
|
labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
|
|
@@ -293,6 +335,7 @@ declare const tools: {
|
|
|
293
335
|
}>>;
|
|
294
336
|
limit: import('zod').ZodDefault<import('zod').ZodNumber>;
|
|
295
337
|
cursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
338
|
+
filter: import('zod').ZodOptional<import('zod').ZodString>;
|
|
296
339
|
};
|
|
297
340
|
outputSchema: {
|
|
298
341
|
tasks: import('zod').ZodArray<import('zod').ZodObject<{
|
|
@@ -340,6 +383,7 @@ declare const tools: {
|
|
|
340
383
|
responsibleUser?: string | undefined;
|
|
341
384
|
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
342
385
|
cursor?: string | undefined;
|
|
386
|
+
filter?: string | undefined;
|
|
343
387
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
344
388
|
textContent: string;
|
|
345
389
|
structuredContent: {
|
|
@@ -375,6 +419,7 @@ declare const tools: {
|
|
|
375
419
|
responsibleUser?: string | undefined;
|
|
376
420
|
responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
|
|
377
421
|
cursor?: string | undefined;
|
|
422
|
+
filter?: string | undefined;
|
|
378
423
|
};
|
|
379
424
|
};
|
|
380
425
|
}>;
|
|
@@ -621,7 +666,7 @@ declare const tools: {
|
|
|
621
666
|
lime_green: "lime_green";
|
|
622
667
|
green: "green";
|
|
623
668
|
mint_green: "mint_green";
|
|
624
|
-
|
|
669
|
+
teal: "teal";
|
|
625
670
|
sky_blue: "sky_blue";
|
|
626
671
|
light_blue: "light_blue";
|
|
627
672
|
blue: "blue";
|
|
@@ -631,7 +676,7 @@ declare const tools: {
|
|
|
631
676
|
magenta: "magenta";
|
|
632
677
|
salmon: "salmon";
|
|
633
678
|
charcoal: "charcoal";
|
|
634
|
-
|
|
679
|
+
grey: "grey";
|
|
635
680
|
taupe: "taupe";
|
|
636
681
|
}>>>;
|
|
637
682
|
}, import('zod/v4/core').$strip>>;
|
|
@@ -649,7 +694,7 @@ declare const tools: {
|
|
|
649
694
|
lime_green: "lime_green";
|
|
650
695
|
green: "green";
|
|
651
696
|
mint_green: "mint_green";
|
|
652
|
-
|
|
697
|
+
teal: "teal";
|
|
653
698
|
sky_blue: "sky_blue";
|
|
654
699
|
light_blue: "light_blue";
|
|
655
700
|
blue: "blue";
|
|
@@ -659,7 +704,7 @@ declare const tools: {
|
|
|
659
704
|
magenta: "magenta";
|
|
660
705
|
salmon: "salmon";
|
|
661
706
|
charcoal: "charcoal";
|
|
662
|
-
|
|
707
|
+
grey: "grey";
|
|
663
708
|
taupe: "taupe";
|
|
664
709
|
}>>>;
|
|
665
710
|
isFavorite: import('zod').ZodBoolean;
|
|
@@ -682,7 +727,7 @@ declare const tools: {
|
|
|
682
727
|
parentId?: string | undefined;
|
|
683
728
|
isFavorite?: boolean | undefined;
|
|
684
729
|
viewStyle?: "list" | "board" | "calendar" | undefined;
|
|
685
|
-
color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "
|
|
730
|
+
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;
|
|
686
731
|
}[];
|
|
687
732
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
688
733
|
textContent: string;
|
|
@@ -724,7 +769,7 @@ declare const tools: {
|
|
|
724
769
|
lime_green: "lime_green";
|
|
725
770
|
green: "green";
|
|
726
771
|
mint_green: "mint_green";
|
|
727
|
-
|
|
772
|
+
teal: "teal";
|
|
728
773
|
sky_blue: "sky_blue";
|
|
729
774
|
light_blue: "light_blue";
|
|
730
775
|
blue: "blue";
|
|
@@ -734,7 +779,7 @@ declare const tools: {
|
|
|
734
779
|
magenta: "magenta";
|
|
735
780
|
salmon: "salmon";
|
|
736
781
|
charcoal: "charcoal";
|
|
737
|
-
|
|
782
|
+
grey: "grey";
|
|
738
783
|
taupe: "taupe";
|
|
739
784
|
}>>>;
|
|
740
785
|
}, import('zod/v4/core').$strip>>;
|
|
@@ -752,7 +797,7 @@ declare const tools: {
|
|
|
752
797
|
lime_green: "lime_green";
|
|
753
798
|
green: "green";
|
|
754
799
|
mint_green: "mint_green";
|
|
755
|
-
|
|
800
|
+
teal: "teal";
|
|
756
801
|
sky_blue: "sky_blue";
|
|
757
802
|
light_blue: "light_blue";
|
|
758
803
|
blue: "blue";
|
|
@@ -762,7 +807,7 @@ declare const tools: {
|
|
|
762
807
|
magenta: "magenta";
|
|
763
808
|
salmon: "salmon";
|
|
764
809
|
charcoal: "charcoal";
|
|
765
|
-
|
|
810
|
+
grey: "grey";
|
|
766
811
|
taupe: "taupe";
|
|
767
812
|
}>>>;
|
|
768
813
|
isFavorite: import('zod').ZodBoolean;
|
|
@@ -790,7 +835,7 @@ declare const tools: {
|
|
|
790
835
|
name?: string | undefined;
|
|
791
836
|
isFavorite?: boolean | undefined;
|
|
792
837
|
viewStyle?: "list" | "board" | "calendar" | undefined;
|
|
793
|
-
color?: "berry_red" | "red" | "orange" | "yellow" | "olive_green" | "lime_green" | "green" | "mint_green" | "
|
|
838
|
+
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;
|
|
794
839
|
}[];
|
|
795
840
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
796
841
|
textContent: string;
|
|
@@ -836,7 +881,7 @@ declare const tools: {
|
|
|
836
881
|
lime_green: "lime_green";
|
|
837
882
|
green: "green";
|
|
838
883
|
mint_green: "mint_green";
|
|
839
|
-
|
|
884
|
+
teal: "teal";
|
|
840
885
|
sky_blue: "sky_blue";
|
|
841
886
|
light_blue: "light_blue";
|
|
842
887
|
blue: "blue";
|
|
@@ -846,7 +891,7 @@ declare const tools: {
|
|
|
846
891
|
magenta: "magenta";
|
|
847
892
|
salmon: "salmon";
|
|
848
893
|
charcoal: "charcoal";
|
|
849
|
-
|
|
894
|
+
grey: "grey";
|
|
850
895
|
taupe: "taupe";
|
|
851
896
|
}>>>;
|
|
852
897
|
isFavorite: import('zod').ZodBoolean;
|
|
@@ -1279,6 +1324,173 @@ declare const tools: {
|
|
|
1279
1324
|
};
|
|
1280
1325
|
}>;
|
|
1281
1326
|
};
|
|
1327
|
+
addLabels: {
|
|
1328
|
+
name: "add-labels";
|
|
1329
|
+
description: string;
|
|
1330
|
+
parameters: {
|
|
1331
|
+
labels: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1332
|
+
name: import('zod').ZodString;
|
|
1333
|
+
color: import('zod').ZodPipe<import('zod').ZodTransform<string | undefined, unknown>, import('zod').ZodOptional<import('zod').ZodEnum<{
|
|
1334
|
+
berry_red: "berry_red";
|
|
1335
|
+
red: "red";
|
|
1336
|
+
orange: "orange";
|
|
1337
|
+
yellow: "yellow";
|
|
1338
|
+
olive_green: "olive_green";
|
|
1339
|
+
lime_green: "lime_green";
|
|
1340
|
+
green: "green";
|
|
1341
|
+
mint_green: "mint_green";
|
|
1342
|
+
teal: "teal";
|
|
1343
|
+
sky_blue: "sky_blue";
|
|
1344
|
+
light_blue: "light_blue";
|
|
1345
|
+
blue: "blue";
|
|
1346
|
+
grape: "grape";
|
|
1347
|
+
violet: "violet";
|
|
1348
|
+
lavender: "lavender";
|
|
1349
|
+
magenta: "magenta";
|
|
1350
|
+
salmon: "salmon";
|
|
1351
|
+
charcoal: "charcoal";
|
|
1352
|
+
grey: "grey";
|
|
1353
|
+
taupe: "taupe";
|
|
1354
|
+
}>>>;
|
|
1355
|
+
order: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
1356
|
+
isFavorite: import('zod').ZodOptional<import('zod').ZodBoolean>;
|
|
1357
|
+
}, import('zod/v4/core').$strip>>;
|
|
1358
|
+
};
|
|
1359
|
+
outputSchema: {
|
|
1360
|
+
labels: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1361
|
+
id: import('zod').ZodString;
|
|
1362
|
+
name: import('zod').ZodString;
|
|
1363
|
+
color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
|
|
1364
|
+
berry_red: "berry_red";
|
|
1365
|
+
red: "red";
|
|
1366
|
+
orange: "orange";
|
|
1367
|
+
yellow: "yellow";
|
|
1368
|
+
olive_green: "olive_green";
|
|
1369
|
+
lime_green: "lime_green";
|
|
1370
|
+
green: "green";
|
|
1371
|
+
mint_green: "mint_green";
|
|
1372
|
+
teal: "teal";
|
|
1373
|
+
sky_blue: "sky_blue";
|
|
1374
|
+
light_blue: "light_blue";
|
|
1375
|
+
blue: "blue";
|
|
1376
|
+
grape: "grape";
|
|
1377
|
+
violet: "violet";
|
|
1378
|
+
lavender: "lavender";
|
|
1379
|
+
magenta: "magenta";
|
|
1380
|
+
salmon: "salmon";
|
|
1381
|
+
charcoal: "charcoal";
|
|
1382
|
+
grey: "grey";
|
|
1383
|
+
taupe: "taupe";
|
|
1384
|
+
}>>>;
|
|
1385
|
+
order: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodNumber>>;
|
|
1386
|
+
isFavorite: import('zod').ZodBoolean;
|
|
1387
|
+
}, import('zod/v4/core').$strip>>;
|
|
1388
|
+
totalCount: import('zod').ZodNumber;
|
|
1389
|
+
};
|
|
1390
|
+
annotations: {
|
|
1391
|
+
readOnlyHint: false;
|
|
1392
|
+
destructiveHint: false;
|
|
1393
|
+
idempotentHint: false;
|
|
1394
|
+
};
|
|
1395
|
+
execute({ labels }: {
|
|
1396
|
+
labels: {
|
|
1397
|
+
name: string;
|
|
1398
|
+
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;
|
|
1399
|
+
order?: number | undefined;
|
|
1400
|
+
isFavorite?: boolean | undefined;
|
|
1401
|
+
}[];
|
|
1402
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1403
|
+
textContent: string;
|
|
1404
|
+
structuredContent: {
|
|
1405
|
+
labels: {
|
|
1406
|
+
id: string;
|
|
1407
|
+
name: string;
|
|
1408
|
+
isFavorite: boolean;
|
|
1409
|
+
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;
|
|
1410
|
+
order?: number | undefined;
|
|
1411
|
+
}[];
|
|
1412
|
+
totalCount: number;
|
|
1413
|
+
};
|
|
1414
|
+
}>;
|
|
1415
|
+
};
|
|
1416
|
+
findLabels: {
|
|
1417
|
+
name: "find-labels";
|
|
1418
|
+
description: string;
|
|
1419
|
+
parameters: {
|
|
1420
|
+
search: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1421
|
+
limit: import('zod').ZodDefault<import('zod').ZodNumber>;
|
|
1422
|
+
cursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1423
|
+
};
|
|
1424
|
+
outputSchema: {
|
|
1425
|
+
labels: import('zod').ZodArray<import('zod').ZodObject<{
|
|
1426
|
+
id: import('zod').ZodString;
|
|
1427
|
+
name: import('zod').ZodString;
|
|
1428
|
+
color: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodEnum<{
|
|
1429
|
+
berry_red: "berry_red";
|
|
1430
|
+
red: "red";
|
|
1431
|
+
orange: "orange";
|
|
1432
|
+
yellow: "yellow";
|
|
1433
|
+
olive_green: "olive_green";
|
|
1434
|
+
lime_green: "lime_green";
|
|
1435
|
+
green: "green";
|
|
1436
|
+
mint_green: "mint_green";
|
|
1437
|
+
teal: "teal";
|
|
1438
|
+
sky_blue: "sky_blue";
|
|
1439
|
+
light_blue: "light_blue";
|
|
1440
|
+
blue: "blue";
|
|
1441
|
+
grape: "grape";
|
|
1442
|
+
violet: "violet";
|
|
1443
|
+
lavender: "lavender";
|
|
1444
|
+
magenta: "magenta";
|
|
1445
|
+
salmon: "salmon";
|
|
1446
|
+
charcoal: "charcoal";
|
|
1447
|
+
grey: "grey";
|
|
1448
|
+
taupe: "taupe";
|
|
1449
|
+
}>>>;
|
|
1450
|
+
order: import('zod').ZodCatch<import('zod').ZodOptional<import('zod').ZodNumber>>;
|
|
1451
|
+
isFavorite: import('zod').ZodBoolean;
|
|
1452
|
+
}, import('zod/v4/core').$strip>>;
|
|
1453
|
+
nextCursor: import('zod').ZodOptional<import('zod').ZodString>;
|
|
1454
|
+
totalCount: import('zod').ZodNumber;
|
|
1455
|
+
hasMore: import('zod').ZodBoolean;
|
|
1456
|
+
sharedLabels: import('zod').ZodArray<import('zod').ZodString>;
|
|
1457
|
+
appliedFilters: import('zod').ZodRecord<import('zod').ZodString, import('zod').ZodUnknown>;
|
|
1458
|
+
};
|
|
1459
|
+
annotations: {
|
|
1460
|
+
readOnlyHint: true;
|
|
1461
|
+
destructiveHint: false;
|
|
1462
|
+
idempotentHint: true;
|
|
1463
|
+
};
|
|
1464
|
+
execute(args: {
|
|
1465
|
+
limit: number;
|
|
1466
|
+
search?: string | undefined;
|
|
1467
|
+
cursor?: string | undefined;
|
|
1468
|
+
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1469
|
+
textContent: string;
|
|
1470
|
+
structuredContent: {
|
|
1471
|
+
labels: {
|
|
1472
|
+
id: string;
|
|
1473
|
+
name: string;
|
|
1474
|
+
isFavorite: boolean;
|
|
1475
|
+
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;
|
|
1476
|
+
order?: number | undefined;
|
|
1477
|
+
}[];
|
|
1478
|
+
nextCursor: string | undefined;
|
|
1479
|
+
totalCount: number;
|
|
1480
|
+
hasMore: boolean;
|
|
1481
|
+
sharedLabels: string[];
|
|
1482
|
+
appliedFilters: {
|
|
1483
|
+
search: string;
|
|
1484
|
+
limit?: undefined;
|
|
1485
|
+
cursor?: undefined;
|
|
1486
|
+
} | {
|
|
1487
|
+
limit: number;
|
|
1488
|
+
cursor: string | undefined;
|
|
1489
|
+
search?: undefined;
|
|
1490
|
+
};
|
|
1491
|
+
};
|
|
1492
|
+
}>;
|
|
1493
|
+
};
|
|
1282
1494
|
findActivity: {
|
|
1283
1495
|
name: "find-activity";
|
|
1284
1496
|
description: string;
|
|
@@ -1417,6 +1629,7 @@ declare const tools: {
|
|
|
1417
1629
|
task: "task";
|
|
1418
1630
|
project: "project";
|
|
1419
1631
|
section: "section";
|
|
1632
|
+
label: "label";
|
|
1420
1633
|
}>;
|
|
1421
1634
|
id: import('zod').ZodString;
|
|
1422
1635
|
};
|
|
@@ -1427,6 +1640,7 @@ declare const tools: {
|
|
|
1427
1640
|
task: "task";
|
|
1428
1641
|
project: "project";
|
|
1429
1642
|
section: "section";
|
|
1643
|
+
label: "label";
|
|
1430
1644
|
}>;
|
|
1431
1645
|
id: import('zod').ZodString;
|
|
1432
1646
|
}, import('zod/v4/core').$strip>;
|
|
@@ -1438,13 +1652,13 @@ declare const tools: {
|
|
|
1438
1652
|
idempotentHint: true;
|
|
1439
1653
|
};
|
|
1440
1654
|
execute(args: {
|
|
1441
|
-
type: "comment" | "task" | "project" | "section";
|
|
1655
|
+
type: "comment" | "task" | "project" | "section" | "label";
|
|
1442
1656
|
id: string;
|
|
1443
1657
|
}, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
|
|
1444
1658
|
textContent: string;
|
|
1445
1659
|
structuredContent: {
|
|
1446
1660
|
deletedEntity: {
|
|
1447
|
-
type: "comment" | "task" | "project" | "section";
|
|
1661
|
+
type: "comment" | "task" | "project" | "section" | "label";
|
|
1448
1662
|
id: string;
|
|
1449
1663
|
};
|
|
1450
1664
|
success: true;
|
|
@@ -1719,5 +1933,5 @@ declare const tools: {
|
|
|
1719
1933
|
};
|
|
1720
1934
|
};
|
|
1721
1935
|
export { tools, getMcpServer, FEATURE_NAMES, type Feature, type FeatureName, type Features };
|
|
1722
|
-
export { addTasks, completeTasks, updateTasks, findTasks, findTasksByDate, findCompletedTasks, addProjects, updateProjects, findProjects, addSections, updateSections, findSections, addComments, updateComments, findComments, findActivity, getOverview, deleteObject, userInfo, findProjectCollaborators, manageAssignments, listWorkspaces, search, fetch, };
|
|
1936
|
+
export { addTasks, completeTasks, uncompleteTasks, updateTasks, findTasks, findTasksByDate, findCompletedTasks, addProjects, updateProjects, findProjects, addSections, updateSections, findSections, addComments, updateComments, findComments, addLabels, findLabels, findActivity, getOverview, deleteObject, userInfo, findProjectCollaborators, manageAssignments, listWorkspaces, search, fetch, };
|
|
1723
1937
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAC/F,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAE9C,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAErD,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAErD,OAA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as p, k, n as
|
|
2
|
-
import { F
|
|
3
|
-
const
|
|
1
|
+
import { f as s, s as a, l as e, m as t, a as o, u as d, d as n, b as i, c as r, e as c, h as m, i as f, j as p, k as l, n as k, o as T, p as u, q as j, r as b, t as g, v, w as A, x as C, y as S, z as P, A as h, B as x } from "./mcp-server-DGzZmcM0.js";
|
|
2
|
+
import { F, g as L } from "./mcp-server-DGzZmcM0.js";
|
|
3
|
+
const E = {
|
|
4
4
|
// Task management tools
|
|
5
|
-
addTasks:
|
|
6
|
-
completeTasks:
|
|
5
|
+
addTasks: x,
|
|
6
|
+
completeTasks: h,
|
|
7
|
+
uncompleteTasks: P,
|
|
7
8
|
updateTasks: S,
|
|
8
9
|
findTasks: C,
|
|
9
|
-
findTasksByDate:
|
|
10
|
-
findCompletedTasks:
|
|
10
|
+
findTasksByDate: A,
|
|
11
|
+
findCompletedTasks: v,
|
|
11
12
|
// Project management tools
|
|
12
|
-
addProjects:
|
|
13
|
-
updateProjects:
|
|
14
|
-
findProjects:
|
|
13
|
+
addProjects: g,
|
|
14
|
+
updateProjects: b,
|
|
15
|
+
findProjects: j,
|
|
15
16
|
// Section management tools
|
|
16
|
-
addSections:
|
|
17
|
-
updateSections:
|
|
18
|
-
findSections:
|
|
17
|
+
addSections: u,
|
|
18
|
+
updateSections: T,
|
|
19
|
+
findSections: k,
|
|
19
20
|
// Comment management tools
|
|
20
|
-
addComments:
|
|
21
|
-
updateComments:
|
|
22
|
-
findComments:
|
|
21
|
+
addComments: l,
|
|
22
|
+
updateComments: p,
|
|
23
|
+
findComments: f,
|
|
24
|
+
// Label management tools
|
|
25
|
+
addLabels: m,
|
|
26
|
+
findLabels: c,
|
|
23
27
|
// Activity and audit tools
|
|
24
28
|
findActivity: r,
|
|
25
29
|
// General tools
|
|
@@ -36,31 +40,34 @@ const h = {
|
|
|
36
40
|
fetch: s
|
|
37
41
|
};
|
|
38
42
|
export {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
F as FEATURE_NAMES,
|
|
44
|
+
l as addComments,
|
|
45
|
+
m as addLabels,
|
|
46
|
+
g as addProjects,
|
|
47
|
+
u as addSections,
|
|
48
|
+
x as addTasks,
|
|
49
|
+
h as completeTasks,
|
|
45
50
|
n as deleteObject,
|
|
46
51
|
s as fetch,
|
|
47
52
|
r as findActivity,
|
|
48
|
-
|
|
49
|
-
|
|
53
|
+
f as findComments,
|
|
54
|
+
v as findCompletedTasks,
|
|
55
|
+
c as findLabels,
|
|
50
56
|
o as findProjectCollaborators,
|
|
51
|
-
|
|
52
|
-
|
|
57
|
+
j as findProjects,
|
|
58
|
+
k as findSections,
|
|
53
59
|
C as findTasks,
|
|
54
|
-
|
|
55
|
-
|
|
60
|
+
A as findTasksByDate,
|
|
61
|
+
L as getMcpServer,
|
|
56
62
|
i as getOverview,
|
|
57
63
|
e as listWorkspaces,
|
|
58
64
|
t as manageAssignments,
|
|
59
65
|
a as search,
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
66
|
+
E as tools,
|
|
67
|
+
P as uncompleteTasks,
|
|
68
|
+
p as updateComments,
|
|
69
|
+
b as updateProjects,
|
|
70
|
+
T as updateSections,
|
|
64
71
|
S as updateTasks,
|
|
65
72
|
d as userInfo
|
|
66
73
|
};
|
package/dist/main-http.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { StreamableHTTPServerTransport as i } from "@modelcontextprotocol/sdk/server/streamableHttp.js";
|
|
3
3
|
import l from "dotenv";
|
|
4
4
|
import a from "express";
|
|
5
|
-
import { g as p } from "./mcp-server-
|
|
5
|
+
import { g as p } from "./mcp-server-DGzZmcM0.js";
|
|
6
6
|
l.config({ quiet: !0 });
|
|
7
7
|
const s = Number.parseInt(process.env.PORT || "3000", 10);
|
|
8
8
|
function d() {
|
package/dist/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { StdioServerTransport as s } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
3
3
|
import c from "dotenv";
|
|
4
|
-
import { g as i } from "./mcp-server-
|
|
4
|
+
import { g as i } from "./mcp-server-DGzZmcM0.js";
|
|
5
5
|
function p() {
|
|
6
6
|
const e = process.env.TODOIST_BASE_URL, r = process.env.TODOIST_API_KEY;
|
|
7
7
|
if (!r)
|