Add explanation rules for catches, editable over MCP
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4086fa3da3
commit
2437880013
37 files changed
+1867
-37
No files matched your search
@@ -50,3 +50,40 @@ public sealed record IpLookupResult(
|
||||
DateTime? LastSeen,
|
||||
IReadOnlyList<CatchItem> Events,
|
||||
int EventsOmitted);
|
||||
|
||||
public sealed record RuleItem(
|
||||
int Id,
|
||||
string Kind,
|
||||
string Pattern,
|
||||
string Text,
|
||||
int Priority,
|
||||
bool Enabled,
|
||||
string? Note,
|
||||
DateTime CreatedAt,
|
||||
DateTime UpdatedAt,
|
||||
string CreatedBy,
|
||||
int? Catches);
|
||||
|
||||
public sealed record RuleListResult(int Count, IReadOnlyList<RuleItem> Rules);
|
||||
|
||||
public sealed record DeleteResult(int Id, bool Deleted);
|
||||
|
||||
public sealed record UnexplainedItem(string Key, int Catches, IReadOnlyList<string> ExamplePaths, string? ExampleUserAgent, DateTime FirstSeen, DateTime LastSeen);
|
||||
|
||||
public sealed record UnexplainedListResult(string Period, string GroupBy, int UnexplainedCatches, int DistinctPaths, IReadOnlyList<UnexplainedItem> Groups, int GroupsOmitted);
|
||||
|
||||
public sealed record ValueCount(string Value, int Catches);
|
||||
|
||||
public sealed record TakeoverItem(int RuleId, string Pattern, string Text, int Priority, int Catches, IReadOnlyList<string> Examples);
|
||||
|
||||
public sealed record RuleTestItem(
|
||||
string Kind,
|
||||
string Pattern,
|
||||
string Period,
|
||||
int MatchedCatches,
|
||||
int MatchedDistinctValues,
|
||||
IReadOnlyList<ValueCount> Examples,
|
||||
int NewlyExplainedCatches,
|
||||
IReadOnlyList<TakeoverItem> TakesOverFrom,
|
||||
int CatchesNoLongerExplained,
|
||||
IReadOnlyList<string> NoLongerExplainedExamples);
|
||||
Reference in new issue
Block a user