import { HistoryManager } from "./base"; export class DummyHistoryManager implements HistoryManager { constructor() {} async addHistory( memoryId: string, previousValue: string | null, newValue: string | null, action: string, createdAt?: string, updatedAt?: string, isDeleted: number = 0, userId?: string, runId?: string, messageId?: string, happenedAt?: string, ): Promise { return; } async getHistory(memoryId: string, options?: { userId?: string, runId?: string }): Promise { return []; } async getAllMessages(options?: { userId?: string, runId?: string, limit?: number }): Promise { return []; } async getMessageContext( messageId: string, options: { beforeCount?: number; afterCount?: number; userId?: string; runId?: string; } ): Promise { return []; } async reset(): Promise { return; } // Entity management methods (dummy implementations) async addEntity( entityId: string, label: string, type: string, userId?: string, runId?: string, ): Promise { return; } async updateEntity( entityId: string, label: string, type: string, userId?: string, runId?: string, ): Promise { return; } async deleteEntity(entityId: string): Promise { return; } async getEntity(entityId: string): Promise { return null; } async getAllEntities(options?: { userId?: string, runId?: string }): Promise { return []; } async associateMemoryWithEntities(memoryId: string, entityIds: string[]): Promise { return; } async getMemoryEntities(memoryId: string): Promise { return []; } async getMessageDetails(memoryId: string): Promise { return []; } async getMessageConversationContext(memoryId: string): Promise { return []; } async storeRawMessages( messages: any[], metadata: { userId?: string; runId?: string; messageId: string; batchInfo?: any; } ): Promise { return; } async searchMessages( query: string, options?: { userId?: string; runId?: string; limit?: number; timeRange?: { start?: string; end?: string }; } ): Promise { return []; } async getMessagesByPattern( messageIdPattern: string, options?: { userId?: string; runId?: string; exact?: boolean; } ): Promise { return []; } close(): void { return; } }