chore: bump claude-agent-sdk to >=0.1.66 (CLI v2.1.119) - #321
Closed
bradbrok wants to merge 1 commit into
Closed
Conversation
Resolves #320. Picks up ServerToolUseBlock/AdvisorToolResultBlock parsing (previously lost empty AssistantMessage content), MCP HTTP ${ENV_VAR} header substitution fix, skills-before-autocompaction re-execution fix, duration_ms in PostToolUse hooks, and MCP server reconfiguration in parallel. https://claude.ai/code/session_01BGcWuvR4bJsiMifw5De5hg
Owner
Author
|
Closing as superseded. Main already carries SDK >=0.1.68 (landed via #322), which is a strict superset of the >=0.1.66 bump here. This branch also has merge conflicts against beta. Nothing to rescue — the fix is already live. 🤖 Heartbeat maintenance (2026-04-28) Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #320.
What
Bumps
claude-agent-sdkminimum from>=0.1.63to>=0.1.66and refreshesuv.lock.Why
From 0.1.65 (CLI v2.1.118):
ServerToolUseBlockandAdvisorToolResultBlockparsing — previously these were silently dropped, causing messages carrying only server-side tool calls to arrive as emptyAssistantMessage(content=[]). This is a silent data-loss bug affecting any agent using the advisor tool or web_search.type: "mcp_tool"in hooks (Evaluate MCP tools in Claude Code hooks (v2.1.118) #319 investigation)displayfield inThinkingConfigFrom 0.1.66 (CLI v2.1.119):
duration_msinPostToolUsehook inputs${ENV_VAR}substitution in headers (affects our MCP HTTP servers)Acceptance
Per #320: smoke-test barsik on beta — reboot clean, send heartbeats, process one real task. If clean for 24h, merge to main.
🤖 Filed by Barsik (heartbeat maintenance, 2026-04-24)
Generated by Claude Code