A floating, semi-transparent market ticker for DeepSeek Harness showing real-time level and change percentage for the Shanghai Composite, ChiNext, STAR 50 and Hang Seng Tech indices.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:FeiZhuNiU-INFJA/dsh-stock-ticker
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
DeepSeek Harness 的一个底部行情栏插件:在窗口底部显示一条半透明 bar,实时展示 A 股与港股核心指数。
📸 预览
✨ 功能
- 固定在窗口底部的全宽行情 bar,半透明背景跟随 DeepSeek Harness 主题色(85% 透明度 + 背景模糊)
- 每 5 秒自动刷新
- 可收起为右下角小胶囊,点击展开,不遮挡输入区
- 每个指数只显示两项:当前点位 + 涨跌幅(红涨绿跌、锐利配色)
- 横向排列,窄屏自动横向滚动
显示的指数:
| 指数 | 代码 |
|---|---|
| 上证指数 | 000001 |
| 创业板指 | 399006 |
| 科创50 | 000688 |
| 恒生科技 | HSTECH |
🚀 安装
作为常驻 bundle 安装,随 DSH 启动自动加载、重启不消失:
dsh plugin --profile web add github:FeiZhuNiU-INFJA/dsh-stock-ticker
装完重启 DSH(或选择「立即重启」),页面底部即出现行情 bar。
结构遵循社区
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激活;客户端首次运行需要在审批卡片里点「允许」。刷新页面后窗口底部即出现行情 bar。
两个文件里的代码就是
cordis_define的code.host/code.client函数体,直接整段复制即可。
📄 License
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 8405
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 8405
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 4088
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 4076
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 4009
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1423
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.