@ran-sh/dsh-crew 0.3.7 → 0.3.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
@@ -1,124 +1,93 @@
1
- <p align="center">
2
- <img src="./docs/images/dsh-crew-logo.png" alt="DSH Crew" width="120" />
3
- </p>
1
+ <p align="center"><img src="./docs/images/dsh-crew-logo.png" alt="DSH Crew" width="120" /></p>
4
2
 
5
3
  <h1 align="center">DSH Crew</h1>
6
4
 
7
- <p align="center"><strong>Let Codex Desktop or Claude Code coordinate isolated DeepSeek Harness workers and reviewers.</strong></p>
5
+ <p align="center"><strong>Workers and reviewers for Codex Desktop and Claude Code, shown inside the official DeepSeek Harness UI.</strong></p>
8
6
 
9
7
  <p align="center"><a href="./README.md"><b>English</b></a> · <a href="./README.zh.md">简体中文</a></p>
10
8
 
11
- ## What you get
12
-
13
- - A `worker` for implementation, fixes, tests, and repository inspection.
14
- - A read-only `reviewer` with its own model priority.
15
- - Ordered provider/model routing for both roles.
16
- - Temporary Git worktrees by default, so workers do not edit your main workspace directly.
17
- - A live settings and jobs panel inside DeepSeek Harness.
18
-
19
- ## Install
9
+ ## Quick start
20
10
 
21
11
  Requirements: Node.js; Git is required for worktree isolation.
22
12
 
23
13
  ```bash
24
14
  npm install -g @ran-sh/dsh-crew@latest
25
15
  dsh-crew install
16
+ dsh-crew integrate
26
17
  ```
27
18
 
28
- Use the global launcher. Transient `npx` execution is not the supported install path on npm versions affected by npm/cli#9870.
29
-
30
- ## Start Harness
31
-
32
- Windows PowerShell:
33
-
34
- ```powershell
35
- $env:DSH_HOME = "$HOME\.config\dsh-crew\harness"
36
- & "$env:DSH_HOME\runtime\node_modules\.bin\dsh.cmd" --profile dsh-crew --port 3210
37
- ```
38
-
39
- macOS / Linux:
19
+ Start the official Harness on port 3080 as usual:
40
20
 
41
21
  ```bash
42
- DSH_HOME="$HOME/.config/dsh-crew/harness" \
43
- "$HOME/.config/dsh-crew/harness/runtime/node_modules/.bin/dsh" \
44
- --profile dsh-crew --port 3210
22
+ npx -y @deepseek-ai/dsh web --host 127.0.0.1 --port 3080
45
23
  ```
46
24
 
47
- Open <http://127.0.0.1:3210>, then go to **Settings → DSH Crew**.
25
+ Open <http://127.0.0.1:3080> and go to **Settings → DSH Crew**. The official 3080 process displays the UI; Crew work stays in an isolated backend on `127.0.0.1:3210`, which the bridge starts in the background when needed.
48
26
 
49
27
  ## Configure
50
28
 
51
- 1. Install the Codex and/or Claude Code integration.
52
- 2. Click **Refresh Harness Models**.
53
- 3. Order the models used by Flash and Pro.
54
- 4. Keep `worker` on Auto for automatic delegation; keep `reviewer` on Manual unless you want automatic review.
55
- 5. Use `worktree` isolation for coding tasks.
56
-
57
- The settings page is split into collapsible modules. Each closed module still shows its effective state and first-priority model.
29
+ 1. Click **Refresh Harness Models**.
30
+ 2. Set the model order for Worker and Reviewer.
31
+ 3. Keep Worker on **Auto** for automatic delegation.
32
+ 4. Reviewer defaults to **Manual**; enable automatic review only when wanted.
33
+ 5. Keep **worktree** isolation for coding tasks.
58
34
 
59
- ## Use
35
+ With one configured model, both roles simply use that model. With several models, each role tries its ordered list and falls back to the next available model. Settings modules are collapsible and show their effective state while closed.
60
36
 
61
- Ask your coding host naturally:
37
+ ## Use from Codex or Claude
62
38
 
63
39
  ```text
64
40
  Use ds-worker to implement this change and run the tests.
65
41
  Use ds-reviewer to review the result.
66
42
  ```
67
43
 
68
- Legacy `ds-flash` and `ds-pro` aliases remain available, but new workflows should use `ds-worker` and `ds-reviewer`.
44
+ Legacy `ds-flash` and `ds-pro` aliases remain compatible.
69
45
 
70
- ## Check, update, remove
46
+ ## Common commands
71
47
 
72
48
  ```bash
73
- dsh-crew status
74
- dsh-crew update
75
- dsh-crew uninstall
49
+ dsh-crew status # installation and integration health
50
+ dsh-crew update # update and repair enabled integrations
51
+ dsh-crew integrate # connect official 3080 UI to isolated 3210 Crew
52
+ dsh-crew detach # remove only the 3080 bridge
53
+ dsh-crew uninstall # remove Crew, keep config and backups
76
54
  ```
77
55
 
78
- `uninstall` preserves configuration and backups. Add `--purge` only when you also want those removed.
56
+ `dsh-crew uninstall --purge` also removes Crew configuration and backups.
79
57
 
80
- For launchers at `<= 0.3.3`, the old updater cannot discover newer releases and cannot be retroactively fixed. Refresh the launcher first, then update the managed payload:
58
+ If you prefer a completely separate UI, run `dsh-crew detach`, then start the isolated profile directly:
81
59
 
82
- ```bash
83
- npm install -g @ran-sh/dsh-crew@latest
84
- dsh-crew update
60
+ ```powershell
61
+ $env:DSH_HOME = "$HOME\.config\dsh-crew\harness"
62
+ & "$env:DSH_HOME\runtime\node_modules\.bin\dsh.cmd" --profile dsh-crew --host 127.0.0.1 --port 3210
85
63
  ```
86
64
 
87
- ## Isolation and source installs
88
-
89
- Crew owns a dedicated Harness home and profile:
65
+ The bridge backs up the official `web` profile before its first change and registers only a lightweight proxy/client package. The full Crew Hub, model execution, config, and credentials stay under:
90
66
 
91
67
  ```text
92
68
  ~/.config/dsh-crew/harness
93
69
  profile: dsh-crew
94
70
  ```
95
71
 
96
- Normal Crew operations do not modify `~/.dsh`, the official `web` profile, or official Harness credential stores.
97
-
98
- Developer install:
99
-
100
- ```bash
101
- git clone https://github.com/Ran-sh/dsh-crew.git
102
- cd dsh-crew
103
- node scripts/setup.mjs install
104
- ```
105
-
106
- Developer uninstall:
72
+ For launchers at `<= 0.3.3`, first refresh the launcher because the old updater cannot discover newer releases and cannot be retroactively fixed:
107
73
 
108
74
  ```bash
109
- node scripts/setup.mjs uninstall
75
+ npm install -g @ran-sh/dsh-crew@latest
76
+ dsh-crew update
110
77
  ```
111
78
 
112
- ## Development
79
+ ## Source development
113
80
 
114
81
  ```bash
115
- pnpm install --frozen-lockfile
82
+ git clone https://github.com/Ran-sh/dsh-crew.git
83
+ cd dsh-crew
84
+ node scripts/setup.mjs install
116
85
  node --test test/*.test.mjs
117
86
  pnpm run build:client
118
- pnpm run verify:npm-install
87
+ node scripts/setup.mjs uninstall
119
88
  ```
120
89
 
121
- More detail: [Changelog](./CHANGELOG.md) · [Readiness matrix](./docs/readiness-matrix.md) · [Architecture](./docs/v0.3-architecture-roadmap.md)
90
+ More detail: [Changelog](./CHANGELOG.md) · [Readiness matrix](./docs/readiness-matrix.md)
122
91
 
123
92
  ## License
124
93
 
package/README.zh.md CHANGED
@@ -1,124 +1,93 @@
1
- <p align="center">
2
- <img src="./docs/images/dsh-crew-logo.png" alt="DSH Crew" width="120" />
3
- </p>
1
+ <p align="center"><img src="./docs/images/dsh-crew-logo.png" alt="DSH Crew" width="120" /></p>
4
2
 
5
3
  <h1 align="center">DSH Crew</h1>
6
4
 
7
- <p align="center"><strong>让 Codex Desktop Claude Code 统一调度隔离运行的 DeepSeek Harness Worker 与 Reviewer。</strong></p>
5
+ <p align="center"><strong>让 Codex Desktop Claude Code 使用 Worker / Reviewer,并统一显示在官方 DeepSeek Harness 界面中。</strong></p>
8
6
 
9
7
  <p align="center"><a href="./README.md">English</a> · <a href="./README.zh.md"><b>简体中文</b></a></p>
10
8
 
11
- ## 能做什么
9
+ ## 快速开始
12
10
 
13
- - `worker`:实现、修复、测试和仓库检查。
14
- - `reviewer`:使用独立模型顺序进行只读审查。
15
- - 为两个角色分别设置 Provider / Model 优先级。
16
- - 默认使用临时 Git worktree,不直接修改主工作区。
17
- - 在 DeepSeek Harness 中查看设置、进度和结果。
18
-
19
- ## 安装
20
-
21
- 需要 Node.js;worktree 隔离还需要 Git。
11
+ 需要 Node.js;使用 worktree 隔离还需要 Git。
22
12
 
23
13
  ```bash
24
14
  npm install -g @ran-sh/dsh-crew@latest
25
15
  dsh-crew install
16
+ dsh-crew integrate
26
17
  ```
27
18
 
28
- 请使用全局启动器。对于受 npm/cli#9870 影响的 npm 版本,临时 `npx` 不是受支持的安装方式。
29
-
30
- ## 启动 Harness
31
-
32
- Windows PowerShell:
33
-
34
- ```powershell
35
- $env:DSH_HOME = "$HOME\.config\dsh-crew\harness"
36
- & "$env:DSH_HOME\runtime\node_modules\.bin\dsh.cmd" --profile dsh-crew --port 3210
37
- ```
38
-
39
- macOS / Linux:
19
+ 照常在 3080 端口启动官方 Harness:
40
20
 
41
21
  ```bash
42
- DSH_HOME="$HOME/.config/dsh-crew/harness" \
43
- "$HOME/.config/dsh-crew/harness/runtime/node_modules/.bin/dsh" \
44
- --profile dsh-crew --port 3210
22
+ npx -y @deepseek-ai/dsh web --host 127.0.0.1 --port 3080
45
23
  ```
46
24
 
47
- 打开 <http://127.0.0.1:3210>,进入 **Settings → DSH Crew**。
25
+ 打开 <http://127.0.0.1:3080>,进入 **设置 → DSH Crew**。3080 只显示官方界面;Crew 的任务与模型执行继续隔离在 `127.0.0.1:3210`,需要时由桥接在后台自动启动。
48
26
 
49
27
  ## 配置
50
28
 
51
- 1. 安装 Codex 和/或 Claude Code 集成。
52
- 2. 点击“刷新 Harness 模型”。
53
- 3. 分别排列 Flash 与 Pro 的模型调用顺序。
54
- 4. Worker 保持 Auto 即可自动委派;Reviewer 建议默认 Manual,需要自动复审时再开启。
55
- 5. 编码任务建议使用 `worktree` 隔离。
56
-
57
- 设置页已按模块折叠;关闭后仍会显示当前状态和第一优先模型。
29
+ 1. 点击“刷新 Harness 模型”。
30
+ 2. 分别设置 Worker 和 Reviewer 的模型顺序。
31
+ 3. Worker 保持 **Auto**,即可自动委派。
32
+ 4. Reviewer 默认 **Manual**;确实需要自动复审时再开启。
33
+ 5. 编码任务建议保持 **worktree** 隔离。
58
34
 
59
- ## 使用
35
+ 只配置一个模型时,两个角色直接使用它。配置多个模型时,每个角色按自己的排序调用,失败后依次回退。设置模块可以展开/收起,收起后仍显示当前状态。
60
36
 
61
- 直接告诉编码宿主:
37
+ ## 在 Codex 或 Claude 中使用
62
38
 
63
39
  ```text
64
40
  使用 ds-worker 实现这个改动并运行测试。
65
41
  使用 ds-reviewer 审查结果。
66
42
  ```
67
43
 
68
- 旧的 `ds-flash`、`ds-pro` 别名仍兼容,但新工作流建议使用 `ds-worker`、`ds-reviewer`。
44
+ 旧的 `ds-flash`、`ds-pro` 别名仍可使用。
69
45
 
70
- ## 检查、更新、卸载
46
+ ## 常用命令
71
47
 
72
48
  ```bash
73
- dsh-crew status
74
- dsh-crew update
75
- dsh-crew uninstall
49
+ dsh-crew status # 查看安装与集成状态
50
+ dsh-crew update # 更新并自动修复已启用的集成
51
+ dsh-crew integrate # 将官方 3080 界面连接到隔离的 3210 Crew
52
+ dsh-crew detach # 只移除 3080 桥接
53
+ dsh-crew uninstall # 卸载 Crew,保留配置和备份
76
54
  ```
77
55
 
78
- 普通卸载会保留配置和备份;只有确实要一起删除时才加 `--purge`。
56
+ `dsh-crew uninstall --purge` 才会同时删除 Crew 配置和备份。
79
57
 
80
- 对于 `<= 0.3.3` 的旧启动器,旧 updater 无法发现更新版本,也无法被追溯修复。先刷新启动器,再更新托管载荷:
58
+ 如果想继续使用完全独立的界面,先运行 `dsh-crew detach`,再直接启动隔离 profile:
81
59
 
82
- ```bash
83
- npm install -g @ran-sh/dsh-crew@latest
84
- dsh-crew update
60
+ ```powershell
61
+ $env:DSH_HOME = "$HOME\.config\dsh-crew\harness"
62
+ & "$env:DSH_HOME\runtime\node_modules\.bin\dsh.cmd" --profile dsh-crew --host 127.0.0.1 --port 3210
85
63
  ```
86
64
 
87
- ## 隔离与源码安装
88
-
89
- Crew 使用独立的 Harness home 和 profile:
65
+ 桥接首次修改前会备份官方 `web` profile,并且只注册轻量代理/客户端包。完整 Crew Hub、模型执行、配置和凭据仍位于:
90
66
 
91
67
  ```text
92
68
  ~/.config/dsh-crew/harness
93
69
  profile: dsh-crew
94
70
  ```
95
71
 
96
- 正常操作不会修改 `~/.dsh`、官方 `web` profile 或官方 Harness 凭据存储。
97
-
98
- 开发者安装:
99
-
100
- ```bash
101
- git clone https://github.com/Ran-sh/dsh-crew.git
102
- cd dsh-crew
103
- node scripts/setup.mjs install
104
- ```
105
-
106
- 开发者卸载:
72
+ 对于 `<= 0.3.3` 的旧启动器,请先刷新启动器;旧 updater 无法发现新版本,也无法被追溯修复:
107
73
 
108
74
  ```bash
109
- node scripts/setup.mjs uninstall
75
+ npm install -g @ran-sh/dsh-crew@latest
76
+ dsh-crew update
110
77
  ```
111
78
 
112
- ## 开发
79
+ ## 源码开发
113
80
 
114
81
  ```bash
115
- pnpm install --frozen-lockfile
82
+ git clone https://github.com/Ran-sh/dsh-crew.git
83
+ cd dsh-crew
84
+ node scripts/setup.mjs install
116
85
  node --test test/*.test.mjs
117
86
  pnpm run build:client
118
- pnpm run verify:npm-install
87
+ node scripts/setup.mjs uninstall
119
88
  ```
120
89
 
121
- 详细资料:[Changelog](./CHANGELOG.md) · [Readiness Matrix](./docs/readiness-matrix.md) · [架构](./docs/v0.3-architecture-roadmap.md)
90
+ 更多资料:[Changelog](./CHANGELOG.md) · [Readiness Matrix](./docs/readiness-matrix.md)
122
91
 
123
92
  ## License
124
93