dsh-input-optimizer

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.

Overview

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.

Installation

Install from GitHub

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

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands