@deepseek-ai/dsh-client-ui-sidebar 0.2.0-rc.1 → 0.2.0-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 CHANGED
@@ -18,8 +18,8 @@
18
18
  en: a970f0547496634f
19
19
  zh: 36ef9a85b26e19f1
20
20
  /deepseek-ai-dsh-client-ui-sidebar/use-this-package/brand-and-new-session:
21
- en: d084cd6732966c41
22
- zh: 466e028ca49b4230
21
+ en: 098f85b9287d3147
22
+ zh: b921c128ac37d2cd
23
23
  /deepseek-ai-dsh-client-ui-sidebar/use-this-package/global-panel-entries:
24
24
  en: 5d3300d3506254c5
25
25
  zh: 541ae1ee1e10b921
package/README.md CHANGED
@@ -31,7 +31,7 @@ The sidebar is the navigation shell: users see the brand, start new sessions, co
31
31
 
32
32
  ### Brand and New Session
33
33
 
34
- The expanded brand row renders `sidebar.brand.mark` and `sidebar.brand.name` as independent single slots; the collapsed rail renders the same mark slot. Without occupants, the shell uses the fish mark and a localized local-build label. A complete build stacks a code badge below the label as `version[-commit][-dirty]`, using `DSH_CLIENT_VERSION`, the optional 7-character `DSH_CLIENT_COMMIT_HASH`, and `DSH_CLIENT_GIT_DIRTY=true`; missing version metadata omits the badge. New Session targets the explicit Workspace used by a scoped action, otherwise the current Session's Workspace, otherwise the most recently active Workspace; when none exists it clears into the blank New Session page. The expanded New Session button displays the effective binding as trailing grey text on hover or keyboard focus. While the shortcut is visible, the centered icon and label fade before it when space is narrow; CSS reserves the shortcut’s width without measuring the button. Icon-only controls retain tooltips with platform-formatted keycaps, including the resident macOS header control when the sidebar is hidden. All controls expose `aria-keyshortcuts`.
34
+ The expanded brand row renders `sidebar.brand.mark` and `sidebar.brand.name` as independent single slots; the collapsed rail renders the same mark slot. On Web and Windows desktop, clicking the expanded brand starts a new session; hovering or focusing it shows no tooltip. Without occupants, the shell uses the fish mark and a localized local-build label. A complete build stacks a code badge below the label as `version[-commit][-dirty]`, using `DSH_CLIENT_VERSION`, the optional 7-character `DSH_CLIENT_COMMIT_HASH`, and `DSH_CLIENT_GIT_DIRTY=true`; missing version metadata omits the badge. New Session targets the explicit Workspace used by a scoped action, otherwise the current Session's Workspace, otherwise the most recently active Workspace; when none exists it clears into the blank New Session page. The expanded New Session button displays the effective binding as trailing grey text on hover or keyboard focus. While the shortcut is visible, the centered icon and label fade before it when space is narrow; CSS reserves the shortcut’s width without measuring the button. Icon-only controls retain tooltips with platform-formatted keycaps, including the resident macOS header control when the sidebar is hidden. All controls expose `aria-keyshortcuts`.
35
35
 
36
36
  ### Global panel entries
37
37
 
package/README.zh.md CHANGED
@@ -31,7 +31,7 @@ dsh Web 客户端的侧边栏让用户识别当前构建、启动新会话、将
31
31
 
32
32
  ### 品牌与 New Session
33
33
 
34
- 展开的品牌行把 `sidebar.brand.mark` 与 `sidebar.brand.name` 渲染为两个独立的 single slot;收起轨道则渲染同一个 mark slot。没有占位者时,外壳使用鱼形标记和本地化的本地构建标签。完整构建会在标签下方显示代码徽标;该徽标使用 `DSH_CLIENT_VERSION`、可选的 7 位 `DSH_CLIENT_COMMIT_HASH` 与 `DSH_CLIENT_GIT_DIRTY=true` 组装成 `version[-commit][-dirty]`;缺少版本元数据时不显示徽标。New Session 优先使用作用域操作明确指定的 Workspace,否则使用当前 Session 所属 Workspace,再否则使用最近活跃 Workspace;一个 Workspace 都没有时则清空选择,进入空白 New Session 页面。 展开态的新建会话按钮在悬停或键盘聚焦时于右侧以灰色文字显示当前有效绑定。快捷键可见且空间较窄时,居中的图标与文字在快捷键之前渐隐;CSS 为快捷键保留宽度,无需测量按钮。纯图标控件保留使用平台键位样式的 tooltip,侧栏隐藏时常驻的 macOS 头部控件也保持一致。所有控件均提供 `aria-keyshortcuts`。
34
+ 展开的品牌行把 `sidebar.brand.mark` 与 `sidebar.brand.name` 渲染为两个独立的 single slot;收起轨道则渲染同一个 mark slot。在 Web 和 Windows 桌面端,点击展开态的品牌会新建会话,悬停或聚焦时不显示 tooltip。没有占位者时,外壳使用鱼形标记和本地化的本地构建标签。完整构建会在标签下方显示代码徽标;该徽标使用 `DSH_CLIENT_VERSION`、可选的 7 位 `DSH_CLIENT_COMMIT_HASH` 与 `DSH_CLIENT_GIT_DIRTY=true` 组装成 `version[-commit][-dirty]`;缺少版本元数据时不显示徽标。New Session 优先使用作用域操作明确指定的 Workspace,否则使用当前 Session 所属 Workspace,再否则使用最近活跃 Workspace;一个 Workspace 都没有时则清空选择,进入空白 New Session 页面。 展开态的新建会话按钮在悬停或键盘聚焦时于右侧以灰色文字显示当前有效绑定。快捷键可见且空间较窄时,居中的图标与文字在快捷键之前渐隐;CSS 为快捷键保留宽度,无需测量按钮。纯图标控件保留使用平台键位样式的 tooltip,侧栏隐藏时常驻的 macOS 头部控件也保持一致。所有控件均提供 `aria-keyshortcuts`。
35
35
 
36
36
  ### 全局面板入口
37
37
 
package/lib/client.js CHANGED
@@ -167,7 +167,7 @@ window.__ModuleLoader__.load({
167
167
  const SCROLLBAR_LINGER_MS = 2e3;
168
168
  /** Format complete-build metadata for the local brand badge. */
169
169
  function localBuildVersion() {
170
- return `0.2.0-rc.1-62962ee` + ({}.DSH_CLIENT_GIT_DIRTY === "true" ? "-dirty" : "");
170
+ return `0.2.0-rc.2-04f392c` + ({}.DSH_CLIENT_GIT_DIRTY === "true" ? "-dirty" : "");
171
171
  }
172
172
  /** Each panel row subscribes only to its own selection state. */
173
173
  function PanelRow({ id, label, wide, usePanelInfo, selectPanel, renderSlot }) {
@@ -333,20 +333,15 @@ window.__ModuleLoader__.load({
333
333
  return darwinDesktop ? (0, react_jsx_runtime.jsx)("span", {
334
334
  className: clsx(SidebarRoot_module_css_default.brand, SidebarRoot_module_css_default.wide),
335
335
  children: identity
336
- }) : (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
337
- label: t("session.new.label"),
338
- shortcutKeys: newShortcut?.keys,
339
- delayMs: 500,
340
- children: (0, react_jsx_runtime.jsx)("button", {
341
- type: "button",
342
- className: clsx(SidebarRoot_module_css_default.brand, SidebarRoot_module_css_default.wide),
343
- "aria-label": t("session.new.label"),
344
- "aria-keyshortcuts": newShortcut?.aria,
345
- onClick: () => {
346
- startSession();
347
- },
348
- children: identity
349
- })
336
+ }) : (0, react_jsx_runtime.jsx)("button", {
337
+ type: "button",
338
+ className: clsx(SidebarRoot_module_css_default.brand, SidebarRoot_module_css_default.wide),
339
+ "aria-label": t("session.new.label"),
340
+ "aria-keyshortcuts": newShortcut?.aria,
341
+ onClick: () => {
342
+ startSession();
343
+ },
344
+ children: identity
350
345
  });
351
346
  })(), !darwinDesktop && toggle]
352
347
  }),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-client-ui-sidebar",
3
3
  "description": "Sidebar plugin: session multi-level tree, search, grouping, state dots",
4
- "version": "0.2.0-rc.1",
4
+ "version": "0.2.0-rc.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -47,19 +47,19 @@
47
47
  "@types/react": "~18.3.1",
48
48
  "react": "^18.2.0",
49
49
  "clsx": "^2.0.0",
50
- "@deepseek-ai/dsh-api-workspace-controller": "0.2.0-rc.1",
51
- "@deepseek-ai/dsh-client-locale": "0.2.0-rc.1",
52
- "@deepseek-ai/dsh-client-store": "0.2.0-rc.1",
53
- "@deepseek-ai/dsh-client-test-runtime": "0.2.0-rc.1",
54
- "@deepseek-ai/dsh-client-ui-layout": "0.2.0-rc.1",
55
- "@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.1",
56
- "@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.1",
57
- "@deepseek-ai/dsh-client-ui-session": "0.2.0-rc.1",
58
- "@deepseek-ai/dsh-client-ui-workspace": "0.2.0-rc.1",
50
+ "@deepseek-ai/dsh-client-locale": "0.2.0-rc.2",
51
+ "@deepseek-ai/dsh-client-store": "0.2.0-rc.2",
52
+ "@deepseek-ai/dsh-client-test-runtime": "0.2.0-rc.2",
53
+ "@deepseek-ai/dsh-client-ui-layout": "0.2.0-rc.2",
54
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.2",
55
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.2",
56
+ "@deepseek-ai/dsh-client-ui-session": "0.2.0-rc.2",
57
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.2",
58
+ "@deepseek-ai/dsh-client-ui-workspace": "0.2.0-rc.2",
59
59
  "@deepseek-ai/cordis": "~4.0.4",
60
- "@deepseek-ai/dsh-client-shortcuts": "0.2.0-rc.1",
61
- "@deepseek-ai/dsh-client-product-analytics": "0.2.0-rc.1",
62
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.1"
60
+ "@deepseek-ai/dsh-client-shortcuts": "0.2.0-rc.2",
61
+ "@deepseek-ai/dsh-client-product-analytics": "0.2.0-rc.2",
62
+ "@deepseek-ai/dsh-api-workspace-controller": "0.2.0-rc.2"
63
63
  },
64
64
  "files": [
65
65
  "lib/index.js",