Webview-side IAgentRuntimesClient implementation that proxies every call to the extension host via postMessage.
postMessage
The extension host listens with AgentChatBridgeHandler and answers with a response envelope correlated by request ID. This file exposes:
AgentChatBridgeHandler
IAgentRuntimesClient
request
Phase 2b scope: request/response only. Streaming support (for streamChat) lands in a follow-up phase when the SDK grows typed streaming methods.
streamChat
Webview-side IAgentRuntimesClient implementation that proxies every call to the extension host via
postMessage.The extension host listens with
AgentChatBridgeHandlerand answers with a response envelope correlated by request ID. This file exposes:IAgentRuntimesClientimplementation used inside the Agent Chat webview.postMessageplumbing and returns a typedrequestfunction used by the class.Phase 2b scope: request/response only. Streaming support (for
streamChat) lands in a follow-up phase when the SDK grows typed streaming methods.