todoist-mcp 1.3.2 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/utils/handlers.js
CHANGED
|
@@ -49,7 +49,7 @@ export function createHandler(name, description, paramsSchema, handler) {
|
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
};
|
|
52
|
-
//
|
|
52
|
+
// Cast needed: SDK uses Zod 4 types internally, project uses Zod 3
|
|
53
53
|
server.tool(name, description, paramsSchema, mcpToolCallback);
|
|
54
54
|
}
|
|
55
55
|
export function createApiHandler(options) {
|
package/dist/utils/types.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
export type ToolHandlers = Record<string, (request: z.infer<typeof CallToolRequestSchema>) => Promise<Result>>;
|
|
1
|
+
import { CallToolRequest, Result } from '@modelcontextprotocol/sdk/types.js';
|
|
2
|
+
export type ToolHandlers = Record<string, (request: CallToolRequest) => Promise<Result>>;
|
|
4
3
|
export type ToolResult = {
|
|
5
4
|
content: Array<{
|
|
6
5
|
type: string;
|
package/dist/utils/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.3.
|
|
1
|
+
export declare const version = "1.3.3";
|
package/dist/utils/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Auto-generated file, do not edit
|
|
2
|
-
export const version = '1.3.
|
|
2
|
+
export const version = '1.3.3';
|