DeepSeek Harness plugin

dsh-chat-tune

Tune the conversation area: font, width, line height, and paragraph spacing. 对话区界面设置:字号 / 字体 / 行距 / 段距 / 宽度。

Jump to install

Source facts

Repository
xingyingyuzhui/dsh-chat-tune
Latest update
Aug 17, 2026
Category
UI Enhancements
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/xingyingyuzhui/dsh-chat-tune
Plugin: dsh-chat-tune
Author: xingyingyuzhui

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-chat-tune · 对话区界面设置

DeepSeek Harness Web 插件:在 设置 → 通用设置 里、「外观」正下方增加「对话区界面设置」,调节会话区的字号 / 字体 / 行距 / 段距 / 显示宽度。不改官方组件——通过覆盖官方 CSS 变量 seam 生效。

![设置 → 通用设置 → 对话区界面设置](docs/settings.jpg)

安装

前置:本机已能运行 dsh web

dsh plugin --profile web add github:xingyingyuzhui/dsh-chat-tune

装完重启 dsh web。打开 设置 → 通用设置,在「外观」下面就是本插件的控件。

本地开发:

dsh plugin --profile web add link:/abs/path/to/dsh-chat-tune

能力

说明
字号小 13 / 偏小 14 / 标准 16 / 大 18 / 特大 20 / 自定义(8–48px)
字体系统默认 / 无衬线 / 衬线 / 等宽 / 苹方 / 思源黑体
行间距紧凑 1.4 / 适中 1.6 / 标准 1.75 / 宽松 2.0 / 很松 2.4 / 自定义(1.0–3.0)
段落间距紧凑 8 / 偏紧 12 / 标准 16 / 宽松 24 / 很松 32 / 自定义(0–80px)
显示宽度窄 640 / 标准 748 / 宽 900 / 超宽 1100 / 自定义(480–2000px)
代码块跟随打开时代码块改用所选字体(默认保持等宽)
输入框跟随打开时底部输入框宽度同步内容宽度(默认开启)

原理

  • 正文字号/字族/行距覆盖官方 seam:--dsw-font-markdown-base / -h1..h4(完整 font 简写)
  • 段落间距改消息列里 p / 列表 / 标题的 margin-block
  • 内容宽度:composerFollow 开启时写在会话根 [data-phase] 上的 --dsh-chat-content-width--dsh-composer-card-max-width;关闭时只改消息列
  • 代码字体:--ds-font-family-code
  • 选择器挂在 body[data-dsh-chat-tune]
  • 偏好存 localStoragedsh-chat-tune:prefs

卸载

dsh plugin --profile web remove dsh-chat-tune

开发

npm run build   # 生成 client.js(改 chat-tune-*.mjs 后)
npm test        # build:check + node --test

License

MIT