kfirsch/dsh-hebrew-rtl
Correct Hebrew RTL rendering for the DeepSeek Harness web GUI: any line containing Hebrew is forced right-to-left, bidi-safe input fields, and RTL-aware Cmd+←/→ navigation.
Three distinct layout failures in the stock GUI are addressed: whole-paragraph direction is set from the first strong character rather than from content, so Hebrew paragraphs starting with a Latin product name render LTR; the ask_user_question input field inherits the page direction, so Hebrew typed into it flows left-to-right; and Cmd+←/→ feel inverted on RTL lines because they jump to the logical start, which is on the visual right. The plugin fixes all three: block elements and inline spans containing Hebrew receive direction:rtl + text-align:right + unicode-bidi:isolate (so Latin runs inside stay correct), the custom-answer field gets bidi treatment when Hebrew is typed, and the keyboard shortcuts are rewired for RTL lines. No Hebrew letter in a block means the stock unicode-bidi:plaintext behaviour is preserved.
Install
dsh plugin --profile web add github:kfirsch/dsh-hebrew-rtlThe GitHub line from the README's Install section; there is no npm publication. Restart dsh web after installing.
Compatibility
MIT. The plugin targets the web profile. It deliberately applies RTL to any line containing even one Hebrew letter, rather than counting which script dominates — the README explains this choice under 'Why not count which script dominates': mixed technical Hebrew (identifiers, product names, numbers) is the normal case, and majority-counting left it LTR line after line in otherwise-Hebrew answers. The accepted cost is that an English sentence with a single Hebrew word is also RTL.
Details
- Repo: kfirsch/dsh-hebrew-rtl
- Category: Web UI Enhancements
- Stars: 3
- Version: installed from the repo's default branch
Alternatives
fuchao2pku/dsh-experts · Shrbuz/dsh-web-notes · MindLab-Research/dsh-generative-ui