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