rg2304luyue/dsh-pa

A WorkBuddy-style enhance button in the DSH composer that rewrites a rough prompt into one that states deliverable, location and constraints.

Good prompts say what to deliver, where it belongs, what must not break and how to tell it is done; drafts usually imply those instead of stating them. The plugin adds an enhance control immediately left of the model selector and sends the draft through a low-temperature rewrite that fills in the implied requirements and ending expectation, leaving your intent intact rather than replacing it. The README is unusually explicit about the security model for a plugin that spends your quota: a socket fence rejects non-loopback peers, a required x-dsh-pa header stops an unrelated page from spending your tokens, and an origin/site fence rejects cross-site requests — with documented error codes for each.

Web UI Enhancements ★ 0
View on GitHub ↗

Install

dsh plugin --profile desktop add github:rg2304luyue/dsh-pa

The README's install line, GitHub form, into the desktop profile. The bundle has two halves — a Host half declaring a hand-written Config schema and a Browser half registering the diamond into the composer — with no package dependencies and no build step, which is why the install is a single add.

Compatibility

The README declares dsh >= 0.2.1-rc.1 < 0.3.0-0 — a range it says reflects what has actually been exercised — and reports a boot verification on 0.2.1-rc.2 in the Electron desktop app on Windows 11. Node >= 20 is needed only for the offline smoke scripts.

Details

Alternatives

peiyucn/dsh-sparrow · ruby1304/dsh-password-shield · longyu065/dsh-desktop

More plugins in Web UI Enhancements

Browse more in Web UI Enhancements

Guides for Web UI Enhancements plugins