CochraneK/dsh-gate-game-plugin0

dsh-gate-game

DSH Web 侧边栏锁屏与吃 Logo 趣味小游戏插件。

AI 分析

核心用途是为 DSH 网页端提供一键锁屏功能,并在锁屏界面提供解压的互动小游戏。适合在工作间隙需要临时锁屏或趣味放松的用户。

包名
dsh-gate-game
版本
0.1.0
许可证
MIT
最近更新
2026年8月24日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:CochraneK/dsh-gate-game-plugin

dsh-gate-game

A standard Cordis client plugin for DeepSeek Harness that adds a logo-eating mini-game and a one-click lock button to the web UI.

What it does

  • Lock button — a DeepSeek-logo button appears in the sidebar footer. Click it to lock the screen with a full-screen overlay.
  • Logo-eating game — while locked, small DeepSeek logos fall from the top. Move your mouse (a big glowing logo) to eat them. The more you eat, the bigger you grow — until you burst.
  • Unlock — click the unlock button to dismiss the overlay and return to your session.

This is the plugin version (game + lock only). The separate injection-based tool adds a password gate that blocks the app before it loads; that cannot be done from a Cordis plugin, which runs inside the already-loaded app.

Install

dsh plugin --profile web add github:CochraneK/dsh-gate-game-plugin

Or from a local checkout:

dsh plugin --profile web add ./dsh-gate-game

Then restart dsh web. The lock button appears in the sidebar footer.

Requirements

  • DeepSeek Harness v0.1.0-rc.7 (developer preview)
  • Web profile (dsh web)

How it works

This is a standard Cordis client plugin:

  • package.json declares dsh.client (platform: "web") and dsh.bundle.patch, so dsh plugin add registers it as a profile layer and the module registry auto-scans it into window.__DSH_BOOT__.
  • lib/index.js — node half (empty apply; pure UI plugin).
  • lib/client.js — browser half, registered via window.__ModuleLoader__.load. It injects CSS and registers a LockButton component into the sidebar.footer.action slot.
  • cordis.patch.yml — inserts the node-half entry.

No app code is modified; the plugin mounts through the official slot system.

License

MIT