dsh-multipane 1.0.44 → 1.0.45

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.en.md CHANGED
@@ -161,6 +161,10 @@ node scripts/check-names.cjs # package name / version / release-age allowanc
161
161
 
162
162
  ## Changelog
163
163
 
164
+ ### 1.0.45 (2026-11-11)
165
+
166
+ - **Brought the host's turn navigator back inside panes** (the column of short marks on the right of a conversation, with the "turn N" hover preview). The plugin never removed it: the host hides the rail whenever a conversation is narrower than 900px (`@container (width<=900px)`), and a two-pane layout puts each pane at roughly 650px, so the rule fires as soon as you split. The plugin now re-enables the rail inside panes only (still hidden below 480px), in CSS alone - no host DOM is touched and no React state is involved.
167
+
164
168
  ### 1.0.44 (2026-11-11)
165
169
 
166
170
  - **Rolled back the 1.0.43 "single menu" attempt**: a narrow pane is back to two independent menus — the host's "More actions" and the plugin's "⋯". 1.0.43 merged the host menu into ours, which both broke it ("one row, then the menu vanished") and depended on reparenting the host's DOM node. Now each menu does its own job: the plugin's "⋯" only holds genuinely clipped buttons, the host's "⋯" uses its own native menu, and nothing is lost. All fixes up to 1.0.42 are unchanged.
package/README.md CHANGED
@@ -160,6 +160,10 @@ node scripts/check-names.cjs # 包名 / 版本 / 冷却豁免三处是否一
160
160
 
161
161
  ## 更新记录
162
162
 
163
+ ### 1.0.45(2026-11-11)
164
+
165
+ - **恢复窗格里的「轮次导航条」**(会话右侧那列短横线,悬停弹出「第 N 轮」预览卡)。它不是被插件删掉的:宿主有一条 `@container (width<=900px)` 的响应式规则,会话宽度不到 900px 就整条隐藏;分成两栏后每栏大约 650px,规则一命中就没了。现在插件只在窗格里把它放开(窗格窄于 480px 时仍收起),仍是不碰宿主 DOM、不动 React,纯 CSS 覆盖。
166
+
163
167
  ### 1.0.44(2026-11-11)
164
168
 
165
169
  - **回滚 1.0.43 的「只留一个菜单」尝试**:窄栏时恢复为「宿主的『更多操作』」+「插件的『⋯』」两个各自独立的菜单。1.0.43 把宿主菜单并进插件菜单,既造成「点开只有一行、随后菜单消失」,也依赖搬动宿主的 DOM 节点,兼容性不稳。现在两个菜单各用各的:插件的 ⋯ 只装被挤掉的按钮,宿主的 ⋯ 走它自己的原生菜单,功能一个都不缺。1.0.42 及其之前的全部修复保持不变。
package/lib/client.js CHANGED
@@ -17,7 +17,7 @@ window.__ModuleLoader__.load({
17
17
  */
18
18
  const PLUGIN_LABEL = "多栏视图";
19
19
  /* 与 package.json 的 version 必须一致(发版时两处同改;check-names.cjs 会校验)。 */
20
- const PLUGIN_VERSION = "1.0.44";
20
+ const PLUGIN_VERSION = "1.0.45";
21
21
  const NPM_LATEST_URL = "https://registry.npmjs.org/dsh-multipane/latest";
22
22
 
23
23
 
@@ -2299,7 +2299,15 @@ const TAB_LABEL_CHROME_DOT_PX = 46;
2299
2299
  .dsv-pane .dsv-body [data-content-phase="active"] .an3WzG_scrollBody:has([data-chat-flow])>.an3WzG_composerSeat{margin-top:0}
2300
2300
  /* 宿主聊天滚动管理器在「工具/明细折叠」后会在内容下方预留最多半个滚动区高度的空白,
2301
2301
  在窄栏里尤其明显;这里把它的预留位清零。 */
2302
- .dsv-pane .dsv-body [data-chat-turn-spacer]{height:0!important}
2302
+ .dsv-pane .dsv-body [data-chat-turn-spacer]{height:0!important}
2303
+
2304
+ /* ==== 1.0.45:窗格内恢复宿主的「轮次导航条」(会话右侧那列短横线)====
2305
+ 宿主在会话宽度 ≤900px 时把这条整条隐藏(@container 查询),分栏后每栏必然更窄,
2306
+ 于是开着插件它就没了。这里只在窗格里重新放开;窗格窄于 480px(约四栏)时仍
2307
+ 收起,免得挤正文。选择器用结构条件 nav:has(button[data-index]),不写宿主的
2308
+ 哈希类名(如 SNx2jG_*),宿主升级换了哈希也不会失效。 */
2309
+ .dsv-pane .dsv-body nav:has(button[data-index]){display:block!important}
2310
+ @container (width<=480px){.dsv-pane .dsv-body nav:has(button[data-index]){display:none!important}}
2303
2311
  /* 窗口最大化时外框有约 7px 溢出到屏幕外,标题栏最顶上那一截落在屏幕外;
2304
2312
  标签原来只有 ~26px 高、上下留 9px,光标贴屏幕最顶时落在标签上方的空白里,点不到标签。
2305
2313
  把标签命中区拉到标题栏整高(内容仍垂直居中)。只改标签自身横向范围,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-multipane",
3
- "version": "1.0.44",
3
+ "version": "1.0.45",
4
4
  "description": "Split the DSH main area into up to four panes, each with its own tab strip, composer and view switcher. Drag a tab to a pane edge to split. Bilingual (zh/en).",
5
5
  "displayName": "多栏视图",
6
6
  "dshhub": {