Commit 28e7d23
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
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
0 commit comments