-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 2.95 KB
/
Copy pathpackage.json
File metadata and controls
92 lines (92 loc) · 2.95 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
{
"name": "commit-message",
"version": "0.1.3",
"icon": "resources/icon.png",
"displayName": "OpenRouter Commit Message",
"description": "Generate Git commit messages using OpenRouter API directly from your git diff.",
"publisher": "emanuelsaramago",
"license": "GPL-3.0-or-later",
"repository": {
"type": "git",
"url": "https://github.com/esaramago/commit-message"
},
"engines": {
"vscode": "^1.80.0"
},
"categories": [
"AI",
"Other"
],
"main": "./dist/extension.js",
"activationEvents": [],
"contributes": {
"commands": [
{
"command": "commit-message.generate",
"title": "OpenRouter Commit Message",
"icon": "$(sparkle)"
},
{
"command": "commit-message.setApiKey",
"title": "OpenRouter Commit Message: Set OpenRouter API Key"
},
{
"command": "commit-message.clearApiKey",
"title": "OpenRouter Commit Message: Clear OpenRouter API Key"
},
{
"command": "commit-message.selectModel",
"title": "OpenRouter Commit Message: Select OpenRouter Model"
}
],
"menus": {
"scm/title": [
{
"command": "commit-message.generate",
"group": "navigation",
"when": "scmRepositoryCount > 0"
}
]
},
"configuration": {
"title": "OpenRouter Commit Message",
"properties": {
"generateCommitMessage.model": {
"type": "string",
"default": "auto:free",
"description": "OpenRouter model to use. Use 'auto:free' to dynamically select active free models, or specify a model ID."
},
"generateCommitMessage.includeUnstagedIfNoStaged": {
"type": "boolean",
"default": true,
"description": "If there are no staged changes, use unstaged working tree changes."
},
"generateCommitMessage.customPrompt": {
"type": "string",
"default": "",
"description": "Optional extra instructions to append to the commit generation prompt."
},
"generateCommitMessage.enableTelemetry": {
"type": "boolean",
"default": true,
"description": "Send anonymous usage telemetry (model used, success/error status) to monitor extension performance. No code, diffs, or API keys are ever sent."
}
}
}
},
"scripts": {
"vscode:prepublish": "pnpm run compile",
"compile": "node esbuild.js",
"watch": "node esbuild.js --watch",
"typecheck": "tsc --noEmit",
"test": "esbuild test/prompt.test.ts test/telemetry.test.ts --bundle --platform=node --outdir=out/test --external:vscode && node --require ./test/mock-vscode.js --test out/test/prompt.test.js out/test/telemetry.test.js",
"generate": "npx --yes @vscode/vsce package"
},
"devDependencies": {
"@types/node": "^20.17.0",
"@types/vscode": "^1.80.0",
"esbuild": "^0.25.0",
"typescript": "^5.7.3"
},
"packageManager": "pnpm@12.4.2"
}