Files
vscode-extension-samples/chat-sample/package.json
2024-09-03 11:20:53 -07:00

86 lines
2.1 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.92.0"
},
"categories": [
"AI",
"Chat"
],
"activationEvents": [],
"contributes": {
"chatParticipants": [
{
"id": "chat-sample.cat",
"fullName": "Cat",
"name": "cat",
"description": "Meow! What can I teach you?",
"isSticky": true,
"commands": [
{
"name": "randomTeach",
"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",
"disambiguation": [
{
"categoryName": "cat_play",
"description": "The user just wants to relax and see the cat play.",
"examples": [
"Enough learning, let the cat play with a ball of yarn",
"Can you show me a cat playing with a laser pointer?"
]
}
]
}
],
"disambiguation": [
{
"categoryName": "cat",
"description": "The user wants to learn a specific computer science topic in an informal way.",
"examples": [
"Teach me C++ pointers using metaphors",
"Explain to me what is a linked list in a simple way",
"Can you explain to me what is a function in programming?"
]
}
]
}
],
"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 ./"
},
"dependencies": {
"@vscode/prompt-tsx": "^0.2.8-alpha"
},
"devDependencies": {
"@types/node": "^20.5.9",
"@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"
}
}