Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
172 lines (172 loc) · 5.58 KB
/
Copy pathpackage.json
File metadata and controls
172 lines (172 loc) · 5.58 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
{
"name": "pi-studio",
"version": "0.5.1",
"piRuntimeVersion": "1.4.0",
"private": true,
"license": "MIT",
"author": {
"name": "Pi Studio"
},
"description": "Pi Studio - a cross-platform desktop client for the pi coding agent (models, harness, extensions, sessions).",
"engines": {
"node": ">=24.14.0 <25"
},
"main": "./out/main/index.js",
"scripts": {
"dev": "electron-vite dev",
"build": "electron-vite build",
"preview": "electron-vite preview",
"start": "electron-vite preview",
"typecheck": "tsc --noEmit -p tsconfig.node.json && tsc --noEmit -p tsconfig.json",
"test:permission": "node scripts/test-permission-gate.mjs",
"test:usage-mcp": "node scripts/test-usage-mcp.cjs",
"test:usage-pricing": "node scripts/test-usage-pricing.cjs",
"test:runtime-mcp": "node scripts/test-runtime-mcp.cjs",
"test:core-updater": "node scripts/test-core-updater.cjs",
"test:app-updater-notes": "node scripts/test-app-updater-notes.cjs",
"test:update-notes-ui": "electron scripts/test-update-notes-ui.cjs",
"test:choices": "node scripts/test-choices.cjs",
"test:choices-ui": "electron scripts/test-choices-ui.cjs",
"test:mcp-desktop": "node scripts/test-mcp-desktop.cjs",
"test:settings-ui": "electron scripts/test-settings-ui.cjs",
"test:office-preview": "electron scripts/test-office-preview.cjs",
"test:html-reference": "node --experimental-strip-types scripts/test-html-reference.mjs",
"test:skills-cli": "node --experimental-strip-types scripts/test-skills-cli.mjs",
"test:chat-scroll": "electron scripts/test-chat-scroll.cjs",
"test:reply-duration": "electron scripts/test-reply-duration.cjs",
"test:final-deliverables": "node scripts/test-final-deliverables.cjs",
"bundle": "node scripts/bundle-runtime.mjs",
"finalize-runtime": "node scripts/finalize-runtime.mjs",
"pack": "npm run bundle && npm run build && electron-builder --dir && npm run finalize-runtime",
"dist": "npm run bundle && npm run build && electron-builder && npm run finalize-runtime",
"test:remote": "node scripts/test-remote-protocol.mjs",
"test:remote-signaling": "node scripts/test-remote-signaling.mjs",
"signaling": "node signaling/server.mjs",
"test:model-visibility": "node scripts/test-model-visibility.cjs",
"test:provider-presets": "node scripts/test-provider-presets.cjs",
"test:provider-presets-ui": "electron scripts/test-provider-presets-ui.cjs",
"test:mcp-marketplace": "node scripts/test-mcp-marketplace.cjs",
"test:package-market": "node scripts/test-package-market.cjs",
"test:system-notifications": "node scripts/test-system-notifications.cjs",
"test:package-market-ui": "electron scripts/test-package-market-ui.cjs",
"test:mcp-marketplace-ui": "electron scripts/test-mcp-marketplace-ui.cjs",
"test:model-discovery": "node scripts/test-model-discovery.cjs"
},
"dependencies": {
"@univerjs/preset-sheets-core": "1.0.3",
"@univerjs/presets": "1.0.3",
"clsx": "^2.1.1",
"docx-preview": "0.3.7",
"electron-updater": "^6.8.9",
"highlight.js": "^11.10.0",
"jszip": "^3.10.1",
"qrcode": "^1.5.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-markdown": "^9.0.1",
"rehype-highlight": "^7.0.1",
"remark-gfm": "^4.0.0",
"skills": "^1.5.22",
"ws": "^8.21.2",
"xlsx": "^0.18.5",
"zustand": "^4.5.5"
},
"devDependencies": {
"@types/node": "^22.9.0",
"@types/qrcode": "^1.5.6",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/ws": "^8.18.1",
"@vitejs/plugin-react": "^4.3.3",
"electron": "^33.2.0",
"electron-builder": "^25.1.8",
"electron-vite": "^2.3.0",
"typescript": "^5.6.3",
"vite": "^5.4.11"
},
"allowScripts": {
"electron@33.4.11": true,
"esbuild@0.21.5": true
},
"build": {
"appId": "com.pi-studio.app",
"productName": "Pi Studio",
"publish": [
{
"provider": "github",
"owner": "flowflic",
"repo": "Pi-Studio",
"releaseType": "release"
}
],
"icon": "resources/icon.png",
"directories": {
"output": "release"
},
"files": [
"out/**/*"
],
"asarUnpack": [
"node_modules/skills/**/*",
"node_modules/yaml/**/*"
],
"extraResources": [
{
"from": "src/main/vendor/dsh-cost-meter-LICENSE",
"to": "licenses/dsh-cost-meter-LICENSE"
},
{
"from": "resources/runtime-manifest.json",
"to": "runtime-manifest.json"
},
{
"from": "runtime-release",
"to": "runtime-package"
},
{
"from": "resources/icon.png",
"to": "icon.png"
},
{
"from": "resources/icon.ico",
"to": "icon.ico"
}
],
"win": {
"icon": "resources/icon.ico",
"executableName": "Pi Studio",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"artifactName": "Pi-Studio-Setup-${version}.${ext}"
},
"nsis": {
"oneClick": false,
"perMachine": true,
"packElevateHelper": true,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "Pi Studio"
},
"mac": {
"icon": "resources/icon.icns",
"target": [
"dmg"
],
"artifactName": "Pi-Studio-${version}-${arch}.${ext}"
},
"linux": {
"icon": "resources/icon.png",
"target": [
"AppImage"
],
"artifactName": "Pi-Studio-${version}-${arch}.${ext}"
}
}
}