# Cline SDK 0.0.70: plan-mode command blocking, context-overflow recovery, session mode field

> The SDK release behind this week's Cline CLI, desktop, and extension builds. Plan mode moves from prompt-based restraint to hard rejection of mutating shell commands, context-window overflow is recovered via deterministic compaction, and `StartSessionInput` gains a `mode` field. Embedders should expect changed tool-error behavior and session persistence timing.

| | |
|---|---|
| **Tool** | Cline |
| **Version** | sdk/sdk/v0.0.70 |
| **Kind** | release |
| **Published** | 2026-08-05 |
| **Observed** | 2026-08-11 |
| **Significance** | 3/5 |
| **Breaking** | yes |
| **Categories** | breaking, api-change, feature, fix, model-support |

## What changed


- Plan mode rejects file manipulation, in-place editors (`sed -i`, `perl -i`), file redirection, mutating git subcommands, package installs, and nested commands (`sh -c`, `eval`, `sudo`, `xargs`) with a tool error, on Windows and PowerShell too; read-only `run_commands` still permitted
- Context-window overflow detected and recovered: deterministic force-compaction with no extra LLM call, one retry; terminal cases fail with an actionable message
- `StartSessionInput` gains `mode` (`user`, `automation`, `subagent`, `team`) alongside `source`
- Root-session persistence is lazy — session id allocated in memory, no DB row until a user turn, so closed empty sessions leave no history entry
- Fully empty turns retried on all providers; tool-call-only turns and error/token-limit turns pass through unchanged
- Adaptive-era Claude models (4.6+, 5.x) no longer sent the manual thinking wire shape; baked catalog carries reasoning metadata and unlisted ids are inferred
- Bedrock emits Converse `cachePoint` markers instead of the silently-dropped `cache_control`, restoring prompt caching; no stray `cache_control` in the request body
- Bedrock foundation models routed through geo inference profiles
- OpenAI-compatible reasoning models get `max_completion_tokens`; image content substituted for models without image support
- MiniMax default model inherited from models.dev
- Model layer on AI SDK 7; Ollama on the native provider with fixes for empty `think` settings, mid-stream errors, attachment-only turns; canonical AI SDK 7 file parts for images
- `sdk.error` telemetry deduplicated and rate-limited for unattended retry loops


## Sources

- [github_release](https://github.com/cline/cline/releases/tag/sdk/sdk/v0.0.70) — retrieved 2026-08-11

## Community

_No curated reactions recorded. Facts and community takes are kept in separate layers
and never blended._

---
Canonical: https://changelogs.info/cline/sdk-sdk-v0-0-70
Entity: https://changelogs.info/cline
Event ID: `evt_2026-08-05_cline_sdk-sdk-v0-0-70`
Licence: event synthesis © changelogs.info, CC BY 4.0. Linked sources belong to their vendors.
