The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
fix(install): accept --locale bn
Md. Kishor Morolbcb23704a88b
diff --git a/scripts/lib/install-manifests.js b/scripts/lib/install-manifests.jsindex bb16cc93c..814b96f7b 100644--- a/scripts/lib/install-manifests.js+++ b/scripts/lib/install-manifests.js@@ -15,7 +15,7 @@ const COMPONENT_FAMILY_PREFIXES = {skill: 'skill:',locale: 'locale:',};-const SUPPORTED_LOCALES = Object.freeze(['ja', 'zh-CN', 'ko-KR', 'pt-BR', 'ru', 'tr', 'vi-VN', 'zh-TW', 'de-DE', 'uk-UA']);+const SUPPORTED_LOCALES = Object.freeze(['ja', 'zh-CN', 'ko-KR', 'pt-BR', 'ru', 'tr', 'vi-VN', 'zh-TW', 'de-DE', 'uk-UA', 'bn']);const LOCALE_ALIAS_TO_COMPONENT_ID = Object.freeze({'ja': 'locale:ja','ja-JP': 'locale:ja',@@ -33,7 +33,9 @@ const LOCALE_ALIAS_TO_COMPONENT_ID = Object.freeze({'de-DE': 'locale:de-de','de': 'locale:de-de','uk-UA': 'locale:uk-ua',- 'uk': 'locale:uk-ua'+ 'uk': 'locale:uk-ua',+ 'bn': 'locale:bn',+ 'bn-BD': 'locale:bn'});function listSupportedLocales() {diff --git a/tests/lib/install-manifests.test.js b/tests/lib/install-manifests.test.jsindex cd91e6e3a..fd195e127 100644--- a/tests/lib/install-manifests.test.js+++ b/tests/lib/install-manifests.test.js@@ -130,6 +130,17 @@ function runTests() {}})) passed++; else failed++;+ if (test('every locale component is reachable through --locale', () => {+ const aliased = new Set(Object.values(LOCALE_ALIAS_TO_COMPONENT_ID));++ for (const component of listInstallComponents({ family: 'locale' })) {+ assert.ok(+ aliased.has(component.id),+ `${component.id} has no --locale alias; add it to LOCALE_ALIAS_TO_COMPONENT_ID and SUPPORTED_LOCALES`+ );+ }+ })) passed++; else failed++;+if (test('gets install component details and validates component IDs', () => {const component = getInstallComponent(' lang:typescript ');