{"dist":{"shasum":"688a8432bd01250527be1639588f61d417ffef11","tarball":"https://registry.npmjs.org/@cursor/sdk/-/sdk-1.1.0-beta.0.tgz","fileCount":428,"integrity":"sha512-NnY5YhhO19BG1673TLsAi6G9OVruaowmAnDEgNwqPPzkOfDQgpVq1BwMfJAgJb98Yj9pAAYiyg2OGsJGF9nt+g==","signatures":[{"sig":"MEYCIQDmaaRvoKjIHf4orfemd5WCKyrJTOmIT5J6nkaojfuawwIhAOOO17UIHcystDf7jC6ZfMogoIUWPZZkGObyA07XREsK","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCgfJLjsguMkWPwVMIEZ3S/L+AgtqOHx+piiAgkWNTtUgIhAPTitXFQUYS6mxtBOKQ5jqCxUfsOyFlCa2E92ybGe10X","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25546639},"main":"./dist/cjs/index.js","name":"@cursor/sdk","type":"module","types":"./dist/esm/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">=22.13"},"exports":{".":{"bun":"./dist/bundled/index.js","import":"./dist/esm/index.js","default":"./dist/esm/index.js","require":"./dist/cjs/index.js","anysphere-source":"./src/index.ts"},"./agent":{"bun":"./dist/bundled/index.js","import":"./dist/esm/index.js","default":"./dist/esm/index.js","require":"./dist/cjs/index.js","anysphere-source":"./src/index.ts"},"./sqlite":{"bun":"./dist/bundled/sqlite.js","import":"./dist/esm/sqlite.js","default":"./dist/esm/sqlite.js","require":"./dist/cjs/sqlite.js","anysphere-source":"./src/sqlite.ts"},"./bundled":{"bun":"./dist/bundled/index.js","default":"./dist/bundled/index.js","anysphere-source":"./src/bundled.ts"},"./bundled/sqlite":{"bun":"./dist/bundled/sqlite.js","default":"./dist/bundled/sqlite.js","anysphere-source":"./src/bundled/sqlite.ts"}},"license":"SEE LICENSE IN LICENSE.md","scripts":{"fix":"oxlint --fix src && oxfmt --write --no-error-on-unmatched-pattern","test":"vitest run","build":"echo noop","check":"oxlint src && tsc -p tsconfig.json --noEmit","test:ui":"vitest --ui","typecheck":"tsc -p tsconfig.json --noEmit","build:prod":"pnpm prepare:rg && node --import tsx scripts/build-agent.ts --mode prod && pnpm build:bundled && pnpm stage:sandbox-helper && pnpm stage:tree-sitter && pnpm generate-platform-packages","prepare:rg":"node scripts/download-rg.js","test:watch":"vitest","type-check":"tsc -p tsconfig.json --noEmit","build-types":"tsc -b tsconfig.dts.schemas.json --force && tsc -p tsconfig.dts.json","build:local":"scripts/build-local.sh","build-schemas":"tsc -b tsconfig.schemas.json --force","build:bundled":"bun scripts/build-flat-bundle.ts","build:publish":"scripts/build.sh","publish:built":"scripts/publish.sh","build:internal":"node --import tsx scripts/build-agent.ts --mode dev","publish-checks":"vitest run --config vitest.publish-checks.config.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{} oxfmt --write --no-error-on-unmatched-pattern \"{}\"","prettier:changed":"git diff -z --name-only --diff-filter=ACMRTUXB --relative HEAD -- . | xargs -0 oxfmt --write --no-error-on-unmatched-pattern","stage:tree-sitter":"node scripts/stage-tree-sitter-runtime.cjs","stage:sandbox-helper":"node scripts/stage-sandbox-helper.cjs","smoke:publish-artifact":"node publish-checks/smoke-publish-artifact.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":"arousselxai","email":"aroussel@x.ai"},"homepage":"https://cursor.com","repository":{"url":"https://github.com/cursor/cursor","type":"git"},"description":"TypeScript SDK for Cursor agents.","directories":{},"maintainers":[{"name":"msfeldstein","email":"msfeldstein@gmail.com"},{"name":"luist18","email":"luistavares10@outlook.pt"},{"name":"eric-anysphere","email":"eric@anysphere.co"},{"name":"jediahkatz","email":"jediahkatz@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"},{"name":"arousselxai","email":"aroussel@x.ai"},{"name":"benson_cursor","email":"benson.liu@anysphere.co"}],"dependencies":{"@bufbuild/protobuf":"1.10.0","@statsig/js-client":"3.31.0","@connectrpc/connect":"^1.6.1","@connectrpc/connect-web":"^1.6.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"4.23.15","zod":"4.6.5","vite":"8.3.1","oxfmt":"0.66.0","vitest":"5.0.3","webpack":"^5.98.0","minimatch":"^10.0.3","ts-loader":"9.5.7","typescript":"npm:@typescript/typescript6@^6.0.2","@types/node":"22.14.1","@bazel/runfiles":"6.5.0","@anysphere/hooks":"1.0.0","@anysphere/proto":"1.0.0","@anysphere/utils":"1.0.0","@anysphere/context":"1.0.0","@bufbuild/protobuf":"1.10.0","@typescript/native":"npm:typescript@^7.0.2","@anysphere/agent-kv":"1.0.0","@anysphere/git-core":"1.0.0","@connectrpc/connect":"^1.6.1","@anysphere/agent-core":"1.0.0","@anysphere/agent-exec":"1.0.0","@anysphere/local-exec":"1.0.0","@anysphere/shell-exec":"1.0.0","@anysphere/context-rpc":"0.1.0","@anysphere/agent-client":"1.0.0","@anysphere/bidi-connect":"1.0.0","@connectrpc/connect-web":"^1.6.1","@connectrpc/connect-node":"^1.6.1","@anysphere/cursor-plugins":"1.0.0","@anysphere/mcp-agent-exec":"1.0.0","@anysphere/analytics-types":"1.0.0","@anysphere/analytics-client":"1.0.0","@anysphere/cursor-sdk-shared":"1.0.0","@anysphere/dune-atomic-write":"0.0.1","@anysphere/agent-pr-attribution":"1.0.0","@anysphere/cursor-sdk-local-runtime":"1.0.0"},"peerDependencies":{"zod":"^3.25.0 || ^4.0.0"},"optionalDependencies":{"@cursor/sdk-linux-x64":"1.1.0-beta.0","@cursor/sdk-win32-x64":"1.1.0-beta.0","@cursor/sdk-darwin-x64":"1.1.0-beta.0","@cursor/sdk-linux-arm64":"1.1.0-beta.0","@cursor/sdk-darwin-arm64":"1.1.0-beta.0"},"_npmOperationalInternal":{"tmp":"tmp/sdk_1.1.0-beta.0_1792702850135_0.9878472802412881","host":"s3://npm-registry-packages-npm-production"},"_id":"@cursor/sdk@1.1.0-beta.0","version":"1.1.0-beta.0"}