@if (session('success'))
{{ session('success') }}
@endif
{{ __('Workspace') }}

{{ __('AI Call') }} {{ __('Assistants') }}

{{ __('Voice agents that answer phone calls — configure once, log every call.') }}

{{ __('Total') }}
{{ $counts['all'] }}
{{ __('Live') }}
{{ $counts['live'] }}
{{ __('Drafts') }}
{{ $counts['draft'] }}
{{ __('Paused') }}
{{ $counts['paused'] }}
@forelse ($assistants as $a) @php $isLive = ($a->status === 'live'); $isPaused = ($a->status === 'paused'); $badgeBg = $isLive ? 'bg-wa-mint text-wa-deep' : ($isPaused ? 'bg-accent-amber/15 text-[#7B5A14]' : 'bg-paper-100 text-ink-500'); $badgeDot = $isLive ? 'bg-wa-green' : ($isPaused ? 'bg-accent-amber' : 'bg-paper-300'); @endphp {{-- Assistant Name & Slug --}} {{-- Model & Voice --}} {{-- Tools --}} {{-- Calls 24h --}} {{-- Status Toggle & Actions --}} @empty @endforelse
{{ __('Assistant') }} {{ __('Model & Voice') }} {{ __('Tools') }} {{ __('Calls 24h') }} {{ __('Status & Actions') }}
{{ $a->name }} {{ $a->status }}
/{{ $a->slug }}
{{ $a->ai_model }}
{{ $a->voice_provider }}{{ $a->voice_id ? ' · ' . Str::limit($a->voice_id, 16) : '' }}
{{ $a->tools_count }} {{ \App\Models\AiCallLog::where('assistant_id', $a->id)->where('started_at', '>=', now()->subDay())->count() }}
{{-- On / Off Switch --}} {{-- Edit Button --}} {{-- Duplicate Button --}}
@csrf
{{-- Delete Button --}}
@csrf @method('DELETE')
{{ __('No call assistants yet') }}

{{ __('Configure your first voice AI. The 5-step wizard covers identity, intelligence, tools, voice, and recording in about 3 minutes.') }}

{{ __('Create assistant') }}
{{ __('Showing') }} {{ $assistants->count() }} of {{ $assistants->total() }}
@if ($assistants->hasPages())
{{ $assistants->links() }}
@endif