Claude Code v2.1.221 ·
Chrome bridge: activity observer runs before each tool call
The browser bridge now rechecks the connection before each tool call and fails clearly if it dropped.
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
Chrome & BrowserArea: what it touches
Internal ChangesKind: in v2.1.221,
Internal ChangesSection of the release
What
The browser bridge calls an optional observer before dispatching a tool call and re-validates the connection afterwards.
Details
onBeforeToolCall is optional; errors from it are swallowed with a debug log- after the callback the bridge re-checks the connection and throws if it disconnected or the extension went away in the meantime
Evidence
Chrome extension disconnected mid-call
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.221 →