-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
93 lines (93 loc) · 2.34 KB
/
package.json
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
{
"name": "autopilot",
"displayName": "autopilot",
"description": "Self-hosted AI code generation for Visual Studio Code",
"version": "1.0.1",
"publisher": "strayfade",
"icon": "assets/icon.png",
"galleryBanner": {
"color": "#636363",
"theme": "dark"
},
"engines": {
"vscode": "^1.88.0"
},
"categories": [
"AI",
"Chat",
"Snippets",
"Other"
],
"keywords": [
"ai",
"assistant",
"self-hosted",
"generative",
"coding",
"snippets"
],
"repository": {
"type": "git",
"url": "https://github.com/strayfade/autopilot.git"
},
"activationEvents": [],
"main": "./extension.js",
"contributes": {
"configuration": {
"title": "Autopilot",
"properties": {
"autopilot.contextSize": {
"type": "integer",
"default": 50,
"description": "The number of lines before and after the cursor to include in the prompt context"
},
"autopilot.modelName": {
"type": "string",
"default": "llama3",
"description": "The name of the generative LLM model to use (available models at https://ollama.com/library)"
},
"autopilot.promptType": {
"type": "string",
"default": "generic",
"enum": [
"generic",
"codegemma"
],
"description": "The format to generate the LLM prompt in",
"enumDescriptions": [
"Formats the prompt automatically for compatibility with the widest array of language-processing LLMs",
"Formats the prompt for use with the codegemma code-generation LLM."
]
},
"autopilot.url": {
"type": "string",
"default": "http://localhost:11434/api/generate",
"description": "The API endpoint created by Ollama"
}
}
},
"commands": [
{
"command": "autopilot.run",
"title": "Autopilot: Generate code"
}
]
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.88.0",
"@vscode/test-cli": "^0.0.8",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.57.0",
"typescript": "^5.3.3"
},
"dependencies": {
"axios": "^1.7.4"
}
}