|
2 | 2 | "name": "diff-commit", |
3 | 3 | "displayName": "Diff Commit", |
4 | 4 | "version": "0.3.9", |
5 | | - "description": "Generate detailed Git commit messages following the conventional commit specification using AI models. Choose between Anthropic's cloud-based models like Claude 4 Sonnet or local Ollama models for offline usage.", |
| 5 | + "description": "Generate detailed Git commit messages following the conventional commit specification using Anthropic's AI models like Claude 4 Sonnet.", |
6 | 6 | "categories": [ |
7 | 7 | "AI", |
8 | 8 | "SCM Providers" |
|
15 | 15 | "Anthropic", |
16 | 16 | "Claude Sonnet", |
17 | 17 | "Sonnet", |
18 | | - "Ollama", |
19 | | - "Local AI", |
20 | | - "Offline AI", |
21 | 18 | "Diff Commit", |
22 | 19 | "tpsTech", |
23 | 20 | "tsdevau" |
|
58 | 55 | "command": "diffCommit.deleteAPIKey", |
59 | 56 | "title": "DiffCommit: Delete stored API Key", |
60 | 57 | "icon": "$(trash)" |
61 | | - }, |
62 | | - { |
63 | | - "command": "diffCommit.configureOllamaModel", |
64 | | - "title": "DiffCommit: Configure Ollama Model", |
65 | | - "icon": "$(server-environment)" |
66 | | - }, |
67 | | - { |
68 | | - "command": "diffCommit.changeOllamaModel", |
69 | | - "title": "DiffCommit: Change Ollama Model", |
70 | | - "icon": "$(settings-gear)" |
71 | 58 | } |
72 | 59 | ], |
73 | 60 | "configuration": { |
74 | 61 | "title": "Diff Commit", |
75 | 62 | "properties": { |
76 | | - "diffCommit.provider": { |
77 | | - "type": "string", |
78 | | - "default": "anthropic", |
79 | | - "enum": [ |
80 | | - "anthropic", |
81 | | - "ollama" |
82 | | - ], |
83 | | - "enumDescriptions": [ |
84 | | - "Use Anthropic's Claude models (requires API key)", |
85 | | - "Use local Ollama models (requires Ollama server to be running)" |
86 | | - ], |
87 | | - "description": "Choose the AI provider for generating commit messages." |
88 | | - }, |
89 | 63 | "diffCommit.model": { |
90 | 64 | "type": "string", |
91 | 65 | "default": "claude-sonnet-4-0", |
|
97 | 71 | "claude-opus-4-0", |
98 | 72 | "claude-3-opus-latest" |
99 | 73 | ], |
100 | | - "description": "The Anthropic AI model to use for generating commit messages. This value is only used when provider is set as 'anthropic'." |
101 | | - }, |
102 | | - "diffCommit.ollamaHostname": { |
103 | | - "type": "string", |
104 | | - "default": "http://localhost:11434", |
105 | | - "description": "The URL of the local Ollama server (eg http://localhost:11434). This value is only used when provider is set as 'ollama'." |
106 | | - }, |
107 | | - "diffCommit.ollamaModel": { |
108 | | - "type": "string", |
109 | | - "default": "", |
110 | | - "description": "The Ollama model to use for generating commit messages. Use the 'Configure Ollama Model' command to configure this. This value is only used when provider is set as 'ollama'." |
| 74 | + "description": "The Anthropic AI model to use for generating commit messages." |
111 | 75 | }, |
112 | 76 | "diffCommit.maxTokens": { |
113 | 77 | "type": "number", |
|
134 | 98 | "type": "string" |
135 | 99 | }, |
136 | 100 | "default": [ |
137 | | - "chore", |
138 | | - "ci", |
139 | | - "docs", |
140 | 101 | "feat", |
141 | 102 | "fix", |
142 | | - "perf", |
143 | 103 | "refactor", |
| 104 | + "chore", |
| 105 | + "docs", |
144 | 106 | "style", |
145 | | - "test" |
| 107 | + "test", |
| 108 | + "perf", |
| 109 | + "ci" |
146 | 110 | ], |
147 | 111 | "description": "List of allowed commit types. If provided, this replaces the default options. So you need to ensure all required commit types are included in the list." |
148 | 112 | } |
|
177 | 141 | } |
178 | 142 | }, |
179 | 143 | "dependencies": { |
180 | | - "@anthropic-ai/sdk": "^0.39.0", |
181 | | - "ollama": "^0.5.16" |
| 144 | + "@anthropic-ai/sdk": "^0.39.0" |
182 | 145 | }, |
183 | 146 | "devDependencies": { |
184 | 147 | "@types/jest": "^29.5.14", |
|
0 commit comments