CopilotClientOptions constructor
const
CopilotClientOptions({
- String? cliPath,
- List<
String> cliArgs = const [], - String? cwd,
- int port = 0,
- bool useStdio = true,
- String? cliUrl,
- LogLevel? logLevel,
- bool autoStart = true,
- bool autoRestart = true,
- Map<
String, String> ? env, - String? githubToken,
- bool? useLoggedInUser,
- void log(
- String message
- List<
Tool> tools = const [], - SessionHooks? hooks,
- PermissionHandler? onPermissionRequest,
- 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,
});