Skip to main content

Module config

Module config 

Source
Expand description

Configuration management for devboy-tools.

Handles loading and saving configuration from TOML files. Config files are stored in platform-specific locations:

  • macOS/Linux: ~/.config/devboy-tools/config.toml
  • Windows: %APPDATA%\devboy-tools\config.toml

§Example

use devboy_core::config::{Config, GitHubConfig};

// Load config
let config = Config::load()?;

// Modify config
let mut config = config;
config.github = Some(GitHubConfig {
    owner: "meteora-pro".to_string(),
    repo: "devboy-tools".to_string(),
});

// Save config
config.save()?;

Structs§

BuiltinToolsConfig
Configuration for controlling which built-in tools are available.
ClickUpConfig
Config
Main configuration structure.
ConfluenceConfig
ContextConfig
Per-context provider configuration.
FirefliesConfig
Fireflies.ai provider configuration (meeting notes).
FormatPipelineConfig
Configuration for the format pipeline (TOON encoding, budget trimming, strategies).
GitHubConfig
GitLabConfig
JiraConfig
ProxyConfig
Container for global proxy configuration — wired under [proxy] in TOML.
ProxyMatchingConfig
ProxyMcpServerConfig
Configuration for an upstream MCP server to proxy.
ProxyRoutingConfig
Routing policy: global default strategy plus per-tool overrides.
ProxyRoutingOverride
Per-server partial override for ProxyRoutingConfig.
ProxySecretsConfig
Secure-store configuration for proxy authentication tokens.
ProxyTelemetryConfig
Telemetry pipeline configuration — reports routing decisions to a configurable HTTP endpoint even when the call is executed locally.
ProxyToolRule
Per-tool override: maps a tool-name glob pattern to a specific routing strategy. Patterns are matched against the tool name without the upstream prefix (e.g., get_issues, not cloud__get_issues).
RemoteConfigSettings
Remote configuration endpoint settings.
SentryConfig
Sentry error reporting configuration.
SlackConfig
Slack provider configuration (messenger).

Enums§

RoutingStrategy
Routing strategy — how a tool invocation is dispatched when both the local executor and a connected upstream MCP server can handle the same tool.

Functions§

default_slack_required_scopes
matches_glob
Match name against a glob-like pattern where * is a wildcard matching any run of characters (including empty). No character classes, escapes, or ?.
routing_strategy_slug
Stable kebab-case slug for a RoutingStrategy. Symmetric with serde and TOML serialisation. Exported so CLI / observability code renders strategy values the same way in every surface (JSON, plain text, config list).