-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
134 lines (134 loc) · 4.91 KB
/
package.json
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
{
"name": "assistants-chat-extension",
"displayName": "Assistants Chat Extension",
"description": "A GitHub Copilot Chat Extension that integrates OpenAI Assistants",
"version": "1.1.0",
"publisher": "chrissylemaire",
"categories": [
"AI",
"Chat"
],
"engines": {
"vscode": "^1.90.0-insiders"
},
"extensionDependencies": [
"github.copilot-chat"
],
"repository": {
"type": "git",
"url": "https://github.com/potatoqualitee/assistants-chat-extension"
},
"activationEvents": [],
"contributes": {
"configuration": {
"type": "object",
"properties": {
"assistantsChatExtension.apiKey": {
"type": "string",
"default": "",
"description": "API key for accessing OpenAI services."
},
"assistantsChatExtension.apiProvider": {
"type": "string",
"enum": [
"auto",
"openai",
"azure"
],
"default": "auto",
"description": "Select the API provider to use. 'auto' will choose based on available API keys."
},
"assistantsChatExtension.azureOpenAIApiKey": {
"type": "string",
"default": "",
"description": "API key for accessing Azure OpenAI services.",
"examples": [
"0123456789abcdef0123456789abcdef"
]
},
"assistantsChatExtension.azureOpenAIEndpoint": {
"type": "string",
"default": "",
"description": "Endpoint URL for Azure OpenAI services.",
"examples": [
"https://your-resource-name.openai.azure.com"
]
},
"assistantsChatExtension.model": {
"type": "string",
"enum": [
"gpt-3.5-turbo",
"gpt-4"
],
"default": "gpt-3.5-turbo",
"description": "The model to use for the chat extension. Choose 'gpt-3.5-turbo' for faster performance or 'gpt-4' for slower but more complex and nuanced responses. I'm unsure if this does anything, actually."
},
"assistantsChatExtension.savedAssistantId": {
"type": "string",
"default": "",
"description": "The ID of the selected assistant. This is managed automatically by the extension and should not be modified manually.",
"scope": "resource"
},
"assistantsChatExtension.sendCodeContext": {
"type": "boolean",
"default": true,
"description": "Enable to send file context to OpenAI for enhanced responses."
}
}
},
"chatParticipants": [
{
"id": "assistant",
"fullName": "Assistant",
"name": "assistant",
"description": "Your OpenAI Assistant",
"isSticky": true,
"commands": [
{
"name": "change",
"description": "Change the OpenAI assistant"
}
]
}
],
"commands": [
{
"command": "assistantsChatExtension.setApiKey",
"title": "AI Assistant: Set API Key"
},
{
"command": "assistantsChatExtension.selectAssistant",
"title": "AI Assistant: Select Assistant"
},
{
"command": "assistantsChatExtension.selectApiProvider",
"title": "AI Assistant: Select API Provider"
}
]
},
"icon": "icon.png",
"pricing": "Free",
"main": "./dist/extension.js",
"scripts": {
"check-types": "tsc --noEmit",
"compile": "npm run check-types && node esbuild.js",
"package": "npm run check-types && node esbuild.js --production",
"vscode:prepublish": "npm run package",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json"
},
"dependencies": {
"@azure/openai": "^1.0.0-beta.12",
"@azure/openai-assistants": "^1.0.0-beta.5",
"openai": "^4.52.3"
},
"devDependencies": {
"@types/node": "^20.5.9",
"@types/vscode": "1.90.0",
"esbuild": "^0.23.0",
"eslint": "^8.44.0",
"run-script-os": "^1.1.6",
"typescript": "^5.1.6"
}
}