Expand description
Binary-side config module. Pure re-export surface — the real types and
helpers live in zeroclaw-config. Everything the binary needs (schema,
traits, property helpers) is pulled through here so crate::config::*
continues to resolve for callers that predate the crate split.
Modules§
Structs§
- Ai21
Model Provider Config - Aihubmix
Model Provider Config - Aliased
Agent Config - Configuration for an aliased agent. Each
[agents.<alias>]TOML block deserializes into one of these. TheDelegateToollooks up entries here to dispatch a subtask to a named sibling agent. - Anthropic
Model Provider Config - Anthropic model model_provider config. No family-specific extras yet — typed slot reserved for future Anthropic-only knobs (cache_control, beta headers) so they land cleanly without another schema rework.
- Anyscale
Model Provider Config - Assembly
AiStt Config - AssemblyAI STT model_provider configuration (
[transcription.assemblyai]). - Astrai
Model Provider Config - Audit
Config - Audit logging configuration
- Avian
Model Provider Config - Azure
Model Provider Config - Azure OpenAI model model_provider config. Carries the Azure-specific connection
fields (
resource,deployment,api_version) — the URI template substitutes{resource}and{deployment}at runtime. Operators can still override the entire endpoint viabase.uri. - Backup
Config - Backup tool configuration (
[backup]section). - Baichuan
Model Provider Config - Baseten
Model Provider Config - Bedrock
Model Provider Config - AWS Bedrock model model_provider config. Carries the AWS region (the URI
template substitutes
{region}from this field). Bedrock auth is SigV4 — credentials come from the standard AWS credential chain (env vars, instance metadata, profile), not fromapi_key. - Browser
Computer UseConfig - Computer-use sidecar configuration (
[browser.computer_use]section). - Browser
Config - Browser automation configuration (
[browser]section). - Builtin
Hooks Config - Cerebras
Model Provider Config - Channels
Config - Top-level channel configurations (
[channels]section). - Classification
Rule - A single classification rule mapping message patterns to a model hint.
- Claude
Code Config - Claude Code CLI tool configuration (
[claude_code]section). - Claude
Code Runner Config - Claude Code task runner configuration (
[claude_code_runner]section). - Cloud
OpsConfig - Controls the read-only cloud transformation analysis tools: IaC review, migration assessment, cost analysis, and architecture review.
- Cloudflare
Model Provider Config - Codex
CliConfig - Codex CLI tool configuration (
[codex_cli]section). - Cohere
Model Provider Config - Composio
Config - Composio managed OAuth tools integration (
[composio]section). - Config
- Top-level ZeroClaw configuration, loaded from
config.toml. - Conversational
AiConfig - Conversational AI agent builder configuration (
[conversational_ai]section). - Copilot
Model Provider Config - Cost
Config - Cost tracking and budget enforcement configuration (
[cost]section). - Cron
JobDecl - A declarative cron job definition (
[cron.<alias>]). - Custom
Model Provider Config - Data
Retention Config - Data retention and purge configuration (
[data_retention]section). - Deepgram
SttConfig - Deepgram STT model_provider configuration (
[transcription.deepgram]). - Deepinfra
Model Provider Config - Deepmyst
Model Provider Config - Deepseek
Model Provider Config - Delegate
Tool Config - Global delegate tool configuration for default timeout values.
- Discord
Config - Discord bot channel configuration.
- Docker
Runtime Config - Docker runtime configuration (
[runtime.docker]section). - Doubao
Model Provider Config - Embedding
Route Config - Route an embedding hint to a specific model_provider + model.
- Estop
Config - Emergency stop configuration.
- Fireworks
Model Provider Config - Friendli
Model Provider Config - Gateway
Config - Gateway server configuration (
[gateway]section). - Gemini
CliConfig - Gemini CLI tool configuration (
[gemini_cli]section). - Gemini
CliModel Provider Config - Gemini
Model Provider Config - GlmModel
Provider Config - Google
SttConfig - Google Cloud Speech-to-Text model_provider configuration (
[transcription.google]). - Google
Workspace Allowed Operation - Google Workspace CLI (
gws) tool configuration ([google_workspace]section). - Google
Workspace Config - Google Workspace CLI (
gws) tool configuration ([google_workspace]section). - Groq
Model Provider Config - Hardware
Config - Wizard-driven hardware configuration for physical world interaction.
- Heartbeat
Config - Heartbeat configuration for periodic health pings (
[heartbeat]section). - Hooks
Config - Http
Request Config - HTTP request tool configuration (
[http_request]section). - Huggingface
Model Provider Config - Hunyuan
Model Provider Config - Hyperbolic
Model Provider Config - IMessage
Config - iMessage channel configuration (macOS only).
- Identity
Config - Identity format configuration (
[identity]section). - Image
GenConfig - Standalone image generation tool configuration (
[image_gen]). - Image
Provider Dalle Config - OpenAI DALL-E settings (
[linkedin.image.dalle]). - Image
Provider Flux Config - Flux (fal.ai) image generation settings (
[linkedin.image.flux]). - Image
Provider Imagen Config - Google Imagen (Vertex AI) settings (
[linkedin.image.imagen]). - Image
Provider Stability Config - Stability AI image generation settings (
[linkedin.image.stability]). - Jira
Config - Jira integration configuration (
[jira]). - Kilo
CliModel Provider Config - Knowledge
Config - Knowledge graph configuration for capturing and reusing expertise.
- Lark
Config - Lark/Feishu configuration for messaging integration. Lark is the international version; Feishu is the Chinese version.
- Lepton
Model Provider Config - Link
Enricher Config - Automatic link understanding for inbound channel messages (
[link_enricher]). - Linked
InConfig - LinkedIn integration configuration (
[linkedin]section). - Linked
InContent Config - Content strategy configuration for LinkedIn auto-posting (
[linkedin.content]). - Linked
InImage Config - Image generation configuration for LinkedIn posts (
[linkedin.image]). - Litellm
Model Provider Config - Llamacpp
Model Provider Config - Lmstudio
Model Provider Config - Local
Whisper Config - Local/self-hosted Whisper-compatible STT endpoint (
[transcription.local_whisper]). - Matrix
Config - Matrix channel configuration.
- McpConfig
- External MCP client configuration (
[mcp]section). - McpServer
Config - Configuration for a single external MCP server.
- Media
Pipeline Config - Automatic media understanding pipeline configuration (
[media_pipeline]). - Memory
Config - Memory backend configuration (
[memory]section). - Memory
Policy Config - Memory policy configuration (
[memory.policy]section). - Microsoft365
Config - Microsoft 365 integration via Microsoft Graph API (
[microsoft365]section). - Minimax
Model Provider Config - Mistral
Model Provider Config - Model
Provider Config - Named model_provider profile definition.
- Model
Route Config - Route a task hint to a specific model_provider + model.
- Moonshot
Model Provider Config - Moonshot model model_provider config. The
endpointfield is required (no implicit default) — operators must pick a region explicitly. Migration fills it in from collapsedmoonshot-cn/moonshot-intlouter keys. - Mqtt
Config - MQTT channel configuration (SOP listener).
- Multimodal
Config - Multimodal (image) handling configuration (
[multimodal]section). - Nebius
Model Provider Config - Nextcloud
Talk Config - Nextcloud Talk bot configuration (webhook receive + OCS send API).
- Node
Transport Config - Secure transport configuration for inter-node communication (
[node_transport]). - Nodes
Config - Configuration for the dynamic node discovery system (
[nodes]). - Notion
Config - Notion integration configuration (
[notion]). - Novita
Model Provider Config - Nscale
Model Provider Config - Nvidia
Model Provider Config - Observability
Config - Observability backend configuration (
[observability]section). - Ollama
Model Provider Config - OpenAI
Model Provider Config - OpenAI model model_provider config. The OpenAI-family extras (
wire_api,requires_openai_auth) live on the sharedModelProviderConfigbase because they’re consumed by validation and runtime helpers that operate on the base struct without family awareness; this wrapper is a thin typed slot, no extra fields. - Open
AiStt Config - OpenAI Whisper STT model_provider configuration (
[transcription.openai]). - Open
Code CliConfig - OpenCode CLI tool configuration (
[opencode_cli]section). - Open
Router Model Provider Config - Open
VpnTunnel Config - OpenVPN tunnel configuration (
[tunnel.openvpn]). - Opencode
Model Provider Config - Osaurus
Model Provider Config - OtpConfig
- Security OTP configuration.
- OvhModel
Provider Config - Pacing
Config - Pacing controls for slow/local LLM workloads (
[pacing]section). - Peripheral
Board Config - Configuration for a single peripheral board (e.g. STM32, RPi GPIO).
- Peripherals
Config - Peripheral board integration configuration (
[peripherals]section). - Perplexity
Model Provider Config - Pipeline
Config - Pipeline tool configuration (
[pipeline]section). - Plugins
Config - Plugin system configuration.
- Postgres
Storage Config - PostgreSQL storage backend (
[storage.postgres.<alias>]). - Project
Intel Config - Project delivery intelligence configuration (
[project_intel]section). - Prop
Field Info - Describes a single property field discovered via
#[derive(Configurable)]. - Proxy
Config - Proxy configuration for outbound HTTP/HTTPS/SOCKS5 traffic (
[proxy]section). - Qdrant
Storage Config - Qdrant vector database backend (
[storage.qdrant.<alias>]). - Qianfan
Model Provider Config - Query
Classification Config - Automatic query classification — classifies user messages by keyword/pattern and routes to the appropriate model hint. Disabled by default.
- Qwen
Model Provider Config - Qwen model model_provider config. Multi-region (
endpointrequired) and supports both API key and OAuth flows (auth_modechooses which). - Reka
Model Provider Config - Reliability
Config - Reliability and supervision configuration (
[reliability]section). - Risk
Profile Config - Named risk/autonomy profile (
[risk_profiles.<alias>]). - Runtime
Config - Runtime adapter configuration (
[runtime]section). - Sambanova
Model Provider Config - Sandbox
Config - Sandbox configuration for OS-level isolation
- Scheduler
Config - Scheduler configuration for periodic task execution (
[scheduler]section). - Secret
Field Info - Describes a single secret field discovered via
#[derive(Configurable)]. - Secrets
Config - Secrets encryption configuration (
[secrets]section). - Security
Config - Security configuration for audit logging, OTP, e-stop, IAM/SSO, and WebAuthn.
- Security
OpsConfig - Managed Cybersecurity Service (MCSS) dashboard agent configuration (
[security_ops]). - Sglang
Model Provider Config - Shell
Tool Config - Shell tool configuration (
[shell_tool]section). - Siliconflow
Model Provider Config - Skill
Creation Config - Autonomous skill creation configuration (
[skills.skill_creation]section). - Skill
Improvement Config - Skill self-improvement configuration (
[skills.auto_improve]section). - Skills
Config - Skills loading configuration (
[skills]section). - Slack
Config - Slack bot channel configuration.
- SopConfig
- Standard Operating Procedures engine configuration (
[sop]). - Sqlite
Storage Config - SQLite storage backend (
[storage.sqlite.<alias>]). - Stepfun
Model Provider Config - Storage
Config - Persistent storage configuration (
[storage]section). - Synthetic
Model Provider Config - Telegram
Config - Telegram bot channel configuration.
- Telnyx
Model Provider Config - Text
Browser Config - Text browser tool configuration (
[text_browser]section). - Together
Model Provider Config - Tool
Filter Group - A named group of MCP tool patterns with an activation mode.
- Transcription
Config - Voice transcription configuration with multi-provider support.
- TtsConfig
- Text-to-Speech subsystem configuration (
[tts]). - TtsProvider
Config - Per-instance TTS model_provider configuration (
[tts_providers.<type>.<alias>]). - Tunnel
Config - Tunnel configuration for exposing the gateway publicly (
[tunnel]section). - Venice
Model Provider Config - Vercel
Model Provider Config - Verifiable
Intent Config - Verifiable Intent (VI) credential verification and issuance (
[verifiable_intent]section). - Vllm
Model Provider Config - WebFetch
Config - Web fetch tool configuration (
[web_fetch]section). - WebSearch
Config - Web search tool configuration (
[web_search]section). - Webhook
Config - Webhook channel configuration.
- XaiModel
Provider Config - YiModel
Provider Config - ZaiModel
Provider Config
Enums§
- Cron
Schedule Decl - Schedule variant for declarative cron jobs.
- Hardware
Transport - Hardware transport mode.
- McpTransport
- Transport type for MCP server connections.
- OtpMethod
- OTP validation strategy.
- Prop
Kind - Runtime type classification for config property values.
- Proxy
Scope - Proxy application scope — determines which outbound traffic uses the proxy.
- Sandbox
Backend - Sandbox backend selection
- Search
Mode - Search strategy for memory recall.
- Skills
Prompt Injection Mode - Skills loading configuration (
[skills]section). - Stream
Mode - Streaming mode for channels that support progressive message updates.
- Tool
Filter Group Mode - Determines when a
ToolFilterGroupis active. - Whats
AppChat Policy - Policy for a particular WhatsApp chat type (DMs or groups) when
mode = "personal". - Whats
AppWeb Mode - WhatsApp Web usage mode.
Constants§
- DEFAULT_
GWS_ SERVICES - Built-in default service allowlist for the
google_workspacetool.
Traits§
- HasProp
Kind - Maps Rust types to PropKind at compile time.
Scalars have explicit impls; the blanket impl catches everything
else as
PropKind::Enum.
Functions§
- apply_
channel_ proxy_ to_ builder - Apply an explicit proxy URL to a
reqwest::ClientBuilder, returning the modified builder. Used by channels that specify a per-channelproxy_url. - apply_
runtime_ proxy_ to_ builder - build_
channel_ proxy_ client - Build an HTTP client for a channel, using an explicit per-channel proxy URL
when configured. Falls back to the global runtime proxy when
proxy_urlisNoneor empty. - build_
channel_ proxy_ client_ with_ timeouts - Build an HTTP client for a channel with custom timeouts, using an explicit
per-channel proxy URL when configured. Falls back to the global runtime
proxy when
proxy_urlisNoneor empty. - build_
runtime_ proxy_ client - build_
runtime_ proxy_ client_ with_ timeouts - enum_
variants - Return a comma-separated string of valid enum variant names for display in error messages.
- make_
prop_ field - Build a
PropFieldInfoby reading the display value from a serialized TOML table. - route_
hashmap_ path - For a
#[nested] HashMap<String, T>field, parse aget_prop/set_proppath of the form<my_prefix>.<field_name>.<hm_key>.<inner_suffix>and return the HashMap key + the fully-qualified inner name that the value type’s ownget_prop/set_propexpects. - runtime_
proxy_ config - serde_
get_ prop - Get a property value via serde serialization.
- serde_
set_ prop - Set a property value via serde roundtrip.
- set_
runtime_ proxy_ config - ws_
connect_ with_ proxy - Connect a WebSocket through the configured proxy (if any).