cursor-delegate-mcp 2.4.0 → 2.5.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/CHANGELOG.md CHANGED
@@ -6,6 +6,26 @@ All notable changes to this project are documented here. The format follows
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [2.5.0] - 2026-10-05
10
+
11
+ ### Changed
12
+
13
+ - Zod 4. The minimum supported `@modelcontextprotocol/sdk` is now 1.23.0, the first
14
+ release that accepts Zod 4 schemas; 1.22.x requires Zod 3.
15
+
16
+ ### Security
17
+
18
+ - Lockfile bumps of `fast-uri` to 3.1.8 and `ip-address` to 10.7.3, clearing the two
19
+ moderate audit advisories in the MCP SDK's dependencies.
20
+
21
+ ### Internal
22
+
23
+ - Lockfile bumps of `@modelcontextprotocol/sdk` to 1.31.0 and the dev dependency
24
+ `@types/node` to 26.6.4.
25
+ - The release workflow retries the MCP Registry publish while npm is still processing
26
+ the new version, instead of failing the run. npm serves a new version a minute or two
27
+ after accepting it, and the registry validates against npm.
28
+
9
29
  ## [2.4.0] - 2026-10-05
10
30
 
11
31
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cursor-delegate-mcp",
3
- "version": "2.4.0",
3
+ "version": "2.5.0",
4
4
  "mcpName": "io.github.andreilungeanu/cursor-delegate-mcp",
5
5
  "type": "module",
6
6
  "description": "Delegate multi-file coding work from Claude Code, Codex, Copilot, or any MCP client to Cursor's CLI agent — structured results, plan mode, and changed files.",
@@ -57,8 +57,8 @@
57
57
  "typecheck": "tsc -p tsconfig.json"
58
58
  },
59
59
  "dependencies": {
60
- "@modelcontextprotocol/sdk": "^1.22.0",
61
- "zod": "^3.23.8"
60
+ "@modelcontextprotocol/sdk": "^1.23.0",
61
+ "zod": "^4.6.5"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@types/node": "^26.1.1",
package/src/server.js CHANGED
@@ -85,7 +85,7 @@ export const delegateOutputShape = {
85
85
  result: z.string(),
86
86
  resultSource: z.enum(["pre-tool-fallback", "none"]).optional(),
87
87
  effectiveModel: z.string().optional(),
88
- effectiveEffort: z.record(z.string()).optional(),
88
+ effectiveEffort: z.record(z.string(), z.string()).optional(),
89
89
  stopReason: z.string().optional(),
90
90
  sessionId: z.string(),
91
91
  filesReportedByEditTools: z.array(z.string()).optional(),
@@ -146,7 +146,7 @@ export const doctorOutputShape = {
146
146
  client: z.object({
147
147
  name: z.string().nullable(),
148
148
  version: z.string().nullable(),
149
- capabilities: z.record(z.unknown()),
149
+ capabilities: z.record(z.string(), z.unknown()),
150
150
  }).passthrough(),
151
151
  agent: z.object(doctorAgentShape).passthrough(),
152
152
  runtime: z.object({
@@ -156,7 +156,7 @@ export const doctorOutputShape = {
156
156
  cwd: z.string(),
157
157
  transport: z.literal("stdio"),
158
158
  }),
159
- env: z.record(z.unknown()),
159
+ env: z.record(z.string(), z.unknown()),
160
160
  };
161
161
 
162
162
  export const delegateInputSchema = z.object({