@cursor/sdk 1.0.34 → 1.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/index.js +263 -262
- package/dist/bundled/sqlite.js +17 -17
- package/dist/cjs/458.js +1 -1
- package/dist/cjs/689.js +1 -0
- package/dist/cjs/856.js +1 -1
- package/dist/cjs/agent/options.d.ts +6 -0
- package/dist/cjs/agent/options.d.ts.map +1 -1
- package/dist/cjs/agent/store/sdk-state-root.d.ts +3 -1
- package/dist/cjs/agent/store/sdk-state-root.d.ts.map +1 -1
- package/dist/cjs/custom-tools.d.ts +1 -1
- package/dist/cjs/custom-tools.d.ts.map +1 -1
- package/dist/cjs/executor-common.d.ts.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/local-executor.d.ts.map +1 -1
- package/dist/cjs/options.d.ts +6 -0
- package/dist/cjs/options.d.ts.map +1 -1
- package/dist/cjs/platform.d.ts.map +1 -1
- package/dist/cjs/sqlite.js +1 -1
- package/dist/cjs/store/sdk-state-root.d.ts +3 -1
- package/dist/cjs/store/sdk-state-root.d.ts.map +1 -1
- package/dist/esm/458.js +1 -1
- package/dist/esm/689.js +1 -0
- package/dist/esm/856.js +1 -1
- package/dist/esm/agent/options.d.ts +6 -0
- package/dist/esm/agent/options.d.ts.map +1 -1
- package/dist/esm/agent/store/sdk-state-root.d.ts +3 -1
- package/dist/esm/agent/store/sdk-state-root.d.ts.map +1 -1
- package/dist/esm/custom-tools.d.ts +1 -1
- package/dist/esm/custom-tools.d.ts.map +1 -1
- package/dist/esm/executor-common.d.ts.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/local-executor.d.ts.map +1 -1
- package/dist/esm/options.d.ts +6 -0
- package/dist/esm/options.d.ts.map +1 -1
- package/dist/esm/platform.d.ts.map +1 -1
- package/dist/esm/sqlite.js +1 -1
- package/dist/esm/store/sdk-state-root.d.ts +3 -1
- package/dist/esm/store/sdk-state-root.d.ts.map +1 -1
- package/package.json +53 -54
- package/dist/cjs/479.js +0 -1
- package/dist/esm/479.js +0 -1
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Default on-disk state root for local SDK agents for a workspace
|
|
2
|
+
* Default on-disk state root for local SDK agents for a workspace:
|
|
3
|
+
* `{project}/sdk-agent-store/{sha256(workspaceRef)}`.
|
|
3
4
|
* Layout: `{root}/index.db`, `{root}/agents/agent-{sha256}/store.db`, etc.
|
|
5
|
+
* A store at the pre-SHA-256 (MD5-derived) path is renamed into place on first use.
|
|
4
6
|
*/
|
|
5
7
|
export declare function getDefaultSdkStateRoot(workspaceRef: string): string;
|
|
6
8
|
//# sourceMappingURL=sdk-state-root.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk-state-root.d.ts","sourceRoot":"","sources":["../../../src/agent/store/sdk-state-root.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sdk-state-root.d.ts","sourceRoot":"","sources":["../../../src/agent/store/sdk-state-root.ts"],"names":[],"mappings":"AAMA;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAqBnE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cursor/sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.35",
|
|
4
4
|
"description": "TypeScript SDK for Cursor agents.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"repository": {
|
|
@@ -57,6 +57,57 @@
|
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"@bufbuild/protobuf": "1.10.0",
|
|
62
|
+
"@connectrpc/connect": "^1.6.1",
|
|
63
|
+
"@connectrpc/connect-web": "^1.6.1",
|
|
64
|
+
"@statsig/js-client": "3.31.0",
|
|
65
|
+
"zod": "^3.25.0"
|
|
66
|
+
},
|
|
67
|
+
"devDependencies": {
|
|
68
|
+
"@bufbuild/protobuf": "1.10.0",
|
|
69
|
+
"@connectrpc/connect": "^1.6.1",
|
|
70
|
+
"@connectrpc/connect-node": "^1.6.1",
|
|
71
|
+
"@connectrpc/connect-web": "^1.6.1",
|
|
72
|
+
"@types/node": "^22.5.5",
|
|
73
|
+
"oxfmt": "0.66.0",
|
|
74
|
+
"ts-loader": "9.5.7",
|
|
75
|
+
"tsx": "^4.20.6",
|
|
76
|
+
"@typescript/native": "npm:typescript@^7.0.2",
|
|
77
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2",
|
|
78
|
+
"vite": "^6.0.0",
|
|
79
|
+
"vitest": "^4.0.18",
|
|
80
|
+
"webpack": "^5.98.0",
|
|
81
|
+
"zod": "^3.25.0",
|
|
82
|
+
"@anysphere/agent-client": "1.0.0",
|
|
83
|
+
"@anysphere/agent-exec": "1.0.0",
|
|
84
|
+
"@anysphere/agent-kv": "1.0.0",
|
|
85
|
+
"@anysphere/agent-pr-attribution": "1.0.0",
|
|
86
|
+
"@anysphere/analytics-client": "1.0.0",
|
|
87
|
+
"@anysphere/analytics-types": "1.0.0",
|
|
88
|
+
"@anysphere/bidi-connect": "1.0.0",
|
|
89
|
+
"@anysphere/context": "1.0.0",
|
|
90
|
+
"@anysphere/agent-core": "1.0.0",
|
|
91
|
+
"@anysphere/cursor-sdk-local-runtime": "1.0.0",
|
|
92
|
+
"@anysphere/context-rpc": "0.1.0",
|
|
93
|
+
"@anysphere/cursor-sdk-shared": "1.0.0",
|
|
94
|
+
"@anysphere/cursor-plugins": "1.0.0",
|
|
95
|
+
"@anysphere/dune-atomic-write": "0.0.1",
|
|
96
|
+
"@anysphere/git-core": "1.0.0",
|
|
97
|
+
"@anysphere/hooks": "1.0.0",
|
|
98
|
+
"@anysphere/local-exec": "1.0.0",
|
|
99
|
+
"@anysphere/mcp-agent-exec": "1.0.0",
|
|
100
|
+
"@anysphere/proto": "1.0.0",
|
|
101
|
+
"@anysphere/utils": "1.0.0",
|
|
102
|
+
"@anysphere/shell-exec": "1.0.0"
|
|
103
|
+
},
|
|
104
|
+
"optionalDependencies": {
|
|
105
|
+
"@cursor/sdk-darwin-arm64": "1.0.35",
|
|
106
|
+
"@cursor/sdk-darwin-x64": "1.0.35",
|
|
107
|
+
"@cursor/sdk-linux-arm64": "1.0.35",
|
|
108
|
+
"@cursor/sdk-linux-x64": "1.0.35",
|
|
109
|
+
"@cursor/sdk-win32-x64": "1.0.35"
|
|
110
|
+
},
|
|
60
111
|
"scripts": {
|
|
61
112
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
62
113
|
"build": "echo noop",
|
|
@@ -72,7 +123,6 @@
|
|
|
72
123
|
"build:publish": "scripts/build.sh",
|
|
73
124
|
"smoke:publish-artifact": "node publish-checks/smoke-publish-artifact.cjs",
|
|
74
125
|
"publish:built": "scripts/publish.sh",
|
|
75
|
-
"prepublishOnly": "SDK_REQUIRE_OPTIONAL_DEPENDENCIES=1 vitest run --config vitest.publish-checks.config.ts",
|
|
76
126
|
"check": "oxlint src && tsc -p tsconfig.json --noEmit",
|
|
77
127
|
"fix": "oxlint --fix src && oxfmt --write --no-error-on-unmatched-pattern",
|
|
78
128
|
"test": "vitest run",
|
|
@@ -84,56 +134,5 @@
|
|
|
84
134
|
"type-check": "tsc -p tsconfig.json --noEmit",
|
|
85
135
|
"build-types": "tsc -b tsconfig.dts.schemas.json --force && tsc -p tsconfig.dts.json",
|
|
86
136
|
"publish-checks": "vitest run --config vitest.publish-checks.config.ts"
|
|
87
|
-
},
|
|
88
|
-
"dependencies": {
|
|
89
|
-
"@bufbuild/protobuf": "1.10.0",
|
|
90
|
-
"@connectrpc/connect": "^1.6.1",
|
|
91
|
-
"@connectrpc/connect-web": "^1.6.1",
|
|
92
|
-
"@statsig/js-client": "3.31.0",
|
|
93
|
-
"zod": "^3.25.0"
|
|
94
|
-
},
|
|
95
|
-
"devDependencies": {
|
|
96
|
-
"@anysphere/agent-client": "workspace:*",
|
|
97
|
-
"@anysphere/agent-core": "workspace:*",
|
|
98
|
-
"@anysphere/agent-exec": "workspace:*",
|
|
99
|
-
"@anysphere/agent-kv": "workspace:*",
|
|
100
|
-
"@anysphere/agent-pr-attribution": "workspace:*",
|
|
101
|
-
"@anysphere/analytics-client": "workspace:*",
|
|
102
|
-
"@anysphere/analytics-types": "workspace:*",
|
|
103
|
-
"@anysphere/bidi-connect": "workspace:*",
|
|
104
|
-
"@anysphere/context": "workspace:*",
|
|
105
|
-
"@anysphere/cursor-sdk-local-runtime": "workspace:*",
|
|
106
|
-
"@anysphere/cursor-sdk-shared": "workspace:*",
|
|
107
|
-
"@anysphere/context-rpc": "workspace:*",
|
|
108
|
-
"@anysphere/cursor-plugins": "workspace:*",
|
|
109
|
-
"@anysphere/dune-atomic-write": "workspace:*",
|
|
110
|
-
"@anysphere/git-core": "workspace:*",
|
|
111
|
-
"@anysphere/hooks": "workspace:*",
|
|
112
|
-
"@anysphere/local-exec": "workspace:*",
|
|
113
|
-
"@anysphere/mcp-agent-exec": "workspace:*",
|
|
114
|
-
"@anysphere/proto": "workspace:*",
|
|
115
|
-
"@anysphere/shell-exec": "workspace:*",
|
|
116
|
-
"@anysphere/utils": "workspace:*",
|
|
117
|
-
"@bufbuild/protobuf": "1.10.0",
|
|
118
|
-
"@connectrpc/connect": "^1.6.1",
|
|
119
|
-
"@connectrpc/connect-node": "^1.6.1",
|
|
120
|
-
"@connectrpc/connect-web": "^1.6.1",
|
|
121
|
-
"@types/node": "^22.5.5",
|
|
122
|
-
"oxfmt": "catalog:",
|
|
123
|
-
"ts-loader": "9.5.7",
|
|
124
|
-
"tsx": "^4.20.6",
|
|
125
|
-
"@typescript/native": "catalog:",
|
|
126
|
-
"typescript": "catalog:",
|
|
127
|
-
"vite": "^6.0.0",
|
|
128
|
-
"vitest": "^4.0.18",
|
|
129
|
-
"webpack": "^5.98.0",
|
|
130
|
-
"zod": "^3.25.0"
|
|
131
|
-
},
|
|
132
|
-
"optionalDependencies": {
|
|
133
|
-
"@cursor/sdk-darwin-arm64": "1.0.34",
|
|
134
|
-
"@cursor/sdk-darwin-x64": "1.0.34",
|
|
135
|
-
"@cursor/sdk-linux-arm64": "1.0.34",
|
|
136
|
-
"@cursor/sdk-linux-x64": "1.0.34",
|
|
137
|
-
"@cursor/sdk-win32-x64": "1.0.34"
|
|
138
137
|
}
|
|
139
|
-
}
|
|
138
|
+
}
|