import { usePersonaStore, getMoodEmoji } from '@/store/personaStore';
import type { Mood } from '@/types/persona';

const MOOD_LABEL: Record<Mood, string> = {
  happy: '心情愉快',
  thoughtful: '正在思考',
  worried: '有点担心你',
  playful: '想逗你玩',
  nostalgic: '有些怀旧',
};

export function MoodIndicator() {
  const { mood } = usePersonaStore();
  const emoji = getMoodEmoji(mood);
  const label = MOOD_LABEL[mood] || mood;

  return (
    <div className="flex items-center gap-1 text-xs text-gray-400">
      <span>{emoji}</span>
      <span>{label}</span>
    </div>
  );
}
