aiwritecheck draft import
Validate and retain one plain-text draft locally without making an analysis request.
CLI reference
Install the private CLI through Stado, retain drafts locally, and send only an explicitly selected draft for analysis.
Install
The package is private and is not a registry install. Stado builds it from its catalogued source and links the executable onto your PATH; it needs Node.js 20.9.0 or newer:
stado product install aiwritecheck --surface cliThis exposes aiwritecheck from bin/aiwritecheck.mjs.
Commands
aiwritecheck draft importValidate and retain one plain-text draft locally without making an analysis request.
aiwritecheck draft listList retained draft identities and metadata without printing their text.
aiwritecheck draft showPrint one exact retained draft record, including its text.
aiwritecheck draft removeTake one retained draft out of the local store; the inverse of draft import.
aiwritecheck analyzeSend one retained draft to the product analysis endpoint and print its report.
Local state
The default store is ~/.local/share/aiwritecheck/drafts.json. Set AIWRITECHECK_DRAFTS to use another path. Import and inspection commands are offline; only analyze sends retained text to an endpoint.
Output and exit status
Every command prints its result as JSON on standard output. --text, anywhere on the line, prints the same document as path: value lines instead. A wrong invocation prints the usage and exits 2; any other failure prints Error: … on standard error and exits 1, except that a rejected draft import prints its rejected report as JSON and exits 1.