Enhance documentation
enhance-dev fixture recording
Upload NDJSON rrweb events as a walkthrough; chunk offsets start at the first event.
enhance-dev fixture recording
enhance-dev fixture recording [options]
Arguments
This command takes no positional arguments.
Options
| Option | Required | Default | Meaning |
|---|---|---|---|
--file <path> | Yes | None | NDJSON with one rrweb event per line; minimum example: {"type":2,"timestamp":1000}. |
--source-url <url> | Yes | None | Required original page URL represented by this recording. |
--page-title <title> | No | None | Page title retained with the capture or used for a new canvas. |
--canvas-id <uuid> | No | None | Canvas id, from enhance canvas list. |
--width <pixels> | No | 1440 | Captured viewport width. |
--height <pixels> | No | 900 | Captured viewport height. |
--client-token <uuid> | No | None | Stable UUID to reuse when retrying the exact same mutation. |
Input
This command takes its input from the options above. It has no published input schema.
Output
This command writes JSON records to standard output. It has no published output schema.
Examples
enhance-dev fixture recording --file <path> --source-url <url>
Exit behaviour
| Exit code | Meaning |
|---|---|
0 | The command succeeded. |
1 | The command failed for another reason (INTERNAL). A write may have an unknown outcome. |
2 | The command line was malformed. Nothing ran. |
3 | The API refused the input (BAD_REQUEST). |
4 | The credential is missing or expired (UNAUTHORIZED). |
5 | The API refused the request (FORBIDDEN, NOT_FOUND, CONFLICT, RATE_LIMITED). |
6 | A batch finished only in part. Retry with the same --client-token. |
Versions
Minimum tested versions: Enhance CLI and MCP runtime 0.1.40, plugin 1.0.38, Node.js 24. No older floor is published.