pub fn resolve_workspace_path(
workspace: PathBuf,
sessions_root: &Path,
) -> Result<PathBuf>Expand description
Resolve a run --workspace value to a manifest path.
Path-like values are expanded and returned as paths. Bare workspace names resolve under
~/.codex-ws/config/workspace relative to the configured sessions root.
§Arguments
workspace- User-provided workspace name or path.sessions_root- codex-ws state root.
§Returns
Manifest path to load.
§Errors
Returns an error when a bare workspace name is invalid.