DeepSeek Harness Plugin

Xxsttb/dsh-input-optimizer

Category UI Enhancements Added 2026-10-17

Adds a four-pointed-star button left of the composer's model selector that rewrites the unsent draft in place — grammar, wording, punctuation and execution order — preserving code, commands, paths, identifiers, numbers and URLs byte-for-byte, answering nothing and never overwriting text typed while it runs. A pencil under every user message reopens that message for editing without touching the draft; because the Harness session log is append-only, an edit forks the conversation before that message rather than rewriting it. A circular restart icon under every reply asks that one question again in a fresh conversation that carries none of the earlier turns. Both are refused while a turn is still answering, and disabled when the reply used a tool that can leave a trace or when the files the message named have since changed. A right-sidebar memory tree draws the conversation as turns, showing what was actually asked and answered, every answer to one question on its own line labelled original, edited or memory-free, newest first, with arrows that re-read an answer in place; right-clicking jumps to a branch or removes it from the plugin's own history.

Install

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:Xxsttb/dsh-input-optimizer

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.