fix: address Cubic background-agent issues — task status filter, array response handling, error mapping, concurrency key, duration fallback, output validation

This commit is contained in:
YeonGyu-Kim
2026-02-09 11:15:22 +09:00
parent d6fbe7bd8d
commit 247940bf02
6 changed files with 15 additions and 6 deletions
@@ -13,7 +13,7 @@ export async function notifyParentSession(
): Promise<void> {
const { client, state } = ctx
const duration = formatDuration(task.startedAt ?? new Date(), task.completedAt)
const duration = formatDuration(task.startedAt ?? task.completedAt ?? new Date(), task.completedAt)
log("[background-agent] notifyParentSession called for task:", task.id)
const toastManager = getTaskToastManager()