feat(data): add AppSettings entity, migration, and repository
This commit is contained in:
18
src/ClaudeDo.Data/Models/AppSettingsEntity.cs
Normal file
18
src/ClaudeDo.Data/Models/AppSettingsEntity.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace ClaudeDo.Data.Models;
|
||||
|
||||
public sealed class AppSettingsEntity
|
||||
{
|
||||
public const int SingletonId = 1;
|
||||
|
||||
public int Id { get; set; } = SingletonId;
|
||||
|
||||
public string DefaultClaudeInstructions { get; set; } = string.Empty;
|
||||
public string DefaultModel { get; set; } = "sonnet";
|
||||
public int DefaultMaxTurns { get; set; } = 30;
|
||||
public string DefaultPermissionMode { get; set; } = "bypassPermissions";
|
||||
|
||||
public string WorktreeStrategy { get; set; } = "sibling";
|
||||
public string? CentralWorktreeRoot { get; set; }
|
||||
public bool WorktreeAutoCleanupEnabled { get; set; }
|
||||
public int WorktreeAutoCleanupDays { get; set; } = 7;
|
||||
}
|
||||
Reference in New Issue
Block a user