@todoist/mcp 16.1.1 → 17.1.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 (39) hide show
  1. package/dist/index.d.ts +150 -47
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +57 -54
  4. package/dist/main-http.js +2 -2
  5. package/dist/main.js +1 -1
  6. package/dist/mcp-apps/index.html +1 -1
  7. package/dist/{mcp-server-Ctvp5HNX.js → mcp-server-CvWnqgY-.js} +3461 -3277
  8. package/dist/{require-valid-todoist-token-C7AVKqD4.js → require-valid-todoist-token-DbtZ3L2T.js} +1 -1
  9. package/dist/tool-helpers.d.ts +2 -1
  10. package/dist/tool-helpers.d.ts.map +1 -1
  11. package/dist/tool-registry.d.ts +146 -46
  12. package/dist/tool-registry.d.ts.map +1 -1
  13. package/dist/tools/add-folders.d.ts +54 -0
  14. package/dist/tools/add-folders.d.ts.map +1 -0
  15. package/dist/tools/add-projects.d.ts +4 -1
  16. package/dist/tools/add-projects.d.ts.map +1 -1
  17. package/dist/tools/delete-object.d.ts +6 -4
  18. package/dist/tools/delete-object.d.ts.map +1 -1
  19. package/dist/tools/find-folders.d.ts +37 -0
  20. package/dist/tools/find-folders.d.ts.map +1 -0
  21. package/dist/tools/find-projects.d.ts +3 -0
  22. package/dist/tools/find-projects.d.ts.map +1 -1
  23. package/dist/tools/get-project-health.d.ts +1 -44
  24. package/dist/tools/get-project-health.d.ts.map +1 -1
  25. package/dist/tools/update-folders.d.ts +54 -0
  26. package/dist/tools/update-folders.d.ts.map +1 -0
  27. package/dist/tools/update-projects.d.ts +2 -0
  28. package/dist/tools/update-projects.d.ts.map +1 -1
  29. package/dist/utils/constants.d.ts +2 -0
  30. package/dist/utils/constants.d.ts.map +1 -1
  31. package/dist/utils/output-schemas.d.ts +13 -2
  32. package/dist/utils/output-schemas.d.ts.map +1 -1
  33. package/dist/utils/test-helpers.d.ts +13 -1
  34. package/dist/utils/test-helpers.d.ts.map +1 -1
  35. package/dist/utils/tool-names.d.ts +3 -0
  36. package/dist/utils/tool-names.d.ts.map +1 -1
  37. package/dist/utils/workspace-resolver.d.ts +5 -0
  38. package/dist/utils/workspace-resolver.d.ts.map +1 -1
  39. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { validateBearerToken as _, createTokenVerdictCache as p, buildBearerChallenge as u } from "@todoist/mcp-core/host";
2
- import { $ as v, a0 as A } from "./mcp-server-Ctvp5HNX.js";
2
+ import { a2 as v, a3 as A } from "./mcp-server-CvWnqgY-.js";
3
3
  const k = "https://api.todoist.com", U = (e, t) => _({
4
4
  // Resolved the way the SDK resolves its own requests against a custom base URL. An empty
5
5
  // base (`TODOIST_BASE_URL=`) means the default, as it does for the SDK client.
@@ -78,9 +78,10 @@ export declare function searchAllProjects(client: TodoistApi, query: string): Pr
78
78
  * not refetch the pages already read.
79
79
  *
80
80
  * @param client - The Todoist API client
81
+ * @param folderId - Only the projects in this workspace folder
81
82
  * @returns Promise resolving to array of active projects
82
83
  */
83
- export declare function fetchAllActiveProjects(client: TodoistApi): Promise<Project[]>;
84
+ export declare function fetchAllActiveProjects(client: TodoistApi, folderId?: string): Promise<Project[]>;
84
85
  /**
85
86
  * Fetches the active workspace projects the user can see but hasn't joined,
86
87
  * across every workspace they belong to.
@@ -1 +1 @@
1
- {"version":3,"file":"tool-helpers.d.ts","sourceRoot":"","sources":["../src/tool-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,iBAAiB,EACjB,kBAAkB,EAClB,KAAK,aAAa,EAClB,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,WAAW,EAKhB,KAAK,KAAK,EACV,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,UAAU,EACf,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC/B,MAAM,cAAc,CAAA;AAUrB,OAAO,EACH,aAAa,EACb,+B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AG,SAAS,GAAG,MAAM,GAAG,SAAS,CAGxF;AAED,iBAAe,gBAAgB,CAAC,EAC5B,MAAM,EACN,KAAK,EACL,KAAK,EACL,MAAM,GACT,EAAE;IACC,MAAM,EAAE,UAAU,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;CAC7B;;;;;;;;;;;;;;;;;;;;;;GAkBA;AAqBD;;;;;GAKG;AACH,iBAAS,WAAW,CAAC,QAAQ,EAAE,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCtC;AAED;;GAEG;AACH,iBAAS,oBAAoB,CAAC,SAAS,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,EAAE;;;EAM1D;AAED,YAAY,EAAE,UAAU,EAAE,CAAA;AAC1B,OAAO,EACH,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,WAAW,EACX,OAAO,GACV,CAAA"}
@@ -816,6 +816,7 @@ declare const toolRegistry: {
816
816
  taupe: "taupe";
817
817
  }>>, unknown>;
818
818
  workspace: import('zod').ZodOptional<import('zod').ZodString>;
819
+ folderId: import('zod').ZodOptional<import('zod').ZodString>;
819
820
  }, import('zod/v4/core').$strip>>;
820
821
  };
821
822
  outputSchema: {
@@ -879,6 +880,7 @@ declare const toolRegistry: {
879
880
  description?: string | undefined;
880
881
  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;
881
882
  workspace?: string | undefined;
883
+ folderId?: string | undefined;
882
884
  }[];
883
885
  }, client: import('@todoist/sdk').TodoistApi): Promise<{
884
886
  textContent: string;
@@ -946,6 +948,7 @@ declare const toolRegistry: {
946
948
  grey: "grey";
947
949
  taupe: "taupe";
948
950
  }>>, unknown>;
951
+ folderId: import('zod').ZodOptional<import('zod').ZodString>;
949
952
  }, import('zod/v4/core').$strip>>;
950
953
  };
951
954
  outputSchema: {
@@ -1011,6 +1014,7 @@ declare const toolRegistry: {
1011
1014
  viewStyle?: "list" | "board" | "calendar" | "table" | undefined;
1012
1015
  description?: string | undefined;
1013
1016
  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;
1017
+ folderId?: string | undefined;
1014
1018
  }[];
1015
1019
  }, client: import('@todoist/sdk').TodoistApi): Promise<{
1016
1020
  textContent: string;
@@ -1056,6 +1060,7 @@ declare const toolRegistry: {
1056
1060
  active: "active";
1057
1061
  archived: "archived";
1058
1062
  }>>;
1063
+ folderId: import('zod').ZodOptional<import('zod').ZodString>;
1059
1064
  includeUnjoined: import('zod').ZodOptional<import('zod').ZodBoolean>;
1060
1065
  };
1061
1066
  outputSchema: {
@@ -1117,6 +1122,7 @@ declare const toolRegistry: {
1117
1122
  searchText?: string | undefined;
1118
1123
  cursor?: string | undefined;
1119
1124
  archivedStatus?: "all" | "active" | "archived" | undefined;
1125
+ folderId?: string | undefined;
1120
1126
  includeUnjoined?: boolean | undefined;
1121
1127
  }, client: import('@todoist/sdk').TodoistApi): Promise<{
1122
1128
  textContent: string;
@@ -1144,6 +1150,7 @@ declare const toolRegistry: {
1144
1150
  searchText?: string | undefined;
1145
1151
  cursor?: string | undefined;
1146
1152
  archivedStatus?: "all" | "active" | "archived" | undefined;
1153
+ folderId?: string | undefined;
1147
1154
  includeUnjoined?: boolean | undefined;
1148
1155
  };
1149
1156
  unjoinedProjects: {
@@ -1325,6 +1332,139 @@ declare const toolRegistry: {
1325
1332
  };
1326
1333
  }>;
1327
1334
  };
1335
+ addFolders: {
1336
+ name: "add-folders";
1337
+ description: string;
1338
+ parameters: {
1339
+ folders: import('zod').ZodArray<import('zod').ZodObject<{
1340
+ name: import('zod').ZodString;
1341
+ workspace: import('zod').ZodString;
1342
+ }, import('zod/v4/core').$strip>>;
1343
+ };
1344
+ outputSchema: {
1345
+ folders: import('zod').ZodArray<import('zod').ZodObject<{
1346
+ id: import('zod').ZodString;
1347
+ name: import('zod').ZodString;
1348
+ workspaceId: import('zod').ZodString;
1349
+ }, import('zod/v4/core').$strip>>;
1350
+ failures: import('zod').ZodArray<import('zod').ZodObject<{
1351
+ item: import('zod').ZodString;
1352
+ error: import('zod').ZodString;
1353
+ code: import('zod').ZodOptional<import('zod').ZodString>;
1354
+ }, import('zod/v4/core').$strip>>;
1355
+ successCount: import('zod').ZodNumber;
1356
+ failureCount: import('zod').ZodNumber;
1357
+ };
1358
+ annotations: {
1359
+ readOnlyHint: false;
1360
+ destructiveHint: false;
1361
+ idempotentHint: false;
1362
+ };
1363
+ execute({ folders }: {
1364
+ folders: {
1365
+ name: string;
1366
+ workspace: string;
1367
+ }[];
1368
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
1369
+ textContent: string;
1370
+ structuredContent: {
1371
+ folders: {
1372
+ id: string;
1373
+ name: string;
1374
+ workspaceId: string;
1375
+ }[];
1376
+ failures: {
1377
+ item: string;
1378
+ error: string;
1379
+ }[];
1380
+ successCount: number;
1381
+ failureCount: number;
1382
+ };
1383
+ }>;
1384
+ };
1385
+ updateFolders: {
1386
+ name: "update-folders";
1387
+ description: string;
1388
+ parameters: {
1389
+ folders: import('zod').ZodArray<import('zod').ZodObject<{
1390
+ id: import('zod').ZodString;
1391
+ name: import('zod').ZodString;
1392
+ }, import('zod/v4/core').$strip>>;
1393
+ };
1394
+ outputSchema: {
1395
+ folders: import('zod').ZodArray<import('zod').ZodObject<{
1396
+ id: import('zod').ZodString;
1397
+ name: import('zod').ZodString;
1398
+ workspaceId: import('zod').ZodString;
1399
+ }, import('zod/v4/core').$strip>>;
1400
+ failures: import('zod').ZodArray<import('zod').ZodObject<{
1401
+ item: import('zod').ZodString;
1402
+ error: import('zod').ZodString;
1403
+ code: import('zod').ZodOptional<import('zod').ZodString>;
1404
+ }, import('zod/v4/core').$strip>>;
1405
+ successCount: import('zod').ZodNumber;
1406
+ failureCount: import('zod').ZodNumber;
1407
+ };
1408
+ annotations: {
1409
+ readOnlyHint: false;
1410
+ destructiveHint: true;
1411
+ idempotentHint: true;
1412
+ };
1413
+ execute({ folders }: {
1414
+ folders: {
1415
+ id: string;
1416
+ name: string;
1417
+ }[];
1418
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
1419
+ textContent: string;
1420
+ structuredContent: {
1421
+ folders: {
1422
+ id: string;
1423
+ name: string;
1424
+ workspaceId: string;
1425
+ }[];
1426
+ failures: {
1427
+ item: string;
1428
+ error: string;
1429
+ }[];
1430
+ successCount: number;
1431
+ failureCount: number;
1432
+ };
1433
+ }>;
1434
+ };
1435
+ findFolders: {
1436
+ name: "find-folders";
1437
+ description: string;
1438
+ parameters: {
1439
+ workspace: import('zod').ZodOptional<import('zod').ZodString>;
1440
+ };
1441
+ outputSchema: {
1442
+ folders: import('zod').ZodArray<import('zod').ZodObject<{
1443
+ id: import('zod').ZodString;
1444
+ name: import('zod').ZodString;
1445
+ workspaceId: import('zod').ZodString;
1446
+ }, import('zod/v4/core').$strip>>;
1447
+ totalCount: import('zod').ZodNumber;
1448
+ };
1449
+ annotations: {
1450
+ readOnlyHint: true;
1451
+ destructiveHint: false;
1452
+ idempotentHint: true;
1453
+ };
1454
+ execute({ workspace }: {
1455
+ workspace?: string | undefined;
1456
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
1457
+ textContent: string;
1458
+ structuredContent: {
1459
+ folders: {
1460
+ id: string;
1461
+ name: string;
1462
+ workspaceId: string;
1463
+ }[];
1464
+ totalCount: number;
1465
+ };
1466
+ }>;
1467
+ };
1328
1468
  addSections: {
1329
1469
  name: "add-sections";
1330
1470
  description: string;
@@ -3092,7 +3232,6 @@ declare const toolRegistry: {
3092
3232
  description: string;
3093
3233
  parameters: {
3094
3234
  projectId: import('zod').ZodString;
3095
- includeContext: import('zod').ZodDefault<import('zod').ZodBoolean>;
3096
3235
  };
3097
3236
  outputSchema: {
3098
3237
  projectId: import('zod').ZodString;
@@ -3117,26 +3256,6 @@ declare const toolRegistry: {
3117
3256
  updateInProgress: import('zod').ZodBoolean;
3118
3257
  updatedAt: import('zod').ZodOptional<import('zod').ZodString>;
3119
3258
  }, import('zod/v4/core').$strip>;
3120
- context: import('zod').ZodOptional<import('zod').ZodObject<{
3121
- projectDescription: import('zod').ZodOptional<import('zod').ZodString>;
3122
- projectMetrics: import('zod').ZodObject<{
3123
- totalTasks: import('zod').ZodNumber;
3124
- completedTasks: import('zod').ZodNumber;
3125
- overdueTasks: import('zod').ZodNumber;
3126
- tasksCreatedThisWeek: import('zod').ZodNumber;
3127
- tasksCompletedThisWeek: import('zod').ZodNumber;
3128
- averageCompletionTime: import('zod').ZodOptional<import('zod').ZodNumber>;
3129
- }, import('zod/v4/core').$strip>;
3130
- tasks: import('zod').ZodArray<import('zod').ZodObject<{
3131
- id: import('zod').ZodString;
3132
- content: import('zod').ZodString;
3133
- priority: import('zod').ZodString;
3134
- due: import('zod').ZodOptional<import('zod').ZodString>;
3135
- deadline: import('zod').ZodOptional<import('zod').ZodString>;
3136
- isCompleted: import('zod').ZodBoolean;
3137
- labels: import('zod').ZodArray<import('zod').ZodString>;
3138
- }, import('zod/v4/core').$strip>>;
3139
- }, import('zod/v4/core').$strip>>;
3140
3259
  };
3141
3260
  annotations: {
3142
3261
  readOnlyHint: true;
@@ -3145,7 +3264,6 @@ declare const toolRegistry: {
3145
3264
  };
3146
3265
  execute(args: {
3147
3266
  projectId: string;
3148
- includeContext: boolean;
3149
3267
  }, client: import('@todoist/sdk').TodoistApi): Promise<{
3150
3268
  textContent: string;
3151
3269
  structuredContent: {
@@ -3164,26 +3282,6 @@ declare const toolRegistry: {
3164
3282
  updateInProgress: boolean;
3165
3283
  updatedAt: string | undefined;
3166
3284
  };
3167
- context: {
3168
- projectDescription: string;
3169
- projectMetrics: {
3170
- totalTasks: number;
3171
- completedTasks: number;
3172
- overdueTasks: number;
3173
- tasksCreatedThisWeek: number;
3174
- tasksCompletedThisWeek: number;
3175
- averageCompletionTime: number | undefined;
3176
- };
3177
- tasks: {
3178
- id: string;
3179
- content: string;
3180
- priority: string;
3181
- due: string | undefined;
3182
- deadline: string | undefined;
3183
- isCompleted: boolean;
3184
- labels: string[];
3185
- }[];
3186
- } | undefined;
3187
3285
  };
3188
3286
  }>;
3189
3287
  };
@@ -3421,8 +3519,9 @@ declare const toolRegistry: {
3421
3519
  label: "label";
3422
3520
  task: "task";
3423
3521
  comment: "comment";
3424
- reminder: "reminder";
3425
3522
  project: "project";
3523
+ folder: "folder";
3524
+ reminder: "reminder";
3426
3525
  section: "section";
3427
3526
  location_reminder: "location_reminder";
3428
3527
  }>;
@@ -3435,8 +3534,9 @@ declare const toolRegistry: {
3435
3534
  label: "label";
3436
3535
  task: "task";
3437
3536
  comment: "comment";
3438
- reminder: "reminder";
3439
3537
  project: "project";
3538
+ folder: "folder";
3539
+ reminder: "reminder";
3440
3540
  section: "section";
3441
3541
  location_reminder: "location_reminder";
3442
3542
  }>;
@@ -3450,13 +3550,13 @@ declare const toolRegistry: {
3450
3550
  idempotentHint: true;
3451
3551
  };
3452
3552
  execute(args: {
3453
- type: "filter" | "label" | "task" | "comment" | "reminder" | "project" | "section" | "location_reminder";
3553
+ type: "filter" | "label" | "task" | "comment" | "project" | "folder" | "reminder" | "section" | "location_reminder";
3454
3554
  id: string;
3455
3555
  }, client: import('@todoist/sdk').TodoistApi): Promise<{
3456
3556
  textContent: string;
3457
3557
  structuredContent: {
3458
3558
  deletedEntity: {
3459
- type: "filter" | "label" | "task" | "comment" | "reminder" | "project" | "section" | "location_reminder";
3559
+ type: "filter" | "label" | "task" | "comment" | "project" | "folder" | "reminder" | "section" | "location_reminder";
3460
3560
  id: string;
3461
3561
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AAO,EAAE,eAAe,EAAE,YAAY,EAAE,CAAA"}
@@ -0,0 +1,54 @@
1
+ import { z } from 'zod';
2
+ type Failure = {
3
+ item: string;
4
+ error: string;
5
+ };
6
+ declare const addFolders: {
7
+ name: "add-folders";
8
+ description: string;
9
+ parameters: {
10
+ folders: z.ZodArray<z.ZodObject<{
11
+ name: z.ZodString;
12
+ workspace: z.ZodString;
13
+ }, z.core.$strip>>;
14
+ };
15
+ outputSchema: {
16
+ folders: z.ZodArray<z.ZodObject<{
17
+ id: z.ZodString;
18
+ name: z.ZodString;
19
+ workspaceId: z.ZodString;
20
+ }, z.core.$strip>>;
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
+ successCount: z.ZodNumber;
27
+ failureCount: z.ZodNumber;
28
+ };
29
+ annotations: {
30
+ readOnlyHint: false;
31
+ destructiveHint: false;
32
+ idempotentHint: false;
33
+ };
34
+ execute({ folders }: {
35
+ folders: {
36
+ name: string;
37
+ workspace: string;
38
+ }[];
39
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
40
+ textContent: string;
41
+ structuredContent: {
42
+ folders: {
43
+ id: string;
44
+ name: string;
45
+ workspaceId: string;
46
+ }[];
47
+ failures: Failure[];
48
+ successCount: number;
49
+ failureCount: number;
50
+ };
51
+ }>;
52
+ };
53
+ export { addFolders };
54
+ //# sourceMappingURL=add-folders.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-folders.d.ts","sourceRoot":"","sources":["../../src/tools/add-folders.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA2CvB,KAAK,OAAO,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAA;AAE9C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuD+C,CAAA;AAc/D,OAAO,EAAE,UAAU,EAAE,CAAA"}
@@ -1,3 +1,4 @@
1
+ import { TodoistApi } from '@todoist/sdk';
1
2
  import { z } from 'zod';
2
3
  declare const addProjects: {
3
4
  name: "add-projects";
@@ -37,6 +38,7 @@ declare const addProjects: {
37
38
  taupe: "taupe";
38
39
  }>>, unknown>;
39
40
  workspace: z.ZodOptional<z.ZodString>;
41
+ folderId: z.ZodOptional<z.ZodString>;
40
42
  }, z.core.$strip>>;
41
43
  };
42
44
  outputSchema: {
@@ -100,8 +102,9 @@ declare const addProjects: {
100
102
  description?: string | undefined;
101
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;
102
104
  workspace?: string | undefined;
105
+ folderId?: string | undefined;
103
106
  }[];
104
- }, client: import('@todoist/sdk').TodoistApi): Promise<{
107
+ }, client: TodoistApi): Promise<{
105
108
  textContent: string;
106
109
  structuredContent: {
107
110
  projects: {
@@ -1 +1 @@
1
- {"version":3,"file":"add-projects.d.ts","sourceRoot":"","sources":["../../src/tools/add-projects.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAmEvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAkDqB,MAAM;uBAAS,MAAM;;;;;;;CA8BI,CAAA;AA2E/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
1
+ {"version":3,"file":"add-projects.d.ts","sourceRoot":"","sources":["../../src/tools/add-projects.ts"],"names":[],"mappings":"AACA,OAAO,EAOH,KAAK,UAAU,EAElB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA6EvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBA0EqB,MAAM;uBAAS,MAAM;;;;;;;CA8BI,CAAA;AAwL/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -8,8 +8,9 @@ declare const deleteObject: {
8
8
  label: "label";
9
9
  task: "task";
10
10
  comment: "comment";
11
- reminder: "reminder";
12
11
  project: "project";
12
+ folder: "folder";
13
+ reminder: "reminder";
13
14
  section: "section";
14
15
  location_reminder: "location_reminder";
15
16
  }>;
@@ -22,8 +23,9 @@ declare const deleteObject: {
22
23
  label: "label";
23
24
  task: "task";
24
25
  comment: "comment";
25
- reminder: "reminder";
26
26
  project: "project";
27
+ folder: "folder";
28
+ reminder: "reminder";
27
29
  section: "section";
28
30
  location_reminder: "location_reminder";
29
31
  }>;
@@ -37,13 +39,13 @@ declare const deleteObject: {
37
39
  idempotentHint: true;
38
40
  };
39
41
  execute(args: {
40
- type: "filter" | "label" | "task" | "comment" | "reminder" | "project" | "section" | "location_reminder";
42
+ type: "filter" | "label" | "task" | "comment" | "project" | "folder" | "reminder" | "section" | "location_reminder";
41
43
  id: string;
42
44
  }, client: import('@todoist/sdk').TodoistApi): Promise<{
43
45
  textContent: string;
44
46
  structuredContent: {
45
47
  deletedEntity: {
46
- type: "filter" | "label" | "task" | "comment" | "reminder" | "project" | "section" | "location_reminder";
48
+ type: "filter" | "label" | "task" | "comment" | "project" | "folder" | "reminder" | "section" | "location_reminder";
47
49
  id: string;
48
50
  };
49
51
  success: true;
@@ -1 +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;AA+BvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkD6C,CAAA;AAE/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
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;AAgCvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwD6C,CAAA;AAE/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -0,0 +1,37 @@
1
+ import { TodoistApi } from '@todoist/sdk';
2
+ import { z } from 'zod';
3
+ declare const findFolders: {
4
+ name: "find-folders";
5
+ description: string;
6
+ parameters: {
7
+ workspace: z.ZodOptional<z.ZodString>;
8
+ };
9
+ outputSchema: {
10
+ folders: z.ZodArray<z.ZodObject<{
11
+ id: z.ZodString;
12
+ name: z.ZodString;
13
+ workspaceId: z.ZodString;
14
+ }, z.core.$strip>>;
15
+ totalCount: z.ZodNumber;
16
+ };
17
+ annotations: {
18
+ readOnlyHint: true;
19
+ destructiveHint: false;
20
+ idempotentHint: true;
21
+ };
22
+ execute({ workspace }: {
23
+ workspace?: string | undefined;
24
+ }, client: TodoistApi): Promise<{
25
+ textContent: string;
26
+ structuredContent: {
27
+ folders: {
28
+ id: string;
29
+ name: string;
30
+ workspaceId: string;
31
+ }[];
32
+ totalCount: number;
33
+ };
34
+ }>;
35
+ };
36
+ export { findFolders };
37
+ //# sourceMappingURL=find-folders.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"find-folders.d.ts","sourceRoot":"","sources":["../../src/tools/find-folders.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA8C,UAAU,EAAE,MAAM,cAAc,CAAA;AAC1F,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA8BvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwB8C,CAAA;AAwC/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -12,6 +12,7 @@ declare const findProjects: {
12
12
  active: "active";
13
13
  archived: "archived";
14
14
  }>>;
15
+ folderId: z.ZodOptional<z.ZodString>;
15
16
  includeUnjoined: z.ZodOptional<z.ZodBoolean>;
16
17
  };
17
18
  outputSchema: {
@@ -73,6 +74,7 @@ declare const findProjects: {
73
74
  searchText?: string | undefined;
74
75
  cursor?: string | undefined;
75
76
  archivedStatus?: "all" | "active" | "archived" | undefined;
77
+ folderId?: string | undefined;
76
78
  includeUnjoined?: boolean | undefined;
77
79
  }, client: TodoistApi): Promise<{
78
80
  textContent: string;
@@ -100,6 +102,7 @@ declare const findProjects: {
100
102
  searchText?: string | undefined;
101
103
  cursor?: string | undefined;
102
104
  archivedStatus?: "all" | "active" | "archived" | undefined;
105
+ folderId?: string | undefined;
103
106
  includeUnjoined?: boolean | undefined;
104
107
  };
105
108
  unjoinedProjects: {
@@ -1 +1 @@
1
- {"version":3,"file":"find-projects.d.ts","sourceRoot":"","sources":["../../src/tools/find-projects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAW,UAAU,EAA2B,MAAM,cAAc,CAAA;AAChF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAgFvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6D6C,CAAA;AAgK/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"find-projects.d.ts","sourceRoot":"","sources":["../../src/tools/find-projects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAW,UAAU,EAA2B,MAAM,cAAc,CAAA;AAChF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAsFvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyE6C,CAAA;AAsL/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -1,11 +1,9 @@
1
- import { TodoistApi } from '@todoist/sdk';
2
1
  import { z } from 'zod';
3
2
  declare const getProjectHealth: {
4
3
  name: "get-project-health";
5
4
  description: string;
6
5
  parameters: {
7
6
  projectId: z.ZodString;
8
- includeContext: z.ZodDefault<z.ZodBoolean>;
9
7
  };
10
8
  outputSchema: {
11
9
  projectId: z.ZodString;
@@ -30,26 +28,6 @@ declare const getProjectHealth: {
30
28
  updateInProgress: z.ZodBoolean;
31
29
  updatedAt: z.ZodOptional<z.ZodString>;
32
30
  }, z.core.$strip>;
33
- context: z.ZodOptional<z.ZodObject<{
34
- projectDescription: z.ZodOptional<z.ZodString>;
35
- projectMetrics: z.ZodObject<{
36
- totalTasks: z.ZodNumber;
37
- completedTasks: z.ZodNumber;
38
- overdueTasks: z.ZodNumber;
39
- tasksCreatedThisWeek: z.ZodNumber;
40
- tasksCompletedThisWeek: z.ZodNumber;
41
- averageCompletionTime: z.ZodOptional<z.ZodNumber>;
42
- }, z.core.$strip>;
43
- tasks: z.ZodArray<z.ZodObject<{
44
- id: z.ZodString;
45
- content: z.ZodString;
46
- priority: z.ZodString;
47
- due: z.ZodOptional<z.ZodString>;
48
- deadline: z.ZodOptional<z.ZodString>;
49
- isCompleted: z.ZodBoolean;
50
- labels: z.ZodArray<z.ZodString>;
51
- }, z.core.$strip>>;
52
- }, z.core.$strip>>;
53
31
  };
54
32
  annotations: {
55
33
  readOnlyHint: true;
@@ -58,8 +36,7 @@ declare const getProjectHealth: {
58
36
  };
59
37
  execute(args: {
60
38
  projectId: string;
61
- includeContext: boolean;
62
- }, client: TodoistApi): Promise<{
39
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
63
40
  textContent: string;
64
41
  structuredContent: {
65
42
  projectId: string;
@@ -77,26 +54,6 @@ declare const getProjectHealth: {
77
54
  updateInProgress: boolean;
78
55
  updatedAt: string | undefined;
79
56
  };
80
- context: {
81
- projectDescription: string;
82
- projectMetrics: {
83
- totalTasks: number;
84
- completedTasks: number;
85
- overdueTasks: number;
86
- tasksCreatedThisWeek: number;
87
- tasksCompletedThisWeek: number;
88
- averageCompletionTime: number | undefined;
89
- };
90
- tasks: {
91
- id: string;
92
- content: string;
93
- priority: string;
94
- due: string | undefined;
95
- deadline: string | undefined;
96
- isCompleted: boolean;
97
- labels: string[];
98
- }[];
99
- } | undefined;
100
57
  };
101
58
  }>;
102
59
  };
@@ -1 +1 @@
1
- {"version":3,"file":"get-project-health.d.ts","sourceRoot":"","sources":["../../src/tools/get-project-health.ts"],"names":[],"mappings":"AAAA,OAAO,EAQH,KAAK,UAAU,EAClB,MAAM,cAAc,CAAA;AACrB,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA0OvB,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CyC,CAAA;AAE/D,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
1
+ {"version":3,"file":"get-project-health.d.ts","sourceRoot":"","sources":["../../src/tools/get-project-health.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA+EvB,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CyC,CAAA;AAE/D,OAAO,EAAE,gBAAgB,EAAE,CAAA"}