@joekytc/dsh-swarm 0.3.10 → 0.3.11
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/README.md +8 -0
- package/README.zh-CN.md +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -133,6 +133,10 @@ plan plan rev. KB impl impl rev. KB wrap-up
|
|
|
133
133
|
|
|
134
134
|
All keys are optional; schema lives in `src/config.ts`. **Most users only need the first three** — keep the rest at their defaults.
|
|
135
135
|
|
|
136
|
+
The 「模型链」 (model chain) card in the config panel: **every role gets its own model** — pick provider, model and reasoning effort per role; roles you leave untouched show 「继承」 (inherit) and follow the default.
|
|
137
|
+
|
|
138
|
+

|
|
139
|
+
|
|
136
140
|
| Key | Default | Description |
|
|
137
141
|
|---|---|---|
|
|
138
142
|
| `storageDir` | `$DSH_HOME/storages/kanban` | Event log (`events.jsonl`), orchestration state, per-task workspaces, `dispatcher.log`. Value must use the unquoted `!!js dshHomePath("storages/kanban")` form — quoting degrades it into a literal string |
|
|
@@ -185,6 +189,10 @@ web config panel under 「Swarm 配置 → 评审引擎(ocr)」 (Swarm confi
|
|
|
185
189
|
| **Delegate** (default) | ocr only outputs the review scope and rules; DT reviews each file with its own model | Zero API keys, works out of the box |
|
|
186
190
|
| **Managed** | ocr runs the full review with your chosen provider/model and returns normalized findings in one shot | For large change sets; delegate mode hints at switching past 50 files (a hint only, never auto-switched) |
|
|
187
191
|
|
|
192
|
+
The 「评审引擎(ocr)」 (review engine) card in the config panel: with ocr installed, choose the mode (managed / delegate) plus provider and model, then click 「应用到 ocr」 (Apply to ocr) to wire it up.
|
|
193
|
+
|
|
194
|
+

|
|
195
|
+
|
|
188
196
|
### Install
|
|
189
197
|
|
|
190
198
|
- When ocr is missing, the config panel shows a red banner — click 「安装 ocr」 (Install ocr) for a one-click global install (async, cancellable);
|
package/README.zh-CN.md
CHANGED
|
@@ -135,6 +135,10 @@ p ──> (pt?) ──> w2 ──> d ──> dt ──> w3 ──> summary
|
|
|
135
135
|
|
|
136
136
|
所有键均可选;schema 见 `src/config.ts`。**多数使用者只需关心前三项**,其余保持默认即可。
|
|
137
137
|
|
|
138
|
+
配置面板的「模型链」卡:**每个角色都能单独配模型**——逐个选提供方、模型与推理强度;未单独设置的角色显示「继承」,沿用默认配置。
|
|
139
|
+
|
|
140
|
+

|
|
141
|
+
|
|
138
142
|
| 键 | 默认值 | 说明 |
|
|
139
143
|
|---|---|---|
|
|
140
144
|
| `storageDir` | `$DSH_HOME/storages/kanban` | 事件日志(`events.jsonl`)、编排状态、每任务工作区、`dispatcher.log`。取值须用不加引号的 `!!js dshHomePath("storages/kanban")` 写法,加引号会退化成字面量字符串 |
|
|
@@ -186,6 +190,10 @@ p ──> (pt?) ──> w2 ──> d ──> dt ──> w3 ──> summary
|
|
|
186
190
|
| **委托**(默认) | ocr 只输出评审范围与规则,由 DT 自己的模型逐文件深入评审 | 零 API key,开箱即用 |
|
|
187
191
|
| **托管** | ocr 调用你选定的提供方/模型跑完整评审,一次返回归一化 findings | 适合大变更集;委托模式下超 50 文件时会提示可切换(仅提醒,不自动切换) |
|
|
188
192
|
|
|
193
|
+
配置面板的「评审引擎(ocr)」卡:装好 ocr 后选模式(托管/委托)与提供方、模型,点「应用到 ocr」即完成接入。
|
|
194
|
+
|
|
195
|
+

|
|
196
|
+
|
|
189
197
|
### 安装
|
|
190
198
|
|
|
191
199
|
- 未安装时配置面板出现红横幅,点「安装 ocr」一键全局安装(异步执行,可取消);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@joekytc/dsh-swarm",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.11",
|
|
4
4
|
"description": "A governed swarm of six specialist DSH agents (orchestrator, planner, knowledge-base bridge, developer and two reviewers) that turns a requirement into a strict phase pipeline with machine-verified delivery evidence, review-gated merges, a full audit-log event stream and a live kanban tab; design inspired by the Hermes Agent kanban",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "joekytc",
|