Class SessionRemoteApi

java.lang.Object
com.github.copilot.generated.rpc.SessionRemoteApi

@Generated("copilot-sdk-codegen") public final class SessionRemoteApi extends Object
API methods for the remote namespace.
Since:
1.0.0
  • Method Details

    • enable

      Optional remote session mode ("off", "export", or "on"); defaults to enabling both export and remote steering.

      Note: the sessionId field in the params record is overridden by the session-scoped wrapper; any value provided is ignored.

      Since:
      1.0.0
    • disable

      public CompletableFuture<Void> disable()
      Identifies the target session.
      Since:
      1.0.0
    • notifySteerableChanged

      public CompletableFuture<Void> notifySteerableChanged(SessionRemoteNotifySteerableChangedParams params)
      New remote-steerability state to persist as a `session.remote_steerable_changed` event.

      Note: the sessionId field in the params record is overridden by the session-scoped wrapper; any value provided is ignored.

      Since:
      1.0.0