forked from Orkas-AI/Orkas
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 3.5 KB
/
Copy pathpackage.json
File metadata and controls
128 lines (128 loc) · 3.5 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
{
"name": "orkas",
"version": "0.1.0",
"private": true,
"license": "MIT",
"description": "Orkas desktop — Electron + Node one-piece app",
"main": "bootstrap.cjs",
"type": "commonjs",
"imports": {
"#core-agent": "./src/core-agent/src/index.ts"
},
"scripts": {
"start": "electron .",
"stop": "pkill -9 -f \"$PWD/node_modules/electron/dist\" || true",
"smoke": "tsx src/main/smoke.ts",
"typecheck": "tsc --noEmit",
"test": "node scripts/run-tests.mjs run",
"test:watch": "node scripts/run-tests.mjs",
"rebuild:sqlite:electron": "node scripts/swap-sqlite-abi.mjs electron",
"rebuild:sqlite:node": "node scripts/swap-sqlite-abi.mjs node",
"postinstall": "node scripts/swap-sqlite-abi.mjs electron && node scripts/fetch-embedding-model.mjs",
"prepack": "node scripts/swap-sqlite-abi.mjs electron",
"predist": "node scripts/swap-sqlite-abi.mjs electron",
"pack": "electron-builder --dir",
"dist": "electron-builder",
"dist:mac": "electron-builder --mac",
"dist:win": "electron-builder --win"
},
"devDependencies": {
"@types/node": "^25.6.0",
"electron": "^32.0.0",
"typescript": "^6.0.3",
"vitest": "^4.1.5"
},
"dependencies": {
"@mariozechner/pi-ai": "^0.68.1",
"async-mutex": "^0.5.0",
"better-sqlite3": "^12.9.0",
"electron-log": "^5.4.3",
"fastembed": "^2.1.0",
"jimp": "^1.6.1",
"mammoth": "^1.12.0",
"onnxruntime-node": "^1.24.3",
"pdfjs-dist": "^5.6.205",
"sqlite-vec": "^0.1.9",
"tsx": "^4.21.0",
"zod": "^3.24.0"
},
"build": {
"appId": "com.orkas.desktop",
"productName": "Orkas",
"directories": {
"output": "dist"
},
"files": [
"bootstrap.cjs",
"bin/**/*",
"src/main/**/*.{js,ts,mjs,cjs,md,json}",
"src/renderer/**/*",
"src/builtin/**/*",
"src/resources/icons/**/*",
"tsconfig.json",
"node_modules/tsx/**/*",
"node_modules/get-tsconfig/**/*",
"node_modules/resolve-pkg-maps/**/*",
"node_modules/esbuild/**/*",
"node_modules/@esbuild/**/*",
"src/core-agent/package.json",
"src/core-agent/src/**/*.ts",
"!**/*.{py,pyc}",
"!**/__pycache__",
"!**/.DS_Store",
"!src/core-agent/test/**"
],
"asar": false,
"asarUnpack": [
"bin/**/*",
"src/builtin/skills/**/*",
"node_modules/tsx/**/*",
"node_modules/get-tsconfig/**/*",
"node_modules/resolve-pkg-maps/**/*",
"node_modules/esbuild/**/*",
"node_modules/@esbuild/**/*",
"node_modules/better-sqlite3/**/*",
"node_modules/bindings/**/*",
"node_modules/file-uri-to-path/**/*",
"node_modules/sqlite-vec*/**/*",
"node_modules/onnxruntime-node/**/*",
"node_modules/fastembed/**/*"
],
"extraResources": [
{
"from": "resources/embedding-model",
"to": "embedding-model",
"filter": [
"**/*",
"!*.tar.gz"
]
}
],
"afterPack": "scripts/codesign-adhoc.cjs",
"mac": {
"category": "public.app-category.productivity",
"identity": null,
"target": [
{
"target": "dmg",
"arch": [
"arm64",
"x64"
]
}
],
"icon": "src/resources/icons/icon.icns"
},
"win": {
"target": "nsis",
"icon": "src/resources/icons/icon.ico"
},
"linux": {
"target": "AppImage",
"category": "Utility"
}
},
"optionalDependencies": {
"@esbuild/darwin-arm64": "^0.27.7"
}
}