()
| 1786 | } |
| 1787 | |
| 1788 | export function recordFirstStartTime(): void { |
| 1789 | const config = getGlobalConfig() |
| 1790 | if (!config.firstStartTime) { |
| 1791 | const firstStartTime = new Date().toISOString() |
| 1792 | saveGlobalConfig(current => ({ |
| 1793 | ...current, |
| 1794 | firstStartTime: current.firstStartTime ?? firstStartTime, |
| 1795 | })) |
| 1796 | } |
| 1797 | } |
| 1798 | |
| 1799 | export function getMemoryPath(memoryType: MemoryType): string { |
| 1800 | const cwd = getOriginalCwd() |
no test coverage detected