smelt.frontend¶
Tier: Host — Available in every runtime, including headless mode.
Query which frontend is active (TUI vs headless).
smelt.frontend.is_interactive¶
Return true when the frontend supports interactive prompts (a TTY user is present). Defaults to true when no host is installed.
smelt.frontend.kind¶
Return the active frontend kind (e.g. "tui" or "headless"). Falls back to "tui" when no host is installed.