pub struct AgentAdapterConfig {Show 17 fields
pub command: String,
pub args: Vec<String>,
pub prompt_args: Vec<String>,
pub full_permission_args: Option<Vec<String>>,
pub model_args: Vec<String>,
pub effort_args: Vec<String>,
pub model_hint: String,
pub environment: Vec<(OsString, OsString)>,
pub search_dirs: Vec<PathBuf>,
pub output: OutputFormat,
pub resume: Resume,
pub home: Option<PathBuf>,
pub transport: Transport,
pub acp: Option<AcpAgentLaunch>,
pub use_for: Option<String>,
pub model: Option<String>,
pub effort: Option<String>,
}Fields§
§command: String§args: Vec<String>§prompt_args: Vec<String>Arguments placed immediately before the prompt, for CLIs that take the prompt as a flag value.
full_permission_args: Option<Vec<String>>The CLI’s own full-autonomy arguments, placed after args, when the
user configured permissions = "full"; the approval summary says so.
model_args: Vec<String>Arguments appended for a per-call model; {model} is substituted.
Empty means the adapter does not offer model selection.
effort_args: Vec<String>Arguments appended for a per-call effort; {effort} is substituted.
Empty means the adapter does not offer effort selection.
model_hint: StringDescribes the model argument for the calling model.
environment: Vec<(OsString, OsString)>Environment for the nested process. SCV supplies an instance-private home.
search_dirs: Vec<PathBuf>Per-user install directories searched when command is not on PATH.
output: OutputFormatWhat the CLI prints, and so how its reply is read.
resume: ResumeHow a conversation with the CLI is continued, if it can be.
home: Option<PathBuf>SCV’s private home for this agent, for files SCV hands the CLI.
transport: TransportHow SCV talks to the agent.
acp: Option<AcpAgentLaunch>The agent’s ACP server, when [agents.<name>] transport allows it and
the adapter table has one.
use_for: Option<String>The user’s note on when to choose this agent ([agents.<name>] use_for), added to its line in the agent tool’s description.
model: Option<String>Default model to pass when the work matches use_for (or on every
call to this agent, when use_for is unset).
effort: Option<String>Default effort to pass the same way as model.