-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 3.05 KB
/
package.json
File metadata and controls
119 lines (119 loc) · 3.05 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
{
"name": "codefast",
"displayName": "CodeFast",
"description": "Use Ollama to generate commit messages and analyze code",
"version": "0.0.1",
"publisher": "sudsarkar13",
"license": "MIT",
"icon": "icon.png",
"author": {
"name": "Sudeepta Sarkar",
"email": "sudsarkar13@gmail.com",
"url": "https://github.com/sudsarkar13"
},
"engines": {
"vscode": "^1.60.0",
"node": "^16.x.x || ^18.x.x || ^20.x.x"
},
"categories": [
"Other"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "codefast.generateCommitMessage",
"title": "Generate Commit Message"
}
],
"configuration": {
"title": "CodeFast",
"properties": {
"codefast.ollamaEndpoint": {
"type": "string",
"default": "http://127.0.0.1:11434/api/generate",
"description": "Ollama API endpoint"
},
"codefast.ollamaModel": {
"type": "string",
"default": "llama3.1:8b",
"description": "Ollama model to use"
},
"codefast.maxTokens": {
"type": "number",
"default": 150,
"description": "Maximum number of tokens to generate for commit messages"
},
"codefast.temperature": {
"type": "number",
"default": 0.7,
"minimum": 0,
"maximum": 1,
"description": "Temperature for text generation (0-1, higher values make output more random)"
},
"codefast.useEmoji": {
"type": "boolean",
"default": true,
"description": "Include emojis in generated commit messages"
},
"codefast.commitConvention": {
"type": "string",
"enum": [
"conventional",
"gitmoji",
"custom"
],
"default": "conventional",
"description": "Commit message convention to follow"
},
"codefast.customPrompt": {
"type": "string",
"default": "",
"description": "Custom prompt to use for commit message generation (leave empty to use default)"
},
"codefast.includeCodeSnippets": {
"type": "boolean",
"default": false,
"description": "Include relevant code snippets in the commit message prompt"
},
"codefast.maxRetries": {
"type": "number",
"default": 3,
"description": "Maximum number of retries for API calls"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint .",
"test": "node ./out/test/runTest.js",
"coverage": "nyc npm run test",
"build": "npm run compile"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^16.x.x",
"@types/sinon": "^10.0.13",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.0.0",
"@vscode/test-electron": "^2.3.8",
"axios": "^1.7.7",
"eslint": "^7.32.0",
"glob": "^7.1.6",
"mocha": "^10.7.3",
"nyc": "^15.1.0",
"sinon": "^15.0.1",
"typescript": "^4.4.4",
"vscode": "^1.1.34"
},
"repository": {
"type": "git",
"url": "https://github.com/sudsarkar13/codefast-copilot-local-commit-buddy.git"
},
"packageManager": "yarn@4.4.1"
}