Preface¶
DeepSeek Harness (DSH) employs a plugin-based architecture. dsh-go-mode is a plugin that adds a Go mode to the DSH client. It provides a full-featured rule engine, five levels of AI difficulty, instructional features, and support for playing against “Jingniang”.
Installation¶
Execute the following command in the command line to install the plugin:
dsh plugin --profile <your-profile> add dsh-go-mode
After installation, refresh the page; a “Go” tab will appear at the top of the session.
Features¶
This plugin includes the following core capabilities:
- Tab Integration: Registers a switchable Go tab within the conversation view (
conversation.view). - Rule Engine: Supports capturing, suicide (illegal moves), Ko, pass, resignation, and territory scoring based on Chinese rules (including 7.5 komi).
- AI & Opponents: Built-in five-difficulty AI (Beginner/Easy/Intermediate/Advanced/Master) and support for “Jingniang” as an Agent opponent.
- Board Sizes: Offers 19x19, 13x13, and 9x9 board options.
- Toolset: Provides 11 tool functions, including
go_state(query status),go_play(move),go_hint(hint),go_review(review), etc. - Mode Preset: Registers the “Go Mode” preset, which can be invoked directly from the mode selector.
Usage¶
- Start a Game: Switch to Go mode and input “Start” or click the interface overlay to begin.
- Play against Jingniang: After making a move, click “Ask Jingniang to Move”. Jingniang will read the board, respond, and provide commentary.
- Conversation Commands:
- “Start a 19x19 game with a 4-stone handicap for me”
- “Review my move 12”
- Tool Calls: Invoke functions like
go_undo(undo move),go_pass(pass), andgo_resign(resign) through conversation commands.
Notes¶
- Restart Required: Changes to the “Go Mode” preset require a restart of the DSH desktop client to take effect.
- License: The project is licensed under the MIT License.
- Dependencies: Requires
@deepseek-ai/cordisandreact. - Self-Check Routes: The plugin provides three self-check routes:
/dsh-go/app: Standalone board page/dsh-go/health: Health check/dsh-go/selftest: Browser-side self-test