-
Notifications
You must be signed in to change notification settings - Fork 664
Expand file tree
/
Copy pathpackage.json
More file actions
236 lines (236 loc) · 12.3 KB
/
package.json
File metadata and controls
236 lines (236 loc) · 12.3 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
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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
{
"name": "DeepChat",
"version": "1.0.4",
"description": "DeepChat,一个简单易用的 Agent 客户端",
"main": "./out/main/index.js",
"author": "ThinkInAIXYZ",
"type": "module",
"engines": {
"node": ">=24.14.1 <25",
"pnpm": ">=10.11.0"
},
"packageManager": "pnpm@10.13.1+sha512.37ebf1a5c7a30d5fabe0c5df44ee8da4c965ca0c5af3dbab28c3a1681b70a256218d05c81c9c0dcf767ef6b8551eb5b960042b9ed4300c59242336377e01cfad",
"scripts": {
"prebuild": "node scripts/fetch-provider-db.mjs && node scripts/fetch-acp-registry.mjs",
"preinstall": "npx only-allow pnpm",
"test": "vitest",
"test:main": "vitest --config vitest.config.ts test/main",
"test:renderer": "vitest --config vitest.config.renderer.ts test/renderer",
"test:coverage": "vitest --coverage",
"test:watch": "vitest --watch",
"test:ui": "vitest --ui",
"e2e:smoke": "playwright test -c test/e2e/playwright.config.ts",
"format:check": "oxfmt --check .",
"format": "oxfmt .",
"lint": "pnpm run lint:agent-cleanup && pnpm run lint:architecture && oxlint .",
"lint:architecture": "node scripts/architecture-guard.mjs",
"lint:agent-cleanup": "node scripts/agent-cleanup-guard.mjs",
"architecture:baseline": "node scripts/generate-architecture-baseline.mjs",
"typecheck:node": "tsgo --noEmit -p tsconfig.node.json --composite false",
"typecheck:web": "vue-tsgo --project tsconfig.app.tsgo.json",
"typecheck": "pnpm run typecheck:node && pnpm run typecheck:web",
"start": "electron-vite preview",
"dev": "electron-vite dev --watch",
"dev:trace": "cross-env DEEPCHAT_VUE_DEVTOOLS_OVERLAY=0 electron-vite dev --watch",
"dev:inspect": "electron-vite dev --watch --inspect=9229",
"dev:linux": "electron-vite dev --watch --noSandbox",
"build": "pnpm run typecheck && electron-vite build",
"release:ff": "node scripts/release-fast-forward.mjs",
"postinstall": "electron-builder install-app-deps && simple-git-hooks",
"build:unpack": "pnpm run build && electron-builder --dir",
"plugin:validate": "node scripts/plugin.mjs validate",
"plugin:package": "node scripts/plugin.mjs package",
"plugin:bundle": "node scripts/plugin.mjs bundle",
"plugin:verify": "node scripts/plugin.mjs verify",
"plugin:bundle:clean": "node -e \"require('fs').rmSync('build/bundled-plugins',{recursive:true,force:true})\"",
"plugin:cua:build": "node scripts/build-cua-plugin-runtime.mjs",
"plugin:cua:build:mac:arm64": "node scripts/build-cua-plugin-runtime.mjs --arch arm64",
"plugin:cua:build:mac:x64": "node scripts/build-cua-plugin-runtime.mjs --arch x64",
"install:sharp": "node scripts/install-sharp-for-platform.js",
"build:mac": "pnpm run build && pnpm run plugin:bundle:clean && pnpm run plugin:cua:build && pnpm run plugin:bundle -- --name cua --platform darwin && pnpm run plugin:bundle -- --name feishu --platform darwin && electron-builder --mac",
"build:mac:arm64": "pnpm run build && pnpm run plugin:bundle:clean && pnpm run plugin:cua:build:mac:arm64 && pnpm run plugin:bundle -- --name cua --platform darwin --arch arm64 && pnpm run plugin:bundle -- --name feishu --platform darwin --arch arm64 && electron-builder --mac --arm64",
"build:mac:x64": "pnpm run build && pnpm run plugin:bundle:clean && pnpm run plugin:cua:build:mac:x64 && pnpm run plugin:bundle -- --name cua --platform darwin --arch x64 && pnpm run plugin:bundle -- --name feishu --platform darwin --arch x64 && electron-builder --mac --x64",
"build:win": "pnpm run build && pnpm run plugin:bundle:clean && pnpm run plugin:bundle -- --name feishu --platform win32 && electron-builder --win",
"build:win:x64": "pnpm run build && pnpm run plugin:bundle:clean && pnpm run plugin:bundle -- --name feishu --platform win32 --arch x64 && electron-builder --win --x64",
"build:win:arm64": "pnpm run build && pnpm run plugin:bundle:clean && pnpm run plugin:bundle -- --name feishu --platform win32 --arch arm64 && electron-builder --win --arm64",
"build:linux": "pnpm run build && pnpm run plugin:bundle:clean && pnpm run plugin:bundle -- --name feishu --platform linux && electron-builder --linux",
"build:linux:x64": "pnpm run build && pnpm run plugin:bundle:clean && pnpm run plugin:bundle -- --name feishu --platform linux --arch x64 && electron-builder --linux --x64",
"build:linux:arm64": "pnpm run build && pnpm run plugin:bundle:clean && pnpm run plugin:bundle -- --name feishu --platform linux --arch arm64 && electron-builder --linux --arm64",
"afterSign": "scripts/notarize.js",
"installRuntime": "npx -y tiny-runtime-injector --type uv --dir ./runtime/uv --runtime-version 0.9.18 && npx -y tiny-runtime-injector --type node --dir ./runtime/node && npx -y tiny-runtime-injector --type ripgrep --dir ./runtime/ripgrep && npx -y tiny-runtime-injector --type rtk --dir ./runtime/rtk",
"installRuntime:win:x64": "npx -y tiny-runtime-injector --type uv --dir ./runtime/uv --runtime-version 0.9.18 -a x64 -p win32 && npx -y tiny-runtime-injector --type node --dir ./runtime/node -a x64 -p win32 && npx -y tiny-runtime-injector --type ripgrep --dir ./runtime/ripgrep -a x64 -p win32 && npx -y tiny-runtime-injector --type rtk --dir ./runtime/rtk -a x64 -p win32",
"installRuntime:win:arm64": "npx -y tiny-runtime-injector --type uv --dir ./runtime/uv --runtime-version 0.9.18 -a arm64 -p win32 && npx -y tiny-runtime-injector --type node --dir ./runtime/node -a arm64 -p win32 && npx -y tiny-runtime-injector --type ripgrep --dir ./runtime/ripgrep -a arm64 -p win32 && npx -y tiny-runtime-injector --type rtk --dir ./runtime/rtk -a arm64 -p win32",
"installRuntime:mac:arm64": "npx -y tiny-runtime-injector --type uv --dir ./runtime/uv --runtime-version 0.9.18 -a arm64 -p darwin && npx -y tiny-runtime-injector --type node --dir ./runtime/node -a arm64 -p darwin && npx -y tiny-runtime-injector --type ripgrep --dir ./runtime/ripgrep -a arm64 -p darwin && npx -y tiny-runtime-injector --type rtk --dir ./runtime/rtk -a arm64 -p darwin",
"installRuntime:mac:x64": "npx -y tiny-runtime-injector --type uv --dir ./runtime/uv --runtime-version 0.9.18 -a x64 -p darwin && npx -y tiny-runtime-injector --type node --dir ./runtime/node -a x64 -p darwin && npx -y tiny-runtime-injector --type ripgrep --dir ./runtime/ripgrep -a x64 -p darwin && npx -y tiny-runtime-injector --type rtk --dir ./runtime/rtk -a x64 -p darwin",
"installRuntime:linux:x64": "npx -y tiny-runtime-injector --type uv --dir ./runtime/uv --runtime-version 0.9.18 -a x64 -p linux && npx -y tiny-runtime-injector --type node --dir ./runtime/node -a x64 -p linux && npx -y tiny-runtime-injector --type ripgrep --dir ./runtime/ripgrep -a x64 -p linux && npx -y tiny-runtime-injector --type rtk --dir ./runtime/rtk -a x64 -p linux",
"installRuntime:linux:arm64": "npx -y tiny-runtime-injector --type uv --dir ./runtime/uv --runtime-version 0.9.18 -a arm64 -p linux && npx -y tiny-runtime-injector --type node --dir ./runtime/node -a arm64 -p linux && npx -y tiny-runtime-injector --type ripgrep --dir ./runtime/ripgrep -a arm64 -p linux && npx -y tiny-runtime-injector --type rtk --dir ./runtime/rtk -a arm64 -p linux",
"installRuntime:duckdb:vss": "node scripts/installVss.js",
"i18n": "i18n-check -s zh-CN -f i18next --locales src/renderer/src/i18n",
"i18n:en": "i18n-check -s en-US -f i18next --locales src/renderer/src/i18n",
"i18n:types": "node scripts/generate-i18n-types.js",
"cleanRuntime": "rm -rf runtime/uv runtime/node",
"update-shadcn": "node scripts/update-shadcn.js"
},
"dependencies": {
"@agentclientprotocol/sdk": "^0.16.1",
"@ai-sdk/amazon-bedrock": "^4.0.103",
"@ai-sdk/anthropic": "^3.0.76",
"@ai-sdk/azure": "^3.0.64",
"@ai-sdk/google": "^3.0.72",
"@ai-sdk/google-vertex": "^4.0.126",
"@ai-sdk/openai": "^3.0.63",
"@ai-sdk/openai-compatible": "^2.0.47",
"@ai-sdk/provider": "^3.0.10",
"@aws-sdk/client-bedrock": "^3.958.0",
"@duckdb/node-api": "1.3.2-alpha.25",
"@e2b/code-interpreter": "^1.5.1",
"@electron-toolkit/preload": "^3.0.2",
"@electron-toolkit/utils": "^4.0.0",
"@jxa/run": "^1.4.0",
"@larksuiteoapi/node-sdk": "^1.60.0",
"@modelcontextprotocol/sdk": "^1.28.0",
"ai": "^6.0.177",
"axios": "^1.13.6",
"better-sqlite3-multiple-ciphers": "12.9.0",
"cheerio": "^1.2.0",
"chokidar": "^5.0.0",
"compare-versions": "^6.1.1",
"cross-spawn": "^7.0.6",
"diff": "^8.0.4",
"electron-log": "^5.4.3",
"electron-store": "^8.2.0",
"electron-updater": "^6.8.3",
"electron-window-state": "^5.0.3",
"es-mime-types": "^0.1.4",
"fflate": "^0.8.2",
"font-list": "^2.0.2",
"glob": "^13.0.6",
"gray-matter": "^4.0.3",
"https-proxy-agent": "^7.0.6",
"jsonrepair": "^3.13.3",
"mammoth": "^1.12.0",
"nanoid": "^5.1.7",
"node-pty": "^1.1.0",
"ollama": "^0.6.3",
"pdf-parse-new": "^1.4.1",
"run-applescript": "^7.1.0",
"safe-regex2": "^5.1.0",
"sharp": "^0.33.5",
"tokenx": "^0.4.1",
"turndown": "^7.2.2",
"undici": "^7.16.0",
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz",
"xml2js": "^0.6.2",
"zod": "^3.25.76"
},
"devDependencies": {
"@antv/infographic": "^0.2.7",
"@electron-toolkit/tsconfig": "^1.0.1",
"@electron/notarize": "^3.1.1",
"@iconify-json/lucide": "^1.2.99",
"@iconify-json/vscode-icons": "^1.2.45",
"@iconify/vue": "^5.0.0",
"@lingual/i18n-check": "0.8.12",
"@pinia/colada": "^0.20.0",
"@playwright/test": "^1.59.1",
"@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.2.2",
"@tiptap/core": "^2.11.7",
"@tiptap/extension-code-block": "^2.11.9",
"@tiptap/extension-document": "^2.11.7",
"@tiptap/extension-hard-break": "^2.11.7",
"@tiptap/extension-history": "^2.12.0",
"@tiptap/extension-mention": "^2.11.7",
"@tiptap/extension-paragraph": "^2.11.7",
"@tiptap/extension-placeholder": "^2.11.7",
"@tiptap/extension-text": "^2.11.7",
"@tiptap/pm": "^2.11.7",
"@tiptap/suggestion": "^2.11.7",
"@tiptap/vue-3": "^2.11.7",
"@types/better-sqlite3": "^7.6.13",
"@types/mime-types": "^3.0.1",
"@types/node": "^24.12.2",
"@types/xlsx": "^0.0.35",
"@typescript/native-preview": "7.0.0-dev.20260115.1",
"@unovis/ts": "1.6.4",
"@unovis/vue": "1.6.4",
"@vee-validate/zod": "^4.15.1",
"@vitejs/plugin-vue": "^6.0.5",
"@vitest/ui": "^3.2.4",
"@vue/test-utils": "^2.4.6",
"@vueuse/core": "^12.8.2",
"@xterm/addon-fit": "^0.10.0",
"@xterm/xterm": "^5.5.0",
"autoprefixer": "^10.4.23",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cross-env": "^10.1.0",
"dayjs": "^1.11.19",
"electron": "^40.9.2",
"electron-builder": "26.9.0",
"electron-vite": "5.0.0",
"jsdom": "^26.1.0",
"katex": "^0.16.27",
"lint-staged": "^16.4.0",
"lucide-vue-next": "^0.544.0",
"markstream-vue": "1.0.0-rc.0",
"mermaid": "^11.13.0",
"minimatch": "^10.2.4",
"monaco-editor": "^0.55.1",
"oxfmt": "^0.42.0",
"oxlint": "^1.57.0",
"picocolors": "^1.1.1",
"pinia": "^3.0.4",
"reka-ui": "^2.9.2",
"simple-git-hooks": "^2.13.1",
"stream-monaco": "^0.0.40",
"tailwind-merge": "^3.5.0",
"tailwind-scrollbar-hide": "^4.0.0",
"tailwindcss": "^4.2.2",
"tailwindcss-animate": "^1.0.7",
"tippy.js": "^6.3.7",
"tw-animate-css": "^1.4.0",
"typescript": "^5.9.3",
"vee-validate": "^4.15.1",
"vite": "^7.3.1",
"vite-plugin-monaco-editor-esm": "^2.0.2",
"vite-plugin-vue-devtools": "^8.1.1",
"vite-svg-loader": "^5.1.1",
"vitest": "^3.2.4",
"vue": "^3.5.31",
"vue-i18n": "^11.3.0",
"vue-router": "4",
"vue-sonner": "^2.0.9",
"vue-tsgo": "0.0.1-yggdrasill.11",
"vue-virtual-scroller": "^3.0.0",
"vuedraggable": "^4.1.0",
"yaml": "^2.8.3",
"zod-to-json-schema": "^3.25.1"
},
"simple-git-hooks": {
"pre-commit": "node scripts/pre-commit.mjs",
"commit-msg": "node scripts/verify-commit.js \"$1\""
},
"lint-staged": {
"*.{js,ts}": [
"oxfmt --no-error-on-unmatched-pattern"
]
},
"pnpm": {
"onlyBuiltDependencies": [
"@tailwindcss/oxide",
"electron",
"electron-winstaller",
"lzo",
"simple-git-hooks"
],
"ignoredBuiltDependencies": [
"node-pty",
"better-sqlite3-multiple-ciphers",
"esbuild",
"maplibre-gl",
"sharp",
"vue-demi"
]
}
}