xrkh-better-sidebar 0.18.21 → 0.18.22

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.md CHANGED
@@ -10,7 +10,7 @@ Host 侧 `/sidebar/*` 由产品 Host 原生挂载(`createSidebarPublicHandler`
10
10
  前置:`xrkh web` 或 `npx @xrkseek/harness-cli web`,Node ≥ 26。建议 Host **≥ 0.3.4**。推荐从 **npmjs** 安装:
11
11
 
12
12
  ```bash
13
- xrkh plugin add xrkh-better-sidebar@0.18.21
13
+ xrkh plugin add xrkh-better-sidebar@0.18.22
14
14
  xrkh restart
15
15
  ```
16
16
 
@@ -18,6 +18,13 @@ xrkh restart
18
18
 
19
19
  源码路径仍可用(非推荐):`git clone git@github.com:xrkseek/xrkh-better-sidebar.git` 后 `xrkh plugin add ./xrkh-better-sidebar`。
20
20
 
21
+ ## 0.18.22
22
+
23
+ - 终端 `openWhenSized`:除尺寸外还等宿主真正可见(避开底栏 `centerMeasured` 前 `visibility:hidden` 仍报非零尺寸 → xterm 空开整页空白)
24
+ - 底栏 layout push(`--dsh-sidebar-height`)等到 `centerMeasured` 后再写,避免先挖洞、面板仍 hidden 时的空白任务栏
25
+ - `bottomPanelAutoTerminal` 默认改为 `false`(与 Host `sidebar-prefs-store` 一致)
26
+ - 展开右侧面板时把 `activePane` 钉回侧栏分栏,避免焦点仍停在底栏
27
+
21
28
  ## 0.18.21
22
29
 
23
30
  - `openTab({ type: 'editor' })` 固定落到侧栏分栏(`splits`),不因 `activePane` 在底栏而撑开底部面板(避免聊天开文件先出空白底栏 / 自动终端)
package/README_EN.md CHANGED
@@ -10,7 +10,7 @@ Host mounts `/sidebar/*` natively (`createSidebarPublicHandler`); this package s
10
10
  Requires `xrkh web` or `npx @xrkseek/harness-cli web`, Node ≥ 26. Prefer Host **≥ 0.3.4**. Install from **npmjs**:
11
11
 
12
12
  ```bash
13
- xrkh plugin add xrkh-better-sidebar@0.18.21
13
+ xrkh plugin add xrkh-better-sidebar@0.18.22
14
14
  xrkh restart
15
15
  ```
16
16
 
@@ -18,6 +18,13 @@ Hard-refresh the browser after install (Ctrl+Shift+R).
18
18
 
19
19
  Source path still works (not preferred): `git clone git@github.com:xrkseek/xrkh-better-sidebar.git` then `xrkh plugin add ./xrkh-better-sidebar`.
20
20
 
21
+ ## 0.18.22
22
+
23
+ - Terminal `openWhenSized`: wait until the host is paint-visible, not only sized (avoids xterm opening under the bottom panel's pre-measure `visibility:hidden`, which blanked the pane)
24
+ - Defer bottom layout push (`--dsh-sidebar-height`) until `centerMeasured` so the shell does not reserve an empty strip while the panel is still hidden
25
+ - Default `bottomPanelAutoTerminal` to `false` (aligned with Host `sidebar-prefs-store`)
26
+ - Expanding the right panel pins `activePane` back to the side split tree
27
+
21
28
  ## 0.18.21
22
29
 
23
30
  - `openTab({ type: 'editor' })` always lands on the side split tree (`splits`), never expands the bottom panel because `activePane` is a bottom leaf (chat file-open no longer opens a blank bottom pane / auto-terminal)