These changes prepare the context handler to resolve search query promises.
This introduces the search response which can either be a success or error and requires an id from search queries which are returned in the response.
Relevant explanation: https://linear.app/comm/issue/ENG-5505/implement-contextprovider-pattern-for-web-socket-connection-status#comment-2162a512
Depends on D10980