feat(web+store): needs_attention 任务显示在审核区,附失败原因
- pendingApprovals 扩展到包含 needs_attention,subquery 取最近 executor 失败 error - Task 类型增加 lastRunError 字段,mappers 映射 - 审核区(renderGates)将 needs_attention 渲染为独立橙色卡片, 展示「需人工确认」标签 + 具体失败原因 + 重新排队/取消按钮 - i18n zh/en 补充 attnLabel/attnReason/attnRequeue/attnCancel/toastRequeued Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -76,6 +76,7 @@ export interface Task {
|
||||
assignee: 'agent' | 'human' | null;
|
||||
retryBaseline: number; // 上次手动重投时已有的失败 run 数(重置重试计数用)
|
||||
nextEligibleAt: string | null; // 持久化退避:早于此时间不被领取(重试退避,重启不丢);null=即刻可领
|
||||
lastRunError?: string | null; // needs_attention 时:最近一次失败 run 的错误信息(供审核区展示)
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user