Files
GenericAgent/frontends/desktop/src-tauri/capabilities/default.json
T
YI QI LIMandabraxas914 efb3bc6ad1 feat(desktop): compiled React Desktop 2.0 v0.2.1 renderer update (#787)
* 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>
2026-08-30 14:21:51 +08:00

31 lines
897 B
JSON

{
"identifier": "default",
"description": "Least-privilege capabilities for the main application window",
"windows": ["main"],
"permissions": [
"core:event:allow-listen",
"core:event:allow-unlisten",
"core:window:allow-minimize",
"core:window:allow-toggle-maximize",
"core:window:allow-close",
"core:window:allow-start-dragging",
"allow-start-bridge",
"allow-retry-bootstrap",
"allow-get-bootstrap-snapshot",
"allow-export-mykey",
"allow-pick-directory",
"allow-pick-data-backup-file",
"allow-pick-data-export-path",
"allow-reveal-in-file-manager",
"allow-get-ga-source",
"allow-validate-ga-source",
"allow-set-ga-source",
"allow-clear-ga-source",
"allow-get-macos-titlebar-metrics",
"allow-shortcut-should-ask",
"allow-shortcut-decide",
"opener:allow-open-url",
"opener:allow-default-urls"
]
}