CliConfig constructor

CliConfig({
  1. String providerKind = 'openai-completions',
  2. String modelId = 'openai/gpt-4o-mini',
  3. String baseUrl = 'https://openrouter.ai/api/v1',
  4. String mode = 'code',
  5. String approvalMode = 'yolo',
  6. List<String> allowedTools = const [],
  7. Map<String, String> promptOverrides = const {},
  8. ModelRolesConfig? modelRoles,
  9. TtsrConfig? ttsr,
  10. int? contextWindowCap,
  11. String? agentLoadMode,
  12. List<CustomProviderEntry> customProviders = const [],
  13. ModelsConfig? models,
  14. McpConfig? mcp,
  15. A2aConfig? a2a,
  16. ProviderTimeoutsOverride? providerTimeouts,
  17. SkillsAccess skillsAccess = SkillsAccess.granted,
  18. bool skillsDisableShellExecution = false,
  19. MemoryConfig? memory,
  20. FabricConfig? fabric,
  21. CubeSettings? cube,
  22. ToolsConfig? tools,
  23. RedactionConfig? redact,
  24. SpillsConfig? spills,
  25. CompactionEngine? compactionEngine,
  26. int? compactionJudgeBudgetSeconds,
  27. bool wireDump = false,
  28. ImageRegistryConfig? images,
  29. String? agentMode,
  30. SubagentsConfig subagents = const SubagentsConfig(),
  31. WaitingConfig waiting = const WaitingConfig(),
  32. JobsConfig jobs = const JobsConfig(),
  33. PowerAssertionLevel? powerSleepPrevention,
  34. PowerAssertionHold? powerHold,
  35. String? tuiTheme,
  36. bool tuiClassic = false,
  37. StatusLineConfig? statusLine,
  38. LinksConfig links = const LinksConfig(),
})

Implementation

CliConfig({
  this.providerKind = 'openai-completions',
  this.modelId = 'openai/gpt-4o-mini',
  this.baseUrl = 'https://openrouter.ai/api/v1',
  this.mode = 'code',
  this.approvalMode = 'yolo',
  this.allowedTools = const [],
  this.promptOverrides = const {},
  this.modelRoles,
  this.ttsr,
  this.contextWindowCap,
  this.agentLoadMode,
  this.customProviders = const [],
  this.models,
  this.mcp,
  this.a2a,
  this.providerTimeouts,
  this.skillsAccess = SkillsAccess.granted,
  this.skillsDisableShellExecution = false,
  this.memory,
  this.fabric,
  this.cube,
  this.tools,
  this.redact,
  this.spills,
  this.compactionEngine,
  this.compactionJudgeBudgetSeconds,
  this.wireDump = false,
  this.images,
  this.agentMode,
  this.subagents = const SubagentsConfig(),
  this.waiting = const WaitingConfig(),
  this.jobs = const JobsConfig(),
  this.powerSleepPrevention,
  this.powerHold,
  this.tuiTheme,
  this.tuiClassic = false,
  this.statusLine,
  this.links = const LinksConfig(),
});