* fix(desktop): expose explicit backup capabilities * fix(desktop): align titlebar controls with native metrics * release(desktop): prepare portable v0.2.1 * build(desktop): rebuild compiled dist from source 4a67226 Rebuild the compiled-only React Desktop 2.0 renderer from abraxas914/GenericAgent main @4a67226, carrying the v0.2.1 iterations that PR #784 was closed to await: live turn-timer persistence across session switch, Mixin image-to-path fallback, folder drag-drop, per-turn duration, and image-thumbnail repair. - dist/**: regenerated 98 manifest assets + entry HTML - build-provenance.json: sourceCommit -> 4a67226, manifest sha256 recomputed - verify-compiled-dist.mjs: expectedSourceCommit -> 4a67226 - dist/README.md: provenance source commit updated - desktop_bridge.py, test_bridge_origin_security.py: synced to 4a67226 - core (agentmain.py, llmcore*, src/**, public/**) remains zero-diff vs upstream --------- Co-authored-by: abraxas914 <abraxas345589144233@outlook.com>
91 lines
3.1 KiB
JSON
91 lines
3.1 KiB
JSON
{
|
|
"productName": "GenericAgent",
|
|
"version": "0.2.1",
|
|
"identifier": "com.genericagent.app",
|
|
"build": {
|
|
"frontendDist": "../dist"
|
|
},
|
|
"app": {
|
|
"withGlobalTauri": true,
|
|
"security": {
|
|
"csp": {
|
|
"default-src": "'self' tauri: asset:",
|
|
"script-src": "'self'",
|
|
"style-src": "'self' 'unsafe-inline'",
|
|
"font-src": "'self' data: asset: http://asset.localhost",
|
|
"img-src": "'self' data: blob: asset: http://asset.localhost http://127.0.0.1:14168 http://localhost:14168",
|
|
"media-src": "'self' data: blob: http://127.0.0.1:14168 http://localhost:14168",
|
|
"connect-src": "'self' ipc: http://ipc.localhost http://127.0.0.1:14168 http://localhost:14168 ws://127.0.0.1:14168 ws://localhost:14168 http://127.0.0.1:8900 http://localhost:8900 ws://127.0.0.1:8900 ws://localhost:8900",
|
|
"worker-src": "'self' blob:",
|
|
"object-src": "'none'",
|
|
"base-uri": "'self'",
|
|
"form-action": "'none'",
|
|
"frame-src": "'none'",
|
|
"frame-ancestors": "'none'"
|
|
},
|
|
"devCsp": {
|
|
"default-src": "'self' tauri: asset: http://localhost:5173",
|
|
"script-src": "'self' 'unsafe-inline' 'unsafe-eval' http://localhost:5173",
|
|
"style-src": "'self' 'unsafe-inline' http://localhost:5173",
|
|
"font-src": "'self' data: asset: http://asset.localhost http://localhost:5173",
|
|
"img-src": "'self' data: blob: asset: http://asset.localhost http://localhost:5173 http://127.0.0.1:14168 http://localhost:14168",
|
|
"media-src": "'self' data: blob: http://127.0.0.1:14168 http://localhost:14168",
|
|
"connect-src": "'self' ipc: http://ipc.localhost http://localhost:5173 ws://localhost:5173 http://127.0.0.1:14168 http://localhost:14168 ws://127.0.0.1:14168 ws://localhost:14168 http://127.0.0.1:8900 http://localhost:8900 ws://127.0.0.1:8900 ws://localhost:8900",
|
|
"worker-src": "'self' blob:",
|
|
"object-src": "'none'",
|
|
"base-uri": "'self'",
|
|
"form-action": "'none'",
|
|
"frame-src": "'none'",
|
|
"frame-ancestors": "'none'"
|
|
},
|
|
"capabilities": ["default", "setup"]
|
|
},
|
|
"windows": [
|
|
{
|
|
"title": "",
|
|
"label": "main",
|
|
"width": 1280,
|
|
"height": 800,
|
|
"resizable": true,
|
|
"maximized": false,
|
|
"visible": false,
|
|
"titleBarStyle": "Overlay",
|
|
"trafficLightPosition": { "x": 13, "y": 22 },
|
|
"dragDropEnabled": false,
|
|
"url": "loading.html"
|
|
},
|
|
{
|
|
"title": "",
|
|
"label": "setup",
|
|
"width": 600,
|
|
"height": 580,
|
|
"resizable": false,
|
|
"visible": false,
|
|
"center": true,
|
|
"url": "setup.html"
|
|
}
|
|
]
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": ["nsis", "dmg"],
|
|
"icon": ["icons/icon.ico", "icons/icon.png", "icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png"],
|
|
"macOS": {
|
|
"dmg": {
|
|
"windowSize": {
|
|
"width": 540,
|
|
"height": 380
|
|
},
|
|
"appPosition": {
|
|
"x": 140,
|
|
"y": 200
|
|
},
|
|
"applicationFolderPosition": {
|
|
"x": 400,
|
|
"y": 200
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|