@penclipai/adapter-cursor-cloud 0.3.1 → 2026.511.0-canary.2

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.
Files changed (3) hide show
  1. package/LICENSE +21 -0
  2. package/dist/index.js +30 -30
  3. package/package.json +13 -4
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Paperclip AI
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/dist/index.js CHANGED
@@ -1,34 +1,34 @@
1
1
  export const type = "cursor_cloud";
2
2
  export const label = "Cursor Cloud";
3
- export const agentConfigurationDoc = `# cursor_cloud agent configuration
4
-
5
- Adapter: cursor_cloud
6
-
7
- Use when:
8
- - You want Paperclip to run Cursor Cloud Agents through the official Cursor SDK
9
- - You want durable remote Cursor agent sessions across Paperclip heartbeats
10
- - You want Paperclip to keep task state while Cursor handles remote code execution
11
-
12
- Core fields:
13
- - repoUrl (string, required): Git repository URL Cursor should open
14
- - repoStartingRef (string, optional): starting ref for the repo
15
- - repoPullRequestUrl (string, optional): PR URL to attach the agent to
16
- - runtimeEnvType (string, optional): cloud | pool | machine
17
- - runtimeEnvName (string, optional): named cloud/pool/machine target
18
- - workOnCurrentBranch (boolean, optional): continue work on current branch
19
- - autoCreatePR (boolean, optional): let Cursor auto-create a PR
20
- - skipReviewerRequest (boolean, optional): suppress reviewer request on auto-created PRs
21
- - instructionsFilePath (string, optional): agent instructions file prepended to the prompt
22
- - promptTemplate (string, optional): heartbeat prompt template
23
- - bootstrapPromptTemplate (string, optional): first-run-only bootstrap prompt template
24
- - model (string, optional): Cursor model id; omit to use the account default
25
- - env.CURSOR_API_KEY (string, required): Cursor API key
26
- - env.* (optional): additional env vars injected into the cloud agent shell
27
-
28
- Notes:
29
- - Paperclip reuses the durable Cursor agent across heartbeats when the repo/runtime identity still matches.
30
- - Each Paperclip heartbeat maps to a Cursor run on that durable agent.
31
- - Paperclip injects PAPERCLIP_* runtime env vars into the cloud agent shell through Cursor SDK cloud envVars.
32
- - Paperclip remains the source of truth for issue/task state; Cursor provides the remote execution surface.
3
+ export const agentConfigurationDoc = `# cursor_cloud agent configuration
4
+
5
+ Adapter: cursor_cloud
6
+
7
+ Use when:
8
+ - You want Paperclip to run Cursor Cloud Agents through the official Cursor SDK
9
+ - You want durable remote Cursor agent sessions across Paperclip heartbeats
10
+ - You want Paperclip to keep task state while Cursor handles remote code execution
11
+
12
+ Core fields:
13
+ - repoUrl (string, required): Git repository URL Cursor should open
14
+ - repoStartingRef (string, optional): starting ref for the repo
15
+ - repoPullRequestUrl (string, optional): PR URL to attach the agent to
16
+ - runtimeEnvType (string, optional): cloud | pool | machine
17
+ - runtimeEnvName (string, optional): named cloud/pool/machine target
18
+ - workOnCurrentBranch (boolean, optional): continue work on current branch
19
+ - autoCreatePR (boolean, optional): let Cursor auto-create a PR
20
+ - skipReviewerRequest (boolean, optional): suppress reviewer request on auto-created PRs
21
+ - instructionsFilePath (string, optional): agent instructions file prepended to the prompt
22
+ - promptTemplate (string, optional): heartbeat prompt template
23
+ - bootstrapPromptTemplate (string, optional): first-run-only bootstrap prompt template
24
+ - model (string, optional): Cursor model id; omit to use the account default
25
+ - env.CURSOR_API_KEY (string, required): Cursor API key
26
+ - env.* (optional): additional env vars injected into the cloud agent shell
27
+
28
+ Notes:
29
+ - Paperclip reuses the durable Cursor agent across heartbeats when the repo/runtime identity still matches.
30
+ - Each Paperclip heartbeat maps to a Cursor run on that durable agent.
31
+ - Paperclip injects PAPERCLIP_* runtime env vars into the cloud agent shell through Cursor SDK cloud envVars.
32
+ - Paperclip remains the source of truth for issue/task state; Cursor provides the remote execution surface.
33
33
  `;
34
34
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@penclipai/adapter-cursor-cloud",
3
- "version": "0.3.1",
3
+ "version": "2026.511.0-canary.2",
4
4
  "license": "MIT",
5
5
  "homepage": "https://github.com/penclipai/paperclip-cn",
6
6
  "bugs": {
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "git+https://github.com/penclipai/paperclip-cn.git",
11
+ "url": "https://github.com/penclipai/paperclip-cn",
12
12
  "directory": "packages/adapters/cursor-cloud"
13
13
  },
14
14
  "type": "module",
@@ -38,9 +38,18 @@
38
38
  ],
39
39
  "dependencies": {
40
40
  "@cursor/sdk": "^1.0.12",
41
- "@penclipai/adapter-utils": "2026.508.2",
41
+ "@penclipai/adapter-utils": "2026.511.0-canary.2",
42
42
  "picocolors": "^1.1.1"
43
43
  },
44
+ "devDependencies": {
45
+ "@types/node": "^24.6.0",
46
+ "typescript": "^5.7.3"
47
+ },
48
+ "scripts": {
49
+ "build": "tsc",
50
+ "clean": "node ../../../scripts/fs-ops.mjs rm dist",
51
+ "typecheck": "tsc --noEmit"
52
+ },
44
53
  "main": "./dist/index.js",
45
54
  "types": "./dist/index.d.ts"
46
- }
55
+ }