()
| 1766 | } |
| 1767 | |
| 1768 | export function recordFirstStartTime(): void { |
| 1769 | const config = getGlobalConfig() |
| 1770 | if (!config.firstStartTime) { |
| 1771 | const firstStartTime = new Date().toISOString() |
| 1772 | saveGlobalConfig(current => ({ |
| 1773 | ...current, |
| 1774 | firstStartTime: current.firstStartTime ?? firstStartTime, |
| 1775 | })) |
| 1776 | } |
| 1777 | } |
| 1778 | |
| 1779 | export function getMemoryPath(memoryType: MemoryType): string { |
| 1780 | const cwd = getOriginalCwd() |
no test coverage detected