dsh-baton-host 0.6.10 → 0.6.11
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 +14 -61
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,76 +1,29 @@
|
|
|
1
|
-
<p align="center">
|
|
2
|
-
<img src="https://raw.githubusercontent.com/JialaoLiu/dsh-baton/main/assets/readme/en/hero.gif" width="100%" alt="dsh-baton: pass the baton from Claude Code or Codex to DeepSeek Harness, watch it run live, and get it handed back when it's done">
|
|
3
|
-
</p>
|
|
4
|
-
|
|
5
|
-
<p align="center">
|
|
6
|
-
<a href="https://github.com/JialaoLiu/dsh-baton#readme">dsh-baton</a> · <a href="https://github.com/JialaoLiu/dsh-baton/blob/main/README.zh-CN.md">中文说明</a>
|
|
7
|
-
</p>
|
|
8
|
-
|
|
9
|
-
<p align="center">
|
|
10
|
-
macOS · Windows (<a href="https://github.com/JialaoLiu/dsh-baton/blob/main/WINDOWS.md">guide</a>) · no Node.js needed · zero dependencies · MIT
|
|
11
|
-
</p>
|
|
12
|
-
|
|
13
1
|
# dsh-baton-host
|
|
14
2
|
|
|
15
|
-
|
|
3
|
+
Hand coding tasks from Claude Code or Codex to DeepSeek Harness: they run live in this window and come back with the changed files and test results. [Full guide](https://github.com/JialaoLiu/dsh-baton#readme)
|
|
16
4
|
|
|
17
|
-
DeepSeek Harness
|
|
18
|
-
|
|
19
|
-
<p align="center">
|
|
20
|
-
<img src="https://raw.githubusercontent.com/JialaoLiu/dsh-baton/main/assets/readme/en/features.svg" width="100%" alt="Create workspaces and sessions, continue a session, run live in the Harness UI labelled with the sender, get woken when it is done, no extra API key, macOS and Windows with zero dependencies">
|
|
21
|
-
</p>
|
|
5
|
+
让 Claude Code 或 Codex 把编码任务交给 DeepSeek Harness:任务在这个窗口里实时跑,做完带着改动文件和测试结果交回去。[完整说明](https://github.com/JialaoLiu/dsh-baton/blob/main/README.zh-CN.md)
|
|
22
6
|
|
|
23
7
|
## Install / 安装
|
|
24
8
|
|
|
25
|
-
|
|
26
|
-
<img src="https://raw.githubusercontent.com/JialaoLiu/dsh-baton/main/assets/readme/en/install.svg" width="100%" alt="Step 1: in Harness open Plugins, Add plugin, enter dsh-baton-host, Install, Enable now; it registers dsh-baton for Claude Code and Codex. Step 2: in a new chat, ask for dsh_list_workspaces">
|
|
27
|
-
</p>
|
|
28
|
-
|
|
29
|
-
Harness → Plugins / 插件 → Add plugin / 添加插件 → `dsh-baton-host` → Install / 安装 → Enable now / 立即启用
|
|
30
|
-
|
|
31
|
-
That is the whole install: switched on, the plugin registers the dsh-baton MCP server (the `dsh-baton-mcp` package, installed with it) for Claude Code and Codex, user-wide, and Harness says so. New conversations then have the `dsh_*` tools. If it could not register, run `npx -y dsh-baton-mcp setup`. Details: [dsh-baton](https://github.com/JialaoLiu/dsh-baton#install-details).
|
|
32
|
-
|
|
33
|
-
装好就完成了:插件启用时会为 Claude Code 和 Codex 注册 dsh-baton MCP 服务器(`dsh-baton-mcp` 包,随插件一起安装),Harness 里会提示。新开的对话就有 `dsh_*` 工具。没能注册的话,运行 `npx -y dsh-baton-mcp setup`。详见 [dsh-baton](https://github.com/JialaoLiu/dsh-baton/blob/main/README.zh-CN.md#安装细节)。
|
|
34
|
-
|
|
35
|
-
Codex needs nothing extra: from 0.6.4 it waits for a run in one `dsh_wait` call of up to 59 minutes, with no hook to trust. / Codex 不用额外设置:从 0.6.4 起一次 `dsh_wait` 最长等 59 分钟,不需要信任钩子。
|
|
36
|
-
|
|
37
|
-
Update / 更新: uninstall, then add it again; the MCP server is updated with it. Right after a release, type the exact version, such as `dsh-baton-host@0.6.4`. / 先卸载再重新添加,MCP 服务器会一起更新;刚发版时请输入完整版本号,例如 `dsh-baton-host@0.6.4`。
|
|
38
|
-
|
|
39
|
-
Remove / 卸载: uninstall, then `npx -y dsh-baton-mcp setup --remove` / 卸载插件后运行 `npx -y dsh-baton-mcp setup --remove`.
|
|
9
|
+
**Install / 安装**: Plugins / 插件 → Add plugin / 添加插件 → `dsh-baton-host` → Install / 安装 → Enable now / 立即启用. That registers dsh-baton for Claude Code and Codex. / 启用后会为 Claude Code 和 Codex 注册 dsh-baton。
|
|
40
10
|
|
|
41
|
-
|
|
11
|
+
**Check / 验证**:
|
|
12
|
+
1. Open a new chat in Claude Code or Codex; Codex asks once to approve the dsh-baton tools. / 在 Claude Code 或 Codex 里新开对话,Codex 第一次会请你批准 dsh-baton 的工具。
|
|
13
|
+
2. Ask it to call `dsh_list_workspaces`; it lists your Harness workspaces. / 让它调用 `dsh_list_workspaces`,会列出你的 Harness 工作区。
|
|
42
14
|
|
|
43
|
-
|
|
44
|
-
<img src="https://raw.githubusercontent.com/JialaoLiu/dsh-baton/main/assets/readme/en/architecture.gif" width="100%" alt="MCP clients call dsh-baton-mcp over stdio; it reaches the dsh-baton-host plugin inside Harness through an owner-only local socket; the plugin drives Harness sessions live, with dsh headless as fallback">
|
|
45
|
-
</p>
|
|
15
|
+
Not registered? / 没能注册?Run `npx -y dsh-baton-mcp setup`.
|
|
46
16
|
|
|
47
|
-
##
|
|
17
|
+
## Update / 更新
|
|
48
18
|
|
|
49
|
-
|
|
19
|
+
Version → **Update to x.y.z** (press **Recheck** first if it says up to date). On Harness 0.2.1: uninstall, then add `dsh-baton-host@x.y.z`.
|
|
50
20
|
|
|
51
|
-
|
|
52
|
-
|---|---|
|
|
53
|
-
| `ping` | — |
|
|
54
|
-
| `workspaces` | — |
|
|
55
|
-
| `create_workspace` | `path`, `title?`, `create_dir?` (default `true`) |
|
|
56
|
-
| `list_sessions` | `cwd?`, `query?`, `limit?` |
|
|
57
|
-
| `read_session` | `session_id`, `last?` |
|
|
58
|
-
| `models` | — |
|
|
59
|
-
| `send` | `message`, and `session_id` or `cwd` or `workspace_id`; `mode?` (`followup` \| `steer`; left out, Harness's busy-send setting, else `followup`) |
|
|
60
|
-
| `status` | `run_id`, `tail?` |
|
|
61
|
-
| `wait` | `run_id`, `timeout_s?` |
|
|
62
|
-
| `activity` | `session_id` |
|
|
63
|
-
| `cancel` | `run_id` or `session_id` |
|
|
64
|
-
| `rename_session` | `session_id`, `title` |
|
|
65
|
-
| `rename_workspace` | `workspace_id` or `path`, `title` |
|
|
66
|
-
| `list_runs` | `session_id?`, `limit?` |
|
|
67
|
-
| `answer` | `run_id`, `answers` (`[{ id?, choose?, text?, skip? }]`) |
|
|
68
|
-
| `update_queued` | `run_id`, `action` (`edit` \| `remove` \| `steer`), `message?` (for `edit`) |
|
|
21
|
+
版本一栏 → **更新到 x.y.z**(显示已是最新时先点 **重新检查**)。Harness 0.2.1:先卸载,再添加 `dsh-baton-host@x.y.z`。
|
|
69
22
|
|
|
70
|
-
|
|
23
|
+
## Remove / 卸载
|
|
71
24
|
|
|
72
|
-
|
|
25
|
+
Uninstall, then run `npx -y dsh-baton-mcp setup --remove`. / 卸载插件后运行 `npx -y dsh-baton-mcp setup --remove`。
|
|
73
26
|
|
|
74
|
-
|
|
27
|
+
---
|
|
75
28
|
|
|
76
|
-
MIT
|
|
29
|
+
[Socket protocol / 套接字协议](https://github.com/JialaoLiu/dsh-baton/blob/main/host/PROTOCOL.md) · MIT
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-baton-host",
|
|
3
|
-
"version": "0.6.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.6.11",
|
|
4
|
+
"description": "Hand coding tasks from Claude Code or Codex to DeepSeek Harness: they run live in the Harness window and come back with the changed files and test results.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"exports": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"LICENSE"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"dsh-baton-mcp": "0.6.
|
|
23
|
+
"dsh-baton-mcp": "0.6.11"
|
|
24
24
|
},
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dsh": {
|