Also fixes WorkerHub.UpdateAppSettings falling back to "bypassPermissions" when AppSettingsEntity and the runtime default are "auto". The fallback now matches the entity default.
12 lines
274 B
C#
12 lines
274 B
C#
namespace ClaudeDo.Data.Models;
|
|
|
|
public static class PermissionModeRegistry
|
|
{
|
|
public static readonly IReadOnlyList<string> Modes = new[]
|
|
{
|
|
"auto", "bypassPermissions", "acceptEdits", "plan", "default",
|
|
};
|
|
|
|
public const string DefaultMode = "auto";
|
|
}
|