@ran-sh/dsh-crew 0.3.1 → 0.3.2
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/marketplace.json +17 -17
- 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 +140 -140
- 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 +140 -140
- 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 +2765 -2765
- package/package.json +127 -127
- 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 +295 -294
- package/scripts/smoke-real.mjs +110 -110
- package/scripts/smoke.mjs +78 -78
- package/scripts/verify-installer-fix.mjs +26 -26
- package/scripts/verify-npm-install.mjs +297 -276
- package/src/adaptive-routing.mjs +260 -260
- package/src/client/activation-summary.tsx +64 -64
- package/src/client/entry.tsx +236 -236
- package/src/client/index.tsx +1120 -1120
- package/src/config-readiness.mjs +59 -59
- package/src/delivery.mjs +205 -205
- package/src/dsh-cli-runtime.mjs +435 -251
- 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 +460 -460
- package/src/install/install.mjs +451 -451
- 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 -567
- package/src/workflow.mjs +160 -160
- package/src/workspace-audit.mjs +231 -231
- package/src/workspace-isolation.mjs +365 -306
- package/statusline/statusline.sh +14 -14
- package/statusline/worker-segment.sh +35 -35
- package/worker.cordis.yml +77 -77
package/README.md
CHANGED
|
@@ -1,140 +1,140 @@
|
|
|
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
|
-
<strong>Use Codex Desktop or Claude Code as the orchestrator, and dispatch coding work to isolated DeepSeek Harness workers and reviewers.</strong>
|
|
9
|
-
</p>
|
|
10
|
-
|
|
11
|
-
<p align="center">
|
|
12
|
-
<a href="./README.md"><b>English</b></a> · <a href="./README.zh.md">简体中文</a>
|
|
13
|
-
</p>
|
|
14
|
-
|
|
15
|
-
## What it does
|
|
16
|
-
|
|
17
|
-
DSH Crew adds a small orchestration layer between your coding host and DeepSeek Harness:
|
|
18
|
-
|
|
19
|
-
- **worker** — implements, fixes, tests, searches, and analyzes;
|
|
20
|
-
- **reviewer** — independently reviews the worker result and returns a verdict;
|
|
21
|
-
- **model policy** — resolves provider/model priorities per role and can escalate on evidence;
|
|
22
|
-
- **isolated execution** — coding workers run in temporary git worktrees by default;
|
|
23
|
-
- **live jobs** — Hub sessions expose progress, results, cancellation, routing trace, and readiness data.
|
|
24
|
-
|
|
25
|
-
```text
|
|
26
|
-
Codex Desktop / Claude Code
|
|
27
|
-
│
|
|
28
|
-
▼
|
|
29
|
-
DSH Crew
|
|
30
|
-
┌────┴────┐
|
|
31
|
-
│ │
|
|
32
|
-
worker reviewer
|
|
33
|
-
│ │
|
|
34
|
-
└────┬────┘
|
|
35
|
-
▼
|
|
36
|
-
DeepSeek Harness
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
## Install
|
|
40
|
-
|
|
41
|
-
Prerequisites: **Node.js**, **Git**, and **pnpm**.
|
|
42
|
-
|
|
43
|
-
Recommended source setup:
|
|
44
|
-
|
|
45
|
-
```bash
|
|
46
|
-
git clone https://github.com/Ran-sh/dsh-crew.git
|
|
47
|
-
cd dsh-crew
|
|
48
|
-
node scripts/setup.mjs install
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
Windows can use:
|
|
52
|
-
|
|
53
|
-
```bat
|
|
54
|
-
install.cmd
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
DSH Crew uses its own Harness home and profile:
|
|
58
|
-
|
|
59
|
-
```text
|
|
60
|
-
~/.config/dsh-crew/harness
|
|
61
|
-
profile: dsh-crew
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
Supported Crew tooling does **not** modify the normal `~/.dsh` home, the official `web` profile, or official DSH credential stores.
|
|
65
|
-
|
|
66
|
-
## Quick start
|
|
67
|
-
|
|
68
|
-
1. Start DeepSeek Harness normally.
|
|
69
|
-
2. Open **Settings → DSH Crew**.
|
|
70
|
-
3. Install the Codex integration; Claude Code integration is optional.
|
|
71
|
-
4. Refresh Harness models and choose role priorities if needed.
|
|
72
|
-
5. Restart the coding host after integration changes.
|
|
73
|
-
|
|
74
|
-
Then ask the host naturally, for example:
|
|
75
|
-
|
|
76
|
-
```text
|
|
77
|
-
Use ds-worker to implement this change.
|
|
78
|
-
Use ds-reviewer to review the implementation.
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
## Roles and routing
|
|
82
|
-
|
|
83
|
-
| Role | Purpose |
|
|
84
|
-
|---|---|
|
|
85
|
-
| `worker` | Implementation, fixes, tests, search, analysis |
|
|
86
|
-
| `reviewer` | Independent review and verdict |
|
|
87
|
-
|
|
88
|
-
Each role resolves its own ordered provider/model candidates. Explicit user priorities remain authoritative; automatic escalation only happens when the workflow has evidence that stronger execution or review is needed.
|
|
89
|
-
|
|
90
|
-
Legacy `ds-flash` / `ds-pro` aliases remain for compatibility, but new prompts should use `ds-worker` / `ds-reviewer`.
|
|
91
|
-
|
|
92
|
-
## Isolation
|
|
93
|
-
|
|
94
|
-
`execution.isolation` defaults to `worktree`.
|
|
95
|
-
|
|
96
|
-
A coding worker receives a temporary git worktree at the requested revision, so parallel workers do not write into the same working tree. The worker returns an auditable change candidate for the orchestrator to accept, reject, or revise; Crew does not silently merge changes into your primary workspace.
|
|
97
|
-
|
|
98
|
-
## Update / uninstall
|
|
99
|
-
|
|
100
|
-
Update a source install:
|
|
101
|
-
|
|
102
|
-
```bash
|
|
103
|
-
git pull --ff-only
|
|
104
|
-
node scripts/setup.mjs install
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
Uninstall Crew and its integrations:
|
|
108
|
-
|
|
109
|
-
```bash
|
|
110
|
-
node scripts/setup.mjs uninstall
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
Windows shortcuts:
|
|
114
|
-
|
|
115
|
-
```bat
|
|
116
|
-
install.cmd
|
|
117
|
-
uninstall.cmd
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
Crew config and backups under `~/.config/dsh-crew` are preserved unless you remove them yourself.
|
|
121
|
-
|
|
122
|
-
## Development
|
|
123
|
-
|
|
124
|
-
```bash
|
|
125
|
-
pnpm install --frozen-lockfile
|
|
126
|
-
node --test test/*.test.mjs
|
|
127
|
-
pnpm run build:client
|
|
128
|
-
pnpm run verify:npm-install
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
Useful docs:
|
|
132
|
-
|
|
133
|
-
- [Architecture roadmap](./docs/v0.3-architecture-roadmap.md)
|
|
134
|
-
- [Readiness matrix](./docs/readiness-matrix.md)
|
|
135
|
-
- [Agent Workflow](./docs/agent-workflow.md)
|
|
136
|
-
- [Changelog](./CHANGELOG.md)
|
|
137
|
-
|
|
138
|
-
## License
|
|
139
|
-
|
|
140
|
-
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">
|
|
8
|
+
<strong>Use Codex Desktop or Claude Code as the orchestrator, and dispatch coding work to isolated DeepSeek Harness workers and reviewers.</strong>
|
|
9
|
+
</p>
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="./README.md"><b>English</b></a> · <a href="./README.zh.md">简体中文</a>
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
## What it does
|
|
16
|
+
|
|
17
|
+
DSH Crew adds a small orchestration layer between your coding host and DeepSeek Harness:
|
|
18
|
+
|
|
19
|
+
- **worker** — implements, fixes, tests, searches, and analyzes;
|
|
20
|
+
- **reviewer** — independently reviews the worker result and returns a verdict;
|
|
21
|
+
- **model policy** — resolves provider/model priorities per role and can escalate on evidence;
|
|
22
|
+
- **isolated execution** — coding workers run in temporary git worktrees by default;
|
|
23
|
+
- **live jobs** — Hub sessions expose progress, results, cancellation, routing trace, and readiness data.
|
|
24
|
+
|
|
25
|
+
```text
|
|
26
|
+
Codex Desktop / Claude Code
|
|
27
|
+
│
|
|
28
|
+
▼
|
|
29
|
+
DSH Crew
|
|
30
|
+
┌────┴────┐
|
|
31
|
+
│ │
|
|
32
|
+
worker reviewer
|
|
33
|
+
│ │
|
|
34
|
+
└────┬────┘
|
|
35
|
+
▼
|
|
36
|
+
DeepSeek Harness
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Install
|
|
40
|
+
|
|
41
|
+
Prerequisites: **Node.js**, **Git**, and **pnpm**.
|
|
42
|
+
|
|
43
|
+
Recommended source setup:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
git clone https://github.com/Ran-sh/dsh-crew.git
|
|
47
|
+
cd dsh-crew
|
|
48
|
+
node scripts/setup.mjs install
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Windows can use:
|
|
52
|
+
|
|
53
|
+
```bat
|
|
54
|
+
install.cmd
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
DSH Crew uses its own Harness home and profile:
|
|
58
|
+
|
|
59
|
+
```text
|
|
60
|
+
~/.config/dsh-crew/harness
|
|
61
|
+
profile: dsh-crew
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Supported Crew tooling does **not** modify the normal `~/.dsh` home, the official `web` profile, or official DSH credential stores.
|
|
65
|
+
|
|
66
|
+
## Quick start
|
|
67
|
+
|
|
68
|
+
1. Start DeepSeek Harness normally.
|
|
69
|
+
2. Open **Settings → DSH Crew**.
|
|
70
|
+
3. Install the Codex integration; Claude Code integration is optional.
|
|
71
|
+
4. Refresh Harness models and choose role priorities if needed.
|
|
72
|
+
5. Restart the coding host after integration changes.
|
|
73
|
+
|
|
74
|
+
Then ask the host naturally, for example:
|
|
75
|
+
|
|
76
|
+
```text
|
|
77
|
+
Use ds-worker to implement this change.
|
|
78
|
+
Use ds-reviewer to review the implementation.
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## Roles and routing
|
|
82
|
+
|
|
83
|
+
| Role | Purpose |
|
|
84
|
+
|---|---|
|
|
85
|
+
| `worker` | Implementation, fixes, tests, search, analysis |
|
|
86
|
+
| `reviewer` | Independent review and verdict |
|
|
87
|
+
|
|
88
|
+
Each role resolves its own ordered provider/model candidates. Explicit user priorities remain authoritative; automatic escalation only happens when the workflow has evidence that stronger execution or review is needed.
|
|
89
|
+
|
|
90
|
+
Legacy `ds-flash` / `ds-pro` aliases remain for compatibility, but new prompts should use `ds-worker` / `ds-reviewer`.
|
|
91
|
+
|
|
92
|
+
## Isolation
|
|
93
|
+
|
|
94
|
+
`execution.isolation` defaults to `worktree`.
|
|
95
|
+
|
|
96
|
+
A coding worker receives a temporary git worktree at the requested revision, so parallel workers do not write into the same working tree. The worker returns an auditable change candidate for the orchestrator to accept, reject, or revise; Crew does not silently merge changes into your primary workspace.
|
|
97
|
+
|
|
98
|
+
## Update / uninstall
|
|
99
|
+
|
|
100
|
+
Update a source install:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
git pull --ff-only
|
|
104
|
+
node scripts/setup.mjs install
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
Uninstall Crew and its integrations:
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
node scripts/setup.mjs uninstall
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Windows shortcuts:
|
|
114
|
+
|
|
115
|
+
```bat
|
|
116
|
+
install.cmd
|
|
117
|
+
uninstall.cmd
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
Crew config and backups under `~/.config/dsh-crew` are preserved unless you remove them yourself.
|
|
121
|
+
|
|
122
|
+
## Development
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
pnpm install --frozen-lockfile
|
|
126
|
+
node --test test/*.test.mjs
|
|
127
|
+
pnpm run build:client
|
|
128
|
+
pnpm run verify:npm-install
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
Useful docs:
|
|
132
|
+
|
|
133
|
+
- [Architecture roadmap](./docs/v0.3-architecture-roadmap.md)
|
|
134
|
+
- [Readiness matrix](./docs/readiness-matrix.md)
|
|
135
|
+
- [Agent Workflow](./docs/agent-workflow.md)
|
|
136
|
+
- [Changelog](./CHANGELOG.md)
|
|
137
|
+
|
|
138
|
+
## License
|
|
139
|
+
|
|
140
|
+
MIT
|