import { createHash } from 'node:crypto';

//#region ../core/dist/nexus/hash.js
/**
* Canonical project identity hash.
* SHA-256 of absolute path, first 12 hex chars.
* Single source of truth — do not duplicate this function elsewhere.
*/
function generateProjectHash(projectPath) {
	return createHash("sha256").update(projectPath).digest("hex").substring(0, 12);
}

export { generateProjectHash };
//# sourceMappingURL=hash-Cm6yMET4.js.map
