import { t as resolveMemoryPathClassification } from "./memory-path-provenance-Bi8mrWVJ.js";
import path from "node:path";
//#region extensions/memory-core/src/workspace-path-classifier.ts
const classifyWorkspaceMemoryPaths = async (params) => await Promise.all(params.relativePaths.map(async (relativePath) => {
	return {
		relativePath,
		originClass: (await resolveMemoryPathClassification({
			absolutePath: path.resolve(params.workspaceDir, relativePath),
			source: "memory",
			workspaceDir: params.workspaceDir
		})).originClass
	};
}));
//#endregion
export { classifyWorkspaceMemoryPaths as t };
