Source PR: #17 · docs/rfcs/0014-contacts-api.md · @filvecchiato
Description
Products read the host's address book through host_contacts_get and host_contacts_subscribe, each contact carrying local metadata plus per-context identifiers. A product sees its own context only by default.
Motivation
Aliases differ per product context, so the address book is the user's private map of who is who — and products cannot see it, leaving users to paste raw keys or scan a QR code for every interaction.
Requirements
- Tier 1 returns only the calling product's context; tier 2 returns every context behind
ContactsCrossContext.
DevicePermission gains Contacts and ContactsCrossContext.
- Both methods require authentication and prompt before returning.
- Only contacts the user saved are returned; this is not a name-resolution service.
Tasks
Source PR: #17 ·
docs/rfcs/0014-contacts-api.md· @filvecchiatoDescription
Products read the host's address book through
host_contacts_getandhost_contacts_subscribe, each contact carrying local metadata plus per-context identifiers. A product sees its own context only by default.Motivation
Aliases differ per product context, so the address book is the user's private map of who is who — and products cannot see it, leaving users to paste raw keys or scan a QR code for every interaction.
Requirements
ContactsCrossContext.DevicePermissiongainsContactsandContactsCrossContext.Tasks