@doist/todoist-mcp 12.5.7 → 13.0.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 (45) hide show
  1. package/README.md +1 -1
  2. package/dist/index.d.ts +22 -10
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +3 -3
  5. package/dist/main-http.js +3 -3
  6. package/dist/main.js +2 -2
  7. package/dist/mcp-helpers.d.ts +1 -1
  8. package/dist/mcp-helpers.d.ts.map +1 -1
  9. package/dist/{mcp-server-HzS0zbN7.js → mcp-server-DmDfXvc6.js} +2233 -2136
  10. package/dist/mcp-server.d.ts +2 -2
  11. package/dist/mcp-server.d.ts.map +1 -1
  12. package/dist/prompts/productivity-analysis.d.ts +6 -6
  13. package/dist/prompts/productivity-analysis.d.ts.map +1 -1
  14. package/dist/{require-valid-todoist-token-B8Dy2Kgy.js → require-valid-todoist-token-CmLQViiY.js} +1 -1
  15. package/dist/todoist-tool.d.ts +1 -1
  16. package/dist/todoist-tool.d.ts.map +1 -1
  17. package/dist/tool-helpers.d.ts +1 -0
  18. package/dist/tool-helpers.d.ts.map +1 -1
  19. package/dist/tool-registry.d.ts +22 -10
  20. package/dist/tool-registry.d.ts.map +1 -1
  21. package/dist/tools/add-comments.d.ts +6 -1
  22. package/dist/tools/add-comments.d.ts.map +1 -1
  23. package/dist/tools/fetch-object.d.ts +2 -0
  24. package/dist/tools/fetch-object.d.ts.map +1 -1
  25. package/dist/tools/find-comments.d.ts +2 -0
  26. package/dist/tools/find-comments.d.ts.map +1 -1
  27. package/dist/tools/find-completed-tasks.d.ts +3 -3
  28. package/dist/tools/find-tasks-by-date.d.ts +4 -4
  29. package/dist/tools/find-tasks.d.ts +3 -3
  30. package/dist/tools/import-project-template.d.ts +2 -0
  31. package/dist/tools/import-project-template.d.ts.map +1 -1
  32. package/dist/tools/update-comments.d.ts +2 -0
  33. package/dist/tools/update-comments.d.ts.map +1 -1
  34. package/dist/tools/view-attachment.d.ts +1 -1
  35. package/dist/tools/view-attachment.d.ts.map +1 -1
  36. package/dist/utils/comment-recipients.d.ts +33 -0
  37. package/dist/utils/comment-recipients.d.ts.map +1 -0
  38. package/dist/utils/constants.d.ts +2 -0
  39. package/dist/utils/constants.d.ts.map +1 -1
  40. package/dist/utils/labels.d.ts +1 -1
  41. package/dist/utils/output-schemas.d.ts +1 -0
  42. package/dist/utils/output-schemas.d.ts.map +1 -1
  43. package/dist/utils/user-resolver.d.ts +16 -0
  44. package/dist/utils/user-resolver.d.ts.map +1 -1
  45. package/package.json +7 -5
@@ -1,6 +1,6 @@
1
- import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
1
+ import { McpServer } from '@modelcontextprotocol/server';
2
2
  import { FEATURE_NAMES, Feature, FeatureName, Features } from './mcp-helpers.js';
3
- export declare const instructions = "\n## Todoist Task and Project Management Tools\n\nYou have access to comprehensive Todoist management tools for personal productivity and team collaboration. Use these tools to help users manage tasks, projects, sections, comments, and assignments effectively.\n\n### Core Capabilities:\n- Create, update, complete, and search tasks with rich metadata (priorities, due dates, durations, assignments)\n- Manage projects and sections with flexible organization\n- Handle comments and collaboration features\n- Bulk assignment operations for team workflows\n- Get overviews and insights about workload and progress\n\n### Choosing between tools\n\nWhat each tool does and how to fill its parameters is in the tool's own description and input schema. This section covers only what those cannot: which tool to reach for, and how tools relate to each other.\n\n**Dates**\n\n- To move a task to a different date use **reschedule-tasks**, never **update-tasks**. update-tasks replaces the whole due string, which destroys recurrence on recurring tasks.\n- Never send a task's existing projectId, sectionId or parentId back to **update-tasks** \u2014 those fields are treated as a move.\n- All dates respect the user's timezone.\n\n**Finding things**\n\n- For \"what did I complete?\", call **user-info** for the asker's user ID, then **find-activity** with objectType=\"task\", eventType=\"completed\", initiatorId, and dateFrom/dateTo. Without initiatorId the answer covers every collaborator. find-activity reports completion events, including each occurrence of a recurring task; **find-completed-tasks** lists completed tasks, which is not the same question.\n- To resolve a person's name or email to a user ID, or to answer \"who is X?\", use **find-project-collaborators** with just a searchTerm. It covers every shared project you can access plus yourself, so an empty result means they collaborate on none of them \u2014 not that they do not exist.\n- Before assigning work to someone, call **find-project-collaborators** again with the target projectId. Resolving an ID only proves they collaborate on *some* project you can see; assignment fails unless they collaborate on that one.\n- To find out whether a task hides subtasks, use **fetch-object** with includeChildren rather than a speculative **find-tasks** call.\n- Filter tasks by label **name**. Label IDs are only for **delete-object** and **update-labels**. Shared labels can be renamed but not recoloured, reordered or favourited.\n\n**Deleting and archiving**\n\n- **delete-object** removes every object type; there is no per-type delete tool. Reminders use type \"reminder\", location reminders \"location_reminder\".\n- A workspace project must be archived with **project-management** before it can be deleted. A personal project can be deleted directly.\n\n**Templates**\n\n- Templates cannot be listed through this server, so only use an ID or URL the user gave you. To start a new project from one, call **add-projects** first and import into it. Imports write immediately and cannot be undone.\n\n**Project health**\n\n- Health data may be stale \u2014 check the isStale flag, and call **analyze-project-health** to refresh it before reading again.\n\n**Batches**\n\n- Prefer a batch tool over one call per item.\n- Where a batch tool returns per-item `failures` alongside successes, one failure does not undo the rest: never retry the whole batch, re-send only the items whose failure reason is fixable. **reschedule-tasks** is the exception \u2014 it has no per-item failures and throws if any task fails, so retry it as a whole.\n\nUse the **productivity-analysis** prompt for a combined productivity review \u2014 it pulls together user-info, get-productivity-stats and find-completed-tasks.\n\nAlways provide clear, actionable task titles and descriptions. Use the overview tools to give users context about their workload and project status.\n";
3
+ export declare const instructions = "\n## Todoist Task and Project Management Tools\n\nYou have access to comprehensive Todoist management tools for personal productivity and team collaboration. Use these tools to help users manage tasks, projects, sections, comments, and assignments effectively.\n\n### Core Capabilities:\n- Create, update, complete, and search tasks with rich metadata (priorities, due dates, durations, assignments)\n- Manage projects and sections with flexible organization\n- Handle comments and collaboration features\n- Bulk assignment operations for team workflows\n- Get overviews and insights about workload and progress\n\n### Choosing between tools\n\nWhat each tool does and how to fill its parameters is in the tool's own description and input schema. This section covers only what those cannot: which tool to reach for, and how tools relate to each other.\n\n**Dates**\n\n- To move a task to a different date use **reschedule-tasks**, never **update-tasks**. update-tasks replaces the whole due string, which destroys recurrence on recurring tasks.\n- Never send a task's existing projectId, sectionId or parentId back to **update-tasks** \u2014 those fields are treated as a move.\n- All dates respect the user's timezone.\n\n**Finding things**\n\n- For \"what did I complete?\", call **user-info** for the asker's user ID, then **find-activity** with objectType=\"task\", eventType=\"completed\", initiatorId, and dateFrom/dateTo. Without initiatorId the answer covers every collaborator. find-activity reports completion events, including each occurrence of a recurring task; **find-completed-tasks** lists completed tasks, which is not the same question.\n- To resolve a person's name or email to a user ID, or to answer \"who is X?\", use **find-project-collaborators** with just a searchTerm. It covers every shared project you can access plus yourself, so an empty result means they collaborate on none of them \u2014 not that they do not exist.\n- Before assigning work to someone, call **find-project-collaborators** again with the target projectId. Resolving an ID only proves they collaborate on *some* project you can see; assignment fails unless they collaborate on that one.\n- To find out whether a task hides subtasks, use **fetch-object** with includeChildren rather than a speculative **find-tasks** call.\n- Filter tasks by label **name**. Label IDs are only for **delete-object** and **update-labels**. Shared labels can be renamed but not recoloured, reordered or favourited.\n\n**Comments**\n\n- Comments notify only the people **add-comments** is handed. When a comment mentions someone, name them in `notifyUsers` \u2014 writing \"@Ana\" in the text notifies nobody. Omit `notifyUsers` to notify whoever the Todoist apps would, or pass `[\"none\"]` to stay silent.\n- Notification cannot be sent when editing a comment, only when adding one.\n\n**Deleting and archiving**\n\n- **delete-object** removes every object type; there is no per-type delete tool. Reminders use type \"reminder\", location reminders \"location_reminder\".\n- A workspace project must be archived with **project-management** before it can be deleted. A personal project can be deleted directly.\n\n**Templates**\n\n- Templates cannot be listed through this server, so only use an ID or URL the user gave you. To start a new project from one, call **add-projects** first and import into it. Imports write immediately and cannot be undone.\n\n**Project health**\n\n- Health data may be stale \u2014 check the isStale flag, and call **analyze-project-health** to refresh it before reading again.\n\n**Batches**\n\n- Prefer a batch tool over one call per item.\n- Where a batch tool returns per-item `failures` alongside successes, one failure does not undo the rest: never retry the whole batch, re-send only the items whose failure reason is fixable. **reschedule-tasks** is the exception \u2014 it has no per-item failures and throws if any task fails, so retry it as a whole.\n\nUse the **productivity-analysis** prompt for a combined productivity review \u2014 it pulls together user-info, get-productivity-stats and find-completed-tasks.\n\nAlways provide clear, actionable task titles and descriptions. Use the overview tools to give users context about their workload and project status.\n";
4
4
  /**
5
5
  * Create the MCP server.
6
6
  * @param todoistApiKey - The API key for the todoist account.
@@ -1 +1 @@
1
- {"version":3,"file":"mcp-server.d.ts","sourceRoot":"","sources":["../src/mcp-server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAA;AAGnE,OAAO,EACH,aAAa,EACb,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,QAAQ,EAEhB,MAAM,kBAAkB,CAAA;AAKzB,eAAO,MAAM,YAAY,m1HAmDxB,CAAA;AAED;;;;;;GAMG;AACH,iBAAS,YAAY,CAAC,EAClB,aAAa,EACb,OAAO,EACP,QAAa,GAChB,EAAE;IACC,aAAa,EAAE,MAAM,CAAA;IACrB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACtB,aA4CA;AAED,OAAO,EAAE,aAAa,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,QAAQ,EAAE,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"mcp-server.d.ts","sourceRoot":"","sources":["../src/mcp-server.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAA;AAExD,OAAO,EACH,aAAa,EACb,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,QAAQ,EAEhB,MAAM,kBAAkB,CAAA;AAKzB,eAAO,MAAM,YAAY,osIAwDxB,CAAA;AAED;;;;;;GAMG;AACH,iBAAS,YAAY,CAAC,EAClB,aAAa,EACb,OAAO,EACP,QAAa,GAChB,EAAE;IACC,aAAa,EAAE,MAAM,CAAA;IACrB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACtB,aA4CA;AAED,OAAO,EAAE,aAAa,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,QAAQ,EAAE,YAAY,EAAE,CAAA"}
@@ -1,6 +1,6 @@
1
- import { GetPromptResult } from '@modelcontextprotocol/sdk/types.js';
1
+ import { GetPromptResult } from '@modelcontextprotocol/server';
2
2
  import { z } from 'zod';
3
- declare const argsSchema: {
3
+ declare const argsSchema: z.ZodObject<{
4
4
  period: z.ZodDefault<z.ZodEnum<{
5
5
  today: "today";
6
6
  "7d": "7d";
@@ -17,8 +17,8 @@ declare const argsSchema: {
17
17
  recommendations: "recommendations";
18
18
  }>>;
19
19
  projectId: z.ZodOptional<z.ZodString>;
20
- };
21
- type PromptArgs = z.infer<z.ZodObject<typeof argsSchema>>;
20
+ }, z.core.$strip>;
21
+ type PromptArgs = z.infer<typeof argsSchema>;
22
22
  /**
23
23
  * Compute the date range (since/until as YYYY-MM-DD) for a given period.
24
24
  * Uses UTC since the prompt instructs the LLM to call user-info for timezone.
@@ -34,7 +34,7 @@ declare const productivityAnalysis: {
34
34
  name: string;
35
35
  title: string;
36
36
  description: string;
37
- argsSchema: {
37
+ argsSchema: z.ZodObject<{
38
38
  period: z.ZodDefault<z.ZodEnum<{
39
39
  today: "today";
40
40
  "7d": "7d";
@@ -51,7 +51,7 @@ declare const productivityAnalysis: {
51
51
  recommendations: "recommendations";
52
52
  }>>;
53
53
  projectId: z.ZodOptional<z.ZodString>;
54
- };
54
+ }, z.core.$strip>;
55
55
  callback: typeof callback;
56
56
  };
57
57
  export { buildPromptText, computeDateRange, productivityAnalysis };
@@ -1 +1 @@
1
- {"version":3,"file":"productivity-analysis.d.ts","sourceRoot":"","sources":["../../src/prompts/productivity-analysis.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAA;AACzE,OAAO,E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CAAC,IAAI,EAAE,UAAU,GAAG,MAAM,CAkCjD;AAED,iBAAS,QAAQ,CAAC,IAAI,EAAE,UAAU,GAAG,eAAe,CAYnD;AAED,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;CAOzB,CAAA;AAED,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,CAAA"}
@@ -1,4 +1,4 @@
1
- import { Z as A, _, $ as T } from "./mcp-server-HzS0zbN7.js";
1
+ import { Z as A, _, $ as T } from "./mcp-server-DmDfXvc6.js";
2
2
  const v = /* @__PURE__ */ new Set([401, 403]);
3
3
  function y(e) {
4
4
  const t = T(e);
@@ -1,5 +1,5 @@
1
1
  import { TodoistApi } from '@doist/todoist-sdk';
2
- import { ContentBlock, ToolAnnotations } from '@modelcontextprotocol/sdk/types.js';
2
+ import { ContentBlock, ToolAnnotations } from '@modelcontextprotocol/server';
3
3
  import { z } from 'zod';
4
4
  type ExecuteResult<Output extends z.ZodRawShape> = Promise<{
5
5
  textContent?: string;
@@ -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,YAAY,EAAE,eAAe,EAAE,MAAM,oCAAoC,CAAA;AACvF,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAE5B,KAAK,aAAa,CAAC,MAAM,SAAS,CAAC,CAAC,WAAW,IAAI,OAAO,CAAC;IACvD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,iBAAiB,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAA;IAChD,YAAY,CAAC,EAAE,YAAY,EAAE,CAAA;CAChC,CAAC,CAAA;AAEF,KAAK,uBAAuB,GAAG,eAAe,GAAG;IAC7C,YAA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,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC,WAAW,CAAC,EAAE,SAAS,CAAC,GAAG;IAC/E,OAAO,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,KAAK,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC,CAAA;CAC7E,CAAA;AAED,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,uBAAuB,EAAE,WAAW,EAAE,CAAA"}
@@ -192,6 +192,7 @@ declare function mapComment(comment: Comment): {
192
192
  content: string;
193
193
  postedAt: string;
194
194
  postedUid: string;
195
+ notifiedUserIds: string[] | undefined;
195
196
  fileAttachment: {
196
197
  resourceType: string;
197
198
  fileName: string | undefined;
@@ -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,EAChB,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;AAO3B,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;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AAS,CAAA;CAC7B;;;;;;;;;;;;;;;;;;;;;GAkBA;AAqBD;;;;;GAKG;AACH,iBAAS,WAAW,CAAC,QAAQ,EAAE,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+BtC;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"}
@@ -411,8 +411,8 @@ declare const toolRegistry: {
411
411
  parameters: {
412
412
  labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
413
413
  labelsOperator: import('zod').ZodOptional<import('zod').ZodEnum<{
414
- or: "or";
415
414
  and: "and";
415
+ or: "or";
416
416
  }>>;
417
417
  searchText: import('zod').ZodOptional<import('zod').ZodString>;
418
418
  projectId: import('zod').ZodOptional<import('zod').ZodString>;
@@ -468,7 +468,7 @@ declare const toolRegistry: {
468
468
  execute(args: {
469
469
  limit: number;
470
470
  labels?: string[] | undefined;
471
- labelsOperator?: "or" | "and" | undefined;
471
+ labelsOperator?: "and" | "or" | undefined;
472
472
  searchText?: string | undefined;
473
473
  projectId?: string | undefined;
474
474
  sectionId?: string | undefined;
@@ -506,7 +506,7 @@ declare const toolRegistry: {
506
506
  appliedFilters: {
507
507
  limit: number;
508
508
  labels?: string[] | undefined;
509
- labelsOperator?: "or" | "and" | undefined;
509
+ labelsOperator?: "and" | "or" | undefined;
510
510
  searchText?: string | undefined;
511
511
  projectId?: string | undefined;
512
512
  sectionId?: string | undefined;
@@ -531,8 +531,8 @@ declare const toolRegistry: {
531
531
  parameters: {
532
532
  labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
533
533
  labelsOperator: import('zod').ZodOptional<import('zod').ZodEnum<{
534
- or: "or";
535
534
  and: "and";
535
+ or: "or";
536
536
  }>>;
537
537
  startDate: import('zod').ZodOptional<import('zod').ZodString>;
538
538
  overdueOption: import('zod').ZodOptional<import('zod').ZodEnum<{
@@ -590,7 +590,7 @@ declare const toolRegistry: {
590
590
  daysCount: number;
591
591
  limit: number;
592
592
  labels?: string[] | undefined;
593
- labelsOperator?: "or" | "and" | undefined;
593
+ labelsOperator?: "and" | "or" | undefined;
594
594
  startDate?: string | undefined;
595
595
  overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
596
596
  cursor?: string | undefined;
@@ -625,7 +625,7 @@ declare const toolRegistry: {
625
625
  daysCount: number;
626
626
  limit: number;
627
627
  labels?: string[] | undefined;
628
- labelsOperator?: "or" | "and" | undefined;
628
+ labelsOperator?: "and" | "or" | undefined;
629
629
  startDate?: string | undefined;
630
630
  overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
631
631
  cursor?: string | undefined;
@@ -641,8 +641,8 @@ declare const toolRegistry: {
641
641
  parameters: {
642
642
  labels: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
643
643
  labelsOperator: import('zod').ZodOptional<import('zod').ZodEnum<{
644
- or: "or";
645
644
  and: "and";
645
+ or: "or";
646
646
  }>>;
647
647
  getBy: import('zod').ZodDefault<import('zod').ZodEnum<{
648
648
  due: "due";
@@ -698,7 +698,7 @@ declare const toolRegistry: {
698
698
  getBy: "due" | "completion";
699
699
  limit: number;
700
700
  labels?: string[] | undefined;
701
- labelsOperator?: "or" | "and" | undefined;
701
+ labelsOperator?: "and" | "or" | undefined;
702
702
  since?: string | undefined;
703
703
  until?: string | undefined;
704
704
  workspaceId?: string | undefined;
@@ -738,7 +738,7 @@ declare const toolRegistry: {
738
738
  getBy: "due" | "completion";
739
739
  limit: number;
740
740
  labels?: string[] | undefined;
741
- labelsOperator?: "or" | "and" | undefined;
741
+ labelsOperator?: "and" | "or" | undefined;
742
742
  workspaceId?: string | undefined;
743
743
  projectId?: string | undefined;
744
744
  sectionId?: string | undefined;
@@ -1429,6 +1429,7 @@ declare const toolRegistry: {
1429
1429
  taskId: import('zod').ZodOptional<import('zod').ZodString>;
1430
1430
  projectId: import('zod').ZodOptional<import('zod').ZodString>;
1431
1431
  content: import('zod').ZodString;
1432
+ notifyUsers: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
1432
1433
  }, import('zod/v4/core').$strip>>;
1433
1434
  };
1434
1435
  outputSchema: {
@@ -1439,6 +1440,7 @@ declare const toolRegistry: {
1439
1440
  content: import('zod').ZodString;
1440
1441
  postedAt: import('zod').ZodString;
1441
1442
  postedUid: import('zod').ZodOptional<import('zod').ZodString>;
1443
+ notifiedUserIds: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
1442
1444
  fileAttachment: import('zod').ZodOptional<import('zod').ZodObject<{
1443
1445
  resourceType: import('zod').ZodString;
1444
1446
  fileName: import('zod').ZodOptional<import('zod').ZodString>;
@@ -1470,6 +1472,7 @@ declare const toolRegistry: {
1470
1472
  content: string;
1471
1473
  taskId?: string | undefined;
1472
1474
  projectId?: string | undefined;
1475
+ notifyUsers?: string[] | undefined;
1473
1476
  }[];
1474
1477
  }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
1475
1478
  textContent: string;
@@ -1481,6 +1484,7 @@ declare const toolRegistry: {
1481
1484
  content: string;
1482
1485
  postedAt: string;
1483
1486
  postedUid: string;
1487
+ notifiedUserIds: string[] | undefined;
1484
1488
  fileAttachment: {
1485
1489
  resourceType: string;
1486
1490
  fileName: string | undefined;
@@ -1519,6 +1523,7 @@ declare const toolRegistry: {
1519
1523
  content: import('zod').ZodString;
1520
1524
  postedAt: import('zod').ZodString;
1521
1525
  postedUid: import('zod').ZodOptional<import('zod').ZodString>;
1526
+ notifiedUserIds: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
1522
1527
  fileAttachment: import('zod').ZodOptional<import('zod').ZodObject<{
1523
1528
  resourceType: import('zod').ZodString;
1524
1529
  fileName: import('zod').ZodOptional<import('zod').ZodString>;
@@ -1564,6 +1569,7 @@ declare const toolRegistry: {
1564
1569
  content: string;
1565
1570
  postedAt: string;
1566
1571
  postedUid: string;
1572
+ notifiedUserIds: string[] | undefined;
1567
1573
  fileAttachment: {
1568
1574
  resourceType: string;
1569
1575
  fileName: string | undefined;
@@ -1604,6 +1610,7 @@ declare const toolRegistry: {
1604
1610
  content: import('zod').ZodString;
1605
1611
  postedAt: import('zod').ZodString;
1606
1612
  postedUid: import('zod').ZodOptional<import('zod').ZodString>;
1613
+ notifiedUserIds: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
1607
1614
  fileAttachment: import('zod').ZodOptional<import('zod').ZodObject<{
1608
1615
  resourceType: import('zod').ZodString;
1609
1616
  fileName: import('zod').ZodOptional<import('zod').ZodString>;
@@ -1648,6 +1655,7 @@ declare const toolRegistry: {
1648
1655
  content: string;
1649
1656
  postedAt: string;
1650
1657
  postedUid: string;
1658
+ notifiedUserIds: string[] | undefined;
1651
1659
  fileAttachment: {
1652
1660
  resourceType: string;
1653
1661
  fileName: string | undefined;
@@ -2071,7 +2079,7 @@ declare const toolRegistry: {
2071
2079
  contentItems?: undefined;
2072
2080
  } | {
2073
2081
  textContent: string;
2074
- contentItems: import('@modelcontextprotocol/sdk/types.js').ContentBlock[];
2082
+ contentItems: import('@modelcontextprotocol/server').ContentBlock[];
2075
2083
  }>;
2076
2084
  };
2077
2085
  addLabels: {
@@ -3348,6 +3356,7 @@ declare const toolRegistry: {
3348
3356
  content: import('zod').ZodString;
3349
3357
  postedAt: import('zod').ZodString;
3350
3358
  postedUid: import('zod').ZodOptional<import('zod').ZodString>;
3359
+ notifiedUserIds: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
3351
3360
  fileAttachment: import('zod').ZodOptional<import('zod').ZodObject<{
3352
3361
  resourceType: import('zod').ZodString;
3353
3362
  fileName: import('zod').ZodOptional<import('zod').ZodString>;
@@ -3453,6 +3462,7 @@ declare const toolRegistry: {
3453
3462
  content: string;
3454
3463
  postedAt: string;
3455
3464
  postedUid: string;
3465
+ notifiedUserIds: string[] | undefined;
3456
3466
  fileAttachment: {
3457
3467
  resourceType: string;
3458
3468
  fileName: string | undefined;
@@ -3814,6 +3824,7 @@ declare const toolRegistry: {
3814
3824
  content: import('zod').ZodString;
3815
3825
  postedAt: import('zod').ZodString;
3816
3826
  postedUid: import('zod').ZodOptional<import('zod').ZodString>;
3827
+ notifiedUserIds: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodString>>;
3817
3828
  fileAttachment: import('zod').ZodOptional<import('zod').ZodObject<{
3818
3829
  resourceType: import('zod').ZodString;
3819
3830
  fileName: import('zod').ZodOptional<import('zod').ZodString>;
@@ -3879,6 +3890,7 @@ declare const toolRegistry: {
3879
3890
  content: string;
3880
3891
  postedAt: string;
3881
3892
  postedUid: string;
3893
+ notifiedUserIds: string[] | undefined;
3882
3894
  fileAttachment: {
3883
3895
  resourceType: string;
3884
3896
  fileName: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"tool-registry.d.ts","sourceRoot":"","sources":["../src/tool-registry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAgEvD;;;;;;;;;;GAUG;AACH,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6EjB,CAAA;AAED;;;;;GAKG;AACH,QAAA,MAAM,eAAe,EAAE,SAAS,cAAc,EAAgC,CAAA;AAE9E,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,CAAA"}
@@ -1,3 +1,4 @@
1
+ import { TodoistApi } from '@doist/todoist-sdk';
1
2
  import { z } from 'zod';
2
3
  declare const addComments: {
3
4
  name: "add-comments";
@@ -7,6 +8,7 @@ declare const addComments: {
7
8
  taskId: z.ZodOptional<z.ZodString>;
8
9
  projectId: z.ZodOptional<z.ZodString>;
9
10
  content: z.ZodString;
11
+ notifyUsers: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
12
  }, z.core.$strip>>;
11
13
  };
12
14
  outputSchema: {
@@ -17,6 +19,7 @@ declare const addComments: {
17
19
  content: z.ZodString;
18
20
  postedAt: z.ZodString;
19
21
  postedUid: z.ZodOptional<z.ZodString>;
22
+ notifiedUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
20
23
  fileAttachment: z.ZodOptional<z.ZodObject<{
21
24
  resourceType: z.ZodString;
22
25
  fileName: z.ZodOptional<z.ZodString>;
@@ -48,8 +51,9 @@ declare const addComments: {
48
51
  content: string;
49
52
  taskId?: string | undefined;
50
53
  projectId?: string | undefined;
54
+ notifyUsers?: string[] | undefined;
51
55
  }[];
52
- }, client: import('@doist/todoist-sdk').TodoistApi): Promise<{
56
+ }, client: TodoistApi): Promise<{
53
57
  textContent: string;
54
58
  structuredContent: {
55
59
  comments: {
@@ -59,6 +63,7 @@ declare const addComments: {
59
63
  content: string;
60
64
  postedAt: string;
61
65
  postedUid: string;
66
+ notifiedUserIds: string[] | undefined;
62
67
  fileAttachment: {
63
68
  resourceType: string;
64
69
  fileName: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"add-comments.d.ts","sourceRoot":"","sources":["../../src/tools/add-comments.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA2BvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuD8C,CAAA;AAsB/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
1
+ {"version":3,"file":"add-comments.d.ts","sourceRoot":"","sources":["../../src/tools/add-comments.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,UAAU,EAAE,MAAM,oBAAoB,CAAA;AACpE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA8CvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8E8C,CAAA;AAiE/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -100,6 +100,7 @@ declare const fetchObject: {
100
100
  content: z.ZodString;
101
101
  postedAt: z.ZodString;
102
102
  postedUid: z.ZodOptional<z.ZodString>;
103
+ notifiedUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
103
104
  fileAttachment: z.ZodOptional<z.ZodObject<{
104
105
  resourceType: z.ZodString;
105
106
  fileName: z.ZodOptional<z.ZodString>;
@@ -205,6 +206,7 @@ declare const fetchObject: {
205
206
  content: string;
206
207
  postedAt: string;
207
208
  postedUid: string;
209
+ notifiedUserIds: string[] | undefined;
208
210
  fileAttachment: {
209
211
  resourceType: string;
210
212
  fileName: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"fetch-object.d.ts","sourceRoot":"","sources":["../../src/tools/fetch-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAyCvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwF8C,CAAA;AAE/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
1
+ {"version":3,"file":"fetch-object.d.ts","sourceRoot":"","sources":["../../src/tools/fetch-object.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAyCvB,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwF8C,CAAA;AAE/D,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -17,6 +17,7 @@ declare const findComments: {
17
17
  content: z.ZodString;
18
18
  postedAt: z.ZodString;
19
19
  postedUid: z.ZodOptional<z.ZodString>;
20
+ notifiedUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
20
21
  fileAttachment: z.ZodOptional<z.ZodObject<{
21
22
  resourceType: z.ZodString;
22
23
  fileName: z.ZodOptional<z.ZodString>;
@@ -62,6 +63,7 @@ declare const findComments: {
62
63
  content: string;
63
64
  postedAt: string;
64
65
  postedUid: string;
66
+ notifiedUserIds: string[] | undefined;
65
67
  fileAttachment: {
66
68
  resourceType: string;
67
69
  fileName: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"find-comments.d.ts","sourceRoot":"","sources":["../../src/tools/find-comments.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAwCvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgF6C,CAAA;AAmD/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"find-comments.d.ts","sourceRoot":"","sources":["../../src/tools/find-comments.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAwCvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgF6C,CAAA;AAmD/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -5,8 +5,8 @@ declare const findCompletedTasks: {
5
5
  parameters: {
6
6
  labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
7
  labelsOperator: z.ZodOptional<z.ZodEnum<{
8
- or: "or";
9
8
  and: "and";
9
+ or: "or";
10
10
  }>>;
11
11
  getBy: z.ZodDefault<z.ZodEnum<{
12
12
  due: "due";
@@ -62,7 +62,7 @@ declare const findCompletedTasks: {
62
62
  getBy: "due" | "completion";
63
63
  limit: number;
64
64
  labels?: string[] | undefined;
65
- labelsOperator?: "or" | "and" | undefined;
65
+ labelsOperator?: "and" | "or" | undefined;
66
66
  since?: string | undefined;
67
67
  until?: string | undefined;
68
68
  workspaceId?: string | undefined;
@@ -102,7 +102,7 @@ declare const findCompletedTasks: {
102
102
  getBy: "due" | "completion";
103
103
  limit: number;
104
104
  labels?: string[] | undefined;
105
- labelsOperator?: "or" | "and" | undefined;
105
+ labelsOperator?: "and" | "or" | undefined;
106
106
  workspaceId?: string | undefined;
107
107
  projectId?: string | undefined;
108
108
  sectionId?: string | undefined;
@@ -2,8 +2,8 @@ import { z } from 'zod';
2
2
  export declare const ArgsSchema: {
3
3
  labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
4
4
  labelsOperator: z.ZodOptional<z.ZodEnum<{
5
- or: "or";
6
5
  and: "and";
6
+ or: "or";
7
7
  }>>;
8
8
  startDate: z.ZodOptional<z.ZodString>;
9
9
  overdueOption: z.ZodOptional<z.ZodEnum<{
@@ -27,8 +27,8 @@ declare const findTasksByDate: {
27
27
  parameters: {
28
28
  labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
29
29
  labelsOperator: z.ZodOptional<z.ZodEnum<{
30
- or: "or";
31
30
  and: "and";
31
+ or: "or";
32
32
  }>>;
33
33
  startDate: z.ZodOptional<z.ZodString>;
34
34
  overdueOption: z.ZodOptional<z.ZodEnum<{
@@ -86,7 +86,7 @@ declare const findTasksByDate: {
86
86
  daysCount: number;
87
87
  limit: number;
88
88
  labels?: string[] | undefined;
89
- labelsOperator?: "or" | "and" | undefined;
89
+ labelsOperator?: "and" | "or" | undefined;
90
90
  startDate?: string | undefined;
91
91
  overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
92
92
  cursor?: string | undefined;
@@ -121,7 +121,7 @@ declare const findTasksByDate: {
121
121
  daysCount: number;
122
122
  limit: number;
123
123
  labels?: string[] | undefined;
124
- labelsOperator?: "or" | "and" | undefined;
124
+ labelsOperator?: "and" | "or" | undefined;
125
125
  startDate?: string | undefined;
126
126
  overdueOption?: "overdue-only" | "include-overdue" | "exclude-overdue" | undefined;
127
127
  cursor?: string | undefined;
@@ -5,8 +5,8 @@ declare const findTasks: {
5
5
  parameters: {
6
6
  labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
7
7
  labelsOperator: z.ZodOptional<z.ZodEnum<{
8
- or: "or";
9
8
  and: "and";
9
+ or: "or";
10
10
  }>>;
11
11
  searchText: z.ZodOptional<z.ZodString>;
12
12
  projectId: z.ZodOptional<z.ZodString>;
@@ -62,7 +62,7 @@ declare const findTasks: {
62
62
  execute(args: {
63
63
  limit: number;
64
64
  labels?: string[] | undefined;
65
- labelsOperator?: "or" | "and" | undefined;
65
+ labelsOperator?: "and" | "or" | undefined;
66
66
  searchText?: string | undefined;
67
67
  projectId?: string | undefined;
68
68
  sectionId?: string | undefined;
@@ -100,7 +100,7 @@ declare const findTasks: {
100
100
  appliedFilters: {
101
101
  limit: number;
102
102
  labels?: string[] | undefined;
103
- labelsOperator?: "or" | "and" | undefined;
103
+ labelsOperator?: "and" | "or" | undefined;
104
104
  searchText?: string | undefined;
105
105
  projectId?: string | undefined;
106
106
  sectionId?: string | undefined;
@@ -56,6 +56,7 @@ declare const importProjectTemplate: {
56
56
  content: z.ZodString;
57
57
  postedAt: z.ZodString;
58
58
  postedUid: z.ZodOptional<z.ZodString>;
59
+ notifiedUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
59
60
  fileAttachment: z.ZodOptional<z.ZodObject<{
60
61
  resourceType: z.ZodString;
61
62
  fileName: z.ZodOptional<z.ZodString>;
@@ -121,6 +122,7 @@ declare const importProjectTemplate: {
121
122
  content: string;
122
123
  postedAt: string;
123
124
  postedUid: string;
125
+ notifiedUserIds: string[] | undefined;
124
126
  fileAttachment: {
125
127
  resourceType: string;
126
128
  fileName: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"import-project-template.d.ts","sourceRoot":"","sources":["../../src/tools/import-project-template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAWvB;;;;;;;GAOG;AACH,iBAAS,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAiChD;AAwCD,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CoC,CAAA;AAsB/D,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,CAAA"}
1
+ {"version":3,"file":"import-project-template.d.ts","sourceRoot":"","sources":["../../src/tools/import-project-template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAWvB;;;;;;;GAOG;AACH,iBAAS,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAiChD;AAwCD,QAAA,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6CoC,CAAA;AAsB/D,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,CAAA"}
@@ -16,6 +16,7 @@ declare const updateComments: {
16
16
  content: z.ZodString;
17
17
  postedAt: z.ZodString;
18
18
  postedUid: z.ZodOptional<z.ZodString>;
19
+ notifiedUserIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
19
20
  fileAttachment: z.ZodOptional<z.ZodObject<{
20
21
  resourceType: z.ZodString;
21
22
  fileName: z.ZodOptional<z.ZodString>;
@@ -60,6 +61,7 @@ declare const updateComments: {
60
61
  content: string;
61
62
  postedAt: string;
62
63
  postedUid: string;
64
+ notifiedUserIds: string[] | undefined;
63
65
  fileAttachment: {
64
66
  resourceType: string;
65
67
  fileName: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"update-comments.d.ts","sourceRoot":"","sources":["../../src/tools/update-comments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA0BvB,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgC2C,CAAA;AAqB/D,OAAO,EAAE,cAAc,EAAE,CAAA"}
1
+ {"version":3,"file":"update-comments.d.ts","sourceRoot":"","sources":["../../src/tools/update-comments.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA0BvB,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgC2C,CAAA;AAqB/D,OAAO,EAAE,cAAc,EAAE,CAAA"}
@@ -1,4 +1,4 @@
1
- import { ContentBlock } from '@modelcontextprotocol/sdk/types.js';
1
+ import { ContentBlock } from '@modelcontextprotocol/server';
2
2
  import { z } from 'zod';
3
3
  declare const viewAttachment: {
4
4
  name: "view-attachment";
@@ -1 +1 @@
1
- {"version":3,"file":"view-attachment.d.ts","sourceRoot":"","sources":["../../src/tools/view-attachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAA;AACtE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAoFvB,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;CAuEsB,CAAA;AAE1C,OAAO,EAAE,cAAc,EAAE,CAAA"}
1
+ {"version":3,"file":"view-attachment.d.ts","sourceRoot":"","sources":["../../src/tools/view-attachment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAChE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAoFvB,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;CAuEsB,CAAA;AAE1C,OAAO,EAAE,cAAc,EAAE,CAAA"}
@@ -0,0 +1,33 @@
1
+ import { TodoistApi } from '@doist/todoist-sdk';
2
+ /** Value that tells `add-comments` to post without notifying anyone. */
3
+ export declare const NO_NOTIFY_KEYWORD = "none";
4
+ export type CommentTarget = {
5
+ taskId: string;
6
+ projectId?: never;
7
+ } | {
8
+ projectId: string;
9
+ taskId?: never;
10
+ };
11
+ /** Whether a `notifyUsers` list is the explicit "notify nobody" opt-out. */
12
+ export declare function isNoNotifyList(notifyUsers: string[]): boolean;
13
+ /**
14
+ * Work out who Todoist's own clients would notify about a new comment.
15
+ *
16
+ * The API notifies exactly the people it is handed and derives nobody itself,
17
+ * so a comment posted without recipients notifies no one — and, because a reply
18
+ * takes its recipients from the comment before it, silences the next comment in
19
+ * the thread too. Mirroring the clients here keeps that chain intact:
20
+ *
21
+ * - replying to an existing thread notifies the previous comment's participants
22
+ * - the first comment on a task notifies its assignee, assigner and creator
23
+ * - the first comment on a project notifies nobody, as a project has no assignee
24
+ *
25
+ * The comment's own author is never a recipient.
26
+ *
27
+ * @param client - Todoist API client
28
+ * @param target - The task or project being commented on
29
+ * @param currentUserId - The authenticated user, excluded from the result
30
+ * @returns User IDs to notify, deduplicated
31
+ */
32
+ export declare function getDefaultCommentRecipients(client: TodoistApi, target: CommentTarget, currentUserId: string): Promise<string[]>;
33
+ //# sourceMappingURL=comment-recipients.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comment-recipients.d.ts","sourceRoot":"","sources":["../../src/utils/comment-recipients.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAgC,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAElF,wEAAwE;AACxE,eAAO,MAAM,iBAAiB,SAAS,CAAA;AAEvC,MAAM,MAAM,aAAa,GACnB;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,SAAS,CAAC,EAAE,KAAK,CAAA;CAAE,GACrC;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,KAAK,CAAA;CAAE,CAAA;AAE3C,4EAA4E;AAC5E,wBAAgB,cAAc,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,OAAO,CAE7D;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAsB,2BAA2B,CAC7C,MAAM,EAAE,UAAU,EAClB,MAAM,EAAE,aAAa,EACrB,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,MAAM,EAAE,CAAC,CAgBnB"}
@@ -27,6 +27,8 @@ export declare const ApiLimits: {
27
27
  readonly COMMENTS_DEFAULT: 10;
28
28
  /** Maximum limit for comment search and list operations */
29
29
  readonly COMMENTS_MAX: 10;
30
+ /** Maximum number of users a single comment can notify */
31
+ readonly NOTIFY_USERS_MAX: 25;
30
32
  /** Default limit for activity log listings */
31
33
  readonly ACTIVITY_DEFAULT: 20;
32
34
  /** Maximum limit for activity log search and list operations */