AdamPlatin123/dsh-tonghuashun
DSH harness 客户端插件:同花顺行情终端风格皮肤 + 代码量 K 线行情面板(ui-skin-ths + ui-market)
项目介绍Project Overview
DSH 同花顺皮肤插件提供 @deepseek-ai/dsh-client-ui-skin-ths 与 @deepseek-ai/dsh-client-ui-market 两个 workspace 包。前者输出红涨绿跌语义令牌并接管顶栏、侧栏、消息气泡、输入卡与状态条,后者提供可调高度的日 K 线 dock 与默认展开的指数详情面板。适用于需要类同花顺终端视觉与内置行情面板的 DSH 客户端。需注意仅作为 DSH harness workspace 插件使用,不能独立安装。
The DSH THS Skin plugin ships two workspace packages: @deepseek-ai/dsh-client-ui-skin-ths and @deepseek-ai/dsh-client-ui-market. The first exposes red-up/green-down semantic tokens and overrides top bar, sidebar, chat bubbles, composer, and status bar styling. The second delivers a resizable daily K-line dock with keyboard and pointer support plus an auto-expanded index details panel. Use it inside the DSH harness to mimic a Tonghuashun-style trading interface with integrated market data. Caveat: it is a workspace plugin for the DSH harness and cannot be installed or run standalone.
请帮我了解并安装插件:【dsh-tonghuashun】【https://github.com/AdamPlatin123/dsh-tonghuashun】
把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.
或使用命令行安装(适合开发者)Or use CLI install (for developers)
命令行安装CLI Install
dsh plugin --profile web add github:AdamPlatin123/dsh-tonghuashun
把 AdamPlatin123/dsh-tonghuashun 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
DSH THS Skin · 同花顺终端皮肤
DeepSeek Harness(DSH)客户端插件:同花顺行情终端风格的皮肤 + 代码量 K 线行情面板。
包含包
| 包 | 说明 |
|---|---|
@deepseek-ai/dsh-client-ui-skin-ths |
终端皮肤:红涨绿跌令牌、终端化富 CSS、设置选择行 |
@deepseek-ai/dsh-client-ui-market |
行情面板:代码量日 K 线 dock、DS 指数 details、工具 Result 卡 |
功能
- 红涨绿跌语义令牌:
skins.ts的THS_TOKENS覆盖--dsw-alias-*层,对齐同花顺行情终端视觉(红涨绿跌、品牌蓝、终端深蓝灰底、方角等宽)。 - 终端化 UI 接管:顶栏行情条(TopChrome)、侧栏(TerminalSidebar)、消息流气泡(TerminalChat)、composer 输入卡(TerminalInput)、底部状态条(BottomChrome)。
- 可调高度 K 线面板:
MarketDock内置market-resizer(pointer capture 拖动 + 键盘方向键 + ARIA separator),高度 clamp 220–340px。 - 右侧详情默认展开:
MarketDetails挂载即调用ctx.layout.openDetails(),非空会话自动展开详情列,无需手动点开。
使用
这两个包是 DSH harness 的 workspace 插件,依赖 @deepseek-ai/dsh-* workspace 包与共享构建配置(packages/client/tsdown.client.ts)。
将 packages/client/ui-skin-ths 与 packages/client/ui-market 放入 DSH harness 仓库的 packages/client/ 下,然后在产品 cordis.patch.yml 注册:
- id: ui-skin-ths
name: '@deepseek-ai/dsh-client-ui-skin-ths'
- id: ui-market
name: '@deepseek-ai/dsh-client-ui-market'
皮肤在 General 设置区切换(SkinRow 注册到 settings.general.item 插槽)。行情面板自动挂载到 conversation.bottom.panel(K 线)与 conversation.details.panel(指数详情)。
开发
pnpm install # 在 DSH harness workspace 内
pnpm run typecheck # 类型检查
pnpm run build # tsc emits lib/types + tsdown bundles runtime
单包测试:vitest run packages/client/ui-skin-ths packages/client/ui-market。
许可
MIT
ruvnet/ruflo
Tencent/WeKnora
freestylefly/awesome-gpt-image-2
EverMind-AI/EverOS
MemTensor/MemOS
zhu1090093659/dsh-web-ui
edison7009/EchoBird