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 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目