-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
248 lines (248 loc) · 7.72 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
{
"id": "Ask-chatGPT",
"name": "Ask-ChatGPT",
"description": "ChatGPT人工智能,支持写代码、解释代码、修复Bug、生成测试用例、对话聊天、图像生成,开箱即用无需任何配置,免代理免key",
"displayName": "Ask ChatGPT 人工智能",
"version": "1.9.0",
"publisher": "oneone",
"engines": {
"HBuilderX": "^3.0.0"
},
"categories": [
"Other"
],
"main": "./src/extension.js",
"activationEvents": [
"onCommand:askChatGPT.main",
"onCommand:askChatGPT.coding",
"onCommand:askChatGPT.explainCode",
"onCommand:askChatGPT.fixBug",
"onCommand:askChatGPT.GenerateTestCases",
"onCommand:askChatGPT.GenerateTestCasesUsingJest",
"onCommand:askChatGPT.prompts",
"onCommand:askChatGPT.setting",
"onCommand:askChatGPT.openActions",
"onCommand:askChatGPT.createActions",
"onCommand:askChatGPT.imagesGenerations",
"onCommand:askChatGPT.tokenizer",
"onCommand:askChatGPT.help",
"onCommand:askChatGPT.feedback",
"onView:AskChatGPTView"
],
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "AskChatGPTView",
"title": "ChatGPT",
"icon": {
"Default": "static/chatgpt.svg",
"Monokai": "static/chatgpt.svg",
"Atom One Dark": "static/chatgpt.svg"
}
}
]
},
"views": {
"AskChatGPTView": [
{
"id": "AskChatGPTView",
"title": "ChatGPT"
}
]
},
"commands": [
{
"command": "askChatGPT.main",
"title": "Ask ChatGPT(&A)"
},
{
"command": "askChatGPT.coding",
"title": "Coding ChatGPT(&C)"
},
{
"command": "askChatGPT.explainCode",
"title": "解释代码(&E)"
},
{
"command": "askChatGPT.fixBug",
"title": "查找并修复Bug(&F)"
},
{
"command": "askChatGPT.GenerateTestCases",
"title": "生成测试用例(&G)"
},
{
"command": "askChatGPT.GenerateTestCasesUsingJest",
"title": "使用Jest生成测试用例(&J)"
},
{
"command": "askChatGPT.prompts",
"title": "Prompt - 提示词列表(&P)"
},
{
"command": "askChatGPT.setting",
"title": "ChatGPT - 设置(&S)"
},
{
"command": "askChatGPT.openActions",
"title": "打开Actions(&O)"
},
{
"command": "askChatGPT.createActions",
"title": "新建Actions(&N)"
},
{
"command": "askChatGPT.imagesGenerations",
"title": "AI图像生成(&I)"
},
{
"command": "askChatGPT.tokenizer",
"title": "token计算工具"
},
{
"command": "askChatGPT.feedback",
"title": "问题反馈"
},
{
"command": "askChatGPT.help",
"title": "查看帮助文档(&H)"
}
],
"keybindings": [
{
"command": "askChatGPT.main",
"key": "Ctrl + Shift + C",
"macosx": "command+Shift+C"
},
{
"command": "askChatGPT.coding",
"key": "Ctrl + L",
"macosx": "command + L"
}
],
"menus": {
"menubar/tool": [
{
"group": "ext_settings"
},
{
"title": "Ask ChatGPT(&C)",
"group": "ext_settings",
"id": "askChatGPT"
},
{
"command": "askChatGPT.main",
"group": "askChatGPT@1"
},
{
"command": "askChatGPT.prompts",
"group": "askChatGPT@1"
},
{
"group": "askChatGPT@1"
},
{
"command": "askChatGPT.coding",
"group": "askChatGPT@2"
},
{
"group": "askChatGPT@2"
},
{
"command": "askChatGPT.openActions",
"group": "askChatGPT@3"
},
{
"command": "askChatGPT.createActions",
"group": "askChatGPT@3"
},
{
"group": "askChatGPT@3"
},
{
"command": "askChatGPT.imagesGenerations",
"group": "askChatGPT@4"
},
{
"group": "askChatGPT@4"
},
{
"command": "askChatGPT.setting",
"group": "askChatGPT@5"
},
{
"group": "askChatGPT@5"
},
{
"command": "askChatGPT.feedback",
"group": "askChatGPT@7"
},
{
"command": "askChatGPT.help",
"group": "askChatGPT@7"
}
],
"editor/context": [
{
"command": "askChatGPT.main",
"group": "copy",
"when": "editorTextFocus"
},
{
"title": "ChatGPT Actions(&C)",
"group": "copy",
"when": "editorTextFocus",
"id": "askChatGPT"
},
{
"command": "askChatGPT.coding",
"title": "Coding",
"group": "askChatGPT@1"
},
{
"command": "askChatGPT.explainCode",
"title": "解释代码",
"group": "askChatGPT@2"
},
{
"command": "askChatGPT.fixBug",
"title": "查找并修复Bug",
"group": "askChatGPT@3"
},
{
"group": "askChatGPT@3"
},
{
"command": "askChatGPT.GenerateTestCases",
"title": "生成测试用例",
"group": "askChatGPT@4"
},
{
"command": "askChatGPT.GenerateTestCasesUsingJest",
"title": "使用Jest生成测试用例",
"group": "askChatGPT@4"
},
{
"group": "askChatGPT@9"
},
{
"command": "askChatGPT.openActions",
"title": "更多操作",
"group": "askChatGPT@9"
},
{
"group": "copy"
}
]
}
},
"extensionDependencies": [
"plugin-manager"
],
"dependencies": {
"axios": "^1.3.5",
"gpt-tokens": "^1.0.6",
"marked": "^4.3.0"
}
}