fcefecd10d
attachRun 的状态轮询此前只更新 lifecycle、不动 phase。token 流没收到 done 的场景 (如恢复的在途任务、或任务被外部置终态)→ phase 永卡 streaming → Studio 运行按钮 永远禁用「运行中…」,看似不能跑新编排。 修复:轮询命中终态(done/failed/timeout/rejected)时把 phase 也置 done/error, 释放运行按钮。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>