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

89 lines
2.8 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": {
2024-08-21 11:13:52 -07:00
"vscode": "^1.93.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-06-06 15:59:02 -07:00
"chatVariableResolver",
2024-08-06 15:44:45 -07:00
"chatParticipantAdditions",
2024-06-06 15:59:02 -07:00
"lmTools"
2023-11-13 16:30:27 +01:00
],
2024-02-23 15:56:39 +01:00
"contributes": {
"chatParticipants": [
{
"id": "chat-sample.tools",
"fullName": "Tool User",
"name": "tools",
"description": "I use tools",
2024-08-21 11:13:52 -07:00
"isSticky": true,
"supportsToolReferences": true
}
2024-08-05 15:34:56 -07:00
],
"languageModelTools": [
{
2024-08-13 15:24:22 -07:00
"id": "chat-sample_tabCount",
"name": "tabCount",
"displayName": "Tab Count",
2024-08-26 21:43:30 -07:00
"modelDescription": "The number of active tabs in a tab group",
2024-08-13 15:24:22 -07:00
"icon": "$(files)",
2024-08-26 21:43:30 -07:00
"canBeInvokedManually": true,
"parametersSchema": {
"type": "object",
"properties": {
"tabGroup": {
"type": "number",
"description": "The index of the tab group to check. This is optional- if not specified, the active tab group will be checked.",
"default": 0
}
}
2024-09-20 17:33:59 -07:00
},
"supportedContentTypes": [
"text/plain"
2024-09-23 20:28:08 -07:00
],
"requiresConfirmation": true
2024-08-26 16:36:17 -07:00
},
{
"id": "chat-sample_catVoice",
"name": "catVoice",
"displayName": "Cat Voice",
"modelDescription": "Speak in a cat voice",
"userDescription": "Speak in a cat voice",
"icon": "$(files)",
2024-09-20 17:33:59 -07:00
"canBeInvokedManually": true,
"supportedContentTypes": [
"text/plain",
"application/vnd.codechat.prompt+json.1"
]
2024-08-05 15:34:56 -07:00
}
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 ./",
2024-09-11 19:57:24 -07:00
"watch": "tsc -watch -p ./"
2023-11-13 16:30:27 +01:00
},
"devDependencies": {
"@types/node": "^20.5.9",
2024-06-06 15:59:02 -07:00
"@types/vscode": "^1.90.0",
2024-08-26 16:36:17 -07:00
"@vscode/prompt-tsx": "^0.2.7-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"
}
}