feat(prime): add PrimeActionKind to the schedule entity
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
namespace ClaudeDo.Data.Models;
|
||||
|
||||
/// <summary>What a Prime schedule actually does when it fires.</summary>
|
||||
public enum PrimeActionKind
|
||||
{
|
||||
/// <summary>One throwaway turn that only opens the usage window. Default for new schedules.</summary>
|
||||
Ping,
|
||||
/// <summary>Run the daily prep prompt and let Claude fill MyDay.</summary>
|
||||
FillMyDay,
|
||||
/// <summary>Run the schedule's own prompt with the ClaudeDo MCP tools available.</summary>
|
||||
Custom
|
||||
}
|
||||
@@ -4,6 +4,7 @@ public sealed class PrimeScheduleEntity
|
||||
{
|
||||
public Guid Id { get; set; } = Guid.NewGuid();
|
||||
public PrimeDays Days { get; set; } = PrimeDays.Weekdays;
|
||||
public PrimeActionKind Kind { get; set; } = PrimeActionKind.Ping;
|
||||
public TimeSpan TimeOfDay { get; set; }
|
||||
public bool Enabled { get; set; } = true;
|
||||
public DateTimeOffset? LastRunAt { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user