Skip to main content

default_auth_dir

Function default_auth_dir 

Source
pub fn default_auth_dir(provider: &ProviderConfig) -> Result<String, String>
Expand description

provider’s DEFAULT auth/config dir: ~/.agentmux/shared/providers/<auth_dir_name>/ — account-wide and version/channel-independent, so one login is shared by every instance (the structural fix for the per-channel validate-spin regression). A per-account auth dir (identity_handlers) still wins for explicit multi-account. Shared by agent open and provider.ensureauthdir.