DeepSeek Harness 插件

dsh-session-nexus

Unofficial DeepSeek Harness plugin — sessions as addressable, first-class citizens: lifecycle controls (/resume, /unarchive, opt-in /rm-session) plus session-addressed messaging (/send-to, /notify(英文原文)

跳到安装方式

来源信息

GitHub 仓库
qiushi-dev/dsh-session-nexus
最近更新
2026年8月21日
分类
记忆
GitHub stars
1
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-21

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

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

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

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/qiushi-dev/dsh-session-nexus
插件名:dsh-session-nexus
作者:qiushi-dev

检查来源文件

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

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

dsh-session-nexus

> Unofficial community plugin for DeepSeek Harness. Not reviewed or endorsed by DeepSeek. > 非官方社区插件,未经 DeepSeek 审查或背书。

One install, the whole session toolkit — working companion to the community session RFCs.

一次安装获得完整的会话工具套件:生命周期控制 + 跨会话消息。

Install / 安装

dsh plugin --profile web add dsh-session-nexus   # or a github/tarball spec

Commands / 命令

命令功能
/resume <id>按 id 显式挂载冷会话(不发消息;从日志解析 preset)
/unarchive <id>best-effort 取消归档(注册表缓存限制见下)
/rm-session <id> --yes降级两步删除(默认关闭,lifecycle.allowDelete: true 开启)
/send-to <地址> <消息>wakeup 投递:成为目标的下一个 turn;冷会话自动 resume
/notify <地址> <消息>quiet 投递:目标下一步的模型上下文,不唤醒
/address [地址]输出会话的规范地址(URI + mention)供复制;无参数=当前会话

模型工具mailbox.enableTool: true 默认开启):session_send_message(向其他会话投递消息)、session_overview(一次调用获取任意会话的标题/时间线/最近消息摘要——让"这个会话干了什么"这类问题一步得到答案,不再需要模型翻磁盘日志)。

地址格式(按推荐顺序):composer @ 选择器产生的 @[标题](dsh-session:…) mention、dsh-session: URI、session id、"含空格的标题"(直引号或「」)、裸标题(贪心匹配,仅活会话)。

With mailbox.enableTool: true (default) models get a session_send_message tool — an orchestrator session can drive other sessions.

Presentation / 呈现

Wakeup mail shows as a clean chat bubble (just the message, Codex-like); sender attribution and the untrusted-content notice ride a separate collapsed context row the same turn claims (mailbox.presentation: 'context' keeps everything in one collapsed row instead). Quiet mail is always a context row with a visible one-line summary.

Safety / 安全

  • Sender attribution includes the live session title: 会话「标题」(id).
  • Untrusted-content notice on every delivery; self-delivery refused; size cap (maxMessageChars, 16384).
  • Loop breaker: per sender→target sliding window (default 10 messages / 300 s).

Config

- id: session-nexus
  name: dsh-session-nexus
  config:
    lifecycle:
      allowDelete: false
    mailbox:
      enableTool: true
      allowColdWakeup: true
      maxMessageChars: 16384
      presentation: bubble      # bubble | context
      rateLimitCount: 10
      rateLimitWindowSeconds: 300

Known limitations (upstream territory) / 已知限制(需上游支持)

  • /unarchive writes durable state and pushes the UI frame, but the workspace registry's private in-memory cache cannot be invalidated from outside — a later workspace write may roll it back until restart. The clean fix is the upstream unarchiveSession() the archive design note reserved.
  • /rm-session removes the JSONL session directory only; derived indexes/caches/accounting reconcile lazily. Correct deletion needs a delete operation on the upstream persistence seam.
  • Quiet delivery to a cold session is impossible from a plugin — durable queued → delivered mailbox events belong to the upstream seam the RFC proposes.
  • No session-row "copy address" menu item: the sidebar row menu has no plugin slot. /address and the composer mention picker are the plugin-level substitutes.

These gaps are the RFCs' argument: the plugin proves the UX on public seams; the seams belong upstream.

License

MIT

Web UI 增强(客户端插件)

  • 会话头部 ID 芯片:每个会话标题栏右侧显示该会话的 session id,点击即复制(悬停提示说明用途)。
  • /address 专属结果卡片:不再是折叠截断的文本行——地址逐条整行展示,点击任意一条直接复制。

RFC 提案(proposed Agent Note 三件套)

本插件是两份社区 RFC 的伴生实现,提案原文见 [rfc/](rfc/)(官方 .agents/notes/proposed/feature 格式,中英双语 + i18n sidecar):[会话生命周期控制](rfc/2026-08-20-session-lifecycle-controls.md) · [会话邮箱](rfc/2026-08-20-session-mailbox.md)。讨论串:deepseek-harness#3640