import React from 'react' import { AgentIntent, AgentIntentTiles } from './AgentIntentTiles' type Props = { title: string description?: string isAgent?: boolean isPersona?: boolean capabilityLabels?: string[] onPickPrompt: (text: string) => void agentIntent?: AgentIntent | null onAgentIntentChange?: (intent: AgentIntent | null) => void /** Callback to switch to voice mode — shown for persona projects */ onResumeVoice?: () => void } export function ChatEmptyState({ title, description, isAgent, isPersona, capabilityLabels = [], onPickPrompt, agentIntent = null, onAgentIntentChange, onResumeVoice, }: Props) { return (
{title}
{description?.trim() ? description : isAgent ? 'This project is an advanced assistant. Ask normally — it can use available capabilities when needed.' : 'Start a conversation, upload files, or use voice mode.'}
{/* Persona projects: prominent "Continue in Voice" button */} {isPersona && onResumeVoice && (

Or type below to chat via text

)} {isAgent && capabilityLabels.length > 0 ? (
This assistant can:
{capabilityLabels.map((c) => ( {c} ))}
) : null} {isAgent ? ( <> onAgentIntentChange?.(i)} />
{agentIntent ? "Tip: describe your goal in one sentence — I'll route this to the right tools." : 'Pick an intent to get a focused starting point.'}
) : null}
HomePilot can make mistakes. Verify important outputs.
) }