|
11 | 11 | "engines": {
|
12 | 12 | "vscode": "^1.98.0"
|
13 | 13 | },
|
14 |
| - "categories": [ |
15 |
| - "Machine Learning", |
16 |
| - "Programming Languages" |
17 |
| - ], |
| 14 | + "categories": ["Machine Learning", "Programming Languages"], |
18 | 15 | "icon": "icon.jpg",
|
19 | 16 | "license": "MIT",
|
20 |
| - "keywords": [ |
21 |
| - "code", |
22 |
| - "assistant", |
23 |
| - "ai", |
24 |
| - "llm", |
25 |
| - "commits", |
26 |
| - "ollama" |
27 |
| - ], |
| 17 | + "keywords": ["code", "assistant", "ai", "llm", "commits", "ollama"], |
28 | 18 | "main": "./out/extension.js",
|
29 | 19 | "activationEvents": [],
|
30 | 20 | "contributes": {
|
|
80 | 70 | "default": false,
|
81 | 71 | "order": 2
|
82 | 72 | },
|
83 |
| - "commitollama.commitEmojis": { |
84 |
| - "type": "object", |
85 |
| - "description": "Map commit types to emojis. Only used if emojis are enabled.", |
86 |
| - "default": { |
87 |
| - "feat": "✨", |
88 |
| - "fix": "🐛", |
89 |
| - "docs": "📝", |
90 |
| - "style": "💎", |
91 |
| - "refactor": "♻️", |
92 |
| - "test": "🧪", |
93 |
| - "chore": "📦", |
94 |
| - "revert": "⏪" |
95 |
| - }, |
| 73 | + "commitollama.useLowerCase": { |
| 74 | + "type": "boolean", |
| 75 | + "description": "Enable or disable lowercase commit messages.", |
| 76 | + "default": false, |
96 | 77 | "order": 3
|
97 | 78 | },
|
98 |
| - "commitollama.custom.endpoint": { |
| 79 | + "commitollama.language": { |
99 | 80 | "type": "string",
|
100 |
| - "description": "Ollama Server Endpoint. Leave empty to use the default ollama endpoint.", |
| 81 | + "enum": [ |
| 82 | + "Arabic", |
| 83 | + "Chinese", |
| 84 | + "English", |
| 85 | + "French", |
| 86 | + "German", |
| 87 | + "Italian", |
| 88 | + "Japanese", |
| 89 | + "Korean", |
| 90 | + "Portuguese", |
| 91 | + "Russian", |
| 92 | + "Spanish", |
| 93 | + "Custom" |
| 94 | + ], |
| 95 | + "description": "Language for commit messages.", |
| 96 | + "default": "English", |
101 | 97 | "order": 4
|
102 | 98 | },
|
| 99 | + "commitollama.promptTemperature": { |
| 100 | + "type": "number", |
| 101 | + "minimum": 0, |
| 102 | + "maximum": 1, |
| 103 | + "description": "Custom temperature for generating the commit message. (Higher number = more creative)", |
| 104 | + "default": 0.2, |
| 105 | + "order": 7 |
| 106 | + }, |
| 107 | + "commitollama.commitTemplate": { |
| 108 | + "type": "string", |
| 109 | + "description": "Custom template for commit messages.", |
| 110 | + "default": "{{type}} {{emoji}}: {{message}}", |
| 111 | + "order": 8 |
| 112 | + }, |
103 | 113 | "commitollama.custom.model": {
|
104 | 114 | "type": "string",
|
105 | 115 | "description": "Allows you to specify any model name. The model has to be downloaded and available on your Ollama instance. **Note:** Ignored if `commitollama.model` is not set to \"Custom\".",
|
106 | 116 | "order": 5
|
107 | 117 | },
|
108 |
| - "commitollama.custom.summaryPrompt": { |
| 118 | + "commitollama.custom.language": { |
109 | 119 | "type": "string",
|
110 |
| - "description": "Custom prompt to summarize the git diff.", |
| 120 | + "description": "Allows you to specify any language for the commit messages. **Note:** Ignored if `commitollama.language` is not set to \"Custom\".", |
111 | 121 | "order": 6
|
112 | 122 | },
|
113 |
| - "commitollama.custom.summaryTemperature": { |
114 |
| - "type": "number", |
115 |
| - "minimum": 0, |
116 |
| - "maximum": 1, |
117 |
| - "description": "Custom temperature to summarize the git diff. (Higher number = more creative)", |
118 |
| - "default": 0.8, |
119 |
| - "order": 7 |
| 123 | + "commitollama.custom.emojis": { |
| 124 | + "type": "object", |
| 125 | + "description": "Map commit types to emojis. Only used if emojis are enabled.", |
| 126 | + "order": 9 |
| 127 | + }, |
| 128 | + "commitollama.custom.endpoint": { |
| 129 | + "type": "string", |
| 130 | + "description": "Ollama Server Endpoint. Leave empty to use the default ollama endpoint.", |
| 131 | + "order": 10 |
120 | 132 | },
|
121 |
| - "commitollama.custom.commitPrompt": { |
| 133 | + "commitollama.custom.prompt": { |
122 | 134 | "type": "string",
|
123 | 135 | "description": "Custom prompt to generate the commit message with.",
|
124 |
| - "order": 8 |
| 136 | + "order": 11 |
125 | 137 | },
|
126 |
| - "commitollama.custom.commitTemperature": { |
127 |
| - "type": "number", |
128 |
| - "minimum": 0, |
129 |
| - "maximum": 1, |
130 |
| - "description": "Custom temperature for generating the commit message. (Higher number = more creative)", |
131 |
| - "default": 0.2, |
132 |
| - "order": 9 |
| 138 | + "commitollama.custom.typeRules": { |
| 139 | + "type": "string", |
| 140 | + "description": "Custom rules for commit message types.", |
| 141 | + "order": 12 |
133 | 142 | },
|
134 |
| - "commitollama.useLowerCase": { |
135 |
| - "type": "boolean", |
136 |
| - "description": "Enable or disable lowercase commit messages.", |
137 |
| - "default": false, |
138 |
| - "order": 10 |
| 143 | + "commitollama.custom.commitMessageRules": { |
| 144 | + "type": "string", |
| 145 | + "description": "Custom rules for commit messages.", |
| 146 | + "order": 13 |
139 | 147 | },
|
140 |
| - "commitollama.commitTemplate": { |
| 148 | + "commitollama.custom.descriptionPrompt": { |
141 | 149 | "type": "string",
|
142 |
| - "description": "Custom template for commit messages.", |
143 |
| - "default": "{{type}} {{emoji}}: {{message}}", |
144 |
| - "order": 11 |
| 150 | + "description": "Custom prompt to generate the commit description with.", |
| 151 | + "order": 14 |
145 | 152 | }
|
146 | 153 | }
|
147 | 154 | }
|
|
156 | 163 | "format-fix": "npx @biomejs/biome format ./src --fix",
|
157 | 164 | "test": "vscode-test",
|
158 | 165 | "publish": "npm run build && vsce publish",
|
| 166 | + "publish:major": "npm run build && vsce publish major", |
159 | 167 | "publish:minor": "npm run build && vsce publish minor",
|
160 | 168 | "publish:patch": "npm run build && vsce publish patch",
|
161 | 169 | "package": "vsce package"
|
162 | 170 | },
|
163 | 171 | "devDependencies": {
|
164 | 172 | "@biomejs/biome": "1.9.4",
|
165 | 173 | "@types/mocha": "10.0.10",
|
166 |
| - "@types/node": "22.15.2", |
| 174 | + "@types/node": "22.15.29", |
167 | 175 | "@types/sinon": "17.0.4",
|
168 | 176 | "@types/vscode": "^1.98.0",
|
169 |
| - "@vscode/test-cli": "0.0.10", |
170 |
| - "@vscode/test-electron": "2.4.1", |
171 |
| - "esbuild": "0.25.3", |
172 |
| - "mocha": "11.1.0", |
173 |
| - "sinon": "19.0.2", |
| 177 | + "@vscode/test-cli": "0.0.11", |
| 178 | + "@vscode/test-electron": "2.5.2", |
| 179 | + "esbuild": "0.25.5", |
| 180 | + "mocha": "11.5.0", |
| 181 | + "sinon": "20.0.0", |
174 | 182 | "typescript": "5.8.3"
|
175 | 183 | },
|
176 | 184 | "dependencies": {
|
177 |
| - "ollama": "0.5.15" |
| 185 | + "ollama": "0.5.16" |
178 | 186 | },
|
179 |
| - "extensionDependencies": [ |
180 |
| - "vscode.git" |
181 |
| - ] |
| 187 | + "extensionDependencies": ["vscode.git"] |
182 | 188 | }
|
0 commit comments