Vibeleaderboard
← All Intel
Intel / repo

claude-agent-sdk-typescript v0.3.334

Source
github.com
Publisher
Anthropic
Author
claude-code-publisher[bot]Top Viber
Date
Why it matters

If you build on the Agent SDK, auto-compact now defaults to roughly 400K on most 1M models unless you set autoCompactWindow, which changes context behavior. New startup failure reasons and task durations also improve error handling.

Key takeaways · AI-distilled
  • Auto-compact's per-model default drops to about 400K tokens on most current 1M- models, rolling out now and already on with third-party providers. Set a model's autoCompactWindow under modelSettings to keep the full 1M window.
  • A SYSTEM_PROMPT_DYNAMIC_ marker was ignored on Bedrock, Agent Platform, Foundry, gateways or with experimental betas off. The text above it now gets its own cache breakpoint; the text sent to the model is unchanged.
  • startup_failure_reason gains values for sessions that stop before running: updated Consumer Terms awaiting an answer in the terminal or on the web, and resume_target_not_found when --resume finds no conversation to load.
  • -command task notifications now report duration_ms, and a tool call to an in-process no longer ends early when that server sends a request of its own with the same id.
Terms in this piece · Glossary
  • Terminal and shell — A text interface for navigating files and running programs.
  • Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
  • Boundary — A point in a program where one part finishes its job and hands its result to another.
  • MCP server — A program that provides tools, resources and prompt templates to an MCP client; it may run on the same machine as the application or remotely.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

More from claude-code-publisher[bot]
Recommended reads