More code rip out

This commit is contained in:
Jack Kingsman
2026-02-24 19:11:51 -08:00
parent b1a0456a05
commit 1b76211d53
20 changed files with 70 additions and 533 deletions
+1 -6
View File
@@ -12,7 +12,7 @@ import type { Message, MessagePath } from './types';
export const MAX_CACHED_CONVERSATIONS = 20;
export const MAX_MESSAGES_PER_ENTRY = 200;
export interface CacheEntry {
interface CacheEntry {
messages: Message[];
seenContent: Set<string>;
hasOlderMessages: boolean;
@@ -139,8 +139,3 @@ export function remove(id: string): void {
export function clear(): void {
cache.clear();
}
/** Get current cache size (for testing). */
export function size(): number {
return cache.size;
}