MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / readAll

Method readAll

src/core/session.ts:241–245  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

239 }
240
241 async readAll(): Promise<SessionEntry[]> {
242 return this.entries.filter(
243 (e) => e.type === 'user' || e.type === 'assistant' || e.type === 'system',
244 )
245 }
246
247 async readActive(): Promise<SessionEntry[]> {
248 return getActiveEntries(await this.readAll())

Callers 1

readActiveMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected