@doist/todoist-mcp 12.5.4 → 12.5.6

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.
@@ -1,6 +1,6 @@
1
1
  import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
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?\", use **find-activity** with objectType=\"task\" and eventType=\"completed\". It 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**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,ksHAmDxB,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,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,4 +1,4 @@
1
- import { Z as A, _, $ as T } from "./mcp-server-BxS0NkIc.js";
1
+ import { Z as A, _, $ as T } from "./mcp-server-Drv9wBc-.js";
2
2
  const v = /* @__PURE__ */ new Set([401, 403]);
3
3
  function y(e) {
4
4
  const t = T(e);
@@ -2889,32 +2889,32 @@ declare const toolRegistry: {
2889
2889
  EXCELLENT: "EXCELLENT";
2890
2890
  ERROR: "ERROR";
2891
2891
  }>;
2892
- description: import('zod').ZodOptional<import('zod').ZodNullable<import('zod').ZodString>>;
2893
- descriptionSummary: import('zod').ZodOptional<import('zod').ZodNullable<import('zod').ZodString>>;
2894
- taskRecommendations: import('zod').ZodOptional<import('zod').ZodNullable<import('zod').ZodArray<import('zod').ZodObject<{
2892
+ description: import('zod').ZodOptional<import('zod').ZodString>;
2893
+ descriptionSummary: import('zod').ZodOptional<import('zod').ZodString>;
2894
+ taskRecommendations: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodObject<{
2895
2895
  taskId: import('zod').ZodString;
2896
2896
  recommendation: import('zod').ZodString;
2897
- }, import('zod/v4/core').$strip>>>>;
2897
+ }, import('zod/v4/core').$strip>>>;
2898
2898
  isStale: import('zod').ZodBoolean;
2899
2899
  updateInProgress: import('zod').ZodBoolean;
2900
- updatedAt: import('zod').ZodOptional<import('zod').ZodNullable<import('zod').ZodString>>;
2900
+ updatedAt: import('zod').ZodOptional<import('zod').ZodString>;
2901
2901
  }, import('zod/v4/core').$strip>;
2902
2902
  context: import('zod').ZodOptional<import('zod').ZodObject<{
2903
- projectDescription: import('zod').ZodNullable<import('zod').ZodString>;
2903
+ projectDescription: import('zod').ZodOptional<import('zod').ZodString>;
2904
2904
  projectMetrics: import('zod').ZodObject<{
2905
2905
  totalTasks: import('zod').ZodNumber;
2906
2906
  completedTasks: import('zod').ZodNumber;
2907
2907
  overdueTasks: import('zod').ZodNumber;
2908
2908
  tasksCreatedThisWeek: import('zod').ZodNumber;
2909
2909
  tasksCompletedThisWeek: import('zod').ZodNumber;
2910
- averageCompletionTime: import('zod').ZodNullable<import('zod').ZodNumber>;
2910
+ averageCompletionTime: import('zod').ZodOptional<import('zod').ZodNumber>;
2911
2911
  }, import('zod/v4/core').$strip>;
2912
2912
  tasks: import('zod').ZodArray<import('zod').ZodObject<{
2913
2913
  id: import('zod').ZodString;
2914
2914
  content: import('zod').ZodString;
2915
2915
  priority: import('zod').ZodString;
2916
- due: import('zod').ZodOptional<import('zod').ZodNullable<import('zod').ZodString>>;
2917
- deadline: import('zod').ZodOptional<import('zod').ZodNullable<import('zod').ZodString>>;
2916
+ due: import('zod').ZodOptional<import('zod').ZodString>;
2917
+ deadline: import('zod').ZodOptional<import('zod').ZodString>;
2918
2918
  isCompleted: import('zod').ZodBoolean;
2919
2919
  labels: import('zod').ZodArray<import('zod').ZodString>;
2920
2920
  }, import('zod/v4/core').$strip>>;
@@ -2940,32 +2940,32 @@ declare const toolRegistry: {
2940
2940
  };
2941
2941
  health: {
2942
2942
  status: "UNKNOWN" | "ON_TRACK" | "AT_RISK" | "CRITICAL" | "EXCELLENT" | "ERROR";
2943
- description: string | null;
2944
- descriptionSummary: string | null;
2943
+ description: string | undefined;
2944
+ descriptionSummary: string | undefined;
2945
2945
  taskRecommendations: {
2946
2946
  taskId: string;
2947
2947
  recommendation: string;
2948
- }[] | null;
2948
+ }[] | undefined;
2949
2949
  isStale: boolean;
2950
2950
  updateInProgress: boolean;
2951
- updatedAt: string | null;
2951
+ updatedAt: string | undefined;
2952
2952
  };
2953
2953
  context: {
2954
- projectDescription: string | null;
2954
+ projectDescription: string | undefined;
2955
2955
  projectMetrics: {
2956
+ averageCompletionTime: number | undefined;
2956
2957
  totalTasks: number;
2957
2958
  completedTasks: number;
2958
2959
  overdueTasks: number;
2959
2960
  tasksCreatedThisWeek: number;
2960
2961
  tasksCompletedThisWeek: number;
2961
- averageCompletionTime: number | null;
2962
2962
  };
2963
2963
  tasks: {
2964
2964
  id: string;
2965
2965
  content: string;
2966
2966
  priority: string;
2967
- due: string | null;
2968
- deadline: string | null;
2967
+ due: string | undefined;
2968
+ deadline: string | undefined;
2969
2969
  isCompleted: boolean;
2970
2970
  labels: string[];
2971
2971
  }[];
@@ -2987,7 +2987,7 @@ declare const toolRegistry: {
2987
2987
  date: import('zod').ZodString;
2988
2988
  totalCount: import('zod').ZodNumber;
2989
2989
  }, import('zod/v4/core').$strip>>;
2990
- weekItems: import('zod').ZodNullable<import('zod').ZodArray<import('zod').ZodObject<{
2990
+ weekItems: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodObject<{
2991
2991
  fromDate: import('zod').ZodString;
2992
2992
  toDate: import('zod').ZodString;
2993
2993
  totalCount: import('zod').ZodNumber;
@@ -3014,7 +3014,7 @@ declare const toolRegistry: {
3014
3014
  fromDate: string;
3015
3015
  toDate: string;
3016
3016
  totalCount: number;
3017
- }[] | null;
3017
+ }[] | undefined;
3018
3018
  };
3019
3019
  }>;
3020
3020
  };
@@ -3070,10 +3070,9 @@ declare const toolRegistry: {
3070
3070
  outputSchema: {
3071
3071
  workspaceId: import('zod').ZodString;
3072
3072
  workspaceName: import('zod').ZodString;
3073
- folderId: import('zod').ZodNullable<import('zod').ZodString>;
3074
3073
  projectInsights: import('zod').ZodArray<import('zod').ZodObject<{
3075
3074
  projectId: import('zod').ZodString;
3076
- health: import('zod').ZodNullable<import('zod').ZodObject<{
3075
+ health: import('zod').ZodOptional<import('zod').ZodObject<{
3077
3076
  status: import('zod').ZodEnum<{
3078
3077
  UNKNOWN: "UNKNOWN";
3079
3078
  ON_TRACK: "ON_TRACK";
@@ -3085,7 +3084,7 @@ declare const toolRegistry: {
3085
3084
  isStale: import('zod').ZodBoolean;
3086
3085
  updateInProgress: import('zod').ZodBoolean;
3087
3086
  }, import('zod/v4/core').$strip>>;
3088
- progress: import('zod').ZodNullable<import('zod').ZodObject<{
3087
+ progress: import('zod').ZodOptional<import('zod').ZodObject<{
3089
3088
  completedCount: import('zod').ZodNumber;
3090
3089
  activeCount: import('zod').ZodNumber;
3091
3090
  progressPercent: import('zod').ZodNumber;
@@ -3105,19 +3104,18 @@ declare const toolRegistry: {
3105
3104
  structuredContent: {
3106
3105
  workspaceId: string;
3107
3106
  workspaceName: string;
3108
- folderId: string | null;
3109
3107
  projectInsights: {
3110
3108
  projectId: string;
3111
3109
  health: {
3112
3110
  status: "UNKNOWN" | "ON_TRACK" | "AT_RISK" | "CRITICAL" | "EXCELLENT" | "ERROR";
3113
3111
  isStale: boolean;
3114
3112
  updateInProgress: boolean;
3115
- } | null;
3113
+ } | undefined;
3116
3114
  progress: {
3117
3115
  completedCount: number;
3118
3116
  activeCount: number;
3119
3117
  progressPercent: number;
3120
- } | null;
3118
+ } | undefined;
3121
3119
  }[];
3122
3120
  };
3123
3121
  }>;
@@ -3144,7 +3142,7 @@ declare const toolRegistry: {
3144
3142
  isFavorite: import('zod').ZodBoolean;
3145
3143
  }, import('zod/v4/core').$strip>>;
3146
3144
  hasNestedProjects: import('zod').ZodOptional<import('zod').ZodBoolean>;
3147
- inbox: import('zod').ZodOptional<import('zod').ZodNullable<import('zod').ZodObject<{
3145
+ inbox: import('zod').ZodOptional<import('zod').ZodObject<{
3148
3146
  id: import('zod').ZodString;
3149
3147
  name: import('zod').ZodString;
3150
3148
  sections: import('zod').ZodArray<import('zod').ZodObject<{
@@ -3153,7 +3151,7 @@ declare const toolRegistry: {
3153
3151
  sectionOrder: import('zod').ZodNumber;
3154
3152
  description: import('zod').ZodOptional<import('zod').ZodString>;
3155
3153
  }, import('zod/v4/core').$strip>>;
3156
- }, import('zod/v4/core').$strip>>>;
3154
+ }, import('zod/v4/core').$strip>>;
3157
3155
  projects: import('zod').ZodOptional<import('zod').ZodArray<import('zod').ZodLazy<import('zod').ZodType<{
3158
3156
  id: string;
3159
3157
  name: string;
@@ -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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../src/tools/find-activity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA6EvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsD6C,CAAA;AA6I/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"find-activity.d.ts","sourceRoot":"","sources":["../../src/tools/find-activity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkFvB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsD6C,CAAA;AA6I/D,OAAO,EAAE,YAAY,EAAE,CAAA"}
@@ -13,11 +13,11 @@ type ProjectStructure = {
13
13
  };
14
14
  type AccountOverviewStructured = Record<string, unknown> & {
15
15
  type: 'account_overview';
16
- inbox: {
16
+ inbox?: {
17
17
  id: string;
18
18
  name: string;
19
19
  sections: SectionSummary[];
20
- } | null;
20
+ };
21
21
  projects: ProjectStructure[];
22
22
  totalProjects: number;
23
23
  totalSections: number;
@@ -61,7 +61,7 @@ declare const getOverview: {
61
61
  isFavorite: z.ZodBoolean;
62
62
  }, z.core.$strip>>;
63
63
  hasNestedProjects: z.ZodOptional<z.ZodBoolean>;
64
- inbox: z.ZodOptional<z.ZodNullable<z.ZodObject<{
64
+ inbox: z.ZodOptional<z.ZodObject<{
65
65
  id: z.ZodString;
66
66
  name: z.ZodString;
67
67
  sections: z.ZodArray<z.ZodObject<{
@@ -70,7 +70,7 @@ declare const getOverview: {
70
70
  sectionOrder: z.ZodNumber;
71
71
  description: z.ZodOptional<z.ZodString>;
72
72
  }, z.core.$strip>>;
73
- }, z.core.$strip>>>;
73
+ }, z.core.$strip>>;
74
74
  projects: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodType<{
75
75
  id: string;
76
76
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"get-overview.d.ts","sourceRoot":"","sources":["../../src/tools/get-overview.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,KAAK,UAAU,EAClB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,OAAO,EAAgB,MAAM,oBAAoB,CAAA;AAE1D,OAAO,EAAiB,KAAK,cAAc,EAAoB,MAAM,4BAA4B,CAAA;AAkOjG,KAAK,gBAAgB,GAAG;IACpB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,cAAc,EAAE,CAAA;IAC1B,QAAQ,EAAE,gBAAgB,EAAE,CAAA;CAC/B,CAAA;AAED,KAAK,yBAAyB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IACvD,IAAI,EAAE,kBAAkB,CAAA;IACxB,KAAK,EAAE;QACH,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,MAAM,CAAA;QACZ,QAAQ,EAAE,cAAc,EAAE,CAAA;KAC7B,GAAG,IAAI,CAAA;IACR,QAAQ,EAAE,gBAAgB,EAAE,CAAA;IAC5B,aAAa,EAAE,MAAM,CAAA;IACrB,aAAa,EAAE,MAAM,CAAA;IACrB,iBAAiB,EAAE,OAAO,CAAA;CAC7B,CAAA;AAED,KAAK,yBAAyB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG;IACvD,IAAI,EAAE,kBAAkB,CAAA;IACxB,OAAO,EAAE;QACL,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,MAAM,CAAA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aAAE,EAAE;sBAC9B,OAAO,EAAE;;gBANf,MAAM;kBACJ,MAAM;uBACD,MAAM;uBACN,MAAM;wBACL,MAAM;sBACR;gBAAE,EAAE,EAAE,MAAM,CAAC;gBAAC,IAAI,EAAE,MAAM,CAAA;aAAE,EAAE;sBAC9B,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqawC,CAAA;AAE/D,OAAO,EAAE,KAAK,yBAAyB,EAAE,WAAW,EAAE,KAAK,yBAAyB,EAAE,CAAA"}
@@ -13,7 +13,7 @@ declare const getProjectActivityStats: {
13
13
  date: z.ZodString;
14
14
  totalCount: z.ZodNumber;
15
15
  }, z.core.$strip>>;
16
- weekItems: z.ZodNullable<z.ZodArray<z.ZodObject<{
16
+ weekItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
17
17
  fromDate: z.ZodString;
18
18
  toDate: z.ZodString;
19
19
  totalCount: z.ZodNumber;
@@ -40,7 +40,7 @@ declare const getProjectActivityStats: {
40
40
  fromDate: string;
41
41
  toDate: string;
42
42
  totalCount: number;
43
- }[] | null;
43
+ }[] | undefined;
44
44
  };
45
45
  }>;
46
46
  };
@@ -24,32 +24,32 @@ declare const getProjectHealth: {
24
24
  EXCELLENT: "EXCELLENT";
25
25
  ERROR: "ERROR";
26
26
  }>;
27
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
- descriptionSummary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
- taskRecommendations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
27
+ description: z.ZodOptional<z.ZodString>;
28
+ descriptionSummary: z.ZodOptional<z.ZodString>;
29
+ taskRecommendations: z.ZodOptional<z.ZodArray<z.ZodObject<{
30
30
  taskId: z.ZodString;
31
31
  recommendation: z.ZodString;
32
- }, z.core.$strip>>>>;
32
+ }, z.core.$strip>>>;
33
33
  isStale: z.ZodBoolean;
34
34
  updateInProgress: z.ZodBoolean;
35
- updatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ updatedAt: z.ZodOptional<z.ZodString>;
36
36
  }, z.core.$strip>;
37
37
  context: z.ZodOptional<z.ZodObject<{
38
- projectDescription: z.ZodNullable<z.ZodString>;
38
+ projectDescription: z.ZodOptional<z.ZodString>;
39
39
  projectMetrics: z.ZodObject<{
40
40
  totalTasks: z.ZodNumber;
41
41
  completedTasks: z.ZodNumber;
42
42
  overdueTasks: z.ZodNumber;
43
43
  tasksCreatedThisWeek: z.ZodNumber;
44
44
  tasksCompletedThisWeek: z.ZodNumber;
45
- averageCompletionTime: z.ZodNullable<z.ZodNumber>;
45
+ averageCompletionTime: z.ZodOptional<z.ZodNumber>;
46
46
  }, z.core.$strip>;
47
47
  tasks: z.ZodArray<z.ZodObject<{
48
48
  id: z.ZodString;
49
49
  content: z.ZodString;
50
50
  priority: z.ZodString;
51
- due: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
- deadline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
+ due: z.ZodOptional<z.ZodString>;
52
+ deadline: z.ZodOptional<z.ZodString>;
53
53
  isCompleted: z.ZodBoolean;
54
54
  labels: z.ZodArray<z.ZodString>;
55
55
  }, z.core.$strip>>;
@@ -75,32 +75,32 @@ declare const getProjectHealth: {
75
75
  };
76
76
  health: {
77
77
  status: "UNKNOWN" | "ON_TRACK" | "AT_RISK" | "CRITICAL" | "EXCELLENT" | "ERROR";
78
- description: string | null;
79
- descriptionSummary: string | null;
78
+ description: string | undefined;
79
+ descriptionSummary: string | undefined;
80
80
  taskRecommendations: {
81
81
  taskId: string;
82
82
  recommendation: string;
83
- }[] | null;
83
+ }[] | undefined;
84
84
  isStale: boolean;
85
85
  updateInProgress: boolean;
86
- updatedAt: string | null;
86
+ updatedAt: string | undefined;
87
87
  };
88
88
  context: {
89
- projectDescription: string | null;
89
+ projectDescription: string | undefined;
90
90
  projectMetrics: {
91
+ averageCompletionTime: number | undefined;
91
92
  totalTasks: number;
92
93
  completedTasks: number;
93
94
  overdueTasks: number;
94
95
  tasksCreatedThisWeek: number;
95
96
  tasksCompletedThisWeek: number;
96
- averageCompletionTime: number | null;
97
97
  };
98
98
  tasks: {
99
99
  id: string;
100
100
  content: string;
101
101
  priority: string;
102
- due: string | null;
103
- deadline: string | null;
102
+ due: string | undefined;
103
+ deadline: string | undefined;
104
104
  isCompleted: boolean;
105
105
  labels: string[];
106
106
  }[];
@@ -1 +1 @@
1
- {"version":3,"file":"get-project-health.d.ts","sourceRoot":"","sources":["../../src/tools/get-project-health.ts"],"names":[],"mappings":"AAAA,OAAO,EAKH,KAAK,UAAU,EAClB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkMvB,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DyC,CAAA;AAE/D,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
1
+ {"version":3,"file":"get-project-health.d.ts","sourceRoot":"","sources":["../../src/tools/get-project-health.ts"],"names":[],"mappings":"AAAA,OAAO,EAKH,KAAK,UAAU,EAClB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA8LvB,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgEyC,CAAA;AAE/D,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
@@ -9,10 +9,9 @@ declare const getWorkspaceInsights: {
9
9
  outputSchema: {
10
10
  workspaceId: z.ZodString;
11
11
  workspaceName: z.ZodString;
12
- folderId: z.ZodNullable<z.ZodString>;
13
12
  projectInsights: z.ZodArray<z.ZodObject<{
14
13
  projectId: z.ZodString;
15
- health: z.ZodNullable<z.ZodObject<{
14
+ health: z.ZodOptional<z.ZodObject<{
16
15
  status: z.ZodEnum<{
17
16
  UNKNOWN: "UNKNOWN";
18
17
  ON_TRACK: "ON_TRACK";
@@ -24,7 +23,7 @@ declare const getWorkspaceInsights: {
24
23
  isStale: z.ZodBoolean;
25
24
  updateInProgress: z.ZodBoolean;
26
25
  }, z.core.$strip>>;
27
- progress: z.ZodNullable<z.ZodObject<{
26
+ progress: z.ZodOptional<z.ZodObject<{
28
27
  completedCount: z.ZodNumber;
29
28
  activeCount: z.ZodNumber;
30
29
  progressPercent: z.ZodNumber;
@@ -44,19 +43,18 @@ declare const getWorkspaceInsights: {
44
43
  structuredContent: {
45
44
  workspaceId: string;
46
45
  workspaceName: string;
47
- folderId: string | null;
48
46
  projectInsights: {
49
47
  projectId: string;
50
48
  health: {
51
49
  status: "UNKNOWN" | "ON_TRACK" | "AT_RISK" | "CRITICAL" | "EXCELLENT" | "ERROR";
52
50
  isStale: boolean;
53
51
  updateInProgress: boolean;
54
- } | null;
52
+ } | undefined;
55
53
  progress: {
56
54
  completedCount: number;
57
55
  activeCount: number;
58
56
  progressPercent: number;
59
- } | null;
57
+ } | undefined;
60
58
  }[];
61
59
  };
62
60
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"get-workspace-insights.d.ts","sourceRoot":"","sources":["../../src/tools/get-workspace-insights.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAkDvB,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0DqC,CAAA;AAE/D,OAAO,EAAE,oBAAoB,EAAE,CAAA"}
1
+ {"version":3,"file":"get-workspace-insights.d.ts","sourceRoot":"","sources":["../../src/tools/get-workspace-insights.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAiDvB,QAAA,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyDqC,CAAA;AAE/D,OAAO,EAAE,oBAAoB,EAAE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doist/todoist-mcp",
3
- "version": "12.5.4",
3
+ "version": "12.5.6",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",