前言¶
如果你在 DSH 中处理任务,经常会同时用到命令、Skills、工作区文件、DSH 会话、本地 agent 留下的记录、云盘文件,以及线上聊天历史。这些来源如果分散在不同入口,就需要来回切换、手动查找和复制内容。
dsh-reference-anything 解决的就是这个问题:它把这些来源接入同一个 DeepSeek Harness @ 菜单,让你在一个菜单里搜索、选择,并把引用插入当前任务。
这是什么¶
dsh-reference-anything 是一个 DSH 插件,由 Chael-Chael 维护,许可证为 MIT。
它的一句话定位是:
Reference commands, skills, workspace files, DSH sessions, local agent transcripts, cloud-drive files, and mirrored web-chat conversations from one DeepSeek Harness @ menu。
它面向 DSH 原生的 @ trigger menu,并使用 official file/session Remotes 与 native Composer reference renderer。
核心功能¶
这个插件主要扩展两类内容:可引用的来源,以及 @ 菜单本身的展示与控制。
可引用的来源¶
启用后,可以从同一个 @ 菜单中引用:
- DSH commands and Skills
- workspace files and folders
- DSH session history
- transcripts left on disk by other local agent CLIs
- historical conversations from online chatbots
- files from cloud drives connected through OpenList
其中,External conversations group 使用 OpenCLI 访问 AI chat sessions。默认情况下,它把 conversation titles 保存在本地,并在需要时按需获取 remote content。可选的 offline-mirror mode 会把 latest complete conversation bodies 保存在本地。
本地 agent conversations 的处理方式不同:它直接从磁盘上的文件读取,不使用 browser,不使用 OpenCLI,也不做 mirror。
文件类引用使用 DSH 的 permission-constrained tools。
菜单展示与控制¶
插件也增强 @ 菜单本身:
- 自定义可见的
@menu groups,并将它们按任意顺序排列 - 为每个 group 独立设置 collapsed row count 和 hard candidate cap
- 展开或收起单个 group,也可以使用 DSH 的 native scrolling list
- 使用增强的视觉图标,包括 type icons 和 platform logos
安装与启用¶
版本要求¶
该插件面向 DSH 0.1.0-rc.8 或更新版本。
0.3.x line 保持使用当前 stable DSH SDK:
0.1.0-rc.8 ~ 0.1.1-rc.2
从 v0.4.0-alpha.1 开始,development releases 面向 DSH v0.1.2-alpha.1 或更新版本,并使用 npm alpha tag;该开发线不再支持更旧的 DSH releases。
安装稳定线¶
如果当前 DSH 环境使用当前 stable DSH SDK,可以安装 stable latest 线:
dsh plugin --profile web add dsh-reference-anything@latest
这条命令用于把 dsh-reference-anything 安装到 DSH 的 web profile。
可用性检查¶
安装后,在 DSH Web 中打开:
Settings → Reference Anything → Availability check
然后点击 One-click setup。
如果启用的来源需要 OpenCLI,自动安装 OpenCLI 需要 Node.js 自带的 npm;目标平台还需要已经在所选 Chrome Profile 中登录。
典型用法¶
下面是一个基本使用路径。
- 在 DSH 输入
@ - 用键盘输入搜索词,或用鼠标浏览菜单
- 在已启用的来源中筛选结果
- 选择目标引用项,插入当前任务
这个流程的核心是:输入 @ 后,不再分别打开不同工具查找命令、文件、会话或外部记录,而是在同一个菜单里完成搜索和插入。
适用场景与注意¶
这个插件适合需要把多类上下文集中引用的 DSH 用户,尤其是以下场景:
- 需要频繁引用 DSH commands 和 Skills
- 需要引用工作区中的文件和目录
- 需要回溯 DSH session history
- 需要读取其他本地 agent CLI 留在磁盘上的 transcripts
- 需要引用 online chatbots 的历史会话
- 需要通过 OpenList 引用云盘文件
使用前需要注意:
- 插件在 DSH 插件环境中加载,文件操作依赖 DSH 的 permission-constrained tools;安装前建议检查源码、依赖与许可证。
External conversationsgroup 会涉及 OpenCLI、Chrome Profile 登录和 remote content on demand,按需启用。- 本地 agent transcripts 来自磁盘文件,使用前应确认这些文件本身是否适合被读取。
- DSH 当前处于 Beta,底层能力和接口可能变化;插件会跟随 DSH 更新,但具体行为以当前版本说明为准。
链接¶
GitHub:
https://github.com/Chael-Chael/dsh-reference-anything
插件目录页(插件线索来源,未在本次抓取资料中直接确认):
https://www.skillhub.cn/plugins/Chael-Chael/dsh-reference-anything