auto-sync: 2026-05-21 14:13:44

This commit is contained in:
cfdaily
2026-05-21 14:13:44 +08:00
parent 50d0cdb867
commit 218ad3d82c
@@ -103,6 +103,7 @@ function StatusButtons({ status, taskId, onAction }: { status: string; taskId: s
// AI Native:只显示人需要做的动作
const PRIMARY_ACTIONS: Record<string, Array<{ target: string; label: string; icon: string; bg: string; color: string; border: string }>> = {
pending: [{ target: 'cancelled', label: '取消任务', icon: '🚫', bg: '#6b728022', color: '#6b7280', border: '#6b728044' }],
working: [{ target: 'paused', label: '暂停任务', icon: '⏸', bg: '#818cf822', color: '#818cf8', border: '#818cf844' }],
waiting_human: [
{ target: 'done', label: '确认完成', icon: '✅', bg: '#2ecc8a22', color: '#2ecc8a', border: '#2ecc8a44' },