perdakovich/dsh-prompt-edit ↗★ 0

dsh-prompt-edit

In-place prompt editing, branching and history rewrite for DeepSeek Harness 适合需要频繁微调历史提问、避免会话污染并保持侧边栏整洁的用户。

Package
dsh-prompt-edit
Compatibility
Unverified
Harness peer range
^0.1.0-rc.6
Cordis peer range
^4.0.1
Version
1.0.0
License
MIT
Last updated
Sep 25, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:perdakovich/dsh-prompt-edit

dsh-prompt-edit

adds in-place prompt editing to DeepSeek Harness

click the pencil on any user message, edit your text, enjoy

demo

features

  • in-place edit: tweak any past prompt directly in chat
  • clean branch: forks history at the target turn // no ghost turns, no corrupted logs
  • keeps attachments: images and files survive the edit intact
  • auto-archive: superseded sessions are tucked away into archive so your sidebar stays clean
  • dsh-native: blends with your active dark/light theme tokens
  • ime-safe: won't submit while picking pinyin / kanji characters
  • multilingual: en // zh // ru auto-detected

shortcuts

  • Enter // submit (or close if unchanged)
  • Shift + Enter // new line
  • Ctrl + Enter // quick submit
  • Escape // cancel

install

dsh plugin --profile web add github:perdakovich/dsh-prompt-edit

restart dsh web and refresh the page.

how it works

  1. cuts the session history right before the edited turn
  2. spawns a clean child session with your updated prompt and attachments
  3. archives the old session branch

license

MIT © PERDUN PERDAKOVICH