-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
283 lines (283 loc) · 9.97 KB
/
package.json
File metadata and controls
283 lines (283 loc) · 9.97 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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
{
"name": "nopilot",
"displayName": "NoPilot",
"description": "Provider-switching AI coding for VS Code with a chat panel, inline completions, inline chat, commit messages, usage visibility, and local or remote model endpoints.",
"version": "0.3.4",
"publisher": "hanjo92",
"license": "MIT",
"icon": "media/icon.png",
"galleryBanner": {
"color": "#2563eb",
"theme": "dark"
},
"repository": {
"type": "git",
"url": "https://github.com/Hanjo92/NoPilot.git"
},
"bugs": {
"url": "https://github.com/Hanjo92/NoPilot/issues"
},
"homepage": "https://github.com/Hanjo92/NoPilot#readme",
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"AI",
"Machine Learning",
"Programming Languages"
],
"keywords": [
"ai",
"copilot",
"claude",
"openai",
"gemini",
"ollama",
"remote ollama",
"local ai",
"vscode lm",
"inline completion",
"inline chat",
"provider switcher",
"activity bar",
"chat panel",
"usage dashboard",
"code completion",
"commit message"
],
"activationEvents": [
"onLanguage",
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "nopilot.generateCommitMessage",
"title": "NoPilot: Generate Commit Message",
"icon": "$(sparkle)"
},
{
"command": "nopilot.toggleInline",
"title": "NoPilot: Toggle Inline Suggestions"
},
{
"command": "nopilot.openSettings",
"title": "NoPilot: Open Settings",
"icon": "$(gear)"
},
{
"command": "nopilot.openChatPanel",
"title": "NoPilot: Open Chat Panel",
"icon": "$(comment-discussion)"
},
{
"command": "nopilot.switchProvider",
"title": "NoPilot: Select Provider / Model"
},
{
"command": "nopilot.setApiKey",
"title": "NoPilot: Set API Key"
},
{
"command": "nopilot.inlineChat",
"title": "NoPilot: Inline Chat (Edit/Replace)"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "nopilot",
"title": "NoPilot",
"icon": "media/nopilot-activity.svg"
}
]
},
"views": {
"nopilot": [
{
"id": "nopilot.chatView",
"name": "Chat"
},
{
"id": "nopilot.menu",
"name": "Menu"
}
]
},
"menus": {
"scm/title": [
{
"command": "nopilot.generateCommitMessage",
"group": "navigation",
"when": "scmProvider == git"
}
]
},
"keybindings": [
{
"command": "nopilot.inlineChat",
"key": "ctrl+i",
"mac": "cmd+i",
"when": "editorTextFocus"
}
],
"configuration": {
"title": "NoPilot",
"properties": {
"nopilot.provider": {
"type": "string",
"enum": [
"vscode-lm",
"anthropic",
"openai",
"openai-compatible",
"gemini",
"ollama"
],
"default": "vscode-lm",
"description": "Active provider for NoPilot requests. Switch from the Activity Bar menu, status bar, settings dashboard, or Command Palette."
},
"nopilot.model": {
"type": "string",
"default": "",
"description": "Optional VS Code LM model key override. Leave empty to use the provider default or choose a model from NoPilot."
},
"nopilot.inline.enabled": {
"type": "boolean",
"default": true,
"description": "Enable automatic NoPilot inline code suggestions."
},
"nopilot.inline.qualityProfile": {
"type": "string",
"enum": [
"fast",
"balanced",
"rich"
],
"enumDescriptions": [
"Prefer lower latency and smaller automatic requests.",
"Keep the current default balance between speed and suggestion depth.",
"Allow richer automatic suggestions with more context and a more eager trigger."
],
"default": "balanced",
"description": "Quality profile for automatic inline suggestions."
},
"nopilot.inline.pauseWhenCopilotActive": {
"type": "boolean",
"default": true,
"description": "Skip automatic NoPilot inline requests when GitHub Copilot is active for the current language."
},
"nopilot.inline.debounceMs": {
"type": "number",
"default": 500,
"minimum": 100,
"maximum": 2000,
"description": "Delay in milliseconds before NoPilot requests an automatic inline suggestion."
},
"nopilot.inline.maxPrefixLines": {
"type": "number",
"default": 50,
"description": "Maximum lines before the cursor to include as inline context."
},
"nopilot.inline.maxSuffixLines": {
"type": "number",
"default": 20,
"description": "Maximum lines after the cursor to include as inline context."
},
"nopilot.commitMessage.language": {
"type": "string",
"default": "en",
"description": "Language for generated commit messages, such as en, ko, or ja."
},
"nopilot.commitMessage.format": {
"type": "string",
"enum": [
"conventional",
"simple"
],
"default": "conventional",
"description": "Format for generated commit messages."
},
"nopilot.commitMessage.customPrompt": {
"type": "string",
"default": "",
"description": "Custom commit message prompt template. Supports {{diff}} and {{language}}. When set, this overrides the preset format."
},
"nopilot.anthropic.model": {
"type": "string",
"default": "claude-sonnet-4-20250514",
"description": "Anthropic model to use when Anthropic is the active provider."
},
"nopilot.openai.model": {
"type": "string",
"default": "gpt-5-mini",
"description": "OpenAI model to use when OpenAI is the active provider."
},
"nopilot.openaiCompatible.baseUrl": {
"type": "string",
"default": "",
"description": "OpenAI-compatible API base URL, for example https://llm.example.com/v1."
},
"nopilot.openaiCompatible.model": {
"type": "string",
"default": "gpt-oss:20b",
"description": "Model name exposed by your OpenAI-compatible endpoint."
},
"nopilot.gemini.model": {
"type": "string",
"default": "gemini-2.5-flash",
"description": "Gemini model to use when Gemini is the active provider."
},
"nopilot.ollama.endpoint": {
"type": "string",
"default": "http://localhost:11434",
"description": "Ollama server endpoint, local or remote."
},
"nopilot.ollama.remoteMode": {
"type": "string",
"enum": [
"auto",
"forced-on",
"forced-off"
],
"enumDescriptions": [
"Automatically optimize inline suggestions when Ollama behaves like a remote endpoint.",
"Always use remote-optimized inline behavior for Ollama.",
"Never use remote-optimized inline behavior for Ollama."
],
"default": "auto",
"description": "Remote Ollama optimization mode for inline suggestions."
},
"nopilot.ollama.model": {
"type": "string",
"default": "codellama",
"description": "Ollama completion model to use when Ollama is the active provider."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run build",
"build": "node esbuild.js --production",
"watch": "node esbuild.js --watch",
"compile": "tsc -noEmit",
"test": "tsc -p tsconfig.test.json && node --test .test-dist/packageManifest.test.js .test-dist/providers/modelSelection.test.js .test-dist/providers/providerManager.source.test.js .test-dist/providers/providerConfig.test.js .test-dist/providers/vscodeLmProvider.source.test.js .test-dist/providers/ollamaProvider.source.test.js .test-dist/providers/directApiProviders.source.test.js .test-dist/providers/directProviderModels.test.js .test-dist/providers/ollamaModels.test.js .test-dist/providers/ollamaRemoteMode.test.js .test-dist/providers/prompts.test.js .test-dist/providers/inlineStrategies.test.js .test-dist/providers/providerCredentials.test.js .test-dist/features/commitMessageGenerator.source.test.js .test-dist/features/inlineBlockContext.test.js .test-dist/features/inlineProjectContext.test.js .test-dist/features/inlineText.test.js .test-dist/features/inlineCompletionProvider.wiring.test.js .test-dist/features/inlineContextCache.test.js .test-dist/features/copilotDetection.test.js .test-dist/features/inlineRequestStatus.test.js .test-dist/extension.source.test.js .test-dist/ui/chatView.source.test.js .test-dist/ui/chatView.test.js .test-dist/ui/statusBarPresentation.source.test.js .test-dist/ui/statusBarPresentation.test.js .test-dist/ui/settingsPanelActions.source.test.js .test-dist/ui/settingsPanel.source.test.js .test-dist/ui/settingsPanelState.source.test.js .test-dist/ui/settingsPanelState.test.js .test-dist/ui/settingsWebview.test.js .test-dist/ui/settingsWebviewScript.source.test.js .test-dist/ui/settingsPanelActions.test.js .test-dist/services/authService.source.test.js .test-dist/services/gitSelection.test.js",
"lint": "eslint src"
},
"devDependencies": {
"@eslint/js": "^9.24.0",
"@types/node": "^20.11.0",
"@types/vscode": "^1.90.0",
"esbuild": "^0.21.0",
"eslint": "^9.24.0",
"globals": "^16.0.0",
"typescript-eslint": "^8.29.0",
"typescript": "^5.4.0"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.32.0",
"@google/generative-ai": "^0.21.0",
"openai": "^4.70.0"
}
}