dsh-agent-team-presets 0.3.2 → 0.3.4

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 (121) hide show
  1. package/NOTICE +58 -3
  2. package/README.md +73 -398
  3. package/README.zh.md +79 -404
  4. package/assets/card-patches/catalog.json +30 -0
  5. package/assets/card-patches/dsh-context-0.85.0.client.js.gz +0 -0
  6. package/assets/card-patches/dsh-context-0.85.1.client.js.gz +0 -0
  7. package/assets/card-patches/dsh-context-0.87.0.client.js.gz +0 -0
  8. package/assets/skills/agent-leader-communication/SKILL.md +100 -0
  9. package/assets/skills/agent-subagent-orchestration/SKILL.md +56 -0
  10. package/assets/skills/agent-subagent-orchestration/references/executor-parallel-execution.md +56 -0
  11. package/assets/skills/agent-subagent-orchestration/references/leader-discovery.md +53 -0
  12. package/assets/skills/agent-subagent-orchestration/references/subagent-communication.md +58 -0
  13. package/assets/skills/backend-architecture-workflow/SKILL.md +55 -0
  14. package/assets/skills/backend-architecture-workflow/references/README.md +9 -0
  15. package/assets/skills/backend-architecture-workflow/references/architecture-audit.md +70 -0
  16. package/assets/skills/backend-architecture-workflow/references/architecture-decay-risks.md +75 -0
  17. package/assets/skills/backend-architecture-workflow/references/architecture-design.md +151 -0
  18. package/assets/skills/backend-architecture-workflow/references/bugfix-regression.md +63 -0
  19. package/assets/skills/backend-architecture-workflow/references/complex-bug-diagnosis.md +104 -0
  20. package/assets/skills/executor-short-task-workflow/SKILL.md +48 -0
  21. package/assets/skills/executor-short-task-workflow/references/agent-communication.md +44 -0
  22. package/assets/skills/executor-short-task-workflow/references/verification-and-reporting.md +45 -0
  23. package/assets/skills/frontend-engineering-workflow/SKILL.md +47 -0
  24. package/assets/skills/frontend-engineering-workflow/references/README.md +7 -0
  25. package/assets/skills/frontend-engineering-workflow/references/frontend-implementation.md +46 -0
  26. package/assets/skills/frontend-engineering-workflow/references/visual-design.md +43 -0
  27. package/assets/skills/frontend-engineering-workflow/references/visual-qa.md +126 -0
  28. package/assets/skills/fullstack-advisor/SKILL.md +50 -0
  29. package/assets/skills/fullstack-advisor/references/brooks-principles.md +51 -0
  30. package/assets/skills/fullstack-advisor/references/consultant-communication.md +51 -0
  31. package/assets/skills/fullstack-advisor/references/consultation-workflow.md +71 -0
  32. package/assets/skills/git-release-hygiene/SKILL.md +33 -21
  33. package/assets/skills/git-release-hygiene/references/git-safety.md +66 -0
  34. package/assets/skills/git-release-hygiene/references/pr-changelog.md +98 -0
  35. package/assets/skills/git-release-hygiene/references/release-standard.md +139 -0
  36. package/assets/skills/git-release-hygiene/references/validation-checklist.md +42 -0
  37. package/assets/skills/github-repository-presentation/SKILL.md +49 -130
  38. package/assets/skills/github-repository-presentation/references/bilingual-writing.md +43 -0
  39. package/assets/skills/github-repository-presentation/references/documentation-architecture.md +156 -0
  40. package/assets/skills/github-repository-presentation/references/readme-standard.md +273 -0
  41. package/assets/skills/github-repository-presentation/references/release-notes.md +70 -0
  42. package/assets/skills/github-repository-presentation/references/validation-checklist.md +47 -0
  43. package/assets/skills/independent-code-review-workflow/SKILL.md +60 -0
  44. package/assets/skills/independent-code-review-workflow/references/README.md +9 -0
  45. package/assets/skills/independent-code-review-workflow/references/decay-risks.md +99 -0
  46. package/assets/skills/independent-code-review-workflow/references/review-checklist.md +53 -0
  47. package/assets/skills/independent-code-review-workflow/references/review-methodology.md +113 -0
  48. package/assets/skills/independent-code-review-workflow/references/review-severity.md +49 -0
  49. package/assets/skills/independent-code-review-workflow/references/test-quality-review.md +71 -0
  50. package/assets/skills/leader-long-task-orchestration/SKILL.md +49 -0
  51. package/assets/skills/leader-long-task-orchestration/references/delivery-plan-template.md +73 -0
  52. package/assets/skills/leader-long-task-orchestration/references/product-alignment.md +46 -0
  53. package/assets/skills/leader-long-task-orchestration/references/rolling-wave-planning.md +32 -0
  54. package/assets/skills/leader-long-task-orchestration/references/technical-decisions-and-escalation.md +34 -0
  55. package/assets/skills/leader-medium-task-workflow/SKILL.md +55 -0
  56. package/assets/skills/leader-medium-task-workflow/references/task-board-and-leader-todo.md +41 -0
  57. package/docs/builtin-team-skills.md +82 -0
  58. package/docs/builtin-team-skills.zh.md +82 -0
  59. package/docs/builtin-teams.md +62 -0
  60. package/docs/builtin-teams.zh.md +62 -0
  61. package/docs/developer/architecture.md +54 -0
  62. package/docs/developer/architecture.zh.md +54 -0
  63. package/docs/guide/install.md +86 -0
  64. package/docs/guide/install.zh.md +86 -0
  65. package/docs/guide/integrations.md +50 -0
  66. package/docs/guide/integrations.zh.md +50 -0
  67. package/docs/guide/team-skills.md +68 -0
  68. package/docs/guide/team-skills.zh.md +68 -0
  69. package/docs/guide/using-teams.md +92 -0
  70. package/docs/guide/using-teams.zh.md +92 -0
  71. package/docs/index.md +53 -0
  72. package/docs/index.zh.md +53 -0
  73. package/docs/reference/tools-and-permissions.md +62 -0
  74. package/docs/reference/tools-and-permissions.zh.md +62 -0
  75. package/docs/reference/troubleshooting.md +59 -0
  76. package/docs/reference/troubleshooting.zh.md +59 -0
  77. package/icon.webp +0 -0
  78. package/lib/client.js +1459 -253
  79. package/lib/index.js +960 -342
  80. package/lib/typert.host.js +402 -29
  81. package/lib/typert.remote-client.d.ts +9 -9
  82. package/lib/typert.remote-client.d.ts.map +1 -1
  83. package/lib/typert.remote-client.js +402 -29
  84. package/lib/types/client/CardPatchView.js +21 -1
  85. package/lib/types/client/ComposerTeamSelect.js +24 -8
  86. package/lib/types/client/TeamAgentView.d.ts +1 -1
  87. package/lib/types/client/TeamAgentView.js +11 -6
  88. package/lib/types/client/TeamImportDialog.d.ts +4 -15
  89. package/lib/types/client/TeamImportDialog.js +29 -25
  90. package/lib/types/client/TeamPresetsSection.js +14 -5
  91. package/lib/types/client/TeamSkillsView.d.ts +5 -4
  92. package/lib/types/client/TeamSkillsView.js +64 -15
  93. package/lib/types/client/locales.d.ts +41 -2
  94. package/lib/types/client/locales.js +185 -8
  95. package/lib/types/client/team-presets-controller.d.ts +15 -2
  96. package/lib/types/client/team-presets-controller.js +86 -30
  97. package/lib/types/client/team-skills-controller.d.ts +14 -5
  98. package/lib/types/client/team-skills-controller.js +71 -37
  99. package/lib/types/index.js +57 -19
  100. package/lib/types/preset-editor.js +3 -4
  101. package/lib/types/preset-transfer.d.ts +1 -1
  102. package/lib/types/presets.d.ts +21 -23
  103. package/lib/types/presets.js +72 -36
  104. package/lib/types/team-catalog.d.ts +50 -3
  105. package/lib/types/team-catalog.js +214 -43
  106. package/lib/types/team-mode.d.ts +48 -0
  107. package/lib/types/team-mode.js +64 -0
  108. package/lib/types/team-skills/import.d.ts +17 -7
  109. package/lib/types/team-skills/import.js +115 -21
  110. package/lib/types/team-skills/index.d.ts +2 -3
  111. package/lib/types/team-skills/index.js +4 -8
  112. package/lib/types/team-skills/manager.d.ts +24 -15
  113. package/lib/types/team-skills/manager.js +98 -105
  114. package/lib/types/team-skills/official-bindings.d.ts +29 -0
  115. package/lib/types/team-skills/official-bindings.js +51 -0
  116. package/lib/types/team-skills/service.d.ts +7 -12
  117. package/lib/types/team-skills/service.js +143 -63
  118. package/lib/types/team-skills/store.d.ts +27 -6
  119. package/lib/types/team-skills/store.js +151 -15
  120. package/lib/types/types.d.ts +18 -4
  121. package/package.json +21 -2
package/README.md CHANGED
@@ -1,30 +1,22 @@
1
- # dsh-agent-team-presets
1
+ <p align="center">
2
+ <img src="banner.png" alt="dsh-agent-team-presets — reusable Agent Team presets for DeepSeek Harness" width="100%">
3
+ </p>
2
4
 
3
- <img src="banner.png" alt="Reusable Agent Team presets for DeepSeek Harness" width="100%">
5
+ <h1 align="center">dsh-agent-team-presets</h1>
6
+ <p align="center">Reusable Agent Team presets and a private, per-agent Team Skill library for DeepSeek Harness.</p>
7
+ <p align="center"><a href="README.zh.md">中文</a></p>
4
8
 
5
- *Concept illustration. The plugin interface is documented screen by screen in [Getting started](docs/guide/getting-started.md); the captain uses the conversation's selected model.*
6
-
7
- English | [中文](<README.zh.md>)
8
-
9
- > **New to this plugin?** Start with the illustrated walkthrough — every screen, every button: **[Getting started](docs/guide/getting-started.md)**.
10
-
11
- > **Community plugin v0.3.2** · [Tag](https://github.com/bloodarea/dsh-agent-team-presets/tree/v0.3.2)
12
- >
13
- > This release keeps more than one version of each supported target patchable at once, so updating **dsh-context** or **dsh-better-sidebar** no longer takes the Preset badge away, and it ships rebuilt replacements for **dsh-context 0.84.1** and **dsh-better-sidebar 0.32.1**. It requires **DeepSeek Harness 0.2.2-rc.3**: that is the release this build was verified on, and 0.2.2-rc.2 is now refused rather than claimed.
9
+ <p align="center">
10
+ <a href="https://github.com/deepseek-ai/deepseek-harness"><img src="https://img.shields.io/badge/DeepSeek%20Harness-0.2.2--rc.3-2563eb?style=flat-square" alt="DeepSeek Harness 0.2.2-rc.3"></a>
11
+ <a href="https://www.typescriptlang.org/"><img src="https://img.shields.io/badge/TypeScript-source-3178c6?style=flat-square&logo=typescript&logoColor=white" alt="TypeScript"></a>
12
+ <a href="https://www.npmjs.com/package/dsh-agent-team-presets"><img src="https://img.shields.io/npm/v/dsh-agent-team-presets?style=flat-square&label=npm" alt="npm version"></a>
13
+ <a href="LICENSE"><img src="https://img.shields.io/github/license/bloodarea/dsh-agent-team-presets?style=flat-square" alt="License: MIT"></a>
14
+ </p>
14
15
 
15
- ### What changed in 0.3.2
16
-
17
- - **Several upstream versions stay supported.** The patch catalog is keyed by target *and* version, each row is classified from the version that is actually installed, and the Integrations page lists every version this build ships a replacement for instead of only the newest.
18
- - **New replacements for `dsh-context` 0.84.1 and `dsh-better-sidebar` 0.32.1**, rebuilt from their upstream sources with the same small registration patch, then verified (the service must register, the bundle must stay within its size band, both hashes are recorded). The 0.84.0 and 0.32.0 entries stay, so a profile that has not upgraded is still patchable.
19
- - **A shipped catalog file.** `assets/card-patches/catalog.json` is merged over the versions compiled into the plugin, so supporting another version becomes data rather than a code change.
20
- - **A rebuild pipeline.** `tools/card-patches.mjs` clones the upstream tag, applies the source patch (`git apply`, `--3way`, then fuzz), builds it with the target's own toolchain, verifies the result, and only then publishes; `apply` / `revert` install or remove one replacement in a profile with a backup. Repository only — not part of the npm package.
21
- - **Fixed a stale artifact.** 0.3.1 shipped a `lib/` built before the "a shipped preset set went missing" work, so its warning and restore path never reached users. Both are in 0.3.2.
22
- - **Host support narrowed to `0.2.2-rc.3`** in `engines.dsh` and the DSH peer ranges. The previous release claimed rc.2 while shipping a bundle built against a later contract; rc.2 and older are now refused with a named reason instead of being over-promised.
23
-
24
- Earlier releases and the full changelog are on the [Releases](https://github.com/bloodarea/dsh-agent-team-presets/releases) page.
16
+ *Concept illustration. The plugin interface is documented screen by screen in [Getting started](docs/guide/getting-started.md); the captain uses the conversation's selected model.*
25
17
 
26
18
  <a id="project-introduction"></a>
27
- ## Overview
19
+ ## What Is This?
28
20
 
29
21
  **dsh-agent-team-presets** is a visual Team preset and private skill manager for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness). Configure a Team once, assign per-agent isolated skills, then select it from the conversation composer whenever you need it.
30
22
 
@@ -39,14 +31,14 @@ This is a community plugin, not the Harness's bundled `@deepseek-ai/dsh-experime
39
31
  <a id="why-this-plugin"></a>
40
32
  ## Why this plugin?
41
33
 
42
- DeepSeek Harness already ships Agent Teams with multi-agent collaboration. In the Harness versions this plugin supports, per-Team configuration, skill isolation, and reuse are still left to the user, which is what this plugin addresses:
34
+ DeepSeek Harness already ships Agent Teams with multi-agent collaboration. In the Harness versions this plugin supports, per-Team configuration, skill isolation, and reuse are still left to the user:
43
35
 
44
- - **Teams are hard to reuse.** In those versions, native teams focus on runtime creation and collaboration, with no visual preset management; this plugin saves, duplicates, categorizes, and reuses named presets.
45
- - **Role setup is repetitive.** Each role's name, description, system prompt, and tool policies are configured once instead of re-described every time.
46
- - **Splitting work across models is awkward.** Every member picks its own model and reasoning effort, so one Team combines models by task, while the captain keeps leading on the Session's model.
47
- - **Tool permissions have no fine-grained entry point.** In those versions the native tool surface offers no per-role allow-list; here the captain and each member carry their own, so roles differ in what they may use.
48
- - **Skills lack per-agent scope isolation.** Shipped or user skills are typically registered globally, making all skills visible to every agent; this plugin provides a private Team Skill library where skills are discovered **only** by the specific Agent they are assigned to.
49
- - **Switching teams is inconvenient.** Pick a preset Team directly from the composer instead of rebuilding roles by hand.
36
+ - **Teams are hard to reuse.** Save, duplicate, categorize, and reuse named presets instead of rebuilding roles each time.
37
+ - **Role setup is repetitive.** Each role's name, description, system prompt, and tool policies are configured once.
38
+ - **Splitting work across models is awkward.** Every member picks its own model and reasoning effort, while the captain keeps leading on the Session's model.
39
+ - **Tool permissions have no fine-grained entry point.** The captain and each member carry their own allow-list, so roles differ in what they may use.
40
+ - **Skills lack per-agent scope isolation.** A private Team Skill library is discovered only by the Agent it is assigned to.
41
+ - **Switching teams is inconvenient.** Pick a preset Team directly from the composer.
50
42
 
51
43
  **Design principle:** the Harness subagent runtime owns collaboration at runtime; this plugin owns configuring, managing, isolating, and reusing teams and their skills.
52
44
 
@@ -55,63 +47,31 @@ DeepSeek Harness already ships Agent Teams with multi-agent collaboration. In th
55
47
 
56
48
  - **Reusable Teams:** create, duplicate, edit, select, and delete named presets.
57
49
  - **Per-member model routes:** assign models and reasoning effort to individual roles without changing the captain's model.
58
- - **Individual member chat:** hover a Team in the composer to inspect its captain and members; select one member to inject that member's role card, tool policy, Team Skills, and model route into the current Session.
59
- - **Independent tool policies:** choose all available tools or a custom allow-list for the captain and each member.
60
- - **Nine built-in presets across two series:** three software development scale teams (Lightweight, Standard, Full-Stack) and six specialized work-mode teams (Discovery, Planning, Workflow, Engineering, Security Audit, Research).
61
- - **Display metadata:** attach summary, tags, use cases, quick prompts (suggested tasks), and notes per Team. Strictly presentation-only: never injected into the runtime LLM context, saving context tokens.
62
- - **Local categories and search:** organize presets into custom categories via a dedicated category manager; instantly search over name, summary, tags, and use cases in both Settings and the Composer picker.
63
- - **Private Team Skill library:** import skill folders or ZIP archives into a plugin-owned store (`~/.dsh/agent-team-presets/team-skills`), completely isolated from global host skills.
64
- - **Per-agent skill isolation:** a 3-column assignment grid on member pages assigns skills to specific roles. Assigned skills are registered **strictly in that Agent's scope** when summoned—never leaked globally.
65
- - **Official built-in skills & local overrides:** ships two delivery skills (`github-repository-presentation`, `git-release-hygiene`) and two method skills (`grilling`, `research`), materialized into the private library and pre-bound to engineering, discovery, and research roles. Create local editable overrides and one-click restore them to the built-in copy (`恢复为插件内置版本`).
66
- - **Plugin-level troubleshooting skill:** installing the plugin registers the global runtime skill `agent-team-presets-troubleshooting` (not a Team Skill, not per-Agent isolated). It covers Team application, member creation, tool-policy refusals, model-route evidence, Team Skill visibility, and install/upgrade failures.
67
- - **Guarded deletion with blocker modal:** deleting a skill bound to any role, in use by an active member, or required as a dependency is refused, with a confirmation modal detailing every blocking holder.
68
- - **Dependency verification & MCP boundaries:** checks declared CLI executables against host `PATH` (flags found/missing and refuses assignment when absent) and reports declared MCP servers (declarative display; never auto-connected or hard-blocking).
69
- - **Agent-facing tools:** root sessions provide `list_team_skills`, `assign_team_skill`, `unassign_team_skill`, and `remove_team_skill` alongside `get_team_preset` and `update_team_preset`.
70
- - **Live settings feedback:** see whether a Team is idle, busy, or awaiting an update in an online Session.
71
- - **Theme integration:** robust light and dark mode adaptation across all cards, dialogs, inputs, and dropdowns.
72
- - **Subagent card badges:** tag the subagents a Team created on the Fleet and Tasks cards, through an optional card service each target plugin may expose.
73
-
74
- ## Contents
75
-
76
- - [Overview](#project-introduction)
77
- - [Why this plugin?](#why-this-plugin)
78
- - [Features](#features)
79
- - [Getting started (illustrated)](docs/guide/getting-started.md)
80
- - [Requirements](#requirements)
81
- - [Install and upgrade](#use-this-package)
82
- - [Configure and use a Team](#configure-a-team)
83
- - [Display metadata, categories, and search](#metadata-categories-search)
84
- - [Private Team Skills and per-agent isolation](#team-skills)
85
- - [Share presets](#share-presets)
86
- - [Subagent card badges](#agent-card-badges)
87
- - [Agent-facing tools](#agent-facing-tools)
88
- - [Tool permissions and security](#tool-permissions)
89
- - [Troubleshooting and limitations](#known-limitations-and-deferred-work)
90
- - [How it works](#understand-the-implementation)
91
- - [Development and contributing](#development)
92
- - [Related resources](#further-exploration)
93
- - [License](#license)
94
-
95
- <a id="screenshots"></a>
96
- ## Screenshots
97
-
98
- Interface screenshots live with the walkthrough, taken live from an isolated instance that had only this plugin installed: **[docs/guide/getting-started.md](docs/guide/getting-started.md)**.
99
-
100
- <a id="requirements"></a>
101
- ## Requirements
102
-
103
- - **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>).
104
- - **Custom tool allow-lists work on PTC by giving that Session its own native surface.** The Host cannot restore an inherited executor after a release, so the plugin never releases one: on a PTC preset it mounts the Harness native tool executor on the Session's Agent scope and leaves the deployment executor alone. The trade-off is deliberate — that Session stops using `run_code` for the rest of its life, while other Sessions and the all-tools mode keep PTC. If mounting fails, or the surface still exposes the PTC transport afterwards, the application is refused and nothing is left behind, because no executor was ever released.
105
- - **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.
106
- - **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.
107
- - **Durable storage and a continuable subagent backend for member execution.** Member creation is refused if the storage domain or selected execution backend is unavailable. The default backend names are `spawn` and `fork`.
108
-
109
- The plugin version (`0.3.2`) and the Harness version (`0.2.2-rc.3`, for example) are separate version lines.
110
-
111
- <a id="use-this-package"></a>
112
- ## Install and upgrade
113
-
114
- ### Install and upgrade
50
+ - **Individual member chat:** select one member in the composer to inject that member's role card, tool policy, Team Skills, and model route into the current Session.
51
+ - **Independent tool policies:** all tools or a custom allow-list for the captain and each member.
52
+ - **Nine built-in presets across two series:** three development-scale Teams and six work-mode Teams; see [Built-in Teams](docs/builtin-teams.md).
53
+ - **Display metadata, local categories, and search:** summary, tags, use cases, quick prompts, and notes per Team — presentation only, never injected into the runtime context.
54
+ - **Private Team Skill library:** import skill folders or ZIP archives into a plugin-owned store (`~/.dsh/agent-team-presets/team-skills`), isolated from global host skills.
55
+ - **Per-agent skill isolation:** a 3-column assignment grid binds skills to specific roles; assigned skills are registered **strictly in that Agent's scope**.
56
+ - **Ten shipped Team Skills:** workflow, delivery, and method skills pre-bound to the built-in Teams, with editable local overrides and one-click restore; see [Built-in Team Skills](docs/builtin-team-skills.md).
57
+ - **Guarded deletion and dependency checks:** a skill still bound to a role, in use by a running member, or required as a dependency cannot be deleted; declared CLI executables are checked against the host `PATH`.
58
+ - **Agent-facing tools:** `get_team_preset`, `update_team_preset`, `list_team_skills`, `assign_team_skill`, `unassign_team_skill`, `remove_team_skill`.
59
+ - **Subagent card badges:** tag the subagents a Team created on the Fleet and Tasks cards of supported targets.
60
+ - **Live state and theme integration:** see whether a Team is idle, busy, or awaiting an update, with light and dark mode support.
61
+
62
+ <a id="quick-start"></a>
63
+ ## Quick Start
64
+
65
+ ### Requirements
66
+
67
+ - **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. The plugin manager enforces `engines.dsh` from [package.json](<package.json>).
68
+ - **A Web or Desktop profile with Settings and the required client services** — typically `web` for the Web GUI or `desktop` for Desktop.
69
+ - **Durable storage and a continuable subagent backend** for member execution; the default backend names are `spawn` and `fork`.
70
+ - Custom tool allow-lists have their own execution model; see [Tools and permissions](docs/reference/tools-and-permissions.md).
71
+
72
+ The plugin version (`0.3.4`) and the Harness version (`0.2.2-rc.3`, for example) are separate version lines.
73
+
74
+ ### Install
115
75
 
116
76
  #### Option 1 — npm package (recommended; receives update prompts)
117
77
 
@@ -129,337 +89,52 @@ Or install it from the CLI:
129
89
  dsh plugin --profile <profile> add dsh-agent-team-presets
130
90
  ```
131
91
 
132
- Replace `<profile>` with your active profile (e.g. `web` or `desktop`):
133
-
134
- ```sh
135
- dsh plugin --profile web add dsh-agent-team-presets
136
- ```
137
-
138
- The plugin manager compares the installed version against npm's `latest` dist-tag, so every later release is offered as an update.
139
-
140
- #### Option 2 — floating GitHub install
141
-
142
- Tracks the repository's default branch; an update is offered when `package.json` on that branch moves to a higher version:
143
-
144
- ```sh
145
- dsh plugin --profile <profile> add github:bloodarea/dsh-agent-team-presets
146
- ```
147
-
148
- #### Option 3 — reproducible pin (no update prompts)
149
-
150
- ```text
151
- dsh-agent-team-presets@0.3.1
152
- dsh plugin --profile <profile> add github:bloodarea/dsh-agent-team-presets#v0.3.1
153
- ```
154
-
155
- A fixed version or tag reproduces exactly one release. **A `#tag` GitHub spec is only ever compared against that same tag, so the market never reports an update for it — upgrading means editing the spec by hand.** Use this form only when you need a frozen install.
156
-
157
- #### Install notes
158
-
159
- - **Registry** selects which npm source the download comes from. **Default registry** uses pnpm's own configuration. Pick **Official npm registry** to bypass a mirror, or **Custom address** for an internal or cloud mirror.
160
- - The field accepts package names, `name@version`, `github:owner/repo`, tarball URLs, or absolute filesystem paths.
161
- - This package declares `dsh.bundle`, so the plugin manager automatically registers it as a profile bundle layer; do not add a loader entry by hand.
162
- - Once installed, reinstalling the same package identity is blocked. To switch sources (e.g. from GitHub to npm), uninstall first, then install the new spec.
163
- - GitHub and [npm](https://www.npmjs.com/package/dsh-agent-team-presets) are separate release channels, so check the version this install would fetch before switching channels:
164
-
165
- ```sh
166
- npm view dsh-agent-team-presets version
167
- ```
168
-
169
- - After installation, reload or restart as prompted.
170
-
171
- ### Verify and upgrade safely
172
-
173
- After installation, follow the plugin manager's reload/restart prompts and navigate to **Settings → Agent team presets**. Verify that details display `dsh-agent-team-presets`, version `0.3.1`, and a running component.
174
-
175
- - Back up profile settings, Team definitions, and Session selections before upgrading.
176
- - When migrating from a development link, remove `@deepseek-ai/dsh-experimental-agent-team-presets` first before enabling the community package.
177
- - Restart Harness after switching package identities, then refresh the GUI.
178
-
179
- > **Install the bundle; do not add a second loader declaration.** The package already supplies its own [bundle patch](<cordis.patch.yml>). Duplicate hand-written declarations in profile patches can prevent settings from saving. See [Configuration writes are overridden](#configuration-overridden).
180
-
181
- <a id="configure-a-team"></a>
182
- ## Configure and use a Team
92
+ Floating GitHub installs, reproducible pins, registry choice, and the install notes are covered in [Install and upgrade](docs/guide/install.md).
183
93
 
184
- 1. Open **Settings → Agent team presets**.
185
- 2. Select a built-in Team, duplicate an existing one, or click **New Team**.
186
- 3. Configure its name, purpose, display metadata, category, captain, and member roles.
187
- 4. For each member, configure its provider/model route, reasoning effort, tool policy, and assigned Team Skills.
188
- 5. Press **Save** in the shared footer. Edits remain staged drafts until saved.
189
- 6. Select the Team from the conversation composer's Team control, then prompt the captain to coordinate the task.
94
+ ### Verify
190
95
 
191
- Example prompt for a Team with execution and review roles:
96
+ Open **Settings → Agent team presets** and confirm the plugin reports the version you just installed and a running component. Upgrades, backups, and the "do not add a second loader declaration" rule are in [Install and upgrade](docs/guide/install.md).
192
97
 
193
- > Use the selected Team. Have the executor implement the agreed changes and regression tests, then ask the reviewer to inspect them independently. Summarize changes, test results, and remaining risks.
98
+ <a id="documentation"></a>
99
+ ## Documentation
194
100
 
195
- A preset role is a template. Summoning creates an instance with a unique target such as `executor` or `executor-2`. Use `send_message` with the returned target to continue working with an existing instance rather than spawning a new one.
101
+ The README is the entry point. Every document below ships with the package except the illustrated walkthrough, which is repository-only because it references screenshots the tarball does not carry.
196
102
 
197
- Selecting **No team** disarms the Team application once the captain and teammates become idle, restoring standard session contributions without changing the active model.
198
-
199
- ### Talk to one member directly
200
-
201
- Hover a Team row in the composer picker to open its member panel. The captain is listed first with the **Session model** route; every member follows with its configured provider · model and role description.
202
-
203
- - Selecting the **captain** applies the Team normally: the captain leads, may summon members, and keeps the model the Session already selected.
204
- - Selecting a **member** starts an individual conversation with that member. Its role card (name, role description, and standing system prompt) becomes the Session persona, its tool policy and assigned Team Skills apply, and the captain briefing plus `spawn_team_member` are **not** installed. The Session model switches to that member's configured provider/model and reasoning effort. A member with no configured route keeps the Session's current model.
205
- - Switching back to the captain does not restore an earlier model: the captain always follows whatever model the Session currently has selected.
206
- - Role and model changes wait for a running task to reach its boundary, exactly like a Team change. A selection naming a member that no longer exists is refused and the Session stays locked rather than silently falling back to the captain.
207
-
208
- ### Fields
209
-
210
- | Field | Purpose |
103
+ | If you want to | Read |
211
104
  |---|---|
212
- | Team name and purpose | Identify the preset and explain what work it handles. |
213
- | Category | Assign the Team to a local category for organization in lists and picker. |
214
- | Display metadata | Summary, tags, use cases, quick prompts, and notes. Purely presentation-only; never injected into LLM context tokens. |
215
- | Captain | The lead agent. A nonempty captain prompt replaces its persona prefix; the captain keeps the conversation's model. |
216
- | Members | Reusable role templates the captain can summon. |
217
- | Name | Role display name and target base. ASCII letters/digits and hyphens (max 64 chars, not `lead`). |
218
- | Description | Role responsibilities for the captain to select appropriate members (max 200 chars). |
219
- | Color | Accent color distinguishing the role in settings and the roster. |
220
- | Provider / Model | Members only. Route from the deployment's model catalog. |
221
- | Reasoning effort | Members only. Options depend on model support; empty uses route default. |
222
- | Allowed tools | Independent all-tools or custom allow-list policy. |
223
- | Team Skills | Assigned private skills, registered exclusively in this Agent's scope upon creation. |
224
- | System prompt | Standing role instructions. `{{variable}}` denotes prompt template variables. |
225
-
226
- ### Built-in presets
227
-
228
- A fresh installation seeds nine editable Teams across two series:
229
-
230
- #### 研发规模系列 (Classic Development Scale)
231
-
232
- | Preset | Roles | Intended use |
233
- |---|---|---|
234
- | **轻量研发团队**<br>`builtin-lightweight` | Captain, fullstack-advisor, executor | Small features and module iterations. Captain plans and verifies, architecture advisor handles cross-layer technical contracts on demand, executor writes code, tests, and debugs. Pre-bound with official delivery skills. |
235
- | **标准研发团队**<br>`builtin-standard` | Captain, system-architect, executor, code-reviewer | Standard software projects. Captain coordinates, system architect establishes interface contracts and module boundaries, executor develops and tests, independent code reviewer inspects quality. Pre-bound with official delivery skills. |
236
- | **全栈软件研发团队**<br>`builtin-fullstack` | Captain, backend-architect, ui-designer, executor, reviewer | Complex full-stack engineering across Web, Desktop, and Android. Captain leads, backend architect and UI designer provide technical/UX contracts, reviewer enforces quality gates, executor implements. Pre-bound with official delivery skills. |
237
-
238
- #### 工作模式系列 (Work Modes)
239
-
240
- | Preset | Roles | Intended use |
241
- |---|---|---|
242
- | **需求探索**<br>`builtin-discovery` | Captain, demand-analyst, solution-explorer, independent-challenger | Open-ended ideas where goal, technical path, or product direction is still exploratory; read-only research with independent challenge. |
243
- | **架构规划**<br>`builtin-planning` | Captain, system-architect, technology-evaluator, compliance-auditor | Settled goals where systems, module boundaries, and cross-module contracts must be designed. |
244
- | **既定工作流执行**<br>`builtin-workflow` | Captain, workflow-coordinator, task-executor, delivery-verifier | Established workflows where user specifies next task, and team implements, verifies, and delivers it. |
245
- | **工程研发协作**<br>`builtin-engineering` | Captain, architect-advisor, executor, code-reviewer, repository-specialist | Feature development, cross-layer implementation, UI/UX, and debugging, with a dedicated repository delivery specialist (`repository-specialist`). Pre-bound with official delivery skills. |
246
- | **独立代码与安全审计**<br>`builtin-audit` | Captain, vulnerability-expert, security-auditor, compliance-inspector | Independent read-only review of specified code, vulnerabilities, security configurations, and dependency compliance. |
247
- | **科研协作**<br>`builtin-research` | Captain, domain-researcher, experiment-analyst, rigor-reviewer | Literature review, experiment design, scientific computing, data analysis, and academic rigor inspection. |
248
-
249
- Default presets are seeded once per profile. Deleting or editing a built-in preset is respected across restarts, which also means a Team list that lost its shipped presets some other way (a hand-edited or restored settings file) does not get them back by itself: the Host logs a warning and the page shows a notice pointing at **Restore defaults**. That button stages a draft, so save afterwards. Restoring brings back shipped fields and official rosters while preserving local member model routes and tool policies.
250
-
251
- <a id="metadata-categories-search"></a>
252
- ## Display metadata, categories, and search
253
-
254
- ### Presentation-only display metadata
255
-
256
- Each Team preset supports rich metadata:
257
- - **Summary**: One-line description shown on cards and intros.
258
- - **Tags**: Keyword chips for filtering and categorization.
259
- - **Use cases**: Recommended project scenarios.
260
- - **Quick prompts**: Ready-to-use task templates shown when selecting the Team.
261
- - **Notes**: Operational reminders or cautions.
262
-
263
- **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**.
264
-
265
- ### Local categories and hierarchical filtering
266
-
267
- - **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.
268
- - **Local isolation:** Categories and team-category bindings are saved in profile settings and are **never exported** with shareable preset documents.
269
- - **Two-level filters:** The Teams list provides two independent filter rows:
270
- - **来源 (Source):** 全部 (All), 插件内置 (Built-in), 自定义 (Custom).
271
- - **分类 (Category):** For built-in teams, filters by official series (研发规模 / 工作模式); for custom teams, filters by user-created categories.
272
- - **Instant search:** A responsive search box searches team names, summaries, tags, use cases, and quick prompts with real-time matched count reporting.
273
- - **Composer integration:** The conversation composer's Team picker mirrors these source filters and search capabilities, with `不使用团队` pinned to the top.
274
-
275
- <a id="team-skills"></a>
276
- ## Private Team Skills and per-agent isolation
277
-
278
- ### Private store and scope isolation
279
-
280
- Traditional skills in Harness are typically registered into the global environment, exposing every skill to every agent. This plugin introduces a **Private Team Skill subsystem**:
281
-
282
- 1. **Private library:** Skills live in a plugin-managed directory (`~/.dsh/agent-team-presets/team-skills` or storage domain), isolated from host and profile skills.
283
- 2. **Per-Agent registration:** When a Team 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 explicitly assigned.
284
- 3. **Official built-in skills:** four shipped skills: delivery (`github-repository-presentation`, `git-release-hygiene`) and method (`grilling` — clarify before acting; `research` — primary sources only). Default bindings: engineering `executor`/`repository-specialist` receive the delivery skills; the Discovery captain receives `grilling`, its `technical-scout`/`product-scout` and the Research `evidence-scout` receive `research`.
285
- 4. **Local overrides & one-click restore:** Built-in skills are read-only by default. Users can create an editable local copy ("本地副本"). If the built-in skill updates in a new plugin version, an `updateAvailable` status is displayed, and users can restore to the built-in copy (`恢复为插件内置版本`) with one click.
286
- 5. **Origin labels and badges:** Skills display clear color-coded origin tags across all views:
287
- - 插件内置 (Built-in, blue)
288
- - 自定义 (Custom, purple)
289
- - 本地副本 (Override, amber)
290
-
291
- ### Import, directory scan, and dependencies
292
-
293
- - **Folder and ZIP import:** Import external skill folders or `.zip` packages directly in the Web GUI.
294
- - **Directory scan:** Scans candidate folders in the import path, reporting eligibility and reasons for any rejected folder. Users can copy the absolute library path with one click.
295
- - **Dependency checks and MCP boundaries:**
296
- - **CLI executables:** Declared CLI executables in `SKILL.md` are resolved against host `PATH`, using `PATHEXT` on Windows. Directories and non-executable files do not satisfy the dependency. Missing required executables are flagged and assignment is refused (`dependency-missing`).
297
- - **MCP servers (declarative only, not auto-connected):** Declared MCP servers are strictly declarative dependencies displayed in the UI (`skillsDeclared`). The plugin **never connects, launches, or manages** external MCP servers automatically (their lifecycle belongs to the Harness environment and profile). Because MCP connectivity is an environment-level fact, declared MCP servers are reported as `unverified` rather than hard-blocking role assignment. When an MCP server is configured and running in the Harness profile, its exposed tools (`mcp__<server>__<name>`) appear under the MCP tool group in the role's tool configuration and can be authorized via tool policies.
298
- - **Guarded deletion:** Deletion is strongly guarded. If a skill is currently bound to any team role, used by a running member, or required by another skill, deletion is blocked. The confirmation dialog explicitly lists every holding team and member role (e.g. `标准研发团队 → executor`), keeping the confirm button disabled until bindings are cleared.
299
-
300
- <a id="share-presets"></a>
301
- ## Share presets
302
-
303
- **Export** saves one Team as a JSON document (format version 2). **Import preset** reads the document and stages it in the editor.
304
-
305
- - **Shared fields:** Team name, purpose, display metadata (summary, tags, use cases, quick prompts, notes), captain/member names, descriptions, prompts, and colors.
306
- - **Local fields:** Model routes, reasoning effort, tool permissions, and local category bindings are **never exported**. Documents containing them are rejected on import.
307
- - **Name collisions:** Choose between replacing the existing preset or creating a renamed copy. Replacement preserves local routes and tool policies on matched roles.
308
- - Review imported prompts before executing tasks, especially when using documents from third parties.
309
-
310
- <a id="agent-card-badges"></a>
311
- ## Subagent card badges
312
-
313
- Cards in **dsh-context** (Fleet view, top bar) and **dsh-better-sidebar** (Tasks page, right sidebar) can mark the subagents this plugin created with a small `Preset` tag. The integration is an adapter:
314
-
315
- - **Opt-in by target.** Each target must expose its optional card-badge service (`contextAgentCardBadges` / `betterSidebarAgentCardBadges`, protocol version 1). This plugin registers into a service only when it appears, does not require either package, and keeps working unchanged when neither is installed.
316
- - **Exact identity.** A tag appears only for a card whose real child Session id matches a durable member snapshot written before creation, so ordinary subagents and workflow placeholder nodes stay unmarked. The lookup reads stored records and never resumes or reads a card's Agent.
317
- - **Layout neutral.** The tag is one inline, theme-token chip with fixed height; it adds no card row and clips inside the existing badge area.
318
-
319
- ### Install it from Settings
320
-
321
- Neither target published such a service at the time of writing, so this plugin ships **prebuilt replacement bundles** for the exact versions listed below and offers them in **Settings → Agent Team presets → Integrations**:
322
-
323
- | Target | Versions this build patches | What the row offers |
324
- | --- | --- | --- |
325
- | `dsh-context` | 0.84.0, 0.84.1 | Install patch / Remove patch |
326
- | `dsh-better-sidebar` | 0.32.0, 0.32.1 | Install patch / Remove patch |
327
-
328
- Each row reports its own state, and the page never guesses: `not installed`, `version not supported`, `not patched`, `patched`, `modified by something else`. "Install patch" asks for confirmation, backs up the target's `lib/client.js`, then writes this plugin's build of the same source. "Remove patch" restores that backup and deletes it.
329
-
330
- **No restart and no page reload.** The running server's `client-hmr` transport stat-polls every client bundle, republishes the changed one (`clientModules.rebuilt`), and the page reloads that plugin in place — the row turns `active` within about a second, and the badge appears on the cards. If a row stays `patched` without going `active`, reload the page once.
331
-
332
- Safety rules worth knowing:
333
-
334
- - A target whose bundle matches neither the published build nor this plugin's replacement is refused, because overwriting it would destroy an edit this plugin cannot reproduce.
335
- - Each row is classified by the version that is actually installed and lists every version this build ships a replacement for. A version outside that list reports `version not supported`; supporting one is a verified rebuild, not a code rewrite (see below).
336
- - Upgrading a patched target replaces its bundle, which silently removes the patch — the row then reports `not patched` again.
337
-
338
- New upstream releases are adopted with `node tools/card-patches.mjs rebuild --target <id> --version <version> --write`: it clones the release, applies the source patch, builds it, and refuses to publish anything unless the rebuilt bundle still registers the card service. Adding a version keeps the older ones patchable, and a shipped `assets/card-patches/catalog.json` reaches new versions without a code change.
339
-
340
- If you would rather not use the bundled builds, the same change is available as source patches in [`contrib/agent-card-badges`](contrib/agent-card-badges/README.md) for applying to the matching target and rebuilding it yourself, and as upstream-ready changes for the target maintainers.
341
-
342
- <a id="agent-facing-tools"></a>
343
- ## Agent-facing tools
344
-
345
- Root sessions register tools allowing agents to inspect and update presets and skills programmatically, subject to tool policies:
346
-
347
- ### Team preset tools
348
-
349
- - **`get_team_preset`**: Reads the active or specified Team preset, returning its purpose, role descriptions, prompts, roster, and settings revision.
350
- - **`update_team_preset`**: Updates team/captain descriptions and member prompts/descriptions using compare-and-set revision checks. Requires direct human turn and Host approval. Returns `team-busy` if affected members are currently active.
351
-
352
- ### Team Skill tools
353
-
354
- - **`list_team_skills`**: Lists installed private Team Skills, origins, dependencies, and role assignment status.
355
- - **`assign_team_skill`**: Assigns one Team Skill to a role in a Team (isolated to that agent scope).
356
- - **`unassign_team_skill`**: Removes a Team Skill assignment from a role.
357
- - **`remove_team_skill`**: Deletes a Team Skill from the library, enforcing blocker checks.
358
-
359
- <a id="tool-permissions"></a>
360
- ## Tool permissions and security
361
-
362
- ### Policy modes
363
-
364
- - **Default: all tools**: No allow-list restriction beyond deployment permissions and role rules.
365
- - **Custom allowed tools**: Permits only selected tool names. Coordination tools (`send_message`, `list_agents`, `team_task_*`) must be explicitly allowed if needed.
366
- - Captain and member policies are independent. Granting a tool to the captain does not grant it to members.
367
- - **The `skill` tool is always admitted, and is not offered as a choice.** It publishes the catalog and loads instruction text rather than granting a capability, and the Host withholds that whole catalog from an Agent that cannot see it. A custom allow-list therefore cannot remove it, and the settings page does not list it: a checkbox for it would be a control that can never do anything. Documents written by an earlier version that still name it keep loading unchanged — the entry is admitted implicitly, never reported as unavailable, and never needs removing.
368
-
369
- ### What a member's first turn guarantees
370
-
371
- An assigned Team Skill is only useful if the member can load it on the turn that asks for it, so the plugin makes the registration part of member creation rather than a background step:
372
-
373
- - **Members**: the creation edge awaits that Agent's own registration before it completes. A role that holds assigned Team Skills but whose deployment cannot publish them — no skill service composed, the private library unreadable, or the registration refused — is **refused at creation** with the reason, instead of starting with an empty catalog while every surface says the skill is bound. Roles with no assignment keep working on deployments that compose no skill service.
374
- - **The captain**: the same registration is performed inside the Session's creation edge, after the Team application it depends on. A captain whose assignment cannot be published does not refuse the Team — a Session that is already running must not lose its capability policy — and the failure is reported at the Agent identity.
375
- - **Unreadable library is not an empty library.** When the private store cannot be opened the plugin cannot even enumerate a role's bindings, so it refuses member creation rather than reading the unknown as "no assignment". Repair the library path (or start again) to recover.
376
-
377
- ### Known limitation: Windows verification
378
-
379
- The path-separator and executable-resolution fixes are exercised by unit tests that normalize separators and by `ENOTDIR` cases, but no Windows machine was available here. Junction handling across volumes, `PATHEXT` resolution against a real `PATH`, and the full native build chain still need a Windows run before the release is described as Windows-verified.
380
-
381
- ### Security boundaries
382
-
383
- - The allow-list is **not a filesystem, process, or network sandbox**. Allowed tools (such as bash) retain their native capabilities. Maintain appropriate Harness sandbox and approval policies.
384
- - Custom policy mode disallows general-purpose `run_code` and ordinary `subagent` / `workflow` delegation to preserve strict policy contracts. Use preset Team members for delegation.
385
- - Managed members require their durable configuration on resume. Missing or corrupted records are refused loud rather than falling back to unrestricted defaults.
386
-
387
- <a id="known-limitations-and-deferred-work"></a>
388
- ## Troubleshooting and limitations
389
-
390
- <a id="configuration-overridden"></a>
391
- ### Configuration writes are overridden
392
-
393
- If saving or selecting a Team reports:
394
-
395
- ```text
396
- Configuration for "agent-team-presets" is overridden by a home patch or command-line overlay
397
- ```
398
-
399
- Check profile patches, `$DSH_HOME/cordis.patch.yml`, and `--patch` overlays for duplicate hand-written `agent-team-presets` declarations. Remove duplicate declarations while preserving Host-managed settings rows.
400
-
401
- ### Built-in troubleshooting skill
402
-
403
- The plugin registers `agent-team-presets-troubleshooting` on the global skill layer as soon as the profile composes the skill service. It is a host-level skill, not part of the private Team Skill library and not isolated per Agent: every Session can load it with the `skill` tool. Use it when a Team does not apply, a member cannot be summoned, a tool is refused, a member's model route is questioned, a Team Skill is invisible, or an install/upgrade behaves unexpectedly. The guide also states the evidence order: `configuredRoute`, `model/selection`, `request/header.config`, and the member snapshot `route` outrank `subagent/descriptor` or roster display values.
404
-
405
- ### Common issues
406
-
407
- | Symptom | What to check |
408
- |---|---|
409
- | Settings page is absent or plugin pending | Confirm profile type, peer dependencies, subagent backends (default `spawn`/`fork`), and client services. |
410
- | Skill deletion button is disabled | The skill is protected: inspect the blocker list in the modal (bound roles or dependencies must be unassigned first). |
411
- | Skill assignment refused (`dependency-missing`) | A required executable declared by the skill is absent from host `PATH`. Note that declared MCP servers are reported for visibility and do not block assignment; ensure MCP servers are configured in your profile. |
412
- | Member creation refused | Check storage domain availability, subagent execution backend (`spawn`/`fork`), model quota, and concurrency limits. |
413
- | Model route display mismatch | `list_agents.model` can return an inherited or fallback model even when the member actually runs on its configured route. Verify actual routing via `spawn_team_member`'s `configuredRoute`, `model/selection`, the first `request/header.config`, and the member snapshot `route`. |
414
- | A selected member's route is unusable | The Host refuses the application and keeps the Session's previous composition and model instead of falling back to the captain. Correct that member's provider/model (and reasoning effort) in **Settings → Agent team presets**, then reselect it. The composer reports missing members but does not display a Host refusal; check the member route and the deployment's provider catalogue. |
415
-
416
- <a id="understand-the-implementation"></a>
417
- ## How it works
418
-
419
- The plugin integrates via Cordis and Harness lifecycle extension points without patching host source code:
420
-
421
- 1. **Profile configuration:** Stores Team presets, display metadata, local categories, and active session selections.
422
- 2. **Session application:** Installs the captain persona, tool policy, and `spawn_team_member` at Agent scope. Selecting one member instead installs that member's role card and tool policy, omits the captain briefing and member tool, and selects the member's configured model route on the Session.
423
- 3. **Member creation & skill scoping:** Validates route and delegation limits, persists an instance snapshot, and launches the subagent. The serial `agent/created` hook injects model selection, persona, tool filters, and **assigned Team Skills strictly into that member's Agent scope**.
424
- 4. **Private skill manager:** Encapsulates skill storage (`~/.dsh/agent-team-presets/team-skills`), crash-recovery journaling, dependency resolution, and guarded deletion.
425
-
426
- ### Source navigation
427
-
428
- | Area | Source |
429
- |---|---|
430
- | Plugin lifecycle and settings reconciliation | [src/index.ts](<src/index.ts>), [src/settings-reconcile.ts](<src/settings-reconcile.ts>) |
431
- | Built-in team catalog and series | [src/builtin-teams.ts](<src/builtin-teams.ts>), [src/team-catalog.ts](<src/team-catalog.ts>) |
432
- | Team application and member tool | [src/application.ts](<src/application.ts>) |
433
- | Member snapshots and runtime injection | [src/member-store.ts](<src/member-store.ts>), [src/member-identity.ts](<src/member-identity.ts>), [src/member-runtime.ts](<src/member-runtime.ts>) |
434
- | Private Team Skills subsystem | [src/team-skills/store.ts](<src/team-skills/store.ts>), [src/team-skills/manager.ts](<src/team-skills/manager.ts>), [src/team-skills/service.ts](<src/team-skills/service.ts>), [src/team-skills/tools.ts](<src/team-skills/tools.ts>) |
435
- | Tool policies and presentation | [src/tool-policy.ts](<src/tool-policy.ts>), [src/presentation.ts](<src/presentation.ts>) |
436
- | Preset tools and transfer | [src/preset-tools.ts](<src/preset-tools.ts>), [src/preset-transfer.ts](<src/preset-transfer.ts>) |
437
- | Browser client UI | [src/client/](<src/client/>) |
105
+ | Install the plugin and see it work, screen by screen | [Getting started](docs/guide/getting-started.md) — the illustrated walkthrough |
106
+ | Choose an install channel, pin a version, upgrade safely | [Install and upgrade](docs/guide/install.md) |
107
+ | Configure a Team, its members, metadata, and categories | [Using Teams](docs/guide/using-teams.md) |
108
+ | Understand the private Team Skill library and preset sharing | [Private Team Skills](docs/guide/team-skills.md) |
109
+ | Add the subagent card badges | [Integrations](docs/guide/integrations.md) |
110
+ | Review agent-facing tools, tool policies, and security boundaries | [Tools and permissions](docs/reference/tools-and-permissions.md) |
111
+ | Diagnose a Team, member, or install problem | [Troubleshooting](docs/reference/troubleshooting.md) |
112
+ | Work on the plugin itself | [Architecture and development](docs/developer/architecture.md) |
113
+ | See the nine built-in Teams and their roles | [Built-in Teams](docs/builtin-teams.md) |
114
+ | See the ten shipped Team Skills and their bindings | [Built-in Team Skills](docs/builtin-team-skills.md) |
115
+ | Browse every document | [Documentation index](docs/index.md) |
438
116
 
439
117
  <a id="development"></a>
440
118
  ## Development and contributing
441
119
 
442
- Source development requires a compatible, dependency-installed [Harness checkout](https://github.com/deepseek-ai/deepseek-harness) with its Host types and generated Typert Remote artifacts built first (the Harness `build:lib:host` pipeline provides them):
443
-
444
- ```sh
445
- export DSH_CHECKOUT=/absolute/path/to/deepseek-harness
446
- npm test
447
- npm run typecheck
448
- npm run bundle
449
- ```
120
+ Source development requires a compatible, dependency-installed [Harness checkout](https://github.com/deepseek-ai/deepseek-harness) with its Host types and generated Typert Remote artifacts built first (the Harness `build:lib:host` pipeline provides them). The command set, source map, and architecture are in [Architecture and development](docs/developer/architecture.md).
450
121
 
451
122
  Bug reports and pull requests are welcome at [GitHub Issues](https://github.com/bloodarea/dsh-agent-team-presets/issues) and [Pull requests](https://github.com/bloodarea/dsh-agent-team-presets/pulls).
452
123
 
453
124
  Thanks to **张灏焱** for contributing the `grilling` and `research` method Team Skills (PR #2), and to Matt Pocock for the upstream [skills](https://github.com/mattpocock/skills) they adapt (MIT, see [NOTICE](<NOTICE>)).
454
125
 
126
+ <a id="release-notes"></a>
127
+ ## Release notes
128
+
129
+ Latest tagged release **v0.3.4** keeps custom Team Skill bindings and summon targets intact across preset imports, scanned skill updates, and editable copies, adds a plugin icon, and patches `dsh-context` 0.87.0. Notes, assets, and the full history are on the [Releases](https://github.com/bloodarea/dsh-agent-team-presets/releases) page.
130
+
455
131
  <a id="further-exploration"></a>
456
132
  ## Related resources
457
133
 
458
134
  - [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) — Host and plugin architecture.
459
- - [Built-in preset documents](<contrib/default-presets>) — Shipped team JSON definitions for reference or custom imports.
460
- - [Bundled skill documents](<assets/skills>) — Shipped skills (`SKILL.md` bundles) materialized into the private library.
461
- - [Method skill upstream](https://github.com/mattpocock/skills) — Source of `grilling` and `research` (MIT; pinned commit recorded in [NOTICE](<NOTICE>)).
462
- - [GitHub Releases](https://github.com/bloodarea/dsh-agent-team-presets/releases) — Published release packages.
135
+ - [Built-in preset documents](<contrib/default-presets>) — shipped team JSON definitions for custom imports.
136
+ - [Bundled skill documents](<assets/skills>) — shipped skills materialized into the private library.
137
+ - [Method skill upstream](https://github.com/mattpocock/skills) — source of `grilling` and `research` (MIT; pinned commit in [NOTICE](<NOTICE>)).
463
138
 
464
139
  <a id="license"></a>
465
140
  ## License