diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 598b81fc9a18..60c11830c893 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -209,6 +209,12 @@ peerDependencyRules: allowedVersions: vite: "*" +# @cursor/sdk finds its platform package (sandbox helper, rg, tree-sitter) by +# walking up from the entry script for node_modules/@cursor/sdk--. +# pnpm keeps optional deps inside the virtual store, so hoist it to the root. +publicHoistPattern: + - "@cursor/sdk-*" + supportedArchitectures: cpu: [current, x64] libc: [current, glibc]