-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
200 lines (200 loc) · 6.47 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
{
"name": "openai-forge",
"description": "OpenAI Forge Visual Studio Code Extension",
"license": "AGPL-3.0-or-later",
"version": "1.3.0",
"private": true,
"engines": {
"node": "20",
"vscode": "^1.80.0"
},
"main": "./dist/extension.js",
"scripts": {
"build": "rollup -c",
"bundle": "yarn clean && yarn build && (rm -Rf *.vsix || true) && vsce package --yarn",
"clean": "rm -Rf ./dist",
"release": "semantic-release && vsce publish --yarn",
"test:lint": "eslint .",
"test:type": "tsc --noEmit",
"test:unit": "jest --config ./config/jest.config.js"
},
"devDependencies": {
"@ivangabriele/eslint-config-typescript-base": "7.1.1",
"@ivangabriele/prettier-config": "3.2.0",
"@ivangabriele/semantic-release-config-no-npm": "3.0.3",
"@ivangabriele/tsconfig-node": "1.2.2",
"@rollup/plugin-commonjs": "25.0.8",
"@rollup/plugin-node-resolve": "15.2.3",
"@swc/core": "1.5.25",
"@swc/jest": "0.2.36",
"@types/jest": "29.5.12",
"@types/mocha": "10.0.6",
"@types/node": "20.14.2",
"@types/ramda": "0.30.0",
"@types/vscode": "1.90.0",
"@types/ws": "8.5.10",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
"@vscode/test-electron": "2.4.0",
"@vscode/vsce": "2.27.0",
"cuid": "3.0.0",
"eslint": "8.57.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "17.1.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-jest": "27.9.0",
"eslint-plugin-no-null": "1.0.2",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-sort-destructure-keys": "1.6.0",
"eslint-plugin-sort-keys-fix": "1.1.2",
"eslint-plugin-typescript-sort-keys": "3.2.0",
"execa": "8.0.1",
"globby": "13.2.2",
"jest": "29.7.0",
"mocha": "10.4.0",
"prettier": "2.8.8",
"ramda": "0.30.1",
"rollup": "4.18.0",
"rollup-plugin-swc3": "0.11.2",
"semantic-release": "22.0.12",
"tslib": "2.6.3",
"type-fest": "4.20.0",
"typescript": "5.4.5",
"ws": "8.17.0"
},
"packageManager": "[email protected]",
"prettier": "@ivangabriele/prettier-config",
"release": {
"extends": "@ivangabriele/semantic-release-config-no-npm"
},
"displayName": "OpenAI Forge",
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "openai-forge.addOrRemoveCurrentDocument",
"title": "OpenAI Forge: Add/Remove current document to/from the stack"
},
{
"command": "openai-forge.evaluateAndSendCurrentDocumentOrStack",
"title": "OpenAI Forge: Evaluate errors and send them with the current document or stack"
},
{
"command": "openai-forge.sendCurrentDocument",
"title": "OpenAI Forge: Send current document or stack"
},
{
"command": "openai-forge.startOrStopServer",
"title": "OpenAI Forge: Start/Stop OAIF Server/Satellite"
}
],
"configuration": {
"properties": {
"openai-forge.customEvaluators": {
"type": "array",
"default": [],
"markdownDescription": "[Workspace Setting] Custom evaluators for your current workspace. **You MUST split all the command executable arguments into `commandArgs`**. For example: `yarn build` must be declared as `{ \"command\": \"yarn\", \"commandArgs:\": [\"build\"] }` and **NOT** ~~`{ \"command\": \"yarn build\" }`~~. _Note: OpenAI Forge only supports one evaluator per workspace at the moment._",
"items": {
"type": "object",
"properties": {
"command": {
"type": "string",
"required": true,
"description": "Command executable to run.",
"examples": [
"cargo",
"make",
"npm"
],
"pattern": "^[a-zA-Z0-9_\\-.]+$"
},
"commandArgs": {
"type": "array",
"default": [],
"description": "Command executable subcommand and arguments to run.",
"items": {
"type": "string"
}
},
"extensions": {
"type": "array",
"required": true,
"description": "Source code file extensions triggering this evaluator before being sent to ChatGPT. Examples: `[\".rs\"]`, `[\".js\", \".ts\"]`.",
"items": {
"type": "string",
"pattern": "^\\.[a-z]+$"
},
"minItems": 1
},
"workingDirectoryRelativePath": {
"type": "string",
"default": ".",
"description": "Workspace relative path to the working directory where the command will be executed. Examples: \".\", \"./src-tauri\".",
"pattern": "^[a-zA-Z0-9_\\-./]+$"
}
}
},
"maxItems": 1,
"minItems": 1
},
"openai-forge.promt.excludeProjectInfo": {
"type": "boolean",
"default": false,
"description": "Exclude project information from the prompt message sent to ChatGPT / OpenAI API."
}
}
},
"keybindings": [
{
"command": "openai-forge.addOrRemoveCurrentDocument",
"key": "alt+f a"
},
{
"command": "openai-forge.addOrRemoveCurrentDocument",
"key": "alt+f alt+a"
},
{
"command": "openai-forge.evaluateAndSendCurrentDocumentOrStack",
"key": "alt+f e"
},
{
"command": "openai-forge.evaluateAndSendCurrentDocumentOrStack",
"key": "alt+f alt+e"
},
{
"command": "openai-forge.sendCurrentDocument",
"key": "alt+f s"
},
{
"command": "openai-forge.sendCurrentDocument",
"key": "alt+f alt+s"
}
]
},
"author": {
"name": "Ivan Gabriele",
"email": "[email protected]",
"url": "https://www.ivangabriele.com"
},
"bugs": {
"url": "https://github.com/ivangabriele/openai-forge-vsce/issues"
},
"categories": [
"Other"
],
"homepage": "https://github.com/ivangabriele/openai-forge-vsce#readme",
"icon": "./assets/icons/x512.png",
"keywords": [
"automation",
"chatgpt",
"openai"
],
"publisher": "ivangabriele",
"repository": {
"type": "git",
"url": "https://github.com/ivangabriele/openai-forge-vsce.git"
}
}