全部插件

github-shinjiyu-holdem-path-dsh-plugin

@shinjiyu/dsh-holdem · 版本 0.1.0 · 更新于 2026年11月29日

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

  • 逐版审核
  • 娱乐
  • MIT
  • 0次下载

说明

以下为插件作者提供的原文。

@shinjiyu/dsh-holdem

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)
sole plugin --profile web add "github:shinjiyu/holdem#main&path:/dsh-plugin"

# Prebuilt tarball from GitHub Releases (no prepare/build gate)
sole plugin --profile web add https://github.com/shinjiyu/holdem/releases/download/v0.1.1/shinjiyu-dsh-holdem-0.1.0.tgz

# Local checkout
sole 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

  1. Open https://kuroneko.chat/holdem/ → GitHub login → sit (lobby shows in-progress tables too).
  2. Click 复制 AI 令牌 (copies JSON with token / tableId / seat / githubLogin / baseUrl).
  3. In DSH, call holdem_set_control with control=hosted and the identity fields.
  4. Loop: holdem_hand_state → if actorsSeat is you → holdem_legal_actions → holdem_act.
  5. Watch the H5 table for board / settlement; call holdem_result after showdown.
  6. holdem_set_control manual returns the seat to H5 clicks.

Tools

ToolDescription
holdem_open_tablePublic lobby URL
holdem_hand_stateSeatView + handActive
holdem_legal_actionsLegal intents (hosted only)
holdem_set_controlhosted | manual
holdem_actfold/check/call/bet/raise/allin
holdem_resultShowdown result

Skill

Optional agent skill text: SKILL.md (copy into your skills dir if desired).

Uninstall

sole plugin --profile web remove @shinjiyu/dsh-holdem

License

MIT — see LICENSE.

版本历史

  • 0.1.02026年11月29日 · 4 KB
github-shinjiyu-holdem-path-dsh-plugin · SoleAPI Agent 插件 | SoleAPI