@todoist/mcp 16.1.0 → 17.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.
- package/dist/index.d.ts +0 -42
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -3
- package/dist/main-http.js +2 -2
- package/dist/main.js +1 -1
- package/dist/{mcp-server-ByH-_lOO.js → mcp-server-BWxFOsDp.js} +343 -407
- package/dist/{require-valid-todoist-token-D29OXQZl.js → require-valid-todoist-token-eZRVABzW.js} +1 -1
- package/dist/tool-registry.d.ts +0 -42
- package/dist/tool-registry.d.ts.map +1 -1
- package/dist/tools/get-project-health.d.ts +1 -44
- package/dist/tools/get-project-health.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/{require-valid-todoist-token-D29OXQZl.js → require-valid-todoist-token-eZRVABzW.js}
RENAMED
|
@@ -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-
|
|
2
|
+
import { $ as v, a0 as A } from "./mcp-server-BWxFOsDp.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.
|
package/dist/tool-registry.d.ts
CHANGED
|
@@ -3092,7 +3092,6 @@ declare const toolRegistry: {
|
|
|
3092
3092
|
description: string;
|
|
3093
3093
|
parameters: {
|
|
3094
3094
|
projectId: import('zod').ZodString;
|
|
3095
|
-
includeContext: import('zod').ZodDefault<import('zod').ZodBoolean>;
|
|
3096
3095
|
};
|
|
3097
3096
|
outputSchema: {
|
|
3098
3097
|
projectId: import('zod').ZodString;
|
|
@@ -3117,26 +3116,6 @@ declare const toolRegistry: {
|
|
|
3117
3116
|
updateInProgress: import('zod').ZodBoolean;
|
|
3118
3117
|
updatedAt: import('zod').ZodOptional<import('zod').ZodString>;
|
|
3119
3118
|
}, import('zod/v4/core').$strip>;
|
|
3120
|
-
context: import('zod').ZodOptional<import('zod').ZodObject<{
|
|
3121
|
-
projectDescription: import('zod').ZodOptional<import('zod').ZodString>;
|
|
3122
|
-
projectMetrics: import('zod').ZodObject<{
|
|
3123
|
-
totalTasks: import('zod').ZodNumber;
|
|
3124
|
-
completedTasks: import('zod').ZodNumber;
|
|
3125
|
-
overdueTasks: import('zod').ZodNumber;
|
|
3126
|
-
tasksCreatedThisWeek: import('zod').ZodNumber;
|
|
3127
|
-
tasksCompletedThisWeek: import('zod').ZodNumber;
|
|
3128
|
-
averageCompletionTime: import('zod').ZodOptional<import('zod').ZodNumber>;
|
|
3129
|
-
}, import('zod/v4/core').$strip>;
|
|
3130
|
-
tasks: import('zod').ZodArray<import('zod').ZodObject<{
|
|
3131
|
-
id: import('zod').ZodString;
|
|
3132
|
-
content: import('zod').ZodString;
|
|
3133
|
-
priority: import('zod').ZodString;
|
|
3134
|
-
due: import('zod').ZodOptional<import('zod').ZodString>;
|
|
3135
|
-
deadline: import('zod').ZodOptional<import('zod').ZodString>;
|
|
3136
|
-
isCompleted: import('zod').ZodBoolean;
|
|
3137
|
-
labels: import('zod').ZodArray<import('zod').ZodString>;
|
|
3138
|
-
}, import('zod/v4/core').$strip>>;
|
|
3139
|
-
}, import('zod/v4/core').$strip>>;
|
|
3140
3119
|
};
|
|
3141
3120
|
annotations: {
|
|
3142
3121
|
readOnlyHint: true;
|
|
@@ -3145,7 +3124,6 @@ declare const toolRegistry: {
|
|
|
3145
3124
|
};
|
|
3146
3125
|
execute(args: {
|
|
3147
3126
|
projectId: string;
|
|
3148
|
-
includeContext: boolean;
|
|
3149
3127
|
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
3150
3128
|
textContent: string;
|
|
3151
3129
|
structuredContent: {
|
|
@@ -3164,26 +3142,6 @@ declare const toolRegistry: {
|
|
|
3164
3142
|
updateInProgress: boolean;
|
|
3165
3143
|
updatedAt: string | undefined;
|
|
3166
3144
|
};
|
|
3167
|
-
context: {
|
|
3168
|
-
projectDescription: string | undefined;
|
|
3169
|
-
projectMetrics: {
|
|
3170
|
-
averageCompletionTime: number | undefined;
|
|
3171
|
-
totalTasks: number;
|
|
3172
|
-
completedTasks: number;
|
|
3173
|
-
overdueTasks: number;
|
|
3174
|
-
tasksCreatedThisWeek: number;
|
|
3175
|
-
tasksCompletedThisWeek: number;
|
|
3176
|
-
};
|
|
3177
|
-
tasks: {
|
|
3178
|
-
id: string;
|
|
3179
|
-
content: string;
|
|
3180
|
-
priority: string;
|
|
3181
|
-
due: string | undefined;
|
|
3182
|
-
deadline: string | undefined;
|
|
3183
|
-
isCompleted: boolean;
|
|
3184
|
-
labels: string[];
|
|
3185
|
-
}[];
|
|
3186
|
-
} | undefined;
|
|
3187
3145
|
};
|
|
3188
3146
|
}>;
|
|
3189
3147
|
};
|
|
@@ -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;AAkEvD;;;;;;;;;;GAUG;AACH,QAAA,MAAM,YAAY
|
|
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;AAkEvD;;;;;;;;;;GAUG;AACH,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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E,SAAS,cAAc,EAAgC,CAAA;AAE9E,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { TodoistApi } from '@todoist/sdk';
|
|
2
1
|
import { z } from 'zod';
|
|
3
2
|
declare const getProjectHealth: {
|
|
4
3
|
name: "get-project-health";
|
|
5
4
|
description: string;
|
|
6
5
|
parameters: {
|
|
7
6
|
projectId: z.ZodString;
|
|
8
|
-
includeContext: z.ZodDefault<z.ZodBoolean>;
|
|
9
7
|
};
|
|
10
8
|
outputSchema: {
|
|
11
9
|
projectId: z.ZodString;
|
|
@@ -30,26 +28,6 @@ declare const getProjectHealth: {
|
|
|
30
28
|
updateInProgress: z.ZodBoolean;
|
|
31
29
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
32
30
|
}, z.core.$strip>;
|
|
33
|
-
context: z.ZodOptional<z.ZodObject<{
|
|
34
|
-
projectDescription: z.ZodOptional<z.ZodString>;
|
|
35
|
-
projectMetrics: z.ZodObject<{
|
|
36
|
-
totalTasks: z.ZodNumber;
|
|
37
|
-
completedTasks: z.ZodNumber;
|
|
38
|
-
overdueTasks: z.ZodNumber;
|
|
39
|
-
tasksCreatedThisWeek: z.ZodNumber;
|
|
40
|
-
tasksCompletedThisWeek: z.ZodNumber;
|
|
41
|
-
averageCompletionTime: z.ZodOptional<z.ZodNumber>;
|
|
42
|
-
}, z.core.$strip>;
|
|
43
|
-
tasks: z.ZodArray<z.ZodObject<{
|
|
44
|
-
id: z.ZodString;
|
|
45
|
-
content: z.ZodString;
|
|
46
|
-
priority: z.ZodString;
|
|
47
|
-
due: z.ZodOptional<z.ZodString>;
|
|
48
|
-
deadline: z.ZodOptional<z.ZodString>;
|
|
49
|
-
isCompleted: z.ZodBoolean;
|
|
50
|
-
labels: z.ZodArray<z.ZodString>;
|
|
51
|
-
}, z.core.$strip>>;
|
|
52
|
-
}, z.core.$strip>>;
|
|
53
31
|
};
|
|
54
32
|
annotations: {
|
|
55
33
|
readOnlyHint: true;
|
|
@@ -58,8 +36,7 @@ declare const getProjectHealth: {
|
|
|
58
36
|
};
|
|
59
37
|
execute(args: {
|
|
60
38
|
projectId: string;
|
|
61
|
-
|
|
62
|
-
}, client: TodoistApi): Promise<{
|
|
39
|
+
}, client: import('@todoist/sdk').TodoistApi): Promise<{
|
|
63
40
|
textContent: string;
|
|
64
41
|
structuredContent: {
|
|
65
42
|
projectId: string;
|
|
@@ -77,26 +54,6 @@ declare const getProjectHealth: {
|
|
|
77
54
|
updateInProgress: boolean;
|
|
78
55
|
updatedAt: string | undefined;
|
|
79
56
|
};
|
|
80
|
-
context: {
|
|
81
|
-
projectDescription: string | undefined;
|
|
82
|
-
projectMetrics: {
|
|
83
|
-
averageCompletionTime: number | undefined;
|
|
84
|
-
totalTasks: number;
|
|
85
|
-
completedTasks: number;
|
|
86
|
-
overdueTasks: number;
|
|
87
|
-
tasksCreatedThisWeek: number;
|
|
88
|
-
tasksCompletedThisWeek: number;
|
|
89
|
-
};
|
|
90
|
-
tasks: {
|
|
91
|
-
id: string;
|
|
92
|
-
content: string;
|
|
93
|
-
priority: string;
|
|
94
|
-
due: string | undefined;
|
|
95
|
-
deadline: string | undefined;
|
|
96
|
-
isCompleted: boolean;
|
|
97
|
-
labels: string[];
|
|
98
|
-
}[];
|
|
99
|
-
} | undefined;
|
|
100
57
|
};
|
|
101
58
|
}>;
|
|
102
59
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-project-health.d.ts","sourceRoot":"","sources":["../../src/tools/get-project-health.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-project-health.d.ts","sourceRoot":"","sources":["../../src/tools/get-project-health.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA+EvB,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0CyC,CAAA;AAE/D,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
|