dsh-agent-team-presets 0.3.0 → 0.3.2
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 +6 -4
- package/README.md +27 -119
- package/README.zh.md +26 -118
- package/assets/card-patches/catalog.json +25 -0
- package/assets/card-patches/dsh-better-sidebar-0.32.1.client.js.gz +0 -0
- package/assets/card-patches/dsh-context-0.84.1.client.js.gz +0 -0
- package/lib/client.js +62 -11
- package/lib/index.js +224 -19
- package/lib/typert.host.js +16 -3
- package/lib/typert.remote-client.d.ts.map +1 -1
- package/lib/typert.remote-client.js +16 -3
- package/lib/types/builtin-skill.js +1 -1
- package/lib/types/builtin-teams.d.ts +14 -0
- package/lib/types/builtin-teams.js +18 -0
- package/lib/types/card-patches.d.ts +71 -4
- package/lib/types/card-patches.js +222 -6
- package/lib/types/client/CardPatchView.js +14 -2
- package/lib/types/client/TeamListView.d.ts +5 -0
- package/lib/types/client/TeamListView.js +1 -1
- package/lib/types/client/TeamPresetsSection.js +7 -1
- package/lib/types/client/card-patches-controller.js +16 -5
- package/lib/types/client/locales.d.ts +1 -1
- package/lib/types/client/locales.js +2 -0
- package/lib/types/settings-reconcile.js +9 -1
- package/lib/types/tool-catalog.js +12 -10
- package/lib/types/types.d.ts +5 -1
- package/package.json +56 -51
package/NOTICE
CHANGED
|
@@ -48,18 +48,20 @@ plugin. They are never installed automatically: the settings page's
|
|
|
48
48
|
confirms it, keeps the original as a backup, and can restore it. Upstream
|
|
49
49
|
license texts are shipped beside them under `assets/card-patches/licenses/`.
|
|
50
50
|
|
|
51
|
-
1. dsh-context 0.84.0
|
|
51
|
+
1. dsh-context 0.84.0 and 0.84.1
|
|
52
52
|
https://github.com/bowenliang123/dsh-context
|
|
53
|
-
|
|
53
|
+
revisions aa98b1231d5f0f8e833391f198e65e14e73b3323 (0.84.0) and
|
|
54
|
+
d81325ec6bab9dae9bf83e7a866ac74119504e18 (0.84.1)
|
|
54
55
|
Licensed under the Apache License, Version 2.0 (see
|
|
55
56
|
assets/card-patches/licenses/dsh-context-LICENSE).
|
|
56
57
|
Changes: a new client module registers an optional `contextAgentCardBadges`
|
|
57
58
|
registry, and the shared Agent card renders components registered with it.
|
|
58
59
|
No other behaviour was changed.
|
|
59
60
|
|
|
60
|
-
2. dsh-better-sidebar 0.32.0
|
|
61
|
+
2. dsh-better-sidebar 0.32.0 and 0.32.1
|
|
61
62
|
https://github.com/omdsh-dev/DSH-better-sidebar
|
|
62
|
-
|
|
63
|
+
tags v0.32.0 and v0.32.1 (commit
|
|
64
|
+
06d21351a50b60063010c178590fc24ecd76fb74)
|
|
63
65
|
Licensed under the MIT License (see
|
|
64
66
|
assets/card-patches/licenses/dsh-better-sidebar-LICENSE).
|
|
65
67
|
Changes: a new client module registers an optional
|
package/README.md
CHANGED
|
@@ -2,37 +2,26 @@
|
|
|
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 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.
|
|
12
|
-
|
|
13
|
-
### What's new in 0.3.0
|
|
14
|
-
|
|
15
|
-
- **Preset tags on subagent cards.** Members this plugin created are marked on dsh-context's Fleet cards and on dsh-better-sidebar's task cards. The integration is an adapter: it activates only for a target that exposes the optional card service and stays dormant otherwise, so neither package becomes a dependency.
|
|
16
|
-
- **A new Integrations settings page.** *Settings → Agent Team presets → Integrations* lists every supported target with the version this build patches, the installed version, the upstream revision the replacement was built from, and its current state, and offers install and remove behind a confirmation dialog.
|
|
17
|
-
- **The replacements ship with the plugin.** Both bundles are built from the pinned upstream sources plus a small registration service, and each is recorded with the sha256 of the published bundle and of the replacement, so a swap never overwrites bytes this plugin did not produce.
|
|
18
|
-
- **Install takes effect immediately.** After the swap the Host republishes that browser bundle and the running page reloads the plugin in place, so the tag appears within about a second — no `dsh web` restart and no page reload.
|
|
19
|
-
- **The source patches are published too.** `contrib/agent-card-badges` carries the same change as patches for the matching target versions, for building them yourself or sending them upstream.
|
|
20
|
-
- **Nothing irreversible.** The published bundle is backed up before it is replaced, remove restores it and deletes the backup, and a target whose bundle matches neither build is refused with the reason instead of being overwritten.
|
|
9
|
+
> **New to this plugin?** Start with the illustrated walkthrough — every screen, every button: **[Getting started](docs/guide/getting-started.md)**.
|
|
21
10
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
- **No Agent Teams bundle is required.** Tree membership and execution state are read from the subagent runtime — its catalog, live Agents, and admission records — instead of the removed Team roster, messaging, and member APIs.
|
|
26
|
-
- **Teardown stops the epochs this plugin started.** Each creation receipt is retained and released on unload; a cold-restored member, which rc.2 offers no selective disposal for, is interrupted and keeps its Agent-owned policy until the Agent is disposed.
|
|
27
|
-
- **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.
|
|
28
|
-
- **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.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.
|
|
29
14
|
|
|
30
|
-
### What changed in 0.2
|
|
15
|
+
### What changed in 0.3.2
|
|
31
16
|
|
|
32
|
-
- **
|
|
33
|
-
- **
|
|
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.
|
|
34
23
|
|
|
35
|
-
|
|
24
|
+
Earlier releases and the full changelog are on the [Releases](https://github.com/bloodarea/dsh-agent-team-presets/releases) page.
|
|
36
25
|
|
|
37
26
|
<a id="project-introduction"></a>
|
|
38
27
|
## Overview
|
|
@@ -87,7 +76,7 @@ DeepSeek Harness already ships Agent Teams with multi-agent collaboration. In th
|
|
|
87
76
|
- [Overview](#project-introduction)
|
|
88
77
|
- [Why this plugin?](#why-this-plugin)
|
|
89
78
|
- [Features](#features)
|
|
90
|
-
- [
|
|
79
|
+
- [Getting started (illustrated)](docs/guide/getting-started.md)
|
|
91
80
|
- [Requirements](#requirements)
|
|
92
81
|
- [Install and upgrade](#use-this-package)
|
|
93
82
|
- [Configure and use a Team](#configure-a-team)
|
|
@@ -106,101 +95,18 @@ DeepSeek Harness already ships Agent Teams with multi-agent collaboration. In th
|
|
|
106
95
|
<a id="screenshots"></a>
|
|
107
96
|
## Screenshots
|
|
108
97
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
**Browse and filter Teams in the composer**
|
|
112
|
-
|
|
113
|
-

|
|
114
|
-
|
|
115
|
-
**Hover a Team to open its member panel: captain, members, model route, and description**
|
|
116
|
-
|
|
117
|
-

|
|
118
|
-
|
|
119
|
-
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.
|
|
120
|
-
|
|
121
|
-
**Click a member to talk to it alone: the trigger names it and the Session model follows its route**
|
|
122
|
-
|
|
123
|
-

|
|
124
|
-
|
|
125
|
-
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.
|
|
126
|
-
|
|
127
|
-
**Click the captain to select the Team normally: the Session model is left alone**
|
|
128
|
-
|
|
129
|
-

|
|
130
|
-
|
|
131
|
-
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.
|
|
132
|
-
|
|
133
|
-
**Manage Teams: tabs, search, source and series filters (settings layout carried over from v0.1.8)**
|
|
134
|
-
|
|
135
|
-

|
|
136
|
-
|
|
137
|
-
**Private Team Skill library with origin badges and actions**
|
|
138
|
-
|
|
139
|
-

|
|
140
|
-
|
|
141
|
-
**Assign Team Skills to a member role**
|
|
142
|
-
|
|
143
|
-

|
|
144
|
-
|
|
145
|
-
**Skill details: file tree, editor, and local copy actions**
|
|
146
|
-
|
|
147
|
-

|
|
148
|
-
|
|
149
|
-
**Guarded skill deletion with blocking holders modal**
|
|
150
|
-
|
|
151
|
-

|
|
152
|
-
|
|
153
|
-
**Manage custom preset categories**
|
|
154
|
-
|
|
155
|
-

|
|
156
|
-
|
|
157
|
-
**Team editor: display metadata, category picker, and status notices**
|
|
158
|
-
|
|
159
|
-

|
|
160
|
-
|
|
161
|
-
<details>
|
|
162
|
-
<summary>More screenshots (model routing, custom dropdowns, prompts, and tool policies)</summary>
|
|
163
|
-
|
|
164
|
-
**Category dropdown in Team editor**
|
|
165
|
-
|
|
166
|
-

|
|
167
|
-
|
|
168
|
-
**Filter Teams by custom source**
|
|
169
|
-
|
|
170
|
-

|
|
171
|
-
|
|
172
|
-
**Configure member models and reasoning effort**
|
|
173
|
-
|
|
174
|
-

|
|
175
|
-
|
|
176
|
-
**Model picker**
|
|
177
|
-
|
|
178
|
-

|
|
179
|
-
|
|
180
|
-
**Captain and member system prompts**
|
|
181
|
-
|
|
182
|
-

|
|
183
|
-
|
|
184
|
-

|
|
185
|
-
|
|
186
|
-
**Tool policy controls**
|
|
187
|
-
|
|
188
|
-

|
|
189
|
-
|
|
190
|
-

|
|
191
|
-
|
|
192
|
-
</details>
|
|
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)**.
|
|
193
99
|
|
|
194
100
|
<a id="requirements"></a>
|
|
195
101
|
## Requirements
|
|
196
102
|
|
|
197
|
-
- **DeepSeek Harness `>=0.2.2-rc.
|
|
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>).
|
|
198
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.
|
|
199
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.
|
|
200
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.
|
|
201
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`.
|
|
202
108
|
|
|
203
|
-
The plugin version (`0.3.
|
|
109
|
+
The plugin version (`0.3.2`) and the Harness version (`0.2.2-rc.3`, for example) are separate version lines.
|
|
204
110
|
|
|
205
111
|
<a id="use-this-package"></a>
|
|
206
112
|
## Install and upgrade
|
|
@@ -242,8 +148,8 @@ dsh plugin --profile <profile> add github:bloodarea/dsh-agent-team-presets
|
|
|
242
148
|
#### Option 3 — reproducible pin (no update prompts)
|
|
243
149
|
|
|
244
150
|
```text
|
|
245
|
-
dsh-agent-team-presets@0.3.
|
|
246
|
-
dsh plugin --profile <profile> add github:bloodarea/dsh-agent-team-presets#v0.3.
|
|
151
|
+
dsh-agent-team-presets@0.3.1
|
|
152
|
+
dsh plugin --profile <profile> add github:bloodarea/dsh-agent-team-presets#v0.3.1
|
|
247
153
|
```
|
|
248
154
|
|
|
249
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.
|
|
@@ -264,7 +170,7 @@ npm view dsh-agent-team-presets version
|
|
|
264
170
|
|
|
265
171
|
### Verify and upgrade safely
|
|
266
172
|
|
|
267
|
-
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.
|
|
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.
|
|
268
174
|
|
|
269
175
|
- Back up profile settings, Team definitions, and Session selections before upgrading.
|
|
270
176
|
- When migrating from a development link, remove `@deepseek-ai/dsh-experimental-agent-team-presets` first before enabling the community package.
|
|
@@ -340,7 +246,7 @@ A fresh installation seeds nine editable Teams across two series:
|
|
|
340
246
|
| **独立代码与安全审计**<br>`builtin-audit` | Captain, vulnerability-expert, security-auditor, compliance-inspector | Independent read-only review of specified code, vulnerabilities, security configurations, and dependency compliance. |
|
|
341
247
|
| **科研协作**<br>`builtin-research` | Captain, domain-researcher, experiment-analyst, rigor-reviewer | Literature review, experiment design, scientific computing, data analysis, and academic rigor inspection. |
|
|
342
248
|
|
|
343
|
-
Default presets are seeded once per profile. Deleting or editing a built-in preset is respected across restarts
|
|
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.
|
|
344
250
|
|
|
345
251
|
<a id="metadata-categories-search"></a>
|
|
346
252
|
## Display metadata, categories, and search
|
|
@@ -414,10 +320,10 @@ Cards in **dsh-context** (Fleet view, top bar) and **dsh-better-sidebar** (Tasks
|
|
|
414
320
|
|
|
415
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**:
|
|
416
322
|
|
|
417
|
-
| Target |
|
|
323
|
+
| Target | Versions this build patches | What the row offers |
|
|
418
324
|
| --- | --- | --- |
|
|
419
|
-
| `dsh-context` | 0.84.0 | Install patch / Remove patch |
|
|
420
|
-
| `dsh-better-sidebar` | 0.32.0 | Install patch / Remove patch |
|
|
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 |
|
|
421
327
|
|
|
422
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.
|
|
423
329
|
|
|
@@ -426,9 +332,11 @@ Each row reports its own state, and the page never guesses: `not installed`, `ve
|
|
|
426
332
|
Safety rules worth knowing:
|
|
427
333
|
|
|
428
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.
|
|
429
|
-
-
|
|
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).
|
|
430
336
|
- Upgrading a patched target replaces its bundle, which silently removes the patch — the row then reports `not patched` again.
|
|
431
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
|
+
|
|
432
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.
|
|
433
341
|
|
|
434
342
|
<a id="agent-facing-tools"></a>
|
package/README.zh.md
CHANGED
|
@@ -2,37 +2,26 @@
|
|
|
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**,成员运行时与会话头部名册沿用 0.2.1。仓库包含预构建产物,安装时无需构建。
|
|
12
|
-
|
|
13
|
-
### 0.3.0 更新内容
|
|
14
|
-
|
|
15
|
-
- **子代理卡片上的「预设」标签。** 由本插件创建的成员会在 dsh-context 的编队卡片与 dsh-better-sidebar 的任务卡片上被标出。接入方式是适配器:只有目标插件提供了可选卡片服务时才激活,否则保持待命,因此两个包都不会变成依赖。
|
|
16
|
-
- **新增「插件联动」设置页。** *设置 → 智能体团队预设 → 插件联动* 逐条列出目标插件、本补丁适配的版本、已安装版本、替换包的构建来源与当前状态,并在确认框后提供安装与卸载。
|
|
17
|
-
- **替换包随插件分发。** 两份浏览器包都由固定上游源码加一个很小的注册服务构建,并记录「发布版」与「替换包」两侧的 sha256,所以替换永远不会覆盖本插件没有产出的字节。
|
|
18
|
-
- **安装即时生效。** 写入后宿主立即重新发布该浏览器包,运行中的页面就地重新加载该插件,标签约一秒内出现 —— 不需要重启 `dsh web`,也不需要刷新页面。
|
|
19
|
-
- **源码补丁同样公开。** `contrib/agent-card-badges` 提供同一改动的源码补丁,可自行应用到匹配版本并重新构建,或提交给上游。
|
|
20
|
-
- **没有不可逆操作。** 替换前先备份发布版,卸载时还原并删除备份;如果目标插件的浏览器包既不是发布版也不是本插件的替换包,操作会被拒绝并说明原因,而不是强行覆盖。
|
|
9
|
+
> **第一次用这个插件?** 先看图文教程,每一屏、每个按钮都讲到:**[新手必读](docs/guide/getting-started.zh.md)**。
|
|
21
10
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
-
|
|
25
|
-
- **不再需要 Agent Teams bundle。** 树归属与执行状态改从 subagent 运行时的 catalog、在线 Agent 与创建准入记录读取,不再依赖已移除的 Team 名册、消息与成员接口。
|
|
26
|
-
- **卸载只停止本插件启动的那些实例。** 每次创建的回执都会保留并在卸载时释放;rc.2 没有针对单个冷恢复成员的选择性释放能力,因此这类成员只中断当前工作,其 Agent 作用域内的策略一直保留到 Agent 销毁。
|
|
27
|
-
- **会话头部重新显示团队。** 按官方 `agent-team` 客户端源码复刻 rc.1 的头部动作:队长与本次会话已召唤成员的名册,每行带实时状态与所用模型。队长行只读,成员行可跳到该成员会话;下方是共享任务区,逐条给状态、依赖、写入范围与可展开描述。仅当部署的团队开关打开、且本会话已选预设时渲染。
|
|
28
|
-
- **对 0.2.2-rc.2 宿主的适配。** 名册改按本会话的成员快照与团队选择读取(不再依赖被移除的 Team 投影);样式里的阴影 token 改为 `--dsw-elevation-stroke-color`;远端契约测试同时接受惰性 `spec` 与内联 schema 两种产物形态。
|
|
11
|
+
> **社区插件 v0.3.2** · [标签](https://github.com/bloodarea/dsh-agent-team-presets/tree/v0.3.2)
|
|
12
|
+
>
|
|
13
|
+
> 本版让**同一个目标插件的多个版本同时可用**:升级 **dsh-context** 或 **dsh-better-sidebar** 不会再把「预设」标签弄丢;同时为 **dsh-context 0.84.1** 与 **dsh-better-sidebar 0.32.1** 提供重编后的替换包。宿主要求收紧为 **DeepSeek Harness 0.2.2-rc.3**——这是实测过的版本,`0.2.2-rc.2` 及更旧会被明确拒绝,而不是含糊声称兼容。
|
|
29
14
|
|
|
30
|
-
### 0.2
|
|
15
|
+
### 0.3.2 更新内容
|
|
31
16
|
|
|
32
|
-
-
|
|
33
|
-
-
|
|
17
|
+
- **多个上游版本并存。** 补丁目录按「目标 + 版本」索引,每一行按**实际安装的版本**判定状态,插件联动页会列出本版为该目标准备的全部版本,而不只是最新那个。
|
|
18
|
+
- **新增 `dsh-context` 0.84.1、`dsh-better-sidebar` 0.32.1 的替换包**:用同一份小补丁从上游源码重编,并逐一校验(必须真的注册卡片服务、体积必须落在允许区间、两个哈希都记录在案)。`0.84.0` 与 `0.32.0` 的条目保留,还没升级的 profile 依然能打补丁。
|
|
19
|
+
- **随包目录文件。** `assets/card-patches/catalog.json` 会覆盖合并到插件内置的版本清单,因此「多支持一个版本」变成加数据,而不是改代码。
|
|
20
|
+
- **重建管线。** `tools/card-patches.mjs` 会克隆上游 tag、应用源码补丁(`git apply` → `--3way` → fuzz)、用目标自己的工具链构建、校验后才发布;`apply` / `revert` 负责带备份地装进/撤出 profile。仅仓库内使用,不随 npm 包发布。
|
|
21
|
+
- **修掉一个陈旧产物。** 0.3.1 的 `lib/` 是在「内置预设丢失提示」那次改动之前编的,导致该提示与恢复入口从未真正到达用户;0.3.2 补上了。
|
|
22
|
+
- **宿主支持收紧到 `0.2.2-rc.3`**(`engines.dsh` 与 DSH 相关 peer 范围同步)。上一版声称支持 rc.2,但产物是对着更晚的契约编的;现在 rc.2 及更旧会被带原因地拒绝,而不是过度承诺。
|
|
34
23
|
|
|
35
|
-
|
|
24
|
+
更早的版本与完整变更记录见 [Releases](https://github.com/bloodarea/dsh-agent-team-presets/releases) 页面。
|
|
36
25
|
|
|
37
26
|
<a id="project-introduction"></a>
|
|
38
27
|
## 项目介绍
|
|
@@ -87,7 +76,7 @@ DeepSeek Harness 原生 Agent Teams 已经具备多智能体协作能力。在
|
|
|
87
76
|
- [项目介绍](#project-introduction)
|
|
88
77
|
- [为什么需要这个插件?](#why-this-plugin)
|
|
89
78
|
- [主要功能](#features)
|
|
90
|
-
- [
|
|
79
|
+
- [新手必读(图文)](docs/guide/getting-started.zh.md)
|
|
91
80
|
- [环境要求](#requirements)
|
|
92
81
|
- [安装与升级](#use-this-package)
|
|
93
82
|
- [配置与使用团队](#configure-a-team)
|
|
@@ -106,101 +95,18 @@ DeepSeek Harness 原生 Agent Teams 已经具备多智能体协作能力。在
|
|
|
106
95
|
<a id="screenshots"></a>
|
|
107
96
|
## 界面预览
|
|
108
97
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
**在输入区浏览与筛选团队**
|
|
112
|
-
|
|
113
|
-

|
|
114
|
-
|
|
115
|
-
**悬浮团队即可展开成员面板:队长、成员、模型路由与角色描述**
|
|
116
|
-
|
|
117
|
-

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

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

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

|
|
136
|
-
|
|
137
|
-
**私有 Team Skill 技能库:来源色标与操作入口**
|
|
138
|
-
|
|
139
|
-

|
|
140
|
-
|
|
141
|
-
**为成员角色分配专属 Team Skill**
|
|
142
|
-
|
|
143
|
-

|
|
144
|
-
|
|
145
|
-
**技能详情:文件树、内容预览与本地副本管理**
|
|
146
|
-
|
|
147
|
-

|
|
148
|
-
|
|
149
|
-
**带持有者列表的技能删除强阻断弹窗**
|
|
150
|
-
|
|
151
|
-

|
|
152
|
-
|
|
153
|
-
**管理团队预设自定义分类**
|
|
154
|
-
|
|
155
|
-

|
|
156
|
-
|
|
157
|
-
**团队编辑页:展示元数据、分类选择与状态提醒**
|
|
158
|
-
|
|
159
|
-

|
|
160
|
-
|
|
161
|
-
<details>
|
|
162
|
-
<summary>更多设置截图(模型路由、下拉交互、系统提示词与工具策略)</summary>
|
|
163
|
-
|
|
164
|
-
**团队编辑页中的分类下拉弹层**
|
|
165
|
-
|
|
166
|
-

|
|
167
|
-
|
|
168
|
-
**筛选自定义来源的团队**
|
|
169
|
-
|
|
170
|
-

|
|
171
|
-
|
|
172
|
-
**配置成员模型与推理强度**
|
|
173
|
-
|
|
174
|
-

|
|
175
|
-
|
|
176
|
-
**模型选择器**
|
|
177
|
-
|
|
178
|
-

|
|
179
|
-
|
|
180
|
-
**队长与成员系统提示词**
|
|
181
|
-
|
|
182
|
-

|
|
183
|
-
|
|
184
|
-

|
|
185
|
-
|
|
186
|
-
**工具策略控件**
|
|
187
|
-
|
|
188
|
-

|
|
189
|
-
|
|
190
|
-

|
|
191
|
-
|
|
192
|
-
</details>
|
|
98
|
+
界面截图随图文教程一起维护,全部取自只安装本插件的隔离实例:**[新手必读](docs/guide/getting-started.zh.md)**。
|
|
193
99
|
|
|
194
100
|
<a id="requirements"></a>
|
|
195
101
|
## 环境要求
|
|
196
102
|
|
|
197
|
-
- **DeepSeek Harness `>=0.2.2-rc.
|
|
103
|
+
- **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` 判定兼容性。
|
|
198
104
|
- **自定义工具白名单在 PTC 下通过给该会话一个自己的 native 面来工作。** 宿主无法在释放执行器后恢复继承,所以插件从不主动释放:在 PTC 预设下它把宿主自带的 native 工具执行器挂到该会话的 Agent 作用域,部署级执行器保持原样。代价是明确的:该会话此后不再使用 `run_code`,而其他会话与「所有工具」模式继续走 PTC。若挂载失败、或挂载后工具面仍暴露 PTC 传输,则应用被拒绝且不留残留 —— 因为从未释放过任何执行器。
|
|
199
105
|
- **无需 Agent Teams bundle。** 成员通过部署自带的可继续执行 subagent 后端创建;原生消息、任务工具与 Web 名册不受本插件影响。
|
|
200
106
|
- **具备 Settings 与所需客户端服务的 Web 或 Desktop profile。** 安装到实际使用的 profile:Web GUI 通常为 `web`,Desktop 通常为 `desktop`。
|
|
201
107
|
- **成员执行所需的持久存储与支持恢复执行的子智能体后端。** 缺少 storage domain 或所选执行后端时,插件会拒绝创建成员。默认后端名为 `spawn` 和 `fork`。
|
|
202
108
|
|
|
203
|
-
插件版本(`0.3.
|
|
109
|
+
插件版本(`0.3.2`)和 Harness 版本(如 `0.2.2-rc.3`)是不同的版本线。
|
|
204
110
|
|
|
205
111
|
<a id="use-this-package"></a>
|
|
206
112
|
## 安装与升级
|
|
@@ -242,8 +148,8 @@ dsh plugin --profile <profile> add github:bloodarea/dsh-agent-team-presets
|
|
|
242
148
|
#### 方式三 —— 可复现的固定版本(收不到更新提示)
|
|
243
149
|
|
|
244
150
|
```text
|
|
245
|
-
dsh-agent-team-presets@0.3.
|
|
246
|
-
dsh plugin --profile <profile> add github:bloodarea/dsh-agent-team-presets#v0.3.
|
|
151
|
+
dsh-agent-team-presets@0.3.1
|
|
152
|
+
dsh plugin --profile <profile> add github:bloodarea/dsh-agent-team-presets#v0.3.1
|
|
247
153
|
```
|
|
248
154
|
|
|
249
155
|
固定版本号或固定标签只能复现一个确定的发布。**带 `#标签` 的 GitHub 规格只会与同一个标签比对,市场永远不会提示更新——升级只能手动改规格。** 只在确实需要冻结安装时使用这种形式。
|
|
@@ -264,7 +170,7 @@ npm view dsh-agent-team-presets version
|
|
|
264
170
|
|
|
265
171
|
### 确认安装并安全升级
|
|
266
172
|
|
|
267
|
-
安装成功后,按插件管理器的提示重新加载或重启,打开 **设置 → 智能体团队预设**。确认插件详情显示 `dsh-agent-team-presets`、版本 `0.3.
|
|
173
|
+
安装成功后,按插件管理器的提示重新加载或重启,打开 **设置 → 智能体团队预设**。确认插件详情显示 `dsh-agent-team-presets`、版本 `0.3.1`,且组件处于运行中状态。
|
|
268
174
|
|
|
269
175
|
- 升级前备份 profile 设置、团队定义与会话选择记录。
|
|
270
176
|
- 从开发链接迁移时,先通过插件管理器移除 `@deepseek-ai/dsh-experimental-agent-team-presets`,再启用社区包。
|
|
@@ -340,7 +246,7 @@ npm view dsh-agent-team-presets version
|
|
|
340
246
|
| **独立代码与安全审计**<br>`builtin-audit` | 队长、漏洞分析专家、代码安全审计员、依赖合规检查员 | 对指定代码、安全漏洞、配置或依赖合规做独立只读审查。 |
|
|
341
247
|
| **科研协作**<br>`builtin-research` | 队长、领域调研专家、实验与数据分析员、学术严谨性审查员 | 文献综述、实验设计、科学计算、数据分析与学术严谨性论证。 |
|
|
342
248
|
|
|
343
|
-
内置预设在每个 profile
|
|
249
|
+
内置预设在每个 profile 中只初始化一次。用户对其编辑或删除会被持久记忆;这也意味着如果团队列表是因为别的原因丢的(手改配置、配置回滚),插件不会自己补回来——宿主会写一条 warn 日志,设置页顶部也会出现提示,指向 **恢复内置预设**(它只改草稿,恢复后要保存)。恢复会重置内置字段与角色,但完整保留匹配角色的模型路由与工具策略。
|
|
344
250
|
|
|
345
251
|
<a id="metadata-categories-search"></a>
|
|
346
252
|
## 展示元数据、本地分类与搜索
|
|
@@ -416,8 +322,8 @@ npm view dsh-agent-team-presets version
|
|
|
416
322
|
|
|
417
323
|
| 目标插件 | 本版补丁适配的版本 | 该行可执行的操作 |
|
|
418
324
|
| --- | --- | --- |
|
|
419
|
-
| `dsh-context` | 0.84.0 | 安装补丁 / 卸载补丁 |
|
|
420
|
-
| `dsh-better-sidebar` | 0.32.0 | 安装补丁 / 卸载补丁 |
|
|
325
|
+
| `dsh-context` | 0.84.0、0.84.1 | 安装补丁 / 卸载补丁 |
|
|
326
|
+
| `dsh-better-sidebar` | 0.32.0、0.32.1 | 安装补丁 / 卸载补丁 |
|
|
421
327
|
|
|
422
328
|
每一行都会报告自己的真实状态,页面不做猜测:`未安装`、`版本不支持`、`未打补丁`、`已打补丁`、`已被其他改动修改`。「安装补丁」会先弹出确认框,备份目标插件的 `lib/client.js`,再写入本插件用同一份源码构建的替换包;「卸载补丁」从该备份还原并删除备份。
|
|
423
329
|
|
|
@@ -426,9 +332,11 @@ npm view dsh-agent-team-presets version
|
|
|
426
332
|
几条安全规则:
|
|
427
333
|
|
|
428
334
|
- 如果目标插件的浏览器包既不是发布版、也不是本插件的替换版,操作会被拒绝:覆盖它等于毁掉一份本插件无法重现的改动。
|
|
429
|
-
-
|
|
335
|
+
- 每一行按**实际安装的版本**判定状态,并列出本版为其准备替换包的全部版本;不在列表中的版本显示 `版本不支持`。支持新版本是一次「校验后重建」,不需要改代码(见下文)。
|
|
430
336
|
- 升级已打补丁的目标插件会覆盖其浏览器包,补丁随之消失,该行会重新显示 `未打补丁`。
|
|
431
337
|
|
|
338
|
+
上游发版后,用 `node tools/card-patches.mjs rebuild --target <id> --version <版本> --write` 跟进:它会克隆对应版本、应用源码补丁、重新构建,并只有在重建后的包仍然注册卡片服务时才允许发布。新增版本不会挤掉旧版本;随包的 `assets/card-patches/catalog.json` 可在不改代码的情况下覆盖新版本。
|
|
339
|
+
|
|
432
340
|
如果不希望使用随包构建,同样的改动也以源码补丁形式放在 [`contrib/agent-card-badges`](contrib/agent-card-badges/README.md),可自行应用到匹配版本并重新构建。
|
|
433
341
|
|
|
434
342
|
<a id="agent-facing-tools"></a>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 1,
|
|
3
|
+
"targets": [
|
|
4
|
+
{
|
|
5
|
+
"id": "dsh-better-sidebar",
|
|
6
|
+
"packageName": "dsh-better-sidebar",
|
|
7
|
+
"version": "0.32.1",
|
|
8
|
+
"source": "omdsh-dev/DSH-better-sidebar@06d21351a50b60063010c178590fc24ecd76fb74",
|
|
9
|
+
"asset": "dsh-better-sidebar-0.32.1.client.js.gz",
|
|
10
|
+
"service": "betterSidebarAgentCardBadges",
|
|
11
|
+
"pristineSha256": "c5f6a461ce092fc6fc9cba0b04fa51e4504d8d44b1e1023858c64b1f696272fd",
|
|
12
|
+
"patchedSha256": "faa8afbae9b7fe15b5e31ace6de8c06ba71404e3a8220406dc82f0cc3dcb09fa"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"id": "dsh-context",
|
|
16
|
+
"packageName": "dsh-context",
|
|
17
|
+
"version": "0.84.1",
|
|
18
|
+
"source": "bowenliang123/dsh-context@d81325ec6bab9dae9bf83e7a866ac74119504e18",
|
|
19
|
+
"asset": "dsh-context-0.84.1.client.js.gz",
|
|
20
|
+
"service": "contextAgentCardBadges",
|
|
21
|
+
"pristineSha256": "120a8d30ae6bca61a3c61e682c99d5a0472b2b495d277d644721fd9ce6e6fa88",
|
|
22
|
+
"patchedSha256": "8e36a42625b02b560d204bb3eb6dd01ccbdf88b3088f48f9428758d8d99f4f29"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
Binary file
|
|
Binary file
|