Plugin directory / Developer / dsh-stock-ticker
dsh-stock-ticker
Unverified FeiZhuNiU-INFJA
What it does
dsh-plugin: floating semi-transparent market ticker for DeepSeek Harness — 上证指数 / 创业板指 / 科创50 / 恒生科技
Unverified — not yet verified
dsh-plugin: floating semi-transparent market ticker for DeepSeek Harness — 上证指数 / 创业板指 / 科创50 / 恒生科技 Not yet verified — install and test it yourself.
“Unverified” means our automated CI has not yet installed this plugin. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
🧩 dsh-stock-ticker
DeepSeek Harness 的一个悬浮行情插件:在页面右上角显示一个可拖拽、可收起的半透明小窗,实时展示 A 股与港股核心指数。
📸 预览
✨ 功能
- 悬浮窗口,可拖拽、可收起
- 背景跟随 DeepSeek Harness 主题色(80% 透明度),红涨绿跌、锐利配色
- 每 5 秒自动刷新
- 每个指数只显示两项:当前点位 + 涨跌幅
显示的指数:
| 指数 | 代码 |
|---|---|
| 上证指数 | 000001 |
| 创业板指 | 399006 |
| 科创50 | 000688 |
| 恒生科技 | HSTECH |
🚀 安装
作为常驻 bundle 安装,随 DSH 启动自动加载、重启不消失:
dsh plugin --profile web add github:FeiZhuNiU-INFJA/dsh-stock-ticker
装完重启 DSH(或选择「立即重启」),页面右上角即出现悬浮行情窗。
结构遵循社区
dsh-plugin约定:dsh.bundle.patch指向cordis.patch.yml,Host 入口lib/index.js注册同源路由/dsh-stock-ticker/quotes(内部用shell+curl抓取腾讯行情),Client bundlelib/client.js渲染悬浮窗并每 5 秒轮询该路由。
🗂️ 代码结构
dsh-stock-ticker/
├── lib/index.js # Host 包入口:注册 /dsh-stock-ticker/quotes 路由
├── lib/client.js # Client bundle:悬浮窗 UI + 5s 轮询
├── host.js # 动态插件形式的 Host 半区(可选)
├── client.js # 动态插件形式的 Client 半区(可选)
├── package.json # 包清单(dsh bundle + client 声明)
├── cordis.patch.yml # bundle patch:插入插件行
├── assets/screenshot.png # README 预览截图
├── LICENSE
└── README.md
🔌 数据源
- 接口:
https://qt.gtimg.cn/q=sh000001,sz399006,sh000688,hkHSTECH - 免费、无需鉴权,返回纯文本的
~分隔行 - Host 侧通过
shell服务执行curl抓取(DSH 默认部署未注册webfetch provider,因此不走web.fetch)
🧪 动态插件(可选,临时体验)
不落盘、临时载入的动态插件方式,适合快速体验:
让 agent 用动态插件工具
cordis_define创建插件:cordis_run激活;客户端首次运行需要在审批卡片里点「允许」。刷新页面后即出现悬浮行情窗。
两个文件里的代码就是
cordis_define的code.host/code.client函数体,直接整段复制即可。
📄 License
Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install dsh-stock-ticker for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:FeiZhuNiU-INFJA/dsh-stock-ticker Headless (CLI) profile:
dsh plugin --profile headless add github:FeiZhuNiU-INFJA/dsh-stock-ticker Test report
Not yet L3-verified — see failure note below if we already ran it.
2026-08-26 · flagged webonly Note: 验证: web-only;待 L4 web CDP;L4 web CDP runtime-fail on dsh 0.1.0-rc.8. Browse all pending failures →