fix(start-work): preserve non-ASCII characters in plan name normalization

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
YeonGyu-Kim
2026-04-08 17:18:23 +09:00
parent 001d29ea8e
commit aa0de17f03
2 changed files with 117 additions and 1 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ function normalizePlanLookupValue(value: string): string {
.replace(/^["'`]+|["'`]+$/g, "")
.toLowerCase()
.replace(/[\s_]+/g, "-")
.replace(/[^a-z0-9-]+/g, "-")
.replace(/[^\p{L}\p{N}-]+/gu, "-")
.replace(/-+/g, "-")
.replace(/^-+|-+$/g, "")
}