-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
219 lines (219 loc) · 6.57 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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
{
"name": "firecoder",
"displayName": "FireCoder",
"description": "FireCoder is an AI assistant that works locally and helps write code.",
"homepage": "https://github.com/FireCoderAI/firecoder",
"repository": "https://github.com/FireCoderAI/firecoder",
"bugs": "https://github.com/FireCoderAI/firecoder/issues",
"publisher": "FireCoder",
"license": "MIT",
"version": "0.0.33",
"engines": {
"vscode": "^1.84.0"
},
"icon": "images/firecoder-icon.png",
"categories": [
"Machine Learning",
"Programming Languages",
"Other"
],
"keywords": [
"ai",
"assistant",
"code",
"llm",
"autocomplete",
"firecoder",
"intellisense",
"intellicode"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"menus": {
"view/title": [
{
"command": "firecoder.startNewChat",
"group": "navigation",
"when": "view === firecoder.chat-gui"
}
]
},
"views": {
"firecoder": [
{
"type": "webview",
"id": "firecoder.chat-gui",
"name": "",
"visibility": "visible"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "firecoder",
"title": "FireCoder Chat",
"icon": "images/fc.svg"
}
]
},
"commands": [
{
"command": "firecoder.inlineSuggest",
"title": "My Inline Completion Demo Settings"
},
{
"command": "firecoder.startNewChat",
"title": "FireCoder: New Chat",
"icon": "$(add)"
},
{
"command": "firecoder.login",
"title": "FireCoder: Login",
"icon": "$(key)",
"description": "Login to your account"
}
],
"keybindings": [
{
"key": "alt+\\",
"command": "firecoder.inlineSuggest",
"when": "editorTextFocus"
},
{
"key": "ctrl+enter",
"command": "firecoder.inlineSuggest",
"mac": "ctrl+enter",
"when": "editorTextFocus"
}
],
"configuration": {
"title": "FireCoder",
"properties": {
"firecoder.experimental.useGpu.windows.nvidia": {
"type": "boolean",
"default": false,
"description": "Use experimental GPU Nvidia support for Windows."
},
"firecoder.experimental.useGpu.linux.nvidia": {
"type": "boolean",
"default": false,
"description": "Use experimental GPU Nvidia support for Linux."
},
"firecoder.experimental.useGpu.osx.metal": {
"type": "boolean",
"default": false,
"description": "Use experimental GPU Metal support for macOS."
},
"firecoder.local.chat.use": {
"type": "boolean",
"default": false,
"description": "Enable experimental chat feature."
},
"firecoder.completion.autoMode": {
"type": "string",
"default": "base-small",
"markdownDescription": "Select a model for the automatic mode based on your system specifications.",
"enum": [
"base-small",
"base-medium"
],
"enumDescriptions": [
"Use if you have only CPU.",
"Use if you have standard GPU."
]
},
"firecoder.completion.manuallyMode": {
"type": "string",
"default": "base-small",
"markdownDescription": "Select a model for the manually mode based on your system specifications.",
"enum": [
"base-small",
"base-medium"
],
"enumDescriptions": [
"Use if you have only CPU.",
"Use if you have standard GPU."
]
},
"firecoder.experimental.useopentabs": {
"type": "boolean",
"default": true,
"markdownDescription": "Enable experimental possibility to use opened tabs as context for manual completion mode."
},
"firecoder.homedir": {
"type": "string",
"default": "",
"description": "The directory to use for storing user data associated with this extension. Set to an empty string, `os.homedir()` will be used."
},
"firecoder.cloud.endpoint": {
"type": "string",
"default": "https://llm-api.firecoder.cc/v1",
"description": "Endpoint to cloud."
},
"firecoder.cloud.use": {
"type": "boolean",
"default": false,
"description": "Enable cloud feature. User should provide their own credentials by login. Enable this to use cloud features."
},
"firecoder.cloud.autocomplete.use": {
"type": "boolean",
"default": false,
"markdownDescription": "Enable cloud autocomplete feature. Only applies when `#firecoder.cloud.use#` is set to `true`."
},
"firecoder.cloud.chat.use": {
"type": "boolean",
"default": false,
"markdownDescription": "Enable cloud chat feature. Only applies when `#firecoder.cloud.use#` is set to `true`."
},
"firecoder.server.usePreRelease": {
"type": "boolean",
"default": false,
"description": "Use pre release server builds"
}
}
}
},
"scripts": {
"vscode:prepublish": "rm -rf dist && npm run webpack-build",
"test-compile": "tsc -p ./",
"increment:patch": "vsce publish patch",
"deploy": "vsce publish --npm",
"compile": "npm run webpack",
"watch": "npm run webpack-dev",
"package": "vsce package",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"webpack-build": "webpack --mode production --devtool hidden-source-map"
},
"devDependencies": {
"@types/mocha": "^10.0.3",
"@types/node": "18.x",
"@types/vscode": "^1.84.0",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"@vscode/test-electron": "^2.3.6",
"@vscode/vsce": "^2.22.0",
"eslint": "^8.52.0",
"glob": "^10.3.10",
"mocha": "^10.2.0",
"ts-loader": "^9.5.1",
"typescript": "^5.2.2",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@grafana/faro-core": "^1.3.5",
"@grafana/faro-web-sdk": "^1.3.5",
"@langchain/community": "^0.0.27",
"@supabase/supabase-js": "^2.42.7",
"@xenova/transformers": "^2.17.1",
"langchain": "^0.1.17"
}
}