MCPcopy Create free account
hub / github.com/Noumena-Network/code / isLiteLog

Function isLiteLog

src/utils/sessionStorage.ts:3120–3122  ·  view source on GitHub ↗
(log: LogOption)

Source from the content-addressed store, hash-verified

3118 * Lite logs have messages: [] and sessionId set.
3119 */
3120export function isLiteLog(log: LogOption): boolean {
3121 return log.messages.length === 0 && log.sessionId !== undefined
3122}
3123
3124/**
3125 * Loads full messages for a lite log by reading its JSONL file.

Callers 7

SessionPreviewFunction · 0.85
agenticSessionSearchFunction · 0.85
loadFullLogFunction · 0.85
handleSelectFunction · 0.85
callFunction · 0.85
ensureFullLogFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected