relay-dsh-plugin-claude 0.2.0 → 0.2.1

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
@@ -1,10 +1,10 @@
1
1
  # Claude Code Conversations for DeepSeek Harness
2
2
 
3
- > **Now supports the latest DSH `0.1.2-alpha.2`.** The same plugin release is verified on DSH `0.1.2-alpha.2` and `0.1.1-rc.2`. [Install it and try the latest DSH](https://www.npmjs.com/package/relay-dsh-plugin-claude) · [Compatibility details](docs/dsh-0.1.2-alpha.2.md).
3
+ > **Now supports the latest DSH `0.1.2-alpha.3`.** Plugin `0.2.1` is verified on DSH `0.1.2-alpha.3`, `0.1.2-alpha.2`, and `0.1.1-rc.2`. [Install it and try the latest DSH](https://www.npmjs.com/package/relay-dsh-plugin-claude) · [Compatibility details](docs/dsh-0.1.2-alpha.3.md).
4
4
 
5
5
  ```bash
6
- npx @deepseek-ai/dsh@0.1.2-alpha.2 plugin --profile web add relay-dsh-plugin-claude@0.2.0
7
- npx @deepseek-ai/dsh@0.1.2-alpha.2 web
6
+ npx @deepseek-ai/dsh@0.1.2-alpha.3 plugin --profile web add relay-dsh-plugin-claude@0.2.1
7
+ npx @deepseek-ai/dsh@0.1.2-alpha.3 web
8
8
  ```
9
9
 
10
10
  [![npm version](https://img.shields.io/npm/v/relay-dsh-plugin-claude?label=npm)](https://www.npmjs.com/package/relay-dsh-plugin-claude)
@@ -12,8 +12,8 @@ npx @deepseek-ai/dsh@0.1.2-alpha.2 web
12
12
  [![npm downloads](https://img.shields.io/npm/dm/relay-dsh-plugin-claude?label=downloads)](https://www.npmjs.com/package/relay-dsh-plugin-claude)
13
13
  [![GitHub stars](https://img.shields.io/github/stars/yangbobo2021/relay-dsh-plugin-claude?style=flat)](https://github.com/yangbobo2021/relay-dsh-plugin-claude/stargazers)
14
14
  [![MIT license](https://img.shields.io/github/license/yangbobo2021/relay-dsh-plugin-claude)](LICENSE)
15
- [![DSH compatibility](https://img.shields.io/badge/DSH-0.1.1--rc.2%20%7C%200.1.2--alpha.2-2f7d68)](https://github.com/deepseek-ai/deepseek-harness)
16
- [![npm provenance](https://img.shields.io/badge/npm_provenance-verified-2f9e44)](https://www.npmjs.com/package/relay-dsh-plugin-claude/v/0.1.5)
15
+ [![DSH compatibility](https://img.shields.io/badge/DSH-0.1.1--rc.2%20%7C%200.1.2--alpha.2%20%7C%200.1.2--alpha.3-2f7d68)](https://github.com/deepseek-ai/deepseek-harness)
16
+ [![npm provenance](https://img.shields.io/badge/npm_provenance-verified-2f9e44)](https://www.npmjs.com/package/relay-dsh-plugin-claude/v/0.2.1)
17
17
 
18
18
  English | [中文](README.zh.md)
19
19
 
@@ -34,11 +34,11 @@ is required.
34
34
 
35
35
  Complete normal Claude Code authentication with `claude` before the first
36
36
  Session. The install requires Node.js 22.13 or newer and `pnpm` on `PATH`. Then
37
- stop DSH Web, install the tested release candidate, and restart DSH:
37
+ stop DSH Web, install the tested stable release, and restart DSH:
38
38
 
39
39
  ```bash
40
- npx @deepseek-ai/dsh@0.1.1-rc.2 plugin --profile web add relay-dsh-plugin-claude@next
41
- npx @deepseek-ai/dsh@0.1.1-rc.2 web
40
+ npx @deepseek-ai/dsh@0.1.2-alpha.3 plugin --profile web add relay-dsh-plugin-claude@latest
41
+ npx @deepseek-ai/dsh@0.1.2-alpha.3 web
42
42
  ```
43
43
 
44
44
  Open **New Session**, select a workspace, choose **Claude Code** from the mode
@@ -113,10 +113,10 @@ The published npm package name is
113
113
  Use `@latest` to install the current stable release:
114
114
 
115
115
  ```bash
116
- npx @deepseek-ai/dsh@0.1.1-rc.2 plugin --profile web add relay-dsh-plugin-claude@latest
116
+ npx @deepseek-ai/dsh@0.1.2-alpha.3 plugin --profile web add relay-dsh-plugin-claude@latest
117
117
  ```
118
118
 
119
- At the time of writing, `latest` resolves to stable version `0.1.5`. The linked
119
+ At the time of writing, `latest` resolves to stable version `0.2.1`. The linked
120
120
  npm page is the source of truth for the current version.
121
121
 
122
122
  #### npm prerelease (recommended during DSH preview)
@@ -126,24 +126,24 @@ CI publishing and official DSH compatibility checks. The current candidate also
126
126
  contains the latest model-selection synchronization fix:
127
127
 
128
128
  ```bash
129
- npx @deepseek-ai/dsh@0.1.1-rc.2 plugin --profile web add relay-dsh-plugin-claude@next
129
+ npx @deepseek-ai/dsh@0.1.2-alpha.3 plugin --profile web add relay-dsh-plugin-claude@next
130
130
  ```
131
131
 
132
- At the time of writing, `next` resolves to `0.1.5`.
132
+ At the time of writing, `next` resolves to `0.2.0-rc.1`.
133
133
 
134
134
  #### GitHub development build
135
135
 
136
136
  Install the current `main` branch when testing an unreleased change:
137
137
 
138
138
  ```bash
139
- npx @deepseek-ai/dsh@0.1.1-rc.2 plugin --profile web add github:yangbobo2021/relay-dsh-plugin-claude#main
139
+ npx @deepseek-ai/dsh@0.1.2-alpha.3 plugin --profile web add github:yangbobo2021/relay-dsh-plugin-claude#main
140
140
  ```
141
141
 
142
142
  `main` can change at any time. For a reproducible GitHub install, pin a Tag or
143
143
  full Commit SHA instead. For example:
144
144
 
145
145
  ```bash
146
- npx @deepseek-ai/dsh@0.1.1-rc.2 plugin --profile web add github:yangbobo2021/relay-dsh-plugin-claude#v0.1.5
146
+ npx @deepseek-ai/dsh@0.1.2-alpha.3 plugin --profile web add github:yangbobo2021/relay-dsh-plugin-claude#v0.2.1
147
147
  ```
148
148
 
149
149
  The official DSH CLI initializes the `web` Profile if it does not exist, asks
@@ -152,12 +152,12 @@ adds the plugin's bundle layer. No Relay checkout is required. The first
152
152
  installation can take longer while platform-specific Claude Agent SDK packages
153
153
  are downloaded; wait for pnpm's final `Done` message or an explicit error. If
154
154
  you already installed the `dsh` command, replace the
155
- `npx @deepseek-ai/dsh@0.1.1-rc.2` prefix with `dsh` in any command above.
155
+ `npx @deepseek-ai/dsh@0.1.2-alpha.3` prefix with `dsh` in any command above.
156
156
 
157
157
  ### 3. Start or restart DSH Web
158
158
 
159
159
  ```bash
160
- npx @deepseek-ai/dsh@0.1.1-rc.2 web
160
+ npx @deepseek-ai/dsh@0.1.2-alpha.3 web
161
161
  ```
162
162
 
163
163
  If you use an installed command, run `dsh web` instead. Bundle membership is read
@@ -307,7 +307,7 @@ dsh plugin --profile web update relay-dsh-plugin-claude
307
307
  dsh plugin --profile web remove relay-dsh-plugin-claude
308
308
  ```
309
309
 
310
- Use the `npx @deepseek-ai/dsh@0.1.1-rc.2` prefix instead of `dsh` when you do not
310
+ Use the `npx @deepseek-ai/dsh@0.1.2-alpha.3` prefix instead of `dsh` when you do not
311
311
  have a persistent DSH command.
312
312
 
313
313
  ## Troubleshooting
@@ -357,12 +357,12 @@ tests reject accidental runtime dependencies on Relay or another feature plugin.
357
357
  Report bugs and feature requests in this repository's
358
358
  [issue tracker](https://github.com/yangbobo2021/relay-dsh-plugin-claude/issues).
359
359
 
360
- ### New candidate installation (available only after publication)
360
+ ### Published stable installation
361
361
 
362
- The same candidate targets DSH `0.1.1-rc.2` and `0.1.2-alpha.2`; this version and Git tag are not published yet.
362
+ Stable `0.2.1` targets DSH `0.1.1-rc.2`, `0.1.2-alpha.2`, and `0.1.2-alpha.3`; install it from npm `latest` or Git tag `v0.2.1`.
363
363
 
364
364
  ```sh
365
- npx @deepseek-ai/dsh@0.1.2-alpha.2 plugin --profile web add relay-dsh-plugin-claude@next
365
+ npx @deepseek-ai/dsh@0.1.2-alpha.3 plugin --profile web add relay-dsh-plugin-claude@latest
366
366
  # Git tag alternative, after publication:
367
- npx @deepseek-ai/dsh@0.1.2-alpha.2 plugin --profile web add github:yangbobo2021/relay-dsh-plugin-claude#v0.2.0
367
+ npx @deepseek-ai/dsh@0.1.2-alpha.3 plugin --profile web add github:yangbobo2021/relay-dsh-plugin-claude#v0.2.1
368
368
  ```
package/README.zh.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # 在 DeepSeek Harness 中使用 Claude Code 对话
2
2
 
3
- > **现已支持最新 DSH `0.1.2-alpha.2`。** 同一插件版本已在 DSH `0.1.2-alpha.2` 与 `0.1.1-rc.2` 上完成兼容验证。[安装插件,立即体验最新版 DSH](https://www.npmjs.com/package/relay-dsh-plugin-claude) · [兼容性详情](docs/dsh-0.1.2-alpha.2.md)。
3
+ > **现已支持最新 DSH `0.1.2-alpha.3`。** 插件 `0.2.1` 已在 DSH `0.1.2-alpha.3`、`0.1.2-alpha.2` 与 `0.1.1-rc.2` 上完成兼容验证。[安装插件,立即体验最新版 DSH](https://www.npmjs.com/package/relay-dsh-plugin-claude) · [兼容性详情](docs/dsh-0.1.2-alpha.3.md)。
4
4
 
5
5
  ```bash
6
- npx @deepseek-ai/dsh@0.1.2-alpha.2 plugin --profile web add relay-dsh-plugin-claude@0.2.0
7
- npx @deepseek-ai/dsh@0.1.2-alpha.2 web
6
+ npx @deepseek-ai/dsh@0.1.2-alpha.3 plugin --profile web add relay-dsh-plugin-claude@0.2.1
7
+ npx @deepseek-ai/dsh@0.1.2-alpha.3 web
8
8
  ```
9
9
 
10
10
  [![npm 版本](https://img.shields.io/npm/v/relay-dsh-plugin-claude?label=npm)](https://www.npmjs.com/package/relay-dsh-plugin-claude)
@@ -12,8 +12,8 @@ npx @deepseek-ai/dsh@0.1.2-alpha.2 web
12
12
  [![npm 月下载量](https://img.shields.io/npm/dm/relay-dsh-plugin-claude?label=downloads)](https://www.npmjs.com/package/relay-dsh-plugin-claude)
13
13
  [![GitHub Stars](https://img.shields.io/github/stars/yangbobo2021/relay-dsh-plugin-claude?style=flat)](https://github.com/yangbobo2021/relay-dsh-plugin-claude/stargazers)
14
14
  [![MIT 许可证](https://img.shields.io/github/license/yangbobo2021/relay-dsh-plugin-claude)](LICENSE)
15
- [![DSH 兼容版本](https://img.shields.io/badge/DSH-0.1.1--rc.2%20%7C%200.1.2--alpha.2-2f7d68)](https://github.com/deepseek-ai/deepseek-harness)
16
- [![npm 来源证明](https://img.shields.io/badge/npm_provenance-verified-2f9e44)](https://www.npmjs.com/package/relay-dsh-plugin-claude/v/0.1.5)
15
+ [![DSH 兼容版本](https://img.shields.io/badge/DSH-0.1.1--rc.2%20%7C%200.1.2--alpha.2%20%7C%200.1.2--alpha.3-2f7d68)](https://github.com/deepseek-ai/deepseek-harness)
16
+ [![npm 来源证明](https://img.shields.io/badge/npm_provenance-verified-2f9e44)](https://www.npmjs.com/package/relay-dsh-plugin-claude/v/0.2.1)
17
17
 
18
18
  [English](README.md) | 中文
19
19
 
@@ -33,11 +33,11 @@ Agent SDK Session。本插件可独立安装,不需要下载 Relay 仓库。
33
33
 
34
34
  首次创建 Session 前,请先运行 `claude` 完成 Claude Code 的正常认证。安装
35
35
  要求 Node.js 22.13 或更高版本,并且 `pnpm` 已加入 `PATH`。然后停止 DSH Web,
36
- 安装经过测试的候选版本并重新启动:
36
+ 安装经过测试的稳定版本并重新启动:
37
37
 
38
38
  ```bash
39
- npx @deepseek-ai/dsh@0.1.1-rc.2 plugin --profile web add relay-dsh-plugin-claude@next
40
- npx @deepseek-ai/dsh@0.1.1-rc.2 web
39
+ npx @deepseek-ai/dsh@0.1.2-alpha.3 plugin --profile web add relay-dsh-plugin-claude@latest
40
+ npx @deepseek-ai/dsh@0.1.2-alpha.3 web
41
41
  ```
42
42
 
43
43
  打开 **New Session**,选择工作区,再从模式菜单中选择 **Claude Code** 并发送
@@ -108,10 +108,10 @@ claude
108
108
  使用 `@latest` 安装当前稳定版本:
109
109
 
110
110
  ```bash
111
- npx @deepseek-ai/dsh@0.1.1-rc.2 plugin --profile web add relay-dsh-plugin-claude@latest
111
+ npx @deepseek-ai/dsh@0.1.2-alpha.3 plugin --profile web add relay-dsh-plugin-claude@latest
112
112
  ```
113
113
 
114
- 本文更新时,`latest` 指向稳定版 `0.1.5`。最新版本请以链接中的 npm 页面
114
+ 本文更新时,`latest` 指向稳定版 `0.2.1`。最新版本请以链接中的 npm 页面
115
115
  为准。
116
116
 
117
117
  #### npm 预发布版(DSH 预览阶段推荐)
@@ -120,24 +120,24 @@ npx @deepseek-ai/dsh@0.1.1-rc.2 plugin --profile web add relay-dsh-plugin-claude
120
120
  候选版本。当前候选版本还包含最新的模型选择同步修复:
121
121
 
122
122
  ```bash
123
- npx @deepseek-ai/dsh@0.1.1-rc.2 plugin --profile web add relay-dsh-plugin-claude@next
123
+ npx @deepseek-ai/dsh@0.1.2-alpha.3 plugin --profile web add relay-dsh-plugin-claude@next
124
124
  ```
125
125
 
126
- 本文更新时,`next` 指向 `0.1.5`。
126
+ 本文更新时,`next` 指向 `0.2.0-rc.1`。
127
127
 
128
128
  #### GitHub 开发版
129
129
 
130
130
  如需测试尚未发布的修改,可以直接安装当前 `main` 分支:
131
131
 
132
132
  ```bash
133
- npx @deepseek-ai/dsh@0.1.1-rc.2 plugin --profile web add github:yangbobo2021/relay-dsh-plugin-claude#main
133
+ npx @deepseek-ai/dsh@0.1.2-alpha.3 plugin --profile web add github:yangbobo2021/relay-dsh-plugin-claude#main
134
134
  ```
135
135
 
136
136
  `main` 会持续变化。如需可复现的 GitHub 安装,请固定 Tag 或完整 Commit
137
137
  SHA。例如:
138
138
 
139
139
  ```bash
140
- npx @deepseek-ai/dsh@0.1.1-rc.2 plugin --profile web add github:yangbobo2021/relay-dsh-plugin-claude#v0.1.5
140
+ npx @deepseek-ai/dsh@0.1.2-alpha.3 plugin --profile web add github:yangbobo2021/relay-dsh-plugin-claude#v0.2.1
141
141
  ```
142
142
 
143
143
  官方 DSH CLI 会在需要时初始化 `web` Profile,通过 `pnpm` 安装所选软件包和
@@ -145,12 +145,12 @@ Claude Agent SDK 依赖,并将插件加入 Bundle 配置。用户不需要下
145
145
  仓库。首次安装还会下载 Claude Agent SDK 的平台相关软件包,可能需要更长
146
146
  时间;请等待 pnpm 最终显示 `Done` 或明确错误。如果已经安装了持久可用的
147
147
  `dsh` 命令,可以将上述任一命令开头的
148
- `npx @deepseek-ai/dsh@0.1.1-rc.2` 替换为 `dsh`。
148
+ `npx @deepseek-ai/dsh@0.1.2-alpha.3` 替换为 `dsh`。
149
149
 
150
150
  ### 3. 启动或重启 DSH Web
151
151
 
152
152
  ```bash
153
- npx @deepseek-ai/dsh@0.1.1-rc.2 web
153
+ npx @deepseek-ai/dsh@0.1.2-alpha.3 web
154
154
  ```
155
155
 
156
156
  如果使用已经安装的命令,则执行 `dsh web`。DSH 只在启动时读取 Bundle
@@ -277,7 +277,7 @@ dsh plugin --profile web remove relay-dsh-plugin-claude
277
277
  ```
278
278
 
279
279
  如果没有持久安装 `dsh` 命令,请将命令开头的 `dsh` 替换为
280
- `npx @deepseek-ai/dsh@0.1.1-rc.2`。
280
+ `npx @deepseek-ai/dsh@0.1.2-alpha.3`。
281
281
 
282
282
  ## 常见问题
283
283
 
@@ -327,12 +327,12 @@ npm pack
327
327
  [Issue Tracker](https://github.com/yangbobo2021/relay-dsh-plugin-claude/issues)
328
328
  报告错误或提出功能建议。
329
329
 
330
- ### 新候选版安装(发布后才可用)
330
+ ### 已发布稳定版安装
331
331
 
332
- 同一候选面向 DSH `0.1.1-rc.2` 和 `0.1.2-alpha.2`;此版本和 Git Tag 目前尚未发布。
332
+ 稳定版 `0.2.1` 面向 DSH `0.1.1-rc.2`、`0.1.2-alpha.2` 和 `0.1.2-alpha.3`;可通过 npm `latest` 或 Git Tag `v0.2.1` 安装。
333
333
 
334
334
  ```sh
335
- npx @deepseek-ai/dsh@0.1.2-alpha.2 plugin --profile web add relay-dsh-plugin-claude@next
335
+ npx @deepseek-ai/dsh@0.1.2-alpha.3 plugin --profile web add relay-dsh-plugin-claude@latest
336
336
  # Git tag alternative, after publication:
337
- npx @deepseek-ai/dsh@0.1.2-alpha.2 plugin --profile web add github:yangbobo2021/relay-dsh-plugin-claude#v0.2.0
337
+ npx @deepseek-ai/dsh@0.1.2-alpha.3 plugin --profile web add github:yangbobo2021/relay-dsh-plugin-claude#v0.2.1
338
338
  ```
@@ -1,11 +1,12 @@
1
- # DSH 双版本兼容
1
+ # DSH 三版本兼容
2
2
 
3
- 同一个 `0.2.0` 稳定包的兼容目标:
3
+ 同一个 `0.2.1` 稳定包的兼容目标:
4
4
 
5
5
  | DSH | 官方提交 |
6
6
  | --- | --- |
7
7
  | `0.1.1-rc.2` | `b150a551b8d465e31e418e1b2eaf5e79bbb7d28e` |
8
8
  | `0.1.2-alpha.2` | `0a53fb55bea101816fa226bb964ae2bed71c343b` |
9
+ | `0.1.2-alpha.3` | `dd6322d604e00eec1ba5e0c8541159906a21094a` |
9
10
 
10
11
  不按 DSH 版本分别发包;不要求旧用户先升级管理器。没有自定义精确版本白名单。
11
12
  DSH 可选 peer 使用版本范围表达声明,不把它当成旧宿主必然执行的安装拦截。
@@ -13,14 +14,16 @@ DSH 可选 peer 使用版本范围表达声明,不把它当成旧宿主必然
13
14
 
14
15
  ## 本插件变更
15
16
 
17
+ `0.2.1` 不改变既有运行时功能;本次补丁公开记录 `0.1.2-alpha.3` 验收结果,并把发布 CI 的官方 DSH 基线更新到对应提交。
18
+
16
19
  导入历史的工具调用 ID 兼容两种 Host 导出;前端事件服务及会话预设读取兼容两种接口;模型切换保持取消和过期结果隔离。真实 Claude 图片识别与 fork 上下文继承按用户要求暂缓,没有标为通过。
17
20
 
18
21
  ## 验收方式与边界
19
22
 
20
- 开发类型检查及构建使用准备好的官方 `0.1.2-alpha.2` 源码。构建一次后,将相同 tarball
21
- 分别安装到两版官方 DSH 的独立临时 profile,检查 Host 启动、浏览器装配、功能注册及
23
+ 开发类型检查及构建使用准备好的官方 `0.1.2-alpha.3` 源码。构建一次后,将相同 tarball
24
+ 分别安装到三版官方 DSH 的独立临时 profile,检查 Host 启动、浏览器装配、功能注册及
22
25
  适用的受控功能;不修改官方源码或日常运行环境。
23
- 跨插件结果在 Relay 的 `dsh-lab/dual-compatibility-20260831/` 中记录;插件独立测试命令:
26
+ 跨插件结果在 Relay 的 `dsh-lab/dsh-0.1.2-alpha.3-20260901/` 中记录;插件独立测试命令:
24
27
 
25
28
  ```sh
26
29
  npm ci --ignore-scripts
@@ -29,6 +32,6 @@ export DSH_ROOT=/path/to/prepared/official/deepseek-harness
29
32
  npm run verify
30
33
  ```
31
34
 
32
- 两版核心回归不等于所有外部服务、平台或未来 DSH 版本均已验证。
35
+ 三版核心回归不等于所有外部服务、平台或未来 DSH 版本均已验证。
33
36
  Claude 真实识图/fork 仍暂缓;Codex Default 模式原生提问限制、Workbench 刷新后尺寸不保留
34
- 均不在本次兼容修复中关闭。所有公开 npm/GitHub 发布后的完整升级路径也需要发布后再验收。
37
+ 均不在本次兼容修复中关闭。公开 npm/GitHub 发布后的完整升级路径将在发布完成后再次验收。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "relay-dsh-plugin-claude",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Claude Code integration plugin for DeepSeek Harness, providing native Claude conversations powered by the Claude Agent SDK, with model selection, approvals, questions, tools, and session continuation.",
5
5
  "keywords": [
6
6
  "dsh-plugin",
@@ -58,7 +58,7 @@
58
58
  "lib/host-plugin.js.map",
59
59
  "lib/typert.host.js",
60
60
  "lib/typert.host.js.map",
61
- "docs/dsh-0.1.2-alpha.2.md",
61
+ "docs/dsh-0.1.2-alpha.3.md",
62
62
  "dsh-compat.mjs",
63
63
  "dsh-client-compat.mjs",
64
64
  "dsh-client-compat.d.mts"
@@ -93,7 +93,7 @@
93
93
  "@anthropic-ai/claude-agent-sdk": "^0.3.241",
94
94
  "@anthropic-ai/sdk": "^0.120.0",
95
95
  "@modelcontextprotocol/sdk": "^1.29.0",
96
- "relay-dsh-plugin-session-import": "0.2.0",
96
+ "relay-dsh-plugin-session-import": "0.2.1",
97
97
  "sharp": "^0.35.3",
98
98
  "zod": "4.4.3"
99
99
  },