forked from openclaw/openclaw
-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathpackage.json
More file actions
255 lines (255 loc) · 9.11 KB
/
Copy pathpackage.json
File metadata and controls
255 lines (255 loc) · 9.11 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
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
{
"name": "atomicbot-desktop",
"private": true,
"version": "1.0.103",
"description": "Atomic Bot makes things for you",
"type": "commonjs",
"main": "dist/main.js",
"author": "",
"license": "PolyForm-Noncommercial-1.0.0",
"scripts": {
"build:all": "npm run build && npm run build:renderer",
"prepare:gog:all": "npm run fetch:gog && npm run prepare:gog",
"prepare:jq:all": "npm run fetch:jq && npm run prepare:jq",
"prepare:memo:all": "npm run fetch:memo && npm run build:memo && npm run prepare:memo",
"prepare:remindctl:all": "npm run fetch:remindctl && npm run prepare:remindctl",
"prepare:obsidian-cli:all": "npm run fetch:obsidian-cli && npm run prepare:obsidian-cli",
"prepare:gh:all": "npm run fetch:gh && npm run prepare:gh",
"prepare:whisper-cli:all": "npm run fetch:whisper-cli && npm run prepare:whisper-cli",
"prepare:runtimes": "npm run prepare:node && npm run prepare:gog:all && npm run prepare:jq:all && npm run prepare:memo:all && npm run prepare:remindctl:all && npm run prepare:obsidian-cli:all && npm run prepare:gh:all && npm run prepare:whisper-cli:all",
"rebuild": "electron-rebuild -f -w node-pty",
"dev": "npm run rebuild && npm run build:all && electron .",
"build": "tsc -p tsconfig.json && node scripts/define-main-env.mjs && esbuild dist/preload.js --bundle --platform=node --format=cjs --outfile=dist/preload.js --allow-overwrite --external:electron",
"build:renderer": "vite build --config renderer/vite.config.ts",
"prepare:all": "npm run prepare:openclaw && npm run prepare:runtimes",
"prepare:openclaw": "node scripts/prepare-openclaw-bundle.mjs",
"prepare:openclaw:ci": "cross-env OPENCLAW_BUNDLE_STRICT_EXTERNALS=1 node scripts/prepare-openclaw-bundle.mjs",
"verify:openclaw-bundle": "node scripts/verify-openclaw-bundle.mjs",
"prepare:openclaw:verify": "npm run prepare:openclaw && npm run verify:openclaw-bundle",
"refresh:openclaw-externals": "node scripts/refresh-openclaw-externals.mjs",
"prepare:node": "node scripts/prepare-node-runtime.mjs",
"fetch:gog": "node scripts/fetch-gog-runtime.mjs",
"fetch:jq": "node scripts/fetch-jq-runtime.mjs",
"fetch:memo": "node scripts/fetch-memo-runtime.mjs",
"fetch:remindctl": "node scripts/fetch-remindctl-runtime.mjs",
"fetch:obsidian-cli": "node scripts/fetch-obsidian-cli-runtime.mjs",
"fetch:gh": "node scripts/fetch-gh-runtime.mjs",
"fetch:whisper-cli": "node scripts/fetch-whisper-cli-runtime.mjs",
"build:memo": "node scripts/build-memo-runtime.mjs",
"prepare:gog": "node scripts/prepare-gog-runtime.mjs",
"prepare:jq": "node scripts/prepare-jq-runtime.mjs",
"prepare:memo": "node scripts/prepare-memo-runtime.mjs",
"prepare:remindctl": "node scripts/prepare-remindctl-runtime.mjs",
"prepare:obsidian-cli": "node scripts/prepare-obsidian-cli-runtime.mjs",
"prepare:gh": "node scripts/prepare-gh-runtime.mjs",
"prepare:whisper-cli": "node scripts/prepare-whisper-cli-runtime.mjs",
"reset:local": "node scripts/reset-local-state.mjs",
"reset:local:yes": "node scripts/reset-local-state.mjs --yes",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prettier:check": "prettier --check .",
"format": "npm run prettier:check",
"format:fix": "prettier --write .",
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p renderer/tsconfig.typecheck.json && tsc -p tsconfig.tools.json",
"check:ci": "npm run lint && npm run prettier:check && npm run typecheck",
"precommit": "npm run format:fix && npm run lint && npm run typecheck",
"dist:local": "cross-env CSC_IDENTITY_AUTO_DISCOVERY=false npm run dist -- --publish never",
"dist:local:win": "cross-env CSC_IDENTITY_AUTO_DISCOVERY=false ELECTRON_BUILDER_COMPRESSION_LEVEL=1 npm run dist -- --publish never --win",
"dist": "npm run build:all && electron-builder",
"dist:env": "set -a && . ./.env && set +a && npm run build:all && node ./node_modules/electron-builder/out/cli/cli.js",
"dist:env:local": "CSC_IDENTITY_AUTO_DISCOVERY=false npm run dist:env -- --publish never",
"release": "bash scripts/release.sh",
"test": "vitest run --config vitest.config.ts",
"test:watch": "vitest --config vitest.config.ts",
"test:coverage": "vitest run --config vitest.config.ts --coverage",
"test:e2e": "npm run prepare:openclaw && npm run build:all && npx playwright test --config playwright.config.ts",
"test:e2e:quick": "npm run build:all && npx playwright test --config playwright.config.ts"
},
"devDependencies": {
"@electron/rebuild": "^4.0.3",
"@eslint/js": "^9.39.4",
"@playwright/test": "^1.58.2",
"@reduxjs/toolkit": "^2.9.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/katex": "^0.16.8",
"@types/node": "^25.2.0",
"@types/react": "^19.2.10",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.1.3",
"@xterm/addon-fit": "^0.11.0",
"@xterm/xterm": "^6.0.0",
"cross-env": "^10.1.0",
"electron": "^40.1.0",
"electron-builder": "^26.7.0",
"esbuild": "^0.27.3",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"globals": "^15.15.0",
"jsdom": "^28.0.0",
"katex": "^0.16.28",
"prettier": "^3.4.2",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-markdown": "^10.1.0",
"react-redux": "^9.2.0",
"react-router-dom": "^7.13.0",
"rehype-katex": "^7.0.1",
"remark-gfm": "^4.0.1",
"remark-math": "^6.0.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.57.1",
"vite": "^7.3.1",
"vitest": "^4.0.18"
},
"optionalDependencies": {
"appdmg": "^0.6.6"
},
"overrides": {
"@electron/osx-sign": {
"isbinaryfile": "^5.0.7"
}
},
"dependencies": {
"@mariozechner/pi-ai": "0.52.12",
"electron-log": "^5.4.3",
"electron-updater": "^6.7.3",
"json5": "^2.2.3",
"jszip": "^3.10.1",
"node-pty": "^1.1.0",
"posthog-js": "^1.362.0",
"posthog-node": "^5.28.4",
"react-hot-toast": "^2.6.0"
},
"build": {
"appId": "ai.atomicbot.desktop",
"productName": "Atomic Bot",
"protocols": [
{
"name": "Atomic Bot",
"schemes": [
"atomicbot"
]
}
],
"afterPack": "scripts/electron-builder.afterPack-sign-extra-resources.cjs",
"afterSign": "scripts/electron-builder.afterSign-notarize.cjs",
"afterAllArtifactBuild": "scripts/electron-builder.afterAllArtifactBuild-notarize-dmg.cjs",
"directories": {
"output": "release"
},
"files": [
"dist/**",
"renderer/dist/**",
"assets/**",
"package.json"
],
"extraResources": [
{
"from": "assets/icon.png",
"to": "assets/icon.png"
},
{
"from": "assets/icon.ico",
"to": "assets/icon.ico"
},
{
"from": "assets/trayTemplate.png",
"to": "assets/trayTemplate.png"
},
{
"from": "assets/trayTemplate@2x.png",
"to": "assets/trayTemplate@2x.png"
},
{
"from": "assets/ai-models",
"to": "ai-models",
"filter": [
"*.jinja"
]
},
{
"from": "vendor/openclaw",
"to": "openclaw"
},
{
"from": "vendor/openclaw/node_modules",
"to": "openclaw/node_modules",
"filter": [
"**/*"
]
},
{
"from": "vendor/node",
"to": "node"
},
{
"from": "vendor/gog",
"to": "gog"
},
{
"from": "vendor/jq",
"to": "jq"
},
{
"from": "vendor/memo",
"to": "memo"
},
{
"from": "vendor/remindctl",
"to": "remindctl"
},
{
"from": "vendor/obsidian-cli",
"to": "obsidian-cli"
},
{
"from": "vendor/gh",
"to": "gh"
},
{
"from": "vendor/whisper-cli",
"to": "whisper-cli"
}
],
"publish": {
"provider": "github",
"owner": "AtomicBot-ai",
"repo": "atomicbot",
"releaseType": "draft"
},
"mac": {
"artifactName": "Atomic-Bot-${version}-${arch}-mac.${ext}",
"icon": "assets/icon.icns",
"category": "public.app-category.productivity",
"hardenedRuntime": true,
"entitlements": "entitlements.mac.plist",
"entitlementsInherit": "entitlements.mac.inherit.plist",
"target": [
{
"target": "zip",
"arch": ["arm64", "x64"]
}
],
"extendInfo": {
"NSRemindersUsageDescription": "Atomic Bot needs access to Reminders to create, list, and complete reminders on your behalf.",
"NSMicrophoneUsageDescription": "Atomic Bot needs microphone access for voice input and speech-to-text transcription."
}
},
"win": {
"artifactName": "Atomic-Bot-${version}-${arch}-win.${ext}",
"icon": "assets/icon.ico",
"target": [
"nsis"
],
"requestedExecutionLevel": "asInvoker",
"executableName": "AtomicBot"
},
"nsis": {
"oneClick": true,
"include": "custom-installer.nsh"
}
}
}