MCPcopy Index your code
hub / github.com/codeaashu/claude-code / loadAllProjectsMessageLogs

Function loadAllProjectsMessageLogs

src/utils/sessionStorage.ts:3963–3976  ·  view source on GitHub ↗
(
  limit?: number,
  options?: { skipIndex?: boolean; initialEnrichCount?: number },
)

Source from the content-addressed store, hash-verified

3961 * @returns List of message logs sorted by date
3962 */
3963export async function loadAllProjectsMessageLogs(
3964 limit?: number,
3965 options?: { skipIndex?: boolean; initialEnrichCount?: number },
3966): Promise<LogOption[]> {
3967 if (options?.skipIndex) {
3968 // Load all sessions with full message data (e.g. for /insights analysis)
3969 return loadAllProjectsMessageLogsFull(limit)
3970 }
3971 const result = await loadAllProjectsMessageLogsProgressive(
3972 limit,
3973 options?.initialEnrichCount ?? INITIAL_ENRICH_COUNT,
3974 )
3975 return result.logs
3976}
3977
3978async function loadAllProjectsMessageLogsFull(
3979 limit?: number,

Callers 1

ResumeCommandFunction · 0.85

Tested by

no test coverage detected