pub struct AdapterDescriptor {Show 21 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 removed_environment: &'static [&'static str],
pub full_permission_args: &'static [&'static str],
pub full_permission_environment: &'static [(&'static str, &'static str)],
pub search_dirs: &'static [&'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>,
}Fields§
§name: &'static strShort name: the tool is agent_<name> and the home adapters/<name>.
product: &'static strProduct name for messages.
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 adapter home, as paths
relative to it ("" is the home itself).
fixed_environment: &'static [(&'static str, &'static str)]Fixed variables for every delegated run.
removed_environment: &'static [&'static str]Credential, endpoint, and state-location variables no delegated agent
inherits. A trailing * matches a prefix.
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.
search_dirs: &'static [&'static str]Per-user install directories searched before PATH, relative to the
user’s home, as a login shell orders them. A user service’s PATH
omits them, so without this the daemon would miss or pick a different
install than the user’s shell.
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.
Trait Implementations§
Source§impl Clone for AdapterDescriptor
impl Clone for AdapterDescriptor
Source§fn clone(&self) -> AdapterDescriptor
fn clone(&self) -> AdapterDescriptor
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more