Preface¶
When using DeepSeek Harness (DSH) to run agents for coding, tasks often take tens of seconds, leaving a gap in the interface. The community plugin dsh-plugin-tetris (maintainer zlh124) embeds a game of Tetris into the DSH Web interface: the game board can appear automatically when the agent starts working, and there is a persistent entry point in the bottom right corner, eliminating the need to switch to another window to pass the time. The following introduces what it is, what it can do, and how to install and play it.
What is this¶
dsh-plugin-tetris is a client-side plugin for the DSH Web GUI (npm package name dsh-plugin-tetris, current version 0.1.0). The description matches the repository: Play Tetris in the DeepSeek Harness Web GUI while the agent works.
The game board is attached to DSH’s framework-level floating layer; it appears automatically when the agent starts working. There is a circular T-shaped block icon in the bottom right corner; clicking it opens the board, which pops up from the icon’s position.
The rules and game feel are a line-by-line TypeScript port of the author’s other project, tetris-terminal (Python terminal version). The README states that capabilities consistent with the terminal version include: 7-bag, SRS Wall Kicks, Hold, Ghost, T-Spin, B2B, line clear animations, while retaining some implementation details from the terminal version.
In the SkillHub directory, it is categorized as Fun/Ambient. The repository uses the MIT license; the engine logic is noted as originating from tetris-terminal (MIT, jayzhu).
Core Features¶
Interface and Triggers¶
- Floating layer game panel, integrated with the DSH Web framework.
- Automatically displays the panel when the agent starts working; the icon in the bottom right corner can be clicked to open it again at any time.
Game Rules and Controls¶
To control the game, you must first click the board to gain keyboard focus; once focused, the board will have a green border. The title bar provides a “Focus Linkage” slider: it controls whether the game auto-pauses on focus loss and whether focus is returned to the game after the conversation ends.
| Key | Action |
|---|---|
← → / A D |
Move Left / Right |
↑ / W / X |
Rotate Clockwise |
Z |
Rotate Counter-Clockwise |
↓ / S |
Soft Drop |
Space |
Hard Drop |
C |
Hold |
P |
Pause / Resume |
Installation and Activation¶
The plugin only declares the web platform (dsh.client.platform is web in package.json), so you must use --profile web during installation. The runtime environment requires Node.js >= 22 (see the engines field).
The installation command provided in the official README is as follows:
dsh plugin --profile web add dsh-plugin-tetris
No page refresh is needed after installation. To uninstall:
dsh plugin --profile web remove dsh-plugin-tetris
For local development from source, run the build in the repository directory and then link:
npm install && npm run build
dsh plugin --profile web add link:"$PWD"
The repository has committed build artifacts lib/, and the README also mentions installation from git (replace <you> with your actual username or organization):
dsh plugin --profile web add git+https://github.com/<you>/dsh-plugin-tetris.git
Typical Usage¶
- Install
dsh-plugin-tetrisfor the web profile using the command above. - Start an agent task in the DSH Web GUI; the panel will appear automatically according to plugin logic, or you can click the T-shaped icon in the bottom right corner to open it.
- Click the board to gain focus, then use the keys in the table above to operate; adjust the “Focus Linkage” in the title bar as needed to avoid accidental touches when switching back to the conversation or if you prefer the game to pause immediately upon losing focus.
Applicable Scenarios and Notes¶
Who it’s for: Developers who frequently wait for agents in DSH Web and want to stay within the same interface during idle gaps.
Permissions and Security: The plugin is loaded with the current dsh process and profile, and its behavior is consistent with the DSH environment you are running locally. Before installing, it is recommended to review the GitHub repository source code and the MIT license to ensure it meets your usage and compliance requirements. The DSH community plugin directory (such as SkillHub) is an independent site and has no official affiliation with DeepSeek or High-Flyer; “Everything is a plugin” is DSH’s ecosystem philosophy. This article introduces a community-maintained fun plugin, not an official app store entry.
Conclusion¶
dsh-plugin-tetris embeds a Tetris engine with the same origin as tetris-terminal into the DSH Web floating layer, using auto-popping and the bottom-right entry point to fill the waiting periods during agent execution. Directory page and source code: