@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.
Files changed (78) hide show
  1. package/.claude-plugin/marketplace.json +17 -17
  2. package/.claude-plugin/plugin.json +8 -8
  3. package/.mcp.json +8 -8
  4. package/LICENSE +21 -21
  5. package/README.de.md +359 -359
  6. package/README.es.md +359 -359
  7. package/README.fr.md +359 -359
  8. package/README.hi.md +359 -359
  9. package/README.id.md +359 -359
  10. package/README.ja.md +359 -359
  11. package/README.ko.md +359 -359
  12. package/README.md +140 -140
  13. package/README.pt.md +359 -359
  14. package/README.ru.md +359 -359
  15. package/README.th.md +359 -359
  16. package/README.tr.md +359 -359
  17. package/README.vi.md +359 -359
  18. package/README.zh-TW.md +359 -359
  19. package/README.zh.md +140 -140
  20. package/agents/ds-flash.md +26 -26
  21. package/agents/ds-pro.md +32 -32
  22. package/agents/ds-reviewer.md +23 -23
  23. package/agents/ds-worker.md +22 -22
  24. package/codex/agents/ds-flash.toml +30 -30
  25. package/codex/agents/ds-pro.toml +31 -31
  26. package/codex/agents/ds-reviewer.toml +28 -28
  27. package/codex/agents/ds-worker.toml +28 -28
  28. package/codex/prompts/dsh-config.md +3 -3
  29. package/codex/prompts/dsh-status.md +1 -1
  30. package/commands/config.md +11 -11
  31. package/commands/off.md +5 -5
  32. package/commands/on.md +5 -5
  33. package/commands/status.md +5 -5
  34. package/cordis.patch.yml +4 -4
  35. package/lib/client.js +2765 -2765
  36. package/package.json +127 -127
  37. package/scripts/build-client.mjs +28 -28
  38. package/scripts/live-crew-smoke.mjs +39 -39
  39. package/scripts/live-policy-matrix.mjs +177 -177
  40. package/scripts/policy-probe.mjs +101 -101
  41. package/scripts/setup.mjs +295 -294
  42. package/scripts/smoke-real.mjs +110 -110
  43. package/scripts/smoke.mjs +78 -78
  44. package/scripts/verify-installer-fix.mjs +26 -26
  45. package/scripts/verify-npm-install.mjs +297 -276
  46. package/src/adaptive-routing.mjs +260 -260
  47. package/src/client/activation-summary.tsx +64 -64
  48. package/src/client/entry.tsx +236 -236
  49. package/src/client/index.tsx +1120 -1120
  50. package/src/config-readiness.mjs +59 -59
  51. package/src/delivery.mjs +205 -205
  52. package/src/dsh-cli-runtime.mjs +435 -251
  53. package/src/failure-classification.mjs +172 -172
  54. package/src/hub/entry.mjs +98 -98
  55. package/src/hub-client.mjs +132 -132
  56. package/src/hub-compatibility.mjs +49 -49
  57. package/src/i18n.mjs +19 -19
  58. package/src/install/cli.mjs +28 -28
  59. package/src/install/install-legacy.mjs +460 -460
  60. package/src/install/install.mjs +451 -451
  61. package/src/mcp-runtime.mjs +257 -257
  62. package/src/model-catalog.mjs +173 -173
  63. package/src/model-routing.mjs +391 -391
  64. package/src/policy.mjs +197 -197
  65. package/src/readiness-matrix.mjs +169 -169
  66. package/src/runtime-controls.mjs +90 -90
  67. package/src/runtime-identity.mjs +108 -108
  68. package/src/server.mjs +477 -477
  69. package/src/status-shard.mjs +52 -52
  70. package/src/structured-error-code.mjs +38 -38
  71. package/src/vision-route.mjs +138 -138
  72. package/src/workflow-runtime.mjs +573 -567
  73. package/src/workflow.mjs +160 -160
  74. package/src/workspace-audit.mjs +231 -231
  75. package/src/workspace-isolation.mjs +365 -306
  76. package/statusline/statusline.sh +14 -14
  77. package/statusline/worker-segment.sh +35 -35
  78. 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