-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
376 lines (376 loc) · 12.6 KB
/
package.json
File metadata and controls
376 lines (376 loc) · 12.6 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
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
{
"name": "universal-commit-assistant",
"displayName": "Universal Commit Assistant",
"version": "1.6.0",
"description": "Universal AI-powered commit message generator supporting multiple providers and languages (OpenAI, Anthropic, Gemini, Mistral, DeepSeek, Qwen, Ollama, LM Studio, OpenRouter)",
"categories": [
"Other",
"Machine Learning",
"SCM Providers"
],
"keywords": [
"git",
"commit",
"ai",
"openai",
"anthropic",
"gemini",
"mistral",
"deepseek",
"qwen",
"ollama",
"automation",
"assistant",
"universal",
"multilingual",
"conventional-commits",
"source-control",
"lm-studio",
"openrouter",
"commit-message",
"productivity",
"devtools",
"vscode-extension"
],
"homepage": "https://github.com/gianged/universal-commit-assistant",
"bugs": {
"url": "https://github.com/gianged/universal-commit-assistant/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/gianged/universal-commit-assistant.git"
},
"license": "MIT",
"publisher": "gianged",
"main": "./out/extension.js",
"scripts": {
"compile": "tsc -p ./",
"compile-web": "webpack",
"package": "webpack --mode production --devtool hidden-source-map",
"package-web": "webpack --mode production --devtool hidden-source-map",
"release:dry-run": "semantic-release --dry-run",
"semantic-release": "semantic-release",
"vscode:prepublish": "npm run package",
"watch": "tsc -watch -p ./",
"watch-web": "webpack --watch"
},
"contributes": {
"commands": [
{
"command": "universal-commit-assistant.generateCommitMessage",
"title": "Generate Universal Commit Message",
"icon": "$(sparkle)"
},
{
"command": "universal-commit-assistant.clearAllSecrets",
"title": "Universal Commit Assistant: Clear All API Keys",
"icon": "$(trash)"
},
{
"command": "universal-commit-assistant.openSettings",
"title": "Universal Commit Assistant: Open Settings"
},
{
"command": "universal-commit-assistant.showSecretStatus",
"title": "Universal Commit Assistant: Show API Key Status"
}
],
"configuration": [
{
"title": "General",
"properties": {
"universal-commit-assistant.provider": {
"type": "string",
"default": "openai",
"enum": [
"openai",
"anthropic",
"gemini",
"mistral",
"deepseek",
"qwen",
"openrouter",
"ollama",
"lmstudio"
],
"enumDescriptions": [
"OpenAI GPT models",
"Anthropic Claude models",
"Google Gemini models",
"Mistral AI models",
"DeepSeek models",
"Alibaba Qwen models",
"OpenRouter proxy service",
"Local Ollama instance",
"Local LM Studio instance"
],
"description": "AI provider to use for generating commit messages",
"order": 1
},
"universal-commit-assistant.messageStyle": {
"type": "string",
"default": "conventional",
"enum": [
"conventional",
"concise",
"detailed",
"custom"
],
"enumDescriptions": [
"Conventional Commits format with type prefix (feat:, fix:, docs:, etc.)",
"Very short messages without type prefix (max 50 characters)",
"Detailed multi-line messages with explanations and bullet points",
"Use custom prompt template"
],
"description": "Style of commit messages to generate",
"order": 2
},
"universal-commit-assistant.language": {
"type": "string",
"default": "english",
"enum": [
"english",
"chinese",
"spanish",
"french",
"russian",
"japanese",
"korean",
"vietnamese"
],
"enumDescriptions": [
"English",
"中文 (Chinese)",
"Español (Spanish)",
"Français (French)",
"Русский (Russian)",
"日本語 (Japanese)",
"한국어 (Korean)",
"Tiếng Việt (Vietnamese)"
],
"description": "Language for generated commit messages",
"order": 3
},
"universal-commit-assistant.customPrompt": {
"type": "string",
"default": "",
"description": "Custom prompt template for commit message generation (used when messageStyle is 'custom')",
"order": 4
},
"universal-commit-assistant.systemPrompt": {
"type": "string",
"default": "You are a git commit message generator. Return ONLY the commit message with no additional text, explanations, or prefixes.",
"description": "Custom system prompt for AI providers",
"order": 5
},
"universal-commit-assistant.temperature": {
"type": "number",
"default": 0.3,
"minimum": 0,
"maximum": 2,
"description": "Temperature for AI responses (0 = deterministic, 2 = very creative)",
"order": 6
},
"universal-commit-assistant.maxTokens": {
"type": "number",
"default": 200,
"minimum": 100,
"maximum": 500,
"description": "Maximum tokens for generated commit messages",
"order": 7
},
"universal-commit-assistant.maxDiffLength": {
"type": "number",
"default": 100000,
"minimum": 1000,
"maximum": 100000,
"description": "Maximum characters of git diff to send to AI for deep analysis (uses smart truncation for larger diffs)",
"order": 8
},
"universal-commit-assistant.detectFirstCommit": {
"type": "boolean",
"default": true,
"description": "Automatically detect and generate appropriate initial commit messages for first commits",
"order": 9
},
"universal-commit-assistant.enableAnalytics": {
"type": "boolean",
"default": false,
"description": "Enable usage analytics (no sensitive data is collected)",
"order": 10
}
}
},
{
"title": "Cloud Providers",
"properties": {
"universal-commit-assistant.openai.model": {
"type": "string",
"default": "gpt-5.4",
"enum": [
"gpt-5.4",
"gpt-5.1",
"gpt-5.1-codex",
"gpt-5.1-codex-mini",
"gpt-5-mini",
"gpt-5"
],
"enumDescriptions": [
"GPT-5.4 - Latest model, best intelligence and speed (recommended)",
"GPT-5.1 - Previous generation, excellent balance",
"GPT-5.1 Codex - Optimized for coding tasks",
"GPT-5.1 Codex Mini - Fast coding model",
"GPT-5 Mini - Fast and cost-effective",
"GPT-5 - Previous flagship model"
],
"description": "OpenAI model to use"
},
"universal-commit-assistant.anthropic.model": {
"type": "string",
"default": "claude-haiku-4-5-20251001",
"enum": [
"claude-haiku-4-5-20251001",
"claude-sonnet-4-6",
"claude-opus-4-6"
],
"enumDescriptions": [
"Claude Haiku 4.5 - Fast and cost-effective (recommended)",
"Claude Sonnet 4.6 - Enhanced reasoning and coding capabilities",
"Claude Opus 4.6 - Most capable model with extended thinking"
],
"description": "Anthropic model to use"
},
"universal-commit-assistant.gemini.model": {
"type": "string",
"default": "gemini-3.1-pro-preview",
"enum": [
"gemini-3.1-pro-preview",
"gemini-3-flash-preview",
"gemini-3-pro",
"gemini-2.5-flash",
"gemini-2.5-pro"
],
"enumDescriptions": [
"Gemini 3.1 Pro - Reasoning-first model with 1M context (recommended)",
"Gemini 3 Flash - Fast with strong coding and reasoning",
"Gemini 3 Pro - Previous flagship (now aliases to 3.1 Pro)",
"Gemini 2.5 Flash - Fast and cost-effective",
"Gemini 2.5 Pro - Advanced reasoning with thinking mode"
],
"description": "Gemini model to use"
},
"universal-commit-assistant.mistral.model": {
"type": "string",
"default": "mistral-small-latest",
"description": "Mistral model to use"
},
"universal-commit-assistant.openrouter.model": {
"type": "string",
"default": "openai/gpt-5.4",
"description": "OpenRouter model to use"
},
"universal-commit-assistant.deepseek.model": {
"type": "string",
"default": "deepseek-chat",
"enum": [
"deepseek-chat",
"deepseek-reasoner"
],
"enumDescriptions": [
"DeepSeek-V3.1 (Non-thinking Mode) - Fast general purpose model",
"DeepSeek-V3.1 (Thinking Mode) - Reasoning model for complex tasks"
],
"description": "DeepSeek model to use"
},
"universal-commit-assistant.qwen.model": {
"type": "string",
"default": "qwen-plus",
"enum": [
"qwen-plus",
"qwen-max",
"qwen-turbo"
],
"enumDescriptions": [
"Qwen Plus - Balanced performance and cost (recommended)",
"Qwen Max - Most capable model",
"Qwen Turbo - Fastest model with 1M context"
],
"description": "Qwen model to use"
},
"universal-commit-assistant.qwen.baseUrl": {
"type": "string",
"default": "https://dashscope-intl.aliyuncs.com/compatible-mode/v1",
"enum": [
"https://dashscope-intl.aliyuncs.com/compatible-mode/v1",
"https://dashscope.aliyuncs.com/compatible-mode/v1"
],
"enumDescriptions": [
"International (Singapore) - For users outside China",
"China (Beijing) - For users in mainland China"
],
"description": "Qwen DashScope API region"
}
}
},
{
"title": "Local Providers",
"properties": {
"universal-commit-assistant.ollama.model": {
"type": "string",
"default": "llama3.2",
"description": "Ollama model to use"
},
"universal-commit-assistant.ollama.baseUrl": {
"type": "string",
"default": "http://localhost:11434",
"description": "Ollama server base URL"
},
"universal-commit-assistant.lmstudio.model": {
"type": "string",
"default": "llama-3.1-8b-instruct",
"description": "LM Studio model to use"
},
"universal-commit-assistant.lmstudio.baseUrl": {
"type": "string",
"default": "http://localhost:1234",
"description": "LM Studio server base URL"
}
}
}
],
"menus": {
"scm/title": [
{
"command": "universal-commit-assistant.generateCommitMessage",
"when": "scmProvider == git",
"group": "navigation"
}
]
}
},
"activationEvents": [
"onStartupFinished"
],
"dependencies": {
"axios": "^1.12.2"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^7.1.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^12.0.0",
"@semantic-release/npm": "^13.0.0",
"@types/node": "24.8.1",
"@types/vscode": "^1.95.0",
"@vscode/vsce": "^3.6.2",
"semantic-release": "^25.0.0",
"ts-loader": "^9.5.4",
"typescript": "^5.9.3",
"webpack": "^5.102.1",
"webpack-cli": "^6.0.1"
},
"engines": {
"vscode": "^1.95.0"
},
"icon": "logo.png"
}