MCPcopy Create free account
hub / github.com/Noumena-Network/code / resetGetMemoryFilesCache

Function resetGetMemoryFilesCache

src/utils/claudemd.ts:1288–1294  ·  view source on GitHub ↗
(
  reason: InstructionsLoadReason = 'session_start',
)

Source from the content-addressed store, hash-verified

1286}
1287
1288export function resetGetMemoryFilesCache(
1289 reason: InstructionsLoadReason = 'session_start',
1290): void {
1291 nextEagerLoadReason = reason
1292 shouldFireHook = true
1293 clearMemoryFileCaches()
1294}
1295
1296export function getLargeMemoryFiles(files: MemoryFileInfo[]): MemoryFileInfo[] {
1297 return files.filter(f => f.content.length > MAX_MEMORY_CHARACTER_COUNT)

Callers 2

clearSessionCachesFunction · 0.85
runPostCompactCleanupFunction · 0.85

Calls 1

clearMemoryFileCachesFunction · 0.70

Tested by

no test coverage detected