dsh-pindou
在 DSH Web 右侧边栏拼小拼豆的轻量小游戏,等模型回复的空档拼一张:12 个带引导豆的内置图案、16 色在 12/16/24 格板上自由拼、一句话让模型生成图纸、照片在本机转成图纸(不上传)、拼完熨烫存入最多 60 件的作品墙,并可导出 PNG。
安装
dsh plugin --profile web add dsh-pindou
沙箱测试
这个插件还没测过。提交测试 →
README
<h1 align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/Teloi/dsh-pindou/v0.3.0/docs/assets/readme-banner-dark.png">
<img src="https://raw.githubusercontent.com/Teloi/dsh-pindou/v0.3.0/docs/assets/readme-banner-light.png" width="100%" alt="拼豆小憩 · Bead Break:在 AI 思考的空档,拼一颗豆">
</picture>
</h1>
<div align="center">
<p>DSH 侧栏里的拼豆小游戏:12 个模板、AI 生成图纸、图片转图纸,拼完熨烫存进作品墙。</p>
<p>
<a href="https://github.com/Teloi/dsh-pindou/actions/workflows/ci.yml"><img alt="CI 状态" src="https://img.shields.io/github/actions/workflow/status/Teloi/dsh-pindou/ci.yml?branch=main&style=flat-square&label=CI"></a>
<a href="https://github.com/Teloi/dsh-pindou/blob/v0.3.0/CHANGELOG.md"><img alt="当前版本(读取 package.json)" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2FTeloi%2Fdsh-pindou%2Fv0.3.0%2Fpackage.json&query=%24.version&prefix=v&label=version&color=blue&style=flat-square"></a>
<a href="https://github.com/deepseek-ai/deepseek-harness"><img alt="需要的 DSH 版本(读取 package.json 的 engines.dsh)" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fraw.githubusercontent.com%2FTeloi%2Fdsh-pindou%2Fv0.3.0%2Fpackage.json&query=%24.engines.dsh&label=DSH&color=blue&style=flat-square"></a>
<a href="https://github.com/Teloi/dsh-pindou/blob/v0.3.0/LICENSE"><img alt="许可证 MIT" src="https://img.shields.io/badge/license-MIT-blue?style=flat-square"></a>
<a href="https://github.com/ukinch605/awesome-dsh-hub"><img alt="收录于 awesome-dsh-hub" src="https://img.shields.io/badge/awesome--dsh--hub-listed-blue?style=flat-square"></a>
</p>
<p><strong>中文</strong> · <a href="https://github.com/Teloi/dsh-pindou/blob/v0.3.0/README.en.md">English</a></p>
</div>
<br>
<p align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/Teloi/dsh-pindou/v0.3.0/docs/assets/readme-demo-dark.gif">
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/Teloi/dsh-pindou/v0.3.0/docs/assets/readme-demo-light.gif">
<img src="https://raw.githubusercontent.com/Teloi/dsh-pindou/v0.3.0/docs/assets/readme-demo-light.gif" width="800" alt="演示:在 DSH 等模型思考时打开拼豆小憩,选「爱心」模板逐颗拼满,点熨烫后得到定型完成的成品卡">
</picture>
</p>
<br>
拼豆小憩是 DeepSeek Harness(DSH) Web 端的插件:在右侧边栏打开一块像素拼豆板,照着模板拼、自由拼,或者用一句话让模型生成图纸,拼完「熨烫」定型,导出 PNG。
特性
- 模型忙时的入口:会话标题栏的豆子按钮,或模型运行 3 秒后输入框上方的小胶囊「趁现在拼一个?」。
- 12 个模板:淡色引导豆和完成度,拼完「熨烫」定型,撒彩豆庆祝。
- AI 生成图纸:一句话 → 一次模型调用 → 图纸落到豆板上,显示消耗的 tokens。
- 图片转图纸:拖入或粘贴图片,裁剪、选尺寸和颜色数,在本机转成图纸。
- 我的作品:熨烫过的作品自动收进作品墙,可导出 PNG、复制图片、再拼一次。
- 跟随 DSH:中英文界面、浅色/深色主题,键盘和读屏可用。
截图
<table>
<tr>
<td width="50%" align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/Teloi/dsh-pindou/v0.3.0/docs/assets/screens/screen-home-dark.png">
<img src="https://raw.githubusercontent.com/Teloi/dsh-pindou/v0.3.0/docs/assets/screens/screen-home-light.png" width="100%" alt="主页:自由拼、AI 生成、图片转图纸、我的作品四张卡片,下面是模板列表">
</picture>
<br><sub>主页与 12 个模板</sub>
</td>
<td width="50%" align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/Teloi/dsh-pindou/v0.3.0/docs/assets/screens/screen-ai-dark.png">
<img src="https://raw.githubusercontent.com/Teloi/dsh-pindou/v0.3.0/docs/assets/screens/screen-ai-light.png" width="100%" alt="AI 生成:输入「一只橘猫」后得到的 16×16 橘猫图纸,标题旁显示消耗的 tokens">
</picture>
<br><sub>一句话生成图纸</sub>
</td>
</tr>
<tr>
<td width="50%" align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/Teloi/dsh-pindou/v0.3.0/docs/assets/screens/screen-picture-dark.png">
<img src="https://raw.githubusercontent.com/Teloi/dsh-pindou/v0.3.0/docs/assets/screens/screen-picture-light.png" width="100%" alt="图片转图纸:一张草莓图片转成 16×16 图纸预览,下方是尺寸、颜色数、抖动、去掉背景的选项">
</picture>
<br><sub>图片转图纸,全程在本机</sub>
</td>
<td width="50%" align="center">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/Teloi/dsh-pindou/v0.3.0/docs/assets/screens/screen-works-dark.png">
<img src="https://raw.githubusercontent.com/Teloi/dsh-pindou/v0.3.0/docs/assets/screens/screen-works-light.png" width="100%" alt="我的作品:按月份排列的作品墙,有幽灵、小花、樱桃、星星、鲸鱼、蘑菇、橘猫、爱心">
</picture>
<br><sub>作品墙</sub>
</td>
</tr>
</table>
<sub>截图跟随你的 GitHub 主题显示浅色或深色版本。</sub>
安装
需要 DSH 0.2.1-rc.3 或更高版本(package.json 的 engines.dsh 为 >=0.2.1-rc.3)。桌面客户端自带的 0.2.1-rc.3、npm 上的 0.2.1-rc.5 和之后的版本都满足。版本更低时 DSH 会拒绝安装,提示 is incompatible with dsh …,不会装任何东西。
插件只有 Web 界面,可以装进 DSH 的 Web 端和桌面客户端。TUI、ACP 这类没有 Web 界面的 profile 不支持。不需要 allowBuilds:仓库里已经提交了构建好的 lib/,也没有任何安装脚本。
Web
npx @deepseek-ai/dsh plugin --profile web add github:Teloi/dsh-pindou
然后重启 dsh --profile web。确认生效:
npx @deepseek-ai/dsh plugin --profile web list的列表里有dsh-pindou。- 打开 Web 页面,会话标题栏右侧出现豆子按钮。
也可以不用命令行,在 Web 侧栏的插件页里点添加插件 → 安装第三方插件,填 github:Teloi/dsh-pindou(界面名称以 DSH 0.2.1-rc.3 为准,0.2.2 相同,下同)。
桌面客户端
桌面客户端(macOS、Windows)有自己的 profile,和 Web 端分开,要单独安装:
- 在客户端里装:在侧栏打开插件,点添加插件 → 安装第三方插件,填
github:Teloi/dsh-pindou。页面提示需要重启时,重启客户端。 - 用客户端自带的
dsh命令装:先在应用菜单的管理 dsh 命令…里安装命令。客户端至少要打开过一次,然后完全退出,再运行:
dsh plugin --profile desktop add github:Teloi/dsh-pindou
确认生效:插件页的已安装插件里出现本插件,会话标题栏右侧出现豆子按钮。
<details>
<summary>桌面 profile 的位置、npm 版 <code>dsh</code> 报错怎么办</summary>
桌面 profile 在 $DSH_HOME/profiles/desktop;默认 macOS 是 ~/.dsh/profiles/desktop,Windows 是 %USERPROFILE%\.dsh\profiles\desktop。用 npm 装的 dsh 不能改它:npx @deepseek-ai/dsh plugin --profile desktop … 会直接报错 profile "desktop" is managed exclusively by the Electron application。如果终端里的 dsh 是 npm 装的那个,
…(truncated)
以上内容来自 npm 上的 README,我们只做格式化,不改内容。
版本
npm 上共发布:3,最后更新 2026-11-02