-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
119 lines (114 loc) · 3.29 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
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": "auto-config-env",
"displayName": "auto_config_env",
"description": "An extension to auto config environment of python project with LLMs.",
"publisher": "WanjingHuang",
"icon": "resources/logo.png",
"repository": {
"type": "git",
"url": "https://github.com/hwj20/auto-config-env"
},
"version": "1.0.16",
"engines": {
"vscode": "^1.91.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:python",
"workspaceContains:pyrightconfig.json"
],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "auto_config_env.autoConfig",
"title": "Auto Install Requirements",
"icon": {
"light": "resources/light/Import-light.png",
"dark": "resources/dark/Import-dark.png"
}
},
{
"command": "auto_config_env.runPythonAndHandleErrors",
"title": "Environment Debug",
"icon": {
"light": "resources/light/autoconfig-light.png",
"dark": "resources/dark/autoconfig-dark.png"
}
},
{
"command": "auto_config_env.completeImports",
"title": "Complete Imports",
"icon": {
"light": "resources/light/generate-import-light.png",
"dark": "resources/dark/generate-import-dark.png"
}
},
{
"command": "auto_config_env.generateRequirements",
"title": "Genearte Requirements.txt"
}
],
"menus": {
"editor/title": [
{
"command": "auto_config_env.autoConfig",
"when": "resourceExtname == .py",
"group": "navigation"
},
{
"command": "auto_config_env.runPythonAndHandleErrors",
"when": "resourceExtname == .py",
"group": "navigation"
},
{
"command": "auto_config_env.completeImports",
"when": "resourceExtname == .py",
"group": "navigation"
}
],
"explorer/context": [
{
"command": "auto_config_env.generateRequirements",
"when": "explorerResourceIsFolder",
"group": "navigation"
}
]
},
"configuration": {
"type": "object",
"properties": {
"auto_config_env.openaiApiKey": {
"type": "string",
"default": "",
"description": "Your OpenAI API Key"
},
"auto_config_env.gpt_model": {
"type": "string",
"default": "gpt-3.5-turbo-1106",
"description": "Choose the default OpenAI model."
}
}
}
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.7",
"@types/node": "20.x",
"@types/vscode": "^1.91.0",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0",
"eslint": "^8.57.0",
"typescript": "^5.4.5"
},
"dependencies": {
"axios": "^1.7.2",
"openai": "^4.52.7"
}
}