ResumeSessionConfig constructor
const
ResumeSessionConfig({
- required String sessionId,
- String? clientName,
- String? model,
- SystemMessageConfig? systemMessage,
- InfiniteSessionConfig? infiniteSessions,
- bool? streaming,
- List<
String> ? availableTools, - List<
String> ? excludedTools, - Map<
String, McpServerConfig> mcpServers = const {}, - List<
CustomAgentConfig> customAgents = const [], - List<
String> skillDirectories = const [], - List<
String> disabledSkills = const [], - ProviderConfig? provider,
- ReasoningEffort? reasoningEffort,
- String? configDir,
- String? workingDirectory,
- bool? disableResume,
- required PermissionHandler onPermissionRequest,
- UserInputHandler? onUserInputRequest,
- List<
Tool> tools = const [], - SessionHooks? hooks,
Implementation
const ResumeSessionConfig({
required this.sessionId,
this.clientName,
this.model,
this.systemMessage,
this.infiniteSessions,
this.streaming,
this.availableTools,
this.excludedTools,
this.mcpServers = const {},
this.customAgents = const [],
this.skillDirectories = const [],
this.disabledSkills = const [],
this.provider,
this.reasoningEffort,
this.configDir,
this.workingDirectory,
this.disableResume,
required this.onPermissionRequest,
this.onUserInputRequest,
this.tools = const [],
this.hooks,
});