Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
197 lines (197 loc) · 6.34 KB
/
Copy pathpackage.json
File metadata and controls
197 lines (197 loc) · 6.34 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
{
"name": "douchat",
"version": "0.1.27",
"private": true,
"author": "ThinkAny, LLC <support@thinkany.ai>",
"license": "AGPL-3.0-only",
"homepage": "https://douchat.ai",
"bugs": {
"url": "https://github.com/thinkany-ai/douchat/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/thinkany-ai/douchat.git"
},
"description": "A desktop workspace where AI agents work and talk together.",
"desktopName": "Douchat.desktop",
"main": "out/main/index.js",
"type": "module",
"scripts": {
"prepare:dev-host": "node scripts/prepare-electron-dev-host.mjs",
"dev": "npm run prepare:dev-host && electron-vite dev --watch",
"dev:web": "vite --config vite.web.config.ts",
"build": "electron-vite build",
"build:web": "vite build --config vite.web.config.ts",
"publish:web": "node scripts/publish-web.mjs",
"package": "npm run build && electron-builder --dir --publish never",
"package:mac": "npm run build && CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --mac dmg zip --x64 --arm64 --publish never -c.mac.identity=null -c.mac.hardenedRuntime=false -c.mac.notarize=false",
"package:win": "npm run build && electron-builder --win nsis --x64 --publish never",
"package:linux": "npm run build && electron-builder --linux AppImage deb --x64 --publish never",
"release:mac": "npm run build && electron-builder --mac dmg zip --x64 --arm64 --publish never",
"preview": "electron-vite preview",
"typecheck": "tsc --noEmit -p tsconfig.node.json && tsc --noEmit -p tsconfig.web.json && tsc --noEmit -p host/tsconfig.json",
"build:host": "node scripts/build-host.mjs",
"publish:host:local": "node scripts/build-host.mjs --publish ../douchat-tanstack/public/host",
"test": "vitest run src"
},
"dependencies": {
"@earendil-works/pi-agent-core": "^0.84.2",
"@earendil-works/pi-ai": "^0.84.2",
"@larksuiteoapi/node-sdk": "^1.74.0",
"@sinclair/typebox": "^0.34.41",
"dotenv": "^17.2.1",
"electron-updater": "^6.8.9",
"fflate": "0.8.3",
"highlight.js": "11.11.1",
"imapflow": "^2.0.5",
"mailparser": "^3.9.28",
"mdast-util-from-markdown": "^2.0.3",
"mdast-util-gfm": "^3.1.0",
"micromark-extension-gfm": "^3.0.0",
"nodemailer": "^10.0.10",
"qrcode.react": "^4.2.0",
"tar-stream": "3.1.7",
"yaml": "2.9.1",
"yauzl": "3.4.0"
},
"devDependencies": {
"@streamdown/cjk": "^1.0.3",
"@streamdown/mermaid": "^1.0.2",
"@types/mailparser": "^3.4.6",
"@types/node": "^24.3.0",
"@types/nodemailer": "^8.0.2",
"@types/react": "^19.1.10",
"@types/react-dom": "^19.1.7",
"@types/tar-stream": "3.1.4",
"@types/yauzl": "3.4.0",
"@vitejs/plugin-react": "^5.0.1",
"dompurify": "^3.4.15",
"electron": "43.7.3",
"electron-builder": "^26.15.3",
"electron-vite": "^5.0.0",
"jsdom": "^27.3.0",
"lucide-react": "^0.468.0",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"streamdown": "^2.6.0",
"typescript": "^5.9.2",
"vite": "^7.1.2",
"vitest": "^3.2.4"
},
"build": {
"appId": "ai.thinkany.douchat",
"productName": "Douchat",
"asar": true,
"directories": {
"output": "release/${version}"
},
"files": [
"out/**/*",
"!out/group-scenarios/**/*",
"!out/group-*.mjs",
"package.json",
"resources/icons/*.png",
"!node_modules/**/*.map",
"!node_modules/**/test/**",
"!node_modules/**/tests/**",
"!node_modules/**/__tests__/**",
"!node_modules/**/docs/**",
"!node_modules/**/examples/**"
],
"electronLanguages": [
"en",
"zh_CN"
],
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"protocols": [
{
"name": "Douchat sign-in",
"schemes": [
"douchat"
]
}
],
"publish": [
{
"provider": "generic",
"url": "https://cdn.douchat.ai",
"channel": "latest"
}
],
"mac": {
"category": "public.app-category.productivity",
"icon": "resources/icons/douchat.icns",
"extendInfo": {
"NSMicrophoneUsageDescription": "Douchat uses the microphone only for voice typing. / Douchat 仅在语音输入时使用麦克风。",
"NSSpeechRecognitionUsageDescription": "Douchat converts your speech into message text only while voice input is active. / Douchat 仅在语音输入期间将你的语音转换为消息文字。",
"NSDownloadsFolderUsageDescription": "Douchat accesses Downloads only when you ask an agent to find or open a local file. / Douchat 仅在你要求智能体查找或打开本地文件时访问下载文件夹。",
"NSDesktopFolderUsageDescription": "Douchat accesses Desktop only when you ask an agent to find or open a local file. / Douchat 仅在你要求智能体查找或打开本地文件时访问桌面文件夹。",
"NSDocumentsFolderUsageDescription": "Douchat accesses Documents only when you ask an agent to find or open a local file. / Douchat 仅在你要求智能体查找或打开本地文件时访问文稿文件夹。"
},
"hardenedRuntime": true,
"entitlements": "resources/entitlements.mac.plist",
"entitlementsInherit": "resources/entitlements.mac.plist",
"notarize": true,
"target": [
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
},
{
"target": "zip",
"arch": [
"x64",
"arm64"
]
}
]
},
"dmg": {
"title": "Douchat ${version}"
},
"win": {
"icon": "resources/icons/douchat.ico",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
]
},
"nsis": {
"oneClick": true,
"perMachine": false,
"allowElevation": true
},
"linux": {
"icon": "resources/icons/douchat.png",
"category": "Utility",
"maintainer": "ThinkAny, LLC <support@thinkany.ai>",
"syncDesktopName": true,
"desktop": {
"entry": {
"MimeType": "x-scheme-handler/douchat;"
}
},
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
},
{
"target": "deb",
"arch": [
"x64"
]
}
]
}
}
}