Skip to main content
Create a session client against a remote runtime or an isolated local server.

Parameters

options?

ClientOptions Connection, process, workspace, and control-channel options.

Returns

Promise<AgentClient> A client that owns its session handles and local server process.

Throws

If the local binary cannot start or the connection configuration is invalid.