DeepSHPlugins
dsh-custom-ui 專案預覽
GITHUB / COMMUNITY PROJECT

dsh-custom-ui

UI 增強JavaScriptMIT

右側檔案樹側欄,可開啟工作區檔案;並在輸入框狀態行顯示 DeepSeek 賬戶餘額。

1 Starsnailing10086-zx 更新時間 2026-08-16
訪問 GitHub 倉庫
dsh-custom-ui 專案預覽

專案介紹

中文

右側檔案樹側欄,可開啟工作區檔案;並在輸入框狀態行顯示 DeepSeek 賬戶餘額。

English

Right-side file-tree sidebar that opens workspace files, plus a DeepSeek account balance meter in the composer stats line.

專案資訊與收錄訊號

快照 2026-09-11
作者 / 組織
nailing10086-zx
倉庫
nailing10086-zx/dsh-custom-ui
GitHub Stars
1
Forks
0
開發語言
JavaScript
許可證
MIT
最近推送
2026-08-16
Manifest
資料中檢測到宣告

公開倉庫不自動等於可商用;許可證與當前相容性以原專案文件為準。Manifest 和資料評分不構成安裝安全認證。

資料評分

50/ 100
維護活躍
82
文件與實用資訊
99
生態關注度
9
安裝便捷訊號
55
專案宣告訊號
100

README 含完整安裝與使用說明;關注度尚低(1)。

評分來自已有資料快照的五維模型,僅作瀏覽參考,不是實際使用評測或安全檢測結論。

安裝與使用

所有專案資料與許可均以對應 GitHub 倉庫為準。

dsh plugin --profile web add github:nailing10086-zx/dsh-custom-ui

複製命令不會自動執行。請先閱讀倉庫文件,確認環境要求與許可證。

專案截圖

倉庫 README

GitHub 原文

已儲存的倉庫文件快照;文件抓取時間未記錄,可能與上方目錄介紹處於不同版本。安裝前請核對當前倉庫說明。

儲存庫檔案保留原文,指令與授權文字不作自動改寫。

dsh-custom-ui

Custom UI plugin for DeepSeek Harness Web.

Adds a right-side file-tree sidebar, workspace file open, and a DeepSeek account balance meter in the composer stats line.

Features

  • Balance meter — shows the DeepSeek account balance in the composer stats line. The API key is resolved server-side only through the credentials seam (credentialRef from @deepseek-ai/dsh-credentials) — it never crosses the wire to the browser.
  • File tree sidebar — a right-side workspace file tree for quick navigation, with collapse/expand and a floating toggle button.
  • Workspace file open — open files/folders with the system default application (workspace-rooted; path traversal guarded).

Install

dsh plugin --profile web add dsh-custom-ui

Then restart dsh web. If installed from a local checkout instead, link it via pnpm link (or "dsh-custom-ui": "link:<path>" in the profile's package.json) and rebuild.

Requirements

  • DeepSeek Harness Web (dsh web)
  • DEEPSEEK_API_KEY configured in the harness credentials (for the balance meter; the file tree works without it)

Host routes

RoutePurpose
GET /api/custom-ui/balanceDeepSeek account balance (via DEEPSEEK_API_KEY through the credentials seam)
GET /api/custom-ui/fs/listDirectory listing (workspace-rooted)
GET /api/custom-ui/fs/openOpen a file/folder with the system default

Development

# host half (server routes)
node lib/index.js            # or run through dsh plugin dev flow

# client half (browser UI) — HMR while `pnpm run dev:web` runs in the DSH checkout
# client-plugin changes reload without a refresh only while the dev:web watcher is running

Build the client bundle with your DSH toolchain, then restart dsh web.

Security

  • The API key is resolved server-side only; the browser client never receives it.
  • File routes are workspace-rooted: resolve() + prefix check against the workspace root blocks path traversal.
  • Review lib/index.js and lib/client.js before installing if you did not clone from the official repo.

License

MIT — see LICENSE.

使用前核對

安裝步驟、相容版本與授權範圍以原專案當前文件為準。Stars 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案