-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 4.07 KB
/
package.json
File metadata and controls
112 lines (112 loc) · 4.07 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
{
"name": "justcommit",
"displayName": "Just Commit",
"description": "Generate commit messages with Gemini",
"version": "1.0.2",
"publisher": "achendev",
"icon": "icons/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/achendev/justcommit.git"
},
"license": "MIT",
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:justcommit.generateCommitMessage"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "justcommit.generateCommitMessage",
"title": "Just Commit: Generate Commit Message",
"icon": {
"light": "./icons/button-light.svg",
"dark": "./icons/button-dark.svg"
}
}
],
"menus": {
"scm/title": [
{
"when": "scmProvider == git",
"command": "justcommit.generateCommitMessage",
"group": "navigation",
"arguments": [
"$scmProvider"
]
}
]
},
"configuration": {
"title": "Just Commit",
"properties": {
"justcommit.gemini.apiKey": {
"type": "string",
"default": "",
"description": "Your Google Gemini API Key."
},
"justcommit.gemini.model": {
"type": "string",
"default": "gemini-flash-lite-latest",
"description": "The Gemini model to use."
},
"justcommit.gemini.customInstructions": {
"type": "string",
"default": "Answer with a very short commit message based on the changes. Also use categories like Feature, Refactor, Fix, etc. Don't shorten Feature to Feat. The commit message must be a single line.",
"description": "Custom instructions for the AI model.",
"editPresentation": "multilineText"
},
"justcommit.gemini.twoWaySyncEnabled": {
"type": "boolean",
"default": false,
"description": "Enable Custom Two-Way Replacements (Simple string matching)."
},
"justcommit.gemini.twoWaySyncRules": {
"type": "string",
"default": "local_value|placeholder_value",
"description": "Custom replacement rules, one per line, in the format 'local_value|placeholder_value'.",
"editPresentation": "multilineText"
},
"justcommit.gemini.autoMaskIPs": {
"type": "boolean",
"default": false,
"description": "Auto-Mask IP Addresses (IPv4 & IPv6) before sending changes to AI."
},
"justcommit.gemini.autoMaskEmails": {
"type": "boolean",
"default": false,
"description": "Auto-Mask Email Addresses before sending changes to AI."
},
"justcommit.gemini.autoMaskFQDNs": {
"type": "boolean",
"default": false,
"description": "Auto-Mask Domains (FQDNs) before sending changes to AI."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "webpack --mode production",
"watch": "webpack --mode development --watch",
"build": "npx vsce package"
},
"devDependencies": {
"@types/vscode": "^1.80.0",
"@types/node": "18.x",
"typescript": "^5.3.3",
"ts-loader": "^9.5.1",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4",
"@vscode/vsce": "^2.22.0"
},
"dependencies": {
"axios": "^1.6.2"
}
}