feat(worker): report activity models and reader interface
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
namespace ClaudeDo.Worker.Report.Interfaces;
|
||||
|
||||
public interface IClaudeHistoryReader
|
||||
{
|
||||
Task<IReadOnlyList<RepoActivity>> ReadAsync(
|
||||
DateOnly start,
|
||||
DateOnly end,
|
||||
IReadOnlyList<string> excludedPrefixes,
|
||||
CancellationToken ct = default);
|
||||
}
|
||||
14
src/ClaudeDo.Worker/Report/ReportModels.cs
Normal file
14
src/ClaudeDo.Worker/Report/ReportModels.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace ClaudeDo.Worker.Report;
|
||||
|
||||
public sealed class DayActivity
|
||||
{
|
||||
public DateOnly Date { get; init; }
|
||||
public List<string> Prompts { get; } = new();
|
||||
public List<string> Summaries { get; } = new();
|
||||
}
|
||||
|
||||
public sealed class RepoActivity
|
||||
{
|
||||
public required string RepoPath { get; init; }
|
||||
public List<DayActivity> Days { get; } = new();
|
||||
}
|
||||
Reference in New Issue
Block a user