dsh-rolegroup 0.13.0 → 0.14.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/CHANGELOG.md CHANGED
@@ -5,7 +5,18 @@
5
5
 
6
6
  > **历史注记**:`0.7.0` 发布前,npm 上的上一版本是 `0.6.1`;这期间开发中用过 0.6.2 / 0.6.3 / 0.8.0 等
7
7
  > 内部里程碑号但都没发布,所以 `0.7.0` 是**自 `0.6.1` 以来的累积变更**(按 semver 只升一个 minor,不跳号)。
8
- > 当前 npm 上的 latest 见 registry(2026-11-27 查 `dist-tags.latest` = `0.12.2`)。
8
+ > 当前 npm 上的 latest 见 registry(2026-11-30 查 `dist-tags.latest` = `0.13.0`)。
9
+
10
+ ---
11
+
12
+ ## [0.14.0] — 2026-11-30
13
+
14
+ ### Breaking
15
+
16
+ - 内置 `scribe` 并入 `coder`,默认角色从 8 个降为 7 个;`coder` 的 `kimi-coding/k3.1-pro` 主路由与原备用链不变。文档回填、报告、spec 维护也走 `coder`;纯文档任务以简报为规格,简报须给目标文件、事实来源与风格要求,不再要求独立计划文件。
17
+ - 升级到本变更后,零覆盖与「恢复官方推荐」回落到 7 个内置角色。已保存的旧整表不会被自动改写:其中的 `scribe` 作为自定义角色保留,路由、persona、summary 与备用链不变;旧 coder persona 不自动更新。本次不新增 `scribe` 永久废弃警告,也不自动迁移配置。
18
+
19
+ Built-in `scribe` is merged into `coder`, reducing the default roster from eight roles to seven while keeping coder's model route and fallback chain unchanged. Documentation work now uses `coder`; a documentation-only brief is the spec. Saved legacy tables are not rewritten: their `scribe` rows remain custom roles, and old coder personas stay intact.
9
20
 
10
21
  ---
11
22
 
package/MODELS.en.md CHANGED
@@ -9,7 +9,6 @@ This page lists the officially recommended model for each role.
9
9
  | `coder` | `k3.1-pro` |
10
10
  | `reviewer` | `qwen3.8-flash` |
11
11
  | `scout` | `deepseek-flash` |
12
- | `scribe` | `qwen3.8-flash` |
13
12
  | `vision` | `qwen3.8-flash` |
14
13
  | `fallback` | `deepseek-flash` |
15
14
 
package/MODELS.md CHANGED
@@ -9,7 +9,6 @@
9
9
  | `coder` | `k3.1-pro` |
10
10
  | `reviewer` | `qwen3.8-flash` |
11
11
  | `scout` | `deepseek-flash` |
12
- | `scribe` | `qwen3.8-flash` |
13
12
  | `vision` | `qwen3.8-flash` |
14
13
  | `fallback` | `deepseek-flash` |
15
14
 
package/README.en.md CHANGED
@@ -11,16 +11,16 @@
11
11
  </p>
12
12
 
13
13
  <p align="center">
14
- <a href="https://www.npmjs.com/package/dsh-rolegroup"><img src="https://img.shields.io/badge/version-0.13.0-4D6BFE" alt="version 0.13.0"></a>
14
+ <a href="https://www.npmjs.com/package/dsh-rolegroup"><img src="https://img.shields.io/badge/version-0.14.0-4D6BFE" alt="version 0.14.0"></a>
15
15
  <a href="https://www.npmjs.com/package/dsh-rolegroup"><img src="https://img.shields.io/npm/dm/dsh-rolegroup?label=downloads" alt="npm downloads"></a>
16
16
  <a href="LICENSE"><img src="https://img.shields.io/npm/l/dsh-rolegroup" alt="MIT"></a>
17
17
  <img src="https://img.shields.io/badge/dsh-%E2%89%A50.2.1--rc.1-4D6BFE" alt="dsh >= 0.2.1-rc.1">
18
- <img src="https://img.shields.io/badge/roles-8-0f766e" alt="8 roles">
18
+ <img src="https://img.shields.io/badge/roles-7-0f766e" alt="7 roles">
19
19
  </p>
20
20
 
21
21
  > A community-maintained DeepSeek Harness (dsh) plugin, not an official DeepSeek product.
22
22
  >
23
- > This README describes **0.13.0**. Requires dsh **≥ 0.2.1-rc.1** (verified on 0.2.2-rc.5). The settings-page nav icon only shows on dsh ≥ 0.2.2-rc.5; everything else works on older releases.
23
+ > This README describes **0.14.0**. Requires dsh **≥ 0.2.1-rc.1** (verified on 0.2.2-rc.5). The settings-page nav icon only shows on dsh ≥ 0.2.2-rc.5; everything else works on older releases.
24
24
 
25
25
  ## Contents
26
26
 
@@ -38,7 +38,7 @@
38
38
 
39
39
  dsh-rolegroup takes the question "which model should this kind of work use?" out of each delegation and turns it into a role: name, provider/model, persona. Define it once, then call the role name.
40
40
 
41
- - **The role is the tool name**: eight built-in roles, `analyst` / `planner` / `coder` / `reviewer` / `scout` / `scribe` / `vision` / `fallback`; call the role name instead of writing `provider`/`model`.
41
+ - **The role is the tool name**: seven built-in roles, `analyst` / `planner` / `coder` / `reviewer` / `scout` / `vision` / `fallback`; call the role name instead of writing `provider`/`model`.
42
42
  - **Bind once, reuse everywhere**: a role carries its primary route, reasoning effort, fallback chain, and persona; changing the model is a configuration change, not a call-site change.
43
43
  - **Two configuration layers**: the built-in table (factory defaults) and optional panel overrides; a panel save applies to new sessions, not in-flight work.
44
44
  - **Fallbacks and diagnostics**: built-in roles carry DeepSeek fallback chains; `/rolegroup doctor` lists each effective route, availability, and repair hints.
@@ -115,7 +115,7 @@ The home layer survives profile rewrites, but it does not show up under "Install
115
115
  dsh --profile web --dump-config | grep -A1 dsh-rolegroup # should show - id: dsh-rolegroup
116
116
  ```
117
117
 
118
- Restart `dsh web` and open a new session. The eight role tools should be in the tool list; you can also run `/rolegroup doctor` from the new session.
118
+ Restart `dsh web` and open a new session. The seven role tools should be in the tool list; you can also run `/rolegroup doctor` from the new session.
119
119
 
120
120
  ### Delegate by role
121
121
 
@@ -131,7 +131,7 @@ After changing code, restart and open a new session. For panel saves, see §5.
131
131
 
132
132
  ## 3. Built-in roles
133
133
 
134
- With no override, the plugin registers these eight roles. The table shows the built-in initial values; the panel can override them.
134
+ With no override, the plugin registers these seven roles. The table shows the built-in initial values; the panel can override them.
135
135
 
136
136
  The table names models only: one model usually has several routes (subscription plan, pay-as-you-go, gateway), and the provider is up to your configuration. The built-in default points at the built-in table's providers (the author's subscriptions) — on your machine run `/rolegroup init` to generate routes that actually work, or edit them in the panel. Model ids and the effective routes are whatever `/rolegroup doctor` prints.
137
137
 
@@ -139,10 +139,9 @@ The table names models only: one model usually has several routes (subscription
139
139
  |---|---|---|
140
140
  | `analyst` | Qwen4 Max | Requirement clarification, path classification, plan review (do it / how), architecture decisions |
141
141
  | `planner` | Kimi K3.1 Pro | Plan design: file layout, task breakdown, interface contracts, writing the plan document |
142
- | `coder` | Kimi K3.1 Pro | Implementation: follow the steps of the plan/spec document supplied in the brief and report evidence per step |
142
+ | `coder` | Kimi K3.1 Pro | Implementation plus documentation backfill, reports, and spec maintenance: code/tests follow a plan/spec path; documentation-only work uses the brief as its spec |
143
143
  | `reviewer` | Qwen3.8 Flash | Closing review: check acceptance criteria against evidence (was it actually done) |
144
144
  | `scout` | DeepSeek V4.1 Flash | Exploration and bulk search (returns `file:line` evidence) |
145
- | `scribe` | Qwen3.8 Flash | Documentation backfill, reports, spec maintenance |
146
145
  | `vision` | Qwen3.8 Flash | Vision: image analysis, UI review, prototype reading, OCR (**the bound model must accept images**) |
147
146
  | `fallback` | DeepSeek V4.1 Flash | Catch-all for unclassified lightweight tasks |
148
147
 
@@ -161,7 +160,9 @@ Roles do not inherit the parent session's conversation history or the bodies of
161
160
 
162
161
  Fallback chains apply only when a role configuration provides fallbackModels; an explicitly configured role without that field does not inherit the built-in chain. The degraded and model-unadvertised warnings can coexist, and preflight risk names the actual fallback route.
163
162
 
164
- Use `scout` for code location and fact-finding, `reviewer` for acceptance-criteria closing review, and `analyst` for design judgement. For implementation, use `coder` when a structured plan or spec already exists (with its path supplied in the brief); if no plan has been formed, you may delegate to `planner` first.
163
+ Use `scout` for code location and fact-finding, `reviewer` for acceptance-criteria closing review, and `analyst` for design judgement. For code and tests, use `coder` when a structured plan or spec already exists (with its path supplied in the brief); if no implementation plan has been formed, you may delegate to `planner` first.
164
+
165
+ Documentation backfill, reports, and spec maintenance also go to `coder`; a documentation-only brief is the spec, no separate plan file is required, and the brief must name target files, factual sources, and style requirements. Do not route documentation-only work through `planner` first. It must not change code; mixed work stays within the files allowed by the plan or brief.
165
166
 
166
167
  #### Working with specification-driven workflows
167
168
 
@@ -177,9 +178,11 @@ Two layers: the built-in table (factory defaults) and panel overrides (optional)
177
178
 
178
179
  | Layer | What it is | When to use it |
179
180
  |---|---|---|
180
- | Built-in table | The eight factory bindings | Works with no configuration |
181
+ | Built-in table | The seven factory bindings | Works with no configuration |
181
182
  | Panel override | The table saved under Settings → 角色配置 | Change provider/model/persona |
182
183
 
184
+ With no overrides, or after "Restore official defaults" writes `enabled=true` + `roles=[]`, the current built-in table contains seven roles. A previously saved full table is not rewritten automatically: its `scribe` row remains a custom role with its route, persona, summary, and fallback chain intact; an old coder persona is not updated automatically.
185
+
183
186
  ### Fallback chains
184
187
 
185
188
  Built-in roles ship a chain that only targets the two DeepSeek providers dsh bundles: **`deepseek-account` (account login) first**, since that is what most users have, then `deepseek-official` (API key):
@@ -230,7 +233,7 @@ Example:
230
233
  ```
231
234
 
232
235
  ```
233
- dsh-rolegroup doctor — 8 个在册角色
236
+ dsh-rolegroup doctor — 7 个在册角色
234
237
  analyst qwen-token-plan-cn/qwen4-max ✅ ✅
235
238
  planner kimi-coding/k3.1-pro ✅ ✅
236
239
  …
package/README.md CHANGED
@@ -11,16 +11,16 @@
11
11
  </p>
12
12
 
13
13
  <p align="center">
14
- <a href="https://www.npmjs.com/package/dsh-rolegroup"><img src="https://img.shields.io/badge/version-0.13.0-4D6BFE" alt="version 0.13.0"></a>
14
+ <a href="https://www.npmjs.com/package/dsh-rolegroup"><img src="https://img.shields.io/badge/version-0.14.0-4D6BFE" alt="version 0.14.0"></a>
15
15
  <a href="https://www.npmjs.com/package/dsh-rolegroup"><img src="https://img.shields.io/npm/dm/dsh-rolegroup?label=downloads" alt="npm downloads"></a>
16
16
  <a href="LICENSE"><img src="https://img.shields.io/npm/l/dsh-rolegroup" alt="MIT"></a>
17
17
  <img src="https://img.shields.io/badge/dsh-%E2%89%A50.2.1--rc.1-4D6BFE" alt="dsh >= 0.2.1-rc.1">
18
- <img src="https://img.shields.io/badge/roles-8-0f766e" alt="8 roles">
18
+ <img src="https://img.shields.io/badge/roles-7-0f766e" alt="7 roles">
19
19
  </p>
20
20
 
21
21
  > 社区维护的 DeepSeek Harness(dsh)插件,不是 DeepSeek 官方产品。
22
22
  >
23
- > 本文描述 **0.13.0**。要求 dsh **≥ 0.2.1-rc.1**(实测 0.2.2-rc.5);设置页导航图标只在 dsh ≥ 0.2.2-rc.5 上显示,其余功能不受影响。
23
+ > 本文描述 **0.14.0**。要求 dsh **≥ 0.2.1-rc.1**(实测 0.2.2-rc.5);设置页导航图标只在 dsh ≥ 0.2.2-rc.5 上显示,其余功能不受影响。
24
24
 
25
25
  ## 目录
26
26
 
@@ -38,7 +38,7 @@
38
38
 
39
39
  dsh-rolegroup 把「这类活该用哪个模型」从每次委派里拿出来,固化成一个角色:名字、provider/model、persona 写一次,之后按角色名调用。
40
40
 
41
- - **角色即工具名**:内置 8 个角色,`analyst` / `planner` / `coder` / `reviewer` / `scout` / `scribe` / `vision` / `fallback`;委派时直接调用角色名,不用再写 `provider`/`model`。
41
+ - **角色即工具名**:内置 7 个角色,`analyst` / `planner` / `coder` / `reviewer` / `scout` / `vision` / `fallback`;委派时直接调用角色名,不用再写 `provider`/`model`。
42
42
  - **一次绑定,多处复用**:角色配置包含主路由、推理档位、备用链和 persona;换模型只改配置,不用改调用方。
43
43
  - **两层配置**:内置表(出厂默认)+ 设置面板覆盖;面板保存只对新会话生效,进行中的会话不受影响。
44
44
  - **可降级、可诊断**:内置角色带 DeepSeek 备用链;`/rolegroup doctor` 逐项列出实际路由、可用性和修复建议。
@@ -115,7 +115,7 @@ home 层不会被 profile 重写覆盖,但不会出现在「已安装」组,
115
115
  dsh --profile web --dump-config | grep -A1 dsh-rolegroup # 应出现 - id: dsh-rolegroup
116
116
  ```
117
117
 
118
- 重启 `dsh web`,开一个新会话。工具列表里应该出现 8 个角色工具;也可以在新会话里跑 `/rolegroup doctor`。
118
+ 重启 `dsh web`,开一个新会话。工具列表里应该出现 7 个角色工具;也可以在新会话里跑 `/rolegroup doctor`。
119
119
 
120
120
  ### 按角色委派
121
121
 
@@ -131,7 +131,7 @@ dsh --profile web --dump-config | grep -A1 dsh-rolegroup # 应出现 - id: dsh
131
131
 
132
132
  ## 3. 内置角色
133
133
 
134
- 没有任何覆盖时,插件会注册这 8 个角色。下表是内置初值,可以在面板里覆盖。
134
+ 没有任何覆盖时,插件会注册这 7 个角色。下表是内置初值,可以在面板里覆盖。
135
135
 
136
136
  表里只写**模型名称**:同一个模型往往有多条路由(订阅套餐、按量计费、聚合网关),具体 provider 由你的配置决定。内置默认绑定指向内置表里的 provider(作者的订阅),在你的机器上可用 `/rolegroup init` 生成一套本机可用的路由,或在面板里直接改。模型 ID 与实际生效路由以 `/rolegroup doctor` 为准。
137
137
 
@@ -139,10 +139,9 @@ dsh --profile web --dump-config | grep -A1 dsh-rolegroup # 应出现 - id: dsh
139
139
  |---|---|---|
140
140
  | `analyst` | Qwen4 Max | 需求澄清、路径分类、方案评审(做不做/怎么做)、架构决策 |
141
141
  | `planner` | Kimi K3.1 Pro | 计划设计:文件结构、任务拆分、接口契约、计划文档落笔 |
142
- | `coder` | Kimi K3.1 Pro | 编码执行:按计划/规格文档步骤实现并回填证据 |
142
+ | `coder` | Kimi K3.1 Pro | 编码执行,以及文档回填、报告、spec 维护:代码/测试按计划/规格路径执行,纯文档以简报为规格 |
143
143
  | `reviewer` | Qwen3.8 Flash | 收口审查:逐项核对验收标准与证据(做没做到) |
144
144
  | `scout` | DeepSeek V4.1 Flash | 探索定位、批量搜索(返回 `文件:行号` 证据) |
145
- | `scribe` | Qwen3.8 Flash | 文档回填、报告、spec 维护 |
146
145
  | `vision` | Qwen3.8 Flash | 看图:图片分析、UI 评审、原型识别、OCR(**要求绑定模型支持图片输入**) |
147
146
  | `fallback` | DeepSeek V4.1 Flash | 未分类的轻量任务兜底 |
148
147
 
@@ -161,7 +160,9 @@ dsh --profile web --dump-config | grep -A1 dsh-rolegroup # 应出现 - id: dsh
161
160
 
162
161
  备用链仅在角色配置提供 fallbackModels 时生效;显式配置的角色没写这个字段时,不继承内置链。降级与模型未广告预警可并存,预检风险使用实际备用路由。
163
162
 
164
- 代码定位与事实取证用 `scout`;带验收标准的收口核对用 `reviewer`;设计判断用 `analyst`。实现任务已有结构化计划或规格时用 `coder`(路径随简报给出),未形成计划的可先派 `planner`。
163
+ 代码定位与事实取证用 `scout`;带验收标准的收口核对用 `reviewer`;设计判断用 `analyst`。代码/测试任务已有结构化计划或规格时用 `coder`(路径随简报给出),未形成计划的可先派 `planner`。
164
+
165
+ 文档回填、报告、spec 维护也走 `coder`;纯文档任务以简报为规格,不要求独立计划文件,简报必须给目标文件、事实来源与风格要求,不要先改派 `planner`。纯文档任务不改代码;混合任务只改计划或简报允许的文件。
165
166
 
166
167
  #### 与规格驱动工作流配合
167
168
 
@@ -177,9 +178,11 @@ dsh --profile web --dump-config | grep -A1 dsh-rolegroup # 应出现 - id: dsh
177
178
 
178
179
  | 层 | 内容 | 什么时候用 |
179
180
  |---|---|---|
180
- | 内置表 | 8 个角色的出厂绑定 | 不配置时直接可用 |
181
+ | 内置表 | 7 个角色的出厂绑定 | 不配置时直接可用 |
181
182
  | 面板覆盖 | 「设置 → 角色配置」保存的整张表 | 改 provider/model/persona |
182
183
 
184
+ 没有覆盖,或点「恢复官方推荐」写入 `enabled=true` + `roles=[]` 时,当前内置表是 7 个角色。已经保存的旧整表不会被自动改写:其中的 `scribe` 作为自定义角色保留,路由、persona、summary 和备用链原样保留;旧 coder persona 不自动更新。
185
+
183
186
  ### 备用模型链
184
187
 
185
188
  内置角色都带一条链,只指向 dsh 自带的两个 DeepSeek provider:**账号登录的 `deepseek-account` 优先**(普通用户更可能只有登录态),其次 API Key 的 `deepseek-official`:
@@ -230,7 +233,7 @@ dsh --profile web --dump-config | grep -A1 dsh-rolegroup # 应出现 - id: dsh
230
233
  ```
231
234
 
232
235
  ```
233
- dsh-rolegroup doctor — 8 个在册角色
236
+ dsh-rolegroup doctor — 7 个在册角色
234
237
  analyst qwen-token-plan-cn/qwen4-max ✅ ✅
235
238
  planner kimi-coding/k3.1-pro ✅ ✅
236
239
  …
package/lib/client.js CHANGED
@@ -102,7 +102,7 @@ var init_settings_nav_icon = __esm({
102
102
  var PLUGIN_VERSION, PLUGIN_REPO_URL;
103
103
  var init_meta = __esm({
104
104
  "src/client/meta.js"() {
105
- PLUGIN_VERSION = true ? "0.13.0" : "dev";
105
+ PLUGIN_VERSION = true ? "0.14.0" : "dev";
106
106
  PLUGIN_REPO_URL = "https://github.com/zhouxnsz/dsh-rolegroup";
107
107
  }
108
108
  });
@@ -550,12 +550,14 @@ var DEFAULT_ROLES = {
550
550
  provider: "kimi-coding",
551
551
  model: "k3.1-pro",
552
552
  fallbackModels: ["deepseek-account/deepseek-flash", "deepseek-official/deepseek-flash", "deepseek-official/deepseek-v4-pro"],
553
- summary: "\u7F16\u7801\u6267\u884C\uFF1A\u6309\u8BA1\u5212/\u89C4\u683C\u6587\u6863\u6B65\u9AA4\u5B9E\u73B0\u5E76\u56DE\u586B\u8BC1\u636E",
553
+ summary: "\u7F16\u7801\u6267\u884C\u4E0E\u6587\u6863\u56DE\u586B\u3001\u62A5\u544A\u3001spec \u7EF4\u62A4\uFF1A\u4EE3\u7801/\u6D4B\u8BD5\u6309\u8BA1\u5212/\u89C4\u683C\u8DEF\u5F84\u5B9E\u73B0\uFF0C\u7EAF\u6587\u6863\u4EE5\u7B80\u62A5\u4E3A\u89C4\u683C\uFF0C\u5E76\u56DE\u586B\u8BC1\u636E",
554
554
  persona: [
555
- "\u4F60\u662F coder\u2014\u2014\u7F16\u7801\u6267\u884C\u89D2\u8272\u3002",
556
- "\u804C\u8D23\uFF1A\u4E25\u683C\u6309\u8C03\u7528\u65B9\u7B80\u62A5\u6307\u5B9A\u7684\u8BA1\u5212\u6216\u89C4\u683C\u6587\u6863\uFF08\u8DEF\u5F84\u7531\u7B80\u62A5\u7ED9\u51FA\uFF09\u6267\u884C\u4EFB\u52A1\u6B65\u9AA4\uFF1B\u9A8C\u8BC1\u8282\u594F\u4EE5\u8BA1\u5212\u63CF\u8FF0\u4E3A\u51C6\uFF0C\u4E0D\u81EA\u5E26\u56FA\u5B9A\u65B9\u6CD5\u8BBA\uFF1B",
557
- "\u6BCF\u6B65\u56DE\u586B\u8BC1\u636E\uFF08\u8DD1\u4E86\u4EC0\u4E48\u547D\u4EE4\u3001\u770B\u5230\u4EC0\u4E48\u8F93\u51FA\uFF09\u3002",
558
- "\u94C1\u5F8B\uFF1A\u4E0D\u504F\u79BB\u8BA1\u5212\u64C5\u81EA\u6269\u5927\u8303\u56F4\uFF1B\u9047\u5230\u8BA1\u5212\u7F3A\u9677\uFF0C\u505C\u4E0B\u6765\u62A5\u544A\uFF0C\u4E0D\u7ED5\u9053\u3002"
555
+ "\u4F60\u662F coder\u2014\u2014\u7F16\u7801\u6267\u884C\u4E0E\u6587\u6863\u7EF4\u62A4\u89D2\u8272\u3002",
556
+ "\u804C\u8D23\uFF1A\u4EE3\u7801/\u6D4B\u8BD5\u4EFB\u52A1\u4ECD\u4E25\u683C\u6309\u8BA1\u5212\u6216\u89C4\u683C\u8DEF\u5F84\u6267\u884C\uFF08\u8DEF\u5F84\u7531\u8C03\u7528\u65B9\u7B80\u62A5\u7ED9\u51FA\uFF09\uFF1B\u9A8C\u8BC1\u8282\u594F\u4EE5\u8BA1\u5212\u63CF\u8FF0\u4E3A\u51C6\uFF0C\u4E0D\u81EA\u5E26\u56FA\u5B9A\u65B9\u6CD5\u8BBA\uFF1B",
557
+ "\u7EAF\u6587\u6863\u4EFB\u52A1\u4EE5\u7B80\u62A5\u4E3A\u89C4\u683C\uFF0C\u4E0D\u8981\u6C42\u72EC\u7ACB\u8BA1\u5212\u6587\u4EF6\uFF1B\u7B80\u62A5\u5FC5\u987B\u7ED9\u76EE\u6807\u6587\u4EF6\u3001\u4E8B\u5B9E\u6765\u6E90\u4E0E\u98CE\u683C\u8981\u6C42\uFF1B",
558
+ "\u7EAF\u6587\u6863\u4E0D\u6539\u4EE3\u7801\uFF1B\u6DF7\u5408\u4EFB\u52A1\u53EA\u80FD\u6539\u8BA1\u5212/\u7B80\u62A5\u5141\u8BB8\u7684\u6587\u4EF6\uFF1B",
559
+ "\u4E8B\u5B9E\u6027\u5185\u5BB9\u5FC5\u987B\u6709\u51FA\u5904\uFF0C\u6BCF\u6B65\u56DE\u586B\u8BC1\u636E\uFF08\u8DD1\u4E86\u4EC0\u4E48\u547D\u4EE4\u3001\u770B\u5230\u4EC0\u4E48\u8F93\u51FA\uFF09\uFF0C\u4E0D\u7F16\u9020\u547D\u4EE4\u8F93\u51FA\u3002",
560
+ "\u94C1\u5F8B\uFF1A\u4E0D\u504F\u79BB\u8BA1\u5212\u6216\u7B80\u62A5\u64C5\u81EA\u6269\u5927\u8303\u56F4\uFF1B\u9047\u5230\u8BA1\u5212\u7F3A\u9677\uFF0C\u505C\u4E0B\u6765\u62A5\u544A\uFF0C\u4E0D\u7ED5\u9053\u3002"
559
561
  ].join("\n")
560
562
  },
561
563
  reviewer: {
@@ -586,18 +588,6 @@ var DEFAULT_ROLES = {
586
588
  "\u627E\u4E0D\u5230\u5C31\u660E\u8BF4\u627E\u4E0D\u5230\uFF0C\u5E76\u7ED9\u51FA\u5DF2\u6392\u9664\u7684\u8DEF\u5F84\u3002"
587
589
  ].join("\n")
588
590
  },
589
- scribe: {
590
- provider: "qwen-token-plan-cn",
591
- model: "qwen3.8-flash",
592
- fallbackModels: ["deepseek-account/deepseek-flash", "deepseek-official/deepseek-flash", "deepseek-official/deepseek-v4-pro"],
593
- summary: "\u6587\u6863\u56DE\u586B\u3001\u62A5\u544A\u3001spec \u7EF4\u62A4",
594
- persona: [
595
- "\u4F60\u662F scribe\u2014\u2014\u6587\u6863\u89D2\u8272\u3002",
596
- "\u804C\u8D23\uFF1A\u6587\u6863\u56DE\u586B\u3001\u62A5\u544A\u64B0\u5199\u3001spec \u7EF4\u62A4\uFF0C\u8BED\u8A00\u4E0E\u65E2\u6709\u6587\u6863\u98CE\u683C\u4E00\u81F4\u3002",
597
- "\u7EA6\u5B9A\uFF1A\u5199\u5165\u8303\u56F4\u4EC5\u9650\u6587\u6863\u7C7B\u6587\u4EF6\uFF08docs/\u3001plans/\u3001README\u3001openspec/\uFF0C\u8F6F\u7EA6\u5B9A\uFF09\uFF1B\u4E0D\u6539\u52A8\u4EE3\u7801\u903B\u8F91\uFF1B",
598
- "\u4E8B\u5B9E\u6027\u5185\u5BB9\u5FC5\u987B\u6709\u51FA\u5904\uFF0C\u4E0D\u7F16\u9020\u547D\u4EE4\u8F93\u51FA\u3002"
599
- ].join("\n")
600
- },
601
591
  vision: {
602
592
  // 多模态角色(0.8.0)。选型依据**两条独立证据**(不是推断):
603
593
  // ① 用户长期实践:omo 的 `multimodal-looker`(图片分析/UI 评审/原型识别)长期跑 qwen3.8-flash;
package/lib/roles.js CHANGED
@@ -65,12 +65,14 @@ export const DEFAULT_ROLES = {
65
65
  provider: 'kimi-coding',
66
66
  model: 'k3.1-pro',
67
67
  fallbackModels: ['deepseek-account/deepseek-flash', 'deepseek-official/deepseek-flash', 'deepseek-official/deepseek-v4-pro'],
68
- summary: '编码执行:按计划/规格文档步骤实现并回填证据',
68
+ summary: '编码执行与文档回填、报告、spec 维护:代码/测试按计划/规格路径实现,纯文档以简报为规格,并回填证据',
69
69
  persona: [
70
- '你是 coder——编码执行角色。',
71
- '职责:严格按调用方简报指定的计划或规格文档(路径由简报给出)执行任务步骤;验证节奏以计划描述为准,不自带固定方法论;',
72
- '每步回填证据(跑了什么命令、看到什么输出)。',
73
- '铁律:不偏离计划擅自扩大范围;遇到计划缺陷,停下来报告,不绕道。',
70
+ '你是 coder——编码执行与文档维护角色。',
71
+ '职责:代码/测试任务仍严格按计划或规格路径执行(路径由调用方简报给出);验证节奏以计划描述为准,不自带固定方法论;',
72
+ '纯文档任务以简报为规格,不要求独立计划文件;简报必须给目标文件、事实来源与风格要求;',
73
+ '纯文档不改代码;混合任务只能改计划/简报允许的文件;',
74
+ '事实性内容必须有出处,每步回填证据(跑了什么命令、看到什么输出),不编造命令输出。',
75
+ '铁律:不偏离计划或简报擅自扩大范围;遇到计划缺陷,停下来报告,不绕道。',
74
76
  ].join('\n'),
75
77
  },
76
78
  reviewer: {
@@ -101,18 +103,6 @@ export const DEFAULT_ROLES = {
101
103
  '找不到就明说找不到,并给出已排除的路径。',
102
104
  ].join('\n'),
103
105
  },
104
- scribe: {
105
- provider: 'qwen-token-plan-cn',
106
- model: 'qwen3.8-flash',
107
- fallbackModels: ['deepseek-account/deepseek-flash', 'deepseek-official/deepseek-flash', 'deepseek-official/deepseek-v4-pro'],
108
- summary: '文档回填、报告、spec 维护',
109
- persona: [
110
- '你是 scribe——文档角色。',
111
- '职责:文档回填、报告撰写、spec 维护,语言与既有文档风格一致。',
112
- '约定:写入范围仅限文档类文件(docs/、plans/、README、openspec/,软约定);不改动代码逻辑;',
113
- '事实性内容必须有出处,不编造命令输出。',
114
- ].join('\n'),
115
- },
116
106
  vision: {
117
107
  // 多模态角色(0.8.0)。选型依据**两条独立证据**(不是推断):
118
108
  // ① 用户长期实践:omo 的 `multimodal-looker`(图片分析/UI 评审/原型识别)长期跑 qwen3.8-flash;
@@ -390,7 +380,7 @@ export function roleAnnouncement(roles, options = {}) {
390
380
  '把任务简报写完整:背景、目标、约束、验收、已知事实(文件:行号)、待核验命题;角色不继承父会话的对话历史或已加载的技能正文,项目指令与技能目录由角色 preset 按子会话 cwd 重新组合,简报仍须自包含;未分类的轻量任务用 `fallback`。',
391
381
  '不要预设结论分布(不要写「应该全真/应该有问题」),引用逐字。事实性结论必须有可核验依据:代码事实给文件:行号,运行结果给命令与输出,图片给区域/坐标,外部事实给原始来源;无法复现的按 UNVERIFIED 处理。',
392
382
  '子任务结论是输入,不是裁决:抽查引用。代码定位/事实取证用 scout;带验收标准的收口核对用 reviewer;设计判断用 analyst。',
393
- '实现任务:已有结构化计划或规格的用 coder(路径随简报给出);未形成计划的可先派 planner。',
383
+ '实现任务:代码/测试已有结构化计划或规格的用 coder(路径随简报给出);未形成计划的可先派 planner。文档回填、报告、spec 维护也走 coder;纯文档任务以简报为规格,不要求独立计划文件,简报必须给目标文件、事实来源与风格要求,不得先改派 planner。',
394
384
  '角色↔模型搭配由 dsh-rolegroup 配置管理,改配置无需改工作流。',
395
385
  ...degradationLines,
396
386
  ].join('\n')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-rolegroup",
3
- "version": "0.13.0",
3
+ "version": "0.14.0",
4
4
  "description": "角色化委派插件:把「这类活该用哪个模型」固化为角色(名字 + 绑定模型 + persona),按角色名委派 · Role-based delegation: bind each kind of work to a model once and delegate by role name",
5
5
  "icon": "assets/icon.svg",
6
6
  "license": "MIT",