auto-sync: 2026-05-21 20:05:59

This commit is contained in:
cfdaily
2026-05-21 20:05:59 +08:00
parent aa06bc0f0b
commit be8001b327
+7 -7
View File
@@ -24,17 +24,17 @@ const STATUS_META: Record<string, { color: string; label: string }> = {
};
const VALID_TRANSITIONS: Record<string, string[]> = {
pending: ['claimed', 'cancelled'],
pending: ['claimed', 'paused', 'cancelled'],
claimed: ['working', 'pending', 'paused', 'cancelled'],
working: ['review', 'blocked', 'failed', 'paused', 'escalated', 'waiting_human', 'cancelled'],
paused: ['working', 'cancelled'],
review: ['done', 'pending', 'failed', 'escalated', 'waiting_human', 'cancelled'],
escalated: ['working', 'pending', 'cancelled'],
waiting_human: ['working', 'done', 'cancelled'],
paused: ['pending', 'cancelled'],
review: ['done', 'pending', 'failed', 'paused', 'escalated', 'waiting_human', 'cancelled'],
escalated: ['working', 'pending', 'paused', 'cancelled'],
waiting_human: ['working', 'done', 'paused', 'cancelled'],
blocked: ['pending', 'escalated', 'cancelled'],
failed: ['pending', 'escalated', 'cancelled'],
done: [],
cancelled: [],
done: ['cancelled'],
cancelled: ['pending'],
};
const PRIORITY_META: Record<number, { color: string; label: string }> = {