@ran-sh/dsh-crew 1.9.0 → 1.10.0
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 +16 -16
- package/.claude-plugin/plugin.json +14 -14
- 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 +126 -126
- 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 +116 -116
- package/agents/ds-flash.md +24 -24
- package/agents/ds-pro.md +24 -24
- package/agents/ds-reviewer.md +23 -23
- package/agents/ds-worker.md +23 -23
- package/bin/dsh-crew.mjs +16 -16
- package/codex/agents/ds-flash.toml +34 -34
- package/codex/agents/ds-pro.toml +34 -34
- package/codex/agents/ds-reviewer.toml +32 -32
- package/codex/agents/ds-worker.toml +32 -32
- package/codex/prompts/dsh-config.md +19 -19
- package/codex/prompts/dsh-status.md +5 -5
- package/commands/config.md +23 -23
- package/commands/off.md +5 -5
- package/commands/on.md +5 -5
- package/commands/status.md +9 -9
- package/cordis.patch.yml +4 -4
- package/docs/gpt-relay-extension.md +103 -103
- package/docs/installation.md +138 -138
- package/docs/job-contracts.md +103 -103
- package/docs/readiness-matrix.md +85 -85
- package/docs/ui-surfaces.md +107 -107
- package/official-web-bridge/cordis.patch.yml +4 -4
- package/official-web-bridge/entry.mjs +1 -1
- package/official-web-bridge/overlay-entry.mjs +59 -59
- package/official-web-bridge/package.json +25 -25
- package/package.json +3 -2
- package/scripts/build-client.mjs +49 -49
- 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/remove-legacy-official-bridge.ps1 +89 -89
- package/scripts/setup.mjs +393 -393
- package/scripts/smoke-real.mjs +110 -110
- package/scripts/smoke.mjs +78 -78
- package/scripts/verify-crew-ui-polish.mjs +145 -145
- package/scripts/verify-history-ui.mjs +97 -97
- package/scripts/verify-installer-fix.mjs +26 -26
- package/scripts/verify-npm-install.mjs +311 -311
- package/scripts/verify-official-bridge-e2e.mjs +192 -192
- package/src/adaptive-routing.mjs +260 -260
- package/src/client/activation-summary.tsx +64 -64
- package/src/client/collapsible-sections.mjs +55 -55
- package/src/client/history-panel.tsx +108 -108
- package/src/client/host-readiness.mjs +71 -71
- package/src/client/index.tsx +1711 -1711
- package/src/client/model-callability-view.mjs +17 -17
- package/src/client/panel-chrome.tsx +40 -40
- package/src/client/quick-entry.tsx +10 -10
- package/src/client/quick-panel.tsx +275 -275
- package/src/client/readiness-envelope.mjs +34 -34
- package/src/client/surface-detection.mjs +43 -43
- package/src/config-readiness.mjs +226 -226
- package/src/credential-reference.mjs +38 -38
- package/src/delivery.mjs +205 -205
- package/src/dsh-cli-runtime.mjs +1021 -1021
- package/src/dsh-cohort.mjs +20 -20
- package/src/extension-contract.mjs +104 -104
- package/src/failure-classification.mjs +201 -201
- package/src/history/admission-gate.mjs +67 -67
- package/src/history/archive-store.mjs +272 -272
- package/src/history/cleanup-plan.mjs +89 -89
- package/src/history/http.mjs +32 -32
- package/src/history/operation.mjs +86 -86
- package/src/history/runner-detach.mjs +34 -34
- package/src/history/runner.mjs +52 -52
- package/src/history/runtime.mjs +36 -36
- package/src/history/service.mjs +177 -177
- package/src/history/state.mjs +27 -27
- package/src/hub/entry.mjs +104 -104
- package/src/hub/index.mjs +2694 -2694
- package/src/hub-client.mjs +154 -154
- package/src/hub-compatibility.mjs +42 -42
- package/src/i18n.mjs +19 -19
- package/src/information-flow.mjs +67 -67
- package/src/install/cli.mjs +28 -28
- package/src/install/install-legacy.mjs +711 -711
- package/src/install/install.mjs +483 -483
- package/src/install/npx-lifecycle.mjs +3456 -3456
- package/src/install/official-frontend-assets.mjs +78 -78
- package/src/install/official-web.mjs +95 -95
- package/src/install/payload-content.mjs +88 -88
- package/src/install/windows-startup.mjs +236 -236
- package/src/install/windows-supervisor-adapter.mjs +443 -443
- package/src/install/windows-supervisor-lifecycle.mjs +782 -782
- package/src/install/zcode.mjs +397 -397
- package/src/job-contracts.mjs +255 -255
- package/src/local-request-guard.mjs +60 -60
- package/src/mcp-runtime.mjs +340 -340
- package/src/model-callability-contract.mjs +79 -79
- package/src/model-catalog.mjs +180 -180
- package/src/model-routing.mjs +586 -586
- package/src/model-schedule.mjs +207 -207
- package/src/official-web-bridge.mjs +447 -447
- package/src/policy.mjs +235 -235
- package/src/provider-delete-adapters.mjs +1934 -1934
- package/src/provider-health.mjs +130 -130
- package/src/provider-inventory.mjs +182 -182
- package/src/provider-layer-migration-adapters.mjs +759 -759
- package/src/provider-layer-migration.mjs +198 -198
- package/src/provider-lifecycle-state.mjs +103 -103
- package/src/provider-lifecycle.mjs +252 -252
- package/src/provider-profile-store.mjs +390 -390
- package/src/provider-settings-store.mjs +633 -633
- package/src/provider-store-lock.mjs +67 -67
- package/src/readiness-matrix.mjs +181 -181
- package/src/removable-waiter.mjs +29 -29
- package/src/role-profiles.mjs +107 -107
- package/src/runtime-controls.mjs +84 -84
- package/src/runtime-identity-contract.mjs +34 -34
- package/src/runtime-identity.mjs +235 -235
- package/src/runtime-readiness-snapshot.mjs +285 -285
- package/src/server.mjs +581 -581
- package/src/session-origins.mjs +60 -60
- package/src/standalone-sdk.mjs +23 -23
- package/src/status-shard.mjs +63 -63
- package/src/structured-error-code.mjs +38 -38
- package/src/supervisor/restart-request.mjs +256 -256
- package/src/workflow-runtime.mjs +739 -739
- package/src/workflow.mjs +155 -155
- package/src/workspace-audit.mjs +231 -231
- package/src/workspace-context.mjs +146 -146
- package/src/workspace-isolation.mjs +463 -455
- package/src/workspace-readiness.mjs +32 -32
- package/statusline/statusline.sh +14 -14
- package/statusline/worker-segment.sh +35 -35
- package/windows/start-dsh-crew.cmd +57 -57
- package/windows/start-dsh-crew.ps1 +1302 -1302
- package/windows/supervisor-control.ps1 +467 -467
- package/worker.cordis.yml +67 -67
- package/zcode/agents/ds-reviewer.md +31 -31
- package/zcode/agents/ds-worker.md +31 -31
- package/zcode/commands/dsh-config.md +17 -17
- package/zcode/commands/dsh-status.md +5 -5
package/README.md
CHANGED
|
@@ -1,126 +1,126 @@
|
|
|
1
|
-
# DSH Crew
|
|
2
|
-
|
|
3
|
-
A Crew orchestration plugin for the official DeepSeek Harness. It adds
|
|
4
|
-
Worker/Reviewer dispatch, model priorities, job tracking, and a capability-aware
|
|
5
|
-
safety gate for Codex Desktop, ZCode, and Claude Code.
|
|
6
|
-
|
|
7
|
-
[简体中文](./README.zh.md)
|
|
8
|
-
|
|
9
|
-
## Quick start
|
|
10
|
-
|
|
11
|
-
Requirements: Windows, Node.js, and Git. Managed 3210 supervision is currently
|
|
12
|
-
supported on Windows; Linux and macOS are not yet production runtime targets.
|
|
13
|
-
The desktop frontend also requires the separately installed official CLI
|
|
14
|
-
(`npm install -g @deepseek-ai/dsh@latest`, providing `dsh.cmd` on PATH).
|
|
15
|
-
|
|
16
|
-
```bash
|
|
17
|
-
npm install -g @ran-sh/dsh-crew@latest
|
|
18
|
-
dsh-crew install
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
DSH Crew is installed as a plugin in a dedicated official DeepSeek Harness
|
|
22
|
-
profile named `dsh-crew`, served on 3210. That profile is the canonical Crew
|
|
23
|
-
control and execution surface.
|
|
24
|
-
|
|
25
|
-
The desktop launcher opens the official Harness on 3080 and starts Crew on 3210
|
|
26
|
-
with no console window or automatic backend browser tab. Background/login startup
|
|
27
|
-
starts only Crew. The official profile is not modified by the Crew installer;
|
|
28
|
-
normal official application startup manages its own state.
|
|
29
|
-
|
|
30
|
-
On Windows, installation registers login startup. To start immediately and
|
|
31
|
-
open the Crew control:
|
|
32
|
-
|
|
33
|
-
```powershell
|
|
34
|
-
& "$env:USERPROFILE\.config\dsh-crew\launchers\start-dsh-crew.cmd" --open
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
The daily page is <http://127.0.0.1:3080/>. The backend settings remain available
|
|
38
|
-
at <http://127.0.0.1:3210/> when explicitly needed. Desktop launch mounts the
|
|
39
|
-
simple Crew panel using a Crew-owned `--patch` overlay, without installing it
|
|
40
|
-
into the official profile. Its button opens 3210; the backend button opens 3080.
|
|
41
|
-
|
|
42
|
-
Install, update, and rollback also converge the Windows watcher automatically:
|
|
43
|
-
the exact old watcher is handed off, and completion is reported only after the
|
|
44
|
-
new 3210 Crew and DSH versions are verified. No 3080 restart is involved.
|
|
45
|
-
|
|
46
|
-
```bash
|
|
47
|
-
dsh-crew status
|
|
48
|
-
dsh-crew inspect
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
Fresh installs contain only the built-in DeepSeek route. Add your own provider
|
|
52
|
-
credentials, model priorities, and optional integrations in the local Settings;
|
|
53
|
-
they are never bundled into this package.
|
|
54
|
-
|
|
55
|
-
| Surface | Purpose |
|
|
56
|
-
| --- | --- |
|
|
57
|
-
| `3080` | Daily official Harness `web` frontend; opened by the desktop launcher |
|
|
58
|
-
| `3210` | Hidden Crew backend; explicit advanced configuration via its web page |
|
|
59
|
-
|
|
60
|
-
In **Settings → DSH Crew**, refresh Harness Models and order the Worker and
|
|
61
|
-
Reviewer model lists. Then ask a host agent:
|
|
62
|
-
|
|
63
|
-
```text
|
|
64
|
-
Use ds-worker to implement this change and run its tests.
|
|
65
|
-
Use ds-reviewer to review the result.
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
Codex, ZCode, and Claude use the installed managed integration. The policy
|
|
69
|
-
checks live Crew capabilities before dispatch; if a selected Crew capability
|
|
70
|
-
becomes unavailable, the host pauses for an operator decision instead of
|
|
71
|
-
silently falling back.
|
|
72
|
-
|
|
73
|
-
## Useful commands
|
|
74
|
-
|
|
75
|
-
```bash
|
|
76
|
-
dsh-crew inspect # live capabilities and readiness
|
|
77
|
-
dsh-crew jobs list # jobs and Result Contracts
|
|
78
|
-
dsh-crew providers list # 3210 Harness provider inventory (secret-free)
|
|
79
|
-
dsh-crew providers migration-status # detect legacy base providers; no automatic migration
|
|
80
|
-
dsh-crew providers migrate-plan <provider>
|
|
81
|
-
dsh-crew providers migrate <provider> --plan <id> --confirm # writes user layer, restarts 3210, verifies
|
|
82
|
-
dsh-crew providers rollback-migration <provider> --plan <id> --confirm
|
|
83
|
-
dsh-crew providers probe <provider-id>
|
|
84
|
-
curl http://127.0.0.1:3210/_dsh/dsh-crew/credential-references # references/orphans only
|
|
85
|
-
dsh-crew credentials list # secret-free reference inventory
|
|
86
|
-
dsh-crew credentials purge-plan env:NAME
|
|
87
|
-
dsh-crew credentials purge env:NAME --plan <plan-id> --expected-revision <sha256> --confirm
|
|
88
|
-
dsh-crew providers delete-plan <provider-id> --replacement-default <provider-id>
|
|
89
|
-
dsh-crew providers delete <provider-id> --plan <plan-id> --expected-revision <sha256> --confirm
|
|
90
|
-
dsh-crew releases list # retained validated payloads
|
|
91
|
-
dsh-crew rollback <version> # switch payload and verify the 3210 runtime
|
|
92
|
-
dsh-crew update # update and repair enabled integrations
|
|
93
|
-
dsh-crew uninstall # remove managed files, keep backups/config
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
The dedicated official Harness runtime state is isolated under
|
|
97
|
-
`~/.config/dsh-crew/harness` with `profile: dsh-crew`; DSH Crew itself remains a
|
|
98
|
-
plugin, not a fork or replacement of DeepSeek Harness. The official `web`
|
|
99
|
-
profile is outside Crew ownership and read-only to Crew; in other words, the
|
|
100
|
-
official `web` profile is never mutated. An old 3080 bridge, if present, is
|
|
101
|
-
only reported as a deprecated diagnostic.
|
|
102
|
-
|
|
103
|
-
## Legacy launcher migration
|
|
104
|
-
|
|
105
|
-
For launchers at `<= 0.3.3`, refresh the launcher first. The old updater cannot discover newer releases and cannot be retroactively fixed:
|
|
106
|
-
|
|
107
|
-
```bash
|
|
108
|
-
npm install -g @ran-sh/dsh-crew@latest
|
|
109
|
-
dsh-crew update
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
## Install from source
|
|
113
|
-
|
|
114
|
-
```bash
|
|
115
|
-
git clone https://github.com/Ran-sh/dsh-crew.git
|
|
116
|
-
cd dsh-crew
|
|
117
|
-
node scripts/setup.mjs install
|
|
118
|
-
node scripts/setup.mjs status
|
|
119
|
-
node scripts/setup.mjs uninstall
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
Run tests with `node --test test/*.test.mjs`. See [installation](./docs/installation.md),
|
|
123
|
-
[UI surfaces](./docs/ui-surfaces.md), [readiness](./docs/readiness-matrix.md),
|
|
124
|
-
and [job contracts](./docs/job-contracts.md) for details.
|
|
125
|
-
|
|
126
|
-
MIT
|
|
1
|
+
# DSH Crew
|
|
2
|
+
|
|
3
|
+
A Crew orchestration plugin for the official DeepSeek Harness. It adds
|
|
4
|
+
Worker/Reviewer dispatch, model priorities, job tracking, and a capability-aware
|
|
5
|
+
safety gate for Codex Desktop, ZCode, and Claude Code.
|
|
6
|
+
|
|
7
|
+
[简体中文](./README.zh.md)
|
|
8
|
+
|
|
9
|
+
## Quick start
|
|
10
|
+
|
|
11
|
+
Requirements: Windows, Node.js, and Git. Managed 3210 supervision is currently
|
|
12
|
+
supported on Windows; Linux and macOS are not yet production runtime targets.
|
|
13
|
+
The desktop frontend also requires the separately installed official CLI
|
|
14
|
+
(`npm install -g @deepseek-ai/dsh@latest`, providing `dsh.cmd` on PATH).
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install -g @ran-sh/dsh-crew@latest
|
|
18
|
+
dsh-crew install
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
DSH Crew is installed as a plugin in a dedicated official DeepSeek Harness
|
|
22
|
+
profile named `dsh-crew`, served on 3210. That profile is the canonical Crew
|
|
23
|
+
control and execution surface.
|
|
24
|
+
|
|
25
|
+
The desktop launcher opens the official Harness on 3080 and starts Crew on 3210
|
|
26
|
+
with no console window or automatic backend browser tab. Background/login startup
|
|
27
|
+
starts only Crew. The official profile is not modified by the Crew installer;
|
|
28
|
+
normal official application startup manages its own state.
|
|
29
|
+
|
|
30
|
+
On Windows, installation registers login startup. To start immediately and
|
|
31
|
+
open the Crew control:
|
|
32
|
+
|
|
33
|
+
```powershell
|
|
34
|
+
& "$env:USERPROFILE\.config\dsh-crew\launchers\start-dsh-crew.cmd" --open
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
The daily page is <http://127.0.0.1:3080/>. The backend settings remain available
|
|
38
|
+
at <http://127.0.0.1:3210/> when explicitly needed. Desktop launch mounts the
|
|
39
|
+
simple Crew panel using a Crew-owned `--patch` overlay, without installing it
|
|
40
|
+
into the official profile. Its button opens 3210; the backend button opens 3080.
|
|
41
|
+
|
|
42
|
+
Install, update, and rollback also converge the Windows watcher automatically:
|
|
43
|
+
the exact old watcher is handed off, and completion is reported only after the
|
|
44
|
+
new 3210 Crew and DSH versions are verified. No 3080 restart is involved.
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
dsh-crew status
|
|
48
|
+
dsh-crew inspect
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
Fresh installs contain only the built-in DeepSeek route. Add your own provider
|
|
52
|
+
credentials, model priorities, and optional integrations in the local Settings;
|
|
53
|
+
they are never bundled into this package.
|
|
54
|
+
|
|
55
|
+
| Surface | Purpose |
|
|
56
|
+
| --- | --- |
|
|
57
|
+
| `3080` | Daily official Harness `web` frontend; opened by the desktop launcher |
|
|
58
|
+
| `3210` | Hidden Crew backend; explicit advanced configuration via its web page |
|
|
59
|
+
|
|
60
|
+
In **Settings → DSH Crew**, refresh Harness Models and order the Worker and
|
|
61
|
+
Reviewer model lists. Then ask a host agent:
|
|
62
|
+
|
|
63
|
+
```text
|
|
64
|
+
Use ds-worker to implement this change and run its tests.
|
|
65
|
+
Use ds-reviewer to review the result.
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Codex, ZCode, and Claude use the installed managed integration. The policy
|
|
69
|
+
checks live Crew capabilities before dispatch; if a selected Crew capability
|
|
70
|
+
becomes unavailable, the host pauses for an operator decision instead of
|
|
71
|
+
silently falling back.
|
|
72
|
+
|
|
73
|
+
## Useful commands
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
dsh-crew inspect # live capabilities and readiness
|
|
77
|
+
dsh-crew jobs list # jobs and Result Contracts
|
|
78
|
+
dsh-crew providers list # 3210 Harness provider inventory (secret-free)
|
|
79
|
+
dsh-crew providers migration-status # detect legacy base providers; no automatic migration
|
|
80
|
+
dsh-crew providers migrate-plan <provider>
|
|
81
|
+
dsh-crew providers migrate <provider> --plan <id> --confirm # writes user layer, restarts 3210, verifies
|
|
82
|
+
dsh-crew providers rollback-migration <provider> --plan <id> --confirm
|
|
83
|
+
dsh-crew providers probe <provider-id>
|
|
84
|
+
curl http://127.0.0.1:3210/_dsh/dsh-crew/credential-references # references/orphans only
|
|
85
|
+
dsh-crew credentials list # secret-free reference inventory
|
|
86
|
+
dsh-crew credentials purge-plan env:NAME
|
|
87
|
+
dsh-crew credentials purge env:NAME --plan <plan-id> --expected-revision <sha256> --confirm
|
|
88
|
+
dsh-crew providers delete-plan <provider-id> --replacement-default <provider-id>
|
|
89
|
+
dsh-crew providers delete <provider-id> --plan <plan-id> --expected-revision <sha256> --confirm
|
|
90
|
+
dsh-crew releases list # retained validated payloads
|
|
91
|
+
dsh-crew rollback <version> # switch payload and verify the 3210 runtime
|
|
92
|
+
dsh-crew update # update and repair enabled integrations
|
|
93
|
+
dsh-crew uninstall # remove managed files, keep backups/config
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
The dedicated official Harness runtime state is isolated under
|
|
97
|
+
`~/.config/dsh-crew/harness` with `profile: dsh-crew`; DSH Crew itself remains a
|
|
98
|
+
plugin, not a fork or replacement of DeepSeek Harness. The official `web`
|
|
99
|
+
profile is outside Crew ownership and read-only to Crew; in other words, the
|
|
100
|
+
official `web` profile is never mutated. An old 3080 bridge, if present, is
|
|
101
|
+
only reported as a deprecated diagnostic.
|
|
102
|
+
|
|
103
|
+
## Legacy launcher migration
|
|
104
|
+
|
|
105
|
+
For launchers at `<= 0.3.3`, refresh the launcher first. The old updater cannot discover newer releases and cannot be retroactively fixed:
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
npm install -g @ran-sh/dsh-crew@latest
|
|
109
|
+
dsh-crew update
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
## Install from source
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
git clone https://github.com/Ran-sh/dsh-crew.git
|
|
116
|
+
cd dsh-crew
|
|
117
|
+
node scripts/setup.mjs install
|
|
118
|
+
node scripts/setup.mjs status
|
|
119
|
+
node scripts/setup.mjs uninstall
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
Run tests with `node --test test/*.test.mjs`. See [installation](./docs/installation.md),
|
|
123
|
+
[UI surfaces](./docs/ui-surfaces.md), [readiness](./docs/readiness-matrix.md),
|
|
124
|
+
and [job contracts](./docs/job-contracts.md) for details.
|
|
125
|
+
|
|
126
|
+
MIT
|