Invoke a Hopper tool against the active target. Calls may overlap, but a pending target transition prevents new calls from entering until the transition has settled.
Optionaloptions: { signal?: AbortSignal }Close the active target, if any.
Open or switch targets after draining calls against the current target. Returns the switch failure even if best-effort restoration also fails.
Describe the active binary session.
Owns the single active target shared by CLI and MCP adapters.
Target transitions are serialized because each client dispatches Hopper API work on its dedicated Python thread, and switching targets tears that bridge down. A failed switch recreates the previous target instead of retaining a client whose bridge was already shut down.