Fixes session resume
Anthropic fixes session resume, stop handling, and content filtering in Claude Agent SDK.
Direct Anthropic requests now ask the Claude API for its recommended server-side refusal fallback (`anthropic.fallbacks: "default"`), and OpenRouter and Cline requests for Anthropic models set `provider.allow_fallbacks` so a request can fail over to another upstream provider instead of failing outright A Stop issued while a turn is still being prepared is no longer dropped. The agent runtime ignores `abort()` with no run in flight, so a Stop that landed between `runTurn()` entry and the run start (session persistence, the git metadata refresh, credential sync) was lost and the turn kept running while the host showed it as stopped.
`LocalRuntimeHost` now re-sends the abort once the run exists, and clears a leftover between-turns abort flag when a new turn starts so it can't cancel the next prompt Content-filtered turns are no longer reported as empty responses. `content-filter` is a new `AgentModelFinishReason`, mapped by both the AI SDK and ApiHandler adapters (including the compat round trip); the run fails with a message saying the response was blocked by a content filter and suggesting a rephrase, and the run-failed `sdk.error` event carries the turn's finish reason Resuming…
- github.comCline: SDK v0.0.88primary