@deepseek-ai/dsh-experimental-translator 0.2.1-rc.5 → 0.2.2-alpha.3

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/index.js CHANGED
@@ -597,14 +597,14 @@ function nativeOwner(ctx, provider) {
597
597
  if (entry?.fiber?.state !== 2) return void 0;
598
598
  return provider === "deepseek-account" ? {
599
599
  llm,
600
- fiber: entry.fiber,
600
+ fiber: entry.fiber.ctx.fiber,
601
601
  provider,
602
- config: entry.fiber.config
602
+ config: entry.fiber.effectiveConfig
603
603
  } : {
604
604
  llm,
605
- fiber: entry.fiber,
605
+ fiber: entry.fiber.ctx.fiber,
606
606
  provider,
607
- config: entry.fiber.config
607
+ config: entry.fiber.effectiveConfig
608
608
  };
609
609
  }
610
610
  function unchanged(ctx, provider, previous) {
@@ -105,8 +105,8 @@ function nativeOwner(ctx, provider) {
105
105
  if (entry?.fiber?.state !== 2 /* FiberState.ACTIVE */)
106
106
  return undefined;
107
107
  return provider === 'deepseek-account'
108
- ? { llm, fiber: entry.fiber, provider, config: entry.fiber.config }
109
- : { llm, fiber: entry.fiber, provider, config: entry.fiber.config };
108
+ ? { llm, fiber: entry.fiber.ctx.fiber, provider, config: entry.fiber.effectiveConfig }
109
+ : { llm, fiber: entry.fiber.ctx.fiber, provider, config: entry.fiber.effectiveConfig };
110
110
  }
111
111
  function unchanged(ctx, provider, previous) {
112
112
  const current = nativeOwner(ctx, provider);
package/locale/de.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Übersetzungsdienst",
4
+ "description": "Übersetzen Sie Text und verwenden Sie in der Sitzung gespeicherte Übersetzungen wieder."
5
+ }
6
+ }
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Translation service",
4
+ "description": "Translate text and reuse translations saved in the session."
5
+ }
6
+ }
package/locale/es.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Servicio de traducción",
4
+ "description": "Traduce texto y reutiliza las traducciones guardadas en la sesión."
5
+ }
6
+ }
package/locale/fr.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Service de traduction",
4
+ "description": "Traduisez le texte et réutilisez les traductions enregistrées dans la session."
5
+ }
6
+ }
package/locale/ja.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "翻訳サービス",
4
+ "description": "機械翻訳を提供し、セッションに保存された翻訳結果を再利用します。"
5
+ }
6
+ }
package/locale/pt.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Serviço de tradução",
4
+ "description": "Traduza texto e reutilize traduções salvas na sessão."
5
+ }
6
+ }
package/locale/ru.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "Услуги перевода",
4
+ "description": "Переведите текст и повторно используйте переводы, сохраненные в сеансе."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "翻译服务",
4
+ "description": "提供机器翻译,并复用会话中已保存的翻译结果。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-experimental-translator",
3
3
  "description": "Machine translation with reusable Session results",
4
- "version": "0.2.1-rc.5",
4
+ "version": "0.2.2-alpha.3",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -23,46 +23,48 @@
23
23
  "types": "./lib/types/types.d.ts",
24
24
  "default": "./lib/types/types.js"
25
25
  },
26
+ "./locale/*.json": "./locale/*.json",
26
27
  "./package.json": "./package.json"
27
28
  },
28
29
  "files": [
30
+ "locale/*.json",
29
31
  "lib/index.js",
30
32
  "lib/types/**/*.js",
31
33
  "lib/types/**/*.d.ts"
32
34
  ],
33
35
  "license": "MIT",
34
36
  "dependencies": {
35
- "@deepseek-ai/schemastery": "~3.18.5"
37
+ "@deepseek-ai/schemastery": "~3.18.6-alpha.2"
36
38
  },
37
39
  "peerDependencies": {
38
- "@deepseek-ai/cordis": "~4.0.5",
39
- "@deepseek-ai/dsh-timeout": "0.2.1-rc.5",
40
- "@deepseek-ai/dsh-util-values": "0.2.1-rc.5",
41
- "@deepseek-ai/dsh-session": "0.2.1-rc.5",
42
- "@deepseek-ai/dsh-session-persistence": "0.2.1-rc.5",
43
- "@deepseek-ai/cordis-plugin-loader": "~1.0.6",
44
- "@deepseek-ai/dsh-llm": "0.2.1-rc.5",
45
- "@deepseek-ai/dsh-credentials": "0.2.1-rc.5",
46
- "@deepseek-ai/dsh-launch-environment": "0.2.1-rc.5"
40
+ "@deepseek-ai/cordis": "~4.0.6-alpha.2",
41
+ "@deepseek-ai/dsh-timeout": "0.2.2-alpha.3",
42
+ "@deepseek-ai/dsh-util-values": "0.2.2-alpha.3",
43
+ "@deepseek-ai/dsh-session": "0.2.2-alpha.3",
44
+ "@deepseek-ai/dsh-session-persistence": "0.2.2-alpha.3",
45
+ "@deepseek-ai/cordis-plugin-loader": "~1.0.7-alpha.2",
46
+ "@deepseek-ai/dsh-llm": "0.2.2-alpha.3",
47
+ "@deepseek-ai/dsh-credentials": "0.2.2-alpha.3",
48
+ "@deepseek-ai/dsh-launch-environment": "0.2.2-alpha.3"
47
49
  },
48
50
  "devDependencies": {
49
- "@deepseek-ai/cordis": "~4.0.5",
50
- "@deepseek-ai/dsh-app-boot": "0.2.1-rc.5",
51
- "@deepseek-ai/dsh-timeout": "0.2.1-rc.5",
52
- "@deepseek-ai/dsh-util-values": "0.2.1-rc.5",
53
- "@deepseek-ai/dsh-session": "0.2.1-rc.5",
54
- "@deepseek-ai/dsh-session-persistence": "0.2.1-rc.5",
55
- "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.1-rc.5",
56
- "@deepseek-ai/dsh-llm": "0.2.1-rc.5",
57
- "@deepseek-ai/cordis-plugin-loader": "~1.0.6",
58
- "@deepseek-ai/dsh-credentials": "0.2.1-rc.5",
59
- "@deepseek-ai/dsh-launch-environment": "0.2.1-rc.5",
60
- "@deepseek-ai/dsh-llm-deepseek": "0.2.1-rc.5",
61
- "@deepseek-ai/dsh-llm-deepseek-api-key": "0.2.1-rc.5",
62
- "@deepseek-ai/dsh-llm-deepseek-account": "0.2.1-rc.5",
63
- "@deepseek-ai/dsh-deepseek-account": "0.2.1-rc.5",
64
- "@deepseek-ai/dsh-deepseek-llm-api-extensions": "0.2.1-rc.5",
65
- "@deepseek-ai/dsh-session-log-deepseek": "0.2.1-rc.5",
66
- "@deepseek-ai/dsh-session-query-sqlite": "0.2.1-rc.5"
51
+ "@deepseek-ai/cordis": "~4.0.6-alpha.2",
52
+ "@deepseek-ai/dsh-app-boot": "0.2.2-alpha.3",
53
+ "@deepseek-ai/dsh-timeout": "0.2.2-alpha.3",
54
+ "@deepseek-ai/dsh-util-values": "0.2.2-alpha.3",
55
+ "@deepseek-ai/dsh-session": "0.2.2-alpha.3",
56
+ "@deepseek-ai/dsh-session-persistence": "0.2.2-alpha.3",
57
+ "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.2-alpha.3",
58
+ "@deepseek-ai/dsh-llm": "0.2.2-alpha.3",
59
+ "@deepseek-ai/cordis-plugin-loader": "~1.0.7-alpha.2",
60
+ "@deepseek-ai/dsh-credentials": "0.2.2-alpha.3",
61
+ "@deepseek-ai/dsh-launch-environment": "0.2.2-alpha.3",
62
+ "@deepseek-ai/dsh-llm-deepseek": "0.2.2-alpha.3",
63
+ "@deepseek-ai/dsh-llm-deepseek-api-key": "0.2.2-alpha.3",
64
+ "@deepseek-ai/dsh-llm-deepseek-account": "0.2.2-alpha.3",
65
+ "@deepseek-ai/dsh-deepseek-account": "0.2.2-alpha.3",
66
+ "@deepseek-ai/dsh-deepseek-llm-api-extensions": "0.2.2-alpha.3",
67
+ "@deepseek-ai/dsh-session-log-deepseek": "0.2.2-alpha.3",
68
+ "@deepseek-ai/dsh-session-query-sqlite": "0.2.2-alpha.3"
67
69
  }
68
70
  }