前言¶
如果你日常用 DSH 的 web profile 跑回合,會注意到模型工作期間狀態行始終是靜態的 Deep diving...,旁邊跟着一個已用時間。功能上沒問題,但對用過 Claude Code 的人來說,那個每隔幾秒隨機換詞的狀態行——Thinking…、Pondering…、Musing…——已經是一種熟悉的小細節。DSH 的理念是「一切皆插件」,這類純界面的小改動正適合交給插件來做。下面介紹 ldgeng 的 dsh-claudecode-tips,它只做這一件事。
這是什麼¶
dsh-claudecode-tips(包名 @claude-code-tips/dsh-plugin,版本 0.1.0,MIT 許可)是 ldgeng 維護的一個 DSH 插件 bundle,面向 web profile。它把回合狀態標籤 Deep diving... 替換爲隨機切換的 Claude Code 風格 loading words(原版 56 詞),並保留旁邊的已用時間計時。在社區目錄裏它被歸入「趣味換裝」分類。
它改了什麼¶
安裝前,回合運行時狀態行是這樣:
Deep diving... 12s
安裝後,狀態詞每隔幾秒隨機切換:
Thinking... 12s
計時(12s)保留不動。詞表是 Claude Code 的原版 56 詞,節選幾個:Accomplishing、Brewing、Clauding、Musing、Pondering、Vibing。完整列表如下:
Accomplishing, Actioning, Actualizing, Baking, Brewing, Calculating,
Cerebrating, Churning, Clauding, Coalescing, Cogitating, Computing,
Conjuring, Considering, Cooking, Crafting, Creating, Crunching,
Deliberating, Determining, Doing, Effecting, Finagling, Forging,
Forming, Generating, Hatching, Herding, Honking, Hustling, Ideating,
Inferring, Manifesting, Marinating, Moseying, Mulling, Mustering,
Musing, Noodling, Percolating, Pondering, Processing, Puttering,
Reticulating, Ruminating, Schlepping, Shucking, Simmering, Smooshing,
Spinning, Stewing, Synthesizing, Thinking, Transmuting, Vibing, Working
實現方式¶
這是一個純瀏覽器端 client 插件:監聽 chat DOM,只重寫狀態文本節點。沒有服務端代碼,不修改模型 prompt,也不需要 fork DSH。
插件沒有構建步驟:client.js 由 DSH 的 client 模塊系統加載,cordis.patch.yml 負責把它注入 web profile。package.json 裏對應的聲明是:client platform 爲 web,bundle patch 指向 ./cordis.patch.yml。
安裝與啓用¶
先滿足兩個前提:使用 web profile;DSH 版本支持 out-of-tree bundles(dsh 0.1.0-rc.6 或更新)。
把倉庫 clone 到本地,在插件目錄下執行:
# 在插件目錄下執行
dsh plugin --profile web add .
README 裏還給了從 git checkout 安裝的示例:
dsh plugin --profile web add github:your-name/dsh-claude-code-tips
注意:這裏的 your-name/dsh-claude-code-tips 是佔位符,與實際倉庫 ldgeng/dsh-claudecode-tips 的 owner/repo 拼寫並不一致。不要照抄這條命令,也不要自行拼接 owner/repo,建議直接用上面的本地目錄方式安裝。
安裝完成後啓動 web UI:
dsh --profile web
驗證¶
1、啓動 web UI 並打開一個會話。
2、發送一條消息。
3、模型工作期間,狀態行應顯示隨機切換的 loading words(如 Thinking...、Pondering...、Musing...),而不是 Deep diving...。
臨時停用¶
不想卸載時,在 profile 的 cordis.patch.yml 裏添加:
- id: claude-code-tips
disabled: true
即可停用插件,無需卸載。
適用場景與注意¶
- 適合每天使用 DSH web profile、喜歡 Claude Code 狀態行觀感的人。
- 也適合想寫 client 插件的開發者當最小示例參考:無構建步驟,改動只有一個文本節點。
- 插件只改界面狀態文本,不改變模型行爲或 prompt。
- 插件以當前 dsh 進程的權限運行,安裝任何插件前都應先檢查源碼與許可證——這個項目是 MIT。
- 文中提到的社區目錄是獨立站點,與 DeepSeek、幻方沒有官方從屬關係。
結尾¶
dsh-claudecode-tips 解決的問題很小,但路徑乾淨:不改 prompt、不 fork DSH、無構建步驟,裝上即生效,不想用時一行 disabled: true 停掉。如果你想給 DSH web profile 換個狀態行,或者想找一個最小的 client 插件例子,可以從它開始。
- 社區目錄頁:https://www.skillhub.cn/plugins/ldgeng/dsh-claudecode-tips
- GitHub 倉庫:https://github.com/ldgeng/dsh-claudecode-tips