Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
198 lines (198 loc) · 8.15 KB
/
Copy pathpackage.json
File metadata and controls
198 lines (198 loc) · 8.15 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
{
"name": "leon",
"version": "2.0.0-alpha.0.32",
"description": "Server, skills and web app of the Leon personal assistant",
"author": {
"name": "Louis Grenard",
"email": "louis@getleon.ai",
"url": "https://x.com/grenlouis"
},
"license": "MIT",
"homepage": "https://getleon.ai",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/leon-ai/leon.git"
},
"bugs": {
"url": "https://github.com/leon-ai/leon/issues"
},
"engines": {
"node": ">=24.0.0"
},
"devEngines": {
"runtime": {
"name": "node",
"version": ">=24.0.0",
"onFail": "error"
},
"packageManager": {
"name": "pnpm",
"version": "12.23.0",
"onFail": "ignore"
}
},
"scripts": {
"pre-commit": "lint-staged",
"lint": "tsx scripts/lint.js",
"test": "pnpm run test:unit && pnpm run test:integration && pnpm run test:controlled:e2e",
"test:unit": "cross-env LEON_NODE_ENV=testing vitest run --config vitest.config.ts test/core/unit test/agent/unit test/controlled/unit test/onboarding/unit",
"test:web-app:e2e": "playwright test --config test/web-app/playwright.config.ts",
"test:aurora:e2e": "playwright test --config test/web-app/aurora.playwright.config.ts",
"test:agent:unit": "cross-env LEON_NODE_ENV=testing tsx scripts/run-agent-vitest.ts unit",
"test:agent:e2e": "cross-env LEON_NODE_ENV=testing tsx scripts/run-agent-vitest.ts e2e",
"test:agent:scenario": "cross-env LEON_NODE_ENV=testing tsx scripts/run-agent-vitest.ts scenario",
"test:core:unit": "cross-env LEON_NODE_ENV=testing vitest run --config vitest.config.ts test/core/unit",
"test:integration": "cross-env LEON_NODE_ENV=testing vitest run --config vitest.config.ts test/core/integration --maxWorkers=2",
"test:controlled:unit": "cross-env LEON_NODE_ENV=testing vitest run --config vitest.config.ts test/controlled/unit",
"test:controlled:e2e": "cross-env LEON_NODE_ENV=testing vitest run --config vitest.config.ts test/controlled/e2e --no-file-parallelism",
"test:onboarding:e2e": "cross-env LEON_NODE_ENV=testing vitest run --config vitest.config.ts test/onboarding/e2e --no-file-parallelism",
"preinstall": "node scripts/setup/preinstall.js",
"postinstall": "node scripts/setup/run-setup.js",
"dev:app": "vite --config apps/web-legacy/vite.config.js",
"dev:web-app": "vite --config apps/web/vite.config.ts",
"dev:web-app:previews": "vite --config test/web-app/previews/vite.config.ts",
"dev:aurora": "pnpm run dev:web-app:previews",
"dev:aurora:legacy": "vite --config aurora/preview/vite.config.js",
"dev:server": "pnpm --silent run build:web-app && pnpm --silent run train && cross-env LEON_NODE_ENV=development nodemon",
"dev:server:no-lint": "pnpm --silent run build:web-app && pnpm --silent run train && cross-env LEON_NODE_ENV=development nodemon --config nodemon.nolint.json",
"dev:satellite": "cross-env LEON_NODE_ENV=development tsx server/src/satellite.ts",
"inspect:gpu": "./node_modules/node-llama-cpp/dist/cli/cli.js inspect gpu",
"delete-dist:server": "shx rm -rf ./server/dist",
"clean:python-deps": "shx rm -rf ./bridges/python/src/.venv ./tcp_server/src/.venv && pnpm run postinstall",
"generate:profile-token": "tsx scripts/generate/run-generate-profile-token.js",
"generate:json-schemas": "tsx scripts/generate/run-generate-json-schemas.js",
"generate:prompt": "tsx scripts/generate/run-generate-prompt.js",
"build": "pnpm run build:app && pnpm run build:web-app && pnpm run build:server",
"build:aurora": "tsx scripts/build-aurora.js",
"build:app": "cross-env LEON_NODE_ENV=production tsx scripts/app/run-build-app.js",
"build:web-app": "vite build --config apps/web/vite.config.ts",
"build:server": "tsx scripts/build-server.js",
"cmd": "tsx scripts/run-built-in-command.js",
"start:tcp-server": "tsx scripts/run-tcp-server.js",
"start": "cross-env LEON_NODE_ENV=production node scripts/run-with-managed-node.js server/dist/pre-check.js && node scripts/run-with-managed-node.js server/dist/index.js",
"start:satellite": "cross-env LEON_NODE_ENV=production node scripts/run-with-managed-node.js server/dist/satellite.js",
"python-bridge": "tsx scripts/run-python-bridge.js server/src/intent-object.sample.json",
"train": "tsx scripts/train/run-train.js",
"release": "tsx scripts/release/release.ts",
"check": "tsx scripts/check.js",
"kill": "tsx scripts/kill.js",
"build:desktop": "pnpm --filter leon-desktop install --frozen-lockfile --ignore-scripts && pnpm --filter leon-desktop build",
"start:desktop": "node apps/desktop/scripts/start.mjs",
"test:desktop": "pnpm --filter leon-desktop test",
"test:desktop:e2e": "playwright test --config apps/desktop/test/playwright.config.mjs",
"check:desktop": "node apps/desktop/scripts/check-native.mjs",
"bench:desktop": "node apps/desktop/scripts/check-performance.mjs"
},
"dependencies": {
"@ai-sdk/anthropic": "4.0.102",
"@ai-sdk/cerebras": "3.0.90",
"@ai-sdk/deepseek": "3.0.84",
"@ai-sdk/groq": "4.0.81",
"@ai-sdk/minimax": "3.0.79",
"@ai-sdk/moonshotai": "3.0.90",
"@ai-sdk/open-responses": "2.0.85",
"@ai-sdk/openai": "4.0.125",
"@ai-sdk/openai-compatible": "3.0.90",
"@ai-sdk/provider": "4.0.39",
"@ai-sdk/zai": "3.0.52",
"@ark-ui/react": "5.36.0",
"@eslint/css-tree": "4.0.4",
"@fastify/static": "11.0.0",
"@ffprobe-installer/ffprobe": "2.1.2",
"@fontsource/jetbrains-mono": "5.3.0",
"@fontsource/source-sans-pro": "5.2.5",
"@huggingface/inference": "4.13.30",
"@json-render/core": "0.22.0",
"@json-render/react": "0.22.0",
"@modelcontextprotocol/client": "2.4.0",
"@openrouter/ai-sdk-provider": "3.1.0",
"@pierre/diffs": "1.6.2",
"@pierre/highlights": "0.3.0",
"@segment/ajv-human-errors": "2.16.0",
"@sinclair/typebox": "0.31.23",
"@streamdown/math": "1.0.3",
"@tanstack/react-query": "5.106.0",
"@tanstack/react-router": "1.170.46",
"@tanstack/react-virtual": "3.14.26",
"@tobilu/qmd": "2.9.0",
"ai": "7.0.183",
"ajv": "8.18.0",
"ajv-formats": "2.1.1",
"axios": "1.21.1",
"better-sqlite3": "13.0.3",
"clsx": "2.1.1",
"confbox": "0.3.1",
"consola": "3.4.2",
"cross-env": "7.0.3",
"dayjs": "1.11.20",
"dompurify": "3.5.1",
"dotenv": "16.4.5",
"echarts": "6.1.0",
"execa": "10.2.0",
"fastify": "5.12.8",
"ffmpeg-static": "5.3.0",
"getos": "3.2.1",
"html-to-image": "1.11.13",
"jose": "6.2.12",
"katex": "0.16.47",
"marked": "18.0.11",
"node-llama-cpp": "3.22.2",
"ora": "9.3.0",
"os-name": "4.0.1",
"parse5": "8.1.1",
"pele": "1.13.0",
"ps-list": "7.2.0",
"react": "19.2.6",
"react-dom": "19.2.6",
"rehype-sanitize": "6.0.0",
"remark-github-blockquote-alert": "2.1.0",
"remixicon": "4.9.1",
"semver": "7.5.4",
"shiki": "4.5.0",
"socket.io": "4.8.3",
"socket.io-client": "4.8.3",
"streamdown": "2.7.1",
"tar": "8.1.2",
"tree-kill": "1.2.2",
"tsx": "4.23.15",
"ws": "8.23.0",
"yaml": "2.8.3"
},
"devDependencies": {
"@eslint/js": "10.0.1",
"@playwright/test": "1.64.1",
"@stylistic/eslint-plugin": "5.10.0",
"@tsconfig/node16": "16.1.8",
"@tsconfig/strictest": "2.0.8",
"@types/better-sqlite3": "7.6.13",
"@types/cli-spinner": "0.2.3",
"@types/getos": "3.0.4",
"@types/node": "26.6.6",
"@types/react": "19.2.15",
"@types/react-dom": "19.2.3",
"@types/ws": "8.18.2",
"@typescript-eslint/eslint-plugin": "8.64.0",
"@typescript-eslint/parser": "8.64.0",
"@vitejs/plugin-react": "6.0.2",
"cli-spinner": "0.2.10",
"esbuild": "0.27.4",
"eslint": "10.7.0",
"eslint-import-resolver-typescript": "4.4.5",
"eslint-plugin-import-x": "4.17.1",
"eslint-plugin-unicorn": "72.0.0",
"globals": "17.7.0",
"husky": "9.1.7",
"json": "11.0.0",
"lint-staged": "15.1.0",
"nodemon": "3.1.14",
"resolve-tspaths": "0.8.17",
"sass": "1.100.0",
"shx": "0.4.0",
"svgo": "4.1.0",
"tsrs": "7.1.0-beta.tsrs9",
"typescript": "npm:@typescript/typescript6@6.0.2",
"vite": "8.4.1",
"vitest": "5.0.5"
}
}