MCPcopy Create free account
hub / github.com/agent-tower/core / constructor

Method constructor

packages/server/src/output/msg-store.ts:61–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59 private baseSnapshot: NormalizedConversation | null = null;
60 readonly entryIndex: EntryIndexProvider;
61 private sessionIdListeners = new Set<(id: string) => void>();
62 private finishedListeners = new Set<() => void>();
63
64 // Incremental snapshot cache: avoid replaying all patches on every getSnapshot() call
65 private cachedSnapshot: NormalizedConversation | null = null;
66 private cachedUpToIndex = -1; // index of last message applied to cachedSnapshot

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected