-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 3.13 KB
/
Copy pathpackage.json
File metadata and controls
122 lines (122 loc) · 3.13 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
{
"name": "secagent",
"version": "0.1.1",
"private": true,
"license": "GPL-3.0-or-later",
"author": {
"name": "SECTL",
"email": "pandajsr72@gmail.com",
"url": "https://sectl.cn"
},
"homepage": "https://sectl.cn",
"type": "module",
"main": "./out/main/main.js",
"bin": {
"secagent": "dist/index.js"
},
"scripts": {
"build": "tsc -p tsconfig.json && electron-vite build",
"package": "npm run build && electron-builder --publish never",
"package:windows": "npm run build && electron-builder --win dir --publish never",
"build:cli": "tsc -p tsconfig.json",
"dev": "node scripts/dev-electron-vite.mjs",
"dev:cli": "tsx src/index.ts",
"start": "node scripts/dev-launcher.mjs",
"test": "node --test \"dist/**/*.test.js\""
},
"dependencies": {
"@andresaya/edge-tts": "^1.8.0",
"@opencode-ai/models": "^0.0.35",
"@react-three/drei": "^10.7.8",
"@react-three/fiber": "^9.7.0",
"@sentry/electron": "^7.17.0",
"adm-zip": "^0.5.18",
"katex": "^0.16.47",
"lucide-react": "^0.468.0",
"mafs": "^0.21.0",
"mermaid": "^11.16.1",
"pinyin-pro": "^3.28.2",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-markdown": "^10.1.0",
"rehype-katex": "^7.0.1",
"remark-gfm": "^4.0.1",
"remark-math": "^6.0.0",
"sherpa-onnx": "^1.13.5",
"three": "^0.185.1",
"yaml": "^2.6.1"
},
"devDependencies": {
"@types/node": "^22.10.2",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.2.0",
"electron": "^42.9.2",
"electron-builder": "^26.15.3",
"electron-vite": "^5.0.0",
"rollup": "4.52.5",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"vite": "^6.4.1"
},
"build": {
"appId": "cn.sectl.secagent",
"productName": "SecAgent",
"directories": {
"output": "release"
},
"extraResources": [
{
"from": "resources/official.env",
"to": "official.env"
},
{
"from": "models/sherpa-onnx-kws-zipformer-zh-en-3M-2025-12-20",
"to": "models/sherpa-onnx-kws-zipformer-zh-en-3M-2025-12-20"
},
{
"from": "models/sherpa-onnx-streaming-zipformer-zh-14M-2023-02-23",
"to": "models/sherpa-onnx-streaming-zipformer-zh-14M-2023-02-23",
"filter": [
"encoder-epoch-99-avg-1.int8.onnx",
"decoder-epoch-99-avg-1.onnx",
"joiner-epoch-99-avg-1.onnx",
"tokens.txt"
]
}
],
"asarUnpack": [
"node_modules/sherpa-onnx/**/*"
],
"win": {
"icon": "resources/icon.ico",
"target": [
"dir"
]
},
"linux": {
"target": [
"AppImage",
"deb",
"rpm"
],
"icon": "src/renderer/public/icon.png",
"category": "Utility"
},
"mac": {
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
}
],
"icon": "src/renderer/public/icon.png",
"extendInfo": {
"NSMicrophoneUsageDescription": "SecAgent 使用麦克风进行语音唤醒和语音输入识别。"
}
}
}
}