Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.268 ·

SDK bridge permission_request/notification handling hardened

SDK bridge handles permission requests and malformed notifications more defensively

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaSDKwhat it touches
KindBug Fixesin v2.1.268,
Under the hood

SDK bridge handles permission requests and malformed notifications more defensively

What

The SDK bridge (the layer that lets an external host application talk to Claude Code) now handles a few edge cases more carefully:

  • Errors while handling a permission request are now caught and logged instead of crashing unhandled.
  • Notification messages whose method field isn't a string are now dropped with a warning instead of being passed through.
  • Permission request messages are now validated with proper type checks on their tool_use_id and request_id fields, fixing what looks like a latent bug where the check referenced an undefined variable and so never worked as intended.
Why

These changes make the SDK bridge more robust against malformed or unexpected messages, preventing crashes and silently-broken validation.

See this entry in the whole of v2.1.268 →

Feedback