MCPcopy Create free account
hub / github.com/Noumena-Network/code / recordFirstStartTime

Function recordFirstStartTime

src/utils/config.ts:1866–1875  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1864}
1865
1866export function recordFirstStartTime(): void {
1867 const config = getGlobalConfig()
1868 if (!config.firstStartTime) {
1869 const firstStartTime = new Date().toISOString()
1870 saveGlobalConfig(current => ({
1871 ...current,
1872 firstStartTime: current.firstStartTime ?? firstStartTime,
1873 }))
1874 }
1875}
1876
1877export function getMemoryPath(memoryType: MemoryType): string {
1878 const cwd = getOriginalCwd()

Callers 1

init.tsFile · 0.85

Calls 2

getGlobalConfigFunction · 0.70
saveGlobalConfigFunction · 0.70

Tested by

no test coverage detected