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.
PUBLISHED2026-08-05
OBSERVED2026-08-11
AGE6d
SOURCES1
- 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-onlyrun_commandsstill permitted - Context-window overflow detected and recovered: deterministic force-compaction with no extra LLM call, one retry; terminal cases fail with an actionable message
StartSessionInputgainsmode(user,automation,subagent,team) alongsidesource- 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
cachePointmarkers instead of the silently-droppedcache_control, restoring prompt caching; no straycache_controlin 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
thinksettings, mid-stream errors, attachment-only turns; canonical AI SDK 7 file parts for images sdk.errortelemetry deduplicated and rate-limited for unattended retry loops
COMMUNITY
No curated reactions recorded for this event. Facts and takes are kept in separate layers — community context is added by hand, never blended into the record above.