dsh-font-plugin
Manifest validdsh-font-plugin
A DeepSeek Harness (dsh) plugin: font family and ligature controls for the Web UI, rendered in Settings → Plugins → Plugin configuration with the official card style.
Features
- Font Family : Editor — overrides
--dsw-font-family(UI + Markdown body text) - Font Family : Code — overrides
--ds-font-family-code(code blocks / commands / logs) - Font Ligatures —
Auto(theme default) /On/Off
Font families are entered as comma-separated font stacks (e.g. MiSans, Microsoft YaHei, sans-serif); quoted or unquoted names both work, and single names are quoted automatically with a system fallback. Saving stores exactly what you typed (a value equal to the official default is still written — an override is marked by the field's presence in the user layer, per the official plugin-configuration contract); Reset returns a field to the theme default.
Weight and size are provided by the official theme settings (Appearance) since dsh 0.1.2; this plugin intentionally leaves those to the official surface.
Defaults mirror the official @deepseek-ai/dsh-client-ui-theme base stylesheet. Changes apply after Save and persist in the dsh settings document ($DSH_HOME/settings.yaml, namespace dsh-font). UI copy is localized (zh / en) through the official ctx.locale mechanism.
Install
From npm
dsh plugin --profile web add dsh-font-plugin
From GitHub
dsh plugin --profile web add github:wtksana/dsh-font-plugin
Prebuilt bundles (lib/) are committed, so no build step or prepare authorization is required at install time.
Local development
dsh plugin --profile web add ./path/to/dsh-font-plugin
Then start dsh (restart required after bundle edits, since client bundle revisions are computed at boot):
dsh --profile web
Configuration
Open Settings → Plugins → Plugin configuration in the Web UI, expand the dsh-font-plugin card, edit the fields and press Save.
Or edit $DSH_HOME/settings.yaml directly:
dsh-font:
editorFont: MiSans
codeFont: MiSans
ligatures: auto
dsh plugin remove dsh-font-plugin uninstalls both the package and its patch layer.
Development notes
This package is a dual-face plugin:
lib/index.js— host half: registers thedsh-fontsettings namespace viactx.settings.register('dsh-font', FontSettingsSchema, { applies: 'live' }). The schema is exported asFontSettingsSchema, deliberately not asConfig: Cordis validates a row's own config against a plugin'sConfigexport, and a settings schema with a required field would fail the row at boot.lib/client.js— browser half:dsh.clientbundle (__ModuleLoader__.load+exports.apply). The style tags are created at factory materialization withdata-plugin/data-plugin-cssmarkers so the client module system inventories them for HMR teardown; the card registers intosettings.plugin.itemkeyed by the namespace, and fonts apply via CSS variables with!important(the ui-theme base stylesheet may inject after our style tag).
Card semantics follow the official plugin-configuration contract: a field counts as overridden by its presence in the raw user layer, a Reset stages a clear (targeting the composition base, falling back to the bundled default), and saving a value equal to the official default still stores it instead of silently clearing it. The bundled defaults (DEFAULT_CFG, FONT_TOKENS) mirror the host schema defaults and the ui-theme base stylesheet — when you change a default, update both halves.
Client bundle revisions are computed at boot — restart dsh after bundle edits.
License
MIT
Comments
Loading…
From the same category
by anywhere-labs
为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 36.2k
↓ 142/wk
MIT
TypeScript
Nov 16, 2026
dsh plugin --profile web add dsh-plugin-desktopby zhu1090093659
DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop
★ 10.5k
↓ 142/wk
Apache-2.0
TypeScript
Nov 16, 2026
dsh plugin --profile web add dsh-webA collection of independent Web UI plugins and skins, including task boards, Git graphs, mobile access, and live token stats.
★ 8.6k
↓ 142/wk
Apache-2.0
TypeScript
dsh plugin --profile web add dsh-webby PC2005-cloud
DSH 桌面宠物:一行命令装好即用的透明动画小桌宠,支持多开、大小位置随心配置;还内置 DIY 素材链,能用 AI 视频自造专属宠物
★ 6.4k
↓ 91.7k/wk
MIT
TypeScript
Nov 16, 2026
dsh plugin --profile web add dsh-petby bowenliang123
The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,
★ 5.2k
↓ 127.5k/wk
Apache-2.0
TypeScript
Nov 16, 2026
dsh plugin --profile web add dsh-contextby omdsh-dev
开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git,
★ 5.2k
↓ 94.9k/wk
MIT
TypeScript
Nov 15, 2026
dsh plugin --profile web add dsh-better-sidebar