fix(zwsp): strip zero-width chars in start-work-hook

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 13:01:51 +09:00
parent 3724093618
commit 317e2c6465
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ const AGENT_LIST_SORT_PREFIXES: Record<string, string> = {
atlas: "\u200B\u200B\u200B\u200B",
}
function stripAgentListSortPrefix(agentName: string): string {
export function stripAgentListSortPrefix(agentName: string): string {
return agentName.replace(/^\u200B+/, "")
}