Class SessionShellApi

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

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

    • exec

      Shell command to run, with optional working directory and timeout in milliseconds.

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

      Since:
      1.0.0
    • kill

      Identifier of a process previously returned by "shell.exec" and the signal to send.

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

      Since:
      1.0.0