oclaw/runtime/operations/whatsapp_bridge/qr.ts
oliver 5ab69e88d3 Update channel dispatch UX and harden sidecar startup behavior.
This aligns Weixin/WhatsApp with admin-managed model routing by adding channel/account-level specialist controls, improves OSS startup resilience by skipping missing sidecars gracefully, and refreshes runbook/readme guidance for the new default behavior and Weixin OpenAI-key silent handling.

Made-with: Cursor
2026-04-28 22:58:50 +08:00

7 lines
200 B
TypeScript

import qrcode from "qrcode-terminal";
export function printQrToTerminal(qr: string): void {
// Keep it simple and dependency-light for Windows terminals.
qrcode.generate(qr, { small: true });
}