Table of Contents

Namespace JD.AI.Core.Events

Classes

EventBusOptions

Configuration options for the event bus infrastructure.

EventBusServiceExtensions

Extension methods for registering event bus services.

GatewayEvent

Represents a platform event raised by agents, channels, or the gateway.

InMemoryEventBus

In-memory ring-buffer event bus that also serves as the audit log. All events published are retained up to capacity entries and can be retrieved via GetEvents() for the Dashboard Logs page.

InProcessEventBus

In-process event bus backed by Channel<T>. Suitable for single-process gateway; replace with a distributed implementation (Redis Pub/Sub, Azure Service Bus, etc.) for multi-node.

RedisEventBus

Distributed event bus backed by Redis Pub/Sub. Publishes events to a Redis channel so all connected nodes receive them; local subscriptions are dispatched in-process.

ToolAuditEntry

Audit entry emitted via IEventBus for every tool execution decision made by the permission evaluator. Stored in the in-memory event ring buffer and surfaced in the Dashboard Logs page.

Interfaces

IEventBus

Publish/subscribe event bus for cross-cutting gateway events.