-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
213 lines (213 loc) · 6.61 KB
/
package.json
File metadata and controls
213 lines (213 loc) · 6.61 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
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
{
"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.25",
"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": "./out/extension.js",
"contributes": {
"menus": {
"view/title": [
{
"command": "firecoder.startNewChat",
"group": "navigation@1"
}
]
},
"walkthroughs": [
{
"id": "firecoderwelcome",
"title": "Get started with FireCoder",
"description": "Discover and personalize features that will help write better code.",
"steps": [
{
"id": "download",
"title": "download",
"description": "Upon installation, please wait for the **server** and **model** download, which is essential for FireCoder to function with its AI-driven features. \nDownload duration may vary depending on your internet speed.",
"media": {
"markdown": "./walkthroughs/download.md"
}
},
{
"id": "autoMode",
"title": "Auto Mode",
"description": "Start by using the auto mode, which provides prompts automatically. \nBy default, FireCoder uses the **base-small** model. This model strikes a balance between speed and prompt quality, offering quick and reliable suggestions right out of the box.",
"media": {
"markdown": "./walkthroughs/auto-mode.md"
}
},
{
"id": "manualMode",
"title": "Manual Mode",
"description": "Manual mode can be activated using the hotkey **Ctrl+Enter**. \nWhen using manual mode, FireCoder will attempt to gather as much context as possible to provide the best suggestions. Manual mode can offer hits in multiple lines and has no time restrictions.",
"media": {
"markdown": "./walkthroughs/manual-mode.md"
}
}
]
}
],
"views": {
"firecoder": [
{
"type": "webview",
"id": "firecoder.chat-gui",
"name": "FireCoder",
"visibility": "visible",
"when": "config.firecoder.experimental.chat"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "firecoder",
"title": "Firecoder Chat",
"icon": "images/fc.svg"
}
]
},
"commands": [
{
"command": "firecoder.inlineSuggest",
"title": "FireCoder: Trigger inline suggestion"
},
{
"command": "firecoder.welcome",
"title": "FireCoder: Welcome"
},
{
"command": "firecoder.startNewChat",
"title": "FireCoder: New Chat",
"icon": "$(add)"
}
],
"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.experimental.chat": {
"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",
"base-large"
],
"enumDescriptions": [
"Use if you have only CPU.",
"Use if you have standard GPU.",
"Use if you have enterprise 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",
"base-large"
],
"enumDescriptions": [
"Use if you have only CPU.",
"Use if you have standard GPU.",
"Use if you have enterprise GPU."
]
}
}
}
},
"scripts": {
"vscode:prepublish": "rm -rf out && npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node --minify",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"test-compile": "tsc -p ./",
"increment:patch": "vsce publish patch",
"deploy": "vsce publish --npm",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"package": "vsce package",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"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",
"esbuild": "^0.19.11",
"eslint": "^8.52.0",
"glob": "^10.3.10",
"mocha": "^10.2.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@grafana/faro-core": "^1.3.5",
"@grafana/faro-web-sdk": "^1.3.5"
}
}