xrkh-better-sidebar 0.18.6 → 0.18.8

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.3
13
+ xrkh plugin add xrkh-better-sidebar@0.18.8
14
14
  xrkh restart
15
15
  ```
16
16
 
@@ -18,6 +18,10 @@ 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.8
22
+
23
+ - `openTab`:当前会话下任意打开(含仅 `type` 的 Files / +菜单)都会展开已折叠侧栏,调用方无需再自行 `togglePanel`
24
+
21
25
  ## 0.18.3
22
26
 
23
27
  - Client fiber 注入 `layout`(与 `ui-sidebar` 同序):等 `ui-layout` 声明中心栏后再挂侧栏拦截,避免 Host ≥0.3.4 上 `conversation` slot 竞态
package/README_EN.md CHANGED
@@ -1,57 +1,61 @@
1
- # xrkh-better-sidebar
2
-
3
- > **Audience**: XRK-Harness end users · integrators
4
-
5
- Standard sidebar plugin for XRK-Harness (`xrkh`): explorer · editor · terminal · git · browser, isolated per session.
6
- Host mounts `/sidebar/*` natively (`createSidebarPublicHandler`); this package ships the **client** half. The Cordis host half in `src/index.ts` is only for non-XRKH Cordis profiles — **do not** mount it on XRKH against the same `/sidebar/*` prefix.
7
-
8
- ## Install
9
-
10
- Requires `xrkh web` or `npx @xrkseek/harness-cli web`, Node ≥ 26. Prefer Host **≥ 0.3.4**. Install from **npmjs**:
11
-
12
- ```bash
13
- xrkh plugin add xrkh-better-sidebar@0.18.3
14
- xrkh restart
15
- ```
16
-
17
- Hard-refresh the browser after install (Ctrl+Shift+R).
18
-
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
-
21
- ## 0.18.3
22
-
23
- - Client fiber injects `layout` (same order as `ui-sidebar`): wait until `ui-layout` declares the center column before sidebar interception — avoids a `conversation` slot race on Host ≥ 0.3.4
24
- - `xrk.client.inject` adds `@xrkseek/client-ui-layout`; docs Host baseline **≥ 0.3.4**
25
-
26
- ## 0.18.2
27
-
28
- - Files home tab follows locale; light media viewers; open by default
29
-
30
- ## 0.18.1
31
-
32
- - `subagents.live`: accept nested `tool` and legacy flat `tool` wire so subagent activity previews do not crash
33
- - Align with Host native `/sidebar/*` (nested live shape)
34
-
35
- ## 0.18.0
36
-
37
- - XRKH-native: drop third-party dual-track (legacy manifest · better-locale · legacy install scripts · marketplace catalogs)
38
- - Peers are `@xrkseek/*` + React only; tools/settings types via `@xrkseek/xrk-tools` / `xrk-settings`
39
- - No Side Chat; subagents use Host Face + `subagents.live` / `jobs.*`
40
- - Empty curated plugin catalogs (community entries are not bundled)
41
-
42
- ## Contract
43
-
44
- | Item | Notes |
45
- |------|--------|
46
- | npm | `xrkh-better-sidebar` |
47
- | Repo | `xrkseek/xrkh-better-sidebar` |
48
- | Manifest | `package.json` → `xrk.client` (client half) |
49
- | Inject | `client-runtime` · `locale` · `ui-slots` · `ui-layout` · `ui-conversation` · `modules` |
50
- | Host | Native Host owns `/sidebar/api` · `/sidebar/bundle` · PTY — do not remount Cordis host half on XRKH |
51
-
52
- ## Develop
53
-
54
- ```bash
55
- pnpm install
56
- pnpm bundle
57
- ```
1
+ # xrkh-better-sidebar
2
+
3
+ > **Audience**: XRK-Harness end users · integrators
4
+
5
+ Standard sidebar plugin for XRK-Harness (`xrkh`): explorer · editor · terminal · git · browser, isolated per session.
6
+ Host mounts `/sidebar/*` natively (`createSidebarPublicHandler`); this package ships the **client** half. The Cordis host half in `src/index.ts` is only for non-XRKH Cordis profiles — **do not** mount it on XRKH against the same `/sidebar/*` prefix.
7
+
8
+ ## Install
9
+
10
+ Requires `xrkh web` or `npx @xrkseek/harness-cli web`, Node ≥ 26. Prefer Host **≥ 0.3.4**. Install from **npmjs**:
11
+
12
+ ```bash
13
+ xrkh plugin add xrkh-better-sidebar@0.18.8
14
+ xrkh restart
15
+ ```
16
+
17
+ Hard-refresh the browser after install (Ctrl+Shift+R).
18
+
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
+
21
+ ## 0.18.8
22
+
23
+ - `openTab`: any open on the active session (including type-only Files / +menu) expands a collapsed side card — callers no longer need a separate `togglePanel`
24
+
25
+ ## 0.18.3
26
+
27
+ - Client fiber injects `layout` (same order as `ui-sidebar`): wait until `ui-layout` declares the center column before sidebar interception — avoids a `conversation` slot race on Host ≥ 0.3.4
28
+ - `xrk.client.inject` adds `@xrkseek/client-ui-layout`; docs Host baseline **≥ 0.3.4**
29
+
30
+ ## 0.18.2
31
+
32
+ - Files home tab follows locale; light media viewers; open by default
33
+
34
+ ## 0.18.1
35
+
36
+ - `subagents.live`: accept nested `tool` and legacy flat `tool` wire so subagent activity previews do not crash
37
+ - Align with Host native `/sidebar/*` (nested live shape)
38
+
39
+ ## 0.18.0
40
+
41
+ - XRKH-native: drop third-party dual-track (legacy manifest · better-locale · legacy install scripts · marketplace catalogs)
42
+ - Peers are `@xrkseek/*` + React only; tools/settings types via `@xrkseek/xrk-tools` / `xrk-settings`
43
+ - No Side Chat; subagents use Host Face + `subagents.live` / `jobs.*`
44
+ - Empty curated plugin catalogs (community entries are not bundled)
45
+
46
+ ## Contract
47
+
48
+ | Item | Notes |
49
+ |------|--------|
50
+ | npm | `xrkh-better-sidebar` |
51
+ | Repo | `xrkseek/xrkh-better-sidebar` |
52
+ | Manifest | `package.json` → `xrk.client` (client half) |
53
+ | Inject | `client-runtime` · `locale` · `ui-slots` · `ui-layout` · `ui-conversation` · `modules` |
54
+ | Host | Native Host owns `/sidebar/api` · `/sidebar/bundle` · PTY — do not remount Cordis host half on XRKH |
55
+
56
+ ## Develop
57
+
58
+ ```bash
59
+ pnpm install
60
+ pnpm bundle
61
+ ```