dsh-prompt-enhancement: Enhancing Prompt Drafts in DSH Web GUI
dsh-prompt-enhancement is an independent plugin for the DeepSeek Harness (DSH) Web GUI, designed to optimize user-input prompt drafts. The plugin registers a "Prompt Enhancement" button next to the input box; upon clicking, it invokes the currently selected model via the host API to rewrite and expand the draft, supplementing context, constraints, and output formats. The enhanced results are not sent automatically but are first displayed in a popup. Users can edit, copy, or confirm them to replace the original input field, thereby avoiding session interruption or deviation from expectations. The plugin features an offline fallback mechanism; it falls back to a local intent rewriting engine when the LLM or network is unavailable, and uses built-in templates when GitHub is unreachable. Installation requires obtaining the source code, executing specific commands to restart DSH, and enabling the plugin in settings. The plugin supports an independent toggle switch, persistent state storage, and writes diagnostic information to...
Read More