DeepSeek Harness Plugin

koishi-fumo-code/dsh-whale-paywall

Stars ★ 0 Category Just for Fun Added 2026-11-20

Simulated paywall for DSH: starting a session, archiving, downloading a plugin, opening Settings, enabling a plugin, web search and switching models each cost whale coins, with a package mall inside Settings. No real money is involved. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.

Install

# from a prebuilt release tarball

dsh plugin --profile web add "https://github.com/koishi-fumo-code/dsh-whale-paywall/releases/latest/download/dsh-whale-paywall.tgz"

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

dsh plugin --profile web add github:koishi-fumo-code/dsh-whale-paywall

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

A simulated paywall for DeepSeek Harness. It charges "whale coins" for actions you normally take for granted. No real money is involved — it only shows a dialog.

Works in all 8 UI languages DSH ships (Chinese, English, Japanese, German, Spanish, French, Portuguese, Russian).

What it charges

Action Price
Starting a session 6 coins
Archiving a session 1 coin
Downloading a plugin 12 coins
Opening Settings 1 coin
Enabling a plugin 1 coin
Web search (web_search / web_fetch) 1 coin
Switching models 1 coin

Spending order: remaining uses first, then coins. Blocked only when both run out.

You start with 50 coins. Every action opens the dialog — even when you can afford it. That is the joke, not a bug.

The mall

Settings → Mall (last entry in the nav).

Package Price Contents
Starter 16 coins 3 sessions · 9 archives · 1 plugin download · 3 searches · 1 model switch · 1 plugin enable
Session pack 30 coins 6 sessions
Archive pack 6 coins 10 archives
Plugin pack 60 coins 10 plugin downloads

The mall shows your balance and the remaining uses for each of the seven actions. When a count hits zero the cell turns red and shows the per-use price.

It will not lock you out

The dialog is a full-screen layer, so it is built so it cannot trap you:

  • The backdrop is pointer-events: none — only the card is clickable, so the page underneath stays usable
  • A React error boundary closes it if the card ever fails to render
  • Any dialog auto-closes after 25 seconds, and Esc closes it too
  • When the balance cannot be read, it allows the action rather than blocking everything

Only entering Settings is charged

Once you are inside Settings, clicking around — switching to the mall, toggling options, browsing models — costs nothing. Only the act of opening Settings costs 1 coin.

Where the data lives

$DSH_HOME/whale-paywall.wallet.json. Both halves read and write the same file. Delete it and you are back to the initial 50 coins / 0 uses.

Install

From the plugin market: search for dsh-whale-paywall.

From this repo: copy the folder anywhere, then use Plugins → Add plugin and point it at the directory. No configuration files need editing — the bundled cordis.patch.yml inserts itself.

Uninstall

Disable or remove the plugin. All charges and dialogs disappear immediately; the wallet file stays where it is.

License

MIT

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.