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.
Structs§
- Config
Overrides - Endpoint
- An OpenAI-compatible endpoint for pi, without its key.
Enums§
- Approval
Policy - WireApi
- Which OpenAI wire protocol an endpoint speaks.
Constants§
- 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 adapter home for
agent. - agent_
stored_ status - Whether the agent’s stored credentials exist, with display lines that never contain secrets.
- configure_
pi_ endpoint - Point SCV’s pi at an OpenAI-compatible endpoint.
- 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 adapter home:config.toml, andauth.jsononly when it holds an API key. 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). - 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 adapter home.
- 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 adapter home. - update_
index_ url - user_
home_ path