mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
65 lines
1.5 KiB
JSON
65 lines
1.5 KiB
JSON
{
|
|
"name": "chat-sample",
|
|
"publisher": "vscode-samples",
|
|
"displayName": "Copilot Chat Sample",
|
|
"description": "Sample chat extension, a trusty cat tutor that will can teach you computer science topics.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Microsoft/vscode-extension-samples"
|
|
},
|
|
"version": "0.1.0",
|
|
"engines": {
|
|
"vscode": "^1.90.0"
|
|
},
|
|
"categories": [
|
|
"AI",
|
|
"Chat"
|
|
],
|
|
"activationEvents": [],
|
|
"enabledApiProposals": [
|
|
"chatVariableResolver"
|
|
],
|
|
"contributes": {
|
|
"chatParticipants": [
|
|
{
|
|
"id": "chat-sample.cat",
|
|
"fullName": "Cat",
|
|
"name": "cat",
|
|
"description": "Meow! What can I teach you?",
|
|
"isSticky": true,
|
|
"commands": [
|
|
{
|
|
"name": "teach",
|
|
"description": "Pick at random a computer science concept then explain it in purfect way of a cat"
|
|
},
|
|
{
|
|
"name": "play",
|
|
"description": "Do whatever you want, you are a cat after all"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"commands": [
|
|
{
|
|
"command": "cat.namesInEditor",
|
|
"title": "Use Cat Names in Editor"
|
|
}
|
|
]
|
|
},
|
|
"main": "./out/extension.js",
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"lint": "eslint \"src/**/*.ts\"",
|
|
"watch": "tsc -watch -p ./"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.5.9",
|
|
"@vscode/prompt-tsx": "^0.2.3-alpha",
|
|
"@types/vscode": "1.90.0",
|
|
"@typescript-eslint/eslint-plugin": "^7.14.0",
|
|
"@typescript-eslint/parser": "^7.14.0",
|
|
"eslint": "^8.26.0",
|
|
"typescript": "^5.5.2"
|
|
}
|
|
} |