FTShare-Lab / @dsh-ft/dsh-fft-gallery
DeepSeek Harness 金融工作台:FTShare 数据源、K 线、出图与 A 股/商品期货模拟盘(FTShare data, K-line, stock & futures paper trading, readiness check)
About this plugin
Written by the registry from verified metadata, not from the README.
@dsh-ft/dsh-fft-gallery is a DSH plugin published from the packages/dsh-fft-gallery package in the FTShare-Lab/dsh-plugin-fft-bundle repository.
Capabilities and topics
@dsh-ft/dsh-fft-gallery
右侧栏的「金融组件库」:以瀑布流浏览第三方为金融工作台做的网页应用与插件组件,收藏进「我的收藏」, 网页一键在侧栏打开;插件条目只给出安装命令,画廊本身不安装、也不审核任何代码。
安装
dsh plugin --profile desktop add @dsh-ft/dsh-fft-gallery
装完重启 DSH。右侧栏会出现「金融组件库」,发现 是目录,我的收藏 是收藏过的条目与已装插件
运行时注册的条目。
作者接入(两个东西,零 PR)
- 在仓库根放
dsh-ft-gallery.json:
{
"entries": [
{
"id": "example.panel",
"kind": "web",
"title": { "zh": "示例面板", "en": "Example panel" },
"summary": { "zh": "一句话说明", "en": "One line" },
"cover": "./assets/cover.png",
"screenshots": [{ "src": "./assets/shot.png", "alt": { "zh": "截图", "en": "Screenshot" } }],
"url": "https://example.com/",
"author": "example"
}
]
}
- 给仓库打 topic
dsh-ft-gallery。
字段:id / kind(web 或 plugin)/ title / summary 必填;details、cover、screenshots
(≤4 张,png/jpeg/webp)、url(web 必填)、spec(plugin 必填,npm 或 git)、open
(plugin 可选:{ "kind": "侧栏 tab kind" } 或 { "panel": "主栏面板 id" })、category
(可选:market / research / chart / tool / panel)、homepage、author、engines.dsh 可选。
作者缺省取仓库 owner;截图只用作者自己的 HTTPS 地址,画廊不托管图片。
目录如何更新
- 随包内建的
gallery/catalog.json是离线基线; .github/workflows/gallery-sync.yml每三天扫一次 topic,把合并后的catalog.json推到catalog分支;- 客户端先读 jsDelivr 的 GitHub 端点,再回退
raw.githubusercontent.com,不需要等发版。
开发
pnpm --filter @dsh-ft/dsh-fft-gallery run build
pnpm --filter @dsh-ft/dsh-fft-gallery test
GITHUB_TOKEN=... node packages/dsh-fft-gallery/scripts/gallery-sync.mjs # 扫 topic 并写 entries
node packages/dsh-fft-gallery/scripts/gallery-sync.mjs --check # 只校验现有 entries
边界
- 不安装、不升级、不卸载插件:只展示、给可复制的安装命令;
- 不审核代码、不代理图片;条目内容是作者自声明,界面按纯文本渲染、图片只接受 png/jpeg/webp;
- 收藏存在宿主侧
~/.dsh/.dsh-fft-gallery/state.json。
Badge
Listed here? Link back with this badge — paste the snippet into your repository README.
[](https://dsh-plugin.com/plugins/FTShare-Lab/dsh-plugin-fft-bundle/packages/dsh-fft-gallery)