pub struct ExecutionConfig {
pub backend: String,
pub workspace_root: Option<String>,
pub allow_outside_workspace: Option<bool>,
pub env_allowlist: Vec<String>,
pub docker: DockerExecutionConfig,
pub ssh: SshExecutionConfig,
}Expand description
Agent-visible execution workspace configuration.
Daemon control-plane state (configuration, SQLite, channel inbox transport, keychain access, and browser/computer-use sessions) always remains local. Only tools that inspect or mutate the agent’s working environment use this backend.
Fields§
§backend: StringSelected backend: local, docker, or ssh.
workspace_root: Option<String>Default working directory for relative agent-visible paths. For local execution this defaults to the daemon working directory.
allow_outside_workspace: Option<bool>Allow path-based tools and explicit command working directories outside
workspace_root. This defaults to true only for the local backend to
preserve historical behavior. Shell commands retain the authority of
the selected OS account/container and are governed by terminal approval.
env_allowlist: Vec<String>Extra host variable names local commands inherit, on top of
crate::local_backend::LOCAL_ENV_ALLOWLIST (a trailing * is a
prefix). The daemon’s other variables never reach a command.
docker: DockerExecutionConfig§ssh: SshExecutionConfig