返回目錄

dsh-annotation

編輯精選維護狀態: 活躍

omdsh-dev/dsh-annotation

DSH Web 選中批註外掛:選文字→批註→回車隨訊息傳送;氣泡隱藏批註塊(零閃爍);回覆按 Annotation N 逐條對照(可懸浮晶片)。官方 bundle,零核心改動

前往 GitHub專案首頁
$ dsh plugin --profile web add @changfenhuang/dsh-annotation

112

星數

7

Fork

HTML

語言

MIT

授權條款

2026-08-10

建立於

2026-09-07

最近推送

MIT 授權、面向 Web UI 的原生 DSH bundle 外掛程式:選中助手文字、inline 批註,得到編號式逐段回覆——批註區塊從你自己的訊息氣泡中隱藏。

DSH 整合

原生執行環境

作者聲明

安全稽核

未稽核

最後核實

2026-08-25

授權條款

MIT

01它能幫你完成什麼?

  • 在 DSH Web 中對任意助手回覆做批註,並讓模型按編號逐條回應

    可懸浮的 `Annotations ×N` 晶片,以及編號式 `Annotation N:` 回覆;批註區塊不會出現在你自己的氣泡中(零閃爍)

    希望在模型回答上做逐段 inline 回饋、又不想讓對話變亂的 DSH Web 使用者

  • 建立一條跨輪次的批註軌跡,讓模型持續帶著上下文

    批註跨訊息 / 輪次累積,並在你下一次提問時作為編號區塊一併傳送

    在單一長執行緒裡反覆迭代的研究者、審閱者與重度使用者

02如何將外掛接入 DeepSeek Harness?

先決條件

  • 已具備 DeepSeek Harness 的 Web profile(`dsh plugin --profile web`)—— README 說明這是唯一受支援的安裝路徑
  • DSH Web 服務正在執行,因為外掛程式透過 client-modules 注入瀏覽器

安裝步驟

  1. 01

    執行 `dsh plugin --profile web add @changfenhuang/dsh-annotation`(公開 npm 套件,無需 npm 帳號)

    $ dsh plugin --profile web add @changfenhuang/dsh-annotation

  2. 02

    或從來源安裝:`dsh plugin --profile web add git+https://github.com/omdsh-dev/dsh-annotation.git`

    $ dsh plugin --profile web add git+https://github.com/omdsh-dev/dsh-annotation.git

  3. 03

    重新啟動 Web 服務(launchctl / systemctl / 強制重新整理),讓新的 client.js 被載入

驗證整合成功

  • 執行 `dsh --profile web --dump-config | rg "id: dsh-annotation"` —— 必須恰好只有 1 行
  • 執行 `curl -s -o /dev/null -w '%{http_code}\n' "http://127.0.0.1:3080/plugins/@changfenhuang/dsh-annotation/client.js"` —— 期望回傳 200

03DSH 整合程度與能力邊界

DSH 整合原生執行環境

官方 DSH bundle 外掛程式,透過 `dsh plugin add` 以 client-modules 注入 DSH Web 瀏覽器,對 DSH 核心零改動。

  • 選中即批註

    選中的助手回覆文字(批註內文可為空)藍色編號標記 + 高亮,錨定在原文段落上,帶碰撞避免

  • Annotations ×N 晶片與跨輪次收集

    跨訊息 / 輪次的任意數量批註輸入框旁的晶片;懸浮可檢視 / 逐條刪除每個批註

  • 零閃爍氣泡隱藏

    你的訊息加上批註區塊氣泡中只顯示問題 + 晶片;批註區塊在繪製前被移除

    在微任務階段(繪製前)透過 MutationObserver 修改你訊息氣泡的 DOM
  • 編號式回覆對應

    注入的格式指令加上你的問題模型回覆 `Annotation 1:` … `Annotation N:`,每條渲染為可懸浮晶片

04適合誰?何時不該用?

適合

  • 希望在模型回答上做逐段 inline 回饋、又不想讓對話變亂的 DSH Web 使用者
  • 在單一長執行緒裡反覆迭代的研究者、審閱者與重度使用者

不適合

  • 不要手動把外掛程式 id 再次寫入 profile / home 的 `cordis.patch.yml` —— 外掛程式自帶該條目,重複 id 會導致載入失敗。只需 `dsh plugin add` 或寫入 `bundles` 即可。

05相容性、維護與安全提醒

  • 不要手動把外掛程式 id 再次寫入 profile / home 的 `cordis.patch.yml` —— 外掛程式自帶該條目,重複 id 會導致載入失敗。只需 `dsh plugin add` 或寫入 `bundles` 即可。
  • 外掛程式純瀏覽器端:所有邏輯都在 `client.js`(手寫 CJS 套件,無建置步驟,依請求無快取提供)中,Node 端是空實作,因此除了 `dsh plugin add` 之外沒有服務端動作。
2026-08-102026-08-25作者未說明

MIT · 維護中(無標記發布)

06常見問題

怎麼把 dsh-annotation 裝進 DeepSeek Harness?

走唯一受支援的路徑:`dsh plugin --profile web add @changfenhuang/dsh-annotation`(公開 npm 套件,無需帳號),或 `dsh plugin --profile web add git+https://github.com/omdsh-dev/dsh-annotation.git` 從來源安裝。它是官方 bundle 外掛程式,透過 client-modules 注入瀏覽器,對 DSH 核心零改動。

批註區塊會出現在我自己的訊息氣泡裡嗎?

不會。批註區塊在你傳送的那一刻、瀏覽器繪製前就從氣泡 DOM 中移除——只剩你的問題加晶片(懸浮可見),因此沒有閃爍。

模型怎麼處理多條批註?

訊息中會注入一條格式指令,讓模型逐條回覆 `Annotation 1:` … `Annotation N:`,與你的編號批註一一對應。回覆裡每個 `Annotation N:` 標籤都會變成可懸浮晶片,展示被批註的原文與你的筆記。

批註能跨輪次保留嗎?

可以。任意數量的批註會跨訊息 / 輪次累積,從 1 開始編號,並在你下一次提問時作為編號區塊一併傳送。該外掛程式在 dsh-focus-chat 的聚焦對話視圖中同樣可用。

08資料與來源

  • 作者聲明github.combc4d7926d0e2…

    official **bundle plugin** (`dsh.bundle` + a `dsh.client` declaration in package.json, injected into the browser via cli…

  • 作者聲明github.combc4d7926d0e2…

    **Zero core changes** — no DSH files are touched; `cordis.patch.yml` only inserts its own id once, and the profile patch…

此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-08-25。發現錯誤?提交更正。

🏆

最佳 DeepSeek Harness 外掛

從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。

DSH Plugins 是獨立的 DeepSeek Harness 外掛市集,與 DeepSeek 官方無關,也不代表官方背書。第三方外掛未經安全稽核,安裝前請審查原始碼。

每週取得最新的 DeepSeek Harness 外掛,絕不濫發。