auto-sync: 2026-05-21 23:05:05

This commit is contained in:
cfdaily
2026-05-21 23:05:05 +08:00
parent 2d7df94e99
commit 9425b30451
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ TERMINAL_STATUSES = frozenset() # v3.1: 无终态,全靠 VALID_TRANSITIONS
MANUAL_STATUSES = frozenset({"cancelled", "paused"})
VALID_TRANSITIONS = {
"pending": {"claimed", "paused", "cancelled"},
"pending": {"claimed", "paused", "blocked", "cancelled"},
"claimed": {"working", "paused", "pending", "cancelled"},
"working": {"review", "blocked", "failed", "paused", "escalated", "waiting_human", "cancelled"},
"paused": {"working", "claimed", "review", "escalated", "waiting_human", "cancelled"}, # 恢复到 resumed_from 记录的状态
+1 -1
View File
@@ -24,7 +24,7 @@ const STATUS_META: Record<string, { color: string; label: string }> = {
};
const VALID_TRANSITIONS: Record<string, string[]> = {
pending: ['claimed', 'paused', 'cancelled'],
pending: ['claimed', 'paused', 'blocked', 'cancelled'],
claimed: ['working', 'pending', 'paused', 'cancelled'],
working: ['review', 'blocked', 'failed', 'paused', 'escalated', 'waiting_human', 'cancelled'],
paused: ['working', 'claimed', 'review', 'escalated', 'waiting_human', 'cancelled'],