Skip to main content

Module adapters

Module adapters 

Source
Expand description

The native agent CLIs SCV can delegate to, one descriptor each.

A descriptor is the whole integration: the default command line, where the CLI keeps its state inside SCV’s private agent home, which inherited variables it must never see, and how scv agents login|status|logout handle it. Adding an agent means adding one entry to ADAPTERS.

Structs§

AcpLaunch
How to start an agent’s Agent Client Protocol (ACP) server: a long-running process speaking JSON-RPC 2.0 over stdio, one conversation per ACP session.
AdapterDescriptor
ConversationFiles
Where a CLI keeps conversation transcripts inside its agent home: files with extension anywhere below dir, named after their session ID.

Enums§

KeyStore
A CLI’s native credential file, relative to the agent home.
Login
How SCV signs an agent in, inside its private agent home.
Logout
How SCV signs an agent out.
OutputFormat
What a CLI prints on stdout when SCV runs it, and so how SCV reads its reply, usage, and failure out of it.
Resume
How a CLI continues an earlier conversation. {session} in any argument is replaced by the conversation’s vendor session ID.
Status
How SCV reports whether an agent is signed in.
StatusSummary
How SCV condenses a CLI’s own status output. The raw output names the account (an email) or part of a key, so it is never printed.
Transport
How SCV talks to an agent.

Constants§

ADAPTERS

Functions§

acp_args
Expand launch.args for the configured permission level.
adapter
The descriptor for name, such as "codex".
adapter_search_dirs
Absolute per-user search directories for adapter under home.
is_removed_agent_variable
Whether a delegated agent must not inherit variable: SCV’s selectors, any *_API_KEY, and every adapter’s credential and state variables, so no agent sees another’s credentials either.
resolve_agent_executable
Resolve command in the per-user search_dirs, then on PATH. A command containing a path separator is used as given.
summarize_status
One line describing a CLI’s own status result without echoing it: the raw output names the signed-in account or part of a key.