将 DeepSeek Harness 整个界面(包括菜单和弹窗)缩放到 50% 至 200%,在「设置 - 通用设置」中用滑块、百分比输入或预设调整。dsh web 与桌面应用均可使用,桌面应用本身没有缩放功能。
安装
# npm 包(预构建)
dsh plugin --profile web add dsh-ui-scale
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:juliankang4/dsh-ui-scale
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
该插件的 README 只有英文版本。
Make the DeepSeek Harness interface larger or smaller, from 50% to 200%. Works in the browser (dsh web) and in the Desktop app.
Install
dsh plugin --profile web add dsh-ui-scale
In the Desktop app, open Plugins, choose Add plugin, enter dsh-ui-scale and install it.
Use
Open Settings > General > Interface scale. There are three ways to set the scale:
- Drag the slider. It moves in 5% steps and applies the scale when you release it.
- Type a percent in the field and press Enter or click elsewhere. The value is rounded to a whole percent, and a value below 50 or above 200 is set to the nearest limit.
- Click a preset: 100, 110, 125, 150, 175 or 200%.
The scale is saved in the profile configuration. It survives restarts and is applied before the main window appears. Each profile (web, desktop) keeps its own value, and every browser signed in to the same profile shares it. In dsh 0.2.0 a page opened from another computer can change the scale only for itself until it reloads, because that version does not save settings from such pages.
What scales
Everything in the window: sidebars, conversation, composer, pages, Settings and other dialogs, and the menus, tooltips and pop-ups attached to them. The layout behaves as it would under browser zoom: at a high scale in a small window the left sidebar collapses, panels keep their share of the window, and dragging a divider follows the pointer.
The Desktop app's native menus and window controls keep their normal size.
Desktop window size
The Desktop app opens its window at the same default size on every start. With this plugin enabled it opens at the size and position you left it in. The window is not resized past the screen, and a position on another display is not restored, so the window opens on the main display at the saved size. Full screen is not saved.
Limits
The plugin applies CSS zoom and converts what the page measures to the zoomed scale: element positions and sizes, the window and page viewport size, pointer positions, SVG screen matrices, wheel deltas, media queries (widths and resolutions) in style sheets and matchMedia, and the viewport units in style sheets and inline styles. Some things fall outside that conversion:
- A viewport size (
vw,vh) in a style rule added from script withinsertRule, in a constructed style sheet added withadoptedStyleSheets.pushinstead of assignment, inside a shadow root, or on a MathML element is not converted. Such an element can come out larger than the window. IntersectionObserverrectangles and touch coordinates still use the real window size.- A size measured in the same script step that sets an inline viewport size or adds a style element still sees the unconverted value; the next step sees the converted one.
- Every script on the page sees the converted values, including other plugins. The one exception is the Desktop account Usage and Top up area, whose position and size read in window pixels so the app can place those pages.
- A PDF that is already open keeps its sharpness from before a scale change until it is reloaded, opened again or zoomed in the preview.
In a browser you can also use the browser's own zoom; the two multiply.
Configuration
| Field | Default | Description |
|---|---|---|
scale |
100 |
Interface scale in percent, a whole number from 50 to 200. |
The settings row writes this field. You can also set it in the profile's cordis.patch.yml:
- id: ui-scale
name: dsh-ui-scale
config:
scale: 125
Development
Use Node.js 24. Install dependencies with npm ci. Run npm run check for formatting, lint, JavaScript syntax and strict TypeScript checks. Run npm test to build and test the shipped bundle.
Type suppressions must use @ts-expect-error: <reason>. Inline lint suppressions must name one rule: biome-ignore lint/<group>/<rule>: <reason>. Blanket and file-wide lint suppressions are rejected. Non-null assertions remain allowed where TypeScript cannot follow an existing guard. The npm-generated lockfile is not reformatted.
Pull requests and pushes to main run the same check and test commands. The CI passed summary succeeds only when both jobs succeed; failed, cancelled and skipped jobs fail the summary.
Tested with dsh 0.2.1-rc.2 (web in Chrome and the macOS Desktop app) and dsh 0.2.0-rc.2 (web in Chrome).
链接
同类插件
zhu1090093659/dsh-web#packages/dsh-task-board★ 10703
侧边栏多列任务看板:卡片交给真实 DSH 智能体会话执行,支持 cron 定时(Host 侧到点执行,关浏览器也生效)。
zhu1090093659/dsh-web#packages/dsh-web-all★ 10703
DSH Web UI 插件与皮肤合集:任务看板、git 图、右侧面板、远程移动端 UI、桌宠、实时 token 统计与皮肤中心。
ccch1mneyyy/dsh-TUI★ 8557
Claude Code 风格全屏终端 UI:像素鲸鱼顶栏、实时工作状态行、思考流式展开。
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7523
右下角常驻的小鲸鱼挂件:余额、今日已用与每轮对话消耗(含峰谷价),余额预警与今日预算的泡泡内容都可编辑;泡泡点击序列模块化自定义,支持并列加权 A/B、随机台词与随机图片;内置 30+ 厂商模板(OpenAI / OpenRouter / Kimi / 硅基流动 / 方舟 / 智谱 / MiniMax 等),按模型查余额与订阅额度;另有任务结束音效、导入音频、自定义角色与资源管理。数据全在本机,无遥测。
omdsh-dev/DSH-better-sidebar★ 5405
侧边栏完整工作台:内置文件渲染编辑、终端、Git 与子代理,支持三方插件注册新 Tab。
omdsh-dev/dsh-genui★ 1091
助手回复内渲染交互式 UI 组件:布局、图表、表单、测验、mermaid、3D 场景与回传事件循环。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。