Skip to content

Commit 28e7d23

Browse files
committed
fix(deps): add missing @connectrpc/connect-node for @cursor/sdk
@cursor/sdk@1.0.19 imports @connectrpc/connect-node at runtime (Http2SessionManager, createNodeHttpClient, compressionGzip) but only declares @connectrpc/connect and @connectrpc/connect-web in its deps, causing ERR_MODULE_NOT_FOUND on plugin load. Add @connectrpc/connect-node@^1.6.1 to dependencies. Pinned to v1 since the SDK bundles @connectrpc/connect@1.6.1; connect-node v2.x targets the connect v2.x API. Resolves to 1.7.0.
1 parent 6ce8d19 commit 28e7d23

2 files changed

Lines changed: 27 additions & 0 deletions

File tree

‎package-lock.json‎

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"prepublishOnly": "npm run typecheck && npm test && npm run build"
5656
},
5757
"dependencies": {
58+
"@connectrpc/connect-node": "^1.6.1",
5859
"@cursor/sdk": "^1.0.18",
5960
"@opencode-ai/plugin": "^1.17.7"
6061
},

0 commit comments

Comments
 (0)