waybetter-for-x/apps/desktop/src-tauri/capabilities/drafts-popover.json
2026-09-30 23:01:13 +00:00

8 lines
632 B
JSON

{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "drafts-popover",
"description": "The drafts popover (local webview `popover-<n>` layered over an X tab under the composer's Drafts button): read its own session, list active drafts while it is open, insert one into the tab that opened it (focus + insertText, never Post), close itself, open the vault in the shell. No settings, tabs, filesystem, events or generic APIs.",
"webviews": ["popover-*"],
"local": true,
"permissions": ["allow-popover-state", "allow-popover-drafts", "allow-popover-insert", "allow-popover-close", "allow-popover-open-vault"]
}