dsh-prompt-complete: Rewrite the Composer Draft into a Complete, Sendable Prompt Using the Current Conversation

dsh-prompt-complete is a DSH Double-Semi plugin published by haiwenxiang061-dev, categorized under model inference. It reads the most recent 24 rounds of conversation from deriveMessages within a session, uses the current session's provider/model to rewrite the composer draft into a complete, precise prompt, and backfills the result—cancellable within 12 seconds. It also supports the /refine slash command. Installation is available via the npm package name or the GitHub v1.0.1 tarball, requiring Node 22+ and DSH 0.2.x. Rewriting incurs additional token consumption; execution is refused when a reference chip is present. MIT licensed.

Read More