-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
137 lines (137 loc) · 3.97 KB
/
package.json
File metadata and controls
137 lines (137 loc) · 3.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
{
"name": "claude-commit",
"publisher": "neoz",
"displayName": "Claude Commit Message",
"description": "Generate commit messages using Claude Code",
"version": "1.4.1",
"repository": {
"type": "git",
"url": "https://github.com/neoz/vscode-commit-assistant.git"
},
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"enabledApiProposals": [
"contribSourceControlInputBoxMenu"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "claude-commit.generate",
"title": "Generate Commit Message with AI",
"icon": "$(wand)"
},
{
"command": "claude-commit.nextSplitCommit",
"title": "Advance to Next Split Commit"
}
],
"menus": {
"scm/inputBox": [
{
"command": "claude-commit.generate",
"group": "navigation",
"when": "scmProvider == git"
}
],
"scm/title": [
{
"command": "claude-commit.generate",
"group": "navigation",
"when": "scmProvider == git"
}
]
},
"configuration": {
"title": "Claude Commit",
"properties": {
"claude-commit.timeout": {
"type": "number",
"default": 30000,
"minimum": 5000,
"maximum": 120000,
"description": "Timeout in milliseconds for commit message generation (default: 30000)"
},
"claude-commit.prompt": {
"type": "string",
"default": "",
"editPresentation": "multilineText",
"description": "Custom system prompt for commit message generation. Leave empty to use the default prompt."
},
"claude-commit.userPrompt": {
"type": "string",
"default": "",
"editPresentation": "multilineText",
"description": "Custom user prompt template. Use {diff} as placeholder for the diff content. Leave empty to use default."
},
"claude-commit.excludePatterns": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"**/.env*",
"**/*.pem",
"**/*.key",
"**/*.p12",
"**/*.pfx",
"**/credentials*",
"**/secrets*",
"**/*secret*",
"**/.ssh/*",
"**/*.credentials"
],
"description": "Glob patterns for files to exclude from commit message generation (protects sensitive files)"
},
"claude-commit.provider": {
"type": "string",
"enum": [
"claude",
"vscode-lm"
],
"enumDescriptions": [
"Use Claude Code CLI (requires Claude Code installation)",
"Use VS Code Language Model API (requires GitHub Copilot or compatible provider)"
],
"default": "claude",
"description": "AI provider for commit message generation"
},
"claude-commit.model": {
"type": "string",
"default": "sonnet",
"description": "Model to use. For Claude: 'haiku', 'sonnet', or 'opus'. For VS Code LM: model family like 'gpt-4o', 'claude-3.5-sonnet'"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package:prod",
"compile": "npm run check-types && node esbuild.js",
"watch": "node esbuild.js --watch",
"check-types": "tsc --noEmit",
"package:prod": "npm run check-types && node esbuild.js --production",
"package": "standard-version && vsce package"
},
"dependencies": {
"@anthropic-ai/claude-agent-sdk": "^0.1.0",
"minimatch": "^10.2.4",
"zod": "^3.25.0"
},
"devDependencies": {
"@types/minimatch": "^5.1.2",
"@types/node": "^20.0.0",
"@types/vscode": "^1.85.0",
"@vscode/vsce": "^3.2.2",
"esbuild": "^0.27.2",
"standard-version": "^9.5.0",
"typescript": "^5.3.0"
},
"extensionDependencies": [
"vscode.git"
]
}