Command reference
ed permissions
macOS grants privacy permissions to the Edith app, not to ed, so ed reports
what Edith last saw. ed permissions refresh asks Edith to check again, and
anything that needs a macOS prompt is handed to the app.
Reach for this group when an extension is on but doing nothing:
ed permissions ls --attention names the grant that is holding it up, in one
line, without you opening System Settings to find out.
At a glance
| Command | What it does |
|---|---|
ed permissions ls |
Print every permission with its mirrored state, whether it blocks an enabled extension, and which enabled extensions use it |
ed permissions request <permission> |
Ask the running app to raise the macOS prompt for one permission, wait, then report whether the grant landed |
ed permissions refresh |
Ask the running app to check every permission again, then print the result |
ed permissions settings <permission> |
Open the matching System Settings pane without requesting or relaunching anything |
ls is the default subcommand, so a bare ed permissions prints the table.
list is an accepted alias for ls.
The permissions Edith uses
There are exactly ten and they are fixed in the binary. ed permissions request is the only command in this group that takes one of their ids; it
matches case-insensitively, and an id that is not one of these exits 3 with the
full list as the hint.
| Id | Where it lives in System Settings | What Edith needs it for | Used by |
|---|---|---|---|
calendar |
Privacy & Security > Calendars | Read and show your schedule in Calendar | required by calendar |
notifications |
Notifications | Usage alerts and app update notifications | optional for usage, appUpdates |
accessibility |
Privacy & Security > Accessibility | Keyboard Clean, clipboard instant paste, and typing an emoji into the frontmost app | optional for keyboardClean, clipboard, emojiPicker |
inputMonitoring |
Privacy & Security > Input Monitoring | Block key presses while Keyboard Clean locks the keyboard | optional for keyboardClean |
fullDisk |
Privacy & Security > Full Disk Access | Scan folders that macOS protects in Disk Map | optional for cleaner |
screenRecording |
Privacy & Security > Screen Recording | Detect shared content, sample colours, and fold the live desktop | required by focusDim, hinge, presenter, colorPicker |
applicationAudio |
Privacy & Security > Screen & System Audio Recording, granted on first use | Audio Mixer per-app volume sliders | optional for audioMixer |
camera |
Privacy & Security > Camera | The Virtual Camera feed and preview | required by virtualCamera |
bluetooth |
Privacy & Security > Bluetooth, granted on first use | Device connection checks | not listed by any extension |
automation |
Edith opens no pane, granted on first use | Music controlling external playback | not listed by any extension |
For the seven that can be requested, the reason string in --json is the same
sentence the Permissions pane shows under each row, so the CLI and the UI cannot
describe those grants differently. applicationAudio, bluetooth and
automation are the exception: the pane prefers their first-use explanation,
which is the same sentence request prints as its hint when it refuses them.
What each permission is stored as, and what asking for it does:
| Id | Setting | What request does |
|---|---|---|
calendar |
permCalendarGranted |
asks for full access to events, and opens the Calendars pane |
notifications |
permNotificationsGranted |
asks to show alerts and play sounds, and opens the Notifications pane |
accessibility |
permAccessibilityGranted |
shows the Accessibility prompt, and opens the Accessibility pane |
inputMonitoring |
permInputMonitoringGranted |
shows the Input Monitoring prompt, and opens its pane |
fullDisk |
permFullDiskGranted |
opens the Full Disk Access pane, because macOS offers no prompt for it |
screenRecording |
permScreenRecordingGranted |
shows the Screen Recording prompt, and opens its pane |
applicationAudio |
none | refused, exit 4; settings opens the Screen & System Audio Recording pane |
camera |
permCameraGranted |
asks for the camera when you have not answered yet, and opens the Camera pane otherwise |
bluetooth |
none | refused, exit 4; settings can still open its privacy pane |
automation |
none | refused, exit 4 |
Notifications count as granted when they are allowed or delivered quietly.
calendar is the odd one out in that table. Its row is updated by the Edith
window, so with only the menu bar running it keeps whatever the window last
stored. The prompt still comes up; the row catches up the next time the window
is open. The other six move under a refresh.
applicationAudio, bluetooth and automation have no setting because
macOS grants them the first time the code that needs them runs, and there is no
ahead-of-time prompt to raise. They therefore report granted as false for as
long as they exist, which is a statement about what Edith knows rather than
about what macOS has decided. ls says on first use for them instead of no;
refresh says no.
fullDisk is in the catalogue but no extension declares it, so it never blocks
anything and never appears under --attention. Request it by hand when a
feature tells you to.
The seven mirror settings are ordinary read-only keys in the permissions
group, so ed config ls --group permissions shows the same booleans and writing
one exits 1. That group also holds permissionsFilter, which is the filter the
Permissions pane opens with, and is writable.
Commands
Exit codes
| Code | What produces it in this group |
|---|---|
| 0 | Any successful run, including a request whose grant did not land inside the wait |
| 2 | An unknown flag, or ed permissions request with no permission named |
| 3 | ed permissions request <permission> where the id is not one of the ten, with the full list as the hint |
| 4 | ed permissions request applicationAudio, bluetooth or automation; permissions settings automation |
ed permissions ls has no failure path and always exits 0.
Notes and gotchas
lsreads what Edith last saw,refreshasks Edith to check again, andrequestasks Edith to show a prompt. The permissions belong to the Edith app, so this is the mostedcan honestly report.- If a permission stays off after you allow it, quit Edith completely, reset the
permission in Terminal and allow it again when Edith asks. For Screen
Recording, run
tccutil reset ScreenCapture com.pulkit.edith, thened app relaunch --yes. - On a Mac where Edith has never run, every setting is missing and therefore
reads false, so
lsreports nothing as granted.appRunning: falsein the same document is what distinguishes that from a real answer. --attentionlooks atrequiredByonly. A missing permission that is merely optional for an enabled extension degrades that extension rather than blocking it, so it never shows asblockingand never survives the filter.- The permission ids are exactly the ids shell completion offers, and the same
ids
ed extensions info <id> --jsonprints underrequiredPermissions,optionalPermissionsandmissingRequiredPermissions. - Turning an extension on never waits for its permission.
ed extensions enableenables it and names the missing grant on stderr, and this group is where you go next. - Other commands point back here when macOS is what is stopping them. A calendar
read with the grant missing exits 4 and hints at
ed permissions request calendar, which is this same failure reached by a different route. ed permissions requestopens System Settings on the Mac running Edith. That is the app's doing rather than the CLI's, and it happens whether you typed the command locally or over SSH.- Both writing verbs talk to the app over its own distributed notification bus
and neither shells out to it.
requestposts the permission's grant name; both post the shared refresh name afterwards. - No permission command relaunches Edith. A successful request reports whether
the new grant requires
ed app relaunch, leaving that disruptive action explicit.
Where to go next
ed extensionsfor the extensions these permissions gate.ed configfor the read-onlyperm*Grantedmirror keys andpermissionsFilter.ed calendarfor the one read that fails outright without its grant.ed appfored app relaunch --yes, which a new grant usually needs.- All
edcommands.