fix(delegate-task): require anchored text for abort recovery

This commit is contained in:
YeonGyu-Kim
2026-05-11 09:10:47 +09:00
parent e018739d2c
commit 8e47d3a166
3 changed files with 64 additions and 0 deletions
@@ -56,5 +56,12 @@ export async function fetchSyncResult(
}
}
if (!textContent) {
return {
ok: false,
error: `No assistant text output found in completed response.\n\nSession ID: ${sessionID}`,
}
}
return { ok: true, textContent }
}