Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 3.35 KB
/
Copy pathpackage.json
File metadata and controls
129 lines (129 loc) · 3.35 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
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
{
"name": "agenthub",
"version": "2.5.2",
"description": "AgentHub —— Agent中控台:技能仓库 / 用量统计 / 号池管家 / 记忆中枢 / 提示词库 / 本地网关",
"author": "沐晖",
"license": "SEE LICENSE IN LICENSE",
"type": "module",
"main": "electron/main.cjs",
"scripts": {
"dev": "concurrently -k \"vite\" \"wait-on tcp:1420 && electron .\"",
"dev:web": "vite",
"web": "vite --open",
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview",
"electron:build": "npm run build && electron-builder",
"electron:pack": "npm run build && electron-builder --dir",
"gen:icon": "node tools/gen-icon.cjs",
"gen:theme": "node tools/gen-theme-tokens.cjs",
"verify:memory": "node tools/verify/m-run-all.cjs",
"verify:pet": "node tools/verify/pet-verify.cjs",
"verify:gateway": "node tools/gateway-closure-check.cjs && node tools/gateway-deps-purity.cjs && node tools/gateway-deps-purity.cjs --entry electron/backend/plugin-updater.cjs && node tools/verify/gw-gates.cjs && node tools/gateway-headless-smoke.cjs",
"test": "node scripts/run-all-tests.cjs"
},
"dependencies": {
"@vueuse/core": "^11.3.0",
"chokidar": "^3.6.0",
"electron-updater": "^6.8.9",
"express": "^4.21.2",
"js-yaml": "^4.3.2",
"koffi": "^3.2.1",
"motion-v": "^2.4.2",
"semver": "^7.8.6",
"undici": "^8.12.3",
"yauzl": "^3.4.0"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.6.2",
"concurrently": "^8.2.2",
"echarts": "^5.4.3",
"electron": "^35.0.0",
"electron-builder": "^24.13.3",
"element-plus": "^2.14.5",
"pinia": "^2.1.7",
"typescript": "~5.3.3",
"unplugin-vue-components": "^0.27.5",
"vite": "^4.5.3",
"vue": "^3.4.21",
"vue-tsc": "^1.8.27",
"wait-on": "^7.2.0"
},
"engines": {
"node": ">=18"
},
"build": {
"appId": "com.huidada1.agenthub",
"productName": "AgentHub",
"electronDist": "node_modules/electron/dist",
"directories": {
"output": "release",
"buildResources": "build"
},
"publish": [
{
"provider": "github",
"owner": "MUHUIX",
"repo": "AgentHub",
"releaseType": "release"
}
],
"electronLanguages": [
"zh-CN",
"en-US"
],
"files": [
"dist/**/*",
"electron/**/*",
"package.json"
],
"asarUnpack": [
"**/*.node",
"node_modules/@koromix/**"
],
"extraResources": [
{
"from": "LICENSE",
"to": "LICENSE"
},
{
"from": "build/icon.png",
"to": "build/icon.png"
},
{
"from": "build/tray.png",
"to": "build/tray.png"
},
{
"from": "resources/sqlcipher",
"to": "sqlcipher"
},
{
"from": "tools/mcp-memory-server.cjs",
"to": "mcp/mcp-memory-server.cjs"
},
{
"from": "resources/catalog",
"to": "catalog"
}
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"icon": "build/icon.ico"
},
"nsis": {
"include": "build/installer.nsh",
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "AgentHub"
}
}
}