feat(data): session skills entity, repository, and migration

This commit is contained in:
Mika Kuns
2026-07-23 16:47:14 +02:00
committed by mika kuns
parent dbaefe92c6
commit 54cdaf89d5
15 changed files with 1234 additions and 0 deletions
@@ -27,4 +27,7 @@ public sealed class AppSettingsEntity
// Max number of open tasks the daily prep ("Prime Claude") may place in MyDay.
public int DailyPrepMaxTasks { get; set; } = 5;
// JSON array of session skill names applied by default to new tasks.
public string? SessionSkills { get; set; }
}
@@ -7,6 +7,7 @@ public sealed class ListConfigEntity
public string? SystemPrompt { get; set; }
public string? AgentPath { get; set; }
public int? MaxTurns { get; set; }
public string? SessionSkills { get; set; }
// Navigation property
public ListEntity List { get; set; } = null!;
@@ -0,0 +1,11 @@
namespace ClaudeDo.Data.Models;
public sealed class SessionSkillEntity
{
public required string Name { get; init; }
public required string SourceUrl { get; set; }
public required string PinnedRef { get; set; }
public required string Subpath { get; set; }
public required string Description { get; set; }
public required DateTimeOffset AddedAt { get; set; }
}
+1
View File
@@ -45,6 +45,7 @@ public sealed class TaskEntity
public bool IsMyDay { get; set; }
public string? Notes { get; set; }
public int SortOrder { get; set; }
public string? SessionSkills { get; set; }
public string? ParentTaskId { get; set; }
public string? PlanningSessionId { get; set; }