在 DSH Web UI 中加入本地六人桌德州扑克,支持完整下注轮次、边池结算、Token 筹码持久化与 Agent 状态显示。
安装
# Release 预构建包
dsh plugin --profile web add "https://github.com/leeclouddragon/dsh-all-in/releases/download/v0.1.1/dsh-all-in-0.1.1.tgz"
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:leeclouddragon/dsh-all-in
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
该插件的 README 只有英文版本。
Your agent is thinking. You're all in.
Play a fast, local-only six-max Texas Hold'em hand while DeepSeek Harness is thinking.

dsh-all-in adds an All In action to the Harness sidebar and opens a full-screen poker table through the supported shell.overlay slot. The active agent keeps running underneath it. The game never writes to the conversation, calls a model, or uses a network connection.
Entertainment only. Tokens have no monetary value. There are no deposits, withdrawals, purchases, accounts, or multiplayer wagering.
What works
- Six seats: one human and five local bots
- Monte Carlo bot equity with pot-odds, opponent-count, position, stack-to-pot, and personality-aware decisions
- Persistent Casual, Competitive, Shark-table, and experimental solver-style GTO opponent levels, adjustable from the table header
- Occasional action-aware table talk written for each bot personality
- Pre-flop, flop, turn, river, showdown
- Fold, check, call, pot-sized raise, and all-in
- Custom raise-to sizing with Min, 1/2-pot, 3/4-pot, Pot, Max, slider, and direct amount entry
- 5M Token starting stacks with 25K/50K blinds
- Seven-card hand evaluation and split pots
- Side-pot settlement for unequal all-in contributions
- Persistent local Token stacks across page reloads
- Live Agent thinking / Agent idle status
- English and Simplified Chinese UI
- Responsive desktop and narrow-window layouts
Install
From the prebuilt GitHub Release:
dsh plugin --profile web add https://github.com/leeclouddragon/dsh-all-in/releases/download/v0.1.1/dsh-all-in-0.1.1.tgz
dsh --profile web
From npm after the first npm release:
dsh plugin --profile web add dsh-all-in
dsh --profile web
From a local checkout:
git clone https://github.com/leeclouddragon/dsh-all-in.git
cd dsh-all-in
pnpm install
pnpm check
dsh plugin --profile web add "$PWD"
dsh --profile web
For a GitHub source install, DeepSeek Harness uses pnpm's git dependency flow. The package has a prepare script that builds lib/; pnpm 10+ requires users to allow that build explicitly. Publishing prebuilt artifacts to npm avoids that prompt.
Development
pnpm install
pnpm check
The package has two halves:
lib/index.js: a no-op host plugin that activates the bundlelib/client.js: a browser bundle registeringsidebar.footer.actionandshell.overlay
The poker engine is independent of React and exported as dsh-all-in/engine. Bot decisions estimate equity from only their own hole cards and the public board, so simulations never inspect an opponent's hidden cards or the real deck order.
Why this is a separate repository
DeepSeek Harness is currently in developer preview and its contribution guide says external pull requests are not accepted yet. The official ecosystem path is an independent plugin repository tagged with the GitHub topic dsh-plugin.
License
MIT
链接
同类插件
PC2005-cloud/dsh-pet#dsh-pet★ 6553
DSH Web UI 桌面宠物,Windows / macOS / Linux 三端可用:浏览器浮层或透明置顶桌面窗口,106 个透明动画、带挤压与粒子的甩抛反弹物理、随会话事件实时联动的工作状态气泡、碎碎念与带持久记忆的对话、余额展示、表情包配图、多开同屏,并支持直接放入的自定义动画与宠物种类(pet pack)。
flizzywine/dsh-tavern#dsh-tavern★ 1688
基于 DeepSeek Harness 的 Agent 酒馆,兼容 SillyTavern 生态,人物卡导入即玩,支持多种模型和手机游玩。桌面端从「设置 → 酒馆启动器」安装酒馆。 基于 2NF/dsh-profile-bridge(MIT)改造的启动器:把酒馆下载到独立 DSH 配置并在重启时切换。与上游插件不能同装——两者都占用 /profile-bridge 通道。
Alterssss/dsh-bili-whale★ 1089
一条按自己作息过日子的 B 站插件:宿主里每 60 秒一次心跳,在设定的作息窗口里随机挑一个时刻叫醒专用会话(今天不想看是按概率跳过),再交给自带的 38 个子命令——信息流、字幕、弹幕、评论、ffmpeg 抽帧、两本日记。每天最多发 N 条评论/动态并 @ 主人(默认 3,按配额账本计数,撞到限流或验证码就停手)。同时轮询评论回复、私信和直播间弹幕;除主人以外的回复先入队,等主人在设置页批准。设置 → 养鱼 写 ~/.dsh/bili-whale.config.json;cookie 单独在 ~/.bili-ai/credentials.json,只写不回显。HTTP 路由只认回环地址并过 DSH 信任栅栏。抽帧需要 Node 18+ 与 ffmpeg。
Nagi-ovo/dsh-ads★ 735
2005 年中文站点风格的整活广告插件:侧栏广告/信息流/角落弹窗 + 假关闭叉,素材全虚构。
yyh-001/dsh-meme★ 591
聊天表情包:纯文本斗图、情绪主动发图、像 QQ/微信 一样发图、AI 自动学图、自定义表情包。
vlln/whale-girl★ 412
桌面宠物(QQ 宠物形态):右下角悬浮、可拖拽/投喂/玩耍。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。