-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.54 KB
/
package.json
File metadata and controls
81 lines (81 loc) · 2.54 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
{
"name": "ai-git-assistant",
"displayName": "AI Git Assistant",
"description": "Generate commit messages and create or update README files from your codebase.",
"version": "0.1.0",
"publisher": "local",
"private": true,
"engines": {
"vscode": "^1.96.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:aiCommitMessageGenerator.generateCommitMessage",
"onCommand:aiCommitMessageGenerator.generateReadme"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "aiCommitMessageGenerator.generateCommitMessage",
"title": "AI Git Assistant: Generate Commit Message"
},
{
"command": "aiCommitMessageGenerator.generateReadme",
"title": "AI Git Assistant: Create or Update README"
}
],
"configuration": {
"title": "AI Git Assistant",
"properties": {
"aiCommitMessageGenerator.apiKey": {
"type": "string",
"default": "",
"markdownDescription": "OpenAI API key used to generate commit messages and README content."
},
"aiCommitMessageGenerator.provider": {
"type": "string",
"enum": ["ollama", "openai"],
"default": "ollama",
"markdownDescription": "AI provider used for commit message and README generation."
},
"aiCommitMessageGenerator.model": {
"type": "string",
"default": "gpt-5-mini",
"markdownDescription": "OpenAI model used for commit message and README generation."
},
"aiCommitMessageGenerator.ollamaModel": {
"type": "string",
"default": "qwen2.5-coder:7b",
"markdownDescription": "Ollama model used when the provider is set to ollama."
},
"aiCommitMessageGenerator.ollamaBaseUrl": {
"type": "string",
"default": "http://127.0.0.1:11434",
"markdownDescription": "Base URL for the local Ollama server."
},
"aiCommitMessageGenerator.useSelectionFirst": {
"type": "boolean",
"default": true,
"markdownDescription": "Use the active editor selection before falling back to the staged diff."
}
}
}
},
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "tsc --noEmit -p ./",
"test": "npm run compile && node --test dist/test/*.test.js"
},
"dependencies": {
"openai": "^5.0.0"
},
"devDependencies": {
"@types/node": "^24.0.0",
"@types/vscode": "^1.96.0",
"typescript": "^5.8.0"
}
}