Autobot::CLI::SetupHelper
Shared setup logic for tools, plugins, and startup validation
Constants
Class methods
Creates the appropriate provider based on configuration.
Load exec tool patterns from configuration. User deny_patterns are merged with defaults (appended, not replaced). Returns {deny_patterns, allow_patterns}.
Load and start plugins. Call after gateway is ready to avoid blocking startup with plugin setup (binary checks, migrations, etc.).
Register builtin plugins that are enabled in config (all enabled by default).
Register the image generation tool if a suitable provider is available.
Sets up tool registry with built-in tools and MCP servers.
Returns {tool_registry, mcp_clients, rate_limiter}. Plugins are loaded
separately via load_plugins to avoid blocking startup.
Validate that a provider is configured, exit if not.