Plugin settings
The environment variables you can set on a developer's machine to change what the plugin sends and logs.
The plugin works without any settings. These environment variables change its behaviour on the machine where they are set.
| Variable | What it does | Default |
|---|---|---|
LEOPREVENT_LICENSE_KEY | Uses this licence key. Takes priority over a key saved by browser login or set-license. | Not set |
LEOPREVENT_RESOLVE_IMPORTS | Set to 0 to stop sending the in-repository helper code your change calls. Reviews then see only the changed files. | On |
LEOPREVENT_AUDIT | Set to 0 to keep code, prompts and findings out of the plugin's log file on your machine. | On |
LEOPREVENT_DEBUG | Set to 1 to write more detail to the plugin's log file, for troubleshooting. | Off |
Set a variable#
Set the variable in the environment your coding agent starts from, such as your shell profile, then start a new agent session. For Claude Code on the web, add it in the environment's settings.
Where the plugin keeps its files#
| What | macOS | Linux | Windows |
|---|---|---|---|
| Saved connection or key | ~/Library/Application Support/leoprevent/ | ~/.config/leoprevent/ | %AppData%\leoprevent\ |
Log file client.log | Same folder | Same folder | Same folder |
These folders sit outside the plugin, so they survive updates and reinstalls.
Updated 4 Nov 2026