// src/memory-projection-format.ts
function normalizeProjectionPreview(content, maxChars = 180) {
  return content.replace(/\s+/g, " ").trim().slice(0, maxChars);
}
function normalizeProjectionTags(tags) {
  return [...new Set(
    (tags ?? []).map((value) => value.trim()).filter((value) => value.length > 0)
  )].sort();
}

export {
  normalizeProjectionPreview,
  normalizeProjectionTags
};
//# sourceMappingURL=chunk-SCU65EZI.js.map