Skip to content

Permissions, resources and networking ​

Declaration is not authorization. These are the only six valid manifest.capabilities values; all can be denied without blocking enablement.

CapabilityRequired fallback
external.openKeep in-widget information usable when article links cannot open
locationHandle unavailable, timeout, system-disabled and denied states
notificationsKeep status readable inside the widget
clipboardUse one grant for text/HTML/image/file operations; no monitoring/history
directory.writePreserve read-only features; writes stay within user bindings
screen.captureUse the system picker; handle cancellation and invalidation

Networking, metrics, directory reads, media and documented base interfaces work without authorization and obey resource scope, lifecycle, quotas and final-delivery validation.

Networking and accounts ​

Direct fetch/WebSocket/WebRTC are allowed. Browser fetch obeys CORS. Host network methods provide bounded HTTP responses and Base64 bodies; a header chooses plaintext value OR secretBindingId with optional prefix.

Do not evade CORS through arbitrary public proxies, remote scripts or remote embedded pages. The component and provider own login and consent. Consult the selected service's official documentation before choosing a login flow.

Bound resources and invalidation ​

Bindings represent user-selected resources, not arbitrary author paths. File open/export retain trusted selectors and overwrite flows. Temporary fileId/exportId/streamId/panelId values expire with their owner/document; do not save them as permanent paths.

After installation authorization, calls do not require repeated copy/link confirmations. Subscribe to capabilities.changed, cancel old work and clear invalid displays. Calls may still fail during execution; handle denial, unavailability and cancellation. Revocation cannot retract bytes already delivered. Never log tokens, bodies, file content or complete personal paths.

Read the API contract and account integration.

Current host contract · SDK 0.1.1 · MIT