-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 2.9 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 2.9 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
92
93
94
95
96
97
98
99
100
101
{
"name": "l-hub",
"displayName": "L-Hub",
"description": "MCP AI Bridge — 智能多模型路由 | Smart Multi-Model Routing for Antigravity",
"author": "Ready Steady Science",
"version": "0.2.0",
"license": "MIT",
"icon": "images/logo.png",
"publisher": "readysteadyscience",
"repository": {
"type": "git",
"url": "https://github.com/readysteadyscience/l-hub"
},
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other",
"Machine Learning"
],
"main": "./dist/extension.js",
"activationEvents": [
"*"
],
"contributes": {
"commands": [
{
"command": "l-hub.openPanel",
"title": "L-Hub: Open Dashboard",
"icon": "$(dashboard)"
}
],
"configuration": {
"title": "L-Hub",
"properties": {
"l-hub._importantTip": {
"type": "string",
"default": "👉 请使用 Cmd+Shift+P 运行 'L-Hub: Open Dashboard' 👈",
"description": "💡 核心设置不在本页!L-Hub 采用高度定制的可视化配置面板。请在命令面板打开 Dashboard,以配置架构说明中的各个模型分支和 API Keys。",
"order": 1
},
"l-hub.defaultModel": {
"type": "string",
"default": "gpt",
"enum": [
"gpt",
"gemini",
"deepseek",
"glm",
"qwen",
"minimax",
"kimi",
"mistral"
],
"description": "默认路由大模型(当用户的指令未触发其他垂直分支时,作为兜底模型使用)。",
"order": 2
},
"l-hub.retentionDays": {
"type": "number",
"default": 30,
"description": "自动清理历史记录的天数 (History Retention Days)。",
"order": 3
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile",
"build:vsix": "mkdir -p releases && npx vsce package --out releases/"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.13",
"@types/express": "^5.0.6",
"@types/node": "^20.0.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/vscode": "^1.85.0",
"@types/ws": "^8.18.1",
"css-loader": "^7.1.4",
"style-loader": "^4.0.0",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.27.1",
"@vscode/webview-ui-toolkit": "^1.4.0",
"better-sqlite3": "^12.6.2",
"express": "^5.2.1",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"ws": "^8.19.0"
}
}