MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / projectTitle

Function projectTitle

src/context/memory-mirror.ts:49–52  ·  view source on GitHub ↗
(cwd: string)

Source from the content-addressed store, hash-verified

47}
48
49function projectTitle(cwd: string): string {
50 try { return getSessionStore().getProject(cwd)?.name || path.basename(cwd); }
51 catch { return path.basename(cwd); }
52}
53
54/** DB → MD: regenerate both memory files from the store. Best-effort; never throws. */
55export async function exportMemory(cwd: string): Promise<{ user: string; project: string }> {

Callers 1

exportMemoryFunction · 0.85

Calls 2

getSessionStoreFunction · 0.85
getProjectMethod · 0.80

Tested by

no test coverage detected