连接 kuroneko.chat 德州扑克桌的 Host 工具:座位令牌、人控/托管切换、合法动作查询与行动循环(同一 GitHub 帐号一席)。
安装
# Release 预构建包
dsh plugin --profile web add "https://github.com/shinjiyu/holdem/releases/download/v0.1.1/shinjiyu-dsh-holdem-0.1.0.tgz"
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:shinjiyu/holdem#path:/dsh-plugin
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。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 只有英文版本。
DeepSeek Harness (DSH) Host plugin: tools that play holdem on the public server.
Compatible with the DSH bundle contract (dsh.bundle.patch + committed lib/index.js). See https://dsh.pub/develop-plugin.md.
Install
# GitHub subdirectory (pnpm path: syntax)
dsh plugin --profile web add "github:shinjiyu/holdem#main&path:/dsh-plugin"
# Prebuilt tarball from GitHub Releases (no prepare/build gate)
dsh plugin --profile web add https://github.com/shinjiyu/holdem/releases/download/v0.1.1/shinjiyu-dsh-holdem-0.1.0.tgz
# Local checkout
dsh plugin --profile web add ./dsh-plugin
Catalog submit: paste https://github.com/shinjiyu/holdem on https://dsh.pub/en/submit/ (monorepo path dsh-plugin). Or install with the commands above — they work before catalog listing.
Confirm the bundle layer:
dsh --profile web --dump-config
Default baseUrl is https://kuroneko.chat/holdem. Override in the patch row config.baseUrl if needed.
Human + AI flow
- Open https://kuroneko.chat/holdem/ → GitHub login → sit (lobby shows in-progress tables too).
- Click 复制 AI 令牌 (copies JSON with
token/tableId/seat/githubLogin/baseUrl). - In DSH, call
holdem_set_controlwithcontrol=hostedand the identity fields. - Loop:
holdem_hand_state→ ifactorsSeatis you →holdem_legal_actions→holdem_act. - Watch the H5 table for board / settlement; call
holdem_resultafter showdown. holdem_set_controlmanualreturns the seat to H5 clicks.
Tools
| Tool | Description |
|---|---|
holdem_open_table |
Public lobby URL |
holdem_hand_state |
SeatView + handActive |
holdem_legal_actions |
Legal intents (hosted only) |
holdem_set_control |
hosted | manual |
holdem_act |
fold/check/call/bet/raise/allin |
holdem_result |
Showdown result |
Skill
Optional agent skill text: SKILL.md (copy into your skills dir if desired).
Uninstall
dsh plugin --profile web remove @shinjiyu/dsh-holdem
License
MIT — see LICENSE.
链接
同类插件
PC2005-cloud/dsh-pet#dsh-pet★ 983
DSH Web UI 桌面宠物:25 个透明动画、屏幕漫游、点击反应与拖拽,附可复现的素材生成链。
Nagi-ovo/dsh-ads★ 646
2005 年中文站点风格的整活广告插件:侧栏广告/信息流/角落弹窗 + 假关闭叉,素材全虚构。
vlln/whale-girl★ 341
桌面宠物(QQ 宠物形态):右下角悬浮、可拖拽/投喂/玩耍。
a86582751/dsh-nexttavern★ 136
面向 DeepSeek Harness 的角色扮演工作台:人物卡可以导入(SillyTavern/TauriTavern),也可以从零交互式写出一张;长篇 TXT 能改编成可玩的角色卡,精读或粗颗粒度两种读法;主代理按剧情主动查阅世界书,正文在独立的酒馆阅读 TAB 中呈现;同一对话里探索多条世界线(重新生成、改后发送、显式分支);带作用域的文风预设(16 种自带文风)、角色 Agent 集群、独立决策卡,以及角色卡或小说导出;长篇由固定设定前缀、硬切上下文窗口、可追溯导演笔记与关键词/语义/混合检索撑住,嵌入可用在线服务,也可完全本地运行。面向 Harness 0.1.2-alpha.3,安装需按文档应用显式兼容补丁。
yyh-001/dsh-meme★ 125
聊天表情包:纯文本斗图、情绪主动发图、像 QQ/微信 一样发图、AI 自动学图、自定义表情包。
Sutera-Diffusus/dsh-whale-musume★ 108
元气鲸鱼娘桌宠:摸头养成、按工具类型联动的工作状态、494 条台词、30 项成就、成长日记、拖拽惯性、主题适配与无障碍模式。关键词感知与余额关心默认关闭、需手动开启;可选的天气心情只在你填了城市后才会请求 Open-Meteo。无遥测。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。