Expand description
CLI configuration management.
Structs§
- Config
- CLI configuration.
- Limits
Config - Runtime resource limits with safe defaults baked in.
- Model
Provider Config - Optional overrides for a Rhai script provider, from
[model_providers.<name>]. - Observability
Config - Configuration for structured observability export.
- Provider
Config - Provider configuration.
- Script
Tool Permissions - Per-host-function permissions for Rhai script tools (
[tool_script_permissions]). - Security
Config [security]in~/.leviath/config.toml.- Title
Config - Configuration for auto-generating a short human-readable run title.
- Webhook
Config - Completion-webhook delivery tuning.
Enums§
- Script
Permission - Permission for one Rhai script-tool host function (Layer 3 of the
four-layer permission model). Gates what a registered script may do,
independent of
whether the tool itself is visible (
available_tools) or approved at runtime (ToolPolicy). - Telemetry
Exporter Kind - Which telemetry exporter to build.
- Tool
Policy - Whether a tool call should execute automatically or require user approval.
Functions§
- leviath_
home_ dir - The canonical
LEVIATH_HOME-aware resolvers live inleviath_core::paths; these re-exports keep this crate’s established names pointing at that single definition instead of carrying a byte-for- byte copy of it (which is exactly how the override once diverged between components).Config::config_path()stays separate: it has its own narrowerLEVIATH_CONFIG_PATHoverride above. The user’s home directory, honoring theLEVIATH_HOMEoverride. - providers_
dir - The directory holding drop-in Rhai provider scripts.