cli-v3.0.54
ClineSummary
This release significantly improves the Claude Code provider, fixing issues with tool execution and session anchoring. Several critical bugs have been resolved, including problems with tool-call JSON repair, strict provider rejections, and mid-turn crashes during streamed tool calls. Additionally, the Hub daemon upgrade process has been refined to prevent conflicts between different Cline installations.
New Features
- Introduced directional upgrades for Managed Hub daemons, preventing conflicts between different Cline installations and ensuring the CLI attaches to and prompts for updates to the newer daemon.
Bug Fixes
- Fixed the Claude Code provider to correctly run native tools and anchor sessions on the workspace directory, resolving issues with tool definitions and permission rules.
- Fixed truncated tool-call JSON from being silently repaired into incorrect arguments, now rejecting payloads with unterminated strings.
- Fixed strict providers rejecting turns with only empty text parts in user messages.
- Fixed a mid-turn crash occurring during streamed tool calls with non-zero or non-contiguous indexes when using LiteLLM's Anthropic passthrough.
- Fixed the Hub daemon from logging an unhandled error and exiting non-zero when a client was still connected at shutdown.
- Fixed per-task token totals from being inflated due to cache-heavy sessions by reporting token telemetry in disjoint buckets.
- Resolved an issue where upgrading the CLI would cause it to communicate with a daemon running the previous release; the CLI now correctly retires and respawns the Hub daemon on the new code.
Improvements
- Yolo and sandbox sessions are no longer interrupted by the Managed Hub daemon upgrade prompt as they do not attach to the shared Hub.