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.
@@ -49,7 +49,7 @@ export function createHandler(name, description, paramsSchema, handler) {
49
49
  };
50
50
  }
51
51
  };
52
- // Crazy cast, if you can do it better, please, let me knows
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) {
@@ -1,6 +1,5 @@
1
- import { CallToolRequestSchema, Result } from '@modelcontextprotocol/sdk/types.js';
2
- import z from 'zod';
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;
@@ -1 +1 @@
1
- export declare const version = "1.3.2";
1
+ export declare const version = "1.3.3";
@@ -1,2 +1,2 @@
1
1
  // Auto-generated file, do not edit
2
- export const version = '1.3.2';
2
+ export const version = '1.3.3';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "todoist-mcp",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "Todoist MCP Server",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",