CopilotClientOptions constructor

const CopilotClientOptions({
  1. String? cliPath,
  2. List<String> cliArgs = const [],
  3. String? cwd,
  4. int port = 0,
  5. bool useStdio = true,
  6. String? cliUrl,
  7. LogLevel? logLevel,
  8. bool autoStart = true,
  9. bool autoRestart = true,
  10. Map<String, String>? env,
  11. String? githubToken,
  12. bool? useLoggedInUser,
  13. void log(
    1. String message
    )?,
  14. List<Tool> tools = const [],
  15. SessionHooks? hooks,
  16. PermissionHandler? onPermissionRequest,
  17. UserInputHandler? onUserInputRequest,
})

Implementation

const CopilotClientOptions({
  this.cliPath,
  this.cliArgs = const [],
  this.cwd,
  this.port = 0,
  this.useStdio = true,
  this.cliUrl,
  this.logLevel,
  this.autoStart = true,
  this.autoRestart = true,
  this.env,
  this.githubToken,
  this.useLoggedInUser,
  this.log,
  this.tools = const [],
  this.hooks,
  this.onPermissionRequest,
  this.onUserInputRequest,
});