dsh-agent-team-presets 0.2.1 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NOTICE +29 -0
- package/README.md +46 -104
- package/README.zh.md +46 -104
- package/assets/card-patches/dsh-better-sidebar-0.32.0.client.js.gz +0 -0
- package/assets/card-patches/dsh-context-0.84.0.client.js.gz +0 -0
- package/assets/card-patches/licenses/dsh-better-sidebar-LICENSE +21 -0
- package/assets/card-patches/licenses/dsh-context-LICENSE +201 -0
- package/lib/client.js +1037 -57
- package/lib/index.js +461 -1
- package/lib/typert.host.js +295 -3
- package/lib/typert.remote-client.d.ts +13 -1
- package/lib/typert.remote-client.d.ts.map +1 -1
- package/lib/typert.remote-client.js +295 -3
- package/lib/types/card-patches.d.ts +104 -0
- package/lib/types/card-patches.js +275 -0
- package/lib/types/client/CardPatchView.d.ts +27 -0
- package/lib/types/client/CardPatchView.js +80 -0
- package/lib/types/client/TeamPresetsSection.js +13 -5
- package/lib/types/client/agent-card-badges.d.ts +47 -0
- package/lib/types/client/agent-card-badges.js +61 -0
- package/lib/types/client/card-patches-controller.d.ts +152 -0
- package/lib/types/client/card-patches-controller.js +211 -0
- package/lib/types/client/index.js +10 -4
- package/lib/types/client/locales.d.ts +1 -1
- package/lib/types/client/locales.js +58 -0
- package/lib/types/client/team-presets-controller.d.ts +2 -0
- package/lib/types/index.js +1 -0
- package/lib/types/member-runtime.d.ts +8 -0
- package/lib/types/member-runtime.js +15 -0
- package/lib/types/member-store.d.ts +9 -0
- package/lib/types/member-store.js +13 -1
- package/lib/types/tool-catalog.d.ts +48 -1
- package/lib/types/tool-catalog.js +87 -0
- package/lib/types/types.d.ts +40 -0
- package/package.json +2 -1
package/NOTICE
CHANGED
|
@@ -36,3 +36,32 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
36
36
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
37
37
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
38
38
|
SOFTWARE.
|
|
39
|
+
|
|
40
|
+
Third-party browser bundles (optional card-patch assets)
|
|
41
|
+
=======================================================
|
|
42
|
+
|
|
43
|
+
`assets/card-patches/*.client.js.gz` are MODIFIED builds of two third-party
|
|
44
|
+
plugins, produced by this project from their published sources plus a small
|
|
45
|
+
registration service that lets a card render content contributed by another
|
|
46
|
+
plugin. They are never installed automatically: the settings page's
|
|
47
|
+
"Integrations" tab replaces a target's installed bundle only when the user
|
|
48
|
+
confirms it, keeps the original as a backup, and can restore it. Upstream
|
|
49
|
+
license texts are shipped beside them under `assets/card-patches/licenses/`.
|
|
50
|
+
|
|
51
|
+
1. dsh-context 0.84.0
|
|
52
|
+
https://github.com/bowenliang123/dsh-context
|
|
53
|
+
revision aa98b1231d5f0f8e833391f198e65e14e73b3323
|
|
54
|
+
Licensed under the Apache License, Version 2.0 (see
|
|
55
|
+
assets/card-patches/licenses/dsh-context-LICENSE).
|
|
56
|
+
Changes: a new client module registers an optional `contextAgentCardBadges`
|
|
57
|
+
registry, and the shared Agent card renders components registered with it.
|
|
58
|
+
No other behaviour was changed.
|
|
59
|
+
|
|
60
|
+
2. dsh-better-sidebar 0.32.0
|
|
61
|
+
https://github.com/omdsh-dev/DSH-better-sidebar
|
|
62
|
+
tag v0.32.0
|
|
63
|
+
Licensed under the MIT License (see
|
|
64
|
+
assets/card-patches/licenses/dsh-better-sidebar-LICENSE).
|
|
65
|
+
Changes: a new client module registers an optional
|
|
66
|
+
`betterSidebarAgentCardBadges` registry, and the tasks graph and tasks tree
|
|
67
|
+
render components registered with it. No other behaviour was changed.
|
package/README.md
CHANGED
|
@@ -2,28 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
<img src="banner.png" alt="Reusable Agent Team presets for DeepSeek Harness" width="100%">
|
|
4
4
|
|
|
5
|
-
*Concept illustration.
|
|
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
6
|
|
|
7
7
|
English | [中文](<README.zh.md>)
|
|
8
8
|
|
|
9
|
-
> **
|
|
10
|
-
>
|
|
11
|
-
> This release adapts the plugin to **DeepSeek Harness 0.2.2-rc.2**, whose Team subsystem no longer creates teammates. Members are now created through the standard subagent runtime, and no Agent Teams bundle is required. This is a breaking host requirement: keep 0.2.0 on 0.2.2-rc.1. Prebuilt artifacts are included.
|
|
12
|
-
|
|
13
|
-
### What's new in 0.2.1
|
|
9
|
+
> **New to this plugin?** Start with the illustrated walkthrough — every screen, every button: **[Getting started](docs/guide/getting-started.md)**.
|
|
14
10
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
- **The conversation header shows the Team again.** The rc.1 header action is reproduced from the official `agent-team` client source: a roster of the captain and the members this Session summoned, each row carrying live status and the model it runs on. The captain row is read-only, a member row opens that member's conversation, and the shared-task section lists each task with its status, dependency, write scope and an expandable description. It renders only when the deployment's Team switch is on and this Session selected a preset.
|
|
19
|
-
- **Adaptation to the 0.2.2-rc.2 host.** The roster reads this Session's member snapshots and Team selection instead of the removed Team projection, the shipped stylesheet's elevation token was renamed to `--dsw-elevation-stroke-color`, and the remote-contract tests accept both the lazy `spec` and the inlined schema form the generator emits.
|
|
11
|
+
> **Community plugin v0.3.1** · [Tag](https://github.com/bloodarea/dsh-agent-team-presets/tree/v0.3.1)
|
|
12
|
+
>
|
|
13
|
+
> This release adds optional **Preset** tags on other plugins' subagent cards, installed from the new **Integrations** settings page. It still requires **DeepSeek Harness 0.2.2-rc.2** and keeps the member runtime and header roster from 0.2.1. Prebuilt artifacts are included.
|
|
20
14
|
|
|
21
|
-
### What changed in 0.
|
|
15
|
+
### What changed in 0.3.1
|
|
22
16
|
|
|
23
|
-
|
|
24
|
-
- **A spent member allowance is diagnosable.** The creation refusal now reports `N of M` roster slots occupied, names the occupants whose creation never became usable, and states that the Host roster is append-only with no removal API — so a Team that will never summon again is distinguishable from a busy one.
|
|
17
|
+
Documentation only. The interface screenshots moved into an illustrated [Getting started](docs/guide/getting-started.md) walkthrough, both READMEs keep their banner and now carry only the current release notes, the screenshots the plugin market shows were refreshed, and the outdated 0.1.9/0.2 screenshot set was removed. No plugin behaviour changed.
|
|
25
18
|
|
|
26
|
-
|
|
19
|
+
Earlier releases and the full changelog are on the [Releases](https://github.com/bloodarea/dsh-agent-team-presets/releases) page.
|
|
27
20
|
|
|
28
21
|
<a id="project-introduction"></a>
|
|
29
22
|
## Overview
|
|
@@ -71,19 +64,21 @@ DeepSeek Harness already ships Agent Teams with multi-agent collaboration. In th
|
|
|
71
64
|
- **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`.
|
|
72
65
|
- **Live settings feedback:** see whether a Team is idle, busy, or awaiting an update in an online Session.
|
|
73
66
|
- **Theme integration:** robust light and dark mode adaptation across all cards, dialogs, inputs, and dropdowns.
|
|
67
|
+
- **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.
|
|
74
68
|
|
|
75
69
|
## Contents
|
|
76
70
|
|
|
77
71
|
- [Overview](#project-introduction)
|
|
78
72
|
- [Why this plugin?](#why-this-plugin)
|
|
79
73
|
- [Features](#features)
|
|
80
|
-
- [
|
|
74
|
+
- [Getting started (illustrated)](docs/guide/getting-started.md)
|
|
81
75
|
- [Requirements](#requirements)
|
|
82
76
|
- [Install and upgrade](#use-this-package)
|
|
83
77
|
- [Configure and use a Team](#configure-a-team)
|
|
84
78
|
- [Display metadata, categories, and search](#metadata-categories-search)
|
|
85
79
|
- [Private Team Skills and per-agent isolation](#team-skills)
|
|
86
80
|
- [Share presets](#share-presets)
|
|
81
|
+
- [Subagent card badges](#agent-card-badges)
|
|
87
82
|
- [Agent-facing tools](#agent-facing-tools)
|
|
88
83
|
- [Tool permissions and security](#tool-permissions)
|
|
89
84
|
- [Troubleshooting and limitations](#known-limitations-and-deferred-work)
|
|
@@ -95,90 +90,7 @@ DeepSeek Harness already ships Agent Teams with multi-agent collaboration. In th
|
|
|
95
90
|
<a id="screenshots"></a>
|
|
96
91
|
## Screenshots
|
|
97
92
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
**Browse and filter Teams in the composer**
|
|
101
|
-
|
|
102
|
-

|
|
103
|
-
|
|
104
|
-
**Hover a Team to open its member panel: captain, members, model route, and description**
|
|
105
|
-
|
|
106
|
-

|
|
107
|
-
|
|
108
|
-
Hovering a row never changes the selection. The captain row carries the `captain` badge and `session model`; each member row shows its own provider and model, or `session model` when it follows the Session.
|
|
109
|
-
|
|
110
|
-
**Click a member to talk to it alone: the trigger names it and the Session model follows its route**
|
|
111
|
-
|
|
112
|
-

|
|
113
|
-
|
|
114
|
-
The member's role card, tool policy, Team Skills, and model route are injected into this Session. The Team trigger reads `Team · member`, and the model control switches to the member's configured route — `Example Fast` here.
|
|
115
|
-
|
|
116
|
-
**Click the captain to select the Team normally: the Session model is left alone**
|
|
117
|
-
|
|
118
|
-

|
|
119
|
-
|
|
120
|
-
The captain always follows the Session, so selecting it changes the Team and the role card but never the model. The chip above keeps `Example Fast` from the previous member selection.
|
|
121
|
-
|
|
122
|
-
**Manage Teams: tabs, search, source and series filters (settings layout carried over from v0.1.8)**
|
|
123
|
-
|
|
124
|
-

|
|
125
|
-
|
|
126
|
-
**Private Team Skill library with origin badges and actions**
|
|
127
|
-
|
|
128
|
-

|
|
129
|
-
|
|
130
|
-
**Assign Team Skills to a member role**
|
|
131
|
-
|
|
132
|
-

|
|
133
|
-
|
|
134
|
-
**Skill details: file tree, editor, and local copy actions**
|
|
135
|
-
|
|
136
|
-

|
|
137
|
-
|
|
138
|
-
**Guarded skill deletion with blocking holders modal**
|
|
139
|
-
|
|
140
|
-

|
|
141
|
-
|
|
142
|
-
**Manage custom preset categories**
|
|
143
|
-
|
|
144
|
-

|
|
145
|
-
|
|
146
|
-
**Team editor: display metadata, category picker, and status notices**
|
|
147
|
-
|
|
148
|
-

|
|
149
|
-
|
|
150
|
-
<details>
|
|
151
|
-
<summary>More screenshots (model routing, custom dropdowns, prompts, and tool policies)</summary>
|
|
152
|
-
|
|
153
|
-
**Category dropdown in Team editor**
|
|
154
|
-
|
|
155
|
-

|
|
156
|
-
|
|
157
|
-
**Filter Teams by custom source**
|
|
158
|
-
|
|
159
|
-

|
|
160
|
-
|
|
161
|
-
**Configure member models and reasoning effort**
|
|
162
|
-
|
|
163
|
-

|
|
164
|
-
|
|
165
|
-
**Model picker**
|
|
166
|
-
|
|
167
|
-

|
|
168
|
-
|
|
169
|
-
**Captain and member system prompts**
|
|
170
|
-
|
|
171
|
-

|
|
172
|
-
|
|
173
|
-

|
|
174
|
-
|
|
175
|
-
**Tool policy controls**
|
|
176
|
-
|
|
177
|
-

|
|
178
|
-
|
|
179
|
-

|
|
180
|
-
|
|
181
|
-
</details>
|
|
93
|
+
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)**.
|
|
182
94
|
|
|
183
95
|
<a id="requirements"></a>
|
|
184
96
|
## Requirements
|
|
@@ -189,7 +101,7 @@ The captain always follows the Session, so selecting it changes the Team and the
|
|
|
189
101
|
- **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.
|
|
190
102
|
- **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`.
|
|
191
103
|
|
|
192
|
-
The plugin version (`0.
|
|
104
|
+
The plugin version (`0.3.1`) and the Harness version (`0.2.2-rc.2`, for example) are separate version lines.
|
|
193
105
|
|
|
194
106
|
<a id="use-this-package"></a>
|
|
195
107
|
## Install and upgrade
|
|
@@ -231,8 +143,8 @@ dsh plugin --profile <profile> add github:bloodarea/dsh-agent-team-presets
|
|
|
231
143
|
#### Option 3 — reproducible pin (no update prompts)
|
|
232
144
|
|
|
233
145
|
```text
|
|
234
|
-
dsh-agent-team-presets@0.
|
|
235
|
-
dsh plugin --profile <profile> add github:bloodarea/dsh-agent-team-presets#v0.
|
|
146
|
+
dsh-agent-team-presets@0.3.1
|
|
147
|
+
dsh plugin --profile <profile> add github:bloodarea/dsh-agent-team-presets#v0.3.1
|
|
236
148
|
```
|
|
237
149
|
|
|
238
150
|
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.
|
|
@@ -253,7 +165,7 @@ npm view dsh-agent-team-presets version
|
|
|
253
165
|
|
|
254
166
|
### Verify and upgrade safely
|
|
255
167
|
|
|
256
|
-
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.
|
|
168
|
+
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.
|
|
257
169
|
|
|
258
170
|
- Back up profile settings, Team definitions, and Session selections before upgrading.
|
|
259
171
|
- When migrating from a development link, remove `@deepseek-ai/dsh-experimental-agent-team-presets` first before enabling the community package.
|
|
@@ -390,6 +302,36 @@ Traditional skills in Harness are typically registered into the global environme
|
|
|
390
302
|
- **Name collisions:** Choose between replacing the existing preset or creating a renamed copy. Replacement preserves local routes and tool policies on matched roles.
|
|
391
303
|
- Review imported prompts before executing tasks, especially when using documents from third parties.
|
|
392
304
|
|
|
305
|
+
<a id="agent-card-badges"></a>
|
|
306
|
+
## Subagent card badges
|
|
307
|
+
|
|
308
|
+
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:
|
|
309
|
+
|
|
310
|
+
- **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.
|
|
311
|
+
- **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.
|
|
312
|
+
- **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.
|
|
313
|
+
|
|
314
|
+
### Install it from Settings
|
|
315
|
+
|
|
316
|
+
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**:
|
|
317
|
+
|
|
318
|
+
| Target | Version this build patches | What the row offers |
|
|
319
|
+
| --- | --- | --- |
|
|
320
|
+
| `dsh-context` | 0.84.0 | Install patch / Remove patch |
|
|
321
|
+
| `dsh-better-sidebar` | 0.32.0 | Install patch / Remove patch |
|
|
322
|
+
|
|
323
|
+
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.
|
|
324
|
+
|
|
325
|
+
**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.
|
|
326
|
+
|
|
327
|
+
Safety rules worth knowing:
|
|
328
|
+
|
|
329
|
+
- 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.
|
|
330
|
+
- Only the one pinned version per target is patchable; installing a newer target version makes the row report `version not supported` until a build for it ships here.
|
|
331
|
+
- Upgrading a patched target replaces its bundle, which silently removes the patch — the row then reports `not patched` again.
|
|
332
|
+
|
|
333
|
+
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.
|
|
334
|
+
|
|
393
335
|
<a id="agent-facing-tools"></a>
|
|
394
336
|
## Agent-facing tools
|
|
395
337
|
|
package/README.zh.md
CHANGED
|
@@ -2,28 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
<img src="banner_zh.png" alt="为 DeepSeek Harness 配置可复用的智能体团队预设" width="100%">
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
*横幅为概念示意;插件界面在[新手必读](docs/guide/getting-started.zh.md)里逐屏讲解;队长使用当前会话选择的模型。*
|
|
6
6
|
|
|
7
7
|
[English](<README.md>) | 中文
|
|
8
8
|
|
|
9
|
-
>
|
|
10
|
-
>
|
|
11
|
-
> 本版适配 **DeepSeek Harness 0.2.2-rc.2**:该版本的 Team 子系统不再创建队友,成员改由标准 subagent 运行时创建,不再需要安装 Agent Teams bundle。这是破坏性的宿主要求:0.2.2-rc.1 请保留 0.2.0。仓库包含预构建产物,安装时无需构建。
|
|
12
|
-
|
|
13
|
-
### 0.2.1 更新内容
|
|
9
|
+
> **第一次用这个插件?** 先看图文教程,每一屏、每个按钮都讲到:**[新手必读](docs/guide/getting-started.zh.md)**。
|
|
14
10
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
- **会话头部重新显示团队。** 按官方 `agent-team` 客户端源码复刻 rc.1 的头部动作:队长与本次会话已召唤成员的名册,每行带实时状态与所用模型。队长行只读,成员行可跳到该成员会话;下方是共享任务区,逐条给状态、依赖、写入范围与可展开描述。仅当部署的团队开关打开、且本会话已选预设时渲染。
|
|
19
|
-
- **对 0.2.2-rc.2 宿主的适配。** 名册改按本会话的成员快照与团队选择读取(不再依赖被移除的 Team 投影);样式里的阴影 token 改为 `--dsw-elevation-stroke-color`;远端契约测试同时接受惰性 `spec` 与内联 schema 两种产物形态。
|
|
11
|
+
> **社区插件 v0.3.1** · [标签](https://github.com/bloodarea/dsh-agent-team-presets/tree/v0.3.1)
|
|
12
|
+
>
|
|
13
|
+
> 本版给其他插件的子代理卡片加上可选的**「预设」标签**,从新增的**插件联动**设置页安装。宿主仍要求 **DeepSeek Harness 0.2.2-rc.2**,成员运行时与会话头部名册沿用 0.2.1。仓库包含预构建产物,安装时无需构建。
|
|
20
14
|
|
|
21
|
-
### 0.
|
|
15
|
+
### 0.3.1 更新内容
|
|
22
16
|
|
|
23
|
-
-
|
|
24
|
-
- **名额耗尽时能看出是谁占的。** 召唤被拒时现在会报 `N/M` 个 roster 槽位被占用、按名字列出创建从未成功的占位,并说明宿主 roster 只追加、无移除 API —— 让"永远不能再召唤"的团队与"暂时忙"的团队可区分。
|
|
17
|
+
仅文档改动。界面截图移入图文教程[新手必读](docs/guide/getting-started.zh.md),两份 README 保留 banner、只保留当前版本说明,插件市场展示的截图换成新的,并清理了 0.1.9/0.2 时期的旧截图。插件行为没有任何变化。
|
|
25
18
|
|
|
26
|
-
|
|
19
|
+
更早的版本与完整变更记录见 [Releases](https://github.com/bloodarea/dsh-agent-team-presets/releases) 页面。
|
|
27
20
|
|
|
28
21
|
<a id="project-introduction"></a>
|
|
29
22
|
## 项目介绍
|
|
@@ -71,19 +64,21 @@ DeepSeek Harness 原生 Agent Teams 已经具备多智能体协作能力。在
|
|
|
71
64
|
- **面向智能体的会话工具:** 根会话提供 `list_team_skills`、`assign_team_skill`、`unassign_team_skill`、`remove_team_skill`,以及 `get_team_preset`、`update_team_preset`。
|
|
72
65
|
- **实时状态反馈:** 查看在线会话中的团队是空闲、忙碌,还是有修改等待采用。
|
|
73
66
|
- **深浅色主题适配:** 完整适配深色(Dark)与浅色(Light)模式,卡片、弹窗与九宫格均有良好对比度,无白底白字。
|
|
67
|
+
- **子代理卡片预设标签:** 目标插件提供可选卡片服务时,在编队与任务管理卡片上标出本团队创建的子代理。
|
|
74
68
|
|
|
75
69
|
## 目录
|
|
76
70
|
|
|
77
71
|
- [项目介绍](#project-introduction)
|
|
78
72
|
- [为什么需要这个插件?](#why-this-plugin)
|
|
79
73
|
- [主要功能](#features)
|
|
80
|
-
- [
|
|
74
|
+
- [新手必读(图文)](docs/guide/getting-started.zh.md)
|
|
81
75
|
- [环境要求](#requirements)
|
|
82
76
|
- [安装与升级](#use-this-package)
|
|
83
77
|
- [配置与使用团队](#configure-a-team)
|
|
84
78
|
- [展示元数据、本地分类与搜索](#metadata-categories-search)
|
|
85
79
|
- [私有团队技能与角色作用域隔离](#team-skills)
|
|
86
80
|
- [分享预设](#share-presets)
|
|
81
|
+
- [子代理卡片预设标签](#agent-card-badges)
|
|
87
82
|
- [面向智能体的工具](#agent-facing-tools)
|
|
88
83
|
- [工具权限与安全边界](#tool-permissions)
|
|
89
84
|
- [排障与使用限制](#known-limitations-and-deferred-work)
|
|
@@ -95,90 +90,7 @@ DeepSeek Harness 原生 Agent Teams 已经具备多智能体协作能力。在
|
|
|
95
90
|
<a id="screenshots"></a>
|
|
96
91
|
## 界面预览
|
|
97
92
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
**在输入区浏览与筛选团队**
|
|
101
|
-
|
|
102
|
-

|
|
103
|
-
|
|
104
|
-
**悬浮团队即可展开成员面板:队长、成员、模型路由与角色描述**
|
|
105
|
-
|
|
106
|
-

|
|
107
|
-
|
|
108
|
-
悬浮不会改变当前选择。队长一行带「队长」徽标并显示「会话模型」;每个成员一行显示自己的提供方与模型,未配置路由时显示「会话模型」。
|
|
109
|
-
|
|
110
|
-
**点击成员即与其单独对话:触发器标出成员,会话模型改为该成员路由**
|
|
111
|
-
|
|
112
|
-

|
|
113
|
-
|
|
114
|
-
该成员的角色卡、工具权限、Team Skill 与模型路由会注入本会话。触发器显示「团队 · 成员」,模型控件切换为该成员配置的路由(图中为 `Example Fast`)。
|
|
115
|
-
|
|
116
|
-
**点击队长则按常规方式选用团队:不改动会话模型**
|
|
117
|
-
|
|
118
|
-

|
|
119
|
-
|
|
120
|
-
队长始终跟随会话,因此点选队长只更换团队与角色卡,模型保持不变:上图仍保留上一次成员选择带来的 `Example Fast`。
|
|
121
|
-
|
|
122
|
-
**管理已保存的团队:标签页、搜索框、来源与系列筛选(设置页沿用 v0.1.8 版式)**
|
|
123
|
-
|
|
124
|
-

|
|
125
|
-
|
|
126
|
-
**私有 Team Skill 技能库:来源色标与操作入口**
|
|
127
|
-
|
|
128
|
-

|
|
129
|
-
|
|
130
|
-
**为成员角色分配专属 Team Skill**
|
|
131
|
-
|
|
132
|
-

|
|
133
|
-
|
|
134
|
-
**技能详情:文件树、内容预览与本地副本管理**
|
|
135
|
-
|
|
136
|
-

|
|
137
|
-
|
|
138
|
-
**带持有者列表的技能删除强阻断弹窗**
|
|
139
|
-
|
|
140
|
-

|
|
141
|
-
|
|
142
|
-
**管理团队预设自定义分类**
|
|
143
|
-
|
|
144
|
-

|
|
145
|
-
|
|
146
|
-
**团队编辑页:展示元数据、分类选择与状态提醒**
|
|
147
|
-
|
|
148
|
-

|
|
149
|
-
|
|
150
|
-
<details>
|
|
151
|
-
<summary>更多设置截图(模型路由、下拉交互、系统提示词与工具策略)</summary>
|
|
152
|
-
|
|
153
|
-
**团队编辑页中的分类下拉弹层**
|
|
154
|
-
|
|
155
|
-

|
|
156
|
-
|
|
157
|
-
**筛选自定义来源的团队**
|
|
158
|
-
|
|
159
|
-

|
|
160
|
-
|
|
161
|
-
**配置成员模型与推理强度**
|
|
162
|
-
|
|
163
|
-

|
|
164
|
-
|
|
165
|
-
**模型选择器**
|
|
166
|
-
|
|
167
|
-

|
|
168
|
-
|
|
169
|
-
**队长与成员系统提示词**
|
|
170
|
-
|
|
171
|
-

|
|
172
|
-
|
|
173
|
-

|
|
174
|
-
|
|
175
|
-
**工具策略控件**
|
|
176
|
-
|
|
177
|
-

|
|
178
|
-
|
|
179
|
-

|
|
180
|
-
|
|
181
|
-
</details>
|
|
93
|
+
界面截图随图文教程一起维护,全部取自只安装本插件的隔离实例:**[新手必读](docs/guide/getting-started.zh.md)**。
|
|
182
94
|
|
|
183
95
|
<a id="requirements"></a>
|
|
184
96
|
## 环境要求
|
|
@@ -189,7 +101,7 @@ DeepSeek Harness 原生 Agent Teams 已经具备多智能体协作能力。在
|
|
|
189
101
|
- **具备 Settings 与所需客户端服务的 Web 或 Desktop profile。** 安装到实际使用的 profile:Web GUI 通常为 `web`,Desktop 通常为 `desktop`。
|
|
190
102
|
- **成员执行所需的持久存储与支持恢复执行的子智能体后端。** 缺少 storage domain 或所选执行后端时,插件会拒绝创建成员。默认后端名为 `spawn` 和 `fork`。
|
|
191
103
|
|
|
192
|
-
插件版本(`0.
|
|
104
|
+
插件版本(`0.3.1`)和 Harness 版本(如 `0.2.2-rc.2`)是不同的版本线。
|
|
193
105
|
|
|
194
106
|
<a id="use-this-package"></a>
|
|
195
107
|
## 安装与升级
|
|
@@ -231,8 +143,8 @@ dsh plugin --profile <profile> add github:bloodarea/dsh-agent-team-presets
|
|
|
231
143
|
#### 方式三 —— 可复现的固定版本(收不到更新提示)
|
|
232
144
|
|
|
233
145
|
```text
|
|
234
|
-
dsh-agent-team-presets@0.
|
|
235
|
-
dsh plugin --profile <profile> add github:bloodarea/dsh-agent-team-presets#v0.
|
|
146
|
+
dsh-agent-team-presets@0.3.1
|
|
147
|
+
dsh plugin --profile <profile> add github:bloodarea/dsh-agent-team-presets#v0.3.1
|
|
236
148
|
```
|
|
237
149
|
|
|
238
150
|
固定版本号或固定标签只能复现一个确定的发布。**带 `#标签` 的 GitHub 规格只会与同一个标签比对,市场永远不会提示更新——升级只能手动改规格。** 只在确实需要冻结安装时使用这种形式。
|
|
@@ -253,7 +165,7 @@ npm view dsh-agent-team-presets version
|
|
|
253
165
|
|
|
254
166
|
### 确认安装并安全升级
|
|
255
167
|
|
|
256
|
-
安装成功后,按插件管理器的提示重新加载或重启,打开 **设置 → 智能体团队预设**。确认插件详情显示 `dsh-agent-team-presets`、版本 `0.
|
|
168
|
+
安装成功后,按插件管理器的提示重新加载或重启,打开 **设置 → 智能体团队预设**。确认插件详情显示 `dsh-agent-team-presets`、版本 `0.3.1`,且组件处于运行中状态。
|
|
257
169
|
|
|
258
170
|
- 升级前备份 profile 设置、团队定义与会话选择记录。
|
|
259
171
|
- 从开发链接迁移时,先通过插件管理器移除 `@deepseek-ai/dsh-experimental-agent-team-presets`,再启用社区包。
|
|
@@ -390,6 +302,36 @@ npm view dsh-agent-team-presets version
|
|
|
390
302
|
- **名称冲突:** 自由选择覆盖替换已有预设或改名新建。覆盖替换会保留原有角色的本地模型路由与工具策略。
|
|
391
303
|
- 导入来自第三方的预设前,请仔细核对其提示词与权限。
|
|
392
304
|
|
|
305
|
+
<a id="agent-card-badges"></a>
|
|
306
|
+
## 子代理卡片预设标签
|
|
307
|
+
|
|
308
|
+
**dsh-context**(顶部编队)与 **dsh-better-sidebar**(右侧任务管理)里的子代理卡片,可以给本插件创建的子代理加上一个 `预设` 小标签。接入方式是适配器:
|
|
309
|
+
|
|
310
|
+
- **按目标启用。** 目标插件必须提供自己的可选卡片标签服务(`contextAgentCardBadges` / `betterSidebarAgentCardBadges`,协议版本 1)。只有该服务出现时本插件才注册进去;本插件不依赖这两个包,两者都没装时行为完全不变。
|
|
311
|
+
- **精确身份。** 只有卡片对应的真实子会话 ID 与创建前写入的成员快照一致时才显示标签,普通子代理与工作流占位节点不会被误标。查询只读持久记录,不会唤醒或读取卡片对应的 Agent。
|
|
312
|
+
- **不改变布局。** 标签是一个行内主题色小块,高度固定,不新增卡片行,并在既有标签区内裁剪。
|
|
313
|
+
|
|
314
|
+
### 在设置页里安装
|
|
315
|
+
|
|
316
|
+
到目前为止两个目标都还没有发布该服务,因此本插件随包提供**预构建的替换包**,并在 **设置 → 团队预设 → 插件联动** 中提供:
|
|
317
|
+
|
|
318
|
+
| 目标插件 | 本版补丁适配的版本 | 该行可执行的操作 |
|
|
319
|
+
| --- | --- | --- |
|
|
320
|
+
| `dsh-context` | 0.84.0 | 安装补丁 / 卸载补丁 |
|
|
321
|
+
| `dsh-better-sidebar` | 0.32.0 | 安装补丁 / 卸载补丁 |
|
|
322
|
+
|
|
323
|
+
每一行都会报告自己的真实状态,页面不做猜测:`未安装`、`版本不支持`、`未打补丁`、`已打补丁`、`已被其他改动修改`。「安装补丁」会先弹出确认框,备份目标插件的 `lib/client.js`,再写入本插件用同一份源码构建的替换包;「卸载补丁」从该备份还原并删除备份。
|
|
324
|
+
|
|
325
|
+
**不需要重启,也不需要刷新页面。** 运行中的服务器由 `client-hmr` 每 500ms 轮询每个插件的浏览器包,发现变化就重新发布(`clientModules.rebuilt`),页面随之就地重新加载该插件——约一秒后该行变为「已生效」,卡片上的标签同时出现。若某行长时间停在「已打补丁」而没有「已生效」,刷新一次页面即可。
|
|
326
|
+
|
|
327
|
+
几条安全规则:
|
|
328
|
+
|
|
329
|
+
- 如果目标插件的浏览器包既不是发布版、也不是本插件的替换版,操作会被拒绝:覆盖它等于毁掉一份本插件无法重现的改动。
|
|
330
|
+
- 每个目标只支持一个固定版本;目标升级到新版本后,该行会显示 `版本不支持`,直到本插件发布对应构建。
|
|
331
|
+
- 升级已打补丁的目标插件会覆盖其浏览器包,补丁随之消失,该行会重新显示 `未打补丁`。
|
|
332
|
+
|
|
333
|
+
如果不希望使用随包构建,同样的改动也以源码补丁形式放在 [`contrib/agent-card-badges`](contrib/agent-card-badges/README.md),可自行应用到匹配版本并重新构建。
|
|
334
|
+
|
|
393
335
|
<a id="agent-facing-tools"></a>
|
|
394
336
|
## 面向智能体的工具
|
|
395
337
|
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 dsh-external
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|