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

Function getLogByIndex

src/utils/sessionStorage.ts:4736–4739  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

4734 * @returns Log data or null if not found
4735 */
4736export async function getLogByIndex(index: number): Promise<LogOption | null> {
4737 const logs = await loadMessageLogs()
4738 return logs[index] || null
4739}
4740
4741/**
4742 * Looks up unresolved tool uses in the transcript by tool_use_id.

Callers

nothing calls this directly

Calls 1

loadMessageLogsFunction · 0.85

Tested by

no test coverage detected