get_user_home_dir

Function get_user_home_dir 

Source
pub fn get_user_home_dir(state: &Arc<AppState>) -> Result<Value, String>
Expand description

Get the user home directory used by the frontend for per-agent paths (working dir, GH_CONFIG_DIR, etc.).

Portable returns <portable>/data; installed returns ~/.agentmux; AGENTMUX_DATA_HOME, if set at launch, overrides both. See docs/specs/portable-agent-working-dirs.md.