Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Gateway GatewayConfig `yaml:"gateway"` Output OutputConfig `yaml:"output"` Tools ToolsConfig `yaml:"tools"` }
Config represents the CLI configuration
func LoadConfig ¶
LoadConfig loads configuration from file
func (*Config) SaveConfig ¶
SaveConfig saves configuration to file
type GatewayConfig ¶
type GatewayConfig struct { URL string `yaml:"url"` APIKey string `yaml:"api_key"` Timeout int `yaml:"timeout"` }
GatewayConfig contains gateway connection settings
type OutputConfig ¶
OutputConfig contains output formatting settings
type ToolWhitelistConfig ¶
type ToolWhitelistConfig struct { Commands []string `yaml:"commands"` Patterns []string `yaml:"patterns"` }
ToolWhitelistConfig contains whitelisted commands and patterns
type ToolsConfig ¶
type ToolsConfig struct { Enabled bool `yaml:"enabled"` Whitelist ToolWhitelistConfig `yaml:"whitelist"` }
ToolsConfig contains tool execution settings
Click to show internal directories.
Click to hide internal directories.