@todoist/mcp 15.0.0 → 15.0.1

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 (111) 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 +55 -55
  5. package/dist/index.js +3 -3
  6. package/dist/main-http.js +2 -2
  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-y4HhlBJW.js → mcp-server-JRcJ_po5.js} +3 -3
  11. package/dist/{require-valid-todoist-token-I1jh7sbd.js → require-valid-todoist-token-C0erZTZM.js} +1 -1
  12. package/dist/todoist-tool.d.ts +1 -1
  13. package/dist/todoist-tool.d.ts.map +1 -1
  14. package/dist/tool-helpers.d.ts +1 -1
  15. package/dist/tool-helpers.d.ts.map +1 -1
  16. package/dist/tool-registry.d.ts +55 -55
  17. package/dist/tools/add-comments.d.ts +1 -1
  18. package/dist/tools/add-comments.d.ts.map +1 -1
  19. package/dist/tools/add-filters.d.ts +1 -1
  20. package/dist/tools/add-labels.d.ts +1 -1
  21. package/dist/tools/add-projects.d.ts +2 -2
  22. package/dist/tools/add-projects.d.ts.map +1 -1
  23. package/dist/tools/add-reminders.d.ts +1 -1
  24. package/dist/tools/add-sections.d.ts +1 -1
  25. package/dist/tools/add-tasks.d.ts +1 -1
  26. package/dist/tools/add-tasks.d.ts.map +1 -1
  27. package/dist/tools/analyze-project-health.d.ts +1 -1
  28. package/dist/tools/complete-tasks.d.ts +1 -1
  29. package/dist/tools/delete-object.d.ts +1 -1
  30. package/dist/tools/export-project-template.d.ts +1 -1
  31. package/dist/tools/fetch-object.d.ts +2 -2
  32. package/dist/tools/fetch.d.ts +1 -1
  33. package/dist/tools/find-activity.d.ts +1 -1
  34. package/dist/tools/find-comments.d.ts +1 -1
  35. package/dist/tools/find-completed-tasks.d.ts +1 -1
  36. package/dist/tools/find-filters.d.ts +1 -1
  37. package/dist/tools/find-labels.d.ts +1 -1
  38. package/dist/tools/find-project-collaborators.d.ts +1 -1
  39. package/dist/tools/find-project-collaborators.d.ts.map +1 -1
  40. package/dist/tools/find-projects.d.ts +2 -2
  41. package/dist/tools/find-reminders.d.ts +1 -1
  42. package/dist/tools/find-sections.d.ts +1 -1
  43. package/dist/tools/find-tasks-by-date.d.ts +1 -1
  44. package/dist/tools/find-tasks.d.ts +1 -1
  45. package/dist/tools/get-overview.d.ts +1 -1
  46. package/dist/tools/get-overview.d.ts.map +1 -1
  47. package/dist/tools/get-productivity-stats.d.ts +1 -1
  48. package/dist/tools/get-project-activity-stats.d.ts +1 -1
  49. package/dist/tools/get-project-health.d.ts +1 -1
  50. package/dist/tools/get-project-health.d.ts.map +1 -1
  51. package/dist/tools/get-user-status.d.ts +1 -1
  52. package/dist/tools/get-workspace-insights.d.ts +1 -1
  53. package/dist/tools/import-project-template.d.ts +1 -1
  54. package/dist/tools/list-workspaces.d.ts +1 -1
  55. package/dist/tools/list-workspaces.d.ts.map +1 -1
  56. package/dist/tools/manage-assignments.d.ts +1 -1
  57. package/dist/tools/project-management.d.ts +2 -2
  58. package/dist/tools/project-move.d.ts +2 -2
  59. package/dist/tools/project-move.d.ts.map +1 -1
  60. package/dist/tools/reorder-objects.d.ts +1 -1
  61. package/dist/tools/reorder-objects.d.ts.map +1 -1
  62. package/dist/tools/reschedule-tasks.d.ts +2 -2
  63. package/dist/tools/reschedule-tasks.d.ts.map +1 -1
  64. package/dist/tools/search.d.ts +1 -1
  65. package/dist/tools/set-user-status.d.ts +1 -1
  66. package/dist/tools/uncomplete-tasks.d.ts +1 -1
  67. package/dist/tools/update-comments.d.ts +1 -1
  68. package/dist/tools/update-filters.d.ts +1 -1
  69. package/dist/tools/update-labels.d.ts +1 -1
  70. package/dist/tools/update-projects.d.ts +2 -2
  71. package/dist/tools/update-projects.d.ts.map +1 -1
  72. package/dist/tools/update-reminders.d.ts +1 -1
  73. package/dist/tools/update-sections.d.ts +1 -1
  74. package/dist/tools/update-tasks.d.ts +1 -1
  75. package/dist/tools/update-tasks.d.ts.map +1 -1
  76. package/dist/tools/user-info.d.ts +1 -1
  77. package/dist/tools/user-info.d.ts.map +1 -1
  78. package/dist/tools/view-attachment.d.ts +1 -1
  79. package/dist/usage-tracking.d.ts +1 -1
  80. package/dist/usage-tracking.d.ts.map +1 -1
  81. package/dist/utils/assignment-validator.d.ts +1 -1
  82. package/dist/utils/assignment-validator.d.ts.map +1 -1
  83. package/dist/utils/children.d.ts +1 -1
  84. package/dist/utils/children.d.ts.map +1 -1
  85. package/dist/utils/comment-recipients.d.ts +1 -1
  86. package/dist/utils/comment-recipients.d.ts.map +1 -1
  87. package/dist/utils/duration-parser.d.ts +1 -1
  88. package/dist/utils/duration-parser.d.ts.map +1 -1
  89. package/dist/utils/filter-resolver.d.ts +1 -1
  90. package/dist/utils/filter-resolver.d.ts.map +1 -1
  91. package/dist/utils/move-planner.d.ts +1 -1
  92. package/dist/utils/move-planner.d.ts.map +1 -1
  93. package/dist/utils/output-schemas.d.ts +1 -1
  94. package/dist/utils/output-schemas.d.ts.map +1 -1
  95. package/dist/utils/personal-project-limit.d.ts +1 -1
  96. package/dist/utils/personal-project-limit.d.ts.map +1 -1
  97. package/dist/utils/reminder-recipients.d.ts +1 -1
  98. package/dist/utils/reminder-recipients.d.ts.map +1 -1
  99. package/dist/utils/response-builders.d.ts +1 -1
  100. package/dist/utils/response-builders.d.ts.map +1 -1
  101. package/dist/utils/sync-commands.d.ts +1 -1
  102. package/dist/utils/sync-commands.d.ts.map +1 -1
  103. package/dist/utils/test-helpers.d.ts +1 -1
  104. package/dist/utils/test-helpers.d.ts.map +1 -1
  105. package/dist/utils/user-resolver.d.ts +1 -1
  106. package/dist/utils/user-resolver.d.ts.map +1 -1
  107. package/dist/utils/user-status.d.ts +1 -1
  108. package/dist/utils/user-status.d.ts.map +1 -1
  109. package/dist/utils/workspace-resolver.d.ts +1 -1
  110. package/dist/utils/workspace-resolver.d.ts.map +1 -1
  111. package/package.json +2 -2
package/README.md CHANGED
@@ -22,7 +22,7 @@ Here's an example using [Vercel's AI SDK](https://ai-sdk.dev/docs/ai-sdk-core/ge
22
22
 
23
23
  ```js
24
24
  import { findTasksByDate, addTasks } from '@todoist/mcp'
25
- import { TodoistApi } from '@doist/todoist-sdk'
25
+ import { TodoistApi } from '@todoist/sdk'
26
26
  import { streamText } from 'ai'
27
27
 
28
28
  // Create Todoist API client
@@ -165,7 +165,7 @@ This server includes `search` and `fetch` tools that follow the [OpenAI MCP spec
165
165
  ## Dependencies
166
166
 
167
167
  - MCP server using the official [@modelcontextprotocol/server](https://github.com/modelcontextprotocol/typescript-sdk)
168
- - Todoist Typescript API client [@doist/todoist-sdk](https://github.com/Doist/todoist-sdk)
168
+ - Todoist Typescript API client [@todoist/sdk](https://github.com/todoist/todoist-sdk-typescript)
169
169
 
170
170
  ## MCP Server Setup
171
171
 
@@ -1,4 +1,4 @@
1
- import { TodoistApi } from '@doist/todoist-sdk';
1
+ import { TodoistApi } from '@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,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,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,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;;;;;;;GAOG;AACH,wBAAgB,+BAA+B,CAAC,EAC5C,kBAAkB,EAClB,aAAa,EACb,aAAa,EACb,wBAA2C,GAC9C,EAAE;IACC,kBAAkB,EAAE,MAAM,GAAG,SAAS,CAAA;IACtC,aAAa,EAAE,MAAM,GAAG,SAAS,CAAA;IACjC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,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,CAgBN"}
package/dist/index.d.ts CHANGED
@@ -142,7 +142,7 @@ declare const tools: {
142
142
  responsibleUser?: string | undefined;
143
143
  isUncompletable?: boolean | undefined;
144
144
  }[];
145
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
145
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
146
146
  textContent: string;
147
147
  structuredContent: {
148
148
  tasks: {
@@ -200,7 +200,7 @@ declare const tools: {
200
200
  };
201
201
  execute(args: {
202
202
  ids: string[];
203
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
203
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
204
204
  textContent: string;
205
205
  structuredContent: {
206
206
  completed: string[];
@@ -239,7 +239,7 @@ declare const tools: {
239
239
  };
240
240
  execute(args: {
241
241
  ids: string[];
242
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
242
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
243
243
  textContent: string;
244
244
  structuredContent: {
245
245
  uncompleted: string[];
@@ -346,7 +346,7 @@ declare const tools: {
346
346
  labels?: string[] | undefined;
347
347
  isUncompletable?: boolean | undefined;
348
348
  }[];
349
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
349
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
350
350
  textContent: string;
351
351
  structuredContent: {
352
352
  tasks: {
@@ -441,7 +441,7 @@ declare const tools: {
441
441
  date: string;
442
442
  duration?: string | undefined;
443
443
  }[];
444
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
444
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
445
445
  textContent: string;
446
446
  structuredContent: {
447
447
  tasks: {
@@ -549,7 +549,7 @@ declare const tools: {
549
549
  cursor?: string | undefined;
550
550
  filter?: string | undefined;
551
551
  filterIdOrName?: string | undefined;
552
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
552
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
553
553
  textContent: string;
554
554
  structuredContent: {
555
555
  tasks: {
@@ -669,7 +669,7 @@ declare const tools: {
669
669
  cursor?: string | undefined;
670
670
  responsibleUser?: string | undefined;
671
671
  responsibleUserFiltering?: "assigned" | "unassignedOrMe" | "all" | undefined;
672
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
672
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
673
673
  textContent: string;
674
674
  structuredContent: {
675
675
  tasks: {
@@ -782,7 +782,7 @@ declare const tools: {
782
782
  parentId?: string | undefined;
783
783
  responsibleUser?: string | undefined;
784
784
  cursor?: string | undefined;
785
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
785
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
786
786
  textContent: string;
787
787
  structuredContent: {
788
788
  tasks: {
@@ -927,14 +927,14 @@ declare const tools: {
927
927
  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;
928
928
  workspace?: string | undefined;
929
929
  }[];
930
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
930
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
931
931
  textContent: string;
932
932
  structuredContent: {
933
933
  projects: {
934
934
  id: string;
935
935
  name: string;
936
936
  description: string;
937
- color: import('@doist/todoist-sdk').ColorKey;
937
+ color: import('@todoist/sdk').ColorKey;
938
938
  isFavorite: boolean;
939
939
  isShared: boolean;
940
940
  parentId: string | undefined;
@@ -1059,14 +1059,14 @@ declare const tools: {
1059
1059
  description?: string | undefined;
1060
1060
  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;
1061
1061
  }[];
1062
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1062
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
1063
1063
  textContent: string;
1064
1064
  structuredContent: {
1065
1065
  projects: {
1066
1066
  id: string;
1067
1067
  name: string;
1068
1068
  description: string;
1069
- color: import('@doist/todoist-sdk').ColorKey;
1069
+ color: import('@todoist/sdk').ColorKey;
1070
1070
  isFavorite: boolean;
1071
1071
  isShared: boolean;
1072
1072
  parentId: string | undefined;
@@ -1156,14 +1156,14 @@ declare const tools: {
1156
1156
  searchText?: string | undefined;
1157
1157
  cursor?: string | undefined;
1158
1158
  archivedStatus?: "all" | "active" | "archived" | undefined;
1159
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1159
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
1160
1160
  textContent: string;
1161
1161
  structuredContent: {
1162
1162
  projects: {
1163
1163
  id: string;
1164
1164
  name: string;
1165
1165
  description: string;
1166
- color: import('@doist/todoist-sdk').ColorKey;
1166
+ color: import('@todoist/sdk').ColorKey;
1167
1167
  isFavorite: boolean;
1168
1168
  isShared: boolean;
1169
1169
  parentId: string | undefined;
@@ -1243,14 +1243,14 @@ declare const tools: {
1243
1243
  execute(args: {
1244
1244
  action: "archive" | "unarchive";
1245
1245
  projectId: string;
1246
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1246
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
1247
1247
  textContent: string;
1248
1248
  structuredContent: {
1249
1249
  project: {
1250
1250
  id: string;
1251
1251
  name: string;
1252
1252
  description: string;
1253
- color: import('@doist/todoist-sdk').ColorKey;
1253
+ color: import('@todoist/sdk').ColorKey;
1254
1254
  isFavorite: boolean;
1255
1255
  isShared: boolean;
1256
1256
  parentId: string | undefined;
@@ -1332,14 +1332,14 @@ declare const tools: {
1332
1332
  workspaceId?: string | undefined;
1333
1333
  folderId?: string | undefined;
1334
1334
  visibility?: "public" | "restricted" | "team" | undefined;
1335
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1335
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
1336
1336
  textContent: string;
1337
1337
  structuredContent: {
1338
1338
  project: {
1339
1339
  id: string;
1340
1340
  name: string;
1341
1341
  description: string;
1342
- color: import('@doist/todoist-sdk').ColorKey;
1342
+ color: import('@todoist/sdk').ColorKey;
1343
1343
  isFavorite: boolean;
1344
1344
  isShared: boolean;
1345
1345
  parentId: string | undefined;
@@ -1392,7 +1392,7 @@ declare const tools: {
1392
1392
  projectId: string;
1393
1393
  description?: string | undefined;
1394
1394
  }[];
1395
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1395
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
1396
1396
  textContent: string;
1397
1397
  structuredContent: {
1398
1398
  sections: {
@@ -1452,7 +1452,7 @@ declare const tools: {
1452
1452
  name?: string | undefined;
1453
1453
  description?: string | undefined;
1454
1454
  }[];
1455
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1455
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
1456
1456
  textContent: string;
1457
1457
  structuredContent: {
1458
1458
  sections: {
@@ -1499,7 +1499,7 @@ declare const tools: {
1499
1499
  execute(args: {
1500
1500
  projectId: string;
1501
1501
  searchText?: string | undefined;
1502
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1502
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
1503
1503
  textContent: string;
1504
1504
  structuredContent: {
1505
1505
  sections: {
@@ -1578,7 +1578,7 @@ declare const tools: {
1578
1578
  projectId?: string | undefined;
1579
1579
  notifyUsers?: string[] | undefined;
1580
1580
  }[];
1581
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1581
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
1582
1582
  textContent: string;
1583
1583
  structuredContent: {
1584
1584
  comments: {
@@ -1670,7 +1670,7 @@ declare const tools: {
1670
1670
  commentId?: string | undefined;
1671
1671
  cursor?: string | undefined;
1672
1672
  limit?: number | undefined;
1673
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1673
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
1674
1674
  textContent: string;
1675
1675
  structuredContent: {
1676
1676
  comments: {
@@ -1762,7 +1762,7 @@ declare const tools: {
1762
1762
  id: string;
1763
1763
  content: string;
1764
1764
  }[];
1765
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1765
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
1766
1766
  textContent: string;
1767
1767
  structuredContent: {
1768
1768
  comments: {
@@ -1919,7 +1919,7 @@ declare const tools: {
1919
1919
  radius?: number | undefined;
1920
1920
  notifyUser?: string | undefined;
1921
1921
  })[];
1922
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1922
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
1923
1923
  textContent: string;
1924
1924
  structuredContent: {
1925
1925
  reminders: ({
@@ -2021,7 +2021,7 @@ declare const tools: {
2021
2021
  taskId?: string | undefined;
2022
2022
  reminderId?: string | undefined;
2023
2023
  locationReminderId?: string | undefined;
2024
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2024
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
2025
2025
  textContent: string;
2026
2026
  structuredContent: {
2027
2027
  reminders: ({
@@ -2187,7 +2187,7 @@ declare const tools: {
2187
2187
  radius?: number | undefined;
2188
2188
  notifyUser?: string | undefined;
2189
2189
  })[];
2190
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2190
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
2191
2191
  textContent: string;
2192
2192
  structuredContent: {
2193
2193
  reminders: ({
@@ -2254,7 +2254,7 @@ declare const tools: {
2254
2254
  };
2255
2255
  execute({ fileUrl }: {
2256
2256
  fileUrl: string;
2257
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2257
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
2258
2258
  textContent: string;
2259
2259
  contentItems?: undefined;
2260
2260
  } | {
@@ -2345,7 +2345,7 @@ declare const tools: {
2345
2345
  order?: number | undefined;
2346
2346
  isFavorite?: boolean | undefined;
2347
2347
  }[];
2348
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2348
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
2349
2349
  textContent: string;
2350
2350
  structuredContent: {
2351
2351
  labels: {
@@ -2468,7 +2468,7 @@ declare const tools: {
2468
2468
  name: string;
2469
2469
  newName: string;
2470
2470
  })[];
2471
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2471
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
2472
2472
  textContent: string;
2473
2473
  structuredContent: {
2474
2474
  updatedLabels: {
@@ -2548,7 +2548,7 @@ declare const tools: {
2548
2548
  limit: number;
2549
2549
  searchText?: string | undefined;
2550
2550
  cursor?: string | undefined;
2551
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2551
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
2552
2552
  textContent: string;
2553
2553
  structuredContent: {
2554
2554
  labels: {
@@ -2620,7 +2620,7 @@ declare const tools: {
2620
2620
  };
2621
2621
  execute(args: {
2622
2622
  search?: string | undefined;
2623
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2623
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
2624
2624
  textContent: string;
2625
2625
  structuredContent: {
2626
2626
  filters: {
@@ -2723,7 +2723,7 @@ declare const tools: {
2723
2723
  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;
2724
2724
  isFavorite?: boolean | undefined;
2725
2725
  }[];
2726
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2726
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
2727
2727
  textContent: string;
2728
2728
  structuredContent: {
2729
2729
  filters: {
@@ -2838,7 +2838,7 @@ declare const tools: {
2838
2838
  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;
2839
2839
  isFavorite?: boolean | undefined;
2840
2840
  }[];
2841
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2841
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
2842
2842
  textContent: string;
2843
2843
  structuredContent: {
2844
2844
  filters: {
@@ -2927,7 +2927,7 @@ declare const tools: {
2927
2927
  dateFrom?: string | undefined;
2928
2928
  dateTo?: string | undefined;
2929
2929
  cursor?: string | undefined;
2930
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
2930
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
2931
2931
  textContent: string;
2932
2932
  structuredContent: {
2933
2933
  events: {
@@ -3040,7 +3040,7 @@ declare const tools: {
3040
3040
  destructiveHint: false;
3041
3041
  idempotentHint: true;
3042
3042
  };
3043
- execute(_args: Record<string, never>, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3043
+ execute(_args: Record<string, never>, client: import('@todoist/sdk').TodoistApi): Promise<{
3044
3044
  textContent: string;
3045
3045
  structuredContent: {
3046
3046
  completedCount: number;
@@ -3175,7 +3175,7 @@ declare const tools: {
3175
3175
  execute(args: {
3176
3176
  projectId: string;
3177
3177
  includeContext: boolean;
3178
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3178
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
3179
3179
  textContent: string;
3180
3180
  structuredContent: {
3181
3181
  projectId: string;
@@ -3245,7 +3245,7 @@ declare const tools: {
3245
3245
  projectId: string;
3246
3246
  weeks?: number | undefined;
3247
3247
  includeWeeklyCounts?: boolean | undefined;
3248
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3248
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
3249
3249
  textContent: string;
3250
3250
  structuredContent: {
3251
3251
  projectId: string;
@@ -3290,7 +3290,7 @@ declare const tools: {
3290
3290
  };
3291
3291
  execute(args: {
3292
3292
  projectId: string;
3293
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3293
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
3294
3294
  textContent: string;
3295
3295
  structuredContent: {
3296
3296
  projectId: string;
@@ -3342,7 +3342,7 @@ declare const tools: {
3342
3342
  execute(args: {
3343
3343
  workspaceIdOrName: string;
3344
3344
  projectIds?: string[] | undefined;
3345
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3345
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
3346
3346
  textContent: string;
3347
3347
  structuredContent: {
3348
3348
  workspaceId: string;
@@ -3436,7 +3436,7 @@ declare const tools: {
3436
3436
  };
3437
3437
  execute(args: {
3438
3438
  projectId?: string | undefined;
3439
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3439
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
3440
3440
  textContent: string;
3441
3441
  structuredContent: import('./tools/get-overview.js').AccountOverviewStructured | import('./tools/get-overview.js').ProjectOverviewStructured;
3442
3442
  }>;
@@ -3481,7 +3481,7 @@ declare const tools: {
3481
3481
  execute(args: {
3482
3482
  type: "filter" | "label" | "task" | "comment" | "reminder" | "project" | "section" | "location_reminder";
3483
3483
  id: string;
3484
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3484
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
3485
3485
  textContent: string;
3486
3486
  structuredContent: {
3487
3487
  deletedEntity: {
@@ -3628,7 +3628,7 @@ declare const tools: {
3628
3628
  type: "task" | "comment" | "project" | "section";
3629
3629
  id: string;
3630
3630
  includeChildren?: boolean | undefined;
3631
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3631
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
3632
3632
  textContent: string;
3633
3633
  structuredContent: {
3634
3634
  type: "task";
@@ -3677,7 +3677,7 @@ declare const tools: {
3677
3677
  id: string;
3678
3678
  name: string;
3679
3679
  description: string;
3680
- color: import('@doist/todoist-sdk').ColorKey;
3680
+ color: import('@todoist/sdk').ColorKey;
3681
3681
  isFavorite: boolean;
3682
3682
  isShared: boolean;
3683
3683
  parentId: string | undefined;
@@ -3773,7 +3773,7 @@ declare const tools: {
3773
3773
  order?: number | undefined;
3774
3774
  parentId?: string | undefined;
3775
3775
  }[];
3776
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3776
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
3777
3777
  textContent: string;
3778
3778
  structuredContent: {
3779
3779
  type: "project" | "section";
@@ -3818,7 +3818,7 @@ declare const tools: {
3818
3818
  destructiveHint: false;
3819
3819
  idempotentHint: true;
3820
3820
  };
3821
- execute(_args: Record<string, never>, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3821
+ execute(_args: Record<string, never>, client: import('@todoist/sdk').TodoistApi): Promise<{
3822
3822
  textContent: string;
3823
3823
  structuredContent: import('./tools/user-info.js').UserInfoStructured;
3824
3824
  }>;
@@ -3842,7 +3842,7 @@ declare const tools: {
3842
3842
  destructiveHint: false;
3843
3843
  idempotentHint: true;
3844
3844
  };
3845
- execute(_args: Record<string, never>, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3845
+ execute(_args: Record<string, never>, client: import('@todoist/sdk').TodoistApi): Promise<{
3846
3846
  textContent: string;
3847
3847
  structuredContent: {
3848
3848
  hasStatus: boolean;
@@ -3890,7 +3890,7 @@ declare const tools: {
3890
3890
  pauseNotifications?: boolean | undefined;
3891
3891
  pauseActivity?: boolean | undefined;
3892
3892
  clear?: boolean | undefined;
3893
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3893
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
3894
3894
  textContent: string;
3895
3895
  structuredContent: {
3896
3896
  hasStatus: boolean;
@@ -3934,7 +3934,7 @@ declare const tools: {
3934
3934
  execute(args: {
3935
3935
  projectId?: string | undefined;
3936
3936
  searchTerm?: string | undefined;
3937
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
3937
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
3938
3938
  textContent: string;
3939
3939
  structuredContent: {
3940
3940
  collaborators: import('./utils/user-resolver.js').ProjectCollaborator[];
@@ -4034,7 +4034,7 @@ declare const tools: {
4034
4034
  dryRun: boolean;
4035
4035
  responsibleUser?: string | undefined;
4036
4036
  fromAssigneeUser?: string | undefined;
4037
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
4037
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
4038
4038
  textContent: string;
4039
4039
  structuredContent: {
4040
4040
  operation: "unassign";
@@ -4087,7 +4087,7 @@ declare const tools: {
4087
4087
  projectId: string;
4088
4088
  format: "file" | "url";
4089
4089
  useRelativeDates?: boolean | undefined;
4090
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
4090
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
4091
4091
  textContent: string;
4092
4092
  structuredContent: {
4093
4093
  format: "url";
@@ -4187,7 +4187,7 @@ declare const tools: {
4187
4187
  templateId?: string | undefined;
4188
4188
  csvFileContent?: string | undefined;
4189
4189
  locale?: string | undefined;
4190
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
4190
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
4191
4191
  textContent: string;
4192
4192
  structuredContent: {
4193
4193
  sections: {
@@ -4273,7 +4273,7 @@ declare const tools: {
4273
4273
  destructiveHint: false;
4274
4274
  idempotentHint: true;
4275
4275
  };
4276
- execute(_args: Record<string, never>, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
4276
+ execute(_args: Record<string, never>, client: import('@todoist/sdk').TodoistApi): Promise<{
4277
4277
  textContent: string;
4278
4278
  structuredContent: import('./tools/list-workspaces.js').WorkspacesStructured;
4279
4279
  }>;
@@ -4299,7 +4299,7 @@ declare const tools: {
4299
4299
  };
4300
4300
  execute(args: {
4301
4301
  query: string;
4302
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
4302
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
4303
4303
  textContent: string;
4304
4304
  structuredContent: {
4305
4305
  results: {
@@ -4331,7 +4331,7 @@ declare const tools: {
4331
4331
  };
4332
4332
  execute(args: {
4333
4333
  id: string;
4334
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
4334
+ }, client: import('@todoist/sdk').TodoistApi): Promise<{
4335
4335
  textContent: string;
4336
4336
  structuredContent: {
4337
4337
  id: string;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { t as s } from "./mcp-server-y4HhlBJW.js";
2
- import { F as r, a as d, b as i, c as n, d as c, e as l, f as m, h as p, i as f, j as T, k as j, l as u, m as g, n as k, o as v, p as P, q as S, r as h, s as b, u as y, v as A, w as C, x as R, y as x, z as F, g as M, A as O, B as E, C as L, D as U, E as w, G as H, H as I, I as W, J as q, K as z, L as B, M as D, N, O as V, P as _, Q as G, R as J, S as K, T as Q, U as X, V as Y, W as Z, X as $, Y as ss, Z as as, _ as es } from "./mcp-server-y4HhlBJW.js";
3
- import { r as os, v as rs } from "./require-valid-todoist-token-I1jh7sbd.js";
1
+ import { t as s } from "./mcp-server-JRcJ_po5.js";
2
+ import { F as r, a as d, b as i, c as n, d as c, e as l, f as m, h as p, i as f, j as T, k as j, l as u, m as g, n as k, o as v, p as P, q as S, r as h, s as b, u as y, v as A, w as C, x as R, y as x, z as F, g as M, A as O, B as E, C as L, D as U, E as w, G as H, H as I, I as W, J as q, K as z, L as B, M as D, N, O as V, P as _, Q as G, R as J, S as K, T as Q, U as X, V as Y, W as Z, X as $, Y as ss, Z as as, _ as es } from "./mcp-server-JRcJ_po5.js";
3
+ import { r as os, v as rs } from "./require-valid-todoist-token-C0erZTZM.js";
4
4
  const e = s;
5
5
  export {
6
6
  r as FEATURE_NAMES,
package/dist/main-http.js CHANGED
@@ -4,8 +4,8 @@ import S from "dotenv";
4
4
  import { toNodeHandler as w } from "@modelcontextprotocol/node";
5
5
  import { createMcpHandler as v } from "@modelcontextprotocol/server";
6
6
  import h from "express";
7
- import { g as I } from "./mcp-server-y4HhlBJW.js";
8
- import { r as g } from "./require-valid-todoist-token-I1jh7sbd.js";
7
+ import { g as I } from "./mcp-server-JRcJ_po5.js";
8
+ import { r as g } from "./require-valid-todoist-token-C0erZTZM.js";
9
9
  function p(e) {
10
10
  return e.startsWith("[") && e.endsWith("]") ? e.slice(1, -1) : e;
11
11
  }
package/dist/main.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { serveStdio as t } from "@modelcontextprotocol/server/stdio";
3
3
  import n from "dotenv";
4
- import { g as s } from "./mcp-server-y4HhlBJW.js";
4
+ import { g as s } from "./mcp-server-JRcJ_po5.js";
5
5
  function i() {
6
6
  const o = process.env.TODOIST_BASE_URL, r = process.env.TODOIST_API_KEY;
7
7
  if (!r)
@@ -1,5 +1,5 @@
1
- import { TodoistApi } from '@doist/todoist-sdk';
2
1
  import { McpServer } from '@modelcontextprotocol/server';
2
+ import { TodoistApi } from '@todoist/sdk';
3
3
  import { AnyTodoistTool } from './todoist-tool.js';
4
4
  /**
5
5
  * Supported feature names that modify tool behavior.
@@ -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,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AAE7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAMvD;;;;;;;GAOG;AACH,QAAA,MAAM,aAAa;IACf;;;OAGG;;CAEG,CAAA;AAEV;;;GAGG;AACH,KAAK,WAAW,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAA;AAErE;;GAEG;AACH,KAAK,OAAO,GAAG;IACX;;OAEG;IACH,IAAI,EAAE,WAAW,CAAA;CACpB,CAAA;AAED;;GAEG;AACH,KAAK,QAAQ,GAAG,OAAO,EAAE,CAAA;AA4CzB;;;GAGG;AACH,iBAAS,qBAAqB,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,CAsB3C;AAED;;;GAGG;AACH,iBAAS,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAQjD;AAMD;;;;;;;GAOG;AACH,iBAAS,aAAa,CAAC,EACn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AA;IACjB,MAAM,EAAE,UAAU,CAAA;IAClB,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACtB,QA8BA;AAED,OAAO,EACH,aAAa,EACb,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,aAAa,EACb,qBAAqB,EACrB,mBAAmB,GACtB,CAAA"}
@@ -8,7 +8,7 @@ import { createToolRegistrar as Do } from "@todoist/mcp-core";
8
8
  import ue, { ZodError as xo, z as o } from "zod";
9
9
  import { AsyncLocalStorage as Oo } from "node:async_hooks";
10
10
  import { createRequire as Uo } from "node:module";
11
- import { TodoistApi as _o, formatUserShortName as ms, isWorkspaceProject as F, isPersonalProject as z, colors as ze, LOCATION_TRIGGERS as fs, REMINDER_TYPES as Ro, TodoistSyncError as Po, TodoistRequestError as No, createCommand as ne, PROJECT_VIEW_STYLES as bs, REMINDER_DELIVERY_SERVICES as Lo, HEALTH_STATUSES as ct, getTaskUrl as gs, getProjectUrl as ys, ACTIVITY_EVENT_TYPES as Mo, ACTIVITY_OBJECT_TYPES as Ts, escapeFilterToken as ws, parseTodoistUrl as Fo, WORKSPACE_ROLES as Ho, WORKSPACE_PLANS as Wo } from "@doist/todoist-sdk";
11
+ import { TodoistApi as _o, formatUserShortName as ms, isWorkspaceProject as F, isPersonalProject as z, colors as ze, LOCATION_TRIGGERS as fs, REMINDER_TYPES as Ro, TodoistSyncError as Po, TodoistRequestError as No, createCommand as ne, PROJECT_VIEW_STYLES as bs, REMINDER_DELIVERY_SERVICES as Lo, HEALTH_STATUSES as ct, getTaskUrl as gs, getProjectUrl as ys, ACTIVITY_EVENT_TYPES as Mo, ACTIVITY_OBJECT_TYPES as Ts, escapeFilterToken as ws, parseTodoistUrl as Fo, WORKSPACE_ROLES as Ho, WORKSPACE_PLANS as Wo } from "@todoist/sdk";
12
12
  import { addDays as Ye, formatISO as xt } from "date-fns";
13
13
  import { generateNKeysBetween as ks } from "fractional-indexing";
14
14
  const dt = 3600 * 1e3, Bo = 365 * 24 * dt, E = {
@@ -435,7 +435,7 @@ function dr(e) {
435
435
  const t = lt(e);
436
436
  return t ? ar(t) : Cs(e);
437
437
  }
438
- const lr = "15.0.0", ur = {
438
+ const lr = "15.0.1", ur = {
439
439
  version: lr
440
440
  };
441
441
  function _t(e, { queueTimeoutMs: t = Ve.QUEUE_WAIT_MS } = {}) {
@@ -582,7 +582,7 @@ function Sr(e) {
582
582
  const Cr = "todoist-mcp", ht = ur.version, Ds = new Oo(), Mt = Uo(import.meta.url);
583
583
  let De;
584
584
  const jr = async () => {
585
- const e = Mt.resolve("@doist/todoist-sdk"), t = qe(hs(e), "transport", "http-dispatcher.js");
585
+ const e = Mt.resolve("@todoist/sdk"), t = qe(hs(e), "transport", "http-dispatcher.js");
586
586
  return Mt(t);
587
587
  };
588
588
  let $r = jr;
@@ -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-y4HhlBJW.js";
2
+ import { $ as v, a0 as A } from "./mcp-server-JRcJ_po5.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.
@@ -1,5 +1,5 @@
1
- import { TodoistApi } from '@doist/todoist-sdk';
2
1
  import { AnyMcpTool, ExecuteResult, McpTool, RequiredToolAnnotations } from '@todoist/mcp-core';
2
+ import { TodoistApi } from '@todoist/sdk';
3
3
  import { z } from 'zod';
4
4
  /**
5
5
  * A Todoist tool that can be used in an MCP server or other conversational AI interfaces: an
@@ -1 +1 @@
1
- {"version":3,"file":"todoist-tool.d.ts","sourceRoot":"","sources":["../src/todoist-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AACpG,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAE5B;;;GAGG;AACH,KAAK,WAAW,CACZ,MAAM,SAAS,CAAC,CAAC,WAAW,EAC5B,MAAM,SAAS,CAAC,CAAC,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,IACpD,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,CAAC,CAAA;AAEvC;;;GAGG;AACH,KAAK,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC,CAAA;AAE5C,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,uBAAuB,EAAE,WAAW,EAAE,CAAA"}
1
+ {"version":3,"file":"todoist-tool.d.ts","sourceRoot":"","sources":["../src/todoist-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,OAAO,EAAE,uBAAuB,EAAE,MAAM,mBAAmB,CAAA;AACpG,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAE5B;;;GAGG;AACH,KAAK,WAAW,CACZ,MAAM,SAAS,CAAC,CAAC,WAAW,EAC5B,MAAM,SAAS,CAAC,CAAC,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,IACpD,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,CAAC,CAAA;AAEvC;;;GAGG;AACH,KAAK,cAAc,GAAG,UAAU,CAAC,UAAU,CAAC,CAAA;AAE5C,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,uBAAuB,EAAE,WAAW,EAAE,CAAA"}
@@ -1,4 +1,4 @@
1
- import { isPersonalProject, isWorkspaceProject, ActivityEvent, ColorKey, Comment, CurrentUser, Label, MoveTaskArgs, PersonalProject, Reminder, Section, Task, TodoistApi, WorkspaceProject } from '@doist/todoist-sdk';
1
+ import { isPersonalProject, isWorkspaceProject, ActivityEvent, ColorKey, Comment, CurrentUser, Label, MoveTaskArgs, PersonalProject, Reminder, Section, Task, TodoistApi, WorkspaceProject } from '@todoist/sdk';
2
2
  export { appendToQuery, buildResponsibleUserQueryFilter, filterTasksByResponsibleUser, RESPONSIBLE_USER_FILTERING, type ResponsibleUserFiltering, resolveResponsibleUser, } from './filter-helpers.js';
3
3
  export type Project = PersonalProject | WorkspaceProject;
4
4
  export { isPersonalProject, isWorkspaceProject };
@@ -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,EAGhB,KAAK,KAAK,EACV,KAAK,YAAY,EACjB,KAAK,eAAe,EACpB,KAAK,QAAQ,EACb,KAAK,OAAO,EACZ,KAAK,IAAI,EACT,KAAK,UAAU,EACf,KAAK,gBAAgB,EACxB,MAAM,oBAAoB,CAAA;AAQ3B,OAAO,EACH,aAAa,EACb,+BAA+B,EAC/B,4BAA4B,EAC5B,0BAA0B,EAC1B,KAAK,wBAAwB,EAC7B,sBAAsB,GACzB,MAAM,qBAAqB,CAAA;AAE5B,MAAM,MAAM,OAAO,GAAG,eAAe,GAAG,gBAAgB,CAAA;AACxD,OAAO,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,CAAA;AAEhD;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAEvE;AAED;;;;;;;;;GASG;AACH,wBAAsB,qBAAqB,CAAC,IAAI,EAAE;IAC9C,SAAS,EAAE,MAAM,GAAG,SAAS,CAAA;IAC7B,IAAI,CAAC,EAAE,WAAW,CAAA;IAClB,MAAM,CAAC,EAAE,UAAU,CAAA;CACtB,GAAG,OAAO,CAA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