undetectabletext draft import
Validate and retain one plain-text draft locally without making a rewrite request.
CLI reference
Install the private CLI through Stado, retain drafts locally, and send only an explicitly selected draft for rewriting.
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 undetectabletext --surface cliThis exposes undetectabletext from bin/undetectabletext.mjs.
Commands
undetectabletext draft importValidate and retain one plain-text draft locally without making a rewrite request.
undetectabletext draft listList retained draft identities and metadata without printing their text.
undetectabletext draft showPrint one exact retained draft record, including its text.
undetectabletext draft removeTake one retained draft out of the local store; the inverse of draft import.
undetectabletext rewriteSend one retained draft and explicit rewrite settings to the product endpoint.
Local state
The default store is ~/.local/share/undetectabletext/drafts.json. Set UNDETECTABLETEXT_DRAFTS to use another path. Import and inspection commands are offline; only rewrite 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.