From 7ed2e9010b4d0b269e1a5e3294bc214abde2f3c2 Mon Sep 17 00:00:00 2001 From: cfdaily Date: Wed, 20 May 2026 10:24:06 +0800 Subject: [PATCH] auto-sync: 2026-05-20 10:24:06 --- src/frontend/src/store.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/frontend/src/store.ts b/src/frontend/src/store.ts index 1874e06..26195da 100644 --- a/src/frontend/src/store.ts +++ b/src/frontend/src/store.ts @@ -87,6 +87,13 @@ export function isEdict(t: Task): boolean { } // STATE_LABEL kept for backward compat (7 refs) +export const STATE_LABEL: Record = { + created: '新建', planning: '规划中', challenging: '审核中', + assigned: '已派发', executing: '执行中', paused: '已暂停', + cancelling: '取消中', pausing: '暂停中', + reviewing: '验收中', completed: '已完成', failed: '已失败', + cancelled: '已取消', escalated: '已升级', +}; export function isArchived(t: Task): boolean { return !!t.archived;