import {
  LUMENFLOW_MEMORY_PATHS
} from "./chunk-4N74J3UT.js";

// ../memory/dist/fs-utils.js
import fs from "fs/promises";
import path from "path";
async function ensureMemoryDir(baseDir) {
  const memoryDir = path.join(baseDir, LUMENFLOW_MEMORY_PATHS.MEMORY_DIR);
  await fs.mkdir(memoryDir, { recursive: true });
  return memoryDir;
}

export {
  ensureMemoryDir
};
