import { Blobatar } from '@blobatar/react' import type { Expression, Palette } from 'blobatar' import { happy, idle, sad, shy, sleepy, smug, surprised, thinking, unsure, wink } from 'blobatar/expression' import { cn } from '@/client/lib/cn' import { AGENT_THEMES, DEFAULT_WORKSPACE_THEME } from '@/lib/themes' import type { AgentTheme } from '@/lib/types' const AGENT_BLOBATAR_SEED = 'moi-agent' type AgentBlobatarColor = 'primary' | 'secondary' | 'default' export type AgentBlobatarExpression = | 'idle' | 'happy' | 'sad' | 'surprised' | 'wink' | 'sleepy' | 'smug' | 'unsure' | 'shy' | 'thinking' const AGENT_PALETTES = { default: { head: 'var(--foreground)', eye: 'var(--background)' }, primary: { head: 'var(--primary)', eye: 'var(--primary-foreground)' }, secondary: { head: 'var(--accent)', eye: 'var(--accent-foreground)' } } satisfies Record const AGENT_EXPRESSIONS = { idle, happy, sad, surprised, wink, sleepy, smug, unsure, shy, thinking } satisfies Record type AgentBlobatarProps = { size?: number preset?: AgentTheme animated?: boolean color?: AgentBlobatarColor expression?: AgentBlobatarExpression className?: string } function AgentBlobatar({ size = 56, preset = DEFAULT_WORKSPACE_THEME.agent, animated = false, color = 'default', expression = 'idle', className }: AgentBlobatarProps) { return ( ) } export { AgentBlobatar }