Files
vscode-extension-samples/chat-sample/package.json
Isidor Nikolic cfec264062 update sample to latest api (#1021)
* update sample to latest api

* Fix family

* Minor cleanup

* Add fullname

---------

Co-authored-by: Rob Lourens <roblourens@gmail.com>
2024-05-15 14:36:25 -07:00

67 lines
1.9 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"
},
"extensionDependencies": [
"github.copilot-chat"
],
"categories": [
"Other"
],
"activationEvents": [ ],
"enabledApiProposals": [
"chatParticipant",
"chatVariableResolver",
"languageModels"
],
"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 ./",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/node": "^20.5.9",
"@types/vscode": "1.82.0",
"eslint": "^7.22.0",
"tslint": "^6.1.3",
"typescript": "^4.0.3"
}
}