Contacts

Dupin finds a person in Contacts by name, organisation, address or number, and writes to, calls or FaceTimes them from the panel.

Open it

Switch on Contacts in Settings → Extensions, then type contact Space, and part of a name, organisation, email address or phone number, such as contact ada or contact +44. Contacts isn't listed in the main search.

What you see

  • Under contact, one row per contact, in the order Contacts lists them: the name, and below it the organisation, the first email address and the first phone number.
  • A card with no name shows its organisation, or its first address or number, as its name. A card with none of them isn't listed.
  • On a contact's page, its addresses under Email, its numbers under Phone, each with its label, such as home or mobile, and Open in Contacts.

What you can do

On a contact, ↩ opens its page; → or ⌘K lists the rest:

Key / action What it does
Show Addresses and Numbers Opens the contact's page
Copy Name Copies the contact's name

On a contact's page, type to narrow its rows by address, number or label:

Row ↩ ⌘K also
An email address Starts a new message to it in your mail app Copy
A phone number Calls it Copy, FaceTime
Open in Contacts Shows the contact in Contacts

A number is called with every digit and letter it holds, letters as a phone's keypad spells them (1-800-FLOWERS), and without an extension written after it (x12, ext. 12, ,12); a number with anything else, such as * or #, isn't listed. Only an address that is one plain address is listed, so a contact can never add a subject, a body or another recipient to the message.

Other keys: Keys.

Notes

  • Off by default, since it reads people's personal details.
  • Needs macOS Contacts access. Turning Contacts on in Settings → Extensions asks macOS for it; until macOS has been asked, contact lists Request Access in place of your contacts. Settings → Permissions → Contacts asks too, and shows what uses it. If macOS refuses, contact says so, with Open System Settings, and lists your contacts once you allow them there.
  • If you later turn Contacts access off in System Settings → Privacy & Security, Dupin can no longer read your contacts until you allow it there again.
  • Dupin only reads your contacts and never changes them. It holds the list in memory, reads it again every 5 minutes while you use it, and never writes it to disk.
  • Typing keeps the contacts that hold every word typed, anywhere in the name, organisation, addresses or numbers, in Contacts' order.
  • Contacts are read 500 at a time. A list holds up to 9,999 contacts (Extension API › Limits); past that, its last row says only the first ones are listed.

Configuration

Contacts has no setting in config.toml. Turn it on or off in Settings → Extensions, or ahead of time in extension-grants.toml beside config.toml (Declaring them with Nix):

version = 1

[packages."bundled:contacts"]
enabled = true
Extension scopes

Contacts holds one scope, which Settings → Extensions lists with the extension:

Scope Lets it
contacts:read Read your contacts' names, companies, emails and phone numbers

As a bundled extension it has it while it runs as shipped; revoking it there stops the list.

How it works and changing it

The list and the contact's page are TypeScript in extensions/contacts, which reads your contacts through the contacts capability.

To change it, eject it and edit the copy:

dupin ext eject contacts

A changed copy is your own extension, without the bundled one's grants, as Overriding a built-in describes.

View this page on GitHub