pub async fn resolve_read_tool_path(
env: &dyn ExecutionEnv,
path: &str,
cancel: Option<&CancellationToken>,
) -> Result<String, FileError>Expand description
Resolve a read tool path: try the normalized-resolved path first, and if it
doesn’t exist, try typographic variants (smart quotes, narrow spaces in
AM/PM timestamps, NFD decomposition) — returning the first that exists.
Falls back to the original resolved path when none exist. Mirrors
resolveReadToolPath.