Module providers

Module providers 

Source
Expand description

Static provider registry — Rust equivalent of frontend/app/view/agent/providers/index.ts.

All string data is &'static str / &'static [&'static str] so lookups are zero-allocation. The registry is initialised once via LazyLock and then read-only for the lifetime of the process.

Structs§

ProviderConfig
All configuration needed to launch, authenticate, and stream output from a provider CLI.

Enums§

ControllerType
How the provider process is managed.

Statics§

ALIASES 🔒
CLAUDE 🔒
CODEX 🔒
COPILOT 🔒
GEMINI 🔒
KIMI 🔒
OPENCLAW 🔒
PI 🔒
REGISTRY 🔒

Functions§

get_provider
Look up a provider by canonical ID or alias.
get_provider_list
Return an iterator over all registered providers in insertion order.
resolve_provider_alias
Resolve a provider alias to its canonical ID.