Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(i18n): detect halfwidth Katakana as Japanese

Toyo Sagacf2f93e658f1
diff --git a/scripts/i18n-find-english.ts b/scripts/i18n-find-english.ts
index 3ea1d90555..4e543f982a 100644
--- a/scripts/i18n-find-english.ts
+++ b/scripts/i18n-find-english.ts
@@ -40,7 +40,7 @@ const NATIVE_SCRIPT: Record<string, RegExp> = {
bn: /[ঀ-৿]/,
ar: /[؀-ۿݐ-ݿࢠ-ࣿﭐ-﷿ﹰ-]/,
ru: /[Ѐ-ӿ]/,
- ja: /[\u3040-\u30ff\u3400-\u9fff]/,
+ ja: /[\u3040-\u30ff\u3400-\u9fff\uff66-\uff9f]/,
ko: /[가-힯ᄀ-ᇿ㄰-㆏]/,
};