Skip to content

v0.2.3

Latest

Choose a tag to compare

@mjm918 mjm918 released this 31 May 07:53

Fix: scannable QR login for terminal agents

wa_get_login_qr previously returned an ANSI-colored terminal QR that renders fine in Claude Desktop but shreds into literal escape codes when piped through a terminal agent (e.g. Claude Code), making it unscannable.

The default format is now auto, which returns three representations so at least one always works in any client:

  1. A real black-on-white PNG saved to WA_DATA_DIR/login-qr.png — scannable anywhere (open it).
  2. An inline MCP image block — renders in Claude Desktop / image-capable clients.
  3. An ANSI-free ascii preview rendered straight from the QR matrix (tuned for a dark terminal).

Also adds an explicit png format; ascii/dataurl/raw unchanged.

Install: npx -y @kahflane/whatsapp-mcp · npm