Frontend UI
The Tauri desktop app ships with a built-in web-based dashboard for managing providers, permissions, and monitoring.
Dashboard
Bridge Status
LLM Provider
Active Provider
Actions Today
Journal Count
Active Risk
Current Level
The dashboard shows real-time status of the WhatsApp bridge, active LLM provider, action journal count, and current risk level. A system tray icon provides quick access — click to show/hide the window.
Providers Tab
Configure and switch between 6 LLM providers:
- • Toggle providers on/off
- • Select active provider from dropdown
- • Live model list for Ollama
- • Set API keys via environment variables
Permissions Tab
Full policy management interface with searchable contacts table:
- • Per-tool permission toggles (Shell, File, Media, Apps, WhatsApp)
- • Searchable contacts table with allowlist checkboxes
- • Per-contact mode dropdown (Assistant/Chat/Summarize/Blocked)
- • Risk profile reference cards
- • All changes sync to the backend instantly
Chat Tab
Built-in chat interface for monitoring conversations:
- • Left panel: searchable contact list with avatars
- • Right panel: message history with incoming/outgoing bubbles
- • Message metadata: timestamps and media type indicators
- • Pending actions panel for reviewing high-risk operations
- • Messages fetched from SQLite via list_messages command
Action Log
Monitor all executed actions:
- • Timestamp, action type, status, reversibility
- • Refresh button for live updates
- • Integrated with undo journal
Settings Tab
App configuration:
- • WhatsApp Bridge URL and API key
- • Ollama endpoint
- • Settings saved to localStorage
Tauri Integration
The frontend communicates with the Rust backend via Tauri commands:
get_statusDashboard status
process_messageSend message to LLM
handle_actionExecute an action
undo_lastUndo last action
list_modelsFetch available models
set_active_providerSwitch provider
get_policyGet policy state
update_permissionsToggle tool perms
update_allowlistAdd/remove JID
update_contact_modeSet contact mode
list_chatsList WhatsApp chats
search_contactsSearch contacts
list_contactsAll contacts merged
list_messagesMessages for a chat
logout_bridgeDisconnect & clear auth