Expand description
SCV’s authoritative stdio server.
Modules§
- adapters
- The native agent CLIs SCV can delegate to, one descriptor each.
- components
- Server-owned lifecycle for every long-running integration.
- delegation
- What SCV started, so it can list, stop, and clean up delegated agents.
- imports
- What
scv agents importcopied into an agent home, and whether its source has changed since. - overview
scv config show: every path an SCV instance uses, the settings in effect and where each came from, and whether each credential is in place. It reads files only, takes no lock a running daemon needs, and never prints a secret.
Structs§
- Build
Info - What a binary reports about itself for a planned restart.
- Config
Overrides - Endpoint
- An OpenAI-compatible endpoint for pi, without its key.
Enums§
- Approval
Policy - WireApi
- Which OpenAI wire protocol an endpoint speaks.
Constants§
- CONFIG_
LAYOUT - Where configuration and state files live and how they are shaped. Bump it when a release reads or writes them in a way the previous release cannot: a rollback between releases with different layouts is refused.
- PI_
PROVIDER - The pi provider id SCV writes for an OpenAI-compatible endpoint.
Functions§
- agent_
command - Build a command for a native agent’s CLI with the same private home and
cleaned environment the daemon’s
agent_<name>tool uses, so the agent’s own sign-in stores credentials where delegated runs will find them. Project configuration cannot set[agents], so none is read. - agent_
executable - Where
agent’s executable resolves, as the daemon would find it. - agent_
home - The prepared private agent home for
agent. - agent_
import_ status - How
agent’s imported copy compares with its source now, as one display line without secrets;Nonewhen nothing was imported. - agent_
stored_ status - Whether the agent’s stored credentials exist, with display lines that never contain secrets.
- build_
info - This binary’s build information, printed by
scv build-info. - collect_
agent_ garbage - Remove delegated-conversation transcripts older than
older_thanfrom the agent homes (agent, or every agent that keeps them), keeping any a live conversation still uses. Returns each agent’s report. - configure_
pi_ endpoint - Point SCV’s pi at an OpenAI-compatible endpoint.
- conversation_
age - Parse a
scv agents gc --older-thanage such as30d. - default_
socket_ path - Return the local Unix socket used by the SCV daemon and TUI.
- import_
codex - Copy the user’s own Codex setup from
sourceinto SCV’s private Codex agent home:config.toml, andauth.jsononly when it holds an API key. Returns display lines that never contain secret values. - import_
grok - Copy the user’s own Grok
config.tomlfromsource(a Grok home) into SCV’s private Grok home, keeping settings only SCV’s copy has. Returns display lines that never contain secret values. - import_
pi_ from_ scv_ provider - Point SCV’s pi at SCV’s own active provider: its base URL, model, and key
(read from
api_key, or from theapi_key_envvariable now, since delegated agents never inherit key variables). - import_
scv_ from_ scv_ provider - Give the nested SCV (
agent_scv) its own copy of SCV’s active provider, in$SCV_HOME/agents/scv/config.toml(mode 0600). - init_
user_ config - read_
secret - Read a secret from the terminal without echo, or from piped stdin.
- remove_
agent_ credentials - Remove the agent’s stored credentials from its agent home.
- restart_
watchdog - Restart the unit, check the new release, and roll back when it fails and the releases share a config layout. Records the outcome in the plan.
- run_
socket - Run the authoritative server on the local Unix socket.
- run_
stdio - service_
name - Return the user service name for the selected SCV instance.
- service_
unit_ path - store_
agent_ key - Store
keyin the agent’s native credential file inside its agent home. - update_
index_ url - user_
home_ path