MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / formatMemoryManifest

Function formatMemoryManifest

source code/memdir/memoryScan.ts:86–96  ·  view source on GitHub ↗
(memories: MemoryHeader[])

Source from the content-addressed store, hash-verified

84 * selector prompt and the extraction-agent prompt.
85 */
86export function formatMemoryManifest(memories: MemoryHeader[]): string {
87 return memories
88 .map(m => {
89 const tag = m.type ? `[${m.type}] ` : ''
90 const ts = new Date(m.mtimeMs).toISOString()
91 return m.description
92 ? `- ${tag}${m.filename} (${ts}): ${m.description}`
93 : `- ${tag}${m.filename} (${ts})`
94 })
95 .join('\n')
96}

Callers 2

runExtractionFunction · 0.85
selectRelevantMemoriesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected