@doist/todoist-ai 8.8.1 → 8.8.3

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 (85) hide show
  1. package/README.md +2 -2
  2. package/dist/filter-helpers.d.ts +1 -1
  3. package/dist/filter-helpers.d.ts.map +1 -1
  4. package/dist/index.d.ts +41 -41
  5. package/dist/index.js +2 -2
  6. package/dist/main-http.js +1 -1
  7. package/dist/main.js +1 -1
  8. package/dist/mcp-helpers.d.ts +1 -1
  9. package/dist/mcp-helpers.d.ts.map +1 -1
  10. package/dist/{mcp-server-DT69QyGA.js → mcp-server-BIUYAwud.js} +1101 -1054
  11. package/dist/prompts/productivity-analysis.d.ts +1 -1
  12. package/dist/prompts/productivity-analysis.d.ts.map +1 -1
  13. package/dist/todoist-tool.d.ts +1 -1
  14. package/dist/todoist-tool.d.ts.map +1 -1
  15. package/dist/tool-helpers.d.ts +1 -1
  16. package/dist/tool-helpers.d.ts.map +1 -1
  17. package/dist/tools/add-comments.d.ts +1 -1
  18. package/dist/tools/add-filters.d.ts +1 -1
  19. package/dist/tools/add-labels.d.ts +1 -1
  20. package/dist/tools/add-projects.d.ts +2 -2
  21. package/dist/tools/add-reminders.d.ts +1 -1
  22. package/dist/tools/add-sections.d.ts +1 -1
  23. package/dist/tools/add-tasks.d.ts +1 -1
  24. package/dist/tools/add-tasks.d.ts.map +1 -1
  25. package/dist/tools/analyze-project-health.d.ts +1 -1
  26. package/dist/tools/complete-tasks.d.ts +1 -1
  27. package/dist/tools/delete-object.d.ts +1 -1
  28. package/dist/tools/fetch-object.d.ts +2 -2
  29. package/dist/tools/fetch.d.ts +1 -1
  30. package/dist/tools/find-activity.d.ts +1 -1
  31. package/dist/tools/find-comments.d.ts +1 -1
  32. package/dist/tools/find-completed-tasks.d.ts +1 -1
  33. package/dist/tools/find-filters.d.ts +2 -2
  34. package/dist/tools/find-filters.d.ts.map +1 -1
  35. package/dist/tools/find-labels.d.ts +1 -1
  36. package/dist/tools/find-project-collaborators.d.ts +1 -1
  37. package/dist/tools/find-projects.d.ts +2 -2
  38. package/dist/tools/find-reminders.d.ts +1 -1
  39. package/dist/tools/find-sections.d.ts +1 -1
  40. package/dist/tools/find-tasks-by-date.d.ts +1 -1
  41. package/dist/tools/find-tasks.d.ts +1 -1
  42. package/dist/tools/get-overview.d.ts +2 -2
  43. package/dist/tools/get-overview.d.ts.map +1 -1
  44. package/dist/tools/get-productivity-stats.d.ts +1 -1
  45. package/dist/tools/get-productivity-stats.d.ts.map +1 -1
  46. package/dist/tools/get-project-activity-stats.d.ts +1 -1
  47. package/dist/tools/get-project-health.d.ts +1 -1
  48. package/dist/tools/get-project-health.d.ts.map +1 -1
  49. package/dist/tools/get-workspace-insights.d.ts +1 -1
  50. package/dist/tools/list-workspaces.d.ts +1 -1
  51. package/dist/tools/list-workspaces.d.ts.map +1 -1
  52. package/dist/tools/manage-assignments.d.ts +1 -1
  53. package/dist/tools/project-management.d.ts +2 -2
  54. package/dist/tools/project-move.d.ts +2 -2
  55. package/dist/tools/reorder-objects.d.ts +1 -1
  56. package/dist/tools/reschedule-tasks.d.ts +2 -2
  57. package/dist/tools/reschedule-tasks.d.ts.map +1 -1
  58. package/dist/tools/search.d.ts +1 -1
  59. package/dist/tools/uncomplete-tasks.d.ts +1 -1
  60. package/dist/tools/update-comments.d.ts +1 -1
  61. package/dist/tools/update-filters.d.ts +1 -1
  62. package/dist/tools/update-projects.d.ts +2 -2
  63. package/dist/tools/update-reminders.d.ts +1 -1
  64. package/dist/tools/update-sections.d.ts +1 -1
  65. package/dist/tools/update-tasks.d.ts +1 -1
  66. package/dist/tools/user-info.d.ts +2 -2
  67. package/dist/tools/user-info.d.ts.map +1 -1
  68. package/dist/tools/view-attachment.d.ts +1 -1
  69. package/dist/utils/assignment-validator.d.ts +1 -1
  70. package/dist/utils/assignment-validator.d.ts.map +1 -1
  71. package/dist/utils/filter-resolver.d.ts +1 -1
  72. package/dist/utils/filter-resolver.d.ts.map +1 -1
  73. package/dist/utils/response-builders.d.ts +1 -1
  74. package/dist/utils/response-builders.d.ts.map +1 -1
  75. package/dist/utils/retry.d.ts +10 -0
  76. package/dist/utils/retry.d.ts.map +1 -0
  77. package/dist/utils/test-helpers.d.ts +1 -1
  78. package/dist/utils/test-helpers.d.ts.map +1 -1
  79. package/dist/utils/user-resolver.d.ts +1 -1
  80. package/dist/utils/user-resolver.d.ts.map +1 -1
  81. package/dist/utils/workspace-resolver.d.ts +1 -1
  82. package/dist/utils/workspace-resolver.d.ts.map +1 -1
  83. package/package.json +2 -2
  84. package/scripts/run-tool.ts +1 -1
  85. package/scripts/validate-schemas.ts +1 -1
package/README.md CHANGED
@@ -20,7 +20,7 @@ Here's an example using [Vercel's AI SDK](https://ai-sdk.dev/docs/ai-sdk-core/ge
20
20
 
21
21
  ```js
22
22
  import { findTasksByDate, addTasks } from "@doist/todoist-ai";
23
- import { TodoistApi } from "@doist/todoist-api-typescript";
23
+ import { TodoistApi } from "@doist/todoist-sdk";
24
24
  import { streamText } from "ai";
25
25
 
26
26
  // Create Todoist API client
@@ -144,7 +144,7 @@ This server includes `search` and `fetch` tools that follow the [OpenAI MCP spec
144
144
  ## Dependencies
145
145
 
146
146
  - MCP server using the official [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk?tab=readme-ov-file#installation)
147
- - Todoist Typescript API client [@doist/todoist-api-typescript](https://github.com/Doist/todoist-api-typescript)
147
+ - Todoist Typescript API client [@doist/todoist-sdk](https://github.com/Doist/todoist-sdk)
148
148
 
149
149
  ## MCP Server Setup
150
150
 
@@ -1,4 +1,4 @@
1
- import { TodoistApi } from '@doist/todoist-api-typescript';
1
+ import { TodoistApi } from '@doist/todoist-sdk';
2
2
  export declare const RESPONSIBLE_USER_FILTERING: readonly ["assigned", "unassignedOrMe", "all"];
3
3
  export type ResponsibleUserFiltering = (typeof RESPONSIBLE_USER_FILTERING)[number];
4
4
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"filter-helpers.d.ts","sourceRoot":"","sources":["../src/filter-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAG/D,eAAO,MAAM,0BAA0B,gDAAiD,CAAA;AACxF,MAAM,MAAM,wBAAwB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAA;AAElF;;;;;;GAMG;AACH,wBAAsB,sBAAsB,CACxC,MAAM,EAAE,UAAU,EAClB,eAAe,EAAE,MAAM,GAAG,SAAS,GACpC,OAAO,CAAC;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAAC,CAaxD;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,MAAM,CAQ5E;AAED;;;;;;GAMG;AACH,wBAAgB,+BAA+B,CAAC,EAC5C,kBAAkB,EAClB,aAAa,EACb,wBAA2C,GAC9C,EAAE;IACC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAA;IACtC,aAAa,EAAE,MAAM,GAAG,SAAS,CAAA;IACjC,wBAAwB,CAAC,EAAE,wBAAwB,CAAA;CACtD,GAAG,MAAM,CAmBT;AAED;;;;;;;;GAQG;AACH,wBAAgB,4BAA4B,CAAC,CAAC,SAAS;IAAE,cAAc,CAAC,EAAE,MAAM,CAAA;CAAE,EAAE,EAChF,KAAK,EACL,kBAAkB,EAClB,aAAa,EACb,wBAA2C,GAC9C,EAAE;IACC,KAAK,EAAE,CAAC,EAAE,CAAA;IACV,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAA;IACtC,aAAa,EAAE,MAAM,CAAA;IACrB,wBAAwB,CAAC,EAAE,wBAAwB,CAAA;CACtD,GAAG,CAAC,EAAE,CAWN"}
1
+ {"version":3,"file":"filter-helpers.d.ts","sourceRoot":"","sources":["../src/filter-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAGpD,eAAO,MAAM,0BAA0B,gDAAiD,CAAA;AACxF,MAAM,MAAM,wBAAwB,GAAG,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAA;AAElF;;;;;;GAMG;AACH,wBAAsB,sBAAsB,CACxC,MAAM,EAAE,UAAU,EAClB,eAAe,EAAE,MAAM,GAAG,SAAS,GACpC,OAAO,CAAC;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAAG,SAAS,CAAC,CAaxD;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,GAAG,MAAM,CAQ5E;AAED;;;;;;GAMG;AACH,wBAAgB,+BAA+B,CAAC,EAC5C,kBAAkB,EAClB,aAAa,EACb,wBAA2C,GAC9C,EAAE;IACC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAA;IACtC,aAAa,EAAE,MAAM,GAAG,SAAS,CAAA;IACjC,wBAAwB,CAAC,EAAE,wBAAwB,CAAA;CACtD,GAAG,MAAM,CAmBT;AAED;;;;;;;;GAQG;AACH,wBAAgB,4BAA4B,CAAC,CAAC,SAAS;IAAE,cAAc,CAAC,EAAE,MAAM,CAAA;CAAE,EAAE,EAChF,KAAK,EACL,kBAAkB,EAClB,aAAa,EACb,wBAA2C,GAC9C,EAAE;IACC,KAAK,EAAE,CAAC,EAAE,CAAA;IACV,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAA;IACtC,aAAa,EAAE,MAAM,CAAA;IACrB,wBAAwB,CAAC,EAAE,wBAAwB,CAAA;CACtD,GAAG,CAAC,EAAE,CAWN"}
package/dist/index.d.ts CHANGED
@@ -120,7 +120,7 @@ declare const tools: {
120
120
  responsibleUser?: string | undefined;
121
121
  isUncompletable?: boolean | undefined;
122
122
  }[];
123
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
123
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
124
124
  textContent: string;
125
125
  structuredContent: {
126
126
  tasks: {
@@ -176,7 +176,7 @@ declare const tools: {
176
176
  };
177
177
  execute(args: {
178
178
  ids: string[];
179
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
179
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
180
180
  textContent: string;
181
181
  structuredContent: {
182
182
  completed: string[];
@@ -215,7 +215,7 @@ declare const tools: {
215
215
  };
216
216
  execute(args: {
217
217
  ids: string[];
218
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
218
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
219
219
  textContent: string;
220
220
  structuredContent: {
221
221
  uncompleted: string[];
@@ -310,7 +310,7 @@ declare const tools: {
310
310
  labels?: string[] | undefined;
311
311
  isUncompletable?: boolean | undefined;
312
312
  }[];
313
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
313
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
314
314
  textContent: string;
315
315
  structuredContent: {
316
316
  tasks: {
@@ -412,7 +412,7 @@ declare const tools: {
412
412
  cursor?: string | undefined;
413
413
  filter?: string | undefined;
414
414
  filterIdOrName?: string | undefined;
415
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
415
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
416
416
  textContent: string;
417
417
  structuredContent: {
418
418
  tasks: {
@@ -523,7 +523,7 @@ declare const tools: {
523
523
  cursor?: string | undefined;
524
524
  responsibleUser?: string | undefined;
525
525
  responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
526
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
526
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
527
527
  textContent: string;
528
528
  structuredContent: {
529
529
  tasks: {
@@ -632,7 +632,7 @@ declare const tools: {
632
632
  parentId?: string | undefined;
633
633
  responsibleUser?: string | undefined;
634
634
  cursor?: string | undefined;
635
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
635
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
636
636
  textContent: string;
637
637
  structuredContent: {
638
638
  tasks: {
@@ -720,7 +720,7 @@ declare const tools: {
720
720
  id: string;
721
721
  date: string;
722
722
  }[];
723
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
723
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
724
724
  textContent: string;
725
725
  structuredContent: {
726
726
  tasks: {
@@ -835,13 +835,13 @@ declare const tools: {
835
835
  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;
836
836
  workspace?: string | undefined;
837
837
  }[];
838
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
838
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
839
839
  textContent: string;
840
840
  structuredContent: {
841
841
  projects: {
842
842
  id: string;
843
843
  name: string;
844
- color: import('@doist/todoist-api-typescript').ColorKey;
844
+ color: import('@doist/todoist-sdk').ColorKey;
845
845
  isFavorite: boolean;
846
846
  isShared: boolean;
847
847
  parentId: string | undefined;
@@ -947,13 +947,13 @@ declare const tools: {
947
947
  viewStyle?: "list" | "board" | "calendar" | undefined;
948
948
  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;
949
949
  }[];
950
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
950
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
951
951
  textContent: string;
952
952
  structuredContent: {
953
953
  projects: {
954
954
  id: string;
955
955
  name: string;
956
- color: import('@doist/todoist-api-typescript').ColorKey;
956
+ color: import('@doist/todoist-sdk').ColorKey;
957
957
  isFavorite: boolean;
958
958
  isShared: boolean;
959
959
  parentId: string | undefined;
@@ -1029,13 +1029,13 @@ declare const tools: {
1029
1029
  limit: number;
1030
1030
  searchText?: string | undefined;
1031
1031
  cursor?: string | undefined;
1032
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1032
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1033
1033
  textContent: string;
1034
1034
  structuredContent: {
1035
1035
  projects: {
1036
1036
  id: string;
1037
1037
  name: string;
1038
- color: import('@doist/todoist-api-typescript').ColorKey;
1038
+ color: import('@doist/todoist-sdk').ColorKey;
1039
1039
  isFavorite: boolean;
1040
1040
  isShared: boolean;
1041
1041
  parentId: string | undefined;
@@ -1082,7 +1082,7 @@ declare const tools: {
1082
1082
  name: string;
1083
1083
  projectId: string;
1084
1084
  }[];
1085
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1085
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1086
1086
  textContent: string;
1087
1087
  structuredContent: {
1088
1088
  sections: {
@@ -1130,7 +1130,7 @@ declare const tools: {
1130
1130
  id: string;
1131
1131
  name: string;
1132
1132
  }[];
1133
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1133
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1134
1134
  textContent: string;
1135
1135
  structuredContent: {
1136
1136
  sections: {
@@ -1175,7 +1175,7 @@ declare const tools: {
1175
1175
  execute(args: {
1176
1176
  projectId: string;
1177
1177
  searchText?: string | undefined;
1178
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1178
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1179
1179
  textContent: string;
1180
1180
  structuredContent: {
1181
1181
  sections: {
@@ -1240,7 +1240,7 @@ declare const tools: {
1240
1240
  taskId?: string | undefined;
1241
1241
  projectId?: string | undefined;
1242
1242
  }[];
1243
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1243
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1244
1244
  textContent: string;
1245
1245
  structuredContent: {
1246
1246
  comments: {
@@ -1321,7 +1321,7 @@ declare const tools: {
1321
1321
  id: string;
1322
1322
  content: string;
1323
1323
  }[];
1324
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1324
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1325
1325
  textContent: string;
1326
1326
  structuredContent: {
1327
1327
  comments: {
@@ -1407,7 +1407,7 @@ declare const tools: {
1407
1407
  commentId?: string | undefined;
1408
1408
  cursor?: string | undefined;
1409
1409
  limit?: number | undefined;
1410
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1410
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1411
1411
  textContent: string;
1412
1412
  structuredContent: {
1413
1413
  comments: {
@@ -1464,7 +1464,7 @@ declare const tools: {
1464
1464
  };
1465
1465
  execute({ fileUrl }: {
1466
1466
  fileUrl: string;
1467
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1467
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1468
1468
  textContent: string;
1469
1469
  structuredContent: {
1470
1470
  fileName: string | undefined;
@@ -1559,7 +1559,7 @@ declare const tools: {
1559
1559
  order?: number | undefined;
1560
1560
  isFavorite?: boolean | undefined;
1561
1561
  }[];
1562
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1562
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1563
1563
  textContent: string;
1564
1564
  structuredContent: {
1565
1565
  labels: {
@@ -1625,7 +1625,7 @@ declare const tools: {
1625
1625
  limit: number;
1626
1626
  searchText?: string | undefined;
1627
1627
  cursor?: string | undefined;
1628
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1628
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1629
1629
  textContent: string;
1630
1630
  structuredContent: {
1631
1631
  labels: {
@@ -1696,7 +1696,7 @@ declare const tools: {
1696
1696
  };
1697
1697
  execute(args: {
1698
1698
  search?: string | undefined;
1699
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1699
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1700
1700
  textContent: string;
1701
1701
  structuredContent: {
1702
1702
  filters: {
@@ -1787,7 +1787,7 @@ declare const tools: {
1787
1787
  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;
1788
1788
  isFavorite?: boolean | undefined;
1789
1789
  }[];
1790
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1790
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1791
1791
  textContent: string;
1792
1792
  structuredContent: {
1793
1793
  filters: {
@@ -1885,7 +1885,7 @@ declare const tools: {
1885
1885
  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;
1886
1886
  isFavorite?: boolean | undefined;
1887
1887
  }[];
1888
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1888
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1889
1889
  textContent: string;
1890
1890
  structuredContent: {
1891
1891
  filters: {
@@ -1963,7 +1963,7 @@ declare const tools: {
1963
1963
  taskId?: string | undefined;
1964
1964
  initiatorId?: string | undefined;
1965
1965
  cursor?: string | undefined;
1966
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
1966
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1967
1967
  textContent: string;
1968
1968
  structuredContent: {
1969
1969
  events: {
@@ -2074,7 +2074,7 @@ declare const tools: {
2074
2074
  destructiveHint: false;
2075
2075
  idempotentHint: true;
2076
2076
  };
2077
- execute(_args: Record<string, never>, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
2077
+ execute(_args: Record<string, never>, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2078
2078
  textContent: string;
2079
2079
  structuredContent: {
2080
2080
  completedCount: number;
@@ -2213,7 +2213,7 @@ declare const tools: {
2213
2213
  execute(args: {
2214
2214
  projectId: string;
2215
2215
  includeContext: boolean;
2216
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
2216
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2217
2217
  textContent: string;
2218
2218
  structuredContent: {
2219
2219
  projectId: string;
@@ -2287,7 +2287,7 @@ declare const tools: {
2287
2287
  projectId: string;
2288
2288
  weeks?: number | undefined;
2289
2289
  includeWeeklyCounts?: boolean | undefined;
2290
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
2290
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2291
2291
  textContent: string;
2292
2292
  structuredContent: {
2293
2293
  projectId: string;
@@ -2332,7 +2332,7 @@ declare const tools: {
2332
2332
  };
2333
2333
  execute(args: {
2334
2334
  projectId: string;
2335
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
2335
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2336
2336
  textContent: string;
2337
2337
  structuredContent: {
2338
2338
  projectId: string;
@@ -2385,7 +2385,7 @@ declare const tools: {
2385
2385
  execute(args: {
2386
2386
  workspaceIdOrName: string;
2387
2387
  projectIds?: string[] | undefined;
2388
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
2388
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2389
2389
  textContent: string;
2390
2390
  structuredContent: {
2391
2391
  workspaceId: string;
@@ -2482,7 +2482,7 @@ declare const tools: {
2482
2482
  };
2483
2483
  execute(args: {
2484
2484
  projectId?: string | undefined;
2485
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
2485
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2486
2486
  textContent: string;
2487
2487
  structuredContent: import('./tools/get-overview.js').AccountOverviewStructured | import('./tools/get-overview.js').ProjectOverviewStructured;
2488
2488
  }>;
@@ -2527,7 +2527,7 @@ declare const tools: {
2527
2527
  execute(args: {
2528
2528
  type: "filter" | "comment" | "reminder" | "task" | "project" | "section" | "label" | "location_reminder";
2529
2529
  id: string;
2530
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
2530
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2531
2531
  textContent: string;
2532
2532
  structuredContent: {
2533
2533
  deletedEntity: {
@@ -2574,7 +2574,7 @@ declare const tools: {
2574
2574
  order?: number | undefined;
2575
2575
  parentId?: string | undefined;
2576
2576
  }[];
2577
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
2577
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2578
2578
  textContent: string;
2579
2579
  structuredContent: {
2580
2580
  type: "project" | "section";
@@ -2615,7 +2615,7 @@ declare const tools: {
2615
2615
  destructiveHint: false;
2616
2616
  idempotentHint: true;
2617
2617
  };
2618
- execute(_args: Record<string, never>, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
2618
+ execute(_args: Record<string, never>, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2619
2619
  textContent: string;
2620
2620
  structuredContent: import('./tools/user-info.js').UserInfoStructured;
2621
2621
  }>;
@@ -2650,7 +2650,7 @@ declare const tools: {
2650
2650
  execute(args: {
2651
2651
  projectId: string;
2652
2652
  searchTerm?: string | undefined;
2653
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
2653
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2654
2654
  textContent: string;
2655
2655
  structuredContent: {
2656
2656
  collaborators: never[];
@@ -2740,7 +2740,7 @@ declare const tools: {
2740
2740
  dryRun: boolean;
2741
2741
  responsibleUser?: string | undefined;
2742
2742
  fromAssigneeUser?: string | undefined;
2743
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
2743
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2744
2744
  textContent: string;
2745
2745
  structuredContent: {
2746
2746
  operation: "unassign";
@@ -2792,7 +2792,7 @@ declare const tools: {
2792
2792
  destructiveHint: false;
2793
2793
  idempotentHint: true;
2794
2794
  };
2795
- execute(_args: Record<string, never>, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
2795
+ execute(_args: Record<string, never>, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2796
2796
  textContent: string;
2797
2797
  structuredContent: import('./tools/list-workspaces.js').WorkspacesStructured;
2798
2798
  }>;
@@ -2818,7 +2818,7 @@ declare const tools: {
2818
2818
  };
2819
2819
  execute(args: {
2820
2820
  query: string;
2821
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
2821
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2822
2822
  textContent: string;
2823
2823
  structuredContent: {
2824
2824
  results: {
@@ -2850,7 +2850,7 @@ declare const tools: {
2850
2850
  };
2851
2851
  execute(args: {
2852
2852
  id: string;
2853
- }, client: import('@doist/todoist-api-typescript').TodoistApi): Promise<{
2853
+ }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2854
2854
  textContent: string;
2855
2855
  structuredContent: {
2856
2856
  id: string;
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { f as s, s as a, l as e, m as t, a as d, u as o, r, d as i, b as c, c as n, e as l, h as m, i as f, j as p, k, n as g, o as j, p as u, q as T, t as h, v, w as P, x as A, y as S, z as b, A as y, B as C, C as F, D as E, E as w, F as x, G as H, H as I, I as L, J as M, K as O, L as z, M as B } from "./mcp-server-DT69QyGA.js";
2
- import { N as G, g as J } from "./mcp-server-DT69QyGA.js";
1
+ import { f as s, s as a, l as e, m as t, a as d, u as o, r, d as i, b as c, c as n, e as l, h as m, i as f, j as p, k, n as g, o as j, p as u, q as T, t as h, v, w as P, x as A, y as S, z as b, A as y, B as C, C as F, D as E, E as w, F as x, G as H, H as I, I as L, J as M, K as O, L as z, M as B } from "./mcp-server-BIUYAwud.js";
2
+ import { N as G, g as J } from "./mcp-server-BIUYAwud.js";
3
3
  const N = {
4
4
  // Task management tools
5
5
  addTasks: B,
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-DT69QyGA.js";
5
+ import { g as p } from "./mcp-server-BIUYAwud.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-DT69QyGA.js";
4
+ import { g as i } from "./mcp-server-BIUYAwud.js";
5
5
  function p() {
6
6
  const e = process.env.TODOIST_BASE_URL, r = process.env.TODOIST_API_KEY;
7
7
  if (!r)
@@ -1,4 +1,4 @@
1
- import { TodoistApi } from '@doist/todoist-api-typescript';
1
+ import { TodoistApi } from '@doist/todoist-sdk';
2
2
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
3
3
  import { z } from 'zod';
4
4
  import { TodoistTool } from './todoist-tool.js';
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-helpers.d.ts","sourceRoot":"","sources":["../src/mcp-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAE/D,OAAO,KAAK,EAAE,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