Replaces "bypassPermissions" with "auto" as the default for new installs and adds "auto" as the first option in the settings dropdown. Existing rows keep their stored value; ClaudeArgsBuilder still maps the legacy "bypassPermissions" -> "auto" at dispatch time. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
19 lines
640 B
C#
19 lines
640 B
C#
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; } = 100;
|
|
public string DefaultPermissionMode { get; set; } = "auto";
|
|
|
|
public string WorktreeStrategy { get; set; } = "sibling";
|
|
public string? CentralWorktreeRoot { get; set; }
|
|
public bool WorktreeAutoCleanupEnabled { get; set; }
|
|
public int WorktreeAutoCleanupDays { get; set; } = 7;
|
|
}
|