feat: ship agent-first mission control v0.2.57
This commit is contained in:
@@ -140,9 +140,12 @@ public sealed class TaskBridgeService(
|
||||
|
||||
await activityRepo.AddAsync(ev, ct);
|
||||
|
||||
// Trigger live update so the board refreshes
|
||||
var board = await taskService.GetBoardAsync(ct);
|
||||
liveUpdateService.Publish("tasks.board.snapshot", board);
|
||||
// Keep the legacy dashboard stream as an invalidation adapter without
|
||||
// rebuilding every task and activity row in this mutation request.
|
||||
liveUpdateService.Publish(
|
||||
"tasks.board.snapshot",
|
||||
new { taskId },
|
||||
"board");
|
||||
|
||||
return Success(ev);
|
||||
}
|
||||
@@ -260,5 +263,6 @@ public sealed class TaskBridgeService(
|
||||
private static DashboardTaskDto MapToDto(WorkTask t) => new(
|
||||
t.Id, t.Title, t.Detail, t.Source, t.State, t.Priority, t.AssignedTo,
|
||||
t.ParentTaskId, t.DueDate, t.CreatedAt, t.UpdatedAt,
|
||||
t.IsAgentTask, t.ExpectedFrom);
|
||||
t.IsAgentTask, t.ExpectedFrom,
|
||||
ProjectId: t.ProjectId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user