@michengai/dsh-btw 0.1.19 → 0.1.20

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/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## [0.1.20] - 2026-10-13
6
+
7
+ - Tag injected styles with plugin ownership so the selection action bar keeps its rounded dark theme and does not fall back to browser default popover boxes after host theme changes or client reloads.
8
+
5
9
  ## [0.1.19] - 2026-10-12
6
10
 
7
11
  - Support DSH `0.2.1-alpha.2` while retaining all existing supported versions.
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## 未发布
4
4
 
5
+ ## [0.1.20] - 2026-10-13
6
+
7
+ - 为注入样式标记插件属性,避免宿主切换主题或客户端重载后划词横条样式丢失而退化为浏览器默认白框。
8
+
5
9
  ## [0.1.19] - 2026-10-12
6
10
 
7
11
  - 支持 DSH `0.2.1-alpha.2`,继续兼容既有已支持版本。
package/README.md CHANGED
@@ -68,7 +68,7 @@ For a desktop workbench, download [DSH Codex Desktop](https://github.com/Micheng
68
68
  ## Prerequisites
69
69
 
70
70
  - An installed copy of DeepSeek Harness.
71
- - Host peers accept exactly `0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2`.
71
+ - Host peers accept exactly `0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-alpha.2`.
72
72
  - Node.js 22+ and `dsh` available in your terminal.
73
73
 
74
74
  ## Installation
package/README.zh-CN.md CHANGED
@@ -68,7 +68,7 @@
68
68
  ## 前置条件
69
69
 
70
70
  - 已安装 DeepSeek Harness。
71
- - 宿主 peer 依赖精确声明为 `0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2`。
71
+ - 宿主 peer 依赖精确声明为 `0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.5-rc.3 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-alpha.2`。
72
72
  - Node.js 22+,可在终端执行 `dsh`。
73
73
 
74
74
  ## 安装
package/lib/client.js CHANGED
@@ -13859,9 +13859,11 @@ function apply(ctx) {
13859
13859
  else ctx.effect(() => attachOfficialBtw(ctx.get("commandUi"), (sessionId) => claim(sessionId), t));
13860
13860
  ctx.effect(() => {
13861
13861
  const style = document.createElement("style");
13862
+ style.dataset.plugin = "@michengai/dsh-btw";
13863
+ style.dataset.pluginCss = "@michengai/dsh-btw/client.css";
13862
13864
  style.dataset.michengaiBtw = "";
13863
13865
  style.textContent = CSS;
13864
- document.head.append(style);
13866
+ (document.head ?? document.documentElement).append(style);
13865
13867
  return () => style.remove();
13866
13868
  });
13867
13869
  ctx.effect(() => () => store.dispose());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@michengai/dsh-btw",
3
- "version": "0.1.19",
3
+ "version": "0.1.20",
4
4
  "description": "DSH 一次性只读旁问插件:基于当前上下文回答,独立气泡,不执行工具 · One-shot read-only side-ask plugin: answers from current context in an independent bubble, no tool execution",
5
5
  "repository": {
6
6
  "type": "git",