dsh-agent-team-presets 0.3.4 → 0.3.5

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 (51) hide show
  1. package/README.md +7 -7
  2. package/README.zh.md +8 -8
  3. package/assets/card-patches/catalog.json +30 -0
  4. package/assets/card-patches/dsh-better-sidebar-0.33.0.client.js.gz +0 -0
  5. package/assets/card-patches/dsh-context-0.87.1.client.js.gz +0 -0
  6. package/assets/card-patches/dsh-context-0.87.2.client.js.gz +0 -0
  7. package/assets/skills/leader-worker-continuity/SKILL.md +166 -0
  8. package/assets/skills/leader-worker-continuity/references/handoff-record-template.md +30 -0
  9. package/assets/skills/leader-worker-continuity/references/task-slice-design.md +107 -0
  10. package/assets/skills/leader-worker-continuity/references/worker-recovery.md +53 -0
  11. package/docs/builtin-team-skills.md +8 -5
  12. package/docs/builtin-team-skills.zh.md +8 -5
  13. package/docs/builtin-teams.md +8 -6
  14. package/docs/builtin-teams.zh.md +8 -6
  15. package/docs/developer/architecture.md +2 -2
  16. package/docs/developer/architecture.zh.md +2 -2
  17. package/docs/guide/install.md +2 -2
  18. package/docs/guide/install.zh.md +2 -2
  19. package/docs/guide/team-skills.md +4 -4
  20. package/docs/guide/team-skills.zh.md +4 -4
  21. package/docs/guide/using-teams.md +14 -4
  22. package/docs/guide/using-teams.zh.md +14 -4
  23. package/docs/index.md +3 -3
  24. package/docs/index.zh.md +3 -3
  25. package/docs/reference/troubleshooting.md +1 -1
  26. package/docs/reference/troubleshooting.zh.md +1 -1
  27. package/lib/client.js +501 -61
  28. package/lib/index.js +219 -12
  29. package/lib/typert.host.js +5 -0
  30. package/lib/typert.remote-client.js +5 -0
  31. package/lib/types/builtin-skill.js +2 -2
  32. package/lib/types/builtin-teams.d.ts +6 -2
  33. package/lib/types/builtin-teams.js +6 -2
  34. package/lib/types/client/TeamAgentView.js +93 -21
  35. package/lib/types/client/TeamRosterAction.js +23 -4
  36. package/lib/types/client/locales.d.ts +1 -1
  37. package/lib/types/client/locales.js +26 -0
  38. package/lib/types/client/roster-visibility.d.ts +18 -0
  39. package/lib/types/client/roster-visibility.js +19 -0
  40. package/lib/types/client/team-skills-controller.js +10 -2
  41. package/lib/types/index.js +8 -0
  42. package/lib/types/keyword-search.d.ts +36 -0
  43. package/lib/types/keyword-search.js +63 -0
  44. package/lib/types/team-catalog.d.ts +20 -7
  45. package/lib/types/team-catalog.js +209 -7
  46. package/lib/types/team-skills/index.d.ts +1 -1
  47. package/lib/types/team-skills/index.js +1 -1
  48. package/lib/types/team-skills/official-bindings.d.ts +1 -1
  49. package/lib/types/team-skills/official-bindings.js +1 -0
  50. package/lib/types/types.d.ts +10 -1
  51. package/package.json +49 -49
@@ -1,16 +1,17 @@
1
1
  # 内置团队技能
2
2
 
3
- 插件随包提供 **13 个团队技能(Team Skill)**,并为其内置团队的角色绑定一套默认组合。本文是清单:每个技能做什么、属于哪一类、默认给哪个角色。
3
+ 插件随包提供 **14 个团队技能(Team Skill)**,并为其内置团队的角色绑定一套默认组合。本文是清单:每个技能做什么、属于哪一类、默认给哪个角色。
4
4
 
5
5
  [English](<builtin-team-skills.md>) · [文档入口](<index.zh.md>) · [内置团队](<builtin-teams.zh.md>) · [README](<../README.zh.md>)
6
6
 
7
- ## 13 个随包技能
7
+ ## 14 个随包技能
8
8
 
9
9
  | 技能(模型看到的 id) | 界面显示名 | 分类 | 用途 | 默认角色 |
10
10
  |---|---|---|---|---|
11
11
  | `agent-leader-communication` | 队长派发与通信 | 工作流型 | 队长的派发、咨询、结果回收与汇报协议。 | `team-lead` |
12
12
  | `leader-medium-task-workflow` | 中程任务工作流 | 工作流型 | 有界中程任务:轻量拆分、Team Task Board、队长 Todo、统一验收。 | `team-lead` |
13
13
  | `leader-long-task-orchestration` | 长程任务编排 | 工作流型 | 多轮交付:需求对齐、滚动规划、持久化计划、阶段验收。 | `team-lead` |
14
+ | `leader-worker-continuity` | 队长执行者接续 | 工作流型 | 长程切片交接:队长如何切片、维护持久状态,并在当前执行者无法继续时把同一 `TASK_ID` 的剩余工作交给新的执行者实例。 | `team-lead` |
14
15
  | `agent-subagent-orchestration` | 孙代理并行编排 | 工作流型 | 队长或执行者在什么条件下必须派孙代理,以及结果如何回收与集成。 | `team-lead`、`executor` |
15
16
  | `fullstack-advisor` | 全栈技术咨询 | 工作流型 | 顾问的咨询工作流与决策摘要契约。 | `fullstack-advisor` |
16
17
  | `executor-short-task-workflow` | 执行者短程工作流 | 工作流型 | 有界实现:最小变更、与风险匹配的验证、结构化汇报。 | `executor` |
@@ -30,7 +31,7 @@
30
31
 
31
32
  | 分类 | 数量 | 内容 |
32
33
  |---|---|---|
33
- | **工作流型** | 9 | 上面的队长、顾问与执行者工作流,以及三个专业角色工作流 |
34
+ | **工作流型** | 10 | 上面的队长、顾问与执行者工作流,以及三个专业角色工作流 |
34
35
  | **交付型** | 2 | 仓库展示与 Git 发布这一对 |
35
36
  | **方法型** | 2 | `grilling` 与 `research` |
36
37
  | **自定义** | — | 本版本未随包发布的全部技能:你自己导入或创建的 |
@@ -39,19 +40,21 @@
39
40
 
40
41
  ## 默认绑定
41
42
 
42
- 8 个工程技能绑定在研发团队上,2 个方法技能属于需求探索与科研协作团队。
43
+ 12 个工程技能(工作流型 + 交付型)绑定在研发团队上,2 个方法技能属于需求探索与科研协作团队。
43
44
 
44
45
  | 团队 | `team-lead` | 顾问角色 | `executor` | 其它 |
45
46
  |---|---|---|---|---|
46
47
  | 轻量研发团队 `builtin-lightweight` | 4 个工作流型 | 1 个(`fullstack-advisor`) | 4 个(含编排与交付) | — |
47
48
  | 标准研发团队 `builtin-standard` | 4 个工作流型 | 1 个(`fullstack-advisor`) | 4 个 | `reviewer` 2 个(审查工作流 + 编排) |
48
49
  | 全栈软件研发团队 `builtin-fullstack` | 4 个工作流型 | 不设该角色 | 4 个 | `ui-designer` 1 个、`backend-architect` 1 个、`reviewer` 2 个 |
50
+ | 高质量长程研发团队 `builtin-long-running` | 4 个工作流型(含 `leader-worker-continuity`) | 不设该角色 | 2 个(实现 + 编排) | — |
49
51
  | 需求探索 `builtin-discovery` | `grilling` | — | — | `research` 给 `technical-scout` 与 `product-scout` |
50
52
  | 架构规划 `builtin-planning` | — | — | — | 无默认技能 |
51
53
  | 既定工作流执行 `builtin-workflow` | — | — | — | 两个交付技能给 `repository-specialist` |
52
54
  | 工程研发协作 `builtin-engineering` | — | — | — | 两个交付技能给 `repository-specialist` |
53
55
  | 独立代码与安全审计 `builtin-audit` | — | — | — | 无默认技能 |
54
56
  | 科研协作 `builtin-research` | — | — | — | `research` 给 `evidence-scout` |
57
+ | 工程治理团队 `builtin-engineering-governance` | — | — | — | 无默认技能 |
55
58
 
56
59
  有三个数字要读仔细。第一,**绑定条数不等于技能个数**:轻量研发团队有 9 条绑定,但只对应 8 个不同技能——`agent-subagent-orchestration` 被刻意同时绑给队长和执行者。第二,标准研发团队保留单一顾问角色(`fullstack-advisor`),全栈软件研发团队把顾问拆成 `ui-designer` 与 `backend-architect`,两个团队都不再声明对方没有的专业角色。第三,`agent-subagent-orchestration` **只**绑给队长、执行者与 `reviewer`:顾问保持单线程。
57
60
 
@@ -78,5 +81,5 @@
78
81
 
79
82
  ## 相关
80
83
 
81
- - [内置团队](<builtin-teams.zh.md>)——九个预设,以及这些技能挂到哪些角色上
84
+ - [内置团队](<builtin-teams.zh.md>)——十一个预设,以及这些技能挂到哪些角色上
82
85
  - [新手必读(图文)](<guide/getting-started.zh.md>)——技能库与成员页的使用
@@ -1,6 +1,6 @@
1
1
  # Built-in Teams
2
2
 
3
- This plugin seeds **nine editable Teams** on a fresh installation: three development-scale Teams and six work-mode Teams. This document is the reference for what each one contains; [Built-in Team Skills](builtin-team-skills.md) documents the skills those roles receive.
3
+ This plugin seeds **eleven editable Teams** on a fresh installation: four development-scale Teams and seven work-mode Teams. This document is the reference for what each one contains; [Built-in Team Skills](builtin-team-skills.md) documents the skills those roles receive.
4
4
 
5
5
  [中文](<builtin-teams.zh.md>) · [Documentation index](index.md) · [README](../README.md)
6
6
 
@@ -13,28 +13,29 @@ This plugin seeds **nine editable Teams** on a fresh installation: three develop
13
13
 
14
14
  ## 研发规模系列 (Classic Development Scale)
15
15
 
16
- Three Teams for building software, differing in how much coordination the work needs.
16
+ Four Teams for building software, differing in how much coordination the work needs.
17
17
 
18
18
  | Preset | Roles | Intended use |
19
19
  |---|---|---|
20
20
  | **轻量研发团队**<br>`builtin-lightweight` | Captain `team-lead`, `fullstack-advisor`, `executor` | Small-to-medium iterations and multi-stage delivery. The captain aligns requirements, grades the task, explores in parallel, and accepts; the advisor answers technical decisions single-threaded; the executor implements, integrates, and verifies. |
21
21
  | **标准研发团队**<br>`builtin-standard` | Captain `team-lead`, `fullstack-advisor`, `executor`, `reviewer` | Medium features, significant refactors, and sustained iteration. The advisor answers technical decisions on demand; the executor implements continuously; the independent reviewer checks every code change. |
22
22
  | **全栈软件研发团队**<br>`builtin-fullstack` | Captain `team-lead`, `ui-designer`, `backend-architect`, `executor`, `reviewer` | Complex full-stack engineering across Web, desktop, and Android. The advisor role is split into the UI frontend engineer and the backend architect; the executor handles routine development and testing; the independent reviewer accepts. |
23
+ | **高质量长程研发团队**<br>`builtin-long-running` | Captain `team-lead`, `executor` | Long-running delivery that outlives one Session or one executor instance. Slices can hand over between executor instances, and independent work can run in parallel. |
23
24
 
24
25
  ### What each role is for
25
26
 
26
27
  | Role | Appears in | Responsibility |
27
28
  |---|---|---|
28
- | `team-lead` | all three | Aligns the requirement, grades the task, dispatches, integrates, and accepts. Holds the final risk call. |
29
+ | `team-lead` | all four | Aligns the requirement, grades the task, dispatches, integrates, and accepts. Holds the final risk call. |
29
30
  | `fullstack-advisor` | lightweight, standard | Cross-layer technical decisions, trade-offs, risks, and executable acceptance contracts. Does not implement. |
30
31
  | `reviewer` | standard, fullstack | Independent inspection of the actual change, the critical risks, and whether the tests can catch the defect. |
31
- | `executor` | all three | Implements, debugs, tests, and hands over verification evidence within the assigned scope. |
32
+ | `executor` | all four | Implements, debugs, tests, and hands over verification evidence within the assigned scope. |
32
33
  | `backend-architect` | fullstack | System architecture, API and data contracts, error semantics, auth isolation, migration compatibility, plus the complex backend fixes. |
33
34
  | `ui-designer` | fullstack | Visual direction, design systems, frontend components and interaction, real-screenshot visual acceptance, plus the frontend fixes. |
34
35
 
35
36
  ## 工作模式系列 (Work Modes)
36
37
 
37
- Six Teams for work that is not "build the next feature".
38
+ Seven Teams for work that is not "build the next feature".
38
39
 
39
40
  | Preset | Roles | Intended use |
40
41
  |---|---|---|
@@ -44,6 +45,7 @@ Six Teams for work that is not "build the next feature".
44
45
  | **工程研发协作**<br>`builtin-engineering` | Captain `engineering-lead`, `architect`, `executor`, `ui-designer`, `reviewer`, `repository-specialist` | Adaptive engineering: the captain does the work it can do directly and summons members when there is real gain. |
45
46
  | **独立代码与安全审计**<br>`builtin-audit` | Captain `audit-lead`, `code-auditor`, `security-auditor`, `finding-verifier` | Independent, read-only review of specified code, configuration, or changes. Reports and verifies; does not fix. |
46
47
  | **科研协作**<br>`builtin-research` | Captain `research-lead`, `methodologist`, `evidence-scout`, `research-engineer`, `skeptic` | Literature, method design, experiment code, and evidence strength. Runs experiments inside the authorized goal. |
48
+ | **工程治理团队**<br>`builtin-engineering-governance` | Captain `governance-lead`, `governance-auditor`, `remediation-engineer`, `acceptance-reviewer` | Evidence-based engineering governance for a project that keeps evolving: read-only diagnosis, controlled remediation, and independent acceptance, with the auditor and reviewer kept independent of the remediation. |
47
49
 
48
50
  ## Roles are addressed by name
49
51
 
@@ -58,5 +60,5 @@ Your Team records are stored in the active profile's configuration (`cordis.patc
58
60
 
59
61
  ## Related
60
62
 
61
- - [Built-in Team Skills](builtin-team-skills.md) — the ten shipped skills and which role receives each
63
+ - [Built-in Team Skills](builtin-team-skills.md) — the fourteen shipped skills and which role receives each
62
64
  - [Getting started](guide/getting-started.md) — the illustrated walkthrough for creating and using a Team
@@ -1,6 +1,6 @@
1
1
  # 内置团队
2
2
 
3
- 插件在全新安装时初始化 **九个可编辑团队**:三个研发规模团队,六个工作模式团队。本文说明每个团队包含什么;它们各自拿到哪些技能,见[内置团队技能](<builtin-team-skills.zh.md>)。
3
+ 插件在全新安装时初始化 **十一个可编辑团队**:四个研发规模团队,七个工作模式团队。本文说明每个团队包含什么;它们各自拿到哪些技能,见[内置团队技能](<builtin-team-skills.zh.md>)。
4
4
 
5
5
  [English](<builtin-teams.md>) · [文档入口](<index.zh.md>) · [README](<../README.zh.md>)
6
6
 
@@ -13,28 +13,29 @@
13
13
 
14
14
  ## 研发规模系列
15
15
 
16
- 三个用于开发软件的团队,区别在于协作开销。
16
+ 四个用于开发软件的团队,区别在于协作开销。
17
17
 
18
18
  | 预设 | 角色 | 适用场景 |
19
19
  |---|---|---|
20
20
  | **轻量研发团队**<br>`builtin-lightweight` | 队长 `team-lead`、`fullstack-advisor`、`executor` | 中小型功能迭代与多阶段开发。队长负责需求对齐、任务分级、并行探查与验收;顾问单线程回答技术决策;执行者实现、集成与验证。 |
21
21
  | **标准研发团队**<br>`builtin-standard` | 队长 `team-lead`、`fullstack-advisor`、`executor`、`reviewer` | 中型功能、重要重构与持续项目迭代。全栈顾问按需提供技术决策与验收契约;执行者持续研发;独立审查员检查有代码变更的交付。 |
22
22
  | **全栈软件研发团队**<br>`builtin-fullstack` | 队长 `team-lead`、`ui-designer`、`backend-architect`、`executor`、`reviewer` | 面向 Web、桌面与 Android 的跨端复杂工程。顾问职责拆成 UI 前端工程师与后端架构师;执行者承担常规开发测试;独立审查员验收。 |
23
+ | **高质量长程研发团队**<br>`builtin-long-running` | 队长 `team-lead`、`executor` | 交付周期长于单个会话或单个执行者实例的长程研发。切片可跨执行者实例接续,独立工作可并行处理。 |
23
24
 
24
25
  ### 各角色职责
25
26
 
26
27
  | 角色 | 出现于 | 职责 |
27
28
  |---|---|---|
28
- | `team-lead` | 三个团队 | 对齐需求、任务分级、派发、集成与验收,保留最终风险裁决权。 |
29
+ | `team-lead` | 四个团队 | 对齐需求、任务分级、派发、集成与验收,保留最终风险裁决权。 |
29
30
  | `fullstack-advisor` | 轻量、标准 | 跨层技术决策、方案权衡、风险分析与可执行验收契约;不承担编码。 |
30
31
  | `reviewer` | 标准、全栈 | 独立审查实际变更、关键风险,以及测试是否真能捕获该缺陷。 |
31
- | `executor` | 三个团队 | 在获派范围内实现、调试、测试并交接验证证据。 |
32
+ | `executor` | 四个团队 | 在获派范围内实现、调试、测试并交接验证证据。 |
32
33
  | `backend-architect` | 全栈 | 系统架构、API 与数据契约、错误语义、鉴权隔离、迁移兼容,并直接承担复杂后端修复。 |
33
34
  | `ui-designer` | 全栈 | 视觉方向、设计系统、前端组件与交互实现、真实截图视觉验收,并直接承担前端修复。 |
34
35
 
35
36
  ## 工作模式系列
36
37
 
37
- 六个用于"不是开发下一个功能"的场景。
38
+ 七个用于"不是开发下一个功能"的场景。
38
39
 
39
40
  | 预设 | 角色 | 适用场景 |
40
41
  |---|---|---|
@@ -44,6 +45,7 @@
44
45
  | **工程研发协作**<br>`builtin-engineering` | 队长 `engineering-lead`、`architect`、`executor`、`ui-designer`、`reviewer`、`repository-specialist` | 自适应工程:队长自己能做就直接做,有实际收益时才召唤成员。 |
45
46
  | **独立代码与安全审计**<br>`builtin-audit` | 队长 `audit-lead`、`code-auditor`、`security-auditor`、`finding-verifier` | 对指定代码、配置或变更做独立只读审查;只报告与复核,不负责修复。 |
46
47
  | **科研协作**<br>`builtin-research` | 队长 `research-lead`、`methodologist`、`evidence-scout`、`research-engineer`、`skeptic` | 文献、方法设计、实验代码与证据强度;在已授权目标内运行实验。 |
48
+ | **工程治理团队**<br>`builtin-engineering-governance` | 队长 `governance-lead`、`governance-auditor`、`remediation-engineer`、`acceptance-reviewer` | 面向持续演进的软件项目,基于证据开展工程诊断、受控整改与独立验收;诊断与验收角色保持独立于整改。 |
47
49
 
48
50
  ## 角色按名字寻址
49
51
 
@@ -58,5 +60,5 @@
58
60
 
59
61
  ## 相关
60
62
 
61
- - [内置团队技能](<builtin-team-skills.zh.md>)——10 个随包技能,以及哪个角色拿到哪一个
63
+ - [内置团队技能](<builtin-team-skills.zh.md>)——14 个随包技能,以及哪个角色拿到哪一个
62
64
  - [新手必读(图文)](<guide/getting-started.zh.md>)——创建与使用团队的逐步图解
@@ -48,7 +48,7 @@ Thanks to **张灏焱** for contributing the `grilling` and `research` method Te
48
48
  ## Related
49
49
 
50
50
  - [Documentation index](../index.md) — the full document map.
51
- - [Built-in Teams](../builtin-teams.md) — the nine shipped presets and their roles.
52
- - [Built-in Team Skills](../builtin-team-skills.md) — the ten shipped skills and per-role bindings.
51
+ - [Built-in Teams](../builtin-teams.md) — the eleven shipped presets and their roles.
52
+ - [Built-in Team Skills](../builtin-team-skills.md) — the fourteen shipped skills and per-role bindings.
53
53
  - [Getting started](../guide/getting-started.md) — the illustrated walkthrough.
54
54
  - [README](../../README.md) — overview, quick start, and the documentation map.
@@ -48,7 +48,7 @@ npm run bundle
48
48
  ## 相关
49
49
 
50
50
  - [文档索引](../index.zh.md) —— 完整的文档地图。
51
- - [内置团队](../builtin-teams.md) —— 九个内置预设与各自的角色。
52
- - [内置团队技能](../builtin-team-skills.md) —— 十个随包技能与各角色默认绑定。
51
+ - [内置团队](../builtin-teams.md) —— 十一个内置预设与各自的角色。
52
+ - [内置团队技能](../builtin-team-skills.md) —— 十四个随包技能与各角色默认绑定。
53
53
  - [新手必读(图文)](../guide/getting-started.md) —— 逐屏走查。
54
54
  - [README](../../README.zh.md) —— 总览、快速开始与文档导航。
@@ -6,13 +6,13 @@ What the plugin needs before it runs, the three supported install forms, and how
6
6
 
7
7
  ## Requirements
8
8
 
9
- - **DeepSeek Harness `>=0.2.2-rc.3 <0.3.0`.** Verified against **`0.2.2-rc.3`**; 0.2.2-rc.2 and older are refused. Each member's route is recorded through `agent.model.select()` for fresh, forked, and cold-resumed execution; the captain keeps the conversation's model selection. The plugin manager enforces `engines.dsh` from [package.json](../../package.json).
9
+ - **DeepSeek Harness `>=0.2.2-rc.5 <0.3.0`.** Verified against **`0.2.2-rc.5`**; 0.2.2-rc.4 and older are refused. Each member's route is recorded through `agent.model.select()` for fresh, forked, and cold-resumed execution; the captain keeps the conversation's model selection. The plugin manager enforces `engines.dsh` from [package.json](../../package.json).
10
10
  - **Custom tool allow-lists have their own contract.** What a policy admits, and what it cannot do, is described in [Tools and permissions](../reference/tools-and-permissions.md).
11
11
  - **No Agent Teams bundle is required.** Members are created through the deployment's continuable subagent providers, and native messaging, task tools, and the Web roster are unaffected by this plugin.
12
12
  - **A Web or Desktop profile with Settings and the required client services.** Install into the profile you actually use — typically `web` for the Web GUI or `desktop` for Desktop.
13
13
  - **Durable storage and a continuable subagent backend for member execution.** Member creation is refused if the storage domain or the selected execution backend is unavailable. The default backend names are `spawn` and `fork`.
14
14
 
15
- The plugin version (`0.3.4`) and the Harness version (`0.2.2-rc.3`, for example) are separate version lines.
15
+ The plugin version (`0.3.5`) and the Harness version (`0.2.2-rc.5`, for example) are separate version lines.
16
16
 
17
17
  ## Install
18
18
 
@@ -6,13 +6,13 @@
6
6
 
7
7
  ## 环境要求
8
8
 
9
- - **DeepSeek Harness `>=0.2.2-rc.3 <0.3.0`。** 本次实测版本为 **`0.2.2-rc.3`**;0.2.2-rc.2 及更旧版本会被拒绝。成员路由通过 `agent.model.select()` 写入各自会话,fresh、fork 与冷恢复均使用成员自己的配置;队长使用当前会话选择。插件管理器按 [package.json](../../package.json) 的 `engines.dsh` 判定兼容性。
9
+ - **DeepSeek Harness `>=0.2.2-rc.5 <0.3.0`。** 本次实测版本为 **`0.2.2-rc.5`**;0.2.2-rc.4 及更旧版本会被拒绝。成员路由通过 `agent.model.select()` 写入各自会话,fresh、fork 与冷恢复均使用成员自己的配置;队长使用当前会话选择。插件管理器按 [package.json](../../package.json) 的 `engines.dsh` 判定兼容性。
10
10
  - **自定义工具白名单有自己的规则边界。** 策略允许什么、限制什么,见[工具与权限](../reference/tools-and-permissions.md)。
11
11
  - **无需 Agent Teams bundle。** 成员通过部署自带的可继续执行 subagent 后端创建;原生消息、任务工具与 Web 名册不受本插件影响。
12
12
  - **具备 Settings 与所需客户端服务的 Web 或 Desktop profile。** 安装到实际使用的 profile:Web GUI 通常为 `web`,Desktop 通常为 `desktop`。
13
13
  - **成员执行所需的持久存储与支持恢复执行的子智能体后端。** 缺少 storage domain 或所选执行后端时,插件会拒绝创建成员。默认后端名为 `spawn` 和 `fork`。
14
14
 
15
- 插件版本(`0.3.4`)和 Harness 版本(如 `0.2.2-rc.3`)是不同的版本线。
15
+ 插件版本(`0.3.5`)和 Harness 版本(如 `0.2.2-rc.5`)是不同的版本线。
16
16
 
17
17
  ## 安装
18
18
 
@@ -1,6 +1,6 @@
1
1
  # Private Team Skills
2
2
 
3
- This plugin keeps its own Team Skill library: folders or `.zip` archives imported into a plugin-owned store and registered **only** inside the Agent scope of the member they are assigned to. A fresh install also ships ten built-in skills, already bound to the roles of the built-in Teams; the inventory is in [Built-in Team Skills](../builtin-team-skills.md).
3
+ This plugin keeps its own Team Skill library: folders or `.zip` archives imported into a plugin-owned store and registered **only** inside the Agent scope of the member they are assigned to. A fresh install also ships fourteen built-in skills, already bound to the roles of the built-in Teams; the inventory is in [Built-in Team Skills](../builtin-team-skills.md).
4
4
 
5
5
  [中文](<team-skills.zh.md>) · [Documentation index](../index.md) · [README](../../README.md)
6
6
 
@@ -10,7 +10,7 @@ Skills in Harness are typically registered into the global environment, which ex
10
10
 
11
11
  1. **Private library:** skills live in a plugin-managed directory (`~/.dsh/agent-team-presets/team-skills` or a storage domain), isolated from host and profile skills.
12
12
  2. **Per-Agent registration:** when a member is summoned, its assigned skills are registered **exclusively inside that member's Agent scope**. Other members and the captain cannot see or invoke them unless those skills are explicitly assigned to them too.
13
- 3. **Official built-in skills:** ten shipped skills in three kinds — six workflow, two delivery, two method — pre-bound to the roles of the built-in Teams. The inventory, the per-role default bindings, and the category filter are documented in [Built-in Team Skills](../builtin-team-skills.md); `agent-subagent-orchestration` is bound only to the captain and the executor, so advisors stay single-threaded.
13
+ 3. **Official built-in skills:** fourteen shipped skills in three kinds — ten workflow, two delivery, two method — pre-bound to the roles of the built-in Teams. The inventory, the per-role default bindings, and the category filter are documented in [Built-in Team Skills](../builtin-team-skills.md); `agent-subagent-orchestration` is bound only to the captain and the executor, so advisors stay single-threaded.
14
14
  4. **Local copies and restore:** built-in skills are read-only. Each editable copy gets a unique numbered name, and its creation dialog can optionally move roles already bound to the built-in skill. Restoring resets the copy’s content and returns those roles to the built-in skill.
15
15
  5. **Category filter:** the skill library and the member assignment grid each open with a category dropdown (All categories / Workflow / Delivery / Method / Custom). A single skill is drawn exactly as before; the filter only decides which skills are listed, never what a role holds, and the member heading keeps counting every installed skill.
16
16
  6. **Localized skill names:** the page labels a shipped skill in the reader's language — a Chinese page shows 「Git 提交与发布规范」 where an English page shows `git-release-hygiene`. The mapping is presentation only: the catalogue the model reads, the stored binding, the preset document, and the asset directory all keep the English `skillId`, so switching language or editing a label never touches the storage format and never breaks a cross-deployment import. A skill this build does not ship keeps showing its English id.
@@ -63,6 +63,6 @@ This example sets dependencies for a skill named `report-writer`.
63
63
 
64
64
  ## Related
65
65
 
66
- - [Built-in Team Skills](../builtin-team-skills.md) — the ten shipped skills and their default bindings
67
- - [Built-in Teams](../builtin-teams.md) — the nine presets these roles belong to
66
+ - [Built-in Team Skills](../builtin-team-skills.md) — the fourteen shipped skills and their default bindings
67
+ - [Built-in Teams](../builtin-teams.md) — the eleven presets these roles belong to
68
68
  - [Getting started](./getting-started.md) — the skill library and member page, screen by screen
@@ -1,6 +1,6 @@
1
1
  # 私有团队技能
2
2
 
3
- 本插件自带一套团队技能(Team Skill)私有库:导入的技能文件夹或 `.zip` 包存放在插件专属存储中,并且**只在被分配成员自己的 Agent 作用域内**注册。新装环境还随包提供 10 个内置技能,已默认绑定到内置团队的各角色;完整清单见[内置团队技能](<../builtin-team-skills.zh.md>)。
3
+ 本插件自带一套团队技能(Team Skill)私有库:导入的技能文件夹或 `.zip` 包存放在插件专属存储中,并且**只在被分配成员自己的 Agent 作用域内**注册。新装环境还随包提供 14 个内置技能,已默认绑定到内置团队的各角色;完整清单见[内置团队技能](<../builtin-team-skills.zh.md>)。
4
4
 
5
5
  [English](<team-skills.md>) · [文档索引](../index.zh.md) · [README](../../README.zh.md)
6
6
 
@@ -10,7 +10,7 @@
10
10
 
11
11
  1. **私有库:** 技能统一存放在插件专属目录(`~/.dsh/agent-team-presets/team-skills` 或独立存储域),与宿主、Profile 的技能相互隔离。
12
12
  2. **角色 Agent 作用域隔离:** 成员被召唤时,其绑定的专属技能**严格仅在该成员的 Agent Scope 内注册**。其他队员和队长既看不到也调不到,除非同样把这些技能显式分配给他们。
13
- 3. **官方内置技能:** 随包提供 10 个技能,分工作流型、交付型与方法型三类(6 / 2 / 2),默认绑定到内置团队的各角色。完整清单、各角色默认绑定与分类筛选见[内置团队技能](<../builtin-team-skills.zh.md>);`agent-subagent-orchestration` 只绑定队长与执行者,顾问保持单线程。
13
+ 3. **官方内置技能:** 随包提供 14 个技能,分工作流型、交付型与方法型三类(10 / 2 / 2),默认绑定到内置团队的各角色。完整清单、各角色默认绑定与分类筛选见[内置团队技能](<../builtin-team-skills.zh.md>);`agent-subagent-orchestration` 只绑定队长与执行者,顾问保持单线程。
14
14
  4. **本地副本与恢复:** 内置技能只读。每份可编辑副本都有独立的编号名称,创建时可选择切换已绑定内置技能的角色。恢复会重置副本内容,并将使用该副本的角色切回内置版。
15
15
  5. **分类筛选:** 团队技能库与成员分配网格的列表顶部各有一个分类下拉框(全部分类 / 工作流型 / 交付型 / 方法型 / 自定义)。单条技能的展示方式不变;筛选只影响列出哪些技能,不影响某个角色持有哪些技能,成员页标题也始终按全部已安装技能统计。
16
16
  6. **随包技能的中英文名:** 界面按当前语言显示技能名——中文界面显示「Git 提交与发布规范」,英文界面显示 `git-release-hygiene`。这张映射表**仅用于展示**:模型读到的技能目录、存储的绑定、预设文档与磁盘上的资产目录一律仍是英文 `skillId`,因此切换语言或修改显示名都不会动存储格式,也不会破坏跨部署导入。本版本未收录的技能继续显示其英文 id。
@@ -63,6 +63,6 @@ Web 界面的依赖面板仅供查看。要修改可编辑技能的依赖,请
63
63
 
64
64
  ## 相关
65
65
 
66
- - [内置团队技能](<../builtin-team-skills.zh.md>)——10 个随包技能及其默认绑定
67
- - [内置团队](<../builtin-teams.zh.md>)——这些角色所属的九个预设
66
+ - [内置团队技能](<../builtin-team-skills.zh.md>)——14 个随包技能及其默认绑定
67
+ - [内置团队](<../builtin-teams.zh.md>)——这些角色所属的十一个预设
68
68
  - [新手必读(图文)](<getting-started.zh.md>)——技能库与成员页的逐屏说明
@@ -50,12 +50,12 @@ Hover a Team row in the composer picker to open its member panel. The captain is
50
50
 
51
51
  ### Built-in presets
52
52
 
53
- A fresh installation seeds nine editable Teams across two series — three development-scale Teams and six work-mode Teams:
53
+ A fresh installation seeds eleven editable Teams across two series — four development-scale Teams and seven work-mode Teams:
54
54
 
55
55
  | Series | Teams |
56
56
  |---|---|
57
- | **研发规模系列 (Classic Development Scale)** | 轻量研发团队 `builtin-lightweight` · 标准研发团队 `builtin-standard` · 全栈软件研发团队 `builtin-fullstack` |
58
- | **工作模式系列 (Work Modes)** | 需求探索 `builtin-discovery` · 架构规划 `builtin-planning` · 既定工作流执行 `builtin-workflow` · 工程研发协作 `builtin-engineering` · 独立代码与安全审计 `builtin-audit` · 科研协作 `builtin-research` |
57
+ | **研发规模系列 (Classic Development Scale)** | 轻量研发团队 `builtin-lightweight` · 标准研发团队 `builtin-standard` · 全栈软件研发团队 `builtin-fullstack` · 高质量长程研发团队 `builtin-long-running` |
58
+ | **工作模式系列 (Work Modes)** | 需求探索 `builtin-discovery` · 架构规划 `builtin-planning` · 既定工作流执行 `builtin-workflow` · 工程研发协作 `builtin-engineering` · 独立代码与安全审计 `builtin-audit` · 科研协作 `builtin-research` · 工程治理团队 `builtin-engineering-governance` |
59
59
 
60
60
  Each preset's roles, its intended use, and the Team Skills those roles receive are documented in [Built-in Teams](../builtin-teams.md) and [Built-in Team Skills](../builtin-team-skills.md).
61
61
 
@@ -75,6 +75,16 @@ Each Team preset supports rich metadata:
75
75
 
76
76
  **Token economy:** Display metadata is stored in the preset document and used by the UI for search, grouping, and cards, but is **never injected into the runtime LLM prompt context**.
77
77
 
78
+ **Where the line falls:** a field belongs to one side or the other depending only on whether it reaches model context.
79
+
80
+ | Reaches context (the model sees it) | Stays out (a human sees it) |
81
+ |---|---|
82
+ | Team name and purpose description | Display metadata: summary, tags, use cases, quick prompts, notes |
83
+ | Captain prompt, member descriptions and member prompts | Category assignment |
84
+ | Each role's model route and tool policy | Accent colors and list ordering |
85
+
86
+ The left column decides how the Team works, so changing it really changes model behavior. The right column only affects cards, the picker, and search results; it costs no tokens no matter how much you write.
87
+
78
88
  ### Local categories and hierarchical filtering
79
89
 
80
90
  - **Category manager:** Click **管理团队预设分类** in the Settings list to open a dedicated management page. Create, rename, reorder, and delete categories, and inspect team counts per category.
@@ -89,4 +99,4 @@ Each Team preset supports rich metadata:
89
99
 
90
100
  - [Install and upgrade](install.md)
91
101
  - [Getting started](getting-started.md) — the illustrated walkthrough, screen by screen.
92
- - [Built-in Teams](../builtin-teams.md) — roles and intended use of all nine presets.
102
+ - [Built-in Teams](../builtin-teams.md) — roles and intended use of all eleven presets.
@@ -50,12 +50,12 @@
50
50
 
51
51
  ### 内置预设
52
52
 
53
- 全新安装会初始化九个可编辑的团队,划分为两大系列——三个研发规模团队与六个工作模式团队:
53
+ 全新安装会初始化十一个可编辑的团队,划分为两大系列——四个研发规模团队与七个工作模式团队:
54
54
 
55
55
  | 系列 | 团队 |
56
56
  |---|---|
57
- | **研发规模系列** | 轻量研发团队 `builtin-lightweight` · 标准研发团队 `builtin-standard` · 全栈软件研发团队 `builtin-fullstack` |
58
- | **工作模式系列** | 需求探索 `builtin-discovery` · 架构规划 `builtin-planning` · 既定工作流执行 `builtin-workflow` · 工程研发协作 `builtin-engineering` · 独立代码与安全审计 `builtin-audit` · 科研协作 `builtin-research` |
57
+ | **研发规模系列** | 轻量研发团队 `builtin-lightweight` · 标准研发团队 `builtin-standard` · 全栈软件研发团队 `builtin-fullstack` · 高质量长程研发团队 `builtin-long-running` |
58
+ | **工作模式系列** | 需求探索 `builtin-discovery` · 架构规划 `builtin-planning` · 既定工作流执行 `builtin-workflow` · 工程研发协作 `builtin-engineering` · 独立代码与安全审计 `builtin-audit` · 科研协作 `builtin-research` · 工程治理团队 `builtin-engineering-governance` |
59
59
 
60
60
  每个预设的角色、适用场景,以及这些角色拿到哪些团队技能,见[内置团队](../builtin-teams.md)与[内置团队技能](../builtin-team-skills.md)。
61
61
 
@@ -75,6 +75,16 @@
75
75
 
76
76
  **Token 保护:** 展示元数据保存在预设文档中,仅在界面与检索中展示,**绝不注入 LLM 运行时提示词中**,不占用任何模型上下文。
77
77
 
78
+ **字段的界线:** 判断一个字段属于哪一侧,只看它会不会进入模型上下文。
79
+
80
+ | 进上下文(模型看得到) | 不进上下文(人看得到) |
81
+ |---|---|
82
+ | 团队名称、用途描述 | 展示元数据:简介、标签、适用场景、推荐任务、备注 |
83
+ | 队长提示词、成员描述与成员提示词 | 所属分类 |
84
+ | 各角色的模型路由与工具策略 | 颜色、列表排序 |
85
+
86
+ 前一组决定团队怎么干活,改动它会真实改变模型行为;后一组只影响卡片、选择器与检索结果,改多少都不消耗 Token。
87
+
78
88
  ### 本地分类与层级筛选
79
89
 
80
90
  - **分类管理页:** 点击设置列表中的 **管理团队预设分类** 即可进入独立管理页。支持新建分类、重命名、上下移动排序以及删除分类,清晰显示每个分类下的团队数量。
@@ -89,4 +99,4 @@
89
99
 
90
100
  - [安装与升级](install.zh.md)
91
101
  - [新手必读(图文)](getting-started.zh.md) —— 逐屏走查。
92
- - [内置团队](../builtin-teams.md) —— 九个预设的角色与适用场景。
102
+ - [内置团队](../builtin-teams.md) —— 十一个预设的角色与适用场景。
package/docs/index.md CHANGED
@@ -15,7 +15,7 @@ Entry point for the `dsh-agent-team-presets` documentation. The [README](../READ
15
15
  | Add the subagent card badges | [Integrations](guide/integrations.md) |
16
16
  | Review agent-facing tools, tool policies, and security boundaries | [Tools and permissions](reference/tools-and-permissions.md) |
17
17
  | Diagnose a Team, member, or install problem | [Troubleshooting](reference/troubleshooting.md) |
18
- | Know what the nine built-in Teams contain and what each role is for | [Built-in Teams](builtin-teams.md) |
18
+ | Know what the eleven built-in Teams contain and what each role is for | [Built-in Teams](builtin-teams.md) |
19
19
  | Know which Team Skill a role receives, and what those skills do | [Built-in Team Skills](builtin-team-skills.md) |
20
20
  | Work on the plugin itself | [Architecture and development](developer/architecture.md) |
21
21
 
@@ -32,8 +32,8 @@ Entry point for the `dsh-agent-team-presets` documentation. The [README](../READ
32
32
  | [docs/reference/tools-and-permissions.md](reference/tools-and-permissions.md) · [中文](reference/tools-and-permissions.zh.md) | Agent-facing tools, policy modes, first-turn registration, security boundaries | yes |
33
33
  | [docs/reference/troubleshooting.md](reference/troubleshooting.md) · [中文](reference/troubleshooting.zh.md) | Configuration overrides, the built-in troubleshooting skill, common issues, known limitations | yes |
34
34
  | [docs/developer/architecture.md](developer/architecture.md) · [中文](developer/architecture.zh.md) | How the plugin integrates, source map, development commands | yes |
35
- | [docs/builtin-teams.md](builtin-teams.md) · [中文](builtin-teams.zh.md) | The nine built-in presets: series, roles, intended use, restore semantics, where the record lives | yes |
36
- | [docs/builtin-team-skills.md](builtin-team-skills.md) · [中文](builtin-team-skills.zh.md) | The ten shipped Team Skills: categories, default bindings per role, local overrides, scope | yes |
35
+ | [docs/builtin-teams.md](builtin-teams.md) · [中文](builtin-teams.zh.md) | The eleven built-in presets: series, roles, intended use, restore semantics, where the record lives | yes |
36
+ | [docs/builtin-team-skills.md](builtin-team-skills.md) · [中文](builtin-team-skills.zh.md) | The fourteen shipped Team Skills: categories, default bindings per role, local overrides, scope | yes |
37
37
  | `docs/internal/` | Development notes, audits, acceptance and release evidence | no — local working material, excluded from the repository |
38
38
 
39
39
  Every public document above ships with the package except the illustrated walkthrough, which references screenshots the tarball does not carry. `docs/internal/` is excluded from the repository itself and is never linked from a public page.
package/docs/index.zh.md CHANGED
@@ -15,7 +15,7 @@
15
15
  | 打开子代理卡片标签 | [集成](<guide/integrations.zh.md>) |
16
16
  | 了解面向智能体的工具、工具策略与安全边界 | [工具权限与安全](<reference/tools-and-permissions.zh.md>) |
17
17
  | 排查团队、成员或安装问题 | [排障](<reference/troubleshooting.zh.md>) |
18
- | 知道九个内置团队各包含什么、每个角色负责什么 | [内置团队](<builtin-teams.zh.md>) |
18
+ | 知道十一个内置团队各包含什么、每个角色负责什么 | [内置团队](<builtin-teams.zh.md>) |
19
19
  | 知道某个角色拿到哪些团队技能、这些技能做什么 | [内置团队技能](<builtin-team-skills.zh.md>) |
20
20
  | 参与插件本身的开发 | [架构与开发](<developer/architecture.zh.md>) |
21
21
 
@@ -32,8 +32,8 @@
32
32
  | [docs/reference/tools-and-permissions.md](reference/tools-and-permissions.md) · [中文](<reference/tools-and-permissions.zh.md>) | 面向智能体的工具、策略模式、首轮注册、安全边界 | 是 |
33
33
  | [docs/reference/troubleshooting.md](reference/troubleshooting.md) · [中文](<reference/troubleshooting.zh.md>) | 配置被覆盖、内置排障技能、常见问题、已知限制 | 是 |
34
34
  | [docs/developer/architecture.md](developer/architecture.md) · [中文](<developer/architecture.zh.md>) | 集成方式、源码导航、开发命令 | 是 |
35
- | [docs/builtin-teams.md](builtin-teams.md) · [中文](<builtin-teams.zh.md>) | 九个内置预设:系列、角色、适用场景、恢复语义、记录存放位置 | 是 |
36
- | [docs/builtin-team-skills.md](builtin-team-skills.md) · [中文](<builtin-team-skills.zh.md>) | 10 个随包团队技能:分类、各角色默认绑定、本地副本、作用域 | 是 |
35
+ | [docs/builtin-teams.md](builtin-teams.md) · [中文](<builtin-teams.zh.md>) | 十一个内置预设:系列、角色、适用场景、恢复语义、记录存放位置 | 是 |
36
+ | [docs/builtin-team-skills.md](builtin-team-skills.md) · [中文](<builtin-team-skills.zh.md>) | 14 个随包团队技能:分类、各角色默认绑定、本地副本、作用域 | 是 |
37
37
  | `docs/internal/` | 开发笔记、审计、验收与发布证据 | 否——本地材料,不入库 |
38
38
 
39
39
  除图文走查外,上面每份公开文档都随包发布;图文走查引用的截图不在发布包里。`docs/internal/` 本身不入库,也不会被任何公开页面链接。
@@ -37,7 +37,7 @@ The guide also states the evidence order: `configuredRoute`, `model/selection`,
37
37
 
38
38
  Three environment facts decide whether the page can render at all, and each of them is visible before you install:
39
39
 
40
- - **Host version.** The supported range is `>=0.2.2-rc.3 <0.3.0`; the plugin was verified against `0.2.2-rc.3`, and 0.2.2-rc.2 and older are refused. The plugin manager enforces `engines.dsh` in `package.json`.
40
+ - **Host version.** The supported range is `>=0.2.2-rc.5 <0.3.0`; the plugin was verified against `0.2.2-rc.5`, and 0.2.2-rc.4 and older are refused. The plugin manager enforces `engines.dsh` in `package.json`.
41
41
  - **Profile type.** Install into a Web or Desktop profile with Settings and the client services the page uses — typically `web` for the Web GUI or `desktop` for Desktop.
42
42
  - **Backends.** Member creation is refused if the storage domain or the selected execution backend is unavailable; the default backend names are `spawn` and `fork`.
43
43
 
@@ -37,7 +37,7 @@ Configuration for "agent-team-presets" is overridden by a home patch or command-
37
37
 
38
38
  能否渲染出该页面取决于三项环境事实,它们在安装之前就能确认:
39
39
 
40
- - **宿主版本。** 支持范围是 `>=0.2.2-rc.3 <0.3.0`;本次实测版本为 `0.2.2-rc.3`,0.2.2-rc.2 及更旧版本会被拒绝。插件管理器按 `package.json` 中的 `engines.dsh` 判定。
40
+ - **宿主版本。** 支持范围是 `>=0.2.2-rc.5 <0.3.0`;本次实测版本为 `0.2.2-rc.5`,0.2.2-rc.4 及更旧版本会被拒绝。插件管理器按 `package.json` 中的 `engines.dsh` 判定。
41
41
  - **profile 类型。** 安装到具备 Settings 与所需客户端服务的 Web 或 Desktop profile:Web GUI 通常为 `web`,Desktop 通常为 `desktop`。
42
42
  - **后端。** 缺少 storage domain 或所选执行后端时,插件会拒绝创建成员;默认后端名为 `spawn` 和 `fork`。
43
43