{"_id":"@cursor/sdk","_rev":"7-06ba59576104b6d1cf1204a2c3c3b8f7","name":"@cursor/sdk","dist-tags":{"latest":"1.0.13"},"versions":{"1.0.7":{"name":"@cursor/sdk","version":"1.0.7","license":"SEE LICENSE IN LICENSE.md","_id":"@cursor/sdk@1.0.7","maintainers":[{"name":"eric-anysphere","email":"eric@anysphere.co"},{"name":"jediahkatz","email":"jediahkatz@gmail.com"},{"name":"katiabazzi","email":"katia.bazzi@gmail.com"},{"name":"ssokolin-cursor","email":"ssokolin@anysphere.co"},{"name":"royxu6","email":"roy@anysphere.co"},{"name":"henry-anysphere","email":"henry@anysphere.co"}],"homepage":"https://cursor.com","bugs":{"url":"https://github.com/cursor/cursor/issues"},"dist":{"shasum":"7e0f970a8ee8e3703310a6e789c5f1d876a1c0f4","tarball":"https://registry.npmjs.org/@cursor/sdk/-/sdk-1.0.7.tgz","fileCount":126,"integrity":"sha512-lDaGdsg5Vzvr/eW53C6S5wXc83aHoF5QrcCF3eqkr+2wzS7DQFiviH3HA5EmiZ2PJDhU2/0O77v6pwhjSAcDDA==","signatures":[{"sig":"MEYCIQCbHNOvjh/yIqbqp36YykR+NTd0aVLBny4rSQAfIEjyLAIhANVWcOtuCrIlmrewXwygvBfS02TDlnbA3vjv9XYrepns","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11541757},"main":"./dist/cjs/index.js","type":"module","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}},"./agent":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"4ce93fd288ff7256a17a7f0f49aa6e823a0e96cc","scripts":{"fix":"biome check --write --unsafe","test":"vitest run","build":"echo noop","check":"biome check && tsc --noEmit","test:ui":"vitest --ui","typecheck":"tsc --noEmit","build:prod":"pnpm prepare:rg && SDK_BUILD_MODE=prod node --import tsx scripts/build-agent.ts && pnpm generate-platform-packages","prepare:rg":"node scripts/download-rg.js","test:watch":"vitest","type-check":"tsc --noEmit","build-types":"tsc -p tsconfig.dts.json","build:internal":"SDK_BUILD_MODE=dev node --import tsx scripts/build-agent.ts","prepublishOnly":"pnpm build:prod","sdk-playground":"node --conditions bun --import tsx scripts/sdk-playground.ts","prettier:branch":"UPSTREAM=$(git symbolic-ref --quiet --short refs/remotes/origin/HEAD 2>/dev/null || echo origin/main); BASE=$(git merge-base HEAD \"$UPSTREAM\"); git diff -z --name-only --diff-filter=ACMRTUXB --relative \"$BASE\" -- . | xargs -0 -n1 -I{} npx prettier --ignore-unknown --write \"{}\"","prettier:changed":"git diff -z --name-only --diff-filter=ACMRTUXB --relative HEAD -- . | xargs -0 npx prettier --ignore-unknown --write","generate-platform-packages":"node --import tsx scripts/generate-platform-packages.ts"},"_npmUser":{"name":"katiabazzi","email":"katia.bazzi@gmail.com"},"repository":{"url":"git+https://github.com/cursor/cursor.git","type":"git"},"_npmVersion":"10.9.2","description":"Cursor SDK (private alpha).","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.25.0","sqlite3":"^5.1.7","@bufbuild/protobuf":"1.10.0","@connectrpc/connect":"^1.6.1","@connectrpc/connect-node":"^1.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","zod":"^3.25.0","vite":"^6.0.0","vitest":"^4.0.18","webpack":"^5.98.0","ts-loader":"^9.5.1","typescript":"^5.8.3","@types/node":"^22.5.5","@anysphere/hooks":"workspace:*","@anysphere/proto":"workspace:*","@anysphere/utils":"workspace:*","@anysphere/context":"workspace:*","@bufbuild/protobuf":"1.10.0","@anysphere/agent-kv":"workspace:*","@anysphere/git-core":"workspace:*","@connectrpc/connect":"^1.6.1","@anysphere/agent-core":"workspace:*","@anysphere/agent-exec":"workspace:*","@anysphere/local-exec":"workspace:*","@anysphere/shell-exec":"workspace:*","@anysphere/context-rpc":"workspace:*","@anysphere/agent-client":"workspace:*","@connectrpc/connect-node":"^1.6.1","@anysphere/cursor-plugins":"workspace:*","@anysphere/mcp-agent-exec":"workspace:*","@anysphere/analytics-client":"workspace:*","@anysphere/cursor-sdk-shared":"workspace:*","@anysphere/cursor-sdk-local-runtime":"workspace:*"},"optionalDependencies":{"@cursor/sdk-linux-x64":"1.0.7","@cursor/sdk-win32-x64":"1.0.7","@cursor/sdk-darwin-x64":"1.0.7","@cursor/sdk-linux-arm64":"1.0.7","@cursor/sdk-darwin-arm64":"1.0.7"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.7_1777232247900_0.6418756337112614","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@cursor/sdk","version":"1.0.8","license":"SEE LICENSE IN LICENSE.md","_id":"@cursor/sdk@1.0.8","maintainers":[{"name":"eric-anysphere","email":"eric@anysphere.co"},{"name":"jediahkatz","email":"jediahkatz@gmail.com"},{"name":"katiabazzi","email":"katia.bazzi@gmail.com"},{"name":"ssokolin-cursor","email":"ssokolin@anysphere.co"},{"name":"royxu6","email":"roy@anysphere.co"},{"name":"henry-anysphere","email":"henry@anysphere.co"}],"homepage":"https://cursor.com","bugs":{"url":"https://github.com/cursor/cursor/issues"},"dist":{"shasum":"0024d97900a0a6629461f6093fe760bf70dd5685","tarball":"https://registry.npmjs.org/@cursor/sdk/-/sdk-1.0.8.tgz","fileCount":134,"integrity":"sha512-8jpACxDwr2Cv73mZugWR99uN/nCfT/smJkPgUXCjUpJMZdIKeYXhCPUzrBgx+DZNf1QbMRcm8KthPRcQ8X8ShA==","signatures":[{"sig":"MEUCIQCwDLKEJabqK63VsLqRdjvkpo8etbEq5+xpS9MGfXrOKwIgfvmkChgM18rK/nAEjm4GWr30xgf7Qbqb3kCdtFqvs9o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12117380},"main":"./dist/cjs/index.js","type":"module","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}},"./agent":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"7943422009783b3fd25b62a3f2c3327b436f6536","scripts":{"fix":"biome check --write --unsafe","test":"vitest run","build":"echo noop","check":"biome check && tsc --noEmit","test:ui":"vitest --ui","typecheck":"tsc --noEmit","build:prod":"pnpm prepare:rg && SDK_BUILD_MODE=prod node --import tsx scripts/build-agent.ts && pnpm generate-platform-packages","prepare:rg":"node scripts/download-rg.js","test:watch":"vitest","type-check":"tsc --noEmit","build-types":"tsc -p tsconfig.dts.json","build:internal":"SDK_BUILD_MODE=dev node --import tsx scripts/build-agent.ts","prepublishOnly":"pnpm build:prod","prettier:branch":"UPSTREAM=$(git symbolic-ref --quiet --short refs/remotes/origin/HEAD 2>/dev/null || echo origin/main); BASE=$(git merge-base HEAD \"$UPSTREAM\"); git diff -z --name-only --diff-filter=ACMRTUXB --relative \"$BASE\" -- . | xargs -0 -n1 -I{} npx prettier --ignore-unknown --write \"{}\"","prettier:changed":"git diff -z --name-only --diff-filter=ACMRTUXB --relative HEAD -- . | xargs -0 npx prettier --ignore-unknown --write","generate-platform-packages":"node --import tsx scripts/generate-platform-packages.ts"},"_npmUser":{"name":"katiabazzi","email":"katia.bazzi@gmail.com"},"repository":{"url":"git+https://github.com/cursor/cursor.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for Cursor agents.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.25.0","sqlite3":"^5.1.7","@bufbuild/protobuf":"1.10.0","@statsig/js-client":"3.31.0","@connectrpc/connect":"^1.6.1","@connectrpc/connect-node":"^1.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","zod":"^3.25.0","vite":"^6.0.0","vitest":"^4.0.18","webpack":"^5.98.0","ts-loader":"^9.5.1","typescript":"^5.8.3","@types/node":"^22.5.5","@anysphere/hooks":"workspace:*","@anysphere/proto":"workspace:*","@anysphere/utils":"workspace:*","@anysphere/context":"workspace:*","@bufbuild/protobuf":"1.10.0","@anysphere/agent-kv":"workspace:*","@anysphere/git-core":"workspace:*","@connectrpc/connect":"^1.6.1","@anysphere/agent-core":"workspace:*","@anysphere/agent-exec":"workspace:*","@anysphere/local-exec":"workspace:*","@anysphere/shell-exec":"workspace:*","@anysphere/context-rpc":"workspace:*","@anysphere/agent-client":"workspace:*","@connectrpc/connect-node":"^1.6.1","@anysphere/cursor-plugins":"workspace:*","@anysphere/mcp-agent-exec":"workspace:*","@anysphere/analytics-client":"workspace:*","@anysphere/cursor-sdk-shared":"workspace:*","@anysphere/cursor-sdk-local-runtime":"workspace:*"},"optionalDependencies":{"@cursor/sdk-linux-x64":"1.0.8","@cursor/sdk-win32-x64":"1.0.8","@cursor/sdk-darwin-x64":"1.0.8","@cursor/sdk-linux-arm64":"1.0.8","@cursor/sdk-darwin-arm64":"1.0.8"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.8_1777396129050_0.43412722546767113","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@cursor/sdk","version":"1.0.9","license":"SEE LICENSE IN LICENSE.md","_id":"@cursor/sdk@1.0.9","maintainers":[{"name":"eric-anysphere","email":"eric@anysphere.co"},{"name":"jediahkatz","email":"jediahkatz@gmail.com"},{"name":"katiabazzi","email":"katia.bazzi@gmail.com"},{"name":"ssokolin-cursor","email":"ssokolin@anysphere.co"},{"name":"royxu6","email":"roy@anysphere.co"},{"name":"henry-anysphere","email":"henry@anysphere.co"}],"homepage":"https://cursor.com","bugs":{"url":"https://github.com/cursor/cursor/issues"},"dist":{"shasum":"33fafcf9e7848532019011ccacaa4ddb40937b74","tarball":"https://registry.npmjs.org/@cursor/sdk/-/sdk-1.0.9.tgz","fileCount":134,"integrity":"sha512-UYoWWnVqmS5mA6nteR8iyxRQrscSvqZUFYyaboQkCWNvETLTm2JI7tTx/RhCprEToukqufhF2pINOBJmPeFfdA==","signatures":[{"sig":"MEYCIQC6EYmAiZIn3bQbdU2uvsB3jOXjo1mhpIslUgYRKJg7WwIhANFvD1NfwHgN2lwVwor2+ycW7ZsCDaC4/AD1nb5bWE95","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12143127},"main":"./dist/cjs/index.js","type":"module","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}},"./agent":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"5322c12bc3bbb3a1672cbac76ac99d6b3c467a67","scripts":{"fix":"biome check --write --unsafe","test":"vitest run","build":"echo noop","check":"biome check && tsc --noEmit","test:ui":"vitest --ui","typecheck":"tsc --noEmit","build:prod":"pnpm prepare:rg && SDK_BUILD_MODE=prod node --import tsx scripts/build-agent.ts && pnpm generate-platform-packages","prepare:rg":"node scripts/download-rg.js","test:watch":"vitest","type-check":"tsc --noEmit","build-types":"tsc -p tsconfig.dts.json","build:internal":"SDK_BUILD_MODE=dev node --import tsx scripts/build-agent.ts","prepublishOnly":"pnpm build:prod","prettier:branch":"UPSTREAM=$(git symbolic-ref --quiet --short refs/remotes/origin/HEAD 2>/dev/null || echo origin/main); BASE=$(git merge-base HEAD \"$UPSTREAM\"); git diff -z --name-only --diff-filter=ACMRTUXB --relative \"$BASE\" -- . | xargs -0 -n1 -I{} npx prettier --ignore-unknown --write \"{}\"","prettier:changed":"git diff -z --name-only --diff-filter=ACMRTUXB --relative HEAD -- . | xargs -0 npx prettier --ignore-unknown --write","generate-platform-packages":"node --import tsx scripts/generate-platform-packages.ts"},"_npmUser":{"name":"katiabazzi","email":"katia.bazzi@gmail.com"},"repository":{"url":"git+https://github.com/cursor/cursor.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for Cursor agents (public beta).","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.25.0","sqlite3":"^5.1.7","@bufbuild/protobuf":"1.10.0","@statsig/js-client":"3.31.0","@connectrpc/connect":"^1.6.1","@connectrpc/connect-node":"^1.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","zod":"^3.25.0","vite":"^6.0.0","vitest":"^4.0.18","webpack":"^5.98.0","ts-loader":"^9.5.1","typescript":"^5.8.3","@types/node":"^22.5.5","@anysphere/hooks":"workspace:*","@anysphere/proto":"workspace:*","@anysphere/utils":"workspace:*","@anysphere/context":"workspace:*","@bufbuild/protobuf":"1.10.0","@anysphere/agent-kv":"workspace:*","@anysphere/git-core":"workspace:*","@connectrpc/connect":"^1.6.1","@anysphere/agent-core":"workspace:*","@anysphere/agent-exec":"workspace:*","@anysphere/local-exec":"workspace:*","@anysphere/shell-exec":"workspace:*","@anysphere/context-rpc":"workspace:*","@anysphere/agent-client":"workspace:*","@connectrpc/connect-node":"^1.6.1","@anysphere/cursor-plugins":"workspace:*","@anysphere/mcp-agent-exec":"workspace:*","@anysphere/analytics-client":"workspace:*","@anysphere/cursor-sdk-shared":"workspace:*","@anysphere/cursor-sdk-local-runtime":"workspace:*"},"optionalDependencies":{"@cursor/sdk-linux-x64":"1.0.9","@cursor/sdk-win32-x64":"1.0.9","@cursor/sdk-darwin-x64":"1.0.9","@cursor/sdk-linux-arm64":"1.0.9","@cursor/sdk-darwin-arm64":"1.0.9"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.9_1777477524581_0.517265289723382","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@cursor/sdk","version":"1.0.10","license":"SEE LICENSE IN LICENSE.md","_id":"@cursor/sdk@1.0.10","maintainers":[{"name":"eric-anysphere","email":"eric@anysphere.co"},{"name":"jediahkatz","email":"jediahkatz@gmail.com"},{"name":"katiabazzi","email":"katia.bazzi@gmail.com"},{"name":"ssokolin-cursor","email":"ssokolin@anysphere.co"},{"name":"royxu6","email":"roy@anysphere.co"},{"name":"henry-anysphere","email":"henry@anysphere.co"}],"homepage":"https://cursor.com","bugs":{"url":"https://github.com/cursor/cursor/issues"},"dist":{"shasum":"288ecb60678a51eec2defa1349810678a585787e","tarball":"https://registry.npmjs.org/@cursor/sdk/-/sdk-1.0.10.tgz","fileCount":134,"integrity":"sha512-j2y2sbDBgxMPZqXWUyCRfzatpD4h0Vg4SLvVLBV+j65A8m+e9gTdrSUK3eaUdIs9IAAZe1gngP2aOKMw6/tq+Q==","signatures":[{"sig":"MEUCIQDMOFidxLmbVKHRcWnMOub4AWVUDbiZ480Y7SChidJ2bwIgB8sIsbe298hDGu0ddApP5A7DhdAXYNmbwaq4oCpyWdM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12157318},"main":"./dist/cjs/index.js","type":"module","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}},"./agent":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"c4c161a6f89b9c1908d860a10e20324017a2956f","scripts":{"fix":"biome check --write --unsafe","test":"vitest run","build":"echo noop","check":"biome check && tsc --noEmit","test:ui":"vitest --ui","typecheck":"tsc --noEmit","build:prod":"pnpm prepare:rg && SDK_BUILD_MODE=prod node --import tsx scripts/build-agent.ts && pnpm generate-platform-packages","prepare:rg":"node scripts/download-rg.js","test:watch":"vitest","type-check":"tsc --noEmit","build-types":"tsc -p tsconfig.dts.json","build:internal":"SDK_BUILD_MODE=dev node --import tsx scripts/build-agent.ts","prepublishOnly":"pnpm build:prod","prettier:branch":"UPSTREAM=$(git symbolic-ref --quiet --short refs/remotes/origin/HEAD 2>/dev/null || echo origin/main); BASE=$(git merge-base HEAD \"$UPSTREAM\"); git diff -z --name-only --diff-filter=ACMRTUXB --relative \"$BASE\" -- . | xargs -0 -n1 -I{} npx prettier --ignore-unknown --write \"{}\"","prettier:changed":"git diff -z --name-only --diff-filter=ACMRTUXB --relative HEAD -- . | xargs -0 npx prettier --ignore-unknown --write","generate-platform-packages":"node --import tsx scripts/generate-platform-packages.ts"},"_npmUser":{"name":"ssokolin-cursor","email":"ssokolin@anysphere.co"},"repository":{"url":"git+https://github.com/cursor/cursor.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for Cursor agents.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.25.0","sqlite3":"^5.1.7","@bufbuild/protobuf":"1.10.0","@statsig/js-client":"3.31.0","@connectrpc/connect":"^1.6.1","@connectrpc/connect-node":"^1.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","zod":"^3.25.0","vite":"^6.0.0","vitest":"^4.0.18","webpack":"^5.98.0","ts-loader":"^9.5.1","typescript":"^5.8.3","@types/node":"^22.5.5","@anysphere/hooks":"workspace:*","@anysphere/proto":"workspace:*","@anysphere/utils":"workspace:*","@anysphere/context":"workspace:*","@bufbuild/protobuf":"1.10.0","@anysphere/agent-kv":"workspace:*","@anysphere/git-core":"workspace:*","@connectrpc/connect":"^1.6.1","@anysphere/agent-core":"workspace:*","@anysphere/agent-exec":"workspace:*","@anysphere/local-exec":"workspace:*","@anysphere/shell-exec":"workspace:*","@anysphere/context-rpc":"workspace:*","@anysphere/agent-client":"workspace:*","@connectrpc/connect-node":"^1.6.1","@anysphere/cursor-plugins":"workspace:*","@anysphere/mcp-agent-exec":"workspace:*","@anysphere/analytics-client":"workspace:*","@anysphere/cursor-sdk-shared":"workspace:*","@anysphere/cursor-sdk-local-runtime":"workspace:*"},"optionalDependencies":{"@cursor/sdk-linux-x64":"1.0.10","@cursor/sdk-win32-x64":"1.0.10","@cursor/sdk-darwin-x64":"1.0.10","@cursor/sdk-linux-arm64":"1.0.10","@cursor/sdk-darwin-arm64":"1.0.10"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.10_1777497895749_0.1331552990830831","host":"s3://npm-registry-packages-npm-production"}},"1.0.11":{"name":"@cursor/sdk","version":"1.0.11","license":"SEE LICENSE IN LICENSE.md","_id":"@cursor/sdk@1.0.11","maintainers":[{"name":"eric-anysphere","email":"eric@anysphere.co"},{"name":"jediahkatz","email":"jediahkatz@gmail.com"},{"name":"katiabazzi","email":"katia.bazzi@gmail.com"},{"name":"ssokolin-cursor","email":"ssokolin@anysphere.co"},{"name":"royxu6","email":"roy@anysphere.co"},{"name":"henry-anysphere","email":"henry@anysphere.co"}],"homepage":"https://cursor.com","bugs":{"url":"https://github.com/cursor/cursor/issues"},"dist":{"shasum":"617c2adeb31fe7a95f5a5461a71af3d3eae3a949","tarball":"https://registry.npmjs.org/@cursor/sdk/-/sdk-1.0.11.tgz","fileCount":134,"integrity":"sha512-DkTwOAuao9wIeUioaM0aQi6hkWLC8oLAnqlR4HR9hn5xytd9A4cEB2fZpSHd8pJ2YRN0VJVkxnggxLRNT7ghuQ==","signatures":[{"sig":"MEQCICh/KMNKr5FaSAAWTgwrwo9v5x0fdKTH2DT+RguLQcGeAiAEIz/7lN3N3Ce1vwXu/OgkcA7/IYzVA56Q5h1aTpBjvw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12198664},"main":"./dist/cjs/index.js","type":"module","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}},"./agent":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}}},"gitHead":"4b72bd01c19864d92bf150d85bd54e4d38969a04","scripts":{"fix":"biome check --write --unsafe","test":"vitest run","build":"echo noop","check":"biome check && tsc --noEmit","test:ui":"vitest --ui","typecheck":"tsc --noEmit","build:prod":"pnpm prepare:rg && SDK_BUILD_MODE=prod node --import tsx scripts/build-agent.ts && pnpm stage:sandbox-helper && pnpm generate-platform-packages","prepare:rg":"node scripts/download-rg.js","test:watch":"vitest","type-check":"tsc --noEmit","build-types":"tsc -p tsconfig.dts.json","build:publish":"scripts/build.sh","publish:built":"scripts/publish.sh","build:internal":"SDK_BUILD_MODE=dev node --import tsx scripts/build-agent.ts","prepublishOnly":"node scripts/verify-publish-artifacts.cjs","prettier:branch":"UPSTREAM=$(git symbolic-ref --quiet --short refs/remotes/origin/HEAD 2>/dev/null || echo origin/main); BASE=$(git merge-base HEAD \"$UPSTREAM\"); git diff -z --name-only --diff-filter=ACMRTUXB --relative \"$BASE\" -- . | xargs -0 -n1 -I{} npx prettier --ignore-unknown --write \"{}\"","prettier:changed":"git diff -z --name-only --diff-filter=ACMRTUXB --relative HEAD -- . | xargs -0 npx prettier --ignore-unknown --write","stage:sandbox-helper":"node scripts/stage-sandbox-helper.cjs","smoke:publish-artifact":"node scripts/smoke-publish-artifact.cjs","verify:publish-artifacts":"node scripts/verify-publish-artifacts.cjs","generate-platform-packages":"node --import tsx scripts/generate-platform-packages.ts","fetch:sandbox-helper-artifacts":"node scripts/fetch-sandbox-helper-artifacts.cjs"},"_npmUser":{"name":"ssokolin-cursor","email":"ssokolin@anysphere.co"},"repository":{"url":"git+https://github.com/cursor/cursor.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for Cursor agents.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.25.0","sqlite3":"^5.1.7","@bufbuild/protobuf":"1.10.0","@statsig/js-client":"3.31.0","@connectrpc/connect":"^1.6.1","@connectrpc/connect-node":"^1.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","zod":"^3.25.0","vite":"^6.0.0","vitest":"^4.0.18","webpack":"^5.98.0","ts-loader":"^9.5.1","typescript":"^5.8.3","@types/node":"^22.5.5","@anysphere/hooks":"workspace:*","@anysphere/proto":"workspace:*","@anysphere/utils":"workspace:*","@anysphere/context":"workspace:*","@bufbuild/protobuf":"1.10.0","@anysphere/agent-kv":"workspace:*","@anysphere/git-core":"workspace:*","@connectrpc/connect":"^1.6.1","@anysphere/agent-core":"workspace:*","@anysphere/agent-exec":"workspace:*","@anysphere/local-exec":"workspace:*","@anysphere/shell-exec":"workspace:*","@anysphere/context-rpc":"workspace:*","@anysphere/agent-client":"workspace:*","@connectrpc/connect-node":"^1.6.1","@anysphere/cursor-plugins":"workspace:*","@anysphere/mcp-agent-exec":"workspace:*","@anysphere/analytics-client":"workspace:*","@anysphere/cursor-sdk-shared":"workspace:*","@anysphere/cursor-sdk-local-runtime":"workspace:*"},"optionalDependencies":{"@cursor/sdk-linux-x64":"1.0.11","@cursor/sdk-win32-x64":"1.0.11","@cursor/sdk-darwin-x64":"1.0.11","@cursor/sdk-linux-arm64":"1.0.11","@cursor/sdk-darwin-arm64":"1.0.11"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.11_1777560794837_0.5002051842298925","host":"s3://npm-registry-packages-npm-production"}},"1.0.12":{"name":"@cursor/sdk","version":"1.0.12","license":"SEE LICENSE IN LICENSE.md","_id":"@cursor/sdk@1.0.12","maintainers":[{"name":"eric-anysphere","email":"eric@anysphere.co"},{"name":"jediahkatz","email":"jediahkatz@gmail.com"},{"name":"katiabazzi","email":"katia.bazzi@gmail.com"},{"name":"ssokolin-cursor","email":"ssokolin@anysphere.co"},{"name":"royxu6","email":"roy@anysphere.co"},{"name":"henry-anysphere","email":"henry@anysphere.co"}],"homepage":"https://cursor.com","bugs":{"url":"https://github.com/cursor/cursor/issues"},"dist":{"shasum":"4f3f7d3ae1615e5186438d2f4a653c35ea96ad92","tarball":"https://registry.npmjs.org/@cursor/sdk/-/sdk-1.0.12.tgz","fileCount":134,"integrity":"sha512-jGx0wFY1N9uIdIKr303CfM6m/dLXmRCUnU/0yNP/oiOpkBXqgqaThGbgYbcOeVrYonMZc/DZJ9EydXOEPJLcbg==","signatures":[{"sig":"MEYCIQCWTD5p8qU3n2Lb5LsIcsvw8KaSHT+yzt6G9ZYUMKHSSgIhAOJPGzS5JBqdzk/l1ZCWElJCqEnVukmm5s/u63ymEC2K","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":12238772},"main":"./dist/cjs/index.js","type":"module","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"default":"./dist/esm/index.js"},"require":{"default":"./dist/cjs/index.js"}},"./agent":{"import":{"default":"./dist/esm/index.js"},"require":{"default":"./dist/cjs/index.js"}}},"gitHead":"ce458fbfd40d1cf1c5d3dbb3c2ba1e7b2b2f7853","scripts":{"fix":"biome check --write --unsafe","test":"vitest run","build":"echo noop","check":"biome check && tsc --noEmit","test:ui":"vitest --ui","typecheck":"tsc --noEmit","build:prod":"pnpm prepare:rg && SDK_BUILD_MODE=prod node --import tsx scripts/build-agent.ts && pnpm stage:sandbox-helper && pnpm generate-platform-packages","prepare:rg":"node scripts/download-rg.js","test:watch":"vitest","type-check":"tsc --noEmit","build-types":"tsc -p tsconfig.dts.json","build:publish":"scripts/build.sh","publish:built":"scripts/publish.sh","build:internal":"SDK_BUILD_MODE=dev node --import tsx scripts/build-agent.ts","prepublishOnly":"node scripts/verify-publish-artifacts.cjs","prettier:branch":"UPSTREAM=$(git symbolic-ref --quiet --short refs/remotes/origin/HEAD 2>/dev/null || echo origin/main); BASE=$(git merge-base HEAD \"$UPSTREAM\"); git diff -z --name-only --diff-filter=ACMRTUXB --relative \"$BASE\" -- . | xargs -0 -n1 -I{} npx prettier --ignore-unknown --write \"{}\"","prettier:changed":"git diff -z --name-only --diff-filter=ACMRTUXB --relative HEAD -- . | xargs -0 npx prettier --ignore-unknown --write","stage:sandbox-helper":"node scripts/stage-sandbox-helper.cjs","smoke:publish-artifact":"node scripts/smoke-publish-artifact.cjs","verify:publish-artifacts":"node scripts/verify-publish-artifacts.cjs","generate-platform-packages":"node --import tsx scripts/generate-platform-packages.ts","fetch:sandbox-helper-artifacts":"node scripts/fetch-sandbox-helper-artifacts.cjs"},"_npmUser":{"name":"ssokolin-cursor","email":"ssokolin@anysphere.co"},"repository":{"url":"git+https://github.com/cursor/cursor.git","type":"git"},"_npmVersion":"10.9.2","description":"TypeScript SDK for Cursor agents.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"zod":"^3.25.0","sqlite3":"^5.1.7","@bufbuild/protobuf":"1.10.0","@statsig/js-client":"3.31.0","@connectrpc/connect":"^1.6.1","@connectrpc/connect-node":"^1.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.6","zod":"^3.25.0","vite":"^6.0.0","vitest":"^4.0.18","webpack":"^5.98.0","ts-loader":"^9.5.1","typescript":"^5.8.3","@types/node":"^22.5.5","@anysphere/hooks":"workspace:*","@anysphere/proto":"workspace:*","@anysphere/utils":"workspace:*","@anysphere/context":"workspace:*","@bufbuild/protobuf":"1.10.0","@anysphere/agent-kv":"workspace:*","@anysphere/git-core":"workspace:*","@connectrpc/connect":"^1.6.1","@anysphere/agent-core":"workspace:*","@anysphere/agent-exec":"workspace:*","@anysphere/local-exec":"workspace:*","@anysphere/shell-exec":"workspace:*","@anysphere/context-rpc":"workspace:*","@anysphere/agent-client":"workspace:*","@connectrpc/connect-node":"^1.6.1","@anysphere/cursor-plugins":"workspace:*","@anysphere/mcp-agent-exec":"workspace:*","@anysphere/analytics-client":"workspace:*","@anysphere/cursor-sdk-shared":"workspace:*","@anysphere/cursor-sdk-local-runtime":"workspace:*"},"optionalDependencies":{"@cursor/sdk-linux-x64":"1.0.12","@cursor/sdk-win32-x64":"1.0.12","@cursor/sdk-darwin-x64":"1.0.12","@cursor/sdk-linux-arm64":"1.0.12","@cursor/sdk-darwin-arm64":"1.0.12"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.0.12_1777659194783_0.46604464795286416","host":"s3://npm-registry-packages-npm-production"}},"1.0.13":{"name":"@cursor/sdk","version":"1.0.13","description":"TypeScript SDK for Cursor agents.","license":"SEE LICENSE IN LICENSE.md","repository":{"type":"git","url":"git+https://github.com/cursor/cursor.git"},"homepage":"https://cursor.com","engines":{"node":">=18"},"type":"module","main":"./dist/cjs/index.js","module":"./dist/esm/index.js","types":"./dist/esm/index.d.ts","exports":{".":{"require":{"default":"./dist/cjs/index.js"},"import":{"default":"./dist/esm/index.js"}},"./agent":{"require":{"default":"./dist/cjs/index.js"},"import":{"default":"./dist/esm/index.js"}}},"publishConfig":{"access":"public"},"scripts":{"typecheck":"tsc --noEmit","build":"echo noop","build:internal":"node --import tsx scripts/build-agent.ts --mode dev","prepare:rg":"node scripts/download-rg.js","fetch:sandbox-helper-artifacts":"node scripts/fetch-sandbox-helper-artifacts.cjs","stage:sandbox-helper":"node scripts/stage-sandbox-helper.cjs","generate-platform-packages":"node --import tsx scripts/generate-platform-packages.ts","build:prod":"pnpm prepare:rg && node --import tsx scripts/build-agent.ts --mode prod && pnpm stage:sandbox-helper && pnpm generate-platform-packages","build:publish":"scripts/build.sh","verify:publish-artifacts":"node scripts/verify-publish-artifacts.cjs","smoke:publish-artifact":"node scripts/smoke-publish-artifact.cjs","publish:built":"scripts/publish.sh","prepublishOnly":"node scripts/verify-publish-artifacts.cjs","check":"biome check && tsc --noEmit","fix":"biome check --write --unsafe","test":"vitest run","test:watch":"vitest","test:ui":"vitest --ui","prettier:changed":"git diff -z --name-only --diff-filter=ACMRTUXB --relative HEAD -- . | xargs -0 npx prettier --ignore-unknown --write","prettier:branch":"UPSTREAM=$(git symbolic-ref --quiet --short refs/remotes/origin/HEAD 2>/dev/null || echo origin/main); BASE=$(git merge-base HEAD \"$UPSTREAM\"); git diff -z --name-only --diff-filter=ACMRTUXB --relative \"$BASE\" -- . | xargs -0 -n1 -I{} npx prettier --ignore-unknown --write \"{}\"","type-check":"tsc --noEmit","build-types":"tsc -p tsconfig.dts.json"},"dependencies":{"@bufbuild/protobuf":"1.10.0","@connectrpc/connect":"^1.6.1","@connectrpc/connect-node":"^1.6.1","@statsig/js-client":"3.31.0","sqlite3":"^5.1.7","zod":"^3.25.0"},"devDependencies":{"@anysphere/agent-client":"workspace:*","@anysphere/agent-core":"workspace:*","@anysphere/agent-exec":"workspace:*","@anysphere/agent-kv":"workspace:*","@anysphere/analytics-client":"workspace:*","@anysphere/context":"workspace:*","@anysphere/cursor-sdk-local-runtime":"workspace:*","@anysphere/cursor-sdk-shared":"workspace:*","@anysphere/context-rpc":"workspace:*","@anysphere/cursor-plugins":"workspace:*","@anysphere/git-core":"workspace:*","@anysphere/hooks":"workspace:*","@anysphere/local-exec":"workspace:*","@anysphere/mcp-agent-exec":"workspace:*","@anysphere/proto":"workspace:*","@anysphere/shell-exec":"workspace:*","@anysphere/utils":"workspace:*","@bufbuild/protobuf":"1.10.0","@connectrpc/connect":"^1.6.1","@connectrpc/connect-node":"^1.6.1","@types/node":"^22.5.5","ts-loader":"^9.5.1","tsx":"^4.20.6","typescript":"^5.8.3","vite":"^6.0.0","vitest":"^4.0.18","webpack":"^5.98.0","zod":"^3.25.0"},"optionalDependencies":{"@cursor/sdk-darwin-arm64":"1.0.13","@cursor/sdk-darwin-x64":"1.0.13","@cursor/sdk-linux-arm64":"1.0.13","@cursor/sdk-linux-x64":"1.0.13","@cursor/sdk-win32-x64":"1.0.13"},"_id":"@cursor/sdk@1.0.13","gitHead":"d51848500beed191bd653556b5580208b28a5f75","bugs":{"url":"https://github.com/cursor/cursor/issues"},"_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-w6MWkgOTL6yb6GV/4Odx7QcamQgqhzX/CzcMBkqiiOPTPuEWItWrgA0qdivchm5YJXTt+LZkFSEQ/Ti44hVbfg==","shasum":"e53cf62a9b73a02d0827b6d6960698c9f472e22c","tarball":"https://registry.npmjs.org/@cursor/sdk/-/sdk-1.0.13.tgz","fileCount":138,"unpackedSize":12962772,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCWrK9ArrUrEVGztuRNJvFuuggMXbWo9TkT3JzxPjNHiwIhAOUQhdxthxBPRQ+4PTd18iRYhR9zQfncYRk1IBfEs5I+"}]},"_npmUser":{"name":"bruce-cursor","email":"bruce@anysphere.co"},"directories":{},"maintainers":[{"name":"eric-anysphere","email":"eric@anysphere.co"},{"name":"jediahkatz","email":"jediahkatz@gmail.com"},{"name":"katiabazzi","email":"katia.bazzi@gmail.com"},{"name":"ssokolin-cursor","email":"ssokolin@anysphere.co"},{"name":"royxu6","email":"roy@anysphere.co"},{"name":"henry-anysphere","email":"henry@anysphere.co"},{"name":"bruce-cursor","email":"bruce@anysphere.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/sdk_1.0.13_1778608146000_0.07984257674709139"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-26T19:37:27.834Z","modified":"2026-05-12T17:49:06.586Z","1.0.7":"2026-04-26T19:37:28.162Z","1.0.8":"2026-04-28T17:08:49.333Z","1.0.9":"2026-04-29T15:45:24.823Z","1.0.10":"2026-04-29T21:24:56.107Z","1.0.11":"2026-04-30T14:53:15.066Z","1.0.12":"2026-05-01T18:13:15.076Z","1.0.13":"2026-05-12T17:49:06.355Z"},"bugs":{"url":"https://github.com/cursor/cursor/issues"},"license":"SEE LICENSE IN LICENSE.md","homepage":"https://cursor.com","repository":{"type":"git","url":"git+https://github.com/cursor/cursor.git"},"description":"TypeScript SDK for Cursor agents.","maintainers":[{"name":"eric-anysphere","email":"eric@anysphere.co"},{"name":"jediahkatz","email":"jediahkatz@gmail.com"},{"name":"katiabazzi","email":"katia.bazzi@gmail.com"},{"name":"ssokolin-cursor","email":"ssokolin@anysphere.co"},{"name":"royxu6","email":"roy@anysphere.co"},{"name":"henry-anysphere","email":"henry@anysphere.co"},{"name":"bruce-cursor","email":"bruce@anysphere.co"}],"readme":"# @cursor/sdk\n\nTypeScript SDK for Cursor agents.\n\nSee the SDK TypeScript docs at https://cursor.com/docs/api/sdk/typescript.\n\n## Latest model aliases\n\nThe SDK accepts latest-style model aliases returned by `Cursor.models.list()`:\n\n```typescript\nimport { Agent, Cursor } from \"@cursor/sdk\";\n\nconst model = (await Cursor.models.list()).find(model =>\n  model.aliases?.includes(\"composer-latest\")\n);\n\nif (model) {\n  const agent = await Agent.create({\n    model: { id: \"composer-latest\" },\n  });\n}\n```\n","readmeFilename":"README.md"}