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