feat: choose project or session for text commands

This commit is contained in:
muena
2026-10-19 06:34:07 +02:00
parent 65134735f1
commit ebf78128c4
28 changed files with 386 additions and 641 deletions

View File

@@ -19,7 +19,10 @@ export function normalizePseudonymizeResponse(
for (const [key, entry] of Object.entries(response.mapping)) {
const stripped = key.replace(/[<>]/g, "");
normalizedMapping[`<${stripped}>`] = entry;
normalizedMapping[`<${stripped}>`] = {
...entry,
merged_into: entry.merged_into ? `<${entry.merged_into.replace(/[<>]/g, "")}>` : entry.merged_into,
};
strippedKeys.add(stripped);
}