-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
234 lines (234 loc) · 7.85 KB
/
package.json
File metadata and controls
234 lines (234 loc) · 7.85 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
{
"name": "commit-maker",
"displayName": "Commit Maker – コミットメーカー",
"description": "Git の差分から AI でコミットメッセージを自動生成し、SCM 入力欄へ反映する BYOK 拡張(コミットメーカー)。AI commit message generator for Git diff that auto-fills the SCM box (BYOK).",
"version": "0.2.10",
"publisher": "Hiromitsu",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/Hiromitsu-A-T/commit-maker.git"
},
"homepage": "https://github.com/Hiromitsu-A-T/commit-maker#readme",
"bugs": {
"url": "https://github.com/Hiromitsu-A-T/commit-maker/issues"
},
"engines": {
"vscode": "^1.94.0"
},
"categories": [
"SCM Providers",
"Other"
],
"keywords": [
"git",
"commit",
"commit message",
"commit generator",
"commit ai",
"commit auto",
"scm",
"scm input",
"ai",
"auto commit message",
"ai commit message",
"llm",
"byok",
"openai",
"gemini",
"claude",
"vscode",
"コミット",
"コミットメッセージ",
"コミット生成",
"コミット自動生成",
"コミットメーカー",
"AIコミット",
"AIコミットメッセージ",
"コミットメッセージ自動生成",
"Git コミット",
"差分から生成",
"Git 拡張",
"SecretStorage"
],
"galleryBanner": {
"color": "#0b1726",
"theme": "dark"
},
"icon": "media/commit-maker.png",
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "commitMaker.showPanel",
"title": "%command.commitMaker.showPanel.title%",
"icon": "$(panel-right)"
},
{
"command": "commitMaker.generateCommitFromSCM",
"title": "%command.commitMaker.generateCommitFromSCM.title%",
"category": "%command.commitMaker.category%",
"icon": "$(wand)"
},
{
"command": "commitMaker.cancelCommitFromSCM",
"title": "%command.commitMaker.cancelCommitFromSCM.title%",
"category": "%command.commitMaker.category%",
"icon": "$(stop)"
},
{
"command": "commitMaker.saveApiKey",
"title": "%command.commitMaker.saveApiKey.title%",
"category": "%command.commitMaker.category%",
"icon": "$(key)"
}
],
"menus": {
"scm/title": [
{
"command": "commitMaker.generateCommitFromSCM",
"group": "navigation@9",
"when": "scmProvider == git && !commitMaker.commitGenerating"
},
{
"command": "commitMaker.cancelCommitFromSCM",
"group": "navigation@8",
"when": "scmProvider == git && commitMaker.commitGenerating"
}
]
},
"configuration": {
"title": "%configuration.commitMaker.title%",
"properties": {
"commitMaker.provider": {
"type": "string",
"enum": [
"openai",
"gemini",
"claude"
],
"default": "gemini",
"description": "選択する LLM プロバイダー"
},
"commitMaker.endpoint": {
"type": "string",
"default": "https://api.openai.com/v1/responses",
"description": "OpenAI (Responses/Chat Completions) 用エンドポイント"
},
"commitMaker.endpointGemini": {
"type": "string",
"default": "https://generativelanguage.googleapis.com/v1beta/models",
"description": "Google Gemini generateContent ベース URL"
},
"commitMaker.endpointClaude": {
"type": "string",
"default": "https://api.anthropic.com/v1/messages",
"description": "Anthropic Claude messages API エンドポイント"
},
"commitMaker.model": {
"type": "string",
"default": "gemini-2.5-flash-lite",
"description": "コミット生成に使用するモデル ID"
},
"commitMaker.reasoningEffort": {
"type": "string",
"enum": [
"none",
"low",
"medium",
"high"
],
"default": "medium",
"description": "OpenAI Responses API 用 reasoning.effort"
},
"commitMaker.verbosity": {
"type": "string",
"enum": [
"low",
"medium",
"high"
],
"default": "medium",
"description": "OpenAI Responses API の text.verbosity"
},
"commitMaker.apiKeySecret": {
"type": "string",
"default": "commit-maker/api-key",
"description": "OpenAI 用 API キーを保存する SecretStorage のキー名"
},
"commitMaker.apiKeySecretGemini": {
"type": "string",
"default": "commit-maker/api-key/gemini",
"description": "Gemini 用 API キーを保存する SecretStorage のキー名"
},
"commitMaker.apiKeySecretClaude": {
"type": "string",
"default": "commit-maker/api-key/claude",
"description": "Claude 用 API キーを保存する SecretStorage のキー名"
},
"commitMaker.requestTimeoutMs": {
"type": "number",
"default": 300000,
"description": "LLM 呼び出しタイムアウト (ミリ秒)。0 で無制限"
},
"commitMaker.maxOutputTokens": {
"type": "number",
"default": 8192,
"description": "OpenAI /v1/responses へ送る max_output_tokens の上限"
},
"commitMaker.logLlm": {
"type": "boolean",
"default": false,
"description": "LLM へのリクエスト/リトライを Output チャネルに記録する"
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "commitMakerContainer",
"title": "%views.activitybar.commitMaker.title%",
"icon": "media/commit-maker-activitybar.svg"
}
]
},
"views": {
"commitMakerContainer": [
{
"id": "commitMakerView",
"name": "%views.commitMakerContainer.commitMakerView.name%",
"type": "webview",
"icon": "media/commit-maker-activitybar.svg"
}
]
}
},
"scripts": {
"compile": "tsc -p .",
"watch": "tsc -w -p .",
"test": "ts-node --project tsconfig.json src/testRunner.ts",
"dev:prep": "npm run build:nls && npm run compile",
"build:nls": "node scripts/copy-package-nls.js",
"clean:nls": "node scripts/clean-package-nls.js",
"package": "npm run compile && npm run build:media && npm run build:nls && npx vsce package --no-rewrite-relative-links && npm run clean:nls",
"publish:marketplace": "npx vsce publish",
"publish:openvsx": "npx ovsx publish --packagePath vsix/commit-maker-*.vsix",
"clean:vsix": "node scripts/clean-vsix.js",
"build:media": "tsc -p media/tsconfig.json",
"smoke:openai": "ts-node --transpile-only scripts/smoke-openai.ts",
"smoke:openai:response": "ts-node --transpile-only scripts/smoke-openai-response.ts",
"smoke:openai:matrix": "ts-node --transpile-only scripts/smoke-openai-matrix.ts",
"smoke:gemini": "ts-node --transpile-only scripts/smoke-gemini.ts",
"smoke:gemini:matrix": "ts-node --transpile-only scripts/smoke-gemini-matrix.ts",
"smoke:claude": "ts-node --transpile-only scripts/smoke-claude.ts",
"smoke:claude:matrix": "ts-node --transpile-only scripts/smoke-claude-matrix.ts"
},
"devDependencies": {
"@types/node": "^18.19.0",
"@types/vscode": "^1.94.0",
"@vscode/vsce": "^3.7.1",
"ovsx": "^0.10.4",
"ts-node": "^10.9.2",
"typescript": "^5.6.3"
}
}