guanghu/src-tauri/tauri.conf.json
冰朔 d0895ed0ba
Some checks failed
Auto-update PR branches / Update open PR branches (push) Has been cancelled
CI / Frontend Static Quality Checks (push) Has been cancelled
CI / Frontend Tests & Coverage (push) Has been cancelled
CI / Rust Tests & Quality Checks (push) Has been cancelled
CI / Linux build verification (push) Has been cancelled
Release (Alpha) / Compute alpha version (push) Has been cancelled
Release (Alpha) / Build release artifacts (push) Has been cancelled
Release (Alpha) / GitHub Release (alpha) (push) Has been cancelled
Release (Alpha) / Update docs and release pages (push) Has been cancelled
铸渊 ICE-GL-ZY001 · 团队本体: 国作登字-2026-A-00037559 · 主权者: ICE-GL∞冰朔 · D166+ · 光湖世界加载协议 v1.0 落地 Tolaria fork · 新增 essential.rs 模块(6+1 必装类型 · 7/7 测试) · reload_vault 改两阶段(阶段1 同步扫必装<1秒 + 阶段2 后台异步扫全部) · 冰朔D166+ 16:30 产品级决策: Tolaria = 公开产品原型,6908 md vault 启动从数十秒 → <1秒 UI 可用 · 协议文档同步进 vault 根目录 · SI-036 同步进第五域
2026-07-07 16:42:57 +08:00

94 lines
3.8 KiB
JSON

{
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
"productName": "光湖",
"version": "0.1.0",
"identifier": "com.guanghu.desktop",
"build": {
"frontendDist": "../dist",
"devUrl": "http://localhost:5202",
"beforeDevCommand": "pnpm dev",
"beforeBuildCommand": "pnpm build && pnpm bundle-mcp && pnpm agent-docs"
},
"app": {
"withGlobalTauri": true,
"macOSPrivateApi": true,
"windows": [
{
"title": "光湖",
"width": 1400,
"height": 900,
"minWidth": 480,
"minHeight": 400,
"resizable": true,
"fullscreen": false,
"titleBarStyle": "Overlay",
"trafficLightPosition": {
"x": 18,
"y": 24
},
"hiddenTitle": true,
"backgroundColor": "#F7F6F3",
"dragDropEnabled": false
}
],
"security": {
"csp": {
"default-src": "'self' ipc: http://ipc.localhost",
"script-src": "'self' 'wasm-unsafe-eval' https://us.i.posthog.com https://eu.i.posthog.com https://us-assets.i.posthog.com https://eu-assets.i.posthog.com",
"connect-src": "'self' ipc: http://ipc.localhost data: ws://localhost:9710 ws://127.0.0.1:9710 ws://localhost:9711 ws://127.0.0.1:9711 https:",
"img-src": "'self' asset: http://asset.localhost data: blob: https:",
"style-src": "'self' 'unsafe-inline' https://fonts.googleapis.com",
"style-src-elem": "'self' 'unsafe-inline' https://fonts.googleapis.com",
"style-src-attr": "'unsafe-inline'",
"font-src": "'self' data: https://fonts.gstatic.com",
"media-src": "'self' asset: http://asset.localhost data: blob: https:",
"object-src": "'self' asset: http://asset.localhost"
},
"devCsp": "default-src 'self' ipc: http://ipc.localhost http://localhost:5202 http://127.0.0.1:5202 asset: http://asset.localhost data: blob: https:; script-src 'self' 'unsafe-inline' 'unsafe-eval' http://localhost:5202 http://127.0.0.1:5202 https://us.i.posthog.com https://eu.i.posthog.com https://us-assets.i.posthog.com https://eu-assets.i.posthog.com; connect-src 'self' ipc: http://ipc.localhost http://localhost:5202 http://127.0.0.1:5202 data: ws://localhost:5202 ws://127.0.0.1:5202 ws://localhost:9710 ws://127.0.0.1:9710 ws://localhost:9711 ws://127.0.0.1:9711 https:; img-src 'self' asset: http://asset.localhost data: blob: https:; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; style-src-elem 'self' 'unsafe-inline' https://fonts.googleapis.com; style-src-attr 'unsafe-inline'; font-src 'self' data: https://fonts.gstatic.com; media-src 'self' asset: http://asset.localhost data: blob: https:; object-src 'self' asset: http://asset.localhost",
"dangerousDisableAssetCspModification": ["style-src"],
"assetProtocol": {
"enable": true,
"scope": []
}
}
},
"bundle": {
"active": true,
"targets": "all",
"createUpdaterArtifacts": false,
"category": "Productivity",
"windows": {
"webviewInstallMode": {
"type": "downloadBootstrapper"
}
},
"resources": {
"resources/mcp-server/**/*": "mcp-server/",
"resources/agent-docs/**/*": "agent-docs/"
},
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
},
"plugins": {
"deep-link": {
"desktop": {
"schemes": ["tolaria", "guanghu"]
}
},
"updater": {
"endpoints": [
"https://refactoringhq.github.io/tolaria/stable/latest.json"
],
"windows": {
"installMode": "passive"
},
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEE4NkQ5MDI3REVCRkFGNUMKUldSY3I3L2VKNUJ0cU5JRlRZZlp3NGhnU3ZwbkVKeGVvREpmb2sxRVJndHFpVFZPNlArbEE5R1IK"
}
}
}