import type { Db } from '@mosaicstack/db';
import { createAgentLogsRepo, type AgentLogsRepo } from './agent-logs.js';

export interface LogService {
  logs: AgentLogsRepo;
}

export function createLogService(db: Db): LogService {
  return {
    logs: createAgentLogsRepo(db),
  };
}
