feat(subagent): resume failed or cancelled delegates (#13015)

This commit is contained in:
Lifei Zhou
2026-10-20 23:24:45 +00:00
committed by GitHub
parent 9920efa16d
commit e0cf7a4ff7
7 changed files with 607 additions and 164 deletions
@@ -695,6 +695,9 @@ function ToolCallView({
return `capturing screen`;
case 'delegate': {
if (args.resume) {
return `resuming subagent ${getStringValue(args.resume)}`;
}
if (args.instructions) {
const instr = getStringValue(args.instructions);
const truncated = instr.length > 80 ? instr.substring(0, 80) + '…' : instr;