cli-v3.0.37

kubernetes-sigs/agent-sandboxcli-v3.0.37Jul 4, 2026by github-actions[bot]

AI Summary

Focused on reliability and model awareness, this update handles weaker model errors gracefully and ensures plan/act mode switches are communicated to the AI during a session.

Key Highlights

  • Weaker models with malformed tool calls (wrong types/truncated JSON) are handled gracefully
  • Plan/act mode switches are now visible to the model during a session
  • Fixed notices being dropped from prompts sent to the model
  • Fixed a race condition when switching modes in an empty session

Full Release Notes


- Weaker models (e.g. DeepSeek) that emit malformed tool calls — wrong argument types or truncated JSON — are now handled gracefully and run instead of erroring out
- Plan/act mode switches are now visible to the model, so it knows when you change modes mid-session
- Fixed plan/act mode notices being dropped from prompts sent to the model
- Fixed a race where switching modes in an empty session could trigger an unexpected restart

**Full Changelog**: https://github.com/cline/cline/compare/cli-v3.0.36...cli-v3.0.37