dsh-mercury-diffusion

Plays Inception Mercury's diffusion (denoising) stream live in the dsh Web UI answer bubble: for routes that support it, the request is re-sent with `diffusing: true` and the real frames are replayed from noise to final text, while only the converged answer reaches the session log. Support is detected per provider/model with a probe that is rejected before any token is generated, a floating per-model toggle turns it on, and attachments, auxiliary calls or unsupported routes fall back to the original adapter. Replaces the assistant-message renderer for all models while enabled.

Overview

Plays Inception Mercury's diffusion (denoising) stream live in the dsh Web UI answer bubble: for routes that support it, the request is re-sent with `diffusing: true` and the real frames are replayed from noise to final text, while only the converged answer reaches the session log. Support is detected per provider/model with a probe that is rejected before any token is generated, a floating per-model toggle turns it on, and attachments, auxiliary calls or unsupported routes fall back to the original adapter. Replaces the assistant-message renderer for all models while enabled.

Installation

Install from npm

dsh plugin --profile web add dsh-mercury-diffusion

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:TonyWu2333/dsh-mercury-diffusion

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.