mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-04 10:48:20 +00:00
Preserve unfinished model operations across repeated project switches, retain truncated graph metadata for file and folder scopes, and give each browser hand test a fresh profile directory without deleting existing data. Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
8 lines
231 B
JavaScript
8 lines
231 B
JavaScript
import { mkdir, mkdtemp } from 'node:fs/promises';
|
|
import { join } from 'node:path';
|
|
|
|
export async function prepareHandtestProfile(parent) {
|
|
await mkdir(parent, { recursive: true });
|
|
return mkdtemp(join(parent, 'run-'));
|
|
}
|