tong174/dsh-enhance-prompt ↗★ 0

dsh-enhance-prompt

One-click prompt enhancer for DeepSeek Harness — a reverse-engineered, benchmarked reimplementation of WorkBuddy's Enhance prompt.

Package
dsh-enhance-prompt
Compatibility
Unverified
Version
0.4.0
License
MIT
Last updated
Nov 18, 2026

Other repositories with this package name

Install

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

Configuration

Everything lives in the plugin's row in your profile cordis.patch.yml; all fields have defaults.

fielddefaultmeaning
promptStyleenhancedenhanced / workbuddy / system
provider, model''empty = automatic candidate chain
providerPriority[]provider ids to try first
maxAttempts6how many candidate routes one enhancement may try
totalBudgetMs90000wall-clock ceiling for the whole chain, so a dead provider cannot burn maxAttempts × timeoutMs
maxConcurrency2concurrent enhancements; extra requests get 429 busy
idempotenttruesha256 cache + single-flight, so double-clicking the star costs one model call
temperature0.3
maxTokens4000reasoning tokens count against this
timeoutMs60000per route
minTextLength1matches WorkBuddy; 0 really does disable the check
maxInputChars8000reject longer drafts (too_large)
customSystemPrompt / customUserTemplate''override; the template must contain {input}
stripWrappingQuotes / stripCodeFencetruesame cleanup as the original
announceToAgent / toolsEnabledtrueexpose enhance_prompt
allowRemotefalseonly loopback clients may call the HTTP API
requireHeadertruebrowser requests must carry x-dsh-enhance: 1 (blocks cross-site fetch/forms)
rateLimitPerMinute30per client token bucket; self-test is capped at 2/min
selfTestOnStartfalseopt-in: costs one real model call per load. Static checks always run
logFile~/.dsh/enhance-prompt.loghost-side log, async and rotated at 2 MB; browser failures POST here too