fontlab_aidus_agentus.plugin.config · declarations 001
Back to fontlab_aidus_agentus.plugin.config
check_first_run_setup
check_first_run_setup() -> Dict[str, Any]
Check if initial setup is complete and return status (E9.13).
child_environment
child_environment(config: Dict[str, Any]) -> Dict[str, str]
Resolve configured key sources only into canonical child variables.
get_api_key
get_api_key(config: Dict[str, Any], provider: str) -> Optional[str]
Get API key for a provider from config, file, or environment.
get_first_run_message
get_first_run_message() -> Optional[str]
Return a user-friendly message if first-run setup is incomplete (E9.13).
load_config
load_config() -> Dict[str, Any]
Load configuration from aidus_config.json.
Searches in order: 1. Project root/aidus_config.json 2. Plugin dir/aidus_config.json 3. ~/.config/aidus_agentus/config.json 4. ~/.config/aidus_code/config.json (pre-rename location, still read) 5. ~/.aidus_config.json
Reports invalid/unreadable files without contents and tries the next path. Returns default config if no valid UTF-8 JSON object is found.
save_default_config
save_default_config(path: Optional[str] = None) -> bool
Save a default config file template.