fix(types): revert task-tool type inference workarounds

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-04-08 13:00:17 +09:00
parent 18771c8d6d
commit 5188df903f
2 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -114,12 +114,12 @@ async function handleUpdate(
const addBlocks = args.addBlocks as string[] | undefined;
if (addBlocks) {
task.blocks = [...new Set([...(task.blocks ?? []), ...addBlocks])];
task.blocks = [...new Set([...task.blocks, ...addBlocks])];
}
const addBlockedBy = args.addBlockedBy as string[] | undefined;
if (addBlockedBy) {
task.blockedBy = [...new Set([...(task.blockedBy ?? []), ...addBlockedBy])];
task.blockedBy = [...new Set([...task.blockedBy, ...addBlockedBy])];
}
if (validatedArgs.metadata !== undefined) {