-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathpackage.json
184 lines (184 loc) · 6.06 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
{
"name": "chatide",
"publisher": "ChatIDE",
"displayName": "ChatIDE - Coding Assistant (GPT/ChatGPT, Claude)",
"description": "ChatIDE is an open-source coding and debugging assistant that supports GPT/ChatGPT (OpenAI), and Claude (Anthropic). Supported models: [gpt4, gpt-3.5-turbo, claude-v1.3]. Import/export your conversation history. Bring up the assistant in a side pane by pressing cmd+shift+i.",
"version": "0.3.5",
"license": "MIT",
"icon": "assets/icon.jpg",
"engines": {
"vscode": "^1.77.0"
},
"repository": {
"type": "git",
"url": "https://github.com/yagil/ChatIDE"
},
"categories": [
"Other"
],
"keywords": [
"anthropic",
"claude",
"chatgpt",
"gpt",
"gpt4",
"gpt3",
"openai",
"ai",
"agi",
"artificial-intelligence",
"natural-language-processing",
"nlp",
"language-model",
"coding-assistant",
"programming-help",
"debugging",
"questions",
"code-generation"
],
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "chatide.start",
"title": "Start ChatIDE"
},
{
"command": "chatide.openSettings",
"title": "Open ChatIDE Settings"
},
{
"command": "chatide.updateOpenAiApiKey",
"title": "Update your OpenAI API Key for ChatIDE"
},
{
"command": "chatide.updateAnthropicApiKey",
"title": "Update your Anthropic API Key for ChatIDE"
}
],
"keybindings": [
{
"key": "cmd+shift+i",
"command": "chatide.start",
"when": "editorTextFocus"
}
],
"configuration": {
"title": "ChatIDE",
"properties": {
"chatide.model": {
"order": 0,
"type": "string",
"default": "gpt-4o",
"enum": [
"gpt-4o",
"claude-3-5-sonnet-20240620",
"gpt-4o-2024-08-06",
"claude-3-opus-20240229",
"chatgpt-4o-latest",
"gpt-4-turbo",
"gpt-4",
"custom"
],
"description": "Select the AI model. You must have your own API key to use a model.",
"scope": "window"
},
"chatide.systemPrompt": {
"order": 1,
"type": "string",
"default": "You are a helpful programming assistant running inside VS Code. The assistant always generates accurate and succinct messages. The assistant doesn't repeat previous information, and doesn't launch into long explanations unless asked. Always provide code inside triple backticks.",
"markdownDescription": "The 'system' prompt provided to the model. Keep in mind that some models pay stronger attention to the system prompt than others. For models that don't have a dedciated affordance for system prompts, this will be prepended to the first user prompt.",
"scope": "window",
"editorType": "string",
"editorMultiline": true
},
"chatide.maxLength": {
"order": 2,
"type": "integer",
"default": 1000,
"minimum": 1,
"description": "Set the maximum length for the generated text (aka max_tokens).",
"scope": "window"
},
"chatide.temperature": {
"order": 3,
"type": "number",
"default": 0,
"maximum": 1,
"minimum": 0,
"description": "Set the temperature for controlling the randomness of the generated text.",
"scope": "window"
},
"chatide.highlightedCodeAwareness": {
"order": 4,
"type": "boolean",
"default": false,
"description": "[Experimental] Automatically include highlighted code in the prompt.",
"scope": "window"
},
"chatide.pressEnterToSend": {
"order": 5,
"type": "boolean",
"default": false,
"description": "When enabled, pressing enter will send the message in the input box. Shift + Enter will insert a new line. When this option is not selected, you must click the 'Send' button.",
"scope": "window"
},
"chatide.customServerUrl": {
"order": 6,
"type": "string",
"description": "Custom OpenAI-compatible server URL (Example http://localhost:1234/v1). Note: '/chat/completions' will be appended to the URL.",
"scope": "window",
"editorType": "string"
},
"chatide.autoSaveDirectory": {
"order": 0,
"type": "string",
"default": "~/.cache/chatide/",
"description": "The directory where the conversation will be automatically saved. If empty, auto-save will be disabled.",
"scope": "window"
},
"chatide.autoSaveEnabled": {
"type": "boolean",
"default": true,
"description": "When enabled, the conversation will be automatically saved to the directory specified in 'chatide.autoSaveDirectory'.",
"scope": "window"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/marked": "^4.0.8",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.77.0",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"@vscode/test-electron": "^2.3.0",
"eslint": "^8.36.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"ts-loader": "^9.4.2",
"typescript": "^4.9.5",
"webpack": "^5.76.3",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.17.1",
"dotenv": "^16.0.3",
"marked": "^4.3.0",
"openai": "^3.2.1"
}
}