settings.json) managed by the Tauri store plugin. Values persist across application restarts.
get_store_value
Retrieves a value from the persistent settings store by key.
Parameters
The settings key to retrieve. Any string is valid. Keys that contain
KEY, TOKEN, SECRET, or PASSWORD (case-insensitive) are automatically redacted in application logs.Returns
Promise<string | null> — The stored value, or null if the key has not been set.
Keys that contain
KEY, TOKEN, SECRET, or PASSWORD in their name are logged with a redacted value and length indicator (e.g., <redacted len=40>) to prevent secrets from appearing in log files.set_store_value
Saves a value to the persistent settings store and persists it to disk immediately.
Parameters
The settings key to write. Keys containing
KEY, TOKEN, SECRET, or PASSWORD are redacted in logs.The string value to store.
Returns
Promise<void>
Side effects
After saving,set_store_value emits a settings-changed event to all open windows. Any window listening to this event should re-read the values it depends on.
Common setting keys
| Key | Description |
|---|---|
GROQ_API_KEY | Groq API key for Whisper STT and chat LLM |
theme | UI color theme (light | dark) |
Trueears_ONBOARDING_COMPLETE | Whether the user has completed onboarding ("true") |
app_profiles | JSON-serialized array of app profile configurations |
