mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 18:10:22 +00:00
memory-core: checkpoint session transcript dreaming ingestion
This commit is contained in:
committed by
Vignesh
parent
f0ba7b95da
commit
695176542f
@@ -177,6 +177,13 @@ function isShortTermMemoryPath(filePath: string): boolean {
|
||||
if (/(?:^|\/)memory\/(\d{4})-(\d{2})-(\d{2})\.md$/.test(normalized)) {
|
||||
return true;
|
||||
}
|
||||
if (
|
||||
/(?:^|\/)memory\/\.dreams\/session-corpus\/(\d{4})-(\d{2})-(\d{2})\.(?:md|txt)$/.test(
|
||||
normalized,
|
||||
)
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
return /^(\d{4})-(\d{2})-(\d{2})\.md$/.test(normalized);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user