Preface¶
When running multiple sessions simultaneously in DSH and letting them collaborate like a “group chat”, the common approach is: sending one message wakes up all members, and each woken session then judges whether that message is meant for itself. The result: a message nobody needs still consumes N rounds of budget.
The dsh-attention-group plugin described below (maintained by cilarx) moves the decision of “who deserves to be woken” before the wake-up: the message is first persisted, then a routing plan is computed, and the actual wake-up is a separate step requiring two switches to agree. It is classified as a workflow plugin in the DSH community directory; the repository currently has 0 stars and an MIT license (see package.json).
What This Is¶
In one sentence: a multi-agent group chat plugin for DSH — persisted message logs, attention routing, cross-workspace members, and an explicit separation between “delivery plan” and “actual wake-up”.
Rooms, transcripts, conclusions, and exports are all plain files, not dependent on invoking other plugins; it works on a “bare” DSH, and data is preserved after uninstalling the plugin (per the README’s design notes).
Differences from Regular Group Chat¶
Regular group chat spends budget at delivery time: everyone is woken up, then each discovers the message is irrelevant to them.
This plugin’s flow is:
- Send a message → get a routing plan, e.g.
routing: SILENT — nobody matched, zero turns spent, or a list of matches markednot-woken (dry run). - Wake-up is a second step, and requires two switches to agree simultaneously (the “Two switches” section in the README).
Three design rules follow from this (the original text emphasizes “not by accident”):
- Creating rooms, adding members, reading history, exporting, and summarizing do not wake up anyone.
- Without
@-ing anyone in the panel, no one is woken; only@name(or@所有人/@everyonewhen the room enables “allow @everyone”) combined with the room’s “wake” switch turned on will the panel wake the corresponding member. Except for “generate group history summary” (also constrained by the “wake” switch), no mention means no event — typing in your own panel does not become a reason for someone else’s session to run a turn. - Does not invoke other plugins; data is stored as files.
Core Concepts & Capabilities¶
Rooms¶
A room consists of one record in a JSON ledger, plus an append-only JSONL transcript. It contains: an id derived from the title, the title, a charter, a member list, a routing mode, group-level reasoning-effort, four sink settings, an external liaison list, etc. (README “Room” section).
Member kinds¶
| kind | meaning | can it be woken? |
|---|---|---|
session |
A DSH session (session id) | yes (online or cold-resumed) |
user |
A human; the panel represents this member | no (record only) |
admin |
Built-in room administrator | no (unless the id is also a session) |
bot |
A non-session automated participant | no |
liaison |
Cross-room messenger (reserved) | no |
Session ids support both session-<uuid> and bare <uuid> forms.
Tools & panel¶
- The sidebar has a “Group chat” entry; agents can call
attention_group_list,attention_send(whenwakeis off, only view the plan without disturbing others), and other tools. - Health check can call
attention_probe: reports the data root directory, number of rooms, visible live agents, optional services, the last five wake-up attempts and their paths, panel route registration status, whether unread notifications are registered, etc.
Environment & Installation¶
Version requirements¶
The README states: the interface was last verified on DSH 0.2.1-rc.2; originally based on 0.2.0-rc.2, and re-verified on 0.2.1-rc.1 and 0.2.1-rc.2. Installation requires specifying a profile; the examples below use --profile desktop.
Installation command¶
The verified installation method in the source material is via a GitHub source (no npm release name resolution yet; do not use the bare package name dsh-attention-group):
dsh plugin --profile desktop add github:cilarx/dsh-attention-group
As of 2026-10-17 records: end-to-end verification passed from a clean profile (exit code 0, including seven source files, a bundle patch, and cordis.patch.yml).
After successful installation, ~/.dsh/profiles/<profile>/package.json should show both the dependency and the bundle layer, for example:
{
"dependencies": { "dsh-attention-group": "github:cilarx/dsh-attention-group" },
"dsh": { "profile": { "bundles": ["@deepseek-ai/dsh-base", "dsh-attention-group"] } }
}
If only written in dependencies and not in dsh.profile.bundles, the package is installed but will not be loaded as a profile layer.
Required after installation: restart DSH¶
Host-side code is loaded once at startup; toggling the plugin in the plugin panel does not re-import. Actual testing in the source material: new tools remain unknown tool after toggling, and the sidebar “Group chat” only appears after restart.
For offline or local packages, use npm pack followed by dsh plugin --profile <name> add /path/to/dsh-attention-group-0.1.0.tgz; link: dependencies or directory junctions fail to import in the source material environment (module path resolution issues), so a real copy must be installed within the profile.
Typical usage (first minute)¶
Reproducible per the README’s “First 60 seconds”:
- Sidebar → “Group chat” → “+” → name the room.
- Settings → Only turn on “wake” when you actually need group messages to trigger turns.
- Settings → Add members: clicking the id field lets you pick from the local machine’s session list (title, workspace, last activity); you can also paste
session-<uuid>or a bare<uuid>. - In that session, have the Agent first call
attention_group_list, then callattention_sendwithout enablingwake— you get a routing plan, no one is woken.
To confirm at runtime, call attention_probe to check whether the panel is registered, to avoid mistaking “no rooms” for unregistered routing.
Use cases & notes¶
For whom: Developers who need to coordinate multiple DSH sessions on the same machine (possibly across workspaces), want zero turns for irrelevant messages, and want long-term retention of history and exports.
Permissions & security: The plugin runs with the current DSH process’s permissions and can read/write its data directory and session-related resources. Before installing, review the source code and the MIT license yourself to confirm it meets your environment’s policies.
Ecosystem note: The DSH community plugin directory (e.g. the SkillHub entry) is an independent site with no official affiliation with DeepSeek / High-Flyer; installation commands follow the repository’s README.
Conclusion¶
dsh-attention-group shifts the cost of multi-agent collaboration from “delivery wakes everyone” to “write log first, compute routing, wake explicitly”; creating groups, reading history, and dry-run routing do not consume others’ turns. If you need auditable group chat and cross-session members in your DSH workflow, install it via the commands above, restart, and start from the sidebar “Group chat”.
- Directory page: https://www.skillhub.cn/plugins/cilarx/dsh-attention-group
- GitHub: https://github.com/cilarx/dsh-attention-group