forked from lutzleonhardt/copilot-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.15 KB
/
package.json
File metadata and controls
91 lines (91 loc) · 2.15 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
{
"name": "copilot-proxy",
"displayName": "Copilot Proxy",
"icon": "assets/icon.png",
"version": "2.0.0",
"description": "OpenAI-compatible proxy for GitHub Copilot",
"publisher": "hyorman",
"license": "MIT",
"author": "hyorman",
"readme": "readme.md",
"repository": {
"type": "git",
"url": "https://github.com/hyorman/copilot-proxy.git"
},
"categories": [
"AI",
"Other"
],
"type": "commonjs",
"main": "./out/extension.js",
"engines": {
"vscode": "^1.95.0"
},
"enabledApiProposals": [
"embeddings"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Copilot Proxy",
"properties": {
"copilotProxy.port": {
"type": "number",
"default": 3000,
"description": "Port for the Express server."
}
}
},
"commands": [
{
"command": "copilotProxy.startServer",
"title": "Copilot Proxy: Start Server"
},
{
"command": "copilotProxy.stopServer",
"title": "Copilot Proxy: Stop Server"
},
{
"command": "copilotProxy.listModels",
"title": "Copilot Proxy: List Models"
},
{
"command": "copilotProxy.configurePort",
"title": "Copilot Proxy: Configure Port"
},
{
"command": "copilotProxy.createApiToken",
"title": "Copilot Proxy: Create API Token"
},
{
"command": "copilotProxy.listApiTokens",
"title": "Copilot Proxy: List API Tokens"
},
{
"command": "copilotProxy.removeApiToken",
"title": "Copilot Proxy: Remove API Token"
}
]
},
"scripts": {
"build": "tsc",
"start": "ts-node src/server.ts",
"test": "vitest run",
"package": "npm run build && npx @vscode/vsce package"
},
"dependencies": {
"express": "^4.18.2",
"morgan": "^1.10.0",
"multer": "^2.1.1"
},
"devDependencies": {
"@types/express": "^4.17.14",
"@types/morgan": "^1.9.4",
"@types/multer": "^2.1.0",
"@types/node": "^18.11.18",
"@types/vscode": "^1.95.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.5",
"vitest": "^4.0.18"
}
}