You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.1 KiB
JSON

{
"name": "ai-chat",
"displayName": "AI Chat",
"description": "Open an AI chat webview panel from the status bar",
"version": "0.0.1",
"publisher": "your-publisher",
"engines": {
"vscode": "^1.60.0"
},
"main": "./out/extension.js",
"activationEvents": [
"*",
"onCommand:ai-chat.openWebview"
],
"contributes": {
"menus": {
"editor/context": [
{
"command": "extension.addToChat",
"when": "editorHasSelection",
"group": "navigation"
}
]
},
"commands": [
{
"command": "ai-chat.openWebview",
"title": "Open AI Chat"
},
{
"command": "extension.addToChat",
"title": "添加至对话"
}
]
},
"scripts": {
"compile": "tsc",
"watch": "tsc -w",
"debug": "node --inspect-brk -r ts-node/register src/extension.ts"
},
"devDependencies": {
"@types/node": "^16.11.7",
"@types/vscode": "^1.60.0",
"typescript": "^4.5.2",
"vscode": "^1.1.37"
},
"dependencies": {
"highlight.js": "^11.11.1",
"marked": "^16.1.1"
}
}