export class HistoryLog {
    events = [];
    add(title, detail) {
        this.events.push({ title, detail });
    }
    asMarkdown() {
        return ['# Session History', '', ...this.events.map(e => `- ${e.title}: ${e.detail}`)].join('\n');
    }
}
