auto-sync: 2026-05-20 10:24:06

This commit is contained in:
cfdaily
2026-05-20 10:24:06 +08:00
parent 88c59236e8
commit 7ed2e9010b
+7
View File
@@ -87,6 +87,13 @@ export function isEdict(t: Task): boolean {
}
// STATE_LABEL kept for backward compat (7 refs)
export const STATE_LABEL: Record<string, string> = {
created: '新建', planning: '规划中', challenging: '审核中',
assigned: '已派发', executing: '执行中', paused: '已暂停',
cancelling: '取消中', pausing: '暂停中',
reviewing: '验收中', completed: '已完成', failed: '已失败',
cancelled: '已取消', escalated: '已升级',
};
export function isArchived(t: Task): boolean {
return !!t.archived;