DSH HUB
首页插件商店插件包社区排行榜资源发布指南
插件源码
返回插件目录

550AW /

550AW/dsh-compute-lock

已验证

A full-screen compute-load overlay that blocks mouse and keyboard input until you unlock it with Ctrl+Alt+B, typing letmeout, or reloading the page.

★ 0 Stars0 Forks0 IssuesN/A 社区评分0 已确认安装
查看 GitHub
README来源: main@0d198ccd

dsh-compute-lock

Repository: https://github.com/550AW/dsh-compute-lock · Version: 1.0.1

The GitHub project is named dsh-compute-lock; the installable bundle name and client module id remain compute-lock (the DSH loader resolves modules by package name).

A DeepSeek Harness plugin that puts a full-screen "the agent is thinking hard" lock screen over the app — and actually holds your keyboard and pointer while it is up.

dsh-compute-lock icon

What it is

This is a joke with a real edge. Toggle it on and DSH's window is covered by a rendering of a heavily loaded runtime: CPU / GPU / VRAM gauges, a scrolling log of imaginary compute steps, and a lock message. The scrim is not a picture — it sets pointer-events: auto, so every click lands on it, and a capture-phase keydown listener on window swallows keyboard input, so the composer underneath receives nothing. Typing goes nowhere.

Nothing on screen tells you how to get out. That is the point.

Getting out

Gesture Effect
Ctrl+Alt+B Toggles the lock, whether it is on or off.
Type letmeout Releases the lock.
Reload the page (F5, or Ctrl+R / Cmd+R) Releases the lock; those shortcuts are deliberately passed through.
The lock button at the sidebar foot Clicking it is the normal toggle; while the lock is up the scrim covers it, so it cannot be reached during the lock.

Esc does not release the lock — while the lock is up, every other key is swallowed. Pressing Ctrl+Alt+R is swallowed too: the reload shortcut only passes through when Alt is not held. To get out, use the hotkey, the passphrase, or a reload.

The locked state is deliberately not persisted: a reload always gives you the app back. There is no way to brick the page.

What it renders

Two surfaces, one store:

  • shell.overlay (order 1000) — the frame-wide lock screen. It renders through a portal into document.body, so it also covers the surfaces the app portals beside #root (Settings, the plugin manager, the drawer, the title bar).
  • sidebar.footer.action — a discreet toggle beside Settings.

The gauges and log lines are deterministic filler driven by elapsed time, not real telemetry. It reads nothing about your machine.

Localisation

Both surfaces are localised through the Client locale service. The overlay ships dictionaries for English (en), Simplified Chinese (zh) and Traditional Chinese (zh-Hant), and it mirrors every locale id the running Client snapshot exposes — the current DSH build ships nine: en, zh, zh-Hant, ja, es, fr, de, ru, pt. Lookup order is exact locale → its base language (zh-Hant → zh) → en; a language the overlay has no copy for therefore reads English. The in-app dictionaries live in client.js; the locale/en.json and locale/zh.json files only carry the plugin-page copy (English and Simplified Chinese).

Install

No dependencies, no build step. Two ways in:

From GitHub — clone or download this repository, or download the dsh-compute-lock-1.0.1.zip release archive and extract it, then ask DSH to install that directory as a bundle.

From a local checkout — in a DSH session:

install the bundle at <path-to-dsh-compute-lock>

The agent calls plugin_manager install_bundle, which links the package into the active profile and applies cordis.patch.yml. Reload the page or restart DSH afterwards for the change to take effect; the lock button then appears beside Settings at the sidebar foot.

Files

index.js            the Host half: an empty apply(), only there to give the bundle a row
client.js           the whole feature: lock screen, toggle, key trap, locale
cordis.patch.yml    bundle patch: inserts the plugin row
package.json        dsh.bundle.patch points at the patch; dsh.client names client.js
locale/en.json      plugin-page copy (English)
locale/zh.json      plugin-page copy (简体中文)
docs/DETAIL.md      longer notes (English)
docs/DETAIL.zh.md   longer notes (繁體中文)
icon.svg            plugin icon

Note on module id

The plugin project (and GitHub repository) is called dsh-compute-lock, but the installable bundle name and the client module id stay compute-lock: package.json names the package compute-lock, client.js registers its lazy factory under id: 'compute-lock', and that id must equal the package name because the DSH loader resolves modules by package name. If you fork this, keep the two in sync.

Validation

This revision was exercised with 70 adversarial cases (10 static and 60 runtime) against a mock React/DOM compatibility layer, fully offline: 61/70 before the 1.0.1 localisation fix, 70/70 after. The harness is internal and is not shipped with the bundle.

Uninstall

Disable or remove the bundle compute-lock in the plugin manager, or reload the page. It keeps no state and writes no files — the lock only ever lived in the page.

Marketplace listing

This plugin is listed in awesome-dsh-plugin under the category ui:

A full-screen compute-load overlay that blocks mouse and keyboard input until you unlock it with Ctrl+Alt+B, by typing letmeout, or with a page reload.

The entry file lives in this repository as dsh-compute-lock.yml so the catalogue text stays reviewable next to the code; the copy submitted upstream is data/plugins/550AW__dsh-compute-lock.yml. Description changes start in that file.

License

MIT. The lock screen traps input in your browser; it does not touch the OS, the host process, or any other window.

DSH HUB

社区维护的 DSH 插件索引。不是 GitHub 或 DeepSeek AI 的官方产品。

社区资源API关于
—/ 5

暂无评分

已验证 DSH bundle

Commit 0d198ccd8067

社区评论

还没有评论,来写第一条。