@ran-sh/dsh-crew 0.3.5 → 0.3.7
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/.claude-plugin/plugin.json +8 -8
- package/.mcp.json +8 -8
- package/LICENSE +21 -21
- package/README.de.md +359 -359
- package/README.es.md +359 -359
- package/README.fr.md +359 -359
- package/README.hi.md +359 -359
- package/README.id.md +359 -359
- package/README.ja.md +359 -359
- package/README.ko.md +359 -359
- package/README.md +125 -180
- package/README.pt.md +359 -359
- package/README.ru.md +359 -359
- package/README.th.md +359 -359
- package/README.tr.md +359 -359
- package/README.vi.md +359 -359
- package/README.zh-TW.md +359 -359
- package/README.zh.md +125 -180
- package/agents/ds-flash.md +26 -26
- package/agents/ds-pro.md +32 -32
- package/agents/ds-reviewer.md +23 -23
- package/agents/ds-worker.md +22 -22
- package/codex/agents/ds-flash.toml +30 -30
- package/codex/agents/ds-pro.toml +31 -31
- package/codex/agents/ds-reviewer.toml +28 -28
- package/codex/agents/ds-worker.toml +28 -28
- package/codex/prompts/dsh-config.md +3 -3
- package/codex/prompts/dsh-status.md +1 -1
- package/commands/config.md +11 -11
- package/commands/off.md +5 -5
- package/commands/on.md +5 -5
- package/commands/status.md +5 -5
- package/cordis.patch.yml +4 -4
- package/lib/client.js +3446 -2765
- package/package.json +131 -131
- package/scripts/build-client.mjs +28 -28
- package/scripts/live-crew-smoke.mjs +39 -39
- package/scripts/live-policy-matrix.mjs +177 -177
- package/scripts/policy-probe.mjs +101 -101
- package/scripts/setup.mjs +284 -284
- package/scripts/smoke-real.mjs +110 -110
- package/scripts/smoke.mjs +78 -78
- package/scripts/verify-installer-fix.mjs +26 -26
- package/src/adaptive-routing.mjs +260 -260
- package/src/client/activation-summary.tsx +64 -64
- package/src/client/collapsible-sections.mjs +55 -0
- package/src/client/entry.tsx +236 -236
- package/src/client/index.tsx +1213 -1120
- package/src/config-readiness.mjs +59 -59
- package/src/delivery.mjs +205 -205
- package/src/dsh-cli-runtime.mjs +239 -239
- package/src/failure-classification.mjs +172 -172
- package/src/hub/entry.mjs +98 -98
- package/src/hub-client.mjs +132 -132
- package/src/hub-compatibility.mjs +49 -49
- package/src/i18n.mjs +19 -19
- package/src/install/cli.mjs +28 -28
- package/src/install/install-legacy.mjs +462 -462
- package/src/install/install.mjs +451 -451
- package/src/install/npx-lifecycle.mjs +1055 -1019
- package/src/mcp-runtime.mjs +257 -257
- package/src/model-catalog.mjs +173 -173
- package/src/model-routing.mjs +391 -391
- package/src/policy.mjs +197 -197
- package/src/readiness-matrix.mjs +169 -169
- package/src/runtime-controls.mjs +90 -90
- package/src/runtime-identity.mjs +108 -108
- package/src/server.mjs +477 -477
- package/src/status-shard.mjs +52 -52
- package/src/structured-error-code.mjs +38 -38
- package/src/vision-route.mjs +138 -138
- package/src/workflow-runtime.mjs +573 -573
- package/src/workflow.mjs +160 -160
- package/src/workspace-audit.mjs +231 -231
- package/src/workspace-isolation.mjs +365 -365
- package/statusline/statusline.sh +14 -14
- package/statusline/worker-segment.sh +35 -35
- package/worker.cordis.yml +77 -77
package/README.md
CHANGED
|
@@ -1,180 +1,125 @@
|
|
|
1
|
-
<p align="center">
|
|
2
|
-
<img src="./docs/images/dsh-crew-logo.png" alt="DSH Crew" width="120" />
|
|
3
|
-
</p>
|
|
4
|
-
|
|
5
|
-
<h1 align="center">DSH Crew</h1>
|
|
6
|
-
|
|
7
|
-
<p align="center">
|
|
8
|
-
|
|
9
|
-
</p>
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
profile:
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
## Update / uninstall
|
|
127
|
-
|
|
128
|
-
The managed Crew payload updates in place (config, credentials, and backups are preserved; the candidate is staged and validated before switching):
|
|
129
|
-
|
|
130
|
-
```bash
|
|
131
|
-
dsh-crew update
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
Uninstall the managed payload and integrations:
|
|
135
|
-
|
|
136
|
-
```bash
|
|
137
|
-
dsh-crew uninstall
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
Update a source install instead with:
|
|
141
|
-
|
|
142
|
-
```bash
|
|
143
|
-
git pull --ff-only
|
|
144
|
-
node scripts/setup.mjs install
|
|
145
|
-
```
|
|
146
|
-
|
|
147
|
-
Uninstall Crew from a source checkout:
|
|
148
|
-
|
|
149
|
-
```bash
|
|
150
|
-
node scripts/setup.mjs uninstall
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
Windows shortcuts:
|
|
154
|
-
|
|
155
|
-
```bat
|
|
156
|
-
install.cmd
|
|
157
|
-
uninstall.cmd
|
|
158
|
-
```
|
|
159
|
-
|
|
160
|
-
Crew config and backups under `~/.config/dsh-crew` are preserved unless you remove them yourself.
|
|
161
|
-
|
|
162
|
-
## Development
|
|
163
|
-
|
|
164
|
-
```bash
|
|
165
|
-
pnpm install --frozen-lockfile
|
|
166
|
-
node --test test/*.test.mjs
|
|
167
|
-
pnpm run build:client
|
|
168
|
-
pnpm run verify:npm-install
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
Useful docs:
|
|
172
|
-
|
|
173
|
-
- [Architecture roadmap](./docs/v0.3-architecture-roadmap.md)
|
|
174
|
-
- [Readiness matrix](./docs/readiness-matrix.md)
|
|
175
|
-
- [Agent Workflow](./docs/agent-workflow.md)
|
|
176
|
-
- [Changelog](./CHANGELOG.md)
|
|
177
|
-
|
|
178
|
-
## License
|
|
179
|
-
|
|
180
|
-
MIT
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="./docs/images/dsh-crew-logo.png" alt="DSH Crew" width="120" />
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<h1 align="center">DSH Crew</h1>
|
|
6
|
+
|
|
7
|
+
<p align="center"><strong>Let Codex Desktop or Claude Code coordinate isolated DeepSeek Harness workers and reviewers.</strong></p>
|
|
8
|
+
|
|
9
|
+
<p align="center"><a href="./README.md"><b>English</b></a> · <a href="./README.zh.md">简体中文</a></p>
|
|
10
|
+
|
|
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
|
|
20
|
+
|
|
21
|
+
Requirements: Node.js; Git is required for worktree isolation.
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
npm install -g @ran-sh/dsh-crew@latest
|
|
25
|
+
dsh-crew install
|
|
26
|
+
```
|
|
27
|
+
|
|
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:
|
|
40
|
+
|
|
41
|
+
```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
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
Open <http://127.0.0.1:3210>, then go to **Settings → DSH Crew**.
|
|
48
|
+
|
|
49
|
+
## Configure
|
|
50
|
+
|
|
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.
|
|
58
|
+
|
|
59
|
+
## Use
|
|
60
|
+
|
|
61
|
+
Ask your coding host naturally:
|
|
62
|
+
|
|
63
|
+
```text
|
|
64
|
+
Use ds-worker to implement this change and run the tests.
|
|
65
|
+
Use ds-reviewer to review the result.
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Legacy `ds-flash` and `ds-pro` aliases remain available, but new workflows should use `ds-worker` and `ds-reviewer`.
|
|
69
|
+
|
|
70
|
+
## Check, update, remove
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
dsh-crew status
|
|
74
|
+
dsh-crew update
|
|
75
|
+
dsh-crew uninstall
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
`uninstall` preserves configuration and backups. Add `--purge` only when you also want those removed.
|
|
79
|
+
|
|
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:
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
npm install -g @ran-sh/dsh-crew@latest
|
|
84
|
+
dsh-crew update
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
## Isolation and source installs
|
|
88
|
+
|
|
89
|
+
Crew owns a dedicated Harness home and profile:
|
|
90
|
+
|
|
91
|
+
```text
|
|
92
|
+
~/.config/dsh-crew/harness
|
|
93
|
+
profile: dsh-crew
|
|
94
|
+
```
|
|
95
|
+
|
|
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:
|
|
107
|
+
|
|
108
|
+
```bash
|
|
109
|
+
node scripts/setup.mjs uninstall
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
## Development
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
pnpm install --frozen-lockfile
|
|
116
|
+
node --test test/*.test.mjs
|
|
117
|
+
pnpm run build:client
|
|
118
|
+
pnpm run verify:npm-install
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
More detail: [Changelog](./CHANGELOG.md) · [Readiness matrix](./docs/readiness-matrix.md) · [Architecture](./docs/v0.3-architecture-roadmap.md)
|
|
122
|
+
|
|
123
|
+
## License
|
|
124
|
+
|
|
125
|
+
MIT
|