-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
182 lines (182 loc) · 5.68 KB
/
Copy pathpackage.json
File metadata and controls
182 lines (182 loc) · 5.68 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
{
"name": "kestrel",
"version": "0.5.0",
"description": "Personal AI desktop assistant",
"main": "./out/main/index.js",
"type": "module",
"private": true,
"packageManager": "npm@11.6.1",
"engines": {
"node": ">=22.12.0",
"npm": ">=11.0.0"
},
"scripts": {
"dev": "electron-vite dev",
"build": "electron-vite build",
"preview": "electron-vite preview",
"postinstall": "electron-rebuild -f -w better-sqlite3",
"sdk:build": "npm --prefix sdk/js run build && npm --prefix sdk/js run typecheck:examples && cargo build -p kestrel-sdk",
"sdk:package": "npm --prefix sdk/js run pack:dry && cargo package -p kestrel-sdk --allow-dirty",
"sdk:publish:npm": "npm --prefix sdk/js run publish:npm",
"sdk:publish:crate": "cargo publish -p kestrel-sdk",
"pack": "npm run contextkit:build && npm run build && electron-builder --dir && npm run sign",
"dist": "npm run contextkit:build && npm run build && electron-builder && npm run sign",
"dist:dmg": "npm run contextkit:build && npm run build && electron-builder --mac dmg",
"sign": "codesign -s - --deep --force release/mac-arm64/Kestrel.app 2>/dev/null || true",
"app:install": "npm run pack && rm -rf /Applications/Kestrel.app && cp -r release/mac-arm64/Kestrel.app /Applications/Kestrel.app && xattr -cr /Applications/Kestrel.app",
"db:generate": "drizzle-kit generate",
"db:push": "drizzle-kit push",
"contextkit:build": "cd native/contextkit && swift build -c release",
"test": "node tests/contextkit-pipeline.test.mjs && node tests/meeting-detection.test.mjs && node tests/audio-data-size.test.mjs"
},
"dependencies": {
"@ax-llm/ax": "^22.0.3",
"@electron-toolkit/utils": "^4.0.0",
"@modelcontextprotocol/sdk": "^1.29.0",
"@radix-ui/react-dialog": "^1.1.17",
"@radix-ui/react-dropdown-menu": "^2.1.18",
"@radix-ui/react-scroll-area": "^1.2.12",
"@radix-ui/react-separator": "^1.1.10",
"@radix-ui/react-slot": "^1.3.0",
"@radix-ui/react-switch": "^1.3.1",
"@radix-ui/react-tabs": "^1.1.15",
"@radix-ui/react-toggle": "^1.1.12",
"@radix-ui/react-tooltip": "^1.2.10",
"@tanstack/react-router": "^1.170.15",
"better-sqlite3": "^12.11.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"date-fns": "^4.4.0",
"drizzle-orm": "^0.45.2",
"electron-store": "^11.0.2",
"electron-updater": "^6.8.9",
"electron-window-state": "^5.0.3",
"framer-motion": "^12.40.0",
"lucide-react": "^1.20.0",
"mobx": "^6.16.1",
"mobx-react-lite": "^4.1.1",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"react-markdown": "^10.1.0",
"remark-gfm": "^4.0.1",
"shiki": "^4.2.0",
"sonner": "^2.0.3",
"tailwind-merge": "^3.6.0",
"uuid": "^14.0.0",
"zod": "^4.4.3"
},
"devDependencies": {
"@electron/rebuild": "^4.0.4",
"@emnapi/core": "^1.11.1",
"@emnapi/runtime": "^1.11.1",
"@emnapi/wasi-threads": "^2.0.0",
"@napi-rs/wasm-runtime": "^1.1.5",
"@tailwindcss/vite": "^4.3.1",
"@types/better-sqlite3": "^7.6.12",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.0.0",
"@types/uuid": "^11.0.0",
"@vitejs/plugin-react": "^6.0.2",
"@tybys/wasm-util": "^0.10.2",
"drizzle-kit": "^0.31.10",
"electron": "^41.7.2",
"electron-builder": "^26.15.3",
"electron-vite": "^6.0.0-beta.1",
"tailwindcss": "^4.1.0",
"typescript": "^6.0.3",
"vite": "^8.0.16"
},
"overrides": {
"@emnapi/core": "$@emnapi/core",
"@emnapi/runtime": "$@emnapi/runtime",
"@emnapi/wasi-threads": "$@emnapi/wasi-threads",
"@napi-rs/wasm-runtime": "$@napi-rs/wasm-runtime",
"@tybys/wasm-util": "$@tybys/wasm-util"
},
"build": {
"appId": "com.kestrel.app",
"productName": "Kestrel",
"directories": {
"output": "release"
},
"publish": [
{
"provider": "github",
"owner": "evalops",
"repo": "kestrel"
}
],
"protocols": [
{
"name": "EvalOps Links",
"schemes": [
"evalops"
]
}
],
"files": [
"out/**/*"
],
"mac": {
"target": [
{
"target": "dmg",
"arch": [
"arm64"
]
},
{
"target": "zip",
"arch": [
"arm64"
]
}
],
"icon": "resources/icon.icns",
"category": "public.app-category.productivity",
"artifactName": "${productName}-${version}-${arch}.${ext}",
"entitlements": "resources/entitlements.mac.plist",
"entitlementsInherit": "resources/entitlements.mac.plist",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"extendInfo": {
"NSMicrophoneUsageDescription": "Kestrel needs microphone access to record meeting audio.",
"NSAppleEventsUsageDescription": "Kestrel needs to read browser tab information for context.",
"NSAccessibilityUsageDescription": "Kestrel uses accessibility features to understand what you're working on.",
"NSScreenCaptureUsageDescription": "Kestrel captures system audio for meeting recording."
},
"extraResources": [
{
"from": "native/contextkit/.build/release/contextkit",
"to": "contextkit"
}
]
},
"dmg": {
"contents": [
{
"x": 130,
"y": 220
},
{
"x": 410,
"y": 220,
"type": "link",
"path": "/Applications"
}
],
"window": {
"width": 540,
"height": 380
}
},
"asar": true,
"asarUnpack": [
"**/*.node",
"**/better-sqlite3/**",
"**/bindings/**",
"**/file-uri-to-path/**"
]
}
}