@deepseek-ai/dsh-client-ui-sidebar-right 0.2.0-rc.2 → 0.2.1-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
@@ -51,5 +51,5 @@
51
51
  en: 76a763b4dd71babd
52
52
  zh: fdc966dd427a82fb
53
53
  /deepseek-ai-dsh-client-ui-sidebar-right/known-limitations-and-deferred-work/dev-note:
54
- en: 9fcbcccf09b43c5d
55
- zh: 224b8a0881ab6890
54
+ en: e67f633dc6fe7773
55
+ zh: e88aeb617ffb74ea
package/README.md CHANGED
@@ -155,5 +155,3 @@ None; this package neither assembles nor sends a provider request.
155
155
  None.
156
156
 
157
157
  </details>
158
-
159
- **Runtime invariant:** No companion is published. The two services (`sidebarRight`, `sidebarRightTabs`) are provided through `ctx.reflect.provide` inside one effect and torn down with it; the on-screen Session and the Tab domain's occurrence lifetimes are asserted directly by this package's specs, and no independent observation exists to diverge from them.
package/README.zh.md CHANGED
@@ -155,5 +155,3 @@ Tab 域按(Session,Tab id)保留品牌化 occurrence id、导航、中止
155
155
  无。
156
156
 
157
157
  </details>
158
-
159
- **运行时不变量:** 不发布 companion。两个服务(`sidebarRight`、`sidebarRightTabs`)在同一个 effect 内经 `ctx.reflect.provide` 提供并随之拆除;屏幕上的会话与 Tab 域 occurrence 的生命周期由本包的 spec 直接断言,不存在会与之分歧的独立观察。
package/lib/client.js CHANGED
@@ -5557,12 +5557,12 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5557
5557
  "data-sidebar-right-tab": tab.id,
5558
5558
  "data-sidebar-right-occurrence": id,
5559
5559
  children: content
5560
- }) : (0, react_jsx_runtime.jsx)("div", {
5560
+ }, id) : (0, react_jsx_runtime.jsx)("div", {
5561
5561
  className: SidebarRight_module_css_default.tabBody,
5562
5562
  "data-sidebar-right-tab": tab.id,
5563
5563
  "data-sidebar-right-occurrence": id,
5564
5564
  children: content
5565
- });
5565
+ }, id);
5566
5566
  }
5567
5567
  /**
5568
5568
  * Dispatch a tab's body to its registered type.
@@ -5680,7 +5680,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
5680
5680
  "data-sidebar-right-session": sessionId,
5681
5681
  "data-sidebar-right-panel": fullscreen ? "fullscreen" : "push",
5682
5682
  "data-sidebar-right-open": expanded || void 0,
5683
- "aria-hidden": !expanded || void 0,
5683
+ "aria-hidden": !expanded && surface.layout.floats.length === 0 || void 0,
5684
5684
  children: (0, react_jsx_runtime.jsx)("div", {
5685
5685
  className: SidebarRight_module_css_default.panelBody,
5686
5686
  children: (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_dockkit.DockLayout, {
@@ -6480,7 +6480,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
6480
6480
  };
6481
6481
  const layout = surface?.layout;
6482
6482
  const replaced = placement.replaceTab === void 0 ? void 0 : layout?.tabs[placement.replaceTab];
6483
- const revealed = layout === void 0 || placement.revealIfOpened === false ? void 0 : (0, _deepseek_ai_dsh_client_ui_dockkit.findContentTab)(layout, claim.contentId, claim.kind);
6483
+ const replacementPane = replaced === void 0 || layout === void 0 ? void 0 : (0, _deepseek_ai_dsh_client_ui_dockkit.findTabPane)(layout, replaced.id);
6484
+ const revealed = layout === void 0 ? void 0 : claim.contentId === pageAddress(claim.kind) ? (0, _deepseek_ai_dsh_client_ui_dockkit.findPaneContentTab)(layout, replacementPane?.host === "dock" ? replacementPane.id : placement.paneId ?? (0, _deepseek_ai_dsh_client_ui_dockkit.activeDockPaneId)(layout), claim.contentId, claim.kind) : placement.revealIfOpened === false ? void 0 : (0, _deepseek_ai_dsh_client_ui_dockkit.findContentTab)(layout, claim.contentId, claim.kind);
6484
6485
  if (replaced === void 0 || replaced.id === revealed) {
6485
6486
  commit();
6486
6487
  return;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-client-ui-sidebar-right",
3
3
  "description": "Right Sidebar: the docking surface's session-bound state, its panel and header expand control, and the navigation service over it",
4
- "version": "0.2.0-rc.2",
4
+ "version": "0.2.1-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "license": "MIT",
42
42
  "peerDependencies": {
43
- "@deepseek-ai/cordis": "~4.0.4"
43
+ "@deepseek-ai/cordis": "~4.0.5-alpha.1"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@testing-library/react": "^16.1.0",
@@ -52,23 +52,23 @@
52
52
  "picomatch": "^4.0.4",
53
53
  "clsx": "^2.0.0",
54
54
  "zod": "^4.4.3",
55
- "@deepseek-ai/dsh-api-session-controller": "0.2.0-rc.2",
56
- "@deepseek-ai/dsh-client-locale": "0.2.0-rc.2",
57
- "@deepseek-ai/dsh-client-resources": "0.2.0-rc.2",
58
- "@deepseek-ai/dsh-client-test-runtime": "0.2.0-rc.2",
59
- "@deepseek-ai/dsh-client-ui-conversation": "0.2.0-rc.2",
60
- "@deepseek-ai/dsh-client-store": "0.2.0-rc.2",
61
- "@deepseek-ai/dsh-client-ui-dockkit": "0.2.0-rc.2",
62
- "@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.2",
63
- "@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.2",
64
- "@deepseek-ai/dsh-client-ui-session": "0.2.0-rc.2",
65
- "@deepseek-ai/dsh-session": "0.2.0-rc.2",
66
- "@deepseek-ai/dsh-util-crypto": "0.2.0-rc.2",
67
- "@deepseek-ai/dsh-client-shortcuts": "0.2.0-rc.2",
68
- "@deepseek-ai/dsh-brand": "0.2.0-rc.2",
69
- "@deepseek-ai/cordis": "~4.0.4",
70
- "@deepseek-ai/dsh-client-ui-layout": "0.2.0-rc.2",
71
- "@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.2"
55
+ "@deepseek-ai/cordis": "~4.0.5-alpha.1",
56
+ "@deepseek-ai/dsh-api-session-controller": "0.2.1-alpha.1",
57
+ "@deepseek-ai/dsh-client-locale": "0.2.1-alpha.1",
58
+ "@deepseek-ai/dsh-client-resources": "0.2.1-alpha.1",
59
+ "@deepseek-ai/dsh-client-test-runtime": "0.2.1-alpha.1",
60
+ "@deepseek-ai/dsh-client-store": "0.2.1-alpha.1",
61
+ "@deepseek-ai/dsh-client-ui-conversation": "0.2.1-alpha.1",
62
+ "@deepseek-ai/dsh-client-ui-dockkit": "0.2.1-alpha.1",
63
+ "@deepseek-ai/dsh-client-ui-layout": "0.2.1-alpha.1",
64
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.1-alpha.1",
65
+ "@deepseek-ai/dsh-client-ui-renderer": "0.2.1-alpha.1",
66
+ "@deepseek-ai/dsh-client-ui-session": "0.2.1-alpha.1",
67
+ "@deepseek-ai/dsh-session": "0.2.1-alpha.1",
68
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.1-alpha.1",
69
+ "@deepseek-ai/dsh-util-crypto": "0.2.1-alpha.1",
70
+ "@deepseek-ai/dsh-client-shortcuts": "0.2.1-alpha.1",
71
+ "@deepseek-ai/dsh-brand": "0.2.1-alpha.1"
72
72
  },
73
73
  "files": [
74
74
  "lib/index.js",