import { DashboardServer } from '@timmeck/brain-core';
import { getEventBus } from '../utils/events.js';
export { DashboardServer };
export const BRAIN_EVENT_NAMES = [
    'error:reported', 'error:resolved', 'solution:applied',
    'solution:created', 'module:registered', 'module:updated',
    'synapse:created', 'synapse:strengthened',
    'insight:created', 'rule:learned',
];
export function createBrainDashboardServer(options) {
    return new DashboardServer({
        ...options,
        eventNames: BRAIN_EVENT_NAMES,
        getEventBus: () => getEventBus(),
    });
}
//# sourceMappingURL=server.js.map