@cachly-dev/mcp-server 0.5.45 → 0.5.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +206 -25
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +211 -25
package/dist/index.js
CHANGED
|
@@ -507,43 +507,43 @@ function arabicLightStem(word) {
|
|
|
507
507
|
// Keys must be lowercase. CJK values will be bigram-expanded at use time.
|
|
508
508
|
const CROSS_LINGUAL_MAP = new Map([
|
|
509
509
|
// English → all
|
|
510
|
-
['deploy', ['デプロイ', '部署', '배포', 'deployment', 'deploying']],
|
|
511
|
-
['deployment', ['デプロイ', '部署', '배포', 'deploy']],
|
|
510
|
+
['deploy', ['デプロイ', '部署', '배포', 'deployment', 'deploying', 'bereitstellen', 'bereitstellung', 'déployer', 'déploiement', 'desplegar', 'despliegue', 'distribuire', 'distribuzione', 'implantar', 'implantação']],
|
|
511
|
+
['deployment', ['デプロイ', '部署', '배포', 'deploy', 'bereitstellung', 'déploiement', 'despliegue', 'distribuzione', 'implantação']],
|
|
512
512
|
['container', ['コンテナ', '容器', '컨테이너', 'docker']],
|
|
513
513
|
['server', ['サーバー', 'サーバ', '服务器', '서버', 'سيرفر', 'שרת']],
|
|
514
|
-
['database', ['データベース', '数据库', '데이터베이스', 'db', 'قاعدة البيانات']],
|
|
514
|
+
['database', ['データベース', '数据库', '데이터베이스', 'db', 'قاعدة البيانات', 'datenbank', 'base de données', 'base de datos', 'banco de dados']],
|
|
515
515
|
['cache', ['キャッシュ', '缓存', '캐시', 'كاش', 'מטמון']],
|
|
516
|
-
['error', ['エラー', '错误', '오류', 'خطأ', 'שגיאה', 'exception', 'err']],
|
|
516
|
+
['error', ['エラー', '错误', '오류', 'خطأ', 'שגיאה', 'exception', 'err', 'fehler', 'erreur', 'fallo', 'errore', 'erro']],
|
|
517
517
|
['bug', ['バグ', '缺陷', '버그', 'issue', 'defect', 'خلل']],
|
|
518
|
-
['fix', ['修正', '修复', '수정', 'bugfix', 'patch', 'hotfix', 'إصلاح', 'תיקון']],
|
|
519
|
-
['build', ['ビルド', '构建', '빌드', 'بناء', 'בנייה']],
|
|
520
|
-
['test', ['テスト', '测试', '테스트', 'اختبار', 'בדיקה']],
|
|
521
|
-
['auth', ['認証', '认证', '인증', 'authentication', 'login', 'oauth', 'مصادقة', 'אימות']],
|
|
518
|
+
['fix', ['修正', '修复', '수정', 'bugfix', 'patch', 'hotfix', 'إصلاح', 'תיקון', 'beheben', 'behoben', 'réparer', 'correction', 'arreglar', 'corrección', 'correggere', 'corrigir']],
|
|
519
|
+
['build', ['ビルド', '构建', '빌드', 'بناء', 'בנייה', 'bauen', 'construire', 'construir', 'costruire']],
|
|
520
|
+
['test', ['テスト', '测试', '테스트', 'اختبار', 'בדיקה', 'testen', 'tester', 'probar', 'testare', 'testar']],
|
|
521
|
+
['auth', ['認証', '认证', '인증', 'authentication', 'login', 'oauth', 'مصادقة', 'אימות', 'authentifizierung', 'authentification', 'autenticación', 'autenticazione', 'autenticação']],
|
|
522
522
|
['kubernetes', ['クベルネテス', 'k8s', 'kube']],
|
|
523
|
-
['network', ['ネットワーク', '网络', '네트워크', 'شبكة', 'רשת']],
|
|
523
|
+
['network', ['ネットワーク', '网络', '네트워크', 'شبكة', 'רשת', 'netzwerk', 'réseau', 'red', 'rete', 'rede']],
|
|
524
524
|
['timeout', ['タイムアウト', '超时', '타임아웃', 'مهلة']],
|
|
525
|
-
['memory', ['メモリ', '内存', '메모리', 'ram', 'ذاكرة', 'זיכרון']],
|
|
526
|
-
['config', ['設定', '配置', '설정', 'configuration', 'settings', 'conf', 'إعدادات', 'הגדרות']],
|
|
527
|
-
['install', ['インストール', '安装', '설치', 'تثبيت', 'התקנה']],
|
|
528
|
-
['update', ['アップデート', '更新', '업데이트', 'upgrade', 'تحديث', 'עדכון']],
|
|
529
|
-
['log', ['ログ', '日志', '로그', 'logging', 'سجل', 'יומן']],
|
|
525
|
+
['memory', ['メモリ', '内存', '메모리', 'ram', 'ذاكرة', 'זיכרון', 'speicher', 'mémoire', 'memoria', 'memória']],
|
|
526
|
+
['config', ['設定', '配置', '설정', 'configuration', 'settings', 'conf', 'إعدادات', 'הגדרות', 'konfiguration', 'einstellungen', 'configuración', 'configurazione', 'configuração']],
|
|
527
|
+
['install', ['インストール', '安装', '설치', 'تثبيت', 'התקנה', 'installieren', 'installer', 'instalar', 'installare']],
|
|
528
|
+
['update', ['アップデート', '更新', '업데이트', 'upgrade', 'تحديث', 'עדכון', 'aktualisieren', 'aktualisierung', 'actualizar', 'aggiornare', 'atualizar']],
|
|
529
|
+
['log', ['ログ', '日志', '로그', 'logging', 'سجل', 'יומן', 'protokoll', 'protokolle', 'journal', 'registro']],
|
|
530
530
|
['port', ['ポート', '端口', '포트', 'منفذ', 'פורט']],
|
|
531
531
|
['file', ['ファイル', '文件', '파일', 'ملف', 'קובץ']],
|
|
532
|
-
['image', ['イメージ', '镜像', '이미지', 'صورة', 'תמונה']],
|
|
532
|
+
['image', ['イメージ', '镜像', '이미지', 'صورة', 'תמונה', 'abbild', 'imagen', 'imagem']],
|
|
533
533
|
['volume', ['ボリューム', '卷', '볼륨']],
|
|
534
534
|
['cluster', ['クラスター', '集群', '클러스터']],
|
|
535
535
|
['node', ['ノード', '节点', '노드']],
|
|
536
|
-
['service', ['サービス', '服务', '서비스', 'svc', 'خدمة', 'שירות']],
|
|
536
|
+
['service', ['サービス', '服务', '서비스', 'svc', 'خدمة', 'שירות', 'dienst', 'servicio', 'servizio', 'serviço']],
|
|
537
537
|
['certificate', ['証明書', '证书', '인증서', 'cert', 'ssl', 'tls', 'شهادة', 'תעודה']],
|
|
538
538
|
['password', ['パスワード', '密码', '비밀번호', 'passwd', 'pwd', 'كلمة المرور', 'סיסמה']],
|
|
539
539
|
['token', ['トークン', '令牌', '토큰', 'jwt', 'secret', 'رمز', 'אסימון']],
|
|
540
540
|
['health', ['ヘルス', '健康', '헬스', 'healthcheck', 'probe', 'صحة']],
|
|
541
541
|
['migration', ['マイグレーション', '迁移', '마이그레이션', 'migrate', 'هجرة']],
|
|
542
|
-
['backup', ['バックアップ', '备份', '백업', 'نسخ احتياطي', 'גיבוי']],
|
|
543
|
-
['monitor', ['モニター', '监控', '모니터링', 'monitoring', 'metrics', 'alert', 'مراقبة', 'ניטור']],
|
|
544
|
-
['performance', ['パフォーマンス', '性能', '성능', 'latency', 'throughput']],
|
|
545
|
-
['connection', ['接続', '连接', '연결', 'conn', 'socket', 'اتصال', 'חיבור']],
|
|
546
|
-
['queue', ['キュー', '队列', '큐', 'طابور']],
|
|
542
|
+
['backup', ['バックアップ', '备份', '백업', 'نسخ احتياطي', 'גיבוי', 'sicherung', 'sauvegarde', 'respaldo', 'cópia de segurança']],
|
|
543
|
+
['monitor', ['モニター', '监控', '모니터링', 'monitoring', 'metrics', 'alert', 'مراقبة', 'ניטור', 'überwachung', 'surveiller', 'monitoreo', 'monitorare', 'monitorar']],
|
|
544
|
+
['performance', ['パフォーマンス', '性能', '성능', 'latency', 'throughput', 'leistung', 'performances', 'rendimiento', 'prestazioni', 'desempenho']],
|
|
545
|
+
['connection', ['接続', '连接', '연결', 'conn', 'socket', 'اتصال', 'חיבור', 'verbindung', 'connexion', 'conexión', 'connessione', 'conexão']],
|
|
546
|
+
['queue', ['キュー', '队列', '큐', 'طابور', 'warteschlange', 'file d\'attente', 'cola', 'coda', 'fila']],
|
|
547
547
|
['redis', ['レディス', '레디스']],
|
|
548
548
|
['nginx', ['エンジンエックス']],
|
|
549
549
|
['linux', ['リナックス', 'لينكس']],
|
|
@@ -556,10 +556,10 @@ const CROSS_LINGUAL_MAP = new Map([
|
|
|
556
556
|
['git', ['version control', 'repo', 'repository', 'commit', 'push', 'pull']],
|
|
557
557
|
['ci', ['pipeline', 'github actions', 'gitlab', 'jenkins', 'build']],
|
|
558
558
|
['cd', ['deploy', 'deployment', 'release']],
|
|
559
|
-
['debug', ['デバッグ', '调试', '디버그', 'debugging', 'breakpoint', 'تصحيح', 'איתור באגים']],
|
|
560
|
-
['crash', ['クラッシュ', '崩溃', '크래시', 'panic', 'segfault', 'انهيار']],
|
|
561
|
-
['restart', ['再起動', '重启', '재시작', 'reboot', 'إعادة تشغيل', 'הפעלה מחדש']],
|
|
562
|
-
['permission', ['権限', '权限', '권한', 'access', 'acl', 'chmod', 'صلاحية', 'הרשאה']],
|
|
559
|
+
['debug', ['デバッグ', '调试', '디버그', 'debugging', 'breakpoint', 'تصحيح', 'איתור באגים', 'debuggen', 'déboguer', 'depurar']],
|
|
560
|
+
['crash', ['クラッシュ', '崩溃', '크래시', 'panic', 'segfault', 'انهيار', 'absturz', 'panne', 'plantage', 'caída', 'falha']],
|
|
561
|
+
['restart', ['再起動', '重启', '재시작', 'reboot', 'إعادة تشغيل', 'הפעלה מחדש', 'neustart', 'redémarrer', 'reiniciar', 'riavviare']],
|
|
562
|
+
['permission', ['権限', '权限', '권한', 'access', 'acl', 'chmod', 'صلاحية', 'הרשאה', 'berechtigung', 'berechtigungen', 'permiso', 'permesso', 'permissão']],
|
|
563
563
|
// Japanese katakana → English
|
|
564
564
|
['デプロイ', ['deploy', 'deployment']],
|
|
565
565
|
['コンテナ', ['container', 'docker']],
|
|
@@ -695,6 +695,187 @@ const CROSS_LINGUAL_MAP = new Map([
|
|
|
695
695
|
['תמונה', ['image']],
|
|
696
696
|
['סיסמה', ['password']],
|
|
697
697
|
['הרשאה', ['permission']],
|
|
698
|
+
// ── European languages → English ─────────────────────────────────────────
|
|
699
|
+
// German (Deutsch) → English
|
|
700
|
+
['fehler', ['error', 'err']],
|
|
701
|
+
['absturz', ['crash', 'panic']],
|
|
702
|
+
['bug', ['bug', 'issue']], // same word, keep for completeness
|
|
703
|
+
['beheben', ['fix', 'bugfix']],
|
|
704
|
+
['behoben', ['fix', 'fixed']],
|
|
705
|
+
['lösung', ['solution', 'fix']],
|
|
706
|
+
['bauen', ['build']],
|
|
707
|
+
['testen', ['test']],
|
|
708
|
+
['authentifizierung', ['auth', 'authentication']],
|
|
709
|
+
['konfiguration', ['config', 'configuration']],
|
|
710
|
+
['einstellungen', ['config', 'settings']],
|
|
711
|
+
['installieren', ['install']],
|
|
712
|
+
['installiert', ['install', 'installed']],
|
|
713
|
+
['aktualisieren', ['update', 'upgrade']],
|
|
714
|
+
['aktualisierung', ['update', 'upgrade']],
|
|
715
|
+
['protokoll', ['log']],
|
|
716
|
+
['protokolle', ['log', 'logs']],
|
|
717
|
+
['abbild', ['image']],
|
|
718
|
+
['knoten', ['node']],
|
|
719
|
+
['dienst', ['service']],
|
|
720
|
+
['sicherung', ['backup']],
|
|
721
|
+
['überwachung', ['monitor', 'monitoring']],
|
|
722
|
+
['verbindung', ['connection', 'conn']],
|
|
723
|
+
['warteschlange', ['queue']],
|
|
724
|
+
['leistung', ['performance']],
|
|
725
|
+
['speicher', ['memory', 'storage']],
|
|
726
|
+
['debuggen', ['debug', 'debugging']],
|
|
727
|
+
['neustart', ['restart', 'reboot']],
|
|
728
|
+
['berechtigung', ['permission', 'access']],
|
|
729
|
+
['berechtigungen', ['permission', 'access', 'acl']],
|
|
730
|
+
['netzwerk', ['network']],
|
|
731
|
+
['datenbank', ['database', 'db']],
|
|
732
|
+
['bereitstellen', ['deploy', 'deployment']],
|
|
733
|
+
['bereitstellung', ['deploy', 'deployment']],
|
|
734
|
+
// 'container' and 'server' are the same in German/French/Spanish/Italian/Portuguese
|
|
735
|
+
['kaputt', ['broken', 'error', 'crash']],
|
|
736
|
+
['funktioniert', ['works', 'working']],
|
|
737
|
+
['geht nicht', ['not working', 'broken', 'error']],
|
|
738
|
+
['schlüssel', ['key', 'token', 'secret']],
|
|
739
|
+
['zertifikat', ['certificate', 'cert', 'ssl', 'tls']],
|
|
740
|
+
['umgebung', ['environment', 'env']],
|
|
741
|
+
['variablen', ['variables', 'env', 'environment']],
|
|
742
|
+
['aufgabe', ['task', 'job']],
|
|
743
|
+
['wartung', ['maintenance']],
|
|
744
|
+
['speicherleck', ['memory leak', 'memory']],
|
|
745
|
+
['schnittstelle', ['interface', 'api']],
|
|
746
|
+
// French (Français) → English
|
|
747
|
+
['erreur', ['error', 'err']],
|
|
748
|
+
['réparer', ['fix']],
|
|
749
|
+
['correction', ['fix', 'bugfix']],
|
|
750
|
+
['construire', ['build']],
|
|
751
|
+
['tester', ['test']],
|
|
752
|
+
['authentification', ['auth', 'authentication']],
|
|
753
|
+
['configuration', ['config', 'configuration']],
|
|
754
|
+
['installer', ['install']],
|
|
755
|
+
['installation', ['install']],
|
|
756
|
+
['mettre', ['update', 'upgrade']],
|
|
757
|
+
['journal', ['log', 'logs']],
|
|
758
|
+
['nœud', ['node']],
|
|
759
|
+
['sauvegarde', ['backup']],
|
|
760
|
+
['surveiller', ['monitor', 'monitoring']],
|
|
761
|
+
['connexion', ['connection']],
|
|
762
|
+
['mémoire', ['memory']],
|
|
763
|
+
['déboguer', ['debug']],
|
|
764
|
+
['redémarrer', ['restart', 'reboot']],
|
|
765
|
+
['réseau', ['network']],
|
|
766
|
+
['base de données', ['database', 'db']],
|
|
767
|
+
['déployer', ['deploy']],
|
|
768
|
+
['déploiement', ['deploy', 'deployment']],
|
|
769
|
+
['clé', ['key', 'token']],
|
|
770
|
+
['certificat', ['certificate', 'cert', 'ssl']],
|
|
771
|
+
['environnement', ['environment', 'env']],
|
|
772
|
+
['panne', ['crash', 'outage', 'failure']],
|
|
773
|
+
['plantage', ['crash', 'panic']],
|
|
774
|
+
['interface', ['interface', 'api']],
|
|
775
|
+
['performances', ['performance']],
|
|
776
|
+
['stockage', ['storage', 'disk']],
|
|
777
|
+
['file attente', ['queue']],
|
|
778
|
+
// Spanish (Español) → English
|
|
779
|
+
['arreglar', ['fix']],
|
|
780
|
+
['corrección', ['fix', 'bugfix']],
|
|
781
|
+
['construir', ['build']],
|
|
782
|
+
['probar', ['test']],
|
|
783
|
+
['autenticación', ['auth', 'authentication']],
|
|
784
|
+
['configuración', ['config', 'configuration']],
|
|
785
|
+
['instalar', ['install']],
|
|
786
|
+
['actualizar', ['update', 'upgrade']],
|
|
787
|
+
['actualización', ['update', 'upgrade']],
|
|
788
|
+
['registro', ['log', 'registry']],
|
|
789
|
+
['nodo', ['node']],
|
|
790
|
+
['servicio', ['service']],
|
|
791
|
+
['contraseña', ['password']],
|
|
792
|
+
['copia de seguridad', ['backup']],
|
|
793
|
+
['respaldo', ['backup']],
|
|
794
|
+
['monitorear', ['monitor']],
|
|
795
|
+
['monitoreo', ['monitoring']],
|
|
796
|
+
['conexión', ['connection']],
|
|
797
|
+
['rendimiento', ['performance']],
|
|
798
|
+
['memoria', ['memory']],
|
|
799
|
+
['depurar', ['debug']],
|
|
800
|
+
['fallo', ['crash', 'failure', 'error']],
|
|
801
|
+
['caída', ['crash', 'outage']],
|
|
802
|
+
['reiniciar', ['restart', 'reboot']],
|
|
803
|
+
['permiso', ['permission']],
|
|
804
|
+
['permisos', ['permission', 'access']],
|
|
805
|
+
['red', ['network']],
|
|
806
|
+
['base de datos', ['database', 'db']],
|
|
807
|
+
['desplegar', ['deploy']],
|
|
808
|
+
['despliegue', ['deploy', 'deployment']],
|
|
809
|
+
['clave', ['key', 'token', 'secret']],
|
|
810
|
+
['certificado', ['certificate', 'cert', 'ssl']],
|
|
811
|
+
['entorno', ['environment', 'env']],
|
|
812
|
+
['cola', ['queue']],
|
|
813
|
+
['interfaz', ['interface', 'api']],
|
|
814
|
+
['imagen', ['image']],
|
|
815
|
+
// Italian (Italiano) → English
|
|
816
|
+
['errore', ['error', 'err']],
|
|
817
|
+
['correggere', ['fix']],
|
|
818
|
+
['costruire', ['build']],
|
|
819
|
+
['testare', ['test']],
|
|
820
|
+
['autenticazione', ['auth', 'authentication']],
|
|
821
|
+
['configurazione', ['config', 'configuration']],
|
|
822
|
+
['installare', ['install']],
|
|
823
|
+
['aggiornare', ['update', 'upgrade']],
|
|
824
|
+
['aggiornamento', ['update', 'upgrade']],
|
|
825
|
+
['registro', ['log']],
|
|
826
|
+
['nodo', ['node']],
|
|
827
|
+
['servizio', ['service']],
|
|
828
|
+
['password', ['password']],
|
|
829
|
+
['backup', ['backup']],
|
|
830
|
+
['monitorare', ['monitor']],
|
|
831
|
+
['connessione', ['connection']],
|
|
832
|
+
['prestazioni', ['performance']],
|
|
833
|
+
['memoria', ['memory']],
|
|
834
|
+
['debug', ['debug']],
|
|
835
|
+
['arresto anomalo', ['crash']],
|
|
836
|
+
['riavviare', ['restart']],
|
|
837
|
+
['permesso', ['permission']],
|
|
838
|
+
['rete', ['network']],
|
|
839
|
+
['database', ['database', 'db']],
|
|
840
|
+
['distribuire', ['deploy']],
|
|
841
|
+
['distribuzione', ['deploy', 'deployment']],
|
|
842
|
+
['chiave', ['key', 'token', 'secret']],
|
|
843
|
+
['certificato', ['certificate', 'cert']],
|
|
844
|
+
['ambiente', ['environment', 'env']],
|
|
845
|
+
['coda', ['queue']],
|
|
846
|
+
['immagine', ['image']],
|
|
847
|
+
// Portuguese (Português) → English
|
|
848
|
+
['erro', ['error', 'err']],
|
|
849
|
+
['corrigir', ['fix']],
|
|
850
|
+
['construir', ['build']],
|
|
851
|
+
['testar', ['test']],
|
|
852
|
+
['autenticação', ['auth', 'authentication']],
|
|
853
|
+
['configuração', ['config', 'configuration']],
|
|
854
|
+
['instalar', ['install']],
|
|
855
|
+
['atualizar', ['update', 'upgrade']],
|
|
856
|
+
['atualização', ['update', 'upgrade']],
|
|
857
|
+
['registro', ['log']],
|
|
858
|
+
['nó', ['node']],
|
|
859
|
+
['serviço', ['service']],
|
|
860
|
+
['senha', ['password']],
|
|
861
|
+
['cópia de segurança', ['backup']],
|
|
862
|
+
['monitorar', ['monitor']],
|
|
863
|
+
['conexão', ['connection']],
|
|
864
|
+
['desempenho', ['performance']],
|
|
865
|
+
['memória', ['memory']],
|
|
866
|
+
['depurar', ['debug']],
|
|
867
|
+
['falha', ['crash', 'failure', 'error']],
|
|
868
|
+
['reiniciar', ['restart']],
|
|
869
|
+
['permissão', ['permission']],
|
|
870
|
+
['rede', ['network']],
|
|
871
|
+
['banco de dados', ['database', 'db']],
|
|
872
|
+
['implantar', ['deploy']],
|
|
873
|
+
['implantação', ['deploy', 'deployment']],
|
|
874
|
+
['chave', ['key', 'token', 'secret']],
|
|
875
|
+
['certificado', ['certificate', 'cert']],
|
|
876
|
+
['ambiente', ['environment', 'env']],
|
|
877
|
+
['fila', ['queue']],
|
|
878
|
+
['imagem', ['image']],
|
|
698
879
|
]);
|
|
699
880
|
/**
|
|
700
881
|
* Expand a token to its cross-lingual synonyms.
|