DeepSeek Harness Plugin

shinjiyu/holdem#dsh-plugin

Stars ★ 12 Category Just for Fun Added 2026-08-19

Host tools for Texas Hold'em on kuroneko.chat — seat token, hosted/manual control, legal actions, and act loop for one GitHub identity.

Install

# from a prebuilt release tarball

dsh plugin --profile web add "https://github.com/shinjiyu/holdem/releases/download/v0.1.1/shinjiyu-dsh-holdem-0.1.0.tgz"

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

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

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

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

  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

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.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.