DSH 插件市场DeepSeek Harness 社区插件目录

dsh-prompt-enhance

已验证 会话与消息 ★ 34 0.3.4

Prompt enhancement for the dsh web GUI: rewrite the composer draft into a well-structured prompt through the harness LLM service, preview the before/after, then fill back, copy, or undo. Original draft is always preserved.

一句话定位

Prompt enhancement for the dsh web GUI: rewrite the composer draft into a well-structured prompt through the harness LLM service, preview the before/after, then fill back, copy, or undo. Original draft is always preserved.

安装方式

在 DSH 的 web profile 中执行下面的命令;装完刷新页面即可。

$ dsh plugin --profile web add dsh-prompt-enhance@0.3.4

兼容的 DSH 版本

>=0.1.1-rc.2

作者与热度

rongxingda · ★ 34 · 更新于 2026-11-03

关于这个插件

dsh-prompt-enhance

Prompt enhancement for the DeepSeek Harness web GUI — one click turns a rough composer draft into a well-structured prompt: explicit role and goal, executable steps, output format, acceptance criteria, and edge cases. Your intent is never changed, nothing is fabricated, and the original draft is always preserved.

English | 简体中文 Why

Good agent prompts state *who the model should be*, *what to deliver*, *in what format*, and *how success is judged*. Most drafts don't. This plugin adds a WorkBuddy-style "enhance" affordance to the dsh composer: it sends your draft through a low-temperature rewrite pass (via the harness's own LLM service), shows the result next to the original, and lets you apply, copy, or discard it. Undo is one click away, and every failure path leaves your draft exactly as you typed it. Features How it works

The plugin is one npm package with two halves, following the dsh plugin conventions: Host half (exports ".", Node): declares the prompt-enhance settings schema (schemastery, every field marked .volatile() — the host's describe() drops any entry with no volatile field, so that mark is both what makes the config page appear and the contract for "edits apply to the next request"; the plugin re-reads it on every request instead of caching the boot snapshot), registers the POST /prompt-enhance/enhance route on the shared webserver (loopback-fenced, body-capped), and the /enhance slash command. The model call goes through ctx.llm.stream with a normalized output pass — the same auxiliary-call discipline the harness applies to session titles: deadline + caller cancellation rechecked during and after the stream, terminal-finish validation, tool-call rejection. Browser half (exports "./client"): registers the enhance button into the conversation.input.right slot and the undo bar into conversation.input.dock, binds a live mirror of the settings namespace, and installs the global shortcut. All copy is localized (zh/en) through the harness locale system. Requir

From npm (recommended):

From GitHub (the built lib/ is committed, so no local build happens):

From a local checkout (for development — changes rebuild + restart take effect):

Uninstall:

相似插件