iFinD-style stock trading theme for DSH Web, featuring brand-red title bar, market quote status bar, and trading terminal panel.
ⓘ This plugin is a sub-package of the CAPTAIN1275/dsh-ui-web monorepo — stars and activity count the whole repository.
- Language
- TypeScript
- License
- Apache-2.0
- Branch
- main
Install
$ dsh plugin --profile web add @captain1275/dsh-client-ui-skin-thsRun the command above in your terminal to install this plugin via the dsh CLI. You can switch Profile in the top-right corner. New to dsh? Read the beginner tutorial
Install via your agent
Install the DeepSeek Harness plugin CAPTAIN1275/dsh-ui-web/packages/skins/ths for me: review the repository at https://github.com/CAPTAIN1275/dsh-ui-web first, then run the install command and verify the plugin loads successfully.
Paste this instruction to the DSH Web GUI assistant — it will install and verify for you.
One-Line Positioning
Transform the entire DSH Web interface into the visual style of the Tonghuashun stock trading terminal: a brand-red fixed title bar with Shanghai Composite Index quote, a red-up green-down market status bar at the bottom, a stock watchlist-style sidebar and trading terminal color scheme, wrapping the coding experience with a "market watching" skin.
Core Capabilities
- Set the
data-dsh-thsbody attribute as the scope for the entire Tonghuashun stylesheet; all theme tokens including colors and fonts are overridden via this attribute - Insert a brand-red fixed title bar at the top of the page: white candle SVG icon on the left + "同花顺 · DeepSeek 在线" title + Shanghai Composite Index quote (value/change %), three decorative window button characters on the right
- Insert a market status bar at the bottom of the page: brand color "同花顺" on the left + Shanghai/Shenzhen/ChiNext index cells (red-up green-down color scheme) + Ready/Connected/Online status + real-time "Code Index" cell
- Inject a red-background "同" character SVG favicon into head and pin the document title to "同花顺 · DeepSeek 在线" (does not affect title overrides after session start)
- Every 30 seconds, aggregate all workspaces' daily net code line additions via codeKline RPC, rendering the change text and color for the "Code Index" cell
- Lock onto its own Tonghuashun color palette under both Light/Dark Appearance themes, providing "day session/night session" two visual modes
Technical Implementation
- Language: TypeScript (CSS Modules with lightningcss compilation)
- Key Dependencies:
@deepseek-ai/cordis(effect lifecycle),@deepseek-ai/dsh-client-connection(only reads codeKline/workspace RPC via ConnectionHandle), built with tsdown - Architecture Pattern: Standard DSH client plugin: host half (
src/index.ts) is empty apply placeholder, client half (src/client/index.ts) injects DOM chrome; registered as plugin entryui-skin-thsviacordis.patch.yml, managed mutually exclusively bydsh-skin usescript - Entry File:
packages/skins/ths/src/client/index.ts:75(apply(ctx)is the only runtime entry)
Applicable Scenarios
For users who want an immersive visual switch during long hours of watching the market while coding, or simply prefer the red-blue color scheme of Tonghuashun/East Money style trading terminals. The skin only overlays chrome and tokens at the visual layer, does not affect AI conversations, does not modify model requests, and does not touch user data—suitable for "changing mood without changing functionality".
Prerequisites & Compatibility
| Dependency | Min Version | Description |
|---|---|---|
| DSH Web Main Program | Not Declared | Only declares client injection @deepseek-ai/dsh-client-connection (devDependencies: ^0.1.0-rc.6), no hard-coded DSH version in package.json |
| Node | Not Declared | No engines field declared in package; build requires pnpm ≥10 (git install first prompts adding package key to allowBuilds in profile's pnpm-workspace.yaml) |
| Platform | Cross-Platform | Pure browser DOM operations, no OS binding; works on macOS/Windows/Linux desktop DSH clients |
| Native Modules | None | No node native module dependencies |
| Extra Requirement | data-pane attribute on AppFrame columns | From ui-layout package; without it, panel-level chrome (sidebar gradient/session detail surface) won't take effect, window title bar and status bar still work normally |
Installation
dsh plugin --profile web add github:CAPTAIN1275/dsh-ui-web/packages/skins/ths
Enable: dsh-skin use ths (repository scripts/dsh-skin helper script), only one skin can be active at a time.
Configuration
No additional configuration required. All visual aspects (market text, index values, colors, refresh frequency) are hardcoded in the source code—no switches, no environment variables, no Schema fields after installation.
FAQ
Q: Any configuration needed after installation?
A: No. This skin is a pure presentation layer plugin, it doesn't read environment variables, register config items, or create services. Just restart DSH Web after installation and enable with dsh-skin use ths.
Q: Does it intercept or modify model requests?
A: No. apply() only modifies browser DOM, doesn't inject services, doesn't fire cordis events, and doesn't touch any provider requests; KV Cache is unaffected.
Q: Are the index values in the status bar real-time market data?
A: No. The Shanghai Composite Index / Shenzhen Component Index / ChiNext Index values in the status bar are fixed text, purely for visual effect. What does change dynamically is the "Code Index" cell, which aggregates all workspaces' daily net code line additions every 30 seconds.
Q: Can multiple skins be enabled at the same time?
A: No. Tonghuashun, Aurora, and other skins all inject elements into the window chrome simultaneously; the documentation clearly requires only one skin entry active at a time. To switch themes, use dsh-skin use <other-skin>, or uninstall this package to return to default appearance.
Q: Will the page revert to original after uninstall?
A: Yes. On cordis unload, the effect cleaner removes the body attribute, title bar, status bar, favicon, and restores the overwritten document title; if the user has opened sessions with titles while the skin was active, the skin won't override the session titles.
Q: Will the loading page (splash screen) be styled by this skin?
A: No. The shell's splash screen renders before the plugin bundle loads; the skin takes effect starting from the finalized UI; the splash screen's internal cards remain in modern style.
Q: Will switching to dark theme revert to non-skin appearance?
A: No. The skin locks its own color palette under both data-ds-dark-theme states; switching Appearance themes gives you light/dark trading terminal color schemes, not the default DSH appearance.
Q: Why don't the minimize/maximize/close buttons in the title bar respond to clicks?
A: Those buttons are decorative characters (aria-hidden), only for visual simulation, not bound to any window control events; actual window operations still go through the operating system.
Difficulty Level
Beginner — one install command + one enable command, no configuration items; the only prerequisite is having ui-layout correctly installed to see full panel-level styling.
Known Issues & Limitations
- Splash screen remains unchanged: DSH shell splash screen renders before plugin bundle, skin takes effect starting from finalized UI; once attributes are set, splash screen also gets window borders, but its internal cards remain in modern style
- Theme switching locked inside skin: both
data-ds-dark-themestates map to the skin's own light/dark terminal color scheme; switching Appearance themes won't return to default DSH appearance - Index cells are decorative fixed text: Shanghai Composite Index / Shenzhen Component Index / ChiNext Index values in status bar are hardcoded in source, not tracking real market data
- Only one skin allowed at a time: enabling two skins simultaneously causes chrome overlap; recommend using
scripts/dsh-skinto centrally manage skin switching - "Code Index" cell degrades to dash placeholder when codeKline RPC unavailable: implementation uses try/catch + explicit
api === undefinedcheck; failure won't crash the terminal, but user won't see any data
基于 zhu1090093659/dsh-web-ui(Apache-2.0)开发的 DeepSeek Harness(DSH)Web UI 插件套件。全套 22 个包已发布到 npm(
@captain1275/*)。
DSH Web UI 全家桶为 DeepSeek Harness 的 Web 界面提供一系列插件与皮肤:极光毛玻璃皮肤、任务看板、 SSH 运维、右侧文件/变更面板、Git 图谱、移动端远程控制、DeepSeek 娘看板娘(养成系)、实时令牌统计, 以及皮肤中心。所有插件既可独立安装,也可通过聚合包一次装齐。
极光 Aurora 皮肤效果(沉浸光感 / 深色 / 浅色)



特性
极光(Aurora)皮肤(支持动态背景)
- 毛玻璃输入框:高斯模糊(backdrop-filter 30px)+ 半透明玻璃底 + 细边框 + 内高光
- 自定义背景:URL / 本地图片 / 动图(GIF/WebP)/ 视频(mp4/webm) / 透明度 / 模糊调节,
深浅两套极光渐变;视频背景支持静音开关、本地文件持久化(存
~/.dsh/skin-aurora-media/,刷新不丢) - 仿Claude Code推理等级滑块:点击模型菜单的「推理等级」弹出 Effort 滑块面板——无极拖动、松手吸附、 WebGL 火焰跟随、OFF/MAX 刻度、Low/Medium/High/Ultracode 状态

- 用户消息气泡毛玻璃:与输入框统一的玻璃质感
DeepSeek 看板娘(养成系)
- 图片资源(社区同人资源,codex-pet-DeepSeek-girl)
- 养成系统:亲密度 4 级成长(幼鲸 / 伙伴 / 挚友 / 深海羁绊)、升级庆祝气泡、进度条、 Token 零食经济、使用时长成长(每 30 分钟 +1)
- 待机随机气泡:空闲时随机说话(live2d 风格文案)
- 摸头 / 喂食 / 改名 / 拖动,召唤按钮(live2d 同款贴边滑出)
Skill 人格设定
- 设置「人格设定」:开关启用/禁用常驻人格,编辑技能名、描述与人格正文
- 一键生效:保存后写入用户级技能
~/.dsh/skills/catgirl-rp/SKILL.md,DSH 技能系统实时加载, 所有新对话自动以该人格回应(含语气、动作表达、互动规则) - 内置猫娘人格:默认提供「小咪」猫娘人格(常驻生效、好感度系统、模式切换指令),可自由改写
- 可临时退出:对话中说「退出角色扮演模式」即切回普通助手,说「进入角色扮演模式」恢复

用量看板
- 彩色统计卡:累计 token、调用次数、缓存命中、估算费用(按 DeepSeek 官方定价)
- 近 14 天趋势:每日 token 消耗柱状图
- 模型分布:各 provider/model 用量环形图 + 图例
- 会话排行:Top 20 会话(标题 / 模型 / 调用数 / token / 费用)
- 自动记录:对话时自动采集 token 用量(会话快照替换语义,不双计),存
~/.dsh/usage.json - 侧边栏入口:彩色柱状按钮打开全屏看板
功能插件
| 插件 | 功能 |
|---|---|
| dsh-task-board | 侧边栏任务看板:多列 kanban、真实执行(驱动 agent 会话)、定时执行(cron) |
| dsh-ssh | SSH 运维:主机管理、远程执行、SFTP 传输、隧道、集群并发、Web 终端 |
| dsh-aionui-panel | 右侧「预览 / 文件 / 变更」面板:文件树、多格式预览、git 操作、文件拖拽 |
| dsh-git-graph | 会话头部 git 分支选择器 + 提交图 |
| dsh-live-stats | 实时 token 估算与生成速度 |
| dsh-full-stats | 完整统计行:覆盖官方统计(不省略)+ 运行状态指示 + 自定义状态文本(含替换官方 Deep diving...) |
| dsh-usage-dashboard | 用量看板:彩色统计卡 / 近 14 天趋势 / 模型分布 / 会话排行 / 费用估算 |
| dsh-web-ui-settings | 设置页「Web UI 插件」配置组 + 「人格设定」+「关于」版权页 |
| dsh-web-ui-all | 聚合包:一键安装全部插件 |
皮肤中心
10 套皮肤(ths / xp / blue-fantasy / dragon-heir / minecraft / miku / trading / whale-song / aurora / skin-center),支持皮肤启用互斥管理与一键切换。
其余皮肤(ths / xp / blue-fantasy / dragon-heir / minecraft / miku / trading / whale-song) 为上游 dsh-web-ui 自带皮肤。
安装
方式一:npm(推荐,已发布)
# 在 DSH profile 目录(~/.dsh/profiles/web)安装聚合包
npm install @captain1275/[email protected]
然后在 profile 的 package.json 里把 @captain1275/dsh-web-ui-all 加入
dsh.profile.bundles:
{
"dsh": {
"profile": {
"bundles": [
"@deepseek-ai/dsh-base",
"@deepseek-ai/dsh-web-app",
"@captain1275/dsh-client-ui-skin-aurora",
"@captain1275/dsh-full-stats",
"@captain1275/dsh-web-ui-all"
]
}
}
}
重启 DSH 即生效。
方式二:从源码(开发)
git clone <your-repo-url> dsh-web-ui
cd dsh-web-ui
pnpm install
pnpm -r build
# 把本地包链接进 profile(junction)
node scripts/link-profile.mjs
开发
- 构建:
pnpm -r build(或pnpm --filter <package> build) - 新增皮肤:参考
packages/skins/aurora(skin.json+src/client+cordis.patch.yml), 然后用node scripts/skin-center-bundles重新生成注册表 - 聚合包 patch:编辑
packages/dsh-web-ui-all/aggregate.yml后node scripts/aggregate.mjs - 皮肤资产同步:
node packages/dsh-skins/build.mjs
目录结构
packages/
├─ dsh-task-board / dsh-ssh / dsh-aionui-panel / dsh-git-graph
├─ dsh-pet / dsh-live-stats / dsh-full-stats
├─ dsh-web-ui-settings / dsh-web-ui-all / dsh-skins
└─ skins/ # 皮肤源码(aurora、miku、ths 等)
scripts/ # 构建 / 注册表 / 链接工具
shared/ # 共享构建预设(tsdown.client.ts)
版权与许可
- 主体代码:zhu1090093659/dsh-web-ui,Apache-2.0
- 增强优化:@captain1275
- DeepSeek 娘精灵图:xpy12367/codex-pet-DeepSeek-girl, 社区同人资源,版权归原作者
- 人形图标:Font Awesome 6.7.2,CC BY 4.0
- 样式参考:live2d-widget(GPL-3.0,仅参考视觉风格,未搬用代码)
- 商标:DeepSeek 及其相关标识均为 DeepSeek 官方资产;本插件为社区开发者独立维护的非官方同人项目, 不代表 DeepSeek 官方立场。
Read the usage guide →
Install steps, key points, FAQ and compatibility for this plugin — auto-derived from indexed fields.
Listing badge
[](https://deepseek-plugin.org/plugins/CAPTAIN1275/dsh-ui-web/packages/skins/ths)Paste this markdown into your GitHub README to link back to this listing. The badge only states the listing — not a security endorsement.