@extends('layouts.app') @section('content')

Connection Debug

Create Mediator
@if (empty($rows) || collect($rows)->isEmpty())
No matching entries.
@else
@php $hasAny=false; @endphp @foreach ($rows as $r) @php $configured = $r['external_config']; $statusBadge = $configured ? 'Active' : 'Not configured'; $hasAny = $hasAny || $configured; @endphp @endforeach
Agent ID Agent Agent DID Mediator External Endpoint did:web Alias did:web URL Status
{{ $r['agent_id'] }} {{ $r['agent_name'] ?? ('Agent #'.$r['agent_id']) }} {{ $r['agent_did'] }} @if($r['mediator_state'])
State: {{ ucfirst(str_replace('_',' ', $r['mediator_state'])) }}
@endif @if($r['mediator_endpoint'])
{{ $r['mediator_endpoint'] }}
@endif
{{ $r['external_endpoint'] ?? '—' }} {{ $r['did_web_alias'] }} {{ $r['did_web_url'] }} @if($r['did_web_reachable'])
reachable
@else
not reachable
@endif
{!! $statusBadge !!}
@if(! $hasAny)
No matching entries.
@endif @endif
@endsection