dsh-session-ref
跨会话引用插件:在任意会话(含其他工作区)粘贴 @[label](dsh-session:…) 引用,宿主注入被引用会话的快照供模型阅读,并提供一键复制引用按钮。
Cross-session reference (mention) plugin — paste @[label](dsh-session:…) into any session, including one in another workspace, and the host injects the referenced session snapshot for the model to read; includes a one-click copy-reference button.
怎么安装
dsh plugin add dsh-session-ref 简介
dsh-session-ref **跨会话引用(mention)插件 for DeepSeek Harness。** 在任意会话(包括**另一个工作区/文件夹**的会话)里,粘贴 @label 引用,宿主就会把被引用会话的内容快照注入给当前 模型阅读——跨文件夹的任务和对话可以直接 @ 引用,不再需要口头转述。 完整设计见 SPEC.md。英文版见 README.en.md。 特性(MVP) **宿主半**:agent/pre-step 解析 @label 与裸 dsh-session:<id>,调用原生 sessionReferenceResolver.prepare() 注入 快照(转录中渲染为独立的 **Session recall** 行),并把 mention 改写为 可读 @label。若部署未挂载 sessionReferenceResolver 服务(如 rc.6 profile),插件会自动注册它。 **客户端半**:composer 工具条「复制引用」按钮,一键复制**当前会话**的引用 mention(@标题)。 全部跨会话能力复用 DSH 原生 @deepseek-ai/dsh-session-reference 管线: 并行读取、去重、预算(≤3 源 / ≤64KB)、自引用拒绝、untrusted 上下文警告。 重要限制 1. **社区插件**:非 DS…
推荐参考
信息
- 协议
- MIT
- 语言
- TypeScript
- GitHub 星标
- 4
- 月下载
- –
- 最近更新
- 2026-09-08
- 创建于
- 2026-08-18
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
同类推荐
DSH-EasyRewrite
Renzic-Stone/DSH-EasyRewrite
在 dsh web 中内联编辑与撤回自己的消息——惰性、无痕,带版本翻页器与会话级草稿持久化。
dsh-web
zhu1090093659/dsh-web-ui/tree/main/packages/dsh-chat-recovery
对话恢复插件:编辑最近一轮已结束的用户消息、显式重试失败轮次;两条路径都走 session fork 分支,原会话不被改动。
dsh-nested-followups
sluminositys/dsh-nested-followups
从任意层级的已完成回答持续创建隔离分支,主会话始终不受影响。
dsh-session-sync
PerryLink/dsh-session-sync
DeepSeek Harness 的跨设备会话同步:经 git 在多机之间同步会话与设置。