Expand description
File-based bearer token management.
On first start, generates a random 256-bit token (hex-encoded) and writes it
to ~/.tuitbot/api_token. Tauri and CLI clients read this file directly.
Functionsยง
- ensure_
api_ token - Ensure the API token file exists, creating one if needed.