pub async fn patched_binary(binary: &Path) -> Result<PathBuf, CodeModeError>Expand description
Path of a patched copy of binary (resolved through PATH), built on
first use and cached under <cache>/claude-code-agent/code-mode/. The cache key
is the installed binary’s name, size and mtime plus this SDK’s version,
so a CLI update or a new patch builds a new copy.