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

Method readActive

src/core/session.ts:144–147  ·  view source on GitHub ↗

Read only the active window — entries from the last compact_boundary onward.

()

Source from the content-addressed store, hash-verified

142
143 /** Read only the active window — entries from the last compact_boundary onward. */
144 async readActive(): Promise<SessionEntry[]> {
145 const all = await this.readAll()
146 return getActiveEntries(all)
147 }
148
149 /** Append a pre-built entry directly (used by compaction for boundary/summary). */
150 async appendRaw(entry: SessionEntry): Promise<void> {

Callers

nothing calls this directly

Calls 2

readAllMethod · 0.95
getActiveEntriesFunction · 0.85

Tested by

no test coverage detected