-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
176 lines (176 loc) · 6.79 KB
/
package.json
File metadata and controls
176 lines (176 loc) · 6.79 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
{
"name": "funplay",
"version": "0.3.5",
"private": true,
"license": "MIT",
"description": "AI game development workbench for multi-engine game creation.",
"type": "module",
"main": "out/main/index.js",
"scripts": {
"postinstall": "electron-builder install-app-deps",
"dev": "npm run rebuild:native:force && electron-vite dev",
"test": "npm run test:runtime",
"test:runtime": "sh -c 'npm rebuild better-sqlite3 && node --experimental-strip-types --import ./tests/register-ts-loader.mjs --test tests/runtime/*.test.ts; code=$?; npm run rebuild:native:force; exit $code'",
"lint": "eslint 'electron/**/*.ts' 'shared/**/*.ts' 'src/**/*.ts' 'src/**/*.tsx' 'tests/**/*.ts'",
"format": "prettier --write 'electron/**/*.ts' 'shared/**/*.ts' 'src/**/*.ts' 'src/**/*.tsx' 'tests/**/*.ts'",
"format:check": "prettier --check 'electron/**/*.ts' 'shared/**/*.ts' 'src/**/*.ts' 'src/**/*.tsx' 'tests/**/*.ts'",
"agent:e2e": "node scripts/agent-e2e.mjs",
"agent:e2e:claude-live": "node scripts/agent-e2e-claude-live.mjs",
"agent:benchmark": "node scripts/agent-benchmark.mjs",
"agent:core-v2-benchmark": "node scripts/agent-core-v2-benchmark.mjs",
"agent:platform-v3-benchmark": "node scripts/agent-platform-v3-benchmark.mjs",
"agent:skills-v2-benchmark": "node scripts/agent-skills-v2-benchmark.mjs",
"agent:mcp-compatibility": "node --experimental-strip-types --import ./tests/register-ts-loader.mjs --test --test-name-pattern \"unity mcp client reuses initialization|mcp connection manager reconnects|unity mcp client exposes prompt|unity mcp optional capability|mcp tool elicitation|mcp compatibility matrix|mcp stdio transport|mcp stdio lifecycle|mcp stdio crash|mcp streamable http transport|mcp sse transport\" tests/runtime/unity-onboarding.test.ts",
"agent:browser-smoke": "sh -c 'NODE_OPTIONS=\"--experimental-strip-types --import ./tests/register-ts-loader.mjs\" electron scripts/agent-browser-smoke.mjs'",
"ui:smoke": "node scripts/desktop-ui-smoke.mjs",
"ui:electron-smoke": "electron scripts/desktop-ui-electron-smoke",
"ui:maturity-gate": "node scripts/desktop-ui-maturity-gate.mjs",
"runtime:maturity-gate": "node scripts/runtime-maturity-gate.mjs",
"runtime:maturity-gate:live": "node scripts/runtime-maturity-gate.mjs --require-live",
"release:audit": "node scripts/release-config-audit.mjs",
"release:gate": "node scripts/release-gate.mjs",
"release:verify-runtime-deps": "node scripts/verify-packaged-runtime-deps.mjs",
"release:verify-mac-updates": "node scripts/merge-mac-update-metadata.mjs --verify release/latest-mac.yml --check-artifacts",
"runtime:pptx:check": "node scripts/prepare-pptx-runtime.mjs --check",
"runtime:pptx:prepare": "node scripts/prepare-pptx-runtime.mjs",
"ensure:claude-sdk:darwin-x64": "node scripts/ensure-claude-sdk-darwin-x64.mjs",
"build": "npm run rebuild:native && tsc --noEmit && electron-vite build",
"predist": "npm run rebuild:native",
"dist": "npm run dist:mac:arm64",
"dist:mac": "npm run dist:mac:arm64",
"dist:mac:arm64": "npm run build && electron-builder --mac --arm64 --publish never",
"dist:mac:x64": "npm run ensure:claude-sdk:darwin-x64 && npm run build && electron-builder --mac --x64 --publish never",
"dist:mac:split": "node scripts/build-mac-split-release.mjs",
"dist:mac:intel": "npm run dist:mac:x64",
"dist:win": "npm run dist:win:x64",
"dist:win:x64": "npm run build && electron-builder --win --x64 --publish never",
"check:native": "node scripts/ensure-electron-native.mjs",
"rebuild:native": "node scripts/ensure-electron-native.mjs",
"rebuild:native:force": "node scripts/ensure-electron-native.mjs --force"
},
"build": {
"appId": "ai.funplay.desktop",
"productName": "Funplay",
"directories": {
"output": "release"
},
"publish": [
{
"provider": "github",
"owner": "FunplayAI",
"repo": "Funplay",
"releaseType": "release"
}
],
"icon": "resources/icon",
"files": [
"out/**/*",
"package.json",
"resources/**/*",
"node_modules/@anthropic-ai/claude-agent-sdk/**/*",
"node_modules/@anthropic-ai/claude-agent-sdk-*/**/*",
"!resources/runtime/**/*",
"!out/**/*.map",
"!node_modules/**/*.map",
"!node_modules/**/*.d.ts",
"!node_modules/**/*.d.mts",
"!node_modules/**/*.d.cts",
"!node_modules/**/docs/**/*",
"!node_modules/**/doc/**/*",
"!node_modules/**/test/**/*",
"!node_modules/**/tests/**/*",
"!node_modules/**/__tests__/**/*",
"!node_modules/better-sqlite3/deps/**/*",
"!node_modules/better-sqlite3/src/**/*"
],
"asarUnpack": [
"node_modules/@anthropic-ai/claude-agent-sdk-*/**/*"
],
"dmg": {
"backgroundColor": "#f4f6fb",
"icon": null,
"window": {
"width": 540,
"height": 360
},
"contents": [
{
"x": 155,
"y": 130,
"type": "file"
},
{
"x": 385,
"y": 130,
"type": "link",
"path": "/Applications"
}
]
},
"mac": {
"category": "public.app-category.developer-tools",
"icon": "resources/icon.icns",
"notarize": true,
"target": [
"dmg",
"zip"
]
},
"win": {
"icon": "resources/icon.ico",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
]
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false
}
},
"dependencies": {
"@ai-sdk/amazon-bedrock": "^4.0.97",
"@ai-sdk/anthropic": "3.0.69",
"@ai-sdk/google": "3.0.62",
"@ai-sdk/google-vertex": "^4.0.113",
"@anthropic-ai/claude-agent-sdk": "^0.2.119",
"@base-ui/react": "^1.4.1",
"@modelcontextprotocol/sdk": "^1.29.0",
"@tanstack/react-virtual": "^3.13.24",
"@types/better-sqlite3": "^7.6.13",
"ai": "6.0.158",
"better-sqlite3": "^12.9.0",
"cmdk": "^1.1.1",
"electron-updater": "^6.8.3",
"lucide-react": "^1.16.0",
"react": "19.2.5",
"react-dom": "19.2.5",
"react-markdown": "^10.1.0",
"react-resizable-panels": "^4.11.1",
"remark-gfm": "^4.0.1",
"zod": "4.3.6"
},
"devDependencies": {
"@electron/asar": "^3.4.1",
"@stylistic/eslint-plugin": "^5.10.0",
"@types/node": "25.6.0",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"@vitejs/plugin-react": "4.7.0",
"electron": "41.2.0",
"electron-builder": "26.8.1",
"electron-vite": "5.0.0",
"eslint": "^10.3.0",
"eslint-config-prettier": "^10.1.8",
"prettier": "^3.8.3",
"typescript": "6.0.2",
"typescript-eslint": "^8.59.2",
"vite": "7.3.2"
}
}