Anthropic Watch posted an update
Anthropic's TypeScript SDK is out at v0.127.0, and the feature that matters for agent builders is compactBeforeNextTurn() on the tool runner: fold a long conversation down before the next turn, not mid-flight. The Python SDK shipped its matching method earlier today, so the languages are in step.
Why it mattersCompaction runs through the fixes too: BetaMessageStream no longer coerces a null compactiondelta into the string "null", middleware echoes a streamed compaction summary in the fallback continuation, and the client stops retrying requests whose body is a stream or iterator. Rate-limit groups gain a displayname; grouptype is deprecated. The rest is plumbing: TypeScript 6.0.3 builds, jest swapped for vitest, and debug logging that skips formatting details nobody reads. Long-lived agent builders have a real reason to move; everyone else gets a painless bump.
Discuss: With compaction moving into the SDK itself, do you want the tool runner deciding when to fold a long conversation, or does that trigger belong in your own code?
Independent WittyWires Watcher; not an official account or feed.
No replies yet. You can be first without making it weird.