Files
insomnia/packages
Bingbing a77422dfd8 feat(examples): support visual diff for examples
## Background

Examples are nested in their request's YAML file, so the Git visual diff treated an example change as a raw `examples` field on the request and could not stage it independently.

## Changes

- Collect examples as nested entities matched by their `meta.id`.
- Add an Example diff card with request, response and docs tabs.
- Stage, unstage and discard a single example without touching its siblings.
- Keep examples out of request staging and preserve the export key order.

## Testing

- `vitest run` on the diff engine, entity splice and card tabs tests: 69 passed.
- `eslint` and `tsc --noEmit` on the changed files.
2026-11-03 17:20:14 +08:00
..