claude-agent-sdk-typescript v0.3.330
- Source
- github.com
- Author
- claude-code-publisher[bot]Top Viber
- Date

Context
Version 0.3.330 of Anthropic's Claude Agent SDK for TypeScript, the library developers use to build their own agents on the engine behind Claude Code, is a maintenance release that brings it level with Claude Code v2.1.330. The change most likely to be noticed is about cost. On Google Cloud's Platform, sessions that took their model from the ANTHROPIC_MODEL environment variable or from a settings file ignored a fastMode setting. After the fix they honor it, and the release notes say such sessions now bill at the fast mode price, so teams running there with fastMode switched on should expect that change after upgrading. A related fix makes the fast_mode_state reported when a session starts describe the model the session actually runs rather than the default model.
Two changes make broken settings visible instead of silently ignored. When the settings option, or a user, project or local settings file, fails validation and is not in effect, the SDK now emits an informational system message tagged settings_not_in_effect, and query() now fails with an error when settings is passed as a JSON string that does not parse. The remaining fixes close timing bugs. A stopped with stopTask() just as it finished no longer leaves Claude waiting for it. Environment variables that a SessionStart writes to CLAUDE_ENV_FILE now reach the Bash tool when a session is resumed with the continue option. Tool results from an SDK server, a tool server a developer defines through the SDK, are no longer lost or swapped when a call overlaps a reconnect; while an earlier request is still unanswered, a new request can now carry an id of 1,048,576 or higher. Developers who do not use these features will see no difference.
- Claude Agent SDK 0.3.330 emits a system/informational warning tagged settings_not_in_effect when a settings object or a user, project or local settings file fails validation and is therefore not in effect.
- The TypeScript SDK's query() now fails with an error when settings is passed as a JSON string that does not parse.
- Google Cloud Agent Platform sessions that take their model from ANTHROPIC_MODEL or a settings file now honor fastMode in settings, and those sessions bill at the fast mode price.
- A fix covers lost or swapped tool results from SDK MCP servers when a call overlapped a reconnect; while an earlier request is unanswered, a new request can now carry an id of 1,048,576 or higher.
- AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.
- headless agent — An agent running with no one watching — in CI, on a schedule, or triggered by an event — with its output reviewed after the fact.
- agent hook — A script the harness runs automatically at a fixed point in an agent's loop — before a tool call, after an edit, on session start.
- MCP — The Model Context Protocol — an open standard that lets any AI assistant plug into any tool or data source without custom integration code.
Checking sign-in…
Loading comments…





