xrkh-better-sidebar 0.18.0 → 0.18.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.md CHANGED
@@ -3,33 +3,25 @@
3
3
  > **读者**:XRK-Harness 终端用户 · 集成者
4
4
 
5
5
  XRK-Harness(`xrkh`)标准侧边栏插件:资源管理器 · 编辑器 · 终端 · Git · 浏览器等工作台,按会话隔离。
6
- Host 侧 `/sidebar/*` 由产品内置兼容器接线;本包提供 **client 半包**(及可选进程清单)。
6
+ Host 侧 `/sidebar/*` 由产品 Host 原生挂载(`createSidebarPublicHandler`);本包提供 **client 半包**。
7
7
 
8
8
  ## 安装
9
9
 
10
- 前置:`xrkh web` 或 `npx @xrkseek/harness-cli web`,Node ≥ 26。
10
+ 前置:`xrkh web` 或 `npx @xrkseek/harness-cli web`,Node ≥ 26。建议 Host **≥ 0.2.3**。推荐从 **npmjs** 安装:
11
11
 
12
12
  ```bash
13
- xrkh plugin add xrkh-better-sidebar@0.18.0
13
+ xrkh plugin add xrkh-better-sidebar@0.18.1
14
14
  xrkh restart
15
15
  ```
16
16
 
17
- 从源码(SSH):
18
-
19
- ```bash
20
- git clone git@github.com:xrkseek/xrkh-better-sidebar.git
21
- xrkh plugin add ./xrkh-better-sidebar
22
- xrkh restart
23
- ```
17
+ 装完硬刷新浏览器(Ctrl+Shift+R)。
24
18
 
25
- 本机与 XRK-Harness 源码仓联调时,可将本仓放在 Harness 的 `extensions/xrkh-better-sidebar/`(主仓 gitignore,不进提交),然后:
19
+ 源码路径仍可用(非推荐):`git clone git@github.com:xrkseek/xrkh-better-sidebar.git` 后 `xrkh plugin add ./xrkh-better-sidebar`。
26
20
 
27
- ```powershell
28
- $env:XRK_PLUGINS_DIR = "./extensions"
29
- pnpm xrk web --workspace .
30
- ```
21
+ ## 0.18.1
31
22
 
32
- 装完硬刷新浏览器(Ctrl+Shift+R)。
23
+ - `subagents.live`:兼容嵌套 `tool` 与旧版扁平 `tool` wire,避免子代理活动预览崩溃
24
+ - 与 Host **0.2.3** 原生 `/sidebar/*`(嵌套 live 形状)对齐
33
25
 
34
26
  ## 0.18.0
35
27
 
package/README_EN.md CHANGED
@@ -3,33 +3,25 @@
3
3
  > **Audience**: XRK-Harness end users · integrators
4
4
 
5
5
  Standard sidebar plugin for XRK-Harness (`xrkh`): explorer · editor · terminal · git · browser, isolated per session.
6
- Host serves `/sidebar/*` via the product adapter; this package ships the **client** half (and optional process manifest).
6
+ Host mounts `/sidebar/*` natively (`createSidebarPublicHandler`); this package ships the **client** half.
7
7
 
8
8
  ## Install
9
9
 
10
- Requires `xrkh web` or `npx @xrkseek/harness-cli web`, Node ≥ 26.
10
+ Requires `xrkh web` or `npx @xrkseek/harness-cli web`, Node ≥ 26. Prefer Host **≥ 0.2.3**. Install from **npmjs**:
11
11
 
12
12
  ```bash
13
- xrkh plugin add xrkh-better-sidebar@0.18.0
13
+ xrkh plugin add xrkh-better-sidebar@0.18.1
14
14
  xrkh restart
15
15
  ```
16
16
 
17
- From source (SSH):
18
-
19
- ```bash
20
- git clone git@github.com:xrkseek/xrkh-better-sidebar.git
21
- xrkh plugin add ./xrkh-better-sidebar
22
- xrkh restart
23
- ```
17
+ Hard-refresh the browser after install (Ctrl+Shift+R).
24
18
 
25
- For local monorepo smoke tests, place this tree under Harness `extensions/xrkh-better-sidebar/` (gitignored by the main repo), then:
19
+ Source path still works (not preferred): `git clone git@github.com:xrkseek/xrkh-better-sidebar.git` then `xrkh plugin add ./xrkh-better-sidebar`.
26
20
 
27
- ```powershell
28
- $env:XRK_PLUGINS_DIR = "./extensions"
29
- pnpm xrk web --workspace .
30
- ```
21
+ ## 0.18.1
31
22
 
32
- Hard-refresh the browser after install (Ctrl+Shift+R).
23
+ - `subagents.live`: accept nested `tool` and legacy flat `tool` wire so subagent activity previews do not crash
24
+ - Align with Host **0.2.3** native `/sidebar/*` (nested live shape)
33
25
 
34
26
  ## 0.18.0
35
27
 
@@ -46,7 +38,7 @@ Hard-refresh the browser after install (Ctrl+Shift+R).
46
38
  | Repo | `xrkseek/xrkh-better-sidebar` |
47
39
  | Manifest | `package.json` → `xrk.client` (client half) |
48
40
  | Inject | `@xrkseek/client-*` (runtime, locale, slots, conversation, modules) |
49
- | Host | Product adapter: `/sidebar/api` · `/sidebar/bundle` · PTY |
41
+ | Host | Native Host: `/sidebar/api` · `/sidebar/bundle` · PTY |
50
42
 
51
43
  ## Develop
52
44