dsh-think-translate 1.2.2 → 1.2.4

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.
Files changed (2) hide show
  1. package/lib/client.js +9 -9
  2. package/package.json +3 -2
package/lib/client.js CHANGED
@@ -23,7 +23,7 @@ window.__ModuleLoader__.load({
23
23
  // there yet (an older process still serving the port), and the contract test
24
24
  // pins PLUGIN_VERSION to package.json so the two can never drift.
25
25
  var PLUGIN_NAME = "dsh-think-translate";
26
- var PLUGIN_VERSION = "1.2.2";
26
+ var PLUGIN_VERSION = "1.2.4";
27
27
  var PLUGIN_REPO = "https://github.com/UncleK/dsh-think-translate";
28
28
  // The official MarkdownText contract changed in 0.1.2-alpha: it now takes a
29
29
  // nested `labels` object and dereferences it without defaults inside its code
@@ -261,7 +261,7 @@ window.__ModuleLoader__.load({
261
261
  providerApiKey: "API 密钥",
262
262
  footnotes: "脚注",
263
263
  dshImport: "重新扫描 DSH 配置",
264
- dshImportAll: "全部加入链",
264
+ dshImportAll: "全部加入",
265
265
  dshImportEmpty: "DSH 里没有发现已配置的 provider",
266
266
  dshRescanning: "正在重新扫描 DSH 配置…",
267
267
  dshRescanDone: "重新扫描完成",
@@ -312,7 +312,7 @@ window.__ModuleLoader__.load({
312
312
  providerApiKey: "API key",
313
313
  footnotes: "Footnotes",
314
314
  dshImport: "Rescan DSH config",
315
- dshImportAll: "Add all to chain",
315
+ dshImportAll: "Add all",
316
316
  dshImportEmpty: "No provider configured in DSH",
317
317
  dshRescanning: "Rescanning the DSH config…",
318
318
  dshRescanDone: "Rescan complete",
@@ -363,7 +363,7 @@ window.__ModuleLoader__.load({
363
363
  copy: "コピー", copied: "コピー済み",
364
364
  footnotes: "脚注",
365
365
  dshImport: "DSH 設定を再スキャン",
366
- dshImportAll: "すべてチェーンに追加",
366
+ dshImportAll: "すべて追加",
367
367
  dshImportEmpty: "DSH に設定済みプロバイダーがありません",
368
368
  dshRescanning: "DSH 設定を再スキャン中…",
369
369
  dshRescanDone: "再スキャン完了",
@@ -414,7 +414,7 @@ window.__ModuleLoader__.load({
414
414
  copy: "복사", copied: "복사됨",
415
415
  footnotes: "각주",
416
416
  dshImport: "DSH 설정 다시 검사",
417
- dshImportAll: "모두 체인에 추가",
417
+ dshImportAll: "모두 추가",
418
418
  dshImportEmpty: "DSH에 구성된 제공자가 없습니다",
419
419
  dshRescanning: "DSH 설정을 다시 검사하는 중…",
420
420
  dshRescanDone: "다시 검사 완료",
@@ -465,7 +465,7 @@ window.__ModuleLoader__.load({
465
465
  copy: "Copiar", copied: "Copiado",
466
466
  footnotes: "Notas al pie",
467
467
  dshImport: "Reescanear la config de DSH",
468
- dshImportAll: "Añadir todo a la cadena",
468
+ dshImportAll: "Añadir todo",
469
469
  dshImportEmpty: "No hay proveedores configurados en DSH",
470
470
  dshRescanning: "Reescaneando la config de DSH…",
471
471
  dshRescanDone: "Reescaneo completado",
@@ -516,7 +516,7 @@ window.__ModuleLoader__.load({
516
516
  copy: "Copier", copied: "Copié",
517
517
  footnotes: "Notes de bas de page",
518
518
  dshImport: "Réanalyser la config DSH",
519
- dshImportAll: "Tout ajouter à la chaîne",
519
+ dshImportAll: "Tout ajouter",
520
520
  dshImportEmpty: "Aucun fournisseur configuré dans DSH",
521
521
  dshRescanning: "Réanalyse de la config DSH…",
522
522
  dshRescanDone: "Réanalyse terminée",
@@ -567,7 +567,7 @@ window.__ModuleLoader__.load({
567
567
  copy: "Kopieren", copied: "Kopiert",
568
568
  footnotes: "Fußnoten",
569
569
  dshImport: "DSH-Konfiguration neu einlesen",
570
- dshImportAll: "Alle zur Kette hinzufügen",
570
+ dshImportAll: "Alle hinzufügen",
571
571
  dshImportEmpty: "Kein konfigurierter Anbieter in DSH",
572
572
  dshRescanning: "DSH-Konfiguration wird neu eingelesen…",
573
573
  dshRescanDone: "Neu eingelesen",
@@ -618,7 +618,7 @@ window.__ModuleLoader__.load({
618
618
  copy: "Копировать", copied: "Скопировано",
619
619
  footnotes: "Сноски",
620
620
  dshImport: "Пересканировать конфиг DSH",
621
- dshImportAll: "Добавить все в цепочку",
621
+ dshImportAll: "Добавить все",
622
622
  dshImportEmpty: "В DSH нет настроенных провайдеров",
623
623
  dshRescanning: "Пересканирую конфиг DSH…",
624
624
  dshRescanDone: "Сканирование завершено",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-think-translate",
3
3
  "description": "Display-layer translation for the DSH web app: thinking chain, task cards, and optional answer text, in 8 target languages (local Ollama / any OpenAI-compatible or Anthropic endpoint / Google / Bing, fail-open)",
4
- "version": "1.2.2",
4
+ "version": "1.2.4",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "exports": {
@@ -38,7 +38,8 @@
38
38
  "url": "git+https://github.com/UncleK/dsh-think-translate.git"
39
39
  },
40
40
  "engines": {
41
- "node": ">=20"
41
+ "node": ">=20",
42
+ "dsh": ">=0.1.0-rc.6"
42
43
  },
43
44
  "publishConfig": {
44
45
  "access": "public"