import type { ClaudeJobStatusApi } from '@/lib/job-status'

export const JOB_STATUS_LABELS: Record<ClaudeJobStatusApi, string> = {
  queued: 'Wacht…',
  claimed: 'Geclaimd…',
  running: 'Bezig…',
  done: 'Klaar',
  failed: 'Mislukt',
  cancelled: 'Geannuleerd',
  skipped: 'Overgeslagen',
}

export const JOB_STATUS_COLORS: Record<ClaudeJobStatusApi, string> = {
  queued: 'bg-status-todo/15 text-status-todo border-status-todo/30',
  claimed: 'bg-status-in-progress/15 text-status-in-progress border-status-in-progress/30',
  running: 'bg-status-in-progress/15 text-status-in-progress border-status-in-progress/30',
  done: 'bg-status-done/15 text-status-done border-status-done/30',
  failed: 'bg-status-blocked/15 text-status-blocked border-status-blocked/30',
  cancelled: 'bg-muted text-muted-foreground border-border',
  skipped: 'bg-muted/50 text-muted-foreground border-border italic',
}

export const JOB_STATUS_ACTIVE = new Set<ClaudeJobStatusApi>(['queued', 'claimed', 'running'])
