rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:ramin-mahmoodi/deepseek-rtl
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Persian and Arabic right-to-left text for the DeepSeek Harness Web UI, with the bundled Vazirmatn font and a header panel.
It installs as an ordinary Harness plugin, so removing it restores the interface exactly.
Requires Node.js 18.17+ and an initialized DeepSeek Harness profile (open the app once).
npx deepseek-rtl
Quit DeepSeek Harness and open it again. The plugin appears as Persian RTL in Settings, and its button sits beside More actions in an open session.
The installer runs pnpm add inside the profile directory and selects the package in dsh.profile.bundles — the same two steps the Harness Plugin Manager performs. Desktop ships pnpm, so no separate pnpm install is needed.
In the app instead: Plugins → Add plugin with deepseek-rtl.
| Command | Description |
|---|---|
npx deepseek-rtl |
Install and enable the plugin in the profile |
npx deepseek-rtl --revert |
Remove it from the selection and from the profile |
npx deepseek-rtl --status |
Report the profile, dependency, and installed version |
npx deepseek-rtl --profile <name> |
Target another profile (default $DSH_PROFILE, else desktop) |
npx deepseek-rtl --home <dir> |
Use another DSH home (default $DSH_HOME, else ~/.dsh) |
npx deepseek-rtl --from <dir> |
Install a local checkout instead of the npm package |
The header button opens these three switches; click elsewhere or press Escape to dismiss. Alt + R toggles instantly from anywhere.
Code blocks, inline code, keyboard glyphs, and math stay left-to-right. Lists and blockquotes mirror their gutters in Persian text.
Preferences persist per browser origin in localStorage under dsh.persian-rtl.v1. Type size, line height, and your own font family stay in Settings → General.
client.js installs two global stylesheets and a MutationObserver that resolves dir on chat blocks inside [data-chat-flow] and on editable surfaces. Every element it changes carries data-dsh-rtl-dir plus its previous dir, so disabling the plugin restores the DOM.html[data-dsh-rtl]; pre, code, kbd, samp, and math are pinned to direction: ltr with unicode-bidi: isolate.conversation.session.header.utilities; its panel is a shell.overlay entry positioned from the button's rect, so no header clip can cut it off.data: URL, so the package works offline. assets/Vazirmatn-Variable.woff2 is the source face, assets/OFL.txt its license.apply(): every feature is browser-side.npm run build # regenerate client.js with the font inlined
node bin/cli.mjs --from . # install this checkout into your profile
Edit src/client.js, run the build, then restart DeepSeek Harness.
Alt + R is handled by the plugin, so it does not appear in Settings → Keyboard shortcuts.MIT. Vazirmatn is distributed under the SIL Open Font License 1.1 (assets/OFL.txt).
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。