Skip to main content

Module config

Module config 

Source
Expand description

Configuration loading for agent-exec.

Reads config.toml from the XDG config directory with optional CLI overrides.

Structs§

AgentExecConfig
Top-level config struct for config.toml.
ShellConfig
[shell] section of config.toml.

Functions§

default_shell_wrapper
Return the built-in platform default shell wrapper argv.
discover_config_path
Discover the default XDG config file path.
load_config
Load and parse a config file from the given path.
parse_shell_wrapper_str
Parse a CLI --shell-wrapper string (e.g. "bash -lc") into an argv vec.
resolve_shell_wrapper
Resolve the effective shell wrapper from CLI override, config file, and built-in defaults.