# Dependency evidence operations

> Enable the dependencyEvidence extension, then inspect a local repository through ed invoke. json, and rejects payloads with other keys or non-string values.

- Canonical URL: https://getedith.pro/docs/cli/dependency-evidence
- Updated: 2026-12-02

Enable the `dependencyEvidence` extension, then inspect a local repository through
[`ed invoke`](https://getedith.pro/docs/cli/invoke). Every operation requires an absolute path to
a repository containing `package.json`, and rejects payloads with other keys or
non-string values. No installation, network request or repository write is
performed.

```sh
ed invoke dependencyEvidence dependencyEvidence.report --timeout 120 --json '{"path":"/Users/you/code/storefront"}'
ed invoke dependencyEvidence dependencyEvidence.markdown --timeout 120 --json '{"path":"/Users/you/code/storefront"}' --raw
ed invoke dependencyEvidence dependencyEvidence.evidence --json '{"path":"/Users/you/code/storefront","file":"node_modules/alpha/LICENSE"}' --raw
```

| Operation | Payload | Result |
| --- | --- | --- |
| `dependencyEvidence.report` | `{"path":"/absolute/repository"}` | JSON inventory |
| `dependencyEvidence.markdown` | Same | JSON string containing the Markdown inventory; `--raw` prints the text |
| `dependencyEvidence.evidence` | `{"path":"/absolute/repository","file":"node_modules/name/LICENSE"}` | JSON string with one evidence file's UTF-8 text |

The JSON inventory has `schemaVersion` (2), `manifests`, `packages` and `issues`.
Each package has a stable path-based `id`, `name`, optional `version`, optional
installed `path`, optional `declaredLicense`, `assessment`, `status`,
`relationships`, `requiredBy` and `evidence`. Missing optional JSON values are
omitted. Requirements contain `manifest`, requested `name`, `requirement` and
`kind`; evidence contains the repository-relative `path`. Pass that path as
`file` to `dependencyEvidence.evidence` to read the text. The file must be a
license candidate of the package that contains it, inside the repository, and at
most 256 KiB; any other file is rejected.

`relationships` contains `direct`, `transitive` or both. Each physical install
appears once, so identical names and versions at separate paths remain separate.
`status` is `filesFound`, `missingFiles`, `missingPackage`, `notInstalled` or
`unreadablePackage`.
Every assessment remains `unverified`. File presence never verifies a declaration,
and unknown licenses remain unknown. Missing optional dependencies and optional
peers are `notInstalled` and are not reported as issues; a missing required peer
is `missingPackage`.

Reports have stable
ordering and no timestamp or absolute repository path. Neither inventory embeds
license text. A scan that reaches a limit fails with a message naming it. Failed
and cancelled scans do not return partial success.

## 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
