
jiangnanquan/dsh-ux
50Last commit Aug 14, 2026
dsh-ux DSH plugin
dsh-ux is a DSH plugin that enhances the Web interface with a Solarized light theme, compact layout, and fold capsules for think blocks and tool calls. It also adds an account usage dashboard showing balance, token cost, and 30-day consumption chart. The plugin is easy to install via `dsh plugin add`.
How to install the dsh-ux DSH plugin
dsh plugin --profile web add github:jiangnanquan/dsh-ux#mainCopying does not run this command. Review the repository and version before installing the dsh-ux DSH plugin.
dsh-ux DSH plugin data source
dsh-ux DSH plugin snapshot date: Aug 16, 2026
discovered
What the dsh-ux DSH plugin can do
- Provides Solarized light color scheme with Maple Mono font stack (fallback supported)
- Optimizes layout: wider message column, tighter spacing, narrower input queue, disabled rubber-band scrolling
- Aggregates think blocks into 'Think ×N' capsules and tool calls into 'A → B → C' chain capsules, click to expand
- Displays DeepSeek account balance, current session token cost, and 30-day usage chart at the bottom
Where the dsh-ux DSH plugin fits
- Improve the visual aesthetics of DSH Web interface with a professional color scheme
- Maximize screen space for conversations by reducing visual clutter
- Quickly monitor API usage and costs without leaving the chat interface
- Keep think block and tool call details accessible but out of the way
- Apply a consistent typography with Maple Mono font for better readability
Who the dsh-ux DSH plugin is for
- DSH Web users who want a more polished, compact interface
- Heavy users of DSH who need to track API consumption and costs
dsh-ux DSH plugin limitations
- Requires DSH to be running with the `web` profile (`dsh web`) for installation and use
- Account usage features (balance, cost, chart) require a valid `DEEPSEEK_API_KEY`; otherwise they show as unavailable
- Best visual experience requires the Maple Mono font installed; fallback fonts may differ
- Pricing table for token cost is hardcoded (`lib/index.js`) and must be manually updated if DeepSeek adjusts prices
dsh-ux DSH plugin: from the repository README
Quoted from the jiangnanquan/dsh-ux README, the upstream source of the dsh-ux DSH plugin. Copyright remains with the original authors.
DSH(DeepSeek Harness)Web 界面体验套件,包含两件东西: | 部分 | 内容 | |------|------| | **dsh-enhance**(仓库根目录) | DSH web 插件:主题、布局、折叠胶囊、账户用量 | | **dsh-desktop**(`desktop/` 子目录) | 无边框 Electron 桌面壳,双击即用 |  ## 能力(dsh-enhance) | 类别 | 内容 | |------|------| | 主题 | Solarized 浅色配色(深色保留官方默认)+ Maple Mono 字体栈(检测到才启用) | | 布局 | 加宽消息列、紧凑间距、收窄输入队列、禁用橡皮筋滚动 | | 折叠胶囊 | 思考块聚合为 `Think ×N` 胶囊、工具调用聚合为 `A → B → C` 链路胶囊,点击展开,最大限度压缩对话行数 | | 账户用量 | 底部显示官方账户余额、本轮 token 成本、近 30 天用量图表 | ## 安装 前置:已按 DSH 的 profile 机制运行(`dsh web`)。 ```bash dsh plugin --profile web add github:jiangnanquan/dsh-ux#main ``` 本包声明了 `dsh.bundle.patch` 与 `dsh.client`,`dsh plugin add` 会自动把它加入 profile 的 bundles,**重启 dsh 后即生效**,无需手改任何配置。重复执行该命令是安全的(幂等);升级用 `dsh plugin --profile web update dsh-enhance`。 ## 交给你的 AI 不想手动敲命令?把下面这段话粘贴给任意 AI agent(Claude Code、dsh、Gemini CLI……),让它读 INSTALL.md 并完成安装与自检: > 请按照 https://github.com/jiangnanquan/dsh-ux/blob/main/INSTALL.md 里的步骤,在我的机器上安装并验证 dsh-enhance 插件(profile 用 web),然后运行文档里的健康检查并告诉我结果。如果任何一步失败,按文档的回滚步骤恢复原状并说明原因。 ## 桌面壳(dsh-desktop) macOS 无边框沉浸式窗口,把 dsh web 装进桌面应用形态:双击 `启动 DSH.command` 自动拉起后端 + 窗口,退出时只清理自己拉起的后端。支持 `DSH_URL` / `DSH_SNAPSHOT` 环境变量。 见 [desktop/README.md](desktop/R
Read the full READMERepository license: MIT
dsh-ux DSH plugin questions
How do I install dsh-ux?
Run `dsh web` first to start the DSH web profile. Then execute `dsh plugin --profile web add github:jiangnanquan/dsh-ux#main`. Restart the DSH web server for the plugin to take effect. The command is idempotent and safe to repeat.
Does dsh-ux work with other profiles besides web?
The installation command in the README uses the `web` profile. The plugin's functionality is designed for the Web interface, so it is intended for the web profile. If you use other profiles, the plugin may not be applicable or may need adjustments.
Can I use dsh-ux without a DeepSeek API key?
Yes, you can. The theme, layout, and fold capsules work without any API key. The account usage panel (balance, cost, chart) will show 'query failed' or 'unavailable' if no key is configured, but all other features remain functional.
Why are my think blocks not folded into a capsule?
The fold capsule feature requires the plugin to be properly loaded. Make sure you have restarted the DSH web server after installing the plugin. Also, the plugin aggregates think blocks only when they appear in the conversation; if you have only one think block, it may still be displayed as a capsule. If the issue persists, try updating the plugin with `dsh plugin --profile web update dsh-enhance`.
How do I update dsh-ux to the latest version?
Run `dsh plugin --profile web update dsh-enhance` to update the plugin. Then restart the DSH web server. This command pulls the latest version from the GitHub repository.