@deepseek-ai/dsh-client-ui-settings-general 0.1.2-rc.1 → 0.1.5-alpha.1

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 CHANGED
@@ -2,5 +2,5 @@
2
2
  # side as of the last confirmed-consistent state. Both languages carry equal authority;
3
3
  # after editing either side, bring the other along and re-record with:
4
4
  # pnpm run verify-translation-pairing --write packages/client/ui-settings-general/README.md
5
- README.md: 702f53f99f840d6e96ffbe966dff98509d4551cd
6
- README.zh.md: ca701260894ede1878fba9934f24e9e112a1534c
5
+ README.md: c5bf1c1ccf0215e5902e65e66aea465a94350b9c
6
+ README.zh.md: 8fa4b48640374f414162a4f129d2ef177efb6287
package/README.md CHANGED
@@ -9,7 +9,7 @@ English | [中文](README.zh.md)
9
9
 
10
10
  ## Summary
11
11
 
12
- `dsh-client-ui-settings-general` is the settings shell of the dsh web client: the Settings panel opens from the sidebar's bottom control, a connection-failure indicator beside that control offers immediate recovery, the navigation is built from the sections features contribute, and first-run users are walked through one onboarding step at a time. It also registers everything on the Settings pages that belongs to no single feature: the trigger/header/close chrome content, the local configuration-file action, the General section and its `settings.general.item` slot, and the `settings` dictionaries. Feature-owned rows (Permission, Language, Appearance), sections (Models), and conditional onboarding steps stay with their feature packages; the shell itself ships no onboarding copy of its own.
12
+ Use this package to give the dsh web client a Settings panel, connection-recovery control, feature-contributed navigation, and sequential first-run onboarding. Users can open it from the sidebar, retry a failed connection immediately, and access a local configuration file when the Host makes one available on a loopback browser. Feature packages supply their own settings rows, sections, and onboarding steps; this package supplies their shared presentation and does not add onboarding copy or built-in General rows.
13
13
 
14
14
  ## Table of Contents
15
15
 
@@ -25,7 +25,7 @@ English | [中文](README.zh.md)
25
25
  <a id="use-this-package"></a>
26
26
  ## Use this package
27
27
 
28
- Users reach the shell through the sidebar's bottom Settings control; feature plugins contribute their pages and onboarding steps through the slot ledgers this shell projects. After a Host connection failure, a pale-yellow **Disconnected** action appears to the right of Settings. Automatic recovery shows **Connecting** with one to three dots advancing every 500ms. Hover or keyboard focus changes either yellow label to **Reconnect now** without changing its background; press feedback stays within the warning palette, and selecting it starts retry 1 immediately. Recovery changes the region to pale-green **Connected** for two seconds before it disappears. The icon, left-aligned text origin, height, and width remain fixed across every visible state. Initial startup and uninterrupted healthy operation remain silent. The shell renders the modal panel, the navigation built from `settings.section` entries, and exactly one mounted onboarding step at a time.
28
+ Users reach the shell through the sidebar's bottom Settings control; feature plugins contribute their pages and onboarding steps through the slot ledgers this shell projects. A pale-yellow **Disconnected** action beside Settings indicates browser offline suspension. Automatic recovery shows **Reconnecting** with one to three dots advancing every 500ms. Hover or keyboard focus changes either yellow label to **Reconnect now** without changing its background; press feedback stays within the warning palette, and selecting it starts retry 1 immediately. Recovery changes the region to pale-green **Connected** for two seconds before it disappears. The icon, left-aligned text origin, height, and width remain fixed across every visible state. Initial startup and uninterrupted healthy operation remain silent. The shell renders the modal panel, the navigation built from `settings.section` entries, and exactly one mounted onboarding step at a time.
29
29
 
30
30
  ### The General section
31
31
 
package/README.zh.md CHANGED
@@ -9,7 +9,7 @@ kind: "package-reference"
9
9
 
10
10
  ## 概述
11
11
 
12
- `dsh-client-ui-settings-general` 是 dsh Web 客户端的设置外壳:Settings 面板从侧边栏底部的控件打开,该控件旁的连接故障指示器提供即时恢复操作;导航由各功能贡献的分区构建;首次运行的用户一次只走一个引导步骤。它还注册设置页面上所有不属于单一功能的内容:触发器、标题栏与关闭控件界面框架、「本地配置文件」操作、「通用」分区及其 `settings.general.item` slot,以及 `settings` 字典。归具体功能所有的行(「权限」、「语言」、「外观」)、分区(「模型」)与条件式首次使用引导步骤仍由各自的功能包提供;外壳本身不自带任何引导文案。
12
+ 使用本包可为 dsh Web 客户端提供 Settings 面板、连接恢复控件、由功能包贡献的导航,以及依次进行的首次运行引导。用户可以从侧边栏打开面板、立即重试失败的连接,并在宿主为回环浏览器提供本地配置文件时访问该文件。各功能包提供自己的设置行、分区和引导步骤;本包提供共享的界面展示,但不添加引导文案或「通用」分区的内置行。
13
13
 
14
14
  ## 目录
15
15
 
@@ -25,7 +25,7 @@ kind: "package-reference"
25
25
  <a id="use-this-package"></a>
26
26
  ## 使用本包
27
27
 
28
- 用户通过侧边栏底部的 Settings 控件进入外壳;功能插件通过本外壳所投影的 slot 账本贡献自己的页面与引导步骤。Host 连接失败后,浅黄色的**连接异常**操作会出现在 Settings 右侧;自动恢复期间显示**连接中**,其后一至三个点每 500ms 前进一次。鼠标悬浮或键盘聚焦任一黄色状态时,只有文案变为**立即重连**,背景保持不变;按压反馈留在黄色色阶内,选中后立即从 retry 1 开始。恢复后该区域变为浅绿色的**连接成功**,驻留 2 秒再消失。所有可见状态的文字都左对齐,且图标、文字起点、高度和宽度保持固定。首次启动与未曾中断的健康连接保持静默。外壳渲染模态面板、由 `settings.section` 条目构建的导航,以及每次只挂载一个的引导步骤。
28
+ 用户通过侧边栏底部的 Settings 控件进入外壳;功能插件通过本外壳所投影的 slot 账本贡献自己的页面与引导步骤。Settings 右侧浅黄色的**连接异常**操作表示浏览器离线暂停;自动恢复期间显示**自动重连中**,其后一至三个点每 500ms 前进一次。鼠标悬浮或键盘聚焦任一黄色状态时,只有文案变为**立即重连**,背景保持不变;按压反馈留在黄色色阶内,选中后立即从 retry 1 开始。恢复后该区域变为浅绿色的**连接成功**,驻留 2 秒再消失。所有可见状态的文字都左对齐,且图标、文字起点、高度和宽度保持固定。首次启动与未曾中断的健康连接保持静默。外壳渲染模态面板、由 `settings.section` 条目构建的导航,以及每次只挂载一个的引导步骤。
29
29
 
30
30
  ### 「通用」分区
31
31
 
package/lib/client.js CHANGED
@@ -487,10 +487,10 @@ window.__ModuleLoader__.load({
487
487
  "general.nav": "通用设置",
488
488
  "connection.error": "连接异常",
489
489
  "connection.retry": "立即重连",
490
- "connection.connecting": "连接中",
490
+ "connection.connecting": "自动重连中",
491
491
  "connection.connected": "连接成功",
492
492
  "connection.reconnect": "连接异常,点击立即重连",
493
- "connection.restart": "连接中,点击立即重连"
493
+ "connection.restart": "连接中断,正在自动重试,点击立即重连"
494
494
  };
495
495
  /** English dictionary, checked complete against the zh key set. */
496
496
  const en = {
@@ -502,10 +502,10 @@ window.__ModuleLoader__.load({
502
502
  "general.nav": "General",
503
503
  "connection.error": "Disconnected",
504
504
  "connection.retry": "Reconnect now",
505
- "connection.connecting": "Connecting",
505
+ "connection.connecting": "Reconnecting",
506
506
  "connection.connected": "Connected",
507
507
  "connection.reconnect": "Disconnected, reconnect now",
508
- "connection.restart": "Connecting, restart now"
508
+ "connection.restart": "Reconnecting automatically, reconnect now"
509
509
  };
510
510
  //#endregion
511
511
  //#region lib/types/client/index.js
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-client-ui-settings-general",
3
3
  "description": "Settings ownerless-copy and product onboarding plugin: the General section, shell trigger/header chrome content, settings dictionaries, and the versioned welcome notice",
4
- "version": "0.1.2-rc.1",
4
+ "version": "0.1.5-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -48,19 +48,19 @@
48
48
  "devDependencies": {
49
49
  "@types/react": "~18.3.1",
50
50
  "react": "^18.2.0",
51
- "@deepseek-ai/dsh-api-remotes": "^0.1.2-rc.1",
52
- "@deepseek-ai/dsh-client-locale": "^0.1.2-rc.1",
53
- "@deepseek-ai/dsh-client-connection": "^0.1.2-rc.1",
54
- "@deepseek-ai/dsh-client-store": "^0.1.2-rc.1",
55
- "@deepseek-ai/dsh-client-test-runtime": "^0.1.2-rc.1",
56
- "@deepseek-ai/dsh-client-ui-primitives": "^0.1.2-rc.1",
57
- "@deepseek-ai/dsh-client-ui-settings": "^0.1.2-rc.1",
58
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.2-rc.1",
51
+ "@deepseek-ai/dsh-api-remotes": "^0.1.5-alpha.1",
52
+ "@deepseek-ai/dsh-client-connection": "^0.1.5-alpha.1",
53
+ "@deepseek-ai/dsh-client-locale": "^0.1.5-alpha.1",
54
+ "@deepseek-ai/dsh-client-test-runtime": "^0.1.5-alpha.1",
55
+ "@deepseek-ai/dsh-client-store": "^0.1.5-alpha.1",
56
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.1.5-alpha.1",
57
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.5-alpha.1",
58
+ "@deepseek-ai/dsh-client-ui-sidebar": "^0.1.5-alpha.1",
59
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.5-alpha.1",
59
60
  "@deepseek-ai/cordis": "^4.0.2",
60
- "@deepseek-ai/dsh-client-ui-sidebar": "^0.1.2-rc.1",
61
- "@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-rc.1",
62
- "@deepseek-ai/dsh-client-ui-session": "^0.1.2-rc.1",
63
- "@deepseek-ai/dsh-settings": "^0.1.2-rc.1"
61
+ "@deepseek-ai/dsh-client-ui-renderer": "^0.1.5-alpha.1",
62
+ "@deepseek-ai/dsh-client-ui-session": "^0.1.5-alpha.1",
63
+ "@deepseek-ai/dsh-settings": "^0.1.5-alpha.1"
64
64
  },
65
65
  "files": [
66
66
  "lib/index.js",