Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
157 lines (157 loc) · 3.65 KB
/
Copy pathpackage.json
File metadata and controls
157 lines (157 loc) · 3.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "vscode-copilot-vision",
"publisher": "ms-vscode",
"displayName": "Vision for Copilot Preview",
"description": "A chat extension providing vision capabilities in VS Code, with a focus on accessibility.",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode-copilot-vision"
},
"icon": "assets/vision-eye-logo.png",
"bugs": {
"url": "https://github.com/microsoft/vscode-copilot-vision/issues"
},
"enabledApiProposals": [
"chatReferenceBinaryData",
"codeActionAI"
],
"version": "0.1.3",
"engines": {
"vscode": "^1.95.0"
},
"categories": [
"AI",
"Chat"
],
"keywords": [
"chat-participant",
"ai",
"openai",
"anthropic",
"gemini",
"claude",
"vision",
"accessibility",
"images",
"pilot",
"co-pilot"
],
"activationEvents": [
"onLanguage:markdown",
"onLanguage:typescriptreact",
"onLanguage:html",
"onLanguage:javascriptreact"
],
"contributes": {
"configuration": {
"properties": {
"copilot.vision.provider": {
"type": "string",
"enum": [
"OpenAI",
"Anthropic",
"Gemini",
"AzureOpenAI"
],
"default": "OpenAI",
"description": "The selected provider."
},
"copilot.vision.azureEndpoint": {
"type": "string",
"default": "",
"description": "An endpoint specifically for Azure OpenAI."
},
"copilot.vision.model": {
"type": "string",
"default": "gpt-4o",
"description": "The model for the selected provider."
}
}
},
"chatParticipants": [
{
"id": "chat-sample.vision",
"fullName": "Vision",
"name": "vision",
"description": "Attach, drop, or paste an image to get started!",
"isSticky": false,
"commands": [],
"disambiguation": [
{
"category": "vision",
"description": "The user wants to know more about an image.",
"examples": [
"Tell me about this image.",
"What do I see?",
"What does this look like?",
"Describe this image.",
"Can you help me understand this image?",
"What is shown here?"
]
}
]
}
],
"codeActions": [
{
"languages": [
"markdown"
],
"actions": {
"kind": "quickfix",
"title": "Generate alt text",
"description": "Generate alt text for image"
}
}
],
"commands": [
{
"command": "copilot.vision.selectProviderAndModel",
"title": "Copilot Vision: Set a Provider and Model."
},
{
"command": "copilot.vision.troubleshoot",
"title": "Copilot Vision: Troubleshoot"
},
{
"command": "copilot.vision.setApiKey",
"title": "Copilot Vision: Set Current Model's API Key"
},
{
"command": "copilot.vision.deleteApiKey",
"title": "Copilot Vision: Delete Current Model's API Key"
}
]
},
"main": "./out/extension",
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir dist",
"watch-tests": "tsc -p . -w --outDir dist",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.29.0",
"@google/generative-ai": "^0.21.0",
"dotenv": "^16.4.5",
"openai": "^4.67.3"
},
"devDependencies": {
"@eslint/js": "^9.39.4",
"@types/node": "^20.5.9",
"@types/vscode": "1.94.0",
"@typescript-eslint/eslint-plugin": "^8.57.0",
"@typescript-eslint/parser": "^8.57.0",
"eslint": "^10.8.0",
"eslint-plugin-headers": "^1.3.4",
"ts-loader": "^9.5.1",
"typescript": "^5.5.2",
"webpack": "^5.105.1",
"webpack-cli": "^5.1.4"
}
}