Keeps DSH reasoning in Simplified Chinese and auto-expands every Think row in the Web UI.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:wuaisaber/dsh-think-zh-plus
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
A DeepSeek Harness plugin with two halves:
- Chinese reasoning — contributes a system-prompt section that asks the model to think in Simplified Chinese, with code, commands, paths and errors kept verbatim.
- Always-visible thinking — a browser half that auto-expands every collapsed
Thinkrow in the Web UI and keeps thinking visually distinct from the final answer.
Why
DSH's model usually reasons in English even when the user writes Chinese, and every reasoning row starts folded; a long Turn additionally folds its whole process block. This plugin makes the reasoning channel Chinese and keeps every Think row open, without touching React internals.
Install
# from GitHub (works today)
dsh plugin --profile desktop add github:wuaisaber/dsh-think-zh-plus
# from npm, once published
dsh plugin --profile desktop add dsh-think-zh-plus
Use the profile that the app actually boots (desktop for DSH Desktop, web for dsh web). Restart the app or refresh the page afterwards.
To avoid DSH folding the whole completed Turn (not just the Think row), set the work-details mode to verbose in the profile patch:
- id: ui-chat
name: "@deepseek-ai/dsh-client-ui-chat"
config:
transcriptView: verbose
Config
- id: think-zh-plus
name: dsh-think-zh-plus
config:
language: 简体中文 # any language name
target: think # think = reasoning only; all = reasoning + reply
enabled: true
verbatim: true # keep code/commands/paths untranslated
# instruction: custom text, overrides the default section
Section order is -999 (right after the harness identity, before the persona) — a rule placed late in DSH's long English prompt was ignored in practice.
Behaviour notes
- Auto-expansion clicks the row's own
data-disclosure-rowelement, i.e. the component's supported toggle. It never calls React internals. - A row the reader toggles by hand is remembered in a
WeakSetand left alone. - Injected style: an expanded Think block gets a thin left rule so it cannot be confused with the answer.
- Diagnostics:
window.__DSH_THINK_ZH_PLUS__exposes{ loadedAt, applied, scans, rowsSeen, expanded, lastError }. - Tested against DSH
0.2.1-rc.2(DOM contract ofReasoningRowin@deepseek-ai/dsh-client-ui-chat).
Development
node --test test/host.test.mjs test/client.test.mjs
License
MIT. The host-half instruction text and config schema are adapted from lance808/dsh-think-zh (MIT). The DOM contract follows DSH's own ReasoningRow; the client code is original.
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 9262
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 9262
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 5677
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
ccch1mneyyy/dsh-TUI★ 5125
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
omdsh-dev/DSH-better-sidebar★ 4413
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1491
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.