Fetch the latest deepagents-cli version from PyPI, with caching.
Results are cached to CACHE_FILE to avoid repeated network calls.
The cache stores both the latest stable and pre-release versions so a
single PyPI request serves both code paths.
Skip the cache and always hit PyPI.
When True, consider pre-release versions
(alpha, beta, rc). Stable users should leave this False.