feat(mission-control): show running Worker operations in a Running now section
Registry of active verify/merge/rebase/worktree-creation operations in the Worker, GetActiveOperations snapshot + OperationStarted/OperationEnded hub events, and a Running now section in Mission Control with ticking elapsed time. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
488c28a9d5
commit
2dbec543df
@@ -13,6 +13,21 @@ namespace ClaudeDo.Data.Wire;
|
||||
|
||||
public record ActiveTaskDto(string Slot, string TaskId, DateTime StartedAt);
|
||||
|
||||
/// <summary>A Worker operation running right now (verify, merge, rebase, worktree creation).
|
||||
/// <paramref name="Title"/> is the task title, or the list name for a batch verify.</summary>
|
||||
public record RunningOperationDto(
|
||||
string Id, string Kind, string? TaskId, int? TaskNumber, string? ListId, string Title, DateTime StartedAt);
|
||||
|
||||
/// <summary>Stable <see cref="RunningOperationDto.Kind"/> tokens, localized by the UI.</summary>
|
||||
public static class OperationKinds
|
||||
{
|
||||
public const string VerifyMerge = "verify-merge";
|
||||
public const string VerifyBatch = "verify-batch";
|
||||
public const string Merging = "merging";
|
||||
public const string Rebasing = "rebasing";
|
||||
public const string CreatingWorktree = "creating-worktree";
|
||||
}
|
||||
|
||||
public record AppSettingsDto(
|
||||
string DefaultClaudeInstructions,
|
||||
string DefaultModel,
|
||||
|
||||
Reference in New Issue
Block a user