Follow Discord
Sweep 08 Oct 2026 · 18:53Z Build v2.1.295 516 read Stable v2.1.286 Latest v2.1.295 Next v2.1.295 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.290 ·

Agent SDK results no longer pick up an API error as the reply

In the Agent SDK, a successful turn's result text no longer comes from an assistant message that reports an API error

You'll notice Bug Fixes
JSON All of v2.1.290
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SDKArea: what it touches
Bug FixesKind: in v2.1.290,
Bug FixesSection of the release

Unclear It is not clear how far the extra saving step during compaction reaches.

What

The Agent SDK lets programs run Claude Code and read back what happened in each turn, a turn being one request and Claude's response. Previously the turn's result text was always taken from Claude's last message. Now, if that message is an API error but the turn itself did not end in error, it is not used as result.

Two smaller changes come with it. When a conversation is compacted, meaning shortened so it fits, Claude Code now saves state first. Notices that a command has been taken in now go through their own callback.

Why

Programs reading the result of a successful turn no longer get an error message where they expect Claude's answer.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear how far the extra saving step during compaction reaches.

See this entry in the whole of v2.1.290 →

Feedback