Function: resolveWebSearchContext()
resolveWebSearchContext():
Promise<WebSearchContext>
Resolve the OBO workspace client + host from the active AppKit execution
context. Inside agent.stream’s asUser(req) scope this hits the serving
endpoint as the requesting user; outside a user context AppKit falls back to
the service principal.
Returns
Section titled “Returns”Promise<WebSearchContext>