pub struct AdapterDescriptor {Show 22 fields
pub name: &'static str,
pub product: &'static str,
pub command: &'static str,
pub args: &'static [&'static str],
pub prompt_args: &'static [&'static str],
pub model_args: &'static [&'static str],
pub effort_args: &'static [&'static str],
pub model_hint: &'static str,
pub home_environment: &'static [(&'static str, &'static str)],
pub fixed_environment: &'static [(&'static str, &'static str)],
pub full_permission_args: &'static [&'static str],
pub full_permission_environment: &'static [(&'static str, &'static str)],
pub login: Login,
pub status: Status,
pub status_summary: StatusSummary,
pub logout: Logout,
pub output: OutputFormat,
pub resume: Resume,
pub conversation_files: Option<ConversationFiles>,
pub credential_files: &'static [&'static str],
pub transport: Transport,
pub acp: Option<AcpLaunch>,
/* private fields */
}Fields§
§name: &'static strShort name: the agent tool’s value for it and the home agents/<name>.
product: &'static strProduct name for messages and the tool description.
command: &'static str§args: &'static [&'static str]§prompt_args: &'static [&'static str]Placed immediately before the prompt, for CLIs whose prompt is a flag
value (grok -p <prompt>).
model_args: &'static [&'static str]§effort_args: &'static [&'static str]§model_hint: &'static strDescribes the model argument for the calling model.
home_environment: &'static [(&'static str, &'static str)]Variables pointing the CLI’s state into the agent home, as paths
relative to it ("" is the home itself).
fixed_environment: &'static [(&'static str, &'static str)]Fixed variables for every delegated run.
full_permission_args: &'static [&'static str]Added after args when [agents.<name>] permissions = "full": the
CLI’s own switches that turn off its approval prompts and sandbox and
enable web search where the CLI gates it. Empty when the CLI has no
permission system of its own.
full_permission_environment: &'static [(&'static str, &'static str)]Variables set for permissions = "full", for CLIs configured that way.
login: Login§status: Status§status_summary: StatusSummaryHow a Status::Command result is summarized.
logout: Logout§output: OutputFormatWhat the CLI prints when SCV delegates to it.
resume: ResumeHow SCV continues a conversation with it, when it can.
conversation_files: Option<ConversationFiles>Transcripts scv agents gc may remove; None when unknown.
credential_files: &'static [&'static str]Files in the agent home that hold its sign-in or keys, relative to it,
which scv config show reports without reading.
transport: TransportHow SCV talks to the agent.
acp: Option<AcpLaunch>Its ACP server, when it has a verified one. With [agents.<name>] transport = "auto" SCV prefers it over Transport::Process once the
command is installed.