Skip to content

mxr drafts

Generated from mxr drafts --help. Edit the clap definitions in crates/daemon/src/cli/ and re-run npm run build in site/ to regenerate.

Manage drafts: list (default), recover orphaned in-flight sends, resume one for retry, or discard recovered drafts

mxr drafts [OPTIONS] [COMMAND]
SubcommandPurpose
listShow all drafts (default if no subcommand)
recoverShow drafts that look orphaned mid-send (status 'sending', stale heartbeat). The startup loop already auto-resets these after 1h; this surfaces them earlier so you can act now
resumeForce-reset an orphaned draft to 'draft' status so it can be re-sent via the normal pipeline. No-op if the draft is already in 'draft'
discardPermanently delete a draft. Use this when a recovered draft is no longer wanted instead of leaving it in the drafts list
helpPrint this message or the help of the given subcommand(s)
FlagDescription
--format <FORMAT>[possible values: table, json, jsonl, csv, ids]
-h, --helpPrint help

List, recover, resume, or discard local drafts.

Terminal window
mxr drafts --format json
mxr drafts recover

Permanently delete a draft. Use this when a recovered draft is no longer wanted instead of leaving it in the drafts list

mxr drafts discard <DRAFT_ID>
FlagDescription
<DRAFT_ID>Draft ID to delete
FlagDescription
-h, --helpPrint help

Show all drafts (default if no subcommand)

mxr drafts list
FlagDescription
-h, --helpPrint help

Show drafts that look orphaned mid-send (status 'sending', stale heartbeat). The startup loop already auto-resets these after 1h; this surfaces them earlier so you can act now

mxr drafts recover
FlagDescription
-h, --helpPrint help

Force-reset an orphaned draft to 'draft' status so it can be re-sent via the normal pipeline. No-op if the draft is already in 'draft'

mxr drafts resume <DRAFT_ID>
FlagDescription
<DRAFT_ID>Draft ID to resume
FlagDescription
-h, --helpPrint help