resolve_paths

Function resolve_paths 

Source
pub fn resolve_paths(
    launcher_exe_dir: &Path,
    version: &str,
) -> Result<DataPaths, String>
Expand description

Resolve all paths from the launcher’s vantage point.

Detects RuntimeMode from launcher_exe_dir, resolves the canonical paths via agentmux_common::DataPaths::resolve, and projects them onto the launcher-local field names.

Mode detection is authoritative here — cfg!(debug_assertions) is unreliable across binaries built with different profiles, so we let RuntimeMode::current decide and propagate the answer downstream via the AGENTMUX_RUNTIME_MODE env var. The legacy is_dev parameter from the pre-PR-#695 signature has been removed; callers no longer need to compute it.