auto-sync: 2026-05-21 20:46:22
This commit is contained in:
@@ -27,7 +27,7 @@ const VALID_TRANSITIONS: Record<string, string[]> = {
|
||||
pending: ['claimed', 'paused', 'cancelled'],
|
||||
claimed: ['working', 'pending', 'paused', 'cancelled'],
|
||||
working: ['review', 'blocked', 'failed', 'paused', 'escalated', 'waiting_human', 'cancelled'],
|
||||
paused: ['pending', 'cancelled'],
|
||||
paused: ['working', 'cancelled'],
|
||||
review: ['done', 'pending', 'failed', 'paused', 'escalated', 'waiting_human', 'cancelled'],
|
||||
escalated: ['working', 'pending', 'paused', 'cancelled'],
|
||||
waiting_human: ['working', 'done', 'paused', 'cancelled'],
|
||||
@@ -117,7 +117,7 @@ function StatusButtons({ status, taskId, onAction }: { status: string; taskId: s
|
||||
{ target: 'cancelled', label: '取消', icon: '🚫', bg: '#6b728022', color: '#6b7280', border: '#6b728044' },
|
||||
],
|
||||
paused: [
|
||||
{ target: 'pending', label: '恢复', icon: '▶', bg: '#2ecc8a22', color: '#2ecc8a', border: '#2ecc8a44' },
|
||||
{ target: 'working', label: '恢复', icon: '▶', bg: '#2ecc8a22', color: '#2ecc8a', border: '#2ecc8a44' },
|
||||
{ target: 'cancelled', label: '取消', icon: '🚫', bg: '#6b728022', color: '#6b7280', border: '#6b728044' },
|
||||
],
|
||||
review: [
|
||||
|
||||
Reference in New Issue
Block a user