Class InProcessRuntimeConnection

java.lang.Object
com.github.copilot.rpc.RuntimeConnection
com.github.copilot.rpc.InProcessRuntimeConnection

@CopilotExperimental public final class InProcessRuntimeConnection extends RuntimeConnection
Hosts the runtime in-process by loading its native library and communicating over the C ABI — no child process is spawned by the SDK for JSON-RPC transport. Construct with RuntimeConnection.forInProcess().

The in-process runtime is self-contained: it carries everything it needs and requires no external installation. Because it runs inside the host process, per-client process settings (environment, telemetry, cwd, and cliArgs) are rejected; configure those on the host process instead, or use a child-process connection.

Since:
1.0.0