-
-
Notifications
You must be signed in to change notification settings - Fork 477
Expand file tree
/
Copy pathpackage.json
More file actions
347 lines (347 loc) · 17.3 KB
/
Copy pathpackage.json
File metadata and controls
347 lines (347 loc) · 17.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
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
{
"name": "natively",
"version": "2.8.5",
"main": "dist-electron/electron/main.js",
"description": "Natively is a meeting notes app that uses AI to generate notes from your meetings.",
"scripts": {
"clean": "rimraf dist dist-electron",
"dev": "vite",
"build": "npm run clean && tsc && vite build",
"build:electron": "node scripts/build-electron.js",
"build:electron:tsc": "tsc -p electron/tsconfig.json",
"typecheck:electron": "tsc -p electron/tsconfig.json --noEmit",
"preview": "vite preview",
"postinstall": "patch-package && cross-env SHARP_IGNORE_GLOBAL_LIBVIPS=1 npm rebuild sharp && node scripts/rebuild-native-electron.js && node scripts/download-models.js && node scripts/ensure-sqlite-vec.js && node scripts/patch-electron-plist.js && node scripts/verify-native-arch.js",
"rebuild:native": "node scripts/rebuild-native-electron.js && node scripts/verify-native-arch.js",
"prepare": "husky",
"electron:dev": "npm run build && npm run build:electron && cross-env NODE_ENV=development electron .",
"electron:build": "npm run build:electron && cross-env NODE_ENV=production electron .",
"app:dev": "concurrently --kill-others --kill-signal SIGKILL \"npm run dev -- --port 5180 --strictPort\" \"wait-on http://localhost:5180 && npm run electron:dev\"",
"app:build": "npm run build && npm run typecheck:electron && npm run build:electron && cross-env NATIVELY_BUILD_ALL_MAC_ARCHES=1 npm run build:native && node scripts/ensure-sharp-mac-deps.js && node scripts/ensure-sqlite-vec.js && npm run verify:packaged-local-assets && (electron-builder; code=$?; node scripts/rebuild-native-electron.js; exit $code)",
"app:build:signed": "npm run build && npm run typecheck:electron && npm run build:electron && cross-env NATIVELY_BUILD_ALL_MAC_ARCHES=1 npm run build:native && node scripts/ensure-sharp-mac-deps.js && node scripts/ensure-sqlite-vec.js && npm run verify:packaged-local-assets && (electron-builder --config electron-builder.signed.cjs; code=$?; node scripts/rebuild-native-electron.js; exit $code)",
"watch": "tsc -p electron/tsconfig.json --watch",
"start": "npm run app:dev",
"dist": "npm run app:build",
"dist:signed": "npm run app:build:signed && node scripts/upload-release.mjs",
"build:native": "node scripts/build-native.js",
"test": "npm run build:electron && node --test 'electron/services/__tests__/**/*.test.mjs' 'electron/llm/__tests__/**/*.test.mjs' 'electron/llm/codeVerification/__tests__/**/*.test.mjs' 'electron/audio/__tests__/**/*.test.mjs' 'electron/rag/__tests__/**/*.test.mjs' 'electron/utils/__tests__/**/*.test.mjs' 'electron/update/**/*.test.mjs'",
"test:intelligence": "npm run build:electron && node --test 'electron/intelligence/__tests__/**/*.test.mjs'",
"test:lib": "node --experimental-strip-types --test 'src/lib/**/__tests__/**/*.test.mjs'",
"test:ci": "npm run typecheck:electron && npm run build && npm test && npm run test:intelligence && npm run test:lib",
"test:modes": "npm run build:electron && node --test electron/services/__tests__/Mode*.test.mjs electron/services/__tests__/ProfileIntelligenceGate.test.mjs electron/services/__tests__/NativelyApiE2E.test.mjs",
"test:modes:no-build": "node --test electron/services/__tests__/Mode*.test.mjs electron/services/__tests__/ProfileIntelligenceGate.test.mjs electron/services/__tests__/NativelyApiE2E.test.mjs",
"test:modes:collect-fixtures": "RUN_INTERNET_FIXTURE_COLLECTION=1 node --test electron/services/__tests__/ModeFixtureIntegrity.test.mjs",
"test:modes:e2e": "RUN_NATIVELY_API_E2E=1 npm run test:modes",
"test:modes:long": "node --test electron/services/__tests__/ModeLongSession.test.mjs",
"test:e2e": "npx playwright test",
"test:e2e:headed": "npx playwright test --headed",
"test:e2e:parity": "ELECTRON_E2E=1 ELECTRON_APP_PORT=${ELECTRON_APP_PORT:-5173} npx playwright test tests/e2e/parity-gaps-evidence.spec.ts",
"test:e2e:screen-understanding": "npm run build:electron && node natively-api/tests/screen-understanding-live.e2e.mjs",
"bench:screen-understanding": "npm run build:electron && node scripts/bench-screen-understanding.mjs",
"benchmark:vision": "npm run build:electron && node dist-electron/electron/visionBenchmark/cli.js",
"benchmark:vision:live": "npm run build:electron && node scripts/run-live-vision-benchmark.mjs",
"test:vision-benchmark": "npm run build:electron && node --test electron/visionBenchmark/__tests__/*.test.mjs",
"benchmark:profile:dataset": "node benchmarks/profile-intelligence/generate_dataset.ts",
"benchmark:profile": "cross-env NODE_NO_WARNINGS=1 node benchmarks/profile-intelligence/run_profile_intelligence_benchmark.ts",
"benchmark:profile:300": "cross-env NODE_NO_WARNINGS=1 node benchmarks/profile-intelligence/run_profile_intelligence_benchmark.ts --questions=300 --concurrency=1",
"benchmark:profile:1000": "cross-env NODE_NO_WARNINGS=1 node benchmarks/profile-intelligence/run_profile_intelligence_benchmark.ts --questions=1000 --concurrency=1",
"benchmark:profile:score": "cross-env NODE_NO_WARNINGS=1 node benchmarks/profile-intelligence/score_profile_benchmark.ts",
"benchmark:profile:build": "npm run build:electron && npm run benchmark:profile && npm run benchmark:profile:score",
"benchmark:wta": "cross-env NODE_NO_WARNINGS=1 node benchmarks/profile-intelligence/run_what_to_answer_benchmark.ts",
"benchmark:wta:75": "cross-env NODE_NO_WARNINGS=1 node benchmarks/profile-intelligence/run_what_to_answer_benchmark.ts --questions=75",
"benchmark:wta:100": "cross-env NODE_NO_WARNINGS=1 node benchmarks/profile-intelligence/run_what_to_answer_benchmark.ts --questions=100",
"benchmark:manual-regression": "cross-env NODE_NO_WARNINGS=1 BENCHMARK_MODEL=gemini-3.1-flash-lite node benchmarks/profile-intelligence/run_manual_chat_regression.ts",
"benchmark:manual-sequential-stress": "cross-env NODE_NO_WARNINGS=1 BENCHMARK_MODEL=gemini-3.1-flash-lite node benchmarks/profile-intelligence/run_manual_sequential_stress_eval.ts",
"benchmark:profile:1000:gemini31-flash-lite": "cross-env NODE_NO_WARNINGS=1 BENCHMARK_MODEL=gemini-3.1-flash-lite node benchmarks/profile-intelligence/run_profile_benchmark_1000.ts --concurrency=1",
"benchmark:residual-failures": "cross-env NODE_NO_WARNINGS=1 BENCHMARK_MODEL=gemini-3.1-flash-lite node benchmarks/profile-intelligence/run_residual_failures.ts",
"benchmark:multimode:1000": "cross-env NODE_NO_WARNINGS=1 BENCHMARK_MODEL=gemini-3.1-flash-lite node benchmarks/profile-intelligence/run_multimode_1000_eval.ts --concurrency=1",
"benchmark:followup:500": "cross-env NODE_NO_WARNINGS=1 BENCHMARK_MODEL=gemini-3.1-flash-lite node benchmarks/profile-intelligence/run_followup_stability_eval.ts",
"benchmark:longsession:100": "cross-env NODE_NO_WARNINGS=1 BENCHMARK_MODEL=gemini-3.1-flash-lite node benchmarks/profile-intelligence/run_long_session_eval.ts",
"doctor": "npx react-doctor@latest",
"test:intelligence:ui": "playwright test --config intelligence-eval-real-ui/playwright.config.ts",
"test:intelligence:ui:headed": "playwright test --config intelligence-eval-real-ui/playwright.config.ts --headed",
"test:intelligence:ui:debug": "PWDEBUG=1 playwright test --config intelligence-eval-real-ui/playwright.config.ts",
"test:intelligence:ui:report": "playwright show-report intelligence-eval-real-ui/results/playwright-report",
"eval:intelligence:ui": "node --experimental-strip-types intelligence-eval-real-ui/run-real-ui-e2e.ts",
"test:intelligence:ui:grader": "node --experimental-strip-types intelligence-eval-real-ui/grader-unit-checks.mjs",
"benchmark:livememory": "cross-env NODE_NO_WARNINGS=1 NATIVELY_ENABLE_LIVE_SESSION_MEMORY=on node benchmarks/profile-intelligence/run_live_session_memory_eval.ts",
"test:llm": "npm run build:electron && node --test \"electron/llm/__tests__/**/*.test.mjs\" \"electron/llm/codeVerification/__tests__/**/*.test.mjs\"",
"test:services": "npm run build:electron && node --test \"electron/services/__tests__/**/*.test.mjs\"",
"test:meeting-notes": "npm run build:electron && node --test \"electron/services/meeting/__tests__/**/*.test.mjs\"",
"eval:meeting-notes": "npm run build:electron && cross-env NODE_NO_WARNINGS=1 node benchmarks/meeting-notes/run_meeting_notes_eval.mjs",
"test:electron": "npm run build:electron && NATIVELY_TEST_USERDATA=${NATIVELY_TEST_USERDATA:-${TMPDIR:-/tmp}/natively-test-userdata} ELECTRON_RUN_AS_NODE=1 ./node_modules/.bin/electron --test \"electron/services/__tests__/**/*.test.mjs\"",
"benchmark:answer-quality": "cross-env NODE_NO_WARNINGS=1 BENCHMARK_MODEL=gemini-3.1-flash-lite node benchmarks/profile-intelligence/run_best_in_class_eval.ts",
"benchmark:live-replay:50": "cross-env NODE_NO_WARNINGS=1 NATIVELY_ENABLE_LIVE_SESSION_MEMORY=on node benchmarks/profile-intelligence/run_live_session_replay_eval.ts",
"ci:tier1": "npm run build:electron && node --test \"electron/llm/__tests__/**/*.test.mjs\"",
"ci:tier2": "npm run ci:tier1 && cross-env BENCHMARK_MODEL=gemini-3.1-flash-lite node benchmarks/profile-intelligence/run_residual_failures.ts",
"ci:tier3": "npm run benchmark:multimode:1000 && npm run benchmark:followup:500 && npm run benchmark:longsession:100 && npm run benchmark:answer-quality",
"ci:tier4": "npm run benchmark:livememory && npm run benchmark:live-replay:50 && npm run benchmark:wta:100 && npm run test:intelligence:ui",
"benchmark:l4-aggregate": "node --experimental-strip-types benchmarks/profile-intelligence/aggregate_l4_progress.ts",
"test:l4-aggregator": "node --test benchmarks/profile-intelligence/aggregate_l4_progress.selftest.mjs",
"benchmark:manual-ui-truth": "cross-env NODE_NO_WARNINGS=1 BENCHMARK_MODEL=gemini-3.1-flash-lite node benchmarks/profile-intelligence/run_manual_ui_truth_eval.ts",
"verify:hindsight": "node scripts/verify-hindsight.mjs",
"verify:packaged-local-assets": "node scripts/verify-packaged-local-assets.mjs",
"verify:mac-app-local-assets": "node scripts/verify-packaged-local-assets.mjs",
"smoke:packaged-local-fallback": "node scripts/smoke-packaged-local-fallback.mjs",
"smoke:onnx-packaging": "node scripts/smoke-onnx-packaging.mjs",
"release-gate": "node scripts/release-gate.mjs",
"verify:memory-context": "npm run build:electron && node tests/intelligence/memory-context/run-verification.mjs",
"verify:humanized-answers": "npm run build:electron && node scripts/verify-humanized-answers.mjs",
"verify:spoken-quality": "npm run build:electron && node scripts/verify-spoken-quality.mjs"
},
"build": {
"generateUpdatesFilesForAllChannels": true,
"appId": "com.electron.meeting-notes",
"afterPack": "./scripts/ad-hoc-sign.js",
"productName": "Natively",
"files": [
"dist",
"dist-electron",
"native-module",
"package.json",
"node_modules",
"!**/native-module/target",
"!**/native-module/src",
"!**/native-module/.cargo",
"!**/.env",
"!**/.env.*",
"!**/*.log",
"!**/*.pdf",
"!**/.git"
],
"asarUnpack": [
"**/*.node",
"**/*.dylib",
"**/whisperWorker.js",
"**/intentClassifierWorker.js",
"**/localEmbeddingWorker.js",
"**/localRerankerWorker.js",
"**/rerankerDownloadWorker.js",
"**/node_modules/better-sqlite3/**",
"**/node_modules/keytar/**",
"**/node_modules/sqlite-vec/**",
"**/node_modules/sqlite-vec-*/**",
"**/node_modules/sharp/**",
"**/node_modules/@img/sharp*/**",
"**/node_modules/@napi-rs/**",
"**/node_modules/@huggingface/transformers/**",
"**/node_modules/@huggingface/jinja/**",
"**/node_modules/onnxruntime-common/**",
"**/node_modules/onnxruntime-node/**",
"**/node_modules/onnxruntime-web/**"
],
"directories": {
"output": "release",
"buildResources": "assets"
},
"extraResources": [
{
"from": "assets/",
"to": "assets/"
},
{
"from": "assets/natively.icns",
"to": "natively.icns"
},
{
"from": "resources/models/",
"to": "models/"
}
],
"mac": {
"category": "public.app-category.productivity",
"target": [
{
"target": "zip",
"arch": [
"x64",
"arm64"
]
},
{
"target": "dmg",
"arch": [
"x64",
"arm64"
]
}
],
"icon": "assets/natively.icns",
"identity": null,
"hardenedRuntime": false,
"extendInfo": {
"NSScreenCaptureUsageDescription": "Natively needs Screen Recording permission to capture system audio for meeting transcription.",
"NSMicrophoneUsageDescription": "Natively needs microphone access to transcribe your voice during meetings.",
"NSAudioCaptureUsageDescription": "Natively needs system audio access to transcribe meeting audio."
}
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
},
{
"target": "portable",
"arch": [
"x64"
]
}
],
"icon": "assets/icons/win/icon.ico",
"requestedExecutionLevel": "asInvoker"
},
"linux": {
"target": [
{
"target": "AppImage",
"arch": [
"x64"
]
},
{
"target": "deb",
"arch": [
"x64"
]
}
],
"icon": "assets/icons/png/",
"category": "Office"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false,
"artifactName": "${productName}-Setup-${version}.${ext}"
},
"publish": [
{
"provider": "github",
"owner": "Natively-AI-assistant",
"repo": "natively-cluely-ai-assistant",
"releaseType": "release"
}
],
"npmRebuild": false,
"beforePack": "./scripts/rebuild-native-for-target.cjs"
},
"keywords": [],
"author": "",
"license": "SEE LICENSE IN LICENSE",
"devDependencies": {
"@electron/notarize": "^3.1.1",
"@electron/rebuild": "^4.0.3",
"@napi-rs/cli": "^3.5.1",
"@playwright/test": "^1.59.1",
"@types/better-sqlite3": "^7.6.13",
"@types/color": "^4.2.0",
"@types/diff": "^6.0.0",
"@types/electron": "^1.4.38",
"@types/node": "^22.9.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/react-syntax-highlighter": "^15.5.13",
"@types/screenshot-desktop": "^1.12.3",
"@types/uuid": "^9.0.8",
"@types/ws": "^8.18.1",
"@typescript-eslint/eslint-plugin": "^8.14.0",
"@typescript-eslint/parser": "^8.14.0",
"@vitejs/plugin-react": "^4.3.3",
"autoprefixer": "^10.4.20",
"concurrently": "^9.1.0",
"cross-env": "^7.0.3",
"dotenv": "^17.3.1",
"electron": "43.1.0",
"electron-builder": "^26.8.1",
"electron-is-dev": "^3.0.1",
"husky": "^9.1.7",
"patch-package": "^8.0.1",
"postcss": "^8.4.49",
"react-doctor": "^0.2.10",
"rimraf": "^6.0.1",
"tailwindcss": "^3.4.15",
"typescript": "^5.6.3",
"vite": "^5.4.11",
"vite-plugin-electron": "^0.28.8",
"vite-plugin-electron-renderer": "^0.14.6",
"wait-on": "^8.0.1"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.74.0",
"@bany/curl-to-json": "^1.2.10",
"@deepgram/sdk": "^3.13.0",
"@elevenlabs/client": "^0.15.1",
"@elevenlabs/elevenlabs-js": "^2.39.0",
"@google-cloud/speech": "^7.2.1",
"@google/genai": "^1.44.0",
"@google/stitch-sdk": "^0.0.3",
"@grpc/grpc-js": "^1.14.4",
"@grpc/proto-loader": "^0.8.0",
"@huggingface/transformers": "^3.8.1",
"@paper-design/shaders-react": "^0.0.78",
"@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-toast": "^1.2.2",
"@tanstack/react-query": "^5.100.10",
"@tavily/core": "^0.7.2",
"@types/keytar": "^4.4.0",
"@types/marked": "^5.0.2",
"@types/qrcode": "^1.5.6",
"@types/three": "^0.182.0",
"axios": "^1.7.7",
"better-sqlite3": "12.11.1",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.1",
"electron-store": "^8.1.0",
"electron-updater": "^6.7.3",
"form-data": "^4.0.6",
"framer-motion": "^12.29.2",
"groq-sdk": "^0.37.0",
"jspdf": "^4.0.0",
"katex": "^0.16.27",
"keytar": "^7.9.0",
"liquid-glass-react": "^1.1.1",
"lucide-react": "^0.460.0",
"mammoth": "^1.11.0",
"marked": "^18.0.4",
"onnxruntime-common": "1.22.0",
"onnxruntime-node": "1.22.0",
"openai": "^6.22.0",
"pdf-parse": "2.4.5",
"qrcode": "^1.5.4",
"react": "^19.2.6",
"react-dom": "^19.2.6",
"react-icons": "^5.3.0",
"react-markdown": "^10.1.0",
"react-syntax-highlighter": "^16.1.1",
"rehype-katex": "^7.0.1",
"remark-gfm": "^4.0.1",
"remark-math": "^6.0.0",
"screenshot-desktop": "^1.15.0",
"sharp": "^0.34.5",
"sqlite-vec": "^0.1.7-alpha.2",
"tailwind-merge": "^2.5.4",
"tap": "^21.5.0",
"tesseract.js": "^5.0.5",
"three": "^0.182.0",
"tree-kill": "^1.2.2",
"uuid": "^11.0.3",
"ws": "^8.21.0"
},
"optionalDependencies": {
"@vectorize-io/hindsight-client": "^0.8.2",
"sqlite-vec-darwin-arm64": "^0.1.7-alpha.2",
"sqlite-vec-darwin-x64": "^0.1.7-alpha.2"
},
"overrides": {
"onnxruntime-node": "1.22.0",
"react-reconciler": {
"react": "$react"
}
},
"nativelySigned": true
}