(date: Date = new Date())
| 246 | * topic files + MEMORY.md. |
| 247 | */ |
| 248 | export function getAutoMemDailyLogPath(date: Date = new Date()): string { |
| 249 | const yyyy = date.getFullYear().toString() |
| 250 | const mm = (date.getMonth() + 1).toString().padStart(2, '0') |
| 251 | const dd = date.getDate().toString().padStart(2, '0') |
| 252 | return join(getAutoMemPath(), 'logs', yyyy, mm, `${yyyy}-${mm}-${dd}.md`) |
| 253 | } |
| 254 | |
| 255 | /** |
| 256 | * Returns the auto-memory entrypoint (MEMORY.md inside the auto-memory dir). |