@cursorpool-dev/cli 0.5.10 → 0.5.11
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/node_modules/@cursor-pool/extension/dist/extension.js +1 -1
- package/node_modules/@cursor-pool/extension/package.json +3 -3
- package/node_modules/@cursor-pool/extension/src/api.ts +1 -1
- package/node_modules/@cursor-pool/extension/test/panel.test.ts +1 -1
- package/node_modules/@cursor-pool/patcher/package.json +2 -2
- package/node_modules/@cursor-pool/service/package.json +2 -2
- package/node_modules/@cursor-pool/shared/package.json +1 -1
- package/node_modules/@cursor-pool/shared/test/manifest.test.ts +6 -6
- package/node_modules/@esbuild/linux-arm64/README.md +3 -0
- package/node_modules/@esbuild/linux-arm64/bin/esbuild +0 -0
- package/node_modules/@esbuild/linux-arm64/package.json +20 -0
- package/package.json +5 -5
- package/src/compat.ts +15 -15
- package/src/extensionBundle.ts +1 -1
- package/src/extensionLink.ts +2 -2
- package/src/install.ts +1 -1
- package/src/platform.ts +3 -3
- package/src/repair.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cursor-pool/extension",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.11",
|
|
4
4
|
"displayName": "Cursor Pool 平台模式",
|
|
5
5
|
"publisher": "cursor-pool",
|
|
6
6
|
"engines": {
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"./runtime": "./src/runtime.ts"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@cursor-pool/service": "0.5.
|
|
25
|
-
"@cursor-pool/shared": "0.5.
|
|
24
|
+
"@cursor-pool/service": "0.5.11",
|
|
25
|
+
"@cursor-pool/shared": "0.5.11"
|
|
26
26
|
},
|
|
27
27
|
"contributes": {
|
|
28
28
|
"viewsContainers": {
|
|
@@ -1655,7 +1655,7 @@ test('API can login and logout through local service platform routes', async ()
|
|
|
1655
1655
|
assert.equal(typeof (requests[0]?.body.device as Record<string, unknown>).name, 'string');
|
|
1656
1656
|
assert.equal(typeof (requests[0]?.body.device as Record<string, unknown>).os, 'string');
|
|
1657
1657
|
assert.equal(typeof (requests[0]?.body.device as Record<string, unknown>).arch, 'string');
|
|
1658
|
-
assert.equal((requests[0]?.body.device as Record<string, unknown>).extensionVersion, '0.5.
|
|
1658
|
+
assert.equal((requests[0]?.body.device as Record<string, unknown>).extensionVersion, '0.5.11');
|
|
1659
1659
|
assert.equal(requests[1]?.method, 'POST');
|
|
1660
1660
|
assert.equal(requests[1]?.url, '/platform/logout');
|
|
1661
1661
|
} finally {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cursor-pool/patcher",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"exports": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"./marker": "./src/marker.ts"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@cursor-pool/shared": "0.5.
|
|
12
|
+
"@cursor-pool/shared": "0.5.11"
|
|
13
13
|
},
|
|
14
14
|
"scripts": {
|
|
15
15
|
"test": "tsx --test test/*.test.ts"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cursor-pool/service",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"exports": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"./platformSession": "./src/platformSession.ts"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@cursor-pool/shared": "0.5.
|
|
12
|
+
"@cursor-pool/shared": "0.5.11"
|
|
13
13
|
},
|
|
14
14
|
"scripts": {
|
|
15
15
|
"test": "tsx --test test/*.test.ts"
|
|
@@ -20,9 +20,9 @@ test('compatibility manifest entry captures patch compatibility metadata', () =>
|
|
|
20
20
|
patchStrategy: 'replace-marker',
|
|
21
21
|
verifyMarker: 'cursor-pool',
|
|
22
22
|
restoreStrategy: 'backup',
|
|
23
|
-
minCliVersion: '0.5.
|
|
24
|
-
minExtensionVersion: '0.5.
|
|
25
|
-
minServiceVersion: '0.5.
|
|
23
|
+
minCliVersion: '0.5.11',
|
|
24
|
+
minExtensionVersion: '0.5.11',
|
|
25
|
+
minServiceVersion: '0.5.11',
|
|
26
26
|
requiresWritableAppBundle: true,
|
|
27
27
|
requiresAdHocResign: true,
|
|
28
28
|
userMessage: 'Supported Cursor build.',
|
|
@@ -45,9 +45,9 @@ test('compatibility manifest envelope captures signed rule payload', () => {
|
|
|
45
45
|
patchStrategy: 'replace-marker',
|
|
46
46
|
verifyMarker: 'cursor-pool',
|
|
47
47
|
restoreStrategy: 'backup',
|
|
48
|
-
minCliVersion: '0.5.
|
|
49
|
-
minExtensionVersion: '0.5.
|
|
50
|
-
minServiceVersion: '0.5.
|
|
48
|
+
minCliVersion: '0.5.11',
|
|
49
|
+
minExtensionVersion: '0.5.11',
|
|
50
|
+
minServiceVersion: '0.5.11',
|
|
51
51
|
requiresWritableAppBundle: true,
|
|
52
52
|
requiresAdHocResign: false,
|
|
53
53
|
userMessage: 'Supported Cursor build.',
|
|
Binary file
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@esbuild/linux-arm64",
|
|
3
|
+
"version": "0.28.0",
|
|
4
|
+
"description": "The Linux ARM 64-bit binary for esbuild, a JavaScript bundler.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/evanw/esbuild.git"
|
|
8
|
+
},
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"preferUnplugged": true,
|
|
11
|
+
"engines": {
|
|
12
|
+
"node": ">=18"
|
|
13
|
+
},
|
|
14
|
+
"os": [
|
|
15
|
+
"linux"
|
|
16
|
+
],
|
|
17
|
+
"cpu": [
|
|
18
|
+
"arm64"
|
|
19
|
+
]
|
|
20
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cursorpool-dev/cli",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"bin": {
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"esbuild": "~0.28.0",
|
|
14
14
|
"tsx": "^4.22.3",
|
|
15
|
-
"@cursor-pool/extension": "0.5.
|
|
16
|
-
"@cursor-pool/service": "0.5.
|
|
17
|
-
"@cursor-pool/patcher": "0.5.
|
|
18
|
-
"@cursor-pool/shared": "0.5.
|
|
15
|
+
"@cursor-pool/extension": "0.5.11",
|
|
16
|
+
"@cursor-pool/service": "0.5.11",
|
|
17
|
+
"@cursor-pool/patcher": "0.5.11",
|
|
18
|
+
"@cursor-pool/shared": "0.5.11"
|
|
19
19
|
},
|
|
20
20
|
"bundledDependencies": [
|
|
21
21
|
"@cursor-pool/extension",
|
package/src/compat.ts
CHANGED
|
@@ -25,9 +25,9 @@ export const DEFAULT_COMPAT_ENTRIES: CompatibilityManifestEntry[] = [
|
|
|
25
25
|
patchStrategy: 'cursor-agent-exec-snippet',
|
|
26
26
|
verifyMarker: 'cursor-pool',
|
|
27
27
|
restoreStrategy: 'external-backup',
|
|
28
|
-
minCliVersion: '0.5.
|
|
29
|
-
minExtensionVersion: '0.5.
|
|
30
|
-
minServiceVersion: '0.5.
|
|
28
|
+
minCliVersion: '0.5.11',
|
|
29
|
+
minExtensionVersion: '0.5.11',
|
|
30
|
+
minServiceVersion: '0.5.11',
|
|
31
31
|
requiresWritableAppBundle: true,
|
|
32
32
|
requiresAdHocResign: true,
|
|
33
33
|
userMessage: 'Cursor 3.4.x is supported for MVP-0.',
|
|
@@ -44,9 +44,9 @@ export const DEFAULT_COMPAT_ENTRIES: CompatibilityManifestEntry[] = [
|
|
|
44
44
|
patchStrategy: 'cursor-agent-exec-snippet',
|
|
45
45
|
verifyMarker: 'cursor-pool',
|
|
46
46
|
restoreStrategy: 'external-backup',
|
|
47
|
-
minCliVersion: '0.5.
|
|
48
|
-
minExtensionVersion: '0.5.
|
|
49
|
-
minServiceVersion: '0.5.
|
|
47
|
+
minCliVersion: '0.5.11',
|
|
48
|
+
minExtensionVersion: '0.5.11',
|
|
49
|
+
minServiceVersion: '0.5.11',
|
|
50
50
|
requiresWritableAppBundle: true,
|
|
51
51
|
requiresAdHocResign: true,
|
|
52
52
|
userMessage: 'Cursor 3.5.x is supported for MVP-0.',
|
|
@@ -63,9 +63,9 @@ export const DEFAULT_COMPAT_ENTRIES: CompatibilityManifestEntry[] = [
|
|
|
63
63
|
patchStrategy: 'cursor-agent-exec-snippet',
|
|
64
64
|
verifyMarker: 'cursor-pool',
|
|
65
65
|
restoreStrategy: 'external-backup',
|
|
66
|
-
minCliVersion: '0.5.
|
|
67
|
-
minExtensionVersion: '0.5.
|
|
68
|
-
minServiceVersion: '0.5.
|
|
66
|
+
minCliVersion: '0.5.11',
|
|
67
|
+
minExtensionVersion: '0.5.11',
|
|
68
|
+
minServiceVersion: '0.5.11',
|
|
69
69
|
requiresWritableAppBundle: true,
|
|
70
70
|
requiresAdHocResign: true,
|
|
71
71
|
userMessage: 'Cursor 3.5.x is supported for MVP-0 under Rosetta-launched installers.',
|
|
@@ -82,9 +82,9 @@ export const DEFAULT_COMPAT_ENTRIES: CompatibilityManifestEntry[] = [
|
|
|
82
82
|
patchStrategy: 'cursor-agent-exec-snippet',
|
|
83
83
|
verifyMarker: 'cursor-pool',
|
|
84
84
|
restoreStrategy: 'external-backup',
|
|
85
|
-
minCliVersion: '0.5.
|
|
86
|
-
minExtensionVersion: '0.5.
|
|
87
|
-
minServiceVersion: '0.5.
|
|
85
|
+
minCliVersion: '0.5.11',
|
|
86
|
+
minExtensionVersion: '0.5.11',
|
|
87
|
+
minServiceVersion: '0.5.11',
|
|
88
88
|
requiresWritableAppBundle: true,
|
|
89
89
|
requiresAdHocResign: true,
|
|
90
90
|
userMessage: 'Cursor 3.6.x is supported for MVP-0.',
|
|
@@ -101,9 +101,9 @@ export const DEFAULT_COMPAT_ENTRIES: CompatibilityManifestEntry[] = [
|
|
|
101
101
|
patchStrategy: 'cursor-agent-exec-snippet',
|
|
102
102
|
verifyMarker: 'cursor-pool',
|
|
103
103
|
restoreStrategy: 'external-backup',
|
|
104
|
-
minCliVersion: '0.5.
|
|
105
|
-
minExtensionVersion: '0.5.
|
|
106
|
-
minServiceVersion: '0.5.
|
|
104
|
+
minCliVersion: '0.5.11',
|
|
105
|
+
minExtensionVersion: '0.5.11',
|
|
106
|
+
minServiceVersion: '0.5.11',
|
|
107
107
|
requiresWritableAppBundle: true,
|
|
108
108
|
requiresAdHocResign: true,
|
|
109
109
|
userMessage: 'Cursor 3.7.x is supported for MVP-0.',
|
package/src/extensionBundle.ts
CHANGED
|
@@ -55,7 +55,7 @@ async function exists(path: string) {
|
|
|
55
55
|
function buildRuntimeManifest(sourceManifest: Record<string, unknown>) {
|
|
56
56
|
return {
|
|
57
57
|
name: 'cursorpool',
|
|
58
|
-
version: typeof sourceManifest.version === 'string' ? sourceManifest.version : '0.5.
|
|
58
|
+
version: typeof sourceManifest.version === 'string' ? sourceManifest.version : '0.5.11',
|
|
59
59
|
displayName: 'Cursor Pool 平台模式',
|
|
60
60
|
publisher: 'cursor-pool',
|
|
61
61
|
type: sourceManifest.type,
|
package/src/extensionLink.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { basename, dirname, join, resolve } from 'node:path';
|
|
|
4
4
|
import { resolveExtensionInstallPath } from './extensionBundle';
|
|
5
5
|
import type { ExtensionState } from './trial';
|
|
6
6
|
|
|
7
|
-
export const LINKED_EXTENSION_DIRNAME = 'cursor-pool.extension-0.5.
|
|
7
|
+
export const LINKED_EXTENSION_DIRNAME = 'cursor-pool.extension-0.5.11';
|
|
8
8
|
const RUNTIME_EXTENSION_ID = 'cursor-pool.cursorpool';
|
|
9
9
|
const STALE_EXTENSION_IDS = new Set([
|
|
10
10
|
RUNTIME_EXTENSION_ID,
|
|
@@ -48,7 +48,7 @@ async function readRuntimeManifest(linkedPath: string) {
|
|
|
48
48
|
};
|
|
49
49
|
const publisher = typeof manifest.publisher === 'string' ? manifest.publisher : 'cursor-pool';
|
|
50
50
|
const name = typeof manifest.name === 'string' ? manifest.name : 'cursorpool';
|
|
51
|
-
const version = typeof manifest.version === 'string' ? manifest.version : '0.5.
|
|
51
|
+
const version = typeof manifest.version === 'string' ? manifest.version : '0.5.11';
|
|
52
52
|
return { id: `${publisher}.${name}`, version };
|
|
53
53
|
}
|
|
54
54
|
|
package/src/install.ts
CHANGED
|
@@ -104,7 +104,7 @@ export type InstallOptions = FindCursorOptions &
|
|
|
104
104
|
};
|
|
105
105
|
|
|
106
106
|
const REAL_CURSOR_EXTENSIONS_DIR = '~/.cursor/extensions';
|
|
107
|
-
const PACKAGE_VERSION = '0.5.
|
|
107
|
+
const PACKAGE_VERSION = '0.5.11';
|
|
108
108
|
const AUTOSTART_SERVICE_STARTUP_TIMEOUT_MS = 30_000;
|
|
109
109
|
|
|
110
110
|
function delay(ms: number) {
|
package/src/platform.ts
CHANGED
|
@@ -82,9 +82,9 @@ function buildDeviceInfo() {
|
|
|
82
82
|
name: hostname(),
|
|
83
83
|
os: osPlatform(),
|
|
84
84
|
arch: arch(),
|
|
85
|
-
cliVersion: '0.5.
|
|
86
|
-
serviceVersion: '0.5.
|
|
87
|
-
extensionVersion: '0.5.
|
|
85
|
+
cliVersion: '0.5.11',
|
|
86
|
+
serviceVersion: '0.5.11',
|
|
87
|
+
extensionVersion: '0.5.11',
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
90
|
|
package/src/repair.ts
CHANGED
|
@@ -69,7 +69,7 @@ export type RepairOptions = FindCursorOptions &
|
|
|
69
69
|
adHocResignApp?: typeof adHocResignApp;
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
const PACKAGE_VERSION = '0.5.
|
|
72
|
+
const PACKAGE_VERSION = '0.5.11';
|
|
73
73
|
|
|
74
74
|
function normalizeAppPath(path: string) {
|
|
75
75
|
return normalize(path).replace(/\/+$/, '');
|