fix(ui): fix regex bug in agent creation name sanitization replacing Korean chars v2.80.5

This commit is contained in:
2026-05-06 14:36:33 +09:00
parent 4b649194aa
commit 16640209fd
8 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -1741,7 +1741,7 @@ export class SidebarChatProvider implements vscode.WebviewViewProvider, BridgeIn
});
if (!name) return;
const safeName = name.trim().replace(/[^a-zA-Z0-9_\\-\\u3131-\\uD79D]/g, '_');
const safeName = name.trim().replace(/[^a-zA-Z0-9_\-\u3131-\uD79D가-힣]/g, '_');
if (!safeName) return;
const dir = this._getAgentsDir();