72 lines
2.2 KiB
JSON
72 lines
2.2 KiB
JSON
{
|
|
"name": "ai-commit-ext",
|
|
"displayName": "AI Commit Ext",
|
|
"description": "Generate commit messages using OpenCode AI",
|
|
"version": "1.0.1",
|
|
"publisher": "local",
|
|
"engines": {
|
|
"vscode": "^1.110.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"main": "./out/extension",
|
|
"activationEvents": [
|
|
"onCommand:aiCommitExt.generate"
|
|
],
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./",
|
|
"test": "echo \"No tests yet\"",
|
|
"build": "npx @vscode/vsce package --allow-missing-repository --skip-license"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.5.2",
|
|
"@types/vscode": "^1.110.0",
|
|
"typescript": "^6.0.2",
|
|
"vscode": "^1.1.37"
|
|
},
|
|
"contributes": {
|
|
"configuration": {
|
|
"title": "AI Commit Ext",
|
|
"properties": {
|
|
"aiCommitExt.model": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "OpenCode model to use (e.g. anthropic/claude-3-5-sonnet-20241022). Empty = default model."
|
|
},
|
|
"aiCommitExt.includeUnstaged": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Use unstaged changes if no staged changes exist"
|
|
},
|
|
"aiCommitExt.showNotification": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Show notification when commit message is generated"
|
|
}
|
|
}
|
|
},
|
|
"commands": [
|
|
{
|
|
"command": "aiCommitExt.generate",
|
|
"title": "Generate Commit Message",
|
|
"icon": "$(sparkle)",
|
|
"category": "AI Commit"
|
|
}
|
|
],
|
|
"menus": {
|
|
"scm/title": [
|
|
{
|
|
"when": "scmProvider == git",
|
|
"command": "aiCommitExt.generate",
|
|
"group": "navigation",
|
|
"icon": "$(sparkle)",
|
|
"alt": "aiCommitExt.generate"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|