@deepseek-ai/dsh-experimental-client-ui-cot-translation 0.2.1-rc.4 → 0.2.2-alpha.2
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/lib/client.js +222 -6
- package/lib/types/client/locales.d.ts +210 -0
- package/locale/de.json +6 -0
- package/locale/es.json +6 -0
- package/locale/fr.json +6 -0
- package/locale/ja.json +6 -0
- package/locale/pt.json +6 -0
- package/locale/ru.json +6 -0
- package/package.json +25 -25
package/lib/client.js
CHANGED
|
@@ -508,7 +508,7 @@ window.__ModuleLoader__.load({
|
|
|
508
508
|
};
|
|
509
509
|
//#endregion
|
|
510
510
|
//#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/experimental/client-ui-cot-translation/src/client/Translation.module.css.mjs
|
|
511
|
-
const css = ".egK6ha_toolbar{flex-wrap:wrap;align-items:center;gap:4px;min-height:28px;margin-bottom:4px;display:flex}.egK6ha_toolbar>.egK6ha_viewToggle{color:var(--dsw-alias-label-tertiary);margin-inline-start:-10px}.egK6ha_toolbar>.egK6ha_viewToggle:
|
|
511
|
+
const css = ".egK6ha_toolbar{flex-wrap:wrap;align-items:center;gap:4px;min-height:28px;margin-bottom:4px;display:flex}.egK6ha_toolbar>.egK6ha_viewToggle{color:var(--dsw-alias-label-tertiary);margin-inline-start:-10px}.egK6ha_toolbar>.egK6ha_viewToggle:active:not(:disabled),.egK6ha_toolbar>.egK6ha_viewToggle:focus-visible:not(:disabled){color:var(--dsw-alias-label-secondary)}@media (hover:hover){.egK6ha_toolbar>.egK6ha_viewToggle:hover:not(:disabled){color:var(--dsw-alias-label-secondary)}}.egK6ha_failure{color:var(--dsw-alias-label-primary);font-size:var(--dsh-content-font-size-secondary,13px)}.egK6ha_field{flex-direction:column;gap:8px;display:flex}.egK6ha_field label{color:var(--dsw-alias-label-primary);font-size:13px}.egK6ha_field select{border:.5px solid var(--dsw-alias-border-l4);border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-base);min-height:32px;color:var(--dsw-alias-label-primary);font:inherit;padding:0 8px}.egK6ha_notice{color:var(--dsw-alias-label-secondary);margin:0;font-size:13px;line-height:20px}.egK6ha_spinner{animation:1s linear infinite egK6ha_cot-translation-spin}@keyframes egK6ha_cot-translation-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.egK6ha_spinner{animation:none}}";
|
|
512
512
|
const tagId = "@deepseek-ai/dsh-experimental-client-ui-cot-translation/Translation.module.css";
|
|
513
513
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
514
514
|
const tag = document.createElement("style");
|
|
@@ -641,11 +641,11 @@ window.__ModuleLoader__.load({
|
|
|
641
641
|
provider: "Translation service",
|
|
642
642
|
google: "Google",
|
|
643
643
|
bing: "Bing",
|
|
644
|
-
deepseekAccount: "DeepSeek Flash —
|
|
645
|
-
deepseekOfficial: "DeepSeek Flash —
|
|
644
|
+
deepseekAccount: "DeepSeek Flash — account (paid)",
|
|
645
|
+
deepseekOfficial: "DeepSeek Flash — official API (paid)",
|
|
646
646
|
providerUnavailableOption: "{provider} — unavailable",
|
|
647
|
-
providerUnavailable: "This provider is unavailable. Configure your DeepSeek account or
|
|
648
|
-
paidNotice: "Each uncached fragment sends a separate paid DeepSeek Flash request through the selected account or
|
|
647
|
+
providerUnavailable: "This provider is unavailable. Configure your DeepSeek account or official API provider, or choose an available service.",
|
|
648
|
+
paidNotice: "Each uncached fragment sends a separate paid DeepSeek Flash request through the selected account or official API credentials. Reopening reasoning reuses saved results; changing the provider, language, source text, or request settings may send a new paid request.",
|
|
649
649
|
anonymousNotice: "Bing and Google need no translation login or API key. Their anonymous endpoints may reject or limit requests.",
|
|
650
650
|
targetLanguage: "Target language",
|
|
651
651
|
targetLanguageHint: "auto follows the UI language; language codes such as zh, en, and ja also work.",
|
|
@@ -720,6 +720,216 @@ window.__ModuleLoader__.load({
|
|
|
720
720
|
saving: t("saving")
|
|
721
721
|
};
|
|
722
722
|
}
|
|
723
|
+
/** Japanese copy, checked against the English keys. */
|
|
724
|
+
const ja = {
|
|
725
|
+
"provider": "翻訳サービス",
|
|
726
|
+
"google": "Google",
|
|
727
|
+
"bing": "Bing",
|
|
728
|
+
"deepseekAccount": "DeepSeek Flash — アカウント (有料)",
|
|
729
|
+
"deepseekOfficial": "DeepSeek Flash — 公式 API (有料)",
|
|
730
|
+
"providerUnavailableOption": "{provider} — 利用不可",
|
|
731
|
+
"providerUnavailable": "このプロバイダーは利用できません。DeepSeek アカウントまたは公式 API プロバイダーを設定するか、利用可能なサービスを選択してください。",
|
|
732
|
+
"paidNotice": "キャッシュされていないフラグメントごとに、選択したアカウントまたは公式 API の認証情報を通じて、個別の有料 DeepSeek Flash リクエストが送信されます。推論を再度開くと保存済みの結果が再利用されますが、プロバイダー、言語、ソーステキスト、またはリクエスト設定を変更すると、新たな有料リクエストが送信される場合があります。",
|
|
733
|
+
"anonymousNotice": "Bing と Google は翻訳のログインや API キーが不要です。これらの匿名エンドポイントはリクエストを拒否したり制限したりする場合があります。",
|
|
734
|
+
"targetLanguage": "翻訳先の言語",
|
|
735
|
+
"targetLanguageHint": "auto は UI の言語に従います。zh、en、ja などの言語コードも使用できます。",
|
|
736
|
+
"privacy": "展開された推論は選択したサービスに送信されます。非公開のコードや会話の詳細が含まれている可能性があります。",
|
|
737
|
+
"translation": "翻訳を表示",
|
|
738
|
+
"original": "原文を表示",
|
|
739
|
+
"retry": "再試行",
|
|
740
|
+
"failed": "翻訳に失敗しました。原文を表示しています。",
|
|
741
|
+
"translating": "推論を翻訳中",
|
|
742
|
+
"invalidProvider": "翻訳サービスを選択してください。",
|
|
743
|
+
"invalidLanguage": "auto または zh、en、ja などの言語コードを入力してください。",
|
|
744
|
+
"overridden": "上書き済み",
|
|
745
|
+
"reset": "デフォルトに戻す",
|
|
746
|
+
"unavailable": "翻訳設定を利用できません。",
|
|
747
|
+
"readOnly": "このデプロイでは設定は読み取り専用で保存されます。",
|
|
748
|
+
"saveFailed": "このデプロイでは値が受け入れられませんでした。修正のために値はそのまま残されています。",
|
|
749
|
+
"save": "保存",
|
|
750
|
+
"saving": "保存中…",
|
|
751
|
+
"copy": "コピー",
|
|
752
|
+
"copied": "コピーしました",
|
|
753
|
+
"codeTitle": "コードブロック",
|
|
754
|
+
"wrap": "折り返し",
|
|
755
|
+
"unwrap": "折り返しを解除",
|
|
756
|
+
"footnotes": "脚注"
|
|
757
|
+
};
|
|
758
|
+
/** Spanish dictionary, checked against the English keys. */
|
|
759
|
+
const es = {
|
|
760
|
+
provider: "Servicio de traducción",
|
|
761
|
+
google: "google",
|
|
762
|
+
bing: "Bing",
|
|
763
|
+
deepseekAccount: "DeepSeek Flash — cuenta (pago)",
|
|
764
|
+
deepseekOfficial: "Flash DeepSeek: API oficial (de pago)",
|
|
765
|
+
providerUnavailableOption: "{provider} — no disponible",
|
|
766
|
+
providerUnavailable: "Este proveedor no está disponible. Configura tu cuenta DeepSeek o proveedor oficial de API, o elige un servicio disponible.",
|
|
767
|
+
paidNotice: "Cada fragmento no almacenado en caché envía una solicitud Flash DeepSeek paga por separado a través de la cuenta seleccionada o las credenciales oficiales de API. El razonamiento de reapertura reutiliza los resultados guardados; cambiar el proveedor, el idioma, el texto fuente o la configuración de la solicitud puede enviar una nueva solicitud paga.",
|
|
768
|
+
anonymousNotice: "Bing y Google no necesitan inicio de sesión de traducción ni clave API. Sus puntos finales anónimos pueden rechazar o limitar solicitudes.",
|
|
769
|
+
targetLanguage: "Idioma de destino",
|
|
770
|
+
targetLanguageHint: "auto sigue el idioma de la interfaz de usuario; Los códigos de idioma como zh, en y ja también funcionan.",
|
|
771
|
+
privacy: "Se envía el razonamiento ampliado al servicio seleccionado. Puede contener código privado o detalles de la conversación.",
|
|
772
|
+
translation: "Ver traducción",
|
|
773
|
+
original: "Ver original",
|
|
774
|
+
retry: "Reintentar",
|
|
775
|
+
failed: "La traducción falló. Mostrando el original.",
|
|
776
|
+
translating: "Traducir razonamiento",
|
|
777
|
+
invalidProvider: "Elija un servicio de traducción.",
|
|
778
|
+
invalidLanguage: "Ingrese auto o un código de idioma, como zh, en o ja.",
|
|
779
|
+
overridden: "Anulado",
|
|
780
|
+
reset: "Restablecer los valores predeterminados",
|
|
781
|
+
unavailable: "Las preferencias de traducción no están disponibles.",
|
|
782
|
+
readOnly: "Esta implementación almacena configuraciones de solo lectura.",
|
|
783
|
+
saveFailed: "El despliegue no aceptó estos valores; quedaron para que usted los corrigiera.",
|
|
784
|
+
save: "Guardar",
|
|
785
|
+
saving: "Guardando…",
|
|
786
|
+
copy: "Copiar",
|
|
787
|
+
copied: "Copiado",
|
|
788
|
+
codeTitle: "Bloque de código",
|
|
789
|
+
wrap: "Ajustar líneas",
|
|
790
|
+
unwrap: "Desenvolver líneas",
|
|
791
|
+
footnotes: "Notas a pie de página"
|
|
792
|
+
};
|
|
793
|
+
/** French dictionary, checked against the English keys. */
|
|
794
|
+
const fr = {
|
|
795
|
+
provider: "Service de traduction",
|
|
796
|
+
google: "Google",
|
|
797
|
+
bing: "Bing",
|
|
798
|
+
deepseekAccount: "DeepSeek Flash — compte (payant)",
|
|
799
|
+
deepseekOfficial: "DeepSeek Flash — API officiel (payant)",
|
|
800
|
+
providerUnavailableOption: "{provider} — indisponible",
|
|
801
|
+
providerUnavailable: "Ce fournisseur n'est pas disponible. Configurez votre compte DeepSeek ou votre fournisseur officiel API, ou choisissez un service disponible.",
|
|
802
|
+
paidNotice: "Chaque fragment non mis en cache envoie une demande Flash DeepSeek payante distincte via le compte sélectionné ou les informations d'identification officielles API. La réouverture du raisonnement réutilise les résultats enregistrés\xA0; la modification du fournisseur, de la langue, du texte source ou des paramètres de la demande peut envoyer une nouvelle demande payante.",
|
|
803
|
+
anonymousNotice: "Bing et Google n'ont pas besoin de connexion de traduction ni de clé API. Leurs points de terminaison anonymes peuvent rejeter ou limiter les demandes.",
|
|
804
|
+
targetLanguage: "Langue cible",
|
|
805
|
+
targetLanguageHint: "auto suit la langue de l'interface utilisateur\xA0; les codes de langue tels que zh, en et ja fonctionnent également.",
|
|
806
|
+
privacy: "Le raisonnement étendu est envoyé au service sélectionné. Il peut contenir du code privé ou des détails de conversation.",
|
|
807
|
+
translation: "Voir la traduction",
|
|
808
|
+
original: "Voir l'original",
|
|
809
|
+
retry: "Réessayer",
|
|
810
|
+
failed: "La traduction a échoué. Montrant l'original.",
|
|
811
|
+
translating: "Traduire le raisonnement",
|
|
812
|
+
invalidProvider: "Choisissez un service de traduction.",
|
|
813
|
+
invalidLanguage: "Saisissez auto ou un code de langue, tel que zh, en ou ja.",
|
|
814
|
+
overridden: "Remplacé",
|
|
815
|
+
reset: "Réinitialiser aux valeurs par défaut",
|
|
816
|
+
unavailable: "Les préférences de traduction ne sont pas disponibles.",
|
|
817
|
+
readOnly: "Ce déploiement stocke les paramètres en lecture seule.",
|
|
818
|
+
saveFailed: "Le déploiement n'a pas accepté ces valeurs ; ils vous ont été laissés à corriger.",
|
|
819
|
+
save: "Enregistrer",
|
|
820
|
+
saving: "Sauvegarde…",
|
|
821
|
+
copy: "Copier",
|
|
822
|
+
copied: "Copié",
|
|
823
|
+
codeTitle: "Bloc de code",
|
|
824
|
+
wrap: "Activer le retour à la ligne",
|
|
825
|
+
unwrap: "Dérouler les lignes",
|
|
826
|
+
footnotes: "Notes de bas de page"
|
|
827
|
+
};
|
|
828
|
+
/** German dictionary, checked against the English keys. */
|
|
829
|
+
const de = {
|
|
830
|
+
provider: "Übersetzungsdienst",
|
|
831
|
+
google: "Google",
|
|
832
|
+
bing: "Bing",
|
|
833
|
+
deepseekAccount: "DeepSeek Flash – Konto (kostenpflichtig)",
|
|
834
|
+
deepseekOfficial: "DeepSeek Flash – offizieller API (kostenpflichtig)",
|
|
835
|
+
providerUnavailableOption: "{provider} – nicht verfügbar",
|
|
836
|
+
providerUnavailable: "Dieser Anbieter ist nicht verfügbar. Konfigurieren Sie Ihr DeepSeek-Konto oder Ihren offiziellen API-Anbieter oder wählen Sie einen verfügbaren Dienst.",
|
|
837
|
+
paidNotice: "Jedes nicht zwischengespeicherte Fragment sendet eine separate kostenpflichtige DeepSeek-Flash-Anfrage über das ausgewählte Konto oder die offiziellen API-Anmeldeinformationen. Beim erneuten Öffnen der Argumentation werden gespeicherte Ergebnisse wiederverwendet. Wenn Sie den Anbieter, die Sprache, den Quelltext oder die Anfrageeinstellungen ändern, wird möglicherweise eine neue kostenpflichtige Anfrage gesendet.",
|
|
838
|
+
anonymousNotice: "Für Bing und Google ist weder ein Übersetzungs-Login noch ein API-Schlüssel erforderlich. Ihre anonymen Endpunkte können Anfragen ablehnen oder einschränken.",
|
|
839
|
+
targetLanguage: "Zielsprache",
|
|
840
|
+
targetLanguageHint: "folgt automatisch der UI-Sprache; Sprachcodes wie zh, en und ja funktionieren ebenfalls.",
|
|
841
|
+
privacy: "Die erweiterte Begründung wird an den ausgewählten Dienst gesendet. Es kann private Code- oder Konversationsdetails enthalten.",
|
|
842
|
+
translation: "Übersetzung ansehen",
|
|
843
|
+
original: "Original ansehen",
|
|
844
|
+
retry: "Erneut versuchen",
|
|
845
|
+
failed: "Die Übersetzung ist fehlgeschlagen. Zeigt das Original.",
|
|
846
|
+
translating: "Argumentation übersetzen",
|
|
847
|
+
invalidProvider: "Wählen Sie einen Übersetzungsdienst.",
|
|
848
|
+
invalidLanguage: "Geben Sie auto oder einen Sprachcode ein, z. B. zh, en oder ja.",
|
|
849
|
+
overridden: "Überschrieben",
|
|
850
|
+
reset: "Auf Standard zurücksetzen",
|
|
851
|
+
unavailable: "Übersetzungseinstellungen sind nicht verfügbar.",
|
|
852
|
+
readOnly: "Diese Bereitstellung speichert Einstellungen schreibgeschützt.",
|
|
853
|
+
saveFailed: "Die Bereitstellung hat diese Werte nicht akzeptiert. Sie mussten sie korrigieren.",
|
|
854
|
+
save: "Speichern",
|
|
855
|
+
saving: "Speichern…",
|
|
856
|
+
copy: "Kopieren",
|
|
857
|
+
copied: "Kopiert",
|
|
858
|
+
codeTitle: "Codeblock",
|
|
859
|
+
wrap: "Zeilen umbrechen",
|
|
860
|
+
unwrap: "Zeilen abwickeln",
|
|
861
|
+
footnotes: "Fußnoten"
|
|
862
|
+
};
|
|
863
|
+
/** Russian dictionary, checked against the English keys. */
|
|
864
|
+
const ru = {
|
|
865
|
+
provider: "Услуги перевода",
|
|
866
|
+
google: "Гугл",
|
|
867
|
+
bing: "Бинг",
|
|
868
|
+
deepseekAccount: "DeepSeek Flash — аккаунт (платный)",
|
|
869
|
+
deepseekOfficial: "DeepSeek Flash — официальный API (платный)",
|
|
870
|
+
providerUnavailableOption: "{provider} — недоступен",
|
|
871
|
+
providerUnavailable: "Этот провайдер недоступен. Настройте свою учетную запись DeepSeek или официального провайдера API или выберите доступную услугу.",
|
|
872
|
+
paidNotice: "Каждый некэшированный фрагмент отправляет отдельный платный запрос DeepSeek Flash через выбранную учетную запись или официальные учетные данные API. При повторном открытии рассуждений повторно используются сохраненные результаты; изменение провайдера, языка, исходного текста или настроек запроса может привести к отправке нового платного запроса.",
|
|
873
|
+
anonymousNotice: "Bing и Google не требуют входа в систему для перевода или ключа API. Их анонимные конечные точки могут отклонять или ограничивать запросы.",
|
|
874
|
+
targetLanguage: "Целевой язык",
|
|
875
|
+
targetLanguageHint: "автоматически следует языку пользовательского интерфейса; коды языков, такие как zh, en и ja, также работают.",
|
|
876
|
+
privacy: "Развернутое обоснование отправляется в выбранную службу. Он может содержать личный код или детали разговора.",
|
|
877
|
+
translation: "Посмотреть перевод",
|
|
878
|
+
original: "Посмотреть оригинал",
|
|
879
|
+
retry: "Повторить",
|
|
880
|
+
failed: "Перевод не удался. Показываю оригинал.",
|
|
881
|
+
translating: "Перевод рассуждений",
|
|
882
|
+
invalidProvider: "Выберите услугу перевода.",
|
|
883
|
+
invalidLanguage: "Введите auto или код языка, например zh, en или ja.",
|
|
884
|
+
overridden: "Переопределено",
|
|
885
|
+
reset: "Сбросить настройки по умолчанию",
|
|
886
|
+
unavailable: "Настройки перевода недоступны.",
|
|
887
|
+
readOnly: "В этом развертывании параметры сохраняются только для чтения.",
|
|
888
|
+
saveFailed: "Развертывание не приняло эти значения; их оставили вам на исправление.",
|
|
889
|
+
save: "Сохранить",
|
|
890
|
+
saving: "Сохранение…",
|
|
891
|
+
copy: "Копировать",
|
|
892
|
+
copied: "Скопировано",
|
|
893
|
+
codeTitle: "Блок кода",
|
|
894
|
+
wrap: "Переносить строки",
|
|
895
|
+
unwrap: "Развернуть линии",
|
|
896
|
+
footnotes: "Сноски"
|
|
897
|
+
};
|
|
898
|
+
/** Portuguese dictionary, checked against the English keys. */
|
|
899
|
+
const pt = {
|
|
900
|
+
provider: "Serviço de tradução",
|
|
901
|
+
google: "Google",
|
|
902
|
+
bing: "Google",
|
|
903
|
+
deepseekAccount: "DeepSeek Flash — conta (paga)",
|
|
904
|
+
deepseekOfficial: "DeepSeek Flash — oficial API (pago)",
|
|
905
|
+
providerUnavailableOption: "{provider} — indisponível",
|
|
906
|
+
providerUnavailable: "Este provedor não está disponível. Configure sua conta DeepSeek ou provedor API oficial ou escolha um serviço disponível.",
|
|
907
|
+
paidNotice: "Cada fragmento não armazenado em cache envia uma solicitação Flash DeepSeek paga separada por meio da conta selecionada ou das credenciais API oficiais. A reabertura do raciocínio reutiliza resultados salvos; alterar o provedor, o idioma, o texto fonte ou as configurações da solicitação pode enviar uma nova solicitação paga.",
|
|
908
|
+
anonymousNotice: "O Bing e o Google não precisam de login de tradução ou chave API. Seus endpoints anônimos podem rejeitar ou limitar solicitações.",
|
|
909
|
+
targetLanguage: "Idioma alvo",
|
|
910
|
+
targetLanguageHint: "auto segue o idioma da UI; códigos de idioma como zh, en e ja também funcionam.",
|
|
911
|
+
privacy: "O raciocínio expandido é enviado ao serviço selecionado. Pode conter código privado ou detalhes da conversa.",
|
|
912
|
+
translation: "Ver tradução",
|
|
913
|
+
original: "Ver original",
|
|
914
|
+
retry: "Tentar novamente",
|
|
915
|
+
failed: "A tradução falhou. Mostrando o original.",
|
|
916
|
+
translating: "Traduzindo o raciocínio",
|
|
917
|
+
invalidProvider: "Escolha um serviço de tradução.",
|
|
918
|
+
invalidLanguage: "Insira auto ou um código de idioma, como zh, en ou ja.",
|
|
919
|
+
overridden: "Substituído",
|
|
920
|
+
reset: "Redefinir para o padrão",
|
|
921
|
+
unavailable: "As preferências de tradução não estão disponíveis.",
|
|
922
|
+
readOnly: "Esta implantação armazena configurações somente leitura.",
|
|
923
|
+
saveFailed: "A implantação não aceitou esses valores; eles foram deixados para você corrigir.",
|
|
924
|
+
save: "Salvar",
|
|
925
|
+
saving: "Salvando…",
|
|
926
|
+
copy: "Copiar",
|
|
927
|
+
copied: "Copiado",
|
|
928
|
+
codeTitle: "Bloco de código",
|
|
929
|
+
wrap: "Quebrar linhas",
|
|
930
|
+
unwrap: "Desembrulhar linhas",
|
|
931
|
+
footnotes: "Notas de rodapé"
|
|
932
|
+
};
|
|
723
933
|
//#endregion
|
|
724
934
|
//#region lib/types/client/TranslationSettings.js
|
|
725
935
|
function providerLabel(provider, t) {
|
|
@@ -962,7 +1172,13 @@ window.__ModuleLoader__.load({
|
|
|
962
1172
|
ctx.effect(() => scope.subscribe(invalidate));
|
|
963
1173
|
ctx.effect(() => ctx.locale.register(NS, {
|
|
964
1174
|
en,
|
|
965
|
-
zh
|
|
1175
|
+
zh,
|
|
1176
|
+
ja,
|
|
1177
|
+
es,
|
|
1178
|
+
fr,
|
|
1179
|
+
de,
|
|
1180
|
+
ru,
|
|
1181
|
+
pt
|
|
966
1182
|
}));
|
|
967
1183
|
const form = new TranslationPreferencesForm(scope);
|
|
968
1184
|
ctx.effect(() => () => {
|
|
@@ -47,4 +47,214 @@ export declare const zh: Record<CotTranslationKey, string>;
|
|
|
47
47
|
* @returns localized form labels.
|
|
48
48
|
*/
|
|
49
49
|
export declare function formLabels(t: (key: CotTranslationKey) => string): SettingsFormLabels;
|
|
50
|
+
/** Japanese copy, checked against the English keys. */
|
|
51
|
+
export declare const ja: {
|
|
52
|
+
provider: string;
|
|
53
|
+
google: string;
|
|
54
|
+
bing: string;
|
|
55
|
+
deepseekAccount: string;
|
|
56
|
+
deepseekOfficial: string;
|
|
57
|
+
providerUnavailableOption: string;
|
|
58
|
+
providerUnavailable: string;
|
|
59
|
+
paidNotice: string;
|
|
60
|
+
anonymousNotice: string;
|
|
61
|
+
targetLanguage: string;
|
|
62
|
+
targetLanguageHint: string;
|
|
63
|
+
privacy: string;
|
|
64
|
+
translation: string;
|
|
65
|
+
original: string;
|
|
66
|
+
retry: string;
|
|
67
|
+
failed: string;
|
|
68
|
+
translating: string;
|
|
69
|
+
invalidProvider: string;
|
|
70
|
+
invalidLanguage: string;
|
|
71
|
+
overridden: string;
|
|
72
|
+
reset: string;
|
|
73
|
+
unavailable: string;
|
|
74
|
+
readOnly: string;
|
|
75
|
+
saveFailed: string;
|
|
76
|
+
save: string;
|
|
77
|
+
saving: string;
|
|
78
|
+
copy: string;
|
|
79
|
+
copied: string;
|
|
80
|
+
codeTitle: string;
|
|
81
|
+
wrap: string;
|
|
82
|
+
unwrap: string;
|
|
83
|
+
footnotes: string;
|
|
84
|
+
};
|
|
85
|
+
/** Spanish dictionary, checked against the English keys. */
|
|
86
|
+
export declare const es: {
|
|
87
|
+
provider: string;
|
|
88
|
+
google: string;
|
|
89
|
+
bing: string;
|
|
90
|
+
deepseekAccount: string;
|
|
91
|
+
deepseekOfficial: string;
|
|
92
|
+
providerUnavailableOption: string;
|
|
93
|
+
providerUnavailable: string;
|
|
94
|
+
paidNotice: string;
|
|
95
|
+
anonymousNotice: string;
|
|
96
|
+
targetLanguage: string;
|
|
97
|
+
targetLanguageHint: string;
|
|
98
|
+
privacy: string;
|
|
99
|
+
translation: string;
|
|
100
|
+
original: string;
|
|
101
|
+
retry: string;
|
|
102
|
+
failed: string;
|
|
103
|
+
translating: string;
|
|
104
|
+
invalidProvider: string;
|
|
105
|
+
invalidLanguage: string;
|
|
106
|
+
overridden: string;
|
|
107
|
+
reset: string;
|
|
108
|
+
unavailable: string;
|
|
109
|
+
readOnly: string;
|
|
110
|
+
saveFailed: string;
|
|
111
|
+
save: string;
|
|
112
|
+
saving: string;
|
|
113
|
+
copy: string;
|
|
114
|
+
copied: string;
|
|
115
|
+
codeTitle: string;
|
|
116
|
+
wrap: string;
|
|
117
|
+
unwrap: string;
|
|
118
|
+
footnotes: string;
|
|
119
|
+
};
|
|
120
|
+
/** French dictionary, checked against the English keys. */
|
|
121
|
+
export declare const fr: {
|
|
122
|
+
provider: string;
|
|
123
|
+
google: string;
|
|
124
|
+
bing: string;
|
|
125
|
+
deepseekAccount: string;
|
|
126
|
+
deepseekOfficial: string;
|
|
127
|
+
providerUnavailableOption: string;
|
|
128
|
+
providerUnavailable: string;
|
|
129
|
+
paidNotice: string;
|
|
130
|
+
anonymousNotice: string;
|
|
131
|
+
targetLanguage: string;
|
|
132
|
+
targetLanguageHint: string;
|
|
133
|
+
privacy: string;
|
|
134
|
+
translation: string;
|
|
135
|
+
original: string;
|
|
136
|
+
retry: string;
|
|
137
|
+
failed: string;
|
|
138
|
+
translating: string;
|
|
139
|
+
invalidProvider: string;
|
|
140
|
+
invalidLanguage: string;
|
|
141
|
+
overridden: string;
|
|
142
|
+
reset: string;
|
|
143
|
+
unavailable: string;
|
|
144
|
+
readOnly: string;
|
|
145
|
+
saveFailed: string;
|
|
146
|
+
save: string;
|
|
147
|
+
saving: string;
|
|
148
|
+
copy: string;
|
|
149
|
+
copied: string;
|
|
150
|
+
codeTitle: string;
|
|
151
|
+
wrap: string;
|
|
152
|
+
unwrap: string;
|
|
153
|
+
footnotes: string;
|
|
154
|
+
};
|
|
155
|
+
/** German dictionary, checked against the English keys. */
|
|
156
|
+
export declare const de: {
|
|
157
|
+
provider: string;
|
|
158
|
+
google: string;
|
|
159
|
+
bing: string;
|
|
160
|
+
deepseekAccount: string;
|
|
161
|
+
deepseekOfficial: string;
|
|
162
|
+
providerUnavailableOption: string;
|
|
163
|
+
providerUnavailable: string;
|
|
164
|
+
paidNotice: string;
|
|
165
|
+
anonymousNotice: string;
|
|
166
|
+
targetLanguage: string;
|
|
167
|
+
targetLanguageHint: string;
|
|
168
|
+
privacy: string;
|
|
169
|
+
translation: string;
|
|
170
|
+
original: string;
|
|
171
|
+
retry: string;
|
|
172
|
+
failed: string;
|
|
173
|
+
translating: string;
|
|
174
|
+
invalidProvider: string;
|
|
175
|
+
invalidLanguage: string;
|
|
176
|
+
overridden: string;
|
|
177
|
+
reset: string;
|
|
178
|
+
unavailable: string;
|
|
179
|
+
readOnly: string;
|
|
180
|
+
saveFailed: string;
|
|
181
|
+
save: string;
|
|
182
|
+
saving: string;
|
|
183
|
+
copy: string;
|
|
184
|
+
copied: string;
|
|
185
|
+
codeTitle: string;
|
|
186
|
+
wrap: string;
|
|
187
|
+
unwrap: string;
|
|
188
|
+
footnotes: string;
|
|
189
|
+
};
|
|
190
|
+
/** Russian dictionary, checked against the English keys. */
|
|
191
|
+
export declare const ru: {
|
|
192
|
+
provider: string;
|
|
193
|
+
google: string;
|
|
194
|
+
bing: string;
|
|
195
|
+
deepseekAccount: string;
|
|
196
|
+
deepseekOfficial: string;
|
|
197
|
+
providerUnavailableOption: string;
|
|
198
|
+
providerUnavailable: string;
|
|
199
|
+
paidNotice: string;
|
|
200
|
+
anonymousNotice: string;
|
|
201
|
+
targetLanguage: string;
|
|
202
|
+
targetLanguageHint: string;
|
|
203
|
+
privacy: string;
|
|
204
|
+
translation: string;
|
|
205
|
+
original: string;
|
|
206
|
+
retry: string;
|
|
207
|
+
failed: string;
|
|
208
|
+
translating: string;
|
|
209
|
+
invalidProvider: string;
|
|
210
|
+
invalidLanguage: string;
|
|
211
|
+
overridden: string;
|
|
212
|
+
reset: string;
|
|
213
|
+
unavailable: string;
|
|
214
|
+
readOnly: string;
|
|
215
|
+
saveFailed: string;
|
|
216
|
+
save: string;
|
|
217
|
+
saving: string;
|
|
218
|
+
copy: string;
|
|
219
|
+
copied: string;
|
|
220
|
+
codeTitle: string;
|
|
221
|
+
wrap: string;
|
|
222
|
+
unwrap: string;
|
|
223
|
+
footnotes: string;
|
|
224
|
+
};
|
|
225
|
+
/** Portuguese dictionary, checked against the English keys. */
|
|
226
|
+
export declare const pt: {
|
|
227
|
+
provider: string;
|
|
228
|
+
google: string;
|
|
229
|
+
bing: string;
|
|
230
|
+
deepseekAccount: string;
|
|
231
|
+
deepseekOfficial: string;
|
|
232
|
+
providerUnavailableOption: string;
|
|
233
|
+
providerUnavailable: string;
|
|
234
|
+
paidNotice: string;
|
|
235
|
+
anonymousNotice: string;
|
|
236
|
+
targetLanguage: string;
|
|
237
|
+
targetLanguageHint: string;
|
|
238
|
+
privacy: string;
|
|
239
|
+
translation: string;
|
|
240
|
+
original: string;
|
|
241
|
+
retry: string;
|
|
242
|
+
failed: string;
|
|
243
|
+
translating: string;
|
|
244
|
+
invalidProvider: string;
|
|
245
|
+
invalidLanguage: string;
|
|
246
|
+
overridden: string;
|
|
247
|
+
reset: string;
|
|
248
|
+
unavailable: string;
|
|
249
|
+
readOnly: string;
|
|
250
|
+
saveFailed: string;
|
|
251
|
+
save: string;
|
|
252
|
+
saving: string;
|
|
253
|
+
copy: string;
|
|
254
|
+
copied: string;
|
|
255
|
+
codeTitle: string;
|
|
256
|
+
wrap: string;
|
|
257
|
+
unwrap: string;
|
|
258
|
+
footnotes: string;
|
|
259
|
+
};
|
|
50
260
|
//# sourceMappingURL=locales.d.ts.map
|
package/locale/de.json
ADDED
package/locale/es.json
ADDED
package/locale/fr.json
ADDED
package/locale/ja.json
ADDED
package/locale/pt.json
ADDED
package/locale/ru.json
ADDED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-experimental-client-ui-cot-translation",
|
|
3
3
|
"description": "Optional machine translation of expanded reasoning, preserving original Session text",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.2-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -51,38 +51,38 @@
|
|
|
51
51
|
},
|
|
52
52
|
"license": "MIT",
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
55
|
-
"@deepseek-ai/dsh-experimental-translator": "0.2.
|
|
54
|
+
"@deepseek-ai/cordis": "~4.0.6-alpha.1",
|
|
55
|
+
"@deepseek-ai/dsh-experimental-translator": "0.2.2-alpha.2"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@deepseek-ai/schemastery": "~3.18.
|
|
58
|
+
"@deepseek-ai/schemastery": "~3.18.6-alpha.1",
|
|
59
59
|
"zod": "^4.4.3",
|
|
60
|
-
"@deepseek-ai/dsh-typert-protocol": "0.2.
|
|
60
|
+
"@deepseek-ai/dsh-typert-protocol": "0.2.2-alpha.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
64
|
-
"@deepseek-ai/dsh-settings": "0.2.
|
|
65
|
-
"@deepseek-ai/dsh-experimental-translator": "0.2.
|
|
66
|
-
"@deepseek-ai/dsh-api-remotes": "0.2.
|
|
67
|
-
"@deepseek-ai/dsh-client-locale": "0.2.
|
|
68
|
-
"@deepseek-ai/dsh-client-store": "0.2.
|
|
69
|
-
"@deepseek-ai/dsh-client-test-runtime": "0.2.
|
|
70
|
-
"@deepseek-ai/dsh-client-ui-chat": "0.2.
|
|
71
|
-
"@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.
|
|
72
|
-
"@deepseek-ai/dsh-client-ui-primitives": "0.2.
|
|
73
|
-
"@deepseek-ai/dsh-client-ui-renderer": "0.2.
|
|
74
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.2.
|
|
75
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.2.
|
|
63
|
+
"@deepseek-ai/cordis": "~4.0.6-alpha.1",
|
|
64
|
+
"@deepseek-ai/dsh-settings": "0.2.2-alpha.2",
|
|
65
|
+
"@deepseek-ai/dsh-experimental-translator": "0.2.2-alpha.2",
|
|
66
|
+
"@deepseek-ai/dsh-api-remotes": "0.2.2-alpha.2",
|
|
67
|
+
"@deepseek-ai/dsh-client-locale": "0.2.2-alpha.2",
|
|
68
|
+
"@deepseek-ai/dsh-client-store": "0.2.2-alpha.2",
|
|
69
|
+
"@deepseek-ai/dsh-client-test-runtime": "0.2.2-alpha.2",
|
|
70
|
+
"@deepseek-ai/dsh-client-ui-chat": "0.2.2-alpha.2",
|
|
71
|
+
"@deepseek-ai/dsh-client-ui-plugin-manager": "0.2.2-alpha.2",
|
|
72
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.2-alpha.2",
|
|
73
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.2-alpha.2",
|
|
74
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.2.2-alpha.2",
|
|
75
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.2-alpha.2",
|
|
76
76
|
"react": "^18.2.0",
|
|
77
77
|
"react-dom": "^18.2.0",
|
|
78
78
|
"@testing-library/react": "^16.3.3",
|
|
79
|
-
"@deepseek-ai/dsh-session": "0.2.
|
|
80
|
-
"@deepseek-ai/dsh-api-remote-access": "0.2.
|
|
81
|
-
"@deepseek-ai/dsh-api-session-controller": "0.2.
|
|
82
|
-
"@deepseek-ai/dsh-agent-loop-testkit": "0.2.
|
|
83
|
-
"@deepseek-ai/dsh-session-persistence-jsonl": "0.2.
|
|
84
|
-
"@deepseek-ai/dsh-session-query": "0.2.
|
|
85
|
-
"@deepseek-ai/dsh-typert-registry": "0.2.
|
|
79
|
+
"@deepseek-ai/dsh-session": "0.2.2-alpha.2",
|
|
80
|
+
"@deepseek-ai/dsh-api-remote-access": "0.2.2-alpha.2",
|
|
81
|
+
"@deepseek-ai/dsh-api-session-controller": "0.2.2-alpha.2",
|
|
82
|
+
"@deepseek-ai/dsh-agent-loop-testkit": "0.2.2-alpha.2",
|
|
83
|
+
"@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-alpha.2",
|
|
84
|
+
"@deepseek-ai/dsh-session-query": "0.2.2-alpha.2",
|
|
85
|
+
"@deepseek-ai/dsh-typert-registry": "0.2.2-alpha.2"
|
|
86
86
|
},
|
|
87
87
|
"files": [
|
|
88
88
|
"locale/*.json",
|