Retain native task identity across partial progress notifications
This commit is contained in:
@@ -58,7 +58,9 @@ func (h *host) trackTasksLocked(line []byte) {
|
||||
delete(h.taskOrigins, fallback)
|
||||
}
|
||||
}
|
||||
h.tasks[id] = event.TaskID
|
||||
if _, exists := h.tasks[id]; !exists || event.TaskID != "" {
|
||||
h.tasks[id] = event.TaskID
|
||||
}
|
||||
origin := h.taskOrigins[id]
|
||||
if event.ToolUseID != "" {
|
||||
origin.ToolUseID = event.ToolUseID
|
||||
|
||||
Reference in New Issue
Block a user