{ "name": "cursorpro", "displayName": "CursorPro", "description": "Cursor 账号管理与换号工具", "version": "0.4.5", "publisher": "cursorpro", "repository": { "type": "git", "url": "https://github.com/cursorpro/cursorpro-extension" }, "engines": { "vscode": "^1.80.0" }, "categories": [ "Other" ], "extensionKind": [ "ui" ], "activationEvents": [ "onStartupFinished" ], "main": "./out/extension.js", "contributes": { "commands": [ { "command": "cursorpro.showPanel", "title": "CursorPro: 打开控制面板" }, { "command": "cursorpro.switchAccount", "title": "CursorPro: 立即换号" } ], "viewsContainers": { "activitybar": [ { "id": "cursorpro-sidebar", "title": "CursorPro", "icon": "media/icon.svg" } ] }, "views": { "cursorpro-sidebar": [ { "type": "webview", "id": "cursorpro.mainView", "name": "控制面板" } ] }, "configuration": { "title": "CursorPro", "properties": { "cursorpro.cursorPath": { "type": "string", "default": "", "description": "手动设置 Cursor 安装路径(如果自动检测失败)。例如:C:\\Program Files\\cursor 或 /Applications/Cursor.app" } } } }, "scripts": { "vscode:prepublish": "npm run compile", "compile": "tsc -p ./", "watch": "tsc -watch -p ./", "lint": "eslint src --ext ts" }, "devDependencies": { "@types/node": "^20.0.0", "@types/vscode": "^1.80.0", "esbuild": "^0.27.0", "typescript": "^5.0.0" } }