(cwd: string)
| 40 | |
| 41 | /** Where the two mirror files live for a given working directory. */ |
| 42 | export function memoryPaths(cwd: string): { user: string; project: string } { |
| 43 | return { |
| 44 | user: path.join(os.homedir(), '.qodex', 'memory.md'), |
| 45 | project: path.join(cwd, '.qodex', 'MEMORY.md'), |
| 46 | }; |
| 47 | } |
| 48 | |
| 49 | function projectTitle(cwd: string): string { |
| 50 | try { return getSessionStore().getProject(cwd)?.name || path.basename(cwd); } |
no outgoing calls
no test coverage detected