@ran-sh/dsh-crew 1.8.0 → 1.9.1
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 +1 -1
- 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 -332
- 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 +455 -401
- 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.zh.md
CHANGED
|
@@ -1,116 +1,116 @@
|
|
|
1
|
-
# DSH Crew
|
|
2
|
-
|
|
3
|
-
DSH Crew 是附着在 DeepSeek 官方 Harness 上的 Crew 编排插件,为 Codex Desktop、
|
|
4
|
-
ZCode 和 Claude Code 增加 Worker/Reviewer 调度、模型优先级、任务跟踪和能力感知安全门。
|
|
5
|
-
|
|
6
|
-
[English](./README.md)
|
|
7
|
-
|
|
8
|
-
## 快速开始
|
|
9
|
-
|
|
10
|
-
需要 Windows、Node.js 和 Git。目前受管 3210 监督仅支持 Windows;Linux 和 macOS
|
|
11
|
-
暂不属于生产运行平台。
|
|
12
|
-
桌面前台还需要单独安装官方 CLI:`npm install -g @deepseek-ai/dsh@latest`,
|
|
13
|
-
并确保 PATH 中能找到 `dsh.cmd`。
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
npm install -g @ran-sh/dsh-crew@latest
|
|
17
|
-
dsh-crew install
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
DSH Crew 安装在 DeepSeek 官方 Harness 的专用 `dsh-crew` profile 中,并由 3210
|
|
21
|
-
提供服务。这个 profile 是 Crew 的 canonical control and execution surface。
|
|
22
|
-
|
|
23
|
-
桌面启动器打开官方 3080,并在后台隐藏启动 Crew 3210,不自动打开后台网页。
|
|
24
|
-
后台模式和登录启动项只启动 Crew。Crew 安装器不修改官方 profile;官方程序
|
|
25
|
-
正常启动时自行管理它的运行状态。
|
|
26
|
-
|
|
27
|
-
Windows 安装会注册登录启动项。如需立即启动并打开 Crew 控制台:
|
|
28
|
-
|
|
29
|
-
```powershell
|
|
30
|
-
& "$env:USERPROFILE\.config\dsh-crew\launchers\start-dsh-crew.cmd" --open
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
日常使用 <http://127.0.0.1:3080/>;需要后台高级配置时再访问
|
|
34
|
-
<http://127.0.0.1:3210/>。桌面启动通过 Crew 自有目录中的 `--patch` 叠加配置
|
|
35
|
-
挂载简易面板,不写入官方 profile。3080 的按钮打开 3210,3210 的按钮打开 3080。
|
|
36
|
-
|
|
37
|
-
安装、更新和回滚也会自动收敛 Windows watcher:系统会精确交接旧 watcher,
|
|
38
|
-
并且只有在新的 3210 Crew 与 DSH 版本验证通过后才报告完成;整个过程不涉及
|
|
39
|
-
重启 3080。
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
dsh-crew status
|
|
43
|
-
dsh-crew inspect
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
全新安装只包含内置 DeepSeek 路由。其他 Provider 凭据、模型优先级和可选集成需要
|
|
47
|
-
在本机设置中自行配置,绝不会打包进发布版本。
|
|
48
|
-
|
|
49
|
-
| 界面 | 用途 |
|
|
50
|
-
| --- | --- |
|
|
51
|
-
| `3080` | 日常官方 Harness 前台,桌面启动时打开 |
|
|
52
|
-
| `3210` | Crew 后台执行实例,默认隐藏,需要时进入高级配置 |
|
|
53
|
-
|
|
54
|
-
进入 **设置 → DSH Crew**,刷新 Harness Models,并分别排列 Worker 与 Reviewer
|
|
55
|
-
的模型顺序。然后直接告诉 Codex、ZCode 或 Claude:
|
|
56
|
-
|
|
57
|
-
```text
|
|
58
|
-
使用 ds-worker 实现这个改动并运行测试。
|
|
59
|
-
使用 ds-reviewer 审查结果。
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
集成会先检查 Crew 的实时能力;已选择 Crew 后若能力不可用,会暂停等待操作者
|
|
63
|
-
决定修复 Crew 还是由主代理本地完成,不会静默降级。
|
|
64
|
-
|
|
65
|
-
## 常用命令
|
|
66
|
-
|
|
67
|
-
```bash
|
|
68
|
-
dsh-crew inspect # 实时能力与就绪度
|
|
69
|
-
dsh-crew jobs list # 任务与 Result Contract
|
|
70
|
-
dsh-crew providers list # 3210 Harness Provider 清单(不含密钥)
|
|
71
|
-
dsh-crew providers migration-status # 检查旧 profile Provider,不会自动迁移
|
|
72
|
-
dsh-crew providers migrate-plan <provider>
|
|
73
|
-
dsh-crew providers migrate <provider> --plan <id> --confirm # 写入用户层,重启 3210 并验证
|
|
74
|
-
dsh-crew providers rollback-migration <provider> --plan <id> --confirm
|
|
75
|
-
dsh-crew providers probe <provider-id>
|
|
76
|
-
curl http://127.0.0.1:3210/_dsh/dsh-crew/credential-references # 仅查看引用/孤儿报告
|
|
77
|
-
dsh-crew credentials list # 不含密钥值的引用清单
|
|
78
|
-
dsh-crew credentials purge-plan env:NAME
|
|
79
|
-
dsh-crew credentials purge env:NAME --plan <plan-id> --expected-revision <sha256> --confirm
|
|
80
|
-
dsh-crew providers delete-plan <provider-id> --replacement-default <provider-id>
|
|
81
|
-
dsh-crew providers delete <provider-id> --plan <plan-id> --expected-revision <sha256> --confirm
|
|
82
|
-
dsh-crew releases list # 查看保留且已验证的版本
|
|
83
|
-
dsh-crew rollback <version> # 切换版本并验证 3210 runtime
|
|
84
|
-
dsh-crew update # 更新并修复已启用集成
|
|
85
|
-
dsh-crew uninstall # 移除受管文件,保留配置/备份
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
专用的官方 Harness 运行时状态隔离在 `~/.config/dsh-crew/harness`,使用
|
|
89
|
-
`profile: dsh-crew`;DSH Crew 本身仍然是插件,并非 DeepSeek Harness 的分支或替代品。
|
|
90
|
-
官方 `web` profile 不属于 Crew 且对 Crew 始终只读;旧版 3080 bridge 若仍存在,
|
|
91
|
-
只会作为已弃用诊断项显示。
|
|
92
|
-
|
|
93
|
-
## 旧启动器迁移
|
|
94
|
-
|
|
95
|
-
对于 `<= 0.3.3` 的旧启动器,请先刷新启动器。旧 updater 无法发现更新,也无法被追溯修复:
|
|
96
|
-
|
|
97
|
-
```bash
|
|
98
|
-
npm install -g @ran-sh/dsh-crew@latest
|
|
99
|
-
dsh-crew update
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
## 从源码安装
|
|
103
|
-
|
|
104
|
-
```bash
|
|
105
|
-
git clone https://github.com/Ran-sh/dsh-crew.git
|
|
106
|
-
cd dsh-crew
|
|
107
|
-
node scripts/setup.mjs install
|
|
108
|
-
node scripts/setup.mjs status
|
|
109
|
-
node scripts/setup.mjs uninstall
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
测试:`node --test test/*.test.mjs`。更多信息见[安装方案](./docs/installation.md)、
|
|
113
|
-
[界面分工](./docs/ui-surfaces.md)、[就绪矩阵](./docs/readiness-matrix.md)和
|
|
114
|
-
[任务合同](./docs/job-contracts.md)。
|
|
115
|
-
|
|
116
|
-
MIT
|
|
1
|
+
# DSH Crew
|
|
2
|
+
|
|
3
|
+
DSH Crew 是附着在 DeepSeek 官方 Harness 上的 Crew 编排插件,为 Codex Desktop、
|
|
4
|
+
ZCode 和 Claude Code 增加 Worker/Reviewer 调度、模型优先级、任务跟踪和能力感知安全门。
|
|
5
|
+
|
|
6
|
+
[English](./README.md)
|
|
7
|
+
|
|
8
|
+
## 快速开始
|
|
9
|
+
|
|
10
|
+
需要 Windows、Node.js 和 Git。目前受管 3210 监督仅支持 Windows;Linux 和 macOS
|
|
11
|
+
暂不属于生产运行平台。
|
|
12
|
+
桌面前台还需要单独安装官方 CLI:`npm install -g @deepseek-ai/dsh@latest`,
|
|
13
|
+
并确保 PATH 中能找到 `dsh.cmd`。
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm install -g @ran-sh/dsh-crew@latest
|
|
17
|
+
dsh-crew install
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
DSH Crew 安装在 DeepSeek 官方 Harness 的专用 `dsh-crew` profile 中,并由 3210
|
|
21
|
+
提供服务。这个 profile 是 Crew 的 canonical control and execution surface。
|
|
22
|
+
|
|
23
|
+
桌面启动器打开官方 3080,并在后台隐藏启动 Crew 3210,不自动打开后台网页。
|
|
24
|
+
后台模式和登录启动项只启动 Crew。Crew 安装器不修改官方 profile;官方程序
|
|
25
|
+
正常启动时自行管理它的运行状态。
|
|
26
|
+
|
|
27
|
+
Windows 安装会注册登录启动项。如需立即启动并打开 Crew 控制台:
|
|
28
|
+
|
|
29
|
+
```powershell
|
|
30
|
+
& "$env:USERPROFILE\.config\dsh-crew\launchers\start-dsh-crew.cmd" --open
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
日常使用 <http://127.0.0.1:3080/>;需要后台高级配置时再访问
|
|
34
|
+
<http://127.0.0.1:3210/>。桌面启动通过 Crew 自有目录中的 `--patch` 叠加配置
|
|
35
|
+
挂载简易面板,不写入官方 profile。3080 的按钮打开 3210,3210 的按钮打开 3080。
|
|
36
|
+
|
|
37
|
+
安装、更新和回滚也会自动收敛 Windows watcher:系统会精确交接旧 watcher,
|
|
38
|
+
并且只有在新的 3210 Crew 与 DSH 版本验证通过后才报告完成;整个过程不涉及
|
|
39
|
+
重启 3080。
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
dsh-crew status
|
|
43
|
+
dsh-crew inspect
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
全新安装只包含内置 DeepSeek 路由。其他 Provider 凭据、模型优先级和可选集成需要
|
|
47
|
+
在本机设置中自行配置,绝不会打包进发布版本。
|
|
48
|
+
|
|
49
|
+
| 界面 | 用途 |
|
|
50
|
+
| --- | --- |
|
|
51
|
+
| `3080` | 日常官方 Harness 前台,桌面启动时打开 |
|
|
52
|
+
| `3210` | Crew 后台执行实例,默认隐藏,需要时进入高级配置 |
|
|
53
|
+
|
|
54
|
+
进入 **设置 → DSH Crew**,刷新 Harness Models,并分别排列 Worker 与 Reviewer
|
|
55
|
+
的模型顺序。然后直接告诉 Codex、ZCode 或 Claude:
|
|
56
|
+
|
|
57
|
+
```text
|
|
58
|
+
使用 ds-worker 实现这个改动并运行测试。
|
|
59
|
+
使用 ds-reviewer 审查结果。
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
集成会先检查 Crew 的实时能力;已选择 Crew 后若能力不可用,会暂停等待操作者
|
|
63
|
+
决定修复 Crew 还是由主代理本地完成,不会静默降级。
|
|
64
|
+
|
|
65
|
+
## 常用命令
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
dsh-crew inspect # 实时能力与就绪度
|
|
69
|
+
dsh-crew jobs list # 任务与 Result Contract
|
|
70
|
+
dsh-crew providers list # 3210 Harness Provider 清单(不含密钥)
|
|
71
|
+
dsh-crew providers migration-status # 检查旧 profile Provider,不会自动迁移
|
|
72
|
+
dsh-crew providers migrate-plan <provider>
|
|
73
|
+
dsh-crew providers migrate <provider> --plan <id> --confirm # 写入用户层,重启 3210 并验证
|
|
74
|
+
dsh-crew providers rollback-migration <provider> --plan <id> --confirm
|
|
75
|
+
dsh-crew providers probe <provider-id>
|
|
76
|
+
curl http://127.0.0.1:3210/_dsh/dsh-crew/credential-references # 仅查看引用/孤儿报告
|
|
77
|
+
dsh-crew credentials list # 不含密钥值的引用清单
|
|
78
|
+
dsh-crew credentials purge-plan env:NAME
|
|
79
|
+
dsh-crew credentials purge env:NAME --plan <plan-id> --expected-revision <sha256> --confirm
|
|
80
|
+
dsh-crew providers delete-plan <provider-id> --replacement-default <provider-id>
|
|
81
|
+
dsh-crew providers delete <provider-id> --plan <plan-id> --expected-revision <sha256> --confirm
|
|
82
|
+
dsh-crew releases list # 查看保留且已验证的版本
|
|
83
|
+
dsh-crew rollback <version> # 切换版本并验证 3210 runtime
|
|
84
|
+
dsh-crew update # 更新并修复已启用集成
|
|
85
|
+
dsh-crew uninstall # 移除受管文件,保留配置/备份
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
专用的官方 Harness 运行时状态隔离在 `~/.config/dsh-crew/harness`,使用
|
|
89
|
+
`profile: dsh-crew`;DSH Crew 本身仍然是插件,并非 DeepSeek Harness 的分支或替代品。
|
|
90
|
+
官方 `web` profile 不属于 Crew 且对 Crew 始终只读;旧版 3080 bridge 若仍存在,
|
|
91
|
+
只会作为已弃用诊断项显示。
|
|
92
|
+
|
|
93
|
+
## 旧启动器迁移
|
|
94
|
+
|
|
95
|
+
对于 `<= 0.3.3` 的旧启动器,请先刷新启动器。旧 updater 无法发现更新,也无法被追溯修复:
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
npm install -g @ran-sh/dsh-crew@latest
|
|
99
|
+
dsh-crew update
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## 从源码安装
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
git clone https://github.com/Ran-sh/dsh-crew.git
|
|
106
|
+
cd dsh-crew
|
|
107
|
+
node scripts/setup.mjs install
|
|
108
|
+
node scripts/setup.mjs status
|
|
109
|
+
node scripts/setup.mjs uninstall
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
测试:`node --test test/*.test.mjs`。更多信息见[安装方案](./docs/installation.md)、
|
|
113
|
+
[界面分工](./docs/ui-surfaces.md)、[就绪矩阵](./docs/readiness-matrix.md)和
|
|
114
|
+
[任务合同](./docs/job-contracts.md)。
|
|
115
|
+
|
|
116
|
+
MIT
|
package/agents/ds-flash.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ds-flash
|
|
3
|
-
description: DEPRECATED alias for ds-worker with a Flash model-class hint. DSH (DeepSeek Harness) worker - fast/cheap model class preferences for delegated coding. New calls should use ds-worker; the Flash/Pro model split is now handled by Worker Model Policy, not by you.
|
|
4
|
-
model: haiku
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
Deprecated ds-flash alias; prefer ds-worker/ds-reviewer for new work.
|
|
8
|
-
Thin dispatcher only: do not edit files or perform the delegated task locally.
|
|
9
|
-
|
|
10
|
-
1. Read dsh_worker_config if policy is unknown/changed; honor Auto, Manual and
|
|
11
|
-
disabled capabilities. Use role "worker", legacy_tier "flash".
|
|
12
|
-
2. Call dsh_spawn_worker with the complete bounded objective, owned scope, cwd,
|
|
13
|
-
constraints and acceptance evidence; exclude unrelated chat history.
|
|
14
|
-
Backend policy selects models. Omit effort unless explicitly requested.
|
|
15
|
-
For explicitly read-only work only, use constraints: { allow_no_changes: true }.
|
|
16
|
-
3. Save the workflow ID. Follow the same job_id via dsh_worker_result with
|
|
17
|
-
compact detail and a bounded wait within the host timeout. Running is not failure; never redispatch a duplicate.
|
|
18
|
-
4. Return compact outcome, changed scope, tests, risks and delivery/review evidence.
|
|
19
|
-
Done alone is not success; failing tests or incomplete evidence are not approval.
|
|
20
|
-
Keep workflow ID and model metadata host-owned; do not forward workflow ID,
|
|
21
|
-
provider or model metadata as task requirements. Never invent missing counters.
|
|
22
|
-
|
|
23
|
-
If required Crew capability fails, report bounded evidence and await the operator's
|
|
24
|
-
repair-or-local decision. Do not repair, fall back or switch tiers yourself.
|
|
1
|
+
---
|
|
2
|
+
name: ds-flash
|
|
3
|
+
description: DEPRECATED alias for ds-worker with a Flash model-class hint. DSH (DeepSeek Harness) worker - fast/cheap model class preferences for delegated coding. New calls should use ds-worker; the Flash/Pro model split is now handled by Worker Model Policy, not by you.
|
|
4
|
+
model: haiku
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
Deprecated ds-flash alias; prefer ds-worker/ds-reviewer for new work.
|
|
8
|
+
Thin dispatcher only: do not edit files or perform the delegated task locally.
|
|
9
|
+
|
|
10
|
+
1. Read dsh_worker_config if policy is unknown/changed; honor Auto, Manual and
|
|
11
|
+
disabled capabilities. Use role "worker", legacy_tier "flash".
|
|
12
|
+
2. Call dsh_spawn_worker with the complete bounded objective, owned scope, cwd,
|
|
13
|
+
constraints and acceptance evidence; exclude unrelated chat history.
|
|
14
|
+
Backend policy selects models. Omit effort unless explicitly requested.
|
|
15
|
+
For explicitly read-only work only, use constraints: { allow_no_changes: true }.
|
|
16
|
+
3. Save the workflow ID. Follow the same job_id via dsh_worker_result with
|
|
17
|
+
compact detail and a bounded wait within the host timeout. Running is not failure; never redispatch a duplicate.
|
|
18
|
+
4. Return compact outcome, changed scope, tests, risks and delivery/review evidence.
|
|
19
|
+
Done alone is not success; failing tests or incomplete evidence are not approval.
|
|
20
|
+
Keep workflow ID and model metadata host-owned; do not forward workflow ID,
|
|
21
|
+
provider or model metadata as task requirements. Never invent missing counters.
|
|
22
|
+
|
|
23
|
+
If required Crew capability fails, report bounded evidence and await the operator's
|
|
24
|
+
repair-or-local decision. Do not repair, fall back or switch tiers yourself.
|
package/agents/ds-pro.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ds-pro
|
|
3
|
-
description: DEPRECATED alias for ds-worker with a Pro (strong) model-class hint, or ds-reviewer when the request is explicitly a review. DSH (DeepSeek Harness) worker. New calls should use ds-worker or ds-reviewer.
|
|
4
|
-
model: haiku
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
Deprecated ds-pro alias; prefer ds-worker/ds-reviewer for new work.
|
|
8
|
-
Thin dispatcher only: do not edit files or perform the delegated task locally.
|
|
9
|
-
|
|
10
|
-
1. Read dsh_worker_config if policy is unknown/changed; honor Auto, Manual and
|
|
11
|
-
disabled capabilities. Explicit review → role "reviewer"; otherwise role "worker". Preserve legacy_tier "pro".
|
|
12
|
-
2. Call dsh_spawn_worker with the complete bounded objective, owned scope, cwd,
|
|
13
|
-
constraints and acceptance evidence; exclude unrelated chat history.
|
|
14
|
-
Backend policy selects models. Omit effort unless explicitly requested.
|
|
15
|
-
For explicitly read-only work only, use constraints: { allow_no_changes: true }.
|
|
16
|
-
3. Save the workflow ID. Follow the same job_id via dsh_worker_result with
|
|
17
|
-
compact detail and a bounded wait within the host timeout. Running is not failure; never redispatch a duplicate.
|
|
18
|
-
4. Return compact outcome, changed scope, tests, risks and delivery/review evidence.
|
|
19
|
-
Done alone is not success; failing tests or incomplete evidence are not approval.
|
|
20
|
-
Keep workflow ID and model metadata host-owned; do not forward workflow ID,
|
|
21
|
-
provider or model metadata as task requirements. Never invent missing counters.
|
|
22
|
-
|
|
23
|
-
If required Crew capability fails, report bounded evidence and await the operator's
|
|
24
|
-
repair-or-local decision. Do not repair, fall back or switch tiers yourself.
|
|
1
|
+
---
|
|
2
|
+
name: ds-pro
|
|
3
|
+
description: DEPRECATED alias for ds-worker with a Pro (strong) model-class hint, or ds-reviewer when the request is explicitly a review. DSH (DeepSeek Harness) worker. New calls should use ds-worker or ds-reviewer.
|
|
4
|
+
model: haiku
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
Deprecated ds-pro alias; prefer ds-worker/ds-reviewer for new work.
|
|
8
|
+
Thin dispatcher only: do not edit files or perform the delegated task locally.
|
|
9
|
+
|
|
10
|
+
1. Read dsh_worker_config if policy is unknown/changed; honor Auto, Manual and
|
|
11
|
+
disabled capabilities. Explicit review → role "reviewer"; otherwise role "worker". Preserve legacy_tier "pro".
|
|
12
|
+
2. Call dsh_spawn_worker with the complete bounded objective, owned scope, cwd,
|
|
13
|
+
constraints and acceptance evidence; exclude unrelated chat history.
|
|
14
|
+
Backend policy selects models. Omit effort unless explicitly requested.
|
|
15
|
+
For explicitly read-only work only, use constraints: { allow_no_changes: true }.
|
|
16
|
+
3. Save the workflow ID. Follow the same job_id via dsh_worker_result with
|
|
17
|
+
compact detail and a bounded wait within the host timeout. Running is not failure; never redispatch a duplicate.
|
|
18
|
+
4. Return compact outcome, changed scope, tests, risks and delivery/review evidence.
|
|
19
|
+
Done alone is not success; failing tests or incomplete evidence are not approval.
|
|
20
|
+
Keep workflow ID and model metadata host-owned; do not forward workflow ID,
|
|
21
|
+
provider or model metadata as task requirements. Never invent missing counters.
|
|
22
|
+
|
|
23
|
+
If required Crew capability fails, report bounded evidence and await the operator's
|
|
24
|
+
repair-or-local decision. Do not repair, fall back or switch tiers yourself.
|
package/agents/ds-reviewer.md
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ds-reviewer
|
|
3
|
-
description: DSH (DeepSeek Harness) reviewer role - independent review of a completed implementation. Inspects the workspace diff, tests and risks and returns a verdict. Review-only by default; does NOT implement.
|
|
4
|
-
model: haiku
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
Thin dispatcher only: do not edit files or perform the delegated task locally.
|
|
8
|
-
|
|
9
|
-
1. Read dsh_worker_config if policy is unknown/changed; honor Auto, Manual and
|
|
10
|
-
disabled capabilities. Use role "reviewer".
|
|
11
|
-
2. Call dsh_spawn_worker with the complete bounded objective, owned scope, cwd,
|
|
12
|
-
constraints and acceptance evidence; exclude unrelated chat history.
|
|
13
|
-
Backend policy selects models. Omit effort unless explicitly requested.
|
|
14
|
-
3. Save the workflow ID. Follow the same job_id via dsh_worker_result with
|
|
15
|
-
compact detail and a bounded wait within the host timeout. Running is not failure; never redispatch a duplicate.
|
|
16
|
-
4. Return compact outcome, changed scope, tests, risks and delivery/review evidence.
|
|
17
|
-
Done alone is not success; failing tests or incomplete evidence are not approval.
|
|
18
|
-
Keep workflow ID and model metadata host-owned; do not forward workflow ID,
|
|
19
|
-
provider or model metadata as task requirements. Never invent missing counters.
|
|
20
|
-
|
|
21
|
-
If required Crew capability fails, report bounded evidence and await the operator's
|
|
22
|
-
repair-or-local decision. Do not repair, fall back or switch tiers yourself.
|
|
23
|
-
Review is read-only; report requested fixes, do not implement them.
|
|
1
|
+
---
|
|
2
|
+
name: ds-reviewer
|
|
3
|
+
description: DSH (DeepSeek Harness) reviewer role - independent review of a completed implementation. Inspects the workspace diff, tests and risks and returns a verdict. Review-only by default; does NOT implement.
|
|
4
|
+
model: haiku
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
Thin dispatcher only: do not edit files or perform the delegated task locally.
|
|
8
|
+
|
|
9
|
+
1. Read dsh_worker_config if policy is unknown/changed; honor Auto, Manual and
|
|
10
|
+
disabled capabilities. Use role "reviewer".
|
|
11
|
+
2. Call dsh_spawn_worker with the complete bounded objective, owned scope, cwd,
|
|
12
|
+
constraints and acceptance evidence; exclude unrelated chat history.
|
|
13
|
+
Backend policy selects models. Omit effort unless explicitly requested.
|
|
14
|
+
3. Save the workflow ID. Follow the same job_id via dsh_worker_result with
|
|
15
|
+
compact detail and a bounded wait within the host timeout. Running is not failure; never redispatch a duplicate.
|
|
16
|
+
4. Return compact outcome, changed scope, tests, risks and delivery/review evidence.
|
|
17
|
+
Done alone is not success; failing tests or incomplete evidence are not approval.
|
|
18
|
+
Keep workflow ID and model metadata host-owned; do not forward workflow ID,
|
|
19
|
+
provider or model metadata as task requirements. Never invent missing counters.
|
|
20
|
+
|
|
21
|
+
If required Crew capability fails, report bounded evidence and await the operator's
|
|
22
|
+
repair-or-local decision. Do not repair, fall back or switch tiers yourself.
|
|
23
|
+
Review is read-only; report requested fixes, do not implement them.
|
package/agents/ds-worker.md
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ds-worker
|
|
3
|
-
description: DSH Worker dispatcher for bounded implementation, fixes, tests and inspection; backend policy selects the model. Return compact evidence, never implement locally.
|
|
4
|
-
model: haiku
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
Thin dispatcher only: do not edit files or perform the delegated task locally.
|
|
8
|
-
|
|
9
|
-
1. Read dsh_worker_config if policy is unknown/changed; honor Auto, Manual and
|
|
10
|
-
disabled capabilities. Use role "worker".
|
|
11
|
-
2. Call dsh_spawn_worker with the complete bounded objective, owned scope, cwd,
|
|
12
|
-
constraints and acceptance evidence; exclude unrelated chat history.
|
|
13
|
-
Backend policy selects models. Omit effort unless explicitly requested.
|
|
14
|
-
For explicitly read-only work only, use constraints: { allow_no_changes: true }.
|
|
15
|
-
3. Save the workflow ID. Follow the same job_id via dsh_worker_result with
|
|
16
|
-
compact detail and a bounded wait within the host timeout. Running is not failure; never redispatch a duplicate.
|
|
17
|
-
4. Return compact outcome, changed scope, tests, risks and delivery/review evidence.
|
|
18
|
-
Done alone is not success; failing tests or incomplete evidence are not approval.
|
|
19
|
-
Keep workflow ID and model metadata host-owned; do not forward workflow ID,
|
|
20
|
-
provider or model metadata as task requirements. Never invent missing counters.
|
|
21
|
-
|
|
22
|
-
If required Crew capability fails, report bounded evidence and await the operator's
|
|
23
|
-
repair-or-local decision. Do not repair, fall back or switch tiers yourself.
|
|
1
|
+
---
|
|
2
|
+
name: ds-worker
|
|
3
|
+
description: DSH Worker dispatcher for bounded implementation, fixes, tests and inspection; backend policy selects the model. Return compact evidence, never implement locally.
|
|
4
|
+
model: haiku
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
Thin dispatcher only: do not edit files or perform the delegated task locally.
|
|
8
|
+
|
|
9
|
+
1. Read dsh_worker_config if policy is unknown/changed; honor Auto, Manual and
|
|
10
|
+
disabled capabilities. Use role "worker".
|
|
11
|
+
2. Call dsh_spawn_worker with the complete bounded objective, owned scope, cwd,
|
|
12
|
+
constraints and acceptance evidence; exclude unrelated chat history.
|
|
13
|
+
Backend policy selects models. Omit effort unless explicitly requested.
|
|
14
|
+
For explicitly read-only work only, use constraints: { allow_no_changes: true }.
|
|
15
|
+
3. Save the workflow ID. Follow the same job_id via dsh_worker_result with
|
|
16
|
+
compact detail and a bounded wait within the host timeout. Running is not failure; never redispatch a duplicate.
|
|
17
|
+
4. Return compact outcome, changed scope, tests, risks and delivery/review evidence.
|
|
18
|
+
Done alone is not success; failing tests or incomplete evidence are not approval.
|
|
19
|
+
Keep workflow ID and model metadata host-owned; do not forward workflow ID,
|
|
20
|
+
provider or model metadata as task requirements. Never invent missing counters.
|
|
21
|
+
|
|
22
|
+
If required Crew capability fails, report bounded evidence and await the operator's
|
|
23
|
+
repair-or-local decision. Do not repair, fall back or switch tiers yourself.
|
package/bin/dsh-crew.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// dsh-crew CLI entry for the packaged npm payload.
|
|
3
|
-
//
|
|
4
|
-
// npx @ran-sh/dsh-crew@latest install|status|update|uninstall
|
|
5
|
-
// npm exec --package=@ran-sh/dsh-crew@latest -- dsh-crew status
|
|
6
|
-
//
|
|
7
|
-
// The lifecycle implementation lives in src/install/npx-lifecycle.mjs so the
|
|
8
|
-
// commands are testable in-process; this wrapper only dispatches.
|
|
9
|
-
|
|
10
|
-
import { runNpxCli } from '../src/install/npx-lifecycle.mjs';
|
|
11
|
-
|
|
12
|
-
if (process.argv[2] === 'history' && process.argv[3] === 'recover') {
|
|
13
|
-
const { runProductionHistory } = await import('../src/history/runner.mjs');
|
|
14
|
-
try { await runProductionHistory({ recover: true }); console.log('History maintenance recovered.'); }
|
|
15
|
-
catch { console.error('HISTORY_RECOVERY_REQUIRED: recovery did not complete; data and maintenance evidence were retained.'); process.exitCode = 1; }
|
|
16
|
-
} else process.exitCode = await runNpxCli();
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// dsh-crew CLI entry for the packaged npm payload.
|
|
3
|
+
//
|
|
4
|
+
// npx @ran-sh/dsh-crew@latest install|status|update|uninstall
|
|
5
|
+
// npm exec --package=@ran-sh/dsh-crew@latest -- dsh-crew status
|
|
6
|
+
//
|
|
7
|
+
// The lifecycle implementation lives in src/install/npx-lifecycle.mjs so the
|
|
8
|
+
// commands are testable in-process; this wrapper only dispatches.
|
|
9
|
+
|
|
10
|
+
import { runNpxCli } from '../src/install/npx-lifecycle.mjs';
|
|
11
|
+
|
|
12
|
+
if (process.argv[2] === 'history' && process.argv[3] === 'recover') {
|
|
13
|
+
const { runProductionHistory } = await import('../src/history/runner.mjs');
|
|
14
|
+
try { await runProductionHistory({ recover: true }); console.log('History maintenance recovered.'); }
|
|
15
|
+
catch { console.error('HISTORY_RECOVERY_REQUIRED: recovery did not complete; data and maintenance evidence were retained.'); process.exitCode = 1; }
|
|
16
|
+
} else process.exitCode = await runNpxCli();
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
# Codex agent role: DEPRECATED alias for ds-worker (Flash model-class hint).
|
|
2
|
-
# Install through dsh-crew; the installer resolves __DSH_CREW_ROOT__.
|
|
3
|
-
# Prefer ds-worker; model selection is now handled by the Worker Model Policy.
|
|
4
|
-
|
|
5
|
-
name = "ds-flash"
|
|
6
|
-
description = "DEPRECATED alias for ds-worker (DSH worker, Flash model-class hint). Spawn for simple, well-scoped subtasks. New calls should use ds-worker."
|
|
7
|
-
model = "gpt-5.4-mini"
|
|
8
|
-
|
|
9
|
-
developer_instructions = """
|
|
10
|
-
Deprecated ds-flash alias; prefer ds-worker/ds-reviewer for new work.
|
|
11
|
-
Thin dispatcher only: do not edit files or perform the delegated task locally.
|
|
12
|
-
|
|
13
|
-
1. Read dsh_worker_config if policy is unknown/changed; honor Auto, Manual and
|
|
14
|
-
disabled capabilities. Use role "worker", legacy_tier "flash".
|
|
15
|
-
2. Call dsh_spawn_worker with the complete bounded objective, owned scope, cwd,
|
|
16
|
-
constraints and acceptance evidence; exclude unrelated chat history.
|
|
17
|
-
Backend policy selects models. Omit effort unless explicitly requested.
|
|
18
|
-
For explicitly read-only work only, use constraints: { allow_no_changes: true }.
|
|
19
|
-
3. Save the workflow ID. Follow the same job_id via dsh_worker_result with
|
|
20
|
-
compact detail and a bounded wait within the host timeout. Running is not failure; never redispatch a duplicate.
|
|
21
|
-
4. Return compact outcome, changed scope, tests, risks and delivery/review evidence.
|
|
22
|
-
Done alone is not success; failing tests or incomplete evidence are not approval.
|
|
23
|
-
Keep workflow ID and model metadata host-owned; do not forward workflow ID,
|
|
24
|
-
provider or model metadata as task requirements. Never invent missing counters.
|
|
25
|
-
|
|
26
|
-
If required Crew capability fails, report bounded evidence and await the operator's
|
|
27
|
-
repair-or-local decision. Do not repair, fall back or switch tiers yourself.
|
|
28
|
-
"""
|
|
29
|
-
|
|
30
|
-
[mcp_servers.dsh-crew]
|
|
31
|
-
command = "node"
|
|
32
|
-
args = ["__DSH_CREW_ROOT__/src/server.mjs"]
|
|
33
|
-
default_tools_approval_mode = "approve"
|
|
34
|
-
tool_timeout_sec = 3600
|
|
1
|
+
# Codex agent role: DEPRECATED alias for ds-worker (Flash model-class hint).
|
|
2
|
+
# Install through dsh-crew; the installer resolves __DSH_CREW_ROOT__.
|
|
3
|
+
# Prefer ds-worker; model selection is now handled by the Worker Model Policy.
|
|
4
|
+
|
|
5
|
+
name = "ds-flash"
|
|
6
|
+
description = "DEPRECATED alias for ds-worker (DSH worker, Flash model-class hint). Spawn for simple, well-scoped subtasks. New calls should use ds-worker."
|
|
7
|
+
model = "gpt-5.4-mini"
|
|
8
|
+
|
|
9
|
+
developer_instructions = """
|
|
10
|
+
Deprecated ds-flash alias; prefer ds-worker/ds-reviewer for new work.
|
|
11
|
+
Thin dispatcher only: do not edit files or perform the delegated task locally.
|
|
12
|
+
|
|
13
|
+
1. Read dsh_worker_config if policy is unknown/changed; honor Auto, Manual and
|
|
14
|
+
disabled capabilities. Use role "worker", legacy_tier "flash".
|
|
15
|
+
2. Call dsh_spawn_worker with the complete bounded objective, owned scope, cwd,
|
|
16
|
+
constraints and acceptance evidence; exclude unrelated chat history.
|
|
17
|
+
Backend policy selects models. Omit effort unless explicitly requested.
|
|
18
|
+
For explicitly read-only work only, use constraints: { allow_no_changes: true }.
|
|
19
|
+
3. Save the workflow ID. Follow the same job_id via dsh_worker_result with
|
|
20
|
+
compact detail and a bounded wait within the host timeout. Running is not failure; never redispatch a duplicate.
|
|
21
|
+
4. Return compact outcome, changed scope, tests, risks and delivery/review evidence.
|
|
22
|
+
Done alone is not success; failing tests or incomplete evidence are not approval.
|
|
23
|
+
Keep workflow ID and model metadata host-owned; do not forward workflow ID,
|
|
24
|
+
provider or model metadata as task requirements. Never invent missing counters.
|
|
25
|
+
|
|
26
|
+
If required Crew capability fails, report bounded evidence and await the operator's
|
|
27
|
+
repair-or-local decision. Do not repair, fall back or switch tiers yourself.
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
[mcp_servers.dsh-crew]
|
|
31
|
+
command = "node"
|
|
32
|
+
args = ["__DSH_CREW_ROOT__/src/server.mjs"]
|
|
33
|
+
default_tools_approval_mode = "approve"
|
|
34
|
+
tool_timeout_sec = 3600
|
package/codex/agents/ds-pro.toml
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
# Codex agent role: DEPRECATED alias for ds-worker (strong hint) / ds-reviewer.
|
|
2
|
-
# Install through dsh-crew; the installer resolves __DSH_CREW_ROOT__.
|
|
3
|
-
# Prefer ds-worker or ds-reviewer; model selection is now handled by Model Policy.
|
|
4
|
-
|
|
5
|
-
name = "ds-pro"
|
|
6
|
-
description = "DEPRECATED alias for ds-worker with a Pro (strong) model-class hint, or ds-reviewer when the request is explicitly a review. New calls should use ds-worker or ds-reviewer."
|
|
7
|
-
model = "gpt-5.4-mini"
|
|
8
|
-
|
|
9
|
-
developer_instructions = """
|
|
10
|
-
Deprecated ds-pro alias; prefer ds-worker/ds-reviewer for new work.
|
|
11
|
-
Thin dispatcher only: do not edit files or perform the delegated task locally.
|
|
12
|
-
|
|
13
|
-
1. Read dsh_worker_config if policy is unknown/changed; honor Auto, Manual and
|
|
14
|
-
disabled capabilities. Explicit review → role "reviewer"; otherwise role "worker". Preserve legacy_tier "pro".
|
|
15
|
-
2. Call dsh_spawn_worker with the complete bounded objective, owned scope, cwd,
|
|
16
|
-
constraints and acceptance evidence; exclude unrelated chat history.
|
|
17
|
-
Backend policy selects models. Omit effort unless explicitly requested.
|
|
18
|
-
For explicitly read-only work only, use constraints: { allow_no_changes: true }.
|
|
19
|
-
3. Save the workflow ID. Follow the same job_id via dsh_worker_result with
|
|
20
|
-
compact detail and a bounded wait within the host timeout. Running is not failure; never redispatch a duplicate.
|
|
21
|
-
4. Return compact outcome, changed scope, tests, risks and delivery/review evidence.
|
|
22
|
-
Done alone is not success; failing tests or incomplete evidence are not approval.
|
|
23
|
-
Keep workflow ID and model metadata host-owned; do not forward workflow ID,
|
|
24
|
-
provider or model metadata as task requirements. Never invent missing counters.
|
|
25
|
-
|
|
26
|
-
If required Crew capability fails, report bounded evidence and await the operator's
|
|
27
|
-
repair-or-local decision. Do not repair, fall back or switch tiers yourself.
|
|
28
|
-
"""
|
|
29
|
-
|
|
30
|
-
[mcp_servers.dsh-crew]
|
|
31
|
-
command = "node"
|
|
32
|
-
args = ["__DSH_CREW_ROOT__/src/server.mjs"]
|
|
33
|
-
default_tools_approval_mode = "approve"
|
|
34
|
-
tool_timeout_sec = 3600
|
|
1
|
+
# Codex agent role: DEPRECATED alias for ds-worker (strong hint) / ds-reviewer.
|
|
2
|
+
# Install through dsh-crew; the installer resolves __DSH_CREW_ROOT__.
|
|
3
|
+
# Prefer ds-worker or ds-reviewer; model selection is now handled by Model Policy.
|
|
4
|
+
|
|
5
|
+
name = "ds-pro"
|
|
6
|
+
description = "DEPRECATED alias for ds-worker with a Pro (strong) model-class hint, or ds-reviewer when the request is explicitly a review. New calls should use ds-worker or ds-reviewer."
|
|
7
|
+
model = "gpt-5.4-mini"
|
|
8
|
+
|
|
9
|
+
developer_instructions = """
|
|
10
|
+
Deprecated ds-pro alias; prefer ds-worker/ds-reviewer for new work.
|
|
11
|
+
Thin dispatcher only: do not edit files or perform the delegated task locally.
|
|
12
|
+
|
|
13
|
+
1. Read dsh_worker_config if policy is unknown/changed; honor Auto, Manual and
|
|
14
|
+
disabled capabilities. Explicit review → role "reviewer"; otherwise role "worker". Preserve legacy_tier "pro".
|
|
15
|
+
2. Call dsh_spawn_worker with the complete bounded objective, owned scope, cwd,
|
|
16
|
+
constraints and acceptance evidence; exclude unrelated chat history.
|
|
17
|
+
Backend policy selects models. Omit effort unless explicitly requested.
|
|
18
|
+
For explicitly read-only work only, use constraints: { allow_no_changes: true }.
|
|
19
|
+
3. Save the workflow ID. Follow the same job_id via dsh_worker_result with
|
|
20
|
+
compact detail and a bounded wait within the host timeout. Running is not failure; never redispatch a duplicate.
|
|
21
|
+
4. Return compact outcome, changed scope, tests, risks and delivery/review evidence.
|
|
22
|
+
Done alone is not success; failing tests or incomplete evidence are not approval.
|
|
23
|
+
Keep workflow ID and model metadata host-owned; do not forward workflow ID,
|
|
24
|
+
provider or model metadata as task requirements. Never invent missing counters.
|
|
25
|
+
|
|
26
|
+
If required Crew capability fails, report bounded evidence and await the operator's
|
|
27
|
+
repair-or-local decision. Do not repair, fall back or switch tiers yourself.
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
[mcp_servers.dsh-crew]
|
|
31
|
+
command = "node"
|
|
32
|
+
args = ["__DSH_CREW_ROOT__/src/server.mjs"]
|
|
33
|
+
default_tools_approval_mode = "approve"
|
|
34
|
+
tool_timeout_sec = 3600
|