Capabilities
Capabilities are named Host ports and adapters that let an App use services beyond its own code and Datasets. Access is denied by default and enabled through a manifest allowlist and admin or account consent. External systems communicate with adapters, not directly with Apps.
Declaration and consent
An App declares a list of capability ids it might use in its manifest. Each declaration includes a localized rationale and may include suggested configuration. Capabilities are denied by default: an undeclared or disabled capability call fails, and Apps must handle denial. Runtime resources such as webhooks and schedules can be registered only through a declared capability.
At install or update, the Instance admin reviews the requested capabilities and may accept, disable, or configure them. Widening the allowlist requires an App update and fresh consent. Accounts inherit the admin’s settings and may tighten them, but cannot widen access beyond the admin’s choice. Account-specific settings can be reset to the admin defaults. If access is denied at runtime, the Shell should direct the user to settings or show a prompt rather than silently treating the operation as successful.
Capability consent is separate from Dataset Grants: allowing an App to use a Host service does not grant it access to data. Grants are also distinct from ambient logging and the Shell UI bridge; those are not App-requested capabilities.
V1 catalog
| Id | Purpose |
|---|---|
http_out |
Outbound HTTP, with a configurable domain allowlist |
scheduled |
Scheduled and deferred App wakes; see scheduled work |
share_link |
Start the Shell’s share-link flow; see share links |
webhook |
Receive inbound HTTP through an External share |
carddav / caldav |
CardDAV and CalDAV protocol front doors; the App supplies the data |
notify |
App-requested user notifications; see Notifications |
Host system notifications, such as a stale Dataset notice, do not require an App capability.
External access
The Host owns external protocols and URL namespaces. Protocol adapters run inside the Instance and communicate with an App; Apps register handlers and supply data when the Host asks. Apps do not own public sockets, and external clients do not connect directly to Apps or raw Datasets.
An External share link uses credentials specific to that share action, separate from Instance login, and may expose multiple collections. Should the HTML for a share link be rendered server side or client side? Either way the link has only access to the shared data, which can be limited similar to all other grants.
Webhooks follow the same family of opaque URL plus secret, waking an App handler. To avoid overloading the server, the webhooks are limited in the calls per minute.
Future catalog
webdav, email, ai, and jmap are potential future capabilities. There is no events id until its behavior is defined.
CardDAV and CalDAV are the initial external sync protocols. WebDAV is the foundation for a possible future product; JMAP is a later research priority, and proprietary protocols such as ActiveSync are out of scope unless needed. Custom kinds without a standard sync protocol can use App-native export or a future API.
For the protocol survey and decision record, see external sync protocols. Provider implementations outside the trusted Host are deferred; third-party providers are vision only.