前言¶
如果你在 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