diff --git a/src/features/background-agent/result-handler.ts b/src/features/background-agent/result-handler.ts index fb32f1b8..7569dd5f 100644 --- a/src/features/background-agent/result-handler.ts +++ b/src/features/background-agent/result-handler.ts @@ -189,10 +189,14 @@ ${completedTasks || `- \`${task.id}\`: ${task.description}`} Use \`background_output(task_id="")\` to retrieve each result. ` } else { + const agentInfo = task.category + ? `${task.agent} (${task.category})` + : task.agent notification = ` [BACKGROUND TASK ${statusText}] **ID:** \`${task.id}\` **Description:** ${task.description} +**Agent:** ${agentInfo} **Duration:** ${duration}${errorInfo} **${remainingCount} task${remainingCount === 1 ? "" : "s"} still in progress.** You WILL be notified when ALL complete.