(content: string)
| 218 | * which means we should fall back to legacy compact behavior. |
| 219 | */ |
| 220 | export async function isSessionMemoryEmpty(content: string): Promise<boolean> { |
| 221 | const template = await loadSessionMemoryTemplate() |
| 222 | // Compare trimmed content to detect if it's just the template |
| 223 | return content.trim() === template.trim() |
| 224 | } |
| 225 | |
| 226 | export async function buildSessionMemoryUpdatePrompt( |
| 227 | currentNotes: string, |
no test coverage detected