@deepseek-ai/dsh-client-locale 0.1.7-alpha.2 → 0.1.7-rc.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/README.i18n.yaml +63 -5
- package/lib/client.js +3 -1
- package/lib/types/locales/en.d.ts +1 -0
- package/lib/types/locales/zh.d.ts +1 -0
- package/package.json +11 -11
package/README.i18n.yaml
CHANGED
|
@@ -1,6 +1,64 @@
|
|
|
1
|
-
# Bilingual-pair consistency record (docs/i18n/README.md):
|
|
2
|
-
#
|
|
3
|
-
#
|
|
1
|
+
# Bilingual-pair consistency record for README.md (docs/i18n/README.md): per heading
|
|
2
|
+
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
|
|
3
|
+
# After editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/client/locale/README.md
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
/:
|
|
6
|
+
en: d2aaa955e01c2679
|
|
7
|
+
zh: 9d264cf8be1536cf
|
|
8
|
+
/deepseek-ai-dsh-client-locale:
|
|
9
|
+
en: 9365090d78467dea
|
|
10
|
+
zh: 74b6fbb9769d795f
|
|
11
|
+
/deepseek-ai-dsh-client-locale/summary:
|
|
12
|
+
en: a548ff3095e8d7d8
|
|
13
|
+
zh: fec6ad47291018f8
|
|
14
|
+
/deepseek-ai-dsh-client-locale/table-of-contents:
|
|
15
|
+
en: d152484eb41ac6b4
|
|
16
|
+
zh: bda879a892f240f0
|
|
17
|
+
/deepseek-ai-dsh-client-locale/use-this-package:
|
|
18
|
+
en: 7fedfbcbc3ad8cea
|
|
19
|
+
zh: e29ba5230e0b9ecb
|
|
20
|
+
/deepseek-ai-dsh-client-locale/use-this-package/choosing-a-language:
|
|
21
|
+
en: 8527d77583824eff
|
|
22
|
+
zh: 2ac53ced0a32ba19
|
|
23
|
+
/deepseek-ai-dsh-client-locale/use-this-package/registering-a-dictionary:
|
|
24
|
+
en: 9b2fcfa8cae8dc4b
|
|
25
|
+
zh: 293012a4d364ef59
|
|
26
|
+
/deepseek-ai-dsh-client-locale/use-this-package/resolving-package-text:
|
|
27
|
+
en: 3b63e84fe0fdf8f4
|
|
28
|
+
zh: e97b5d1b92dff7ec
|
|
29
|
+
/deepseek-ai-dsh-client-locale/use-this-package/registering-a-language-pack:
|
|
30
|
+
en: aa4e9c70523339cc
|
|
31
|
+
zh: 3359eddc4e9ef15e
|
|
32
|
+
/deepseek-ai-dsh-client-locale/use-this-package/what-the-host-half-does:
|
|
33
|
+
en: 8fa91333f7fc3387
|
|
34
|
+
zh: 789a9cbb3eace3b0
|
|
35
|
+
/deepseek-ai-dsh-client-locale/understand-the-implementation:
|
|
36
|
+
en: 288d8db39f9acfc5
|
|
37
|
+
zh: d65cf2ffae8ad35c
|
|
38
|
+
/deepseek-ai-dsh-client-locale/understand-the-implementation/design-concept:
|
|
39
|
+
en: c2e0ab8bb6bcb26a
|
|
40
|
+
zh: 508dec4db2c0fde6
|
|
41
|
+
/deepseek-ai-dsh-client-locale/understand-the-implementation/preference-resolution:
|
|
42
|
+
en: 4bc9dffa4629f537
|
|
43
|
+
zh: f51633c658b8d25b
|
|
44
|
+
/deepseek-ai-dsh-client-locale/understand-the-implementation/dictionary-lookup:
|
|
45
|
+
en: f8dcc4035830e738
|
|
46
|
+
zh: 8452ac63ee148c61
|
|
47
|
+
/deepseek-ai-dsh-client-locale/understand-the-implementation/source-map:
|
|
48
|
+
en: a382e032c06ced3f
|
|
49
|
+
zh: 419cb5f60b075388
|
|
50
|
+
/deepseek-ai-dsh-client-locale/further-exploration:
|
|
51
|
+
en: b6986484dd8ae2c5
|
|
52
|
+
zh: 003635bfa6ea1b9d
|
|
53
|
+
/deepseek-ai-dsh-client-locale/model-experience:
|
|
54
|
+
en: 209321ba2d2e6710
|
|
55
|
+
zh: 21deb6c973f69b66
|
|
56
|
+
/deepseek-ai-dsh-client-locale/model-experience/kv-cache-effect:
|
|
57
|
+
en: ca75c51c89c2c9b0
|
|
58
|
+
zh: de54f3467ef3b9be
|
|
59
|
+
/deepseek-ai-dsh-client-locale/known-limitations-and-deferred-work:
|
|
60
|
+
en: 500ede048ef44c6a
|
|
61
|
+
zh: f741fae55b29a627
|
|
62
|
+
/deepseek-ai-dsh-client-locale/known-limitations-and-deferred-work/dev-note:
|
|
63
|
+
en: 82fb34d8a128a0ac
|
|
64
|
+
zh: fa3f40c900032aae
|
package/lib/client.js
CHANGED
|
@@ -959,6 +959,7 @@ window.__ModuleLoader__.load({
|
|
|
959
959
|
"expand": "展开",
|
|
960
960
|
"back": "返回",
|
|
961
961
|
"brand.localBuild": "DSH 本地构建",
|
|
962
|
+
"workspace.defaultName": "默认工作区",
|
|
962
963
|
"unknown": "未知",
|
|
963
964
|
"none": "无",
|
|
964
965
|
"truncated": "已截断",
|
|
@@ -1004,6 +1005,7 @@ window.__ModuleLoader__.load({
|
|
|
1004
1005
|
"expand": "Expand",
|
|
1005
1006
|
"back": "Back",
|
|
1006
1007
|
"brand.localBuild": "DSH Local Build",
|
|
1008
|
+
"workspace.defaultName": "Default workspace",
|
|
1007
1009
|
"unknown": "Unknown",
|
|
1008
1010
|
"none": "None",
|
|
1009
1011
|
"truncated": "Truncated",
|
|
@@ -1022,7 +1024,7 @@ window.__ModuleLoader__.load({
|
|
|
1022
1024
|
const en = { "language.title": "Language" };
|
|
1023
1025
|
//#endregion
|
|
1024
1026
|
//#region \0dsh-css:/home/runner/work/deepseek-harness/deepseek-harness/packages/client/locale/src/client/LanguageRow.module.css.mjs
|
|
1025
|
-
const css = ".hVGvvW_row{border-bottom:.5px solid var(--dsw-alias-border-l2);align-items:center;gap:8px;padding:16px 0;display:flex}.hVGvvW_rowText{flex-direction:column;flex:1;gap:4px;min-width:0;padding-right:48px;display:flex}.hVGvvW_title{color:var(--dsw-alias-label-primary);font-size:14px;font-weight:400;line-height:22px}.hVGvvW_selector{background:var(--dsw-alias-bg-module-platform);height:36px;font:inherit;color:var(--dsw-alias-label-primary);cursor:pointer;border:none;
|
|
1027
|
+
const css = ".hVGvvW_row{border-bottom:.5px solid var(--dsw-alias-border-l2);align-items:center;gap:8px;padding:16px 0;display:flex}.hVGvvW_rowText{flex-direction:column;flex:1;gap:4px;min-width:0;padding-right:48px;display:flex}.hVGvvW_title{color:var(--dsw-alias-label-primary);font-size:14px;font-weight:400;line-height:22px}.hVGvvW_selector{border-radius:var(--dsw-radius-md);background:var(--dsw-alias-bg-module-platform);height:36px;font:inherit;color:var(--dsw-alias-label-primary);cursor:pointer;border:none;align-items:center;gap:12px;padding:0 14px;font-size:14px;line-height:22px;display:inline-flex}.hVGvvW_selector:hover{background:var(--dsw-alias-interactive-bg-hover)}.hVGvvW_chevron{flex:none}";
|
|
1026
1028
|
const tagId = "@deepseek-ai/dsh-client-locale/LanguageRow.module.css";
|
|
1027
1029
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
1028
1030
|
const tag = document.createElement("style");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-client-locale",
|
|
3
3
|
"description": "Locale plugin: Host-backed preference, extensible language catalog, browser fallback, and typed built-in dictionaries",
|
|
4
|
-
"version": "0.1.7-
|
|
4
|
+
"version": "0.1.7-rc.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -45,16 +45,16 @@
|
|
|
45
45
|
"@types/react": "~18.3.1",
|
|
46
46
|
"react": "^18.2.0",
|
|
47
47
|
"@deepseek-ai/cordis": "~4.0.4",
|
|
48
|
-
"@deepseek-ai/dsh-api-remotes": "0.1.7-
|
|
49
|
-
"@deepseek-ai/dsh-client-store": "0.1.7-
|
|
50
|
-
"@deepseek-ai/dsh-client-test-runtime": "0.1.7-
|
|
51
|
-
"@deepseek-ai/dsh-client-ui-primitives": "0.1.7-
|
|
52
|
-
"@deepseek-ai/dsh-client-ui-
|
|
53
|
-
"@deepseek-ai/dsh-client-ui-
|
|
54
|
-
"@deepseek-ai/dsh-
|
|
55
|
-
"@deepseek-ai/dsh-
|
|
56
|
-
"@deepseek-ai/dsh-client-connection": "0.1.7-
|
|
57
|
-
"@deepseek-ai/dsh-settings": "0.1.7-
|
|
48
|
+
"@deepseek-ai/dsh-api-remotes": "0.1.7-rc.2",
|
|
49
|
+
"@deepseek-ai/dsh-client-store": "0.1.7-rc.2",
|
|
50
|
+
"@deepseek-ai/dsh-client-test-runtime": "0.1.7-rc.2",
|
|
51
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.1.7-rc.2",
|
|
52
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.1.7-rc.2",
|
|
53
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.1.7-rc.2",
|
|
54
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.1.7-rc.2",
|
|
55
|
+
"@deepseek-ai/dsh-package-manifest": "0.1.7-rc.2",
|
|
56
|
+
"@deepseek-ai/dsh-client-connection": "0.1.7-rc.2",
|
|
57
|
+
"@deepseek-ai/dsh-settings": "0.1.7-rc.2"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@deepseek-ai/schemastery": "~3.18.4"
|