Skip to main content

Module config

Module config 

Source

Structs§

AiToolConfig
Config
Typed configuration structure matching the JSON schema.
GitConfig
LaunchConfig
MergePreset
Merge preset configuration.
ShellCompletionConfig
UpdateConfig

Enums§

PromptPosition

Functions§

ai_tool_merge_presets
AI tool merge presets.
ai_tool_presets
AI tool presets: preset name -> command parts.
ai_tool_resume_presets
AI tool resume presets.
claude_preset_names
Set of Claude-based preset names.
get_ai_tool_command
Get the AI tool command to execute.
get_ai_tool_merge_command
Get the AI tool merge command.
get_ai_tool_resume_command
Get the AI tool resume command.
get_config_path
Get the path to the configuration file.
get_default_launch_method
Get default launch method from config or environment.
is_claude_tool
Check if the currently configured AI tool is Claude-based.
list_presets
Get a formatted list of available presets.
load_config
Load configuration from file, deep-merged with defaults.
parse_term_option
Parse –term option value.
reset_config
Reset configuration to defaults.
resolve_launch_alias
Resolve launch method alias to full name.
save_config
Save configuration to file.
set_ai_tool
Set the AI tool command in configuration.
set_config_value
Set a configuration value by dot-separated key path.
show_config
Get a formatted string of the current configuration.
use_preset
Use a predefined AI tool preset.