DeepCodeGenius-vscode/package.json

90 lines
2.3 KiB
JSON
Raw Normal View History

2025-04-13 14:22:32 +08:00
{
"name": "vscode-ai-chat-plugin",
"displayName": "AI Chat Plugin",
"description": "VSCode AI聊天插件",
"version": "0.0.1",
"engines": {
"vscode": "^1.60.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onView:aiChatView"
],
"main": "./dist/extension.js",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "ai-chat",
"title": "AI 聊天",
"icon": "$(comment-discussion)"
}
]
},
"views": {
"ai-chat": [
{
"id": "aiChatView",
"name": "AI 聊天助手",
"type": "webview"
}
]
},
"commands": [
{
"command": "vscode-ai-chat-plugin.openChat",
"title": "打开AI聊天"
}
],
"configuration": {
"title": "AI 聊天",
"properties": {
"aiChat.apiHost": {
"type": "string",
"default": "ws://47.117.75.243:8080/ws",
"description": "AI服务的WebSocket地址"
},
"aiChat.apiKey": {
"type": "string",
"default": "simpletest2025_demo",
"description": "AI服务的API密钥用于身份验证"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"package": "webpack --mode production --devtool hidden-source-map",
"dev": "concurrently \"npm run webview:dev\" \"webpack --mode development --watch\"",
"webview:dev": "cd webview && vite",
"webview:build": "cd webview && vite build",
"start:debug": "npm run webview:build && npm run compile && npm run package"
},
"devDependencies": {
"@types/vscode": "^1.60.0",
"@types/ws": "^8.18.1",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"concurrently": "^8.2.2",
"eslint": "^8.52.0",
"generator-code": "^1.10.17",
"ts-loader": "^9.5.0",
"typescript": "^5.2.2",
"vscode-test": "^1.6.1",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
"yo": "^4.3.1"
},
"dependencies": {
2025-04-14 23:22:12 +08:00
"@types/node": "^22.14.1",
2025-04-13 14:22:32 +08:00
"ws": "^8.18.1"
}
}