async fn probe_latest() -> Option<String>Expand description
GET npm’s /latest dist-tag and return the newest published
@anthropic-ai/claude-code version as MAJOR.MINOR.PATCH.
The first attempt honours the ambient proxy env; if it can’t reach
the registry (e.g. an exported HTTPS_PROXY pointing at a stopped
mitmproxy) it retries once via .no_proxy() so the non-sensitive
version check still lands over a direct connection. WARN-and-None
on any terminal failure.