# Cline SDK 0.0.66: free models, agentic compaction default, onRetryAttempt removed

> The Cline SDK adds free Cline models (`cline-free`) priced at zero with a dedicated limit error carrying a reset time, and makes agentic compaction the default context-compaction strategy with three fixes to it. The never-invoked `onRetryAttempt` callback is removed from `ApiHandlerOptions` and provider config, which will break consumers that set it.

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

## What changed


**Features**
- Free Cline models (`cline-free`): labeled "(free)", priced at zero; hitting the free tier raises a dedicated limit error including the reset time.
- Agentic compaction is now the default context-compaction strategy.
- Connector sessions persist and auto-reconnect after a daemon or hub restart.
- Plan/act mode, tool auto-approve and compaction mode persist in global settings with cross-process-safe writes, so two hosts no longer clobber each other.
- Built-in provider list generated from models.dev, broadening out-of-the-box coverage; bundled model catalog updated.
- Headless scheduled routines default to auto-approve and no longer ask unanswerable questions.
- Telemetry: task lifecycle events, auth event metadata and request IDs, correct host identity (`host_plugin_version`, platform) on SDK-pipeline events.

**Fixes**
- Agentic compaction silently falling back to basic compaction on OpenAI Compatible providers (summarizer built its handler without a base URL and hit api.openai.com).
- Manual compaction budgeting against a 64k fallback instead of the model's real context window.
- Agentic compaction never finding a cut point in tool-heavy transcripts, producing endless "auto-compaction skipped" while context grew — assistant messages are now valid cut boundaries.
- Editor tool preserves a file's existing line endings; CRLF files no longer get mixed endings and failing exact-match edits.
- SAP AI Core sets the metering header and uses the fetch adapter.

**Removed**
- `onRetryAttempt` callback removed from `ApiHandlerOptions` and provider config (documented as never invoked).
- `@cline/ui`: host-safe theme contract and Markdown exports.


## Sources

- [github_release](https://github.com/cline/cline/releases/tag/sdk/sdk/v0.0.66) — 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-66
Entity: https://changelogs.info/cline
Event ID: `evt_2026-07-28_cline_sdk-sdk-v0-0-66`
Licence: event synthesis © changelogs.info, CC BY 4.0. Linked sources belong to their vendors.
