1.0.0-beta.26 (2026-06-28)
Features Added
- Container protocol version
2.0.0support: added the platform identity header constantsPlatformHeaders.UserId(x-agent-user-id) andPlatformHeaders.FoundryCallId(x-agent-foundry-call-id). - Added
FoundryEnvironment.AgentIdexposing the agent's stable GUID from theFOUNDRY_AGENT_IDenvironment variable. - Added the request-scoped
FoundryAgentRequestContext(AsyncLocal-backed, never-nullCurrent) that captures the inboundx-agent-foundry-call-id/x-agent-user-idvia an SDK middleware, andFoundryCallIdHandler(aDelegatingHandler) that echoes only the call ID on outbound Foundry-boundHttpClientcalls (x-agent-user-idis never echoed). The .NET analogue of the Python SDK'sget_request_context().
Breaking Changes
- Renamed
IsolationContexttoPlatformContext. Its members are nowUserIdKey(fromx-agent-user-id) andCallId(fromx-agent-foundry-call-id), replacingUserIsolationKey/ChatIsolationKey. - Replaced the
PlatformHeaders.UserIsolationKey/PlatformHeaders.ChatIsolationKeyconstants withPlatformHeaders.UserIdandPlatformHeaders.FoundryCallIdper container protocol version2.0.0.