shinjiyu/holdem

插件Plugin ⭐ 8 代理编排Agent Orchestration

Embeddable NLHE engine for Cursor / DeepSeek Harness / Codex / CLI — portable ADL + multi-agent kernel

项目介绍Project Overview

holdem 是 DSH 平台的无限制德州扑克插件,实现人控与 AI 托管互斥的同账号多端能力。核心能力是通过 MCP 接口 holdem_set_controlholdem_act,让 AI 接入公开大厅桌面(kuroneko.chat/holdem/)并自动跟注。适用于希望把自托管 AI 代理接入德州对战场、批量管理空桌入座的场景。注意:插件无 UI、无宿主 SDK,必须配合官方 H5 端读取令牌;人控与 AI 托管互斥,同一 GitHub 帐号同一时刻只能选其一。

holdem is a DSH plugin for unlimit-style Texas Hold'em that lets the same GitHub account play either manually or via AI hosting, exclusively. Its core capability exposes MCP tools holdem_set_control and holdem_act, letting a hosted AI grab a token from the public H5 lobby at kuroneko.chat/holdem/ and play hands automatically. Use it when wiring self-hosted AI agents into the poker hall, auto-filling empty seats, or running unattended tournaments. Caveat: the plugin has no UI and no host SDK; it depends on the H5 client for token issuance, and manual/AI modes are mutually exclusive per account.

或使用命令行安装(适合开发者)Or use CLI install (for developers)

命令行安装CLI Install

dsh plugin --profile web add "github:shinjiyu/holdem#main&path:/dsh-plugin"

shinjiyu/holdem 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

holdem

无限制德州引擎:同一 GitHub 帐号的座位,人控或 AI 托管(互斥)。 H5 给人点;MCP/DSH 给自己的 AI。

  • 公开桌面:https://kuroneko.chat/holdem/
  • 玩法插件无 UI、无宿主 SDK。
  • hosts/web = 人控 H5。
  • hosts/agent = 托管通道(桌令牌 + /api/agent/*)。
  • DSH 插件dsh-plugin/@shinjiyu/dsh-holdem

细节:doc/design/HOST-EMBED.md · DSH 安装:dsh-plugin/README.md

DSH 插件(Host)

# 推荐:GitHub 子目录(pnpm path 语法;已含预编译 lib/)
dsh plugin --profile web add "github:shinjiyu/holdem#main&path:/dsh-plugin"

# 或钉死 commit(dsh.pub 安装器同格式)
dsh plugin --profile web add "https://github.com/shinjiyu/holdem.git#099dd37&path:/dsh-plugin"

# 预构建包(免源码 prepare)
dsh plugin --profile web add https://github.com/shinjiyu/holdem/releases/download/v0.1.1/shinjiyu-dsh-holdem-0.1.0.tgz

源码包:https://github.com/shinjiyu/holdem/tree/main/dsh-plugin

桌上点 复制 AI 令牌 → DSH 调 holdem_set_control(hosted)holdem_act 循环。

大厅会列出进行中 / 等人 / 空桌(含街道、底池、座位头像),有空位即可入座。

快速检查

py scripts/adl_check.py
npm install
npm test

本机 git 用 hutao。默认角色 lead,见 AGENTS.md

上一个 Prev dsh-plugin-msg-nav 下一个 Next dsh-whale-meter