-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
191 lines (191 loc) · 5.62 KB
/
package.json
File metadata and controls
191 lines (191 loc) · 5.62 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
{
"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"
}
]
},
"views": {
"firecoder": [
{
"type": "webview",
"id": "firecoder.chat-gui",
"name": "",
"visibility": "visible",
"when": "config.firecoder.experimental.chat"
}
]
},
"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": "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.experimental.chat.useGpu": {
"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. (RAM OR VRAM required 4 GB)",
"Use if you have standard GPU. (RAM OR VRAM required 10 GB)",
"Use if you have enterprise GPU. (RAM OR VRAM required 38 GB)"
]
},
"firecoder.completion.autoMode.useGpu": {
"type": "boolean",
"default": false,
"description": "Enable experimental chat feature."
},
"firecoder.completion.manualMode": {
"type": "string",
"default": "base-small",
"markdownDescription": "Select a model for the manual mode based on your system specifications.",
"enum": [
"base-small",
"base-medium",
"base-large"
],
"enumDescriptions": [
"Use if you have only CPU. (RAM OR VRAM required 4 GB)",
"Use if you have standard GPU. (RAM OR VRAM required 10 GB)",
"Use if you have enterprise GPU. (RAM OR VRAM required 38 GB)"
]
},
"firecoder.completion.manualMode.useGpu": {
"type": "boolean",
"default": false,
"description": "Enable experimental chat feature."
}
}
}
},
"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"
}
}