DeepSeek Harness 插件

dsh-chat

面向 DSH 会话的群聊室:支持明确 @ 提及、冷会话唤醒投递,并可通过 dsh-weave 跨主机通信。

跳到安装方式

来源信息

GitHub 仓库
baixianger/dsh-chat
最近更新
2026年8月19日
分类
对话与消息
GitHub stars
0

安装

默认先复制一段 Prompt,让 Agent 读页面和仓库;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读页面和仓库。

请先不要安装。阅读这个 DeepSeek Harness 插件,说明它解决什么问题、会访问哪些文件、网络或密钥,以及如何安装和卸载。

插件页面:https://deepseekplugins.org/zh/plugins/baixianger/dsh-chat
GitHub:https://github.com/baixianger/dsh-chat
插件名:dsh-chat
作者:baixianger
安装命令:dsh plugin --profile web add dsh-chat

确认前不要执行安装命令。

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览

DSH Chat

> Web group chat for local DSH sessions and trusted remote nodes.

DSH Chat is the user-facing layer of the DSH family. It owns group rooms, members, the message timeline, and room sessions in the DSH Web client. It does not own local delivery or network transport.

PackageRole
dsh-bridgeLocal session events and same-process delivery
dsh-weaveTrusted cross-machine transport over Iroh
dsh-chatThe human conversation and task-control surface

Status

0.1.0-rc.27 represents every room as a dedicated DSH session inside a Chatrooms workspace. Opening that session uses the native Chat view: a conversation node renders the authoritative room timeline and a selector-routed composer sends room messages. The room timeline uses member avatars and keeps membership and Weave configuration in a dedicated settings drawer. Local members are selected from the host's live session catalog rather than entered as raw ids. Reachable paired Weave hosts contribute their own workspace-grouped session catalogs, labeled by host name; archived sessions are excluded. Iroh identity and pairing remain owned by dsh-weave's Settings page. Its composer follows the native session input layout. There is no separate Group Chat view tab. Existing rooms are assigned room sessions on startup. When Weave is installed, the same room service can also deliver to its explicit remote members. The Host → Workspace → Session picker follows the same token-based field, select, focus, and disabled-state contract as DSH Settings without depending on Settings' private CSS-module class names.

dsh plugin --profile web add dsh-chat@next

Product principles

  • A local chat and a remote handoff look like one continuous conversation.
  • A room has one authoritative host. Remote nodes store a room link (host id,

capability, and cursor), not an endpoint ticket, second room, or message-history replica.

  • Public messages without @ belong only to the room view; @session-id

directs delivery and @all is the explicit agent broadcast.

  • Without Weave, a room can contain local sessions only. When Weave is

installed, the same room can include explicitly approved remote nodes.

  • Every remote action exposes its target node, requested capability, and approval state.
  • Network loss is visible; no hidden retries that make work appear completed.
  • Credentials and private workspace files stay with their owning DSH node.

Agent commands

Agents receive chat_create, chat_join, chat_invite, and chat_send. This makes plain requests such as “create group chat release” or “join group chat release” actionable without asking the operator for a session id. A send with no mentions is a room-only public event. The UI displays and inserts a session's human-readable alias, while a deliberate selection records its stable id in the separate mentions field. Plain text—including at, email addresses, or a literal @alias—never wakes an agent by itself. mentions: ["all"] remains the only agent broadcast.

An explicitly mentioned live agent is woken through Bridge. Its injected message explains that an ordinary assistant response remains private to that session and that replying to the room requires chat_send; the hint includes the room name and sender alias so an agent can answer without handling ids. Agent senders receive a structured reply mention. Human senders instead receive a room-only reply with no mentions, so the response is visible without waking another agent.

Same-host membership is immediate. Cross-host membership requires an explicit trusted peer and creates a capability-bearing room link, rather than copying room state from a text message. A remote room view cursor-long-polls its host; the host retains an unacknowledged targeted delivery for seven days and retries it without turning normal public room traffic into agent follow-ups.

The room session stores only a durable chat/room-link marker and a closed, step-free initialization turn so DSH treats it as a visible session. Room messages remain in the authoritative room store; linked machines keep the host id, room capability, cursor, and a bounded read-only timeline cache rather than copying room messages into their DSH session logs. The cache lets linked hosts retain visible history across page and process restarts while the room owner remains authoritative.

Roadmap

  • [x] Native Chat room sessions with a composer takeover
  • [ ] Node and task handoff timeline
  • [ ] Remote approval and result cards
  • [ ] Session export, replay, and audit view

Development

npm run check

License

MIT © Xiang Bai