0.9.1
Patch Changes
-
#4144
3c8e17eThanks @gesh! - fix(mcp): publish$identifyat most once per session instead of before every tool callOn stateless / multi-pod deployments the SDK rebuilds its per-server identity cache on every request, so the dedupe check saw an empty cache each time and emitted a standalone
$identifybefore every$mcp_tool_call. The SDK now publishes$identifyat most once per session — atinitialize, when a long-lived server first sees the identity, or when the identity materially changes. Every event still carriesdistinct_id/$set, so no person data is lost when a standalone$identifyis suppressed. (2026-07-15)