Files
vscode-extension-samples/chat-sample/package.json

68 lines
2.2 KiB
JSON
Raw Normal View History

2023-11-13 16:30:27 +01:00
{
2024-02-22 15:51:21 +01:00
"name": "chat-sample",
2023-11-13 16:30:27 +01:00
"publisher": "vscode-samples",
2024-02-22 15:51:21 +01:00
"displayName": "Copilot Chat Sample",
2024-02-23 14:52:23 +01:00
"description": "Sample chat extension, a trusty cat tutor that will can teach you computer science topics.",
2023-11-13 16:30:27 +01:00
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-extension-samples"
},
"version": "0.1.0",
"engines": {
"vscode": "^1.90.0"
2023-11-13 16:30:27 +01:00
},
"categories": [
"AI",
"Chat"
2023-11-13 16:30:27 +01:00
],
"activationEvents": [],
2023-11-13 16:30:27 +01:00
"enabledApiProposals": [
2024-05-16 09:42:14 -07:00
"chatVariableResolver"
2023-11-13 16:30:27 +01:00
],
2024-02-23 15:56:39 +01:00
"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"
}
]
}
],
2024-02-23 15:56:39 +01:00
"commands": [
{
"command": "cat.namesInEditor",
"title": "Use Cat Names in Editor"
}
2024-02-23 15:56:39 +01:00
]
},
2023-11-13 16:30:27 +01:00
"main": "./out/extension.js",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "npm run setupTiktoken",
"setupTiktoken": "run-script-os",
"setupTiktoken:linux:darwin": "cp node_modules/@vscode/prompt-tsx/dist/base/tokenizer/cl100k_base.tiktoken out/",
"setupTiktoken:windows": "copy node_modules\\@vscode\\prompt-tsx\\dist\\base\\tokenizer\\cl100k_base.tiktoken out\\"
2023-11-13 16:30:27 +01:00
},
"devDependencies": {
"@types/node": "^20.5.9",
"@vscode/prompt-tsx": "^0.1.10-alpha",
2023-11-13 16:30:27 +01:00
"eslint": "^7.22.0",
"run-script-os": "^1.1.6",
2023-11-13 16:30:27 +01:00
"tslint": "^6.1.3",
"typescript": "^4.0.3"
}
}