ResumeSessionConfig constructor

const ResumeSessionConfig({
  1. required String sessionId,
  2. String? clientName,
  3. String? model,
  4. SystemMessageConfig? systemMessage,
  5. InfiniteSessionConfig? infiniteSessions,
  6. bool? streaming,
  7. List<String>? availableTools,
  8. List<String>? excludedTools,
  9. Map<String, McpServerConfig> mcpServers = const {},
  10. List<CustomAgentConfig> customAgents = const [],
  11. List<String> skillDirectories = const [],
  12. List<String> disabledSkills = const [],
  13. ProviderConfig? provider,
  14. ReasoningEffort? reasoningEffort,
  15. String? configDir,
  16. String? workingDirectory,
  17. bool? disableResume,
  18. required PermissionHandler onPermissionRequest,
  19. UserInputHandler? onUserInputRequest,
  20. List<Tool> tools = const [],
  21. 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,
});