fix(atlas): address review findings for task session reuse

This commit is contained in:
YeonGyu-Kim
2026-03-18 18:44:42 +09:00
parent 33ef4db502
commit 3c7e6a3940
5 changed files with 289 additions and 4 deletions
+2 -2
View File
@@ -160,8 +160,8 @@ export function createToolExecuteAfterHandler(input: {
taskLabel: currentTask.label,
taskTitle: currentTask.title,
sessionId: subagentSessionId,
agent: toolOutput.metadata?.agent as string | undefined,
category: toolOutput.metadata?.category as string | undefined,
agent: typeof toolOutput.metadata?.agent === "string" ? toolOutput.metadata.agent : undefined,
category: typeof toolOutput.metadata?.category === "string" ? toolOutput.metadata.category : undefined,
})
}