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

Function isSessionMemoryEmpty

src/services/SessionMemory/prompts.ts:220–224  ·  view source on GitHub ↗
(content: string)

Source from the content-addressed store, hash-verified

218 * which means we should fall back to legacy compact behavior.
219 */
220export 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
226export async function buildSessionMemoryUpdatePrompt(
227 currentNotes: string,

Callers 1

Calls 1

Tested by

no test coverage detected