# Extension runtime detection

> ed extensions status, verify, and doctor inspect the runtime behind every enabled extension. The Extensions settings pane uses the same probe.

- Canonical URL: https://getedith.pro/docs/cli/extensions/runtime-detection
- Updated: 2026-12-02

`ed extensions status`, `verify`, and `doctor` inspect the runtime behind every
enabled extension. The Extensions settings pane uses the same probe. These
checks do not request access, create content, or repair stored data. Database
readiness may start its bundled local broker before authenticating the peer.

The probe keeps setup readiness and runtime state separate:

- `state.phase` answers whether setup is complete and healthy.
- `state.runtimePhase` answers whether the runtime is installed, uninstalled,
  empty, loading, unsupported, or in an error state.
- `checks` explains the source of each conclusion.
- `remediation` lists commands that can safely move the extension forward.

An adapter failure is different from incomplete setup. Missing configuration
produces `needsSetup`. Corrupt data, an unreadable backend, or an operating
system query failure produces `failed` with runtime phase `error`.

## What each adapter checks

| Extension | Live installation and configuration checks | Content or runtime check | Recovery and verification |
| --- | --- | --- | --- |
| Attention | tracking is enabled with at least one selected source | application or browser tracking is configured | `ed attention summary --json`; `ed extensions verify attention` |
| Agent Usage | bundled collector plus at least one verified provider executable | refresh lock and decoded `usage.json` daily samples | `ed usage refresh`; `ed usage --json` |
| Agents | Herdr presence on this Mac or a configured machine | collected sessions and per-host errors | `ed agents ls --json`; `ed extensions verify agents` |
| Code Review | verified Quinjet executable, terminal and theme values, and cmux when selected | terminal integration can be resolved | `ed tools install quinjet`; `ed config set codeReviewTerminal embedded` |
| Site Audit | local project storage and built-in page scores | saved projects and bounded run history | `ed extensions verify siteAudit`; `ed extensions doctor siteAudit` |
| Code Stats | `git`, the optional `gh` CLI, and the mirror folder, reporting a disconnected drive as degraded | mirrored repositories and the stored report | `ed extensions doctor codeStats`; `ed code-stats status` |
| System | built-in running-application module | regular applications visible through AppKit | `ed running-apps ls --json`; `ed app relaunch` |
| App Updates | built-in app and package inspection | readable application and package sources | `ed extensions verify appUpdates`; `ed tools install homebrew` |
| Machines | readable machine registry with valid names, hosts, and SSH ports | configured machine count | `ed machines ls --json`; `ed machines add --help` |
| Database | bundled local broker | bounded startup and authenticated peer readiness | `ed extensions doctor database --json`; reopen Database after resolving the reported failure |
| Memory | configured endpoint | backend health checks and optional dependency health | `ed memory doctor --json` |
| CPU & Memory | built-in metrics module | CPU tick sample and physical memory availability | `ed menu-bar-stats stats --json`; `ed app relaunch` |
| Mic Mute | built-in Core Audio module | input device discovery and input stream count | `ed config ls --group micmute --json`; `ed app relaunch` |
| Lid Awake | privileged helper registration and approval state | Service Management reports the helper enabled | `ed lid-awake status --json`; approve Login Items when requested |
| Music | configured library path exists and is a directory | recursive supported-track count and optional yt-dlp version | `ed music rescan`; `ed tools install yt-dlp` |
| Calendar | live EventKit authorization | readable calendar count | `ed permissions request calendar`; `ed calendar ls --json` |
| Virtual Camera | live AVFoundation camera authorization and a connected camera | the Edith Camera device is visible to CoreMediaIO | `ed permissions request camera`; `ed camera status --json` |
| Shelf | decodable shelf index | parked item count and missing backing files | `ed shelf ls --json`; `ed shelf purge` |
| Clipboard | decodable JSONL index | entry count and missing blob payloads | `ed clipboard stats --json`; `ed clipboard ls --json` |
| Keystroke Highlight | enabled extension and active or paused state | listen-only keyboard event monitor while active | `ed config set keystrokeHighlightActive true`; `ed permissions request inputMonitoring` |
| Focus Dim | finite intensity and animation values plus a valid display mode | active display count | `ed config ls --group focusdim --json`; `ed permissions refresh` |
| Presenter | at least one protected data category and coherent detector settings | manual protection or automatic detectors can operate | `ed presenter status --json`; `ed config ls --group presenter --json` |
| Emoji Picker | bundled emoji catalog and valid picker settings | recent emoji usage | `ed emoji-picker ls --json`; `ed permissions refresh` |
| Color Picker | valid copy format, color profile, history limit, and decodable history | active display and saved sample count | `ed color ls --json`; `ed permissions refresh` |

## Agent workflow

Use JSON and branch on fields rather than matching human text:

```
ed extensions status --json |
  jq '.[] | select(.verified == false) |
      {id, phase: .state.phase, runtime: .state.runtimePhase, remediation}'
```

For one extension:

```
ed extensions verify music --json
ed extensions doctor clipboard --json
```

Treat these outcomes differently:

| Result | Agent action |
| --- | --- |
| `disabled` | Ask before enabling, or run `setup` when enablement is already authorized |
| `needsSetup` | Run a listed noninteractive remediation command, then verify again |
| `degraded` | Continue with the core workflow and report the unavailable optional feature |
| `unavailable` | Stop retrying on this platform |
| `failed` | Preserve the failure detail, run the listed diagnostic, then verify again |
| runtime `empty` | Create or import the extension's first content item |
| runtime `loading` | Wait for the current discovery or refresh operation, then retry |

`setup --dry-run --json` is the safe way to inspect enablement, required tools,
and remaining work before changing preferences.

## Where to go next

- [`ed extensions status`](https://getedith.pro/docs/cli/extensions/status) for the compact registry report
- [`ed extensions verify`](https://getedith.pro/docs/cli/extensions/verify) for one complete readiness report
- [`ed extensions doctor`](https://getedith.pro/docs/cli/extensions/doctor) for diagnostics across the registry
- [`ed extensions`](https://getedith.pro/docs/cli/extensions) for setup, states, and exit-code contracts
- [All `ed` commands](https://getedith.pro/docs/cli)

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
