@deepseek-ai/dsh-client-ui-settings-general 0.1.3-alpha.2 → 0.1.5-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/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: 3c81dbf2560e0cbddd9e77e75befdbfda192cb70
6
- README.zh.md: 68580116fc809c796fb100c1847c2007b151ece1
5
+ README.md: 845d9c48dce2264d478f0ac854ef85a480828a14
6
+ README.zh.md: 4a96e78a13dd8e6aefd759926f6e2cb153f0b259
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. 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.
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. In both the expanded sidebar and collapsed rail, the control exposes the localized Settings label as its accessible name. 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 账本贡献自己的页面与引导步骤。Settings 右侧浅黄色的**连接异常**操作表示浏览器离线暂停;自动恢复期间显示**自动重连中**,其后一至三个点每 500ms 前进一次。鼠标悬浮或键盘聚焦任一黄色状态时,只有文案变为**立即重连**,背景保持不变;按压反馈留在黄色色阶内,选中后立即从 retry 1 开始。恢复后该区域变为浅绿色的**连接成功**,驻留 2 秒再消失。所有可见状态的文字都左对齐,且图标、文字起点、高度和宽度保持固定。首次启动与未曾中断的健康连接保持静默。外壳渲染模态面板、由 `settings.section` 条目构建的导航,以及每次只挂载一个的引导步骤。
28
+ 用户通过侧边栏底部的 Settings 控件进入外壳;功能插件通过本外壳所投影的 slot 账本贡献自己的页面与引导步骤。在展开侧边栏和收起轨道中,该控件都会把本地化的 Settings 文案作为其可访问名称。Settings 右侧浅黄色的**连接异常**操作表示浏览器离线暂停;自动恢复期间显示**自动重连中**,其后一至三个点每 500ms 前进一次。鼠标悬浮或键盘聚焦任一黄色状态时,只有文案变为**立即重连**,背景保持不变;按压反馈留在黄色色阶内,选中后立即从 retry 1 开始。恢复后该区域变为浅绿色的**连接成功**,驻留 2 秒再消失。所有可见状态的文字都左对齐,且图标、文字起点、高度和宽度保持固定。首次启动与未曾中断的健康连接保持静默。外壳渲染模态面板、由 `settings.section` 条目构建的导航,以及每次只挂载一个的引导步骤。
29
29
 
30
30
  ### 「通用」分区
31
31
 
package/lib/client.js CHANGED
@@ -62,9 +62,9 @@ window.__ModuleLoader__.load({
62
62
  /**
63
63
  * Settings shell root: the sidebar-foot trigger row plus the centered modal
64
64
  * panel (figma 501:29947, 1080x700) with the section nav rail. The shell is
65
- * a pure composition face — every piece of text (trigger label, panel title,
65
+ * a pure composition face — slot-owned text (trigger label, panel title,
66
66
  * close label, sections) arrives from registrants through slots; accessible
67
- * names resolve to that content (trigger: its own text; dialog:
67
+ * names resolve from localized content (trigger: shell locale; dialog:
68
68
  * aria-labelledby the title node; close: visually-hidden slot text). Modal
69
69
  * open state and the active section id are component-local viewing state;
70
70
  * the onboarding coordinator mounts exactly one ordered registrant while the
@@ -238,6 +238,7 @@ window.__ModuleLoader__.load({
238
238
  ref: triggerButton,
239
239
  type: "button",
240
240
  className: clsx(SettingsRoot_module_css_default.trigger, !wide && SettingsRoot_module_css_default.rail),
241
+ "aria-label": t("trigger"),
241
242
  "aria-haspopup": "dialog",
242
243
  "aria-expanded": open,
243
244
  onClick: () => {
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.3-alpha.2",
4
+ "version": "0.1.5-alpha.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -39,7 +39,6 @@
39
39
  },
40
40
  "license": "MIT",
41
41
  "dependencies": {
42
- "clsx": "^2.0.0",
43
42
  "@deepseek-ai/schemastery": "^3.18.2"
44
43
  },
45
44
  "peerDependencies": {
@@ -48,19 +47,20 @@
48
47
  "devDependencies": {
49
48
  "@types/react": "~18.3.1",
50
49
  "react": "^18.2.0",
51
- "@deepseek-ai/dsh-api-remotes": "^0.1.3-alpha.2",
52
- "@deepseek-ai/dsh-client-connection": "^0.1.3-alpha.2",
53
- "@deepseek-ai/dsh-client-locale": "^0.1.3-alpha.2",
54
- "@deepseek-ai/dsh-client-store": "^0.1.3-alpha.2",
55
- "@deepseek-ai/dsh-client-test-runtime": "^0.1.3-alpha.2",
56
- "@deepseek-ai/dsh-client-ui-settings": "^0.1.3-alpha.2",
57
- "@deepseek-ai/dsh-client-ui-primitives": "^0.1.3-alpha.2",
58
- "@deepseek-ai/dsh-client-ui-sidebar": "^0.1.3-alpha.2",
59
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.3-alpha.2",
50
+ "clsx": "^2.0.0",
51
+ "@deepseek-ai/dsh-api-remotes": "^0.1.5-alpha.2",
52
+ "@deepseek-ai/dsh-client-connection": "^0.1.5-alpha.2",
53
+ "@deepseek-ai/dsh-client-locale": "^0.1.5-alpha.2",
54
+ "@deepseek-ai/dsh-client-store": "^0.1.5-alpha.2",
55
+ "@deepseek-ai/dsh-client-test-runtime": "^0.1.5-alpha.2",
56
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.1.5-alpha.2",
57
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.5-alpha.2",
58
+ "@deepseek-ai/dsh-client-ui-sidebar": "^0.1.5-alpha.2",
59
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.5-alpha.2",
60
60
  "@deepseek-ai/cordis": "^4.0.2",
61
- "@deepseek-ai/dsh-client-ui-renderer": "^0.1.3-alpha.2",
62
- "@deepseek-ai/dsh-client-ui-session": "^0.1.3-alpha.2",
63
- "@deepseek-ai/dsh-settings": "^0.1.3-alpha.2"
61
+ "@deepseek-ai/dsh-client-ui-renderer": "^0.1.5-alpha.2",
62
+ "@deepseek-ai/dsh-client-ui-session": "^0.1.5-alpha.2",
63
+ "@deepseek-ai/dsh-settings": "^0.1.5-alpha.2"
64
64
  },
65
65
  "files": [
66
66
  "lib/index.js",