mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
- Fix unused variable issues by removing unused variables and renaming caught errors to match ESLint rules - Fix TypeScript type mismatches in mode handling - Add missing curly braces to if statements to comply with ESLint rules - Resolve missing dependency warnings in React hooks - Clean up empty catch blocks by adding appropriate comments - Remove unused _lastEditorState variables that were declared but never read These changes ensure the codebase passes ESLint checks and follows best practices for code quality.
179 lines
4.5 KiB
JSON
179 lines
4.5 KiB
JSON
{
|
|
"name": "qwen-code-vscode-ide-companion",
|
|
"displayName": "Qwen Code Companion",
|
|
"description": "Enable Qwen Code with direct access to your VS Code workspace.",
|
|
"version": "0.4.0",
|
|
"publisher": "qwenlm",
|
|
"icon": "assets/icon.png",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/QwenLM/qwen-code.git",
|
|
"directory": "packages/vscode-ide-companion"
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.99.0"
|
|
},
|
|
"license": "LICENSE",
|
|
"preview": true,
|
|
"categories": [
|
|
"AI"
|
|
],
|
|
"keywords": [
|
|
"qwen-code",
|
|
"qwen code",
|
|
"qwen",
|
|
"qwen code",
|
|
"cli",
|
|
"ide integration",
|
|
"ide companion"
|
|
],
|
|
"activationEvents": [
|
|
"onStartupFinished"
|
|
],
|
|
"contributes": {
|
|
"languages": [
|
|
{
|
|
"id": "qwen-diff-editable"
|
|
}
|
|
],
|
|
"commands": [
|
|
{
|
|
"command": "qwen.diff.accept",
|
|
"title": "Qwen Code: Accept Current Diff",
|
|
"icon": "$(check)"
|
|
},
|
|
{
|
|
"command": "qwen.diff.cancel",
|
|
"title": "Qwen Code: Close Diff Editor",
|
|
"icon": "$(close)"
|
|
},
|
|
{
|
|
"command": "qwen-code.runQwenCode",
|
|
"title": "Qwen Code: Run"
|
|
},
|
|
{
|
|
"command": "qwen-code.showNotices",
|
|
"title": "Qwen Code: View Third-Party Notices"
|
|
},
|
|
{
|
|
"command": "qwen-code.openChat",
|
|
"title": "Qwen Code: Open Chat",
|
|
"icon": "./assets/icon.png"
|
|
},
|
|
{
|
|
"command": "qwen-code.login",
|
|
"title": "Qwen Code: Login"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"title": "Qwen Code",
|
|
"properties": {
|
|
"qwenCode.useTerminal": {
|
|
"type": "boolean",
|
|
"default": "false",
|
|
"description": "Use terminal to run Qwen Code"
|
|
}
|
|
}
|
|
},
|
|
"menus": {
|
|
"commandPalette": [
|
|
{
|
|
"command": "qwen.diff.accept",
|
|
"when": "qwen.diff.isVisible"
|
|
},
|
|
{
|
|
"command": "qwen.diff.cancel",
|
|
"when": "qwen.diff.isVisible"
|
|
},
|
|
{
|
|
"command": "qwen-code.login",
|
|
"when": "false"
|
|
}
|
|
],
|
|
"editor/title": [
|
|
{
|
|
"command": "qwen.diff.accept",
|
|
"when": "qwen.diff.isVisible",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "qwen.diff.cancel",
|
|
"when": "qwen.diff.isVisible",
|
|
"group": "navigation"
|
|
},
|
|
{
|
|
"command": "qwen-code.openChat",
|
|
"group": "navigation"
|
|
}
|
|
]
|
|
},
|
|
"keybindings": [
|
|
{
|
|
"command": "qwen.diff.accept",
|
|
"key": "ctrl+s",
|
|
"when": "qwen.diff.isVisible"
|
|
},
|
|
{
|
|
"command": "qwen.diff.accept",
|
|
"key": "cmd+s",
|
|
"when": "qwen.diff.isVisible"
|
|
},
|
|
{
|
|
"command": "qwen-code.openChat",
|
|
"key": "ctrl+shift+a",
|
|
"mac": "cmd+shift+a"
|
|
}
|
|
]
|
|
},
|
|
"main": "./dist/extension.cjs",
|
|
"type": "module",
|
|
"scripts": {
|
|
"prepackage": "npm run generate:notices && npm run check-types && npm run lint && npm run build:prod",
|
|
"build": "npm run build:dev",
|
|
"build:dev": "node esbuild.js",
|
|
"build:prod": "node esbuild.js --production",
|
|
"generate:notices": "node ./scripts/generate-notices.js",
|
|
"prepare": "npm run generate:notices",
|
|
"check-types": "tsc --noEmit",
|
|
"lint": "eslint src",
|
|
"watch": "npm-run-all2 -p watch:*",
|
|
"watch:esbuild": "node esbuild.js --watch",
|
|
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
|
|
"package": "vsce package --no-dependencies",
|
|
"test": "vitest run",
|
|
"test:ci": "vitest run --coverage",
|
|
"validate:notices": "node ./scripts/validate-notices.js"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cors": "^2.8.19",
|
|
"@types/express": "^5.0.3",
|
|
"@types/markdown-it": "^14.1.2",
|
|
"@types/node": "20.x",
|
|
"@types/react": "^19.1.8",
|
|
"@types/react-dom": "^19.1.6",
|
|
"@types/semver": "^7.7.1",
|
|
"@types/vscode": "^1.99.0",
|
|
"@typescript-eslint/eslint-plugin": "^8.31.1",
|
|
"@typescript-eslint/parser": "^8.31.1",
|
|
"@vscode/vsce": "^3.6.0",
|
|
"autoprefixer": "^10.4.22",
|
|
"esbuild": "^0.25.3",
|
|
"eslint": "^9.25.1",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"npm-run-all2": "^8.0.2",
|
|
"postcss": "^8.5.6",
|
|
"tailwindcss": "^3.4.18",
|
|
"typescript": "^5.8.3",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"dependencies": {
|
|
"@modelcontextprotocol/sdk": "^1.15.1",
|
|
"cors": "^2.8.5",
|
|
"express": "^5.1.0",
|
|
"markdown-it": "^14.1.0",
|
|
"react": "^19.1.0",
|
|
"react-dom": "^19.1.0",
|
|
"zod": "^3.25.76"
|
|
}
|
|
}
|