Files
Genarrative/apps/ai-game-creator-shell/src-tauri/tauri.conf.json
T
AIGameCreator App 3a8dff1404 完善游戏创作工作台与智能体恢复闭环
实现横屏项目开发工作台、资源画布、Supervisor 对话与专业 Agent 状态展示

修复总控和专业 Agent 重试、Runner 接管、历史成果跨 Run 持久展示及确认流程

补齐画板图片产物合同、客户端内预览、共享契约与安全边界

新增完整回归测试、工作台 PRD、技术方案与待解决事项
2026-07-20 19:48:05 +08:00

51 lines
1.9 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Genarrative AI Game Creator",
"version": "0.1.0",
"identifier": "world.genarrative.ai-game-creator",
"build": {
"beforeDevCommand": "npm --prefix ../.. run agc:serve",
"beforeBuildCommand": "npm --prefix ../.. run ai-game-creator-shell:typecheck && npm --prefix ../.. exec vite -- build --config vite.config.ts",
"devUrl": "http://127.0.0.1:3080/",
"frontendDist": "../dist"
},
"app": {
"withGlobalTauri": true,
"windows": [
{
"label": "client",
"title": "AI 游戏创作",
"url": "index.html",
"width": 1280,
"height": 800,
"minWidth": 1280,
"minHeight": 800
}
],
"security": {
"csp": "default-src 'self' customprotocol: asset:; img-src 'self' asset: data: blob:; media-src 'self' asset: data: blob:; connect-src 'self' http://127.0.0.1:* ws://127.0.0.1:*; script-src 'self'; style-src 'self' 'unsafe-inline'; frame-src 'self' http://127.0.0.1:*",
"devCsp": "default-src 'self' customprotocol: asset: http://127.0.0.1:*; img-src 'self' asset: http://127.0.0.1:* data: blob:; media-src 'self' asset: http://127.0.0.1:* data: blob:; connect-src 'self' http://127.0.0.1:* ws://127.0.0.1:*; script-src 'self'; style-src 'self' 'unsafe-inline'; frame-src 'self' http://127.0.0.1:*"
}
},
"bundle": {
"active": true,
"targets": "all",
"linux": {
"deb": {
"depends": ["bubblewrap"]
},
"rpm": {
"depends": ["bubblewrap"]
}
},
"icon": [
"../../desktop-shell/src-tauri/icons/32x32.png",
"../../desktop-shell/src-tauri/icons/128x128.png",
"../../desktop-shell/src-tauri/icons/128x128@2x.png",
"../../desktop-shell/src-tauri/icons/icon.icns",
"../../desktop-shell/src-tauri/icons/icon.ico",
"../../desktop-shell/src-tauri/icons/icon.png"
]
}
}