Files
cline-multi-mirror/package.json
T
2025-04-18 11:27:42 +08:00

414 lines
12 KiB
JSON

{
"name": "cline-shengsuan",
"displayName": "Cline-中文版胜算",
"description": "Cline中文胜算版是一款在您的IDE中运行的强大自主编程助手,经您许可后可创建/编辑文件、运行命令、使用浏览器等",
"version": "3.12.4",
"icon": "assets/icons/icon.png",
"engines": {
"vscode": "^1.84.0"
},
"author": {
"name": "shengsuan-cloud"
},
"license": "Apache-2.0",
"publisher": "shengsuan-cloud",
"repository": {
"type": "git",
"url": "https://github.com/SSYCloud/cline-chinese-ssy"
},
"homepage": "https://router.shengsuanyun.com/",
"categories": [
"AI",
"Chat",
"Programming Languages",
"Education",
"Snippets",
"Testing"
],
"keywords": [
"cline",
"claude",
"dev",
"mcp",
"openrouter",
"coding",
"agent",
"autonomous",
"chatgpt",
"sonnet",
"ai",
"llama",
"shengsuanyun",
"shengsuanyun-router"
],
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "cline-shengsuan-ActivityBar",
"title": "Cline-中文版胜算",
"icon": "assets/icons/icon.svg"
}
]
},
"views": {
"cline-shengsuan-ActivityBar": [
{
"type": "webview",
"id": "clineShengsuan.SidebarProvider",
"name": ""
}
]
},
"commands": [
{
"command": "clineShengsuan.plusButtonClicked",
"title": "新任务",
"icon": "$(add)"
},
{
"command": "clineShengsuan.mcpButtonClicked",
"title": "MCP 服务",
"icon": "$(server)"
},
{
"command": "clineShengsuan.historyButtonClicked",
"title": "历史记录",
"icon": "$(history)"
},
{
"command": "clineShengsuan.popoutButtonClicked",
"title": "编辑器打开",
"icon": "$(link-external)"
},
{
"command": "clineShengsuan.accountButtonClicked",
"title": "账户",
"icon": "$(account)"
},
{
"command": "clineShengsuan.settingsButtonClicked",
"title": "设置",
"icon": "$(settings-gear)"
},
{
"command": "clineShengsuan.openInNewTab",
"title": "在新标签打开",
"category": "ClineShengsuan"
},
{
"command": "clineShengsuan.dev.createTestTasks",
"title": "创建测试任务",
"category": "ClineShengsuan",
"when": "clineShengsuan.isDevMode"
},
{
"command": "clineShengsuan.addToChat",
"title": "添加到 Cline",
"category": "ClineShengsuan"
},
{
"command": "clineShengsuan.addTerminalOutputToChat",
"title": "添加到 Cline",
"category": "ClineShengsuan"
},
{
"command": "clineShengsuan.fixWithCline",
"title": "使用 Cline 修改",
"category": "ClineShengsuan"
},
{
"command": "clineShengsuan.focusChatInput",
"title": "跳转到对话窗口",
"category": "ClineShengsuan"
}
],
"keybindings": [
{
"command": "clineShengsuan.addToChat",
"key": "cmd+'",
"mac": "cmd+'",
"win": "ctrl+'",
"linux": "ctrl+'",
"when": "editorHasSelection"
}
],
"menus": {
"view/title": [
{
"command": "clineShengsuan.plusButtonClicked",
"group": "navigation@1",
"when": "view == clineShengsuan.SidebarProvider"
},
{
"command": "clineShengsuan.mcpButtonClicked",
"group": "navigation@2",
"when": "view == clineShengsuan.SidebarProvider"
},
{
"command": "clineShengsuan.historyButtonClicked",
"group": "navigation@3",
"when": "view == clineShengsuan.SidebarProvider"
},
{
"command": "clineShengsuan.popoutButtonClicked",
"group": "navigation@4",
"when": "view == clineShengsuan.SidebarProvider"
},
{
"command": "clineShengsuan.accountButtonClicked",
"group": "navigation@5",
"when": "view == clineShengsuan.SidebarProvider"
},
{
"command": "clineShengsuan.settingsButtonClicked",
"group": "navigation@6",
"when": "view == clineShengsuan.SidebarProvider"
}
],
"editor/title": [
{
"command": "clineShengsuan.plusButtonClicked",
"group": "navigation@1",
"when": "activeWebviewPanelId == clineShengsuan.TabPanelProvider"
},
{
"command": "clineShengsuan.mcpButtonClicked",
"group": "navigation@2",
"when": "activeWebviewPanelId == clineShengsuan.TabPanelProvider"
},
{
"command": "clineShengsuan.historyButtonClicked",
"group": "navigation@3",
"when": "activeWebviewPanelId == clineShengsuan.TabPanelProvider"
},
{
"command": "clineShengsuan.popoutButtonClicked",
"group": "navigation@4",
"when": "activeWebviewPanelId == clineShengsuan.TabPanelProvider"
},
{
"command": "clineShengsuan.accountButtonClicked",
"group": "navigation@5",
"when": "activeWebviewPanelId == clineShengsuan.TabPanelProvider"
},
{
"command": "clineShengsuan.settingsButtonClicked",
"group": "navigation@6",
"when": "activeWebviewPanelId == clineShengsuan.TabPanelProvider"
}
],
"editor/context": [
{
"command": "clineShengsuan.addToChat",
"group": "navigation",
"when": "editorHasSelection"
}
],
"terminal/context": [
{
"command": "clineShengsuan.addTerminalOutputToChat",
"group": "navigation"
}
]
},
"configuration": {
"title": "Cline-中文版胜算",
"properties": {
"clineShengsuan.vsCodeLmModelSelector": {
"type": "object",
"properties": {
"vendor": {
"type": "string",
"description": "语言模型供应商 (e.g. copilot)"
},
"family": {
"type": "string",
"description": "语言模型家族 (e.g. gpt-4)"
}
},
"description": "VSCode 语言模型 API 的设置"
},
"clineShengsuan.enableCheckpoints": {
"type": "boolean",
"default": true,
"description": "启用扩展以保存整个任务中工作区的检查点。在后台使用 git,这可能不适用于大型工作区。"
},
"clineShengsuan.disableBrowserTool": {
"type": "boolean",
"default": false,
"description": "禁止扩展生成浏览器会话。"
},
"clineShengsuan.modelSettings.o3Mini.reasoningEffort": {
"type": "string",
"enum": [
"low",
"medium",
"high"
],
"default": "medium",
"description": "控制使用 o3-mini 模型时的推理工作量。较高的值可能会导致更彻底的响应,但速度较慢。"
},
"clineShengsuan.chromeExecutablePath": {
"type": "string",
"default": null,
"description": "用于浏览器使用功能的 Chrome 可执行文件的路径。如果未设置,扩展将尝试自动查找或下载它。"
},
"clineShengsuan.preferredLanguage": {
"type": "string",
"enum": [
"English",
"Arabic - العربية",
"Portuguese - Português (Brasil)",
"Czech - Čeština",
"French - Français",
"German - Deutsch",
"Hindi - हिन्दी",
"Hungarian - Magyar",
"Italian - Italiano",
"Japanese - 日本語",
"Korean - 한국어",
"Polish - Polski",
"Portuguese - Português (Portugal)",
"Russian - Русский",
"Simplified Chinese - 简体中文",
"Spanish - Español",
"Traditional Chinese - 繁體中文",
"Turkish - Türkçe"
],
"default": "Simplified Chinese - 简体中文",
"description": "Cline-中文版胜算应该用于通信的语言。"
},
"clineShengsuan.mcpMarketplace.enabled": {
"type": "boolean",
"default": true,
"description": "控制是否启用 MCP 市场。"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "npm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:esbuild:test": "IS_TEST=true node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run build:webview && npm run check-types && npm run lint && node esbuild.js --production",
"protos": "node proto/build-proto.js && prettier src/shared/proto --write && prettier src/core/controller --write",
"package:test": "IS_TEST=true npm run build:webview:test && npm run check-types && npm run lint && IS_TEST=true node esbuild.js --production",
"build:webview:test": "cd webview-ui && IS_TEST=true npm run build",
"watch:test": "IS_TEST=true npm-run-all -p watch:tsc watch:esbuild:test",
"compile-tests": "tsc -p ./tsconfig.test.json --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src --ext ts && eslint webview-ui/src --ext ts",
"format": "prettier . --check",
"format:fix": "prettier . --write",
"test": "npm-run-all test:unit test:integration",
"test:ci": "node scripts/test-ci.js",
"test:integration": "vscode-test",
"test:unit": "TS_NODE_PROJECT='./tsconfig.unit-test.json' mocha",
"test:coverage": "vscode-test --coverage",
"install:all": "npm install && cd webview-ui && npm install",
"dev:webview": "cd webview-ui && npm run dev",
"build:webview": "cd webview-ui && npm run build",
"test:webview": "cd webview-ui && npm run test",
"publish:marketplace": "vsce publish ",
"publish:marketplace:prerelease": "vsce publish --pre-release && ovsx publish --pre-release",
"prepare": "husky",
"changeset": "changeset",
"version-packages": "changeset version"
},
"devDependencies": {
"@changesets/cli": "^2.27.12",
"@types/chai": "^5.0.1",
"@types/clone-deep": "^4.0.4",
"@types/diff": "^5.2.1",
"@types/get-folder-size": "^3.0.4",
"@types/mocha": "^10.0.7",
"@types/node": "20.x",
"@types/pdf-parse": "^1.1.4",
"@types/proxyquire": "^1.3.31",
"@types/should": "^11.2.0",
"@types/sinon": "^17.0.4",
"@types/turndown": "^5.0.5",
"@types/vscode": "^1.84.0",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.11.0",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0",
"chai": "^4.3.10",
"chalk": "^5.3.0",
"esbuild": "^0.25.0",
"eslint": "^8.57.0",
"husky": "^9.1.7",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.3",
"protoc-gen-ts": "^0.8.7",
"proxyquire": "^2.1.3",
"should": "^13.2.3",
"sinon": "^19.0.2",
"ts-node": "^10.9.2",
"ts-proto": "^2.6.1",
"typescript": "^5.4.5"
},
"dependencies": {
"@anthropic-ai/bedrock-sdk": "^0.12.4",
"@anthropic-ai/sdk": "^0.37.0",
"@anthropic-ai/vertex-sdk": "^0.6.4",
"@aws-sdk/client-bedrock-runtime": "^3.758.0",
"@bufbuild/protobuf": "^2.2.5",
"@google-cloud/vertexai": "^1.9.3",
"@google/generative-ai": "^0.18.0",
"@grpc/grpc-js": "^1.9.15",
"@mistralai/mistralai": "^1.5.0",
"@modelcontextprotocol/sdk": "^1.7.0",
"@opentelemetry/api": "^1.4.1",
"@opentelemetry/exporter-trace-otlp-http": "^0.39.1",
"@opentelemetry/resources": "^1.30.1",
"@opentelemetry/sdk-node": "^0.39.1",
"@opentelemetry/sdk-trace-node": "^1.30.1",
"@opentelemetry/semantic-conventions": "^1.30.0",
"@sentry/browser": "^9.12.0",
"@vscode/codicons": "^0.0.36",
"axios": "^1.8.2",
"cheerio": "^1.0.0",
"chokidar": "^4.0.1",
"chrome-launcher": "^1.1.2",
"clone-deep": "^4.0.1",
"default-shell": "^2.2.0",
"diff": "^5.2.0",
"execa": "^9.5.2",
"fast-deep-equal": "^3.1.3",
"firebase": "^11.2.0",
"fzf": "^0.5.2",
"get-folder-size": "^5.0.0",
"globby": "^14.0.2",
"ignore": "^7.0.3",
"isbinaryfile": "^5.0.2",
"mammoth": "^1.8.0",
"monaco-vscode-textmate-theme-converter": "^0.1.7",
"ollama": "^0.5.13",
"open-graph-scraper": "^6.9.0",
"openai": "^4.83.0",
"os-name": "^6.0.0",
"p-timeout": "^6.1.4",
"p-wait-for": "^5.0.2",
"pdf-parse": "^1.1.1",
"posthog-node": "^4.8.1",
"puppeteer-chromium-resolver": "^23.0.0",
"puppeteer-core": "^23.4.0",
"serialize-error": "^11.0.3",
"simple-git": "^3.27.0",
"strip-ansi": "^7.1.0",
"tree-sitter-wasms": "^0.1.11",
"turndown": "^7.2.0",
"web-tree-sitter": "^0.22.6",
"zod": "^3.24.2"
}
}