dsh-composer-prompt-optimizer: Prompt Optimization and Rollback Within the Input Field
dsh-composer-prompt-optimizer is a DSH client plugin (v0.2.0, MIT licensed) maintained by keshaoqin. It adds persistent "Optimize Prompt / Revert to Original" buttons on the right side of the composer, rewriting drafts in-place using the currently selected model in the input box. It does not execute tasks nor ship with its own API Key. The host communicates via `ctx.llm.stream` and, on failure, displays the error code along with recommended remediation steps. It requires Harness >= 0.2.0-rc.2 and can be installed via npm or a Release tarball.
Read Moredsh-composer-prompt-optimizer: One-click prompt optimization in DSH input box
The dsh-composer-prompt-optimizer plugin, maintained by subisle, provides one-click prompt optimization within the Composer toolbar. It combines the most recent user turns and session context to reuse the currently selected model for a single compaction auxiliary call. This process organizes drafts into structures defining objectives, scope, requirements, deliverables, and acceptance criteria, without writing to session logs or activating Agents. It supports installation via npm, tarball, local source, or GitHub, and offers optional configurations such as maxDraftChars and maxContextTurns. It is suitable for DSH users who frequently write coding-agent task descriptions; please review the source code and MIT license before installation.
Read More