DeepSeek Harness Plugin

Cerbur/clutch-dsh#clutch-dsh-fireworks

Stars ★ 34 Downloads (30d) 1,227 Category Just for Fun Added 2026-08-30 npm @cerbur/clutch-dsh-fireworks

Adds a celebratory fireworks overlay to the DSH Web UI through a happy_fireworks agent tool.

Install

# from npm (prebuilt)

dsh plugin --profile web add @cerbur/clutch-dsh-fireworks

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

dsh plugin --profile web add github:Cerbur/clutch-dsh#path:/packages/clutch-dsh-fireworks

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

English | 简体中文

@cerbur/clutch-dsh-fireworks

@cerbur/clutch-dsh-fireworks adds a short celebration overlay to the DSH Web UI. An agent can call happy_fireworks after a meaningful milestone, optionally with a brief message, and the current conversation shows a burst of emoji fireworks.

The plugin is an additive DSH extension. It registers its own tool and Web UI overlay without modifying DSH source code or changing conversation history.

Installation

Install from npm

With an installed DSH CLI:

dsh plugin --profile web add @cerbur/clutch-dsh-fireworks
dsh web

When using a DeepSeek Harness source checkout without a standalone dsh command, use the equivalent pnpm dsh form.

Install from a local checkout

Build the package and the DSH source checkout, then add the package by absolute path:

cd /absolute/path/to/clutch-dsh
pnpm install
pnpm --filter @cerbur/clutch-dsh-fireworks build

cd /absolute/path/to/deepseek-harness
pnpm install
pnpm run build
pnpm dsh plugin --profile web add /absolute/path/to/clutch-dsh/packages/clutch-dsh-fireworks
pnpm dsh web

The generated lib/ directory is not committed, so use this built local checkout flow rather than installing the package from a raw github: path. Re-run the absolute-path install command after changing package.json or cordis.patch.yml.

Features

Feature Preview What it does
Automatic milestone celebrations The bundled guidance encourages an agent to call happy_fireworks after finishing a design or plan, completing and verifying a feature, resolving a complex bug, or passing full verification. Routine file reads and isolated checks are not milestones.
Fireworks overlay A successful call displays a short, click-through overlay over the selected DSH conversation and can show the optional celebration message.
Safe replay behavior — Failed or cancelled calls stay quiet. Opening a Session, refreshing the page, or switching Sessions does not replay an old celebration.

Usage

Celebrate a meaningful milestone

After installation, the agent sees guidance for the happy_fireworks tool. It may use the tool in a concluding turn when work reaches a meaningful milestone, such as a finished design, verified feature, resolved complex bug, or complete refactor verification.

The tool is not intended for routine intermediate actions, including reading a file, inspecting Git status, or running one isolated check.

Manual testing

You can explicitly ask an agent to test the overlay:

After a meaningful milestone, call happy_fireworks with:
{"message":"The fireworks MVP is ready to test!"}

A successful call appears in the conversation and plays the overlay for a few seconds. The optional message is trimmed and limited to a short banner. Programmatic tool-call dispatches are supported as well as direct top-level tool results.

Requirements

Component Requirement
DSH A Web profile providing the DSH Session, Session Projection, Tools, UI Renderer, UI Session, and UI Slots services. Peer ranges require >=0.1.7-rc.1; compatible stable releases are accepted by the same ranges.
Cordis @deepseek-ai/cordis 4.0.1 or a compatible 4.x version allowed by the package peer range; DSH 0.1.7-rc.2 uses 4.0.4.
Browser DSH Web UI with the plugin's Web client bundle loaded.

Behavior and limitations

  • The overlay lasts for a short burst and renders deterministic emoji visuals for each successful signal. The optional message is normalized to a maximum of 120 characters.
  • The plugin reacts only to successful fireworks results. Errors and cancellations do not show an overlay, and the first historical signal observed when a Session opens is intentionally silent.
  • Switching Sessions clears the active overlay. A new signal must have a new tool-call identity before it can play again.
  • When the host exposes DSH's systemPrompt service, the plugin adds the milestone guidance used for autonomous calls. If that optional service is absent, the tool remains available but the guidance section is not added.
  • The package contributes its own Cordis bundle and Web client metadata; it does not patch DSH source code or persist a copy of the conversation.

Development

Build, type-check, and test the package from the workspace root:

pnpm --filter @cerbur/clutch-dsh-fireworks typecheck
pnpm --filter @cerbur/clutch-dsh-fireworks build
pnpm --filter @cerbur/clutch-dsh-fireworks test

Package release parameters and source-install constraints are documented in docs/RELEASING.md.

Uninstall

With the DSH CLI:

dsh plugin --profile web remove @cerbur/clutch-dsh-fireworks

From a DeepSeek Harness checkout, use pnpm dsh plugin --profile web remove with the same package name.

Friendly Links

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.