Skip to content

chore: bump claude-agent-sdk to >=0.1.66 (CLI v2.1.119) - #321

Closed
bradbrok wants to merge 1 commit into
betafrom
barsik/sdk-bump-0.1.66
Closed

chore: bump claude-agent-sdk to >=0.1.66 (CLI v2.1.119)#321
bradbrok wants to merge 1 commit into
betafrom
barsik/sdk-bump-0.1.66

Conversation

@bradbrok

Copy link
Copy Markdown
Owner

Closes #320.

What

Bumps claude-agent-sdk minimum from >=0.1.63 to >=0.1.66 and refreshes uv.lock.

Why

From 0.1.65 (CLI v2.1.118):

  • ServerToolUseBlock and AdvisorToolResultBlock parsing — previously these were silently dropped, causing messages carrying only server-side tool calls to arrive as empty AssistantMessage(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)
  • display field in ThinkingConfig

From 0.1.66 (CLI v2.1.119):

  • duration_ms in PostToolUse hook inputs
  • Fix: MCP HTTP ${ENV_VAR} substitution in headers (affects our MCP HTTP servers)
  • Fix: skills invoked before auto-compaction being re-executed against next user message
  • Fix: async PostToolUse hooks writing empty transcript entries
  • MCP server reconfiguration in parallel (faster agent startup)

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

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

Copy link
Copy Markdown
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

@bradbrok bradbrok closed this Apr 28, 2026
@olegbrok
olegbrok deleted the barsik/sdk-bump-0.1.66 branch May 3, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants