@michengai/dsh-btw 0.1.24 → 1.0.0

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
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.0] - 2026-10-17
4
+
5
+ - Supported hosts are now DeepSeek Harness `0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`, and `0.2.1-rc.2`. Hosts before `0.2.0`, and `0.2.1` alphas, are rejected by the version gate, and the plugin will not load or run. Installed configuration and main-conversation records are kept. If you still use a `0.1.x` host, install plugin `0.1.24` instead of `@latest`.
6
+ - `0.2.1-rc.1` and later use `startActivation`. `0.2.0-rc.1` and `0.2.0-rc.2` still use `subagents.start`.
7
+
3
8
  ## [0.1.24] - 2026-10-15
4
9
 
5
10
  - Side questions are no longer offered in a subagent session. Typing `/btw` there explains that you should return to the main session, instead of leaving a dialog that cannot be closed (#7).
@@ -1,5 +1,10 @@
1
1
  # 更新日志
2
2
 
3
+ ## [1.0.0] - 2026-10-17
4
+
5
+ - 支持的宿主改为 DeepSeek Harness `0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-rc.1`、`0.2.1-rc.2`。`0.2.0` 之前的宿主,以及 `0.2.1` 的 alpha 会被版本门拒绝,插件不会加载、不会运行。已安装配置和主会话记录仍保留。仍在使用 `0.1.x` 的,请安装插件 `0.1.24`,不要装 `@latest`。
6
+ - `0.2.1-rc.1` 起使用 `startActivation`。`0.2.0-rc.1` 与 `0.2.0-rc.2` 仍使用 `subagents.start`。
7
+
3
8
  ## [0.1.24] - 2026-10-15
4
9
 
5
10
  - 子代理会话不再提供旁问。在那里输入 `/btw` 会提示返回主会话使用,而不是留下关不掉的弹窗 (#7)。
package/README.md CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  </div>
18
18
 
19
- > DSH BTW is a community-maintained DeepSeek Harness plugin, not an official DeepSeek AI product. Type `/btw your question` in the current conversation to get a context-aware answer in an independent bubble without interrupting the main task. Supports DSH Web and desktop apps that include DSH Web.
19
+ > DSH BTW is a community-maintained DeepSeek Harness plugin, not an official DeepSeek AI product. Type `/btw your question` in the current conversation to get a context-aware answer in an independent bubble without interrupting the main task. Supports DSH Web and desktop apps that include DSH Web. From `1.0.0`, hosts outside the supported list are rejected by the version gate and the plugin will not run; installed configuration and main-conversation records are kept.
20
20
 
21
21
  ## Features
22
22
 
@@ -68,7 +68,8 @@ 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 || 0.2.1-alpha.2 || 0.2.1-alpha.3`.
71
+ - Plugin `1.0.0` is tested with DeepSeek Harness `0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`, and `0.2.1-rc.2`.
72
+ - Hosts before `0.2.0`, and `0.2.1` alphas, are no longer supported. The version gate rejects them, and the plugin will not load or run. Installed configuration and main-conversation records are kept. If you still use a `0.1.x` host, install plugin `0.1.24` instead of `@latest`.
72
73
  - Node.js 22+ and `dsh` available in your terminal.
73
74
 
74
75
  ## Installation
@@ -96,6 +97,8 @@ dsh plugin --profile web add @michengai/dsh-btw@latest --registry=https://regist
96
97
 
97
98
  Install or update after current tasks finish, as desktop apps may reload automatically. If the change has not taken effect, use the desktop app's reload action or restart the `dsh web` service. Refreshing the browser alone is not enough.
98
99
 
100
+ Installing `@latest` on a host before `0.2.0`, or on a `0.2.1` alpha, is rejected by the version gate, and the plugin will not run. On `0.1.x`, install `0.1.24` instead. Rejection does not delete existing configuration or main-conversation records.
101
+
99
102
  ## Usage
100
103
 
101
104
  ### Ask about selected text
@@ -108,7 +111,7 @@ Select text within a single conversation message, choose **Ask BTW** from the co
108
111
  - **Add to conversation** appends a quote to the existing draft without sending. After insertion, focus returns to the composer; insertion is blocked while a message is being submitted. Right-click keeps the browser's native menu.
109
112
  - Keyboard selection is supported inside focused message elements: release Shift to focus the toolbar. Browsers without the Popover API use a fixed-position fallback, which may be clipped by the host layout.
110
113
  - Coexists with `dsh-better-sidebar`: BTW handles conversation text only; file previews and editors retain the sidebar plugin's own **Add to conversation** action without a duplicate toolbar.
111
- - This entry uses host DOM markers and has been verified in DSH `0.1.5-rc.2` with Edge, including the selection toolbar, draft insertion, question form, and a real-model answer. Unrecognized layouts keep their normal context menu; `/btw` remains available.
114
+ - This entry uses host DOM markers. Unrecognized layouts keep their normal context menu; `/btw` remains available.
112
115
 
113
116
  ### Command entry
114
117
 
@@ -160,9 +163,7 @@ npm run check
160
163
 
161
164
  `npm run check` runs type checking, tests, and a build.
162
165
 
163
- Development and builds target `0.2.0-rc.2`. `npm run test:compat` builds with that baseline and runs the test suite on each of the eight isolated host versions, using a test model adapter. DOM component tests do not replace live-browser acceptance.
164
-
165
- Previous manual end-to-end acceptance with Edge and a live DeepSeek model passed on `0.1.5-rc.1`: side questions, attachment rejection, copying, collapse/expand, cancellation, and continued parent-session operation. This is not part of `npm run test:compat`. The selection toolbar, draft insertion, sidebar coexistence, and real-model side answers were subsequently checked on `0.1.5-rc.2`; the full end-to-end suite remains pending on that version and the older three versions.
166
+ Development and builds target `0.2.1-rc.2`. `npm run test:compat` builds with that baseline and runs the test suite on each of the four isolated host versions, using a test model adapter. DOM component tests do not replace live-browser acceptance.
166
167
 
167
168
  GitHub and npm both include a ready-to-run `lib`; after changing source, run `npm run build` before committing.
168
169
 
package/README.zh-CN.md CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  </div>
18
18
 
19
- > DSH BTW 是社区维护的 DeepSeek Harness 插件,并非 DeepSeek AI 官方产品。在当前会话中输入 `/btw 问题`,即可基于已有上下文获得独立气泡回答,不打断主任务。支持 DSH Web 及集成 DSH Web 的桌面应用。
19
+ > DSH BTW 是社区维护的 DeepSeek Harness 插件,并非 DeepSeek AI 官方产品。在当前会话中输入 `/btw 问题`,即可基于已有上下文获得独立气泡回答,不打断主任务。支持 DSH Web 及集成 DSH Web 的桌面应用。`1.0.0` 起,不在支持列表中的宿主会被版本门拒绝,插件不会运行;已安装配置和主会话记录仍保留。
20
20
 
21
21
  ## 功能概览
22
22
 
@@ -68,7 +68,8 @@
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 || 0.2.1-alpha.2 || 0.2.1-alpha.3`。
71
+ - `1.0.0` 已验证兼容 DeepSeek Harness `0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-rc.1`、`0.2.1-rc.2`。
72
+ - 不再支持 `0.2.0` 之前的宿主,也不支持 `0.2.1` 的 alpha。这些宿主会被版本门拒绝,插件不会加载、不会运行。已安装配置和主会话记录仍保留。仍在使用 `0.1.x` 的,请安装插件 `0.1.24`,不要装 `@latest`。
72
73
  - Node.js 22+,可在终端执行 `dsh`。
73
74
 
74
75
  ## 安装
@@ -96,6 +97,8 @@ dsh plugin --profile web add @michengai/dsh-btw@latest --registry=https://regist
96
97
 
97
98
  请在当前任务结束后安装或更新,桌面应用可能自动重载。若未生效,使用桌面应用的“重新加载”,或重启 `dsh web` 服务;仅刷新浏览器不够。
98
99
 
100
+ `0.2.0` 之前的宿主,以及 `0.2.1` alpha,安装 `@latest` 会被版本门拒绝,插件不会运行。`0.1.x` 请改装 `0.1.24`。拒绝不会删除已有配置或主会话记录。
101
+
99
102
  ## 使用
100
103
 
101
104
  ### 划词旁问
@@ -108,7 +111,7 @@ dsh plugin --profile web add @michengai/dsh-btw@latest --registry=https://regist
108
111
  - 横条还提供「添加到对话」,将引用追加到已有草稿并聚焦输入框,不自动发送;消息提交期间暂停添加。右键保留浏览器原有菜单。
109
112
  - 支持焦点位于正文元素内的键盘选区,释放 Shift 后聚焦横条。不支持 Popover API 的浏览器使用 fixed 浮层降级,可能受到宿主布局裁切。
110
113
  - 与 `dsh-better-sidebar` 分区域处理:BTW 仅处理会话正文,文件预览与编辑器保留侧边栏插件原有「添加到对话」选项,不重复弹出工具条。
111
- - 新入口依赖宿主正文 DOM 标记,已在 DSH `0.1.5-rc.2` + Edge 验证正文划词横条、添加引用、提问及真实模型回答;无法识别的布局保留原有右键行为,仍可使用 `/btw`。
114
+ - 新入口依赖宿主正文 DOM 标记。无法识别的布局保留原有右键行为,仍可使用 `/btw`。
112
115
 
113
116
  ### 命令旁问
114
117
 
@@ -159,9 +162,7 @@ npm run check
159
162
 
160
163
  `npm run check` 执行类型检查、测试和构建。
161
164
 
162
- 开发与构建基线为 `0.2.0-rc.2`。`npm run test:compat` 用该基线编译,再在八个隔离宿主版本中分别运行测试集,模型使用测试适配器。DOM 组件测试不替代真实浏览器验收。
163
-
164
- 此前在 `0.1.5-rc.1` 上完成真实 Edge 与 DeepSeek 模型的手工端到端验收,旁问、附件拒绝、复制、折叠/展开、取消和父会话继续均通过。这不属于 `npm run test:compat`;随后在 `0.1.5-rc.2` 验证了划词横条、添加引用、侧边栏共存及真实模型旁问回答;该版本与旧三版的完整端到端用例仍未全部验收。
165
+ 开发与构建基线为 `0.2.1-rc.2`。`npm run test:compat` 用该基线编译,再在四个隔离宿主版本中分别运行测试集,模型使用测试适配器。DOM 组件测试不替代真实浏览器验收。
165
166
 
166
167
  GitHub 与 npm 都包含可直接运行的 `lib`;改了源码后,提交前运行 `npm run build`。
167
168